flat:赞存
This commit is contained in:
@@ -47,7 +47,9 @@ import { getCaptcha } from "@/api/user";
|
|||||||
|
|
||||||
console.log('是否跳转', /(^http)(s?):\/\/([a-z0-9].+)\/manage(\/)?$/i.test(location.href), location.href)
|
console.log('是否跳转', /(^http)(s?):\/\/([a-z0-9].+)\/manage(\/)?$/i.test(location.href), location.href)
|
||||||
if (/(^http)(s?):\/\/([a-z0-9].+)\/manage(\/)?$/i.test(location.href)) {
|
if (/(^http)(s?):\/\/([a-z0-9].+)\/manage(\/)?$/i.test(location.href)) {
|
||||||
// window.location.href = process.env.VUE_APP_LOGIN_NEXT
|
if (process.env.NODE_ENV !== "development") {
|
||||||
|
window.location.href = process.env.VUE_APP_LOGIN_NEXT;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (/(\/login\?)(.*)/ig.test(location.href)) {
|
if (/(\/login\?)(.*)/ig.test(location.href)) {
|
||||||
const obj = {}
|
const obj = {}
|
||||||
|
|||||||
@@ -94,7 +94,9 @@ service.interceptors.response.use(
|
|||||||
//如果是401则跳转到登录页面
|
//如果是401则跳转到登录页面
|
||||||
if (status === 401) {
|
if (status === 401) {
|
||||||
store.dispatch("FedLogOut").then(() => {
|
store.dispatch("FedLogOut").then(() => {
|
||||||
// window.location.href = process.env.VUE_APP_LOGIN_NEXT;
|
if (process.env.NODE_ENV !== "development") {
|
||||||
|
window.location.href = process.env.VUE_APP_LOGIN_NEXT;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
// store.dispatch('FedLogOut').then(() => router.push({path: '/login'}));
|
// store.dispatch('FedLogOut').then(() => router.push({path: '/login'}));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ export default {
|
|||||||
get() {
|
get() {
|
||||||
let name = this.selectInfo ? this.selectInfo.name : null;
|
let name = this.selectInfo ? this.selectInfo.name : null;
|
||||||
if (name) name = name.trim()
|
if (name) name = name.trim()
|
||||||
if (['潜在就业困难人员', '潜在登记失业人员'].some(item => item === name)) {
|
if (['潜在就业困难人员', '潜在登记失业人员', "潜在的就业困难退出人员"].some(item => item === name)) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
<el-radio :label="0">否</el-radio>
|
<el-radio :label="0">否</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="是否退出" label-width="180px" v-show="fieldVisibility.isExit">
|
<el-form-item :label="fieldVisibility.isExitTitle" label-width="180px" v-show="fieldVisibility.isExit">
|
||||||
<el-radio-group v-model="phoneForm.isExit">
|
<el-radio-group v-model="phoneForm.isExit">
|
||||||
<el-radio :label="1">是</el-radio>
|
<el-radio :label="1">是</el-radio>
|
||||||
<el-radio :label="0">否</el-radio>
|
<el-radio :label="0">否</el-radio>
|
||||||
@@ -59,8 +59,8 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="拒绝服务有无正当理由" label-width="180px" v-show="fieldVisibility.isJustCase">
|
<el-form-item label="拒绝服务有无正当理由" label-width="180px" v-show="fieldVisibility.isJustCase">
|
||||||
<el-radio-group v-model="phoneForm.isJustCase">
|
<el-radio-group v-model="phoneForm.isJustCase">
|
||||||
<el-radio :label="1">是</el-radio>
|
<el-radio :label="1">有</el-radio>
|
||||||
<el-radio :label="0">否</el-radio>
|
<el-radio :label="0">无</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item :label="fieldVisibility.exitReasonTitle" label-width="180px" v-show="fieldVisibility.exitReason">
|
<el-form-item :label="fieldVisibility.exitReasonTitle" label-width="180px" v-show="fieldVisibility.exitReason">
|
||||||
@@ -387,7 +387,12 @@ export default {
|
|||||||
serveId: _this.serveId,
|
serveId: _this.serveId,
|
||||||
serveUserId: _this.item.serveUserId,
|
serveUserId: _this.item.serveUserId,
|
||||||
}
|
}
|
||||||
|
// console.log(this.phoneForm.list)
|
||||||
if (/^1[3-9]{1}\d{9}/.test(this.phoneForm.phone)) params.phone = this.phoneForm.phone;
|
if (/^1[3-9]{1}\d{9}/.test(this.phoneForm.phone)) params.phone = this.phoneForm.phone;
|
||||||
|
if (this.phoneForm.list.length) {
|
||||||
|
const info = this.phoneForm.list[0]
|
||||||
|
params.phone = info.PHONE
|
||||||
|
}
|
||||||
if (params.phone) {
|
if (params.phone) {
|
||||||
this.$confirm(`请同步更改省就业3.0系统中的人员联系方式`, {
|
this.$confirm(`请同步更改省就业3.0系统中的人员联系方式`, {
|
||||||
confirmButtonText: "确定",
|
confirmButtonText: "确定",
|
||||||
@@ -487,7 +492,7 @@ export default {
|
|||||||
window.open('http://10.160.7.100:8000/jyback/template/general.html#/generalPage?_modulePartId_=1000076072', '_blank');
|
window.open('http://10.160.7.100:8000/jyback/template/general.html#/generalPage?_modulePartId_=1000076072', '_blank');
|
||||||
break
|
break
|
||||||
case name === '潜在的就业困难退出人员' && _this.phoneForm.isExit === 1:
|
case name === '潜在的就业困难退出人员' && _this.phoneForm.isExit === 1:
|
||||||
window.open('http://10.160.7.100:8000/jyback/template/general.html#/generalPage?_modulePartId_=1000076072', '_blank');
|
window.open('http://10.160.7.100:8000/jyback/template/general.html#/generalPage?_modulePartId_=1000241637', '_blank');
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
_this.handlePhoneClose(); // 关闭弹窗
|
_this.handlePhoneClose(); // 关闭弹窗
|
||||||
|
|||||||
@@ -10,23 +10,23 @@ const allFieldsHidden = {
|
|||||||
workSkillTwo: false, // 第二求职意愿
|
workSkillTwo: false, // 第二求职意愿
|
||||||
workPlace: false, // 就业区县
|
workPlace: false, // 就业区县
|
||||||
exitReason: false, // 不退出原因
|
exitReason: false, // 不退出原因
|
||||||
exitReasonTitle: "不退出原因",
|
isExitTitle: "是否退出",
|
||||||
|
exitReasonTitle: "退出原因",
|
||||||
rejectReason: false, // 拒绝服务理由
|
rejectReason: false, // 拒绝服务理由
|
||||||
rejectResonUrl: false, // 文件佐证资料上传
|
rejectResonUrl: false, // 文件佐证资料上传
|
||||||
regmanage: false, // 失业登记管理<按钮>
|
regmanage: false, // 失业登记管理<按钮>
|
||||||
PersonalBaseInfo: false // 个人基础信息修改<按钮>
|
PersonalBaseInfo: true // 个人基础信息修改<按钮>
|
||||||
};
|
};
|
||||||
|
|
||||||
const categoryVisibilityRules = {
|
const categoryVisibilityRules = {
|
||||||
潜在可享受职业培训政策人员: form => {
|
潜在可享受职业培训政策人员: form => {
|
||||||
const showTrain = form.isServe === 1; // 联动规则
|
// const showTrain = form.isServe === 1; // 联动规则
|
||||||
// 需要先全部隐藏,再打开需要的
|
// 需要先全部隐藏,再打开需要的
|
||||||
return {
|
return {
|
||||||
...allFieldsHidden,
|
...allFieldsHidden,
|
||||||
isServe: true,
|
isServe: true,
|
||||||
regmanage: true,
|
regmanage: false,
|
||||||
PersonalBaseInfo: true,
|
isTrain: false
|
||||||
isTrain: showTrain
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -40,7 +40,6 @@ const categoryVisibilityRules = {
|
|||||||
isServe: showServe,
|
isServe: showServe,
|
||||||
isTrain: showTrain,
|
isTrain: showTrain,
|
||||||
isWork: true,
|
isWork: true,
|
||||||
PersonalBaseInfo: false,
|
|
||||||
salary: showTrain,
|
salary: showTrain,
|
||||||
workSkillOne: showTrain,
|
workSkillOne: showTrain,
|
||||||
workSkillTwo: showTrain,
|
workSkillTwo: showTrain,
|
||||||
@@ -50,12 +49,14 @@ const categoryVisibilityRules = {
|
|||||||
|
|
||||||
潜在的就业困难退出人员: form => {
|
潜在的就业困难退出人员: form => {
|
||||||
const showExitReason = form.isExit === 0;
|
const showExitReason = form.isExit === 0;
|
||||||
|
const exitReasonTitle = form.isExit === 0 ? "不退出原因" : "退出原因";
|
||||||
|
|
||||||
return {
|
return {
|
||||||
...allFieldsHidden,
|
...allFieldsHidden,
|
||||||
isExit: true,
|
isExit: true,
|
||||||
exitReason: showExitReason,
|
exitReason: showExitReason,
|
||||||
exitReasonTitle: "是否应退出就业困难人群"
|
exitReasonTitle,
|
||||||
|
isExitTitle: "是否应退出就业困难人群"
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -68,7 +69,6 @@ const categoryVisibilityRules = {
|
|||||||
isServe: showServe,
|
isServe: showServe,
|
||||||
isTrain: showTrain,
|
isTrain: showTrain,
|
||||||
isWork: true,
|
isWork: true,
|
||||||
PersonalBaseInfo: true,
|
|
||||||
salary: showTrain,
|
salary: showTrain,
|
||||||
workSkillOne: showTrain,
|
workSkillOne: showTrain,
|
||||||
workSkillTwo: showTrain,
|
workSkillTwo: showTrain,
|
||||||
@@ -86,7 +86,6 @@ const categoryVisibilityRules = {
|
|||||||
isServe: showServe,
|
isServe: showServe,
|
||||||
isTrain: showTrain,
|
isTrain: showTrain,
|
||||||
isWork: true,
|
isWork: true,
|
||||||
PersonalBaseInfo: false,
|
|
||||||
salary: showTrain,
|
salary: showTrain,
|
||||||
workSkillOne: showTrain,
|
workSkillOne: showTrain,
|
||||||
workSkillTwo: showTrain,
|
workSkillTwo: showTrain,
|
||||||
@@ -101,7 +100,7 @@ const categoryVisibilityRules = {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
领取失业补助金人员: form => {
|
失业保险金申领人员: form => {
|
||||||
const showReason = form.isReject === 1;
|
const showReason = form.isReject === 1;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user