分页缓存

dev_2022-04-07
yujialong 3 years ago
parent 51defe0d06
commit b0e4161523
  1. 5
      src/views/course/Curriculum.vue
  2. 2
      src/views/course/contentSettings.vue
  3. 2
      src/views/customer/AddCustomer.vue
  4. 5
      src/views/customer/customer.vue
  5. 5
      src/views/order/Order.vue
  6. 5
      src/views/serve/Configure.vue
  7. 2
      src/views/serve/projectAdd.vue
  8. 10
      src/views/serve/projectList.vue
  9. 2
      src/views/system/log.vue
  10. 3
      src/views/user/User.vue

@ -135,9 +135,9 @@ export default {
curriculumType: "",
curriculumName: ""
},
pageNo: 1,
pageNo: +this.$route.query.page || 1,
pageSize: 10,
totals: 1,
totals: 0,
subjectList: [], //
ProfessionalClassList: [], //
ProfessionalList: [], //
@ -284,6 +284,7 @@ export default {
//
handleCurrentChange(val) {
this.pageNo = val;
this.$router.push(`curriculum?page=${val}`)
this.getData();
},
//

@ -293,7 +293,7 @@ export default {
if (this.previewing) {
this.closeIframe();
} else {
this.$router.push("/curriculum");
this.$router.back()
}
},
iframeOnload() {

@ -649,7 +649,7 @@ export default {
},
goback(){
this.$router.go(-1)
this.$router.back()
}
}
};

@ -115,9 +115,9 @@ export default {
multipleSelection: [],
provinceList: [],
cityList: [],
page: 1,
page: +this.$route.query.page || 1,
pageSize: 10,
total: 1,
total: 0,
ruleIds: []
};
},
@ -237,6 +237,7 @@ export default {
},
handleCurrentChange(val) {
this.page = val
this.$router.push(`customer?page=${val}`)
this.getData()
},
resetPassword(row){

@ -155,9 +155,9 @@ export default {
name: "已取消",
value: 2
}],
pageNo: 1,
pageNo: +this.$route.query.page || 1,
pageSize: 10,
totals: 1,
totals: 0,
searchTimer: null
};
},
@ -310,6 +310,7 @@ export default {
},
handleCurrentChange(val) {
this.pageNo = val;
this.$router.push(`order?page=${val}`)
this.getData();
},
//

@ -101,7 +101,7 @@ export default {
systemSearch: "",
searchTimer: null,
systemData: [],
totals: 1,
totals: 0,
systemBelongList: [
{
label: "外部产品",
@ -134,7 +134,7 @@ export default {
0: '运行中',
1: '默认'
},
pageNo: 1,
pageNo: +this.$route.query.page || 1,
pageSize: 10
};
},
@ -170,6 +170,7 @@ export default {
},
handleCurrentChange(val) {
this.pageNo = val;
this.$router.push(`configure?page=${val}`)
this.getData();
},
edit(row) {

@ -747,7 +747,7 @@ export default {
},
//
toList() {
this.$router.push(`/projectList?systemId=${this.$route.query.systemId}&show=${this.isDetails}&founder=${this.founder}&name=${this.$route.query.name}`);
this.$router.back()
},
//
back() {

@ -197,7 +197,7 @@ export default {
0: '草稿箱',
1: '已发布'
},
page: 1,
page: +this.$route.query.page || 1,
pageSize: 10,
multipleSelection: [],
copyVisible: false,
@ -215,7 +215,6 @@ export default {
}
},
mounted() {
console.log(this.$route.query.founder)
if (this.$route.query.founder && this.$route.query.founder != 'undefined'){
this.queryData.founder = +this.$route.query.founder
}else{
@ -245,6 +244,13 @@ export default {
},
handleCurrentChange(val) { //
this.page = val;
this.$router.push({
path: 'projectList',
query: {
...this.$route.query,
page: val
}
})
this.getData();
},
add() { //

@ -58,6 +58,7 @@ export default {
this.searchTimer = setTimeout(() => {
const list = this.listData
this.listData = val ? list.filter(e => e.name.includes(val)) : this.listDataAll
this.total = this.listData.length
}, 500);
}
},
@ -75,6 +76,7 @@ export default {
})
this.listDataAll = res.logManagementListVo
this.listData = res.logManagementListVo
this.total = this.listData.length
}).catch(res => {})
},
currentChange(val) {

@ -209,7 +209,7 @@ export default {
label: '数据前瞻'
},
],
page: 1,
page: +this.$route.query.page || 1,
pageSize: 10,
totals: 0,
multipleSelection: [],
@ -326,6 +326,7 @@ export default {
},
currentChange(val) {
this.page = val
this.$router.push(`user?page=${val}`)
this.getData()
},
toDetail(row, detail){

Loading…
Cancel
Save