diff --git a/src/assets/js/http.js b/src/assets/js/http.js index 86e2ba09..7e24bea9 100644 --- a/src/assets/js/http.js +++ b/src/assets/js/http.js @@ -40,8 +40,9 @@ if (process.env.NODE_ENV == 'development') { // axios.defaults.baseURL = 'http://36.137.53.203:9090/'; // 南昌地铁 17512009894 123456789 gdjt 123456789 // axios.defaults.baseURL = 'http://124.71.178.44:100/' + axios.defaults.baseURL = 'http://192.168.34.148:6023/' // tag: 本地 - axios.defaults.baseURL = 'http://192.168.34.125:6023/'; //本地 http/1.1 + // axios.defaults.baseURL = 'http://192.168.34.125:6023/'; //本地 http/1.1 // axios.defaults.baseURL = 'http://139.9.66.234:40001/'; //南昌二期 // axios.defaults.baseURL = 'http://120.196.217.6:7000/'; // axios.defaults.baseURL = 'http://139.9.66.234:8/'; diff --git a/src/components/account.vue b/src/components/account.vue index 44a9e82f..1c9d3d20 100644 --- a/src/components/account.vue +++ b/src/components/account.vue @@ -15,7 +15,7 @@

{{ $store.state.userInfo.companyName }}

-

客服电话:{{$store.state.userInfo.customerServicePhone}}

+
{{ $t("message.laborMange.edit") }} --> + {{ $t("message.laborMange.aKeyIssued") }} @@ -497,7 +499,7 @@ -->
{{ $t("message.laborMange.cancel") }} + 0) { + console.log('this.personForm.ufaceDevId',this.personForm.ufaceDevId) data.ufaceDevId = this.personForm.ufaceDevId.join(","); } else { data.ufaceDevId = ""; @@ -3311,6 +3319,7 @@ export default { isUploadHousing: value ? 1 : 0, id: id, }; + console.log('isUploadHousing',json) updateByIdWorkerInfo(json).then((res) => { // if (res.code == 200) { // this.$message.success(this.$t("message.laborMange.modifySuccess")); @@ -3328,14 +3337,11 @@ export default { //编辑 人员信息 按钮 editWorkerInfo(value, type) { console.log('当前行',value) - // 点击再次进场同时再发一个请求 - axios({ - method:"GET", - originId : value.id, - url:'http://192.168.34.148:8080/workerReEntry' - }).then((res)=>{ - console.log('调用成功了吗',res) - }) + if(value.isUploadHousing){ + this.personForm.isUploadHousing = 1 + }else{ + this.personForm.isUploadHousing = 0 + } this.personDialogTitle = this.$t("message.laborMange.editCrewInfo"); this.titleType = "edit"; this.personForm = { @@ -3352,7 +3358,7 @@ export default { phoneNumber: "", emergentPerson: "", emergentPhone: "", - inserviceType: 1, + inserviceType: 2, politicsStatus: "", marry: "", payRollBankName: "",