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