Commit ae9777cb authored by zhengke's avatar zhengke

修改

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