@zgfe/modules-settings 2.1.0-zhongyuan.2 → 2.1.0-zhongyuan.21
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/importMetaDialog/index.d.ts +2 -0
- package/es/components/importMetaDialog/index.js +18 -3
- package/es/constants/api.d.ts +4 -0
- package/es/constants/api.js +12 -7
- package/es/modules/appSettings/dataAccessFilter/index.js +2 -1
- package/es/modules/companySetting/application/index.js +5 -6
- package/es/modules/companySetting/application/index.less +144 -144
- package/es/modules/companySetting/index.js +37 -33
- package/es/modules/companySetting/user/index.js +29 -24
- package/es/modules/companySetting/user/invite.js +3 -16
- package/es/modules/createDemand/demo/selectPoint.js +0 -1
- package/es/modules/createDemand/index.js +7 -6
- package/es/modules/createDemand/styles/index.less +403 -403
- package/es/modules/createDemand_bf/demo/index.js +0 -1
- package/es/modules/createDemand_bf/index.js +0 -1
- package/es/modules/dealDemand/demo/index.js +0 -1
- package/es/modules/dealDemand/index.js +0 -2
- package/es/modules/demandManage/styles/index.less +155 -155
- package/es/modules/pointMap/createMetaDrawer.js +78 -47
- package/es/modules/pointMap/pageInfo.js +28 -15
- package/es/modules/pointMap/styles/index.less +8 -0
- package/es/modules/pointMap/styles/tree.less +18 -0
- package/es/modules/pointMap/tree.js +191 -117
- package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/create.js +26 -20
- package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/css/index.less +3 -2
- package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/index.js +10 -8
- package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/type/index.d.ts +2 -2
- package/es/modules/systemSetting/dictionaryItem/eventTagManagement/create.js +7 -9
- package/es/modules/systemSetting/dictionaryItem/eventTagManagement/index.js +29 -16
- package/es/modules/systemSetting/dictionaryItem/eventTagManagement/type/index.d.ts +1 -1
- package/es/modules/systemSetting/document-setting/index.js +7 -6
- package/es/modules/systemSetting/index.js +13 -15
- package/package.json +3 -3
|
@@ -50,7 +50,8 @@ var CreateDemand = function CreateDemand(props) {
|
|
|
50
50
|
isDemo = _useContext.isDemo,
|
|
51
51
|
authority = _useContext.authority,
|
|
52
52
|
routes = _useContext.routes,
|
|
53
|
-
router = _useContext.router
|
|
53
|
+
router = _useContext.router,
|
|
54
|
+
showProdDownload = _useContext.showProdDownload;
|
|
54
55
|
// 属性列表加载中
|
|
55
56
|
// const [loading, setLoading] = useState(true);
|
|
56
57
|
var _useState = useState([]),
|
|
@@ -303,7 +304,7 @@ var CreateDemand = function CreateDemand(props) {
|
|
|
303
304
|
var isZip = regex.test(file.name);
|
|
304
305
|
var is10M = file.size < 50 * 1024 * 1024;
|
|
305
306
|
if (!isZip || !is10M) {
|
|
306
|
-
message.error("\u4EC5\u652F\u6301\u4E0A\u4F20\u4E00\u4E2A50M\u4EE5\u5185\u7684Word\u3001Excel\u3001PDF\u3001ZIP\
|
|
307
|
+
message.error("\u4EC5\u652F\u6301\u4E0A\u4F20\u4E00\u4E2A50M\u4EE5\u5185\u7684Word\u3001Excel\u3001PDF\u3001ZIP\u3001RAR\u683C\u5F0F\u538B\u7F29\u5305\u9644\u4EF6");
|
|
307
308
|
} else {
|
|
308
309
|
// setValueLoading(true);
|
|
309
310
|
var formData = new FormData();
|
|
@@ -1019,7 +1020,7 @@ var CreateDemand = function CreateDemand(props) {
|
|
|
1019
1020
|
style: {
|
|
1020
1021
|
color: '#021429'
|
|
1021
1022
|
}
|
|
1022
|
-
}, demandDescribe ? demandDescribe.length : 0), /*#__PURE__*/React.createElement("span", null, "/1000")))), /*#__PURE__*/React.createElement("div", {
|
|
1023
|
+
}, demandDescribe ? demandDescribe.length : 0), /*#__PURE__*/React.createElement("span", null, "/1000")))), showProdDownload && (/*#__PURE__*/React.createElement("div", {
|
|
1023
1024
|
className: "".concat(classPrefix, "-info-item")
|
|
1024
1025
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1025
1026
|
className: "".concat(classPrefix, "-info-item-txt")
|
|
@@ -1052,7 +1053,7 @@ var CreateDemand = function CreateDemand(props) {
|
|
|
1052
1053
|
type: "tianjia1"
|
|
1053
1054
|
}), "\u6DFB\u52A0\u6587\u4EF6")), /*#__PURE__*/React.createElement("div", {
|
|
1054
1055
|
className: "".concat(classPrefix, "-info-item-content-tip")
|
|
1055
|
-
}, "\uFF08\u652F\u6301 Word\u3001Excel\u3001PDF\u3001ZIP\
|
|
1056
|
+
}, "\uFF08\u652F\u6301 Word\u3001Excel\u3001PDF\u3001ZIP\u3001RAR \u683C\u5F0F\u300150M\u4EE5\u5185\uFF09")))))), (demandStatus == 101 || demandStatus == 102) && (/*#__PURE__*/React.createElement("div", {
|
|
1056
1057
|
className: "".concat(classPrefix, "-info-item")
|
|
1057
1058
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1058
1059
|
className: "".concat(classPrefix, "-info-item-txt")
|
|
@@ -1253,11 +1254,11 @@ var CreateDemand = function CreateDemand(props) {
|
|
|
1253
1254
|
}
|
|
1254
1255
|
}, "\u5173\u95ED\u9700\u6C42")), demandType == 'edit' && /*#__PURE__*/React.createElement(Button, {
|
|
1255
1256
|
onClick: onBack
|
|
1256
|
-
}, "\u53D6\u6D88"), !isDemo && authority[1724922574] && demandStatus > 0 && (/*#__PURE__*/React.createElement(Button, {
|
|
1257
|
+
}, "\u53D6\u6D88"), !isDemo && authority[1724922574] && demandStatus > 0 && showProdDownload && (/*#__PURE__*/React.createElement(Button, {
|
|
1257
1258
|
shape: "round",
|
|
1258
1259
|
className: "button",
|
|
1259
1260
|
onClick: exportPDF
|
|
1260
|
-
}, "\u5BFC\u51FA\u9700\u6C42PDF")), !isDemo && authority[1724922705] && pointEventInfo && !!pointEventInfo.length && (/*#__PURE__*/React.createElement(Button, {
|
|
1261
|
+
}, "\u5BFC\u51FA\u9700\u6C42PDF")), !isDemo && authority[1724922705] && pointEventInfo && !!pointEventInfo.length && showProdDownload && (/*#__PURE__*/React.createElement(Button, {
|
|
1261
1262
|
shape: "round",
|
|
1262
1263
|
className: "button",
|
|
1263
1264
|
onClick: downloadData
|