| | |
| | | :items="domainCatalog" |
| | | :loading="sideLoading" |
| | | @item-click="chooseCatalog" |
| | | ></SideList> |
| | | > |
| | | <template #header> |
| | | <el-row justify="end"> |
| | | <el-button |
| | | type="primary" |
| | | icon="CirclePlusFilled" |
| | | size="small" |
| | | @click="handelDownload" |
| | | > |
| | | </el-button> |
| | | </el-row> |
| | | </template> |
| | | </SideList> |
| | | </template> |
| | | <template #main> |
| | | <ToolBar |
| | | class="toolbar-sticky" |
| | | :title="selectedCatalog?.name" |
| | | :loading="loading" |
| | | ></ToolBar> |
| | | <!-- <FormCol> --> |
| | | <el-table |
| | | :data="domainItems" |
| | |
| | | |
| | | // 取消编辑 |
| | | function cancelEdit(scope) { |
| | | if (scope.row._isAdd) { |
| | | domainItems.value.splice(scope.$index, 1); |
| | | } |
| | | scope.row._isAdd = false; |
| | | scope.row._isEdit = false; |
| | | domainItems.value.splice(scope.$index, 1); |
| | | } |
| | | |
| | | |
| | | |
| | | function _validate(row) { |
| | | return ( |