修改分页bug
This commit is contained in:
@@ -155,7 +155,7 @@
|
||||
class="common-button-primary"
|
||||
size="small"
|
||||
v-btn-permission=""
|
||||
@click="getProjectData">
|
||||
@click="getProjectDataBtn">
|
||||
查询
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -669,6 +669,7 @@ export default {
|
||||
},
|
||||
//添加标准的查询按钮
|
||||
search() {
|
||||
this.page = 1;
|
||||
this.getStand();
|
||||
},
|
||||
clearSearch() {
|
||||
|
||||
Reference in New Issue
Block a user