修改bug 52197 项目清单确认流程:流程监控进去的,查看详情数据,回执不应该填写

This commit is contained in:
zhangyichen
2022-03-29 11:08:16 +08:00
parent 2e9a56070e
commit f89dbc3ef3
3 changed files with 13 additions and 5 deletions
+4
View File
@@ -72,8 +72,12 @@ router.beforeEach(function (to, from, next) {
let prcName = to.query.prcName;
let prcType = to.query.prcType;
let routerType = to.query.routerType;
let unShowReceipt = to.query.unShowReceipt;
let param = "taskIds=" + taskId + "&prcId=" + prcId
+ "&prcNum=" + prcNum + "&prcName=" + prcName + "&prcType=" + prcType;
if (unShowReceipt) {
param += "&unShowReceipt=" + unShowReceipt
}
let param4 = {
path: path,
token: token,
@@ -126,7 +126,7 @@
label="在产车实施日期">
</el-table-column>
</el-table>
<div>
<div v-show="!this.$route.query.unShowReceipt">
<el-collapse accordion>
<el-collapse-item title="回执说明">
<div style="margin: 10px 0;">
@@ -261,7 +261,7 @@ export default {
this.toProcessDetail('bzzqyjStep1-9',row)
}else if(prcType === '10'){
//项目清单确认
this.toProcessDetail('xmqdqrStep1-4',row)
this.toProcessDetail('xmqdqrStep1-4',row, 'unShowReceipt')
} else if(prcType === '16'){
//外部署名
this.toProcessDetail('wbsmStep1-5',row)
@@ -285,8 +285,8 @@ export default {
this.$message.warning('当前流程未全部办理完成,无法查看')
}
},
toProcessDetail(componentName,row) {
this.$router.push({
toProcessDetail(componentName,row,unShowReceipt) {
let data = {
name: componentName,
query: {
taskIds: row.id,
@@ -295,7 +295,11 @@ export default {
prcName: row.prcName,
prcType: row.prcType
}
})
}
if (unShowReceipt) {
data.query.unShowReceipt = true
}
this.$router.push(data)
},
// table行选择事件
tableChange (row) {