@kmkf-fe-packages/services-components 0.26.1-beta.8 → 0.26.1
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/dist/esm/commonComponents/GlobalContext/index.d.ts +7 -0
- package/dist/esm/commonComponents/GlobalContext/index.js +104 -0
- package/dist/esm/components/BuyerNick/index.d.ts +3 -3
- package/dist/esm/components/BuyerNick/index.js +19 -9
- package/dist/esm/components/Common/index.d.ts +0 -1
- package/dist/esm/components/Common/index.js +3 -74
- package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +2 -2
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +1 -1
- package/dist/esm/components/LogisticsMoreTrajectory/index.js +2 -2
- package/dist/esm/components/MultSelect/index.d.ts +4 -4
- package/dist/esm/components/MultSelect/index.js +13 -13
- package/dist/esm/components/Payment/PaymentStatus.d.ts +4 -4
- package/dist/esm/components/Payment/PaymentStatus.js +30 -30
- package/dist/esm/constant.js +13 -12
- package/dist/esm/factory.d.ts +2 -2
- package/dist/esm/factory.js +8 -15
- package/dist/esm/index.d.ts +2 -4
- package/dist/esm/index.js +2 -4
- package/dist/esm/service/api.d.ts +7 -1
- package/dist/esm/service/api.js +238 -5
- package/dist/esm/service/request.js +9 -1
- package/package.json +4 -4
- package/dist/esm/components/CommonInput/index.d.ts +0 -44
- package/dist/esm/components/CommonInput/index.js +0 -146
- package/dist/esm/components/LogisticsMoreInterception/InterceptAddress.d.ts +0 -31
- package/dist/esm/components/LogisticsMoreInterception/InterceptAddress.js +0 -88
- package/dist/esm/components/LogisticsMoreInterception/InterceptStatus.d.ts +0 -46
- package/dist/esm/components/LogisticsMoreInterception/InterceptStatus.js +0 -111
- package/dist/esm/components/LogisticsMoreInterception/InterceptType.d.ts +0 -44
- package/dist/esm/components/LogisticsMoreInterception/InterceptType.js +0 -96
- package/dist/esm/components/LogisticsMoreInterception/columnHeader.d.ts +0 -5
- package/dist/esm/components/LogisticsMoreInterception/columnHeader.js +0 -55
- package/dist/esm/components/LogisticsMoreInterception/index.d.ts +0 -69
- package/dist/esm/components/LogisticsMoreInterception/index.js +0 -184
- package/dist/esm/components/LogisticsMoreInterception/interceptCompany.d.ts +0 -39
- package/dist/esm/components/LogisticsMoreInterception/interceptCompany.js +0 -88
- package/dist/esm/components/LogisticsMoreInterception/interceptItem.d.ts +0 -34
- package/dist/esm/components/LogisticsMoreInterception/interceptItem.js +0 -81
- package/dist/esm/components/LogisticsMoreInterception/interceptSenderMobile.d.ts +0 -35
- package/dist/esm/components/LogisticsMoreInterception/interceptSenderMobile.js +0 -82
- package/dist/esm/components/LogisticsMoreInterception/interceptSnapshot.d.ts +0 -34
- package/dist/esm/components/LogisticsMoreInterception/interceptSnapshot.js +0 -81
- package/dist/esm/components/PaymentVoucherCode/index.d.ts +0 -33
- package/dist/esm/components/PaymentVoucherCode/index.js +0 -104
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
4
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
5
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
6
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
9
|
-
import React from "react";
|
|
10
|
-
import { Input } from "antd";
|
|
11
|
-
import GetFormItem from "../GetFormItem";
|
|
12
|
-
import ItemView from "../../commonComponents/ItemView";
|
|
13
|
-
import { isNull } from "@kmkf-fe-packages/kmkf-utils";
|
|
14
|
-
import { SYMBOL } from "../../constant";
|
|
15
|
-
var INPUT_MAP = {
|
|
16
|
-
NEW_PAYMENT_STATUS: {
|
|
17
|
-
key: "newPaymentStatus",
|
|
18
|
-
options: [{
|
|
19
|
-
label: "未打款",
|
|
20
|
-
value: "未打款"
|
|
21
|
-
}, {
|
|
22
|
-
label: "审核通过",
|
|
23
|
-
value: "审核通过"
|
|
24
|
-
}, {
|
|
25
|
-
label: "标记已打款",
|
|
26
|
-
value: "标记已打款"
|
|
27
|
-
}, {
|
|
28
|
-
label: "支付宝待付款",
|
|
29
|
-
value: "支付宝待付款"
|
|
30
|
-
}, {
|
|
31
|
-
label: "支付宝打款成功",
|
|
32
|
-
value: "支付宝打款成功"
|
|
33
|
-
}, {
|
|
34
|
-
label: "支付宝打款失败",
|
|
35
|
-
value: "支付宝打款失败"
|
|
36
|
-
}, {
|
|
37
|
-
label: "支付宝打款关闭",
|
|
38
|
-
value: "支付宝打款关闭"
|
|
39
|
-
}],
|
|
40
|
-
disabled: true,
|
|
41
|
-
placeholder: "自动获取无需填写",
|
|
42
|
-
filterType: "Select"
|
|
43
|
-
},
|
|
44
|
-
BUSINESS_ORDER_NO: {
|
|
45
|
-
key: "businessOrderNo",
|
|
46
|
-
disabled: true,
|
|
47
|
-
placeholder: "自动获取无需填写",
|
|
48
|
-
filterType: "Input"
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
var CommonInput = /*#__PURE__*/_createClass(function CommonInput(options) {
|
|
52
|
-
var _this = this;
|
|
53
|
-
_classCallCheck(this, CommonInput);
|
|
54
|
-
_defineProperty(this, "name", void 0);
|
|
55
|
-
_defineProperty(this, "id", void 0);
|
|
56
|
-
_defineProperty(this, "sortField", void 0);
|
|
57
|
-
_defineProperty(this, "type", void 0);
|
|
58
|
-
_defineProperty(this, "rules", void 0);
|
|
59
|
-
_defineProperty(this, "showContains", void 0);
|
|
60
|
-
_defineProperty(this, "onlyContainsString", void 0);
|
|
61
|
-
_defineProperty(this, "componentConfig", void 0);
|
|
62
|
-
_defineProperty(this, "effects", void 0);
|
|
63
|
-
_defineProperty(this, "isCombinationComponent", void 0);
|
|
64
|
-
_defineProperty(this, "formField", void 0);
|
|
65
|
-
_defineProperty(this, "canSort", void 0);
|
|
66
|
-
_defineProperty(this, "children", void 0);
|
|
67
|
-
_defineProperty(this, "dataType", void 0);
|
|
68
|
-
_defineProperty(this, "options", void 0);
|
|
69
|
-
_defineProperty(this, "renderClient", function (record) {
|
|
70
|
-
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
71
|
-
id: _this.id,
|
|
72
|
-
label: _this.name,
|
|
73
|
-
value: record === null || record === void 0 ? void 0 : record[_this.id]
|
|
74
|
-
}) : null;
|
|
75
|
-
});
|
|
76
|
-
_defineProperty(this, "renderPc", function (value, record) {
|
|
77
|
-
if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat(INPUT_MAP[_this.type].key)]) === undefined) {
|
|
78
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, "--");
|
|
79
|
-
}
|
|
80
|
-
return record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat(INPUT_MAP[_this.type].key)];
|
|
81
|
-
});
|
|
82
|
-
_defineProperty(this, "renderLog", function (r) {
|
|
83
|
-
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_").concat(INPUT_MAP[_this.type].key)])) return null;
|
|
84
|
-
return _this.renderPc(undefined, r);
|
|
85
|
-
});
|
|
86
|
-
_defineProperty(this, "getComponentValue", function (r) {
|
|
87
|
-
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_").concat(INPUT_MAP[_this.type].key)];
|
|
88
|
-
});
|
|
89
|
-
_defineProperty(this, "renderExport", function (value, record) {
|
|
90
|
-
var _record;
|
|
91
|
-
return (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat(INPUT_MAP[_this.type].key)]) !== null && _record !== void 0 ? _record : "--";
|
|
92
|
-
});
|
|
93
|
-
_defineProperty(this, "editRender", function (p) {
|
|
94
|
-
var _this$componentConfig, _this$componentConfig2;
|
|
95
|
-
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
96
|
-
title: _this.name,
|
|
97
|
-
name: _this.id,
|
|
98
|
-
rules: _this.rules,
|
|
99
|
-
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
100
|
-
display: p === null || p === void 0 ? void 0 : p.display,
|
|
101
|
-
required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
|
|
102
|
-
component: /*#__PURE__*/React.createElement(Input, _extends({}, _this.componentConfig, {
|
|
103
|
-
placeholder: INPUT_MAP[_this.type].placeholder || "\u8BF7\u8F93\u5165".concat(_this.name),
|
|
104
|
-
disabled: INPUT_MAP[_this.type].disabled
|
|
105
|
-
}))
|
|
106
|
-
});
|
|
107
|
-
});
|
|
108
|
-
_defineProperty(this, "filterConfig", function (item) {
|
|
109
|
-
return INPUT_MAP[_this.type].filterType === "Input" ? {
|
|
110
|
-
searchDefaultConditions: SYMBOL.like,
|
|
111
|
-
type: item.type,
|
|
112
|
-
id: "".concat(item.id, "_").concat(INPUT_MAP[_this.type].key),
|
|
113
|
-
// 过滤组件id
|
|
114
|
-
name: item.name,
|
|
115
|
-
// 过滤组件名称
|
|
116
|
-
filterComponentType: "Input"
|
|
117
|
-
} : {
|
|
118
|
-
searchDefaultConditions: SYMBOL.in,
|
|
119
|
-
type: item.type,
|
|
120
|
-
id: "".concat(item.id, "_").concat(INPUT_MAP[_this.type].key),
|
|
121
|
-
// 过滤组件id
|
|
122
|
-
name: item.name,
|
|
123
|
-
// 过滤组件名称
|
|
124
|
-
filterComponentType: "MultipleSelect",
|
|
125
|
-
props: {
|
|
126
|
-
options: INPUT_MAP[_this.type].options || []
|
|
127
|
-
}
|
|
128
|
-
};
|
|
129
|
-
});
|
|
130
|
-
this.name = options.name;
|
|
131
|
-
this.id = options.id;
|
|
132
|
-
this.sortField = "".concat(options.id, "_").concat(INPUT_MAP[options.type].key);
|
|
133
|
-
this.formField = "".concat(options.id, "_").concat(INPUT_MAP[options.type].key);
|
|
134
|
-
this.type = options.type;
|
|
135
|
-
this.showContains = false;
|
|
136
|
-
this.onlyContainsString = true;
|
|
137
|
-
this.componentConfig = options.componentConfig;
|
|
138
|
-
this.effects = options.effects;
|
|
139
|
-
this.rules = [];
|
|
140
|
-
this.isCombinationComponent = false;
|
|
141
|
-
this.canSort = !!INPUT_MAP[options.type].canSort;
|
|
142
|
-
this.children = [];
|
|
143
|
-
this.dataType = "string";
|
|
144
|
-
this.options = INPUT_MAP[options.type].options || [];
|
|
145
|
-
});
|
|
146
|
-
export default CommonInput;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ComponentInterface, PickOption, ALignType, Record } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { AddressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
|
-
declare class PaymentTid implements ComponentInterface {
|
|
5
|
-
name: string;
|
|
6
|
-
id: string;
|
|
7
|
-
sortField: string;
|
|
8
|
-
type: string;
|
|
9
|
-
rules: any[];
|
|
10
|
-
componentConfig: ComponentInterface['componentConfig'];
|
|
11
|
-
effects: ComponentInterface['effects'];
|
|
12
|
-
align: ALignType;
|
|
13
|
-
width: number;
|
|
14
|
-
isCombinationComponent: boolean;
|
|
15
|
-
formField: string;
|
|
16
|
-
canSort: boolean;
|
|
17
|
-
children: ComponentInterface[];
|
|
18
|
-
originId: string;
|
|
19
|
-
addressDateInstance: InstanceType<typeof AddressData>;
|
|
20
|
-
dataType: ComponentInterface['dataType'];
|
|
21
|
-
constructor(options: PickOption);
|
|
22
|
-
renderAddress: (record: any) => React.JSX.Element;
|
|
23
|
-
renderClient: () => null;
|
|
24
|
-
renderPc: (value: any, record: Record) => React.JSX.Element | null;
|
|
25
|
-
renderLog: (r: Record) => null;
|
|
26
|
-
getComponentValue: (r: Record) => null;
|
|
27
|
-
renderExport: (value: any, record: Record) => any;
|
|
28
|
-
editRender: () => null;
|
|
29
|
-
filterConfig: () => never[];
|
|
30
|
-
}
|
|
31
|
-
export default PaymentTid;
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
3
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
4
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
5
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8
|
-
import React from 'react';
|
|
9
|
-
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
10
|
-
import { AddressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
11
|
-
var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
12
|
-
var _this = this;
|
|
13
|
-
_classCallCheck(this, PaymentTid);
|
|
14
|
-
_defineProperty(this, "name", void 0);
|
|
15
|
-
_defineProperty(this, "id", void 0);
|
|
16
|
-
_defineProperty(this, "sortField", void 0);
|
|
17
|
-
_defineProperty(this, "type", void 0);
|
|
18
|
-
_defineProperty(this, "rules", void 0);
|
|
19
|
-
_defineProperty(this, "componentConfig", void 0);
|
|
20
|
-
_defineProperty(this, "effects", void 0);
|
|
21
|
-
_defineProperty(this, "align", void 0);
|
|
22
|
-
_defineProperty(this, "width", void 0);
|
|
23
|
-
_defineProperty(this, "isCombinationComponent", void 0);
|
|
24
|
-
_defineProperty(this, "formField", void 0);
|
|
25
|
-
_defineProperty(this, "canSort", void 0);
|
|
26
|
-
_defineProperty(this, "children", void 0);
|
|
27
|
-
_defineProperty(this, "originId", void 0);
|
|
28
|
-
_defineProperty(this, "addressDateInstance", void 0);
|
|
29
|
-
_defineProperty(this, "dataType", void 0);
|
|
30
|
-
_defineProperty(this, "renderAddress", function (record) {
|
|
31
|
-
var logisticsInterceptList = record["".concat(_this.originId, "_logisticsInterceptList")] || [];
|
|
32
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, logisticsInterceptList.map(function (item, index) {
|
|
33
|
-
var _item$interceptAddres;
|
|
34
|
-
var addressText = (_item$interceptAddres = item.interceptAddress) === null || _item$interceptAddres === void 0 ? void 0 : _item$interceptAddres.map(function (suffix) {
|
|
35
|
-
return _this.addressDateInstance.getNameByCode(suffix);
|
|
36
|
-
}).join('');
|
|
37
|
-
return addressText || item.interceptDetail || item.interceptReceiverName || item.interceptReceiverMobile ? /*#__PURE__*/React.createElement("div", null, "\u5305\u88F9".concat(index + 1, ":"), addressText, item.interceptDetail, item.interceptReceiverName, item.interceptReceiverMobile) : '--';
|
|
38
|
-
}));
|
|
39
|
-
});
|
|
40
|
-
_defineProperty(this, "renderClient", function () {
|
|
41
|
-
return null;
|
|
42
|
-
});
|
|
43
|
-
_defineProperty(this, "renderPc", function (value, record) {
|
|
44
|
-
var logisticsInterceptList = record["".concat(_this.originId, "_logisticsInterceptList")];
|
|
45
|
-
return !isNull(logisticsInterceptList) ? _this.renderAddress(record) : null;
|
|
46
|
-
});
|
|
47
|
-
_defineProperty(this, "renderLog", function (r) {
|
|
48
|
-
return null;
|
|
49
|
-
});
|
|
50
|
-
_defineProperty(this, "getComponentValue", function (r) {
|
|
51
|
-
return null;
|
|
52
|
-
});
|
|
53
|
-
_defineProperty(this, "renderExport", function (value, record) {
|
|
54
|
-
var logisticsInterceptList = record["".concat(_this.originId, "_logisticsInterceptList")] || [];
|
|
55
|
-
console.log('renderExport', record["".concat(_this.originId, "_logisticsInterceptList")]);
|
|
56
|
-
return logisticsInterceptList.reduce(function (prv, item) {
|
|
57
|
-
var _item$interceptAddres2;
|
|
58
|
-
var addressText = (_item$interceptAddres2 = item.interceptAddress) === null || _item$interceptAddres2 === void 0 ? void 0 : _item$interceptAddres2.map(function (suffix) {
|
|
59
|
-
return _this.addressDateInstance.getNameByCode(suffix);
|
|
60
|
-
}).join('');
|
|
61
|
-
prv.push("".concat(addressText).concat(item.interceptDetail || '', "\n ").concat((item === null || item === void 0 ? void 0 : item.interceptReceiverName) || '', "\n ").concat((item === null || item === void 0 ? void 0 : item.interceptReceiverMobile) || ''));
|
|
62
|
-
return prv;
|
|
63
|
-
}, []).join(',');
|
|
64
|
-
});
|
|
65
|
-
_defineProperty(this, "editRender", function () {
|
|
66
|
-
return null;
|
|
67
|
-
});
|
|
68
|
-
_defineProperty(this, "filterConfig", function () {
|
|
69
|
-
return [];
|
|
70
|
-
});
|
|
71
|
-
this.name = '派送地址';
|
|
72
|
-
this.id = "".concat(options.id);
|
|
73
|
-
this.sortField = "".concat(options.id);
|
|
74
|
-
this.formField = "".concat(options.id);
|
|
75
|
-
this.type = options.type;
|
|
76
|
-
this.componentConfig = options.componentConfig;
|
|
77
|
-
this.rules = [];
|
|
78
|
-
this.align = 'left';
|
|
79
|
-
this.width = 350;
|
|
80
|
-
this.originId = options.id;
|
|
81
|
-
this.isCombinationComponent = false;
|
|
82
|
-
this.canSort = false;
|
|
83
|
-
this.dataType = 'object';
|
|
84
|
-
this.children = [];
|
|
85
|
-
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
86
|
-
this.addressDateInstance = AddressData.getInstance();
|
|
87
|
-
});
|
|
88
|
-
export default PaymentTid;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { ExpressInterceptData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
|
-
declare class InterceptStatus implements ComponentInterface {
|
|
5
|
-
name: string;
|
|
6
|
-
parentId: string;
|
|
7
|
-
id: string;
|
|
8
|
-
sortField: string;
|
|
9
|
-
companyId: string;
|
|
10
|
-
type: string;
|
|
11
|
-
rules: any[];
|
|
12
|
-
componentConfig: ComponentInterface['componentConfig'];
|
|
13
|
-
effects: ComponentInterface['effects'];
|
|
14
|
-
align: ALignType;
|
|
15
|
-
width: number;
|
|
16
|
-
isCombinationComponent: boolean;
|
|
17
|
-
formField: string;
|
|
18
|
-
canSort: boolean;
|
|
19
|
-
children: ComponentInterface[];
|
|
20
|
-
expressInterceptInstance: InstanceType<typeof ExpressInterceptData>;
|
|
21
|
-
dataType: ComponentInterface['dataType'];
|
|
22
|
-
options: ComponentInterface['options'];
|
|
23
|
-
constructor(options: PickOption);
|
|
24
|
-
getComponentValue: (r: Record) => any;
|
|
25
|
-
renderStatus: (record: any, w?: number) => React.JSX.Element | "--";
|
|
26
|
-
renderClient: () => null;
|
|
27
|
-
renderPc: (value: any, record: Record) => React.JSX.Element | "--";
|
|
28
|
-
renderLog: () => null;
|
|
29
|
-
renderExport: (value: any, record: Record) => any;
|
|
30
|
-
editRender: () => null;
|
|
31
|
-
filterConfig: (item: ColumnConfig) => {
|
|
32
|
-
searchDefaultConditions: "in";
|
|
33
|
-
type: string;
|
|
34
|
-
id: string;
|
|
35
|
-
name: string;
|
|
36
|
-
filterComponentType: "MultipleSelect";
|
|
37
|
-
props: {
|
|
38
|
-
options: {
|
|
39
|
-
label: string;
|
|
40
|
-
value: string;
|
|
41
|
-
}[];
|
|
42
|
-
};
|
|
43
|
-
formatFilterValue: (value: string[]) => string[];
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
export default InterceptStatus;
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
3
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
4
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
5
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8
|
-
import React from 'react';
|
|
9
|
-
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
10
|
-
import { ExpressInterceptData } from '@kmkf-fe-packages/kmkf-utils';
|
|
11
|
-
import QueryLogisticsTrack from "../../commonComponents/QueryLogisticsTrack";
|
|
12
|
-
import { SYMBOL } from "../../constant";
|
|
13
|
-
var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options) {
|
|
14
|
-
var _this = this;
|
|
15
|
-
_classCallCheck(this, InterceptStatus);
|
|
16
|
-
_defineProperty(this, "name", void 0);
|
|
17
|
-
_defineProperty(this, "parentId", void 0);
|
|
18
|
-
_defineProperty(this, "id", void 0);
|
|
19
|
-
_defineProperty(this, "sortField", void 0);
|
|
20
|
-
_defineProperty(this, "companyId", void 0);
|
|
21
|
-
_defineProperty(this, "type", void 0);
|
|
22
|
-
_defineProperty(this, "rules", void 0);
|
|
23
|
-
_defineProperty(this, "componentConfig", void 0);
|
|
24
|
-
_defineProperty(this, "effects", void 0);
|
|
25
|
-
_defineProperty(this, "align", void 0);
|
|
26
|
-
_defineProperty(this, "width", void 0);
|
|
27
|
-
_defineProperty(this, "isCombinationComponent", void 0);
|
|
28
|
-
_defineProperty(this, "formField", void 0);
|
|
29
|
-
_defineProperty(this, "canSort", void 0);
|
|
30
|
-
_defineProperty(this, "children", void 0);
|
|
31
|
-
_defineProperty(this, "expressInterceptInstance", void 0);
|
|
32
|
-
_defineProperty(this, "dataType", void 0);
|
|
33
|
-
_defineProperty(this, "options", void 0);
|
|
34
|
-
_defineProperty(this, "getComponentValue", function (r) {
|
|
35
|
-
return ((r === null || r === void 0 ? void 0 : r[_this.id]) || []).map(function (item) {
|
|
36
|
-
return _this.expressInterceptInstance.getStatusNameMap()[item];
|
|
37
|
-
}).join(',');
|
|
38
|
-
});
|
|
39
|
-
_defineProperty(this, "renderStatus", function (record) {
|
|
40
|
-
var w = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
|
|
41
|
-
var statusList = record["".concat(_this.parentId, "_logisticsInterceptList")] || [];
|
|
42
|
-
if (isNull(statusList)) return '--';
|
|
43
|
-
return /*#__PURE__*/React.createElement("div", null, statusList.map(function (item, index) {
|
|
44
|
-
var _this$expressIntercep;
|
|
45
|
-
var value = (_this$expressIntercep = _this.expressInterceptInstance.getStatusNameMap()) === null || _this$expressIntercep === void 0 ? void 0 : _this$expressIntercep[item.interceptLogisticsStatus];
|
|
46
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
47
|
-
onClick: function onClick(e) {
|
|
48
|
-
return e.stopPropagation();
|
|
49
|
-
}
|
|
50
|
-
}, "\u5305\u88F9".concat(index + 1, ":"), value ? /*#__PURE__*/React.createElement(React.Fragment, null, value, /*#__PURE__*/React.createElement(QueryLogisticsTrack, {
|
|
51
|
-
modelWidth: w,
|
|
52
|
-
interceptCompany: item.interceptCompany,
|
|
53
|
-
interceptCode: item.interceptCode,
|
|
54
|
-
interceptSenderMobile: item.interceptSenderMobile
|
|
55
|
-
})) : '--');
|
|
56
|
-
}));
|
|
57
|
-
});
|
|
58
|
-
_defineProperty(this, "renderClient", function () {
|
|
59
|
-
return null;
|
|
60
|
-
});
|
|
61
|
-
_defineProperty(this, "renderPc", function (value, record) {
|
|
62
|
-
return _this.renderStatus(record, 700);
|
|
63
|
-
});
|
|
64
|
-
_defineProperty(this, "renderLog", function () {
|
|
65
|
-
return null;
|
|
66
|
-
});
|
|
67
|
-
_defineProperty(this, "renderExport", function (value, record) {
|
|
68
|
-
var _this$getComponentVal;
|
|
69
|
-
return (_this$getComponentVal = _this.getComponentValue(record)) !== null && _this$getComponentVal !== void 0 ? _this$getComponentVal : '--';
|
|
70
|
-
});
|
|
71
|
-
_defineProperty(this, "editRender", function () {
|
|
72
|
-
return null;
|
|
73
|
-
});
|
|
74
|
-
_defineProperty(this, "filterConfig", function (item) {
|
|
75
|
-
return {
|
|
76
|
-
searchDefaultConditions: SYMBOL.in,
|
|
77
|
-
type: item.type,
|
|
78
|
-
id: "".concat(item.id, "_logisticsInterceptStatusList"),
|
|
79
|
-
name: "".concat(item.name, "-\u7269\u6D41\u72B6\u6001"),
|
|
80
|
-
filterComponentType: 'MultipleSelect',
|
|
81
|
-
props: {
|
|
82
|
-
options: _this.expressInterceptInstance.getStatusOptions() || []
|
|
83
|
-
},
|
|
84
|
-
formatFilterValue: function formatFilterValue(value) {
|
|
85
|
-
var _value$map;
|
|
86
|
-
return value === null || value === void 0 ? void 0 : (_value$map = value.map(function (v) {
|
|
87
|
-
return v === null || v === void 0 ? void 0 : v.split(',');
|
|
88
|
-
})) === null || _value$map === void 0 ? void 0 : _value$map.flat();
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
});
|
|
92
|
-
this.name = '物流状态';
|
|
93
|
-
this.parentId = options.id;
|
|
94
|
-
this.id = "".concat(options.id, "_logisticsInterceptStatusList");
|
|
95
|
-
this.sortField = "".concat(options.id, "_logisticsInterceptStatusList");
|
|
96
|
-
this.formField = "".concat(options.id, "_logisticsInterceptStatusList");
|
|
97
|
-
this.companyId = "".concat(options.id, "_interceptCompany");
|
|
98
|
-
this.type = options.type;
|
|
99
|
-
this.componentConfig = options.componentConfig;
|
|
100
|
-
this.rules = [];
|
|
101
|
-
this.align = 'left';
|
|
102
|
-
this.width = 220;
|
|
103
|
-
this.isCombinationComponent = false;
|
|
104
|
-
this.canSort = false;
|
|
105
|
-
this.children = [];
|
|
106
|
-
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
107
|
-
this.expressInterceptInstance = ExpressInterceptData.getInstance();
|
|
108
|
-
this.dataType = 'string';
|
|
109
|
-
this.options = this.expressInterceptInstance.getStatusOptions() || [];
|
|
110
|
-
});
|
|
111
|
-
export default InterceptStatus;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { ExpressInterceptData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
|
-
declare class InterceptType implements ComponentInterface {
|
|
5
|
-
name: string;
|
|
6
|
-
id: string;
|
|
7
|
-
sortField: string;
|
|
8
|
-
type: string;
|
|
9
|
-
rules: any[];
|
|
10
|
-
componentConfig: ComponentInterface['componentConfig'];
|
|
11
|
-
effects: ComponentInterface['effects'];
|
|
12
|
-
align: ALignType;
|
|
13
|
-
width: number;
|
|
14
|
-
isCombinationComponent: boolean;
|
|
15
|
-
formField: string;
|
|
16
|
-
canSort: boolean;
|
|
17
|
-
children: ComponentInterface[];
|
|
18
|
-
expressInterceptInstance: InstanceType<typeof ExpressInterceptData>;
|
|
19
|
-
dataType: ComponentInterface['dataType'];
|
|
20
|
-
options: ComponentInterface['options'];
|
|
21
|
-
constructor(options: PickOption);
|
|
22
|
-
renderType: (record: any) => React.JSX.Element;
|
|
23
|
-
getComponentValue: (r: Record) => any;
|
|
24
|
-
renderClient: () => null;
|
|
25
|
-
renderPc: (value: any, record: Record) => React.JSX.Element | "--";
|
|
26
|
-
renderLog: () => null;
|
|
27
|
-
renderExport: (value: any, record: Record) => any;
|
|
28
|
-
editRender: () => null;
|
|
29
|
-
filterConfig: (item: ColumnConfig) => {
|
|
30
|
-
searchDefaultConditions: "in";
|
|
31
|
-
type: string;
|
|
32
|
-
id: string;
|
|
33
|
-
name: string;
|
|
34
|
-
filterComponentType: "MultipleSelect";
|
|
35
|
-
props: {
|
|
36
|
-
options: {
|
|
37
|
-
label: string;
|
|
38
|
-
value: string;
|
|
39
|
-
}[];
|
|
40
|
-
};
|
|
41
|
-
formatFilterValue: (value: string[]) => string[];
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
export default InterceptType;
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
3
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
4
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
5
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8
|
-
import React from 'react';
|
|
9
|
-
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
10
|
-
import { ExpressInterceptData } from '@kmkf-fe-packages/kmkf-utils';
|
|
11
|
-
import { SYMBOL } from "../../constant";
|
|
12
|
-
var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
|
|
13
|
-
var _this = this;
|
|
14
|
-
_classCallCheck(this, InterceptType);
|
|
15
|
-
_defineProperty(this, "name", void 0);
|
|
16
|
-
_defineProperty(this, "id", void 0);
|
|
17
|
-
_defineProperty(this, "sortField", void 0);
|
|
18
|
-
_defineProperty(this, "type", void 0);
|
|
19
|
-
_defineProperty(this, "rules", void 0);
|
|
20
|
-
_defineProperty(this, "componentConfig", void 0);
|
|
21
|
-
_defineProperty(this, "effects", void 0);
|
|
22
|
-
_defineProperty(this, "align", void 0);
|
|
23
|
-
_defineProperty(this, "width", void 0);
|
|
24
|
-
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
|
-
_defineProperty(this, "formField", void 0);
|
|
26
|
-
_defineProperty(this, "canSort", void 0);
|
|
27
|
-
_defineProperty(this, "children", void 0);
|
|
28
|
-
_defineProperty(this, "expressInterceptInstance", void 0);
|
|
29
|
-
_defineProperty(this, "dataType", void 0);
|
|
30
|
-
_defineProperty(this, "options", void 0);
|
|
31
|
-
_defineProperty(this, "renderType", function (record) {
|
|
32
|
-
var typeList = record[_this.id] || [];
|
|
33
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, typeList.map(function (item, index) {
|
|
34
|
-
var _this$expressIntercep;
|
|
35
|
-
return /*#__PURE__*/React.createElement("div", null, "\u5305\u88F9".concat(index + 1, ":"), (_this$expressIntercep = _this.expressInterceptInstance.getTypeNameMap()) === null || _this$expressIntercep === void 0 ? void 0 : _this$expressIntercep[item]);
|
|
36
|
-
}));
|
|
37
|
-
});
|
|
38
|
-
_defineProperty(this, "getComponentValue", function (r) {
|
|
39
|
-
return ((r === null || r === void 0 ? void 0 : r[_this.id]) || []).map(function (t) {
|
|
40
|
-
var _this$expressIntercep2;
|
|
41
|
-
return (_this$expressIntercep2 = _this.expressInterceptInstance.getTypeNameMap()) === null || _this$expressIntercep2 === void 0 ? void 0 : _this$expressIntercep2[t];
|
|
42
|
-
}).join(',');
|
|
43
|
-
});
|
|
44
|
-
_defineProperty(this, "renderClient", function () {
|
|
45
|
-
return null;
|
|
46
|
-
});
|
|
47
|
-
_defineProperty(this, "renderPc", function (value, record) {
|
|
48
|
-
if (isNull(record === null || record === void 0 ? void 0 : record[_this.id])) return '--';
|
|
49
|
-
return _this.renderType(record);
|
|
50
|
-
});
|
|
51
|
-
_defineProperty(this, "renderLog", function () {
|
|
52
|
-
return null;
|
|
53
|
-
});
|
|
54
|
-
_defineProperty(this, "renderExport", function (value, record) {
|
|
55
|
-
var _this$getComponentVal;
|
|
56
|
-
return (_this$getComponentVal = _this.getComponentValue(record)) !== null && _this$getComponentVal !== void 0 ? _this$getComponentVal : '--';
|
|
57
|
-
});
|
|
58
|
-
_defineProperty(this, "editRender", function () {
|
|
59
|
-
return null;
|
|
60
|
-
});
|
|
61
|
-
_defineProperty(this, "filterConfig", function (item) {
|
|
62
|
-
return {
|
|
63
|
-
searchDefaultConditions: SYMBOL.in,
|
|
64
|
-
type: item.type,
|
|
65
|
-
id: "".concat(item.id, "_logisticsInterceptTypeList"),
|
|
66
|
-
name: "".concat(item.name, "-\u62E6\u622A\u7C7B\u578B"),
|
|
67
|
-
filterComponentType: 'MultipleSelect',
|
|
68
|
-
props: {
|
|
69
|
-
options: _this.expressInterceptInstance.getTypeOptions() || []
|
|
70
|
-
},
|
|
71
|
-
formatFilterValue: function formatFilterValue(value) {
|
|
72
|
-
var _value$map;
|
|
73
|
-
return value === null || value === void 0 ? void 0 : (_value$map = value.map(function (v) {
|
|
74
|
-
return v === null || v === void 0 ? void 0 : v.split(',');
|
|
75
|
-
})) === null || _value$map === void 0 ? void 0 : _value$map.flat();
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
});
|
|
79
|
-
this.name = '拦截类型';
|
|
80
|
-
this.id = "".concat(options.id, "_logisticsInterceptTypeList");
|
|
81
|
-
this.sortField = "".concat(options.id, "_logisticsInterceptTypeList");
|
|
82
|
-
this.formField = "".concat(options.id, "_logisticsInterceptTypeList");
|
|
83
|
-
this.type = options.type;
|
|
84
|
-
this.componentConfig = options.componentConfig;
|
|
85
|
-
this.rules = [];
|
|
86
|
-
this.align = 'left';
|
|
87
|
-
this.width = 200;
|
|
88
|
-
this.isCombinationComponent = false;
|
|
89
|
-
this.canSort = false;
|
|
90
|
-
this.children = [];
|
|
91
|
-
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
92
|
-
this.expressInterceptInstance = ExpressInterceptData.getInstance();
|
|
93
|
-
this.dataType = 'string';
|
|
94
|
-
this.options = this.expressInterceptInstance.getTypeOptions() || [];
|
|
95
|
-
});
|
|
96
|
-
export default InterceptType;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
2
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
4
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
5
|
-
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
6
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
|
-
import React, { useState } from "react";
|
|
8
|
-
import { Modal } from "antd";
|
|
9
|
-
import { QuestionCircleOutlined } from "@ant-design/icons";
|
|
10
|
-
var ColumnHeader = function ColumnHeader(_ref) {
|
|
11
|
-
var name = _ref.name;
|
|
12
|
-
var _useState = useState(false),
|
|
13
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
14
|
-
visible = _useState2[0],
|
|
15
|
-
setVisible = _useState2[1];
|
|
16
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", null, name, /*#__PURE__*/React.createElement(QuestionCircleOutlined, {
|
|
17
|
-
style: {
|
|
18
|
-
fontSize: "14px",
|
|
19
|
-
marginLeft: "6px",
|
|
20
|
-
marginRight: "auto"
|
|
21
|
-
},
|
|
22
|
-
onClick: function onClick(e) {
|
|
23
|
-
e.stopPropagation();
|
|
24
|
-
setVisible(true);
|
|
25
|
-
}
|
|
26
|
-
})), /*#__PURE__*/React.createElement(Modal, {
|
|
27
|
-
visible: visible,
|
|
28
|
-
title: "物流拦截字段解释",
|
|
29
|
-
onCancel: function onCancel() {
|
|
30
|
-
return setVisible(false);
|
|
31
|
-
},
|
|
32
|
-
footer: null
|
|
33
|
-
}, /*#__PURE__*/React.createElement("p", null, "\u7269\u6D41\u516C\u53F8\uFF1A\u672C\u6B21\u5DE5\u5355\u9700\u8981\u62E6\u622A\u7684\u7269\u6D41\u516C\u53F8\u540D\u79F0"), /*#__PURE__*/React.createElement("p", null, "\u7269\u6D41\u5355\u53F7\uFF1A\u672C\u6B21\u5DE5\u5355\u9700\u8981\u62E6\u622A\u7684\u7269\u6D41\u5355\u53F7"), /*#__PURE__*/React.createElement("p", null, "\u62E6\u622A\u7C7B\u578B\uFF1A\u672C\u6B21\u62E6\u622A\u6240\u8981\u505A\u7684\u52A8\u4F5C\u662F\u4EC0\u4E48\uFF1B\u4F8B\u5982\uFF1A\u662F\u9000\u56DE\u8FD8\u662F\u8F6C\u5BC4"), /*#__PURE__*/React.createElement("div", null, "\u6D3E\u9001\u5730\u5740\uFF1A"), /*#__PURE__*/React.createElement("div", null, "\u4E2D\u901A/\u987A\u4E30\uFF1A\u5982\u679C\u62E6\u622A\u7C7B\u578B\u4E3A\u8F6C\u5BC4\u7684\u8BDD\uFF0C\u9700\u8981\u586B\u5199\u65B0\u7684\u6D3E\u9001\u5730\u5740\uFF1B\u5982\u679C\u62E6\u622A\u7C7B\u578B\u4E3A\u9000\u56DE\u5219\u4E0D\u9700\u8981"), /*#__PURE__*/React.createElement("p", null, "\u6781\u5154\uFF1A\u65E0\u8BBA\u54EA\u79CD\u7C7B\u578B\u90FD\u9700\u8981\u586B\u5199\u6D3E\u9001\u5730\u5740"), /*#__PURE__*/React.createElement("p", null, "\u53D1\u4EF6\u4EBA\u624B\u673A\u53F7\uFF1A\u5982\u679C\u7269\u6D41\u516C\u53F8\u4E3A\u987A\u4E30\uFF0C\u5219\u9700\u8981\u586B\u5199\u53D1\u4EF6\u4EBA\u624B\u673A\u53F7\uFF0C\u7528\u6765\u67E5\u8BE2 \u7269\u6D41\u8F68\u8FF9"), /*#__PURE__*/React.createElement("p", null, "\u7269\u6D41\u72B6\u6001\uFF1A\u62E6\u622A\u5F53\u524D\u8FD9\u4E2A\u7269\u6D41\u5355\u53F7\u7684\u7269\u6D41\u8F68\u8FF9\u72B6\u6001\uFF08", /*#__PURE__*/React.createElement("span", {
|
|
34
|
-
style: {
|
|
35
|
-
color: "#ff4d4f"
|
|
36
|
-
}
|
|
37
|
-
}, "\u8F6C\u5355\u6216\u4FEE\u6539\u5730\u5740\u8F6C\u5BC4/\u5DF2\u7B7E\u6536/\u4ECE\u5FEB\u9012\u67DC\u6216\u8005\u9A7F\u7AD9\u53D6\u51FA/\u9000\u56DE\u7B7E\u6536/\u5305\u88F9\u5F02\u5E38/\u62D2\u6536/\u6D3E\u4EF6\u5F02\u5E38/\u6EDE\u7559\u4EF6/\u95EE\u9898\u4EF6/\u9000\u56DE\u4EF6/\u7834\u635F/\u63FD\u4EF6\u53D6\u6D88 \u662F\u6700\u7EC8\u72B6\u6001\uFF0C\u4E0D\u518D\u505A\u66F4\u65B0\uFF0C\u53EF\u901A\u8FC7\u67E5\u8BE2\u7269\u6D41\u8F68\u8FF9\u6765\u83B7\u53D6\u6700\u65B0\u7269\u6D41\u72B6\u6001"), "\uFF09\uFF0C\u53EF\u4EE5\u901A\u8FC7\u67E5\u770B\u8BE5\u72B6\u6001\u6765\u5224\u65AD\u6B64\u6B21\u62E6\u622A\u662F\u5426\u6210\u529F\uFF08\u5BF9\u5173\u7CFB\u5982\u4E0B\uFF09"), /*#__PURE__*/React.createElement("p", null, "1.", /*#__PURE__*/React.createElement("b", {
|
|
38
|
-
style: {
|
|
39
|
-
color: "#1890ff"
|
|
40
|
-
}
|
|
41
|
-
}, "\u62E6\u622A\u4E2D"), "\uFF1A\u62E6\u622A\u8BF7\u6C42\u5DF2\u7ECF\u53D1\u9001\u7ED9\u5FEB\u9012\u516C\u53F8\uFF0C\u7269\u6D41\u72B6\u6001\u5927\u6982\u4E3A", /*#__PURE__*/React.createElement("b", null, "\u3010\u63A5\u5355\u4E2D\u3001\u5F85\u63FD\u6536\u3001\u5DF2\u63FD\u6536\u3001\u8FD0\u8F93\u4E2D\u3001\u5230\u8FBE\u76EE\u7684\u57CE\u5E02\u3001\u5305\u88F9\u5F02\u5E38\u3001\u95EE\u9898\u4EF6\u3001\u7834\u635F\u3011")), /*#__PURE__*/React.createElement("p", null, "2.", /*#__PURE__*/React.createElement("b", {
|
|
42
|
-
style: {
|
|
43
|
-
color: "#1890ff"
|
|
44
|
-
}
|
|
45
|
-
}, "\u62E6\u622A\u6210\u529F"), "\uFF1A\u8BE5\u7269\u6D41\u5355\u53F7\u5DF2\u7ECF\u88AB\u6210\u529F\u62E6\u622A\uFF0C\u7269\u6D41\u72B6\u6001\u5927\u6982\u4E3A", /*#__PURE__*/React.createElement("b", null, "\u3010\u9000\u56DE\u7B7E\u6536\u3001\u9000\u56DE\u4EF6\u3001\u62E6\u622A\u53D6\u6D88\u3001\u8F6C\u5355\u6216\u8005\u4FEE\u6539\u5730\u5740\u8F6C\u5BC4\u3011")), /*#__PURE__*/React.createElement("p", null, "3.", /*#__PURE__*/React.createElement("b", {
|
|
46
|
-
style: {
|
|
47
|
-
color: "#1890ff"
|
|
48
|
-
}
|
|
49
|
-
}, "\u62E6\u622A\u5931\u8D25"), "\uFF1A\u8BE5\u7269\u6D41\u5355\u53F7\u51FA\u73B0\u5F02\u5E38\u6216\u8005\u88AB\u7B7E\u6536\uFF0C\u7269\u6D41\u72B6\u6001\u5927\u6982\u4E3A", /*#__PURE__*/React.createElement("b", null, "\u3010\u6D3E\u4EF6\u4E2D\u3001\u5DF2\u653E\u5165\u5FEB\u9012\u67DC\u6216\u9A7F\u7AD9\u3001\u5DF2\u4EE3\u7B7E\u6536\u3001\u5DF2\u7B7E\u6536\u3001\u4ECE\u5FEB\u9012\u67DC\u6216\u8005\u9A7F\u7AD9\u53D6\u51FA\u3001\u62D2\u6536\u3001\u6D3E\u4EF6\u5F02\u5E38\u3001\u6EDE\u7559\u4EF6\u3011")), /*#__PURE__*/React.createElement("p", {
|
|
50
|
-
style: {
|
|
51
|
-
color: "#ff4d4f"
|
|
52
|
-
}
|
|
53
|
-
}, "\u6CE8\uFF1A\u7269\u6D41\u72B6\u6001\u4EC5\u9002\u7528\u4E8E\u4F7F\u7528\u81EA\u52A8\u62E6\u622A\u63A5\u53E3\u7684\u5FEB\u9012\u516C\u53F8\uFF0C\u4E0D\u5305\u542B\u7269\u6D41\u5BA2\u670D\u624B\u52A8\u62E6\u622A\u7684")));
|
|
54
|
-
};
|
|
55
|
-
export default ColumnHeader;
|