tijiao
@@ -52,14 +52,14 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 固定的输入框部分 -->
|
<!-- 固定的输入框部分 -->
|
||||||
<view style="height: calc(100% - 80rpx)">
|
<view style="height: calc(100% - 120rpx)">
|
||||||
<textarea
|
<textarea
|
||||||
v-model="formData.message"
|
v-model="formData.message"
|
||||||
maxlength="-1"
|
maxlength="-1"
|
||||||
style="
|
style="
|
||||||
min-height: calc(88vh - 100px) !important;
|
min-height: calc(85vh - 360rpx) !important;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-height: calc(88vh - 100px) !important;
|
max-height: calc(85vh - 360rpx) !important;
|
||||||
"
|
"
|
||||||
auto-height
|
auto-height
|
||||||
placeholder="请输入医案到此处,将自动解析医案信息
|
placeholder="请输入医案到此处,将自动解析医案信息
|
||||||
@@ -433,9 +433,7 @@ export default {
|
|||||||
// 判断内容是否为空或无效
|
// 判断内容是否为空或无效
|
||||||
|
|
||||||
getTitleHtml(html, key) {
|
getTitleHtml(html, key) {
|
||||||
const div = document.createElement("div");
|
const str = [
|
||||||
div.innerHTML = html;
|
|
||||||
var str = [
|
|
||||||
"chiefComplaint",
|
"chiefComplaint",
|
||||||
"historyOfPresentIllness",
|
"historyOfPresentIllness",
|
||||||
"physicaExamination",
|
"physicaExamination",
|
||||||
@@ -443,10 +441,19 @@ export default {
|
|||||||
].includes(key)
|
].includes(key)
|
||||||
? `<span style="color:#F56C6C;margin-right:4px">*</span>`
|
? `<span style="color:#F56C6C;margin-right:4px">*</span>`
|
||||||
: "";
|
: "";
|
||||||
return div.querySelector("h1")
|
|
||||||
? div.querySelector("h1").outerHTML || "<h1></h1>"
|
// Regular expression to capture the first <h1> element in the HTML
|
||||||
: "";
|
const h1Match = html.match(/<h1[^>]*>(.*?)<\/h1>/);
|
||||||
|
|
||||||
|
if (h1Match) {
|
||||||
|
// If an <h1> is found, return it with the prepended star if needed
|
||||||
|
return `<h1>${str}${h1Match[1]}</h1>`;
|
||||||
|
} else {
|
||||||
|
// If no <h1> is found, return an empty <h1>
|
||||||
|
return "<h1></h1>";
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
async checkPermision() {
|
async checkPermision() {
|
||||||
var result = await permission.premissionCheck("CAMERA_EXTERNAL_STORAGE");
|
var result = await permission.premissionCheck("CAMERA_EXTERNAL_STORAGE");
|
||||||
if (result != 1) {
|
if (result != 1) {
|
||||||
@@ -1801,7 +1808,7 @@ h3 {
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border: 4rpx solid #188bff !important;
|
border: 4rpx solid #188bff !important;
|
||||||
border-radius: 20rpx;
|
border-radius: 20rpx;
|
||||||
height: 88vh;
|
height: 84vh;
|
||||||
|
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
|
||||||
@@ -1819,7 +1826,7 @@ h3 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/deep/.home_wrap_analysis {
|
/deep/.home_wrap_analysis {
|
||||||
height: 92vh;
|
height: 89vh;
|
||||||
.home_form {
|
.home_form {
|
||||||
padding-bottom: 0px;
|
padding-bottom: 0px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -450,15 +450,21 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
getInnerHtml(html) {
|
getInnerHtml(html) {
|
||||||
const div = document.createElement("div");
|
// Regular expression to capture all HTML tags excluding the first <h1> tag
|
||||||
div.innerHTML = html;
|
const h1Match = html.match(/<h1[^>]*>.*?<\/h1>/);
|
||||||
const children = Array.from(div.children).slice(1); // 跳过 h1
|
|
||||||
return children.map((e) => e.outerHTML).join("");
|
// If an <h1> is found, remove it and process the rest
|
||||||
|
if (h1Match) {
|
||||||
|
// Remove the first <h1> and its content, then return the rest of the HTML
|
||||||
|
html = html.replace(h1Match[0], '');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Return the remaining HTML
|
||||||
|
return html;
|
||||||
},
|
},
|
||||||
|
|
||||||
getTitleHtml(html, key) {
|
getTitleHtml(html, key) {
|
||||||
const div = document.createElement("div");
|
const str = [
|
||||||
div.innerHTML = html;
|
|
||||||
var str = [
|
|
||||||
"chiefComplaint",
|
"chiefComplaint",
|
||||||
"historyOfPresentIllness",
|
"historyOfPresentIllness",
|
||||||
"physicaExamination",
|
"physicaExamination",
|
||||||
@@ -466,10 +472,19 @@ export default {
|
|||||||
].includes(key)
|
].includes(key)
|
||||||
? `<span style="color:#F56C6C;margin-right:4px">*</span>`
|
? `<span style="color:#F56C6C;margin-right:4px">*</span>`
|
||||||
: "";
|
: "";
|
||||||
return div.querySelector("h1")
|
|
||||||
? div.querySelector("h1").outerHTML || "<h1></h1>"
|
// Regular expression to capture the first <h1> element in the HTML
|
||||||
: "";
|
const h1Match = html.match(/<h1[^>]*>(.*?)<\/h1>/);
|
||||||
|
|
||||||
|
if (h1Match) {
|
||||||
|
// If an <h1> is found, return it with the prepended star if needed
|
||||||
|
return `<h1>${str}${h1Match[1]}</h1>`;
|
||||||
|
} else {
|
||||||
|
// If no <h1> is found, return an empty <h1>
|
||||||
|
return "<h1></h1>";
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
async checkPermision() {
|
async checkPermision() {
|
||||||
var result = await permission.premissionCheck("CAMERA_EXTERNAL_STORAGE");
|
var result = await permission.premissionCheck("CAMERA_EXTERNAL_STORAGE");
|
||||||
if (result != 1) {
|
if (result != 1) {
|
||||||
|
|||||||
18
unpackage/dist/build/app-plus/app-service.js
vendored
6
unpackage/dist/build/app-plus/app-view.js
vendored
BIN
unpackage/dist/build/app-plus/assets/bofang2.ad394913.png
vendored
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
unpackage/dist/build/app-plus/assets/kj.a23a3969.png
vendored
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
unpackage/dist/build/app-plus/assets/kt.8676fec7.png
vendored
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
unpackage/dist/build/app-plus/assets/zt.25cf4a81.png
vendored
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
unpackage/dist/build/app-plus/static/font/PangMenZhengDaoBiaoTiTiMianFeiBan.ttf
vendored
Normal file
BIN
unpackage/dist/build/app-plus/static/icon/course_07.png
vendored
Normal file
|
After Width: | Height: | Size: 326 B |
BIN
unpackage/dist/build/app-plus/static/icon/fugou.png
vendored
Normal file
|
After Width: | Height: | Size: 6.6 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/home_icon_0.png
vendored
Normal file
|
After Width: | Height: | Size: 83 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/icon_add.png
vendored
Normal file
|
After Width: | Height: | Size: 426 B |
BIN
unpackage/dist/build/app-plus/static/icon/icon_analysis.png
vendored
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/icon_folder.png
vendored
Normal file
|
After Width: | Height: | Size: 610 B |
BIN
unpackage/dist/build/app-plus/static/icon/icon_hz.png
vendored
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/jifen.png
vendored
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/jing.png
vendored
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/order_vip.png
vendored
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/pay_1.png
vendored
Normal file
|
After Width: | Height: | Size: 952 B |
BIN
unpackage/dist/build/app-plus/static/icon/pay_2.png
vendored
Normal file
|
After Width: | Height: | Size: 893 B |
BIN
unpackage/dist/build/app-plus/static/icon/pay_3.png
vendored
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/shenghezhong.png
vendored
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/vip.png
vendored
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/weitongguo.png
vendored
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/yitongguo.png
vendored
Normal file
|
After Width: | Height: | Size: 9.8 KiB |