| | |
| | | </el-col> |
| | | <el-col v-if=" |
| | | checkPermi(['standard:standardLibrary:delStandardTree']) && |
| | | (node.data.children === null || |
| | | node.data.children === undefined) |
| | | data.level == 7 |
| | | " :span="2" style="text-align: right"> |
| | | <el-button size="mini" type="text" @click.stop="editTreeName(node.data)" v-if="!auditId"> |
| | | <i class="el-icon-edit"></i> |
| | |
| | | </el-col> |
| | | <el-col v-if=" |
| | | checkPermi(['standard:standardLibrary:delStandardTree']) && |
| | | (node.data.children === null || |
| | | node.data.children === undefined) |
| | | data.level == 7 |
| | | " :span="2" style="text-align: right"> |
| | | <el-button size="mini" type="text" @click.stop="remove(node, data)" v-if="!auditId"> |
| | | <i class="el-icon-delete"></i> |
| | |
| | | <el-row class="title" style="width: 100%"> |
| | | <el-col :span="19" style="font-size: 14px; color: #999"><span>{{ |
| | | selectTree |
| | | }} </span></el-col> |
| | | }} </span></el-col> |
| | | <el-col :span="5" style="position: absolute;top: -3px;right: -25px;" v-if="!auditId && !standardCkeck"> |
| | | <el-button size="small" type="primary" @click="submitReview" :loading="submitReviewLoad">提交变更</el-button> |
| | | <el-button v-if="isShowCopy" size="small" type="primary" @click="openCopyDia">批量复制</el-button> |
| | |
| | | this.selectTree = ""; |
| | | // 拼接树路径 |
| | | this.selectTree = this.getReversedTreePath(node); |
| | | delStandardTree({ tree: this.selectTree }).then((res) => { |
| | | delStandardTree({ |
| | | tree: this.selectTree, |
| | | level: data.level, |
| | | id: data.value |
| | | }).then((res) => { |
| | | this.$message.success("已删除"); |
| | | let arr = this.selectTree.split(" - "); |
| | | this.deleteStandard(this.list, arr[arr.length - 1]); |