吉安感知网项目-前端
chenyao
2026-02-26 5a63f232f676ae2aa104838b8aae5ff0e906bdd3
feat:更新反无和工单机构和用户隐藏 新增、删除相关功能
1 files modified
8 ■■■■ changed files
applications/task-work-order/src/views/orderView/organizational/agenciesManagement/index.vue 8 ●●●● patch | view | raw | blame | history
applications/task-work-order/src/views/orderView/organizational/agenciesManagement/index.vue
@@ -39,8 +39,8 @@
    </el-form>
    <div class="gd-table-toolbar">
<!--      <el-button :icon="Plus" color="#4C34FF" type="primary" @click="openForm('add')">新增机构</el-button>-->
<!--      <el-button :icon="Upload" @click="handleImport">机构导入</el-button>-->
      <el-button :icon="Plus" color="#4C34FF" type="primary" @click="openForm('add')">新增机构</el-button>
      <el-button :icon="Upload" @click="handleImport">机构导入</el-button>
      <el-button :icon="Download" :loading="exportLoading" :disabled="exportLoading" @click="handleExport">机构导出</el-button>
    </div>
@@ -65,8 +65,8 @@
          <el-table-column label="操作" class-name="operation-btns" width="200">
            <template v-slot="{ row }">
              <el-link type="primary" @click="openForm('view', row)">查看</el-link>
<!--              <el-link type="primary"  @click="openForm('edit', row)">编辑</el-link>-->
<!--              <el-link type="primary" @click="handleDelete(row)">删除</el-link>-->
              <el-link type="primary"  @click="openForm('edit', row)">编辑</el-link>
              <el-link type="primary" @click="handleDelete(row)">删除</el-link>
              <el-link type="primary" @click="toggleStatus(row)">{{row.status === 1 ? '禁用' : '启用'}}</el-link>
            </template>
          </el-table-column>