From d7004986135c0885c1b9a92fb48919179732c00d Mon Sep 17 00:00:00 2001 From: xuxj <hugeinfo123> Date: Sat, 09 May 2020 09:20:13 +0800 Subject: [PATCH] BUG修改 --- SunshineLnsMinApp/pages/progressQuery/progressQuery.js | 32 +++++++++++++++++++++++++------- 1 files changed, 25 insertions(+), 7 deletions(-) diff --git a/SunshineLnsMinApp/pages/progressQuery/progressQuery.js b/SunshineLnsMinApp/pages/progressQuery/progressQuery.js index 8879344..bf6fc8e 100644 --- a/SunshineLnsMinApp/pages/progressQuery/progressQuery.js +++ b/SunshineLnsMinApp/pages/progressQuery/progressQuery.js @@ -140,16 +140,34 @@ } const { evalList1001, + evalList1002, + evalList1003, + evalList1004, evalList1014 } = this.data.evalList; - if (evalList1001.length == 0) { - return app.showModal("请上传申请人身份证正反面!"); + + 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 (evalList1001.length < 2) { - return app.showModal("请至少上传两张身份证附件!") - } - if (evalList1014.length == 0) { - return app.showModal("请上传关系证明!"); + + if (caseQuery.relation == 3){ + if (evalList1001.length == 0) { + return app.showModal("请上传申请人身份证正反面!"); + } + if (evalList1001.length < 2) { + return app.showModal("请至少上传两张身份证附件!") + } + if (evalList1014.length == 0) { + return app.showModal("请上传关系证明!"); + } } } var that = this; -- Gitblit v1.8.0