吕天方 3 weeks ago
commit 79c919a6f9

@ -44,9 +44,9 @@
required: true,
pattern: /^[a-zA-Z0-9]{18}$/,
message: '请输入正确格式的18位统一社会信用代码',
trigger: 'change'
trigger: 'blur'
},
{ required: true, message: '统一社会信用代码不能为空', trigger: 'change'},
]" label="统一社会信用代码" required>
<el-input v-model="ruleForm.tyshxydm" placeholder="请输入统一信用代码"></el-input>

@ -18,7 +18,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="平台类型" prop="ptlx">
<el-select v-model="ruleForm.ptlx" placeholder="请选择平台类型" >
<el-select v-model="ruleForm.ptlx" placeholder="请选择平台类型" disabled>
<el-option v-for="dict in dict.type.sys_ptlx_type" :key="dict.value" :label="dict.label"
:value="dict.value" />
</el-select>
@ -203,6 +203,107 @@
</el-col>
</el-row>
</div>
<div v-else>
<el-row>
<el-col :span="12">
<el-form-item prop="tyshxydm" class="daoqitixingren" label="统一社会信用代码" required>
<el-input v-model="ruleForm.tyshxydm" placeholder="请输入统一信用代码"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="账号名称" prop="gzhmc" :rules="[
{ required: true, message: '账号名称不能为空', trigger: 'blur' }
]">
<el-input v-model="ruleForm.gzhmc" placeholder="请输入账号名称" disabled></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="账号ID" required prop="gzhId" :rules="[
{ required: true, message: '账号ID不能为空', trigger: 'blur' }
]">
<el-input v-model="ruleForm.gzhId" style="width: 100%;" placeholder="请输入账号ID"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="账号状态" required prop="gzhzt" :rules="[
{ required: true, message: '账号状态不能为空', trigger: 'blur' }
]">
<el-select v-model="ruleForm.gzhzt" placeholder="请选择账号状态">
<el-option v-for="dict in dict.type.gzh_state" :key="dict.value" :label="dict.label"
:value="dict.value" />
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="开办主体" required prop="rzzt" :rules="[
{ required: true, message: '开办主体不能为空', trigger: 'blur' }
]">
<el-input v-model="ruleForm.rzzt" style="width: 100%;" placeholder="请输入开办主体"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="粉丝数" required prop="fss" :rules="[
{ required: true, message: '粉丝数不能为空', trigger: 'blur' }
]">
<el-input v-model="ruleForm.fss" type="number" style="width: 100%;" placeholder="请输入粉丝数"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="重点行业" required prop="zdhy">
<el-select v-model="ruleForm.zdhy" placeholder="请选择重点行业">
<el-option v-for="dict in dict.type.app_zdhy" :key="dict.value" :label="dict.label"
:value="dict.value" />
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="所属行业" required prop="sshy">
<el-select v-model="ruleForm.sshy" placeholder="请选择所属行业">
<el-option v-for="dict in dict.type.app_sshy" :key="dict.value" :label="dict.label"
:value="dict.value" />
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="系统责任人" required prop="xtzrr">
<el-input v-model="ruleForm.xtzrr" style="width: 100%;" placeholder="请输入系统责任人"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item prop="xtzrrdh" label="系统责任人电话" required >
<el-input v-model="ruleForm.xtzrrdh" style="width: 100%;" placeholder="请输入系统责任人电话"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="系统责任人邮箱" required prop="xtzrryx" >
<el-input v-model="ruleForm.xtzrryx" style="width: 100%;" placeholder="请输入系统责任人邮箱"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="系统责任人地址" required prop="xtzrrdz">
<el-input v-model="ruleForm.xtzrrdz" style="width: 100%;" placeholder="请输入系统责任人地址"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<el-form-item label="系统简介" required prop="xtjj">
<el-input type="textarea" resize="none" placeholder="请输入系统简介" :rows="5"
v-model="ruleForm.xtjj"></el-input>
</el-form-item>
</el-col>
</el-row>
</div>
<el-row v-if="ruleForm.bfyy">
<el-col :span="24">
<el-form-item label="关停原因">
@ -260,7 +361,7 @@ export default {
],
tyshxydm: [
{ required: true, message: "统一社会信用代码不能为空", trigger: "change" },
{ pattern: /^[a-zA-Z0-9]{18}$/, message: "请输入正确格式的18位统一社会信用代码", trigger: "change" }
{required: true, pattern: /^[a-zA-Z0-9]{18}$/, message: "请输入正确格式的18位统一社会信用代码", trigger: "blur" }
],
gzhzt: [
{ required: true, message: "公众号状态不能为空", trigger: "change" }
@ -294,11 +395,11 @@ export default {
],
xtzrrdh: [
{ required: true, message: "系统责任人电话不能为空", trigger: "change" },
{ pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, message: "请输入正确的手机号码", trigger: "change" }
{required: true, pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, message: "请输入正确的手机号码", trigger: "blur" }
],
xtzrryx: [
{ required: true, message: "系统责任人邮箱不能为空", trigger: "change" },
{ type: 'email', message: "请输入正确的邮箱地址", trigger: ['change', 'change'] }
{ required: true,type: 'email', message: "请输入正确的邮箱地址", trigger: ['blur', 'change'] }
],
xtzrrdz: [
{ required: true, message: "系统责任人地址不能为空", trigger: "change" }

@ -86,12 +86,14 @@
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="域名到期时间" class="yumingdaoqishijian">
<el-date-picker v-model="ruleForm.ymdqsj" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
placeholder="选择日期">
</el-date-picker>
<el-form-item label="是否自建互联网专线IP" required prop="isZjhlwip" >
<el-select v-model="ruleForm.isZjhlwip" placeholder="请选择是否自建互联网专线IP">
<el-option v-for="dict in dict.type.is_no" :key="dict.value" :label="dict.label"
:value="dict.value" />
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
@ -111,27 +113,13 @@
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="到期提醒人" class="daoqitixingren">
<el-row>
<el-col :span="6">
<el-form-item prop="Ip">
<el-input v-model="ruleForm.ymtxrXm" style="width: 100%;" placeholder="请输入姓名"></el-input>
</el-form-item>
</el-col>
<el-col :span="18" style="margin-left: 10px;">
<el-form-item prop="ymtxrLxfs" :rules="[
{
pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
message: '请输入正确的手机号码',
trigger: 'blur'
}
]">
<el-input v-model="ruleForm.ymtxrLxfs" style="width: 100%;" placeholder="请输入11位移动电话号码"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-form-item label="域名到期时间" class="yumingdaoqishijian">
<el-date-picker v-model="ruleForm.ymdqsj" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
placeholder="选择日期">
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
@ -151,14 +139,29 @@
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="系统类型" required>
<el-select v-model="ruleForm.xtlx" placeholder="请选择系统类型">
<el-option v-for="dict in dict.type.zc_xtlx" :key="dict.value" :label="dict.label"
:value="dict.value" />
</el-select>
<el-form-item label="到期提醒人" class="daoqitixingren">
<el-row>
<el-col :span="6">
<el-form-item prop="Ip">
<el-input v-model="ruleForm.ymtxrXm" style="width: 100%;" placeholder="请输入姓名"></el-input>
</el-form-item>
</el-col>
<el-col :span="18" style="margin-left: 10px;">
<el-form-item prop="ymtxrLxfs" :rules="[
{
pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
message: '请输入正确的手机号码',
trigger: 'blur'
}
]">
<el-input v-model="ruleForm.ymtxrLxfs" style="width: 100%;" placeholder="请输入11位移动电话号码"></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="系统重要性">
@ -168,6 +171,7 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="是否关基系统" required>
<el-select v-model="ruleForm.gjxt" placeholder="请选择是否关基系统">
@ -179,13 +183,14 @@
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="系统标签">
<el-select v-model="ruleForm.xtbq" placeholder="请选择系统标签">
<el-option label="区域一" value="shanghai"></el-option>
<el-option label="区域二" value="beijing"></el-option>
<el-form-item label="系统类型" required>
<el-select v-model="ruleForm.xtlx" placeholder="请选择系统类型">
<el-option v-for="dict in dict.type.zc_xtlx" :key="dict.value" :label="dict.label"
:value="dict.value" />
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="机房信息" required>
<el-input v-model="ruleForm.jfxx" style="width: 100%;" placeholder="请输入机房信息"></el-input>
@ -345,7 +350,7 @@
</el-col>
</el-row>
<!-- v-if="ruleForm.bsypt == 1" -->
<el-row >
<el-row>
<el-col :span="12">
<el-form-item label="云服务商名称" required>
<el-input v-model="ruleForm.yfwsmc" style="width: 100%;" placeholder="请输入云服务商名称"></el-input>
@ -374,14 +379,22 @@
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="DNS" >
<el-form-item label="DNS">
<el-input v-model="ruleForm.dns" style="width: 100%;" placeholder="请输入DNS"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="系统标签">
<el-input v-model="ruleForm.xtbq" style="width: 100%;" placeholder="请输入系统标签"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12" v-if="ruleForm.xtbsfs == 3">
<el-form-item label="托管单位" required>

@ -96,12 +96,16 @@
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="域名到期时间" class="yumingdaoqishijian">
<el-date-picker v-model="ruleForm.ymdqsj" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
placeholder="选择日期">
</el-date-picker>
<el-form-item label="是否自建互联网专线IP" required prop="isZjhlwip" :rules="{
required: true, message: '请输入', trigger: 'blur'
}">
<el-select v-model="ruleForm.isZjhlwip" placeholder="请选择是否自建互联网专线IP">
<el-option v-for="dict in dict.type.is_no" :key="dict.value" :label="dict.label"
:value="dict.value" />
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
@ -121,27 +125,13 @@
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="到期提醒人" class="daoqitixingren">
<el-row>
<el-col :span="6">
<el-form-item prop="Ip">
<el-input v-model="ruleForm.ymtxrXm" style="width: 100%;" placeholder="请输入姓名"></el-input>
</el-form-item>
</el-col>
<el-col :span="18" style="margin-left: 10px;">
<el-form-item prop="ymtxrLxfs" :rules="[
{
pattern: /^1[3-9]\d{9}$|^0\d{2,3}-\d{7,8}$/,
message: '请输入正确的手机号码',
trigger: 'blur'
}
]">
<el-input v-model="ruleForm.ymtxrLxfs" style="width: 100%;" placeholder="请输入11位移动电话号码"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-form-item label="域名到期时间" class="yumingdaoqishijian">
<el-date-picker v-model="ruleForm.ymdqsj" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
placeholder="选择日期">
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
@ -161,15 +151,28 @@
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="系统类型" required prop="xtlx" :rules="{
required: true, message: '请输入', trigger: 'blur'
}">
<el-select v-model="ruleForm.xtlx" placeholder="请选择系统类型">
<el-option v-for="dict in dict.type.zc_xtlx" :key="dict.value" :label="dict.label"
:value="dict.value" />
</el-select>
<el-form-item label="到期提醒人" class="daoqitixingren">
<el-row>
<el-col :span="6">
<el-form-item prop="Ip">
<el-input v-model="ruleForm.ymtxrXm" style="width: 100%;" placeholder="请输入姓名"></el-input>
</el-form-item>
</el-col>
<el-col :span="18" style="margin-left: 10px;">
<el-form-item prop="ymtxrLxfs" :rules="[
{
pattern: /^1[3-9]\d{9}$|^0\d{2,3}-\d{7,8}$/,
message: '请输入正确的手机号码',
trigger: 'blur'
}
]">
<el-input v-model="ruleForm.ymtxrLxfs" style="width: 100%;" placeholder="请输入11位移动电话号码"></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
@ -193,10 +196,12 @@
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="系统标签">
<el-select v-model="ruleForm.xtbq" placeholder="请选择系统标签">
<el-option label="区域一" value="shanghai"></el-option>
<el-option label="区域二" value="beijing"></el-option>
<el-form-item label="系统类型" required prop="xtlx" :rules="{
required: true, message: '请输入', trigger: 'blur'
}">
<el-select v-model="ruleForm.xtlx" placeholder="请选择系统类型">
<el-option v-for="dict in dict.type.zc_xtlx" :key="dict.value" :label="dict.label"
:value="dict.value" />
</el-select>
</el-form-item>
</el-col>
@ -412,13 +417,21 @@
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="DNS" >
<el-form-item label="DNS">
<el-input v-model="ruleForm.dns" style="width: 100%;" placeholder="请输入DNS"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="系统标签">
<el-input v-model="ruleForm.xtbq" style="width: 100%;" placeholder="请输入系统标签"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12" v-if="ruleForm.xtbsfs == 3">
<el-form-item label="托管单位" required prop="tgdw" :rules="{

Loading…
Cancel
Save