34 lines
26 KiB
TypeScript
34 lines
26 KiB
TypeScript
export const DEMO_TEMPLATE_ID = 'tpl_default_surgery';
|
||
|
||
export const DEMO_DEFAULT_REPORT_CONTENT = "\n<div style=\"display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 4px;\">\n <span class=\"image-placeholder\" data-placeholder=\"true\" contenteditable=\"false\" data-mode=\"manual\" style=\"display:inline-block;text-align:center;width:65px;height:65px;line-height:65px;border:1px dashed #cbd5e1;background:#f8fafc;vertical-align:middle;margin:0 4px;cursor:pointer;position:relative;transform:translate(-5px,-5px);\">\n <span class=\"delete-btn\" contenteditable=\"false\">×</span>\n <span class=\"placeholder-text\" style=\"color:#94a3b8;font-size:11px;pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:block;width:100%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;\">LOGO</span>\n </span>\n <div style=\"text-align: center;\">\n <div style=\"font-size: 14pt; font-family: SimSun; border-bottom: 1px solid #000; padding-bottom: 1px; margin-bottom: 2px; display: inline-block; line-height: 1;\">西 安 交 通 大 学 第 一 附 属 医 院</div>\n <div style=\"font-size: 16pt; font-family: SimSun;\">手术记录</div>\n </div>\n</div>\n\n<p style=\"font-family: SimSun; font-size: 11pt; font-weight: normal; margin: 0; padding: 0; line-height: 1; border-bottom: 1px solid #000;\">\n 姓名:<span class=\"smart-field-wrapper\" contenteditable=\"false\" style=\"white-space:nowrap;position:relative;\"><span class=\"field-value no-underline\" data-bind=\"patientName\" contenteditable=\"true\" style=\"min-width:24px;padding:0 2px;margin:0;border:1px solid #cbd5e1;border-radius:2px;display:inline-block;background:#f8fafc;color:#0f172a;line-height:inherit;font-size:inherit;vertical-align:baseline;box-sizing:border-box;outline:none;text-align:center;\"> </span><span class=\"delete-btn\" contenteditable=\"false\">×</span></span>​ \n 性别:<span class=\"smart-field-wrapper\" contenteditable=\"false\" style=\"white-space:nowrap;position:relative;\"><span class=\"field-value no-underline\" data-bind=\"patientGender\" contenteditable=\"true\" style=\"min-width:24px;padding:0 2px;margin:0;border:1px solid #cbd5e1;border-radius:2px;display:inline-block;background:#f8fafc;color:#0f172a;line-height:inherit;font-size:inherit;vertical-align:baseline;box-sizing:border-box;outline:none;text-align:center;\"> </span><span class=\"delete-btn\" contenteditable=\"false\">×</span></span>​ \n 年龄:<span class=\"smart-field-wrapper\" contenteditable=\"false\" style=\"white-space:nowrap;position:relative;\"><span class=\"field-value no-underline\" data-bind=\"patientAge\" contenteditable=\"true\" style=\"min-width:24px;padding:0 2px;margin:0;border:1px solid #cbd5e1;border-radius:2px;display:inline-block;background:#f8fafc;color:#0f172a;line-height:inherit;font-size:inherit;vertical-align:baseline;box-sizing:border-box;outline:none;text-align:center;\"> </span><span class=\"delete-btn\" contenteditable=\"false\">×</span></span>​ \n 科别:<span class=\"smart-field-wrapper\" contenteditable=\"false\" style=\"white-space:nowrap;position:relative;\"><span class=\"field-value no-underline\" data-bind=\"department\" contenteditable=\"true\" style=\"min-width:24px;padding:0 2px;margin:0;border:1px solid #cbd5e1;border-radius:2px;display:inline-block;background:#f8fafc;color:#0f172a;line-height:inherit;font-size:inherit;vertical-align:baseline;box-sizing:border-box;outline:none;text-align:center;\"> </span><span class=\"delete-btn\" contenteditable=\"false\">×</span></span>​ \n 床号:<span class=\"smart-field-wrapper\" contenteditable=\"false\" style=\"white-space:nowrap;position:relative;\"><span class=\"field-value no-underline\" data-bind=\"bedNumber\" contenteditable=\"true\" style=\"min-width:24px;padding:0 2px;margin:0;border:1px solid #cbd5e1;border-radius:2px;display:inline-block;background:#f8fafc;color:#0f172a;line-height:inherit;font-size:inherit;vertical-align:baseline;box-sizing:border-box;outline:none;text-align:center;\"> </span><span class=\"delete-btn\" contenteditable=\"false\">×</span></span>​ \n 住院号:<span class=\"smart-field-wrapper\" contenteditable=\"false\" style=\"white-space:nowrap;position:relative;\"><span class=\"field-value no-underline\" data-bind=\"hospitalId\" contenteditable=\"true\" style=\"min-width:24px;padding:0 2px;margin:0;border:1px solid #cbd5e1;border-radius:2px;display:inline-block;background:#f8fafc;color:#0f172a;line-height:inherit;font-size:inherit;vertical-align:baseline;box-sizing:border-box;outline:none;text-align:center;\"> </span><span class=\"delete-btn\" contenteditable=\"false\">×</span></span>​\n</p>\n\n<p style=\"font-family: SimSun; font-size: 12pt; line-height: 1.5; margin: 0; padding: 0;\">\n <strong>手术日期:</strong><span class=\"smart-field-wrapper\" contenteditable=\"false\" style=\"white-space:nowrap;position:relative;\"><span class=\"field-value no-underline\" data-bind=\"surgeryDate\" contenteditable=\"true\" style=\"min-width:24px;padding:0 2px;margin:0;border:1px solid #cbd5e1;border-radius:2px;display:inline-block;background:#f8fafc;color:#0f172a;line-height:inherit;font-size:inherit;vertical-align:baseline;box-sizing:border-box;outline:none;text-align:center;\"> </span><span class=\"delete-btn\" contenteditable=\"false\">×</span></span>​\n</p>\n<p style=\"font-family: SimSun; font-size: 12pt; line-height: 1.5; margin: 0; padding: 0;\">\n <strong>术前诊断:</strong><span class=\"smart-field-wrapper\" contenteditable=\"false\" style=\"white-space:nowrap;position:relative;\"><span class=\"field-value no-underline\" data-bind=\"preoperativeDiagnosis\" contenteditable=\"true\" style=\"min-width:24px;padding:0 2px;margin:0;border:1px solid #cbd5e1;border-radius:2px;display:inline-block;background:#f8fafc;color:#0f172a;line-height:inherit;font-size:inherit;vertical-align:baseline;box-sizing:border-box;outline:none;text-align:center;\"> </span><span class=\"delete-btn\" contenteditable=\"false\">×</span></span>​\n</p>\n<p style=\"font-family: SimSun; font-size: 12pt; line-height: 1.5; margin: 0; padding: 0;\">\n <strong>术中诊断:</strong><span class=\"smart-field-wrapper\" contenteditable=\"false\" style=\"white-space:nowrap;position:relative;\"><span class=\"field-value no-underline\" data-bind=\"postoperativeDiagnosis\" contenteditable=\"true\" style=\"min-width:24px;padding:0 2px;margin:0;border:1px solid #cbd5e1;border-radius:2px;display:inline-block;background:#f8fafc;color:#0f172a;line-height:inherit;font-size:inherit;vertical-align:baseline;box-sizing:border-box;outline:none;text-align:center;\"> </span><span class=\"delete-btn\" contenteditable=\"false\">×</span></span>​\n</p>\n<p style=\"font-family: SimSun; font-size: 12pt; line-height: 1.5; margin: 0; padding: 0;\">\n <strong>手术名称:</strong><span class=\"smart-field-wrapper\" contenteditable=\"false\" style=\"white-space:nowrap;position:relative;\"><span class=\"field-value no-underline\" data-bind=\"title\" contenteditable=\"true\" style=\"min-width:24px;padding:0 2px;margin:0;border:1px solid #cbd5e1;border-radius:2px;display:inline-block;background:#f8fafc;color:#0f172a;line-height:inherit;font-size:inherit;vertical-align:baseline;box-sizing:border-box;outline:none;text-align:center;\"> </span><span class=\"delete-btn\" contenteditable=\"false\">×</span></span>​\n</p>\n\n<table style=\"width: 100%; border: none; font-family: SimSun; font-size: 12pt; margin-top: 0; margin-bottom: 0;\">\n <tr>\n <td style=\"border: none; padding: 0; width: 50%; line-height: 1.5;\">手术开始时间:<span class=\"smart-field-wrapper\" contenteditable=\"false\" style=\"white-space:nowrap;position:relative;\"><span class=\"field-value no-underline\" data-bind=\"startTime\" contenteditable=\"true\" style=\"min-width:24px;padding:0 2px;margin:0;border:1px solid #cbd5e1;border-radius:2px;display:inline-block;background:#f8fafc;color:#0f172a;line-height:inherit;font-size:inherit;vertical-align:baseline;box-sizing:border-box;outline:none;text-align:center;\"> </span><span class=\"delete-btn\" contenteditable=\"false\">×</span></span>​</td>\n <td style=\"border: none; padding: 0; width: 50%; line-height: 1.5;\">手术终止时间:<span class=\"smart-field-wrapper\" contenteditable=\"false\" style=\"white-space:nowrap;position:relative;\"><span class=\"field-value no-underline\" data-bind=\"endTime\" contenteditable=\"true\" style=\"min-width:24px;padding:0 2px;margin:0;border:1px solid #cbd5e1;border-radius:2px;display:inline-block;background:#f8fafc;color:#0f172a;line-height:inherit;font-size:inherit;vertical-align:baseline;box-sizing:border-box;outline:none;text-align:center;\"> </span><span class=\"delete-btn\" contenteditable=\"false\">×</span></span>​</td>\n </tr>\n <tr>\n <td style=\"border: none; padding: 0; line-height: 1.5;\">手术者:<span class=\"smart-field-wrapper\" contenteditable=\"false\" style=\"white-space:nowrap;position:relative;\"><span class=\"field-value no-underline\" data-bind=\"surgeon\" contenteditable=\"true\" style=\"min-width:24px;padding:0 2px;margin:0;border:1px solid #cbd5e1;border-radius:2px;display:inline-block;background:#f8fafc;color:#0f172a;line-height:inherit;font-size:inherit;vertical-align:baseline;box-sizing:border-box;outline:none;text-align:center;\"> </span><span class=\"delete-btn\" contenteditable=\"false\">×</span></span>​</td>\n <td style=\"border: none; padding: 0; line-height: 1.5;\">助手:<span class=\"smart-field-wrapper\" contenteditable=\"false\" style=\"white-space:nowrap;position:relative;\"><span class=\"field-value no-underline\" data-bind=\"assistant\" contenteditable=\"true\" style=\"min-width:24px;padding:0 2px;margin:0;border:1px solid #cbd5e1;border-radius:2px;display:inline-block;background:#f8fafc;color:#0f172a;line-height:inherit;font-size:inherit;vertical-align:baseline;box-sizing:border-box;outline:none;text-align:center;\"> </span><span class=\"delete-btn\" contenteditable=\"false\">×</span></span>​</td>\n </tr>\n <tr>\n <td style=\"border: none; padding: 0; line-height: 1.5;\">麻醉师:<span class=\"smart-field-wrapper\" contenteditable=\"false\" style=\"white-space:nowrap;position:relative;\"><span class=\"field-value no-underline\" data-bind=\"anesthesiologist\" contenteditable=\"true\" style=\"min-width:24px;padding:0 2px;margin:0;border:1px solid #cbd5e1;border-radius:2px;display:inline-block;background:#f8fafc;color:#0f172a;line-height:inherit;font-size:inherit;vertical-align:baseline;box-sizing:border-box;outline:none;text-align:center;\"> </span><span class=\"delete-btn\" contenteditable=\"false\">×</span></span>​</td>\n <td style=\"border: none; padding: 0; line-height: 1.5;\">麻醉方式:<span class=\"smart-field-wrapper\" contenteditable=\"false\" style=\"white-space:nowrap;position:relative;\"><span class=\"field-value no-underline\" data-bind=\"anesthesiaType\" contenteditable=\"true\" style=\"min-width:24px;padding:0 2px;margin:0;border:1px solid #cbd5e1;border-radius:2px;display:inline-block;background:#f8fafc;color:#0f172a;line-height:inherit;font-size:inherit;vertical-align:baseline;box-sizing:border-box;outline:none;text-align:center;\"> </span><span class=\"delete-btn\" contenteditable=\"false\">×</span></span>​</td>\n </tr>\n</table>\n\n<p style=\"font-family: SimSun; font-size: 12pt; line-height: 1.5; margin: 0; padding: 0;\">\n <strong>手术步骤、术中出现的情况及处理:</strong>\n</p>\n\n<div class=\"ai-region\" data-ai-id=\"手术步骤\" data-ai-title=\"手术步骤、术中出现的情况及处理\" style=\"border: 1px dashed #3b82f6; padding: 16px 12px 12px; margin: 8px 0; position: relative; min-height: 60px; background: #f8fafc; border-radius: 6px;\">\n <div contenteditable=\"false\" style=\"position: absolute; top: -10px; right: 10px; background: #3b82f6; color: white; font-size: 10px; padding: 2px 8px; border-radius: 12px; z-index: 10; user-select: none;\">手术步骤、术中出现的情况及处理-AI可编辑区域</div>\n <div class=\"ai-content\" style=\"min-height: 20px;\"><p style=\"font-family: SimSun; font-size: 12pt; line-height: 1.5; margin: 0; padding: 0;\">1.患者仰卧位,麻醉成功后,常规消毒术野、铺无菌巾,于脐下穿刺建立CO2气腹,气腹压力为12mmHg,进镜探查无穿刺损伤,分别于剑突下2.0cm、右锁中线肋缘下2.0cm各点穿刺置穿刺器,插入相应手术器械。</p><p style=\"font-family: SimSun; font-size: 12pt; line-height: 1.5; margin: 0; padding: 0;\">2.腹腔镜探查:腹腔内无腹水形成,无明显粘连,肝脏色红质软,无明显结节硬化改变,胆囊大小约 cm× cm× cm,壁轻度水肿,张力可,胆囊三角解剖关系清楚,胆囊管及胆总管无明显扩张。胃、十二指肠、小肠、结肠、脾脏及盆腔未见明显异常。术中诊断:胆囊结石伴慢性胆囊炎。遂行腹腔镜胆囊切除术。</p><p style=\"font-family: SimSun; font-size: 12pt; line-height: 1.5; margin: 0; padding: 0;\">3.切除胆囊:钳夹胆囊颈部并解剖胆囊三角,游离出胆囊动脉及胆囊管,明确胆囊与胆总管的关系,距胆总管0.3cm处近端以一枚可吸收夹,远端夹一枚钛夹夹闭胆囊管,两夹间以剪刀剪断胆囊管,另用一枚可吸收夹夹闭胆囊动脉后离断。顺行游离胆囊浆膜,完整切除胆囊后装入标本袋取出。胆囊床严密止血并覆盖止血材料。</p><p style=\"font-family: SimSun; font-size: 12pt; line-height: 1.5; margin: 0; padding: 0;\">4.检查腹腔内无活动性出血及漏胆后,清点器械纱布无误,拔除腔镜器械,排出腹腔残余气体,缝合各刺孔,术毕。</p><p style=\"font-family: SimSun; font-size: 12pt; line-height: 1.5; margin: 0; padding: 0;\">5.手术顺利,麻醉满意。切除的标本经家属过目后送病理。术中出血约 ml,术中输血成分,输血量,是否有输血不良反应。</p></div>\n</div>\n\n<!-- 手术图片说明表格 -->\n<table style=\"width: 100%; border-collapse: collapse; margin: 20px 0; table-layout: fixed;\">\n <tbody><tr>\n <td style=\"width: 33%; text-align: center; padding: 10px; vertical-align: top; border: 1px solid #e2e8f0;\">\n <div class=\"image-placeholder\" data-placeholder=\"true\" contenteditable=\"false\" data-mode=\"frame\" style=\"position:relative;border: 1px dashed #cbd5e1; background: #f8fafc; width: 100%; height: 100%; max-width: 200px; max-height: 200px; min-height: 60px; margin: 0px auto; display: flex; align-items: center; justify-content: center; cursor: pointer;\">\n <span class=\"delete-btn\" contenteditable=\"false\">×</span>\n <span class=\"placeholder-text\" style=\"color:#94a3b8;font-size:11px;pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:block;width:100%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;\">插入/点击放置图片</span>\n </div>\n <p style=\"color: #64748b; font-size: 13px; margin: 0; padding: 0; line-height: 1.5;\">图A 腹腔镜探查</p>\n </td>\n <td style=\"width: 33%; text-align: center; padding: 10px; vertical-align: top; border: 1px solid #e2e8f0;\">\n <div class=\"image-placeholder\" data-placeholder=\"true\" contenteditable=\"false\" data-mode=\"frame\" style=\"position:relative;border: 1px dashed #cbd5e1; background: #f8fafc; width: 100%; height: 100%; max-width: 200px; max-height: 200px; min-height: 60px; margin: 0px auto; display: flex; align-items: center; justify-content: center; cursor: pointer;\">\n <span class=\"delete-btn\" contenteditable=\"false\">×</span>\n <span class=\"placeholder-text\" style=\"color:#94a3b8;font-size:11px;pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:block;width:100%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;\">插入/点击放置图片</span>\n </div>\n <p style=\"color: #64748b; font-size: 13px; margin: 0; padding: 0; line-height: 1.5;\">图B 胆囊管夹闭与离断</p>\n </td>\n <td style=\"width: 33%; text-align: center; padding: 10px; vertical-align: top; border: 1px solid #e2e8f0;\">\n <div class=\"image-placeholder\" data-placeholder=\"true\" contenteditable=\"false\" data-mode=\"frame\" style=\"position:relative;border: 1px dashed #cbd5e1; background: #f8fafc; width: 100%; height: 100%; max-width: 200px; max-height: 200px; min-height: 60px; margin: 0px auto; display: flex; align-items: center; justify-content: center; cursor: pointer;\">\n <span class=\"delete-btn\" contenteditable=\"false\">×</span>\n <span class=\"placeholder-text\" style=\"color:#94a3b8;font-size:11px;pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:block;width:100%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;\">插入/点击放置图片</span>\n </div>\n <p style=\"color: #64748b; font-size: 13px; margin: 0; padding: 0; line-height: 1.5;\">图C 胆囊动脉夹闭与离断</p>\n </td>\n </tr>\n <tr>\n <td style=\"width: 33%; text-align: center; padding: 10px; vertical-align: top; border: 1px solid #e2e8f0;\">\n <div class=\"image-placeholder\" data-placeholder=\"true\" contenteditable=\"false\" data-mode=\"frame\" style=\"position:relative;border: 1px dashed #cbd5e1; background: #f8fafc; width: 100%; height: 100%; max-width: 200px; max-height: 200px; min-height: 60px; margin: 0px auto; display: flex; align-items: center; justify-content: center; cursor: pointer;\">\n <span class=\"delete-btn\" contenteditable=\"false\">×</span>\n <span class=\"placeholder-text\" style=\"color:#94a3b8;font-size:11px;pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:block;width:100%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;\">插入/点击放置图片</span>\n </div>\n <p style=\"color: #64748b; font-size: 13px; margin: 0; padding: 0; line-height: 1.5;\">图D 胆囊剥离与床面止血</p>\n </td>\n <td style=\"width: 33%; text-align: center; padding: 10px; vertical-align: top; border: 1px solid #e2e8f0;\">\n <div class=\"image-placeholder\" data-placeholder=\"true\" contenteditable=\"false\" data-mode=\"frame\" style=\"position:relative;border: 1px dashed #cbd5e1; background: #f8fafc; width: 100%; height: 100%; max-width: 200px; max-height: 200px; min-height: 60px; margin: 0px auto; display: flex; align-items: center; justify-content: center; cursor: pointer;\">\n <span class=\"delete-btn\" contenteditable=\"false\">×</span>\n <span class=\"placeholder-text\" style=\"color:#94a3b8;font-size:11px;pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:block;width:100%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;\">插入/点击放置图片</span>\n </div>\n <p style=\"color: #64748b; font-size: 13px; margin: 0; padding: 0; line-height: 1.5;\">图E 胆囊取出与钛夹确认</p>\n </td>\n <td style=\"width: 33%; text-align: center; padding: 10px; vertical-align: top; border: 1px solid #e2e8f0;\">\n <div class=\"image-placeholder\" data-placeholder=\"true\" contenteditable=\"false\" data-mode=\"frame\" style=\"position:relative;border: 1px dashed #cbd5e1; background: #f8fafc; width: 100%; height: 100%; max-width: 200px; max-height: 200px; min-height: 60px; margin: 0px auto; display: flex; align-items: center; justify-content: center; cursor: pointer;\">\n <span class=\"delete-btn\" contenteditable=\"false\">×</span>\n <span class=\"placeholder-text\" style=\"color:#94a3b8;font-size:11px;pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:block;width:100%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;\">插入/点击放置图片</span>\n </div>\n <p style=\"color: #64748b; font-size: 13px; margin: 0; padding: 0; line-height: 1.5;\">图F 止血材料覆盖及检查</p>\n </td>\n </tr></tbody>\n</table>\n\n<div class=\"template-info-section\">\n <p style=\"font-family: SimSun; font-size: 12pt; line-height: 1.5; margin: 0; padding: 0;\">\n <strong>手术后情况</strong>:<span class=\"smart-field-wrapper\" contenteditable=\"false\" style=\"white-space:nowrap;position:relative;\"><span class=\"field-value no-underline\" data-bind=\"postOpCondition\" contenteditable=\"true\" style=\"min-width:24px;padding:0 2px;margin:0;border:1px solid #cbd5e1;border-radius:2px;display:inline-block;background:#f8fafc;color:#0f172a;line-height:inherit;font-size:inherit;vertical-align:baseline;box-sizing:border-box;outline:none;text-align:center;\"> </span><span class=\"delete-btn\" contenteditable=\"false\">×</span></span>​\n </p>\n \n <p style=\"font-family: SimSun; font-size: 12pt; line-height: 1.5; margin: 0; padding: 0;\">\n <strong>切除标本描述</strong>:<span class=\"smart-field-wrapper\" contenteditable=\"false\" style=\"white-space:nowrap;position:relative;\"><span class=\"field-value no-underline\" data-bind=\"specimenDescription\" contenteditable=\"true\" style=\"min-width:24px;padding:0 2px;margin:0;border:1px solid #cbd5e1;border-radius:2px;display:inline-block;background:#f8fafc;color:#0f172a;line-height:inherit;font-size:inherit;vertical-align:baseline;box-sizing:border-box;outline:none;text-align:center;\"> </span><span class=\"delete-btn\" contenteditable=\"false\">×</span></span>​\n </p>\n \n <p style=\"font-family: SimSun; font-size: 12pt; line-height: 1.5; margin: 0; padding: 0;\">\n <strong>是否送病理检查</strong>:<span class=\"smart-field-wrapper\" contenteditable=\"false\" style=\"white-space:nowrap;position:relative;\"><span class=\"field-value no-underline\" data-bind=\"pathologyCheck\" contenteditable=\"true\" style=\"min-width:24px;padding:0 2px;margin:0;border:1px solid #cbd5e1;border-radius:2px;display:inline-block;background:#f8fafc;color:#0f172a;line-height:inherit;font-size:inherit;vertical-align:baseline;box-sizing:border-box;outline:none;text-align:center;\"> </span><span class=\"delete-btn\" contenteditable=\"false\">×</span></span>​\n </p>\n \n <p style=\"font-family: SimSun; font-size: 12pt; line-height: 1.5; margin: 0; padding: 0;\">\n <strong>冰冻病理结果</strong>:<span class=\"smart-field-wrapper\" contenteditable=\"false\" style=\"white-space:nowrap;position:relative;\"><span class=\"field-value no-underline\" data-bind=\"frozenPathology\" contenteditable=\"true\" style=\"min-width:24px;padding:0 2px;margin:0;border:1px solid #cbd5e1;border-radius:2px;display:inline-block;background:#f8fafc;color:#0f172a;line-height:inherit;font-size:inherit;vertical-align:baseline;box-sizing:border-box;outline:none;text-align:center;\"> </span><span class=\"delete-btn\" contenteditable=\"false\">×</span></span>​\n </p>\n \n <p style=\"text-align: right; font-family: SimSun; font-size: 12pt; line-height: 1.5; margin: 0; padding: 0; white-space: nowrap;\">\n 手术者签名:<span class=\"image-placeholder\" data-placeholder=\"true\" contenteditable=\"false\" data-mode=\"manual\" style=\"display:inline-block;text-align:center;width:200px;height:40px;line-height:40px;border:1px dashed #cbd5e1;background:#f8fafc;vertical-align:middle;margin:0 4px;cursor:pointer;position:relative;\"><span class=\"delete-btn\" contenteditable=\"false\">×</span><span class=\"placeholder-text\" style=\"color:#94a3b8;font-size:11px;pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:block;width:100%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;\">插入/点击放置图片</span></span>\n </p>\n \n <p style=\"margin: 0; padding: 0; line-height: 1.5;\"> </p>\n \n <p style=\"text-align: right; font-family: SimSun; line-height: 1.5; margin: 0; padding: 0;\">\n <span class=\"smart-field-wrapper\" contenteditable=\"false\" style=\"white-space:nowrap;position:relative;\"><span class=\"field-value no-underline\" data-bind=\"reportDate\" contenteditable=\"true\" style=\"min-width:24px;padding:0 2px;margin:0;border:1px solid #cbd5e1;border-radius:2px;display:inline-block;background:#f8fafc;color:#0f172a;line-height:inherit;font-size:inherit;vertical-align:baseline;box-sizing:border-box;outline:none;text-align:center;\"> </span><span class=\"delete-btn\" contenteditable=\"false\">×</span></span>​\n </p>\n</div>\n";
|
||
|
||
export const DEMO_AI_API_KEY = 'sk-2IAFn8ORoSdUcCxYX6DmXJWbH7BxftSSA8kN88mD1KUDTmkv';
|
||
|
||
export const DEMO_XF_SPEECH_CONFIG = {
|
||
appId: 'e0fe23e3',
|
||
apiKey: '7fd08be316718c2280e85af4fe126306',
|
||
apiSecret: 'ZGI5MjAzZDA0YzYwNDhjMWZiNTM2NDE0',
|
||
};
|
||
|
||
export const DEMO_SYSTEM_SETTINGS = {
|
||
frameCount: 12,
|
||
framePositions: [7.9, 9.3, 46.2, 49.1, 63.9, 64.8, 68.8, 73.7, 80.2, 85, 96.3, 98.6],
|
||
defaultTemplate: DEMO_TEMPLATE_ID,
|
||
frameMode: 'keep',
|
||
activeAiProvider: 'kimi',
|
||
aiProviders: {
|
||
kimi: {
|
||
endpoint: 'https://api.moonshot.cn/v1',
|
||
apiKey: DEMO_AI_API_KEY,
|
||
modelName: 'moonshot-v1-32k',
|
||
},
|
||
deepseek: { endpoint: 'https://api.deepseek.com/v1', apiKey: '', modelName: 'deepseek-chat' },
|
||
openai: { endpoint: 'https://api.openai.com/v1', apiKey: '', modelName: 'gpt-4o' },
|
||
custom: { endpoint: '', apiKey: '', modelName: '' },
|
||
},
|
||
autoInsertFrames: true,
|
||
autoInsertDelay: 1,
|
||
autoInsertFrameIndices: [0, 2, 4, 6, 8, 10],
|
||
xfSpeechConfig: DEMO_XF_SPEECH_CONFIG,
|
||
};
|