【修改】修改报告上传流程

This commit is contained in:
zhoulingpo
2023-05-09 09:20:54 +08:00
parent 4bd06f2360
commit 64bee0eb7d
15 changed files with 660 additions and 368 deletions
+21
View File
@@ -55,6 +55,9 @@
:filter-node-method="filterNode"
ref="tree"
@check="getHalfCheckedNode"
check-strictly
@check-change="setCheckedNodes"
:key="treeKey"
>
<template slot-scope="{node}">
<!-- <span v-if="node.label.length <= 10">{{ // node.label }}</span>-->
@@ -307,6 +310,7 @@ export default {
},
data() {
return {
treeKey:'',
watermarkText: '', // 水印
fullscreen: false,
/* =============================================== 操作日志 =============================================== */
@@ -464,6 +468,16 @@ export default {
},
methods: {
setCheckedNodes(node, checked) {
node.checked = checked;
if (node.children && node.children.length > 0) {
for (let child of node.children) {
this.setCheckedNodes(child, checked);
}
}
},
init() {
this.getTreeLabel()
// this.labelList();
@@ -782,6 +796,13 @@ export default {
};
this.tags = [] // 关键词
this.dialogReport = true;
// this.$router.push({
// path:'/reportprocess/launch',
// query:{
// id:this.$route.query.id,
// isBegin:1
// }
// })
},
// 必填项
checkReportF() {