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 - }) } }