vue2-client 1.16.52 → 1.16.54

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.
Files changed (29) hide show
  1. package/package.json +112 -112
  2. package/src/assets/svg/female.svg +1 -1
  3. package/src/assets/svg/male.svg +1 -1
  4. package/src/base-client/components/common/HIS/HButtons/HButtons.vue +1 -1
  5. package/src/base-client/components/common/HIS/HForm/HForm.vue +18 -4
  6. package/src/base-client/components/common/HIS/HFormGroup/HFormGroup.vue +120 -120
  7. package/src/base-client/components/common/HIS/HFormGroup/index.js +3 -3
  8. package/src/base-client/components/common/HIS/HFormTable/HFormTable.vue +379 -379
  9. package/src/base-client/components/common/HIS/demo.vue +61 -61
  10. package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +18 -1
  11. package/src/base-client/components/common/XCollapse/XCollapse.vue +461 -461
  12. package/src/base-client/components/common/XInput/XInput.vue +147 -147
  13. package/src/base-client/components/common/XReportGrid/XReportTrGroup.vue +824 -824
  14. package/src/base-client/components/common/XTable/XTable.vue +1610 -1610
  15. package/src/base-client/components/common/XTable/XTableWrapper.vue +1 -0
  16. package/src/base-client/components/common/XTimeline/XTimeline.vue +454 -454
  17. package/src/base-client/components/his/XHisEditor/XHisEditor.vue +705 -705
  18. package/src/base-client/components/his/XList/XList.vue +829 -829
  19. package/src/base-client/components/his/threeTestOrders/editor.vue +113 -113
  20. package/src/pages/userInfoDetailManage/ExceptionRecordQuery/index.vue +45 -45
  21. package/src/router/async/router.map.js +129 -132
  22. package/src/assets/img/paymentMethod/icon1.png +0 -0
  23. package/src/assets/img/paymentMethod/icon2.png +0 -0
  24. package/src/assets/img/paymentMethod/icon3.png +0 -0
  25. package/src/assets/img/paymentMethod/icon4.png +0 -0
  26. package/src/assets/img/paymentMethod/icon5.png +0 -0
  27. package/src/assets/img/paymentMethod/icon6.png +0 -0
  28. package/src/base-client/components/common/XReport/XReportHospitalizationDemo.vue +0 -45
  29. package/src/base-client/components/his/XCharge/testConfig.js +0 -149
package/package.json CHANGED
@@ -1,112 +1,112 @@
1
- {
2
- "name": "vue2-client",
3
- "version": "1.16.52",
4
- "private": false,
5
- "scripts": {
6
- "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
7
- "serve:gaslink": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode gaslink",
8
- "serve:revenue": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode revenue",
9
- "serve:liuli": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode liuli",
10
- "serve:scada": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode scada",
11
- "serve:iot": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode iot",
12
- "serve:his": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode his",
13
- "serve:runtime": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode runtime",
14
- "serve:message": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode message",
15
- "serve:apply": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode apply",
16
- "mac-serve": "vue-cli-service serve --no-eslint --mode his",
17
- "build": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
18
- "test:unit": "vue-cli-service test:unit",
19
- "lint": "vue-cli-service lint",
20
- "build:preview": "vue-cli-service build --mode preview",
21
- "lint:nofix": "vue-cli-service lint --no-fix",
22
- "test": "jest"
23
- },
24
- "dependencies": {
25
- "@afwenming123/vue-easy-tree": "^1.0.1",
26
- "@afwenming123/vue-plugin-hiprint": "^0.0.70",
27
- "@amap/amap-jsapi-loader": "^1.0.1",
28
- "@antv/data-set": "^0.11.8",
29
- "@antv/g2plot": "^2.4.31",
30
- "@hufe921/canvas-editor": "^0.9.49",
31
- "@microsoft/fetch-event-source": "^2.0.1",
32
- "@vue/babel-preset-jsx": "^1.4.0",
33
- "animate.css": "^4.1.1",
34
- "ant-design-vue": "^1.7.8",
35
- "axios": "^0.27.2",
36
- "clipboard": "^2.0.11",
37
- "core-js": "^3.33.0",
38
- "crypto-js": "^4.1.1",
39
- "date-fns": "^2.29.3",
40
- "default-passive-events": "^2.0.0",
41
- "dotenv": "^16.3.1",
42
- "echarts": "^5.5.0",
43
- "enquire.js": "^2.1.6",
44
- "file-saver": "^2.0.5",
45
- "highlight.js": "^11.7.0",
46
- "html2canvas": "^1.4.1",
47
- "js-base64": "^3.7.5",
48
- "js-cookie": "^2.2.1",
49
- "jsencrypt": "^3.3.2",
50
- "jspdf": "^2.5.1",
51
- "lodash.clonedeep": "^4.5.0",
52
- "lodash.debounce": "^4",
53
- "lodash.get": "^4.4.2",
54
- "marked": "^4",
55
- "mockjs": "^1.1.0",
56
- "nprogress": "^0.2.0",
57
- "qs": "^6.11.2",
58
- "regenerator-runtime": "^0.14.0",
59
- "splitpanes": "^2.4.1",
60
- "videojs-contrib-hls": "^5.15.0",
61
- "viser-vue": "^2.4.8",
62
- "vue": "^2.7.14",
63
- "vue-codemirror": "4.0.6",
64
- "vue-color": "2.7.0",
65
- "vue-draggable-resizable": "^2.3.0",
66
- "vue-i18n": "^8.28.2",
67
- "vue-json-viewer": "^2.2.22",
68
- "vue-router": "^3.6.5",
69
- "vue-video-player": "^5.0.2",
70
- "vue-virtual-scroller": "^1.1.2",
71
- "vuedraggable": "^2.24.3",
72
- "vuex": "^3.6.2",
73
- "xlsx": "0.18.5"
74
- },
75
- "devDependencies": {
76
- "@ant-design/colors": "^7.0.0",
77
- "@babel/core": "^7.22.20",
78
- "@babel/eslint-parser": "^7.22.15",
79
- "@babel/preset-env": "^7.22.20",
80
- "@vue/cli-plugin-babel": "^5.0.8",
81
- "@vue/cli-plugin-eslint": "^5.0.8",
82
- "@vue/cli-service": "^5.0.8",
83
- "@vue/eslint-config-standard": "^8.0.1",
84
- "@vue/test-utils": "^1.3.6",
85
- "babel-plugin-transform-remove-console": "^6.9.4",
86
- "compression-webpack-plugin": "^10.0.0",
87
- "css-minimizer-webpack-plugin": "^5.0.1",
88
- "deepmerge": "^4.3.1",
89
- "eslint": "^8.51.0",
90
- "eslint-plugin-vue": "^9.17.0",
91
- "fast-deep-equal": "^3.1.3",
92
- "ignore-loader": "^0.1.2",
93
- "jest": "^29.7.0",
94
- "jest-environment-jsdom": "^29.7.0",
95
- "jest-transform-stub": "^2.0.0",
96
- "less-loader": "^6.2.0",
97
- "script-loader": "^0.7.2",
98
- "style-resources-loader": "^1.5.0",
99
- "vue-cli-plugin-style-resources-loader": "^0.1.5",
100
- "vue-jest": "^4.0.1",
101
- "vue-template-compiler": "^2.7.14",
102
- "webpack": "^5.88.2",
103
- "webpack-theme-color-replacer": "^1.4.7",
104
- "whatwg-fetch": "^3.6.19"
105
- },
106
- "browserslist": [
107
- "> 1%",
108
- "last 2 versions",
109
- "not dead",
110
- "not ie 11"
111
- ]
112
- }
1
+ {
2
+ "name": "vue2-client",
3
+ "version": "1.16.54",
4
+ "private": false,
5
+ "scripts": {
6
+ "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
7
+ "serve:gaslink": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode gaslink",
8
+ "serve:revenue": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode revenue",
9
+ "serve:liuli": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode liuli",
10
+ "serve:scada": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode scada",
11
+ "serve:iot": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode iot",
12
+ "serve:his": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode his",
13
+ "serve:runtime": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode runtime",
14
+ "serve:message": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode message",
15
+ "serve:apply": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode apply",
16
+ "mac-serve": "vue-cli-service serve --no-eslint --mode his",
17
+ "build": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
18
+ "test:unit": "vue-cli-service test:unit",
19
+ "lint": "vue-cli-service lint",
20
+ "build:preview": "vue-cli-service build --mode preview",
21
+ "lint:nofix": "vue-cli-service lint --no-fix",
22
+ "test": "jest"
23
+ },
24
+ "dependencies": {
25
+ "@afwenming123/vue-easy-tree": "^1.0.1",
26
+ "@afwenming123/vue-plugin-hiprint": "^0.0.70",
27
+ "@amap/amap-jsapi-loader": "^1.0.1",
28
+ "@antv/data-set": "^0.11.8",
29
+ "@antv/g2plot": "^2.4.31",
30
+ "@hufe921/canvas-editor": "^0.9.49",
31
+ "@microsoft/fetch-event-source": "^2.0.1",
32
+ "@vue/babel-preset-jsx": "^1.4.0",
33
+ "animate.css": "^4.1.1",
34
+ "ant-design-vue": "^1.7.8",
35
+ "axios": "^0.27.2",
36
+ "clipboard": "^2.0.11",
37
+ "core-js": "^3.33.0",
38
+ "crypto-js": "^4.1.1",
39
+ "date-fns": "^2.29.3",
40
+ "default-passive-events": "^2.0.0",
41
+ "dotenv": "^16.3.1",
42
+ "echarts": "^5.5.0",
43
+ "enquire.js": "^2.1.6",
44
+ "file-saver": "^2.0.5",
45
+ "highlight.js": "^11.7.0",
46
+ "html2canvas": "^1.4.1",
47
+ "js-base64": "^3.7.5",
48
+ "js-cookie": "^2.2.1",
49
+ "jsencrypt": "^3.3.2",
50
+ "jspdf": "^2.5.1",
51
+ "lodash.clonedeep": "^4.5.0",
52
+ "lodash.debounce": "^4",
53
+ "lodash.get": "^4.4.2",
54
+ "marked": "^4",
55
+ "mockjs": "^1.1.0",
56
+ "nprogress": "^0.2.0",
57
+ "qs": "^6.11.2",
58
+ "regenerator-runtime": "^0.14.0",
59
+ "splitpanes": "^2.4.1",
60
+ "videojs-contrib-hls": "^5.15.0",
61
+ "viser-vue": "^2.4.8",
62
+ "vue": "^2.7.14",
63
+ "vue-codemirror": "4.0.6",
64
+ "vue-color": "2.7.0",
65
+ "vue-draggable-resizable": "^2.3.0",
66
+ "vue-i18n": "^8.28.2",
67
+ "vue-json-viewer": "^2.2.22",
68
+ "vue-router": "^3.6.5",
69
+ "vue-video-player": "^5.0.2",
70
+ "vue-virtual-scroller": "^1.1.2",
71
+ "vuedraggable": "^2.24.3",
72
+ "vuex": "^3.6.2",
73
+ "xlsx": "0.18.5"
74
+ },
75
+ "devDependencies": {
76
+ "@ant-design/colors": "^7.0.0",
77
+ "@babel/core": "^7.22.20",
78
+ "@babel/eslint-parser": "^7.22.15",
79
+ "@babel/preset-env": "^7.22.20",
80
+ "@vue/cli-plugin-babel": "^5.0.8",
81
+ "@vue/cli-plugin-eslint": "^5.0.8",
82
+ "@vue/cli-service": "^5.0.8",
83
+ "@vue/eslint-config-standard": "^8.0.1",
84
+ "@vue/test-utils": "^1.3.6",
85
+ "babel-plugin-transform-remove-console": "^6.9.4",
86
+ "compression-webpack-plugin": "^10.0.0",
87
+ "css-minimizer-webpack-plugin": "^5.0.1",
88
+ "deepmerge": "^4.3.1",
89
+ "eslint": "^8.51.0",
90
+ "eslint-plugin-vue": "^9.17.0",
91
+ "fast-deep-equal": "^3.1.3",
92
+ "ignore-loader": "^0.1.2",
93
+ "jest": "^29.7.0",
94
+ "jest-environment-jsdom": "^29.7.0",
95
+ "jest-transform-stub": "^2.0.0",
96
+ "less-loader": "^6.2.0",
97
+ "script-loader": "^0.7.2",
98
+ "style-resources-loader": "^1.5.0",
99
+ "vue-cli-plugin-style-resources-loader": "^0.1.5",
100
+ "vue-jest": "^4.0.1",
101
+ "vue-template-compiler": "^2.7.14",
102
+ "webpack": "^5.88.2",
103
+ "webpack-theme-color-replacer": "^1.4.7",
104
+ "whatwg-fetch": "^3.6.19"
105
+ },
106
+ "browserslist": [
107
+ "> 1%",
108
+ "last 2 versions",
109
+ "not dead",
110
+ "not ie 11"
111
+ ]
112
+ }
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="32" height="32" viewBox="0 0 32 32"><g><path d="M16,6.193552C12.580641,6.193552,9.8064489,8.9677448,9.8064489,12.387104C9.8064489,15.806449,12.580641,18.580641,16,18.580641C19.419361,18.580641,22.193602,15.806449,22.193602,12.387104C22.193602,8.9677448,19.419361,6.193552,16,6.193552C16,6.193552,16,6.193552,16,6.193552ZM16,15.483871C14.29032,15.483871,12.903233,14.096769,12.903233,12.387104C12.903233,10.677424,14.29032,9.2903204,16,9.2903204C17.7096,9.2903204,19.096802,10.677424,19.096802,12.387104C19.096802,14.096769,17.7096,15.483871,16,15.483871C16,15.483871,16,15.483871,16,15.483871ZM16,0C7.1612964,0,0,7.1612964,0,16C0,24.838722,7.1612964,32,16,32C24.838722,32,32,24.838722,32,16C32,7.1612964,24.838722,0,16,0C16,0,16,0,16,0ZM16,28.903204C12.793552,28.903204,9.8645124,27.722561,7.6064487,25.78064C8.5677443,24.296803,10.212896,23.290403,12.096769,23.232321C13.438704,23.645123,14.716129,23.851683,16,23.851683C17.28384,23.851683,18.561281,23.65168,19.903202,23.232321C21.787041,23.296803,23.43232,24.296803,24.3936,25.78064C22.135521,27.722561,19.206402,28.903204,16,28.903204C16,28.903204,16,28.903204,16,28.903204C16,28.903204,16,28.903204,16,28.903204ZM26.496801,23.47744C24.922562,21.451681,22.490402,20.128962,19.716162,20.128962C19.058081,20.128962,18.038723,20.748322,16,20.748322C13.967746,20.748322,12.941936,20.128962,12.283874,20.128962C9.5161285,20.128962,7.0838728,21.451681,5.5032325,23.47744C3.9935522,21.367682,3.0967681,18.787043,3.0967681,16C3.0967681,8.883873,8.883873,3.0967681,16,3.0967681C23.116163,3.0967681,28.903204,8.883873,28.903204,16C28.903204,18.787043,28.006401,21.367682,26.496801,23.47744C26.496801,23.47744,26.496801,23.47744,26.496801,23.47744Z" fill="#D15DFF" fill-opacity="1"/></g></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="32" height="32" viewBox="0 0 32 32"><g><path d="M16,6.193552C12.580641,6.193552,9.8064489,8.9677448,9.8064489,12.387104C9.8064489,15.806449,12.580641,18.580641,16,18.580641C19.419361,18.580641,22.193602,15.806449,22.193602,12.387104C22.193602,8.9677448,19.419361,6.193552,16,6.193552C16,6.193552,16,6.193552,16,6.193552ZM16,15.483871C14.29032,15.483871,12.903233,14.096769,12.903233,12.387104C12.903233,10.677424,14.29032,9.2903204,16,9.2903204C17.7096,9.2903204,19.096802,10.677424,19.096802,12.387104C19.096802,14.096769,17.7096,15.483871,16,15.483871C16,15.483871,16,15.483871,16,15.483871ZM16,0C7.1612964,0,0,7.1612964,0,16C0,24.838722,7.1612964,32,16,32C24.838722,32,32,24.838722,32,16C32,7.1612964,24.838722,0,16,0C16,0,16,0,16,0ZM16,28.903204C12.793552,28.903204,9.8645124,27.722561,7.6064487,25.78064C8.5677443,24.296803,10.212896,23.290403,12.096769,23.232321C13.438704,23.645123,14.716129,23.851683,16,23.851683C17.28384,23.851683,18.561281,23.65168,19.903202,23.232321C21.787041,23.296803,23.43232,24.296803,24.3936,25.78064C22.135521,27.722561,19.206402,28.903204,16,28.903204C16,28.903204,16,28.903204,16,28.903204C16,28.903204,16,28.903204,16,28.903204ZM26.496801,23.47744C24.922562,21.451681,22.490402,20.128962,19.716162,20.128962C19.058081,20.128962,18.038723,20.748322,16,20.748322C13.967746,20.748322,12.941936,20.128962,12.283874,20.128962C9.5161285,20.128962,7.0838728,21.451681,5.5032325,23.47744C3.9935522,21.367682,3.0967681,18.787043,3.0967681,16C3.0967681,8.883873,8.883873,3.0967681,16,3.0967681C23.116163,3.0967681,28.903204,8.883873,28.903204,16C28.903204,18.787043,28.006401,21.367682,26.496801,23.47744C26.496801,23.47744,26.496801,23.47744,26.496801,23.47744Z" fill="#D15DFF" fill-opacity="1"/></g></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="32" height="32" viewBox="0 0 32 32"><g><path d="M16,6.193552C12.580641,6.193552,9.8064489,8.9677448,9.8064489,12.387104C9.8064489,15.806449,12.580641,18.580641,16,18.580641C19.419361,18.580641,22.193602,15.806449,22.193602,12.387104C22.193602,8.9677448,19.419361,6.193552,16,6.193552C16,6.193552,16,6.193552,16,6.193552ZM16,15.483871C14.29032,15.483871,12.903233,14.096769,12.903233,12.387104C12.903233,10.677424,14.29032,9.2903204,16,9.2903204C17.7096,9.2903204,19.096802,10.677424,19.096802,12.387104C19.096802,14.096769,17.7096,15.483871,16,15.483871C16,15.483871,16,15.483871,16,15.483871ZM16,0C7.1612964,0,0,7.1612964,0,16C0,24.838722,7.1612964,32,16,32C24.838722,32,32,24.838722,32,16C32,7.1612964,24.838722,0,16,0C16,0,16,0,16,0ZM16,28.903204C12.793552,28.903204,9.8645124,27.722561,7.6064487,25.78064C8.5677443,24.296803,10.212896,23.290403,12.096769,23.232321C13.438704,23.645123,14.716129,23.851683,16,23.851683C17.28384,23.851683,18.561281,23.65168,19.903202,23.232321C21.787041,23.296803,23.43232,24.296803,24.3936,25.78064C22.135521,27.722561,19.206402,28.903204,16,28.903204C16,28.903204,16,28.903204,16,28.903204C16,28.903204,16,28.903204,16,28.903204ZM26.496801,23.47744C24.922562,21.451681,22.490402,20.128962,19.716162,20.128962C19.058081,20.128962,18.038723,20.748322,16,20.748322C13.967746,20.748322,12.941936,20.128962,12.283874,20.128962C9.5161285,20.128962,7.0838728,21.451681,5.5032325,23.47744C3.9935522,21.367682,3.0967681,18.787043,3.0967681,16C3.0967681,8.883873,8.883873,3.0967681,16,3.0967681C23.116163,3.0967681,28.903204,8.883873,28.903204,16C28.903204,18.787043,28.006401,21.367682,26.496801,23.47744C26.496801,23.47744,26.496801,23.47744,26.496801,23.47744Z" fill="#0057FE" fill-opacity="1"/></g></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="32" height="32" viewBox="0 0 32 32"><g><path d="M16,6.193552C12.580641,6.193552,9.8064489,8.9677448,9.8064489,12.387104C9.8064489,15.806449,12.580641,18.580641,16,18.580641C19.419361,18.580641,22.193602,15.806449,22.193602,12.387104C22.193602,8.9677448,19.419361,6.193552,16,6.193552C16,6.193552,16,6.193552,16,6.193552ZM16,15.483871C14.29032,15.483871,12.903233,14.096769,12.903233,12.387104C12.903233,10.677424,14.29032,9.2903204,16,9.2903204C17.7096,9.2903204,19.096802,10.677424,19.096802,12.387104C19.096802,14.096769,17.7096,15.483871,16,15.483871C16,15.483871,16,15.483871,16,15.483871ZM16,0C7.1612964,0,0,7.1612964,0,16C0,24.838722,7.1612964,32,16,32C24.838722,32,32,24.838722,32,16C32,7.1612964,24.838722,0,16,0C16,0,16,0,16,0ZM16,28.903204C12.793552,28.903204,9.8645124,27.722561,7.6064487,25.78064C8.5677443,24.296803,10.212896,23.290403,12.096769,23.232321C13.438704,23.645123,14.716129,23.851683,16,23.851683C17.28384,23.851683,18.561281,23.65168,19.903202,23.232321C21.787041,23.296803,23.43232,24.296803,24.3936,25.78064C22.135521,27.722561,19.206402,28.903204,16,28.903204C16,28.903204,16,28.903204,16,28.903204C16,28.903204,16,28.903204,16,28.903204ZM26.496801,23.47744C24.922562,21.451681,22.490402,20.128962,19.716162,20.128962C19.058081,20.128962,18.038723,20.748322,16,20.748322C13.967746,20.748322,12.941936,20.128962,12.283874,20.128962C9.5161285,20.128962,7.0838728,21.451681,5.5032325,23.47744C3.9935522,21.367682,3.0967681,18.787043,3.0967681,16C3.0967681,8.883873,8.883873,3.0967681,16,3.0967681C23.116163,3.0967681,28.903204,8.883873,28.903204,16C28.903204,18.787043,28.006401,21.367682,26.496801,23.47744C26.496801,23.47744,26.496801,23.47744,26.496801,23.47744Z" fill="#0057FE" fill-opacity="1"/></g></svg>
@@ -178,7 +178,7 @@ defineExpose({
178
178
  color: #5D5C5C;
179
179
  width: auto;
180
180
  min-width: 124px;
181
- max-width: 170px;
181
+ max-width: 140px;
182
182
  white-space: nowrap;
183
183
  overflow: hidden;
184
184
  margin-right: 0px;
@@ -1,10 +1,17 @@
1
1
  <script setup lang="ts">
2
2
  import XAddNativeForm from '@vue2-client/base-client/components/common/XAddNativeForm/XAddNativeForm.vue'
3
- import { ref, computed, useAttrs } from 'vue'
3
+ import { ref, computed, useAttrs, defineProps } from 'vue'
4
4
 
5
5
  const xAddNativeFormRef = ref()
6
6
 
7
7
  const attrs = useAttrs()
8
+ const props = defineProps({
9
+ // 是否启用 horizontal 模式的自定义配置
10
+ enableHorizontalCustom: {
11
+ type: Boolean,
12
+ default: false
13
+ }
14
+ })
8
15
  const wrapperClassObject = computed(() => {
9
16
  const a = attrs
10
17
  const classes = {}
@@ -14,8 +21,9 @@ const wrapperClassObject = computed(() => {
14
21
  'query-conditions',
15
22
  'padding-50',
16
23
  'label-text-horizontal',
17
- 'item-control-width90%',
18
- 'label-text-justify'
24
+ 'item-control-width90',
25
+ 'label-text-justify',
26
+ 'item-control-width700',
19
27
  ]
20
28
  for (const key of booleanStyleKeys) {
21
29
  const val = a[key]
@@ -45,6 +53,7 @@ defineExpose({
45
53
  <x-add-native-form
46
54
  ref="xAddNativeFormRef"
47
55
  v-bind="$attrs"
56
+ :enable-horizontal-custom="props.enableHorizontalCustom"
48
57
  v-on="$listeners"
49
58
  >
50
59
  <template v-for="(_, name) in $slots" #[name]="slotData">
@@ -158,6 +167,11 @@ defineExpose({
158
167
  width: 90%;
159
168
  }
160
169
  }
161
-
170
+ /**表单项700宽度 */
171
+ &.h-form-item-control-width700{
172
+ :deep(.ant-form-item-control-wrapper){
173
+ width: 700px;
174
+ }
175
+ }
162
176
  }
163
177
  </style>
@@ -1,120 +1,120 @@
1
- <script setup lang="ts">
2
- import XFormGroup from '@vue2-client/base-client/components/common/XFormGroup/XFormGroup.vue'
3
- import { ref, onMounted, getCurrentInstance, watch } from 'vue'
4
- import { getConfigByNameAsync } from '@vue2-client/services/api/common'
5
-
6
- // 与 HTab 保持一致的样式开关
7
- defineProps({
8
- hasTopMargin: { type: Boolean, default: true },
9
- // 隐藏左侧索引栏(样式控制)
10
- leftHide: { type: Boolean, default: false }
11
- })
12
-
13
- // 内部 XFormGroup 实例引用
14
- const xFormGroupRef = ref()
15
-
16
- // 暴露方法:对齐 XFormGroup 的外部可用方法
17
- defineExpose({
18
- getXFormGroupInstance: () => xFormGroupRef.value,
19
- init: (params) => xFormGroupRef.value && xFormGroupRef.value.init && xFormGroupRef.value.init(params),
20
- asyncSubmit: () => xFormGroupRef.value && xFormGroupRef.value.asyncSubmit && xFormGroupRef.value.asyncSubmit(),
21
- getNativeFormRef: (group) => xFormGroupRef.value && xFormGroupRef.value.getNativeFormRef && xFormGroupRef.value.getNativeFormRef(group),
22
- getNativeForm: (group) => xFormGroupRef.value && xFormGroupRef.value.getNativeForm && xFormGroupRef.value.getNativeForm(group)
23
- })
24
-
25
- // 自动初始化:当外部传入 queryParamsName 时,自动加载配置并调用 XFormGroup.init
26
- const vm = getCurrentInstance()
27
- const autoInit = async () => {
28
- try {
29
- const a = vm?.proxy?.$attrs || {}
30
- const queryParamsName = a.queryParamsName
31
- if (!queryParamsName) return
32
- const serviceName = a.serviceName || process.env.VUE_APP_SYSTEM_NAME
33
- const env = a.env || 'prod'
34
- const showLeftTab = a.showLeftTab || false
35
- const businessType = a.businessType || '新增'
36
- const modifyModelData = a.modifyModelData || {}
37
-
38
- const isDev = env === 'dev'
39
- const res = await getConfigByNameAsync(queryParamsName, serviceName, isDev)
40
-
41
- const payload = {
42
- ...res,
43
- serviceName,
44
- env,
45
- showLeftTab,
46
- businessType,
47
- modifyModelData
48
- }
49
- if (xFormGroupRef.value && typeof xFormGroupRef.value.init === 'function') {
50
- xFormGroupRef.value.init(payload)
51
- } else {
52
- // do nothing
53
- }
54
- } catch (e) {
55
- // swallow
56
- }
57
- }
58
-
59
- onMounted(() => {
60
- autoInit()
61
- })
62
-
63
- // 当关键 attrs 变更时,重新初始化
64
- watch(() => [vm?.proxy?.$attrs?.queryParamsName, vm?.proxy?.$attrs?.serviceName, vm?.proxy?.$attrs?.env], () => {
65
- autoInit()
66
- })
67
- </script>
68
-
69
- <template>
70
- <div
71
- class="h-form-group-wrapper"
72
- :class="{
73
- 'h-form-group-has-top-margin': hasTopMargin,
74
- 'left-hide': leftHide
75
- }"
76
- >
77
- <x-form-group
78
- ref="xFormGroupRef"
79
- v-bind="$attrs"
80
- v-on="$listeners"
81
- >
82
- <template v-for="(_, name) in $slots" #[name]="slotData">
83
- <slot :name="name" v-bind="slotData" />
84
- </template>
85
- </x-form-group>
86
- </div>
87
-
88
- </template>
89
-
90
- <style scoped lang="less">
91
- .h-form-group-wrapper {
92
- // XFormGroup 自身容器
93
- :deep(.XFormGroupClass) {
94
- height: 100%;
95
-
96
- .heigth100 { height: 100%; }
97
- :deep(.ant-spin-container) { height: 100%; }
98
-
99
- // 默认分组标题样式,参考 XFormGroup
100
- .xFormGroupTitle {
101
- font-size: 15px;
102
- font-weight: bold;
103
- color: @primary-color;
104
- }
105
-
106
- .formGroupContext {
107
- height: 100%;
108
- overflow-y: auto;
109
- }
110
- }
111
- // 隐藏左侧(索引栏)
112
- &.left-hide {
113
- :deep(.ant-spin-container) {
114
- .ant-row {
115
- .ant-col-3 { display: none; }
116
- }
117
- }
118
- }
119
- }
120
- </style>
1
+ <script setup lang="ts">
2
+ import XFormGroup from '@vue2-client/base-client/components/common/XFormGroup/XFormGroup.vue'
3
+ import { ref, onMounted, getCurrentInstance, watch } from 'vue'
4
+ import { getConfigByNameAsync } from '@vue2-client/services/api/common'
5
+
6
+ // 与 HTab 保持一致的样式开关
7
+ defineProps({
8
+ hasTopMargin: { type: Boolean, default: true },
9
+ // 隐藏左侧索引栏(样式控制)
10
+ leftHide: { type: Boolean, default: false }
11
+ })
12
+
13
+ // 内部 XFormGroup 实例引用
14
+ const xFormGroupRef = ref()
15
+
16
+ // 暴露方法:对齐 XFormGroup 的外部可用方法
17
+ defineExpose({
18
+ getXFormGroupInstance: () => xFormGroupRef.value,
19
+ init: (params) => xFormGroupRef.value && xFormGroupRef.value.init && xFormGroupRef.value.init(params),
20
+ asyncSubmit: () => xFormGroupRef.value && xFormGroupRef.value.asyncSubmit && xFormGroupRef.value.asyncSubmit(),
21
+ getNativeFormRef: (group) => xFormGroupRef.value && xFormGroupRef.value.getNativeFormRef && xFormGroupRef.value.getNativeFormRef(group),
22
+ getNativeForm: (group) => xFormGroupRef.value && xFormGroupRef.value.getNativeForm && xFormGroupRef.value.getNativeForm(group)
23
+ })
24
+
25
+ // 自动初始化:当外部传入 queryParamsName 时,自动加载配置并调用 XFormGroup.init
26
+ const vm = getCurrentInstance()
27
+ const autoInit = async () => {
28
+ try {
29
+ const a = vm?.proxy?.$attrs || {}
30
+ const queryParamsName = a.queryParamsName
31
+ if (!queryParamsName) return
32
+ const serviceName = a.serviceName || process.env.VUE_APP_SYSTEM_NAME
33
+ const env = a.env || 'prod'
34
+ const showLeftTab = a.showLeftTab || false
35
+ const businessType = a.businessType || '新增'
36
+ const modifyModelData = a.modifyModelData || {}
37
+
38
+ const isDev = env === 'dev'
39
+ const res = await getConfigByNameAsync(queryParamsName, serviceName, isDev)
40
+
41
+ const payload = {
42
+ ...res,
43
+ serviceName,
44
+ env,
45
+ showLeftTab,
46
+ businessType,
47
+ modifyModelData
48
+ }
49
+ if (xFormGroupRef.value && typeof xFormGroupRef.value.init === 'function') {
50
+ xFormGroupRef.value.init(payload)
51
+ } else {
52
+ // do nothing
53
+ }
54
+ } catch (e) {
55
+ // swallow
56
+ }
57
+ }
58
+
59
+ onMounted(() => {
60
+ autoInit()
61
+ })
62
+
63
+ // 当关键 attrs 变更时,重新初始化
64
+ watch(() => [vm?.proxy?.$attrs?.queryParamsName, vm?.proxy?.$attrs?.serviceName, vm?.proxy?.$attrs?.env], () => {
65
+ autoInit()
66
+ })
67
+ </script>
68
+
69
+ <template>
70
+ <div
71
+ class="h-form-group-wrapper"
72
+ :class="{
73
+ 'h-form-group-has-top-margin': hasTopMargin,
74
+ 'left-hide': leftHide
75
+ }"
76
+ >
77
+ <x-form-group
78
+ ref="xFormGroupRef"
79
+ v-bind="$attrs"
80
+ v-on="$listeners"
81
+ >
82
+ <template v-for="(_, name) in $slots" #[name]="slotData">
83
+ <slot :name="name" v-bind="slotData" />
84
+ </template>
85
+ </x-form-group>
86
+ </div>
87
+
88
+ </template>
89
+
90
+ <style scoped lang="less">
91
+ .h-form-group-wrapper {
92
+ // XFormGroup 自身容器
93
+ :deep(.XFormGroupClass) {
94
+ height: 100%;
95
+
96
+ .heigth100 { height: 100%; }
97
+ :deep(.ant-spin-container) { height: 100%; }
98
+
99
+ // 默认分组标题样式,参考 XFormGroup
100
+ .xFormGroupTitle {
101
+ font-size: 15px;
102
+ font-weight: bold;
103
+ color: @primary-color;
104
+ }
105
+
106
+ .formGroupContext {
107
+ height: 100%;
108
+ overflow-y: auto;
109
+ }
110
+ }
111
+ // 隐藏左侧(索引栏)
112
+ &.left-hide {
113
+ :deep(.ant-spin-container) {
114
+ .ant-row {
115
+ .ant-col-3 { display: none; }
116
+ }
117
+ }
118
+ }
119
+ }
120
+ </style>
@@ -1,3 +1,3 @@
1
- import HFormGroup from './HFormGroup.vue'
2
-
3
- export default HFormGroup
1
+ import HFormGroup from './HFormGroup.vue'
2
+
3
+ export default HFormGroup