政策-已办-查看流程数据
This commit is contained in:
@@ -219,16 +219,17 @@ export default {
|
|||||||
this.form.meetingTopicList = [ ...res ]
|
this.form.meetingTopicList = [ ...res ]
|
||||||
},
|
},
|
||||||
getData () {
|
getData () {
|
||||||
const { bpnId, taskIds, prcId, disabledXX, verifySarStandard } = this.$route.query
|
const { bpnId, taskIds, prcId, operate } = this.$route.query
|
||||||
|
|
||||||
if (disabledXX) {
|
if (operate === 'view') {
|
||||||
this.disabled = disabledXX
|
this.disabled = true
|
||||||
}
|
}
|
||||||
// 重新起草
|
// 重新起草
|
||||||
if (taskIds) {
|
if (taskIds) {
|
||||||
this.title = '重新起草'
|
if (operate === 'view') {
|
||||||
if (verifySarStandard) {
|
|
||||||
this.title = '起草'
|
this.title = '起草'
|
||||||
|
} else {
|
||||||
|
this.title = '重新起草'
|
||||||
}
|
}
|
||||||
this.showProcess = true
|
this.showProcess = true
|
||||||
inboundLiaisonDetail({
|
inboundLiaisonDetail({
|
||||||
|
|||||||
@@ -92,7 +92,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</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>
|
||||||
<div class="block" style="padding-top: 20px;" v-show="active === '2'">
|
<div class="block" style="padding-top: 20px;" v-show="active === '2'">
|
||||||
<PersonInfo ref="roleForm" :roleForm="roleForm" :roleRules="roleRules" :disabled="disabled"></PersonInfo>
|
<PersonInfo ref="roleForm" :roleForm="roleForm" :roleRules="roleRules" :disabled="disabled"></PersonInfo>
|
||||||
@@ -255,22 +255,26 @@ export default {
|
|||||||
}
|
}
|
||||||
switch (this.$route.params.type) {
|
switch (this.$route.params.type) {
|
||||||
case 'step1':
|
case 'step1':
|
||||||
this.disabled = false
|
// this.disabled = false
|
||||||
this.showProcessFooter = true // 底部显隐
|
// this.showProcessFooter = true // 底部按钮显隐
|
||||||
this.showProcess = false // 审批历史
|
// this.showProcess = false // 审批历史
|
||||||
this.showTransfer = false // 转办
|
this.showTransfer = false // 转办
|
||||||
this.showOver2 = false // 驳回
|
this.showOver2 = false // 驳回
|
||||||
this.showSave = true // 保存
|
this.showSave = true // 保存
|
||||||
this.showSubmit = true // 提交
|
this.showSubmit = true // 提交
|
||||||
break
|
if (this.$route.query.operate === 'view') {
|
||||||
case 'step1_1':
|
|
||||||
if (this.$route.query.disabledXX) {
|
|
||||||
this.disabled = true
|
this.disabled = true
|
||||||
this.showProcessFooter = false
|
this.showProcessFooter = false
|
||||||
|
this.showProcess = true
|
||||||
} else {
|
} else {
|
||||||
this.disabled = false
|
this.disabled = false
|
||||||
this.showProcessFooter = true
|
this.showProcessFooter = true
|
||||||
|
this.showProcess = false
|
||||||
}
|
}
|
||||||
|
break
|
||||||
|
case 'step1_1':
|
||||||
|
this.disabled = false
|
||||||
|
this.showProcessFooter = true
|
||||||
this.showProcess = true
|
this.showProcess = true
|
||||||
this.showTransfer = false
|
this.showTransfer = false
|
||||||
this.showOver2 = false
|
this.showOver2 = false
|
||||||
|
|||||||
@@ -66,7 +66,7 @@
|
|||||||
@add="add('insideContactInformationList')"
|
@add="add('insideContactInformationList')"
|
||||||
@delete="onDelete('insideContactInformationList', $event)"
|
@delete="onDelete('insideContactInformationList', $event)"
|
||||||
></TableFormItem>
|
></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>
|
||||||
<div class="block" style="padding-top: 20px;" v-show="active === '2'">
|
<div class="block" style="padding-top: 20px;" v-show="active === '2'">
|
||||||
<PersonInfo ref="roleForm" :roleForm="roleForm" :roleRules="roleRules" :disabled="disabled"></PersonInfo>
|
<PersonInfo ref="roleForm" :roleForm="roleForm" :roleRules="roleRules" :disabled="disabled"></PersonInfo>
|
||||||
@@ -402,23 +402,27 @@ export default {
|
|||||||
}
|
}
|
||||||
switch (this.$route.params.type) {
|
switch (this.$route.params.type) {
|
||||||
case 'step1':
|
case 'step1':
|
||||||
this.disabled = false
|
// this.disabled = false
|
||||||
this.showProcessFooter = true // 底部显隐
|
// this.showProcessFooter = true // 底部按钮显隐
|
||||||
this.showProcess = false // 审批历史
|
// this.showProcess = false // 审批历史
|
||||||
this.showTransfer = false // 转办
|
this.showTransfer = false // 转办
|
||||||
this.showOver2 = false // 驳回
|
this.showOver2 = false // 驳回
|
||||||
this.showSave = true // 报错
|
this.showSave = true // 报错
|
||||||
this.showSubmit = true // 提交
|
this.showSubmit = true // 提交
|
||||||
this.approval = false // 提交 -> 同意
|
this.approval = false // 提交 -> 同意
|
||||||
break
|
if (this.$route.query.operate === 'view') {
|
||||||
case 'step1_1':
|
|
||||||
if (this.$route.query.disabledXX) {
|
|
||||||
this.disabled = true
|
this.disabled = true
|
||||||
this.showProcessFooter = false
|
this.showProcessFooter = false
|
||||||
|
this.showProcess = true
|
||||||
} else {
|
} else {
|
||||||
this.disabled = false
|
this.disabled = false
|
||||||
this.showProcessFooter = true
|
this.showProcessFooter = true
|
||||||
|
this.showProcess = false
|
||||||
}
|
}
|
||||||
|
break
|
||||||
|
case 'step1_1':
|
||||||
|
this.disabled = false
|
||||||
|
this.showProcessFooter = true
|
||||||
this.showProcess = true
|
this.showProcess = true
|
||||||
this.showTransfer = false
|
this.showTransfer = false
|
||||||
this.showOver2 = false
|
this.showOver2 = false
|
||||||
|
|||||||
@@ -74,7 +74,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</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>
|
||||||
<div class="block" style="padding-top: 20px;" v-show="active === '2'">
|
<div class="block" style="padding-top: 20px;" v-show="active === '2'">
|
||||||
<PersonInfo ref="roleForm" :roleForm="roleForm" :roleRules="roleRules" :disabled="disabled"></PersonInfo>
|
<PersonInfo ref="roleForm" :roleForm="roleForm" :roleRules="roleRules" :disabled="disabled"></PersonInfo>
|
||||||
@@ -280,23 +280,27 @@ export default {
|
|||||||
}
|
}
|
||||||
switch (this.$route.params.type) {
|
switch (this.$route.params.type) {
|
||||||
case 'step1':
|
case 'step1':
|
||||||
this.disabled = false
|
// this.disabled = false
|
||||||
this.showProcessFooter = true // 底部显隐
|
// this.showProcessFooter = true // 底部按钮显隐
|
||||||
this.showProcess = false // 审批历史
|
// this.showProcess = false // 审批历史
|
||||||
this.showTransfer = false // 转办
|
this.showTransfer = false // 转办
|
||||||
this.showOver2 = false // 驳回
|
this.showOver2 = false // 驳回
|
||||||
this.showSave = true // 报错
|
this.showSave = true // 报错
|
||||||
this.showSubmit = true // 提交
|
this.showSubmit = true // 提交
|
||||||
this.approval = false // 提交 -> 同意
|
this.approval = false // 提交 -> 同意
|
||||||
break
|
if (this.$route.query.operate === 'view') {
|
||||||
case 'step1_1':
|
|
||||||
if (this.$route.query.disabledXX) {
|
|
||||||
this.disabled = true
|
this.disabled = true
|
||||||
this.showProcessFooter = false
|
this.showProcessFooter = false
|
||||||
|
this.showProcess = true
|
||||||
} else {
|
} else {
|
||||||
this.disabled = false
|
this.disabled = false
|
||||||
this.showProcessFooter = true
|
this.showProcessFooter = true
|
||||||
|
this.showProcess = false
|
||||||
}
|
}
|
||||||
|
break
|
||||||
|
case 'step1_1':
|
||||||
|
this.disabled = false
|
||||||
|
this.showProcessFooter = true
|
||||||
this.showProcess = true
|
this.showProcess = true
|
||||||
this.showTransfer = false
|
this.showTransfer = false
|
||||||
this.showOver2 = false
|
this.showOver2 = false
|
||||||
|
|||||||
@@ -288,16 +288,17 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
getData () {
|
getData () {
|
||||||
const { taskIds, prcId, disabledXX, verifySarStandard } = this.$route.query
|
const { taskIds, prcId, operate } = this.$route.query
|
||||||
|
|
||||||
if (disabledXX) {
|
if (operate === 'view') {
|
||||||
this.disabled = disabledXX
|
this.disabled = true
|
||||||
}
|
}
|
||||||
// 重新起草
|
// 重新起草
|
||||||
if (taskIds) {
|
if (taskIds) {
|
||||||
this.title = '重新起草'
|
if (operate === 'view') {
|
||||||
if (verifySarStandard) {
|
|
||||||
this.title = '起草'
|
this.title = '起草'
|
||||||
|
} else {
|
||||||
|
this.title = '重新起草'
|
||||||
}
|
}
|
||||||
this.showProcess = true
|
this.showProcess = true
|
||||||
inboundLiaisonDetail({
|
inboundLiaisonDetail({
|
||||||
|
|||||||
@@ -354,7 +354,7 @@ export default {
|
|||||||
}else if(prcType === 'laws1'){
|
}else if(prcType === 'laws1'){
|
||||||
//政策入库
|
//政策入库
|
||||||
// this.toProcessDetail('zcrkStep1',row)
|
// this.toProcessDetail('zcrkStep1',row)
|
||||||
this.toProcessDetail('policyWarehousing1',row)
|
this.toProcessDetailForParams('policyWarehousing1',row)
|
||||||
}else if(prcType === 'laws2'){
|
}else if(prcType === 'laws2'){
|
||||||
//政策征求意见流程
|
//政策征求意见流程
|
||||||
this.toProcessDetail('zczqyjStep1',row)
|
this.toProcessDetail('zczqyjStep1',row)
|
||||||
@@ -431,7 +431,8 @@ export default {
|
|||||||
this.toProcessDetail('zdrzbzORzchgxxmscStep1',row)
|
this.toProcessDetail('zdrzbzORzchgxxmscStep1',row)
|
||||||
}else if(prcType === '29'){
|
}else if(prcType === '29'){
|
||||||
//内外部会议入库
|
//内外部会议入库
|
||||||
this.toProcessDetail('policyMeetings1',row)
|
// this.toProcessDetail('policyMeetings1',row)
|
||||||
|
this.toProcessDetailForParams('policyMeetings1',row)
|
||||||
} else if(prcType === '30'){
|
} else if(prcType === '30'){
|
||||||
//政策课题入会流程
|
//政策课题入会流程
|
||||||
const params = { type: 'step1' }
|
const params = { type: 'step1' }
|
||||||
@@ -484,7 +485,7 @@ export default {
|
|||||||
prcId: row.processInstanceId,
|
prcId: row.processInstanceId,
|
||||||
prcNum: row.prcNum,
|
prcNum: row.prcNum,
|
||||||
prcName: row.prcName,
|
prcName: row.prcName,
|
||||||
disabledXX: true,
|
operate: 'view'
|
||||||
},
|
},
|
||||||
params
|
params
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user