|
@@ -1049,6 +1049,9 @@
|
|
|
},
|
|
|
beforeOpen(done, type) {
|
|
|
if (["edit", "view"].includes(type)) {
|
|
|
+ if (localStorage.getItem('roleName').indexOf('admin') == -1) {
|
|
|
+ this.findObject(this.option.group, "workingStatus").disabled = true;
|
|
|
+ }
|
|
|
getUser(this.form.id).then(res => {
|
|
|
this.form = res.data.data;
|
|
|
if(this.form.hasOwnProperty("deptId")){
|