系统消息通知弹窗中的副标题调整
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>
|
<a-button v-if="record.openType === 'url'" type="primary" @click="toHandle">去处理</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-card class="daily-article" :loading="loading">
|
<a-card class="daily-article" :loading="loading">
|
||||||
<a-card-meta
|
<a-card-meta :title="record.titile" :description="'发布人:' + record.sender + ' 发布时间: ' + record.sendTime">
|
||||||
:title="record.titile"
|
|
||||||
:description="'发布人:'+record.sender + ' 发布时间: ' + record.sendTime">
|
|
||||||
</a-card-meta>
|
</a-card-meta>
|
||||||
<a-divider />
|
<a-divider />
|
||||||
<span v-html="record.msgContent" class="article-content"></span>
|
<span v-html="record.msgContent" class="article-content"></span>
|
||||||
|
@ -27,12 +25,11 @@ import xss from "xss"
|
||||||
import { getUserList } from '@/api/api'
|
import { getUserList } from '@/api/api'
|
||||||
import xss from 'xss'
|
import xss from 'xss'
|
||||||
export default {
|
export default {
|
||||||
name: "SysAnnouncementModal",
|
name: 'SysAnnouncementModal',
|
||||||
components: {
|
components: {},
|
||||||
},
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
title:"通知消息",
|
title: '通知消息',
|
||||||
record: {},
|
record: {},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
xs: { span: 24 },
|
xs: { span: 24 },
|
||||||
|
@ -46,41 +43,39 @@ import xss from "xss"
|
||||||
switchFullscreen: true,
|
switchFullscreen: true,
|
||||||
loading: false,
|
loading: false,
|
||||||
bodyStyle: {
|
bodyStyle: {
|
||||||
padding: "0",
|
padding: '0',
|
||||||
height:(window.innerHeight*0.8)+"px",
|
height: window.innerHeight * 0.8 + 'px',
|
||||||
"overflow-y":"auto",
|
'overflow-y': 'auto',
|
||||||
|
|
||||||
},
|
},
|
||||||
modelStyle: {
|
modelStyle: {
|
||||||
width: '60%',
|
width: '60%',
|
||||||
style: { top: '20px' },
|
style: { top: '20px' },
|
||||||
fullScreen: false
|
fullScreen: false,
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
created() {},
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
detail(record) {
|
detail(record) {
|
||||||
//update-begin---author:wangshuai ---date:20220107 for:将其它页面传递过来的用户名改成用户真实姓名
|
//update-begin---author:wangshuai ---date:20220107 for:将其它页面传递过来的用户名改成用户真实姓名
|
||||||
if (record.sender) {
|
if (record.sender) {
|
||||||
getUserList({"username":record.sender}).then((res) =>{
|
getUserList({ username: record.sender }).then((res) => {
|
||||||
if (res.success && res.result.records.length > 0) {
|
if (res.success && res.result.records.length > 0) {
|
||||||
record.sender = res.result.records[0].realname
|
record.sender = res.result.records[0].realname
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
//update-end---author:wangshuai ---date:20220107 for:将其它页面传递过来的用户名改成用户真实姓名
|
//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注入漏洞
|
//update-begin-author:taoyan date:2022-7-14 for: VUEN-1702 【禁止问题】sql注入漏洞
|
||||||
if (record.msgContent) {
|
if (record.msgContent) {
|
||||||
record.msgContent = xss(record.msgContent)
|
record.msgContent = xss(record.msgContent)
|
||||||
}
|
}
|
||||||
//update-end-author:taoyan date:2022-7-14 for: VUEN-1702 【禁止问题】sql注入漏洞
|
//update-end-author:taoyan date:2022-7-14 for: VUEN-1702 【禁止问题】sql注入漏洞
|
||||||
this.record = record;
|
this.record = record
|
||||||
},
|
},
|
||||||
handleCancel() {
|
handleCancel() {
|
||||||
this.visible = false;
|
this.visible = false
|
||||||
},
|
},
|
||||||
/** 切换全屏显示 */
|
/** 切换全屏显示 */
|
||||||
handleClickToggleFullScreen() {
|
handleClickToggleFullScreen() {
|
||||||
|
@ -96,12 +91,12 @@ import xss from "xss"
|
||||||
},
|
},
|
||||||
toHandle() {
|
toHandle() {
|
||||||
if (this.record.openType === 'url') {
|
if (this.record.openType === 'url') {
|
||||||
this.visible = false;
|
this.visible = false
|
||||||
//链接跳转
|
//链接跳转
|
||||||
this.$router.push({ path: this.record.openPage })
|
this.$router.push({ path: this.record.openPage })
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -127,6 +122,9 @@ import xss from "xss"
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.ant-card-meta-description {
|
||||||
|
color: #fff !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
.daily-article {
|
.daily-article {
|
||||||
|
@ -148,8 +146,8 @@ import xss from "xss"
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
text-overflow: initial;
|
text-overflow: initial;
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
font-size: .9rem !important;
|
font-size: 0.9rem !important;
|
||||||
margin-bottom: .8rem;
|
margin-bottom: 0.8rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -188,10 +188,9 @@ body {
|
||||||
}
|
}
|
||||||
&-time-picker-combobox {
|
&-time-picker-combobox {
|
||||||
background-color: @modalBg !important;
|
background-color: @modalBg !important;
|
||||||
border-color: @formInputBorderColor !important
|
border-color: @formInputBorderColor !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
&-picker {
|
&-picker {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
&-container {
|
&-container {
|
||||||
|
@ -202,7 +201,7 @@ body {
|
||||||
color: #00e9fe !important;
|
color: #00e9fe !important;
|
||||||
}
|
}
|
||||||
&-select {
|
&-select {
|
||||||
background-color: @formInputBgColor !important
|
background-color: @formInputBgColor !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -341,7 +340,8 @@ body {
|
||||||
|
|
||||||
&-selected-day &-date,
|
&-selected-day &-date,
|
||||||
&-date:hover {
|
&-date:hover {
|
||||||
background-color: #072f32 !important;
|
background-color: #0b4f54 !important;
|
||||||
|
// background-color: #072f32 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user