| | |
| | | <div style="display: flex;justify-content: space-between"> |
| | | <div> |
| | | <el-form-item label="类型名称:"> |
| | | <el-input v-model="params.typeName" placeholder="请输入空域名称" clearable /> |
| | | <el-input v-model="params.typeName" placeholder="请输入类型名称" clearable /> |
| | | </el-form-item> |
| | | </div> |
| | | <div> |
| | |
| | | </div> |
| | | </el-dialog> --> |
| | | <el-dialog class="ztzf-dialog" append-to-body v-model="isShowEditView" :title="titleTxt" |
| | | :width="pxToRem(800)" :height="pxToRem(900)" :close-on-click-modal="false" :destroy-on-close="true"> |
| | | :width="pxToRem(880)" :close-on-click-modal="false" :destroy-on-close="true"> |
| | | <div class="content-edit"> |
| | | <el-form ref="ruleFormRef" :model="editParams" :rules="rules" inline> |
| | | <el-form-item label="类型名称" prop="type_name"> |
| | |
| | | rowView.value = row |
| | | } |
| | | function handleDelete (row) { |
| | | airSpaceTypeDelete(row.id).then(res => { |
| | | ElMessage.success('删除成功') |
| | | getList() |
| | | // 确定要删除么? |
| | | ElMessage({ |
| | | message: '确定要删除么?', |
| | | type: 'warning', |
| | | showClose: true, |
| | | onClose: () => { |
| | | airSpaceTypeDelete(row.id).then(res => { |
| | | ElMessage.success('删除成功') |
| | | getList() |
| | | }) |
| | | } |
| | | }) |
| | | |
| | | } |
| | | function handleAdd() { |
| | | titleTxt.value = '新增' |
| | |
| | | .airspaceManage { |
| | | height: 0; |
| | | flex: 1; |
| | | padding: 20px; |
| | | margin: 0 10px 10px 10px; |
| | | background-color: #ffffff; |
| | | padding: 10px 20px; |
| | | // padding: 10px 20px; |
| | | border-radius: 5px; |
| | | display: flex; |
| | | flex-direction: column; |