From 27743f1faf12390842fda788f1771ff3e328ad40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E9=91=AB?= Date: Thu, 17 Dec 2020 20:50:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=B7=E9=81=93=E7=AE=A1=E7=90=86=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E6=8E=A5=E5=8F=A3=E8=81=94=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/http/http-api.js | 7 +++++- src/layouts/PageContent.vue | 2 +- src/main.js | 2 ++ src/views/index.vue | 3 +++ src/views/roadwayManage/index.vue | 38 ++++++++++++++++++++++++++++--- src/views/roadwayManage/model.vue | 37 +++++++++++++++++++++--------- 6 files changed, 73 insertions(+), 16 deletions(-) diff --git a/src/api/http/http-api.js b/src/api/http/http-api.js index 9ea9ac1..523b42a 100644 --- a/src/api/http/http-api.js +++ b/src/api/http/http-api.js @@ -1,4 +1,4 @@ -export default { +export default { getStreetList: { method: "POST", url: "/street/page", @@ -14,6 +14,11 @@ export default { url: "/street", name: "编辑巷道" }, + // deleteStreet: { + // method: "DELETE", + // url: "/street", + // name: "删除巷道" + // }, queryList: { url: '/order/list', name: '查询', diff --git a/src/layouts/PageContent.vue b/src/layouts/PageContent.vue index 68ba208..6e847dc 100644 --- a/src/layouts/PageContent.vue +++ b/src/layouts/PageContent.vue @@ -98,7 +98,7 @@ export default { .table{ background: #ffffff; margin: 8px 20px; - height: 900px; + height: calc(100vh - 190px); padding:20px; } } diff --git a/src/main.js b/src/main.js index 32fb703..a309b73 100644 --- a/src/main.js +++ b/src/main.js @@ -10,6 +10,8 @@ import api from './plugins/axios/index' Vue.config.productionTip = false Vue.prototype.$utils = utils Vue.prototype.$api = api +// import axios from 'axios' +// Vue.prototype.$axios = axios new Vue({ router, store, diff --git a/src/views/index.vue b/src/views/index.vue index 6abd291..0e51e03 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -111,5 +111,8 @@ export default { .collapsedClose{ margin-left: 80px; } + .ant-table td { + white-space: nowrap; + } } diff --git a/src/views/roadwayManage/index.vue b/src/views/roadwayManage/index.vue index 0992859..777c3bd 100644 --- a/src/views/roadwayManage/index.vue +++ b/src/views/roadwayManage/index.vue @@ -48,7 +48,7 @@