@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,17 +1,18 @@
|
|
|
1
|
-
function _toConsumableArray(
|
|
1
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
2
2
|
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."); }
|
|
3
|
-
function _iterableToArray(
|
|
4
|
-
function _arrayWithoutHoles(
|
|
5
|
-
function _slicedToArray(
|
|
3
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
4
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
5
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
6
6
|
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."); }
|
|
7
|
-
function _unsupportedIterableToArray(
|
|
8
|
-
function _arrayLikeToArray(
|
|
9
|
-
function _iterableToArrayLimit(
|
|
10
|
-
function _arrayWithHoles(
|
|
7
|
+
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; } }
|
|
8
|
+
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; }
|
|
9
|
+
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; } }
|
|
10
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
11
11
|
import { BizGlobalDataContext } from '@zgfe/business-lib';
|
|
12
12
|
import { Tabs } from 'antd';
|
|
13
13
|
import { DmContext, upDatedDmFun } from '../../store';
|
|
14
14
|
import { ActionType } from '../../store/action';
|
|
15
|
+
import { useLocation } from 'umi';
|
|
15
16
|
import React, { useState, useContext, useEffect } from 'react';
|
|
16
17
|
import request from '../../utils/ajax';
|
|
17
18
|
import apis from '../../constants/api';
|
|
@@ -19,8 +20,121 @@ import { getAppID } from '../../utils';
|
|
|
19
20
|
import EventList from './collectionEventList';
|
|
20
21
|
import CollectionAttributeList from './collectionAttributeList';
|
|
21
22
|
import VirtualEventList from './virtualEventList';
|
|
23
|
+
import DetailedData from './detailedData';
|
|
22
24
|
var DataManage = function DataManage(props) {
|
|
23
|
-
var
|
|
25
|
+
var _props$selectObj, _props$selectObj2, _location$query3;
|
|
26
|
+
var classPrefix = 'data-manage';
|
|
27
|
+
var _useContext = useContext(BizGlobalDataContext),
|
|
28
|
+
router = _useContext.router,
|
|
29
|
+
routes = _useContext.routes,
|
|
30
|
+
route = _useContext.route,
|
|
31
|
+
currentApp = _useContext.currentApp,
|
|
32
|
+
authority = _useContext.authority;
|
|
33
|
+
var location = useLocation();
|
|
34
|
+
// 判断埋点方案开关是否打开
|
|
35
|
+
var _useState = useState(0),
|
|
36
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
37
|
+
isOpen = _useState2[0],
|
|
38
|
+
setIsOpen = _useState2[1];
|
|
39
|
+
// 不在方案中的数据
|
|
40
|
+
var _useState3 = useState({}),
|
|
41
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
42
|
+
queryPlanData = _useState4[0],
|
|
43
|
+
setqueryPlanData = _useState4[1];
|
|
44
|
+
// 选中的元事件
|
|
45
|
+
var _useState5 = useState((_props$selectObj = props.selectObj) === null || _props$selectObj === void 0 ? void 0 : _props$selectObj.selectEventList),
|
|
46
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
47
|
+
selectEventList = _useState6[0],
|
|
48
|
+
setSelectEventList = _useState6[1];
|
|
49
|
+
// 选中的用户属性
|
|
50
|
+
var _useState7 = useState((_props$selectObj2 = props.selectObj) === null || _props$selectObj2 === void 0 ? void 0 : _props$selectObj2.selectAttrList),
|
|
51
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
52
|
+
selectAttrList = _useState8[0],
|
|
53
|
+
setSelectAttrList = _useState8[1];
|
|
54
|
+
// query中指定查询的key,做切换的时候清空
|
|
55
|
+
var _useState9 = useState(route && route.query && route.query.key || ''),
|
|
56
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
57
|
+
queryKey = _useState10[0],
|
|
58
|
+
setQueryKey = _useState10[1];
|
|
59
|
+
useEffect(function () {
|
|
60
|
+
props.onChangeSelectObj && props.onChangeSelectObj({
|
|
61
|
+
selectEventList: selectEventList,
|
|
62
|
+
selectAttrList: selectAttrList
|
|
63
|
+
});
|
|
64
|
+
}, [selectEventList, selectAttrList]);
|
|
65
|
+
// useEffect(() => {
|
|
66
|
+
// setSelectEventList(props.selectObj?.selectEventList);
|
|
67
|
+
// setSelectAttrList(props.selectObj?.selectAttrList);
|
|
68
|
+
// }, [props.selectObj]);
|
|
69
|
+
var items = props.isSingleSelect ? [authority[100020] && {
|
|
70
|
+
key: '1',
|
|
71
|
+
label: '元事件',
|
|
72
|
+
children: (/*#__PURE__*/React.createElement(EventList, {
|
|
73
|
+
isOpen: isOpen,
|
|
74
|
+
queryPlanData: queryPlanData,
|
|
75
|
+
selectTreeName: props.selectTreeName,
|
|
76
|
+
selectEventList: selectEventList,
|
|
77
|
+
setSelectEventList: setSelectEventList,
|
|
78
|
+
isSingleSelect: props.isSingleSelect
|
|
79
|
+
}))
|
|
80
|
+
}] : props.isSelect ? [authority[100020] && {
|
|
81
|
+
key: '1',
|
|
82
|
+
label: '元事件',
|
|
83
|
+
children: (/*#__PURE__*/React.createElement(EventList, {
|
|
84
|
+
isOpen: isOpen,
|
|
85
|
+
queryPlanData: queryPlanData,
|
|
86
|
+
selectEventList: selectEventList,
|
|
87
|
+
setSelectEventList: setSelectEventList,
|
|
88
|
+
isSelect: props.isSelect
|
|
89
|
+
}))
|
|
90
|
+
}, authority[100021] && {
|
|
91
|
+
key: '2',
|
|
92
|
+
label: "".concat((currentApp === null || currentApp === void 0 ? void 0 : currentApp.type) != 'user' ? '主体属性' : '用户属性'),
|
|
93
|
+
children: (/*#__PURE__*/React.createElement(CollectionAttributeList, {
|
|
94
|
+
isOpen: isOpen,
|
|
95
|
+
queryPlanData: queryPlanData,
|
|
96
|
+
source: "user",
|
|
97
|
+
selectAttrList: selectAttrList,
|
|
98
|
+
setSelectEventList: setSelectAttrList,
|
|
99
|
+
isSelect: props.isSelect
|
|
100
|
+
}))
|
|
101
|
+
}] : [authority[100020] && {
|
|
102
|
+
key: '1',
|
|
103
|
+
label: '元事件',
|
|
104
|
+
children: (/*#__PURE__*/React.createElement(EventList, {
|
|
105
|
+
isOpen: isOpen,
|
|
106
|
+
queryPlanData: queryPlanData,
|
|
107
|
+
selectTreeName: props === null || props === void 0 ? void 0 : props.selectTreeName,
|
|
108
|
+
queryKey: queryKey
|
|
109
|
+
}))
|
|
110
|
+
}, authority[1700559695] && {
|
|
111
|
+
key: '3',
|
|
112
|
+
label: '虚拟事件',
|
|
113
|
+
children: /*#__PURE__*/React.createElement(VirtualEventList, null)
|
|
114
|
+
}, authority[100021] && {
|
|
115
|
+
key: '2',
|
|
116
|
+
label: "".concat((currentApp === null || currentApp === void 0 ? void 0 : currentApp.type) != 'user' ? '主体属性' : '用户属性'),
|
|
117
|
+
children: (/*#__PURE__*/React.createElement(CollectionAttributeList, {
|
|
118
|
+
isOpen: isOpen,
|
|
119
|
+
queryPlanData: queryPlanData,
|
|
120
|
+
source: "user"
|
|
121
|
+
}))
|
|
122
|
+
}, authority[1716286087] && {
|
|
123
|
+
key: '4',
|
|
124
|
+
label: '明细数据',
|
|
125
|
+
children: /*#__PURE__*/React.createElement(DetailedData, null)
|
|
126
|
+
}].concat(_toConsumableArray(props.extraTabs || []));
|
|
127
|
+
var _useState11 = useState(props.isSelectTab ? props.isSelectTab : '1'),
|
|
128
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
129
|
+
activeKey = _useState12[0],
|
|
130
|
+
setActiveKey = _useState12[1];
|
|
131
|
+
useEffect(function () {
|
|
132
|
+
var _location$query, _location$query2;
|
|
133
|
+
var _items = items.filter(function (item) {
|
|
134
|
+
return item !== undefined;
|
|
135
|
+
});
|
|
136
|
+
setActiveKey((location === null || location === void 0 ? void 0 : (_location$query = location.query) === null || _location$query === void 0 ? void 0 : _location$query.tab) ? location === null || location === void 0 ? void 0 : (_location$query2 = location.query) === null || _location$query2 === void 0 ? void 0 : _location$query2.tab : _items && _items[0] && _items[0].key || '1');
|
|
137
|
+
}, [items, location === null || location === void 0 ? void 0 : (_location$query3 = location.query) === null || _location$query3 === void 0 ? void 0 : _location$query3.tab]);
|
|
24
138
|
var updateEventMetas = props.updateEventMetas;
|
|
25
139
|
var _upDatedDmFun = upDatedDmFun(),
|
|
26
140
|
_upDatedDmFun2 = _slicedToArray(_upDatedDmFun, 2),
|
|
@@ -32,18 +146,6 @@ var DataManage = function DataManage(props) {
|
|
|
32
146
|
payload: updateEventMetas
|
|
33
147
|
});
|
|
34
148
|
}, []);
|
|
35
|
-
var _useContext = useContext(BizGlobalDataContext),
|
|
36
|
-
currentApp = _useContext.currentApp,
|
|
37
|
-
authority = _useContext.authority;
|
|
38
|
-
// const [listTab, setListTab] = useState<string | number>(props.activeTab || 1);
|
|
39
|
-
// const tabsChange = (e: RadioChangeEvent) => {
|
|
40
|
-
// setListTab(e.target.value);
|
|
41
|
-
// };
|
|
42
|
-
// 判断埋点方案开关是否打开
|
|
43
|
-
var _useState = useState(0),
|
|
44
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
45
|
-
isOpen = _useState2[0],
|
|
46
|
-
setIsOpen = _useState2[1];
|
|
47
149
|
var queryControlSwitch = function queryControlSwitch() {
|
|
48
150
|
request(apis.queryControlSwitch, {
|
|
49
151
|
method: 'get',
|
|
@@ -55,11 +157,6 @@ var DataManage = function DataManage(props) {
|
|
|
55
157
|
setIsOpen(res.data.isOpen);
|
|
56
158
|
});
|
|
57
159
|
};
|
|
58
|
-
// 不在方案中的数据
|
|
59
|
-
var _useState3 = useState({}),
|
|
60
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
|
61
|
-
queryPlanData = _useState4[0],
|
|
62
|
-
setqueryPlanData = _useState4[1];
|
|
63
160
|
var queryPlan = function queryPlan() {
|
|
64
161
|
request(apis.queryPlan, {
|
|
65
162
|
method: 'post',
|
|
@@ -67,14 +164,27 @@ var DataManage = function DataManage(props) {
|
|
|
67
164
|
appId: getAppID(currentApp)
|
|
68
165
|
}
|
|
69
166
|
}).then(function (res) {
|
|
167
|
+
if (!res) return;
|
|
70
168
|
setqueryPlanData(res.data);
|
|
71
169
|
});
|
|
72
170
|
};
|
|
73
171
|
// 初始化数据
|
|
74
172
|
useEffect(function () {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
173
|
+
if (authority[100020] || authority[100021]) {
|
|
174
|
+
queryControlSwitch();
|
|
175
|
+
queryPlan();
|
|
176
|
+
}
|
|
177
|
+
}, [authority]);
|
|
178
|
+
var onChange = function onChange(key) {
|
|
179
|
+
setQueryKey('');
|
|
180
|
+
setActiveKey(key);
|
|
181
|
+
!props.isSelect && !props.isSingleSelect && (router === null || router === void 0 ? void 0 : router.push({
|
|
182
|
+
name: routes.dataAccess.manage,
|
|
183
|
+
query: {
|
|
184
|
+
tab: key
|
|
185
|
+
}
|
|
186
|
+
}));
|
|
187
|
+
};
|
|
78
188
|
return /*#__PURE__*/React.createElement(DmContext.Provider, {
|
|
79
189
|
value: {
|
|
80
190
|
state: state,
|
|
@@ -84,28 +194,10 @@ var DataManage = function DataManage(props) {
|
|
|
84
194
|
className: classPrefix
|
|
85
195
|
}, /*#__PURE__*/React.createElement(Tabs, {
|
|
86
196
|
className: "tabs",
|
|
87
|
-
|
|
197
|
+
activeKey: activeKey,
|
|
88
198
|
destroyInactiveTabPane: true,
|
|
89
|
-
items:
|
|
90
|
-
|
|
91
|
-
label: '元事件',
|
|
92
|
-
children: /*#__PURE__*/React.createElement(EventList, {
|
|
93
|
-
isOpen: isOpen,
|
|
94
|
-
queryPlanData: queryPlanData
|
|
95
|
-
})
|
|
96
|
-
}, authority[1700559695] && {
|
|
97
|
-
key: '3',
|
|
98
|
-
label: '虚拟事件',
|
|
99
|
-
children: /*#__PURE__*/React.createElement(VirtualEventList, null)
|
|
100
|
-
}, authority[100021] && {
|
|
101
|
-
key: '2',
|
|
102
|
-
label: '用户属性管理',
|
|
103
|
-
children: /*#__PURE__*/React.createElement(CollectionAttributeList, {
|
|
104
|
-
isOpen: isOpen,
|
|
105
|
-
queryPlanData: queryPlanData,
|
|
106
|
-
source: "user"
|
|
107
|
-
})
|
|
108
|
-
}].concat(_toConsumableArray(props.extraTabs || []))
|
|
199
|
+
items: items,
|
|
200
|
+
onChange: onChange
|
|
109
201
|
})));
|
|
110
202
|
};
|
|
111
203
|
export default DataManage;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
.detailed-data {
|
|
2
|
+
&-header {
|
|
3
|
+
display: flex;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
padding: 16px 0;
|
|
6
|
+
|
|
7
|
+
&-left {
|
|
8
|
+
display: flex;
|
|
9
|
+
gap: 0 10px;
|
|
10
|
+
align-items: center;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&-right {
|
|
14
|
+
display: flex;
|
|
15
|
+
gap: 16px;
|
|
16
|
+
|
|
17
|
+
button span {
|
|
18
|
+
margin: 0 4px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&-operate {
|
|
24
|
+
display: flex;
|
|
25
|
+
gap: 16px;
|
|
26
|
+
justify-content: flex-start;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&-input-340 {
|
|
30
|
+
width: 340px !important;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&-disabled,
|
|
34
|
+
&-disabled:hover,
|
|
35
|
+
&-disabled:focus {
|
|
36
|
+
cursor: not-allowed !important;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.ant-btn-primary[disabled],
|
|
40
|
+
.ant-btn-primary[disabled]:hover,
|
|
41
|
+
.ant-btn-primary[disabled]:focus,
|
|
42
|
+
.ant-btn-primary[disabled]:active {
|
|
43
|
+
color: #fff;
|
|
44
|
+
background: var(--io-i2-, #d0dfff);
|
|
45
|
+
border: 1px solid #d0dfff;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&-modal {
|
|
49
|
+
.ant-modal-body {
|
|
50
|
+
padding: 24px !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.ant-modal-confirm-body .ant-modal-confirm-title {
|
|
54
|
+
color: #000;
|
|
55
|
+
font-size: 24px;
|
|
56
|
+
line-height: 24px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.ant-modal-confirm-body .ant-modal-confirm-content {
|
|
60
|
+
margin-top: 0;
|
|
61
|
+
padding-top: 24px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.ant-modal-close {
|
|
65
|
+
padding-top: 8px;
|
|
66
|
+
padding-right: 6px;
|
|
67
|
+
|
|
68
|
+
&-x {
|
|
69
|
+
color: #021429;
|
|
70
|
+
font-size: 24px;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|