From 86469738adf9d961224272d6d66f9fdf4cca0250 Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Mon, 11 Mar 2024 17:16:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=BE=85=E5=8A=9E=E6=B8=85=E5=8D=95?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +- .env.production | 4 +- src/api/modules/common.ts | 5 - src/api/modules/goverment.ts | 6 + src/layouts/LayoutClassic/index.vue | 14 +-- .../divisionsAndISubItems/index.vue | 14 ++- .../components/ProjectSupervision/duty.ts | 13 +- .../ProjectSupervision/dutyForm.scss | 6 + .../ProjectSupervision/dutyForm.vue | 22 +++- .../qualityControl/index.vue | 14 ++- .../safetyManagement/index.vue | 14 ++- .../goverment/huizhou/unDealList/index.scss | 9 ++ .../goverment/huizhou/unDealList/index.vue | 112 ++++++++++++++++++ 13 files changed, 203 insertions(+), 34 deletions(-) create mode 100644 src/views/goverment/huizhou/unDealList/index.scss create mode 100644 src/views/goverment/huizhou/unDealList/index.vue diff --git a/.env.development b/.env.development index 8ed5986..2c8d108 100644 --- a/.env.development +++ b/.env.development @@ -2,11 +2,11 @@ NODE_ENV = 'development' # 本地环境接口地址(/api/index.ts文件中使用) -# VITE_API_URL = 'http://192.168.34.155:6677' +VITE_API_URL = 'http://192.168.34.155:6688' # VITE_API_URL = 'http://183.63.230.59:6090' # VITE_API_URL = 'http://2xliv7gs.shenzhuo.vip:55296' VITE_WPAPI_URL = "http://jxjzw.zhgdyun.com:8081" -VITE_API_URL = "http://jxjzw.zhgdyun.com:9013" +# VITE_API_URL = "http://jxjzw.zhgdyun.com:9013" # 上传 # VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url=' diff --git a/.env.production b/.env.production index 200711f..8573870 100644 --- a/.env.production +++ b/.env.production @@ -3,9 +3,9 @@ NODE_ENV = "production" # 线上环境接口地址(easymock) # VITE_API_URL = "http://139.9.66.234:6688" -VITE_API_URL = 'http://10.75.253.12:6090' +# VITE_API_URL = 'http://10.75.253.12:6090' # VITE_API_URL = 'http://183.63.230.59:6090' -# VITE_API_URL = "http://jxjzw.zhgdyun.com:9013" +VITE_API_URL = "http://jxjzw.zhgdyun.com:9013" VITE_WPAPI_URL = "http://jxjzw.zhgdyun.com:8081" # VITE_API_URL = "http://101.43.164.214:6688" # VITE_API_URL = "https://wx.antjg.com:6081/" diff --git a/src/api/modules/common.ts b/src/api/modules/common.ts index 0ec73a6..08df82a 100644 --- a/src/api/modules/common.ts +++ b/src/api/modules/common.ts @@ -94,8 +94,3 @@ export const noticeDetailMyPost = (params: { noticeId: string }) => { export const noticeReadMyPost = (params: { noticeId: string }) => { return http.post(BASEURL + `/xmgl/notice/read`, params); }; - -// 查询是否有待办事项 -export const noFinishApi = (params: any) => { - return http.get(BASEURL + `/xmgl/systemUser/getToDoItems`, params); -}; diff --git a/src/api/modules/goverment.ts b/src/api/modules/goverment.ts index 160d0de..12549de 100644 --- a/src/api/modules/goverment.ts +++ b/src/api/modules/goverment.ts @@ -446,3 +446,9 @@ export const annexFileList = (params: any) => { export const annexFileSave = (params: any) => { return http.post(BASEURL + `/gov/engineeringAnnex/batchUpdateFile`, params); }; + +// 待办清单 +// 查询是否有待办事项 +export const noFinishApi = (params: any) => { + return http.get(BASEURL + `/xmgl/systemUser/getToDoItems`, params); +}; diff --git a/src/layouts/LayoutClassic/index.vue b/src/layouts/LayoutClassic/index.vue index bee37ff..f0728f9 100644 --- a/src/layouts/LayoutClassic/index.vue +++ b/src/layouts/LayoutClassic/index.vue @@ -40,7 +40,7 @@
- + @@ -97,7 +96,6 @@ import SubMenu from "@/layouts/components/Menu/SubMenu.vue"; import ToolBarLeft from "@/layouts/components/Header/ToolBarLeft.vue"; import ToolBarRight from "@/layouts/components/Header/ToolBarRight.vue"; import { HOME_URL } from "@/enums/Home"; -import { noFinishApi } from "@/api/modules/common"; // import router from "@/routers"; const route = useRoute(); @@ -129,13 +127,7 @@ const handleDealItem = (obj: any) => { const goHome = () => { router.push(HOME_URL[globalStore.accountType - 1]); }; -onMounted(async () => { - const res: any = await noFinishApi({}); - if (res && res.data && res.data.length > 0) { - recordData.value = res.data; - visible1.value = true; - } -}); +onMounted(async () => {});