|
|
|
@ -1357,7 +1357,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='shaojunbuyao'>
|
|
|
|
|
<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>
|
|
|
|
@ -1395,7 +1395,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='shaojunbuyao'>
|
|
|
|
|
<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>
|
|
|
|
@ -1433,7 +1433,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='shaojunbuyao'>
|
|
|
|
|
<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>
|
|
|
|
@ -1471,7 +1471,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='shaojunbuyao'>
|
|
|
|
|
<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>
|
|
|
|
@ -1528,7 +1528,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='shaojunbuyao'>
|
|
|
|
|
<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>
|
|
|
|
@ -1585,7 +1585,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='shaojunbuyao'>
|
|
|
|
|
<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>
|
|
|
|
@ -1623,7 +1623,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='shaojunbuyao'>
|
|
|
|
|
<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>
|
|
|
|
@ -1637,7 +1637,7 @@
|
|
|
|
|
<el-row style="margin: 10px 0;">
|
|
|
|
|
<span class="top-title-two-box">服务器信息</span>
|
|
|
|
|
</el-row>
|
|
|
|
|
<div v-for="(domain, index) in fwqxx" :key="domain.key" :prop="'fwqxx.' + index + '.value'">
|
|
|
|
|
<div v-for="(domain, index) in ruleForm.fwqxx" :key="domain.key" :prop="'fwqxx.' + index + '.value'">
|
|
|
|
|
<el-row style="display: flex;">
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item class="daoqitixingren" required :label="'设备类型' + (index == 0 ? '' : index)">
|
|
|
|
@ -1730,7 +1730,7 @@
|
|
|
|
|
<el-row style="margin: 10px 0;">
|
|
|
|
|
<span class="top-title-two-box">网络设备</span>
|
|
|
|
|
</el-row>
|
|
|
|
|
<div v-for="(domain, index) in wlsb" :key="domain.key" :prop="'wlsb.' + index + '.value'">
|
|
|
|
|
<div v-for="(domain, index) in ruleForm.wlsb" :key="domain.key" :prop="'wlsb.' + index + '.value'">
|
|
|
|
|
<el-row style="display: flex;">
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item class="daoqitixingren" required :label="'设备类型' + (index == 0 ? '' : index)">
|
|
|
|
@ -1804,7 +1804,7 @@
|
|
|
|
|
<el-row style="margin: 10px 0;">
|
|
|
|
|
<span class="top-title-two-box">安全设备</span>
|
|
|
|
|
</el-row>
|
|
|
|
|
<div v-for="(domain, index) in aqsb" :key="domain.key" :prop="'aqsb.' + index + '.value'">
|
|
|
|
|
<div v-for="(domain, index) in ruleForm.aqsb" :key="domain.key" :prop="'aqsb.' + index + '.value'">
|
|
|
|
|
<el-row style="display: flex;">
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item class="daoqitixingren" required :label="'设备类型' + (index == 0 ? '' : index)">
|
|
|
|
@ -2718,12 +2718,13 @@
|
|
|
|
|
<div>{{ruleForm.bfyy}}</div>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</el-form>
|
|
|
|
|
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;" v-if="$route.query.pageType == 'change'">
|
|
|
|
|
<el-button type="danger" @click="newAssets(0)">不通过</el-button>
|
|
|
|
|
<el-button type="primary" @click="newAssets(1)" >通过</el-button>
|
|
|
|
|
</el-row>
|
|
|
|
|
</div>
|
|
|
|
|
</el-form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -2748,6 +2749,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
shaojunbuyao:false,
|
|
|
|
|
accept:['xls','xlsx','doc','docx','pdf','rar','zip','pcap','txt'],
|
|
|
|
|
acceptTwo:['jpg','jpeg','png'],
|
|
|
|
|
isMore:false,
|
|
|
|
@ -2851,20 +2853,7 @@ export default {
|
|
|
|
|
type:6
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
// 地理位置
|
|
|
|
|
dlwz:[],
|
|
|
|
|
// 系统特征
|
|
|
|
|
xttz:[],
|
|
|
|
|
// 防篡改
|
|
|
|
|
xtfhqkFcg:[],
|
|
|
|
|
// 防泄漏
|
|
|
|
|
xtfhqkFxl:[],
|
|
|
|
|
// 防中断
|
|
|
|
|
xtfhqkFzd:[],
|
|
|
|
|
// 防勒索
|
|
|
|
|
xtfhqkFls:[],
|
|
|
|
|
// 服务器
|
|
|
|
|
// 服务器
|
|
|
|
|
fwqxx:[
|
|
|
|
|
{
|
|
|
|
|
sblx:"",
|
|
|
|
@ -2915,6 +2904,20 @@ export default {
|
|
|
|
|
type: 3,
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
// 地理位置
|
|
|
|
|
dlwz:[],
|
|
|
|
|
// 系统特征
|
|
|
|
|
xttz:[],
|
|
|
|
|
// 防篡改
|
|
|
|
|
xtfhqkFcg:[],
|
|
|
|
|
// 防泄漏
|
|
|
|
|
xtfhqkFxl:[],
|
|
|
|
|
// 防中断
|
|
|
|
|
xtfhqkFzd:[],
|
|
|
|
|
// 防勒索
|
|
|
|
|
xtfhqkFls:[],
|
|
|
|
|
|
|
|
|
|
rules:{},
|
|
|
|
|
disabled:false,
|
|
|
|
|
loading:false,
|
|
|
|
@ -2942,8 +2945,8 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
} else if (this.$route.query.pageType == 'change') {
|
|
|
|
|
this.disabled = true;
|
|
|
|
|
this.getInfo(obj)
|
|
|
|
|
this.disabled = false;
|
|
|
|
|
this.isMore = true;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
@ -2952,13 +2955,19 @@ export default {
|
|
|
|
|
getInfo(obj){
|
|
|
|
|
this.loading = true;
|
|
|
|
|
|
|
|
|
|
assetTasktaskSh(obj).then(res=>{
|
|
|
|
|
assetTasktaskSh(obj).then(res => {
|
|
|
|
|
this.ruleForm = res.data;
|
|
|
|
|
if(!this.ruleForm.xjgywxt) {
|
|
|
|
|
if (!this.ruleForm.xjgywxt) {
|
|
|
|
|
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]
|
|
|
|
|
}
|
|
|
|
|
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)
|
|
|
|
|
let jfywUnit = this.ruleForm.gylxxList.filter((item) => item.type == 3)
|
|
|
|
@ -2966,17 +2975,31 @@ export default {
|
|
|
|
|
let xtjsUnit = this.ruleForm.gylxxList.filter((item) => item.type == 5)
|
|
|
|
|
let xtyyUnit = this.ruleForm.gylxxList.filter((item) => item.type == 7)
|
|
|
|
|
let aqfwUnit = this.ruleForm.gylxxList.filter((item) => item.type == 6)
|
|
|
|
|
this.$set(this.ruleForm,'chepingUnit',chepingUnit.length > 0 ? chepingUnit : [{name:"",tyshxydm:"",lxr:"",lxdh:"",type:1}])
|
|
|
|
|
this.$set(this.ruleForm,'yjgysUnit',yjgysUnit.length > 0 ? yjgysUnit : [{name:"",tyshxydm:"",lxr:"",lxdh:"",type:2}])
|
|
|
|
|
this.$set(this.ruleForm,'jfywUnit',jfywUnit.length > 0 ? jfywUnit : [{name:"",tyshxydm:"",lxr:"",lxdh:"",type:3}])
|
|
|
|
|
this.$set(this.ruleForm,'xtsjUnit',xtsjUnit.length > 0 ? xtsjUnit : [{name:"",tyshxydm:"",lxr:"",lxdh:"",type:4}])
|
|
|
|
|
this.$set(this.ruleForm,'xtjsUnit',xtjsUnit.length > 0 ? xtjsUnit : [{name:"",tyshxydm:"",lxr:"",lxdh:"",type:5}])
|
|
|
|
|
this.$set(this.ruleForm,'xtyyUnit',xtyyUnit.length > 0 ? xtyyUnit : [{name:"",tyshxydm:"",lxr:"",lxdh:"",type:7}])
|
|
|
|
|
this.$set(this.ruleForm,'aqfwUnit',aqfwUnit.length > 0 ? aqfwUnit : [{name:"",tyshxydm:"",lxr:"",lxdh:"",type:6}])
|
|
|
|
|
|
|
|
|
|
this.fwqxx = (this.ruleForm.jcwlList.filter((item) => item.type == 1) == [] ? this.ruleForm.jcwlList.filter((item) => item.type == 1) : [{sblx:"",pp:"",ipType:"",sbIP:"",czxx:"",czxxbb:"",yjxh:"",yjxlh:"",yjbbxx:"",yjyt:"",yjbswz:"",type: 1}])
|
|
|
|
|
this.wlsb = (this.ruleForm.jcwlList.filter((item) => item.type == 2) == [] ? this.ruleForm.jcwlList.filter((item) => item.type == 2) : [{sblx:"",pp:"",ipType:"",sbIP:"",czxx:"",czxxbb:"",yjxh:"",yjxlh:"",yjbbxx:"",yjyt:"",yjbswz:"",type: 2}])
|
|
|
|
|
this.aqsb = (this.ruleForm.jcwlList.filter((item) => item.type == 3) == [] ? this.ruleForm.jcwlList.filter((item) => item.type == 3) : [{sblx:"",pp:"",ipType:"",sbIP:"",czxx:"",czxxbb:"",yjxh:"",yjxlh:"",yjbbxx:"",yjyt:"",yjbswz:"",type: 3}])
|
|
|
|
|
this.$set(this.ruleForm, 'chepingUnit', chepingUnit.length > 0 ? chepingUnit : [{ name: "", tyshxydm: "", lxr: "", lxdh: "", type: 1 }])
|
|
|
|
|
this.$set(this.ruleForm, 'yjgysUnit', yjgysUnit.length > 0 ? yjgysUnit : [{ name: "", tyshxydm: "", lxr: "", lxdh: "", type: 2 }])
|
|
|
|
|
this.$set(this.ruleForm, 'jfywUnit', jfywUnit.length > 0 ? jfywUnit : [{ name: "", tyshxydm: "", lxr: "", lxdh: "", type: 3 }])
|
|
|
|
|
this.$set(this.ruleForm, 'xtsjUnit', xtsjUnit.length > 0 ? xtsjUnit : [{ name: "", tyshxydm: "", lxr: "", lxdh: "", type: 4 }])
|
|
|
|
|
this.$set(this.ruleForm, 'xtjsUnit', xtjsUnit.length > 0 ? xtjsUnit : [{ name: "", tyshxydm: "", lxr: "", lxdh: "", type: 5 }])
|
|
|
|
|
this.$set(this.ruleForm, 'xtyyUnit', xtyyUnit.length > 0 ? xtyyUnit : [{ name: "", tyshxydm: "", lxr: "", lxdh: "", type: 7 }])
|
|
|
|
|
this.$set(this.ruleForm, 'aqfwUnit', aqfwUnit.length > 0 ? aqfwUnit : [{ name: "", tyshxydm: "", lxr: "", lxdh: "", type: 6 }])
|
|
|
|
|
|
|
|
|
|
let fwqxx = this.ruleForm.jcwlList.filter((item) => item.type == 1)
|
|
|
|
|
let wlsb = this.ruleForm.jcwlList.filter((item) => item.type == 2)
|
|
|
|
|
let aqsb = this.ruleForm.jcwlList.filter((item) => item.type == 3)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// this.ruleForm.fwqxx = (this.ruleForm.jcwlList.filter((item) => item.type == 1) == [] ? this.ruleForm.jcwlList.filter((item) => item.type == 1) : [{ sblx: "", pp: "", ipType: "", sbIP: "", czxx: "", czxxbb: "", yjxh: "", yjxlh: "", yjbbxx: "", yjyt: "", yjbswz: "", type: 1 }])
|
|
|
|
|
|
|
|
|
|
this.$set(this.ruleForm, 'fwqxx', fwqxx.length > 0 ? fwqxx : [{ sblx: "", pp: "", ipType: "", sbIP: "", czxx: "", czxxbb: "", yjxh: "", yjxlh: "", yjbbxx: "", yjyt: "", yjbswz: "", type: 1 }])
|
|
|
|
|
|
|
|
|
|
this.$set(this.ruleForm, 'wlsb', wlsb.length > 0 ? wlsb : [{ sblx: "", pp: "", ipType: "", sbIP: "", czxx: "", czxxbb: "", yjxh: "", yjxlh: "", yjbbxx: "", yjyt: "", yjbswz: "", type: 2 }])
|
|
|
|
|
|
|
|
|
|
this.$set(this.ruleForm, 'aqsb', aqsb.length > 0 ? aqsb : [{ sblx: "", pp: "", ipType: "", sbIP: "", czxx: "", czxxbb: "", yjxh: "", yjxlh: "", yjbbxx: "", yjyt: "", yjbswz: "", type: 3 }])
|
|
|
|
|
|
|
|
|
|
// this.ruleForm.wlsb = (this.ruleForm.jcwlList.filter((item) => item.type == 2) == [] ? this.ruleForm.jcwlList.filter((item) => item.type == 2) : [{ sblx: "", pp: "", ipType: "", sbIP: "", czxx: "", czxxbb: "", yjxh: "", yjxlh: "", yjbbxx: "", yjyt: "", yjbswz: "", type: 2 }])
|
|
|
|
|
|
|
|
|
|
// this.ruleForm.aqsb = (this.ruleForm.jcwlList.filter((item) => item.type == 3) == [] ? this.ruleForm.jcwlList.filter((item) => item.type == 3) : [{ sblx: "", pp: "", ipType: "", sbIP: "", czxx: "", czxxbb: "", yjxh: "", yjxlh: "", yjbbxx: "", yjyt: "", yjbswz: "", type: 3 }])
|
|
|
|
|
|
|
|
|
|
this.ruleForm.xtfhqkFcg ? this.xtfhqkFcg = this.ruleForm.xtfhqkFcg.split(',') : [];
|
|
|
|
|
this.ruleForm.xtfhqkFcg ? this.xtfhqkFxl = this.ruleForm.xtfhqkFxl.split(',') : [];
|
|
|
|
@ -2984,15 +3007,16 @@ export default {
|
|
|
|
|
this.ruleForm.xtfhqkFcg ? this.xtfhqkFls = this.ruleForm.xtfhqkFls.split(',') : [];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(this.ruleForm.sheng && this.ruleForm.shi && this.ruleForm.qu) {
|
|
|
|
|
this.dlwz = [this.ruleForm.sheng,this.ruleForm.shi,this.ruleForm.qu]
|
|
|
|
|
} else if(this.ruleForm.sheng && this.ruleForm.shi) {
|
|
|
|
|
this.dlwz = [this.ruleForm.sheng,this.ruleForm.shi]
|
|
|
|
|
} else if(this.ruleForm.sheng) {
|
|
|
|
|
if (this.ruleForm.sheng && this.ruleForm.shi && this.ruleForm.qu) {
|
|
|
|
|
this.dlwz = [this.ruleForm.sheng, this.ruleForm.shi, this.ruleForm.qu]
|
|
|
|
|
} else if (this.ruleForm.sheng && this.ruleForm.shi) {
|
|
|
|
|
this.dlwz = [this.ruleForm.sheng, this.ruleForm.shi]
|
|
|
|
|
} else if (this.ruleForm.sheng) {
|
|
|
|
|
this.dlwz = [this.ruleForm.sheng]
|
|
|
|
|
}
|
|
|
|
|
this.loading = false
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
this.loading = false;
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
changeRadio(id){
|
|
|
|
|