|
@@ -892,6 +892,7 @@
|
|
|
// 表单重置
|
|
|
reset() {
|
|
|
this.photoUrl= '';
|
|
|
+ this.specialDutys = [];
|
|
|
this.form = {
|
|
|
id: null,
|
|
|
plantCode: null,
|
|
@@ -959,6 +960,11 @@
|
|
|
if (response.data.photo) {
|
|
|
this.photoUrl = process.env.VUE_APP_BASE_API + response.data.photo;
|
|
|
}
|
|
|
+ if (response.data.specialDuty) {
|
|
|
+ this.specialDutys = response.data.specialDuty.split(',');
|
|
|
+ }else {
|
|
|
+ this.specialDutys = [];
|
|
|
+ }
|
|
|
this.open = true;
|
|
|
this.notPhoto = true;
|
|
|
this.title = this.$t('修改') + this.$t('人员管理');
|