forked from nsjcy/frontEnd/nsjcy

xuxj
2020-05-09 d7004986135c0885c1b9a92fb48919179732c00d
SunshineLnsMinApp/pages/progressQuery/progressQuery.js
@@ -140,8 +140,25 @@
      }
      const {
        evalList1001,
        evalList1002,
        evalList1003,
        evalList1004,
        evalList1014
      } = this.data.evalList;
      if (caseQuery.relation == 1 || caseQuery.relation == 2) {
        if (evalList1002.length == 0) {
          return app.showModal("请上传律师证!");
        }
        if (evalList1003.length == 0) {
          return app.showModal("请上传律师所函!");
        }
        if (evalList1004.length == 0) {
          return app.showModal("请上传授权委托书(或法律援助公函)!");
        }
      }
      if (caseQuery.relation == 3){
      if (evalList1001.length == 0) {
        return app.showModal("请上传申请人身份证正反面!");
      }
@@ -152,6 +169,7 @@
        return app.showModal("请上传关系证明!");
      }
    }
    }
    var that = this;
    wx.request({
      url: app.globalData.url + '/api/caseQuery/save',