flat: pageAll + 重点人群翻页 after 合并
This commit is contained in:
@@ -102,12 +102,7 @@ export default {
|
||||
label: "手机号码",
|
||||
prop: "telphone",
|
||||
display: false,
|
||||
},
|
||||
// {
|
||||
// label: "结算比例",
|
||||
// prop: "percent",
|
||||
// display: false,
|
||||
// },
|
||||
}
|
||||
],
|
||||
group: [
|
||||
{
|
||||
@@ -149,23 +144,6 @@ export default {
|
||||
},
|
||||
],
|
||||
},
|
||||
// {
|
||||
// type: "number",
|
||||
// label: "结算比例",
|
||||
// span: 12,
|
||||
// size: "small",
|
||||
// prop: "percent",
|
||||
// rules: [
|
||||
// {
|
||||
// required: true,
|
||||
// message: "请输入结算比例",
|
||||
// },
|
||||
// { type: "number", message: "结算比例为数字值" },
|
||||
// ],
|
||||
// minRows: 0,
|
||||
// maxRows: 1,
|
||||
// precision: 2,
|
||||
// },
|
||||
{
|
||||
type: "input",
|
||||
label: "法人姓名",
|
||||
@@ -319,16 +297,16 @@ export default {
|
||||
},
|
||||
{
|
||||
type: "textarea",
|
||||
label: "备注",
|
||||
label: "企业介绍",
|
||||
span: 20,
|
||||
display: true,
|
||||
size: "small",
|
||||
prop: "remarks",
|
||||
prop: "companyDesc",
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
whitespace: true,
|
||||
message: "请输入备注",
|
||||
message: "请输入企业介绍",
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -460,7 +438,7 @@ export default {
|
||||
authUrlId: row.authUrlId,
|
||||
nature: row.nature,
|
||||
tradeId: row.tradeId,
|
||||
remarks: row.remarks,
|
||||
companyDesc: row.companyDesc,
|
||||
cityId: row.cityId,
|
||||
companyAddress: row.companyAddress,
|
||||
companyName: row.companyName,
|
||||
@@ -498,7 +476,7 @@ export default {
|
||||
id: row.id,
|
||||
nature: row.nature,
|
||||
tradeId: row.tradeId,
|
||||
remarks: row.remarks,
|
||||
companyDesc: row.companyDesc,
|
||||
authUrlId: row.authUrlId,
|
||||
cityId: row.cityId,
|
||||
companyAddress: row.companyAddress,
|
||||
|
||||
@@ -255,11 +255,13 @@ export default {
|
||||
async pushPostAndUser() {
|
||||
this.pushState = true
|
||||
const createTime = Date.now() + 2000
|
||||
// console.log(this.rightDataSelections,);
|
||||
let params = {
|
||||
serveId: this.rowData.id,
|
||||
posts: this.rightDataSelections.map((item) => ({ id: item.id, type: item.type1 })),
|
||||
users: this.leftUserSelections.map((item) => ({ idNumber: item.idNumber, talentsId: item.id }))
|
||||
posts: this.rightDataSelections.map((item) => ({ id: item.id, type: item.type1,jobName: item.jobName })),
|
||||
users: this.leftUserSelections.map((item) => ({ idNumber: item.idNumber, talentsId: item.id,userId: item.userId, userName: item.name }))
|
||||
}
|
||||
console.log(params,"999999999999999999999999999");
|
||||
let resData = await pushPostUserServe(params)
|
||||
if (resData.data.code === 200) {
|
||||
const timed = createTime - Date.now() > 0 ? createTime - Date.now() : 0
|
||||
|
||||
@@ -256,26 +256,6 @@ export default {
|
||||
},
|
||||
option() {
|
||||
const self = this;
|
||||
// const tradeId = (rule, value, callback) => {
|
||||
// if(this.tradeState == null || this.tradeState == undefined || this.tradeState == ""){
|
||||
// callback(
|
||||
// new Error(
|
||||
// "请选择行业类型"
|
||||
// )
|
||||
// )
|
||||
// }else{
|
||||
// if(!this.tradeBtnState){
|
||||
// callback(
|
||||
// new Error(
|
||||
// "新增行业要添加后才能使用"
|
||||
// )
|
||||
// )
|
||||
// }else{
|
||||
// callback();
|
||||
// }
|
||||
|
||||
// }
|
||||
// };
|
||||
const validatePass = (rule, value, callback)=>{
|
||||
let specialKey = "[`~#$^&*()=|{}\\[\\]<>/~#¥……&*()——|{}【】《》%@‘”“']‘'";
|
||||
let flagValue = true;
|
||||
@@ -426,24 +406,6 @@ export default {
|
||||
],
|
||||
span: 12,
|
||||
},
|
||||
// {
|
||||
// label: "行业类型",
|
||||
// prop: "tradeId",
|
||||
// type: "select",
|
||||
// dicData: this.tradeData,
|
||||
// props: {
|
||||
// label: "name",
|
||||
// value: "id",
|
||||
// },
|
||||
// rules: [
|
||||
// {
|
||||
// required: true,
|
||||
// // validator: tradeId,
|
||||
// trigger: "blur",
|
||||
// },
|
||||
// ],
|
||||
// span: 12,
|
||||
// },
|
||||
{
|
||||
label: "工种",
|
||||
prop: "workSkills",
|
||||
@@ -498,25 +460,6 @@ export default {
|
||||
prop: "personRequire",
|
||||
arrow: false,
|
||||
column: [
|
||||
// {
|
||||
// label: "人员属性",
|
||||
// type: "select",
|
||||
// prop: "userNature",
|
||||
// dicData: [
|
||||
// {
|
||||
// value: "灵活用工",
|
||||
// label: "灵活用工",
|
||||
// },
|
||||
// ],
|
||||
// rules: [
|
||||
// {
|
||||
// required: true,
|
||||
// message: "请选择人员属性",
|
||||
// trigger: ["change", "blur"],
|
||||
// },
|
||||
// ],
|
||||
// span: 8,
|
||||
// },
|
||||
{
|
||||
label: "年龄要求",
|
||||
type: "select",
|
||||
|
||||
@@ -164,57 +164,6 @@ export default {
|
||||
dialogType: "drawer",
|
||||
dialogWidth: "60%",
|
||||
dialogClickModal: false,
|
||||
// column: [
|
||||
// {
|
||||
// label: "任务名称",
|
||||
// prop: "missionTitle",
|
||||
// slot: true,
|
||||
// display: false,
|
||||
// },
|
||||
// {
|
||||
// label: "任务编码",
|
||||
// prop: "missionNo",
|
||||
// display: false,
|
||||
// },
|
||||
// {
|
||||
// label: "开始时间",
|
||||
// prop: "stime",
|
||||
// display: false,
|
||||
// width: 130,
|
||||
// slot:true
|
||||
// },
|
||||
// {
|
||||
// label: "完成时间",
|
||||
// prop: "etime",
|
||||
// display: false,
|
||||
// width: 130,
|
||||
// slot:true
|
||||
// },
|
||||
// // {
|
||||
// // label: "任务时间",
|
||||
// // prop: "missionDate",
|
||||
// // slot: true,
|
||||
// // display: false,
|
||||
// // width: 200,
|
||||
// // },
|
||||
// {
|
||||
// label: "申请人数",
|
||||
// prop: "signUpCount",
|
||||
// slot: true,
|
||||
// display: false,
|
||||
// },
|
||||
// {
|
||||
// label: "录用人数",
|
||||
// prop: "takeOnCount",
|
||||
// slot: true,
|
||||
// display: false,
|
||||
// },
|
||||
// {
|
||||
// label: "备注",
|
||||
// prop: "remarks",
|
||||
// display: false,
|
||||
// },
|
||||
// ],
|
||||
column: [
|
||||
{
|
||||
label: "任务名称",
|
||||
@@ -228,15 +177,7 @@ export default {
|
||||
display: false,
|
||||
},
|
||||
{
|
||||
label: "报名截止日期",
|
||||
prop: "etimePub",
|
||||
display: false,
|
||||
format: "yyyy-MM-dd",
|
||||
width: 130,
|
||||
slot: true,
|
||||
},
|
||||
{
|
||||
label: "开始日期",
|
||||
label: "发布时间",
|
||||
prop: "stime",
|
||||
display: false,
|
||||
width: 130,
|
||||
@@ -249,6 +190,13 @@ export default {
|
||||
width: 130,
|
||||
slot: true,
|
||||
},
|
||||
{
|
||||
label: "招聘人数",
|
||||
prop: "peopleNum",
|
||||
slot: true,
|
||||
display: false,
|
||||
width: 110,
|
||||
},
|
||||
{
|
||||
label: "申请人数",
|
||||
prop: "signUpCount",
|
||||
@@ -262,15 +210,7 @@ export default {
|
||||
slot: true,
|
||||
display: false,
|
||||
width: 110,
|
||||
},
|
||||
|
||||
// {
|
||||
// label: "提示",
|
||||
// prop: "toStart",
|
||||
// slot: true,
|
||||
// display: false,
|
||||
// width: 200,
|
||||
// },
|
||||
}
|
||||
],
|
||||
};
|
||||
},
|
||||
|
||||
@@ -266,14 +266,6 @@ export default {
|
||||
prop: "missionNo",
|
||||
display: false,
|
||||
},
|
||||
{
|
||||
label: "报名截止日期",
|
||||
prop: "etimePub",
|
||||
display: false,
|
||||
format: "yyyy-MM-dd",
|
||||
width: 130,
|
||||
slot: true,
|
||||
},
|
||||
{
|
||||
label: "开始日期",
|
||||
prop: "stime",
|
||||
@@ -288,6 +280,13 @@ export default {
|
||||
width: 130,
|
||||
slot: true,
|
||||
},
|
||||
{
|
||||
label: "招聘人数",
|
||||
prop: "peopleNum",
|
||||
slot: true,
|
||||
display: false,
|
||||
width: 110,
|
||||
},
|
||||
{
|
||||
label: "申请人数",
|
||||
prop: "signUpCount",
|
||||
@@ -301,15 +300,7 @@ export default {
|
||||
slot: true,
|
||||
display: false,
|
||||
width: 110,
|
||||
},
|
||||
|
||||
// {
|
||||
// label: "提示",
|
||||
// prop: "toStart",
|
||||
// slot: true,
|
||||
// display: false,
|
||||
// width: 200,
|
||||
// },
|
||||
}
|
||||
],
|
||||
};
|
||||
},
|
||||
|
||||
@@ -245,14 +245,6 @@ export default {
|
||||
prop: "missionNo",
|
||||
display: false,
|
||||
},
|
||||
{
|
||||
label: "报名截止日期",
|
||||
prop: "etimePub",
|
||||
display: false,
|
||||
format: "yyyy-MM-dd",
|
||||
width: 130,
|
||||
slot: true,
|
||||
},
|
||||
{
|
||||
label: "开始日期",
|
||||
prop: "stime",
|
||||
@@ -267,6 +259,13 @@ export default {
|
||||
width: 130,
|
||||
slot: true,
|
||||
},
|
||||
{
|
||||
label: "招聘人数",
|
||||
prop: "peopleNum",
|
||||
slot: true,
|
||||
display: false,
|
||||
width: 110,
|
||||
},
|
||||
{
|
||||
label: "申请人数",
|
||||
prop: "signUpCount",
|
||||
|
||||
@@ -238,6 +238,13 @@ export default {
|
||||
width: 130,
|
||||
slot: true,
|
||||
},
|
||||
{
|
||||
label: "招聘人数",
|
||||
prop: "peopleNum",
|
||||
slot: true,
|
||||
display: false,
|
||||
width: 110,
|
||||
},
|
||||
{
|
||||
label: "申请人数",
|
||||
prop: "signUpCount",
|
||||
@@ -252,14 +259,6 @@ export default {
|
||||
display: false,
|
||||
width: 110,
|
||||
},
|
||||
/* {
|
||||
label: "状态",
|
||||
prop: "status",
|
||||
// slot: true,
|
||||
dicData: missionState,
|
||||
display: false,
|
||||
// width: 200,
|
||||
}, */
|
||||
],
|
||||
};
|
||||
},
|
||||
|
||||
@@ -591,25 +591,6 @@ export default {
|
||||
prop: "personRequire",
|
||||
arrow: false,
|
||||
column: [
|
||||
// {
|
||||
// label: "人员属性",
|
||||
// type: "select",
|
||||
// prop: "userNature",
|
||||
// dicData: [
|
||||
// {
|
||||
// value: "灵活用工",
|
||||
// label: "灵活用工",
|
||||
// },
|
||||
// ],
|
||||
// rules: [
|
||||
// {
|
||||
// required: true,
|
||||
// message: "请选择人员属性",
|
||||
// trigger: ["change", "blur"],
|
||||
// },
|
||||
// ],
|
||||
// span: 8,
|
||||
// },
|
||||
{
|
||||
label: "年龄要求",
|
||||
type: "select",
|
||||
|
||||
@@ -62,13 +62,6 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<!-- <el-row>
|
||||
<el-col span="24">
|
||||
<el-form-item label="技能要求:">
|
||||
<el-tag :key="skill" v-for="skill in getSkill(model.skillNames)">{{ skill }}</el-tag>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row> -->
|
||||
<el-row>
|
||||
<el-col span="24">
|
||||
<el-form-item label="任务描述:">{{
|
||||
@@ -90,9 +83,6 @@
|
||||
model.userNature
|
||||
}}</el-form-item>
|
||||
</el-col>
|
||||
<!-- <el-col span="8">
|
||||
<el-form-item label="性别要求:">{{ gender[model.sex] }}</el-form-item>
|
||||
</el-col> -->
|
||||
<el-col span="8">
|
||||
<el-form-item label="年龄要求:">{{
|
||||
model.ageDesc
|
||||
@@ -100,7 +90,6 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
|
||||
<el-col span="16">
|
||||
<el-form-item label="学历要求:">{{
|
||||
education[model.education]
|
||||
|
||||
@@ -61,13 +61,6 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<!-- <el-row>
|
||||
<el-col span="24">
|
||||
<el-form-item label="技能要求:">
|
||||
<el-tag :key="skill" v-for="skill in getSkill(model.skillNames)">{{ skill }}</el-tag>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row> -->
|
||||
<el-row>
|
||||
<el-col span="24">
|
||||
<el-form-item label="岗位描述:">{{
|
||||
@@ -84,11 +77,6 @@
|
||||
</div>
|
||||
</template>
|
||||
<el-row>
|
||||
<!-- <el-col span="16">
|
||||
<el-form-item label="人员属性:">{{
|
||||
model.userNature
|
||||
}}</el-form-item>
|
||||
</el-col> -->
|
||||
<el-col span="16">
|
||||
<el-form-item label="性别要求:">{{ gender[model.sex] }}</el-form-item>
|
||||
</el-col>
|
||||
|
||||
@@ -64,13 +64,6 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<!-- <el-row>
|
||||
<el-col span="24">
|
||||
<el-form-item label="技能要求:">
|
||||
<el-tag :key="skill" v-for="skill in getSkill(model.skillNames)">{{ skill }}</el-tag>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row> -->
|
||||
<el-row>
|
||||
<el-col span="24">
|
||||
<el-form-item label="岗位描述:">{{
|
||||
@@ -92,9 +85,6 @@
|
||||
model.userNature
|
||||
}}</el-form-item>
|
||||
</el-col>
|
||||
<!-- <el-col span="8">
|
||||
<el-form-item label="性别要求:">{{ gender[model.sex] }}</el-form-item>
|
||||
</el-col> -->
|
||||
<el-col span="8">
|
||||
<el-form-item label="年龄要求:">{{
|
||||
model.ageDesc
|
||||
@@ -259,4 +249,3 @@
|
||||
border-top: 0px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -23,7 +23,7 @@ module.exports = {
|
||||
port: 1888,
|
||||
proxy: {
|
||||
"/api": {
|
||||
target: 'http://10.165.0.173:8000',
|
||||
target: 'http://localhost:8000',
|
||||
ws: true,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
|
||||
Reference in New Issue
Block a user