@kmkf-fe-packages/kmkf-work-order-service-component 2.2.31-beta.77 → 2.2.31-beta.79

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.
@@ -490,7 +490,10 @@ export var DETAIL_ITEM_LIST = [{
490
490
  dataIndex: 'complaintWorkOrderStatus'
491
491
  }, {
492
492
  title: '判定结果',
493
- dataIndex: 'judgmentResult'
493
+ dataIndex: 'judgeResult',
494
+ render: function render(value) {
495
+ return value === 1 ? '同意' : value === 2 ? '不同意' : value;
496
+ }
494
497
  }, {
495
498
  title: '师傅说明',
496
499
  dataIndex: 'workerExplanation'
@@ -567,6 +570,8 @@ var OrderInfo = function OrderInfo(props) {
567
570
  if (res.data.main.orderStatus) {
568
571
  //显示服务进度tab
569
572
  props.setIsShowServiceProgress(true);
573
+ } else {
574
+ props.setIsShowServiceProgress(false);
570
575
  }
571
576
  } else {
572
577
  message.error('安装/维修单详情为空');
@@ -15,7 +15,7 @@ function LBOrderDetail(props) {
15
15
  _useState2 = _slicedToArray(_useState, 2),
16
16
  activeKey = _useState2[0],
17
17
  setActiveKey = _useState2[1];
18
- var _useState3 = useState(false),
18
+ var _useState3 = useState(true),
19
19
  _useState4 = _slicedToArray(_useState3, 2),
20
20
  isShowServiceProgress = _useState4[0],
21
21
  setIsShowServiceProgress = _useState4[1];
@@ -119,7 +119,7 @@ export declare type DetailType = {
119
119
  initiateImages: string;
120
120
  complaintWorkOrderStatus: string;
121
121
  complaintOrderStatus: string;
122
- judgmentResult: string;
122
+ judgeResult: 1 | 2;
123
123
  workerExplanation: string;
124
124
  customerServiceRemark: string;
125
125
  isCompensation: 0 | 1;
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.77",
3
+ "version": "2.2.31-beta.79",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -75,7 +75,7 @@
75
75
  "publishConfig": {
76
76
  "access": "public"
77
77
  },
78
- "gitHead": "d7c5aae8383190143985343943f30c6e2c015f06",
78
+ "gitHead": "4ce84467ee92204fd4bc3cad01cca9750a27500a",
79
79
  "gitHooks": {
80
80
  "pre-commit": "lint-staged"
81
81
  }