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

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.
@@ -359,7 +359,7 @@ export var DETAIL_ITEM_LIST = [{
359
359
  return renderTable.apply(void 0, args.concat(['increaseFeeOrders']));
360
360
  }
361
361
  }, {
362
- title: '师傅申请增加费用工单',
362
+ title: '空跑费用工单',
363
363
  dataIndex: 'emptyRunFeeOrders',
364
364
  children: [{
365
365
  title: '工单编号',
@@ -443,7 +443,7 @@ export var DETAIL_ITEM_LIST = [{
443
443
  dataIndex: 'complaint'
444
444
  }, {
445
445
  title: '问题描述',
446
- dataIndex: 'complaintType'
446
+ dataIndex: 'problemDesc'
447
447
  }, {
448
448
  title: '发起图片证据',
449
449
  dataIndex: 'initiateImages',
@@ -73,7 +73,10 @@ var serviceProgressDetailConfig = {
73
73
  render: renderTime
74
74
  }], {
75
75
  title: '师傅打卡方式',
76
- dataIndex: 'clockInType'
76
+ dataIndex: 'clockInType',
77
+ render: function render(value) {
78
+ return value === 0 ? '位置' : value === 1 ? '打卡码' : value;
79
+ }
77
80
  }],
78
81
  6: [[{
79
82
  title: '师傅姓名',
@@ -407,7 +410,6 @@ var ServiceProgress = function ServiceProgress(props) {
407
410
  React.useEffect(function () {
408
411
  if (props.id) {
409
412
  queryInstallationRepairServiceProgress(props.id).then(function (res) {
410
- console.log("\uD83D\uDE80 ~ ServiceProgress.tsx:51 ~ ServiceProgress ~ res:", res);
411
413
  if (res.data) {
412
414
  setServiceProgressList(res.data);
413
415
  } else {
@@ -197,7 +197,7 @@ declare type ServiceProgressDataType = {
197
197
  data: {
198
198
  workerName: string;
199
199
  time: string;
200
- clockInType: string;
200
+ clockInType: 0 | 1;
201
201
  };
202
202
  } | {
203
203
  serviceProgress: 6;
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.70",
3
+ "version": "2.2.31-beta.72",
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": "efdfba0ab5694c47d80b9a71a03fb6bd3b5ddbdb",
78
+ "gitHead": "2863a407e4b51b560fc7505310f16c36db7bc99b",
79
79
  "gitHooks": {
80
80
  "pre-commit": "lint-staged"
81
81
  }