|
@@ -11,7 +11,7 @@
|
|
|
<text>姓名:{{item.empName}}</text><br>
|
|
|
<text>电话:{{ item.mobile }}</text><br>
|
|
|
<text>身份证号:{{item.idcardno}}</text><br>
|
|
|
- <text>职务:{{getDuty(item.duty)}}</text>
|
|
|
+ <text>职务:{{getDuty(item.empType)}}</text>
|
|
|
</div>
|
|
|
<div style="display: flex;justify-content: space-around;align-items: center;">
|
|
|
<button @click="delUser(item)" class="editBtn" style="background-color: red;">删除</button>
|
|
@@ -370,7 +370,7 @@
|
|
|
if (res.data) {
|
|
|
this.formbox.fname = res.data.empName
|
|
|
this.formbox.fphone = res.data.mobile
|
|
|
- this.formbox.fpower = res.data.duty
|
|
|
+ this.formbox.fpower = res.data.empType
|
|
|
// this.formbox.fworker = res.data.empType
|
|
|
this.formbox.fuserNum = res.data.idcardno
|
|
|
this.showModal = true
|
|
@@ -488,7 +488,7 @@
|
|
|
if (num === '1') {
|
|
|
return '值班人';
|
|
|
} else if (num === '2') {
|
|
|
- return '负责人';
|
|
|
+ return '站长';
|
|
|
} else {
|
|
|
return '普通人员';
|
|
|
}
|