|
|
@ -263,15 +263,15 @@ |
|
|
|
path = item.path; |
|
|
|
} |
|
|
|
}); |
|
|
|
console.log('path: ', path); |
|
|
|
// console.log('path: ', path); |
|
|
|
return this.apiUrl + path; |
|
|
|
}, |
|
|
|
}, |
|
|
|
created() { |
|
|
|
console.log('book', this.book) |
|
|
|
// console.log('book', this.book) |
|
|
|
this.queryVideo() |
|
|
|
this.content = this.book.find((item) => item.type === 0)?.content || ''; |
|
|
|
console.log(this.content); |
|
|
|
// console.log(this.content); |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
this.queryConsentResult(); |
|
|
@ -360,8 +360,8 @@ |
|
|
|
let d = date.getDate(); |
|
|
|
d = d < 10 ? '0' + d : d; |
|
|
|
let dateTime = y + '-' + m + '-' + d; |
|
|
|
this.picker = false; |
|
|
|
this.informed[this.type] = dateTime; |
|
|
|
this.picker = false; |
|
|
|
}, |
|
|
|
|
|
|
|
async thTime() { |
|
|
@ -412,6 +412,14 @@ |
|
|
|
uploadfile(form).then((res) => { |
|
|
|
if (res.code === 200) { |
|
|
|
this.informed.doctorSign = res.url; |
|
|
|
const now = new Date() |
|
|
|
let y = now.getFullYear(); |
|
|
|
let m = now.getMonth() + 1; |
|
|
|
m = m < 10 ? '0' + m : m; |
|
|
|
let d = now.getDate(); |
|
|
|
d = d < 10 ? '0' + d : d; |
|
|
|
let dateTime = y + '-' + m + '-' + d; |
|
|
|
this.informed.doctorTime = dateTime; |
|
|
|
this.$message.success('谈话医师签名保存成功'); |
|
|
|
this.doctorSign = false; |
|
|
|
} else { |
|
|
@ -429,6 +437,14 @@ |
|
|
|
uploadfile(form).then((res) => { |
|
|
|
if (res.code === 200) { |
|
|
|
this.informed.patientSign = res.url; |
|
|
|
const now = new Date() |
|
|
|
let y = now.getFullYear(); |
|
|
|
let m = now.getMonth() + 1; |
|
|
|
m = m < 10 ? '0' + m : m; |
|
|
|
let d = now.getDate(); |
|
|
|
d = d < 10 ? '0' + d : d; |
|
|
|
let dateTime = y + '-' + m + '-' + d; |
|
|
|
this.informed.patientTime = dateTime; |
|
|
|
this.$message.success('患者本人签名保存成功'); |
|
|
|
this.patientSign = false; |
|
|
|
} else { |
|
|
|