From 2fdc3dc444a2f8199866780205c0fa4b5ac40522 Mon Sep 17 00:00:00 2001
From: liuwh <hugeinfo123>
Date: Fri, 29 May 2020 10:38:46 +0800
Subject: [PATCH] 指纹登记与对比
---
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