| | |
| | | /** |
| | | * @description 3个子配置,通用配置|主题配置|网络配置导出 |
| | | */ |
| | | const setting = require('./setting.config') |
| | | const theme = require('./theme.config') |
| | | const network = require('./net.config') |
| | | module.exports = Object.assign({}, setting, theme, network) |
| | | const setting = require("./setting.config"); |
| | | const theme = require("./theme.config"); |
| | | const network = require("./net.config"); |
| | | module.exports = Object.assign({}, setting, theme, network); |
| | |
| | | /** |
| | | * @author chuzhixin 1204505056@qq.com (不想保留author可删除) |
| | | * @description 路由守卫,目前两种模式:all模式与intelligence模式 |
| | | */ |
| | | import router from "@/router"; |
| | | import store from "@/store"; |
| | | import VabProgress from "nprogress"; |
| | |
| | | * @description 3个子配置,通用配置|主题配置|网络配置 |
| | | */ |
| | | //默认配置 |
| | | const { setting, theme, network } = require('./') |
| | | module.exports = Object.assign({}, setting, theme, network) |
| | | const { setting, theme, network } = require("./"); |
| | | module.exports = Object.assign({}, setting, theme, network); |
| | |
| | | } |
| | | break; |
| | | case noPermissionCode: |
| | | router.push({ path: "/401" }).catch(() => {}); |
| | | router.push({ path: "/login" }).catch(() => {}); |
| | | break; |
| | | default: |
| | | Vue.prototype.$baseMessage(msg || `后端接口${code}异常`, "error"); |
| | |
| | | <div class="error-content"> |
| | | <el-row :gutter="20"> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12"> |
| | | 404 page not found! |
| | | <!-- 404 page not found! --> |
| | | </el-col> |
| | | |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12"> |
| | |
| | | <el-table-column |
| | | show-overflow-tooltip |
| | | prop="name" |
| | | label="项目名称" |
| | | label="名称" |
| | | width="150" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | show-overflow-tooltip |
| | | prop="desc" |
| | | label="描述" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | show-overflow-tooltip |
| | | prop="srcUrl" |
| | | label="项目地址" |
| | | label="地址" |
| | | width="500" |
| | | ></el-table-column> |
| | | <el-table-column show-overflow-tooltip prop="branch" label="分支"> |
| | | </el-table-column> |
| | | <el-table-column show-overflow-tooltip prop="type" label="类型"> |
| | | <template #default="{ row }"> |
| | | <el-tag>{{ typeOptions[row.type] }}</el-tag> |
| | |
| | | <el-table-column |
| | | label="创建时间" |
| | | prop="createdAt" |
| | | width="200" |
| | | width="150" |
| | | ></el-table-column> |
| | | <el-table-column label="操作" width="180px"> |
| | | <template #default="{ row }"> |