|
|
@@ -124,23 +124,20 @@ const oaTasks = ref([]);
|
|
|
const loading = ref(false);
|
|
|
|
|
|
const goBackPage = async (row) => {
|
|
|
- const res = await ssoLogin({
|
|
|
- username: userStore.getUser.username,
|
|
|
- });
|
|
|
-
|
|
|
- if (res) {
|
|
|
- const newTab = window.open("", "_blank");
|
|
|
-
|
|
|
- newTab.location.href =
|
|
|
- "https://yfoa.keruioil.com/wui/index.html" +
|
|
|
- "?ssoToken=" +
|
|
|
- res +
|
|
|
- "#/main";
|
|
|
-
|
|
|
- setTimeout(function () {
|
|
|
- newTab.location.href = `https://yfoa.keruioil.com/spa/workflow/static4form/index.html?_rdm=1776063595284#/main/workflow/req?requestid=${row.requestId}`;
|
|
|
- }, 50);
|
|
|
- }
|
|
|
+ // const res = await ssoLogin({
|
|
|
+ // username: userStore.getUser.username,
|
|
|
+ // });
|
|
|
+ // if (res) {
|
|
|
+ // const newTab = window.open("", "_blank");
|
|
|
+ // newTab.location.href =
|
|
|
+ // "https://yfoa.keruioil.com/wui/index.html" +
|
|
|
+ // "?ssoToken=" +
|
|
|
+ // res +
|
|
|
+ // "#/main";
|
|
|
+ // setTimeout(function () {
|
|
|
+ // newTab.location.href = `https://yfoa.keruioil.com/spa/workflow/static4form/index.html?_rdm=1776063595284#/main/workflow/req?requestid=${row.requestId}`;
|
|
|
+ // }, 50);
|
|
|
+ // }
|
|
|
};
|
|
|
onMounted(async () => {
|
|
|
if (userStore.getUser.username) {
|