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 80f3edd1
authored
Jun 26, 2024
by
liangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合规管理优化
1 parent
83010c0b
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
175 additions
and
62 deletions
src/utils/cache.js
src/utils/leftBarRules.js
src/views/assessChecks/confirmRelease.vue
src/views/compliance/taskConfigure.vue
src/views/layout/leftBar.vue
src/views/postConcentrationCheck/rectificationFeedbackQuery.vue
src/views/projectCheck/problemRectify.vue
src/views/projectCheck/verificationRectify.vue
src/utils/cache.js
View file @
80f3edd
...
@@ -113,7 +113,6 @@ export function MaterialsListKY(type) {
...
@@ -113,7 +113,6 @@ export function MaterialsListKY(type) {
}
}
}
}
export
function
generateYearOptions
()
{
export
function
generateYearOptions
()
{
console
.
log
(
'获取时间'
)
const
currentYear
=
new
Date
().
getFullYear
();
const
currentYear
=
new
Date
().
getFullYear
();
return
Array
.
from
({
length
:
10
},
(
_
,
i
)
=>
currentYear
-
i
);
return
Array
.
from
({
length
:
10
},
(
_
,
i
)
=>
currentYear
-
i
);
}
}
...
...
src/utils/leftBarRules.js
View file @
80f3edd
...
@@ -52,7 +52,7 @@ export function trendsRules(type) {
...
@@ -52,7 +52,7 @@ export function trendsRules(type) {
url
:
""
,
url
:
""
,
children
:
[
children
:
[
{
name
:
"合规检查结果"
,
url
:
"/projectCheck/checkResault"
,
children
:
[]
},
{
name
:
"合规检查结果"
,
url
:
"/projectCheck/checkResault"
,
children
:
[]
},
{
name
:
"合规检查结果确认"
,
url
:
"/projectCheck/confirmResault"
,
children
:
[]
},
//
{ name: "合规检查结果确认", url: "/projectCheck/confirmResault", children: [] },
{
name
:
"合规问题整改核验"
,
url
:
"/projectCheck/verificationRectify"
,
children
:
[]
},
{
name
:
"合规问题整改核验"
,
url
:
"/projectCheck/verificationRectify"
,
children
:
[]
},
],
],
},
},
...
@@ -140,6 +140,19 @@ export function trendsRules(type) {
...
@@ -140,6 +140,19 @@ export function trendsRules(type) {
},
},
],
],
},
},
{
name
:
"后评估合规性管理"
,
url
:
""
,
children
:
[
{
name
:
"合规性检查规则库构建"
,
url
:
""
,
children
:
[
{
name
:
"自动稽核任务配置"
,
url
:
"/compliance/taskConfigure"
,
children
:
[]
},
],
},
]
}
];
];
break
break
...
@@ -381,7 +394,7 @@ export function trendsRules(type) {
...
@@ -381,7 +394,7 @@ export function trendsRules(type) {
url
:
""
,
url
:
""
,
children
:
[
children
:
[
{
name
:
"合规检查结果"
,
url
:
"/projectCheck/checkResault"
,
children
:
[]
},
{
name
:
"合规检查结果"
,
url
:
"/projectCheck/checkResault"
,
children
:
[]
},
{
name
:
"合规检查结果确认"
,
url
:
"/projectCheck/confirmResault"
,
children
:
[]
},
//
{ name: "合规检查结果确认", url: "/projectCheck/confirmResault", children: [] },
{
name
:
"合规问题整改"
,
url
:
"/projectCheck/problemRectify"
,
children
:
[]
},
{
name
:
"合规问题整改"
,
url
:
"/projectCheck/problemRectify"
,
children
:
[]
},
{
name
:
"合规问题整改核验"
,
url
:
"/projectCheck/verificationRectify"
,
children
:
[]
},
{
name
:
"合规问题整改核验"
,
url
:
"/projectCheck/verificationRectify"
,
children
:
[]
},
],
],
...
...
src/views/assessChecks/confirmRelease.vue
View file @
80f3edd
...
@@ -473,13 +473,6 @@
...
@@ -473,13 +473,6 @@
<el-option
label=
"独立建设"
value=
"03"
></el-option>
<el-option
label=
"独立建设"
value=
"03"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<!-- <el-form-item label="承建单位:" prop="projectName" class="fromItem">
<el-input
v-model="ruleFormZJ.projectName"
placeholder="请输入"
clearable
></el-input>
</el-form-item> -->
<el-form-item
label=
"负责人:"
prop=
"personCharge"
class=
"fromItem"
>
<el-form-item
label=
"负责人:"
prop=
"personCharge"
class=
"fromItem"
>
<el-input
<el-input
v-model=
"ruleFormZJ.personCharge"
v-model=
"ruleFormZJ.personCharge"
...
...
src/views/compliance/taskConfigure.vue
View file @
80f3edd
...
@@ -333,8 +333,8 @@
...
@@ -333,8 +333,8 @@
>
>
</el-table-column>
</el-table-column>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"department"
label=
"承建单位"
width=
"150"
>
<
!-- <
el-table-column prop="department" label="承建单位" width="150">
</el-table-column>
</el-table-column>
-->
<el-table-column
prop=
"personCharge"
label=
"负责人"
width=
"110"
>
<el-table-column
prop=
"personCharge"
label=
"负责人"
width=
"110"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
...
@@ -505,11 +505,33 @@
...
@@ -505,11 +505,33 @@
>
>
<div
class=
"dialog"
>
<div
class=
"dialog"
>
<el-form
:model=
"ruleFormZJ"
label-width=
"100px"
class=
"demo-ruleForm"
>
<el-form
:model=
"ruleFormZJ"
label-width=
"100px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"项目年度:"
prop=
"projectYear"
class=
"fromItem"
>
<el-form-item
label=
"部门:"
prop=
"department"
class=
"fromItem"
>
<el-input
v-model=
"ruleFormZJ.department"
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"项目编码:"
prop=
"projectId"
class=
"fromItem"
>
<el-input
v-model=
"ruleFormZJ.projectId"
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"项目名称:"
prop=
"projectName"
class=
"fromItem"
>
<el-input
v-model=
"ruleFormZJ.projectName"
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"项目年度:"
prop=
"projectYearStr"
class=
"fromItem"
>
<el-select
<el-select
v-model=
"ruleForm
.projectYea
r"
v-model=
"ruleForm
ZJ.projectYearSt
r"
placeholder=
"请选择"
placeholder=
"请选择"
clearable
clearable
multiple
>
>
<el-option
<el-option
v-for=
"(item, index) in yearsList"
v-for=
"(item, index) in yearsList"
...
@@ -519,27 +541,31 @@
...
@@ -519,27 +541,31 @@
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"
项目编码:"
prop=
"projectId
"
class=
"fromItem"
>
<el-form-item
label=
"
建设形式:"
prop=
"projectCategory
"
class=
"fromItem"
>
<el-
inpu
t
<el-
selec
t
v-model=
"ruleFormZJ.project
Id
"
v-model=
"ruleFormZJ.project
Category
"
placeholder=
"请
输入
"
placeholder=
"请
选择
"
clearable
clearable
></el-input>
>
<el-option
label=
"统推"
value=
"01"
></el-option>
<el-option
label=
"自建"
value=
"02"
></el-option>
<el-option
label=
"独立建设"
value=
"03"
></el-option>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"
项目名称:"
prop=
"projectNam
e"
class=
"fromItem"
>
<el-form-item
label=
"
负责人:"
prop=
"personCharg
e"
class=
"fromItem"
>
<el-input
<el-input
v-model=
"ruleFormZJ.p
rojectNam
e"
v-model=
"ruleFormZJ.p
ersonCharg
e"
placeholder=
"请输入"
placeholder=
"请输入"
clearable
clearable
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"项目内容:"
prop=
"projectInfo"
class=
"fromItem"
>
<
!-- <
el-form-item label="项目内容:" prop="projectInfo" class="fromItem">
<el-input
<el-input
v-model="ruleFormZJ.projectInfo"
v-model="ruleFormZJ.projectInfo"
placeholder="请输入"
placeholder="请输入"
clearable
clearable
></el-input>
></el-input>
</el-form-item>
</el-form-item>
-->
<el-form-item
class=
"cxItem"
>
<el-form-item
class=
"cxItem"
>
<span
class=
"zjquery"
@
click=
"checkXM()"
>
查询
</span>
<span
class=
"zjquery"
@
click=
"checkXM()"
>
查询
</span>
...
@@ -557,18 +583,13 @@
...
@@ -557,18 +583,13 @@
:row-class-name=
"tableRowClassName"
:row-class-name=
"tableRowClassName"
border
border
>
>
<el-table-column
type=
"selection"
>
</el-table-column>
<el-table-column
type=
"selection"
>
</el-table-column>
<el-table-column
label=
"序号"
width=
"55"
type=
"index"
>
<el-table-column
label=
"序号"
width=
"55"
type=
"index"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"department"
label=
"部门"
width=
"150"
>
<el-table-column
prop=
"department"
label=
"部门"
width=
"150"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"项目编码"
width=
"200"
prop=
"projectId"
>
<el-table-column
label=
"项目编码"
width=
"150"
prop=
"projectId"
>
</el-table-column>
<el-table-column
prop=
"projectYear"
label=
"项目年度"
width=
"200"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
projectYear
}}
年
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
...
@@ -604,8 +625,8 @@
...
@@ -604,8 +625,8 @@
>
>
</el-table-column>
</el-table-column>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"department"
label=
"承建单位"
width=
"150"
>
<
!-- <
el-table-column prop="department" label="承建单位" width="150">
</el-table-column>
</el-table-column>
-->
<el-table-column
prop=
"personCharge"
label=
"负责人"
width=
"110"
>
<el-table-column
prop=
"personCharge"
label=
"负责人"
width=
"110"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
...
@@ -796,8 +817,8 @@
...
@@ -796,8 +817,8 @@
>
>
</el-table-column>
</el-table-column>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"department"
label=
"承建单位"
width=
"150"
>
<
!-- <
el-table-column prop="department" label="承建单位" width="150">
</el-table-column>
</el-table-column>
-->
<el-table-column
prop=
"personCharge"
label=
"负责人"
width=
"110"
>
<el-table-column
prop=
"personCharge"
label=
"负责人"
width=
"110"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
...
@@ -1019,8 +1040,8 @@
...
@@ -1019,8 +1040,8 @@
>
>
</el-table-column>
</el-table-column>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"department"
label=
"承建单位"
width=
"150"
>
<
!-- <
el-table-column prop="department" label="承建单位" width="150">
</el-table-column>
</el-table-column>
-->
<el-table-column
prop=
"personCharge"
label=
"负责人"
width=
"110"
>
<el-table-column
prop=
"personCharge"
label=
"负责人"
width=
"110"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
...
@@ -2120,7 +2141,7 @@ h3 {
...
@@ -2120,7 +2141,7 @@ h3 {
.cxItem
{
.cxItem
{
position
:
absolute
;
position
:
absolute
;
right
:
0
;
right
:
0
;
top
:
121px
;
//
top
:
121px
;
width
:
20%
;
width
:
20%
;
bottom
:
10px
;
bottom
:
10px
;
.zjquery
{
.zjquery
{
...
@@ -2155,6 +2176,10 @@ h3 {
...
@@ -2155,6 +2176,10 @@ h3 {
display
:
none
!important
;
display
:
none
!important
;
}
}
.demo-ruleForm
{
.demo-ruleForm
{
position
:
relative
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
}
}
/
deep
/
.el-table
thead
.is-group
th
.el-table__cell
{
background
:
#f5f5f5
;
}
</
style
>
</
style
>
\ No newline at end of file
src/views/layout/leftBar.vue
View file @
80f3edd
...
@@ -86,6 +86,10 @@ export default {
...
@@ -86,6 +86,10 @@ export default {
}
}
}
else
{
}
else
{
this
.
activeIndex
=
this
.
$route
.
path
;
this
.
activeIndex
=
this
.
$route
.
path
;
this
.
$nextTick
(()
=>
{
this
.
$refs
.
kzMenu
.
activeIndex
=
this
.
$route
.
path
;
});
}
}
// this.$refs.kzMenu.activeIndex = this.$route.path;
// this.$refs.kzMenu.activeIndex = this.$route.path;
// this.activeIndex = this.$route.path;
// this.activeIndex = this.$route.path;
...
...
src/views/postConcentrationCheck/rectificationFeedbackQuery.vue
View file @
80f3edd
...
@@ -236,7 +236,6 @@ export default {
...
@@ -236,7 +236,6 @@ export default {
methods
:
{
methods
:
{
generateYearOptions
()
{
generateYearOptions
()
{
console
.
log
(
'获取时间'
)
const
currentYear
=
new
Date
().
getFullYear
();
const
currentYear
=
new
Date
().
getFullYear
();
return
Array
.
from
({
length
:
10
},
(
_
,
i
)
=>
currentYear
-
i
);
return
Array
.
from
({
length
:
10
},
(
_
,
i
)
=>
currentYear
-
i
);
},
},
...
...
src/views/projectCheck/problemRectify.vue
View file @
80f3edd
...
@@ -83,7 +83,9 @@
...
@@ -83,7 +83,9 @@
<el-button
@
click=
"detailsForm('xq')"
>
<el-button
@
click=
"detailsForm('xq')"
>
<img
class=
"buttonIcon"
src=
"../../assets/ck.png"
/>
详情
</el-button
<img
class=
"buttonIcon"
src=
"../../assets/ck.png"
/>
详情
</el-button
>
>
<el-button
@
click=
"detailsForm('xf')"
>
<el-button
@
click=
"detailsForm('xf')"
:disabled=
"confirmdisabled"
:class=
"confirmdisabled ? 'noclick' : ''"
>
<i
class=
"el-icon-document-remove"
></i
<i
class=
"el-icon-document-remove"
></i
>
整改提交
</el-button
>
整改提交
</el-button
>
>
...
@@ -401,6 +403,7 @@ export default {
...
@@ -401,6 +403,7 @@ export default {
ruleFormdialogXQ
:
{},
ruleFormdialogXQ
:
{},
currentPageXQ
:
""
,
currentPageXQ
:
""
,
pageSizeXQ
:
""
,
pageSizeXQ
:
""
,
confirmdisabled
:
false
,
};
};
},
},
mounted
()
{
mounted
()
{
...
@@ -437,8 +440,10 @@ export default {
...
@@ -437,8 +440,10 @@ export default {
if
(
res
.
code
==
"200"
)
{
if
(
res
.
code
==
"200"
)
{
this
.
tableData
=
res
.
data
.
records
;
this
.
tableData
=
res
.
data
.
records
;
this
.
tableData
.
forEach
((
item
)
=>
{
this
.
tableData
.
forEach
((
item
)
=>
{
if
(
item
.
rectificationStatus
==
1
||!
item
.
rectificationStatus
)
{
if
(
item
.
rectificationStatus
==
0
||!
item
.
rectificationStatus
){
this
.
$set
(
item
,
"rectificationStatusText"
,
"待整改 "
);
this
.
$set
(
item
,
"rectificationStatusText"
,
"未下发"
);
}
else
if
(
item
.
rectificationStatus
==
1
)
{
this
.
$set
(
item
,
"rectificationStatusText"
,
"待整改"
);
}
else
if
(
item
.
rectificationStatus
==
2
)
{
}
else
if
(
item
.
rectificationStatus
==
2
)
{
this
.
$set
(
item
,
"rectificationStatusText"
,
"待提交"
);
this
.
$set
(
item
,
"rectificationStatusText"
,
"待提交"
);
}
else
if
(
item
.
rectificationStatus
==
3
)
{
}
else
if
(
item
.
rectificationStatus
==
3
)
{
...
@@ -446,7 +451,7 @@ export default {
...
@@ -446,7 +451,7 @@ export default {
}
else
if
(
item
.
rectificationStatus
==
4
)
{
}
else
if
(
item
.
rectificationStatus
==
4
)
{
this
.
$set
(
item
,
"rectificationStatusText"
,
"被退回"
);
this
.
$set
(
item
,
"rectificationStatusText"
,
"被退回"
);
}
else
if
(
item
.
rectificationStatus
==
5
)
{
}
else
if
(
item
.
rectificationStatus
==
5
)
{
this
.
$set
(
item
,
"rectificationStatusText
t
"
,
"整改完成"
);
this
.
$set
(
item
,
"rectificationStatusText"
,
"整改完成"
);
}
}
this
.
$set
(
this
.
$set
(
item
,
item
,
...
@@ -510,11 +515,18 @@ export default {
...
@@ -510,11 +515,18 @@ export default {
},
},
//主列表选中行信息
//主列表选中行信息
handleSelectionChange
(
selection
)
{
handleSelectionChange
(
selection
)
{
this
.
confirmdisabled
=
false
;
if
(
Array
.
isArray
(
selection
)
&&
selection
.
length
>
1
)
{
if
(
Array
.
isArray
(
selection
)
&&
selection
.
length
>
1
)
{
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
selection
[
0
],
false
);
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
selection
[
0
],
false
);
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
;
if
(
this
.
checkedList
[
0
])
{
this
.
ruleFormdialog
=
this
.
checkedList
[
0
];
if
(
this
.
checkedList
[
0
].
rectificationStatusText
!=
"待整改"
)
{
this
.
confirmdisabled
=
true
;
}
}
this
.
ruleFormdialog
=
this
.
checkedList
[
0
];
this
.
ruleFormdialog
=
this
.
checkedList
[
0
];
console
.
log
(
this
.
checkedList
,
"2222"
);
console
.
log
(
this
.
checkedList
,
"2222"
);
},
},
...
@@ -570,6 +582,7 @@ export default {
...
@@ -570,6 +582,7 @@ export default {
const
formData
=
new
FormData
();
const
formData
=
new
FormData
();
formData
.
append
(
"file"
,
this
.
file
);
formData
.
append
(
"file"
,
this
.
file
);
formData
.
append
(
"typeCode"
,
ruleType
(
row
.
ruleName
)
);
formData
.
append
(
"typeCode"
,
ruleType
(
row
.
ruleName
)
);
formData
.
append
(
"prjId"
,
this
.
checkedList
[
0
].
projectId
);
ossupload
(
formData
)
ossupload
(
formData
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
this
.
$message
(
"上传成功"
)
this
.
$message
(
"上传成功"
)
...
@@ -985,4 +998,7 @@ h3 {
...
@@ -985,4 +998,7 @@ h3 {
white-space
:
normal
;
white-space
:
normal
;
height
:
auto
;
height
:
auto
;
}
}
.noclick
{
opacity
:
0.5
;
}
</
style
>
</
style
>
\ No newline at end of file
src/views/projectCheck/verificationRectify.vue
View file @
80f3edd
...
@@ -58,12 +58,15 @@
...
@@ -58,12 +58,15 @@
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"问题
整改复核
状态:"
prop=
"rectificationStatus"
class=
"fromItem"
>
<el-form-item
label=
"问题状态:"
prop=
"rectificationStatus"
class=
"fromItem"
>
<el-select
<el-select
v-model=
"ruleForm.rectificationStatus"
v-model=
"ruleForm.rectificationStatus"
placeholder=
"请选择"
placeholder=
"请选择"
clearable
clearable
>
>
<el-option
label=
"未下发"
value=
"0"
></el-option>
<el-option
label=
"已下发"
value=
"1"
></el-option>
<el-option
label=
"待提交"
value=
"2"
></el-option>
<el-option
label=
"已提交"
value=
"3"
></el-option>
<el-option
label=
"已提交"
value=
"3"
></el-option>
<el-option
label=
"被退回"
value=
"4"
></el-option>
<el-option
label=
"被退回"
value=
"4"
></el-option>
<el-option
label=
"整改完成"
value=
"5"
></el-option>
<el-option
label=
"整改完成"
value=
"5"
></el-option>
...
@@ -80,7 +83,15 @@
...
@@ -80,7 +83,15 @@
<el-button
@
click=
"detailsForm('xq')"
>
<el-button
@
click=
"detailsForm('xq')"
>
<img
class=
"buttonIcon"
src=
"../../assets/ck.png"
/>
详情
</el-button
<img
class=
"buttonIcon"
src=
"../../assets/ck.png"
/>
详情
</el-button
>
>
<el-button
@
click=
"detailsForm('xf')"
>
<el-button
@
click=
"questionXF()"
:disabled=
"inspectdisabled"
:class=
"inspectdisabled ? 'noclick' : ''"
>
<i
class=
"el-icon-document-remove"
></i
>
问题下发
</el-button
>
<el-button
@
click=
"detailsForm('xf')"
:disabled=
"confirmdisabled"
:class=
"confirmdisabled ? 'noclick' : ''"
>
<i
class=
"el-icon-document-remove"
></i
<i
class=
"el-icon-document-remove"
></i
>
整改复核
</el-button
>
整改复核
</el-button
>
>
...
@@ -122,7 +133,7 @@
...
@@ -122,7 +133,7 @@
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"rectificationStatusText"
prop=
"rectificationStatusText"
label=
"问题
整改复核
状态"
label=
"问题状态"
>
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -188,7 +199,7 @@
...
@@ -188,7 +199,7 @@
<el-table-column
label=
"规则名称"
width=
"auto"
prop=
"ruleName"
>
<el-table-column
label=
"规则名称"
width=
"auto"
prop=
"ruleName"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"问题申诉"
width=
"auto"
>
<el-table-column
label=
"问题申诉"
width=
"auto"
v-if=
"checkedList[0]&&checkedList[0].rectificationStatus==5"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-switch
<el-switch
disabled
disabled
...
@@ -210,7 +221,7 @@
...
@@ -210,7 +221,7 @@
</el-switch>
</el-switch>
</template>
</template>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"ruleType"
label=
"申诉证明材料"
width=
"auto"
>
<el-table-column
prop=
"ruleType"
label=
"申诉证明材料"
width=
"auto"
v-if=
"checkedList[0]&&checkedList[0].rectificationStatus==5"
>
<
template
<
template
slot-scope=
"scope"
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1' && scope.row.sszmFileId"
v-if=
"scope.row.confirmStatus == '1' && scope.row.sszmFileId"
...
@@ -223,6 +234,7 @@
...
@@ -223,6 +234,7 @@
prop=
"ruleType"
prop=
"ruleType"
label=
"问题解决佐证材料"
label=
"问题解决佐证材料"
width=
"auto"
width=
"auto"
v-if=
"checkedList[0]&&checkedList[0].rectificationStatus==5"
>
>
<
template
<
template
slot-scope=
"scope"
slot-scope=
"scope"
...
@@ -236,6 +248,7 @@
...
@@ -236,6 +248,7 @@
prop=
"zgfhStatus"
prop=
"zgfhStatus"
label=
"问题整改复核"
label=
"问题整改复核"
width=
"auto"
width=
"auto"
v-if=
"checkedList[0]&&checkedList[0].rectificationStatus==5"
>
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-select
<el-select
...
@@ -401,12 +414,14 @@
...
@@ -401,12 +414,14 @@
<
script
>
<
script
>
import
{
import
{
auditTasksResultsNew
,
auditTasksRuleProjectLinkZg
,
auditTasksRuleProjectLinkZg
,
zgxqRuleProjectLink
,
zgxqRuleProjectLink
,
savaRuleProjectLink
,
savaRuleProjectLink
,
tjRuleProjectLink
,
tjRuleProjectLink
,
ossupload
,
ossupload
,
downloadObject
downloadObject
,
wtxfResults
}
from
"@/api/index"
;
}
from
"@/api/index"
;
import
{
generateYearOptions
,
projectCategoryText
}
from
"@/utils/cache"
;
import
{
generateYearOptions
,
projectCategoryText
}
from
"@/utils/cache"
;
export
default
{
export
default
{
...
@@ -433,6 +448,8 @@ export default {
...
@@ -433,6 +448,8 @@ export default {
ruleFormdialogXQ
:
{},
ruleFormdialogXQ
:
{},
currentPageXQ
:
""
,
currentPageXQ
:
""
,
pageSizeXQ
:
""
,
pageSizeXQ
:
""
,
confirmdisabled
:
false
,
inspectdisabled
:
false
,
};
};
},
},
mounted
()
{
mounted
()
{
...
@@ -456,25 +473,16 @@ export default {
...
@@ -456,25 +473,16 @@ export default {
};
};
Object
.
assign
(
params
,
this
.
ruleForm
);
Object
.
assign
(
params
,
this
.
ruleForm
);
console
.
log
(
params
);
console
.
log
(
params
);
let
res
=
await
auditTasksR
uleProjectLinkZg
(
params
);
let
res
=
await
auditTasksR
esultsNew
(
params
);
if
(
res
.
code
==
"200"
)
{
if
(
res
.
code
==
"200"
)
{
this
.
tableData
=
res
.
data
.
records
;
this
.
tableData
=
res
.
data
.
records
;
this
.
tableData
.
forEach
((
item
)
=>
{
this
.
tableData
.
forEach
((
item
)
=>
{
if
(
item
.
auditFrequency
==
0
)
{
this
.
$set
(
item
,
"auditFrequencyText"
,
"仅一次"
);
}
else
if
(
item
.
auditFrequency
==
1
)
{
this
.
$set
(
item
,
"auditFrequencyText"
,
"每周"
);
}
else
if
(
item
.
auditFrequency
==
2
)
{
this
.
$set
(
item
,
"auditFrequencyText"
,
"每月"
);
}
else
if
(
item
.
auditFrequency
==
3
)
{
this
.
$set
(
item
,
"auditFrequencyText"
,
"每季度"
);
}
else
if
(
item
.
auditFrequency
==
4
)
{
this
.
$set
(
item
,
"auditFrequencyText"
,
"每年"
);
}
if
(
item
.
rectificationStatus
==
1
||
!
item
.
rectificationStatus
)
{
if
(
item
.
rectificationStatus
==
0
||!
item
.
rectificationStatus
){
this
.
$set
(
item
,
"rectificationStatusText"
,
"待整改"
);
this
.
$set
(
item
,
"rectificationStatusText"
,
"未下发"
);
}
else
if
(
item
.
rectificationStatus
==
1
)
{
this
.
$set
(
item
,
"rectificationStatusText"
,
"已下发"
);
}
else
if
(
item
.
rectificationStatus
==
2
)
{
}
else
if
(
item
.
rectificationStatus
==
2
)
{
this
.
$set
(
item
,
"rectificationStatusText"
,
"待提交"
);
this
.
$set
(
item
,
"rectificationStatusText"
,
"待提交"
);
}
else
if
(
item
.
rectificationStatus
==
3
)
{
}
else
if
(
item
.
rectificationStatus
==
3
)
{
...
@@ -567,11 +575,22 @@ export default {
...
@@ -567,11 +575,22 @@ export default {
},
},
//主列表选中行信息
//主列表选中行信息
handleSelectionChange
(
selection
)
{
handleSelectionChange
(
selection
)
{
this
.
confirmdisabled
=
false
this
.
inspectdisabled
=
false
if
(
Array
.
isArray
(
selection
)
&&
selection
.
length
>
1
)
{
if
(
Array
.
isArray
(
selection
)
&&
selection
.
length
>
1
)
{
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
selection
[
0
],
false
);
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
selection
[
0
],
false
);
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
;
if
(
this
.
checkedList
[
0
])
{
this
.
ruleFormdialog
=
this
.
checkedList
[
0
];
if
(
this
.
checkedList
[
0
].
rectificationStatusText
!=
"已提交"
)
{
this
.
confirmdisabled
=
true
;
}
if
(
this
.
checkedList
[
0
].
rectificationStatusText
!=
"未下发"
)
{
this
.
inspectdisabled
=
true
;
}
}
this
.
ruleFormdialog
=
this
.
checkedList
[
0
];
this
.
ruleFormdialog
=
this
.
checkedList
[
0
];
console
.
log
(
this
.
checkedList
,
"2222"
);
console
.
log
(
this
.
checkedList
,
"2222"
);
},
},
...
@@ -620,6 +639,45 @@ export default {
...
@@ -620,6 +639,45 @@ export default {
this
.
resetForm
();
this
.
resetForm
();
}
}
},
},
//问题下发
async
questionXF
()
{
if
(
this
.
checkedList
.
length
<
1
)
{
this
.
$message
(
"请选择"
);
return
;
}
this
.
$confirm
(
"是否确认下发?"
,
"提示"
,
{
confirmButtonText
:
"是"
,
cancelButtonText
:
"否"
,
distinguishCancelAndClose
:
true
,
type
:
"warning"
,
})
.
then
(
async
()
=>
{
this
.
checkedList
.
forEach
(
item
=>
{
if
(
item
.
confirmStatusText
==
"已下发"
)
{
this
.
$message
(
"请选择未下发的项目"
);
throw
new
Error
(
"主动跳出循环"
);
}
})
let
prjStrList
=
""
;
let
auditId
=
""
;
this
.
checkedList
.
forEach
((
item
)
=>
{
prjStrList
=
prjStrList
.
concat
(
item
.
projectId
+
","
);
auditId
=
auditId
.
concat
(
item
.
auditId
+
","
);
});
let
params
=
{
auditStr
:
auditId
,
prjStr
:
prjStrList
,
};
let
res
=
await
wtxfResults
(
params
);
if
(
res
.
code
==
200
)
{
this
.
$message
(
"下发成功"
);
this
.
dialogXF
=
false
;
this
.
resetForm
();
}
})
.
catch
((
action
)
=>
{});
},
handleFileUpload
(
event
,
row
,
type
)
{
handleFileUpload
(
event
,
row
,
type
)
{
console
.
log
(
"来了么"
);
console
.
log
(
"来了么"
);
this
.
file
=
event
.
target
.
files
[
0
];
this
.
file
=
event
.
target
.
files
[
0
];
...
@@ -1022,4 +1080,7 @@ h3 {
...
@@ -1022,4 +1080,7 @@ h3 {
position
:
relative
;
position
:
relative
;
overflow
:
auto
;
overflow
:
auto
;
}
}
.noclick
{
opacity
:
0.5
;
}
</
style
>
</
style
>
\ No newline at end of file
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