mahuan@syspetro.com
2022-05-19 95441c75615bd30ff473b27c9f57c561fd37fff3
最新代码存档
6个文件已修改
70 ■■■■ 已修改文件
GoldC/pages/aditReport/adit.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
GoldC/pages/paiDan/paiDan.js 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
GoldC/pages/paiDan/paiDan.wxml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
GoldC/pages/problemList/problemList.js 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
GoldC/pages/problemList/problemList.wxml 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
GoldC/pages/problemReport/proRep.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
GoldC/pages/aditReport/adit.js
@@ -297,7 +297,7 @@
            _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 : '',
GoldC/pages/paiDan/paiDan.js
@@ -22,7 +22,7 @@
        //
        dis: true,
        //
        Reported_Remark: [],//安全问题
        Reported_Remark: ['安全问题'],//安全问题
        Dispost_Question: '',//派单审核意见
        shangbao: '',
        beizhu: '',
@@ -60,7 +60,14 @@
            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) {
@@ -297,7 +304,7 @@
            _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,
GoldC/pages/paiDan/paiDan.wxml
@@ -69,8 +69,8 @@
    </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>
GoldC/pages/problemList/problemList.js
@@ -267,6 +267,48 @@
      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)
GoldC/pages/problemList/problemList.wxml
@@ -78,16 +78,16 @@
                            <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>
GoldC/pages/problemReport/proRep.js
@@ -290,7 +290,8 @@
            _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 : '',