update bug v2 20230629

master
hehang 2 years ago
parent 8b4ca08653
commit a5b35a61b6
  1. 12
      subPackWork/reportMatter/reportMatter.vue
  2. 4
      subPackWork/scenicSpot/scenicSpot.vue

@ -29,8 +29,9 @@
placeholder="请选择坐标" placeholder-class="form-input-placeholder" />
<text
v-if="info.latitude != '' && info.longitude != ''">经度:{{ info.longitude }},纬度:{{ info.latitude }}</text>
<image class="v-card-icon-img" @click="getLocation" src="@/static/images/icons/icon-position.svg" ></image>
<image class="v-card-icon-img" @click="getLocation"
src="@/static/images/icons/icon-position.svg"></image>
</evan-form-item>
</view>
</view>
@ -44,7 +45,7 @@
</view>
<view class="v-card-item">
<view class="v-card-box">
<common-title :title="'上传照片'"></common-title>
<common-title :title="'上传照片'"></common-title>
<w-upload ref="wUpload" :token="token" :imgShow="imgShow" :requestUrl="requestUrl"
:imgType="imgType" @updateImgList="updateImgList" :imgList="imgList"
@imgSuccess="imgSuccess"></w-upload>
@ -193,6 +194,11 @@
uni.showToast({
title: '上报成功'
});
setTimeout(() => {
uni.navigateTo({
url: '/subPackWork/myReport/myReport'
})
}, 500)
}
})
} else {

@ -174,13 +174,13 @@
updateScenicSpotSortList(query).then(res => {
console.log(res)
if (res.code == 200) {
if (query.ifRecommend == 1) {
if (query.ifRecommend == 0) {
uni.showToast({
title: '推荐成功'
});
} else {
uni.showToast({
title: '取消成功'
title: '您已取消推荐'
});
}
let _this = this;

Loading…
Cancel
Save