@zgfe/modules-settings 2.0.0-zhongyuan.21 → 2.0.0-zhongyuan.23
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.
|
@@ -94,7 +94,7 @@ var Application = function Application(_ref) {
|
|
|
94
94
|
}, {
|
|
95
95
|
title: '接入平台',
|
|
96
96
|
dataIndex: 'platform',
|
|
97
|
-
|
|
97
|
+
width: 110,
|
|
98
98
|
render: function render(data) {
|
|
99
99
|
return data && (data === null || data === void 0 ? void 0 : data.length) > 0 ? data === null || data === void 0 ? void 0 : data.map(function (plat) {
|
|
100
100
|
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
@@ -402,7 +402,7 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
402
402
|
onChange: function onChange(e) {
|
|
403
403
|
return setDemandName(e.target.value);
|
|
404
404
|
},
|
|
405
|
-
placeholder: "\u8BF7\u8F93\u5165\u9700\u6C42\u540D\u79F0
|
|
405
|
+
placeholder: "\u8BF7\u8F93\u5165\u9700\u6C42\u540D\u79F0",
|
|
406
406
|
prefix: /*#__PURE__*/React.createElement(IconFont, {
|
|
407
407
|
type: "sousuo"
|
|
408
408
|
})
|
|
@@ -164,8 +164,11 @@ var PageInfo = function PageInfo(props) {
|
|
|
164
164
|
setIsHasData(!!res.data.detail);
|
|
165
165
|
setDescribe(res.data.detail ? res.data.detail.pageDescribe : '');
|
|
166
166
|
setId(res.data.detail ? res.data.detail.id : undefined);
|
|
167
|
-
setImgPath(res.data.detail && res.data.detail.
|
|
168
|
-
setImgUrl(res.data.detail ?
|
|
167
|
+
setImgPath(res.data.detail && res.data.detail.zosImgUrl ? getImgUrl(res.data.detail.zosImgUrl, props.pageData.id) : undefined);
|
|
168
|
+
setImgUrl(res.data.detail ? {
|
|
169
|
+
uuid: res.data.detail.uuid,
|
|
170
|
+
zosFileKey: res.data.detail.zosFileKey
|
|
171
|
+
} : undefined);
|
|
169
172
|
// getPointTree()
|
|
170
173
|
setEventAttrList(res.data.eventInfos ? res.data.eventInfos.map(function (item, index) {
|
|
171
174
|
return {
|
|
@@ -175,7 +178,7 @@ var PageInfo = function PageInfo(props) {
|
|
|
175
178
|
describe: item.pointDescribe,
|
|
176
179
|
pointSelect: item.pointSelect,
|
|
177
180
|
pv: item.pv,
|
|
178
|
-
imgPath: item.
|
|
181
|
+
imgPath: item.zosImgUrl ? getImgUrl(item.zosImgUrl, props.pageData.id) : '',
|
|
179
182
|
key: uuid(),
|
|
180
183
|
index: index,
|
|
181
184
|
approvalStatus: item.approvalStatus,
|
|
@@ -539,8 +542,8 @@ var PageInfo = function PageInfo(props) {
|
|
|
539
542
|
render: function render(imgPath1, record, index) {
|
|
540
543
|
return /*#__PURE__*/React.createElement("div", {
|
|
541
544
|
className: "".concat(classPrefix, "-content-img-select")
|
|
542
|
-
}, imgPath1 || record.
|
|
543
|
-
src: imgPath1 || record.
|
|
545
|
+
}, imgPath1 || record.zosImgUrl ? (/*#__PURE__*/React.createElement(Image, {
|
|
546
|
+
src: imgPath1 || record.zosImgUrl,
|
|
544
547
|
preview: {
|
|
545
548
|
mask: (/*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(IconFont, {
|
|
546
549
|
type: "a-yanjingkai"
|
|
@@ -242,6 +242,7 @@ var pointMap = function pointMap(props) {
|
|
|
242
242
|
});
|
|
243
243
|
getPointTree();
|
|
244
244
|
} else if (selectedKeys && param.id === selectedKeys[0] && param.isDel) {
|
|
245
|
+
getPointTree();
|
|
245
246
|
setSelectedKeys(undefined);
|
|
246
247
|
props.onChangePage(undefined);
|
|
247
248
|
props.refreshPage && props.refreshPage();
|
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.23",
|
|
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": "23978818c1ee80f0a7c9fa1547d5e0e7e7696931",
|
|
71
71
|
"gitHooks": {
|
|
72
72
|
"pre-commit": "lint-staged"
|
|
73
73
|
}
|