@zgfe/modules-settings 2.0.0-zhongyuan.4 → 2.0.0-zhongyuan.41
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/constants/api.d.ts +9 -0
- package/es/constants/api.js +15 -0
- package/es/modules/companySetting/application/index.d.ts +13 -0
- package/es/modules/companySetting/application/index.js +271 -98
- package/es/modules/companySetting/application/index.less +144 -126
- package/es/modules/companySetting/user/index.js +7 -0
- package/es/modules/companySetting/user/index.less +363 -363
- package/es/modules/companySetting/user/invite.js +19 -0
- package/es/modules/createDemand/constants.d.ts +15 -2
- package/es/modules/createDemand/constants.js +57 -4
- package/es/modules/createDemand/index.js +769 -170
- package/es/modules/createDemand/styles/index.less +397 -277
- package/es/modules/demandManage/index.js +139 -160
- package/es/modules/demandManage/styles/index.less +155 -210
- package/es/modules/messageList/index.d.ts +1 -1
- package/es/modules/messageList/index.js +5 -5
- package/es/modules/personalSetting/demo/index.d.ts +3 -0
- package/es/modules/personalSetting/demo/index.js +12 -0
- package/es/modules/personalSetting/index.js +11 -1
- package/es/modules/personalSetting/info/index.js +23 -5
- package/es/modules/pointMap/createMetaDrawer.d.ts +4 -0
- package/es/modules/pointMap/createMetaDrawer.js +651 -0
- package/es/modules/pointMap/pageInfo.js +323 -130
- package/es/modules/pointMap/record.d.ts +7 -0
- package/es/modules/pointMap/record.js +521 -0
- package/es/modules/pointMap/styles/pageInfo.less +420 -244
- package/es/modules/pointMap/styles/tree.css +145 -145
- package/es/modules/pointMap/styles/tree.less +149 -149
- package/es/modules/pointMap/tree.js +1 -0
- package/es/modules/pointMap/types.d.ts +88 -0
- package/es/modules/pointMap/types.js +1 -0
- package/es/modules/systemSetting/document-setting/index.js +44 -15
- package/es/modules/systemSetting/index.css +161 -161
- package/es/modules/systemSetting/index.less +169 -169
- package/es/types/personal.d.ts +1 -0
- package/package.json +2 -2
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
3
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
5
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
2
6
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
7
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
8
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
@@ -11,12 +15,13 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
11
15
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
12
16
|
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
13
17
|
import { BizGlobalDataContext, BizTable, IconFont } from '@zgfe/business-lib';
|
|
14
|
-
import { Input, Button, Select, message, Tooltip } from 'antd';
|
|
18
|
+
import { Input, Button, Select, message, Tooltip, Modal, notification } from 'antd';
|
|
15
19
|
import React, { useEffect, useState, useContext } from 'react';
|
|
16
20
|
import './styles/index.less';
|
|
17
21
|
import apis from '../../constants/api';
|
|
18
22
|
import request from '../../utils/ajax';
|
|
19
23
|
import moment from 'moment';
|
|
24
|
+
import { demandTabList } from '../createDemand/constants';
|
|
20
25
|
var sorterKey = {
|
|
21
26
|
ascend: 'asc',
|
|
22
27
|
descend: 'desc'
|
|
@@ -42,23 +47,26 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
42
47
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
43
48
|
pageData = _useState4[0],
|
|
44
49
|
setPageData = _useState4[1];
|
|
45
|
-
var _useState5 = useState(
|
|
46
|
-
_useState6 = _slicedToArray(_useState5,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
// 状态:1-待处理, 2-处理中,3-已驳回,4-已结束
|
|
50
|
-
var _useState7 = useState(0),
|
|
50
|
+
var _useState5 = useState(demandTabList),
|
|
51
|
+
_useState6 = _slicedToArray(_useState5, 1),
|
|
52
|
+
labelList = _useState6[0];
|
|
53
|
+
var _useState7 = useState(route && route.query && route.query.demandKey || ''),
|
|
51
54
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
+
demandName = _useState8[0],
|
|
56
|
+
setDemandName = _useState8[1];
|
|
57
|
+
// 状态:1-待处理, 2-处理中,3-已驳回,4-已结束,5-已超时
|
|
58
|
+
var _useState9 = useState(0),
|
|
55
59
|
_useState10 = _slicedToArray(_useState9, 2),
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
var _useState11 = useState(),
|
|
60
|
+
demandStatus = _useState10[0],
|
|
61
|
+
setDemandStatus = _useState10[1];
|
|
62
|
+
var _useState11 = useState([]),
|
|
59
63
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
60
|
-
|
|
61
|
-
|
|
64
|
+
demandList = _useState12[0],
|
|
65
|
+
setDemandList = _useState12[1];
|
|
66
|
+
var _useState13 = useState(),
|
|
67
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
68
|
+
tableTotal = _useState14[0],
|
|
69
|
+
setTableTotal = _useState14[1];
|
|
62
70
|
useEffect(function () {
|
|
63
71
|
getDemandStatistics();
|
|
64
72
|
}, []);
|
|
@@ -80,7 +88,11 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
80
88
|
}
|
|
81
89
|
}).then(function (res) {
|
|
82
90
|
if (res && res.code === '100000') {
|
|
83
|
-
|
|
91
|
+
var data = {};
|
|
92
|
+
res.data.map(function (res) {
|
|
93
|
+
data[res.node] = res.count;
|
|
94
|
+
});
|
|
95
|
+
setDemandInfo(data);
|
|
84
96
|
}
|
|
85
97
|
}).catch(function (err) {
|
|
86
98
|
console.log(err);
|
|
@@ -145,7 +157,10 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
145
157
|
message.error('无查看权限');
|
|
146
158
|
return;
|
|
147
159
|
}
|
|
148
|
-
props.onDeal && props.onDeal('
|
|
160
|
+
props.onDeal && props.onDeal('revocation', {
|
|
161
|
+
type: 'manage',
|
|
162
|
+
demand: data
|
|
163
|
+
});
|
|
149
164
|
// router &&
|
|
150
165
|
// router?.push({
|
|
151
166
|
// name: routes.createDemand,
|
|
@@ -181,18 +196,24 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
181
196
|
dataIndex: 'demandStatus',
|
|
182
197
|
width: 160,
|
|
183
198
|
render: function render(demandStatus) {
|
|
184
|
-
var
|
|
199
|
+
var data = labelList.filter(function (res) {
|
|
200
|
+
return res.value == demandStatus;
|
|
201
|
+
})[0] || {};
|
|
185
202
|
return /*#__PURE__*/React.createElement("div", {
|
|
186
203
|
style: {
|
|
187
204
|
display: 'flex'
|
|
188
205
|
}
|
|
189
206
|
}, /*#__PURE__*/React.createElement("div", {
|
|
190
|
-
className: "".concat(classPrefix, "-table-status")
|
|
191
|
-
|
|
207
|
+
className: "".concat(classPrefix, "-table-status"),
|
|
208
|
+
style: {
|
|
209
|
+
backgroundColor: data.color + '20',
|
|
210
|
+
color: data.color
|
|
211
|
+
}
|
|
212
|
+
}, data.label));
|
|
192
213
|
}
|
|
193
214
|
}, {
|
|
194
215
|
title: '操作',
|
|
195
|
-
width:
|
|
216
|
+
width: 270,
|
|
196
217
|
fixed: 'right',
|
|
197
218
|
render: function render(record) {
|
|
198
219
|
return /*#__PURE__*/React.createElement(DealDom, {
|
|
@@ -202,10 +223,10 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
202
223
|
}
|
|
203
224
|
}];
|
|
204
225
|
var DealDom = function DealDom(props) {
|
|
205
|
-
var
|
|
206
|
-
|
|
207
|
-
open =
|
|
208
|
-
setOpen =
|
|
226
|
+
var _useState15 = useState(false),
|
|
227
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
228
|
+
open = _useState16[0],
|
|
229
|
+
setOpen = _useState16[1];
|
|
209
230
|
var hide = function hide() {
|
|
210
231
|
setOpen(false);
|
|
211
232
|
};
|
|
@@ -218,21 +239,7 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
218
239
|
}
|
|
219
240
|
}).then(function (res) {
|
|
220
241
|
if (res === null || res === void 0 ? void 0 : res.data) {
|
|
221
|
-
|
|
222
|
-
request(apis.revocationDemand, {
|
|
223
|
-
method: 'POST',
|
|
224
|
-
data: {
|
|
225
|
-
app_id: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId,
|
|
226
|
-
id: props.record.id
|
|
227
|
-
}
|
|
228
|
-
}).then(function (re) {
|
|
229
|
-
props.onDeal && props.onDeal(type, res.data);
|
|
230
|
-
getDemandStatistics();
|
|
231
|
-
getDemandList();
|
|
232
|
-
});
|
|
233
|
-
} else {
|
|
234
|
-
props.onDeal && props.onDeal(type, res.data);
|
|
235
|
-
}
|
|
242
|
+
props.onDeal && props.onDeal(type, res.data);
|
|
236
243
|
}
|
|
237
244
|
// getDemandStatistics();
|
|
238
245
|
// getDemandList();
|
|
@@ -241,72 +248,84 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
241
248
|
var handleOpenChange = function handleOpenChange(newOpen) {
|
|
242
249
|
setOpen(newOpen);
|
|
243
250
|
};
|
|
244
|
-
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
},
|
|
251
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
|
|
252
|
+
color: "primary",
|
|
253
|
+
type: "link",
|
|
248
254
|
onClick: function onClick() {
|
|
249
255
|
if (!authority[17228364472]) {
|
|
250
256
|
message.error('无查看权限');
|
|
251
257
|
return;
|
|
252
258
|
}
|
|
253
259
|
props.onDeal && props.onDeal('view', props.record.id);
|
|
254
|
-
// router &&
|
|
255
|
-
// router?.push({
|
|
256
|
-
// name: routes.createDemand,
|
|
257
|
-
// query: {
|
|
258
|
-
// id: props.record.id,
|
|
259
|
-
// },
|
|
260
|
-
// });
|
|
261
260
|
}
|
|
262
|
-
}, "\u67E5\u770B"),
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
// content={
|
|
266
|
-
// <div className={`${classPrefix}-pop`}>
|
|
267
|
-
// <div className={`${classPrefix}-pop-header`}>
|
|
268
|
-
// 需求处理 <IconFont type="qingchu" onClick={hide} />
|
|
269
|
-
// </div>
|
|
270
|
-
// <div className={`${classPrefix}-pop-footer`}>
|
|
271
|
-
// <Button
|
|
272
|
-
// danger
|
|
273
|
-
// type={'primary'}
|
|
274
|
-
// onClick={() => {
|
|
275
|
-
// submitDemand(props.record.id, 2);
|
|
276
|
-
// }}
|
|
277
|
-
// >
|
|
278
|
-
// 驳回
|
|
279
|
-
// </Button>
|
|
280
|
-
// <Button
|
|
281
|
-
// type={'primary'}
|
|
282
|
-
// onClick={() => {
|
|
283
|
-
// submitDemand(props.record.id, 1);
|
|
284
|
-
// }}
|
|
285
|
-
// >
|
|
286
|
-
// 同意
|
|
287
|
-
// </Button>
|
|
288
|
-
// </div>
|
|
289
|
-
// </div>
|
|
290
|
-
// }
|
|
291
|
-
// trigger="click"
|
|
292
|
-
// open={open}
|
|
293
|
-
// onOpenChange={handleOpenChange}
|
|
294
|
-
// >
|
|
295
|
-
React.createElement("a", {
|
|
296
|
-
style: {
|
|
297
|
-
marginRight: 16
|
|
298
|
-
},
|
|
261
|
+
}, "\u67E5\u770B"), /*#__PURE__*/React.createElement(Button, {
|
|
262
|
+
color: "primary",
|
|
263
|
+
type: "link",
|
|
299
264
|
onClick: function onClick() {
|
|
300
|
-
|
|
265
|
+
Modal.confirm({
|
|
266
|
+
wrapClassName: "".concat(classPrefix, "-confirm"),
|
|
267
|
+
title: '提示',
|
|
268
|
+
icon: null,
|
|
269
|
+
closable: true,
|
|
270
|
+
content: '您确定要关闭当前需求?',
|
|
271
|
+
okText: '确定',
|
|
272
|
+
cancelText: '取消',
|
|
273
|
+
onOk: function onOk() {
|
|
274
|
+
disableDemand(props.record);
|
|
275
|
+
}
|
|
276
|
+
});
|
|
301
277
|
}
|
|
302
|
-
}, "\
|
|
303
|
-
|
|
304
|
-
|
|
278
|
+
}, "\u5173\u95ED"), /*#__PURE__*/React.createElement(Button, {
|
|
279
|
+
color: "primary",
|
|
280
|
+
type: "link",
|
|
305
281
|
onClick: function onClick() {
|
|
306
|
-
|
|
282
|
+
props.onDeal && props.onDeal('revocation', {
|
|
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
|
+
}
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
}, "\u590D\u5236"), [101, 102].indexOf(props.record.demandStatus) == -1 && (/*#__PURE__*/React.createElement(Button, {
|
|
297
|
+
color: "primary",
|
|
298
|
+
type: "link",
|
|
299
|
+
onClick: function onClick() {
|
|
300
|
+
// getDemand('revocation');
|
|
301
|
+
props.onDeal && props.onDeal('revocation', {
|
|
302
|
+
type: 'edit',
|
|
303
|
+
demand: props.record
|
|
304
|
+
});
|
|
307
305
|
}
|
|
308
|
-
}, "\
|
|
306
|
+
}, "\u7F16\u8F91")));
|
|
309
307
|
};
|
|
308
|
+
//关闭功能
|
|
309
|
+
var disableDemand = function disableDemand(data) {
|
|
310
|
+
request(apis.setting.disableDemand, {
|
|
311
|
+
method: 'post',
|
|
312
|
+
data: {
|
|
313
|
+
appId: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId,
|
|
314
|
+
id: data.id,
|
|
315
|
+
creatorId: data.creatorId
|
|
316
|
+
}
|
|
317
|
+
}).then(function (res) {
|
|
318
|
+
if (res && res.code === '100000') {
|
|
319
|
+
notification.success({
|
|
320
|
+
message: '关闭成功'
|
|
321
|
+
});
|
|
322
|
+
getDemandList();
|
|
323
|
+
}
|
|
324
|
+
}).catch(function (err) {
|
|
325
|
+
console.log(err);
|
|
326
|
+
});
|
|
327
|
+
};
|
|
328
|
+
//复制功能
|
|
310
329
|
return /*#__PURE__*/React.createElement("div", {
|
|
311
330
|
className: classPrefix
|
|
312
331
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -327,57 +346,29 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
327
346
|
onClick: function onClick() {
|
|
328
347
|
return setDemandStatus(0);
|
|
329
348
|
}
|
|
330
|
-
}, demandInfo ?
|
|
349
|
+
}, demandInfo ? demandInfo[100] || 0 : '-'))), /*#__PURE__*/React.createElement("div", {
|
|
331
350
|
className: "".concat(classPrefix, "-panel-status")
|
|
332
|
-
},
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
onClick: function onClick() {
|
|
354
|
-
return setDemandStatus(2);
|
|
355
|
-
}
|
|
356
|
-
}, demandInfo ? (demandInfo === null || demandInfo === void 0 ? void 0 : demandInfo.beingProcessedSum) || 0 : '-')), /*#__PURE__*/React.createElement("div", {
|
|
357
|
-
className: "".concat(classPrefix, "-panel-status-item")
|
|
358
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
359
|
-
className: "".concat(classPrefix, "-panel-status-item-txt"),
|
|
360
|
-
onClick: function onClick() {
|
|
361
|
-
return setDemandStatus(3);
|
|
362
|
-
}
|
|
363
|
-
}, "\u5DF2\u9A73\u56DE"), /*#__PURE__*/React.createElement("div", {
|
|
364
|
-
className: "".concat(classPrefix, "-panel-status-item-num"),
|
|
365
|
-
onClick: function onClick() {
|
|
366
|
-
return setDemandStatus(3);
|
|
367
|
-
}
|
|
368
|
-
}, demandInfo ? (demandInfo === null || demandInfo === void 0 ? void 0 : demandInfo.rejectedSum) || 0 : '-')), /*#__PURE__*/React.createElement("div", {
|
|
369
|
-
className: "".concat(classPrefix, "-panel-status-item")
|
|
370
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
371
|
-
className: "".concat(classPrefix, "-panel-status-item-txt"),
|
|
372
|
-
onClick: function onClick() {
|
|
373
|
-
return setDemandStatus(4);
|
|
374
|
-
}
|
|
375
|
-
}, "\u5DF2\u5B8C\u6210"), /*#__PURE__*/React.createElement("div", {
|
|
376
|
-
className: "".concat(classPrefix, "-panel-status-item-num"),
|
|
377
|
-
onClick: function onClick() {
|
|
378
|
-
return setDemandStatus(4);
|
|
379
|
-
}
|
|
380
|
-
}, demandInfo ? (demandInfo === null || demandInfo === void 0 ? void 0 : demandInfo.finishedSum) || 0 : '-')))), /*#__PURE__*/React.createElement("div", {
|
|
351
|
+
}, labelList.map(function (res) {
|
|
352
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
353
|
+
key: res.key,
|
|
354
|
+
className: "".concat(classPrefix, "-panel-status-item")
|
|
355
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
356
|
+
className: "".concat(classPrefix, "-panel-status-item-txt"),
|
|
357
|
+
onClick: function onClick() {
|
|
358
|
+
return setDemandStatus(res.value);
|
|
359
|
+
}
|
|
360
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
361
|
+
className: "".concat(classPrefix, "-panel-status-item-icon"),
|
|
362
|
+
style: {
|
|
363
|
+
backgroundColor: res.color
|
|
364
|
+
}
|
|
365
|
+
}), res.label), /*#__PURE__*/React.createElement("div", {
|
|
366
|
+
className: "".concat(classPrefix, "-panel-status-item-num"),
|
|
367
|
+
onClick: function onClick() {
|
|
368
|
+
return setDemandStatus(res.value);
|
|
369
|
+
}
|
|
370
|
+
}, demandInfo ? demandInfo[res.value] || 0 : '-'));
|
|
371
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
381
372
|
className: "".concat(classPrefix, "-filter")
|
|
382
373
|
}, /*#__PURE__*/React.createElement("div", {
|
|
383
374
|
className: "".concat(classPrefix, "-filter-left")
|
|
@@ -390,7 +381,7 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
390
381
|
onChange: function onChange(e) {
|
|
391
382
|
return setDemandName(e.target.value);
|
|
392
383
|
},
|
|
393
|
-
placeholder: "\u8BF7\u8F93\u5165\u9700\u6C42\u540D\u79F0
|
|
384
|
+
placeholder: "\u8BF7\u8F93\u5165\u9700\u6C42\u540D\u79F0",
|
|
394
385
|
prefix: /*#__PURE__*/React.createElement(IconFont, {
|
|
395
386
|
type: "sousuo"
|
|
396
387
|
})
|
|
@@ -411,19 +402,7 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
411
402
|
options: [{
|
|
412
403
|
value: 0,
|
|
413
404
|
label: '全部'
|
|
414
|
-
}
|
|
415
|
-
value: 1,
|
|
416
|
-
label: '待处理'
|
|
417
|
-
}, {
|
|
418
|
-
value: 2,
|
|
419
|
-
label: '处理中'
|
|
420
|
-
}, {
|
|
421
|
-
value: 3,
|
|
422
|
-
label: '已驳回'
|
|
423
|
-
}, {
|
|
424
|
-
value: 4,
|
|
425
|
-
label: '已结束'
|
|
426
|
-
}]
|
|
405
|
+
}].concat(_toConsumableArray(labelList))
|
|
427
406
|
}), /*#__PURE__*/React.createElement("div", {
|
|
428
407
|
className: "top-total"
|
|
429
408
|
}, "\u5171", /*#__PURE__*/React.createElement("a", null, "\xA0", tableTotal || '-', "\xA0"), "\u6761")), /*#__PURE__*/React.createElement("div", {
|
|
@@ -440,7 +419,7 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
440
419
|
// name: routes.createDemand,
|
|
441
420
|
// });
|
|
442
421
|
}
|
|
443
|
-
}, "\u65B0\u589E\u9700\u6C42"), /*#__PURE__*/React.createElement(Button, {
|
|
422
|
+
}, "\u65B0\u589E\u9700\u6C42"), false && (/*#__PURE__*/React.createElement(Button, {
|
|
444
423
|
shape: "round",
|
|
445
424
|
className: "button ".concat(!authority[1722839123] ? 'disabled' : ''),
|
|
446
425
|
disabled: isDemo || !authority[1722839123],
|
|
@@ -452,7 +431,7 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
452
431
|
}
|
|
453
432
|
}));
|
|
454
433
|
}
|
|
455
|
-
}, "\u6D41\u7A0B\u7BA1\u7406"))), /*#__PURE__*/React.createElement(BizTable, {
|
|
434
|
+
}, "\u6D41\u7A0B\u7BA1\u7406")))), /*#__PURE__*/React.createElement(BizTable, {
|
|
456
435
|
className: "".concat(classPrefix, "-table"),
|
|
457
436
|
columns: columns,
|
|
458
437
|
rowKey: "id",
|