| | |
| | | @row-click="rowClick" |
| | | :data="crudData" :option="crudOption" :table-loading="tableLoading" style="margin-top: 10px"> |
| | | </avue-crud> |
| | | <form-dialog ref="formRef" @refresh="getTemp"></form-dialog> |
| | | <!--导入 --> |
| | | <upload-file ref="upload" :fileType="upFileType" :fileUrl="fileUrl" :tipList="tipList" title="导入" |
| | | @updata="uploadCallBack"></upload-file> |
| | | |
| | | <div> |
| | | <fieldset> |
| | | <legend> 查询条件 </legend> |
| | |
| | | ></form-query-dialog> |
| | | </fieldset> |
| | | </div> |
| | | <!--添加 修改弹窗--> |
| | | <form-dialog ref="formRef" @refresh="getTemp"></form-dialog> |
| | | <!--导入 --> |
| | | <upload-file ref="upload" :fileType="upFileType" :fileUrl="fileUrl" :tipList="tipList" title="导入" |
| | | @updata="uploadCallBack"></upload-file> |
| | | </basic-container> |
| | | </el-main> |
| | | |
| | |
| | | selection: true, |
| | | menu: false, |
| | | height: "auto", |
| | | calcHeight: 300, |
| | | calcHeight: 305, |
| | | tip: false, |
| | | header:false, |
| | | column: [{ |
| | |
| | | }, |
| | | // 树点击 |
| | | nodeClick(row) { |
| | | this.nodeRow = row; |
| | | this.tableLoading = true; |
| | | this.getTemp(); |
| | | if(row.oid=="topNode"){ |
| | | this.nodeRow = null; |
| | | this.crudData=[]; |
| | | this.queryCondition=[]; |
| | | this.queryTree={}; |
| | | this.levelFlag=0; |
| | | }else{ |
| | | this.nodeRow = row; |
| | | this.tableLoading = true; |
| | | this.getTemp(); |
| | | } |
| | | }, |
| | | //模板列表数据 |
| | | getTemp() { |
| | |
| | | .el-scrollbar__wrap { |
| | | overflow: auto !important; |
| | | } |
| | | .el-main .avue-crud .avue-crud__body .el-card__body .el-form .el-table--small{ |
| | | min-height: 300px; |
| | | } |
| | | } |
| | | fieldset { |
| | | padding: 10px 6px; |