【修改】修改报告上传流程
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user