@zgfe/modules-dm 1.0.42-alpha.9 → 1.0.56-zhongyuan.5
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/components/demo.js +1 -1
- package/es/constants/api.d.ts +37 -0
- package/es/constants/api.js +62 -1
- package/es/index.d.ts +3 -1
- package/es/index.js +3 -1
- package/es/modules/CutsModal.d.ts +66 -0
- package/es/modules/CutsModal.js +52 -0
- package/es/modules/dataManage/collectionAttributeList.d.ts +3 -0
- package/es/modules/dataManage/collectionAttributeList.js +524 -80
- package/es/modules/dataManage/collectionEventList.d.ts +6 -0
- package/es/modules/dataManage/collectionEventList.js +482 -62
- package/es/modules/dataManage/components/createAttrDrawer.d.ts +4 -0
- package/es/modules/dataManage/components/createAttrDrawer.js +264 -0
- package/es/modules/dataManage/components/createMetaDrawer.d.ts +4 -0
- package/es/modules/dataManage/components/createMetaDrawer.js +618 -0
- package/es/modules/dataManage/components/createVirtualDrawer.js +19 -19
- package/es/modules/dataManage/components/creditPop/imgs/link.png +0 -0
- package/es/modules/dataManage/components/creditPop/imgs/png01.png +0 -0
- package/es/modules/dataManage/components/creditPop/imgs/png02.png +0 -0
- package/es/modules/dataManage/components/creditPop/imgs/png03.png +0 -0
- package/es/modules/dataManage/components/creditPop/imgs/png04.png +0 -0
- package/es/modules/dataManage/components/creditPop/index.d.ts +6 -0
- package/es/modules/dataManage/components/creditPop/index.js +89 -0
- package/es/modules/dataManage/components/creditPop/index.less +121 -0
- package/es/modules/dataManage/components/deleteConfirm.d.ts +9 -0
- package/es/modules/dataManage/components/deleteConfirm.js +36 -0
- package/es/modules/dataManage/components/deleteUserAttrConfirm.d.ts +9 -0
- package/es/modules/dataManage/components/deleteUserAttrConfirm.js +57 -0
- package/es/modules/dataManage/components/depositPop/imgs/link.png +0 -0
- package/es/modules/dataManage/components/depositPop/imgs/png01.png +0 -0
- package/es/modules/dataManage/components/depositPop/imgs/png02.png +0 -0
- package/es/modules/dataManage/components/depositPop/index.d.ts +6 -0
- package/es/modules/dataManage/components/depositPop/index.js +89 -0
- package/es/modules/dataManage/components/depositPop/index.less +115 -0
- package/es/modules/dataManage/components/developModal/index.css +36 -0
- package/es/modules/dataManage/components/developModal/index.d.ts +6 -0
- package/es/modules/dataManage/components/developModal/index.js +224 -0
- package/es/modules/dataManage/components/developModal/index.less +36 -0
- package/es/modules/dataManage/components/editTxt/index.d.ts +3 -0
- package/es/modules/dataManage/components/editTxt/index.js +123 -0
- package/es/modules/dataManage/components/editTxt/index.less +44 -0
- package/es/modules/dataManage/components/editTxt/types.d.ts +48 -0
- package/es/modules/dataManage/components/editTxt/types.js +1 -0
- package/es/modules/dataManage/components/eventFilter/index.js +13 -13
- package/es/modules/dataManage/components/eventFilter/styles/index.less +72 -72
- package/es/modules/dataManage/components/eventGroupingDrawer.js +41 -44
- package/es/modules/dataManage/components/importAttrDialog/demo/index.d.ts +3 -0
- package/es/modules/dataManage/components/importAttrDialog/demo/index.js +28 -0
- package/es/modules/dataManage/components/importAttrDialog/index.d.ts +7 -0
- package/es/modules/dataManage/components/importAttrDialog/index.js +159 -0
- package/es/modules/dataManage/components/importAttrDialog/styles/index.less +90 -0
- package/es/modules/dataManage/components/importMetaDialog/demo/index.d.ts +3 -0
- package/es/modules/dataManage/components/importMetaDialog/demo/index.js +28 -0
- package/es/modules/dataManage/components/importMetaDialog/index.d.ts +7 -0
- package/es/modules/dataManage/components/importMetaDialog/index.js +159 -0
- package/es/modules/dataManage/components/importMetaDialog/styles/index.less +91 -0
- package/es/modules/dataManage/components/selectAttributes.js +10 -10
- package/es/modules/dataManage/components/tablePlus.d.ts +4 -0
- package/es/modules/dataManage/components/tablePlus.js +625 -94
- package/es/modules/dataManage/components/virtualTablePlus.js +7 -7
- package/es/modules/dataManage/demo/index.d.ts +2 -1
- package/es/modules/dataManage/demo/index.js +79 -16
- package/es/modules/dataManage/detailedData/DetailedDataForm.d.ts +5 -0
- package/es/modules/dataManage/detailedData/DetailedDataForm.js +216 -0
- package/es/modules/dataManage/detailedData/index.d.ts +24 -0
- package/es/modules/dataManage/detailedData/index.js +403 -0
- package/es/modules/dataManage/detailedData/useColumns.d.ts +34 -0
- package/es/modules/dataManage/detailedData/useColumns.js +135 -0
- package/es/modules/dataManage/index.d.ts +9 -4
- package/es/modules/dataManage/index.js +142 -50
- package/es/modules/dataManage/styles/detailed.less +74 -0
- package/es/modules/dataManage/styles/index.less +1195 -841
- package/es/modules/dataManage/types.d.ts +8 -0
- package/es/modules/dataManage/virtualEventList.js +13 -13
- package/es/modules/dataMap/component/data.d.ts +7 -0
- package/es/modules/dataMap/component/data.js +257 -0
- package/es/modules/dataMap/component/drawerAdd.d.ts +6 -0
- package/es/modules/dataMap/component/drawerAdd.js +379 -0
- package/es/modules/dataMap/component/leftTree.d.ts +6 -0
- package/es/modules/dataMap/component/leftTree.js +232 -0
- package/es/modules/dataMap/component/rightDetail.d.ts +7 -0
- package/es/modules/dataMap/component/rightDetail.js +694 -0
- package/es/modules/dataMap/component/selectAttr.d.ts +7 -0
- package/es/modules/dataMap/component/selectAttr.js +92 -0
- package/es/modules/dataMap/css/index.css +163 -0
- package/es/modules/dataMap/css/index.less +177 -0
- package/es/modules/dataMap/demo/index.d.ts +3 -0
- package/es/modules/dataMap/demo/index.js +6 -0
- package/es/modules/dataMap/img/empty-data.png +0 -0
- package/es/modules/dataMap/index.d.ts +3 -0
- package/es/modules/dataMap/index.js +80 -0
- package/es/modules/dataMap/mapDetail.d.ts +3 -0
- package/es/modules/dataMap/mapDetail.js +44 -0
- package/es/modules/dataMap/mapSetting.d.ts +6 -0
- package/es/modules/dataMap/mapSetting.js +156 -0
- package/es/modules/dataPlan/addEventOrUser.js +31 -30
- package/es/modules/dataPlan/addPlan.js +29 -27
- package/es/modules/dataPlan/eventList.js +2 -2
- package/es/modules/dataPlan/index.js +10 -10
- package/es/modules/dataPlan/search.js +6 -5
- package/es/modules/dataPlan/styles/index.less +316 -316
- package/es/modules/dataPlan/tablePlus.js +3 -3
- package/es/modules/dataPlan/userAttributeList.js +5 -5
- package/es/modules/dataReal/css/index.css +48 -0
- package/es/modules/dataReal/css/index.less +51 -0
- package/es/modules/dataReal/demo/index.d.ts +3 -0
- package/es/modules/dataReal/demo/index.js +6 -0
- package/es/modules/dataReal/index1.d.ts +28 -0
- package/es/modules/dataReal/index1.js +247 -0
- package/es/modules/dataReal/table.d.ts +5 -0
- package/es/modules/dataReal/table.js +260 -0
- package/es/store/index.js +11 -11
- package/es/utils/index.d.ts +1 -0
- package/es/utils/index.js +9 -1
- package/package.json +64 -58
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
4
|
-
function _defineProperty(
|
|
5
|
-
function _toPropertyKey(
|
|
6
|
-
function _toPrimitive(
|
|
7
|
-
function _slicedToArray(
|
|
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 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
|
+
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
|
+
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; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
8
8
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
9
|
-
function _unsupportedIterableToArray(
|
|
10
|
-
function _arrayLikeToArray(
|
|
11
|
-
function _iterableToArrayLimit(
|
|
12
|
-
function _arrayWithHoles(
|
|
9
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
10
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
11
|
+
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
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
13
13
|
import { BizGlobalDataContext, IconFont } from '@zgfe/business-lib';
|
|
14
14
|
import { Input, Button, Select, Drawer, Form, message, Modal } from 'antd';
|
|
15
15
|
import { Fragment } from 'react';
|
|
@@ -163,9 +163,9 @@ var CreateVirtualDrawer = function CreateVirtualDrawer(props) {
|
|
|
163
163
|
type: "qingchu",
|
|
164
164
|
onClick: onClose
|
|
165
165
|
})
|
|
166
|
-
}, /*#__PURE__*/React.createElement(Fragment, null, virtualDrawerType === 'see' && /*#__PURE__*/React.createElement("div", {
|
|
166
|
+
}, /*#__PURE__*/React.createElement(Fragment, null, virtualDrawerType === 'see' && (/*#__PURE__*/React.createElement("div", {
|
|
167
167
|
className: "".concat(classPrefix, "-see-box")
|
|
168
|
-
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, "\u540D\u79F0"), editVirtualEventData.eventName), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, "\u522B\u540D"), editVirtualEventData.aliasName), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, "\u5206\u7EC4"), editGroupOptions((editVirtualEventData === null || editVirtualEventData === void 0 ? void 0 : editVirtualEventData.groupId) === null ? -1 : editVirtualEventData === null || editVirtualEventData === void 0 ? void 0 : editVirtualEventData.groupId)), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, "\u5907\u6CE8"), editVirtualEventData.description), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, "\u521B\u5EFA\u4EBA"), editVirtualEventData.createUser), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, "\u521B\u5EFA\u65F6\u95F4"), moment(editVirtualEventData.insertTime).format('YYYY-MM-DD HH:mm:ss')), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, "\u66F4\u65B0\u65F6\u95F4"), moment(editVirtualEventData.updateTime).format('YYYY-MM-DD HH:mm:ss'))), /*#__PURE__*/React.createElement(Form, {
|
|
168
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, "\u540D\u79F0"), editVirtualEventData.eventName), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, "\u522B\u540D"), editVirtualEventData.aliasName), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, "\u5206\u7EC4"), editGroupOptions((editVirtualEventData === null || editVirtualEventData === void 0 ? void 0 : editVirtualEventData.groupId) === null ? -1 : editVirtualEventData === null || editVirtualEventData === void 0 ? void 0 : editVirtualEventData.groupId)), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, "\u5907\u6CE8"), editVirtualEventData.description), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, "\u521B\u5EFA\u4EBA"), editVirtualEventData.createUser), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, "\u521B\u5EFA\u65F6\u95F4"), moment(editVirtualEventData.insertTime).format('YYYY-MM-DD HH:mm:ss')), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, "\u66F4\u65B0\u65F6\u95F4"), moment(editVirtualEventData.updateTime).format('YYYY-MM-DD HH:mm:ss')))), /*#__PURE__*/React.createElement(Form, {
|
|
169
169
|
name: "basic",
|
|
170
170
|
labelCol: {
|
|
171
171
|
span: 2
|
|
@@ -180,7 +180,7 @@ var CreateVirtualDrawer = function CreateVirtualDrawer(props) {
|
|
|
180
180
|
onFinish: onFinish,
|
|
181
181
|
onValuesChange: onValuesChange,
|
|
182
182
|
autoComplete: "off"
|
|
183
|
-
}, virtualDrawerType !== 'see' && /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(Form.Item, {
|
|
183
|
+
}, virtualDrawerType !== 'see' && (/*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(Form.Item, {
|
|
184
184
|
label: "\u540D\u79F0",
|
|
185
185
|
name: "eventName",
|
|
186
186
|
rules: [{
|
|
@@ -226,7 +226,7 @@ var CreateVirtualDrawer = function CreateVirtualDrawer(props) {
|
|
|
226
226
|
rows: 4,
|
|
227
227
|
placeholder: "\u8BF7\u8F93\u5165\u5907\u6CE8",
|
|
228
228
|
maxLength: 200
|
|
229
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
229
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
230
230
|
className: "".concat(classPrefix, "-eventDataBox ").concat(virtualDrawerType === 'see' ? 'see' : '')
|
|
231
231
|
}, /*#__PURE__*/React.createElement("div", null, "\u7EC4\u5408\u865A\u62DF\u4E8B\u4EF6"), /*#__PURE__*/React.createElement("div", null, "\u5F53\u4EE5\u4E0B\u4E8B\u4EF6\u4E2D\u4EFB\u610F\u4E00\u4E2A\u88AB\u89E6\u53D1\u65F6\uFF0C\u89C6\u4F5C\u8BE5\u865A\u62DF\u4E8B\u4EF6\u88AB\u89E6\u53D1\u3002"), /*#__PURE__*/React.createElement("div", {
|
|
232
232
|
className: "".concat(classPrefix, "-formList")
|
|
@@ -247,7 +247,7 @@ var CreateVirtualDrawer = function CreateVirtualDrawer(props) {
|
|
|
247
247
|
virtualDrawerType: virtualDrawerType,
|
|
248
248
|
selectList: selectList
|
|
249
249
|
}));
|
|
250
|
-
}), fields.length < 10 && virtualDrawerType !== 'see' && /*#__PURE__*/React.createElement("div", {
|
|
250
|
+
}), fields.length < 10 && virtualDrawerType !== 'see' && (/*#__PURE__*/React.createElement("div", {
|
|
251
251
|
className: "".concat(classPrefix, "-add")
|
|
252
252
|
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
253
253
|
className: "".concat(classPrefix, "-add-icon"),
|
|
@@ -259,8 +259,8 @@ var CreateVirtualDrawer = function CreateVirtualDrawer(props) {
|
|
|
259
259
|
onClick: function onClick() {
|
|
260
260
|
return add();
|
|
261
261
|
}
|
|
262
|
-
}, "\u6DFB\u52A0\u4E8B\u4EF6")));
|
|
263
|
-
}))), virtualDrawerType !== 'see' && /*#__PURE__*/React.createElement("div", {
|
|
262
|
+
}, "\u6DFB\u52A0\u4E8B\u4EF6"))));
|
|
263
|
+
}))), virtualDrawerType !== 'see' && (/*#__PURE__*/React.createElement("div", {
|
|
264
264
|
className: "".concat(classPrefix, "-formSubmit")
|
|
265
265
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
266
266
|
type: "default",
|
|
@@ -269,7 +269,7 @@ var CreateVirtualDrawer = function CreateVirtualDrawer(props) {
|
|
|
269
269
|
type: "primary",
|
|
270
270
|
htmlType: "submit",
|
|
271
271
|
disabled: !formSubmit || virtualDrawerType === 'edit' && (editVirtualEventData === null || editVirtualEventData === void 0 ? void 0 : editVirtualEventData.isStop) === 1 && (formSubmitData === undefined || formSubmitData && ((_formSubmitData$event = formSubmitData.eventJson) === null || _formSubmitData$event === void 0 ? void 0 : _formSubmitData$event.length) <= 0)
|
|
272
|
-
}, "\u4FDD\u5B58"))), /*#__PURE__*/React.createElement(SelectAttributes, {
|
|
272
|
+
}, "\u4FDD\u5B58")))), /*#__PURE__*/React.createElement(SelectAttributes, {
|
|
273
273
|
selectAttributesShow: selectAttributesShow,
|
|
274
274
|
setSelectAttributesShow: setSelectAttributesShow,
|
|
275
275
|
selectAttributesData: selectAttributesData,
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Button } from 'antd';
|
|
2
|
+
import React, { useContext } from 'react';
|
|
3
|
+
import './index.less';
|
|
4
|
+
import { BizGlobalDataContext, IconFont } from '@zgfe/business-lib';
|
|
5
|
+
var PageLoading = function PageLoading(props) {
|
|
6
|
+
var _useContext = useContext(BizGlobalDataContext),
|
|
7
|
+
router = _useContext.router,
|
|
8
|
+
routes = _useContext.routes;
|
|
9
|
+
var onClose = props.onClose;
|
|
10
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
11
|
+
className: "creditPopBg"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
13
|
+
className: "creditPopContent"
|
|
14
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
15
|
+
className: "creditPopHeader"
|
|
16
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
17
|
+
className: "creditPopHeaderTitle"
|
|
18
|
+
}, "\u5EFA\u8BAE\u9875\u9762\u57CB\u70B9\u65B9\u6848"), /*#__PURE__*/React.createElement(IconFont, {
|
|
19
|
+
type: "qingchu",
|
|
20
|
+
size: 24,
|
|
21
|
+
onClick: onClose
|
|
22
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
23
|
+
className: "creditPopPngBox"
|
|
24
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
25
|
+
className: "creditPopPng creditPopPng01"
|
|
26
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
27
|
+
className: "creditPopPng creditPopPng02"
|
|
28
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
29
|
+
className: "creditPopPng creditPopPng03"
|
|
30
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
31
|
+
className: "creditPopPng creditPopPng04"
|
|
32
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
33
|
+
className: "creditPopTxtBox"
|
|
34
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
35
|
+
className: "creditPopTxt"
|
|
36
|
+
}, "\u8BF7\u786E\u8BA4\u4EE5\u4E0A\u9875\u9762\u5BF9\u5E94\u529F\u80FD\u5747\u5DF2\u5B8C\u6210\u57CB\u70B9\uFF0C\u4F8B\u5982\uFF1A\u7ACB\u5373\u7533\u8BF7\u6309\u94AE\u3001\u8D44\u6599\u63D0\u4EA4\u6309\u94AE\u7B49\uFF0C\u5B8C\u6210\u540E\u70B9\u51FB\u300C\u5F00\u59CB\u5206\u6790\u300D\u5373\u53EF"), /*#__PURE__*/React.createElement("div", {
|
|
37
|
+
className: "creditPopTxt",
|
|
38
|
+
style: {
|
|
39
|
+
marginTop: 16
|
|
40
|
+
}
|
|
41
|
+
}, "\u82E5\u672A\u5B8C\u6210\u9875\u9762\u57CB\u70B9\uFF0C\u53EF\u524D\u5F80\u300C\u6570\u636E\u63A5\u5165\u300D\u8FDB\u884C\u8BBE\u7F6E", /*#__PURE__*/React.createElement("div", {
|
|
42
|
+
className: "creditPopLinkPng creditPopClickIcon"
|
|
43
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
44
|
+
className: "creditPopClickTxt",
|
|
45
|
+
onClick: function onClick() {
|
|
46
|
+
router.push({
|
|
47
|
+
name: routes.dataAccess.basic,
|
|
48
|
+
query: {
|
|
49
|
+
type: 1
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
}, "\u6570\u636E\u63A5\u5165")), /*#__PURE__*/React.createElement("div", {
|
|
54
|
+
className: "creditPopTxt",
|
|
55
|
+
style: {
|
|
56
|
+
marginTop: 16
|
|
57
|
+
}
|
|
58
|
+
}, "\u53EF\u53C2\u8003\u57CB\u70B9\u793A\u4F8B", /*#__PURE__*/React.createElement("a", {
|
|
59
|
+
href: "https://qiche-file.yuntongxun.com/%E5%9F%8B%E7%82%B9%E7%A4%BA%E4%BE%8B.xlsx",
|
|
60
|
+
download: ""
|
|
61
|
+
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
62
|
+
type: "xiazai1",
|
|
63
|
+
size: 16,
|
|
64
|
+
onClick: onClose,
|
|
65
|
+
className: "creditPopClickIcon"
|
|
66
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
67
|
+
className: "creditPopClickTxt"
|
|
68
|
+
}, "\u70B9\u51FB\u4E0B\u8F7D"))), /*#__PURE__*/React.createElement("div", {
|
|
69
|
+
className: "creditPopTxt",
|
|
70
|
+
style: {
|
|
71
|
+
marginTop: 16
|
|
72
|
+
}
|
|
73
|
+
}, "\u5982\u60A8\u5DF2\u5B8C\u6210\u4E0A\u8FF0\u9875\u9762\u57CB\u70B9\uFF0C\u53EF\u524D\u5F80\u57CB\u70B9\u7BA1\u7406\u8FDB\u884C\u7BA1\u7406", /*#__PURE__*/React.createElement(IconFont, {
|
|
74
|
+
type: "maidianguanli",
|
|
75
|
+
size: 16,
|
|
76
|
+
className: "creditPopClickIcon"
|
|
77
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
78
|
+
className: "creditPopClickTxt",
|
|
79
|
+
onClick: function onClick() {
|
|
80
|
+
onClose && onClose();
|
|
81
|
+
}
|
|
82
|
+
}, "\u57CB\u70B9\u7BA1\u7406"))), /*#__PURE__*/React.createElement("div", {
|
|
83
|
+
className: "creditPopFooter"
|
|
84
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
85
|
+
type: "primary",
|
|
86
|
+
onClick: onClose
|
|
87
|
+
}, "\u6211\u77E5\u9053\u4E86"))));
|
|
88
|
+
};
|
|
89
|
+
export default PageLoading;
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
.creditPopBg {
|
|
2
|
+
position: fixed;
|
|
3
|
+
top: 0;
|
|
4
|
+
right: 0;
|
|
5
|
+
bottom: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
z-index: 10000;
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
background: rgba(2, 20, 41, 0.8);
|
|
12
|
+
.creditPopHeader {
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: space-between;
|
|
16
|
+
height: 82px;
|
|
17
|
+
padding-right: 24px;
|
|
18
|
+
padding-left: 24px;
|
|
19
|
+
.creditPopHeaderTitle {
|
|
20
|
+
color: #000;
|
|
21
|
+
font-weight: 500;
|
|
22
|
+
font-size: 24px;
|
|
23
|
+
font-family: PingFang SC;
|
|
24
|
+
font-style: normal;
|
|
25
|
+
line-height: normal;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
.creditPopContent {
|
|
29
|
+
width: 960px;
|
|
30
|
+
background-color: #fff;
|
|
31
|
+
border-radius: 10px;
|
|
32
|
+
}
|
|
33
|
+
.creditPopPngBox {
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
justify-content: space-between;
|
|
37
|
+
padding-right: 24px;
|
|
38
|
+
padding-left: 24px;
|
|
39
|
+
.creditPopPng {
|
|
40
|
+
width: 208px;
|
|
41
|
+
height: 266px;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
background-color: #f6fbfe;
|
|
44
|
+
background-repeat: no-repeat;
|
|
45
|
+
background-position: top right;
|
|
46
|
+
background-size: contain;
|
|
47
|
+
border-radius: 8px;
|
|
48
|
+
}
|
|
49
|
+
.creditPopPng01 {
|
|
50
|
+
background-image: url('./imgs/png01.png');
|
|
51
|
+
}
|
|
52
|
+
.creditPopPng02 {
|
|
53
|
+
background-image: url('./imgs/png02.png');
|
|
54
|
+
}
|
|
55
|
+
.creditPopPng03 {
|
|
56
|
+
background-image: url('./imgs/png03.png');
|
|
57
|
+
}
|
|
58
|
+
.creditPopPng04 {
|
|
59
|
+
background-image: url('./imgs/png04.png');
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
.creditPopTxtBox {
|
|
63
|
+
display: flex;
|
|
64
|
+
// align-items: center;
|
|
65
|
+
flex-direction: column;
|
|
66
|
+
justify-content: space-between;
|
|
67
|
+
padding: 24px;
|
|
68
|
+
.creditPopTxt {
|
|
69
|
+
display: flex;
|
|
70
|
+
align-items: center;
|
|
71
|
+
color: var(--io-n-8, #354354);
|
|
72
|
+
font-weight: 400;
|
|
73
|
+
font-size: 14px;
|
|
74
|
+
font-family: PingFang SC;
|
|
75
|
+
font-style: normal;
|
|
76
|
+
line-height: normal;
|
|
77
|
+
line-height: 20px;
|
|
78
|
+
}
|
|
79
|
+
.creditPopClickIcon {
|
|
80
|
+
margin-right: 8px;
|
|
81
|
+
margin-left: 16px;
|
|
82
|
+
color: #165dff;
|
|
83
|
+
cursor: pointer;
|
|
84
|
+
}
|
|
85
|
+
.creditPopClickTxt {
|
|
86
|
+
color: #165dff;
|
|
87
|
+
cursor: pointer;
|
|
88
|
+
}
|
|
89
|
+
.creditPopTxt::before {
|
|
90
|
+
display: inline-block;
|
|
91
|
+
margin: 7px;
|
|
92
|
+
padding: 3px;
|
|
93
|
+
background-color: #354354;
|
|
94
|
+
border-radius: 3px;
|
|
95
|
+
content: '';
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
.creditPopFooter {
|
|
99
|
+
display: flex;
|
|
100
|
+
align-items: center;
|
|
101
|
+
justify-content: flex-end;
|
|
102
|
+
height: 80px;
|
|
103
|
+
padding-right: 24px;
|
|
104
|
+
border-top: 1px solid #f2f3f4;
|
|
105
|
+
// > :nth-child(1) {
|
|
106
|
+
// margin-right: 16px;
|
|
107
|
+
// color: #fff;
|
|
108
|
+
// background-color: #29bd52;
|
|
109
|
+
// border-color: #29bd52;
|
|
110
|
+
// }
|
|
111
|
+
}
|
|
112
|
+
.creditPopLinkPng {
|
|
113
|
+
width: 16px;
|
|
114
|
+
height: 16px;
|
|
115
|
+
overflow: hidden;
|
|
116
|
+
background-image: url('./imgs/link.png');
|
|
117
|
+
background-repeat: no-repeat;
|
|
118
|
+
background-position: top right;
|
|
119
|
+
background-size: contain;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { BizDialog, IconFont } from '@zgfe/business-lib';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
var DelConfirm = function DelConfirm(props) {
|
|
4
|
+
return /*#__PURE__*/React.createElement(BizDialog, {
|
|
5
|
+
closable: true,
|
|
6
|
+
title: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(IconFont, {
|
|
7
|
+
style: {
|
|
8
|
+
color: '#FD9F41',
|
|
9
|
+
marginRight: '8px',
|
|
10
|
+
verticalAlign: 'top',
|
|
11
|
+
fontSize: '24px'
|
|
12
|
+
},
|
|
13
|
+
type: "tishi1"
|
|
14
|
+
}), "\u5220\u9664\u63D0\u793A"),
|
|
15
|
+
open: true,
|
|
16
|
+
onOk: function onOk() {
|
|
17
|
+
props.onOk && props.onOk();
|
|
18
|
+
},
|
|
19
|
+
okButtonProps: {
|
|
20
|
+
size: 'middle'
|
|
21
|
+
},
|
|
22
|
+
onCancel: function onCancel() {
|
|
23
|
+
if (props.onCancel) props.onCancel();
|
|
24
|
+
}
|
|
25
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
26
|
+
style: {
|
|
27
|
+
margin: '-16px 0px 0px 30px'
|
|
28
|
+
}
|
|
29
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
30
|
+
style: {
|
|
31
|
+
color: '#021429',
|
|
32
|
+
fontSize: 14
|
|
33
|
+
}
|
|
34
|
+
}, "\u662F\u5426\u786E\u5B9A\u5220\u9664\u5DF2\u521B\u5EFA\u7684\u4E8B\u4EF6\u5C5E\u6027\uFF1F")));
|
|
35
|
+
};
|
|
36
|
+
export default DelConfirm;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
2
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
4
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
5
|
+
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; } }
|
|
6
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
7
|
+
import { BizDialog, IconFont } from '@zgfe/business-lib';
|
|
8
|
+
import React, { useState } from 'react';
|
|
9
|
+
var DelConfirm = function DelConfirm(props) {
|
|
10
|
+
var _useState = useState(false),
|
|
11
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
12
|
+
loading = _useState2[0],
|
|
13
|
+
setLoading = _useState2[1];
|
|
14
|
+
function onConfirm() {
|
|
15
|
+
setLoading(true);
|
|
16
|
+
if (props.onOk) props.onOk(function () {
|
|
17
|
+
setLoading(false);
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return /*#__PURE__*/React.createElement(BizDialog, {
|
|
21
|
+
closable: true,
|
|
22
|
+
title: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(IconFont, {
|
|
23
|
+
style: {
|
|
24
|
+
color: '#FD9F41',
|
|
25
|
+
marginRight: '8px',
|
|
26
|
+
verticalAlign: 'top',
|
|
27
|
+
fontSize: '24px'
|
|
28
|
+
},
|
|
29
|
+
type: "tishi1"
|
|
30
|
+
}), "\u5220\u9664\u63D0\u793A"),
|
|
31
|
+
open: true,
|
|
32
|
+
onOk: onConfirm,
|
|
33
|
+
okButtonProps: {
|
|
34
|
+
size: 'middle',
|
|
35
|
+
loading: loading
|
|
36
|
+
},
|
|
37
|
+
onCancel: function onCancel() {
|
|
38
|
+
if (props.onCancel) props.onCancel();
|
|
39
|
+
}
|
|
40
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
41
|
+
style: {
|
|
42
|
+
margin: '-16px 0px 0px 30px'
|
|
43
|
+
}
|
|
44
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
45
|
+
style: {
|
|
46
|
+
color: '#021429',
|
|
47
|
+
fontSize: 14
|
|
48
|
+
}
|
|
49
|
+
}, "\u662F\u5426\u786E\u5B9A\u5220\u9664\u5DF2\u521B\u5EFA\u7684\u5C5E\u6027\uFF1F"), /*#__PURE__*/React.createElement("div", {
|
|
50
|
+
style: {
|
|
51
|
+
color: '#FD9F41',
|
|
52
|
+
fontSize: 14,
|
|
53
|
+
marginTop: 8
|
|
54
|
+
}
|
|
55
|
+
}, "\u5220\u9664\u540E\uFF0C\u5C06\u505C\u6B62\u91C7\u96C6\u8BE5\u5C5E\u6027\u6570\u636E\uFF0C\u4E5F\u5C06\u4E0D\u5728\u5206\u6790\u5E73\u53F0\u4E2D\u663E\u793A\u3002")));
|
|
56
|
+
};
|
|
57
|
+
export default DelConfirm;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Button } from 'antd';
|
|
2
|
+
import React, { useContext } from 'react';
|
|
3
|
+
import './index.less';
|
|
4
|
+
import { BizGlobalDataContext, IconFont } from '@zgfe/business-lib';
|
|
5
|
+
var PageLoading = function PageLoading(props) {
|
|
6
|
+
var _useContext = useContext(BizGlobalDataContext),
|
|
7
|
+
router = _useContext.router,
|
|
8
|
+
routes = _useContext.routes,
|
|
9
|
+
_useContext$authority = _useContext.authority,
|
|
10
|
+
authority = _useContext$authority === void 0 ? {} : _useContext$authority;
|
|
11
|
+
var onClose = props.onClose;
|
|
12
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
13
|
+
className: "depositPopBg"
|
|
14
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
15
|
+
className: "depositPopContent"
|
|
16
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
17
|
+
className: "depositPopHeader"
|
|
18
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
19
|
+
className: "depositPopHeaderTitle"
|
|
20
|
+
}, "\u5EFA\u8BAE\u6570\u636E\u63A5\u5165\u65B9\u6848"), /*#__PURE__*/React.createElement(IconFont, {
|
|
21
|
+
type: "qingchu",
|
|
22
|
+
size: 24,
|
|
23
|
+
onClick: onClose
|
|
24
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
25
|
+
className: "depositPopPngBox"
|
|
26
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
27
|
+
className: "depositPopPng depositPopPng01"
|
|
28
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
29
|
+
className: "depositPopPng depositPopPng02"
|
|
30
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
31
|
+
className: "depositPopTxtBox"
|
|
32
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
33
|
+
className: "depositPopTxt"
|
|
34
|
+
}, "\u8BF7\u786E\u8BA4\u4EE5\u4E0A\u6570\u636E\u5747\u5DF2\u5BFC\u5165\u7CFB\u7EDF\uFF0C\u4F8B\u5982\uFF1A\u6D3B\u671F\u5B58\u6B3E\u4F59\u989D\u3001\u65F6\u70B9\u5B58\u6B3E\u4F59\u989D\u7B49\uFF0C\u5B8C\u6210\u540E\u5373\u53EF\u5F00\u59CB\u5B58\u6B3E\u6570\u636E\u5206\u6790"), /*#__PURE__*/React.createElement("div", {
|
|
35
|
+
className: "depositPopTxt",
|
|
36
|
+
style: {
|
|
37
|
+
marginTop: 16
|
|
38
|
+
}
|
|
39
|
+
}, "\u5982\u60A8\u672A\u5B8C\u6210\u6570\u636E\u5BFC\u5165\uFF0C\u53EF\u524D\u5F80\u300C\u6570\u636E\u7BA1\u7406\u300D\u8FDB\u884C\u8BBE\u7F6E", /*#__PURE__*/React.createElement(IconFont, {
|
|
40
|
+
type: "caidan-biaoqianguanlitixi",
|
|
41
|
+
size: 16,
|
|
42
|
+
onClick: onClose,
|
|
43
|
+
className: "depositPopClickIcon"
|
|
44
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
45
|
+
className: "depositPopClickTxt",
|
|
46
|
+
onClick: function onClick() {
|
|
47
|
+
router.push({
|
|
48
|
+
name: authority[110] ? routes.depositData : routes.dataAccess.basic
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
}, "\u6570\u636E\u7BA1\u7406")), /*#__PURE__*/React.createElement("div", {
|
|
52
|
+
className: "depositPopTxt",
|
|
53
|
+
style: {
|
|
54
|
+
marginTop: 16
|
|
55
|
+
}
|
|
56
|
+
}, "\u53EF\u53C2\u8003\u6570\u636E\u5BFC\u5165\u683C\u5F0F", /*#__PURE__*/React.createElement("a", {
|
|
57
|
+
href: "/%E6%95%B0%E6%8D%AE%E5%AF%BC%E5%85%A5%E7%A4%BA%E4%BE%8B.xlsx",
|
|
58
|
+
download: ""
|
|
59
|
+
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
60
|
+
type: "xiazai1",
|
|
61
|
+
size: 16,
|
|
62
|
+
onClick: onClose,
|
|
63
|
+
className: "depositPopClickIcon"
|
|
64
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
65
|
+
className: "depositPopClickTxt"
|
|
66
|
+
}, "\u70B9\u51FB\u4E0B\u8F7D"))), /*#__PURE__*/React.createElement("div", {
|
|
67
|
+
className: "depositPopTxt",
|
|
68
|
+
style: {
|
|
69
|
+
marginTop: 16
|
|
70
|
+
}
|
|
71
|
+
}, "\u5982\u60A8\u5DF2\u5B8C\u6210\u6570\u636E\u5BFC\u5165\uFF0C\u53EF\u524D\u5F80\u300C\u6570\u636E\u6574\u7406\u300D\u8FDB\u884C\u7BA1\u7406", /*#__PURE__*/React.createElement(IconFont, {
|
|
72
|
+
type: "maidianguanli",
|
|
73
|
+
size: 16,
|
|
74
|
+
className: "depositPopClickIcon"
|
|
75
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
76
|
+
className: "depositPopClickTxt",
|
|
77
|
+
onClick: function onClick() {
|
|
78
|
+
router.push({
|
|
79
|
+
name: routes.cdp.dataset
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
}, "\u6570\u636E\u6574\u7406"))), /*#__PURE__*/React.createElement("div", {
|
|
83
|
+
className: "depositPopFooter"
|
|
84
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
85
|
+
type: "primary",
|
|
86
|
+
onClick: onClose
|
|
87
|
+
}, "\u6211\u77E5\u9053\u4E86"))));
|
|
88
|
+
};
|
|
89
|
+
export default PageLoading;
|