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 6ed6e0be
authored
Jun 19, 2024
by
liangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
1 parent
2ebe0e18
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
165 additions
and
129 deletions
src/api/index.js
src/views/compliance/taskConfigure.vue
src/views/projectCheck/checkResault.vue
src/views/projectCheck/confirmResault.vue
src/views/projectCheck/problemRectify.vue
src/views/projectCheck/verificationRectify.vue
src/api/index.js
View file @
6ed6e0b
...
@@ -321,10 +321,14 @@ export function delProject(params){
...
@@ -321,10 +321,14 @@ export function delProject(params){
}
}
//合规检查结果
//合规检查结果
//分页
//
合规检查结果
分页
export
function
auditTasksResults
(
params
){
export
function
auditTasksResults
(
params
){
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasksResults/`
,
params
)
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasksResults/`
,
params
)
}
}
//合规检查结果确认分页
export
function
auditTasksResultsNew
(
params
){
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasksResults/ipage`
,
params
)
}
//详情
//详情
export
function
xqauditTasksResults
(
params
){
export
function
xqauditTasksResults
(
params
){
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasksResults/xq`
,
params
)
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasksResults/xq`
,
params
)
...
...
src/views/compliance/taskConfigure.vue
View file @
6ed6e0b
...
@@ -1164,15 +1164,12 @@ export default {
...
@@ -1164,15 +1164,12 @@ export default {
ruleFormdialogBJ
:
{
ruleFormdialogBJ
:
{
auditName
:
""
,
auditName
:
""
,
auditTime
:
""
,
auditTime
:
""
,
auditFrequency
:
""
,
auditType
:
""
,
auditType
:
""
,
},
},
dialogAdd
:
false
,
dialogAdd
:
false
,
ruleFormdialogAdd
:
{
ruleFormdialogAdd
:
{
auditName
:
""
,
auditName
:
""
,
delivery
:
true
,
auditFrequency
:
""
,
auditTime
:
""
,
auditTime
:
""
,
auditType
:
""
,
auditType
:
""
,
},
},
...
@@ -1301,17 +1298,7 @@ export default {
...
@@ -1301,17 +1298,7 @@ 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
.
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"
,
"每年"
);
}
});
});
this
.
total
=
res
.
data
.
total
*
1
;
this
.
total
=
res
.
data
.
total
*
1
;
}
}
...
...
src/views/projectCheck/checkResault.vue
View file @
6ed6e0b
...
@@ -143,7 +143,7 @@
...
@@ -143,7 +143,7 @@
<el-input
v-model=
"ruleFormdialogXQ.projectCategory"
disabled
></el-input>
<el-input
v-model=
"ruleFormdialogXQ.projectCategory"
disabled
></el-input>
</el-form-item>
-->
</el-form-item>
-->
</el-form>
</el-form>
<p
class=
"zjBtn"
>
稽核
结果
</p>
<p
class=
"zjBtn"
>
稽核
异常项目清单
</p>
<div
class=
"setscroll"
>
<div
class=
"setscroll"
>
<el-table
<el-table
:data=
"XQtableData"
:data=
"XQtableData"
...
@@ -200,7 +200,7 @@ export default {
...
@@ -200,7 +200,7 @@ export default {
listData
:
{},
listData
:
{},
showButton
:
true
,
showButton
:
true
,
ruleForm
:
{
ruleForm
:
{
dates
:[]
},
},
ruleFormdialogXQ
:
{},
ruleFormdialogXQ
:
{},
currentPageXQ
:
1
,
currentPageXQ
:
1
,
...
...
src/views/projectCheck/confirmResault.vue
View file @
6ed6e0b
...
@@ -7,19 +7,15 @@
...
@@ -7,19 +7,15 @@
label-width=
"100px"
label-width=
"100px"
class=
"demo-ruleForm"
class=
"demo-ruleForm"
>
>
<el-form-item
label=
"稽核名称:"
prop=
"auditName"
class=
"fromItem"
>
<el-form-item
label=
"稽核名称:"
prop=
"auditName"
class=
"fromItem"
>
<el-input
<el-input
v-model=
"ruleForm.auditName"
v-model=
"ruleForm.auditName"
placeholder=
"请输入"
placeholder=
"请输入"
clearable
clearable
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
label=
"稽核时间:"
prop=
"auditTime"
class=
"fromItem"
>
label=
"稽核时间:"
<el-date-picker
prop=
"auditTime"
class=
"fromItem"
>
<el-date-picker
@
change=
"timeChange"
@
change=
"timeChange"
v-model=
"ruleForm.dates"
v-model=
"ruleForm.dates"
style=
"width: 240px"
style=
"width: 240px"
...
@@ -58,15 +54,18 @@
...
@@ -58,15 +54,18 @@
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"结果确认状态:"
prop=
"confirmStatus"
class=
"fromItem"
>
<el-form-item
label=
"结果确认状态:"
prop=
"rectificationStatus"
class=
"fromItem"
>
<el-select
<el-select
v-model=
"ruleForm.
confirm
Status"
v-model=
"ruleForm.
rectification
Status"
placeholder=
"请选择"
placeholder=
"请选择"
clearable
clearable
>
>
<el-option
label=
"未确认"
value=
"0"
></el-option>
<el-option
label=
"未下发"
value=
"0"
></el-option>
<el-option
label=
"未下发"
value=
"1"
></el-option>
<el-option
label=
"已下发"
value=
"1"
></el-option>
<el-option
label=
"已下发"
value=
"2"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -84,7 +83,7 @@
...
@@ -84,7 +83,7 @@
<i
class=
"el-icon-chat-dot-square"
></i
<i
class=
"el-icon-chat-dot-square"
></i
>
结果确认
</el-button
>
结果确认
</el-button
>
-->
>
-->
<el-button
@
click=
"
detailsForm('xf'
)"
>
<el-button
@
click=
"
resaultXF(
)"
>
<i
class=
"el-icon-document-remove"
></i
<i
class=
"el-icon-document-remove"
></i
>
问题下发
</el-button
>
问题下发
</el-button
>
>
...
@@ -95,17 +94,18 @@
...
@@ -95,17 +94,18 @@
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
ref=
"multipleTable"
ref=
"multipleTable"
:data=
"tableData"
:data=
"tableData"
tooltip-effect=
"dark myTooltips"
tooltip-effect=
"dark myTooltips"
style=
"width: 100%"
style=
"width: 100%"
header-cell-class-name=
"custom-th-background"
header-cell-class-name=
"custom-th-background"
class=
"eltable"
class=
"eltable"
:row-class-name=
"tableRowClassName"
:row-class-name=
"tableRowClassName"
border
border
>
>
<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
type=
"selection"
>
</el-table-column>
<el-table-column
type=
"selection"
>
</el-table-column>
<el-table-column
label=
"稽核名称"
prop=
"auditName"
width=
"320"
>
</el-table-column>
<el-table-column
label=
"稽核名称"
prop=
"auditName"
width=
"320"
>
</el-table-column>
<el-table-column
prop=
"auditTime"
label=
"稽核时间"
width=
"250"
>
<el-table-column
prop=
"auditTime"
label=
"稽核时间"
width=
"250"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"projectId"
label=
"项目编码"
width=
"220"
>
<el-table-column
prop=
"projectId"
label=
"项目编码"
width=
"220"
>
...
@@ -124,7 +124,11 @@
...
@@ -124,7 +124,11 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"projectCategory"
label=
"建设形式"
width=
"200"
>
<el-table-column
prop=
"projectCategory"
label=
"建设形式"
width=
"200"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"confirmStatusText"
label=
"结果确认状态"
>
<el-table-column
prop=
"confirmStatusText"
label=
"结果确认状态"
width=
"200"
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
...
@@ -132,7 +136,7 @@
...
@@ -132,7 +136,7 @@
@
size-change=
"handleSizeChange"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
@
current-change=
"handleCurrentChange"
:current-page=
"currentPage"
:current-page=
"currentPage"
:page-sizes=
"[10, 15, 20, 50,100]"
:page-sizes=
"[10, 15, 20, 50,
100]"
:page-size=
"1000"
:page-size=
"1000"
layout=
"total, sizes, prev, pager, next, jumper"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"total"
:total=
"total"
...
@@ -156,17 +160,16 @@
...
@@ -156,17 +160,16 @@
<el-form-item
label=
"稽核名称:"
prop=
"auditName"
class=
"fromItem"
>
<el-form-item
label=
"稽核名称:"
prop=
"auditName"
class=
"fromItem"
>
<el-input
v-model=
"ruleFormdialogXQ.auditName"
disabled
></el-input>
<el-input
v-model=
"ruleFormdialogXQ.auditName"
disabled
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"稽核时间:"
prop=
"auditTime"
class=
"fromItem"
>
<el-form-item
label=
"稽核时间:"
prop=
"auditTime"
class=
"fromItem"
>
<el-input
v-model=
"ruleFormdialogXQ.auditTime"
disabled
></el-input>
<el-input
v-model=
"ruleFormdialogXQ.auditTime"
disabled
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<p
class=
"zjBtn"
>
稽核稽核结果
</p>
<p
class=
"zjBtn"
>
稽核稽核结果
</p>
<div
class=
"setscroll"
>
<div
class=
"setscroll"
>
<el-table
<el-table
:data=
"XQtableData"
:data=
"XQtableData"
tooltip-effect=
"dark myTooltips"
tooltip-effect=
"dark myTooltips"
style=
"width: 100%"
style=
"width: 100%"
header-cell-class-name=
"custom-th-background"
header-cell-class-name=
"custom-th-background"
class=
"eltable"
class=
"eltable"
...
@@ -176,11 +179,10 @@
...
@@ -176,11 +179,10 @@
<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
label=
"规则名称"
width=
"auto"
prop=
"ruleName"
>
<el-table-column
label=
"规则名称"
width=
"auto"
prop=
"ruleName"
>
</el-table-column>
<el-table-column
prop=
"ruleType"
label=
"规则类型"
width=
"auto"
>
</el-table-column>
</el-table-column>
<!-- <el-table-column prop="ruleType" label="规则类型" width="auto">
</el-table-column> -->
<el-table-column
<el-table-column
prop=
"projectName"
prop=
"projectName"
label=
"稽核异常项目清单"
label=
"稽核异常项目清单"
...
@@ -243,7 +245,7 @@
...
@@ -243,7 +245,7 @@
<div
class=
"setscroll"
>
<div
class=
"setscroll"
>
<el-table
<el-table
:data=
"XQtableData"
:data=
"XQtableData"
tooltip-effect=
"dark myTooltips"
tooltip-effect=
"dark myTooltips"
style=
"width: 100%"
style=
"width: 100%"
header-cell-class-name=
"custom-th-background"
header-cell-class-name=
"custom-th-background"
class=
"eltable"
class=
"eltable"
...
@@ -253,11 +255,10 @@
...
@@ -253,11 +255,10 @@
<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
label=
"规则名称"
width=
"auto"
prop=
"ruleName"
>
<el-table-column
label=
"规则名称"
width=
"auto"
prop=
"ruleName"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"ruleType"
label=
"规则类型"
width=
"auto"
>
<
!-- <
el-table-column prop="ruleType" label="规则类型" width="auto">
</el-table-column>
</el-table-column>
-->
<el-table-column
<el-table-column
prop=
"projectName"
prop=
"projectName"
label=
"稽核异常项目清单"
label=
"稽核异常项目清单"
...
@@ -268,9 +269,7 @@
...
@@ -268,9 +269,7 @@
<el-table-column
label=
"操作"
width=
"130"
>
<el-table-column
label=
"操作"
width=
"130"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
@
click=
"
@
click=
"handleClick(scope.row, scope.$index, XQtableData)"
handleClick(scope.row, scope.$index, XQtableData)
"
type=
"text"
type=
"text"
size=
"small"
size=
"small"
>
删除
</el-button
>
删除
</el-button
...
@@ -291,8 +290,8 @@
...
@@ -291,8 +290,8 @@
>
>
</el-pagination> -->
</el-pagination> -->
<p
class=
"midBtn"
>
<p
class=
"midBtn"
>
<span
@
click=
"cancelXQ()"
>
取消
</span
<span
@
click=
"cancelXQ()"
>
取消
</span
>
><span
@
click=
"saveXF()"
>
结果确认
</span
>
<!-- <span @click="saveXF()">结果确认</span> --
>
<span
@
click=
"resaultXF()"
>
结果下发
</span>
<span
@
click=
"resaultXF()"
>
结果下发
</span>
</p>
</p>
</div>
</div>
...
@@ -302,7 +301,11 @@
...
@@ -302,7 +301,11 @@
<
script
>
<
script
>
import
{
import
{
auditTasksResults
,
xqauditTasksResults
,
scauditTasksResults
,
jgxqResults
,
wtxfResults
auditTasksResultsNew
,
xqauditTasksResults
,
scauditTasksResults
,
jgxqResults
,
wtxfResults
,
}
from
"@/api/index"
;
}
from
"@/api/index"
;
import
{
generateYearOptions
,
projectCategoryText
}
from
"@/utils/cache"
;
import
{
generateYearOptions
,
projectCategoryText
}
from
"@/utils/cache"
;
export
default
{
export
default
{
...
@@ -315,10 +318,8 @@ export default {
...
@@ -315,10 +318,8 @@ export default {
XFtableData
:
[],
XFtableData
:
[],
dialogXF
:
false
,
dialogXF
:
false
,
showButton
:
true
,
showButton
:
true
,
ruleForm
:
{
ruleForm
:
{},
ruleFormdialog
:
{},
},
ruleFormdialog
:{},
tableData
:
[],
tableData
:
[],
checkedList
:
[],
checkedList
:
[],
...
@@ -329,8 +330,8 @@ export default {
...
@@ -329,8 +330,8 @@ export default {
XQtableData
:
[],
XQtableData
:
[],
ruleFormdialogXQ
:
{},
ruleFormdialogXQ
:
{},
currentPageXQ
:
''
,
currentPageXQ
:
""
,
pageSizeXQ
:
''
,
pageSizeXQ
:
""
,
};
};
},
},
mounted
()
{
mounted
()
{
...
@@ -342,7 +343,7 @@ export default {
...
@@ -342,7 +343,7 @@ export default {
//给后端的参数
//给后端的参数
this
.
ruleForm
.
auditStartTime
=
time
[
0
];
this
.
ruleForm
.
auditStartTime
=
time
[
0
];
this
.
ruleForm
.
auditEndTime
=
time
[
1
];
this
.
ruleForm
.
auditEndTime
=
time
[
1
];
}
else
{
}
else
{
this
.
ruleForm
.
auditStartTime
=
""
;
this
.
ruleForm
.
auditStartTime
=
""
;
this
.
ruleForm
.
auditEndTime
=
""
;
this
.
ruleForm
.
auditEndTime
=
""
;
}
}
...
@@ -354,18 +355,19 @@ export default {
...
@@ -354,18 +355,19 @@ export default {
};
};
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
New
(
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
.
confirmStatus
==
0
||
item
.
confirmStatus
==
null
)
{
if
(
this
.
$set
(
item
,
"confirmStatusText"
,
"未确认"
);
item
.
rectificationStatus
==
0
||
}
else
if
(
item
.
confirmStatus
==
1
)
{
item
.
rectificationStatus
==
null
)
{
this
.
$set
(
item
,
"confirmStatusText"
,
"未下发"
);
this
.
$set
(
item
,
"confirmStatusText"
,
"未下发"
);
}
else
if
(
item
.
confirmStatus
==
2
)
{
}
else
{
this
.
$set
(
item
,
"confirmStatusText"
,
"已下发"
);
this
.
$set
(
item
,
"confirmStatusText"
,
"已下发"
);
}
}
this
.
$set
(
this
.
$set
(
item
,
item
,
"projectCategory"
,
"projectCategory"
,
...
@@ -381,19 +383,20 @@ export default {
...
@@ -381,19 +383,20 @@ export default {
this
.
pageSize
=
10
;
this
.
pageSize
=
10
;
this
.
ruleForm
.
auditStartTime
=
""
;
this
.
ruleForm
.
auditStartTime
=
""
;
this
.
ruleForm
.
auditEndTime
=
""
;
this
.
ruleForm
.
auditEndTime
=
""
;
this
.
ruleForm
.
dates
=
[]
this
.
ruleForm
.
dates
=
[];
this
.
submitForm
();
this
.
submitForm
();
},
},
//详情
//详情
async
detailsForm
(
type
)
{
async
detailsForm
(
type
)
{
if
(
this
.
checkedList
.
length
!=
1
)
{
if
(
this
.
checkedList
.
length
!=
1
)
{
this
.
$message
(
"请选择"
);
this
.
$message
(
"请选择
一条项目进行查看
"
);
return
;
return
;
}
}
let
params
=
{
let
params
=
{
current
:
this
.
currentPageXQ
,
current
:
this
.
currentPageXQ
,
pageSize
:
this
.
pageSizeXQ
,
pageSize
:
this
.
pageSizeXQ
,
auditId
:
this
.
checkedList
[
0
].
auditId
,
auditId
:
this
.
checkedList
[
0
].
auditId
,
projectId
:
this
.
checkedList
[
0
].
projectId
,
};
};
let
res
=
await
xqauditTasksResults
(
params
);
let
res
=
await
xqauditTasksResults
(
params
);
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
...
@@ -403,19 +406,19 @@ export default {
...
@@ -403,19 +406,19 @@ 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
{
if
(
this
.
checkedList
[
0
].
confirmStatusText
==
'已下发'
)
{
if
(
this
.
checkedList
[
0
].
confirmStatusText
==
"已下发"
)
{
this
.
$message
(
"已完成下发"
);
this
.
$message
(
"已完成下发"
);
return
;
return
;
}
}
this
.
dialogXF
=
true
;
this
.
dialogXF
=
true
;
}
}
}
}
},
},
send
()
{},
//表格颜色
//表格颜色
tableRowClassName
({
row
,
rowIndex
})
{
tableRowClassName
({
row
,
rowIndex
})
{
...
@@ -426,12 +429,12 @@ export default {
...
@@ -426,12 +429,12 @@ export default {
},
},
//主列表选中行信息
//主列表选中行信息
handleSelectionChange
(
selection
)
{
handleSelectionChange
(
selection
)
{
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
;
this
.
ruleFormdialog
=
this
.
checkedList
[
0
];
//
this.ruleFormdialog = this.checkedList[0];
console
.
log
(
this
.
checkedList
,
"2222"
);
console
.
log
(
this
.
checkedList
,
"2222"
);
},
},
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
...
@@ -446,41 +449,69 @@ export default {
...
@@ -446,41 +449,69 @@ export default {
},
},
cancelXQ
()
{
cancelXQ
()
{
this
.
dialog
=
false
;
this
.
dialog
=
false
;
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
=
{
auditId
:
this
.
checkedList
[
0
].
auditId
,
auditId
:
this
.
checkedList
[
0
].
auditId
,
ruleId
:
row
.
ruleId
,
ruleId
:
row
.
ruleId
,
projectId
:
row
.
projectId
,
projectId
:
row
.
projectId
,
}
}
;
let
res
=
await
scauditTasksResults
(
params
)
let
res
=
await
scauditTasksResults
(
params
);
},
},
//结果确认
//结果确认
async
saveXF
(){
async
saveXF
()
{
let
params
=
{
let
params
=
{
auditId
:
this
.
checkedList
[
0
].
auditId
,
auditId
:
this
.
checkedList
[
0
].
auditId
,
}
projectId
:
this
.
checkedList
[
0
].
projectId
,
let
res
=
await
jgxqResults
(
params
)
};
if
(
res
.
code
==
200
){
let
res
=
await
jgxqResults
(
params
);
this
.
$message
(
'确认完成'
)
if
(
res
.
code
==
200
)
{
this
.
$message
(
"确认完成"
);
}
}
},
},
//结果下发
//结果下发
async
resaultXF
(){
async
resaultXF
()
{
let
params
=
{
if
(
this
.
checkedList
.
length
<
1
)
{
auditId
:
this
.
checkedList
[
0
].
auditId
,
this
.
$message
(
"请选择"
);
}
return
;
let
res
=
await
wtxfResults
(
params
)
if
(
res
.
code
==
200
){
this
.
$message
(
'下发成功'
)
this
.
dialogXF
=
false
;
this
.
resetForm
();
}
}
}
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
)
=>
{});
},
},
},
};
};
</
script
>
</
script
>
...
@@ -776,7 +807,6 @@ h3 {
...
@@ -776,7 +807,6 @@ h3 {
background-color
:
#fff
;
background-color
:
#fff
;
color
:
#333
;
color
:
#333
;
}
}
}
}
.setscrollOut
{
.setscrollOut
{
width
:
100%
;
width
:
100%
;
...
...
src/views/projectCheck/problemRectify.vue
View file @
6ed6e0b
...
@@ -64,11 +64,11 @@
...
@@ -64,11 +64,11 @@
placeholder=
"请选择"
placeholder=
"请选择"
clearable
clearable
>
>
<el-option
label=
"待整改"
value=
"
0
"
></el-option>
<el-option
label=
"待整改"
value=
"
1
"
></el-option>
<el-option
label=
"待提交"
value=
"
1
"
></el-option>
<el-option
label=
"待提交"
value=
"
2
"
></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-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -324,20 +324,23 @@
...
@@ -324,20 +324,23 @@
</template>
</template>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"ruleType"
label=
"申诉证明材料"
width=
"auto"
>
<el-table-column
prop=
"ruleType"
label=
"申诉证明材料"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
<el-tag
type=
"info"
v-if=
"scope.row.sszmFileName"
closable
size=
"small"
@
close=
"handleClose(scope)"
>
{{
scope
.
row
.
sszmFileName
}}
</el-tag>
<input
<input
v-else
type=
"file"
type=
"file"
@
change=
"handleFileUpload($event,scope.row,'sszmFileId')"
@
change=
"handleFileUpload($event,scope.row,'sszmFileId')"
v-if=
"scope.row.confirmStatus == '1'"
/>
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"ruleType"
label=
"问题解决佐证材料"
width=
"auto"
>
<el-table-column
prop=
"ruleType"
label=
"问题解决佐证材料"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-tag
type=
"info"
v-if=
"scope.row.sszzFileName"
closable
size=
"small"
@
close=
"handleCloseZZ(scope)"
>
{{
scope
.
row
.
sszzFileName
}}
</el-tag>
<input
<input
v-else
type=
"file"
type=
"file"
@
change=
"handleFileUpload($event,scope.row,'sszzFileId')"
@
change=
"handleFileUpload($event,scope.row,'sszzFileId')"
v-if=
"scope.row.confirmStatus == '1'"
/>
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -404,6 +407,14 @@ export default {
...
@@ -404,6 +407,14 @@ export default {
this
.
submitForm
();
this
.
submitForm
();
},
},
methods
:
{
methods
:
{
handleClose
(
fileName
){
// console.log('关闭',fileName)
fileName
.
row
.
sszmFileName
=
""
},
handleCloseZZ
(
fileName
){
// console.log('关闭',fileName)
fileName
.
row
.
sszzFileName
=
""
},
timeChange
(
time
)
{
timeChange
(
time
)
{
if
(
time
)
{
if
(
time
)
{
//给后端的参数
//给后端的参数
...
@@ -426,15 +437,15 @@ export default {
...
@@ -426,15 +437,15 @@ 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
==
0
||!
item
.
rectificationStatus
)
{
if
(
item
.
rectificationStatus
==
1
||!
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
)
{
this
.
$set
(
item
,
"rectificationStatusText"
,
"已提交"
);
}
else
if
(
item
.
rectificationStatus
==
4
)
{
this
.
$set
(
item
,
"rectificationStatusText"
,
"被退回"
);
this
.
$set
(
item
,
"rectificationStatusText"
,
"被退回"
);
}
else
if
(
item
.
rectificationStatus
==
2
)
{
}
else
if
(
item
.
rectificationStatus
==
5
)
{
this
.
$set
(
item
,
"rectificationStatusTextt"
,
"整改完成"
);
this
.
$set
(
item
,
"rectificationStatusTextt"
,
"整改完成"
);
}
}
this
.
$set
(
this
.
$set
(
...
@@ -560,6 +571,7 @@ export default {
...
@@ -560,6 +571,7 @@ export default {
formData
.
append
(
"file"
,
this
.
file
);
formData
.
append
(
"file"
,
this
.
file
);
ossupload
(
formData
)
ossupload
(
formData
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
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
);
...
@@ -968,4 +980,8 @@ h3 {
...
@@ -968,4 +980,8 @@ h3 {
position
:
relative
;
position
:
relative
;
overflow
:
auto
;
overflow
:
auto
;
}
}
/
deep
/
.el-tag
{
white-space
:
normal
;
height
:
auto
;
}
</
style
>
</
style
>
\ No newline at end of file
src/views/projectCheck/verificationRectify.vue
View file @
6ed6e0b
...
@@ -64,11 +64,9 @@
...
@@ -64,11 +64,9 @@
placeholder=
"请选择"
placeholder=
"请选择"
clearable
clearable
>
>
<el-option
label=
"待整改"
value=
"0"
></el-option>
<el-option
label=
"已提交"
value=
"3"
></el-option>
<el-option
label=
"待提交"
value=
"1"
></el-option>
<el-option
label=
"被退回"
value=
"4"
></el-option>
<el-option
label=
"已提交"
value=
"2"
></el-option>
<el-option
label=
"整改完成"
value=
"5"
></el-option>
<el-option
label=
"被退回"
value=
"3"
></el-option>
<el-option
label=
"整改完成"
value=
"4"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -475,15 +473,15 @@ export default {
...
@@ -475,15 +473,15 @@ export default {
this
.
$set
(
item
,
"auditFrequencyText"
,
"每年"
);
this
.
$set
(
item
,
"auditFrequencyText"
,
"每年"
);
}
}
if
(
item
.
rectificationStatus
==
0
||
!
item
.
rectificationStatus
)
{
if
(
item
.
rectificationStatus
==
1
||
!
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
)
{
this
.
$set
(
item
,
"rectificationStatusText"
,
"
被退回
"
);
this
.
$set
(
item
,
"rectificationStatusText"
,
"
已提交
"
);
}
else
if
(
item
.
rectificationStatus
==
4
)
{
}
else
if
(
item
.
rectificationStatus
==
4
)
{
this
.
$set
(
item
,
"rectificationStatusText"
,
"被退回"
);
}
else
if
(
item
.
rectificationStatus
==
5
)
{
this
.
$set
(
item
,
"rectificationStatusText"
,
"整改完成"
);
this
.
$set
(
item
,
"rectificationStatusText"
,
"整改完成"
);
}
}
this
.
$set
(
this
.
$set
(
...
...
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