修改UAT提出的问题
This commit is contained in:
@@ -1831,4 +1831,6 @@ module.exports = {
|
|||||||
proportionWithInTheAreaOfResponsibility:'Proportion within the area of responsibility',
|
proportionWithInTheAreaOfResponsibility:'Proportion within the area of responsibility',
|
||||||
contentsearch:'Content Search',
|
contentsearch:'Content Search',
|
||||||
masterProject:'Master Project',
|
masterProject:'Master Project',
|
||||||
|
deliveryTime:'Delivery Time',
|
||||||
|
expectedDeliveryTime:'Expected Delivery Time',
|
||||||
}
|
}
|
||||||
@@ -1932,4 +1932,6 @@ module.exports = {
|
|||||||
proportionWithInTheAreaOfResponsibility:'责任领域内占比',
|
proportionWithInTheAreaOfResponsibility:'责任领域内占比',
|
||||||
contentsearch:'内容搜索',
|
contentsearch:'内容搜索',
|
||||||
masterProject:'主项目',
|
masterProject:'主项目',
|
||||||
|
deliveryTime:'交付时间',
|
||||||
|
expectedDeliveryTime:'预计交付时间',
|
||||||
}
|
}
|
||||||
@@ -298,7 +298,7 @@
|
|||||||
{
|
{
|
||||||
title: this.$t('statisticalNodes'),
|
title: this.$t('statisticalNodes'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
dataIndex: 'statNode',
|
dataIndex: 'firstLevelDutyTerritory',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 100
|
width: 100
|
||||||
},
|
},
|
||||||
|
|||||||
+48
-1
@@ -2,7 +2,8 @@
|
|||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="box-text">
|
<div class="box-text">
|
||||||
<div class="header-text">
|
<div class="header-text">
|
||||||
{{query.TaskKey == 'zrrqr' || query.TaskKey == 'dezrrqr' || query.TaskKey == 'zrrtjjfw' || query.TaskKey == 'dezrrtjjfw'
|
{{query.TaskKey == 'zrrqr' || query.TaskKey == 'dezrrqr' || query.TaskKey == 'zrrtjjfw' || query.TaskKey ==
|
||||||
|
'dezrrtjjfw'
|
||||||
? $t('personLiableConfirm'):$t('sponsorReview')}}
|
? $t('personLiableConfirm'):$t('sponsorReview')}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -58,6 +59,26 @@
|
|||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
|
<a-row :gutter="24" v-if="isDeliveryTime">
|
||||||
|
<a-col :span="24">
|
||||||
|
<div class="box-title-text">
|
||||||
|
<div class="title-text">
|
||||||
|
<span class="Required">*</span>
|
||||||
|
<span class="title-text-text" :title="$t('expectedDeliveryTime')">{{$t('expectedDeliveryTime')}}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a-form-model-item class="itemModel" :prop="'deliveryTime'">
|
||||||
|
<a-date-picker class="box-input"
|
||||||
|
:placeholder="$t('PleaseSelect')+$t('expectedDeliveryTime')"
|
||||||
|
@change="dateChange({db_field_name:'deliveryTime'})"
|
||||||
|
format="YYYY-MM-DD"
|
||||||
|
:getCalendarContainer="(trigger) => trigger.parentNode"
|
||||||
|
v-model="formInline.deliveryTime"
|
||||||
|
style="width: 100%"/>
|
||||||
|
</a-form-model-item>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
|
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
@@ -105,6 +126,7 @@
|
|||||||
import { getAction, postAction, putAction, deleteAction } from '@/api/manage'
|
import { getAction, postAction, putAction, deleteAction } from '@/api/manage'
|
||||||
import uploadFile from '@/components/uploadFile/file'
|
import uploadFile from '@/components/uploadFile/file'
|
||||||
import SelectedBy from '@/components/SelectedBy/index'
|
import SelectedBy from '@/components/SelectedBy/index'
|
||||||
|
import moment from 'moment'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'reviewedByThePersonInCharge',
|
name: 'reviewedByThePersonInCharge',
|
||||||
@@ -117,6 +139,7 @@
|
|||||||
return {
|
return {
|
||||||
formInline: {},
|
formInline: {},
|
||||||
isPersonnel: false,
|
isPersonnel: false,
|
||||||
|
isDeliveryTime: false,
|
||||||
reviewResult: {
|
reviewResult: {
|
||||||
'launch': this.$t('Launch'),
|
'launch': this.$t('Launch'),
|
||||||
'Compliance': this.$t('accord'),
|
'Compliance': this.$t('accord'),
|
||||||
@@ -135,6 +158,13 @@
|
|||||||
trigger: 'change'
|
trigger: 'change'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
deliveryTime: [
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: this.$t('expectedDeliveryTime') + this.$t('cannotEmpty'),
|
||||||
|
trigger: 'change'
|
||||||
|
}
|
||||||
|
],
|
||||||
approvalOpinion: [
|
approvalOpinion: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
@@ -188,6 +218,11 @@
|
|||||||
submit(callBack) {
|
submit(callBack) {
|
||||||
this.$refs.ruleForm.validate(valid => {
|
this.$refs.ruleForm.validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
if (this.formInline.disposeResult == 'To be tracked') {
|
||||||
|
if (this.query.TaskKey == 'zrrtjjfw' || this.query.TaskKey == 'dezrrtjjfw') {
|
||||||
|
this.formInline.approvalOpinion = this.formInline.approvalOpinion + ';' + this.$t('expectedDeliveryTime') + ':' + this.formInline.deliveryTime
|
||||||
|
}
|
||||||
|
}
|
||||||
callBack(this.formInline)
|
callBack(this.formInline)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -202,10 +237,18 @@
|
|||||||
} else {
|
} else {
|
||||||
this.$refs.SelectedByRef.visible = false
|
this.$refs.SelectedByRef.visible = false
|
||||||
this.isPersonnel = false
|
this.isPersonnel = false
|
||||||
|
this.isDeliveryTime = false
|
||||||
this.formInline.secondChargePersonUserId = ''
|
this.formInline.secondChargePersonUserId = ''
|
||||||
this.formInline.dezrrSubmitUserName = ''
|
this.formInline.dezrrSubmitUserName = ''
|
||||||
this.formInline.dezrrSubmitUserId = ''
|
this.formInline.dezrrSubmitUserId = ''
|
||||||
}
|
}
|
||||||
|
if (value.target.value == 'To be tracked') {
|
||||||
|
this.isDeliveryTime = true
|
||||||
|
} else {
|
||||||
|
this.isDeliveryTime = false
|
||||||
|
this.formInline.deliveryTime = ''
|
||||||
|
}
|
||||||
|
this.formInline = { ...this.formInline }
|
||||||
},
|
},
|
||||||
//转办接口
|
//转办接口
|
||||||
SelectedByForm(userIds, name) {
|
SelectedByForm(userIds, name) {
|
||||||
@@ -248,6 +291,10 @@
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.ruleForm.validateField([this.uploadName])
|
this.$refs.ruleForm.validateField([this.uploadName])
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
dateChange(item) {
|
||||||
|
this.formInline[item.db_field_name] = this.formInline[item.db_field_name] ? moment(this.formInline[item.db_field_name]).format('YYYY-MM-DD') : ''
|
||||||
|
this.formInline = { ...this.formInline }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user