فهرست منبع

fix(mp): show all school violation records

apple 3 هفته پیش
والد
کامیت
8898e7afc5
1فایلهای تغییر یافته به همراه17 افزوده شده و 1 حذف شده
  1. 17 1
      web/page/mp/mp_objList.html

+ 17 - 1
web/page/mp/mp_objList.html

@@ -1225,8 +1225,24 @@
               );
             },
 
+            isSchoolViolationService(serviceName) {
+              const candidateList = [
+                serviceName,
+                this.service,
+                this.pageParams?.service,
+                this.pageParams?.ssServ,
+                this.ssSearchPobjHomeServName,
+                this.ssSearchPobjListServName,
+              ];
+
+              return candidateList.some((candidate) =>
+                /^xxwjjl(?:_|$)/.test(String(candidate || "").trim())
+              );
+            },
+
             resolveListManagementValue(serviceName) {
-              return this.isBzrXyService(serviceName || this.service)
+              return this.isBzrXyService(serviceName || this.service) ||
+                this.isSchoolViolationService(serviceName || this.service)
                 ? "99"
                 : "1";
             },