@zgfe/modules-settings 2.0.0-zhongyuan.29 → 2.0.0-zhongyuan.30
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/es/modules/companySetting/application/index.less +144 -144
- package/es/modules/createDemand/constants.js +1 -1
- package/es/modules/createDemand/index.js +185 -205
- package/es/modules/createDemand/styles/index.less +390 -373
- package/es/modules/demandManage/index.js +30 -15
- package/es/modules/demandManage/styles/index.less +155 -155
- package/package.json +2 -2
|
@@ -88,7 +88,11 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
88
88
|
}
|
|
89
89
|
}).then(function (res) {
|
|
90
90
|
if (res && res.code === '100000') {
|
|
91
|
-
|
|
91
|
+
var data = {};
|
|
92
|
+
res.data.map(function (res) {
|
|
93
|
+
data[res.node] = res.count;
|
|
94
|
+
});
|
|
95
|
+
setDemandInfo(data);
|
|
92
96
|
}
|
|
93
97
|
}).catch(function (err) {
|
|
94
98
|
console.log(err);
|
|
@@ -153,7 +157,10 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
153
157
|
message.error('无查看权限');
|
|
154
158
|
return;
|
|
155
159
|
}
|
|
156
|
-
props.onDeal && props.onDeal('
|
|
160
|
+
props.onDeal && props.onDeal('revocation', {
|
|
161
|
+
type: 'manage',
|
|
162
|
+
demand: data
|
|
163
|
+
});
|
|
157
164
|
// router &&
|
|
158
165
|
// router?.push({
|
|
159
166
|
// name: routes.createDemand,
|
|
@@ -273,21 +280,28 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
273
280
|
type: "link",
|
|
274
281
|
onClick: function onClick() {
|
|
275
282
|
props.onDeal && props.onDeal('revocation', {
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
283
|
+
type: 'edit',
|
|
284
|
+
demand: {
|
|
285
|
+
appId: props.record.id,
|
|
286
|
+
approvalModule: props.record.approvalModule,
|
|
287
|
+
businessType: props.record.businessType,
|
|
288
|
+
completionTime: props.record.completionTime,
|
|
289
|
+
demandDescribe: props.record.demandDescribe,
|
|
290
|
+
demandName: props.record.demandName + '复制',
|
|
291
|
+
fileName: props.record.fileName,
|
|
292
|
+
filePath: props.record.filePath
|
|
293
|
+
}
|
|
284
294
|
});
|
|
285
295
|
}
|
|
286
296
|
}, "\u590D\u5236"), /*#__PURE__*/React.createElement(Button, {
|
|
287
297
|
color: "primary",
|
|
288
298
|
type: "link",
|
|
289
299
|
onClick: function onClick() {
|
|
290
|
-
getDemand('revocation');
|
|
300
|
+
// getDemand('revocation');
|
|
301
|
+
props.onDeal && props.onDeal('revocation', {
|
|
302
|
+
type: 'edit',
|
|
303
|
+
demand: props.record
|
|
304
|
+
});
|
|
291
305
|
}
|
|
292
306
|
}, "\u7F16\u8F91"));
|
|
293
307
|
};
|
|
@@ -305,6 +319,7 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
305
319
|
notification.success({
|
|
306
320
|
message: '关闭成功'
|
|
307
321
|
});
|
|
322
|
+
getDemandList();
|
|
308
323
|
}
|
|
309
324
|
}).catch(function (err) {
|
|
310
325
|
console.log(err);
|
|
@@ -331,7 +346,7 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
331
346
|
onClick: function onClick() {
|
|
332
347
|
return setDemandStatus(0);
|
|
333
348
|
}
|
|
334
|
-
}, demandInfo ?
|
|
349
|
+
}, demandInfo ? demandInfo[100] || 0 : '-'))), /*#__PURE__*/React.createElement("div", {
|
|
335
350
|
className: "".concat(classPrefix, "-panel-status")
|
|
336
351
|
}, labelList.map(function (res) {
|
|
337
352
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -352,7 +367,7 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
352
367
|
onClick: function onClick() {
|
|
353
368
|
return setDemandStatus(res.value);
|
|
354
369
|
}
|
|
355
|
-
}, demandInfo ? demandInfo[res.
|
|
370
|
+
}, demandInfo ? demandInfo[res.value] || 0 : '-'));
|
|
356
371
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
357
372
|
className: "".concat(classPrefix, "-filter")
|
|
358
373
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -404,7 +419,7 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
404
419
|
// name: routes.createDemand,
|
|
405
420
|
// });
|
|
406
421
|
}
|
|
407
|
-
}, "\u65B0\u589E\u9700\u6C42"), /*#__PURE__*/React.createElement(Button, {
|
|
422
|
+
}, "\u65B0\u589E\u9700\u6C42"), false && (/*#__PURE__*/React.createElement(Button, {
|
|
408
423
|
shape: "round",
|
|
409
424
|
className: "button ".concat(!authority[1722839123] ? 'disabled' : ''),
|
|
410
425
|
disabled: isDemo || !authority[1722839123],
|
|
@@ -416,7 +431,7 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
416
431
|
}
|
|
417
432
|
}));
|
|
418
433
|
}
|
|
419
|
-
}, "\u6D41\u7A0B\u7BA1\u7406"))), /*#__PURE__*/React.createElement(BizTable, {
|
|
434
|
+
}, "\u6D41\u7A0B\u7BA1\u7406")))), /*#__PURE__*/React.createElement(BizTable, {
|
|
420
435
|
className: "".concat(classPrefix, "-table"),
|
|
421
436
|
columns: columns,
|
|
422
437
|
rowKey: "id",
|
|
@@ -1,155 +1,155 @@
|
|
|
1
|
-
// @import '~@zgfe/business-lib/es/assets/styles/inner.less';
|
|
2
|
-
.system-setting-demand {
|
|
3
|
-
padding: 24px;
|
|
4
|
-
background-color: #fff;
|
|
5
|
-
|
|
6
|
-
&-title {
|
|
7
|
-
padding: 16px 0;
|
|
8
|
-
color: #021429;
|
|
9
|
-
font-weight: 500;
|
|
10
|
-
font-size: 20px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&-panel {
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: row;
|
|
16
|
-
gap: 16px;
|
|
17
|
-
&-all {
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: row;
|
|
20
|
-
gap: 16px;
|
|
21
|
-
align-items: center;
|
|
22
|
-
width: 256px;
|
|
23
|
-
padding: 24px;
|
|
24
|
-
color: var(--io-N8-, #354354);
|
|
25
|
-
font-weight: 400;
|
|
26
|
-
font-size: 16px;
|
|
27
|
-
background: var(--io-n-02, #fafafb);
|
|
28
|
-
border-radius: 8px;
|
|
29
|
-
&-img {
|
|
30
|
-
width: 64px;
|
|
31
|
-
height: 64px;
|
|
32
|
-
background: url('./../images/title-bg.png') no-repeat;
|
|
33
|
-
background-size: contain;
|
|
34
|
-
}
|
|
35
|
-
&-num {
|
|
36
|
-
color: var(--io-N-, #021429);
|
|
37
|
-
font-weight: 700;
|
|
38
|
-
font-size: 32px;
|
|
39
|
-
line-height: 40px; /* 125% */
|
|
40
|
-
cursor: pointer;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
&-status {
|
|
44
|
-
display: flex;
|
|
45
|
-
flex: 1;
|
|
46
|
-
flex-direction: row;
|
|
47
|
-
color: var(--io-N8-, #354354);
|
|
48
|
-
font-weight: 400;
|
|
49
|
-
font-size: 16px;
|
|
50
|
-
font-family: 'PingFang SC';
|
|
51
|
-
font-style: normal;
|
|
52
|
-
line-height: normal;
|
|
53
|
-
background: var(--io-n-02, #fafafb);
|
|
54
|
-
border-radius: 8px;
|
|
55
|
-
&-item {
|
|
56
|
-
display: flex;
|
|
57
|
-
flex: 1;
|
|
58
|
-
// align-items: center;
|
|
59
|
-
flex-direction: column;
|
|
60
|
-
padding: 24px;
|
|
61
|
-
&-txt {
|
|
62
|
-
display: flex;
|
|
63
|
-
flex-direction: row;
|
|
64
|
-
gap: 4px;
|
|
65
|
-
align-items: center;
|
|
66
|
-
cursor: pointer;
|
|
67
|
-
}
|
|
68
|
-
&-icon {
|
|
69
|
-
display: block;
|
|
70
|
-
width: 8px;
|
|
71
|
-
height: 8px;
|
|
72
|
-
border-radius: 4px;
|
|
73
|
-
content: '';
|
|
74
|
-
}
|
|
75
|
-
&-num {
|
|
76
|
-
margin-top: 4px;
|
|
77
|
-
margin-left: 12px;
|
|
78
|
-
color: var(--io-N-, #021429);
|
|
79
|
-
font-weight: 700;
|
|
80
|
-
font-size: 32px;
|
|
81
|
-
font-family: Arial;
|
|
82
|
-
font-style: normal;
|
|
83
|
-
line-height: 40px; /* 125% */
|
|
84
|
-
cursor: pointer;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
&-filter {
|
|
90
|
-
display: flex;
|
|
91
|
-
flex-direction: row;
|
|
92
|
-
align-items: center;
|
|
93
|
-
padding: 16px 0;
|
|
94
|
-
&-left {
|
|
95
|
-
display: flex;
|
|
96
|
-
flex: 1;
|
|
97
|
-
flex-direction: row;
|
|
98
|
-
gap: 16px;
|
|
99
|
-
align-items: center;
|
|
100
|
-
}
|
|
101
|
-
&-right {
|
|
102
|
-
display: flex;
|
|
103
|
-
flex-direction: row;
|
|
104
|
-
gap: 16px;
|
|
105
|
-
align-items: center;
|
|
106
|
-
.button:not(.disabled):not(.ant-btn-primary) {
|
|
107
|
-
color: #1454e5;
|
|
108
|
-
border: 1px solid #1454e5;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&-table {
|
|
114
|
-
&-status {
|
|
115
|
-
display: flex;
|
|
116
|
-
align-items: center;
|
|
117
|
-
padding: 1px 8px;
|
|
118
|
-
font-weight: 400;
|
|
119
|
-
font-size: 14px;
|
|
120
|
-
line-height: 22px; /* 157.143% */
|
|
121
|
-
border-radius: 2px;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
.system-setting-demand-pop {
|
|
126
|
-
display: flex;
|
|
127
|
-
flex-direction: column;
|
|
128
|
-
gap: 8px;
|
|
129
|
-
width: 136px;
|
|
130
|
-
&-header {
|
|
131
|
-
display: flex;
|
|
132
|
-
flex-direction: row;
|
|
133
|
-
align-items: flex-start;
|
|
134
|
-
justify-content: space-between;
|
|
135
|
-
color: var(--io-N-, #021429);
|
|
136
|
-
font-weight: 400;
|
|
137
|
-
font-size: 16px;
|
|
138
|
-
line-height: 24px; /* 150% */
|
|
139
|
-
.qingchu {
|
|
140
|
-
color: #9aa1a9;
|
|
141
|
-
cursor: pointer;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
&-footer {
|
|
145
|
-
display: flex;
|
|
146
|
-
flex-direction: row;
|
|
147
|
-
align-items: center;
|
|
148
|
-
justify-content: space-between;
|
|
149
|
-
.ant-btn-primary {
|
|
150
|
-
height: 24px;
|
|
151
|
-
padding-top: 0;
|
|
152
|
-
padding-bottom: 0;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
1
|
+
// @import '~@zgfe/business-lib/es/assets/styles/inner.less';
|
|
2
|
+
.system-setting-demand {
|
|
3
|
+
padding: 24px;
|
|
4
|
+
background-color: #fff;
|
|
5
|
+
|
|
6
|
+
&-title {
|
|
7
|
+
padding: 16px 0;
|
|
8
|
+
color: #021429;
|
|
9
|
+
font-weight: 500;
|
|
10
|
+
font-size: 20px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&-panel {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: row;
|
|
16
|
+
gap: 16px;
|
|
17
|
+
&-all {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: row;
|
|
20
|
+
gap: 16px;
|
|
21
|
+
align-items: center;
|
|
22
|
+
width: 256px;
|
|
23
|
+
padding: 24px;
|
|
24
|
+
color: var(--io-N8-, #354354);
|
|
25
|
+
font-weight: 400;
|
|
26
|
+
font-size: 16px;
|
|
27
|
+
background: var(--io-n-02, #fafafb);
|
|
28
|
+
border-radius: 8px;
|
|
29
|
+
&-img {
|
|
30
|
+
width: 64px;
|
|
31
|
+
height: 64px;
|
|
32
|
+
background: url('./../images/title-bg.png') no-repeat;
|
|
33
|
+
background-size: contain;
|
|
34
|
+
}
|
|
35
|
+
&-num {
|
|
36
|
+
color: var(--io-N-, #021429);
|
|
37
|
+
font-weight: 700;
|
|
38
|
+
font-size: 32px;
|
|
39
|
+
line-height: 40px; /* 125% */
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
&-status {
|
|
44
|
+
display: flex;
|
|
45
|
+
flex: 1;
|
|
46
|
+
flex-direction: row;
|
|
47
|
+
color: var(--io-N8-, #354354);
|
|
48
|
+
font-weight: 400;
|
|
49
|
+
font-size: 16px;
|
|
50
|
+
font-family: 'PingFang SC';
|
|
51
|
+
font-style: normal;
|
|
52
|
+
line-height: normal;
|
|
53
|
+
background: var(--io-n-02, #fafafb);
|
|
54
|
+
border-radius: 8px;
|
|
55
|
+
&-item {
|
|
56
|
+
display: flex;
|
|
57
|
+
flex: 1;
|
|
58
|
+
// align-items: center;
|
|
59
|
+
flex-direction: column;
|
|
60
|
+
padding: 24px;
|
|
61
|
+
&-txt {
|
|
62
|
+
display: flex;
|
|
63
|
+
flex-direction: row;
|
|
64
|
+
gap: 4px;
|
|
65
|
+
align-items: center;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
}
|
|
68
|
+
&-icon {
|
|
69
|
+
display: block;
|
|
70
|
+
width: 8px;
|
|
71
|
+
height: 8px;
|
|
72
|
+
border-radius: 4px;
|
|
73
|
+
content: '';
|
|
74
|
+
}
|
|
75
|
+
&-num {
|
|
76
|
+
margin-top: 4px;
|
|
77
|
+
margin-left: 12px;
|
|
78
|
+
color: var(--io-N-, #021429);
|
|
79
|
+
font-weight: 700;
|
|
80
|
+
font-size: 32px;
|
|
81
|
+
font-family: Arial;
|
|
82
|
+
font-style: normal;
|
|
83
|
+
line-height: 40px; /* 125% */
|
|
84
|
+
cursor: pointer;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
&-filter {
|
|
90
|
+
display: flex;
|
|
91
|
+
flex-direction: row;
|
|
92
|
+
align-items: center;
|
|
93
|
+
padding: 16px 0;
|
|
94
|
+
&-left {
|
|
95
|
+
display: flex;
|
|
96
|
+
flex: 1;
|
|
97
|
+
flex-direction: row;
|
|
98
|
+
gap: 16px;
|
|
99
|
+
align-items: center;
|
|
100
|
+
}
|
|
101
|
+
&-right {
|
|
102
|
+
display: flex;
|
|
103
|
+
flex-direction: row;
|
|
104
|
+
gap: 16px;
|
|
105
|
+
align-items: center;
|
|
106
|
+
.button:not(.disabled):not(.ant-btn-primary) {
|
|
107
|
+
color: #1454e5;
|
|
108
|
+
border: 1px solid #1454e5;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&-table {
|
|
114
|
+
&-status {
|
|
115
|
+
display: flex;
|
|
116
|
+
align-items: center;
|
|
117
|
+
padding: 1px 8px;
|
|
118
|
+
font-weight: 400;
|
|
119
|
+
font-size: 14px;
|
|
120
|
+
line-height: 22px; /* 157.143% */
|
|
121
|
+
border-radius: 2px;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
.system-setting-demand-pop {
|
|
126
|
+
display: flex;
|
|
127
|
+
flex-direction: column;
|
|
128
|
+
gap: 8px;
|
|
129
|
+
width: 136px;
|
|
130
|
+
&-header {
|
|
131
|
+
display: flex;
|
|
132
|
+
flex-direction: row;
|
|
133
|
+
align-items: flex-start;
|
|
134
|
+
justify-content: space-between;
|
|
135
|
+
color: var(--io-N-, #021429);
|
|
136
|
+
font-weight: 400;
|
|
137
|
+
font-size: 16px;
|
|
138
|
+
line-height: 24px; /* 150% */
|
|
139
|
+
.qingchu {
|
|
140
|
+
color: #9aa1a9;
|
|
141
|
+
cursor: pointer;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
&-footer {
|
|
145
|
+
display: flex;
|
|
146
|
+
flex-direction: row;
|
|
147
|
+
align-items: center;
|
|
148
|
+
justify-content: space-between;
|
|
149
|
+
.ant-btn-primary {
|
|
150
|
+
height: 24px;
|
|
151
|
+
padding-top: 0;
|
|
152
|
+
padding-bottom: 0;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-settings",
|
|
3
|
-
"version": "2.0.0-zhongyuan.
|
|
3
|
+
"version": "2.0.0-zhongyuan.30",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"typings": "es/index.d.ts",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "fe33a47697d07ffcf6a05127afc43ffd8513b23d",
|
|
71
71
|
"gitHooks": {
|
|
72
72
|
"pre-commit": "lint-staged"
|
|
73
73
|
}
|