status
parent
d815636b83
commit
5084bc40d3
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<view>
|
||||
<CuNavbar title="升职申请">
|
||||
<template #right>
|
||||
<template v-if="data.promotion_status > 2" #right>
|
||||
<view class="text-sm text-white" @click="checkLogs">审核流程</view>
|
||||
</template>
|
||||
</CuNavbar>
|
||||
|
|
@ -25,6 +25,7 @@ import BaseData from '../audits/base-data.vue'
|
|||
import { onLoad } from '@dcloudio/uni-app'
|
||||
import { ref } from 'vue'
|
||||
import { http } from '@/utils/request'
|
||||
import statusFun from '@/utils/status'
|
||||
|
||||
const data = ref({})
|
||||
|
||||
|
|
|
|||
|
|
@ -72,8 +72,8 @@
|
|||
v-for="item in list"
|
||||
:key="item.id"
|
||||
:title="item.check.subject.job.name"
|
||||
:status-text="statusFun( item.check_status,'statusExpense2','name')"
|
||||
:status-color="statusFun( item.check_status,'statusExpense2','color')"
|
||||
:status-text="statusFun(item.check_status, 'statusExpense2', 'name')"
|
||||
:status-color="statusFun(item.check_status, 'statusExpense2', 'color')"
|
||||
:body="[
|
||||
{ label: '申请人: ', value: item.check.subject.employee.name },
|
||||
{ label: '推荐人: ', value: item.check.subject.invitor.name },
|
||||
|
|
|
|||
Loading…
Reference in New Issue