Sfoglia il codice sorgente

问题修复

master
huxinglu 4 anni fa
parent
commit
668f2ada18
2 ha cambiato i file con 1 aggiunte e 10 eliminazioni
  1. +1
    -9
      src/views/work/notice/addForm.vue
  2. +0
    -1
      src/views/work/notice/index.vue

+ 1
- 9
src/views/work/notice/addForm.vue Vedi File

@@ -16,18 +16,10 @@
<el-radio :label="2" border>政策法规</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="状态" prop="type" :rules="{
required: true, message: '状态不能为空', trigger: 'blur'
}">
<el-radio-group v-model="data.status" size="medium">
<el-radio :label="1" border>发布</el-radio>
<el-radio :label="2" border>待发布</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="主题" prop="title" :rules="{
required: true, message: '主题不能为空', trigger: 'blur'
}">
<el-input clearable v-model="data.title"></el-input>
<el-input maxlength="40" clearable v-model="data.title"></el-input>
</el-form-item>
<el-form-item label="正文" prop="content">
<vue-editor useCustomImageHandler @image-added="handleImageAdded" v-model="data.content"></vue-editor>

+ 0
- 1
src/views/work/notice/index.vue Vedi File

@@ -86,7 +86,6 @@
label="发布时间"
align="center"
/>
<el-table-column show-overflow-tooltip prop="statusName" label="状态" align="center" min-width="100"/>
<el-table-column label="操作" align="left" width="220">
<template slot-scope="{row}">
<el-button

Loading…
Annulla
Salva