提交 33670a6b 编写于 作者: ibizdev's avatar ibizdev

lxm1993 发布系统代码 [TrainSys,网页端]

上级 0250ea3d
...@@ -13,13 +13,13 @@ ...@@ -13,13 +13,13 @@
"dependencies": { "dependencies": {
"@floating-ui/dom": "^1.0.11", "@floating-ui/dom": "^1.0.11",
"@ibiz-template/command": "^0.0.1-beta.50", "@ibiz-template/command": "^0.0.1-beta.50",
"@ibiz-template/controller": "^0.0.1-beta.59", "@ibiz-template/controller": "^0.0.1-beta.60",
"@ibiz-template/core": "^0.0.1-beta.57", "@ibiz-template/core": "^0.0.1-beta.57",
"@ibiz-template/model": "^0.0.1-beta.59", "@ibiz-template/model": "^0.0.1-beta.60",
"@ibiz-template/runtime": "^0.0.1-beta.59", "@ibiz-template/runtime": "^0.0.1-beta.60",
"@ibiz-template/service": "^0.0.1-beta.59", "@ibiz-template/service": "^0.0.1-beta.60",
"@ibiz-template/theme": "^0.0.1-beta.59", "@ibiz-template/theme": "^0.0.1-beta.59",
"@ibiz-template/vue-util": "^0.0.1-beta.59", "@ibiz-template/vue-util": "^0.0.1-beta.60",
"@ibiz/dynamic-model-api": "^2.1.17", "@ibiz/dynamic-model-api": "^2.1.17",
"@riophae/vue-treeselect": "^0.4.0", "@riophae/vue-treeselect": "^0.4.0",
"dayjs": "^1.11.7", "dayjs": "^1.11.7",
......
...@@ -8,26 +8,26 @@ dependencies: ...@@ -8,26 +8,26 @@ dependencies:
specifier: ^0.0.1-beta.50 specifier: ^0.0.1-beta.50
version: 0.0.1-beta.50 version: 0.0.1-beta.50
'@ibiz-template/controller': '@ibiz-template/controller':
specifier: ^0.0.1-beta.59 specifier: ^0.0.1-beta.60
version: 0.0.1-beta.59(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.59)(@ibiz-template/runtime@0.0.1-beta.59)(@ibiz-template/service@0.0.1-beta.59)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8) version: 0.0.1-beta.60(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.60)(@ibiz-template/runtime@0.0.1-beta.60)(@ibiz-template/service@0.0.1-beta.60)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8)
'@ibiz-template/core': '@ibiz-template/core':
specifier: ^0.0.1-beta.57 specifier: ^0.0.1-beta.57
version: 0.0.1-beta.57(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0) version: 0.0.1-beta.57(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': '@ibiz-template/model':
specifier: ^0.0.1-beta.59 specifier: ^0.0.1-beta.60
version: 0.0.1-beta.59(@ibiz/dynamic-model-api@2.1.17)(lodash-es@4.17.21)(qx-util@0.4.8) version: 0.0.1-beta.60(@ibiz/dynamic-model-api@2.1.17)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/runtime': '@ibiz-template/runtime':
specifier: ^0.0.1-beta.59 specifier: ^0.0.1-beta.60
version: 0.0.1-beta.59(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.59)(@ibiz-template/service@0.0.1-beta.59)(qx-util@0.4.8) version: 0.0.1-beta.60(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.60)(@ibiz-template/service@0.0.1-beta.60)(qx-util@0.4.8)
'@ibiz-template/service': '@ibiz-template/service':
specifier: ^0.0.1-beta.59 specifier: ^0.0.1-beta.60
version: 0.0.1-beta.59(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.59)(qx-util@0.4.8)(ramda@0.28.0) version: 0.0.1-beta.60(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.60)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/theme': '@ibiz-template/theme':
specifier: ^0.0.1-beta.59 specifier: ^0.0.1-beta.59
version: 0.0.1-beta.59 version: 0.0.1-beta.59
'@ibiz-template/vue-util': '@ibiz-template/vue-util':
specifier: ^0.0.1-beta.59 specifier: ^0.0.1-beta.60
version: 0.0.1-beta.59(@ibiz-template/controller@0.0.1-beta.59)(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.59)(@ibiz-template/service@0.0.1-beta.59)(qs@6.11.1)(qx-util@0.4.8)(ramda@0.28.0)(vue-router@3.6.5)(vue@2.7.14) version: 0.0.1-beta.60(@ibiz-template/controller@0.0.1-beta.60)(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.60)(@ibiz-template/service@0.0.1-beta.60)(qs@6.11.1)(qx-util@0.4.8)(ramda@0.28.0)(vue-router@3.6.5)(vue@2.7.14)
'@ibiz/dynamic-model-api': '@ibiz/dynamic-model-api':
specifier: ^2.1.17 specifier: ^2.1.17
version: 2.1.17(qx-util@0.4.8) version: 2.1.17(qx-util@0.4.8)
...@@ -951,8 +951,8 @@ packages: ...@@ -951,8 +951,8 @@ packages:
qx-util: 0.4.8 qx-util: 0.4.8
dev: false dev: false
/@ibiz-template/controller@0.0.1-beta.59(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.59)(@ibiz-template/runtime@0.0.1-beta.59)(@ibiz-template/service@0.0.1-beta.59)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8): /@ibiz-template/controller@0.0.1-beta.60(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.60)(@ibiz-template/runtime@0.0.1-beta.60)(@ibiz-template/service@0.0.1-beta.60)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8):
resolution: {integrity: sha512-pCusra68wgAD1PU5gu77UmAok/Sz2/B06ea9/DxhzXqdJDx8UEiyZsXwEKo6xtXq0BEH56esiw7qavepsfWFrA==} resolution: {integrity: sha512-c3w+4AXkRSE7SBRkZoXVeqbyWxhFdVB6TknI27HzTHICF8X97WRG2OPblWc7z98m/UQKC+MMnm9XP6RFUfgrIQ==}
peerDependencies: peerDependencies:
'@ibiz-template/core': ^0.0.1-beta.30 '@ibiz-template/core': ^0.0.1-beta.30
'@ibiz-template/model': ^0.0.1-beta.30 '@ibiz-template/model': ^0.0.1-beta.30
...@@ -963,9 +963,9 @@ packages: ...@@ -963,9 +963,9 @@ packages:
qx-util: ^0.4.8 qx-util: ^0.4.8
dependencies: dependencies:
'@ibiz-template/core': 0.0.1-beta.57(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0) '@ibiz-template/core': 0.0.1-beta.57(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.59(@ibiz/dynamic-model-api@2.1.17)(lodash-es@4.17.21)(qx-util@0.4.8) '@ibiz-template/model': 0.0.1-beta.60(@ibiz/dynamic-model-api@2.1.17)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/runtime': 0.0.1-beta.59(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.59)(@ibiz-template/service@0.0.1-beta.59)(qx-util@0.4.8) '@ibiz-template/runtime': 0.0.1-beta.60(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.60)(@ibiz-template/service@0.0.1-beta.60)(qx-util@0.4.8)
'@ibiz-template/service': 0.0.1-beta.59(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.59)(qx-util@0.4.8)(ramda@0.28.0) '@ibiz-template/service': 0.0.1-beta.60(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.60)(qx-util@0.4.8)(ramda@0.28.0)
async-validator: 4.2.5 async-validator: 4.2.5
dayjs: 1.11.7 dayjs: 1.11.7
lodash-es: 4.17.21 lodash-es: 4.17.21
...@@ -991,8 +991,8 @@ packages: ...@@ -991,8 +991,8 @@ packages:
- debug - debug
dev: false dev: false
/@ibiz-template/model@0.0.1-beta.59(@ibiz/dynamic-model-api@2.1.17)(lodash-es@4.17.21)(qx-util@0.4.8): /@ibiz-template/model@0.0.1-beta.60(@ibiz/dynamic-model-api@2.1.17)(lodash-es@4.17.21)(qx-util@0.4.8):
resolution: {integrity: sha512-1y32GzKZT9zcgK0eKzerZ21SIcoOEQJcMgiorKniKCzaFsZ6A/BNgtYrWp44SpxZ+pAmpOwfXMH0hHLyx8O5/g==} resolution: {integrity: sha512-XPhGk79d7bX+vSyNaofWf1HfyJCK+asqMGxvuHz1NcCtsSzPQ/misQhgXthNbsufK1bS+fghWAIoYYycru4Dsg==}
peerDependencies: peerDependencies:
'@ibiz/dynamic-model-api': ^2.1.17 '@ibiz/dynamic-model-api': ^2.1.17
lodash-es: ^4.17.21 lodash-es: ^4.17.21
...@@ -1004,8 +1004,8 @@ packages: ...@@ -1004,8 +1004,8 @@ packages:
qx-util: 0.4.8 qx-util: 0.4.8
dev: false dev: false
/@ibiz-template/runtime@0.0.1-beta.59(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.59)(@ibiz-template/service@0.0.1-beta.59)(qx-util@0.4.8): /@ibiz-template/runtime@0.0.1-beta.60(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.60)(@ibiz-template/service@0.0.1-beta.60)(qx-util@0.4.8):
resolution: {integrity: sha512-y0L4iAnsaaxlP7hl9qDsFC+Vd7R+Qw8jfVt4wtEBRjxItUbnAAmchWYy01x4UJu8fZBSyVLFxb4/XoZJ5ZMgsg==} resolution: {integrity: sha512-I4UQVXoosVvsARy5vMVFOLEXgwVZGPTy3OKqVkAyIB1giCokMnScIo7kHFBuvHDSc3mQYdKcr1X555pbiiiA0g==}
peerDependencies: peerDependencies:
'@ibiz-template/core': ^0.0.1-beta.30 '@ibiz-template/core': ^0.0.1-beta.30
'@ibiz-template/model': ^0.0.1-beta.30 '@ibiz-template/model': ^0.0.1-beta.30
...@@ -1014,14 +1014,14 @@ packages: ...@@ -1014,14 +1014,14 @@ packages:
dependencies: dependencies:
'@ibiz-template/command': 0.0.1-beta.50 '@ibiz-template/command': 0.0.1-beta.50
'@ibiz-template/core': 0.0.1-beta.57(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0) '@ibiz-template/core': 0.0.1-beta.57(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.59(@ibiz/dynamic-model-api@2.1.17)(lodash-es@4.17.21)(qx-util@0.4.8) '@ibiz-template/model': 0.0.1-beta.60(@ibiz/dynamic-model-api@2.1.17)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/service': 0.0.1-beta.59(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.59)(qx-util@0.4.8)(ramda@0.28.0) '@ibiz-template/service': 0.0.1-beta.60(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.60)(qx-util@0.4.8)(ramda@0.28.0)
qs: 6.11.1 qs: 6.11.1
qx-util: 0.4.8 qx-util: 0.4.8
dev: false dev: false
/@ibiz-template/service@0.0.1-beta.59(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.59)(qx-util@0.4.8)(ramda@0.28.0): /@ibiz-template/service@0.0.1-beta.60(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.60)(qx-util@0.4.8)(ramda@0.28.0):
resolution: {integrity: sha512-bCUvGcGbaub/h8f0R3JAO5IrpvsFQjMW5VNGEqW5v61QUOI9nB5WH3oGj/AxQwMhw7bdqBoPFLhy2cqAkORB3A==} resolution: {integrity: sha512-Ct0qTscF6YwY2JsEEemli9ArWYVdB6lFgX2Eg98PysHHYR1vOA7h7ecLAevGJcBritQyjE/PERLEH2g+c6GpCA==}
peerDependencies: peerDependencies:
'@ibiz-template/core': ^0.0.1-beta.30 '@ibiz-template/core': ^0.0.1-beta.30
'@ibiz-template/model': ^0.0.1-beta.30 '@ibiz-template/model': ^0.0.1-beta.30
...@@ -1029,7 +1029,7 @@ packages: ...@@ -1029,7 +1029,7 @@ packages:
ramda: ^0.28.0 ramda: ^0.28.0
dependencies: dependencies:
'@ibiz-template/core': 0.0.1-beta.57(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0) '@ibiz-template/core': 0.0.1-beta.57(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.59(@ibiz/dynamic-model-api@2.1.17)(lodash-es@4.17.21)(qx-util@0.4.8) '@ibiz-template/model': 0.0.1-beta.60(@ibiz/dynamic-model-api@2.1.17)(lodash-es@4.17.21)(qx-util@0.4.8)
qx-util: 0.4.8 qx-util: 0.4.8
ramda: 0.28.0 ramda: 0.28.0
dev: false dev: false
...@@ -1038,8 +1038,8 @@ packages: ...@@ -1038,8 +1038,8 @@ packages:
resolution: {integrity: sha512-XfBMhlL+Fh4jFZL9Zc05Sev2wtrwlSLURYYL8i22yzQgxa28zUZU2v+bFGelvgaF78v7L5hoUs0ysDnBPN2GKg==} resolution: {integrity: sha512-XfBMhlL+Fh4jFZL9Zc05Sev2wtrwlSLURYYL8i22yzQgxa28zUZU2v+bFGelvgaF78v7L5hoUs0ysDnBPN2GKg==}
dev: false dev: false
/@ibiz-template/vue-util@0.0.1-beta.59(@ibiz-template/controller@0.0.1-beta.59)(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.59)(@ibiz-template/service@0.0.1-beta.59)(qs@6.11.1)(qx-util@0.4.8)(ramda@0.28.0)(vue-router@3.6.5)(vue@2.7.14): /@ibiz-template/vue-util@0.0.1-beta.60(@ibiz-template/controller@0.0.1-beta.60)(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.60)(@ibiz-template/service@0.0.1-beta.60)(qs@6.11.1)(qx-util@0.4.8)(ramda@0.28.0)(vue-router@3.6.5)(vue@2.7.14):
resolution: {integrity: sha512-62/qDn9X+a7qu89OcrRjmA+CYVcSx8PklPLWzE7NqShmgWl1RCGaQXgtNtNIsk+3qlfELtT0r+hm8bc//0JBSA==} resolution: {integrity: sha512-jqe62PPu95+J5nRir9ULNSqkNqXyjgUAxHSI50tZGw7y40VlVz8VcXm9thUnQvj2CX05waoaO7LRi79H2dFn5Q==}
peerDependencies: peerDependencies:
'@ibiz-template/controller': ^0.0.1-beta.30 '@ibiz-template/controller': ^0.0.1-beta.30
'@ibiz-template/core': ^0.0.1-beta.30 '@ibiz-template/core': ^0.0.1-beta.30
...@@ -1051,10 +1051,10 @@ packages: ...@@ -1051,10 +1051,10 @@ packages:
vue: ^2.7.14 vue: ^2.7.14
vue-router: ^3.6.5 vue-router: ^3.6.5
dependencies: dependencies:
'@ibiz-template/controller': 0.0.1-beta.59(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.59)(@ibiz-template/runtime@0.0.1-beta.59)(@ibiz-template/service@0.0.1-beta.59)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8) '@ibiz-template/controller': 0.0.1-beta.60(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.60)(@ibiz-template/runtime@0.0.1-beta.60)(@ibiz-template/service@0.0.1-beta.60)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8)
'@ibiz-template/core': 0.0.1-beta.57(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0) '@ibiz-template/core': 0.0.1-beta.57(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.59(@ibiz/dynamic-model-api@2.1.17)(lodash-es@4.17.21)(qx-util@0.4.8) '@ibiz-template/model': 0.0.1-beta.60(@ibiz/dynamic-model-api@2.1.17)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/service': 0.0.1-beta.59(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.59)(qx-util@0.4.8)(ramda@0.28.0) '@ibiz-template/service': 0.0.1-beta.60(@ibiz-template/core@0.0.1-beta.57)(@ibiz-template/model@0.0.1-beta.60)(qx-util@0.4.8)(ramda@0.28.0)
qs: 6.11.1 qs: 6.11.1
qx-util: 0.4.8 qx-util: 0.4.8
ramda: 0.28.0 ramda: 0.28.0
......
System.register(["@ibiz-template/model","@ibiz-template/runtime"],(function(e,t){"use strict";var r,i,o;return{setters:[e=>{r=e.ControlType,i=e.ViewType},e=>{o=e.PluginStaticResource}],execute:function(){const n=new o(t.meta.url);class l{component="ChartControl"}class s{component="ChartView"}e("default",{mateUrl:t.meta.url,install(e){n.loadStyle(["/style.css"]),e.component("ChartControl",(()=>t.import("./chart-control.legacy.js"))),ibiz.register.control.register(r.CHART,new l),e.component("ChartView",(()=>t.import("./chart-view.legacy.js"))),ibiz.register.view.register(i.DE_CHART_VIEW,new s)}})}}})); !function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,i(n.key),n)}}function r(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e,r){return(e=i(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function i(e){var r=function(e,r){if("object"!==t(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,r||"default");if("object"!==t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"===t(r)?r:String(r)}System.register(["@ibiz-template/model","@ibiz-template/runtime"],(function(t,e){"use strict";var i,u,c;return{setters:[function(t){i=t.ControlType,u=t.ViewType},function(t){c=t.PluginStaticResource}],execute:function(){var l=new c(e.meta.url),a=r((function t(){n(this,t),o(this,"component","ChartControl")})),f=r((function t(){n(this,t),o(this,"component","ChartView")}));t("default",{mateUrl:e.meta.url,install:function(t){l.loadStyle(["/style.css"]),t.component("ChartControl",(function(){return e.import("./chart-control.legacy.js")})),ibiz.register.control.register(i.CHART,new a),t.component("ChartView",(function(){return e.import("./chart-view.legacy.js")})),ibiz.register.view.register(u.DE_CHART_VIEW,new f)}})}}}))}();
...@@ -27,13 +27,13 @@ ...@@ -27,13 +27,13 @@
], ],
"dependencies": { "dependencies": {
"@ibiz-template/command": "^0.0.1-beta.50", "@ibiz-template/command": "^0.0.1-beta.50",
"@ibiz-template/controller": "^0.0.1-beta.56", "@ibiz-template/controller": "^0.0.1-beta.59",
"@ibiz-template/core": "^0.0.1-beta.56", "@ibiz-template/core": "^0.0.1-beta.57",
"@ibiz-template/model": "^0.0.1-beta.55", "@ibiz-template/model": "^0.0.1-beta.59",
"@ibiz-template/runtime": "^0.0.1-beta.56", "@ibiz-template/runtime": "^0.0.1-beta.59",
"@ibiz-template/service": "^0.0.1-beta.56", "@ibiz-template/service": "^0.0.1-beta.59",
"@ibiz-template/theme": "^0.0.1-beta.54", "@ibiz-template/theme": "^0.0.1-beta.59",
"@ibiz-template/vue-util": "^0.0.1-beta.56", "@ibiz-template/vue-util": "^0.0.1-beta.59",
"@ibiz/dynamic-model-api": "^2.1.17", "@ibiz/dynamic-model-api": "^2.1.17",
"async-validator": "^4.2.5", "async-validator": "^4.2.5",
"axios": "^1.3.5", "axios": "^1.3.5",
...@@ -50,13 +50,13 @@ ...@@ -50,13 +50,13 @@
}, },
"peerDependencies": { "peerDependencies": {
"@ibiz-template/command": "^0.0.1-beta.50", "@ibiz-template/command": "^0.0.1-beta.50",
"@ibiz-template/controller": "^0.0.1-beta.55", "@ibiz-template/controller": "^0.0.1-beta.59",
"@ibiz-template/core": "^0.0.1-beta.51", "@ibiz-template/core": "^0.0.1-beta.57",
"@ibiz-template/model": "^0.0.1-beta.55", "@ibiz-template/model": "^0.0.1-beta.59",
"@ibiz-template/runtime": "^0.0.1-beta.55", "@ibiz-template/runtime": "^0.0.1-beta.59",
"@ibiz-template/service": "^0.0.1-beta.55", "@ibiz-template/service": "^0.0.1-beta.59",
"@ibiz-template/theme": "^0.0.1-beta.54", "@ibiz-template/theme": "^0.0.1-beta.59",
"@ibiz-template/vue-util": "^0.0.1-beta.55", "@ibiz-template/vue-util": "^0.0.1-beta.59",
"@ibiz/dynamic-model-api": "^2.1.17", "@ibiz/dynamic-model-api": "^2.1.17",
"async-validator": "^4.2.5", "async-validator": "^4.2.5",
"axios": "^1.3.4", "axios": "^1.3.4",
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
}, },
"devDependencies": { "devDependencies": {
"@types/ramda": "^0.28.23", "@types/ramda": "^0.28.23",
"@qx-chitanda/vite-plugin-lib-legacy": "^4.0.2", "@qx-chitanda/vite-plugin-lib-legacy": "^4.1.0",
"@vitejs/plugin-vue2": "^2.2.0", "@vitejs/plugin-vue2": "^2.2.0",
"@vitejs/plugin-vue2-jsx": "^1.1.0", "@vitejs/plugin-vue2-jsx": "^1.1.0",
"eslint": "^8.37.0", "eslint": "^8.37.0",
......
import { FormGroupPanelController } from '@ibiz-template/controller'; import { FormGroupPanelController } from '@ibiz-template/controller';
import { FormGroupPanelModel } from '@ibiz-template/model'; import { FormGroupPanelModel } from '@ibiz-template/model';
import { useNamespace } from '@ibiz-template/vue-util'; import { useNamespace } from '@ibiz-template/vue-util';
import { defineComponent, ref, VNode } from 'vue'; import { computed, defineComponent, ref, VNode } from 'vue';
import '@ibiz-template/theme/style/components/widgets/form/form-group.scss'; import '@ibiz-template/theme/style/components/widgets/form/form-group.scss';
export const FormGroupPanel = defineComponent({ export const FormGroupPanel = defineComponent({
...@@ -24,7 +24,16 @@ export const FormGroupPanel = defineComponent({ ...@@ -24,7 +24,16 @@ export const FormGroupPanel = defineComponent({
const changeCollapse = () => { const changeCollapse = () => {
isCollapse.value = !isCollapse.value; isCollapse.value = !isCollapse.value;
}; };
return { ns, isCollapse, changeCollapse };
const captionText = computed(() => {
const { captionItemName } = props.modelData;
if (captionItemName) {
return props.controller.data[captionItemName];
}
return props.modelData.source.caption;
});
return { ns, isCollapse, captionText, changeCollapse };
}, },
render() { render() {
if (!this.controller.visible) { if (!this.controller.visible) {
...@@ -69,9 +78,7 @@ export const FormGroupPanel = defineComponent({ ...@@ -69,9 +78,7 @@ export const FormGroupPanel = defineComponent({
header = ( header = (
<div class={[this.ns.b('header')]} onClick={this.changeCollapse}> <div class={[this.ns.b('header')]} onClick={this.changeCollapse}>
<div class={[this.ns.be('header', 'left')]}> <div class={[this.ns.be('header', 'left')]}>
<div class={[this.ns.e('caption')]}> <div class={[this.ns.e('caption')]}>{this.captionText}</div>
{this.modelData.source.caption}
</div>
</div> </div>
<div class={[this.ns.be('header', 'right')]}> <div class={[this.ns.be('header', 'right')]}>
<div class={[this.ns.e('toolbar')]}>{this.$slots.toolbar}</div> <div class={[this.ns.e('toolbar')]}>{this.$slots.toolbar}</div>
......
import { GridModel } from '@ibiz-template/model'; import { GridModel } from '@ibiz-template/model';
import { useGridController, useNamespace } from '@ibiz-template/vue-util'; import { useGridController, useNamespace } from '@ibiz-template/vue-util';
import { defineComponent, getCurrentInstance, h, PropType } from 'vue'; import {
defineComponent,
getCurrentInstance,
h,
onMounted,
PropType,
Ref,
ref,
} from 'vue';
import { AppGridPagination } from '@/components/common'; import { AppGridPagination } from '@/components/common';
import { import {
useAppGridPagination, useAppGridPagination,
...@@ -55,6 +63,33 @@ export const GridControl = defineComponent({ ...@@ -55,6 +63,33 @@ export const GridControl = defineComponent({
onRowClick(data); onRowClick(data);
}; };
const tableHeight = ref(0);
const gridRef: Ref<HTMLElement | null> = ref(null);
const girdPaginationRef: Ref<InstanceType<
typeof AppGridPagination
> | null> = ref(null);
onMounted(() => {
setTimeout(() => {
// 计算表格高度(固定头部)
if (gridRef.value) {
if (c.model.source.enablePagingBar && girdPaginationRef.value) {
const gridPage = girdPaginationRef.value.$el as HTMLElement;
const gridPageHeight =
gridPage.offsetHeight +
parseFloat(window.getComputedStyle(gridPage).paddingTop);
tableHeight.value = gridRef.value.offsetHeight - gridPageHeight;
} else {
tableHeight.value = gridRef.value.offsetHeight;
}
}
// 如果模型配置了高度走配置的
if (c.model.source.height > 0) {
tableHeight.value = c.model.source.height;
}
}, 0);
});
return { return {
c, c,
ns, ns,
...@@ -66,6 +101,9 @@ export const GridControl = defineComponent({ ...@@ -66,6 +101,9 @@ export const GridControl = defineComponent({
onPageChange, onPageChange,
onPageSizeChange, onPageSizeChange,
onPageReset, onPageReset,
tableHeight,
gridRef,
girdPaginationRef,
}; };
}, },
render() { render() {
...@@ -98,6 +136,7 @@ export const GridControl = defineComponent({ ...@@ -98,6 +136,7 @@ export const GridControl = defineComponent({
return ( return (
<control-layout modelData={this.c.model}> <control-layout modelData={this.c.model}>
<div <div
ref='gridRef'
class={[ class={[
this.ns.b(), this.ns.b(),
this.ns.is('show-header', !this.c.model.source.hideHeader), this.ns.is('show-header', !this.c.model.source.hideHeader),
...@@ -106,7 +145,7 @@ export const GridControl = defineComponent({ ...@@ -106,7 +145,7 @@ export const GridControl = defineComponent({
> >
<i-table <i-table
ref={'grid'} ref={'grid'}
height={this.c.model.source.height} height={this.tableHeight}
class={this.ns.b('content')} class={this.ns.b('content')}
show-header={!this.c.model.source.hideHeader} show-header={!this.c.model.source.hideHeader}
highlight-row highlight-row
...@@ -120,6 +159,7 @@ export const GridControl = defineComponent({ ...@@ -120,6 +159,7 @@ export const GridControl = defineComponent({
></i-table> ></i-table>
{this.c.model.source.enablePagingBar && ( {this.c.model.source.enablePagingBar && (
<AppGridPagination <AppGridPagination
ref='girdPaginationRef'
total={this.c.total} total={this.c.total}
curPage={this.c.curPage} curPage={this.c.curPage}
size={this.c.size} size={this.c.size}
......
...@@ -651,10 +651,10 @@ ...@@ -651,10 +651,10 @@
dependencies: dependencies:
qx-util "^0.4.8" qx-util "^0.4.8"
"@ibiz-template/controller@^0.0.1-beta.59": "@ibiz-template/controller@^0.0.1-beta.60":
version "0.0.1-beta.59" version "0.0.1-beta.60"
resolved "http://npm.zhr.icu/@ibiz-template/controller/-/controller-0.0.1-beta.59.tgz#14d1ba2d4847f0ce7b4638496fa622e4c2181b82" resolved "http://npm.zhr.icu/@ibiz-template/controller/-/controller-0.0.1-beta.60.tgz#a3cd0de9dd9cc37638a96658e796c1a031cf1419"
integrity sha512-pCusra68wgAD1PU5gu77UmAok/Sz2/B06ea9/DxhzXqdJDx8UEiyZsXwEKo6xtXq0BEH56esiw7qavepsfWFrA== integrity sha512-c3w+4AXkRSE7SBRkZoXVeqbyWxhFdVB6TknI27HzTHICF8X97WRG2OPblWc7z98m/UQKC+MMnm9XP6RFUfgrIQ==
dependencies: dependencies:
async-validator "^4.2.5" async-validator "^4.2.5"
dayjs "^1.11.5" dayjs "^1.11.5"
...@@ -669,36 +669,36 @@ ...@@ -669,36 +669,36 @@
pluralize "^8.0.0" pluralize "^8.0.0"
qs "^6.11.0" qs "^6.11.0"
"@ibiz-template/model@^0.0.1-beta.59": "@ibiz-template/model@^0.0.1-beta.60":
version "0.0.1-beta.59" version "0.0.1-beta.60"
resolved "http://npm.zhr.icu/@ibiz-template/model/-/model-0.0.1-beta.59.tgz#f76ae21ab07b5a373fcfbb5b344feb4a19b6d3d0" resolved "http://npm.zhr.icu/@ibiz-template/model/-/model-0.0.1-beta.60.tgz#f9cef5d57273be26893e4c982e9c9ff5dea0824f"
integrity sha512-1y32GzKZT9zcgK0eKzerZ21SIcoOEQJcMgiorKniKCzaFsZ6A/BNgtYrWp44SpxZ+pAmpOwfXMH0hHLyx8O5/g== integrity sha512-XPhGk79d7bX+vSyNaofWf1HfyJCK+asqMGxvuHz1NcCtsSzPQ/misQhgXthNbsufK1bS+fghWAIoYYycru4Dsg==
dependencies: dependencies:
"@ibiz/dynamic-model-api" "^2.1.17" "@ibiz/dynamic-model-api" "^2.1.17"
pluralize "^8.0.0" pluralize "^8.0.0"
"@ibiz-template/runtime@^0.0.1-beta.59": "@ibiz-template/runtime@^0.0.1-beta.60":
version "0.0.1-beta.59" version "0.0.1-beta.60"
resolved "http://npm.zhr.icu/@ibiz-template/runtime/-/runtime-0.0.1-beta.59.tgz#0a2b9e4f132ccf8aefb7a125a1657b8f0fcb25a2" resolved "http://npm.zhr.icu/@ibiz-template/runtime/-/runtime-0.0.1-beta.60.tgz#687e01e34e57f982d7a889066541e4837b9b7c7b"
integrity sha512-y0L4iAnsaaxlP7hl9qDsFC+Vd7R+Qw8jfVt4wtEBRjxItUbnAAmchWYy01x4UJu8fZBSyVLFxb4/XoZJ5ZMgsg== integrity sha512-I4UQVXoosVvsARy5vMVFOLEXgwVZGPTy3OKqVkAyIB1giCokMnScIo7kHFBuvHDSc3mQYdKcr1X555pbiiiA0g==
dependencies: dependencies:
"@ibiz-template/command" "^0.0.1-beta.50" "@ibiz-template/command" "^0.0.1-beta.50"
qs "^6.11.0" qs "^6.11.0"
"@ibiz-template/service@^0.0.1-beta.59": "@ibiz-template/service@^0.0.1-beta.60":
version "0.0.1-beta.59" version "0.0.1-beta.60"
resolved "http://npm.zhr.icu/@ibiz-template/service/-/service-0.0.1-beta.59.tgz#472c78fc44aaf9a36c2db2357d1ab4a64dfa5a95" resolved "http://npm.zhr.icu/@ibiz-template/service/-/service-0.0.1-beta.60.tgz#c6f160f62e82fa610405cba37666a6a406a4f2ca"
integrity sha512-bCUvGcGbaub/h8f0R3JAO5IrpvsFQjMW5VNGEqW5v61QUOI9nB5WH3oGj/AxQwMhw7bdqBoPFLhy2cqAkORB3A== integrity sha512-Ct0qTscF6YwY2JsEEemli9ArWYVdB6lFgX2Eg98PysHHYR1vOA7h7ecLAevGJcBritQyjE/PERLEH2g+c6GpCA==
"@ibiz-template/theme@^0.0.1-beta.59": "@ibiz-template/theme@^0.0.1-beta.59":
version "0.0.1-beta.59" version "0.0.1-beta.59"
resolved "http://npm.zhr.icu/@ibiz-template/theme/-/theme-0.0.1-beta.59.tgz#f724e1a97f4ca6caee6c1f32751750b3fcd3583f" resolved "http://npm.zhr.icu/@ibiz-template/theme/-/theme-0.0.1-beta.59.tgz#f724e1a97f4ca6caee6c1f32751750b3fcd3583f"
integrity sha512-XfBMhlL+Fh4jFZL9Zc05Sev2wtrwlSLURYYL8i22yzQgxa28zUZU2v+bFGelvgaF78v7L5hoUs0ysDnBPN2GKg== integrity sha512-XfBMhlL+Fh4jFZL9Zc05Sev2wtrwlSLURYYL8i22yzQgxa28zUZU2v+bFGelvgaF78v7L5hoUs0ysDnBPN2GKg==
"@ibiz-template/vue-util@^0.0.1-beta.59": "@ibiz-template/vue-util@^0.0.1-beta.60":
version "0.0.1-beta.59" version "0.0.1-beta.60"
resolved "http://npm.zhr.icu/@ibiz-template/vue-util/-/vue-util-0.0.1-beta.59.tgz#c3b8b85323956dc28620b89081c43f06113eed57" resolved "http://npm.zhr.icu/@ibiz-template/vue-util/-/vue-util-0.0.1-beta.60.tgz#6463741d563d3f395d3d8881da3bacb55e6b62e5"
integrity sha512-62/qDn9X+a7qu89OcrRjmA+CYVcSx8PklPLWzE7NqShmgWl1RCGaQXgtNtNIsk+3qlfELtT0r+hm8bc//0JBSA== integrity sha512-jqe62PPu95+J5nRir9ULNSqkNqXyjgUAxHSI50tZGw7y40VlVz8VcXm9thUnQvj2CX05waoaO7LRi79H2dFn5Q==
"@ibiz/dynamic-model-api@^2.1.17": "@ibiz/dynamic-model-api@^2.1.17":
version "2.1.17" version "2.1.17"
......
...@@ -1224,16 +1224,16 @@ ...@@ -1224,16 +1224,16 @@
"mOSFilePath" : "pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2", "mOSFilePath" : "pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2",
"name" : "视图消息组2", "name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息", "name" : "视图消息2",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg2" "id" : "ViewMsg3"
} }
}, { }, {
"name" : "视图消息2", "name" : "视图消息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg3" "id" : "ViewMsg2"
} }
} ], } ],
"rTMOSFilePath" : "pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2" "rTMOSFilePath" : "pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2"
......
...@@ -2417,16 +2417,16 @@ ...@@ -2417,16 +2417,16 @@
"mOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2", "mOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2",
"name" : "视图消息组2", "name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息", "name" : "视图消息2",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg2" "id" : "ViewMsg3"
} }
}, { }, {
"name" : "视图消息2", "name" : "视图消息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg3" "id" : "ViewMsg2"
} }
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2" "rTMOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2"
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册