reviewList.vue 1.75 KB
<template>
	<view>
		<view class="wBox">
			<view class="tt">
				审核信息
			</view>
			<view>
				<view class="stepItem" v-for="(n,index) in recordList" :key="index">
					<view class="time">{{n.auditTime||'待审批'}}</view>
					<view class="content">
						<view class="status">
							<text v-if="n.auditResult==0"> 审核中</text>
							<text v-if="n.auditResult==1" class="text-success">审核通过</text>
							<text v-if="n.auditResult==2" class="text-danger"> 审核拒绝</text>
							<text v-if="n.auditResult==3" class="text-warning"> 已撤回</text>
						</view>
						<!-- <view class="name">{{index+1}}</view> -->
						<view class="deptName">{{n.auditDeptName}}</view>
						<view v-if="n.auditStatus==2">
							备注:{{n.auditMsg||'/' }}
						</view>
					</view>
				</view>
			</view>
		</view>

	</view>
</template>

<script setup>
	import * as api from '@/common/api.js'
	import config from '@/config.js'
	import _ from 'underscore'
	import {
		onMounted,
		ref
	} from 'vue'
	import {
		onLoad,
		onShow
	} from '@dcloudio/uni-app'
	const app = getApp();
	const userType = ref('')
	const recordList = ref([])
	onLoad((option) => {
		getMyCertStageFN()
	})

	function getMyCertStageFN() {
		api.getMyCertStage().then(res => {
			recordList.value = res.data
			console.log(res)
		})

	}
</script>

<style scoped lang="scss">
	.wBox {
		width: 700rpx;
		padding: 30rpx;
		margin: 20rpx auto;
		background: #FFFFFF;
		box-shadow: 0rpx 12rpx 116rpx 0rpx rgba(196, 203, 214, 0.1);
		border-radius: 15rpx;

		.tt {
			color: #0A1629;
			margin: 0 0 30rpx;
			font-size: 30rpx;
		}

		.ddd {
			font-size: 28rpx;
			color: #333;
			margin: 0 0 10rpx;

			.lab {
				color: #999;
				display: inline-block;
				text-align: justify;
			}
		}
	}
</style>