MrShi
2025-07-02 39ae52b3f65e2bba3b6570adb51e791cb3befff7
wx/pages/employee_management/employee_management.vue
@@ -5,19 +5,23 @@
            <u-search placeholder="搜索姓名或身份证号" :showAction="false" :clearabled="true" v-model="keyword" @search="search"></u-search>
         </view>
      </u-sticky>
      <view class="box_list">
         <view class="box_list_item" v-for="(item, index) in list" :key="index" @click="jump(item.id)">
            <view class="status green" v-if="item.solutionsStatus === 1">保障中</view>
            <view class="status info" v-if="item.solutionsStatus === 2">不在保</view>
      <view class="box_list" v-if="list.length > 0">
         <view class="box_list_item" v-for="(item, index) in list" :key="index">
            <view class="status green" v-if="item.status === 0">不在保</view>
            <view class="status info" v-if="item.status === 1">保障中</view>
            <view class="top">
               <view class="top_mc">
                  <text>{{item.name}}</text>
                  <text>{{item.memberName}}</text>
                  <text>{{sex === 1 ? '女' : '男'}}|{{item.age}}岁</text>
               </view>
               <view class="top_card">身份证号:{{item.idcardNo}}</view>
               <view class="top_card">身份证号:{{item.idcardNo}}</view>
            </view>
            <view class="center"></view>
            <view class="bottom">
               <view class="bottom_item">
                  <view class="bottom_item_label">保险方案:</view>
                  <view class="bottom_item_val">{{item.solutionName}}</view>
               </view>
               <view class="bottom_item">
                  <view class="bottom_item_label">派遣单位:</view>
                  <view class="bottom_item_val">{{item.duName}}</view>
@@ -28,9 +32,14 @@
               </view>
               <view class="bottom_item">
                  <view class="bottom_item_label">保险生效期:</view>
                  <view class="bottom_item_val">2024.01.01-2024.05.30</view>
                  <view class="bottom_item_val">{{item.startTime}}</view>
               </view>
            </view>
         </view>
      </view>
      <view class="box_list" v-else>
         <view class="box_list_image">
            <image src="@/static/icon/default_nodata@2x.png" mode="widthFix"></image>
         </view>
      </view>
   </view>
@@ -70,7 +79,7 @@
               capacity: 10,
               page: this.page,
               model: {
                  keywords: this.keyword
                  memberName: this.keyword
               }
            }).then(res => {
               if (res.code === 200) {
@@ -103,6 +112,17 @@
         width: 100%;
         padding: 20rpx 30rpx;
         box-sizing: border-box;
         .box_list_image {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 300rpx;
            image {
               width: 272rpx;
               height: 272rpx;
            }
         }
         .box_list_item {
            width: 100%;
            padding: 24rpx 30rpx;