| | |
| | | </div> |
| | | <div class="verSion_rightContent subpage_Div"> |
| | | <el-form |
| | | style=" height: 44px; |
| | | padding: 1%; |
| | | display: flex; |
| | | flex-direction: row-reverse; |
| | | border-radius: 5px; |
| | | border: 1px solid #dcdfe6;" |
| | | :inline="true" |
| | | class="demo-form-inline" |
| | | > |
| | |
| | | >{{ $t('common.append') }}</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-divider class="eldivider" /> |
| | | <div style="height: 80%; padding: 1%; overflow: auto"> |
| | | <!-- <el-divider class="eldivider" /> --> |
| | | <div style="height: 80%; margin-top: 10px;"> |
| | | <el-table |
| | | ref="filterTable" |
| | | :data="dbTableData" |
| | | height="90%" |
| | | height="100%" |
| | | border |
| | | style="width: 100%" |
| | | > |
| | |
| | | style="margin-top: 10px" |
| | | class="pagination_box" |
| | | > |
| | | |
| | | |
| | | </div> |
| | | |
| | | |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | width="60%" |
| | | :title="$t('dataManage.projectObj.location')" |
| | | :visible.sync="innerVisible" |
| | | append-to-body |
| | | :modal="false" |
| | | :before-close="innerClose" |
| | | > |
| | | <div style="height: 540px"> |
| | |
| | | this.editFrom.country = val; |
| | | } else if (key == "省") { |
| | | this.editFrom.province = val; |
| | | }else if (key == "市") { |
| | | } else if (key == "市") { |
| | | this.editFrom.location = val; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | this.editFrom.geom = this.$store.state.projeOl; |
| | |
| | | |
| | | //删除项目 |
| | | async deleteProject(row) { |
| | | const data = await project_delete({ gid: row.gid }); |
| | | if (data.code != 200) { |
| | | this.$message.error('项目删除失败'); |
| | | return; |
| | | } |
| | | this.getSelectProject(); |
| | | this.$confirm('此操作将永久删除该项目, 是否继续?', '提示', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }).then(async () => { |
| | | const data = await project_delete({ gid: row.gid }); |
| | | if (data.code == 200) { |
| | | this.$message({ |
| | | message: "删除成功!", |
| | | type: "success", |
| | | }); |
| | | this.getRoleTabelData(); |
| | | } else { |
| | | this.$message({ |
| | | message: "删除失败!", |
| | | type: "warning", |
| | | }); |
| | | } |
| | | }).catch(() => { |
| | | this.$message({ |
| | | type: 'info', |
| | | message: '已取消删除' |
| | | }); |
| | | }); |
| | | }, |
| | | //修改项目 |
| | | EditProject(row) { |
| | |
| | | //目录树点击事件 |
| | | handleNodeClick(data) { |
| | | //获取目录ID |
| | | this.dirId = data.id; |
| | | // this.dirId = data.id; |
| | | this.dirId = data.code |
| | | this.getSelectProject(); |
| | | }, |
| | | |
| | |
| | | this.$message.error('列表获取失败'); |
| | | return; |
| | | } |
| | | |
| | | |
| | | // this.count = data.result; |
| | | this.count1 = data.count; |
| | | this.dbTableData = data.result; |
| | |
| | | .verSion_leftTree { |
| | | width: 15%; |
| | | height: 91%; |
| | | |
| | | |
| | | border-radius: 5px; |
| | | padding: 1%; |
| | | |
| | | max-height: 670px; |
| | | overflow-y: auto; |
| | | } |
| | | .verSion_rightContent { |
| | | width: 80%; |
| | | height: 91%; |
| | | |
| | | max-height: 670px; |
| | | border-radius: 5px; |
| | | padding: 1%; |
| | | overflow-y: auto; |
| | |
| | | height: 46px; |
| | | padding: 12px 12px; |
| | | font-size: 14px; |
| | | |
| | | |
| | | border-bottom: 1px solid white; |
| | | line-height: 46px; |
| | | } |
| | |
| | | width: 600px; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | | </style> |
| | | > |