列表页动态刷新
This commit is contained in:
parent
ec939fd490
commit
941535e568
|
|
@ -193,6 +193,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -183,6 +183,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -201,6 +201,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -195,6 +195,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -185,6 +185,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -209,6 +209,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -195,6 +195,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -185,6 +185,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -206,6 +206,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -195,6 +195,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -185,6 +185,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -202,6 +202,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -195,6 +195,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -185,6 +185,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -201,6 +201,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -195,6 +195,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -185,6 +185,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -210,6 +210,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -195,6 +195,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -185,6 +185,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -201,6 +201,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -195,6 +195,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -185,6 +185,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -218,6 +218,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -195,6 +195,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -185,6 +185,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -202,6 +202,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -195,6 +195,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -185,6 +185,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -280,6 +280,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -280,6 +280,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,6 +276,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -195,6 +195,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -278,6 +278,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,6 +276,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -277,6 +277,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -281,6 +281,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,6 +276,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -185,6 +185,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -282,6 +282,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -195,6 +195,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -283,6 +283,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -282,6 +282,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -282,6 +282,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -282,6 +282,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -283,6 +283,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -282,6 +282,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -185,6 +185,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -208,6 +208,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -235,6 +235,12 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
|
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
@ -373,6 +379,7 @@ export default {
|
||||||
},
|
},
|
||||||
// 搜索
|
// 搜索
|
||||||
onSearch() {
|
onSearch() {
|
||||||
|
console.log('触发了')
|
||||||
this.$refs.xGrid.commitProxy('query') // 提交搜索
|
this.$refs.xGrid.commitProxy('query') // 提交搜索
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -288,6 +288,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -214,6 +214,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -236,6 +236,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -209,6 +209,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -271,6 +271,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -260,6 +260,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -240,6 +240,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -213,6 +213,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -220,6 +220,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -272,6 +272,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -368,6 +368,11 @@ export default {
|
||||||
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
this.$refs.xGrid.connect(this.$refs.xToolbar) // 将表格和工具栏进行关联
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//页面动态刷新
|
||||||
|
activated() {
|
||||||
|
this.onSearch();
|
||||||
|
// 这里可以执行一些需要在组件被激活时执行的操作
|
||||||
|
},
|
||||||
// 挂载完成
|
// 挂载完成
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -126,6 +126,21 @@ function initRouter(isAsync) { // 初始化路由
|
||||||
const options = isAsync ? require('./async/config.async').default : require('./config').default // 引入路由配置
|
const options = isAsync ? require('./async/config.async').default : require('./config').default // 引入路由配置
|
||||||
formatRoutes(options.routes) // 格式化路由
|
formatRoutes(options.routes) // 格式化路由
|
||||||
// console.log(options)
|
// console.log(options)
|
||||||
return new Router(options) // 返回路由实例
|
let router = new Router(options) // 创建路由实例
|
||||||
|
router.beforeEach((to, from, next) => {
|
||||||
|
console.log(to.path)
|
||||||
|
// if (to.path.includes('List')) {
|
||||||
|
// console.log(to.matched[2].default)
|
||||||
|
// // 假设PageB组件有一个方法refreshData用来获取最新数据
|
||||||
|
// to.matched.some(record => {
|
||||||
|
// if (record.components.default.methods.onSearch) {
|
||||||
|
// record.components.default.methods.onSearch();
|
||||||
|
// return true;
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
// }
|
||||||
|
next();
|
||||||
|
});
|
||||||
|
return router // 返回路由实例
|
||||||
}
|
}
|
||||||
export { loginIgnore, initRouter } // 导出路由配置和初始化路由方法
|
export { loginIgnore, initRouter } // 导出路由配置和初始化路由方法
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue