(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-05ac60d6"],{"16d2":function(t,r,e){"use strict";var n=e("037d"),o=e("05a5"),a=e("a143"),u=e("05d7"),c=e("ca7c"),i=e("311e"),s=e("a33e"),d=e("eb5b"),m=e("0761"),f=TypeError,l=m((function(){[].keys().reduce((function(){}),void 0)})),b=!l&&s("reduce",f);n({target:"Iterator",proto:!0,real:!0,forced:l||b},{reduce:function(t){u(this);try{a(t)}catch(m){i(this,"throw",m)}var r=arguments.length<2,e=r?void 0:arguments[1];if(b)return d(b,this,r?[t]:[t,e]);var n=c(this),s=0;if(o(n,(function(n){r?(r=!1,e=n):e=t(e,n,s),s++}),{IS_RECORD:!0}),r)throw new f("Reduce of empty iterator with no initial value");return e}})},"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 c})),e.d(r,"Vb",(function(){return i})),e.d(r,"kc",(function(){return s})),e.d(r,"Nb",(function(){return d})),e.d(r,"Ub",(function(){return m})),e.d(r,"D",(function(){return f})),e.d(r,"gb",(function(){return l})),e.d(r,"oc",(function(){return b})),e.d(r,"fb",(function(){return p})),e.d(r,"E",(function(){return h})),e.d(r,"rb",(function(){return O})),e.d(r,"cc",(function(){return v})),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 S})),e.d(r,"L",(function(){return T})),e.d(r,"u",(function(){return w})),e.d(r,"S",(function(){return L})),e.d(r,"Mb",(function(){return C})),e.d(r,"xb",(function(){return I})),e.d(r,"O",(function(){return x})),e.d(r,"G",(function(){return A})),e.d(r,"gc",(function(){return D})),e.d(r,"Eb",(function(){return B})),e.d(r,"q",(function(){return N})),e.d(r,"lb",(function(){return P})),e.d(r,"N",(function(){return U})),e.d(r,"wb",(function(){return M})),e.d(r,"o",(function(){return q})),e.d(r,"U",(function(){return E})),e.d(r,"Ib",(function(){return Q})),e.d(r,"Rb",(function(){return R})),e.d(r,"X",(function(){return _})),e.d(r,"Qb",(function(){return z})),e.d(r,"v",(function(){return H})),e.d(r,"nb",(function(){return J})),e.d(r,"w",(function(){return F})),e.d(r,"W",(function(){return V})),e.d(r,"Pb",(function(){return Y})),e.d(r,"Sb",(function(){return G})),e.d(r,"Y",(function(){return K})),e.d(r,"x",(function(){return W})),e.d(r,"ob",(function(){return X})),e.d(r,"Zb",(function(){return Z})),e.d(r,"db",(function(){return $})),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 ct})),e.d(r,"wc",(function(){return it})),e.d(r,"Ab",(function(){return st})),e.d(r,"Q",(function(){return dt})),e.d(r,"H",(function(){return mt})),e.d(r,"s",(function(){return ft})),e.d(r,"mb",(function(){return lt})),e.d(r,"P",(function(){return bt})),e.d(r,"zb",(function(){return pt})),e.d(r,"j",(function(){return ht})),e.d(r,"l",(function(){return Ot})),e.d(r,"T",(function(){return vt})),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 St})),e.d(r,"sc",(function(){return Tt})),e.d(r,"vc",(function(){return wt})),e.d(r,"yc",(function(){return Lt})),e.d(r,"uc",(function(){return Ct})),e.d(r,"xc",(function(){return It})),e.d(r,"rc",(function(){return xt})),e.d(r,"qc",(function(){return At})),e.d(r,"Xb",(function(){return Dt})),e.d(r,"cb",(function(){return Bt})),e.d(r,"I",(function(){return Nt})),e.d(r,"z",(function(){return Pt})),e.d(r,"qb",(function(){return Ut})),e.d(r,"bb",(function(){return Mt})),e.d(r,"Wb",(function(){return qt})),e.d(r,"mc",(function(){return Et})),e.d(r,"ab",(function(){return Qt})),e.d(r,"Jb",(function(){return Rt})),e.d(r,"Kb",(function(){return _t})),e.d(r,"d",(function(){return zt})),e.d(r,"e",(function(){return Ht})),e.d(r,"R",(function(){return Jt})),e.d(r,"Hb",(function(){return Ft})),e.d(r,"Fb",(function(){return Vt})),e.d(r,"Lb",(function(){return Yt})),e.d(r,"jc",(function(){return Gt})),e.d(r,"F",(function(){return Kt})),e.d(r,"n",(function(){return Wt})),e.d(r,"m",(function(){return Xt})),e.d(r,"vb",(function(){return Zt})),e.d(r,"fc",(function(){return $t})),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 cr})),e.d(r,"M",(function(){return ir})),e.d(r,"g",(function(){return sr})),e.d(r,"f",(function(){return dr})),e.d(r,"h",(function(){return mr})),e.d(r,"ub",(function(){return fr})),e.d(r,"Ob",(function(){return lr})),e.d(r,"Db",(function(){return br})),e.d(r,"tb",(function(){return pr})),e.d(r,"ac",(function(){return hr})),e.d(r,"pc",(function(){return Or})),e.d(r,"lc",(function(){return vr})),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 Sr})),e.d(r,"p",(function(){return Tr})),e.d(r,"b",(function(){return wr})),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 c(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 s(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 f(t){return Object(n["a"])({url:"/smartor/outicd10/add",method:"post",data:t})}function l(t){return Object(n["a"])({url:"/smartor/outicd10/remove/"+t,method:"get"})}function b(t){return Object(n["a"])({url:"/smartor/assort/selectIvrLibaTargetAssortList",method:"post",data:t})}function p(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 O(t){return Object(n["a"])({url:"/smartor/assort/edit",method:"post",data:t})}function v(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 S(t){return Object(n["a"])({url:"/smartor/script/selectInfoByCondition",method:"post",data:t})}function T(t){return Object(n["a"])({url:"/smartor/scriptassort/edit",method:"post",data:t})}function w(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 C(t){return Object(n["a"])({url:"/smartor/scriptassort/selectIvrLibaScriptAssortList",method:"post",data:t})}function I(t){return Object(n["a"])({url:"/smartor/template/list",method:"post",data:t})}function x(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 D(t){return Object(n["a"])({url:"/smartor/template/selectInfoByCondition",method:"post",data:t})}function B(t){return Object(n["a"])({url:"/smartor/ivrTaskTemplate/getTemplateInfoByID/"+t,method:"get"})}function N(t){return Object(n["a"])({url:"/smartor/templateassort/addtree",method:"post",data:t})}function P(t){return Object(n["a"])({url:"/smartor/templateassort/edit",method:"post",data:t})}function U(t){return Object(n["a"])({url:"/smartor/templateassort/remove/"+t,method:"get"})}function M(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 E(t){return Object(n["a"])({url:"/smartor/ivrTaskTemplate/remove/"+t,method:"get"})}function Q(t){return Object(n["a"])({url:"/smartor/ivrTaskTemplate/getInfo/"+t,method:"get"})}function R(t){return Object(n["a"])({url:"/smartor/extemplate/list",method:"post",data:t})}function _(t){return Object(n["a"])({url:"/smartor/extemplate/remove/"+t,method:"get"})}function z(t){return Object(n["a"])({url:"/smartor/extemplate/"+t,method:"get"})}function H(t){return Object(n["a"])({url:"/smartor/extemplate/add",method:"post",data:t})}function J(t){return Object(n["a"])({url:"/smartor/extemplate/edit",method:"post",data:t})}function F(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 Y(t){return Object(n["a"])({url:"/smartor/category/list",method:"post",data:t})}function G(t){return Object(n["a"])({url:"/smartor/extemplatescript/list",method:"post",data:t})}function K(t){return Object(n["a"])({url:"/smartor/extemplatescript/remove/"+t,method:"get"})}function W(t){return Object(n["a"])({url:"/smartor/extemplatescript/add",method:"post",data:t})}function X(t){return Object(n["a"])({url:"/smartor/extemplatescript/edit",method:"post",data:t})}function Z(t){return Object(n["a"])({url:"/smartor/library/list",method:"post",data:t})}function $(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 ct(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 st(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 ft(t){return Object(n["a"])({url:"/smartor/svyLibTemplateCategory/addtree",method:"post",data:t})}function lt(t){return Object(n["a"])({url:"/smartor/svyLibTemplateCategory/edit",method:"post",data:t})}function bt(t){return Object(n["a"])({url:"/smartor/svyLibTemplateCategory/remove/"+t,method:"get"})}function pt(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 Ot(t){return Object(n["a"])({url:"/smartor/svytemplateTask/saveOrUpdateTaskTemp",method:"post",data:t})}function vt(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 St(t){return Object(n["a"])({url:"/smartor/td/remove/"+t,method:"get"})}function Tt(t){return Object(n["a"])({url:"/smartor/taskdept/remove/"+t,method:"get"})}function wt(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 Ct(t){return Object(n["a"])({url:"/smartor/taskdiag/list",method:"post",data:t})}function It(t){return Object(n["a"])({url:"/smartor/taskoper/list",method:"post",data:t})}function xt(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 Dt(t){return Object(n["a"])({url:"/smartor/svyscript/list",method:"post",data:t})}function Bt(t){return Object(n["a"])({url:"/smartor/svyscript/remove/"+t,method:"get"})}function Nt(t){return Object(n["a"])({url:"/smartor/svyscript/saveOrUpdateScript",method:"post",data:t})}function Pt(t){return Object(n["a"])({url:"/smartor/svyLibScriptCategory/addtree",method:"post",data:t})}function Ut(t){return Object(n["a"])({url:"/smartor/svyLibScriptCategory/edit",method:"post",data:t})}function Mt(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 Et(t){return Object(n["a"])({url:"/smartor/serviceExternal/query360PatInfo",method:"post",data:t})}function Qt(t){return Object(n["a"])({url:"/smartor/serviceSubtask/remove/"+t,method:"get"})}function Rt(t){return Object(n["a"])({url:"/smartor/patarchive/getPatientInfo",method:"post",data:t})}function _t(t){return Object(n["a"])({url:"/smartor/patarchive/getPatientInfoQC",method:"post",data:t})}function zt(t){return Object(n["a"])({url:"/smartor/serviceSubtask/insertOrUpdateTask",method:"post",data:t})}function Ht(t){return Object(n["a"])({url:"/smartor/serviceSubtask/update",method:"post",data:t})}function Jt(t){return Object(n["a"])({url:"/smartor/servicetask/remove/"+t,method:"get"})}function Ft(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 Yt(t){return Object(n["a"])({url:"/smartor/serviceSubtask/patItem",method:"post",data:t})}function Gt(t){return Object(n["a"])({url:"/smartor/serviceSubtask/getSubtaskByDiagname",method:"post",data:t})}function Kt(t){return Object(n["a"])({url:"/smartor/serviceSubtask/patItemByCondition",method:"post",data:t})}function Wt(t){return Object(n["a"])({url:"/smartor/ivrTaskTemplate/saveOrUpdateTempScript",method:"post",data:t})}function Xt(t){return Object(n["a"])({url:"/smartor/commonTask/taskSend",method:"post",data:t})}function Zt(t){return Object(n["a"])({url:"/smartor/servicetask/getScriptInfoByCondition",method:"post",data:t})}function $t(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 cr(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 sr(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 fr(t){return Object(n["a"])({url:"/smartor/patouthosp/selectPatMedOuthospCount",method:"post",data:t})}function lr(t){return Object(n["a"])({url:"/smartor/patinhosp/selectPatMedInhospListCount",method:"post",data:t})}function br(t){return Object(n["a"])({url:"/smartor/serviceSubtask/getServiceStatistics",method:"post",data:t})}function pr(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 Or(t){return Object(n["a"])({url:"/sms/send",method:"post",data:t})}e("c38a");function vr(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 Sr(t){return Object(n["a"])({url:"/smartor/subtaskAnswer/saveMYDQuestionAnswer",method:"post",data:t})}function Tr(t){return Object(n["a"])({url:"/getDept/"+t,method:"get"})}function wr(){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})}},8081:function(t,r,e){"use strict";var n=e("037d"),o=e("c598").left,a=e("ee33"),u=e("3404"),c=e("fcfb"),i=!c&&u>79&&u<83,s=i||!a("reduce");n({target:"Array",proto:!0,forced:s},{reduce:function(t){var r=arguments.length;return o(this,t,r,r>1?arguments[1]:void 0)}})},a381:function(t,r,e){},bb91: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:"indexanalysis"},[e("div",{staticClass:"analysis-top"},[e("div",{staticClass:"title-top"},[t._v("查询条件")]),e("div",{staticClass:"value"},[e("el-form",{ref:"form",attrs:{model:t.queryParams,"label-width":"120px"}},[e("el-form-item",{attrs:{label:"选择指标名称"}},[e("el-select",{attrs:{remote:"","remote-method":t.remoteMethod,"default-first-option":"",filterable:"",placeholder:"请选择"},on:{change:t.Labelstatistics},model:{value:t.targetvalue,callback:function(r){t.targetvalue=r},expression:"targetvalue"}},t._l(t.targetList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.targetname,value:t.id}})})),1)],1)],1)],1)]),e("div",{staticClass:"formindex"},[e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData,"span-method":t.objectSpanMethod,border:"","summary-method":t.getSummaries,"show-summary":""}},[e("el-table-column",{attrs:{prop:"targetname",label:"指标名称"}}),e("el-table-column",{attrs:{prop:"targetShowCount",label:"指标出现次数"}}),e("el-table-column",{attrs:{prop:"matchedtext",label:"单项名称"}}),e("el-table-column",{attrs:{prop:"count",label:"单项选中次数"}}),e("el-table-column",{attrs:{prop:"percentage",label:"占比"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("span",[t._v(t._s((100*Number(r.row.percentage)).toFixed(2))+"%")])]}}])})],1)],1)])},o=[],a=(e("2f82"),e("6678"),e("8081"),e("6e70"),e("d3c0"),e("c33f"),e("21b9"),e("16d2"),e("4a55"),e("cfee"),e("aad4"),e("40d6")),u={name:"indexanalysis",data:function(){return{targetList:[{value:"选项1",label:"发热有无"},{value:"选项2",label:"咳嗽有无"},{value:"选项3",label:"服药后不良反应"}],tableData:[{date:"发热有无",name:"有",address:1,times:2,proportion:"50"},{date:"发热有无",name:"无",address:1,times:2,proportion:"50"},{date:"发热有无",name:"其他",address:0,times:2,proportion:"0"}],targetvalue:"",queryParams:{pageNum:1,pageSize:66,scriptType:"1"}}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.loading=!0,Object(a["dc"])(this.queryParams).then((function(r){t.targetList=r.rows,t.Labelstatistics(r.rows[0].id)}))},Labelstatistics:function(t){var r=this;console.log(t,"id"),Object(a["i"])(t).then((function(e){e.data.length>0?r.tableData=e.data:Object(a["dc"])({id:t}).then((function(t){console.log(t,"替换展示值"),r.tableData=[],t.rows[0].targetoptionList.forEach((function(e){r.tableData.push({targetname:t.rows[0].targetname,targetShowCount:0,count:0,percentage:0,matchedtext:e.targetvalue})}))})),r.loading=!1}))},remoteMethod:function(t){var r=this,e={pageNum:1,pageSize:66,targetname:t,scriptType:"1"};setTimeout((function(){Object(a["dc"])(e).then((function(t){r.targetList=t.rows}))}),200)},objectSpanMethod:function(t){t.row,t.column;var r=t.rowIndex,e=t.columnIndex;if(0===e||1===e){var n=this.tableData.length;return 0===r?[n,1]:[0,0]}},getSummaries:function(t){var r=t.columns,e=t.data,n=[];return r.forEach((function(t,r){if(console.log(e,"data"),0!==r)if("percentage"===t.property){var o=e.map((function(r){return Number(r[t.property])})),a=o.reduce((function(t,r){var e=Number(r);return isNaN(e)?t:t+e}),0);n[r]="".concat(100*a,"%")}else if("targetShowCount"===t.property)n[r]=e[0].targetShowCount+" 次";else{var u=e.map((function(r){return Number(r[t.property])}));u.every((function(t){return isNaN(t)}))?n[r]="/":(n[r]=u.reduce((function(t,r){var e=Number(r);return isNaN(e)?t:t+r}),0),"count"===t.property&&(n[r]+=" 次"))}else n[r]="合计"})),n}}},c=u,i=(e("bc01"),e("1805")),s=Object(i["a"])(c,n,o,!1,null,"71bfe74f",null);r["default"]=s.exports},bc01:function(t,r,e){"use strict";e("a381")},c598:function(t,r,e){"use strict";var n=e("a143"),o=e("ba03"),a=e("8308"),u=e("4e61"),c=TypeError,i="Reduce of empty array with no initial value",s=function(t){return function(r,e,s,d){var m=o(r),f=a(m),l=u(m);if(n(e),0===l&&s<2)throw new c(i);var b=t?l-1:0,p=t?-1:1;if(s<2)while(1){if(b in f){d=f[b],b+=p;break}if(b+=p,t?b<0:l<=b)throw new c(i)}for(;t?b>=0:l>b;b+=p)b in f&&(d=e(d,f[b],b,m));return d}};t.exports={left:s(!1),right:s(!0)}}}]);
|