diff --git a/src/App.vue b/src/App.vue index 8ee3cc1..24e4bb8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -176,7 +176,7 @@ tipConfirm() { this.tip.visible = false; const name = this.pushRouter[this.tip.k]; - console.log('name: ', name); + // console.log('name: ', name); this.$router.push({ name, }); diff --git a/src/components/keyboard.vue b/src/components/keyboard.vue index 46e13be..7419b1e 100644 --- a/src/components/keyboard.vue +++ b/src/components/keyboard.vue @@ -229,7 +229,7 @@ // 父组件改变值 handleOld() { // 获取父组件存的值后画数字 - if (this.oldValue != '') { + if (this.oldValue && this.oldValue != '') { for (const item of this.oldValue) { const span = document.createElement('span') //创建包含值的元素 span.className = 'val' diff --git a/src/layouts/BasicLayout.vue b/src/layouts/BasicLayout.vue index 09dc6ec..033990b 100644 --- a/src/layouts/BasicLayout.vue +++ b/src/layouts/BasicLayout.vue @@ -103,7 +103,7 @@
当前版本: - 正式版v{{loginInfo?.version}} + 正式版 {{loginInfo?.version}}
diff --git a/src/views/Patient/index.vue b/src/views/Patient/index.vue index 9425a61..cdf0949 100644 --- a/src/views/Patient/index.vue +++ b/src/views/Patient/index.vue @@ -28,9 +28,9 @@ - +
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')