提交 52c6807c 编写于 作者: ibizdev's avatar ibizdev

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

上级 5f44bfc2
...@@ -13,13 +13,13 @@ ...@@ -13,13 +13,13 @@
"dependencies": { "dependencies": {
"@floating-ui/dom": "^1.5.3", "@floating-ui/dom": "^1.5.3",
"@ibiz-template/command": "^0.0.1-beta.50", "@ibiz-template/command": "^0.0.1-beta.50",
"@ibiz-template/controller": "^0.0.1-beta.139", "@ibiz-template/controller": "^0.0.1-beta.140",
"@ibiz-template/core": "^0.0.1-beta.139", "@ibiz-template/core": "^0.0.1-beta.140",
"@ibiz-template/model": "^0.0.1-beta.139", "@ibiz-template/model": "^0.0.1-beta.140",
"@ibiz-template/runtime": "^0.0.1-beta.139", "@ibiz-template/runtime": "^0.0.1-beta.140",
"@ibiz-template/service": "^0.0.1-beta.139", "@ibiz-template/service": "^0.0.1-beta.140",
"@ibiz-template/theme": "^0.0.1-beta.139", "@ibiz-template/theme": "^0.0.1-beta.140",
"@ibiz-template/vue-util": "^0.0.1-beta.139", "@ibiz-template/vue-util": "^0.0.1-beta.140",
"@ibiz/dynamic-model-api": "^2.1.28", "@ibiz/dynamic-model-api": "^2.1.28",
"@riophae/vue-treeselect": "^0.4.0", "@riophae/vue-treeselect": "^0.4.0",
"dayjs": "^1.11.10", "dayjs": "^1.11.10",
......
此差异已折叠。
...@@ -34,7 +34,7 @@ export const MPickupView2 = defineComponent({ ...@@ -34,7 +34,7 @@ export const MPickupView2 = defineComponent({
}; };
const addRight = () => { const addRight = () => {
c.addSelections(c.embedSelection); c.addSelectData();
UISelections.value = []; UISelections.value = [];
}; };
...@@ -48,7 +48,7 @@ export const MPickupView2 = defineComponent({ ...@@ -48,7 +48,7 @@ export const MPickupView2 = defineComponent({
UISelections.value = []; UISelections.value = [];
}; };
const removeRightAll = () => { const removeRightAll = () => {
c.selfSelection = []; c.removeAllSelections();
UISelections.value = []; UISelections.value = [];
}; };
......
...@@ -161,7 +161,18 @@ export const GridControl = defineComponent({ ...@@ -161,7 +161,18 @@ export const GridControl = defineComponent({
}); });
const tableData = computed(() => { const tableData = computed(() => {
return [{ hiddenRow: true }, ...c.items]; const data = c.items.map((item: IData) => {
// eslint-disable-next-line no-param-reassign
item._checked = c.selectedData.some(
(selected: IData) => selected.srfkey === item.srfkey,
);
return item;
});
data.unshift({
hiddenRow: true,
_checked: c.selectedData.length === c.items.length,
});
return data;
}); });
return { return {
......
...@@ -1579,16 +1579,16 @@ ...@@ -1579,16 +1579,16 @@
"codeName" : "VMGroup2", "codeName" : "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"
} }
} ] } ]
}, { }, {
......
...@@ -12873,16 +12873,16 @@ ...@@ -12873,16 +12873,16 @@
"codeName" : "VMGroup2", "codeName" : "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"
} }
} ] } ]
}, { }, {
...@@ -12917,16 +12917,16 @@ ...@@ -12917,16 +12917,16 @@
"id" : "ViewMsg6" "id" : "ViewMsg6"
} }
}, { }, {
"name" : "消息类型-常规信息", "name" : "消息类型-警告信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg4" "id" : "ViewMsg5"
} }
}, { }, {
"name" : "消息类型-警告信息", "name" : "消息类型-常规信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg5" "id" : "ViewMsg4"
} }
} ] } ]
}, { }, {
...@@ -12948,12 +12948,6 @@ ...@@ -12948,12 +12948,6 @@
"modelref" : true, "modelref" : true,
"id" : "ViewMsg7" "id" : "ViewMsg7"
} }
}, {
"name" : "消息位置-视图内容区",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg9"
}
}, { }, {
"name" : "消息位置-视图下方", "name" : "消息位置-视图下方",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
...@@ -12966,30 +12960,29 @@ ...@@ -12966,30 +12960,29 @@
"modelref" : true, "modelref" : true,
"id" : "ViewMsg10" "id" : "ViewMsg10"
} }
}, {
"name" : "消息位置-视图内容区",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg9"
}
} ] } ]
}, { }, {
"codeName" : "VMGroup8", "codeName" : "VMGroup8",
"name" : "【静态测试】", "name" : "【静态测试】",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "消息类型-常规信息", "name" : "消息类型-警告信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg4" "id" : "ViewMsg5"
}, },
"position" : "POPUP" "position" : "POPUP"
}, { }, {
"name" : "关闭模式-无删除-上方-常规", "name" : "消息位置-视图内容区",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg11" "id" : "ViewMsg9"
} }
}, {
"name" : "消息类型-警告信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg5"
},
"position" : "POPUP"
}, { }, {
"name" : "关闭模式-默认删除-上方-错误", "name" : "关闭模式-默认删除-上方-错误",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
...@@ -12997,17 +12990,18 @@ ...@@ -12997,17 +12990,18 @@
"id" : "ViewMsg12" "id" : "ViewMsg12"
} }
}, { }, {
"name" : "消息位置-视图内容区", "name" : "关闭模式-本次删除-上方-警告",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg9" "id" : "ViewMsg13"
} }
}, { }, {
"name" : "关闭模式-本次删除-上方-警告", "name" : "消息类型-错误信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg13" "id" : "ViewMsg6"
} },
"position" : "POPUP"
}, { }, {
"name" : "消息位置-视图下方", "name" : "消息位置-视图下方",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
...@@ -13015,23 +13009,23 @@ ...@@ -13015,23 +13009,23 @@
"id" : "ViewMsg8" "id" : "ViewMsg8"
} }
}, { }, {
"name" : "消息类型-错误信息", "name" : "消息类型-常规信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg6" "id" : "ViewMsg4"
}, },
"position" : "POPUP" "position" : "POPUP"
}, {
"name" : "关闭模式-无删除-上方-常规",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg11"
}
} ] } ]
}, { }, {
"codeName" : "VMGroup5", "codeName" : "VMGroup5",
"name" : "视图消息关闭模式", "name" : "视图消息关闭模式",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "关闭模式-默认删除",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg12"
}
}, {
"name" : "关闭模式-本次删除", "name" : "关闭模式-本次删除",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
...@@ -13043,6 +13037,12 @@ ...@@ -13043,6 +13037,12 @@
"modelref" : true, "modelref" : true,
"id" : "ViewMsg11" "id" : "ViewMsg11"
} }
}, {
"name" : "关闭模式-默认删除",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg12"
}
} ] } ]
}, { }, {
"codeName" : "VMGroup6", "codeName" : "VMGroup6",
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册