|
|
|
@ -21,7 +21,7 @@
|
|
|
|
|
<el-form-item label="单位名称" required :rules="{
|
|
|
|
|
required: true, message: '请输入', trigger: 'blur'
|
|
|
|
|
}" prop="dwmc" disabled>
|
|
|
|
|
<el-input v-model="ruleForm.dwmc" ></el-input>
|
|
|
|
|
<el-input v-model="ruleForm.dwmc" disabled></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
@ -2642,11 +2642,11 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12" style="margin-left: 10px;">
|
|
|
|
|
<el-form-item label="是否涉密数据" required :prop="`sjzcSmsj`" :rules="{
|
|
|
|
|
<el-form-item label="数据量单位" required :prop="`sjzcSjldw`" :rules="{
|
|
|
|
|
required: true, message: '请输入', trigger: 'blur'
|
|
|
|
|
}">
|
|
|
|
|
<el-select v-model="ruleForm.sjzcSmsj" placeholder="请选择是否涉密数据">
|
|
|
|
|
<el-option v-for="dict in dict.type.is_no" :key="dict.value" :label="dict.label"
|
|
|
|
|
<el-select v-model="ruleForm.sjzcSjldw" placeholder="请选择数据量单位">
|
|
|
|
|
<el-option v-for="dict in dict.type.sjzc_sjldw" :key="dict.value" :label="dict.label"
|
|
|
|
|
:value="dict.value" />
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -2685,6 +2685,16 @@
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12" style="margin-left: 10px;">
|
|
|
|
|
<el-form-item label="是否涉密数据" required :prop="`sjzcSmsj`" :rules="{
|
|
|
|
|
required: true, message: '请输入', trigger: 'blur'
|
|
|
|
|
}">
|
|
|
|
|
<el-select v-model="ruleForm.sjzcSmsj" placeholder="请选择是否涉密数据">
|
|
|
|
|
<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 style="display: flex;">
|
|
|
|
|
<el-col :span="24">
|
|
|
|
@ -2773,17 +2783,20 @@
|
|
|
|
|
import pcas from "@/utils/pca-code.json"
|
|
|
|
|
import myUpload from "@/views/components/myUpload/index.vue";
|
|
|
|
|
import { assetUnitData, assetInfo } from "@/api/auditPagesApi/index";
|
|
|
|
|
import { assetTasktaskSh, geassetTaskcHc, assetTasksh } from "@/api/renwuApi/index.js"
|
|
|
|
|
import { assetTasktaskSh, geassetTaskcHc, assetTasksh,assetTaskhistory } from "@/api/renwuApi/index.js"
|
|
|
|
|
import myDialog from "@/views/components/myDialog/index.vue"
|
|
|
|
|
import myMixin from '@/views/components/renwuType/minxfanhui.js';
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
mixins: [myMixin],
|
|
|
|
|
|
|
|
|
|
name: "AssetsAuth",
|
|
|
|
|
dicts: [
|
|
|
|
|
'is_no', 'zc_xtlx', 'zc_xtzyx', 'zc_xtzt', 'zc_zxzt', 'zc_c_i_a',
|
|
|
|
|
'zc_yhgm', 'zc_xtbsfs', 'zc_hlwkfyt', 'fgfw', 'wlxz', 'ywlx', 'hlqk', 'fwdx',
|
|
|
|
|
'fwfw', 'dbxx_dbdj', 'dbxx_zjps', 'sf_cpszsdj', 'sjzc_gxsx', 'sjzc_kfsx', 'sjzc_sjly',
|
|
|
|
|
'sjzc_gxzq', 'sjzc_sjfjfl', 'fwq_czxt', 'wlw_fwdx', 'wlw_wlhlqk', 'wlw_fwfw', 'dwlx', 'sb_ip',
|
|
|
|
|
'xtfhqk_fcg', 'xtfhqk_fxl', 'xtfhqk_fzd', 'xtfhqk_fls', 'database_type'
|
|
|
|
|
'xtfhqk_fcg', 'xtfhqk_fxl', 'xtfhqk_fzd', 'xtfhqk_fls', 'database_type',"sjzc_sjldw"
|
|
|
|
|
],
|
|
|
|
|
components: {
|
|
|
|
|
myUpload,
|
|
|
|
@ -3039,14 +3052,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
sendBack() {
|
|
|
|
|
if (localStorage.getItem('ismypaginationTow')) {
|
|
|
|
|
let formInline = JSON.parse(localStorage.getItem('ismypaginationTow'))
|
|
|
|
|
formInline.isfanhuiTow = true
|
|
|
|
|
localStorage.setItem("ismypaginationTow", JSON.stringify(formInline))
|
|
|
|
|
}
|
|
|
|
|
this.$router.go(-1);
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
importClose() { },
|
|
|
|
|
// 关闭新增弹窗
|
|
|
|
|
resetForm() {
|
|
|
|
@ -3058,70 +3064,157 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
// 获取详情
|
|
|
|
|
getInfo(obj) {
|
|
|
|
|
this.loading = true;
|
|
|
|
|
|
|
|
|
|
assetTasktaskSh(obj).then(res => {
|
|
|
|
|
this.ruleForm = res.data;
|
|
|
|
|
if (!this.ruleForm.xjgywxt) {
|
|
|
|
|
this.ruleForm.xjgywxt = {}
|
|
|
|
|
this.$set(this.ruleForm.xjgywxt, 'remark', "")
|
|
|
|
|
if (this.$route.query.istijiaoshow) {
|
|
|
|
|
this.loading = true;
|
|
|
|
|
|
|
|
|
|
let obj = {
|
|
|
|
|
id: this.$route.query.assetId,
|
|
|
|
|
type: this.$route.query.type
|
|
|
|
|
}
|
|
|
|
|
assetTaskhistory(obj).then(res => {
|
|
|
|
|
|
|
|
|
|
this.ruleForm = res.data.assetCurrentHistory;
|
|
|
|
|
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]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (this.ruleForm.glymList.length == 0) {
|
|
|
|
|
this.ruleForm.glymList.push({ key: "" })
|
|
|
|
|
}
|
|
|
|
|
if (this.ruleForm.fwwz) {
|
|
|
|
|
let arr = this.ruleForm.fwwz.split("-")
|
|
|
|
|
this.select = arr[0]
|
|
|
|
|
this.ruleForm.fwwz = arr[1]
|
|
|
|
|
if (this.ruleForm.glIpList.length == 0) {
|
|
|
|
|
this.ruleForm.glIpList.push({ key: "" })
|
|
|
|
|
}
|
|
|
|
|
this.ruleForm.xttz ? this.xttz = this.ruleForm.xttz.split(',') : [];
|
|
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
let xtsjUnit = this.ruleForm.gylxxList.filter((item) => item.type == 4)
|
|
|
|
|
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)
|
|
|
|
|
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)
|
|
|
|
|
let xtsjUnit = this.ruleForm.gylxxList.filter((item) => item.type == 4)
|
|
|
|
|
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.$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)
|
|
|
|
|
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.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, '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, '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.$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.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.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(',') : [];
|
|
|
|
|
this.ruleForm.xtfhqkFcg ? this.xtfhqkFzd = this.ruleForm.xtfhqkFzd.split(',') : [];
|
|
|
|
|
this.ruleForm.xtfhqkFcg ? this.xtfhqkFls = this.ruleForm.xtfhqkFls.split(',') : [];
|
|
|
|
|
this.ruleForm.xtfhqkFcg ? this.xtfhqkFcg = this.ruleForm.xtfhqkFcg.split(',') : [];
|
|
|
|
|
this.ruleForm.xtfhqkFcg ? this.xtfhqkFxl = this.ruleForm.xtfhqkFxl.split(',') : [];
|
|
|
|
|
this.ruleForm.xtfhqkFcg ? this.xtfhqkFzd = this.ruleForm.xtfhqkFzd.split(',') : [];
|
|
|
|
|
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) {
|
|
|
|
|
this.dlwz = [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
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
this.loading = true;
|
|
|
|
|
|
|
|
|
|
assetTasktaskSh(obj).then(res => {
|
|
|
|
|
this.ruleForm = res.data;
|
|
|
|
|
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]
|
|
|
|
|
}
|
|
|
|
|
if (this.ruleForm.glymList.length == 0) {
|
|
|
|
|
this.ruleForm.glymList.push({ key: "" })
|
|
|
|
|
}
|
|
|
|
|
this.loading = false
|
|
|
|
|
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)
|
|
|
|
|
let jfywUnit = this.ruleForm.gylxxList.filter((item) => item.type == 3)
|
|
|
|
|
let xtsjUnit = this.ruleForm.gylxxList.filter((item) => item.type == 4)
|
|
|
|
|
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 }])
|
|
|
|
|
|
|
|
|
|
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(',') : [];
|
|
|
|
|
this.ruleForm.xtfhqkFcg ? this.xtfhqkFzd = this.ruleForm.xtfhqkFzd.split(',') : [];
|
|
|
|
|
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) {
|
|
|
|
|
this.dlwz = [this.ruleForm.sheng]
|
|
|
|
|
}
|
|
|
|
|
this.loading = false
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
changeRadio(id) {
|
|
|
|
@ -3251,7 +3344,9 @@ export default {
|
|
|
|
|
xtmc: this.ruleForm.xtmc,
|
|
|
|
|
btgyy: this.dialogruleForm.btgyy,
|
|
|
|
|
status: 4,
|
|
|
|
|
type: this.$route.query.type
|
|
|
|
|
type: this.$route.query.type,
|
|
|
|
|
assetCurrentCpPo: this.ruleForm
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
assetTasksh(tijioaobj).then(res => {
|
|
|
|
|
if (res.code == 200) {
|
|
|
|
@ -3274,7 +3369,21 @@ export default {
|
|
|
|
|
|
|
|
|
|
//不通过
|
|
|
|
|
if (type == 0) {
|
|
|
|
|
this.$refs.liebiaoDialog.open()
|
|
|
|
|
|
|
|
|
|
this.$refs['ruleForm'].validate((valid) => {
|
|
|
|
|
if (valid) {
|
|
|
|
|
this.$refs.liebiaoDialog.open()
|
|
|
|
|
} else {
|
|
|
|
|
this.loading = false
|
|
|
|
|
|
|
|
|
|
this.$message({
|
|
|
|
|
type: 'info',
|
|
|
|
|
message: '请填写完整'
|
|
|
|
|
});
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
if (type == 1) {
|
|
|
|
@ -3289,7 +3398,7 @@ export default {
|
|
|
|
|
dwmc: this.$route.query.zcdwmc,
|
|
|
|
|
status: 3,
|
|
|
|
|
type: this.$route.query.type,
|
|
|
|
|
assetCurrentCpPo:this.ruleForm
|
|
|
|
|
assetCurrentCpPo: this.ruleForm
|
|
|
|
|
}
|
|
|
|
|
tijioaobj.status = 3
|
|
|
|
|
assetTasksh(tijioaobj).then(res => {
|
|
|
|
|