fengxu 1 жил өмнө
parent
commit
c4b0a1e955

+ 8 - 2
cokingCoal/js/humanResources.js

@@ -413,7 +413,7 @@ let app = new Vue({
     beforeCreate() {
         // 跳转地址
         let AddUrl = location.protocol + "//" + location.host + "/ierp"
-        return
+        // return
         if (!window.location.search) {
             // alert("链接已失效,请重新打开")
             window.location.href = AddUrl
@@ -2630,8 +2630,14 @@ let app = new Vue({
             fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/RecruitType", data).then(res => {
                 if (res) {
                     res.data.forEach(item => {
+                        if(item.key == "一线"){
+                            that.recruitTypeList[2] = item.value
+                        } else if(item.key == "地面"){
+                            that.recruitTypeList[0] = item.value
+                        } else if(item.key == "辅助"){
+                            that.recruitTypeList[1] = item.value
+                        }
                         that.recruitTypeMax += item.value
-                        that.recruitTypeList.push(item.value)
                     })
                 }
             })

+ 1 - 1
cokingCoal/js/newIndex.js

@@ -513,7 +513,7 @@ let app = new Vue({
         // 跳转地址
         setTimeout(() => {
             let AddUrl = location.protocol + "//" + location.host + "/ierp"
-            return
+            // return
             if (!window.location.search) {
                 // alert("链接已失效,请重新打开")
                 window.location.href = AddUrl

+ 1 - 1
cokingCoal/js/request.js

@@ -13,7 +13,7 @@ function isLocalEnv() {
 }
 
 
-window.apiType = "uat"  // dev 本地测试 ,  sit  线上测试  uat  客户测试环境 prod  正式环境
+window.apiType = "sit"  // dev 本地测试 ,  sit  线上测试  uat  客户测试环境 prod  正式环境
 // if(window.location.search){
 //   apiType = window.location.search.split("=")[1]
 // }