vue2-client 1.8.310 → 1.8.312
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/.env +19 -19
- package/.eslintrc.js +90 -90
- package/CHANGELOG.md +824 -824
- package/Components.md +60 -60
- package/babel.config.js +21 -21
- package/docs/LowCode/lowcode.md +155 -155
- package/docs/LowCode/lowcodeForDeveloper.md +230 -230
- package/docs/index.md +30 -30
- package/index.js +31 -31
- package/jest-transform-stub.js +8 -8
- package/jest.config.js +21 -21
- package/jest.setup.js +7 -7
- package/package.json +97 -97
- package/public/index.html +27 -27
- package/src/App.vue +188 -188
- package/src/ReportView.js +19 -19
- package/src/assets/img/querySlotDemo.svg +15 -15
- package/src/assets/svg/badtwo.svg +1 -1
- package/src/assets/svg/goodtwo.svg +1 -1
- package/src/base-client/components/common/AMisRender/index.js +3 -3
- package/src/base-client/components/common/AMisRender/index.vue +263 -263
- package/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox.vue +438 -416
- package/src/base-client/components/common/AddressSearchCombobox/demo.vue +36 -36
- package/src/base-client/components/common/AddressSearchCombobox/ic_map.svg +6 -6
- package/src/base-client/components/common/AmapMarker/AmapPointRendering.vue +120 -120
- package/src/base-client/components/common/CitySelect/CitySelect.vue +342 -342
- package/src/base-client/components/common/CitySelect/index.js +3 -3
- package/src/base-client/components/common/CitySelect/index.md +109 -109
- package/src/base-client/components/common/CreateQuery/CreateQuery.vue +669 -669
- package/src/base-client/components/common/CreateQuery/CreateQueryItem.vue +1014 -1014
- package/src/base-client/components/common/CreateQuery/index.js +3 -3
- package/src/base-client/components/common/CreateQuery/index.md +42 -42
- package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQuery.vue +452 -452
- package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQueryItem.vue +511 -511
- package/src/base-client/components/common/CreateSimpleFormQuery/index.js +3 -3
- package/src/base-client/components/common/CreateSimpleFormQuery/index.md +42 -42
- package/src/base-client/components/common/FormGroupEdit/FormGroupEdit.vue +149 -149
- package/src/base-client/components/common/FormGroupEdit/index.js +3 -3
- package/src/base-client/components/common/FormGroupEdit/index.md +43 -43
- package/src/base-client/components/common/FormGroupQuery/FormGroupQuery.vue +166 -166
- package/src/base-client/components/common/FormGroupQuery/index.js +3 -3
- package/src/base-client/components/common/FormGroupQuery/index.md +43 -43
- package/src/base-client/components/common/JSONToTree/jsontotree.vue +271 -271
- package/src/base-client/components/common/LowCodeComponent/LowCodeEditorPanel.vue +413 -350
- package/src/base-client/components/common/LowCodeComponent/LowCodePageOrganization.vue +502 -502
- package/src/base-client/components/common/LowCodeComponent/LowCodeRender.vue +728 -699
- package/src/base-client/components/common/LowCodeComponent/LowCodeRenderEnter.vue +29 -29
- package/src/base-client/components/common/LowCodeComponent/LowCodeUIStore.vue +219 -162
- package/src/base-client/components/common/PersonSetting/PersonSetting.vue +208 -208
- package/src/base-client/components/common/PersonSetting/index.js +3 -3
- package/src/base-client/components/common/Tree/Tree.vue +149 -149
- package/src/base-client/components/common/Tree/index.js +2 -2
- package/src/base-client/components/common/Upload/Upload.vue +239 -239
- package/src/base-client/components/common/Upload/index.js +3 -3
- package/src/base-client/components/common/XAddForm/XAddForm.vue +105 -105
- package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +807 -807
- package/src/base-client/components/common/XAddNativeForm/index.md +146 -146
- package/src/base-client/components/common/XAddNativeForm/lowcodeEditorRegister.js +16 -16
- package/src/base-client/components/common/XAddNativeFormOA/XAddNativeFormOA.vue +303 -303
- package/src/base-client/components/common/XAddNativeFormOA/index.js +3 -3
- package/src/base-client/components/common/XAddNativeFormOA/index.md +146 -146
- package/src/base-client/components/common/XBadge/XBadge.vue +78 -78
- package/src/base-client/components/common/XCard/XCard.vue +64 -64
- package/src/base-client/components/common/XDataCard/XDataCard.vue +355 -0
- package/src/base-client/components/common/XDataCard/index.js +3 -0
- package/src/base-client/components/common/XDataCard/index.md +1 -0
- package/src/base-client/components/common/XDataDrawer/XDataDrawer.vue +180 -180
- package/src/base-client/components/common/XDataDrawer/index.js +3 -3
- package/src/base-client/components/common/XDataDrawer/index.md +41 -41
- package/src/base-client/components/common/XDescriptions/XDescriptions.vue +188 -187
- package/src/base-client/components/common/XDescriptions/XDescriptionsGroup.vue +306 -306
- package/src/base-client/components/common/XDescriptions/demo.vue +50 -50
- package/src/base-client/components/common/XDescriptions/index.js +3 -3
- package/src/base-client/components/common/XDescriptions/index.md +83 -83
- package/src/base-client/components/common/XDetailsView/XDetailsView.vue +214 -214
- package/src/base-client/components/common/XDetailsView/index.js +3 -3
- package/src/base-client/components/common/XForm/XForm.vue +294 -294
- package/src/base-client/components/common/XForm/XFormItem.vue +911 -911
- package/src/base-client/components/common/XForm/XTreeSelect.vue +207 -207
- package/src/base-client/components/common/XForm/index.md +178 -178
- package/src/base-client/components/common/XFormCol/XFormCol.vue +36 -36
- package/src/base-client/components/common/XFormGroup/XFormGroup.vue +241 -241
- package/src/base-client/components/common/XFormGroup/demo.vue +40 -40
- package/src/base-client/components/common/XFormGroup/index.js +3 -3
- package/src/base-client/components/common/XFormGroup/index.md +38 -38
- package/src/base-client/components/common/XFormGroupDetails/XFormGroupDetails.vue +72 -72
- package/src/base-client/components/common/XFormGroupDetails/index.js +3 -3
- package/src/base-client/components/common/XFormTable/XFormTable.vue +545 -539
- package/src/base-client/components/common/XFormTable/demo.vue +72 -72
- package/src/base-client/components/common/XFormTable/index.md +98 -98
- package/src/base-client/components/common/XFormTable/lowcodeEditorRegister.js +30 -30
- package/src/base-client/components/common/XImportExcel/XImportExcel.vue +147 -147
- package/src/base-client/components/common/XReport/XReport.vue +858 -858
- package/src/base-client/components/common/XReport/XReportDemo.vue +266 -266
- package/src/base-client/components/common/XReport/XReportDesign.vue +509 -509
- package/src/base-client/components/common/XReport/XReportJsonRender.vue +295 -295
- package/src/base-client/components/common/XReport/XReportTrGroup.vue +801 -801
- package/src/base-client/components/common/XReport/index.js +3 -3
- package/src/base-client/components/common/XReport/index.md +44 -44
- package/src/base-client/components/common/XReportSlot/XReportSlot.vue +110 -110
- package/src/base-client/components/common/XReportSlot/index.js +3 -3
- package/src/base-client/components/common/XSimpleDescriptions/XSimpleDescriptions.vue +137 -0
- package/src/base-client/components/common/XSimpleDescriptions/index.js +3 -0
- package/src/base-client/components/common/XSimpleDescriptions/index.md +7 -0
- package/src/base-client/components/common/XStepView/XStepView.vue +252 -252
- package/src/base-client/components/common/XStepView/index.js +3 -3
- package/src/base-client/components/common/XStepView/index.md +31 -31
- package/src/base-client/components/common/XTable/XTable.vue +715 -676
- package/src/base-client/components/common/XTable/index.md +255 -255
- package/src/base-client/components/common/XTree/XTree.vue +423 -423
- package/src/base-client/components/common/XTree/index.js +3 -3
- package/src/base-client/components/common/XTree/index.md +36 -36
- package/src/base-client/components/common/XTreeOne/XTreeOne.vue +114 -114
- package/src/base-client/components/common/XTreeOne/lowcodeEditorRegister.js +11 -11
- package/src/base-client/components/index.js +51 -51
- package/src/base-client/components/system/DictionaryDetailsView/DictionaryDetailsView.vue +232 -232
- package/src/base-client/components/system/QueryParamsDetailsView/QueryParamsDetailsView.vue +281 -281
- package/src/base-client/plugins/AppData.js +121 -121
- package/src/base-client/plugins/Config.js +19 -19
- package/src/base-client/plugins/GetLoginInfoService.js +183 -183
- package/src/base-client/plugins/tabs-page-plugin.js +39 -39
- package/src/bootstrap.js +39 -39
- package/src/components/CodeMirror/inedx.vue +118 -118
- package/src/components/CodeMirror/setting.js +40 -40
- package/src/components/FilePreview/FilePreview.vue +166 -166
- package/src/components/NumberInfo/NumberInfo.vue +54 -54
- package/src/components/STable/index.js +361 -361
- package/src/components/checkbox/ColorCheckbox.vue +157 -157
- package/src/components/checkbox/ImgCheckbox.vue +163 -163
- package/src/components/menu/SideMenu.vue +75 -75
- package/src/components/menu/menu.js +273 -273
- package/src/components/tool/AStepItem.vue +60 -60
- package/src/config/CreateQueryConfig.js +322 -322
- package/src/config/default/antd.config.js +89 -89
- package/src/config/default/setting.config.js +55 -55
- package/src/font-style/font.css +4 -4
- package/src/layouts/CommonLayout.vue +56 -56
- package/src/layouts/PageLayout.vue +151 -151
- package/src/layouts/SinglePageView.vue +138 -138
- package/src/layouts/header/AdminHeader.vue +132 -132
- package/src/layouts/header/HeaderNotice.vue +177 -177
- package/src/layouts/tabs/TabsHead.vue +189 -189
- package/src/layouts/tabs/TabsView.vue +387 -387
- package/src/lib.js +1 -1
- package/src/main.js +26 -26
- package/src/mock/extend/index.js +84 -84
- package/src/mock/goods/index.js +108 -108
- package/src/pages/AMisDemo/AMisDemo.vue +325 -325
- package/src/pages/AMisDemo/AMisDemo2.vue +74 -74
- package/src/pages/DynamicStatistics/ChartSelector.vue +331 -331
- package/src/pages/DynamicStatistics/DataTabs.vue +83 -83
- package/src/pages/DynamicStatistics/DynamicTable.vue +128 -128
- package/src/pages/DynamicStatistics/EvaluationArea.vue +69 -69
- package/src/pages/DynamicStatistics/FavoriteList.vue +51 -51
- package/src/pages/DynamicStatistics/QuestionHistoryAndFavorites.vue +591 -591
- package/src/pages/DynamicStatistics/SearchBar.vue +192 -192
- package/src/pages/DynamicStatistics/index.vue +282 -282
- package/src/pages/Example/index.vue +193 -33
- package/src/pages/NewDynamicStatistics/ChartSelector.vue +331 -331
- package/src/pages/NewDynamicStatistics/DataTabs.vue +122 -122
- package/src/pages/NewDynamicStatistics/DynamicTable.vue +128 -128
- package/src/pages/NewDynamicStatistics/EvaluationArea.vue +69 -69
- package/src/pages/NewDynamicStatistics/FavoriteList.vue +51 -51
- package/src/pages/NewDynamicStatistics/QuestionHistoryAndFavorites.vue +289 -289
- package/src/pages/NewDynamicStatistics/SearchBar.vue +193 -193
- package/src/pages/NewDynamicStatistics/index.vue +258 -258
- package/src/pages/ServiceReview/index.vue +284 -284
- package/src/pages/XReportView/index.vue +62 -62
- package/src/pages/login/Login.vue +378 -378
- package/src/pages/login/LoginV3.vue +389 -389
- package/src/pages/lowCode/lowCodeEditor.vue +1219 -1030
- package/src/pages/lowCode/lowCodeRenderPage.vue +43 -43
- package/src/pages/resourceManage/orgListManage.vue +98 -98
- package/src/pages/system/dictionary/index.vue +44 -44
- package/src/pages/system/monitor/loginInfor/index.vue +37 -37
- package/src/pages/system/monitor/operLog/index.vue +37 -37
- package/src/pages/system/settings/modifyPassword.vue +117 -117
- package/src/pages/system/ticket/index.vue +480 -480
- package/src/pages/system/ticket/submitTicketSuccess.vue +484 -484
- package/src/router/async/config.async.js +34 -34
- package/src/router/async/router.map.js +104 -104
- package/src/router/guards.js +223 -223
- package/src/router/index.js +27 -27
- package/src/router.js +19 -19
- package/src/services/api/TicketDetailsViewApi.js +46 -46
- package/src/services/api/cas.js +79 -79
- package/src/services/api/common.js +307 -307
- package/src/services/api/entity.js +18 -18
- package/src/services/api/index.js +17 -17
- package/src/services/api/restTools.js +46 -46
- package/src/services/apiService.js +14 -14
- package/src/services/user.js +71 -71
- package/src/services/v3Api.js +81 -81
- package/src/store/modules/index.js +5 -5
- package/src/store/modules/lowCode.js +33 -33
- package/src/store/modules/setting.js +119 -119
- package/src/theme/default/style.less +58 -58
- package/src/theme/global.less +139 -139
- package/src/utils/authority-utils.js +85 -85
- package/src/utils/errorCode.js +6 -6
- package/src/utils/formatter.js +80 -80
- package/src/utils/htmlToPDF.js +108 -108
- package/src/utils/htmlToPDFApi.js +5 -5
- package/src/utils/indexedDB.js +258 -258
- package/src/utils/login.js +188 -188
- package/src/utils/lowcode/lowcodeComponentMixin.js +120 -120
- package/src/utils/lowcode/lowcodeLog.js +29 -29
- package/src/utils/lowcode/lowcodeUtils.js +373 -373
- package/src/utils/lowcode/registerComponentForEditor.js +11 -11
- package/src/utils/lowcode/registerComponentForRender.js +11 -11
- package/src/utils/map-utils.js +47 -47
- package/src/utils/reg.js +95 -95
- package/src/utils/request.js +347 -347
- package/src/utils/routerUtil.js +435 -435
- package/src/utils/runEvalFunction.js +6 -6
- package/src/utils/util.js +241 -241
- package/src/utils/waterMark.js +31 -31
- package/test/Amis.spec.js +163 -163
- package/test/Tree.spec.js +167 -167
- package/test/myDialog.spec.js +46 -46
- package/vue.config.js +181 -181
- package//350/277/201/347/247/273/346/227/245/345/277/227.md +15 -15
package/package.json
CHANGED
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "vue2-client",
|
|
3
|
-
"version": "1.8.
|
|
4
|
-
"private": false,
|
|
5
|
-
"scripts": {
|
|
6
|
-
"serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
|
|
7
|
-
"mac-serve": "vue-cli-service serve --no-eslint --mode mac",
|
|
8
|
-
"build": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
|
|
9
|
-
"test:unit": "vue-cli-service test:unit",
|
|
10
|
-
"lint": "vue-cli-service lint",
|
|
11
|
-
"build:preview": "vue-cli-service build --mode preview",
|
|
12
|
-
"lint:nofix": "vue-cli-service lint --no-fix",
|
|
13
|
-
"test": "jest"
|
|
14
|
-
},
|
|
15
|
-
"dependencies": {
|
|
16
|
-
"@amap/amap-jsapi-loader": "^1.0.1",
|
|
17
|
-
"@antv/data-set": "^0.11.8",
|
|
18
|
-
"@antv/g2plot": "^2.4.31",
|
|
19
|
-
"@vue/babel-preset-jsx": "^1.4.0",
|
|
20
|
-
"animate.css": "^4.1.1",
|
|
21
|
-
"ant-design-vue": "^1.7.8",
|
|
22
|
-
"axios": "^0.27.2",
|
|
23
|
-
"clipboard": "^2.0.11",
|
|
24
|
-
"core-js": "^3.33.0",
|
|
25
|
-
"crypto-js": "^4.1.1",
|
|
26
|
-
"date-fns": "^2.29.3",
|
|
27
|
-
"default-passive-events": "^2.0.0",
|
|
28
|
-
"dotenv": "^16.3.1",
|
|
29
|
-
"echarts": "^5.5.0",
|
|
30
|
-
"enquire.js": "^2.1.6",
|
|
31
|
-
"file-saver": "^2.0.5",
|
|
32
|
-
"highlight.js": "^11.7.0",
|
|
33
|
-
"html2canvas": "^1.4.1",
|
|
34
|
-
"js-base64": "^3.7.5",
|
|
35
|
-
"js-cookie": "^2.2.1",
|
|
36
|
-
"jsencrypt": "^3.3.2",
|
|
37
|
-
"jspdf": "^2.5.1",
|
|
38
|
-
"lodash.clonedeep": "^4.5.0",
|
|
39
|
-
"lodash.get": "^4.4.2",
|
|
40
|
-
"lodash.debounce": "^4",
|
|
41
|
-
"mockjs": "^1.1.0",
|
|
42
|
-
"nprogress": "^0.2.0",
|
|
43
|
-
"qs": "^6.11.2",
|
|
44
|
-
"regenerator-runtime": "^0.14.0",
|
|
45
|
-
"videojs-contrib-hls": "^5.15.0",
|
|
46
|
-
"viser-vue": "^2.4.8",
|
|
47
|
-
"vue": "^2.7.14",
|
|
48
|
-
"vue-codemirror": "4.0.6",
|
|
49
|
-
"vue-i18n": "^8.28.2",
|
|
50
|
-
"vue-json-viewer": "^2.2.22",
|
|
51
|
-
"vue-router": "^3.6.5",
|
|
52
|
-
"vue-video-player": "^5.0.2",
|
|
53
|
-
"vue-virtual-scroller": "^1.1.2",
|
|
54
|
-
"vuedraggable": "^2.24.3",
|
|
55
|
-
"vue-draggable-resizable": "^2",
|
|
56
|
-
"vuex": "^3.6.2",
|
|
57
|
-
"xlsx": "0.18.5"
|
|
58
|
-
},
|
|
59
|
-
"devDependencies": {
|
|
60
|
-
"@ant-design/colors": "^7.0.0",
|
|
61
|
-
"@babel/core": "^7.22.20",
|
|
62
|
-
"@babel/eslint-parser": "^7.22.15",
|
|
63
|
-
"@babel/preset-env": "^7.22.20",
|
|
64
|
-
"@vue/cli-plugin-babel": "^5.0.8",
|
|
65
|
-
"@vue/cli-plugin-eslint": "^5.0.8",
|
|
66
|
-
"@vue/cli-service": "^5.0.8",
|
|
67
|
-
"@vue/eslint-config-standard": "^8.0.1",
|
|
68
|
-
"@vue/test-utils": "^1.3.6",
|
|
69
|
-
"babel-jest": "^26.6.3",
|
|
70
|
-
"babel-plugin-transform-remove-console": "^6.9.4",
|
|
71
|
-
"compression-webpack-plugin": "^10.0.0",
|
|
72
|
-
"css-minimizer-webpack-plugin": "^5.0.1",
|
|
73
|
-
"deepmerge": "^4.3.1",
|
|
74
|
-
"eslint": "^8.51.0",
|
|
75
|
-
"eslint-plugin-vue": "^9.17.0",
|
|
76
|
-
"fast-deep-equal": "^3.1.3",
|
|
77
|
-
"ignore-loader": "^0.1.2",
|
|
78
|
-
"jest": "^26.6.3",
|
|
79
|
-
"jest-environment-jsdom": "^26.6.2",
|
|
80
|
-
"jest-transform-stub": "^2.0.0",
|
|
81
|
-
"less-loader": "^6.2.0",
|
|
82
|
-
"script-loader": "^0.7.2",
|
|
83
|
-
"style-resources-loader": "^1.5.0",
|
|
84
|
-
"vue-cli-plugin-style-resources-loader": "^0.1.5",
|
|
85
|
-
"vue-jest": "^4.0.1",
|
|
86
|
-
"vue-template-compiler": "^2.7.14",
|
|
87
|
-
"webpack": "^5.88.2",
|
|
88
|
-
"webpack-theme-color-replacer": "^1.4.7",
|
|
89
|
-
"whatwg-fetch": "^3.6.19"
|
|
90
|
-
},
|
|
91
|
-
"browserslist": [
|
|
92
|
-
"> 1%",
|
|
93
|
-
"last 2 versions",
|
|
94
|
-
"not dead",
|
|
95
|
-
"not ie 11"
|
|
96
|
-
]
|
|
97
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "vue2-client",
|
|
3
|
+
"version": "1.8.312",
|
|
4
|
+
"private": false,
|
|
5
|
+
"scripts": {
|
|
6
|
+
"serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
|
|
7
|
+
"mac-serve": "vue-cli-service serve --no-eslint --mode mac",
|
|
8
|
+
"build": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
|
|
9
|
+
"test:unit": "vue-cli-service test:unit",
|
|
10
|
+
"lint": "vue-cli-service lint",
|
|
11
|
+
"build:preview": "vue-cli-service build --mode preview",
|
|
12
|
+
"lint:nofix": "vue-cli-service lint --no-fix",
|
|
13
|
+
"test": "jest"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@amap/amap-jsapi-loader": "^1.0.1",
|
|
17
|
+
"@antv/data-set": "^0.11.8",
|
|
18
|
+
"@antv/g2plot": "^2.4.31",
|
|
19
|
+
"@vue/babel-preset-jsx": "^1.4.0",
|
|
20
|
+
"animate.css": "^4.1.1",
|
|
21
|
+
"ant-design-vue": "^1.7.8",
|
|
22
|
+
"axios": "^0.27.2",
|
|
23
|
+
"clipboard": "^2.0.11",
|
|
24
|
+
"core-js": "^3.33.0",
|
|
25
|
+
"crypto-js": "^4.1.1",
|
|
26
|
+
"date-fns": "^2.29.3",
|
|
27
|
+
"default-passive-events": "^2.0.0",
|
|
28
|
+
"dotenv": "^16.3.1",
|
|
29
|
+
"echarts": "^5.5.0",
|
|
30
|
+
"enquire.js": "^2.1.6",
|
|
31
|
+
"file-saver": "^2.0.5",
|
|
32
|
+
"highlight.js": "^11.7.0",
|
|
33
|
+
"html2canvas": "^1.4.1",
|
|
34
|
+
"js-base64": "^3.7.5",
|
|
35
|
+
"js-cookie": "^2.2.1",
|
|
36
|
+
"jsencrypt": "^3.3.2",
|
|
37
|
+
"jspdf": "^2.5.1",
|
|
38
|
+
"lodash.clonedeep": "^4.5.0",
|
|
39
|
+
"lodash.get": "^4.4.2",
|
|
40
|
+
"lodash.debounce": "^4",
|
|
41
|
+
"mockjs": "^1.1.0",
|
|
42
|
+
"nprogress": "^0.2.0",
|
|
43
|
+
"qs": "^6.11.2",
|
|
44
|
+
"regenerator-runtime": "^0.14.0",
|
|
45
|
+
"videojs-contrib-hls": "^5.15.0",
|
|
46
|
+
"viser-vue": "^2.4.8",
|
|
47
|
+
"vue": "^2.7.14",
|
|
48
|
+
"vue-codemirror": "4.0.6",
|
|
49
|
+
"vue-i18n": "^8.28.2",
|
|
50
|
+
"vue-json-viewer": "^2.2.22",
|
|
51
|
+
"vue-router": "^3.6.5",
|
|
52
|
+
"vue-video-player": "^5.0.2",
|
|
53
|
+
"vue-virtual-scroller": "^1.1.2",
|
|
54
|
+
"vuedraggable": "^2.24.3",
|
|
55
|
+
"vue-draggable-resizable": "^2",
|
|
56
|
+
"vuex": "^3.6.2",
|
|
57
|
+
"xlsx": "0.18.5"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@ant-design/colors": "^7.0.0",
|
|
61
|
+
"@babel/core": "^7.22.20",
|
|
62
|
+
"@babel/eslint-parser": "^7.22.15",
|
|
63
|
+
"@babel/preset-env": "^7.22.20",
|
|
64
|
+
"@vue/cli-plugin-babel": "^5.0.8",
|
|
65
|
+
"@vue/cli-plugin-eslint": "^5.0.8",
|
|
66
|
+
"@vue/cli-service": "^5.0.8",
|
|
67
|
+
"@vue/eslint-config-standard": "^8.0.1",
|
|
68
|
+
"@vue/test-utils": "^1.3.6",
|
|
69
|
+
"babel-jest": "^26.6.3",
|
|
70
|
+
"babel-plugin-transform-remove-console": "^6.9.4",
|
|
71
|
+
"compression-webpack-plugin": "^10.0.0",
|
|
72
|
+
"css-minimizer-webpack-plugin": "^5.0.1",
|
|
73
|
+
"deepmerge": "^4.3.1",
|
|
74
|
+
"eslint": "^8.51.0",
|
|
75
|
+
"eslint-plugin-vue": "^9.17.0",
|
|
76
|
+
"fast-deep-equal": "^3.1.3",
|
|
77
|
+
"ignore-loader": "^0.1.2",
|
|
78
|
+
"jest": "^26.6.3",
|
|
79
|
+
"jest-environment-jsdom": "^26.6.2",
|
|
80
|
+
"jest-transform-stub": "^2.0.0",
|
|
81
|
+
"less-loader": "^6.2.0",
|
|
82
|
+
"script-loader": "^0.7.2",
|
|
83
|
+
"style-resources-loader": "^1.5.0",
|
|
84
|
+
"vue-cli-plugin-style-resources-loader": "^0.1.5",
|
|
85
|
+
"vue-jest": "^4.0.1",
|
|
86
|
+
"vue-template-compiler": "^2.7.14",
|
|
87
|
+
"webpack": "^5.88.2",
|
|
88
|
+
"webpack-theme-color-replacer": "^1.4.7",
|
|
89
|
+
"whatwg-fetch": "^3.6.19"
|
|
90
|
+
},
|
|
91
|
+
"browserslist": [
|
|
92
|
+
"> 1%",
|
|
93
|
+
"last 2 versions",
|
|
94
|
+
"not dead",
|
|
95
|
+
"not ie 11"
|
|
96
|
+
]
|
|
97
|
+
}
|
package/public/index.html
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en" class="beauty-scroll">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
7
|
-
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
|
8
|
-
<title><%= process.env.VUE_APP_NAME %></title>
|
|
9
|
-
<!-- require cdn assets css -->
|
|
10
|
-
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %>
|
|
11
|
-
<link rel="stylesheet" href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" />
|
|
12
|
-
<% } %>
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
<noscript>
|
|
16
|
-
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
|
17
|
-
</noscript>
|
|
18
|
-
<div id="popContainer" class="beauty-scroll" style="height: 100%; overflow-y: auto">
|
|
19
|
-
<div id="app"></div>
|
|
20
|
-
</div>
|
|
21
|
-
<!-- require cdn assets js -->
|
|
22
|
-
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %>
|
|
23
|
-
<script type="text/javascript" src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
|
|
24
|
-
<% } %>
|
|
25
|
-
<!-- built files will be auto injected -->
|
|
26
|
-
</body>
|
|
27
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en" class="beauty-scroll">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
7
|
+
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
|
8
|
+
<title><%= process.env.VUE_APP_NAME %></title>
|
|
9
|
+
<!-- require cdn assets css -->
|
|
10
|
+
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %>
|
|
11
|
+
<link rel="stylesheet" href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" />
|
|
12
|
+
<% } %>
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<noscript>
|
|
16
|
+
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
|
17
|
+
</noscript>
|
|
18
|
+
<div id="popContainer" class="beauty-scroll" style="height: 100%; overflow-y: auto">
|
|
19
|
+
<div id="app"></div>
|
|
20
|
+
</div>
|
|
21
|
+
<!-- require cdn assets js -->
|
|
22
|
+
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %>
|
|
23
|
+
<script type="text/javascript" src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
|
|
24
|
+
<% } %>
|
|
25
|
+
<!-- built files will be auto injected -->
|
|
26
|
+
</body>
|
|
27
|
+
</html>
|
package/src/App.vue
CHANGED
|
@@ -1,188 +1,188 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<a-config-provider :locale="locale" :get-popup-container="popContainer">
|
|
3
|
-
<router-view/>
|
|
4
|
-
</a-config-provider>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
import { enquireScreen } from '@vue2-client/utils/util'
|
|
9
|
-
import { mapState, mapMutations } from 'vuex'
|
|
10
|
-
import themeUtil from '@vue2-client/utils/themeUtil'
|
|
11
|
-
import { getI18nKey } from '@vue2-client/utils/routerUtil'
|
|
12
|
-
import { setSystemVersion } from '@vue2-client/utils/request'
|
|
13
|
-
import waterMark from '@vue2-client/utils/waterMark'
|
|
14
|
-
|
|
15
|
-
export default {
|
|
16
|
-
name: 'App',
|
|
17
|
-
data () {
|
|
18
|
-
return {
|
|
19
|
-
locale: {}
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
created () {
|
|
23
|
-
this.setHtmlTitle()
|
|
24
|
-
this.setLanguage(this.lang)
|
|
25
|
-
enquireScreen(isMobile => this.setDevice(isMobile))
|
|
26
|
-
},
|
|
27
|
-
mounted () {
|
|
28
|
-
this.setWeekModeTheme(this.weekMode)
|
|
29
|
-
const configStr = localStorage.getItem(process.env.VUE_APP_WEB_CONFIG_KEY)
|
|
30
|
-
if (configStr) {
|
|
31
|
-
const config = JSON.parse(configStr)
|
|
32
|
-
if (config?.$globalProp?.environment === 'dev') {
|
|
33
|
-
// 设置水印
|
|
34
|
-
waterMark('开发环境')
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
// 设置系统版本
|
|
38
|
-
setSystemVersion(this.compatible)
|
|
39
|
-
// 获取基座应用的信息进行初始化
|
|
40
|
-
this.setMicroApp()
|
|
41
|
-
},
|
|
42
|
-
watch: {
|
|
43
|
-
weekMode (val) {
|
|
44
|
-
this.setWeekModeTheme(val)
|
|
45
|
-
},
|
|
46
|
-
lang (val) {
|
|
47
|
-
this.setLanguage(val)
|
|
48
|
-
this.setHtmlTitle()
|
|
49
|
-
},
|
|
50
|
-
$route () {
|
|
51
|
-
this.setHtmlTitle()
|
|
52
|
-
},
|
|
53
|
-
'theme.mode': {
|
|
54
|
-
immediate: true,
|
|
55
|
-
handler: function (val) {
|
|
56
|
-
this.changeThemeMode(val)
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
'theme.color': {
|
|
60
|
-
immediate: true,
|
|
61
|
-
handler: function (val) {
|
|
62
|
-
this.changeThemeColor(val)
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
layout: function () {
|
|
66
|
-
window.dispatchEvent(new Event('resize'))
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
computed: {
|
|
70
|
-
...mapState('setting', ['layout', 'theme', 'weekMode', 'lang', 'compatible'])
|
|
71
|
-
},
|
|
72
|
-
methods: {
|
|
73
|
-
...mapMutations('setting', ['setDevice']),
|
|
74
|
-
changeThemeColor (val) {
|
|
75
|
-
if (process.env.NODE_ENV === 'production') {
|
|
76
|
-
const closeMessage = this.$message.loading(`您选择了主题色 ${val}, 正在切换...`)
|
|
77
|
-
themeUtil.changeThemeColor(val, this.theme.mode).then(closeMessage)
|
|
78
|
-
} else {
|
|
79
|
-
console.info('为保证构建性能,关闭开发环境下的主题色切换')
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
changeThemeMode (val) {
|
|
83
|
-
if (process.env.NODE_ENV === 'production') {
|
|
84
|
-
const closeMessage = this.$message.loading(`您选择了主题模式 ${val}, 正在切换...`)
|
|
85
|
-
themeUtil.changeThemeColor(this.theme.color, val).then(closeMessage)
|
|
86
|
-
} else {
|
|
87
|
-
console.info('为保证构建性能,关闭开发环境下的主题模式切换')
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
setWeekModeTheme (weekMode) {
|
|
91
|
-
if (weekMode) {
|
|
92
|
-
document.body.classList.add('week-mode')
|
|
93
|
-
} else {
|
|
94
|
-
document.body.classList.remove('week-mode')
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
setMicroApp () {
|
|
98
|
-
let baseApp = '/login'
|
|
99
|
-
const that = this
|
|
100
|
-
if (window.__MICRO_APP_ENVIRONMENT__) {
|
|
101
|
-
const data = window.microApp.getData() // 获取主应用下发的data数据
|
|
102
|
-
if (data.baseroute) {
|
|
103
|
-
baseApp = data.baseroute
|
|
104
|
-
}
|
|
105
|
-
this.setMicroAppTheme(data.themeStore)
|
|
106
|
-
window.microApp.addDataListener((_data) => {
|
|
107
|
-
if (_data.baseroute) {
|
|
108
|
-
baseApp = _data.baseroute
|
|
109
|
-
}
|
|
110
|
-
that.setMicroAppTheme(_data.themeStore)
|
|
111
|
-
})
|
|
112
|
-
console.log('microApp', window.microApp)
|
|
113
|
-
this.$router.replace({ path: baseApp })
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
setMicroAppTheme (themeStore) {
|
|
117
|
-
try {
|
|
118
|
-
let themeScheme = 'dark'
|
|
119
|
-
if (themeStore && themeStore.themeColor && themeStore.themeScheme) {
|
|
120
|
-
if (themeStore.themeScheme === 'dark') {
|
|
121
|
-
themeScheme = 'night'
|
|
122
|
-
}
|
|
123
|
-
themeUtil.changeThemeColor(themeStore.themeColor, themeScheme)
|
|
124
|
-
}
|
|
125
|
-
} catch (e) {
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
setLanguage (lang) {
|
|
129
|
-
this.$i18n.locale = lang
|
|
130
|
-
switch (lang) {
|
|
131
|
-
case 'CN':
|
|
132
|
-
this.locale = require('ant-design-vue/es/locale-provider/zh_CN').default
|
|
133
|
-
break
|
|
134
|
-
case 'HK':
|
|
135
|
-
this.locale = require('ant-design-vue/es/locale-provider/zh_TW').default
|
|
136
|
-
break
|
|
137
|
-
case 'US':
|
|
138
|
-
default:
|
|
139
|
-
this.locale = require('ant-design-vue/es/locale-provider/en_US').default
|
|
140
|
-
break
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
setHtmlTitle () {
|
|
144
|
-
const route = this.$route
|
|
145
|
-
const key = route.path === '/' ? 'home.name' : getI18nKey(route.matched[route.matched.length - 1].path)
|
|
146
|
-
document.title = process.env.VUE_APP_NAME + ' | ' + this.$t(key)
|
|
147
|
-
},
|
|
148
|
-
popContainer () {
|
|
149
|
-
return document.getElementById('popContainer')
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
</script>
|
|
154
|
-
|
|
155
|
-
<style lang="less" scoped>
|
|
156
|
-
#id {
|
|
157
|
-
}
|
|
158
|
-
</style>
|
|
159
|
-
<style lang="less">
|
|
160
|
-
@import "./font-style/font.css";
|
|
161
|
-
|
|
162
|
-
body {
|
|
163
|
-
font-family: 'PingFangSC-Regular-woff2', 'Microsoft YaHei UI', serif !important;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.water-mark-wrap {
|
|
167
|
-
position: absolute;
|
|
168
|
-
width: 100%;
|
|
169
|
-
height: 100%;
|
|
170
|
-
z-index: 9999;
|
|
171
|
-
pointer-events: none;
|
|
172
|
-
top: 0;
|
|
173
|
-
left: 0;
|
|
174
|
-
display: flex;
|
|
175
|
-
overflow: hidden;
|
|
176
|
-
flex-wrap: wrap;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.water-word {
|
|
180
|
-
display: flex;
|
|
181
|
-
align-items: center;
|
|
182
|
-
justify-content: center;
|
|
183
|
-
font-size: 18px;
|
|
184
|
-
color: rgba(8, 8, 8, 0.1);
|
|
185
|
-
transform: rotate(-45deg);
|
|
186
|
-
user-select: none;
|
|
187
|
-
}
|
|
188
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<a-config-provider :locale="locale" :get-popup-container="popContainer">
|
|
3
|
+
<router-view/>
|
|
4
|
+
</a-config-provider>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
import { enquireScreen } from '@vue2-client/utils/util'
|
|
9
|
+
import { mapState, mapMutations } from 'vuex'
|
|
10
|
+
import themeUtil from '@vue2-client/utils/themeUtil'
|
|
11
|
+
import { getI18nKey } from '@vue2-client/utils/routerUtil'
|
|
12
|
+
import { setSystemVersion } from '@vue2-client/utils/request'
|
|
13
|
+
import waterMark from '@vue2-client/utils/waterMark'
|
|
14
|
+
|
|
15
|
+
export default {
|
|
16
|
+
name: 'App',
|
|
17
|
+
data () {
|
|
18
|
+
return {
|
|
19
|
+
locale: {}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
created () {
|
|
23
|
+
this.setHtmlTitle()
|
|
24
|
+
this.setLanguage(this.lang)
|
|
25
|
+
enquireScreen(isMobile => this.setDevice(isMobile))
|
|
26
|
+
},
|
|
27
|
+
mounted () {
|
|
28
|
+
this.setWeekModeTheme(this.weekMode)
|
|
29
|
+
const configStr = localStorage.getItem(process.env.VUE_APP_WEB_CONFIG_KEY)
|
|
30
|
+
if (configStr) {
|
|
31
|
+
const config = JSON.parse(configStr)
|
|
32
|
+
if (config?.$globalProp?.environment === 'dev') {
|
|
33
|
+
// 设置水印
|
|
34
|
+
waterMark('开发环境')
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
// 设置系统版本
|
|
38
|
+
setSystemVersion(this.compatible)
|
|
39
|
+
// 获取基座应用的信息进行初始化
|
|
40
|
+
this.setMicroApp()
|
|
41
|
+
},
|
|
42
|
+
watch: {
|
|
43
|
+
weekMode (val) {
|
|
44
|
+
this.setWeekModeTheme(val)
|
|
45
|
+
},
|
|
46
|
+
lang (val) {
|
|
47
|
+
this.setLanguage(val)
|
|
48
|
+
this.setHtmlTitle()
|
|
49
|
+
},
|
|
50
|
+
$route () {
|
|
51
|
+
this.setHtmlTitle()
|
|
52
|
+
},
|
|
53
|
+
'theme.mode': {
|
|
54
|
+
immediate: true,
|
|
55
|
+
handler: function (val) {
|
|
56
|
+
this.changeThemeMode(val)
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
'theme.color': {
|
|
60
|
+
immediate: true,
|
|
61
|
+
handler: function (val) {
|
|
62
|
+
this.changeThemeColor(val)
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
layout: function () {
|
|
66
|
+
window.dispatchEvent(new Event('resize'))
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
computed: {
|
|
70
|
+
...mapState('setting', ['layout', 'theme', 'weekMode', 'lang', 'compatible'])
|
|
71
|
+
},
|
|
72
|
+
methods: {
|
|
73
|
+
...mapMutations('setting', ['setDevice']),
|
|
74
|
+
changeThemeColor (val) {
|
|
75
|
+
if (process.env.NODE_ENV === 'production') {
|
|
76
|
+
const closeMessage = this.$message.loading(`您选择了主题色 ${val}, 正在切换...`)
|
|
77
|
+
themeUtil.changeThemeColor(val, this.theme.mode).then(closeMessage)
|
|
78
|
+
} else {
|
|
79
|
+
console.info('为保证构建性能,关闭开发环境下的主题色切换')
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
changeThemeMode (val) {
|
|
83
|
+
if (process.env.NODE_ENV === 'production') {
|
|
84
|
+
const closeMessage = this.$message.loading(`您选择了主题模式 ${val}, 正在切换...`)
|
|
85
|
+
themeUtil.changeThemeColor(this.theme.color, val).then(closeMessage)
|
|
86
|
+
} else {
|
|
87
|
+
console.info('为保证构建性能,关闭开发环境下的主题模式切换')
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
setWeekModeTheme (weekMode) {
|
|
91
|
+
if (weekMode) {
|
|
92
|
+
document.body.classList.add('week-mode')
|
|
93
|
+
} else {
|
|
94
|
+
document.body.classList.remove('week-mode')
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
setMicroApp () {
|
|
98
|
+
let baseApp = '/login'
|
|
99
|
+
const that = this
|
|
100
|
+
if (window.__MICRO_APP_ENVIRONMENT__) {
|
|
101
|
+
const data = window.microApp.getData() // 获取主应用下发的data数据
|
|
102
|
+
if (data.baseroute) {
|
|
103
|
+
baseApp = data.baseroute
|
|
104
|
+
}
|
|
105
|
+
this.setMicroAppTheme(data.themeStore)
|
|
106
|
+
window.microApp.addDataListener((_data) => {
|
|
107
|
+
if (_data.baseroute) {
|
|
108
|
+
baseApp = _data.baseroute
|
|
109
|
+
}
|
|
110
|
+
that.setMicroAppTheme(_data.themeStore)
|
|
111
|
+
})
|
|
112
|
+
console.log('microApp', window.microApp)
|
|
113
|
+
this.$router.replace({ path: baseApp })
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
setMicroAppTheme (themeStore) {
|
|
117
|
+
try {
|
|
118
|
+
let themeScheme = 'dark'
|
|
119
|
+
if (themeStore && themeStore.themeColor && themeStore.themeScheme) {
|
|
120
|
+
if (themeStore.themeScheme === 'dark') {
|
|
121
|
+
themeScheme = 'night'
|
|
122
|
+
}
|
|
123
|
+
themeUtil.changeThemeColor(themeStore.themeColor, themeScheme)
|
|
124
|
+
}
|
|
125
|
+
} catch (e) {
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
setLanguage (lang) {
|
|
129
|
+
this.$i18n.locale = lang
|
|
130
|
+
switch (lang) {
|
|
131
|
+
case 'CN':
|
|
132
|
+
this.locale = require('ant-design-vue/es/locale-provider/zh_CN').default
|
|
133
|
+
break
|
|
134
|
+
case 'HK':
|
|
135
|
+
this.locale = require('ant-design-vue/es/locale-provider/zh_TW').default
|
|
136
|
+
break
|
|
137
|
+
case 'US':
|
|
138
|
+
default:
|
|
139
|
+
this.locale = require('ant-design-vue/es/locale-provider/en_US').default
|
|
140
|
+
break
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
setHtmlTitle () {
|
|
144
|
+
const route = this.$route
|
|
145
|
+
const key = route.path === '/' ? 'home.name' : getI18nKey(route.matched[route.matched.length - 1].path)
|
|
146
|
+
document.title = process.env.VUE_APP_NAME + ' | ' + this.$t(key)
|
|
147
|
+
},
|
|
148
|
+
popContainer () {
|
|
149
|
+
return document.getElementById('popContainer')
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
</script>
|
|
154
|
+
|
|
155
|
+
<style lang="less" scoped>
|
|
156
|
+
#id {
|
|
157
|
+
}
|
|
158
|
+
</style>
|
|
159
|
+
<style lang="less">
|
|
160
|
+
@import "./font-style/font.css";
|
|
161
|
+
|
|
162
|
+
body {
|
|
163
|
+
font-family: 'PingFangSC-Regular-woff2', 'Microsoft YaHei UI', serif !important;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.water-mark-wrap {
|
|
167
|
+
position: absolute;
|
|
168
|
+
width: 100%;
|
|
169
|
+
height: 100%;
|
|
170
|
+
z-index: 9999;
|
|
171
|
+
pointer-events: none;
|
|
172
|
+
top: 0;
|
|
173
|
+
left: 0;
|
|
174
|
+
display: flex;
|
|
175
|
+
overflow: hidden;
|
|
176
|
+
flex-wrap: wrap;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.water-word {
|
|
180
|
+
display: flex;
|
|
181
|
+
align-items: center;
|
|
182
|
+
justify-content: center;
|
|
183
|
+
font-size: 18px;
|
|
184
|
+
color: rgba(8, 8, 8, 0.1);
|
|
185
|
+
transform: rotate(-45deg);
|
|
186
|
+
user-select: none;
|
|
187
|
+
}
|
|
188
|
+
</style>
|
package/src/ReportView.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import App from './pages/XReportView/index.vue'
|
|
3
|
-
import Vuex from 'vuex'
|
|
4
|
-
import { bootstrap, i18n, message, modules } from '../index'
|
|
5
|
-
|
|
6
|
-
Vue.use(Vuex)
|
|
7
|
-
|
|
8
|
-
// 创建router store
|
|
9
|
-
const store = new Vuex.Store({ modules })
|
|
10
|
-
|
|
11
|
-
// 绑定原型,用于amis
|
|
12
|
-
Vue.$store = store
|
|
13
|
-
|
|
14
|
-
bootstrap({ i18n, message }).then(() => {
|
|
15
|
-
new Vue({
|
|
16
|
-
i18n,
|
|
17
|
-
render: h => h(App)
|
|
18
|
-
}).$mount('#app')
|
|
19
|
-
})
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import App from './pages/XReportView/index.vue'
|
|
3
|
+
import Vuex from 'vuex'
|
|
4
|
+
import { bootstrap, i18n, message, modules } from '../index'
|
|
5
|
+
|
|
6
|
+
Vue.use(Vuex)
|
|
7
|
+
|
|
8
|
+
// 创建router store
|
|
9
|
+
const store = new Vuex.Store({ modules })
|
|
10
|
+
|
|
11
|
+
// 绑定原型,用于amis
|
|
12
|
+
Vue.$store = store
|
|
13
|
+
|
|
14
|
+
bootstrap({ i18n, message }).then(() => {
|
|
15
|
+
new Vue({
|
|
16
|
+
i18n,
|
|
17
|
+
render: h => h(App)
|
|
18
|
+
}).$mount('#app')
|
|
19
|
+
})
|