asd123a20 2 роки тому
батько
коміт
72d00625b6
2 змінених файлів з 34 додано та 1 видалено
  1. 32 0
      src/views/survey/index.vue
  2. 2 1
      vue.config.js

+ 32 - 0
src/views/survey/index.vue

@@ -0,0 +1,32 @@
+<template>
+  <div class="box">
+    <iframe class="iframe" src="http://localhost:8081/#/dw/survey/"></iframe>
+  </div>
+</template>
+
+<script>
+
+export default {
+  name: 'dwsIndex',
+  components: {},
+  data() {
+    return {}
+  },
+  methods: {}
+}
+</script>
+
+<style lang="scss" scoped>
+.box {
+  width: 100%;
+  padding: 20px;
+  height: calc(100vh - 84px);
+  // background-color: #F1F1F1;
+  .iframe {
+    width: 100%;
+    height: 100%;
+    border: none;
+  }
+}
+
+</style>

+ 2 - 1
vue.config.js

@@ -37,7 +37,8 @@ module.exports = {
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
-        target: `http://192.168.0.71:8080`,
+        // target: `http://fuyu.scapp.cn/prod-api/`,
+        target: `http://192.168.0.70:8080/`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''