diff --git a/src/api/api.js b/src/api/api.js index ee015028..9475a37b 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -141,7 +141,7 @@ const getEnterpriseLevelMapList = (params) => getAction('/sys/lawsGrade/list', p // 绑定零部件-获取拆分标准 const getSplitStandardList = (params) => getAction('/laws/bindPart/selectStandard', params) // 绑定零部件-获取条款目录树 -const getClauseTree = (params) => getAction('/laws/bindPart/selectClause', params) +const getClauseTree = (params) => getAction('/laws/bindPart/clauseTree', params) // 根据标准拆分id获取条款列表 const getClauseListByStandardInfoId = (params) => postAction('/laws/bindPart/selectClause', params) diff --git a/src/components/selection/ClauseSelectionModal.vue b/src/components/selection/ClauseSelectionModal.vue index 84bd99d0..efe89e5e 100644 --- a/src/components/selection/ClauseSelectionModal.vue +++ b/src/components/selection/ClauseSelectionModal.vue @@ -15,13 +15,13 @@ + v-model="queryParam.item_num"> + v-model="queryParam.item_title">
- @@ -198,7 +198,7 @@ export default { this.queryParam = {} this.initDict() this.$nextTick(() => { - this.source ? this.queryParam.source = this.source : this.queryParam = {} + this.source ? this.queryParam.standardType = this.source : this.queryParam = {} this.replacePage() }) }, @@ -222,8 +222,8 @@ export default { pageSize: this.ipagination.pageSize } // 清空在可选范围内进行查询 - if (!query.source && this.canSelectedSource.length < 3) { - query.source = this.canSelectedSource.join(',') + if (!query.standardType && this.canSelectedSource.length < 3) { + query.standardType = this.canSelectedSource.join(',') } // this.selectedRowKeys = [] this.loading = true @@ -245,7 +245,7 @@ export default { searchReset () { // 如果禁用来源,就不重置来源 if (this.disabledSourceSearch) { - this.queryParam = { source: this.source } + this.queryParam = { standardType: this.source } } else { this.queryParam = {} } @@ -330,11 +330,11 @@ export default { handleGoDetail (record) { let path = '' // 需要先判断是哪种标准 - if (record.source === '1') { + if (record.standardType === '1') { path = '/standardRegulationLibrary/DomesticStandardDetail' - } else if (record.source === '2') { + } else if (record.standardType === '2') { path = '/standardRegulationLibrary/OverseasStandardDetail' - } else if (record.source === '3') { + } else if (record.standardType === '3') { path = '/enterpriseStandardLibrary/enterpriseStandardDetail' } this.$openPageNewSheet({ diff --git a/src/views/system/bindingParts/modules/BingingPartsModal.vue b/src/views/system/bindingParts/modules/BingingPartsModal.vue index 9a02163b..7931bbf0 100644 --- a/src/views/system/bindingParts/modules/BingingPartsModal.vue +++ b/src/views/system/bindingParts/modules/BingingPartsModal.vue @@ -152,6 +152,10 @@ export default { handleStandardChange (value) { this.sarFileSplitInfoId = value[0].infoId this.model.docSplitId = value[0].infoId + this.model.standardId = value[0].id + this.model.standardType = value[0].standardType + this.form.resetFields(['clauseIds']) + this.model.clauseNos = '' this.$nextTick(() => { this.form.setFieldsValue(pick(value[0], 'standardName')) })