|
@@ -36,6 +36,7 @@ Page({
|
|
|
},
|
|
|
getXunjianMoreListSuccess(res){
|
|
|
|
|
|
+ console.log("!!",res)
|
|
|
this.setData({
|
|
|
pictureBasePath: res.data.pictureBasePath + "/",
|
|
|
mapdata: res.data.xunjianimgMap,
|
|
@@ -45,10 +46,17 @@ Page({
|
|
|
},
|
|
|
bindViewZhengGaiJinDu(e) {
|
|
|
let businspectionid = e.currentTarget.dataset.businspectionid
|
|
|
-
|
|
|
+ let itemsTypeValue=e.currentTarget.dataset.typevalue
|
|
|
+ if(itemsTypeValue==null){
|
|
|
+ wx.showToast({
|
|
|
+ title: '没有发现安全隐患,请放心!!',
|
|
|
+ icon: "none"
|
|
|
+ })
|
|
|
+ }else{
|
|
|
wx.navigateTo({
|
|
|
url: '../zhenggaijindu/zhenggaijindu?busInspectionId=' + businspectionid + "&buslogId=" + this.data.buslogid,
|
|
|
})
|
|
|
+ }
|
|
|
},
|
|
|
// 按钮显示隐藏
|
|
|
shghnn: function () {
|