Pārlūkot izejas kodu

修改删除按钮颜色type更改

Xiahai 2 gadi atpakaļ
vecāks
revīzija
6ecb8c988a
36 mainītis faili ar 60 papildinājumiem un 60 dzēšanām
  1. 4 4
      .env
  2. 2 2
      .env.development
  3. 1 1
      src/theme/element.scss
  4. 1 1
      src/views/iot/alarm/setting/index.vue
  5. 1 1
      src/views/iot/certificate/index.vue
  6. 1 1
      src/views/iot/configuration/list/index.vue
  7. 1 1
      src/views/iot/configuration/screen/index.vue
  8. 1 1
      src/views/iot/device/category/index.vue
  9. 1 1
      src/views/iot/device/channel/index.vue
  10. 2 2
      src/views/iot/device/instance/index.vue
  11. 2 2
      src/views/iot/device/product/index.vue
  12. 1 1
      src/views/iot/device/template/index.vue
  13. 1 1
      src/views/iot/noticeservices/config/template.vue
  14. 1 1
      src/views/iot/noticeservices/log/index.vue
  15. 1 1
      src/views/iot/rule-engine/index.vue
  16. 1 1
      src/views/iot/scene/list/index.vue
  17. 1 1
      src/views/iot/scene/manage/index.vue
  18. 7 7
      src/views/limits/frontEnd/btn/index.vue
  19. 1 1
      src/views/system/api/index.vue
  20. 1 1
      src/views/system/city/index.vue
  21. 2 2
      src/views/system/config/index.vue
  22. 3 3
      src/views/system/datahub/modeling/index.vue
  23. 2 2
      src/views/system/datahub/source/index.vue
  24. 2 2
      src/views/system/dict/index.vue
  25. 2 2
      src/views/system/manage/blacklist/index.vue
  26. 1 1
      src/views/system/manage/dept/index.vue
  27. 1 1
      src/views/system/manage/org/index.vue
  28. 2 2
      src/views/system/manage/post/index.vue
  29. 1 1
      src/views/system/manage/role/index.vue
  30. 2 2
      src/views/system/manage/user/index.vue
  31. 2 2
      src/views/system/menu/index.vue
  32. 2 2
      src/views/system/monitor/loginLog/index.vue
  33. 1 1
      src/views/system/monitor/notice/index.vue
  34. 2 2
      src/views/system/monitor/operLog/index.vue
  35. 1 1
      src/views/system/monitor/plugin/index.vue
  36. 2 2
      src/views/system/task/index.vue

+ 4 - 4
.env

@@ -13,14 +13,14 @@ VITE_SERVER_PROTOCOL = ''
 VITE_SERVER_HOSTNAME = ''
 
 # 基础服务路径
-VITE_SERVER_URL = '/base-api'
+VITE_SERVER_URL = ''
 # 基础接口路径
-VITE_API_URL = '/base-api/api/v1'
+VITE_API_URL = '/api/v1'
 # 指数管理页面用到的
-VITE_ASSESS_URL = '/base-api/assess/v1'
+VITE_ASSESS_URL = '/assess/v1'
 # 大屏前端
 VITE_SCREEN_URL = '/plugin/screen/'
 # 组态图前端
 VITE_TOPO_URL = '/plugin/topo/'
 # modbus服务
-VITE_MODBUS_API = '/base-api/modbus'
+VITE_MODBUS_API = '/modbus'

+ 2 - 2
.env.development

@@ -1,2 +1,2 @@
-VITE_SERVER_PROTOCOL = 'https:'
-VITE_SERVER_HOSTNAME = 'zhgy.sagoo.cn'
+VITE_SERVER_PROTOCOL = 'http:'
+VITE_SERVER_HOSTNAME = '127.0.0.1:8200'

+ 1 - 1
src/theme/element.scss

@@ -2,7 +2,7 @@
 
 // 更改按钮样式
 :root {
-	--el-color-danger: #909399; // 删除按钮
+	//--el-color-danger: #909399; // 删除按钮
 }
 
 /* Button 按钮

+ 1 - 1
src/views/iot/alarm/setting/index.vue

@@ -99,7 +99,7 @@
 								</div>
 
 								<div class="card-button" @click="onRowDel(item)" v-auth="'del'">
-									<el-button size="default" type="danger" text bg>
+									<el-button size="default" type="info" text bg>
 										<el-icon>
 											<ele-Delete />
 										</el-icon>

+ 1 - 1
src/views/iot/certificate/index.vue

@@ -50,7 +50,7 @@
 				<el-table-column v-col="'handle'" label="操作" width="180" align="center" fixed="right">
 					<template #default="scope">
 						<el-button size="small" v-auth="'edit'" text type="primary" @click="operate('editParams', scope.row)">编辑</el-button>
-						<el-button size="small" v-auth="'del'" text type="danger" @click="operate('delete', scope.row)">删除</el-button>
+						<el-button size="small" v-auth="'del'" text type="info" @click="operate('delete', scope.row)">删除</el-button>
 					</template>
 				</el-table-column>
 			</el-table>

+ 1 - 1
src/views/iot/configuration/list/index.vue

@@ -33,7 +33,7 @@
           <el-button size="small" text type="primary" v-if="!scope.row.folderName" @click="view(scope.row)">预览</el-button>
           <el-button size="small" text type="warning" v-auth="'edit'" @click="addOrEdit(scope.row)">编辑</el-button>
           <el-button size="small" text type="warning" @click="edit(scope.row)">编辑组态图</el-button>
-          <el-button size="small" text type="danger" v-auth="'del'" @click="del(scope.row)">删除</el-button>
+          <el-button size="small" text type="info" v-auth="'del'" @click="del(scope.row)">删除</el-button>
         </template>
       </el-table-column>
     </el-table>

+ 1 - 1
src/views/iot/configuration/screen/index.vue

@@ -24,7 +24,7 @@
           <el-button size="small" text type="primary" @click="preview(scope.row)">预览</el-button>
           <el-button size="small" text type="warning" v-auth="'edit'" @click="addOrEdit(scope.row)">编辑</el-button>
           <el-button size="small" text type="warning" @click="edit(scope.row)">设计大屏</el-button>
-          <el-button size="small" text type="danger" v-auth="'del'" @click="onDel(scope.row)">删除</el-button>
+          <el-button size="small" text type="info" v-auth="'del'" @click="onDel(scope.row)">删除</el-button>
         </template>
       </el-table-column>
     </el-table>

+ 1 - 1
src/views/iot/device/category/index.vue

@@ -30,7 +30,7 @@
           <template #default="scope">
             <el-button size="small" type="text" @click="onOpenAdd(scope.row)" v-auth="'add'">新增</el-button>
             <el-button size="small" text type="warning" @click="onOpenEdit(scope.row)" v-auth="'edit'">修改</el-button>
-            <el-button size="small" text type="danger" @click="onTabelRowDel(scope.row)" v-auth="'del'">删除</el-button>
+            <el-button size="small" text type="info" @click="onTabelRowDel(scope.row)" v-auth="'del'">删除</el-button>
           </template>
         </el-table-column>
       </el-table>

+ 1 - 1
src/views/iot/device/channel/index.vue

@@ -39,7 +39,7 @@
 				<el-table-column label="操作" width="100" align="center">
 					<template #default="scope">
 						<el-button size="small" text type="primary" v-auth="'detail'" @click="viewDetail(scope.row)">详情</el-button>
-						<el-button size="small" text type="danger" v-auth="'del'" @click="onDel(scope.row)">删除</el-button>
+						<el-button size="small" text type="info" v-auth="'del'" @click="onDel(scope.row)">删除</el-button>
 					</template>
 				</el-table-column>
 			</el-table>

+ 2 - 2
src/views/iot/device/instance/index.vue

@@ -40,7 +40,7 @@
               </el-icon>
               新增设备
             </el-button>
-            <el-button size="default" type="danger" class="ml10" @click="onRowDel(null)" v-auth="'del'">
+            <el-button size="default" type="info" class="ml10" @click="onRowDel(null)" v-auth="'del'">
               <el-icon>
                 <ele-Delete />
               </el-icon>
@@ -79,7 +79,7 @@
             <el-button size="small" text type="warning" @click="onOpenEditDic(scope.row)" v-auth="'edit'">修改</el-button>
             <el-button size="small" text type="success" @click="onActionStatus(scope.row)" v-if="scope.row.status==0" v-auth="'status'">启用</el-button>
             <el-button size="small" text type="primary" @click="onActionStatus(scope.row)" v-if="scope.row.status>0" v-auth="'status'">停用</el-button>
-            <el-button size="small" text type="danger" @click="onRowDel(scope.row)" v-auth="'del'">删除</el-button>
+            <el-button size="small" text type="info" @click="onRowDel(scope.row)" v-auth="'del'">删除</el-button>
           </template>
         </el-table-column>
       </el-table>

+ 2 - 2
src/views/iot/device/product/index.vue

@@ -37,7 +37,7 @@
               </el-icon>
               新增产品
             </el-button>
-            <el-button size="default" type="danger" class="ml10" @click="onRowDel(null)" v-auth="'del'">
+            <el-button size="default" type="info" class="ml10" @click="onRowDel(null)" v-auth="'del'">
               <el-icon>
                 <ele-Delete />
               </el-icon>
@@ -70,7 +70,7 @@
               <span>详情</span>
             </router-link>
             <el-button size="small" text type="warning" @click="onOpenEditDic(scope.row)" v-auth="'edit'">修改</el-button>
-            <el-button size="small" text type="danger" @click="onRowDel(scope.row)" v-auth="'del'">删除</el-button>
+            <el-button size="small" text type="info" @click="onRowDel(scope.row)" v-auth="'del'">删除</el-button>
           </template>
         </el-table-column>
       </el-table>

+ 1 - 1
src/views/iot/device/template/index.vue

@@ -42,7 +42,7 @@
 						<el-button size="small" text type="primary" v-auth="'upload'" @click="handleImport(scope.row)">导入</el-button>
 						<el-button size="small" text type="primary" v-auth="'download'" @click="handleExport(scope.row)">导出</el-button>
 						<el-button size="small" text type="primary" v-auth="'detail'" @click="addOrEdit(scope.row)">详情</el-button>
-						<el-button size="small" text type="danger" v-auth="'del'" @click="onDel(scope.row)">删除</el-button>
+						<el-button size="small" text type="info" v-auth="'del'" @click="onDel(scope.row)">删除</el-button>
 					</template>
 				</el-table-column>
 			</el-table>

+ 1 - 1
src/views/iot/noticeservices/config/template.vue

@@ -106,7 +106,7 @@
 								</div> 
 
 								<div class="card-button" @click="onRowDel(item)">
-									<el-button size="default" type="danger" text bg>
+									<el-button size="default" type="info" text bg>
 										<el-icon>
 											<ele-Delete />
 										</el-icon>

+ 1 - 1
src/views/iot/noticeservices/log/index.vue

@@ -28,7 +28,7 @@
 							</el-icon>
 							重置
 						</el-button>
-						<el-button size="default" type="danger" class="ml10" @click="onRowDel(null)" v-auth="'del'">
+						<el-button size="default" type="info" class="ml10" @click="onRowDel(null)" v-auth="'del'">
 							<el-icon>
 								<ele-Delete />
 							</el-icon>

+ 1 - 1
src/views/iot/rule-engine/index.vue

@@ -35,7 +35,7 @@
 					<el-button size="small" text type="primary" v-auth="'startOrStop'" v-else @click="setStatus(scope.row, 1)">启动</el-button>
 					<el-button size="small" text type="warning" v-auth="'edit'" @click="addOrEdit(scope.row)">编辑</el-button>
 					<el-button size="small" text type="warning" @click="edit(scope.row)">规则编辑</el-button>
-					<el-button size="small" text type="danger" v-auth="'del'" @click="onDel(scope.row)">删除</el-button>
+					<el-button size="small" text type="info" v-auth="'del'" @click="onDel(scope.row)">删除</el-button>
 				</template>
 			</el-table-column>
 		</el-table>

+ 1 - 1
src/views/iot/scene/list/index.vue

@@ -44,7 +44,7 @@
 				<template #default="scope">
 					<el-button size="small" text type="primary" v-if="!scope.row.folderName"
 						@click="view(scope.row)">详情</el-button>
-					<el-button size="small" text type="danger" v-auth="'del'" @click="del(scope.row)">删除</el-button>
+					<el-button size="small" text type="info" v-auth="'del'" @click="del(scope.row)">删除</el-button>
 				</template>
 			</el-table-column>
 		</el-table>

+ 1 - 1
src/views/iot/scene/manage/index.vue

@@ -51,7 +51,7 @@
 					<el-button size="small" text type="warning" v-auth="'edit'" @click="addOrEdit(scope.row)">编辑</el-button>
 					<el-button size="small" text type="success" @click="onActionStatus(scope.row)" v-if="scope.row.status==0" v-auth="'startOrStop'">启用</el-button>
           		   <el-button size="small" text type="primary" @click="onActionStatus(scope.row)" v-if="scope.row.status>0" v-auth="'startOrStop'">停用</el-button>
-					<el-button size="small" text type="danger" v-auth="'del'" @click="del(scope.row)">删除</el-button>
+					<el-button size="small" text type="info" v-auth="'del'" @click="del(scope.row)">删除</el-button>
 				</template>
 			</el-table-column>
 		</el-table>

+ 7 - 7
src/views/limits/frontEnd/btn/index.vue

@@ -32,7 +32,7 @@
 				<Auth :value="'btn.del'">
 					<div class="flex-warp-item">
 						<div class="flex-warp-item-box">
-							<el-button type="danger" size="default">
+							<el-button type="info" size="default">
 								<el-icon>
 									<ele-Delete />
 								</el-icon>
@@ -84,7 +84,7 @@
 				<Auths :value="['btn.add', 'btn.edit', 'btn.del', 'btn.link']">
 					<div class="flex-warp-item">
 						<div class="flex-warp-item-box">
-							<el-button type="danger" size="default">
+							<el-button type="info" size="default">
 								<el-icon>
 									<ele-Delete />
 								</el-icon>
@@ -136,7 +136,7 @@
 				<AuthAll :value="['btn.add', 'btn.edit', 'btn.del', 'btn.link']">
 					<div class="flex-warp-item">
 						<div class="flex-warp-item-box">
-							<el-button type="danger" size="default">
+							<el-button type="info" size="default">
 								<el-icon>
 									<ele-Delete />
 								</el-icon>
@@ -186,7 +186,7 @@
 				</div>
 				<div class="flex-warp-item" v-auth="'btn.del'">
 					<div class="flex-warp-item-box">
-						<el-button type="danger" size="default">
+						<el-button type="info" size="default">
 							<el-icon>
 								<ele-Delete />
 							</el-icon>
@@ -230,7 +230,7 @@
 				</div>
 				<div class="flex-warp-item" v-auths="['btn.add', 'btn.edit', 'btn.del', 'btn.link']">
 					<div class="flex-warp-item-box">
-						<el-button type="danger" size="default">
+						<el-button type="info" size="default">
 							<el-icon>
 								<ele-Delete />
 							</el-icon>
@@ -274,7 +274,7 @@
 				</div>
 				<div class="flex-warp-item" v-auth-all="['btn.add', 'btn.edit', 'btn.del', 'btn.link']">
 					<div class="flex-warp-item-box">
-						<el-button type="danger" size="default">
+						<el-button type="info" size="default">
 							<el-icon>
 								<ele-Delete />
 							</el-icon>
@@ -321,7 +321,7 @@
 				</div>
 				<div class="flex-warp-item">
 					<div class="flex-warp-item-box">
-						<el-button type="danger" size="default" @click="onAuthAllClick">
+						<el-button type="info" size="default" @click="onAuthAllClick">
 							<el-icon>
 								<ele-Delete />
 							</el-icon>

+ 1 - 1
src/views/system/api/index.vue

@@ -57,7 +57,7 @@
 				<el-table-column label="操作" width="100" align="center" v-col="'handle'">
 					<template #default="scope">
 						<el-button size="small" text type="warning" @click="addOrEdit(scope.row)" v-auth="'edit'">修改</el-button>
-						<el-button size="small" text type="danger" @click="onDel(scope.row)" v-auth="'del'">删除</el-button>
+						<el-button size="small" text type="info" @click="onDel(scope.row)" v-auth="'del'">删除</el-button>
 					</template>
 				</el-table-column>
 			</el-table>

+ 1 - 1
src/views/system/city/index.vue

@@ -45,7 +45,7 @@
         <el-table-column label="操作" width="200" align="center" v-col="'handle'">
           <template #default="scope">
             <el-button size="small" text type="warning" @click="onOpenEditDic(scope.row)" v-auth="'edit'">修改</el-button>
-            <el-button size="small" text type="danger" @click="onRowDel(scope.row)" v-auth="'del'">删除</el-button>
+            <el-button size="small" text type="info" @click="onRowDel(scope.row)" v-auth="'del'">删除</el-button>
           </template>
         </el-table-column>
       </el-table>

+ 2 - 2
src/views/system/config/index.vue

@@ -36,7 +36,7 @@
               </el-icon>
               新增参数
             </el-button>
-            <el-button size="default" type="danger" class="ml10" @click="onRowDel()" v-auth="'del'">
+            <el-button size="default" type="info" class="ml10" @click="onRowDel()" v-auth="'del'">
               <el-icon>
                 <ele-Delete />
               </el-icon>
@@ -64,7 +64,7 @@
             <el-table-column label="操作" width="100" v-col="'handle'" align="center" fixed="right">
               <template #default="scope">
                 <el-button size="small" text type="warning" @click="onOpenEditDic(scope.row)" v-auth="'edit'">修改</el-button>
-                <el-button size="small" text type="danger" @click="onRowDel(scope.row)" v-auth="'del'">删除</el-button>
+                <el-button size="small" text type="info" @click="onRowDel(scope.row)" v-auth="'del'">删除</el-button>
               </template>
             </el-table-column>
           </el-table>

+ 3 - 3
src/views/system/datahub/modeling/index.vue

@@ -40,7 +40,7 @@
 							</el-icon>
 							新增模型
 						</el-button>
-						<el-button size="default" type="danger" class="ml10" @click="onRowDel()" v-auth="'del'">
+						<el-button size="default" type="info" class="ml10" @click="onRowDel()" v-auth="'del'">
 							<el-icon>
 								<ele-Delete />
 							</el-icon>
@@ -78,9 +78,9 @@
 						<el-button size="small" text type="success" @click="onOpenRecord(scope.row)" v-if="scope.row.status == 1" v-auth="'record'"
 							>数据记录</el-button
 						>
-						<el-button size="small" text type="danger" @click="onOpenJuhe(scope.row)" v-auth="'juhe'">聚合设置</el-button>
+						<el-button size="small" text type="info" @click="onOpenJuhe(scope.row)" v-auth="'juhe'">聚合设置</el-button>
 						<el-button size="small" text type="warning" @click="onOpenEdit(scope.row)" v-if="scope.row.status == 0" v-auth="'edit'">修改</el-button>
-						<el-button size="small" text type="danger" @click="onRowDel(scope.row)" v-if="scope.row.status == 0" v-auth="'del'">删除</el-button>
+						<el-button size="small" text type="info" @click="onRowDel(scope.row)" v-if="scope.row.status == 0" v-auth="'del'">删除</el-button>
 						<el-button size="small" text type="primary" @click="copy(scope.row)" v-auth="'copy'">复制</el-button>
 					</template>
 				</el-table-column>

+ 2 - 2
src/views/system/datahub/source/index.vue

@@ -35,7 +35,7 @@
               </el-icon>
               新增数据源
             </el-button>
-            <el-button size="default" type="danger" class="ml10" @click="onRowDel()" v-auth="'del'">
+            <el-button size="default" type="info" class="ml10" @click="onRowDel()" v-auth="'del'">
               <el-icon>
                 <ele-Delete />
               </el-icon>
@@ -71,7 +71,7 @@
             </router-link>
             <el-button size="small" text type="success" @click="onOpenList(scope.row)" v-if="scope.row.status==1" v-auth="'detail'">数据记录</el-button>
             <el-button size="small" text type="warning" @click="onOpenEdit(scope.row)" v-if="scope.row.status==0" v-auth="'edit'">修改</el-button>
-            <el-button size="small" text type="danger" @click="onRowDel(scope.row)" v-if="scope.row.status==0" v-auth="'del'">删除</el-button>
+            <el-button size="small" text type="info" @click="onRowDel(scope.row)" v-if="scope.row.status==0" v-auth="'del'">删除</el-button>
             <el-button size="small" text type="primary" @click="copy(scope.row)" v-auth="'copy'">复制</el-button>
           </template>
         </el-table-column>

+ 2 - 2
src/views/system/dict/index.vue

@@ -37,7 +37,7 @@
               </el-icon>
               新增字典
             </el-button>
-            <el-button size="default" type="danger" class="ml10" @click="onRowDel()" v-auth="'del'">
+            <el-button size="default" type="info" class="ml10" @click="onRowDel()" v-auth="'del'">
               <el-icon>
                 <ele-Delete />
               </el-icon>
@@ -71,7 +71,7 @@
             <el-table-column label="操作" width="100" align="center" v-col="'handle'">
               <template #default="scope">
                 <el-button size="small" text type="warning" @click="onOpenEditDic(scope.row)" v-auth="'edit'">修改</el-button>
-                <el-button size="small" text type="danger" @click="onRowDel(scope.row)" v-auth="'del'">删除</el-button>
+                <el-button size="small" text type="info" @click="onRowDel(scope.row)" v-auth="'del'">删除</el-button>
               </template>
             </el-table-column>
           </el-table>

+ 2 - 2
src/views/system/manage/blacklist/index.vue

@@ -31,7 +31,7 @@
               </el-icon>
               新建
             </el-button>
-            <el-button size="default" type="danger" class="ml10" @click="onRowDel(null)" v-auth="'del'">
+            <el-button size="default" type="info" class="ml10" @click="onRowDel(null)" v-auth="'del'">
               <el-icon>
                 <ele-Delete />
               </el-icon>
@@ -74,7 +74,7 @@
               <span>详情</span>
             </router-link> -->
             <el-button size="small" text type="warning" @click="onOpenEditDic(scope.row)" v-auth="'edit'">编辑</el-button>
-            <el-button size="small" text type="danger" @click="onRowDel(scope.row)" v-auth="'del'">删除</el-button>
+            <el-button size="small" text type="info" @click="onRowDel(scope.row)" v-auth="'del'">删除</el-button>
             <el-popover
               placement="bottom"
               :width="154"

+ 1 - 1
src/views/system/manage/dept/index.vue

@@ -49,7 +49,7 @@
           <template #default="scope">
             <el-button size="small" type="text" @click="onOpenAddDept(scope.row)" v-auth="'add'">新增</el-button>
             <el-button size="small" text type="warning" @click="onOpenEditDept(scope.row)" v-auth="'edit'">修改</el-button>
-            <el-button size="small" text type="danger" @click="onTabelRowDel(scope.row)" v-auth="'del'">删除</el-button>
+            <el-button size="small" text type="info" @click="onTabelRowDel(scope.row)" v-auth="'del'">删除</el-button>
           </template>
         </el-table-column>
       </el-table>

+ 1 - 1
src/views/system/manage/org/index.vue

@@ -50,7 +50,7 @@
           <template #default="scope">
             <el-button size="small" type="text" @click="onOpenAddDept(scope.row)" v-auth="'add'">新增</el-button>
             <el-button size="small" text type="warning" @click="onOpenEditDept(scope.row)" v-auth="'edit'">修改</el-button>
-            <el-button size="small" text type="danger" @click="onTabelRowDel(scope.row)" v-auth="'del'">删除</el-button>
+            <el-button size="small" text type="info" @click="onTabelRowDel(scope.row)" v-auth="'del'">删除</el-button>
           </template>
         </el-table-column>
       </el-table>

+ 2 - 2
src/views/system/manage/post/index.vue

@@ -35,7 +35,7 @@
               </el-icon>
               新增岗位
             </el-button>
-            <!-- <el-button size="default" type="danger" class="ml10" @click="onRowDel(null)">
+            <!-- <el-button size="default" type="info" class="ml10" @click="onRowDel(null)">
               <el-icon>
                 <ele-Delete />
               </el-icon>
@@ -61,7 +61,7 @@
         <el-table-column label="操作" width="100" v-col="'handle'">
           <template #default="scope">
             <el-button size="small" text type="warning" @click="onOpenEditPost(scope.row)" v-auth="'edit'">修改</el-button>
-            <el-button size="small" text type="danger" @click="onRowDel(scope.row)" v-auth="'del'">删除</el-button>
+            <el-button size="small" text type="info" @click="onRowDel(scope.row)" v-auth="'del'">删除</el-button>
           </template>
         </el-table-column>
       </el-table>

+ 1 - 1
src/views/system/manage/role/index.vue

@@ -50,7 +50,7 @@
         <el-table-column label="操作" width="220" v-col="'handle'" align="center" fixed="right">
           <template #default="scope">
             <el-button size="small" type="text" @click="onOpenEditRole(scope.row)" v-auth="'edit'">修改</el-button>
-            <el-button size="small" text type="danger" @click="onRowDel(scope.row)" v-auth="'del'">删除</el-button>
+            <el-button size="small" text type="info" @click="onRowDel(scope.row)" v-auth="'del'">删除</el-button>
             <el-button size="small" text type="success" @click="permission(scope.row)" v-auth="'role-premission'">角色权限</el-button>
             <el-button size="small" text type="info" @click="dataPermission(scope.row)" v-auth="'data-premission'">数据权限</el-button>
             <!-- <el-dropdown size="small">

+ 2 - 2
src/views/system/manage/user/index.vue

@@ -49,7 +49,7 @@
 									</el-icon>
 									新增用户
 								</el-button>
-								<!-- <el-button size="default" type="danger" class="ml10" @click="onRowDel(null)">
+								<!-- <el-button size="default" type="info" class="ml10" @click="onRowDel(null)">
                   <el-icon>
                     <ele-Delete />
                   </el-icon>
@@ -78,7 +78,7 @@
 								<!-- <el-button size="small" text type="warning" @click="onOpenEditUser(scope.row)" v-auths="['edit','del']">修改</el-button>
                 <el-button size="small" text type="warning" @click="onOpenEditUser(scope.row)" v-auth-all="['edit','del']">修改</el-button> -->
 								<el-button size="small" text type="warning" @click="onOpenEditUser(scope.row)" v-auth="'edit'">修改</el-button>
-								<el-button size="small" text type="danger" @click="onRowDel(scope.row)" v-if="scope.row.id !== 1" v-auth="'del'">删除</el-button>
+								<el-button size="small" text type="info" @click="onRowDel(scope.row)" v-if="scope.row.id !== 1" v-auth="'del'">删除</el-button>
 								<el-button size="small" text type="success" @click="handleResetPwd(scope.row)" v-auth="'reset'">重置</el-button>
 							</template>
 						</el-table-column>

+ 2 - 2
src/views/system/menu/index.vue

@@ -43,7 +43,7 @@
         <el-table-column label="排序" v-col="'weigh'" prop="weigh" width="80" align="center"></el-table-column>
         <el-table-column label="类型" v-col="'menuType'" width="80" align="center">
           <template #default="scope">
-            <el-tag :type="scope.row.menuType === 0 ? 'danger' : scope.row.menuType === 1 ? 'success' : 'warning'" size="small">{{
+            <el-tag :type="scope.row.menuType === 0 ? 'info' : scope.row.menuType === 1 ? 'success' : 'warning'" size="small">{{
 							scope.row.menuType === 0 ? '目录' : scope.row.menuType === 1 ? '菜单' : '按钮'
 						}}</el-tag>
           </template>
@@ -57,7 +57,7 @@
           <template #default="scope">
             <el-button v-if="!scope.row.menuType" size="small" type="text" @click="onOpenAddMenu(scope.row)" v-auth="'add'">新增</el-button>
             <el-button size="small" text type="warning" @click="onOpenEditMenu(scope.row)" v-auth="'edit'">修改</el-button>
-            <el-button size="small" text type="danger" @click="onTabelRowDel(scope.row)" v-auth="'del'">删除</el-button>
+            <el-button size="small" text type="info" @click="onTabelRowDel(scope.row)" v-auth="'del'">删除</el-button>
             <el-dropdown v-if="scope.row.menuType">
               <el-button type="text" size="small" style="margin-top: 1px; margin-left: 10px" v-auth="'more'">更多
                 <el-icon>

+ 2 - 2
src/views/system/monitor/loginLog/index.vue

@@ -39,7 +39,7 @@
               </el-icon>
               重置
             </el-button>
-            <el-button size="default" type="danger" class="ml10" @click="onRowDel(null)" v-auth="'del'">
+            <el-button size="default" type="info" class="ml10" @click="onRowDel(null)" v-auth="'del'">
               <el-icon>
                 <ele-Delete />
               </el-icon>
@@ -52,7 +52,7 @@
               </el-icon>
               导出日志
             </el-button>
-            <!--<el-button size="default" type="danger" class="ml10" @click="onRowClear()">
+            <!--<el-button size="default" type="info" class="ml10" @click="onRowClear()">
               <el-icon>
                 <ele-Delete />
               </el-icon>

+ 1 - 1
src/views/system/monitor/notice/index.vue

@@ -15,7 +15,7 @@
 				<el-table-column label="操作" width="150" align="center">
 					<template #default="scope">
 						<el-button size="small" text type="primary" v-if="!scope.row.isRead">设为已读</el-button>
-						<el-button size="small" text type="danger" @click="onDel(scope.row)">删除</el-button>
+						<el-button size="small" text type="info" @click="onDel(scope.row)">删除</el-button>
 					</template>
 				</el-table-column>
 			</el-table>

+ 2 - 2
src/views/system/monitor/operLog/index.vue

@@ -40,13 +40,13 @@
               </el-icon>
               重置
             </el-button>
-            <el-button size="default" type="danger" class="ml10" @click="onRowDel(null)" v-auth="'del'">
+            <el-button size="default" type="info" class="ml10" @click="onRowDel(null)" v-auth="'del'">
               <el-icon>
                 <ele-Delete />
               </el-icon>
               删除日志
             </el-button>
-            <!-- <el-button size="default" type="danger" class="ml10" @click="onRowClear()">
+            <!-- <el-button size="default" type="info" class="ml10" @click="onRowClear()">
               <el-icon>
                 <ele-Delete />
               </el-icon>

+ 1 - 1
src/views/system/monitor/plugin/index.vue

@@ -53,7 +53,7 @@
 						<el-button :disabled="scope.row.status == 1" size="small" type="success" link @click="changeStatus(scope.row, 1)" v-auth="'start'"
 							>启用</el-button
 						>
-						<el-button :disabled="scope.row.status == 1" size="small" type="danger" link @click="onDel(scope.row)" v-auth="'del'">删除</el-button>
+						<el-button :disabled="scope.row.status == 1" size="small" type="info" link @click="onDel(scope.row)" v-auth="'del'">删除</el-button>
 						<el-button size="small" type="plain" link @click="addOrEdit(scope.row)">编辑</el-button>
 					</template>
 				</el-table-column>

+ 2 - 2
src/views/system/task/index.vue

@@ -37,7 +37,7 @@
               </el-icon>
               新增任务
             </el-button>
-            <el-button size="default" type="danger" class="ml10" @click="onRowDel(null)" v-auth="'del'">
+            <el-button size="default" type="info" class="ml10" @click="onRowDel(null)" v-auth="'del'">
               <el-icon>
                 <ele-Delete />
               </el-icon>
@@ -65,7 +65,7 @@
         <el-table-column label="操作" width="180" align="center" fixed="right" v-col="'handle'">
           <template #default="scope">
             <el-button size="small" text type="warning" @click="onOpenEditDic(scope.row)" v-auth="'edit'">修改</el-button>
-            <el-button size="small" text type="danger" @click="onRowDel(scope.row)" v-auth="'del'">删除</el-button>
+            <el-button size="small" text type="info" @click="onRowDel(scope.row)" v-auth="'del'">删除</el-button>
             <el-button size="small" text type="primary" @click="onRowRun(scope.row)" v-auth="'do'">执行一次</el-button>
           </template>
         </el-table-column>