jufubao-base 1.0.243-beta203 → 1.0.243-beta204

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.243-beta203",
3
+ "version": "1.0.243-beta204",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -295,9 +295,10 @@
295
295
  service_order_id: this.service_order_id
296
296
  }
297
297
  }).then(res => {
298
- this.$xdUniHelper.navigateTo({
299
- url: this.serviceListPath
300
- })
298
+ this.p_getAfterServiceOrder();
299
+ // this.$xdUniHelper.navigateTo({
300
+ // url: this.serviceListPath
301
+ // })
301
302
  })
302
303
  }
303
304
  else{
@@ -250,7 +250,7 @@
250
250
  this.page_token = 1;
251
251
  this.getList();
252
252
  })
253
- })
253
+ }, '确定取消当前工单吗?')
254
254
  },
255
255
  handleDel(item){
256
256
  this.handleConfirm(() => {
@@ -263,7 +263,7 @@
263
263
  this.page_token = 1;
264
264
  this.getList();
265
265
  })
266
- })
266
+ }, '确定删除当前工单吗?')
267
267
  },
268
268
  getList() {
269
269
  this.$xdShowLoading({});
@@ -304,12 +304,12 @@
304
304
  url: `${this.afterSalesDetailPath}?service_order_id=${item.service_order_id}`,
305
305
  });
306
306
  },
307
- handleConfirm(cb){
307
+ handleConfirm(cb, content){
308
308
  this.$xdConfirm({
309
309
  styles: this.styles,
310
310
  title: "提示",
311
311
  width: '90%',
312
- content: '确定删除当前工单吗?',
312
+ content: content,
313
313
  confirmText: '确认',
314
314
  isHtml: true,
315
315
  cancelText: '取消',