批量审核
This commit is contained in:
@ -1,16 +1,19 @@
|
||||
<!--
|
||||
* @Author: your name
|
||||
* @Date: 2022-01-10 19:33:37
|
||||
* @LastEditTime: 2022-01-10 19:56:52
|
||||
* @LastEditors: your name
|
||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
* @FilePath: \tms-obc-web\src\app\routes\passport\components\login\login.component.html
|
||||
* @Description :
|
||||
* @Version : 1.0
|
||||
* @Author : Shiming
|
||||
* @Date : 2022-01-10 19:33:37
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-01-18 17:24:43
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\passport\\components\\login\\login.component.html
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
-->
|
||||
|
||||
<div class="body-box">
|
||||
<div></div>
|
||||
<div>
|
||||
<div class="box-content d-flex">
|
||||
<img src="./assets/images/user/login-image.png" class="login-logo" alt="">
|
||||
<img src="./assets/images/user/login-image.png" class="login-logo" alt="" />
|
||||
<div class="login-box">
|
||||
<div class="login-box-content">
|
||||
<nz-tabset (nzSelectChange)="switch($event)">
|
||||
@ -18,24 +21,57 @@
|
||||
<sf #accountSF [layout]="'vertical'" [schema]="accountSchema" [ui]="accountUI" [button]="'none'">
|
||||
<ng-template sf-template="username" let-i let-ui="ui" let-schema="schema">
|
||||
<nz-input-group [nzSuffix]="inputClearTpl">
|
||||
<input type="text" nz-input [ngModel]="i.value" (ngModelChange)="i.setValue($event)"
|
||||
(keyup.enter)="submit()" placeholder="请输入手机号" />
|
||||
<input
|
||||
type="text"
|
||||
nz-input
|
||||
[ngModel]="i.value"
|
||||
(ngModelChange)="i.setValue($event)"
|
||||
(keyup.enter)="submit()"
|
||||
placeholder="请输入手机号"
|
||||
/>
|
||||
</nz-input-group>
|
||||
<ng-template #inputClearTpl>
|
||||
<i nz-icon class="ant-input-clear-icon" nzTheme="fill" nzType="close-circle" *ngIf="i.value"
|
||||
style="font-size: 16px;" (click)="i.setValue(null)"></i>
|
||||
<i
|
||||
nz-icon
|
||||
class="ant-input-clear-icon"
|
||||
nzTheme="fill"
|
||||
nzType="close-circle"
|
||||
*ngIf="i.value"
|
||||
style="font-size: 16px"
|
||||
(click)="i.setValue(null)"
|
||||
></i>
|
||||
</ng-template>
|
||||
</ng-template>
|
||||
<ng-template sf-template="password" let-i let-ui="ui" let-schema="schema">
|
||||
<nz-input-group [nzSuffix]="inputClearTpl">
|
||||
<input [type]="isPasswordType?'password':'text'" nz-input [ngModel]="i.value"
|
||||
(ngModelChange)="i.setValue($event)" placeholder="请输入密码" (keyup.enter)="submit()" />
|
||||
<input
|
||||
[type]="isPasswordType ? 'password' : 'text'"
|
||||
nz-input
|
||||
[ngModel]="i.value"
|
||||
(ngModelChange)="i.setValue($event)"
|
||||
placeholder="请输入密码"
|
||||
(keyup.enter)="submit()"
|
||||
/>
|
||||
</nz-input-group>
|
||||
<ng-template #inputClearTpl>
|
||||
<i *ngIf="i.value && isPasswordType" nz-icon class="ant-input-clear-icon" style="font-size: 18px;"
|
||||
nzType="eye" nzTheme="fill" (click)="isPasswordType=false"></i>
|
||||
<i *ngIf="i.value && !isPasswordType" nz-icon class="ant-input-clear-icon" style="font-size: 18px;"
|
||||
nzType="eye-invisible" nzTheme="fill" (click)="isPasswordType=true"></i>
|
||||
<i
|
||||
*ngIf="i.value && isPasswordType"
|
||||
nz-icon
|
||||
class="ant-input-clear-icon"
|
||||
style="font-size: 18px"
|
||||
nzType="eye"
|
||||
nzTheme="fill"
|
||||
(click)="isPasswordType = false"
|
||||
></i>
|
||||
<i
|
||||
*ngIf="i.value && !isPasswordType"
|
||||
nz-icon
|
||||
class="ant-input-clear-icon"
|
||||
style="font-size: 18px"
|
||||
nzType="eye-invisible"
|
||||
nzTheme="fill"
|
||||
(click)="isPasswordType = true"
|
||||
></i>
|
||||
</ng-template>
|
||||
</ng-template>
|
||||
</sf>
|
||||
@ -44,26 +80,57 @@
|
||||
<sf #captchaSF [layout]="'vertical'" [schema]="captchaSchema" [ui]="captchaUI" [button]="'none'">
|
||||
<ng-template sf-template="phone" let-i let-ui="ui" let-schema="schema">
|
||||
<nz-input-group [nzSuffix]="inputClearTpl">
|
||||
<input type="text" nz-input [ngModel]="i.value" (ngModelChange)="i.setValue($event)"
|
||||
(keyup.enter)="submit()" placeholder="请输入手机号" />
|
||||
<input
|
||||
type="text"
|
||||
nz-input
|
||||
[ngModel]="i.value"
|
||||
(ngModelChange)="i.setValue($event)"
|
||||
(keyup.enter)="submit()"
|
||||
placeholder="请输入手机号"
|
||||
/>
|
||||
</nz-input-group>
|
||||
<ng-template #inputClearTpl>
|
||||
<i nz-icon class="ant-input-clear-icon" nzTheme="fill" nzType="close-circle" *ngIf="i.value"
|
||||
style="font-size: 16px;" (click)="i.setValue(null)"></i>
|
||||
<i
|
||||
nz-icon
|
||||
class="ant-input-clear-icon"
|
||||
nzTheme="fill"
|
||||
nzType="close-circle"
|
||||
*ngIf="i.value"
|
||||
style="font-size: 16px"
|
||||
(click)="i.setValue(null)"
|
||||
></i>
|
||||
</ng-template>
|
||||
</ng-template>
|
||||
<ng-template sf-template="smsCode" let-me let-ui="ui" let-schema="schema">
|
||||
<nz-input-group nzSearch [nzSuffix]="suffixTemplateInfo">
|
||||
<input nz-input type="text" [maxLength]="6" placeholder="验证码" [attr.id]="me.id" [disabled]="me.disabled"
|
||||
[attr.disabled]="me.disabled" [nzSize]="ui.size" [ngModel]="me.formProperty.value"
|
||||
(ngModelChange)="me.setValue($event)" (keyup.enter)="submit()" />
|
||||
<input
|
||||
nz-input
|
||||
type="text"
|
||||
[maxLength]="6"
|
||||
placeholder="验证码"
|
||||
[attr.id]="me.id"
|
||||
[disabled]="me.disabled"
|
||||
[attr.disabled]="me.disabled"
|
||||
[nzSize]="ui.size"
|
||||
[ngModel]="me.formProperty.value"
|
||||
(ngModelChange)="me.setValue($event)"
|
||||
(keyup.enter)="submit()"
|
||||
/>
|
||||
</nz-input-group>
|
||||
</ng-template>
|
||||
</sf>
|
||||
</nz-tab>
|
||||
</nz-tabset>
|
||||
<button nz-button type="button" nzType="primary" nzSize="large" (click)="submit()"
|
||||
[nzLoading]="userSrv?.http?.loading" nzBlock class="mt-md">
|
||||
<button
|
||||
nz-button
|
||||
type="button"
|
||||
nzType="primary"
|
||||
nzSize="large"
|
||||
(click)="submit()"
|
||||
[nzLoading]="userSrv?.http?.loading"
|
||||
nzBlock
|
||||
class="mt-md"
|
||||
>
|
||||
登录
|
||||
</button>
|
||||
<p class="forgetPwd mt-xl" routerLink="/passport/retrieve-password">忘记密码</p>
|
||||
@ -83,7 +150,7 @@
|
||||
|
||||
<ng-template #suffixTemplateInfo>
|
||||
<ng-container *ngIf="count < 1; else intervalTemplate">
|
||||
<span class="msg-btn" style="color: #26282A; cursor: pointer;font-size: 14px;" (click)="getCaptcha()">获取验证码</span>
|
||||
<span class="msg-btn" style="color: #26282a; cursor: pointer; font-size: 14px" (click)="getCaptcha()">获取验证码</span>
|
||||
</ng-container>
|
||||
<ng-template #intervalTemplate> 请等待{{ count }}s </ng-template>
|
||||
</ng-template>
|
||||
</ng-template>
|
||||
|
||||
@ -1,16 +1,15 @@
|
||||
/*
|
||||
* @Author: your name
|
||||
* @Date: 2021-12-27 21:08:36
|
||||
* @LastEditTime: 2022-01-10 17:36:25
|
||||
* @LastEditors: your name
|
||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
* @FilePath: \tms-obc-web\src\app\routes\passport\services\passport.service.ts
|
||||
* @Description :
|
||||
* @Version : 1.0
|
||||
* @Author : Shiming
|
||||
* @Date : 2021-12-27 21:08:36
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-01-18 17:24:52
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\passport\\services\\passport.service.ts
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
*/
|
||||
import { Injectable, Injector } from '@angular/core';
|
||||
import { _HttpClient } from '@delon/theme';
|
||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
||||
import { BaseService } from 'src/app/shared/services/core/base.service';
|
||||
import { EAFileUtil } from 'src/app/shared/utils/file.util';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
|
||||
Reference in New Issue
Block a user