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

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

上级 d0a10c4c
......@@ -59,6 +59,7 @@ export const LoginView = defineComponent({
const headers: Ref<IData> = ref({
Authorization: `Bearer ${getCookie(CoreConst.TOKEN)}`,
});
const uploadFile = (file: IData) => {
console.log(file);
// 创建一个空对象实例
......@@ -87,6 +88,17 @@ export const LoginView = defineComponent({
});
};
const test = (data: IData) => {
let systemId = ibiz.env.dcSystem;
const { orgData } = ibiz;
if (orgData) {
if (orgData.systemid) {
systemId = orgData.systemid;
}
if (orgData.orgid) {
headers.value.srforgid = orgData.orgid;
}
}
headers.value.srfsystemid = systemId;
uploadFile(data);
};
return { loginData, login, title, loading, formRef, test };
......
......@@ -11294,16 +11294,16 @@
},
"position" : "POPUP"
}, {
"name" : "消息位置-视图内容区",
"name" : "关闭模式-默认删除-上方-错误",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg9"
"id" : "ViewMsg12"
}
}, {
"name" : "关闭模式-默认删除-上方-错误",
"name" : "消息位置-视图内容区",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg12"
"id" : "ViewMsg9"
}
}, {
"name" : "关闭模式-本次删除-上方-警告",
......@@ -11324,6 +11324,12 @@
"modelref" : true,
"id" : "ViewMsg8"
}
}, {
"name" : "关闭模式-无删除-上方-常规",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg11"
}
}, {
"name" : "消息类型-常规信息",
"getPSAppViewMsg" : {
......@@ -11331,12 +11337,6 @@
"id" : "ViewMsg4"
},
"position" : "POPUP"
}, {
"name" : "关闭模式-无删除-上方-常规",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg11"
}
} ]
}, {
"codeName" : "VMGroup5",
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册