系统消息通知弹窗中的副标题调整
system 模块 scheduling tab页面中日历组件默认让是调整
This commit is contained in:
parent
3a413b37fb
commit
f14469f8fe
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user