系统消息通知弹窗中的副标题调整

system 模块 scheduling tab页面中日历组件默认让是调整
This commit is contained in:
任珮宇 2023-10-11 10:31:55 +08:00
parent 3a413b37fb
commit f14469f8fe
2 changed files with 127 additions and 129 deletions

View File

@ -13,9 +13,7 @@ import xss from "xss"
<a-button v-if="record.openType === 'url'" type="primary" @click="toHandle">去处理</a-button>
</template>
<a-card class="daily-article" :loading="loading">
<a-card-meta
:title="record.titile"
:description="'发布人:'+record.sender + ' 发布时间: ' + record.sendTime">
<a-card-meta :title="record.titile" :description="'发布人:' + record.sender + ' 发布时间: ' + record.sendTime">
</a-card-meta>
<a-divider />
<span v-html="record.msgContent" class="article-content"></span>
@ -27,12 +25,11 @@ import xss from "xss"
import { getUserList } from '@/api/api'
import xss from 'xss'
export default {
name: "SysAnnouncementModal",
components: {
},
name: 'SysAnnouncementModal',
components: {},
data() {
return {
title:"通知消息",
title: '通知消息',
record: {},
labelCol: {
xs: { span: 24 },
@ -46,41 +43,39 @@ import xss from "xss"
switchFullscreen: true,
loading: false,
bodyStyle: {
padding: "0",
height:(window.innerHeight*0.8)+"px",
"overflow-y":"auto",
padding: '0',
height: window.innerHeight * 0.8 + 'px',
'overflow-y': 'auto',
},
modelStyle: {
width: '60%',
style: { top: '20px' },
fullScreen: false
}
fullScreen: false,
},
}
},
created () {
},
created() {},
methods: {
detail(record) {
//update-begin---author:wangshuai ---date:20220107 for
if (record.sender) {
getUserList({"username":record.sender}).then((res) =>{
getUserList({ username: record.sender }).then((res) => {
if (res.success && res.result.records.length > 0) {
record.sender = res.result.records[0].realname
}
})
}
//update-end---author:wangshuai ---date:20220107 for
this.visible = true;
this.visible = true
//update-begin-author:taoyan date:2022-7-14 for: VUEN-1702 sql
if (record.msgContent) {
record.msgContent = xss(record.msgContent)
}
//update-end-author:taoyan date:2022-7-14 for: VUEN-1702 sql
this.record = record;
this.record = record
},
handleCancel() {
this.visible = false;
this.visible = false
},
/** 切换全屏显示 */
handleClickToggleFullScreen() {
@ -96,12 +91,12 @@ import xss from "xss"
},
toHandle() {
if (this.record.openType === 'url') {
this.visible = false;
this.visible = false
//
this.$router.push({ path: this.record.openPage })
}
},
}
},
}
</script>
@ -127,6 +122,9 @@ import xss from "xss"
border-bottom: 0;
}
}
.ant-card-meta-description {
color: #fff !important;
}
</style>
<style scoped lang="less">
.daily-article {
@ -148,8 +146,8 @@ import xss from "xss"
word-break: break-all;
text-overflow: initial;
white-space: normal;
font-size: .9rem !important;
margin-bottom: .8rem;
font-size: 0.9rem !important;
margin-bottom: 0.8rem;
}
}
}

View File

@ -188,10 +188,9 @@ body {
}
&-time-picker-combobox {
background-color: @modalBg !important;
border-color: @formInputBorderColor !important
border-color: @formInputBorderColor !important;
}
&-picker {
width: 100%;
&-container {
@ -202,7 +201,7 @@ body {
color: #00e9fe !important;
}
&-select {
background-color: @formInputBgColor !important
background-color: @formInputBgColor !important;
}
}
@ -341,7 +340,8 @@ body {
&-selected-day &-date,
&-date:hover {
background-color: #072f32 !important;
background-color: #0b4f54 !important;
// background-color: #072f32 !important;
}
}