| | |
| | | _Reported_Question: this.data.shangbao, |
| | | Dispost_Question: this.data.Dispost_Question,//派单审核意见 |
| | | _Reported_Address: this.data.detailedaddress, |
| | | Reported_Remark: this.data.Reported_Remark ? '安全问题' : '', |
| | | _Reported_Remark: this.data.Reported_Remark ? '安全问题' : '', |
| | | Tag: this.data.listid, |
| | | _Reported_lnglat: this.data.locmap.latitude + ',' + this.data.locmap.longitude, |
| | | _fk_Role_Type: this.data.youkecenter[this.data.youkeindex] ? this.data.youkecenter[this.data.youkeindex].pk_TypeId : '', |
| | |
| | | // |
| | | dis: true, |
| | | // |
| | | Reported_Remark: [],//安全问题 |
| | | Reported_Remark: ['安全问题'],//安全问题 |
| | | Dispost_Question: '',//派单审核意见 |
| | | shangbao: '', |
| | | beizhu: '', |
| | |
| | | FTimageUrl: JSON.parse(options.data).Reported_Img.replace('..', '').split(","), |
| | | listid: JSON.parse(options.data).id |
| | | }) |
| | | // Reported_Remark: JSON.parse(options.data).Reported_Remark ? ['安全问题'] : ['安全问题'], |
| | | |
| | | setTimeout(()=>{ |
| | | this.setData({ |
| | | Reported_Remark:["安全问题"] |
| | | }) |
| | | console.log('安全问题初始化', this.data.Reported_Remark); |
| | | },1000) |
| | | // 反填游客归属中心 |
| | | this.data.youkecenter.forEach((e) => { |
| | | if (e.pk_TypeId === JSON.parse(options.data).fk_Role_Type) { |
| | |
| | | _Reported_Question: this.data.shangbao, |
| | | Dispost_Question: this.data.Dispost_Question,//派单审核意见 |
| | | _Reported_Address: this.data.detailedaddress, |
| | | Reported_Remark: this.data.Reported_Remark.length > 0 ? '安全问题' : '', |
| | | _Reported_Remark: this.data.Reported_Remark.length > 0 ? '安全问题' : '', |
| | | beizhu: this.data.Reported_Remark.length > 0 ? this.data.beizhu : '', |
| | | Tag: this.data.listid, |
| | | _Reported_lnglat: this.data.locmap.latitude + ',' + this.data.locmap.longitude, |
| | |
| | | </view> |
| | | <!-- <checkbox value="{{ Reported_Remark }}" class="checkbox" bind:change="choseRemark" style="margin-left: 10px;">安全问题</checkbox>--> |
| | | <!-- <van-checkbox value="{{ Reported_Remark }}" class="checkbox" bind:change="choseRemark" style="margin-left: 10px;">安全问题</van-checkbox>--> |
| | | <checkbox-group :value="{{Reported_Remark}}" bind:change="choseRemark"> |
| | | <checkbox value="安全问题">安全问题</checkbox> |
| | | <checkbox-group value="{{Reported_Remark}}" bind:change="choseRemark"> |
| | | <checkbox name="安全问题" value="安全问题">安全问题</checkbox> |
| | | </checkbox-group> |
| | | </view> |
| | | |
| | |
| | | wx.hideLoading() |
| | | }) |
| | | }, |
| | | // 转发中枢 |
| | | zhuanFa(e) { |
| | | wx.request({ |
| | | url: 'http://101.133.134.71:9002/TOperation/Post', |
| | | method: "POST", |
| | | header: { "content-type": "application/x-www-form-urlencoded" }, |
| | | data: { |
| | | _RoleValue: wx.getStorageSync('user').RoleValue, |
| | | _pk_User: wx.getStorageSync('user').pk_User, |
| | | _pk_Examine: e.currentTarget.dataset.id, |
| | | Tag: e.currentTarget.dataset.tag |
| | | }, |
| | | success(res) { |
| | | console.log(res) |
| | | if (res.data.Check){ |
| | | |
| | | }else{ |
| | | |
| | | } |
| | | }, |
| | | fail(err) { |
| | | |
| | | } |
| | | }) |
| | | }, |
| | | // 中枢退回 |
| | | tuiHui(e) { |
| | | console.log(e.currentTarget.dataset.id) |
| | | var id = e.currentTarget.dataset.id * 1 |
| | | CheckEdit(id).then((res) => { |
| | | res.data.Data.id = id |
| | | console.log(res.data.Data) |
| | | wx.navigateTo({ |
| | | url: '/pages/paiDan/paiDan?data=' + JSON.stringify(res.data.Data), |
| | | }) |
| | | }).catch((err) => { |
| | | console.log(err) |
| | | }) |
| | | // wx.navigateTo({ |
| | | // url: '/pages/aditReport/adit?data='+e.currentTarget.dataset.id, |
| | | // }) |
| | | }, |
| | | // 派单 |
| | | paiDan(e) { |
| | | console.log(e.currentTarget.dataset.id) |
| | |
| | | <text>派单</text> |
| | | </view> |
| | | </view> |
| | | <view wx:if="{{ role == 6 }}" class="libtn"> |
| | | <view wx:if="{{ role == 3 }}" class="libtn"> |
| | | <!-- 转发中枢 --> |
| | | <view class="btn btn-adit" bindtap="paiDan" data-id="{{item.pk_Examine}}" style="background-color: purple;"> |
| | | <view class="btn btn-adit" bindtap="zhuanFa" data-id="{{item.pk_Examine}}" data-tag="3" style="background-color: purple;"> |
| | | <van-icon name="edit" class="icon"/> |
| | | <text>转发中枢</text> |
| | | </view> |
| | | </view> |
| | | <view wx:if="{{ role == 13 }}" class="libtn"> |
| | | <!-- 转发中枢 --> |
| | | <view class="btn btn-adit" bindtap="paiDan" data-id="{{item.pk_Examine}}" style="background-color: purple;"> |
| | | <!-- 中枢退回 --> |
| | | <view class="btn btn-adit" bindtap="zhuanFa" data-id="{{item.pk_Examine}}" data-tag="4" style="background-color: purple;"> |
| | | <van-icon name="edit" class="icon"/> |
| | | <text>中枢退回</text> |
| | | </view> |
| | |
| | | _Reported_Question: this.data.shangbao, |
| | | Dispost_Question: this.data.Dispost_Question,//审核派单意见 |
| | | _Reported_Address: this.data.detailedaddress, |
| | | Reported_Remark: this.data.Reported_Remark ? this.data.beizhu : '', |
| | | _Reported_Remark: this.data.Reported_Remark.length > 0 ? '安全问题' : '', |
| | | beizhu: this.data.Reported_Remark ? this.data.beizhu : '', |
| | | Tag: 0, |
| | | _Reported_lnglat: this.data.locmap.longitude + ',' + this.data.locmap.latitude, |
| | | _fk_Role_Type: this.data.youkecenter[this.data.youkeindex] ? this.data.youkecenter[this.data.youkeindex].pk_TypeId : '', |