| | |
| | | // |
| | | dis: true, |
| | | // |
| | | Reported_Remark: '',//安全问题 |
| | | Reported_Remark: 1,//安全问题 |
| | | Reported_RemarkList:['安全问题','非安全问题'], |
| | | Dispost_Question: '',//派单审核意见 |
| | | shangbao: '', |
| | | beizhu: '', |
| | |
| | | FTimageUrl: JSON.parse(options.data).Reported_Img.replace('..', '').split(","), |
| | | listid: JSON.parse(options.data).id, |
| | | Dispost_Question: JSON.parse(options.data).Dispost_Question, |
| | | Reported_Remark: JSON.parse(options.data).Reported_Remark ? true : false, |
| | | Reported_Remark: JSON.parse(options.data).Reported_Remark == '安全问题' ? 0 : 1, |
| | | }) |
| | | |
| | | // 反填游客归属中心 |
| | |
| | | _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 === 0 ? '安全问题' : '', |
| | | beizhu: this.data.Reported_Remark === 0 ? this.data.beizhu : '', |
| | | 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 : '', |
| | |
| | | </view> |
| | | <textarea bindinput="shangbao" class="textbox" value="{{shangbao}}" placeholder="请输入上报问题内容..."></textarea> |
| | | </view> |
| | | <!-- 问题标签 --> |
| | | <!--安全问题--> |
| | | <view> |
| | | <view class="title"> |
| | | <image class="primg" src="/images/ProRep/uptext.png"></image> |
| | | <image class="primg" src="/images/ProRep/youke.png"></image> |
| | | <view>问题标签</view> |
| | | </view> |
| | | <checkbox value="{{ Reported_Remark }}" class="textbox" bind:change="choseRemark" style="margin-left: 10px;">安全问题 |
| | | </checkbox> |
| | | <picker bindchange="choseRemark" value="{{Reported_Remark}}" range="{{Reported_RemarkList}}" default-index="{{ 1 }}"> |
| | | <view class="chose">{{Reported_RemarkList[Reported_Remark]}}</view> |
| | | </picker> |
| | | </view> |
| | | <!-- --> |
| | | <view style="display:none"> |
| | |
| | | showtwo: true |
| | | }) |
| | | break; |
| | | case 13: |
| | | this.setData({ |
| | | showone: true |
| | | }) |
| | | break; |
| | | } |
| | | }, |
| | | // 跳转问题上报 |
| | |
| | | newsnum:res.data.Data.length+numOne |
| | | }) |
| | | } |
| | | }) |
| | | }) |
| | | } |
| | | }) |
| | | }, |
| | |
| | | onShareAppMessage: function () { |
| | | |
| | | } |
| | | }) |
| | | }) |
| | |
| | | // |
| | | dis: true, |
| | | // |
| | | Reported_Remark: ['安全问题'],//安全问题 |
| | | Reported_Remark: 1,//安全问题 |
| | | Reported_RemarkList:['安全问题','非安全问题'], |
| | | Dispost_Question: '',//派单审核意见 |
| | | shangbao: '', |
| | | beizhu: '', |
| | |
| | | * 生命周期函数--监听页面加载 |
| | | */ |
| | | onLoad: function (options) { |
| | | console.log(6666,app.onearr) |
| | | console.log(JSON.parse(options.data)) |
| | | this.setData({ |
| | | firstallArr: app.firstallArr, |
| | |
| | | onearr: app.onearr, |
| | | youkecenter: app.youkecenter, |
| | | shangbao: JSON.parse(options.data).Reported_Question, |
| | | Reported_Remark: JSON.parse(options.data).Reported_Remark ? ['安全问题'] : ['安全问题'], |
| | | Reported_Remark: JSON.parse(options.data).Reported_Remark == '安全问题' ? 0 : 1, |
| | | Dispost_Question: JSON.parse(options.data).Dispost_Question, |
| | | beizhu: JSON.parse(options.data).Reported_Remark ? JSON.parse(options.data).beizhu : '', |
| | | beizhu: JSON.parse(options.data).Reported_Remark == '安全问题' ? JSON.parse(options.data).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 ? '安全问题' : '', |
| | | beizhu: this.data.Reported_Remark.length > 0 ? this.data.beizhu : '', |
| | | _Reported_Remark: this.data.Reported_Remark === 0 ? '安全问题' : '', |
| | | beizhu: this.data.Reported_Remark === 0 ? this.data.beizhu : '', |
| | | 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 : '', |
| | |
| | | <image class="primg" src="/images/ProRep/uptext.png"></image> |
| | | <view>审核派单意见</view> |
| | | </view> |
| | | <textarea bindinput="Dispost_Question" class="textbox" disabled="{{true}}" style="background-color:#dedcdc;"></textarea> |
| | | <textarea bindinput="Dispost_Question" class="textbox"></textarea> |
| | | </view> |
| | | |
| | | <!-- 上报问题 --> |
| | |
| | | </view> |
| | | <textarea bindinput="shangbao" class="textbox" value="{{shangbao}}" placeholder="请输入上报问题内容..."></textarea> |
| | | </view> |
| | | |
| | | <!-- 问题标签 --> |
| | | <!--安全问题--> |
| | | <view> |
| | | <view class="title"> |
| | | <image class="primg" src="/images/ProRep/uptext.png"></image> |
| | | <image class="primg" src="/images/ProRep/youke.png"></image> |
| | | <view>问题标签</view> |
| | | <view>{{Reported_Remark}}</view> |
| | | </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 name="安全问题" value="安全问题">安全问题</checkbox> |
| | | </checkbox-group> |
| | | <picker bindchange="choseRemark" value="{{Reported_Remark}}" range="{{Reported_RemarkList}}" default-index="{{ 1 }}"> |
| | | <view class="chose">{{Reported_RemarkList[Reported_Remark]}}</view> |
| | | </picker> |
| | | </view> |
| | | |
| | | <!-- --> |
| | |
| | | <text>派单</text> |
| | | </view> |
| | | </view> |
| | | <view wx:if="{{ role == 3 }}" class="libtn"> |
| | | <view wx:if="{{ role == 3 && item.ShowExchangeSend}}" class="libtn"> |
| | | <!-- 转发中枢 --> |
| | | <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 wx:if="{{ role == 13 && item.ShowExchangeBack }}" class="libtn"> |
| | | <!-- 中枢退回 --> |
| | | <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"/> |
| | |
| | | // |
| | | dis: true, |
| | | // |
| | | // 问题标签 |
| | | Reported_Remark: 1,//安全问题 |
| | | Reported_RemarkList:['安全问题','非安全问题'], |
| | | Dispost_Question: '',//审核派单意见 |
| | | shangbao: '', |
| | | beizhu: '', |
| | |
| | | // 归属游客中心 |
| | | youkecenter: [], |
| | | youkeindex: '', |
| | | // 问题标签 |
| | | Reported_Remark: true |
| | | |
| | | }, |
| | | |
| | | /** |
| | |
| | | }, |
| | | // 提交 |
| | | Yes() { |
| | | console.log(22222, this.data.Reported_Remark); |
| | | var data = { |
| | | _Reported_User: wx.getStorageSync('user').pk_User, |
| | | _fk_Management: this.data.firstallArr[this.data.index1] ? this.data.firstallArr[this.data.index1].pk_Management : '', |
| | |
| | | _Reported_Question: this.data.shangbao, |
| | | Dispost_Question: this.data.Dispost_Question,//审核派单意见 |
| | | _Reported_Address: this.data.detailedaddress, |
| | | _Reported_Remark: this.data.Reported_Remark.length > 0 ? '安全问题' : '', |
| | | beizhu: this.data.Reported_Remark ? this.data.beizhu : '', |
| | | _Reported_Remark: this.data.Reported_Remark === 0 ? '安全问题' : '', |
| | | beizhu: this.data.Reported_Remark === 0 ? 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 : '', |
| | |
| | | </view> |
| | | <textarea bindinput="shangbao" class="textbox" placeholder="请输入上报问题内容..."></textarea> |
| | | </view> |
| | | <!-- 问题标签 --> |
| | | <!--安全问题--> |
| | | <view> |
| | | <view class="title"> |
| | | <image class="primg" src="/images/ProRep/uptext.png"></image> |
| | | <image class="primg" src="/images/ProRep/youke.png"></image> |
| | | <view>问题标签</view> |
| | | </view> |
| | | <checkbox value="Reported_Remark" class="checkbox" bind:change="choseRemark">安全问题</checkbox> |
| | | <picker bindchange="choseRemark" value="{{Reported_Remark}}" range="{{Reported_RemarkList}}" default-index="{{ 1 }}"> |
| | | <view class="chose">{{Reported_RemarkList[Reported_Remark]}}</view> |
| | | </picker> |
| | | </view> |
| | | |
| | | <!-- 录入备注 --> |
| | |
| | | { |
| | | "description": "项目配置文件", |
| | | "description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", |
| | | "packOptions": { |
| | | "ignore": [] |
| | | "ignore": [], |
| | | "include": [] |
| | | }, |
| | | "setting": { |
| | | "urlCheck": false, |
| | |
| | | "userConfirmedBundleSwitch": false, |
| | | "packNpmManually": false, |
| | | "packNpmRelationList": [], |
| | | "minifyWXSS": true |
| | | "minifyWXSS": true, |
| | | "lazyloadPlaceholderEnable": false, |
| | | "useStaticServer": true, |
| | | "showES6CompileOption": false, |
| | | "disableUseStrict": false, |
| | | "useCompilerPlugins": false |
| | | }, |
| | | "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": [] |
| | | } |
| | | "condition": {}, |
| | | "editorSetting": { |
| | | "tabIndent": "insertSpaces", |
| | | "tabSize": 2 |
| | | } |
| | | } |
| New file |
| | |
| | | { |
| | | "projectname": "GoldenChicken", |
| | | "setting": { |
| | | "compileHotReLoad": true |
| | | }, |
| | | "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html" |
| | | } |