Commit 25891d90 authored by 盖献康's avatar 盖献康

bug

parent b03909ac
...@@ -107,7 +107,7 @@ export default { ...@@ -107,7 +107,7 @@ export default {
total: 0, total: 0,
queryParams: { queryParams: {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 20,
hospitalId: null hospitalId: null
}, },
id: null id: null
...@@ -133,6 +133,7 @@ export default { ...@@ -133,6 +133,7 @@ export default {
}) })
}, },
getContract() { getContract() {
this.getEntryContract()
console.log('xxxx', this.currentHospitalId) console.log('xxxx', this.currentHospitalId)
this.queryParams.hospitalId = this.currentHospitalId this.queryParams.hospitalId = this.currentHospitalId
listHistory(this.queryParams).then(res => { listHistory(this.queryParams).then(res => {
...@@ -140,12 +141,11 @@ export default { ...@@ -140,12 +141,11 @@ export default {
this.total = res.total - 1 this.total = res.total - 1
console.log('授权历史312', list) console.log('授权历史312', list)
this.authorizationHistory = list this.authorizationHistory = list
this.authorizationHistory = this.authorizationHistory.filter((obj) => obj.id !== this.id) this.authorizationHistory = list.filter((obj) => obj.id !== this.id)
console.log('授权合同', this.authorizationHistory) console.log('授权合同', this.authorizationHistory)
console.log('入驻合同', this.entryContract) console.log('入驻合同', this.entryContract)
this.loading = false this.loading = false
}) })
this.getEntryContract()
}, },
getCurrentHospital() { getCurrentHospital() {
listGetUserInfo().then(res => { listGetUserInfo().then(res => {
......
...@@ -269,6 +269,7 @@ ...@@ -269,6 +269,7 @@
:data="deviceList" :data="deviceList"
style="width: 100%" style="width: 100%"
:header-cell-style="{background:'#E8E9E8'}" :header-cell-style="{background:'#E8E9E8'}"
empty-text="当前暂无可预约设备"
> >
<el-table-column prop="deviceName" align="left" label="设备名称" /> <el-table-column prop="deviceName" align="left" label="设备名称" />
<el-table-column prop="checkDate" align="left" label="检查日期"> <el-table-column prop="checkDate" align="left" label="检查日期">
......
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