lrf402788946 5 éve
szülő
commit
987773381e
1 módosított fájl, 4 hozzáadás és 20 törlés
  1. 4 20
      src/views/home/index.vue

+ 4 - 20
src/views/home/index.vue

@@ -130,30 +130,14 @@ export default {
   props: {},
   components: {},
   data: () => ({
-    tags: [
-      { name: '长春大学2020届毕业生专业设置及毕业生人数统计表' },
-      { name: '长春大学2020届毕业生专业设置及毕业生人数统计表' },
-      { name: '长春大学2020届毕业生专业设置及毕业生人数统计表' },
-      { name: '长春大学2020届毕业生专业设置及毕业生人数统计表' },
-      { name: '长春大学2020届毕业生专业设置及毕业生人数统计表' },
-    ],
-    tagsBro: [{ name: '宣讲会:辽宁鸿文教育科技有限公司' }, { name: '宣讲会:皇明太阳能股份有限公司' }, { name: '职位:部门助理' }],
+    tags: [],
+    tagsBro: [],
     tableDataMaj: [],
     tableDataCol: [],
     tableDataSch: [],
     tableDataSign: [],
     tableDataWhe: [],
-    noticeList: [
-      { name: '测试企业', content: '刚刚添加一条测试信息' },
-      { name: '测试企业', content: '刚刚添加一条测试信息' },
-      { name: '测试企业', content: '刚刚添加一条测试信息' },
-      { name: '测试企业', content: '刚刚添加一条测试信息' },
-      { name: '测试企业', content: '刚刚添加一条测试信息' },
-      { name: '测试企业', content: '刚刚添加一条测试信息' },
-      { name: '测试企业', content: '刚刚添加一条测试信息' },
-      { name: '测试企业', content: '刚刚添加一条测试信息' },
-      { name: '测试企业', content: '刚刚添加一条测试信息' },
-    ],
+    noticeList: [],
   }),
   created() {
     this.getNoticeList();
@@ -162,7 +146,7 @@ export default {
   methods: {
     ...mapActions(['noticeOperation']),
     async getNoticeList() {
-      let result = await this.noticeOperation({ type: 'list', data: { userid: this.user.corpid, type: 3 } });
+      let result = await this.noticeOperation({ type: 'list', data: { userid: this.user.id, type: 3 } });
       if (`${result.errcode}` === '0') {
         this.$set(this, `total`, result.total);
         this.$set(this, `noticeList`, result.data ? result.data : []);