| | |
| | | import BaseOpera from '@/components/base/BaseOpera' |
| | | import GlobalAlertWindow from '@/components/common/GlobalAlertWindow' |
| | | import FileLink from '@/views/meeting/components/common/FileLink' |
| | | import { uploadFileLocal as upload } from '@/api/system/common' |
| | | import { upload as upload } from '@/api/system/common' |
| | | import { fetchList as userList } from '@/api/system/user' |
| | | import { findListByObjId } from '@/views/meeting/api/projects' |
| | | import { findList } from '@/views/meeting/api/roomTime' |
| | | import { findListByObjId } from '@/api/meeting/projects' |
| | | import { findList } from '@/api/meeting/roomTime' |
| | | import { numRule, arrayRule } from '@/utils/form' |
| | | export default { |
| | | name: 'OperaBookingsWindow', |
| | |
| | | inject: ['rooms'], |
| | | created () { |
| | | this.config({ |
| | | api: '@/views/meeting/api/bookings', |
| | | api: '/meeting/bookings', |
| | | 'field.id': 'id' |
| | | }) |
| | | userList({ |
| | |
| | | selectRoom(objId) { |
| | | this.getTimes() |
| | | findListByObjId({ |
| | | objId, |
| | | objType: 0, |
| | | objId: objId, |
| | | objType: 0 |
| | | }) |
| | | .then(res => { |
| | | this.projectList = res |