|
@@ -1,27 +1,27 @@
|
|
|
<template>
|
|
|
<view class="apply-item" @tap="tapItemHandle">
|
|
|
<view class="apply-item-tag"
|
|
|
- :class="[`apply-item-tag${item.status}`]">待签到</view>
|
|
|
+ :class="[`apply-item-tag${item.dealStatus??1}`]">{{statusText}}</view>
|
|
|
<view class="flex-row">
|
|
|
<u-image class="apply-item-image1" width="51.2rpx" height="51.2rpx" bgColor="transparent"
|
|
|
src="@/pages/subpack/static/images/app/avatar-mini.png" />
|
|
|
- <view class="apply-item-name">张三🤩</view>
|
|
|
+ <view class="apply-item-name">{{item.personName}}</view>
|
|
|
</view>
|
|
|
<view class="apply-item-content">
|
|
|
<view class="flex-row align-center">
|
|
|
<u-image class="apply-item-image2" width="36rpx" height="36rpx" bgColor="transparent"
|
|
|
- src="@/pages/subpack/static/images/app/time-icon.png" />
|
|
|
+ src="@/pages/subpack/static/images/app/cat-icon.png" />
|
|
|
<view class="apply-item-tips">
|
|
|
- <text>事项:</text>
|
|
|
- <text>企业设立、变更、注销登记</text>
|
|
|
+ <text>需求:</text>
|
|
|
+ <text>{{item.careNeeds}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="flex-row align-center mt-08">
|
|
|
<u-image class="apply-item-image2" width="36rpx" height="36rpx" bgColor="transparent"
|
|
|
- src="@/pages/subpack/static/images/app/cat-icon.png" />
|
|
|
+ src="@/pages/subpack/static/images/app/time-icon.png" />
|
|
|
<view class="apply-item-tips1">
|
|
|
- <text>预约时间:</text>
|
|
|
- <text>2024.09.09 11:00-12:00</text>
|
|
|
+ <text>申请日期:</text>
|
|
|
+ <text>{{item.applyDate}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -29,6 +29,10 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
+ import { computed } from 'vue'
|
|
|
+import {
|
|
|
+ getDict
|
|
|
+ } from '@/common/status/index.js'
|
|
|
const emit = defineEmits(['tapItem'])
|
|
|
const props = defineProps({
|
|
|
item: {
|
|
@@ -48,6 +52,11 @@
|
|
|
const tapItemHandle = () => {
|
|
|
emit('tapItem', props.item)
|
|
|
}
|
|
|
+ const statusText = computed(()=>{
|
|
|
+ if(props.item.dealStatus === 'complete') return '已完成';
|
|
|
+ let dict = getDict('care_apply_status', {dictValue: props.item.status});
|
|
|
+ return dict.dictLabel??'空状态';
|
|
|
+ })
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
@@ -79,9 +88,14 @@
|
|
|
background: linear-gradient(to right, #EFEFEF 0%, #EFEFEF 100%);
|
|
|
color: #888888;
|
|
|
}
|
|
|
- &-tag2{
|
|
|
+ &-tag2,
|
|
|
+ &-tagin_progress{
|
|
|
background: linear-gradient(to right, #1677FF 0%, #5EA0FB 100%);
|
|
|
}
|
|
|
+ &-tag0,
|
|
|
+ &-tagin_disagree{
|
|
|
+ background: linear-gradient(to right, #fa3534 0%, #fa6355 100%);
|
|
|
+ }
|
|
|
|
|
|
&-name {
|
|
|
font-size: 32rpx;
|