flat: 8.30
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
flex-shrink: 1;
|
||||
">
|
||||
{{ data.groupName || data.name }}
|
||||
{{ data.sumNum ? `(${data.sumNum}个)` : '' }}
|
||||
</span>
|
||||
<span v-show="data.children && data.id && data.id !== '0'" style="flex-basis: 20%">
|
||||
<el-button type="text" icon="el-icon-edit" size="mini"
|
||||
@@ -268,6 +267,7 @@ import workView from "../../works/Table/missionView.vue"
|
||||
import TextTooltip from "@/components/text-tooltip/index.vue";
|
||||
import {serviceType} from "@/common/dic";
|
||||
import PushService from './Dialog/pushService2.vue'
|
||||
import {getDeptMyTree} from "@/api/tenant/talents";
|
||||
|
||||
const page = {
|
||||
pageSize: 10,
|
||||
@@ -313,6 +313,7 @@ export default {
|
||||
list: []
|
||||
},
|
||||
phoneItem: null,
|
||||
depTree: []
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -353,6 +354,7 @@ export default {
|
||||
return rel;
|
||||
},
|
||||
option() {
|
||||
const unemployedCollegeStudents = this.selectInfo && this.selectInfo.name === '离校未就业大学生'
|
||||
return {
|
||||
dialogWidth: "50%",
|
||||
dialogType: "drawer",
|
||||
@@ -368,28 +370,56 @@ export default {
|
||||
searchMenuSpan: 6,
|
||||
height: '100',
|
||||
column: [
|
||||
{
|
||||
label: "所属机构",
|
||||
prop: "deptId",
|
||||
type: "tree",
|
||||
multiple: false,
|
||||
dicData: this.depTree,
|
||||
props: {
|
||||
label: "title",
|
||||
value: 'value'
|
||||
},
|
||||
checkStrictly: true,
|
||||
search: true,
|
||||
span: 20,
|
||||
hide: true,
|
||||
searchLabelWidth: 80,
|
||||
searchSpan: 8,
|
||||
},
|
||||
{
|
||||
label: "姓名",
|
||||
prop: "name",
|
||||
search: true,
|
||||
searchLabelWidth: 50,
|
||||
searchSpan: 7,
|
||||
search: false,
|
||||
},
|
||||
{
|
||||
label: "身份证",
|
||||
prop: "idNumber",
|
||||
search: true,
|
||||
searchLabelWidth: 60,
|
||||
searchSpan: 7,
|
||||
searchLabelWidth: 100,
|
||||
searchSpan: 8,
|
||||
},
|
||||
// {
|
||||
// label: "手机号",
|
||||
// prop: "telphone",
|
||||
// },
|
||||
{
|
||||
label: '专业',
|
||||
prop: 'aac183Major'
|
||||
},
|
||||
{
|
||||
label: "毕业年份",
|
||||
width: 100,
|
||||
prop: "year",
|
||||
sortable: true,
|
||||
overHidden: true,
|
||||
align: "center",
|
||||
type: "year",
|
||||
format: "yyyy",
|
||||
valueFormat: "yyyy",
|
||||
op: "ge,le",
|
||||
searchType: "year",
|
||||
hide: true,
|
||||
searchLabelWidth: 80,
|
||||
searchSpan: 8,
|
||||
search: unemployedCollegeStudents,
|
||||
},
|
||||
{
|
||||
label: '文化程度',
|
||||
prop: 'aac011',
|
||||
@@ -404,14 +434,22 @@ export default {
|
||||
label: '户口所在地',
|
||||
prop: 'aac010'
|
||||
},
|
||||
// {
|
||||
// label: "用户类型",
|
||||
// prop: "userId",
|
||||
// },
|
||||
// {
|
||||
// label: "身份标签",
|
||||
// prop: "labelsBase",
|
||||
// },
|
||||
{
|
||||
label: "政策推送次数",
|
||||
prop: "servePolicyCount",
|
||||
searchType: 'number',
|
||||
search: unemployedCollegeStudents,
|
||||
searchLabelWidth: 100,
|
||||
searchSpan: 8,
|
||||
},
|
||||
{
|
||||
label: "岗位服务次数",
|
||||
prop: "serveCount",
|
||||
searchType: 'number',
|
||||
search: unemployedCollegeStudents,
|
||||
searchLabelWidth: 100,
|
||||
searchSpan: 8,
|
||||
},
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -661,9 +699,19 @@ export default {
|
||||
this.getListAllPolicyTree()
|
||||
this.getLabelList()
|
||||
this.ListAllTalents()
|
||||
|
||||
this.getDept()
|
||||
},
|
||||
methods: {
|
||||
async getDept() {
|
||||
let params = {
|
||||
tenantId: '000000'
|
||||
}
|
||||
let resData = await getDeptMyTree(params)
|
||||
if (resData.data.code === 200) {
|
||||
this.depTree = resData.data.data
|
||||
|
||||
}
|
||||
},
|
||||
selectPushUserService(row) {
|
||||
this.selectPushService().then(() => {
|
||||
this.$nextTick(() => {
|
||||
@@ -839,16 +887,9 @@ export default {
|
||||
const {records, current, size, total} = res.data.data
|
||||
this.dataSource = records
|
||||
this.loading = false;
|
||||
console.log({
|
||||
pageSize: size,
|
||||
currentPage: current,
|
||||
total: total,
|
||||
})
|
||||
this.page = {
|
||||
pageSize: size,
|
||||
currentPage: current,
|
||||
total: total,
|
||||
}
|
||||
this.page.size = size
|
||||
this.page.currentPage = current
|
||||
this.page.total = total
|
||||
// this.selectionClear();
|
||||
});
|
||||
},
|
||||
@@ -891,31 +932,25 @@ export default {
|
||||
const {records, current, size, total} = res.data.data
|
||||
this.innerDrawer1 = true
|
||||
this.workData = records
|
||||
this.workPage = {
|
||||
pageSize: size,
|
||||
currentPage: current,
|
||||
total: total,
|
||||
}
|
||||
this.workPage.size = size
|
||||
this.workPage.currentPage = current
|
||||
this.workPage.total = total
|
||||
})
|
||||
},
|
||||
// 匹配政策
|
||||
matchPolicy(row) {
|
||||
console.log('匹配政策')
|
||||
getMatchPolicy({id: row.id, serveId: this.selectInfo.id, serveUserId: row.serveUserId}).then(res => {
|
||||
let _this = this;
|
||||
const {records, current, size, total} = res.data.data
|
||||
_this.policyData = records
|
||||
_this.innerDrawer2 = true
|
||||
_this.policyPage = {
|
||||
pageSize: size,
|
||||
currentPage: current,
|
||||
total: total,
|
||||
}
|
||||
_this.policyPage.size = size
|
||||
_this.policyPage.currentPage = current
|
||||
_this.policyPage.total = total
|
||||
})
|
||||
},
|
||||
// 服务日志
|
||||
serveLog(row) {
|
||||
console.log('服务日志', row)
|
||||
this.selectUserServeLog = row
|
||||
getMatchServeList({
|
||||
id: row.id,
|
||||
@@ -928,11 +963,9 @@ export default {
|
||||
const {records, current, size, total} = res.data.data
|
||||
_this.logData = records
|
||||
_this.innerDrawer3 = true
|
||||
_this.logPage = {
|
||||
pageSize: size,
|
||||
currentPage: current,
|
||||
total: total,
|
||||
}
|
||||
_this.logPage.size = size
|
||||
_this.logPage.currentPage = current
|
||||
_this.logPage.total = total
|
||||
})
|
||||
},
|
||||
async saveLog(row, index, done, loading) {
|
||||
|
||||
Reference in New Issue
Block a user