Jelajahi Sumber

木易华康-ai客服上下线

Long 1 hari lalu
induk
melakukan
9687f04928
2 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 2 2
      src/views/qw/user/index.vue
  2. 2 2
      src/views/qw/user/myIndex.vue

+ 2 - 2
src/views/qw/user/index.vue

@@ -359,7 +359,7 @@
             icon="el-icon-unlock"
             plain
             v-hasPermi="['qw:user:aiStatus']"
-            v-if="scope.row.aiStatus == 0 && projectFrom === 'sxjz'"
+            v-if="scope.row.aiStatus == 0 && (projectFrom === 'sxjz' || projectFrom === 'myhk')"
             @click="updateFastGptRoleStatus(scope.row)"
           >Ai客服下线</el-button>
           <el-button
@@ -368,7 +368,7 @@
             icon="el-icon-unlock"
             plain
             v-hasPermi="['qw:user:aiStatus']"
-            v-if="scope.row.aiStatus == 1 && projectFrom === 'sxjz'"
+            v-if="scope.row.aiStatus == 1 && (projectFrom === 'sxjz' || projectFrom === 'myhk')"
             @click="updateFastGptRoleStatus(scope.row)"
           >Ai客服上线</el-button>
         </template>

+ 2 - 2
src/views/qw/user/myIndex.vue

@@ -345,7 +345,7 @@
             icon="el-icon-unlock"
             plain
             v-hasPermi="['qw:user:myAiStatus']"
-            v-if="scope.row.aiStatus == 0 && projectFrom === 'sxjz'"
+            v-if="scope.row.aiStatus == 0 && (projectFrom === 'sxjz' || projectFrom === 'myhk')"
             @click="updateFastGptRoleStatus(scope.row)"
           >Ai客服下线</el-button>
           <el-button
@@ -354,7 +354,7 @@
             icon="el-icon-unlock"
             plain
             v-hasPermi="['qw:user:myAiStatus']"
-            v-if="scope.row.aiStatus == 1 && projectFrom === 'sxjz'"
+            v-if="scope.row.aiStatus == 1 && (projectFrom === 'sxjz' || projectFrom === 'myhk')"
             @click="updateFastGptRoleStatus(scope.row)"
           >Ai客服上线</el-button>
         </template>