Commit 181b575f by xinla

--no commit message

1 parent a6bf4bf6
......@@ -34,7 +34,8 @@ export default {
data() {
return {
treeData: [],
userList: []
userList: [],
defaultKeys: []
}
},
watch: {
......@@ -79,7 +80,9 @@ export default {
}
}
},
created() {},
created() {
this.defaultKeys = this.defaultValues.map((e) => (isOnlyLeaf ? e.userId : e.userId || e.id))
},
mounted() {},
methods: {
treeFormat(list) {
......@@ -138,6 +141,7 @@ export default {
},
// 选择变化
handleCheckChange(data, checked, indeterminate) {
debugger
// console.log(arguments)
if (checked) {
if (this.isSigleSelect) {
......@@ -205,9 +209,7 @@ export default {
show-checkbox
:check-on-click-node="false"
:expand-on-click-node="true"
:default-checked-keys="
defaultValues.map((e) => (isOnlyLeaf ? e.userId : e.userId || e.id))
"
:default-checked-keys="defaultKeys"
:load="loadNode"
:props="defaultProps"
:check-strictly="isOnlyLeaf"
......
......@@ -64,7 +64,7 @@
import * as echarts from 'echarts'
import { parseTime } from '@/utils/common'
import CardGroupIndex from '@/components/CardGroupIndex'
import TabContent from './components/TabContent'
// import TabContent from './components/TabContent'
import { getAnalysis, countLineChart, exportGroup } from '@/api/redPacketTool/sendRecord'
function generateMockData() {
......@@ -95,7 +95,7 @@ function generateMockData() {
export default {
name: 'total-data',
components: { CardGroupIndex, TabContent },
components: { CardGroupIndex },
data() {
return {
timeRange: 7,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!