This commit is contained in:
cclu 2024-06-11 15:03:24 +08:00
parent 07ae06bdd2
commit 786e673e14
7 changed files with 47 additions and 15 deletions

Binary file not shown.

View File

@ -108,7 +108,7 @@
}
,{
name:'资料完善',
src: '../../../../../static/images/expense/type/fksp.png',
src: 'https://eshangtech.com/ShopICO/ahyd-BID/expense/type/fksp.png',
typeId: 8
}

View File

@ -136,19 +136,19 @@
typeId: 0
}, {
name: '类型1',
src: '../../../../../static/images/expense/type/fksp.png',
src: 'https://eshangtech.com/ShopICO/ahyd-BID/expense/type/fksp.png',
typeId: 1
}, {
name: '类型2',
src: '../../../../../static/images/expense/type/fksp.png',
src: 'https://eshangtech.com/ShopICO/ahyd-BID/expense/type/fksp.png',
typeId: 2
}, {
name: '类型3',
src: '../../../../../static/images/expense/type/fksp.png',
src: 'https://eshangtech.com/ShopICO/ahyd-BID/expense/type/fksp.png',
typeId: 3
}, {
name: '类型4',
src: '../../../../../static/images/expense/type/fksp.png',
src: 'https://eshangtech.com/ShopICO/ahyd-BID/expense/type/fksp.png',
typeId: 4
}],
},

View File

@ -144,7 +144,7 @@
},{
name: '付款审批',
typeId: "401603",
src: '../../../../../static/images/expense/type/fksp.png',
src: 'https://eshangtech.com/ShopICO/ahyd-BID/expense/type/fksp.png',
},{
name:'保证金退付',
typeId: "401604",

View File

@ -1056,7 +1056,7 @@
<!-- <text class="funText">{{ isShowFestival==='spring'?'平安春运':isShowFestival==='qm'?'清明节':'' }}</text>-->
</view>
</view>
<view class="funItem" style="margin-top: 32rpx" @click="goToOperateWarning">
<view v-if="businessWarning" class="funItem" style="margin-top: 32rpx" @click="goToOperateWarning">
<view class="funItemContent">
<view class="funIconBox">
<image class="funIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/warning/operateWarning.svg"/>
@ -1064,7 +1064,7 @@
<text class="funText">经营预警</text>
</view>
</view>
<view class="funItem" style="margin-top: 32rpx" @click="goToProjectWarning">
<view v-if="projectWarning" class="funItem" style="margin-top: 32rpx" @click="goToProjectWarning">
<view class="funItemContent">
<view class="funIconBox">
<image class="funIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/warning/projectWarning.svg"/>
@ -1640,6 +1640,8 @@ export default {
oldSwiperIndex: 0,// swiper 1 return
showAdvertisement: false,// 广
isShowCloseAnimal: false,//
businessWarning: false,//
projectWarning: false,//
}
},
watch:{
@ -1661,6 +1663,15 @@ export default {
if (userInfo.userData.AuthorityInfo['e2fb458b-d1bd-48fa-805e-fc93dc71efb7'] === 1 || userInfo.userData.AuthorityInfo['ea2fc404-d924-4c88-98de-1f4d96137745'] === 1){
this.getSuggestion()
}
console.log('userInfo.userData.AuthorityInfo[\'03bd2dbf-a5ed-4080-b168-92c3b7412d6f\']',userInfo.userData.AuthorityInfo['03bd2dbf-a5ed-4080-b168-92c3b7412d6f'])
if (userInfo.userData.AuthorityInfo['03bd2dbf-a5ed-4080-b168-92c3b7412d6f'] === 1){
this.businessWarning = true
}
console.log('userInfo.userData.AuthorityInfo[\'2d25dddc-e67f-4e26-b2d1-da78beed2c11\']',userInfo.userData.AuthorityInfo['2d25dddc-e67f-4e26-b2d1-da78beed2c11'])
if (userInfo.userData.AuthorityInfo['2d25dddc-e67f-4e26-b2d1-da78beed2c11'] === 1){
this.projectWarning = true
}
//
this.seat = uni.getStorageSync('seatInfo')
if (!this.seat){
@ -1828,6 +1839,12 @@ export default {
if (userInfo.userData.AuthorityInfo['e2fb458b-d1bd-48fa-805e-fc93dc71efb7'] === 1 || userInfo.userData.AuthorityInfo['ea2fc404-d924-4c88-98de-1f4d96137745'] === 1){
this.getSuggestion()
}
if (userInfo.userData.AuthorityInfo['03bd2dbf-a5ed-4080-b168-92c3b7412d6f'] === 1){
this.businessWarning = true
}
if (userInfo.userData.AuthorityInfo['2d25dddc-e67f-4e26-b2d1-da78beed2c11'] === 1){
this.projectWarning = true
}
//option
this.option = option
//

View File

@ -103,9 +103,12 @@
</div>
<div class="YOYBox">
<text class="YOYBoxText">增幅</text>
<text class="YOYBoxValue">
{{`${revenueAdd>0?'+':''}${revenueAdd?revenueAdd:'-'}%`}}
</text>
<div class="YOYBoxValue">
<span :style="{color:revenueAdd>0?'#E83944':revenueAdd<0?'#0E9976':''}">{{revenueAdd>0?'+':revenueAdd<0?'':''}}</span>
<span :style="{color:revenueAdd>0?'#E83944':revenueAdd<0?'#0E9976':''}">{{`${revenueAdd || '-'}%`}}</span>
</div>
</div>
</div>
</div>
@ -489,7 +492,7 @@
<text class="YOYBoxText">增幅</text>
<div class="YOYBoxValue">
<span :style="{color:carEntryAdd>0?'#E83944':carEntryAdd<0?'#0E9976':''}">{{carEntryAdd>0?'+':carEntryAdd<0?'':''}}</span>
<span :style="{color:carEntryAdd>0?'#E83944':carEnmodalBoxtryAdd<0?'#0E9976':''}">{{`${carEntryAdd || '-'}%`}}</span>
<span :style="{color:carEntryAdd>0?'#E83944':carEntryAdd<0?'#0E9976':''}">{{`${carEntryAdd || '-'}%`}}</span>
</div>
</div>
</div>
@ -1171,6 +1174,8 @@ export default {
this.currentScroll = 'item'+ this.lastDay
}else if (this.selectFestival===2){
this.currentScroll = 'item'+ this.lastDay
}else if (this.selectFestival===3){
this.currentScroll = 'item'+ this.lastDay
}
console.log('currentScroll',this.currentScroll)
const lastDate = new Date(this.lastDay)
@ -1406,7 +1411,7 @@ export default {
console.log(112321312,data)
if (data.Result_Data){
this.pageData = data.Result_Data
if (this.isFirst){
// if (this.isFirst){
this.giveTrendObj = {
curYearRevenue:this.pageData.curYearRevenue.data,
lYearRevenue:this.pageData.lYearRevenue.data,
@ -1415,8 +1420,8 @@ export default {
curYearBayonet:this.pageData.curYearBayonet.data,
lYearBayonet:this.pageData.lYearBayonet.data,
}
this.isFirst = false
}
// this.isFirst = false
// }
//
this.revenueAdd = Number((((this.pageData.curYearRevenue.data / this.pageData.lYearRevenue.data)-1)*100).toFixed(2))
this.revenueNumber = Number(((this.pageData.curYearRevenue.data - this.pageData.lYearRevenue.data)/10000).toFixed(2))
@ -2094,6 +2099,8 @@ export default {
}
}
.YOYBox{
display: flex;
align-items: center;
.YOYBoxText{
font-size: 24rpx;
font-family: PingFangSC, PingFang SC;
@ -2211,6 +2218,8 @@ export default {
}
}
.YOYBox{
display: flex;
align-items: center;
.YOYBoxText{
font-size: 24rpx;
font-family: PingFangSC, PingFang SC;
@ -2677,6 +2686,11 @@ export default {
color: #D14702;
}
}
.dragonBoatNav{
.selectItem{
color: #226C61;
}
}
.dateText{
font-size: 24rpx;
font-family: PingFangSC, PingFang SC;

View File

@ -190,6 +190,7 @@ export default {
}
},
onLoad(query){
console.log('query',query)
if (query.detailObj){
this.giveTrendObj = JSON.parse(query.detailObj)
}