验证码调整

This commit is contained in:
MaxKey
2022-07-21 16:03:38 +08:00
parent 9a55b6b8d5
commit 3892b05718
11 changed files with 30 additions and 45 deletions

View File

@@ -28,7 +28,6 @@ export class Institutions extends BaseEntity {
consoleTitle!: String;
consoleDomain!: String;
domain!: String;
captchaType!: String;
captchaSupport!: String;
captcha!: String;
defaultUri!: String;
}

View File

@@ -64,26 +64,16 @@
name="consoleTitle" id="consoleTitle" />
</nz-form-control>
</nz-form-item>
<nz-form-item>
<nz-form-label [nzMd]="6" nzFor="captchaSupport">{{ 'mxk.institutions.captchaSupport' | i18n }}</nz-form-label>
<nz-form-control [nzMd]="18" nzErrorTip="The input is not valid captchaSupport!">
<nz-radio-group [(ngModel)]="form.model.captchaSupport" [ngModelOptions]="{ standalone: true }"
nzButtonStyle="solid">
<label nz-radio-button nzValue="YES">{{ 'mxk.text.yes' | i18n }}</label>
<label nz-radio-button nzValue="NO">{{ 'mxk.text.no' | i18n }}</label>
</nz-radio-group>
</nz-form-control>
</nz-form-item>
<nz-form-item>
<nz-form-label [nzMd]="6" nzFor="captchaType">{{ 'mxk.institutions.captchaType' | i18n }}</nz-form-label>
<nz-form-control [nzMd]="18" nzErrorTip="The input is not valid captchaType!">
<nz-select [(ngModel)]="form.model.captchaType" [ngModelOptions]="{ standalone: true }">
<nz-select [(ngModel)]="form.model.captcha" [ngModelOptions]="{ standalone: true }">
<nz-option nzValue="NONE" nzLabel="{{ 'mxk.institutions.captchaType.none' | i18n }}"></nz-option>
<nz-option nzValue="TEXT" nzLabel="{{ 'mxk.institutions.captchaType.text' | i18n }}"></nz-option>
<nz-option nzValue="ARITHMETIC" nzLabel="{{ 'mxk.institutions.captchaType.arithmetic' | i18n }}"></nz-option>
</nz-select>
</nz-form-control>
</nz-form-item>
<nz-form-item>
<nz-form-label [nzMd]="6" nzFor="contact">{{ 'mxk.institutions.contact' | i18n }}</nz-form-label>
<nz-form-control [nzMd]="18" nzErrorTip="The input is not valid contact!">

View File

@@ -43,6 +43,7 @@
<nz-option nzValue="company" nzLabel="{{ 'mxk.organizations.type.company' | i18n }}"></nz-option>
<nz-option nzValue="division" nzLabel="{{ 'mxk.organizations.type.division' | i18n }}"></nz-option>
<nz-option nzValue="department" nzLabel="{{ 'mxk.organizations.type.department' | i18n }}"></nz-option>
<nz-option nzValue="team" nzLabel="{{ 'mxk.organizations.type.team' | i18n }}"></nz-option>
<nz-option nzValue="entity" nzLabel="{{ 'mxk.organizations.type.entity' | i18n }}"></nz-option>
<nz-option nzValue="virtual" nzLabel="{{ 'mxk.organizations.type.virtual' | i18n }}"></nz-option>
</nz-select>

View File

@@ -193,6 +193,7 @@
"type.company": "Company",
"type.division": "Division",
"type.department": "Department",
"type.team": "Team",
"type.entity": "Entity",
"type.virtual": "Virtual",
"codePath": "Code Path",
@@ -502,6 +503,7 @@
"consoleTitle": "Console Title",
"consoleDomain": "Console Domain",
"captchaType": "Captcha Type",
"captchaType.none": "None",
"captchaType.text": "Text",
"captchaType.arithmetic": "Arithmetic",
"captchaSupport": "Captcha Support",

View File

@@ -194,6 +194,7 @@
"type.company": "公司",
"type.division": "分支机构",
"type.department": "部门",
"type.team": "组",
"type.entity": "实体",
"type.virtual": "虚拟",
"codePath": "编码路径",
@@ -500,6 +501,7 @@
"consoleDomain": "控制台域名",
"consoleTitle": "控制台名称",
"captchaType": "验证码",
"captchaType.none": "无",
"captchaType.text": "字符",
"captchaType.arithmetic": "算术",
"captchaSupport": "验证码支持",

View File

@@ -195,6 +195,7 @@
"type.company": "公司",
"type.division": "分支機搆",
"type.department": "部門",
"type.team": "組",
"type.entity": "實體",
"type.virtual": "虛擬",
"codePath": "編碼路徑",
@@ -501,6 +502,7 @@
"consoleDomain": "控制台域名",
"consoleTitle": "控制台名稱",
"captchaType": "驗證碼",
"captchaType.none": "無",
"captchaType.text": "字符",
"captchaType.arithmetic": "算術",
"captchaSupport": "驗證碼支持",