diff --git a/src/api/tenant/serve.js b/src/api/tenant/serve.js index bfe5ffd..b51a84b 100644 --- a/src/api/tenant/serve.js +++ b/src/api/tenant/serve.js @@ -5,7 +5,7 @@ export const getList = (current, size, params, groupId) => { return request({ url: "/api/jobslink-api/serve/list", method: "get", - params: { ...params, current, size, groupId } + params: {...params, current, size, groupId} }); }; @@ -14,7 +14,7 @@ export const getUserList = (current, size, params, groupId) => { return request({ url: "/api/jobslink-api/serve/user/list", method: "get", - params: { ...params, current, size, groupId } + params: {...params, current, size, groupId} }); }; @@ -41,7 +41,7 @@ export const remove = ids => { return request({ url: "/api/jobslink-api/serve/remove", method: "post", - params: { ids } + params: {ids} }); }; @@ -50,7 +50,7 @@ export const detail = id => { return request({ url: "/api/jobslink-api/serve/detail", method: "get", - params: { id } + params: {id} }); }; @@ -104,7 +104,7 @@ export const removeDept = ids => { return request({ url: "/api/jobslink-api/serve/group/remove", method: "post", - params: { ids } + params: {ids} }); }; @@ -113,7 +113,7 @@ export const transferDept = (groupIds, ids) => { return request({ url: "/api/jobslink-api/serve/updateAllGroup", method: "post", - params: { groupIds, ids } + params: {groupIds, ids} }); }; @@ -205,11 +205,12 @@ export const getSearchAll = params => method: "get", params: params }); -export const getSearchAllByUserId = params => +export const getSearchAllByUserId = (params, body) => request({ url: "/api/jobslink-api/serve/pushSearchList", - method: "get", - params: params + method: "post", + data: body, + params: params, }); export const pushPolicyUserServe = params => @@ -233,9 +234,31 @@ export const getListAllTalents = params => params }); - export const getListUserAllTalents = params => - request({ - url: "/api/jobslink-api/serve/user/listAllTalents", - method: "get", - params - }); +export const getListUserAllTalents = params => + request({ + url: "/api/jobslink-api/serve/user/listAllTalents", + method: "get", + params + }); + +export const addServeLog = data => + request({ + url: "/api/jobslink-api/tenant/mainserveuserlog/save", + method: "post", + data + }); + +export const updateServeLog = data => + request({ + url: "/api/jobslink-api/tenant/mainserveuserlog/update", + method: "post", + data + }); + +export const removeServeLog = data => + request({ + url: "/api/jobslink-api/tenant/mainserveuserlog/remove", + method: "post", + params: data + }); + diff --git a/src/components/city-cascader/label.vue b/src/components/city-cascader/label.vue index c1cd800..152c320 100644 --- a/src/components/city-cascader/label.vue +++ b/src/components/city-cascader/label.vue @@ -40,12 +40,15 @@ export default { county: { get() { if (this.value) { - return this.value.split(this.splicer); + console.log('enum', this.area) + console.log('getvalue', this.value.split(this.splicer)) + return this.value.split(this.splicer).map((item) => item.replace(/\s+/g, "")); } else { return [] } }, set(val) { + console.log('setvalue', val, val.join(this.splicer)) this.$emit("input", val.join(this.splicer)); }, }, diff --git a/src/views/manage/cuser/serve/Dialog/pushService.vue b/src/views/manage/cuser/serve/Dialog/pushService.vue index 705913f..f57faf4 100644 --- a/src/views/manage/cuser/serve/Dialog/pushService.vue +++ b/src/views/manage/cuser/serve/Dialog/pushService.vue @@ -137,6 +137,9 @@ let leftUserOptions = { }, { label: '手机号', prop: 'telphone', + }, { + label: "求职意愿", + prop: "willingJob", }, { label: "民族", prop: "aac005", diff --git a/src/views/manage/cuser/serve/index.vue b/src/views/manage/cuser/serve/index.vue index 63bd50a..4f3d196 100644 --- a/src/views/manage/cuser/serve/index.vue +++ b/src/views/manage/cuser/serve/index.vue @@ -1,13 +1,13 @@ - - - - 服务分组管理 - - - + + + + 服务分组管理 + + + - 新建分组 - - - - - - - - - - - - - - - - - - - 搜 索 - 清 空 - - - - - - - - - - {{item}} + + - {{ row.worktypes | ellipsis }} - - - - + + + + + + + + + + + + + + + + + + 搜 索 + 清 空 + + + + + + + + + + + {{ item }} + + + {{ row.worktypes | ellipsis }} + + + + {{ statusArr[row.status] }} - + {{ statusArr[row.status] }} - - - - - 查看简历 - 暂无简历 - - - + + + + + 查看简历 + + 暂无简历 + + + - {{item}} + + {{ item }} + - {{ row.serveLabels.length > 20 ? `${row.serveLabels.substring(0, 20)}...` : row.serveLabels}} + {{ + row.serveLabels.length > 20 ? `${row.serveLabels.substring(0, 20)}...` : row.serveLabels + }} - - - - - - - - { $refs.crud.rowAdd(); selectPolicyTree = []}" - v-if="vaildData(permission.tenant_main_serve_index_add, false)"> - 新增 - - 删除 - - - {{ row.name }} - - - - - - - - 推送服务 - 服务详情 - 启用 - 关闭 - - - 关闭 - - - - - - - - - - 点击下载 - + + + + + + + + { $refs.crud.rowAdd(); selectPolicyTree = []}" + v-if="vaildData(permission.tenant_main_serve_index_add, false)"> + 新增 + + + 删除 - - - - - - - - - - - - - + + {{ row.name }} + + + + + + + + 推送服务 + + 服务详情 + + 启用 + + 关闭 + + + + 关闭 + + + + - - - + + + + + 点击下载 + + + + + + + + + + + + + + + + + + + + - - 匹配任务/岗位 - 匹配政策 - 服务日志 - - - - - - - - - 查看详情 + :data="infoData" + :option="infoOption" + :search.sync="search" + :page.sync="infoPage" + @search-change="serveSearchChange" + @search-reset="serveResetChange" + @size-change="infoSizeChange" + @current-change="infoCurrentChange" + > + + 匹配任务/岗位 + + 匹配政策 + + 服务日志 + + + + + + + - - - - - - - - {{item}} - - {{ row.policyContent.length > 50 ? row.policyContent.substring(0, 50) : row.policyContent}} - - - - - - {{item}} - - {{ row.labelName.length > 50 ? row.labelName.substring(0, 50) : row.labelName}} - - - - - {{ item }} + + 查看详情 + + + + + + + + + + + {{ item }} - + + {{ row.policyContent.length > 50 ? row.policyContent.substring(0, 50) : row.policyContent }} + + + + + + + {{ item }} + + + {{ row.labelName.length > 50 ? row.labelName.substring(0, 50) : row.labelName }} + + + + + {{ + item + }} + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - + + + + + + + + @@ -330,7 +362,7 @@ :visible.sync="PushServiceVisible" :rowData="selectPushServiceData" > - +
服务分组管理