| | |
| | | <avue-crud ref="crud" |
| | | @selection-change="selectionChange" |
| | | @row-click="rowClick" |
| | | :data="crudData" :option="crudOption" :table-loading="tableLoading" style="margin-top: 10px"> |
| | | :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> |
| | | </el-container> |
| | |
| | | selection: true, |
| | | menu: false, |
| | | height: "auto", |
| | | calcHeight: 300, |
| | | calcHeight: 305, |
| | | tip: false, |
| | | header:false, |
| | | column: [{ |
| | |
| | | prop: 'btmType', |
| | | width: 130, |
| | | formatter:function (row, value) { |
| | | if (row.queryTemplate.btmType == '*') { |
| | | return '所有类型' |
| | | } else { |
| | | return row.queryTemplate.btmType; |
| | | } |
| | | } |
| | | }, { |
| | | label: '版本版次', |
| | |
| | | prop: 'queryISLeaf', |
| | | width: 120, |
| | | formatter:function (row, value) { |
| | | return row.queryTemplate.queryISLeaf |
| | | if(row.queryTemplate.queryISLeaf=='false' || row.queryTemplate.queryISLeaf==false){ |
| | | return '否' |
| | | }else{ |
| | | return '是' |
| | | } |
| | | } |
| | | }, { |
| | | label: '子节点层次数', |
| | |
| | | |
| | | // 树点击 |
| | | nodeClick(row) { |
| | | 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 { |