Browse Source

app menu图标

qzyReal 1 year ago
parent
commit
641636e5db
2 changed files with 5 additions and 5 deletions
  1. 3 3
      sa-view/app-menu/app-menu-list.html
  2. 2 2
      static/sa.js

+ 3 - 3
sa-view/app-menu/app-menu-list.html

@@ -29,10 +29,10 @@
 				<el-table class="data-table" ref="data-table" :data="dataList" >
 					<sa-td type="index" name="序号"></sa-td>
 					<sa-td name="菜单名称" prop="menuName" ></sa-td>
-					<sa-td name="前端路径" prop="path" ></sa-td>
-					<sa-td name="图标" prop="icon" ></sa-td>
+					<sa-td name="前端路径" prop="path"></sa-td>
+					<sa-td name="图标" prop="icon"  type="img"></sa-td>
 					<sa-td name="排序" prop="sort" ></sa-td>
-					<sa-td name="状态" prop="enable" type="switch" :jv="{0: '禁用', 1: '启用'}" @change="s => updateEnable(s.row)"></sa-td>
+					<sa-td name="状态" prop="enable" type="switch" :jv="{0: '禁用[red]', 1: '启用[green]'}" @change="s => updateEnable(s.row)"></sa-td>
 					<sa-td name="是否认证后访问" prop="auth" type="switch" :jv="{0: '否', 1: '是'}" @change="s => updateAuth(s.row)"></sa-td>
 					<!-- <el-table-column label="操作" fixed="right"  width="240px" v-if="assignAuth">
 						<template slot-scope="s">

+ 2 - 2
static/sa.js

@@ -9,8 +9,8 @@ var sa = {
 (function() {
 	// 公司开发环境
 	var cfg_dev = {
-		// api_url: 'http://127.0.0.1:8080', // 所有ajax请求接口父地址
-		api_url: 'http://192.168.88.34:8080', 
+		api_url: 'http://127.0.0.1:8080', // 所有ajax请求接口父地址
+		// api_url: 'http://192.168.88.34:8080', 
 		web_url: 'http://www.baidu.com' // 此项目前台地址 (此配置项非必须)
 	}
 	// 服务器测试环境