| | |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-divider class="eldivider" /> |
| | | <div style="height: 82%; padding: 1%; overflow: auto"> |
| | | <div style="height: 80%; padding: 1%; overflow: auto"> |
| | | <el-table |
| | | ref="filterTable" |
| | | :data="dbTableData" |
| | |
| | | :label="$t('dataManage.projectObj.projtype')" |
| | | /> |
| | | <el-table-column |
| | | prop="location" |
| | | prop="geom" |
| | | :label="$t('dataManage.projectObj.location')" |
| | | /> |
| | | <el-table-column |
| | |
| | | </el-table-column> |
| | | </el-table> |
| | | <div style="margin-top: 10px" class="pagination_box"> |
| | | <el-pagination |
| | | <!-- <el-pagination |
| | | @size-change="handleLoaderSizeChange" |
| | | @current-change="handleLoaderCurrentChange" |
| | | :current-page="listLoader.pageIndex" |
| | |
| | | layout="total, sizes, prev, pager, next, jumper" |
| | | :total="count1" |
| | | > |
| | | </el-pagination> |
| | | </el-pagination> --> |
| | | </div> |
| | | <!-- <el-form |
| | | class="projFrom" |
| | |
| | | <el-input v-model="editFrom.projtype"></el-input> |
| | | </el-form-item> |
| | | <el-form-item :label="$t('dataManage.projectObj.location')"> |
| | | <el-input :disabled="true" v-model="editFrom.location"></el-input> |
| | | <el-input :disabled="true" v-model="editFrom.geom"></el-input> |
| | | <el-link |
| | | @click="ShowInner" |
| | | style="color: white; margin-left: 20px" |
| | |
| | | showMap: false, |
| | | count: null, |
| | | projectFrom: {}, |
| | | editFrom: { location: ' ' }, |
| | | editFrom: { geom: ' ' }, |
| | | dirId: null, |
| | | elProject: [], |
| | | dirList: [], //el树数据 |
| | |
| | | innerClose() { |
| | | this.showMap = false; |
| | | this.innerVisible = false; |
| | | this.editFrom.location = this.$store.state.projeOl; |
| | | ; |
| | | this.editFrom.geom = this.$store.state.projeOl; |
| | | }, |
| | | async insertEditFrom() { |
| | | if (this.behavior == '新增项目') { |
| | |
| | | this.setRestEditFrom(); |
| | | }, |
| | | setRestEditFrom() { |
| | | this.editFrom = { location: ' ' }; |
| | | this.editFrom = { geom: ' ' }; |
| | | this.$store.state.projeOl = null; |
| | | }, |
| | | |
| | | //删除项目 |
| | | async deleteProject(row) { |
| | | debugger; |
| | | const data = await project_delete({ gid: row.gid }); |
| | | if (data.code != 200) { |
| | | this.$message.error('项目删除失败'); |
| | |
| | | this.behavior = '修改项目'; |
| | | this.outerVisible = true; |
| | | this.editFrom = row; |
| | | this.$store.state.projeOl = row.location; |
| | | this.$store.state.projeOl = row.geom; |
| | | }, |
| | | //新增项目 |
| | | insertProject() { |
| | |
| | | <style lang="less" scoped> |
| | | //@import url(); 引入公共css类 |
| | | .verSionBox { |
| | | height: 81%; |
| | | width: 97%; |
| | | position: absolute; |
| | | box-sizing: border-box; |
| | | height: 98%; |
| | | width: 98%; |
| | | padding: 1%; |
| | | .verSionContent { |
| | | width: 100%; |
| | | height: 92%; |
| | |
| | | justify-content: space-between; |
| | | .verSion_leftTree { |
| | | width: 15%; |
| | | height: 95%; |
| | | height: 91%; |
| | | border: 1px solid white; |
| | | border-radius: 5px; |
| | | padding: 1%; |
| | | max-height: 670px; |
| | | |
| | | overflow-y: auto; |
| | | } |
| | | .verSion_rightContent { |
| | | width: 80%; |
| | | height: 95%; |
| | | height: 91%; |
| | | border: 1px solid white; |
| | | border-radius: 5px; |
| | | padding: 1%; |
| | |
| | | // 滚动条宽高 |
| | | .el-table__body-wrapper::-webkit-scrollbar { |
| | | width: 5px; |
| | | height: 5px; |
| | | height: 10px; |
| | | } |
| | | |
| | | .el-table__body-wrapper::-webkit-scrollbar { |
| | | width: 5px; |
| | | /*滚动条宽度*/ |
| | | height: 5px; |
| | | height: 10px; |
| | | /*滚动条高度*/ |
| | | } |
| | | /*定义滚动条轨道 内阴影+圆角*/ |