diff --git a/src/components/Breadcrumb/index.vue b/src/components/Breadcrumb/index.vue index 93a914d3..21e5bdf7 100644 --- a/src/components/Breadcrumb/index.vue +++ b/src/components/Breadcrumb/index.vue @@ -35,7 +35,7 @@ export default { const first = matched[0] if (!this.isDashboard(first)) { - matched = [{ path: '/home/equipment-supply', meta: { title: '首页' }}].concat(matched) + matched = [{ path: '/', meta: { title: '首页' }}].concat(matched) } this.levelList = matched.filter(item => item.meta && item.meta.title && item.meta.breadcrumb !== false) diff --git a/src/router/index.js b/src/router/index.js index 341750e1..e98d3fda 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -64,11 +64,11 @@ export const constantRoutes = [ { path: '', component: Layout, - redirect: 'home/equipment-supply', + redirect: 'index', children: [ { - path: 'home/equipment-supply', - component: () => import('@/views/home/equipment-supply/index.vue'), + path: '', + component: () => import('@/views/index.vue'), name: 'Index', meta: { title: '首页', icon: 'dashboard', affix: true }, hidden: true diff --git a/src/views/index.vue b/src/views/index.vue index 4a73b73f..8ad699de 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -2,88 +2,7 @@
- 当前版本: v{{ version }} -
-
- 官网:
| 机具名称 | +规格型号 | +单位 | +数量 | +设备编码 | +额定载荷KN | +试验载荷KN | +持荷时间min | +试验日期 | +下次试验日期 | +检验结论 | +备注 | +
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ item.typeName }} | +{{ item.typeModelName }} | +{{ item.unit }} | +{{ item.num }} | +{{ item.maCode }} | +{{ item.ratedLoad }} | +{{ item.testLoad }} | +{{ item.holdingTime }} | +{{ item.testTime }} | +{{ item.nextTestTime }} | +{{ item.checkResult }} | +{{ item.remark }} | +
| 序号 | +物资名称 | +规格型号 | +计量单位 | +领用数量 | +备注 | +出库方式 | +
|---|---|---|---|---|---|---|
| {{ index + 1 }} | +{{ item.maTypeName }} | +{{ item.typeName }} | +{{ item.unitName }} | +{{ item.preNum }} | +{{ item.remark }} | ++ + 编码出库 + + 数量出库 + | +
| 序号 | +物资名称 | +规格型号 | +计量单位 | +领用数量 | +备注 | +出库方式 | +
|---|---|---|---|---|---|---|
| {{ index + 1 }} | +{{ item.maTypeName }} | +{{ item.typeName }} | +{{ item.unitName }} | +{{ item.preNum }} | +{{ item.remark }} | ++ + 编码出库 + + 数量出库 + | +
| 序号 | +类型名称 | +规格型号 | +设备编码 | +
|---|---|---|---|
| {{ index + 1 }} | +{{ item.materialName }} | +{{ item.typeName }} | +{{ item.maCode }} | +
| 序号 | +物资名称 | +规格型号 | +计量单位 | +领用数量 | +备注 | +出库方式 | +
|---|---|---|---|---|---|---|
| {{ index + 1 }} | +{{ item.maTypeName }} | +{{ item.typeName }} | +{{ item.unitName }} | +{{ item.preNum }} | +{{ item.remark }} | ++ + 编码出库 + + 数量出库 + | +
| 序号 | +类型名称 | +规格型号 | +设备编码 | +
|---|---|---|---|
| {{ index + 1 }} | +{{ item.materialName }} | +{{ item.typeName }} | +{{ item.maCode }} | +