kts-components-document-access-point 1.2.6 → 1.2.10
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/DocumentWhiteList/control/actions/didilist/index.d.ts +1 -1
- package/dist/index.esm.js +324 -240
- package/dist/index.js +324 -240
- package/package.json +1 -1
- package/src/DocumentWhiteList/control/actions/didilist/index.ts +5 -1
- package/src/DocumentWhiteList/control/state/index.ts +1 -1
- package/src/DocumentWhiteList/index.tsx +0 -1
- package/src/DocumentWhiteList/ui/clientmodal/index.tsx +23 -11
- package/src/DocumentWhiteList/ui/main/black.tsx +13 -1
- package/src/DocumentWhiteList/ui/main/index.tsx +0 -23
- package/src/DocumentWhiteList/ui/main/white.tsx +13 -1
- package/src/DocumentWhiteList/ui/pageheader/WhiteHeader.tsx +13 -1
- package/src/DocumentWhiteList/ui/whitemodal/index.tsx +3 -3
- package/src/DocumentsCont/___demo___/base/index.tsx +1 -1
- package/src/DocumentsList/index.tsx +5 -3
- package/src/DocumentsList/ui/PageHeader/index.tsx +17 -15
- package/src/DocumentsList/ui/RuleTable/index.tsx +1 -0
- package/src/DocumentsRule/ui/main/index.tsx +66 -35
package/dist/index.esm.js
CHANGED
|
@@ -10,7 +10,6 @@ import { LifeCycleTypes } from '@formily/antd';
|
|
|
10
10
|
import { useHistory, MemoryRouter, Switch as Switch$1, Route, Redirect } from 'react-router-dom';
|
|
11
11
|
import zhCN from 'kts-components-antd-x4/lib/locale/zh_CN';
|
|
12
12
|
import qs from 'query-string';
|
|
13
|
-
import { Pagination as Pagination$1 } from 'antd';
|
|
14
13
|
import _ from 'lodash';
|
|
15
14
|
|
|
16
15
|
function ownKeys(object, enumerableOnly) {
|
|
@@ -2962,8 +2961,14 @@ var PageHeader = (function () {
|
|
|
2962
2961
|
case 0:
|
|
2963
2962
|
s.type = e.target.value;
|
|
2964
2963
|
s.params = {};
|
|
2964
|
+
history.push({
|
|
2965
|
+
pathname: '/rulelist',
|
|
2966
|
+
state: {
|
|
2967
|
+
type: e.target.value
|
|
2968
|
+
}
|
|
2969
|
+
});
|
|
2965
2970
|
|
|
2966
|
-
case
|
|
2971
|
+
case 3:
|
|
2967
2972
|
case "end":
|
|
2968
2973
|
return _context3.stop();
|
|
2969
2974
|
}
|
|
@@ -3093,6 +3098,20 @@ var PageHeader = (function () {
|
|
|
3093
3098
|
"value": 1
|
|
3094
3099
|
}]
|
|
3095
3100
|
},
|
|
3101
|
+
attribution: {
|
|
3102
|
+
type: "radio",
|
|
3103
|
+
title: "我的收发角色",
|
|
3104
|
+
enum: [{
|
|
3105
|
+
"label": "发送方",
|
|
3106
|
+
"value": '1'
|
|
3107
|
+
}, {
|
|
3108
|
+
"label": "接收方",
|
|
3109
|
+
"value": '0'
|
|
3110
|
+
}],
|
|
3111
|
+
'x-props': {
|
|
3112
|
+
mode: "multiple"
|
|
3113
|
+
}
|
|
3114
|
+
},
|
|
3096
3115
|
attributionList: {
|
|
3097
3116
|
type: "string",
|
|
3098
3117
|
title: "发送对象",
|
|
@@ -3121,20 +3140,6 @@ var PageHeader = (function () {
|
|
|
3121
3140
|
enum: profileEnum,
|
|
3122
3141
|
visible: false
|
|
3123
3142
|
},
|
|
3124
|
-
attribution: {
|
|
3125
|
-
type: "radio",
|
|
3126
|
-
title: "我的收发角色",
|
|
3127
|
-
enum: [{
|
|
3128
|
-
"label": "发送方",
|
|
3129
|
-
"value": '1'
|
|
3130
|
-
}, {
|
|
3131
|
-
"label": "接收方",
|
|
3132
|
-
"value": '0'
|
|
3133
|
-
}],
|
|
3134
|
-
'x-props': {
|
|
3135
|
-
mode: "multiple"
|
|
3136
|
-
}
|
|
3137
|
-
},
|
|
3138
3143
|
'[beginCreateTime,endCreateTime]': {
|
|
3139
3144
|
key: "[beginCreateTime,endCreateTime",
|
|
3140
3145
|
name: "[beginCreateTime,endCreateTime",
|
|
@@ -3261,7 +3266,7 @@ var PageHeader = (function () {
|
|
|
3261
3266
|
style: {
|
|
3262
3267
|
marginRight: 10
|
|
3263
3268
|
}
|
|
3264
|
-
}, "\u53D1\u5E03"), /*#__PURE__*/React.createElement(Dropdown, {
|
|
3269
|
+
}, "\u53D1\u5E03"), type === 1 && /*#__PURE__*/React.createElement(Dropdown, {
|
|
3265
3270
|
key: "2",
|
|
3266
3271
|
overlay: menu
|
|
3267
3272
|
}, /*#__PURE__*/React.createElement(Button$1, {
|
|
@@ -3431,8 +3436,14 @@ function validaterule(props) {
|
|
|
3431
3436
|
s.params = {
|
|
3432
3437
|
configNumber: record.configNumber
|
|
3433
3438
|
};
|
|
3439
|
+
history.push({
|
|
3440
|
+
pathname: "/rulelist",
|
|
3441
|
+
state: {
|
|
3442
|
+
type: 2
|
|
3443
|
+
}
|
|
3444
|
+
});
|
|
3434
3445
|
|
|
3435
|
-
case
|
|
3446
|
+
case 3:
|
|
3436
3447
|
case "end":
|
|
3437
3448
|
return _context3.stop();
|
|
3438
3449
|
}
|
|
@@ -4015,16 +4026,17 @@ var Main$1 = function Main(props) {
|
|
|
4015
4026
|
return s.type;
|
|
4016
4027
|
}, []);
|
|
4017
4028
|
useEffect(function () {
|
|
4018
|
-
var params = props.location.
|
|
4029
|
+
var params = props.location.state;
|
|
4030
|
+
var tab = params && params.type;
|
|
4019
4031
|
|
|
4020
|
-
if (
|
|
4032
|
+
if (tab) {
|
|
4021
4033
|
controller.pipeline( /*#__PURE__*/function () {
|
|
4022
4034
|
var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(s) {
|
|
4023
4035
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
4024
4036
|
while (1) {
|
|
4025
4037
|
switch (_context.prev = _context.next) {
|
|
4026
4038
|
case 0:
|
|
4027
|
-
s.type = Number(
|
|
4039
|
+
s.type = Number(tab);
|
|
4028
4040
|
|
|
4029
4041
|
case 1:
|
|
4030
4042
|
case "end":
|
|
@@ -4797,100 +4809,151 @@ function Rule(props) {
|
|
|
4797
4809
|
}, []);
|
|
4798
4810
|
var handleCancel = useCallback(function () {
|
|
4799
4811
|
setVisible(false);
|
|
4800
|
-
}, []);
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4812
|
+
}, []); // const autoSave = useCallback(() => {
|
|
4813
|
+
// (async () => {
|
|
4814
|
+
// // let url = '/schema/config/save';
|
|
4815
|
+
// let data: any = { ...schema };
|
|
4816
|
+
// const formValue = form.getFieldsValue();
|
|
4817
|
+
// let res;
|
|
4818
|
+
// if (record && record.id) {
|
|
4819
|
+
// // url = '/schema/config/update';
|
|
4820
|
+
// data = { ...record, schemaContent: JSON.stringify(data), ...formValue }
|
|
4821
|
+
// res = await controller.configupdate(data);
|
|
4822
|
+
// } else {
|
|
4823
|
+
// data = { schemaContent: JSON.stringify(data), ...formValue }
|
|
4824
|
+
// res = await controller.configsave(data);
|
|
4825
|
+
// }
|
|
4826
|
+
// // const res = await DocumentsService.instance.service?.call({ url, data, type: 'post' }) as any;
|
|
4827
|
+
// if (res.err) {
|
|
4828
|
+
// return false;
|
|
4829
|
+
// } else {
|
|
4830
|
+
// if (res.res) {
|
|
4831
|
+
// message.success('保存成功');
|
|
4832
|
+
// setChange(false);
|
|
4833
|
+
// setRecord(res.res);
|
|
4834
|
+
// }
|
|
4835
|
+
// }
|
|
4836
|
+
// })()
|
|
4837
|
+
// }, [record, schema]);
|
|
4838
|
+
// useEffect(() => {
|
|
4839
|
+
// if (status !== 0 && !disabled && first === false) {
|
|
4840
|
+
// autoSave();
|
|
4841
|
+
// }
|
|
4842
|
+
// }, [schema, status, first])
|
|
4843
|
+
// const onFinish = useCallback(() => {
|
|
4844
|
+
// setStatus(new Date().getTime());
|
|
4845
|
+
// }, []);
|
|
4846
|
+
// const onFinishFailed = useCallback(() => {
|
|
4847
|
+
// setStatus(0);
|
|
4848
|
+
// }, []);
|
|
4849
|
+
|
|
4850
|
+
/**
|
|
4851
|
+
* 手动保存
|
|
4852
|
+
*/
|
|
4853
|
+
|
|
4854
|
+
var onSave = useCallback(function () {
|
|
4855
|
+
var publish = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
4856
|
+
|
|
4857
|
+
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
|
|
4858
|
+
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
4805
4859
|
while (1) {
|
|
4806
|
-
switch (
|
|
4860
|
+
switch (_context5.prev = _context5.next) {
|
|
4807
4861
|
case 0:
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4862
|
+
form.validateFields().then( /*#__PURE__*/function () {
|
|
4863
|
+
var _ref5 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(values) {
|
|
4864
|
+
var data, res;
|
|
4865
|
+
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
4866
|
+
while (1) {
|
|
4867
|
+
switch (_context4.prev = _context4.next) {
|
|
4868
|
+
case 0:
|
|
4869
|
+
data = _objectSpread2({}, schema); // const formValue = form.getFieldsValue();
|
|
4811
4870
|
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4871
|
+
if (!(record && record.id)) {
|
|
4872
|
+
_context4.next = 8;
|
|
4873
|
+
break;
|
|
4874
|
+
}
|
|
4816
4875
|
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
return controller.configupdate(data);
|
|
4876
|
+
data = _objectSpread2(_objectSpread2({}, record), {}, {
|
|
4877
|
+
schemaContent: JSON.stringify(data)
|
|
4878
|
+
}, values);
|
|
4879
|
+
_context4.next = 5;
|
|
4880
|
+
return controller.configupdate(data);
|
|
4823
4881
|
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4882
|
+
case 5:
|
|
4883
|
+
res = _context4.sent;
|
|
4884
|
+
_context4.next = 12;
|
|
4885
|
+
break;
|
|
4828
4886
|
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4887
|
+
case 8:
|
|
4888
|
+
data = _objectSpread2({
|
|
4889
|
+
schemaContent: JSON.stringify(data)
|
|
4890
|
+
}, values);
|
|
4891
|
+
_context4.next = 11;
|
|
4892
|
+
return controller.configsave(data);
|
|
4835
4893
|
|
|
4836
|
-
|
|
4837
|
-
|
|
4894
|
+
case 11:
|
|
4895
|
+
res = _context4.sent;
|
|
4838
4896
|
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4897
|
+
case 12:
|
|
4898
|
+
if (!res.err) {
|
|
4899
|
+
_context4.next = 17;
|
|
4900
|
+
break;
|
|
4901
|
+
}
|
|
4844
4902
|
|
|
4845
|
-
|
|
4903
|
+
message$1.error('保存失败');
|
|
4904
|
+
return _context4.abrupt("return", false);
|
|
4846
4905
|
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4906
|
+
case 17:
|
|
4907
|
+
if (res.res) {
|
|
4908
|
+
message$1.success('保存成功');
|
|
4909
|
+
setChange(false);
|
|
4910
|
+
setRecord(res.res);
|
|
4911
|
+
|
|
4912
|
+
if (publish) {
|
|
4913
|
+
onSendCheck();
|
|
4914
|
+
}
|
|
4915
|
+
}
|
|
4853
4916
|
|
|
4854
|
-
|
|
4917
|
+
case 18:
|
|
4918
|
+
case "end":
|
|
4919
|
+
return _context4.stop();
|
|
4920
|
+
}
|
|
4921
|
+
}
|
|
4922
|
+
}, _callee4);
|
|
4923
|
+
}));
|
|
4924
|
+
|
|
4925
|
+
return function (_x) {
|
|
4926
|
+
return _ref5.apply(this, arguments);
|
|
4927
|
+
};
|
|
4928
|
+
}()).catch(function (errorInfo) {
|
|
4929
|
+
message$1.error('请输入必填内容!');
|
|
4930
|
+
});
|
|
4931
|
+
|
|
4932
|
+
case 1:
|
|
4855
4933
|
case "end":
|
|
4856
|
-
return
|
|
4934
|
+
return _context5.stop();
|
|
4857
4935
|
}
|
|
4858
4936
|
}
|
|
4859
|
-
},
|
|
4937
|
+
}, _callee5);
|
|
4860
4938
|
}))();
|
|
4861
|
-
}, [record, schema]);
|
|
4862
|
-
// if (status !== 0 && !disabled && first === false) {
|
|
4863
|
-
// autoSave();
|
|
4864
|
-
// }
|
|
4865
|
-
// }, [schema, status, first])
|
|
4866
|
-
// const onFinish = useCallback(() => {
|
|
4867
|
-
// setStatus(new Date().getTime());
|
|
4868
|
-
// }, []);
|
|
4869
|
-
// const onFinishFailed = useCallback(() => {
|
|
4870
|
-
// setStatus(0);
|
|
4871
|
-
// }, []);
|
|
4872
|
-
|
|
4939
|
+
}, [record, schema]);
|
|
4873
4940
|
/**
|
|
4874
|
-
*
|
|
4941
|
+
* 保存并发布
|
|
4875
4942
|
*/
|
|
4876
4943
|
|
|
4877
|
-
var onSave = useCallback(function () {
|
|
4878
|
-
autoSave();
|
|
4879
|
-
}, [record, schema]);
|
|
4880
4944
|
var onSendCheck = useCallback(function () {
|
|
4881
|
-
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function
|
|
4945
|
+
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
|
|
4882
4946
|
var res;
|
|
4883
|
-
return regeneratorRuntime.wrap(function
|
|
4947
|
+
return regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
4884
4948
|
while (1) {
|
|
4885
|
-
switch (
|
|
4949
|
+
switch (_context6.prev = _context6.next) {
|
|
4886
4950
|
case 0:
|
|
4887
|
-
|
|
4951
|
+
_context6.next = 2;
|
|
4888
4952
|
return controller.listbysubjectid({});
|
|
4889
4953
|
|
|
4890
4954
|
case 2:
|
|
4891
|
-
res =
|
|
4955
|
+
res = _context6.sent;
|
|
4892
4956
|
|
|
4893
|
-
// const res = await DocumentsService.instance.service?.call({ url: '/dap/web/participant/listBySubjectId', data: null, type: 'get' }) as any;
|
|
4894
4957
|
if (res.res) {
|
|
4895
4958
|
setVisible(true);
|
|
4896
4959
|
setList(res.res);
|
|
@@ -4898,29 +4961,29 @@ function Rule(props) {
|
|
|
4898
4961
|
|
|
4899
4962
|
case 4:
|
|
4900
4963
|
case "end":
|
|
4901
|
-
return
|
|
4964
|
+
return _context6.stop();
|
|
4902
4965
|
}
|
|
4903
4966
|
}
|
|
4904
|
-
},
|
|
4967
|
+
}, _callee6);
|
|
4905
4968
|
}))();
|
|
4906
4969
|
}, []);
|
|
4907
4970
|
var handleOk = useCallback(function () {
|
|
4908
|
-
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function
|
|
4971
|
+
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee7() {
|
|
4909
4972
|
var data, res;
|
|
4910
|
-
return regeneratorRuntime.wrap(function
|
|
4973
|
+
return regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
4911
4974
|
while (1) {
|
|
4912
|
-
switch (
|
|
4975
|
+
switch (_context7.prev = _context7.next) {
|
|
4913
4976
|
case 0:
|
|
4914
4977
|
data = _objectSpread2(_objectSpread2({}, record), {}, {
|
|
4915
4978
|
senderPartitionId: targetId,
|
|
4916
4979
|
privateList: [],
|
|
4917
4980
|
sendPublic: true
|
|
4918
4981
|
});
|
|
4919
|
-
|
|
4982
|
+
_context7.next = 3;
|
|
4920
4983
|
return controller.batchsend([data]);
|
|
4921
4984
|
|
|
4922
4985
|
case 3:
|
|
4923
|
-
res =
|
|
4986
|
+
res = _context7.sent;
|
|
4924
4987
|
|
|
4925
4988
|
// const res = await DocumentsService.instance.service?.call({ url: '/dap/web/schema/config/batchSend', data: [data], type: 'post' }) as any;
|
|
4926
4989
|
if (res.res) {
|
|
@@ -4930,10 +4993,10 @@ function Rule(props) {
|
|
|
4930
4993
|
|
|
4931
4994
|
case 5:
|
|
4932
4995
|
case "end":
|
|
4933
|
-
return
|
|
4996
|
+
return _context7.stop();
|
|
4934
4997
|
}
|
|
4935
4998
|
}
|
|
4936
|
-
},
|
|
4999
|
+
}, _callee7);
|
|
4937
5000
|
}))();
|
|
4938
5001
|
}, [targetId, record]);
|
|
4939
5002
|
var targetSelect = useCallback(function (e) {
|
|
@@ -4967,10 +5030,17 @@ function Rule(props) {
|
|
|
4967
5030
|
if (type === 'record') {
|
|
4968
5031
|
history.push({
|
|
4969
5032
|
pathname: "/rulelist",
|
|
4970
|
-
|
|
5033
|
+
state: {
|
|
5034
|
+
type: 2
|
|
5035
|
+
}
|
|
4971
5036
|
});
|
|
4972
5037
|
} else {
|
|
4973
|
-
history.
|
|
5038
|
+
history.push({
|
|
5039
|
+
pathname: "/rulelist",
|
|
5040
|
+
state: {
|
|
5041
|
+
type: 1
|
|
5042
|
+
}
|
|
5043
|
+
});
|
|
4974
5044
|
}
|
|
4975
5045
|
}, []);
|
|
4976
5046
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -4994,14 +5064,18 @@ function Rule(props) {
|
|
|
4994
5064
|
style: {
|
|
4995
5065
|
display: type === 'record' ? 'none' : ''
|
|
4996
5066
|
},
|
|
4997
|
-
onClick:
|
|
5067
|
+
onClick: function onClick() {
|
|
5068
|
+
onSave();
|
|
5069
|
+
}
|
|
4998
5070
|
}, "\u4FDD\u5B58"), /*#__PURE__*/React.createElement(Button$1, {
|
|
4999
5071
|
key: "3",
|
|
5000
5072
|
style: {
|
|
5001
5073
|
display: type === 'record' ? 'none' : ''
|
|
5002
5074
|
},
|
|
5003
|
-
onClick:
|
|
5004
|
-
|
|
5075
|
+
onClick: function onClick() {
|
|
5076
|
+
onSave(true);
|
|
5077
|
+
}
|
|
5078
|
+
}, "\u4FDD\u5B58\u5E76\u53D1\u5E03"), /*#__PURE__*/React.createElement(Button$1, {
|
|
5005
5079
|
key: "1",
|
|
5006
5080
|
type: "primary",
|
|
5007
5081
|
onClick: onQuit
|
|
@@ -5114,7 +5188,7 @@ function Rule(props) {
|
|
|
5114
5188
|
schema: schema,
|
|
5115
5189
|
onChange: updateSchema
|
|
5116
5190
|
}))), /*#__PURE__*/React.createElement(Modal, {
|
|
5117
|
-
title: "\u8BF7\u9009\u62E9",
|
|
5191
|
+
title: "\u8BF7\u9009\u62E9\u6211\u53F8\u5BF9\u5E94DID",
|
|
5118
5192
|
visible: visible,
|
|
5119
5193
|
onOk: handleOk,
|
|
5120
5194
|
onCancel: handleCancel
|
|
@@ -5790,11 +5864,15 @@ var didList = /*#__PURE__*/(function () {
|
|
|
5790
5864
|
return _context.abrupt("return", false);
|
|
5791
5865
|
|
|
5792
5866
|
case 5:
|
|
5793
|
-
if (res.res) {
|
|
5794
|
-
|
|
5867
|
+
if (!res.res) {
|
|
5868
|
+
_context.next = 8;
|
|
5869
|
+
break;
|
|
5795
5870
|
}
|
|
5796
5871
|
|
|
5797
|
-
|
|
5872
|
+
s.didlist = res.res;
|
|
5873
|
+
return _context.abrupt("return", res);
|
|
5874
|
+
|
|
5875
|
+
case 8:
|
|
5798
5876
|
case "end":
|
|
5799
5877
|
return _context.stop();
|
|
5800
5878
|
}
|
|
@@ -5898,7 +5976,50 @@ var Header = (function () {
|
|
|
5898
5976
|
controller.checkclient();
|
|
5899
5977
|
}, []);
|
|
5900
5978
|
useEffect(function () {
|
|
5901
|
-
|
|
5979
|
+
// console.log(controller);
|
|
5980
|
+
// controller.pipeline(controller.didList)({})
|
|
5981
|
+
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
|
5982
|
+
var res;
|
|
5983
|
+
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
5984
|
+
while (1) {
|
|
5985
|
+
switch (_context3.prev = _context3.next) {
|
|
5986
|
+
case 0:
|
|
5987
|
+
_context3.next = 2;
|
|
5988
|
+
return controller.didList({});
|
|
5989
|
+
|
|
5990
|
+
case 2:
|
|
5991
|
+
res = _context3.sent;
|
|
5992
|
+
|
|
5993
|
+
if (!res.err) {
|
|
5994
|
+
controller.pipeline( /*#__PURE__*/function () {
|
|
5995
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(s) {
|
|
5996
|
+
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
5997
|
+
while (1) {
|
|
5998
|
+
switch (_context2.prev = _context2.next) {
|
|
5999
|
+
case 0:
|
|
6000
|
+
s.didlist = res.res;
|
|
6001
|
+
|
|
6002
|
+
case 1:
|
|
6003
|
+
case "end":
|
|
6004
|
+
return _context2.stop();
|
|
6005
|
+
}
|
|
6006
|
+
}
|
|
6007
|
+
}, _callee2);
|
|
6008
|
+
}));
|
|
6009
|
+
|
|
6010
|
+
return function (_x2) {
|
|
6011
|
+
return _ref3.apply(this, arguments);
|
|
6012
|
+
};
|
|
6013
|
+
}())();
|
|
6014
|
+
}
|
|
6015
|
+
|
|
6016
|
+
case 4:
|
|
6017
|
+
case "end":
|
|
6018
|
+
return _context3.stop();
|
|
6019
|
+
}
|
|
6020
|
+
}
|
|
6021
|
+
}, _callee3);
|
|
6022
|
+
}))();
|
|
5902
6023
|
}, []);
|
|
5903
6024
|
useEffect(function () {
|
|
5904
6025
|
var didEnum = didlist.map(function (item) {
|
|
@@ -5951,20 +6072,20 @@ var Header = (function () {
|
|
|
5951
6072
|
setSchema(obj);
|
|
5952
6073
|
}, [didlist]);
|
|
5953
6074
|
var batchBlockList = useCallback(function (type) {
|
|
5954
|
-
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function
|
|
6075
|
+
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
|
|
5955
6076
|
var res;
|
|
5956
|
-
return regeneratorRuntime.wrap(function
|
|
6077
|
+
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
5957
6078
|
while (1) {
|
|
5958
|
-
switch (
|
|
6079
|
+
switch (_context4.prev = _context4.next) {
|
|
5959
6080
|
case 0:
|
|
5960
|
-
|
|
6081
|
+
_context4.next = 2;
|
|
5961
6082
|
return controller.enablewhitelist({
|
|
5962
6083
|
flag: type,
|
|
5963
6084
|
didList: selectedRowKey
|
|
5964
6085
|
});
|
|
5965
6086
|
|
|
5966
6087
|
case 2:
|
|
5967
|
-
res =
|
|
6088
|
+
res = _context4.sent;
|
|
5968
6089
|
|
|
5969
6090
|
if (res.res) {
|
|
5970
6091
|
controller.getWhitelist(_objectSpread2(_objectSpread2({}, whiteParams), pageMeta));
|
|
@@ -5972,55 +6093,55 @@ var Header = (function () {
|
|
|
5972
6093
|
|
|
5973
6094
|
case 4:
|
|
5974
6095
|
case "end":
|
|
5975
|
-
return
|
|
6096
|
+
return _context4.stop();
|
|
5976
6097
|
}
|
|
5977
6098
|
}
|
|
5978
|
-
},
|
|
6099
|
+
}, _callee4);
|
|
5979
6100
|
}))();
|
|
5980
6101
|
}, [selectedRowKey]);
|
|
5981
6102
|
var createWhiteList = useCallback(function () {
|
|
5982
6103
|
controller.pipeline( /*#__PURE__*/function () {
|
|
5983
|
-
var
|
|
5984
|
-
return regeneratorRuntime.wrap(function
|
|
6104
|
+
var _ref5 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(s) {
|
|
6105
|
+
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
5985
6106
|
while (1) {
|
|
5986
|
-
switch (
|
|
6107
|
+
switch (_context5.prev = _context5.next) {
|
|
5987
6108
|
case 0:
|
|
5988
6109
|
s.visible = true;
|
|
5989
6110
|
s.listNature = '1';
|
|
5990
6111
|
|
|
5991
6112
|
case 2:
|
|
5992
6113
|
case "end":
|
|
5993
|
-
return
|
|
6114
|
+
return _context5.stop();
|
|
5994
6115
|
}
|
|
5995
6116
|
}
|
|
5996
|
-
},
|
|
6117
|
+
}, _callee5);
|
|
5997
6118
|
}));
|
|
5998
6119
|
|
|
5999
|
-
return function (
|
|
6000
|
-
return
|
|
6120
|
+
return function (_x3) {
|
|
6121
|
+
return _ref5.apply(this, arguments);
|
|
6001
6122
|
};
|
|
6002
6123
|
}())();
|
|
6003
6124
|
}, []);
|
|
6004
6125
|
var showClientModal = useCallback(function () {
|
|
6005
6126
|
controller.pipeline( /*#__PURE__*/function () {
|
|
6006
|
-
var
|
|
6007
|
-
return regeneratorRuntime.wrap(function
|
|
6127
|
+
var _ref6 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee6(s) {
|
|
6128
|
+
return regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
6008
6129
|
while (1) {
|
|
6009
|
-
switch (
|
|
6130
|
+
switch (_context6.prev = _context6.next) {
|
|
6010
6131
|
case 0:
|
|
6011
6132
|
s.clientModal = true;
|
|
6012
6133
|
s.listNature = '1';
|
|
6013
6134
|
|
|
6014
6135
|
case 2:
|
|
6015
6136
|
case "end":
|
|
6016
|
-
return
|
|
6137
|
+
return _context6.stop();
|
|
6017
6138
|
}
|
|
6018
6139
|
}
|
|
6019
|
-
},
|
|
6140
|
+
}, _callee6);
|
|
6020
6141
|
}));
|
|
6021
6142
|
|
|
6022
|
-
return function (
|
|
6023
|
-
return
|
|
6143
|
+
return function (_x4) {
|
|
6144
|
+
return _ref6.apply(this, arguments);
|
|
6024
6145
|
};
|
|
6025
6146
|
}())();
|
|
6026
6147
|
}, []);
|
|
@@ -6119,13 +6240,22 @@ function Rule$1(props) {
|
|
|
6119
6240
|
var columns = useMemo(function () {
|
|
6120
6241
|
return [{
|
|
6121
6242
|
title: 'DID',
|
|
6122
|
-
dataIndex: 'customerDid'
|
|
6243
|
+
dataIndex: 'customerDid',
|
|
6244
|
+
render: function render(text, record) {
|
|
6245
|
+
if (text) {
|
|
6246
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", null, record.customerDidNote), text);
|
|
6247
|
+
} else {
|
|
6248
|
+
return '';
|
|
6249
|
+
}
|
|
6250
|
+
}
|
|
6123
6251
|
}, {
|
|
6124
6252
|
title: '所属公司',
|
|
6125
|
-
dataIndex: 'customerName'
|
|
6253
|
+
dataIndex: 'customerName',
|
|
6254
|
+
width: 200
|
|
6126
6255
|
}, {
|
|
6127
6256
|
title: '数据状态',
|
|
6128
6257
|
dataIndex: 'dataStatus',
|
|
6258
|
+
width: 100,
|
|
6129
6259
|
render: function render(text) {
|
|
6130
6260
|
return dataStatusEnum[text];
|
|
6131
6261
|
}
|
|
@@ -6134,7 +6264,7 @@ function Rule$1(props) {
|
|
|
6134
6264
|
dataIndex: 'companyDid',
|
|
6135
6265
|
render: function render(text, record) {
|
|
6136
6266
|
if (text) {
|
|
6137
|
-
return /*#__PURE__*/React.createElement("
|
|
6267
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", null, record.companyDidNote), text);
|
|
6138
6268
|
} else {
|
|
6139
6269
|
return '';
|
|
6140
6270
|
}
|
|
@@ -6142,18 +6272,21 @@ function Rule$1(props) {
|
|
|
6142
6272
|
}, {
|
|
6143
6273
|
title: '加入时间',
|
|
6144
6274
|
dataIndex: 'createTime',
|
|
6275
|
+
width: 200,
|
|
6145
6276
|
render: function render(text) {
|
|
6146
6277
|
return moment(text).format('YYYY-MM-DD HH:mm');
|
|
6147
6278
|
}
|
|
6148
6279
|
}, {
|
|
6149
6280
|
title: '最近更新时间',
|
|
6150
6281
|
dataIndex: 'updateTime',
|
|
6282
|
+
width: 200,
|
|
6151
6283
|
render: function render(text) {
|
|
6152
6284
|
return moment(text).format('YYYY-MM-DD HH:mm');
|
|
6153
6285
|
}
|
|
6154
6286
|
}, {
|
|
6155
6287
|
title: '操作',
|
|
6156
6288
|
dataIndex: 'console',
|
|
6289
|
+
width: 80,
|
|
6157
6290
|
render: function render(text, record) {
|
|
6158
6291
|
return /*#__PURE__*/React.createElement("span", null, record.dataStatus === 1 ? /*#__PURE__*/React.createElement("a", {
|
|
6159
6292
|
className: "tabel-action",
|
|
@@ -6551,13 +6684,22 @@ function Rule$2(props) {
|
|
|
6551
6684
|
var columns = useMemo(function () {
|
|
6552
6685
|
return [{
|
|
6553
6686
|
title: 'DID',
|
|
6554
|
-
dataIndex: 'customerDid'
|
|
6687
|
+
dataIndex: 'customerDid',
|
|
6688
|
+
render: function render(text, record) {
|
|
6689
|
+
if (text) {
|
|
6690
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", null, record.customerDidNote), text);
|
|
6691
|
+
} else {
|
|
6692
|
+
return '';
|
|
6693
|
+
}
|
|
6694
|
+
}
|
|
6555
6695
|
}, {
|
|
6556
6696
|
title: '所属公司',
|
|
6697
|
+
width: 200,
|
|
6557
6698
|
dataIndex: 'customerName'
|
|
6558
6699
|
}, {
|
|
6559
6700
|
title: '数据状态',
|
|
6560
6701
|
dataIndex: 'dataStatus',
|
|
6702
|
+
width: 100,
|
|
6561
6703
|
render: function render(text) {
|
|
6562
6704
|
return dataStatusEnum[text];
|
|
6563
6705
|
}
|
|
@@ -6566,7 +6708,7 @@ function Rule$2(props) {
|
|
|
6566
6708
|
dataIndex: 'companyDid',
|
|
6567
6709
|
render: function render(text, record) {
|
|
6568
6710
|
if (text) {
|
|
6569
|
-
return /*#__PURE__*/React.createElement("
|
|
6711
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", null, record.companyDidNote), text);
|
|
6570
6712
|
} else {
|
|
6571
6713
|
return '';
|
|
6572
6714
|
}
|
|
@@ -6574,17 +6716,20 @@ function Rule$2(props) {
|
|
|
6574
6716
|
}, {
|
|
6575
6717
|
title: '加入时间',
|
|
6576
6718
|
dataIndex: 'createTime',
|
|
6719
|
+
width: 200,
|
|
6577
6720
|
render: function render(text) {
|
|
6578
6721
|
return moment(text).format('YYYY-MM-DD HH:mm');
|
|
6579
6722
|
}
|
|
6580
6723
|
}, {
|
|
6581
6724
|
title: '最近更新时间',
|
|
6725
|
+
width: 200,
|
|
6582
6726
|
dataIndex: 'updateTime',
|
|
6583
6727
|
render: function render(text) {
|
|
6584
6728
|
return moment(text).format('YYYY-MM-DD HH:mm');
|
|
6585
6729
|
}
|
|
6586
6730
|
}, {
|
|
6587
6731
|
title: '操作',
|
|
6732
|
+
width: 80,
|
|
6588
6733
|
dataIndex: 'console',
|
|
6589
6734
|
render: function render(text, record) {
|
|
6590
6735
|
return /*#__PURE__*/React.createElement("span", null, record.dataStatus === 1 ? /*#__PURE__*/React.createElement("a", {
|
|
@@ -7079,8 +7224,8 @@ function modalcomfirm$1(props) {
|
|
|
7079
7224
|
message: '请输入必填项'
|
|
7080
7225
|
}]
|
|
7081
7226
|
}, /*#__PURE__*/React.createElement(Input, {
|
|
7082
|
-
maxLength:
|
|
7083
|
-
placeholder: "\u6700\u591A\u8F93\
|
|
7227
|
+
maxLength: 60,
|
|
7228
|
+
placeholder: "\u6700\u591A\u8F93\u516560\u4E2A\u5B57\u7B26"
|
|
7084
7229
|
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
7085
7230
|
label: "DID\u5907\u6CE8\u540D\u79F0",
|
|
7086
7231
|
name: "customerDidNote",
|
|
@@ -7089,8 +7234,8 @@ function modalcomfirm$1(props) {
|
|
|
7089
7234
|
message: '请输入必填项'
|
|
7090
7235
|
}]
|
|
7091
7236
|
}, /*#__PURE__*/React.createElement(Input, {
|
|
7092
|
-
maxLength:
|
|
7093
|
-
placeholder: "\u6700\u591A\u8F93\
|
|
7237
|
+
maxLength: 20,
|
|
7238
|
+
placeholder: "\u6700\u591A\u8F93\u516520\u4E2A\u5B57\u7B26"
|
|
7094
7239
|
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
7095
7240
|
label: "\u6240\u5C5E\u516C\u53F8",
|
|
7096
7241
|
name: "customerName",
|
|
@@ -7099,8 +7244,8 @@ function modalcomfirm$1(props) {
|
|
|
7099
7244
|
message: '请输入必填项'
|
|
7100
7245
|
}]
|
|
7101
7246
|
}, /*#__PURE__*/React.createElement(Input, {
|
|
7102
|
-
maxLength:
|
|
7103
|
-
placeholder: "\u6700\u591A\u8F93\
|
|
7247
|
+
maxLength: 100,
|
|
7248
|
+
placeholder: "\u6700\u591A\u8F93\u5165100\u4E2A\u5B57\u7B26"
|
|
7104
7249
|
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
7105
7250
|
label: "\u5BF9\u5E94\u6211\u7684DID",
|
|
7106
7251
|
name: "companyDid",
|
|
@@ -7131,83 +7276,6 @@ function modalcomfirm$1(props) {
|
|
|
7131
7276
|
}, "\u53D6\u6D88")))));
|
|
7132
7277
|
}
|
|
7133
7278
|
|
|
7134
|
-
var CustomerPage = /*#__PURE__*/function (_React$Component) {
|
|
7135
|
-
_inherits(CustomerPage, _React$Component);
|
|
7136
|
-
|
|
7137
|
-
var _super = _createSuper(CustomerPage);
|
|
7138
|
-
|
|
7139
|
-
function CustomerPage(props) {
|
|
7140
|
-
var _this;
|
|
7141
|
-
|
|
7142
|
-
_classCallCheck(this, CustomerPage);
|
|
7143
|
-
|
|
7144
|
-
_this = _super.call(this, props);
|
|
7145
|
-
|
|
7146
|
-
_this.onPageChange = function (page, pageSize) {
|
|
7147
|
-
_this.props.onChange(page, pageSize);
|
|
7148
|
-
};
|
|
7149
|
-
|
|
7150
|
-
_this.onShowSizeChange = function (current, pageSize) {
|
|
7151
|
-
_this.props.onChange(current, pageSize);
|
|
7152
|
-
};
|
|
7153
|
-
|
|
7154
|
-
_this.state = {
|
|
7155
|
-
pageMeta: _this.props.data
|
|
7156
|
-
};
|
|
7157
|
-
return _this;
|
|
7158
|
-
} // 点击下标改变页面
|
|
7159
|
-
|
|
7160
|
-
|
|
7161
|
-
_createClass(CustomerPage, [{
|
|
7162
|
-
key: "componentWillReceiveProps",
|
|
7163
|
-
value: function componentWillReceiveProps(nextProps) {
|
|
7164
|
-
if (nextProps.data !== this.props.data) {
|
|
7165
|
-
this.setState({
|
|
7166
|
-
pageMeta: nextProps.data
|
|
7167
|
-
});
|
|
7168
|
-
}
|
|
7169
|
-
}
|
|
7170
|
-
}, {
|
|
7171
|
-
key: "render",
|
|
7172
|
-
value: function render() {
|
|
7173
|
-
var _this2 = this;
|
|
7174
|
-
|
|
7175
|
-
var pageMeta = this.state.pageMeta;
|
|
7176
|
-
var isShowPageSize = this.props.showSizeChanger !== undefined ? this.props.showSizeChanger : true;
|
|
7177
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
7178
|
-
style: {
|
|
7179
|
-
padding: '16px 10px',
|
|
7180
|
-
textAlign: 'center'
|
|
7181
|
-
}
|
|
7182
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
7183
|
-
className: "my-pagination-div"
|
|
7184
|
-
}, /*#__PURE__*/React.createElement(Pagination$1, {
|
|
7185
|
-
size: "small",
|
|
7186
|
-
showQuickJumper: true,
|
|
7187
|
-
defaultCurrent: pageMeta.pageNum,
|
|
7188
|
-
total: pageMeta.total,
|
|
7189
|
-
current: pageMeta.pageNum,
|
|
7190
|
-
pageSize: pageMeta.pageSize,
|
|
7191
|
-
pageSizeOptions: this.props.pageSizeOptions || [],
|
|
7192
|
-
showTotal: function showTotal(total, range) {
|
|
7193
|
-
if (total > 0) {
|
|
7194
|
-
return /*#__PURE__*/React.createElement("span", null, !_this2.props.hideTotal && /*#__PURE__*/React.createElement("span", null, "\u7B2C ", (pageMeta.pageNum - 1) * pageMeta.pageSize + 1, " - ", pageMeta.pageNum * pageMeta.pageSize, " \u6761\uFF0C\u5171\u6709", /*#__PURE__*/React.createElement("span", {
|
|
7195
|
-
className: "number"
|
|
7196
|
-
}, total), "\u6761"));
|
|
7197
|
-
}
|
|
7198
|
-
|
|
7199
|
-
return '';
|
|
7200
|
-
},
|
|
7201
|
-
onChange: this.onPageChange,
|
|
7202
|
-
onShowSizeChange: this.onShowSizeChange,
|
|
7203
|
-
showSizeChanger: pageMeta.total > 0 && isShowPageSize === true ? true : false
|
|
7204
|
-
})));
|
|
7205
|
-
}
|
|
7206
|
-
}]);
|
|
7207
|
-
|
|
7208
|
-
return CustomerPage;
|
|
7209
|
-
}(React.Component);
|
|
7210
|
-
|
|
7211
7279
|
function modalcomfirm$2(props) {
|
|
7212
7280
|
var controller = WhiteList.useController();
|
|
7213
7281
|
var clientInfo = controller.useMemo(function (s) {
|
|
@@ -7228,7 +7296,8 @@ function modalcomfirm$2(props) {
|
|
|
7228
7296
|
|
|
7229
7297
|
var _useState3 = useState({
|
|
7230
7298
|
pageNum: 1,
|
|
7231
|
-
pageSize: 10
|
|
7299
|
+
pageSize: 10,
|
|
7300
|
+
total: 0
|
|
7232
7301
|
}),
|
|
7233
7302
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
7234
7303
|
pageMeta = _useState4[0],
|
|
@@ -7250,12 +7319,6 @@ function modalcomfirm$2(props) {
|
|
|
7250
7319
|
var listNature = controller.useMemo(function (s) {
|
|
7251
7320
|
return s.listNature;
|
|
7252
7321
|
}, []);
|
|
7253
|
-
|
|
7254
|
-
var _useState9 = useState(''),
|
|
7255
|
-
_useState10 = _slicedToArray(_useState9, 2),
|
|
7256
|
-
companyDidNote = _useState10[0],
|
|
7257
|
-
setNote = _useState10[1];
|
|
7258
|
-
|
|
7259
7322
|
useEffect(function () {
|
|
7260
7323
|
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
7261
7324
|
var res;
|
|
@@ -7331,16 +7394,24 @@ function modalcomfirm$2(props) {
|
|
|
7331
7394
|
var columns = useMemo(function () {
|
|
7332
7395
|
return [{
|
|
7333
7396
|
title: 'DID',
|
|
7334
|
-
dataIndex: 'customerDid'
|
|
7397
|
+
dataIndex: 'customerDid',
|
|
7398
|
+
render: function render(text, record) {
|
|
7399
|
+
if (text) {
|
|
7400
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", null, record.customerDidNote), text);
|
|
7401
|
+
} else {
|
|
7402
|
+
return '';
|
|
7403
|
+
}
|
|
7404
|
+
}
|
|
7335
7405
|
}, {
|
|
7336
7406
|
title: '所属公司',
|
|
7337
|
-
dataIndex: 'customerName'
|
|
7407
|
+
dataIndex: 'customerName',
|
|
7408
|
+
width: 200
|
|
7338
7409
|
}, {
|
|
7339
7410
|
title: '对应我的DID',
|
|
7340
7411
|
dataIndex: 'companyDid',
|
|
7341
7412
|
render: function render(text, record) {
|
|
7342
7413
|
if (text) {
|
|
7343
|
-
return /*#__PURE__*/React.createElement("
|
|
7414
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", null, record.companyDidNote), text);
|
|
7344
7415
|
} else {
|
|
7345
7416
|
return '';
|
|
7346
7417
|
}
|
|
@@ -7424,10 +7495,13 @@ function modalcomfirm$2(props) {
|
|
|
7424
7495
|
visible: true,
|
|
7425
7496
|
footer: null,
|
|
7426
7497
|
onCancel: handleCancel,
|
|
7427
|
-
width:
|
|
7498
|
+
width: 1000
|
|
7428
7499
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7429
7500
|
style: {
|
|
7430
|
-
marginBottom: 24
|
|
7501
|
+
marginBottom: 24,
|
|
7502
|
+
display: 'flex',
|
|
7503
|
+
alignItems: 'center',
|
|
7504
|
+
justifyContent: 'space-between'
|
|
7431
7505
|
}
|
|
7432
7506
|
}, /*#__PURE__*/React.createElement(AdvancedSearch, {
|
|
7433
7507
|
width: 480,
|
|
@@ -7443,24 +7517,34 @@ function modalcomfirm$2(props) {
|
|
|
7443
7517
|
compact: true,
|
|
7444
7518
|
schema: schema,
|
|
7445
7519
|
defaultValue: _.pick(params, ['customerDid', 'customerDidNote', 'companyDid', 'customerName'])
|
|
7446
|
-
}))
|
|
7447
|
-
rowSelection: rowSelection,
|
|
7448
|
-
columns: columns,
|
|
7449
|
-
rowKey: "customerDid",
|
|
7450
|
-
dataSource: list,
|
|
7451
|
-
pagination: false
|
|
7452
|
-
}), pageMeta && /*#__PURE__*/React.createElement(CustomerPage, {
|
|
7453
|
-
data: pageMeta,
|
|
7454
|
-
onChange: onPageChange
|
|
7455
|
-
}), /*#__PURE__*/React.createElement(Button, {
|
|
7520
|
+
})), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
|
|
7456
7521
|
onClick: handleCancel,
|
|
7457
7522
|
style: {
|
|
7458
7523
|
marginRight: 20
|
|
7459
7524
|
}
|
|
7460
7525
|
}, "\u53D6\u6D88"), /*#__PURE__*/React.createElement(Button, {
|
|
7526
|
+
disabled: selectedRowKeys.length > 0 ? false : true,
|
|
7461
7527
|
type: "primary",
|
|
7462
7528
|
onClick: onSubmit
|
|
7463
|
-
}, "\u63D0\u4EA4")))
|
|
7529
|
+
}, "\u63D0\u4EA4"))), /*#__PURE__*/React.createElement("p", null, clientInfo.noticeMessage), /*#__PURE__*/React.createElement(Table$1, {
|
|
7530
|
+
rowSelection: rowSelection,
|
|
7531
|
+
columns: columns,
|
|
7532
|
+
rowKey: "customerDid",
|
|
7533
|
+
dataSource: list,
|
|
7534
|
+
pagination: false
|
|
7535
|
+
}), pageMeta && /*#__PURE__*/React.createElement(Pagination, {
|
|
7536
|
+
onChange: onPageChange,
|
|
7537
|
+
style: {
|
|
7538
|
+
padding: '16px 0',
|
|
7539
|
+
flex: 'none',
|
|
7540
|
+
background: 'white',
|
|
7541
|
+
textAlign: 'center'
|
|
7542
|
+
},
|
|
7543
|
+
total: pageMeta.total,
|
|
7544
|
+
pageSize: pageMeta.pageSize,
|
|
7545
|
+
current: pageMeta.pageNum,
|
|
7546
|
+
showSizeChanger: true
|
|
7547
|
+
})));
|
|
7464
7548
|
}
|
|
7465
7549
|
|
|
7466
7550
|
var MainContext = /*#__PURE__*/createContext(null);
|