diff --git a/.env.dev b/.env.dev index 5729465..28df534 100644 --- a/.env.dev +++ b/.env.dev @@ -1,7 +1,7 @@ ### # @Author: zhp # @Date: 2024-04-28 13:42:51 - # @LastEditTime: 2024-06-03 08:50:41 + # @LastEditTime: 2024-06-03 09:21:15 # @LastEditors: DY # @Description: ### @@ -13,11 +13,11 @@ VUE_APP_TITLE = 芋道管理系统 # 芋道管理系统/开发环境 # VUE_APP_BASE_API = 'http://192.168.1.70:30307' -# VUE_APP_BASE_API = 'http://glass.kszny.picaiba.com' +VUE_APP_BASE_API = 'http://glass.kszny.picaiba.com' # sara # VUE_APP_BASE_API = 'http://192.168.1.63:48080' # 张一丁 -VUE_APP_BASE_API = 'http://192.168.4.139:48080' +# VUE_APP_BASE_API = 'http://192.168.4.139:48080' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true 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 @@