bill_lai 5 lat temu
rodzic
commit
ce04e3915e

+ 21 - 0
src/page/down/index.vue

@@ -0,0 +1,21 @@
+<template>
+  <div>
+      <div class="order-management-inner">
+        <div class="base-info">
+          <span>场景编号:</span>
+          <el-input @keyup.enter.native="_searchOrderData(1)" ref="searchOrderNumber" v-model="searchOrderNumber" value="" placeholder="输入场景编号"></el-input>
+        </div>
+      </div>
+    <iframe src="https://test.4dkankan.com/back/down/index.html?m=PnexPuSl4"></iframe>
+  </div>
+</template>
+
+<style scoped>
+@import url('./style.css');
+</style>
+
+<script>
+export default {
+  
+}
+</script>

+ 166 - 0
src/page/down/style.css

@@ -0,0 +1,166 @@
+.order-check-body {
+  width: 100%;
+  float: left;
+  /*  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
+  -moz-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
+  -webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);*/
+  /*border: 1px solid #ebeef5;*/
+}
+
+.order_check_row {
+  display: flex;
+  width: 100%;
+}
+
+.product_info {
+  width: 50%;
+  flex-direction: column;
+  display: flex;
+  padding: 20px;
+  background: #fff;
+}
+
+.order_info {
+  width: 50%;
+  padding: 20px;
+  margin-left: 20px;
+  background: #fff;
+}
+
+.product_info_title {
+  text-align: left;
+  font-weight: 700;
+}
+
+.product_info_body {
+  margin-left: 30px;
+  display: flex;
+  margin-top: 20px;
+}
+
+.product_info_body_img {
+  width: 110px;
+  height: 110px;
+  border: 1px solid #ddd;
+}
+
+.product_img {
+  margin: 5px auto;
+  width: 100px;
+  height: 100px;
+}
+
+.product_info_body_info {
+  margin-left: 50px;
+}
+
+.product_info_body_info_item {
+  line-height: 27px;
+  text-align: left;
+}
+
+.product_info_body_info_item_title {
+  width: 100px;
+  display: inline-block;
+  margin-right: 20px;
+  font-weight: 700;
+}
+
+.order_info_title {
+  text-align: left;
+  font-weight: 700;
+  margin-bottom: 20px;
+}
+
+.order_info_body {
+  margin-left: 30px;
+  text-align: left;
+}
+
+.order_info_body_info_item {
+  line-height: 23px;
+  padding: 10px 0;
+  border-bottom: 1px solid #f5f5f5;
+  text-align: left;
+}
+
+.order_info_body_info_item_title {
+  width: 100px;
+  display: inline-block;
+  margin-right: 20px;
+  font-weight: 700;
+  vertical-align: top;
+}
+
+.fix-order_info_body_info_item_content {
+  width: 70%;
+  display: inline-block;
+}
+
+.order-management-body {
+  width: 100%;
+  margin: 30px 0 20px 0;
+  float: left;
+}
+
+.order-management-inner {
+  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
+  -moz-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
+  -webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
+  /*border: 1px solid #ebeef5;*/
+  padding: 30px 20px;
+  background: #fff;
+  border-radius: 5px;
+}
+
+.base-info {
+  margin: 20px 0;
+}
+
+.order-check_bottom {
+  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
+  -moz-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
+  -webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
+  /*border: 1px solid #ebeef5;*/
+  margin-top: 30px;
+  background: #fff;
+  border-radius: 5px;
+  padding: 20px 0;
+}
+
+.order-check_tab {
+  margin: 0 0 20px;
+  display: flex;
+  justify-content: space-between;
+  align-items: center;
+}
+
+.order-check_tab ul {
+  display: inline-block;
+}
+
+.order-check_tab li {
+  display: inline-block;
+  cursor: pointer;
+  color: #999;
+  line-height: 1;
+}
+
+.order-check_tab_li_active {
+  color: #000 !important;
+  font-weight: bold;
+}
+
+.order-management-table {
+  margin: 0 20px;
+}
+
+.order-management-pagination {
+  padding: 20px 20px 0;
+  position: relative;
+  text-align: right;
+}
+
+.el-input {
+  width: 220px;
+}

+ 2 - 1
src/page/layout/slide.vue

@@ -63,7 +63,8 @@ export default {
       { text: '经销商申请', link: {name: 'distributor-list'}, top: 98 },
       { text: '留言管理', link: {name: 'leaving'}, top: 182 },
       { text: '版本管理', link: {name: 'edition'}, top: 182 },
-      { text: '数据统计', link: {name: 'Statistics'}, top: 210 }
+      { text: '数据统计', link: {name: 'Statistics'}, top: 210 },
+      { text: '数据下载', link: {name: 'Down'}, top: 210 }
       // ,
       // {
       //   text: 'BBS',

+ 6 - 0
src/router/index.js

@@ -107,6 +107,12 @@ export default new Router({
           name: 'Statistics',
           component: require('@/page/statistics').default,
           meta: { text: '数据统计' }
+        },
+        {
+          path: '/down',
+          name: 'Down',
+          component: require('@/page/down').default,
+          meta: { text: '数据下载' }
         }
       ]
     }

+ 2 - 2
src/util/http.js

@@ -4,8 +4,8 @@ import axios from 'axios'
 // axios.defaults.baseURL = 'https://pro.4dkankan.com/api'
 // axios.defaults.baseURL = 'https://test.4dkankan.com/api'
 // axios.defaults.baseURL = '/apid'
-// axios.defaults.baseURL = '/api'
-axios.defaults.baseURL = 'http://192.168.0.10:8080/api'
+axios.defaults.baseURL = '/api'
+// axios.defaults.baseURL = 'http://192.168.0.10:8080/api'
 
 axios.interceptors.request.use(function (config) {
   config.headers['Content-Type'] = 'application/json;charset=UTF-8'