政策-已办-查看流程数据

This commit is contained in:
zyn
2023-11-09 10:50:20 +08:00
parent e3e5094c40
commit 55c3b44a10
6 changed files with 49 additions and 34 deletions
@@ -219,16 +219,17 @@ export default {
this.form.meetingTopicList = [ ...res ]
},
getData () {
const { bpnId, taskIds, prcId, disabledXX, verifySarStandard } = this.$route.query
const { bpnId, taskIds, prcId, operate } = this.$route.query
if (disabledXX) {
this.disabled = disabledXX
if (operate === 'view') {
this.disabled = true
}
// 重新起草
if (taskIds) {
this.title = '重新起草'
if (verifySarStandard) {
if (operate === 'view') {
this.title = '起草'
} else {
this.title = '重新起草'
}
this.showProcess = true
inboundLiaisonDetail({
@@ -92,7 +92,7 @@
</el-col>
</el-row>
</div>
<ReceiptDescription v-model="form.commentText" prop="commentText" title="回执说明"></ReceiptDescription>
<ReceiptDescription v-model="form.commentText" prop="commentText" title="回执说明" :disabled="$route.query.operate === 'view'"></ReceiptDescription>
</div>
<div class="block" style="padding-top: 20px;" v-show="active === '2'">
<PersonInfo ref="roleForm" :roleForm="roleForm" :roleRules="roleRules" :disabled="disabled"></PersonInfo>
@@ -255,22 +255,26 @@ export default {
}
switch (this.$route.params.type) {
case 'step1':
this.disabled = false
this.showProcessFooter = true // 底部显隐
this.showProcess = false // 审批历史
// this.disabled = false
// this.showProcessFooter = true // 底部按钮显隐
// this.showProcess = false // 审批历史
this.showTransfer = false // 转办
this.showOver2 = false // 驳回
this.showSave = true // 保存
this.showSubmit = true // 提交
break
case 'step1_1':
if (this.$route.query.disabledXX) {
if (this.$route.query.operate === 'view') {
this.disabled = true
this.showProcessFooter = false
this.showProcess = true
} else {
this.disabled = false
this.showProcessFooter = true
this.showProcess = false
}
break
case 'step1_1':
this.disabled = false
this.showProcessFooter = true
this.showProcess = true
this.showTransfer = false
this.showOver2 = false
@@ -66,7 +66,7 @@
@add="add('insideContactInformationList')"
@delete="onDelete('insideContactInformationList', $event)"
></TableFormItem>
<ReceiptDescription v-model="form.commentText" prop="commentText" title="回执说明"></ReceiptDescription>
<ReceiptDescription v-model="form.commentText" prop="commentText" title="回执说明" :disabled="$route.query.operate === 'view'"></ReceiptDescription>
</div>
<div class="block" style="padding-top: 20px;" v-show="active === '2'">
<PersonInfo ref="roleForm" :roleForm="roleForm" :roleRules="roleRules" :disabled="disabled"></PersonInfo>
@@ -402,23 +402,27 @@ export default {
}
switch (this.$route.params.type) {
case 'step1':
this.disabled = false
this.showProcessFooter = true // 底部显隐
this.showProcess = false // 审批历史
// this.disabled = false
// this.showProcessFooter = true // 底部按钮显隐
// this.showProcess = false // 审批历史
this.showTransfer = false // 转办
this.showOver2 = false // 驳回
this.showSave = true // 报错
this.showSubmit = true // 提交
this.approval = false // 提交 -> 同意
break
case 'step1_1':
if (this.$route.query.disabledXX) {
if (this.$route.query.operate === 'view') {
this.disabled = true
this.showProcessFooter = false
this.showProcess = true
} else {
this.disabled = false
this.showProcessFooter = true
this.showProcess = false
}
break
case 'step1_1':
this.disabled = false
this.showProcessFooter = true
this.showProcess = true
this.showTransfer = false
this.showOver2 = false
@@ -74,7 +74,7 @@
</el-col>
</el-row>
</div>
<ReceiptDescription v-model="form.commentText" prop="commentText" title="回执说明"></ReceiptDescription>
<ReceiptDescription v-model="form.commentText" prop="commentText" title="回执说明" :disabled="$route.query.operate === 'view'"></ReceiptDescription>
</div>
<div class="block" style="padding-top: 20px;" v-show="active === '2'">
<PersonInfo ref="roleForm" :roleForm="roleForm" :roleRules="roleRules" :disabled="disabled"></PersonInfo>
@@ -280,23 +280,27 @@ export default {
}
switch (this.$route.params.type) {
case 'step1':
this.disabled = false
this.showProcessFooter = true // 底部显隐
this.showProcess = false // 审批历史
// this.disabled = false
// this.showProcessFooter = true // 底部按钮显隐
// this.showProcess = false // 审批历史
this.showTransfer = false // 转办
this.showOver2 = false // 驳回
this.showSave = true // 报错
this.showSubmit = true // 提交
this.approval = false // 提交 -> 同意
break
case 'step1_1':
if (this.$route.query.disabledXX) {
if (this.$route.query.operate === 'view') {
this.disabled = true
this.showProcessFooter = false
this.showProcess = true
} else {
this.disabled = false
this.showProcessFooter = true
this.showProcess = false
}
break
case 'step1_1':
this.disabled = false
this.showProcessFooter = true
this.showProcess = true
this.showTransfer = false
this.showOver2 = false
@@ -288,16 +288,17 @@ export default {
})
},
getData () {
const { taskIds, prcId, disabledXX, verifySarStandard } = this.$route.query
const { taskIds, prcId, operate } = this.$route.query
if (disabledXX) {
this.disabled = disabledXX
if (operate === 'view') {
this.disabled = true
}
// 重新起草
if (taskIds) {
this.title = '重新起草'
if (verifySarStandard) {
if (operate === 'view') {
this.title = '起草'
} else {
this.title = '重新起草'
}
this.showProcess = true
inboundLiaisonDetail({
@@ -354,7 +354,7 @@ export default {
}else if(prcType === 'laws1'){
//政策入库
// this.toProcessDetail('zcrkStep1',row)
this.toProcessDetail('policyWarehousing1',row)
this.toProcessDetailForParams('policyWarehousing1',row)
}else if(prcType === 'laws2'){
//政策征求意见流程
this.toProcessDetail('zczqyjStep1',row)
@@ -431,7 +431,8 @@ export default {
this.toProcessDetail('zdrzbzORzchgxxmscStep1',row)
}else if(prcType === '29'){
//内外部会议入库
this.toProcessDetail('policyMeetings1',row)
// this.toProcessDetail('policyMeetings1',row)
this.toProcessDetailForParams('policyMeetings1',row)
} else if(prcType === '30'){
//政策课题入会流程
const params = { type: 'step1' }
@@ -484,7 +485,7 @@ export default {
prcId: row.processInstanceId,
prcNum: row.prcNum,
prcName: row.prcName,
disabledXX: true,
operate: 'view'
},
params
})