修改bug 52197 项目清单确认流程:流程监控进去的,查看详情数据,回执不应该填写
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user