Commit ae9777cb authored by zhengke's avatar zhengke

修改

parent 6079c558
......@@ -302,9 +302,9 @@ export default {
align: "left"
},
{
name: "StuRealMobile",
name: "StuTel",
label: "电话",
field: "StuRealMobile",
field: "StuTel",
align: "left"
},
{
......
......@@ -75,6 +75,8 @@
resetPassword
} from '../../api/users/user.js'
import stulist from '../../components/school/student/stulist'
import { mapGetters } from "vuex";
export default {
meta: {
title: "客户管理"
......@@ -110,6 +112,9 @@
customTypeList: [] //客户类型
}
},
computed: {
...mapGetters(["userInfo"])
},
created() {
this.getEmployeeList();
this.getStuStageList();
......@@ -177,6 +182,13 @@
this.loading = false;
this.data = res.Data.PageData
this.pageCount = res.Data.PageCount
this.data.forEach(x => {
if (x.CreateBy != this.userInfo.Id) {
x.BelongType = 3;
} else {
x.BelongType = 1;
}
});
}).catch(() => {
this.loading = false
})
......
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