diff --git a/src/views/document/index.vue b/src/views/document/index.vue
index 2e84f54..aa28f8f 100644
--- a/src/views/document/index.vue
+++ b/src/views/document/index.vue
@@ -414,7 +414,6 @@
if (code === 200) {
this.carList = data.list;
this.carNo = this.carList[0]?.deviceNo || ''; // 默认选中第一个平车
- console.log('this.carNo ', this.carNo);
}
this.component = "patient-list"
},
diff --git a/src/views/thrombolysis/components/throm-before4.vue b/src/views/thrombolysis/components/throm-before4.vue
index 16efa6d..bd9915d 100644
--- a/src/views/thrombolysis/components/throm-before4.vue
+++ b/src/views/thrombolysis/components/throm-before4.vue
@@ -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 {
diff --git a/src/views/thrombolysis/components/throm-result-baseInfo.vue b/src/views/thrombolysis/components/throm-result-baseInfo.vue
index 94d44be..d2d156b 100644
--- a/src/views/thrombolysis/components/throm-result-baseInfo.vue
+++ b/src/views/thrombolysis/components/throm-result-baseInfo.vue
@@ -345,6 +345,8 @@
}
if(!this.patientId) {
await this.home.updateAidCode({
+ ...values,
+ firstAidZlType: this.firstAidZlType,
codeAndAnswerList
}, false)
this.$emit('next')