zhangwei
2025-08-05 b94b71d44d62802bb8093f64a202d0176fdade50
src/views/system/dept/index.vue
@@ -68,9 +68,8 @@
                class="w-full"
                :options="state.regionList"
                :props="{
                  value: 'id',
                  value: 'code',
                  label: 'name',
                  emitPath: false,
                  children: 'regions'
                }"
                clearable
@@ -180,12 +179,7 @@
          </el-col>
          <el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="4">
            <el-form-item label-width="40">
              <el-button
                type="primary"
                :icon="useRenderIcon('ri/search-line')"
                :loading="loading"
                @click="onSearch"
              >
              <el-button type="primary" :loading="loading" @click="onSearch">
                搜索
              </el-button>
              <!-- <el-button
@@ -194,13 +188,7 @@
              >
                重置
              </el-button> -->
              <el-button
                type="primary"
                :icon="useRenderIcon(AddFill)"
                @click="openDialog()"
              >
                新增
              </el-button>
              <el-button type="primary" @click="openDialog()"> 新增 </el-button>
            </el-form-item>
          </el-col>
        </el-row>
@@ -251,9 +239,7 @@
              :size="size"
              :icon="useRenderIcon(EditPen)"
              @click="openDialog('修改', row)"
            >
              修改
            </el-button>
            />
            <!-- <el-button
              class="reset-margin"
              link
@@ -275,9 +261,7 @@
                  type="primary"
                  :size="size"
                  :icon="useRenderIcon(Delete)"
                >
                  删除
                </el-button>
                />
              </template>
            </el-popconfirm>
          </template>