diff --git a/public/index.html b/public/index.html index 569058a68e0410ef72256284dcbe5d0db684925b..9b34aa9989923f18a0742122c9bb436cc4d0e156 100644 --- a/public/index.html +++ b/public/index.html @@ -18,7 +18,7 @@ - 视频诊断 + 随访反馈 + diff --git a/src/pages/peopleList.vue b/src/pages/peopleList.vue deleted file mode 100644 index f97c755d28216d7e758caea940e8ccbd72381323..0000000000000000000000000000000000000000 --- a/src/pages/peopleList.vue +++ /dev/null @@ -1,210 +0,0 @@ - - - diff --git a/src/pages/videoList.vue b/src/pages/videoList.vue deleted file mode 100644 index faef8a8ffed0441546febc19885af600a10fdf3f..0000000000000000000000000000000000000000 --- a/src/pages/videoList.vue +++ /dev/null @@ -1,312 +0,0 @@ - - - \ No newline at end of file diff --git a/src/pages/videoShow.vue b/src/pages/videoShow.vue deleted file mode 100644 index 3caade0ad501b723ae3865f7ac798fd0f815c183..0000000000000000000000000000000000000000 --- a/src/pages/videoShow.vue +++ /dev/null @@ -1,134 +0,0 @@ - - - \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index b1d3eb32fae9b5f424c6b6004e8faf3db7f83b5d..6bd182ed5c4a9f1d679a6dbff4c42861bfa9d1e2 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -5,7 +5,7 @@ Vue.use(Router); const page = [ { path: "/", - redirect: "/login" //调试 + redirect: "/feedback" //调试 }, { path: "/login", @@ -14,22 +14,10 @@ const page = [ component: () => import("@/pages/login") }, { - path: "/peopleList", - meta: { index: 2, keepAlive: true, scrollTop: 0 }, - name: "peopleList", - component: () => import("@/pages/peopleList") - }, - { - path: "/videoList", - meta: { index: 3, keepAlive: true, scrollTop: 0 }, - name: "videoList", - component: () => import("@/pages/videoList") - }, - { - path: "/videoShow", - meta: { index: 3, keepAlive: false }, - name: "videoShow", - component: () => import("@/pages/videoShow") + path: "/feedback", + meta: { index: 2, keepAlive: false }, + name: "feedback", + component: () => import("@/pages/feedback") } ]; diff --git a/vue.config.js b/vue.config.js index 5b836ad077b3b7ebc99d0d0cade915d98849a29b..c670070f816b1fc07ae98ad977d4f6fb5cce8c8f 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,4 +1,4 @@ -const path = require("path"); +const path = require("path") module.exports = { publicPath: "", @@ -7,10 +7,10 @@ module.exports = { configureWebpack: (config) => { require("@vux/loader").merge(config, { plugins: ["vux-ui"] - }); + }) }, chainWebpack: (config) => { - config.resolve.alias.set("@", path.join(__dirname, "src")); + config.resolve.alias.set("@", path.join(__dirname, "src")) // config.resolve.alias.set( // "vue$", // path.join(__dirname, "vue/dist/vue.esm.js") @@ -57,17 +57,21 @@ module.exports = { } }, devServer: { + disableHostCheck: true, //内网穿透 host: "0.0.0.0", - port: "8080", - open: true, // 自动拉起浏览器 - hot: true, // 热加载 + port: 8080, + https: false, // https:{type:Boolean} + open: true, proxy: { - // change xxx-api/login => mock/login - // detail: https://cli.vuejs.org/config/#devserver-proxy - "/": { - target: "http://10.130.2.64:8201", - changeOrigin: true + "/api": { + target: "https://ds.cixincloud.com/songjiang-api", + // target: 'http://localhost:8201/', + // target: 'http://192.168.3.221/8201/', + changeOrigin: true, + pathRewrite: { + "^/api": "" + } } } } -}; +}