| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <GlobalAlertWindow |
| | | :title="title" |
| | | :visible.sync="visible" |
| | | :confirm-working="isWorking" |
| | | @confirm="confirm" |
| | | width="600px" |
| | | > |
| | | <div class="title-style"> |
| | | <div class="header-title">{{ form.name }}</div> |
| | | <div class="item-value">{{ `${form.roomName} ${form.meetingTime}` }}</div> |
| | | </div> |
| | | <div class="content-style"> |
| | | <div class="item"> |
| | | <div class="item-title">åä¼äººå</div> |
| | | <div>{{ form.sysList.map(item => `${item.realName}`).join('ï¼') }}</div> |
| | | </div> |
| | | <div class="item"> |
| | | <div class="item-title">ä¼è®®å
容</div> |
| | | <div class="item-value">{{ form.content || 'æ ' }}</div> |
| | | </div> |
| | | <div v-if="form.projectList.length" class="item"> |
| | | <div class="">æå¡é¡¹</div> |
| | | <div class="item-value">{{ form.projectList.map(item => item.projectName).join(' | ') }}</div> |
| | | </div> |
| | | <div class="item" v-if="form.fileList.length"> |
| | | <div class="item-title">éä»¶</div> |
| | | <div> |
| | | <FileLink |
| | | :links="form.fileList" |
| | | linkName="fileFullUrl" |
| | | :isUpload="false" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div class="item" v-if="!!form.remark"> |
| | | <div class="item-title">夿³¨</div> |
| | | <div class="item-value">{{ form.remark }}</div> |
| | | </div> |
| | | </div> |
| | | <div class="bottom-style"> |
| | | <div class="item-title">é¢çº¦äºº</div> |
| | | <div class="item-value">{{ form.managerInfo }}</div> |
| | | </div> |
| | | <div slot="footer"> |
| | | <el-button @click="visible=false">åæ¶</el-button> |
| | | </div> |
| | | </GlobalAlertWindow> |
| | | </template> |
| | | |
| | | <script> |
| | | import BaseOpera from '@/components/base/BaseOpera' |
| | | import GlobalAlertWindow from '@/components/common/GlobalAlertWindow' |
| | | import FileLink from '@/views/meeting/components/common/FileLink' |
| | | export default { |
| | | name: 'OperaBookingsDetailWindow', |
| | | extends: BaseOpera, |
| | | components: { GlobalAlertWindow, FileLink }, |
| | | data () { |
| | | return { |
| | | // è¡¨åæ°æ® |
| | | form: { |
| | | id: null, |
| | | name: '', |
| | | roomName: '', |
| | | meetingTime: '', |
| | | date: '', |
| | | editDate: '', |
| | | projectList: [], |
| | | remark: '', |
| | | roomId: '', |
| | | startTime: '', |
| | | endTime: '', |
| | | times: [], |
| | | content: '', |
| | | sysList: [], |
| | | fileList: [], |
| | | managerInfo: '' |
| | | }, |
| | | // room: [], |
| | | sysList: [], |
| | | projectList: [], |
| | | timelist: [], |
| | | // éªè¯è§å |
| | | rules: { |
| | | |
| | | } |
| | | } |
| | | }, |
| | | created () { |
| | | this.config({ |
| | | api: '/meeting/bookings', |
| | | 'field.id': 'id' |
| | | }) |
| | | |
| | | }, |
| | | methods: { |
| | | /** |
| | | * æå¼çªå£ |
| | | * @title çªå£æ é¢ |
| | | * @target ç¼è¾ç对象 |
| | | */ |
| | | // open (title, target) { |
| | | // this.title = title |
| | | // this.visible = true |
| | | // this.timelist = [] |
| | | // // æ°å»º |
| | | // if (target == null) { |
| | | // this.$nextTick(() => { |
| | | // this.$refs.form.resetFields() |
| | | // this.form[this.configData['field.id']] = null |
| | | // }) |
| | | // return |
| | | // } |
| | | // // ç¼è¾ |
| | | // this.$nextTick(() => { |
| | | // for (const key in this.form) { |
| | | // this.form[key] = target[key] |
| | | // } |
| | | // // this.form.projectList = target.projectList ? target.projectList.map(item => item.projectId) : [] |
| | | // // this.form.sysList = this.form.sysList ? this.form.sysList.map(item => item.userId) : [] |
| | | // // this.form.date = target.startTime.split(' ')[0] |
| | | |
| | | // }) |
| | | // }, |
| | | |
| | | }, |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | ::v-deep .el-dialog__body { |
| | | padding: 0; |
| | | } |
| | | .title-style { |
| | | padding: 20px; |
| | | border-bottom: 10px #f7f7f7 solid; |
| | | } |
| | | .content-style { |
| | | padding: 20px; |
| | | border-bottom: 10px #f7f7f7 solid; |
| | | } |
| | | .item { |
| | | padding: 5px 0; |
| | | } |
| | | .header-title { |
| | | font-size: 16px; |
| | | font-weight: 600; |
| | | padding-bottom: 5px; |
| | | } |
| | | .item-title { |
| | | font-size: 16px; |
| | | color: #999; |
| | | padding-bottom: 5px; |
| | | } |
| | | .item-value { |
| | | font-size: 14px; |
| | | color: #111; |
| | | } |
| | | .bottom-style { |
| | | padding: 20px; |
| | | } |
| | | |
| | | </style> |