@zgfe/modules-settings 2.0.0-zhongyuan.40 → 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.
|
@@ -54,10 +54,9 @@ var columnsEvent = function columnsEvent(gotoPage, isControl, getPointMap) {
|
|
|
54
54
|
render: function render(eventName, data) {
|
|
55
55
|
return /*#__PURE__*/React.createElement("a", {
|
|
56
56
|
onClick: function onClick() {
|
|
57
|
-
return
|
|
57
|
+
return getPointMap && getPointMap(data);
|
|
58
58
|
}
|
|
59
59
|
}, eventName);
|
|
60
|
-
//新 getPointMap && getPointMap(data)
|
|
61
60
|
}
|
|
62
61
|
}].concat(_toConsumableArray(isControl ? [{
|
|
63
62
|
title: '审批详情',
|
|
@@ -79,8 +79,7 @@ var PageInfo = function PageInfo(props) {
|
|
|
79
79
|
_useState18 = _slicedToArray(_useState17, 2),
|
|
80
80
|
isChange = _useState18[0],
|
|
81
81
|
setIsChange = _useState18[1];
|
|
82
|
-
|
|
83
|
-
var _useState19 = useState(false),
|
|
82
|
+
var _useState19 = useState(props.isSelect),
|
|
84
83
|
_useState20 = _slicedToArray(_useState19, 1),
|
|
85
84
|
isSelect = _useState20[0];
|
|
86
85
|
var _useState21 = useState(),
|
|
@@ -89,7 +88,7 @@ var PageInfo = function PageInfo(props) {
|
|
|
89
88
|
setCircleImg = _useState22[1];
|
|
90
89
|
// const [isReadPicCircle, setIsReadPicCircle] = useState(false);
|
|
91
90
|
// const [isEditPicCircle, setIsEditPicCircle] = useState(false);
|
|
92
|
-
var _useState23 = useState(
|
|
91
|
+
var _useState23 = useState([]),
|
|
93
92
|
_useState24 = _slicedToArray(_useState23, 2),
|
|
94
93
|
selectPoint = _useState24[0],
|
|
95
94
|
setSelectPoint = _useState24[1];
|
|
@@ -891,7 +890,8 @@ var PageInfo = function PageInfo(props) {
|
|
|
891
890
|
imgPath: '',
|
|
892
891
|
index: eventAttrList.length,
|
|
893
892
|
key: new Date() * 1,
|
|
894
|
-
eventAttrList: data.eventAttrList
|
|
893
|
+
eventAttrList: data.eventAttrList,
|
|
894
|
+
pageName: pageName
|
|
895
895
|
}].concat(_toConsumableArray(eventAttrList)));
|
|
896
896
|
setShowIndex(eventAttrList.length);
|
|
897
897
|
setTimeout(function () {
|
|
@@ -1103,7 +1103,7 @@ var PageInfo = function PageInfo(props) {
|
|
|
1103
1103
|
return res.isOnline == navIndex;
|
|
1104
1104
|
}
|
|
1105
1105
|
}).filter(function (res) {
|
|
1106
|
-
return res.pageName == pageName;
|
|
1106
|
+
return res.pageName == pageName || !isSelect;
|
|
1107
1107
|
}),
|
|
1108
1108
|
scroll: {
|
|
1109
1109
|
y: window.innerHeight - 380
|
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.41",
|
|
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": "77345198b0b2d6dea2b77cc32c33cb2cca488d15",
|
|
71
71
|
"gitHooks": {
|
|
72
72
|
"pre-commit": "lint-staged"
|
|
73
73
|
}
|