17613754660 пре 3 година
родитељ
комит
6b2ba9139e

+ 2 - 2
fhKeeper/formulahousekeeper/timesheet/config/index.js

@@ -1,8 +1,8 @@
 var path = require('path')
 
-//  var ip = '127.0.0.1'
+ var ip = '127.0.0.1'
 // var ip = '192.168.2.36'
-var ip = '47.100.37.243' 
+// var ip = '47.100.37.243' 
 
 // var os = require('os'), ip = '', ifaces = os.networkInterfaces() // 获取本机ip
 

+ 2 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/team/index.vue

@@ -513,8 +513,9 @@
                 if (this.handleSelectionZzjgwillchange == null) {
                     return
                 }
-                this.handleSelectionZzjgDate[index].departmentId = this.handleSelectionZzjgwillchange[this.handleSelectionZzjgwillchange.length - 1]
+                
                 for (let index = 0; index < this.handleSelectionZzjgDate.length; index++) {
+                    this.handleSelectionZzjgDate[index].departmentId = this.handleSelectionZzjgwillchange[this.handleSelectionZzjgwillchange.length - 1]
                     if (this.handleSelectionZzjgDate[index].role == 1) {
                         this.submitInsert1(this.handleSelectionZzjgDate[index],1)
                     }else{