diff --git a/.env.development b/.env.development index ce731c8..9ac0552 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = Open Platform +VUE_APP_TITLE = 榄菊管理系统 # 开发环境配置 ENV = 'development' diff --git a/.env.staging b/.env.staging index 965664b..471773d 100644 --- a/.env.staging +++ b/.env.staging @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = Open Platform +VUE_APP_TITLE = 榄菊管理系统 NODE_ENV = production diff --git a/public/favicon.ico b/public/favicon.ico index 121ffe2..cfd900b 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/src/api/mes/reportWork.js b/src/api/mes/reportWork.js index 25a9ac4..70aeca6 100644 --- a/src/api/mes/reportWork.js +++ b/src/api/mes/reportWork.js @@ -42,3 +42,20 @@ export function delReportWork(id) { method: 'delete' }); } + +// 查询工单的工序完成列表 +export function getProcessFinishList(query) { + return request({ + url: '/mes/reportWork/getProcessFinishList', + method: 'get', + params: query + }); +} +//成品产量报表 +export function getProductionList(query) { + return request({ + url: '/mes/reportWork/getProductionList', + method: 'get', + params: query + }); +} diff --git a/src/assets/images/login-background.jpg b/src/assets/images/login-background.jpg index 8a89eb8..bb894dd 100644 Binary files a/src/assets/images/login-background.jpg and b/src/assets/images/login-background.jpg differ diff --git a/src/views/dashboard/LineChart copy.vue b/src/views/dashboard/LineChart copy.vue new file mode 100644 index 0000000..8e00258 --- /dev/null +++ b/src/views/dashboard/LineChart copy.vue @@ -0,0 +1,136 @@ + + + diff --git a/src/views/dashboard/LineChart.vue b/src/views/dashboard/LineChart.vue index 702ff73..c075bfb 100644 --- a/src/views/dashboard/LineChart.vue +++ b/src/views/dashboard/LineChart.vue @@ -3,133 +3,123 @@ diff --git a/src/views/dashboard/PieChart.vue b/src/views/dashboard/PieChart.vue index 63f0d84..a9b7d41 100644 --- a/src/views/dashboard/PieChart.vue +++ b/src/views/dashboard/PieChart.vue @@ -45,15 +45,25 @@ export default { this.chart = echarts.init(this.$el, 'macarons') this.chart.setOption({ + title: { + text: '包装线01', + //subtext: '本月产量', + bottom: 'bottom' + }, tooltip: { trigger: 'item', formatter: '{a}
{b} : {c} ({d}%)' }, + /** legend: { left: 'center', bottom: '10', - data: ['Industries', 'Technology', 'Forex', 'Gold', 'Forecasts'] - }, + data: ['榄菊檀香型精品线香蚊香(60装)','榄菊加大盘高级型蚊香优惠装(30装)', + '榄菊高级型蚊香3+1家庭特惠装(18装)', + '榄菊牌小盘高级型黑蚊香(中天繁体)(60装)(出口)', + '榄菊牌小盘高级型蚊香筒装(繁体版)(6装)(出口)' + ] + },**/ series: [ { name: 'WEEKLY WRITE ARTICLES', @@ -62,11 +72,11 @@ export default { radius: [15, 95], center: ['50%', '38%'], data: [ - { value: 320, name: 'Industries' }, - { value: 240, name: 'Technology' }, - { value: 149, name: 'Forex' }, - { value: 100, name: 'Gold' }, - { value: 59, name: 'Forecasts' } + { value: 320, name: '榄菊檀香型精品线香蚊香(60装)' }, + { value: 240, name: '榄菊加大盘高级型蚊香优惠装(30装)' }, + { value: 149, name: '榄菊高级型蚊香3+1家庭特惠装(18装)' }, + { value: 100, name: '榄菊牌小盘高级型黑蚊香(中天繁体)(60装)(出口)' }, + { value: 59, name: '榄菊牌小盘高级型蚊香筒装(繁体版)(6装)(出口)' } ], animationEasing: 'cubicInOut', animationDuration: 2600 diff --git a/src/views/dashboard/PieChart2.vue b/src/views/dashboard/PieChart2.vue new file mode 100644 index 0000000..515ecd1 --- /dev/null +++ b/src/views/dashboard/PieChart2.vue @@ -0,0 +1,88 @@ + + + diff --git a/src/views/index.vue b/src/views/index.vue index b3d1c45..42d2f29 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -2,36 +2,22 @@
-
-
- -
+ 小榄工厂本月产量
- -

榄菊生产管理系统

-

- 当前版本: v{{ version }} -

+ +
+ +
- - - - -

管理模块

-
-
- - -

1.计划管理

-

2.工艺管理

-

3.MES管理

-

4.WMS管理

-

5.基础数据管理

-

6.系统服务管理

-
-
+
+ + + + + + @@ -41,12 +27,57 @@ diff --git a/src/views/mes/production/index.vue b/src/views/mes/production/index.vue new file mode 100644 index 0000000..cbfdd9e --- /dev/null +++ b/src/views/mes/production/index.vue @@ -0,0 +1,281 @@ + + + diff --git a/src/views/technology/process/index.vue b/src/views/technology/process/index.vue index 56d3268..50c6a10 100644 --- a/src/views/technology/process/index.vue +++ b/src/views/technology/process/index.vue @@ -657,10 +657,10 @@ export default { const data = table.data; console.log(data); for (const one of data) { - const equipmentCode = one.equipmentCode; - this.form.workCenter = this.form.workCenter + ','+ equipmentCode; - this.boundeEuipmentOpen = false; - } + const equipmentCode = one.equipmentCode; + this.form.workCenter = this.form.workCenter + ','+ equipmentCode; + this.boundeEuipmentOpen = false; + } }, /** 删除按钮操作 */