|
@@ -115,12 +115,12 @@ export default {
|
|
|
dc_key: ['timeSlot'],
|
|
|
getUserLocalStorageInfo: getUserLocalStorageInfo(),
|
|
|
theme: '',
|
|
|
- unit: '',
|
|
|
postData: {},
|
|
|
form: {
|
|
|
createdId: getUserLocalStorageInfo().userId,
|
|
|
appointTime: dayjs().format('YYYY-MM-DD HH:mm'),
|
|
|
- userType: getUserLocalStorageInfo().userType
|
|
|
+ userType: getUserLocalStorageInfo().userType,
|
|
|
+ unit: ' '
|
|
|
},
|
|
|
meetingRoomId: '',
|
|
|
startTime: '请选择使用时间',
|
|
@@ -150,7 +150,9 @@ export default {
|
|
|
id: getUserLocalStorageInfo().userId
|
|
|
}
|
|
|
getUserDept(data).then(res => {
|
|
|
- this.form.unit = res.msg
|
|
|
+ if(res.data){
|
|
|
+ this.form.unit = res.data
|
|
|
+ }
|
|
|
})
|
|
|
|
|
|
}
|