Selaa lähdekoodia

回访记录

1
mo 4 vuotta sitten
vanhempi
commit
e1cb99408b

+ 1 - 1
src/store/modules/tagsView.js

@@ -5,7 +5,7 @@ const tagsView = {
   },
   mutations: {
     ADD_VISITED_VIEWS: (state, view) => {
-      // console.log(view)
+      console.log(view)
       if (state.visitedViews.some(v => v.path === view.path)) {
         state.visitedViews.forEach(v => {
           if (v.path === view.path) {

+ 12 - 0
src/views/withdrawal-application/modals/visit.vue

@@ -1,5 +1,9 @@
 <template>
   <div>
+    <div class='visitBtnWrap'>
+      <el-button type="text">学员考勤</el-button>
+       <el-button type="text">作业情况</el-button>
+    </div>
     <el-form
       :model="visitForm"
       label-width="120px"
@@ -120,3 +124,11 @@ export default {
   }
 }
 </script>
+<style lang="scss" scoped>
+.visitBtnWrap {
+  position: absolute;
+  right: 0;
+  top:0;
+}
+
+</style>