Commit 09b03163 authored by 盖献康's avatar 盖献康

检查管理-立即预约-内部外部

parent 3322d097
...@@ -206,7 +206,7 @@ ...@@ -206,7 +206,7 @@
</el-col> </el-col>
<el-col v-show="subscribeMessage.checkType === '2'" :span="8"> <el-col v-show="subscribeMessage.checkType === '2'" :span="8">
<el-form-item label="支出账户余额" label-width="96px"> <el-form-item label="支出账户余额" label-width="96px">
11800.00 11800.00
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
...@@ -303,7 +303,7 @@ export default { ...@@ -303,7 +303,7 @@ export default {
getManage(id).then(response => { getManage(id).then(response => {
this.subscribeMessage = response.data this.subscribeMessage = response.data
console.log('立即预约页面', this.subscribeMessage) console.log('立即预约页面', this.subscribeMessage)
this.subscribeMessage.payAmount = this.keepTwoDecimals(this.subscribeMessage.payAmount) // this.subscribeMessage.payAmount = this.keepTwoDecimals(this.subscribeMessage.payAmount)
// 时间 // 时间
this.deviceQueryParams.reservationTime = parseTime(new Date(), '{y}-{m}-{d}') this.deviceQueryParams.reservationTime = parseTime(new Date(), '{y}-{m}-{d}')
// 服务类型(医院自有、外部服务) // 服务类型(医院自有、外部服务)
...@@ -317,7 +317,7 @@ export default { ...@@ -317,7 +317,7 @@ export default {
this.currentCheckId = this.subscribeMessage.id this.currentCheckId = this.subscribeMessage.id
this.currentPayAmount = this.subscribeMessage.payAmount this.currentPayAmount = this.subscribeMessage.payAmount
this.getDevice() this.getDevice()
this.getAllDevice(this.subscribeMessage.checkItemsId) this.getAllDevice(this.subscribeMessage.checkItemsId, this.deviceQueryParams.isPrivate)
}) })
}, },
methods: { methods: {
...@@ -387,10 +387,10 @@ export default { ...@@ -387,10 +387,10 @@ export default {
}) })
}, },
// 获取所有设备 // 获取所有设备
getAllDevice(checkItemsId) { getAllDevice(checkItemsId, isPrivate) {
const list = [] const list = []
list.push(checkItemsId) list.push(checkItemsId)
deviceUseInSubscribeList({ isPrivate: this.deviceQueryParams.isPrivate, checkTypeList: list }).then(res => { deviceUseInSubscribeList({ isPrivate: isPrivate, checkTypeList: list }).then(res => {
this.selectableDevice = res.data this.selectableDevice = res.data
}) })
}, },
......
...@@ -534,10 +534,10 @@ export default { ...@@ -534,10 +534,10 @@ export default {
}) })
}, },
/** 获取所有设备用于设备下拉 */ /** 获取所有设备用于设备下拉 */
getAllDevice(checkItemsId) { getAllDevice(checkItemsId, isPrivate) {
const list = [] const list = []
list.push(checkItemsId) list.push(checkItemsId)
deviceUseInSubscribeList({ isPrivate: '1', checkTypeList: list }).then(res => { deviceUseInSubscribeList({ isPrivate: isPrivate, checkTypeList: list }).then(res => {
console.log('设备下拉框', res) console.log('设备下拉框', res)
this.selectableDevice = res.data this.selectableDevice = res.data
}) })
...@@ -597,7 +597,7 @@ export default { ...@@ -597,7 +597,7 @@ export default {
console.log('点击立即预约后的状态', this.deviceQueryParams) console.log('点击立即预约后的状态', this.deviceQueryParams)
// 设置检查项目id // 设置检查项目id
this.getDevice() this.getDevice()
this.getAllDevice(row.checkItemsId) this.getAllDevice(row.checkItemsId, this.deviceQueryParams.isPrivate)
}, },
// 获取当前时间 // 获取当前时间
getCurrentTime() { getCurrentTime() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment