diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step1.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step1.vue index 72d440094..67446e72b 100644 --- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step1.vue @@ -155,7 +155,7 @@ class="common-button-primary" size="small" v-btn-permission="" - @click="getProjectData"> + @click="getProjectDataBtn"> 查询 @@ -372,7 +372,7 @@ export default { }, data() { return { - multipleSelection:[], + multipleSelection: [], active: "1", //默认显示 commentText: "", modalshowflag: false, @@ -439,14 +439,18 @@ export default { handleSelectionChange(val) { // 单选 if (val.length > 1) { - this.$refs.table.clearSelection() - this.$refs.table.toggleRowSelection(val.pop()) + this.$refs.table.clearSelection(); + this.$refs.table.toggleRowSelection(val.pop()); } - this.multipleSelection = val + this.multipleSelection = val; }, handleTabs(type) { this.active = type; }, + getProjectDataBtn() { + this.page = 1; + this.getProjectData(); + }, //查询项目列表 getProjectData() { this.$http.get("sarStandProjectLibrary/queryProjectConfirm", { @@ -489,6 +493,11 @@ export default { } }, + //清单查询按钮 + searchSarAccessBtn() { + this.pageNo = 1; + this.searchSarAccess(); + }, //查询清单列表 searchSarAccess() { this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", { @@ -593,8 +602,8 @@ export default { selectListChange(data) { // 单选 if (data.length > 1) { - this.$refs.listSelection.clearSelection() - this.$refs.listSelection.toggleRowSelection(data.pop()) + this.$refs.selection.clearSelection(); + this.$refs.selection.toggleRowSelection(data.pop()); } this.multipleSelection = data @@ -604,8 +613,8 @@ export default { selectProjectChange(data) { // 单选 if (data.length > 1) { - this.$refs.projectSelection.clearSelection() - this.$refs.projectSelection.toggleRowSelection(data.pop()) + this.$refs.selection.clearSelection(); + this.$refs.selection.toggleRowSelection(data.pop()); } this.multipleSelection = data diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue index ec81787ca..e1d70fffc 100644 --- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue @@ -669,6 +669,7 @@ export default { }, //添加标准的查询按钮 search() { + this.page = 1; this.getStand(); }, clearSearch() {