Commit e5db161e by wangzhihui

fixed

1 parent ee163f69
...@@ -203,7 +203,7 @@ export function getLevelExamDataPersonPage(data) { ...@@ -203,7 +203,7 @@ export function getLevelExamDataPersonPage(data) {
} }
// 等级考试-数据页-员工考试结果分页列表导出 // 等级考试-数据页-员工考试结果分页列表导出
export function getLevelExamDataExport(data) { export function getLevelExamDataExport(data) {
data.method = `risk.manage.api.level.exam.data.export.async/1.0.0` data.method = `risk.manage.api.level.exam.data.export.async`
return request(data, RequestMethods.POST) return request(data, RequestMethods.POST)
} }
// 等级考试-详情 // 等级考试-详情
......
...@@ -32,9 +32,9 @@ ...@@ -32,9 +32,9 @@
:before-search-fn="beforeSearchFn" :before-search-fn="beforeSearchFn"
> >
<!-- 门店名称 --> <!-- 门店名称 -->
<div slot="merchantName" slot-scope="scope"> <div slot="departmentNameHtml" slot-scope="scope">
<span v-if="scope.scope.merchantName.length < 14">{{ <span v-if="scope.scope.departmentName.length < 28">{{
scope.scope.merchantName.slice(0, 14) scope.scope.departmentName.slice(0, 28)
}}</span> }}</span>
<div v-else> <div v-else>
<el-tooltip <el-tooltip
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
:content="scope.scope.merchantName" :content="scope.scope.merchantName"
placement="top-start" placement="top-start"
> >
<span> {{ scope.scope.merchantName.slice(0, 14) }}...</span> <span> {{ scope.scope.merchantName.slice(0, 28) }}...</span>
</el-tooltip> </el-tooltip>
</div> </div>
</div> </div>
...@@ -105,7 +105,8 @@ export default { ...@@ -105,7 +105,8 @@ export default {
{ {
label: "所属部门", label: "所属部门",
prop: "departmentName", prop: "departmentName",
width: 140 width: 200,
addHtml: "departmentNameHtml"
}, },
{ {
label: "职务", label: "职务",
...@@ -180,12 +181,6 @@ export default { ...@@ -180,12 +181,6 @@ export default {
optionId: "confId", optionId: "confId",
optionLabel: "confValue", optionLabel: "confValue",
optionsName: "levelOpt" optionsName: "levelOpt"
},
{
label: "提交时间",
name: "createdDate",
type: "datePicker",
isClear: true
} }
], ],
baseData: { baseData: {
...@@ -195,7 +190,14 @@ export default { ...@@ -195,7 +190,14 @@ export default {
} }
} }
}, },
props: {
dataView: {
type: Object,
default: () => {}
}
},
mounted() { mounted() {
this.getOptionsList(this, "showFormData", true)
// this.fetchOnboardingPlans() // this.fetchOnboardingPlans()
}, },
methods: { methods: {
...@@ -277,41 +279,9 @@ export default { ...@@ -277,41 +279,9 @@ export default {
}) })
}, },
// 详情
handleDetail(data) {
console.log("row", data)
this.$router.push({
path: "/lookRecruitment",
query: {
id: data.id
}
})
},
//处理
handleDispose(data) {
this.$router.push({
path: "/disposeRecruitment",
query: {
id: data.id
}
})
},
//新增招聘需求
handleAdd() {
this.$router.push({
path: "/addRecruitment"
})
},
getParams() { getParams() {
let params = deepClone(this.searchForm) let params = deepClone(this.searchForm)
// 申请时间 params.examId = this.dataView.id
if (params?.createdDate?.length) {
let [start, end] = params.createdDate
params.createdDateBegin = Util.dateFormate(start, "YYYY-MM-DD")
params.createdDateEnd = Util.dateFormate(end, "YYYY-MM-DD")
}
delete params.createdDate
return params return params
}, },
beforeSearchFn() { beforeSearchFn() {
...@@ -323,7 +293,6 @@ export default { ...@@ -323,7 +293,6 @@ 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
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!