diff --git a/src/api/Outsourcing/OutsourcingPartsQuery.js b/src/api/Outsourcing/OutsourcingPartsQuery.js index c2e5de11..ea006208 100644 --- a/src/api/Outsourcing/OutsourcingPartsQuery.js +++ b/src/api/Outsourcing/OutsourcingPartsQuery.js @@ -45,3 +45,15 @@ export function getExport(check, supplierNameValue, check1, MaterialsValue, chec } }) } +export function search1() { + return request({ + url: '', + method: 'post', + data: { + UserID: state.state.user.id, + ModularID: router.currentRoute.path, + type: '1', + name: '车间生产管理_外协厂家效率图表_查询' + } + }) +} diff --git a/src/main.js b/src/main.js index 907a2a14..729e3d4d 100644 --- a/src/main.js +++ b/src/main.js @@ -28,6 +28,9 @@ Vue.use(Direction) Vue.use(curd) Vue.use(htmlToPdf) Vue.use(ElementUI) +// 关闭点弹窗周围关闭功能 -- 20200218 +ElementUI.Dialog.props.closeOnClickModal.default = false + // 查看图片 Vue.use(Viewer) Viewer.setDefaults({ diff --git a/src/router/getRouter.js b/src/router/getRouter.js index a8b32be5..f0d307c5 100644 --- a/src/router/getRouter.js +++ b/src/router/getRouter.js @@ -4,7 +4,7 @@ export default function fn(data, pid) { let temp for (let i = 0; i < data.length; i++) { if (data[i].pid === pid) { - const obj = { 'path': data[i].path, 'component': () => import(`@/views${(data[i].component)}`), 'redirect': data[i].redirect, alwaysShow: true, 'name': data[i].name, meta: { 'title': data[i].title, 'icon': data[i].icon }} + const obj = { 'path': data[i].path, 'component': () => import(`@/views${(data[i].component)}`), 'redirect': data[i].redirect, alwaysShow: true, 'name': data[i].name, meta: { 'title': data[i].title, 'icon': data[i].icon, 'keepAlive': true }} temp = fn(data, data[i].id) if (temp.length > 0) { obj.children = temp diff --git a/src/styles/sidebar.scss b/src/styles/sidebar.scss index c394b99e..cde0d301 100644 --- a/src/styles/sidebar.scss +++ b/src/styles/sidebar.scss @@ -1,7 +1,7 @@ #app { // 主体区域 .main-container { - min-width: 1380px; + min-width: 1380px; // div3固定宽度后新增 min-height: 100%; transition: margin-left .28s; margin-left: 200px; diff --git a/src/views/ManufacturingCenter/EquipmentMonitoring/index.vue b/src/views/ManufacturingCenter/EquipmentMonitoring/index.vue index 96424075..eec39480 100644 --- a/src/views/ManufacturingCenter/EquipmentMonitoring/index.vue +++ b/src/views/ManufacturingCenter/EquipmentMonitoring/index.vue @@ -1,6 +1,6 @@ - + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/ManufacturingCenter/InventoryQuery/index.vue b/src/views/ManufacturingCenter/InventoryQuery/index.vue index 927daa2a..5b6fb524 100644 --- a/src/views/ManufacturingCenter/InventoryQuery/index.vue +++ b/src/views/ManufacturingCenter/InventoryQuery/index.vue @@ -4,11 +4,8 @@
- - 查询 导出 -
@@ -69,92 +66,6 @@ @current-change="handleCurrentChange"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/ManufacturingCenter/ProcessAdjustQuery/index.vue b/src/views/ManufacturingCenter/ProcessAdjustQuery/index.vue index 0d010e04..dc5fe119 100644 --- a/src/views/ManufacturingCenter/ProcessAdjustQuery/index.vue +++ b/src/views/ManufacturingCenter/ProcessAdjustQuery/index.vue @@ -122,7 +122,6 @@ export default { }, searchChart() { searchChart().then(response => { - console.log(response, 11) for (let i = 0; i < response.data.length; i++) { this.dataX.push(response.data[i].姓名) this.partsNum.push(response.data[i].零件数量) diff --git a/src/views/ManufacturingCenter/ProcessTaskAssignment/index.vue b/src/views/ManufacturingCenter/ProcessTaskAssignment/index.vue index 1c54d590..b009adba 100644 --- a/src/views/ManufacturingCenter/ProcessTaskAssignment/index.vue +++ b/src/views/ManufacturingCenter/ProcessTaskAssignment/index.vue @@ -80,8 +80,8 @@ - - + +