liqianyi 2 gadi atpakaļ
vecāks
revīzija
37c2911659
1 mainītis faili ar 5 papildinājumiem un 13 dzēšanām
  1. 5 13
      src/views/modules/msg-center/notice.vue

+ 5 - 13
src/views/modules/msg-center/notice.vue

@@ -26,7 +26,6 @@
       :data="dataList"
       border
       v-loading="dataListLoading"
-      @selection-change="selectionChangeHandle"
       style="width: 100%;">
       <el-table-column
         label="序号"
@@ -38,7 +37,7 @@
         prop="title"
         header-align="center"
         align="center"
-        width="300"
+        width="200"
         :show-tooltip-when-overflow="true"
         label="消息标题">
       </el-table-column>
@@ -46,7 +45,7 @@
         prop="content"
         header-align="center"
         align="center"
-        width="400"
+        width="300"
         :show-tooltip-when-overflow="true"
         label="消息内容">
       </el-table-column>
@@ -54,7 +53,7 @@
         prop="type"
         header-align="center"
         align="center"
-        :min-width="100"
+        width="100"
         :show-tooltip-when-overflow="true"
         label="消息类型">
         <template slot-scope="scope">
@@ -65,12 +64,11 @@
         prop="publisherName"
         header-align="center"
         align="center"
-        :min-width="100"
+        width="120"
         :show-tooltip-when-overflow="true"
         label="发布人">
       </el-table-column>
       <el-table-column
-        prop="-"
         header-align="center"
         align="center"
         width="160"
@@ -84,7 +82,7 @@
         fixed="right"
         header-align="center"
         align="center"
-        width="150"
+        min-width="150"
         label="操作">
         <template slot-scope="scope">
           <el-button type="text" size="small" @click="detailHandle(scope.row)">查看</el-button>
@@ -109,7 +107,6 @@
         dataForm: {},
         dataList: [],
         dataListLoading: false,
-        dataListSelections: [],
         optionsType: [
           {
             code: null, value: '全部'
@@ -143,10 +140,6 @@
           this.dataList = this.dataList.filter(item => item.type && item.type === this.dataForm.type)
         }
       },
-      // 多选
-      selectionChangeHandle (val) {
-        this.dataListSelections = val
-      },
       // 设为已读
       checkHandle (noticeId) {
         readNotice(this, noticeId)
@@ -166,5 +159,4 @@
 </script>
 
 <style scoped>
-
 </style>