fix : 修复阶段变更, 项目立项/验收部门分管领导编辑回显
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<baseTitle :title="'附件信息'"></baseTitle>
|
<baseTitle :title="'附件信息'"></baseTitle>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-form :model="attachmentParam" inline style="margin-top: 15px">
|
<el-form :model="attachmentParam" inline >
|
||||||
<el-form-item label="标签" prop="tag">
|
<el-form-item label="标签" prop="tag">
|
||||||
<el-select v-model="attachmentParam.tag" placeholder="请选择标签" clearable filterable style="width: 300px">
|
<el-select v-model="attachmentParam.tag" placeholder="请选择标签" clearable filterable style="width: 300px">
|
||||||
<el-option
|
<el-option
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
<el-form-item label="项目负责人" :required="true" prop=""
|
<el-form-item label="项目负责人" :required="true" prop=""
|
||||||
label-width="106">
|
label-width="106">
|
||||||
<el-button style="margin-right: 10px" color="#DED0B2" @click="handleShowProjectChargePersonTable">
|
<el-button style="margin-right: 10px" color="#DED0B2" @click="handleShowProjectChargePersonTable">
|
||||||
{{ projectChargePersonUserList.length !== 0 ? '更改' : '请选择' }}
|
{{ projectChargePersonUserList?.length !== 0 ? '更改' : '请选择' }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<div v-for="item in projectChargePersonUserList" :key="item.id" style="margin-right: 5px">
|
<div v-for="item in projectChargePersonUserList" :key="item.id" style="margin-right: 5px">
|
||||||
{{ item.name }}
|
{{ item.name }}
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
<el-form-item label="项目成员" :required="true" prop=""
|
<el-form-item label="项目成员" :required="true" prop=""
|
||||||
label-width="106">
|
label-width="106">
|
||||||
<el-button color="#DED0B2" style="margin-right: 10px" @click="handleShowProjectPersonTable">
|
<el-button color="#DED0B2" style="margin-right: 10px" @click="handleShowProjectPersonTable">
|
||||||
{{ projectPersonUserList.length !== 0 ? '更改' : getProjectPerson(projectPersonUserList) ? '更改' : '请选择' }}
|
{{ projectPersonUserList?.length !== 0 ? '更改' : getProjectPerson(projectPersonUserList) ? '更改' : '请选择' }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<div v-for="item in getProjectPerson(projectPersonUserList)" :key="item.id" style="margin-right: 5px">
|
<div v-for="item in getProjectPerson(projectPersonUserList)" :key="item.id" style="margin-right: 5px">
|
||||||
{{ item.name }}
|
{{ item.name }}
|
||||||
@@ -61,7 +61,7 @@
|
|||||||
<el-form-item label="部门分管领导"
|
<el-form-item label="部门分管领导"
|
||||||
label-width="106">
|
label-width="106">
|
||||||
<el-button color="#DED0B2" style="margin-right: 10px" @click="handleShowOptionalChargeLeadershipPicker">
|
<el-button color="#DED0B2" style="margin-right: 10px" @click="handleShowOptionalChargeLeadershipPicker">
|
||||||
{{ optionalChargeLeadershipList.length !== 0 ? '更改' : getOptionalChargeLeadershipList(optionalChargeLeadershipList) ? '更改' : '请选择' }}
|
{{ optionalChargeLeadershipList?.length !== 0 ? '更改' : getOptionalChargeLeadershipList(optionalChargeLeadershipList) ? '更改' : '请选择' }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<div v-for="item in getOptionalChargeLeadershipList(optionalChargeLeadershipList)" :key="item.id" style="margin-right: 5px">
|
<div v-for="item in getOptionalChargeLeadershipList(optionalChargeLeadershipList)" :key="item.id" style="margin-right: 5px">
|
||||||
{{ item.name }}
|
{{ item.name }}
|
||||||
@@ -74,12 +74,12 @@
|
|||||||
<el-form-item label="前置流程" :required="preProcessRequired" prop="preProcess" label-width="125">
|
<el-form-item label="前置流程" :required="preProcessRequired" prop="preProcess" label-width="125">
|
||||||
<el-button color="#DED0B2" @click="handleShowPreTable" style="margin-right: 10px">
|
<el-button color="#DED0B2" @click="handleShowPreTable" style="margin-right: 10px">
|
||||||
{{
|
{{
|
||||||
localFormData.preProcess && localFormData.preProcess.length > 0 ? '更改' : sessionParams.preProcess && sessionParams.preProcess.length > 0 ? '更改' : '请选择'
|
localFormData.preProcess && localFormData.preProcess?.length > 0 ? '更改' : sessionParams.preProcess && sessionParams.preProcess?.length > 0 ? '更改' : '请选择'
|
||||||
}}
|
}}
|
||||||
</el-button>
|
</el-button>
|
||||||
<div v-for="(item,index) in getRequestName(localFormData.preProcess)" :key="item.requestId">
|
<div v-for="(item,index) in getRequestName(localFormData.preProcess)" :key="item.requestId">
|
||||||
<a :href="item.baseUrl" target="_blank"
|
<a :href="item.baseUrl" target="_blank"
|
||||||
style="color: #2a99ff;cursor: pointer">{{ item.requestName }}<span v-if="index != localFormData.preProcess.length -1">,</span>
|
style="color: #2a99ff;cursor: pointer">{{ item.requestName }}<span v-if="index != localFormData.preProcess?.length -1">,</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
:preview="mode == 'resubmit'"/>
|
:preview="mode == 'resubmit'"/>
|
||||||
<div>
|
<div>
|
||||||
<div class="approval-record">
|
<div class="approval-record">
|
||||||
<div class="approval-title">
|
<div class="approval-title" style="margin-top: -15px">
|
||||||
<!-- <baseTitle title="审批记录" v-if="mode === 'resubmit'"></baseTitle>-->
|
<!-- <baseTitle title="审批记录" v-if="mode === 'resubmit'"></baseTitle>-->
|
||||||
<!-- <div v-else></div>-->
|
<!-- <div v-else></div>-->
|
||||||
<baseTitle title="审批记录"></baseTitle>
|
<baseTitle title="审批记录"></baseTitle>
|
||||||
@@ -732,11 +732,15 @@ const init = async () => {
|
|||||||
|
|
||||||
watchEffect(() => {
|
watchEffect(() => {
|
||||||
if (props.formData.projectChargePerson == null) {
|
if (props.formData.projectChargePerson == null) {
|
||||||
// projectChargePersonUserList.value = []
|
projectChargePersonUserList.value = []
|
||||||
} else {
|
} else {
|
||||||
projectChargePersonUserList.value = [props.formData.projectChargePerson]
|
projectChargePersonUserList.value = [props.formData.projectChargePerson]
|
||||||
}
|
}
|
||||||
// console.log('props.formData.projectPersonList',props.formData.projectPersonList)
|
if (props.formData.optionalChargeLeadership == null) {
|
||||||
|
optionalChargeLeadershipList.value = []
|
||||||
|
} else {
|
||||||
|
optionalChargeLeadershipList.value=props.formData.optionalChargeLeadership
|
||||||
|
}
|
||||||
projectPersonUserList.value = props.formData.projectPersonList ? props.formData.projectPersonList : []
|
projectPersonUserList.value = props.formData.projectPersonList ? props.formData.projectPersonList : []
|
||||||
let flag = Object.keys(props.formData).length && (localFormData.value = props.formData)
|
let flag = Object.keys(props.formData).length && (localFormData.value = props.formData)
|
||||||
if (props.formData.projectChargePerson != null) {
|
if (props.formData.projectChargePerson != null) {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item prop="requirementName" label="征集名称">
|
<el-form-item prop="requirementName" label="征集名称">
|
||||||
<span>{{ basicData.requirementName }}</span>
|
<span>{{ basicData.requirementName ||'--'}}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
@@ -328,8 +328,16 @@ onActivated(() => {
|
|||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped lang="scss">
|
||||||
:deep(.el-table--fit) {
|
:deep(.el-table--fit) {
|
||||||
min-height: 400px !important;
|
min-height: 400px !important;
|
||||||
}
|
}
|
||||||
|
:deep(.el-form-item__label-wrap){
|
||||||
|
margin-left: 0!important;
|
||||||
|
}
|
||||||
|
:deep(.el-form-item__content){
|
||||||
|
.el-input{
|
||||||
|
width: 100%!important;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div class="apply-block" v-loading="loading">
|
<div class="apply-block" v-loading="loading">
|
||||||
<baseTitle title="项目基本信息"></baseTitle>
|
<baseTitle title="项目基本信息"></baseTitle>
|
||||||
<fvForm :schema="schema" @getInstance="(e)=>baseForm = e" ></fvForm>
|
<fvForm :schema="schema" @getInstance="(e)=>baseForm = e" ></fvForm>
|
||||||
<baseTitle title="阶段变更信息"></baseTitle>
|
<baseTitle title="阶段变更信息" style="margin-top: -10px"></baseTitle>
|
||||||
<el-form :model="formData" label-width="auto">
|
<el-form :model="formData" label-width="auto">
|
||||||
<el-form-item label="抄送人员" label-width="105">
|
<el-form-item label="抄送人员" label-width="105">
|
||||||
<Ttsup :modelValue="chooseUserInfo()" @clickCopyUser="chooseUser"/>
|
<Ttsup :modelValue="chooseUserInfo()" @clickCopyUser="chooseUser"/>
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
@getOtherFile="getOtherFile" :showFileList="true" :formData="formData" tag="阶段变更"
|
@getOtherFile="getOtherFile" :showFileList="true" :formData="formData" tag="阶段变更"
|
||||||
:preview="name === 'Phase/edit'"/>
|
:preview="name === 'Phase/edit'"/>
|
||||||
<div class="approval-record" >
|
<div class="approval-record" >
|
||||||
<div class="approval-title" >
|
<div class="approval-title" style="margin-top: -15px">
|
||||||
<baseTitle title="审批记录"></baseTitle>
|
<baseTitle title="审批记录"></baseTitle>
|
||||||
<div class="diagram">
|
<div class="diagram">
|
||||||
<div class="base-title">流程图</div>
|
<div class="base-title">流程图</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user