|
|
@@ -5,27 +5,19 @@
|
|
|
<text class="nav-bar-title">三方合同</text>
|
|
|
<uni-icons class="nav-bar-right-icon bar-ml10" type="search" size="20" @click="toggle('top')"></uni-icons>
|
|
|
</view>
|
|
|
- <view class="jiazheng-search-box">
|
|
|
- <view @click.stop="clickAlltype" class="select-item-box">
|
|
|
- <text class="select-text">{{data.statusText}}</text>
|
|
|
- <icon class="select-jt-default" />
|
|
|
+
|
|
|
+ <view class="phone-head-tab-box">
|
|
|
+ <!-- 技能块展示 -->
|
|
|
+ <view v-for="item in listStatus" @click="handleSelectStatus(item)" :key="item.status"
|
|
|
+ class="tab-item-box" :class="{ active: data.status === item.status }">
|
|
|
+ {{ item.statusText }}
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
+
|
|
|
<view class="list-new-btn-box">
|
|
|
<button type="default" class="phone-green-btn" @click="handleAdd">新增合同</button>
|
|
|
</view>
|
|
|
|
|
|
- <!-- 状态面板 -->
|
|
|
- <view class="all-type-box" v-show="isOpen" @click="clickAlltype">
|
|
|
- <view class="phone-radio-group data-check-radio-group">
|
|
|
- <!-- 技能块展示 -->
|
|
|
- <view v-for="item in listStatus" @click="handleSelectStatus(item)" :key="item.status"
|
|
|
- class="phone-radio-item">
|
|
|
- {{ item.statusText }}
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
|
|
|
<view>
|
|
|
<search-dialog ref="searchDialogRef" :shenfen="shenfen" @search-btn="dialogSearchBtn"
|
|
|
@@ -131,7 +123,7 @@
|
|
|
const searchDialogRef = ref(null);
|
|
|
const commonDialogRef = ref(null)
|
|
|
const data = reactive({
|
|
|
- status: 0,
|
|
|
+ status: -1,
|
|
|
statusText: '待签字',
|
|
|
state: 'more',
|
|
|
list: [], // 考试列表
|
|
|
@@ -141,22 +133,23 @@
|
|
|
page: 0,
|
|
|
size: 10,
|
|
|
})
|
|
|
- const isOpen = ref(false)
|
|
|
|
|
|
const active = ref(null);
|
|
|
|
|
|
const listStatus = ref([{
|
|
|
- statusText: '有效',
|
|
|
- status: 2,
|
|
|
- },
|
|
|
- {
|
|
|
+ statusText: '全部',
|
|
|
+ status: -1,
|
|
|
+ },{
|
|
|
+ statusText: '待签字',
|
|
|
+ status: 0,
|
|
|
+ },{
|
|
|
statusText: '待审核',
|
|
|
status: 1,
|
|
|
+ },{
|
|
|
+ statusText: '有效',
|
|
|
+ status: 2,
|
|
|
},
|
|
|
{
|
|
|
- statusText: '待签字',
|
|
|
- status: 0,
|
|
|
- }, {
|
|
|
statusText: '失效',
|
|
|
status: 3,
|
|
|
}
|
|
|
@@ -211,10 +204,6 @@
|
|
|
uni.navigateBack()
|
|
|
}
|
|
|
|
|
|
- function clickAlltype() {
|
|
|
- isOpen.value = !isOpen.value;
|
|
|
- }
|
|
|
-
|
|
|
function handleSelectStatus(item) {
|
|
|
data.status = item.status;
|
|
|
data.statusText = item.statusText;
|