瀏覽代碼

客户管理添加 关联用户ID

xgb 1 天之前
父節點
當前提交
c08b0e37fc

+ 7 - 0
src/views/crm/components/addOrEditCustomer.vue

@@ -10,6 +10,9 @@
                 <el-form-item label="手机" prop="mobile">
                     <el-input  maxlength="11" v-model="form.mobile" placeholder="请输入手机" />
                 </el-form-item>
+                <el-form-item label="备用手机" prop="backupMobile">
+                    <el-input v-model="form.backupMobile" placeholder="多个用英文;分隔" />
+                </el-form-item>
                 <el-form-item label="性别" prop="sex">
                     <el-radio-group v-model="form.sex">
                         <el-radio :label="item.dictValue" v-for="item in sexOptions" >{{item.dictLabel}}</el-radio>
@@ -18,6 +21,9 @@
                 <el-form-item label="微信号" prop="weixin">
                     <el-input v-model="form.weixin" placeholder="请输入微信号" />
                 </el-form-item>
+                <el-form-item label="关联用户ID" prop="userId">
+                    <el-input v-model="form.userId" placeholder="请输入关联用户ID" />
+                </el-form-item>
                 <el-form-item label="所在地区" prop="address">
                     <el-cascader
                     ref="citySelect"
@@ -251,6 +257,7 @@
                     customerCode: null,
                     customerName: null,
                     mobile: null,
+                    backupMobile: null,
                     sex: null,
                     weixin: null,
                     remark: null,

+ 3 - 0
src/views/crm/components/customerDetails.vue

@@ -25,6 +25,9 @@
                  <el-button type="text" v-if="isReceive" size="mini" @click="handleSms(item.mobile)">短信</el-button>
                  <el-button icon="el-icon-search" size="mini" @click="handleMobile" style="margin-left: 20px;" circle v-hasPermi="['crm:customer:query2']"></el-button>
             </el-descriptions-item>
+            <el-descriptions-item label="备用手机" >
+                <span v-if="item!=null">{{item.backupMobile}}</span>
+            </el-descriptions-item>
             <el-descriptions-item label="性别" >
                 <span v-if="item!=null">
                     <el-tag  v-for="(dict, index) in sexOptions"    v-if="item.sex==dict.dictValue">{{dict.dictLabel}}</el-tag>

+ 3 - 0
src/views/crm/components/lineCustomerDetails.vue

@@ -28,6 +28,9 @@
                  <el-button type="text"  v-if="isReceive" size="mini" @click="callNumber(item.customerId,null,null,null)">拨号</el-button>
                  <el-button type="text" v-if="isReceive" size="mini" @click="handleSms(item.mobile)">短信</el-button>
             </el-descriptions-item>
+            <el-descriptions-item label="备用手机" >
+                <span v-if="item!=null">{{item.backupMobile}}</span>
+            </el-descriptions-item>
             <el-descriptions-item label="性别" >
                 <span v-if="item!=null">
                     <el-tag  v-for="(dict, index) in sexOptions"    v-if="item.sex==dict.dictValue">{{dict.dictLabel}}</el-tag>

+ 2 - 0
src/views/crm/customer/assist.vue

@@ -186,6 +186,7 @@
           <el-button type="text"    size="mini" @click="addPackageOrder(scope.row)" style="margin-right: 15px;">创建订单</el-button>
         </template>
       </el-table-column>
+      <el-table-column  label="备用手机" width="150px"  align="center" prop="backupMobile" :show-overflow-tooltip="true" />
       <el-table-column  label="客户来源" align="center" prop="source">
         <template slot-scope="scope">
             <el-tag prop="status" v-for="(item, index) in sourceOptions"    v-if="scope.row.crmSource && (','+scope.row.crmSource+',').indexOf(','+item.dictValue+',') !== -1">{{item.dictLabel}}</el-tag>
@@ -203,6 +204,7 @@
             <el-button   v-hasPermi="['crm:customer:addCustomerType']"  type="text" size="mini" @click="handleCustomerType(scope.row)">修改</el-button>
           </template>
       </el-table-column>
+      <el-table-column label="关联用户ID" align="center" prop="userId" />
       <el-table-column  label="标签" width="120px"  align="center" prop="tags"   >
         <template slot-scope="scope">
           {{scope.row.tags}}

+ 2 - 0
src/views/crm/customer/full.vue

@@ -162,6 +162,7 @@
               {{scope.row.mobile}}
             </template>
           </el-table-column>
+          <el-table-column  label="备用手机" width="150px"  align="center" prop="backupMobile" :show-overflow-tooltip="true" />
           <el-table-column  label="客户来源" align="center" prop="source">
             <template slot-scope="scope">
                 <el-tag prop="status" v-for="(item, index) in sourceOptions"    v-if="scope.row.crmSource && (','+scope.row.crmSource+',').indexOf(','+item.dictValue+',') !== -1">{{item.dictLabel}}</el-tag>
@@ -178,6 +179,7 @@
             </template>
           </el-table-column>
           <el-table-column label="标签" align="center" prop="tags" />
+          <el-table-column label="关联用户ID" align="center" prop="userId" />
           <el-table-column  label="备注" align="center" prop="remark" width="200px" />
           <el-table-column label="进线客户详情" align="center" :show-overflow-tooltip="true" prop="registerDesc" />
           <el-table-column label="领取时间" align="center" prop="startTime" />

+ 2 - 0
src/views/crm/customer/line.vue

@@ -172,6 +172,7 @@
             {{scope.row.mobile}}
           </template>
         </el-table-column>
+        <el-table-column  label="备用手机" width="150px"  align="center" prop="backupMobile" :show-overflow-tooltip="true" />
         <el-table-column  label="客户来源" align="center" prop="source">
           <template slot-scope="scope">
               <el-tag prop="status" v-for="(item, index) in sourceOptions"    v-if="scope.row.crmSource && (','+scope.row.crmSource+',').indexOf(','+item.dictValue+',') !== -1">{{item.dictLabel}}</el-tag>
@@ -188,6 +189,7 @@
           </template>
         </el-table-column>
         <el-table-column label="标签" align="center" prop="tags" />
+        <el-table-column label="关联用户ID" align="center" prop="userId" />
         <el-table-column label="备注" align="center" prop="remark" width="120"  />
         <el-table-column label="进线客户详情" align="center" :show-overflow-tooltip="true" prop="registerDesc" />
         <el-table-column label="领取时间" align="center" prop="startTime" />

+ 2 - 0
src/views/crm/customer/my.vue

@@ -170,6 +170,7 @@
           <el-button v-hasPermi="['crm:customer:addVisit']"  type="text" size="mini" @click="handleAddVisit(scope.row)">写跟进</el-button>
         </template>
       </el-table-column>
+      <el-table-column  label="备用手机" width="150px"  align="center" prop="backupMobile" :show-overflow-tooltip="true" />
       <el-table-column  label="客户来源" align="center" prop="source">
         <template slot-scope="scope">
             <el-tag prop="status" v-for="(item, index) in sourceOptions"    v-if="scope.row.crmSource && (','+scope.row.crmSource+',').indexOf(','+item.dictValue+',') !== -1">{{item.dictLabel}}</el-tag>
@@ -187,6 +188,7 @@
             <el-button   v-hasPermi="['crm:customer:addCustomerType']"  type="text" size="mini" @click="handleCustomerType(scope.row)">修改</el-button>
           </template>
       </el-table-column>
+      <el-table-column label="关联用户ID" align="center" prop="userId" />
       <el-table-column  label="标签" width="120px"  align="center" prop="tags"   >
         <template slot-scope="scope">
           {{scope.row.tags}}