Browse Source

reactor:450 新增【工单业务量统计】报表

zhangchong 1 week ago
parent
commit
df874961cd

+ 0 - 4
src/views/home/components/Entrance.vue

@@ -134,10 +134,6 @@ const openDialog = () => {
 	getEntrance();
 	getEntranceSelect();
 };
-// 关闭弹窗
-const closeDialog = () => {
-	state.dialogVisible = false;
-};
 // 获取我的入口
 const getEntrance = () => {
 	state.loading = true;

+ 3 - 1
src/views/home/components/Home-date.vue

@@ -42,7 +42,9 @@ const getUserName = () => {
 			userNameEncryptionEnCode.value = res.result;
 			getOldWorkTodo();
 		})
-		.catch((err) => {});
+		.catch((err) => {
+			console.log('获取用户名失败:', err);
+		});
 };
 // 查询老系统的工单是否有待办 60秒查询一次
 const isDot = ref(false);

+ 1 - 1
src/views/home/components/Notice.vue

@@ -30,7 +30,7 @@ import { formatDate } from '@/utils/formatTime';
 import { useRouter } from 'vue-router';
 import { KnowledgePaged } from '@/api/knowledge';
 import { bulletinList } from '@/api/auxiliary/notice';
-const state = reactive({
+const state = reactive<any>({
 	noticeList: [], // 通知公告
 	noticeLoading: false, // 公告
 });