This commit is contained in:
PQZ 2025-01-09 12:04:07 +08:00
parent 371c4fa8f5
commit 15b05b9083

View File

@ -122,7 +122,7 @@
<el-input v-model="form.publishUnit" placeholder="请输入发布单位" />
</el-form-item>
<el-form-item label="新闻内容">
<editor v-model="form.newsContent" :min-height="192"/>
<Editor v-model="form.newsContent" :min-height="192"/>
</el-form-item>
<el-form-item label="类型" prop="type">
<el-radio-group v-model="form.type">
@ -147,12 +147,13 @@
<script>
import { listNews, getNews, delNews, addNews, updateNews } from "../api/NewsAnnouncement";
import { getDicts } from '@/api/system/dict/data.js'
import Editor from "@/components/Editor/index.vue";
import request from "@/utils/request";
import {parseTime} from "../../../../utils/ruoyi";
import DictTag from "@/components/DictTagOld/index.vue";
export default {
name: "News",
components:{DictTag},
components:{DictTag,Editor},
data() {
return {
inspection_new_type: [],