|
|
@ -183,7 +183,8 @@ |
|
|
|
queryConsentResult, |
|
|
|
thTime, |
|
|
|
uploadBase64, |
|
|
|
queryVideo |
|
|
|
queryVideo, |
|
|
|
queryBook |
|
|
|
} from 'api'; |
|
|
|
export default { |
|
|
|
name: 'ThromBefor4', |
|
|
@ -276,6 +277,7 @@ |
|
|
|
created() { |
|
|
|
// console.log('book', this.book) |
|
|
|
this.queryVideo() |
|
|
|
// this.queryBook(); //知情同意 |
|
|
|
this.content = this.book.find((item) => item.type === 1)?.content || ''; |
|
|
|
// console.log(this.content); |
|
|
|
}, |
|
|
@ -296,6 +298,18 @@ |
|
|
|
uploadImage() { |
|
|
|
|
|
|
|
}, |
|
|
|
async queryBook() { |
|
|
|
let res = await queryBook({type: 1}); |
|
|
|
const { |
|
|
|
data, |
|
|
|
code, |
|
|
|
msg |
|
|
|
} = res; |
|
|
|
console.log('介入 book', data) |
|
|
|
if (code === 200) { |
|
|
|
this.setBook(data); |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
async queryVideo() { |
|
|
|
let res = await queryVideo(); |
|
|
@ -323,7 +337,7 @@ |
|
|
|
...informed, |
|
|
|
firstAidId, |
|
|
|
templateText: this.content, |
|
|
|
type: 0, |
|
|
|
type: 1, |
|
|
|
}); |
|
|
|
const { |
|
|
|
code, |
|
|
@ -405,6 +419,7 @@ |
|
|
|
msg |
|
|
|
} = res; |
|
|
|
if (code === 200) { |
|
|
|
console.log('result 溶栓',this.informed, data) |
|
|
|
this.utils.merge(this.informed, data); |
|
|
|
} |
|
|
|
}, |
|
|
|