main
panliang 2024-05-03 19:40:44 +08:00
parent d815636b83
commit 5084bc40d3
2 changed files with 4 additions and 3 deletions

View File

@ -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({})

View File

@ -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 },