Merge branch 'master' of http://121.196.213.68:3000/caoliancun/MP-XiaoXing into lixuan
This commit is contained in:
@@ -56,6 +56,14 @@
|
||||
订单中心
|
||||
</text>
|
||||
</view>
|
||||
<view class="text-xxl" @tap="toManagement">
|
||||
<view class="cuIcon-form">
|
||||
|
||||
</view>
|
||||
<text class="text-df">
|
||||
中交风控
|
||||
</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -103,6 +111,14 @@
|
||||
订单中心
|
||||
</text>
|
||||
</view>
|
||||
<view class="text-xxl" @tap="toManagement">
|
||||
<view class="cuIcon-form">
|
||||
|
||||
</view>
|
||||
<text class="text-df">
|
||||
中交风控
|
||||
</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -171,6 +187,7 @@
|
||||
import threeSites from '@/components/three-sites.vue'
|
||||
import oilSiteApi from '@/api/oil-site.js'
|
||||
import siteItem from '@/components/site-item/site-item.vue'
|
||||
import Financial from '@/api/Financial.js'
|
||||
// import slFilter from '@/components/sl-filter/sl-filter.vue'
|
||||
export default {
|
||||
components: {
|
||||
@@ -352,6 +369,27 @@
|
||||
},
|
||||
|
||||
methods: {
|
||||
toManagement(){
|
||||
const user = uni.getStorageSync('user');
|
||||
if(user){
|
||||
Financial.findHomePageReport({customerId:user.id}).then(res=>{
|
||||
if(res.data){
|
||||
uni.navigateTo({
|
||||
url:`../../../Financial/pages/estimate/index?data=${encodeURIComponent(JSON.stringify(res.data))}`
|
||||
})
|
||||
}else{
|
||||
uni.navigateTo({
|
||||
url:'../../../Financial/pages/index?guide=1'
|
||||
})
|
||||
}
|
||||
});
|
||||
}else{
|
||||
uni.showToast({
|
||||
title: '请先登录!',
|
||||
icon: 'none'
|
||||
})
|
||||
}
|
||||
},
|
||||
swiperClick(item,index) {
|
||||
if(!item?.link) return
|
||||
switch (Number(index)) {
|
||||
|
||||
Reference in New Issue
Block a user