diff --git a/src/views/marketing/agent/agent/template/edit.vue b/src/views/marketing/agent/agent/template/edit.vue
index 8d48e09..02bee3a 100644
--- a/src/views/marketing/agent/agent/template/edit.vue
+++ b/src/views/marketing/agent/agent/template/edit.vue
@@ -160,7 +160,7 @@
-
+
@@ -347,8 +347,8 @@
- 取消
- 添加
+
+ 添加
@@ -584,8 +584,8 @@ export default {
this.info.user = item;
this.closeStaff();
}else{
- let key = String(item.uid) + '_' + String(this.create_role_type);
- this.children_list[key] = {
+ let nowTime = Date.now();
+ this.children_list[String(nowTime)] = {
uid: item.uid,
pid: this.info.id || 0,
agent_type: this.create_role_type,
@@ -602,7 +602,6 @@ export default {
mer_id: '',
mer_id_list: [],
user: item,
- // is_headquarters: this.info.is_headquarters || 0,
};
this.children_list = Object.assign({}, this.children_list);
}
@@ -610,16 +609,15 @@ export default {
this.$forceUpdate();
},
// 用户选择器 - 删除用户
- closeStaffConfirm(uid, agent_type){
- let key = String(uid) + '_' + String(agent_type);
+ closeStaffConfirm(index){
// 判断:是否允许删除
- let childrenCount = this.children_list[key].children_count || 0;
+ let childrenCount = this.children_list[index].children_count || 0;
if(Number(childrenCount) > 0){
this.$message.error("存在下级信息,禁止删除!");
return false;
}
// 删除操作
- delete this.children_list[key];
+ delete this.children_list[index];
this.children_list = Object.assign({}, this.children_list);
this.$forceUpdate();
},
diff --git a/src/views/marketing/agent/config/index.vue b/src/views/marketing/agent/config/index.vue
index 1e1434b..26c4aac 100644
--- a/src/views/marketing/agent/config/index.vue
+++ b/src/views/marketing/agent/config/index.vue
@@ -31,13 +31,13 @@
推荐奖励佣金:
-
+
平台奖励
元
-
+
总部发起人奖励
元
@@ -66,13 +66,13 @@
推荐奖励佣金:
-
+
平台奖励
元
-
+
总部发起人奖励
元
@@ -101,19 +101,19 @@
推荐奖励佣金:
-
+
平台奖励
元
-
+
总部发起人奖励
元
-
+
总部外勤奖励
元
@@ -126,7 +126,7 @@
成为省公司外勤费用:
-
+
元
@@ -138,29 +138,29 @@
-
+
推荐奖励佣金:
-
+
平台奖励
元
-
+
总部发起人奖励
元
-
+
总部外勤奖励
元
-
+
省发起人奖励
元
@@ -173,7 +173,7 @@
成为省公司内勤费用:
-
+
元
@@ -189,25 +189,25 @@
推荐奖励佣金:
-
+
平台奖励
元
-
+
总部发起人奖励
元
-
+
总部外勤奖励
元
-
+
省发起人奖励
元
@@ -220,7 +220,7 @@
成为运营商费用:
-
+
元
@@ -236,31 +236,31 @@
推荐奖励佣金:
-
+
平台奖励
元
-
+
总部发起人奖励
元
-
+
总部外勤奖励
元
-
+
省发起人奖励
元
-
+
省公司外勤奖励
元
@@ -273,7 +273,7 @@
成为合伙人费用:
-
+
元
@@ -289,37 +289,37 @@
推荐奖励佣金:
-
+
平台奖励
元
-
+
总部发起人奖励
元
-
+
总部外勤奖励
元
-
+
省发起人奖励
元
-
+
省公司外勤奖励
元
-
+
运营商奖励
元
@@ -332,7 +332,7 @@
成为餐厅费用:
-
+
元
@@ -348,43 +348,43 @@
推荐奖励佣金:
-
+
平台奖励
元
-
+
总部发起人奖励
元
-
+
总部外勤奖励
元
-
+
省发起人奖励
元
-
+
省公司外勤奖励
元
-
+
运营商奖励
元
-
+
合伙人奖励
元
@@ -397,7 +397,7 @@
成为配送商费用:
-
+
元
@@ -413,43 +413,43 @@
推荐奖励佣金:
-
+
平台奖励
元
-
+
总部发起人奖励
元
-
+
总部外勤奖励
元
-
+
省发起人奖励
元
-
+
省公司外勤奖励
元
-
+
运营商奖励
元
-
+
合伙人奖励
元
@@ -478,7 +478,7 @@
总部外勤:
最多可邀请
- 位【省公司发起人】
+ 位【省发起人】