flat: 8.30
This commit is contained in:
@@ -12,20 +12,20 @@
|
||||
<el-scrollbar style="height: 100%">
|
||||
<el-tree ref="tree" node-key="id" highlight-current :expand-on-click-node="false" @node-click="nodeClick"
|
||||
:data="treeData" :props="props">
|
||||
<span class="custom-tree-node" slot-scope="{ node, data }" style="width: 80%">
|
||||
<span class="custom-tree-node" slot-scope="{ node, data }">
|
||||
<!-- <el-tooltip class="item" effect="dark" :content="node.label" placement="top"> -->
|
||||
<TextTooltip :content="`${node.label}(${data.sumNum}人)`" length="10" tip-width="10"></TextTooltip>
|
||||
<TextTooltip :content="`${node.label}(${data.sumNum}人)`" length="16" tip-width="16"></TextTooltip>
|
||||
<!-- </el-tooltip> -->
|
||||
<span v-show="data.id && data.id !== '0'" style="flex-basis: 20%">
|
||||
<el-button type="text" icon="el-icon-edit" size="mini"
|
||||
v-if="vaildData(permission.tenant_main_talents_latent_index_groupedit, false)"
|
||||
@click="() => updateGroups('edit', data)">
|
||||
</el-button>
|
||||
<el-button icon="el-icon-delete" type="text" size="mini"
|
||||
v-if="vaildData(permission.tenant_main_talents_latent_index_groupdelete, false)"
|
||||
@click="() => removeGroups(data)">
|
||||
</el-button>
|
||||
</span>
|
||||
<!-- <span v-show="data.id && data.id !== '0'" style="flex-basis: 20%">-->
|
||||
<!-- <el-button type="text" icon="el-icon-edit" size="mini"-->
|
||||
<!-- v-if="vaildData(permission.tenant_main_talents_latent_index_groupedit, false)"-->
|
||||
<!-- @click="() => updateGroups('edit', data)">-->
|
||||
<!-- </el-button>-->
|
||||
<!-- <el-button icon="el-icon-delete" type="text" size="mini"-->
|
||||
<!-- v-if="vaildData(permission.tenant_main_talents_latent_index_groupdelete, false)"-->
|
||||
<!-- @click="() => removeGroups(data)">-->
|
||||
<!-- </el-button>-->
|
||||
<!-- </span>-->
|
||||
</span>
|
||||
</el-tree>
|
||||
<!-- v-show="vaildData(permission.tenant_wage_payroll_view, false)" -->
|
||||
@@ -51,7 +51,7 @@
|
||||
:permission="permissionList" :before-open="beforeOpen" @row-del="rowDel" @row-update="rowUpdate"
|
||||
@row-save="rowSave" @search-change="searchChange" @search-reset="searchReset"
|
||||
@selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange"
|
||||
@refresh-change="refreshChange" class="customPage">
|
||||
@refresh-change="refreshChange" class="customPage" :row-style="rowStyle">
|
||||
<!--自定义列-->
|
||||
<template slot="labelsBase" slot-scope="{ row }">
|
||||
<el-tooltip effect="dark" placement="top">
|
||||
@@ -72,11 +72,66 @@
|
||||
<tag-select v-model="selectedWorkTypes" :prop="{ label: 'name', value: 'name' }" :data="arr">
|
||||
</tag-select>
|
||||
</template>
|
||||
|
||||
<template slot-scope="{row}" slot="employInfoListForm">
|
||||
<div>
|
||||
<el-radio-group v-model="employInfoType" @input="employInfoInput">
|
||||
<el-radio-button :label="1">失业就业信息</el-radio-button>
|
||||
<el-radio-button :label="2">养老待遇信息</el-radio-button>
|
||||
<el-radio-button :label="3">人员死亡信息</el-radio-button>
|
||||
</el-radio-group>
|
||||
<el-table
|
||||
v-if="employInfoType === 1"
|
||||
:data="row.employInfoList"
|
||||
style="width: 100%">
|
||||
<el-table-column
|
||||
prop="workCompany"
|
||||
label="工作单位">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="date"
|
||||
label="日期"
|
||||
width="180">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="title"
|
||||
label="内容"
|
||||
width="180">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="remarks"
|
||||
label="备注">
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<div v-else-if="employInfoType === 2">
|
||||
<el-row style="margin-top: 10px">
|
||||
<el-col :span="8">养老保险: {{
|
||||
row.isPension ? '已领取' : ' 未领取'
|
||||
}}
|
||||
</el-col>
|
||||
<el-col :span="8">最大做账期: {{ splitDate(row.biggestDate) || '无' }}</el-col>
|
||||
<el-col :span="8">经办时间: {{
|
||||
row.operateDate && dateFormat(new Date(Number(row.operateDate))) || '无'
|
||||
}}
|
||||
</el-col>
|
||||
<el-col :span="8">开始年月: {{ splitDate(row.startDate) || '无' }}</el-col>
|
||||
<el-col :span="8">终止年月: {{ splitDate(row.endDate) || '无' }}</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
<div v-else-if="employInfoType === 3">
|
||||
<el-row style="margin-top: 10px">
|
||||
<el-col :span="8">是否死亡: {{ row.isDead ? '已死亡' : ' 未死亡' }}</el-col>
|
||||
<el-col :span="8">火化地址: {{ row.funeralAddress || '无' }}</el-col>
|
||||
<el-col :span="8">火化时间: {{ row.funeralDate || '无' }}</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<!--自定义按钮-->
|
||||
<template slot="menuLeft">
|
||||
<el-button type="success" size="small" plain icon="el-icon-plus" @click="handleImport"
|
||||
v-show="vaildData(permission.tenant_main_talents_latent_index_add, false)">批量导入
|
||||
</el-button>
|
||||
<!-- <el-button type="success" size="small" plain icon="el-icon-plus" @click="handleImport"-->
|
||||
<!-- v-show="vaildData(permission.tenant_main_talents_latent_index_add, false)">批量导入-->
|
||||
<!-- </el-button>-->
|
||||
<el-button type="warning" size="small" plain :disabled="!selectionList.length" icon="el-icon-sort"
|
||||
@click="handleTransfer"
|
||||
v-show="vaildData(permission.tenant_main_talents_latent_index_tansfergroup, false)">转移推送
|
||||
@@ -117,6 +172,7 @@
|
||||
>核实
|
||||
</el-button>
|
||||
</template>
|
||||
|
||||
</avue-crud>
|
||||
|
||||
<!--批量导入-->
|
||||
@@ -172,15 +228,30 @@
|
||||
|
||||
<PromptDialog
|
||||
:visible="dialogFlag"
|
||||
title="审核"
|
||||
title="核实"
|
||||
:back-btn-status="1"
|
||||
submit-text="确 定"
|
||||
sub-title="请核对人员信息后再进行审核通过,驳回该用户将从人群中删除,在人员服务日志中可见"
|
||||
:tips="[
|
||||
'人员信息描述不清晰或过于简单;',
|
||||
'人员信息存在违法违规行为;',
|
||||
'人员信息的薪资、福利等待遇不符合市场标准;',
|
||||
submit-text="符 合"
|
||||
:submit-vail="false"
|
||||
back-text="不符合"
|
||||
dialogWidth="60%"
|
||||
:isInputInfo="false"
|
||||
:placeholder="`请输入不符合潜在 ${selectGroupName} 的具体原因`"
|
||||
:sub-title="[
|
||||
`请核实人员相关信息,进行以下操作:`,
|
||||
`符合:表示为已初步判定该人员符合 ${selectGroupName} 相关条件,但仍需与该人员主动联系并进一步核实,最终以省就业3.0实际政策经办情况为准。`,
|
||||
`不符合:表示经核查后该人员不符合 ${selectGroupName} 相关条件,并将该人员从潜在的{就业困难}列表中剔除。`,
|
||||
'核实完成后会产生服务日志记录。'
|
||||
]"
|
||||
:tips="dialogTips"
|
||||
:pattern="{
|
||||
reg: /[\u4e00-\u9fff]{6,}/g,
|
||||
check: function checkChineseString(val) {
|
||||
const pattern = /[\u4e00-\u9fff]/g;
|
||||
const chineseChars = val.match(pattern);
|
||||
return chineseChars && chineseChars.length >= 6;
|
||||
},
|
||||
message: '请填写具体原因,且字数长度不得小于6个汉字'
|
||||
}"
|
||||
@onClose="dialogFlag = false; GroupValue = ''"
|
||||
@onCancel="diaLogCancel"
|
||||
@onConfirm="diaLogConfirm"
|
||||
@@ -231,6 +302,8 @@ import TextTooltip from '@/components/text-tooltip'
|
||||
import {exportList} from "@/api/workstation/post";
|
||||
import {addServeLog, getMainServeUserLog, removeServeLog, updateServeLog} from "@/api/tenant/serve";
|
||||
import PromptDialog from "@/components/promptDialog/index.vue";
|
||||
import {setWith} from "lodash";
|
||||
import {dateFormat} from '@/util/date'
|
||||
|
||||
let page = {
|
||||
pageSize: 10,
|
||||
@@ -250,6 +323,7 @@ export default {
|
||||
name: "tenant_talents",
|
||||
data() {
|
||||
return {
|
||||
employInfoType: 1,
|
||||
dialogFlag: false,
|
||||
dialogInfo: null,
|
||||
downloadButton: false,
|
||||
@@ -284,7 +358,10 @@ export default {
|
||||
obj: {},
|
||||
excelForm: {isCovered: 1},
|
||||
selecTreeData: [],
|
||||
GroupValue: ''
|
||||
GroupValue: '',
|
||||
selectInfo: {},
|
||||
selectGroupName: '',
|
||||
dialogTips: []
|
||||
};
|
||||
},
|
||||
components: {addGroups, transferGroups, Resume, ied, TextTooltip, PromptDialog},
|
||||
@@ -333,9 +410,11 @@ export default {
|
||||
callback();
|
||||
}
|
||||
};
|
||||
// 潜在就业困难人员
|
||||
// const unemployedCollegeStudents = this.selectInfo && this.selectInfo.groupName === '潜在就业困难人员'
|
||||
return {
|
||||
height: "auto",
|
||||
dialogWidth: "50%",
|
||||
dialogWidth: "60%",
|
||||
calcHeight: 180,
|
||||
align: "center",
|
||||
menuAlign: "center",
|
||||
@@ -344,6 +423,8 @@ export default {
|
||||
searchBtn: true,
|
||||
delBtn: false,
|
||||
searchShow: true,
|
||||
editBtnText: '移 交',
|
||||
editTitle: '移 交',
|
||||
viewBtn: true,
|
||||
menuWidth: 170,
|
||||
searchMenuSpan: 6,
|
||||
@@ -353,7 +434,7 @@ export default {
|
||||
selection: true,
|
||||
dialogType: "drawer",
|
||||
dialogClickModal: false,
|
||||
formLabelWidth: '180px',
|
||||
formLabelWidth: '220px',
|
||||
column: [
|
||||
{
|
||||
label: "所属机构",
|
||||
@@ -375,6 +456,7 @@ export default {
|
||||
prop: "name",
|
||||
// search: true,
|
||||
span: 24,
|
||||
viewDisplay: false,
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
@@ -386,12 +468,15 @@ export default {
|
||||
slot: true,
|
||||
search: true,
|
||||
editDisabled: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: "姓别",
|
||||
prop: "aac004",
|
||||
type: 'select',
|
||||
viewDisplay: false,
|
||||
dicUrl: "/api/jobslink-api/system/dict-biz/tadict?code=AAC004",
|
||||
editDisplay: false,
|
||||
props: {
|
||||
label: "dictValue",
|
||||
value: "dictKey",
|
||||
@@ -405,10 +490,13 @@ export default {
|
||||
},
|
||||
],
|
||||
span: 24,
|
||||
|
||||
},
|
||||
{
|
||||
label: "身份证",
|
||||
prop: "idNumber",
|
||||
editDisplay: false,
|
||||
viewDisplay: false,
|
||||
// hide: true,
|
||||
span: 24,
|
||||
rules: [
|
||||
@@ -421,6 +509,8 @@ export default {
|
||||
{
|
||||
label: "手机号",
|
||||
prop: "telphone",
|
||||
editDisplay: false,
|
||||
viewDisplay: false,
|
||||
span: 24,
|
||||
hide: false,
|
||||
editDisabled: true,
|
||||
@@ -437,6 +527,8 @@ export default {
|
||||
prop: "aac005",
|
||||
type: 'select',
|
||||
editDisabled: true,
|
||||
editDisplay: false,
|
||||
viewDisplay: false,
|
||||
dicUrl: "/api/jobslink-api/system/dict-biz/tadict?code=AAC005",
|
||||
props: {
|
||||
label: "dictValue",
|
||||
@@ -456,6 +548,8 @@ export default {
|
||||
prop: "aac009",
|
||||
type: 'select',
|
||||
editDisabled: true,
|
||||
editDisplay: false,
|
||||
viewDisplay: false,
|
||||
dicUrl: "/api/jobslink-api/system/dict-biz/tadict?code=AAC009",
|
||||
props: {
|
||||
label: "dictValue",
|
||||
@@ -476,6 +570,8 @@ export default {
|
||||
// hide: true,
|
||||
span: 24,
|
||||
editDisabled: true,
|
||||
editDisplay: false,
|
||||
viewDisplay: false,
|
||||
rules: [
|
||||
{required: true, message: "请输入口所在地", trigger: "blur"},
|
||||
],
|
||||
@@ -484,6 +580,8 @@ export default {
|
||||
label: "文化程度",
|
||||
prop: "aac011",
|
||||
editDisabled: true,
|
||||
editDisplay: false,
|
||||
viewDisplay: false,
|
||||
type: 'select',
|
||||
dicUrl: "/api/jobslink-api/system/dict-biz/tadict?code=AAC011",
|
||||
props: {
|
||||
@@ -504,6 +602,7 @@ export default {
|
||||
prop: "isConfirm",
|
||||
type: 'select',
|
||||
display: false,
|
||||
viewDisplay: false,
|
||||
dicData: [
|
||||
{
|
||||
value: -1,
|
||||
@@ -523,8 +622,10 @@ export default {
|
||||
label: "经办时间",
|
||||
prop: "aae036",
|
||||
display: false,
|
||||
viewDisplay: false,
|
||||
span: 24,
|
||||
editDisabled: true,
|
||||
editDisplay: false,
|
||||
rules: [
|
||||
{required: true, message: "请输入经办时间", trigger: "blur"},
|
||||
],
|
||||
@@ -534,6 +635,8 @@ export default {
|
||||
prop: "userId",
|
||||
type: "select",
|
||||
editDisabled: true,
|
||||
editDisplay: false,
|
||||
viewDisplay: false,
|
||||
dicData: [
|
||||
{
|
||||
value: "0",
|
||||
@@ -553,8 +656,9 @@ export default {
|
||||
prop: "groupId",
|
||||
type: "tree",
|
||||
span: 24,
|
||||
display: true,
|
||||
viewDisplay: false,
|
||||
editDisabled: true,
|
||||
editDisplay: false,
|
||||
dicData: self.treeData,
|
||||
props: {
|
||||
label: "groupName",
|
||||
@@ -572,7 +676,9 @@ export default {
|
||||
{
|
||||
label: "标签名称",
|
||||
prop: "labelsBase",
|
||||
editDisplay: false,
|
||||
editDisabled: true,
|
||||
viewDisplay: false,
|
||||
rules: [
|
||||
{
|
||||
required: false,
|
||||
@@ -584,22 +690,29 @@ export default {
|
||||
formslot: true,
|
||||
span: 24,
|
||||
},
|
||||
// {
|
||||
// label: "简历",
|
||||
// prop: "resume",
|
||||
// slot: true,
|
||||
// display: false
|
||||
// },
|
||||
{
|
||||
label: "备注",
|
||||
prop: "remarks",
|
||||
type: "textarea",
|
||||
editDisplay: false,
|
||||
viewDisplay: false,
|
||||
slot: true,
|
||||
hide: true,
|
||||
span: 24,
|
||||
maxlength: 100,
|
||||
showWordLimit: true,
|
||||
},
|
||||
{
|
||||
label: '',
|
||||
prop: 'employInfoList',
|
||||
formslot: true,
|
||||
addDisplay: false,
|
||||
editDisplay: false,
|
||||
viewDisplay: false,
|
||||
hide: true,
|
||||
span: 24,
|
||||
labelPosition: 'top', //标签位置
|
||||
}
|
||||
],
|
||||
};
|
||||
},
|
||||
@@ -758,19 +871,51 @@ export default {
|
||||
},
|
||||
created() {
|
||||
this.initDept();
|
||||
this.groupTypeDept()
|
||||
// this.getWorkTypes();
|
||||
this.getLabelList();
|
||||
this.getDept()
|
||||
},
|
||||
methods: {
|
||||
groupTypeDept() {
|
||||
getDept({groupType: 1}).then((res) => {
|
||||
this.selecTreeData = res.data.data.list;
|
||||
});
|
||||
splitDate(time) {
|
||||
if (!time) return
|
||||
return `${time.slice(0, 4)}年${time.slice(4, 6)}日`
|
||||
},
|
||||
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
|
||||
}
|
||||
},
|
||||
checkUserInfo(row) {
|
||||
this.dialogInfo = row
|
||||
const groupInfo = this.treeData.find((item) => item.id === row.groupId)
|
||||
this.selectGroupName = groupInfo.groupName
|
||||
switch (groupInfo.groupName) {
|
||||
case '潜在就业困难人员':
|
||||
this.dialogTips = ['人员已死亡', '已经进行就业登记', '享受养老保险待遇', '不满足男性大于等于50岁女性大于等于40岁', '不满足失业登记一年以上', '存在工商信息']
|
||||
break
|
||||
case '潜在登记失业人员':
|
||||
this.dialogTips = ['不满足断保3个月', '存在工商信息']
|
||||
break
|
||||
case '潜在失业保险金申领人员':
|
||||
this.dialogTips = ['已经进行就业登记', '享受养老保险待遇', '存在工商信息', '连续参保不满一年']
|
||||
break
|
||||
case '潜在就业困难人员中以个人身份参保人员':
|
||||
this.dialogTips = ['已经进行就业登记', '存在工商信息', '不是以个人身份参保']
|
||||
break
|
||||
case '潜在公益性岗位申请人员':
|
||||
this.dialogTips = ['人员已死亡', '已经进行就业登记', '享受养老保险待遇', '不满足男性大于等于50岁女性大于等于40岁', '不满足失业登记一年以上', '存在工商信息']
|
||||
break
|
||||
case '潜在就业见习申请人员':
|
||||
this.dialogTips = ['已就业登记', '不满足16-24岁']
|
||||
break
|
||||
default :
|
||||
this.dialogTips = []
|
||||
}
|
||||
this.dialogFlag = true
|
||||
},
|
||||
diaLogCancel(value) {
|
||||
@@ -782,7 +927,7 @@ export default {
|
||||
approvalStatus: 1,
|
||||
content: value,
|
||||
}
|
||||
this.$confirm("确定将选择数据驳回?", {
|
||||
this.$confirm("确定数据不符合?", {
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning"
|
||||
@@ -885,6 +1030,7 @@ export default {
|
||||
initDept(groupId) {
|
||||
getDept({groupType: 0}).then((res) => {
|
||||
const data = res.data.data.list;
|
||||
this.selecTreeData = data;
|
||||
this.treeData = data;
|
||||
let treeDataOne = {
|
||||
companyId: "",
|
||||
@@ -988,6 +1134,7 @@ export default {
|
||||
/*点击分组加载相应人才列表*/
|
||||
nodeClick(data) {
|
||||
this.tenantId = data.id ? data.id : "";
|
||||
this.selectInfo = data
|
||||
this.page.currentPage = 1;
|
||||
this.onLoad(this.page, this.query);
|
||||
// if (this.tenantId !== data.id) {
|
||||
@@ -1016,6 +1163,7 @@ export default {
|
||||
setTimeout(() => {
|
||||
detail(this.obj.id).then(
|
||||
(res) => {
|
||||
console.log(res)
|
||||
this.obj = res.data.data;
|
||||
this.tempWorkType = this.obj.labelsBase.split(",");
|
||||
done();
|
||||
|
||||
Reference in New Issue
Block a user