|
@@ -232,9 +232,9 @@
|
|
|
</el-dropdown>
|
|
|
<span class="text" v-if="accountForm.roleType == 1">Admin</span>
|
|
|
</div>
|
|
|
- <div class="form_item" v-if="accountTkTitle == 'Add account'">
|
|
|
+ <div class="form_item">
|
|
|
<span class="laber">Account name</span>
|
|
|
- <el-input v-model="accountForm.account" placeholder=""></el-input>
|
|
|
+ <el-input v-model="accountForm.account" placeholder="" :disabled="accountTkTitle == 'Edit account'"></el-input>
|
|
|
</div>
|
|
|
<div class="form_item" v-if="accountTkTitle == 'Add account'">
|
|
|
<span class="laber">Password</span>
|
|
@@ -405,7 +405,7 @@
|
|
|
this.role_ = 0;
|
|
|
this.faultInformationArr = [
|
|
|
{prop:'role',label:'Type',minWidth:120,type:1},
|
|
|
- {prop:'name',label:'Name',minWidth:80,align:'left'},
|
|
|
+ {prop:'account',label:'Name',minWidth:80,align:'left'},
|
|
|
{prop:'id',label:'ID',minWidth:80,align:'left'},
|
|
|
{prop:'phone',label:'phone',minWidth:80,align:'left'},
|
|
|
{prop:'email',label:'E-mail',width:80,align:'left'},
|
|
@@ -538,6 +538,7 @@
|
|
|
for(let key in data.data){
|
|
|
this.accountForm[key] = data.data[key];
|
|
|
}
|
|
|
+ this.accountForm.roleType = data.data.role;
|
|
|
this.accountTkShow = true;
|
|
|
},()=>{
|
|
|
this.accountTkShowbg = false;
|