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 cbe441f8
authored
Jun 25, 2024
by
liangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
暂存一下
1 parent
b495441d
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
148 additions
and
78 deletions
src/views/assessChecks/assistedFeedback.vue
src/views/assessChecks/auxiliaryInspection.vue
src/views/assessChecks/checkCompliance.vue
src/views/assessChecks/checkComplianceFZ.vue
src/views/assessChecks/confirmRelease.vue
src/views/assessChecks/materialAcquisition.vue
src/views/layout/leftBar.vue
src/views/projectCheck/checkResault.vue
src/views/assessChecks/assistedFeedback.vue
View file @
cbe441f
...
...
@@ -722,7 +722,7 @@ export default {
this
.
dataPretreatmentSS
();
}
},
handleFileUpload
ZG
(
event
,
row
,
id
)
{
handleFileUpload
(
event
,
row
,
id
)
{
console
.
log
(
"来了么"
);
this
.
file
=
event
.
target
.
files
[
0
];
this
.
submitFile
(
row
,
id
);
...
...
src/views/assessChecks/auxiliaryInspection.vue
View file @
cbe441f
...
...
@@ -52,16 +52,17 @@
/>
</el-select>
</el-form-item>
<el-form-item
label=
"
检查评估
状态:"
prop=
"postEvalState"
class=
"fromItem"
>
<el-form-item
label=
"
项目审核
状态:"
prop=
"postEvalState"
class=
"fromItem"
>
<el-select
v-model=
"ruleForm.postEvalState"
placeholder=
"请选择"
clearable
>
<el-option
label=
"待提交"
value=
"2"
></el-option>
<el-option
label=
"已撤回"
value=
"4"
></el-option>
<el-option
label=
"已提交"
value=
"3"
></el-option>
<el-option
label=
"材料未上传"
value=
"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-item
...
...
@@ -94,17 +95,17 @@
<el-button
@
click=
"inspectNexts()"
><i
class=
"el-icon-tickets"
></i>
合规性检查评估
</el-button
>
<el-button
@
click=
"submitNexts()"
<
!--
<
el-button
@
click=
"submitNexts()"
><i
class=
"el-icon-finished"
></i>
提交问题清单
</el-button
>
>
-->
<el-button
@
click=
"rectificationReview('ruleForm')"
>
<i
class=
"el-icon-chat-dot-square"
></i
>
整改复核
</el-button
>
<el-button
@
click=
"subfinished()"
>
<
!--
<
el-button
@
click=
"subfinished()"
>
<i
class=
"el-icon-finished"
></i
>
归档
</el-button
>
>
-->
<!--
<el-button
@
click=
"withdraw()"
>
<i
class=
"el-icon-folder-delete"
></i>
撤回
</el-button>
-->
...
...
@@ -548,16 +549,17 @@ export default {
}
else
if
(
item
.
postEvalState
==
1
)
{
this
.
$set
(
item
,
"postEvalStateText"
,
"待评估"
);
}
else
if
(
item
.
postEvalState
==
2
)
{
this
.
$set
(
item
,
"postEvalStateText"
,
"已评估"
);
}
else
if
(
item
.
postEvalState
==
3
)
{
this
.
$set
(
item
,
"postEvalStateText"
,
"无需整改"
);
}
else
if
(
item
.
postEvalState
==
4
)
{
this
.
$set
(
item
,
"postEvalStateText"
,
"需整改"
);
}
else
if
(
item
.
postEvalState
==
5
)
{
}
else
if
(
item
.
postEvalState
==
3
)
{
this
.
$set
(
item
,
"postEvalStateText"
,
"已整改"
);
}
else
if
(
item
.
postEvalState
==
6
)
{
}
else
if
(
item
.
postEvalState
==
4
)
{
this
.
$set
(
item
,
"postEvalStateText"
,
"已归档"
);
}
// else if (item.postEvalState == 5) {
// this.$set(item, "postEvalStateText", "已整改");
// }else if (item.postEvalState == 6) {
// this.$set(item, "postEvalStateText", "已归档");
// }
this
.
$set
(
item
,
...
...
@@ -979,8 +981,8 @@ h3 {
.eltable
{
box-sizing
:
border-box
;
text-align
:
center
;
width
:
1
5
0%
;
min-width
:
1
5
0%
;
width
:
1
9
0%
;
min-width
:
1
9
0%
;
}
/
deep
/
.el-table__fixed-body-wrapper
.el-table__body
{
padding-bottom
:
6px
;
//
6px为横向滚动条高度
...
...
src/views/assessChecks/checkCompliance.vue
View file @
cbe441f
...
...
@@ -190,7 +190,7 @@
</div>
</div>
<p
class=
"Btn"
>
<span
@
click=
"cancel()"
>
取消
</span><span
@
click=
"save()"
>
保存
</span>
<span
@
click=
"cancel()"
>
取消
</span><span
@
click=
"save()"
>
保存
</span>
<span
@
click=
"submitNexts()"
>
提交
</span>
</p>
</div>
</
template
>
...
...
@@ -250,6 +250,42 @@ export default {
this
.
init
(
this
.
clqparams
);
},
methods
:
{
//提交问题清单
async
submitNexts
()
{
// this.$router.push({
// path: "/mainLayout/Compliancefz",
// query: {
// clqparams: JSON.stringify(this.clqparams),
// },
// });
this
.
$confirm
(
"您确定检查完所有流程并去提交?"
,
"提示"
,
{
confirmButtonText
:
"是"
,
cancelButtonText
:
"继续检查"
,
distinguishCancelAndClose
:
true
,
type
:
"warning"
,
})
.
then
(()
=>
{
this
.
save
();
this
.
$router
.
push
({
path
:
"/mainLayout/Compliancefz"
,
query
:
{
clqparams
:
JSON
.
stringify
(
this
.
clqparams
),
},
});
})
.
catch
((
action
)
=>
{
});
},
// 放大图片
handlePictureCardPreview
(
file
)
{
console
.
log
(
"点击放大"
);
...
...
@@ -621,35 +657,35 @@ export default {
// console.log("来了么222222", this.fileList);
// },
},
beforeRouteLeave
(
to
,
from
,
next
){
if
(
JSON
.
stringify
(
this
.
questionList
)
==
JSON
.
stringify
(
this
.
oldQuestionList
)){
console
.
log
(
'相同么'
)
next
({
replace
:
true
,
redirect
:
'/mainLayout/auxiliaryInspection'
})
//
beforeRouteLeave(to,from,next){
//
if(JSON.stringify(this.questionList) ==JSON.stringify(this.oldQuestionList)){
//
console.log('相同么')
//
next({replace: true,redirect: '/mainLayout/auxiliaryInspection'})
}
else
{
console
.
log
(
'不同么'
)
setTimeout
(()
=>
{
this
.
$confirm
(
"是否保存?"
,
"提示"
,
{
confirmButtonText
:
"是"
,
cancelButtonText
:
"否"
,
distinguishCancelAndClose
:
true
,
type
:
"warning"
,
}).
then
(()
=>
{
this
.
save
(
'leave'
);
next
({
replace
:
true
,
redirect
:
'/mainLayout/auxiliaryInspection'
})
})
.
catch
((
action
)
=>
{
console
.
log
(
action
,
"actionaction"
);
if
(
action
===
"cancel"
)
{
next
({
replace
:
true
,
redirect
:
'/mainLayout/auxiliaryInspection'
})
}
else
{
// next()
}
});
},
16
)
}
//
}else{
//
console.log('不同么')
//
setTimeout(() => {
//
this.$confirm("是否保存?", "提示", {
//
confirmButtonText: "是",
//
cancelButtonText: "否",
//
distinguishCancelAndClose: true,
//
type: "warning",
//
}).then(() => {
//
this.save('leave');
//
next({replace: true,redirect: '/mainLayout/auxiliaryInspection'})
//
})
//
.catch((action) => {
//
console.log(action, "actionaction");
//
if (action === "cancel") {
//
next({replace: true,redirect: '/mainLayout/auxiliaryInspection'})
//
} else {
//
// next()
//
}
//
});
//
},16)
//
}
}
//
}
};
</
script
>
...
...
src/views/assessChecks/checkComplianceFZ.vue
View file @
cbe441f
...
...
@@ -52,7 +52,8 @@
</el-table>
</div>
<p
class=
"Btn"
v-if=
"!ishow"
>
<span
@
click=
"cancel()"
>
取消
</span><span
@
click=
"save('add')"
>
确定
</span>
<span
@
click=
"cancel()"
>
取消
</span>
<!-- <span @click="save('add')">确定</span> -->
<span
@
click=
"save('upLoad')"
>
提交
</span>
</p>
</div>
...
...
@@ -197,23 +198,28 @@ export default {
console
.
log
(
params
,
"this.clqparams"
);
// return
if
(
type
==
"add"
)
{
console
.
log
(
params
,
"this.zjtableDatathis.zjtableData"
);
let
res
=
await
bcpostEvalQuesInfo
(
params
);
if
(
res
.
code
==
"200"
)
{
this
.
$router
.
go
(
-
1
);
}
else
{
this
.
$message
(
"保存失败"
);
}
}
else
{
// if (type == "add") {
// console.log(params, "this.zjtableDatathis.zjtableData");
// let res = await bcpostEvalQuesInfo(params);
// if (res.code == "200") {
// // this.$router.go(-1);
// this.$message("保存成功");
// } else {
// this.$message("保存失败");
// }
// } else {
let
res
=
await
tjpostEvalQuesInfo
(
params
);
if
(
res
.
code
==
"200"
)
{
this
.
$router
.
go
(
-
1
);
// this.$router.go(-1);
this
.
$router
.
push
({
path
:
"/mainLayout/auxiliaryInspection"
,
});
}
else
{
this
.
$message
(
"
上传
失败"
);
this
.
$message
(
"
提交
失败"
);
}
}
},
//
},
},
};
</
script
>
...
...
src/views/assessChecks/confirmRelease.vue
View file @
cbe441f
...
...
@@ -452,6 +452,7 @@
v-model=
"ruleFormZJ.projectYear"
placeholder=
"请选择"
clearable
multiple
>
<el-option
v-for=
"(item, index) in yearsList"
...
...
src/views/assessChecks/materialAcquisition.vue
View file @
cbe441f
...
...
@@ -69,19 +69,16 @@
prop=
"postEvalState"
class=
"fromItem"
>
<el-select
<el-select
v-model=
"ruleForm.postEvalState"
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=
"3"
></el-option>
<el-option
label=
"需整改"
value=
"4"
></el-option>
<el-option
label=
"已整改"
value=
"5"
></el-option>
<el-option
label=
"已归档"
value=
"6"
></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>
...
...
@@ -415,7 +412,7 @@
</el-switch>
</template>
</el-table-column>
<el-table-column
label=
"解释批注"
>
<el-table-column
label=
"解释批注"
>
<
template
slot-scope=
"scope"
>
<el-input
v-model=
"scope.row.feedback"
...
...
@@ -432,7 +429,7 @@
/>
</
template
>
</el-table-column>
<el-table-column
label=
"上传整改材料"
prop=
"zgFileId"
width=
"auto"
>
<el-table-column
label=
"上传整改材料"
prop=
"zgFileId"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<input
type=
"file"
...
...
@@ -681,14 +678,12 @@ export default {
}
else
if
(
item
.
postEvalState
==
"0"
)
{
this
.
$set
(
item
,
"postEvalStateText"
,
"材料未上传"
);
}
else
if
(
item
.
postEvalState
==
1
)
{
this
.
$set
(
item
,
"postEvalStateText"
,
"材料已上传"
);
}
else
if
(
item
.
postEvalState
==
3
)
{
this
.
$set
(
item
,
"postEvalStateText"
,
"无需整改"
);
}
else
if
(
item
.
postEvalState
==
4
)
{
this
.
$set
(
item
,
"postEvalStateText"
,
"待评估"
);
}
else
if
(
item
.
postEvalState
==
2
)
{
this
.
$set
(
item
,
"postEvalStateText"
,
"需整改"
);
}
else
if
(
item
.
postEvalState
==
5
)
{
}
else
if
(
item
.
postEvalState
==
3
)
{
this
.
$set
(
item
,
"postEvalStateText"
,
"已整改"
);
}
else
if
(
item
.
postEvalState
==
6
)
{
}
else
if
(
item
.
postEvalState
==
4
)
{
this
.
$set
(
item
,
"postEvalStateText"
,
"已归档"
);
}
// if (item.batchState == "3") {
...
...
@@ -1249,8 +1244,8 @@ h3 {
.eltable
{
box-sizing
:
border-box
;
text-align
:
center
;
width
:
1
5
0%
;
min-width
:
1
5
0%
;
width
:
1
9
0%
;
min-width
:
1
9
0%
;
}
/
deep
/
.el-table--scrollable-x
.el-table__body-wrapper
{
overflow-x
:
hidden
!important
;
...
...
src/views/layout/leftBar.vue
View file @
cbe441f
...
...
@@ -71,6 +71,24 @@ export default {
immediate
:
true
,
handler
(
newParams
,
oldParams
)
{
console
.
log
(
'路又变了'
,
newParams
)
if
(
this
.
$route
.
path
==
"/mainLayout/Compliancefz"
||
this
.
$route
.
path
==
"/mainLayout/Compliance"
)
{
this
.
activeIndex
=
"/mainLayout/auxiliaryInspection"
;
}
else
if
(
this
.
$route
.
path
==
"/mainLayout/qrCompliance"
)
{
this
.
activeIndex
=
"/mainLayout/confirmChanges"
;
}
else
if
(
this
.
$route
.
path
==
"/mainLayout/Compliancexf"
)
{
if
(
this
.
$route
.
query
.
fromType
==
"fzcx"
)
{
this
.
activeIndex
=
"/mainLayout/auxiliaryQuery"
;
}
else
{
this
.
activeIndex
=
"/mainLayout/assitedDistribution"
;
}
}
else
{
this
.
activeIndex
=
this
.
$route
.
path
;
}
// this.$refs.kzMenu.activeIndex = this.$route.path;
// this.activeIndex = this.$route.path;
},
},
autho
(
newVal
,
oldVal
)
{
...
...
src/views/projectCheck/checkResault.vue
View file @
cbe441f
...
...
@@ -96,6 +96,9 @@
>
</el-table-column>
<el-table-column
prop=
"abnormalResults"
label=
"检查异常结果"
>
<template
v-slot=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"detailsForm(scope.row)"
>
{{
scope
.
row
.
abnormalResults
}}
</el-button>
</
template
>
</el-table-column>
</el-table>
</div>
...
...
@@ -271,11 +274,16 @@ export default {
this
.
submitForm
();
},
//详情
async
detailsForm
()
{
if
(
this
.
checkedList
.
length
!=
1
)
{
async
detailsForm
(
info
)
{
if
(
info
){
this
.
checkedList
[
0
]
=
info
}
else
{
if
(
this
.
checkedList
.
length
!=
1
)
{
this
.
$message
(
"请选择"
);
return
;
}
}
let
params
=
{
current
:
this
.
currentPageXQ
,
pageSize
:
this
.
pageSizeXQ
,
...
...
@@ -651,4 +659,7 @@ h3 {
position
:
relative
;
overflow
:
auto
;
}
/
deep
/
.el-button--small
{
font-size
:
14px
;
}
</
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