This commit is contained in:
parent
e16bfe94cb
commit
75f4c4af1c
|
@ -40,7 +40,7 @@ const resetTimer = () => {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
// window.addEventListener("mousemove", resetTimer);
|
window.addEventListener("mousemove", resetTimer);
|
||||||
// window.addEventListener("keydown", resetTimer);
|
window.addEventListener("keydown", resetTimer);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -312,12 +312,11 @@ const openLCQXs = () => {
|
||||||
data.active = res.data.length;
|
data.active = res.data.length;
|
||||||
|
|
||||||
if (res.data && res.data.length > 0) {
|
if (res.data && res.data.length > 0) {
|
||||||
data.content.sendTime = res.data[0]?.sendTime.split(" ")[0];
|
data.content.sendTime = res.data[0]?.sendTime;
|
||||||
data.content.ywdw = res.data[1]?.ywdw;
|
data.content.ywdw = res.data[1]?.ywdw;
|
||||||
data.content.ywfzr = res.data[1]?.ywfzr;
|
data.content.ywfzr = res.data[1]?.ywfzr;
|
||||||
data.content.disposalTime = res.data[1]?.disposalTime.split(" ")[0];
|
data.content.disposalTime = res.data[1]?.disposalTime;
|
||||||
data.content.completionTime =
|
data.content.completionTime = res.data[2]?.completionTime;
|
||||||
res.data[2]?.completionTime.split(" ")[0];
|
|
||||||
data.content.nr = res.data[2]?.nr;
|
data.content.nr = res.data[2]?.nr;
|
||||||
data.content.verifyName = res.data[3]?.verifyName;
|
data.content.verifyName = res.data[3]?.verifyName;
|
||||||
data.content.verifyTime = res.data[3]?.verifyTime;
|
data.content.verifyTime = res.data[3]?.verifyTime;
|
||||||
|
|
|
@ -207,11 +207,9 @@ const login = () => {
|
||||||
// document.cookie = `lytoken=${tokenU}`;
|
// document.cookie = `lytoken=${tokenU}`;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var token = tokenU;
|
var token = tokenU;
|
||||||
// var token= 'Bearer 6b0e380b4a8f46baae4923f83faf670d';
|
|
||||||
// var token= '6b0e380b4a8f46baae4923f83faf670d';
|
// var token= '6b0e380b4a8f46baae4923f83faf670d';
|
||||||
|
|
||||||
tools.data.set("token", token);
|
tools.data.set("token", token);
|
||||||
tools.data.set("type", 2);
|
tools.data.set("type", 2);
|
||||||
getMenu();
|
getMenu();
|
||||||
|
@ -221,10 +219,9 @@ const login = () => {
|
||||||
window.location.href = backurl;
|
window.location.href = backurl;
|
||||||
tools.data.remove("backUrl");
|
tools.data.remove("backUrl");
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
// var tokenPd = getCookie("lytoken");
|
// var tokenPd = getCookie("lytoken");
|
||||||
var tokenLogin=tools.data.get("token");
|
var tokenLogin = tools.data.get("token");
|
||||||
if (!tokenLogin) {
|
if (!tokenLogin) {
|
||||||
window.location.href =
|
window.location.href =
|
||||||
"https://jzzf.longyou.gov.cn:998/api/login?returnURL=" +
|
"https://jzzf.longyou.gov.cn:998/api/login?returnURL=" +
|
||||||
|
|
|
@ -988,12 +988,12 @@ const openLCQX = () => {
|
||||||
Process.data.verifyTime = "";
|
Process.data.verifyTime = "";
|
||||||
Process.data.active = res.data.length;
|
Process.data.active = res.data.length;
|
||||||
if (res.data && res.data.length > 0) {
|
if (res.data && res.data.length > 0) {
|
||||||
Process.data.sendTime = res.data[0]?.sendTime.split(" ")[0];
|
Process.data.sendTime = res.data[0]?.sendTime;
|
||||||
Process.data.ywdw = res.data[1]?.ywdw;
|
Process.data.ywdw = res.data[1]?.ywdw;
|
||||||
Process.data.ywfzr = res.data[1]?.ywfzr;
|
Process.data.ywfzr = res.data[1]?.ywfzr;
|
||||||
Process.data.disposalTime = res.data[1]?.disposalTime.split(" ")[0];
|
Process.data.disposalTime = res.data[1]?.disposalTime;
|
||||||
Process.data.completionTime =
|
Process.data.completionTime =
|
||||||
res.data[2]?.completionTime.split(" ")[0];
|
res.data[2]?.completionTime;
|
||||||
Process.data.nr = res.data[2]?.nr;
|
Process.data.nr = res.data[2]?.nr;
|
||||||
Process.data.verifyName = res.data[3]?.verifyName;
|
Process.data.verifyName = res.data[3]?.verifyName;
|
||||||
Process.data.verifyTime = res.data[3]?.verifyTime;
|
Process.data.verifyTime = res.data[3]?.verifyTime;
|
||||||
|
|
Loading…
Reference in New Issue