(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c0c01d9c"],{"07ac":function(e,t,i){var r=i("23e7"),o=i("6f53").values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},"14ec":function(e,t,i){},17842:function(e,t,i){"use strict";i.r(t);var r,o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"midd-page"},[i("div",{staticClass:"header"},[i("div",{staticClass:"h_left"},[i("p",{staticClass:"current-doc"},[i("strong",[e._v("当前文献")]),e._v(": "),i("span",{staticStyle:{color:"#97a8be"}},[e._v(e._s(e.firstForm.currentDocument))])]),i("div",{staticClass:"search-box"},[i("p",[i("strong",[e._v("所属标签")]),e._v(": "),e._l(e.firstForm.tag,(function(t,r){return i("el-tag",{key:r,style:0!==r?"margin-left: 5px;":"",attrs:{type:""}},[e._v(" "+e._s(t)+" ")])}))],2)])])]),i("el-table",{staticStyle:{width:"100%"},attrs:{data:e.firstTableData}},[i("el-table-column",{attrs:{label:"项目",prop:"name",filters:e.firstForm.projectFilters,"filter-method":e.firstFilterProject,"filter-placement":"bottom-end",width:"140"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.isEdit?i("el-input",{model:{value:t.row.name,callback:function(i){e.$set(t.row,"name",i)},expression:"scope.row.name"}}):i("span",[e._v(e._s(t.row.name))])]}}])}),i("el-table-column",{attrs:{label:"说明",prop:"description"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.isEdit?i("el-input",{model:{value:t.row.description,callback:function(i){e.$set(t.row,"description",i)},expression:"scope.row.description"}}):i("span",[e._v(e._s(t.row.description))])]}}])}),i("el-table-column",{attrs:{label:"范例",prop:"example"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.isEdit?i("el-input",{model:{value:t.row.example,callback:function(i){e.$set(t.row,"example",i)},expression:"scope.row.example"}}):i("span",[e._v(" "+e._s(t.row.example)+" "),i("i",{staticClass:"el-icon-edit",staticStyle:{cursor:"pointer","margin-left":"5px"},on:{click:function(i){return e.openExampleDialog(t.row)}}})])]}}])}),i("el-table-column",{attrs:{label:"模型生成1",prop:"generation_1","class-name":"model-gen-1"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.isEdit?i("el-input",{model:{value:t.row.generation_1,callback:function(i){e.$set(t.row,"generation_1",i)},expression:"scope.row.generation_1"}}):i("span",[e._v(" "+e._s(t.row.generation_1)+" "),i("i",{staticClass:"el-icon-refresh",staticStyle:{cursor:"pointer","margin-left":"5px"},on:{click:function(i){return e.openModel1Dialog(t.row)}}})])]}}])}),i("el-table-column",{attrs:{label:"模型生成2",prop:"generation_2","class-name":"model-gen-2"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.isEdit?i("el-input",{model:{value:t.row.generation_2,callback:function(i){e.$set(t.row,"generation_2",i)},expression:"scope.row.generation_2"}}):i("span",[e._v(" "+e._s(t.row.generation_2)+" "),i("i",{staticClass:"el-icon-refresh",staticStyle:{cursor:"pointer","margin-left":"5px"},on:{click:function(i){return e.openModel2Dialog(t.row)}}})])]}}])}),i("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-dropdown",{attrs:{trigger:"click"},scopedSlots:e._u([{key:"dropdown",fn:function(){return[i("el-dropdown-menu",[t.row.isEdit?e._e():i("el-dropdown-item",{nativeOn:{click:function(i){return e.firstHandleEdit(t.$index,t.row)}}},[i("i",{staticClass:"el-icon-edit"}),e._v(" 编辑 ")]),t.row.isEdit?i("el-dropdown-item",{nativeOn:{click:function(i){return e.firstHandleSave(t.$index,t.row)}}},[i("i",{staticClass:"el-icon-check"}),e._v(" 保存 ")]):e._e(),i("el-dropdown-item",{nativeOn:{click:function(i){return e.firstHandleDelete(t.$index,t.row)}}},[i("i",{staticClass:"el-icon-delete"}),e._v(" 删除 ")])],1)]},proxy:!0}],null,!0)},[i("el-button",{staticClass:"operation-button",staticStyle:{"font-size":"15px","margin-left":"10px"},attrs:{type:"text",size:"small",circle:"",icon:"el-icon-more"}})],1)]}}])})],1),i("el-button",{staticStyle:{"margin-top":"20px"},attrs:{type:"primary"},on:{click:e.firstHandleAdd}},[e._v("新增行")]),i("el-dialog",{attrs:{visible:e.dialogVisible,title:"编辑范例",width:"30%"},on:{"update:visible":function(t){e.dialogVisible=t}},scopedSlots:e._u([{key:"footer",fn:function(){return[i("span",{staticClass:"dialog-footer"},[i("el-button",{on:{click:function(t){e.dialogVisible=!1}}},[e._v("取消")]),i("el-button",{attrs:{type:"primary"},on:{click:e.saveExample}},[e._v("确定")])],1)]},proxy:!0}])},[i("el-input",{attrs:{type:"textarea",rows:4},model:{value:e.currentExample,callback:function(t){e.currentExample=t},expression:"currentExample"}})],1),i("el-dialog",{attrs:{visible:e.firstForm.dialogVisible,title:"内容更新",width:"40%"},on:{"update:visible":function(t){return e.$set(e.firstForm,"dialogVisible",t)}},scopedSlots:e._u([{key:"footer",fn:function(){return[i("span",{staticClass:"dialog-footer"},[i("el-button",{on:{click:e.generateContent}},[e._v("生成内容")]),i("el-button",{on:{click:function(t){e.firstForm.dialogVisible=!1}}},[e._v("取消")]),i("el-button",{attrs:{type:"primary"},on:{click:e.firstSaveExample}},[e._v("确定")])],1)]},proxy:!0}])},[i("el-form",{attrs:{model:e.firstForm.firstAiForm,"label-width":"120px"}},[i("el-form-item",{attrs:{label:"应用"}},[i("el-select",{attrs:{placeholder:"请选择应用",disabled:""},model:{value:e.firstForm.firstAiForm.application,callback:function(t){e.$set(e.firstForm.firstAiForm,"application",t)},expression:"firstForm.firstAiForm.application"}},[i("el-option",{attrs:{label:"应用1",value:"app1"}}),i("el-option",{attrs:{label:"应用2",value:"app2"}})],1)],1),i("el-form-item",{attrs:{label:"MAX-token数"}},[i("el-input-number",{attrs:{min:1,max:1e3,placeholder:"请输入字数限制"},model:{value:e.firstForm.firstAiForm.wordCount,callback:function(t){e.$set(e.firstForm.firstAiForm,"wordCount",t)},expression:"firstForm.firstAiForm.wordCount"}})],1),i("el-form-item",{attrs:{label:"说明"}},[i("el-input",{attrs:{type:"textarea",rows:2,placeholder:"请输入说明"},model:{value:e.firstForm.firstAiForm.description,callback:function(t){e.$set(e.firstForm.firstAiForm,"description",t)},expression:"firstForm.firstAiForm.description"}})],1),i("el-form-item",{attrs:{label:"提示词"}},[i("el-input",{attrs:{type:"textarea",rows:3,placeholder:"请输入提示词"},model:{value:e.firstForm.firstAiForm.prompt,callback:function(t){e.$set(e.firstForm.firstAiForm,"prompt",t)},expression:"firstForm.firstAiForm.prompt"}})],1),i("el-form-item",{attrs:{label:"生成内容"}},[i("el-input",{attrs:{type:"textarea",rows:4,readonly:""},model:{value:e.firstForm.firstAiForm.modelValue,callback:function(t){e.$set(e.firstForm.firstAiForm,"modelValue",t)},expression:"firstForm.firstAiForm.modelValue"}})],1)],1)],1)],1)},a=[],n=i("ade3"),s=i("3835"),l=i("2909"),c=i("c7eb"),d=i("1da1"),p=(i("a4d3"),i("e01a"),i("4de4"),i("caad"),i("d81d"),i("a434"),i("b0c0"),i("4fad"),i("b64b"),i("d3b7"),i("07ac"),i("6062"),i("2532"),i("3ca3"),i("ddb0"),i("db6a")),u={name:"MiddPage",data:function(){return{activeName:"first",firstForm:{tableData:[],workTypeFilters:[{text:"类型1",value:"type1"},{text:"类型2",value:"type2"},{text:"类型3",value:"type3"}],projectFilters:[],activeFilters:{workType:[],project:[]},dialogVisible:!1,firstAiForm:{application:"",wordCount:100,description:"",prompt:"",modelValue:""},currentDocument:"AED数据表",tag:[],searchQuery:"",currentPage:1,pageSize:10,total:3},dialogVisible:!1,currentExample:"",currentRow:null}},computed:{firstTableData:function(){var e=this;return this.firstForm.tableData.filter((function(t){return(!e.firstForm.activeFilters.workType.length||e.firstForm.activeFilters.workType.includes(t.workType))&&(!e.firstForm.activeFilters.project.length||e.firstForm.activeFilters.project.includes(t.project))}))}},created:function(){this.updateProjectFilters()},mounted:function(){this.firstForm.currentDocument=this.$route.query.name,this.firstForm.tag=JSON.parse(this.$route.query.tag),this.firstInit()},methods:(r={openExampleDialog:function(e){this.dialogVisible=!0,this.currentExample=e.example,this.currentRow=e},saveExample:function(){this.currentRow&&(this.currentRow.example=this.currentExample),this.dialogVisible=!1},firstHandleUpload:function(e,t){var i=this.getUpdatedContent(t);this.$set(t,"model1",i.model1),this.$set(t,"model2",i.model2),this.$message({type:"success",message:"内容已更新"})},openModel1Dialog:function(e){this.firstForm.firstAiForm.application="app1",this.firstForm.firstAiForm.description=e.description,this.firstForm.dialogVisible=!0},openModel2Dialog:function(e){this.firstForm.firstAiForm.application="app2",this.firstForm.firstAiForm.description=e.description,this.firstForm.dialogVisible=!0},getUpdatedContent:function(e){return{model1:"更新后的模型1内容",model2:"更新后的模型2内容"}},generateContent:function(){var e=this;return Object(d["a"])(Object(c["a"])().mark((function t(){var i;return Object(c["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.yourApiCall({application:e.firstForm.firstAiForm.application,wordCount:e.firstForm.firstAiForm.wordCount,description:e.firstForm.firstAiForm.description,prompt:e.firstForm.firstAiForm.prompt});case 3:i=t.sent,e.firstForm.firstAiForm.modelValue=i.data,t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](0),e.$message.error("生成内容失败");case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))()},firstSaveExample:function(){this.firstForm.dialogVisible=!1}},Object(n["a"])(Object(n["a"])(Object(n["a"])(Object(n["a"])(Object(n["a"])(Object(n["a"])(Object(n["a"])(Object(n["a"])(Object(n["a"])(Object(n["a"])(r,"firstHandleUpload",(function(e,t){this.firstForm.dialogVisible=!0})),"firstHandleEdit",(function(e,t){console.log(e),t.isEdit=!0})),"firstHandleSave",(function(e,t){t.isEdit=!1,this.updateProjectFilters()})),"firstHandleDelete",(function(e,t){this.firstForm.tableData.splice(e,1),this.updateProjectFilters()})),"firstHandleAdd",(function(){this.firstForm.tableData.push({workType:"",project:"",description:"",example:"",isEdit:!0})})),"firstFilterWorkType",(function(e,t){return t.workType===e})),"firstFilterProject",(function(e,t){return t.project===e})),"updateProjectFilters",(function(){var e=Object(l["a"])(new Set(this.firstForm.tableData.map((function(e){return e.project}))));this.projectFilters=e.map((function(e){return{text:e,value:e}}))})),"handleSearch",(function(){var e=this.firstForm.searchQuery.toLowerCase(),t=this.firstForm.tableData.filter((function(t){return Object.values(t).some((function(t){return String(t).toLowerCase().includes(e)}))}));this.total=t.length})),"handleSearchClear",(function(){this.firstForm.searchQuery="",this.handleSearch()})),Object(n["a"])(Object(n["a"])(Object(n["a"])(Object(n["a"])(r,"handleSizeChange",(function(e){this.firstForm.pageSize=e,this.handleSearch()})),"handleCurrentChange",(function(e){this.firstForm.currentPage=e,this.handleSearch()})),"handleClick",(function(){})),"firstInit",(function(){var e=this;return Object(d["a"])(Object(c["a"])().mark((function t(){var i,r,o;return Object(c["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(p["q"])({id:e.$route.query.id});case 2:i=t.sent,r={identifier:{description:"SOTA-Xx-Xx",example:"文献唯一标识符"},literature_type:{description:"1-Meta-Analysis 2-Systematic Review(Systematic Review有非常严格的检索、选择、评价标准)3-Review4-Randomized Controlled Trials5-Cohort Study6-Case-Report7-Background Information/Expert Opinion8-Animal Research/Lab Studies可以从文献的:标题(1,2在标题出现的概率高),abstract,method中识别文献类型",example:"第一作者"},first_author:{description:"overall_quality",example:""},study_design:{description:"可以从文献的method部分提取实验设计/方法可以是Randomized controlled方式.文献搜索,数据库提取文献,干预分组……",example:"searched Medline, Embase, the Web of Science, and the Cochrane Library for randomized trials and observational studies"},population:{description:"Population information; including: patient quantify(N, N of male/female); age(mean,range) Adult/children eg:60 adults with T1D (mean age 38years), 20 male",example:"Type II Diabetes: n=10282 Age: ≥18 years; Naive to CGM; Between 2017 to 2019"},region_country:{description:"患者/试验者的人种,国家地区,以查阅是否存在数据上人种差异",example:"white non-hispanic: n=247; african american:n=25; hispanic or latino: n=34"},indication:{description:"器械在文献中使用的适应症,按照器械分析,也需要添加器械使用部位以区分",example:"t1d: n=191;t2d: n=152;"},intervention:{description:"Group 1: xx; Group 2: xx 写清对照组和实验组分组的情况,如:有无干预,分适应症,分部位……",example:"CGM(N=XX) vs. SMBG(N=XX); CGM (N=XX) vs. venous blood glucose test(N=XX); CGM+SMBG(N=XX) vs. SMBG(N=XX)"},subject_device:{description:"Device name + model name 如无,可写疗法(以评价的器械所用疗法为主)",example:"Dexcom G6(此处为CGM器械名字)"},alternative_device:{description:"Device name + model name 如无,可写疗法(以评价的器械的替代疗法)",example:"Capillary blood by BMG; Venous blood by YSI (此处为CGM的替代疗法)"},outcomes:{description:"Scope: tools (follow-up); such as 'Pain: VAS (day 3)'",example:"a1c;tir;tbr;tar"},risk_adverse_event:{description:"Type of side effect",example:"Serious Hypoglycemia (SH);Diabetic Ketoacidosis (DKA)"},follow_up:{description:"随访时间",example:"8 weeks"},clinical_benefit:{description:"临床收益(文献中提到研究器械的好处,或者可以达到什么效果,可以摘抄过来可以从result,discussion中提取detailed can be refer to MEDDEV 2.7.1 rev4,b. Evaluation of the device’s benefits to the patient",example:"the pediatric age span who used a CGM have improved glycemic control compared with patients who did patients who use insulin pumps along with CGM did achieve a lower HbA1c and better CGM metrics compared with the reference groups."},disadvantage:{description:"临床劣势(文献中提到研究器械的劣势,比如在什么情况下疗效不好)eg:导致出血,导致uncomfortable,导致预后不好……可以从result,discussion中提取",example:"/"},conclusion:{description:"结论",example:"CGM use was associated with a lower HbA1c in both MDI and pump users. Pump use was only associated with a lower HbA1c if used with CGM. HCL was associated with the lowest HbA1c. Spanish language and minority race/ethnicity were associated with lower rates of pump and CGM use, highlighting the need to reduce disparities."},clinical_guidelines:{description:"识别文献中提到的临床实践指南",example:""},clinical_background:{description:"描述有关器械的临床背景,包括发展的概述等",example:""},medical_field:{description:"识别该器械是用于哪个医疗领域?例如骨科,外科,牙科,放射诊断等,包括已确定的医疗领域的历史方面的概述",example:""},associated_conditions:{description:"1 讨论该设备拟治疗的疾病的所有方面,包括但不限于流行病学、发病机制、临床表现和共病2 临床条件的描述,如:2.1 自然病程和结果。2.2 医疗条件是否有不同的临床方式、阶段和严重性。2.3 总体人群中的频率,通过年龄、性别、种族划分,熟悉的诱因、遗传方面等。",example:""},suitability_criteria:{description:"D1 Actual device D2 Equivalent device D3 Other device A1 Same use A2 Minor deviation A3 Major deviation P1 Applicable P2 Limited P3 Different population R1 High quality R2 Minor deficiencies R3 Insufficient information",example:"D2,A1,P1,R1"},contribution_criteria:{description:"1 Yes; 2 No T:Was the design of the study appropriate? O:Do the outcome measures reported reflect the intended purpose of the device? F:Is the duration of the follow-up long enough to access whether duration of treatment effects and identify complications? S:Has a statistical analysis of the data been provided and is it appropriate? C:Was the magnitude of the treatment effect observed clinically significant? ",example:"T1,O1,F1,S1,C1"},oxford_evidence:{description:"根据Literature type,对照Oxford Centre for Evidence-Based Medicine, Levels of Evidence (2011)填写基本level 1:Systematic review of randomized trials level 2:Randomized trial or observational study level 3:Non-randomized controlled cohort/follow-upstudy (PMS) level 4:Case report level 5:Mechanism-based reasoning",example:"level 2"},overall_quality:{description:"将前面数字加起来的总和 9-14 Accepted and Pivotal 15-23 Accepted but not Pivotal 24-27 Excluded",example:"12"}},o=Object.entries(i.data.data.datalist).filter((function(e){var t=Object(s["a"])(e,1),i=t[0];return!["id","create_time","update_time"].includes(i)})).map((function(e){var t,i,o=Object(s["a"])(e,1),a=o[0];return{name:a,isEdit:!1,description:(null===(t=r[a])||void 0===t?void 0:t.description)||"",example:(null===(i=r[a])||void 0===i?void 0:i.example)||"",generation_1:"",generation_2:""}})),e.firstForm.tableData=o;case 6:case"end":return t.stop()}}),t)})))()}))),watch:{tableData:{handler:function(){this.updateProjectFilters()},deep:!0}}},f=u,m=(i("7c54"),i("2877")),h=Object(m["a"])(f,o,a,!1,null,"3ef88c38",null);t["default"]=h.exports},"4fad":function(e,t,i){var r=i("23e7"),o=i("6f53").entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},"6f53":function(e,t,i){var r=i("83ab"),o=i("df75"),a=i("fc6a"),n=i("d1e7").f,s=function(e){return function(t){var i,s=a(t),l=o(s),c=l.length,d=0,p=[];while(c>d)i=l[d++],r&&!n.call(s,i)||p.push(e?[i,s[i]]:s[i]);return p}};e.exports={entries:s(!0),values:s(!1)}},"7c54":function(e,t,i){"use strict";i("14ec")}}]);