重点人群识别与服务管理功能开发联调
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
//var baseUrl = 'http://cgsu81beft.51xd.pub';
|
//var baseUrl = 'http://cgsu81beft.51xd.pub';
|
||||||
var baseUrl = "http://39.101.167.152:8088/shekecaiji";
|
var baseUrl = "http://39.101.167.152:8088/shekecaiji";
|
||||||
var testUrl = "http://192.168.3.108:8000/jobslink-api/jkworksreport"
|
var testUrl = "http://192.168.3.104:8000/jobslink-api/jkworksreport"
|
||||||
|
|
||||||
var href = window.location.href.split("=");
|
var href = window.location.href.split("=");
|
||||||
var shengFen = unescape(href[1].split("&")[0]);
|
var shengFen = unescape(href[1].split("&")[0]);
|
||||||
@@ -133,7 +133,7 @@ function getData5() {
|
|||||||
'Jobslink-Auth': `bearer ${token}`
|
'Jobslink-Auth': `bearer ${token}`
|
||||||
},
|
},
|
||||||
async: true,
|
async: true,
|
||||||
data: { date: '2023-10', province: '四川省' },
|
data: { date: '2023-12', province: '四川省' },
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
//console.log(res);
|
//console.log(res);
|
||||||
if (res.code == "200") {
|
if (res.code == "200") {
|
||||||
@@ -243,8 +243,8 @@ function getData7() {
|
|||||||
'Jobslink-Auth': `bearer ${token}`
|
'Jobslink-Auth': `bearer ${token}`
|
||||||
},
|
},
|
||||||
async: true,
|
async: true,
|
||||||
// data: { date: '2023-10', province: '四川省', city: shengFen }, // 市级暂时没数据
|
// data: { date: '2023-12', province: '四川省', city: shengFen }, // 市级暂时没数据
|
||||||
data: { date: '2023-10', province: '四川省' },
|
data: { date: '2023-12', province: '四川省' },
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
//console.log(res);
|
//console.log(res);
|
||||||
if (res.code == "200") {
|
if (res.code == "200") {
|
||||||
@@ -501,7 +501,7 @@ function getData4() {
|
|||||||
'Jobslink-Auth': `bearer ${token}`
|
'Jobslink-Auth': `bearer ${token}`
|
||||||
},
|
},
|
||||||
async: true,
|
async: true,
|
||||||
data: { date: '2023-10', province: '四川省' },
|
data: { date: '2023-12', province: '四川省' },
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
//console.log(res);
|
//console.log(res);
|
||||||
if (res.code == "200") {
|
if (res.code == "200") {
|
||||||
@@ -1033,7 +1033,7 @@ function getData6() {
|
|||||||
'Jobslink-Auth': `bearer ${token}`
|
'Jobslink-Auth': `bearer ${token}`
|
||||||
},
|
},
|
||||||
async: true,
|
async: true,
|
||||||
data: { date: '2023-10', province: '四川省' },
|
data: { date: '2023-12', province: '四川省' },
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
if (res.code == "200") {
|
if (res.code == "200") {
|
||||||
@@ -1133,7 +1133,7 @@ function getData18() {
|
|||||||
'Jobslink-Auth': `bearer ${token}`
|
'Jobslink-Auth': `bearer ${token}`
|
||||||
},
|
},
|
||||||
async: true,
|
async: true,
|
||||||
data: { date: '2023-10', province: '四川省' },
|
data: { date: '2023-12', province: '四川省' },
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
if (res.code == "200") {
|
if (res.code == "200") {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
//var baseUrl = 'http://cgsu81beft.51xd.pub';
|
//var baseUrl = 'http://cgsu81beft.51xd.pub';
|
||||||
var baseUrl = "http://39.101.167.152:8088/shekecaiji";
|
var baseUrl = "http://39.101.167.152:8088/shekecaiji";
|
||||||
var testUrl = "http://192.168.3.108:8000/jobslink-api/jkworksreport"
|
var testUrl = "http://192.168.3.104:8000/jobslink-api/jkworksreport"
|
||||||
|
|
||||||
console.log(document.cookie)
|
console.log(document.cookie)
|
||||||
// 获取cookie
|
// 获取cookie
|
||||||
@@ -377,8 +377,8 @@ function testData4() {
|
|||||||
'Jobslink-Auth': `bearer ${token}`
|
'Jobslink-Auth': `bearer ${token}`
|
||||||
},
|
},
|
||||||
url: testUrl + "/getData1",
|
url: testUrl + "/getData1",
|
||||||
data: { date: '2023-10', province: '四川省' },
|
data: { date: '2023-12', province: '四川省' },
|
||||||
async: false,
|
async: true,
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@@ -393,8 +393,8 @@ function getIndustryData() {
|
|||||||
'Jobslink-Auth': `bearer ${token}`
|
'Jobslink-Auth': `bearer ${token}`
|
||||||
},
|
},
|
||||||
url: testUrl + "/getData2",
|
url: testUrl + "/getData2",
|
||||||
data: { date: '2023-10', province: '四川省' },
|
data: { date: '2023-12', province: '四川省' },
|
||||||
async: false,
|
async: true,
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
console.log('6666666666666')
|
console.log('6666666666666')
|
||||||
// data1 岗位数, // data2 求职人数
|
// data1 岗位数, // data2 求职人数
|
||||||
@@ -417,8 +417,8 @@ function testData6() {
|
|||||||
'Jobslink-Auth': `bearer ${token}`
|
'Jobslink-Auth': `bearer ${token}`
|
||||||
},
|
},
|
||||||
url: testUrl + "/getData3",
|
url: testUrl + "/getData3",
|
||||||
data: { date: '2023-10', province: '四川省' },
|
data: { date: '2023-12', province: '四川省' },
|
||||||
async: false,
|
async: true,
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@@ -432,8 +432,8 @@ function testData7() {
|
|||||||
'Jobslink-Auth': `bearer ${token}`
|
'Jobslink-Auth': `bearer ${token}`
|
||||||
},
|
},
|
||||||
url: testUrl + "/getData4",
|
url: testUrl + "/getData4",
|
||||||
data: { date: '2023-10', province: '四川省' },
|
data: { date: '2023-12', province: '四川省' },
|
||||||
async: false,
|
async: true,
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@@ -447,8 +447,8 @@ function testData8() {
|
|||||||
'Jobslink-Auth': `bearer ${token}`
|
'Jobslink-Auth': `bearer ${token}`
|
||||||
},
|
},
|
||||||
url: testUrl + "/getData5",
|
url: testUrl + "/getData5",
|
||||||
data: { date: '2023-10', province: '四川省' },
|
data: { date: '2023-12', province: '四川省' },
|
||||||
async: false,
|
async: true,
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@@ -462,8 +462,8 @@ function testData9() {
|
|||||||
'Jobslink-Auth': `bearer ${token}`
|
'Jobslink-Auth': `bearer ${token}`
|
||||||
},
|
},
|
||||||
url: testUrl + "/getData6",
|
url: testUrl + "/getData6",
|
||||||
data: { date: '2023-10', province: '四川省' },
|
data: { date: '2023-12', province: '四川省' },
|
||||||
async: false,
|
async: true,
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@@ -477,8 +477,8 @@ function testData10() {
|
|||||||
'Jobslink-Auth': `bearer ${token}`
|
'Jobslink-Auth': `bearer ${token}`
|
||||||
},
|
},
|
||||||
url: testUrl + "/getData7",
|
url: testUrl + "/getData7",
|
||||||
data: { date: '2023-10', province: '四川省' },
|
data: { date: '2023-12', province: '四川省' },
|
||||||
async: false,
|
async: true,
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@@ -492,8 +492,8 @@ function testData11() {
|
|||||||
'Jobslink-Auth': `bearer ${token}`
|
'Jobslink-Auth': `bearer ${token}`
|
||||||
},
|
},
|
||||||
url: testUrl + "/getData8",
|
url: testUrl + "/getData8",
|
||||||
data: { date: '2023-10', province: '四川省' },
|
data: { date: '2023-12', province: '四川省' },
|
||||||
async: false,
|
async: true,
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@@ -610,7 +610,7 @@ function getData5() {
|
|||||||
'Jobslink-Auth': `bearer ${token}`
|
'Jobslink-Auth': `bearer ${token}`
|
||||||
},
|
},
|
||||||
async: true,
|
async: true,
|
||||||
data: { date: '2023-10', province: '四川省' },
|
data: { date: '2023-12', province: '四川省' },
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
//console.log(res);
|
//console.log(res);
|
||||||
if (res.code == "200") {
|
if (res.code == "200") {
|
||||||
@@ -741,7 +741,7 @@ function getData7() {
|
|||||||
'Jobslink-Auth': `bearer ${token}`
|
'Jobslink-Auth': `bearer ${token}`
|
||||||
},
|
},
|
||||||
async: true,
|
async: true,
|
||||||
data: { date: '2023-10', province: '四川省' },
|
data: { date: '2023-12', province: '四川省' },
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
//console.log(res);
|
//console.log(res);
|
||||||
if (res.code == "200") {
|
if (res.code == "200") {
|
||||||
@@ -1084,7 +1084,7 @@ function getData4() {
|
|||||||
'Jobslink-Auth': `bearer ${token}`
|
'Jobslink-Auth': `bearer ${token}`
|
||||||
},
|
},
|
||||||
async: true,
|
async: true,
|
||||||
data: { date: '2023-10', province: '四川省' },
|
data: { date: '2023-12', province: '四川省' },
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
//console.log(res);
|
//console.log(res);
|
||||||
if (res.code == "200") {
|
if (res.code == "200") {
|
||||||
@@ -1648,7 +1648,7 @@ function getData6() {
|
|||||||
'Jobslink-Auth': `bearer ${token}`
|
'Jobslink-Auth': `bearer ${token}`
|
||||||
},
|
},
|
||||||
async: true,
|
async: true,
|
||||||
data: { date: '2023-10', province: '四川省' },
|
data: { date: '2023-12', province: '四川省' },
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
if (res.code == "200") {
|
if (res.code == "200") {
|
||||||
@@ -1749,7 +1749,7 @@ function getData18() {
|
|||||||
'Jobslink-Auth': `bearer ${token}`
|
'Jobslink-Auth': `bearer ${token}`
|
||||||
},
|
},
|
||||||
async: true,
|
async: true,
|
||||||
data: { date: '2023-10', province: '四川省' },
|
data: { date: '2023-12', province: '四川省' },
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
if (res.code == "200") {
|
if (res.code == "200") {
|
||||||
|
|||||||
@@ -114,3 +114,34 @@ export const getServeListTalents =
|
|||||||
params: params
|
params: params
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*匹配岗位和任务*/
|
||||||
|
export const getMatchWorkStation =
|
||||||
|
(params) => {
|
||||||
|
return request({
|
||||||
|
url: '/api/jobslink-api/tenant/mainServeUserPost/postPage',
|
||||||
|
method: 'get',
|
||||||
|
params: params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
/*匹配政策*/
|
||||||
|
export const getMatchPolicy =
|
||||||
|
(params) => {
|
||||||
|
return request({
|
||||||
|
url: '/api/jobslink-api/serve/listPolicy',
|
||||||
|
method: 'get',
|
||||||
|
params: params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
/*服务日志*/
|
||||||
|
export const getMatchServeList =
|
||||||
|
(params) => {
|
||||||
|
return request({
|
||||||
|
url: '/api/jobslink-api/tenant/mainserveuserlog/page',
|
||||||
|
method: 'get',
|
||||||
|
params: params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
34
src/views/tenant/main/serve/Dialog/ServeDetail.vue
Normal file
34
src/views/tenant/main/serve/Dialog/ServeDetail.vue
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
<template>
|
||||||
|
<el-drawer
|
||||||
|
size="70%"
|
||||||
|
append-to-body
|
||||||
|
:title="title"
|
||||||
|
:visible.sync="drawer"
|
||||||
|
:wrapperClosable="false"
|
||||||
|
:close-on-click-modal="false"
|
||||||
|
:close-on-press-escape="false"
|
||||||
|
|
||||||
|
@closed="closed"
|
||||||
|
>
|
||||||
|
</el-drawer>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
drawer: false,
|
||||||
|
title: '服务详情'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
methods: {
|
||||||
|
onLoad() {
|
||||||
|
this.drawer = true;
|
||||||
|
},
|
||||||
|
closed() {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
@@ -1,19 +1,14 @@
|
|||||||
<template>
|
<template>
|
||||||
|
<div>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="5">
|
<el-col :span="5">
|
||||||
<basic-container>
|
<basic-container>
|
||||||
<!-- <el-collapse v-model="activeNames">
|
|
||||||
<el-collapse-item name="1" disabled="true">
|
|
||||||
<template slot="title">-->
|
|
||||||
<!-- <p>全部({{ personTotal }}人)</p> -->
|
|
||||||
<p>分组管理</p>
|
<p>分组管理</p>
|
||||||
<!-- </template> -->
|
|
||||||
<div class="box" :style="{ height: leftHeight }">
|
<div class="box" :style="{ height: leftHeight }">
|
||||||
<el-scrollbar style="height: 100%">
|
<el-scrollbar style="height: 100%">
|
||||||
<el-tree ref="tree" node-key="id" highlight-current :expand-on-click-node="false" @node-click="nodeClick"
|
<el-tree ref="tree" node-key="id" highlight-current :expand-on-click-node="false" @node-click="nodeClick"
|
||||||
:data="treeData" :props="props">
|
: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 }" style="width: 80%">
|
||||||
<!-- <el-tooltip class="item" effect="dark" :content="node.label" placement="top"> -->
|
|
||||||
<span style="
|
<span style="
|
||||||
flex-basis: 80%;
|
flex-basis: 80%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@@ -24,7 +19,6 @@
|
|||||||
{{ node.label }}
|
{{ node.label }}
|
||||||
({{ data.sumNum }}人)
|
({{ data.sumNum }}人)
|
||||||
</span>
|
</span>
|
||||||
<!-- </el-tooltip> -->
|
|
||||||
<span v-show="data.id && data.id !== '0'" style="flex-basis: 20%">
|
<span v-show="data.id && data.id !== '0'" style="flex-basis: 20%">
|
||||||
<el-button type="text" icon="el-icon-edit" size="mini" @click="() => updateGroups('edit', data)">
|
<el-button type="text" icon="el-icon-edit" size="mini" @click="() => updateGroups('edit', data)">
|
||||||
</el-button>
|
</el-button>
|
||||||
@@ -33,18 +27,12 @@
|
|||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</el-tree>
|
</el-tree>
|
||||||
<!-- v-show="vaildData(permission.tenant_wage_payroll_view, false)" -->
|
|
||||||
<div class="footer" style="padding-left: 6px">
|
<div class="footer" style="padding-left: 6px">
|
||||||
<el-button type="text" icon="el-icon-plus" @click="updateGroups('add')">新建分组</el-button>
|
<el-button type="text" icon="el-icon-plus" @click="updateGroups('add')">新建分组</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-scrollbar>
|
</el-scrollbar>
|
||||||
</div>
|
</div>
|
||||||
<!-- </el-collapse-item>
|
|
||||||
</el-collapse>-->
|
|
||||||
</basic-container>
|
</basic-container>
|
||||||
<!-- <div>
|
|
||||||
<el-button type="text" icon="el-icon-setting" @click="drawer = true">分组管理</el-button>
|
|
||||||
</div>-->
|
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="19">
|
<el-col :span="19">
|
||||||
<basic-container>
|
<basic-container>
|
||||||
@@ -54,12 +42,6 @@
|
|||||||
<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-select v-model="query.worktypes" placeholder="工种" style="width: 100%" filterable clearable>-->
|
|
||||||
<!-- <el-option v-for="(item, key, index) in worktypeData" :key="index" :label="item.name"-->
|
|
||||||
<!-- :value="item.name"></el-option>-->
|
|
||||||
<!-- </el-select>-->
|
|
||||||
<!-- </el-form-item>-->
|
|
||||||
|
|
||||||
<div class="searchBtn">
|
<div class="searchBtn">
|
||||||
<el-button type="primary" size="small" icon="el-icon-search" @click="searchChange1">搜 索</el-button>
|
<el-button type="primary" size="small" icon="el-icon-search" @click="searchChange1">搜 索</el-button>
|
||||||
@@ -79,6 +61,13 @@
|
|||||||
<div>{{ row.worktypes | ellipsis }}</div>
|
<div>{{ row.worktypes | ellipsis }}</div>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
|
<template slot="status" slot-scope="{ row }">
|
||||||
|
<div>
|
||||||
|
<span>
|
||||||
|
<b>{{ statusArr[row.status] }}</b>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
<template slot="resume" slot-scope="{ row }">
|
<template slot="resume" slot-scope="{ row }">
|
||||||
<div>
|
<div>
|
||||||
<el-button type="text" size="mini" @click="$refs.resume.openDialog(row)"
|
<el-button type="text" size="mini" @click="$refs.resume.openDialog(row)"
|
||||||
@@ -93,10 +82,6 @@
|
|||||||
</template>
|
</template>
|
||||||
<!--自定义按钮-->
|
<!--自定义按钮-->
|
||||||
<template slot="menuLeft">
|
<template slot="menuLeft">
|
||||||
<!-- <el-button type="success" size="small" plain icon="el-icon-plus" @click="handleImport"
|
|
||||||
v-show="vaildData(permission.tenant_talents_groupadd, false)">导入</el-button>
|
|
||||||
<el-button type="warning" size="small" plain :disabled="!selectionList.length" icon="el-icon-sort"
|
|
||||||
@click="handleTransfer">转移分组</el-button> -->
|
|
||||||
<el-button type="danger" size="small" icon="el-icon-delete" @click="handleDelete"
|
<el-button type="danger" size="small" icon="el-icon-delete" @click="handleDelete"
|
||||||
:disabled="!selectionList.length" plain v-show="vaildData(permission.tenant_talents_groupdelete, false)">
|
:disabled="!selectionList.length" plain v-show="vaildData(permission.tenant_talents_groupdelete, false)">
|
||||||
删除</el-button>
|
删除</el-button>
|
||||||
@@ -112,39 +97,42 @@
|
|||||||
icon="el-icon-document"
|
icon="el-icon-document"
|
||||||
size="small"
|
size="small"
|
||||||
@click="showKeyAudience(row)"
|
@click="showKeyAudience(row)"
|
||||||
>重点人群详情</el-button>
|
>服务详情</el-button>
|
||||||
</template>
|
</template>
|
||||||
<!--/父子表-->
|
<!--/父子表-->
|
||||||
</avue-crud>
|
</avue-crud>
|
||||||
|
|
||||||
<!-- / 重点人群详情 -->
|
<!-- / 重点人群详情 -->
|
||||||
<el-dialog title="重点人群详情" :visible.sync="visibleAudience" :close-on-click-modal="false" append-to-body width="70%">
|
<!-- <el-dialog title="服务详情" :visible.sync="visibleAudience" :close-on-click-modal="false" append-to-body width="70%">
|
||||||
<avue-crud
|
<avue-crud
|
||||||
:data="infoData"
|
:data="infoData"
|
||||||
:option="infoOption"
|
:option="infoOption"
|
||||||
:page.sync="infoPage"
|
:page.sync="infoPage"
|
||||||
@size-change="infoSizeChange"
|
@size-change="infoSizeChange"
|
||||||
@current-change="infoCurrentChange"
|
@current-change="infoCurrentChange"
|
||||||
|
class="customPage"
|
||||||
>
|
>
|
||||||
<template slot-scope="{row,index}" slot="menu">
|
<template slot-scope="{row,index}" slot="menu">
|
||||||
<el-button type="text"
|
<el-button type="text"
|
||||||
icon="el-icon-document"
|
icon="el-icon-document"
|
||||||
size="small"
|
size="small"
|
||||||
@click=""
|
@click="matchWorkStation(row)"
|
||||||
>查看服务</el-button>
|
>匹配任务/岗位</el-button>
|
||||||
<el-button type="text"
|
<el-button type="text"
|
||||||
icon="el-icon-document"
|
icon="el-icon-document"
|
||||||
size="small"
|
size="small"
|
||||||
@click=""
|
@click="matchPolicy(row)"
|
||||||
>查看政策</el-button>
|
>匹配政策</el-button>
|
||||||
<el-button type="text"
|
<el-button type="text"
|
||||||
icon="el-icon-document"
|
icon="el-icon-document"
|
||||||
size="small"
|
size="small"
|
||||||
@click=""
|
@click="serveLog(row)"
|
||||||
>查看日志</el-button>
|
>服务日志</el-button>
|
||||||
</template>
|
</template>
|
||||||
</avue-crud>
|
</avue-crud>
|
||||||
</el-dialog>
|
</el-dialog> -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--批量导入-->
|
<!--批量导入-->
|
||||||
<el-dialog title="导入" append-to-body :visible.sync="excelBox" :close-on-click-modal="false" width="555px">
|
<el-dialog title="导入" append-to-body :visible.sync="excelBox" :close-on-click-modal="false" width="555px">
|
||||||
@@ -169,7 +157,98 @@
|
|||||||
</basic-container>
|
</basic-container>
|
||||||
<ied ref="ied"></ied>
|
<ied ref="ied"></ied>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
</el-row>
|
</el-row>
|
||||||
|
<!-- <serve-detail ref="copy" @back="backIndex" v-show="false"></serve-detail> -->
|
||||||
|
<el-drawer
|
||||||
|
size="80%"
|
||||||
|
append-to-body
|
||||||
|
title="服务详情"
|
||||||
|
:visible.sync="drawer"
|
||||||
|
:direction="direction"
|
||||||
|
:before-close="handleClose">
|
||||||
|
<avue-crud
|
||||||
|
:data="infoData"
|
||||||
|
:option="infoOption"
|
||||||
|
:page.sync="infoPage"
|
||||||
|
@size-change="infoSizeChange"
|
||||||
|
@current-change="infoCurrentChange"
|
||||||
|
>
|
||||||
|
<template slot-scope="{row,index}" slot="menu">
|
||||||
|
<el-button type="text"
|
||||||
|
icon="el-icon-document"
|
||||||
|
size="small"
|
||||||
|
@click="matchWorkStation(row)"
|
||||||
|
>匹配任务/岗位</el-button>
|
||||||
|
<el-button type="text"
|
||||||
|
icon="el-icon-document"
|
||||||
|
size="small"
|
||||||
|
@click="matchPolicy(row)"
|
||||||
|
>匹配政策</el-button>
|
||||||
|
<el-button type="text"
|
||||||
|
icon="el-icon-document"
|
||||||
|
size="small"
|
||||||
|
@click="serveLog(row)"
|
||||||
|
>服务日志</el-button>
|
||||||
|
</template>
|
||||||
|
</avue-crud>
|
||||||
|
<el-drawer
|
||||||
|
title="匹配任务/岗位"
|
||||||
|
size="80%"
|
||||||
|
:append-to-body="true"
|
||||||
|
:before-close="handleCloseWork"
|
||||||
|
:visible.sync="innerDrawer1">
|
||||||
|
<avue-crud
|
||||||
|
:data="workData"
|
||||||
|
:option="workOption"
|
||||||
|
:page.sync="workPage"
|
||||||
|
@size-change="workSizeChange"
|
||||||
|
@current-change="workCurrentChange"
|
||||||
|
>
|
||||||
|
<template slot="missionDesc" slot-scope="{ row }">
|
||||||
|
{{ row.missionDesc }}
|
||||||
|
</template>
|
||||||
|
<template slot-scope="{row,index}" slot="menu">
|
||||||
|
<el-button type="text"
|
||||||
|
icon="el-icon-document"
|
||||||
|
size="small"
|
||||||
|
@click=""
|
||||||
|
>查看详情</el-button>
|
||||||
|
</template>
|
||||||
|
</avue-crud>
|
||||||
|
</el-drawer>
|
||||||
|
<el-drawer
|
||||||
|
title="匹配政策"
|
||||||
|
size="80%"
|
||||||
|
:append-to-body="true"
|
||||||
|
:before-close="handleClosePolicy"
|
||||||
|
:visible.sync="innerDrawer2">
|
||||||
|
<avue-crud
|
||||||
|
:data="policyData"
|
||||||
|
:option="policyOption"
|
||||||
|
:page.sync="policyPage"
|
||||||
|
@size-change="policySizeChange"
|
||||||
|
@current-change="policyCurrentChange"
|
||||||
|
>
|
||||||
|
</avue-crud>
|
||||||
|
</el-drawer>
|
||||||
|
<el-drawer
|
||||||
|
title="服务日志"
|
||||||
|
size="80%"
|
||||||
|
:append-to-body="true"
|
||||||
|
:before-close="handleCloseLog"
|
||||||
|
:visible.sync="innerDrawer3">
|
||||||
|
<avue-crud
|
||||||
|
:data="logData"
|
||||||
|
:option="logOption"
|
||||||
|
:page.sync="logPage"
|
||||||
|
@size-change="logSizeChange"
|
||||||
|
@current-change="logCurrentChange"
|
||||||
|
>
|
||||||
|
</avue-crud>
|
||||||
|
</el-drawer>
|
||||||
|
</el-drawer>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -182,7 +261,10 @@ import {
|
|||||||
getDept,
|
getDept,
|
||||||
removeDept,
|
removeDept,
|
||||||
upload,
|
upload,
|
||||||
getServeListTalents
|
getServeListTalents,
|
||||||
|
getMatchWorkStation,
|
||||||
|
getMatchPolicy,
|
||||||
|
getMatchServeList
|
||||||
} from "@/api/tenant/serve";
|
} from "@/api/tenant/serve";
|
||||||
import { getWorkTypes } from "@/api/tenant/common";
|
import { getWorkTypes } from "@/api/tenant/common";
|
||||||
import { mapGetters } from "vuex";
|
import { mapGetters } from "vuex";
|
||||||
@@ -193,12 +275,18 @@ import { check18IdCardNo, isvalidatemobile, isExcel } from "@/util/validate";
|
|||||||
import { getTemplate } from "@/api/resource/template";
|
import { getTemplate } from "@/api/resource/template";
|
||||||
import ied from "@/views/util/import-error-dialog";
|
import ied from "@/views/util/import-error-dialog";
|
||||||
import { excelAccept } from "@/common/accept";
|
import { excelAccept } from "@/common/accept";
|
||||||
|
// import ServeDetail from './Dialog/ServeDetail.vue'
|
||||||
|
// import CopyMission from "../mission/Dialog/CopyMission";
|
||||||
const page = {
|
const page = {
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
total: 0,
|
total: 0,
|
||||||
}
|
}
|
||||||
export default {
|
export default {
|
||||||
|
components: {
|
||||||
|
// ServeDetail,
|
||||||
|
// CopyMission
|
||||||
|
},
|
||||||
filters: {
|
filters: {
|
||||||
ellipsis(value) {
|
ellipsis(value) {
|
||||||
if (!value) return "";
|
if (!value) return "";
|
||||||
@@ -211,6 +299,17 @@ export default {
|
|||||||
name: "tenant_talents",
|
name: "tenant_talents",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
statusArr: {
|
||||||
|
0: "未启用",
|
||||||
|
1: "服务中",
|
||||||
|
2: "已完成",
|
||||||
|
3: "关闭",
|
||||||
|
},
|
||||||
|
direction: 'rtl',
|
||||||
|
drawer: false,
|
||||||
|
innerDrawer1: false,
|
||||||
|
innerDrawer2: false,
|
||||||
|
innerDrawer3: false,
|
||||||
activeNames: "1",
|
activeNames: "1",
|
||||||
isIndeterminate: false,
|
isIndeterminate: false,
|
||||||
checkAll: false,
|
checkAll: false,
|
||||||
@@ -262,7 +361,13 @@ export default {
|
|||||||
visibleAudience: false,
|
visibleAudience: false,
|
||||||
selectInfo: null,
|
selectInfo: null,
|
||||||
infoData: [],
|
infoData: [],
|
||||||
|
workData: [],
|
||||||
|
policyData: [],
|
||||||
|
logData: [],
|
||||||
infoPage: Object.assign({} ,page),
|
infoPage: Object.assign({} ,page),
|
||||||
|
workPage: Object.assign({} ,page),
|
||||||
|
policyPage: Object.assign({} ,page),
|
||||||
|
logPage: Object.assign({} ,page),
|
||||||
obj: {},
|
obj: {},
|
||||||
excelForm: { isCovered: 1 },
|
excelForm: { isCovered: 1 },
|
||||||
};
|
};
|
||||||
@@ -332,7 +437,7 @@ export default {
|
|||||||
viewBtn: true,
|
viewBtn: true,
|
||||||
searchMenuSpan: 6,
|
searchMenuSpan: 6,
|
||||||
border: true,
|
border: true,
|
||||||
index: true,
|
index: false,
|
||||||
indexLabel: "序号",
|
indexLabel: "序号",
|
||||||
selection: true,
|
selection: true,
|
||||||
dialogType: "dialog",
|
dialogType: "dialog",
|
||||||
@@ -353,29 +458,6 @@ export default {
|
|||||||
],
|
],
|
||||||
slot: true
|
slot: true
|
||||||
},
|
},
|
||||||
// {
|
|
||||||
// label: "身份证",
|
|
||||||
// prop: "idNumber",
|
|
||||||
// hide: true,
|
|
||||||
// span: 24,
|
|
||||||
// rules: [
|
|
||||||
// { required: true, message: "请输入身份证号", trigger: "blur" },
|
|
||||||
// { trigger: "blur", validator: IdCardNo },
|
|
||||||
// ],
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// label: "手机号",
|
|
||||||
// prop: "telphone",
|
|
||||||
// span: 24,
|
|
||||||
// hide: true,
|
|
||||||
// rules: [
|
|
||||||
// {
|
|
||||||
// required: true,
|
|
||||||
// validator: validateTel,
|
|
||||||
// trigger: "blur",
|
|
||||||
// },
|
|
||||||
// ],
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
label: "用户类型",
|
label: "用户类型",
|
||||||
prop: "userId",
|
prop: "userId",
|
||||||
@@ -406,6 +488,12 @@ export default {
|
|||||||
],
|
],
|
||||||
formslot: true,
|
formslot: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: "状态",
|
||||||
|
prop: "status",
|
||||||
|
display: false,
|
||||||
|
slot: true,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: "分组",
|
label: "分组",
|
||||||
prop: "groupId",
|
prop: "groupId",
|
||||||
@@ -413,6 +501,7 @@ export default {
|
|||||||
span: 24,
|
span: 24,
|
||||||
display: true,
|
display: true,
|
||||||
dicData: self.treeData,
|
dicData: self.treeData,
|
||||||
|
hide: true,
|
||||||
props: {
|
props: {
|
||||||
label: "groupName",
|
label: "groupName",
|
||||||
value: "id",
|
value: "id",
|
||||||
@@ -426,26 +515,6 @@ export default {
|
|||||||
],
|
],
|
||||||
placeholder: "请选择 分组",
|
placeholder: "请选择 分组",
|
||||||
},
|
},
|
||||||
// {
|
|
||||||
// label: "工种",
|
|
||||||
// prop: "worktypes",
|
|
||||||
// rules: [
|
|
||||||
// {
|
|
||||||
// required: true,
|
|
||||||
// message: "请选择工种",
|
|
||||||
// trigger: ["blur"],
|
|
||||||
// },
|
|
||||||
// ],
|
|
||||||
// slot: true,
|
|
||||||
// formslot: true,
|
|
||||||
// span: 24,
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// label: "简历",
|
|
||||||
// prop: "resume",
|
|
||||||
// slot: true,
|
|
||||||
// display: false
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
label: "备注",
|
label: "备注",
|
||||||
prop: "remarks",
|
prop: "remarks",
|
||||||
@@ -459,21 +528,91 @@ export default {
|
|||||||
],
|
],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
workOption() {
|
||||||
|
return {
|
||||||
|
editBtn: false,
|
||||||
|
delBtn: false,
|
||||||
|
addBtn: false,
|
||||||
|
border: true,
|
||||||
|
index: true,
|
||||||
|
indexLabel: "序号",
|
||||||
|
refreshBtn: false,
|
||||||
|
height: '100',
|
||||||
|
column: [{
|
||||||
|
label: "名称",
|
||||||
|
prop: "missionTitle",
|
||||||
|
}, {
|
||||||
|
label: "描述",
|
||||||
|
prop: "missionDesc",
|
||||||
|
slot: true
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
policyOption() {
|
||||||
|
return {
|
||||||
|
editBtn: false,
|
||||||
|
delBtn: false,
|
||||||
|
addBtn: false,
|
||||||
|
border: true,
|
||||||
|
index: true,
|
||||||
|
indexLabel: "序号",
|
||||||
|
refreshBtn: false,
|
||||||
|
height: '100',
|
||||||
|
column: [{
|
||||||
|
label: '名称',
|
||||||
|
prop: 'name'
|
||||||
|
}, {
|
||||||
|
label: '内容',
|
||||||
|
prop: 'policyContent'
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
logOption() {
|
||||||
|
return {
|
||||||
|
editBtn: false,
|
||||||
|
delBtn: false,
|
||||||
|
addBtn: false,
|
||||||
|
border: true,
|
||||||
|
index: true,
|
||||||
|
indexLabel: "序号",
|
||||||
|
refreshBtn: false,
|
||||||
|
height: '100',
|
||||||
|
column: [{
|
||||||
|
label: '备注1',
|
||||||
|
prop: 'bak1'
|
||||||
|
},{
|
||||||
|
label: '备注2',
|
||||||
|
prop: 'bak2'
|
||||||
|
},{
|
||||||
|
label: '备注3',
|
||||||
|
prop: 'bak3'
|
||||||
|
},{
|
||||||
|
label: '备注4',
|
||||||
|
prop: 'bak4'
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
},
|
||||||
infoOption() {
|
infoOption() {
|
||||||
return {
|
return {
|
||||||
editBtn: false,
|
editBtn: false,
|
||||||
delBtn: false,
|
delBtn: false,
|
||||||
addBtn: false,
|
addBtn: false,
|
||||||
|
border: true,
|
||||||
refreshBtn: false,
|
refreshBtn: false,
|
||||||
|
searchBtn: true,
|
||||||
|
searchShow: true,
|
||||||
|
searchMenuSpan: 6,
|
||||||
height: '100',
|
height: '100',
|
||||||
column: [
|
column: [
|
||||||
{
|
{
|
||||||
label: "社区街道名称",
|
label: "社区街道名称",
|
||||||
prop: "companyName",
|
prop: "companyName",
|
||||||
|
search: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "姓名",
|
label: "姓名",
|
||||||
prop: "name",
|
prop: "name",
|
||||||
|
search: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "身份证",
|
label: "身份证",
|
||||||
@@ -487,10 +626,6 @@ export default {
|
|||||||
label: "用户类型",
|
label: "用户类型",
|
||||||
prop: "userId",
|
prop: "userId",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
label: "分组",
|
|
||||||
prop: "groupId",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: "标签",
|
label: "标签",
|
||||||
prop: "labelsBase",
|
prop: "labelsBase",
|
||||||
@@ -532,11 +667,6 @@ export default {
|
|||||||
rel.push({ name: key })
|
rel.push({ name: key })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* for (const key in this.worktypeDic) {
|
|
||||||
if (this.worktypeDic.hasOwnProperty(key)) {
|
|
||||||
rel.push({ name: key });
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
for (let i = 0; i < this.tempWorkType.length; i++) {
|
for (let i = 0; i < this.tempWorkType.length; i++) {
|
||||||
const key = this.tempWorkType[i];
|
const key = this.tempWorkType[i];
|
||||||
if (key && !this.worktypeDic.hasOwnProperty(key)) {
|
if (key && !this.worktypeDic.hasOwnProperty(key)) {
|
||||||
@@ -556,6 +686,8 @@ export default {
|
|||||||
this.getKeyAudience({
|
this.getKeyAudience({
|
||||||
id: row.id
|
id: row.id
|
||||||
})
|
})
|
||||||
|
// this.$refs.copy.onLoad();
|
||||||
|
this.drawer = true;
|
||||||
},
|
},
|
||||||
getKeyAudience(params) {
|
getKeyAudience(params) {
|
||||||
const _this = this
|
const _this = this
|
||||||
@@ -719,11 +851,6 @@ export default {
|
|||||||
this.tenantId = data.id ? data.id : "";
|
this.tenantId = data.id ? data.id : "";
|
||||||
this.page.currentPage = 1;
|
this.page.currentPage = 1;
|
||||||
this.onLoad(this.page, this.query);
|
this.onLoad(this.page, this.query);
|
||||||
// if (this.tenantId !== data.id) {
|
|
||||||
|
|
||||||
// } else {
|
|
||||||
// return;
|
|
||||||
// }
|
|
||||||
},
|
},
|
||||||
/*新增 编辑 转移 删除分组 更新人才后*/
|
/*新增 编辑 转移 删除分组 更新人才后*/
|
||||||
refresh(type) {
|
refresh(type) {
|
||||||
@@ -746,7 +873,6 @@ export default {
|
|||||||
detail(this.obj.id).then(
|
detail(this.obj.id).then(
|
||||||
(res) => {
|
(res) => {
|
||||||
this.obj = res.data.data;
|
this.obj = res.data.data;
|
||||||
// this.tempWorkType = this.obj.worktypes.split(",");
|
|
||||||
this.tempWorkType = []
|
this.tempWorkType = []
|
||||||
done();
|
done();
|
||||||
},
|
},
|
||||||
@@ -767,9 +893,6 @@ export default {
|
|||||||
groupId: row.groupId,
|
groupId: row.groupId,
|
||||||
name: row.name,
|
name: row.name,
|
||||||
serveLabels: row.serveLabels,
|
serveLabels: row.serveLabels,
|
||||||
// idNumber: row.idNumber,
|
|
||||||
// telphone: row.telphone,
|
|
||||||
// worktypes: row.worktypes,
|
|
||||||
remarks: row.remarks,
|
remarks: row.remarks,
|
||||||
}).then(
|
}).then(
|
||||||
() => {
|
() => {
|
||||||
@@ -793,9 +916,6 @@ export default {
|
|||||||
groupId: row.groupId,
|
groupId: row.groupId,
|
||||||
name: row.name,
|
name: row.name,
|
||||||
serveLabels: row.serveLabels,
|
serveLabels: row.serveLabels,
|
||||||
// idNumber: row.idNumber,
|
|
||||||
// telphone: row.telphone,
|
|
||||||
// worktypes: row.worktypes,
|
|
||||||
remarks: row.remarks,
|
remarks: row.remarks,
|
||||||
}).then(
|
}).then(
|
||||||
() => {
|
() => {
|
||||||
@@ -860,10 +980,6 @@ export default {
|
|||||||
);
|
);
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
// this.$message({
|
|
||||||
// type: 'info',
|
|
||||||
// message: '已取消'
|
|
||||||
// });
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
/*批量删除人才*/
|
/*批量删除人才*/
|
||||||
@@ -918,10 +1034,6 @@ export default {
|
|||||||
);
|
);
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
// this.$message({
|
|
||||||
// type: 'info',
|
|
||||||
// message: '已取消'
|
|
||||||
// });
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
/*导入人才库*/
|
/*导入人才库*/
|
||||||
@@ -1028,6 +1140,68 @@ export default {
|
|||||||
this.selectionClear();
|
this.selectionClear();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
// 匹配任务和岗位
|
||||||
|
matchWorkStation(row) {
|
||||||
|
console.log('匹配任务和岗位')
|
||||||
|
getMatchWorkStation({id: row.id, serveId: this.selectInfo.id, companyId: this.selectInfo.companyId}).then(res => {
|
||||||
|
console.log(res)
|
||||||
|
this.innerDrawer1 = true
|
||||||
|
let _this = this;
|
||||||
|
const {records, current, size, total} = res.data.data
|
||||||
|
_this.workData = records
|
||||||
|
_this.innerDrawer1 = true
|
||||||
|
_this.workPage = {
|
||||||
|
pageSize: size,
|
||||||
|
currentPage: current,
|
||||||
|
total: total,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 匹配政策
|
||||||
|
matchPolicy(row) {
|
||||||
|
console.log('匹配政策')
|
||||||
|
getMatchPolicy({id: row.id, serveId: this.selectInfo.id}).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,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 服务日志
|
||||||
|
serveLog(row) {
|
||||||
|
console.log('服务日志')
|
||||||
|
getMatchServeList({id: row.id, serveId: this.selectInfo.id, companyId: this.selectInfo.companyId, current: 1, size: 10}).then(res => {
|
||||||
|
let _this = this;
|
||||||
|
const {records, current, size, total} = res.data.data
|
||||||
|
_this.logData = records
|
||||||
|
_this.innerDrawer3 = true
|
||||||
|
_this.logPage = {
|
||||||
|
pageSize: size,
|
||||||
|
currentPage: current,
|
||||||
|
total: total,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
/**/
|
||||||
|
handleClose() {
|
||||||
|
this.drawer = false;
|
||||||
|
this.innerDrawer3 = false
|
||||||
|
this.infoData = null;
|
||||||
|
},
|
||||||
|
handleCloseWork() {
|
||||||
|
this.innerDrawer1 = false
|
||||||
|
},
|
||||||
|
handleClosePolicy() {
|
||||||
|
this.innerDrawer2 = false
|
||||||
|
},
|
||||||
|
handleCloseLog() {
|
||||||
|
this.innerDrawer3 = false
|
||||||
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -17,37 +17,6 @@
|
|||||||
ref="form"
|
ref="form"
|
||||||
@submit="submit"
|
@submit="submit"
|
||||||
>
|
>
|
||||||
<!-- <template slot="userNature">
|
|
||||||
<el-select v-model="obj.userNature">
|
|
||||||
<el-option v-for="(item,index) in userNatureList" :key="index" :label="item.label" :value="item.value">{{item.label}}</el-option>
|
|
||||||
</el-select>
|
|
||||||
</template> -->
|
|
||||||
<!-- <template slot-scope="{ disabled }" slot="wage">
|
|
||||||
<el-input
|
|
||||||
placeholder="请输入 参考工资"
|
|
||||||
v-model="obj.wage"
|
|
||||||
:disabled="disabled"
|
|
||||||
class="input-with-select"
|
|
||||||
>
|
|
||||||
<el-select
|
|
||||||
v-model="obj.wageUnitCategory"
|
|
||||||
slot="append"
|
|
||||||
placeholder="请选择单位"
|
|
||||||
style="width: 100%"
|
|
||||||
:disabled="disabled"
|
|
||||||
>
|
|
||||||
<template v-for="(item, key) in wageUnitCategory">
|
|
||||||
<el-option
|
|
||||||
v-if="!item.disable"
|
|
||||||
:key="key"
|
|
||||||
:label="item.label"
|
|
||||||
:value="item.value"
|
|
||||||
></el-option>
|
|
||||||
</template>
|
|
||||||
</el-select>
|
|
||||||
</el-input>
|
|
||||||
</template> -->
|
|
||||||
|
|
||||||
<template slot="cityId" slot-scope="{ disabled }">
|
<template slot="cityId" slot-scope="{ disabled }">
|
||||||
<jl-city-cascader
|
<jl-city-cascader
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
@@ -92,14 +61,6 @@
|
|||||||
show-word-limit
|
show-word-limit
|
||||||
ref="selectTradeId"
|
ref="selectTradeId"
|
||||||
>
|
>
|
||||||
<!-- <el-button
|
|
||||||
type="primary"
|
|
||||||
:disabled = "tradeBtnState"
|
|
||||||
slot="suffix"
|
|
||||||
@click="handleIconClick"
|
|
||||||
size="mini"
|
|
||||||
>+添加</el-button> -->
|
|
||||||
<!-- <i class="el-icon-arrow-down" slot="suffix" @click="handleIconClickArrowDown"></i> -->
|
|
||||||
<template slot-scope="{ item }">
|
<template slot-scope="{ item }">
|
||||||
<div class="name">{{item.value}}</div>
|
<div class="name">{{item.value}}</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -118,14 +79,6 @@
|
|||||||
show-word-limit
|
show-word-limit
|
||||||
:disabled = "worktypeDisabled"
|
:disabled = "worktypeDisabled"
|
||||||
>
|
>
|
||||||
<!-- <el-button
|
|
||||||
type="primary"
|
|
||||||
:disabled = "workTypeBtnState"
|
|
||||||
slot="suffix"
|
|
||||||
@click="handleIconClickWorkType"
|
|
||||||
size="mini"
|
|
||||||
>+添加</el-button> -->
|
|
||||||
<!-- <i class="el-icon-arrow-down" slot="suffix" @click="handleIconClickArrowDown"></i> -->
|
|
||||||
<template slot-scope="{ item }">
|
<template slot-scope="{ item }">
|
||||||
<div class="name">{{item.value}}</div>
|
<div class="name">{{item.value}}</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -134,7 +87,6 @@
|
|||||||
</template>
|
</template>
|
||||||
<!--/自定义表单-->
|
<!--/自定义表单-->
|
||||||
<template slot-scope="{ disabled }" slot="menuForm">
|
<template slot-scope="{ disabled }" slot="menuForm">
|
||||||
<!-- <el-button type="primary" icon="el-icon-check" @click="copy" :disabled="formLoading">提交</el-button> -->
|
|
||||||
<el-button
|
<el-button
|
||||||
icon="el-icon-circle-close"
|
icon="el-icon-circle-close"
|
||||||
@click="drawer = false"
|
@click="drawer = false"
|
||||||
@@ -304,39 +256,6 @@ export default {
|
|||||||
},
|
},
|
||||||
option() {
|
option() {
|
||||||
const self = this;
|
const self = this;
|
||||||
// var skill = function (rule, value, callback) {
|
|
||||||
// if (self.selectedSkills.length <= 0) {
|
|
||||||
// callback(new Error("请选择技能标签"));
|
|
||||||
// } else {
|
|
||||||
// callback();
|
|
||||||
// }
|
|
||||||
// };
|
|
||||||
// const wage = (rule, value, callback) => {
|
|
||||||
// if(value == ""){
|
|
||||||
// callback(
|
|
||||||
// new Error(
|
|
||||||
// "请填写参考工资"
|
|
||||||
// )
|
|
||||||
// );
|
|
||||||
// }else if (
|
|
||||||
// !/^([1-9]\d*|0)(\.\d{0,2})?$/.test(value) ||
|
|
||||||
// value <= 0 ||
|
|
||||||
// value > 99999
|
|
||||||
// ) {
|
|
||||||
// callback(
|
|
||||||
// new Error(
|
|
||||||
//
|
|
||||||
// )
|
|
||||||
// );
|
|
||||||
// } else if (
|
|
||||||
// this.obj.wageUnitCategory === null ||
|
|
||||||
// this.obj.wageUnitCategory === undefined
|
|
||||||
// ) {
|
|
||||||
// callback(new Error("请选择单位"));
|
|
||||||
// } else {
|
|
||||||
// callback();
|
|
||||||
// }
|
|
||||||
// };
|
|
||||||
const tradeId = (rule, value, callback) => {
|
const tradeId = (rule, value, callback) => {
|
||||||
if(this.tradeState == null || this.tradeState == undefined || this.tradeState == ""){
|
if(this.tradeState == null || this.tradeState == undefined || this.tradeState == ""){
|
||||||
callback(
|
callback(
|
||||||
@@ -357,25 +276,6 @@ export default {
|
|||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
// const workType = (rule, value, callback) => {
|
|
||||||
// if(this.workTypeState == null || this.workTypeState == undefined || this.workTypeState == ""){
|
|
||||||
// callback(
|
|
||||||
// new Error(
|
|
||||||
// "请选择工种"
|
|
||||||
// )
|
|
||||||
// )
|
|
||||||
// }else{
|
|
||||||
// if(!this.workTypeBtnState){
|
|
||||||
// callback(
|
|
||||||
// new Error(
|
|
||||||
// "新增工种要添加后才能使用"
|
|
||||||
// )
|
|
||||||
// )
|
|
||||||
// }else{
|
|
||||||
// callback();
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
const validatePass = (rule, value, callback)=>{
|
const validatePass = (rule, value, callback)=>{
|
||||||
let specialKey = "[`~#$^&*()=|{}\\[\\]<>/~#¥……&*()——|{}【】《》%@‘”“']‘'";
|
let specialKey = "[`~#$^&*()=|{}\\[\\]<>/~#¥……&*()——|{}【】《》%@‘”“']‘'";
|
||||||
let flagValue = true;
|
let flagValue = true;
|
||||||
@@ -1006,7 +906,6 @@ export default {
|
|||||||
})
|
})
|
||||||
this.tradeBtnState = true;
|
this.tradeBtnState = true;
|
||||||
this.initData();
|
this.initData();
|
||||||
//this.$refs.form.clearValidate('tradeId');
|
|
||||||
this.clearValidator('tradeId');
|
this.clearValidator('tradeId');
|
||||||
}else{
|
}else{
|
||||||
this.$message({
|
this.$message({
|
||||||
|
|||||||
@@ -23,9 +23,9 @@ module.exports = {
|
|||||||
port: 1888,
|
port: 1888,
|
||||||
proxy: {
|
proxy: {
|
||||||
"/api": {
|
"/api": {
|
||||||
// target: 'http://192.168.3.104:8000', // 本地服务接口地址
|
target: 'http://192.168.3.104:8000', // 本地服务接口地址
|
||||||
// target: "http://39.98.184.58:8000", // 阿里云后台地址
|
// target: "http://39.98.184.58:8000", // 阿里云后台地址
|
||||||
target: "http://192.168.3.111:8000", // 本地
|
// target: "http://192.168.3.108:8000", // 本地
|
||||||
ws: true,
|
ws: true,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
|
|||||||
Reference in New Issue
Block a user