From 1cfd2164682c12d7c7b8c9be8ea4bbef1a093742 Mon Sep 17 00:00:00 2001 From: shijing Date: Fri, 24 Mar 2023 17:11:36 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E4=BA=BA=E5=91=98=E5=8F=98?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +- src/api/model/rpm.js | 19 ++- src/components/ehsSelect/userselect.vue | 6 +- src/views/rpm/rpj_show.vue | 194 +++++++++++++++++++++++- src/views/wf/ticketdetail.vue | 2 +- 5 files changed, 214 insertions(+), 11 deletions(-) diff --git a/.env.development b/.env.development index 39e75078..da1f3866 100644 --- a/.env.development +++ b/.env.development @@ -7,9 +7,9 @@ VUE_APP_TITLE = '曲阳金隅安全智能管控平台' # 接口地址 #VUE_APP_API_BASEURL = http://1.203.161.103:2800/api #VUE_APP_WS_API = 'ws://localhost:8000' -VUE_APP_API_BASEURL = http://222.222.144.147:6013/api +# VUE_APP_API_BASEURL = http://222.222.144.147:6013/api #VUE_APP_API_BASEURL = http://10.99.5.79:20309/api -#VUE_APP_API_BASEURL = http://127.0.0.1:8001/api +VUE_APP_API_BASEURL = http://49.232.14.174:2226/api #VUE_APP_BASEURL = http://127.0.0.1:8000 diff --git a/src/api/model/rpm.js b/src/api/model/rpm.js index 3b94f578..b9f6927e 100644 --- a/src/api/model/rpm.js +++ b/src/api/model/rpm.js @@ -170,7 +170,16 @@ export default { return await http.delete( `${config.API_URL}/rpm/rpj/${id}/`); } - } + }, + logs: { + name: "日志", + req: async function (data) { + return await http.get( + `${config.API_URL}/rpm/rpj_log/`, + data + ); + } + }, }, /*相关方文件 */ rfile: { @@ -266,6 +275,14 @@ export default { data); } }, + leave: { + name: "提前离厂", + req: async function (id,data) { + return await http.post( + `${config.API_URL}/rpm/rpj_member/${id}/leave/`, + data); + } + }, update: { name: "更新", req: async function (id, data) { diff --git a/src/components/ehsSelect/userselect.vue b/src/components/ehsSelect/userselect.vue index 44e8d29e..3fbd6072 100644 --- a/src/components/ehsSelect/userselect.vue +++ b/src/components/ehsSelect/userselect.vue @@ -211,8 +211,10 @@ export default { data() { return { apiObj: this.$API.system.user.list, - params: {}, - query: {}, + params: {is_active:true}, + query: { + is_active:true, + }, selection: [], filterText: "", filterTexts: "", diff --git a/src/views/rpm/rpj_show.vue b/src/views/rpm/rpj_show.vue index bb332bd8..fd107868 100644 --- a/src/views/rpm/rpj_show.vue +++ b/src/views/rpm/rpj_show.vue @@ -14,6 +14,10 @@ {{ form.belong_dept_name }} {{ form.rparty_name }} + 添加人员 + 否 - + + + + + + + + + + + + + + + + + :bindEmployee="bindEmployee" @success="showBindBltSuccess" @closed="showBindBltClose" + > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - diff --git a/src/views/wf/ticketdetail.vue b/src/views/wf/ticketdetail.vue index 91aa63a2..4b8bcdca 100644 --- a/src/views/wf/ticketdetail.vue +++ b/src/views/wf/ticketdetail.vue @@ -167,7 +167,7 @@
- {{item.name}}