diff --git a/src/api/longchuang/productionPlan.js b/src/api/longchuang/productionPlan.js index 3251043a..c9dbf72c 100644 --- a/src/api/longchuang/productionPlan.js +++ b/src/api/longchuang/productionPlan.js @@ -28,6 +28,9 @@ export const finishMachiningTask = data => createAPI(`/longchuang/productionPlan export const reportMachiningTaskNode = data => createAPI(`/longchuang/productionPlan/machiningTask/reportNode`, 'post', data) export const deleteMachiningTask = data => createAPI(`/longchuang/productionPlan/machiningTask/delete`, 'post', data) +// ================= 综合看板 ================= +export const getFactoryOverviewBoardData = data => createAPI(`/longchuang/productionPlan/screen/factoryOverview`, 'post', data) + // ================= 节点负责人分配 ================= export const getNodeAssigneeList = data => createAPI(`/longchuang/productionPlan/nodeAssignee/list`, 'post', data) export const saveNodeAssignee = data => createAPI(`/longchuang/productionPlan/nodeAssignee/save`, 'post', data) diff --git a/src/views/common/home.vue b/src/views/common/home.vue index 45469133..eb411994 100644 --- a/src/views/common/home.vue +++ b/src/views/common/home.vue @@ -1,3 +1,59 @@ + + + 龙闯 + + 欢迎:{{userName}}!!! + + + + + + + + + + + –> 删除 编辑 @@ -65,9 +121,9 @@ :show-alpha="false"> - + –> 读取菜单搜索字段 保存 @@ -96,7 +152,7 @@ - + –> @@ -320,10 +376,10 @@ export default { buildSchemeCardStyle (row) { var color = this.normalizeSchemeColor((row || {}).schemeColor) || this.defaultSchemeColor return { - '--scheme-accent': color, - '--scheme-bg-start': this.hexToRgba(color, 0.16), - '--scheme-bg-end': this.hexToRgba(color, 0.04), - '--scheme-border': this.hexToRgba(color, 0.28) + '--scheme-accent': color, + '--scheme-bg-start': this.hexToRgba(color, 0.16), + '--scheme-bg-end': this.hexToRgba(color, 0.04), + '--scheme-border': this.hexToRgba(color, 0.28) } }, upsertStoredSchemeColor (schemeKey, color) { @@ -798,8 +854,8 @@ export default { .scheme-card { position: relative; border-radius: 10px; - border: 1px solid var(--scheme-border, #ebeef5); - background: linear-gradient(160deg, var(--scheme-bg-start, #ffffff), var(--scheme-bg-end, #f7f9fc)); + border: 1px solid var(--scheme-border, #ebeef5); + background: linear-gradient(160deg, var(--scheme-bg-start, #ffffff), var(--scheme-bg-end, #f7f9fc)); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); padding: 12px; cursor: pointer; @@ -818,7 +874,7 @@ export default { min-width: 28px; padding: 2px 8px; border-radius: 12px; - background: var(--scheme-accent, #1abc9c); + background: var(--scheme-accent, #1abc9c); color: #fff; font-size: 12px; text-align: center; @@ -910,3 +966,4 @@ export default { color: #fff; } +--> diff --git a/src/views/modules/longtron/screen-factory-overview.vue b/src/views/modules/longtron/screen-factory-overview.vue index 238db8a5..c74310f2 100644 --- a/src/views/modules/longtron/screen-factory-overview.vue +++ b/src/views/modules/longtron/screen-factory-overview.vue @@ -12,19 +12,23 @@ - 本月整梯排产 + 近一月整梯排产 {{ kpi.monthWhole }} - 本月VL2.5升级排产 + 近一月VL2.5升级排产 {{ kpi.monthRenovation }} - 本月线缆/COP任务 + 近一月线缆/COP任务 {{ kpi.monthTask }} - 本月完工达成率 + 近一月机加工任务 + {{ kpi.monthMachining }} + + + 近一月完工达成率 {{ kpi.finishRate }}% @@ -39,7 +43,7 @@ - 本月排产/完工对比 + 近一月排产/完工对比 @@ -68,6 +72,9 @@