|
@@ -17,8 +17,11 @@
|
|
|
</view>
|
|
|
<view class="topCont">
|
|
|
<view class="topContBtn" @click="goHome">回到首页</view>
|
|
|
- <view class="topContBtn">查看详情</view>
|
|
|
- <view class="topContBtn dz" @click="clickDz">发给店长</view>
|
|
|
+ <view class="topContBtn" @click="goDetail">查看详情</view>
|
|
|
+ <button open-type="share" class="topContBtn dz">
|
|
|
+ 发给店长
|
|
|
+ </button>
|
|
|
+
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
@@ -36,18 +39,18 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 弹框 -->
|
|
|
- <view class="dzTk" v-if="dzShow" @click="dzShow">
|
|
|
+ <view class="dzTk" v-if="dzShow" @click="dzShow=false">
|
|
|
<view class="dztkBox">
|
|
|
<view class="dzTitle">发给店主</view>
|
|
|
<image src="../../static/img/gaunbi.png" mode="" class="dzGbImg" @click.stop="dzShow=false"></image>
|
|
|
- <view class="dzShop">吉安娜汽修</view>
|
|
|
- <view class="dziphone">联系人:安老师</view>
|
|
|
+ <view class="dzShop">{{shopName}}</view>
|
|
|
+ <view class="dziphone">联系人:{{Contactor}}</view>
|
|
|
<view class="dzCont">
|
|
|
- <view class="dzLine" @click.stop="">
|
|
|
+ <view class="dzLine" @click.stop="message">
|
|
|
<image src="../../static/img/icon_duanxin@2x.png" mode="" class="dzlineImg"></image>
|
|
|
<view class="dzLineTxt">短信推送</view>
|
|
|
</view>
|
|
|
- <view class="dzLine" @click.stop="dzShow=false">
|
|
|
+ <view class="dzLine" @click.stop="message">
|
|
|
<image src="../../static/img/icon_gongzhong@2x.png" mode="" class="dzlineImg"></image>
|
|
|
<view class="dzLineTxt">公众号推送</view>
|
|
|
</view>
|
|
@@ -73,10 +76,16 @@
|
|
|
userEvaStar:0,
|
|
|
xx:0,
|
|
|
dzShow:false,
|
|
|
+ shopName:'',
|
|
|
+ detailid:'',
|
|
|
+ Contactor:'',
|
|
|
}
|
|
|
},
|
|
|
onLoad(opt) {
|
|
|
- this.sheetID=opt.id
|
|
|
+ this.sheetID=opt.id;
|
|
|
+ this.detailid=opt.sheetID;
|
|
|
+ this.Contactor=opt.Contactor;
|
|
|
+ this.shopName=opt.shopName;
|
|
|
this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
|
|
|
},
|
|
|
onShow() {
|
|
@@ -91,6 +100,21 @@
|
|
|
url:'entryReport'
|
|
|
})
|
|
|
},
|
|
|
+ goDetail(){
|
|
|
+ uni.navigateTo({
|
|
|
+ url:'../reportManage/reportDetail?id='+this.detailid
|
|
|
+ })
|
|
|
+ },
|
|
|
+ share(){
|
|
|
+
|
|
|
+ },
|
|
|
+ message(){
|
|
|
+ uni.showToast({
|
|
|
+ title: '此功能暂未开放',
|
|
|
+ icon:'none',
|
|
|
+ duration: 2000,
|
|
|
+ });
|
|
|
+ },
|
|
|
goHome(){
|
|
|
uni.navigateTo({
|
|
|
url:'../index/index'
|
|
@@ -121,7 +145,14 @@
|
|
|
})
|
|
|
}
|
|
|
|
|
|
- }
|
|
|
+ },
|
|
|
+ onShareAppMessage(res) {
|
|
|
+ console.log(res)
|
|
|
+ return {
|
|
|
+ title: '报告详情',
|
|
|
+ path: '/pages/reportManage/reportDetail?id='+this.id
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
</script>
|
|
|
|
|
@@ -162,6 +193,7 @@
|
|
|
font-size: 26rpx;
|
|
|
color: #999999;
|
|
|
text-align: center;
|
|
|
+ padding-top: 5rpx;
|
|
|
}
|
|
|
|
|
|
.content {
|
|
@@ -231,6 +263,7 @@
|
|
|
text-align: center;
|
|
|
font-size: 28rpx;
|
|
|
color: #3C3C3C;
|
|
|
+ margin: 0;
|
|
|
}
|
|
|
.competeCont{
|
|
|
margin-top: 20rpx;
|