diff --git a/src/api/model/modelType.js b/src/api/model/modelType.js index c6b9550..96f0c5b 100644 --- a/src/api/model/modelType.js +++ b/src/api/model/modelType.js @@ -2,7 +2,6 @@ import request from '@/utils/request' // 查询设备模型类别列表 export function listModelType(query) { - console.log("-------------"+query); return request({ url: '/model/dcModelType/list', method: 'get', diff --git a/src/assets/styles/self-defined.scss b/src/assets/styles/self-defined.scss index 351c2e3..64edb28 100644 --- a/src/assets/styles/self-defined.scss +++ b/src/assets/styles/self-defined.scss @@ -20,3 +20,24 @@ margin-left: 100px; } +.marginbottom50px{ + margin-bottom: 50px; +} + +.textaligncenter{ + text-align:center; +} +.textalignleft{ + text-align:left; +} +.widthhalfinlineblock{ + width: 50%; + display: inline-block; +} +.textalignright{ + text-align:right; +} + +.marginbottom20{ + margin-bottom: 5px; +} diff --git a/src/router/index.js b/src/router/index.js index c7cb3d1..f6da8b3 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -167,12 +167,6 @@ export const constantRoutes = [ } ] }, - { - path: '/devicemodel/addmodel', - component: () => import('@/views/model/devicemodel/addmodel'), - name: 'newdevicemodel', - meta: { title: '新增设备模型', icon: '' } - }, ] // 动态路由,基于用户权限动态去加载 diff --git a/src/views/model/devicemodel/addmodel.vue b/src/views/model/devicemodel/addmodel.vue index 731cf1c..605bcd5 100644 --- a/src/views/model/devicemodel/addmodel.vue +++ b/src/views/model/devicemodel/addmodel.vue @@ -1,63 +1,149 @@ - + + \ No newline at end of file diff --git a/src/views/model/devicemodel/index.vue b/src/views/model/devicemodel/index.vue index 32d595f..83f3011 100644 --- a/src/views/model/devicemodel/index.vue +++ b/src/views/model/devicemodel/index.vue @@ -1,6 +1,6 @@