|  | @@ -55,7 +55,11 @@
 | 
											
												
													
														|  |        <el-table-column prop="orderNum" label="排序" width="60"></el-table-column>
 |  |        <el-table-column prop="orderNum" label="排序" width="60"></el-table-column>
 | 
											
												
													
														|  |        <el-table-column prop="perms" label="权限标识" :show-overflow-tooltip="true"></el-table-column>
 |  |        <el-table-column prop="perms" label="权限标识" :show-overflow-tooltip="true"></el-table-column>
 | 
											
												
													
														|  |        <el-table-column prop="component" label="组件路径" :show-overflow-tooltip="true"></el-table-column>
 |  |        <el-table-column prop="component" label="组件路径" :show-overflow-tooltip="true"></el-table-column>
 | 
											
												
													
														|  | -      <el-table-column prop="status" label="状态" :formatter="statusFormat" width="80"></el-table-column>
 |  | 
 | 
											
												
													
														|  | 
 |  | +      <el-table-column prop="status" label="状态" width="80">
 | 
											
												
													
														|  | 
 |  | +        <template slot-scope="scope">
 | 
											
												
													
														|  | 
 |  | +          <dict-tag :options="statusOptions" :value="scope.row.status"/>
 | 
											
												
													
														|  | 
 |  | +        </template>
 | 
											
												
													
														|  | 
 |  | +      </el-table-column>
 | 
											
												
													
														|  |        <el-table-column label="创建时间" align="center" prop="createTime">
 |  |        <el-table-column label="创建时间" align="center" prop="createTime">
 | 
											
												
													
														|  |          <template slot-scope="scope">
 |  |          <template slot-scope="scope">
 | 
											
												
													
														|  |            <span>{{ parseTime(scope.row.createTime) }}</span>
 |  |            <span>{{ parseTime(scope.row.createTime) }}</span>
 | 
											
										
											
												
													
														|  | @@ -63,16 +67,16 @@
 | 
											
												
													
														|  |        </el-table-column>
 |  |        </el-table-column>
 | 
											
												
													
														|  |        <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
 |  |        <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
 | 
											
												
													
														|  |          <template slot-scope="scope">
 |  |          <template slot-scope="scope">
 | 
											
												
													
														|  | -          <el-button size="mini" 
 |  | 
 | 
											
												
													
														|  | -            type="text" 
 |  | 
 | 
											
												
													
														|  | -            icon="el-icon-edit" 
 |  | 
 | 
											
												
													
														|  | 
 |  | +          <el-button size="mini"
 | 
											
												
													
														|  | 
 |  | +            type="text"
 | 
											
												
													
														|  | 
 |  | +            icon="el-icon-edit"
 | 
											
												
													
														|  |              @click="handleUpdate(scope.row)"
 |  |              @click="handleUpdate(scope.row)"
 | 
											
												
													
														|  |              v-hasPermi="['system:menu:edit']"
 |  |              v-hasPermi="['system:menu:edit']"
 | 
											
												
													
														|  |            >修改</el-button>
 |  |            >修改</el-button>
 | 
											
												
													
														|  | -          <el-button 
 |  | 
 | 
											
												
													
														|  | -            size="mini" 
 |  | 
 | 
											
												
													
														|  | -            type="text" 
 |  | 
 | 
											
												
													
														|  | -            icon="el-icon-plus" 
 |  | 
 | 
											
												
													
														|  | 
 |  | +          <el-button
 | 
											
												
													
														|  | 
 |  | +            size="mini"
 | 
											
												
													
														|  | 
 |  | +            type="text"
 | 
											
												
													
														|  | 
 |  | +            icon="el-icon-plus"
 | 
											
												
													
														|  |              @click="handleAdd(scope.row)"
 |  |              @click="handleAdd(scope.row)"
 | 
											
												
													
														|  |              v-hasPermi="['system:menu:add']"
 |  |              v-hasPermi="['system:menu:add']"
 | 
											
												
													
														|  |            >新增</el-button>
 |  |            >新增</el-button>
 | 
											
										
											
												
													
														|  | @@ -338,20 +342,6 @@ export default {
 | 
											
												
													
														|  |          this.menuOptions.push(menu);
 |  |          this.menuOptions.push(menu);
 | 
											
												
													
														|  |        });
 |  |        });
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  | -    // 显示状态字典翻译
 |  | 
 | 
											
												
													
														|  | -    visibleFormat(row, column) {
 |  | 
 | 
											
												
													
														|  | -      if (row.menuType == "F") {
 |  | 
 | 
											
												
													
														|  | -        return "";
 |  | 
 | 
											
												
													
														|  | -      }
 |  | 
 | 
											
												
													
														|  | -      return this.selectDictLabel(this.visibleOptions, row.visible);
 |  | 
 | 
											
												
													
														|  | -    },
 |  | 
 | 
											
												
													
														|  | -    // 菜单状态字典翻译
 |  | 
 | 
											
												
													
														|  | -    statusFormat(row, column) {
 |  | 
 | 
											
												
													
														|  | -      if (row.menuType == "F") {
 |  | 
 | 
											
												
													
														|  | -        return "";
 |  | 
 | 
											
												
													
														|  | -      }
 |  | 
 | 
											
												
													
														|  | -      return this.selectDictLabel(this.statusOptions, row.status);
 |  | 
 | 
											
												
													
														|  | -    },
 |  | 
 | 
											
												
													
														|  |      // 取消按钮
 |  |      // 取消按钮
 | 
											
												
													
														|  |      cancel() {
 |  |      cancel() {
 | 
											
												
													
														|  |        this.open = false;
 |  |        this.open = false;
 | 
											
										
											
												
													
														|  | @@ -439,4 +429,4 @@ export default {
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |    }
 |  |    }
 | 
											
												
													
														|  |  };
 |  |  };
 | 
											
												
													
														|  | -</script>
 |  | 
 | 
											
												
													
														|  | 
 |  | +</script>
 |