From 156bf67c1ccdda08940ffabc574cf873f3d09f41 Mon Sep 17 00:00:00 2001 From: nineven Date: Tue, 19 Apr 2022 15:18:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_client/src/components/apps/FirApps.vue | 23 ++++++++--- .../src/components/user/FirSuperSignBase.vue | 24 ++++++++++- fir_ser/api/utils/serializer.py | 2 +- fir_ser/api/views/apps.py | 15 +++---- fir_ser/xsign/migrations/0001_initial.py | 1 + fir_ser/xsign/models.py | 1 + fir_ser/xsign/tasks.py | 11 +++-- fir_ser/xsign/utils/supersignutils.py | 40 +++++++++---------- fir_ser/xsign/views/supersign.py | 15 +++++-- 9 files changed, 88 insertions(+), 44 deletions(-) diff --git a/fir_client/src/components/apps/FirApps.vue b/fir_client/src/components/apps/FirApps.vue index 7f1ffca..7ba3463 100644 --- a/fir_client/src/components/apps/FirApps.vue +++ b/fir_client/src/components/apps/FirApps.vue @@ -491,12 +491,13 @@
- - + {{ r.count_hits }} + -
-
+
+
+
@@ -1035,7 +1036,7 @@ export default { if (this.searchfromtype) { this.getappsFun({"type": this.searchfromtype, 'page': 1, size: 999}); } else { - this.getappsFun({'page': 1, size: 999}); + this.getappsFun({'page': 1, size: 999, 'search': keysearch}); } } }, @@ -1062,7 +1063,7 @@ export default { let keysearch = this.keysearch.replace(/^\s+|\s+$/g, ""); let newapplists = []; for (let i = 0; i < this.orgapplists.length; i++) { - if (this.orgapplists[i].name.search(keysearch) >= 0) { + if (this.orgapplists[i].name.search(keysearch) >= 0 || this.orgapplists[i].short.search(keysearch) >= 0) { newapplists.push(this.orgapplists[i]); } } @@ -1365,6 +1366,16 @@ export default { } +.page-apps .card.app .down-icon { + position: absolute; + top: 9px; + left: 7px; + z-index: 2; + /*color: #1f72ee;*/ + color: #B6BDC1; + +} + .page-apps .card.app .type-mark { position: absolute; top: 0; diff --git a/fir_client/src/components/user/FirSuperSignBase.vue b/fir_client/src/components/user/FirSuperSignBase.vue index 944162f..5b18e77 100644 --- a/fir_client/src/components/user/FirSuperSignBase.vue +++ b/fir_client/src/components/user/FirSuperSignBase.vue @@ -135,6 +135,16 @@ 开启之后,每天凌晨自动检测该开发者和设备使用状态,默认关闭 + + + + 开启之后,当开发者出现设备异常状态时,新设备还是可以继续注册,默认开启 + @@ -732,7 +742,17 @@ - + + + + width="145">