From 668a0bc20eec7985cb73a69f70fe659e995e601e Mon Sep 17 00:00:00 2001 From: Sipachev Igor Date: Tue, 5 Apr 2022 14:03:42 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=BE=D0=B8=D0=BD=D1=82=D0=B5?= =?UTF-8?q?=D0=B3=D1=80=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BB=20=D1=81=D0=BA?= =?UTF-8?q?=D0=BE=D1=80=D0=B8=D0=BD=D0=B3=20=D0=94=D0=BE=D0=B1=D0=B0=D0=B2?= =?UTF-8?q?=D0=B8=D0=BB=20=D0=BD=D0=B5=20=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=B8=D0=B5=20=D1=83=D0=BB=D1=83=D1=87=D1=88=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F=20=D0=B8=D0=BD=D1=82=D0=B5=D1=80=D1=84=D0=B5=D0=B9=D1=81?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- popup/src/classes/DTO/Registers.ts | 10 ++++++++++ popup/src/components/mocks/script.ts | 2 ++ popup/src/components/mocks/style.scss | 4 ++++ popup/src/components/mocks/template.html | 23 +++++++++++++++++++---- 4 files changed, 35 insertions(+), 4 deletions(-) diff --git a/popup/src/classes/DTO/Registers.ts b/popup/src/classes/DTO/Registers.ts index 82fe35b..a947843 100644 --- a/popup/src/classes/DTO/Registers.ts +++ b/popup/src/classes/DTO/Registers.ts @@ -1,5 +1,15 @@ export class Registers { xtee_mta = '' ria = '' + scoring = '' xtee_pension = '' + + reset () { + // eslint-disable-next-line @typescript-eslint/camelcase + this.xtee_mta = '' + this.ria = '' + this.scoring = '' + // eslint-disable-next-line @typescript-eslint/camelcase + this.xtee_pension = '' + } } diff --git a/popup/src/components/mocks/script.ts b/popup/src/components/mocks/script.ts index de4c76c..eb849b2 100644 --- a/popup/src/components/mocks/script.ts +++ b/popup/src/components/mocks/script.ts @@ -29,6 +29,8 @@ export default class Mocks extends Vue { @Watch('personalCode', { immediate: true }) onPersonalCodeChanged () { + this.registers.reset() + this.showLoader = false this.refreshMocks() } diff --git a/popup/src/components/mocks/style.scss b/popup/src/components/mocks/style.scss index 34e3a81..1388aa4 100644 --- a/popup/src/components/mocks/style.scss +++ b/popup/src/components/mocks/style.scss @@ -2,6 +2,10 @@ width: 350px; } +.mock-service__select { + margin-bottom: 5px; +} + .lds-grid { display: inline-block; position: relative; diff --git a/popup/src/components/mocks/template.html b/popup/src/components/mocks/template.html index 917c43e..310e8c7 100644 --- a/popup/src/components/mocks/template.html +++ b/popup/src/components/mocks/template.html @@ -1,8 +1,8 @@
-
-
XTEE MTA
+
+
MTA
-
-
XTEE RIA
+
+
Ria
+
+
Scoring
+
+ +
+