| | |
| | | :defaultExpandAll="false" |
| | | :option="Treeoption" |
| | | class="classifyTree" |
| | | style="height: calc(100vh - 280px)" |
| | | style="height: calc(100vh - 290px)" |
| | | @node-click="nodeClick" |
| | | > |
| | | </avue-tree> |
| | |
| | | <el-dialog v-loading="AddLoading" :before-close="TreeEscHandler" |
| | | :title="this.TreeFlag ? '添加分类' :'添加主题库'" :visible.sync="TreeAddFormVisible" append-to-body |
| | | style="width: 1700px;margin: auto"> |
| | | <el-form ref="myForm" :model="TreeAddform" :rules="rules"> |
| | | <el-form ref="myForm" :model="TreeAddform" :rules= "rules"> |
| | | <el-form-item :label="this.TreeFlag ? '分类编号:' :'主题库编号:'" label-width="150px" prop="id" |
| | | style="display: inline-block"> |
| | | <el-input v-model="TreeAddform.id" autocomplete="off" style="width: 170px"></el-input> |
| | |
| | | this.$message.warning('请至少选择一条数据!') |
| | | return; |
| | | } |
| | | console.log(this.nodeClickList.oid) |
| | | flowingDependencyGen(this.nodeClickList.oid).then(res => { |
| | | this.$message.success('操作成功') |
| | | }).catch(res => { |
| | |
| | | // switch |
| | | switchChange() { |
| | | this.TreeAddform.isParticipateCheck = this.TreeAddform.codeKeyAttrValue === true ? 1 : 0; |
| | | // console.log(this.TreeAddform.isParticipateCheck) |
| | | }, |
| | | //存储的业务类型关闭 |
| | | BtmEscHandler() { |
| | |
| | | }); |
| | | } |
| | | } catch (error) { |
| | | console.error(error); |
| | | // console.error(error); |
| | | } finally { |
| | | this.loading = false; |
| | | } |
| | |
| | | }); |
| | | } |
| | | } catch (error) { |
| | | console.error(error); |
| | | // console.error(error); |
| | | } finally { |
| | | this.loading = false; |
| | | } |
| | |
| | | } |
| | | }, |
| | | treeClick(e) { |
| | | console.log(e); |
| | | // console.log(e); |
| | | }, |
| | | //基本信息表单刷新 |
| | | referTreeForm() { |