WXL (wul)
8 小时以前 1feb410410781eb56159c8fdd856e68d2c23e0a4
1
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-267a3bde"],{"40d6":function(t,r,e){"use strict";e.d(r,"dc",(function(){return o})),e.d(r,"ec",(function(){return a})),e.d(r,"i",(function(){return u})),e.d(r,"V",(function(){return s})),e.d(r,"Vb",(function(){return i})),e.d(r,"kc",(function(){return c})),e.d(r,"Nb",(function(){return d})),e.d(r,"Ub",(function(){return m})),e.d(r,"D",(function(){return l})),e.d(r,"gb",(function(){return f})),e.d(r,"oc",(function(){return p})),e.d(r,"fb",(function(){return b})),e.d(r,"E",(function(){return h})),e.d(r,"rb",(function(){return v})),e.d(r,"cc",(function(){return O})),e.d(r,"zc",(function(){return j})),e.d(r,"ic",(function(){return g})),e.d(r,"hb",(function(){return y})),e.d(r,"K",(function(){return k})),e.d(r,"hc",(function(){return T})),e.d(r,"L",(function(){return S})),e.d(r,"u",(function(){return C})),e.d(r,"S",(function(){return L})),e.d(r,"Mb",(function(){return x})),e.d(r,"xb",(function(){return q})),e.d(r,"O",(function(){return w})),e.d(r,"G",(function(){return A})),e.d(r,"gc",(function(){return I})),e.d(r,"Eb",(function(){return R})),e.d(r,"q",(function(){return E})),e.d(r,"lb",(function(){return _})),e.d(r,"N",(function(){return B})),e.d(r,"wb",(function(){return D})),e.d(r,"o",(function(){return Q})),e.d(r,"U",(function(){return N})),e.d(r,"Ib",(function(){return U})),e.d(r,"Rb",(function(){return K})),e.d(r,"X",(function(){return P})),e.d(r,"Qb",(function(){return M})),e.d(r,"v",(function(){return z})),e.d(r,"nb",(function(){return F})),e.d(r,"w",(function(){return J})),e.d(r,"W",(function(){return V})),e.d(r,"Pb",(function(){return W})),e.d(r,"Sb",(function(){return H})),e.d(r,"Y",(function(){return X})),e.d(r,"x",(function(){return Z})),e.d(r,"ob",(function(){return G})),e.d(r,"Zb",(function(){return $})),e.d(r,"db",(function(){return Y})),e.d(r,"Yb",(function(){return tt})),e.d(r,"J",(function(){return rt})),e.d(r,"A",(function(){return et})),e.d(r,"y",(function(){return nt})),e.d(r,"pb",(function(){return ot})),e.d(r,"Z",(function(){return at})),e.d(r,"Tb",(function(){return ut})),e.d(r,"Bb",(function(){return st})),e.d(r,"wc",(function(){return it})),e.d(r,"Ab",(function(){return ct})),e.d(r,"Q",(function(){return dt})),e.d(r,"H",(function(){return mt})),e.d(r,"s",(function(){return lt})),e.d(r,"mb",(function(){return ft})),e.d(r,"P",(function(){return pt})),e.d(r,"zb",(function(){return bt})),e.d(r,"j",(function(){return ht})),e.d(r,"l",(function(){return vt})),e.d(r,"T",(function(){return Ot})),e.d(r,"Gb",(function(){return jt})),e.d(r,"ib",(function(){return gt})),e.d(r,"kb",(function(){return yt})),e.d(r,"tc",(function(){return kt})),e.d(r,"jb",(function(){return Tt})),e.d(r,"sc",(function(){return St})),e.d(r,"vc",(function(){return Ct})),e.d(r,"yc",(function(){return Lt})),e.d(r,"uc",(function(){return xt})),e.d(r,"xc",(function(){return qt})),e.d(r,"rc",(function(){return wt})),e.d(r,"qc",(function(){return At})),e.d(r,"Xb",(function(){return It})),e.d(r,"cb",(function(){return Rt})),e.d(r,"I",(function(){return Et})),e.d(r,"z",(function(){return _t})),e.d(r,"qb",(function(){return Bt})),e.d(r,"bb",(function(){return Dt})),e.d(r,"Wb",(function(){return Qt})),e.d(r,"mc",(function(){return Nt})),e.d(r,"ab",(function(){return Ut})),e.d(r,"Jb",(function(){return Kt})),e.d(r,"Kb",(function(){return Pt})),e.d(r,"d",(function(){return Mt})),e.d(r,"e",(function(){return zt})),e.d(r,"R",(function(){return Ft})),e.d(r,"Hb",(function(){return Jt})),e.d(r,"Fb",(function(){return Vt})),e.d(r,"Lb",(function(){return Wt})),e.d(r,"jc",(function(){return Ht})),e.d(r,"F",(function(){return Xt})),e.d(r,"n",(function(){return Zt})),e.d(r,"m",(function(){return Gt})),e.d(r,"vb",(function(){return $t})),e.d(r,"fc",(function(){return Yt})),e.d(r,"a",(function(){return tr})),e.d(r,"sb",(function(){return rr})),e.d(r,"k",(function(){return er})),e.d(r,"bc",(function(){return nr})),e.d(r,"yb",(function(){return or})),e.d(r,"r",(function(){return ar})),e.d(r,"C",(function(){return ur})),e.d(r,"t",(function(){return sr})),e.d(r,"M",(function(){return ir})),e.d(r,"g",(function(){return cr})),e.d(r,"f",(function(){return dr})),e.d(r,"h",(function(){return mr})),e.d(r,"ub",(function(){return lr})),e.d(r,"Ob",(function(){return fr})),e.d(r,"Db",(function(){return pr})),e.d(r,"tb",(function(){return br})),e.d(r,"ac",(function(){return hr})),e.d(r,"pc",(function(){return vr})),e.d(r,"lc",(function(){return Or})),e.d(r,"B",(function(){return jr})),e.d(r,"Ac",(function(){return gr})),e.d(r,"eb",(function(){return yr})),e.d(r,"Cb",(function(){return kr})),e.d(r,"nc",(function(){return Tr})),e.d(r,"p",(function(){return Sr})),e.d(r,"b",(function(){return Cr})),e.d(r,"c",(function(){return Lr}));var n=e("b775");function o(t){return Object(n["a"])({url:"/smartor/target/targetInfo",method:"post",data:t})}function a(t){return Object(n["a"])({url:"/smartor/target/saveOrupdateIvrLibaTarget",method:"post",data:t})}function u(t){return Object(n["a"])({url:"/smartor/serviceSubtaskDetail/countPatByTarget/"+t,method:"get"})}function s(t){return Object(n["a"])({url:"/smartor/target/remove/"+t,method:"get"})}function i(t){return Object(n["a"])({url:"/smartor/icd10/list",method:"post",data:t})}function c(t){return Object(n["a"])({url:"/smartor/icd10/getInfo/"+t,method:"get"})}function d(t){return Object(n["a"])({url:"/smartor/baseopera/list",method:"post",data:t})}function m(t){return Object(n["a"])({url:"/smartor/outicd10/list",method:"post",data:t})}function l(t){return Object(n["a"])({url:"/smartor/outicd10/add",method:"post",data:t})}function f(t){return Object(n["a"])({url:"/smartor/outicd10/remove/"+t,method:"get"})}function p(t){return Object(n["a"])({url:"/smartor/assort/selectIvrLibaTargetAssortList",method:"post",data:t})}function b(t){return Object(n["a"])({url:"/smartor/assort/remove/"+t,method:"get"})}function h(t){return Object(n["a"])({url:"/smartor/assort/addtree",method:"post",data:t})}function v(t){return Object(n["a"])({url:"/smartor/assort/edit",method:"post",data:t})}function O(t){return Object(n["a"])({url:"/smartor/target/list",method:"post",data:t})}function j(t){return Object(n["a"])({url:"/smartor/target/targetQuesMate",method:"post",data:t})}function g(t){return Object(n["a"])({url:"/smartor/script/list",method:"post",data:t})}function y(t){return Object(n["a"])({url:"/smartor/script/remove/"+t,method:"get"})}function k(t){return Object(n["a"])({url:"/smartor/script/saveOrUpdateScript",method:"post",data:t})}function T(t){return Object(n["a"])({url:"/smartor/script/selectInfoByCondition",method:"post",data:t})}function S(t){return Object(n["a"])({url:"/smartor/scriptassort/edit",method:"post",data:t})}function C(t){return Object(n["a"])({url:"/smartor/scriptassort/addtree",method:"post",data:t})}function L(t){return Object(n["a"])({url:"/smartor/scriptassort/remove/"+t,method:"get"})}function x(t){return Object(n["a"])({url:"/smartor/scriptassort/selectIvrLibaScriptAssortList",method:"post",data:t})}function q(t){return Object(n["a"])({url:"/smartor/template/list",method:"post",data:t})}function w(t){return Object(n["a"])({url:"/smartor/template/remove/"+t,method:"get"})}function A(t){return Object(n["a"])({url:"/smartor/template/saveOrUpdateScript",method:"post",data:t})}function I(t){return Object(n["a"])({url:"/smartor/template/selectInfoByCondition",method:"post",data:t})}function R(t){return Object(n["a"])({url:"/smartor/ivrTaskTemplate/getTemplateInfoByID/"+t,method:"get"})}function E(t){return Object(n["a"])({url:"/smartor/templateassort/addtree",method:"post",data:t})}function _(t){return Object(n["a"])({url:"/smartor/templateassort/edit",method:"post",data:t})}function B(t){return Object(n["a"])({url:"/smartor/templateassort/remove/"+t,method:"get"})}function D(t){return Object(n["a"])({url:"/smartor/templateassort/selectIvrLibaTemplateAssortList",method:"post",data:t})}function Q(t){return Object(n["a"])({url:"/smartor/ivrTaskTemplate/saveOrUpdateTempScript",method:"post",data:t})}function N(t){return Object(n["a"])({url:"/smartor/ivrTaskTemplate/remove/"+t,method:"get"})}function U(t){return Object(n["a"])({url:"/smartor/ivrTaskTemplate/getInfo/"+t,method:"get"})}function K(t){return Object(n["a"])({url:"/smartor/extemplate/list",method:"post",data:t})}function P(t){return Object(n["a"])({url:"/smartor/extemplate/remove/"+t,method:"get"})}function M(t){return Object(n["a"])({url:"/smartor/extemplate/"+t,method:"get"})}function z(t){return Object(n["a"])({url:"/smartor/extemplate/add",method:"post",data:t})}function F(t){return Object(n["a"])({url:"/smartor/extemplate/edit",method:"post",data:t})}function J(t){return Object(n["a"])({url:"/smartor/category/add",method:"post",data:t})}function V(t){return Object(n["a"])({url:"/smartor/category/remove/"+t,method:"get"})}function W(t){return Object(n["a"])({url:"/smartor/category/list",method:"post",data:t})}function H(t){return Object(n["a"])({url:"/smartor/extemplatescript/list",method:"post",data:t})}function X(t){return Object(n["a"])({url:"/smartor/extemplatescript/remove/"+t,method:"get"})}function Z(t){return Object(n["a"])({url:"/smartor/extemplatescript/add",method:"post",data:t})}function G(t){return Object(n["a"])({url:"/smartor/extemplatescript/edit",method:"post",data:t})}function $(t){return Object(n["a"])({url:"/smartor/library/list",method:"post",data:t})}function Y(t){return Object(n["a"])({url:"/smartor/library/remove/"+t,method:"get"})}function tt(t){return Object(n["a"])({url:"/smartor/library/selectInfoByCondition",method:"post",data:t})}function rt(t){return Object(n["a"])({url:"/smartor/library/saveOrUpdateHeLibrary",method:"post",data:t})}function et(t){return Object(n["a"])({url:"/common/htmlContent",method:"post",data:t})}function nt(t){return Object(n["a"])({url:"/smartor/heLibraryAssort/addtree",method:"post",data:t})}function ot(t){return Object(n["a"])({url:"/smartor/heLibraryAssort/edit",method:"post",data:t})}function at(t){return Object(n["a"])({url:"/smartor/heLibraryAssort/remove/"+t,method:"get"})}function ut(t){return Object(n["a"])({url:"/smartor/heLibraryAssort/selectHeLibraryAssortList",method:"post",data:t})}e("b8cc");function st(t){return Object(n["a"])({url:"/smartor/svyLibTemplate/selectSvyLibTemplatelist",method:"post",data:t})}function it(t){return Object(n["a"])({url:"smartor/svytemplateTask/selectInfoByCondition",method:"post",data:t})}function ct(t){return Object(n["a"])({url:"/smartor/svyLibTemplate/list",method:"get",params:t})}function dt(t){return Object(n["a"])({url:"/smartor/svyLibTemplate/remove/"+t,method:"get"})}function mt(t){return Object(n["a"])({url:"/smartor/svyLibTemplate/saveOrUpdateTemplate",method:"post",data:t})}function lt(t){return Object(n["a"])({url:"/smartor/svyLibTemplateCategory/addtree",method:"post",data:t})}function ft(t){return Object(n["a"])({url:"/smartor/svyLibTemplateCategory/edit",method:"post",data:t})}function pt(t){return Object(n["a"])({url:"/smartor/svyLibTemplateCategory/remove/"+t,method:"get"})}function bt(t){return Object(n["a"])({url:"/smartor/svyLibTemplateCategory/list",method:"post",data:t})}function ht(t){return Object(n["a"])({url:"/smartor/serviceSubtask/queryTaskByCondition",method:"post",data:t})}function vt(t){return Object(n["a"])({url:"/smartor/svytemplateTask/saveOrUpdateTaskTemp",method:"post",data:t})}function Ot(t){return Object(n["a"])({url:"/smartor/svytemplateTask/remove/"+t,method:"get"})}function jt(t){return Object(n["a"])({url:"/smartor/svytemplateTask/"+t,method:"get"})}function gt(t){return Object(n["a"])({url:"/smartor/td/add",method:"post",data:t})}function yt(t){return Object(n["a"])({url:"/smartor/td/list",method:"get",params:t})}function kt(t){return Object(n["a"])({url:"/smartor/taskdept/list",method:"post",data:t})}function Tt(t){return Object(n["a"])({url:"/smartor/td/remove/"+t,method:"get"})}function St(t){return Object(n["a"])({url:"/smartor/taskdept/remove/"+t,method:"get"})}function Ct(t){return Object(n["a"])({url:"/smartor/taskdiag/remove/".concat(t),method:"get"})}function Lt(t){return Object(n["a"])({url:"/smartor/taskoper/remove/".concat(t),method:"get"})}function xt(t){return Object(n["a"])({url:"/smartor/taskdiag/list",method:"post",data:t})}function qt(t){return Object(n["a"])({url:"/smartor/taskoper/list",method:"post",data:t})}function wt(t){return Object(n["a"])({url:"/smartor/serviceSubtaskDetail/editByCondition",method:"post",data:t})}function At(t){return Object(n["a"])({url:"/smartor/serviceSubtaskDetail/add",method:"post",data:t})}function It(t){return Object(n["a"])({url:"/smartor/svyscript/list",method:"post",data:t})}function Rt(t){return Object(n["a"])({url:"/smartor/svyscript/remove/"+t,method:"get"})}function Et(t){return Object(n["a"])({url:"/smartor/svyscript/saveOrUpdateScript",method:"post",data:t})}function _t(t){return Object(n["a"])({url:"/smartor/svyLibScriptCategory/addtree",method:"post",data:t})}function Bt(t){return Object(n["a"])({url:"/smartor/svyLibScriptCategory/edit",method:"post",data:t})}function Dt(t){return Object(n["a"])({url:"/smartor/svyLibScriptCategory/remove/"+t,method:"get"})}function Qt(t){return Object(n["a"])({url:"/smartor/svyLibScriptCategory/list",method:"post",data:t})}function Nt(t){return Object(n["a"])({url:"/smartor/serviceExternal/query360PatInfo",method:"post",data:t})}function Ut(t){return Object(n["a"])({url:"/smartor/serviceSubtask/remove/"+t,method:"get"})}function Kt(t){return Object(n["a"])({url:"/smartor/patarchive/getPatientInfo",method:"post",data:t})}function Pt(t){return Object(n["a"])({url:"/smartor/patarchive/getPatientInfoQC",method:"post",data:t})}function Mt(t){return Object(n["a"])({url:"/smartor/serviceSubtask/insertOrUpdateTask",method:"post",data:t})}function zt(t){return Object(n["a"])({url:"/smartor/serviceSubtask/update",method:"post",data:t})}function Ft(t){return Object(n["a"])({url:"/smartor/servicetask/remove/"+t,method:"get"})}function Jt(t){return Object(n["a"])({url:"/smartor/servicetask/list",method:"post",data:t})}function Vt(t){return Object(n["a"])({url:"/smartor/serviceSubtask/queryTaskByCondition",method:"post",data:t})}function Wt(t){return Object(n["a"])({url:"/smartor/serviceSubtask/patItem",method:"post",data:t})}function Ht(t){return Object(n["a"])({url:"/smartor/serviceSubtask/getSubtaskByDiagname",method:"post",data:t})}function Xt(t){return Object(n["a"])({url:"/smartor/serviceSubtask/patItemByCondition",method:"post",data:t})}function Zt(t){return Object(n["a"])({url:"/smartor/ivrTaskTemplate/saveOrUpdateTempScript",method:"post",data:t})}function Gt(t){return Object(n["a"])({url:"/smartor/commonTask/taskSend",method:"post",data:t})}function $t(t){return Object(n["a"])({url:"/smartor/servicetask/getScriptInfoByCondition",method:"post",data:t})}function Yt(t){return Object(n["a"])({url:"/smartor/outPath/getInfoByParam",method:"post",params:{param:t}})}function tr(t){return Object(n["a"])({url:"/smartor/subtaskAnswer/saveQuestionCache",method:"post",data:t})}function rr(t){return Object(n["a"])({url:"/smartor/subtaskAnswer/getQuestionCache",method:"post",data:t})}function er(t){return Object(n["a"])({url:"/smartor/subtaskAnswer/saveQuestionAnswer",method:"post",data:t})}function nr(t){return Object(n["a"])({url:"/smartor/subtaskAnswer/selectPatQuestionResult",method:"post",data:t})}function or(t){return Object(n["a"])({url:"/smartor/serviceSubtaskDetail/getPersonVoice",method:"post",data:t})}function ar(t){return Object(n["a"])({url:"/smartor/serviceSubtaskDetail/batchAdd",method:"post",data:t})}function ur(t){return Object(n["a"])({url:"/smartor/serviceSubtask/addSubTaskAgain",method:"post",data:t})}function sr(t){return Object(n["a"])({url:"/smartor/serviceSubtask/addSubTask",method:"post",data:t})}function ir(t){return Object(n["a"])({url:"/smartor/import/remove/"+t,method:"get"})}function cr(t){return Object(n["a"])({url:"/smartor/import/list",method:"post",data:t})}function dr(t){return Object(n["a"])({url:"/smartor/import/edit",method:"post",data:t})}function mr(t){return Object(n["a"])({url:"/smartor/import/getInfo/"+t,method:"get"})}function lr(t){return Object(n["a"])({url:"/smartor/patouthosp/selectPatMedOuthospCount",method:"post",data:t})}function fr(t){return Object(n["a"])({url:"/smartor/patinhosp/selectPatMedInhospListCount",method:"post",data:t})}function pr(t){return Object(n["a"])({url:"/smartor/serviceSubtask/getServiceStatistics",method:"post",data:t})}function br(t){return Object(n["a"])({url:"/smartor/patinhosp/getDeptRanking",method:"post",data:t})}function hr(t){return Object(n["a"])({url:"/smartor/organization/list",method:"get"})}function vr(t){return Object(n["a"])({url:"/sms/send",method:"post",data:t})}e("c38a");function Or(t){return Object(n["a"])({url:"/smartor/satisfaction/list",method:"post",data:t})}function jr(t){return Object(n["a"])({url:"/smartor/satisfaction/batchinsert",method:"post",data:t})}function gr(t){return Object(n["a"])({url:"/smartor/satisfaction/edit",method:"post",data:t})}function yr(t){return Object(n["a"])({url:"/smartor/satisfaction/remove/"+t,method:"get"})}function kr(t){return Object(n["a"])({url:"/smartor/servicetask/getScriptByCondition",method:"post",data:t})}function Tr(t){return Object(n["a"])({url:"/smartor/subtaskAnswer/saveMYDQuestionAnswer",method:"post",data:t})}function Sr(t){return Object(n["a"])({url:"/getDept/"+t,method:"get"})}function Cr(){return Object(n["a"])({url:"/smartor/ServiceTelInfo/getList",method:"get",params:{orgid:localStorage.getItem("orgid")}})}function Lr(t){return Object(n["a"])({url:"/smartor/ServiceTelInfo/setState",method:"get",params:t})}},5112:function(t,r,e){"use strict";e("6a91")},"6a91":function(t,r,e){},b30b:function(t,r,e){"use strict";e.r(r);var n=function(){var t=this,r=t.$createElement,e=t._self._c||r;return e("div",{staticClass:"questionnaire"},[t.accomplish?e("div",{staticClass:"CONTENT"},[e("div",{staticClass:"preview-lefts"},[e("div",{staticStyle:{"text-align":"center","padding-top":"50px","font-size":"24px",color:"#175997","font-weight":"600","margin-bottom":"10px"}},[t._v(" 感谢您的配合! ")]),e("div",{staticStyle:{"font-size":"20px"}},[t._v(" "+t._s(t.jsy?t.jsy:"生活上要劳逸结合,注意休息和营养,适当锻炼,戒烟限酒,保持心情舒畅,定期复诊。那本次回访就到这里,祝您身体健康!")+" ")])])]):e("div",{staticClass:"CONTENT"},[e("div",{staticClass:"preview-left"},[e("div",{staticClass:"toptitle"},[e("div",{staticClass:"title"},[t._v(t._s(t.taskname?t.taskname:"问卷"))]),e("div",{staticStyle:{"font-size":"22px","margin-bottom":"20px","line-height":"1.5"}},[t._v(" "+t._s(t.kcb?t.kcb:"亲爱的患者-家属,我们是"+t.localStorage.getItem("orgname")+"的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访问卷。")+" ")])]),e("el-divider"),t._l(t.questionList,(function(r,n){return e("div",{key:r.aaa,staticClass:"topic-dev"},[1==r.scriptType?e("div",{key:n,staticClass:"scriptTopic-dev"},[e("div",{staticClass:"dev-text"},[t._v(" "+t._s(n+1)+"、"),e("span",{staticStyle:{"line-height":"1.5"}},[t._v(t._s(r.scriptContent)+" "),e("span",{staticStyle:{color:"#3ba2f7"}},[t._v("[单选]")])])]),e("div",{staticClass:"dev-xx"},[e("el-radio-group",{staticClass:"custom-radio",on:{change:function(e){return t.handleOptionChange(e,n,r)}},model:{value:r.questionResult,callback:function(e){t.$set(r,"questionResult",e)},expression:"item.questionResult"}},t._l(r.ivrTaskScriptTargetoptionList,(function(n,o){return e("el-radio",{key:o,class:n.isabnormal&&r.questionResult==n.targetvalue?"red-star":"",attrs:{border:"",label:n.targetvalue}},[t._v(t._s(n.targetvalue))])})),1)],1),e("div",{directives:[{name:"show",rawName:"v-show",value:r.prompt,expression:"item.prompt"}]},[e("el-alert",{attrs:{title:r.prompt,type:"warning"}})],1)]):t._e(),2==r.scriptType?e("div",{key:n,staticClass:"scriptTopic-dev"},[e("div",{staticClass:"dev-text"},[t._v(" "+t._s(n+1)+"、"),e("span",{staticStyle:{"line-height":"1.5"}},[t._v(t._s(r.scriptContent)+" "),e("span",{staticStyle:{color:"#3ba2f7"}},[t._v("[多选]")])])]),e("div",{staticClass:"dev-xx"},[e("el-checkbox-group",{staticClass:"custom-radio",on:{change:function(e){return t.updateScore(e,n,r)}},model:{value:r.questionResult,callback:function(e){t.$set(r,"questionResult",e)},expression:"item.questionResult"}},t._l(r.ivrTaskScriptTargetoptionList,(function(r,n){return e("el-checkbox",{key:n,attrs:{border:"",label:r.targetvalue},on:{change:function(r){return t.$forceUpdate()}}},[t._v(" "+t._s(r.targetvalue)+" ")])})),1)],1),e("div",{directives:[{name:"show",rawName:"v-show",value:r.prompt&&r.questionResult[0],expression:"item.prompt && item.questionResult[0]"}]},[e("el-alert",{attrs:{title:r.prompt,type:"warning"}})],1)]):t._e(),4==r.scriptType||3==r.scriptType?e("div",{key:n,staticClass:"scriptTopic-dev"},[e("div",{staticClass:"dev-text"},[t._v(" "+t._s(n+1)+"、"),e("span",{staticStyle:{"line-height":"1.5"}},[t._v(t._s(r.scriptContent)),e("span",{staticStyle:{color:"#3ba2f7"}},[t._v("[问答]")])])]),e("div",{staticClass:"dev-xx"},[e("el-input",{attrs:{type:"textarea",rows:3,placeholder:"请输入答案",clearable:""},model:{value:r.questionResult,callback:function(e){t.$set(r,"questionResult",e)},expression:"item.questionResult"}})],1)]):t._e()])})),e("div",{staticClass:"bottom-fixed"},[e("el-button",{staticStyle:{width:"80%","font-size":"20px"},attrs:{type:"primary"},on:{click:function(r){return t.cache(!0)}}},[t._v("提交问卷")])],1)],2)])])},o=[],a=(e("9c42"),e("fb51"),e("6e70"),e("9493"),e("c33f"),e("8ada"),e("a26b"),e("4a55"),e("e795"),e("cfee"),e("a04b"),e("aad4"),e("f160"),e("8e97"),e("1b56"),e("661f"),e("40d6")),u=(e("b8cc"),e("1725")),s={data:function(){return{taskid:355,patid:265823,kcb:"",excep:"",taskname:"",questionList:[],jsy:null,dialogVisible:!1,Endornot:!0,accomplish:!1,publicKey:"MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAKR0yHv0rbJWQE+Sc7/FwpW66qMd9qX2k6z+SDgkSdxWh/1GbBoAP7bDQQRF6vXmoKsD2ya42H6XRLSDXAoayuMCAwEAAQ== ",privateKey:" MIIBUwIBADANBgkqhkiG9w0BAQEFAASCAT0wggE5AgEAAkEAtDOpbUQhcEoYy77agRhIHmAzs7H+KHJhN56gTTI9fWq23j77nI055MFV3oQQziIrNUTNaPpEQhZXBpI0+f9K9QIDAQABAkB3n0fcWfrcoMN/FU3VnrnZOEF6CzFNxkgU9P8y36QECWKZ9JhYQkNpKrMC9oXlN3VSaRigV7B+L/I/a0Rs1W+tAiEA4jx7xcXJ4y4BNwAmVHt6NNiEkzIwWnwC/0qsEu8NsOsCIQDL6MMn1D2uznC6OuOWpxDCkBh1JL1NzZTZeH2G+hj7nwIgKGAC9tjFnvWm4dn0/T7MIIJDpsFeP8fCAS2iZ/6hwuECIAS/eLvWr1EAsZNEh8QcQ8GkBU3E+ztyjAK8UX/xFt/VAiBf79/1tDErX4/DChecM8w3c3DhbBcjuE3fHZn7p6/UKg==",formData:{question1:"",question2:"",question3:""}}},mounted:function(){window.addEventListener("beforeunload",this.cache)},beforeDestroy:function(){window.removeEventListener("beforeunload",this.cache)},created:function(){this.geturlinfo()},methods:{geturlinfo:function(){var t=this,r=this.$route.query.p;console.log(445),Object(a["fc"])(r).then((function(r){200==r.code&&t.getQuestionnaire(r.data.param1,r.data.param2,r.data.param3,r.data.param5)}))},getQuestionnaire:function(t,r,e){var n=this;this.taskid=decodeURIComponent(t),this.patid=decodeURIComponent(r),Object(a["sb"])({param1:this.taskid,param2:this.patid}).then((function(t){if(200==t.code){if(n.questionList=t.data,n.accomplish=t.data.submit,n.questionList[0])return void n.questionList.forEach((function(t){t.questionResult&&2!=t.scriptType?t.questionResult=JSON.parse(t.questionResult):t.questionResult&&2==t.scriptType&&(t.questionResult=t.questionResult.split("&"))}));n.getExternalfollowup()}else n.getExternalfollowup()}))},getExternalfollowup:function(){var t=this;Object(a["vb"])({param1:this.taskid,param2:this.patid}).then((function(r){200==r.code&&(t.questionList=r.data.script,t.jsy=r.data.jsy,t.kcb=r.data.kcb,t.taskname=r.data.taskName,t.type=r.data.type,t.questionList.forEach((function(t){t.nextScriptno=Number(t.nextScriptno),2==t.scriptType&&(t.questionResult=[])})))}))},encrypt:function(t){var r=new u["a"];return r.setPublicKey(this.publicKey),r.encrypt(t)},decrypt:function(t){var r=new u["a"];return r.setPrivateKey(this.privateKey),r.decrypt(t)},submitForm:function(){var t=this,r={param1:this.taskid,param2:this.patid,excep:this.excep,type:this.type,serviceSubtaskDetailList:[]},e=structuredClone(this.questionList);r.serviceSubtaskDetailList=e,Object(a["k"])(r).then((function(r){200==r.code&&(t.jsy&&(t.dialogVisible=!0),t.accomplish=!0,t.$modal.msgSuccess("提交成功"))}))},cache:function(t){var r=this;console.log("进入缓存");var e={param1:this.taskid,param2:this.patid,type:this.type,ivrTaskTemplateScriptVOList:[]},n=structuredClone(this.questionList);console.log(n,"srr"),n.forEach((function(t,n){if(3!=t.scriptType&&4!=t.scriptType){var o=t.ivrTaskScriptTargetoptionList.find((function(r){return r.targetvalue==t.questionResult}));console.log(o,"isabnormal"),o.isabnormal&&(console.log(o.isabnormal),e.excep=1,r.excep=1)}})),n.forEach((function(t){2==t.scriptType&&t.questionResult[0]?t.questionResult=t.questionResult.join("&"):2!=t.scriptType&&t.questionResult&&(t.questionResult=JSON.stringify(t.questionResult))})),e.ivrTaskTemplateScriptVOList=n,Object(a["a"])(e).then((function(e){200==e.code&&t&&r.submitForm()}))},handleOptionChange:function(t,r,e){var n=e.ivrTaskScriptTargetoptionList.find((function(r){return r.targetvalue==t}));n&&(this.questionList[r].nextScriptno=n.nextQuestion,this.questionList[r].score=n.score,this.questionList[r].prompt=n.prompt)},updateScore:function(t,r,e){var n=0;t.forEach((function(t){var r=e.ivrTaskScriptTargetoptionList.find((function(r){return r.targetvalue==t}));r&&(n+=Number(r.score))})),this.questionList[r].score=n}}},i=s,c=(e("5112"),e("1805")),d=Object(c["a"])(i,n,o,!1,null,"2c446d02",null);r["default"]=d.exports}}]);