[update] 修改企标流程
This commit is contained in:
+1
@@ -517,6 +517,7 @@ export default {
|
||||
} else {
|
||||
param.dataList = [data.formInline]
|
||||
}
|
||||
// param.flowUser = data.formInline
|
||||
} else if (this.currentNode === 5) {
|
||||
param.dataList = data.dataSource
|
||||
}
|
||||
|
||||
@@ -132,8 +132,7 @@ import {
|
||||
enStandardRecheckTurnTo,
|
||||
enStandardRecheckAgree,
|
||||
enStandardRecheckReject,
|
||||
enStandardRecheckGetDataDraft,
|
||||
enStandardRecheckIsShowFirstPerson
|
||||
enStandardRecheckGetDataDraft
|
||||
} from '@/api/workCenter'
|
||||
import ContactInitBaseInfo from './modules/ContactInitBaseInfo'
|
||||
import StandardizationInitBaseInfo from './modules/StandardizationInitBaseInfo'
|
||||
@@ -307,10 +306,13 @@ export default {
|
||||
this.$refs.baseInfoRef.initData(this.model.data)
|
||||
}
|
||||
})
|
||||
if (!this.model.data.showFirstNode) {
|
||||
// 不显示第一个节点人员信息
|
||||
this.personnelInfoData.shift()
|
||||
}
|
||||
// enStandardRecheckIsShowFirstPerson({ id: this.model.data.id }).then(res => {
|
||||
// if (res.success && !res.result) {
|
||||
// // 不显示第一个节点人员信息
|
||||
// this.personnelInfoData.shift()
|
||||
//
|
||||
// }
|
||||
// })
|
||||
} else {
|
||||
|
||||
+12
-8
@@ -37,17 +37,18 @@
|
||||
<!-- 联络人 -->
|
||||
<div class="box-title-text form-flex-item">
|
||||
<div class="title-text">
|
||||
<span class="required">*</span>
|
||||
<span class="title-text-text" :title="$t('workCenter.revisionPlanActivelyReport.contactPerson')">
|
||||
{{ $t('workCenter.revisionPlanActivelyReport.contactPerson') }}
|
||||
</span>
|
||||
</div>
|
||||
<a-form-model-item class="item-model" prop="contactPerson">
|
||||
<a-form-model-item class="item-model" prop="standardizationUser">
|
||||
<user-selection :placeholder="$t('pleaseSelect')+$t('workCenter.revisionPlanActivelyReport.contactPerson')"
|
||||
v-model="formInline.contactPerson"
|
||||
v-model="formInline.standardizationUser"
|
||||
:disabled="disabled"
|
||||
filedName="contactPerson"
|
||||
filedName="standardizationUser"
|
||||
@nameChange="userSelectNameChange"
|
||||
:nameStr="formInline.contactPerson_dictText"
|
||||
:nameStr="formInline.standardizationUser_dictText"
|
||||
type="radio" />
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
@@ -84,7 +85,7 @@ export default {
|
||||
}
|
||||
],
|
||||
// 联络人
|
||||
contactPerson: [
|
||||
standardizationUser: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t('workCenter.revisionPlanActivelyReport.contactPerson') + this.$t('cannotEmpty'),
|
||||
@@ -98,7 +99,10 @@ export default {
|
||||
// 拿到外面传进来的数据初始化,因为套了几层就不在外层初始化数据了
|
||||
initData (data) {
|
||||
// 给表单赋值
|
||||
this.formInline = data
|
||||
this.formInline = Object.assign({}, data)
|
||||
// 带出计划中主起草人可修改
|
||||
this.formInline.standardizationUser = data.mainDraftingUser
|
||||
this.formInline.standardizationUser_dictText = data.mainDraftingUser_dictText
|
||||
},
|
||||
// 外层要获取数据
|
||||
getData () {
|
||||
@@ -125,8 +129,8 @@ export default {
|
||||
// 企标名称
|
||||
this.formInline.standardName = value[0].standardName
|
||||
// 主起草人赋值给联络人
|
||||
this.formInline.contactPerson = value[0].mainDraftingUser
|
||||
this.formInline.contactPerson_dictText = value[0].mainDraftingUser_dictText
|
||||
this.formInline.standardizationUser = value[0].mainDraftingUser
|
||||
this.formInline.standardizationUser_dictText = value[0].mainDraftingUser_dictText
|
||||
this.$emit('processNameChange', (this.formInline.standardNumber || '') + '-' + (this.formInline.standardName || '') + '-' + '复审')
|
||||
},
|
||||
// 选择用户得到用户名
|
||||
|
||||
Reference in New Issue
Block a user