| | |
| | | <template> |
| | | <el-container> |
| | | |
| | | <el-aside> |
| | | <basic-container> |
| | | <div ref="TreeBox" style="height: calc(100vh - 144px);!important;"> |
| | |
| | | icon="el-icon-check" |
| | | v-if="scope.type === 'add'" |
| | | @click="handleSaveNext()">保存后继续添加</el-button> |
| | | <el-button type="primary" |
| | | size="small" |
| | | icon="el-icon-circle-plus-outline" |
| | | v-if="scope.type === 'add'" |
| | | @click="$refs.BottomCrud.rowSave()">保存</el-button> |
| | | </template> |
| | | </avue-crud> |
| | | </div> |
| | |
| | | selection: false, |
| | | refreshBtn: false, |
| | | dialogWidth:'700', |
| | | saveBtn:false, |
| | | // height:'auto', |
| | | column: [ |
| | | { |
| | |
| | | |
| | | // 右侧表格信息 |
| | | getRightTableList(row) { |
| | | console.log(row); |
| | | this.tableLoading = true; |
| | | const params = { |
| | | plactioncls: row.id |
| | | plactioncls: row.id ? row.id : '' |
| | | } |
| | | getActionTableData(params).then(res => { |
| | | const data = res.data.data; |
| | |
| | | } |
| | | this.tableLoading = true; |
| | | const apiParams = { |
| | | plactioncls: this.treeNodeRow.id === 'root' ? '' : this.treeNodeRow.id, |
| | | plactioncls: this.treeNodeRow.id === 'root' ? '' : this.treeNodeRow.id ? this.treeNodeRow.id : '', |
| | | ...params |
| | | } |
| | | |
| | |
| | | this.$message.success('分类创建成功'); |
| | | this.getTreeList(); |
| | | } |
| | | done(); |
| | | }) |
| | | done(); |
| | | loading(); |
| | | }, |
| | | |