guhongwei 5 years ago
parent
commit
29dcba111d
1 changed files with 9 additions and 1 deletions
  1. 9 1
      src/layout/enterpriseProduct/enterpriseProduct.vue

+ 9 - 1
src/layout/enterpriseProduct/enterpriseProduct.vue

@@ -21,7 +21,15 @@
               </el-table-column>
               <el-table-column prop="state" label="状态" align="center">
                 <template v-slot="scoped">
-                  {{ `${scoped.row.status}` === `0` ? '审核中' : `${scoped.row.status}` === `1` ? '审核通过' : '审核拒绝' }}
+                  {{
+                    `${scoped.row.status}` === `0`
+                      ? '审核中'
+                      : `${scoped.row.status}` === `1`
+                      ? '审核通过'
+                      : `${scoped.row.status}` === `2`
+                      ? '审核拒绝'
+                      : '草稿'
+                  }}
                 </template>
               </el-table-column>
               <el-table-column label="操作" align="center">