| | |
| | | src="" |
| | | style="display: none; border: 0; padding: 0; height: 0; width: 0" |
| | | ></iframe> |
| | | <div |
| | | class="loadBox" |
| | | v-if="loadDialogVisible" |
| | | > |
| | | <div style="widht:100%; margin:20px; color:white"> |
| | | <div style="margin-left:99%"> |
| | | <!-- <el-link |
| | | @click="setloadDialogVisible()" |
| | | style="color:white" |
| | | > X</el-link> --> |
| | | </div> |
| | | </div> |
| | | <div |
| | | v-loading="true" |
| | | element-loading-background="rgba(0, 0, 0, 0.0) " |
| | | element-loading-text="目录上传中,请等待..." |
| | | style="margin: 0px 20px;widht:100%;height:calc(100% - 80px); " |
| | | > |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | showRightMenu: false, |
| | | checksData: null, |
| | | checksCopyData: null, |
| | | loadDialogVisible: false |
| | | }; |
| | | }, |
| | | methods: { |
| | |
| | | } |
| | | |
| | | this.tableData = arr; |
| | | |
| | | this.setInsertData(this.tableData); |
| | | }, |
| | | getNameAndPname(res, result, flag) { |
| | |
| | | } |
| | | }, |
| | | async getAllNodeId(res) { |
| | | this.loadDialogVisible = true; |
| | | for (let i = 0; i < res.length; i++) { |
| | | var val = res[i]; |
| | | if (val.pname == null) { |
| | |
| | | |
| | | const data = await insertDir(val); |
| | | if (data.code != 200) { |
| | | this.$message.error("目录上传失败" + data.msg); |
| | | this.loadDialogVisible = false; |
| | | break; |
| | | } |
| | | |
| | | this.tableData.filter((child) => { |
| | |
| | | } |
| | | }); |
| | | this.itemaName = data.result; |
| | | this.getDirTree(); |
| | | // this.getDirTree(); |
| | | |
| | | // if (res[i].children) { |
| | | // this.getAllNodeId(res[i].children); |
| | | // } |
| | | } |
| | | this.getDirTree(); |
| | | this.loadDialogVisible = false; |
| | | |
| | | }, |
| | | excelData(source) { |
| | | let cloneData = JSON.parse(JSON.stringify(source)); // 对源数据深度克隆 |
| | |
| | | } |
| | | } |
| | | } |
| | | .loadBox { |
| | | z-index: 2002; |
| | | background: rgba(0, 0, 0, 0.2); |
| | | width: 100%; |
| | | height: 100%; |
| | | top: 0; |
| | | left: 0; |
| | | position: absolute; |
| | | .el-loading-mask { |
| | | background: transparent !important; |
| | | } |
| | | } |
| | | .btnBox { |
| | | position: absolute; |
| | | bottom: 0; |