[update] 修改各页面搜索条件label宽度,以及企标立项变更流程

This commit is contained in:
lideqin
2023-11-09 11:54:36 +08:00
parent eabbfdfdc0
commit e3b899e5ca
10 changed files with 85 additions and 60 deletions
@@ -365,13 +365,14 @@
</span>
</div>
<a-form-model-item class="item-model" prop="componentName">
<a-tree-select v-model="formInline.componentName"
:disabled="disabled"
:getPopupContainer="triggerNode=> triggerNode.parentNode"
style="width: 100%"
:tree-data="partNameOptions"
:label-in-value="false"
:placeholder="$t('pleaseSelect')+$t('workCenter.enterpriseInitChangePlan.partName')" />
<tree-selection :placeholder="$t('pleaseSelect')+$t('workCenter.enterpriseInitChangePlan.partName')"
v-model="formInline.componentName"
@nameChange="treeSelectNameChange"
filedName="componentName"
type="radio"
:nameStr="formInline.componentName_dictText"
dict-id="1696007957666533377"
:disabled="disabled" />
</a-form-model-item>
</div>
<!-- 授权部门 -->
@@ -600,13 +601,14 @@ import { StandardSource, ProjectType } from '@/enums/commonEnums.js'
import StandardSelection from '@/components/selection/StandardSelection'
import UserSelection from '@/components/selection/UserSelection'
import UploadFile from '@/components/UploadFile'
import TreeSelection from '@/components/selection/TreeSelection'
import { getFormDictTreeList } from '@/api/api'
import { getEnStandardNo } from '@/api/workCenter'
import { getTreeList } from '../../../../api/enterpriseStandardLibraryApi'
export default {
name: 'ApprovalBaseInfo',
components: { StandardSelection, UserSelection, UploadFile },
components: { StandardSelection, UserSelection, UploadFile, TreeSelection },
props: {
projectType: {
type: [Number, String],
@@ -935,6 +937,10 @@ export default {
nameChange (value) {
this.formInline.originEnStandardName = value
},
// 零部件名称选择完成的回调
treeSelectNameChange (value, fieldName) {
this.formInline[fieldName + '_dictText'] = value
},
// 点击文件上传
clickButtonToUpload (fieldName) {
if (fieldName === 'uploadAttachment') {