|
|
@@ -18,57 +18,69 @@
|
|
|
|
|
|
<!-- 工单评分状态筛选 -->
|
|
|
<view class="status-bar">
|
|
|
- <view class="status-box">
|
|
|
- <text
|
|
|
- class="status-txt"
|
|
|
- :class="{ 'stauts-sel': statusFilter === '' }"
|
|
|
- @click="filterByStatus('')"
|
|
|
- >
|
|
|
- 全部
|
|
|
- </text>
|
|
|
- <text
|
|
|
- class="status-txt"
|
|
|
- :class="{ 'stauts-sel': statusFilter === 'to_self' }"
|
|
|
- @click="filterByStatus('to_self')"
|
|
|
- >
|
|
|
- 待自评
|
|
|
- </text>
|
|
|
- <text
|
|
|
- class="status-txt"
|
|
|
- :class="{ 'stauts-sel': statusFilter === 'to_re' }"
|
|
|
- @click="filterByStatus('to_re')"
|
|
|
- >
|
|
|
- 待复评
|
|
|
- </text>
|
|
|
- <text
|
|
|
- class="status-txt"
|
|
|
- :class="{ 'stauts-sel': statusFilter === 'appealing' }"
|
|
|
- @click="filterByStatus('appealing')"
|
|
|
- >
|
|
|
- 申诉中
|
|
|
- </text>
|
|
|
- <text
|
|
|
- class="status-txt"
|
|
|
- :class="{ 'stauts-sel': statusFilter === 'returned' }"
|
|
|
- @click="filterByStatus('returned')"
|
|
|
- >
|
|
|
- 已退回
|
|
|
- </text>
|
|
|
+ <scroll-view class="scroll-view_H" direction="horizontal" show-scrollbar="false">
|
|
|
+ <view class="scroll-view-item_H">
|
|
|
+ <text
|
|
|
+ class="status-txt"
|
|
|
+ :class="{ 'stauts-sel': statusFilter === '' }"
|
|
|
+ @click="filterByStatus('')"
|
|
|
+ >
|
|
|
+ 全部
|
|
|
+ </text>
|
|
|
+ </view>
|
|
|
+ <view class="scroll-view-item_H">
|
|
|
+ <text
|
|
|
+ class="status-txt"
|
|
|
+ :class="{ 'stauts-sel': statusFilter === 'to_self' }"
|
|
|
+ @click="filterByStatus('to_self')"
|
|
|
+ >
|
|
|
+ 待自评
|
|
|
+ </text>
|
|
|
+ </view>
|
|
|
+ <view class="scroll-view-item_H">
|
|
|
+ <text
|
|
|
+ class="status-txt"
|
|
|
+ :class="{ 'stauts-sel': statusFilter === 'to_re' }"
|
|
|
+ @click="filterByStatus('to_re')"
|
|
|
+ >
|
|
|
+ 待复评
|
|
|
+ </text>
|
|
|
+ </view>
|
|
|
+ <view class="scroll-view-item_H">
|
|
|
+ <text
|
|
|
+ class="status-txt"
|
|
|
+ :class="{ 'stauts-sel': statusFilter === 'to_final' }"
|
|
|
+ @click="filterByStatus('to_final')"
|
|
|
+ >
|
|
|
+ 待终评
|
|
|
+ </text>
|
|
|
+ </view>
|
|
|
+ <view class="scroll-view-item_H">
|
|
|
+ <text
|
|
|
+ class="status-txt"
|
|
|
+ :class="{ 'stauts-sel': statusFilter === 'returned' }"
|
|
|
+ @click="filterByStatus('returned')"
|
|
|
+ >
|
|
|
+ 已退回
|
|
|
+ </text>
|
|
|
+ </view>
|
|
|
+ <view class="scroll-view-item_H">
|
|
|
+ <text
|
|
|
+ class="status-txt"
|
|
|
+ :class="{ 'stauts-sel': statusFilter === 'appealing' }"
|
|
|
+ @click="filterByStatus('appealing')"
|
|
|
+ >
|
|
|
+ 申诉中
|
|
|
+ </text>
|
|
|
+ </view>
|
|
|
<!-- <text
|
|
|
- class="status-txt"
|
|
|
- :class="{ 'stauts-sel': statusFilter === 'to_confirm' }"
|
|
|
- @click="filterByStatus('to_confirm')"
|
|
|
- >
|
|
|
- 待确认
|
|
|
- </text>
|
|
|
- <text
|
|
|
- class="status-txt"
|
|
|
- :class="{ 'stauts-sel': statusFilter === 'to_final' }"
|
|
|
- @click="filterByStatus('to_final')"
|
|
|
- >
|
|
|
- 待终评
|
|
|
- </text> -->
|
|
|
- </view>
|
|
|
+ class="status-txt"
|
|
|
+ :class="{ 'stauts-sel': statusFilter === 'to_confirm' }"
|
|
|
+ @click="filterByStatus('to_confirm')"
|
|
|
+ >
|
|
|
+ 待确认
|
|
|
+ </text>-->
|
|
|
+ </scroll-view>
|
|
|
</view>
|
|
|
|
|
|
<view class="stats-section">
|
|
|
@@ -1106,6 +1118,30 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+.scroll-view_H {
|
|
|
+ width: 100%;
|
|
|
+ flex-direction: row;
|
|
|
+}
|
|
|
+
|
|
|
+.scroll-view-item_H {
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ margin-right: 12rpx;
|
|
|
+
|
|
|
+ .status-txt {
|
|
|
+ padding: 8px 12px;
|
|
|
+ text-align: center;
|
|
|
+ border-radius: 36rpx;
|
|
|
+ background-color: #fff;
|
|
|
+ font-size: 28rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .stauts-sel {
|
|
|
+ background-color: #007AFF;
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
/* 工分统计 */
|
|
|
.stats-section {
|
|
|
margin: 15rpx 30rpx;
|