|
|
@ -10,19 +10,19 @@
|
|
|
|
<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.xtmc"></el-input>
|
|
|
|
<el-input v-model="ruleForm.xtmc" 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="单位名称" required>
|
|
|
|
<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-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="系统域名">
|
|
|
|
<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-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="12">
|
|
|
|
<el-col :span="12">
|
|
|
@ -90,7 +90,7 @@
|
|
|
|
<el-col :span="23">
|
|
|
|
<el-col :span="23">
|
|
|
|
<el-input v-model="domain.key" placeholder="请输入关联域名"></el-input>
|
|
|
|
<el-input v-model="domain.key" placeholder="请输入关联域名"></el-input>
|
|
|
|
</el-col>
|
|
|
|
</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="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>
|
|
|
|
<i @click="removeDomainOne(domain,'glymList')" v-else class="el-icon-remove-outline" style="margin-left: 5px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
@ -129,7 +129,7 @@
|
|
|
|
<el-col :span="23">
|
|
|
|
<el-col :span="23">
|
|
|
|
<el-input v-model="domain.key" placeholder="请输入关联IP"></el-input>
|
|
|
|
<el-input v-model="domain.key" placeholder="请输入关联IP"></el-input>
|
|
|
|
</el-col>
|
|
|
|
</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="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>
|
|
|
|
<i @click="removeDomainOne(domain,'glIpList')" v-else class="el-icon-remove-outline" style="margin-left: 5px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
@ -450,8 +450,8 @@
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="24" style="text-align: right;margin: 10px 0;" v-if="!isMore">
|
|
|
|
<el-col :span="24" style="text-align: right;margin: 10px 0;">
|
|
|
|
<el-button @click="isMore = true" :disabled="false">更多</el-button>
|
|
|
|
<el-button @click="isMore = !isMore" :disabled="false">{{ isMore ? '收起' : '更多' }}</el-button>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<!-- 隐藏部分 -->
|
|
|
|
<!-- 隐藏部分 -->
|
|
|
@ -778,7 +778,7 @@
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-row v-if="$route.query.pageType !== 'look'">
|
|
|
|
<el-col :span="24">
|
|
|
|
<el-col :span="24">
|
|
|
|
<el-form-item prop="btn">
|
|
|
|
<el-form-item prop="btn">
|
|
|
|
<el-button @click="addOtherConcat('otherConcat')">添加其他联系人</el-button>
|
|
|
|
<el-button @click="addOtherConcat('otherConcat')">添加其他联系人</el-button>
|
|
|
@ -1323,7 +1323,7 @@
|
|
|
|
<el-input v-model="domain.lxdh" placeholder="请输入联系电话"></el-input>
|
|
|
|
<el-input v-model="domain.lxdh" placeholder="请输入联系电话"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</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="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>
|
|
|
|
<i @click="removeDomain(domain,'chepingUnit')" v-else class="el-icon-remove-outline" style="margin-top: 10px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
@ -1369,7 +1369,7 @@
|
|
|
|
<el-input v-model="domain.lxdh" placeholder="请输入联系电话"></el-input>
|
|
|
|
<el-input v-model="domain.lxdh" placeholder="请输入联系电话"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</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="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>
|
|
|
|
<i @click="removeDomain(domain,'yjgysUnit')" v-else class="el-icon-remove-outline" style="margin-top: 10px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
@ -1415,7 +1415,7 @@
|
|
|
|
<el-input v-model="domain.lxdh" placeholder="请输入联系电话"></el-input>
|
|
|
|
<el-input v-model="domain.lxdh" placeholder="请输入联系电话"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</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="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>
|
|
|
|
<i @click="removeDomain(domain,'jfywUnit')" v-else class="el-icon-remove-outline" style="margin-top: 10px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
@ -1461,7 +1461,7 @@
|
|
|
|
<el-input v-model="domain.lxdh" placeholder="请输入联系电话"></el-input>
|
|
|
|
<el-input v-model="domain.lxdh" placeholder="请输入联系电话"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</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="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>
|
|
|
|
<i @click="removeDomain(domain,'xtsjUnit')" v-else class="el-icon-remove-outline" style="margin-top: 10px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
@ -1526,7 +1526,7 @@
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</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="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>
|
|
|
|
<i @click="removeDomain(domain,'xtjsUnit')" v-else class="el-icon-remove-outline" style="margin-top: 10px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
@ -1591,7 +1591,7 @@
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</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="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>
|
|
|
|
<i @click="removeDomain(domain,'xtyyUnit')" v-else class="el-icon-remove-outline" style="margin-top: 10px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
@ -1637,7 +1637,7 @@
|
|
|
|
<el-input v-model="domain.lxdh" placeholder="请输入联系电话"></el-input>
|
|
|
|
<el-input v-model="domain.lxdh" placeholder="请输入联系电话"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</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="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>
|
|
|
|
<i @click="removeDomain(domain,'aqfwUnit')" v-else class="el-icon-remove-outline" style="margin-top: 10px;font-size: 16px;cursor: pointer;"></i>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
@ -1735,7 +1735,7 @@
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<el-row>
|
|
|
|
<el-row v-if="$route.query.pageType !== 'look'">
|
|
|
|
<el-form-item>
|
|
|
|
<el-form-item>
|
|
|
|
<el-button @click="addServer('fwqxx', 1)">添加服务器</el-button>
|
|
|
|
<el-button @click="addServer('fwqxx', 1)">添加服务器</el-button>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
@ -1809,7 +1809,7 @@
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<el-row>
|
|
|
|
<el-row v-if="$route.query.pageType !== 'look'">
|
|
|
|
<el-form-item>
|
|
|
|
<el-form-item>
|
|
|
|
<el-button @click="addServer('wlsb', 2)">添加网络设备</el-button>
|
|
|
|
<el-button @click="addServer('wlsb', 2)">添加网络设备</el-button>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
@ -1883,7 +1883,7 @@
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<el-row>
|
|
|
|
<el-row v-if="$route.query.pageType !== 'look'">
|
|
|
|
<el-form-item>
|
|
|
|
<el-form-item>
|
|
|
|
<el-button @click="addServer('aqsb', 3)">添加安全设备</el-button>
|
|
|
|
<el-button @click="addServer('aqsb', 3)">添加安全设备</el-button>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
@ -2725,9 +2725,9 @@
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;">
|
|
|
|
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;" v-if="$route.query.pageType !== 'look'">
|
|
|
|
<el-button type="danger" @click="sendBack">取消</el-button>
|
|
|
|
<el-button type="danger" @click="sendBack">取消</el-button>
|
|
|
|
<el-button type="primary" @click="newAssets" :loading="loading">确认</el-button>
|
|
|
|
<el-button type="primary" @click="newAssets" :loading="loading">保存</el-button>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -2929,6 +2929,16 @@ export default {
|
|
|
|
this.getInfo(this.$route.query.id)
|
|
|
|
this.getInfo(this.$route.query.id)
|
|
|
|
this.disabled = true;
|
|
|
|
this.disabled = true;
|
|
|
|
this.isMore = true;
|
|
|
|
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 = '';
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
})
|
|
|
|
} else if(this.$route.query.pageType == 'change') {
|
|
|
|
} else if(this.$route.query.pageType == 'change') {
|
|
|
|
this.getInfo(this.$route.query.id)
|
|
|
|
this.getInfo(this.$route.query.id)
|
|
|
|
this.disabled = false;
|
|
|
|
this.disabled = false;
|
|
|
|