已添加1个文件
已删除1个文件
已修改24个文件
已重命名8个文件
ÎļþÃû´Ó admin/src/views/meeting/api/bookings.js ÐÞ¸Ä |
| | |
| | | import request from '@/utils/request' |
| | | |
| | | import request from '../../utils/request' |
| | | // æ¥è¯¢ |
| | | export function fetchList (data) { |
| | | return request.post('/meetingAdmin/cloudService/business/bookings/page', data, { |
ÎļþÃû´Ó admin/src/views/meeting/api/devices.js ÐÞ¸Ä |
| | |
| | | import request from '@/utils/request' |
| | | |
| | | import request from '../../utils/request' |
| | | // æ¥è¯¢ |
| | | export function fetchList (data) { |
| | | return request.post('/meetingAdmin/cloudService/business/devices/page', data, { |
ÎļþÃû´Ó admin/src/views/meeting/api/home.js ÐÞ¸Ä |
| | |
| | | import request from '@/utils/request' |
| | | |
| | | import request from '../../utils/request' |
| | | // æ¥è¯¢ |
| | | export function home (data) { |
| | | return request.post('/meetingAdmin/cloudService/business/home/home', data, { |
ÎļþÃû´Ó admin/src/views/meeting/api/notice.js ÐÞ¸Ä |
| | |
| | | import request from '@/utils/request' |
| | | |
| | | import request from '../../utils/request' |
| | | // æ¥è¯¢ |
| | | export function fetchList (data) { |
| | | return request.post('/meetingAdmin/cloudService/business/notice/page', data, { |
ÎļþÃû´Ó admin/src/views/meeting/api/projects.js ÐÞ¸Ä |
| | |
| | | import request from '@/utils/request' |
| | | |
| | | import request from '../../utils/request' |
| | | // æ¥è¯¢ |
| | | export function fetchList (data) { |
| | | return request.post('/meetingAdmin/cloudService/business/projects/page', data, { |
ÎļþÃû´Ó admin/src/views/meeting/api/roomRecord.js ÐÞ¸Ä |
| | |
| | | import request from '@/utils/request' |
| | | |
| | | import request from '../../utils/request' |
| | | // æ¥è¯¢ |
| | | export function fetchList (data) { |
| | | return request.post('/meetingAdmin/cloudService/business/roomRecord/page', data, { |
ÎļþÃû´Ó admin/src/views/meeting/api/roomTime.js ÐÞ¸Ä |
| | |
| | | import request from '@/utils/request' |
| | | |
| | | import request from '../../utils/request' |
| | | // æ¥è¯¢ |
| | | export function findList (data) { |
| | | return request.post('/meetingAdmin/cloudService/business/roomTime/findList', data) |
ÎļþÃû´Ó admin/src/views/meeting/api/rooms.js ÐÞ¸Ä |
| | |
| | | import request from '@/utils/request' |
| | | |
| | | import request from '../../utils/request' |
| | | // æ¥è¯¢ |
| | | export function fetchList (data) { |
| | | return request.post('/meetingAdmin/cloudService/business/rooms/page', data, { |
| | |
| | | export function deleteById (id) { |
| | | return request.get(`/visitsAdmin/cloudService/system/dictData/delete/${id}`) |
| | | } |
| | | |
| | | // æ¥è¯¢åå
¸å¼æ°æ® |
| | | export function getSystemDictData (label) { |
| | | return request.get(`/visitsAdmin/cloudService/system/dictData/getSystemDictData?dictCode=SYSTEM&label=${label}`) |
| | | } |
| | | // æ¹éå é¤ |
| | | export function deleteByIdInBatch (ids) { |
| | | return request.get('/system/dictData/delete/batch', { |
| | |
| | | if (extParams.api == null) { |
| | | throw new Error('Missing config option \'api\'.') |
| | | } |
| | | this.api = require('@/api' + extParams.api) |
| | | |
| | | if(extParams.api.indexOf('@/',0) === 0){ |
| | | this.api = require(extParams.api) |
| | | }else { |
| | | this.api = require('@/api' + extParams.api) |
| | | } |
| | | // this.api = require('@/api' + extParams.api) |
| | | extParams.module && (this.module = extParams.module) |
| | | extParams['field.id'] && (this.configData['field.id'] = extParams['field.id']) |
| | | extParams['field.main'] && (this.configData['field.main'] = extParams['field.main']) |
| | |
| | | uploadImage: { |
| | | // server: '/api/upload', |
| | | name: 'file', |
| | | server: process.env.VUE_APP_API_PREFIX + '/public/uploadLocal', |
| | | server: process.env.VUE_APP_API_PREFIX + '/visitsAdmin/cloudService/public/uploadLocal', |
| | | meta: { |
| | | folder: 'shop' |
| | | }, |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | uploadImgUrl: process.env.VUE_APP_API_PREFIX + '/public/upload' |
| | | uploadImgUrl: process.env.VUE_APP_API_PREFIX + '/visitsAdmin/cloudService/public/upload' |
| | | } |
| | | }, |
| | | |
| | |
| | | this.$message.success('ä¸ä¼ æå') |
| | | this.$emit('uploadSuccess', { imgurl: data.imgaddr, imgurlfull: data.url, name: data.originname }) |
| | | } else { |
| | | this.$tip.apiFailed('ä¸ä¼ 失败') |
| | | this.$message.error('ä¸ä¼ 失败') |
| | | } |
| | | this.$emit('uploadEnd') |
| | | }, |
| | | uploadError() { |
| | | this.$tip.apiFailed('ä¸ä¼ 失败') |
| | | this.$emit('endUpload') |
| | | this.$message.error('ä¸ä¼ 失败') |
| | | this.$emit('uploadEnd') |
| | | }, |
| | | // // æ¦æª |
| | | beforeAvatarUpload(file) { |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | uploadImgUrl: process.env.VUE_APP_API_PREFIX + '/public/upload' |
| | | uploadImgUrl: process.env.VUE_APP_API_PREFIX + '/visitsAdmin/cloudService/public/upload' |
| | | } |
| | | }, |
| | | |
| | |
| | | this.$message.success('ä¸ä¼ æå') |
| | | this.$emit('uploadSuccess', { imgurl: data.imgaddr, imgurlfull: data.url, name: data.originname }) |
| | | } else { |
| | | this.$tip.apiFailed('ä¸ä¼ 失败') |
| | | this.$message.error('ä¸ä¼ 失败') |
| | | } |
| | | this.$emit('uploadEnd') |
| | | }, |
| | | uploadError() { |
| | | this.$tip.apiFailed('ä¸ä¼ 失败') |
| | | this.$emit('endUpload') |
| | | this.$message.apiFailed('ä¸ä¼ 失败') |
| | | this.$emit('uploadEnd') |
| | | }, |
| | | // // æ¦æª |
| | | beforeAvatarUpload(file) { |
| | |
| | | data() { |
| | | return { |
| | | fileList:null, |
| | | uploadImgUrl: process.env.VUE_APP_API_PREFIX + '/public/upload?folder='+this.uploadData.folder |
| | | uploadImgUrl: process.env.VUE_APP_API_PREFIX + '/visitsAdmin/cloudService/public/upload?folder='+this.uploadData.folder |
| | | } |
| | | }, |
| | | |
| | |
| | | this.$message.success('ä¸ä¼ æå') |
| | | this.$emit('uploadSuccess', { fileurl: data.imgaddr, fileurlFull: data.url, name: data.originname }) |
| | | } else { |
| | | this.$tip.apiFailed('ä¸ä¼ 失败') |
| | | this.$message.error('ä¸ä¼ 失败') |
| | | } |
| | | this.$emit('uploadEnd') |
| | | }, |
| | | uploadError() { |
| | | this.$tip.apiFailed('ä¸ä¼ 失败') |
| | | this.$emit('endUpload') |
| | | this.$message.error('ä¸ä¼ 失败') |
| | | this.$emit('uploadEnd') |
| | | }, |
| | | // // æ¦æª |
| | | beforeFileUpload(file) { |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | uploadImgUrl: process.env.VUE_APP_API_PREFIX + '/public/upload' |
| | | uploadImgUrl: process.env.VUE_APP_API_PREFIX + '/visitsAdmin/cloudService/public/upload' |
| | | } |
| | | }, |
| | | |
| | |
| | | this.$message.success('ä¸ä¼ æå') |
| | | this.$emit('uploadSuccess', { fileurl: data.imgaddr, fileUrlFull: data.url, name: data.originname }) |
| | | } else { |
| | | this.$tip.apiFailed('ä¸ä¼ 失败') |
| | | this.$message.error('ä¸ä¼ 失败') |
| | | } |
| | | this.$emit('uploadEnd') |
| | | }, |
| | | uploadError() { |
| | | this.$tip.apiFailed('ä¸ä¼ 失败') |
| | | this.$emit('endUpload') |
| | | this.$message.error('ä¸ä¼ 失败') |
| | | this.$emit('uploadEnd') |
| | | }, |
| | | // // æ¦æª |
| | | beforeAvatarUpload(file) { |
| | |
| | | width: 90px !important; |
| | | height: 90px !important; |
| | | } |
| | | </style> |
| | | </style> |
| | |
| | | </span> |
| | | </div> |
| | | </el-upload> |
| | | <el-image-viewer |
| | | v-if="showViewer" |
| | | <el-image-viewer |
| | | v-if="showViewer" |
| | | :on-close="closeViewer" |
| | | :initialIndex="tempIndex" |
| | | :url-list="srcList" |
| | | :z-index="3000" |
| | | /> |
| | | </div> |
| | | |
| | | |
| | | </template> |
| | | |
| | | <script> |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | uploadImgUrl: process.env.VUE_APP_API_PREFIX + '/public/uploadLocal', |
| | | |
| | | uploadImgUrl: process.env.VUE_APP_API_PREFIX + '/visitsAdmin/cloudService/public/uploadLocal', |
| | | |
| | | realList: [], |
| | | srcList: [], |
| | | tempIndex: 0, |
| | |
| | | this.srcList = [] |
| | | } |
| | | } |
| | | |
| | | |
| | | } |
| | | }, |
| | | methods: { |
| | | beforeUpload(file) { |
| | | |
| | | |
| | | this.$emit('beginUpload') |
| | | return true |
| | | }, |
| | | // ä¸ä¼ å¾çæå |
| | | uploadSuccess (res, file, fileList) { |
| | | uploadSuccess (res, file, fileList) { |
| | | // console.log('this.fileList', this.fileList); |
| | | // console.log('fileList', fileList); |
| | | this.$emit('endUpload') |
| | | this.$emit('uploadEnd') |
| | | this.realList = fileList |
| | | this.srcList.push(res.data.url) |
| | | // console.log('file', file); |
| | |
| | | } |
| | | }, |
| | | fail (err, file, fileList) { |
| | | this.$emit('endUpload') |
| | | this.$emit('uploadEnd') |
| | | this.$message.error('ä¸ä¼ 失败') |
| | | }, |
| | | handlePictureCardPreview(file) { |
| | |
| | | this.realList.splice(tempIndex, 1) |
| | | this.fileList.splice(tempIndex, 1) |
| | | this.srcList.splice(tempIndex, 1) |
| | | |
| | | |
| | | }, |
| | | }, |
| | | } |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | uploadImgUrl: process.env.VUE_APP_API_PREFIX + '/public/upload' |
| | | uploadImgUrl: process.env.VUE_APP_API_PREFIX + '/visitsAdmin/cloudService/public/upload' |
| | | } |
| | | }, |
| | | |
| | |
| | | fd.append('folder', 'visit/') |
| | | fd.append('file', file) |
| | | return upload(fd).then(res => { |
| | | return res.prefixPath + res.folder + res.halfPath |
| | | return res.url |
| | | }) |
| | | } |
| | | }), |
| | |
| | | import Pagination from '@/components/common/Pagination' |
| | | import OperaBookingsWindow from '@/views/meeting/components/OperaBookingsWindow' |
| | | import OperaBookingsDetailWindow from '@/views/meeting/components/OperaBookingsDetailWindow' |
| | | import { findList } from '@/views/meeting/api/rooms' |
| | | import { findList } from '@/api/meeting/rooms' |
| | | import { getSystemDictData } from '@/api/system/dictData' |
| | | import { fetchTree } from '@/api/system/department' |
| | | import { cancelById, bookingsDetail } from '@/views/meeting/api/bookings' |
| | | import { cancelById, bookingsDetail } from '@/api/meeting/bookings' |
| | | export default { |
| | | name: 'Bookings', |
| | | extends: BaseTable, |
| | |
| | | created () { |
| | | this.config({ |
| | | module: 'ä¼è®®å®¤é¢å®ä¿¡æ¯è¡¨', |
| | | api: '@/views/meeting/api/bookings', |
| | | api: '/meeting/bookings', |
| | | 'field.id': 'id', |
| | | 'field.main': 'id' |
| | | }) |
| | |
| | | }, |
| | | created () { |
| | | this.config({ |
| | | api: '@/views/meeting/api/bookings', |
| | | api: '/meeting/bookings', |
| | | 'field.id': 'id' |
| | | }) |
| | | |
| | |
| | | import FileLink from '@/views/meeting/components/common/FileLink' |
| | | import { uploadFileLocal 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({ |
| | |
| | | inject: ['room'], |
| | | created () { |
| | | this.config({ |
| | | api: '@/views/meeting/api/devices', |
| | | api: '/meeting/devices', |
| | | 'field.id': 'id' |
| | | }) |
| | | |
| | |
| | | }, |
| | | created () { |
| | | this.config({ |
| | | api: '@/views/meeting/api/notice', |
| | | api: 'meeting/notice', |
| | | 'field.id': 'id' |
| | | }) |
| | | } |
| | |
| | | }, |
| | | created () { |
| | | this.config({ |
| | | api: '@/views/meeting/api/projects', |
| | | api: '/meeting/projects', |
| | | 'field.id': 'id' |
| | | }) |
| | | }, |
| | |
| | | }, |
| | | created () { |
| | | this.config({ |
| | | api: '@/views/meeting/api/roomRecord', |
| | | api: '/meeting/roomRecord', |
| | | 'field.id': 'id' |
| | | }) |
| | | } |
| | |
| | | import GlobalAlertWindow from '@/components/common/GlobalAlertWindow' |
| | | import UploadAvatarImage from '@/components/common/UploadAvatarImage' |
| | | import { numRule } from '@/utils/form' |
| | | import { fetchList } from '@/views/meeting/api/projects' |
| | | import { fetchList } from '@/api/meeting/projects' |
| | | export default { |
| | | name: 'OperaRoomsWindow', |
| | | extends: BaseOpera, |
| | |
| | | inject: ['userList'], |
| | | created () { |
| | | this.config({ |
| | | api: '@/views/meeting/api/rooms', |
| | | api: '/meeting/rooms', |
| | | 'field.id': 'id' |
| | | }) |
| | | // realname: this.filterText |
| | |
| | | }, |
| | | created () { |
| | | this.config({ |
| | | api: '@/views/meeting/api/bookings', |
| | | api: '/meeting/bookings', |
| | | 'field.id': 'id' |
| | | }) |
| | | |
| | |
| | | import TableLayout from '@/layouts/TableLayout' |
| | | import Pagination from '@/components/common/Pagination' |
| | | import OperaDevicesWindow from '@/views/meeting/components/OperaDevicesWindow' |
| | | import { findList } from '@/views/meeting/api/rooms' |
| | | import { updateById } from '@/views/meeting/api/devices' |
| | | import { findList } from '@/api/meeting/rooms' |
| | | import { updateById } from '@/api/meeting/devices' |
| | | export default { |
| | | name: 'Devices', |
| | | extends: BaseTable, |
| | |
| | | created () { |
| | | this.config({ |
| | | module: '设å¤ç®¡çä¿¡æ¯è¡¨', |
| | | api: '@/views/meeting/api/devices', |
| | | api: '/meeting/devices', |
| | | 'field.id': 'id', |
| | | 'field.main': 'id' |
| | | }) |
| | |
| | | import TableLayout from '@/layouts/TableLayout' |
| | | import Pagination from '@/components/common/Pagination' |
| | | import OperaRoomRecordWindow from '@/views/meeting/components/OperaRoomRecordWindow' |
| | | import { findList } from '@/views/meeting/api/rooms' |
| | | import { findList } from '@/api/meeting/rooms' |
| | | export default { |
| | | name: 'RoomRecord', |
| | | extends: BaseTable, |
| | |
| | | created () { |
| | | this.config({ |
| | | module: 'ä¼è®®å®¤å¼é¨è®°å½è¡¨', |
| | | api: '@/views/meeting/api/roomRecord', |
| | | api: '/meeting/roomRecord', |
| | | 'field.id': 'id', |
| | | 'field.main': 'id' |
| | | }) |
| | |
| | | <script> |
| | | import BaseTable from '@/components/base/BaseTable' |
| | | import TableLayout from '@/layouts/TableLayout' |
| | | import { getRoomStatistics, exportRoomStatistics } from '@/views/meeting/api/bookings' |
| | | import { getRoomStatistics, exportRoomStatistics } from '@/api/meeting/bookings' |
| | | // import { findList } from '@/api/meeting/rooms' |
| | | export default { |
| | | name: 'Rooms', |
| | |
| | | created () { |
| | | this.config({ |
| | | module: 'ä¼è®®å®¤ä¿¡æ¯è¡¨', |
| | | api: '@/views/meeting/api/rooms', |
| | | api: '/meeting/rooms', |
| | | 'field.id': 'id', |
| | | 'field.main': 'id' |
| | | }) |
| | |
| | | import OperaRoomsWindow from '@/views/meeting/components/OperaRoomsWindow' |
| | | import { fetchList as userList } from '@/api/system/user' |
| | | // import selectMember from '@/components/meeting/selectMember' |
| | | import { updateStatusById } from '@/views/meeting/api/rooms' |
| | | import { updateStatusById } from '@/api/meeting/rooms' |
| | | export default { |
| | | name: 'Rooms', |
| | | extends: BaseTable, |
| | |
| | | created () { |
| | | this.config({ |
| | | module: 'ä¼è®®å®¤ä¿¡æ¯è¡¨', |
| | | api: '@/views/meeting/api/rooms', |
| | | api: '/meeting/rooms', |
| | | 'field.id': 'id', |
| | | 'field.main': 'id' |
| | | }) |
| | |
| | | import BaseTable from '@/components/base/BaseTable' |
| | | import TableLayout from '@/layouts/TableLayout' |
| | | import Pagination from '@/components/common/Pagination' |
| | | import { getUserStatistics, exportUserStatistics } from '@/views/meeting/api/bookings' |
| | | import { getUserStatistics, exportUserStatistics } from '@/api/meeting/bookings' |
| | | import { fetchList as userList } from '@/api/system/user' |
| | | |
| | | export default { |
| | |
| | | created () { |
| | | this.config({ |
| | | module: 'ä¼è®®å®¤ä¿¡æ¯è¡¨', |
| | | api: '@/views/meeting/api/rooms', |
| | | api: '/meeting/rooms', |
| | | 'field.id': 'id', |
| | | 'field.main': 'id' |
| | | }) |