mirror of
https://gitee.com/elegant_wings/dbd-meeting-html.git
synced 2025-06-21 03:19:36 +08:00
修改了对应统计页面
This commit is contained in:
parent
45a5bf23c4
commit
6322e1f476
@ -72,38 +72,14 @@ export default {
|
||||
queryParam: {},
|
||||
// 表头
|
||||
columns: [
|
||||
{
|
||||
title: '设备分类',
|
||||
dataIndex: 'type'
|
||||
},
|
||||
{
|
||||
title: '设备名称',
|
||||
dataIndex: 'equipmentName'
|
||||
},
|
||||
{
|
||||
title: '设备状态',
|
||||
dataIndex: 'status'
|
||||
},
|
||||
{
|
||||
title: '设备编号',
|
||||
dataIndex: 'equipmentNum'
|
||||
},
|
||||
{
|
||||
title: '设备图片',
|
||||
dataIndex: 'pic'
|
||||
},
|
||||
{
|
||||
title: '更新时间',
|
||||
dataIndex: 'ip'
|
||||
},
|
||||
{
|
||||
title: '园区ID',
|
||||
dataIndex: 'parkId'
|
||||
},
|
||||
{
|
||||
title: '会议室id',
|
||||
dataIndex: 'contentId'
|
||||
},
|
||||
{
|
||||
title: '会议室名称',
|
||||
dataIndex: 'contentName'
|
||||
|
@ -20,14 +20,16 @@
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="设备名称">
|
||||
<a-input placeholder="设备名称" v-decorator="['equipmentName']" />
|
||||
<a-input placeholder="设备名称" v-decorator="['equipmentName' , {rules: [{ required: true, message: '请输入设备名称' }]}]" />
|
||||
</a-form-item>
|
||||
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="设备编号">
|
||||
<a-input placeholder="设备编号" v-decorator="['equipmentNum']" />
|
||||
<a-input placeholder="设备编号" v-decorator="['equipmentNum' , {rules: [{ required: true, message: '请输入设备编号' }]}]" />
|
||||
</a-form-item>
|
||||
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="会议室id">
|
||||
<a-select v-decorator="['contentId', {rules: [{ required: true, message: '请选择会议室' }]}]">
|
||||
<a-select-option v-for="item in roomList" :key="item.id">{{ item.meetingName }}</a-select-option>
|
||||
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="会议室">
|
||||
<a-select :label-in-value="true"
|
||||
v-decorator="['contentId', {rules: [{ required: true, message: '请选择会议室' }]}]"
|
||||
@change="selectRoom">
|
||||
<a-select-option v-for="item in roomList" :key="item.id" :value="item.id">{{ item.meetingName }}</a-select-option>
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
|
||||
@ -95,7 +97,9 @@ export default {
|
||||
this.roomList = res.rows
|
||||
})
|
||||
},
|
||||
|
||||
selectRoom (item) {
|
||||
console.log(item)
|
||||
},
|
||||
add () {
|
||||
this.form.resetFields()
|
||||
this.edit({ id: 0 })
|
||||
|
Loading…
x
Reference in New Issue
Block a user