From 0ec4b34b05769b31567967769fa4036c27550165 Mon Sep 17 00:00:00 2001 From: kevin jiang Date: Sat, 16 May 2020 00:43:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E9=80=82=E9=85=8D=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/{home => data}/CustomerDetail.vue | 0 src/pages/shop/IncreaseDataCompany.vue | 2 +- src/router/index.js | 2 +- vue.config.js | 12 ------------ 4 files changed, 2 insertions(+), 14 deletions(-) rename src/pages/{home => data}/CustomerDetail.vue (100%) diff --git a/src/pages/home/CustomerDetail.vue b/src/pages/data/CustomerDetail.vue similarity index 100% rename from src/pages/home/CustomerDetail.vue rename to src/pages/data/CustomerDetail.vue diff --git a/src/pages/shop/IncreaseDataCompany.vue b/src/pages/shop/IncreaseDataCompany.vue index fb85cc8..69ab396 100644 --- a/src/pages/shop/IncreaseDataCompany.vue +++ b/src/pages/shop/IncreaseDataCompany.vue @@ -142,7 +142,7 @@ } }, mounted: function () { - let startDate = this.$moment(new Date()).add(-29, "day").format("YYYY-MM-DD"); + let startDate = this.$moment(new Date()).add(-6, "day").format("YYYY-MM-DD"); let endDate = this.$moment(new Date()).format("YYYY-MM-DD"); this.selectDate.push(startDate); this.selectDate.push(endDate); diff --git a/src/router/index.js b/src/router/index.js index 8de1026..d6a8dd1 100755 --- a/src/router/index.js +++ b/src/router/index.js @@ -14,7 +14,7 @@ import TableAnalysis from "@/pages/TableAnalysis"; import AddCustomerTable from "@/pages/analysis/AddCustomerTable"; import ApplyCustomerTable from "@/pages/analysis/ApplyCustomerTable"; import ZeroExtendDetail from "@/pages/home/ZeroExtendDetail"; -import CustomerDetail from "@/pages/home/CustomerDetail"; +import CustomerDetail from "@/pages/data/CustomerDetail"; import IncreaseData from '@/pages/shop/IncreaseData'; import IncreaseDataCompany from '@/pages/shop/IncreaseDataCompany'; import IncreaseDataStaff from '@/pages/shop/IncreaseDataStaff'; diff --git a/vue.config.js b/vue.config.js index a552216..853dbc6 100644 --- a/vue.config.js +++ b/vue.config.js @@ -32,17 +32,5 @@ module.exports = { // proxy: 'http://192.168.31.177:8312/' proxy: 'http://localhost:8312/' // proxy: 'http://jdxdev.vipgz4.idcfengye.com/' - }, - chainWebpack: config => { - config.module - .rule('css') - .test(/\.css$/) - .oneOf('vue') - .resourceQuery(/\?vue/) - .use('px2rem') - .loader('px2rem-loader') - .options({ - remUnit: 192 - }) } }