status
parent
697d7906c6
commit
d815636b83
|
|
@ -180,7 +180,8 @@ import BaseData from '../audits/base-data.vue'
|
||||||
import { onLoad } from '@dcloudio/uni-app'
|
import { onLoad } from '@dcloudio/uni-app'
|
||||||
import { http } from '@/utils/request'
|
import { http } from '@/utils/request'
|
||||||
import { ref, reactive, computed, onBeforeMount } from 'vue'
|
import { ref, reactive, computed, onBeforeMount } from 'vue'
|
||||||
import { timeFormat } from '@climblee/uv-ui/libs/function/index'
|
import statusFun from '@/utils/status'
|
||||||
|
|
||||||
const datetimeV = ref(Number(new Date()))
|
const datetimeV = ref(Number(new Date()))
|
||||||
const detail = ref({})
|
const detail = ref({})
|
||||||
const actionSheet = ref(null)
|
const actionSheet = ref(null)
|
||||||
|
|
@ -196,6 +197,7 @@ const titleColumns = [
|
||||||
{ title: '晋升职位', dataIndex: 'job.name' },
|
{ title: '晋升职位', dataIndex: 'job.name' },
|
||||||
{ title: '申请人', dataIndex: 'employee.name' },
|
{ title: '申请人', dataIndex: 'employee.name' },
|
||||||
{ title: '推荐人', dataIndex: 'invitor.name' },
|
{ title: '推荐人', dataIndex: 'invitor.name' },
|
||||||
|
{ title: '状态', dataIndex: 'promotion_status', format: (value) => statusFun(value, 'promotion_status', 'name') },
|
||||||
]
|
]
|
||||||
|
|
||||||
const userColumns = [
|
const userColumns = [
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ const titleColumns = [
|
||||||
{ title: '晋升职位', dataIndex: 'job.name' },
|
{ title: '晋升职位', dataIndex: 'job.name' },
|
||||||
{ title: '申请人', dataIndex: 'employee.name' },
|
{ title: '申请人', dataIndex: 'employee.name' },
|
||||||
{ title: '推荐人', dataIndex: 'invitor.name' },
|
{ title: '推荐人', dataIndex: 'invitor.name' },
|
||||||
{ title: '状态', dataIndex: 'promotion_status_text' },
|
{ title: '状态', dataIndex: 'promotion_status', format: (value) => statusFun(value, 'promotion_status', 'name') },
|
||||||
]
|
]
|
||||||
|
|
||||||
const columns = [
|
const columns = [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue