Compare commits

...

2 Commits

Author SHA1 Message Date
XaoLi717
24f4004eb7 首页模块标题修改 2024-11-07 08:36:11 +08:00
XaoLi717
81076293c2 首页模块标题修改 2024-11-07 07:57:20 +08:00
2 changed files with 8 additions and 5 deletions

View File

@ -323,14 +323,14 @@
</el-card> </el-card>
</el-col> </el-col>
</el-row> </el-row>
<Dialog :title="dialogTitle" v-model="dialogVisible" style="width: 85%"> <Dialog :title="dialogTitle" v-model="dialogVisible" style="width: 70%">
<el-form > <el-form >
<el-form-item > <el-form-item >
<span style="font-size: 20px; font-weight: bold;">{{formData.newsName}}</span> <span style="font-size: 20px; font-weight: bold;">{{formData.newsName}}</span>
<el-divider style="border-top: none; margin: 0;"/> <el-divider style="border-top: none; margin: 0;"/>
<span style="font-size: 12px">发布时间: {{formatTime(formData.newsCreatetime,'yyyy-MM-dd')}}</span> <span style="font-size: 12px">发布时间: {{formatTime(formData.newsCreatetime,'yyyy-MM-dd')}}</span>
<el-divider style="margin-top: 10px"/> <el-divider style="margin-top: 10px"/>
<span style="line-height: 1.2" v-html="formData.newsContent"></span> <span style="line-height: 1.4" v-html="formData.newsContent"></span>
</el-form-item> </el-form-item>
</el-form> </el-form>
<template #footer> <template #footer>
@ -341,7 +341,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import { formatTime } from '@/utils' import { formatTime } from '@/utils'
import type {Todo, Email} from './types' import type {Todo, Email} from './types'
import {dateFormatter, dateFormatter2} from "@/utils/formatTime"; import {dateFormatter2} from "@/utils/formatTime";
import {DICT_TYPE} from "@/utils/dict"; import {DICT_TYPE} from "@/utils/dict";
import {imgApi, imgVO} from "@/api/home/homeimg"; import {imgApi, imgVO} from "@/api/home/homeimg";
import {CalendarDateType, CalendarInstance} from "element-plus"; import {CalendarDateType, CalendarInstance} from "element-plus";
@ -587,6 +587,7 @@ const getList = async () => {
} }
const getAllApi = async () => { const getAllApi = async () => {
loading.value = true
await Promise.all([ await Promise.all([
getTableData(), getTableData(),
getTodo(), getTodo(),
@ -618,11 +619,13 @@ onMounted(() => {
} }
</style> </style>
<style> <style scoped>
.SystemThem { .SystemThem {
background-color: var(--el-color-primary); background-color: var(--el-color-primary);
} }
.SystemThemFont { .SystemThemFont {
font-size: 18px !important;
font-weight: bold !important;
color: var(--el-color-primary); color: var(--el-color-primary);
} }
.custom-calendar { .custom-calendar {

View File

@ -157,7 +157,7 @@ const formRules = reactive({
const formRef = ref() // Ref const formRef = ref() // Ref
// //
const processDefineKey = 'test-001' // Key const processDefineKey = 'car-001' // Key
const startUserSelectTasks = ref([]) // const startUserSelectTasks = ref([]) //
const startUserSelectAssignees = ref({}) // const startUserSelectAssignees = ref({}) //
const startUserSelectAssigneesFormRef = ref() // Ref const startUserSelectAssigneesFormRef = ref() // Ref