Добавил d скоринг

master
Sipachev Igor 3 years ago
parent a254fc7b7d
commit a6bdaac2ef
  1. 3
      popup/src/classes/DTO/Registers.ts
  2. 15
      popup/src/components/mocks/template.html

@ -2,6 +2,7 @@ export class Registers {
xtee_mta = '' xtee_mta = ''
ria = '' ria = ''
scoring = '' scoring = ''
scoring_d = ''
xtee_pension = '' xtee_pension = ''
reset () { reset () {
@ -10,6 +11,8 @@ export class Registers {
this.ria = '' this.ria = ''
this.scoring = '' this.scoring = ''
// eslint-disable-next-line @typescript-eslint/camelcase // eslint-disable-next-line @typescript-eslint/camelcase
this.scoring_d = ''
// eslint-disable-next-line @typescript-eslint/camelcase
this.xtee_pension = '' this.xtee_pension = ''
} }
} }

@ -46,6 +46,21 @@
</select> </select>
</div> </div>
</div> </div>
<div class="mock-service__select">
<div>Scoring D</div>
<div>
<select class="option-select" v-model="registers.scoring_d" @change="onServiceChanged('scoring_d')">
<option value="-1">-</option>
<option value="0">Не замокано</option>
<option value="1">A</option>
<option value="2">B</option>
<option value="3">C</option>
<option value="4">D</option>
<option value="5">E</option>
<option value="6">F</option>
</select>
</div>
</div>
<br /> <br />
<button v-if="'add' === mode" @click="saveMocks">Сохранить моки</button> <button v-if="'add' === mode" @click="saveMocks">Сохранить моки</button>
</div> </div>

Loading…
Cancel
Save