修复bug

This commit is contained in:
weipengfei 2023-08-19 18:42:29 +08:00
parent 71e26a5822
commit 97d663caf5
2 changed files with 4 additions and 18 deletions

View File

@ -11,8 +11,6 @@
</view> --> </view> -->
<view class="contract_list"> <view class="contract_list">
<view class="item" v-for="(item,index) in list" :key="item.id"> <view class="item" v-for="(item,index) in list" :key="item.id">
<view class="personnel_list"> <view class="personnel_list">
<view class="cards"> <view class="cards">
<view class="cards_head"> <view class="cards_head">
@ -22,15 +20,15 @@
<view class="right"> <view class="right">
<view class=""> <view class="">
<text>甲方 :</text> <text>甲方 :</text>
<text> { item.name }</text> <text> {{item.party_a_info.company_name}}</text>
</view> </view>
<view class=""> <view class="">
<text>乙方 :</text> <text>乙方 :</text>
<text>{ item.phone }</text> <text>{{item.party_b_info.company_name}}</text>
</view> </view>
<view class=""> <view class="">
<text>合同类型 :</text> <text>合同类型 :</text>
<text> {{item.company.contract_type_name}} </text> <text> {{item.contract_type_name}} </text>
</view> </view>
<view class=""> <view class="">
<text>合同编号 :</text> <text>合同编号 :</text>
@ -50,7 +48,7 @@
<view class="left"> <view class="left">
<image class="contract_img" src="../../static/img/contract/pdf.png"></image> <image class="contract_img" src="../../static/img/contract/pdf.png"></image>
<view class="text"> <view class="text">
<view class="name">{{item.company.contract_type_name}}</view> <view class="name">{{item.contract_type_name||'合同'}}</view>
<view> <view>
<text>{{item.update_time}}</text> <text>{{item.update_time}}</text>
</view> </view>
@ -144,12 +142,6 @@
onShow() { onShow() {
this.initLoadConfig(); this.initLoadConfig();
}, },
onReady() {
uni.setNavigationBarColor({
frontColor: '#ffffff',
backgroundColor: '#3175f9'
})
},
methods: { methods: {
navTo(url) { navTo(url) {
url ? url ?

View File

@ -17,12 +17,6 @@
onLoad(options) { onLoad(options) {
this.id = options.id this.id = options.id
}, },
onReady() {
uni.setNavigationBarColor({
frontColor: '#ffffff',
backgroundColor: '#3175f9'
})
},
onShow() {}, onShow() {},
methods: { methods: {
navTo(url) { navTo(url) {