From e7d382efc71d1a738a6a7c52d0978d6fdb077a8a Mon Sep 17 00:00:00 2001
From: liuwh <964324856@qq.com>
Date: Sat, 14 Sep 2024 17:34:02 +0800
Subject: [PATCH] 提交

---
 gz-wxparty/pages/myRegisterList/index.wxml |   67 +++++++++++++++++++++++++++------
 1 files changed, 54 insertions(+), 13 deletions(-)

diff --git a/gz-wxparty/pages/myRegisterList/index.wxml b/gz-wxparty/pages/myRegisterList/index.wxml
index 49e12f7..f19511d 100644
--- a/gz-wxparty/pages/myRegisterList/index.wxml
+++ b/gz-wxparty/pages/myRegisterList/index.wxml
@@ -1,21 +1,26 @@
 <!--pages/myRegisterList/index.wxml-->
 <view class="three-tag">
-  <van-tabs bind:click="threeTagChange" active="{{search.personType}}">
+  <van-tabs animated bind:click="threeTagChange" active="{{search.personType}}">
     <van-tab title="我是申请方" name="1"></van-tab>
     <van-tab title="我是被申请方" name="2"></van-tab>
   </van-tabs>
 </view>
 <!-- 筛选 -->
 <view bindtap="searchChange" class="search">
-  <view class="search-title">全部</view>
+  <view class="search-title">{{searchValue}}</view>
   <van-icon size='9' name="{{imgUrl}}down.png" />
 </view>
 
 <view class="list" wx:for="{{dataList}}" data-item="{{ item }}" data-index="{{ index }}" wx:key="index">
   <view style="{{!item.show&&'border-bottom:none'}}" class="list-top">
-    <view>2024年7月12日反映诉求</view>
+    <view>
+      <time-format format="YYYY年MM月DD日" value="{{item.createTime}}" />反映诉求
+    </view>
     <view class="list-top-r">
-      <view class="list-top-r-tag">待受理</view>
+      <view wx:if="{{item.processStatus===1}}" class="list-top-r-tag">{{item.processStatusName||'-'}}</view>
+      <view wx:if="{{item.processStatus===2}}" class="list-top-r-tag">{{item.processStatusName||'-'}}</view>
+      <view wx:if="{{item.processStatus===3}}" class="list-top-r-tag list-top-r-tag-grey">{{item.processStatusName||'-'}}</view>
+      <view wx:if="{{item.processStatus===4}}" class="list-top-r-tag">{{item.processStatusName||'-'}}</view>
       <van-icon wx:if="{{item.show}}" size='16' bindtap="changeShow" data-index="{{ index }}" name="{{imgUrl}}myRegisterList_1.png" />
       <van-icon wx:else size='16' bindtap="changeShow" data-index="{{ index }}" name="{{imgUrl}}myRegisterList_4.png" />
     </view>
@@ -23,37 +28,60 @@
   <view class="list-content" wx:if="{{item.show}}">
     <view class="list-content-flex">
       <view class="list-content-title">申请时间</view>
-      <view class="list-content-value">2024-7-12 12:00</view>
+      <view class="list-content-value">
+        <time-format format="YYYY-MM-DD" value="{{item.createTime}}" />
+      </view>
     </view>
     <view class="list-content-flex margin-top">
       <view class="list-content-title">申请方</view>
-      <view class="list-content-value">李晓明</view>
+      <view class="list-content-value">{{item.plaintiffNames}}</view>
     </view>
     <view class="list-content-flex margin-top">
       <view class="list-content-title">被申请方</view>
-      <view class="list-content-value">广东好又多贸易有限公司、张菲菲</view>
+      <view class="list-content-value">{{item.defendantNames}}</view>
+    </view>
+    <view wx:if="{{item.processStatus===2||item.processStatus===3}}" class="list-content-flex margin-top">
+      <view class="list-content-title">承办部门</view>
+      <view class="list-content-value">{{item.mediateDeptName||'-'}}</view>
+    </view>
+    <view wx:if="{{item.processStatus===3}}" class="list-content-flex margin-top">
+      <view class="list-content-title">化解结果</view>
+      <view wx:if="{{item.mediResult==='22_00025-1'}}" class="list-content-value green-title">{{item.mediResultName||'-'}}</view>
+      <view wx:if="{{item.mediResult==='22_00025-2'}}" class="list-content-value red-title">{{item.mediResultName||'-'}}</view>
+    </view>
+    <view wx:if="{{item.agreeType==='24_00003-1'}}" class="list-content-flex margin-top">
+      <view class="list-content-title">协议要点</view>
+      <view wx:if="{{item.agreeContentShow}}" class="list-content-value">{{item.newAgreeContent||'-'}}<text bindtap="agreeContentClick" data-item="{{item}}" class="public-color">更多</text></view>
+    </view>
+    <view wx:if="{{item.agreeType==='24_00003-2'}}" class="list-content-flex margin-top">
+      <view class="list-content-title">协议文书</view>
+      <view bindtap="agreeClick" data-item="{{item}}" class="list-content-value list-detail-r">查看</view>
     </view>
     <view class="list-border"></view>
-    <view class="list-detail">
+    <view class="list-detail" bindtap="GoPage" data-url="{{'../../pages/myRegisterDetail/index?id='+item.id}}">
       <view class="list-detail-l">
-        <van-icon size='16' name="{{imgUrl}}myRegisterList_1.png" />
+        <van-icon size='16' name="{{imgUrl}}myRegisterList_6.svg" />
         <view class="list-detail-title">事项详情</view>
       </view>
       <view class="list-detail-r">查看</view>
     </view>
-    <view class="list-detail">
+    <view wx:if="{{item.processStatus<3}}" class="list-detail" bindtap="GoPage" data-url="{{'../../pages/AIAide/index?caseDes='+item.caseDes+'&caseClaim='+item.caseClaim+'&caseId='+item.id}}">
       <view class="list-detail-l">
-        <van-icon size='16' name="{{imgUrl}}myRegisterList_2.png" />
-        <view class="list-detail-title">解纷助手</view>
+        <van-icon size='16' name="{{imgUrl}}myRegisterList_7.png" />
+        <view class="list-detail-title">解纷数智人</view>
       </view>
       <view class="list-detail-r">查看</view>
     </view>
-    <view bindtap="GoPage" data-url="../../pages/myRegisterFlow/index" class="list-detail">
+    <view wx:if="{{item.processStatus>1}}" bindtap="GoPage" data-url="{{'../../pages/myRegisterFlow/index?caseId='+item.id}}" class="list-detail">
       <view class="list-detail-l">
         <van-icon size='16' name="{{imgUrl}}myRegisterList_3.png" />
         <view class="list-detail-title">办理流程</view>
       </view>
       <view class="list-detail-r">查看</view>
+    </view>
+    <view wx:if="{{item.processStatus>2&&item.isEvaluate==='0'}}" class="list-border"></view>
+    <view wx:if="{{item.processStatus>2&&item.isEvaluate==='0'}}" style="margin: 24rpx 0;">
+      <van-button bind:click="evaluate" block data-id="{{item.id}}" type="primary">去评价</van-button>
     </view>
   </view>
 </view>
@@ -74,4 +102,17 @@
       <van-icon wx:if="{{item.hover}}" size='15' name="{{imgUrl}}myRegisterList_5.png" />
     </view>
   </view>
+</view>
+
+<van-overlay show="{{ showData.visible }}" bind:click="agreeContentClosePopup">
+
+</van-overlay>
+
+<view wx:if="{{ showData.visible }}" class="showData-title">
+  <view class="showData-title-view">
+    <view class="showData-title-label">协议要点</view>
+    <view>{{showData.title}}</view>
+  </view>
+  <view class="">
+  </view>
 </view>
\ No newline at end of file

--
Gitblit v1.8.0