kts-components-document-access-point 1.4.6 → 1.4.9
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/index.esm.js +96 -29
- package/dist/index.js +96 -29
- package/package.json +4 -4
- package/src/DocumentWhiteList/ui/main/black.tsx +10 -9
- package/src/DocumentWhiteList/ui/main/white.tsx +14 -7
- package/src/DocumentWhiteList/ui/pageheader/BlackHeader.tsx +4 -4
- package/src/DocumentsCont/index.tsx +2 -5
- package/src/DocumentsList/index.less +18 -0
- package/src/DocumentsList/ui/ModalComfirm/index.tsx +1 -3
- package/src/DocumentsList/ui/PageHeader/index.tsx +2 -2
- package/src/DocumentsList/ui/RuleTable/index.tsx +16 -3
- package/src/DocumentsList/ui/sendlist/index.tsx +21 -3
package/dist/index.esm.js
CHANGED
|
@@ -3197,12 +3197,10 @@ function modalcomfirm(props) {
|
|
|
3197
3197
|
};
|
|
3198
3198
|
}, []);
|
|
3199
3199
|
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Modal, {
|
|
3200
|
-
title: "\u8BF7\u9009\u62E9\u6211\u53F8\u5BF9\
|
|
3200
|
+
title: "\u8BF7\u9009\u62E9\u6211\u53F8\u5BF9\u5E94DID",
|
|
3201
3201
|
visible: true,
|
|
3202
3202
|
onOk: handleOk,
|
|
3203
|
-
onCancel: handleCancel
|
|
3204
|
-
okText: "\u786E\u5B9A",
|
|
3205
|
-
cancelText: "\u53D6\u6D88"
|
|
3203
|
+
onCancel: handleCancel
|
|
3206
3204
|
}, /*#__PURE__*/React.createElement(Radio.Group, {
|
|
3207
3205
|
onChange: targetSelect,
|
|
3208
3206
|
value: targetId
|
|
@@ -3604,9 +3602,15 @@ var PageHeader = (function () {
|
|
|
3604
3602
|
value: type,
|
|
3605
3603
|
onChange: switchType
|
|
3606
3604
|
}, /*#__PURE__*/React.createElement(Radio$1.Button, {
|
|
3607
|
-
value: 1
|
|
3605
|
+
value: 1,
|
|
3606
|
+
style: {
|
|
3607
|
+
whiteSpace: 'nowrap'
|
|
3608
|
+
}
|
|
3608
3609
|
}, "\u5355\u636E\u6821\u9A8C\u89C4\u5219\u914D\u7F6E"), /*#__PURE__*/React.createElement(Radio$1.Button, {
|
|
3609
|
-
value: 2
|
|
3610
|
+
value: 2,
|
|
3611
|
+
style: {
|
|
3612
|
+
whiteSpace: 'nowrap'
|
|
3613
|
+
}
|
|
3610
3614
|
}, "\u53D1\u5E03\u8BB0\u5F55"))), /*#__PURE__*/React.createElement(AdvancedSearch, {
|
|
3611
3615
|
width: 480,
|
|
3612
3616
|
height: 44,
|
|
@@ -3707,7 +3711,7 @@ var PageHeader = (function () {
|
|
|
3707
3711
|
}));
|
|
3708
3712
|
});
|
|
3709
3713
|
|
|
3710
|
-
var css_248z$3 = ".header {\n padding: 10px 0px;\n display: flex;\n align-items: center;\n}\n.header .buttonGroup {\n margin-right: 20px;\n white-space: nowrap;\n}\n.header .buttons {\n text-align: right;\n flex: 1;\n white-space: nowrap;\n}\n.tabel-action {\n padding: 0 5px;\n font-size: 12px;\n font-family: PingFangSC-Regular, PingFang SC;\n font-weight: 400;\n color: #0074ff;\n white-space: nowrap;\n cursor: pointer;\n}\n";
|
|
3714
|
+
var css_248z$3 = ".header {\n padding: 10px 0px;\n display: flex;\n align-items: center;\n}\n.header .buttonGroup {\n margin-right: 20px;\n white-space: nowrap;\n}\n.header .buttons {\n text-align: right;\n flex: 1;\n white-space: nowrap;\n}\n.tabel-action {\n padding: 0 5px;\n font-size: 12px;\n font-family: PingFangSC-Regular, PingFang SC;\n font-weight: 400;\n color: #0074ff;\n white-space: nowrap;\n cursor: pointer;\n}\n.ktsAntX-xui-page-header-foot {\n overflow: inherit !important;\n}\n.ktsAntX-table .ktsAntX-table-thead > tr > th {\n background: #fafafa !important;\n}\n.ktsAntX-table-ping-left:not(.ktsAntX-table-has-fix-left) .ktsAntX-table-container::before {\n box-shadow: none !important;\n}\n.fixheight .ktsAntX-table .ktsAntX-table-thead > tr > th,\n.fixheight .ktsAntX-table .ktsAntX-table-tbody > tr > td,\n.fixheight .ktsAntX-table .ktsAntX-table tfoot > tr > th,\n.fixheight .ktsAntX-table .ktsAntX-table tfoot > tr > td {\n padding: 5px 16px;\n height: 50px;\n}\n.ktsAntX-table-thead > tr > th:not(:last-child):not(.ktsAntX-table-selection-column):not(.ktsAntX-table-row-expand-icon-cell):not([colspan])::before {\n opacity: 0;\n}\n";
|
|
3711
3715
|
styleInject(css_248z$3);
|
|
3712
3716
|
|
|
3713
3717
|
var attributionEnum = {
|
|
@@ -3907,15 +3911,19 @@ function validaterule(props) {
|
|
|
3907
3911
|
|
|
3908
3912
|
var columns = [{
|
|
3909
3913
|
title: '配置名称',
|
|
3910
|
-
dataIndex: 'configName'
|
|
3914
|
+
dataIndex: 'configName',
|
|
3915
|
+
width: 160,
|
|
3916
|
+
ellipsis: true
|
|
3911
3917
|
}, {
|
|
3912
3918
|
title: '单据大类',
|
|
3913
3919
|
dataIndex: 'type',
|
|
3920
|
+
width: 120,
|
|
3914
3921
|
render: function render(text) {
|
|
3915
3922
|
return bill[text];
|
|
3916
3923
|
}
|
|
3917
3924
|
}, {
|
|
3918
3925
|
title: '单据子类',
|
|
3926
|
+
width: 120,
|
|
3919
3927
|
dataIndex: 'profile',
|
|
3920
3928
|
render: function render(text, record) {
|
|
3921
3929
|
if (text) {
|
|
@@ -3931,24 +3939,31 @@ function validaterule(props) {
|
|
|
3931
3939
|
}, {
|
|
3932
3940
|
title: '收发角色',
|
|
3933
3941
|
dataIndex: 'attribution',
|
|
3942
|
+
width: 120,
|
|
3934
3943
|
render: function render(text) {
|
|
3935
3944
|
return attributionEnum[text];
|
|
3936
3945
|
}
|
|
3937
3946
|
}, {
|
|
3938
3947
|
title: '创建时间',
|
|
3939
3948
|
dataIndex: 'createAt',
|
|
3949
|
+
ellipsis: true,
|
|
3950
|
+
width: 160,
|
|
3940
3951
|
render: function render(text) {
|
|
3941
3952
|
return moment(text).format('YYYY-MM-DD HH:mm');
|
|
3942
3953
|
}
|
|
3943
3954
|
}, {
|
|
3944
3955
|
title: '更新时间',
|
|
3945
3956
|
dataIndex: 'updateAt',
|
|
3957
|
+
ellipsis: true,
|
|
3958
|
+
width: 160,
|
|
3946
3959
|
render: function render(text) {
|
|
3947
3960
|
return moment(text).format('YYYY-MM-DD HH:mm');
|
|
3948
3961
|
}
|
|
3949
3962
|
}, {
|
|
3950
3963
|
title: '操作',
|
|
3964
|
+
width: 170,
|
|
3951
3965
|
dataIndex: 'console',
|
|
3966
|
+
fixed: 'right',
|
|
3952
3967
|
render: function render(text, record) {
|
|
3953
3968
|
return /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement("a", {
|
|
3954
3969
|
className: "tabel-action",
|
|
@@ -4064,13 +4079,20 @@ function validaterule(props) {
|
|
|
4064
4079
|
};
|
|
4065
4080
|
}())();
|
|
4066
4081
|
}, []);
|
|
4067
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(
|
|
4082
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
4083
|
+
style: {
|
|
4084
|
+
flex: 'none',
|
|
4085
|
+
position: 'relative',
|
|
4086
|
+
zIndex: 1
|
|
4087
|
+
}
|
|
4088
|
+
}, /*#__PURE__*/React.createElement(PageHeader, null)), /*#__PURE__*/React.createElement(AutoTableContainer, {
|
|
4068
4089
|
style: {
|
|
4069
4090
|
flex: 1,
|
|
4070
4091
|
padding: '0 20px',
|
|
4071
|
-
|
|
4092
|
+
background: '#F4F4F4'
|
|
4072
4093
|
}
|
|
4073
4094
|
}, /*#__PURE__*/React.createElement(Table$1, {
|
|
4095
|
+
className: 'fixheight',
|
|
4074
4096
|
columns: columns,
|
|
4075
4097
|
rowKey: "configNumber",
|
|
4076
4098
|
rowSelection: rowSelection,
|
|
@@ -4311,10 +4333,14 @@ function validaterule$1(props) {
|
|
|
4311
4333
|
var columns = useMemo(function () {
|
|
4312
4334
|
return [{
|
|
4313
4335
|
title: '配置名称',
|
|
4314
|
-
dataIndex: 'configName'
|
|
4336
|
+
dataIndex: 'configName',
|
|
4337
|
+
ellipsis: true,
|
|
4338
|
+
width: 160
|
|
4315
4339
|
}, {
|
|
4316
4340
|
title: '使用标识',
|
|
4317
4341
|
dataIndex: 'effectStatus',
|
|
4342
|
+
width: 120,
|
|
4343
|
+
ellipsis: true,
|
|
4318
4344
|
render: function render(text) {
|
|
4319
4345
|
if (text === 0) {
|
|
4320
4346
|
return /*#__PURE__*/React.createElement("span", null, "\u5DF2\u5931\u6548");
|
|
@@ -4330,12 +4356,14 @@ function validaterule$1(props) {
|
|
|
4330
4356
|
}
|
|
4331
4357
|
}, {
|
|
4332
4358
|
title: '单据类型',
|
|
4359
|
+
width: 120,
|
|
4333
4360
|
dataIndex: 'type',
|
|
4334
4361
|
render: function render(text) {
|
|
4335
4362
|
return bill[text];
|
|
4336
4363
|
}
|
|
4337
4364
|
}, {
|
|
4338
4365
|
title: '单据子类',
|
|
4366
|
+
width: 120,
|
|
4339
4367
|
dataIndex: 'profile',
|
|
4340
4368
|
render: function render(text, record) {
|
|
4341
4369
|
if (text) {
|
|
@@ -4351,28 +4379,40 @@ function validaterule$1(props) {
|
|
|
4351
4379
|
}, {
|
|
4352
4380
|
title: '我的收发角色',
|
|
4353
4381
|
dataIndex: 'attribution',
|
|
4382
|
+
width: 160,
|
|
4383
|
+
ellipsis: true,
|
|
4354
4384
|
render: function render(text) {
|
|
4355
4385
|
return attributionEnum[text];
|
|
4356
4386
|
}
|
|
4357
4387
|
}, {
|
|
4358
4388
|
title: '我司对应DID',
|
|
4359
4389
|
dataIndex: 'senderParticipantId',
|
|
4390
|
+
ellipsis: true,
|
|
4391
|
+
width: 200,
|
|
4360
4392
|
render: function render(text, record) {
|
|
4361
4393
|
if (record.senderParticipantNote) {
|
|
4362
|
-
return /*#__PURE__*/React.createElement("
|
|
4394
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
4395
|
+
title: record.senderParticipantNote + '' + text
|
|
4396
|
+
}, record.senderParticipantNote, text);
|
|
4363
4397
|
} else {
|
|
4364
4398
|
return /*#__PURE__*/React.createElement("span", null, text);
|
|
4365
4399
|
}
|
|
4366
4400
|
}
|
|
4367
4401
|
}, {
|
|
4368
4402
|
title: '接受对象',
|
|
4403
|
+
width: 120,
|
|
4404
|
+
ellipsis: true,
|
|
4369
4405
|
dataIndex: 'receiverParticipantId'
|
|
4370
4406
|
}, {
|
|
4371
4407
|
title: '接受对象所属公司',
|
|
4408
|
+
width: 160,
|
|
4409
|
+
ellipsis: true,
|
|
4372
4410
|
dataIndex: 'receiverCompany'
|
|
4373
4411
|
}, {
|
|
4374
4412
|
title: '发布时间',
|
|
4375
4413
|
dataIndex: 'createAt',
|
|
4414
|
+
width: 160,
|
|
4415
|
+
ellipsis: true,
|
|
4376
4416
|
render: function render(text) {
|
|
4377
4417
|
return moment(text).format('YYYY-MM-DD HH:mm');
|
|
4378
4418
|
}
|
|
@@ -4388,6 +4428,8 @@ function validaterule$1(props) {
|
|
|
4388
4428
|
{
|
|
4389
4429
|
title: '操作',
|
|
4390
4430
|
dataIndex: 'console',
|
|
4431
|
+
width: 80,
|
|
4432
|
+
fixed: 'right',
|
|
4391
4433
|
render: function render(text, record) {
|
|
4392
4434
|
return /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement("a", {
|
|
4393
4435
|
className: "tabel-action",
|
|
@@ -4405,6 +4447,7 @@ function validaterule$1(props) {
|
|
|
4405
4447
|
backgroundColor: '#efefef'
|
|
4406
4448
|
}
|
|
4407
4449
|
}, /*#__PURE__*/React.createElement(Table$1, {
|
|
4450
|
+
className: 'fixheight',
|
|
4408
4451
|
columns: columns,
|
|
4409
4452
|
rowKey: "id",
|
|
4410
4453
|
dataSource: list,
|
|
@@ -4556,9 +4599,7 @@ var DocumentsCont = /*#__PURE__*/function (_React$Component) {
|
|
|
4556
4599
|
}(React.Component);
|
|
4557
4600
|
|
|
4558
4601
|
var Main$2 = function Main(props) {
|
|
4559
|
-
var initRoute = props.path || '/rulelist';
|
|
4560
|
-
// console.log(uploadConfig);
|
|
4561
|
-
|
|
4602
|
+
var initRoute = props.path || '/rulelist';
|
|
4562
4603
|
return /*#__PURE__*/React.createElement(ConfigProvider, {
|
|
4563
4604
|
locale: zhCN
|
|
4564
4605
|
}, /*#__PURE__*/React.createElement(MemoryRouter, null, /*#__PURE__*/React.createElement(Switch$1, null, /*#__PURE__*/React.createElement(Route, {
|
|
@@ -6686,8 +6727,7 @@ function Rule$1(props) {
|
|
|
6686
6727
|
}),
|
|
6687
6728
|
_useState2 = _slicedToArray(_useState, 2),
|
|
6688
6729
|
pageMeta = _useState2[0],
|
|
6689
|
-
setpageMeta = _useState2[1];
|
|
6690
|
-
|
|
6730
|
+
setpageMeta = _useState2[1];
|
|
6691
6731
|
|
|
6692
6732
|
var whiteParams = controller.useMemo(function (s) {
|
|
6693
6733
|
return s.whiteParams;
|
|
@@ -6749,9 +6789,13 @@ function Rule$1(props) {
|
|
|
6749
6789
|
return [{
|
|
6750
6790
|
title: 'DID',
|
|
6751
6791
|
dataIndex: 'customerDid',
|
|
6792
|
+
width: 200,
|
|
6793
|
+
ellipsis: true,
|
|
6752
6794
|
render: function render(text, record) {
|
|
6753
6795
|
if (text) {
|
|
6754
|
-
return /*#__PURE__*/React.createElement("
|
|
6796
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
6797
|
+
title: record.customerDidNote + ' ' + text
|
|
6798
|
+
}, record.customerDidNote, " ", text);
|
|
6755
6799
|
} else {
|
|
6756
6800
|
return '';
|
|
6757
6801
|
}
|
|
@@ -6759,11 +6803,13 @@ function Rule$1(props) {
|
|
|
6759
6803
|
}, {
|
|
6760
6804
|
title: '所属公司',
|
|
6761
6805
|
dataIndex: 'customerName',
|
|
6762
|
-
width: 200
|
|
6806
|
+
width: 200,
|
|
6807
|
+
ellipsis: true
|
|
6763
6808
|
}, {
|
|
6764
6809
|
title: '数据状态',
|
|
6765
6810
|
dataIndex: 'dataStatus',
|
|
6766
6811
|
width: 100,
|
|
6812
|
+
ellipsis: true,
|
|
6767
6813
|
render: function render(text) {
|
|
6768
6814
|
if (text === 2) {
|
|
6769
6815
|
return /*#__PURE__*/React.createElement("span", null, "\u505C\u7528");
|
|
@@ -6780,9 +6826,13 @@ function Rule$1(props) {
|
|
|
6780
6826
|
}, {
|
|
6781
6827
|
title: '我司对应DID',
|
|
6782
6828
|
dataIndex: 'companyDid',
|
|
6829
|
+
width: 200,
|
|
6830
|
+
ellipsis: true,
|
|
6783
6831
|
render: function render(text, record) {
|
|
6784
6832
|
if (text) {
|
|
6785
|
-
return /*#__PURE__*/React.createElement("
|
|
6833
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
6834
|
+
title: record.companyDidNote + '' + text
|
|
6835
|
+
}, record.companyDidNote, " ", text);
|
|
6786
6836
|
} else {
|
|
6787
6837
|
return '';
|
|
6788
6838
|
}
|
|
@@ -6791,6 +6841,7 @@ function Rule$1(props) {
|
|
|
6791
6841
|
title: '加入时间',
|
|
6792
6842
|
dataIndex: 'createTime',
|
|
6793
6843
|
width: 200,
|
|
6844
|
+
ellipsis: true,
|
|
6794
6845
|
render: function render(text) {
|
|
6795
6846
|
return moment(text).format('YYYY-MM-DD HH:mm');
|
|
6796
6847
|
}
|
|
@@ -6875,6 +6926,10 @@ function Rule$1(props) {
|
|
|
6875
6926
|
}
|
|
6876
6927
|
}, /*#__PURE__*/React.createElement(Table$1, {
|
|
6877
6928
|
rowSelection: rowSelection,
|
|
6929
|
+
scroll: {
|
|
6930
|
+
x: '1400',
|
|
6931
|
+
y: 'max-content'
|
|
6932
|
+
},
|
|
6878
6933
|
columns: columns,
|
|
6879
6934
|
rowKey: "index",
|
|
6880
6935
|
dataSource: list,
|
|
@@ -7109,6 +7164,7 @@ var Header$1 = (function () {
|
|
|
7109
7164
|
}, /*#__PURE__*/React.createElement(PageHeaderFoot, {
|
|
7110
7165
|
expandLeft: topExpand(),
|
|
7111
7166
|
expandRight: [/*#__PURE__*/React.createElement(Button$1, {
|
|
7167
|
+
key: '0',
|
|
7112
7168
|
disabled: disabled,
|
|
7113
7169
|
onClick: function onClick() {
|
|
7114
7170
|
batchBlockList(2);
|
|
@@ -7117,6 +7173,7 @@ var Header$1 = (function () {
|
|
|
7117
7173
|
marginRight: 10
|
|
7118
7174
|
}
|
|
7119
7175
|
}, "\u6279\u91CF\u505C\u7528"), /*#__PURE__*/React.createElement(Button$1, {
|
|
7176
|
+
key: '1',
|
|
7120
7177
|
disabled: disabled,
|
|
7121
7178
|
onClick: function onClick() {
|
|
7122
7179
|
batchBlockList(1);
|
|
@@ -7125,9 +7182,11 @@ var Header$1 = (function () {
|
|
|
7125
7182
|
marginRight: 10
|
|
7126
7183
|
}
|
|
7127
7184
|
}, "\u6279\u91CF\u542F\u7528"), /*#__PURE__*/React.createElement(Button$1, {
|
|
7185
|
+
key: '2',
|
|
7128
7186
|
type: "primary",
|
|
7129
7187
|
onClick: createWhiteList
|
|
7130
7188
|
}, "\u624B\u52A8\u589E\u52A0\u9ED1\u540D\u5355"), clientInfo.showButton && /*#__PURE__*/React.createElement(Button$1, {
|
|
7189
|
+
key: '3',
|
|
7131
7190
|
type: "primary",
|
|
7132
7191
|
style: {
|
|
7133
7192
|
marginLeft: 10
|
|
@@ -7216,9 +7275,13 @@ function Rule$2(props) {
|
|
|
7216
7275
|
return [{
|
|
7217
7276
|
title: 'DID',
|
|
7218
7277
|
dataIndex: 'customerDid',
|
|
7278
|
+
width: 200,
|
|
7279
|
+
ellipsis: true,
|
|
7219
7280
|
render: function render(text, record) {
|
|
7220
7281
|
if (text) {
|
|
7221
|
-
return /*#__PURE__*/React.createElement("
|
|
7282
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
7283
|
+
title: record.customerDidNote + '' + text
|
|
7284
|
+
}, record.customerDidNote, text);
|
|
7222
7285
|
} else {
|
|
7223
7286
|
return '';
|
|
7224
7287
|
}
|
|
@@ -7226,6 +7289,7 @@ function Rule$2(props) {
|
|
|
7226
7289
|
}, {
|
|
7227
7290
|
title: '所属公司',
|
|
7228
7291
|
width: 200,
|
|
7292
|
+
ellipsis: true,
|
|
7229
7293
|
dataIndex: 'customerName'
|
|
7230
7294
|
}, {
|
|
7231
7295
|
title: '数据状态',
|
|
@@ -7246,10 +7310,14 @@ function Rule$2(props) {
|
|
|
7246
7310
|
}
|
|
7247
7311
|
}, {
|
|
7248
7312
|
title: '我司对应DID',
|
|
7313
|
+
width: 200,
|
|
7314
|
+
ellipsis: true,
|
|
7249
7315
|
dataIndex: 'companyDid',
|
|
7250
7316
|
render: function render(text, record) {
|
|
7251
7317
|
if (text) {
|
|
7252
|
-
return /*#__PURE__*/React.createElement("
|
|
7318
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
7319
|
+
title: record.companyDidNote + '' + text
|
|
7320
|
+
}, record.companyDidNote, " ", text);
|
|
7253
7321
|
} else {
|
|
7254
7322
|
return '';
|
|
7255
7323
|
}
|
|
@@ -7257,17 +7325,12 @@ function Rule$2(props) {
|
|
|
7257
7325
|
}, {
|
|
7258
7326
|
title: '加入时间',
|
|
7259
7327
|
dataIndex: 'createTime',
|
|
7328
|
+
ellipsis: true,
|
|
7260
7329
|
width: 200,
|
|
7261
7330
|
render: function render(text) {
|
|
7262
7331
|
return moment(text).format('YYYY-MM-DD HH:mm');
|
|
7263
7332
|
}
|
|
7264
|
-
},
|
|
7265
|
-
// title: '最近更新时间',
|
|
7266
|
-
// width: 200,
|
|
7267
|
-
// dataIndex: 'updateTime',
|
|
7268
|
-
// render: (text: any) => moment(text).format('YYYY-MM-DD HH:mm')
|
|
7269
|
-
// },
|
|
7270
|
-
{
|
|
7333
|
+
}, {
|
|
7271
7334
|
title: '操作',
|
|
7272
7335
|
width: 80,
|
|
7273
7336
|
dataIndex: 'console',
|
|
@@ -7347,6 +7410,10 @@ function Rule$2(props) {
|
|
|
7347
7410
|
backgroundColor: '#efefef'
|
|
7348
7411
|
}
|
|
7349
7412
|
}, /*#__PURE__*/React.createElement(Table$1, {
|
|
7413
|
+
scroll: {
|
|
7414
|
+
x: '1400',
|
|
7415
|
+
y: 'max-content'
|
|
7416
|
+
},
|
|
7350
7417
|
rowSelection: rowSelection,
|
|
7351
7418
|
columns: columns,
|
|
7352
7419
|
rowKey: "index",
|
package/dist/index.js
CHANGED
|
@@ -3211,12 +3211,10 @@ function modalcomfirm(props) {
|
|
|
3211
3211
|
};
|
|
3212
3212
|
}, []);
|
|
3213
3213
|
return /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(ktsXui.Modal, {
|
|
3214
|
-
title: "\u8BF7\u9009\u62E9\u6211\u53F8\u5BF9\
|
|
3214
|
+
title: "\u8BF7\u9009\u62E9\u6211\u53F8\u5BF9\u5E94DID",
|
|
3215
3215
|
visible: true,
|
|
3216
3216
|
onOk: handleOk,
|
|
3217
|
-
onCancel: handleCancel
|
|
3218
|
-
okText: "\u786E\u5B9A",
|
|
3219
|
-
cancelText: "\u53D6\u6D88"
|
|
3217
|
+
onCancel: handleCancel
|
|
3220
3218
|
}, /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX4.Radio.Group, {
|
|
3221
3219
|
onChange: targetSelect,
|
|
3222
3220
|
value: targetId
|
|
@@ -3618,9 +3616,15 @@ var PageHeader = (function () {
|
|
|
3618
3616
|
value: type,
|
|
3619
3617
|
onChange: switchType
|
|
3620
3618
|
}, /*#__PURE__*/React__default['default'].createElement(ktsXui.Radio.Button, {
|
|
3621
|
-
value: 1
|
|
3619
|
+
value: 1,
|
|
3620
|
+
style: {
|
|
3621
|
+
whiteSpace: 'nowrap'
|
|
3622
|
+
}
|
|
3622
3623
|
}, "\u5355\u636E\u6821\u9A8C\u89C4\u5219\u914D\u7F6E"), /*#__PURE__*/React__default['default'].createElement(ktsXui.Radio.Button, {
|
|
3623
|
-
value: 2
|
|
3624
|
+
value: 2,
|
|
3625
|
+
style: {
|
|
3626
|
+
whiteSpace: 'nowrap'
|
|
3627
|
+
}
|
|
3624
3628
|
}, "\u53D1\u5E03\u8BB0\u5F55"))), /*#__PURE__*/React__default['default'].createElement(ktsComponents.AdvancedSearch, {
|
|
3625
3629
|
width: 480,
|
|
3626
3630
|
height: 44,
|
|
@@ -3721,7 +3725,7 @@ var PageHeader = (function () {
|
|
|
3721
3725
|
}));
|
|
3722
3726
|
});
|
|
3723
3727
|
|
|
3724
|
-
var css_248z$3 = ".header {\n padding: 10px 0px;\n display: flex;\n align-items: center;\n}\n.header .buttonGroup {\n margin-right: 20px;\n white-space: nowrap;\n}\n.header .buttons {\n text-align: right;\n flex: 1;\n white-space: nowrap;\n}\n.tabel-action {\n padding: 0 5px;\n font-size: 12px;\n font-family: PingFangSC-Regular, PingFang SC;\n font-weight: 400;\n color: #0074ff;\n white-space: nowrap;\n cursor: pointer;\n}\n";
|
|
3728
|
+
var css_248z$3 = ".header {\n padding: 10px 0px;\n display: flex;\n align-items: center;\n}\n.header .buttonGroup {\n margin-right: 20px;\n white-space: nowrap;\n}\n.header .buttons {\n text-align: right;\n flex: 1;\n white-space: nowrap;\n}\n.tabel-action {\n padding: 0 5px;\n font-size: 12px;\n font-family: PingFangSC-Regular, PingFang SC;\n font-weight: 400;\n color: #0074ff;\n white-space: nowrap;\n cursor: pointer;\n}\n.ktsAntX-xui-page-header-foot {\n overflow: inherit !important;\n}\n.ktsAntX-table .ktsAntX-table-thead > tr > th {\n background: #fafafa !important;\n}\n.ktsAntX-table-ping-left:not(.ktsAntX-table-has-fix-left) .ktsAntX-table-container::before {\n box-shadow: none !important;\n}\n.fixheight .ktsAntX-table .ktsAntX-table-thead > tr > th,\n.fixheight .ktsAntX-table .ktsAntX-table-tbody > tr > td,\n.fixheight .ktsAntX-table .ktsAntX-table tfoot > tr > th,\n.fixheight .ktsAntX-table .ktsAntX-table tfoot > tr > td {\n padding: 5px 16px;\n height: 50px;\n}\n.ktsAntX-table-thead > tr > th:not(:last-child):not(.ktsAntX-table-selection-column):not(.ktsAntX-table-row-expand-icon-cell):not([colspan])::before {\n opacity: 0;\n}\n";
|
|
3725
3729
|
styleInject(css_248z$3);
|
|
3726
3730
|
|
|
3727
3731
|
var attributionEnum = {
|
|
@@ -3921,15 +3925,19 @@ function validaterule(props) {
|
|
|
3921
3925
|
|
|
3922
3926
|
var columns = [{
|
|
3923
3927
|
title: '配置名称',
|
|
3924
|
-
dataIndex: 'configName'
|
|
3928
|
+
dataIndex: 'configName',
|
|
3929
|
+
width: 160,
|
|
3930
|
+
ellipsis: true
|
|
3925
3931
|
}, {
|
|
3926
3932
|
title: '单据大类',
|
|
3927
3933
|
dataIndex: 'type',
|
|
3934
|
+
width: 120,
|
|
3928
3935
|
render: function render(text) {
|
|
3929
3936
|
return bill[text];
|
|
3930
3937
|
}
|
|
3931
3938
|
}, {
|
|
3932
3939
|
title: '单据子类',
|
|
3940
|
+
width: 120,
|
|
3933
3941
|
dataIndex: 'profile',
|
|
3934
3942
|
render: function render(text, record) {
|
|
3935
3943
|
if (text) {
|
|
@@ -3945,24 +3953,31 @@ function validaterule(props) {
|
|
|
3945
3953
|
}, {
|
|
3946
3954
|
title: '收发角色',
|
|
3947
3955
|
dataIndex: 'attribution',
|
|
3956
|
+
width: 120,
|
|
3948
3957
|
render: function render(text) {
|
|
3949
3958
|
return attributionEnum[text];
|
|
3950
3959
|
}
|
|
3951
3960
|
}, {
|
|
3952
3961
|
title: '创建时间',
|
|
3953
3962
|
dataIndex: 'createAt',
|
|
3963
|
+
ellipsis: true,
|
|
3964
|
+
width: 160,
|
|
3954
3965
|
render: function render(text) {
|
|
3955
3966
|
return moment__default['default'](text).format('YYYY-MM-DD HH:mm');
|
|
3956
3967
|
}
|
|
3957
3968
|
}, {
|
|
3958
3969
|
title: '更新时间',
|
|
3959
3970
|
dataIndex: 'updateAt',
|
|
3971
|
+
ellipsis: true,
|
|
3972
|
+
width: 160,
|
|
3960
3973
|
render: function render(text) {
|
|
3961
3974
|
return moment__default['default'](text).format('YYYY-MM-DD HH:mm');
|
|
3962
3975
|
}
|
|
3963
3976
|
}, {
|
|
3964
3977
|
title: '操作',
|
|
3978
|
+
width: 170,
|
|
3965
3979
|
dataIndex: 'console',
|
|
3980
|
+
fixed: 'right',
|
|
3966
3981
|
render: function render(text, record) {
|
|
3967
3982
|
return /*#__PURE__*/React__default['default'].createElement("span", null, /*#__PURE__*/React__default['default'].createElement("a", {
|
|
3968
3983
|
className: "tabel-action",
|
|
@@ -4078,13 +4093,20 @@ function validaterule(props) {
|
|
|
4078
4093
|
};
|
|
4079
4094
|
}())();
|
|
4080
4095
|
}, []);
|
|
4081
|
-
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(
|
|
4096
|
+
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4097
|
+
style: {
|
|
4098
|
+
flex: 'none',
|
|
4099
|
+
position: 'relative',
|
|
4100
|
+
zIndex: 1
|
|
4101
|
+
}
|
|
4102
|
+
}, /*#__PURE__*/React__default['default'].createElement(PageHeader, null)), /*#__PURE__*/React__default['default'].createElement(ktsXui.AutoTableContainer, {
|
|
4082
4103
|
style: {
|
|
4083
4104
|
flex: 1,
|
|
4084
4105
|
padding: '0 20px',
|
|
4085
|
-
|
|
4106
|
+
background: '#F4F4F4'
|
|
4086
4107
|
}
|
|
4087
4108
|
}, /*#__PURE__*/React__default['default'].createElement(ktsXui.Table, {
|
|
4109
|
+
className: 'fixheight',
|
|
4088
4110
|
columns: columns,
|
|
4089
4111
|
rowKey: "configNumber",
|
|
4090
4112
|
rowSelection: rowSelection,
|
|
@@ -4325,10 +4347,14 @@ function validaterule$1(props) {
|
|
|
4325
4347
|
var columns = React.useMemo(function () {
|
|
4326
4348
|
return [{
|
|
4327
4349
|
title: '配置名称',
|
|
4328
|
-
dataIndex: 'configName'
|
|
4350
|
+
dataIndex: 'configName',
|
|
4351
|
+
ellipsis: true,
|
|
4352
|
+
width: 160
|
|
4329
4353
|
}, {
|
|
4330
4354
|
title: '使用标识',
|
|
4331
4355
|
dataIndex: 'effectStatus',
|
|
4356
|
+
width: 120,
|
|
4357
|
+
ellipsis: true,
|
|
4332
4358
|
render: function render(text) {
|
|
4333
4359
|
if (text === 0) {
|
|
4334
4360
|
return /*#__PURE__*/React__default['default'].createElement("span", null, "\u5DF2\u5931\u6548");
|
|
@@ -4344,12 +4370,14 @@ function validaterule$1(props) {
|
|
|
4344
4370
|
}
|
|
4345
4371
|
}, {
|
|
4346
4372
|
title: '单据类型',
|
|
4373
|
+
width: 120,
|
|
4347
4374
|
dataIndex: 'type',
|
|
4348
4375
|
render: function render(text) {
|
|
4349
4376
|
return bill[text];
|
|
4350
4377
|
}
|
|
4351
4378
|
}, {
|
|
4352
4379
|
title: '单据子类',
|
|
4380
|
+
width: 120,
|
|
4353
4381
|
dataIndex: 'profile',
|
|
4354
4382
|
render: function render(text, record) {
|
|
4355
4383
|
if (text) {
|
|
@@ -4365,28 +4393,40 @@ function validaterule$1(props) {
|
|
|
4365
4393
|
}, {
|
|
4366
4394
|
title: '我的收发角色',
|
|
4367
4395
|
dataIndex: 'attribution',
|
|
4396
|
+
width: 160,
|
|
4397
|
+
ellipsis: true,
|
|
4368
4398
|
render: function render(text) {
|
|
4369
4399
|
return attributionEnum[text];
|
|
4370
4400
|
}
|
|
4371
4401
|
}, {
|
|
4372
4402
|
title: '我司对应DID',
|
|
4373
4403
|
dataIndex: 'senderParticipantId',
|
|
4404
|
+
ellipsis: true,
|
|
4405
|
+
width: 200,
|
|
4374
4406
|
render: function render(text, record) {
|
|
4375
4407
|
if (record.senderParticipantNote) {
|
|
4376
|
-
return /*#__PURE__*/React__default['default'].createElement("
|
|
4408
|
+
return /*#__PURE__*/React__default['default'].createElement("span", {
|
|
4409
|
+
title: record.senderParticipantNote + '' + text
|
|
4410
|
+
}, record.senderParticipantNote, text);
|
|
4377
4411
|
} else {
|
|
4378
4412
|
return /*#__PURE__*/React__default['default'].createElement("span", null, text);
|
|
4379
4413
|
}
|
|
4380
4414
|
}
|
|
4381
4415
|
}, {
|
|
4382
4416
|
title: '接受对象',
|
|
4417
|
+
width: 120,
|
|
4418
|
+
ellipsis: true,
|
|
4383
4419
|
dataIndex: 'receiverParticipantId'
|
|
4384
4420
|
}, {
|
|
4385
4421
|
title: '接受对象所属公司',
|
|
4422
|
+
width: 160,
|
|
4423
|
+
ellipsis: true,
|
|
4386
4424
|
dataIndex: 'receiverCompany'
|
|
4387
4425
|
}, {
|
|
4388
4426
|
title: '发布时间',
|
|
4389
4427
|
dataIndex: 'createAt',
|
|
4428
|
+
width: 160,
|
|
4429
|
+
ellipsis: true,
|
|
4390
4430
|
render: function render(text) {
|
|
4391
4431
|
return moment__default['default'](text).format('YYYY-MM-DD HH:mm');
|
|
4392
4432
|
}
|
|
@@ -4402,6 +4442,8 @@ function validaterule$1(props) {
|
|
|
4402
4442
|
{
|
|
4403
4443
|
title: '操作',
|
|
4404
4444
|
dataIndex: 'console',
|
|
4445
|
+
width: 80,
|
|
4446
|
+
fixed: 'right',
|
|
4405
4447
|
render: function render(text, record) {
|
|
4406
4448
|
return /*#__PURE__*/React__default['default'].createElement("span", null, /*#__PURE__*/React__default['default'].createElement("a", {
|
|
4407
4449
|
className: "tabel-action",
|
|
@@ -4419,6 +4461,7 @@ function validaterule$1(props) {
|
|
|
4419
4461
|
backgroundColor: '#efefef'
|
|
4420
4462
|
}
|
|
4421
4463
|
}, /*#__PURE__*/React__default['default'].createElement(ktsXui.Table, {
|
|
4464
|
+
className: 'fixheight',
|
|
4422
4465
|
columns: columns,
|
|
4423
4466
|
rowKey: "id",
|
|
4424
4467
|
dataSource: list,
|
|
@@ -4570,9 +4613,7 @@ var DocumentsCont = /*#__PURE__*/function (_React$Component) {
|
|
|
4570
4613
|
}(React__default['default'].Component);
|
|
4571
4614
|
|
|
4572
4615
|
var Main$2 = function Main(props) {
|
|
4573
|
-
var initRoute = props.path || '/rulelist';
|
|
4574
|
-
// console.log(uploadConfig);
|
|
4575
|
-
|
|
4616
|
+
var initRoute = props.path || '/rulelist';
|
|
4576
4617
|
return /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX4.ConfigProvider, {
|
|
4577
4618
|
locale: zhCN__default['default']
|
|
4578
4619
|
}, /*#__PURE__*/React__default['default'].createElement(reactRouterDom.MemoryRouter, null, /*#__PURE__*/React__default['default'].createElement(reactRouterDom.Switch, null, /*#__PURE__*/React__default['default'].createElement(reactRouterDom.Route, {
|
|
@@ -6700,8 +6741,7 @@ function Rule$1(props) {
|
|
|
6700
6741
|
}),
|
|
6701
6742
|
_useState2 = _slicedToArray(_useState, 2),
|
|
6702
6743
|
pageMeta = _useState2[0],
|
|
6703
|
-
setpageMeta = _useState2[1];
|
|
6704
|
-
|
|
6744
|
+
setpageMeta = _useState2[1];
|
|
6705
6745
|
|
|
6706
6746
|
var whiteParams = controller.useMemo(function (s) {
|
|
6707
6747
|
return s.whiteParams;
|
|
@@ -6763,9 +6803,13 @@ function Rule$1(props) {
|
|
|
6763
6803
|
return [{
|
|
6764
6804
|
title: 'DID',
|
|
6765
6805
|
dataIndex: 'customerDid',
|
|
6806
|
+
width: 200,
|
|
6807
|
+
ellipsis: true,
|
|
6766
6808
|
render: function render(text, record) {
|
|
6767
6809
|
if (text) {
|
|
6768
|
-
return /*#__PURE__*/React__default['default'].createElement("
|
|
6810
|
+
return /*#__PURE__*/React__default['default'].createElement("span", {
|
|
6811
|
+
title: record.customerDidNote + ' ' + text
|
|
6812
|
+
}, record.customerDidNote, " ", text);
|
|
6769
6813
|
} else {
|
|
6770
6814
|
return '';
|
|
6771
6815
|
}
|
|
@@ -6773,11 +6817,13 @@ function Rule$1(props) {
|
|
|
6773
6817
|
}, {
|
|
6774
6818
|
title: '所属公司',
|
|
6775
6819
|
dataIndex: 'customerName',
|
|
6776
|
-
width: 200
|
|
6820
|
+
width: 200,
|
|
6821
|
+
ellipsis: true
|
|
6777
6822
|
}, {
|
|
6778
6823
|
title: '数据状态',
|
|
6779
6824
|
dataIndex: 'dataStatus',
|
|
6780
6825
|
width: 100,
|
|
6826
|
+
ellipsis: true,
|
|
6781
6827
|
render: function render(text) {
|
|
6782
6828
|
if (text === 2) {
|
|
6783
6829
|
return /*#__PURE__*/React__default['default'].createElement("span", null, "\u505C\u7528");
|
|
@@ -6794,9 +6840,13 @@ function Rule$1(props) {
|
|
|
6794
6840
|
}, {
|
|
6795
6841
|
title: '我司对应DID',
|
|
6796
6842
|
dataIndex: 'companyDid',
|
|
6843
|
+
width: 200,
|
|
6844
|
+
ellipsis: true,
|
|
6797
6845
|
render: function render(text, record) {
|
|
6798
6846
|
if (text) {
|
|
6799
|
-
return /*#__PURE__*/React__default['default'].createElement("
|
|
6847
|
+
return /*#__PURE__*/React__default['default'].createElement("span", {
|
|
6848
|
+
title: record.companyDidNote + '' + text
|
|
6849
|
+
}, record.companyDidNote, " ", text);
|
|
6800
6850
|
} else {
|
|
6801
6851
|
return '';
|
|
6802
6852
|
}
|
|
@@ -6805,6 +6855,7 @@ function Rule$1(props) {
|
|
|
6805
6855
|
title: '加入时间',
|
|
6806
6856
|
dataIndex: 'createTime',
|
|
6807
6857
|
width: 200,
|
|
6858
|
+
ellipsis: true,
|
|
6808
6859
|
render: function render(text) {
|
|
6809
6860
|
return moment__default['default'](text).format('YYYY-MM-DD HH:mm');
|
|
6810
6861
|
}
|
|
@@ -6889,6 +6940,10 @@ function Rule$1(props) {
|
|
|
6889
6940
|
}
|
|
6890
6941
|
}, /*#__PURE__*/React__default['default'].createElement(ktsXui.Table, {
|
|
6891
6942
|
rowSelection: rowSelection,
|
|
6943
|
+
scroll: {
|
|
6944
|
+
x: '1400',
|
|
6945
|
+
y: 'max-content'
|
|
6946
|
+
},
|
|
6892
6947
|
columns: columns,
|
|
6893
6948
|
rowKey: "index",
|
|
6894
6949
|
dataSource: list,
|
|
@@ -7123,6 +7178,7 @@ var Header$1 = (function () {
|
|
|
7123
7178
|
}, /*#__PURE__*/React__default['default'].createElement(ktsXui.PageHeaderFoot, {
|
|
7124
7179
|
expandLeft: topExpand(),
|
|
7125
7180
|
expandRight: [/*#__PURE__*/React__default['default'].createElement(ktsXui.Button, {
|
|
7181
|
+
key: '0',
|
|
7126
7182
|
disabled: disabled,
|
|
7127
7183
|
onClick: function onClick() {
|
|
7128
7184
|
batchBlockList(2);
|
|
@@ -7131,6 +7187,7 @@ var Header$1 = (function () {
|
|
|
7131
7187
|
marginRight: 10
|
|
7132
7188
|
}
|
|
7133
7189
|
}, "\u6279\u91CF\u505C\u7528"), /*#__PURE__*/React__default['default'].createElement(ktsXui.Button, {
|
|
7190
|
+
key: '1',
|
|
7134
7191
|
disabled: disabled,
|
|
7135
7192
|
onClick: function onClick() {
|
|
7136
7193
|
batchBlockList(1);
|
|
@@ -7139,9 +7196,11 @@ var Header$1 = (function () {
|
|
|
7139
7196
|
marginRight: 10
|
|
7140
7197
|
}
|
|
7141
7198
|
}, "\u6279\u91CF\u542F\u7528"), /*#__PURE__*/React__default['default'].createElement(ktsXui.Button, {
|
|
7199
|
+
key: '2',
|
|
7142
7200
|
type: "primary",
|
|
7143
7201
|
onClick: createWhiteList
|
|
7144
7202
|
}, "\u624B\u52A8\u589E\u52A0\u9ED1\u540D\u5355"), clientInfo.showButton && /*#__PURE__*/React__default['default'].createElement(ktsXui.Button, {
|
|
7203
|
+
key: '3',
|
|
7145
7204
|
type: "primary",
|
|
7146
7205
|
style: {
|
|
7147
7206
|
marginLeft: 10
|
|
@@ -7230,9 +7289,13 @@ function Rule$2(props) {
|
|
|
7230
7289
|
return [{
|
|
7231
7290
|
title: 'DID',
|
|
7232
7291
|
dataIndex: 'customerDid',
|
|
7292
|
+
width: 200,
|
|
7293
|
+
ellipsis: true,
|
|
7233
7294
|
render: function render(text, record) {
|
|
7234
7295
|
if (text) {
|
|
7235
|
-
return /*#__PURE__*/React__default['default'].createElement("
|
|
7296
|
+
return /*#__PURE__*/React__default['default'].createElement("span", {
|
|
7297
|
+
title: record.customerDidNote + '' + text
|
|
7298
|
+
}, record.customerDidNote, text);
|
|
7236
7299
|
} else {
|
|
7237
7300
|
return '';
|
|
7238
7301
|
}
|
|
@@ -7240,6 +7303,7 @@ function Rule$2(props) {
|
|
|
7240
7303
|
}, {
|
|
7241
7304
|
title: '所属公司',
|
|
7242
7305
|
width: 200,
|
|
7306
|
+
ellipsis: true,
|
|
7243
7307
|
dataIndex: 'customerName'
|
|
7244
7308
|
}, {
|
|
7245
7309
|
title: '数据状态',
|
|
@@ -7260,10 +7324,14 @@ function Rule$2(props) {
|
|
|
7260
7324
|
}
|
|
7261
7325
|
}, {
|
|
7262
7326
|
title: '我司对应DID',
|
|
7327
|
+
width: 200,
|
|
7328
|
+
ellipsis: true,
|
|
7263
7329
|
dataIndex: 'companyDid',
|
|
7264
7330
|
render: function render(text, record) {
|
|
7265
7331
|
if (text) {
|
|
7266
|
-
return /*#__PURE__*/React__default['default'].createElement("
|
|
7332
|
+
return /*#__PURE__*/React__default['default'].createElement("span", {
|
|
7333
|
+
title: record.companyDidNote + '' + text
|
|
7334
|
+
}, record.companyDidNote, " ", text);
|
|
7267
7335
|
} else {
|
|
7268
7336
|
return '';
|
|
7269
7337
|
}
|
|
@@ -7271,17 +7339,12 @@ function Rule$2(props) {
|
|
|
7271
7339
|
}, {
|
|
7272
7340
|
title: '加入时间',
|
|
7273
7341
|
dataIndex: 'createTime',
|
|
7342
|
+
ellipsis: true,
|
|
7274
7343
|
width: 200,
|
|
7275
7344
|
render: function render(text) {
|
|
7276
7345
|
return moment__default['default'](text).format('YYYY-MM-DD HH:mm');
|
|
7277
7346
|
}
|
|
7278
|
-
},
|
|
7279
|
-
// title: '最近更新时间',
|
|
7280
|
-
// width: 200,
|
|
7281
|
-
// dataIndex: 'updateTime',
|
|
7282
|
-
// render: (text: any) => moment(text).format('YYYY-MM-DD HH:mm')
|
|
7283
|
-
// },
|
|
7284
|
-
{
|
|
7347
|
+
}, {
|
|
7285
7348
|
title: '操作',
|
|
7286
7349
|
width: 80,
|
|
7287
7350
|
dataIndex: 'console',
|
|
@@ -7361,6 +7424,10 @@ function Rule$2(props) {
|
|
|
7361
7424
|
backgroundColor: '#efefef'
|
|
7362
7425
|
}
|
|
7363
7426
|
}, /*#__PURE__*/React__default['default'].createElement(ktsXui.Table, {
|
|
7427
|
+
scroll: {
|
|
7428
|
+
x: '1400',
|
|
7429
|
+
y: 'max-content'
|
|
7430
|
+
},
|
|
7364
7431
|
rowSelection: rowSelection,
|
|
7365
7432
|
columns: columns,
|
|
7366
7433
|
rowKey: "index",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kts-components-document-access-point",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "dumi dev",
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
"@formily/antd-components": "^1.3.17",
|
|
32
32
|
"@types/uuid": "^8.3.1",
|
|
33
33
|
"antd": "3.26.20",
|
|
34
|
-
"grey-react-box": "
|
|
34
|
+
"grey-react-box": "0.2.15",
|
|
35
35
|
"kts-component-service": "^1.0.4",
|
|
36
36
|
"kts-components": "^1.2.26",
|
|
37
37
|
"kts-components-antd-x4": "^4.0.3",
|
|
38
|
-
"kts-xui": "
|
|
38
|
+
"kts-xui": "1.0.6",
|
|
39
39
|
"lodash": "^4.17.21",
|
|
40
|
-
"moment": "
|
|
40
|
+
"moment": "2.29.1",
|
|
41
41
|
"query-string": "^7.0.1",
|
|
42
42
|
"react": "^16.12.0",
|
|
43
43
|
"react-router-dom": "^5.2.0",
|
|
@@ -31,9 +31,11 @@ export default function Rule(props: any) {
|
|
|
31
31
|
{
|
|
32
32
|
title: 'DID',
|
|
33
33
|
dataIndex: 'customerDid',
|
|
34
|
+
width: 200,
|
|
35
|
+
ellipsis: true,
|
|
34
36
|
render: (text: any, record: any) => {
|
|
35
37
|
if (text) {
|
|
36
|
-
return <
|
|
38
|
+
return <span title={record.customerDidNote+''+text}>{record.customerDidNote}{text}</span>
|
|
37
39
|
} else {
|
|
38
40
|
return ''
|
|
39
41
|
}
|
|
@@ -42,12 +44,14 @@ export default function Rule(props: any) {
|
|
|
42
44
|
{
|
|
43
45
|
title: '所属公司',
|
|
44
46
|
width: 200,
|
|
47
|
+
ellipsis: true,
|
|
45
48
|
dataIndex: 'customerName',
|
|
46
49
|
},
|
|
47
50
|
{
|
|
48
51
|
title: '数据状态',
|
|
49
52
|
dataIndex: 'dataStatus',
|
|
50
53
|
width: 100,
|
|
54
|
+
|
|
51
55
|
render: (text: any) => {
|
|
52
56
|
if (text === 2) {
|
|
53
57
|
return <span>停用</span>
|
|
@@ -59,10 +63,12 @@ export default function Rule(props: any) {
|
|
|
59
63
|
},
|
|
60
64
|
{
|
|
61
65
|
title: '我司对应DID',
|
|
66
|
+
width: 200,
|
|
67
|
+
ellipsis: true,
|
|
62
68
|
dataIndex: 'companyDid',
|
|
63
69
|
render: (text: any, record: any) => {
|
|
64
70
|
if (text) {
|
|
65
|
-
return <
|
|
71
|
+
return <span title={record.companyDidNote+''+text}>{record.companyDidNote} {text}</span>
|
|
66
72
|
} else {
|
|
67
73
|
return ''
|
|
68
74
|
}
|
|
@@ -71,15 +77,10 @@ export default function Rule(props: any) {
|
|
|
71
77
|
{
|
|
72
78
|
title: '加入时间',
|
|
73
79
|
dataIndex: 'createTime',
|
|
80
|
+
ellipsis: true,
|
|
74
81
|
width: 200,
|
|
75
82
|
render: (text: any) => moment(text).format('YYYY-MM-DD HH:mm')
|
|
76
83
|
},
|
|
77
|
-
// {
|
|
78
|
-
// title: '最近更新时间',
|
|
79
|
-
// width: 200,
|
|
80
|
-
// dataIndex: 'updateTime',
|
|
81
|
-
// render: (text: any) => moment(text).format('YYYY-MM-DD HH:mm')
|
|
82
|
-
// },
|
|
83
84
|
{
|
|
84
85
|
title: '操作',
|
|
85
86
|
width: 80,
|
|
@@ -126,7 +127,7 @@ export default function Rule(props: any) {
|
|
|
126
127
|
<>
|
|
127
128
|
<Header />
|
|
128
129
|
<AutoTableContainer style={{ flex: 1, padding: '0 20px', backgroundColor: '#efefef' }} >
|
|
129
|
-
<Table rowSelection={rowSelection} columns={columns} rowKey="index" dataSource={list} pagination={false} />
|
|
130
|
+
<Table scroll={{ x: '1400', y: 'max-content' }} rowSelection={rowSelection} columns={columns} rowKey="index" dataSource={list} pagination={false} />
|
|
130
131
|
</AutoTableContainer>
|
|
131
132
|
{pageMeta && <Pagination onChange={onPageChange} style={{ padding: '16px 0', flex: 'none', background: 'white', textAlign: 'center' }} total={pageMeta.total} pageSize={pageMeta.pageSize} current={pageMeta.pageNum} showSizeChanger={true} />}
|
|
132
133
|
</>);
|
|
@@ -7,7 +7,6 @@ export default function Rule(props: any) {
|
|
|
7
7
|
const controller = Main.useController();
|
|
8
8
|
const list = controller.useMemo((s) => s.whiteblacklist, []);
|
|
9
9
|
const [pageMeta, setpageMeta] = useState<{ pageSize: number, pageNum: number, total?: number }>({ pageSize: 10, pageNum: 1, total: 0, });
|
|
10
|
-
// const [pageParams, setpageParams] = useState<{ pageSize?: number, pageNum?: number, total?: number }>({ pageSize: 10, pageNum: 1, });
|
|
11
10
|
const whiteParams = controller.useMemo((s) => s.whiteParams, []);
|
|
12
11
|
const onPageChange = useCallback((pageNum: any, pageSize: any) => {
|
|
13
12
|
controller.pipeline(async s => {
|
|
@@ -15,7 +14,7 @@ export default function Rule(props: any) {
|
|
|
15
14
|
})()
|
|
16
15
|
}, []);
|
|
17
16
|
const onEnablehander = useCallback((type: number, record: any) => {
|
|
18
|
-
|
|
17
|
+
|
|
19
18
|
(async () => {
|
|
20
19
|
const res = await controller.enablewhitelist({
|
|
21
20
|
flag: type,
|
|
@@ -30,9 +29,11 @@ export default function Rule(props: any) {
|
|
|
30
29
|
{
|
|
31
30
|
title: 'DID',
|
|
32
31
|
dataIndex: 'customerDid',
|
|
32
|
+
width: 200,
|
|
33
|
+
ellipsis: true,
|
|
33
34
|
render: (text: any, record: any) => {
|
|
34
35
|
if (text) {
|
|
35
|
-
return <
|
|
36
|
+
return <span title={record.customerDidNote + ' ' + text}>{record.customerDidNote} {text}</span>
|
|
36
37
|
} else {
|
|
37
38
|
return ''
|
|
38
39
|
}
|
|
@@ -41,12 +42,15 @@ export default function Rule(props: any) {
|
|
|
41
42
|
{
|
|
42
43
|
title: '所属公司',
|
|
43
44
|
dataIndex: 'customerName',
|
|
44
|
-
width: 200
|
|
45
|
+
width: 200,
|
|
46
|
+
ellipsis: true,
|
|
47
|
+
|
|
45
48
|
},
|
|
46
49
|
{
|
|
47
50
|
title: '数据状态',
|
|
48
51
|
dataIndex: 'dataStatus',
|
|
49
52
|
width: 100,
|
|
53
|
+
ellipsis: true,
|
|
50
54
|
render: (text: any) => {
|
|
51
55
|
if (text === 2) {
|
|
52
56
|
return <span>停用</span>
|
|
@@ -59,9 +63,11 @@ export default function Rule(props: any) {
|
|
|
59
63
|
{
|
|
60
64
|
title: '我司对应DID',
|
|
61
65
|
dataIndex: 'companyDid',
|
|
66
|
+
width: 200,
|
|
67
|
+
ellipsis: true,
|
|
62
68
|
render: (text: any, record: any) => {
|
|
63
69
|
if (text) {
|
|
64
|
-
return <
|
|
70
|
+
return <span title={record.companyDidNote + '' + text}>{record.companyDidNote} {text}</span>
|
|
65
71
|
} else {
|
|
66
72
|
return ''
|
|
67
73
|
}
|
|
@@ -71,6 +77,7 @@ export default function Rule(props: any) {
|
|
|
71
77
|
title: '加入时间',
|
|
72
78
|
dataIndex: 'createTime',
|
|
73
79
|
width: 200,
|
|
80
|
+
ellipsis: true,
|
|
74
81
|
render: (text: any) => moment(text).format('YYYY-MM-DD HH:mm')
|
|
75
82
|
},
|
|
76
83
|
{
|
|
@@ -97,7 +104,7 @@ export default function Rule(props: any) {
|
|
|
97
104
|
}
|
|
98
105
|
})()
|
|
99
106
|
}, [whiteParams]);
|
|
100
|
-
|
|
107
|
+
|
|
101
108
|
useEffect(() => {
|
|
102
109
|
refreshList();
|
|
103
110
|
}, [whiteParams]);
|
|
@@ -114,7 +121,7 @@ export default function Rule(props: any) {
|
|
|
114
121
|
<>
|
|
115
122
|
<Header />
|
|
116
123
|
<AutoTableContainer style={{ flex: 1, padding: '0 20px', backgroundColor: '#efefef' }} >
|
|
117
|
-
<Table rowSelection={rowSelection} columns={columns} rowKey="index" dataSource={list} pagination={false} />
|
|
124
|
+
<Table rowSelection={rowSelection} scroll={{ x: '1400', y: 'max-content' }} columns={columns} rowKey="index" dataSource={list} pagination={false} />
|
|
118
125
|
</AutoTableContainer>
|
|
119
126
|
{pageMeta && <Pagination onChange={onPageChange} style={{ padding: '16px 0', flex: 'none', background: 'white', textAlign: 'center' }} total={pageMeta.total} pageSize={pageMeta.pageSize} current={pageMeta.pageNum} showSizeChanger={true} />}
|
|
120
127
|
</>);
|
|
@@ -132,10 +132,10 @@ export default () => {
|
|
|
132
132
|
<PageHeaderFoot
|
|
133
133
|
expandLeft={topExpand()}
|
|
134
134
|
expandRight={[
|
|
135
|
-
<Button disabled={disabled} onClick={() => { batchBlockList(2); }} style={{ marginRight: 10 }}>批量停用</Button>,
|
|
136
|
-
<Button disabled={disabled} onClick={() => { batchBlockList(1); }} style={{ marginRight: 10 }}>批量启用</Button>,
|
|
137
|
-
<Button type="primary" onClick={createWhiteList}>手动增加黑名单</Button>,
|
|
138
|
-
clientInfo.showButton && <Button type="primary" style={{ marginLeft: 10 }} onClick={showClientModal}>{clientInfo.buttonName}</Button>
|
|
135
|
+
<Button key='0' disabled={disabled} onClick={() => { batchBlockList(2); }} style={{ marginRight: 10 }}>批量停用</Button>,
|
|
136
|
+
<Button key='1' disabled={disabled} onClick={() => { batchBlockList(1); }} style={{ marginRight: 10 }}>批量启用</Button>,
|
|
137
|
+
<Button key='2' type="primary" onClick={createWhiteList}>手动增加黑名单</Button>,
|
|
138
|
+
clientInfo.showButton && <Button key='3' type="primary" style={{ marginLeft: 10 }} onClick={showClientModal}>{clientInfo.buttonName}</Button>
|
|
139
139
|
]}
|
|
140
140
|
>
|
|
141
141
|
</PageHeaderFoot>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// import { Tabs } from 'kts-components-antd-x4';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { MemoryRouter, Switch, Route, Redirect } from 'react-router-dom';
|
|
4
|
-
import { DocumentsList, DocumentsRule, DocumentWhiteList
|
|
4
|
+
import { DocumentsList, DocumentsRule, DocumentWhiteList } from '../';
|
|
5
5
|
import { ConfigProvider } from 'kts-components-antd-x4';
|
|
6
6
|
import zhCN from 'kts-components-antd-x4/lib/locale/zh_CN';
|
|
7
7
|
|
|
@@ -10,9 +10,7 @@ export default class DocumentsCont extends React.Component<any> {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
const Main = (props: any) => {
|
|
13
|
-
const initRoute = props.path || '/rulelist'
|
|
14
|
-
// const uploadConfig = { domain: (DocumentsService.instance.service as any).sdk.service.domain, token: (DocumentsService.instance.service as any).sdk.user.cToken };
|
|
15
|
-
// console.log(uploadConfig);
|
|
13
|
+
const initRoute = props.path || '/rulelist'
|
|
16
14
|
return (
|
|
17
15
|
<ConfigProvider locale={zhCN}>
|
|
18
16
|
<MemoryRouter>
|
|
@@ -21,7 +19,6 @@ const Main = (props: any) => {
|
|
|
21
19
|
<Route path="/rulelist" component={DocumentsList} />
|
|
22
20
|
<Route path="/billwhiteliest" component={DocumentWhiteList} />
|
|
23
21
|
<Route path="/rule/:id?/:type?/:profile?" component={DocumentsRule} />
|
|
24
|
-
|
|
25
22
|
<Route render={() => <Redirect to={initRoute} />} />
|
|
26
23
|
</Switch>
|
|
27
24
|
</MemoryRouter>
|
|
@@ -20,4 +20,22 @@
|
|
|
20
20
|
color: #0074ff;
|
|
21
21
|
white-space: nowrap;
|
|
22
22
|
cursor: pointer;
|
|
23
|
+
}
|
|
24
|
+
.ktsAntX-xui-page-header-foot{
|
|
25
|
+
overflow: inherit !important;
|
|
26
|
+
}
|
|
27
|
+
.ktsAntX-table .ktsAntX-table-thead > tr > th{
|
|
28
|
+
background:#fafafa !important
|
|
29
|
+
}
|
|
30
|
+
.ktsAntX-table-ping-left:not(.ktsAntX-table-has-fix-left) .ktsAntX-table-container::before{
|
|
31
|
+
box-shadow:none !important;
|
|
32
|
+
}
|
|
33
|
+
.fixheight {
|
|
34
|
+
.ktsAntX-table .ktsAntX-table-thead > tr > th, .ktsAntX-table .ktsAntX-table-tbody > tr > td, .ktsAntX-table .ktsAntX-table tfoot > tr > th, .ktsAntX-table .ktsAntX-table tfoot > tr > td{
|
|
35
|
+
padding: 5px 16px;
|
|
36
|
+
height: 50px;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
.ktsAntX-table-thead > tr > th:not(:last-child):not(.ktsAntX-table-selection-column):not(.ktsAntX-table-row-expand-icon-cell):not([colspan])::before{
|
|
40
|
+
opacity: 0;
|
|
23
41
|
}
|
|
@@ -68,12 +68,10 @@ export default function modalcomfirm(props: any) {
|
|
|
68
68
|
return (
|
|
69
69
|
<div>
|
|
70
70
|
<Modal
|
|
71
|
-
title="请选择我司对应
|
|
71
|
+
title="请选择我司对应DID"
|
|
72
72
|
visible={true}
|
|
73
73
|
onOk={handleOk}
|
|
74
74
|
onCancel={handleCancel}
|
|
75
|
-
okText="确定"
|
|
76
|
-
cancelText="取消"
|
|
77
75
|
>
|
|
78
76
|
<Radio.Group onChange={targetSelect} value={targetId} >
|
|
79
77
|
{
|
|
@@ -216,8 +216,8 @@ export default () => {
|
|
|
216
216
|
<div style={{ display: 'flex' }}>
|
|
217
217
|
<div style={{ marginRight: 10 }}>
|
|
218
218
|
<Radio.Group value={type} onChange={switchType}>
|
|
219
|
-
<Radio.Button value={1}>单据校验规则配置</Radio.Button>
|
|
220
|
-
<Radio.Button value={2}>发布记录</Radio.Button>
|
|
219
|
+
<Radio.Button value={1} style={{whiteSpace:'nowrap'}}>单据校验规则配置</Radio.Button>
|
|
220
|
+
<Radio.Button value={2} style={{whiteSpace:'nowrap'}}>发布记录</Radio.Button>
|
|
221
221
|
</Radio.Group>
|
|
222
222
|
</div>
|
|
223
223
|
<AdvancedSearch
|
|
@@ -72,16 +72,20 @@ export default function validaterule(props: any) {
|
|
|
72
72
|
{
|
|
73
73
|
title: '配置名称',
|
|
74
74
|
dataIndex: 'configName',
|
|
75
|
+
width: 160,
|
|
76
|
+
ellipsis: true,
|
|
75
77
|
},
|
|
76
78
|
{
|
|
77
79
|
title: '单据大类',
|
|
78
80
|
dataIndex: 'type',
|
|
81
|
+
width: 120,
|
|
79
82
|
render: (text: any) => {
|
|
80
83
|
return bill[text];
|
|
81
84
|
}
|
|
82
85
|
},
|
|
83
86
|
{
|
|
84
87
|
title: '单据子类',
|
|
88
|
+
width: 120,
|
|
85
89
|
dataIndex: 'profile',
|
|
86
90
|
render: (text: any, record: any) => {
|
|
87
91
|
if (text) {
|
|
@@ -94,21 +98,28 @@ export default function validaterule(props: any) {
|
|
|
94
98
|
{
|
|
95
99
|
title: '收发角色',
|
|
96
100
|
dataIndex: 'attribution',
|
|
101
|
+
width: 120,
|
|
97
102
|
render: (text: string) => attributionEnum[text]
|
|
98
103
|
},
|
|
99
104
|
{
|
|
100
105
|
title: '创建时间',
|
|
101
106
|
dataIndex: 'createAt',
|
|
107
|
+
ellipsis: true,
|
|
108
|
+
width: 160,
|
|
102
109
|
render: (text: any) => moment(text).format('YYYY-MM-DD HH:mm')
|
|
103
110
|
},
|
|
104
111
|
{
|
|
105
112
|
title: '更新时间',
|
|
106
113
|
dataIndex: 'updateAt',
|
|
114
|
+
ellipsis: true,
|
|
115
|
+
width: 160,
|
|
107
116
|
render: (text: any) => moment(text).format('YYYY-MM-DD HH:mm')
|
|
108
117
|
},
|
|
109
118
|
{
|
|
110
119
|
title: '操作',
|
|
120
|
+
width: 170,
|
|
111
121
|
dataIndex: 'console',
|
|
122
|
+
fixed: 'right',
|
|
112
123
|
render: (text: any, record: any) => (
|
|
113
124
|
<span>
|
|
114
125
|
<a className="tabel-action" onClick={() => { onBillView(record) }}>查看</a>
|
|
@@ -155,9 +166,11 @@ export default function validaterule(props: any) {
|
|
|
155
166
|
}, [])
|
|
156
167
|
return (
|
|
157
168
|
<>
|
|
158
|
-
<
|
|
159
|
-
|
|
160
|
-
|
|
169
|
+
<div style={{ flex: 'none', position: 'relative', zIndex: 1 }}>
|
|
170
|
+
<PageHeader />
|
|
171
|
+
</div>
|
|
172
|
+
<AutoTableContainer style={{ flex: 1, padding: '0 20px', background: '#F4F4F4' }} >
|
|
173
|
+
<Table className='fixheight' columns={columns as any} rowKey="configNumber" rowSelection={rowSelection} dataSource={list} pagination={false} />
|
|
161
174
|
</AutoTableContainer>
|
|
162
175
|
{pageMeta && <Pagination onChange={onPageChange} style={{ padding: '16px 0', flex: 'none', background: 'white', textAlign: 'center' }} total={pageMeta.total} pageSize={pageMeta.pageSize} current={pageMeta.pageNum} showSizeChanger={true} />}
|
|
163
176
|
</>);
|
|
@@ -17,7 +17,7 @@ export default function validaterule(props: any) {
|
|
|
17
17
|
const [bill, setConfig] = useState<{ [key: string]: string }>({});
|
|
18
18
|
useEffect(() => {
|
|
19
19
|
(async () => {
|
|
20
|
-
const res = await DocumentsService.instance.service?.call({ url: '/schema/config/querySendRecordPage', data:
|
|
20
|
+
const res = await DocumentsService.instance.service?.call({ url: '/schema/config/querySendRecordPage', data: params, type: 'post' }) as any;
|
|
21
21
|
if (res.err) {
|
|
22
22
|
return false;
|
|
23
23
|
}
|
|
@@ -60,10 +60,14 @@ export default function validaterule(props: any) {
|
|
|
60
60
|
{
|
|
61
61
|
title: '配置名称',
|
|
62
62
|
dataIndex: 'configName',
|
|
63
|
+
ellipsis: true,
|
|
64
|
+
width: 160,
|
|
63
65
|
},
|
|
64
66
|
{
|
|
65
67
|
title: '使用标识',
|
|
66
68
|
dataIndex: 'effectStatus',
|
|
69
|
+
width: 120,
|
|
70
|
+
ellipsis: true,
|
|
67
71
|
render: (text: any) => {
|
|
68
72
|
if (text === 0) {
|
|
69
73
|
return <span>已失效</span>
|
|
@@ -75,6 +79,7 @@ export default function validaterule(props: any) {
|
|
|
75
79
|
},
|
|
76
80
|
{
|
|
77
81
|
title: '单据类型',
|
|
82
|
+
width: 120,
|
|
78
83
|
dataIndex: 'type',
|
|
79
84
|
render: (text: any) => {
|
|
80
85
|
return bill[text];
|
|
@@ -82,6 +87,7 @@ export default function validaterule(props: any) {
|
|
|
82
87
|
},
|
|
83
88
|
{
|
|
84
89
|
title: '单据子类',
|
|
90
|
+
width: 120,
|
|
85
91
|
dataIndex: 'profile',
|
|
86
92
|
render: (text: string, record: any) => {
|
|
87
93
|
if (text) {
|
|
@@ -94,14 +100,18 @@ export default function validaterule(props: any) {
|
|
|
94
100
|
{
|
|
95
101
|
title: '我的收发角色',
|
|
96
102
|
dataIndex: 'attribution',
|
|
103
|
+
width: 160,
|
|
104
|
+
ellipsis: true,
|
|
97
105
|
render: (text: any) => attributionEnum[text]
|
|
98
106
|
},
|
|
99
107
|
{
|
|
100
108
|
title: '我司对应DID',
|
|
101
109
|
dataIndex: 'senderParticipantId',
|
|
110
|
+
ellipsis: true,
|
|
111
|
+
width: 200,
|
|
102
112
|
render: (text: any, record: any) => {
|
|
103
113
|
if (record.senderParticipantNote) {
|
|
104
|
-
return <
|
|
114
|
+
return <span title={record.senderParticipantNote+''+text}>{record.senderParticipantNote}{text}</span>
|
|
105
115
|
} else {
|
|
106
116
|
return <span>{text}</span>
|
|
107
117
|
}
|
|
@@ -110,16 +120,22 @@ export default function validaterule(props: any) {
|
|
|
110
120
|
},
|
|
111
121
|
{
|
|
112
122
|
title: '接受对象',
|
|
123
|
+
width: 120,
|
|
124
|
+
ellipsis: true,
|
|
113
125
|
dataIndex: 'receiverParticipantId',
|
|
114
126
|
|
|
115
127
|
},
|
|
116
128
|
{
|
|
117
129
|
title: '接受对象所属公司',
|
|
130
|
+
width: 160,
|
|
131
|
+
ellipsis: true,
|
|
118
132
|
dataIndex: 'receiverCompany',
|
|
119
133
|
},
|
|
120
134
|
{
|
|
121
135
|
title: '发布时间',
|
|
122
136
|
dataIndex: 'createAt',
|
|
137
|
+
width: 160,
|
|
138
|
+
ellipsis: true,
|
|
123
139
|
render: (text: any) => moment(text).format('YYYY-MM-DD HH:mm')
|
|
124
140
|
},
|
|
125
141
|
// {
|
|
@@ -134,6 +150,8 @@ export default function validaterule(props: any) {
|
|
|
134
150
|
{
|
|
135
151
|
title: '操作',
|
|
136
152
|
dataIndex: 'console',
|
|
153
|
+
width: 80,
|
|
154
|
+
fixed: 'right',
|
|
137
155
|
render: (text: any, record: any) => (
|
|
138
156
|
<span>
|
|
139
157
|
<a className="tabel-action" onClick={() => { onBillView(record.id) }}>查看</a>
|
|
@@ -145,7 +163,7 @@ export default function validaterule(props: any) {
|
|
|
145
163
|
<>
|
|
146
164
|
<PageHeader />
|
|
147
165
|
<AutoTableContainer style={{ flex: 1, padding: '0 20px', backgroundColor: '#efefef' }} >
|
|
148
|
-
<Table columns={columns} rowKey="id" dataSource={list} pagination={false} />
|
|
166
|
+
<Table className='fixheight' columns={columns as any} rowKey="id" dataSource={list} pagination={false} />
|
|
149
167
|
</AutoTableContainer>
|
|
150
168
|
{pageMeta && <Pagination onChange={onPageChange} style={{ padding: '16px 0', flex: 'none', background: 'white', textAlign: 'center' }} total={pageMeta.total} pageSize={pageMeta.pageSize} current={pageMeta.pageNum} showSizeChanger={true} />}
|
|
151
169
|
</>);
|