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

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

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