riku
2025-11-27 63d9a9c62fd34f4b48a157e0bc57dd82ee09a197
src/views/fysp/config/DomainCatalog.vue
@@ -6,9 +6,26 @@
        :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"
@@ -204,12 +221,12 @@
// 取消编辑
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 (