From 2c930b42b2424d4672bafcd960fe636b15b24c7d Mon Sep 17 00:00:00 2001 From: mengfanliang Date: Fri, 6 Sep 2024 18:17:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BA=8B=E6=95=85=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E8=8F=9C=E5=8D=95=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 2 +- package.json | 2 +- .../accident/records/components/addOrEdit.vue | 203 +++++++ .../accident/records/components/list.vue | 554 +++++------------- .../accident/records/components/list_demo.vue | 469 +++++++++++++++ src/views/accident/records/index.vue | 12 +- 6 files changed, 831 insertions(+), 411 deletions(-) create mode 100644 src/views/accident/records/components/addOrEdit.vue create mode 100644 src/views/accident/records/components/list_demo.vue diff --git a/config/index.js b/config/index.js index 7f9f910..581b0db 100644 --- a/config/index.js +++ b/config/index.js @@ -11,7 +11,7 @@ module.exports = { assetsPublicPath: '/', proxyTable: { '/api': { - target: 'http://192.168.0.79:8091/', + target: 'http://192.168.0.125:8091/', changeOrigin: true, pathRewrite: { '^/api': '' diff --git a/package.json b/package.json index 83f482a..1e8818a 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "author": "", "private": true, "scripts": { - "dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js --host 192.168.0.45", + "dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js", "start": "npm run dev", "unit": "jest --config test/unit/jest.conf.js --coverage", "e2e": "node test/e2e/runner.js", diff --git a/src/views/accident/records/components/addOrEdit.vue b/src/views/accident/records/components/addOrEdit.vue new file mode 100644 index 0000000..1029d9a --- /dev/null +++ b/src/views/accident/records/components/addOrEdit.vue @@ -0,0 +1,203 @@ + + + + + diff --git a/src/views/accident/records/components/list.vue b/src/views/accident/records/components/list.vue index b6e23c9..dcc6e09 100644 --- a/src/views/accident/records/components/list.vue +++ b/src/views/accident/records/components/list.vue @@ -1,27 +1,29 @@ - + diff --git a/src/views/accident/records/components/list_demo.vue b/src/views/accident/records/components/list_demo.vue new file mode 100644 index 0000000..b6e23c9 --- /dev/null +++ b/src/views/accident/records/components/list_demo.vue @@ -0,0 +1,469 @@ + + + + + diff --git a/src/views/accident/records/index.vue b/src/views/accident/records/index.vue index f128cfc..2b09927 100644 --- a/src/views/accident/records/index.vue +++ b/src/views/accident/records/index.vue @@ -1,17 +1,19 @@