[update] 修改UAT问题:企标计划选择弹框增加查询条件

This commit is contained in:
lideqin
2024-09-14 14:55:13 +08:00
parent f9697fc524
commit ebd074f442
@@ -24,6 +24,19 @@
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.enterpriseStandardName')" v-model="queryParam.originEnStandardName"></a-input>
</a-form-item>
</a-col>
<template v-if="toggleSearchStatus">
<!-- 新企标编号 -->
<a-col :span="8">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.newEnterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.newEnterpriseStandardNum')" v-model="queryParam.newEnStandardNo"></a-input>
</a-form-item>
</a-col>
<!-- 新企标名称 -->
<a-col :span="8">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.newEnterpriseStandardName')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.newEnterpriseStandardName')" v-model="queryParam.newEnStandardName"></a-input>
</a-form-item>
</a-col>
<!-- 主起草人 -->
<a-col :span="8">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.principalDrafter')" :labelCol="labelCol" :wrapperCol="wrapperCol">
@@ -62,8 +75,19 @@
</j-dict-select-tag>
</a-form-item>
</a-col>
<!-- 标准推进人 -->
<a-col :span="8">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.standardPusher')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.standardPusher')+$t('workNo')" v-model="queryParam.standardPromoter"></a-input>
</a-form-item>
</a-col>
</template>
<div style="float: right;overflow: hidden;" class="table-page-search-submitButtons">
<a @click="handleToggleSearch">
{{ toggleSearchStatus ? $t('putAway') : $t('open') }}
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
</a>
<a-button type="primary" @click="searchQuery" icon="search" style="margin-left: 8px">{{ $t('query') }}</a-button>
<a-button type="primary" ghost @click="searchReset" icon="reload" style="margin-left: 8px">{{ $t('reset') }}</a-button>
</div>
@@ -282,7 +306,8 @@ export default {
}
],
dataList: [],
categoryTreeList: [] // 组织机构下拉框数据
categoryTreeList: [], // 组织机构下拉框数据
toggleSearchStatus: false
}
},
mounted () {
@@ -296,6 +321,9 @@ export default {
this.replacePage()
})
},
handleToggleSearch () {
this.toggleSearchStatus = !this.toggleSearchStatus
},
// 获取组织机构树
getSysCategoryTree () {
queryDepartTreeList().then((res) => {
@@ -393,6 +421,7 @@ export default {
showSizeChanger: true,
total: 0
}
this.toggleSearchStatus = false
}
}
}