三七 пре 1 дан
родитељ
комит
9007b3e43e

+ 18 - 0
src/views/company/companyUser/index.vue

@@ -173,6 +173,13 @@
               <dict-tag :options="qwStatusOptions" :value="scope.row.qwStatus"/>
             </template>
           </el-table-column>
+            <el-table-column label="客服语音回复方式" align="center">
+                <template slot-scope="scope">
+                    <span v-if="scope.row.isCustomerVoice === 1" style="color: #67C23A;">客户语音销售回复语音</span>
+                    <span v-else-if="scope.row.isCustomerVoice === 2" style="color: #409EFF;">客户语音销售回复文本</span>
+                    <span v-else style="color: #67C23A;">客户语音销售回复语音</span>
+                </template>
+            </el-table-column>
           <el-table-column label="绑定的企微号" align="center">
             <template slot-scope="scope">
               <div v-if="scope.row.qwUsers && scope.row.qwUsers.length > 0">
@@ -540,6 +547,16 @@
             </el-form-item>
           </el-col>
         </el-row>
+          <el-row>
+              <el-col :span="12">
+                  <el-form-item label="客服ai语音回复方式">
+                      <el-select v-model="form.isCustomerVoice" placeholder="请选择">
+                          <el-option label="客户语音销售回复语音" :value="1"></el-option>
+                          <el-option label="客户语音销售回复文本" :value="2"></el-option>
+                      </el-select>
+                  </el-form-item>
+              </el-col>
+          </el-row>
       </el-form>
       <div slot="footer" class="dialog-footer">
         <el-button type="primary" @click="submitForm">确 定</el-button>
@@ -1533,6 +1550,7 @@ export default {
         sex: undefined,
         status: "0",
         remark: undefined,
+        isCustomerVoice: 1,
         domain: null,
         postIds: [],
         roleIds: [],

+ 0 - 1
src/views/qw/user/cuDeptIdIndex.vue

@@ -211,7 +211,6 @@
             type="text"
             icon="el-icon-s-check"
             plain
-            v-hasPermi="['qw:user:authAppKey']"
             @click="uploadAuthorizeKey2(scope.row)"
           >授权key
           </el-button>

+ 0 - 1
src/views/qw/user/index.vue

@@ -278,7 +278,6 @@
             type="text"
             icon="el-icon-s-check"
             plain
-            v-hasPermi="['qw:user:authAppKey']"
             @click="uploadAuthorizeKey2(scope.row)"
           >授权key
           </el-button>

+ 0 - 1
src/views/qw/user/myIndex.vue

@@ -265,7 +265,6 @@
             type="text"
             icon="el-icon-s-check"
             plain
-            v-hasPermi="['qw:user:authAppKey']"
             @click="uploadAuthorizeKey2(scope.row)"
           >授权key
           </el-button>