lrf 1 year ago
parent
commit
d4409ef422
3 changed files with 11 additions and 5 deletions
  1. 9 3
      src/views/index.vue
  2. 1 1
      src/views/newspaper/index.vue
  3. 1 1
      src/views/train-plan/experience.vue

+ 9 - 3
src/views/index.vue

@@ -3,7 +3,7 @@
     <div class="app-wrapper">
       <admin-menu class="sidebar-container"></admin-menu>
       <div class="main-container">
-        <admin-bar></admin-bar>
+        <admin-bar @defaultLoad="defaultLoad"></admin-bar>
         <fw-admin class="display"></fw-admin>
       </div>
     </div>
@@ -24,12 +24,18 @@ export default {
     adminBar,
     // breadcrumb,
   },
-  data: () => ({}),
+  data: () => ({
+    showView: false,
+  }),
   created() {
     // this.login();
   },
   computed: {},
-  methods: {},
+  methods: {
+    defaultLoad() {
+      this.showView = true;
+    },
+  },
 };
 </script>
 

+ 1 - 1
src/views/newspaper/index.vue

@@ -16,7 +16,7 @@
       <data-table :fields="fields" :data="list" :opera="opera" @download="download"></data-table>
     </list-frame>
     <el-dialog :visible.sync="eDialog" title="导出" width="30%">
-      <export-range @getStudent="toGetStudent" :studentList="studentList" @toExport="toExport" @close="eDialog = false"></export-range>
+      <export-range @getStudent="toGetStudent" :studentList="studentList" :mult="false" @toExport="toExport" @close="eDialog = false"></export-range>
     </el-dialog>
   </div>
 </template>

+ 1 - 1
src/views/train-plan/experience.vue

@@ -25,7 +25,7 @@
       </data-form>
     </el-dialog>
     <el-dialog :visible.sync="eDialog" title="导出" @close="toClose" width="30%">
-      <export-range @getStudent="toGetStudent" :studentList="studentList" @toExport="toExport" @close="eDialog = false"></export-range>
+      <export-range @getStudent="toGetStudent" :studentList="studentList" :mult="false" @toExport="toExport" @close="eDialog = false"></export-range>
     </el-dialog>
   </div>
 </template>