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

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"> <span slot="approvalResult" slot-scope="text,result">
{{approvalResult[text]}} {{approvalResult[text]}}
</span> </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 slot="resultofhandling" slot-scope="text,result">
<span :class="statusClass[result.operatorResult]" :title="result.operatorResultName"> <span :class="statusClass[result.operatorResult]" :title="result.operatorResultName">
{{result.operatorResultName}} {{result.operatorResultName}}
@@ -159,7 +167,8 @@
dataIndex: 'approvalOpinion', dataIndex: 'approvalOpinion',
align: 'left', align: 'left',
width: 200, width: 200,
ellipsis: true ellipsis: true,
scopedSlots: { customRender: 'approvalOpinion' }
}, },
{ {
title: this.$t('resultofhandling'), title: this.$t('resultofhandling'),
@@ -186,7 +195,7 @@
customRender: function(t, r, index) { customRender: function(t, r, index) {
return moment(t).format('YYYY-MM-DD HH:mm:ss') return moment(t).format('YYYY-MM-DD HH:mm:ss')
} }
}, }
] ]
} }
}, },
@@ -139,7 +139,9 @@
return true return true
}, },
isDrawerClass() { 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 true
} }
return false return false
@@ -263,6 +265,7 @@
operatorType: 'taskAffirmQuery' operatorType: 'taskAffirmQuery'
} }
this.queryBy.approvalOpinion = '' this.queryBy.approvalOpinion = ''
this.queryBy.approvalFile = ''
getAction(this.url.queryProjectLawsInventoryInfoById, query).then((res) => { getAction(this.url.queryProjectLawsInventoryInfoById, query).then((res) => {
if (res.success) { if (res.success) {
this.queryProject = res.result[0] || {} this.queryProject = res.result[0] || {}
@@ -49,6 +49,9 @@
<a-radio value="Transfer" v-if="query.TaskKey == 'zrrtjjfw' || query.TaskKey == 'zrrqr'"> <a-radio value="Transfer" v-if="query.TaskKey == 'zrrtjjfw' || query.TaskKey == 'zrrqr'">
{{$t('turnToDo')}} {{$t('turnToDo')}}
</a-radio> </a-radio>
<a-button type="primary" v-if="isPersonnel" @click="PersonnelSelectionClick">
{{this.$t('PersonnelSelection')}}
</a-button>
<span> <span>
{{this.formInline.dezrrSubmitUserName}} {{this.formInline.dezrrSubmitUserName}}
</span> </span>
@@ -71,7 +74,8 @@
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
</a-row> </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"> <a-col :span="24">
<div class="box-title-text"> <div class="box-title-text">
<div class="title-text"> <div class="title-text">
@@ -111,6 +115,7 @@
data() { data() {
return { return {
formInline: {}, formInline: {},
isPersonnel: false,
reviewResult: { reviewResult: {
'launch': this.$t('Launch'), 'launch': this.$t('Launch'),
'Compliance': this.$t('accord'), 'Compliance': this.$t('accord'),
@@ -171,7 +176,6 @@
if (this.queryBy.disposeResult == 'To be tracked' || this.queryBy.disposeResult == 'Non-Compliance') { if (this.queryBy.disposeResult == 'To be tracked' || this.queryBy.disposeResult == 'Non-Compliance') {
this.isAdopt = true this.isAdopt = true
} }
console.log(this.isAdopt)
}, },
methods: { methods: {
submit(callBack) { submit(callBack) {
@@ -181,11 +185,16 @@
} }
}) })
}, },
PersonnelSelectionClick() {
this.$refs.SelectedByRef.getPush()
},
reviewResultChange(value) { reviewResultChange(value) {
if (value.target.value == 'Transfer') { if (value.target.value == 'Transfer') {
this.$refs.SelectedByRef.getPush() this.isPersonnel = true
// this.$refs.SelectedByRef.getPush()
} else { } else {
this.$refs.SelectedByRef.visible = false this.$refs.SelectedByRef.visible = false
this.isPersonnel = false
this.formInline.secondChargePersonUserId = '' this.formInline.secondChargePersonUserId = ''
this.formInline.dezrrSubmitUserName = '' this.formInline.dezrrSubmitUserName = ''
this.formInline.dezrrSubmitUserId = '' this.formInline.dezrrSubmitUserId = ''