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
14b2824530
commit
92ab4bc2fb
@ -60,12 +60,11 @@ export default {
|
||||
beforeCreate () {
|
||||
},
|
||||
created () {
|
||||
this.selectStaffList()
|
||||
},
|
||||
methods: {
|
||||
selectStaffList () {
|
||||
selectStaff().then(res => {
|
||||
this.staffLists = res.data
|
||||
this.staffLists = res.data
|
||||
})
|
||||
},
|
||||
add () {
|
||||
@ -73,10 +72,12 @@ export default {
|
||||
this.edit({ id: 0 })
|
||||
},
|
||||
edit (record) {
|
||||
this.selectStaffList()
|
||||
|
||||
this.mdl = Object.assign(record)
|
||||
this.visible = true
|
||||
this.$nextTick(() => {
|
||||
this.form.setFieldsValue(pick(this.mdl, 'id', 'type', 'staffId', 'meetingName', 'startTime', 'endDate', 'createBy', 'createTime', 'updateBy', 'updateTime', 'version', 'deleteFlag', 'remake', 'tenantId', 'parkId'))
|
||||
this.form.setFieldsValue(pick(this.mdl, 'id', 'type', 'staffId', 'staffLists', 'meetingName', 'startTime', 'endDate', 'createBy', 'createTime', 'updateBy', 'updateTime', 'version', 'deleteFlag', 'remake', 'tenantId', 'parkId'))
|
||||
})
|
||||
},
|
||||
handleSubmit (e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user