[update] 修改年度制修订计划(各部门主动上报)流程

This commit is contained in:
lideqin
2023-12-07 18:26:23 +08:00
parent c3ff042ad9
commit d16c62e430
@@ -408,14 +408,15 @@
</span> </span>
</div> </div>
<a-form-model-item class="item-model" prop="componentName"> <a-form-model-item class="item-model" prop="componentName">
<a-tree-select v-model="formInline.componentName" <tree-selection :placeholder="$t('pleaseSelect')+$t('workCenter.enterpriseInitChangePlan.partName')"
:getPopupContainer="triggerNode=> triggerNode.parentNode" v-model="formInline.componentName"
style="width: 100%" @nameChange="treeSelectNameChange"
:tree-data="partNameOptions" filedName="componentName"
:label-in-value="false" type="checkbox"
:disabled="disabled" :nameStr="formInline.componentName_dictText"
:placeholder="$t('pleaseSelect')+$t('workCenter.enterpriseInitChangePlan.partName')" /> dict-id="1696007957666533377"
</a-form-model-item> :disabled="disabled" />
</a-form-model-item>
</div> </div>
<!-- 授权部门 --> <!-- 授权部门 -->
<div class="box-title-text form-flex-item-half"> <div class="box-title-text form-flex-item-half">
@@ -540,17 +541,17 @@ import { getTreeList } from '@/api/enterpriseStandardLibraryApi'
import Vue from 'vue' import Vue from 'vue'
import { USER_INFO } from '@/store/mutation-types' import { USER_INFO } from '@/store/mutation-types'
import { getEnStandardNo } from '@/api/workCenter' import { getEnStandardNo } from '@/api/workCenter'
import TreeSelection from '@/components/selection/TreeSelection'
export default { export default {
name: 'ContactEnterSendTaskModal', name: 'ContactEnterSendTaskModal',
components: { UserSelection, StandardSelection, UploadFile }, components: { UserSelection, StandardSelection, UploadFile, TreeSelection },
data () { data () {
return { return {
StandardSource, StandardSource,
ProjectType, ProjectType,
ApplicationCategory, ApplicationCategory,
workingGroupTreeList: [], // 隶属工作组下拉框数据 workingGroupTreeList: [], // 隶属工作组下拉框数据
partNameOptions: [], // 零部件名称下拉框数据
standardSystemOptions: [], // 企标体系下拉框数据 standardSystemOptions: [], // 企标体系下拉框数据
visible: false, visible: false,
confirmLoading: false, confirmLoading: false,
@@ -766,7 +767,6 @@ export default {
}, },
mounted () { mounted () {
this.getWorkGroupTree() this.getWorkGroupTree()
this.initPartNameOptions()
this.initStandardSystemOptions() this.initStandardSystemOptions()
}, },
methods: { methods: {
@@ -835,14 +835,6 @@ export default {
} }
} }
}, },
// 获取零部件名称下拉框数据
initPartNameOptions () {
getFormDictTreeList({ dictId: '1696821512600637441' }).then(res => {
if (res.success) {
this.partNameOptions = res.result
}
})
},
// 获取标准体系下拉框数据 // 获取标准体系下拉框数据
initStandardSystemOptions () { initStandardSystemOptions () {
getTreeList({ option: 1 }).then(res => { getTreeList({ option: 1 }).then(res => {