diff --git a/src/pages/shop/IncreaseStaffManager.vue b/src/pages/shop/IncreaseStaffManager.vue index 612b73f..ad43a1f 100644 --- a/src/pages/shop/IncreaseStaffManager.vue +++ b/src/pages/shop/IncreaseStaffManager.vue @@ -128,6 +128,9 @@ 同步开通账号 + + + @@ -266,6 +269,7 @@ import staff from "../../services/staff/staff"; role: '', store: '', userId: '', + type: '', checkbox: ['vail'] }, ruleValidate: { @@ -456,7 +460,7 @@ import staff from "../../services/staff/staff"; let role; if (row && row.type) { - if (row.type === 1) { + if (row.type === 1 || row.type === 2) { role = "DZ-DIANZHANG"; } else { role = "DG-DAOGOU"; @@ -470,6 +474,7 @@ import staff from "../../services/staff/staff"; phone: row.mobil, role: role, store: row.storeId, + type: row.type, userId: row.userId, id: row.id, }; @@ -545,6 +550,7 @@ import staff from "../../services/staff/staff"; staffCode: value.staffCode, roleId: newRole, userId: this.formValidate.userId, + type: this.formValidate.type, id: this.formValidate.id, }; //修改接口 @@ -564,6 +570,7 @@ import staff from "../../services/staff/staff"; value.phone = ""; value.staffCode = ""; value.role = ""; + value.type = ""; value.region = ""; value.checkbox = ["vail"]; },