@zgfe/modules-dm 1.0.2-dm.29 → 1.0.2-dm.31
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.
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
@import '~@zgfe/business-lib/es/assets/styles/inner.less';
|
|
2
2
|
.data-collection {
|
|
3
3
|
position: relative;
|
|
4
|
-
// width: calc(100% - 288px);
|
|
5
|
-
// height: 100%;
|
|
6
|
-
margin-top: 16px;
|
|
7
4
|
margin-right: 24px;
|
|
8
|
-
margin-bottom: 24px;
|
|
9
5
|
padding: 24px;
|
|
10
6
|
padding-top: 10px;
|
|
11
7
|
background: #fff;
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
.data-manage {
|
|
18
18
|
position: relative;
|
|
19
19
|
display: flex;
|
|
20
|
+
height: 100%;
|
|
20
21
|
background: #f5f5f5;
|
|
21
22
|
.tabs-box {
|
|
22
23
|
position: relative;
|
|
@@ -84,6 +85,7 @@
|
|
|
84
85
|
}
|
|
85
86
|
.dmcontent {
|
|
86
87
|
width: calc(100% - 264px);
|
|
88
|
+
padding: 16px 0 24px 0;
|
|
87
89
|
}
|
|
88
90
|
.dmcontent-collapsed {
|
|
89
91
|
width: calc(100% - 104px);
|
|
@@ -24,6 +24,7 @@ import './styles/index.less';
|
|
|
24
24
|
import request from '../../utils/ajax';
|
|
25
25
|
import apis from '../../constants/api';
|
|
26
26
|
import _ from 'lodash';
|
|
27
|
+
import { getAppID } from '../../utils';
|
|
27
28
|
import Search from './search';
|
|
28
29
|
import EventList from './eventList';
|
|
29
30
|
import UserAttributeList from './userAttributeList';
|
|
@@ -57,7 +58,7 @@ var AddPlan = function AddPlan(props) {
|
|
|
57
58
|
request(apis.queryPlanDetail, {
|
|
58
59
|
method: 'get',
|
|
59
60
|
params: {
|
|
60
|
-
appId: currentApp
|
|
61
|
+
appId: getAppID(currentApp),
|
|
61
62
|
id: props.detailId
|
|
62
63
|
}
|
|
63
64
|
}).then(function (res) {
|
|
@@ -108,9 +109,9 @@ var AddPlan = function AddPlan(props) {
|
|
|
108
109
|
});
|
|
109
110
|
|
|
110
111
|
if (listTab == '1') {
|
|
111
|
-
window.open("".concat(apis.downloadPlanEvent, "?appId=").concat(currentApp
|
|
112
|
+
window.open("".concat(apis.downloadPlanEvent, "?appId=").concat(getAppID(currentApp), "&planId=").concat(props.detailId, "&eventName").concat(e == '0' ? '' : '=' + _selectedRowKeys));
|
|
112
113
|
} else {
|
|
113
|
-
window.open("".concat(apis.downloadPlanProp, "?appId=").concat(currentApp
|
|
114
|
+
window.open("".concat(apis.downloadPlanProp, "?appId=").concat(getAppID(currentApp), "&planId=").concat(props.detailId, "&propName").concat(e == '0' ? '' : '=' + _selectedRowKeys));
|
|
114
115
|
}
|
|
115
116
|
};
|
|
116
117
|
|
|
@@ -178,7 +179,7 @@ var AddPlan = function AddPlan(props) {
|
|
|
178
179
|
formData.append('file', file, file.name);
|
|
179
180
|
var data = new FormData();
|
|
180
181
|
data.append('upload', file);
|
|
181
|
-
data.append('appId', currentApp
|
|
182
|
+
data.append('appId', getAppID(currentApp));
|
|
182
183
|
data.append('planName', '');
|
|
183
184
|
request(apis.uploadPlan, {
|
|
184
185
|
method: 'post',
|
|
@@ -471,7 +472,7 @@ var AddPlan = function AddPlan(props) {
|
|
|
471
472
|
}
|
|
472
473
|
});
|
|
473
474
|
var ManagementPlan = {
|
|
474
|
-
appId: currentApp
|
|
475
|
+
appId: getAppID(currentApp),
|
|
475
476
|
planId: props.detailId != -1 ? props.detailId : 0,
|
|
476
477
|
planName: planName,
|
|
477
478
|
eventPlanList: eventPlanList,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-dm",
|
|
3
|
-
"version": "1.0.2-dm.
|
|
3
|
+
"version": "1.0.2-dm.31",
|
|
4
4
|
"module": "es/index.js",
|
|
5
5
|
"typings": "es/index.d.ts",
|
|
6
6
|
"license": "ISC",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"umi-request": "^1.4.0",
|
|
54
54
|
"yorkie": "^2.0.0"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "32d73da9d71950ec7e16cb17876d152f83735894",
|
|
57
57
|
"gitHooks": {
|
|
58
58
|
"pre-commit": "lint-staged"
|
|
59
59
|
}
|