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