From 5c7a4f31dadc5229cdb8fda7982651fca9adc23d Mon Sep 17 00:00:00 2001 From: chenze <1824191732@qq.com> Date: Mon, 19 Aug 2024 16:50:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E5=AF=B9=E5=BA=94?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.preview | 4 +- src/api/admin/repair/repairRemind.js | 13 ++ src/views/admin/RepairList.vue | 2 - src/views/admin/repair/MeesageNoticeList.vue | 209 +++++++++++++++++++ vue.config.js | 1 + 5 files changed, 225 insertions(+), 4 deletions(-) create mode 100644 src/api/admin/repair/repairRemind.js create mode 100644 src/views/admin/repair/MeesageNoticeList.vue diff --git a/.env.preview b/.env.preview index 3aa62cd..397f40d 100644 --- a/.env.preview +++ b/.env.preview @@ -1,4 +1,4 @@ NODE_ENV=production VUE_APP_PREVIEW=true -VUE_APP_API_BASE_URL=/saas-ics -VUE_APP_MODEL_BASE_URL=http://localhost/saas-ics \ No newline at end of file +VUE_APP_API_BASE_URL=/shoot-hand +VUE_APP_MODEL_BASE_URL=https://company.haxy.com.cn:4443/shoot-hand \ No newline at end of file diff --git a/src/api/admin/repair/repairRemind.js b/src/api/admin/repair/repairRemind.js new file mode 100644 index 0000000..b5cfdad --- /dev/null +++ b/src/api/admin/repair/repairRemind.js @@ -0,0 +1,13 @@ +import { axios } from '@/utils/request' + +const api = { + repairRemind: '/admin/repairRemind' +} + +export function getRepairRemindList (parameter) { + return axios({ + url: api.repairRemind + '/list', + method: 'get', + params: parameter + }) +} diff --git a/src/views/admin/RepairList.vue b/src/views/admin/RepairList.vue index c20fc0c..df609f3 100644 --- a/src/views/admin/RepairList.vue +++ b/src/views/admin/RepairList.vue @@ -144,12 +144,10 @@ export default { methods: { getRepairList () { if (this.$route.query.repairUserId != null) { - console.log(1111) oneWorkerList({ workerId: this.$route.query.repairUserId }).then(res =>{ this.loadData = res.rows }) } else if (this.$route.query.floorId !=null) { - console.log(222) oneFloorList({ floorId: this.$route.query.floorId }).then(res =>{ this.loadData = res.rows }) diff --git a/src/views/admin/repair/MeesageNoticeList.vue b/src/views/admin/repair/MeesageNoticeList.vue new file mode 100644 index 0000000..2b494ff --- /dev/null +++ b/src/views/admin/repair/MeesageNoticeList.vue @@ -0,0 +1,209 @@ + + + diff --git a/vue.config.js b/vue.config.js index a2a63a7..1e30bd2 100644 --- a/vue.config.js +++ b/vue.config.js @@ -109,6 +109,7 @@ const vueConfig = { proxy: { '/api': { target: 'http://192.168.0.30:9227', + // target: 'https://company.haxy.com.cn:4443/shoot-hand', pathRewrite: { '^/api': '' }, ws: false, changeOrigin: true