选煤厂安全管理系统前端代码
houzhongjian
2024-11-25 37b2044f04a09e89f82f8484279b5f06b7194481
1
import{d as s}from"./formatTime-DG99nHw2.js";import{J as i,A as l,N as a}from"./index-CHTXMeh8.js";import{r as e}from"./formRules-KRws1Ke5.js";import{u as o}from"./useCrudSchemas-8uncdcXs.js";const{t:r}=i(),t=l({mail:[{required:!0,message:r("profile.rules.mail"),trigger:"blur"},{type:"email",message:r("profile.rules.truemail"),trigger:["blur","change"]}],username:[e],password:[e],host:[e],port:[e],sslEnable:[e],starttlsEnable:[e]}),m=l([{label:"\u90AE\u7BB1",field:"mail",isSearch:!0},{label:"\u7528\u6237\u540D",field:"username",isSearch:!0},{label:"\u5BC6\u7801",field:"password",isTable:!1},{label:"SMTP \u670D\u52A1\u5668\u57DF\u540D",field:"host"},{label:"SMTP \u670D\u52A1\u5668\u7AEF\u53E3",field:"port",form:{component:"InputNumber",value:465}},{label:"\u662F\u5426\u5F00\u542F SSL",field:"sslEnable",dictType:a.INFRA_BOOLEAN_STRING,dictClass:"boolean",form:{component:"Radio"}},{label:"\u662F\u5426\u5F00\u542F STARTTLS",field:"starttlsEnable",dictType:a.INFRA_BOOLEAN_STRING,dictClass:"boolean",form:{component:"Radio"}},{label:"\u521B\u5EFA\u65F6\u95F4",field:"createTime",isForm:!1,formatter:s,detail:{dateFormat:"YYYY-MM-DD HH:mm:ss"}},{label:"\u64CD\u4F5C",field:"action",isForm:!1,isDetail:!1}]),{allSchemas:d}=o(m);export{d as a,t as r};