| New file |
| | |
| | | # Windows |
| | | [Dd]esktop.ini |
| | | Thumbs.db |
| | | $RECYCLE.BIN/ |
| | | |
| | | # macOS |
| | | .DS_Store |
| | | .fseventsd |
| | | .Spotlight-V100 |
| | | .TemporaryItems |
| | | .Trashes |
| | | |
| | | # Node.js |
| | | node_modules/ |
| New file |
| | |
| | | # 默认忽略的文件 |
| | | /shelf/ |
| | | /workspace.xml |
| | | # 基于编辑器的 HTTP 客户端请求 |
| | | /httpRequests/ |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <module type="WEB_MODULE" version="4"> |
| | | <component name="NewModuleRootManager"> |
| | | <content url="file://$MODULE_DIR$"> |
| | | <excludeFolder url="file://$MODULE_DIR$/temp" /> |
| | | <excludeFolder url="file://$MODULE_DIR$/.tmp" /> |
| | | <excludeFolder url="file://$MODULE_DIR$/tmp" /> |
| | | </content> |
| | | <orderEntry type="inheritedJdk" /> |
| | | <orderEntry type="sourceFolder" forTests="false" /> |
| | | </component> |
| | | </module> |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <project version="4"> |
| | | <component name="ProjectModuleManager"> |
| | | <modules> |
| | | <module fileurl="file://$PROJECT_DIR$/.idea/GoldC.iml" filepath="$PROJECT_DIR$/.idea/GoldC.iml" /> |
| | | </modules> |
| | | </component> |
| | | </project> |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <project version="4"> |
| | | <component name="VcsDirectoryMappings"> |
| | | <mapping directory="$PROJECT_DIR$/.." vcs="Git" /> |
| | | <mapping directory="$PROJECT_DIR$" vcs="Git" /> |
| | | </component> |
| | | </project> |
| | |
| | | onShow: function () { |
| | | // console.log('app.onshow') |
| | | } |
| | | }) |
| | | }) |
| | |
| | | "window": { |
| | | "backgroundTextStyle": "light", |
| | | "navigationBarBackgroundColor": "#fff", |
| | | "navigationBarTitleText": "金鸡湖景区巡检通", |
| | | "navigationBarTitleText": "湖滨巡检通", |
| | | "navigationBarTextStyle": "black", |
| | | "enablePullDownRefresh": false |
| | | }, |
| | |
| | | }, |
| | | "style": "v2", |
| | | "sitemapLocation": "sitemap.json" |
| | | } |
| | | } |
| | |
| | | listData: '', |
| | | replytitle: '整改回复', |
| | | zhengai: 1, |
| | | // |
| | | // |
| | | miaoshu: '', |
| | | exam: '', |
| | | // |
| | | // |
| | | backimg: '', |
| | | }, |
| | | // 展示模态框 / 打开回复弹窗 |
| | |
| | | wx.uploadFile({ |
| | | filePath: this.data.backimg[0], |
| | | name: 'upload', |
| | | url: 'https://www.yhupai.com/TOperation/Post', |
| | | url: 'http://101.133.134.71:9002/TOperation/Post', |
| | | formData: { |
| | | _RoleValue: wx.getStorageSync('user').RoleValue, |
| | | _pk_User: wx.getStorageSync('user').pk_User, |
| | |
| | | onShareAppMessage: function () { |
| | | |
| | | } |
| | | }) |
| | | }) |
| | |
| | | <view class="inputtime">{{end?end:'请选择结束时间'}}</view> |
| | | </picker> |
| | | </view> |
| | | |
| | | |
| | | </view> |
| | | </view> |
| | | <!-- 描述 --> |
| | |
| | | <!-- <view class="h2txt">问题图片:</view> --> |
| | | <view class="xiangqingtxt" bindtap="toxiangqin" data-id="{{item.pk_Examine}}">查看详情></view> |
| | | <view style="padding-left: 30rpx;"> |
| | | <!-- <image class="quImg" style="{{item.loading?'display:block':'display:none'}}" bindload="imgOnLoad" data-index="{{index}}" bindtap="imgYu" src="{{'http://121.37.161.183:8088'+ item.Reported_Img}}" data-img="{{'http://121.37.161.183:8088'+ item.Reported_Img}}"></image> --> |
| | | <image wx:for="{{item.Reported_ImgArray}}" wx:for-item="imgitem" class="quImg" data-index="{{index}}" data-imgindex="{{imgitem}}" mode="aspectFill" src="{{'http://121.37.161.183:8088'+ imgitem}}" bindtap="imgYu" data-img="{{'http://121.37.161.183:8088'+ imgitem}}"></image> |
| | | <!-- <image class="quImg" style="{{item.loading?'display:block':'display:none'}}" bindload="imgOnLoad" data-index="{{index}}" bindtap="imgYu" src="{{'http://101.133.134.71:9002'+ item.Reported_Img}}" data-img="{{'http://101.133.134.71:9002'+ item.Reported_Img}}"></image> --> |
| | | <image wx:for="{{item.Reported_ImgArray}}" wx:for-item="imgitem" class="quImg" data-index="{{index}}" data-imgindex="{{imgitem}}" mode="aspectFill" src="{{'http://101.133.134.71:9002'+ imgitem}}" bindtap="imgYu" data-img="{{'http://101.133.134.71:9002'+ imgitem}}"></image> |
| | | <!-- <view class="imgloading" style="{{item.loading?'display:none':'display:block'}}"> |
| | | <van-loading type="spinner" wx:if="{{!item.loading}}"/> |
| | | </view> --> |
| | | </view> |
| | | |
| | | |
| | | <view class="address"> |
| | | <image class="timeicon" src="/images/address.png"></image> |
| | | <text>{{item.Reported_Address}}</text> |
| | |
| | | <!-- <view class="h2txt">问题图片:</view> --> |
| | | <view class="xiangqingtxt" bindtap="toxiangqin" data-id="{{item.pk_Examine}}">查看详情></view> |
| | | <view style="padding-left: 30rpx;"> |
| | | <image class="quImg" style="{{item.loading?'display:block':'display:none'}}" bindload="imgOnLoad" data-index="{{index}}" bindtap="imgYu" src="{{'http://121.37.161.183:8088'+ item.Reported_Img}}" data-img="{{'http://121.37.161.183:8088'+ item.Reported_Img}}"></image> |
| | | <image class="quImg" style="{{item.loading?'display:block':'display:none'}}" bindload="imgOnLoad" data-index="{{index}}" bindtap="imgYu" src="{{'http://101.133.134.71:9002'+ item.Reported_Img}}" data-img="{{'http://101.133.134.71:9002'+ item.Reported_Img}}"></image> |
| | | <view class="imgloading" style="{{item.loading?'display:none':'display:block'}}"> |
| | | <van-loading type="spinner" wx:if="{{!item.loading}}"/> |
| | | </view> |
| | | </view> |
| | | |
| | | |
| | | <view class="address"> |
| | | <image class="timeicon" src="/images/address.png"></image> |
| | | <text>{{item.Reported_Address}}</text> |
| | |
| | | <view class="btn btn-pass" bindtap="reply" data-id="过程回复" data-rep="0" data-exam="{{item.pk_Examine}}"> |
| | | <van-icon class="icon" /><text>过程回复</text></view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </van-tab> |
| | |
| | | <view class="noData" wx:if="{{!listData[0]}}"> |
| | | <image class="nodataicon" src="/images/nodataimg.png"></image> |
| | | <view>暂无相关数据</view> |
| | | </view> |
| | | </view> |
| | |
| | | lastarr: [], |
| | | twoarr: '', |
| | | index3: '', |
| | | // |
| | | // |
| | | dis: true, |
| | | // |
| | | // |
| | | shangbao: '', |
| | | beizhu: '', |
| | | // 图片 |
| | |
| | | // 详细地址 |
| | | detailedaddress: '', |
| | | listid: '', |
| | | // |
| | | // |
| | | youkecenter:'', |
| | | youkeindex:'' |
| | | }, |
| | |
| | | FTimageUrl: JSON.parse(options.data).Reported_Img.replace('..','').split(","), |
| | | listid: JSON.parse(options.data).id |
| | | }) |
| | | |
| | | |
| | | // 反填游客归属中心 |
| | | this.data.youkecenter.forEach((e) => { |
| | | if (e.pk_TypeId === JSON.parse(options.data).fk_Role_Type) { |
| | |
| | | }) |
| | | } |
| | | }) |
| | | // |
| | | // |
| | | this.data.allarr.forEach((e) => { |
| | | if (e.pk_Company === JSON.parse(options.data).FirstCompanyId) { |
| | | var indx2 = this.data.allarr.indexOf(e) |
| | |
| | | } |
| | | }) |
| | | |
| | | // |
| | | // |
| | | this.setData({ |
| | | detailedaddress: JSON.parse(options.data).Reported_Address |
| | | }) |
| | |
| | | index2: e.detail.value, |
| | | index3: '' |
| | | }) |
| | | // |
| | | // |
| | | if (this.data.index2) { |
| | | this.setData({ |
| | | dis: false |
| | |
| | | } |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | } |
| | | }) |
| | | } |
| | |
| | | 'content-type': 'multipart/form-data' |
| | | }, |
| | | formData: data, |
| | | url: 'https://www.yhupai.com/CheckEdit/Post', |
| | | url: 'http://101.133.134.71:9002/CheckEdit/Post', |
| | | success: function (res) { |
| | | wx.hideLoading() |
| | | if (res.data) { |
| | |
| | | }) |
| | | } else { |
| | | wx.request({ |
| | | url: 'https://www.yhupai.com/CheckEdit/Post', |
| | | url: 'http://101.133.134.71:9002/CheckEdit/Post', |
| | | data: data, |
| | | success: (res) => { |
| | | if (res.data) { |
| | |
| | | onShareAppMessage: function () { |
| | | |
| | | } |
| | | }) |
| | | }) |
| | |
| | | <view>上传照片</view> |
| | | </view> |
| | | <view class="photoBox"> |
| | | <image wx:if="{{FTimageUrl}}" wx:for="{{FTimageUrl}}" class="upphotoimg" src="{{imageUrl?imageUrl:'http://121.37.161.183:8088'+item}}" mode="aspectFill" style="margin-right:10rpx"></image> |
| | | <image wx:if="{{FTimageUrl}}" wx:for="{{FTimageUrl}}" class="upphotoimg" src="{{imageUrl?imageUrl:'http://101.133.134.71:9002'+item}}" mode="aspectFill" style="margin-right:10rpx"></image> |
| | | <image wx:if="{{!FTimageUrl}}" class="upphotoimg" src="{{imageUrl?imageUrl:'/images/img.png'}}" mode="aspectFill"></image> |
| | | <view>尺寸在512*512以内,大小在500kb以内</view> |
| | | </view> |
| | |
| | | <button class="btnY" bindtap="Yes">提交</button> |
| | | </view> |
| | | <!-- 占位 --> |
| | | <view style="height:50rpx"></view> |
| | | <view style="height:50rpx"></view> |
| | |
| | | * 页面的初始数据 |
| | | */ |
| | | data: { |
| | | userName: '', |
| | | psw: '' |
| | | UserName: '', |
| | | Password: '' |
| | | }, |
| | | |
| | | /** |
| | | * 生命周期函数--监听页面加载 |
| | | */ |
| | | onLoad: function (options) { |
| | | |
| | | |
| | | if (wx.getStorageSync('user')) { |
| | | app.setUser(wx.getStorageSync('user')) |
| | | wx.switchTab({ |
| | |
| | | // 绑定用户名 |
| | | bindUserName(e) { |
| | | this.setData({ |
| | | userName: e.detail.value |
| | | UserName: e.detail.value |
| | | }) |
| | | }, |
| | | // 绑定密码 |
| | | bindPSW(e) { |
| | | this.setData({ |
| | | psw: hexMD5(e.detail.value) |
| | | Password: hexMD5(e.detail.value) |
| | | }) |
| | | }, |
| | | |
| | |
| | | wx.showLoading({ |
| | | title: '登录中', |
| | | }) |
| | | loginRequest(this.data.userName, this.data.psw).then(res => { |
| | | loginRequest(this.data.UserName, this.data.Password).then(res => { |
| | | wx.setStorageSync('token', res.data.Data.token) |
| | | if (res.data.Data === 0) { |
| | | wx.showToast({ |
| | |
| | | onShareAppMessage: function () { |
| | | |
| | | } |
| | | }) |
| | | }) |
| | |
| | | <!--pages/login/logn.wxml--> |
| | | <view class="imageBox"> |
| | | <image src="http://jinjilake.sipac.gov.cn/upload/201908/06/201908061420317742.png"></image> |
| | | <image src="../../images/login_bgx.jpg"></image> |
| | | </view> |
| | | <view style="width:100%"> |
| | | <view class="loginBox"> |
| | |
| | | <!-- <view class="info">营业时间:08:00-20:00</view> --> |
| | | <view class="info">联系方式:4007-558-558</view> |
| | | <!-- <view class="info">金鸡湖景区</view> --> |
| | | </view> |
| | | </view> |
| | |
| | | <view class="xiangqingtxt" bindtap="toxiangqin" data-id="{{item.pk_Examine}}">查看详情></view> |
| | | <!-- <view class="h2txt">问题图片:</view> --> |
| | | <view style="padding-left: 30rpx;"> |
| | | <image wx:for="{{item.Reported_ImgArray}}" wx:for-item="imgitem" class="quImg" style="{{item.loading?'display:block':'display:none'}}" bindload="imgOnLoad" data-index="{{index}}" data-imgindex="{{imgitem}}" mode="aspectFill" src="{{'http://121.37.161.183:8088'+ imgitem}}" bindtap="imgYu" data-img="{{'http://121.37.161.183:8088'+ imgitem}}"></image> |
| | | <image wx:for="{{item.Reported_ImgArray}}" wx:for-item="imgitem" class="quImg" style="{{item.loading?'display:block':'display:none'}}" bindload="imgOnLoad" data-index="{{index}}" data-imgindex="{{imgitem}}" mode="aspectFill" src="{{'http://101.133.134.71:9002'+ imgitem}}" bindtap="imgYu" data-img="{{'http://101.133.134.71:9002'+ imgitem}}"></image> |
| | | </view> |
| | | <!-- --> |
| | | |
| | | |
| | | <!-- --> |
| | | <view class="address"> |
| | | <image class="timeicon" src="/images/address.png"></image> |
| | |
| | | <!-- <view class="h2txt">问题图片:</view> --> |
| | | <view class="xiangqingtxt" bindtap="toxiangqin" data-id="{{item.pk_Examine}}">查看详情></view> |
| | | <view style="padding-left: 30rpx;"> |
| | | <image wx:for="{{item.Reported_ImgArray}}" wx:for-item="imgitem" class="quImg" data-index="{{index}}" data-imgindex="{{imgitem}}" mode="aspectFill" src="{{'http://121.37.161.183:8088'+ imgitem}}" bindtap="imgYu" data-img="{{'http://121.37.161.183:8088'+ imgitem}}"></image> |
| | | <image wx:for="{{item.Reported_ImgArray}}" wx:for-item="imgitem" class="quImg" data-index="{{index}}" data-imgindex="{{imgitem}}" mode="aspectFill" src="{{'http://101.133.134.71:9002'+ imgitem}}" bindtap="imgYu" data-img="{{'http://101.133.134.71:9002'+ imgitem}}"></image> |
| | | <!-- <view class="imgloading" style="{{item.loading?'display:none':'display:block'}}"> |
| | | <van-loading type="spinner" wx:if="{{!item.loading}}"/> |
| | | </view> --> |
| | | </view> |
| | | |
| | | |
| | | <view class="address"> |
| | | <image class="timeicon" src="/images/address.png"></image> |
| | | <text>{{item.Reported_Address}}</text> |
| | |
| | | <!-- <view class="h2txt">问题图片:</view> --> |
| | | <view class="xiangqingtxt" bindtap="toxiangqin" data-id="{{item.pk_Examine}}">查看详情></view> |
| | | <view style="padding-left: 30rpx;"> |
| | | <image wx:for="{{item.Reported_ImgArray}}" wx:for-item="imgitem" class="quImg" style="{{item.loading?'display:block':'display:none'}}" bindload="imgOnLoad" data-index="{{index}}" data-imgindex="{{imgitem}}" mode="aspectFill" src="{{'http://121.37.161.183:8088'+ imgitem}}" bindtap="imgYu" data-img="{{'http://121.37.161.183:8088'+ imgitem}}"></image> |
| | | <image wx:for="{{item.Reported_ImgArray}}" wx:for-item="imgitem" class="quImg" style="{{item.loading?'display:block':'display:none'}}" bindload="imgOnLoad" data-index="{{index}}" data-imgindex="{{imgitem}}" mode="aspectFill" src="{{'http://101.133.134.71:9002'+ imgitem}}" bindtap="imgYu" data-img="{{'http://101.133.134.71:9002'+ imgitem}}"></image> |
| | | <!-- <view class="imgloading" style="{{item.loading?'display:none':'display:block'}}"> |
| | | <van-loading type="spinner" wx:if="{{!item.loading}}"/> |
| | | </view> --> |
| | | </view> |
| | | |
| | | |
| | | <!-- --> |
| | | <view class="address"> |
| | | <image class="timeicon" src="/images/address.png"></image> |
| | |
| | | <!-- <view class="h2txt">问题图片:</view> --> |
| | | <view class="xiangqingtxt" bindtap="toxiangqin" data-id="{{item.pk_Examine}}">查看详情></view> |
| | | <view style="padding-left: 30rpx;"> |
| | | <image wx:for="{{item.Reported_ImgArray}}" wx:for-item="imgitem" class="quImg" style="{{item.loading?'display:block':'display:none'}}" bindload="imgOnLoad" data-index="{{index}}" data-imgindex="{{imgitem}}" mode="aspectFill" src="{{'http://121.37.161.183:8088'+ imgitem}}" bindtap="imgYu" data-img="{{'http://121.37.161.183:8088'+ imgitem}}"></image> |
| | | <image wx:for="{{item.Reported_ImgArray}}" wx:for-item="imgitem" class="quImg" style="{{item.loading?'display:block':'display:none'}}" bindload="imgOnLoad" data-index="{{index}}" data-imgindex="{{imgitem}}" mode="aspectFill" src="{{'http://101.133.134.71:9002'+ imgitem}}" bindtap="imgYu" data-img="{{'http://101.133.134.71:9002'+ imgitem}}"></image> |
| | | <!-- <view class="imgloading" style="{{item.loading?'display:none':'display:block'}}"> |
| | | <van-loading type="spinner" wx:if="{{!item.loading}}"/> |
| | | </view> --> |
| | | </view> |
| | | |
| | | |
| | | <view class="address"> |
| | | <image class="timeicon" src="/images/address.png"></image> |
| | | <text>{{item.Reported_Address}}</text> |
| | |
| | | <view class="noData" wx:if="{{!listdata[0]}}"> |
| | | <image class="nodataicon" src="/images/nodataimg.png"></image> |
| | | <view>暂无相关数据</view> |
| | | </view> |
| | | </view> |
| | |
| | | listData: '', |
| | | replytitle: '整改回复', |
| | | zhengai: 1, |
| | | // |
| | | // |
| | | miaoshu: '', |
| | | exam: '', |
| | | // |
| | | // |
| | | backimg: '', |
| | | // 一级单位是否 |
| | | isPrimary: false, |
| | |
| | | wx.uploadFile({ |
| | | filePath: this.data.backimg[0], |
| | | name: 'upload', |
| | | url: 'https://www.yhupai.com/TOperation/Post', |
| | | url: 'http://101.133.134.71:9002/TOperation/Post', |
| | | formData: { |
| | | _RoleValue: wx.getStorageSync('user').RoleValue, |
| | | _pk_User: wx.getStorageSync('user').pk_User, |
| | |
| | | |
| | | } |
| | | }, |
| | | //历史流程 |
| | | //历史流程 |
| | | history(e) { |
| | | var id = e.currentTarget.dataset.id |
| | | wx.navigateTo({ |
| | | url: '/pages/history/hisstory?id=' + id, |
| | | }) |
| | | }, |
| | | // |
| | | // |
| | | textinput(e) { |
| | | this.setData({ |
| | | miaoshu: e.detail.value |
| | |
| | | }) |
| | | }, |
| | | |
| | | // |
| | | // |
| | | imgOnLoad(e) { |
| | | if(this.data.listData[e.currentTarget.dataset.index]){ |
| | | this.data.listData[e.currentTarget.dataset.index].loading = true |
| | | } |
| | | |
| | | |
| | | var l = this.data.listData |
| | | this.setData({ |
| | | listData: l |
| | |
| | | onShareAppMessage: function () { |
| | | |
| | | } |
| | | }) |
| | | }) |
| | |
| | | <!-- <view class="h2txt">问题图片:</view> --> |
| | | <view class="xiangqingtxt" bindtap="toxiangqin" data-id="{{item.pk_Examine}}">查看详情></view> |
| | | <view style="padding-left:30rpx"> |
| | | <image wx:for="{{item.Reported_ImgArray}}" wx:for-item="imgitem" class="quImg" data-index="{{index}}" data-imgindex="{{imgitem}}" mode="aspectFill" src="{{'http://121.37.161.183:8088'+ imgitem}}" bindtap="imgYu" data-img="{{'http://121.37.161.183:8088'+ imgitem}}"></image> |
| | | <image wx:for="{{item.Reported_ImgArray}}" wx:for-item="imgitem" class="quImg" data-index="{{index}}" data-imgindex="{{imgitem}}" mode="aspectFill" src="{{'http://101.133.134.71:9002'+ imgitem}}" bindtap="imgYu" data-img="{{'http://101.133.134.71:9002'+ imgitem}}"></image> |
| | | <!-- <view class="imgloading" style="{{item.loading?'display:none':'display:block'}}"> |
| | | <van-loading type="spinner" wx:if="{{!item.loading}}"/> |
| | | </view> --> |
| | | </view> |
| | | |
| | | |
| | | <view class="address"> |
| | | <image class="timeicon" src="/images/address.png"></image> |
| | | <text>{{item.Reported_Address}}</text> |
| | |
| | | <!-- <view class="h2txt">问题图片:</view> --> |
| | | <view class="xiangqingtxt" bindtap="toxiangqin" data-id="{{item.pk_Examine}}">查看详情></view> |
| | | <view style="padding-left:30rpx"> |
| | | <image wx:for="{{item.Reported_ImgArray}}" wx:for-item="imgitem" class="quImg" data-index="{{index}}" data-imgindex="{{imgitem}}" mode="aspectFill" src="{{'http://121.37.161.183:8088'+ imgitem}}" bindtap="imgYu" data-img="{{'http://121.37.161.183:8088'+ imgitem}}"></image> |
| | | <image wx:for="{{item.Reported_ImgArray}}" wx:for-item="imgitem" class="quImg" data-index="{{index}}" data-imgindex="{{imgitem}}" mode="aspectFill" src="{{'http://101.133.134.71:9002'+ imgitem}}" bindtap="imgYu" data-img="{{'http://101.133.134.71:9002'+ imgitem}}"></image> |
| | | <!-- <view class="imgloading" style="{{item.loading?'display:none':'display:block'}}"> |
| | | <van-loading type="spinner" wx:if="{{!item.loading}}"/> |
| | | </view> --> |
| | | </view> |
| | | |
| | | |
| | | <view class="address"> |
| | | <image class="timeicon" src="/images/address.png"></image> |
| | | <text>{{item.Reported_Address}}</text> |
| | |
| | | <!-- <view class="h2txt">问题图片:</view> --> |
| | | <view class="xiangqingtxt" bindtap="toxiangqin" data-id="{{item.pk_Examine}}">查看详情></view> |
| | | <view style="padding-left:30rpx"> |
| | | <image wx:for="{{item.Reported_ImgArray}}" wx:for-item="imgitem" class="quImg" data-index="{{index}}" data-imgindex="{{imgitem}}" mode="aspectFill" src="{{'http://121.37.161.183:8088'+ imgitem}}" bindtap="imgYu" data-img="{{'http://121.37.161.183:8088'+ imgitem}}"></image> |
| | | <image wx:for="{{item.Reported_ImgArray}}" wx:for-item="imgitem" class="quImg" data-index="{{index}}" data-imgindex="{{imgitem}}" mode="aspectFill" src="{{'http://101.133.134.71:9002'+ imgitem}}" bindtap="imgYu" data-img="{{'http://101.133.134.71:9002'+ imgitem}}"></image> |
| | | <!-- <view class="imgloading" style="{{item.loading?'display:none':'display:block'}}"> |
| | | <van-loading type="spinner" wx:if="{{!item.loading}}"/> |
| | | </view> --> |
| | | </view> |
| | | |
| | | |
| | | <view class="address"> |
| | | <image class="timeicon" src="/images/address.png"></image> |
| | | <text>{{item.Reported_Address}}</text> |
| | |
| | | <!-- <view class="h2txt">问题图片:</view> --> |
| | | <view class="xiangqingtxt" bindtap="toxiangqin" data-id="{{item.pk_Examine}}">查看详情></view> |
| | | <view style="padding-left:30rpx"> |
| | | <image wx:for="{{item.Reported_ImgArray}}" wx:for-item="imgitem" class="quImg" data-index="{{index}}" data-imgindex="{{imgitem}}" mode="aspectFill" src="{{'http://121.37.161.183:8088'+ imgitem}}" bindtap="imgYu" data-img="{{'http://121.37.161.183:8088'+ imgitem}}"></image> |
| | | <image wx:for="{{item.Reported_ImgArray}}" wx:for-item="imgitem" class="quImg" data-index="{{index}}" data-imgindex="{{imgitem}}" mode="aspectFill" src="{{'http://101.133.134.71:9002'+ imgitem}}" bindtap="imgYu" data-img="{{'http://101.133.134.71:9002'+ imgitem}}"></image> |
| | | <!-- <view class="imgloading" style="{{item.loading?'display:none':'display:block'}}"> |
| | | <van-loading type="spinner" wx:if="{{!item.loading}}"/> |
| | | </view> --> |
| | | </view> |
| | | |
| | | |
| | | <view class="address"> |
| | | <image class="timeicon" src="/images/address.png"></image> |
| | | <text>{{item.Reported_Address}}</text> |
| | |
| | | <view class="noData" wx:if="{{!listData[0]}}"> |
| | | <image class="nodataicon" src="/images/nodataimg.png"></image> |
| | | <view>暂无相关数据</view> |
| | | </view> |
| | | </view> |
| | |
| | | lastarr: [], |
| | | twoarr: '', |
| | | index3: '', |
| | | // |
| | | // |
| | | dis: true, |
| | | // |
| | | // |
| | | shangbao: '', |
| | | beizhu: '', |
| | | // |
| | | // |
| | | imageUrl: [], |
| | | // map |
| | | locmap: '', |
| | |
| | | onearr:app.onearr, |
| | | youkecenter:app.youkecenter |
| | | }) |
| | | |
| | | |
| | | // 获取地点 |
| | | wx.getLocation({ |
| | | success: (res) => { |
| | |
| | | this.setData({ |
| | | index2: e.detail.value |
| | | }) |
| | | // |
| | | // |
| | | if (this.data.index2) { |
| | | this.setData({ |
| | | dis: false |
| | |
| | | 'content-type': 'multipart/form-data' |
| | | }, |
| | | formData: data, |
| | | url: 'https://www.yhupai.com/CheckEdit/Post', |
| | | url: 'http://101.133.134.71:9002/CheckEdit/Post', |
| | | success: (res) =>{ |
| | | // wx.hideLoading() |
| | | // console.log(JSON.parse(res.data).Msg) |
| | |
| | | 'content-type': 'multipart/form-data' |
| | | }, |
| | | formData:data, |
| | | url: 'https://www.yhupai.com/CheckEdit/UploadImageTwo', |
| | | url: 'http://101.133.134.71:9002/CheckEdit/UploadImageTwo', |
| | | success:(res)=>{ |
| | | console.log(res.data) |
| | | wx.showToast({ |
| | |
| | | url: '/pages/problemList/problemList', |
| | | }) |
| | | } |
| | | |
| | | |
| | | }else{ |
| | | wx.showToast({ |
| | | title: JSON.parse(res.data).Msg, |
| | |
| | | onShareAppMessage: function () { |
| | | |
| | | } |
| | | }) |
| | | }) |
| | |
| | | onLoad: function (options) { |
| | | console.log(options.id * 1) |
| | | wx.request({ |
| | | url: 'https://www.yhupai.com/QuestionShow/GetSingle', |
| | | url: 'http://101.133.134.71:9002/QuestionShow/GetSingle', |
| | | data:{ |
| | | _pk_Examine:options.id * 1, |
| | | token: wx.getStorageSync('token') |
| | | },success:(res) =>{ |
| | | |
| | | |
| | | // res.data.Data.Reported_lnglat.split(",") |
| | | res.data.Data.lat = res.data.Data.Reported_lnglat.split(",")[1]*1 |
| | | res.data.Data.long = res.data.Data.Reported_lnglat.split(",")[0]*1 |
| | | console.log(res.data.Data) |
| | | |
| | | |
| | | var marker = [{ |
| | | latitude:res.data.Data.lat, |
| | | longitude:res.data.Data.long, |
| | |
| | | onShareAppMessage: function () { |
| | | |
| | | } |
| | | }) |
| | | }) |
| | |
| | | <!-- <view class="xiangqingtxt" bindtap="toxiangqin" data-id="{{item.pk_Examine}}">查看详情></view> --> |
| | | <!-- <view class="title">问题点现场图片:</view> --> |
| | | <view style="padding-left: 30rpx;"> |
| | | <image wx:for="{{listdata.Reported_ImgArray}}" wx:for-item="imgitem" class="quImg" data-index="{{index}}" data-imgindex="{{imgitem}}" mode="aspectFill" src="{{'http://121.37.161.183:8088/'+ imgitem}}" bindtap="imgYu" data-img="{{'http://121.37.161.183:8088/'+ imgitem}}"></image> |
| | | <image wx:for="{{listdata.Reported_ImgArray}}" wx:for-item="imgitem" class="quImg" data-index="{{index}}" data-imgindex="{{imgitem}}" mode="aspectFill" src="{{'http://101.133.134.71:9002/'+ imgitem}}" bindtap="imgYu" data-img="{{'http://101.133.134.71:9002/'+ imgitem}}"></image> |
| | | </view> |
| | | <!-- --> |
| | | <view wx:if="{{listdata.Abarbeitung_Question}}"> |
| | |
| | | <view class="text">{{listdata.Abarbeitung_Question}}</view> |
| | | <view style="padding-left: 30rpx;"> |
| | | <!-- <view wx:if="{{!listdata.Abarbeitung_Img}}">暂未回复整改图片</view> --> |
| | | <image class="quImg" data-index="{{index}}" data-imgindex="{{imgitem}}" mode="aspectFill" src="{{listdata.Abarbeitung_Img?'http://121.37.161.183:8088'+ listdata.Abarbeitung_Img:'/images/noreplyimg.png'}}" bindtap="imgYu" data-img="{{listdata.Abarbeitung_Img?'http://121.37.161.183:8088'+ listdata.Abarbeitung_Img:'/images/noreplyimg.png'}}"></image> |
| | | <image class="quImg" data-index="{{index}}" data-imgindex="{{imgitem}}" mode="aspectFill" src="{{listdata.Abarbeitung_Img?'http://101.133.134.71:9002'+ listdata.Abarbeitung_Img:'/images/noreplyimg.png'}}" bindtap="imgYu" data-img="{{listdata.Abarbeitung_Img?'http://101.133.134.71:9002'+ listdata.Abarbeitung_Img:'/images/noreplyimg.png'}}"></image> |
| | | </view> |
| | | </view> |
| | | |
| | | |
| | | <view wx:if="{{Approve_QuestionInfo}}"> |
| | | <view class="title"> |
| | | <image class="primg" src="/images/ProRep/uptext.png"></image> |
| | | 通过意见:</view> |
| | | <view class="text">{{listdata.Approve_QuestionInfo}}</view> |
| | | </view> |
| | | |
| | | |
| | | <!-- <view class="address"> |
| | | <image class="timeicon" src="/images/address.png"></image> |
| | | <text>{{listdata.Reported_Address}}</text> |
| | |
| | | <image class="timeicon" src="/images/time.png"></image> |
| | | <text>{{listdata.Reported_Date}}</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | { |
| | | "description": "项目配置文件", |
| | | "packOptions": { |
| | | "ignore": [] |
| | | }, |
| | | "setting": { |
| | | "urlCheck": false, |
| | | "es6": true, |
| | | "enhance": false, |
| | | "postcss": true, |
| | | "preloadBackgroundData": false, |
| | | "minified": true, |
| | | "newFeature": false, |
| | | "coverView": true, |
| | | "nodeModules": true, |
| | | "autoAudits": false, |
| | | "showShadowRootInWxmlPanel": true, |
| | | "scopeDataCheck": false, |
| | | "uglifyFileName": false, |
| | | "checkInvalidKey": true, |
| | | "checkSiteMap": true, |
| | | "uploadWithSourceMap": true, |
| | | "compileHotReLoad": false, |
| | | "babelSetting": { |
| | | "ignore": [], |
| | | "disablePlugins": [], |
| | | "outputPath": "" |
| | | }, |
| | | "useIsolateContext": true, |
| | | "useCompilerModule": true, |
| | | "userConfirmedUseCompilerModuleSwitch": false |
| | | }, |
| | | "compileType": "miniprogram", |
| | | "libVersion": "2.12.0", |
| | | "appid": "wx217c3b31237025db", |
| | | "projectname": "GoldenChicken", |
| | | "debugOptions": { |
| | | "hidedInDevtools": [] |
| | | }, |
| | | "scripts": {}, |
| | | "isGameTourist": false, |
| | | "simulatorType": "wechat", |
| | | "simulatorPluginLibVersion": {}, |
| | | "condition": { |
| | | "search": { |
| | | "current": -1, |
| | | "list": [] |
| | | }, |
| | | "conversation": { |
| | | "current": -1, |
| | | "list": [] |
| | | }, |
| | | "game": { |
| | | "current": -1, |
| | | "list": [] |
| | | }, |
| | | "plugin": { |
| | | "current": -1, |
| | | "list": [] |
| | | }, |
| | | "gamePlugin": { |
| | | "current": -1, |
| | | "list": [] |
| | | }, |
| | | "miniprogram": { |
| | | "current": -1, |
| | | "list": [] |
| | | } |
| | | } |
| | | "description": "项目配置文件", |
| | | "packOptions": { |
| | | "ignore": [] |
| | | }, |
| | | "setting": { |
| | | "urlCheck": false, |
| | | "es6": true, |
| | | "enhance": false, |
| | | "postcss": true, |
| | | "preloadBackgroundData": false, |
| | | "minified": true, |
| | | "newFeature": false, |
| | | "coverView": true, |
| | | "nodeModules": true, |
| | | "autoAudits": false, |
| | | "showShadowRootInWxmlPanel": true, |
| | | "scopeDataCheck": false, |
| | | "uglifyFileName": false, |
| | | "checkInvalidKey": true, |
| | | "checkSiteMap": true, |
| | | "uploadWithSourceMap": true, |
| | | "compileHotReLoad": false, |
| | | "useMultiFrameRuntime": true, |
| | | "useApiHook": true, |
| | | "useApiHostProcess": true, |
| | | "babelSetting": { |
| | | "ignore": [], |
| | | "disablePlugins": [], |
| | | "outputPath": "" |
| | | }, |
| | | "enableEngineNative": false, |
| | | "bundle": false, |
| | | "useIsolateContext": true, |
| | | "useCompilerModule": true, |
| | | "userConfirmedUseCompilerModuleSwitch": false, |
| | | "userConfirmedBundleSwitch": false, |
| | | "packNpmManually": false, |
| | | "packNpmRelationList": [], |
| | | "minifyWXSS": true |
| | | }, |
| | | "compileType": "miniprogram", |
| | | "libVersion": "2.12.0", |
| | | "appid": "wxe17f21bb8de42202", |
| | | "projectname": "GoldenChicken", |
| | | "debugOptions": { |
| | | "hidedInDevtools": [] |
| | | }, |
| | | "scripts": {}, |
| | | "isGameTourist": false, |
| | | "simulatorType": "wechat", |
| | | "simulatorPluginLibVersion": {}, |
| | | "condition": { |
| | | "search": { |
| | | "list": [] |
| | | }, |
| | | "conversation": { |
| | | "list": [] |
| | | }, |
| | | "game": { |
| | | "list": [] |
| | | }, |
| | | "plugin": { |
| | | "list": [] |
| | | }, |
| | | "gamePlugin": { |
| | | "list": [] |
| | | }, |
| | | "miniprogram": { |
| | | "list": [] |
| | | } |
| | | } |
| | | } |
| | |
| | | // network host |
| | | const host = 'https://www.yhupai.com'; |
| | | const host = 'http://101.133.134.71:9002'; |
| | | |
| | | // login request |
| | | function loginRequest(UserName, Password) { |
| | |
| | | }) |
| | | } |
| | | |
| | | // |
| | | // |
| | | function GetQuList(listid) { |
| | | var uid = wx.getStorageSync('user').pk_User //用户id |
| | | var role = wx.getStorageSync('user').RoleValue //角色id |
| | |
| | | res.data.Data.forEach(element => { |
| | | element.loading = false, |
| | | element.Reported_Img = element.Reported_Img.replace('..', '').split(",") |
| | | // var obj |
| | | // var obj |
| | | // console.log(element.Reported_Img.replace('..','')) |
| | | }); |
| | | } |
| | |
| | | BackLog, |
| | | LogOut, |
| | | fixPassWord |
| | | } |
| | | } |