|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="L-assets-info">
|
|
|
|
|
<el-backtop target=".L-assets-info" />
|
|
|
|
|
<div class="assets-info-top">
|
|
|
|
|
<el-row style="margin: 10px 0;">
|
|
|
|
|
<span class="top-title-box">基本信息</span>
|
|
|
|
@ -9,19 +10,19 @@
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="系统名称" required>
|
|
|
|
|
<el-input v-model="ruleForm.xtmc"></el-input>
|
|
|
|
|
<el-input v-model="ruleForm.xtmc" placeholder="请输入系统名称"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="单位名称" required>
|
|
|
|
|
<el-input v-model="ruleForm.dwmc"></el-input>
|
|
|
|
|
<el-input v-model="ruleForm.dwmc" placeholder="请输入单位名称"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="系统域名">
|
|
|
|
|
<el-input v-model="ruleForm.xtym"></el-input>
|
|
|
|
|
<el-input v-model="ruleForm.xtym" placeholder="请输入系统域名"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
@ -89,7 +90,7 @@
|
|
|
|
|
<el-col :span="23">
|
|
|
|
|
<el-input v-model="domain.key" placeholder="请输入关联域名"></el-input>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="1" style="text-align: center;">
|
|
|
|
|
<el-col :span="1" style="text-align: center;" v-if="$route.query.pageType !== 'look'">
|
|
|
|
|
<i @click="addForm('glymList')" v-if="index == 0" class="el-icon-circle-plus-outline" style="margin-left: 5px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
|
<i @click="removeDomainOne(domain,'glymList')" v-else class="el-icon-remove-outline" style="margin-left: 5px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
|
</el-col>
|
|
|
|
@ -128,7 +129,7 @@
|
|
|
|
|
<el-col :span="23">
|
|
|
|
|
<el-input v-model="domain.key" placeholder="请输入关联IP"></el-input>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="1" style="text-align: center;">
|
|
|
|
|
<el-col :span="1" style="text-align: center;" v-if="$route.query.pageType !== 'look'">
|
|
|
|
|
<i @click="addForm('glIpList')" v-if="index == 0" class="el-icon-circle-plus-outline" style="margin-left: 5px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
|
<i @click="removeDomainOne(domain,'glIpList')" v-else class="el-icon-remove-outline" style="margin-left: 5px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
|
</el-col>
|
|
|
|
@ -449,8 +450,8 @@
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="24" style="text-align: right;margin: 10px 0;" v-if="!isMore">
|
|
|
|
|
<el-button @click="isMore = true" :disabled="false">更多</el-button>
|
|
|
|
|
<el-col :span="24" style="text-align: right;margin: 10px 0;">
|
|
|
|
|
<el-button @click="isMore = !isMore" :disabled="false">{{ isMore ? '收起' : '更多' }}</el-button>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<!-- 隐藏部分 -->
|
|
|
|
@ -777,7 +778,7 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-row v-if="$route.query.pageType !== 'look'">
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<el-form-item prop="btn">
|
|
|
|
|
<el-button @click="addOtherConcat('otherConcat')">添加其他联系人</el-button>
|
|
|
|
@ -1290,7 +1291,15 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12" style="margin-left: 10px;">
|
|
|
|
|
<el-form-item class="daoqitixingren" :label="'统一社会信用代码' + (index == 0 ? '' : index)">
|
|
|
|
|
<el-form-item class="daoqitixingren" :prop="'chepingUnit.' + index + '.tyshxydm'" :label="'统一社会信用代码' + (index == 0 ? '' : index)"
|
|
|
|
|
:rules="[
|
|
|
|
|
{
|
|
|
|
|
pattern: /^[a-zA-Z0-9]{18}$/,
|
|
|
|
|
message: '请输入正确格式的18位统一社会信用代码',
|
|
|
|
|
trigger: 'blur'
|
|
|
|
|
}
|
|
|
|
|
]"
|
|
|
|
|
>
|
|
|
|
|
<el-input v-model="domain.tyshxydm" placeholder="请输入统一信用代码"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -1314,7 +1323,7 @@
|
|
|
|
|
<el-input v-model="domain.lxdh" placeholder="请输入联系电话"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="1" style="text-align: center;">
|
|
|
|
|
<el-col :span="1" style="text-align: center;" v-if="$route.query.pageType !== 'look'">
|
|
|
|
|
<i @click="addGongyinglian('chepingUnit', 1)" v-if="index == 0" class="el-icon-circle-plus-outline" style="margin-top: 10px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
|
<i @click="removeDomain(domain,'chepingUnit')" v-else class="el-icon-remove-outline" style="margin-top: 10px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
|
</el-col>
|
|
|
|
@ -1328,7 +1337,15 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12" style="margin-left: 10px;">
|
|
|
|
|
<el-form-item class="daoqitixingren" :label="'统一社会信用代码' + (index == 0 ? '' : index)">
|
|
|
|
|
<el-form-item class="daoqitixingren" :prop="'yjgysUnit.' + index + '.tyshxydm'" :label="'统一社会信用代码' + (index == 0 ? '' : index)"
|
|
|
|
|
:rules="[
|
|
|
|
|
{
|
|
|
|
|
pattern: /^[a-zA-Z0-9]{18}$/,
|
|
|
|
|
message: '请输入正确格式的18位统一社会信用代码',
|
|
|
|
|
trigger: 'blur'
|
|
|
|
|
}
|
|
|
|
|
]"
|
|
|
|
|
>
|
|
|
|
|
<el-input v-model="domain.tyshxydm" placeholder="请输入统一信用代码"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -1352,7 +1369,7 @@
|
|
|
|
|
<el-input v-model="domain.lxdh" placeholder="请输入联系电话"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="1" style="text-align: center;">
|
|
|
|
|
<el-col :span="1" style="text-align: center;" v-if="$route.query.pageType !== 'look'">
|
|
|
|
|
<i @click="addGongyinglian('yjgysUnit', 2)" v-if="index == 0" class="el-icon-circle-plus-outline" style="margin-top: 10px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
|
<i @click="removeDomain(domain,'yjgysUnit')" v-else class="el-icon-remove-outline" style="margin-top: 10px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
|
</el-col>
|
|
|
|
@ -1366,7 +1383,15 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12" style="margin-left: 10px;">
|
|
|
|
|
<el-form-item class="daoqitixingren" :label="'统一社会信用代码' + (index == 0 ? '' : index)">
|
|
|
|
|
<el-form-item class="daoqitixingren" :prop="'jfywUnit.' + index + '.tyshxydm'" :label="'统一社会信用代码' + (index == 0 ? '' : index)"
|
|
|
|
|
:rules="[
|
|
|
|
|
{
|
|
|
|
|
pattern: /^[a-zA-Z0-9]{18}$/,
|
|
|
|
|
message: '请输入正确格式的18位统一社会信用代码',
|
|
|
|
|
trigger: 'blur'
|
|
|
|
|
}
|
|
|
|
|
]"
|
|
|
|
|
>
|
|
|
|
|
<el-input v-model="domain.tyshxydm" placeholder="请输入统一信用代码"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -1390,7 +1415,7 @@
|
|
|
|
|
<el-input v-model="domain.lxdh" placeholder="请输入联系电话"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="1" style="text-align: center;">
|
|
|
|
|
<el-col :span="1" style="text-align: center;" v-if="$route.query.pageType !== 'look'">
|
|
|
|
|
<i @click="addGongyinglian('jfywUnit', 3)" v-if="index == 0" class="el-icon-circle-plus-outline" style="margin-top: 10px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
|
<i @click="removeDomain(domain,'jfywUnit')" v-else class="el-icon-remove-outline" style="margin-top: 10px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
|
</el-col>
|
|
|
|
@ -1404,7 +1429,15 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12" style="margin-left: 10px;">
|
|
|
|
|
<el-form-item class="daoqitixingren" :label="'统一社会信用代码' + (index == 0 ? '' : index)">
|
|
|
|
|
<el-form-item class="daoqitixingren" :prop="'xtsjUnit.' + index + '.tyshxydm'" :label="'统一社会信用代码' + (index == 0 ? '' : index)"
|
|
|
|
|
:rules="[
|
|
|
|
|
{
|
|
|
|
|
pattern: /^[a-zA-Z0-9]{18}$/,
|
|
|
|
|
message: '请输入正确格式的18位统一社会信用代码',
|
|
|
|
|
trigger: 'blur'
|
|
|
|
|
}
|
|
|
|
|
]"
|
|
|
|
|
>
|
|
|
|
|
<el-input v-model="domain.tyshxydm" placeholder="请输入统一信用代码"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -1428,7 +1461,7 @@
|
|
|
|
|
<el-input v-model="domain.lxdh" placeholder="请输入联系电话"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="1" style="text-align: center;">
|
|
|
|
|
<el-col :span="1" style="text-align: center;" v-if="$route.query.pageType !== 'look'">
|
|
|
|
|
<i @click="addGongyinglian('xtsjUnit', 4)" v-if="index == 0" class="el-icon-circle-plus-outline" style="margin-top: 10px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
|
<i @click="removeDomain(domain,'xtsjUnit')" v-else class="el-icon-remove-outline" style="margin-top: 10px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
|
</el-col>
|
|
|
|
@ -1442,7 +1475,15 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12" style="margin-left: 10px;">
|
|
|
|
|
<el-form-item class="daoqitixingren" required :label="'统一社会信用代码' + (index == 0 ? '' : index)">
|
|
|
|
|
<el-form-item class="daoqitixingren" required :prop="'xtjsUnit.' + index + '.tyshxydm'" :label="'统一社会信用代码' + (index == 0 ? '' : index)"
|
|
|
|
|
:rules="[
|
|
|
|
|
{
|
|
|
|
|
pattern: /^[a-zA-Z0-9]{18}$/,
|
|
|
|
|
message: '请输入正确格式的18位统一社会信用代码',
|
|
|
|
|
trigger: 'blur'
|
|
|
|
|
}
|
|
|
|
|
]"
|
|
|
|
|
>
|
|
|
|
|
<el-input v-model="domain.tyshxydm" placeholder="请输入统一信用代码"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -1485,7 +1526,7 @@
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="1" style="text-align: center;">
|
|
|
|
|
<el-col :span="1" style="text-align: center;" v-if="$route.query.pageType !== 'look'">
|
|
|
|
|
<i @click="addGongyinglian('xtjsUnit', 5)" v-if="index == 0" class="el-icon-circle-plus-outline" style="margin-top: 10px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
|
<i @click="removeDomain(domain,'xtjsUnit')" v-else class="el-icon-remove-outline" style="margin-top: 10px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
|
</el-col>
|
|
|
|
@ -1499,7 +1540,15 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12" style="margin-left: 10px;">
|
|
|
|
|
<el-form-item class="daoqitixingren" required :label="'统一社会信用代码' + (index == 0 ? '' : index)">
|
|
|
|
|
<el-form-item class="daoqitixingren" :prop="'xtyyUnit.' + index + '.tyshxydm'" required :label="'统一社会信用代码' + (index == 0 ? '' : index)"
|
|
|
|
|
:rules="[
|
|
|
|
|
{
|
|
|
|
|
pattern: /^[a-zA-Z0-9]{18}$/,
|
|
|
|
|
message: '请输入正确格式的18位统一社会信用代码',
|
|
|
|
|
trigger: 'blur'
|
|
|
|
|
}
|
|
|
|
|
]"
|
|
|
|
|
>
|
|
|
|
|
<el-input v-model="domain.tyshxydm" placeholder="请输入统一信用代码"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -1542,7 +1591,7 @@
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="1" style="text-align: center;">
|
|
|
|
|
<el-col :span="1" style="text-align: center;" v-if="$route.query.pageType !== 'look'">
|
|
|
|
|
<i @click="addGongyinglian('xtyyUnit', 7)" v-if="index == 0" class="el-icon-circle-plus-outline" style="margin-top: 10px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
|
<i @click="removeDomain(domain,'xtyyUnit')" v-else class="el-icon-remove-outline" style="margin-top: 10px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
|
</el-col>
|
|
|
|
@ -1556,7 +1605,15 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12" style="margin-left: 10px;">
|
|
|
|
|
<el-form-item class="daoqitixingren" :label="'统一社会信用代码' + (index == 0 ? '' : index)">
|
|
|
|
|
<el-form-item class="daoqitixingren" :prop="'aqfwUnit.' + index + '.tyshxydm'" :label="'统一社会信用代码' + (index == 0 ? '' : index)"
|
|
|
|
|
:rules="[
|
|
|
|
|
{
|
|
|
|
|
pattern: /^[a-zA-Z0-9]{18}$/,
|
|
|
|
|
message: '请输入正确格式的18位统一社会信用代码',
|
|
|
|
|
trigger: 'blur'
|
|
|
|
|
}
|
|
|
|
|
]"
|
|
|
|
|
>
|
|
|
|
|
<el-input v-model="domain.tyshxydm" placeholder="请输入统一信用代码"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -1580,7 +1637,7 @@
|
|
|
|
|
<el-input v-model="domain.lxdh" placeholder="请输入联系电话"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="1" style="text-align: center;">
|
|
|
|
|
<el-col :span="1" style="text-align: center;" v-if="$route.query.pageType !== 'look'">
|
|
|
|
|
<i @click="addGongyinglian('aqfwUnit', 6)" v-if="index == 0" class="el-icon-circle-plus-outline" style="margin-top: 10px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
|
<i @click="removeDomain(domain,'aqfwUnit')" v-else class="el-icon-remove-outline" style="margin-top: 10px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
|
</el-col>
|
|
|
|
@ -1678,7 +1735,7 @@
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
</div>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-row v-if="$route.query.pageType !== 'look'">
|
|
|
|
|
<el-form-item>
|
|
|
|
|
<el-button @click="addServer('fwqxx', 1)">添加服务器</el-button>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -1752,7 +1809,7 @@
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
</div>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-row v-if="$route.query.pageType !== 'look'">
|
|
|
|
|
<el-form-item>
|
|
|
|
|
<el-button @click="addServer('wlsb', 2)">添加网络设备</el-button>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -1826,7 +1883,7 @@
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
</div>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-row v-if="$route.query.pageType !== 'look'">
|
|
|
|
|
<el-form-item>
|
|
|
|
|
<el-button @click="addServer('aqsb', 3)">添加安全设备</el-button>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -2667,10 +2724,6 @@
|
|
|
|
|
</myUpload>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-row>
|
|
|
|
|
<!-- <el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;">
|
|
|
|
|
<el-button type="danger">不通过</el-button>
|
|
|
|
|
<el-button type="primary" @click="newAssets" :loading="loading">通过</el-button>
|
|
|
|
|
</el-row> -->
|
|
|
|
|
</div>
|
|
|
|
|
</el-form>
|
|
|
|
|
</div>
|
|
|
|
@ -2880,6 +2933,16 @@ export default {
|
|
|
|
|
// this.disabled = false;
|
|
|
|
|
// this.isMore = true;
|
|
|
|
|
// }
|
|
|
|
|
this.$nextTick(()=>{
|
|
|
|
|
const inputElements = document.querySelectorAll('.el-input__inner');
|
|
|
|
|
const textareaInputElements = document.querySelectorAll('.el-textarea__inner');
|
|
|
|
|
inputElements.forEach((input) => {
|
|
|
|
|
input.placeholder = '';
|
|
|
|
|
});
|
|
|
|
|
textareaInputElements.forEach((input) => {
|
|
|
|
|
input.placeholder = '';
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
methods:{
|
|
|
|
|
// 获取详情
|
|
|
|
@ -2890,6 +2953,17 @@ export default {
|
|
|
|
|
this.ruleForm.xjgywxt = {}
|
|
|
|
|
this.$set(this.ruleForm.xjgywxt, 'remark', "")
|
|
|
|
|
}
|
|
|
|
|
if(this.ruleForm.fwwz) {
|
|
|
|
|
let arr = this.ruleForm.fwwz.split("-")
|
|
|
|
|
this.select = arr[0]
|
|
|
|
|
this.ruleForm.fwwz = arr[1]
|
|
|
|
|
}
|
|
|
|
|
if(this.ruleForm.glymList.length == 0) {
|
|
|
|
|
this.ruleForm.glymList.push({key:""})
|
|
|
|
|
}
|
|
|
|
|
if(this.ruleForm.glIpList.length == 0) {
|
|
|
|
|
this.ruleForm.glIpList.push({key:""})
|
|
|
|
|
}
|
|
|
|
|
this.ruleForm.xttz ? this.xttz = this.ruleForm.xttz.split(',') : [];
|
|
|
|
|
let chepingUnit = this.ruleForm.gylxxList.filter((item) => item.type == 1)
|
|
|
|
|
let yjgysUnit = this.ruleForm.gylxxList.filter((item) => item.type == 2)
|
|
|
|
|