[update] 修改UAT问题:企标计划选择弹框增加查询条件
This commit is contained in:
@@ -24,46 +24,70 @@
|
|||||||
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.enterpriseStandardName')" v-model="queryParam.originEnStandardName"></a-input>
|
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.enterpriseStandardName')" v-model="queryParam.originEnStandardName"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<!-- 主起草人 -->
|
<template v-if="toggleSearchStatus">
|
||||||
<a-col :span="8">
|
<!-- 新企标编号 -->
|
||||||
<a-form-item :label="$t('enterpriseStandardLibrary.plan.principalDrafter')" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-col :span="8">
|
||||||
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.principalDrafter')" v-model="queryParam.mainDraftingUser"></a-input>
|
<a-form-item :label="$t('enterpriseStandardLibrary.plan.newEnterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
</a-form-item>
|
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.newEnterpriseStandardNum')" v-model="queryParam.newEnStandardNo"></a-input>
|
||||||
</a-col>
|
</a-form-item>
|
||||||
<!-- 主起草单位 -->
|
</a-col>
|
||||||
<a-col :span="8">
|
<!-- 新企标名称 -->
|
||||||
<a-form-item :label="$t('enterpriseStandardLibrary.plan.mainDraftingUnit')" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-col :span="8">
|
||||||
<a-tree-select
|
<a-form-item :label="$t('enterpriseStandardLibrary.plan.newEnterpriseStandardName')" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
tree-node-filter-prop="title"
|
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.newEnterpriseStandardName')" v-model="queryParam.newEnStandardName"></a-input>
|
||||||
v-model="queryParam.mainDraftingUnit"
|
</a-form-item>
|
||||||
:maxTagCount="1"
|
</a-col>
|
||||||
:show-search="true"
|
<!-- 主起草人 -->
|
||||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
<a-col :span="8">
|
||||||
class="box-input"
|
<a-form-item :label="$t('enterpriseStandardLibrary.plan.principalDrafter')" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
style="width: 100%"
|
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.principalDrafter')" v-model="queryParam.mainDraftingUser"></a-input>
|
||||||
:tree-data="categoryTreeList"
|
</a-form-item>
|
||||||
:placeholder="$t('pleaseSelect') + $t('enterpriseStandardLibrary.plan.mainDraftingUnit')"
|
</a-col>
|
||||||
/>
|
<!-- 主起草单位 -->
|
||||||
</a-form-item>
|
<a-col :span="8">
|
||||||
</a-col>
|
<a-form-item :label="$t('enterpriseStandardLibrary.plan.mainDraftingUnit')" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
<!-- 主起草单位负责人 -->
|
<a-tree-select
|
||||||
<a-col :span="8">
|
tree-node-filter-prop="title"
|
||||||
<a-form-item :label="$t('enterpriseStandardLibrary.plan.headOfMainDraftingUnit')" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
v-model="queryParam.mainDraftingUnit"
|
||||||
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.headOfMainDraftingUnit')" v-model="queryParam.mainDraftingUnitResponsiblePerson"></a-input>
|
:maxTagCount="1"
|
||||||
</a-form-item>
|
:show-search="true"
|
||||||
</a-col>
|
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||||
<!-- 制修订类型 -->
|
class="box-input"
|
||||||
<a-col :span="8">
|
style="width: 100%"
|
||||||
<a-form-item :label="$t('enterpriseStandardLibrary.plan.revisionType')" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
:tree-data="categoryTreeList"
|
||||||
<j-dict-select-tag
|
:placeholder="$t('pleaseSelect') + $t('enterpriseStandardLibrary.plan.mainDraftingUnit')"
|
||||||
:placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.revisionType')"
|
/>
|
||||||
dict-code="esp_revision_type"
|
</a-form-item>
|
||||||
v-model="queryParam.revisionType">
|
</a-col>
|
||||||
</j-dict-select-tag>
|
<!-- 主起草单位负责人 -->
|
||||||
</a-form-item>
|
<a-col :span="8">
|
||||||
</a-col>
|
<a-form-item :label="$t('enterpriseStandardLibrary.plan.headOfMainDraftingUnit')" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.headOfMainDraftingUnit')" v-model="queryParam.mainDraftingUnitResponsiblePerson"></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<!-- 制修订类型 -->
|
||||||
|
<a-col :span="8">
|
||||||
|
<a-form-item :label="$t('enterpriseStandardLibrary.plan.revisionType')" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<j-dict-select-tag
|
||||||
|
:placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.revisionType')"
|
||||||
|
dict-code="esp_revision_type"
|
||||||
|
v-model="queryParam.revisionType">
|
||||||
|
</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">
|
<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" @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>
|
<a-button type="primary" ghost @click="searchReset" icon="reload" style="margin-left: 8px">{{ $t('reset') }}</a-button>
|
||||||
</div>
|
</div>
|
||||||
@@ -282,7 +306,8 @@ export default {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
dataList: [],
|
dataList: [],
|
||||||
categoryTreeList: [] // 组织机构下拉框数据
|
categoryTreeList: [], // 组织机构下拉框数据
|
||||||
|
toggleSearchStatus: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
@@ -296,6 +321,9 @@ export default {
|
|||||||
this.replacePage()
|
this.replacePage()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
handleToggleSearch () {
|
||||||
|
this.toggleSearchStatus = !this.toggleSearchStatus
|
||||||
|
},
|
||||||
// 获取组织机构树
|
// 获取组织机构树
|
||||||
getSysCategoryTree () {
|
getSysCategoryTree () {
|
||||||
queryDepartTreeList().then((res) => {
|
queryDepartTreeList().then((res) => {
|
||||||
@@ -393,6 +421,7 @@ export default {
|
|||||||
showSizeChanger: true,
|
showSizeChanger: true,
|
||||||
total: 0
|
total: 0
|
||||||
}
|
}
|
||||||
|
this.toggleSearchStatus = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user