提交 7b8d341e 编写于 作者: ibizdev's avatar ibizdev

tony001 发布系统代码 [TrainSys,Mob]

上级 ac3b178e
import { CoreConst } from '@ibiz-template/core'; import { CoreConst, IPortalMessage } from '@ibiz-template/core';
import { useNamespace } from '@ibiz-template/vue3-util'; import { useNamespace } from '@ibiz-template/vue3-util';
import { computed, defineComponent, reactive, Ref, ref } from 'vue'; import { computed, defineComponent, reactive, Ref, ref } from 'vue';
import { useRoute } from 'vue-router'; import { useRoute } from 'vue-router';
...@@ -59,7 +59,9 @@ export const LoginView = defineComponent({ ...@@ -59,7 +59,9 @@ export const LoginView = defineComponent({
const headers: Ref<IData> = ref({ const headers: Ref<IData> = ref({
Authorization: `Bearer ${getCookie(CoreConst.TOKEN)}`, Authorization: `Bearer ${getCookie(CoreConst.TOKEN)}`,
}); });
ibiz.mc.command.asyncAction.on((msg: IPortalMessage) => {
console.log(msg, 'login');
});
const uploadFile = (file: IData) => { const uploadFile = (file: IData) => {
console.log(file); console.log(file);
// 创建一个空对象实例 // 创建一个空对象实例
......
...@@ -1432,16 +1432,16 @@ ...@@ -1432,16 +1432,16 @@
"codeName" : "VMGroup2", "codeName" : "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"
} }
} ] } ]
}, { }, {
......
...@@ -11189,16 +11189,16 @@ ...@@ -11189,16 +11189,16 @@
"codeName" : "VMGroup2", "codeName" : "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"
} }
} ] } ]
}, { }, {
...@@ -11227,10 +11227,10 @@ ...@@ -11227,10 +11227,10 @@
"codeName" : "VMGroup3", "codeName" : "VMGroup3",
"name" : "视图消息类型测试", "name" : "视图消息类型测试",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "消息类型-错误信息", "name" : "消息类型-常规信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg6" "id" : "ViewMsg4"
} }
}, { }, {
"name" : "消息类型-警告信息", "name" : "消息类型-警告信息",
...@@ -11239,10 +11239,10 @@ ...@@ -11239,10 +11239,10 @@
"id" : "ViewMsg5" "id" : "ViewMsg5"
} }
}, { }, {
"name" : "消息类型-常规信息", "name" : "消息类型-错误信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg4" "id" : "ViewMsg6"
} }
} ] } ]
}, { }, {
...@@ -11259,45 +11259,45 @@ ...@@ -11259,45 +11259,45 @@
"codeName" : "VMGroup4", "codeName" : "VMGroup4",
"name" : "视图消息位置测试", "name" : "视图消息位置测试",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "消息位置-视图方", "name" : "消息位置-视图方",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg7" "id" : "ViewMsg8"
} }
}, { }, {
"name" : "消息位置-视图下方", "name" : "消息位置-视图内容区",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg8" "id" : "ViewMsg9"
} }
}, { }, {
"name" : "消息位置-弹出", "name" : "消息位置-视图上方",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg10" "id" : "ViewMsg7"
} }
}, { }, {
"name" : "消息位置-视图内容区", "name" : "消息位置-弹出",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg9" "id" : "ViewMsg10"
} }
} ] } ]
}, { }, {
"codeName" : "VMGroup8", "codeName" : "VMGroup8",
"name" : "【静态测试】", "name" : "【静态测试】",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "消息类型-警告信息", "name" : "消息类型-常规信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg5" "id" : "ViewMsg4"
}, },
"position" : "POPUP" "position" : "POPUP"
}, { }, {
"name" : "关闭模式-默认删除-上方-错误", "name" : "关闭模式-无删除-上方-常规",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg12" "id" : "ViewMsg11"
} }
}, { }, {
"name" : "消息位置-视图内容区", "name" : "消息位置-视图内容区",
...@@ -11306,18 +11306,11 @@ ...@@ -11306,18 +11306,11 @@
"id" : "ViewMsg9" "id" : "ViewMsg9"
} }
}, { }, {
"name" : "关闭模式-本次删除-上方-警告", "name" : "关闭模式-默认删除-上方-错误",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg13" "id" : "ViewMsg12"
} }
}, {
"name" : "消息类型-错误信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg6"
},
"position" : "POPUP"
}, { }, {
"name" : "消息位置-视图下方", "name" : "消息位置-视图下方",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
...@@ -11325,16 +11318,23 @@ ...@@ -11325,16 +11318,23 @@
"id" : "ViewMsg8" "id" : "ViewMsg8"
} }
}, { }, {
"name" : "关闭模式-无删除-上方-常规", "name" : "关闭模式-本次删除-上方-警告",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg11" "id" : "ViewMsg13"
} }
}, { }, {
"name" : "消息类型-常规信息", "name" : "消息类型-警告信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg4" "id" : "ViewMsg5"
},
"position" : "POPUP"
}, {
"name" : "消息类型-错误信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg6"
}, },
"position" : "POPUP" "position" : "POPUP"
} ] } ]
...@@ -11342,10 +11342,10 @@ ...@@ -11342,10 +11342,10 @@
"codeName" : "VMGroup5", "codeName" : "VMGroup5",
"name" : "视图消息关闭模式", "name" : "视图消息关闭模式",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "关闭模式-本次删除", "name" : "关闭模式-默认删除",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg13" "id" : "ViewMsg12"
} }
}, { }, {
"name" : "关闭模式-无删除", "name" : "关闭模式-无删除",
...@@ -11354,10 +11354,10 @@ ...@@ -11354,10 +11354,10 @@
"id" : "ViewMsg11" "id" : "ViewMsg11"
} }
}, { }, {
"name" : "关闭模式-默认删除", "name" : "关闭模式-本次删除",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg12" "id" : "ViewMsg13"
} }
} ] } ]
}, { }, {
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册