Browse Source

部分细节优化

click33 2 years ago
parent
commit
250475544d

+ 1 - 2
sp-admin/sa-view-sp/sp-admin/admin-list.html

@@ -55,7 +55,7 @@
 							<span v-if="s.row.createByAid == -1">无</span>
 							<el-link v-else @click="sa.$page.openAdminInfo(s.row.createByAid, s.row.name)">{{s.row.createByAid}}</el-link>
 						</template>
-					</sa-td type="text">
+					</sa-td>
 					<sa-td type="text" name="所属角色" prop="roleName"></sa-td>
 					<sa-td type="datetime" name="所属角色" prop="createTime" width="150px"></sa-td>
 					<sa-td type="datetime" name="最后登录" prop="loginTime" width="150px"></sa-td>
@@ -116,7 +116,6 @@
 					dataCount: 0,
 					dataList: [],	// 数据集合
 					roleList: [],	// 角色集合 
-					curr_m: null // 当前操作的 m 
 				},
 				methods: {
 					// 刷新

+ 0 - 3
sp-admin/sa-view-sp/sp-apilog/api-log-list.html

@@ -318,9 +318,6 @@
 				var minutesRound = Math.floor(minutes);
 				var seconds = my_time / 1000 - (24 * 60 * 60 * daysRound) - (60 * 60 * hoursRound) - (60 * minutesRound);
 				seconds = parseInt(seconds);
-				// console.log('转换时间:', daysRound + '天', hoursRound + '时', minutesRound + '分', seconds + '秒');
-				// var time = hoursRound + ':' + minutesRound + ':' + seconds
-				// return time;
 				if(daysRound >= 1) {
 					return daysRound + '天' + hoursRound + '小时';
 				} else if(hoursRound >= 1) {

+ 1 - 0
sp-admin/sa-view-sp/sp-role/menu-setup.html

@@ -127,6 +127,7 @@
 					},
 					// 点击回调, 处理其子节点跟随父节点的选中
 					node_click: function(node) {
+						console.log(node);
 						var is_select = this.$refs.tree.getCheckedKeys().indexOf(node.id) != -1;	// 此节点现在是否被选中 
 						if(node.children){
 							node.children.forEach(function(item) {