调整新路预览配置

This commit is contained in:
zyy 2021-05-31 15:52:46 +08:00
parent 58f1e06267
commit 137b427ebe
4 changed files with 12 additions and 7 deletions

View File

@ -379,7 +379,9 @@ export default {
// this.pageIndex = 1;
this.queryData[this.currentpagerConfig.pageSize] = this.pageSize;
this.queryData[this.currentpagerConfig.pageIndex] = this.pageIndex;
this.queryList.reload();
// this.queryList.reload();
this.choose = null;
this.commitQuery();
},
//
queryExport(queryData) {
@ -455,7 +457,10 @@ export default {
}
//
// this.queryData._time = this.$moment()._d.getTime();
this.queryList.reload();
// this.queryList.reload();
this.choose = null;
this.commitQuery();
},
/**
* 改变分页大小回调函数执行完毕后iview会自动触发changePage事件去查第一页数据

View File

@ -2,9 +2,9 @@ export function getBaseUrl() {
let BASE_API;
if (process.env.NODE_ENV === 'development') {
// BASE_API = 'https://joylink.club/jlcloud';
// BASE_API = 'https://test.joylink.club/jlcloud';
BASE_API = 'https://test.joylink.club/jlcloud';
// BASE_API = 'http://192.168.8.107:9000'; // 袁琪
BASE_API = 'http://192.168.3.83:9000'; // 旭强 有线
// BASE_API = 'http://192.168.3.83:9000'; // 旭强 有线
// BASE_API = 'http://192.168.8.114:9000'; // 旭强 无线
// BASE_API = 'http://192.168.3.120:9000'; // 张赛
// BASE_API = 'http://192.168.8.140:9000'; // 杜康

View File

@ -267,8 +267,9 @@ export default {
methods: {
doShow(showType, codeType) {
this.show = true;
// this.reloadTable();
this.$refs.queryListPage.commitQuery();
this.$nextTick(() => {
this.$refs.queryListPage && this.$refs.queryListPage.commitQuery();
});
if (showType && codeType) {
this.showType = showType;
this.codeType = codeType;

View File

@ -52,7 +52,6 @@ export default {
},
methods: {
initProtectData() {
debugger;
getOverlapAllList(this.$route.params.mapId).then(resp => {
this.overlapList = resp.data;
});