Переглянути джерело

优化销售端增加跟进会员功能

cgp 1 тиждень тому
батько
коміт
1633adae7a

+ 2 - 1
src/views/qw/companyUserFollowUpMembers/index.vue

@@ -140,7 +140,7 @@
               </span>
             </template>
           </el-table-column>
-          <el-table-column label="处理时间" align="center" prop="createTime" width="180" />
+          <el-table-column label="处理时间" align="center" prop="updateTime" width="180" />
         </el-table>
 
         <!-- 分页组件 -->
@@ -307,6 +307,7 @@ export default {
         userName: row.userName,
         phone: row.phone,
         fsUserId: row.fsUserId,
+        doctorId: row.doctorId,
         doctorName: row.doctorName,
         baseInfo: row.baseInfo,
       }

+ 8 - 17
src/views/qw/companyUserFollowUpMembers/unprocessed.vue

@@ -253,6 +253,7 @@ export default {
       baseInfo: null,
       phone: null,
       fsUserId: null, // 保存用户ID
+      doctorId: null, // 保存医生ID
       formData: {
         id: null,
         answers: [],
@@ -366,6 +367,7 @@ export default {
     this.userName = this.$route.query.userName;
     this.phone = this.$route.query.phone;
     this.fsUserId = this.$route.query.fsUserId;
+    this.doctorId = this.$route.query.doctorId;
     this.doctorName = this.$route.query.doctorName;
     this.baseInfo = this.$route.query.baseInfo;
     this.fetchCollectionInfo();
@@ -437,21 +439,6 @@ export default {
       this.single = selection.length !== 1
       this.multiple = !selection.length
     },
-    /** 删除按钮操作 */
-    handleDelete(row) {
-      const ids = row.id || this.ids;
-      this.$confirm('是否确认删除医生会员搭销编号为"' + ids + '"的数据项?', "警告", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
-        type: "warning"
-      }).then(function () {
-        // return delMemberSales(ids);
-      }).then(() => {
-        this.getList();
-        this.msgSuccess("删除成功");
-      }).catch(() => {
-      });
-    },
     /** 导出按钮操作 */
     handleExport() {
       const queryParams = this.queryParams;
@@ -477,7 +464,9 @@ export default {
         remark: '',
         selectedOrderNo: '',
         doctorMemberSalesId: row.doctorMemberSalesId,
-        companyUserId: row.companyUserId
+        companyUserId: row.companyUserId,
+        exId: row.qwExternalContactId,
+        doctorId: this.doctorId
       };
 
       this.orderSearchKeyword = '';
@@ -563,7 +552,9 @@ export default {
           handleType: Number(this.form.handleType),
           remark: this.form.remark,
           doctorMemberSalesId: this.form.doctorMemberSalesId,
-          companyUserId: this.form.companyUserId
+          companyUserId: this.form.companyUserId,
+          exId: this.form.exId,
+          doctorId: this.form.doctorId
         };
 
         if (submitData.handleType === 1) {