diff --git a/.env.development b/.env.development
index 7dc61fc..1244d0b 100644
--- a/.env.development
+++ b/.env.development
@@ -1,3 +1,3 @@
-VITE_BASE_URL=http://192.168.0.106:12080/admin-api
+VITE_BASE_URL=http://localhost:12080/admin-api
VITE_BASE_URL_IMAGE=http://localhost:12080/admin-api
\ No newline at end of file
diff --git a/src/pages/overhaulOrder/addServiceRecord.vue b/src/pages/overhaulOrder/addServiceRecord.vue
index d4a2efc..01d5794 100644
--- a/src/pages/overhaulOrder/addServiceRecord.vue
+++ b/src/pages/overhaulOrder/addServiceRecord.vue
@@ -458,6 +458,7 @@
}
// 日期模式点击确定之后
function chooseDatetime(e) {
+ console.log(e)
let array1 = []
let array2 = []
if (formatValue.value.indexOf('YYYY') > -1) {
@@ -480,7 +481,8 @@
}
let str = array1.join('-') + ' ' + array2.join(':')
formatDate.value = str
- form.value[field.value] = e.timestamp
+ form.value[field.value] = e.timestamp*1000
+ console.log(form.value[field.value] )
}
onLoad(async(option) => {
if (option.type) type.value = option.type;
@@ -490,7 +492,7 @@
.data)).id) {
form.value = JSON.parse(decodeURIComponent(option.data))
form.value.itemNumbers = form.value.items
- formatDate.value = form.value.completionTime ? proxy.$time.formatDate(form.value.completionTime * 1000) : ''
+ formatDate.value = form.value.completionTime ? proxy.$time.formatDate(form.value.completionTime) : ''
form.value.statusTxt = form.value.status == 0 ? '完成' :'未完成'
};
jxDetailsStatus.value = await dictApi.getDict('jx_details_status')
diff --git a/src/pages/overhaulOrder/detail.vue b/src/pages/overhaulOrder/detail.vue
index bb15a67..0937c1e 100644
--- a/src/pages/overhaulOrder/detail.vue
+++ b/src/pages/overhaulOrder/detail.vue
@@ -93,7 +93,7 @@
完成时间:
- {{$time.formatDate(item.completionTime*1000)}}
+ {{$time.formatDate(item.completionTime)}}
工程师确认: