描述:查询房间传递企业id

This commit is contained in:
SelfRidicule 2024-06-12 09:22:22 +08:00
parent 14970b6c98
commit 769a3c8032

View File

@ -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)