| | |
| | | total: 0, |
| | | } |
| | | |
| | | function positionColor () { |
| | | function positionColor() { |
| | | return (row) => { |
| | | if ( |
| | | (row.X && row.X != 0) || |
| | |
| | | } |
| | | } |
| | | |
| | | function positionDisabled () { |
| | | function positionDisabled() { |
| | | return (row) => { |
| | | if ( |
| | | (row.X && row.X != 0) || |
| | |
| | | |
| | | |
| | | // 行点击 |
| | | function rowClick (row) { |
| | | function rowClick(row) { |
| | | |
| | | // if (state.layer) { |
| | | // window.$viewer.removeLayer(state.layer) |
| | |
| | | |
| | | |
| | | // 查看详情 |
| | | function goDetail (row) { } |
| | | function goDetail(row) { } |
| | | |
| | | const searchBtn = (params) => { |
| | | resetPage() |
| | |
| | | |
| | | <template> |
| | | <div class="w100 h0 flex-1 flex f-d-c"> |
| | | <global-search :options="options" @searchBtn="searchBtn" @resetBtn="resetBtn" |
| | | ref="SeachBarCondition"></global-search> |
| | | <global-search :options="options" @searchBtn="searchBtn" @resetBtn="resetBtn" ref="SeachBarCondition"></global-search> |
| | | |
| | | <div class="h0 flex-1 table-content" ref="TableContent"> |
| | | <el-table border :data="tableData" :height="curTableHeight" style="width: 100%" v-loading="loading"> |
| | | <el-table-column prop="name" label="名称" /> |
| | | <el-table-column prop="emergencySpaceType" label="类型" width="70" /> |
| | | <el-table-column prop="mainFuncName" label="作用" width="60" /> |
| | | <el-table-column width="60" label="操作" align="center"> |
| | | <el-table-column prop="emergencySpaceType" label="类型" width="130" /> |
| | | <el-table-column prop="mainFuncName" label="作用" width="70" /> |
| | | <el-table-column width="70" label="操作" align="center"> |
| | | <template #default="scope"> |
| | | <el-button link type="primary" size="small" :disabled="scope.row.lng == ''" @click="rowClick(scope.row)"> |
| | | 定位 |