待办中心发起人审查时应能提交附件

This commit is contained in:
范强强
2023-04-06 15:58:33 +08:00
parent 3b9467f22b
commit e85195f9ea
3 changed files with 27 additions and 6 deletions
@@ -40,6 +40,14 @@
<span slot="approvalResult" slot-scope="text,result">
{{approvalResult[text]}}
</span>
<span slot="approvalOpinion" slot-scope="text,result">
<a-tooltip placement="top">
<template slot="title">
<span>{{text}}</span>
</template>
{{text}}
</a-tooltip>
</span>
<span slot="resultofhandling" slot-scope="text,result">
<span :class="statusClass[result.operatorResult]" :title="result.operatorResultName">
{{result.operatorResultName}}
@@ -159,7 +167,8 @@
dataIndex: 'approvalOpinion',
align: 'left',
width: 200,
ellipsis: true
ellipsis: true,
scopedSlots: { customRender: 'approvalOpinion' }
},
{
title: this.$t('resultofhandling'),
@@ -186,7 +195,7 @@
customRender: function(t, r, index) {
return moment(t).format('YYYY-MM-DD HH:mm:ss')
}
},
}
]
}
},
@@ -139,7 +139,9 @@
return true
},
isDrawerClass() {
if (this.queryData.TaskKey == 'dezrrtjjfw' || this.queryData.TaskKey == 'zrrtjjfw') {
if (this.queryData.TaskKey == 'dezrrtjjfw' ||
this.queryData.TaskKey == 'zrrtjjfw' ||
this.queryData.TaskKey == 'fggcssh') {
return true
}
return false
@@ -263,6 +265,7 @@
operatorType: 'taskAffirmQuery'
}
this.queryBy.approvalOpinion = ''
this.queryBy.approvalFile = ''
getAction(this.url.queryProjectLawsInventoryInfoById, query).then((res) => {
if (res.success) {
this.queryProject = res.result[0] || {}
@@ -49,6 +49,9 @@
<a-radio value="Transfer" v-if="query.TaskKey == 'zrrtjjfw' || query.TaskKey == 'zrrqr'">
{{$t('turnToDo')}}
</a-radio>
<a-button type="primary" v-if="isPersonnel" @click="PersonnelSelectionClick">
{{this.$t('PersonnelSelection')}}
</a-button>
<span>
{{this.formInline.dezrrSubmitUserName}}
</span>
@@ -71,7 +74,8 @@
</a-form-model-item>
</a-col>
</a-row>
<a-row :gutter="24" v-if="query.TaskKey == 'dezrrtjjfw' || query.TaskKey == 'zrrtjjfw'">
<a-row :gutter="24"
v-if="query.TaskKey == 'dezrrtjjfw' || query.TaskKey == 'zrrtjjfw' || query.TaskKey == 'fggcssh'">
<a-col :span="24">
<div class="box-title-text">
<div class="title-text">
@@ -111,6 +115,7 @@
data() {
return {
formInline: {},
isPersonnel: false,
reviewResult: {
'launch': this.$t('Launch'),
'Compliance': this.$t('accord'),
@@ -171,7 +176,6 @@
if (this.queryBy.disposeResult == 'To be tracked' || this.queryBy.disposeResult == 'Non-Compliance') {
this.isAdopt = true
}
console.log(this.isAdopt)
},
methods: {
submit(callBack) {
@@ -181,11 +185,16 @@
}
})
},
PersonnelSelectionClick() {
this.$refs.SelectedByRef.getPush()
},
reviewResultChange(value) {
if (value.target.value == 'Transfer') {
this.$refs.SelectedByRef.getPush()
this.isPersonnel = true
// this.$refs.SelectedByRef.getPush()
} else {
this.$refs.SelectedByRef.visible = false
this.isPersonnel = false
this.formInline.secondChargePersonUserId = ''
this.formInline.dezrrSubmitUserName = ''
this.formInline.dezrrSubmitUserId = ''