吉安感知网项目-前端
张含笑
2026-02-27 3d340acc7da65b3b11cf1358f0fd0de23bcfa2e4
applications/task-work-order/src/views/orderView/organizational/roleMange/index.vue
@@ -30,10 +30,12 @@
      <div class="gd-table-container" v-loading="loading" element-loading-background="rgba(5, 5, 15, 0.6)">
         <div class="gd-table-toolbar">
            <el-button :icon="Plus" color="#4C34FF" type="primary" @click="handleAdd">新增</el-button>
            <el-button :icon="Delete"  :disabled="!selectedIds.length" @click="handleDelete()">
            <el-button :icon="Delete"  color="#ECECF4" :disabled="!selectedIds.length" @click="handleDelete()">
               删除
            </el-button>
            <el-button
               :icon="Setting"
               color="#ECECF4"
               :disabled="selectedIds.length !== 1"
               v-if="permission.orderRole_set"
               @click="handleRole"
@@ -75,7 +77,7 @@
</template>
<script setup>
import { Delete, Plus, RefreshRight, Search } from '@element-plus/icons-vue'
import { Delete, Plus, Setting, RefreshRight, Search } from '@element-plus/icons-vue'
import { computed, onMounted, ref } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import { getRoleListNew as getRolePage, remove } from '@/api/system/role'
@@ -153,7 +155,7 @@
   const tips = row ? '该条' : '选中的项'
   await ElMessageBox.confirm(`确认删除${tips}吗?`, '提示', {
      type: 'warning',
      customClass: 'command-page-view-message-box',
      customClass: 'gd-confirm-custom',
      confirmButtonClass: 'command-message-box-confirm',
      cancelButtonClass: 'command-message-box-cancel',
   })