|
@ -2,7 +2,10 @@ |
|
|
<view class="page"> |
|
|
<view class="page"> |
|
|
<navbar title="记工记账" /> |
|
|
<navbar title="记工记账" /> |
|
|
<view class="page-tag"> |
|
|
<view class="page-tag"> |
|
|
<uv-tabs :list="list" lineWidth="55" lineHeight="8" :activeStyle="{ |
|
|
|
|
|
|
|
|
<uv-tabs :list="tabs" |
|
|
|
|
|
@click="clickTabs" |
|
|
|
|
|
lineWidth="55" |
|
|
|
|
|
lineHeight="8" :activeStyle="{ |
|
|
color: '#3796F8', |
|
|
color: '#3796F8', |
|
|
}" :inactiveStyle="{ |
|
|
}" :inactiveStyle="{ |
|
|
color: '#999999', |
|
|
color: '#999999', |
|
@ -18,7 +21,8 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="page-picture-img" @click="$utils.navigateTo('/pages_order/kepp/AnnualExpenditure')"> |
|
|
|
|
|
|
|
|
<view class="page-picture-img" |
|
|
|
|
|
@click="$utils.navigateTo('/pages_order/kepp/AnnualExpenditure')"> |
|
|
<view class="page-picture-group"> |
|
|
<view class="page-picture-group"> |
|
|
<image src="../../static/image/keepAccounts/wallet.png" mode="aspectFit" /> |
|
|
<image src="../../static/image/keepAccounts/wallet.png" mode="aspectFit" /> |
|
|
<view>全年收支</view> |
|
|
<view>全年收支</view> |
|
@ -34,7 +38,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view style="font-weight: 500; margin-top: 20rpx;"> |
|
|
<view style="font-weight: 500; margin-top: 20rpx;"> |
|
|
<uv-tabs :list="list" lineWidth="0" lineHeight="0" :activeStyle="{ |
|
|
|
|
|
|
|
|
<uv-tabs :list="tabsSatus" lineWidth="0" lineHeight="0" :activeStyle="{ |
|
|
color: '#3796F8', |
|
|
color: '#3796F8', |
|
|
}"></uv-tabs> |
|
|
}"></uv-tabs> |
|
|
</view> |
|
|
</view> |
|
@ -76,19 +80,33 @@ |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
import tabber from '@/components/base/tabbar.vue' |
|
|
import tabber from '@/components/base/tabbar.vue' |
|
|
|
|
|
|
|
|
|
|
|
import mixinList from '@/mixins/list.js' |
|
|
export default { |
|
|
export default { |
|
|
|
|
|
mixins : [mixinList], |
|
|
components: { |
|
|
components: { |
|
|
tabber, |
|
|
tabber, |
|
|
}, |
|
|
}, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
list: [{ |
|
|
|
|
|
name: '个人记工', |
|
|
|
|
|
}, { |
|
|
|
|
|
name: '班组记工', |
|
|
|
|
|
}], |
|
|
|
|
|
show: false |
|
|
|
|
|
|
|
|
tabs: [ |
|
|
|
|
|
{ |
|
|
|
|
|
name: '个人记工', |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
name: '班组记工', |
|
|
|
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
tabsSatus : [ |
|
|
|
|
|
{ |
|
|
|
|
|
name: '在建项目', |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
name: '结束项目', |
|
|
|
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
show: false, |
|
|
|
|
|
mixinsListApi : 'commonQueryStrartJobLists', |
|
|
|
|
|
apiType : '', |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
@ -100,7 +118,11 @@ |
|
|
methods: { |
|
|
methods: { |
|
|
isShohw(){ |
|
|
isShohw(){ |
|
|
this.show = false |
|
|
this.show = false |
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
clickTabs({index}){ |
|
|
|
|
|
this.apiType = index ? 's' : '' |
|
|
|
|
|
this.getData() |
|
|
|
|
|
}, |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|