提交 05fa5995 编写于 作者: ibizdev's avatar ibizdev

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

上级 3e61df19
...@@ -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.64", "@ibiz-template/controller": "^0.0.1-beta.65",
"@ibiz-template/core": "^0.0.1-beta.64", "@ibiz-template/core": "^0.0.1-beta.65",
"@ibiz-template/model": "^0.0.1-beta.64", "@ibiz-template/model": "^0.0.1-beta.65",
"@ibiz-template/runtime": "^0.0.1-beta.64", "@ibiz-template/runtime": "^0.0.1-beta.65",
"@ibiz-template/service": "^0.0.1-beta.64", "@ibiz-template/service": "^0.0.1-beta.65",
"@ibiz-template/theme": "^0.0.1-beta.59", "@ibiz-template/theme": "^0.0.1-beta.65",
"@ibiz-template/vue-util": "^0.0.1-beta.64", "@ibiz-template/vue-util": "^0.0.1-beta.65",
"@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",
......
此差异已折叠。
set -e
git pull git pull
git add -A git add -A
git commit -m "build: 升级底包" git commit -m "build: 升级底包"
......
set -e
rm -rf node_modules rm -rf node_modules
yarn yarn
yarn add "@ibiz-template/vue-util@latest" "@ibiz-template/service@latest" "@ibiz-template/runtime@latest" "@ibiz-template/model@latest" "@ibiz-template/core@latest" "@ibiz-template/command@latest" "@ibiz-template/controller@latest" "@ibiz-template/theme@latest" yarn add "@ibiz-template/vue-util@latest" "@ibiz-template/service@latest" "@ibiz-template/runtime@latest" "@ibiz-template/model@latest" "@ibiz-template/core@latest" "@ibiz-template/command@latest" "@ibiz-template/controller@latest" "@ibiz-template/theme@latest"
......
...@@ -97,6 +97,10 @@ ...@@ -97,6 +97,10 @@
letter-spacing: 6px; letter-spacing: 6px;
border-radius: 4px; border-radius: 4px;
.ivu-load-loop {
width: 20px;
}
&:nth-child(1) { &:nth-child(1) {
color: #fff; color: #fff;
background-color: #0080cc; background-color: #0080cc;
......
...@@ -60,14 +60,23 @@ export const TreeControl = defineComponent({ ...@@ -60,14 +60,23 @@ export const TreeControl = defineComponent({
} }
// 数据加载回来后的处理 // 数据加载回来后的处理
// todo 根据选中数据做回显
c.nerve.self.evt.on('onLoadSuccess', async ({ data, isFirstLoad }) => { c.nerve.self.evt.on('onLoadSuccess', async ({ data, isFirstLoad }) => {
if ( if (
isFirstLoad && isFirstLoad &&
c.isSelectFirstDefault && c.isSelectFirstDefault &&
c.defaultSelectKeys.length === 0 c.defaultSelectKeys.length === 0
) { ) {
treeRef.value!.setCurrentKey(data![0].id); // UI上通过 key 设置某个节点的当前选中状态
treeRef.value!.setCurrentKey(data[0].id);
c.onTreeNodeClick(data[0]);
}
if (
isFirstLoad &&
defaultExpands.value.length === 0 &&
c.defaultExpandedKeys
) {
// 因为树是懒加载,所以初次加载时计算默认展开的keys
defaultExpands.value = c.defaultExpandedKeys;
} }
}); });
......
...@@ -651,54 +651,54 @@ ...@@ -651,54 +651,54 @@
dependencies: dependencies:
qx-util "^0.4.8" qx-util "^0.4.8"
"@ibiz-template/controller@^0.0.1-beta.64": "@ibiz-template/controller@^0.0.1-beta.65":
version "0.0.1-beta.64" version "0.0.1-beta.65"
resolved "http://npm.zhr.icu/@ibiz-template/controller/-/controller-0.0.1-beta.64.tgz#ea7d7706278b81ba26b7d42293a8a77bbae67604" resolved "http://npm.zhr.icu/@ibiz-template/controller/-/controller-0.0.1-beta.65.tgz#cf1738f8cb715eaafe363fa6ecdc85fb3822d184"
integrity sha512-HhVpEqyvNGCTH+/j3sCBCn9QF7F/PCSQ4xDF5HcD5PiU475gG+s2C80P8QXZZRq874PX89WyYaKAS7xE3JkavA== integrity sha512-G8wwC0LjGjK3P4br8x42Ug0UwRR5CkrDTRSVnlTluqo51SvxdGMQEMsiUTr9YCn+3vSja1y2CHWzkQEOhay1Qw==
dependencies: dependencies:
async-validator "^4.2.5" async-validator "^4.2.5"
dayjs "^1.11.5" dayjs "^1.11.5"
"@ibiz-template/core@^0.0.1-beta.64": "@ibiz-template/core@^0.0.1-beta.65":
version "0.0.1-beta.64" version "0.0.1-beta.65"
resolved "http://npm.zhr.icu/@ibiz-template/core/-/core-0.0.1-beta.64.tgz#42d99cfc9013e550449d0bff56120f1573b61b01" resolved "http://npm.zhr.icu/@ibiz-template/core/-/core-0.0.1-beta.65.tgz#74ca1ab9f8d75d3f104653729e525dbd8f835018"
integrity sha512-80iushnFs9GK0QwQIo/v3zfWRuJMvZbuHGOHNu/jmlYxN5A7jzAPu0yCGdG2jxaJ9b6GaRn8CMmI2eJhwfPUYA== integrity sha512-T7mxdBkLzLSARHCsdJ3wYfEnmAuHpSogD8Mb6omwRkey5vFv4dw/1dB2mQw+Vfv8Jbi/alTP2apDBG6B6wSsdQ==
dependencies: dependencies:
axios "^1.2.1" axios "^1.2.1"
loglevel "^1.8.0" loglevel "^1.8.0"
pluralize "^8.0.0" pluralize "^8.0.0"
qs "^6.11.0" qs "^6.11.0"
"@ibiz-template/model@^0.0.1-beta.64": "@ibiz-template/model@^0.0.1-beta.65":
version "0.0.1-beta.64" version "0.0.1-beta.65"
resolved "http://npm.zhr.icu/@ibiz-template/model/-/model-0.0.1-beta.64.tgz#fd522e23f40f0f4a39ca433c3d7d909d8fa1530c" resolved "http://npm.zhr.icu/@ibiz-template/model/-/model-0.0.1-beta.65.tgz#8e62d49f47ffd55710d5ecbfac55160f6e4fb70c"
integrity sha512-/lpDN/ibnot2FPjnVgngtlzYp6jd/0dza16+KEUIzpnjKCr27Xyo+aE0KGudsuRxEoiO/D7DKWG2ijnPYQm3Aw== integrity sha512-muSKLTuzgweisCdx/LJxRcM49i6tZZ7/uCMULNEF1fOHw+UFrVRurQpMLIETLM+H/wTj6mgAIUdO8Knky9hBFw==
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.64": "@ibiz-template/runtime@^0.0.1-beta.65":
version "0.0.1-beta.64" version "0.0.1-beta.65"
resolved "http://npm.zhr.icu/@ibiz-template/runtime/-/runtime-0.0.1-beta.64.tgz#bbfbadba5e636c99a20d9a4632063a9f465ed93b" resolved "http://npm.zhr.icu/@ibiz-template/runtime/-/runtime-0.0.1-beta.65.tgz#4e2af9e6a4272e9e688bef6bcdea6c3fd196296c"
integrity sha512-hLKrNqC++9zic6xxxblh7Bupr/NJUkb0espJ+7CRQoBDn2RYLTxZv706KlMm8sRn98M713OKDZRjlofR6lCE1A== integrity sha512-fq196X4KweWLl9eTGtFF4/H13xI8pd73ryWi0m1B+Zq2sW/kER9gd2my2gwTj1F0md7v/8+HM/nhDbOrxbDzdw==
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.64": "@ibiz-template/service@^0.0.1-beta.65":
version "0.0.1-beta.64" version "0.0.1-beta.65"
resolved "http://npm.zhr.icu/@ibiz-template/service/-/service-0.0.1-beta.64.tgz#870790dc089b04f885e15a4cf1c299e296d7995a" resolved "http://npm.zhr.icu/@ibiz-template/service/-/service-0.0.1-beta.65.tgz#c0fad064edd29d699f756db8e4145dd4485ae05b"
integrity sha512-oU83WNvp6+gctNPLUD8LOS3mJsIQDwpGxtdnhIDBpSrqrhb5bCo7dHoutdVBNfOf3Nt4bsStTK4PfwsAjPvf2A== integrity sha512-Hk9kKS/KGCKgIxwbUMQYzreQ1mWLyizR117k5TeRC2ixuEof3hX41t26XJZSVFTFaRP4lxioPnt5ihHu9Nl0vg==
"@ibiz-template/theme@^0.0.1-beta.59": "@ibiz-template/theme@^0.0.1-beta.65":
version "0.0.1-beta.59" version "0.0.1-beta.65"
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.65.tgz#93f1ff2813a30ed83b71ff1997e9e2908d19acf3"
integrity sha512-XfBMhlL+Fh4jFZL9Zc05Sev2wtrwlSLURYYL8i22yzQgxa28zUZU2v+bFGelvgaF78v7L5hoUs0ysDnBPN2GKg== integrity sha512-Y6uWfZXwIlZo+7PfxTs/hFeaiawm7OSs1VTjQABPXph+EEJDd/qrXThLrBhKIaqqLIR9EXH3Ck6jalqDH5qfnQ==
"@ibiz-template/vue-util@^0.0.1-beta.64": "@ibiz-template/vue-util@^0.0.1-beta.65":
version "0.0.1-beta.64" version "0.0.1-beta.65"
resolved "http://npm.zhr.icu/@ibiz-template/vue-util/-/vue-util-0.0.1-beta.64.tgz#c24994fdc7ace11f8d5db826d958ecaf2ea776d4" resolved "http://npm.zhr.icu/@ibiz-template/vue-util/-/vue-util-0.0.1-beta.65.tgz#d2c6a6a81288ea18e7e5371dada880d56181bff4"
integrity sha512-DZ11m8oXY4Tc9iPyDgCARpGzgYr6rUivHVSeZgvGyQ1hv9NJQu2QpnskIQ3GOBVPdK29GCqMJX1zSf2ZEm06vA== integrity sha512-78hJEgsRpKmLEsM1BQdkaKPV/4ZUuKlhxPKVjS7fSoj2e142ZKDR6AEPjLF2GmBNDCqrnvMJm1Q+0XwG7xHKUQ==
"@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" : "视图消息2", "name" : "视图消息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg3" "id" : "ViewMsg2"
} }
}, { }, {
"name" : "视图消息", "name" : "视图消息2",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg2" "id" : "ViewMsg3"
} }
} ], } ],
"rTMOSFilePath" : "pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2" "rTMOSFilePath" : "pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2"
......
...@@ -2422,16 +2422,16 @@ ...@@ -2422,16 +2422,16 @@
"mOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2", "mOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2",
"name" : "视图消息组2", "name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息2", "name" : "视图消息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg3" "id" : "ViewMsg2"
} }
}, { }, {
"name" : "视图消息", "name" : "视图消息2",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg2" "id" : "ViewMsg3"
} }
} ], } ],
"rTMOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2" "rTMOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2"
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册