mirror of
https://gitee.com/elegant_wings/dbd-meeting-html.git
synced 2025-06-20 17:08:25 +08:00
描述:企业查询
This commit is contained in:
parent
1a3e0c1fee
commit
cfa60fd669
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user