mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-11-04 04:08:44 +08:00 
			
		
		
		
	重构:基础设施 -> 数据源配置功能 权限标识
This commit is contained in:
		@@ -3,7 +3,11 @@
 | 
			
		||||
    <!-- 搜索工作栏 -->
 | 
			
		||||
    <el-form :inline="true" label-width="68px">
 | 
			
		||||
      <el-form-item>
 | 
			
		||||
        <el-button type="primary" @click="openModal('create')" v-hasPermi="['infra:config:create']">
 | 
			
		||||
        <el-button
 | 
			
		||||
          type="primary"
 | 
			
		||||
          @click="openModal('create')"
 | 
			
		||||
          v-hasPermi="['infra:data-source-config:create']"
 | 
			
		||||
        >
 | 
			
		||||
          <Icon icon="ep:plus" class="mr-5px" /> 新增
 | 
			
		||||
        </el-button>
 | 
			
		||||
      </el-form-item>
 | 
			
		||||
@@ -28,7 +32,7 @@
 | 
			
		||||
            link
 | 
			
		||||
            type="primary"
 | 
			
		||||
            @click="openModal('update', scope.row.id)"
 | 
			
		||||
            v-hasPermi="['infra:config:update']"
 | 
			
		||||
            v-hasPermi="['infra:data-source-config:update']"
 | 
			
		||||
          >
 | 
			
		||||
            编辑
 | 
			
		||||
          </el-button>
 | 
			
		||||
@@ -36,7 +40,7 @@
 | 
			
		||||
            link
 | 
			
		||||
            type="danger"
 | 
			
		||||
            @click="handleDelete(scope.row.id)"
 | 
			
		||||
            v-hasPermi="['infra:config:delete']"
 | 
			
		||||
            v-hasPermi="['infra:data-source-config:delete']"
 | 
			
		||||
          >
 | 
			
		||||
            删除
 | 
			
		||||
          </el-button>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user