Browse Source

返回统一放大,诉求摸排bug

jw-featrue-zhanlibiao
mk 2 years ago
parent
commit
d8d851a348
  1. 2
      subpages/addResi/pages/addResi/addResi.wxml
  2. 2
      subpages/addhouse/pages/addhouse/addhouse.wxml
  3. 12
      subpages/communitySelfInsp/pages/followUpDetail/followUpDetail.js
  4. 2
      subpages/communitySelfInsp/pages/followUpDetail/followUpDetail.wxml
  5. 2
      subpages/communitySelfInsp/pages/followUpDetail/followUpDetail.wxss
  6. 2
      subpages/communitySelfInsp/pages/historyQuery/historyQuery.wxml
  7. 2
      subpages/communitySelfInsp/pages/historyQuery/historyQuery.wxss
  8. 2
      subpages/communitySelfInsp/pages/synthesis/synthesis.wxml
  9. 2
      subpages/communitySelfInsp/pages/synthesis/synthesis.wxss
  10. 40
      subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck.js
  11. 2
      subpages/demandCheck/pages/dissatisfied/searchResi/searchResi.js
  12. 2
      subpages/searchResult/pages/searchRecords/searchRecords.wxml
  13. 2
      subpages/searchResult/pages/searchRecords/searchRecords.wxss
  14. 2
      subpages/searchResult/pages/searchResult/searchResult.wxml
  15. 2
      subpages/searchResult/pages/searchResult/searchResult.wxss
  16. 7
      utils/api.js

2
subpages/addResi/pages/addResi/addResi.wxml

@ -1,6 +1,6 @@
<!--subpages/addResi/pages/addResi/addResi.wxml-->
<view class="header">
<image src="../../../../images/back.png" class="back" style=" top: {{statusHeight}}px;width: 30rpx;height: 30rpx;" bindtap="back" mode=""/>
<image src="../../../../images/back.png" class="back" style=" top: {{statusHeight}}px;width: 50rpx;height: 50rpx;" bindtap="back" mode=""/>
<image class="header-bg" src="../images/header.png" mode="widthFix" />
<view class="navigation" style="height: {{navigationHeight}}px; top: {{statusHeight}}px;">
{{formType == 'edit'?'修改居民信息':'新增居民信息'}}

2
subpages/addhouse/pages/addhouse/addhouse.wxml

@ -1,6 +1,6 @@
<!--subpages/addhouse/pages/addhouse/addhouse.wxml-->
<view class="header">
<image src="../../../../images/back.png" class="back" style=" top: {{statusHeight}}px;width: 30rpx;height: 30rpx;" bindtap="back" mode=""/>
<image src="../../../../images/back.png" class="back" style=" top: {{statusHeight}}px;width: 50rpx;height: 50rpx;" bindtap="back" mode=""/>
<image class="header-bg" src="../images/header.png" mode="widthFix" />
<view class="navigation" style="height: {{navigationHeight}}px; top: {{statusHeight}}px;">
{{formType == 'edit'?'修改房屋信息':'新增房屋信息'}}

12
subpages/communitySelfInsp/pages/followUpDetail/followUpDetail.js

@ -40,6 +40,7 @@ Page({
navigationHeight: app.globalData.deviceInfo.navigationHeight,
formType:options.type
})
this.getFollowUpDetail(temp.id)
if(options.type == 'add'){
this.setData({
resiInfo:temp,
@ -58,7 +59,16 @@ Page({
}
},
getFollowUpDetail(id){
api.getFollowUpDetail(id).then(res=>{
console.log(res);
this.setData({
'resiInfo.reasons':res.data.categoryAndReasons
})
}).catch(err=>{
console.log(err);
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/

2
subpages/communitySelfInsp/pages/followUpDetail/followUpDetail.wxml

@ -1,5 +1,5 @@
<view class="header">
<image src="../../../../images/back.png" class="back" style=" top: {{statusHeight}}px;width: 30rpx;height: 30rpx;" bindtap="back" mode="" />
<image src="../../../../images/back.png" class="back" style=" top: {{statusHeight}}px;width: 50rpx;height: 50rpx;" bindtap="back" mode="" />
<view class="navigation" style="height: {{navigationHeight}}px; top: {{statusHeight}}px;">
{{title}}
</view>

2
subpages/communitySelfInsp/pages/followUpDetail/followUpDetail.wxss

@ -48,7 +48,7 @@ page {
height: 30rpx;
margin-left: 20rpx;
position: absolute;
margin-top: 25rpx;
margin-top: 20rpx;
border-radius: 0rpx;
z-index: 2;
}

2
subpages/communitySelfInsp/pages/historyQuery/historyQuery.wxml

@ -1,5 +1,5 @@
<view class="header">
<image src="../../../../images/back.png" class="back" style=" top: {{statusHeight}}px;width: 30rpx;height: 30rpx;" bindtap="back" mode="" />
<image src="../../../../images/back.png" class="back" style=" top: {{statusHeight}}px;width: 50rpx;height: 50rpx;" bindtap="back" mode="" />
<view class="navigation" style="height: {{navigationHeight}}px; top: {{statusHeight}}px;">
{{title}}
</view>

2
subpages/communitySelfInsp/pages/historyQuery/historyQuery.wxss

@ -36,7 +36,7 @@ page {
height: 30rpx;
margin-left: 20rpx;
position: absolute;
margin-top: 25rpx;
margin-top: 20rpx;
border-radius: 0rpx;
z-index: 2;
}

2
subpages/communitySelfInsp/pages/synthesis/synthesis.wxml

@ -1,6 +1,6 @@
<view class="header">
<image class="header-bg" src="../../../../images/work/bg.png" mode="widthFix" />
<image src="../../../../images/back.png" class="back" bind:tap="back" style=" top: {{statusHeight}}px;width: 30rpx;height: 30rpx;" bindtap="back" mode=""/>
<image src="../../../../images/back.png" class="back" bind:tap="back" style=" top: {{statusHeight}}px;width: 50rpx;height: 50rpx;" bindtap="back" mode=""/>
<view class="navigation" style="height: {{navigationHeight}}px; top: {{statusHeight}}px;">
社区满意度自查
</view>

2
subpages/communitySelfInsp/pages/synthesis/synthesis.wxss

@ -42,7 +42,7 @@ page {
height: 30rpx;
margin-left: 20rpx;
position: absolute;
margin-top: 25rpx;
margin-top: 20rpx;
border-radius: 0rpx;
z-index: 101;
}

40
subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck.js

@ -13,7 +13,6 @@ Page({
*/
data: {
fmData: {
time: '',
gridId: '',
attachmentList:[],//图片
voiceList:[],
@ -23,8 +22,6 @@ Page({
happenTime:"",
content:"",//内容
address:"",//地址
wantServiceTime:"",
reportType:''
},
minDate: '2018-01-01 00:00:00',
@ -90,7 +87,6 @@ Page({
this.reverseLocation()
this.setData({
'fmData.time': Date.now(),
angencyId:app.globalData.user.agencyId,
reportUserName:app.globalData.user.realName,
reportUserMobile:app.globalData.user.phone,
@ -154,6 +150,7 @@ Page({
longitude: res.longitude,
latitude: res.latitude
},
addressContent:res.address
});
console.log(this.data.fmData);
}
@ -295,12 +292,11 @@ Page({
const para = this.data.fmData
console.log(para,'事件');
api.addEvent(para).then(res => {
wx.hideLoading()
console.log(res);
if (res.code === 0) {
wx.showModal({
title: '提示',
content: `您的诉求我们已经查收,正在快马加鞭办理,请您耐心等待`,
content: `提交成功`,
confirmText: '确认',
showCancel: false,
success: res => {
@ -315,7 +311,6 @@ Page({
showTime:'',
resiName:'',
resiMobile:'',
'fmData.time':'',
'fmData.gridId':'',
'fmData.attachmentList':[],//图片
'fmData.voiceList':[],
@ -324,14 +319,17 @@ Page({
'fmData.resiId':"",
'fmData.happenTime':"",
'fmData.content':"",//内容
'fmData.address':"",//地址
'fmData.wantServiceTime':"",
'fmData.reportType':''
})
wx.switchTab({
url: '/pages/work/work',
})
}
})
wx.removeStorageSync('resiDetail')
} else {
console.log('提交失败');
wx.showToast({
title: "提交失败,请重试~",
icon: "none",
@ -343,11 +341,18 @@ Page({
}
}).catch(err => {
console.log(err)
wx.hideLoading()
wx.showToast({
title: "提交失败,请重试~",
icon: "none",
duration: 1500
})
this.setData({
submitDisabled: false
})
})
setTimeout(function(){
wx.hideLoading()
},1000)
},
// 个性服务提交
submitMeasure(){
@ -375,12 +380,11 @@ Page({
}
console.log(para,'服务');
api.addMeasure(para).then(res => {
wx.hideLoading()
console.log(res);
if (res.data) {
wx.showModal({
title: '提示',
content: `您的需求我们已经查收,正在快马加鞭办理,请您耐心等待`,
content: `提交成功`,
confirmText: '确认',
showCancel: false,
success: res => {
@ -398,7 +402,6 @@ Page({
categoryName:'',
reportTypeName:'',
showWantServiceTimeTime:'',
'fmData.time':'',
'fmData.gridId':'',
'fmData.attachmentList':[],//图片
'fmData.voiceList':[],
@ -407,10 +410,12 @@ Page({
'fmData.resiId':"",
'fmData.happenTime':"",
'fmData.content':"",//内容
'fmData.address':"",//地址
'fmData.wantServiceTime':"",
'fmData.reportType':''
})
wx.switchTab({
url: '/pages/work/work',
})
}
})
wx.removeStorageSync('resiDetail')
@ -426,11 +431,18 @@ Page({
}
}).catch(err => {
console.log(err)
wx.hideLoading()
wx.showToast({
title: "提交失败,请重试~",
icon: "none",
duration: 1500
})
this.setData({
submitDisabled: false
})
})
setTimeout(function(){
wx.hideLoading()
},1000)
},
// 双向绑定 内容输入框
bindTextareaInput(e) {

2
subpages/demandCheck/pages/dissatisfied/searchResi/searchResi.js

@ -37,7 +37,7 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad(options) {
this.getTable()
// this.getTable()
this.getQuartersOptions()
},

2
subpages/searchResult/pages/searchRecords/searchRecords.wxml

@ -1,5 +1,5 @@
<view class="header">
<image src="../../../../images/back.png" class="back" style=" top: {{statusHeight}}px;width: 30rpx;height: 30rpx;" bindtap="back" mode=""/>
<image src="../../../../images/back.png" class="back" style=" top: {{statusHeight}}px;width: 50rpx;height: 50rpx;" bindtap="back" mode=""/>
<view class="navigation" style="height: {{navigationHeight}}px; top: {{statusHeight}}px;">
搜索历史
</view>

2
subpages/searchResult/pages/searchRecords/searchRecords.wxss

@ -75,7 +75,7 @@ page {
height: 30rpx;
margin-left: 20rpx;
position: absolute;
margin-top: 25rpx;
margin-top: 20rpx;
border-radius: 0rpx;
z-index: 2;
}

2
subpages/searchResult/pages/searchResult/searchResult.wxml

@ -1,6 +1,6 @@
<!--subpages/searchResult/pages/searchResult/searchResult.wxml-->
<view class="header">
<image src="../../../../images/back.png" class="back" style=" top: {{statusHeight}}px;width: 30rpx;height: 30rpx;" bindtap="back" mode=""/>
<image src="../../../../images/back.png" class="back" style=" top: {{statusHeight}}px;width: 50rpx;height: 50rpx;" bindtap="back" mode=""/>
<view class="navigation" style="height: {{navigationHeight}}px; top: {{statusHeight}}px;">
{{title}}
</view>

2
subpages/searchResult/pages/searchResult/searchResult.wxss

@ -37,7 +37,7 @@ page {
height: 30rpx;
margin-left: 20rpx;
position: absolute;
margin-top: 25rpx;
margin-top: 20rpx;
border-radius: 0rpx;
z-index: 2;
}

7
utils/api.js

@ -39,7 +39,8 @@ module.exports = {
addEvent,
getResidentBaseInfoPage,
getDemandoption,
addMeasure
addMeasure,
getFollowUpDetail
}
// 消息列表
function getIntelligentMessage(param){
@ -202,3 +203,7 @@ function getDemandoption (parm) {
function addMeasure(parm) {
return fly.post(`governance/userdemand/add`,parm)
}
// 获取不满意原因
function getFollowUpDetail(id) {
return fly.get(`governance/satisfaction/communitySelfInsp/followUp/detail/${id}`)
}

Loading…
Cancel
Save