Commit 6d9f34d2 by cen

Merge branch 'SAAS+V5.3.0-1117' of http://192.168.3.233:8090/saas_plus/dj-car-li…

…fe-system into SAAS+V5.3.0-1117
2 parents c10f3be3 84149dbe
...@@ -1664,7 +1664,7 @@ export const inviteStatusOptMap = { ...@@ -1664,7 +1664,7 @@ export const inviteStatusOptMap = {
} }
export const interviewResultOpt = [ export const interviewResultOpt = [
{ confId: "1", confValue: "通过" }, { confId: "1", confValue: "通过" },
{ confId: "0", confValue: "未通过" } { confId: "0", confValue: "不通过" }
] ]
export const processResultOpt = [ export const processResultOpt = [
{ confId: "1", confValue: "人员不匹配" }, { confId: "1", confValue: "人员不匹配" },
......
...@@ -262,7 +262,7 @@ export default { ...@@ -262,7 +262,7 @@ export default {
} }
.d2-search .el-form-item { .d2-search .el-form-item {
width: 80%; width: 94%;
} }
.d2-search .no-label.el-form-item--small .el-form-item__content, .d2-search .no-label.el-form-item--small .el-form-item__content,
......
...@@ -143,7 +143,7 @@ export default { ...@@ -143,7 +143,7 @@ export default {
} }
}, },
handleConfirm() { handleConfirm() {
console.log(this.editFormData) console.log(this.editFormData, this.editData)
this.$refs.editFormRef.$refs[this.editChildRef].validate((valid) => { this.$refs.editFormRef.$refs[this.editChildRef].validate((valid) => {
if (valid) { if (valid) {
this.$emit("handleConfirm", this.editData) this.$emit("handleConfirm", this.editData)
......
...@@ -21,34 +21,6 @@ ...@@ -21,34 +21,6 @@
inputMaxLength="15" inputMaxLength="15"
></input-range> ></input-range>
</template> </template>
<template #selectDatePickerHtml>
<div class="select-date-picker">
<el-select
v-model="searchForm.dateType"
placeholder="请选择"
@change="searchForm.dateValue = ''"
class="select"
>
<el-option
v-for="(subItem, subIndex) in selectOption"
:key="subIndex"
:label="subItem.label"
:value="subItem.value"
/>
</el-select>
<el-date-picker
class="date-picker"
v-model="searchForm.dateValue"
type="datetimerange"
clearable
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期"
:picker-options="rangePickerOptions"
:default-time="['00:00:00', '23:59:59']"
/>
</div>
</template>
</d2-search> </d2-search>
<div class="up-btns"> <div class="up-btns">
<el-button <el-button
......
...@@ -145,7 +145,7 @@ const FORM_DATA = [ ...@@ -145,7 +145,7 @@ const FORM_DATA = [
isClear: true isClear: true
}, },
{ {
label: "是否成交(安心包)", label: "安心包是否成交",
name: "orderAxbTransactionFlag", name: "orderAxbTransactionFlag",
type: "select", type: "select",
optionList: [], optionList: [],
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<d2-search <d2-search
ref="showSearch" ref="showSearch"
class="show-search" class="show-search"
label-width="130px" label-width="138px"
:search-form="searchForm" :search-form="searchForm"
:form-data="showFormData" :form-data="showFormData"
> >
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
提交 提交
</el-button> </el-button>
<el-button class="cancel-btn" size="small" @click="handleCancel" <el-button class="cancel-btn" size="small" @click="handleCancel"
>关闭</el-button >取消</el-button
> >
</div> </div>
</div> </div>
......
...@@ -43,7 +43,7 @@ export default { ...@@ -43,7 +43,7 @@ export default {
}, },
{ {
title: "招聘数量", title: "招聘数量",
key: "recruitmentTypeName" key: "recruitmentQuantity"
}, },
{ {
title: "区域运营", title: "区域运营",
......
...@@ -404,6 +404,7 @@ export default { ...@@ -404,6 +404,7 @@ export default {
handleEntryConfirm(data) { handleEntryConfirm(data) {
data.onboardingDate = Util.dateFormate(data.onboardingDate, "YYYY-MM-DD") data.onboardingDate = Util.dateFormate(data.onboardingDate, "YYYY-MM-DD")
this.$emit("handleEntryConfirm", data, this.isAdd, this.index) this.$emit("handleEntryConfirm", data, this.isAdd, this.index)
this.isEntryForm = {}
this.handleEntry() this.handleEntry()
}, },
async handleAddSelectTypeConfirm(data) { async handleAddSelectTypeConfirm(data) {
......
...@@ -29,7 +29,8 @@ export default { ...@@ -29,7 +29,8 @@ export default {
4: "新增简历", 4: "新增简历",
5: "编辑简历", 5: "编辑简历",
6: "新增入职", 6: "新增入职",
7: "完成" 7: "完成",
8: "处理"
} }
} }
} }
......
...@@ -133,6 +133,7 @@ import { baseConfig } from "@/main" ...@@ -133,6 +133,7 @@ import { baseConfig } from "@/main"
import detailDialog from "./detail.vue" import detailDialog from "./detail.vue"
import { interviewResultOpt, processResultOpt } from "@/common/constants.js" import { interviewResultOpt, processResultOpt } from "@/common/constants.js"
import GlOssApi from "glsk-oss-jssdk" import GlOssApi from "glsk-oss-jssdk"
import { mapMutations } from "vuex"
export default { export default {
name: "recruitInfo", name: "recruitInfo",
components: { detailDialog }, components: { detailDialog },
...@@ -302,8 +303,10 @@ export default { ...@@ -302,8 +303,10 @@ export default {
}) })
}, },
methods: { methods: {
...mapMutations("d2admin/loading", ["set"]),
// 获取文件 // 获取文件
importFileChange(file, fileList) { importFileChange(file, fileList) {
this.isAddForm.resumeUrl = ""
this.uploadFileList = fileList this.uploadFileList = fileList
}, },
hanldeOnExceed(files, fileList) { hanldeOnExceed(files, fileList) {
...@@ -313,7 +316,9 @@ export default { ...@@ -313,7 +316,9 @@ export default {
}) })
}, },
//上传文件 //上传文件
handleFileChange(file, targetItem) { async handleFileChange(file, targetItem) {
console.log("targetItem", targetItem)
await this.set(true)
var fileInfo = file.raw var fileInfo = file.raw
const fileName = fileInfo.name const fileName = fileInfo.name
if (!fileInfo.name.includes(".pdf")) { if (!fileInfo.name.includes(".pdf")) {
...@@ -347,6 +352,7 @@ export default { ...@@ -347,6 +352,7 @@ export default {
} }
] ]
const success = (res) => { const success = (res) => {
if (res.aliyunAddress) {
this.isAddForm.resumeFileName = fileInfo.name this.isAddForm.resumeFileName = fileInfo.name
this.isAddForm[targetItem] = res.aliyunAddress // 文件地址 this.isAddForm[targetItem] = res.aliyunAddress // 文件地址
this.uploadFileList[0].url = res.aliyunAddress this.uploadFileList[0].url = res.aliyunAddress
...@@ -355,6 +361,10 @@ export default { ...@@ -355,6 +361,10 @@ export default {
childRef.$refs.editFormRef.$refs[childRef.editChildRef].clearValidate( childRef.$refs.editFormRef.$refs[childRef.editChildRef].clearValidate(
"resumeUrl" "resumeUrl"
) )
this.$nextTick(async () => {
await this.set(false)
})
}
} }
const fail = (err) => { const fail = (err) => {
this.clearItem(targetItem) this.clearItem(targetItem)
...@@ -382,16 +392,18 @@ export default { ...@@ -382,16 +392,18 @@ export default {
getCurrentDate() { getCurrentDate() {
const time = new Date() const time = new Date()
const y = time.getFullYear() const y = time.getFullYear()
const m = time.getMonth() + 1 const m = String(time.getMonth() + 1).padStart(2, "0")
const d = time.getDate() const d = String(time.getDate()).padStart(2, "0")
return y + "-" + m + "-" + d return `${y}-${m}-${d}`
}, },
//新增简历确认 //新增简历确认
handleAddConfirm(data) { handleAddConfirm(data) {
console.log("data", data)
data.status = 0 //状态未处理 data.status = 0 //状态未处理
if (this.isAdd) {
data.createdDate = this.getCurrentDate() data.createdDate = this.getCurrentDate()
}
this.$emit("handleAddConfirm", data, this.isAdd, this.index) this.$emit("handleAddConfirm", data, this.isAdd, this.index)
this.isAddDialogVisible() this.isAddDialogVisible()
}, },
...@@ -458,6 +470,7 @@ export default { ...@@ -458,6 +470,7 @@ export default {
this.$emit("handleWorking", data) this.$emit("handleWorking", data)
}, },
handleLook(data) { handleLook(data) {
console.log(data)
this.recordInfo = data this.recordInfo = data
this.detailVisible = !this.detailVisible this.detailVisible = !this.detailVisible
}, },
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
提交 提交
</el-button> </el-button>
<el-button class="cancel-btn" size="small" @click="handleCancel" <el-button class="cancel-btn" size="small" @click="handleCancel"
>关闭</el-button >取消</el-button
> >
</div> </div>
</div> </div>
...@@ -118,7 +118,7 @@ export default { ...@@ -118,7 +118,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
margin-top: 20px; padding: 20px 0;
.save-btn { .save-btn {
// width: 60px; // width: 60px;
padding: 5px 14px; padding: 5px 14px;
......
...@@ -41,6 +41,22 @@ ...@@ -41,6 +41,22 @@
:table-params="tableParams" :table-params="tableParams"
:before-search-fn="beforeSearchFn" :before-search-fn="beforeSearchFn"
> >
<!-- 门店名称 -->
<div slot="merchantName" slot-scope="scope">
<span v-if="scope.scope.merchantName.length < 14">{{
scope.scope.merchantName.slice(0, 14)
}}</span>
<div v-else>
<el-tooltip
class="item"
effect="dark"
:content="scope.scope.merchantName"
placement="top-start"
>
<span> {{ scope.scope.merchantName.slice(0, 14) }}...</span>
</el-tooltip>
</div>
</div>
<!-- 评估单状态 --> <!-- 评估单状态 -->
<div slot="statusHtml" slot-scope="scope"> <div slot="statusHtml" slot-scope="scope">
<div class="online-status"> <div class="online-status">
...@@ -125,6 +141,7 @@ export default { ...@@ -125,6 +141,7 @@ export default {
label: "门店名称", label: "门店名称",
prop: "merchantName", prop: "merchantName",
width: "200px" width: "200px"
// addHtml: "merchantName"
}, },
{ {
label: "业务类型", label: "业务类型",
...@@ -133,7 +150,8 @@ export default { ...@@ -133,7 +150,8 @@ export default {
}, },
{ {
label: "招聘类型", label: "招聘类型",
prop: "recruitmentTypeName" prop: "recruitmentTypeName",
width: 140
}, },
{ {
label: "招聘数量", label: "招聘数量",
...@@ -142,9 +160,9 @@ export default { ...@@ -142,9 +160,9 @@ export default {
{ {
label: "申请时间", label: "申请时间",
prop: "createdDate", prop: "createdDate",
width: "200px", width: "150px",
formatter: (row, column) => { formatter: (row, column) => {
return Util.dateFormate(row.createdDate, "YYYY-MM-DD HH:mm:ss") return Util.dateFormate(row.createdDate, "YYYY-MM-DD")
} }
}, },
{ {
...@@ -530,6 +548,7 @@ export default { ...@@ -530,6 +548,7 @@ export default {
handleSearch() { handleSearch() {
this.page = this.$options.data.call(this).page this.page = this.$options.data.call(this).page
this.$refs.table.refreshTable(true, true) this.$refs.table.refreshTable(true, true)
this.getRecruitmentSummaryData()
}, },
handleReset() { handleReset() {
this.searchForm = this.$options.data.call(this).searchForm this.searchForm = this.$options.data.call(this).searchForm
......
...@@ -55,7 +55,7 @@ export default { ...@@ -55,7 +55,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
margin-top: 20px; padding: 20px 0;
.save-btn { .save-btn {
// width: 60px; // width: 60px;
padding: 5px 14px; padding: 5px 14px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!