1.修改三期优化点

This commit is contained in:
sunFlower
2022-09-22 17:43:08 +08:00
parent 769bd811d4
commit 54c7421776
2 changed files with 57 additions and 1 deletions
@@ -210,6 +210,7 @@
<JLoading :loading="JLoading">{{this.$t('pleaseWaitWhileRunning')}}</JLoading> <JLoading :loading="JLoading">{{this.$t('pleaseWaitWhileRunning')}}</JLoading>
<uploadFile ref="uploadFile" @uploadSuccess="uploadSuccess"/> <uploadFile ref="uploadFile" @uploadSuccess="uploadSuccess"/>
<standardDecompositionSheet ref="standardDecompositionSheetRef" <standardDecompositionSheet ref="standardDecompositionSheetRef"
:gatherResultList="gatherResultList"
@standardDecompositionSheetForm="standardDecompositionSheetForm"/> @standardDecompositionSheetForm="standardDecompositionSheetForm"/>
</div> </div>
</template> </template>
@@ -32,6 +32,40 @@
</a-select> </a-select>
</div> </div>
</a-col> </a-col>
<a-col :md="12" :sm="8">
<div class="box-title-text">
<div class="title-text" :title="$t('technicalField')">
<span>{{$t('technicalField')}}</span>
</div>
<a-tree-select
tree-node-filter-prop="title"
v-model="queryParam.technology_territory"
:getPopupContainer="triggerNode=> triggerNode.parentNode"
class="box-input"
style="width: 100%"
:tree-data="CategoryTreeList"
tree-checkable
:placeholder="$t('PleaseSelect')+$t('technicalField')"
/>
</div>
</a-col>
<a-col :md="12" :sm="8">
<div class="box-title-text">
<div class="title-text" :title="$t('informationCategory')">
<span>{{$t('informationCategory')}}</span>
</div>
<j-dict-select-tag class="box-input" v-model="queryParam.information_category"
:placeholder="$t('PleaseSelect')+$t('informationCategory')"
:type="'select'"
:triggerChange="false" :dictCode="'information_category'"/>
</div>
</a-col>
<span style="float: right;overflow: hidden;" class="table-page-search-submitButtons">
<a-col :md="12" :sm="8">
<a-button class="box-button" type="primary" @click="searchQuery">{{$t('query')}}</a-button>
<a-button class="box-button" style="margin-left: 8px" @click="searchReset">{{$t('reset')}}</a-button>
</a-col>
</span>
<!-- <span style="float: right;overflow: hidden;margin-top: 4px" class="table-page-search-submitButtons">--> <!-- <span style="float: right;overflow: hidden;margin-top: 4px" class="table-page-search-submitButtons">-->
<!-- <a-col :md="12" :sm="24">--> <!-- <a-col :md="12" :sm="24">-->
<!-- <div @click="handleModule" class="operator-text">--> <!-- <div @click="handleModule" class="operator-text">-->
@@ -94,6 +128,7 @@
components: { components: {
ImportFile ImportFile
}, },
props: ['gatherResultList'],
data() { data() {
return { return {
visible: false, visible: false,
@@ -101,6 +136,7 @@
confirmLoading: false, confirmLoading: false,
selectedRowKeys: [], selectedRowKeys: [],
sarFileSplitInfoList: [], sarFileSplitInfoList: [],
informationCategoryList:[],
url: { url: {
list: '/split/sarFileSplitItems/getSplitItemsByPage' list: '/split/sarFileSplitItems/getSplitItemsByPage'
}, },
@@ -151,10 +187,23 @@
queryConditionVOList: [], queryConditionVOList: [],
info_id: '', info_id: '',
selectedRowKeysData: [], selectedRowKeysData: [],
standardList: '' standardList: '',
CategoryTreeList: []
} }
}, },
mounted() {
this.getSysCategoryTree()
},
methods: { methods: {
getSysCategoryTree() {
getAction('/sys/category/getSysCategoryTree', {}).then((res) => {
if (res.success) {
this.CategoryTreeList = res.result
} else {
this.CategoryTreeList = []
}
})
},
handleModule() { handleModule() {
}, },
@@ -176,6 +225,7 @@
this.standData = row this.standData = row
this.sarFileSplitInfoList = this.standData.sarFileSplitInfoList || [] this.sarFileSplitInfoList = this.standData.sarFileSplitInfoList || []
this.sarFileSplitInfoList = [...this.sarFileSplitInfoList] this.sarFileSplitInfoList = [...this.sarFileSplitInfoList]
this.queryParam = {}
this.queryParam.info_id = this.sarFileSplitInfoList && this.sarFileSplitInfoList.length > 0 ? this.sarFileSplitInfoList[0].id : '' this.queryParam.info_id = this.sarFileSplitInfoList && this.sarFileSplitInfoList.length > 0 ? this.sarFileSplitInfoList[0].id : ''
this.visible = true this.visible = true
if (this.queryParam.info_id) { if (this.queryParam.info_id) {
@@ -219,10 +269,15 @@
replacePage() { replacePage() {
let pageNo = JSON.parse(JSON.stringify(this.pageNo)) let pageNo = JSON.parse(JSON.stringify(this.pageNo))
let pageSize = JSON.parse(JSON.stringify(this.pageSize)) let pageSize = JSON.parse(JSON.stringify(this.pageSize))
let queryParam = JSON.parse(JSON.stringify(this.queryParam))
if (queryParam.technology_territory && queryParam.technology_territory.length > 0){
queryParam.technology_territory = queryParam.technology_territory.join(',')
}
let query = { let query = {
pageNo: pageNo + '', pageNo: pageNo + '',
pageSize: pageSize + '', pageSize: pageSize + '',
info_id: this.queryParam.info_id, info_id: this.queryParam.info_id,
technology_territory:queryParam.technology_territory,
menu_id: '' menu_id: ''
} }
this.loading = true this.loading = true