Commit cf282a7d by lizhi

SidebarItem跟随刷新

parent aa2dd57b
......@@ -427,8 +427,17 @@ export default {
// this.list.auditSchool = res.data.list.school
// this.total.auditSchool = total.data.list.school
// console.log(this.list, "this.list,codeAll");
this.$forceUpdate();
});
cooperateSchoolAll({
pageNum: 1,
pageSize: 10,
isMatch: 1
}).then(res => {
this.$store.commit("set_cooperateSchoolAll", res.data.total);
// console.log(res.data.total, "vuex");
});
},
// getSelectedForm() {
// this.listQuery.pageNum = 1;
......
......@@ -452,8 +452,17 @@ export default {
// this.list.auditSchool = res.data.list.school
// this.total.auditSchool = total.data.list.school
// console.log(this.list, "this.list,codeAll");
this.$forceUpdate();
});
recruitSchoolAll({
pageNum: 1,
pageSize: 10,
isMatch: 1
}).then(res => {
this.$store.commit("set_recruitSchoolAll", res.data.total);
// console.log(res.data.total, "vuex");
});
},
handleSearchList() {
//搜索
......
......@@ -208,6 +208,15 @@ export default {
this.total = res.data.total;
this.list = res.data.list;
console.log(this.list, "this.list,getOutlineList");
this.$store.commit("set_outlineListUnconfirm", res.data.total);
});
outlineList({
pageNum: 1,
pageSize: 10,
outlineState: 2
}).then(res => {
this.$store.commit("set_outlineListUnconfirm", res.data.total);
// console.log(this.$store.getters.outlineListUnconfirm, "vuex");
});
},
handleCurrentChange(val) {
......
......@@ -301,6 +301,7 @@ export default {
this.total = res.data.total;
this.$store.commit("set_kfSelectUnBind", res.data.total);
console.log(this.list, "this.list,kfSelectUnBind");
this.$store.commit("set_kfSelectUnBind", res.data.total);
this.$forceUpdate();
});
},
......
......@@ -171,6 +171,7 @@ export default {
this.pageSize = res.data.pageSize;
this.total = res.data.total;
console.log(this.list, "this.list,xfSelectUnBind");
this.$store.commit("set_xfSelectUnBind", res.data.total);
this.$forceUpdate();
});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment