Ver Fonte

Merge branch 'master' into develop

ly há 1 ano atrás
pai
commit
43fbc4479d
3 ficheiros alterados com 16 adições e 8 exclusões
  1. 2 1
      Dockerfile
  2. 7 7
      nginx.conf
  3. 7 0
      src/views/business/production/salary/form.vue

+ 2 - 1
Dockerfile

@@ -1,5 +1,6 @@
 # 基础镜像
-FROM nginx:1.22
+#FROM nginx:1.22
+FROM nginx
 
 # 复制 nginx 配置文件
 COPY ./nginx.conf /etc/nginx/nginx.conf

+ 7 - 7
nginx.conf

@@ -37,49 +37,49 @@ http {
         proxy_set_header X-Real-IP $remote_addr;
         proxy_set_header REMOTE-HOST $remote_addr;
         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-        proxy_pass http://172.18.0.10:8040/;
+        proxy_pass http://172.18.0.1:8040/;
     }
     location /ezhizao-yzbh-sys/{
         proxy_set_header Host $http_host;
         proxy_set_header X-Real-IP $remote_addr;
         proxy_set_header REMOTE-HOST $remote_addr;
         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-        proxy_pass http://172.18.0.10:8040/;
+        proxy_pass http://172.18.0.1:8040/;
     }
     location /ezhizao-yzbh-crm/{
         proxy_set_header Host $http_host;
         proxy_set_header X-Real-IP $remote_addr;
         proxy_set_header REMOTE-HOST $remote_addr;
         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-        proxy_pass http://172.18.0.6:8041/;
+        proxy_pass http://172.18.0.1:8041/;
     }
     location /ezhizao-yzbh-entrust/{
         proxy_set_header Host $http_host;
         proxy_set_header X-Real-IP $remote_addr;
         proxy_set_header REMOTE-HOST $remote_addr;
         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-        proxy_pass http://172.18.0.7:8042/;
+        proxy_pass http://172.18.0.1:8042/;
     }
     location /ezhizao-yzbh-production/{
         proxy_set_header Host $http_host;
         proxy_set_header X-Real-IP $remote_addr;
         proxy_set_header REMOTE-HOST $remote_addr;
         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-        proxy_pass http://172.18.0.9:8043/;
+        proxy_pass http://172.18.0.1:8043/;
     }
     location /ezhizao-yzbh-finance/{
         proxy_set_header Host $http_host;
         proxy_set_header X-Real-IP $remote_addr;
         proxy_set_header REMOTE-HOST $remote_addr;
         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-        proxy_pass http://172.18.0.9:8043/;
+        proxy_pass http://172.18.0.1:8043/;
     }
     location /ezhizao-yzbh-financial/{
         proxy_set_header Host $http_host;
         proxy_set_header X-Real-IP $remote_addr;
         proxy_set_header REMOTE-HOST $remote_addr;
         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-        proxy_pass http://172.18.0.8:8044/;
+        proxy_pass http://172.18.0.1:8044/;
     }
     error_page   500 502 503 504  /50x.html;
     location = /50x.html {

+ 7 - 0
src/views/business/production/salary/form.vue

@@ -495,6 +495,13 @@ function open(detail) {
 function loadData() {
   getDetail(form.value).then((res) => {
     form.value = { ...proxy.deepClone(emptyForm), ...res.data };
+    res.data.details.forEach(item =>{
+      form.value.details.forEach(item2 =>{
+        if(item.employeeName == item2.employeeName ){
+          item2.currentIndividualIncomeTax = item.individualIncomeTaxConfirm;
+        }
+      })
+    })
     if (form.value.status === 2 || form.value.status === 3) {
       proxy.$modal.msgError("该工资信息已提交待审核");
       close();