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 @@