Просмотр исходного кода

团队 渠道 电销组bug修改

祁鹏飞 5 месяцев назад
Родитель
Сommit
c6caf62c24

+ 3 - 3
src/views/operationManagement/channel.vue

@@ -398,7 +398,7 @@ const tableDataCommand = (scope, e) => {
         if(action === 'confirm') {
           api.teamApi.deleteAssociatedUsers({
             id: teamInfo.value.id,
-            userIds: [scope.row.id]
+            userIds: [scope.row.userId]
           }).then(res => {
             if(res?.code == 200) {
               ElMessage({
@@ -429,7 +429,7 @@ const tableDataCommand = (scope, e) => {
       }).then(( action ) => {
         if(action === 'confirm') {
           let data = {
-            id: [scope.row.id],
+            ids: [scope.row.id],
             isEnable: 1,
             getAll: 0
           }
@@ -463,7 +463,7 @@ const tableDataCommand = (scope, e) => {
       }).then(( action ) => {
         if(action === 'confirm'){
           let data = {
-            id: [scope.row.id],
+            ids: [scope.row.id],
             isEnable: 0,
             getAll: 0
           }

+ 1 - 1
src/views/operationManagement/team.vue

@@ -394,7 +394,7 @@ const tableDataCommand = (scope, e) => {
         if (action === 'confirm') {
           api.teamApi.deleteAssociatedUsers({
             id: teamInfo.value.id,
-            userIds: [scope.row.id]
+            userIds: [scope.row.userId]
           }).then(res => {
             if (res?.code == 200) {
               ElMessage({

+ 3 - 3
src/views/operationManagement/telemarketing.vue

@@ -398,7 +398,7 @@ const tableDataCommand = (scope, e) => {
         if(action === 'confirm') {
           api.teamApi.deleteAssociatedUsers({
             id: teamInfo.value.id,
-            userIds: [scope.row.id]
+            userIds: [scope.row.userId]
           }).then(res => {
             if(res?.code == 200) {
               ElMessage({
@@ -429,7 +429,7 @@ const tableDataCommand = (scope, e) => {
       }).then(( action ) => {
         if(action === 'confirm') {
           let data = {
-            id: [scope.row.id],
+            ids: [scope.row.id],
             isEnable: 1,
             getAll: 0
           }
@@ -463,7 +463,7 @@ const tableDataCommand = (scope, e) => {
       }).then(( action ) => {
         if(action === 'confirm'){
           let data = {
-            id: [scope.row.id],
+            ids: [scope.row.id],
             isEnable: 0,
             getAll: 0
           }