Browse Source

reactor:首页登录;

zhangchong 6 months ago
parent
commit
0127ee577e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/home/components/Home-date.vue

+ 2 - 0
src/views/home/components/Home-date.vue

@@ -57,6 +57,7 @@ const getOldWorkTodo = () => {
 		.get(AppConfigInfo.value.oldHotlineOrderState + userNameEncryption.value)
 		.then((res: any) => {
 			console.log('旧系统的查询工单待办返回:',res);
+			isDot.value = res.data.result ?? false;
 		})
 		.catch((err) => {
 			console.log('旧系统的查询工单待办失败:',err);
@@ -67,6 +68,7 @@ const getOldWorkTodo = () => {
 				.get(AppConfigInfo.value.oldHotlineOrderState + userNameEncryption.value)
 				.then((res: any) => {
 					console.log('旧系统的查询工单待办返回:',res);
+					isDot.value = res.data.result ?? false;
 				})
 				.catch((err) => {
 					console.log('旧系统的查询工单待办失败:',err);