6.17
This commit is contained in:
@@ -31,8 +31,10 @@
|
||||
placeholder="患者基本情况,检查结果,诊疗图片或视频"
|
||||
eid="editor-id"
|
||||
@ready="ready"
|
||||
pasteMode="origin"
|
||||
@focus="focusInfo"
|
||||
@blur="blurInfo"
|
||||
@epaste="epaste"
|
||||
></sv-editor>
|
||||
<!-- <editor
|
||||
id="editor"
|
||||
@@ -512,6 +514,9 @@ const goBack = () => {
|
||||
const closeCase = () => {
|
||||
showCase.value = false;
|
||||
};
|
||||
const epaste=(e)=>{
|
||||
console.log(e)
|
||||
}
|
||||
const addOption = () => {
|
||||
voteData.case_exchange_vote_option.push({
|
||||
option_value: "",
|
||||
@@ -609,7 +614,7 @@ const ready = (e) => {
|
||||
editorCtx.value = e;
|
||||
|
||||
let html =
|
||||
"<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/>";
|
||||
"<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/><br/>";
|
||||
editorCtx.value.initHtml(html);
|
||||
};
|
||||
const readyResult = (e) => {
|
||||
@@ -754,7 +759,7 @@ const alertSave = async () => {
|
||||
}else{
|
||||
const res = await editorCtx.value.getLastContent();
|
||||
//let html = editorCtx.value.exportHtml(res.html);
|
||||
//const initInfo= "<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/>";
|
||||
//const initInfo= "<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/><br/>";
|
||||
const resContent = await editorCtxResult.value.getLastContent();
|
||||
//let reshtml = editorCtxResult.value.exportHtml(resContent.html);
|
||||
if (
|
||||
@@ -776,7 +781,7 @@ const alertSave = async () => {
|
||||
};
|
||||
const publish = async () => {
|
||||
const initInfo =
|
||||
"<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/>";
|
||||
"<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/><br/>";
|
||||
if (form.exchange_title == "") {
|
||||
uni.showToast({
|
||||
title: "请输入标题",
|
||||
@@ -1325,7 +1330,7 @@ onLoad(() => {
|
||||
}
|
||||
#editor {
|
||||
padding: 0 30rpx;
|
||||
height: calc(100vh - 600rpx);
|
||||
height: calc(100vh - 700rpx);
|
||||
}
|
||||
#editorRes {
|
||||
min-height: 300rpx;
|
||||
|
||||
Reference in New Issue
Block a user