Browse Source

添加空页面模板页

zhangyu 5 years ago
parent
commit
eb20ceabd8

File diff suppressed because it is too large
+ 2 - 0
src/assets/image/uncultivated.svg


+ 5 - 2
src/router/system.js

@@ -15,6 +15,9 @@ import pointSteps from '@/views/point/config_point/steps'
 /**项目化配置 */
 import collectsetting from '@/views/project_setting/collection_setting/index'
 
+/**模型管理 */
+import  modelFile from '@/views/model/file/index'
+
 /** 业务空间 */
 import spacelist from '@/views/business_space/business_list'
 
@@ -113,8 +116,8 @@ export default [
             { path: '', name: 'Dasboard', component: Dasboard },
             {
                 path: 'file',
-                name: 'Dasboard',
-                component: Dasboard,
+                name: 'modelFile',
+                component: modelFile,
                 meta: { keepAlive: false, breadcrumbs: [{ label: '模型管理', path: '/model/file' }, { label: '模型文件管理' }] }
             },
             {

+ 39 - 3
src/views/dasboard/index.vue

@@ -1,8 +1,18 @@
 <template>
-    <div>
-        <h4>开发中...</h4>
-        <!-- <button v-if="hasPermission('system:role:query')">测试权限 </button> -->
+    <div class="main-box">
+        <div class="mian-icon">
+            <img src="@/assets/image/uncultivated.svg">
+        </div>
+        <div class="main-text">
+            <div class="main-content">
+                <h1>功能设计中。。。</h1>
+                <p><b>功能设计说明:</b><slot name="explain"></slot></p>
+                <p><b>计划可查看时间:</b><slot name="time"></slot></p>
+            </div>
+        </div>
     </div>
+    <!-- <h4>开发中...</h4> -->
+    <!-- <button v-if="hasPermission('system:role:query')">测试权限 </button> -->
 </template>
 <script>
 export default {
@@ -21,4 +31,30 @@ export default {
 }
 </script>
 <style lang='scss' scoped>
+.main-box{
+    width: 100%;
+    height: 100%;
+    display: flex;
+}
+.mian-icon{
+    flex: 2;
+    text-align: center;
+    position: relative;
+    img{
+        position: absolute;
+        top: 25%;
+    }
+}
+.main-text{
+    flex: 3;
+    position: relative;
+    .main-content{
+        position: absolute;
+        padding-right: 200px;
+        top: 20%;
+        p{
+            padding: 20px 0;
+        }
+    }
+}
 </style>

+ 28 - 0
src/views/model/file/index.vue

@@ -0,0 +1,28 @@
+<template>
+    <div>
+      <das-board>
+        <template v-slot:explain>
+          <span>{{explain}}</span>
+        </template>
+        <template v-slot:time>
+          <span>{{time}}</span>
+        </template>
+      </das-board>
+    </div>
+</template>
+
+<script>
+import dasBoard from "@/views/dasboard/index";
+export default {
+    components: {
+      dasBoard
+    },
+    data() {
+        return {
+          explain:"模型文件管理",
+          time:"2019-06-25"
+        }
+    },
+    mounted() {}
+}
+</script>

+ 1 - 1
src/views/point/config_point/steps/step1.vue

@@ -24,7 +24,7 @@
                 <el-button type="text" @click="download">下载模板</el-button>
             </div>
         </own-dialog>
-        <own-dialog :width="'500px'" :index="true" :footer="footer" title="导出excel模板" :dialogVisible="updateExcel" @confirm="sureOfUpload" @cancel="close">
+        <own-dialog :width="'500px'" :index="true" :footer="footer" title="导入excel" :dialogVisible="updateExcel" @confirm="sureOfUpload" @cancel="close">
             <div class="center" style="height:100px;">
                 <upload-file accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel" @change="changeFile"></upload-file>
             </div>