优化
This commit is contained in:
@@ -24,7 +24,7 @@ export const orderGoods = [
|
|||||||
export const timeStatus = [
|
export const timeStatus = [
|
||||||
{ value: 0, label: "开始时间" },
|
{ value: 0, label: "开始时间" },
|
||||||
{ value: 1, label: "结束时间" },
|
{ value: 1, label: "结束时间" },
|
||||||
{ value: 2, label: "截止时间" },
|
// { value: 2, label: "截止时间" },
|
||||||
];
|
];
|
||||||
export const jobStatus = [
|
export const jobStatus = [
|
||||||
// { value: "", label: "全部" },
|
// { value: "", label: "全部" },
|
||||||
@@ -71,10 +71,10 @@ export const companyMissionState = [
|
|||||||
{ value: 4, label: "已失效" },
|
{ value: 4, label: "已失效" },
|
||||||
];
|
];
|
||||||
export const companyPostState = [
|
export const companyPostState = [
|
||||||
{ value: 1, label: "在招" },
|
{ value: 1, label: "招聘中" },
|
||||||
{ value: 2, label: "已招" },
|
// { value: 2, label: "已招" },
|
||||||
{ value: 3, label: "过期" },
|
{ value: 3, label: "已完成" },
|
||||||
{ value: 4, label: "未正式发布" },
|
{ value: 4, label: "未发布" },
|
||||||
];
|
];
|
||||||
//电子签章管理
|
//电子签章管理
|
||||||
export const esignatureState = [
|
export const esignatureState = [
|
||||||
@@ -347,4 +347,8 @@ export const serviceType = [
|
|||||||
label: "个人标签",
|
label: "个人标签",
|
||||||
value: 1,
|
value: 1,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: "服务标签",
|
||||||
|
value: 2,
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -333,10 +333,10 @@ export default {
|
|||||||
span: 24,
|
span: 24,
|
||||||
width: 80,
|
width: 80,
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
label:"备注",
|
// label:"备注",
|
||||||
prop:"remarks"
|
// prop:"remarks"
|
||||||
}
|
// }
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
data: [],
|
data: [],
|
||||||
|
|||||||
@@ -17,8 +17,8 @@
|
|||||||
<span class="smallTitle">招聘中</span>{{ taskGather.recruitCount }}
|
<span class="smallTitle">招聘中</span>{{ taskGather.recruitCount }}
|
||||||
<!-- <span class="smallTitle">任务中</span>{{taskGather.startCount}} -->
|
<!-- <span class="smallTitle">任务中</span>{{taskGather.startCount}} -->
|
||||||
<span class="smallTitle">已完成</span>{{ taskGather.completCount }}
|
<span class="smallTitle">已完成</span>{{ taskGather.completCount }}
|
||||||
<span class="smallTitle">已失效</span>{{ taskGather.invalidCount }}
|
<!-- <span class="smallTitle">已失效</span>{{ taskGather.invalidCount }} -->
|
||||||
<span class="smallTitle">审核未通过</span>{{ taskGather.rejectCount }}
|
<span class="smallTitle">未发布</span>{{ taskGather.rejectCount }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -178,9 +178,9 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
detailInfoInit() {
|
detailInfoInit() {
|
||||||
detailInfo().then(res => {
|
// detailInfo().then(res => {
|
||||||
this.taskDetail = res.data.data
|
// this.taskDetail = res.data.data
|
||||||
})
|
// })
|
||||||
},
|
},
|
||||||
radioGroup(v) {
|
radioGroup(v) {
|
||||||
setStore({ name: 'taskStatus', content: v, type: 'session' })
|
setStore({ name: 'taskStatus', content: v, type: 'session' })
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ export default {
|
|||||||
case 4:
|
case 4:
|
||||||
return '已失效'
|
return '已失效'
|
||||||
case 9:
|
case 9:
|
||||||
return '审核未通过'
|
return '未发布'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -142,22 +142,22 @@ export default {
|
|||||||
label: "录用人数",
|
label: "录用人数",
|
||||||
prop: "employedCount",
|
prop: "employedCount",
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
label: "发工资人数",
|
// label: "发工资人数",
|
||||||
prop: "userPayCount",
|
// prop: "userPayCount",
|
||||||
},
|
// },
|
||||||
|
|
||||||
{
|
{
|
||||||
label: "工资",
|
label: "参考工资",
|
||||||
prop: "wage",
|
prop: "wage",
|
||||||
slot: true
|
slot: true
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
label: "报名截止日期",
|
// label: "报名截止日期",
|
||||||
prop: "etimePub",
|
// prop: "etimePub",
|
||||||
slot: true,
|
// slot: true,
|
||||||
display: false,
|
// display: false,
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
label: "开始时间",
|
label: "开始时间",
|
||||||
prop: "stime",
|
prop: "stime",
|
||||||
|
|||||||
@@ -93,22 +93,22 @@ export default {
|
|||||||
prop: "recruitCount",
|
prop: "recruitCount",
|
||||||
display: false,
|
display: false,
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
label: "任务中",
|
// label: "任务中",
|
||||||
prop: "startCount",
|
// prop: "startCount",
|
||||||
display: false,
|
// display: false,
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
label: "已完成",
|
label: "已完成",
|
||||||
prop: "completCount",
|
prop: "completCount",
|
||||||
display: false,
|
display: false,
|
||||||
},
|
},
|
||||||
|
// {
|
||||||
|
// label: "已失效",
|
||||||
|
// prop: "invalidCount",
|
||||||
|
// },
|
||||||
{
|
{
|
||||||
label: "已失效",
|
label: "未发布",
|
||||||
prop: "invalidCount",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "审核未通过",
|
|
||||||
prop: "rejectCount",
|
prop: "rejectCount",
|
||||||
display: false,
|
display: false,
|
||||||
},
|
},
|
||||||
@@ -134,7 +134,7 @@ export default {
|
|||||||
// display: false,
|
// display: false,
|
||||||
// },
|
// },
|
||||||
{
|
{
|
||||||
label: "最新发布岗位时间",
|
label: "发布时间",
|
||||||
prop: "openTime",
|
prop: "openTime",
|
||||||
slot: true,
|
slot: true,
|
||||||
display: false
|
display: false
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
<el-select v-model="query.type" placeholder="请选择搜索时间类型">
|
<el-select v-model="query.type" placeholder="请选择搜索时间类型">
|
||||||
<el-option label="岗位开始日期" :value="0"></el-option>
|
<el-option label="岗位开始日期" :value="0"></el-option>
|
||||||
<el-option label="岗位结束日期" :value="2"></el-option>
|
<el-option label="岗位结束日期" :value="2"></el-option>
|
||||||
<el-option label="报名截止日期" :value="3"></el-option>
|
<!-- <el-option label="报名截止日期" :value="3"></el-option> -->
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
@@ -270,6 +270,7 @@ export default {
|
|||||||
searchSpan: 5,
|
searchSpan: 5,
|
||||||
display: false,
|
display: false,
|
||||||
minWidth: 70,
|
minWidth: 70,
|
||||||
|
hide: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "",
|
label: "",
|
||||||
@@ -292,6 +293,7 @@ export default {
|
|||||||
type: "date",
|
type: "date",
|
||||||
display: false,
|
display: false,
|
||||||
minWidth: 100,
|
minWidth: 100,
|
||||||
|
hide: true,
|
||||||
format: "yyyy-MM-dd",
|
format: "yyyy-MM-dd",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -302,6 +304,7 @@ export default {
|
|||||||
searchSpan: 5,
|
searchSpan: 5,
|
||||||
display: false,
|
display: false,
|
||||||
minWidth: 100,
|
minWidth: 100,
|
||||||
|
hide: true,
|
||||||
format: "yyyy-MM-dd",
|
format: "yyyy-MM-dd",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -319,6 +322,7 @@ export default {
|
|||||||
dicData: wageUnitCategoryState,
|
dicData: wageUnitCategoryState,
|
||||||
searchSpan: 5,
|
searchSpan: 5,
|
||||||
display: false,
|
display: false,
|
||||||
|
hide: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "岗位状态",
|
label: "岗位状态",
|
||||||
@@ -329,10 +333,10 @@ export default {
|
|||||||
span: 24,
|
span: 24,
|
||||||
width: 80,
|
width: 80,
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
label:"备注",
|
// label:"备注",
|
||||||
prop:"jobDescription"
|
// prop:"jobDescription"
|
||||||
}
|
// }
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
data: [],
|
data: [],
|
||||||
|
|||||||
@@ -53,8 +53,8 @@
|
|||||||
<!--搜索栏-->
|
<!--搜索栏-->
|
||||||
<el-form size="small" label-position="right" :inline="true" style="padding-left: 10px; padding-right: 10px">
|
<el-form size="small" label-position="right" :inline="true" style="padding-left: 10px; padding-right: 10px">
|
||||||
<el-row :span="24">
|
<el-row :span="24">
|
||||||
<el-form-item label="标签:">
|
<el-form-item label="标签名称:">
|
||||||
<el-input v-model="query.name" placeholder="标签" clearable></el-input>
|
<el-input v-model="query.name" placeholder="标签名称" clearable></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="服务类型:">
|
<el-form-item label="服务类型:">
|
||||||
<el-select v-model="query.stype" placeholder="服务类型" style="width: 100%" filterable clearable>
|
<el-select v-model="query.stype" placeholder="服务类型" style="width: 100%" filterable clearable>
|
||||||
@@ -290,7 +290,7 @@ export default {
|
|||||||
};
|
};
|
||||||
return {
|
return {
|
||||||
height: "auto",
|
height: "auto",
|
||||||
dialogWidth: "30%",
|
dialogWidth: "50%",
|
||||||
calcHeight: 180,
|
calcHeight: 180,
|
||||||
align: "center",
|
align: "center",
|
||||||
menuAlign: "center",
|
menuAlign: "center",
|
||||||
@@ -304,11 +304,11 @@ export default {
|
|||||||
index: true,
|
index: true,
|
||||||
indexLabel: "序号",
|
indexLabel: "序号",
|
||||||
selection: true,
|
selection: true,
|
||||||
dialogType: "dialog",
|
dialogType: "drawer",
|
||||||
dialogClickModal: false,
|
dialogClickModal: false,
|
||||||
column: [
|
column: [
|
||||||
{
|
{
|
||||||
label: "标签",
|
label: "标签名称",
|
||||||
prop: "name",
|
prop: "name",
|
||||||
// search: true,
|
// search: true,
|
||||||
span: 24,
|
span: 24,
|
||||||
|
|||||||
@@ -879,8 +879,10 @@ export default {
|
|||||||
},
|
},
|
||||||
//工种
|
//工种
|
||||||
handleSelectWorkType(item){
|
handleSelectWorkType(item){
|
||||||
|
console.log('222222')
|
||||||
this.workTypeBtnState = true;
|
this.workTypeBtnState = true;
|
||||||
this.obj.worktypeIds = item.id;
|
this.obj.worktypeIds = item.id;
|
||||||
|
console.log(item)
|
||||||
},
|
},
|
||||||
//点击行业类型添加按钮
|
//点击行业类型添加按钮
|
||||||
handleIconClick() {
|
handleIconClick() {
|
||||||
|
|||||||
@@ -112,6 +112,7 @@ import { mapGetters } from "vuex";
|
|||||||
import { dateFormat } from "@/util/date";
|
import { dateFormat } from "@/util/date";
|
||||||
import { getTemplate } from "@/api/resource/template";
|
import { getTemplate } from "@/api/resource/template";
|
||||||
import saveButton from "./saveButton";
|
import saveButton from "./saveButton";
|
||||||
|
import { missionState } from "@/common/dic";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
@@ -262,7 +263,14 @@ export default {
|
|||||||
display: false,
|
display: false,
|
||||||
width: 110,
|
width: 110,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: "状态",
|
||||||
|
prop: "status",
|
||||||
|
// slot: true,
|
||||||
|
dicData: missionState,
|
||||||
|
display: false,
|
||||||
|
// width: 200,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: "提示",
|
label: "提示",
|
||||||
prop: "toStart",
|
prop: "toStart",
|
||||||
@@ -270,6 +278,7 @@ export default {
|
|||||||
display: false,
|
display: false,
|
||||||
width: 200,
|
width: 200,
|
||||||
},
|
},
|
||||||
|
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -422,34 +422,8 @@ export default {
|
|||||||
{ validator: validatePass, trigger: 'blur' }
|
{ validator: validatePass, trigger: 'blur' }
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
// {
|
|
||||||
// label: "发布时间",
|
|
||||||
// prop: "etimePub",
|
|
||||||
// type: "date",
|
|
||||||
// placeholder: "请选择报名截止日期",
|
|
||||||
// format: "yyyy-MM-dd",
|
|
||||||
// valueFormat: "yyyy-MM-dd 23:59:59",
|
|
||||||
// pickerOptions: {
|
|
||||||
// disabledDate(time) {
|
|
||||||
// return !(
|
|
||||||
// time.getTime() > Date.now() - 8.64e7&&
|
|
||||||
// (!self.startTime || time.getTime() < self.startTime) &&
|
|
||||||
// (!self.endTime || time.getTime() < self.endTime)
|
|
||||||
// );
|
|
||||||
// },
|
|
||||||
// },
|
|
||||||
// rules: [
|
|
||||||
// {
|
|
||||||
// required: true,
|
|
||||||
// message: "请选择报名截止日期",
|
|
||||||
// trigger: "blur",
|
|
||||||
// },
|
|
||||||
// ],
|
|
||||||
// span: 10,
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
label: "发布时间",
|
label: "发布时间",
|
||||||
// labelWidth: 0,
|
|
||||||
prop: "stime",
|
prop: "stime",
|
||||||
type: "date",
|
type: "date",
|
||||||
placeholder: "请选择岗位开始日期",
|
placeholder: "请选择岗位开始日期",
|
||||||
@@ -471,10 +445,6 @@ export default {
|
|||||||
if(value){
|
if(value){
|
||||||
self.stimeDate=value.split(' ')[0]
|
self.stimeDate=value.split(' ')[0]
|
||||||
self.endTimeFlag=false
|
self.endTimeFlag=false
|
||||||
// let date=value.split(' ')[0]
|
|
||||||
// getMounthDays(date).then(res=>{
|
|
||||||
// self.days=res.data.data;
|
|
||||||
// })
|
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
self.endTimeFlag=true
|
self.endTimeFlag=true
|
||||||
@@ -490,41 +460,44 @@ export default {
|
|||||||
],
|
],
|
||||||
span: 12,
|
span: 12,
|
||||||
},
|
},
|
||||||
// {
|
{
|
||||||
// label: "",
|
label: "结束时间",
|
||||||
// labelWidth: 0,
|
prop: "etime",
|
||||||
// prop: "etime",
|
type: "date",
|
||||||
// type: "date",
|
placeholder: "请选择岗位结束日期",
|
||||||
// placeholder: "请选择岗位结束日期",
|
format: "yyyy-MM-dd",
|
||||||
// format: "yyyy-MM-dd",
|
valueFormat: "yyyy-MM-dd 00:00:00",
|
||||||
// valueFormat: "yyyy-MM-dd 23:59:59",
|
// pickerOptions: {
|
||||||
// disabled:self.endTimeFlag,
|
// disabledDate(time) {
|
||||||
// pickerOptions: {
|
// return !(
|
||||||
// disabledDate(time) {
|
// time.getTime() > Date.now() &&
|
||||||
// if(!self.obj.stime){
|
// (!self.endTime ||
|
||||||
// return true
|
// (time.getTime() < self.endTime &&
|
||||||
// }
|
// time.getTime() > self.endTime - 2678400000)) &&
|
||||||
// if(self.days){
|
// (!self.siginTime || time.getTime() > self.siginTime)
|
||||||
// let mutiply=1000*60*60*24;
|
// );
|
||||||
// return !(
|
// },
|
||||||
// time.getTime() > Date.now() &&
|
// },
|
||||||
// (!self.startTime ||
|
// change:({value})=>{
|
||||||
// (time.getTime() > self.startTime &&
|
// self.obj.etime='';
|
||||||
// time.getTime() < self.startTime + self.days*mutiply))
|
// if(value){
|
||||||
// );
|
// self.etimeDate=value.split(' ')[0]
|
||||||
// }
|
// self.endTimeFlag=false
|
||||||
|
// }
|
||||||
|
// else{
|
||||||
|
// self.endTimeFlag=true
|
||||||
|
// }
|
||||||
|
// },
|
||||||
|
|
||||||
// },
|
rules: [
|
||||||
// },
|
{
|
||||||
// rules: [
|
required: true,
|
||||||
// {
|
message: "请选择岗位结束日期",
|
||||||
// required: true,
|
trigger: "blur",
|
||||||
// message: "请选择岗位结束日期",
|
},
|
||||||
// trigger: "blur",
|
],
|
||||||
// },
|
span: 12,
|
||||||
// ],
|
},
|
||||||
// span: 7,
|
|
||||||
// },
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -559,8 +532,6 @@ export default {
|
|||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
// whitespace: true,
|
|
||||||
// validator: wage,
|
|
||||||
trigger: "blur",
|
trigger: "blur",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -572,12 +543,6 @@ export default {
|
|||||||
formslot: true,
|
formslot: true,
|
||||||
labelslot: false,
|
labelslot: false,
|
||||||
errorslot: false,
|
errorslot: false,
|
||||||
// type: "tree",
|
|
||||||
// dicData: self.tradeData,
|
|
||||||
// props: {
|
|
||||||
// label: "name",
|
|
||||||
// value: "id",
|
|
||||||
// },
|
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
@@ -593,7 +558,6 @@ export default {
|
|||||||
type: "tree",
|
type: "tree",
|
||||||
search: true,
|
search: true,
|
||||||
display: true,
|
display: true,
|
||||||
// width: '150',
|
|
||||||
dicUrl: `/api/jobslink-api/tenant/worktypes/base/list?type=2`,
|
dicUrl: `/api/jobslink-api/tenant/worktypes/base/list?type=2`,
|
||||||
dicFormatter: (res) => {
|
dicFormatter: (res) => {
|
||||||
return res.data; //返回字典的层级结构
|
return res.data; //返回字典的层级结构
|
||||||
@@ -605,37 +569,12 @@ export default {
|
|||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
// validator: workType,
|
|
||||||
message: "请输入岗位名",
|
message: "请输入岗位名",
|
||||||
// trigger: ["change", "blur"],
|
|
||||||
trigger: "blur",
|
trigger: "blur",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
// dicData: self.workData,
|
|
||||||
// props: {
|
|
||||||
// label: "name",
|
|
||||||
// value: "id",
|
|
||||||
// },
|
|
||||||
// rules: [
|
|
||||||
// {
|
|
||||||
// required: true,
|
|
||||||
// message: "请选择工种",
|
|
||||||
// trigger: ["change"],
|
|
||||||
// },
|
|
||||||
// ],
|
|
||||||
span: 12,
|
span: 12,
|
||||||
},
|
},
|
||||||
// {
|
|
||||||
// label: "技能要求",
|
|
||||||
// prop: "skillIds",
|
|
||||||
// formslot: true,
|
|
||||||
// labelslot: false,
|
|
||||||
// errorslot: false,
|
|
||||||
// rules: [
|
|
||||||
// { required: true, validator: skill, trigger: "change" },
|
|
||||||
// ],
|
|
||||||
// span: 24,
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
label: "岗位描述",
|
label: "岗位描述",
|
||||||
prop: "jobDescription",
|
prop: "jobDescription",
|
||||||
@@ -685,15 +624,6 @@ export default {
|
|||||||
],
|
],
|
||||||
span: 8,
|
span: 8,
|
||||||
},
|
},
|
||||||
// {
|
|
||||||
// label: "性别要求",
|
|
||||||
// type: "radio",
|
|
||||||
// prop: "sex",
|
|
||||||
// dicData: genderState,
|
|
||||||
// span: 10,
|
|
||||||
// offset: 6,
|
|
||||||
// clearable: false,
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
label: "年龄要求",
|
label: "年龄要求",
|
||||||
type: "select",
|
type: "select",
|
||||||
@@ -1011,45 +941,45 @@ export default {
|
|||||||
|
|
||||||
},
|
},
|
||||||
//点击工种添加按钮
|
//点击工种添加按钮
|
||||||
handleIconClickWorkType() {
|
// handleIconClickWorkType() {
|
||||||
this.$message.closeAll();
|
// this.$message.closeAll();
|
||||||
let nameState = this.workDataNameAttr.indexOf(this.workTypeState)
|
// let nameState = this.workDataNameAttr.indexOf(this.workTypeState)
|
||||||
if(this.workTypeState == ""){
|
// if(this.workTypeState == ""){
|
||||||
this.$message({
|
// this.$message({
|
||||||
type: "error",
|
// type: "error",
|
||||||
message: "请输入要添加的工种!",
|
// message: "请输入要添加的工种!",
|
||||||
})
|
// })
|
||||||
}else if(nameState != -1){
|
// }else if(nameState != -1){
|
||||||
this.$message({
|
// this.$message({
|
||||||
type: "error",
|
// type: "error",
|
||||||
message: "此工种已存在,请在列表中选择!",
|
// message: "此工种已存在,请在列表中选择!",
|
||||||
})
|
// })
|
||||||
}else{
|
// }else{
|
||||||
workListAdd(this.obj.tradeId,this.workTypeState).then((res) =>{
|
// workListAdd(this.obj.tradeId,this.workTypeState).then((res) =>{
|
||||||
if(res.data.code == 200){
|
// if(res.data.code == 200){
|
||||||
this.obj.worktypeIds = res.data.data;
|
// this.obj.worktypeIds = res.data.data;
|
||||||
this.$message({
|
// this.$message({
|
||||||
type: "success",
|
// type: "success",
|
||||||
message: res.data.msg,
|
// message: res.data.msg,
|
||||||
})
|
// })
|
||||||
this.workTypeBtnState = true;
|
// this.workTypeBtnState = true;
|
||||||
this.clearValidator('worktypeIds');
|
// this.clearValidator('worktypeIds');
|
||||||
getWork(this.obj.tradeId).then((res) => {
|
// getWork(this.obj.tradeId).then((res) => {
|
||||||
this.workData = res;
|
// this.workData = res;
|
||||||
this.workDataNameAttr = res.map((ele)=>{
|
// this.workDataNameAttr = res.map((ele)=>{
|
||||||
return ele.name
|
// return ele.name
|
||||||
})
|
// })
|
||||||
})
|
// })
|
||||||
}else{
|
// }else{
|
||||||
this.$message({
|
// this.$message({
|
||||||
type: "error",
|
// type: "error",
|
||||||
message: res.data.msg,
|
// message: res.data.msg,
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
}
|
// }
|
||||||
|
|
||||||
},
|
// },
|
||||||
//
|
//
|
||||||
addressDel(){
|
addressDel(){
|
||||||
this.obj.address = "";
|
this.obj.address = "";
|
||||||
@@ -1229,8 +1159,8 @@ export default {
|
|||||||
if(type!='edit'){
|
if(type!='edit'){
|
||||||
getLastTaskInfo().then(res=>{
|
getLastTaskInfo().then(res=>{
|
||||||
const data=res.data.data;
|
const data=res.data.data;
|
||||||
this.obj.callName=data.callName;
|
// this.obj.callName=data.callName;
|
||||||
this.obj.callTel=data.callTel;
|
// this.obj.callTel=data.callTel;
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1288,12 +1218,12 @@ export default {
|
|||||||
})
|
})
|
||||||
// 判断有无此技能
|
// 判断有无此技能
|
||||||
if(newSelectedSkills.length == 0){
|
if(newSelectedSkills.length == 0){
|
||||||
setTimeout(()=>{
|
// setTimeout(()=>{
|
||||||
this.$message({
|
// this.$message({
|
||||||
type: "error",
|
// type: "error",
|
||||||
message: "此岗位所包含技能已经不存在,请重新选择!",
|
// message: "此岗位所包含技能已经不存在,请重新选择!",
|
||||||
})
|
// })
|
||||||
},1000);
|
// },1000);
|
||||||
}else{
|
}else{
|
||||||
this.selectedSkills = newSelectedSkills;
|
this.selectedSkills = newSelectedSkills;
|
||||||
}
|
}
|
||||||
@@ -1330,12 +1260,12 @@ export default {
|
|||||||
if(tradeIdState == -1){
|
if(tradeIdState == -1){
|
||||||
this.$message.closeAll();
|
this.$message.closeAll();
|
||||||
this.obj.tradeId = "";
|
this.obj.tradeId = "";
|
||||||
setTimeout(()=>{
|
// setTimeout(()=>{
|
||||||
this.$message({
|
// this.$message({
|
||||||
type: "error",
|
// type: "error",
|
||||||
message: "此岗位所包含行业已经不存在,请重新选择!",
|
// message: "此岗位所包含行业已经不存在,请重新选择!",
|
||||||
})
|
// })
|
||||||
},1000);
|
// },1000);
|
||||||
}else{
|
}else{
|
||||||
this.tradeState = this.obj.tradeNames;
|
this.tradeState = this.obj.tradeNames;
|
||||||
//判断有无此工种
|
//判断有无此工种
|
||||||
@@ -1349,12 +1279,12 @@ export default {
|
|||||||
if(workDataIdState == -1){
|
if(workDataIdState == -1){
|
||||||
this.$message.closeAll();
|
this.$message.closeAll();
|
||||||
this.obj.worktypeIds = "";
|
this.obj.worktypeIds = "";
|
||||||
setTimeout(()=>{
|
// setTimeout(()=>{
|
||||||
this.$message({
|
// this.$message({
|
||||||
type: "error",
|
// type: "error",
|
||||||
message: "此岗位所包含工种已经不存在,请重新选择!",
|
// message: "此岗位所包含工种已经不存在,请重新选择!",
|
||||||
})
|
// })
|
||||||
},1000);
|
// },1000);
|
||||||
}else{
|
}else{
|
||||||
this.workTypeState = this.obj.worktypeNames;
|
this.workTypeState = this.obj.worktypeNames;
|
||||||
getSkillList(this.obj.worktypeIds).then((res) => {
|
getSkillList(this.obj.worktypeIds).then((res) => {
|
||||||
|
|||||||
@@ -425,7 +425,7 @@ export default {
|
|||||||
editBtn: false,
|
editBtn: false,
|
||||||
excelBtn: false,
|
excelBtn: false,
|
||||||
columnBtn: false,
|
columnBtn: false,
|
||||||
searchBtn: true,
|
searchBtn: false,
|
||||||
searchShow: true,
|
searchShow: true,
|
||||||
searchMenuSpan: 6,
|
searchMenuSpan: 6,
|
||||||
searchLabelWidth: 60,
|
searchLabelWidth: 60,
|
||||||
@@ -455,7 +455,7 @@ export default {
|
|||||||
{
|
{
|
||||||
label: "姓名",
|
label: "姓名",
|
||||||
prop: "realName",
|
prop: "realName",
|
||||||
search: true,
|
search: false,
|
||||||
searchSpan: 4,
|
searchSpan: 4,
|
||||||
width:70,
|
width:70,
|
||||||
},
|
},
|
||||||
@@ -509,7 +509,7 @@ export default {
|
|||||||
prop: "groupId",
|
prop: "groupId",
|
||||||
type: "tree",
|
type: "tree",
|
||||||
span: 24,
|
span: 24,
|
||||||
search: true,
|
search: false,
|
||||||
display: true,
|
display: true,
|
||||||
width: '150',
|
width: '150',
|
||||||
dicUrl: `/api/jobslink-api/tenant/talents/group/listAll`,
|
dicUrl: `/api/jobslink-api/tenant/talents/group/listAll`,
|
||||||
|
|||||||
@@ -211,13 +211,13 @@ export default {
|
|||||||
// span: 24,
|
// span: 24,
|
||||||
// },
|
// },
|
||||||
{
|
{
|
||||||
label: "人才库",
|
label: "重点人群库",
|
||||||
prop: "groupId",
|
prop: "groupId",
|
||||||
type: "tree",
|
type: "tree",
|
||||||
span: 24,
|
span: 24,
|
||||||
search: true,
|
search: true,
|
||||||
display: true,
|
display: true,
|
||||||
width: '150',
|
width: '200',
|
||||||
dicUrl: `/api/jobslink-api/tenant/talents/group/listAll`,
|
dicUrl: `/api/jobslink-api/tenant/talents/group/listAll`,
|
||||||
dicFormatter: (res) => {
|
dicFormatter: (res) => {
|
||||||
return res.data.list; //返回字典的层级结构
|
return res.data.list; //返回字典的层级结构
|
||||||
|
|||||||
@@ -56,7 +56,7 @@
|
|||||||
<el-button type="text" size="mini" @click="employ(row, 1)">录用登记</el-button>
|
<el-button type="text" size="mini" @click="employ(row, 1)">录用登记</el-button>
|
||||||
<el-button icon="el-icon-view" :size="size" :type="type" @click.stop="rowView(row)"
|
<el-button icon="el-icon-view" :size="size" :type="type" @click.stop="rowView(row)"
|
||||||
v-show="vaildData(permission.tenant_mission_view, false)">查看</el-button>
|
v-show="vaildData(permission.tenant_mission_view, false)">查看</el-button>
|
||||||
<save-button icon="el-icon-check" :size="size" :type="type" @click="rowCopy(row, 'copy')">复制</save-button>
|
<!-- <save-button icon="el-icon-check" :size="size" :type="type" @click="rowCopy(row, 'copy')">复制</save-button> -->
|
||||||
<el-button icon="el-icon-edit" :size="size" :type="type" @click="rowCopy(row, 'edit')" :disabled="false"
|
<el-button icon="el-icon-edit" :size="size" :type="type" @click="rowCopy(row, 'edit')" :disabled="false"
|
||||||
v-show="vaildData(permission.tenant_mission_edit, false)">编辑</el-button>
|
v-show="vaildData(permission.tenant_mission_edit, false)">编辑</el-button>
|
||||||
<el-button icon="el-icon-delete" :size="size" :type="type" @click="$refs.crud.rowDel(row)" :disabled="false"
|
<el-button icon="el-icon-delete" :size="size" :type="type" @click="$refs.crud.rowDel(row)" :disabled="false"
|
||||||
|
|||||||
@@ -29,6 +29,9 @@
|
|||||||
<el-col span="12">
|
<el-col span="12">
|
||||||
<el-form-item label="发布时间:">{{ format(model.stime) }} </el-form-item>
|
<el-form-item label="发布时间:">{{ format(model.stime) }} </el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
<el-col span="12">
|
||||||
|
<el-form-item label="结束时间:">{{ format(model.etime) }} </el-form-item>
|
||||||
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-collapse-item>
|
</el-collapse-item>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user