法规清单添加任务确认驳回原因
This commit is contained in:
@@ -805,8 +805,9 @@
|
||||
</a-col>
|
||||
</a-row>
|
||||
<div class="header-text" v-if="rejectCauseList && rejectCauseList.length > 0">
|
||||
{{$t('reasonsForRejection')}}
|
||||
{{$t('listConfirmationRejectionReason')}}
|
||||
</div>
|
||||
|
||||
<div v-if="rejectCauseList && rejectCauseList.length > 0"
|
||||
v-for="(item,index) in rejectCauseList">
|
||||
<a-row :gutter="24">
|
||||
@@ -847,6 +848,51 @@
|
||||
</a-col>
|
||||
</a-row>
|
||||
</div>
|
||||
|
||||
<div class="header-text" v-if="rejectCauseListOne && rejectCauseListOne.length > 0">
|
||||
{{$t('taskConfirmationRejectionReason')}}
|
||||
</div>
|
||||
|
||||
<div v-if="rejectCauseListOne && rejectCauseListOne.length > 0"
|
||||
v-for="(item,index) in rejectCauseListOne">
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="12">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="title-text-text"
|
||||
:title="$t('rejectedBy')">{{$t('rejectedBy')}}</span>
|
||||
</div>
|
||||
<div class="itemModel-reject">
|
||||
{{item.createBy ? item.createBy : '--'}}
|
||||
</div>
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="title-text-text"
|
||||
:title="$t('rejectionTime')">{{$t('rejectionTime')}}</span>
|
||||
</div>
|
||||
<div class="itemModel-reject">
|
||||
{{item.rejectTime ? item.rejectTime : '--'}}
|
||||
</div>
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="24">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="title-text-text"
|
||||
:title="$t('rejectReason')">{{$t('rejectReason')}}</span>
|
||||
</div>
|
||||
<div class="itemModel-reject">
|
||||
{{item.rejectCause ? item.rejectCause : '--'}}
|
||||
</div>
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</div>
|
||||
</a-form-model>
|
||||
</a-spin>
|
||||
<div class="drawer-bootom-button">
|
||||
@@ -881,6 +927,7 @@
|
||||
visible: false,
|
||||
confirmLoading: false,
|
||||
rules: {},
|
||||
rejectCauseListOne: [],
|
||||
rulesData: {
|
||||
subtitle: [
|
||||
{
|
||||
@@ -966,9 +1013,20 @@
|
||||
}
|
||||
getAction('/project/projectLawsInventoryRejectCauseEO/list', query).then((res) => {
|
||||
if (res.success) {
|
||||
this.rejectCauseList = res.result
|
||||
this.rejectCauseList = []
|
||||
this.rejectCauseListOne = []
|
||||
if (res.result && res.result.length > 0) {
|
||||
res.result.forEach(val => {
|
||||
if (val.rejectType == '0') {
|
||||
this.rejectCauseList.push(val)
|
||||
} else if (val.rejectType == '1') {
|
||||
this.rejectCauseListOne.push(val)
|
||||
}
|
||||
})
|
||||
}
|
||||
} else {
|
||||
this.rejectCauseList = []
|
||||
this.rejectCauseListOne = []
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -434,7 +434,7 @@
|
||||
</a-col>
|
||||
</a-row>
|
||||
<div class="header-text" v-if="rejectCauseList && rejectCauseList.length > 0">
|
||||
{{$t('reasonsForRejection')}}
|
||||
{{$t('listConfirmationRejectionReason')}}
|
||||
</div>
|
||||
<div v-if="rejectCauseList && rejectCauseList.length > 0"
|
||||
v-for="(item,index) in rejectCauseList">
|
||||
@@ -476,6 +476,49 @@
|
||||
</a-col>
|
||||
</a-row>
|
||||
</div>
|
||||
<div class="header-text" v-if="rejectCauseListOne && rejectCauseListOne.length > 0">
|
||||
{{$t('taskConfirmationRejectionReason')}}
|
||||
</div>
|
||||
<div v-if="rejectCauseListOne && rejectCauseListOne.length > 0"
|
||||
v-for="(item,index) in rejectCauseListOne">
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="12">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="title-text-text"
|
||||
:title="$t('rejectedBy')">{{$t('rejectedBy')}}</span>
|
||||
</div>
|
||||
<div class="itemModel">
|
||||
{{item.createBy ? item.createBy : '--'}}
|
||||
</div>
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="title-text-text"
|
||||
:title="$t('rejectionTime')">{{$t('rejectionTime')}}</span>
|
||||
</div>
|
||||
<div class="itemModel">
|
||||
{{item.rejectTime ? item.rejectTime : '--'}}
|
||||
</div>
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="24">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="title-text-text"
|
||||
:title="$t('rejectReason')">{{$t('rejectReason')}}</span>
|
||||
</div>
|
||||
<div class="itemModel">
|
||||
{{item.rejectCause ? item.rejectCause : '--'}}
|
||||
</div>
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</div>
|
||||
</a-form-model>
|
||||
</a-spin>
|
||||
<div class="drawer-bootom-button">
|
||||
@@ -507,7 +550,8 @@
|
||||
formInline: {},
|
||||
disabled: false,
|
||||
userInfoQuery: {},
|
||||
rejectCauseList:[]
|
||||
rejectCauseList:[],
|
||||
rejectCauseListOne:[]
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@@ -527,9 +571,20 @@
|
||||
}
|
||||
getAction('/project/projectLawsInventoryRejectCauseEO/list', query).then((res) => {
|
||||
if (res.success) {
|
||||
this.rejectCauseList = res.result
|
||||
this.rejectCauseList = []
|
||||
this.rejectCauseListOne = []
|
||||
if (res.result && res.result.length > 0) {
|
||||
res.result.forEach(val => {
|
||||
if (val.rejectType == '0') {
|
||||
this.rejectCauseList.push(val)
|
||||
} else if (val.rejectType == '1') {
|
||||
this.rejectCauseListOne.push(val)
|
||||
}
|
||||
})
|
||||
}
|
||||
} else {
|
||||
this.rejectCauseList = []
|
||||
this.rejectCauseListOne = []
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user