Browse Source

益寿缘销售端任务栏用户信息采集进度新增订单号展示

cgp 4 days ago
parent
commit
958697c79c
2 changed files with 10 additions and 3 deletions
  1. 8 1
      src/api/qw/collectionSchedule.js
  2. 2 2
      src/views/qw/collectionSchedule/index.vue

+ 8 - 1
src/api/qw/collectionSchedule.js

@@ -34,13 +34,20 @@ export function updateCollectionSchedule(data) {
     data: data
   })
 }
-// 终止用户信息采集进度
+// 终止用户信息采集进度(暂时弃用)
 export function endProcess(data) {
   return request({
     url: '/qw/collectionSchedule/endProcess',
     method: 'put',
     data: data
   })
+}  // 终止用户信息采集进度
+export function stop(data) {
+  return request({
+    url: '/hisStore/collection/stop',
+    method: 'put',
+    data: data
+  })
 }
 
 // 删除用户信息采集进度

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

@@ -136,7 +136,7 @@
 </template>
 
 <script>
-import { listCollectionSchedule, getCollectionSchedule, delCollectionSchedule, addCollectionSchedule, updateCollectionSchedule, exportCollectionSchedule,getCollectionScheduleSteps,endProcess } from "@/api/qw/collectionSchedule";
+import { listCollectionSchedule, addCollectionSchedule, updateCollectionSchedule, exportCollectionSchedule,getCollectionScheduleSteps,stop } from "@/api/qw/collectionSchedule";
 
 export default {
   name: "CollectionSchedule",
@@ -278,7 +278,7 @@ export default {
             cancelButtonText: '取消',
             type: 'warning'
           }).then(() => {
-            endProcess({ id, collectionId, remark }).then(response => {
+            stop({ id, collectionId, remark }).then(response => {
               this.msgSuccess("终止成功");
               this.endProcessVisible = false;
               this.getList();