Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
project_progress
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b6eafabd
authored
Feb 27, 2025
by
bingobo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加isc接口
1 parent
4818dc49
Show whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
1581 additions
and
327 deletions
package-lock.json
package.json
public/js/system.config.js
public/jsmind/jsmind.screenshot.js
src/App.vue
src/api/index.js
src/api/indexzc.js
src/utils/http.js
src/utils/leftBarRules.js
src/views/assessChecks/materialAcquisition.vue
src/views/assessChecks/mianHome.vue
src/views/assessZC/materialAcquisition.vue
src/views/checkCompliance/automaticCheck.vue
src/views/compliance/addConfigure.vue
src/views/compliance/checkRules.vue
src/views/compliance/taskConfigure.vue
src/views/layout/index.vue
src/views/layout/leftBar copy.vue
src/views/layout/leftBar.vue
src/views/layout/mainLayout.vue
src/views/postConcentrationCheck/projectCheckQuestionQuery.vue
src/views/postConcentrationCheck/rectificationFeedbackQuery.vue
src/views/projectCheck/checkResault.vue
src/views/projectCheck/confirmResault.vue
src/views/projectCheck/problemRectify.vue
src/views/projectCheck/verificationRectify.vue
package-lock.json
View file @
b6eafab
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
"el-table-horizontal-scroll"
:
"^1.2.5"
,
"el-table-horizontal-scroll"
:
"^1.2.5"
,
"element-ui"
:
"^2.15.14"
,
"element-ui"
:
"^2.15.14"
,
"jquery"
:
"^3.7.1"
,
"jquery"
:
"^3.7.1"
,
"js-cookie"
:
"^3.0.5"
,
"jszip"
:
"^3.10.1"
,
"jszip"
:
"^3.10.1"
,
"mammoth"
:
"^1.8.0"
,
"mammoth"
:
"^1.8.0"
,
"moment"
:
"^2.30.1"
,
"moment"
:
"^2.30.1"
,
...
@@ -9032,6 +9033,14 @@
...
@@ -9032,6 +9033,14 @@
"resolved"
:
"https://registry.npmmirror.com/jquery/-/jquery-3.7.1.tgz"
,
"resolved"
:
"https://registry.npmmirror.com/jquery/-/jquery-3.7.1.tgz"
,
"integrity"
:
"sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg=="
"integrity"
:
"sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg=="
},
},
"node_modules/js-cookie"
:
{
"version"
:
"3.0.5"
,
"resolved"
:
"https://registry.npmmirror.com/js-cookie/-/js-cookie-3.0.5.tgz"
,
"integrity"
:
"sha512-cEiJEAEoIbWfCZYKWhVwFuvPX1gETRYPw6LlaTKoxD3s2AkXzkCjnp6h0V77ozyqj0jakteJ4YqDJT830+lVGw=="
,
"engines"
:
{
"node"
:
">=14"
}
},
"node_modules/js-message"
:
{
"node_modules/js-message"
:
{
"version"
:
"1.0.7"
,
"version"
:
"1.0.7"
,
"resolved"
:
"https://registry.npmmirror.com/js-message/-/js-message-1.0.7.tgz"
,
"resolved"
:
"https://registry.npmmirror.com/js-message/-/js-message-1.0.7.tgz"
,
...
@@ -23538,6 +23547,11 @@
...
@@ -23538,6 +23547,11 @@
"resolved"
:
"https://registry.npmmirror.com/jquery/-/jquery-3.7.1.tgz"
,
"resolved"
:
"https://registry.npmmirror.com/jquery/-/jquery-3.7.1.tgz"
,
"integrity"
:
"sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg=="
"integrity"
:
"sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg=="
},
},
"js-cookie"
:
{
"version"
:
"3.0.5"
,
"resolved"
:
"https://registry.npmmirror.com/js-cookie/-/js-cookie-3.0.5.tgz"
,
"integrity"
:
"sha512-cEiJEAEoIbWfCZYKWhVwFuvPX1gETRYPw6LlaTKoxD3s2AkXzkCjnp6h0V77ozyqj0jakteJ4YqDJT830+lVGw=="
},
"js-message"
:
{
"js-message"
:
{
"version"
:
"1.0.7"
,
"version"
:
"1.0.7"
,
"resolved"
:
"https://registry.npmmirror.com/js-message/-/js-message-1.0.7.tgz"
,
"resolved"
:
"https://registry.npmmirror.com/js-message/-/js-message-1.0.7.tgz"
,
package.json
View file @
b6eafab
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
"el-table-horizontal-scroll"
:
"^1.2.5"
,
"el-table-horizontal-scroll"
:
"^1.2.5"
,
"element-ui"
:
"^2.15.14"
,
"element-ui"
:
"^2.15.14"
,
"jquery"
:
"^3.7.1"
,
"jquery"
:
"^3.7.1"
,
"js-cookie"
:
"^3.0.5"
,
"jszip"
:
"^3.10.1"
,
"jszip"
:
"^3.10.1"
,
"mammoth"
:
"^1.8.0"
,
"mammoth"
:
"^1.8.0"
,
"moment"
:
"^2.30.1"
,
"moment"
:
"^2.30.1"
,
...
...
public/js/system.config.js
View file @
b6eafab
...
@@ -5,7 +5,7 @@ const SystemConfig = {
...
@@ -5,7 +5,7 @@ const SystemConfig = {
PUBLIC_PATH
:
'/api'
,
PUBLIC_PATH
:
'/api'
,
//TODO VUE_APP_BASE_URL: "http://25.66.210.41/tools",
//TODO VUE_APP_BASE_URL: "http://25.66.210.41/tools",
VUE_APP_BASE_URL
:
"http://192.168.0.1
0
4:18088/tools"
,
VUE_APP_BASE_URL
:
"http://192.168.0.1
1
4:18088/tools"
,
//TODO VUE_APP_ZJ_IFRAME: "http://25.66.210.41/arch"
//TODO VUE_APP_ZJ_IFRAME: "http://25.66.210.41/arch"
// VUE_APP_ZJ_IFRAME: "http://192.168.0.113/arch"
// VUE_APP_ZJ_IFRAME: "http://192.168.0.113/arch"
VUE_APP_ZJ_IFRAME
:
"http://localhost:30478/arch"
VUE_APP_ZJ_IFRAME
:
"http://localhost:30478/arch"
...
...
public/jsmind/jsmind.screenshot.js
View file @
b6eafab
/**
/**
* @license BSD-3-Clause
* @copyright 2014-2023 hizzgdev@163.com
*
*
* Project Home:
* Project Home:
* https://github.com/hizzgdev/jsmind/
* https://github.com/hizzgdev/jsmind/
...
...
src/App.vue
View file @
b6eafab
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
</
template
>
</
template
>
<
script
>
<
script
>
// import './assets/bootstrap/bootstrap.min.css'
// import './assets/bootstrap/bootstrap.min.css'
// document.cookie = "joker=dwwq12";
</
script
>
</
script
>
...
...
src/api/index.js
View file @
b6eafab
...
@@ -6,6 +6,17 @@ import { ARCH_EVALUATION } from '@/config/micromodule'
...
@@ -6,6 +6,17 @@ import { ARCH_EVALUATION } from '@/config/micromodule'
import
{
get
,
post
,
download
}
from
'@/utils/http'
import
{
get
,
post
,
download
}
from
'@/utils/http'
//获取isc用户信息
export
function
getIscInfo
()
{
return
post
(
`
${
ARCH_EVALUATION
}
/gateway/getUse/`
)
}
// 获取流程列表
// 获取流程列表
export
function
evalBatchInfo
(
params
)
{
export
function
evalBatchInfo
(
params
)
{
return
post
(
`
${
ARCH_EVALUATION
}
/postEvalBatchInfo/`
,
params
)
return
post
(
`
${
ARCH_EVALUATION
}
/postEvalBatchInfo/`
,
params
)
...
...
src/api/indexzc.js
View file @
b6eafab
...
@@ -21,7 +21,6 @@ export function milestonesGetList(params) {
...
@@ -21,7 +21,6 @@ export function milestonesGetList(params) {
// 获取流程列表
// 获取流程列表
export
function
getMessageListApi
(
params
)
{
export
function
getMessageListApi
(
params
)
{
// messageReminder/getIPageList
return
post
(
`
${
ARCH_EVALUATION
}
/messageReminder/getIPageList`
,
params
)
return
post
(
`
${
ARCH_EVALUATION
}
/messageReminder/getIPageList`
,
params
)
}
}
// 一键已读 已读单条msg
// 一键已读 已读单条msg
...
@@ -464,9 +463,9 @@ export function bcevalQuesInfo(params) {
...
@@ -464,9 +463,9 @@ export function bcevalQuesInfo(params) {
return
post
(
`
${
ARCH_EVALUATION
}
/evalQuesInfoZc/bc`
,
params
)
return
post
(
`
${
ARCH_EVALUATION
}
/evalQuesInfoZc/bc`
,
params
)
}
}
//首页
//首页
export
function
projectInfoSy
(
params
)
{
//
export function projectInfoSy(params) {
return
post
(
`
${
ARCH_EVALUATION
}
/projectInfo/sy`
,
params
)
//
return post(`${ARCH_EVALUATION}/projectInfo/sy`, params)
}
//
}
//项目列表页面
//项目列表页面
export
function
pmProInitiation
(
params
)
{
export
function
pmProInitiation
(
params
)
{
return
post
(
`
${
ARCH_EVALUATION
}
/projectInfoZc/getProjectInfo`
,
params
)
return
post
(
`
${
ARCH_EVALUATION
}
/projectInfoZc/getProjectInfo`
,
params
)
...
...
src/utils/http.js
View file @
b6eafab
...
@@ -7,6 +7,7 @@ import { SM4Util } from "./sm4";
...
@@ -7,6 +7,7 @@ import { SM4Util } from "./sm4";
axios
.
defaults
.
timeout
=
300000
;
axios
.
defaults
.
timeout
=
300000
;
axios
.
defaults
.
baseURL
=
SystemConfig
.
VUE_APP_BASE_URL
;
axios
.
defaults
.
baseURL
=
SystemConfig
.
VUE_APP_BASE_URL
;
axios
.
defaults
.
withCredentials
=
true
function
encryptStringBySM4_CBC
(
str
)
{
//使用sm4-cbc算法给字符串加密
function
encryptStringBySM4_CBC
(
str
)
{
//使用sm4-cbc算法给字符串加密
...
@@ -39,10 +40,17 @@ axios.interceptors.request.use(config => {
...
@@ -39,10 +40,17 @@ axios.interceptors.request.use(config => {
// });
// });
// }
// }
// console.log(1111111111, sessionStorage.getItem('authorCName'));
// console.log(1111111111, sessionStorage.getItem('authorCName'));
config
.
headers
[
'X-USER'
]
=
sessionStorage
.
getItem
(
'author'
);
console
.
log
(
'url--'
,
config
.
url
);
config
.
headers
[
'X-USER-NAME'
]
=
sessionStorage
.
getItem
(
'authorName'
)
console
.
log
(
'userid-sessionsss'
,
sessionStorage
.
getItem
(
'userid'
));
// 请求头中传递中文字符
console
.
log
(
'username-sessionsss'
,
sessionStorage
.
getItem
(
'username'
));
config
.
headers
[
'X-USER-CNAME'
]
=
encodeURIComponent
(
sessionStorage
.
getItem
(
'authorCName'
))
console
.
log
(
'userloginname-sessionsss'
,
sessionStorage
.
getItem
(
'userloginname'
));
config
.
headers
[
'X-USER-ID'
]
=
sessionStorage
.
getItem
(
'userid'
);
config
.
headers
[
'X-USER-NAME'
]
=
encodeURIComponent
(
sessionStorage
.
getItem
(
'username'
));
// 请求头中传递中文字符
config
.
headers
[
'X-USER-LOGINNAME'
]
=
sessionStorage
.
getItem
(
'userloginname'
);
// config.headers['X-USER'] = sessionStorage.getItem('author');
// config.headers['X-USER-NAME'] = sessionStorage.getItem('authorName')
// config.headers['X-USER-CNAME'] = encodeURIComponent(sessionStorage.getItem('authorCName')) // 请求头中传递中文字符
if
(
config
.
url
.
indexOf
(
'oss/downloadObject'
)
!=
'-1'
)
{
if
(
config
.
url
.
indexOf
(
'oss/downloadObject'
)
!=
'-1'
)
{
config
.
headers
[
"Content-Type"
]
=
'application/x-www-form-urlencoded'
config
.
headers
[
"Content-Type"
]
=
'application/x-www-form-urlencoded'
config
.
headers
[
'responseType'
]
=
'blob'
config
.
headers
[
'responseType'
]
=
'blob'
...
...
src/utils/leftBarRules.js
View file @
b6eafab
...
@@ -332,185 +332,185 @@ export function trendsRules(type) {
...
@@ -332,185 +332,185 @@ export function trendsRules(type) {
// ]
// ]
},
},
{
name
:
'后评估检查'
,
url
:
''
,
children
:
[
{
name
:
'后评估自查'
,
url
:
''
,
children
:
[
{
name
:
'自查评估批次发起'
,
url
:
'/assesszc/auxiliarySelection'
,
children
:
[],
},
// {
// {
// name: '后评估检查',
// name: "项目档案库",
// url: '',
// url: "/assesszc/projectView",
// children: [
// {
// name: '后评估自查',
// url: '',
// children: [
// {
// name: '自查评估批次发起',
// url: '/assesszc/auxiliarySelection',
// children: [],
// children: [],
// },
// // {
// // name: "项目档案库",
// // url: "/assesszc/projectView",
// // children: [],
// // },
// {
// name: '自查评估项目确认',
// url: '/assesszc/confirmRelease',
// children: [],
// },
// {
// name: '自查项目辅助检查',
// url: '/assesszc/auxiliaryInspection',
// children: [],
// },
// {
// name: '自查问题整改',
// url: '/assesszc/materialAcquisition',
// children: [],
// },
// },
{
name
:
'自查评估项目确认'
,
url
:
'/assesszc/confirmRelease'
,
children
:
[],
},
{
name
:
'自查项目辅助检查'
,
url
:
'/assesszc/auxiliaryInspection'
,
children
:
[],
},
{
name
:
'自查问题整改'
,
url
:
'/assesszc/materialAcquisition'
,
children
:
[],
},
{
//
{
name
:
'自查评估结果查看'
,
//
name: '自查评估结果查看',
url
:
'/assesszc/assistedViewing'
,
//
url: '/assesszc/assistedViewing',
children
:
[],
//
children: [],
},
//
},
],
//
],
},
//
},
{
//
{
name
:
'后评估互查'
,
//
name: '后评估互查',
url
:
''
,
//
url: '',
children
:
[
//
children: [
{
//
{
name
:
'评估批次发起'
,
//
name: '评估批次发起',
url
:
'/mainLayout/auxiliarySelection'
,
//
url: '/mainLayout/auxiliarySelection',
children
:
[],
//
children: [],
},
//
},
{
//
{
name
:
'评估项目确认'
,
//
name: '评估项目确认',
url
:
'/mainLayout/confirmRelease'
,
//
url: '/mainLayout/confirmRelease',
children
:
[],
//
children: [],
},
//
},
{
//
{
name
:
'项目辅助检查'
,
//
name: '项目辅助检查',
url
:
'/mainLayout/auxiliaryInspection'
,
//
url: '/mainLayout/auxiliaryInspection',
children
:
[],
//
children: [],
},
//
},
{
//
{
name
:
'评估问题整改'
,
//
name: '评估问题整改',
url
:
'/mainLayout/materialAcquisition'
,
//
url: '/mainLayout/materialAcquisition',
children
:
[],
//
children: [],
},
//
},
{
name
:
'评估结果查看'
,
url
:
'/mainLayout/assistedViewing'
,
children
:
[],
},
],
},
{
name
:
'后评估集中检查'
,
url
:
''
,
children
:
[
{
name
:
'项目检查问题查询'
,
url
:
'/mainLayout/projectCheckQuestionQuery'
,
children
:
[],
},
{
name
:
'整改反馈查询'
,
url
:
'/mainLayout/rectificationFeedbackQuery'
,
children
:
[],
},
],
},
],
},
{
name
:
'后评估合规性管理'
,
url
:
''
,
children
:
[
{
name
:
'合规性检查实时提醒'
,
url
:
''
,
children
:
[
{
name
:
'合规性检查提醒'
,
url
:
'/checkCompliance/automaticCheck'
,
children
:
[]
},
],
},
{
name
:
'合规性检查规则库构建'
,
url
:
''
,
children
:
[
{
name
:
'检查规则编制'
,
url
:
'/compliance/checkRules'
,
children
:
[]
},
{
name
:
'自动稽核任务配置'
,
url
:
'/compliance/taskConfigure'
,
children
:
[]
},
],
},
{
name
:
'项目合规检查'
,
url
:
''
,
children
:
[
{
name
:
'合规检查结果'
,
url
:
'/projectCheck/checkResault'
,
children
:
[]
},
{
name
:
'合规问题整改'
,
url
:
'/projectCheck/problemRectify'
,
children
:
[]
},
// {
// {
// name: '合规问题整改核验
',
// name: '评估结果查看
',
// url: '/projectCheck/verificationRectify
',
// url: '/mainLayout/assistedViewing
',
// children: [],
// children: [],
// },
// },
],
// ],
},
// },
],
},
{
name
:
'后评估结果管理'
,
url
:
''
,
children
:
[
{
name
:
'后评估结果发布'
,
url
:
''
,
children
:
[
{
name
:
'检查结果公示及评价'
,
url
:
'/managementResult/releaseResultpublicity'
,
children
:
[],
},
],
},
{
name
:
'后评估结果情况'
,
url
:
''
,
children
:
[
// {
// {
// name: '后评估进度情况',
// name: '后评估集中检查',
// url: '/managementResult/situationResaultschedule',
// url: '',
// children: [
// {
// name: '项目检查问题查询',
// url: '/mainLayout/projectCheckQuestionQuery',
// children: [],
// children: [],
// },
// },
{
// {
name
:
'后评估各环节问题分布'
,
// name: '整改反馈查询',
url
:
'/managementResult/situationResaultissuesLink'
,
// url: '/mainLayout/rectificationFeedbackQuery',
children
:
[],
// children: [],
},
// },
{
// ],
name
:
'合规检查问题情况'
,
// },
url
:
'/managementResult/issuesInspection'
,
// ],
children
:
[],
// },
},
// {
],
// name: '后评估合规性管理',
},
// url: '',
{
// children: [
name
:
'后评估检查报告管理'
,
// {
url
:
''
,
// name: '合规性检查实时提醒',
children
:
[
// url: '',
{
// children: [
name
:
'后评估检查报告维护'
,
// { name: '合规性检查提醒', url: '/checkCompliance/automaticCheck', children: [] },
url
:
'/managementResult/maintenancePg'
,
// ],
children
:
[],
// },
},
// {
{
name
:
'后评估报告模板管理'
,
url
:
'/managementResult/managementPg'
,
children
:
[]
},
// name: '合规性检查规则库构建',
// { name: "合规性检查报告维护", url: "/managementResult/maintenanceHg", children: [] },
// url: '',
// { name: "合规性检查报告模板管理", url: "/managementResult/managementHg", children: [] },
// children: [
],
// { name: '检查规则编制', url: '/compliance/checkRules', children: [] },
},
// { name: '自动稽核任务配置', url: '/compliance/taskConfigure', children: [] },
],
// ],
},
// },
// {
// name: '项目合规检查',
// url: '',
// children: [
// { name: '合规检查结果', url: '/projectCheck/checkResault', children: [] },
// { name: '合规问题整改', url: '/projectCheck/problemRectify', children: [] },
// // {
// // name: '合规问题整改核验',
// // url: '/projectCheck/verificationRectify',
// // children: [],
// // },
// ],
// },
// ],
// },
// {
// name: '后评估结果管理',
// url: '',
// children: [
// {
// name: '后评估结果发布',
// url: '',
// children: [
// {
// name: '检查结果公示及评价',
// url: '/managementResult/releaseResultpublicity',
// children: [],
// },
// ],
// },
// {
// name: '后评估结果情况',
// url: '',
// children: [
// // {
// // name: '后评估进度情况',
// // url: '/managementResult/situationResaultschedule',
// // children: [],
// // },
// {
// name: '后评估各环节问题分布',
// url: '/managementResult/situationResaultissuesLink',
// children: [],
// },
// {
// name: '合规检查问题情况',
// url: '/managementResult/issuesInspection',
// children: [],
// },
// ],
// },
// {
// name: '后评估检查报告管理',
// url: '',
// children: [
// {
// name: '后评估检查报告维护',
// url: '/managementResult/maintenancePg',
// children: [],
// },
// { name: '后评估报告模板管理', url: '/managementResult/managementPg', children: [] },
// // { name: "合规性检查报告维护", url: "/managementResult/maintenanceHg", children: [] },
// // { name: "合规性检查报告模板管理", url: "/managementResult/managementHg", children: [] },
// ],
// },
// ],
// },
]
]
}
}
}
}
...
@@ -931,9 +931,9 @@ export function trendsRules(type) {
...
@@ -931,9 +931,9 @@ export function trendsRules(type) {
// }
// }
// }
// }
export
function
defaultRouter
()
{
export
function
defaultRouter
()
{
sessionStorage
.
setItem
(
'author'
,
'weizheng'
)
//
sessionStorage.setItem('author', 'weizheng')
sessionStorage
.
setItem
(
'authorName'
,
99
)
//
sessionStorage.setItem('authorName', 99)
sessionStorage
.
setItem
(
'authorCName'
,
'魏征'
)
//
sessionStorage.setItem('authorCName', '魏征')
let
type
=
sessionStorage
.
getItem
(
'authorName'
)
let
type
=
sessionStorage
.
getItem
(
'authorName'
)
switch
(
type
)
{
switch
(
type
)
{
case
'1'
:
case
'1'
:
...
...
src/views/assessChecks/materialAcquisition.vue
View file @
b6eafab
...
@@ -434,6 +434,7 @@
...
@@ -434,6 +434,7 @@
</div>
</div>
</div>
</div>
<p
class=
"midBtn"
>
<p
class=
"midBtn"
>
<span
@
click=
"goToMicroServe"
>
跳转微应用
</span>
<span
@
click=
"cancelSS()"
>
取消
</span><span
@
click=
"saveSS()"
>
保存
</span
<span
@
click=
"cancelSS()"
>
取消
</span><span
@
click=
"saveSS()"
>
保存
</span
><span
@
click=
"saveSubmit()"
>
提交
</span>
><span
@
click=
"saveSubmit()"
>
提交
</span>
</p>
</p>
...
@@ -547,6 +548,19 @@ export default {
...
@@ -547,6 +548,19 @@ export default {
})
})
},
},
methods
:
{
methods
:
{
goToMicroServe
()
{
// const params = {
// id: 123,
// name: 'test',
// token: 'abc123'
// }
// 将参数拼接到 URL
// const queryString = Object.keys(params)
// .map(key => `${encodeURIComponent(key)}=${encodeURIComponent(params[key])}`)
// .join('&')
// window.open(`https://www.bilibili.com?${queryString}`, '_blank')
window
.
open
(
`http://10.4.34.182/isc_sso/login?service=http%3A%2F%2F20.1.39.51%3A20888%2Fpmp_irs%2F%23%2F`
,
'_blank'
)
},
timeChange
(
time
)
{
timeChange
(
time
)
{
if
(
time
)
{
if
(
time
)
{
//给后端的参数
//给后端的参数
...
...
src/views/assessChecks/mianHome.vue
View file @
b6eafab
...
@@ -3,7 +3,12 @@
...
@@ -3,7 +3,12 @@
<div
class=
"mainhome"
>
<div
class=
"mainhome"
>
<div
class=
"querytj"
>
<div
class=
"querytj"
>
年份:
年份:
<el-select
v-model=
"ruleForm.batchYear"
placeholder=
"请选择"
clearable
class=
"inputnf"
>
<el-select
v-model=
"ruleForm.batchYear"
placeholder=
"请选择"
clearable
class=
"inputnf"
>
<el-option
<el-option
v-for=
"(item, index) in yearsList"
v-for=
"(item, index) in yearsList"
:key=
"index"
:key=
"index"
...
@@ -88,8 +93,8 @@
...
@@ -88,8 +93,8 @@
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
projectInfoSy
}
from
"@/api/index"
;
import
{
projectInfoSy
,
getIscInfo
,
evaluationMaterials
}
from
"@/api/index"
;
import
{
generateYearOptions
}
from
"@/utils/cache"
;
import
{
generateYearOptions
}
from
"@/utils/cache"
;
export
default
{
export
default
{
data
()
{
data
()
{
...
@@ -97,26 +102,26 @@ export default {
...
@@ -97,26 +102,26 @@ export default {
yearsList
:
generateYearOptions
(),
yearsList
:
generateYearOptions
(),
info
:
{},
info
:
{},
ruleForm
:
{
ruleForm
:
{
type
:
[
'0'
,
'1'
],
type
:
[
"0"
,
"1"
],
batchYear
:
"2024"
,
batchYear
:
"2024"
,
module
:
'1,2'
module
:
"1,2"
,
},
},
};
};
},
},
watch
:
{
watch
:
{
"ruleForm.type"
(
n
,
o
)
{
"ruleForm.type"
(
n
,
o
)
{
console
.
log
(
"变了"
,
n
,
o
);
console
.
log
(
"变了"
,
n
,
o
);
if
(
n
.
length
>
1
)
{
if
(
n
.
length
>
1
)
{
this
.
ruleForm
.
module
=
"1,2"
this
.
ruleForm
.
module
=
"1,2"
;
}
else
{
}
else
{
this
.
ruleForm
.
module
=
n
.
join
(
','
)
this
.
ruleForm
.
module
=
n
.
join
(
","
);
}
}
// if(n.length>)
// if(n.length>)
this
.
init
();
this
.
init
();
},
},
"ruleForm.batchYear"
(
newVal
,
oldVal
)
{
"ruleForm.batchYear"
(
newVal
,
oldVal
)
{
console
.
log
(
"变了1"
,
newVal
);
console
.
log
(
"变了1"
,
newVal
);
this
.
init
();
this
.
init
();
},
},
},
},
...
@@ -125,13 +130,53 @@ export default {
...
@@ -125,13 +130,53 @@ export default {
this
.
init
();
this
.
init
();
},
},
methods
:
{
methods
:
{
async
getIscInfoAndRoutes
()
{
// const userInfo = Cookies.get('joker');
// console.log('userInfo', userInfo);
// let res = await evaluationMaterials({
// current: 1,
// pageSize: 10,
// module: 0,
// })
try
{
let
res
=
await
getIscInfo
();
if
(
res
.
code
===
200
)
{
sessionStorage
.
setItem
(
"userid"
,
res
.
content
.
id
);
sessionStorage
.
setItem
(
"username"
,
res
.
content
.
name
);
sessionStorage
.
setItem
(
"userloginname"
,
res
.
content
.
loginName
);
}
}
catch
(
error
)
{
const
res
=
{
success
:
true
,
code
:
200
,
message
:
"OK"
,
content
:
{
id
:
"FA84A11538656BBCE0430100007F9766"
,
loginName
:
"lhb"
,
name
:
"实物ID运维"
,
password
:
"403B8BB4B09"
,
mobile
:
"1111111111"
,
email
:
"lhb@In.sgcc,com.cn"
,
department
:
"数据运营中心"
,
departmentId
:
"8a20318c948334c201951824f892660e"
,
funcList
:
[],
},
};
if
(
res
.
code
===
200
)
{
sessionStorage
.
setItem
(
"userid"
,
res
.
content
.
id
);
sessionStorage
.
setItem
(
"username"
,
res
.
content
.
name
);
sessionStorage
.
setItem
(
"userloginname"
,
res
.
content
.
loginName
);
}
}
},
async
init
()
{
async
init
()
{
let
params
=
{
if
(
!
sessionStorage
.
getItem
(
'userloginname'
))
{
// 如果没有session, 先调用该接口获取用户信息
await
this
.
getIscInfoAndRoutes
()
}
}
let
params
=
{};
Object
.
assign
(
params
,
this
.
ruleForm
);
Object
.
assign
(
params
,
this
.
ruleForm
);
let
res
=
await
projectInfoSy
(
params
);
let
res
=
await
projectInfoSy
(
params
);
this
.
info
=
res
.
data
;
this
.
info
=
res
.
data
;
// if(this.ruleForm.batchYear==2024){
// if(this.ruleForm.batchYear==2024){
...
@@ -172,7 +217,7 @@ export default {
...
@@ -172,7 +217,7 @@ export default {
};
};
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.main
{
.main
{
font-size
:
14px
;
font-size
:
14px
;
position
:
relative
;
position
:
relative
;
...
...
src/views/assessZC/materialAcquisition.vue
View file @
b6eafab
...
@@ -381,6 +381,7 @@
...
@@ -381,6 +381,7 @@
</div>
</div>
</div>
</div>
<p
class=
"midBtn"
>
<p
class=
"midBtn"
>
<span
@
click=
"goToMicroServe"
>
跳转微应用
</span>
<span
@
click=
"cancelSS()"
>
取消
</span><span
@
click=
"saveSS()"
>
保存
</span><span
@
click=
"saveSubmit()"
>
提交
</span>
<span
@
click=
"cancelSS()"
>
取消
</span><span
@
click=
"saveSS()"
>
保存
</span><span
@
click=
"saveSubmit()"
>
提交
</span>
</p>
</p>
</el-dialog>
</el-dialog>
...
@@ -993,8 +994,25 @@ export default {
...
@@ -993,8 +994,25 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
multipleTable
.
doLayout
()
this
.
$refs
.
multipleTable
.
doLayout
()
})
})
// setTimeout(() => {
// this.goToMicroServe()
// }, 3000)
},
},
methods
:
{
methods
:
{
goToMicroServe
()
{
// const params = {
// id: 123,
// name: 'test',
// token: 'abc123'
// }
// 将参数拼接到 URL
// const queryString = Object.keys(params)
// .map(key => `${encodeURIComponent(key)}=${encodeURIComponent(params[key])}`)
// .join('&')
// window.open(`https://www.bilibili.com?${queryString}`, '_blank')
window
.
open
(
`http://10.4.34.182/isc_sso/login?service=http%3A%2F%2F20.1.39.51%3A20888%2Fpmp_irs%2F%23%2F`
,
'_blank'
)
},
timeChange
(
time
)
{
timeChange
(
time
)
{
if
(
time
)
{
if
(
time
)
{
//给后端的参数
//给后端的参数
...
...
src/views/checkCompliance/automaticCheck.vue
View file @
b6eafab
...
@@ -324,7 +324,7 @@ export default {
...
@@ -324,7 +324,7 @@ export default {
pageSize
:
this
.
pageSize
,
pageSize
:
this
.
pageSize
,
};
};
Object
.
assign
(
params
,
this
.
ruleForm
);
Object
.
assign
(
params
,
this
.
ruleForm
);
console
.
log
(
params
);
//
console.log(params);
let
res
=
await
auditTasksResults
(
params
);
let
res
=
await
auditTasksResults
(
params
);
if
(
res
.
code
==
"200"
)
{
if
(
res
.
code
==
"200"
)
{
...
@@ -377,7 +377,7 @@ export default {
...
@@ -377,7 +377,7 @@ export default {
// this.checkedList[0].auditEndTime,
// this.checkedList[0].auditEndTime,
// ];
// ];
this
.
XQtableData
=
res
.
data
.
records
;
this
.
XQtableData
=
res
.
data
.
records
;
console
.
log
(
this
.
XQtableData
,
"XQtableDataXQtableData"
);
//
console.log(this.XQtableData, "XQtableDataXQtableData");
this
.
dialog
=
true
;
this
.
dialog
=
true
;
}
}
},
},
...
@@ -397,25 +397,25 @@ export default {
...
@@ -397,25 +397,25 @@ export default {
}
}
this
.
checkedList
=
this
.
$refs
.
multipleTable
.
selection
;
this
.
checkedList
=
this
.
$refs
.
multipleTable
.
selection
;
// this.ruleFormdialog = this.checkedList[0];
// this.ruleFormdialog = this.checkedList[0];
console
.
log
(
this
.
checkedList
,
"2222"
);
//
console.log(this.checkedList, "2222");
},
},
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
//
console.log(`每页 ${val} 条`);
this
.
pageSize
=
val
;
this
.
pageSize
=
val
;
this
.
submitForm
();
this
.
submitForm
();
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
//
console.log(`当前页: ${val}`);
this
.
currentPage
=
val
;
this
.
currentPage
=
val
;
this
.
submitForm
();
this
.
submitForm
();
},
},
handleSizeChangeXQ
(
val
)
{
handleSizeChangeXQ
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
//
console.log(`每页 ${val} 条`);
this
.
pageSizeXQ
=
val
;
this
.
pageSizeXQ
=
val
;
this
.
detailsForm
();
this
.
detailsForm
();
},
},
handleCurrentChangeXQ
(
val
)
{
handleCurrentChangeXQ
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
//
console.log(`当前页: ${val}`);
this
.
currentPageXQ
=
val
;
this
.
currentPageXQ
=
val
;
this
.
detailsForm
();
this
.
detailsForm
();
},
},
...
...
src/views/compliance/addConfigure.vue
View file @
b6eafab
...
@@ -480,8 +480,8 @@ export default {
...
@@ -480,8 +480,8 @@ export default {
this
.
$forceUpdate
();
this
.
$forceUpdate
();
},
},
handleRowClickSelf
(
row
,
column
,
event
)
{
handleRowClickSelf
(
row
,
column
,
event
)
{
console
.
log
(
'点击了'
)
//
console.log('点击了')
console
.
log
(
row
,
'2222'
)
//
console.log(row,'2222')
if
(
row
.
contractNumber
&&
row
.
projectCode
)
{
if
(
row
.
contractNumber
&&
row
.
projectCode
)
{
this
.
$refs
[
'multipleTableZJ'
].
toggleRowSelection
(
row
)
this
.
$refs
[
'multipleTableZJ'
].
toggleRowSelection
(
row
)
this
.
addZJList
=
this
.
$refs
.
multipleTableZJ
.
selection
this
.
addZJList
=
this
.
$refs
.
multipleTableZJ
.
selection
...
@@ -529,7 +529,7 @@ export default {
...
@@ -529,7 +529,7 @@ export default {
};
};
Object
.
assign
(
params
,
this
.
ruleFormdialogAdd
);
Object
.
assign
(
params
,
this
.
ruleFormdialogAdd
);
console
.
log
(
params
,
"222"
);
//
console.log(params, "222");
addauditTasks
(
params
).
then
((
res
)
=>
{
addauditTasks
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
this
.
$message
({
...
@@ -551,7 +551,7 @@ export default {
...
@@ -551,7 +551,7 @@ export default {
},
},
//选择项目
//选择项目
saveZJ
()
{
saveZJ
()
{
console
.
log
(
this
.
addZJListXM
,
this
.
addtableDataXM
,
'选择了'
)
//
console.log(this.addZJListXM,this.addtableDataXM,'选择了')
if
(
this
.
addZJListXM
.
length
<
1
)
{
if
(
this
.
addZJListXM
.
length
<
1
)
{
this
.
$message
.
error
(
"请选择项目"
);
this
.
$message
.
error
(
"请选择项目"
);
return
;
return
;
...
@@ -589,7 +589,7 @@ export default {
...
@@ -589,7 +589,7 @@ export default {
// index === self.findIndex((t) => t.id === obj.id)
// index === self.findIndex((t) => t.id === obj.id)
// );
// );
this
.
addtableData
=
this
.
addZJList
this
.
addtableData
=
this
.
addZJList
console
.
log
(
this
.
addtableData
,
"选完是什么"
);
//
console.log(this.addtableData, "选完是什么");
this
.
addtotal
=
this
.
addtableData
.
length
;
this
.
addtotal
=
this
.
addtableData
.
length
;
this
.
dialogRule
=
false
;
this
.
dialogRule
=
false
;
},
},
...
@@ -627,7 +627,7 @@ export default {
...
@@ -627,7 +627,7 @@ export default {
ruleStatus
:
0
,
ruleStatus
:
0
,
};
};
Object
.
assign
(
params
,
this
.
ruleFormRule
);
Object
.
assign
(
params
,
this
.
ruleFormRule
);
console
.
log
(
params
);
//
console.log(params);
let
res
=
await
ruleFormulation
(
params
);
let
res
=
await
ruleFormulation
(
params
);
if
(
res
.
code
==
"200"
)
{
if
(
res
.
code
==
"200"
)
{
this
.
dialogRule
=
true
;
this
.
dialogRule
=
true
;
...
@@ -656,14 +656,14 @@ export default {
...
@@ -656,14 +656,14 @@ export default {
},
},
handleSelectionChangeXM
(
selection
)
{
handleSelectionChangeXM
(
selection
)
{
console
.
log
(
'点击了'
)
//
console.log('点击了')
// this.addZJListXM = this.$refs.multipleTableXM.selection;
// this.addZJListXM = this.$refs.multipleTableXM.selection;
if
(
selection
.
length
<
1
)
{
if
(
selection
.
length
<
1
)
{
return
return
}
}
if
(
selection
.
length
===
this
.
zjtableData
.
Length
)
{
if
(
selection
.
length
===
this
.
zjtableData
.
Length
)
{
console
.
log
(
'全选'
)
//
console.log('全选')
}
}
this
.
addZJListXM
=
this
.
$refs
.
multipleTableXM
.
selection
;
this
.
addZJListXM
=
this
.
$refs
.
multipleTableXM
.
selection
;
...
@@ -701,14 +701,14 @@ export default {
...
@@ -701,14 +701,14 @@ export default {
},
},
//点击删除规则
//点击删除规则
handleClickADGZ
(
row
,
index
,
rows
)
{
handleClickADGZ
(
row
,
index
,
rows
)
{
console
.
log
(
"删除"
,
row
);
//
console.log("删除", row);
rows
.
splice
(
index
,
1
);
rows
.
splice
(
index
,
1
);
this
.
addtableData
=
rows
;
this
.
addtableData
=
rows
;
this
.
addtotal
=
rows
.
length
;
this
.
addtotal
=
rows
.
length
;
},
},
//点击删除
//点击删除
handleClickAD
(
row
,
index
,
rows
)
{
handleClickAD
(
row
,
index
,
rows
)
{
console
.
log
(
"删除"
,
row
);
//
console.log("删除", row);
rows
.
splice
(
index
,
1
);
rows
.
splice
(
index
,
1
);
this
.
addtableDataXM
=
rows
;
this
.
addtableDataXM
=
rows
;
this
.
addtotalXM
=
rows
.
length
;
this
.
addtotalXM
=
rows
.
length
;
...
...
src/views/compliance/checkRules.vue
View file @
b6eafab
...
@@ -648,12 +648,12 @@ export default {
...
@@ -648,12 +648,12 @@ export default {
},
},
methods
:
{
methods
:
{
handleClick
(
row
)
{
handleClick
(
row
)
{
console
.
log
(
row
,
"下发"
);
//
console.log(row, "下发");
},
},
async
saveXZ
()
{
async
saveXZ
()
{
this
.
$refs
.
formNameAD
.
validate
((
valid
)
=>
{
this
.
$refs
.
formNameAD
.
validate
((
valid
)
=>
{
if
(
!
valid
)
{
if
(
!
valid
)
{
console
.
log
(
"error submit!!"
);
//
console.log("error submit!!");
return
false
;
return
false
;
}
else
{
}
else
{
let
params
=
{
let
params
=
{
...
@@ -661,11 +661,11 @@ export default {
...
@@ -661,11 +661,11 @@ export default {
creator
:
sessionStorage
.
getItem
(
"author"
),
creator
:
sessionStorage
.
getItem
(
"author"
),
};
};
let
quesStr
=
""
;
let
quesStr
=
""
;
console
.
log
(
this
.
tableDataQR
,
'22'
)
//
console.log( this.tableDataQR,'22')
this
.
tableDataQR
.
forEach
((
item
)
=>
{
this
.
tableDataQR
.
forEach
((
item
)
=>
{
console
.
log
(
item
.
showFlag
==
0
,
this
.
showbzArr
.
includes
(
item
.
questionId
+
''
),
!
item
.
configValue
,
'3345554'
)
//
console.log(item.showFlag==0,this.showbzArr.includes(item.questionId + ''),!item.configValue,'3345554')
if
(
item
.
showFlag
==
0
&&
this
.
showbzArr
.
includes
(
item
.
questionId
+
''
)
&&!
item
.
configValue
){
if
(
item
.
showFlag
==
0
&&
this
.
showbzArr
.
includes
(
item
.
questionId
+
''
)
&&!
item
.
configValue
){
console
.
log
(
'开启了有编制的并且没填'
)
//
console.log('开启了有编制的并且没填')
this
.
$message
.
error
(
"请编制检查规则或关闭状态"
);
this
.
$message
.
error
(
"请编制检查规则或关闭状态"
);
throw
new
Error
()
throw
new
Error
()
}
}
...
@@ -719,7 +719,7 @@ export default {
...
@@ -719,7 +719,7 @@ export default {
let
quesStr
=
""
;
let
quesStr
=
""
;
this
.
tableDataEdit
.
forEach
((
item
)
=>
{
this
.
tableDataEdit
.
forEach
((
item
)
=>
{
if
(
item
.
showFlag
==
0
&&
this
.
showbzArr
.
includes
(
item
.
questionId
+
''
)
&&!
item
.
configValue
){
if
(
item
.
showFlag
==
0
&&
this
.
showbzArr
.
includes
(
item
.
questionId
+
''
)
&&!
item
.
configValue
){
console
.
log
(
'开启了有编制的并且没填'
)
//
console.log('开启了有编制的并且没填')
this
.
$message
.
error
(
"请编制检查规则或关闭该检查项"
);
this
.
$message
.
error
(
"请编制检查规则或关闭该检查项"
);
throw
new
Error
()
throw
new
Error
()
}
}
...
@@ -772,7 +772,7 @@ export default {
...
@@ -772,7 +772,7 @@ export default {
this
.
editIndex
=
index
;
this
.
editIndex
=
index
;
this
.
dialogedit
=
true
;
this
.
dialogedit
=
true
;
this
.
questionId
=
info
.
questionId
;
this
.
questionId
=
info
.
questionId
;
console
.
log
(
this
.
checkList
,
"3333"
);
//
console.log(this.checkList, "3333");
},
},
//详情里的编制
//详情里的编制
editxq
(
info
,
index
)
{
editxq
(
info
,
index
)
{
...
@@ -818,9 +818,9 @@ export default {
...
@@ -818,9 +818,9 @@ export default {
pageSize
:
this
.
pageSize
,
pageSize
:
this
.
pageSize
,
};
};
Object
.
assign
(
params
,
this
.
ruleForm
);
Object
.
assign
(
params
,
this
.
ruleForm
);
console
.
log
(
params
,
"入参"
);
//
console.log(params, "入参");
let
res
=
await
ruleFormulation
(
params
);
let
res
=
await
ruleFormulation
(
params
);
console
.
log
(
res
,
"reslll11"
);
//
console.log(res, "reslll11");
if
(
res
.
code
==
"200"
)
{
if
(
res
.
code
==
"200"
)
{
this
.
tableData
=
res
.
data
.
records
;
this
.
tableData
=
res
.
data
.
records
;
this
.
total
=
res
.
data
.
total
*
1
;
this
.
total
=
res
.
data
.
total
*
1
;
...
@@ -851,7 +851,7 @@ export default {
...
@@ -851,7 +851,7 @@ export default {
},
},
//编辑
//编辑
async
etailsEdit
(
row
)
{
async
etailsEdit
(
row
)
{
console
.
log
(
row
,
'row'
);
//
console.log(row,'row');
this
.
bjId
=
row
.
id
this
.
bjId
=
row
.
id
this
.
checkedList
[
0
]
=
row
;
this
.
checkedList
[
0
]
=
row
;
this
.
ruleFormdialogEdit
=
row
;
this
.
ruleFormdialogEdit
=
row
;
...
@@ -884,15 +884,15 @@ export default {
...
@@ -884,15 +884,15 @@ export default {
}
}
this
.
checkedList
=
this
.
$refs
.
multipleTable
.
selection
;
this
.
checkedList
=
this
.
$refs
.
multipleTable
.
selection
;
// this.ruleFormdialog = this.checkedList[0];
// this.ruleFormdialog = this.checkedList[0];
console
.
log
(
this
.
checkedList
,
"2222"
);
//
console.log(this.checkedList, "2222");
},
},
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
//
console.log(`每页 ${val} 条`);
this
.
pageSize
=
val
;
this
.
pageSize
=
val
;
this
.
submitForm
();
this
.
submitForm
();
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
//
console.log(`当前页: ${val}`);
this
.
currentPage
=
val
;
this
.
currentPage
=
val
;
this
.
submitForm
();
this
.
submitForm
();
},
},
...
...
src/views/compliance/taskConfigure.vue
View file @
b6eafab
...
@@ -1100,7 +1100,7 @@ export default {
...
@@ -1100,7 +1100,7 @@ export default {
},
},
methods
:
{
methods
:
{
cancelBJxx
()
{
cancelBJxx
()
{
console
.
log
(
'关闭'
)
//
console.log('关闭')
this
.
dialogedit
=
false
;
this
.
dialogedit
=
false
;
this
.
checkList
=
[];
this
.
checkList
=
[];
},
},
...
@@ -1148,7 +1148,7 @@ export default {
...
@@ -1148,7 +1148,7 @@ export default {
pageSize
:
this
.
pageSize
,
pageSize
:
this
.
pageSize
,
};
};
Object
.
assign
(
params
,
this
.
ruleForm
);
Object
.
assign
(
params
,
this
.
ruleForm
);
console
.
log
(
params
);
//
console.log(params);
let
res
=
await
auditTasks
(
params
);
let
res
=
await
auditTasks
(
params
);
if
(
res
.
code
==
"200"
)
{
if
(
res
.
code
==
"200"
)
{
...
@@ -1325,7 +1325,7 @@ export default {
...
@@ -1325,7 +1325,7 @@ export default {
let
resZX
=
await
qidongZx
(
row
);
let
resZX
=
await
qidongZx
(
row
);
if
(
resZX
.
code
==
200
){
if
(
resZX
.
code
==
200
){
row
.
auditStatusText
=
'执行中'
row
.
auditStatusText
=
'执行中'
console
.
log
(
'执行中'
,
row
.
auditStatusText
)
//
console.log('执行中',row.auditStatusText)
}
}
let
res
=
await
qidongTasks
(
row
);
let
res
=
await
qidongTasks
(
row
);
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
...
@@ -1348,7 +1348,7 @@ export default {
...
@@ -1348,7 +1348,7 @@ export default {
let
resZX
=
await
qidongZx
(
row
);
let
resZX
=
await
qidongZx
(
row
);
if
(
resZX
.
code
==
200
){
if
(
resZX
.
code
==
200
){
row
.
auditStatusText
=
'执行中'
row
.
auditStatusText
=
'执行中'
console
.
log
(
'执行中'
,
row
.
auditStatusText
)
//
console.log('执行中',row.auditStatusText)
}
}
let
res
=
await
qidongTasks
(
row
);
let
res
=
await
qidongTasks
(
row
);
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
...
@@ -1373,7 +1373,7 @@ export default {
...
@@ -1373,7 +1373,7 @@ export default {
// ruleStatus: 0,
// ruleStatus: 0,
};
};
Object
.
assign
(
params
,
this
.
ruleFormRule
);
Object
.
assign
(
params
,
this
.
ruleFormRule
);
console
.
log
(
params
);
//
console.log(params);
let
res
=
await
ruleFormulation
(
params
);
let
res
=
await
ruleFormulation
(
params
);
if
(
res
.
code
==
"200"
)
{
if
(
res
.
code
==
"200"
)
{
this
.
dialogRule
=
true
;
this
.
dialogRule
=
true
;
...
@@ -1494,7 +1494,7 @@ export default {
...
@@ -1494,7 +1494,7 @@ export default {
}
}
if
(
selection
.
length
===
this
.
zjtableData
.
Length
)
{
if
(
selection
.
length
===
this
.
zjtableData
.
Length
)
{
console
.
log
(
"全选"
);
//
console.log("全选");
}
}
this
.
addZJListXM
=
this
.
$refs
.
multipleTableXM
.
selection
;
this
.
addZJListXM
=
this
.
$refs
.
multipleTableXM
.
selection
;
...
@@ -1653,36 +1653,36 @@ export default {
...
@@ -1653,36 +1653,36 @@ export default {
},
},
//点击删除
//点击删除
handleClickAD
(
row
,
index
,
rows
)
{
handleClickAD
(
row
,
index
,
rows
)
{
console
.
log
(
"删除"
,
row
);
//
console.log("删除", row);
rows
.
splice
(
index
,
1
);
rows
.
splice
(
index
,
1
);
this
.
addtableDataXM
=
rows
;
this
.
addtableDataXM
=
rows
;
this
.
addtotalXM
=
rows
.
length
;
this
.
addtotalXM
=
rows
.
length
;
},
},
async
handleClickBJ
(
row
,
index
,
rows
)
{
async
handleClickBJ
(
row
,
index
,
rows
)
{
console
.
log
(
"删除"
,
row
);
//
console.log("删除", row);
rows
.
splice
(
index
,
1
);
rows
.
splice
(
index
,
1
);
this
.
addtableData
=
rows
;
this
.
addtableData
=
rows
;
let
params
=
{
let
params
=
{
ruleId
:
row
.
id
,
ruleId
:
row
.
id
,
auditId
:
this
.
checkedList
[
0
].
auditId
,
auditId
:
this
.
checkedList
[
0
].
auditId
,
};
};
console
.
log
(
params
,
"222233"
);
//
console.log(params, "222233");
let
res
=
await
delRule
(
params
);
let
res
=
await
delRule
(
params
);
},
},
async
handleClickbjxm
(
row
,
index
,
rows
)
{
async
handleClickbjxm
(
row
,
index
,
rows
)
{
console
.
log
(
"删除编辑项目"
,
row
);
//
console.log("删除编辑项目", row);
rows
.
splice
(
index
,
1
);
rows
.
splice
(
index
,
1
);
this
.
addtableDataXM
=
rows
;
this
.
addtableDataXM
=
rows
;
let
params
=
{
let
params
=
{
projectId
:
row
.
projectCode
,
projectId
:
row
.
projectCode
,
auditId
:
this
.
checkedList
[
0
].
auditId
,
auditId
:
this
.
checkedList
[
0
].
auditId
,
};
};
console
.
log
(
params
,
"2222"
);
//
console.log(params, "2222");
let
res
=
await
delProject
(
params
);
let
res
=
await
delProject
(
params
);
},
},
//点击删除规则
//点击删除规则
handleClickADGZ
(
row
,
index
,
rows
)
{
handleClickADGZ
(
row
,
index
,
rows
)
{
console
.
log
(
"删除"
,
row
);
//
console.log("删除", row);
rows
.
splice
(
index
,
1
);
rows
.
splice
(
index
,
1
);
this
.
addtableData
=
rows
;
this
.
addtableData
=
rows
;
this
.
addtotal
=
rows
.
length
;
this
.
addtotal
=
rows
.
length
;
...
@@ -1714,7 +1714,7 @@ export default {
...
@@ -1714,7 +1714,7 @@ export default {
let
ruleList
=
""
;
let
ruleList
=
""
;
if
(
this
.
addtableData
.
length
>
0
)
{
if
(
this
.
addtableData
.
length
>
0
)
{
this
.
addtableData
.
forEach
((
item
)
=>
{
this
.
addtableData
.
forEach
((
item
)
=>
{
console
.
log
(
item
,
"item"
);
//
console.log(item, "item");
ruleList
=
ruleList
.
concat
(
item
.
id
+
","
);
ruleList
=
ruleList
.
concat
(
item
.
id
+
","
);
});
});
}
}
...
@@ -1724,7 +1724,7 @@ export default {
...
@@ -1724,7 +1724,7 @@ export default {
ruleStr
:
ruleList
,
ruleStr
:
ruleList
,
};
};
Object
.
assign
(
params
,
this
.
ruleFormdialogAdd
);
Object
.
assign
(
params
,
this
.
ruleFormdialogAdd
);
console
.
log
(
params
,
"222"
);
//
console.log(params, "222");
addauditTasks
(
params
).
then
((
res
)
=>
{
addauditTasks
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
this
.
$message
({
...
...
src/views/layout/index.vue
View file @
b6eafab
...
@@ -234,6 +234,7 @@
...
@@ -234,6 +234,7 @@
<
script
>
<
script
>
import
MainLayout
from
"./mainLayout"
;
import
MainLayout
from
"./mainLayout"
;
import
{
getIscInfo
,
evaluationMaterials
}
from
"@/api/index"
;
import
{
getMessageListApi
,
updateMessageApi
,
readWholwMsg
}
from
"@/api/indexzc"
;
import
{
getMessageListApi
,
updateMessageApi
,
readWholwMsg
}
from
"@/api/indexzc"
;
// import tableMixin from '@/mixins/table.mixin.js'
// import tableMixin from '@/mixins/table.mixin.js'
export
default
{
export
default
{
...
@@ -382,7 +383,7 @@ export default {
...
@@ -382,7 +383,7 @@ export default {
});
});
},
},
handleRowClick
(
row
,
column
,
event
,
ref
)
{
handleRowClick
(
row
,
column
,
event
,
ref
)
{
console
.
log
(
"column"
,
column
);
//
console.log("column", column);
if
(
column
.
label
==
"操作"
)
{
if
(
column
.
label
==
"操作"
)
{
return
;
return
;
// this.showMessage = false
// this.showMessage = false
...
@@ -394,12 +395,57 @@ export default {
...
@@ -394,12 +395,57 @@ export default {
this
.
$refs
[
ref
].
toggleRowSelection
(
row
);
this
.
$refs
[
ref
].
toggleRowSelection
(
row
);
}
}
},
},
async
getIscInfoAndRoutes
()
{
// const userInfo = Cookies.get('joker');
// console.log('userInfo', userInfo);
// let res = await evaluationMaterials({
// current: 1,
// pageSize: 10,
// module: 0,
// })
try
{
let
res
=
await
getIscInfo
();
if
(
res
.
code
===
200
)
{
sessionStorage
.
setItem
(
"userid"
,
res
.
content
.
id
);
sessionStorage
.
setItem
(
"username"
,
res
.
content
.
name
);
sessionStorage
.
setItem
(
"userloginname"
,
res
.
content
.
loginName
);
}
}
catch
(
error
)
{
const
res
=
{
success
:
true
,
code
:
200
,
message
:
"OK"
,
content
:
{
id
:
"FA84A11538656BBCE0430100007F9766"
,
loginName
:
"lhb"
,
name
:
"实物ID运维"
,
password
:
"403B8BB4B09"
,
mobile
:
"1111111111"
,
email
:
"lhb@In.sgcc,com.cn"
,
department
:
"数据运营中心"
,
departmentId
:
"8a20318c948334c201951824f892660e"
,
funcList
:
[],
},
};
if
(
res
.
code
===
200
)
{
sessionStorage
.
setItem
(
"userid"
,
res
.
content
.
id
);
sessionStorage
.
setItem
(
"username"
,
res
.
content
.
name
);
sessionStorage
.
setItem
(
"userloginname"
,
res
.
content
.
loginName
);
}
}
},
async
getMessageList
()
{
async
getMessageList
()
{
if
(
!
sessionStorage
.
getItem
(
'userloginname'
))
{
// 如果没有session, 先调用该接口获取用户信息
await
this
.
getIscInfoAndRoutes
()
}
let
params
=
{
let
params
=
{
current
:
this
.
currentPage
,
current
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
pageSize
:
this
.
pageSize
,
};
};
console
.
log
(
params
);
//
console.log(params);
let
res
=
await
getMessageListApi
(
params
);
let
res
=
await
getMessageListApi
(
params
);
if
(
res
.
code
==
"200"
)
{
if
(
res
.
code
==
"200"
)
{
this
.
tableData
=
res
.
data
.
records
;
this
.
tableData
=
res
.
data
.
records
;
...
@@ -416,7 +462,7 @@ export default {
...
@@ -416,7 +462,7 @@ export default {
this
.
getMessageList
();
this
.
getMessageList
();
},
},
handleSelectionChange
(
selection
)
{
handleSelectionChange
(
selection
)
{
console
.
log
(
"hand"
,
selection
);
//
console.log("hand", selection);
},
},
async
showMessageDialog
()
{
async
showMessageDialog
()
{
this
.
currentPage
=
1
;
this
.
currentPage
=
1
;
...
@@ -428,7 +474,7 @@ export default {
...
@@ -428,7 +474,7 @@ export default {
},
},
changeUser
(
val
)
{
changeUser
(
val
)
{
const
{
label
}
=
this
.
userMockList
.
find
((
item
)
=>
item
.
id
===
val
);
const
{
label
}
=
this
.
userMockList
.
find
((
item
)
=>
item
.
id
===
val
);
console
.
log
(
"changeUser"
,
val
,
label
);
//
console.log("changeUser", val, label);
},
},
navigateToChild
(
num
,
pushUrl
)
{
navigateToChild
(
num
,
pushUrl
)
{
this
.
active
=
num
;
this
.
active
=
num
;
...
...
src/views/layout/leftBar copy.vue
0 → 100644
View file @
b6eafab
<
template
>
<div
class=
"navbar"
>
<!--
<el-scrollbar
style=
"height: 800px"
ref=
"scroll"
>
-->
<el-menu
router
ref=
"kzMenu"
class=
"el-menu-vertical-demo"
:unique-opened=
"true"
@
open=
"handleOpen"
@
close=
"handleClose"
:default-active=
"activeIndex"
>
<el-menu-item
index=
"/mainLayout/mianHome"
class=
"classmain"
@
click=
"allClose()"
><span
class=
""
></span>
首页
</el-menu-item
>
<!--
<el-menu-item
index=
"/assesszc/projectView"
class=
"classmain"
><span></span>
项目知识文档库
</el-menu-item>
-->
<el-submenu
v-for=
"(item, index) in menuList"
:key=
"index"
:index=
"index + ''"
class=
"submenu1"
>
<!--
<el-menu-item
index=
"/assesszc/projectView"
class=
"classmain"
><span></span>
项目档案库
</el-menu-item>
-->
<template
slot=
"title"
>
<span
class=
"iconfont treeIcon1"
>

</span>
<span>
{{
item
.
name
}}
</span>
</
template
>
<p
class=
"xiangmu"
>
<el-menu-item
index=
"/assesszc/projectView"
class=
"submenu3"
v-if=
"item.erji"
><span
class=
"title3"
></span>
项目档案库
</el-menu-item
>
</p>
<el-submenu
v-for=
"(item2, index2) in item.children"
:key=
"index2"
:index=
"index + '-' + index2 + ''"
class=
"submenu2"
>
<
template
slot=
"title"
>
<span
class=
"iconfont treeIcon2"
>

</span>
<span>
{{
item2
.
name
}}
</span>
</
template
>
<el-menu-item
v-for=
"(item3, index3) in item2.children"
:key=
"index3"
:index=
"item3.url"
class=
"submenu3"
>
<span
class=
"title3"
></span>
{{ item3.name }}
</el-menu-item>
</el-submenu>
</el-submenu>
</el-menu>
<!-- </el-scrollbar> -->
</div>
</template>
<
script
>
import
{
trendsRules
}
from
"@/utils/leftBarRules"
;
import
{
getIscInfo
}
from
"@/api/index"
;
export
default
{
data
()
{
return
{
menuList
:
trendsRules
(
99
),
isOpen
:
false
,
openeds
:
[
"0"
],
//默认展开导航栏
activeIndex
:
""
,
routerTabs
:
[],
keyIndex
:
" "
,
};
},
props
:
{
authority
:
{
type
:
Number
,
default
:
""
,
},
autho
:
{
type
:
String
,
default
:
""
,
},
},
watch
:
{
$route
:
{
immediate
:
true
,
handler
(
n
,
o
)
{
if
(
this
.
$route
.
path
==
"/mainLayout/Compliancefz"
||
this
.
$route
.
path
==
"/mainLayout/Compliance"
)
{
this
.
activeIndex
=
"/mainLayout/auxiliaryInspection"
;
}
else
if
(
this
.
$route
.
path
==
"/assesszc/Compliancefz"
||
this
.
$route
.
path
==
"/assesszc/Compliance"
)
{
this
.
activeIndex
=
"/assesszc/auxiliaryInspection"
;
}
else
{
this
.
activeIndex
=
this
.
$route
.
path
;
this
.
$nextTick
(()
=>
{
this
.
$refs
.
kzMenu
.
activeIndex
=
this
.
$route
.
path
;
});
}
if
(
!
this
.
routerTabs
.
includes
(
this
.
$route
.
meta
.
title
))
{
this
.
routerTabs
.
push
(
this
.
$route
.
meta
.
title
);
}
},
},
autho
(
newVal
,
oldVal
)
{
if
(
newVal
==
"liyiming"
)
{
this
.
$router
.
push
({
path
:
"/mainLayout/confirmRelease"
,
query
:
{
madata
:
newVal
,
},
});
}
else
if
(
newVal
==
"wangmeiling"
)
{
this
.
$router
.
push
({
path
:
"/mainLayout/confirmRelease"
,
query
:
{
madata
:
newVal
,
},
});
}
else
if
(
newVal
==
"mengdejian"
)
{
this
.
$router
.
push
({
path
:
"/mainLayout/materialAcquisition"
,
query
:
{
madata
:
newVal
,
},
});
}
else
if
(
newVal
==
"liwenbo"
)
{
this
.
$router
.
push
({
path
:
"/mainLayout/materialAcquisition"
,
query
:
{
madata
:
newVal
,
},
});
}
else
if
(
newVal
==
"zhangke"
)
{
this
.
$router
.
push
({
path
:
"/mainLayout/materialAcquisition"
,
query
:
{
madata
:
newVal
,
},
});
}
this
.
$refs
.
kzMenu
.
activeIndex
=
this
.
$route
.
path
;
},
authority
(
newVal
,
oldVal
)
{
this
.
menuList
=
[];
if
(
newVal
==
1
)
{
this
.
menuList
=
trendsRules
(
1
);
this
.
$router
.
push
({
path
:
"/mainLayout/auxiliarySelection"
,
});
this
.
activeIndex
=
"/mainLayout/auxiliarySelection"
;
}
else
if
(
newVal
==
2
)
{
this
.
menuList
=
trendsRules
(
2
);
this
.
$router
.
push
({
path
:
"/mainLayout/confirmRelease"
,
});
this
.
activeIndex
=
"/mainLayout/confirmRelease"
;
}
else
if
(
newVal
==
3
)
{
this
.
menuList
=
trendsRules
(
3
);
this
.
$router
.
push
({
path
:
"/mainLayout/materialAcquisition"
,
});
this
.
activeIndex
=
"/mainLayout/materialAcquisition"
;
}
else
if
(
newVal
==
99
)
{
this
.
menuList
=
trendsRules
(
99
);
console
.
log
(
'this.menuList'
,
this
.
menuList
);
this
.
$router
.
push
({
path
:
"/mainLayout/auxiliarySelection"
,
});
this
.
activeIndex
=
"/mainLayout/auxiliarySelection"
;
}
},
},
async
created
(){
await
this
.
getIscInfoAndRoutes
()
},
mounted
()
{
// console.log(
// "获取父元素的local数据0",
// JSON.parse(window.sessionStorage.getItem("user"))
// );
// console.log(
// "获取父元素的local数据",
// JSON.parse(window.top.sessionStorage.getItem("user"))
// );
// this.handleOpen(0, ["0"]);
if
(
this
.
$route
.
path
==
"/mainLayout/Compliancefz"
||
this
.
$route
.
path
==
"/mainLayout/Compliance"
)
{
this
.
activeIndex
=
"/mainLayout/auxiliaryInspection"
;
}
else
{
this
.
activeIndex
=
this
.
$route
.
path
;
}
},
methods
:
{
async
getIscInfoAndRoutes
()
{
console
.
log
(
'menuList1111'
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
menuList
)));
const
resMockData
=
{
"success"
:
true
,
"code"
:
200
,
"message"
:
"OK"
,
"content"
:
{
id
:
"FA84A11538656BBCE0430100007F9766"
,
loginName
:
"lhb"
,
name
:
"实物ID运维"
,
password
:
"403B8BB4B09"
,
mobile
:
"1111111111"
,
email
:
"lhb@In.sgcc,com.cn"
,
department
:
'数据运营中心'
,
departmentId
:
"8a20318c948334c201951824f892660e"
,
menuList
:
[
{
name
:
'立项统筹中心'
,
url
:
'/asdasdas'
,
type
:
'01'
,
level
:
'1'
,
ascription
:
'lxtczx'
,
ps
:
null
,
children
:
[
{
name
:
'首页'
,
url
:
'/asdasda'
,
type
:
'01'
,
level
:
'2'
,
ascription
:
'lxsy'
,
ps
:
null
,
children
:
[],
menu
:
true
}
],
menu
:
true
}
],
funcList
:[],
}
}
// console.log(11111, resMockData);
// res = await getIscInfo();
const
res
=
resMockData
if
(
res
.
code
===
200
)
{
console
.
log
(
123123
,
res
.
content
);
}
},
handleOpen
(
e
,
a
)
{
// console.log("打开", e);
this
.
keyIndex
=
e
.
charAt
(
0
);
// this.$nextTick(() => {
// this.$refs.scroll.update();
// });
if
(
a
.
length
==
1
)
{
let
treeIcon1
=
document
.
getElementsByClassName
(
"treeIcon1"
);
for
(
var
i
=
0
;
i
<
treeIcon1
.
length
;
i
++
)
{
treeIcon1
[
i
].
style
.
transform
=
"rotate(0deg)"
;
}
treeIcon1
[
e
].
style
.
transform
=
"rotate(90deg)"
;
}
else
if
(
a
.
length
==
2
)
{
let
opened
=
document
.
getElementsByClassName
(
"is-opened"
);
let
treeIcon2
=
opened
[
0
].
querySelectorAll
(
".treeIcon2"
);
for
(
var
i
=
0
;
i
<
treeIcon2
.
length
;
i
++
)
{
treeIcon2
[
i
].
style
.
transform
=
"rotate(0deg)"
;
}
treeIcon2
[
e
.
slice
(
2
)].
style
.
transform
=
"rotate(90deg)"
;
}
},
allClose
()
{
this
.
$refs
.
kzMenu
.
close
(
this
.
keyIndex
);
this
.
handleClose
(
this
.
keyIndex
,
[
this
.
keyIndex
]);
},
handleClose
(
e
,
a
)
{
// console.log("关闭", e, a);
if
(
a
.
length
==
1
)
{
let
treeIcon1
=
document
.
getElementsByClassName
(
"treeIcon1"
);
treeIcon1
[
e
].
style
.
transform
=
"rotate(0deg)"
;
let
treeIcon2
=
document
.
getElementsByClassName
(
"treeIcon2"
);
let
treARR
=
[...
treeIcon2
];
treARR
.
forEach
((
element
)
=>
{
element
.
style
.
transform
=
"rotate(0deg)"
;
});
// console.log(treeIcon2,'treeIcon2treeIcon2treeIcon2treeIcon2')
}
else
if
(
a
.
length
==
2
)
{
let
opened
=
document
.
getElementsByClassName
(
"is-opened"
);
let
treeIcon2
=
opened
[
0
].
querySelectorAll
(
".treeIcon2"
);
treeIcon2
[
e
.
slice
(
2
)].
style
.
transform
=
"rotate(0deg)"
;
}
},
handleMenuClick
(
e
,
a
)
{},
},
};
</
script
>
<
style
lang=
"scss"
scoped
>
.navbar
{
width
:
235px
;
height
:
100%
;
padding-top
:
10px
;
overflow-y
:
auto
;
margin-left
:
10px
;
}
::v-deep
.el-menu
{
border
:
none
!important
;
box-sizing
:
border-box
;
}
.submenu1
{
background-color
:
#63a4a6
;
margin-bottom
:
10px
;
border-radius
:
5px
;
box-shadow
:
1px
2px
4px
0px
#0068624
c
;
}
.submenu1
::v-deep
.el-submenu__title
{
height
:
40px
;
line-height
:
40px
;
box-shadow
:
1px
2px
4px
0px
#0068624
c
;
font-size
:
16px
;
font-weight
:
bold
;
color
:
#fff
;
text-align
:
left
;
}
.submenu2
{
background-color
:
#effbfa
;
margin-top
:
8px
;
border-radius
:
5px
;
box-shadow
:
1px
2px
4px
0px
#0068624
c
;
}
.submenu2
::v-deep
.el-submenu__title
{
height
:
40px
;
line-height
:
40px
;
box-shadow
:
1px
2px
4px
0px
#0068624
c
;
font-size
:
15px
;
font-weight
:
bold
;
color
:
grey
;
text-align
:
left
;
padding-left
:
20px
!important
;
}
::v-deep
.el-icon-arrow-down
{
display
:
none
;
}
::v-deep
.el-submenu__title
:hover
{
background
:
transparent
;
}
.seticon1
{
display
:
inline-block
;
font-size
:
24px
;
color
:
#fff
;
border-radius
:
50px
;
}
.treeIcon1
{
display
:
inline-block
;
color
:
#ffffff
;
font-size
:
24px
;
margin-left
:
-5px
;
margin-right
:
15px
;
font-family
:
"iconfont"
!important
;
font-style
:
normal
;
-webkit-font-smoothing
:
antialiased
;
transform
:
rotate
(
0deg
);
}
.treeIcon2
{
display
:
inline-block
;
color
:
#000
;
font-size
:
24px
;
margin-left
:
-5px
;
margin-right
:
15px
;
font-family
:
"iconfont"
!important
;
font-style
:
normal
;
-webkit-font-smoothing
:
antialiased
;
transform
:
rotate
(
0deg
);
}
.roleICon1
{
display
:
inline-block
;
color
:
#ffffff
;
font-size
:
24px
;
margin-left
:
-5px
;
margin-right
:
15px
;
font-family
:
"iconfont"
!important
;
font-style
:
normal
;
-webkit-font-smoothing
:
antialiased
;
}
.title3
{
display
:
inline-block
;
width
:
5px
;
height
:
5px
;
border-radius
:
5px
;
margin-right
:
5px
;
vertical-align
:
middle
;
background-color
:
#63a4a6
;
text-align
:
left
;
}
.submenu3
{
border-radius
:
5px
;
height
:
40px
;
line-height
:
40px
;
font-size
:
15px
;
font-weight
:
bold
;
color
:
grey
;
text-align
:
left
;
padding-left
:
40px
!important
;
background-color
:
#effbfa
;
margin-top
:
8px
;
box-shadow
:
1px
2px
4px
0px
#0068624
c
;
padding-right
:
0
;
}
.submenu2
::v-deep
.is-active
{
background
:
rgba
(
99
,
164
,
166
,
0.6
);
color
:
#fff
;
}
.xiangmu
{
margin
:
0
;
}
.xiangmu
::v-deep
.is-active
{
background
:
rgba
(
99
,
164
,
166
,
0.6
);
color
:
#fff
;
}
.xuanzhong
::v-deep
.is-active
{
background
:
rgba
(
99
,
164
,
166
,
0.6
);
color
:
#fff
;
}
.menu-scrollbar
::v-deep
.el-scrollbar__view
{
height
:
100%
;
/* 设置高度以填满父容器 */
}
::v-deep
.el-scrollbar__thumb
{
background-color
:
#6bcfde
;
/* 滑块的颜色 */
}
::v-deep
.el-scrollbar__view
>
ul
:first-child
>
li
:first-child
>
ul
>
li
:first-child
>
.el-submenu__title
:first-child
>
.treeIcon2
{
transform
:
rotate
(
90deg
);
}
.classmain
{
background-color
:
#63a4a6
;
margin-bottom
:
10px
;
border-radius
:
5px
;
box-shadow
:
1px
2px
4px
0px
#0068624
c
;
height
:
40px
;
line-height
:
40px
;
font-size
:
16px
;
font-weight
:
bold
;
color
:
#fff
;
text-align
:
left
;
span
{
display
:
inline-block
;
width
:
5px
;
height
:
5px
;
border-radius
:
5px
;
background
:
#fff
;
margin-right
:
25px
;
margin-left
:
4px
;
vertical-align
:
middle
;
}
}
</
style
>
src/views/layout/leftBar.vue
View file @
b6eafab
...
@@ -9,9 +9,14 @@
...
@@ -9,9 +9,14 @@
@
open=
"handleOpen"
@
open=
"handleOpen"
@
close=
"handleClose"
@
close=
"handleClose"
:default-active=
"activeIndex"
:default-active=
"activeIndex"
>
>
<el-menu-item
index=
"/mainLayout/mianHome"
class=
"classmain"
@
click=
"allClose()"
><span
class=
""
></span>
首页
</el-menu-item>
<el-menu-item
v-if=
"souYeRoute.length > 0"
:index=
"souYeRoute[0].url"
class=
"classmain"
@
click=
"allClose()"
><span
class=
""
></span>
首页
</el-menu-item
>
<!--
<el-menu-item
index=
"/assesszc/projectView"
class=
"classmain"
><span></span>
项目知识文档库
</el-menu-item>
-->
<!--
<el-menu-item
index=
"/assesszc/projectView"
class=
"classmain"
><span></span>
项目知识文档库
</el-menu-item>
-->
<el-submenu
<el-submenu
v-for=
"(item, index) in menuList"
v-for=
"(item, index) in menuList"
...
@@ -21,10 +26,18 @@
...
@@ -21,10 +26,18 @@
>
>
<!--
<el-menu-item
index=
"/assesszc/projectView"
class=
"classmain"
><span></span>
项目档案库
</el-menu-item>
-->
<!--
<el-menu-item
index=
"/assesszc/projectView"
class=
"classmain"
><span></span>
项目档案库
</el-menu-item>
-->
<template
slot=
"title"
>
<template
slot=
"title"
>
<!--
<span
v-if=
"item.name === '首页'"
class=
"sou_ye_style"
><span></span></span>
-->
<span
class=
"iconfont treeIcon1"
>

</span>
<span
class=
"iconfont treeIcon1"
>

</span>
<span>
{{
item
.
name
}}
</span>
<span>
{{
item
.
name
}}
</span>
</
template
>
</
template
>
<p
class=
"xiangmu"
>
<el-menu-item
index=
"/assesszc/projectView"
class=
"submenu3"
v-if=
"item.erji"
><span
class=
"title3"
></span>
项目档案库
</el-menu-item></p>
<p
class=
"xiangmu"
>
<el-menu-item
index=
"/assesszc/projectView"
class=
"submenu3"
v-if=
"item.erji"
><span
class=
"title3"
></span>
项目档案库
</el-menu-item
>
</p>
<el-submenu
<el-submenu
v-for=
"(item2, index2) in item.children"
v-for=
"(item2, index2) in item.children"
:key=
"index2"
:key=
"index2"
...
@@ -52,18 +65,26 @@
...
@@ -52,18 +65,26 @@
<
script
>
<
script
>
import
{
trendsRules
}
from
"@/utils/leftBarRules"
;
import
{
trendsRules
}
from
"@/utils/leftBarRules"
;
import
{
getIscInfo
,
evaluationMaterials
}
from
"@/api/index"
;
import
Cookies
from
'js-cookie'
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
menuList
:
trendsRules
(
99
),
souYeRoute
:
[],
menuList
:
[],
// menuList: trendsRules(99),
isOpen
:
false
,
isOpen
:
false
,
openeds
:
[
"0"
],
//默认展开导航栏
openeds
:
[
"0"
],
//默认展开导航栏
activeIndex
:
""
,
activeIndex
:
""
,
routerTabs
:
[],
routerTabs
:
[],
keyIndex
:
" "
keyIndex
:
" "
,
};
};
},
},
props
:
{
props
:
{
wholeRoutes
:
{
type
:
Object
,
default
:
()
=>
{}
},
authority
:
{
authority
:
{
type
:
Number
,
type
:
Number
,
default
:
""
,
default
:
""
,
...
@@ -74,9 +95,14 @@ export default {
...
@@ -74,9 +95,14 @@ export default {
},
},
},
},
watch
:
{
watch
:
{
wholeRoutes
(
newVale
,
oldVale
)
{
console
.
log
(
'newVale'
,
newVale
);
this
.
souYeRoute
=
newVale
.
souYeRoute
this
.
menuList
=
newVale
.
restRoutes
},
$route
:
{
$route
:
{
immediate
:
true
,
immediate
:
true
,
handler
(
n
,
o
)
{
handler
(
n
,
o
)
{
if
(
if
(
this
.
$route
.
path
==
"/mainLayout/Compliancefz"
||
this
.
$route
.
path
==
"/mainLayout/Compliancefz"
||
this
.
$route
.
path
==
"/mainLayout/Compliance"
this
.
$route
.
path
==
"/mainLayout/Compliance"
...
@@ -96,11 +122,9 @@ export default {
...
@@ -96,11 +122,9 @@ export default {
if
(
!
this
.
routerTabs
.
includes
(
this
.
$route
.
meta
.
title
))
{
if
(
!
this
.
routerTabs
.
includes
(
this
.
$route
.
meta
.
title
))
{
this
.
routerTabs
.
push
(
this
.
$route
.
meta
.
title
);
this
.
routerTabs
.
push
(
this
.
$route
.
meta
.
title
);
}
}
},
},
},
},
autho
(
newVal
,
oldVal
)
{
autho
(
newVal
,
oldVal
)
{
if
(
newVal
==
"liyiming"
)
{
if
(
newVal
==
"liyiming"
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/mainLayout/confirmRelease"
,
path
:
"/mainLayout/confirmRelease"
,
...
@@ -161,6 +185,7 @@ export default {
...
@@ -161,6 +185,7 @@ export default {
this
.
activeIndex
=
"/mainLayout/materialAcquisition"
;
this
.
activeIndex
=
"/mainLayout/materialAcquisition"
;
}
else
if
(
newVal
==
99
)
{
}
else
if
(
newVal
==
99
)
{
this
.
menuList
=
trendsRules
(
99
);
this
.
menuList
=
trendsRules
(
99
);
console
.
log
(
"this.menuList"
,
this
.
menuList
);
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/mainLayout/auxiliarySelection"
,
path
:
"/mainLayout/auxiliarySelection"
,
});
});
...
@@ -168,15 +193,18 @@ export default {
...
@@ -168,15 +193,18 @@ export default {
}
}
},
},
},
},
// async created() {
// await this.getIscInfoAndRoutes();
// },
mounted
()
{
mounted
()
{
console
.
log
(
//
console.log(
"获取父元素的local数据0"
,
//
"获取父元素的local数据0",
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
"user"
))
//
JSON.parse(window.sessionStorage.getItem("user"))
);
//
);
console
.
log
(
//
console.log(
"获取父元素的local数据"
,
//
"获取父元素的local数据",
JSON
.
parse
(
window
.
top
.
sessionStorage
.
getItem
(
"user"
))
//
JSON.parse(window.top.sessionStorage.getItem("user"))
);
/* */
// );
// this.handleOpen(0, ["0"]);
// this.handleOpen(0, ["0"]);
if
(
if
(
this
.
$route
.
path
==
"/mainLayout/Compliancefz"
||
this
.
$route
.
path
==
"/mainLayout/Compliancefz"
||
...
@@ -189,9 +217,291 @@ export default {
...
@@ -189,9 +217,291 @@ export default {
},
},
methods
:
{
methods
:
{
// async getIscInfoAndRoutes() {
// // const userInfo = Cookies.get('joker');
// // console.log('userInfo', userInfo);
// let res1 = await evaluationMaterials({
// current: 1,
// pageSize: 10,
// module: 0,
// })
// const resMockData = {
// success: true,
// code: 200,
// message: "OK",
// content: {
// id: "FA84A11538656BBCE0430100007F9766",
// loginName: "lhb",
// name: "实物ID运维",
// password: "403B8BB4B09",
// mobile: "1111111111",
// email: "lhb@In.sgcc,com.cn",
// department: "数据运营中心",
// departmentId: "8a20318c948334c201951824f892660e",
// menuList: [
// {
// name: "立项统筹中心",
// url: "/asdasdas",
// type: "01",
// level: "1",
// ascription: "lxtczx",
// ps: null,
// children: [
// {
// name: "首页",
// url: "/mainLayout/mianHome",
// type: "01",
// level: "2",
// ascription: "lxsy",
// ps: null,
// children: [],
// menu: true,
// },
// {
// name: "项目档案库",
// url: "/mainLayout/mianHome",
// type: "01",
// level: "2",
// ascription: "lxsy",
// ps: null,
// children: [],
// menu: true,
// },
// {
// name: "后评估检查",
// url: "",
// children: [
// {
// name: "后评估自查",
// url: "",
// children: [
// {
// name: "自查评估批次发起",
// url: "/assesszc/auxiliarySelection",
// children: [],
// },
// // {
// // name: "项目档案库",
// // url: "/assesszc/projectView",
// // children: [],
// // },
// {
// name: "自查评估项目确认",
// url: "/assesszc/confirmRelease",
// children: [],
// },
// {
// name: "自查项目辅助检查",
// url: "/assesszc/auxiliaryInspection",
// children: [],
// },
// {
// name: "自查问题整改",
// url: "/assesszc/materialAcquisition",
// children: [],
// },
// {
// name: "自查评估结果查看",
// url: "/assesszc/assistedViewing",
// children: [],
// },
// ],
// },
// {
// name: "后评估互查",
// url: "",
// children: [
// {
// name: "评估批次发起",
// url: "/mainLayout/auxiliarySelection",
// children: [],
// },
// {
// name: "评估项目确认",
// url: "/mainLayout/confirmRelease",
// children: [],
// },
// {
// name: "项目辅助检查",
// url: "/mainLayout/auxiliaryInspection",
// children: [],
// },
// {
// name: "评估问题整改",
// url: "/mainLayout/materialAcquisition",
// children: [],
// },
// {
// name: "评估结果查看",
// url: "/mainLayout/assistedViewing",
// children: [],
// },
// ],
// },
// {
// name: "后评估集中检查",
// url: "",
// children: [
// {
// name: "项目检查问题查询",
// url: "/mainLayout/projectCheckQuestionQuery",
// children: [],
// },
// {
// name: "整改反馈查询",
// url: "/mainLayout/rectificationFeedbackQuery",
// children: [],
// },
// ],
// },
// ],
// },
// {
// name: "后评估合规性管理",
// url: "",
// children: [
// {
// name: "合规性检查实时提醒",
// url: "",
// children: [
// {
// name: "合规性检查提醒",
// url: "/checkCompliance/automaticCheck",
// children: [],
// },
// ],
// },
// {
// name: "合规性检查规则库构建",
// url: "",
// children: [
// {
// name: "检查规则编制",
// url: "/compliance/checkRules",
// children: [],
// },
// {
// name: "自动稽核任务配置",
// url: "/compliance/taskConfigure",
// children: [],
// },
// ],
// },
// {
// name: "项目合规检查",
// url: "",
// children: [
// {
// name: "合规检查结果",
// url: "/projectCheck/checkResault",
// children: [],
// },
// {
// name: "合规问题整改",
// url: "/projectCheck/problemRectify",
// children: [],
// },
// // {
// // name: '合规问题整改核验',
// // url: '/projectCheck/verificationRectify',
// // children: [],
// // },
// ],
// },
// ],
// },
// {
// name: "后评估结果管理",
// url: "",
// children: [
// {
// name: "后评估结果发布",
// url: "",
// children: [
// {
// name: "检查结果公示及评价",
// url: "/managementResult/releaseResultpublicity",
// children: [],
// },
// ],
// },
// {
// name: "后评估结果情况",
// url: "",
// children: [
// // {
// // name: '后评估进度情况',
// // url: '/managementResult/situationResaultschedule',
// // children: [],
// // },
// {
// name: "后评估各环节问题分布",
// url: "/managementResult/situationResaultissuesLink",
// children: [],
// },
// {
// name: "合规检查问题情况",
// url: "/managementResult/issuesInspection",
// children: [],
// },
// ],
// },
// {
// name: "后评估检查报告管理",
// url: "",
// children: [
// {
// name: "后评估检查报告维护",
// url: "/managementResult/maintenancePg",
// children: [],
// },
// {
// name: "后评估报告模板管理",
// url: "/managementResult/managementPg",
// children: [],
// },
// // { name: "合规性检查报告维护", url: "/managementResult/maintenanceHg", children: [] },
// // { name: "合规性检查报告模板管理", url: "/managementResult/managementHg", children: [] },
// ],
// },
// ],
// },
// ],
// menu: true,
// },
// ],
// funcList: [],
// },
// };
// // console.log(11111, resMockData);
// // res = await getIscInfo();
// const res = resMockData;
// if (res.code === 200) {
// sessionStorage.setItem("userid", res.content.id);
// sessionStorage.setItem("username", res.content.name);
// sessionStorage.setItem("userloginname", res.content.loginName);
// const resRoutes = res.content.menuList[0].children;
// console.log(123123, resRoutes);
// this.souYeRoute = resRoutes.filter((item) => item.name === "首页");
// const restRoutes = resRoutes.filter((item) => item.name !== "首页");
// restRoutes.forEach(val => {
// if (val.name === "项目档案库") {
// val.erji = "二级";
// }
// })
// this.menuList = restRoutes
// // console.log(2222, this.souYeRoute, restRoutes);
// }
// },
handleOpen
(
e
,
a
)
{
handleOpen
(
e
,
a
)
{
console
.
log
(
'打开'
,
e
)
// console.log("打开", e);
this
.
keyIndex
=
e
.
charAt
(
0
)
this
.
keyIndex
=
e
.
charAt
(
0
);
// this.$nextTick(() => {
// this.$nextTick(() => {
// this.$refs.scroll.update();
// this.$refs.scroll.update();
// });
// });
...
@@ -212,13 +522,12 @@ export default {
...
@@ -212,13 +522,12 @@ export default {
treeIcon2
[
e
.
slice
(
2
)].
style
.
transform
=
"rotate(90deg)"
;
treeIcon2
[
e
.
slice
(
2
)].
style
.
transform
=
"rotate(90deg)"
;
}
}
},
},
allClose
(){
allClose
()
{
this
.
$refs
.
kzMenu
.
close
(
this
.
keyIndex
);
this
.
$refs
.
kzMenu
.
close
(
this
.
keyIndex
);
this
.
handleClose
(
this
.
keyIndex
,[
this
.
keyIndex
])
this
.
handleClose
(
this
.
keyIndex
,
[
this
.
keyIndex
]);
},
},
handleClose
(
e
,
a
)
{
handleClose
(
e
,
a
)
{
console
.
log
(
"关闭"
,
e
,
a
);
// console.log("关闭", e,
a);
if
(
a
.
length
==
1
)
{
if
(
a
.
length
==
1
)
{
let
treeIcon1
=
document
.
getElementsByClassName
(
"treeIcon1"
);
let
treeIcon1
=
document
.
getElementsByClassName
(
"treeIcon1"
);
treeIcon1
[
e
].
style
.
transform
=
"rotate(0deg)"
;
treeIcon1
[
e
].
style
.
transform
=
"rotate(0deg)"
;
...
@@ -357,7 +666,7 @@ export default {
...
@@ -357,7 +666,7 @@ export default {
background
:
rgba
(
99
,
164
,
166
,
0.6
);
background
:
rgba
(
99
,
164
,
166
,
0.6
);
color
:
#fff
;
color
:
#fff
;
}
}
.xiangmu
{
.xiangmu
{
margin
:
0
;
margin
:
0
;
}
}
.xiangmu
::v-deep
.is-active
{
.xiangmu
::v-deep
.is-active
{
...
@@ -385,7 +694,29 @@ export default {
...
@@ -385,7 +694,29 @@ export default {
>
.treeIcon2
{
>
.treeIcon2
{
transform
:
rotate
(
90deg
);
transform
:
rotate
(
90deg
);
}
}
.classmain
{
.classmain
{
background-color
:
#63a4a6
;
margin-bottom
:
10px
;
border-radius
:
5px
;
box-shadow
:
1px
2px
4px
0px
#0068624
c
;
height
:
40px
;
line-height
:
40px
;
font-size
:
16px
;
font-weight
:
bold
;
color
:
#fff
;
text-align
:
left
;
span
{
display
:
inline-block
;
width
:
5px
;
height
:
5px
;
border-radius
:
5px
;
background
:
#fff
;
margin-right
:
25px
;
margin-left
:
4px
;
vertical-align
:
middle
;
}
}
.sou_ye_style
{
background-color
:
#63a4a6
;
background-color
:
#63a4a6
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
border-radius
:
5px
;
border-radius
:
5px
;
...
@@ -396,7 +727,7 @@ export default {
...
@@ -396,7 +727,7 @@ export default {
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#fff
;
color
:
#fff
;
text-align
:
left
;
text-align
:
left
;
span
{
span
{
display
:
inline-block
;
display
:
inline-block
;
width
:
5px
;
width
:
5px
;
height
:
5px
;
height
:
5px
;
...
...
src/views/layout/mainLayout.vue
View file @
b6eafab
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
:class=
"openBar ? 'bar' : 'barClose'"
:class=
"openBar ? 'bar' : 'barClose'"
:authority=
"authority"
:authority=
"authority"
:autho=
"autho"
:autho=
"autho"
:wholeRoutes=
"wholeRoutes"
ref=
"child"
ref=
"child"
></LeftBar>
></LeftBar>
<ContinerView
class=
"continer"
id=
"myElement"
>
<ContinerView
class=
"continer"
id=
"myElement"
>
...
@@ -56,7 +57,8 @@
...
@@ -56,7 +57,8 @@
import
{
EventBus
}
from
"../../components/event-bus.js"
;
import
{
EventBus
}
from
"../../components/event-bus.js"
;
import
ContinerView
from
"./continerView"
;
import
ContinerView
from
"./continerView"
;
import
LeftBar
from
"./leftBar"
;
import
LeftBar
from
"./leftBar"
;
import
{
getIscInfo
,
evaluationMaterials
}
from
"@/api/index"
;
import
Cookies
from
'js-cookie'
;
export
default
{
export
default
{
components
:
{
components
:
{
ContinerView
,
ContinerView
,
...
@@ -64,6 +66,7 @@ export default {
...
@@ -64,6 +66,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
wholeRoutes
:
{},
openBar
:
true
,
openBar
:
true
,
title
:
"确认更改"
,
title
:
"确认更改"
,
submenu
:
[
submenu
:
[
...
@@ -236,16 +239,319 @@ export default {
...
@@ -236,16 +239,319 @@ export default {
mounted
()
{
mounted
()
{
EventBus
.
$on
(
"modifyStyleEvent"
,
this
.
updateStyle
);
EventBus
.
$on
(
"modifyStyleEvent"
,
this
.
updateStyle
);
},
},
async
created
()
{
await
this
.
getIscInfoAndRoutes
();
},
methods
:
{
methods
:
{
async
getIscInfoAndRoutes
()
{
// const userInfo = Cookies.get('joker');
// console.log('userInfo', userInfo);
// let res1 = await evaluationMaterials({
// current: 1,
// pageSize: 10,
// module: 0,
// })
try
{
let
res
=
await
getIscInfo
();
if
(
res
.
code
===
200
)
{
sessionStorage
.
setItem
(
"userid"
,
res
.
content
.
id
);
sessionStorage
.
setItem
(
"username"
,
res
.
content
.
name
);
sessionStorage
.
setItem
(
"userloginname"
,
res
.
content
.
loginName
);
const
resRoutes
=
res
.
content
.
menuList
[
0
].
children
;
console
.
log
(
123123
,
resRoutes
);
const
souYeRoute
=
resRoutes
.
filter
((
item
)
=>
item
.
name
===
"首页"
);
const
restRoutes
=
resRoutes
.
filter
((
item
)
=>
item
.
name
!==
"首页"
);
restRoutes
.
forEach
(
val
=>
{
if
(
val
.
name
===
"项目档案库"
)
{
val
.
erji
=
"二级"
;
}
})
this
.
menuList
=
restRoutes
// console.log(2222, souYeRoute, restRoutes);
this
.
wholeRoutes
=
{
souYeRoute
,
restRoutes
}
}
}
catch
(
error
)
{
const
res
=
{
success
:
true
,
code
:
200
,
message
:
"OK"
,
content
:
{
id
:
"FA84A11538656BBCE0430100007F9766"
,
loginName
:
"lhb"
,
name
:
"实物ID运维"
,
password
:
"403B8BB4B09"
,
mobile
:
"1111111111"
,
email
:
"lhb@In.sgcc,com.cn"
,
department
:
"数据运营中心"
,
departmentId
:
"8a20318c948334c201951824f892660e"
,
menuList
:
[
{
name
:
"立项统筹中心"
,
url
:
"/asdasdas"
,
type
:
"01"
,
level
:
"1"
,
ascription
:
"lxtczx"
,
ps
:
null
,
children
:
[
{
name
:
"首页"
,
url
:
"/mainLayout/mianHome"
,
type
:
"01"
,
level
:
"2"
,
ascription
:
"lxsy"
,
ps
:
null
,
children
:
[],
menu
:
true
,
},
{
name
:
"项目档案库"
,
url
:
"/mainLayout/mianHome"
,
type
:
"01"
,
level
:
"2"
,
ascription
:
"lxsy"
,
ps
:
null
,
children
:
[],
menu
:
true
,
},
{
name
:
"后评估检查"
,
url
:
""
,
children
:
[
{
name
:
"后评估自查"
,
url
:
""
,
children
:
[
{
name
:
"自查评估批次发起"
,
url
:
"/assesszc/auxiliarySelection"
,
children
:
[],
},
// {
// name: "项目档案库",
// url: "/assesszc/projectView",
// children: [],
// },
{
name
:
"自查评估项目确认"
,
url
:
"/assesszc/confirmRelease"
,
children
:
[],
},
{
name
:
"自查项目辅助检查"
,
url
:
"/assesszc/auxiliaryInspection"
,
children
:
[],
},
{
name
:
"自查问题整改"
,
url
:
"/assesszc/materialAcquisition"
,
children
:
[],
},
{
name
:
"自查评估结果查看"
,
url
:
"/assesszc/assistedViewing"
,
children
:
[],
},
],
},
{
name
:
"后评估互查"
,
url
:
""
,
children
:
[
{
name
:
"评估批次发起"
,
url
:
"/mainLayout/auxiliarySelection"
,
children
:
[],
},
{
name
:
"评估项目确认"
,
url
:
"/mainLayout/confirmRelease"
,
children
:
[],
},
{
name
:
"项目辅助检查"
,
url
:
"/mainLayout/auxiliaryInspection"
,
children
:
[],
},
{
name
:
"评估问题整改"
,
url
:
"/mainLayout/materialAcquisition"
,
children
:
[],
},
{
name
:
"评估结果查看"
,
url
:
"/mainLayout/assistedViewing"
,
children
:
[],
},
],
},
{
name
:
"后评估集中检查"
,
url
:
""
,
children
:
[
{
name
:
"项目检查问题查询"
,
url
:
"/mainLayout/projectCheckQuestionQuery"
,
children
:
[],
},
{
name
:
"整改反馈查询"
,
url
:
"/mainLayout/rectificationFeedbackQuery"
,
children
:
[],
},
],
},
],
},
{
name
:
"后评估合规性管理"
,
url
:
""
,
children
:
[
{
name
:
"合规性检查实时提醒"
,
url
:
""
,
children
:
[
{
name
:
"合规性检查提醒"
,
url
:
"/checkCompliance/automaticCheck"
,
children
:
[],
},
],
},
{
name
:
"合规性检查规则库构建"
,
url
:
""
,
children
:
[
{
name
:
"检查规则编制"
,
url
:
"/compliance/checkRules"
,
children
:
[],
},
{
name
:
"自动稽核任务配置"
,
url
:
"/compliance/taskConfigure"
,
children
:
[],
},
],
},
{
name
:
"项目合规检查"
,
url
:
""
,
children
:
[
{
name
:
"合规检查结果"
,
url
:
"/projectCheck/checkResault"
,
children
:
[],
},
{
name
:
"合规问题整改"
,
url
:
"/projectCheck/problemRectify"
,
children
:
[],
},
// {
// name: '合规问题整改核验',
// url: '/projectCheck/verificationRectify',
// children: [],
// },
],
},
],
},
{
name
:
"后评估结果管理"
,
url
:
""
,
children
:
[
{
name
:
"后评估结果发布"
,
url
:
""
,
children
:
[
{
name
:
"检查结果公示及评价"
,
url
:
"/managementResult/releaseResultpublicity"
,
children
:
[],
},
],
},
{
name
:
"后评估结果情况"
,
url
:
""
,
children
:
[
// {
// name: '后评估进度情况',
// url: '/managementResult/situationResaultschedule',
// children: [],
// },
{
name
:
"后评估各环节问题分布"
,
url
:
"/managementResult/situationResaultissuesLink"
,
children
:
[],
},
{
name
:
"合规检查问题情况"
,
url
:
"/managementResult/issuesInspection"
,
children
:
[],
},
],
},
{
name
:
"后评估检查报告管理"
,
url
:
""
,
children
:
[
{
name
:
"后评估检查报告维护"
,
url
:
"/managementResult/maintenancePg"
,
children
:
[],
},
{
name
:
"后评估报告模板管理"
,
url
:
"/managementResult/managementPg"
,
children
:
[],
},
// { name: "合规性检查报告维护", url: "/managementResult/maintenanceHg", children: [] },
// { name: "合规性检查报告模板管理", url: "/managementResult/managementHg", children: [] },
],
},
],
},
],
menu
:
true
,
},
],
funcList
:
[],
},
};
if
(
res
.
code
===
200
)
{
sessionStorage
.
setItem
(
"userid"
,
res
.
content
.
id
);
sessionStorage
.
setItem
(
"username"
,
res
.
content
.
name
);
sessionStorage
.
setItem
(
"userloginname"
,
res
.
content
.
loginName
);
const
resRoutes
=
res
.
content
.
menuList
[
0
].
children
;
console
.
log
(
123123
,
resRoutes
);
const
souYeRoute
=
resRoutes
.
filter
((
item
)
=>
item
.
name
===
"首页"
);
const
restRoutes
=
resRoutes
.
filter
((
item
)
=>
item
.
name
!==
"首页"
);
restRoutes
.
forEach
(
val
=>
{
if
(
val
.
name
===
"项目档案库"
)
{
val
.
erji
=
"二级"
;
}
})
this
.
menuList
=
restRoutes
// console.log(2222, souYeRoute, restRoutes);
this
.
wholeRoutes
=
{
souYeRoute
,
restRoutes
}
}
}
},
updateStyle
(
style
)
{
updateStyle
(
style
)
{
console
.
log
(
"9999999"
);
//
console.log("9999999");
this
.
openBar
=
!
this
.
openBar
;
this
.
openBar
=
!
this
.
openBar
;
},
},
handleResize
()
{
handleResize
()
{
// 处理窗口大小变化的逻辑
// 处理窗口大小变化的逻辑
console
.
log
(
"Window was resized!"
);
//
console.log("Window was resized!");
var
element
=
document
.
getElementById
(
"myElement"
);
// 获取元素
var
element
=
document
.
getElementById
(
"myElement"
);
// 获取元素
var
maxWidth
=
window
.
innerWidth
;
// 窗口宽度
var
maxWidth
=
window
.
innerWidth
;
// 窗口宽度
var
elementWidth
=
element
.
offsetWidth
;
// 元素宽度
var
elementWidth
=
element
.
offsetWidth
;
// 元素宽度
...
@@ -258,23 +564,23 @@ export default {
...
@@ -258,23 +564,23 @@ export default {
},
},
handleCommand
(
item
)
{
handleCommand
(
item
)
{
console
.
log
(
item
,
"item"
);
//下拉菜单里面的值
//
console.log(item, "item"); //下拉菜单里面的值
// this.authority=item
// this.authority=item
},
},
handleOpen
(
e
,
a
)
{
handleOpen
(
e
,
a
)
{
// console.log(e, a, "e, ae, a");
// console.log(e, a, "e, ae, a");
},
},
clicksub
(
a
,
b
)
{
clicksub
(
a
,
b
)
{
console
.
log
(
"选怎"
,
a
,
b
);
//
console.log("选怎", a, b);
sessionStorage
.
setItem
(
"author"
,
b
.
code
);
//
sessionStorage.setItem("author", b.code);
sessionStorage
.
setItem
(
"authorName"
,
a
.
id
);
//
sessionStorage.setItem("authorName", a.id);
sessionStorage
.
setItem
(
"authorCName"
,
b
.
name
);
//
sessionStorage.setItem("authorCName", b.name);
this
.
authority
=
a
.
id
;
this
.
authority
=
a
.
id
;
this
.
autho
=
b
.
code
;
this
.
autho
=
b
.
code
;
this
.
$refs
.
menu
.
close
(
"0"
);
this
.
$refs
.
menu
.
close
(
"0"
);
},
},
handleOpen
(
key
,
bb
)
{
handleOpen
(
key
,
bb
)
{
console
.
log
(
key
,
bb
);
//
console.log(key, bb);
this
.
KeyIndex
=
key
;
this
.
KeyIndex
=
key
;
},
},
handleClose
()
{
handleClose
()
{
...
...
src/views/postConcentrationCheck/projectCheckQuestionQuery.vue
View file @
b6eafab
...
@@ -215,7 +215,7 @@ export default {
...
@@ -215,7 +215,7 @@ export default {
methods
:
{
methods
:
{
timeChange
(
time
)
{
timeChange
(
time
)
{
console
.
log
(
'tttttt'
,
time
)
//
console.log('tttttt', time)
if
(
time
)
{
if
(
time
)
{
//给后端的参数
//给后端的参数
this
.
ruleForm
.
createStartTime
=
time
[
0
]
this
.
ruleForm
.
createStartTime
=
time
[
0
]
...
@@ -231,7 +231,7 @@ export default {
...
@@ -231,7 +231,7 @@ export default {
pageSize
:
this
.
pageSize
,
pageSize
:
this
.
pageSize
,
}
}
Object
.
assign
(
params
,
this
.
ruleForm
)
Object
.
assign
(
params
,
this
.
ruleForm
)
console
.
log
(
params
)
//
console.log(params)
let
res
=
await
projectInspectionIssues
(
params
)
let
res
=
await
projectInspectionIssues
(
params
)
if
(
res
.
code
==
'200'
)
{
if
(
res
.
code
==
'200'
)
{
...
@@ -311,15 +311,15 @@ export default {
...
@@ -311,15 +311,15 @@ export default {
}
}
this
.
checkedList
=
this
.
$refs
.
multipleTable
.
selection
this
.
checkedList
=
this
.
$refs
.
multipleTable
.
selection
console
.
log
(
this
.
checkedList
,
'2222'
)
//
console.log(this.checkedList, '2222')
},
},
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
)
//
console.log(`每页 ${val} 条`)
this
.
pageSize
=
val
this
.
pageSize
=
val
this
.
submitForm
()
this
.
submitForm
()
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
)
//
console.log(`当前页: ${val}`)
this
.
currentPage
=
val
this
.
currentPage
=
val
this
.
submitForm
()
this
.
submitForm
()
},
},
...
...
src/views/postConcentrationCheck/rectificationFeedbackQuery.vue
View file @
b6eafab
...
@@ -243,7 +243,7 @@ export default {
...
@@ -243,7 +243,7 @@ export default {
pageSize
:
this
.
pageSize
,
pageSize
:
this
.
pageSize
,
}
}
Object
.
assign
(
params
,
this
.
ruleForm
)
Object
.
assign
(
params
,
this
.
ruleForm
)
console
.
log
(
params
)
//
console.log(params)
let
res
=
await
RectificationFeedbackQuery
(
params
)
let
res
=
await
RectificationFeedbackQuery
(
params
)
if
(
res
.
code
==
'200'
)
{
if
(
res
.
code
==
'200'
)
{
...
@@ -330,15 +330,15 @@ export default {
...
@@ -330,15 +330,15 @@ export default {
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
selection
[
1
],
true
)
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
selection
[
1
],
true
)
}
}
this
.
checkedList
=
this
.
$refs
.
multipleTable
.
selection
this
.
checkedList
=
this
.
$refs
.
multipleTable
.
selection
console
.
log
(
this
.
checkedList
,
'2222'
)
//
console.log(this.checkedList, '2222')
},
},
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
)
//
console.log(`每页 ${val} 条`)
this
.
pageSize
=
val
this
.
pageSize
=
val
this
.
submitForm
()
this
.
submitForm
()
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
)
//
console.log(`当前页: ${val}`)
this
.
currentPage
=
val
this
.
currentPage
=
val
this
.
submitForm
()
this
.
submitForm
()
},
},
...
...
src/views/projectCheck/checkResault.vue
View file @
b6eafab
...
@@ -326,7 +326,7 @@ export default {
...
@@ -326,7 +326,7 @@ export default {
pageSize
:
this
.
pageSize
,
pageSize
:
this
.
pageSize
,
};
};
Object
.
assign
(
params
,
this
.
ruleForm
);
Object
.
assign
(
params
,
this
.
ruleForm
);
console
.
log
(
params
);
//
console.log(params);
let
res
=
await
auditTasksResults
(
params
);
let
res
=
await
auditTasksResults
(
params
);
if
(
res
.
code
==
"200"
)
{
if
(
res
.
code
==
"200"
)
{
...
@@ -380,7 +380,7 @@ export default {
...
@@ -380,7 +380,7 @@ export default {
// this.checkedList[0].auditEndTime,
// this.checkedList[0].auditEndTime,
// ];
// ];
this
.
XQtableData
=
res
.
data
.
records
;
this
.
XQtableData
=
res
.
data
.
records
;
console
.
log
(
this
.
XQtableData
,
'XQtableDataXQtableData'
)
//
console.log(this.XQtableData,'XQtableDataXQtableData')
this
.
dialog
=
true
;
this
.
dialog
=
true
;
}
}
},
},
...
@@ -396,25 +396,25 @@ export default {
...
@@ -396,25 +396,25 @@ export default {
handleSelectionChange
(
selection
)
{
handleSelectionChange
(
selection
)
{
this
.
checkedList
=
this
.
$refs
.
multipleTable
.
selection
;
this
.
checkedList
=
this
.
$refs
.
multipleTable
.
selection
;
console
.
log
(
this
.
checkedList
,
"2222"
);
//
console.log(this.checkedList, "2222");
},
},
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
//
console.log(`每页 ${val} 条`);
this
.
pageSize
=
val
;
this
.
pageSize
=
val
;
this
.
submitForm
();
this
.
submitForm
();
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
//
console.log(`当前页: ${val}`);
this
.
currentPage
=
val
;
this
.
currentPage
=
val
;
this
.
submitForm
();
this
.
submitForm
();
},
},
handleSizeChangeXQ
(
val
)
{
handleSizeChangeXQ
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
//
console.log(`每页 ${val} 条`);
this
.
pageSizeXQ
=
val
;
this
.
pageSizeXQ
=
val
;
this
.
detailsForm
();
this
.
detailsForm
();
},
},
handleCurrentChangeXQ
(
val
)
{
handleCurrentChangeXQ
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
//
console.log(`当前页: ${val}`);
this
.
currentPageXQ
=
val
;
this
.
currentPageXQ
=
val
;
this
.
detailsForm
();
this
.
detailsForm
();
},
},
...
...
src/views/projectCheck/confirmResault.vue
View file @
b6eafab
...
@@ -354,7 +354,7 @@ export default {
...
@@ -354,7 +354,7 @@ export default {
pageSize
:
this
.
pageSize
,
pageSize
:
this
.
pageSize
,
};
};
Object
.
assign
(
params
,
this
.
ruleForm
);
Object
.
assign
(
params
,
this
.
ruleForm
);
console
.
log
(
params
);
//
console.log(params);
let
res
=
await
auditTasksResultsNew
(
params
);
let
res
=
await
auditTasksResultsNew
(
params
);
if
(
res
.
code
==
"200"
)
{
if
(
res
.
code
==
"200"
)
{
...
@@ -406,7 +406,7 @@ export default {
...
@@ -406,7 +406,7 @@ export default {
this
.
checkedList
[
0
].
auditEndTime
,
this
.
checkedList
[
0
].
auditEndTime
,
];
];
this
.
XQtableData
=
res
.
data
.
records
;
this
.
XQtableData
=
res
.
data
.
records
;
console
.
log
(
this
.
XQtableData
,
"XQtableDataXQtableData"
);
//
console.log(this.XQtableData, "XQtableDataXQtableData");
if
(
type
==
"xq"
)
{
if
(
type
==
"xq"
)
{
this
.
dialog
=
true
;
this
.
dialog
=
true
;
}
else
{
}
else
{
...
@@ -435,15 +435,15 @@ export default {
...
@@ -435,15 +435,15 @@ export default {
// }
// }
this
.
checkedList
=
this
.
$refs
.
multipleTable
.
selection
;
this
.
checkedList
=
this
.
$refs
.
multipleTable
.
selection
;
// this.ruleFormdialog = this.checkedList[0];
// this.ruleFormdialog = this.checkedList[0];
console
.
log
(
this
.
checkedList
,
"2222"
);
//
console.log(this.checkedList, "2222");
},
},
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
//
console.log(`每页 ${val} 条`);
this
.
pageSize
=
val
;
this
.
pageSize
=
val
;
this
.
submitForm
();
this
.
submitForm
();
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
//
console.log(`当前页: ${val}`);
this
.
currentPage
=
val
;
this
.
currentPage
=
val
;
this
.
submitForm
();
this
.
submitForm
();
},
},
...
@@ -452,7 +452,7 @@ export default {
...
@@ -452,7 +452,7 @@ export default {
this
.
dialogXF
=
false
;
this
.
dialogXF
=
false
;
},
},
async
handleClick
(
row
,
index
,
rows
)
{
async
handleClick
(
row
,
index
,
rows
)
{
console
.
log
(
"删除"
,
row
);
//
console.log("删除", row);
rows
.
splice
(
index
,
1
);
rows
.
splice
(
index
,
1
);
this
.
XQtableData
=
rows
;
this
.
XQtableData
=
rows
;
let
params
=
{
let
params
=
{
...
...
src/views/projectCheck/problemRectify.vue
View file @
b6eafab
...
@@ -465,7 +465,7 @@ export default {
...
@@ -465,7 +465,7 @@ export default {
pageSize
:
this
.
pageSize
,
pageSize
:
this
.
pageSize
,
};
};
Object
.
assign
(
params
,
this
.
ruleForm
);
Object
.
assign
(
params
,
this
.
ruleForm
);
console
.
log
(
params
);
//
console.log(params);
let
res
=
await
auditTasksRuleProjectLink
(
params
);
let
res
=
await
auditTasksRuleProjectLink
(
params
);
if
(
res
.
code
==
"200"
)
{
if
(
res
.
code
==
"200"
)
{
...
@@ -523,7 +523,7 @@ export default {
...
@@ -523,7 +523,7 @@ export default {
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
XQtableData
=
res
.
data
.
records
;
this
.
XQtableData
=
res
.
data
.
records
;
console
.
log
(
this
.
XQtableData
,
'XQtableDataXQtableData'
)
//
console.log(this.XQtableData,'XQtableDataXQtableData')
this
.
dialog
=
true
;
this
.
dialog
=
true
;
}
}
},
},
...
@@ -550,15 +550,15 @@ export default {
...
@@ -550,15 +550,15 @@ export default {
}
}
}
}
this
.
ruleFormdialog
=
this
.
checkedList
[
0
];
this
.
ruleFormdialog
=
this
.
checkedList
[
0
];
console
.
log
(
this
.
checkedList
,
"2222"
);
//
console.log(this.checkedList, "2222");
},
},
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
//
console.log(`每页 ${val} 条`);
this
.
pageSize
=
val
;
this
.
pageSize
=
val
;
this
.
submitForm
();
this
.
submitForm
();
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
//
console.log(`当前页: ${val}`);
this
.
currentPage
=
val
;
this
.
currentPage
=
val
;
this
.
submitForm
();
this
.
submitForm
();
},
},
...
@@ -567,7 +567,7 @@ export default {
...
@@ -567,7 +567,7 @@ export default {
this
.
dialogXF
=
false
;
this
.
dialogXF
=
false
;
},
},
async
handleClick
(
row
,
index
,
rows
)
{
async
handleClick
(
row
,
index
,
rows
)
{
console
.
log
(
"删除"
,
row
);
//
console.log("删除", row);
rows
.
splice
(
index
,
1
);
rows
.
splice
(
index
,
1
);
this
.
XQtableData
=
rows
;
this
.
XQtableData
=
rows
;
let
params
=
{
let
params
=
{
...
@@ -579,7 +579,7 @@ export default {
...
@@ -579,7 +579,7 @@ export default {
},
},
//结果确认
//结果确认
async
saveXF
()
{
async
saveXF
()
{
console
.
log
(
this
.
XQtableData
,
'this.XQtableData'
)
//
console.log(this.XQtableData,'this.XQtableData')
let
res
=
await
savaauditRuleProjectLink
(
this
.
XQtableData
);
let
res
=
await
savaauditRuleProjectLink
(
this
.
XQtableData
);
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
$message
(
'保存完成'
)
this
.
$message
(
'保存完成'
)
...
@@ -595,7 +595,7 @@ export default {
...
@@ -595,7 +595,7 @@ export default {
}
}
},
},
handleFileUpload
(
event
,
row
,
type
)
{
handleFileUpload
(
event
,
row
,
type
)
{
console
.
log
(
"来了么"
);
//
console.log("来了么");
this
.
file
=
event
.
target
.
files
[
0
];
this
.
file
=
event
.
target
.
files
[
0
];
this
.
submitFile
(
row
,
type
);
this
.
submitFile
(
row
,
type
);
},
},
...
@@ -608,10 +608,10 @@ export default {
...
@@ -608,10 +608,10 @@ export default {
ossupload
(
formData
)
ossupload
(
formData
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
this
.
$message
(
"上传成功"
)
this
.
$message
(
"上传成功"
)
console
.
log
(
response
);
//
console.log(response);
this
.
file
=
[];
this
.
file
=
[];
this
.
$set
(
row
,
type
,
response
.
data
.
fileId
);
this
.
$set
(
row
,
type
,
response
.
data
.
fileId
);
console
.
log
(
this
.
XQtableData
,
'XQtableDataXQtableData'
)
//
console.log(this.XQtableData,'XQtableDataXQtableData')
})
})
.
catch
((
error
)
=>
{
.
catch
((
error
)
=>
{
console
.
error
(
error
);
console
.
error
(
error
);
...
@@ -622,10 +622,9 @@ export default {
...
@@ -622,10 +622,9 @@ export default {
},
},
//问题确认开关
//问题确认开关
controlSwitch
(
val
,
row
)
{
controlSwitch
(
val
,
row
)
{
console
.
log
(
"333"
,
val
,
row
);
//
console.log("333", val, row);
},
},
async
handleClickXZ
(
fileId
,
fileName
)
{
async
handleClickXZ
(
fileId
,
fileName
)
{
console
.
log
(
fileId
);
let
response
=
await
downloadObject
({
let
response
=
await
downloadObject
({
fileId
:
fileId
*
1
,
fileId
:
fileId
*
1
,
});
});
...
...
src/views/projectCheck/verificationRectify.vue
View file @
b6eafab
...
@@ -431,7 +431,6 @@ export default {
...
@@ -431,7 +431,6 @@ export default {
pageSize
:
this
.
pageSize
,
pageSize
:
this
.
pageSize
,
};
};
Object
.
assign
(
params
,
this
.
ruleForm
);
Object
.
assign
(
params
,
this
.
ruleForm
);
console
.
log
(
params
);
let
res
=
await
auditTasksResultsNew
(
params
);
let
res
=
await
auditTasksResultsNew
(
params
);
if
(
res
.
code
==
"200"
)
{
if
(
res
.
code
==
"200"
)
{
...
@@ -472,7 +471,6 @@ this.$message.error("请选择");
...
@@ -472,7 +471,6 @@ this.$message.error("请选择");
return
;
return
;
}
}
console
.
log
(
this
.
checkedList
[
0
],
'22222334'
)
this
.
ruleFormdialogXQ
=
this
.
checkedList
[
0
];
this
.
ruleFormdialogXQ
=
this
.
checkedList
[
0
];
let
params
=
{
let
params
=
{
auditId
:
this
.
checkedList
[
0
].
auditId
,
auditId
:
this
.
checkedList
[
0
].
auditId
,
...
@@ -484,7 +482,6 @@ let res = await xqauditTasksResults(params);
...
@@ -484,7 +482,6 @@ let res = await xqauditTasksResults(params);
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
XQtableData
=
res
.
data
.
records
;
this
.
XQtableData
=
res
.
data
.
records
;
console
.
log
(
this
.
XQtableData
,
'XQtableDataXQtableData'
)
this
.
dialog
=
true
;
this
.
dialog
=
true
;
}
}
},
},
...
@@ -497,7 +494,6 @@ this.dialog = true;
...
@@ -497,7 +494,6 @@ this.dialog = true;
return
""
;
return
""
;
},
},
async
handleClickXZ
(
fileId
,
fileName
)
{
async
handleClickXZ
(
fileId
,
fileName
)
{
console
.
log
(
fileId
);
let
response
=
await
downloadObject
({
let
response
=
await
downloadObject
({
fileId
:
fileId
*
1
,
fileId
:
fileId
*
1
,
});
});
...
@@ -532,15 +528,12 @@ this.dialog = true;
...
@@ -532,15 +528,12 @@ this.dialog = true;
}
}
}
}
this
.
ruleFormdialog
=
this
.
checkedList
[
0
];
this
.
ruleFormdialog
=
this
.
checkedList
[
0
];
console
.
log
(
this
.
checkedList
,
"2222"
);
},
},
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
this
.
pageSize
=
val
;
this
.
pageSize
=
val
;
this
.
submitForm
();
this
.
submitForm
();
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
this
.
currentPage
=
val
;
this
.
currentPage
=
val
;
this
.
submitForm
();
this
.
submitForm
();
},
},
...
@@ -549,7 +542,6 @@ this.dialog = true;
...
@@ -549,7 +542,6 @@ this.dialog = true;
this
.
dialogXF
=
false
;
this
.
dialogXF
=
false
;
},
},
async
handleClick
(
row
,
index
,
rows
)
{
async
handleClick
(
row
,
index
,
rows
)
{
console
.
log
(
"删除"
,
row
);
rows
.
splice
(
index
,
1
);
rows
.
splice
(
index
,
1
);
this
.
XQtableData
=
rows
;
this
.
XQtableData
=
rows
;
let
params
=
{
let
params
=
{
...
@@ -561,8 +553,7 @@ this.dialog = true;
...
@@ -561,8 +553,7 @@ this.dialog = true;
},
},
//结果确认
//结果确认
async
saveXF
()
{
async
saveXF
()
{
console
.
log
(
this
.
XQtableData
,
"this.XQtableData"
);
// let res = await savaRuleProjectLink(this.XQtableData);
let
res
=
await
savaRuleProjectLink
(
this
.
XQtableData
);
},
},
//结果下发
//结果下发
async
resaultXF
()
{
async
resaultXF
()
{
...
@@ -622,7 +613,6 @@ this.dialog = true;
...
@@ -622,7 +613,6 @@ this.dialog = true;
.
catch
((
action
)
=>
{});
.
catch
((
action
)
=>
{});
},
},
handleFileUpload
(
event
,
row
,
type
)
{
handleFileUpload
(
event
,
row
,
type
)
{
console
.
log
(
"来了么"
);
this
.
file
=
event
.
target
.
files
[
0
];
this
.
file
=
event
.
target
.
files
[
0
];
this
.
submitFile
(
row
,
type
);
this
.
submitFile
(
row
,
type
);
},
},
...
@@ -632,7 +622,6 @@ this.dialog = true;
...
@@ -632,7 +622,6 @@ this.dialog = true;
formData
.
append
(
"file"
,
this
.
file
);
formData
.
append
(
"file"
,
this
.
file
);
ossupload
(
formData
)
ossupload
(
formData
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
console
.
log
(
response
);
this
.
file
=
[];
this
.
file
=
[];
this
.
$set
(
row
,
type
,
response
.
data
.
fileId
);
this
.
$set
(
row
,
type
,
response
.
data
.
fileId
);
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment