描述:企业查询

This commit is contained in:
SelfRidicule 2024-05-09 15:57:18 +08:00
parent 1a3e0c1fee
commit cfa60fd669

View File

@ -123,11 +123,11 @@
<a-input placeholder='所属行业' v-decorator="['sector']" /> <a-input placeholder='所属行业' v-decorator="['sector']" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- <a-col :span='12'>--> <!-- <a-col :span='12'>-->
<!-- <a-form-item :labelCol='labelColHalf' :wrapperCol='wrapperColHalf' label='所属国家'>--> <!-- <a-form-item :labelCol='labelColHalf' :wrapperCol='wrapperColHalf' label='所属国家'>-->
<!-- <a-input placeholder='所属国家' v-decorator="['country']" />--> <!-- <a-input placeholder='所属国家' v-decorator="['country']" />-->
<!-- </a-form-item>--> <!-- </a-form-item>-->
<!-- </a-col>--> <!-- </a-col>-->
<a-col :span='12'> <a-col :span='12'>
<a-form-item :labelCol='labelColHalf' :wrapperCol='wrapperColHalf' label='过程管理'> <a-form-item :labelCol='labelColHalf' :wrapperCol='wrapperColHalf' label='过程管理'>
<a-select v-decorator="['process']"> <a-select v-decorator="['process']">
@ -396,7 +396,7 @@
:dataSource='deviceData' :dataSource='deviceData'
> >
<span slot='floorName' slot-scope='text, record'> <span slot='floorName' slot-scope='text, record'>
{{ record.roomName?record.buildName + record.roomName:record.buildName }} {{ record.roomName ? record.buildName + record.roomName : record.buildName }}
</span> </span>
</a-table> </a-table>
</a-modal> </a-modal>
@ -586,7 +586,7 @@ export default {
roomList: [], // roomList: [], //
tenantEnable: false, tenantEnable: false,
parkEnable: false, parkEnable: false,
mdl: {}, mdl: {}
} }
}, },
@ -615,7 +615,7 @@ export default {
// //
this.getTenantData() this.getTenantData()
// //
this.getUserDetail(); this.getUserDetail()
}, },
methods: { methods: {
@ -727,11 +727,18 @@ export default {
this.form.setFieldsValue({ this.form.setFieldsValue({
roomIds: [] // roomIds: [] //
}) })
//
let type = 0
//
const { customerId } = this.$route.query
if (customerId == 83) {
type = null
}
// //
getRoomListByBuildIdsRq({ getRoomListByBuildIdsRq({
'ids': ids, 'ids': ids,
'buildingDetailIds': buildingDetailIds, 'buildingDetailIds': buildingDetailIds,
'type': 0 'type': type
}).then((res) => { }).then((res) => {
this.roomList = res.data this.roomList = res.data
}) })
@ -781,7 +788,6 @@ export default {
}, },
customRequest(file) { customRequest(file) {
// file // file
// formData // formData
@ -790,7 +796,7 @@ export default {
const formData = new FormData() const formData = new FormData()
formData.append('file', file.file) formData.append('file', file.file)
console.log(file) console.log(file)
importData(formData,customerId).then(res => { importData(formData, customerId).then(res => {
if (res.code == 0) { if (res.code == 0) {
// , // ,
file.onSuccess(res, file.file) file.onSuccess(res, file.file)