zyp 1 주 전
부모
커밋
4b10a72f0f
3개의 변경된 파일32개의 추가작업 그리고 31개의 파일을 삭제
  1. 2 2
      src/views/company/companyUser/index.vue
  2. 5 4
      src/views/qw/externalContact/index.vue
  3. 25 25
      src/views/qw/externalContact/myExternalContact.vue

+ 2 - 2
src/views/company/companyUser/index.vue

@@ -216,7 +216,7 @@
           </el-col>
           <el-col :span="12">
             <el-form-item v-if="form.userId == undefined" label="用户密码" prop="password">
-              <el-input v-model="form.password" placeholder="请输入用户密码" type="password" />
+              <el-input v-model="form.password" placeholder="请输入用户密码" type="password" show-password />
             </el-form-item>
           </el-col>
         </el-row>
@@ -701,7 +701,7 @@ export default {
         this.roleOptions = response.roles;
         this.open = true;
         this.title = "添加员工";
-        this.form.password = null;
+        this.form.password = "ylrz147..";
       });
     },
     qwBind(row){

+ 5 - 4
src/views/qw/externalContact/index.vue

@@ -116,8 +116,8 @@
           />
         </el-select>
       </el-form-item>
-      <el-form-item label="是否绑小程序" prop="isBindMini">
-        <el-select v-model="queryParams.isBindMini" placeholder="是否绑定小程序" clearable size="small" @change="handleQuery" >
+      <el-form-item label="是否绑定会员" prop="isBindMini">
+        <el-select v-model="queryParams.isBindMini" placeholder="是否绑定会员" clearable size="small" @change="handleQuery" >
           <el-option
             v-for="dict in isBindMiniOptions"
             :key="dict.dictValue"
@@ -342,7 +342,7 @@
         </template>
       </el-table-column>
       <el-table-column label="企业id" align="center" prop="corpId" />
-      <el-table-column label="是否绑小程序" width="100px" align="center" fixed="right">
+      <el-table-column label="是否绑定会员" width="100px" align="center" fixed="right">
         <template slot-scope="scope">
           <el-tag v-if="scope.row.fsUserId" >已绑定</el-tag>
           <el-tag v-else type="info"> 未绑定</el-tag>
@@ -389,13 +389,14 @@
           </el-button>
 
           <el-button
+            v-if="scope.row.fsUserId"
             size="mini"
             type="text"
             icon="el-icon-thumb"
             @click="handleUnBindUserId(scope.row)"
             v-hasPermi="['qw:externalContact:unBindUserId']"
           >
-            <span v-if="scope.row.fsUserId">解除会员绑定</span>
+            <span>解除会员绑定</span>
           </el-button>
 
 

+ 25 - 25
src/views/qw/externalContact/myExternalContact.vue

@@ -109,8 +109,8 @@
           />
         </el-select>
       </el-form-item>
-      <el-form-item label="是否绑小程序" prop="isBindMini">
-        <el-select v-model="queryParams.isBindMini" placeholder="是否绑定小程序" clearable size="small" @change="handleQuery" >
+      <el-form-item label="是否绑定会员" prop="isBindMini">
+        <el-select v-model="queryParams.isBindMini" placeholder="是否绑定会员" clearable size="small" @change="handleQuery" >
           <el-option
             v-for="dict in isBindMiniOptions"
             :key="dict.dictValue"
@@ -355,7 +355,7 @@
         </template>
       </el-table-column>
       <el-table-column label="企业id" align="center" prop="corpId" />
-      <el-table-column label="是否绑小程序" width="100px" align="center" fixed="right">
+      <el-table-column label="是否绑定会员" width="100px" align="center" fixed="right">
         <template slot-scope="scope">
           <el-tag v-if="scope.row.fsUserId" >已绑定</el-tag>
           <el-tag v-else type="info"> 未绑定</el-tag>
@@ -381,15 +381,15 @@
       </el-table-column>
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="120px" fixed="right">
         <template slot-scope="scope">
-          <el-button
-            size="mini"
-            type="text"
-            icon="el-icon-edit-outline"
-            @click="handleUpdateCustomer(scope.row)"
-            >
-            <span v-if="scope.row.customerId">换绑CRM</span>
-            <span v-else>绑定CRM</span>
-          </el-button>
+<!--          <el-button-->
+<!--            size="mini"-->
+<!--            type="text"-->
+<!--            icon="el-icon-edit-outline"-->
+<!--            @click="handleUpdateCustomer(scope.row)"-->
+<!--            >-->
+<!--            <span v-if="scope.row.customerId">换绑CRM</span>-->
+<!--            <span v-else>绑定CRM</span>-->
+<!--          </el-button>-->
 
           <el-button
             size="mini"
@@ -397,8 +397,8 @@
             icon="el-icon-edit-outline"
             @click="handleUpdateUser(scope.row)"
             >
-            <span v-if="scope.row.fsUserId">换绑小程序用户</span>
-            <span v-else>绑定小程序用户</span>
+            <span v-if="scope.row.fsUserId">换绑会员</span>
+            <span v-else>绑定会员</span>
           </el-button>
 
           <el-button v-if="scope.row.fsUserId"
@@ -408,15 +408,15 @@
             @click="handleUnBindUserId(scope.row)"
             v-hasPermi="['qw:externalContact:unBindUserId']"
           >
-            <span>解除小程序用户绑定</span>
+            <span>解除会员绑定</span>
           </el-button>
 
-          <el-button v-if="scope.row.customerId"
-            size="mini"
-            type="text"
-            icon="el-icon-paperclip"
-            @click="handleShow(scope.row)"
-          >CRM客户详情</el-button>
+<!--          <el-button v-if="scope.row.customerId"-->
+<!--            size="mini"-->
+<!--            type="text"-->
+<!--            icon="el-icon-paperclip"-->
+<!--            @click="handleShow(scope.row)"-->
+<!--          >CRM客户详情</el-button>-->
 		  <el-button
 		     size="mini"
 		     type="text"
@@ -731,10 +731,10 @@ export default {
       },
 
       myQwCompanyList:[],
-      show:{
-        title:"客户详情",
-        open:false,
-      },
+      // show:{
+      //   title:"客户详情",
+      //   open:false,
+      // },
 
       //存储选择的客户
       chooseCustomerSOP:null,