@kmkf-fe-packages/kmkf-work-order-service-component 2.2.31-beta.72 → 2.2.31-beta.74

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.
@@ -58,7 +58,7 @@ export var AutoTaskDetail = function AutoTaskDetail(_ref) {
58
58
  var repairOrderStatus = repairData.repairOrderStatus,
59
59
  id = repairData.id;
60
60
  var isSuccess = repairOrderStatus === '成功';
61
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(LB.LBOrder, {
61
+ return /*#__PURE__*/React.createElement("div", null, id && /*#__PURE__*/React.createElement(LB.LBOrder, {
62
62
  id: id,
63
63
  activeKey: "orderInfo",
64
64
  shopList: shopList,
@@ -340,7 +340,10 @@ export var DETAIL_ITEM_LIST = [{
340
340
  dataIndex: 'applyStatus'
341
341
  }, {
342
342
  title: '处理结果',
343
- dataIndex: 'processResult'
343
+ dataIndex: 'processResult',
344
+ render: function render(value) {
345
+ return value === '1' ? '同意' : value === '2' ? '不同意' : value;
346
+ }
344
347
  }, {
345
348
  title: '费用承担方',
346
349
  dataIndex: 'payer'
@@ -379,7 +382,10 @@ export var DETAIL_ITEM_LIST = [{
379
382
  dataIndex: 'applyStatus'
380
383
  }, {
381
384
  title: '处理结果',
382
- dataIndex: 'processResult'
385
+ dataIndex: 'processResult',
386
+ render: function render(value) {
387
+ return value === '1' ? '同意' : value === '2' ? '不同意' : value;
388
+ }
383
389
  }, {
384
390
  title: '承担金额',
385
391
  dataIndex: 'bearAmount'
@@ -410,7 +416,10 @@ export var DETAIL_ITEM_LIST = [{
410
416
  render: renderTime
411
417
  }, {
412
418
  title: '审核结果',
413
- dataIndex: 'auditResult'
419
+ dataIndex: 'auditResult',
420
+ render: function render(value) {
421
+ return ['', '通过', '未通过'][value] || value;
422
+ }
414
423
  }, {
415
424
  title: '异常金额',
416
425
  dataIndex: 'abnormalAmount'
@@ -478,10 +487,16 @@ export var DETAIL_ITEM_LIST = [{
478
487
  dataIndex: 'indemnityType'
479
488
  }, {
480
489
  title: '打款方式',
481
- dataIndex: 'payType'
490
+ dataIndex: 'payWay',
491
+ render: function render(value) {
492
+ return value === 0 ? '赔付到用户钱包' : value === 1 ? '财务线下打款给用户' : value;
493
+ }
482
494
  }, {
483
495
  title: '账户类型',
484
- dataIndex: 'accountType'
496
+ dataIndex: 'accountType',
497
+ render: function render(value) {
498
+ return ['钱包', '支付宝', '微信', '银行卡'][value] || value;
499
+ }
485
500
  }, {
486
501
  title: '账户名',
487
502
  dataIndex: 'accountName'
@@ -104,7 +104,7 @@ export declare type DetailType = {
104
104
  id: number;
105
105
  serviceId: string;
106
106
  auditTime: string;
107
- auditResult: string;
107
+ auditResult: 1 | 2;
108
108
  abnormalAmount: string;
109
109
  operateTime: string;
110
110
  }[];
@@ -125,9 +125,9 @@ export declare type DetailType = {
125
125
  isCompensation: 0 | 1;
126
126
  indemnityAmount: string;
127
127
  indemnityType: string;
128
- payType: string;
128
+ payType: 0 | 1;
129
129
  processRemark: string;
130
- accountType: string;
130
+ accountType: 0 | 1 | 2 | 3;
131
131
  accountName: string;
132
132
  accountNo: string;
133
133
  verifyImageProof: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-work-order-service-component",
3
- "version": "2.2.31-beta.72",
3
+ "version": "2.2.31-beta.74",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -34,7 +34,7 @@
34
34
  "@ant-design/icons": "^4.7.0",
35
35
  "@kmkf-fe-packages/basic-components": "2.2.31-beta.70",
36
36
  "@kmkf-fe-packages/kmkf-utils": "2.2.31-beta.70",
37
- "@kmkf-fe-packages/services-components": "2.2.31-beta.70",
37
+ "@kmkf-fe-packages/services-components": "2.2.31-beta.74",
38
38
  "@reduxjs/toolkit": "^1.8.5",
39
39
  "ahooks": "^3.7.4",
40
40
  "copy-to-clipboard": "^3.3.3",
@@ -75,7 +75,7 @@
75
75
  "publishConfig": {
76
76
  "access": "public"
77
77
  },
78
- "gitHead": "2863a407e4b51b560fc7505310f16c36db7bc99b",
78
+ "gitHead": "d2c34713c1dd60cb460e4f479955bf03cd7e2613",
79
79
  "gitHooks": {
80
80
  "pre-commit": "lint-staged"
81
81
  }