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