mirror of
https://gitee.com/elegant_wings/dbd-meeting-html.git
synced 2025-06-21 03:19:36 +08:00
描述:查询房间传递企业id
This commit is contained in:
parent
14970b6c98
commit
769a3c8032
@ -408,40 +408,31 @@
|
||||
<script>
|
||||
|
||||
import { getTenantList } from '@/api/tenant'
|
||||
|
||||
let downloadLoadingInstance
|
||||
import moment from 'moment'
|
||||
import storage from 'store'
|
||||
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
||||
import {
|
||||
saveCustomer,
|
||||
getCustomer,
|
||||
getQiXinBasicInfo,
|
||||
getStaffList,
|
||||
selectCustomerStaffList,
|
||||
updateStaffByCustomer,
|
||||
importData,
|
||||
exportTemplate,
|
||||
selectUserDeviceList,
|
||||
saveCustomer,
|
||||
saveUserEquipment,
|
||||
selectCustomerStaffList,
|
||||
selectEquipmentListById,
|
||||
saveUserEquipment
|
||||
selectUserDeviceList,
|
||||
updateStaffByCustomer
|
||||
} from '@/api/admin/customer'
|
||||
import {
|
||||
getFloorList,
|
||||
getRoomListByFloorId,
|
||||
getRoomListByBuildIdsRq
|
||||
} from '@/api/admin/meeting/roomContent'
|
||||
import { getRoomListByBuildIdsRq } from '@/api/admin/meeting/roomContent'
|
||||
import { getCustomerContractList } from '@/api/admin/customerContract'
|
||||
import CustomerContactsModal from './modules/CustomerContactsModal.vue'
|
||||
import CustomerAttachmentList from './modules/CustomerAttachmentList.vue'
|
||||
import pick from 'lodash.pick'
|
||||
import { message } from 'ant-design-vue'
|
||||
import { download } from '@/utils/request'
|
||||
import { getParkList } from '@/api/admin/park'
|
||||
import { getBuildingList } from '@/api/admin/building'
|
||||
import { getBuildingDetailList } from '@/api/admin/buildingDetail'
|
||||
import { getInfo } from '@/api/login'
|
||||
|
||||
let downloadLoadingInstance
|
||||
|
||||
export default {
|
||||
name: 'BaseForm',
|
||||
components: {
|
||||
@ -586,8 +577,8 @@ export default {
|
||||
roomList: [], //房间
|
||||
tenantEnable: false,
|
||||
parkEnable: false,
|
||||
mdl: {}
|
||||
|
||||
mdl: {},
|
||||
customerId: null
|
||||
}
|
||||
},
|
||||
filters: {
|
||||
@ -720,7 +711,7 @@ export default {
|
||||
this.getRoomListByFloorIdMethod(buildingDetailId)
|
||||
},
|
||||
// 查询房间
|
||||
getRoomListByFloorIdMethod(buildingDetailIds, ids) {
|
||||
getRoomListByFloorIdMethod(buildingDetailIds) {
|
||||
// 清空数据
|
||||
this.mdl.roomIds = [] // 所属房间
|
||||
|
||||
@ -736,7 +727,7 @@ export default {
|
||||
}
|
||||
// 查询房间
|
||||
getRoomListByBuildIdsRq({
|
||||
'ids': ids,
|
||||
'customerId': this.customerId,
|
||||
'buildingDetailIds': buildingDetailIds,
|
||||
'type': type
|
||||
}).then((res) => {
|
||||
@ -861,6 +852,7 @@ export default {
|
||||
},
|
||||
handleInit() {
|
||||
const { customerId } = this.$route.query
|
||||
this.customerId = customerId
|
||||
if (customerId) {
|
||||
getCustomer(customerId).then(res => {
|
||||
this.mdl = Object.assign(this.mdl, res)
|
||||
|
Loading…
x
Reference in New Issue
Block a user