|
@@ -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)
|
|
|
})
|
|
|
}
|
|
|
})
|