status
parent
8699606817
commit
697d7906c6
|
|
@ -23,7 +23,6 @@
|
|||
import CuNavbar from '@/components/cu-navbar/index'
|
||||
import BaseData from '../audits/base-data.vue'
|
||||
import { onLoad } from '@dcloudio/uni-app'
|
||||
// import commone from './commone.vue'
|
||||
import { ref } from 'vue'
|
||||
import { http } from '@/utils/request'
|
||||
|
||||
|
|
|
|||
|
|
@ -47,8 +47,8 @@
|
|||
v-for="item in list"
|
||||
:key="item.id"
|
||||
:title="item.job.name"
|
||||
:status-text="statusFun(item.promotion_status, 'promotion_status1', 'name')"
|
||||
:status-color="statusFun(item.promotion_status, 'promotion_status1', 'color')"
|
||||
:status-text="statusFun(item.promotion_status, 'promotion_status', 'name')"
|
||||
:status-color="statusFun(item.promotion_status, 'promotion_status', 'color')"
|
||||
:body="[
|
||||
{ label: '申请人: ', value: item.employee.name },
|
||||
{ label: '申请时间: ', value: item.created_format },
|
||||
|
|
|
|||
|
|
@ -48,17 +48,9 @@ const data = {
|
|||
name: '未完成',
|
||||
color: '#999999'
|
||||
}],
|
||||
// 升职申请-申请人
|
||||
// 升职申请
|
||||
promotion_status: [
|
||||
{ value: 1, name: '待提交', color: '#f56c6c'},
|
||||
{ value: 2, name: '待推荐', color: '#f56c6c' },
|
||||
{ value: 3, name: '审核中', color: '#f56c6c' },
|
||||
{ value: 4, name: '已通过', color: '#3c9cff' },
|
||||
{ value: 5, name: '未通过', color: '#999999' }
|
||||
],
|
||||
// 升职申请-推荐人
|
||||
promotion_status1: [
|
||||
{ value: 1, name: '待提交', color: '#f56c6c'},
|
||||
{ value: 1, name: '待补充', color: '#f56c6c'},
|
||||
{ value: 2, name: '待推荐', color: '#f56c6c' },
|
||||
{ value: 3, name: '审核中', color: '#f56c6c' },
|
||||
{ value: 4, name: '已通过', color: '#3c9cff' },
|
||||
|
|
|
|||
Loading…
Reference in New Issue