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 7adb373e
authored
Jun 07, 2024
by
liangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分页器剧中
1 parent
acb84dc5
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
235 additions
and
198 deletions
src/views/assessChecks/assistedConfirm.vue
src/views/assessChecks/assistedFeedback.vue
src/views/assessChecks/assistedViewing.vue
src/views/assessChecks/auxiliaryInspection.vue
src/views/assessChecks/checkComplianceFZ.vue
src/views/assessChecks/correctiveAssistanceVerification.vue
src/views/assessChecks/materialAcquisition.vue
src/views/assessChecks/assistedConfirm.vue
View file @
7adb373
...
...
@@ -792,7 +792,7 @@ export default {
//
color
:
#2785e6
;
}
.elpagination
{
text-align
:
right
;
text-align
:
center
;
margin-right
:
100px
;
}
/
deep
/
.el-dialog
{
...
...
src/views/assessChecks/assistedFeedback.vue
View file @
7adb373
...
...
@@ -25,17 +25,41 @@
></el-input>
</el-form-item>
<el-form-item
label=
"后评估批次状态:"
prop=
"batchState"
class=
"fromItem"
>
<el-select
v-model=
"ruleForm.batchState"
<el-select
v-model=
"ruleForm.batchState"
placeholder=
"请选择"
clearable
>
<el-option
label=
"执行中"
value=
"3"
></el-option>
<el-option
label=
"已完成"
value=
"5"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"项目编码:"
prop=
"projectId"
class=
"fromItem"
>
<el-input
v-model=
"ruleForm.projectId"
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"项目名称:"
prop=
"projectName"
class=
"fromItem"
>
<el-input
v-model=
"ruleForm.projectName"
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"项目年度:"
prop=
"projectYear"
class=
"fromItem"
>
<el-select
v-model=
"ruleForm.projectYear"
placeholder=
"请选择"
clearable
>
<el-option
label=
"执行中"
value=
"3"
></el-option>
<el-option
label=
"已完成"
value=
"5"
></el-option>
<el-option
v-for=
"(item, index) in yearsList"
:key=
"index"
:label=
"item + '年'"
:value=
"item"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"项目审核状态:"
prop=
"reviewStatus"
class=
"fromItem"
>
<el-select
<el-select
v-model=
"ruleForm.reviewStatus"
placeholder=
"请选择"
clearable
...
...
@@ -57,7 +81,11 @@
<el-option
label=
"申诉通过"
value=
"3"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"问题整改状态:"
prop=
"rectificationStatus"
class=
"fromItem"
>
<el-form-item
label=
"问题整改状态:"
prop=
"rectificationStatus"
class=
"fromItem"
>
<el-select
v-model=
"ruleForm.rectificationStatus"
placeholder=
"请选择"
...
...
@@ -69,20 +97,6 @@
<el-option
label=
"整改已完成"
value=
"3"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"评估项目名称:"
prop=
"projectName"
class=
"fromItem"
>
<el-input
v-model=
"ruleForm.projectName"
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"项目编码:"
prop=
"projectId"
class=
"fromItem"
>
<el-input
v-model=
"ruleForm.projectId"
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
class=
"button"
>
<el-button
@
click=
"submitForm()"
>
<img
class=
"buttonIcon"
src=
"../../assets/cx.png"
/>
查询
</el-button
...
...
@@ -105,7 +119,7 @@
@
selection-change=
"handleSelectionChange"
ref=
"multipleTable"
:data=
"tableData"
tooltip-effect=
"dark myTooltips"
tooltip-effect=
"dark myTooltips"
style=
"width: 100%"
header-cell-class-name=
"custom-th-background"
class=
"eltable"
...
...
@@ -120,29 +134,32 @@
</el-table-column>
<el-table-column
prop=
"batchName"
label=
"后评估批次名称"
>
</el-table-column>
<el-table-column
prop=
"expertName"
label=
"评审专家"
>
</el-table-column>
<el-table-column
prop=
"batchStateText"
label=
"后评估批次状态"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"projectId"
label=
"项目编码"
>
</el-table-column>
<el-table-column
prop=
"projectName"
label=
"
评估
项目名称"
label=
"项目名称"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"reviewText"
label=
"项目审核状态"
>
</el-table-column>
<el-table-column
prop=
"projectYear"
label=
"项目年度"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
projectYear
}}
年
</
template
>
</el-table-column>
<el-table-column
prop=
"projectCategory"
label=
"建设形式"
>
</el-table-column>
<!-- <el-table-column prop="projectStatus" label="项目建设阶段">
</el-table-column> -->
<!-- <el-table-column prop="createTime" label="历史审核状态">
</el-table-column> -->
<el-table-column
prop=
"expertName"
label=
"评审专家名单"
>
<el-table-column
prop=
"reviewText"
label=
"项目审核状态"
>
</el-table-column>
<!-- <el-table-column prop="appealDeadline" label="问题申诉截止时间">
</el-table-column>
<el-table-column prop="rectificationDeadline" label="问题整改截止时间">
...
...
@@ -151,23 +168,25 @@
</el-table-column>
<el-table-column
prop=
"reviewStatusText"
label=
"问题整改状态"
>
</el-table-column>
<!-- <el-table-column prop="reviewStatus" label="后评估状态"> </el-table-column> -->
<el-table-column
prop=
"planReviewDate"
label=
"评估日期"
>
</el-table-column>
<el-table-column
prop=
"planReviewDate"
label=
"计划评估日期"
>
</el-table-column>
<el-table-column
prop=
"actualReviewDate"
label=
"实际评估日期"
>
</el-table-column>
</el-table>
</div>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"currentPage"
:page-sizes=
"[10, 15, 20, 50,100]"
:page-sizes=
"[10, 15, 20, 50,
100]"
:page-size=
"1000"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"total"
class=
"elpagination"
>
</el-pagination>
<!-- 问题整改 -->
<el-dialog
<!-- 问题整改 -->
<el-dialog
title=
"问题整改"
:visible
.
sync=
"dialogQR"
width=
"79%"
...
...
@@ -181,13 +200,11 @@
</h3>
<div
class=
"continer"
>
<p
class=
"xqtitle"
><span></span>
问题清单
</p>
<div
class=
"setTable"
>
<div
class=
"setTable"
>
<el-table
v-horizontal-scroll=
"'always'"
:data=
"tableDataQR"
tooltip-effect=
"dark myTooltips"
tooltip-effect=
"dark myTooltips"
style=
"width: 100%"
header-cell-class-name=
"custom-th-background"
class=
"eltable"
...
...
@@ -245,7 +262,6 @@
</template>
</el-table-column>
<el-table-column
label=
"解释批注"
width=
"200"
prop=
"feedback"
>
</el-table-column>
<el-table-column
label=
"附加解释材料"
prop=
"fileId"
width=
"400"
>
<
template
...
...
@@ -253,7 +269,10 @@
v-if=
"scope.row.confirmStatus == '1' && scope.row.fileId"
>
{{
scope
.
row
.
fileName
}}
<el-button
@
click=
"handleClickXZ(scope.row.fileId,scope.row.fileName)"
>
下载
</el-button>
<el-button
@
click=
"handleClickXZ(scope.row.fileId, scope.row.fileName)"
>
下载
</el-button
>
</
template
>
</el-table-column>
<el-table-column
...
...
@@ -279,10 +298,7 @@
</
template
>
</el-table-column>
<el-table-column
label=
"上传整改材料"
prop=
"zgFileId"
width=
"400"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.evalQues"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.evalQues"
>
<input
type=
"file"
@
change=
"handleFileUpload($event, scope.row, 'zgFileId')"
...
...
@@ -290,10 +306,7 @@
</
template
>
</el-table-column>
<el-table-column
label=
"情况说明"
prop=
"zgqkFileId"
width=
"400"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.evalQues"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.evalQues"
>
<input
type=
"file"
@
change=
"handleFileUpload($event, scope.row, 'zgqkFileId')"
...
...
@@ -325,7 +338,7 @@
<p
class=
"xqtitle"
><span></span>
问题清单
</p>
<el-table
:data=
"tableDataSS"
tooltip-effect=
"dark myTooltips"
tooltip-effect=
"dark myTooltips"
style=
"width: 100%"
header-cell-class-name=
"custom-th-background"
class=
"eltable"
...
...
@@ -353,7 +366,7 @@
<el-table-column
label=
"评估问题"
prop=
"evalQues"
>
</el-table-column>
<el-table-column
label=
"问题确认"
width=
"auto"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.evalQues"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.evalQues"
>
<el-switch
v-model=
"scope.row.confirmStatus"
active-color=
"#C0C0C0"
...
...
@@ -363,7 +376,6 @@
active-text=
"无异议"
inactive-text=
"有异议"
@
change=
"controlSwitch($event, scope.row)"
>
<template
v-slot:active
>
<span>
开启
</span>
...
...
@@ -386,7 +398,7 @@
<
template
slot-scope=
"scope"
>
<input
type=
"file"
@
change=
"handleFileUpload($event, scope.row,'fileId')"
@
change=
"handleFileUpload($event, scope.row,
'fileId')"
v-if=
"scope.row.confirmStatus == '1'"
/>
</
template
>
...
...
@@ -410,9 +422,9 @@ import {
ssProblemAssistedFeedback
,
wtssSelProblemRectification
,
wtzgxfProblemRectification
,
downloadObject
downloadObject
,
}
from
"@/api/index"
;
import
{
generateYearOptions
,
projectCategoryText
}
from
"@/utils/cache"
;
import
{
generateYearOptions
,
projectCategoryText
}
from
"@/utils/cache"
;
export
default
{
data
()
{
return
{
...
...
@@ -486,24 +498,28 @@ export default {
this
.
$set
(
item
,
"reviewStatusText"
,
"问题未整改"
);
}
else
if
(
item
.
rectificationStatus
==
"1"
)
{
this
.
$set
(
item
,
"reviewStatusText"
,
"已整改"
);
}
else
if
(
item
.
rectificationStatus
==
"2"
)
{
}
else
if
(
item
.
rectificationStatus
==
"2"
)
{
this
.
$set
(
item
,
"reviewStatusText"
,
"整改不合格"
);
}
else
if
(
item
.
rectificationStatus
==
"3"
)
{
}
else
if
(
item
.
rectificationStatus
==
"3"
)
{
this
.
$set
(
item
,
"reviewStatusText"
,
"整改已完成"
);
}
if
(
item
.
batchState
==
"3"
)
{
this
.
$set
(
item
,
"batchStateText"
,
"执行中"
);
}
else
if
(
item
.
batchState
==
"5"
)
{
this
.
$set
(
item
,
"batchStateText"
,
"已完成"
);
}
}
if
(
item
.
reviewStatus
==
"0"
)
{
this
.
$set
(
item
,
"reviewText"
,
"无问题"
);
}
else
if
(
item
.
reviewStatus
==
"1"
)
{
this
.
$set
(
item
,
"reviewText"
,
"需整改"
);
}
else
if
(
item
.
reviewStatus
==
"2"
)
{
}
else
if
(
item
.
reviewStatus
==
"2"
)
{
this
.
$set
(
item
,
"reviewText"
,
"已整改"
);
}
this
.
$set
(
item
,
"projectCategory"
,
projectCategoryText
(
item
.
projectCategory
));
this
.
$set
(
item
,
"projectCategory"
,
projectCategoryText
(
item
.
projectCategory
)
);
});
this
.
total
=
res
.
data
.
total
*
1
;
}
...
...
@@ -702,15 +718,18 @@ export default {
this
.
$message
(
"请选择一条数据进行申诉"
);
return
;
}
if
(
this
.
checkedList
[
0
].
postEvalStateText
==
'已申诉'
)
{
if
(
this
.
checkedList
[
0
].
postEvalStateText
==
"已申诉"
)
{
this
.
$message
(
"请选择未申诉的数据"
);
return
return
;
}
if
(
this
.
checkedList
[
0
].
postEvalStateText
==
'申诉通过'
)
{
if
(
this
.
checkedList
[
0
].
postEvalStateText
==
"申诉通过"
)
{
this
.
$message
(
"请选择未申诉的数据"
);
return
return
;
}
if
(
this
.
checkedList
[
0
].
reviewStatusText
==
'已整改'
||
this
.
checkedList
[
0
].
reviewStatusText
==
'整改已完成'
)
{
if
(
this
.
checkedList
[
0
].
reviewStatusText
==
"已整改"
||
this
.
checkedList
[
0
].
reviewStatusText
==
"整改已完成"
)
{
this
.
$message
(
"请选择未整改的数据"
);
return
;
}
...
...
@@ -753,13 +772,13 @@ export default {
this
.
dataPretreatmentSS
();
}
},
handleFileUpload
(
event
,
row
,
id
)
{
handleFileUpload
(
event
,
row
,
id
)
{
console
.
log
(
"来了么"
);
this
.
file
=
event
.
target
.
files
[
0
];
this
.
submitFile
(
row
,
id
);
this
.
submitFile
(
row
,
id
);
},
submitFile
(
row
,
id
)
{
console
.
log
(
id
,
'idididid'
)
submitFile
(
row
,
id
)
{
console
.
log
(
id
,
"idididid"
);
if
(
this
.
file
)
{
const
formData
=
new
FormData
();
formData
.
append
(
"file"
,
this
.
file
);
...
...
@@ -783,19 +802,19 @@ export default {
console
.
log
(
"关闭"
);
this
.
handleSelectionChange
();
},
//问题整改
async
confirm
()
{
//问题整改
async
confirm
()
{
this
.
mergingPos
=
0
;
this
.
mergingRows
=
[];
if
(
this
.
checkedList
.
length
!=
1
)
{
this
.
$message
(
"请选择一条数据进行整改"
);
return
;
}
if
(
this
.
checkedList
[
0
].
postEvalStateText
==
'已申诉'
)
{
if
(
this
.
checkedList
[
0
].
postEvalStateText
==
"已申诉"
)
{
this
.
$message
(
"请选择未申诉的数据"
);
return
;
}
if
(
this
.
checkedList
[
0
].
reviewStatusText
==
'整改提交'
)
{
if
(
this
.
checkedList
[
0
].
reviewStatusText
==
"整改提交"
)
{
this
.
$message
(
"整改已经提交"
);
return
;
}
...
...
@@ -836,7 +855,7 @@ export default {
this
.
dataPretreatment
();
}
},
async
saveSubmit
(){
async
saveSubmit
()
{
let
res
=
await
wtzgxfProblemRectification
(
this
.
tableDataQR
);
if
(
res
.
code
==
"200"
)
{
this
.
dialogQR
=
false
;
...
...
@@ -845,8 +864,8 @@ export default {
this
.
$message
(
"整改提交失败"
);
}
},
async
handleClickXZ
(
fileId
,
fileName
)
{
console
.
log
(
fileId
,
'22222'
);
async
handleClickXZ
(
fileId
,
fileName
)
{
console
.
log
(
fileId
,
"22222"
);
let
response
=
await
downloadObject
({
fileId
:
fileId
*
1
,
});
...
...
@@ -936,7 +955,7 @@ export default {
//
color
:
#2785e6
;
}
.elpagination
{
text-align
:
right
;
text-align
:
center
;
margin-right
:
100px
;
}
/
deep
/
.el-dialog
{
...
...
@@ -1057,7 +1076,7 @@ export default {
}
.midBtn
{
margin
:
20px
auto
;
//
margin-top
:
20px
;
//
margin-top
:
20px
;
span
{
display
:
inline-block
;
width
:
80px
;
...
...
@@ -1219,15 +1238,13 @@ h3 {
position
:
relative
;
overflow
:
auto
;
.eltable
{
box-sizing
:
border-box
;
text-align
:
center
;
width
:
150%
;
min-width
:
150%
;
}
/
deep
/
.el-table--scrollable-x
.el-table__body-wrapper
{
overflow-x
:
hidden
!important
;
}
box-sizing
:
border-box
;
text-align
:
center
;
width
:
150%
;
min-width
:
150%
;
}
/
deep
/
.el-table--scrollable-x
.el-table__body-wrapper
{
overflow-x
:
hidden
!important
;
}
}
</
style
>
\ No newline at end of file
src/views/assessChecks/assistedViewing.vue
View file @
7adb373
...
...
@@ -689,7 +689,7 @@ export default {
//
color
:
#2785e6
;
}
.elpagination
{
text-align
:
right
;
text-align
:
center
;
margin-right
:
100px
;
}
/
deep
/
.el-dialog
{
...
...
src/views/assessChecks/auxiliaryInspection.vue
View file @
7adb373
...
...
@@ -10,28 +10,33 @@
<el-form-item
label=
"批次年度:"
prop=
"batchYear"
class=
"fromItem"
>
<el-select
v-model=
"ruleForm.batchYear"
placeholder=
"请选择"
clearable
>
<el-option
v-for=
"(item, index) in yearsList"
:key=
"index"
:label=
"item+'年'"
:value=
"item"
/>
v-for=
"(item, index) in yearsList"
:key=
"index"
:label=
"item + '年'"
:value=
"item"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"后评估批次名称:"
prop=
"batchName"
class=
"fromItem"
>
<el-input
v-model=
"ruleForm.batchName"
placeholder=
"请输入"
clearable
></el-input>
<el-input
v-model=
"ruleForm.batchName"
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"后评估批次状态:"
prop=
"batchState"
class=
"fromItem"
>
<el-select
v-model=
"ruleForm.batchState"
placeholder=
"请选择"
clearable
>
<el-select
v-model=
"ruleForm.batchState"
placeholder=
"请选择"
clearable
>
<el-option
label=
"执行中"
value=
"3"
></el-option>
<el-option
label=
"已完成"
value=
"5"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"项目编码:"
prop=
"projectId"
class=
"fromItem"
>
<el-input
v-model=
"ruleForm.projectId"
placeholder=
"请输入"
clearable
></el-input>
<el-input
v-model=
"ruleForm.projectId"
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"项目名称:"
prop=
"projectName"
class=
"fromItem"
>
<el-input
...
...
@@ -55,14 +60,22 @@
</el-select>
</el-form-item>
<el-form-item
label=
"检查评估状态:"
prop=
"postEvalState"
class=
"fromItem"
>
<el-select
v-model=
"ruleForm.postEvalState"
placeholder=
"请选择"
clearable
>
<el-select
v-model=
"ruleForm.postEvalState"
placeholder=
"请选择"
clearable
>
<el-option
label=
"待提交"
value=
"2"
></el-option>
<el-option
label=
"已撤回"
value=
"4"
></el-option>
<el-option
label=
"已提交"
value=
"3"
></el-option>
<el-option
label=
"待评估"
value=
"1"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"实际评估日期:"
prop=
"actualReviewTime"
class=
"fromItem"
>
<el-form-item
label=
"实际评估日期:"
prop=
"actualReviewTime"
class=
"fromItem"
>
<el-date-picker
@
change=
"timeChange"
v-model=
"ruleForm.dates"
...
...
@@ -74,7 +87,6 @@
end-placeholder=
"结束日期"
></el-date-picker>
</el-form-item>
<el-form-item
class=
"button"
>
<el-button
@
click=
"submitForm()"
>
...
...
@@ -84,8 +96,8 @@
<img
class=
"buttonIcon"
src=
"../../assets/cz.png"
/>
重置
</el-button
>
<el-button
@
click=
"detailsForm('ruleForm')"
>
<img
class=
"buttonIcon"
src=
"../../assets/ck.png"
/>
详情
</el-button
>
<img
class=
"buttonIcon"
src=
"../../assets/ck.png"
/>
详情
</el-button
>
<el-button
@
click=
"inspectNexts()"
><i
class=
"el-icon-tickets"
></i>
合规性检查评估
</el-button
>
...
...
@@ -98,58 +110,63 @@
</el-form-item>
</el-form>
<div
class=
"setscroll"
>
<el-table
@
selection-change=
"handleSelectionChange"
ref=
"multipleTable"
:data=
"tableData"
tooltip-effect=
"dark myTooltips"
style=
"width: 100%"
header-cell-class-name=
"custom-th-background"
class=
"eltable"
:row-class-name=
"tableRowClassName"
border
>
<el-table-column
label=
"序号"
width=
"55"
type=
"index"
>
</el-table-column>
<el-table-column
type=
"selection"
>
</el-table-column>
<el-table-column
label=
"批次年度"
prop=
"batchYear"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
batchYear
}}
年
</
template
></el-table-column>
<el-table-column
prop=
"batchName"
label=
"后评估批次名称"
>
</el-table-column>
<el-table-column
prop=
"expertName"
label=
"评审专家"
>
</el-table-column>
<el-table-column
<el-table
@
selection-change=
"handleSelectionChange"
ref=
"multipleTable"
:data=
"tableData"
tooltip-effect=
"dark myTooltips"
style=
"width: 100%"
header-cell-class-name=
"custom-th-background"
class=
"eltable"
:row-class-name=
"tableRowClassName"
border
>
<el-table-column
label=
"序号"
width=
"55"
type=
"index"
>
</el-table-column>
<el-table-column
type=
"selection"
>
</el-table-column>
<el-table-column
label=
"批次年度"
prop=
"batchYear"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
batchYear
}}
年
</
template
></el-table-column
>
<el-table-column
prop=
"batchName"
label=
"后评估批次名称"
>
</el-table-column>
<el-table-column
prop=
"expertName"
label=
"评审专家"
>
</el-table-column>
<el-table-column
prop=
"batchStateText"
label=
"后评估批次状态"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"projectId"
label=
"项目编码"
>
<el-table-column
prop=
"projectId"
label=
"项目编码"
>
</el-table-column>
<el-table-column
prop=
"projectName"
label=
"项目名称"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"projectName"
label=
"项目名称"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"projectYear"
label=
"项目年度"
>
<el-table-column
prop=
"projectYear"
label=
"项目年度"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
projectYear
}}
年
{{
scope
.
row
.
projectYear
}}
年
</
template
>
</el-table-column>
<el-table-column
prop=
"projectCategory"
label=
"建设形式"
>
</el-table-column>
<el-table-column
prop=
"postEvalState"
label=
"检查评估状态"
>
</el-table-column>
<el-table-column
prop=
"reviewStatusText"
label=
"项目审核状态"
>
</el-table-column>
<el-table-column
prop=
"planReviewDate"
label=
"计划评估日期"
>
</el-table-column>
<el-table-column
prop=
"actualReviewDate"
label=
"实际评估日期"
>
</el-table-column>
</el-table>
</div>
<el-table-column
prop=
"projectCategory"
label=
"建设形式"
>
</el-table-column>
<el-table-column
prop=
"postEvalState"
label=
"检查评估状态"
>
</el-table-column>
<el-table-column
prop=
"reviewStatusText"
label=
"项目审核状态"
>
</el-table-column>
<el-table-column
prop=
"planReviewDate"
label=
"计划评估日期"
>
</el-table-column>
<el-table-column
prop=
"actualReviewDate"
label=
"实际评估日期"
>
</el-table-column>
</el-table>
</div>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"currentPage"
:page-sizes=
"[10, 15, 20, 50,100]"
:page-sizes=
"[10, 15, 20, 50,
100]"
:page-size=
"1000"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"total"
...
...
@@ -165,11 +182,11 @@ import {
chpostEvalQuesInfo
,
qrscevaluationMaterials
,
}
from
"@/api/index"
;
import
{
generateYearOptions
,
projectCategoryText
}
from
"@/utils/cache"
;
import
{
generateYearOptions
,
projectCategoryText
}
from
"@/utils/cache"
;
export
default
{
data
()
{
return
{
yearsList
:
generateYearOptions
(),
yearsList
:
generateYearOptions
(),
showButton
:
true
,
ruleForm
:
{
batchYear
:
""
,
...
...
@@ -177,7 +194,7 @@ export default {
postEvalState
:
""
,
projectName
:
""
,
projectId
:
""
,
dates
:[],
dates
:
[],
},
ruleFormdialog
:
{
batchYear
:
""
,
...
...
@@ -223,30 +240,34 @@ export default {
if
(
res
.
code
==
"200"
)
{
this
.
tableData
=
res
.
data
.
records
;
this
.
tableData
.
forEach
(
item
=>
{
if
(
item
.
postEvalState
==
'1'
)
{
this
.
$set
(
item
,
'postEvalState'
,
'待评估'
)
}
else
if
(
item
.
postEvalState
==
'2'
)
{
this
.
$set
(
item
,
'postEvalState'
,
'待提交'
)
}
else
if
(
item
.
postEvalState
==
'4'
)
{
this
.
$set
(
item
,
'postEvalState'
,
'已撤回'
)
}
else
{
this
.
$set
(
item
,
'postEvalState'
,
'已提交'
)
this
.
tableData
.
forEach
(
(
item
)
=>
{
if
(
item
.
postEvalState
==
"1"
)
{
this
.
$set
(
item
,
"postEvalState"
,
"待评估"
);
}
else
if
(
item
.
postEvalState
==
"2"
)
{
this
.
$set
(
item
,
"postEvalState"
,
"待提交"
);
}
else
if
(
item
.
postEvalState
==
"4"
)
{
this
.
$set
(
item
,
"postEvalState"
,
"已撤回"
);
}
else
{
this
.
$set
(
item
,
"postEvalState"
,
"已提交"
);
}
if
(
item
.
batchState
==
"3"
)
{
this
.
$set
(
item
,
"batchStateText"
,
"执行中"
);
}
else
if
(
item
.
batchState
==
"5"
)
{
this
.
$set
(
item
,
"batchStateText"
,
"已完成"
);
}
}
if
(
item
.
reviewStatus
==
"0"
)
{
this
.
$set
(
item
,
"reviewStatusText"
,
"无问题"
);
}
else
if
(
item
.
reviewStatus
==
"1"
)
{
this
.
$set
(
item
,
"reviewStatusText"
,
"需整改"
);
}
else
if
(
item
.
reviewStatus
==
"2"
)
{
}
else
if
(
item
.
reviewStatus
==
"2"
)
{
this
.
$set
(
item
,
"reviewStatusText"
,
"已整改"
);
}
this
.
$set
(
item
,
"projectCategory"
,
projectCategoryText
(
item
.
projectCategory
));
})
this
.
$set
(
item
,
"projectCategory"
,
projectCategoryText
(
item
.
projectCategory
)
);
});
this
.
total
=
res
.
data
.
total
*
1
;
}
},
...
...
@@ -263,32 +284,32 @@ export default {
return
;
}
let
params
=
{
projectId
:
this
.
checkedList
[
0
].
projectId
,
batchId
:
this
.
checkedList
[
0
].
batchId
projectId
:
this
.
checkedList
[
0
].
projectId
,
batchId
:
this
.
checkedList
[
0
].
batchId
,
};
this
.
$router
.
push
({
path
:
"/mainLayout/Compliance"
,
query
:{
"clqparams"
:
JSON
.
stringify
(
params
),
}
query
:
{
clqparams
:
JSON
.
stringify
(
params
),
}
,
});
},
//详情
async
detailsForm
(){
async
detailsForm
()
{
if
(
this
.
checkedList
.
length
!=
1
)
{
this
.
$message
(
"请选择"
);
return
;
}
let
params
=
{
projectId
:
this
.
checkedList
[
0
].
projectId
,
batchId
:
this
.
checkedList
[
0
].
batchId
projectId
:
this
.
checkedList
[
0
].
projectId
,
batchId
:
this
.
checkedList
[
0
].
batchId
,
};
this
.
$router
.
push
({
path
:
"/mainLayout/Compliancefz"
,
query
:{
"clqparams"
:
JSON
.
stringify
(
params
),
"ishow"
:
false
}
query
:
{
clqparams
:
JSON
.
stringify
(
params
),
ishow
:
false
,
}
,
});
},
//提交问题清单
...
...
@@ -299,50 +320,48 @@ export default {
}
// if(this.checkedList[0].postEvalState=='待评估'){
// this.$message("该项目还未评估");
// return;
// return;
// }
if
(
this
.
checkedList
[
0
].
postEvalState
==
'已提交'
)
{
if
(
this
.
checkedList
[
0
].
postEvalState
==
"已提交"
)
{
this
.
$message
(
"该项目已提交"
);
return
;
}
console
.
log
(
"222"
);
// this.dialog = true;
let
params
=
{
projectId
:
this
.
checkedList
[
0
].
projectId
,
batchId
:
this
.
checkedList
[
0
].
batchId
projectId
:
this
.
checkedList
[
0
].
projectId
,
batchId
:
this
.
checkedList
[
0
].
batchId
,
};
this
.
$router
.
push
({
path
:
"/mainLayout/Compliancefz"
,
query
:{
"clqparams"
:
JSON
.
stringify
(
params
)
}
query
:
{
clqparams
:
JSON
.
stringify
(
params
),
}
,
});
},
//撤销
async
withdraw
(){
if
(
this
.
checkedList
.
length
!=
1
)
{
async
withdraw
()
{
if
(
this
.
checkedList
.
length
!=
1
)
{
this
.
$message
(
"请选择"
);
return
;
}
if
(
this
.
checkedList
[
0
].
postEvalState
!=
'已提交'
)
{
if
(
this
.
checkedList
[
0
].
postEvalState
!=
"已提交"
)
{
this
.
$message
(
"该项目还未提交"
);
return
;
}
console
.
log
(
"222"
);
let
params
=
{
current
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
projectId
:
this
.
checkedList
[
0
].
projectId
,
batchId
:
this
.
checkedList
[
0
].
batchId
projectId
:
this
.
checkedList
[
0
].
projectId
,
batchId
:
this
.
checkedList
[
0
].
batchId
,
};
let
res
=
await
chpostEvalQuesInfo
(
params
)
if
(
res
.
code
==
200
)
{
this
.
resetForm
()
let
res
=
await
chpostEvalQuesInfo
(
params
);
if
(
res
.
code
==
200
)
{
this
.
resetForm
()
;
}
},
//表格颜色
tableRowClassName
({
row
,
rowIndex
})
{
...
...
@@ -364,12 +383,12 @@ export default {
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
this
.
pageSize
=
val
;
this
.
submitForm
()
this
.
submitForm
()
;
},
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
this
.
currentPage
=
val
;
this
.
submitForm
()
this
.
submitForm
()
;
},
cancel
()
{
this
.
dialog
=
false
;
...
...
@@ -407,7 +426,7 @@ export default {
border-right
:
1px
solid
#dee5e7
;
border-bottom
:
1px
solid
#dee5e7
;
padding
:
20px
10px
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
.fromItem
{
min-width
:
24%
;
margin
:
0
0.5%
;
...
...
@@ -459,7 +478,7 @@ export default {
//
color
:
#2785e6
;
}
.elpagination
{
text-align
:
right
;
text-align
:
center
;
margin-right
:
100px
;
}
/
deep
/
.el-dialog
{
...
...
src/views/assessChecks/checkComplianceFZ.vue
View file @
7adb373
...
...
@@ -311,7 +311,7 @@ export default {
//
color
:
#2785e6
;
}
.elpagination
{
text-align
:
right
;
text-align
:
center
;
margin-right
:
100px
;
}
/
deep
/
.el-table
{
...
...
src/views/assessChecks/correctiveAssistanceVerification.vue
View file @
7adb373
...
...
@@ -906,7 +906,7 @@ export default {
//
color
:
#2785e6
;
}
.elpagination
{
text-align
:
right
;
text-align
:
center
;
margin-right
:
100px
;
}
/
deep
/
.el-dialog
{
...
...
src/views/assessChecks/materialAcquisition.vue
View file @
7adb373
...
...
@@ -686,7 +686,7 @@ export default {
//
color
:
#2785e6
;
}
.elpagination
{
text-align
:
right
;
text-align
:
center
;
margin-right
:
100px
;
}
/
deep
/
.el-dialog
{
...
...
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