日历会议内容样式

This commit is contained in:
shenyanpei
2021-12-23 09:35:59 +08:00
parent c52fdb5c0f
commit 984b0dc2b1
+10 -10
View File
@@ -41,10 +41,10 @@
</div>
</template>
</el-calendar>
<!-- <div class="footer">
<el-tag style="background-color: #e6a23c;color: white">当天会议</el-tag>
<el-tag style="margin-left: 20px;background-color: #67c23a;color: white">我的会议</el-tag>
</div>-->
<!-- <div class="footer">
<el-tag style="background-color: #e6a23c;color: white">当天会议</el-tag>
<el-tag style="margin-left: 20px;background-color: #67c23a;color: white">我的会议</el-tag>
</div>-->
</el-card>
</el-col>
<el-col :span="12">
@@ -81,8 +81,8 @@
<div class="content_text">
<span>会议附件 :
<span v-if="item.files.length === 0">{{ '-' }}</span>
<div v-else v-for="res in item.files" :key="res.id" style="color: #409EFF;margin-left: 55px;margin-top: -25px;line-height: 35px" @click="previews(res.id)">
<a v-if="res.name.length > 30" style="cursor: pointer">
<div v-else v-for="res in item.files" :key="res.id" style="color: #409EFF;margin-left: 58px;margin-top: -32px;line-height: 50px" @click="previews(res.id)">
<a v-if="res.name.length > 30" style="cursor: pointer;margin-bottom: 5px">
{{ res.name.slice(0, 30) + '...' }} {{ ';' }}
</a>
<a v-else style="cursor: pointer">
@@ -508,7 +508,7 @@ export default {
this.editMeetForm.contents
this.editMeetForm.contents = []
if (this.editMeetForm.content !== '') {
this.editMeetForm.content.split(';').forEach(item => {
this.editMeetForm.content.split(';').forEach(item => {
this.editMeetForm.contents.push({
meetingTheme: item
})
@@ -713,13 +713,13 @@ export default {
let contentData = []
if (this.editMeetForm.contents.length > 0) {
this.editMeetForm.contents.forEach(item => {
if (item.meetingTheme.length > 0){
if (item.meetingTheme.length > 0) {
contentData.push(item.meetingTheme)
}
})
}
let editForm = {
attend: JSON.stringify( this.editMeetForm.attend),
attend: JSON.stringify(this.editMeetForm.attend),
content: contentData.join(';'),
id: this.editMeetForm.id,
date: this.editMeetForm.date,
@@ -729,7 +729,7 @@ export default {
place: this.editMeetForm.place
}
this.loading = true
updateMeet(editForm).then(res=>{
updateMeet(editForm).then(res => {
if (true) {
this.$message.success("编辑成功");
this.meetFlag = false