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 0816a063
authored
May 22, 2024
by
liangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
暂存
1 parent
74f80fdc
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
3106 additions
and
2678 deletions
src/api/index.js
src/router/index.js
src/utils/cache.js
src/views/checkCompliance/automaticCheck.vue
src/views/compliance/taskConfigure.vue
src/views/layout/leftBar.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
src/api/index.js
View file @
0816a06
...
@@ -283,11 +283,84 @@ export function auditTasks(params) {
...
@@ -283,11 +283,84 @@ export function auditTasks(params) {
export
function
addauditTasks
(
params
)
{
export
function
addauditTasks
(
params
)
{
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasks/ad`
,
params
)
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasks/ad`
,
params
)
}
}
//
详情
//
查询关联规则
export
function
selRuleProject
(
params
)
{
export
function
selRuleProject
(
params
)
{
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasks/selRuleProject`
,
params
)
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasks/selRule`
,
params
)
}
//查询关联项目
export
function
selProject
(
params
)
{
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasks/selProject`
,
params
)
}
}
//删除
//删除
export
function
delAuditTasks
(
params
){
export
function
delAuditTasks
(
params
){
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasks/delAuditTasks`
,
params
)
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasks/delAuditTasks`
,
params
)
}
//编辑
export
function
upauditTasks
(
params
)
{
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasks/up`
,
params
)
}
//删除规则
export
function
delRule
(
params
){
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasks/delRule`
,
params
)
}
//删除项目
export
function
delProject
(
params
){
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasks/delProject`
,
params
)
}
//合规检查结果
//分页
export
function
auditTasksResults
(
params
){
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasksResults/`
,
params
)
}
//详情
export
function
xqauditTasksResults
(
params
){
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasksResults/xq`
,
params
)
}
//删除
export
function
scauditTasksResults
(
params
){
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasksResults/sc`
,
params
)
}
//确认
export
function
jgxqResults
(
params
){
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasksResults/jgxq`
,
params
)
}
//下发
export
function
wtxfResults
(
params
){
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasksResults/wtxf`
,
params
)
}
//合规问题整改
//分页
export
function
auditTasksRuleProjectLink
(
params
){
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasksRuleProjectLink/`
,
params
)
}
//详情
export
function
xqRuleProjectLink
(
params
){
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasksRuleProjectLink/xq`
,
params
)
}
//整改
export
function
savaauditRuleProjectLink
(
params
){
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasksRuleProjectLink/sava`
,
params
)
}
//提交
export
function
tjTasksRuleProjectLink
(
params
){
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasksRuleProjectLink/tj`
,
params
)
}
////合规问题整改核验
//分页
export
function
auditTasksRuleProjectLinkZg
(
params
){
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasksRuleProjectLinkZg/`
,
params
)
}
//详情
export
function
zgxqRuleProjectLink
(
params
){
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasksRuleProjectLinkZg/zgxq`
,
params
)
}
//整改
export
function
savaRuleProjectLink
(
params
){
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasksRuleProjectLinkZg/sava`
,
params
)
}
//提交
export
function
tjRuleProjectLink
(
params
){
return
post
(
`
${
ARCH_EVALUATION
}
/auditTasksRuleProjectLinkZg/tj`
,
params
)
}
}
\ No newline at end of file
src/router/index.js
View file @
0816a06
...
@@ -173,9 +173,16 @@ export const routes = [
...
@@ -173,9 +173,16 @@ export const routes = [
name
:
'/projectCheck/verificationRectify'
,
name
:
'/projectCheck/verificationRectify'
,
component
:
()
=>
import
(
'@/views/projectCheck/verificationRectify.vue'
),
component
:
()
=>
import
(
'@/views/projectCheck/verificationRectify.vue'
),
},
},
{
path
:
'/checkCompliance/automaticCheck'
,
name
:
'/checkCompliance/automaticCheck'
,
component
:
()
=>
import
(
'@/views/checkCompliance/automaticCheck.vue'
),
},
]
]
},
},
{
{
path
:
'/analysisCore'
,
path
:
'/analysisCore'
,
...
...
src/utils/cache.js
View file @
0816a06
...
@@ -4,6 +4,7 @@ export function MaterialsList(){
...
@@ -4,6 +4,7 @@ export function MaterialsList(){
{
batchtype
:
"可研"
,
typeText
:
"可研评审意见"
,
typeCode
:
"1"
},
{
batchtype
:
"可研"
,
typeText
:
"可研评审意见"
,
typeCode
:
"1"
},
{
batchtype
:
"可研"
,
typeText
:
"可研批复"
,
typeCode
:
"2"
},
{
batchtype
:
"可研"
,
typeText
:
"可研批复"
,
typeCode
:
"2"
},
{
batchtype
:
"可研"
,
typeText
:
"可研变更、论证、批复文件(若有)"
,
typeCode
:
"3"
},
{
batchtype
:
"可研"
,
typeText
:
"可研变更、论证、批复文件(若有)"
,
typeCode
:
"3"
},
{
batchtype
:
"可研"
,
typeText
:
"业务需求报告"
,
typeCode
:
"99"
},
{
batchtype
:
"计划"
,
typeText
:
"公司下达计划信息"
,
typeCode
:
"4"
},
{
batchtype
:
"计划"
,
typeText
:
"公司下达计划信息"
,
typeCode
:
"4"
},
{
batchtype
:
"采购"
,
typeText
:
"中标(成交)通知书"
,
typeCode
:
"5"
},
{
batchtype
:
"采购"
,
typeText
:
"中标(成交)通知书"
,
typeCode
:
"5"
},
{
batchtype
:
"采购"
,
typeText
:
"审批单、签报、呈报件等采购资料"
,
typeCode
:
"6"
},
{
batchtype
:
"采购"
,
typeText
:
"审批单、签报、呈报件等采购资料"
,
typeCode
:
"6"
},
...
...
src/views/checkCompliance/automaticCheck.vue
0 → 100644
View file @
0816a06
File mode changed
src/views/compliance/taskConfigure.vue
View file @
0816a06
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
>
>
</el-date-picker>
</el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
label=
"
auditFrequency:"
prop=
"batchYear
"
class=
"fromItem"
>
<el-form-item
label=
"
稽核频率:"
prop=
"auditFrequency
"
class=
"fromItem"
>
<el-select
<el-select
v-model=
"ruleForm.auditFrequency"
v-model=
"ruleForm.auditFrequency"
placeholder=
"请选择"
placeholder=
"请选择"
...
@@ -172,7 +172,6 @@
...
@@ -172,7 +172,6 @@
<div
class=
"setscrolldialogAdd"
>
<div
class=
"setscrolldialogAdd"
>
<el-table
<el-table
@
selection-change=
"handleSelectionChangeZJ"
@
selection-change=
"handleSelectionChangeZJ"
ref=
"multipleTableZJ"
:data=
"
:data=
"
addtableData.slice(
addtableData.slice(
(addcurrentPage - 1) * pageSizeAdd,
(addcurrentPage - 1) * pageSizeAdd,
...
@@ -222,6 +221,18 @@
...
@@ -222,6 +221,18 @@
<el-table-column
prop=
"creator"
label=
"创建人"
>
</el-table-column>
<el-table-column
prop=
"creator"
label=
"创建人"
>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建时间"
>
<el-table-column
prop=
"createTime"
label=
"创建时间"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
width=
"130"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"
handleClickADGZ(scope.row, scope.$index, addtableDataXM)
"
type=
"text"
size=
"small"
>
删除
</el-button
>
</
template
>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
<el-pagination
<el-pagination
...
@@ -239,9 +250,8 @@
...
@@ -239,9 +250,8 @@
待稽核项目
<span
@
click=
"checkXM()"
>
选择待稽核项目
</span>
待稽核项目
<span
@
click=
"checkXM()"
>
选择待稽核项目
</span>
</p>
</p>
<div
class=
"setscrolldialogAdd"
>
<div
class=
"setscrolldialogAdd"
>
<el-table
<el-table
:data=
"
:data=
"
addtableDataXM.slice(
addtableDataXM.slice(
(addcurrentPageXM - 1) * pageSizeAddXM,
(addcurrentPageXM - 1) * pageSizeAddXM,
addcurrentPageXM * pageSizeAddXM
addcurrentPageXM * pageSizeAddXM
...
@@ -254,27 +264,50 @@
...
@@ -254,27 +264,50 @@
: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
label=
"项目编码"
width=
"auto"
prop=
"projectId"
>
<el-table-column
label=
"项目编码"
width=
"auto"
prop=
"projectId"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"projectYear"
label=
"项目下达年度"
width=
"auto"
>
<el-table-column
</el-table-column>
prop=
"projectYear"
<el-table-column
prop=
"projectName"
label=
"项目名称"
width=
"auto"
show-overflow-tooltip
>
label=
"项目下达年度"
</el-table-column>
width=
"auto"
<el-table-column
prop=
"projectCategory"
label=
"建设形式"
width=
"auto"
>
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"projectStatus"
label=
"项目建设阶段"
width=
"auto"
>
<el-table-column
</el-table-column>
prop=
"projectName"
<el-table-column
prop=
"department"
label=
"部门"
width=
"auto"
>
label=
"项目名称"
</el-table-column>
width=
"auto"
<el-table-column
label=
"操作"
width=
"130"
>
show-overflow-tooltip
<
template
slot-scope=
"scope"
>
>
<el-button
@
click=
"handleClickAD(scope.row,scope.$index,addtableDataXM)"
type=
"text"
size=
"small"
>
删除
</el-button>
</el-table-column>
<el-table-column
</
template
>
prop=
"projectCategory"
</el-table-column>
label=
"建设形式"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"projectStatus"
label=
"项目建设阶段"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"department"
label=
"部门"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"130"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"
handleClickAD(scope.row, scope.$index, addtableDataXM)
"
type=
"text"
size=
"small"
>
删除
</el-button
>
</
template
>
</el-table-column>
</el-table>
</el-table>
<el-pagination
<el-pagination
@
size-change=
"handleSizeChangeAddXM"
@
size-change=
"handleSizeChangeAddXM"
...
@@ -290,7 +323,7 @@
...
@@ -290,7 +323,7 @@
</div>
</div>
<p
class=
"midBtn"
>
<p
class=
"midBtn"
>
<span
@
click=
"cancelXZ()"
>
取消
</span
<span
@
click=
"cancelXZ()"
>
取消
</span
><span
@
click=
"saveXZ(
'add'
)"
>
保存
</span>
><span
@
click=
"saveXZ()"
>
保存
</span>
</p>
</p>
</div>
</div>
</el-dialog>
</el-dialog>
...
@@ -418,19 +451,25 @@
...
@@ -418,19 +451,25 @@
</div>
</div>
</el-dialog>
</el-dialog>
<!-- 选择项目 -->
<!-- 选择项目 -->
<el-dialog
<el-dialog
title=
"选择待评估项目"
title=
"选择待评估项目"
:visible
.
sync=
"dialogAddzj"
:visible
.
sync=
"dialogAddzj"
width=
"90%"
width=
"90%"
:modal-append-to-body=
"false"
:modal-append-to-body=
"false"
:append-to-body=
"false"
:append-to-body=
"false"
>
>
<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
<el-form-item
label=
"项目下达年度:"
prop=
"projectYear"
class=
"fromItem"
>
label=
"项目下达年度:"
<el-select
v-model=
"ruleFormZJ.projectYear"
placeholder=
"请选择"
clearable
>
prop=
"projectYear"
class=
"fromItem"
>
<el-select
v-model=
"ruleFormZJ.projectYear"
placeholder=
"请选择"
clearable
>
<el-option
label=
"2024年"
value=
"2024"
></el-option>
<el-option
label=
"2024年"
value=
"2024"
></el-option>
<el-option
label=
"2023年"
value=
"2023"
></el-option>
<el-option
label=
"2023年"
value=
"2023"
></el-option>
<el-option
label=
"2022年"
value=
"2022"
></el-option>
<el-option
label=
"2022年"
value=
"2022"
></el-option>
...
@@ -444,7 +483,7 @@
...
@@ -444,7 +483,7 @@
clearable
clearable
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"项目名称:"
prop=
"projectName"
class=
"fromItem"
>
<el-form-item
label=
"项目名称:"
prop=
"projectName"
class=
"fromItem"
>
<el-input
<el-input
v-model=
"ruleFormZJ.projectName"
v-model=
"ruleFormZJ.projectName"
placeholder=
"请输入"
placeholder=
"请输入"
...
@@ -458,8 +497,16 @@
...
@@ -458,8 +497,16 @@
clearable
clearable
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"建设形式:"
prop=
"projectCategory"
class=
"fromItem"
>
<el-form-item
<el-select
v-model=
"ruleFormZJ.projectCategory"
placeholder=
"请选择"
clearable
>
label=
"建设形式:"
prop=
"projectCategory"
class=
"fromItem"
>
<el-select
v-model=
"ruleFormZJ.projectCategory"
placeholder=
"请选择"
clearable
>
<el-option
label=
"2024年"
value=
"2024"
></el-option>
<el-option
label=
"2024年"
value=
"2024"
></el-option>
<el-option
label=
"2023年"
value=
"2023"
></el-option>
<el-option
label=
"2023年"
value=
"2023"
></el-option>
<el-option
label=
"2022年"
value=
"2022"
></el-option>
<el-option
label=
"2022年"
value=
"2022"
></el-option>
...
@@ -467,7 +514,11 @@
...
@@ -467,7 +514,11 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"部门:"
prop=
"department"
class=
"fromItem"
>
<el-form-item
label=
"部门:"
prop=
"department"
class=
"fromItem"
>
<el-select
v-model=
"ruleFormZJ.department"
placeholder=
"请选择"
clearable
>
<el-select
v-model=
"ruleFormZJ.department"
placeholder=
"请选择"
clearable
>
<el-option
label=
"2024年"
value=
"2024"
></el-option>
<el-option
label=
"2024年"
value=
"2024"
></el-option>
<el-option
label=
"2023年"
value=
"2023"
></el-option>
<el-option
label=
"2023年"
value=
"2023"
></el-option>
<el-option
label=
"2022年"
value=
"2022"
></el-option>
<el-option
label=
"2022年"
value=
"2022"
></el-option>
...
@@ -480,58 +531,95 @@
...
@@ -480,58 +531,95 @@
</el-form>
</el-form>
<div
class=
"setscrolldialogx"
>
<div
class=
"setscrolldialogx"
>
<el-table
<el-table
@
selection-change=
"handleSelectionChangeXM"
@
selection-change=
"handleSelectionChangeXM"
ref=
"multipleTableXM"
ref=
"multipleTableXM"
:data=
"zjtableData"
:data=
"zjtableData"
tooltip-effect=
"dark"
tooltip-effect=
"dark"
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
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
label=
"项目编码"
width=
"200"
prop=
"projectId"
>
<el-table-column
label=
"项目编码"
width=
"200"
prop=
"projectId"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"projectYear"
label=
"项目下达年度"
width=
"200"
>
<el-table-column
</el-table-column>
prop=
"projectYear"
<el-table-column
prop=
"projectName"
label=
"项目名称"
width=
"auto"
show-overflow-tooltip
>
label=
"项目下达年度"
</el-table-column>
width=
"200"
<el-table-column
prop=
"projectCategory"
label=
"建设形式"
width=
"200"
>
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"projectStatus"
label=
"项目建设阶段"
width=
"200"
>
<el-table-column
</el-table-column>
prop=
"projectName"
<el-table-column
label=
"总投资计划(万元)"
width=
"300"
>
label=
"项目名称"
<el-table-column
prop=
" costAmountTotal"
label=
"成本金"
width=
"auto"
>
width=
"auto"
</el-table-column>
show-overflow-tooltip
<el-table-column
prop=
"capitalAmountTotal"
label=
"资本金"
width=
"auto"
>
>
</el-table-column>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"当年投资计划(万元)"
width=
"300"
>
prop=
"projectCategory"
<el-table-column
prop=
"costAmountCurrentMfdel"
label=
"成本金"
width=
"auto"
>
label=
"建设形式"
</el-table-column>
width=
"200"
<el-table-column
prop=
"capitalAmountCurrentMfdel"
label=
"资本金"
width=
"200"
>
>
</el-table-column>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"projectStatus"
<el-table-column
prop=
"department"
label=
"部门"
width=
"200"
>
label=
"项目建设阶段"
</el-table-column>
width=
"200"
<el-table-column
prop=
"department"
label=
"承建单位"
width=
"200"
>
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"personCharge"
label=
"项目经理"
width=
"200"
>
<el-table-column
label=
"总投资计划(万元)"
width=
"300"
>
</el-table-column>
<el-table-column
<el-table-column
prop=
"projectInfo"
label=
"项目内容"
show-overflow-tooltip
>
prop=
" costAmountTotal"
</el-table-column>
label=
"成本金"
<el-table-column
prop=
"inputuser"
label=
"创建人"
width=
"200"
>
width=
"auto"
</el-table-column>
>
<el-table-column
prop=
"inputtime"
label=
"创建时间"
width=
"200"
>
</el-table-column>
</el-table-column>
<el-table-column
</el-table>
prop=
"capitalAmountTotal"
label=
"资本金"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"当年投资计划(万元)"
width=
"300"
>
<el-table-column
prop=
"costAmountCurrentMfdel"
label=
"成本金"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"capitalAmountCurrentMfdel"
label=
"资本金"
width=
"200"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"department"
label=
"部门"
width=
"200"
>
</el-table-column>
<el-table-column
prop=
"department"
label=
"承建单位"
width=
"200"
>
</el-table-column>
<el-table-column
prop=
"personCharge"
label=
"项目经理"
width=
"200"
>
</el-table-column>
<el-table-column
prop=
"projectInfo"
label=
"项目内容"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"inputuser"
label=
"创建人"
width=
"200"
>
</el-table-column>
<el-table-column
prop=
"inputtime"
label=
"创建时间"
width=
"200"
>
</el-table-column>
</el-table>
</div>
</div>
<el-pagination
<el-pagination
@
size-change=
"handleSizeChangeZJ"
@
size-change=
"handleSizeChangeZJ"
@
current-change=
"handleCurrentChangeZJ"
@
current-change=
"handleCurrentChangeZJ"
...
@@ -552,7 +640,7 @@
...
@@ -552,7 +640,7 @@
</el-dialog>
</el-dialog>
<!-- 详情弹窗 -->
<!-- 详情弹窗 -->
<el-dialog
<el-dialog
title=
"
新增
自动稽核任务"
title=
"自动稽核任务"
:visible
.
sync=
"dialogXQ"
:visible
.
sync=
"dialogXQ"
width=
"90%"
width=
"90%"
:modal-append-to-body=
"false"
:modal-append-to-body=
"false"
...
@@ -564,18 +652,14 @@
...
@@ -564,18 +652,14 @@
:model=
"ruleFormdialogXQ"
:model=
"ruleFormdialogXQ"
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=
"ruleFormdialogXQ.auditName"
disabled
></el-input>
v-model=
"ruleFormdialogAdd.auditName"
disabled
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"稽核时间:"
class=
"fromItem"
prop=
"dates"
>
<el-form-item
label=
"稽核时间:"
class=
"fromItem"
prop=
"dates"
>
<el-date-picker
<el-date-picker
@
change=
"timeChange"
@
change=
"timeChange"
v-model=
"ruleFormdialog
Add
.dates"
v-model=
"ruleFormdialog
XQ
.dates"
style=
"width: 240px"
style=
"width: 240px"
value-format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
type=
"daterange"
type=
"daterange"
...
@@ -591,7 +675,7 @@
...
@@ -591,7 +675,7 @@
class=
"fromItem"
class=
"fromItem"
>
>
<el-select
<el-select
v-model=
"ruleFormdialog
Add
.auditFrequency"
v-model=
"ruleFormdialog
XQ
.auditFrequency"
placeholder=
"请选择"
placeholder=
"请选择"
disabled
disabled
>
>
...
@@ -603,9 +687,7 @@
...
@@ -603,9 +687,7 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<p
class=
"zjBtn"
>
<p
class=
"zjBtn"
>
稽核规则
</p>
稽核规则
</p>
<div
class=
"setscrolldialogAdd"
>
<div
class=
"setscrolldialogAdd"
>
<el-table
<el-table
:data=
"XQtableData"
:data=
"XQtableData"
...
@@ -656,7 +738,7 @@
...
@@ -656,7 +738,7 @@
</div>
</div>
<el-pagination
<el-pagination
@
size-change=
"handleSizeChangeXQ"
@
size-change=
"handleSizeChangeXQ"
@
current-change=
"handleCurrentChange
A
XQ"
@
current-change=
"handleCurrentChangeXQ"
:current-page=
"XQcurrentPage"
:current-page=
"XQcurrentPage"
:page-sizes=
"[5, 10, 20, 50]"
:page-sizes=
"[5, 10, 20, 50]"
:page-size=
"100"
:page-size=
"100"
...
@@ -665,13 +747,212 @@
...
@@ -665,13 +747,212 @@
class=
"elpagination"
class=
"elpagination"
>
>
</el-pagination>
</el-pagination>
<p
class=
"zjBtn"
>
待稽核项目
</p>
<div
class=
"setscrolldialogAdd"
>
<el-table
:data=
"XQtableDataXM"
tooltip-effect=
"dark"
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
label=
"项目编码"
width=
"auto"
prop=
"projectId"
>
</el-table-column>
<el-table-column
prop=
"projectYear"
label=
"项目下达年度"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"projectName"
label=
"项目名称"
width=
"auto"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"projectCategory"
label=
"建设形式"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"projectStatus"
label=
"项目建设阶段"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"department"
label=
"部门"
width=
"auto"
>
</el-table-column>
</el-table>
<el-pagination
@
size-change=
"handleSizeChangeXQXM"
@
current-change=
"handleCurrentChangeXQXM"
:current-page=
"XQcurrentPageXM"
:page-sizes=
"[5, 10, 20, 50]"
:page-size=
"100"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"totalXQXM"
class=
"elpagination"
>
</el-pagination>
</div>
<p
class=
"midBtn"
>
<span
@
click=
"cancelXQ()"
>
取消
</span
><span
@
click=
"saveXZ()"
v-show=
"false"
>
保存
</span>
</p>
</div>
</el-dialog>
<!-- 编辑弹窗 -->
<el-dialog
title=
"编辑自动稽核任务"
:visible
.
sync=
"dialogBJ"
width=
"90%"
:modal-append-to-body=
"false"
:append-to-body=
"false"
>
<div
class=
"dialog"
>
<el-form
ref=
"formNameBJ"
:model=
"ruleFormdialogBJ"
label-width=
"100px"
class=
"demo-ruleForm"
:rules=
"rulesBJ"
>
<el-form-item
label=
"稽核名称:"
prop=
"auditName"
class=
"fromItem"
>
<el-input
v-model=
"ruleFormdialogBJ.auditName"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"稽核时间:"
class=
"fromItem"
prop=
"dates"
>
<el-date-picker
@
change=
"timeChange"
v-model=
"ruleFormdialogBJ.dates"
style=
"width: 240px"
value-format=
"yyyy-MM-dd"
type=
"daterange"
range-separator=
"-"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
</el-form-item>
<el-form-item
label=
"稽核频率:"
prop=
"auditFrequency"
class=
"fromItem"
>
<el-select
v-model=
"ruleFormdialogBJ.auditFrequency"
placeholder=
"请选择"
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=
"4"
></el-option>
</el-select>
</el-form-item>
</el-form>
<p
class=
"zjBtn"
>
<p
class=
"zjBtn"
>
待稽核项目
稽核规则
<span
@
click=
"checkRules()"
>
选择稽核规则
</span>
</p>
<div
class=
"setscrolldialogAdd"
>
<el-table
@
selection-change=
"handleSelectionChangeZJ"
:data=
"
addtableData.slice(
(addcurrentPage - 1) * pageSizeAdd,
addcurrentPage * pageSizeAdd
)
"
tooltip-effect=
"dark"
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=
"ruleName"
>
</el-table-column>
<el-table-column
prop=
"ruleType"
label=
"规则类型"
>
</el-table-column>
<el-table-column
prop=
"ruleStatus"
label=
"规则状态"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-switch
v-model=
"scope.row.ruleStatus"
active-color=
"#13ce66"
inactive-color=
"#C0C0C0"
active-value=
"0"
inactive-value=
"1"
active-text=
""
inactive-text=
""
disabled
>
<template
v-slot:active
>
<span>
开启
</span>
</
template
>
<
template
v-slot:inactive
>
<span>
关闭
</span>
</
template
>
</el-switch>
</template>
</el-table-column>
<el-table-column
prop=
"creator"
label=
"创建人"
>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建时间"
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"130"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"
handleClickBJ(scope.row, scope.$index, addtableData)
"
type=
"text"
size=
"small"
>
删除
</el-button
>
</
template
>
</el-table-column>
</el-table>
</div>
<el-pagination
@
size-change=
"handleSizeChangeAdd"
@
current-change=
"handleCurrentChangeAdd"
:current-page=
"addcurrentPage"
:page-sizes=
"[5, 10, 20, 50]"
:page-size=
"100"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"addtotal"
class=
"elpagination"
>
</el-pagination>
<p
class=
"zjBtn"
>
待稽核项目
<span
@
click=
"checkXM()"
>
选择待稽核项目
</span>
</p>
</p>
<div
class=
"setscrolldialogAdd"
>
<div
class=
"setscrolldialogAdd"
>
<el-table
<el-table
:data=
"XQtableDataXM"
:data=
"
addtableDataXM.slice(
(addcurrentPageXM - 1) * pageSizeAddXM,
addcurrentPageXM * pageSizeAddXM
)
"
tooltip-effect=
"dark"
tooltip-effect=
"dark"
style=
"width: 100%"
style=
"width: 100%"
header-cell-class-name=
"custom-th-background"
header-cell-class-name=
"custom-th-background"
...
@@ -679,27 +960,50 @@
...
@@ -679,27 +960,50 @@
: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
label=
"项目编码"
width=
"auto"
prop=
"projectId"
>
<el-table-column
label=
"项目编码"
width=
"auto"
prop=
"projectId"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"projectYear"
label=
"项目下达年度"
width=
"auto"
>
<el-table-column
</el-table-column>
prop=
"projectYear"
<el-table-column
prop=
"projectName"
label=
"项目名称"
width=
"auto"
show-overflow-tooltip
>
label=
"项目下达年度"
</el-table-column>
width=
"auto"
<el-table-column
prop=
"projectCategory"
label=
"建设形式"
width=
"auto"
>
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"projectStatus"
label=
"项目建设阶段"
width=
"auto"
>
<el-table-column
</el-table-column>
prop=
"projectName"
<el-table-column
prop=
"department"
label=
"部门"
width=
"auto"
>
label=
"项目名称"
</el-table-column>
width=
"auto"
<el-table-column
label=
"操作"
width=
"130"
>
show-overflow-tooltip
<
template
slot-scope=
"scope"
>
>
<el-button
@
click=
"handleClickAD(scope.row,scope.$index,addtableDataXM)"
type=
"text"
size=
"small"
>
删除
</el-button>
</el-table-column>
<el-table-column
</
template
>
prop=
"projectCategory"
</el-table-column>
label=
"建设形式"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"projectStatus"
label=
"项目建设阶段"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"department"
label=
"部门"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"130"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"
handleClickbjxm(scope.row, scope.$index, addtableDataXM)
"
type=
"text"
size=
"small"
>
删除
</el-button
>
</
template
>
</el-table-column>
</el-table>
</el-table>
<el-pagination
<el-pagination
@
size-change=
"handleSizeChangeAddXM"
@
size-change=
"handleSizeChangeAddXM"
...
@@ -714,22 +1018,31 @@
...
@@ -714,22 +1018,31 @@
</el-pagination>
</el-pagination>
</div>
</div>
<p
class=
"midBtn"
>
<p
class=
"midBtn"
>
<span
@
click=
"cancel
XQ
()"
>
取消
</span
<span
@
click=
"cancel
BJ
()"
>
取消
</span
><span
@
click=
"save
XZ('add')"
v-show=
"false
"
>
保存
</span>
><span
@
click=
"save
BJ()
"
>
保存
</span>
</p>
</p>
</div>
</div>
</el-dialog>
</el-dialog>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
getCurrentDate
}
from
'@/utils/format'
import
{
getCurrentDate
}
from
"@/utils/format"
;
import
{
MaterialsList
}
from
"@/utils/cache"
;
import
{
MaterialsList
}
from
"@/utils/cache"
;
import
{
auditTasks
,
ruleFormulation
,
getProjectInfo
,
addauditTasks
,
selRuleProject
,
delAuditTasks
}
from
"@/api/index"
;
import
{
auditTasks
,
ruleFormulation
,
getProjectInfo
,
addauditTasks
,
selRuleProject
,
delAuditTasks
,
selProject
,
upauditTasks
,
delProject
,
delRule
}
from
"@/api/index"
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
listData
:
{},
listData
:
{},
qdtableData
:
JSON
.
parse
(
JSON
.
stringify
(
MaterialsList
())),
qdtableData
:
JSON
.
parse
(
JSON
.
stringify
(
MaterialsList
())),
tableDataNew
:
MaterialsList
(),
tableDataNew
:
MaterialsList
(),
...
@@ -761,11 +1074,17 @@ export default {
...
@@ -761,11 +1074,17 @@ export default {
activeName
:
"first"
,
activeName
:
"first"
,
mergingRows
:
[],
mergingRows
:
[],
lctableData
:
[],
lctableData
:
[],
dialogBJ
:
false
,
ruleFormdialogBJ
:
{
auditName
:
""
,
dates
:
[],
auditFrequency
:
""
,
},
dialogAdd
:
false
,
dialogAdd
:
false
,
ruleFormdialogAdd
:
{
ruleFormdialogAdd
:
{
auditName
:
""
,
auditName
:
""
,
dates
:[],
dates
:
[],
auditFrequency
:
""
,
auditFrequency
:
""
,
},
},
rules
:
{
rules
:
{
...
@@ -784,16 +1103,16 @@ export default {
...
@@ -784,16 +1103,16 @@ export default {
},
},
],
],
dates
:
[
dates
:
[
{
{
type
:
'array'
,
type
:
"array"
,
required
:
true
,
required
:
true
,
message
:
'请输入时间'
,
message
:
"请输入时间"
,
fields
:
{
fields
:
{
0
:
{
type
:
'string'
,
required
:
true
,
message
:
'请选择开始日期'
},
0
:
{
type
:
"string"
,
required
:
true
,
message
:
"请选择开始日期"
},
1
:
{
type
:
'string'
,
required
:
true
,
message
:
'请选择结束日期'
}
1
:
{
type
:
"string"
,
required
:
true
,
message
:
"请选择结束日期"
},
}
},
}
},
],
],
// auditStartTime: [
// auditStartTime: [
// {
// {
// required: true,
// required: true,
...
@@ -808,7 +1127,33 @@ export default {
...
@@ -808,7 +1127,33 @@ export default {
// trigger: "change",
// trigger: "change",
// },
// },
// ],
// ],
},
rulesBJ
:
{
auditName
:
[
{
required
:
true
,
message
:
"请输入稽核名称"
,
trigger
:
"change"
,
},
],
auditFrequency
:
[
{
required
:
true
,
message
:
"请选择稽核频率"
,
trigger
:
"change"
,
},
],
dates
:
[
{
type
:
"array"
,
required
:
true
,
message
:
"请输入时间"
,
fields
:
{
0
:
{
type
:
"string"
,
required
:
true
,
message
:
"请选择开始日期"
},
1
:
{
type
:
"string"
,
required
:
true
,
message
:
"请选择结束日期"
},
},
},
],
},
},
addtableData
:
[],
addtableData
:
[],
currentPageRule
:
1
,
currentPageRule
:
1
,
...
@@ -826,37 +1171,36 @@ export default {
...
@@ -826,37 +1171,36 @@ export default {
pageSizeAddXM
:
5
,
pageSizeAddXM
:
5
,
addtotalXM
:
0
,
addtotalXM
:
0
,
dialogAddzj
:
false
,
dialogAddzj
:
false
,
ruleFormZJ
:{
ruleFormZJ
:
{},
zjtableData
:
[],
},
pageSizeZJ
:
5
,
zjtableData
:[],
pageSizeZJ
:
5
,
currentZJ
:
1
,
currentZJ
:
1
,
zjtotal
:
0
,
zjtotal
:
0
,
addZJListXM
:[],
addZJListXM
:
[],
oldid
:
''
,
//已经选中的
oldid
:
""
,
//已经选中的
dialogXQ
:
false
,
//详情
dialogXQ
:
false
,
//详情
ruleFormdialogXQ
:{},
ruleFormdialogXQ
:
{},
XQtableData
:[],
XQtableData
:
[],
XQtableDataXM
:[],
XQtableDataXM
:
[],
XQtotal
:
0
,
XQtotal
:
0
,
pageSizeXQ
:
5
,
pageSizeXQ
:
5
,
XQcurrentPage
:
1
,
XQcurrentPage
:
1
,
pageSizeXQXM
:
5
,
XQcurrentPageXM
:
1
,
totalXQXM
:
0
,
};
};
},
},
mounted
()
{
mounted
()
{
this
.
submitForm
();
this
.
submitForm
();
},
},
methods
:
{
methods
:
{
timeChange
(
time
)
{
timeChange
(
time
){
if
(
time
)
{
if
(
time
){
//给后端的参数
//给后端的参数
this
.
ruleFormdialogAdd
.
auditStartTime
=
time
[
0
];
this
.
ruleFormdialogAdd
.
auditStartTime
=
time
[
0
]
this
.
ruleFormdialogAdd
.
auditEndTime
=
time
[
1
];
this
.
ruleFormdialogAdd
.
auditEndTime
=
time
[
1
]
}
}
},
},
async
submitForm
()
{
async
submitForm
()
{
let
params
=
{
let
params
=
{
current
:
this
.
currentPage
,
current
:
this
.
currentPage
,
...
@@ -896,21 +1240,33 @@ timeChange(time){
...
@@ -896,21 +1240,33 @@ timeChange(time){
this
.
$message
(
"请选择"
);
this
.
$message
(
"请选择"
);
return
;
return
;
}
}
console
.
log
(
this
.
checkedList
[
0
],
"checkedList[0]"
);
this
.
ruleFormdialogXQ
=
this
.
checkedList
[
0
];
this
.
ruleFormdialogXQ
.
dates
=
[
this
.
checkedList
[
0
].
auditStartTime
,
this
.
checkedList
[
0
].
auditEndTime
,
];
this
.
dialog
=
true
;
this
.
dialog
=
true
;
let
params
=
{
let
params
=
{
auditId
:
this
.
checkedList
[
0
].
id
,
auditId
:
this
.
checkedList
[
0
].
id
,
current
:
this
.
XQcurrentPage
,
current
:
this
.
XQcurrentPage
,
pageSize
:
this
.
pageSizeXQ
,
pageSize
:
this
.
pageSizeXQ
,
};
};
let
res
=
await
selRuleProject
(
params
)
let
params2
=
{
this
.
dialogXQ
=
true
auditId
:
this
.
checkedList
[
0
].
id
,
this
.
XQtableData
=
res
.
data
.
rule
.
records
current
:
this
.
XQcurrentPageXM
,
this
.
XQtableDataXM
=
res
.
data
.
prj
.
records
pageSize
:
this
.
pageSizeXQXM
,
};
Promise
.
all
([
selRuleProject
(
params
),
selProject
(
params2
)]).
then
((
res
)
=>
{
this
.
XQtableData
=
res
[
0
].
data
.
records
;
this
.
XQtableDataXM
=
res
[
1
].
data
.
records
;
this
.
XQtotal
=
res
[
0
].
data
.
total
;
this
.
totalXQXM
=
res
[
1
].
data
.
total
;
this
.
dialogXQ
=
true
;
});
},
},
cancelXQ
(){
cancelXQ
()
{
this
.
dialogXQ
=
false
this
.
dialogXQ
=
false
;
},
},
//表格颜色
//表格颜色
...
@@ -994,12 +1350,17 @@ timeChange(time){
...
@@ -994,12 +1350,17 @@ timeChange(time){
},
},
//点击新增
//点击新增
async
add
()
{
async
add
()
{
this
.
dialogAdd
=
true
;
this
.
addtableData
=
[];
//每次新增清空不然点了还是这几个人
this
.
addtableData
=
[];
//每次新增清空不然点了还是这几个人
this
.
addtableDataXM
=
[];
this
.
addtotal
=
0
;
this
.
addtotalXM
=
0
;
this
.
dialogAdd
=
true
;
},
},
//选择规则
//选择规则
async
checkRules
()
{
async
checkRules
()
{
this
.
addZJList
=
[];
// this.addZJList =
[];
let
params
=
{
let
params
=
{
current
:
this
.
currentPageRule
,
current
:
this
.
currentPageRule
,
pageSize
:
this
.
pageSizeRule
,
pageSize
:
this
.
pageSizeRule
,
...
@@ -1020,7 +1381,7 @@ timeChange(time){
...
@@ -1020,7 +1381,7 @@ timeChange(time){
//规则选择
//规则选择
saveGZ
()
{
saveGZ
()
{
if
(
this
.
addZJList
.
length
<
1
)
{
if
(
this
.
addZJList
.
length
<
1
)
{
this
.
$message
(
"请选择
专家
"
);
this
.
$message
(
"请选择
规则
"
);
return
;
return
;
}
}
this
.
addtableData
=
[...
this
.
addtableData
,
...
this
.
addZJList
];
this
.
addtableData
=
[...
this
.
addtableData
,
...
this
.
addZJList
];
...
@@ -1033,7 +1394,7 @@ timeChange(time){
...
@@ -1033,7 +1394,7 @@ timeChange(time){
},
},
handleSizeChangeRule
()
{
handleSizeChangeRule
()
{
this
.
pageSizeRule
=
val
;
this
.
pageSizeRule
=
val
;
this
.
saveGZ
();
this
.
checkRules
()
},
},
handleSizeChangeAdd
(
val
)
{
handleSizeChangeAdd
(
val
)
{
this
.
pageSizeAdd
=
val
;
this
.
pageSizeAdd
=
val
;
...
@@ -1047,6 +1408,12 @@ timeChange(time){
...
@@ -1047,6 +1408,12 @@ timeChange(time){
handleCurrentChangeXQ
(
val
)
{
handleCurrentChangeXQ
(
val
)
{
this
.
XQcurrentPage
=
val
;
this
.
XQcurrentPage
=
val
;
},
},
handleSizeChangeXQXM
(
val
)
{
this
.
pageSizeXQXM
=
val
;
},
handleCurrentChangeXQXM
(
val
)
{
this
.
XQcurrentPageXM
=
val
;
},
handleSizeChangeAddXM
(
val
)
{
handleSizeChangeAddXM
(
val
)
{
this
.
pageSizeAddXM
=
val
;
this
.
pageSizeAddXM
=
val
;
},
},
...
@@ -1055,18 +1422,50 @@ timeChange(time){
...
@@ -1055,18 +1422,50 @@ timeChange(time){
},
},
handleCurrentChangeRule
()
{
handleCurrentChangeRule
()
{
this
.
currentPageRule
=
val
;
this
.
currentPageRule
=
val
;
this
.
saveGZ
();
this
.
checkRules
()
},
},
handleSelectionChangeZJ
()
{
handleSelectionChangeZJ
()
{
this
.
addZJList
=
this
.
$refs
.
multipleTableZJ
.
selection
;
this
.
addZJList
=
this
.
$refs
.
multipleTableZJ
.
selection
;
console
.
log
(
this
.
$refs
.
multipleTableZJ
.
selection
,
"2222"
);
},
},
handleSelectionChangeXM
()
{
handleSelectionChangeXM
()
{
this
.
addZJListXM
=
this
.
$refs
.
multipleTableXM
.
selection
;
this
.
addZJListXM
=
this
.
$refs
.
multipleTableXM
.
selection
;
},
},
//编辑
//编辑
edit
()
{},
edit
()
{
if
(
this
.
checkedList
.
length
!=
1
)
{
this
.
$message
(
"请选择"
);
return
;
}
this
.
ruleFormdialogBJ
=
this
.
checkedList
[
0
]
this
.
ruleFormdialogBJ
.
dates
=
[
this
.
checkedList
[
0
].
auditStartTime
,
this
.
checkedList
[
0
].
auditEndTime
,
];
let
params
=
{
auditId
:
this
.
checkedList
[
0
].
id
,
current
:
this
.
XQcurrentPage
,
pageSize
:
this
.
pageSizeXQ
,
};
let
params2
=
{
auditId
:
this
.
checkedList
[
0
].
id
,
current
:
this
.
XQcurrentPageXM
,
pageSize
:
this
.
pageSizeXQXM
,
};
Promise
.
all
([
selRuleProject
(
params
),
selProject
(
params2
)]).
then
((
res
)
=>
{
this
.
addtableData
=
res
[
0
].
data
.
records
;
this
.
addtableDataXM
=
res
[
1
].
data
.
records
;
this
.
addtotal
=
res
[
0
].
data
.
total
;
this
.
addtotalXM
=
res
[
1
].
data
.
total
;
this
.
dialogBJ
=
true
this
.
oldid
=
""
;
if
(
this
.
addtableDataXM
.
length
>
0
){
this
.
addtableDataXM
.
forEach
((
item
)
=>
{
this
.
oldid
=
this
.
oldid
.
concat
(
item
.
projectId
+
','
)
});
}
});
},
//删除
//删除
async
deletes
()
{
async
deletes
()
{
if
(
this
.
checkedList
.
length
!=
1
)
{
if
(
this
.
checkedList
.
length
!=
1
)
{
...
@@ -1074,24 +1473,22 @@ timeChange(time){
...
@@ -1074,24 +1473,22 @@ timeChange(time){
return
;
return
;
}
}
let
params
=
{
let
params
=
{
auditI
d
:
this
.
checkedList
[
0
].
id
,
i
d
:
this
.
checkedList
[
0
].
id
,
};
};
let
res
=
await
delAuditTasks
(
params
)
let
res
=
await
delAuditTasks
(
params
);
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
resetForm
()
this
.
resetForm
()
;
}
}
},
},
//选择项目
//选择项目
async
checkXM
(){
async
checkXM
()
{
this
.
dialogAddzj
=
true
;
this
.
dialogAddzj
=
true
;
this
.
addZJList
=
[];
// this.addZJList =
[];
let
params
=
{
let
params
=
{
current
:
this
.
currentZJ
,
current
:
this
.
currentZJ
,
pageSize
:
this
.
pageSizeZJ
,
pageSize
:
this
.
pageSizeZJ
,
prjStr
:
this
.
oldid
prjStr
:
this
.
oldid
,
};
};
Object
.
assign
(
params
,
this
.
ruleFormZJ
);
Object
.
assign
(
params
,
this
.
ruleFormZJ
);
let
res
=
await
getProjectInfo
(
params
);
let
res
=
await
getProjectInfo
(
params
);
...
@@ -1102,12 +1499,12 @@ timeChange(time){
...
@@ -1102,12 +1499,12 @@ timeChange(time){
handleSizeChangeZJ
(
val
)
{
handleSizeChangeZJ
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
console
.
log
(
`每页
${
val
}
条`
);
this
.
pageSizeZJ
=
val
;
this
.
pageSizeZJ
=
val
;
this
.
checkXM
()
this
.
checkXM
()
;
},
},
handleCurrentChangeZJ
(
val
)
{
handleCurrentChangeZJ
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
console
.
log
(
`当前页:
${
val
}
`
);
this
.
currentZJ
=
val
;
this
.
currentZJ
=
val
;
this
.
checkXM
()
this
.
checkXM
()
;
},
},
//选择项目
//选择项目
saveZJ
()
{
saveZJ
()
{
...
@@ -1115,20 +1512,51 @@ timeChange(time){
...
@@ -1115,20 +1512,51 @@ timeChange(time){
this
.
$message
(
"请选择项目"
);
this
.
$message
(
"请选择项目"
);
return
;
return
;
}
}
this
.
addtableDataXM
=
[...
this
.
addZJListXM
,...
this
.
addtableDataXM
]
this
.
addtableDataXM
=
[...
this
.
addZJListXM
,
...
this
.
addtableDataXM
];
this
.
addtableDataXM
=
this
.
addtableDataXM
.
filter
((
obj
,
index
,
self
)
=>
{
this
.
addtableDataXM
=
this
.
addtableDataXM
.
filter
((
obj
,
index
,
self
)
=>
{
return
index
==
self
.
findIndex
(
t
=>
t
.
projectId
==
obj
.
projectId
)
return
index
==
self
.
findIndex
((
t
)
=>
t
.
projectId
==
obj
.
projectId
);
})
})
;
console
.
log
(
this
.
addtableDataXM
,
"3332223"
);
console
.
log
(
this
.
addtableDataXM
,
"3332223"
);
this
.
addtotalXM
=
this
.
addtableDataXM
.
length
;
this
.
addtotalXM
=
this
.
addtableDataXM
.
length
;
this
.
dialogAddzj
=
false
;
this
.
dialogAddzj
=
false
;
},
},
//点击删除
//点击删除
async
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
;
},
},
async
handleClickBJ
(
row
,
index
,
rows
)
{
console
.
log
(
"删除"
,
row
);
rows
.
splice
(
index
,
1
);
this
.
addtableData
=
rows
;
let
params
=
{
ruleId
:
row
.
id
,
auditId
:
this
.
checkedList
[
0
].
id
,
}
console
.
log
(
params
,
'222233'
)
let
res
=
await
delRule
(
params
);
},
async
handleClickbjxm
(
row
,
index
,
rows
){
console
.
log
(
"删除编辑项目"
,
row
);
rows
.
splice
(
index
,
1
);
this
.
addtableDataXM
=
rows
;
let
params
=
{
projectId
:
row
.
projectId
,
auditId
:
this
.
checkedList
[
0
].
id
,
}
let
res
=
await
delProject
(
params
);
},
//点击删除规则
handleClickADGZ
(
row
,
index
,
rows
)
{
console
.
log
(
"删除"
,
row
);
rows
.
splice
(
index
,
1
);
this
.
addtableData
=
rows
;
},
cancelZJ
(){
this
.
dialogAddzj
=
false
},
saveXZ
()
{
saveXZ
()
{
console
.
log
(
"保存验证"
,
this
.
$refs
);
console
.
log
(
"保存验证"
,
this
.
$refs
);
this
.
$refs
.
formNameAD
.
validate
((
valid
)
=>
{
this
.
$refs
.
formNameAD
.
validate
((
valid
)
=>
{
...
@@ -1138,32 +1566,32 @@ timeChange(time){
...
@@ -1138,32 +1566,32 @@ timeChange(time){
}
else
{
}
else
{
if
(
this
.
addtableData
.
length
<
1
)
{
if
(
this
.
addtableData
.
length
<
1
)
{
this
.
$message
(
"请选择稽核规则"
);
this
.
$message
(
"请选择稽核规则"
);
return
return
;
}
}
if
(
this
.
addtableDataXM
.
length
<
1
)
{
if
(
this
.
addtableDataXM
.
length
<
1
)
{
this
.
$message
(
"请选择待稽核项目"
);
this
.
$message
(
"请选择待稽核项目"
);
return
return
;
}
}
let
expertIdList
=
""
;
let
expertIdList
=
""
;
if
(
this
.
addtableDataXM
.
length
>
0
)
{
if
(
this
.
addtableDataXM
.
length
>
0
)
{
this
.
addtableDataXM
.
forEach
((
item
)
=>
{
this
.
addtableDataXM
.
forEach
((
item
)
=>
{
expertIdList
=
expertIdList
.
concat
(
item
.
projectId
+
','
)
expertIdList
=
expertIdList
.
concat
(
item
.
projectId
+
","
);
});
});
}
}
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
+
","
);
});
});
}
}
let
params
=
{
let
params
=
{
prjStr
:
expertIdList
,
prjStr
:
expertIdList
,
ruleStr
:
ruleList
,
ruleStr
:
ruleList
,
creator
:
sessionStorage
.
getItem
(
'author'
),
creator
:
sessionStorage
.
getItem
(
"author"
),
createTime
:
getCurrentDate
(),
createTime
:
getCurrentDate
(),
};
};
Object
.
assign
(
params
,
this
.
ruleFormdialogAdd
);
Object
.
assign
(
params
,
this
.
ruleFormdialogAdd
);
console
.
log
(
params
,
"222"
);
console
.
log
(
params
,
"222"
);
...
@@ -1174,10 +1602,65 @@ timeChange(time){
...
@@ -1174,10 +1602,65 @@ timeChange(time){
}
}
});
});
},
},
cancelXZ
(){
this
.
dialogAdd
=
false
;
},
cancelBJ
(){
this
.
dialogBJ
=
false
;
},
saveBJ
()
{
console
.
log
(
"保存验证"
,
this
.
$refs
);
this
.
$refs
.
formNameBJ
.
validate
((
valid
)
=>
{
if
(
!
valid
)
{
console
.
log
(
"error submit!!"
);
return
false
;
}
else
{
if
(
this
.
addtableData
.
length
<
1
)
{
this
.
$message
(
"请选择稽核规则"
);
return
;
}
if
(
this
.
addtableDataXM
.
length
<
1
)
{
this
.
$message
(
"请选择待稽核项目"
);
return
;
}
let
expertIdList
=
""
;
if
(
this
.
addtableDataXM
.
length
>
0
)
{
this
.
addtableDataXM
.
forEach
((
item
)
=>
{
expertIdList
=
expertIdList
.
concat
(
item
.
projectId
+
","
);
});
}
let
ruleList
=
""
;
if
(
this
.
addtableData
.
length
>
0
)
{
this
.
addtableData
.
forEach
((
item
)
=>
{
console
.
log
(
item
,
"item"
);
ruleList
=
ruleList
.
concat
(
item
.
id
+
","
);
});
}
console
.
log
(
expertIdList
,
ruleList
,
'编辑值'
)
// return
let
params
=
{
};
Object
.
assign
(
params
,
this
.
ruleFormdialogBJ
);
params
.
auditId
=
this
.
checkedList
[
0
].
id
params
.
prjStr
=
expertIdList
,
params
.
ruleStr
=
ruleList
,
console
.
log
(
params
,
"222"
);
upauditTasks
(
params
).
then
((
res
)
=>
{
this
.
dialogBJ
=
false
;
this
.
resetForm
();
});
}
});
},
},
},
};
};
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.main
{
.main
{
font-size
:
14px
;
font-size
:
14px
;
position
:
relative
;
position
:
relative
;
...
@@ -1472,6 +1955,8 @@ h3 {
...
@@ -1472,6 +1955,8 @@ h3 {
}
}
.midBtn
{
.midBtn
{
margin
:
0
auto
;
margin
:
0
auto
;
height
:
50px
;
line-height
:
50px
;
span
{
span
{
display
:
inline-block
;
display
:
inline-block
;
width
:
80px
;
width
:
80px
;
...
@@ -1491,8 +1976,8 @@ h3 {
...
@@ -1491,8 +1976,8 @@ h3 {
}
}
.cxItem
{
.cxItem
{
position
:
absolute
;
position
:
absolute
;
right
:
0
;
right
:
0
;
top
:
150px
;
top
:
150px
;
width
:
20%
;
width
:
20%
;
.zjquery
{
.zjquery
{
display
:
inline-block
;
display
:
inline-block
;
...
@@ -1505,4 +1990,8 @@ h3 {
...
@@ -1505,4 +1990,8 @@ h3 {
border-radius
:
5px
;
border-radius
:
5px
;
}
}
}
}
/
deep
/
.el-table
::before
{
display
:
none
!important
;
}
</
style
>
</
style
>
\ No newline at end of file
src/views/layout/leftBar.vue
View file @
0816a06
...
@@ -227,52 +227,33 @@ export default {
...
@@ -227,52 +227,33 @@ export default {
name
:
"后评估合规性管理"
,
name
:
"后评估合规性管理"
,
url
:
""
,
url
:
""
,
children
:
[
children
:
[
{
{
name
:
"合规性检查实时提醒"
,
name
:
"合规性检查实时提醒"
,
url
:
""
,
url
:
""
,
children
:
[
children
:
[
{
name
:
"合规性检查自动提醒"
,
url
:
""
,
children
:
[]
},
{
name
:
"合规性检查提醒"
,
url
:
"/checkCompliance/automaticCheck"
,
children
:
[]
},
{
name
:
"合规性检查手动提醒"
,
url
:
""
,
children
:
[]
},
],
],
},
},
{
{
name
:
"合规性检查规则库构建"
,
name
:
"合规性检查规则库构建"
,
url
:
""
,
url
:
""
,
children
:
[
children
:
[
{
name
:
"检查规则编制"
,
url
:
"/compliance/checkRules"
,
children
:
[]
},
{
name
:
"检查规则编制"
,
url
:
""
,
children
:
[]
},
{
name
:
"自动稽核任务配置"
,
url
:
"/compliance/taskConfigure"
,
children
:
[]
},
{
name
:
"自动稽核任务配置"
,
url
:
""
,
children
:
[]
},
],
],
},
},
{
{
name
:
"项目合规检查"
,
name
:
"项目前期合规检查"
,
url
:
""
,
url
:
""
,
children
:
[
children
:
[
{
name
:
"合规检查结果"
,
url
:
"/projectCheck/checkResault"
,
children
:
[]
},
{
name
:
"合规检查结果"
,
url
:
""
,
children
:
[]
},
{
name
:
"合规检查结果确认"
,
url
:
"/projectCheck/confirmResault"
,
children
:
[]
},
{
name
:
"合规检查结果确认"
,
url
:
""
,
children
:
[]
},
{
name
:
"合规问题整改"
,
url
:
"/projectCheck/problemRectify"
,
children
:
[]
},
{
name
:
"合规问题整改"
,
url
:
""
,
children
:
[]
},
{
name
:
"合规问题整改核验"
,
url
:
"/projectCheck/verificationRectify"
,
children
:
[]
},
{
name
:
"合规问题整改核验"
,
url
:
""
,
children
:
[]
},
],
],
},
},
],
// {
},
// name: '项目建设合规检查', url: '',
// children: [
// { name: '建设合规检查结果', url: '', children: [] },
// { name: '建设合规检查结果确认', url: '', children: [] },
// { name: '建设合规问题整改', url: '', children: [] },
// { name: '建设合规问题整改核验', url: '', children: [] },
// ]
// },
// {
// name: '项目验收合规检查', url: '',
// children: [
// { name: '验收合规检查结果', url: '', children: [] },
// { name: '验收合规检查结果确认', url: '', children: [] },
// { name: '验收合规问题整改', url: '', children: [] },
// { name: '验收合规问题整改核验', url: '', children: [] },
// ]
// },
],
},
{
{
name
:
"后评估结果管理"
,
name
:
"后评估结果管理"
,
url
:
""
,
url
:
""
,
...
@@ -718,12 +699,11 @@ export default {
...
@@ -718,12 +699,11 @@ export default {
name
:
"后评估合规性管理"
,
name
:
"后评估合规性管理"
,
url
:
""
,
url
:
""
,
children
:
[
children
:
[
{
{
name
:
"合规性检查实时提醒"
,
name
:
"合规性检查实时提醒"
,
url
:
""
,
url
:
""
,
children
:
[
children
:
[
{
name
:
"合规性检查自动提醒"
,
url
:
""
,
children
:
[]
},
{
name
:
"合规性检查提醒"
,
url
:
"/checkCompliance/automaticCheck"
,
children
:
[]
},
{
name
:
"合规性检查手动提醒"
,
url
:
""
,
children
:
[]
},
],
],
},
},
{
{
...
...
src/views/postConcentrationCheck/rectificationFeedbackQuery.vue
View file @
0816a06
...
@@ -108,11 +108,11 @@
...
@@ -108,11 +108,11 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"quesCheckItem"
label=
"问题检查项"
width=
"auto"
>
<el-table-column
prop=
"quesCheckItem"
label=
"问题检查项"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"checkDesc"
label=
"问题描述"
width=
"auto"
>
<el-table-column
prop=
"checkDesc"
label=
"问题描述"
width=
"auto"
show-overflow-tooltip
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"appealText"
label=
"是否申诉"
width=
"auto"
>
<el-table-column
prop=
"appealText"
label=
"是否申诉"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"feedback"
label=
"申诉理由"
width=
"auto"
>
<el-table-column
prop=
"feedback"
label=
"申诉理由"
width=
"auto"
show-overflow-tooltip
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"isAppealText"
label=
"申诉是否通过"
width=
"auto"
>
<el-table-column
prop=
"isAppealText"
label=
"申诉是否通过"
width=
"auto"
>
</el-table-column>
</el-table-column>
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"rectificationText"
label=
"是否完成整改"
width=
"auto"
>
<el-table-column
prop=
"rectificationText"
label=
"是否完成整改"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"rectificationFeedback"
label=
"整改情况"
width=
"auto"
>
<el-table-column
prop=
"rectificationFeedback"
label=
"整改情况"
width=
"auto"
show-overflow-tooltip
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"isRectificationText"
label=
"整改是否通过"
width=
"auto"
>
<el-table-column
prop=
"isRectificationText"
label=
"整改是否通过"
width=
"auto"
>
</el-table-column>
</el-table-column>
...
...
src/views/projectCheck/checkResault.vue
View file @
0816a06
...
@@ -7,38 +7,55 @@
...
@@ -7,38 +7,55 @@
label-width=
"100px"
label-width=
"100px"
class=
"demo-ruleForm"
class=
"demo-ruleForm"
>
>
<el-form-item
label=
"稽核名称:"
prop=
"
batch
Name"
class=
"fromItem"
>
<el-form-item
label=
"稽核名称:"
prop=
"
audit
Name"
class=
"fromItem"
>
<el-input
<el-input
v-model=
"ruleForm.
batch
Name"
v-model=
"ruleForm.
audit
Name"
placeholder=
"请输入"
placeholder=
"请输入"
clearable
clearable
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"稽核开始时间:"
prop=
"projectId"
class=
"fromItem"
>
<el-form-item
<el-date-picker
v-model=
"reviewTime"
type=
"date"
placeholder=
"选择日期"
>
label=
"稽核开始时间:"
prop=
"auditStartTime"
class=
"fromItem"
>
<el-date-picker
v-model=
"ruleForm.auditStartTime"
type=
"date"
placeholder=
"选择日期"
>
</el-date-picker>
</el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
label=
"稽核结束时间:"
prop=
"projectId"
class=
"fromItem"
>
<el-form-item
label=
"稽核结束时间:"
prop=
"auditEndTime"
class=
"fromItem"
>
<el-date-picker
v-model=
"reviewTime"
type=
"date"
placeholder=
"选择日期"
>
<el-date-picker
v-model=
"ruleForm.auditEndTime"
type=
"date"
placeholder=
"选择日期"
>
</el-date-picker>
</el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
label=
"稽核频率:"
prop=
"auditFrequency"
class=
"fromItem"
>
<el-form-item
label=
"稽核频率:"
prop=
"batchYear"
class=
"fromItem"
>
<el-select
<el-select
v-model=
"ruleForm.batchYear"
placeholder=
"请选择"
clearable
>
v-model=
"ruleForm.auditFrequency"
<el-option
label=
"2024年"
value=
"2024"
></el-option>
placeholder=
"请选择"
<el-option
label=
"2023年"
value=
"2023"
></el-option>
clearable
<el-option
label=
"2022年"
value=
"2022"
></el-option>
>
<el-option
label=
"2021年"
value=
"2021"
></el-option>
<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=
"4"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"稽核状态:"
prop=
"
postEvalState
"
class=
"fromItem"
>
<el-form-item
label=
"稽核状态:"
prop=
"
confirmStatus
"
class=
"fromItem"
>
<el-select
<el-select
v-model=
"ruleForm.
postEvalState
"
v-model=
"ruleForm.
confirmStatus
"
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>
<el-form-item
class=
"button"
>
<el-form-item
class=
"button"
>
...
@@ -68,23 +85,23 @@
...
@@ -68,23 +85,23 @@
<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=
"
batchYear
"
>
</el-table-column>
<el-table-column
label=
"稽核名称"
prop=
"
auditName
"
>
</el-table-column>
<el-table-column
prop=
"
batchNa
me"
label=
"稽核开始时间"
>
<el-table-column
prop=
"
auditStartTi
me"
label=
"稽核开始时间"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"
projectNa
me"
prop=
"
auditEndTi
me"
label=
"稽核结束时间"
label=
"稽核结束时间"
show-overflow-tooltip
show-overflow-tooltip
>
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"projectStatus"
label=
"稽核状态"
>
<!--
<el-table-column
prop=
"confirmStatus"
label=
"稽核状态"
>
</el-table-column>
-->
<el-table-column
prop=
"auditFrequencyText"
label=
"稽核频率"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"
projectCategory"
label=
"稽核频率
"
>
<el-table-column
prop=
"
abnormalResults"
label=
"检查异常结果
"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"projectStatus"
label=
"检查异常结果"
>
<el-table-column
prop=
"auditEndTime"
label=
"稽核时间"
>
</el-table-column>
<el-table-column
prop=
"projectCategory"
label=
"稽核时间"
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
...
@@ -109,41 +126,48 @@
...
@@ -109,41 +126,48 @@
>
>
<div
class=
"dialog"
>
<div
class=
"dialog"
>
<el-form
<el-form
ref=
"formName"
:model=
"ruleFormdialogXQ"
:model=
"ruleFormdialog"
label-width=
"100px"
label-width=
"100px"
class=
"demo-ruleForm"
class=
"demo-ruleForm"
:rules=
"rules"
>
>
<el-form-item
label=
"稽核名称:"
prop=
"batchYear"
class=
"fromItem"
>
<el-form-item
label=
"稽核名称:"
prop=
"auditName"
class=
"fromItem"
>
<el-input
v-model=
"ruleFormdialog.batchYear"
disabled
></el-input>
<el-input
v-model=
"ruleFormdialogXQ.auditName"
disabled
></el-input>
</el-form-item>
<el-form-item
label=
"稽核时间:"
class=
"fromItem"
prop=
"dates"
>
<el-date-picker
@
change=
"timeChange"
v-model=
"ruleFormdialogXQ.dates"
style=
"width: 240px"
value-format=
"yyyy-MM-dd"
type=
"daterange"
range-separator=
"-"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
disabled
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
label=
"稽核
时间
:"
label=
"稽核
频率
:"
prop=
"
planReviewDate
"
prop=
"
auditFrequency
"
class=
"fromItem"
class=
"fromItem"
>
>
<el-date-picker
<el-select
v-model=
"ruleFormdialog.value1"
v-model=
"ruleFormdialogXQ.auditFrequency"
type=
"datetimerange"
placeholder=
"请选择"
range-separator=
"至"
disabled
start-placeholder=
"请选择开始日期"
end-placeholder=
"请选择结束日期"
>
>
</el-date-picker>
<el-option
label=
"仅一次"
value=
"0"
></el-option>
</el-form-item>
<el-option
label=
"每周"
value=
"1"
></el-option>
<el-form-item
label=
"稽核范围:"
prop=
"batchYear"
class=
"fromItem"
>
<el-option
label=
"每月"
value=
"2"
></el-option>
<el-input
v-model=
"ruleFormdialog.batchYear"
disabled
></el-input>
<el-option
label=
"每季度"
value=
"3"
></el-option>
</el-form-item>
<el-option
label=
"每年"
value=
"4"
></el-option>
<el-form-item
label=
"稽核频率:"
prop=
"batchYear"
class=
"fromItem"
>
</el-select>
<el-input
v-model=
"ruleFormdialog.batchYear"
disabled
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<p
class=
"zjBtn"
>
稽核规则配置
</p>
<p
class=
"zjBtn"
>
稽核规则配置
</p>
<div
class=
"setscroll"
>
<el-table
<el-table
@
selection-change=
"handleSelectionChange"
:data=
"XQtableData"
:data=
"addtableData"
tooltip-effect=
"dark"
tooltip-effect=
"dark"
style=
"width: 100%"
style=
"width: 100%"
header-cell-class-name=
"custom-th-background"
header-cell-class-name=
"custom-th-background"
...
@@ -154,68 +178,73 @@
...
@@ -154,68 +178,73 @@
<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=
"projectId"
>
<el-table-column
label=
"规则名称"
width=
"
ruleName
"
prop=
"projectId"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"
projectNam
e"
label=
"规则类型"
width=
"auto"
>
<el-table-column
prop=
"
ruleTyp
e"
label=
"规则类型"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"projectCategory"
label=
"稽核异常项目清单"
width=
"auto"
>
<el-table-column
prop=
"projectName"
label=
"稽核异常项目清单"
width=
"auto"
show-overflow-tooltip
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
<!--
<el-pagination
@
size-change=
"handleSizeChangeXQ"
@
current-change=
"handleCurrentChangeXQ"
:current-page=
"currentPageXQ"
:page-sizes=
"[5, 10, 15, 20]"
:page-size=
"100"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"total"
class=
"elpagination"
>
</el-pagination>
-->
<p
class=
"midBtn"
>
<span
@
click=
"cancelXQ()"
>
取消
</span
><span
@
click=
"saveXZ()"
v-show=
"false"
>
保存
</span>
</p>
</div>
</el-dialog>
</el-dialog>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
MaterialsList
}
from
"@/utils/cache"
;
import
{
auditTasksResults
,
xqauditTasksResults
}
from
"@/api/index"
;
import
{
fzcxselect
,
fzcxXqselect
,
wtqdqselect
,
clqdselect
,
selLcb
,
}
from
"@/api/index"
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
listData
:
{},
listData
:
{},
qdtableData
:
JSON
.
parse
(
JSON
.
stringify
(
MaterialsList
())),
tableDataNew
:
MaterialsList
(),
xxtableData
:
[],
showButton
:
true
,
showButton
:
true
,
ruleForm
:
{
ruleForm
:
{
batchYear
:
""
,
batchName
:
""
,
postEvalState
:
""
,
projectName
:
""
,
projectId
:
""
,
},
},
ruleFormdialog
:
{
ruleFormdialogXQ
:
{},
batchYear
:
""
,
currentPageXQ
:
''
,
batchName
:
""
,
pageSizeXQ
:
''
,
planReviewDate
:
""
,
fullName
:
""
,
},
tableData
:
[],
tableData
:
[],
checkedList
:
[],
checkedList
:
[],
currentPage
:
1
,
currentPage
:
1
,
pageSize
:
10
,
pageSize
:
10
,
currentPagetjcl
:
1
,
pageSizetjcl
:
10
,
total
:
0
,
total
:
0
,
dialog
:
false
,
dialog
:
false
,
activeName
:
"first"
,
XQtableData
:
[],
mergingRows
:
[],
lctableData
:
[],
};
};
},
},
mounted
()
{
mounted
()
{
this
.
submitForm
();
this
.
submitForm
();
},
},
methods
:
{
methods
:
{
timeChange
(
time
)
{
if
(
time
)
{
//给后端的参数
this
.
ruleFormdialogAdd
.
auditStartTime
=
time
[
0
];
this
.
ruleFormdialogAdd
.
auditEndTime
=
time
[
1
];
}
},
async
submitForm
()
{
async
submitForm
()
{
let
params
=
{
let
params
=
{
current
:
this
.
currentPage
,
current
:
this
.
currentPage
,
...
@@ -223,10 +252,23 @@ export default {
...
@@ -223,10 +252,23 @@ export default {
};
};
Object
.
assign
(
params
,
this
.
ruleForm
);
Object
.
assign
(
params
,
this
.
ruleForm
);
console
.
log
(
params
);
console
.
log
(
params
);
let
res
=
await
fzcxselect
(
params
);
let
res
=
await
auditTasksResults
(
params
);
if
(
res
.
code
==
"200"
)
{
if
(
res
.
code
==
"200"
)
{
this
.
tableData
=
res
.
data
.
records
;
this
.
tableData
=
res
.
data
.
records
;
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
;
}
}
},
},
...
@@ -237,42 +279,27 @@ export default {
...
@@ -237,42 +279,27 @@ export default {
this
.
submitForm
();
this
.
submitForm
();
},
},
//详情
//详情
detailsForm
()
{
async
detailsForm
()
{
// if (this.checkedList.length != 1) {
if
(
this
.
checkedList
.
length
!=
1
)
{
// this.$message("请选择");
this
.
$message
(
"请选择"
);
// return;
return
;
// }
}
this
.
dialog
=
true
;
let
params
=
{
// let params = {
current
:
this
.
currentPageXQ
,
// batchId: this.checkedList[0].batchId,
pageSize
:
this
.
pageSizeXQ
,
// projectId: this.checkedList[0].projectId,
auditId
:
this
.
checkedList
[
0
].
auditId
,
// };
};
// Promise.all([fzcxXqselect(params), clqdselect(params)]).then((res) => {
let
res
=
await
xqauditTasksResults
(
params
);
// console.log(res[0], res[1], "2222222");
if
(
res
.
code
==
200
)
{
// this.listData = res[0].data.records[0];
this
.
ruleFormdialogXQ
=
this
.
checkedList
[
0
];
this
.
ruleFormdialogXQ
.
dates
=
[
// this.qdtableData=this.tableDataNew
this
.
checkedList
[
0
].
auditStartTime
,
// if (res[1].data.records.length > 0) {
this
.
checkedList
[
0
].
auditEndTime
,
// // this.qdtableData = res[1].data.records;
];
// this.qdtableData = this.qdtableData.concat(res[1].data.records)
this
.
XQtableData
=
res
.
data
.
records
;
// .reduce((accumulator, currentObj) => {
console
.
log
(
this
.
XQtableData
,
'XQtableDataXQtableData'
)
// const existingObj = accumulator.find(
this
.
dialog
=
true
;
// (obj) => obj.typeCode == currentObj.typeCode
}
// );
// if (existingObj) {
// Object.assign(existingObj, currentObj);
// } else {
// accumulator.push(currentObj);
// }
// return accumulator;
// }, []);
// console.log( this.tableDataQD,' mergedArray mergedArray mergedArray')
// this.tableDataQD.forEach((item) => {
// // this.$set(item, "batchtype", "开发、实施类");
// });
// }
// });
},
},
//表格颜色
//表格颜色
...
@@ -282,88 +309,6 @@ export default {
...
@@ -282,88 +309,6 @@ export default {
}
}
return
""
;
return
""
;
},
},
arraySpanMethod
({
row
,
column
,
rowIndex
,
columnIndex
})
{
if
(
columnIndex
===
0
)
{
//第一列
const
_row
=
this
.
mergingRows
[
rowIndex
];
const
_col
=
_row
>
0
?
1
:
0
;
return
{
rowspan
:
_row
,
colspan
:
_col
,
};
}
},
dataPretreatment
()
{
this
.
mergingRows
=
[];
this
.
mergingPos
=
0
;
for
(
let
i
=
0
;
i
<
this
.
xxtableData
.
length
;
i
++
)
{
// tabledata 表格数据源
if
(
i
==
0
)
{
this
.
mergingRows
.
push
(
1
);
this
.
mergingPos
=
0
;
}
else
{
if
(
this
.
xxtableData
[
i
].
projectStage
===
this
.
xxtableData
[
i
-
1
].
projectStage
)
{
//哪些数据是要合并的 合并的条件是什么
this
.
mergingRows
[
this
.
mergingPos
]
+=
1
;
this
.
mergingRows
.
push
(
0
);
}
else
{
this
.
mergingRows
.
push
(
1
);
this
.
mergingPos
=
i
;
}
}
}
},
async
handleClick
()
{
console
.
log
(
this
.
activeName
,
"this.activeName"
);
if
(
this
.
activeName
==
"second"
)
{
let
params
=
{
batchId
:
this
.
checkedList
[
0
].
batchId
,
projectId
:
this
.
checkedList
[
0
].
projectId
,
};
this
.
xxtableData
=
[];
let
res
=
await
wtqdqselect
(
params
);
if
(
res
.
code
==
"200"
)
{
this
.
xxtableData
=
res
.
data
.
records
;
this
.
total
=
res
.
data
.
total
*
1
;
}
this
.
xxtableData
.
forEach
((
item
)
=>
{
switch
(
item
.
projectStage
)
{
case
1
:
this
.
$set
(
item
,
"projectStagetext"
,
"1.可研"
);
break
;
case
2
:
this
.
$set
(
item
,
"projectStagetext"
,
"2.计划"
);
break
;
case
3
:
this
.
$set
(
item
,
"projectStagetext"
,
"3.采购"
);
break
;
case
4
:
this
.
$set
(
item
,
"projectStagetext"
,
"4.合同"
);
break
;
case
5
:
this
.
$set
(
item
,
"projectStagetext"
,
"5.执行"
);
break
;
case
6
:
this
.
$set
(
item
,
"projectStagetext"
,
"6.结决算及转资"
);
break
;
}
});
this
.
dataPretreatment
();
}
else
if
(
this
.
activeName
==
"third"
)
{
let
params
=
{
batchId
:
this
.
checkedList
[
0
].
batchId
,
projectId
:
this
.
checkedList
[
0
].
projectId
,
};
let
res
=
await
selLcb
(
params
);
if
(
res
.
code
==
"200"
)
{
this
.
lctableData
=
res
.
data
;
}
}
},
//主列表选中行信息
//主列表选中行信息
handleSelectionChange
(
selection
)
{
handleSelectionChange
(
selection
)
{
if
(
Array
.
isArray
(
selection
)
&&
selection
.
length
>
1
)
{
if
(
Array
.
isArray
(
selection
)
&&
selection
.
length
>
1
)
{
...
@@ -384,13 +329,23 @@ export default {
...
@@ -384,13 +329,23 @@ export default {
this
.
currentPage
=
val
;
this
.
currentPage
=
val
;
this
.
submitForm
();
this
.
submitForm
();
},
},
cancel
()
{
handleSizeChangeXQ
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
this
.
pageSizeXQ
=
val
;
this
.
detailsForm
();
},
handleCurrentChangeXQ
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
this
.
currentPageXQ
=
val
;
this
.
detailsForm
();
},
cancelXQ
()
{
this
.
dialog
=
false
;
this
.
dialog
=
false
;
},
},
},
},
};
};
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.main
{
.main
{
font-size
:
14px
;
font-size
:
14px
;
position
:
relative
;
position
:
relative
;
...
@@ -654,4 +609,54 @@ h3 {
...
@@ -654,4 +609,54 @@ h3 {
overflow
:
auto
;
overflow
:
auto
;
}
}
}
}
.dialog
{
.el-form
{
border
:
none
!important
;
border-top
:
none
;
border-left
:
none
;
border-right
:
none
;
border-bottom
:
none
;
}
}
.zjBtn
{
width
:
400px
;
text-align
:
left
;
vertical-align
:
middle
;
span
{
display
:
inline-block
;
width
:
140px
;
height
:
25px
;
line-height
:
25px
;
text-align
:
center
;
border-radius
:
5px
;
vertical-align
:
middle
;
}
}
.midBtn
{
margin
:
0
auto
;
height
:
50px
;
line-height
:
50px
;
span
{
display
:
inline-block
;
width
:
80px
;
height
:
25px
;
line-height
:
25px
;
text-align
:
center
;
margin-right
:
10px
;
border-radius
:
5px
;
}
span
:first-of-type
{
border
:
1px
solid
grey
;
}
span
:last-of-type
{
background-color
:
#4ca6a7
;
color
:
#fff
;
}
}
.setscroll
{
width
:
100%
;
height
:
600px
;
position
:
relative
;
overflow
:
auto
;
}
</
style
>
</
style
>
\ No newline at end of file
src/views/projectCheck/confirmResault.vue
View file @
0816a06
<
template
>
<
template
>
<div
class=
"main"
>
<div
class=
"main"
>
<el-form
<el-form
:model=
"ruleForm"
:model=
"ruleForm"
ref=
"ruleForm"
ref=
"ruleForm"
label-width=
"100px"
label-width=
"100px"
class=
"demo-ruleForm"
class=
"demo-ruleForm"
>
<el-form-item
label=
"稽核名称:"
prop=
"auditName"
class=
"fromItem"
>
<el-input
v-model=
"ruleForm.auditName"
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"稽核开始时间:"
prop=
"auditStartTime"
class=
"fromItem"
>
>
<el-form-item
label=
"稽核名称:"
prop=
"batchName"
class=
"fromItem"
>
<el-input
v-model=
"ruleForm.batchName"
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"稽核开始时间:"
prop=
"projectId"
class=
"fromItem"
>
<el-date-picker
<el-date-picker
v-model=
"reviewTime"
v-model=
"ruleForm.auditStartTime"
type=
"date"
type=
"date"
placeholder=
"选择日期"
>
placeholder=
"选择日期"
</el-date-picker>
>
</el-form-item>
</el-date-picker>
<el-form-item
label=
"稽核结束时间:"
prop=
"projectId"
class=
"fromItem"
>
</el-form-item>
<el-form-item
label=
"稽核结束时间:"
prop=
"auditEndTime"
class=
"fromItem"
>
<el-date-picker
<el-date-picker
v-model=
"reviewTime"
v-model=
"ruleForm.auditEndTime"
type=
"date"
type=
"date"
placeholder=
"选择日期"
>
placeholder=
"选择日期"
</el-date-picker>
>
</el-form-item>
</el-date-picker>
</el-form-item>
<el-form-item
label=
"稽核频率:"
prop=
"batchYear"
class=
"fromItem"
>
<el-select
v-model=
"ruleForm.batchYear"
placeholder=
"请选择"
clearable
>
<el-form-item
label=
"稽核频率:"
prop=
"auditFrequency"
class=
"fromItem"
>
<el-option
label=
"2024年"
value=
"2024"
></el-option>
<el-select
<el-option
label=
"2023年"
value=
"2023"
></el-option>
v-model=
"ruleForm.auditFrequency"
<el-option
label=
"2022年"
value=
"2022"
></el-option>
placeholder=
"请选择"
<el-option
label=
"2021年"
value=
"2021"
></el-option>
clearable
</el-select>
>
</el-form-item>
<el-option
label=
"仅一次"
value=
"0"
></el-option>
<el-form-item
label=
"稽核状态:"
prop=
"postEvalState"
class=
"fromItem"
>
<el-option
label=
"每周"
value=
"1"
></el-option>
<el-select
v-model=
"ruleForm.postEvalState"
placeholder=
"请选择"
clearable
>
<el-option
label=
"每月"
value=
"2"
></el-option>
<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-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"稽核状态:"
prop=
"confirmStatus"
class=
"fromItem"
>
<el-form-item
class=
"button"
>
<el-select
<el-button
@
click=
"submitForm()"
>
v-model=
"ruleForm.confirmStatus"
<img
class=
"buttonIcon"
src=
"../../assets/cx.png"
/>
查询
</el-button
placeholder=
"请选择"
>
clearable
<el-button
@
click=
"resetForm('ruleForm')"
>
>
<img
class=
"buttonIcon"
src=
"../../assets/cz.png"
/>
重置
</el-button
<el-option
label=
"未确认"
value=
"0"
></el-option>
>
<el-option
label=
"未下发"
value=
"1"
></el-option>
<el-button
@
click=
"detailsForm('ruleForm')"
>
<el-option
label=
"已下发"
value=
"2"
></el-option>
<img
class=
"buttonIcon"
src=
"../../assets/ck.png"
/>
详情
</el-button
</el-select>
>
</el-form-item>
<el-button
@
click=
"confirm()"
>
<el-form-item
class=
"button"
>
<el-button
@
click=
"submitForm()"
>
<img
class=
"buttonIcon"
src=
"../../assets/cx.png"
/>
查询
</el-button
>
<el-button
@
click=
"resetForm()"
>
<img
class=
"buttonIcon"
src=
"../../assets/cz.png"
/>
重置
</el-button
>
<el-button
@
click=
"detailsForm('xq')"
>
<img
class=
"buttonIcon"
src=
"../../assets/ck.png"
/>
详情
</el-button
>
<!--
<el-button
@
click=
"confirm()"
>
<i
class=
"el-icon-chat-dot-square"
></i
<i
class=
"el-icon-chat-dot-square"
></i
>
结果确认
</el-button
>
结果确认
</el-button
>
>
-->
<el-button
@
click=
"
appeal(
)"
>
<el-button
@
click=
"
detailsForm('xf'
)"
>
<i
class=
"el-icon-document-remove"
></i
<i
class=
"el-icon-document-remove"
></i
>
问题下发
</el-button
>
问题下发
</el-button
>
>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
class=
"setscroll"
>
<div
class=
"setscroll"
>
<el-table
<el-table
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
ref=
"multipleTable"
ref=
"multipleTable"
:data=
"tableData"
:data=
"tableData"
tooltip-effect=
"dark"
tooltip-effect=
"dark"
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>
<el-table-column
type=
"selection"
>
</el-table-column>
<el-table-column
label=
"稽核名称"
prop=
"batchYear"
>
</el-table-column>
<el-table-column
prop=
"batchName"
label=
"稽核开始时间"
>
</el-table-column>
<el-table-column
prop=
"projectName"
label=
"稽核结束时间"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"projectStatus"
label=
"稽核状态"
>
</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=
"projectCategory"
label=
"稽核时间"
>
</el-table-column>
<el-table-column
prop=
"projectCategory"
label=
"结果确认状态"
>
</el-table-column>
</el-table>
</div>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"currentPage"
:page-sizes=
"[10, 15, 20, 50]"
:page-size=
"100"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"total"
class=
"elpagination"
>
>
</el-pagination>
<el-table-column
label=
"序号"
width=
"55"
type=
"index"
>
<!-- 详情弹窗 -->
</el-table-column>
<el-dialog
<el-table-column
type=
"selection"
>
</el-table-column>
title=
"稽核结果详情"
<el-table-column
label=
"稽核名称"
prop=
"auditName"
>
</el-table-column>
<el-table-column
prop=
"auditStartTime"
label=
"稽核开始时间"
>
</el-table-column>
<el-table-column
prop=
"auditEndTime"
label=
"稽核结束时间"
show-overflow-tooltip
>
</el-table-column>
<!--
<el-table-column
prop=
"confirmStatus"
label=
"稽核状态"
>
</el-table-column>
-->
<el-table-column
prop=
"auditFrequencyText"
label=
"稽核频率"
>
</el-table-column>
<el-table-column
prop=
"abnormalResults"
label=
"检查异常结果"
>
</el-table-column>
<el-table-column
prop=
"auditEndTime"
label=
"稽核时间"
>
</el-table-column>
<el-table-column
prop=
"confirmStatusText"
label=
"结果确认状态"
>
</el-table-column>
</el-table>
</div>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"currentPage"
:page-sizes=
"[10, 15, 20, 50]"
:page-size=
"100"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"total"
class=
"elpagination"
>
</el-pagination>
<!-- 详情弹窗 -->
<el-dialog
title=
"稽核结果确认"
:visible
.
sync=
"dialog"
:visible
.
sync=
"dialog"
width=
"90%"
width=
"90%"
:modal-append-to-body=
"false"
:modal-append-to-body=
"false"
...
@@ -115,649 +138,679 @@
...
@@ -115,649 +138,679 @@
>
>
<div
class=
"dialog"
>
<div
class=
"dialog"
>
<el-form
<el-form
ref=
"formName"
:model=
"ruleFormdialogXQ"
:model=
"ruleFormdialog"
label-width=
"100px"
label-width=
"100px"
class=
"demo-ruleForm"
class=
"demo-ruleForm"
:rules=
"rules"
>
>
<el-form-item
label=
"稽核名称:"
prop=
"batchYear"
class=
"fromItem"
>
<el-form-item
label=
"稽核名称:"
prop=
"auditName"
class=
"fromItem"
>
<el-input
v-model=
"ruleFormdialog.batchYear"
disabled
></el-input>
<el-input
v-model=
"ruleFormdialogXQ.auditName"
disabled
></el-input>
</el-form-item>
<el-form-item
label=
"稽核时间:"
class=
"fromItem"
prop=
"dates"
>
<el-date-picker
@
change=
"timeChange"
v-model=
"ruleFormdialogXQ.dates"
style=
"width: 240px"
value-format=
"yyyy-MM-dd"
type=
"daterange"
range-separator=
"-"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
disabled
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
label=
"稽核
时间
:"
label=
"稽核
频率
:"
prop=
"
planReviewDate
"
prop=
"
auditFrequency
"
class=
"fromItem"
class=
"fromItem"
>
>
<el-date-picker
<el-select
v-model=
"ruleFormdialog.value1"
v-model=
"ruleFormdialogXQ.auditFrequency"
type=
"datetimerange"
placeholder=
"请选择"
range-separator=
"至"
disabled
start-placeholder=
"请选择开始日期"
end-placeholder=
"请选择结束日期"
>
>
</el-date-picker>
<el-option
label=
"仅一次"
value=
"0"
></el-option>
</el-form-item>
<el-option
label=
"每周"
value=
"1"
></el-option>
<el-form-item
label=
"稽核范围:"
prop=
"batchYear"
class=
"fromItem"
>
<el-option
label=
"每月"
value=
"2"
></el-option>
<el-input
v-model=
"ruleFormdialog.batchYear"
disabled
></el-input>
<el-option
label=
"每季度"
value=
"3"
></el-option>
</el-form-item>
<el-option
label=
"每年"
value=
"4"
></el-option>
<el-form-item
label=
"稽核频率:"
prop=
"batchYear"
class=
"fromItem"
>
</el-select>
<el-input
v-model=
"ruleFormdialog.batchYear"
disabled
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<p
class=
"zjBtn"
>
稽核规则配置
</p>
<p
class=
"zjBtn"
>
稽核规则配置
</p>
<
el-table
<
div
class=
"setscroll"
>
@
selection-change=
"handleSelectionChange"
<el-table
:data=
"XQtableData"
:data=
"XQtableData"
tooltip-effect=
"dark"
tooltip-effect=
"dark"
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
label=
"规则名称"
width=
"auto"
prop=
"projectId"
>
<el-table-column
label=
"规则名称"
width=
"ruleName"
prop=
"projectId"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"projectName"
label=
"规则类型"
width=
"auto"
>
<el-table-column
prop=
"ruleType"
label=
"规则类型"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"projectCategory"
label=
"稽核异常项目清单"
width=
"auto"
>
<el-table-column
prop=
"projectName"
</el-table-column>
label=
"稽核异常项目清单"
</el-table>
width=
"auto"
show-overflow-tooltip
>
</el-table-column>
</el-table>
</div>
<!--
<el-pagination
@
size-change=
"handleSizeChangeXQ"
@
current-change=
"handleCurrentChangeXQ"
:current-page=
"currentPageXQ"
:page-sizes=
"[5, 10, 15, 20]"
:page-size=
"100"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"total"
class=
"elpagination"
>
</el-pagination>
-->
<p
class=
"midBtn"
>
<span
@
click=
"cancelXQ()"
>
取消
</span
><span
@
click=
"saveXZ()"
v-show=
"false"
>
保存
</span>
</p>
</div>
</div>
</el-dialog>
</el-dialog>
<!-- 确认弹窗 -->
<!-- 下发弹窗 -->
<el-dialog
<el-dialog
title=
"稽核
结果确认
"
title=
"稽核
问题下发
"
:visible
.
sync=
"dialog
QR
"
:visible
.
sync=
"dialog
XF
"
width=
"90%"
width=
"90%"
:modal-append-to-body=
"false"
:modal-append-to-body=
"false"
:append-to-body=
"false"
:append-to-body=
"false"
>
>
<div
class=
"dialog"
>
<div
class=
"dialog"
>
<el-form
<el-form
ref=
"formName"
:model=
"ruleFormdialogXQ"
:model=
"ruleFormdialog"
label-width=
"100px"
label-width=
"100px"
class=
"demo-ruleForm"
class=
"demo-ruleForm"
:rules=
"rules"
>
>
<el-form-item
label=
"稽核名称:"
prop=
"batchYear"
class=
"fromItem"
>
<el-form-item
label=
"稽核名称:"
prop=
"auditName"
class=
"fromItem"
>
<el-input
v-model=
"ruleFormdialog.batchYear"
disabled
></el-input>
<el-input
v-model=
"ruleFormdialogXQ.auditName"
disabled
></el-input>
</el-form-item>
<el-form-item
label=
"稽核时间:"
class=
"fromItem"
prop=
"dates"
>
<el-date-picker
@
change=
"timeChange"
v-model=
"ruleFormdialogXQ.dates"
style=
"width: 240px"
value-format=
"yyyy-MM-dd"
type=
"daterange"
range-separator=
"-"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
disabled
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
label=
"稽核
时间
:"
label=
"稽核
频率
:"
prop=
"
planReviewDate
"
prop=
"
auditFrequency
"
class=
"fromItem"
class=
"fromItem"
>
>
<el-date-picker
<el-select
v-model=
"ruleFormdialog.value1"
v-model=
"ruleFormdialogXQ.auditFrequency"
type=
"datetimerange"
placeholder=
"请选择"
range-separator=
"至"
disabled
start-placeholder=
"请选择开始日期"
end-placeholder=
"请选择结束日期"
>
>
</el-date-picker>
<el-option
label=
"仅一次"
value=
"0"
></el-option>
</el-form-item>
<el-option
label=
"每周"
value=
"1"
></el-option>
<el-form-item
label=
"稽核范围:"
prop=
"batchYear"
class=
"fromItem"
>
<el-option
label=
"每月"
value=
"2"
></el-option>
<el-input
v-model=
"ruleFormdialog.batchYear"
disabled
></el-input>
<el-option
label=
"每季度"
value=
"3"
></el-option>
</el-form-item>
<el-option
label=
"每年"
value=
"4"
></el-option>
<el-form-item
label=
"稽核频率:"
prop=
"batchYear"
class=
"fromItem"
>
</el-select>
<el-input
v-model=
"ruleFormdialog.batchYear"
disabled
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<p
class=
"zjBtn"
>
稽核规则配置
</p>
<p
class=
"zjBtn"
>
稽核规则配置
</p>
<
el-table
<
div
class=
"setscroll"
>
@
selection-change=
"handleSelectionChange"
<el-table
:data=
"QR
tableData"
:data=
"XQ
tableData"
tooltip-effect=
"dark"
tooltip-effect=
"dark"
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
label=
"规则名称"
width=
"auto"
prop=
"projectId"
>
<el-table-column
label=
"规则名称"
width=
"ruleName"
prop=
"projectId"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"projectName"
label=
"规则类型"
width=
"auto"
>
<el-table-column
prop=
"ruleType"
label=
"规则类型"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"projectCategory"
label=
"稽核异常项目清单"
width=
"auto"
>
<el-table-column
prop=
"projectName"
</el-table-column>
label=
"稽核异常项目清单"
</el-table>
width=
"auto"
</div>
show-overflow-tooltip
</el-dialog>
>
<!-- 下发弹窗 -->
</el-table-column>
<el-dialog
<el-table-column
label=
"操作"
width=
"130"
>
title=
"稽核问题下发"
<template
slot-scope=
"scope"
>
:visible
.
sync=
"dialogXF"
<el-button
width=
"90%"
@
click=
"
:modal-append-to-body=
"false"
handleClick(scope.row, scope.$index, XQtableData)
:append-to-body=
"false"
"
type=
"text"
size=
"small"
>
删除
</el-button
>
</
template
>
</el-table-column>
</el-table>
</div>
<!-- <el-pagination
@size-change="handleSizeChangeXQ"
@current-change="handleCurrentChangeXQ"
:current-page="currentPageXQ"
:page-sizes="[5, 10, 15, 20]"
:page-size="100"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
class="elpagination"
>
>
<div
class=
"dialog"
>
</el-pagination> -->
<p
class=
"zjBtn"
>
稽核规则配置
</p>
<p
class=
"midBtn"
>
<el-table
<span
@
click=
"cancelXQ()"
>
取消
</span
@
selection-change=
"handleSelectionChange"
><span
@
click=
"saveXF()"
>
结果确认
</span>
:data=
"XFtableData"
<span
@
click=
"resaultXF()"
>
结果下发
</span>
tooltip-effect=
"dark"
</p>
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
label=
"规则名称"
width=
"auto"
prop=
"projectId"
>
</el-table-column>
<el-table-column
prop=
"projectName"
label=
"规则类型"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"projectCategory"
label=
"稽核异常项目清单"
width=
"auto"
>
</el-table-column>
</el-table>
</div>
</div>
</el-dialog>
</el-dialog>
</div>
</div>
</
template
>
</template>
<
script
>
<
script
>
import
{
MaterialsList
}
from
'@/utils/cache'
import
{
import
{
auditTasksResults
,
xqauditTasksResults
,
scauditTasksResults
,
jgxqResults
,
wtxfResults
fzcxselect
,
}
from
"@/api/index"
;
fzcxXqselect
,
export
default
{
wtqdqselect
,
data
()
{
clqdselect
,
return
{
selLcb
,
listData
:
{},
}
from
"@/api/index"
;
QRtableData
:
[],
export
default
{
dialogQR
:
false
,
data
()
{
XFtableData
:
[],
return
{
dialogXF
:
false
,
listData
:
{},
showButton
:
true
,
QRtableData
:[],
ruleForm
:
{
dialogQR
:
false
,
XFtableData
:[],
},
dialogXF
:
false
,
ruleFormdialog
:{},
showButton
:
true
,
tableData
:
[],
ruleForm
:
{
batchYear
:
""
,
checkedList
:
[],
batchName
:
""
,
currentPage
:
1
,
postEvalState
:
""
,
pageSize
:
10
,
projectName
:
""
,
total
:
0
,
projectId
:
""
,
dialog
:
false
,
},
ruleFormdialog
:
{
XQtableData
:
[],
batchYear
:
""
,
ruleFormdialogXQ
:
{},
batchName
:
""
,
currentPageXQ
:
''
,
planReviewDate
:
""
,
pageSizeXQ
:
''
,
fullName
:
""
,
};
},
},
mounted
()
{
tableData
:
[],
this
.
submitForm
();
},
checkedList
:
[],
methods
:
{
currentPage
:
1
,
timeChange
(
time
)
{
pageSize
:
10
,
if
(
time
)
{
currentPagetjcl
:
1
,
//给后端的参数
pageSizetjcl
:
10
,
this
.
ruleFormdialogAdd
.
auditStartTime
=
time
[
0
];
total
:
0
,
this
.
ruleFormdialogAdd
.
auditEndTime
=
time
[
1
];
dialog
:
false
,
}
activeName
:
"first"
,
},
mergingRows
:
[],
async
submitForm
()
{
lctableData
:[],
let
params
=
{
current
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
};
};
Object
.
assign
(
params
,
this
.
ruleForm
);
console
.
log
(
params
);
let
res
=
await
auditTasksResults
(
params
);
if
(
res
.
code
==
"200"
)
{
this
.
tableData
=
res
.
data
.
records
;
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
.
confirmStatus
==
0
)
{
this
.
$set
(
item
,
"confirmStatusText"
,
"未确认"
);
}
else
if
(
item
.
confirmStatus
==
1
)
{
this
.
$set
(
item
,
"confirmStatusText"
,
"未下发"
);
}
else
if
(
item
.
confirmStatus
==
2
)
{
this
.
$set
(
item
,
"confirmStatusText"
,
"已下发"
);
}
});
this
.
total
=
res
.
data
.
total
*
1
;
}
},
},
mounted
()
{
resetForm
(
formName
)
{
this
.
$refs
[
formName
].
resetFields
();
this
.
currentPage
=
1
;
this
.
pageSize
=
10
;
this
.
submitForm
();
this
.
submitForm
();
},
},
methods
:
{
//详情
async
submitForm
()
{
async
detailsForm
(
type
)
{
let
params
=
{
if
(
this
.
checkedList
.
length
!=
1
)
{
current
:
this
.
currentPage
,
this
.
$message
(
"请选择"
);
pageSize
:
this
.
pageSize
,
return
;
};
}
Object
.
assign
(
params
,
this
.
ruleForm
);
let
params
=
{
console
.
log
(
params
);
current
:
this
.
currentPageXQ
,
let
res
=
await
fzcxselect
(
params
);
pageSize
:
this
.
pageSizeXQ
,
auditId
:
this
.
checkedList
[
0
].
auditId
,
if
(
res
.
code
==
"200"
)
{
};
this
.
tableData
=
res
.
data
.
records
;
let
res
=
await
xqauditTasksResults
(
params
);
this
.
total
=
res
.
data
.
total
*
1
;
if
(
res
.
code
==
200
)
{
}
this
.
ruleFormdialogXQ
=
this
.
checkedList
[
0
];
},
this
.
ruleFormdialogXQ
.
dates
=
[
resetForm
(
formName
)
{
this
.
checkedList
[
0
].
auditStartTime
,
this
.
$refs
[
formName
].
resetFields
();
this
.
checkedList
[
0
].
auditEndTime
,
this
.
currentPage
=
1
;
];
this
.
pageSize
=
10
;
this
.
XQtableData
=
res
.
data
.
records
;
this
.
submitForm
();
console
.
log
(
this
.
XQtableData
,
'XQtableDataXQtableData'
)
},
if
(
type
==
'xq'
){
//详情
detailsForm
()
{
if
(
this
.
checkedList
.
length
!=
1
)
{
this
.
$message
(
"请选择"
);
return
;
}
this
.
dialog
=
true
;
this
.
dialog
=
true
;
let
params
=
{
}
else
{
batchId
:
this
.
checkedList
[
0
].
batchId
,
this
.
dialogXF
=
true
;
projectId
:
this
.
checkedList
[
0
].
projectId
,
}
};
Promise
.
all
([
fzcxXqselect
(
params
),
clqdselect
(
params
)]).
then
((
res
)
=>
{
}
console
.
log
(
res
[
0
],
res
[
1
],
"2222222"
);
this
.
listData
=
res
[
0
].
data
.
records
[
0
];
this
.
qdtableData
=
this
.
tableDataNew
if
(
res
[
1
].
data
.
records
.
length
>
0
)
{
// this.qdtableData = res[1].data.records;
this
.
qdtableData
=
this
.
qdtableData
.
concat
(
res
[
1
].
data
.
records
)
.
reduce
((
accumulator
,
currentObj
)
=>
{
const
existingObj
=
accumulator
.
find
(
(
obj
)
=>
obj
.
typeCode
==
currentObj
.
typeCode
);
if
(
existingObj
)
{
Object
.
assign
(
existingObj
,
currentObj
);
}
else
{
accumulator
.
push
(
currentObj
);
}
return
accumulator
;
},
[]);
console
.
log
(
this
.
tableDataQD
,
' mergedArray mergedArray mergedArray'
)
// this.tableDataQD.forEach((item) => {
// // this.$set(item, "batchtype", "开发、实施类");
// });
}
});
},
//表格颜色
tableRowClassName
({
row
,
rowIndex
})
{
if
(
rowIndex
%
2
==
1
)
{
return
"warning-row"
;
}
return
""
;
},
arraySpanMethod
({
row
,
column
,
rowIndex
,
columnIndex
})
{
if
(
columnIndex
===
0
)
{
//第一列
const
_row
=
this
.
mergingRows
[
rowIndex
];
const
_col
=
_row
>
0
?
1
:
0
;
return
{
rowspan
:
_row
,
colspan
:
_col
,
};
}
},
dataPretreatment
()
{
this
.
mergingRows
=
[]
this
.
mergingPos
=
0
;
for
(
let
i
=
0
;
i
<
this
.
xxtableData
.
length
;
i
++
)
{
// tabledata 表格数据源
if
(
i
==
0
)
{
this
.
mergingRows
.
push
(
1
);
this
.
mergingPos
=
0
;
}
else
{
if
(
this
.
xxtableData
[
i
].
projectStage
===
this
.
xxtableData
[
i
-
1
].
projectStage
)
{
//哪些数据是要合并的 合并的条件是什么
this
.
mergingRows
[
this
.
mergingPos
]
+=
1
;
this
.
mergingRows
.
push
(
0
);
}
else
{
this
.
mergingRows
.
push
(
1
);
this
.
mergingPos
=
i
;
}
}
}
},
async
handleClick
()
{
console
.
log
(
this
.
activeName
,
"this.activeName"
);
if
(
this
.
activeName
==
"second"
)
{
let
params
=
{
batchId
:
this
.
checkedList
[
0
].
batchId
,
projectId
:
this
.
checkedList
[
0
].
projectId
,
};
this
.
xxtableData
=
[]
let
res
=
await
wtqdqselect
(
params
);
if
(
res
.
code
==
"200"
)
{
this
.
xxtableData
=
res
.
data
.
records
;
this
.
total
=
res
.
data
.
total
*
1
;
}
this
.
xxtableData
.
forEach
((
item
)
=>
{
switch
(
item
.
projectStage
)
{
case
1
:
this
.
$set
(
item
,
"projectStagetext"
,
"1.可研"
);
break
;
case
2
:
this
.
$set
(
item
,
"projectStagetext"
,
"2.计划"
);
break
;
case
3
:
this
.
$set
(
item
,
"projectStagetext"
,
"3.采购"
);
break
;
case
4
:
this
.
$set
(
item
,
"projectStagetext"
,
"4.合同"
);
break
;
case
5
:
this
.
$set
(
item
,
"projectStagetext"
,
"5.执行"
);
break
;
case
6
:
this
.
$set
(
item
,
"projectStagetext"
,
"6.结决算及转资"
);
break
;
}
});
this
.
dataPretreatment
();
}
else
if
(
this
.
activeName
==
"third"
)
{
let
params
=
{
batchId
:
this
.
checkedList
[
0
].
batchId
,
projectId
:
this
.
checkedList
[
0
].
projectId
,
};
let
res
=
await
selLcb
(
params
);
if
(
res
.
code
==
"200"
)
{
this
.
lctableData
=
res
.
data
;
}
}
},
//主列表选中行信息
handleSelectionChange
(
selection
)
{
if
(
Array
.
isArray
(
selection
)
&&
selection
.
length
>
1
)
{
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
selection
[
0
],
false
);
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
selection
[
1
],
true
);
}
this
.
checkedList
=
this
.
$refs
.
multipleTable
.
selection
;
this
.
ruleFormdialog
=
this
.
checkedList
[
0
];
console
.
log
(
this
.
checkedList
,
"2222"
);
},
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
this
.
pageSize
=
val
;
this
.
submitForm
()
},
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
this
.
currentPage
=
val
;
this
.
submitForm
()
},
cancel
()
{
this
.
dialog
=
false
;
},
},
},
};
</
script
>
//表格颜色
<
style
scoped
lang=
"scss"
>
tableRowClassName
({
row
,
rowIndex
})
{
.main
{
if
(
rowIndex
%
2
==
1
)
{
font-size
:
14px
;
return
"warning-row"
;
position
:
relative
;
height
:
100%
;
width
:
100%
;
box-sizing
:
border-box
;
overflow-x
:
hidden
;
}
.el-form
{
display
:
flex
;
width
:
100%
;
flex-wrap
:
wrap
;
border-top
:
2px
solid
#23c6c8
;
border-left
:
1px
solid
#dee5e7
;
border-right
:
1px
solid
#dee5e7
;
border-bottom
:
1px
solid
#dee5e7
;
padding
:
20px
10px
;
margin-bottom
:
20px
;
.fromItem
{
min-width
:
24%
;
margin
:
0
0.5%
;
margin-bottom
:
20px
;
.el-input
{
width
:
226px
;
}
}
.el-select
{
return
""
;
width
:
226px
;
},
//主列表选中行信息
handleSelectionChange
(
selection
)
{
if
(
Array
.
isArray
(
selection
)
&&
selection
.
length
>
1
)
{
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
selection
[
0
],
false
);
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
selection
[
1
],
true
);
}
this
.
checkedList
=
this
.
$refs
.
multipleTable
.
selection
;
this
.
ruleFormdialog
=
this
.
checkedList
[
0
];
console
.
log
(
this
.
checkedList
,
"2222"
);
},
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
this
.
pageSize
=
val
;
this
.
submitForm
();
},
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
this
.
currentPage
=
val
;
this
.
submitForm
();
},
cancelXQ
()
{
this
.
dialog
=
false
;
this
.
dialogXF
=
false
;
},
async
handleClick
(
row
,
index
,
rows
)
{
console
.
log
(
"删除"
,
row
);
rows
.
splice
(
index
,
1
);
this
.
XQtableData
=
rows
;
let
params
=
{
auditId
:
this
.
checkedList
[
0
].
auditId
,
ruleId
:
row
.
ruleId
,
projectId
:
row
.
projectId
,
}
let
res
=
await
scauditTasksResults
(
params
)
},
//结果确认
async
saveXF
(){
let
params
=
{
auditId
:
this
.
checkedList
[
0
].
auditId
,
}
let
res
=
await
jgxqResults
(
params
)
},
//结果下发
async
resaultXF
(){
let
params
=
{
auditId
:
this
.
checkedList
[
0
].
auditId
,
}
let
res
=
await
wtxfResults
(
params
)
if
(
res
.
code
==
200
){
this
.
dialogXF
=
false
;
this
.
resetForm
();
}
}
}
}
/
deep
/
.el-form-item__content
{
},
text-align
:
left
;
};
display
:
inline-block
;
</
script
>
margin-left
:
10px
!important
;
<
style
scoped
lang=
"scss"
>
.main
{
font-size
:
14px
;
position
:
relative
;
height
:
100%
;
width
:
100%
;
box-sizing
:
border-box
;
overflow-x
:
hidden
;
}
.el-form
{
display
:
flex
;
width
:
100%
;
flex-wrap
:
wrap
;
border-top
:
2px
solid
#23c6c8
;
border-left
:
1px
solid
#dee5e7
;
border-right
:
1px
solid
#dee5e7
;
border-bottom
:
1px
solid
#dee5e7
;
padding
:
20px
10px
;
margin-bottom
:
20px
;
.fromItem
{
min-width
:
24%
;
margin
:
0
0.5%
;
margin-bottom
:
20px
;
.el-input
{
width
:
226px
;
}
}
/
deep
/
.el-form-item__label
{
.el-select
{
font-weight
:
bold
;
width
:
226px
;
color
:
#000
;
width
:
160px
!important
;
}
}
.button
{
}
display
:
inline-block
;
/
deep
/
.el-form-item__content
{
width
:
100%
;
text-align
:
left
;
display
:
inline-block
;
margin-left
:
10px
!important
;
}
/
deep
/
.el-form-item__label
{
font-weight
:
bold
;
color
:
#000
;
width
:
160px
!important
;
}
.button
{
display
:
inline-block
;
width
:
100%
;
text-align
:
left
;
/deep/
.el-form-item__content
{
margin-left
:
20px
!important
;
text-align
:
left
;
text-align
:
left
;
/deep/
.el-form-item__content
{
img
{
margin-left
:
20px
!important
;
width
:
14px
;
text-align
:
left
;
height
:
14px
;
img
{
margin-right
:
15px
;
width
:
14px
;
vertical-align
:
middle
;
height
:
14px
;
margin-right
:
15px
;
vertical-align
:
middle
;
}
}
.el-button
{
background-color
:
#23c6c8
;
border-color
:
#23c6c8
;
color
:
#fff
;
}
}
}
}
.el-button
{
background-color
:
#23c6c8
;
border-color
:
#23c6c8
;
color
:
#fff
;
}
}
}
.eltable
{
}
width
:
100%
;
.eltable
{
box-sizing
:
border-box
;
width
:
100%
;
}
box-sizing
:
border-box
;
/
deep
/
.el-table
.warning-row
{
}
background
:
#f0ffff
;
/
deep
/
.el-table
.warning-row
{
//
color
:
#2785e6
;
background
:
#f0ffff
;
}
//
color
:
#2785e6
;
.elpagination
{
}
text-align
:
right
;
.elpagination
{
margin-right
:
100px
;
text-align
:
right
;
margin-right
:
100px
;
}
/
deep
/
.el-dialog
{
border-radius
:
10px
;
margin-top
:
3vh
!important
;
margin-left
:
3vw
!important
;
//
height
:
500px
;
//
box-sizing
:
border-box
;
//
overflow-y
:
auto
;
}
/
deep
/
.el-dialog__wrapper
{
position
:
absolute
;
}
/
deep
/
.v-modal
{
position
:
absolute
;
}
/
deep
/
.el-dialog__header
{
background-color
:
#0d867f
;
//
padding-bottom
:
20px
;
text-align
:
left
;
border-radius
:
10px
10px
0
0
;
.el-dialog__title
{
color
:
#fff
;
}
}
/
deep
/
.el-dialog
{
}
border-radius
:
10px
;
/
deep
/
.el-table__header
th
{
margin-top
:
3vh
!important
;
background-color
:
#eeeeee
;
margin-left
:
3vw
!important
;
font-weight
:
bold
;
//
height
:
500px
;
.cell
{
//
box-sizing
:
border-box
;
color
:
#333
;
//
overflow-y
:
auto
;
}
}
/
deep
/
.el-dialog__wrapper
{
}
position
:
absolute
;
/
deep
/
.el-table
{
width
:
100%
;
.el-table__header-wrapper
table,
.el-table__body-wrapper
table
{
width
:
100%
!important
;
}
}
/
deep
/
.v-modal
{
.el-table__body
,
position
:
absolute
;
.el-table__footer
,
.el-table__header
{
table-layout
:
auto
;
}
}
/
deep
/
.el-dialog__header
{
}
background-color
:
#0d867f
;
.dialog
{
//
padding-bottom
:
20px
;
.title
{
text-align
:
left
;
text-align
:
left
;
border-radius
:
10px
10px
0
0
;
font-size
:
18px
;
.el-dialog__title
{
font-family
:
"PingFangSC-Regular"
,
"PingFang SC"
,
sans-serif
;
color
:
#fff
;
font-weight
:
400
;
}
font-style
:
normal
;
}
font-size
:
16px
;
/
deep
/
.el-table__header
th
{
color
:
#1ec695
;
background-color
:
#eeeeee
;
text-align
:
left
;
font-weight
:
bold
;
height
:
20px
;
.cell
{
margin-top
:
0
;
color
:
#333
;
span
{
border-radius
:
2px
;
display
:
inline-block
;
width
:
5px
;
height
:
18px
;
background-color
:
#1ec695
;
margin-right
:
14px
;
vertical-align
:
middle
;
}
}
}
}
.content
{
/
deep
/
.el-table
{
width
:
100%
;
width
:
100%
;
.el-table__header-wrapper
table,
display
:
flex
;
.el-table__body-wrapper
table
{
flex-wrap
:
wrap
;
width
:
100%
!important
;
p
{
}
width
:
24%
;
.el-table__body
,
.el-table__footer
,
.el-table__header
{
table-layout
:
auto
;
}
}
.dialog
{
.title
{
text-align
:
left
;
font-size
:
18px
;
font-family
:
"PingFangSC-Regular"
,
"PingFang SC"
,
sans-serif
;
font-weight
:
400
;
font-style
:
normal
;
font-size
:
16px
;
color
:
#1ec695
;
text-align
:
left
;
text-align
:
left
;
height
:
20px
;
margin-top
:
0
;
span
{
border-radius
:
2px
;
display
:
inline-block
;
width
:
5px
;
height
:
18px
;
background-color
:
#1ec695
;
margin-right
:
14px
;
vertical-align
:
middle
;
}
}
.content
{
width
:
100%
;
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
label
{
p
{
display
:
inline-block
;
width
:
24%
;
text-align
:
left
;
display
:
flex
;
label
{
display
:
inline-block
;
width
:
150px
;
flex-shrink
:
0
;
text-align
:
right
;
font-weight
:
bold
;
margin-right
:
20px
;
vertical-align
:
middle
;
}
span
{
display
:
inline-block
;
text-align
:
left
}
}
}
.table
{
width
:
100%
;
display
:
flex
;
p
{
width
:
150px
;
width
:
150px
;
flex-shrink
:
0
;
text-align
:
right
;
text-align
:
right
;
font-weight
:
bold
;
font-weight
:
bold
;
margin-right
:
20px
;
vertical-align
:
middle
;
}
}
.tablepg
{
span
{
margin-top
:
20px
;
display
:
inline-block
;
margin-left
:
5px
;
text-align
:
left
;
}
}
}
}
}
}
.t
extarea
{
.t
able
{
width
:
100%
;
width
:
100%
;
.el-textarea
{
display
:
flex
;
width
:
60%
;
p
{
}
width
:
150px
;
}
text-align
:
right
;
.Btn
{
font-weight
:
bold
;
width
:
200px
;
margin
:
0
auto
;
span
{
display
:
inline-block
;
width
:
80px
;
height
:
25px
;
line-height
:
25px
;
text-align
:
center
;
border-radius
:
4px
;
margin-right
:
12px
;
}
}
span
:first-of-type
{
.tablepg
{
border
:
1px
solid
#000
;
margin-top
:
20px
;
}
margin-left
:
5px
;
span
:last-of-type
{
background-color
:
#0d867f
;
border
:
1px
solid
#0d867f
;
color
:
#fff
;
}
}
}
}
/
deep
/
.el-dialog__headerbtn
.el-dialog__close
{
}
color
:
#fff
;
.textarea
{
width
:
100%
;
.el-textarea
{
width
:
60%
;
}
}
/
deep
/
.el-table
th
.el-table__cell.is-leaf
,
}
.el-table
td
.el-table__cell
{
.Btn
{
width
:
200px
;
margin
:
0
auto
;
span
{
display
:
inline-block
;
width
:
80px
;
height
:
25px
;
line-height
:
25px
;
text-align
:
center
;
text-align
:
center
;
border-radius
:
4px
;
margin-right
:
12px
;
}
}
/
deep
/
.el-table__cell
{
span
:first-of-type
{
text-align
:
center
;
border
:
1px
solid
#000
;
}
}
span
:last-of-type
{
h3
{
background-color
:
#0d867f
;
text-align
:
left
;
border
:
1px
solid
#0d867f
;
color
:
#fff
;
}
}
/
deep
/
.el-dialog__body
{
}
padding
:
0
10px
;
/
deep
/
.el-dialog__headerbtn
.el-dialog__close
{
color
:
#fff
;
h3
{
}
margin
:
10px
0
;
/
deep
/
.el-table
th
.el-table__cell.is-leaf
,
}
.el-table
td
.el-table__cell
{
text-align
:
center
;
}
/
deep
/
.el-table__cell
{
text-align
:
center
;
}
h3
{
text-align
:
left
;
}
/
deep
/
.el-dialog__body
{
padding
:
0
10px
;
h3
{
margin
:
10px
0
;
}
}
/
deep
/
.el-descriptions-item__container
.el-descriptions-item__label
{
}
font-weight
:
bold
;
/
deep
/
.el-descriptions-item__container
.el-descriptions-item__label
{
width
:
100px
;
font-weight
:
bold
;
text-align
:
right
;
width
:
100px
;
text-align
:
right
;
}
/
deep
/
.el-tabs__content
{
overflow
:
auto
;
height
:
500px
;
padding-bottom
:
20px
;
}
.close
{
width
:
100%
;
height
:
40px
;
line-height
:
20px
;
span
{
display
:
inline-block
;
width
:
80px
;
height
:
30px
;
line-height
:
30px
;
border
:
1px
solid
grey
;
border-radius
:
5px
;
}
}
/
deep
/
.el-tabs__content
{
}
.setscrolldialog
{
width
:
100%
;
height
:
300px
;
overflow
:
auto
;
box-sizing
:
border-box
;
/deep/
.el-table
{
width
:
96%
!important
;
height
:
300px
;
overflow
:
auto
;
overflow
:
auto
;
height
:
500px
;
padding-bottom
:
20px
;
}
}
.close
{
}
width
:
100%
;
.zjBtn
{
height
:
40px
;
width
:
400px
;
line-height
:
20px
;
text-align
:
left
;
span
{
vertical-align
:
middle
;
display
:
inline-block
;
span
{
width
:
80px
;
display
:
inline-block
;
height
:
30px
;
width
:
140px
;
line-height
:
30px
;
height
:
25px
;
border
:
1px
solid
grey
;
line-height
:
25px
;
border-radius
:
5px
;
text-align
:
center
;
}
border-radius
:
5px
;
vertical-align
:
middle
;
}
}
.setscroll
{
}
width
:
100%
;
.midBtn
{
height
:
650px
;
margin
:
0
auto
;
position
:
relative
;
height
:
50px
;
overflow
:
auto
;
line-height
:
50px
;
span
{
display
:
inline-block
;
width
:
80px
;
height
:
25px
;
line-height
:
25px
;
text-align
:
center
;
margin-right
:
10px
;
border-radius
:
5px
;
background-color
:
#4ca6a7
;
color
:
#fff
;
}
}
.setscrolldialog
{
span
:first-of-type
{
width
:
100%
;
border
:
1px
solid
grey
;
height
:
300px
;
background-color
:
#fff
;
overflow
:
auto
;
color
:
#333
;
box-sizing
:
border-box
;
}
/deep/
.el-table
{
width
:
96%
!important
;
}
height
:
300px
;
.setscroll
{
overflow
:
auto
;
width
:
100%
;
}
height
:
585px
;
position
:
relative
;
overflow
:
auto
;
}
.dialog
{
.el-form
{
border
:
none
!important
;
border-top
:
none
;
border-left
:
none
;
border-right
:
none
;
border-bottom
:
none
;
}
}
</
style
>
}
\ No newline at end of file
</
style
>
\ No newline at end of file
src/views/projectCheck/problemRectify.vue
View file @
0816a06
...
@@ -3,26 +3,42 @@
...
@@ -3,26 +3,42 @@
<div
class=
"main"
>
<div
class=
"main"
>
<el-form
<el-form
:model=
"ruleForm"
:model=
"ruleForm"
ref=
"ruleForm"
label-width=
"100px"
label-width=
"100px"
class=
"demo-ruleForm"
class=
"demo-ruleForm"
ref=
"formName"
>
>
<el-form-item
label=
"项目名称:"
prop=
"
batch
Name"
class=
"fromItem"
>
<el-form-item
label=
"项目名称:"
prop=
"
project
Name"
class=
"fromItem"
>
<el-input
<el-input
v-model=
"ruleForm.
batch
Name"
v-model=
"ruleForm.
audit
Name"
placeholder=
"请输入"
placeholder=
"请输入"
clearable
clearable
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"稽核名称:"
prop=
"
batch
Name"
class=
"fromItem"
>
<el-form-item
label=
"稽核名称:"
prop=
"
audit
Name"
class=
"fromItem"
>
<el-input
<el-input
v-model=
"ruleForm.
batch
Name"
v-model=
"ruleForm.
audit
Name"
placeholder=
"请输入"
placeholder=
"请输入"
clearable
clearable
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"稽核时间:"
prop=
"projectId"
class=
"fromItem"
>
<el-form-item
<el-date-picker
v-model=
"reviewTime"
type=
"date"
placeholder=
"选择日期"
>
label=
"稽核开始时间:"
prop=
"auditStartTime"
class=
"fromItem"
>
<el-date-picker
v-model=
"ruleForm.auditStartTime"
type=
"date"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
<el-form-item
label=
"稽核结束时间:"
prop=
"auditEndTime"
class=
"fromItem"
>
<el-date-picker
v-model=
"ruleForm.auditEndTime"
type=
"date"
placeholder=
"选择日期"
>
</el-date-picker>
</el-date-picker>
</el-form-item>
</el-form-item>
...
@@ -30,17 +46,13 @@
...
@@ -30,17 +46,13 @@
<el-button
@
click=
"submitForm()"
>
<el-button
@
click=
"submitForm()"
>
<img
class=
"buttonIcon"
src=
"../../assets/cx.png"
/>
查询
</el-button
<img
class=
"buttonIcon"
src=
"../../assets/cx.png"
/>
查询
</el-button
>
>
<el-button
@
click=
"resetForm(
'ruleForm'
)"
>
<el-button
@
click=
"resetForm()"
>
<img
class=
"buttonIcon"
src=
"../../assets/cz.png"
/>
重置
</el-button
<img
class=
"buttonIcon"
src=
"../../assets/cz.png"
/>
重置
</el-button
>
>
<el-button
@
click=
"detailsForm('')"
>
<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=
"confirm()"
>
<el-button
@
click=
"detailsForm('xf')"
>
<i
class=
"el-icon-chat-dot-square"
></i
>
问题整改
</el-button
>
<el-button
@
click=
"appeal()"
>
<i
class=
"el-icon-document-remove"
></i
<i
class=
"el-icon-document-remove"
></i
>
整改提交
</el-button
>
整改提交
</el-button
>
>
...
@@ -52,6 +64,7 @@
...
@@ -52,6 +64,7 @@
ref=
"multipleTable"
ref=
"multipleTable"
:data=
"tableData"
:data=
"tableData"
tooltip-effect=
"dark"
tooltip-effect=
"dark"
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"
...
@@ -60,20 +73,20 @@
...
@@ -60,20 +73,20 @@
<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=
"batchYear"
>
</el-table-column>
<el-table-column
label=
"项目名称"
prop=
"projectName"
>
</el-table-column>
<el-table-column
prop=
"batchName"
label=
"项目经理"
>
</el-table-column>
<el-table-column
prop=
"personCharge"
label=
"项目经理"
>
</el-table-column>
<el-table-column
<el-table-column
prop=
"
projec
tName"
prop=
"
audi
tName"
label=
"稽核名称"
label=
"稽核名称"
show-overflow-tooltip
show-overflow-tooltip
>
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"projectCategory"
label=
"检查异常项"
>
<el-table-column
prop=
"abnormalResults"
label=
"检查异常项"
>
</el-table-column>
<el-table-column
prop=
"projectStatus"
label=
"稽核时间"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"expertName"
label=
"问题整改状态"
>
<el-table-column
prop=
"auditTime"
label=
"稽核时间"
>
</el-table-column>
<el-table-column
prop=
"rectificationStatus"
label=
"问题整改状态"
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
...
@@ -88,332 +101,290 @@
...
@@ -88,332 +101,290 @@
class=
"elpagination"
class=
"elpagination"
>
>
</el-pagination>
</el-pagination>
<!--
问题整改
-->
<!--
详情弹窗
-->
<el-dialog
<el-dialog
title=
"
复核情况
"
title=
"
稽核问题整改
"
:visible
.
sync=
"dialog
QR
"
:visible
.
sync=
"dialog"
width=
"
79
%"
width=
"
90
%"
:modal-append-to-body=
"false"
:modal-append-to-body=
"false"
:append-to-body=
"false"
:append-to-body=
"false"
@
close=
"closed"
>
>
<div
class=
"dialog"
>
<div
class=
"dialog"
>
<h3>
<el-form
项目名称:一期项目-电力营销-2023年网上国网(网上国网V1.0)-设计开发项目
:model=
"ruleFormdialogXQ"
</h3>
label-width=
"100px"
<div
class=
"continer"
>
class=
"demo-ruleForm"
<p
class=
"xqtitle"
><span></span>
问题清单
</p>
>
<div
class=
"setTable"
>
<el-form-item
label=
"稽核名称:"
prop=
"auditName"
class=
"fromItem"
>
<el-table
<el-input
v-model=
"ruleFormdialogXQ.auditName"
disabled
></el-input>
:data=
"tableDataQR"
</el-form-item>
tooltip-effect=
"dark"
style=
"width: 100%"
<el-form-item
label=
"稽核时间:"
class=
"fromItem"
prop=
"dates"
>
header-cell-class-name=
"custom-th-background"
<el-date-picker
class=
"eltable"
v-model=
"ruleFormdialogXQ.auditTime"
:row-class-name=
"tableRowClassName"
value-format=
"yyyy-MM-dd hh:mm:ss"
:span-method=
"arraySpanMethod"
disabled
border
></el-date-picker>
</el-form-item>
<el-form-item
label=
"稽核频率:"
prop=
"auditFrequency"
class=
"fromItem"
>
<el-select
v-model=
"ruleFormdialogXQ.auditFrequency"
placeholder=
"请选择"
disabled
>
>
<el-table-column
<el-option
label=
"仅一次"
value=
"0"
></el-option>
label=
"项目环节"
<el-option
label=
"每周"
value=
"1"
></el-option>
prop=
"projectStagetext"
<el-option
label=
"每月"
value=
"2"
></el-option>
width=
"150"
<el-option
label=
"每季度"
value=
"3"
></el-option>
>
<el-option
label=
"每年"
value=
"4"
></el-option>
</el-table-column>
</el-select>
<el-table-column
label=
"序号"
width=
"100"
prop=
"questionId"
>
</el-form-item>
</el-table-column>
</el-form>
<p
class=
"zjBtn"
>
稽核结果
</p>
<div
class=
"setscroll"
>
<el-table
:data=
"XQtableData"
tooltip-effect=
"dark"
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
<el-table-column
label=
"问题检查项"
label=
"项目名称"
prop=
"quesCheckItem"
width=
"auto"
width=
"200"
prop=
"projectName"
>
show-overflow-tooltip
</el-table-column>
>
<el-table-column
</el-table-column>
label=
"检查说明"
<el-table-column
label=
"规则名称"
width=
"ruleName"
prop=
"projectId"
>
prop=
"checkDesc"
</el-table-column>
show-overflow-tooltip
<el-table-column
prop=
"ruleType"
label=
"规则类型"
width=
"auto"
>
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"问题申诉"
width=
"auto"
>
<el-table-column
<template
slot-scope=
"scope"
>
label=
"评估问题"
<el-switch
prop=
"evalQues"
disabled
show-overflow-tooltip
v-model=
"scope.row.confirmStatus"
>
active-color=
"#C0C0C0"
</el-table-column>
inactive-color=
"#13ce66"
<el-table-column
label=
"问题确认"
width=
"auto"
>
active-value=
"2"
<template
slot-scope=
"scope"
>
inactive-value=
"1"
<el-switch
active-text=
"无异议"
v-model=
"scope.row.confirmStatus"
inactive-text=
"有异议"
active-color=
"#C0C0C0"
@
change=
"controlSwitch($event, scope.row)"
inactive-color=
"#13ce66"
active-value=
"2"
inactive-value=
"1"
active-text=
"无异议"
inactive-text=
"有异议"
@
change=
"controlSwitch($event, scope.row)"
disabled
>
<template
v-slot:active
>
<span>
开启
</span>
</
template
>
<
template
v-slot:inactive
>
<span>
关闭
</span>
</
template
>
</el-switch>
</template>
</el-table-column>
<el-table-column
label=
"解释批注"
width=
"200"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
<el-input
v-model=
"scope.row.feedback"
></el-input>
</
template
>
</el-table-column>
<el-table-column
label=
"附加解释材料"
prop=
"fileId"
width=
"400"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
<input
type=
"file"
@
change=
"handleFileUpload($event, scope.row, 'fileId')"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"复核情况"
prop=
"rectificationStatus"
width=
"200"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
<el-select
v-model=
"scope.row.appealStatus"
placeholder=
"请选择"
disabled
>
<el-option
label=
"请选择"
value=
""
></el-option>
<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-select>
</
template
>
</el-table-column>
<el-table-column
label=
"上传整改材料"
prop=
"zgFileId"
width=
"400"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
<input
type=
"file"
@
change=
"handleFileUpload($event, scope.row, 'zgFileId')"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"情况说明"
prop=
"zgqkFileId"
width=
"400"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
>
<input
<template
v-slot:active
>
type=
"file"
<span>
开启
</span>
@
change=
"handleFileUpload($event, scope.row, 'zgqkFileId')"
</
template
>
/>
<
template
v-slot:inactive
>
</
template
>
<span>
关闭
</span>
</el-table-column>
</
template
>
</el-table>
</el-switch>
</div>
</template>
</el-table-column>
</el-table>
</div>
</div>
<!-- <el-pagination
@size-change="handleSizeChangeXQ"
@current-change="handleCurrentChangeXQ"
:current-page="currentPageXQ"
:page-sizes="[5, 10, 15, 20]"
:page-size="100"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
class="elpagination"
>
</el-pagination> -->
<p
class=
"midBtn"
>
<span
@
click=
"cancelXQ()"
>
取消
</span
><span
@
click=
"saveXZ()"
v-show=
"false"
>
保存
</span>
</p>
</div>
</div>
<p
class=
"midBtn"
>
<span
@
click=
"cancelSS()"
>
取消
</span><span
@
click=
"saveSS()"
>
保存
</span>
</p>
</el-dialog>
</el-dialog>
<!-- 复核下发 -->
<!-- 下发弹窗 -->
<el-dialog
<el-dialog
title=
"
复核情况
"
title=
"
稽核问题整改
"
:visible
.
sync=
"dialog
SS
"
:visible
.
sync=
"dialog
XF
"
width=
"
79
%"
width=
"
90
%"
:modal-append-to-body=
"false"
:modal-append-to-body=
"false"
:append-to-body=
"false"
:append-to-body=
"false"
>
>
<div
class=
"dialog"
>
<div
class=
"dialog"
>
<h3>
<el-form
项目名称:一期项目-电力营销-2023年网上国网(网上国网V1.0)-设计开发项目
:model=
"ruleFormdialogXQ"
</h3>
label-width=
"100px"
<div
class=
"continer"
>
class=
"demo-ruleForm"
<p
class=
"xqtitle"
><span></span>
问题清单
</p>
>
<div
class=
"setTable"
>
<el-form-item
label=
"稽核名称:"
prop=
"auditName"
class=
"fromItem"
>
<el-table
<el-input
v-model=
"ruleFormdialogXQ.auditName"
disabled
></el-input>
:data=
"tableDataSS"
</el-form-item>
tooltip-effect=
"dark"
style=
"width: 100%"
header-cell-class-name=
"custom-th-background"
class=
"eltable"
:row-class-name=
"tableRowClassName"
:span-method=
"arraySpanMethodss"
border
>
<el-table-column
label=
"项目环节"
prop=
"projectStagetext"
width=
"150"
>
</el-table-column>
<el-table-column
label=
"序号"
width=
"100"
prop=
"questionId"
>
</el-table-column>
<el-table-column
<el-form-item
label=
"稽核时间:"
class=
"fromItem"
prop=
"dates"
>
label=
"问题检查项"
<el-date-picker
prop=
"quesCheckItem"
v-model=
"ruleFormdialogXQ.auditTime"
width=
"200"
value-format=
"yyyy-MM-dd hh:mm:ss"
>
disabled
</el-table-column>
></el-date-picker>
<el-table-column
</el-form-item>
label=
"检查说明"
<el-form-item
prop=
"checkDesc"
label=
"稽核频率:"
show-overflow-tooltip
prop=
"auditFrequency"
>
class=
"fromItem"
</el-table-column>
>
<el-table-column
<el-select
label=
"评估问题"
v-model=
"ruleFormdialogXQ.auditFrequency"
prop=
"evalQues"
placeholder=
"请选择"
show-overflow-tooltip
disabled
>
>
</el-table-column>
<el-option
label=
"仅一次"
value=
"0"
></el-option>
<el-table-column
label=
"问题确认"
width=
"auto"
>
<el-option
label=
"每周"
value=
"1"
></el-option>
<
template
slot-scope=
"scope"
>
<el-option
label=
"每月"
value=
"2"
></el-option>
<el-switch
<el-option
label=
"每季度"
value=
"3"
></el-option>
v-model=
"scope.row.confirmStatus"
<el-option
label=
"每年"
value=
"4"
></el-option>
active-color=
"#C0C0C0"
</el-select>
inactive-color=
"#13ce66"
</el-form-item>
active-value=
"2"
</el-form>
inactive-value=
"1"
<p
class=
"zjBtn"
>
稽核结果
</p>
active-text=
"无异议"
<div
class=
"setscroll"
>
inactive-text=
"有异议"
<el-table
disabled
:data=
"XQtableData"
@
change=
"controlSwitch($event, scope.row)"
tooltip-effect=
"dark"
>
style=
"width: 100%"
<template
v-slot:active
>
header-cell-class-name=
"custom-th-background"
<span>
开启
</span>
class=
"eltable"
</
template
>
:row-class-name=
"tableRowClassName"
<
template
v-slot:inactive
>
border
<span>
关闭
</span>
>
</
template
>
<el-table-column
label=
"序号"
width=
"55"
type=
"index"
>
</el-switch>
</el-table-column>
</template>
</el-table-column>
<el-table-column
label=
"解释批注"
width=
"200"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
<el-input
v-model=
"scope.row.feedback"
disabled
></el-input>
</
template
>
</el-table-column>
<el-table-column
label=
"附加解释材料"
prop=
"fileId"
width=
"400"
>
<el-table-column
<
template
label=
"项目名称"
slot-scope=
"scope"
width=
"auto"
v-if=
"scope.row.confirmStatus == '1' && scope.row.fileId"
prop=
"projectName"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
label=
"规则名称"
width=
"ruleName"
prop=
"projectId"
>
</el-table-column>
<el-table-column
prop=
"ruleType"
label=
"规则类型"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"问题申诉"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<el-switch
v-model=
"scope.row.confirmStatus"
active-color=
"#C0C0C0"
inactive-color=
"#13ce66"
active-value=
"2"
inactive-value=
"1"
active-text=
"无异议"
inactive-text=
"有异议"
@
change=
"controlSwitch($event, scope.row)"
>
>
{{
scope
.
row
.
fileName
}}
<template
v-slot:active
>
<el-button
@
click=
"handleClickXZ(scope.row)"
>
下载
</el-button>
<span>
开启
</span>
</
template
>
</
template
>
</el-table-column>
<
template
v-slot:inactive
>
<el-table-column
<span>
关闭
</span>
label=
"复核情况"
</
template
>
prop=
"rectificationStatus"
</el-switch>
width=
"200"
</template>
>
</el-table-column>
<
template
<el-table-column
prop=
"ruleType"
label=
"申诉证明材料"
width=
"auto"
>
slot-scope=
"scope"
<
template
slot-scope=
"scope"
>
<input
type=
"file"
@
change=
"handleFileUpload($event,scope.row,'sszmFileId')"
v-if=
"scope.row.confirmStatus == '1'"
v-if=
"scope.row.confirmStatus == '1'"
>
/>
<el-select
</
template
>
v-model=
"scope.row.appealStatus"
</el-table-column>
placeholder=
"请选择"
<el-table-column
prop=
"ruleType"
label=
"问题解决佐证材料"
width=
"auto"
>
disabled
<
template
slot-scope=
"scope"
>
>
<input
<el-option
label=
"请选择"
value=
""
></el-option>
type=
"file"
<el-option
label=
"未申诉"
:value=
"0"
></el-option>
@
change=
"handleFileUpload($event,scope.row,'sszzFileId')"
<el-option
label=
"已申诉"
:value=
"1"
></el-option>
v-if=
"scope.row.confirmStatus == '1'"
<el-option
label=
"申诉驳回"
:value=
"2"
></el-option>
/>
<el-option
label=
"申诉通过"
:value=
"3"
></el-option>
</
template
>
</el-select>
</el-table-column>
</
template
>
</el-table>
</el-table-column>
<el-table-column
label=
"上传整改材料"
prop=
"zgFileId"
width=
"400"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1' && scope.row.fileId"
>
{{
scope
.
row
.
fileName
}}
<el-button
@
click=
"handleClickXZ(scope.row)"
>
下载
</el-button>
</
template
>
</el-table-column>
<el-table-column
label=
"情况说明"
prop=
"zgqkFileId"
width=
"400"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1' && scope.row.fileId"
>
{{
scope
.
row
.
fileName
}}
<el-button
@
click=
"handleClickXZ(scope.row)"
>
下载
</el-button>
</
template
>
</el-table-column>
</el-table>
</div>
</div>
</div>
<!-- <el-pagination
@size-change="handleSizeChangeXQ"
@current-change="handleCurrentChangeXQ"
:current-page="currentPageXQ"
:page-sizes="[5, 10, 15, 20]"
:page-size="100"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
class="elpagination"
>
</el-pagination> -->
<p
class=
"midBtn"
>
<span
@
click=
"cancelXQ()"
>
取消
</span
><span
@
click=
"saveXF()"
>
保存
</span>
<span
@
click=
"resaultXF()"
>
提交
</span>
</p>
</div>
</div>
<p
class=
"midBtn"
>
<span
@
click=
"cancel()"
>
取消
</span><span
@
click=
"save()"
>
提交
</span>
</p>
</el-dialog>
</el-dialog>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
import
{
ProblemRectification
,
auditTasksRuleProjectLink
,
wtssSelProblemRectification
,
xqRuleProjectLink
,
wtzgProblemRectification
,
savaauditRuleProjectLink
,
wtzgxfProblemRectification
,
tjTasksRuleProjectLink
,
ossupload
,
ossupload
,
downloadObject
,
}
from
"@/api/index"
;
}
from
"@/api/index"
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
dialogSS
:
false
,
listData
:
{},
ruleForm
:
{
QRtableData
:
[],
batchYear
:
""
,
dialogQR
:
false
,
batchName
:
""
,
XFtableData
:
[],
postEvalState
:
""
,
dialogXF
:
false
,
},
showButton
:
true
,
ruleForm
:
{},
ruleFormdialog
:
{},
tableData
:
[],
tableData
:
[],
tableDataQR
:
[],
tableDataSS
:
[],
checkedList
:
[],
checkedList
:
[],
currentPage
:
1
,
currentPage
:
1
,
pageSizetjcl
:
10
,
total
:
0
,
dialogQR
:
false
,
pageSize
:
10
,
pageSize
:
10
,
mergingPos
:
0
,
total
:
0
,
mergingRows
:
[],
dialog
:
false
,
mergingPosss
:
0
,
mergingRowsss
:
[],
XQtableData
:
[],
ruleFormdialogXQ
:
{},
currentPageXQ
:
""
,
pageSizeXQ
:
""
,
};
};
},
},
mounted
()
{
mounted
()
{
this
.
submitForm
();
this
.
submitForm
();
},
},
methods
:
{
methods
:
{
timeChange
(
time
)
{
if
(
time
)
{
//给后端的参数
this
.
ruleFormdialogAdd
.
auditStartTime
=
time
[
0
];
this
.
ruleFormdialogAdd
.
auditEndTime
=
time
[
1
];
}
},
async
submitForm
()
{
async
submitForm
()
{
let
params
=
{
let
params
=
{
current
:
this
.
currentPage
,
current
:
this
.
currentPage
,
...
@@ -421,110 +392,71 @@ export default {
...
@@ -421,110 +392,71 @@ export default {
};
};
Object
.
assign
(
params
,
this
.
ruleForm
);
Object
.
assign
(
params
,
this
.
ruleForm
);
console
.
log
(
params
);
console
.
log
(
params
);
let
res
=
await
ProblemRectification
(
params
);
let
res
=
await
auditTasksRuleProjectLink
(
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
.
reviewStatus
==
"6"
)
{
if
(
item
.
auditFrequency
==
0
)
{
this
.
$set
(
item
,
"postEvalState"
,
"整改未完成"
);
this
.
$set
(
item
,
"auditFrequencyText"
,
"仅一次"
);
}
else
if
(
item
.
reviewStatus
==
"7"
)
{
}
else
if
(
item
.
auditFrequency
==
1
)
{
this
.
$set
(
item
,
"postEvalState"
,
"整改已完成"
);
this
.
$set
(
item
,
"auditFrequencyText"
,
"每周"
);
}
else
{
}
else
if
(
item
.
auditFrequency
==
2
)
{
this
.
$set
(
item
,
"postEvalState"
,
"整改提交"
);
this
.
$set
(
item
,
"auditFrequencyText"
,
"每月"
);
}
else
if
(
item
.
auditFrequency
==
3
)
{
this
.
$set
(
item
,
"auditFrequencyText"
,
"每季度"
);
}
else
if
(
item
.
auditFrequency
==
4
)
{
this
.
$set
(
item
,
"auditFrequencyText"
,
"每年"
);
}
if
(
item
.
confirmStatus
==
0
)
{
this
.
$set
(
item
,
"confirmStatusText"
,
"未确认"
);
}
else
if
(
item
.
confirmStatus
==
1
)
{
this
.
$set
(
item
,
"confirmStatusText"
,
"未下发"
);
}
else
if
(
item
.
confirmStatus
==
2
)
{
this
.
$set
(
item
,
"confirmStatusText"
,
"已下发"
);
}
}
});
});
this
.
total
=
res
.
data
.
total
*
1
;
this
.
total
=
res
.
data
.
total
*
1
;
}
}
},
},
resetForm
()
{
resetForm
(
formName
)
{
this
.
$refs
.
formName
.
resetFields
();
this
.
$refs
[
formName
]
.
resetFields
();
this
.
currentPage
=
1
;
this
.
currentPage
=
1
;
this
.
pageSize
=
10
;
this
.
pageSize
=
10
;
this
.
submitForm
();
this
.
submitForm
();
},
},
detailsForm
()
{},
//详情
//问题整改
async
detailsForm
(
type
)
{
async
confirm
()
{
this
.
mergingPos
=
0
;
this
.
mergingRows
=
[];
if
(
this
.
checkedList
.
length
!=
1
)
{
if
(
this
.
checkedList
.
length
!=
1
)
{
this
.
$message
(
"请选择
一条数据进行整改
"
);
this
.
$message
(
"请选择"
);
return
;
return
;
}
}
this
.
dialogQR
=
true
;
let
params
=
{
let
params
=
{
// current: this.currentPageXQ,
// pageSize: this.pageSizeXQ,
projectId
:
this
.
checkedList
[
0
].
projectId
,
projectId
:
this
.
checkedList
[
0
].
projectId
,
batchId
:
this
.
checkedList
[
0
].
batch
Id
,
auditId
:
this
.
checkedList
[
0
].
audit
Id
,
};
};
let
res
=
await
xqRuleProjectLink
(
params
);
let
res
=
await
wtssSelProblemRectification
(
params
);
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
"200"
)
{
this
.
ruleFormdialogXQ
=
this
.
checkedList
[
0
];
this
.
tableDataQR
=
res
.
data
.
records
;
this
.
XQtableData
=
res
.
data
.
records
;
this
.
tableDataQR
.
forEach
((
item
)
=>
{
this
.
XQtableData
.
forEach
((
item
)
=>
{
switch
(
item
.
projectStage
)
{
case
"1"
:
this
.
$set
(
item
,
"projectStagetext"
,
"1.可研"
);
break
;
case
"2"
:
this
.
$set
(
item
,
"projectStagetext"
,
"2.计划"
);
break
;
case
"3"
:
this
.
$set
(
item
,
"projectStagetext"
,
"3.采购"
);
break
;
case
"4"
:
this
.
$set
(
item
,
"projectStagetext"
,
"4.合同"
);
break
;
case
"5"
:
this
.
$set
(
item
,
"projectStagetext"
,
"5.执行"
);
break
;
case
"6"
:
this
.
$set
(
item
,
"projectStagetext"
,
"6.结决算及转资"
);
break
;
}
});
console
.
log
(
this
.
tableDataQR
,
"加不进去?"
);
this
.
dataPretreatment
();
}
},
dataPretreatment
()
{
for
(
let
i
=
0
;
i
<
this
.
tableDataQR
.
length
;
i
++
)
{
// tabledata 表格数据源
if
(
i
===
0
)
{
this
.
mergingRows
.
push
(
1
);
this
.
mergingPos
=
0
;
}
else
{
if
(
if
(
this
.
tableDataQR
[
i
].
projectStage
===
item
.
confirmStatus
==
0
||
this
.
tableDataQR
[
i
-
1
].
projectStage
item
.
confirmStatus
==
null
||
!
item
.
confirmStatus
)
{
)
{
//哪些数据是要合并的 合并的条件是什么
this
.
$set
(
item
,
"confirmStatus"
,
"2"
);
this
.
mergingRows
[
this
.
mergingPos
]
+=
1
;
this
.
mergingRows
.
push
(
0
);
}
else
{
this
.
mergingRows
.
push
(
1
);
this
.
mergingPos
=
i
;
}
}
}
});
}
},
console
.
log
(
this
.
XQtableData
,
"XQtableDataXQtableData"
);
dataPretreatmentSS
()
{
if
(
type
==
"xq"
)
{
for
(
let
i
=
0
;
i
<
this
.
tableDataSS
.
length
;
i
++
)
{
this
.
dialog
=
true
;
// tabledata 表格数据源
if
(
i
===
0
)
{
this
.
mergingRowsss
.
push
(
1
);
this
.
mergingPosss
=
0
;
}
else
{
}
else
{
if
(
this
.
dialogXF
=
true
;
this
.
tableDataSS
[
i
].
projectStage
===
this
.
tableDataSS
[
i
-
1
].
projectStage
)
{
//哪些数据是要合并的 合并的条件是什么
this
.
mergingRowsss
[
this
.
mergingPosss
]
+=
1
;
this
.
mergingRowsss
.
push
(
0
);
}
else
{
this
.
mergingRowsss
.
push
(
1
);
this
.
mergingPosss
=
i
;
}
}
}
}
}
},
},
...
@@ -538,169 +470,78 @@ export default {
...
@@ -538,169 +470,78 @@ export default {
},
},
//主列表选中行信息
//主列表选中行信息
handleSelectionChange
(
selection
)
{
handleSelectionChange
(
selection
)
{
console
.
log
(
"222222"
);
if
(
Array
.
isArray
(
selection
)
&&
selection
.
length
>
1
)
{
if
(
Array
.
isArray
(
selection
)
&&
selection
.
length
>
1
)
{
console
.
log
(
"222222333"
,
this
.
checkedList
);
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
.
$forceUpdate
()
;
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
();
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
console
.
log
(
`当前页:
${
val
}
`
);
this
.
currentPage
=
val
;
this
.
currentPage
=
val
;
this
.
submitForm
();
},
},
arraySpanMethod
({
row
,
column
,
rowIndex
,
columnIndex
})
{
cancelXQ
()
{
if
(
columnIndex
===
0
)
{
this
.
dialog
=
false
;
//第一列
this
.
dialogXF
=
false
;
const
_row
=
this
.
mergingRows
[
rowIndex
];
const
_col
=
_row
>
0
?
1
:
0
;
return
{
rowspan
:
_row
,
colspan
:
_col
,
};
}
},
arraySpanMethodss
({
row
,
column
,
rowIndex
,
columnIndex
})
{
if
(
columnIndex
===
0
)
{
//第一列
const
_row
=
this
.
mergingRowsss
[
rowIndex
];
const
_col
=
_row
>
0
?
1
:
0
;
return
{
rowspan
:
_row
,
colspan
:
_col
,
};
}
},
//问题确认开关
controlSwitch
(
val
,
row
)
{
console
.
log
(
"333"
,
val
,
row
);
},
cancelSS
()
{
this
.
dialogQR
=
false
;
},
},
async
save
()
{
async
handleClick
(
row
,
index
,
rows
)
{
let
res
=
await
wtzgxfProblemRectification
(
this
.
tableDataSS
);
console
.
log
(
"删除"
,
row
);
if
(
res
.
code
==
"200"
)
{
rows
.
splice
(
index
,
1
);
this
.
dialogSS
=
false
;
this
.
XQtableData
=
rows
;
this
.
resetForm
();
let
params
=
{
}
else
{
auditId
:
this
.
checkedList
[
0
].
auditId
,
this
.
$message
(
"整改提交失败"
);
ruleId
:
row
.
ruleId
,
}
projectId
:
row
.
projectId
,
};
let
res
=
await
scauditTasksResults
(
params
);
},
},
cancel
()
{
//结果确认
this
.
dialogSS
=
false
;
async
saveXF
()
{
console
.
log
(
this
.
XQtableData
,
'this.XQtableData'
)
let
res
=
await
savaauditRuleProjectLink
(
this
.
XQtableData
);
},
},
async
saveSS
()
{
//结果下发
this
.
tableDataQR
.
forEach
((
item
)
=>
{
async
resaultXF
()
{
if
(
item
.
confirmStatus
==
"1"
)
{
let
res
=
await
tjTasksRuleProjectLink
(
this
.
XQtableData
);
if
(
!
item
.
feedback
)
{
if
(
res
.
code
==
200
)
{
this
.
$message
(
"有未填写的的解释批注"
);
this
.
dialogXF
=
false
;
throw
new
Error
(
"主动跳出循环"
);
}
}
});
let
res
=
await
wtzgProblemRectification
(
this
.
tableDataQR
);
if
(
res
.
code
==
"200"
)
{
this
.
dialogQR
=
false
;
this
.
resetForm
();
this
.
resetForm
();
}
}
},
},
//问题提交
handleFileUpload
(
event
,
row
,
type
)
{
async
appeal
()
{
this
.
mergingPosss
=
0
;
this
.
mergingRowsss
=
[];
if
(
this
.
checkedList
.
length
!=
1
)
{
this
.
$message
(
"请选择一条数据进行提交"
);
return
;
}
this
.
dialogSS
=
true
;
let
params
=
{
projectId
:
this
.
checkedList
[
0
].
projectId
,
batchId
:
this
.
checkedList
[
0
].
batchId
,
};
let
res
=
await
wtssSelProblemRectification
(
params
);
if
(
res
.
code
==
"200"
)
{
this
.
tableDataSS
=
res
.
data
.
records
;
this
.
tableDataSS
.
forEach
((
item
)
=>
{
if
(
!
item
.
confirmStatus
)
{
this
.
$set
(
item
,
"confirmStatus"
,
"2"
);
}
switch
(
item
.
projectStage
)
{
case
"1"
:
this
.
$set
(
item
,
"projectStagetext"
,
"1.可研"
);
break
;
case
"2"
:
this
.
$set
(
item
,
"projectStagetext"
,
"2.计划"
);
break
;
case
"3"
:
this
.
$set
(
item
,
"projectStagetext"
,
"3.采购"
);
break
;
case
"4"
:
this
.
$set
(
item
,
"projectStagetext"
,
"4.合同"
);
break
;
case
"5"
:
this
.
$set
(
item
,
"projectStagetext"
,
"5.执行"
);
break
;
case
"6"
:
this
.
$set
(
item
,
"projectStagetext"
,
"6.结决算及转资"
);
break
;
}
});
console
.
log
(
this
.
tableDataSS
);
this
.
dataPretreatmentSS
();
}
},
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
);
},
},
submitFile
(
row
,
type
)
{
submitFile
(
row
,
type
)
{
if
(
this
.
file
)
{
if
(
this
.
file
)
{
const
formData
=
new
FormData
();
const
formData
=
new
FormData
();
formData
.
append
(
"file"
,
this
.
file
);
formData
.
append
(
"file"
,
this
.
file
);
ossupload
(
formData
)
ossupload
(
formData
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
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'
)
.
catch
((
error
)
=>
{
})
console
.
error
(
error
);
.
catch
((
error
)
=>
{
});
console
.
error
(
error
);
}
else
{
});
this
.
$message
(
"请先选择文件"
);
}
else
{
}
this
.
$message
(
"请先选择文件"
);
},
}
closed
()
{
},
console
.
log
(
"关闭"
);
//问题确认开关
this
.
handleSelectionChange
();
controlSwitch
(
val
,
row
)
{
},
console
.
log
(
"333"
,
val
,
row
);
async
handleClickXZ
(
scope
)
{
console
.
log
(
scope
.
fileId
);
let
response
=
await
downloadObject
({
fileId
:
scope
.
fileId
*
1
,
});
let
blob
=
new
Blob
([
response
]);
if
(
"download"
in
document
.
createElement
(
"a"
))
{
let
elink
=
document
.
createElement
(
"a"
);
elink
.
download
=
scope
.
fileName
;
elink
.
style
.
display
=
"none"
;
elink
.
href
=
URL
.
createObjectURL
(
blob
);
document
.
body
.
appendChild
(
elink
);
elink
.
click
();
URL
.
revokeObjectURL
(
elink
.
href
);
// 释放URL 对象
document
.
body
.
removeChild
(
elink
);
}
},
},
},
},
};
};
...
@@ -716,14 +557,14 @@ export default {
...
@@ -716,14 +557,14 @@ export default {
}
}
.el-form
{
.el-form
{
display
:
flex
;
display
:
flex
;
width
:
99
%
;
width
:
100
%
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
border-top
:
2px
solid
#23c6c8
;
border-top
:
2px
solid
#23c6c8
;
border-left
:
1px
solid
#dee5e7
;
border-left
:
1px
solid
#dee5e7
;
border-right
:
1px
solid
#dee5e7
;
border-right
:
1px
solid
#dee5e7
;
border-bottom
:
1px
solid
#dee5e7
;
border-bottom
:
1px
solid
#dee5e7
;
padding
:
20px
10px
;
padding
:
20px
10px
;
margin
:
20px
0
;
margin
-bottom
:
20px
;
.fromItem
{
.fromItem
{
min-width
:
24%
;
min-width
:
24%
;
margin
:
0
0.5%
;
margin
:
0
0.5%
;
...
@@ -767,10 +608,8 @@ export default {
...
@@ -767,10 +608,8 @@ export default {
}
}
}
}
.eltable
{
.eltable
{
width
:
100%
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
text-align
:
center
;
height
:
100%
;
overflow-y
:
auto
;
}
}
/
deep
/
.el-table
.warning-row
{
/
deep
/
.el-table
.warning-row
{
background
:
#f0ffff
;
background
:
#f0ffff
;
...
@@ -784,10 +623,9 @@ export default {
...
@@ -784,10 +623,9 @@ export default {
border-radius
:
10px
;
border-radius
:
10px
;
margin-top
:
3vh
!important
;
margin-top
:
3vh
!important
;
margin-left
:
3vw
!important
;
margin-left
:
3vw
!important
;
}
//
height
:
500px
;
/
deep
/
.el-table
th
.el-table__cell.is-leaf
,
//
box-sizing
:
border-box
;
.el-table
td
.el-table__cell
{
//
overflow-y
:
auto
;
text-align
:
center
;
}
}
/
deep
/
.el-dialog__wrapper
{
/
deep
/
.el-dialog__wrapper
{
position
:
absolute
;
position
:
absolute
;
...
@@ -797,7 +635,7 @@ export default {
...
@@ -797,7 +635,7 @@ export default {
}
}
/
deep
/
.el-dialog__header
{
/
deep
/
.el-dialog__header
{
background-color
:
#0d867f
;
background-color
:
#0d867f
;
padding-bottom
:
20px
;
//
padding-bottom
:
20px
;
text-align
:
left
;
text-align
:
left
;
border-radius
:
10px
10px
0
0
;
border-radius
:
10px
10px
0
0
;
.el-dialog__title
{
.el-dialog__title
{
...
@@ -813,10 +651,10 @@ export default {
...
@@ -813,10 +651,10 @@ export default {
}
}
/
deep
/
.el-table
{
/
deep
/
.el-table
{
//
width
:
100%
;
width
:
100%
;
.el-table__header-wrapper
table,
.el-table__header-wrapper
table,
.el-table__body-wrapper
table
{
.el-table__body-wrapper
table
{
//
width
:
100%
!important
;
width
:
100%
!important
;
}
}
.el-table__body
,
.el-table__body
,
.el-table__footer
,
.el-table__footer
,
...
@@ -825,26 +663,67 @@ export default {
...
@@ -825,26 +663,67 @@ export default {
}
}
}
}
.dialog
{
.dialog
{
height
:
680px
;
.title
{
.xqtitle
{
text-align
:
left
;
text-align
:
left
;
font-size
:
18px
;
font-size
:
18px
;
font-family
:
"PingFangSC-Regular"
,
"PingFang SC"
,
sans-serif
;
font-weight
:
400
;
font-style
:
normal
;
font-size
:
16px
;
color
:
#1ec695
;
text-align
:
left
;
height
:
20px
;
margin-top
:
0
;
span
{
span
{
border-radius
:
2px
;
display
:
inline-block
;
display
:
inline-block
;
width
:
5px
;
width
:
5px
;
height
:
20
px
;
height
:
18
px
;
background
:
#0d867f
;
background
-color
:
#1ec695
;
margin-right
:
14px
;
margin-right
:
14px
;
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
}
}
.content
{
width
:
100%
;
display
:
flex
;
flex-wrap
:
wrap
;
p
{
width
:
24%
;
text-align
:
left
;
display
:
flex
;
label
{
display
:
inline-block
;
width
:
150px
;
flex-shrink
:
0
;
text-align
:
right
;
font-weight
:
bold
;
margin-right
:
20px
;
vertical-align
:
middle
;
}
span
{
display
:
inline-block
;
text-align
:
left
;
}
}
}
.table
{
width
:
100%
;
display
:
flex
;
p
{
width
:
150px
;
text-align
:
right
;
font-weight
:
bold
;
}
.tablepg
{
margin-top
:
20px
;
margin-left
:
5px
;
}
}
}
}
.textarea
{
.textarea
{
width
:
100%
;
width
:
100%
;
/deep/
.el-form-item__content
{
display
:
flex
;
}
.el-textarea
{
.el-textarea
{
width
:
60%
;
width
:
60%
;
}
}
...
@@ -873,6 +752,58 @@ export default {
...
@@ -873,6 +752,58 @@ export default {
/
deep
/
.el-dialog__headerbtn
.el-dialog__close
{
/
deep
/
.el-dialog__headerbtn
.el-dialog__close
{
color
:
#fff
;
color
:
#fff
;
}
}
/
deep
/
.el-table
th
.el-table__cell.is-leaf
,
.el-table
td
.el-table__cell
{
text-align
:
center
;
}
/
deep
/
.el-table__cell
{
text-align
:
center
;
}
h3
{
text-align
:
left
;
}
/
deep
/
.el-dialog__body
{
padding
:
0
10px
;
h3
{
margin
:
10px
0
;
}
}
/
deep
/
.el-descriptions-item__container
.el-descriptions-item__label
{
font-weight
:
bold
;
width
:
100px
;
text-align
:
right
;
}
/
deep
/
.el-tabs__content
{
overflow
:
auto
;
height
:
500px
;
padding-bottom
:
20px
;
}
.close
{
width
:
100%
;
height
:
40px
;
line-height
:
20px
;
span
{
display
:
inline-block
;
width
:
80px
;
height
:
30px
;
line-height
:
30px
;
border
:
1px
solid
grey
;
border-radius
:
5px
;
}
}
.setscrolldialog
{
width
:
100%
;
height
:
300px
;
overflow
:
auto
;
box-sizing
:
border-box
;
/deep/
.el-table
{
width
:
96%
!important
;
height
:
300px
;
overflow
:
auto
;
}
}
.zjBtn
{
.zjBtn
{
width
:
400px
;
width
:
400px
;
text-align
:
left
;
text-align
:
left
;
...
@@ -886,35 +817,11 @@ export default {
...
@@ -886,35 +817,11 @@ export default {
border-radius
:
5px
;
border-radius
:
5px
;
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
span
:last-of-type
{
background-color
:
#4ca6a7
;
color
:
#fff
;
padding
:
5px
10px
;
margin-left
:
10px
;
}
}
/
deep
/
.el-icon-position
{
margin-right
:
10px
;
}
/
deep
/
.el-icon-folder-delete
{
margin-right
:
10px
;
}
.cxItem
{
text-align
:
right
;
width
:
20%
;
.zjquery
{
display
:
inline-block
;
background-color
:
#4ca6a7
;
width
:
89px
;
height
:
40px
;
color
:
#fff
;
text-align
:
center
;
line-height
:
40px
;
border-radius
:
5px
;
}
}
}
.midBtn
{
.midBtn
{
margin
:
0
auto
;
margin
:
0
auto
;
height
:
50px
;
line-height
:
50px
;
span
{
span
{
display
:
inline-block
;
display
:
inline-block
;
width
:
80px
;
width
:
80px
;
...
@@ -923,59 +830,92 @@ export default {
...
@@ -923,59 +830,92 @@ export default {
text-align
:
center
;
text-align
:
center
;
margin-right
:
10px
;
margin-right
:
10px
;
border-radius
:
5px
;
border-radius
:
5px
;
background-color
:
#4ca6a7
;
color
:
#fff
;
}
}
span
:first-of-type
{
span
:first-of-type
{
border
:
1px
solid
grey
;
border
:
1px
solid
grey
;
background-color
:
#fff
;
color
:
#333
;
}
}
span
:last-of-type
{
background-color
:
#4ca6a7
;
color
:
#fff
;
}
}
/
deep
/
.el-table
th
.el-table__cell.is-leaf
,
.el-table
td
.el-table__cell
{
text-align
:
center
;
}
/
deep
/
.el-table__cell
{
text-align
:
center
;
}
.dialogHeigth
{
height
:
300px
;
box-sizing
:
border-box
;
overflow-y
:
auto
;
}
}
.setscroll
{
.setscroll
{
width
:
100%
;
width
:
100%
;
height
:
650
px
;
height
:
585
px
;
position
:
relative
;
position
:
relative
;
overflow
:
auto
;
overflow
:
auto
;
}
}
.setscrolldialog
{
.dialog
{
width
:
100%
;
.el-form
{
height
:
300px
;
border
:
none
!important
;
position
:
relative
;
border-top
:
none
;
overflow
:
auto
;
border-left
:
none
;
box-sizing
:
border-box
;
border-right
:
none
;
/deep/
.el-table
{
border-bottom
:
none
;
height
:
300px
;
overflow
:
auto
;
position
:
absolute
;
min-width
:
100%
;
}
}
}
}
.setscrolldialogx
{
/
deep
/
.el-switch__core
{
height
:
30px
;
width
:
79px
!important
;
border-radius
:
20px
;
}
/
deep
/
.el-switch.is-checked
.el-switch__core
::after
{
margin-left
:
-28px
;
}
/
deep
/
.el-switch_label
{
height
:
30px
;
line-height
:
30px
;
}
/
deep
/
.el-switch
{
height
:
30px
;
line-height
:
30px
;
border-radius
:
20px
;
}
/
deep
/
.el-switch__label
*
{
font-size
:
12px
;
}
/
deep
/
.el-switch__core
:after
{
width
:
26px
;
height
:
26px
;
}
/
deep
/
.el-switch__label--left
{
position
:
absolute
;
left
:
30px
;
color
:
#fff
;
z-index
:
-1111
;
cursor
:
default
;
user-select
:
none
;
}
/
deep
/
.el-switch__label--right
{
position
:
absolute
;
right
:
30px
;
color
:
#fff
;
z-index
:
-1111
;
cursor
:
default
;
user-select
:
none
;
}
/
deep
/
.el-switch__label--right.is-active
{
z-index
:
1111
;
color
:
grey
!important
;
height
:
30px
;
line-height
:
30px
;
}
/
deep
/
.el-switch__label--left.is-active
{
z-index
:
1111
;
color
:
#fff
!important
;
height
:
30px
;
line-height
:
30px
;
}
.setscroll
{
width
:
100%
;
width
:
100%
;
height
:
30
0px
;
height
:
65
0px
;
position
:
relative
;
position
:
relative
;
overflow
:
auto
;
overflow
:
auto
;
box-sizing
:
border-box
;
/deep/
.el-table
{
position
:
absolute
;
width
:
auto
!important
;
max-width
:
none
;
}
}
::v-deep
.el-table
::before
{
display
:
none
!important
;
}
}
</
style
>
</
style
>
\ No newline at end of file
src/views/projectCheck/verificationRectify.vue
View file @
0816a06
<
template
>
<
template
>
<div
class=
"main"
>
<div
class=
"main"
>
<el-form
<el-form
:model=
"ruleForm"
:model=
"ruleForm"
label-width=
"100px"
ref=
"ruleForm"
class=
"demo-ruleForm"
label-width=
"100px"
ref=
"formName"
class=
"demo-ruleForm"
>
<el-form-item
label=
"项目名称:"
prop=
"projectName"
class=
"fromItem"
>
<el-input
v-model=
"ruleForm.auditName"
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"稽核名称:"
prop=
"auditName"
class=
"fromItem"
>
<el-input
v-model=
"ruleForm.auditName"
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"稽核开始时间:"
prop=
"auditStartTime"
class=
"fromItem"
>
>
<el-form-item
label=
"项目名称:"
prop=
"batchName"
class=
"fromItem"
>
<el-date-picker
<el-input
v-model=
"ruleForm.auditStartTime"
v-model=
"ruleForm.batchName"
type=
"date"
placeholder=
"请输入"
placeholder=
"选择日期"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"稽核名称:"
prop=
"batchName"
class=
"fromItem"
>
<el-input
v-model=
"ruleForm.batchName"
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"稽核时间:"
prop=
"projectId"
class=
"fromItem"
>
<el-date-picker
v-model=
"reviewTime"
type=
"date"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
<el-form-item
class=
"button"
>
<el-button
@
click=
"submitForm()"
>
<img
class=
"buttonIcon"
src=
"../../assets/cx.png"
/>
查询
</el-button
>
<el-button
@
click=
"resetForm('')"
>
<img
class=
"buttonIcon"
src=
"../../assets/cz.png"
/>
重置
</el-button
>
<el-button
@
click=
"detailsForm('')"
>
<img
class=
"buttonIcon"
src=
"../../assets/ck.png"
/>
详情
</el-button
>
<el-button
@
click=
"confirm()"
>
<i
class=
"el-icon-chat-dot-square"
></i
>
问题整改核验
</el-button
>
<el-button
@
click=
"appeal()"
>
<i
class=
"el-icon-document-remove"
></i
>
整改提交
</el-button
>
</el-form-item>
</el-form>
<div
class=
"setscroll"
>
<el-table
@
selection-change=
"handleSelectionChange"
ref=
"multipleTable"
:data=
"tableData"
tooltip-effect=
"dark"
header-cell-class-name=
"custom-th-background"
class=
"eltable"
:row-class-name=
"tableRowClassName"
border
>
>
<el-table-column
label=
"序号"
width=
"55"
type=
"index"
>
</el-date-picker>
</el-table-column>
</el-form-item>
<el-table-column
type=
"selection"
>
</el-table-column>
<el-form-item
label=
"稽核结束时间:"
prop=
"auditEndTime"
class=
"fromItem"
>
<el-table-column
label=
"项目名称"
prop=
"batchYear"
>
</el-table-column>
<el-date-picker
<el-table-column
prop=
"batchName"
label=
"项目经理"
>
</el-table-column>
v-model=
"ruleForm.auditEndTime"
type=
"date"
<el-table-column
placeholder=
"选择日期"
prop=
"projectName"
label=
"稽核名称"
show-overflow-tooltip
>
</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=
"expertName"
label=
"问题整改状态"
>
</el-table-column>
</el-table>
</div>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"currentPage"
:page-sizes=
"[10, 15, 20, 50]"
:page-size=
"100"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"total"
class=
"elpagination"
>
</el-pagination>
<!-- 问题整改 -->
<el-dialog
title=
"稽核问题整改核验"
:visible
.
sync=
"dialogXQ"
width=
"90%"
:modal-append-to-body=
"false"
:append-to-body=
"false"
>
<div
class=
"dialog"
>
<el-form
ref=
"formName"
:model=
"ruleFormdialogBJ"
label-width=
"100px"
class=
"demo-ruleForm"
:rules=
"rules"
>
>
<el-form-item
label=
"稽核名称:"
prop=
"batchYear"
class=
"fromItem"
>
</el-date-picker>
<el-input
v-model=
"ruleFormdialogBJ.batchYear"
disabled
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"稽核时间:"
prop=
"planReviewDate"
class=
"fromItem"
>
<el-date-picker
v-model=
"ruleFormdialogBJ.value1"
type=
"datetimerange"
range-separator=
"至"
start-placeholder=
"请选择开始日期"
end-placeholder=
"请选择结束日期"
>
</el-date-picker>
</el-form-item>
<el-form-item
label=
"稽核范围:"
prop=
"batchYear"
class=
"fromItem"
>
<el-input
v-model=
"ruleFormdialogBJ.batchYear"
disabled
></el-input>
</el-form-item>
<el-form-item
label=
"稽核频率:"
prop=
"batchYear"
class=
"fromItem"
>
<el-input
v-model=
"ruleFormdialogBJ.batchYear"
disabled
></el-input>
</el-form-item>
</el-form>
<p
class=
"zjBtn"
>
<el-form-item
class=
"button"
>
待评估项目
<el-button
@
click=
"submitForm()"
>
</p>
<img
class=
"buttonIcon"
src=
"../../assets/cx.png"
/>
查询
</el-button
<el-table
>
@
selection-change=
"handleSelectionChange"
<el-button
@
click=
"resetForm()"
>
:data=
"addtableData"
<img
class=
"buttonIcon"
src=
"../../assets/cz.png"
/>
重置
</el-button
tooltip-effect=
"dark"
>
style=
"width: 100%"
<el-button
@
click=
"detailsForm('xq')"
>
header-cell-class-name=
"custom-th-background"
<img
class=
"buttonIcon"
src=
"../../assets/ck.png"
/>
详情
</el-button
class=
"eltable"
:row-class-name=
"tableRowClassName"
border
>
>
<el-table-column
label=
"序号"
width=
"55"
type=
"index"
>
<el-button
@
click=
"detailsForm('xf')"
>
</el-table-column>
<i
class=
"el-icon-document-remove"
></i
>
整改复核提交
</el-button
>
</el-form-item>
</el-form>
<div
class=
"setscroll"
>
<el-table
@
selection-change=
"handleSelectionChange"
ref=
"multipleTable"
:data=
"tableData"
tooltip-effect=
"dark"
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=
"projectName"
>
</el-table-column>
<el-table-column
prop=
"personCharge"
label=
"项目经理"
>
</el-table-column>
<el-table-column
label=
"项目名称"
width=
"auto"
prop=
"projectId"
>
<el-table-column
</el-table-column>
prop=
"auditName"
<el-table-column
prop=
"projectYear"
label=
"规则名称"
width=
"auto"
>
label=
"稽核名称"
</el-table-column>
show-overflow-tooltip
<el-table-column
prop=
"projectName"
label=
"规则类型"
width=
"auto"
>
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"projectCategory"
label=
"问题申诉"
width=
"auto"
>
<el-table-column
prop=
"abnormalResults"
label=
"检查异常项"
>
<template
slot-scope=
"scope"
>
</el-table-column>
<el-switch
<el-table-column
prop=
"auditTime"
label=
"稽核时间"
>
</el-table-column>
v-model=
"scope.row.confirmStatus"
<el-table-column
prop=
"rectificationStatus"
label=
"问题整改复核状态"
>
active-color=
"#C0C0C0"
</el-table-column>
inactive-color=
"#13ce66"
</el-table>
active-value=
"2"
</div>
inactive-value=
"1"
<el-pagination
active-text=
"无异议"
@
size-change=
"handleSizeChange"
inactive-text=
"有异议"
@
current-change=
"handleCurrentChange"
@
change=
"controlSwitch($event, scope.row)"
:current-page=
"currentPage"
disabled
:page-sizes=
"[10, 15, 20, 50]"
>
:page-size=
"100"
<template
v-slot:active
>
layout=
"total, sizes, prev, pager, next, jumper"
<span>
开启
</span>
:total=
"total"
</
template
>
class=
"elpagination"
<
template
v-slot:inactive
>
>
<span>
关闭
</span>
</el-pagination>
</
template
>
<!-- 详情弹窗 -->
</el-switch>
<el-dialog
</template>
title=
"稽核问题整改核验"
</el-table-column>
:visible
.
sync=
"dialog"
<el-table-column
prop=
"projectStatus"
label=
"申诉证明材料"
width=
"auto"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
<!--
<input
type=
"file"
@
change=
"handleFileUpload($event, scope.row, 'fileId')"
/>
-->
{{
scope
.
row
.
fileName
}}
<el-button
@
click=
"handleClickXZ(scope.row)"
>
下载
</el-button>
</
template
>
</el-table-column>
<el-table-column
prop=
"哪个字段"
label=
"问题解决佐证材料"
width=
"auto"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
<!--
<input
type=
"file"
@
change=
"handleFileUpload($event, scope.row, 'fileId')"
/>
-->
{{
scope
.
row
.
fileName
}}
<el-button
@
click=
"handleClickXZ(scope.row)"
>
下载
</el-button>
</
template
>
</el-table-column>
<el-table-column
prop=
"email"
label=
"问题整改复核"
width=
"auto"
>
</el-table-column>
</el-table>
</div>
</el-dialog>
<!-- 复核下发 -->
<el-dialog
title=
"稽核问题整改核验"
:visible
.
sync=
"dialogXQ"
width=
"90%"
width=
"90%"
:modal-append-to-body=
"false"
:modal-append-to-body=
"false"
:append-to-body=
"false"
:append-to-body=
"false"
>
>
<div
class=
"dialog"
>
<div
class=
"dialog"
>
<el-form
<el-form
ref=
"formName"
:model=
"ruleFormdialogXQ"
:model=
"ruleFormdialogBJ"
label-width=
"100px"
label-width=
"100px"
class=
"demo-ruleForm"
class=
"demo-ruleForm"
:rules=
"rules"
>
>
<el-form-item
label=
"稽核名称:"
prop=
"batchYear"
class=
"fromItem"
>
<el-form-item
label=
"稽核名称:"
prop=
"auditName"
class=
"fromItem"
>
<el-input
v-model=
"ruleFormdialogBJ.batchYear"
disabled
></el-input>
<el-input
v-model=
"ruleFormdialogXQ.auditName"
disabled
></el-input>
</el-form-item>
<el-form-item
label=
"稽核时间:"
class=
"fromItem"
prop=
"dates"
>
<el-date-picker
v-model=
"ruleFormdialogXQ.auditTime"
value-format=
"yyyy-MM-dd hh:mm:ss"
disabled
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
label=
"稽核
时间
:"
label=
"稽核
频率
:"
prop=
"
planReviewDate
"
prop=
"
auditFrequency
"
class=
"fromItem"
class=
"fromItem"
>
>
<el-date-picker
<el-select
v-model=
"ruleFormdialogBJ.value1"
v-model=
"ruleFormdialogXQ.auditFrequency"
type=
"datetimerange"
placeholder=
"请选择"
range-separator=
"至"
disabled
start-placeholder=
"请选择开始日期"
>
end-placeholder=
"请选择结束日期"
>
<el-option
label=
"仅一次"
value=
"0"
></el-option>
</el-date-picker>
<el-option
label=
"每周"
value=
"1"
></el-option>
</el-form-item>
<el-option
label=
"每月"
value=
"2"
></el-option>
<el-form-item
label=
"稽核范围:"
prop=
"batchYear"
class=
"fromItem"
>
<el-option
label=
"每季度"
value=
"3"
></el-option>
<el-input
v-model=
"ruleFormdialogBJ.batchYear"
disabled
></el-input>
<el-option
label=
"每年"
value=
"4"
></el-option>
</el-form-item>
</el-select>
<el-form-item
label=
"稽核频率:"
prop=
"batchYear"
class=
"fromItem"
>
<el-input
v-model=
"ruleFormdialogBJ.batchYear"
disabled
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<p
class=
"zjBtn"
>
稽核结果
</p>
<div
class=
"setscroll"
>
<el-table
:data=
"XQtableData"
tooltip-effect=
"dark"
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>
<p
class=
"zjBtn"
>
<el-table-column
待评估项目
label=
"项目名称"
</p>
width=
"auto"
<el-table
prop=
"projectName"
@
selection-change=
"handleSelectionChange"
show-overflow-tooltip
:data=
"addtableData"
>
tooltip-effect=
"dark"
</el-table-column>
style=
"width: 100%"
<el-table-column
label=
"规则名称"
width=
"ruleName"
prop=
"projectId"
>
header-cell-class-name=
"custom-th-background"
</el-table-column>
class=
"eltable"
<el-table-column
prop=
"ruleType"
label=
"规则类型"
width=
"auto"
>
:row-class-name=
"tableRowClassName"
</el-table-column>
border
<el-table-column
label=
"问题申诉"
width=
"auto"
>
>
<template
slot-scope=
"scope"
>
<el-table-column
label=
"序号"
width=
"55"
type=
"index"
>
<el-switch
</el-table-column>
disabled
v-model=
"scope.row.confirmStatus"
<el-table-column
label=
"项目名称"
width=
"auto"
prop=
"projectId"
>
active-color=
"#C0C0C0"
</el-table-column>
inactive-color=
"#13ce66"
<el-table-column
prop=
"projectYear"
label=
"规则名称"
width=
"auto"
>
active-value=
"2"
</el-table-column>
inactive-value=
"1"
<el-table-column
prop=
"projectName"
label=
"规则类型"
width=
"auto"
>
active-text=
"无异议"
</el-table-column>
inactive-text=
"有异议"
<el-table-column
prop=
"projectCategory"
label=
"问题申诉"
width=
"auto"
>
@
change=
"controlSwitch($event, scope.row)"
<
template
slot-scope=
"scope"
>
<el-switch
v-model=
"scope.row.confirmStatus"
active-color=
"#C0C0C0"
inactive-color=
"#13ce66"
active-value=
"2"
inactive-value=
"1"
active-text=
"无异议"
inactive-text=
"有异议"
@
change=
"controlSwitch($event, scope.row)"
disabled
>
<template
v-slot:active
>
<span>
开启
</span>
</
template
>
<
template
v-slot:inactive
>
<span>
关闭
</span>
</
template
>
</el-switch>
</template>
</el-table-column>
<el-table-column
prop=
"projectStatus"
label=
"申诉证明材料"
width=
"auto"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
<!--
<input
type=
"file"
@
change=
"handleFileUpload($event, scope.row, 'fileId')"
/>
-->
{{
scope
.
row
.
fileName
}}
<el-button
@
click=
"handleClickXZ(scope.row)"
>
下载
</el-button>
</
template
>
</el-table-column>
<el-table-column
prop=
"哪个字段"
label=
"问题解决佐证材料"
width=
"auto"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
>
<!--
<input
<template
v-slot:active
>
type=
"file"
<span>
开启
</span>
@
change=
"handleFileUpload($event, scope.row, 'fileId')"
</
template
>
/>
-->
<
template
v-slot:inactive
>
{{
scope
.
row
.
fileName
}}
<span>
关闭
</span>
<el-button
@
click=
"handleClickXZ(scope.row)"
>
下载
</el-button>
</
template
>
</
template
>
</el-switch>
</el-table-column>
</template>
<el-table-column
prop=
"email"
label=
"问题整改复核"
width=
"auto"
>
</el-table-column>
</el-table-column>
</el-table>
</div>
</el-table>
<!-- <el-pagination
@size-change="handleSizeChangeXQ"
@current-change="handleCurrentChangeXQ"
:current-page="currentPageXQ"
:page-sizes="[5, 10, 15, 20]"
:page-size="100"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
class="elpagination"
>
</el-pagination> -->
<p
class=
"midBtn"
>
<span
@
click=
"cancelXQ()"
>
取消
</span
><span
@
click=
"saveXZ()"
v-show=
"false"
>
保存
</span>
</p>
</div>
</div>
</el-dialog>
</el-dialog>
<!-- 详情弹窗 -->
<!-- 下发弹窗 -->
<el-dialog
<el-dialog
title=
"稽核问题整改核验
"
title=
"稽核问题整改
"
:visible
.
sync=
"dialogX
Q
"
:visible
.
sync=
"dialogX
F
"
width=
"90%"
width=
"90%"
:modal-append-to-body=
"false"
:modal-append-to-body=
"false"
:append-to-body=
"false"
:append-to-body=
"false"
>
>
<div
class=
"dialog"
>
<div
class=
"dialog"
>
<el-form
<el-form
ref=
"formName"
:model=
"ruleFormdialogXQ"
:model=
"ruleFormdialogBJ"
label-width=
"100px"
label-width=
"100px"
class=
"demo-ruleForm"
class=
"demo-ruleForm"
:rules=
"rules"
>
>
<el-form-item
label=
"稽核名称:"
prop=
"batchYear"
class=
"fromItem"
>
<el-form-item
label=
"稽核名称:"
prop=
"auditName"
class=
"fromItem"
>
<el-input
v-model=
"ruleFormdialogBJ.batchYear"
disabled
></el-input>
<el-input
v-model=
"ruleFormdialogXQ.auditName"
disabled
></el-input>
</el-form-item>
<el-form-item
label=
"稽核时间:"
class=
"fromItem"
prop=
"dates"
>
<el-date-picker
v-model=
"ruleFormdialogXQ.auditTime"
value-format=
"yyyy-MM-dd hh:mm:ss"
disabled
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
label=
"稽核
时间
:"
label=
"稽核
频率
:"
prop=
"
planReviewDate
"
prop=
"
auditFrequency
"
class=
"fromItem"
class=
"fromItem"
>
>
<el-date-picker
<el-select
v-model=
"ruleFormdialogBJ.value1"
v-model=
"ruleFormdialogXQ.auditFrequency"
type=
"datetimerange"
placeholder=
"请选择"
range-separator=
"至"
disabled
start-placeholder=
"请选择开始日期"
>
end-placeholder=
"请选择结束日期"
>
<el-option
label=
"仅一次"
value=
"0"
></el-option>
</el-date-picker>
<el-option
label=
"每周"
value=
"1"
></el-option>
</el-form-item>
<el-option
label=
"每月"
value=
"2"
></el-option>
<el-form-item
label=
"稽核范围:"
prop=
"batchYear"
class=
"fromItem"
>
<el-option
label=
"每季度"
value=
"3"
></el-option>
<el-input
v-model=
"ruleFormdialogBJ.batchYear"
disabled
></el-input>
<el-option
label=
"每年"
value=
"4"
></el-option>
</el-form-item>
</el-select>
<el-form-item
label=
"稽核频率:"
prop=
"batchYear"
class=
"fromItem"
>
<el-input
v-model=
"ruleFormdialogBJ.batchYear"
disabled
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<p
class=
"zjBtn"
>
稽核结果
</p>
<div
class=
"setscroll"
>
<el-table
:data=
"XQtableData"
tooltip-effect=
"dark"
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>
<p
class=
"zjBtn"
>
<el-table-column
待评估项目
label=
"项目名称"
</p>
width=
"auto"
<el-table
prop=
"projectName"
@
selection-change=
"handleSelectionChange"
show-overflow-tooltip
:data=
"addtableData"
>
tooltip-effect=
"dark"
</el-table-column>
style=
"width: 100%"
<el-table-column
label=
"规则名称"
width=
"ruleName"
prop=
"projectId"
>
header-cell-class-name=
"custom-th-background"
</el-table-column>
class=
"eltable"
<el-table-column
prop=
"ruleType"
label=
"规则类型"
width=
"auto"
>
:row-class-name=
"tableRowClassName"
</el-table-column>
border
<el-table-column
label=
"问题申诉"
width=
"auto"
>
>
<
template
slot-scope=
"scope"
>
<el-table-column
label=
"序号"
width=
"55"
type=
"index"
>
<el-switch
</el-table-column>
v-model=
"scope.row.confirmStatus"
active-color=
"#C0C0C0"
<el-table-column
label=
"项目名称"
width=
"auto"
prop=
"projectId"
>
inactive-color=
"#13ce66"
</el-table-column>
active-value=
"2"
<el-table-column
prop=
"projectYear"
label=
"规则名称"
width=
"auto"
>
inactive-value=
"1"
</el-table-column>
active-text=
"无异议"
<el-table-column
prop=
"projectName"
label=
"规则类型"
width=
"auto"
>
inactive-text=
"有异议"
</el-table-column>
@
change=
"controlSwitch($event, scope.row)"
<el-table-column
prop=
"projectCategory"
label=
"问题申诉"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<el-switch
v-model=
"scope.row.confirmStatus"
active-color=
"#C0C0C0"
inactive-color=
"#13ce66"
active-value=
"2"
inactive-value=
"1"
active-text=
"无异议"
inactive-text=
"有异议"
@
change=
"controlSwitch($event, scope.row)"
disabled
>
<template
v-slot:active
>
<span>
开启
</span>
</
template
>
<
template
v-slot:inactive
>
<span>
关闭
</span>
</
template
>
</el-switch>
</template>
</el-table-column>
<el-table-column
prop=
"projectStatus"
label=
"申诉证明材料"
width=
"auto"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.confirmStatus == '1'"
>
>
<!--
<input
<template
v-slot:active
>
type=
"file"
<span>
开启
</span>
@
change=
"handleFileUpload($event, scope.row, 'fileId')"
</
template
>
/>
-->
<
template
v-slot:inactive
>
{{
scope
.
row
.
fileName
}}
<span>
关闭
</span>
<el-button
@
click=
"handleClickXZ(scope.row)"
>
下载
</el-button>
</
template
>
</
template
>
</el-switch>
</el-table-column>
</template>
<el-table-column
prop=
"哪个字段"
label=
"问题解决佐证材料"
width=
"auto"
>
</el-table-column>
<
template
<el-table-column
prop=
"ruleType"
label=
"申诉证明材料"
width=
"auto"
>
slot-scope=
"scope"
<
template
slot-scope=
"scope"
>
<input
type=
"file"
@
change=
"handleFileUpload($event,scope.row,sszmFileId)"
v-if=
"scope.row.confirmStatus == '1'"
v-if=
"scope.row.confirmStatus == '1'"
>
/>
<!--
<input
</
template
>
type=
"file"
</el-table-column>
@
change=
"handleFileUpload($event, scope.row, 'fileId')"
<el-table-column
prop=
"ruleType"
label=
"问题解决佐证材料"
width=
"auto"
>
/>
-->
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
fileName
}}
<input
<el-button
@
click=
"handleClickXZ(scope.row)"
>
下载
</el-button>
type=
"file"
</
template
>
@
change=
"handleFileUpload($event,scope.row,sszzFileId)"
</el-table-column>
v-if=
"scope.row.confirmStatus == '1'"
<el-table-column
prop=
"email"
label=
"问题整改复核"
width=
"auto"
>
/>
</el-table-column>
</
template
>
</el-table-column>
</el-table>
<el-table-column
prop=
"ruleType"
label=
"问题整改复核"
width=
"auto"
>
</el-table-column>
</el-table>
</div>
<!-- <el-pagination
@size-change="handleSizeChangeXQ"
@current-change="handleCurrentChangeXQ"
:current-page="currentPageXQ"
:page-sizes="[5, 10, 15, 20]"
:page-size="100"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
class="elpagination"
>
</el-pagination> -->
<p
class=
"midBtn"
>
<span
@
click=
"cancelXQ()"
>
取消
</span
><span
@
click=
"saveXF()"
>
保存
</span>
<span
@
click=
"resaultXF()"
>
提交
</span>
</p>
</div>
</div>
</el-dialog>
</el-dialog>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
import
{
ProblemRectification
,
auditTasksRuleProjectLink
,
wtssSelProblemRectification
,
xqRuleProjectLink
,
wtzgProblemRectification
,
savaauditRuleProjectLink
,
wtzgxfProblemRectification
,
tjTasksRuleProjectLink
,
ossupload
,
ossupload
,
downloadObject
,
}
from
"@/api/index"
;
}
from
"@/api/index"
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
listData
:
{},
dialogSS
:
false
,
QRtableData
:
[],
ruleForm
:
{
dialogQR
:
false
,
batchYear
:
""
,
XFtableData
:
[],
batchName
:
""
,
dialogXF
:
false
,
postEvalState
:
""
,
showButton
:
true
,
},
ruleForm
:
{},
tableData
:
[],
ruleFormdialog
:
{},
tableDataQR
:
[],
tableData
:
[],
tableDataSS
:
[],
checkedList
:
[],
currentPage
:
1
,
pageSizetjcl
:
10
,
total
:
0
,
dialogQR
:
false
,
pageSize
:
10
,
dialogXQ
:
false
,
ruleFormdialogBJ
:{
value1
:
[
new
Date
(
2000
,
10
,
10
,
10
,
10
),
new
Date
(
2000
,
10
,
11
,
10
,
10
)],
},
checkedList
:
[],
currentPage
:
1
,
pageSize
:
10
,
total
:
0
,
dialog
:
false
,
XQtableData
:
[],
ruleFormdialogXQ
:
{},
currentPageXQ
:
""
,
pageSizeXQ
:
""
,
};
},
mounted
()
{
this
.
submitForm
();
},
methods
:
{
timeChange
(
time
)
{
if
(
time
)
{
//给后端的参数
this
.
ruleFormdialogAdd
.
auditStartTime
=
time
[
0
];
this
.
ruleFormdialogAdd
.
auditEndTime
=
time
[
1
];
}
},
async
submitForm
()
{
let
params
=
{
current
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
};
};
Object
.
assign
(
params
,
this
.
ruleForm
);
console
.
log
(
params
);
let
res
=
await
auditTasksRuleProjectLink
(
params
);
if
(
res
.
code
==
"200"
)
{
this
.
tableData
=
res
.
data
.
records
;
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
.
confirmStatus
==
0
)
{
this
.
$set
(
item
,
"confirmStatusText"
,
"未确认"
);
}
else
if
(
item
.
confirmStatus
==
1
)
{
this
.
$set
(
item
,
"confirmStatusText"
,
"未下发"
);
}
else
if
(
item
.
confirmStatus
==
2
)
{
this
.
$set
(
item
,
"confirmStatusText"
,
"已下发"
);
}
});
this
.
total
=
res
.
data
.
total
*
1
;
}
},
},
mounted
()
{
resetForm
(
formName
)
{
this
.
$refs
[
formName
].
resetFields
();
this
.
currentPage
=
1
;
this
.
pageSize
=
10
;
this
.
submitForm
();
this
.
submitForm
();
},
},
methods
:
{
//详情
async
submitForm
()
{
async
detailsForm
(
type
)
{
let
params
=
{
if
(
this
.
checkedList
.
length
!=
1
)
{
current
:
this
.
currentPage
,
this
.
$message
(
"请选择"
);
pageSize
:
this
.
pageSize
,
return
;
};
}
Object
.
assign
(
params
,
this
.
ruleForm
);
let
params
=
{
console
.
log
(
params
);
// current: this.currentPageXQ,
let
res
=
await
ProblemRectification
(
params
);
// pageSize: this.pageSizeXQ,
if
(
res
.
code
==
"200"
)
{
projectId
:
this
.
checkedList
[
0
].
projectId
,
this
.
tableData
=
res
.
data
.
records
;
auditId
:
this
.
checkedList
[
0
].
auditId
,
this
.
tableData
.
forEach
((
item
)
=>
{
};
if
(
item
.
reviewStatus
==
"6"
)
{
let
res
=
await
xqRuleProjectLink
(
params
);
this
.
$set
(
item
,
"postEvalState"
,
"整改未完成"
);
if
(
res
.
code
==
200
)
{
}
else
if
(
item
.
reviewStatus
==
"7"
)
{
this
.
ruleFormdialogXQ
=
this
.
checkedList
[
0
];
this
.
$set
(
item
,
"postEvalState"
,
"整改已完成"
);
this
.
XQtableData
=
res
.
data
.
records
;
}
else
{
this
.
XQtableData
.
forEach
((
item
)
=>
{
this
.
$set
(
item
,
"postEvalState"
,
"整改提交"
);
if
(
}
item
.
confirmStatus
==
0
||
});
item
.
confirmStatus
==
null
||
this
.
total
=
res
.
data
.
total
*
1
;
!
item
.
confirmStatus
)
{
this
.
$set
(
item
,
"confirmStatus"
,
"2"
);
}
});
console
.
log
(
this
.
XQtableData
,
"XQtableDataXQtableData"
);
if
(
type
==
"xq"
)
{
this
.
dialog
=
true
;
}
else
{
this
.
dialogXF
=
true
;
}
}
},
}
resetForm
()
{
this
.
$refs
.
formName
.
resetFields
();
this
.
currentPage
=
1
;
this
.
pageSize
=
10
;
this
.
submitForm
();
},
//问题确认开关
controlSwitch
(
val
,
row
)
{
console
.
log
(
"333"
,
val
,
row
);
},
},
// 详情
async
detailsForm
()
{
// if (this.checkedList.length != 1) {
// this.$message("请选择");
// return;
// }
console
.
log
(
"222"
,
this
.
checkedList
);
this
.
dialogXQ
=
true
;
// this.ruleFormdialogBJ=this.checkedList[0]
// let params={
// current:1,
// pageSize:10,
// }
// Object.assign(params, this.ruleFormdialogAdd);
// let res=await joinProjectInfo(params)
// if (res.code == "200") {
// this.tableDataXQ = res.data.records;
// this.totalXQ = res.data.total * 1;
// }
//表格颜色
},
tableRowClassName
({
row
,
rowIndex
})
{
//问题整改
if
(
rowIndex
%
2
==
1
)
{
async
confirm
()
{
return
"warning-row"
;
if
(
this
.
checkedList
.
length
!=
1
)
{
}
this
.
$message
(
"请选择一条数据进行整改"
);
return
""
;
return
;
},
}
//主列表选中行信息
this
.
dialogQR
=
true
;
handleSelectionChange
(
selection
)
{
let
params
=
{
if
(
Array
.
isArray
(
selection
)
&&
selection
.
length
>
1
)
{
projectId
:
this
.
checkedList
[
0
].
projectId
,
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
selection
[
0
],
false
);
batchId
:
this
.
checkedList
[
0
].
batchId
,
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
selection
[
1
],
true
);
};
}
this
.
checkedList
=
this
.
$refs
.
multipleTable
.
selection
;
let
res
=
await
wtssSelProblemRectification
(
params
);
this
.
ruleFormdialog
=
this
.
checkedList
[
0
];
if
(
res
.
code
==
"200"
)
{
console
.
log
(
this
.
checkedList
,
"2222"
);
this
.
tableDataQR
=
res
.
data
.
records
;
},
this
.
tableDataQR
.
forEach
((
item
)
=>
{
handleSizeChange
(
val
)
{
switch
(
item
.
projectStage
)
{
console
.
log
(
`每页
${
val
}
条`
);
case
"1"
:
this
.
pageSize
=
val
;
this
.
$set
(
item
,
"projectStagetext"
,
"1.可研"
);
this
.
submitForm
();
break
;
},
case
"2"
:
handleCurrentChange
(
val
)
{
this
.
$set
(
item
,
"projectStagetext"
,
"2.计划"
);
console
.
log
(
`当前页:
${
val
}
`
);
break
;
this
.
currentPage
=
val
;
case
"3"
:
this
.
submitForm
();
this
.
$set
(
item
,
"projectStagetext"
,
"3.采购"
);
},
break
;
cancelXQ
()
{
case
"4"
:
this
.
dialog
=
false
;
this
.
$set
(
item
,
"projectStagetext"
,
"4.合同"
);
this
.
dialogXF
=
false
;
break
;
},
case
"5"
:
async
handleClick
(
row
,
index
,
rows
)
{
this
.
$set
(
item
,
"projectStagetext"
,
"5.执行"
);
console
.
log
(
"删除"
,
row
);
break
;
rows
.
splice
(
index
,
1
);
case
"6"
:
this
.
XQtableData
=
rows
;
this
.
$set
(
item
,
"projectStagetext"
,
"6.结决算及转资"
);
let
params
=
{
break
;
auditId
:
this
.
checkedList
[
0
].
auditId
,
}
ruleId
:
row
.
ruleId
,
});
projectId
:
row
.
projectId
,
console
.
log
(
this
.
tableDataQR
,
"加不进去?"
);
};
this
.
dataPretreatment
();
let
res
=
await
scauditTasksResults
(
params
);
}
},
},
//结果确认
handleFileUpload
(
event
,
row
,
type
)
{
async
saveXF
()
{
console
.
log
(
this
.
XQtableData
,
'this.XQtableData'
)
// let res = await jgxqResults(this.XQtableData);
},
//结果下发
async
resaultXF
()
{
// let params = {
// auditId: this.checkedList[0].auditId,
// };
let
res
=
await
wtxfResults
(
this
.
XQtableData
);
if
(
res
.
code
==
200
)
{
this
.
dialogXF
=
false
;
this
.
resetForm
();
}
},
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
);
},
},
submitFile
(
row
,
type
)
{
submitFile
(
row
,
type
)
{
if
(
this
.
file
)
{
const
formData
=
new
FormData
();
formData
.
append
(
"file"
,
this
.
file
);
ossupload
(
formData
)
.
then
((
response
)
=>
{
console
.
log
(
response
);
this
.
file
=
[];
this
.
$set
(
row
,
type
,
response
.
data
.
fileId
);
})
.
catch
((
error
)
=>
{
console
.
error
(
error
);
});
}
else
{
this
.
$message
(
"请先选择文件"
);
}
},
//表格颜色
tableRowClassName
({
row
,
rowIndex
})
{
if
(
rowIndex
%
2
==
1
)
{
return
"warning-row"
;
}
return
""
;
},
//主列表选中行信息
handleSelectionChange
(
selection
)
{
console
.
log
(
"222222"
);
if
(
Array
.
isArray
(
selection
)
&&
selection
.
length
>
1
)
{
console
.
log
(
"222222333"
,
this
.
checkedList
);
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
selection
[
0
],
false
);
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
selection
[
1
],
true
);
}
this
.
checkedList
=
this
.
$refs
.
multipleTable
.
selection
;
this
.
$forceUpdate
();
console
.
log
(
this
.
checkedList
,
"2222"
);
},
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
this
.
pageSize
=
val
;
},
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
this
.
currentPage
=
val
;
},
arraySpanMethod
({
row
,
column
,
rowIndex
,
columnIndex
})
{
if
(
columnIndex
===
0
)
{
//第一列
const
_row
=
this
.
mergingRows
[
rowIndex
];
const
_col
=
_row
>
0
?
1
:
0
;
return
{
rowspan
:
_row
,
colspan
:
_col
,
};
}
},
arraySpanMethodss
({
row
,
column
,
rowIndex
,
columnIndex
})
{
if
(
columnIndex
===
0
)
{
//第一列
const
_row
=
this
.
mergingRowsss
[
rowIndex
];
const
_col
=
_row
>
0
?
1
:
0
;
return
{
rowspan
:
_row
,
colspan
:
_col
,
};
}
},
//问题确认开关
controlSwitch
(
val
,
row
)
{
console
.
log
(
"333"
,
val
,
row
);
},
cancelSS
()
{
this
.
dialogQR
=
false
;
},
async
save
()
{
let
res
=
await
wtzgxfProblemRectification
(
this
.
tableDataSS
);
if
(
res
.
code
==
"200"
)
{
this
.
dialogSS
=
false
;
this
.
resetForm
();
}
else
{
this
.
$message
(
"整改提交失败"
);
}
},
cancel
()
{
this
.
dialogSS
=
false
;
},
async
saveSS
()
{
this
.
tableDataQR
.
forEach
((
item
)
=>
{
if
(
item
.
confirmStatus
==
"1"
)
{
if
(
!
item
.
feedback
)
{
this
.
$message
(
"有未填写的的解释批注"
);
throw
new
Error
(
"主动跳出循环"
);
}
}
});
let
res
=
await
wtzgProblemRectification
(
this
.
tableDataQR
);
if
(
res
.
code
==
"200"
)
{
this
.
dialogQR
=
false
;
this
.
resetForm
();
}
},
//问题提交
async
appeal
()
{
this
.
mergingPosss
=
0
;
this
.
mergingRowsss
=
[];
if
(
this
.
checkedList
.
length
!=
1
)
{
this
.
$message
(
"请选择一条数据进行提交"
);
return
;
}
this
.
dialogSS
=
true
;
let
params
=
{
projectId
:
this
.
checkedList
[
0
].
projectId
,
batchId
:
this
.
checkedList
[
0
].
batchId
,
};
let
res
=
await
wtssSelProblemRectification
(
params
);
if
(
res
.
code
==
"200"
)
{
this
.
tableDataSS
=
res
.
data
.
records
;
this
.
tableDataSS
.
forEach
((
item
)
=>
{
if
(
!
item
.
confirmStatus
)
{
this
.
$set
(
item
,
"confirmStatus"
,
"2"
);
}
switch
(
item
.
projectStage
)
{
case
"1"
:
this
.
$set
(
item
,
"projectStagetext"
,
"1.可研"
);
break
;
case
"2"
:
this
.
$set
(
item
,
"projectStagetext"
,
"2.计划"
);
break
;
case
"3"
:
this
.
$set
(
item
,
"projectStagetext"
,
"3.采购"
);
break
;
case
"4"
:
this
.
$set
(
item
,
"projectStagetext"
,
"4.合同"
);
break
;
case
"5"
:
this
.
$set
(
item
,
"projectStagetext"
,
"5.执行"
);
break
;
case
"6"
:
this
.
$set
(
item
,
"projectStagetext"
,
"6.结决算及转资"
);
break
;
}
});
console
.
log
(
this
.
tableDataSS
);
this
.
dataPretreatmentSS
();
}
},
handleFileUpload
(
event
,
row
,
type
)
{
console
.
log
(
"来了么"
);
this
.
file
=
event
.
target
.
files
[
0
];
this
.
submitFile
(
row
,
type
);
},
submitFile
(
row
,
type
)
{
if
(
this
.
file
)
{
if
(
this
.
file
)
{
const
formData
=
new
FormData
();
const
formData
=
new
FormData
();
formData
.
append
(
"file"
,
this
.
file
);
formData
.
append
(
"file"
,
this
.
file
);
...
@@ -748,301 +544,383 @@
...
@@ -748,301 +544,383 @@
this
.
$message
(
"请先选择文件"
);
this
.
$message
(
"请先选择文件"
);
}
}
},
},
closed
()
{
//问题确认开关
console
.
log
(
"关闭"
);
controlSwitch
(
val
,
row
)
{
this
.
handleSelectionChange
();
console
.
log
(
"333"
,
val
,
row
);
},
async
handleClickXZ
(
scope
)
{
console
.
log
(
scope
.
fileId
);
let
response
=
await
downloadObject
({
fileId
:
scope
.
fileId
*
1
,
});
let
blob
=
new
Blob
([
response
]);
if
(
"download"
in
document
.
createElement
(
"a"
))
{
let
elink
=
document
.
createElement
(
"a"
);
elink
.
download
=
scope
.
fileName
;
elink
.
style
.
display
=
"none"
;
elink
.
href
=
URL
.
createObjectURL
(
blob
);
document
.
body
.
appendChild
(
elink
);
elink
.
click
();
URL
.
revokeObjectURL
(
elink
.
href
);
// 释放URL 对象
document
.
body
.
removeChild
(
elink
);
}
},
},
},
};
},
</
script
>
};
<
style
scoped
lang=
"scss"
>
</
script
>
.main
{
<
style
scoped
lang=
"scss"
>
font-size
:
14px
;
.main
{
position
:
relative
;
font-size
:
14px
;
height
:
100%
;
position
:
relative
;
width
:
100%
;
height
:
100%
;
box-sizing
:
border-box
;
width
:
100%
;
overflow-x
:
hidden
;
box-sizing
:
border-box
;
}
overflow-x
:
hidden
;
.el-form
{
}
display
:
flex
;
.el-form
{
width
:
99%
;
display
:
flex
;
flex-wrap
:
wrap
;
width
:
100%
;
border-top
:
2px
solid
#23c6c8
;
flex-wrap
:
wrap
;
border-left
:
1px
solid
#dee5e7
;
border-top
:
2px
solid
#23c6c8
;
border-right
:
1px
solid
#dee5e7
;
border-left
:
1px
solid
#dee5e7
;
border-bottom
:
1px
solid
#dee5e7
;
border-right
:
1px
solid
#dee5e7
;
padding
:
20px
10px
;
border-bottom
:
1px
solid
#dee5e7
;
margin
:
20px
0
;
padding
:
20px
10px
;
.fromItem
{
margin-bottom
:
20px
;
min-width
:
24%
;
.fromItem
{
margin
:
0
0.5%
;
min-width
:
24%
;
margin-bottom
:
20px
;
margin
:
0
0.5%
;
.el-input
{
margin-bottom
:
20px
;
width
:
226px
;
.el-input
{
}
width
:
226px
;
.el-select
{
width
:
226px
;
}
}
/
deep
/
.el-form-item__content
{
text-align
:
left
;
display
:
inline-block
;
margin-left
:
10px
!important
;
}
/
deep
/
.el-form-item__label
{
font-weight
:
bold
;
color
:
#000
;
width
:
160px
!important
;
}
}
.button
{
.el-select
{
display
:
inline-block
;
width
:
226px
;
width
:
100%
;
text-align
:
left
;
/deep/
.el-form-item__content
{
margin-left
:
20px
!important
;
text-align
:
left
;
img
{
width
:
14px
;
height
:
14px
;
margin-right
:
15px
;
vertical-align
:
middle
;
}
}
.el-button
{
background-color
:
#23c6c8
;
border-color
:
#23c6c8
;
color
:
#fff
;
}
}
}
}
}
.eltable
{
/
deep
/
.el-form-item__content
{
box-sizing
:
border-box
;
text-align
:
center
;
height
:
100%
;
overflow-y
:
auto
;
}
/
deep
/
.el-table
.warning-row
{
background
:
#f0ffff
;
//
color
:
#2785e6
;
}
.elpagination
{
text-align
:
right
;
margin-right
:
100px
;
}
/
deep
/
.el-dialog
{
border-radius
:
10px
;
margin-top
:
3vh
!important
;
margin-left
:
3vw
!important
;
}
/
deep
/
.el-table
th
.el-table__cell.is-leaf
,
.el-table
td
.el-table__cell
{
text-align
:
center
;
}
/
deep
/
.el-dialog__wrapper
{
position
:
absolute
;
}
/
deep
/
.v-modal
{
position
:
absolute
;
}
/
deep
/
.el-dialog__header
{
background-color
:
#0d867f
;
padding-bottom
:
20px
;
text-align
:
left
;
text-align
:
left
;
border-radius
:
10px
10px
0
0
;
display
:
inline-block
;
.el-dialog__title
{
margin-left
:
10px
!important
;
color
:
#fff
;
}
}
}
/
deep
/
.el-table__header
th
{
/
deep
/
.el-form-item__label
{
background-color
:
#eeeeee
;
font-weight
:
bold
;
font-weight
:
bold
;
.cell
{
color
:
#000
;
color
:
#333
;
width
:
160px
!important
;
}
}
}
.button
{
/
deep
/
.el-table
{
display
:
inline-block
;
//
width
:
100%
;
width
:
100%
;
.el-table__header-wrapper
table,
text-align
:
left
;
.el-table__body-wrapper
table
{
/deep/
.el-form-item__content
{
//
width
:
100%
!important
;
margin-left
:
20px
!important
;
}
.el-table__body
,
.el-table__footer
,
.el-table__header
{
table-layout
:
auto
;
}
}
.dialog
{
height
:
680px
;
.xqtitle
{
text-align
:
left
;
text-align
:
left
;
font-size
:
18px
;
img
{
width
:
14px
;
span
{
height
:
14px
;
display
:
inline-block
;
margin-right
:
15px
;
width
:
5px
;
height
:
20px
;
background
:
#0d867f
;
margin-right
:
14px
;
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
}
}
}
.el-button
{
.textarea
{
background-color
:
#23c6c8
;
width
:
100%
;
border-color
:
#23c6c8
;
/deep/
.el-form-item__content
{
display
:
flex
;
}
.el-textarea
{
width
:
60%
;
}
}
.Btn
{
width
:
200px
;
margin
:
0
auto
;
span
{
display
:
inline-block
;
width
:
80px
;
height
:
25px
;
line-height
:
25px
;
text-align
:
center
;
border-radius
:
4px
;
margin-right
:
12px
;
}
span
:first-of-type
{
border
:
1px
solid
#000
;
}
span
:last-of-type
{
background-color
:
#0d867f
;
border
:
1px
solid
#0d867f
;
color
:
#fff
;
color
:
#fff
;
}
}
}
}
/
deep
/
.el-dialog__headerbtn
.el-dialog__close
{
}
.eltable
{
width
:
100%
;
box-sizing
:
border-box
;
}
/
deep
/
.el-table
.warning-row
{
background
:
#f0ffff
;
//
color
:
#2785e6
;
}
.elpagination
{
text-align
:
right
;
margin-right
:
100px
;
}
/
deep
/
.el-dialog
{
border-radius
:
10px
;
margin-top
:
3vh
!important
;
margin-left
:
3vw
!important
;
//
height
:
500px
;
//
box-sizing
:
border-box
;
//
overflow-y
:
auto
;
}
/
deep
/
.el-dialog__wrapper
{
position
:
absolute
;
}
/
deep
/
.v-modal
{
position
:
absolute
;
}
/
deep
/
.el-dialog__header
{
background-color
:
#0d867f
;
//
padding-bottom
:
20px
;
text-align
:
left
;
border-radius
:
10px
10px
0
0
;
.el-dialog__title
{
color
:
#fff
;
color
:
#fff
;
}
}
.zjBtn
{
}
width
:
400px
;
/
deep
/
.el-table__header
th
{
background-color
:
#eeeeee
;
font-weight
:
bold
;
.cell
{
color
:
#333
;
}
}
/
deep
/
.el-table
{
width
:
100%
;
.el-table__header-wrapper
table,
.el-table__body-wrapper
table
{
width
:
100%
!important
;
}
.el-table__body
,
.el-table__footer
,
.el-table__header
{
table-layout
:
auto
;
}
}
.dialog
{
.title
{
text-align
:
left
;
text-align
:
left
;
vertical-align
:
middle
;
font-size
:
18px
;
font-family
:
"PingFangSC-Regular"
,
"PingFang SC"
,
sans-serif
;
font-weight
:
400
;
font-style
:
normal
;
font-size
:
16px
;
color
:
#1ec695
;
text-align
:
left
;
height
:
20px
;
margin-top
:
0
;
span
{
span
{
border-radius
:
2px
;
display
:
inline-block
;
display
:
inline-block
;
width
:
140px
;
width
:
5px
;
height
:
25px
;
height
:
18px
;
line-height
:
25px
;
background-color
:
#1ec695
;
text-align
:
center
;
margin-right
:
14px
;
border-radius
:
5px
;
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
span
:last-of-type
{
background-color
:
#4ca6a7
;
color
:
#fff
;
padding
:
5px
10px
;
margin-left
:
10px
;
}
}
}
/
deep
/
.el-icon-position
{
.content
{
margin-right
:
10px
;
width
:
100%
;
}
display
:
flex
;
/
deep
/
.el-icon-folder-delete
{
flex-wrap
:
wrap
;
margin-right
:
10px
;
p
{
}
width
:
24%
;
.cxItem
{
text-align
:
left
;
text-align
:
right
;
display
:
flex
;
width
:
20%
;
label
{
.zjquery
{
display
:
inline-block
;
display
:
inline-block
;
width
:
150px
;
background-color
:
#4ca6a7
;
flex-shrink
:
0
;
width
:
89px
;
text-align
:
right
;
height
:
40px
;
font-weight
:
bold
;
color
:
#fff
;
margin-right
:
20px
;
text-align
:
center
;
vertical-align
:
middle
;
line-height
:
40px
;
}
border-radius
:
5px
;
span
{
display
:
inline-block
;
text-align
:
left
;
}
}
}
}
}
.midBtn
{
.table
{
margin
:
0
auto
;
width
:
100%
;
span
{
display
:
flex
;
display
:
inline-block
;
p
{
width
:
80px
;
width
:
150px
;
height
:
25px
;
text-align
:
right
;
line-height
:
25px
;
font-weight
:
bold
;
text-align
:
center
;
margin-right
:
10px
;
border-radius
:
5px
;
}
}
span
:first-of-type
{
.tablepg
{
border
:
1px
solid
grey
;
margin-top
:
20px
;
}
margin-left
:
5px
;
span
:last-of-type
{
background-color
:
#4ca6a7
;
color
:
#fff
;
}
}
}
}
/
deep
/
.el-table
th
.el-table__cell.is-leaf
,
}
.el-table
td
.el-table__cell
{
.textarea
{
text-align
:
center
;
width
:
100%
;
.el-textarea
{
width
:
60%
;
}
}
/
deep
/
.el-table__cell
{
}
.Btn
{
width
:
200px
;
margin
:
0
auto
;
span
{
display
:
inline-block
;
width
:
80px
;
height
:
25px
;
line-height
:
25px
;
text-align
:
center
;
text-align
:
center
;
border-radius
:
4px
;
margin-right
:
12px
;
}
}
.dialogHeigth
{
span
:first-of-type
{
height
:
300px
;
border
:
1px
solid
#000
;
box-sizing
:
border-box
;
overflow-y
:
auto
;
}
}
.setscroll
{
span
:last-of-type
{
width
:
100%
;
background-color
:
#0d867f
;
height
:
650px
;
border
:
1px
solid
#0d867f
;
position
:
relative
;
color
:
#fff
;
overflow
:
auto
;
}
}
.setscrolldialog
{
}
width
:
100%
;
/
deep
/
.el-dialog__headerbtn
.el-dialog__close
{
height
:
300px
;
color
:
#fff
;
position
:
relative
;
}
overflow
:
auto
;
/
deep
/
.el-table
th
.el-table__cell.is-leaf
,
box-sizing
:
border-box
;
.el-table
td
.el-table__cell
{
/deep/
.el-table
{
text-align
:
center
;
height
:
300px
;
}
overflow
:
auto
;
/
deep
/
.el-table__cell
{
position
:
absolute
;
text-align
:
center
;
min-width
:
100%
;
}
}
h3
{
text-align
:
left
;
}
/
deep
/
.el-dialog__body
{
padding
:
0
10px
;
h3
{
margin
:
10px
0
;
}
}
.setscrolldialogx
{
}
width
:
100%
;
/
deep
/
.el-descriptions-item__container
.el-descriptions-item__label
{
font-weight
:
bold
;
width
:
100px
;
text-align
:
right
;
}
/
deep
/
.el-tabs__content
{
overflow
:
auto
;
height
:
500px
;
padding-bottom
:
20px
;
}
.close
{
width
:
100%
;
height
:
40px
;
line-height
:
20px
;
span
{
display
:
inline-block
;
width
:
80px
;
height
:
30px
;
line-height
:
30px
;
border
:
1px
solid
grey
;
border-radius
:
5px
;
}
}
.setscrolldialog
{
width
:
100%
;
height
:
300px
;
overflow
:
auto
;
box-sizing
:
border-box
;
/deep/
.el-table
{
width
:
96%
!important
;
height
:
300px
;
height
:
300px
;
position
:
relative
;
overflow
:
auto
;
overflow
:
auto
;
box-sizing
:
border-box
;
/deep/
.el-table
{
position
:
absolute
;
width
:
auto
!important
;
max-width
:
none
;
}
}
}
::v-deep
.el-table
::before
{
}
display
:
none
!important
;
.zjBtn
{
width
:
400px
;
text-align
:
left
;
vertical-align
:
middle
;
span
{
display
:
inline-block
;
width
:
140px
;
height
:
25px
;
line-height
:
25px
;
text-align
:
center
;
border-radius
:
5px
;
vertical-align
:
middle
;
}
}
.midBtn
{
margin
:
0
auto
;
height
:
50px
;
line-height
:
50px
;
span
{
display
:
inline-block
;
width
:
80px
;
height
:
25px
;
line-height
:
25px
;
text-align
:
center
;
margin-right
:
10px
;
border-radius
:
5px
;
background-color
:
#4ca6a7
;
color
:
#fff
;
}
}
</
style
>
span
:first-of-type
{
\ No newline at end of file
border
:
1px
solid
grey
;
background-color
:
#fff
;
color
:
#333
;
}
}
.setscroll
{
width
:
100%
;
height
:
585px
;
position
:
relative
;
overflow
:
auto
;
}
.dialog
{
.el-form
{
border
:
none
!important
;
border-top
:
none
;
border-left
:
none
;
border-right
:
none
;
border-bottom
:
none
;
}
}
/
deep
/
.el-switch__core
{
height
:
30px
;
width
:
79px
!important
;
border-radius
:
20px
;
}
/
deep
/
.el-switch.is-checked
.el-switch__core
::after
{
margin-left
:
-28px
;
}
/
deep
/
.el-switch_label
{
height
:
30px
;
line-height
:
30px
;
}
/
deep
/
.el-switch
{
height
:
30px
;
line-height
:
30px
;
border-radius
:
20px
;
}
/
deep
/
.el-switch__label
*
{
font-size
:
12px
;
}
/
deep
/
.el-switch__core
:after
{
width
:
26px
;
height
:
26px
;
}
/
deep
/
.el-switch__label--left
{
position
:
absolute
;
left
:
30px
;
color
:
#fff
;
z-index
:
-1111
;
cursor
:
default
;
user-select
:
none
;
}
/
deep
/
.el-switch__label--right
{
position
:
absolute
;
right
:
30px
;
color
:
#fff
;
z-index
:
-1111
;
cursor
:
default
;
user-select
:
none
;
}
/
deep
/
.el-switch__label--right.is-active
{
z-index
:
1111
;
color
:
grey
!important
;
height
:
30px
;
line-height
:
30px
;
}
/
deep
/
.el-switch__label--left.is-active
{
z-index
:
1111
;
color
:
#fff
!important
;
height
:
30px
;
line-height
:
30px
;
}
.setscroll
{
width
:
100%
;
height
:
650px
;
position
:
relative
;
overflow
:
auto
;
}
</
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