"use strict";var e=Object.defineProperty,t=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,n=(t,s,o)=>s in t?e(t,s,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[s]=o,a=require("../../../../../../common/vendor.js");const r=a.defineComponent({props:{data:{type:Object,default:()=>({})},messageData:{type:Object,default:()=>({})}},setup(e,r){const i=a.reactive({data:{},extension:{},isCustom:"",payload:{},message:{}});return a.watchEffect((()=>{i.data=e.data,i.message=e.messageData,i.isCustom=e.data.message.payload.data,i.payload=e.data.message.payload,i.extension=JSON.parse(e.data.message.payload.extension)})),((e,a)=>{for(var r in a||(a={}))s.call(a,r)&&n(e,r,a[r]);if(t)for(var r of t(a))o.call(a,r)&&n(e,r,a[r]);return e})({},a.toRefs(i))}});var i=a._export_sfc(r,[["render",function(e,t,s,o,n,r){return a.e({a:"order"===e.isCustom},"order"===e.isCustom?{b:a.t(e.extension.patientName),c:a.t(e.extension.sex),d:a.t(e.extension.mobile),e:a.t(e.extension.duration),f:a.t(e.extension.isVisit),g:a.t(e.extension.title)}:"prescribe"===e.isCustom?{i:a.t(e.extension.diagnose)}:"report"===e.isCustom||"follow"===e.isCustom||"drugReport"===e.isCustom?{}:"startInquiry"===e.isCustom?{n:a.t(e.extension.title),o:a.n("content content-"+e.message.flow)}:"finishInquiry"===e.isCustom?{q:a.t(e.extension.title),r:a.n("content content-"+e.message.flow)}:{s:a.t(e.data.custom),t:a.n("content content-"+e.message.flow)},{h:"prescribe"===e.isCustom,j:"report"===e.isCustom,k:"follow"===e.isCustom,l:"drugReport"===e.isCustom,m:"startInquiry"===e.isCustom,p:"finishInquiry"===e.isCustom})}],["__scopeId","data-v-2ef22366"]]);wx.createComponent(i);
