diff --git a/.env.dev b/.env.dev index 218fdc5..85829f4 100644 --- a/.env.dev +++ b/.env.dev @@ -1,8 +1,8 @@ ### # @Author: zhp # @Date: 2024-04-28 13:42:51 - # @LastEditTime: 2024-06-03 15:41:29 - # @LastEditors: zhp + # @LastEditTime: 2024-06-04 08:56:35 + # @LastEditors: DY # @Description: ### # 开发环境配置 diff --git a/src/api/produceData/order.js b/src/api/produceData/order.js index 138d8d6..d779df7 100644 --- a/src/api/produceData/order.js +++ b/src/api/produceData/order.js @@ -1,7 +1,7 @@ /* * @Author: zhp * @Date: 2024-05-07 08:54:59 - * @LastEditTime: 2024-05-31 15:08:27 + * @LastEditTime: 2024-06-03 14:25:02 * @LastEditors: DY * @Description: */ @@ -50,3 +50,11 @@ export function exportExcel(data) { responseType: 'blob' }) } + +// 获得工单数据概览 +export function getOverView(){ + return request({ + url: '/ip/prod-work-order/getOverView', + method: 'get' + }) +} diff --git a/src/views/produce/target/detail-or-updata.vue b/src/views/produce/target/detail-or-updata.vue index d4d8046..f631c5c 100644 --- a/src/views/produce/target/detail-or-updata.vue +++ b/src/views/produce/target/detail-or-updata.vue @@ -1,7 +1,7 @@ @@ -18,11 +18,11 @@

时间维度

-

{{ dataForm.targetType === 0 ? '月' : '年' }}

+

{{ ['日', '周', '月', '年'][dataForm.targetType] }}

时间

-

{{ dataForm.targetType === 1 ? dataForm.targetYear + '年' : dataForm.targetYear + '年' + dataForm.targetMonth + '月'}}

+

{{ dataForm.targetTime}}

@@ -371,5 +371,8 @@ export default { color: rgba(102,102,102,0.75); padding-bottom: 20px; } +.detailBox { + width: 98%; +} diff --git a/src/views/produce/target/index.vue b/src/views/produce/target/index.vue index a1a231b..a9984f9 100644 --- a/src/views/produce/target/index.vue +++ b/src/views/produce/target/index.vue @@ -1,15 +1,15 @@