Browse Source

报纸列表 加审核状态

natasha 1 year ago
parent
commit
1d02f59839
1 changed files with 33 additions and 4 deletions
  1. 33 4
      src/views/newspaper_manage/index.vue

+ 33 - 4
src/views/newspaper_manage/index.vue

@@ -140,7 +140,7 @@
                                 type="text"
                                 size="small"
                                 class="primary-btn"
-                                v-if="scope.row.status==='0'">
+                                v-if="scope.row.status==='2'||scope.row.status==='3'">
                                 审核
                             </el-button>
                             <el-button
@@ -283,16 +283,34 @@ export default {
             {
                 value:'0',
                 label:'未上架'
+            },
+            {
+                value:'2',
+                label:'待审核'
+            },
+            {
+                value:'3',
+                label:'被驳回'
             }
         ],
         statusList:{
             '1':{
                 text:'已上架',
-                bg:'#165DFF',
+                bg:'#00B42A',
                 color:''
             },
             '0':{
                 text:'未上架',
+                bg:'#165DFF',
+                color:''
+            },
+            '2':{
+                text:'待审核',
+                bg:'#C9CDD4',
+                color:''
+            },
+            '3':{
+                text:'被驳回',
                 bg:'#F53F3F',
                 color:'#F53F3F'
             }
@@ -303,7 +321,7 @@ export default {
                 name:'第 987 期 Teens Senior 2',
                 periods:'40',
                 study:'0',
-                status:'1',
+                status:'0',
                 creator:'何家洪',
                 createData:'2018-02-03',
                 updator:'周志伟',
@@ -325,13 +343,24 @@ export default {
                 name:'983期',
                 periods:'982-988',
                 study:'2',
-                status:'0',
+                status:'2',
                 creator:'何家洪',
                 admin:'周志伟',
                 createData:'2018-02-03',
                 updator:'张三',
                 expirationDate:'2018-02-03'
             },
+            {
+                id:'2',
+                name:'第 804 期 Teens Senior 3',
+                periods:'986',
+                study:'3',
+                status:'3',
+                creator:'赵志军',
+                createData:'2018-02-03',
+                updator:'李浩东',
+                expirationDate:'2018-02-03'
+            }
         ],
         pageSize: window.localStorage.getItem('pageSize')?Number(window.localStorage.getItem('pageSize')):10, 
         pageNumber: window.localStorage.getItem('pageNumber')?Number(window.localStorage.getItem('pageNumber')):1,