Browse Source

Merge branch 'data-page' of http://120.46.222.128:10021/elink-star/epmet-work-mp into data-page-lingshan

# Conflicts:
#	pages/statistics/modules/AttackEvent/AttackEvent.js
#	pages/statistics/modules/AttackEvent/AttackEvent.wxml
#	pages/statistics/modules/AttackEvent/AttackEvent.wxss
#	pages/statistics/modules/HotlineRates/HotlineRates.js
#	pages/statistics/modules/HotlineRates/HotlineRates.wxml
#	pages/statistics/statistics.wxml
#	pages/webView/webView.js
#	pages/webView/webView.wxml
data-page-lingshan
是小王呀\24601 7 months ago
parent
commit
6717c0400f
  1. 9
      pages/statistics/modules/AttackEvent/AttackEvent.js
  2. 36
      pages/statistics/modules/AttackEvent/AttackEvent.wxml
  3. 158
      pages/statistics/modules/AttackEvent/AttackEvent.wxss
  4. 117
      pages/statistics/modules/HotlineRates/HotlineRates.js
  5. 57
      pages/statistics/modules/HotlineRates/HotlineRates.wxml
  6. 15
      pages/statistics/modules/HotlineRates/HotlineRates.wxss
  7. 8
      pages/statistics/statistics.js
  8. 55
      pages/webView/webView.js
  9. 2
      pages/webView/webView.wxml
  10. 5
      pages/work2/work2.js

9
pages/statistics/modules/AttackEvent/AttackEvent.js

@ -35,7 +35,7 @@ Component({
icEventList(params).then(res => { icEventList(params).then(res => {
console.log(res,"sdkjldsf"); console.log(res,"sdkjldsf");
this.setData({ this.setData({
data: res.data tableList: res.data.list
}) })
}) })
}, },
@ -48,6 +48,13 @@ Component({
wx.navigateTo({ wx.navigateTo({
url: '/subpages/statistics/pages/problem/problem?type='+this.data.tabValue+'&data='+JSON.stringify(data) url: '/subpages/statistics/pages/problem/problem?type='+this.data.tabValue+'&data='+JSON.stringify(data)
}) })
},
toNumber(data){
let token=wx.getStorageSync('token')
let iceventid=data.currentTarget.dataset.iceventid
wx.navigateTo({
url: '/pages/webView/webView?worktoken='+token+'&iceventid='+iceventid+'&AttackEvent='+'https://epmet-preview.elinkservice.cn/epmet-work-h5/#/HotlineDetail',
})
} }
}, },

36
pages/statistics/modules/AttackEvent/AttackEvent.wxml

@ -1,25 +1,25 @@
<view class="problem-list"> <view class="problem-list">
<view class="problem-item" bind:tap="gotopage" data-obj="{{item}}" wx:for="{{data[tabValue]}}" wx:key="index" wx:if="{{index<3}}"> <view class="problem-item" data-obj="{{item}}" wx:for="{{tableList}}" wx:key="index" wx:if="{{index<3}}">
<view class="frequency"> <view class="frequency" bind:tap="toNumber" data-icEventId="{{item.icEventId}}" >
<view class="frequency_title"> <view class="frequency_title">
<image style="height: 36rpx; width: 36rpx;" src="https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet-saas/dev/20250107/98ae411b86df48529139259c58c8e748.png"></image> <image style="height: 36rpx; width: 36rpx;" src="https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet-saas/dev/20250107/98ae411b86df48529139259c58c8e748.png"></image>
<view class="workOrde">工单号:{{item.amount}}</view> <view class="workOrde">工单号:{{item.icEventId}}</view>
</view> </view>
</view> <view class="frequency_content">
<view class="right-con"> <view class="content_categoryAllName">{{item.categoryAllName?item.categoryAllName:""}}</view>
<view class="right-con-txt"> <view style="display: flex; flex-direction: row;">
{{item.content}} <view wx:if="{{item.solved=='未解决'}}" class="content_workOrde1">{{item.solved}}</view>
</view> <view wx:if="{{item.satisfactionName=='不满意'}}" class="content_workOrde1">、</view>
<view class="right-con-address">
<block wx:if="{{tabValue === 'mobileEvent'}}">
<image src="../../../../images/statistics/avatar.png" mode="widthFix" class="icon" />
<text class="right-con-address-txt"> {{item.mobile}}</text>
</block>
<block wx:else>
<image src="../../../../images/statistics/address.png" mode="widthFix" class="icon" />
<text class="right-con-address-txt"> {{item.name ? item.name : ''}} {{item.address}}</text>
</block>
</view> </view>
</view>
<view wx:if="{{item.satisfactionName=='不满意'}}" class="content_workOrde">{{item.satisfactionName}}</view>
</view>
<view class="frequency_footer">
<view class="content_eventContent">{{item.eventContent}}</view>
</view>
</view>
</view> </view>
</view> </view>

158
pages/statistics/modules/AttackEvent/AttackEvent.wxss

@ -1,97 +1,143 @@
.tag-list { .tag-list {
display: flex; display: flex;
margin: 0 -8rpx; margin: 0 -8rpx;
justify-content: space-between; justify-content: space-between;
margin-bottom: 15px; margin-bottom: 15px;
} }
.tag-list .tag { .tag-list .tag {
padding: 10rpx 20rpx; padding: 10rpx 20rpx;
font-size: 28rpx; font-size: 28rpx;
margin: 0 8rpx; margin: 0 8rpx;
color: #3A80E7; color: #3A80E7;
background: #F1F6FF; background: #F1F6FF;
border: 1px solid #3A80E7; border: 1px solid #3A80E7;
border-radius: 1000rpx; border-radius: 1000rpx;
} }
.tag-list .tag.cur { .tag-list .tag.cur {
background: #3A80E7; background: #3A80E7;
color: #ffff; color: #ffff;
} }
.problem-item { .problem-item {
background: #F7F7F7; background: #F7F7F7;
border-radius: 20rpx; border-radius: 20rpx;
padding: 30rpx 20rpx; padding: 30rpx 20rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-top: 15px; margin-top: 15px;
} }
.frequency { .frequency {
margin-right: 20rpx; margin-right: 20rpx;
border-radius: 20rpx; border-radius: 20rpx;
text-align: center; display: flex;
display: flex; flex-direction: column;
align-items: center;
} }
.frequency_title{ .frequency_title{
display: flex;
flex-direction: row;
font-size:30rpx;
color: #000000;
font-weight: bold;
}
.frequency_content{
display: flex;
flex-direction: row;
margin-top: 10rpx;
justify-content: space-between;
}
.content_categoryAllName{
width: 70%;
white-space: nowrap; /* 防止文本换行 */
overflow: hidden; /* 隐藏超出的文本 */
text-overflow: ellipsis; /* 如果文本超出容器,显示省略号 */
font-size: 26rpx;
color: #999999;
line-height: 40rpx;
}
.frequency_footer{
display: flex; display: flex;
flex-direction: row; flex-direction: row;
font-size:30rpx; margin-top: 10rpx;
color: #000000; justify-content: space-between;
font-weight: bold; font-family: PingFang SC;
font-weight: 500;
font-size: 32rpx;
color: #333333;
line-height: 42rpx;
}
.content_eventContent{
display: -webkit-box; /* 必须设置为 box 模式 */
-webkit-line-clamp: 2; /* 限制显示两行 */
-webkit-box-orient: vertical; /* 设置排列方向为垂直 */
overflow: hidden; /* 隐藏超出部分 */
text-overflow: ellipsis; /* 显示省略号 */
}
.content_workOrde {
font-family: PingFang SC;
font-weight: 500;
font-size: 26rpx;
color: #FC5231;
line-height: 42rpx;
}
.content_workOrde1 {
font-family: PingFang SC;
font-weight: 500;
font-size: 26rpx;
color: #FFA312;
line-height: 42rpx;
} }
.workOrde{ .workOrde{
margin-left: 20rpx; margin-left: 20rpx;
} }
.frequency.orange { .frequency.orange {
background: #FFEBE2; background: #FFEBE2;
color: #FC7031; color: #FC7031;
} }
.frequency.purple { .frequency.purple {
background: #E2E2FF; background: #E2E2FF;
color: #8482F7; color: #8482F7;
} }
.frequency.blue { .frequency.blue {
background: #D3EDFF; background: #D3EDFF;
color: #4AA2E2; color: #4AA2E2;
} }
.right-con { .right-con {
flex: 0 0 calc(100% - 100rpx); flex: 0 0 calc(100% - 100rpx);
width: calc(100% - 100rpx); width: calc(100% - 100rpx);
} }
.right-con .right-con-txt { .right-con .right-con-txt {
font-size: 30rpx; font-size: 30rpx;
color: #333333; color: #333333;
line-height: 42rpx; line-height: 42rpx;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
height: 84rpx; height: 84rpx;
} }
.right-con-address { .right-con-address {
display: flex; display: flex;
align-items: center; align-items: center;
margin-right: 14rpx; margin-right: 14rpx;
margin-top: 30rpx; margin-top: 30rpx;
} }
.right-con-address .icon { .right-con-address .icon {
width: 24rpx; width: 24rpx;
height: 30rpx; height: 30rpx;
} }
.right-con-address .right-con-address-txt { .right-con-address .right-con-address-txt {
font-size: 28rpx; font-size: 28rpx;
font-weight: 500; font-weight: 500;
color: #999999; color: #999999;
line-height: 40rpx; line-height: 40rpx;
} }

117
pages/statistics/modules/HotlineRates/HotlineRates.js

@ -6,7 +6,6 @@ const formatCurrentAndLastMonthDay = () => {
const year = today.getFullYear(); const year = today.getFullYear();
const month = today.getMonth() + 1; const month = today.getMonth() + 1;
const day = today.getDate(); const day = today.getDate();
// 上个月的日期 // 上个月的日期
const lastMonthDate = new Date(year, month - 1, day); const lastMonthDate = new Date(year, month - 1, day);
const lastYear = lastMonthDate.getFullYear(); const lastYear = lastMonthDate.getFullYear();
@ -14,7 +13,8 @@ const formatCurrentAndLastMonthDay = () => {
const lastDay = lastMonthDate.getDate(); const lastDay = lastMonthDate.getDate();
return { return {
currentDay: [year, month, day].map(formatNumber).join('-'), currentDay: [year, month, day].map(formatNumber).join('-'),
lastMonthDay: [lastYear, lastMonth-1, lastDay].map(formatNumber).join('-'), //lastMonthDay: [lastYear, lastMonth-1, lastDay].map(formatNumber).join('-'),
lastMonthDay: [lastYear, 1, 1].map(formatNumber).join('-'),
}; };
}; };
Component({ Component({
@ -23,32 +23,134 @@ Component({
type: String, type: String,
value: '1', value: '1',
observer: function () { observer: function () {
const { currentDay, lastMonthDay } = formatCurrentAndLastMonthDay();
console.log(currentDay, lastMonthDay, "sdflkjdslfkj");
this.setData({
day: lastMonthDay,
day2: currentDay
})
console.log(this.data.day, this.data.day2, "123");
this.getList(); this.getList();
} }
} }
}, },
data: { data: {
orderBy:"",
sortList:[
{
lable:"收件数",
value:1,
type:0 //0为正常排序, 1为正序,2为倒叙
},
{
lable:"不满意",
value:2,
type:0
},
{
lable:"未解决",
value:3,
type:0
},
{
lable:"退件次数",
value:4,
type:0
},
{
lable:"超期退件",
value:5,
type:0
},
],
list: [], list: [],
sortNameList: [
{
label:"total",
value:1
},
{
label:"notSatisfiedTotal",
value:2
},
{
label:"unresolveTotal",
value:3
},
{
label:"returnTotal",
value:4
},
{
label:"overTimeTotal",
value:5
},
],
day: '', day: '',
day2: '', day2: '',
showitem: 3, showitem: 3,
}, },
ready() { ready() {
const { currentDay, lastMonthDay } = formatCurrentAndLastMonthDay(); const { currentDay, lastMonthDay } = formatCurrentAndLastMonthDay();
console.log(currentDay,lastMonthDay,"sdflkjdslfkj");
this.setData({ this.setData({
day:lastMonthDay, day:lastMonthDay,
day2: currentDay day2: currentDay
}) })
console.log(this.data.day,this.data.day2,"123");
this.getList() this.getList()
}, },
methods: { methods: {
toSort(value){
wx.showToast({
title: '正在计算排序',
icon: 'loading',
duration: 7000,
mask: true
})
let sortlist= value.currentTarget.dataset.sortlist
const evenNumbers= this.data.sortNameList.filter(item=>{
return item.value===sortlist.value
})[0].label
if (this.data.sortList[sortlist.value-1].type==1) {
this.data.sortList[sortlist.value-1].type=2
this.setData({
sortList:this.data.sortList,
orderBy:evenNumbers+"Down"
}
)
}else if (this.data.sortList[sortlist.value-1].type==2) {
let sortlist= value.currentTarget.dataset.sortlist
this.data.sortList[sortlist.value-1].type=1
this.setData({
sortList:this.data.sortList,
orderBy:evenNumbers+"Up"
}
)
}else{
this.data.sortList.map(item=>{
if (item.type==1||item.type==2) {
item.type=0
}
})
let sortlist= value.currentTarget.dataset.sortlist
this.data.sortList[sortlist.value-1].type=2
this.setData({
sortList:this.data.sortList,
orderBy:evenNumbers+"Down"
}
)
}
this.getEventList()
},
toNumber(data) { toNumber(data) {
console.log(data.currentTarget.dataset,"dskljflksdfjl");
let type=data.currentTarget.dataset.type let type=data.currentTarget.dataset.type
let staffId=data.currentTarget.dataset.staffid let staffId=data.currentTarget.dataset.staffid
let token=wx.getStorageSync('token') let token=wx.getStorageSync('token')
wx.navigateTo({ wx.navigateTo({
url: '/pages/webView/webView?worktoken='+token+'&staffId='+staffId+'&type='+type+'&day='+this.data.day+'&day2='+this.data.day2, url: '/pages/webView/webView?worktoken='+token+'&staffId='+staffId+'&type='+type+'&day='+this.data.day+'&day2='+this.data.day2+'&Hotline='+'https://epmet-preview.elinkservice.cn/epmet-work-h5/#/Hotline',
}) })
}, },
onChange(e) { onChange(e) {
@ -91,9 +193,11 @@ Component({
} }
}, },
getEventList(deptFlag) { getEventList(deptFlag) {
console.log(this.data.day,this.data.day2,"这里的值");
let parm = { let parm = {
orderBy: this.data.orderBy,
startDate: this.data.day.toString() + ' ' + '00:00:00', startDate: this.data.day.toString() + ' ' + '00:00:00',
endDate: this.data.day2.toString() + ' ' + '23:59:59', endDate: this.data.day2.toString() + ' ' + '23:59:59',
usableFlag: true, usableFlag: true,
} }
@ -101,10 +205,11 @@ Component({
parm.recountFlag=1 parm.recountFlag=1
} }
event12345Rates(parm).then(res => { event12345Rates(parm).then(res => {
console.log('++++++++++++',res.data) console.log(res.data)
// res.data.list.forEach(item => { // res.data.list.forEach(item => {
// item.reportTime = this.formatTime(item.reportTime) // item.reportTime = this.formatTime(item.reportTime)
// }) // })
wx.hideToast()
this.setData({ this.setData({
list: res.data list: res.data
}) })

57
pages/statistics/modules/HotlineRates/HotlineRates.wxml

@ -1,42 +1,39 @@
<view class="container"> <view class="container">
<view class="screen"> <view class="screen">
<picker <picker mode="date" model:value="{{ day }}" fields="day" bind:change="onChange">
mode="date" <view class="picker">
model:value="{{ day }}" <text>{{ day }}</text>
fields="day" <image src="../../../../images/statistics/down.png" mode="widthFix" />
bind:change="onChange" </view>
>
<view class="picker">
<text>{{ day }}</text>
<image src="../../../../images/statistics/down.png" mode="widthFix"/>
</view>
</picker> </picker>
<picker <picker mode="date" model:value="{{ day2 }}" fields="day" bind:change="onChange2">
mode="date" <view class="picker">
model:value="{{ day2 }}" <text>{{ day2 }}</text>
fields="day" <image src="../../../../images/statistics/down.png" mode="widthFix" />
bind:change="onChange2" </view>
>
<view class="picker">
<text>{{ day2 }}</text>
<image src="../../../../images/statistics/down.png" mode="widthFix"/>
</view>
</picker> </picker>
<view class="btn" bindtap="onSearch"> <view class="btn" bindtap="onSearch">
查询 查询
</view> </view>
</view> </view>
<view class="sort" >
<view wx:for="{{sortList}}" class="sort_header" bind:tap="toSort" data-SortList="{{item}}">
<view data-type="Receiving">
<view style="color:#666 ;font-size: 26rpx;">{{item.lable}}</view>
</view>
<div class="sort_image" >
<image wx:if="{{item.type==1}}" style="width: 16rpx; height: 16rpx;" src="https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet-saas/dev/20250110/4d67c378231b40dead3df7fb544897cc.png"></image>
<image wx:if="{{item.type==2}}" style="width: 15rpx; height: 15rpx;" src="https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet-saas/dev/20250110/f2a094e24dbe496d90e56a5d891515bc.png"></image>
<image wx:if="{{item.type==0}}" style="width: 16rpx; height: 16rpx;" src="https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet-saas/dev/20250110/a674d56b1847477abd5a11b9cc4e4482.png"></image>
<image wx:if="{{item.type==0}}" style="width: 15rpx; height: 15rpx;" src="https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet-saas/dev/20250110/cfa447095aba4d26aa3655d1e81e00a1.png"></image>
</div>
</view>
</view>
<view class="stay-list" wx:if="{{list.length}}"> <view class="stay-list" wx:if="{{list.length}}">
<!-- <view class="stay-item" wx:for="{{list}}" bind:tap="gotopage" data-id="{{item.icEventId || item.demandRecId}}">
<view class="date">{{item.happenTime || item.reportTime}}</view>
<view class="tit-text">{{item.eventContent || item.content}}</view>
</view> -->
<view class="hotline-rate" wx:for="{{list}}" wx:for-index="idx" wx-if="{{idx<showitem}}" wx:if="{{item.operateName}}"> <view class="hotline-rate" wx:for="{{list}}" wx:for-index="idx" wx-if="{{idx<showitem}}" wx:if="{{item.operateName}}">
<view class="name"> <view class="name">
<!-- <view class="ranking">{{idx+1}}</view> -->
<view class="leader-name" wx-if="{{curVal=='1'}}">{{item.operateName }}</view> <view class="leader-name" wx-if="{{curVal=='1'}}">{{item.operateName }}</view>
<view class="leader-name" wx-if="{{curVal=='2'}}">{{item.assignOrgName}}</view> <view class="leader-name" wx-if="{{curVal=='2'}}">{{item.assignOrgName}}</view>
</view> </view>
@ -48,7 +45,7 @@
<!-- <view class="child"> <!-- <view class="child">
<view class="lab">未回复</view> <view class="lab">未回复</view>
<view class="val">0</view> <view class="val">0</view>
</view> --> </view>
<view class="child" bind:tap="toNumber" data-staffId="{{item.operateOrgLeader}}" data-type="notSatisfied"> <view class="child" bind:tap="toNumber" data-staffId="{{item.operateOrgLeader}}" data-type="notSatisfied">
<view class="lab">不满意</view> <view class="lab">不满意</view>
<view class="val">{{item.notSatisfiedTotal}}</view> <view class="val">{{item.notSatisfiedTotal}}</view>

15
pages/statistics/modules/HotlineRates/HotlineRates.wxss

@ -118,3 +118,18 @@
line-height:40px; line-height:40px;
color:blue; color:blue;
} }
.sort{
display: flex;
justify-content: space-between;
align-content: space-around;
margin-bottom: 20rpx
}
.sort_header{
display: flex;
align-items: center;
}
.sort_image {
display: flex;
flex-direction: column;
margin-left: 10rpx;
}

8
pages/statistics/statistics.js

@ -19,7 +19,7 @@ Page({
}], }],
monthIndex: 0, monthIndex: 0,
stayVal: '1', stayVal: '1',
curVal: '1', curVal: '2',
tabValue: '' tabValue: ''
}, },
onLoad(options) { onLoad(options) {
@ -55,5 +55,11 @@ Page({
this.setData({ this.setData({
tabValue: detail tabValue: detail
}) })
},
gotoAttack(){
let worktoken=wx.getStorageSync('token')
wx.navigateTo({
url: '/pages/webView/webView?worktoken='+worktoken+'&AttackEvent='+'https://epmet-preview.elinkservice.cn/epmet-work-h5/#/AttackEvent',
})
} }
}) })

55
pages/webView/webView.js

@ -6,34 +6,63 @@
* @FilePath: \epmet-work-mp\pages\webView\webView.js * @FilePath: \epmet-work-mp\pages\webView\webView.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
const app = getApp() const App = getApp()
Page({ Page({
data: { data: {
worktoken: '', worktoken: '',
staffId:"", staffId:"",
type:"", type:"",
day:"", day:"",
day2:"" day2:"",
iceventid:"",
Hotline:"",
url:"",
}, },
onLoad: function (options) { onLoad: function (options) {
let agencyId=App.globalData.user.agencyId
console.log(App.globalData.user.agencyId,"App.globalData.user.agencyId");
console.log(options,"dslkjfsldfk");
if (options.token) { if (options.token) {
this.setData({ this.setData({
worktoken: `${options.worktoken}`, worktoken: `${options.worktoken}`,
}); });
console.log('url', this.data.worktoken);
} else { } else {
console.log(options, "dslfjlksd"); if (options.Hotline) {
this.setData({ if (options.staffId){
worktoken: decodeURIComponent(options.worktoken), const url = `${options.Hotline}?worktoken=${decodeURIComponent(options.worktoken)}&staffId=${options.staffId}&type=${options.type}&day=${options.day}&day2=${options.day2}`;
staffId: options.staffId, console.log('生成的 URL:', url);
type: `${options.type}`, this.setData({
day: options.day, url: url
day2: options.day2 })
}) console.log(this.data.url,"ds;lkjdflks");
}else{
const url = `${options.Hotline}?worktoken=${decodeURIComponent(options.worktoken)}`;
console.log('生成的 URL:', url);
this.setData({
url: url
})
}
}else{
if (options.iceventid) {
const url = `${options.AttackEvent}?worktoken=${decodeURIComponent(options.worktoken)}&iceventid=${options.iceventid}`;
console.log('生成的 URL:', url);
this.setData({
url: url
})
}else{
const url = `${options.AttackEvent}?worktoken=${decodeURIComponent(options.worktoken)}`;
console.log('生成的 URL:', url);
this.setData({
url: url
})
}
}
} }
const url = `https://epmet-preview.elinkservice.cn/epmet-work-h5/#/Hotline?worktoken=${this.data.worktoken}&staffId=${this.data.staffId}&type=${this.data.type}&day=${this.data.day}&day2=${this.data.day2}`;
console.log('生成的 URL:', url);
}, },
onShow() { onShow() {
this.onLoad() this.onLoad()

2
pages/webView/webView.wxml

@ -1,3 +1,3 @@
<!-- <view>https://epmet-preview.elinkservice.cn/epmet-work-h5/#/Hotline?worktoken={{worktoken}}</view> --> <!-- <view>https://epmet-preview.elinkservice.cn/epmet-work-h5/#/Hotline?worktoken={{worktoken}}</view> -->
<web-view src="https://epmet-preview.elinkservice.cn/epmet-work-h5/#/Hotline?worktoken={{worktoken}}&staffId={{staffId}}&type={{type}}&day={{day}}&&day2={{day2}}"> <web-view src="{{url}}">
</web-view> </web-view>

5
pages/work2/work2.js

@ -122,11 +122,10 @@ Page({
}, },
onHotlineCompletion(){ onHotlineCompletion(){
let token=wx.getStorageSync('token') let token=wx.getStorageSync('token')
console.log(token,"jhgjgjjhbj");
console.log('https://epmet-preview.elinkservice.cn/epmet-work-h5/#/Hotline?worktoken='+token)
wx.navigateTo({ wx.navigateTo({
url: '/pages/webView/webView?worktoken='+token, url: '/pages/webView/webView?worktoken='+token+'&Hotline='+'https://epmet-preview.elinkservice.cn/epmet-work-h5/#/Hotline',
}) })
} }
// onAddHouse(){ // onAddHouse(){

Loading…
Cancel
Save