吕天方 3 weeks ago
commit 79c919a6f9

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

@ -18,7 +18,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="平台类型" prop="ptlx"> <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" <el-option v-for="dict in dict.type.sys_ptlx_type" :key="dict.value" :label="dict.label"
:value="dict.value" /> :value="dict.value" />
</el-select> </el-select>
@ -26,183 +26,284 @@
</el-col> </el-col>
</el-row> </el-row>
<div v-if="ruleForm.ptlx == 1"> <div v-if="ruleForm.ptlx == 1">
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="微信号" prop="wxh"> <el-form-item label="微信号" prop="wxh">
<el-input v-model="ruleForm.wxh" style="width: 100%;" placeholder="请输入微信号"></el-input> <el-input v-model="ruleForm.wxh" style="width: 100%;" placeholder="请输入微信号"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="公众号名称" prop="gzhmc"> <el-form-item label="公众号名称" prop="gzhmc">
<el-input v-model="ruleForm.gzhmc" placeholder="请输入公众号名称" disabled></el-input> <el-input v-model="ruleForm.gzhmc" placeholder="请输入公众号名称" disabled></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item prop="tyshxydm" class="daoqitixingren" label="统一社会信用代码" required :rules="[ <el-form-item prop="tyshxydm" class="daoqitixingren" label="统一社会信用代码" required :rules="[
{ {
required: true, required: true,
pattern: /^[a-zA-Z0-9]{18}$/, pattern: /^[a-zA-Z0-9]{18}$/,
message: '请输入正确格式的18位统一社会信用代码', message: '请输入正确格式的18位统一社会信用代码',
trigger: 'change' trigger: 'change'
} }
]"> ]">
<el-input v-model="ruleForm.tyshxydm" placeholder="请输入统一信用代码"></el-input> <el-input v-model="ruleForm.tyshxydm" placeholder="请输入统一信用代码"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="公众号状态" prop="gzhzt"> <el-form-item label="公众号状态" prop="gzhzt">
<el-select v-model="ruleForm.gzhzt" placeholder="请选择公众号状态"> <el-select v-model="ruleForm.gzhzt" placeholder="请选择公众号状态">
<el-option v-for="dict in dict.type.gzh_state" :key="dict.value" :label="dict.label" <el-option v-for="dict in dict.type.gzh_state" :key="dict.value" :label="dict.label"
:value="dict.value" /> :value="dict.value" />
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="公众号ID" prop="gzhId"> <el-form-item label="公众号ID" prop="gzhId">
<el-input v-model="ruleForm.gzhId" style="width: 100%;" placeholder="请输入公众号ID"></el-input> <el-input v-model="ruleForm.gzhId" style="width: 100%;" placeholder="请输入公众号ID"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="公众号类型" prop="gzhlx"> <el-form-item label="公众号类型" prop="gzhlx">
<el-select v-model="ruleForm.gzhlx" placeholder="请选择公众号类型"> <el-select v-model="ruleForm.gzhlx" placeholder="请选择公众号类型">
<el-option v-for="dict in dict.type.gzh_lx" :key="dict.value" :label="dict.label" <el-option v-for="dict in dict.type.gzh_lx" :key="dict.value" :label="dict.label"
:value="dict.value" /> :value="dict.value" />
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="认证状态" prop="rzState"> <el-form-item label="认证状态" prop="rzState">
<el-select v-model="ruleForm.rzState" placeholder="请选择认证状态"> <el-select v-model="ruleForm.rzState" placeholder="请选择认证状态">
<el-option v-for="dict in dict.type.gzh_rzzt" :key="dict.value" :label="dict.label" <el-option v-for="dict in dict.type.gzh_rzzt" :key="dict.value" :label="dict.label"
:value="dict.value" /> :value="dict.value" />
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="认证时间" prop="rzsj"> <el-form-item label="认证时间" prop="rzsj">
<el-date-picker v-model="ruleForm.rzsj" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" <el-date-picker v-model="ruleForm.rzsj" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
placeholder="选择日期"> placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="认证类型" prop="rzlx"> <el-form-item label="认证类型" prop="rzlx">
<el-select v-model="ruleForm.rzlx" placeholder="请选择认证类型"> <el-select v-model="ruleForm.rzlx" placeholder="请选择认证类型">
<el-option v-for="dict in dict.type.gzh_rzlx" :key="dict.value" :label="dict.label" <el-option v-for="dict in dict.type.gzh_rzlx" :key="dict.value" :label="dict.label"
:value="dict.value" /> :value="dict.value" />
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="所属行业" prop="sshy"> <el-form-item label="所属行业" prop="sshy">
<el-select v-model="ruleForm.sshy" placeholder="请选择所属行业"> <el-select v-model="ruleForm.sshy" placeholder="请选择所属行业">
<el-option v-for="dict in dict.type.app_sshy" :key="dict.value" :label="dict.label" <el-option v-for="dict in dict.type.app_sshy" :key="dict.value" :label="dict.label"
:value="dict.value" /> :value="dict.value" />
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="重点行业" prop="zdhy"> <el-form-item label="重点行业" prop="zdhy">
<el-select v-model="ruleForm.zdhy" placeholder="请选择重点行业"> <el-select v-model="ruleForm.zdhy" placeholder="请选择重点行业">
<el-option v-for="dict in dict.type.app_zdhy" :key="dict.value" :label="dict.label" <el-option v-for="dict in dict.type.app_zdhy" :key="dict.value" :label="dict.label"
:value="dict.value" /> :value="dict.value" />
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="行政区划" prop="xzqh"> <el-form-item label="行政区划" prop="xzqh">
<el-select v-model="ruleForm.xzqh" placeholder="请选择行政区划"> <el-select v-model="ruleForm.xzqh" placeholder="请选择行政区划">
<el-option v-for="dict in dict.type.app_xzqh" :key="dict.value" :label="dict.label" <el-option v-for="dict in dict.type.app_xzqh" :key="dict.value" :label="dict.label"
:value="dict.value" /> :value="dict.value" />
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="系统责任人" prop="xtzrr"> <el-form-item label="系统责任人" prop="xtzrr">
<el-input v-model="ruleForm.xtzrr" style="width: 100%;" placeholder="请输入系统责任人"></el-input> <el-input v-model="ruleForm.xtzrr" style="width: 100%;" placeholder="请输入系统责任人"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item prop="xtzrrdh" label="系统责任人电话" required :rules="[ <el-form-item prop="xtzrrdh" label="系统责任人电话" required :rules="[
{ {
required: true, required: true,
pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
message: '请输入正确的手机号码', message: '请输入正确的手机号码',
trigger: 'change' trigger: 'change'
} }
]"> ]">
<el-input v-model="ruleForm.xtzrrdh" style="width: 100%;" placeholder="请输入系统责任人电话"></el-input> <el-input v-model="ruleForm.xtzrrdh" style="width: 100%;" placeholder="请输入系统责任人电话"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item prop="xtzrryx" label="系统责任人邮箱" required :rules="[ <el-form-item prop="xtzrryx" label="系统责任人邮箱" required :rules="[
{ {
required: true, required: true,
type: 'email', type: 'email',
message: '请输入正确的邮箱地址', message: '请输入正确的邮箱地址',
trigger: ['change', 'change'] trigger: ['change', 'change']
} }
]"> ]">
<el-input v-model="ruleForm.xtzrryx" style="width: 100%;" placeholder="请输入系统责任人邮箱"></el-input> <el-input v-model="ruleForm.xtzrryx" style="width: 100%;" placeholder="请输入系统责任人邮箱"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="系统责任人地址" prop="xtzrrdz"> <el-form-item label="系统责任人地址" prop="xtzrrdz">
<el-input v-model="ruleForm.xtzrrdz" style="width: 100%;" placeholder="请输入系统责任人地址"></el-input> <el-input v-model="ruleForm.xtzrrdz" style="width: 100%;" placeholder="请输入系统责任人地址"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="菜单信息(菜单名称)" prop="cdmc"> <el-form-item label="菜单信息(菜单名称)" prop="cdmc">
<el-input v-model="ruleForm.cdmc" style="width: 100%;" placeholder="请输入菜单信息(菜单名称)"></el-input> <el-input v-model="ruleForm.cdmc" style="width: 100%;" placeholder="请输入菜单信息(菜单名称)"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="菜单信息(菜单链接)" prop="cdlj"> <el-form-item label="菜单信息(菜单链接)" prop="cdlj">
<el-input v-model="ruleForm.cdlj" style="width: 100%;" placeholder="请输入菜单信息(菜单链接)"></el-input> <el-input v-model="ruleForm.cdlj" style="width: 100%;" placeholder="请输入菜单信息(菜单链接)"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="菜单信息(菜单类型)" prop="cdlx"> <el-form-item label="菜单信息(菜单类型)" prop="cdlx">
<el-input v-model="ruleForm.cdlx" style="width: 100%;" placeholder="请输入菜单信息(菜单类型)"></el-input> <el-input v-model="ruleForm.cdlx" style="width: 100%;" placeholder="请输入菜单信息(菜单类型)"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="认证主体" prop="rzzt"> <el-form-item label="认证主体" prop="rzzt">
<el-input v-model="ruleForm.rzzt" style="width: 100%;" placeholder="请输入认证主体"></el-input> <el-input v-model="ruleForm.rzzt" style="width: 100%;" placeholder="请输入认证主体"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="系统简介" prop="xtjj"> <el-form-item label="系统简介" prop="xtjj">
<el-input type="textarea" resize="none" placeholder="请输入系统简介" :rows="5" <el-input type="textarea" resize="none" placeholder="请输入系统简介" :rows="5"
v-model="ruleForm.xtjj"></el-input> v-model="ruleForm.xtjj"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
</div> </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-row v-if="ruleForm.bfyy">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="关停原因"> <el-form-item label="关停原因">
@ -260,7 +361,7 @@ export default {
], ],
tyshxydm: [ tyshxydm: [
{ required: true, message: "统一社会信用代码不能为空", trigger: "change" }, { 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: [ gzhzt: [
{ required: true, message: "公众号状态不能为空", trigger: "change" } { required: true, message: "公众号状态不能为空", trigger: "change" }
@ -294,11 +395,11 @@ export default {
], ],
xtzrrdh: [ xtzrrdh: [
{ required: true, message: "系统责任人电话不能为空", trigger: "change" }, { 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: [ xtzrryx: [
{ required: true, message: "系统责任人邮箱不能为空", trigger: "change" }, { required: true, message: "系统责任人邮箱不能为空", trigger: "change" },
{ type: 'email', message: "请输入正确的邮箱地址", trigger: ['change', 'change'] } { required: true,type: 'email', message: "请输入正确的邮箱地址", trigger: ['blur', 'change'] }
], ],
xtzrrdz: [ xtzrrdz: [
{ required: true, message: "系统责任人地址不能为空", trigger: "change" } { required: true, message: "系统责任人地址不能为空", trigger: "change" }

@ -86,12 +86,14 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="域名到期时间" class="yumingdaoqishijian"> <el-form-item label="是否自建互联网专线IP" required prop="isZjhlwip" >
<el-date-picker v-model="ruleForm.ymdqsj" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" <el-select v-model="ruleForm.isZjhlwip" placeholder="请选择是否自建互联网专线IP">
placeholder="选择日期"> <el-option v-for="dict in dict.type.is_no" :key="dict.value" :label="dict.label"
</el-date-picker> :value="dict.value" />
</el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
@ -111,27 +113,13 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="到期提醒人" class="daoqitixingren"> <el-form-item label="域名到期时间" class="yumingdaoqishijian">
<el-row> <el-date-picker v-model="ruleForm.ymdqsj" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
<el-col :span="6"> placeholder="选择日期">
<el-form-item prop="Ip"> </el-date-picker>
<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-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
@ -151,13 +139,28 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="系统类型" required> <el-form-item label="到期提醒人" class="daoqitixingren">
<el-select v-model="ruleForm.xtlx" placeholder="请选择系统类型"> <el-row>
<el-option v-for="dict in dict.type.zc_xtlx" :key="dict.value" :label="dict.label" <el-col :span="6">
:value="dict.value" /> <el-form-item prop="Ip">
</el-select> <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-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
@ -168,6 +171,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="是否关基系统" required> <el-form-item label="是否关基系统" required>
<el-select v-model="ruleForm.gjxt" placeholder="请选择是否关基系统"> <el-select v-model="ruleForm.gjxt" placeholder="请选择是否关基系统">
@ -179,13 +183,14 @@
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="系统标签"> <el-form-item label="系统类型" required>
<el-select v-model="ruleForm.xtbq" placeholder="请选择系统标签"> <el-select v-model="ruleForm.xtlx" placeholder="请选择系统类型">
<el-option label="区域一" value="shanghai"></el-option> <el-option v-for="dict in dict.type.zc_xtlx" :key="dict.value" :label="dict.label"
<el-option label="区域二" value="beijing"></el-option> :value="dict.value" />
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="机房信息" required> <el-form-item label="机房信息" required>
<el-input v-model="ruleForm.jfxx" style="width: 100%;" placeholder="请输入机房信息"></el-input> <el-input v-model="ruleForm.jfxx" style="width: 100%;" placeholder="请输入机房信息"></el-input>
@ -345,7 +350,7 @@
</el-col> </el-col>
</el-row> </el-row>
<!-- v-if="ruleForm.bsypt == 1" --> <!-- v-if="ruleForm.bsypt == 1" -->
<el-row > <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="云服务商名称" required> <el-form-item label="云服务商名称" required>
<el-input v-model="ruleForm.yfwsmc" style="width: 100%;" placeholder="请输入云服务商名称"></el-input> <el-input v-model="ruleForm.yfwsmc" style="width: 100%;" placeholder="请输入云服务商名称"></el-input>
@ -374,13 +379,21 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
<el-row>
<el-col :span="12"> <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-input v-model="ruleForm.dns" style="width: 100%;" placeholder="请输入DNS"></el-input>
</el-form-item> </el-form-item>
</el-col> </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-row> <el-row>
<el-col :span="12" v-if="ruleForm.xtbsfs == 3"> <el-col :span="12" v-if="ruleForm.xtbsfs == 3">

@ -96,12 +96,16 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="域名到期时间" class="yumingdaoqishijian"> <el-form-item label="是否自建互联网专线IP" required prop="isZjhlwip" :rules="{
<el-date-picker v-model="ruleForm.ymdqsj" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" required: true, message: '请输入', trigger: 'blur'
placeholder="选择日期"> }">
</el-date-picker> <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-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
@ -121,27 +125,13 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="到期提醒人" class="daoqitixingren"> <el-form-item label="域名到期时间" class="yumingdaoqishijian">
<el-row> <el-date-picker v-model="ruleForm.ymdqsj" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
<el-col :span="6"> placeholder="选择日期">
<el-form-item prop="Ip"> </el-date-picker>
<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-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
@ -161,15 +151,28 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="系统类型" required prop="xtlx" :rules="{ <el-form-item label="到期提醒人" class="daoqitixingren">
required: true, message: '请输入', trigger: 'blur' <el-row>
}"> <el-col :span="6">
<el-select v-model="ruleForm.xtlx" placeholder="请选择系统类型"> <el-form-item prop="Ip">
<el-option v-for="dict in dict.type.zc_xtlx" :key="dict.value" :label="dict.label" <el-input v-model="ruleForm.ymtxrXm" style="width: 100%;" placeholder="请输入姓名"></el-input>
:value="dict.value" /> </el-form-item>
</el-select> </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-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
@ -193,10 +196,12 @@
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="系统标签"> <el-form-item label="系统类型" required prop="xtlx" :rules="{
<el-select v-model="ruleForm.xtbq" placeholder="请选择系统标签"> required: true, message: '请输入', trigger: 'blur'
<el-option label="区域一" value="shanghai"></el-option> }">
<el-option label="区域二" value="beijing"></el-option> <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-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -412,13 +417,21 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
<el-row>
<el-col :span="12"> <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-input v-model="ruleForm.dns" style="width: 100%;" placeholder="请输入DNS"></el-input>
</el-form-item> </el-form-item>
</el-col> </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-row> <el-row>
<el-col :span="12" v-if="ruleForm.xtbsfs == 3"> <el-col :span="12" v-if="ruleForm.xtbsfs == 3">
<el-form-item label="托管单位" required prop="tgdw" :rules="{ <el-form-item label="托管单位" required prop="tgdw" :rules="{

Loading…
Cancel
Save