Explorar o código

修改台账日期格式

zhangyu %!s(int64=5) %!d(string=hai) anos
pai
achega
b30b732c59
Modificáronse 2 ficheiros con 5 adicións e 5 borrados
  1. 3 3
      config/index.js
  2. 2 2
      src/utils/handsontable/notShow.js

+ 3 - 3
config/index.js

@@ -11,14 +11,14 @@ module.exports = {
         assetsPublicPath: '/',
         proxyTable: {
             '/admin': {
-                target: 'http://192.168.20.235:8080',
+                target: 'http://192.168.20.236:8080',
                 changeOrigin: true,
                 pathRewrite: {
                     "^/admin": "/"
                 }
             },
             '/api': {
-                target: 'http://192.168.20.235:8080',
+                target: 'http://192.168.20.236:8080',
                 changeOrigin: true,
                 pathRewrite: {
                     "^/api": "/"
@@ -42,7 +42,7 @@ module.exports = {
             },
             '/pointconfig': {
                 // 目标 API 地址
-                target: 'http://192.168.20.235:8080/',
+                target: 'http://192.168.20.236:8080/',
                 // 如果要代理 websockets
                 ws: true,
                 // 将主机标头的原点更改为目标URL

+ 2 - 2
src/utils/handsontable/notShow.js

@@ -1052,7 +1052,7 @@ const showTools = {
             return {
                 data: item.Path,
                 type: "date",
-                dateFormat: "YYYY-MM-DD",
+                dateFormat: "YYYYMMDDHHmmss",
                 readOnly: onlyRead,
                 correctFormat: true
             };
@@ -1161,7 +1161,7 @@ const showTools = {
             return {
                 data: item.Path,
                 type: "date",
-                dateFormat: "YYYY-MM-DD",
+                dateFormat: "YYYYMMDDHHmmss",
                 readOnly: !item.Editable,
                 correctFormat: true
             };