diff --git a/package.json b/package.json index c2af3a1a..495a3e11 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "management-system" ], "dependencies": { + "@jiaminghi/data-view": "^2.10.0", "@riophae/vue-treeselect": "0.4.0", "axios": "0.24.0", "clipboard": "2.0.8", @@ -58,7 +59,9 @@ "vue-meta": "2.4.0", "vue-router": "3.4.9", "vuedraggable": "2.24.3", - "vuex": "3.6.0" + "vuex": "3.6.0", + "less": "^3.9.0", + "less-loader": "^5.0.0" }, "devDependencies": { "@vue/cli-plugin-babel": "4.4.6", diff --git a/src/api/kanban/dryingroom.js b/src/api/kanban/dryingroom.js new file mode 100644 index 00000000..1a2db387 --- /dev/null +++ b/src/api/kanban/dryingroom.js @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 获取工厂下拉列表 +export function getBoardFactory(data) { + return request({ + url: '/mes/wcsInterface/getBoardFactory', + method: 'post', + data: data + }); +} +// 获取烘房监控页面顶部信息 +export function getDryingRoomList(data) { + return request({ + url: '/mes/wcsInterface/dryRoomDataHeader', + method: 'post', + data: data + }); +} +// 获取烘房监控页面顶部信息 +export function dryRoomDataCarousel(data) { + return request({ + url: '/mes/wcsInterface/dryRoomDataCarousel', + method: 'post', + data: data + }); +} diff --git a/src/assets/common.less b/src/assets/common.less new file mode 100644 index 00000000..3400edcb --- /dev/null +++ b/src/assets/common.less @@ -0,0 +1,6 @@ +html, body { + width: 100%; + height: 100%; + padding: 0px; + margin: 0px; +} \ No newline at end of file diff --git a/src/assets/images/bg-exception.png b/src/assets/images/bg-exception.png new file mode 100644 index 00000000..54aa0457 Binary files /dev/null and b/src/assets/images/bg-exception.png differ diff --git a/src/main.js b/src/main.js index 73204644..39e675b0 100644 --- a/src/main.js +++ b/src/main.js @@ -6,7 +6,7 @@ import Element from 'element-ui' import './assets/styles/element-variables.scss' import * as echarts from 'echarts' import 'echarts-gl' // 3d图表库 - + import '@/assets/styles/index.scss' // global css import '@/assets/styles/open-platform.scss' // OpenPlatform css import App from './App' @@ -39,9 +39,14 @@ import DictTag from '@/components/DictTag' import VueMeta from 'vue-meta' // 字典数据组件 import DictData from '@/components/DictData' +// Data V看板 +import dataV from '@jiaminghi/data-view' + +// import './assets/common.less' // 打印插件 import Print from 'print-js' + // 全局方法挂载 Vue.prototype.$echarts = echarts Vue.prototype.getDicts = getDicts @@ -66,6 +71,7 @@ Vue.component('ImagePreview', ImagePreview) Vue.use(directive) Vue.use(plugins) Vue.use(VueMeta) +Vue.use(dataV) DictData.install() /** diff --git a/src/router/index.js b/src/router/index.js index a5828770..ceb28b84 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -93,6 +93,12 @@ export const constantRoutes = [ path: "/kanban/dailyoutput", component: () => import("@/views/kanban/dailyoutput/index"), hidden: true, + }, + // 看板路由 + { + path: "/kanban/exception", + component: () => import("@/views/kanban/exception/index"), + hidden: true, }, // 看板路由 { diff --git a/src/views/kanban/exception/cards.vue b/src/views/kanban/exception/cards.vue new file mode 100644 index 00000000..0c5b5698 --- /dev/null +++ b/src/views/kanban/exception/cards.vue @@ -0,0 +1,231 @@ + + + + + diff --git a/src/views/kanban/exception/cards2.vue b/src/views/kanban/exception/cards2.vue new file mode 100644 index 00000000..43881f8e --- /dev/null +++ b/src/views/kanban/exception/cards2.vue @@ -0,0 +1,187 @@ + + + + + diff --git a/src/views/kanban/exception/carousel.vue b/src/views/kanban/exception/carousel.vue new file mode 100644 index 00000000..28324ee3 --- /dev/null +++ b/src/views/kanban/exception/carousel.vue @@ -0,0 +1,151 @@ + + + + + + diff --git a/src/views/kanban/exception/digitalFlop.vue b/src/views/kanban/exception/digitalFlop.vue new file mode 100644 index 00000000..89f48a81 --- /dev/null +++ b/src/views/kanban/exception/digitalFlop.vue @@ -0,0 +1,169 @@ + + + + + + diff --git a/src/views/kanban/exception/index.vue b/src/views/kanban/exception/index.vue new file mode 100644 index 00000000..a3bffd60 --- /dev/null +++ b/src/views/kanban/exception/index.vue @@ -0,0 +1,135 @@ + + + + + diff --git a/src/views/kanban/exception/rankingBoard.vue b/src/views/kanban/exception/rankingBoard.vue new file mode 100644 index 00000000..cf8c262d --- /dev/null +++ b/src/views/kanban/exception/rankingBoard.vue @@ -0,0 +1,93 @@ + + + + + diff --git a/src/views/kanban/exception/roseChart.vue b/src/views/kanban/exception/roseChart.vue new file mode 100644 index 00000000..9a89099c --- /dev/null +++ b/src/views/kanban/exception/roseChart.vue @@ -0,0 +1,145 @@ + + + + + diff --git a/src/views/kanban/exception/scrollBoard.vue b/src/views/kanban/exception/scrollBoard.vue new file mode 100644 index 00000000..bc1b8349 --- /dev/null +++ b/src/views/kanban/exception/scrollBoard.vue @@ -0,0 +1,40 @@ + + + + + diff --git a/src/views/kanban/exception/topHeader.vue b/src/views/kanban/exception/topHeader.vue new file mode 100644 index 00000000..5fa57157 --- /dev/null +++ b/src/views/kanban/exception/topHeader.vue @@ -0,0 +1,61 @@ + + + + + diff --git a/src/views/kanban/exception/waterLevelChart.vue b/src/views/kanban/exception/waterLevelChart.vue new file mode 100644 index 00000000..8db777d2 --- /dev/null +++ b/src/views/kanban/exception/waterLevelChart.vue @@ -0,0 +1,93 @@ + + + + +