flat: 国庆节暂存
This commit is contained in:
@@ -278,7 +278,7 @@ import PushService from './Dialog/pushService2.vue'
|
||||
import {getDeptMyTree} from "@/api/tenant/talents";
|
||||
|
||||
const page = {
|
||||
pageSize: 10,
|
||||
size: 10,
|
||||
currentPage: 1,
|
||||
total: 0,
|
||||
}
|
||||
@@ -893,7 +893,7 @@ export default {
|
||||
this.loading = true;
|
||||
let paramsed = {
|
||||
current: page.currentPage,
|
||||
pageSize: page.pageSize,
|
||||
size: page.size,
|
||||
id: this.tenantId,
|
||||
...params
|
||||
}
|
||||
@@ -930,10 +930,12 @@ export default {
|
||||
this.query = {}
|
||||
this.onLoad(this.page, this.query);
|
||||
},
|
||||
infoSizeChange(pageSize) {
|
||||
infoSizeChange(size) {
|
||||
this.page.size = size;
|
||||
this.onLoad(this.page, this.query);
|
||||
},
|
||||
infoCurrentChange(currentPage) {
|
||||
this.page.currentPage = currentPage;
|
||||
this.onLoad(this.page, this.query);
|
||||
},
|
||||
// 匹配任务和岗位
|
||||
@@ -971,7 +973,7 @@ export default {
|
||||
serveId: this.selectInfo.id,
|
||||
companyId: this.selectInfo.companyId,
|
||||
current: this.logPage.currentPage,
|
||||
size: this.logPage.pageSize
|
||||
size: this.logPage.size
|
||||
}).then(res => {
|
||||
let _this = this;
|
||||
const {records, current, size, total} = res.data.data
|
||||
@@ -1039,8 +1041,8 @@ export default {
|
||||
});
|
||||
});
|
||||
},
|
||||
logSizeChange(pageSize) {
|
||||
this.logPage.pageSize = pageSize;
|
||||
logSizeChange(size) {
|
||||
this.logPage.size = size;
|
||||
this.serveLog(this.selectUserServeLog)
|
||||
},
|
||||
logCurrentChange(currentPage) {
|
||||
|
||||
@@ -31,7 +31,7 @@ import {addServeLog, getMainServeUserLog, removeServeLog, updateServeLog} from "
|
||||
import {getTenantTalentsWarn, tenantTalentsWarn, updateTenantTalentsWarn} from "@/api/tenant/LocalWarningDisposal";
|
||||
|
||||
const page = {
|
||||
pageSize: 10,
|
||||
size: 10,
|
||||
currentPage: 1,
|
||||
total: 0,
|
||||
}
|
||||
@@ -190,15 +190,15 @@ export default {
|
||||
this.page.currentPage = currentPage;
|
||||
this.onLoad(this.page, this.query);
|
||||
},
|
||||
sizeChange(pageSize) {
|
||||
this.page.pageSize = pageSize;
|
||||
sizeChange(size) {
|
||||
this.page.size = size;
|
||||
this.onLoad(this.page, this.query);
|
||||
},
|
||||
onLoad(page, params = {}) {
|
||||
const {releaseTimeRange} = params;
|
||||
let paramsed = {
|
||||
current: page.currentPage,
|
||||
pageSize: page.pageSize,
|
||||
size: page.size,
|
||||
...this.query
|
||||
};
|
||||
this.loading = true;
|
||||
@@ -207,7 +207,7 @@ export default {
|
||||
this.dataSource = records;
|
||||
this.loading = false;
|
||||
this.page = {
|
||||
pageSize: size,
|
||||
size: size,
|
||||
currentPage: current,
|
||||
total: total,
|
||||
}
|
||||
|
||||
@@ -882,13 +882,15 @@ export default {
|
||||
},
|
||||
dateFormat: dateFormat,
|
||||
rowStyle(column) {
|
||||
const groupId = column.row.groupId
|
||||
const groupInfo = this.treeData.find((item) => item.id === groupId)
|
||||
if (groupInfo.groupName === '潜在就业困难人员' || groupInfo.groupName === '潜在就业见习申请人员') {
|
||||
this.option.column[15].viewDisplay = true
|
||||
} else {
|
||||
this.option.column[15].viewDisplay = false
|
||||
}
|
||||
// const groupId = column.row.groupId
|
||||
// const groupInfo = this.treeData.find((item) => item.id === groupId)
|
||||
// if (groupInfo.groupName === '潜在就业困难人员' || groupInfo.groupName === '潜在就业见习申请人员') {
|
||||
// console.log(this.option.column[15])
|
||||
// // this.option.column[15].viewDisplay = true
|
||||
// } else {
|
||||
// console.log(this.option.column[15])
|
||||
// // this.option.column[15].viewDisplay = false
|
||||
// }
|
||||
},
|
||||
checkUserInfo(row) {
|
||||
this.dialogInfo = row
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
@current-change="currentChange"
|
||||
@size-change="sizeChange"
|
||||
class="customPage"
|
||||
:row-style="rowStyle"
|
||||
:before-open="beforeOpen"
|
||||
>
|
||||
<template slot-scope="{row}" slot="employInfoListForm">
|
||||
@@ -95,7 +94,7 @@ import {addServeLog, getMainServeUserLog, removeServeLog, updateServeLog} from "
|
||||
import {dateFormat} from "@/util/date";
|
||||
|
||||
const page = {
|
||||
pageSize: 10,
|
||||
size: 10,
|
||||
currentPage: 1,
|
||||
total: 0,
|
||||
}
|
||||
@@ -404,12 +403,12 @@ export default {
|
||||
this.page.currentPage = currentPage;
|
||||
this.onLoad(this.page, this.query);
|
||||
},
|
||||
sizeChange(pageSize) {
|
||||
this.page.pageSize = pageSize;
|
||||
sizeChange(size) {
|
||||
this.page.size = size;
|
||||
this.onLoad(this.page, this.query);
|
||||
},
|
||||
logSizeChange(pageSize) {
|
||||
this.logPage.pageSize = pageSize;
|
||||
logSizeChange(size) {
|
||||
this.logPage.size = size;
|
||||
this.serveLog(this.selectUserServeLog);
|
||||
},
|
||||
logCurrentChange(currentPage) {
|
||||
@@ -420,7 +419,7 @@ export default {
|
||||
const {releaseTimeRange} = params;
|
||||
let paramsed = {
|
||||
current: page.currentPage,
|
||||
pageSize: page.pageSize,
|
||||
size: page.size,
|
||||
...this.query
|
||||
};
|
||||
this.loading = true;
|
||||
@@ -429,7 +428,7 @@ export default {
|
||||
this.dataSource = records;
|
||||
this.loading = false;
|
||||
this.page = {
|
||||
pageSize: size,
|
||||
size: size,
|
||||
currentPage: current,
|
||||
total: total,
|
||||
}
|
||||
@@ -442,14 +441,14 @@ export default {
|
||||
getMainServeUserLog({
|
||||
idNumber: row.idNumber,
|
||||
current: this.logPage.currentPage,
|
||||
size: this.logPage.pageSize
|
||||
size: this.logPage.size
|
||||
}).then(res => {
|
||||
this.loadingLog = false
|
||||
const {records, current, size, total} = res.data.data
|
||||
this.logDataSource = records
|
||||
this.innerDrawerLog = true
|
||||
this.logPage = {
|
||||
pageSize: size,
|
||||
size: size,
|
||||
currentPage: current,
|
||||
total: total,
|
||||
}
|
||||
|
||||
@@ -75,9 +75,10 @@ import {getList} from "@/api/tenant/personnelserve";
|
||||
import {isvalidatemobile} from "@/util/validate";
|
||||
import {getDept, getDeptMyTree} from "@/api/tenant/talents";
|
||||
import {addServeLog, getMainServeUserLog, removeServeLog, updateServeLog} from "@/api/tenant/serve";
|
||||
import {cloneDeep} from "lodash";
|
||||
|
||||
const page = {
|
||||
pageSize: 10,
|
||||
size: 10,
|
||||
currentPage: 1,
|
||||
total: 0,
|
||||
}
|
||||
@@ -123,7 +124,8 @@ export default {
|
||||
loadingLog: false,
|
||||
innerDrawerLog: false,
|
||||
innerDrawerAddLog: false,
|
||||
logValues: {}
|
||||
logValues: {},
|
||||
query: {}
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -176,6 +178,7 @@ export default {
|
||||
prop: "name",
|
||||
// search: true,
|
||||
span: 24,
|
||||
searchLabelWidth: 80,
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
@@ -190,6 +193,7 @@ export default {
|
||||
label: "姓别",
|
||||
prop: "aac004",
|
||||
type: 'select',
|
||||
searchLabelWidth: 80,
|
||||
dicUrl: "/api/jobslink-api/system/dict-biz/tadict?code=AAC004",
|
||||
props: {
|
||||
label: "dictValue",
|
||||
@@ -215,6 +219,20 @@ export default {
|
||||
],
|
||||
search: true,
|
||||
},
|
||||
{
|
||||
label: "是否核实",
|
||||
prop: "isConfirm",
|
||||
type: 'select',
|
||||
hide: true,
|
||||
search: true,
|
||||
dicData: [
|
||||
{value: "", label: "全部"},
|
||||
{label: '未核实', value: 0},
|
||||
{label: '已核实', value: 1},
|
||||
],
|
||||
searchLabelWidth: 100,
|
||||
display: false,
|
||||
},
|
||||
{
|
||||
label: "手机号",
|
||||
prop: "telphone",
|
||||
@@ -301,6 +319,28 @@ export default {
|
||||
maxlength: 100,
|
||||
showWordLimit: true,
|
||||
},
|
||||
{
|
||||
label: "日志时间",
|
||||
prop: "Time",
|
||||
search: true,
|
||||
type: 'date',
|
||||
searchRange: true,
|
||||
hide: true,
|
||||
display: false,
|
||||
searchLabelWidth: 80,
|
||||
minWidth: 100,
|
||||
searchSpan: 7,
|
||||
startPlaceholder: "日期开始范围",
|
||||
endPlaceholder: "日期结束范围",
|
||||
format: "yyyy-MM-dd",
|
||||
valueFormat: "yyyy-MM-dd",
|
||||
change: ({value}) => {
|
||||
if (value) {
|
||||
this.query.stime = value[0]
|
||||
this.query.etime = value[1]
|
||||
}
|
||||
}
|
||||
},
|
||||
],
|
||||
}
|
||||
},
|
||||
@@ -419,9 +459,15 @@ export default {
|
||||
});
|
||||
},
|
||||
searchChange(params, done) {
|
||||
this.query = params;
|
||||
let newObj = Object.assign({}, params);
|
||||
if (params.Time) {
|
||||
newObj.stime = params.Time[0]
|
||||
newObj.etime = params.Time[1]
|
||||
delete newObj.Time;
|
||||
}
|
||||
this.query = newObj;
|
||||
this.page.currentPage = 1;
|
||||
this.onLoad(this.page, params);
|
||||
this.onLoad(this.page, newObj);
|
||||
done();
|
||||
},
|
||||
searchReset() {
|
||||
@@ -432,12 +478,12 @@ export default {
|
||||
this.page.currentPage = currentPage;
|
||||
this.onLoad(this.page, this.query);
|
||||
},
|
||||
sizeChange(pageSize) {
|
||||
this.page.pageSize = pageSize;
|
||||
sizeChange(size) {
|
||||
this.page.size = size;
|
||||
this.onLoad(this.page, this.query);
|
||||
},
|
||||
logSizeChange(pageSize) {
|
||||
this.logPage.pageSize = pageSize;
|
||||
logSizeChange(size) {
|
||||
this.logPage.size = size;
|
||||
this.serveLog(this.selectUserServeLog);
|
||||
},
|
||||
logCurrentChange(currentPage) {
|
||||
@@ -448,7 +494,7 @@ export default {
|
||||
const {releaseTimeRange} = params;
|
||||
let paramsed = {
|
||||
current: page.currentPage,
|
||||
pageSize: page.pageSize,
|
||||
size: page.size,
|
||||
...this.query
|
||||
};
|
||||
this.loading = true;
|
||||
@@ -457,7 +503,7 @@ export default {
|
||||
this.dataSource = records;
|
||||
this.loading = false;
|
||||
this.page = {
|
||||
pageSize: size,
|
||||
size: size,
|
||||
currentPage: current,
|
||||
total: total,
|
||||
}
|
||||
@@ -470,14 +516,14 @@ export default {
|
||||
getMainServeUserLog({
|
||||
idNumber: row.idNumber,
|
||||
current: this.logPage.currentPage,
|
||||
size: this.logPage.pageSize
|
||||
size: this.logPage.size
|
||||
}).then(res => {
|
||||
this.loadingLog = false
|
||||
const {records, current, size, total} = res.data.data
|
||||
this.logDataSource = records
|
||||
this.innerDrawerLog = true
|
||||
this.logPage = {
|
||||
pageSize: size,
|
||||
size: size,
|
||||
currentPage: current,
|
||||
total: total,
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ import {getTenantTalentsWarn, tenantTalentsWarn, updateTenantTalentsWarn} from "
|
||||
import {getServeLogList} from '@/api/tenant/serverRecords'
|
||||
|
||||
const page = {
|
||||
pageSize: 10,
|
||||
size: 10,
|
||||
currentPage: 1,
|
||||
total: 0,
|
||||
}
|
||||
@@ -221,15 +221,15 @@ export default {
|
||||
this.page.currentPage = currentPage;
|
||||
this.onLoad(this.page, this.query);
|
||||
},
|
||||
sizeChange(pageSize) {
|
||||
this.page.pageSize = pageSize;
|
||||
sizeChange(size) {
|
||||
this.page.size = size;
|
||||
this.onLoad(this.page, this.query);
|
||||
},
|
||||
onLoad(page, params = {}) {
|
||||
const {releaseTimeRange} = params;
|
||||
let paramsed = {
|
||||
current: page.currentPage,
|
||||
pageSize: page.pageSize,
|
||||
size: page.size,
|
||||
...params
|
||||
};
|
||||
this.loading = true;
|
||||
@@ -238,7 +238,7 @@ export default {
|
||||
this.dataSource = records;
|
||||
this.loading = false;
|
||||
this.page = {
|
||||
pageSize: size,
|
||||
size: size,
|
||||
currentPage: current,
|
||||
total: total,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user