Browse Source

首登记人信息保存新增userId

jun.zhang 1 year ago
parent
commit
7f3f06b271
2 changed files with 7 additions and 6 deletions
  1. 6 6
      .env.production
  2. 1 0
      src/views/business/checkin/edit/index.vue

+ 6 - 6
.env.production

@@ -2,13 +2,13 @@
 ENV = 'production'
 
 # base api
-VUE_APP_BASE_API = 'http://192.9.200.52:88'
+#VUE_APP_BASE_API = 'http://192.9.200.52:88'
 #VUE_APP_BASE_API = 'http://172.16.66.48:88'
-#VUE_APP_BASE_API = 'http://115.238.142.158:4888'
+VUE_APP_BASE_API = 'http://115.238.142.158:4888'
 
 
-VUE_APP_ZHFX_API = 'http://192.9.200.52:2468'
-#VUE_APP_ZHFX_API = 'http://115.238.142.158:2580'
+#VUE_APP_ZHFX_API = 'http://192.9.200.52:2468'
+VUE_APP_ZHFX_API = 'http://115.238.142.158:2580'
 #VUE_APP_ZHFX_API = 'http://172.16.66.48:2468'
 
 VUE_APP_EXPORT_API = 'http://192.9.200.51:9080'     
@@ -18,9 +18,9 @@ VUE_APP_EXPORT_API = 'http://192.9.200.51:9080'
 VUE_APP_NTKO_URL = 'http://192.9.200.52:88/ntko/static/download/NTKO_SETUP.exe'
 VUE_APP_CHROME_URL = 'http://192.9.200.52:88/chrome/ChromeStandaloneSetup64.exe'
 
-VUE_APP_HOME_URL = 'http://192.9.200.52:88/ahrd/index.html'
+#VUE_APP_HOME_URL = 'http://192.9.200.52:88/ahrd/index.html'
 #VUE_APP_HOME_URL = 'http://172.16.66.48:88/ahrd/index.html'
-#VUE_APP_HOME_URL = 'http://115.238.142.158:4888/ahrd/index.html'
+VUE_APP_HOME_URL = 'http://115.238.142.158:4888/ahrd/index.html'
 
 VUE_APP_DATA_VIEW_URL = 'http://192.9.200.52:88/dataview/#/'
 

+ 1 - 0
src/views/business/checkin/edit/index.vue

@@ -1950,6 +1950,7 @@ export default {
           let form = this.$refs.baseinfoForm.getFormData();
           if (this.activityId) form.activityID = this.activityId;
           form.mainPerson = 1;
+          form.userId = this.$store.getters.userId;//23.3.7后台要求新增否则无法保存成功
           PersonApi.addPerson(form)
             .then((res) => {
               if (!this.activityId) this.activityId = res.data.activityID;