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 = {
}
export const interviewResultOpt = [
{ confId: "1", confValue: "通过" },
{ confId: "0", confValue: "未通过" }
{ confId: "0", confValue: "不通过" }
]
export const processResultOpt = [
{ confId: "1", confValue: "人员不匹配" },
......
......@@ -262,7 +262,7 @@ export default {
}
.d2-search .el-form-item {
width: 80%;
width: 94%;
}
.d2-search .no-label.el-form-item--small .el-form-item__content,
......
......@@ -143,7 +143,7 @@ export default {
}
},
handleConfirm() {
console.log(this.editFormData)
console.log(this.editFormData, this.editData)
this.$refs.editFormRef.$refs[this.editChildRef].validate((valid) => {
if (valid) {
this.$emit("handleConfirm", this.editData)
......
......@@ -21,34 +21,6 @@
inputMaxLength="15"
></input-range>
</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>
<div class="up-btns">
<el-button
......
......@@ -145,7 +145,7 @@ const FORM_DATA = [
isClear: true
},
{
label: "是否成交(安心包)",
label: "安心包是否成交",
name: "orderAxbTransactionFlag",
type: "select",
optionList: [],
......
......@@ -5,7 +5,7 @@
<d2-search
ref="showSearch"
class="show-search"
label-width="130px"
label-width="138px"
:search-form="searchForm"
:form-data="showFormData"
>
......
......@@ -27,7 +27,7 @@
提交
</el-button>
<el-button class="cancel-btn" size="small" @click="handleCancel"
>关闭</el-button
>取消</el-button
>
</div>
</div>
......
......@@ -43,7 +43,7 @@ export default {
},
{
title: "招聘数量",
key: "recruitmentTypeName"
key: "recruitmentQuantity"
},
{
title: "区域运营",
......
......@@ -404,6 +404,7 @@ export default {
handleEntryConfirm(data) {
data.onboardingDate = Util.dateFormate(data.onboardingDate, "YYYY-MM-DD")
this.$emit("handleEntryConfirm", data, this.isAdd, this.index)
this.isEntryForm = {}
this.handleEntry()
},
async handleAddSelectTypeConfirm(data) {
......
......@@ -29,7 +29,8 @@ export default {
4: "新增简历",
5: "编辑简历",
6: "新增入职",
7: "完成"
7: "完成",
8: "处理"
}
}
}
......
......@@ -133,6 +133,7 @@ import { baseConfig } from "@/main"
import detailDialog from "./detail.vue"
import { interviewResultOpt, processResultOpt } from "@/common/constants.js"
import GlOssApi from "glsk-oss-jssdk"
import { mapMutations } from "vuex"
export default {
name: "recruitInfo",
components: { detailDialog },
......@@ -302,8 +303,10 @@ export default {
})
},
methods: {
...mapMutations("d2admin/loading", ["set"]),
// 获取文件
importFileChange(file, fileList) {
this.isAddForm.resumeUrl = ""
this.uploadFileList = fileList
},
hanldeOnExceed(files, fileList) {
......@@ -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
const fileName = fileInfo.name
if (!fileInfo.name.includes(".pdf")) {
......@@ -347,14 +352,19 @@ export default {
}
]
const success = (res) => {
this.isAddForm.resumeFileName = fileInfo.name
this.isAddForm[targetItem] = res.aliyunAddress // 文件地址
this.uploadFileList[0].url = res.aliyunAddress
//清除校验
const childRef = this.$refs.addResumeDialog
childRef.$refs.editFormRef.$refs[childRef.editChildRef].clearValidate(
"resumeUrl"
)
if (res.aliyunAddress) {
this.isAddForm.resumeFileName = fileInfo.name
this.isAddForm[targetItem] = res.aliyunAddress // 文件地址
this.uploadFileList[0].url = res.aliyunAddress
//清除校验
const childRef = this.$refs.addResumeDialog
childRef.$refs.editFormRef.$refs[childRef.editChildRef].clearValidate(
"resumeUrl"
)
this.$nextTick(async () => {
await this.set(false)
})
}
}
const fail = (err) => {
this.clearItem(targetItem)
......@@ -382,16 +392,18 @@ export default {
getCurrentDate() {
const time = new Date()
const y = time.getFullYear()
const m = time.getMonth() + 1
const d = time.getDate()
const m = String(time.getMonth() + 1).padStart(2, "0")
const d = String(time.getDate()).padStart(2, "0")
return y + "-" + m + "-" + d
return `${y}-${m}-${d}`
},
//新增简历确认
handleAddConfirm(data) {
console.log("data", data)
data.status = 0 //状态未处理
data.createdDate = this.getCurrentDate()
if (this.isAdd) {
data.createdDate = this.getCurrentDate()
}
this.$emit("handleAddConfirm", data, this.isAdd, this.index)
this.isAddDialogVisible()
},
......@@ -458,6 +470,7 @@ export default {
this.$emit("handleWorking", data)
},
handleLook(data) {
console.log(data)
this.recordInfo = data
this.detailVisible = !this.detailVisible
},
......
......@@ -26,7 +26,7 @@
提交
</el-button>
<el-button class="cancel-btn" size="small" @click="handleCancel"
>关闭</el-button
>取消</el-button
>
</div>
</div>
......@@ -118,7 +118,7 @@ export default {
display: flex;
align-items: center;
justify-content: center;
margin-top: 20px;
padding: 20px 0;
.save-btn {
// width: 60px;
padding: 5px 14px;
......
......@@ -41,6 +41,22 @@
:table-params="tableParams"
: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 class="online-status">
......@@ -125,6 +141,7 @@ export default {
label: "门店名称",
prop: "merchantName",
width: "200px"
// addHtml: "merchantName"
},
{
label: "业务类型",
......@@ -133,7 +150,8 @@ export default {
},
{
label: "招聘类型",
prop: "recruitmentTypeName"
prop: "recruitmentTypeName",
width: 140
},
{
label: "招聘数量",
......@@ -142,9 +160,9 @@ export default {
{
label: "申请时间",
prop: "createdDate",
width: "200px",
width: "150px",
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 {
handleSearch() {
this.page = this.$options.data.call(this).page
this.$refs.table.refreshTable(true, true)
this.getRecruitmentSummaryData()
},
handleReset() {
this.searchForm = this.$options.data.call(this).searchForm
......
......@@ -55,7 +55,7 @@ export default {
display: flex;
align-items: center;
justify-content: center;
margin-top: 20px;
padding: 20px 0;
.save-btn {
// width: 60px;
padding: 5px 14px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!