xuhongjie^2
李劲龙 1 month ago
parent dfa214f8cb
commit 3174a68fa5

@ -78,6 +78,18 @@ Vue.use(Element, {
Vue.config.productionTip = false Vue.config.productionTip = false
document.addEventListener('input',function (e) {
// input框 type='text'
//e.target.getAttribute('maxlength') === null本身没有设置maxlength长度防止全局设置覆盖所在页面设置的长度
if(e.target.type === 'text' && e.target.getAttribute('maxlength') === null) {
e.target.setAttribute('maxlength','1000') // 限制最长输入50个字符
}
// input框 type='textarea'且本身没有设置maxlength长度
if(e.target.type === 'textarea' && e.target.getAttribute('maxlength') === null) {
e.target.setAttribute('maxlength','500') // 限制最长输入500个字符
}
})
new Vue({ new Vue({
el: '#app', el: '#app',
router, router,

@ -147,7 +147,7 @@
</el-form-item> </el-form-item>
<el-form-item label="核查单位" prop="dwmc" class="select-box"> <el-form-item label="核查单位" prop="dwmc" class="select-box">
<el-col> <el-col>
<el-select v-model="ruleForm.dwmc" placeholder="请选择核查单位" multiple collapse-tags> <el-select v-model="ruleForm.dwmc" placeholder="请选择核查单位" multiple collapse-tags @remove-tag="isclear">
</el-select> </el-select>
</el-col> </el-col>
<el-col class="btn-box"> <el-col class="btn-box">
@ -288,6 +288,11 @@ export default {
window.removeEventListener('resize', this.cancalDebounce); window.removeEventListener('resize', this.cancalDebounce);
}, },
methods: { methods: {
isclear(value,index){
this.tabclicklist = this.tabclicklist.filter(user => user.nickName != value)
},
disabledDate(time) { disabledDate(time) {
// //
console.log(time); console.log(time);
@ -409,9 +414,9 @@ export default {
setTimeout(() => { setTimeout(() => {
this.$refs.danweiList.getType(this.ruleForm.type) this.$refs.danweiList.getType(this.ruleForm.type)
this.$refs.danweiList.getList() // this.$refs.danweiList.getList()
}, 100); }, 10);
if (this.tabclicklist) { if (this.tabclicklist) {
setTimeout(() => { setTimeout(() => {
this.$refs.danweiList.dakai(this.tabclicklist) this.$refs.danweiList.dakai(this.tabclicklist)

@ -180,7 +180,7 @@
<span class="look-info" style="color: #1485EF;">查看原因</span> <span class="look-info" style="color: #1485EF;">查看原因</span>
</div> </div>
<div style="display: flex;align-items: center;cursor: pointer;margin-left: 5px;" <div style="display: flex;align-items: center;cursor: pointer;margin-left: 5px;"
@click="looklishi(scope.row)" v-if="scope.row.status != 0"> @click="looklishi(scope.row)" v-if="scope.row.status != 0 && scope.row.status != 5">
<img src="@/assets/images/icon-ck@2x.png" alt="" style="width: 20px;margin-right: 5px;"> <img src="@/assets/images/icon-ck@2x.png" alt="" style="width: 20px;margin-right: 5px;">
<span class="look-info" style="color: #1485EF;">提交记录</span> <span class="look-info" style="color: #1485EF;">提交记录</span>
</div> </div>
@ -381,7 +381,9 @@ export default {
{ value: 0, name: '正常完成', taskStatus: "2" }, { value: 0, name: '正常完成', taskStatus: "2" },
{ value: 0, name: '超期完成', taskStatus: "3" }, { value: 0, name: '超期完成', taskStatus: "3" },
], ],
lookassetId:"" lookassetId: "",
pageTypetow: "",
taskisid: ""
} }
}, },
mounted() { mounted() {
@ -403,6 +405,7 @@ export default {
localStorage.removeItem("ismypaginationTow") localStorage.removeItem("ismypaginationTow")
} }
} }
this.pageTypetow = this.$route.query.pageType
@ -413,16 +416,16 @@ export default {
methods: { methods: {
tjiaojilchakan(row) { tjiaojilchakan(row) {
console.log(row); console.log();
this.$router.push({ this.$router.push({
name: 'taskAuditInfolishichakan', query: { name: 'taskAuditInfolishichakan', query: {
pageType: "look", pageType: "look",
taskId: this.$route.query.id, taskId: this.taskisid,
assetId: row.id, assetId: row.id,
lookassetId:this.lookassetId, lookassetId: this.lookassetId,
type: this.activeName, type: this.activeName,
pageType:this.$route.query.info, pageTypetow: this.pageTypetow,
istijiaoshow: true istijiaoshow: true
} }
}) })
@ -431,13 +434,19 @@ export default {
console.log(row); console.log(row);
this.lookassetId = row.id this.lookassetId = row.id
let obj = { let obj = {
"assetId": row.id-0, "assetId": row.id - 0,
"taskId": row.taskId-0, "taskId": row.taskId - 0,
"type": this.activeName-0 "type": this.activeName - 0
} }
assetTaskzcTj(obj).then(res=>{ assetTaskzcTj(obj).then(res => {
this.tableDatajilu = res.data this.tableDatajilu = res.data
if(this.tableDatajilu.length !=0){
this.tableDatajilu.forEach(res=>{
res.status = 4
})
this.tableDatajilu[0].status = 1
}
this.$refs.zichantijiaojil.open() this.$refs.zichantijiaojil.open()
}) })
@ -590,9 +599,17 @@ export default {
} }
if (this.$route.query.istijiaoshow) { if (this.$route.query.istijiaoshow) {
this.looklishi({ this.looklishi({
taskId:this.$route.query.id, taskId: this.$route.query.id,
id:this.$route.query.lookassetId id: this.$route.query.lookassetId
}) })
const query = { ...this.$route.query };
//
if (query.istijiaoshow) {
delete query.istijiaoshow;
// 使 $router.replace()
this.$router.replace({ query });
}
} }
this.handleQuery(); this.handleQuery();
@ -601,6 +618,8 @@ export default {
getassetTaskid(this.$route.query.id || this.$route.meta.id).then(res => { getassetTaskid(this.$route.query.id || this.$route.meta.id).then(res => {
if (res.code == 200) { if (res.code == 200) {
this.titleInfoObj = res.data this.titleInfoObj = res.data
this.taskisid = res.data.id
this.titleInfoObjtype(this.titleInfoObj.type) this.titleInfoObjtype(this.titleInfoObj.type)
} }
}) })

@ -485,12 +485,12 @@
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item class="daoqitixingren" :label="'系统域名' + (index == 0 ? '' : index)"> <el-form-item class="daoqitixingren" :label="'系统域名' + (index == 0 ? '' : index)">
<el-input v-model="domain.tyshxydm" placeholder="请输入系统域名"></el-input> <el-input v-model="domain.xtym" placeholder="请输入系统域名"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="7"> <el-col :span="7">
<el-form-item class="daoqitixingren" :label="'系统名称' + (index == 0 ? '' : index)"> <el-form-item class="daoqitixingren" :label="'系统名称' + (index == 0 ? '' : index)">
<el-input v-model="domain.lxdh" placeholder="请输入系统名称"></el-input> <el-input v-model="domain.xthc" placeholder="请输入系统名称"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="1" style="text-align: center;" v-if="$route.query.pageType !== 'look'"> <el-col :span="1" style="text-align: center;" v-if="$route.query.pageType !== 'look'">
@ -520,7 +520,7 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-form-item :label="'检查结果' + (index == 0 ? '' : index)"> <el-form-item :label="'检查结果' + (index == 0 ? '' : index)">
<el-input type="textarea" resize="none" placeholder="请输入检查结果" :rows="5" v-model="domain.xgyw_ywms"></el-input> <el-input type="textarea" resize="none" placeholder="请输入检查结果" :rows="5" v-model="domain.jcjg"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>

@ -2419,9 +2419,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" style="margin-left: 10px;"> <el-col :span="12" style="margin-left: 10px;">
<el-form-item label="数据量单位" required :prop="`sjzcSjldw`" :rules="{ <el-form-item label="数据量单位" required >
required: true, message: '请输入', trigger: 'blur'
}">
<el-select v-model="ruleForm.sjzcSjldw" placeholder="请选择数据量单位"> <el-select v-model="ruleForm.sjzcSjldw" placeholder="请选择数据量单位">
<el-option v-for="dict in dict.type.sjzc_sjldw" :key="dict.value" :label="dict.label" <el-option v-for="dict in dict.type.sjzc_sjldw" :key="dict.value" :label="dict.label"
:value="dict.value" /> :value="dict.value" />
@ -2439,7 +2437,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" style="margin-left: 10px;"> <el-col :span="12" style="margin-left: 10px;">
<el-form-item label="数据分级分类" required> <el-form-item label="数据分级分类" required >
<el-select v-model="ruleForm.sjzcSjfjfl" placeholder="请选择数据分级分类"> <el-select v-model="ruleForm.sjzcSjfjfl" placeholder="请选择数据分级分类">
<el-option v-for="dict in dict.type.sjzc_sjfjfl" :key="dict.value" :label="dict.label" <el-option v-for="dict in dict.type.sjzc_sjfjfl" :key="dict.value" :label="dict.label"
:value="dict.value" /> :value="dict.value" />
@ -2457,9 +2455,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" style="margin-left: 10px;"> <el-col :span="12" style="margin-left: 10px;">
<el-form-item label="是否涉密数据" required :prop="`sjzcSmsj`" :rules="{ <el-form-item label="是否涉密数据" required >
required: true, message: '请输入', trigger: 'blur'
}">
<el-select v-model="ruleForm.sjzcSmsj" placeholder="请选择是否涉密数据"> <el-select v-model="ruleForm.sjzcSmsj" placeholder="请选择是否涉密数据">
<el-option v-for="dict in dict.type.is_no" :key="dict.value" :label="dict.label" <el-option v-for="dict in dict.type.is_no" :key="dict.value" :label="dict.label"
:value="dict.value" /> :value="dict.value" />

@ -2661,7 +2661,7 @@
</el-col> </el-col>
<el-col :span="12" style="margin-left: 10px;"> <el-col :span="12" style="margin-left: 10px;">
<el-form-item label="数据分级分类" required :prop="`sjzcSjfjfl`" :rules="{ <el-form-item label="数据分级分类" required :prop="`sjzcSjfjfl`" :rules="{
required: true, message: '请输入', trigger: 'blur' required: true, message: '请输入', trigger: 'change'
}"> }">
<el-select v-model="ruleForm.sjzcSjfjfl" placeholder="请选择数据分级分类"> <el-select v-model="ruleForm.sjzcSjfjfl" placeholder="请选择数据分级分类">
<el-option v-for="dict in dict.type.sjzc_sjfjfl" :key="dict.value" :label="dict.label" <el-option v-for="dict in dict.type.sjzc_sjfjfl" :key="dict.value" :label="dict.label"

@ -44,7 +44,7 @@ export default {
}, },
created () { }, created () { },
mounted () { }, mounted () { },
props:['chuandemingcheng', 'assetTaskzc'], props:['chuandemingcheng', 'assetTaskzc',"dataname","ruleForm"],
methods: { methods: {
importClose(){}, importClose(){},
resetForm() { resetForm() {
@ -70,6 +70,7 @@ export default {
status: 4, status: 4,
type:this.$route.query.type type:this.$route.query.type
} }
tijioaobj[this.dataname] = this.ruleForm
assetTasksh(tijioaobj).then(res=>{ assetTasksh(tijioaobj).then(res=>{
if(res.code == 200){ if(res.code == 200){
this.$modal.msgSuccess("审核成功"); this.$modal.msgSuccess("审核成功");

@ -215,12 +215,13 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row v-if="ruleForm.bfyy"> <el-row style="margin: 10px 0;" v-if="ruleForm.bfyy">
<el-col :span="24"> <span class="top-title-box">关停原因</span>
<el-form-item label="关停原因"> </el-row>
                <div>{{ ruleForm.bfyy }}</div> <el-row style="margin: 20px 0;">
              </el-form-item> <el-form-item>
</el-col> <div>{{ ruleForm.bfyy }}</div>
</el-form-item>
</el-row> </el-row>
</el-form> </el-form>
@ -246,7 +247,8 @@
</div> </div>
</div> </div>
<baofei ref='baofei' :ruleForm='ruleForm' @assetTaskzc="guanting"></baofei> <baofei ref='baofei' :ruleForm='ruleForm' @assetTaskzc="guanting"></baofei>
<butongguo ref='butongguo' :chuandemingcheng='ruleForm.xcxmc'></butongguo> <butongguo ref='butongguo' :chuandemingcheng='ruleForm.xcxmc' :ruleForm="this.ruleForm"
dataname="assetMiniProgramsCpPo"></butongguo>
</div> </div>
</template> </template>
<script> <script>
@ -471,9 +473,11 @@ export default {
this.ruleForm.taskId = this.$route.query.taskId this.ruleForm.taskId = this.$route.query.taskId
this.ruleForm.assetId = this.$route.query.assetId this.ruleForm.assetId = this.$route.query.assetId
if (type == 0) { if (type == 0) {
this.$refs['ruleForm'].validate((valid) => {
this.$refs.butongguo.open() this.$refs.butongguo.open()
})
} }
if (type == 1) { if (type == 1) {

@ -328,12 +328,13 @@
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
<el-row v-if="ruleForm.bfyy"> <el-row style="margin: 10px 0;" v-if="ruleForm.bfyy">
<el-col :span="24"> <span class="top-title-box">关停原因</span>
<el-form-item label="关停原因"> </el-row>
                <div>{{ ruleForm.bfyy }}</div> <el-row style="margin: 20px 0;">
              </el-form-item> <el-form-item>
</el-col> <div>{{ ruleForm.bfyy }}</div>
</el-form-item>
</el-row> </el-row>
</el-form> </el-form>
@ -360,7 +361,7 @@
</div> </div>
</div> </div>
<baofei ref='baofei' :ruleForm='ruleForm' @assetTaskzc="guanting"></baofei> <baofei ref='baofei' :ruleForm='ruleForm' @assetTaskzc="guanting"></baofei>
<butongguo ref='butongguo' :chuandemingcheng='ruleForm.gzhmc'></butongguo> <butongguo ref='butongguo' :chuandemingcheng='ruleForm.gzhmc' :ruleForm="this.ruleForm" dataname="assetOfficialAccountCpPo"></butongguo>
</div> </div>
</template> </template>
<script> <script>
@ -610,7 +611,11 @@ export default {
this.ruleForm.assetId = this.$route.query.assetId this.ruleForm.assetId = this.$route.query.assetId
if (type == 0) { if (type == 0) {
this.$refs.butongguo.open() this.$refs['ruleForm'].validate((valid) => {
this.$refs.butongguo.open()
})
} }
if (type == 1) { if (type == 1) {

@ -158,12 +158,13 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row v-if="ruleForm.bfyy"> <el-row style="margin: 10px 0;" v-if="ruleForm.bfyy">
<el-col :span="24"> <span class="top-title-box">关停原因</span>
<el-form-item label="关停原因"> </el-row>
                <div>{{ ruleForm.bfyy }}</div> <el-row style="margin: 20px 0;">
              </el-form-item> <el-form-item>
</el-col> <div>{{ ruleForm.bfyy }}</div>
</el-form-item>
</el-row> </el-row>
@ -190,7 +191,7 @@
</div> </div>
</div> </div>
<baofei ref='baofei' :ruleForm='ruleForm' @assetTaskzc="guanting"></baofei> <baofei ref='baofei' :ruleForm='ruleForm' @assetTaskzc="guanting"></baofei>
<butongguo ref='butongguo' :chuandemingcheng='ruleForm.gzhmc'></butongguo> <butongguo ref='butongguo' :chuandemingcheng='ruleForm.gzhmc' :ruleForm="this.ruleForm" dataname="assetEmailCpPo"></butongguo>
</div> </div>
</template> </template>
<script> <script>
@ -394,7 +395,11 @@ export default {
this.ruleForm.assetId = this.$route.query.assetId this.ruleForm.assetId = this.$route.query.assetId
if (type == 0) { if (type == 0) {
this.$refs.butongguo.open() this.$refs['ruleForm'].validate((valid) => {
this.$refs.butongguo.open()
})
} }
if (type == 1) { if (type == 1) {

@ -145,12 +145,13 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row v-if="ruleForm.bfyy"> <el-row style="margin: 10px 0;" v-if="ruleForm.bfyy">
<el-col :span="24"> <span class="top-title-box">关停原因</span>
<el-form-item label="关停原因"> </el-row>
                <div>{{ ruleForm.bfyy }}</div> <el-row style="margin: 20px 0;">
              </el-form-item> <el-form-item>
</el-col> <div>{{ ruleForm.bfyy }}</div>
</el-form-item>
</el-row> </el-row>
@ -178,7 +179,7 @@
</div> </div>
</div> </div>
<baofei ref='baofei' :ruleForm='ruleForm' @assetTaskzc="guanting"></baofei> <baofei ref='baofei' :ruleForm='ruleForm' @assetTaskzc="guanting"></baofei>
<butongguo ref='butongguo' :chuandemingcheng='ruleForm.appName'></butongguo> <butongguo ref='butongguo' :chuandemingcheng='ruleForm.appName' :ruleForm="this.ruleForm" dataname="assetAppCpPo"></butongguo>
</div> </div>
</template> </template>
<script> <script>
@ -385,7 +386,11 @@ export default {
this.ruleForm.assetId = this.$route.query.assetId this.ruleForm.assetId = this.$route.query.assetId
if (type == 0) { if (type == 0) {
this.$refs.butongguo.open() this.$refs['ruleForm'].validate((valid) => {
this.$refs.butongguo.open()
})
} }
if (type == 1) { if (type == 1) {

@ -18,11 +18,11 @@ export default {
if (this.$route.query.istijiaoshow) { if (this.$route.query.istijiaoshow) {
this.$router.push({ this.$router.push({
name: 'TaskInfo', query: { name: 'TaskInfo', query: {
pageType: "look", // pageType: "look",
id: this.$route.query.taskId, id: this.$route.query.taskId,
assetId: this.$route.query.lookassetId, assetId: this.$route.query.lookassetId,
lookassetId: this.$route.query.lookassetId, lookassetId: this.$route.query.lookassetId,
pageType: this.$route.query.info, pageType: this.$route.query.pageTypetow,
istijiaoshow: true istijiaoshow: true
} }
}) })

@ -2665,7 +2665,7 @@
</el-col> </el-col>
<el-col :span="12" style="margin-left: 10px;"> <el-col :span="12" style="margin-left: 10px;">
<el-form-item label="数据分级分类" required :prop="`sjzcSjfjfl`" :rules="{ <el-form-item label="数据分级分类" required :prop="`sjzcSjfjfl`" :rules="{
required: true, message: '请输入', trigger: 'blur' required: true, message: '请输入', trigger: 'change'
}"> }">
<el-select v-model="ruleForm.sjzcSjfjfl" placeholder="请选择数据分级分类"> <el-select v-model="ruleForm.sjzcSjfjfl" placeholder="请选择数据分级分类">
<el-option v-for="dict in dict.type.sjzc_sjfjfl" :key="dict.value" :label="dict.label" <el-option v-for="dict in dict.type.sjzc_sjfjfl" :key="dict.value" :label="dict.label"
@ -3075,78 +3075,24 @@ export default {
assetTaskhistory(obj).then(res => { assetTaskhistory(obj).then(res => {
this.ruleForm = res.data.assetCurrentHistory; this.ruleForm = res.data.assetCurrentHistory;
if (!this.ruleForm.xjgywxt) { this.hebingfun()
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)
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
}) })
} else { } else {
this.loading = true; this.loading = true;
assetTasktaskSh(obj).then(res => { assetTasktaskSh(obj).then(res => {
this.ruleForm = res.data; this.ruleForm = res.data;
this.hebingfun()
})
}
},
hebingfun(){
if (!this.ruleForm.xjgywxt) { if (!this.ruleForm.xjgywxt) {
this.ruleForm.xjgywxt = {} this.ruleForm.xjgywxt = {}
this.$set(this.ruleForm.xjgywxt, 'remark', "") this.$set(this.ruleForm.xjgywxt, 'remark', "")
@ -3156,12 +3102,14 @@ export default {
this.select = arr[0] this.select = arr[0]
this.ruleForm.fwwz = arr[1] this.ruleForm.fwwz = arr[1]
} }
if (this.ruleForm.glymList.length == 0) { if (this.ruleForm.glymList.length == 0) {
this.ruleForm.glymList.push({ key: "" }) this.ruleForm.glymList.push({ key: "" })
} }
if (this.ruleForm.glIpList.length == 0) { if (this.ruleForm.glIpList.length == 0) {
this.ruleForm.glIpList.push({ key: "" }) 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 chepingUnit = this.ruleForm.gylxxList.filter((item) => item.type == 1)
@ -3211,11 +3159,6 @@ export default {
this.dlwz = [this.ruleForm.sheng] this.dlwz = [this.ruleForm.sheng]
} }
this.loading = false this.loading = false
})
}
}, },
changeRadio(id) { changeRadio(id) {
this.ruleForm.xjgywxt = { this.ruleForm.xjgywxt = {

@ -2665,7 +2665,7 @@
</el-col> </el-col>
<el-col :span="12" style="margin-left: 10px;"> <el-col :span="12" style="margin-left: 10px;">
<el-form-item label="数据分级分类" required :prop="`sjzcSjfjfl`" :rules="{ <el-form-item label="数据分级分类" required :prop="`sjzcSjfjfl`" :rules="{
required: true, message: '请输入', trigger: 'blur' required: true, message: '请输入', trigger: 'change'
}"> }">
<el-select v-model="ruleForm.sjzcSjfjfl" placeholder="请选择数据分级分类"> <el-select v-model="ruleForm.sjzcSjfjfl" placeholder="请选择数据分级分类">
<el-option v-for="dict in dict.type.sjzc_sjfjfl" :key="dict.value" :label="dict.label" <el-option v-for="dict in dict.type.sjzc_sjfjfl" :key="dict.value" :label="dict.label"

@ -153,6 +153,7 @@ export default {
userName: undefined, userName: undefined,
nickName: undefined, nickName: undefined,
dwlx: undefined, dwlx: undefined,
type:"0",
}, },
// //
@ -169,7 +170,7 @@ export default {
} }
}, },
created() { created() {
this.getList(); // this.getType();
// this.getConfigKey("sys.user.initPassword").then(response => { // this.getConfigKey("sys.user.initPassword").then(response => {
// this.initPassword = response.msg; // this.initPassword = response.msg;
// }); // });
@ -237,6 +238,7 @@ export default {
}, },
getType(type){ getType(type){
this.queryParams.type = type.join(",") this.queryParams.type = type.join(",")
this.getList()
}, },
/** 查询用户列表 */ /** 查询用户列表 */
getList(type) { getList(type) {

@ -2637,7 +2637,7 @@
</el-col> </el-col>
<el-col :span="12" style="margin-left: 10px;"> <el-col :span="12" style="margin-left: 10px;">
<el-form-item label="数据分级分类" required :prop="`sjzcSjfjfl`" :rules="{ <el-form-item label="数据分级分类" required :prop="`sjzcSjfjfl`" :rules="{
required: true, message: '请输入', trigger: 'blur' required: true, message: '请输入', trigger: 'change'
}"> }">
<el-select v-model="ruleForm.sjzcSjfjfl" placeholder="请选择数据分级分类"> <el-select v-model="ruleForm.sjzcSjfjfl" placeholder="请选择数据分级分类">
<el-option v-for="dict in dict.type.sjzc_sjfjfl" :key="dict.value" :label="dict.label" <el-option v-for="dict in dict.type.sjzc_sjfjfl" :key="dict.value" :label="dict.label"

@ -484,7 +484,7 @@
<el-row style="display: flex;"> <el-row style="display: flex;">
<el-col :span="8"> <el-col :span="8">
<el-form-item class="daoqitixingren" :label="'时间' + (index == 0 ? '' : index)" <el-form-item class="daoqitixingren" :label="'时间' + (index == 0 ? '' : index)"
:prop="`jcxxList[${index}].sj`"
> >
<el-date-picker <el-date-picker
@ -498,12 +498,12 @@
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item class="daoqitixingren" :label="'系统域名' + (index == 0 ? '' : index)"> <el-form-item class="daoqitixingren" :label="'系统域名' + (index == 0 ? '' : index)">
<el-input v-model="domain.tyshxydm" :placeholder="disabled ? '':'请输入系统域名'"></el-input> <el-input v-model="domain.xtym" :placeholder="disabled ? '':'请输入系统域名'"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="7"> <el-col :span="7">
<el-form-item class="daoqitixingren" :label="'系统名称' + (index == 0 ? '' : index)"> <el-form-item class="daoqitixingren" :label="'系统名称' + (index == 0 ? '' : index)">
<el-input v-model="domain.lxdh" :placeholder="disabled ? '':'请输入系统名称'"></el-input> <el-input v-model="domain.xthc" :placeholder="disabled ? '':'请输入系统名称'"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="1" style="text-align: center;" v-if="isDisabled"> <el-col :span="1" style="text-align: center;" v-if="isDisabled">
@ -533,7 +533,7 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-form-item :label="'检查结果' + (index == 0 ? '' : index)"> <el-form-item :label="'检查结果' + (index == 0 ? '' : index)">
<el-input type="textarea" resize="none" :placeholder="disabled ? '':'请输入检查结果'" :rows="5" v-model="domain.xgyw_ywms"></el-input> <el-input type="textarea" resize="none" :placeholder="disabled ? '':'请输入检查结果'" :rows="5" v-model="domain.jcjg"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -861,6 +861,12 @@ export default {
}).catch(err=>{ }).catch(err=>{
this.loading = false; this.loading = false;
}) })
} else {
this.$message({
type: 'info',
message: '请填写完整'
});
} }
}) })
}, },

Loading…
Cancel
Save