| | |
| | | // 左侧树初始化 |
| | | initTreeData() { |
| | | finsystenant.getTree().then(res => { |
| | | console.log(res, 'restree'); |
| | | console.log(this.importSetting,'this.importSetting'); |
| | | const content = res || [] |
| | | this.treeDataList.splice(0, this.treeDataList.length) |
| | | // this.treeDataList.splice(0, this.treeDataList.length) |
| | | this.treeDataList = content |
| | | if (content.length > 0) { |
| | | this.importSetting.fileSettings.data = {pid: content[0].id} |
| | | } |
| | | // if (content.length > 0) { |
| | | // this.importSetting.fileSettings.data = {pid: content[0].id} |
| | | // } |
| | | }) |
| | | }, |
| | | updState(row) { |
| | |
| | | this.editSetting.show = true; |
| | | }, |
| | | nodeClick(param) { |
| | | console.log(param, 'param'); |
| | | param = param || {} |
| | | this.p = Object.assign({}, { |
| | | id: param.id, |