Commit 51a7d070 authored by 盖献康's avatar 盖献康

bug

parent 24b1faa1
......@@ -149,7 +149,7 @@ export default {
this.getCurrentHospital()
setTimeout(() => {
this.getContract()
}, 500)
}, 300)
},
methods: {
// 合同文件查看对话框关闭
......@@ -171,18 +171,20 @@ export default {
},
getContract() {
this.getEntryContract()
console.log('xxxx', this.currentHospitalId)
this.queryParams.hospitalId = this.currentHospitalId
listHistory(this.queryParams).then(res => {
const list = res.rows
this.total = res.total - 1
console.log('授权历史312', list)
this.authorizationHistory = list
this.authorizationHistory = list.filter((obj) => obj.id !== this.id)
console.log('授权合同', this.authorizationHistory)
console.log('入驻合同', this.entryContract)
this.loading = false
})
setTimeout(() => {
console.log('xxxx', this.currentHospitalId)
this.queryParams.hospitalId = this.currentHospitalId
listHistory(this.queryParams).then(res => {
const list = res.rows
this.total = res.total - 1
console.log('授权历史312', list)
this.authorizationHistory = list
this.authorizationHistory = list.filter((obj) => obj.id !== this.id)
console.log('授权合同', this.authorizationHistory)
console.log('入驻合同', this.entryContract)
this.loading = false
})
}, 300)
},
getCurrentHospital() {
listGetUserInfo().then(res => {
......
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