|
|
@@ -83,11 +83,13 @@
|
|
|
<view class="card-list-box">
|
|
|
<view class="card-list-title">合同管理</view>
|
|
|
<view @click="goToPage('jzht')" class="card-item-box">
|
|
|
- <icon class="index-icon ht-a-icon" v-if="indexInfoData.tixingFlag"></icon>
|
|
|
- <icon class="index-icon ht-icon" v-else></icon>
|
|
|
+ <icon class="index-icon ht-a-icon" v-if="indexInfoData.status === 0">待签</icon>
|
|
|
+ <icon class="index-icon ht-a-icon" v-if="indexInfoData.status === 1">待审核</icon>
|
|
|
+ <icon class="index-icon ht-icon" v-if="indexInfoData.status === 2 && indexInfoData.status === 3">其他</icon>
|
|
|
<text>家政合同</text>
|
|
|
</view>
|
|
|
<view @click="goToPage('sfht')" class="card-item-box">
|
|
|
+ <view class="num-icon-box" v-if="indexInfoData.sfCount > 0">{{indexInfoData.sfCount}}</view>
|
|
|
<icon class="index-icon sfht-icon"></icon>
|
|
|
<text>三方合同</text>
|
|
|
</view>
|
|
|
@@ -166,9 +168,9 @@
|
|
|
jzName: '',
|
|
|
kechengCount: 0, //剩余课程数量
|
|
|
kechengUsed: 0, //售出课程数量
|
|
|
- tixingFlag:false,
|
|
|
+ status:null,// 合同状态:0待签字,1审核中,2生效,3失效
|
|
|
jzHtId:null,
|
|
|
-
|
|
|
+ sfCount:null,
|
|
|
});
|
|
|
const swiperInfo = ref([]);
|
|
|
const dotStyle = reactive({
|
|
|
@@ -234,8 +236,9 @@
|
|
|
indexInfoData.jzName = res.data.jzName;
|
|
|
indexInfoData.kechengCount = res.data.kechengCount;
|
|
|
indexInfoData.kechengUsed = res.data.kechengUsed;
|
|
|
- indexInfoData.tixingFlag =res.data.tixingFlag;
|
|
|
+ indexInfoData.status =res.data.status;
|
|
|
indexInfoData.jzHtId =res.data.jzHtId;
|
|
|
+ indexInfoData.sfCount = res.data.sfCount;
|
|
|
})
|
|
|
}
|
|
|
|
|
|
@@ -315,7 +318,7 @@
|
|
|
break;
|
|
|
// 家政合同
|
|
|
case 'jzht':
|
|
|
- if(indexInfoData.tixingFlag){
|
|
|
+ if(indexInfoData.status === 0){
|
|
|
uni.navigateTo({
|
|
|
url: `/pages/admin/Hetong/Hetong?id=${indexInfoData.jzHtId}`
|
|
|
})
|