2 lines
904 KiB
JavaScript
2 lines
904 KiB
JavaScript
if("undefined"==typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(e){const t=this.constructor;return this.then((l=>t.resolve(e()).then((()=>l))),(l=>t.resolve(e()).then((()=>{throw l}))))}),"undefined"!=typeof uni&&uni&&uni.requireGlobal){const e=uni.requireGlobal();ArrayBuffer=e.ArrayBuffer,Int8Array=e.Int8Array,Uint8Array=e.Uint8Array,Uint8ClampedArray=e.Uint8ClampedArray,Int16Array=e.Int16Array,Uint16Array=e.Uint16Array,Int32Array=e.Int32Array,Uint32Array=e.Uint32Array,Float32Array=e.Float32Array,Float64Array=e.Float64Array,BigInt64Array=e.BigInt64Array,BigUint64Array=e.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(Vue,weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),function(e){"use strict";function t(e){return weex.requireModule(e)}function l(e,t,...l){uni.__log__?uni.__log__(e,t,...l):console[e].apply(console,[...l,t])}function a(e,t){return"string"==typeof e?t:e}const i=(t,l=0)=>(l,a=e.getCurrentInstance())=>{!e.isInSSRComponentSetup&&e.injectHook(t,l,a)},r=i("onShow",3),n=i("onHide",3),o=i("onLoad",2),c="/static/left.png",s=(e,t)=>{const l=e.__vccOpts||e;for(const[a,i]of t)l[a]=i;return l};const d=s({name:"ZyUpgrade",props:{theme:{type:String,default:"green"},updateurl:{type:String,default:""},h5preview:{type:Boolean,default:!1},oldversion:{type:String,default:""},oldcode:{type:Number,default:0},appstoreflag:{type:Boolean,default:!1},noticeflag:{type:Boolean,default:!1},autocheckupdate:{type:Boolean,default:!0}},data(){return{update_flag:!1,dshow:!1,update_process:0,downloadTask:[],updated2version:"",version_url:"",update_tips:"",forceupgrade:!1,currentversion:this.oldversion,versionname:"",vesioncode:this.oldcode,wgt_flag:0,wgt_url:"",size:0,header:{Authorization:uni.getStorageSync("token")||"token"}}},mounted(){let e=!1;e=!0,this.h5preview,this.autocheckupdate&&this.check_update()},computed:{version(){let e="";return e=this.currentversion+(""!=this.currentversion&&""!=this.updated2version?"->":"")+this.updated2version,e}},methods:{check_update(){let e=this;plus.runtime.getProperty(plus.runtime.appid,(function(t){e.currentversion=t.version,e.versionname=t.name,e.versioncode=t.versionCode,e.updatebusiness(e)}))},updatebusiness:function(e){uni.request({url:`https://www.focusnu.com/devopsapi/api/pad/versionUpdate?platform=1&version=${e.currentversion}`,method:"GET",dataType:"json",success:t=>{l("log","at component/zy-upgrade/zy-upgrade.vue:143","?????",t),404!==t.statusCode&&(100==t.data.code?t.data.data.update_url?(e.dshow=!0,e.update_tips=t.data.data.update_tips,e.forceupgrade=1==t.data.data.forceupdate,e.version_url=t.data.data.update_url,e.updated2version=t.data.data.version,e.wgt_flag=t.data.data.wgt_flag,e.wgt_url=t.data.data.wgt_url,e.size=t.data.data.size,e.getnewbanben()):e.noticeflag&&e.$emit("showupdateTips",0):uni.showToast({title:"请求升级出错:"+data.msg,icon:"none"}))},fail(){this.loading=!1}})},getnewbanben:function(){this.$emit("chuandinew",this.updated2version)},upgrade_checked:function(){uni.removeStorageSync("token"),this.update_flag=!0,this.updateversion()},upgrade_cancel:function(){this.dshow=!1},upgrade_break:function(){this.downloadTask.abort(),this.update_flag=!1},updateversion:function(){let e=this;if("ios"==uni.getSystemInfoSync().platform&&this.appstoreflag&&1!=e.wgt_flag)e.dshow=!1,plus.runtime.launchApplication({action:e.version_url},(function(e){uni.showToast({title:"打开appstore失败",icon:"none"})}));else{let e=this,t="https://www.focusnu.com/devopsapi/sys/common/static/"+(1==e.wgt_flag?e.wgt_url:e.version_url);this.update_confirm=!0,this.downloadTask=uni.downloadFile({url:t,header:this.header,success:function(e){l("log","at component/zy-upgrade/zy-upgrade.vue:226","!!!",e),200==e.statusCode?plus.runtime.install(e.tempFilePath,{force:!1},(function(){plus.runtime.restart()}),(function(e){l("error","at component/zy-upgrade/zy-upgrade.vue:235","install fail...",JSON.stringify(e)),uni.showToast({title:"升级失败",icon:"none"})})):uni.showToast({title:"下载失败,网络错误",icon:"none"})},fail:function(e){uni.showToast({title:"下载失败:"+e.errMsg,icon:"none"}),this.update_flag=!1},complete:function(){}}),this.downloadTask.onProgressUpdate((function(t){if(e.update_process=t.progress,t.progress==1/0){let l=t.totalBytesWritten/e.size*100;l>100&&(l=100),e.update_process=l}}))}}}},[["render",function(t,l,a,i,r,n){return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["zy-modal",r.dshow?"show":""])},[e.createElementVNode("view",{style:{position:"absolute",top:"150rpx",left:"940rpx","z-index":"9999"}},[e.createElementVNode("image",{style:{width:"300rpx",height:"400rpx",position:"absolute",top:"0rpx",left:"0rpx"},src:"/static/index/update/fly.png"})]),e.createElementVNode("view",{class:"zy-dialog",style:{"background-color":"#fff","border-radius":"40rpx"}},[e.createElementVNode("view",{style:{height:"400rpx",width:"100%",position:"relative"}},[e.createElementVNode("image",{style:{width:"1800rpx",height:"1600rpx",position:"absolute",top:"-370rpx",left:"-220rpx"},src:"/static/index/update/bgc.png"})]),e.createElementVNode("view",{class:e.normalizeClass("zy-upgrade-topbg-"+a.theme)},[e.createElementVNode("view",null,[e.createElementVNode("text",{class:"zy-upgrade-title"}," 发现新版本 ")]),e.createElementVNode("text",{class:"flex-wrap",style:{"margin-top":"10rpx"}},e.toDisplayString(n.version),1)],2),e.createElementVNode("view",{class:"padding-xl bg-white text-left"},[r.update_flag?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("scroll-view",{key:0,class:"scroll-box","scroll-y":"true"},[e.createElementVNode("text",null,e.toDisplayString(r.update_tips),1)])),r.update_flag?(e.openBlock(),e.createElementBlock("view",{key:1,class:"zy-progress radius striped active"},[e.createElementVNode("view",{class:e.normalizeClass("bg-"+a.theme),style:e.normalizeStyle([{"background-color":"royalblue"},"width: "+r.update_process+"%;"])},e.toDisplayString(r.update_process),7)])):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"zy-bar bg-white",style:{"justify-content":"center",display:"flex","margin-bottom":"60rpx"}},[!r.update_flag&&r.forceupgrade?(e.openBlock(),e.createElementBlock("view",{key:0,class:"action"},[e.createElementVNode("button",{class:e.normalizeClass(["zy-btn","bg-"+a.theme]),onClick:l[0]||(l[0]=(...e)=>n.upgrade_checked&&n.upgrade_checked(...e))},"确认升级",2)])):e.createCommentVNode("",!0),r.update_flag||r.forceupgrade?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:1,class:"action"},[e.createElementVNode("view",{class:"zy-btn",onClick:l[1]||(l[1]=(...e)=>n.upgrade_checked&&n.upgrade_checked(...e))},"确认升级"),r.forceupgrade?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"zy-quxiao",onClick:l[2]||(l[2]=(...e)=>n.upgrade_cancel&&n.upgrade_cancel(...e))},"取消升级"))])),r.update_flag&&!r.forceupgrade?(e.openBlock(),e.createElementBlock("view",{key:2,class:"action text-center"},[e.createElementVNode("button",{class:e.normalizeClass(["zy-btn","bg-"+a.theme]),onClick:l[3]||(l[3]=(...e)=>n.upgrade_break&&n.upgrade_break(...e))},"中断升级",2)])):e.createCommentVNode("",!0)])])],2)}],["__scopeId","data-v-7fca181a"]]);const u=s({},[["render",function(t,l){return e.openBlock(),e.createElementBlock("view",{class:"all"},[e.createElementVNode("scroll-view",{"scroll-y":"",class:"all-content"},[e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 特别提示 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 欢迎使用NU护理单元为您提供的NU护理单元平台。"),e.createElementVNode("text",{style:{"font-weight":"600"}},"请您务必审慎并完整阅读以下内容,特别是免除或者限制NU护理单元责任的条款、对用户权利进行限制的条款、规定本协议的适用法律及有权解决争议的司法管辖区的条款。限制、免责条款或者其他涉及您重大权益的条款可能以加粗等形式提示您重点注意。请注意,目前在您的地区可能无法使用NU护理单元平台上的某些服务和功能(特别是涉及身份认证和支付的功能)。给您带来的不便,我们深表歉意,并正在努力尽快(如可能)提供这些服务和功能。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 如您未满18周岁或未满您居住所在地要求可使用NU护理单元平台的年龄,请不要使用NU护理单元平台。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 除非您已充分阅读并接受本协议所有条款,否则您无权使用NU护理单元平台。如您不同意本协议或其中任何条款,您应立即停止使用NU护理单元平台。您点击“同意”,或者您使用NU护理单元平台,或者以其他任何明示或者默示方式表示接受本协议的,均视为您已阅读并同意本协议。本协议即在您与NU护理单元之间产生法律效力,成为对双方均具有约束力的法律文件。 "),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 一、定义及协议范围 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 1.1 定义 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," NU护理单元平台:指吉林省捌零信创有限公司(以下简称“NU护理单元”或“我们”)合法拥有并运营的名称为“NU护理单元” 和/或小程序、客户端应用程序以及我们不时提供的其他形式。“我们的”应相应地进行理解。为免疑义,我们亦保留调整NU护理单元平台名称的所有权利。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," NU护理单元账号或账号:指用户在使用NU护理单元平台时可能需要注册的账号。我们为用户提供NU护理单元平台注册通道,您可通过移动电话号码或我们允许的其他方式注册NU护理单元账号。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 用户:指NU护理单元平台的使用人,在本协议中更多地称为“您”。“您的”应相应地进行理解。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 不良信息:指含有下列内容的信息: "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 违反中国宪法确定的基本原则,煽动抗拒或者破坏中国宪法等法律法规实施的; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 危害中国国家统一、主权和领土完整,泄露中国国家秘密,危害中国国家安全,损害中国国家尊严、荣誉和利益,宣扬恐怖主义、极端主义的; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 诋毁中华民族优秀文化传统,煽动民族仇恨、民族歧视,侵害中华民族风俗习惯,歪曲中华民族历史和民族历史人物,伤害民族感情,破坏民族团结的; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 煽动破坏中国国家宗教政策,宣扬宗教狂热,危害宗教和睦,伤害信教公民宗教感情,破坏信教公民和不信教公民团结,宣扬邪教、迷信的; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 危害中国社会公德,扰乱中国社会秩序,破坏中国社会稳定,宣扬淫秽、赌博、吸毒,渲染暴力、恐怖,教唆犯罪或者传授犯罪方法的; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 侵害未成年人合法权益或者损害未成年人身心健康的; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 侮辱、诽谤他人或者散布他人隐私,侵害他人合法权益的; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 违反法律法规底线、中国社会主义制度底线、中国国家利益底线、中国公民合法权益底线、中国社会公共秩序底线、道德风尚底线和信息真实性底线的“七条底线”要求的; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 法律法规禁止的其他内容。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 1.2 协议范围 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 本协议是您与NU护理单元之间关于您下载、安装、使用NU护理单元平台所订立的协议,"),e.createElementVNode("text",{style:{"font-weight":"600"}},"包括本协议正文、《NU护理单元用户隐私政策》《NU护理单元未成年人个人信息保护规则》《NU护理单元社区公约》《NU护理单元社区规范》及NU护理单元已经发布的或将来可能发布/更新的并采取合理途径通知的各类规则、规范、通知等。"),e.createTextVNode("所有规则均为本协议不可分割的组成部分,且具有同等法律效力。 ")]),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 二、账号管理 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 2.1 账号获得 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," NU护理单元平台为您提供注册及登录通道,您可按照页面提示填写信息、阅读并同意本协议,在完成全部注册登录程序后,成为NU护理单元平台用户。您还需要根据法律法规的规定(如有)填写您真实的身份信息,否则您可能无法使用NU护理单元平台服务或在使用NU护理单元平台服务过程中受到限制。您了解并同意,您有义务保持您向我们提供的信息的真实性、有效性、准确性及完整性。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 您注册获得的账号、设置的密码是您登录并以用户身份使用NU护理单元平台的凭证,您应当谨慎使用、妥善保管。"),e.createElementVNode("text",{style:{"font-weight":"600"}},"您须对账号进行的所有活动和行为负责。若因您保管不善导致的盗号、密码丢失、账号被非法使用的责任将由您自行承担。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 您不得恶意注册NU护理单元账号,包括但不限于通过频繁注册、批量注册、使用他人身份注册或其他不以正常使用NU护理单元平台为目的的账号注册行为。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 2.2 账号信息设置 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 您在注册或使用NU护理单元平台时提供的信息资料(包括但不限于昵称、头像及简介)须遵守法律法规、社会道德风尚和信息真实性等原则,不得出现不良信息,不得冒用他人姓名、名称、字号、头像或使用其他足以引起混淆的方式设置账号,不得侵害第三方的合法权益。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 2.3 账号使用及权属 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 部分第三方网站或者服务可以用NU护理单元账号作为其登录途径之一。您知晓,除非NU护理单元特别说明外,这些网站或者服务并非NU护理单元运营,您应自行判断此类第三方网站或者服务的安全性和可用性,并自行承担相关风险和责任。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 由于您的账号关联您的个人信息及NU护理单元平台商业信息,您的账号仅限您本人使用。未经NU护理单元同意,授权第三方使用您账号或获取您账号项下信息的行为无效。"),e.createElementVNode("text",{style:{"font-weight":"600"}},"如NU护理单元判断您账号的使用可能违反法律法规或本协议、危及您的账号安全及/或NU护理单元平台信息安全的,NU护理单元可拒绝提供相应服务,采取包括但不限于暂停、封禁、注销、收回您的账号,或终止本协议的措施,由此带来的包括但不限于您账号中的内容以及虚拟物品的清空等损失由您自行承担。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 2.4 账号注销及回收 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 您可以依照NU护理单元平台的流程申请注销您的NU护理单元账号,但您仍应对您在注销账号前和使用NU护理单元平台期间的行为承担相应责任。注销成功后,除非法律法规另有规定,NU护理单元不会为您提供账号记录、内容或虚拟财产恢复等服务,请您谨慎操作。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 您理解并同意,为了充分利用账号资源,如您在注册后未及时进行初次登录使用或连续超过六个月未登录账号并使用,且不存在未到期或未履行完毕的持续性NU护理单元平台服务的,NU护理单元有权收回您的账号。如您的账号被收回,您无法通过您此前持有被收回的账号登录并使用NU护理单元平台,您账号下保存的内容、权限、个性化设置和使用记录等信息也将无法恢复。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 2.5 账号违规处置 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 若您在注册或使用NU护理单元账号时,存在任何违反法律法规或不符合本协议约定的行为,NU护理单元有权不予注册;已经注册的,NU护理单元有权视情况要求用户限期改正,或采取短期封禁、永久封禁、注销账号等措施。 "),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 三、NU护理单元平台服务 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 3.1 内容浏览 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 您可通过NU护理单元平台浏览订阅各类信息和内容。"),e.createElementVNode("text",{style:{"font-weight":"600"}},"您对NU护理单元平台中的内容须自行加以判断,并自行承担因依赖或使用该等内容而引起的风险。在适用法律允许的最大限度内,您应对基于该等内容进行的所有支付或交易,或因前述内容而造成的任何损害或损失由您自行承担。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 3.2 内容发布 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 在遵守本协议的前提下,您可使用NU护理单元平台发表属于您原创或您有权发表的观点看法、文字、信息、图片、音视频等内容。"),e.createElementVNode("text",{style:{"font-weight":"600"}},"您在NU护理单元平台发布的任何内容均不代表NU护理单元的观点、立场或政策,您自行对您所发布内容承担全部责任。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 您通过NU护理单元平台发布内容时必须遵守全部法律法规,不得利用NU护理单元平台制作、复制、发布、传播、储存任何违反法律法规、危害中国国家安全、可能对用户财产安全或信息安全造成损失的信息、营销信息、低俗不当信息或其他我们认为不应发布的信息不良信息以及不实信息等内容。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 用户不得利用基于深度学习、虚拟现实、生成式人工智能等新技术新应用制作、上传、复制、传送或传播虚假新闻信息等法律法规禁止的信息内容,或将合成内容谎称为真实或自然内容。您在发布或传播利用基于深度学习、虚拟现实、生成式人工智能等新技术新应用制作的非真实信息时,应当以显著方式予以标识,否则我们有权对相关内容和账号采取包括但不限于增加标识、限制、封禁等措施。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 3.3 商品与服务交易 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},[e.createTextVNode(" 您可使用NU护理单元平台进行商品与服务的交易,"),e.createElementVNode("text",{style:{"font-weight":"600"}},"如您是未成年人或限制民事行为能力人,请在监护人同意后进行交易。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 进行交易时请您务必仔细确认所购商品的品名、价格、数量、型号、规格、尺寸或服务的时间、内容,以及该服务的限制性要求等重要事项,并在下单时核实您的联系地址、电话、收货人等信息。如您填写的收货人非您本人,则该收货人的行为和意思表示产生的法律后果均由您承担。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},[e.createTextVNode(" 您的交易行为应当基于真实的消费需求,不得存在对商品或服务实施恶意购买、恶意维权等扰乱NU护理单元平台正常交易秩序的行为。"),e.createElementVNode("text",{style:{"font-weight":"600"}},"基于维护NU护理单元平台交易秩序及交易安全的需要,NU护理单元发现上述情形时可主动执行关闭相关交易订单等操作。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 如您的交易相对方存在利用NU护理单元平台系统漏洞、规则漏洞,不正当获取NU护理单元平台补贴等任何利益的行为,基于维护NU护理单元平台交易秩序、交易安全及NU护理单元合法权益的需要,NU护理单元发现上述情形时可主动执行关闭相关交易订单等操作。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 本协议终止后,对于您在本协议存续期间产生的交易订单,NU护理单元可通知交易相对方,并有权自主决定或者根据交易相对方的意愿决定是否关闭未完成的交易订单;如NU护理单元未关闭交易订单,则您应当就该等交易订单继续履行本协议及交易订单的约定,并承担因此产生的法律责任及损失。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 3.4 内容分享与转发 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 您可对NU护理单元平台的信息内容进行分享、转发,但未经NU护理单元书面许可,您不得复制、读取、采用、统计NU护理单元平台的信息内容及相关数据,或者进行任何形式的销售和商业使用,或者向第三方泄露、提供或允许第三方为任何方式的使用。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 3.5 活动参与 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 您可通过NU护理单元平台参与NU护理单元不定期组织的各类线上、线下互动活动,但您"),e.createElementVNode("text",{style:{"font-weight":"600"}},"不得采取任何不正当或作弊的违规手段参与活动,否则NU护理单元有权限制或取消您参与活动的资格,并有权取消、追讨您已获得、领取的奖励,并保留追究您法律责任的权利。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 3.6 服务费用 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" NU护理单元为向您提供的NU护理单元平台服务付出了大量的成本,除NU护理单元平台明示的收费业务外,NU护理单元向您提供的NU护理单元平台服务是免费的。"),e.createElementVNode("text",{style:{"font-weight":"600"}},"如未来NU护理单元向您收取合理费用,NU护理单元会采取合理方式并以合理的期限提前通知您,确保您有充分选择的权利。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 在NU护理单元降低收费服务的收费标准或者将收费服务改为免费服务提供时,NU护理单元保留不对原付费用户提供退费或者费用调整之权利。 "),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 四、权利与许可 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 4.1 平台声明 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"平台知识产权。"),e.createTextVNode("NU护理单元平台所提供的内容,包括但不限于视频、图文、文字表述及其组合、界面设计、版面框架、图标、商标等,均由NU护理单元所有或授权使用,受中华人民共和国著作权法、商标法、专利法、反不正当竞争法及国际条约,以及其他国家或司法管辖区的知识产权法律法规的保护。未经NU护理单元书面允许,用户不得为任何目的擅自使用、复制、再造这些内容、或创造与内容有关的派生产品。我们保留本条款中未明确授予您的所有权利。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"平台使用规范。"),e.createTextVNode("您不得从事下列行为: ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 对NU护理单元平台或NU护理单元平台服务进行反向工程、反向汇编、反向编译,或者以其他方式尝试发现NU护理单元平台的源代码; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 以任何方式(包括但不限于盗链、冗余盗取、非法抓取、模拟下载、深度链接、假冒注册等)直接或间接盗取NU护理单元平台的视频、图文、用户信息等信息内容; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 通过非NU护理单元开发、授权、许可的第三方软件、插件、外挂、系统,登录或使用NU护理单元平台,或对NU护理单元平台的正常运行进行干扰、破坏、修改或施加其他影响; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 利用或针对NU护理单元平台进行任何危害我们或任何第三方计算机网络安全的行为,或暴露我们或任何第三方计算机网络安全弱点的行为,包括但不限于:非法侵入网络、干扰网络正常功能、窃取网络数据等危害网络安全、为上述行为提供程序、工具或其他支持与帮助;干涉、破坏NU护理单元平台系统、软件或网站的正常运行,故意传播恶意程序或病毒和其他破坏干扰正常网络信息服务的行为; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 其他以任何不合法的方式、为任何不合法的目的、或与NU护理单元为此制定的其他规范和标准不一致的方式使用NU护理单元平台或NU护理单元平台服务。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 4.2 用户内容及信息授权 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 您在NU护理单元平台发布、上传的内容(包括但不限于文字、图片、视频、音频等)应有合法来源,相关内容为您所有或您已获得必要的授权。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 除非有相反证明,您理解并同意,为使用户内容得到更好的分享及推广,提高其传播价值及影响力,您授予NU护理单元免费的、不可撤销的、非排他的、全球无地域限制的许可使用,包括:存储、使用、传播、复制、修订、改编、汇编、出版、展示、翻译、表演用户内容或制作派生作品,以已知或日后开发的形式、媒体或技术将内容纳入其它作品,再许可第三方按照前述方式使用的权利,以及以自身名义或委托专业第三方对侵犯您上传发布的享有知识产权的内容进行取证、发起投诉或提起诉讼的权利。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 为免歧义,上述许可包括使用、复制和展示用户内容中的个人形象、肖像、姓名、商标、品牌、标识及其他营销推广素材、物料的权利和许可。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 4.3 侵权投诉 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 我们尊重并保护您及他人的知识产权、名誉权、姓名权、隐私权等合法权益。您保证,在NU护理单元平台上传的文字、图片、视频、音频、链接等不侵犯任何第三方的知识产权、名誉权、姓名权、隐私权等合法权益。否则,"),e.createElementVNode("text",{style:{"font-weight":"600"}},"NU护理单元有权在收到权利方或者相关方通知的情况下移除该涉嫌侵权内容。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 您认为NU护理单元平台上的内容侵犯您的合法权益,应当向我们发送侵权通知,具体通知方式和要求按侵权投诉指引执行。我们将在收到有效通知后进行审核,对可以初步证明构成侵权的内容采取必要措施。对无法认定为侵权的内容,您也将收到相应告知,如果您仍然认为侵权事实存在,新的侵权通知中应当补充证明侵权的证据。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 在适用法律允许的最大限度内,NU护理单元储存在其服务器上的数据是用户使用NU护理单元平台和NU护理单元平台服务的唯一有效证据。 "),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 五、法律责任 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 5.1 违约处理 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 如您违反本协议约定,NU护理单元有权作出独立判断,立即暂停或终止向您提供部分或全部NU护理单元平台服务,包括采取禁言、屏蔽信息、删除发布内容、封禁账号、注销账号等措施。您应对与该等措施相关的任何损失和损害(包括但不限于您账号的内容、虚拟财产和权限清空、无法正常使用账号及相关NU护理单元平台服务或任何其他后果)承担全部责任和义务。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 5.2 责任承担 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 您承担法律责任的形式包括但不限于:对受到侵害者充分赔偿损失、赔礼道歉、补救负面影响、返还财产等。如您的行为给NU护理单元造成损失的,您应承担全部赔偿责任,包括行政处罚或损害赔偿款等直接损失以及商誉损失、和解款、律师费、诉讼费等间接损失。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 5.3 反商业贿赂 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 您充分了解,任何向NU护理单元的雇员或顾问等提供实物、现金、现金等价物、劳务、旅游等价值明显超出正常商务洽谈范畴的利益,均视为商业贿赂行为。发生前述情形的,NU护理单元可立即终止与您的所有合作并追究您的法律责任。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 5.4 关联处理 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 您因违约导致NU护理单元终止本协议时,出于维护NU护理单元平台秩序的目的,"),e.createElementVNode("text",{style:{"font-weight":"600"}},"NU护理单元可终止与您在其他协议(如有)项下的合作。如您违反任何NU护理单元与您订立的其他协议,NU护理单元亦有权终止本协议。除前述协议终止外,NU护理单元亦可追究您在本协议或其他协议下的违约责任。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 5.5 信息公示 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 我们可将对您上述违约行为的处置信息,以及其他经国家行政或司法机关生效法律文书确认的违法信息,在"),e.createElementVNode("text",{style:{"font-weight":"600"}},"NU护理单元平台"),e.createTextVNode("上予以公示。对涉嫌违反法律法规的行为,我们有义务保存有关记录,向国家有关机关报告并配合调查。 ")]),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 六、责任限制、免责事由和赔偿 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 由于各国家或地区的法律与其他一些法律不同,本协议包括仅适用于您位于欧洲经济区(“EEA”)、英国和瑞士(统称 “EEA+”)内情况的条款(第6.1 条)、仅适用于您位于中国内情况的条款(第 6.2 条)(为免疑义,仅为第6.2条之目的,中国不包含香港特别行政区、澳门特别行政区和中国台湾)和仅适用于您位于其他国家或地区的情况的条款(第 6.3 条)。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 6.1 如您位于 EEA+内 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 本第6.1条仅适用于您位于EEA+内的情况。在我们已尽专业勤勉义务的前提下,我们不对任何损失或损害承担责任,除非其:(1)是由于我们对本协议的违反而造成的;或(2)在签订本协议时可被合理预见,即其显然会发生,或在您与我们签订本协议时已知可能会发生。本协议无意排除或限制我们对死亡或人身伤害、欺诈、欺诈性虚假陈述或任何法律规定不能排除的责任。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 尽管本协议另有规定,如果我们怀疑您违反了本协议,我们将遵循以下步骤。首先,我们可能会进行调查,在调查期间,我们可能会暂停您对NU护理单元平台的访问,并根据涉嫌违规行为的严重程度,在适用法律允许的范围内,根据任何法律义务,合理客观地采取行动。在下列情况下,我们可能决定暂时中止或永久终止您对NU护理单元平台的访问:(1) 我们根据法律法规合理客观地认定您严重或多次违反本协议;(2) 我们有客观理由合理地认为您即将严重违反本协议;(3) 法律要求我们如此行事;或 (4) 我们有客观理由合理地认为在处理严重的技术或安全问题时需要如此行事。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 6.2 如您位于中国 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 本第6.2条仅适用于您位于中国内的情况。仅为第6.2条之目的,中国不包含香港特别行政区、澳门特别行政区和中国台湾。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 除适用法律另有明确规定外,在任何情况下,我们均不对任何间接性、后果性、惩罚性、偶然性、特殊性或刑罚性的损害承担责任,该等损害包括但不限于您因使用NU护理单元平台或NU护理单元平台服务而遭受的利润损失。除适用法律另有明确规定外,我们对您承担的全部责任,无论因何原因或何种行为方式,始终不超过您因使用NU护理单元平台或NU护理单元平台服务期间而支付给我们的费用(如有)。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 6.3 如您位于其他国家或地区 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 本第6.3条仅适用于您位于第6.1条所述EEA+和第6.2条所述中国外的情况。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 无陈述或保证:NU护理单元平台和NU护理单元平台服务按“现状”“可用”提供,且您“风险自担”。在法律允许的最大范围内,我们明确不作对NU护理单元平台和NU护理单元平台服务的任何及所有明示或默示的陈述和保证,包括对适销性的默示保证、针对特定用途的适用性或非侵权性。我们不保证NU护理单元平台和NU护理单元平台服务能够满足您的要求,也不保证NU护理单元平台和NU护理单元平台服务的运行不会中断或没有错误。与NU护理单元平台和NU护理单元平台服务相关的信息、内容和服务可能包含漏洞、错误、问题或其他限制。在法律允许的最大范围内,我们、我们的关联公司、我们或其各自的董事、高级职员、雇员、代理、服务提供商和许可方(统称 “NU护理单元方”)对您使用NU护理单元平台和NU护理单元平台服务不承担任何责任。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 责任限制:在法律允许的最大范围内,NU护理单元方不对任何因本协议、NU护理单元平台或NU护理单元平台服务引起的或与之相关的任何间接的、附带的、结果性的、特殊的、法定的、约定的、惩罚性的或其他类似的损害赔偿,或任何超出实际损害的损害赔偿,包括收入损失、利润损失、数据丢失、业务中断或其他无形损失(无论此类损失如何定性)承担责任,无论是否基于合同、侵权行为或任何其他法律理论,也无论各方是否已被告知此类损失的可能性。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"访问由我们自行决定:"),e.createTextVNode("在法律允许的最大范围内,我们可随时自行决定,不经另行通知,限制、暂停、修改或终止您对NU护理单元平台或NU护理单元平台服务的访问,包括在您未能遵守或我们怀疑您未能遵守或即将未能遵守本协议的任何规定,或实际或涉嫌非法或不当情况下。任何此类终止或暂停将不影响我们根据适用法律可能享有的任何其他权利。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"辩护和赔偿:"),e.createTextVNode("对于因您使用NU护理单元平台和NU护理单元平台服务或您违反本协议而导致或引起的任何第三方主张的任何索赔、要求、指控、调查、诉讼、程序或其他争议,您同意为NU护理单元方辩护。并且您同意赔偿NU护理单元方因任何此类争议而产生的任何损害、责任、估定、损失、成本和其他费用(包括合理的律师费和法律费用),并使其免受损害。我们将及时通知您任何此类争议,并将向您提供合理协助,费用由您承担,以就任何此类争议进行抗辩,但未提供此类通知并不免除您在本协议项下的任何义务,除非您因未被提供此类通知而受到重大损害。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"例外:"),e.createTextVNode("本协议中的任何内容均不排除或限制因我们的严重疏忽或故意不当行为而导致的任何责任,或法律不能排除的任何责任。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 6.4 第三方服务 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 您在使用NU护理单元平台某一特定服务时,该服务可能会另有单独的协议或规则,您在使用该项服务前请阅读并同意相关的单独协议或规则。"),e.createElementVNode("text",{style:{"font-weight":"600"}},"您在NU护理单元平台使用第三方提供的产品或服务时,除遵守本协议及其他相关规则外,还可能需要您仔细阅读、同意并遵守第三方的协议、相关规则。如因第三方产品或服务产生的争议、损失或损害,需由您自行与第三方依据相关协议解决。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 6.5 平台责任承担 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 我们仅按照适用法律法规规定承担平台责任。我们不对任何第三方的诽谤、犯罪或其他非法行为承担责任,也不赔偿因此造成的您的损失。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 6.6 服务变更、中断、终止 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," NU护理单元始终在不断变更和改进NU护理单元平台服务,我们会尽最大努力向您提供服务,确保服务的连贯性和安全性。基于此,我们可能会对NU护理单元平台进行更新,您应将软件更新到最新版本,否则我们不保证您可正常使用NU护理单元平台。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 您理解并同意,"),e.createElementVNode("text",{style:{"font-weight":"600"}},"NU护理单元根据自身商业决策、政府行为、不可抗力等原因可能会选择中止、中断及终止NU护理单元平台的部分或全部服务。"),e.createTextVNode("如有此等情形发生,我们会采取合理的方式并以合理的期限提前通知您,除法律法规另有规定外,"),e.createElementVNode("text",{style:{"font-weight":"600"}},"我们不承担由此对您造成的损失。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 在NU护理单元发生合并、分立、收购、资产转让时,NU护理单元可将本协议下部分或全部NU护理单元平台服务及相应的权利义务转交由第三方运营或履行。具体受让主体以NU护理单元通知为准。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 如发生下列任何一种情形,我们有权不经通知而中断或终止向您提供服务: "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 根据法律法规规定您应提交真实信息,而您提供的个人资料不真实、或与注册时信息不一致又未能提供合理证明。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 您违反相关法律法规的规定或违反本协议的约定。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 按照法律法规规定,或司法机关或主管部门的要求。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 出于安全的原因或其他必要的情形。 "),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 七、协议变更与终止 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 7.1 协议变更通知 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"我们有权在必要时,修改本协议内容,并将通过合理的方式(包括但不限于NU护理单元平台公告、系统消息、站内信、手机短信、电子邮件或其他类似方式)及合理的期限提前通知您,该等通知于发送之日视为已送达您。"),e.createTextVNode("您可以通过NU护理单元平台相关页面查阅最新版本的协议内容。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 7.2 变更协议生效 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"本协议变更生效后,如您继续使用NU护理单元平台或NU护理单元平台服务,即视为您已接受修改后的协议。如您不接受修改后的协议,应当停止使用NU护理单元平台或NU护理单元平台服务。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 7.3 协议终止 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 您注销您的NU护理单元账号或NU护理单元通知您终止为您提供NU护理单元平台服务(包括但不限于封禁账号、注销账号或其他类似措施)时,本协议将同时终止,NU护理单元将不再另行通知您终止本协议。 "),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 八、法律适用与管辖 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 8.1 本协议的订立、生效、履行、解释、修订、终止及纠纷解决,适用中华人民共和国法律法规(仅为本协议之目的,不包括香港特别行政区及澳门特别行政区法律法规,和中国台湾地区有关规定)。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 8.2 若您与NU护理单元之间发生任何纠纷或争议,由NU护理单元与您协商解决。"),e.createElementVNode("text",{style:{"font-weight":"600"}},"协商不成的,您同意将纠纷或争议提交被告所在地人民法院管辖。")]),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 九、其他 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 9.1 本协议所有条款的标题仅为阅读和理解方便,本身并无实际涵义,不能作为本协议涵义解释的依据。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 9.2 本协议条款无论因何种原因部分无效或不可执行,其余条款仍有效,并对双方具有约束力。如果某条款规定我们在特定情况下有特定权利,这并不意味着该权利是我们在该等特定情况下可以行使的唯一权利,也不意味着该条款取消或使涉及相同情况或主旨事项的任何其他条款无效或失效。任何一方未能执行或延迟执行本协议项下的任何权利、救济或条款,不应被视为放弃该权利、救济或条款。任何弃权必须明确以书面形式作出并由弃权方签署。任何权利或救济的单次或部分行使,不应妨碍该权利或补救措施或任何其他权利或补救措施的进一步或其他行使。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 9.3 如您对本协议有任何意见或建议,您可向NU护理单元平台(service@blxinchuang.com)反馈,我们会给予您必要的帮助。 ")])])}],["__scopeId","data-v-54d60f3e"]]);const m=s({},[["render",function(t,l){return e.openBlock(),e.createElementBlock("view",{class:"all"},[e.createElementVNode("scroll-view",{"scroll-y":"",class:"all-content"},[e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx"}}," 为了更好地保障您的权益,我们于近日更新了《NU护理单元隐私信息保护政策》。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx"}}," 请您在使用/继续使用NU护理单元产品/或服务前仔细阅读、充分理解全文,并在同意全部内容后使用/继续使用。 "),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}}," 前言 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 1. NU护理单元/或服务指由吉林省捌零信创科技有限公司及其关联公司(以下称为“NU护理单元”或者“我们”)运营,并由吉林省捌零信创科技有限公司开发及维护的产品和服务(以下亦称“我们的产品/或服务”)。我们非常重视您的隐私保护和个人信息保护,鉴于此,我们制定本《NU护理单元隐私信息保护政策》(以下称为“本政策”),与您确认关于您在使用我们的产品/或服务期间,NU护理单元收集、存储、使用、披露和保护您的个人信息的相关事宜。如您对本政策内容有任何疑问、意见或建议,您可通过我们提供的各种联系方式与我们联系。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 2. 在使用我们的各项产品和/或服务前,请您务必仔细阅读并透彻理解本政策,"),e.createElementVNode("text",{style:{"font-weight":"600"}},"特别是以粗体、粗体加下划线标识的条款,您应重点阅读,在确认充分理解并同意后开始使用。如果您/您的监护人不同意本政策的任何内容,您应该立即停止使用。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 3. 本政策为NU护理单元统一适用的一般性隐私政策条款,适用于NU护理单元提供的所有产品和服务。当我们及关联公司就其向您提供的特定产品和/或服务单独设立隐私政策的,则优先适用该产品和/或服务的隐私政策。该产品和/或服务的隐私政策未涵盖的内容,以本政策内容为准;该产品和/或服务的隐私政策与本政策存在冲突的,以该产品和/或服务的隐私政策为准。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 4. "),e.createElementVNode("text",{style:{"font-weight":"600"}},"请您注意,本政策不适用于与我们的平台、产品和/或服务集成的任何第三方应用程序或软件,或者任何其他第三方产品、服务或业务(统称为“第三方服务”)。第三方服务由第三方负责运营,您使用第三方服务应遵守第三方为此制定的隐私政策或其他个人信息处理规则,我们提示您仔细识别实际服务的提供方,并在使用任何第三方服务之前仔细查看相关规则。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 5. 您同意本政策表示您已经了解并同意在相关场景下,为实现功能运行,我们将对您的相关个人信息进行处理。但这并不代表只要您开始使用我们的产品和/或服务,我们即开始处理本政策中涉及的您的全部个人信息。只有当您使用特定功能时,我们才会根据“最小必要”原则,为实现向您提供产品功能及服务的目的,处理您的相关个人信息。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 6. 您理解并同意,基于不断完善产品和服务的目的,我们将不时推出新增和/或优化功能,可能增加或变更收集、使用个人信息的范围、目的和方式。对此,我们将通过更新本政策、页面提示、新签署文件、弹窗、网站公告或站内信等即时通知方式另行向您明确说明,并为您提供同意与否的选项。该等即时通知是本政策的有效组成部分,与本政策具有同等法律效力。您有权拒绝同意该等即时通知,但您同时知悉并理解,一旦您拒绝我们收集、处理您的个人信息属于实现更新服务或功能所必要的情形时,我们将可能无法为您提供更新后的服务与功能,或者无法达到更新服务的效果,但您原有正常使用的基础功能不受影响。 "),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}}," 关于我们 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 我们的主要运营公司基本情况如下:长春市经济开发区长吉南线以东、吉林大路以南东方广场中意国际大厦B座1431号。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 联系电话:18043530712。如您想更详细的了解我们的公司、平台,您可以通过本政策提供的联系方式与我们联系。 "),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}}," 第一部分 定义 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"1. 个人信息:"),e.createTextVNode("是以电子或者其他方式记录的与已识别或者可识别的自然人有关的各种信息,不包括匿名化处理后的信息。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"2. 敏感个人信息:"),e.createTextVNode("是一旦泄露或者非法使用,容易导致自然人的人格尊严受到侵害或者人身、财产安全受到危害的个人信息,包括"),e.createElementVNode("text",{style:{"font-weight":"600"}},"生物识别、宗教信仰、特定身份、金融账户、行踪轨迹等信息,以及不满十四周岁未成年人的个人信息。敏感信息在本政策中会做加粗加下划线提示。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"3. 个人信息的处理:"),e.createTextVNode("包括个人信息的收集、存储、使用、加工、传输、提供、公开、删除等。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"4.个人信息处理者:"),e.createTextVNode("是指在个人信息处理活动中自主决定处理目的、处理方式的组织、个人。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"5.个人信息主体:"),e.createTextVNode("指个人信息所标识或者关联的自然人。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"6.自动化决策:"),e.createTextVNode("是指通过计算机程序自动分析、评估个人的行为习惯、兴趣爱好或者经济、健康、信用状况等,并进行决策的活动。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"7.去标识化:"),e.createTextVNode("指个人信息经过处理,使其在不借助额外信息的情况下,无法识别特定自然人的过程。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"8.匿名化:"),e.createTextVNode("指个人信息经过处理无法识别特定自然人且不能复原的过程。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"9. NU护理单元:"),e.createTextVNode("是指NU护理单元或其关联公司发布和/或运营的包括但不限于NU护理单元相关的网络平台。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"10. NU护理单元产品和/或服务:"),e.createTextVNode("指我们基于互联网,以包含NU护理单元网站、客户端(含APP\\APK\\小程序)及其他产品形态(如SDK\\API等,以及未来技术发展出现的新的形态)向您提供的包括但不限于内容分发、信息网络传播、互联网音视频业务等各项产品和服务。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"11. 平台规则:"),e.createTextVNode("包括在所有NU护理单元网站、客户端内已经发布及后续发布的全部规则、用户服务协议、解读、公告、其他内容以及各平台在频道、活动页面、帮助中心发布的各类规则、实施细则、产品说明、公告及各形式的平台规范。 ")]),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}}," 第二部分 隐私保护政策 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 本政策将帮助您了解以下内容: "),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 一、我们如何收集和使用您的个人信息 "),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 二、我们如何使用 Cookie 和同类技术 "),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 三、我们如何共享、转让和披露您的个人信息 "),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 四、我们如何存储您的个人信息 "),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 五、我们如何保护您的个人信息安全 "),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 六、我们如何保护未成年人的个人信息 "),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 七、您如何行使您的个人信息权利 "),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 八、如何联系我们 "),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}}," 一、我们如何收集和使用您的个人信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 因向您提供的产品和服务种类众多,我们将根据具体产品/服务范围和不同功能,遵循合法、正当和必要原则收集和使用您的个人信息。以下我们向您逐一告知各功能需要的必要个人信息类型及需授权的权限。 "),e.createElementVNode("view",{style:{"font-size":"31rpx","margin-bottom":"20rpx","font-weight":"600"}}," (一) 帮助您注册、登录和维护平台账号 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 1. 注册与登录 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" (1) 手机号或账号密码注册/登录:当您注册、登录我们的产品和/或服务时,为了帮您顺利完成注册/登录流程,您需要提供: "),e.createElementVNode("text",{style:{"font-weight":"600"}},"手机号码、短信验证码信息或NU护理单元登录账号及密码信息。"),e.createTextVNode("同时,我们还提供 “一键登录”功能,与我们建立合作关系的运营商或其合作伙伴会将您设备中的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"手机号码"),e.createTextVNode("提供给我们作为您的注册、登录账号并免于动态验证码核验,便于我们为您提供快捷的注册、登录服务。如果您不希望使用“一键登录”功能,可以选择其他方式进行注册、登录。收集手机号码信息是为了满足相关法律法规的网络实名制要求,如您拒绝提供手机号码进行核验,将导致注册/登录失败,但您仍可在游客模式下使用音视频的浏览、搜索、播放功能。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" (2) 扫码登录:当您通过扫码方式进行登录时,我们会请求您授权设备的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"相机、相册/存储权限"),e.createTextVNode(",以实现通过扫描二维码方式完成登录。如您不需要使用扫码登录服务,您也可以选择其他登录方式。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 2. 资料维护和账号找回 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" (1) 为维护您的基本资料,提升您的服务体验,您可以选择填写完善您的个人信息,包括您的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"电子邮箱、性别、所在地、头像、昵称、生日、个人简介;"),e.createTextVNode("在相关儿童页面,您也可以选择在宝贝信息界面内填写您宝贝的性别和生日,当您选择上传头像时,我们会请求您授权"),e.createElementVNode("text",{style:{"font-weight":"600"}},"相机、相册/存储权限"),e.createTextVNode(",以实现头像拍摄或选择后完成上传。当您选择一键同步第三方账号昵称和头像时,经您授权,第三方平台将与我们同步您的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"第三方账号信息(如头像、昵称,具体以您的授权范围为准)。"),e.createTextVNode("如您选择不提供这些信息,不会影响您使用基础服务功能。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," (2) 若您希望绑定或者解绑您所关联的第三方平台账号,您可以随时在“我的-设置-账号与安全-账号绑定”进行设置,第三方平台账号的绑定或解绑不会影响您使用基础服务功能。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" (3) 如果您的账号遗失,您可以找回账号。如果您遗忘账号密码,您可以通过手机短信验证,或联系客服找回密码或重置密码;您也可以换绑已注册手机号码。但在此过程中,我们可能需要您提供必要的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"身份信息、手机号码、经常登录地点、经常登录设备、经常收听内容、注册时间和城市信息"),e.createTextVNode("等相关信息以验证您的身份;为了核验您的真实身份,必要时还可能通过静态或动态的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"人脸识别"),e.createTextVNode("验证您的真实身份。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 3. 账号权益与资金 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," (1) 账号权益:基于NU护理单元统一账号体系和便于您在我们的产品和/或服务中使用相关权益与资产,我们会收集您在NU护理单元账号下的权益及资产信息,同时,我们会在应用内向您展示您的部分或全部前述信息,具体以页面实际展示为准。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" (2) 资产提现:当您使用我们的提现功能时,需要您提供"),e.createElementVNode("text",{style:{"font-weight":"600"}},"结算主体相关信息(姓名/名称、身份证号/统一社会信用代码)、结算账户相关信息(持卡人/户名、银行卡信息/支付宝账号信息),"),e.createTextVNode("以完成结算主体认证及资金结算账户绑定;若您是境外用户,可能还需要您提供"),e.createElementVNode("text",{style:{"font-weight":"600"}},"境外用户主体身份证明材料(如护照号、手持证照照片等"),e.createTextVNode(")。我们会在应用内向您展示您的部分或全部前述信息,具体以页面实际展示为准。您可以在我们产品的相关页面修改您已绑定的结算账户。如您拒绝提供前述结算账户相关信息,您将无法顺利提现,不影响您使用我们的其他功能与服务。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 4. 若您还未成为平台注册用户,您可以游客身份使用我们提供的基本功能,主要包括音频作品的搜索、浏览和播放。为保障上述功能实现、履行网络系统运营安全义务,我们将收取您的必要"),e.createElementVNode("text",{style:{"font-weight":"600"}},"设备信息(设备型号、设备MAC地址、操作系统版本、唯一移动设备识别码(IMEI、Android ID、IDFA、IDFV、HarmonyOS UUID、SIM卡序列号和IMSI信息))"),e.createTextVNode(",为您分配专属标识符,并基于此标识符记录您游客身份下的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"操作信息"),e.createTextVNode(",即您浏览、播放等记录,并以日志文件的形式进行保存。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 5. 根据相关法律法规对互联网账号的管理要求、维护网络安全和良好的网络内容生态,我们会在您的个人主页以及您发布的内容、信息页面展示您的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"IP属地"),e.createTextVNode("(境内IP地址展示至省/自治区/直辖市、境外IP地址展示至国家/地区,具体信息以网络运营商数据为准)。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 6."),e.createElementVNode("text",{style:{"font-weight":"600"}}," 为更好地保护未成年人隐私权益,我们特别提醒您慎重发布包含未成年人素材的内容,一经发布,即视为您已获得权利人同意在我们的产品和/或服务展示未成年人的肖像、声音等信息,且允许我们依据平台协议及本政策使用、处理该等与未成年人相关的内容。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 通讯录权限保持默认关闭状态。如您不希望被推荐给您的通讯录好友,您也可以通过设备权限管理关闭此前向NU护理单元开放的通讯录授权。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 7. 您在使用我们的服务时,若您想分享您喜欢的内容至第三方平台或应用,我们需要从您的设备终端读取"),e.createElementVNode("text",{style:{"font-weight":"600"}},"已安装的移动应用列表"),e.createTextVNode(",用以判断您是否安装了第三方应用,以便为您提供正确的分享功能。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 您在使用我们的服务时所共享的内容和信息,可能会涉及他人的个人信息,请您确认已获得他人的合法授权。与此同时,您有义务妥善保护自己的个人信息,仅在必要的情形下向他人提供、展示自己的信息。如您发现自己的个人信息泄露,尤其是您的账户或密码发生泄露,请您立即联系NU护理单元客服。 "),e.createElementVNode("view",{style:{"font-size":"31rpx","margin-bottom":"20rpx","font-weight":"600"}}," (二)为您提供充值服务 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 为向您展示充值服务,帮助您完成交易,以及向您提供客户服务,同时基于维护支付安全、追溯网络交易行为等相关法律法规要求,当您在使用订阅或购买商品/服务时,我们会收集如下信息: "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 1. 当您充值时,我们将收集您在完成交易时的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"服务信息"),e.createTextVNode("生成您的账单明细,此外,我们还需记录并保存"),e.createElementVNode("text",{style:{"font-weight":"600"}},"与订单相关的信息"),e.createTextVNode(",包括:"),e.createElementVNode("text",{style:{"font-weight":"600"}},"交易金额、下单时间、订单编号、订单状态、支付方式、支付流水号、支付状态"),e.createTextVNode(",我们收集这些信息是为了帮助您顺利完成交易、保障您的交易安全、查询订单信息,配合网络交易监管的法定义务。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 上述所有信息构成您的订单信息,我们(包括与为您提供上述服务的第三方)将使用您的订单信息进行您的身份核验、确定交易、支付结算、完成配送、为您查询订单以及提供客服咨询与售后服务。我们还会使用您的订单信息来判断您的交易是否存在异常以保障您的交易安全。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 2. 当您通过扫一扫参加活动时,我们会请求您授权您的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"相机权限、相册/存储权限"),e.createTextVNode(",用于识别、保存或上传活动及分享二维码。我们可能会通过您所上传的照片/图片来识别您需要参与的活动链接或者音视频服务链接。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 3. 此外,为判断您是否满足活动要求的参与资格或者为了保障活动的正常秩序、防范作弊与欺诈等违法违规情况,我们同时可能需要收集和使用您的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"设备信息(如:设备型号、设备MAC地址、操作系统版本、唯一移动设备识别码(IMEI、Android ID、IDFA、IDFV、HarmonyOS UUID、SIM卡序列号和IMSI信息))。")]),e.createElementVNode("view",{style:{"font-size":"31rpx","margin-bottom":"20rpx","font-weight":"600"}}," (三)为您提供个性化内容推荐 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 1."),e.createElementVNode("text",{style:{"font-weight":"600"}},"设备信息:"),e.createTextVNode("我们会根据您在软件安装和使用中的具体操作,接收并记录您所使用的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"设备相关信息(包括设备型号、硬件序列号、设备MAC地址、操作系统版本、设备设置、唯一设备识别码(IMEI、Android ID、IDFA、IDFV、GAID、HarmonyOS UUID、SIM卡序列号和IMSI信息)、UUID、必要的移动应用列表信息、软硬件及设备、设备环境信息、传感器信息)、设备所在位置相关信息"),e.createTextVNode("(为了识别判断您所在地区的内容版权,需要收集您授权的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"GPS精准位置"),e.createTextVNode("以及"),e.createElementVNode("text",{style:{"font-weight":"600"}},"WLAN接入点"),e.createTextVNode("(如SSID、BSSID)和"),e.createElementVNode("text",{style:{"font-weight":"600"}},"基站、传感器"),e.createTextVNode("信息)。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 2."),e.createElementVNode("text",{style:{"font-weight":"600"}},"日志信息:"),e.createTextVNode("当您使用我们的网站或客户端提供的产品或服务时,我们会自动收集您的详细使用情况,并作为网络日志保存。"),e.createElementVNode("text",{style:{"font-weight":"600"}},"日志信息"),e.createTextVNode("包括您的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"搜索和浏览记录"),e.createTextVNode("、关注、播放记录、"),e.createElementVNode("text",{style:{"font-weight":"600"}},"购买消费记录"),e.createTextVNode("、访问量、播放时长、"),e.createElementVNode("text",{style:{"font-weight":"600"}},"IP地址"),e.createTextVNode("、WIFI网络、运营商信息、电信运营商网络、使用的语言、访问日期和时间。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 我们将会在收集上述信息的基础上提取您的偏好特征,并基于特征标签产出间接人群画像,用于为您展示、推送个性化内容和您可能感兴趣的商业广告。但我们努力保障您的产品使用体验。如您对我们推荐的个性化内容不感兴趣或希望不再接收此类个性化服务,您可通过“我的-设置-我的隐私管理-个性化内容推荐/个性化广告推荐”选择关闭。关闭后首页向您展示和推荐的内容将可能与您的偏好相关度降低。 "),e.createElementVNode("view",{style:{"font-size":"31rpx","margin-bottom":"20rpx","font-weight":"600"}}," (四)为您提供残障用户专享服务 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 为履行企业责任、体现社会关怀,当您享受我们为残障人士定向提供的“专享礼包”服务时,您需要提供您的姓名、"),e.createElementVNode("text",{style:{"font-weight":"600"}},"身份证号"),e.createTextVNode("以及"),e.createElementVNode("text",{style:{"font-weight":"600"}},"残疾人证信息"),e.createTextVNode("以实现身份认证,我们会将您提供的前述信息与中国残疾人联合会的数据库进行比对和信息验证,以验证您的身份。如您拒绝提供上述信息,将使您无法享受残障用户专享服务,但不影响您正常使用NU护理单元的其他功能。 ")]),e.createElementVNode("view",{style:{"font-size":"31rpx","margin-bottom":"20rpx","font-weight":"600"}}," (五) 帮助您连接智能设备 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 您如希望将App与您所使用的智能设备相连接,您需要开启"),e.createElementVNode("text",{style:{"font-weight":"600"}},"蓝牙权限"),e.createTextVNode(",以使得我们能够搜索到您的智能设备。此外我们可能会收集您的Wi-Fi信息、"),e.createElementVNode("text",{style:{"font-weight":"600"}},"位置信息"),e.createTextVNode("、智能设备信息。这些信息将用于为您提供智能设备快连、连接、发现附近设备和设备管理的功能。"),e.createElementVNode("text",{style:{"font-weight":"600"}},"如您拒绝提供上述信息,我们将无法帮助您连接智能设备,但不影响您正常使用NU护理单元的其他功能。")]),e.createElementVNode("view",{style:{"font-size":"31rpx","margin-bottom":"20rpx","font-weight":"600"}}," (六)为您提供客户服务及处理争议 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 当您向我们发起投诉、申诉或进行咨询时,为了您的账号与系统安全,我们可能需要您先行提供账号信息,并与您之前的个人信息相匹配以验证您的用户身份。同时,为了方便与您联系或帮助您解决问题,我们可能还需要您提供"),e.createElementVNode("text",{style:{"font-weight":"600"}},"姓名、手机号码、电子邮件"),e.createTextVNode("及其他联系方式等个人信息,并通过第三方客服系统保存"),e.createElementVNode("text",{style:{"font-weight":"600"}},"通话录音"),e.createTextVNode(",其中可能包含"),e.createElementVNode("text",{style:{"font-weight":"600"}},"通信/通话记录"),e.createTextVNode(",用于与您联系和帮助您解决问题,或记录相关问题的处理方案及结果。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 为确认交易状态及为您提供商品/服务的售后与争议解决服务,我们会通过您基于交易所选择的支付机构、支付方式等收集与"),e.createElementVNode("text",{style:{"font-weight":"600"}},"交易相关的信息"),e.createTextVNode(",包括iOS端IAP支付交易凭证和收费凭证。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 如您拒绝提供上述信息,我们将无法为您提供完整的客户服务及处理争议,但不影响您正常使用NU护理单元的其他功能。 "),e.createElementVNode("view",{style:{"font-size":"31rpx","margin-bottom":"20rpx","font-weight":"600"}}," (七)为您提供安全保障功能 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 为履行维护网络安全义务,提高您使用服务的安全性,确保操作环境安全,预防钓鱼网站、欺诈、网络漏洞、计算机病毒、网络攻击、网络侵入等安全风险,以用于识别设备是否存在篡改设备信息行为,预防、发现和调查潜在的违法违规或违反用户服务协议、政策或规则的行为,如会员账号活动异常、多端登录、流量异常、经常性退款请求或低价转让会员卡等,我们以及在应用程序中嵌入的应用安全SDK将在后台自动收集您的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"设备信息(包括设备型号、硬件序列号、设备MAC地址、操作系统版本、设备设置、唯一移动设备识别码(IMEI、Android ID、IDFA、IDFV、MEID、HarmonyOS UUID、OAID、SIM卡序列号和IMSI信息)、UUID、WLAN接入点(如SSID、BSSID)和基站、必要的移动应用列表信息、运行中的进程信息、软硬件及设备、设备环境信息、设备传感器信息 "),e.createTextVNode("(如磁场传感器、光传感器、压力传感器、旋转矢量传感器、方向传感器、重力传感器、加速度传感器、陀螺仪传感器,请您知悉,单纯的传感器数据并非个人信息))、"),e.createElementVNode("text",{style:{"font-weight":"600"}},"日志信息(包括您的搜索和浏览记录、关注、播放记录、访问量、播放时长、IP地址、WIFI扫描列表、WIFI名称、运营商信息、电信运营商网络、使用的语言、访问日期和时间)"),e.createTextVNode(",并可能使用或整合您的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"账户信息、交易信息、支付信息"),e.createTextVNode("以及其他取得您授权或依据法律共享的信息,综合判断您账户及交易风险、完成身份验证、检测,防范安全事件,并依法采取必要的记录、审计、分析、处置措施,保护各方合法权益稳定不受侵害。 ")]),e.createElementVNode("view",{style:{"font-size":"31rpx","margin-bottom":"20rpx","font-weight":"600"}}," (八)其他附加服务 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 为向您提供个性化的产品和服务,提升用户体验,我们还会向您提供以下附加服务,并仅在您使用到相关功能时向您获取个人信息。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"1.驾驶模式:"),e.createTextVNode("当您开启驾驶模式后,我们会在获得您的同意后为您开启语音助手功能,我们会申请访问"),e.createElementVNode("text",{style:{"font-weight":"600"}},"麦克风权限"),e.createTextVNode("并收集您的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"语音信息"),e.createTextVNode(",用于提供对应的语音服务,帮助您在驾驶时通过语音控制播放您喜欢的音频。即便您已同意开启麦克风权限,麦克风仍保持默认关闭状态,仅会在您主动点击客户端内麦克风图标或录制音频时通过麦克风获取语音信息。我们收集的语音信息仅作操作指令识别(或者语音转换文字识别),我们不会主动留存您的语音指令信息,更不会用作其他语音控制播放功能以外的用途。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"2.本地内容及生活服务推荐:"),e.createTextVNode("为向您提供或推荐您所在地附近的资讯和所在地相关音视频内容、本地广播和相关电影周边观影场所推荐、经常访问地周边的点餐和其他本地生活服务推荐信息,我们需要您授权"),e.createElementVNode("text",{style:{"font-weight":"600"}},"位置权限(精准地理位置)"),e.createTextVNode("以为您提供上述服务。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"3. 信息预填:"),e.createTextVNode("在部分需要填写您的信息的场景中(如广告落地页等),为优化您的使用体验、简化操作步骤,取得您的授权同意后,我们会将您在NU护理单元绑定的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"手机号码、姓名(如有)"),e.createTextVNode("等信息在相关页面进行预填。若您认为预填信息不准确的,您可以手动进行修改。请您知悉,预填的信息只有在您确认提交后才会被页面指向的个人信息处理者所获取。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 部分情况下该行为可能会被误判为应用自启动,但该行为属于合理使用并非侵犯用户权益的自启动行为。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 您可在您的设备设置中逐项查看上述权限的状态,并可自行决定这些权限随时的开启或关闭。请您注意,"),e.createElementVNode("text",{style:{"font-weight":"600"}},"您开启任一权限即代表您授权我们可以收集和使用相关个人信息来为您提供对应服务,您一旦关闭任一权限即代表您取消了授权,我们将不再基于对应权限继续收集和使用相关个人信息,也无法为您提供该权限所对应的服务。"),e.createTextVNode("但是,您关闭权限的决定不会影响此前基于您的授权所进行的信息收集及使用,亦不影响您使用其他服务。 ")]),e.createElementVNode("view",{style:{"font-size":"31rpx","margin-bottom":"20rpx","font-weight":"600"}}," (九)收集和使用您的个人信息的特别说明 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 1.若你提供的信息中含有其他用户的个人信息,在向我们提供这些个人信息之前,您需确保您已经取得合法的授权。若其中涉及未成年人个人信息的,您需在发布前取得对应未成年人监护人的同意,前述情形下监护人有权通过本政策第九条的途径联系我们,要求更正或删除涉及未成年人个人信息的内容。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 2.若我们将您的个人信息用于本政策未载明的其他用途,或者我们超出了与收集您的个人信息时所声称的目的及具有直接或合理关联范围的,均会事先获得您的同意。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 3. 若我们从第三方处间接获取(如从第三方处共享)您的信息,我们会在收集前明确以书面形式要求该第三方在已依法取得您同意后共享您的个人信息,并向您告知共享的您的个人信息的类型、使用目的、方式、授权同意范围,并要求第三方对个人信息来源的合法性和合规性作出承诺,如第三方存在违反行为,我们会明确要求对方承担相应法律责任。同时,我们的专业安全团队对个人信息会进行安全加固(包括敏感信息报备、敏感信息加密存储、访问权限控制)。我们会使用不低于我们对自身用户个人信息同等的保护手段与措施保护间接获取的个人信息。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 4.征得授权同意的例外 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 您充分理解并同意,根据法律法规要求,我们在以下情况下收集、使用您的个人信息无需征得您的授权同意: "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (1) 为订立、履行个人作为一方当事人的合同所必需; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (2) 为履行法定职责或者法定义务所必需; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (3) 为应对突发公共卫生事件,或者紧急情况下为保护自然人的生命健康和财产安全所必需; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (4) 为公共利益实施新闻报道、舆论监督等行为,在合理的范围内处理个人信息; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (5)在合理的范围内处理个人自行公开或者其他已经合法公开的个人信息; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (6) 法律、行政法规规定的其他情形。 "),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}}," 二、 我们如何使用 Cookie 和同类技术 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 为确保网站正常运转、为您获得更轻松的访问体验、向您推荐您可能感兴趣的内容,我们和第三方合作伙伴可能借助于 Cookie或同类技术收集和使用您访问以及使用我们产品和/或服务的信息,并将该信息进行存储。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 如果您的浏览器或浏览器附加服务允许,"),e.createElementVNode("text",{style:{"font-weight":"600"}},"您可修改对Cookie的接受程度或拒绝我们的Cookie。"),e.createTextVNode("但如果您这么做,在某些情况下可能会影响您安全访问我们的网站,且可能需要在每一次访问我们的网站时更改用户设置。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 当您使用网页浏览使用我们的产品和/或服务时,您可以选择在浏览器的设置中清除Cookie数据,大部分浏览器均为用户提供了该等功能。但请您知悉,当您选择清除后,可能无法使用由我们提供的依赖于Cookie的功能或服务。 "),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}}," 三、我们如何共享、转让和披露您的个人信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (一) 共享 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 除下列情形外,我们不会与任何其他第三方共享您的个人信息。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 1. 在获得您的明确同意或授权或您主动选择的情况下共享。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"2. 在法定情形下的共享。"),e.createTextVNode("我们可能会根据法律法规规定、诉讼争议解决需要,或按行政、司法机关依法提出的要求,对外共享您的个人信息。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"3. 统一账号体系下的共享。"),e.createTextVNode("为便于我们基于统一账号体系为您带来标准化的服务体验、实现安全风控及客户服务之需要,您可以使用NU护理单元账号登录适用统一账号体系下的关联应用产品。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"4. 与合作伙伴共享。"),e.createTextVNode("您授权并同意我们可能委托合作伙伴为您提供某些服务或代表我们履行职能,我们仅会出于本隐私信息保护政策声明的合法、正当、必要、特定、明确的目的共享您的信息。我们将通过协议约束我们的合作伙伴只能接触到为其履行职责所需信息,要求其履行严格的保密和与风险相适应的安全措施来处理您的个人信息、包括但不限于数据保护协议或条款、承诺函等,且不得将您的个人信息用于其他任何目的。如超出共享目的使用您个人信息,我们将要求其另行遵循您的明确同意。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 5. 安全运营。我们将部分个人信息提供给支持我们业务的供应商、服务提供商和其他合作伙伴,以提供技术基础设施服务、分析用户使用方式、支付便利或进行学术研究和调查,进行Bug或者崩溃统计、提升登录体验,实现网关取号。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 6. 商业推广。为了您能更方便地了解和触达我们的资讯、产品/服务促销等信息,我们会向某些第三方网站和应用程序提供"),e.createElementVNode("text",{style:{"font-weight":"600"}},"加密后的设备信息"),e.createTextVNode(",进而在第三方平台为您提供我们的上述市场推广信息,并衡量优化有关我们产品和/或服务的市场推广效果。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 7. 留资广告。当第三方合作伙伴使用我们提供的技术服务向您提供商业信息或其他服务时,经取得您的授权同意,我们将基于第三方合作伙伴的委托处理您主动填写或提供的个人信息,请以相应页面内的信息收集使用提示文本为准。"),e.createElementVNode("text",{style:{"font-weight":"600"}},"请您知悉,该等情形下,第三方合作伙伴为个人信息处理者。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 请您放心,除得到您的明确同意,我们不会将可以联系或识别您身份的个人信息与授权合作伙伴共享,我们将能够识别您身份的个人信息进行去标识化处理,以便授权合作伙伴无法识别您的具体身份。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" NU护理单元产品中包含我们的合作伙伴提供的SDK插件。"),e.createElementVNode("text",{style:{"font-weight":"600"}},"当您在NU护理单元中使用该授权合作伙伴提供的相关服务,该等服务插件将收集和处理您的相关个人信息,详见附件:《NU护理单元与第三方共享个人信息清单》,我们强烈建议您在使用在使用我们的产品和/或服务前先行查看并了解其隐私条款。"),e.createTextVNode("我们会对合作伙伴获取有关信息的应用程序接口(API)、软件工具开发包(SDK)进行严格的安全检测,审慎评估服务提供商使用您个人信息的目的,并与合作伙伴通过签署协议的方式约定严格的数据保护措施,要求其按照我们的委托目的、服务说明以及其他任何相关的保密和安全措施来处理个人信息。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (二) 转让、公开披露 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 我们不会将您的个人信息转让给任何公司、组织和个人,但以下情况除外: "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 1. 在获取您明确同意的情况下转让; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 2. 在NU护理单元及其关联公司发生重组、合并、分立、收购、资产出售或破产清算情形或其他类似情形时,如涉及到个人信息转让,我们将要求受让方采用与本政策相同或更高的标准和要求进行处理和保护,否则我们将要求受让方重新向您征求同意。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 除符合法律法规的规定进行公开披露或获得您单独同意外,我们不会公开披露您未自行公开或者其他未合法公开的个人信息。且在我们公开披露您的个人信息前会进行个人信息保护影响评估,并采用符合行业内标准的安全保护措施进行处理。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (三) 共享、转让、披露个人信息时事先征得授权同意的例外 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 以下情形中,共享、转让、公开披露您的个人信息无需事先征得您的授权同意: "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 1.与国家安全、国防安全有关的; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 2.与公共安全、公共卫生、重大公共利益有关的; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 3.与犯罪侦查、起诉、审判和判决执行有关的; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 4.出于维护您或其他个人的生命、财产重大合法权益但又很难得到本人同意的; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 5.您自行向社会公众公开的个人信息; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 6.从合法公开披露的信息中收集个人信息的,包括合法的新闻报道、政府信息公开渠道; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 7.履行其他履行法律法规规定的相关义务,如促成在线知识产权纠纷解决。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 根据法律规定,当共享、转让经采取技术措施处理的个人信息,使得数据接收方无法复原并重新识别特定个人身份时,我们将不会另行向您通知并征得您的同意。 "),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}}," 四、 我们如何存储您的个人信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (一) 存储地点 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 我们在中华人民共和国境内运营中收集和产生的个人信息,存储在中国境内。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 目前我们暂时不存在跨境存储您的个人信息或向境外提供您的个人信息的情况。如果确有必要进行数据的跨境传输,我们会单独向您明确告知(包括数据出境的目的、接收方、使用方式与范围、使用内容、安全保障措施、安全风险等),并征得您的明确授权同意,我们会确保数据接收方有充足的数据保护能力来保护您的个人信息,并严格按照适用法律法规的规定执行。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 针对以上情形,我们会确保依据本政策对您的个人信息提供足够的保护。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (二)存储期限 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 我们只会在达成本政策所述目的所需的最短期限内保留您的个人信息,除非法律法规有强制的存留要求,例如,根据《电子商务法》及配套法规的要求,您的订单类交易数据的保存时间自交易完成之日起不少于三年。我们判断前述期限的标准主要包括并以其中较长者为准: "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 1、完成与您相关的服务目的、维护相应服务及业务记录、应对您可能的查询或投诉; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 2、保证我们为您提供服务的安全和质量; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 3、您是否同意更长的留存期间; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 4、是否存在保留期限的其他特别约定。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 在您的个人信息超出保留期限后,我们会根据适用法律的要求删除或者匿名化处理您的个人信息。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (三) 删除和匿名化处理 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 如本平台服务决定停止运营时,我们将在相关服务停止运营后停止继续收集您的个人信息。我们将以公告形式将停止运营通知向您送达。对已持有您的个人信息,我们将进行删除或匿名化处理,除非法律法规另有规定。涉及未成年人个人信息的,我们会采取必要合理方式及时将停止运营的通知及时告知未成年人监护人。 "),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}}," 五、我们如何保护您的个人信息安全 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 为保障您的信息安全,我们努力采取各种符合业界标准的合理的物理、电子和管理方面的安全措施来保护您的信息,使您的信息不会被泄漏、毁损或者丢失。为确保您的个人信息安全,我们承诺将尽合理商业努力达到通行或者更高的安全水平: "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (一) 技术安全防护 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 我们将采取的技术安全措施包括但不限于SSL、信息加密存储、数据中心的访问控制。我们会使用加密技术提高个人信息的安全性;使用受信赖的保护机制防止个人信息遭到恶意攻击。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (二) 安全体系保证 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 我们有行业先进的以数据为核心,围绕数据生命周期进行的数据安全管理体系,从组织建设、制度设计、人员管理、产品技术方面多维度提升整个系统的安全性。目前,NU护理单元已通过网络安全等级保护的三级测评。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (三) 人员安全管理 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 我们对可能接触到您的信息的员工或外包人员采取了严格管理,包括但不限于根据不同岗位分配不同访问权限的控制机制,并签署保密协议,实时记录并掌握操作情况等。我们会举办安全和隐私保护培训课程,加强员工对于保护个人信息重要性的认识。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (四) 敏感信息及密码保护提示 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"1. 敏感个人信息保护:"),e.createTextVNode("您在使用我们服务时自愿共享甚至公开分享的信息,可能会涉及您或他人的个人信息甚至"),e.createElementVNode("text",{style:{"font-weight":"600"}},"敏感个人信息,例如您上传的头像图片,您在评论、发弹幕时选择上传包含个人信息的图片。"),e.createTextVNode("请您更加谨慎地考虑,是否在使用我们的服务时共享甚至公开分享相关信息。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"2. 您的账户均有安全保护功能,请妥善保管您的账户及密码信息。"),e.createTextVNode("我们将通过向其它服务器备份、对用户密码进行加密以及其他安全措施确保您的信息不丢失,不被滥用和变造。此外,请您尽量使用"),e.createElementVNode("text",{style:{"font-weight":"600"}},"复杂密码"),e.createTextVNode(",协助我们保证您的账号安全。我们将尽力保障您发送给我们的任何信息的安全性。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" "),e.createElementVNode("text",{style:{"font-weight":"600"}},"但请您知悉,互联网并非绝对安全的环境。"),e.createTextVNode("尽管有前述安全措施,但同时也请您理解在网络上不存在“完善的安全措施”。故请您妥善保护自己的个人信息,仅在必要的情形下向他人提供。如您发现自己的个人信息泄露,尤其是您的账户及密码发生泄露,请您立即联络我们客服,以便我们采取相应措施。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (五) 信息安全事件处理 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 在不幸发生个人信息安全事件时,我们将按照法律法规的要求向您告知:安全事件的基本情况和可能的影响、我们已采取或将要采取的处置措施、您可自主防范和降低风险的建议、对您的补救措施。事件相关情况我们将以邮件、电话、推送通知、短消息的方式告知您,难以逐一告知个人信息主体时,我们会采取合理、有效的方式发布公告。同时,我们还将按照监管部门要求,上报个人信息安全事件的处置情况。 "),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}}," 六、 我们如何保护未成年人的个人信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 若您是未满18周岁的未成年人,您应在您的监护人监护、指导下并获得监护人同意的情况下,认真阅读并同意本政策后,方可使用我们的服务或向我们提供信息。若您未取得监护人的同意,监护人可以通过联系本政策第九节中提供的联系方式通知我们处理相关账号,我们有权对相关账号的功能、使用进行限制,包括但不限于浏览、发布信息、互动交流等功能。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 我们非常重视对未成年人的个人信息保护,未成年用户在填写个人信息时,请加强个人保护意识并谨慎对待,并应在取得监护人的同意以及在监护人指导下正确使用我们提供的产品及相关服务。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 未成年人用户及其监护人理解并确认,如您违反法律法规、本政策内容,则您及您的监护人应依照法律规定承担因此而可能导致的全部法律责任。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 我们在应用内专门为未成年人提供了青少年模式,监护人应为未成年人选择使用青少年模式。同时,我们为14周岁以下的儿童制定了专门的隐私保护政策,如您为儿童,我们要求您请您的父母或其他监护人仔细阅读本隐私信息保护政策及《儿童隐私政策》,并在征得您的父母或其他监护人明确同意的前提下使用我们的服务或向我们提供信息。对于经父母或其他监护人同意使用我们的产品或服务而收集儿童个人信息的情况,我们只会在法律法规允许、父母或监护人明确同意或者保护未成年人所必要的情况下使用、共享、转让或披露此信息。如您的父母或其他监护人不同意您按照本政策使用我们的服务或向我们提供信息,请立即终止使用我们的服务并及时通知我们,以便我们采取相应的措施,如果监护人发现我们在未获监护人同意的情况下收集了未成年人的个人信息,可通过第九节中的联系方式与我们联系,我们会设法尽快删除相关数据。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 未成年人个人信息的保护将同样适用于严格的个人信息访问权限控制制度和个人信息处理记录与管控措施我们始终遵循最小够用的授权原则,采取相应技术措施以尽可能避免未成年人个人信息被违法复制、下载。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 我们已制定的个人信息安全事件应急预案将同样适用于对未成年人个人信息的保护。我们定期组织内部相关人员进行应急响应培训和应急演练,使其掌握岗位职责和应急处置策略和规程。在不幸发生未成年人个人信息安全事件后,我们将按照法律法规的要求,及时向未成年人及其监护人告知:安全事件的基本情况和可能的影响、我们已采取或将要采取的处置措施、未成年人及其监护人可自主防范和降低风险的建议、对未成年人及其监护人的补救措施。我们将及时将事件相关情况以APP推送通知、发送邮件/短消息的方式告知未成年人及其监护人。难以逐一告知时,我们会采取合理、有效的方式发布相关警示信息。同时,我们还将按照监管部门要求,主动上报未成年人个人信息安全事件的处置情况。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 若您是未成年人的父母或其他监护人,请您关注您监护的未成年人是否是在取得您的授权同意之后使用我们的服务。如您对您所监护的未成年人的个人信息有疑问,请通过第九节中的联系方式与我们联系。 "),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}}," 七、 您如何行使您的个人信息权利 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 我们通过提供便捷的方法,让您可以访问、更正及删除自己的账户信息或使用我们的服务时您提供的其他个人信息。您可以通过如下方式访问及管理您的个人信息,但我们在不同的版本或操作系统中提供的管理方式路径可能存在差异,请以实际为准。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (一) 访问您的个人信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 您有权访问您的个人信息,但法律法规规定的例外情况除外。您可以通过以下方式自行访问您的个人信息: "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 账户信息——如果您希望访问或编辑您的账户中的账户信息、更改您的密码或关闭您的账户,您可以登录账号通过“账号管理”执行此类操作;例如您可以登录PC端或APP端“我的-设置-账号与安全”查询、修改自己的账号绑定情况、设置/修改密码、查看最近登录设备。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 资料信息——如果您希望访问或编辑您的账户中的个人资料,您可以通过在App端“我的-头像-编辑资料”来添加、修改、删除您的头像、昵称、性别、生日、地区、声音签名、简介。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 如果您无法通过上述方式访问您的个人信息,您可以随时通过本政策披露的联系方式联系我们,我们将在十五个工作日内回复您的请求。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (二) 更正或补充您的个人信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 当您发现我们处理的关于您的个人信息有错误时,您有权要求我们做出更正或补充。您可以通过“(一)访问您的个人信息”中列明的方式提出更正或补充申请。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 如果您无法通过上述方式访问您的个人信息或者其他可能目前无法向您提供在线自行更正/修改服务的,您可以随时通过本政策披露的联系方式联系我们,我们将在十五个工作日内回复您的请求。经过对您身份的验证,且更正/修改不影响信息的客观性和准确性的情况下,您有权对错误或不完整的信息作出更正或修改,但法律法规另有规定的除外。出于安全性和身份识别的考虑,您可能无法修改注册时提交的某些初始注册信息。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (三) 删除您的个人信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 您有权通过“(一)访问您的个人信息”中列明的方式对已经填写的信息进行删除。同时,在以下情形中,您可以通过本政策披露的联系方式联系我们,向我们提出删除个人信息的请求,我们将在十五个工作日内回复您的请求: "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 1.如果我们处理个人信息的行为违反法律法规; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 2.如果我们收集、使用您的个人信息,却未征得您的明确同意; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 3.如果我们处理个人信息的行为严重违反与您的约定; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 4.如果您不再使用我们的产品或服务,或您主动注销账号; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 5.如果我们永久不再为您提供产品或服务 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 若我们决定响应您的删除请求,我们还将同时尽可能通知从我们处获得您的个人信息的主体,要求其及时删除,除非法律法规另有规定,例如您所提供的订单类交易数据,将会基于法律法规要求至少保留3年,或这些主体获得您的独立授权。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (四) 个人信息副本获取 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 如您需要您的个人信息的副本,您可以通过本隐私政策文末提供的方式联系我们,在核实您的身份后,我们将向您提供您在我们的服务中的个人信息副本(包括基本资料、身份信息),但法律法规另有规定的或本政策另有约定的除外。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (五) 改变您授权同意的范围 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 您可在您的设备系统设置-应用-APP名称-权限中逐项查看您授权同意权限的状态,或在NU护理单元App内通过“我的-设置-隐私管理-系统权限”查看并可自行决定这些权限随时的开启或关闭。对于不同功能服务中个人信息的收集和使用,您也可以与NU护理单元客服联系给予或收回您的授权同意,我们将在十五个工作日内回复您的请求。"),e.createElementVNode("text",{style:{"font-weight":"600"}},"当您撤回同意后,我们将不再处理相应的个人信息,我们将无法继续为您提供撤回同意或授权所对应的服务。但您撤回同意的决定,不会影响此前基于您的授权而开展的个人信息处理。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (六) 注销账户 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 当您注销账号后,您将无法再以该账号登录和使用我们的产品与服务;且该账号在使用我们的产品与服务期间已产生的但未消耗完毕的权益及未来的预期利益等全部权益将被清除;该账号下的内容、信息、数据、记录等将会被删除或匿名化处理,但法律法规另有规定或监管部门另有要求的除外;您的账号注销完成后,将无法恢复。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 如您在谨慎考虑后仍决定注销您的账号的,您可以在您使用的我们的产品与/或服务的相关功能设置页面或根据操作指引向我们提交注销申请,例如,您可以通过“我的-设置-账号与安全-注销账户”自行在“注销账户”页面提交账户注销申请。若未能申请成功,您也可联系NU护理单元客服,我们将在十五个工作日内回复您的请求。在您主动注销账户之后,我们将停止为您提供产品或服务。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (七) 限制自动化决策 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 在NU护理单元App端,您可以通过“我的-设置-隐私管理-个性化内容推荐/个性化广告推荐”选择是否使用我们提供的个性化服务。此外,在某些业务功能中,经向您告知并取得同意后,我们可能仅依据信息系统、算法在内的非人工自动决策机制做出决定。如果您认为这些决定显著影响您的合法权益,您有权通过本政策披露的联系方式要求我们做出解释,我们也将在十五个工作日内回复您的请求,为您提供申诉方法。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (八) 退订 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 如您发现收到了不属于您主动搜索、浏览的视频内容和产品、服务信息推送。如您不希望接收上述信息,可通过原路径进行退订,例如短信推送可以直接回复相关的退订口令。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (九) 投诉 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 您有权通过本政策披露的联系方式联系我们进行投诉。我们将在收到您投诉之日起十五个工作日内做出答复。如果您对我们的答复不满意,特别是我们的个人信息处理行为损害了您的合法权益,您还可以向网信、公安、工商等监管部门进行投诉或举报,或向有管辖权法院提起诉讼,但我们希望您能够首先就相关问题与我们取得联系。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," (十) 响应您的上述请求 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 为保障安全,您可能需要提供书面请求,或以其他方式证明您的身份。我们可能会先要求您验证自己的身份,然后再处理您的请求。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 对于您合理的请求,我们原则上不收取费用。但对多次重复、超出合理限度的请求,我们将视情收取一定成本费用。对于那些无端重复、需要过多技术手段(例如需要开发新系统或从根本上改变现行管理)、给他人合法权益带来风险或者非常不切实际的请求,我们可能会予以拒绝。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 此外,如果您的请求直接涉及国家安全、国防安全、公共卫生、犯罪侦查等和公共利益直接相关的事由,或者可能导致您或者其他个人、组织的合法权益受到严重损害,或者基于NU护理单元履行法律法规规定的义务相关的情形,或者有充分证据标明您存在主观恶意或滥用权利,或者响应您的请求将导致您或者其他个人、组织的合法权益受到严重损害的,我们将无法响应您的请求。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 如果您无法通过上述方式访问您的个人信息,您都可以通过第九节中的联系方式与我们取得联系,我们将在十五个工作日内回复您的权利响应请求。 "),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}}," 七:您如何行使您的个人信息权利 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode(" 您理解,您与NU护理单元签署的本政策所列明的条款,并不能完全涵盖您与NU护理单元所有的关于个人信息的权利和义务。因此,"),e.createElementVNode("text",{style:{"font-weight":"600"}},"NU护理单元公布其他声明(包括但不限于页面提示、新签署文件、弹窗、网站公告或站内信等)、各形式规则均视为本政策之补充条款,为本政策不可分割的组成部分,与本政策具有同等法律效力。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 未经您明确同意,我们不会限制您按照本政策所应享有的权利。我们将在NU护理单元专门链接上发布对隐私权政策所做的任何变更和更新。对于重大变更,我们还会提供更为显著的通知(包括通过平台公示通知甚至向您进行弹窗提示)。本政策所指的重大变更包括但不限于: "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 1.我们的服务模式发生重大变化。如处理个人信息的目的、处理的个人信息类型、个人信息的使用方式; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 2.我们在控制权方面发生重大变化。如并购重组引起的所有者变更; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 3.个人信息共享、转让或公开披露的主要对象发生变化; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 4.您参与个人信息处理方面的权利及其行使方式发生重大变化; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 5.我们负责处理个人信息安全的责任部门、联络方式及投诉渠道发生变化时。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},' 为了您能及时接收到通知,建议您在您个人的联系方式更新时及时通知我们。如您在本政策更新生效后继续使用我们的服务,即代表您已充分阅读、理解并接受更新后的政策并愿意受更新后的政策约束。我们鼓励您在每次使用我们服务时都查阅本政策。您可以在NU护理单元APP通过"首页-我的-设置-隐私政策"中查看本政策。 '),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}}," 八、如何联系我们 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 您可以通过以下方式与我们联系,我们将在十五个工作日内回复您的请求: "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 我们设立了个人信息保护专职部门,如您对NU护理单元隐私信息保护政策、儿童个人信息有任何疑问、意见或建议,或有关于网络信息安全的投诉和举报,您可通过以下方式与我们取得联系: "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 我们收件地址:长春市经济开发区长吉南线以东、吉林大路以南东方广场中意国际大厦B座1431号; "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 联系人:NU护理单元客服部 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 联系方式:18043530712 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 联系邮箱:service@blxinchuang.com "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 本政策签订地为中华人民共和国吉林省长春市,因本政策生效、履行、解释及使用NU护理单元产品和/或服务而产生或与本政策相关的一切争议、权利主张或其他事项,均适用中华人民共和国法律(为本政策之目的,港澳台地区法律不在此列)。您与NU护理单元及其关联公司或NU护理单元发生的一切争议,应友好协商,如协商不成的,您同意双方通过将争议提交本政策签订地有管辖权的法院解决。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}}," 请您再次确认您已全部阅读并充分理解上述条款。 ")])])}],["__scopeId","data-v-85e00dee"]]),v="https://www.focusnu.com/opeapi",p=e=>{let t=e.url,a=e.method||"get",i=e.data||{},r={"X-Access-Token":uni.getStorageSync("token")||"","Content-Type":"application/json;charset=UTF-8",Authorization:"Basic c2FiZXI6c2FiZXJfc2VjcmV0",...e.header};return new Promise(((e,n)=>{uni.request({url:/^https?:\/\//.test(t)?t:v+t,method:a,header:r,data:i,timeout:5e3,success(a){const r=a;if(200==r.statusCode)e(r.data);else switch(l("log","at request/index.js:36","http",/^https?:\/\//.test(t)?t:v+t),l("log","at request/index.js:37","res",a),l("log","at request/index.js:38","data",i),r.statusCode){case 401:uni.showModal({title:"提示",content:"登录过期",showCancel:!1,success(){uni.clearStorageSync(),setTimeout((()=>{uni.navigateTo({url:"/pages/login/login"})}),1e3)}});break;case 404:uni.showToast({title:"请求地址不存在...",duration:2e3});break;default:uni.showToast({title:"请重试...",duration:2e3})}},fail(e){l("log","at request/index.js:71",e),-1!==e.errMsg.indexOf("request:fail")?uni.showToast({title:"网络异常",icon:"error",duration:2e3}):uni.showToast({title:"未知异常",duration:2e3}),n(e)},complete(){uni.hideLoading(),uni.hideToast()}})})).catch((()=>{}))},g=s({__name:"huakuai",emits:["success"],setup(t,{emit:a}){const i=a,r=100,n=e.ref(400),o=e.ref(400),c=e.ref(0),s=e.ref(0),d=e.ref(0),u=e.ref(!1),m=e.ref(0),v=e.ref(""),p=e.getCurrentInstance();const g=`path('${w=r,`\n M20 0\n h${w/3-20}\n a20 20 0 0 1 0 40\n h${w/3}\n a20 20 0 0 0 0 -40\n h${w/3-20}\n v${w/3-20}\n a20 20 0 0 1 -40 0\n v${w/3}\n a20 20 0 0 0 40 0\n v${w/3-20}\n h-${w/3-20}\n a20 20 0 0 1 0 -40\n h-${w/3}\n a20 20 0 0 0 0 40\n h-${w/3-20}\n z\n `}')`;var w;function h(){e.nextTick((()=>{p?uni.createSelectorQuery().in(p.proxy).select(".bg-image").boundingClientRect((e=>{e?(n.value=2*e.width,o.value=2*e.height,c.value=Math.random()*(n.value-200)+r,c.value<100&&(c.value=100),c.value>400&&(c.value=400),s.value=o.value/2,d.value=0):l("error","at component/public/huakuai.vue:115","无法获取图片尺寸")})).exec():l("error","at component/public/huakuai.vue:107","无法获取组件实例")}))}function y(e){u.value=!0,m.value=2*e.touches[0].clientX}function N(e){if(!u.value)return;let t=2*e.touches[0].clientX-m.value;t=Math.max(0,Math.min(t,n.value-r)),d.value=t}function f(){u.value=!1,Math.abs(d.value+47-c.value)<20?(uni.showToast({title:"验证成功",icon:"none",duration:2e3}),i("success")):(d.value=0,uni.showToast({title:"验证失败",icon:"none",duration:2e3}))}return e.onMounted((()=>{const e=["https://www.focusnu.com/media/directive/login/0.png","https://www.focusnu.com/media/directive/login/1.png","https://www.focusnu.com/media/directive/login/2.png"];v.value=e[Math.floor(Math.random()*e.length)],l("log","at component/public/huakuai.vue:172","加载图片:",v.value)})),(t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"captcha-container",id:"container"},[e.createElementVNode("view",{class:"font-title"},"请通过滑块验证"),e.createElementVNode("view",{class:"captcha-image",style:{position:"relative",width:"100%",height:"400rpx",overflow:"hidden"}},[e.createElementVNode("image",{src:v.value,class:"bg-image",mode:"widthFix",onLoad:h},null,40,["src"]),e.createElementVNode("view",{class:"overlay",style:e.normalizeStyle({width:n.value+"rpx",height:o.value+"rpx"})},[e.createElementVNode("view",{class:"hole",style:e.normalizeStyle({top:s.value+"rpx",left:c.value+"rpx",width:"100rpx",height:"100rpx",clipPath:g,transform:"translate(-50%, -50%)",backgroundColor:"rgba(0,0,0,0.6)"})},null,4),e.createElementVNode("view",{class:"piece",style:e.normalizeStyle({top:s.value+"rpx",left:d.value+47+"rpx",width:"100rpx",height:"100rpx",backgroundImage:`url(${v.value})`,backgroundSize:n.value+"rpx "+o.value+"rpx",backgroundPosition:`-${c.value-45}rpx -${s.value-50}rpx`,clipPath:g,transform:"translate(-50%, -50%)"})},null,4)],4)]),e.createElementVNode("view",{class:"slider-bar"},[e.createElementVNode("view",{class:"slider-bar-font"},"向右滑动滑块填充拼图"),e.createElementVNode("view",{class:"slider-button",ref:"btn",onTouchstart:y,onTouchmove:N,onTouchend:f,style:e.normalizeStyle({left:d.value+"rpx",maxWidth:n.value-r+"rpx"})},[e.createElementVNode("image",{src:"https://www.focusnu.com/media/directive/login/right.png",style:{width:"50rpx",height:"50rpx"},mode:"widthFix"})],36)])]))}},[["__scopeId","data-v-ca7ea5fb"]]),w=s(e.defineComponent({__name:"login",setup(a){const i=e.ref(null),n=e.ref(!1),s=e.ref(!1),v=e.reactive({username:"",password:"",captcha:"",checkKey:0}),w=e.reactive({oldpassword:"",newpassword:""}),h=e.computed((()=>{return v.password&&("string"==typeof(e=v.username)&&11===e.length);var e})),y=e.ref(!1);function N(){T.value=!1,n.value=!0,z()}function f(){y.value=!1,uni.setStorageSync("appWgtVersion",uni.getSystemInfoSync().appWgtVersion)}function E(){plus.runtime.quit()}const V=e=>{uni.navigateTo({url:e})},x=e.ref(!1),k=e.ref(0),b=e.ref([]),S=()=>{var e;/^\d{11}$/.test(v.username)?(e=v.username,p({url:`/api/pad/loginApi/getAdvisoryInfo?tel=${encodeURIComponent(e)}`,method:"get"})).then((e=>{l("log","at pages/login/login.vue:205","啥啊",e),"0"==e.result.code?(uni.setStorageSync("serverUrl",e.result.orgList[0].serverUrl),uni.setStorageSync("orgList",e.result.orgList),uni.setStorageSync("orgListName",e.result.orgList[0].departName),uni.setStorageSync("orgListCode",e.result.orgList[0].orgCode),b.value=e.result.orgList,k.value=Date.now(),(e=>p({url:`${uni.getStorageSync("serverUrl")}/sys/randomCode/${e}`,method:"get"}))(k.value).then((e=>{l("log","at pages/login/login.vue:216","啥啊",e),v.captcha=e.message,x.value=!0}))):(uni.setStorageSync("serverUrl",""),uni.setStorageSync("orgListName",""),uni.setStorageSync("orgListCode",""),b.value=[],uni.showToast({title:e.result.msg,icon:"none",duration:2e3}),x.value=!1)})):v.username&&uni.showToast({title:"手机号不足11位",icon:"none",duration:2e3})},T=e.ref(!1),C=e.ref(!1),B=e.ref(!1),D=e.ref(!1),z=()=>{n.value?s.value=!0:T.value=!0},I=e.ref(!1),F=()=>{I.value||(2===_.value?setTimeout((()=>{V("/pages/watch/index")}),500):_.value++,I.value=!0)},_=e.ref(0),U=e.ref(!1),$=()=>{var e;v.checkKey=k.value,s.value=!1,(e=v,p({url:`${uni.getStorageSync("serverUrl")}/sys/login`,method:"post",data:e})).then((e=>{l("log","at pages/login/login.vue:297","info",e),e.success?(uni.showToast({title:e.message,icon:"none",duration:500}),uni.setStorageSync("token",e.result.token),uni.setStorageSync("username",v.username),uni.setStorageSync("realname",e.result.userInfo.realname),2===_.value?b.value.length>1?(s.value=!1,U.value=!0):setTimeout((()=>{V("/pages/watch/index")}),500):_.value++):uni.showToast({title:e.message,icon:"none",duration:2e3})}))};return o((()=>{var e,l;uni.getStorageSync("appWgtVersion")!=uni.getSystemInfoSync().appWgtVersion&&(y.value=!0),uni.getStorageSync("token")&&1!==uni.getStorageSync("token")&&(2===_.value?setTimeout((()=>{V("/pages/watch/index")}),500):_.value++),t("MonitorModule").initSMBCloudSDK(),e=t("MonitorModule"),l={userName:"admin",password:"Bl20230518",serverAddress:"121.36.88.64",port:8888},e.cloudLoginIn(l,(e=>{2===_.value?setTimeout((()=>{V("/pages/watch/index")}),500):_.value++}))})),r((()=>{var e;null==(e=i.value)||e.check_update()})),(t,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("view",{class:"backgroundContainer"},[e.createElementVNode("image",{class:"title-img",src:"/static/index/superNu.png"}),e.createElementVNode("view",{class:"input-father"},[e.createElementVNode("view",{class:"add"},"+86"),e.createElementVNode("view",{class:"shu"}),e.withDirectives(e.createElementVNode("input",{style:{"font-size":"27rpx",height:"350rpx"},type:"number","onUpdate:modelValue":l[0]||(l[0]=e=>v.username=e),maxlength:"11",placeholder:"请输入手机号",onBlur:S},null,544),[[e.vModelText,v.username]])]),e.createElementVNode("view",{class:"input-father"},[e.withDirectives(e.createElementVNode("input",{class:"password",password:"",type:"text","onUpdate:modelValue":l[1]||(l[1]=e=>v.password=e),maxlength:"15",placeholder:"请输入密码"},null,512),[[e.vModelText,v.password]])]),e.withDirectives(e.createElementVNode("view",{class:"input-father-gray"}," 验证并登录 ",512),[[e.vShow,!h.value||!x.value]]),e.withDirectives(e.createElementVNode("view",{class:"input-father-blue",onClick:l[2]||(l[2]=e=>z())}," 验证并登录 ",512),[[e.vShow,h.value&&x.value]]),e.createElementVNode("view",{class:"under-container-title"},[e.createElementVNode("view",{class:e.normalizeClass(n.value?"radio-circle-target":"radio-circle"),onClick:l[3]||(l[3]=e=>n.value=!n.value)},null,2),e.createElementVNode("view",{style:{"margin-left":"17rpx"},class:"radio-circle-font",onClick:l[4]||(l[4]=e=>n.value=!n.value)},"我已阅读并同意"),e.createElementVNode("view",{class:"radio-circle-blue",onClick:l[5]||(l[5]=e=>{B.value=!0,D.value=!0})}," 《用户协议》 "),e.createElementVNode("view",{class:"radio-circle-blue",onClick:l[6]||(l[6]=e=>{B.value=!0,D.value=!1})}," 《隐私政策》 ")])]),y.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"popup-wrapper",style:{"z-index":"999"}},[e.createElementVNode("view",{class:"mask"}),e.createElementVNode("view",{class:"box"},[e.createElementVNode("view",{class:"box-title"}," 服务条款和隐私保护提示 "),e.createElementVNode("view",{class:"font-father"},[e.createElementVNode("view",{class:""}," 欢迎使用护理单元app! "),e.createElementVNode("view",{style:{"text-indent":"2em"}},[e.createTextVNode(" 我们将通过"),e.createElementVNode("text",{class:"text-blue",onClick:l[7]||(l[7]=e=>{B.value=!0,D.value=!0})},"《用户协议》"),e.createTextVNode("和"),e.createElementVNode("text",{class:"text-blue",onClick:l[8]||(l[8]=e=>{B.value=!0,D.value=!1})},"《隐私政策》"),e.createTextVNode(",帮助您了解我们为您提供的服务、我们如何处理个人信息以及您享有的权利。我们会严格按照相关法律法规要求,采取各种安全措施来保护您的个人信息。 ")]),e.createElementVNode("view",{style:{margin:"30rpx 0"}}," 点击“同意”按钮,表示您已知情并同意以上协议和以下约定。 ")]),e.createElementVNode("view",{class:"gray-box-bgc"},[e.createElementVNode("scroll-view",{style:{width:"100%",height:"100%"},"scroll-y":"","show-scrollbar":!0},[e.createElementVNode("view",{style:{"margin-bottom":"10rpx"}}," 1、服务条款与隐私政策确认:登录即表示您已阅读并同意《NU 护理单元用户服务协议》及《NU 护理单元隐私信息保护政策》,其中包含对您权利义务、个人信息处理的详细说明。 "),e.createElementVNode("view",{style:{"margin-bottom":"10rpx"}}," 2、账号使用规范:账号仅限本人使用,禁止恶意注册、转借或泄露。请妥善保管账号密码,因保管不善导致的账号安全问题,由您自行承担责任。 "),e.createElementVNode("view",{style:{"margin-bottom":"10rpx"}}," 3、内容发布责任:您在平台发布的内容需遵守法律法规,不得包含不良信息或侵犯他人权益的内容。发布利用新技术制作的非真实信息时,须显著标识。 "),e.createElementVNode("view",{style:{"margin-bottom":"10rpx"}}," 4、个人信息保护:我们将依法收集、使用您的个人信息(如手机号用于注册登录),您可通过 “我的 - 设置 - 隐私管理” 查看、修改授权,也可申请注销账号(注销后相关数据将按规定处理)。 "),e.createElementVNode("view",{style:{"margin-bottom":"10rpx"}}," 5、未成年人使用提示:未满 18 周岁用户需在监护人同意后使用,监护人可联系客服人员处理未成年人账号相关事宜,我们将严格保护未成年人信息。 ")])]),e.createElementVNode("view",{class:"blue-button",onClick:f},"同意"),e.createElementVNode("view",{class:"white-button",onClick:E},"不同意")])])):e.createCommentVNode("",!0),B.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"popup-any"},[e.createElementVNode("view",{class:"mask",onClick:l[9]||(l[9]=e=>B.value=!1)}),e.createElementVNode("view",{class:"box-any"},[e.createElementVNode("view",{class:"title-left"},[e.createElementVNode("image",{class:"back-img",src:c,onClick:l[10]||(l[10]=e=>B.value=!1)}),D.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"back-font"},"NU护理单元隐私信息保护政策")),D.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"back-font"},"NU护理单元用户服务协议")):e.createCommentVNode("",!0)]),D.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(m,{key:0})),D.value?(e.openBlock(),e.createBlock(u,{key:1})):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),T.value?(e.openBlock(),e.createElementBlock("view",{key:2,class:"popup-wrapper"},[e.createElementVNode("view",{class:"mask",onClick:l[11]||(l[11]=e=>T.value=!1)}),e.createElementVNode("view",{class:"box-small"},[e.createElementVNode("view",{class:"box-title",style:{"margin-top":"30rpx"}}," 请阅读并同意以下条款 "),e.createElementVNode("view",{class:"font-father"},[e.createElementVNode("text",{class:"text-blue",onClick:l[12]||(l[12]=e=>{B.value=!0,D.value=!0})},"《用户协议》"),e.createElementVNode("text",{class:"text-blue",onClick:l[13]||(l[13]=e=>{B.value=!0,D.value=!1})},"《隐私政策》")]),e.createElementVNode("view",{class:"blue-button",onClick:N},"同意并继续")])])):e.createCommentVNode("",!0),C.value?(e.openBlock(),e.createElementBlock("view",{key:3,class:"popup-wrapper"},[e.createElementVNode("view",{class:"mask"}),e.createElementVNode("view",{class:"box-change"},[e.createElementVNode("view",{class:"box-title"}," 修改账户登录密码 "),e.createElementVNode("view",{class:"input-father"},[e.withDirectives(e.createElementVNode("input",{class:"password",password:!1,"onUpdate:modelValue":l[14]||(l[14]=e=>w.oldpassword=e),maxlength:"15",placeholder:"请输入新密码"},null,512),[[e.vModelText,w.oldpassword]])]),e.createElementVNode("view",{class:"input-father"},[e.withDirectives(e.createElementVNode("input",{class:"password",password:!1,"onUpdate:modelValue":l[15]||(l[15]=e=>w.newpassword=e),maxlength:"15",placeholder:"请再次输入新密码"},null,512),[[e.vModelText,w.newpassword]])]),e.createElementVNode("view",{class:"blue-button",style:{"margin-top":"80rpx"},onClick:l[16]||(l[16]=e=>C.value=!1)},"确定")])])):e.createCommentVNode("",!0),e.createVNode(d,{ref_key:"zyupgrade",ref:i,noticeflag:!0,theme:"blue",h5preview:!1,oldversion:"1.0.0",appstoreflag:!0,autocheckupdate:!0,onShowupdateTips:F},null,512),s.value?(e.openBlock(),e.createElementBlock("view",{key:4,class:"bg-mask",onClick:l[18]||(l[18]=e=>s.value=!1)},[e.createVNode(g,{onClick:l[17]||(l[17]=e.withModifiers((()=>{}),["stop"])),onSuccess:$})])):e.createCommentVNode("",!0),U.value?(e.openBlock(),e.createElementBlock("view",{key:5,class:"bg-mask"},[e.createElementVNode("view",{onClick:l[19]||(l[19]=e.withModifiers((()=>{}),["stop"])),class:"white-select"},[e.createElementVNode("view",{class:"big-font"}," 请选择您的机构 "),e.createElementVNode("view",{class:""},[e.createElementVNode("view",{class:"small-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"small-select",onClick:e=>(e=>{uni.setStorageSync("serverUrl",e.serverUrl),uni.setStorageSync("orgListName",e.departName),uni.setStorageSync("orgListCode",e.orgCode),setTimeout((()=>{V("/pages/watch/index")}),500)})(t)},e.toDisplayString(t.departName),9,["onClick"])))),256))])])])])):e.createCommentVNode("",!0)],64))}}),[["__scopeId","data-v-5f301d58"]]),h=s(e.defineComponent({__name:"index",setup(t){e.ref(!1);const l=e.ref(null),a=[{name:"初始化",url:"/pages/Initialization/index"},{name:"护理单元",url:"/pages/Nursing/index"},{name:"仓库",url:"/pages/Warehousing/index"}];return o((e=>{})),r((()=>{var e;null==(e=l.value)||e.check_update()})),(t,i)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("view",{class:"backgroundContainer"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(a,((t,l)=>e.createElementVNode("view",{key:l},[e.createElementVNode("view",{class:"menuCard",onClick:e=>{return l=t.url,void uni.navigateTo({url:l});var l}},e.toDisplayString(t.name),9,["onClick"])]))),64))]),e.createVNode(d,{ref_key:"zyupgrade",ref:l,noticeflag:!0,theme:"blue",h5preview:!1,oldversion:"1.0.0",appstoreflag:!0,autocheckupdate:!0},null,512)],64))}}),[["__scopeId","data-v-bd6792ac"]]),y="/static/index/oldman.png",N="/static/index/customer.png",f=s({__name:"Drawer",props:{widNumber:{type:Number,default:85},canclose:{type:Boolean,default:!0}},setup(t,{expose:l}){const a=e.ref(!1),i=t,r=e.computed((()=>({width:`${i.widNumber}%`})));function n(){i.canclose&&(a.value=!1)}return l({openDrawer:function(){a.value=!0},closeDrawer:function(){a.value=!1}}),(l,i)=>(e.openBlock(),e.createElementBlock("view",null,[e.withDirectives(e.createElementVNode("view",{class:e.normalizeClass(["overlay",{"overlay-show":a.value}]),onClick:n},null,2),[[e.vShow,a.value]]),e.createElementVNode("view",{class:e.normalizeClass(["drawer",{"drawer-open":a.value}]),style:e.normalizeStyle(r.value)},[e.createElementVNode("view",{class:"drawer-content"},[e.withDirectives(e.createElementVNode("view",{class:"drawer-content-circle",onClick:n},[e.createElementVNode("image",{class:"drawer-img",src:"/static/index/zuoyuan.png"})],512),[[e.vShow,a.value&&t.canclose]]),e.renderSlot(l.$slots,"default",{},void 0,!0)])],6)]))}},[["__scopeId","data-v-8cdafce2"]]),E="/static/index/teeth.png",V="/static/index/helpdo/xian.png",x=s(e.defineComponent({__name:"index",setup(t){const l=e=>{},a=e.ref(!1);e.ref(null);const i=e.ref(-1),r=e.ref(0),n=uni.createVideoContext("myVideo"),o=()=>{n.pause(),a.value=!1};e.computed((()=>{switch(c.value){case 0:return"0";case 1:return"calc(100% - 600rpx)";case 2:return"calc(100% - 120rpx)";default:return"100%"}}));const c=e.ref(0);return(t,n)=>(e.openBlock(),e.createElementBlock("view",{class:"draw-all"},[e.createElementVNode("view",{class:"draw-title"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"转单执行")]),e.createElementVNode("view",{class:"draw-contain"},[e.createElementVNode("view",{class:"downitems-father"},[e.createElementVNode("view",{class:"downitems-left"},[e.createElementVNode("view",{class:"downitems-left-mar"},[e.createElementVNode("image",{class:"downitems-left-img",src:E}),e.createElementVNode("view",{class:"downitems-left-father"},[e.createElementVNode("image",{class:"downitems-father-img",src:"/static/index/helpdo/zero.png"}),e.createElementVNode("view",{class:"downitems-father-font"},"清洁照料")]),e.createElementVNode("view",{class:"downitems-left-father"},[e.createElementVNode("image",{class:"downitems-father-img",src:"/static/index/helpdo/one.png"}),e.createElementVNode("view",{class:"downitems-father-font"},"四肢清洁")]),e.createElementVNode("view",{class:"downitems-left-father"},[e.createElementVNode("image",{class:"downitems-father-img",src:"/static/index/helpdo/two.png"}),e.createElementVNode("view",{class:"downitems-father-font-laba"},"协助清洁(四肢)"),e.createElementVNode("image",{class:"downitems-father-img-laba",src:"/static/index/helpdo/laba.png"})]),e.createElementVNode("view",{class:"downitems-left-father"},[e.createElementVNode("image",{class:"downitems-father-img",src:"/static/index/helpdo/three.png"}),e.createElementVNode("view",{class:"downitems-father-font-small"},"准备清水,一次性面巾,香皂,清洁后涂身体保湿乳。")]),e.createElementVNode("view",{class:"downitems-kuai",onClick:n[0]||(n[0]=e=>a.value=!0)},[e.createElementVNode("image",{class:"downitems-kuai-img",src:"/static/index/helpdo/video.png"})]),e.createElementVNode("view",{class:"downitems-says"}," 视频讲解 ")])]),e.createElementVNode("image",{class:"downitems-shu",src:V}),e.createElementVNode("view",{class:"downitems-center"},[e.createElementVNode("view",{class:"downitems-center-title"},[e.createElementVNode("view",{class:"downitems-center-title-gun"}),e.createElementVNode("view",{class:"downitems-center-title-font"},"转单原因"),e.createElementVNode("view",{class:"downitems-center-says"},[e.createElementVNode("view",{class:"downitems-center-father"},[e.createElementVNode("image",{class:"downitems-center-says-maike",src:"/static/index/helpdo/maike.png"})]),e.createElementVNode("view",{class:""},"语音输入")])]),e.createElementVNode("view",{class:"downitems-textarea"},[e.createElementVNode("textarea",{class:"custom-textarea",onBlur:l,placeholder:"请输入"},null,32)]),e.createElementVNode("view",{class:"downitems-center-title"},[e.createElementVNode("view",{class:"downitems-center-title-gun"}),e.createElementVNode("view",{class:"downitems-center-title-font"},"转单方式")]),e.createElementVNode("view",{class:"radio-circle-top-father"},[e.createElementVNode("view",{class:"radio-circle-top"},[e.createElementVNode("view",{class:e.normalizeClass(r.value?"radio-circle":"radio-circle-target"),onClick:n[1]||(n[1]=e=>r.value=0)},null,2),e.createElementVNode("view",{class:"radio-font",onClick:n[2]||(n[2]=e=>r.value=0)},"重新派单")]),e.createElementVNode("view",{class:"radio-circle-top"},[e.createElementVNode("view",{class:e.normalizeClass(r.value?"radio-circle-target":"radio-circle"),onClick:n[3]||(n[3]=e=>{r.value=1})},null,2),e.createElementVNode("view",{class:"radio-font",onClick:n[4]||(n[4]=e=>r.value=1)},"定向派单")])]),e.createElementVNode("view",{class:"downitems-button"}," 确认 ")]),e.createElementVNode("image",{class:"downitems-shu",style:{transform:"rotate(180deg)","margin-left":"0rpx"},src:V}),e.createElementVNode("view",{class:"downitems-right"},[e.withDirectives(e.createElementVNode("view",{class:"downitems-all"},[e.createElementVNode("view",{class:"downitems-center-title"},[e.createElementVNode("view",{class:"downitems-center-title-gun"}),e.createElementVNode("view",{class:"downitems-center-title-font"},"重新派单")]),e.createElementVNode("view",{class:"downitems-all-font"}," 选择重新派单,平台自动将服务指令重新派发给其他员工,等待执行。 ")],512),[[e.vShow,!r.value]]),e.withDirectives(e.createElementVNode("view",{class:"downitems-all"},[e.createElementVNode("view",{class:"downitems-center-title"},[e.createElementVNode("view",{class:"downitems-center-title-gun"}),e.createElementVNode("view",{class:"downitems-center-title-font"},"定向派单")]),e.createElementVNode("view",{class:"downitems-all-font"}," 选择定向转单,请选择要执行服务指令的员工。 "),e.createElementVNode("view",{class:"downitems-card-all"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([0,1,2,3,4,5,6,7],((t,l)=>e.createElementVNode("view",{class:"downitems-card"},[e.createElementVNode("view",{class:e.normalizeClass(i.value===l?"downitems-card-one-target":"downitems-card-one"),onClick:e=>(e=>{i.value=e})(l)},[e.createElementVNode("view",{class:"downitems-card-father"},[e.createElementVNode("image",{class:"downitems-card-img",src:"/static/index/helpdo/people.png"})]),e.createElementVNode("view",{class:"downitems-card-font"}," 李金福 ")],10,["onClick"])]))),64))])],512),[[e.vShow,r.value]])])])]),e.withDirectives(e.createElementVNode("view",{class:"modal",onClick:o},[e.createElementVNode("view",{class:"modal-content",onClick:n[5]||(n[5]=e.withModifiers((()=>{}),["stop"]))})],512),[[e.vShow,a.value]])]))}}),[["__scopeId","data-v-6070efba"]]),k=s(e.defineComponent({__name:"index",props:{isshow:{type:Boolean,required:!0},darkFans:{type:Boolean,required:!0}},emits:["darkchange"],setup(t,{emit:l}){const a=e.ref(null),i=t,r=e.ref(!1),n=e.ref(!1),o=e.ref(!1),c=e.ref(!1),s=e.ref(!1),d=e.ref(!1),u=e.ref(""),m=e.ref(""),v=e.ref(""),p=e.ref([{url:"/static/index/undericons/alarm.png",targetUrl:"/static/index/undericons/alarmdark.png",name:"服务考核"},{url:"/static/index/undericons/linshitime.png",targetUrl:"/static/index/undericons/linshitimedark.png",name:"护理流程"},{url:"/static/index/darkicon/zhaomingdark.png",targetUrl:"/static/index/roomicons/zhaomingtar.png",name:"电子医嘱"},{url:"/static/index/darkicon/kontiaodark.png",targetUrl:"/static/index/roomicons/kongtiaotar.png",name:"进销存"},{url:"/static/index/darkicon/nuanfengdark.png",targetUrl:"/static/index/roomicons/nuanfengtar.png",name:"实时监控"},{url:"/static/index/darkicon/dianqidark.png",targetUrl:"/static/index/roomicons/dianqitar.png",name:"我的指令"}]),g=e.ref([{url:"/static/index/hulilist/zhuandan.png",name:"转单执行"},{url:"/static/index/hulilist/xiezhu.png",name:"协助执行"},{url:"/static/index/hulilist/zhongdian.png",name:"重点追踪"}]),w=e.ref([{url:"/static/index/darkicon/zhuandandark.png",name:"转单执行"},{url:"/static/index/darkicon/xiezhudark.png",name:"协助执行"},{url:"/static/index/darkicon/zhongdiandark.png",name:"重点追踪"}]),h=e.ref([{url:"/static/index/medium/yaopin.png",name:"药品信息",number:0},{url:"/static/index/medium/qingling.png",name:"请领指令",number:60},{url:"/static/index/medium/peiyao.png",name:"配药指令",number:100},{url:"/static/index/medium/xinxi.png",name:"信息反馈",number:0},{url:"/static/index/medium/xinxi.png",name:"信息反馈2",number:0}]),y=e.ref([{url:"/static/index/darkicon/yaopindark.png",name:"药品信息",number:55},{url:"/static/index/darkicon/qinglingdark.png",name:"请领指令",number:10},{url:"/static/index/darkicon/peiyaodark.png",name:"配药指令",number:100},{url:"/static/index/darkicon/xinxidark.png",name:"信息反馈",number:15},{url:"/static/index/darkicon/xinxidark.png",name:"信息反馈2",number:20}]),E=e.ref([{url:"/static/index/roomicons/zhaoming.png",targetUrl:"/static/index/roomicons/zhaomingtar.png",name:"照明"},{url:"/static/index/roomicons/kongtiao.png",targetUrl:"/static/index/roomicons/kongtiaotar.png",name:"空调"},{url:"/static/index/roomicons/nuanfeng.png",targetUrl:"/static/index/roomicons/nuanfengtar.png",name:"暖风"},{url:"/static/index/roomicons/dianqi.png",targetUrl:"/static/index/roomicons/dianqitar.png",name:"电器"}]),V=e.ref([{url:"/static/index/darkicon/zhaomingdark.png",targetUrl:"/static/index/roomicons/zhaomingtar.png",name:"照明"},{url:"/static/index/darkicon/kontiaodark.png",targetUrl:"/static/index/roomicons/kongtiaotar.png",name:"空调"},{url:"/static/index/darkicon/nuanfengdark.png",targetUrl:"/static/index/roomicons/nuanfengtar.png",name:"暖风"},{url:"/static/index/darkicon/dianqidark.png",targetUrl:"/static/index/roomicons/dianqitar.png",name:"电器"}]);e.ref(0);const k=e.ref(0);e.ref(!1);const b=e.ref([]),S=e.ref(0),T=e.ref(0),C=e.ref(0),B=e.ref(0);e.ref(0);const D=l,z=()=>{uni.navigateTo({url:"/pages/NursingNew/index"})},I=()=>{D("darkchange",!i.darkFans)},F=e=>{if(b.value.includes(e)){let t=[];b.value.forEach((l=>{l!==e&&t.push(l)})),b.value=t}else b.value.push(e)},_=()=>{const e=new Date,t=e.getHours().toString().padStart(2,"0"),l=e.getMinutes().toString().padStart(2,"0");u.value=`${t}:${l}`;const a=e.getFullYear(),i=(e.getMonth()+1).toString().padStart(2,"0"),r=e.getDate().toString().padStart(2,"0");m.value=`${a}年${i}月${r}日`;const n=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"][e.getDay()];v.value=n},U=e=>{T.value=e.detail.current},$=e=>{C.value=e.detail.current},M=()=>{r.value=!r.value,n.value=!0,o.value=!1,s.value=!1,setTimeout((()=>{n.value=!1}),500)},L=()=>{o.value=!o.value,r.value=!1,s.value=!1,c.value=!0,setTimeout((()=>{c.value=!1}),500)},j=()=>{s.value=!s.value,d.value=!0,r.value=!1,o.value=!1,setTimeout((()=>{d.value=!1}),500)};let A=null;return e.onMounted((()=>{A=_(),setInterval(_,1e3)})),e.onBeforeUnmount((()=>{clearInterval(A)})),(l,i)=>(e.openBlock(),e.createElementBlock("view",{class:"right-container",style:e.normalizeStyle(t.isshow?{opacity:"1"}:{opacity:"0"})},[e.createElementVNode("view",{class:"right-container-title-nav"},[e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"right-container-title-no-dark":"right-container-title-no")}," ID:12345678 ",2),e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"right-container-title-no-dark":"right-container-title-no")}," 名称:未命名01 ",2),e.createElementVNode("view",{class:"right-icons"},[e.createElementVNode("image",{class:"right-icons-img",src:"/static/index/undericons/man.png"},null,8,["src"]),e.createElementVNode("view",{class:e.normalizeClass(t.darkFans?"right-icons-font-dark":"right-icons-font")},"王金福",2),e.createElementVNode("image",{class:"right-icons-img-icon",src:t.darkFans?"/static/index/undericons/face.png":"/static/index/undericons/facelight.png"},null,8,["src"]),e.createElementVNode("image",{class:"right-icons-img-icon",src:t.darkFans?"/static/index/undericons/hand.png":"/static/index/undericons/handlight.png"},null,8,["src"]),e.createElementVNode("image",{class:"right-icons-img-icon",src:t.darkFans?"/static/index/undericons/out.png":"/static/index/undericons/outlight.png"},null,8,["src"])]),e.withDirectives(e.createElementVNode("view",{class:"right-container-title-class-anhei-button",onClick:i[0]||(i[0]=e=>I())},[e.createElementVNode("text",{class:"right-container-title-class-anhei"}," 切换到暗黑模式 ")],512),[[e.vShow,!t.darkFans]]),e.withDirectives(e.createElementVNode("view",{class:"right-container-title-class-anhei-button",style:e.normalizeStyle(t.darkFans?{backgroundColor:"#fff"}:{}),onClick:i[1]||(i[1]=e=>I())},[e.createElementVNode("text",{class:"right-container-title-class-anhei",style:e.normalizeStyle(t.darkFans?{color:"black"}:{})}," 取消暗黑模式 ",4)],4),[[e.vShow,t.darkFans]]),e.createElementVNode("view",{class:"right-container-title-class-anhei-button",style:{"background-color":"#fff"}},[e.createElementVNode("text",{class:"right-container-title-class-anhei",style:{color:"black"},onClick:z}," 切换到新版主页 ")])]),e.createElementVNode("view",{class:"right-container-fir"},[e.createElementVNode("view",{class:e.normalizeClass([r.value?"right-container-big":"right-container-small","right-container-fir-left-nav"]),style:e.normalizeStyle(n.value||r.value?{zIndex:999}:{zIndex:998})},[e.createElementVNode("view",{style:e.normalizeStyle(r.value?{borderRadius:"30rpx"}:{borderRadius:"50rpx"}),class:e.normalizeClass(t.darkFans?"right-container-fir-left-card-dark":"right-container-fir-left-card")},[e.createElementVNode("image",{class:"right-container-fir-left-card-hulilei",src:"/static/index/hulilei.png"},null,8,["src"]),e.createElementVNode("div",{class:"right-container-fir-left-card-hulilei-font",onClick:M},"护理类"),t.darkFans?(e.openBlock(),e.createElementBlock("image",{key:0,class:"card-upfaguang",src:"/static/index/cardbgc/uplight.png"},null,8,["src"])):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"right-container-fir-left-carousel"},[e.createElementVNode("view",{class:"carousel"},[e.createElementVNode("view",{class:"dots"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,2,3],((l,a)=>e.createElementVNode("span",{key:a,class:e.normalizeClass(t.darkFans?"dot-dark":"dot"),style:e.normalizeStyle(a===T.value?{backgroundColor:"#01A0FE"}:{})},null,6))),64))])])]),e.createElementVNode("view",{class:"right-container-fir-left-card-main"},[e.createElementVNode("swiper",{current:T.value,class:"swiper savehundred",circular:"","indicator-dots":!1,vertical:!0,interval:4e3,duration:500,onChange:U},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,2,3],((l,a)=>e.createElementVNode("swiper-item",{class:"swiper-item-flex",key:a},[e.createElementVNode("view",{class:"right-container-fir-left-card-flex"},[e.createElementVNode("view",{class:"uni-margin-wrap-fir"},[e.createElementVNode("swiper",{current:S.value,class:"swiper",circular:"","indicator-dots":!1,interval:4e3,duration:500},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,2,3],((l,a)=>e.createElementVNode("swiper-item",{class:"swiper-item-flex",key:a},[e.createElementVNode("view",{class:"right-container-fir-left-card-card"},[e.createElementVNode("view",{class:"right-container-fir-left-card-zhixing"},[e.createElementVNode("div",{class:"right-container-fir-left-card-zhixing-font"},"待执行 ")]),e.createElementVNode("image",{class:"right-container-fir-left-card-img",src:"/static/index/teeth.png",onClick:M},null,8,["src"]),e.createElementVNode("view",{class:"right-container-fir-left-card-main-laba-video"},[e.createElementVNode("image",{class:"right-container-fir-left-card-main-laba",src:t.darkFans?"/static/index/darkicon/labadark.png":"/static/index/laba.png"},null,8,["src"]),e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"right-container-fir-left-card-main-font-dark":"right-container-fir-left-card-main-font")}," 准备洁具(口腔) ",2),e.createElementVNode("image",{class:"right-container-fir-left-card-main-video",src:(t.darkFans,"/static/index/indexvideo.png")},null,8,["src"])])]),e.createElementVNode("view",{class:"split-line"}),e.createElementVNode("view",{class:"time-tra-fir"},[e.createElementVNode("view",{class:e.normalizeClass(t.darkFans?"time-font-dark":"time-font")}," 10:00 - 10:10 ",2),e.createElementVNode("view",{class:e.normalizeClass(t.darkFans?"time-text-dark":"time-text")}," 为老人提供口腔清洁器具,牙膏、牙刷及水杯,看护完成 ",2),e.createElementVNode("view",{class:"time-people-two"},[e.createElementVNode("view",{class:"time-people-fir"},[e.createElementVNode("image",{class:"time-people-img",src:t.darkFans?"/static/index/darkicon/zhixingpeopledark.png":"/static/index/cardicons/zhixing.png"},null,8,["src"]),e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"time-people-font-dark":"time-people-font")}," 单人执行 ",2)]),e.createElementVNode("view",{class:"time-people-sec"},[e.createElementVNode("image",{class:"time-people-img",src:t.darkFans?"/static/index/medium/dopeopledark.png":"/static/index/cardicons/zhifa.png"},null,8,["src"]),e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"time-people-font-dark":"time-people-font")}," -- ",2)])]),e.createElementVNode("view",{class:"time-button-view"},[e.createElementVNode("view",{class:"time-button-start"}," 开始服务 "),e.createElementVNode("view",{class:e.normalizeClass(t.darkFans?"time-button-end-dark":"time-button-end")}," 服务结束 ",2)])])]))),64))],8,["current"])]),e.createElementVNode("view",{class:"split-line-white-right-left",style:e.normalizeStyle(t.darkFans?"background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, #386997 50%, rgba(0, 0, 0, 0) 100%);":"")},[t.darkFans?(e.openBlock(),e.createElementBlock("image",{key:0,class:"split-line-white-img",src:"/static/index/cardbgc/leftlight.png"},null,8,["src"])):e.createCommentVNode("",!0)],4)])]))),64))],40,["current"]),e.createElementVNode("view",{class:"right-huli-sec"},[e.createElementVNode("image",{class:"right-huli-shang",src:"/static/index/hulilist/shang.png"},null,8,["src"]),t.darkFans?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("scroll-view",{key:0,"show-scrollbar":!1,"scroll-y":"true",class:"right-huli-view"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"right-huli-view-dis",onClick:e=>{a.value.openDrawer()}},[e.createElementVNode("image",{class:"right-huli-img",src:t.url},null,8,["src"]),e.createElementVNode("text",{class:"right-huli-text"},e.toDisplayString(t.name),1)],8,["onClick"])))),128))])),t.darkFans?(e.openBlock(),e.createElementBlock("scroll-view",{key:1,"show-scrollbar":!1,"scroll-y":"true",class:"right-huli-view"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"right-huli-view-dis"},[e.createElementVNode("image",{class:"right-huli-img",src:t.url},null,8,["src"]),e.createElementVNode("text",{class:"right-huli-text-dark"},e.toDisplayString(t.name),1)])))),128))])):e.createCommentVNode("",!0),e.createElementVNode("image",{class:"right-huli-xia",src:"/static/index/hulilist/xia.png"},null,8,["src"])])])],6)],6),e.createElementVNode("view",{class:e.normalizeClass(t.darkFans?"right-container-fir-right-dark":"right-container-fir-right")},[e.createElementVNode("view",{class:"right-container-card"},[e.createElementVNode("view",{class:"right-container-card-right"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,2,3,4],((t,l)=>e.createElementVNode("view",{class:"",key:l},[e.createElementVNode("image",{class:"right-container-card-right-img",src:N})]))),64))]),e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"right-container-title-dark":"right-container-title")},e.toDisplayString(u.value),3),e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"right-container-date-dark":"right-container-date")},e.toDisplayString(m.value),3),e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"right-container-day-dark":"right-container-day")},e.toDisplayString(v.value),3),e.createElementVNode("view",{class:"right-container-tem"},[e.createElementVNode("image",{class:"right-container-tem-img",src:t.darkFans?"/static/index/darkicon/wendudark.png":"/static/index/roomicons/wendu.png"},null,8,["src"]),e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"right-container-tem-text-dark":"right-container-tem-text")},"23°C",2),e.createElementVNode("image",{class:"right-container-tem-img",src:t.darkFans?"/static/index/roomicons/shidu.png":"/static/index/darkicon/shidudark.png"},null,8,["src"]),e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"right-container-tem-text-dark":"right-container-tem-text")},"39%",2)]),e.createElementVNode("view",{class:"right-container-fenge"}),t.darkFans?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"right-container-button"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"right-container-button-any"},[e.withDirectives(e.createElementVNode("image",{class:"right-container-button-ray",src:"/static/index/cardicons/ray2.png"},null,8,["src"]),[[e.vShow,b.value.includes(l)]]),e.createElementVNode("image",{class:"right-container-button-img",src:b.value.includes(l)?t.targetUrl:t.url,onClick:e=>F(l)},null,8,["src","onClick"]),e.createElementVNode("text",{class:"right-container-button-text",style:e.normalizeStyle(b.value.includes(l)?{color:"#167ED7"}:{})},e.toDisplayString(t.name),5)])))),128))])),t.darkFans?(e.openBlock(),e.createElementBlock("view",{key:1,class:"right-container-button"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(V.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"right-container-button-any"},[e.withDirectives(e.createElementVNode("image",{class:"right-container-button-ray",src:"/static/index/cardicons/ray2.png"},null,8,["src"]),[[e.vShow,b.value.includes(l)]]),e.createElementVNode("image",{class:"right-container-button-img",src:b.value.includes(l)?t.targetUrl:t.url,onClick:e=>F(l)},null,8,["src","onClick"]),e.createElementVNode("text",{class:"right-container-button-text",style:e.normalizeStyle(b.value.includes(l)?{color:"#167ED7"}:{color:"#fff"})},e.toDisplayString(t.name),5)])))),128))])):e.createCommentVNode("",!0)])],2)]),e.createElementVNode("view",{class:"right-container-sec"},[e.createElementVNode("view",{class:e.normalizeClass(o.value?"right-container-left-big":"right-container-left-small"),style:e.normalizeStyle(c.value||o.value?{zIndex:999}:{zIndex:0})},[e.createElementVNode("view",{style:e.normalizeStyle(o.value?{borderRadius:"29rpx"}:{borderRadius:"50rpx"}),class:e.normalizeClass(t.darkFans?"right-container-left-dark":"right-container-left")},[e.createElementVNode("image",{class:"right-container-left-type",src:"/static/index/yiliao/yiliaolei.png"},null,8,["src"]),e.createElementVNode("div",{class:"right-container-left-font",onClick:L},"医疗类"),e.createElementVNode("view",{class:"right-container-fir-left-carousel"},[e.createElementVNode("view",{class:"carousel"},[e.createElementVNode("view",{class:"dots"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,2,3],((l,a)=>e.createElementVNode("span",{key:a,class:e.normalizeClass(t.darkFans?"dot-dark":"dot"),style:e.normalizeStyle(a===C.value?{backgroundColor:"#01A0FE"}:{})},null,6))),64))])])]),t.darkFans?(e.openBlock(),e.createElementBlock("image",{key:0,class:"card-upfaguang-down",src:"/static/index/cardbgc/uplight.png"},null,8,["src"])):e.createCommentVNode("",!0),e.createElementVNode("swiper",{current:C.value,class:"swiper savehundred",circular:"","indicator-dots":!1,vertical:!0,interval:4e3,duration:500,onChange:$},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,2,3],((l,a)=>e.createElementVNode("swiper-item",{class:"swiper-item-flex",key:a},[e.createElementVNode("div",{class:"right-container-fir-left-card-flex-sec"},[e.createElementVNode("view",{class:"uni-margin-wrap"},[e.createElementVNode("swiper",{current:B.value,class:"swiper",circular:"","indicator-dots":!1,autoplay:!1,interval:4e3,duration:500},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,2,3],((l,a)=>e.createElementVNode("swiper-item",{class:"swiper-item-flex",key:a},[e.createElementVNode("div",{class:"right-container-left-font-spec"},"进行中 "),e.createElementVNode("view",{class:"time-tra-sec"},[e.createElementVNode("view",{class:e.normalizeClass(t.darkFans?"time-font-dark":"time-font")}," 10:00 - 10:10 ",2),e.createElementVNode("view",{class:"time-people-thi"},[e.createElementVNode("image",{class:"time-people-img",src:t.darkFans?"/static/index/medium/doctorsaydark.png":"/static/index/medium/doctorsay.png"},null,8,["src"]),e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"time-people-font-dark":"time-people-font")}," 医嘱类型:药品 ",2)]),e.createElementVNode("view",{class:"time-people-thi"},[e.createElementVNode("image",{class:"time-people-img",src:t.darkFans?"/static/index/medium/howtododark.png":"/static/index/medium/howtodo.png"},null,8,["src"]),e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"time-people-font-dark":"time-people-font")}," 处置方式:肌肉注射 ",2)]),e.createElementVNode("view",{class:"time-people-thi"},[e.createElementVNode("image",{class:"time-people-img",src:t.darkFans?"/static/index/medium/useMed.png":"/static/index/medium/yongyao.png"},null,8,["src"]),e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"time-people-font-dark":"time-people-font")}," 用药类型:抗生素类 ",2)]),e.createElementVNode("view",{class:"time-people-thi"},[e.createElementVNode("image",{class:"time-people-img",src:t.darkFans?"/static/index/medium/domanydark.png":"/static/index/medium/domany.png"},null,8,["src"]),e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"time-people-font-dark":"time-people-font")}," 执行方式:周期一日执行一次 ",2)]),e.createElementVNode("view",{class:"time-people-thi"},[e.createElementVNode("image",{class:"time-people-img",src:t.darkFans?"/static/index/darkicon/zhixingpeopledark.png":"/static/index/cardicons/zhixing.png"},null,8,["src"]),e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"time-people-font-dark":"time-people-font")}," 单人执行 ",2),e.createElementVNode("image",{class:"time-people-img",src:t.darkFans?"/static/index/medium/dopeopledark.png":"/static/index/cardicons/zhifa.png"},null,8,["src"]),e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"time-people-font-dark":"time-people-font")}," 赵宇 ",2)]),e.createElementVNode("view",{class:"time-button-view"},[e.createElementVNode("view",{class:"time-button-start"}," 开始服务 "),e.createElementVNode("view",{class:e.normalizeClass(t.darkFans?"time-button-end-dark":"time-button-end")}," 服务结束 ",2)])]),e.createElementVNode("view",{class:"right-container-photo"},[e.createElementVNode("image",{class:"right-container-photo-img",src:"/static/index/yiliao/project2.png",onClick:L},null,8,["src"]),e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"right-container-photo-text-dark":"right-container-photo-text")}," 脑膜炎(1/2) ",2)])]))),64))],8,["current"])])])]))),64))],40,["current"]),e.createElementVNode("view",{class:"split-line-white-sec",style:e.normalizeStyle(t.darkFans?"background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, #386997 50%, rgba(0, 0, 0, 0) 100%);":"")},[t.darkFans?(e.openBlock(),e.createElementBlock("image",{key:0,class:"split-line-white-img",src:"/static/index/cardbgc/leftlight.png"},null,8,["src"])):e.createCommentVNode("",!0)],4),e.createElementVNode("view",{class:"right-huli-fir"},[e.createElementVNode("image",{class:"right-huli-shang",src:"/static/index/hulilist/shang.png"},null,8,["src"]),t.darkFans?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("scroll-view",{key:0,"show-scrollbar":!1,"scroll-y":"true",class:"right-huli-view"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"right-huli-view-dis"},[e.createElementVNode("image",{class:"right-huli-img",src:t.url},null,8,["src"]),e.createElementVNode("text",{class:"right-huli-text"},e.toDisplayString(t.name),1),e.withDirectives(e.createElementVNode("div",{class:"progress-bar-container"},[e.createElementVNode("div",{style:e.normalizeStyle({width:`${t.number}%`}),class:"progress-bar"},null,4)],512),[[e.vShow,0!==t.number]])])))),128))])),t.darkFans?(e.openBlock(),e.createElementBlock("scroll-view",{key:1,"show-scrollbar":!1,"scroll-y":"true",class:"right-huli-view"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"right-huli-view-dis"},[e.createElementVNode("image",{class:"right-huli-img",src:t.url},null,8,["src"]),e.createElementVNode("text",{class:"right-huli-text-dark"},e.toDisplayString(t.name),1),e.withDirectives(e.createElementVNode("div",{class:"progress-bar-container"},[e.createElementVNode("div",{style:e.normalizeStyle({width:`${t.number}%`}),class:"progress-bar"},null,4)],512),[[e.vShow,0!==t.number]])])))),128))])):e.createCommentVNode("",!0),e.createElementVNode("image",{class:"right-huli-xia",src:"/static/index/hulilist/xia.png"},null,8,["src"])])],6)],6),e.createElementVNode("view",{style:e.normalizeStyle(d.value||s.value?{zIndex:999}:{zIndex:0}),class:e.normalizeClass([s.value?"right-container-right-big":"right-container-right-small"])},[e.createElementVNode("view",{style:e.normalizeStyle(s.value?{borderRadius:"29rpx"}:{borderRadius:"50rpx"}),class:e.normalizeClass([t.darkFans?"right-container-right-father-dark":"right-container-right-father"])},[e.createElementVNode("view",{class:"right-container-right-down-father"},[e.createElementVNode("div",{class:"right-container-fir-left-card-flex-sec"},[e.createElementVNode("image",{class:"right-container-fir-left-card-flex-sec-img",src:"/static/index/baojielei.png"},null,8,["src"]),e.createElementVNode("div",{class:"right-container-fir-left-card-flex-sec-font",onClick:j},"保洁类"),e.createElementVNode("image",{class:"right-container-fir-left-card-flex-sec-imgright-fir",src:"/static/index/baojieleft.png"},null,8,["src"]),e.createElementVNode("image",{class:"right-container-fir-left-card-flex-sec-imgright-sec",src:"/static/index/baojieright.png"},null,8,["src"]),e.createElementVNode("view",{class:"uni-margin-wrap"},[e.createElementVNode("swiper",{current:B.value,class:"swiper",circular:"","indicator-dots":!1,autoplay:!1,interval:4e3,duration:500},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,2,3],((l,a)=>e.createElementVNode("swiper-item",{class:"swiper-item-flex",key:a},[e.createElementVNode("view",{class:"time-tra-thi"},[e.createElementVNode("view",{class:"time-tra-thi-zhixing"},[e.createElementVNode("div",{class:"time-tra-thi-zhixing-font"},"待执行 ")]),e.createElementVNode("view",{class:e.normalizeClass(t.darkFans?"time-font-dark":"time-font")}," 10:00 - 10:10 ",2),e.createElementVNode("view",{class:e.normalizeClass(t.darkFans?"time-text-dark":"time-text")}," 为老人提供口腔清洁器具,牙膏、牙刷及水杯,看护完成 ",2),e.createElementVNode("view",{class:"time-people-two"},[e.createElementVNode("image",{class:"time-people-img",src:t.darkFans?"/static/index/darkicon/zhixingpeopledark.png":"/static/index/cardicons/zhixing.png"},null,8,["src"]),e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"time-people-font-dark":"time-people-font")}," 单人执行 ",2),e.createElementVNode("image",{class:"time-people-img",src:t.darkFans?"/static/index/medium/dopeopledark.png":"/static/index/cardicons/zhifa.png"},null,8,["src"]),e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"time-people-font-dark":"time-people-font")}," 王金福 / 李贵田 ",2)]),e.createElementVNode("view",{class:"time-button-view"},[e.createElementVNode("view",{class:"time-button-start"}," 开始服务 "),e.createElementVNode("view",{class:e.normalizeClass(t.darkFans?"time-button-end-dark":"time-button-end")}," 服务结束 ",2)])]),e.createElementVNode("view",{class:"time-tra-thi-photo"},[e.createElementVNode("image",{class:"time-tra-thi-photo-img",src:"/static/index/project3.png",onClick:j},null,8,["src"]),e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"time-tra-thi-photo-font-dark":"time-tra-thi-photo-font")}," 更换纸尿裤 ",2)])]))),64))],8,["current"])])])])],6)],6),e.createElementVNode("view",{class:"under-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,((l,a)=>(e.openBlock(),e.createElementBlock("view",{class:"under-father-view",key:a,onClick:e=>(e=>{k.value=e})(a)},[e.withDirectives(e.createElementVNode("image",{class:"under-father-light",src:"/static/index/undericons/upguang.png"},null,512),[[e.vShow,a===k.value]]),e.createElementVNode("image",{class:"under-father-img",src:a===k.value?l.targetUrl:l.url},null,8,["src"]),e.createElementVNode("view",{class:e.normalizeClass(t.darkFans?"under-father-img-font-dark":"under-father-img-font")},e.toDisplayString(l.name),3)],8,["onClick"])))),128))])]),e.createVNode(f,{ref_key:"drawer",ref:a},{default:e.withCtx((()=>[e.createVNode(x)])),_:1},512)],4))}}),[["__scopeId","data-v-6d6a66c6"]]),b="/static/index/deleteicon.png",S="/static/index/NU.png",T=[{children:[{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1900421622979706886",title:"协助喂药",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902604232524795905",title:"鼻饲喂药",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902604428667228162",title:"注射器/吸管喂药",tagName:"头部,大体重"}],levle:"2",title:"协助喂药",key:"1900114812020310017",parentId:"1900112597427793921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902605892869394433",title:"一级压疮防护",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902606105021485058",title:"二级压疮防护",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902606339931869185",title:"三级压疮防护",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902606614344208386",title:"一级压疮防护",tagName:"大体重"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902606869953482753",title:"二级压疮防护",tagName:"大体重"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902607023431454722",title:"三级压疮防护",tagName:"大体重"}],levle:"2",title:"压疮防护",key:"1900115034452639746",parentId:"1900112597427793921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1900421622979706887",title:"床椅转移",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1900421622979706888",title:"床椅转移",tagName:"大体重"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902605073730211842",title:"床椅转移",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902605223185846273",title:"床椅转移",tagName:"大体重"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902605365393723393",title:"协助床椅转移",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902605496071458818",title:"协助床椅转移",tagName:null}],levle:"2",title:"床椅转移",key:"1902248363784159233",parentId:"1900112597427793921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902607507626102786",title:"轮椅防护",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902607677415723010",title:"轮椅防护",tagName:"大体重"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902607817589362689",title:"轮椅防护",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902608061588803585",title:"轮椅防护",tagName:"大体重"}],levle:"2",title:"轮椅防护",key:"1902280900178886657",parentId:"1900112597427793921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902608564582322178",title:"约束位按摩",tagName:"手"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902608974609092610",title:"约束位按摩",tagName:"足"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902618507855237121",title:"约束位按摩",tagName:"全"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902618751548493825",title:"防护网约束",tagName:null}],levle:"2",title:"约束防护",key:"1902280933364219906",parentId:"1900112597427793921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902620309090701314",title:"协助行走",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902620486044192769",title:"放松按摩",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"30",id:"1902625161569079298",title:"心灵慰藉",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"10",id:"1902625402468929537",title:"狂躁",tagName:null}],levle:"2",title:"按摩保健",key:"1902564031454744577",parentId:"1900112597427793921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902625872432304130",title:"准备衣物",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902626005538541569",title:"协助更换",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902626664711163905",title:"肢体障碍",tagName:"半侧"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902626800510144513",title:"肢体障碍",tagName:"全身"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902627064688381953",title:"准备衣物",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902627280716009474",title:"协助更换",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902627416598876161",title:"肢体障碍",tagName:"半侧"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902627522404388866",title:"肢体障碍",tagName:"全身"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902627711806574593",title:"协助更换",tagName:"大体重"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902628058591629313",title:"肢体障碍",tagName:"半侧,大体重"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902628650718302209",title:"肢体障碍",tagName:"大体重,全测"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902628837725540354",title:"肢体障碍",tagName:"大体重,全测"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902628966847188993",title:"肢体障碍",tagName:"大体重,半侧"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902629129879785474",title:"协助更换",tagName:"大体重"}],levle:"2",title:"更换衣物",key:"1902564088417587201",parentId:"1900112597427793921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902629344456183809",title:"坐起",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902629492301205506",title:"躺下",tagName:null}],levle:"2",title:"调整坐卧",key:"1902564199830884354",parentId:"1900112597427793921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"55",id:"1902630862769065985",title:"遗体净身",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"55",id:"1902631162275926017",title:"遗体穿衣",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"30",id:"1902631422431825921",title:"遗体转移",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"30",id:"1902631602463936514",title:"床位消毒",tagName:null}],levle:"2",title:"殡仪服务",key:"1902564263743688705",parentId:"1900112597427793921"},{children:[{cycleType:"周期护理",levle:"3",serviceDuration:"5",id:"1902631830441136129",title:"更换床上用品",tagName:"全部"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902632063828987905",title:"隔尿褥子更换",tagName:null}],levle:"2",title:"更换床上用品",key:"1902564446648897538",parentId:"1900112597427793921"},{children:[{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902632288270389250",title:"临终护理",tagName:null}],levle:"2",title:"临终服务",key:"1902564503783706625",parentId:"1900112597427793921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"40",id:"1902632678701371393",title:"制氧机吸氧",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902632799853842433",title:"制氧机维护",tagName:null}],levle:"2",title:"制氧机应用",key:"1902564586101116930",parentId:"1900112597427793921"}],levle:"1",title:"1 日常照料",key:"1900112597427793921"},{children:[{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1900376187661553665",title:"准备洁具",tagName:"口腔"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1900420873478553602",title:"棉球清洁",tagName:"口腔"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1900421622979706881",title:"协助清洁",tagName:"口腔"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1900421622979706885",title:"义齿清洁",tagName:"口腔"}],levle:"2",title:"口腔清洁",key:"1902597070889127938",parentId:"1900112615777873921"},{children:[{cycleType:"周期护理",levle:"3",serviceDuration:"5",id:"1902636771540963329",title:"准备洁具",tagName:"头部"},{cycleType:"周期护理",levle:"3",serviceDuration:"20",id:"1902637623425077250",title:"协助洗头",tagName:null},{cycleType:"周期护理",levle:"3",serviceDuration:"20",id:"1902637985234128898",title:"卧式洗头",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902638122949906433",title:"擦头",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"10",id:"1902638304739430401",title:"刮头",tagName:null}],levle:"2",title:"头部清洁",key:"1902597497344987137",parentId:"1900112615777873921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902641763073101826",title:"准备洁具",tagName:"面部"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902642254465175553",title:"协助洁面",tagName:null}],levle:"2",title:"面部清洁",key:"1902597651405967361",parentId:"1900112615777873921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902642508145070081",title:"准备洁具",tagName:"躯干"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902642672796667905",title:"协助清洁",tagName:"躯干"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902642822885642242",title:"卧床清洁",tagName:"躯干"}],levle:"2",title:"躯干清洁",key:"1902597718082818050",parentId:"1900112615777873921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902643318811758594",title:"准备洁具",tagName:"四肢"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902643483320750082",title:"协助清洁",tagName:"四肢"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902643630888947713",title:"卧床清洁",tagName:"四肢"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902643837525528578",title:"肌张力高",tagName:"清洁"}],levle:"2",title:"四肢清洁",key:"1902597811565465601",parentId:"1900112615777873921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902645148199391234",title:"会阴清洁",tagName:"男"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902645295457210369",title:"会阴清洁",tagName:"女"}],levle:"2",title:"会阴清洁",key:"1902597873964126209",parentId:"1900112615777873921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902645493185089537",title:"肛周清洁",tagName:null}],levle:"2",title:"肛周清洁",key:"1902597930020999170",parentId:"1900112615777873921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902645693211447298",title:"洗手",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902647316134465538",title:"泡手",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902647529817477122",title:"准备洁具",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902647673212342274",title:"协助洗手",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902647905878773762",title:"强直屈曲洗手",tagName:null}],levle:"2",title:"手清洁",key:"1902597991698239489",parentId:"1900112615777873921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902648101203316737",title:"泡脚",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902648239091060737",title:"卧式泡脚",tagName:null}],levle:"2",title:"足清洁",key:"1902598178588037121",parentId:"1900112615777873921"},{children:[{cycleType:"周期护理",levle:"3",serviceDuration:"5",id:"1902648426383511553",title:"修睫毛",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902648548777496577",title:"剃须",tagName:null}],levle:"2",title:"剃须",key:"1902598258573414401",parentId:"1900112615777873921"},{children:[{cycleType:"周期护理",levle:"3",serviceDuration:"5",id:"1902648962444922882",title:"角质增生",tagName:"修甲"},{cycleType:"周期护理",levle:"3",serviceDuration:"5",id:"1902649132536532994",title:"灰指甲",tagName:"修甲"},{cycleType:"周期护理",levle:"3",serviceDuration:"5",id:"1902649302149992449",title:"正常",tagName:"修甲"}],levle:"2",title:"修甲",key:"1902598354606198785",parentId:"1900112615777873921"},{children:[{cycleType:"周期护理",levle:"3",serviceDuration:"20",id:"1902649683919736834",title:"理发",tagName:null},{cycleType:"周期护理",levle:"3",serviceDuration:"25",id:"1902649860344745985",title:"理发",tagName:"颅骨缺损"}],levle:"2",title:"理发",key:"1902598400382832642",parentId:"1900112615777873921"},{children:[{cycleType:"周期护理",levle:"3",serviceDuration:"5",id:"1902650121280786434",title:"床上沐浴",tagName:null},{cycleType:"周期护理",levle:"3",serviceDuration:"55",id:"1902650408884211713",title:"深度清洁",tagName:null},{cycleType:"周期护理",levle:"3",serviceDuration:"55",id:"1902650763722330113",title:"浴间洗浴",tagName:null},{cycleType:"周期护理",levle:"3",serviceDuration:"30",id:"1902651229122301954",title:"床上沐浴",tagName:"大体重"},{cycleType:"周期护理",levle:"3",serviceDuration:"55",id:"1902651366317985794",title:"深度清洁",tagName:"大体重"},{cycleType:"周期护理",levle:"3",serviceDuration:"55",id:"1902651555363655682",title:"浴间洗浴",tagName:"大体重"}],levle:"2",title:"沐浴",key:"1902598454782955522",parentId:"1900112615777873921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"10",id:"1902651778777452545",title:"内套管清洁",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"10",id:"1902651924047171586",title:"更换气切纱布",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"10",id:"1902652055928672258",title:"更换气切纱布",tagName:null}],levle:"2",title:"气切消毒",key:"1902598509522817026",parentId:"1900112615777873921"}],levle:"1",title:"2 清洁照料",key:"1900112615777873921"},{children:[{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902898057679966209",title:"准备餐具",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902898202668666881",title:"协助进餐",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902898339931459586",title:"协助进餐",tagName:"超时"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902898472584712194",title:"鼻胃管进餐",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902898590658564097",title:"胃肠管进餐",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902898719952179201",title:"准备餐具",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902898979948695554",title:"协助进餐",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902899086840532993",title:"协助进餐",tagName:"超时"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902899214838108162",title:"鼻胃管进餐",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902899325014085633",title:"胃肠管进餐",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902899587028062210",title:"食物加工",tagName:null}],levle:"2",title:"加餐饮食",key:"1902596129720864770",parentId:"1902280495747317762"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902281139677839362",title:"准备餐具",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"10",id:"1902281522340970498",title:"鼻胃管进餐",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902281654100836354",title:"协助进餐",tagName:"超时"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902281870434648066",title:"协助进餐",tagName:"正常"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902654960639381506",title:"鼻肠管进餐",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902655101874180097",title:"轮椅进餐",tagName:"大体重"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902892199009030145",title:"轮椅进餐",tagName:null}],levle:"2",title:"正餐饮食",key:"1902601263850950657",parentId:"1902280495747317762"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902893231608926209",title:"准备餐具",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902893551978254337",title:"协助进餐",tagName:"正常"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902893716466274306",title:"协助进餐",tagName:"超时"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902894369850757122",title:"鼻胃管进餐",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902894528533860354",title:"鼻肠管进餐",tagName:null}],levle:"2",title:"辅餐饮食",key:"1902601382595891202",parentId:"1902280495747317762"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902894832176304129",title:"准备餐具",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902894954117304322",title:"协助进餐",tagName:"正常"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902895077522116609",title:"协助进餐",tagName:"超时"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902895233407619073",title:"鼻胃管进餐",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902895569912434689",title:"鼻肠管进餐",tagName:null}],levle:"2",title:"果汁饮食",key:"1902601427168759809",parentId:"1902280495747317762"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902895878508351489",title:"准备水杯",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902895984053817346",title:"协助饮水",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902896136835534850",title:"协助饮水",tagName:"超时"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902896508421509122",title:"鼻胃管饮水",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902896636553302017",title:"鼻肠管饮水",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902896855802155010",title:"准备水杯",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902897018344017921",title:"协助饮水",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902897464936730626",title:"协助饮水",tagName:"超时"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902897675813752834",title:"鼻胃管饮水",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902897803417063426",title:"鼻肠管饮水",tagName:null}],levle:"2",title:"饮水饮食",key:"1902601487625457665",parentId:"1902280495747317762"}],levle:"1",title:"3 饮食照料",key:"1902280495747317762"},{children:[{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902653177363927041",title:"巡视",tagName:null}],levle:"2",title:"巡视",key:"1902564741860790273",parentId:"1902560466095017986"},{children:[{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902653325481578497",title:"防坠床",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902653497066360833",title:"被褥调整",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902653650917625857",title:"睡姿调整",tagName:null}],levle:"2",title:"体位调整",key:"1902564818838851585",parentId:"1902560466095017986"}],levle:"1",title:"4 睡眠照料",key:"1902560466095017986"},{children:[{children:[{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902904277308510210",title:"更换尿袋",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902904458779267073",title:"更换隔尿垫",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902905631242424322",title:"使用尿盆",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902905824973131777",title:"使用尿壶",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902906220483416065",title:"协助入厕",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902906459051233281",title:"坐便椅",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902906610562076674",title:"留置尿袋",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902906783325458434",title:"更换纸尿裤",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902908406344945665",title:"热敷抚触排尿",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902908523827400705",title:"协助坐便椅",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902909645401067522",title:"更换尿片",tagName:null}],levle:"2",title:"小便",key:"1902596314152800257",parentId:"1902560510768549889"},{children:[{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902909835331735554",title:"床上排便",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902910002671882242",title:"协助坐便椅",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902910156154048514",title:"协助入厕",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902910361008050178",title:"人工取便",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902910524623654913",title:"造瘘袋",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902910700176248834",title:"坐便椅",tagName:null}],levle:"2",title:"大便",key:"1902596399423000577",parentId:"1902560510768549889"},{children:[{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902910899565072385",title:"口腔吸痰",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902911047405899778",title:"气切吸痰",tagName:null}],levle:"2",title:"吸痰",key:"1902596461238652930",parentId:"1902560510768549889"},{children:[{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902911232974491650",title:"呕吐",tagName:null}],levle:"2",title:"呕吐",key:"1902596886771765250",parentId:"1902560510768549889"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902911378349068290",title:"腹腔引流护理",tagName:null}],levle:"2",title:"引流",key:"1902596940366581762",parentId:"1902560510768549889"}],levle:"1",title:"5 排泄照料",key:"1902560510768549889"}],C=s(e.defineComponent({__name:"index",props:{isshow:{type:Boolean,required:!0},darkFans:{type:Boolean,required:!0},canmove:{type:Boolean,required:!0},liang:{type:Object}},emits:["darkchange","savename","saveruler","closename","changefangkuang","changeold"],setup(t,{expose:a,emit:i}){const o=t;e.watch((()=>o.canmove),(()=>{Ve.value=!1})),e.watch((()=>o.isshow),(()=>{Ve.value=!1,ae.value=!1})),e.onMounted((()=>{}));const c=e.ref([{name:"纸尿裤",url:"/static/index/niao.png"},{name:"呕吐",url:"/static/index/tu.png"},{name:"吸痰",url:"/static/index/ou.png"},{name:"大便",url:"/static/index/baba.png"},{name:"纸尿裤",url:"/static/index/niao.png"},{name:"呕吐",url:"/static/index/tu.png"},{name:"吸痰",url:"/static/index/ou.png"},{name:"大便",url:"/static/index/baba.png"},{name:"纸尿裤",url:"/static/index/niao.png"},{name:"呕吐",url:"/static/index/tu.png"},{name:"吸痰",url:"/static/index/ou.png"},{name:"大便",url:"/static/index/baba.png"},{name:"纸尿裤",url:"/static/index/niao.png"},{name:"呕吐",url:"/static/index/tu.png"},{name:"吸痰",url:"/static/index/ou.png"},{name:"大便",url:"/static/index/baba.png"}]),s=["00","05","10","15","20","25","30","35","40","45","50","55"],d=["周一","周二","周三","周四","周五","周六","周日"],u=Array.from({length:31},((e,t)=>(t+1).toString().padStart(2,"0"))),m=e.ref(!0),v=e.ref(0),p=e.ref(0),g=e.ref(),w=e.ref([]),h=e.ref([]),y=e.ref(!1),N=e.ref(!1),f=e.ref(!1),E=e.ref(!1),V=e.ref(!1),x=e.ref(""),k=e.ref(!1),C=e.ref(1);function B(e,t){return 2*function(e,t){const l=55.9898*e+78.233*t;return Math.abs(43758.5453*Math.sin(l))%1}(e,t)}e.ref(0);const D=t=>{C.value=t.detail.current,e.nextTick((()=>{p.value=z.value}))};e.ref(0);const z=e.ref(0);function I(e){let t=e.detail.scrollTop,l=parseFloat(t.toFixed(2));z.value=l}e.ref(!0);const F=(e,t)=>!(o.canmove||o.liang.index0!==e||o.liang.index1!==t||!pe.value.includes(e+6*C.value)&&ge.value==t),_=(e,t)=>!o.canmove&&o.liang.index0===e&&o.liang.index1===t,U=(e,t,l)=>"日常"===e.cycleType?J.value.index0===t+6*C.value&&J.value.index1===l&&ae.value?"title-time-border-yellow-active-transparent":ae.value?"title-time-border-yellow-active":"title-time-border-yellow":e.cycleType?J.value.index0===t+6*C.value&&J.value.index1===l&&ae.value?"title-time-border-pouple-active-transparent":ae.value?"title-time-border-pouple-active":"title-time-border-pouple":"title-time-border",$=e.ref([{url:"/static/index/doctorsay/light/use.png",targetUrl:"/static/index/doctorsay/dark/use.png",name:"日常"},{url:"/static/index/doctorsay/light/clean.png",targetUrl:"/static/index/doctorsay/dark/clean.png",name:"清洁"},{url:"/static/index/doctorsay/light/drink.png",targetUrl:"/static/index/doctorsay/dark/drink.png",name:"饮食"},{url:"/static/index/doctorsay/light/bed.png",targetUrl:"/static/index/doctorsay/dark/bed.png",name:"睡眠"},{url:"/static/index/doctorsay/light/shi.png",targetUrl:"/static/index/doctorsay/dark/shi.png",name:"排泻"}]),M=e.ref(1),L=e.ref(0),j=e.ref(999);e.ref(!1),e.ref([]);const A=i,P=e=>{A("changeold",e)},q=e.ref(null);e.ref({});const O=e.ref(0),W=e.ref(0),Y=e.ref(0),R=e.ref(0),J=e.ref({index0:999,index1:999,typeName:""}),X=e.ref(-1),Q=e.ref(!1),Z=e.ref(!1),H=e.ref([-1,-1]),G=e.ref(""),K=e.ref(-1),ee=e.ref(!1),te=()=>{ee.value=!0,Z.value=!1,setTimeout((()=>{Z.value=!0}),100)},le=()=>{uni.share({provider:"weixin",scene:"WXSceneSession",type:0,href:"http://192.168.2.31:3101/daytoday",title:"护理日程分享",summary:"九泰护理日程测试",imageUrl:"https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uni@2x.png",success:function(e){l("log","at component/rightItemssecond/index.vue:740","success:")},fail:function(e){l("log","at component/rightItemssecond/index.vue:743","fail:")}})},ae=e.ref(!1),ie=e.ref([]),re=e=>{const t=Math.floor(e.touches[0].pageX),l=Math.floor(e.touches[0].pageY);(Math.abs(t-O.value)>0||Math.abs(l-W.value)>0)&&q.value&&(clearTimeout(q.value),q.value=null)},ne=e.ref(null),oe=e.ref(!1);let ce=null;function se(e){oe.value=!0,ce&&clearTimeout(ce),ce=setTimeout((()=>{oe.value=!1}),400)}const de=e.ref(!1),ue=e.ref(0),me=e.ref(0),ve=e.ref(!1),pe=e.ref([]),ge=e.ref(-1),we=e.ref(""),he=e.ref("");function ye(){return!!(!Ce.value&&Te.value.startTime||1===Ce.value&&Te.value.startTime&&(Te.value.weekTime||Te.value.monthTime)||2===Ce.value)}const Ne=e=>{const t=Math.floor(e.touches[0].pageX),l=Math.floor(e.touches[0].pageY);(Math.abs(t-ue.value)>0||Math.abs(l-me.value)>0)&&ne.value&&(clearTimeout(ne.value),ne.value=null)},fe=()=>{ve.value=!1,ne.value&&(clearTimeout(ne.value),ne.value=null)},Ee=e.ref(null),Ve=e.ref(!1),xe=e=>{ue.value=Math.floor(e.touches[0].pageX),me.value=Math.floor(e.touches[0].pageY),Ee.value=setTimeout((()=>{Ve.value=!0}),500)},ke=e=>{const t=Math.floor(e.touches[0].pageX),l=Math.floor(e.touches[0].pageY);(Math.abs(t-ue.value)>0||Math.abs(l-me.value)>0)&&Ee.value&&(clearTimeout(Ee.value),Ee.value=null)},be=()=>{Ee.value&&(clearTimeout(Ee.value),Ee.value=null)},Se=e.ref({time:"",array:[]}),Te=e.ref({op:{name:"",index:[-1,-1,-1]},startTime:"",monthTime:"",weekTime:""}),Ce=e.ref(0),Be=(e,t)=>{if(we.value=t.id,he.value=t.tagName,Te.value.op.index[2]===e)Te.value.op.index[2]=-1,Te.value.op.name="",Ce.value=-1;else switch(Te.value.op.index[2]=e,Te.value.op.name=t.relName,t.cycleType){case"日常护理":Ce.value=0;break;case"周期护理":Ce.value=1;break;case"即时护理":Ce.value=2}},De=e.ref([-1,-1]);e.ref(null);const ze=async()=>{N.value=!1,m.value=!0;let t=-1,l=[];if(2===Ce.value)return v.value=1,void e.nextTick((()=>{v.value=0,c.value.unshift({name:Te.value.op.name,url:"/static/index/ou.png",target:"#00a8ff"}),setTimeout((()=>{c.value[0].target="#fff"}),1500),setTimeout((()=>{c.value[0].target=""}),3e3)}));Le.value.forEach(((e,a)=>{l=[],e.children.forEach(((e,t)=>{if(null===e.directiveName||""===e.directiveName||void 0===e.directiveName){Le.value.every((e=>{const l=e.children[t];return void 0===l||null===l.directiveName||""===l.directiveName||void 0===l.directiveName}))&&l.push(t)}})),e.children.forEach(((e,l)=>{e.typeName==h.value[Te.value.op.index[0]].children[Te.value.op.index[1]].title&&(t=l)}))})),-1===t&&(t=l[0]);let a=h.value[Te.value.op.index[0]].children[Te.value.op.index[1]].title;await e.nextTick(),Le.value.forEach(((e,l)=>{e.children[t].typeName=a}));let i="";Ce.value?1===Ce.value&&(i=Te.value.weekTime||Te.value.monthTime+"号"):i="日常";const r=Number(Se.value.time),n=Number(Te.value.startTime),o=n+10,s=r+Math.floor(o/60),d=`${String(r)}:${String(n).padStart(2,"0")}`,u=`${String(s)}:${String(o%60).padStart(2,"0")}`;-1!==t?(Le.value[De.value[0]].children[t].startTime=d,Le.value[De.value[0]].children[t].endTime=u):(Le.value[De.value[0]].children[De.value[1]].startTime=d,Le.value[De.value[0]].children[De.value[1]].endTime=u);let g={directiveId:we.value,directiveName:Te.value.op.name,startTime:d,endTime:u,positioning:De.value[0].toString(),positioningLong:De.value[1].toString(),tagName:he.value,cycleType:i,nuId:"1",customerId:"1",id:"",typeName:a};Le.value[De.value[0]].children[t]=g,Le.value.forEach((e=>{e.children.forEach((e=>{}))}));let w={index0:De.value[0],index1:t};$e(w);Le.value.some((e=>{const t=e.children;return""!==t[t.length-1].directiveName.trim()}))&&(Le.value.forEach((e=>{e.children.push({directiveName:""})})),p.value=999,e.nextTick(),p.value=9999),Ie()},Ie=()=>{Le.value.forEach(((e,t)=>{e.children.forEach(((e,l)=>{let a="";if(e.directiveName||e.id)e.positioning=t,e.positioningLong=l;else{let i={};e.typeName&&(a=e.typeName),i=JSON.parse(JSON.stringify(Me.value)),a&&(i.typeName=a),i.positioning=t,i.positioningLong=l}}))}))},Fe=()=>{uni.setStorage({key:"myArray",data:Le.value,success:function(){uni.navigateTo({url:`/pages/timeMatrix/index?currentNumber=${C.value}`})}})},_e=e.ref({index0:-1,index1:-1}),Ue=e.ref({index0:-1,index1:-1,current:-1,bordershow:!0}),$e=e=>{p.value=0,p.value=104*e.index1,C.value===Math.floor(e.index0/6)?(Ue.value.index0=e.index0-6*C.value,Ue.value.index1=e.index1,_e.value.index0=Ue.value.index0,_e.value.index1=Ue.value.index1,Ue.value.current=C.value,Ue.value.bordershow=!1,setTimeout((()=>{Ue.value.index0=-1,Ue.value.index1=-1,Ue.value.current=-1}),400),setTimeout((()=>{Ue.value.bordershow=!0,_e.value.index0=-1,_e.value.index1=-1}),1e3)):(setTimeout((()=>{C.value=Math.floor(e.index0/6)}),100),setTimeout((()=>{Ue.value.index0=e.index0-6*C.value,Ue.value.index1=e.index1,_e.value.index0=Ue.value.index0,_e.value.index1=Ue.value.index1,Ue.value.current=C.value,Ue.value.bordershow=!1}),800),setTimeout((()=>{Ue.value.index0=-1,Ue.value.index1=-1,Ue.value.current=-1}),1400),setTimeout((()=>{Ue.value.bordershow=!0,_e.value.index0=-1,_e.value.index1=-1}),2200))};r((()=>{h.value=T,g.value=h.value[0].children,uni.$on("where",$e)})),n((()=>{uni.$off("where",$e)})),a({rulerEnd:async e=>{de.value=!1,999!==o.liang.index0&&e&&(Te.value={op:{name:"",index:[-1,-1,-1]},startTime:"",monthTime:"",weekTime:""},E.value=!1,N.value=!0,setTimeout((()=>{E.value=!0}),100),Te.value.op.index[0]=L.value,Te.value.op.index[1]=j.value,Se.value.time=Le.value[o.liang.index0+6*C.value].positioning,Se.value.array=h.value[L.value].children[j.value].children,Se.value.array.forEach((e=>{e.relName=e.title+(e.tagName?e.tagName.split(",").map((e=>`(${e})`)).join(""):"")})),De.value=[o.liang.index0+6*C.value,o.liang.index1],Be(0,Se.value.array[0]))},rulerMoveEnd:e=>{if(999!==o.liang.index0&&e.cycleType){if(pe.value.includes(o.liang.index0+6*C.value)||ge.value!==o.liang.index1)return!1;De.value=[o.liang.index0+6*C.value,o.liang.index1];let t=-1,l=[];Le.value.forEach(((a,i)=>{l=[],a.children.forEach(((e,t)=>{if(null===e.directiveName||""===e.directiveName||void 0===e.directiveName){Le.value.every((e=>{const l=e.children[t];return void 0===l||null===l.directiveName||""===l.directiveName||void 0===l.directiveName}))&&l.push(t)}})),a.children.forEach(((l,a)=>{l.typeName==e.typeName&&(t=a)}))})),-1===t&&(t=l[0]);let a=0,i="";Le.value.forEach((e=>{e.children[0].value&&(a++,i=e.children[0].typeName)})),Le.value[J.value.index0].children[J.value.index1]=a>1?{directiveName:"",typeName:i}:{directiveName:""},Le.value[De.value[0]].children[t]=e;let r=Le.value[De.value[0]].children[t].startTime,n=Le.value[De.value[0]].children[t].endTime,c=Le.value[De.value[0]].positioning;const s=r.substring(r.indexOf(":")),d=n.substring(n.indexOf(":"));Le.value[De.value[0]].children[t].startTime=c+s,Le.value[De.value[0]].children[t].endTime=c+d;Le.value.some((e=>{const t=e.children;return""!==t[t.length-1].directiveName.trim()}))&&(Le.value.forEach((e=>{e.children.push({directiveName:""})})),p.value=999,p.value=9999),Ie()}},nextItems:()=>{0==C.value?C.value=3:C.value--}}),e.ref({index0:999,index1:999});const Me=e.ref({directiveId:"",directiveName:"",startTime:"",endTime:"",positioning:"",positioningLong:"",tagName:"",cycleType:"",nuId:"1",customerId:"1",id:"",typeName:""}),Le=e.ref(Array.from({length:24},((e,t)=>({positioning:t.toString(),children:Array.from({length:4},(()=>({directiveName:""})))}))));function je(e){let t=[],l=e,a=/([^((]*)[((]([^))]+)[))]/;for(;a.test(l);){let e=l.match(a);e&&(e[1].trim()&&t.push(e[1].trim()),e[2].trim()&&t.push(e[2].trim()),l=l.replace(e[0],"").trim())}return l.trim()&&t.push(l.trim()),t}return(l,a)=>{var i,r,n,o;return e.openBlock(),e.createElementBlock("view",{class:"right-container",style:e.normalizeStyle(t.isshow?{opacity:"1"}:{opacity:"0"}),onClick:a[22]||(a[22]=e=>{Ve.value=!1,ae.value=!1})},[e.createElementVNode("view",{class:"right-container-title-nav"},[e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"right-container-title-no-dark":"right-container-title-no")}," ID:12345678 ",2),e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"right-container-title-no-dark":"right-container-title-no")}," 名称:未命名01 ",2),e.createElementVNode("view",{class:"right-icons"},[e.createElementVNode("image",{class:"right-icons-img",src:"/static/index/undericons/man.png"},null,8,["src"]),e.createElementVNode("view",{class:e.normalizeClass(t.darkFans?"right-icons-font-dark":"right-icons-font")},"王金福",2),e.createElementVNode("image",{class:"right-icons-img-icon",src:t.darkFans?"/static/index/undericons/face.png":"/static/index/undericons/facelight.png"},null,8,["src"]),e.createElementVNode("image",{class:"right-icons-img-icon",src:t.darkFans?"/static/index/undericons/hand.png":"/static/index/undericons/handlight.png"},null,8,["src"]),e.createElementVNode("image",{class:"right-icons-img-icon",src:t.darkFans?"/static/index/undericons/out.png":"/static/index/undericons/outlight.png"},null,8,["src"])]),e.createElementVNode("view",{class:"right-container-title-class-anhei-button",onClick:a[0]||(a[0]=e=>P(0))},[e.createElementVNode("text",{class:"right-container-title-class-anhei"}," 拖动模式 ")]),e.createElementVNode("view",{class:"right-container-title-class-anhei-button-wrong",onClick:a[1]||(a[1]=e=>P(2))},[e.createElementVNode("text",{class:"right-container-title-class-anhei"}," 手柄模式 ")])]),e.createElementVNode("view",{class:"doctorsay-container-view"},[e.createElementVNode("view",{class:"doctorsay-container-container"},[e.createElementVNode("view",{class:"doctorsay-container-title"},[e.createElementVNode("view",{class:"doctorsay-container-left"},[e.createElementVNode("view",{class:"doctorsay-container-left-gun"}),e.createElementVNode("view",{class:"doctorsay-container-left-font"},"时间矩阵"),e.createElementVNode("view",{class:"doctorsay-container-share",onClick:te}," 分享 ")]),e.createElementVNode("view",{class:"doctorsay-container-right"},[e.createElementVNode("view",{class:"doctorsay-container-right-kuai-cheng"}),e.createElementVNode("view",{class:"doctorsay-container-kuai-font"},"日常"),e.createElementVNode("view",{class:"doctorsay-container-right-kuai-zi"}),e.createElementVNode("view",{class:"doctorsay-container-kuai-font"},"周期"),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"doctorsay-container-button-father",key:l},[e.createElementVNode("view",{class:e.normalizeClass(M.value===l?"doctorsay-container-button-target":"doctorsay-container-button"),onClick:e=>(e=>{M.value=e})(l)},e.toDisplayString(t),11,["onClick"])])))),128)),e.createElementVNode("view",{class:"doctorsay-container-juzhen",onClick:Fe}," 预览 ")])]),e.createElementVNode("view",{class:"super-card"},[e.createElementVNode("view",{class:"super-card-container"},[e.createElementVNode("view",{class:"boom"},[e.createElementVNode("view",{style:e.normalizeStyle({marginTop:`-${2*z.value}rpx`})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Le.value[0].children,((l,a)=>(e.openBlock(),e.createElementBlock("view",{key:a},[e.withDirectives(e.createElementVNode("view",{class:e.normalizeClass(K.value===a||t.liang.index1===a&&!t.canmove||J.value.index1===a&&ae.value?"boom-son-target":"boom-son")},e.toDisplayString(l.typeName),3),[[e.vShow,l.typeName]])])))),128))],4)]),e.createElementVNode("swiper",{"disable-touch":!t.canmove||ae.value,current:C.value,class:"scroll-x",circular:"","indicator-dots":!1,onChange:D,interval:4e3,duration:500},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,2,3,4],((l,i)=>e.createElementVNode("swiper-item",{key:i},[e.createElementVNode("view",{style:{display:"flex","box-shadow":"10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1)",background:"linear-gradient(to right, #c4dbf4,#c9c2ef, #c6dcf3)"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Le.value.slice(6*i,6*(i+1)),((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"super-card-time",style:e.normalizeStyle(M.value?{width:"274rpx"}:{width:"206rpx"})},e.toDisplayString((1==t.positioning.length?"0"+t.positioning:t.positioning)+":00"),5)])))),128))]),e.createElementVNode("view",{style:{display:"flex",height:"calc(100% - 80rpx)"}},[e.createElementVNode("scroll-view",{style:e.normalizeStyle([{height:"100%"},M.value?{width:"6700rpx"}:{width:"5000rpx"}]),"scroll-top":p.value,"scroll-y":t.canmove&&!ae.value,onScroll:I,"show-scrollbar":!1},[e.createElementVNode("view",{style:{display:"flex",height:"100%"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Le.value.slice(6*i,6*(i+1)),((l,i)=>(e.openBlock(),e.createElementBlock("view",{key:i},[e.createElementVNode("view",{class:"super-card-time-und",style:e.normalizeStyle(M.value?{width:"274rpx"}:{width:"206rpx"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.children,((l,r)=>(e.openBlock(),e.createElementBlock("view",{style:{width:"100%"},key:r},[e.createElementVNode("view",{class:e.normalizeClass(Ue.value.current===C.value&&Ue.value.index0===i&&Ue.value.index1===r?Ue.value.index1?"title-time-border-big":"title-time-border-big-top":"super-card-time-card"),style:e.normalizeStyle([Ue.value.bordershow||_e.value.index0!==i||_e.value.index1!==r?{borderTop:"1rpx solid transparent"}:{zIndex:999},{position:"relative"}]),id:`a${i}_${r}`,onClick:t=>((t,l,a,i)=>{t.directiveName&&(K.value=a,uni.createSelectorQuery().selectAll(".super-card-time-card").boundingClientRect((t=>{t.forEach((async t=>{t.left>100&&t.left<900&&t.top<570&&t.top>140&&t.dataset.index0==l&&t.dataset.index1==a&&(t.left>100&&t.left<400?Y.value=Math.floor(t.left)+520:Y.value=Math.floor(t.left),t.top>140&&t.top<300?R.value=Math.floor(t.top)+250:R.value=Math.floor(t.top),await e.nextTick(),y.value=!0,f.value=!1,setTimeout((()=>{f.value=!0}),100))}))})).exec())})(l,i,r),onTouchstart:e=>((e,t,l,a)=>{p.value=z.value,pe.value=[];let i=-1;O.value=Math.floor(a.touches[0].pageX),W.value=Math.floor(a.touches[0].pageY),q.value=setTimeout((()=>{e.directiveName&&(Le.value.forEach(((t,l)=>{t.children.forEach((t=>{t.typeName===e.typeName&&t.directiveName&&pe.value.push(l),t.directiveName&&(i=l)}))})),pe.value.length?ge.value=l:ge.value=i+1,J.value.typeName=e.typeName,J.value.index0=t+6*C.value,J.value.index1=l,De.value=[-1,-1],ie.value=[],ve.value=!0,uni.createSelectorQuery().selectAll(".super-card-time-card").boundingClientRect((e=>{e.forEach((async e=>{e.left>100&&e.left<900&&e.top<570&&e.top>140&&ie.value.push(e)}))})).exec(),A("saveruler",e,ie.value),ae.value=!0)}),100)})(l,i,r,e),onTouchmove:re,onTouchend:a[2]||(a[2]=e=>(ve.value=!1,void(q.value&&(clearTimeout(q.value),q.value=null)))),"data-index0":i,"data-index1":r},[l.directiveName&&ae.value?e.withDirectives((e.openBlock(),e.createElementBlock("view",{key:0,class:"title-time-delete",onClick:e.withModifiers((e=>((e,t,l)=>{H.value=[-1,-1],ae.value=!1,Ve.value=!1,k.value=!1,V.value=!0,H.value=[t+6*C.value,l],x.value=e.directiveName,G.value=e.id,setTimeout((()=>{k.value=!0}),100)})(l,i,r)),["stop"])}," - ",8,["onClick"])),[[e.vShow,t.liang.index0!==i||t.liang.index1!==r||t.canmove]]):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("view",{class:"title-time-blue"},[e.createElementVNode("image",{class:"title-time-blue-img",src:F(i,r)?"/static/index/movemode/targetcheng.png":"/static/index/movemode/target.png"},null,8,["src"])],512),[[e.vShow,_(i,r)]]),e.createElementVNode("view",{class:e.normalizeClass(U(l,i,r)),style:e.normalizeStyle([{"font-size":"30rpx",overflow:"hidden"},{animationDelay:`-${B(i,r).toFixed(2)}s`}])},[l.startTime?e.withDirectives((e.openBlock(),e.createElementBlock("view",{key:0,class:"title-time",style:{"margin-top":"5rpx"}},[e.createElementVNode("view",{class:"title-time-time",style:{"font-size":"30rpx"}},e.toDisplayString(l.startTime+"-"+l.endTime),1),e.createElementVNode("image",{class:"title-time-button",src:"日常"==l.cycleType?"/static/index/yellowbian.png":"/static/index/puoplebian.png"},null,8,["src"]),e.createElementVNode("view",{class:"title-time-font"},e.toDisplayString(l.cycleType),1)],512)),[[e.vShow,t.liang.index0!==i||t.liang.index1!==r||t.canmove]]):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("view",{style:{"margin-top":"20rpx","font-weight":"700"}},e.toDisplayString(je(l.directiveName)[0]),513),[[e.vShow,t.liang.index0!==i||t.liang.index1!==r||t.canmove]]),je(l.directiveName)[1]?e.withDirectives((e.openBlock(),e.createElementBlock("view",{key:1,class:"down-icons",style:e.normalizeStyle("日常"!=l.cycleType?{backgroundColor:"rgb(212,203,255)"}:{})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(je(l.directiveName).slice(1),((t,a)=>(e.openBlock(),e.createElementBlock("view",{class:"",key:a},[e.createElementVNode("view",{class:"icon",style:e.normalizeStyle("日常"!=l.cycleType?{backgroundColor:"rgb(123,97,255)"}:{})},e.toDisplayString(je(l.directiveName)[a+1]),5)])))),128))],4)),[[e.vShow,t.liang.index0!==i||t.liang.index1!==r||t.canmove]]):e.createCommentVNode("",!0)],6)],46,["id","onClick","onTouchstart","data-index0","data-index1"])])))),128))],4)])))),128))])],44,["scroll-top","scroll-y"])])]))),64))],40,["disable-touch","current"])])]),e.createElementVNode("view",{class:"super-card-end"},[e.createElementVNode("view",{class:"super-end-father"},[e.createElementVNode("view",{class:"super-end-font-father"},[e.createElementVNode("view",{class:"super-end-font-gun"}),e.createElementVNode("view",{class:"super-end-font-font"},"即时指令")]),e.createElementVNode("scroll-view",{"scroll-x":"",class:"super-end-items-all","scroll-left":v.value},[e.createElementVNode("view",{class:"super-end-items"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{onTouchstart:xe,onTouchmove:ke,onTouchend:be,style:e.normalizeStyle(t.target?{background:t.target,transition:"all 1.5s ease-in-out"}:{transition:"all 1.5s ease-in-out"}),class:"super-end-items-father"},[e.withDirectives(e.createElementVNode("view",{class:"super-end-items-father-close-father",onClick:e.withModifiers((e=>((e,t)=>{Ve.value=!1,X.value=e,ae.value=!1,Z.value=!1,Q.value=!0,x.value=t,setTimeout((()=>{Z.value=!0}),100)})(l,t.name)),["stop"])}," - ",8,["onClick"]),[[e.vShow,Ve.value]]),e.createElementVNode("view",{style:e.normalizeStyle({animationDelay:`-${.1*l}s`}),class:e.normalizeClass(Ve.value?"super-end-items-img-father-active":"super-end-items-img-father")},[e.createElementVNode("image",{class:"super-end-items-img",src:t.url},null,8,["src"])],6),e.createElementVNode("view",{class:"super-end-items-font"},e.toDisplayString(t.name),1)],36)])))),128))])],8,["scroll-left"])])])]),e.createElementVNode("view",{class:"doctorsay-container-items"},[e.createElementVNode("view",{class:"doctorsay-container-up"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList($.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,onClick:e=>(e=>{L.value=e,g.value=h.value[e].children,j.value=999})(l)},[e.createElementVNode("view",{class:"doctorsay-container-card",style:e.normalizeStyle(l===L.value?{background:"linear-gradient(to right bottom, #00c9ff, #0076ff)"}:{})},[e.createElementVNode("image",{class:"doctorsay-container-card-img",src:l===L.value?t.targetUrl:t.url},null,8,["src"]),e.createElementVNode("view",{class:e.normalizeClass(l===L.value?"doctorsay-container-card-font-dark":"doctorsay-container-card-font")},e.toDisplayString(t.name),3)],4)],8,["onClick"])))),128)),e.createElementVNode("view",null,[e.createElementVNode("view",{class:"doctorsay-container-card",style:{background:"linear-gradient(135deg, #01e7be 0%, #0080dd 100%)"}},[e.createElementVNode("image",{class:"doctorsay-container-card-img",src:"/static/index/shexiang.png"}),e.createElementVNode("view",{class:"doctorsay-container-card-font-dark"}," 监控 ")])])]),e.createElementVNode("view",{class:"doctorsay-container-down"},[e.createElementVNode("view",{class:"doctorsay-top"},[e.createElementVNode("view",{class:"doctorsay-top-gun"}),e.createElementVNode("view",{class:"doctorsay-top-font"},"服务类型")]),e.createElementVNode("scroll-view",{"scroll-y":t.canmove,class:"doctorsay-container-scroll",onScroll:se},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"doctorsay-container-button",onClick:e=>j.value=l,onTouchstart:e=>((e,t,l)=>{p.value=z.value,ae.value=!1,ue.value=Math.floor(l.touches[0].pageX),me.value=Math.floor(l.touches[0].pageY),ne.value=setTimeout((()=>{if(pe.value=[],oe.value)return;let l=-1,a=-1;Le.value.forEach(((t,i)=>{t.children.forEach(((t,r)=>{t.typeName===e.title&&t.directiveName&&(pe.value.push(i),l=r),t.directiveName&&r>a&&(a=r)}))})),pe.value.length?ge.value=l:ge.value=a+1,de.value=!0,j.value=t,De.value=[-1,-1],ve.value=!0,ie.value=[],uni.createSelectorQuery().selectAll(".super-card-time-card").boundingClientRect((e=>{e.forEach((e=>{e.left>100&&e.left<900&&e.top<570&&e.top>140&&ie.value.push(e)}))})).exec(),A("savename",e.title,ie.value)}),200)})(t,l,e),onTouchmove:Ne,onTouchend:fe},[e.createElementVNode("text",{class:e.normalizeClass(j.value===l?"doctorsay-container-text-target":"doctorsay-container-text"),style:e.normalizeStyle({backgroundColor:t.color?t.color:"",...de.value?{}:{width:"250rpx",height:"75rpx",fontSize:"30rpx",borderRadius:"25rpx"}})},e.toDisplayString(t.title),7),e.withDirectives(e.createElementVNode("image",{class:"doctorsay-container-button-uplight",style:e.normalizeStyle(de.value?{}:{top:"30rpx"}),src:"/static/index/cardicons/uplight.png"},null,12,["src"]),[[e.vShow,j.value===l]])],40,["onClick","onTouchstart"])])))),128))],40,["scroll-y"])])])]),e.withDirectives(e.createElementVNode("view",{class:"popup-overlay",onClick:a[4]||(a[4]=e=>{y.value=!1,J.value.index0=999,K.value=-1})},[e.createElementVNode("view",{class:"popup-overlay-content",style:e.normalizeStyle({top:2*R.value-350+"rpx",left:2*Y.value-780+"rpx",opacity:f.value?1:0,backgroundColor:"日常"===(null==(r=null==(i=Le.value[J.value.index0])?void 0:i.children[J.value.index1])?void 0:r.type)?"#fffcf6":"rgb(246, 244, 254)"}),onClick:a[3]||(a[3]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"popup-overlay-content-left"},[e.createElementVNode("image",{class:"popup-overlay-content-left-img",src:"/static/index/teeth.png"},null,8,["src"]),e.createElementVNode("text",{class:"popup-overlay-content-left-font"},e.toDisplayString(null==(o=null==(n=Le.value[J.value.index0])?void 0:n.children[J.value.index1])?void 0:o.value),1)]),e.createElementVNode("view",{class:"popup-overlay-content-right"},[e.createElementVNode("view",{class:"time-font"}," 10:00 - 10:10 "),e.createElementVNode("view",{class:"time-text"}," 为老人提供口腔清洁器具,牙膏、牙刷及水杯,看护完成 ")])],4)],512),[[e.vShow,y.value]]),N.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"popup-song",onClick:a[11]||(a[11]=e=>N.value=!1)},[e.createElementVNode("view",{class:"popup-song-contain",style:e.normalizeStyle({opacity:E.value?1:0}),onClick:a[10]||(a[10]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"popup-song-father"},[e.createElementVNode("image",{class:"shu-up-img",src:"/static/index/cheng.png"}),e.createElementVNode("view",{class:"shu-up-font"},[e.createElementVNode("view",{class:""}," 服务时段:"+e.toDisplayString(Se.value.time+":00"),1),e.createElementVNode("view",{style:{"margin-left":"30rpx"}}," 护理时长:10分钟 ")]),e.createElementVNode("view",{class:"shu-container-left"},[e.createElementVNode("view",{class:"shu-container-left-gun"}),e.createElementVNode("view",{class:"shu-container-left-font"},"服务指令")]),e.createElementVNode("view",{class:"arrayindex"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Se.value.array,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{style:{position:"relative","box-shadow":"10rpx 10rpx 20rpx rgba(105, 129, 178, 0.4)"},class:e.normalizeClass(Te.value.op.index[2]===l?"arrayindex-one-target":"arrayindex-one"),onClick:e=>Be(l,t)},[e.withDirectives(e.createElementVNode("image",{class:"ri-img",src:Te.value.op.index[2]!==l?"/static/index/ridark.png":"/static/index/ri.png"},null,8,["src"]),[[e.vShow,"日常护理"===t.cycleType]]),e.withDirectives(e.createElementVNode("image",{class:"ri-img",src:Te.value.op.index[2]==l?"/static/index/zhoudark.png":"/static/index/zhou.png"},null,8,["src"]),[[e.vShow,"周期护理"===t.cycleType]]),e.withDirectives(e.createElementVNode("image",{class:"ri-img",src:Te.value.op.index[2]==l?"/static/index/jidark.png":"/static/index/ji.png"},null,8,["src"]),[[e.vShow,"即时护理"===t.cycleType]]),e.createTextVNode(" "+e.toDisplayString(t.relName),1)],10,["onClick"])])))),128))]),e.withDirectives(e.createElementVNode("view",{class:"shu-container-left",style:{"margin-top":"50rpx"}},[e.createElementVNode("view",{class:"shu-container-left-gun"}),e.createElementVNode("view",{class:"shu-container-left-font"},"开始分钟")],512),[[e.vShow,2!=Ce.value]]),e.withDirectives(e.createElementVNode("view",{class:"time-father"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(s,((t,l)=>e.createElementVNode("view",{key:l},[e.withDirectives(e.createElementVNode("view",{class:"time-one-hui"},e.toDisplayString(t),513),[[e.vShow,Number(t)>=50]]),e.withDirectives(e.createElementVNode("view",{class:e.normalizeClass(Te.value.startTime===t?"time-one-target":"time-one"),onClick:e=>(e=>{Te.value.startTime==e?Te.value.startTime="":Te.value.startTime=e})(t)},e.toDisplayString(t),11,["onClick"]),[[e.vShow,Number(t)<50]])]))),64))],512),[[e.vShow,2!=Ce.value]]),e.withDirectives(e.createElementVNode("view",{class:"shu-container-left",style:{"margin-top":"50rpx"}},[e.createElementVNode("view",{class:"shu-container-left-gun"}),e.createElementVNode("view",{class:"shu-container-left-font"},"周期类型")],512),[[e.vShow,1==Ce.value]]),e.withDirectives(e.createElementVNode("view",{class:"radio-father"},[e.createElementVNode("view",{class:e.normalizeClass(m.value?"radio-circle-target":"radio-circle"),onClick:a[5]||(a[5]=e=>{m.value=!0,Te.value.monthTime=""})},null,2),e.createElementVNode("view",{class:"radio-font",onClick:a[6]||(a[6]=e=>{m.value=!0,Te.value.monthTime=""})},"每周"),e.createElementVNode("view",{class:e.normalizeClass(m.value?"radio-circle":"radio-circle-target"),onClick:a[7]||(a[7]=e=>{m.value=!1,Te.value.weekTime=""})},null,2),e.createElementVNode("view",{class:"radio-font",onClick:a[8]||(a[8]=e=>{m.value=!1,Te.value.weekTime=""})},"每月")],512),[[e.vShow,1==Ce.value]]),e.withDirectives(e.createElementVNode("view",{class:"week-father"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(d,((t,l)=>e.createElementVNode("view",{key:l},[e.createElementVNode("view",{class:e.normalizeClass(Te.value.weekTime===t?"week-one-target":"week-one"),onClick:e=>(e=>{Te.value.weekTime==e?Te.value.weekTime="":Te.value.weekTime=e})(t)},e.toDisplayString(t),11,["onClick"])]))),64))],512),[[e.vShow,m.value&&1==Ce.value]]),e.withDirectives(e.createElementVNode("view",{class:"month-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(u),((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:e.normalizeClass(Te.value.monthTime===t?"month-one-target":"month-one"),onClick:e=>(e=>{Te.value.monthTime==e?Te.value.monthTime="":Te.value.monthTime=e})(t)},e.toDisplayString(t),11,["onClick"])])))),128))],512),[[e.vShow,!m.value&&1==Ce.value]]),e.createElementVNode("view",{class:"button-father"},[e.createElementVNode("view",{style:{display:"flex"}},[e.withDirectives(e.createElementVNode("view",{class:"button-father-right",onClick:ze}," 确定 ",512),[[e.vShow,ye()]]),e.withDirectives(e.createElementVNode("view",{class:"button-father-wrong"}," 确定 ",512),[[e.vShow,!ye()]]),e.createElementVNode("view",{class:"button-father-wrong",onClick:a[9]||(a[9]=e=>N.value=!1),style:{"margin-left":"20rpx"}}," 取消 ")])])])],4)])):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("view",{class:"popup-delete",onClick:a[15]||(a[15]=e=>V.value=!1)},[e.createElementVNode("view",{class:"popup-delete-content",style:e.normalizeStyle({opacity:k.value?1:0}),onClick:a[14]||(a[14]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("image",{class:"popup-delete-img",src:b}),e.createElementVNode("view",{class:"popup-delete-text"}," 确定要删除 "+e.toDisplayString(x.value)+" 吗? ",1),e.createElementVNode("view",{class:"popup-delete-button"},[e.createElementVNode("view",{class:"popup-delete-button-right",onClick:a[12]||(a[12]=e=>V.value=!1)}," 取消 "),e.createElementVNode("view",{class:"popup-delete-button-left",onClick:a[13]||(a[13]=e=>((e,t)=>{Le.value[e].children[t]={directiveName:""},y.value=!1,J.value.index0=999,J.value.index1=999;let l=[],a=0;Le.value.forEach(((e,t)=>{l=[],a=e.children.length,e.children.forEach(((e,t)=>{null!==e.directiveName&&""!==e.directiveName&&void 0!==e.directiveName||Le.value.every((e=>{const l=e.children[t];return void 0===l||null===l.directiveName||""===l.directiveName||void 0===l.directiveName}))&&l.push(t)}))})),a>4&&l.length>1?Le.value.forEach(((e,t)=>{e.children.splice(l[0],1)})):Le.value.forEach(((e,t)=>{e.children.splice(l[0],1),e.children.push({directiveName:""})})),V.value=!1,Ie()})(H.value[0],H.value[1]))}," 确定 ")])],4)],512),[[e.vShow,V.value]]),e.withDirectives(e.createElementVNode("view",{class:"popup-delete",onClick:a[19]||(a[19]=e=>Q.value=!1)},[e.createElementVNode("view",{class:"popup-delete-content",style:e.normalizeStyle({opacity:Z.value?1:0}),onClick:a[18]||(a[18]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("image",{class:"popup-delete-img",src:b}),e.createElementVNode("view",{class:"popup-delete-text"}," 确定要删除 "+e.toDisplayString(x.value)+" 吗? ",1),e.createElementVNode("view",{class:"popup-delete-button"},[e.createElementVNode("view",{class:"popup-delete-button-right",onClick:a[16]||(a[16]=e=>Q.value=!1)}," 取消 "),e.createElementVNode("view",{class:"popup-delete-button-left",onClick:a[17]||(a[17]=e=>{c.value.splice(X.value,1),Q.value=!1})}," 确定 ")])],4)],512),[[e.vShow,Q.value]]),e.withDirectives(e.createElementVNode("view",{class:"popup-share",onClick:a[21]||(a[21]=e=>ee.value=!1)},[e.createElementVNode("view",{class:"popup-share-content",style:e.normalizeStyle({opacity:Z.value?1:0}),onClick:a[20]||(a[20]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"popup-share-title"},[e.createTextVNode(" 护理日程分享 "),e.createElementVNode("image",{class:"popup-share-img",src:S})]),e.createElementVNode("view",{class:"popup-share-upcontent"},[e.createElementVNode("view",{class:"popup-share-font"},"久泰护理日程分享测试")]),e.createElementVNode("view",{class:"popup-share-gray"}),e.createElementVNode("view",{class:"popup-share-downcontent"},[e.createElementVNode("view",{class:"popup-share-downcontent-left"},[e.createElementVNode("image",{class:"popup-downcontent-img",src:S}),e.createElementVNode("view",{class:"popup-downcontent-font"},"久泰护理")]),e.createElementVNode("view",{class:"popup-share-downcontent-button",onClick:le}," 分享 ")])],4)],512),[[e.vShow,ee.value]])],4)}}}),[["__scopeId","data-v-81c0d68b"]]),B="/static/index/ku.png",D="/static/index/ren.png",z="/static/index/tu.png",I=[{children:[{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1900421622979706886",title:"协助喂药",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902604232524795905",title:"鼻饲喂药",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902604428667228162",title:"注射器/吸管喂药",tagName:"头部,大体重"}],levle:"2",title:"协助喂药",key:"1900114812020310017",parentId:"1900112597427793921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902605892869394433",title:"一级压疮防护",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902606105021485058",title:"二级压疮防护",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902606339931869185",title:"三级压疮防护",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902606614344208386",title:"一级压疮防护",tagName:"大体重"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902606869953482753",title:"二级压疮防护",tagName:"大体重"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902607023431454722",title:"三级压疮防护",tagName:"大体重"}],levle:"2",title:"压疮防护",key:"1900115034452639746",parentId:"1900112597427793921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1900421622979706887",title:"床椅转移",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1900421622979706888",title:"床椅转移",tagName:"大体重"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902605073730211842",title:"床椅转移",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902605223185846273",title:"床椅转移",tagName:"大体重"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902605365393723393",title:"协助床椅转移",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902605496071458818",title:"协助床椅转移",tagName:null}],levle:"2",title:"床椅转移",key:"1902248363784159233",parentId:"1900112597427793921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902607507626102786",title:"轮椅防护",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902607677415723010",title:"轮椅防护",tagName:"大体重"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902607817589362689",title:"轮椅防护",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902608061588803585",title:"轮椅防护",tagName:"大体重"}],levle:"2",title:"轮椅防护",key:"1902280900178886657",parentId:"1900112597427793921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902608564582322178",title:"约束位按摩",tagName:"手"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902608974609092610",title:"约束位按摩",tagName:"足"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902618507855237121",title:"约束位按摩",tagName:"全"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902618751548493825",title:"防护网约束",tagName:null}],levle:"2",title:"约束防护",key:"1902280933364219906",parentId:"1900112597427793921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902620309090701314",title:"协助行走",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902620486044192769",title:"放松按摩",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"30",id:"1902625161569079298",title:"心灵慰藉",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"10",id:"1902625402468929537",title:"狂躁",tagName:null}],levle:"2",title:"按摩保健",key:"1902564031454744577",parentId:"1900112597427793921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902625872432304130",title:"准备衣物",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902626005538541569",title:"协助更换",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902626664711163905",title:"肢体障碍",tagName:"半侧"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902626800510144513",title:"肢体障碍",tagName:"全身"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902627064688381953",title:"准备衣物",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902627280716009474",title:"协助更换",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902627416598876161",title:"肢体障碍",tagName:"半侧"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902627522404388866",title:"肢体障碍",tagName:"全身"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902627711806574593",title:"协助更换",tagName:"大体重"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902628058591629313",title:"肢体障碍",tagName:"半侧,大体重"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902628650718302209",title:"肢体障碍",tagName:"大体重,全测"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902628837725540354",title:"肢体障碍",tagName:"大体重,全测"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902628966847188993",title:"肢体障碍",tagName:"大体重,半侧"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902629129879785474",title:"协助更换",tagName:"大体重"}],levle:"2",title:"更换衣物",key:"1902564088417587201",parentId:"1900112597427793921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902629344456183809",title:"坐起",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902629492301205506",title:"躺下",tagName:null}],levle:"2",title:"调整坐卧",key:"1902564199830884354",parentId:"1900112597427793921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"55",id:"1902630862769065985",title:"遗体净身",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"55",id:"1902631162275926017",title:"遗体穿衣",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"30",id:"1902631422431825921",title:"遗体转移",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"30",id:"1902631602463936514",title:"床位消毒",tagName:null}],levle:"2",title:"殡仪服务",key:"1902564263743688705",parentId:"1900112597427793921"},{children:[{cycleType:"周期护理",levle:"3",serviceDuration:"5",id:"1902631830441136129",title:"更换床上用品",tagName:"全部"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902632063828987905",title:"隔尿褥子更换",tagName:null}],levle:"2",title:"更换床上用品",key:"1902564446648897538",parentId:"1900112597427793921"},{children:[{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902632288270389250",title:"临终护理",tagName:null}],levle:"2",title:"临终服务",key:"1902564503783706625",parentId:"1900112597427793921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"40",id:"1902632678701371393",title:"制氧机吸氧",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902632799853842433",title:"制氧机维护",tagName:null}],levle:"2",title:"制氧机应用",key:"1902564586101116930",parentId:"1900112597427793921"}],levle:"1",title:"1 日常照料",key:"1900112597427793921"},{children:[{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1900376187661553665",title:"准备洁具",tagName:"口腔"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1900420873478553602",title:"棉球清洁",tagName:"口腔"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1900421622979706881",title:"协助清洁",tagName:"口腔"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1900421622979706885",title:"义齿清洁",tagName:"口腔"}],levle:"2",title:"口腔清洁",key:"1902597070889127938",parentId:"1900112615777873921"},{children:[{cycleType:"周期护理",levle:"3",serviceDuration:"5",id:"1902636771540963329",title:"准备洁具",tagName:"头部"},{cycleType:"周期护理",levle:"3",serviceDuration:"20",id:"1902637623425077250",title:"协助洗头",tagName:null},{cycleType:"周期护理",levle:"3",serviceDuration:"20",id:"1902637985234128898",title:"卧式洗头",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902638122949906433",title:"擦头",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"10",id:"1902638304739430401",title:"刮头",tagName:null}],levle:"2",title:"头部清洁",key:"1902597497344987137",parentId:"1900112615777873921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902641763073101826",title:"准备洁具",tagName:"面部"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902642254465175553",title:"协助洁面",tagName:null}],levle:"2",title:"面部清洁",key:"1902597651405967361",parentId:"1900112615777873921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902642508145070081",title:"准备洁具",tagName:"躯干"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902642672796667905",title:"协助清洁",tagName:"躯干"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902642822885642242",title:"卧床清洁",tagName:"躯干"}],levle:"2",title:"躯干清洁",key:"1902597718082818050",parentId:"1900112615777873921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902643318811758594",title:"准备洁具",tagName:"四肢"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902643483320750082",title:"协助清洁",tagName:"四肢"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902643630888947713",title:"卧床清洁",tagName:"四肢"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902643837525528578",title:"肌张力高",tagName:"清洁"}],levle:"2",title:"四肢清洁",key:"1902597811565465601",parentId:"1900112615777873921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902645148199391234",title:"会阴清洁",tagName:"男"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902645295457210369",title:"会阴清洁",tagName:"女"}],levle:"2",title:"会阴清洁",key:"1902597873964126209",parentId:"1900112615777873921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902645493185089537",title:"肛周清洁",tagName:null}],levle:"2",title:"肛周清洁",key:"1902597930020999170",parentId:"1900112615777873921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902645693211447298",title:"洗手",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902647316134465538",title:"泡手",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902647529817477122",title:"准备洁具",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902647673212342274",title:"协助洗手",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902647905878773762",title:"强直屈曲洗手",tagName:null}],levle:"2",title:"手清洁",key:"1902597991698239489",parentId:"1900112615777873921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902648101203316737",title:"泡脚",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902648239091060737",title:"卧式泡脚",tagName:null}],levle:"2",title:"足清洁",key:"1902598178588037121",parentId:"1900112615777873921"},{children:[{cycleType:"周期护理",levle:"3",serviceDuration:"5",id:"1902648426383511553",title:"修睫毛",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902648548777496577",title:"剃须",tagName:null}],levle:"2",title:"剃须",key:"1902598258573414401",parentId:"1900112615777873921"},{children:[{cycleType:"周期护理",levle:"3",serviceDuration:"5",id:"1902648962444922882",title:"角质增生",tagName:"修甲"},{cycleType:"周期护理",levle:"3",serviceDuration:"5",id:"1902649132536532994",title:"灰指甲",tagName:"修甲"},{cycleType:"周期护理",levle:"3",serviceDuration:"5",id:"1902649302149992449",title:"正常",tagName:"修甲"}],levle:"2",title:"修甲",key:"1902598354606198785",parentId:"1900112615777873921"},{children:[{cycleType:"周期护理",levle:"3",serviceDuration:"20",id:"1902649683919736834",title:"理发",tagName:null},{cycleType:"周期护理",levle:"3",serviceDuration:"25",id:"1902649860344745985",title:"理发",tagName:"颅骨缺损"}],levle:"2",title:"理发",key:"1902598400382832642",parentId:"1900112615777873921"},{children:[{cycleType:"周期护理",levle:"3",serviceDuration:"5",id:"1902650121280786434",title:"床上沐浴",tagName:null},{cycleType:"周期护理",levle:"3",serviceDuration:"55",id:"1902650408884211713",title:"深度清洁",tagName:null},{cycleType:"周期护理",levle:"3",serviceDuration:"55",id:"1902650763722330113",title:"浴间洗浴",tagName:null},{cycleType:"周期护理",levle:"3",serviceDuration:"30",id:"1902651229122301954",title:"床上沐浴",tagName:"大体重"},{cycleType:"周期护理",levle:"3",serviceDuration:"55",id:"1902651366317985794",title:"深度清洁",tagName:"大体重"},{cycleType:"周期护理",levle:"3",serviceDuration:"55",id:"1902651555363655682",title:"浴间洗浴",tagName:"大体重"}],levle:"2",title:"沐浴",key:"1902598454782955522",parentId:"1900112615777873921"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"10",id:"1902651778777452545",title:"内套管清洁",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"10",id:"1902651924047171586",title:"更换气切纱布",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"10",id:"1902652055928672258",title:"更换气切纱布",tagName:null}],levle:"2",title:"气切消毒",key:"1902598509522817026",parentId:"1900112615777873921"}],levle:"1",title:"2 清洁照料",key:"1900112615777873921"},{children:[{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902898057679966209",title:"准备餐具",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902898202668666881",title:"协助进餐",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902898339931459586",title:"协助进餐",tagName:"超时"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902898472584712194",title:"鼻胃管进餐",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902898590658564097",title:"胃肠管进餐",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902898719952179201",title:"准备餐具",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902898979948695554",title:"协助进餐",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902899086840532993",title:"协助进餐",tagName:"超时"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902899214838108162",title:"鼻胃管进餐",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902899325014085633",title:"胃肠管进餐",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902899587028062210",title:"食物加工",tagName:null}],levle:"2",title:"加餐饮食",key:"1902596129720864770",parentId:"1902280495747317762"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902281139677839362",title:"准备餐具",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"10",id:"1902281522340970498",title:"鼻胃管进餐",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902281654100836354",title:"协助进餐",tagName:"超时"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902281870434648066",title:"协助进餐",tagName:"正常"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902654960639381506",title:"鼻肠管进餐",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902655101874180097",title:"轮椅进餐",tagName:"大体重"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902892199009030145",title:"轮椅进餐",tagName:null}],levle:"2",title:"正餐饮食",key:"1902601263850950657",parentId:"1902280495747317762"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902893231608926209",title:"准备餐具",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902893551978254337",title:"协助进餐",tagName:"正常"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902893716466274306",title:"协助进餐",tagName:"超时"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902894369850757122",title:"鼻胃管进餐",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902894528533860354",title:"鼻肠管进餐",tagName:null}],levle:"2",title:"辅餐饮食",key:"1902601382595891202",parentId:"1902280495747317762"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902894832176304129",title:"准备餐具",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902894954117304322",title:"协助进餐",tagName:"正常"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902895077522116609",title:"协助进餐",tagName:"超时"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902895233407619073",title:"鼻胃管进餐",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902895569912434689",title:"鼻肠管进餐",tagName:null}],levle:"2",title:"果汁饮食",key:"1902601427168759809",parentId:"1902280495747317762"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902895878508351489",title:"准备水杯",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902895984053817346",title:"协助饮水",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902896136835534850",title:"协助饮水",tagName:"超时"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902896508421509122",title:"鼻胃管饮水",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902896636553302017",title:"鼻肠管饮水",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902896855802155010",title:"准备水杯",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902897018344017921",title:"协助饮水",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902897464936730626",title:"协助饮水",tagName:"超时"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902897675813752834",title:"鼻胃管饮水",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902897803417063426",title:"鼻肠管饮水",tagName:null}],levle:"2",title:"饮水饮食",key:"1902601487625457665",parentId:"1902280495747317762"}],levle:"1",title:"3 饮食照料",key:"1902280495747317762"},{children:[{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902653177363927041",title:"巡视",tagName:null}],levle:"2",title:"巡视",key:"1902564741860790273",parentId:"1902560466095017986"},{children:[{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902653325481578497",title:"防坠床",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902653497066360833",title:"被褥调整",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902653650917625857",title:"睡姿调整",tagName:null}],levle:"2",title:"体位调整",key:"1902564818838851585",parentId:"1902560466095017986"}],levle:"1",title:"4 睡眠照料",key:"1902560466095017986"},{children:[{children:[{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902904277308510210",title:"更换尿袋",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902904458779267073",title:"更换隔尿垫",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902905631242424322",title:"使用尿盆",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902905824973131777",title:"使用尿壶",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902906220483416065",title:"协助入厕",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902906459051233281",title:"坐便椅",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902906610562076674",title:"留置尿袋",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902906783325458434",title:"更换纸尿裤",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902908406344945665",title:"热敷抚触排尿",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902908523827400705",title:"协助坐便椅",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902909645401067522",title:"更换尿片",tagName:null}],levle:"2",title:"小便",key:"1902596314152800257",parentId:"1902560510768549889"},{children:[{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902909835331735554",title:"床上排便",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902910002671882242",title:"协助坐便椅",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902910156154048514",title:"协助入厕",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902910361008050178",title:"人工取便",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902910524623654913",title:"造瘘袋",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902910700176248834",title:"坐便椅",tagName:null}],levle:"2",title:"大便",key:"1902596399423000577",parentId:"1902560510768549889"},{children:[{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902910899565072385",title:"口腔吸痰",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902911047405899778",title:"气切吸痰",tagName:null}],levle:"2",title:"吸痰",key:"1902596461238652930",parentId:"1902560510768549889"},{children:[{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902911232974491650",title:"呕吐",tagName:null}],levle:"2",title:"呕吐",key:"1902596886771765250",parentId:"1902560510768549889"},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902911378349068290",title:"腹腔引流护理",tagName:null}],levle:"2",title:"引流",key:"1902596940366581762",parentId:"1902560510768549889"}],levle:"1",title:"5 排泄照料",key:"1902560510768549889"}],F=s(e.defineComponent({__name:"joysticknew",props:{getblue:{type:Boolean,default:!1},movebottom:{type:Number,default:30},moveright:{type:Number,default:60},pao:{type:Boolean,default:!0},notext:{type:Boolean,default:!1}},emits:["movecard"],setup(t,{emit:l}){const a=l,i=e.ref(-1);let r=null,n=null,o=!1;const c=e.ref(-1),s=e.reactive({x:0,y:0}),d=e.ref(!1),u=e.ref(!1),m=e.ref(0),v=uni.upx2px(175),p=uni.upx2px(350);uni.upx2px(-50);const g=uni.upx2px(100),w=uni.getSystemInfoSync().windowHeight-g-p,h=t,y=e.ref(!1),N=e.ref(0);function f(e,t){if(!o){if(x(),i.value=e,a("movecard",e),(null==t?void 0:t.touches)&&t.touches.length){const e=t.touches[0];b(e.pageX,e.pageY)}u.value=!1,m.value++,c.value=e,setTimeout((()=>{c.value=-1}),300),setTimeout((()=>{u.value=!0}),16),r=setTimeout((()=>{i.value=-1,r=null}),300)}}function E(e,t){k(),o=!0,d.value=!0,c.value=e;const l=((null==t?void 0:t.touches)||[])[0];l&&b(l.pageX,l.pageY),i.value=e,a("movecard",e),n=setInterval((()=>{i.value=e,a("movecard",e)}),500)}function V(){x(),k(),o=!1,d.value=!1,i.value=-1,c.value=-1}function x(){r&&(clearTimeout(r),r=null)}function k(){n&&(clearInterval(n),n=null)}function b(e,t){let l=e,a=t-w-50+h.movebottom/2;const i=l-v,r=a-v;if(Math.sqrt(i*i+r*r)>v){const e=Math.atan2(r,i);l=v+v*Math.cos(e),a=v+v*Math.sin(e)}s.x=l,s.y=a}function S(e){var t;if(!o)return;const l=((null==(t=e.detail)?void 0:t.touches)||e.touches||[])[0];l&&b(l.pageX,l.pageY)}return e.ref(0),e.watch((()=>h.getblue),(e=>{})),e.onBeforeUnmount((()=>{})),(l,a)=>(e.openBlock(),e.createElementBlock("view",{class:"move-circle",style:e.normalizeStyle({bottom:`${t.movebottom}rpx`,right:`${t.moveright}rpx`}),onTouchmove:S,onTouchend:V,onTouchcancel:V},[e.withDirectives(e.createElementVNode("image",{src:"/static/index/camera/arrow1.png",class:"move-circle-all"},null,512),[[e.vShow,-1==c.value||4==c.value]]),e.withDirectives(e.createElementVNode("image",{src:"/static/index/camera/arrow3.png",class:"move-circle-all"},null,512),[[e.vShow,3==c.value]]),e.withDirectives(e.createElementVNode("image",{src:"/static/index/camera/arrow5.png",class:"move-circle-all"},null,512),[[e.vShow,2==c.value]]),e.withDirectives(e.createElementVNode("image",{src:"/static/index/camera/arrow4.png",class:"move-circle-all"},null,512),[[e.vShow,0==c.value]]),e.withDirectives(e.createElementVNode("image",{src:"/static/index/camera/arrow2.png",class:"move-circle-all"},null,512),[[e.vShow,1==c.value]]),y.value?(e.openBlock(),e.createElementBlock("view",{class:"pulse-circle",key:N.value})):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"click-box-top",onClick:a[0]||(a[0]=e=>f(0,e)),onLongpress:a[1]||(a[1]=e=>E(0,e))},null,32),e.createElementVNode("view",{class:"click-box-left",onClick:a[2]||(a[2]=e=>f(3,e)),onLongpress:a[3]||(a[3]=e=>E(3,e))},null,32),e.createElementVNode("view",{class:"click-box-bottom",onClick:a[4]||(a[4]=e=>f(2,e)),onLongpress:a[5]||(a[5]=e=>E(2,e))},null,32),e.createElementVNode("view",{class:"click-box-right",onClick:a[6]||(a[6]=e=>f(1,e)),onLongpress:a[7]||(a[7]=e=>E(1,e))},null,32),e.createElementVNode("view",{class:"click-box-center",onClick:a[8]||(a[8]=e=>f(4,e)),onLongpress:a[9]||(a[9]=e=>E(4,e))},null,32)],36))}}),[["__scopeId","data-v-b2325a59"]]),_=s(e.defineComponent({__name:"index",props:{isshow:{type:Boolean,required:!0},darkFans:{type:Boolean,required:!0},canmove:{type:Boolean,required:!0},liang:{type:Object},isold:{type:Boolean,required:!0}},emits:["darkchange","savename","saveruler","closename","changefangkuang","changeold"],setup(t,{expose:a,emit:i}){const o=t;e.watch((()=>o.isold),(()=>{o.isold&&(le.value.index0=9,le.value.index1=0,Pe(),y.value=1,N.value=1,e.nextTick((()=>{N.value=0,y.value=605})))})),e.watch((()=>o.canmove),(()=>{Ee.value=!1})),e.watch((()=>o.isshow),((t,l)=>{t!==l&&(Ee.value=!1,pe.value=!1,_e.value?_e.value--:(le.value.index0=9,le.value.index1=0,Pe(),y.value=1,N.value=1,e.nextTick((()=>{N.value=0,y.value=605}))))}));const c=e.ref([{name:"纸尿裤",url:"/static/index/niao.png",target:"#fff",id:-1},{name:"呕吐",url:"/static/index/tu.png",target:"#fff",id:-1},{name:"吸痰",url:"/static/index/ou.png",target:"#fff",id:-1},{name:"大便",url:"/static/index/baba.png",target:"#fff",id:-1},{name:"纸尿裤",url:"/static/index/niao.png",target:"#fff",id:-1},{name:"呕吐",url:"/static/index/tu.png",target:"#fff",id:-1},{name:"吸痰",url:"/static/index/ou.png",target:"#fff",id:-1},{name:"大便",url:"/static/index/baba.png",target:"#fff",id:-1}]),s=["狂躁","正常","大体重","口腔","小体重","头部","面部","躯干","四肢","修甲","颅骨缺损"],d=["周一","周二","周三","周四","周五","周六","周日"],u=Array.from({length:31},((e,t)=>(t+1).toString().padStart(2,"0"))),m=e.ref(!0),v=e.ref(!1),g=e.ref(0),w=e.ref(0),h=e.ref(0),y=e.ref(678),N=e.ref(0),f=e.ref();e.ref([]);const E=e.ref(!1),V=e.ref([]),x=e.ref(!1);e.ref(!1);const k=e.ref(!1);e.ref(!1),e.ref(!1),e.ref(""),e.ref(!1);const b=e.ref(!1);e.ref("");const T=e.ref(!1);e.ref(0),e.ref(0),e.ref(6),e.ref(11),e.ref(0),e.ref(3);const C=e.ref(!1);e.onMounted((()=>{p({url:`${uni.getStorageSync("serverUrl")}/nuIpadApi/nuConfigServiceCategory/getServiceTree`,method:"get"}).then((e=>{l("log","at component/rightItemssecondrelnew/index.vue:599","res111",e.result)}))}));const _=e.ref(0);const U=()=>{let e=JSON.parse(JSON.stringify(Me.value[ce.value.index0].children[ce.value.index1]));be.value=[le.value.index0,le.value.index1];let t=Me.value[ce.value.index0].children[ce.value.index1].typeName;Me.value[ce.value.index0].children[ce.value.index1]={directiveName:"",typeName:t};let l=Me.value[be.value[0]].children[be.value[1]].typeName;Me.value[be.value[0]].children[be.value[1]]=e,Me.value[be.value[0]].children[be.value[1]].typeName=l;let a=Me.value[be.value[0]].children[be.value[1]].startTime,i=Me.value[be.value[0]].children[be.value[1]].endTime,r=Me.value[be.value[0]].positioning;const n=a.split(":")[1],o=i.split(":")[1];let c=Number(o)-Number(n),s=l,d=Number(s)+c;Me.value[be.value[0]].children[be.value[1]].startTime=r+":"+s.padStart(2,"0"),Me.value[be.value[0]].children[be.value[1]].endTime=r+":"+String(d%60).padStart(2,"0"),ce.value.index0=-1,ce.value.index1=-1,C.value=!1;let u={index0:le.value.index0,index1:le.value.index1};Ue(u)},$=()=>{q.value=!1,C.value?U():Me.value[le.value.index0].children[le.value.index1].directiveName&&(ce.value.index0=le.value.index0,ce.value.index1=le.value.index1,C.value=!0)};e.ref(!0),e.ref(!1);const M=e=>{switch(q.value=!1,e){case 0:le.value.index1&&(le.value.index1--,Pe());break;case 1:if(23==le.value.index0)return;le.value.index0++,Pe();break;case 2:if(11==le.value.index1)return;le.value.index1++,Pe();break;case 3:if(0==le.value.index0)return;le.value.index0--,Pe()}},L=e.ref(""),j=e.ref(-1),A=e.ref(""),P=e.ref(-1),q=e.ref(!1),O=()=>{Me.value[le.value.index0].children[le.value.index1].directiveName&&(q.value?(q.value=!1,we(le.value.index0,le.value.index1)):q.value=!0)};function W(e,t){return 2*function(e,t){const l=55.9898*e+78.233*t;return Math.abs(43758.5453*Math.sin(l))%1}(e,t)}e.ref(!1),e.ref(0);const Y=e.ref(0),R=e.ref(0);function J(e){let t=e.detail.scrollTop;Y.value=e.detail.scrollTop;let l=parseFloat(t.toFixed(2));R.value=l}const X=e.ref(0);function Q(e){X.value=e.detail.scrollLeft}e.ref(!0);const Z=(e,t,l)=>"日常"===e.cycleType?ce.value.index0===t&&ce.value.index1===l?"title-time-border-yellow-active-transparent":pe.value?"title-time-border-yellow-active":"title-time-border-yellow":e.cycleType?ce.value.index0===t&&ce.value.index1===l?"title-time-border-pouple-active-transparent":pe.value?"title-time-border-pouple-active":"title-time-border-pouple":"title-time-border",H=e.ref([{url:"/static/index/firstTags/30.png",targetUrl:"/static/index/firstTags/21.png",name:"日常"},{url:"/static/index/firstTags/10.png",targetUrl:"/static/index/firstTags/99.png",name:"清洁"},{url:"/static/index/firstTags/40.png",targetUrl:"/static/index/firstTags/31.png",name:"饮食"},{url:"/static/index/firstTags/00.png",targetUrl:"/static/index/firstTags/01.png",name:"睡眠"},{url:"/static/index/firstTags/20.png",targetUrl:"/static/index/firstTags/11.png",name:"排泻"},{url:"/static/index/firstTags/50.png",targetUrl:"/static/index/firstTags/41.png",name:"影像"}]),G=e.ref(0),K=e.ref(0),ee=e.ref(0);e.ref(!1),e.ref([]);const te=i;e.ref(!1);const le=e.ref({index0:9,index1:0});e.ref(0),e.ref([]);const ae=e.ref(null);e.ref({});const ie=e.ref(0),re=e.ref(0),ne=e.ref(0),oe=e.ref(0),ce=e.ref({index0:999,index1:999,typeName:""});e.ref(-1),e.ref(!1);const se=e.ref(!1),de=e.ref(-1),ue=e.ref(!1),me=()=>{ue.value=!0,se.value=!1,setTimeout((()=>{se.value=!0}),100)},ve=()=>{uni.share({provider:"weixin",scene:"WXSceneSession",type:0,href:"http://192.168.2.31:3101/daytoday",title:"护理日程分享",summary:"九泰护理日程测试",imageUrl:"https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uni@2x.png",success:function(e){l("log","at component/rightItemssecondrelnew/index.vue:943","success:")},fail:function(e){l("log","at component/rightItemssecondrelnew/index.vue:946","fail:")}})},pe=e.ref(!1);e.ref([]);const ge=e=>{const t=Math.floor(e.touches[0].pageX),l=Math.floor(e.touches[0].pageY);(Math.abs(t-ie.value)>0||Math.abs(l-re.value)>0)&&ae.value&&(clearTimeout(ae.value),ae.value=null)},we=(e,t)=>{let l=Me.value[e].children[t].typeName;Me.value[e].children[t]={directiveName:"",typeName:l}};e.ref(null),e.ref(!1),e.ref(!1);const he=e.ref(0),ye=e.ref(0),Ne=e.ref(!1);e.ref(""),e.ref("");const fe=e.ref(null),Ee=e.ref(!1),Ve=e=>{he.value=Math.floor(e.touches[0].pageX),ye.value=Math.floor(e.touches[0].pageY),fe.value=setTimeout((()=>{Ee.value=!0}),500)},xe=e=>{const t=Math.floor(e.touches[0].pageX),l=Math.floor(e.touches[0].pageY);(Math.abs(t-he.value)>0||Math.abs(l-ye.value)>0)&&fe.value&&(clearTimeout(fe.value),fe.value=null)},ke=()=>{fe.value&&(clearTimeout(fe.value),fe.value=null)};e.ref({time:"",minute:"",array:[]}),e.ref({op:{name:"",index:[-1,-1,-1]},startTime:"",weekTimeNumber:-1,monthTimeNumber:-1,monthTime:"",weekTime:""}),e.ref(0);const be=e.ref([-1,-1]);e.ref(null);const Se=()=>{T.value=!1,b.value=!0,setTimeout((()=>{T.value=!0}),50)},Te=()=>{if(q.value)return q.value=!1,void we(le.value.index0,le.value.index1);if(C.value)return void U();ce.value.index0=-1,ce.value.index1=-1,C.value=!1;let t=!1,a=V.value[G.value].children[K.value].children[ee.value];if("即时护理"===a.cycleType)return h.value=1,c.value.forEach(((e,l)=>{e.id===a.id&&(t=!0)})),void e.nextTick((()=>{t?(clearTimeout(Be.value),E.value=!0,Be.value=setTimeout((()=>{E.value=!1}),1e3)):(h.value=0,c.value.length&&"#00a8ff"===c.value[0].target&&(c.value[0].target="#fff",clearTimeout(Ce.value)),c.value.unshift({name:a.title,url:"/static/index/ou.png",target:"#00a8ff",id:a.id}),l("log","at component/rightItemssecondrelnew/index.vue:1188","!!!!",c.value),Ce.value=setTimeout((()=>{c.value[0].target="#fff"}),1500))}));if("周期护理"===a.cycleType&&v.value&&-1==j.value&&-1==P.value)return;if("周期护理"===a.cycleType&&!v.value)return void(v.value=!0);let i="";"日常护理"===a.cycleType?i="日常":(i=-1!==j.value?L.value:A.value+"号",v.value=!1,j.value=-1,P.value=-1,L.value="",A.value="");const r=Number(le.value.index0),n=Number(Me.value[le.value.index0].children[le.value.index1].typeName),o=n+10,s=r+Math.floor(o/60),d=`${String(r)}:${String(n).padStart(2,"0")}`,u=`${String(s)}:${String(o%60).padStart(2,"0")}`;Me.value[le.value.index0].children[le.value.index1].startTime=d,Me.value[le.value.index0].children[le.value.index1].endTime=u;let m={directiveId:a.id,directiveName:a.title,startTime:d,endTime:u,positioning:le.value.index0.toString(),positioningLong:le.value.index1.toString(),tagName:a.tagName,cycleType:i,nuId:"1",customerId:"1",id:"",typeName:Me.value[le.value.index0].children[le.value.index1].typeName};Me.value[le.value.index0].children[le.value.index1]=m;let p={index0:le.value.index0,index1:le.value.index1};Ue(p),De()},Ce=e.ref(null),Be=e.ref(null),De=()=>{Me.value.forEach(((e,t)=>{e.children.forEach(((e,l)=>{let a="";if(e.directiveName||e.id)e.positioning=t,e.positioningLong=l;else{let i={};e.typeName&&(a=e.typeName),i=JSON.parse(JSON.stringify(je.value)),a&&(i.typeName=a),i.positioning=t,i.positioningLong=l}}))}))},ze=()=>{uni.setStorage({key:"myArray",data:Me.value,success:function(){uni.navigateTo({url:"/pages/timeMatrix/indexnew"})}})},Ie=e.ref({index0:-1,index1:-1}),Fe=e.ref({index0:-1,index1:-1,current:-1,bordershow:!0}),_e=e.ref(0),Ue=e=>{le.value.index0=e.index0,le.value.index1=e.index1,Pe(),Fe.value.index0=e.index0,Fe.value.index1=e.index1,Ie.value.index0=Fe.value.index0,Ie.value.index1=Fe.value.index1,Fe.value.bordershow=!1,setTimeout((()=>{Fe.value.index0=-1,Fe.value.index1=-1,Fe.value.current=-1}),400),setTimeout((()=>{Fe.value.bordershow=!0,Ie.value.index0=-1,Ie.value.index1=-1}),1e3)},$e=["00","05","10","15","20","25","30","35","40","45","50","55"],Me=e.ref(Array.from({length:24},((e,t)=>({positioning:t.toString(),children:$e.map((e=>({typeName:e,directiveName:""})))}))));function Le(e){_e.value=3,Ue(e)}r((()=>{V.value=I,f.value=V.value[0].children,uni.$on("where",Le)})),n((()=>{uni.$off("where",Le)})),a({rulerMoveEnd:e=>{if(999!==o.liang.index0&&e.cycleType){be.value=[o.liang.index0,o.liang.index1];let t=Me.value[ce.value.index0].children[ce.value.index1].typeName;Me.value[ce.value.index0].children[ce.value.index1]={directiveName:"",typeName:t};let l=Me.value[be.value[0]].children[be.value[1]].typeName;Me.value[be.value[0]].children[be.value[1]]=e,Me.value[be.value[0]].children[be.value[1]].typeName=l;let a=Me.value[be.value[0]].children[be.value[1]].startTime,i=Me.value[be.value[0]].children[be.value[1]].endTime,r=Me.value[be.value[0]].positioning;const n=a.split(":")[1],c=i.split(":")[1];let s=Number(c)-Number(n),d=l,u=Number(d)+s;Me.value[be.value[0]].children[be.value[1]].startTime=r+":"+d.padStart(2,"0"),Me.value[be.value[0]].children[be.value[1]].endTime=r+":"+String(u%60).padStart(2,"0")}}}),e.ref({index0:999,index1:999});const je=e.ref({directiveId:"",directiveName:"",startTime:"",endTime:"",positioning:"",positioningLong:"",tagName:"",cycleType:"",nuId:"1",customerId:"1",id:"",typeName:""});function Ae(e){let t=[],l=e,a=/([^((]*)[((]([^))]+)[))]/;for(;a.test(l);){let e=l.match(a);e&&(e[1].trim()&&t.push(e[1].trim()),e[2].trim()&&t.push(e[2].trim()),l=l.replace(e[0],"").trim())}return l.trim()&&t.push(l.trim()),t}function Pe(){if(le.value.index0>=0&&le.value.index0<=24&&le.value.index1>=0&&le.value.index1<=11){const e=201*(le.value.index0+.5),t=167*(le.value.index1-.5);y.value=e-702.5,N.value=t-240;const l=4824,a=1837;y.value=Math.max(0,Math.min(y.value,l-1405))/2,N.value=Math.max(0,Math.min(N.value,a-480))/2}}return(l,a)=>{var i,r,n,o;return e.openBlock(),e.createElementBlock("view",{class:"right-container",style:e.normalizeStyle(t.isshow?{opacity:"1"}:{opacity:"0"}),onClick:a[10]||(a[10]=e=>{Ee.value=!1,pe.value=!1})},[e.createVNode(F,{onMovecard:M}),e.createElementVNode("view",{class:"right-container-title-nav"},[e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"right-container-title-no-dark":"right-container-title-no")}," ID:12345678 ",2),e.createElementVNode("text",{class:e.normalizeClass(t.darkFans?"right-container-title-no-dark":"right-container-title-no")}," 名称:未命名01 ",2),e.createElementVNode("view",{class:"right-icons"},[e.createElementVNode("image",{class:"right-icons-img",src:"/static/index/undericons/man.png"},null,8,["src"]),e.createElementVNode("view",{class:e.normalizeClass(t.darkFans?"right-icons-font-dark":"right-icons-font")},"王金福",2),e.createElementVNode("image",{class:"right-icons-img-icon",src:t.darkFans?"/static/index/undericons/face.png":"/static/index/undericons/facelight.png"},null,8,["src"]),e.createElementVNode("image",{class:"right-icons-img-icon",src:t.darkFans?"/static/index/undericons/hand.png":"/static/index/undericons/handlight.png"},null,8,["src"]),e.createElementVNode("image",{class:"right-icons-img-icon",src:t.darkFans?"/static/index/undericons/out.png":"/static/index/undericons/outlight.png"},null,8,["src"])]),e.createElementVNode("view",{class:"right-container-title-class-anhei-button-wrong",onClick:a[0]||(a[0]=e=>{te("changeold",0)})},[e.createElementVNode("text",{class:"right-container-title-class-anhei"}," 拖动模式 ")]),e.createElementVNode("view",{class:"right-container-title-class-anhei-button"},[e.createElementVNode("text",{class:"right-container-title-class-anhei"}," 手柄模式 ")])]),e.createElementVNode("view",{class:"doctorsay-container-view"},[e.createElementVNode("view",{class:"doctorsay-container-container"},[e.createElementVNode("view",{class:"doctorsay-container-title"},[e.createElementVNode("view",{class:"doctorsay-container-left"},[e.createElementVNode("view",{class:"doctorsay-container-left-gun"}),e.createElementVNode("view",{class:"doctorsay-container-left-font"},"护理流程"),e.createElementVNode("view",{class:"doctorsay-container-share",onClick:me}," 分享 "),e.createElementVNode("view",{class:"doctorsay-container-share"}," 立即生效 ")]),e.createElementVNode("view",{class:"doctorsay-container-right"},[e.createElementVNode("view",{class:"doctorsay-container-right-kuai-cheng"}),e.createElementVNode("view",{class:"doctorsay-container-kuai-font"},"日常"),e.createElementVNode("view",{class:"doctorsay-container-right-kuai-zi"}),e.createElementVNode("view",{class:"doctorsay-container-kuai-font"},"周期"),e.createElementVNode("view",{class:"doctorsay-container-juzhen",onClick:ze}," 预览 ")])]),e.createElementVNode("view",{class:"super-card"},[e.createElementVNode("view",{class:"boom-title"},[e.createElementVNode("view",{class:"boom-title-left"}," 分 "),e.createElementVNode("view",{class:"boom-title-right"}," 时 ")]),e.createElementVNode("view",{class:"boom-father"},[e.createElementVNode("view",{class:"boom"},[e.createElementVNode("view",{style:e.normalizeStyle({marginTop:`-${2*R.value}rpx`})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Me.value[0].children,((l,a)=>(e.openBlock(),e.createElementBlock("view",{key:a},[e.withDirectives(e.createElementVNode("view",{class:e.normalizeClass(de.value===a||t.liang.index1===a&&!t.canmove||ce.value.index1===a&&pe.value?"boom-son-target":"boom-son")},e.toDisplayString(l.typeName),3),[[e.vShow,l.typeName]])])))),128))],4)])]),e.createElementVNode("view",{class:"super-card-container"},[e.createElementVNode("scroll-view",{style:{height:"920rpx",width:"100%"},"scroll-left":y.value,"scroll-x":"",onScroll:Q,"show-scrollbar":!1},[e.createElementVNode("view",{style:{display:"flex","box-shadow":"10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1)",width:"4824rpx",background:"linear-gradient(to right, #c4dbf4,#c9c2ef, #c6dcf3)"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Me.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"super-card-time"},e.toDisplayString((1==t.positioning.length?"0"+t.positioning:t.positioning)+":00"),1)])))),128))]),e.createElementVNode("view",{style:{display:"flex",height:"calc(100% - 80rpx)"}},[e.createElementVNode("scroll-view",{style:{height:"100%",width:"4824rpx"},"scroll-top":N.value,"scroll-y":t.canmove&&!pe.value,onScroll:J,"show-scrollbar":!1},[e.createElementVNode("view",{style:{display:"flex",height:"100%"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Me.value,((l,i)=>(e.openBlock(),e.createElementBlock("view",{key:i},[e.createElementVNode("view",{class:"super-card-time-und"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.children,((l,r)=>(e.openBlock(),e.createElementBlock("view",{style:{width:"100%"},key:r},[e.createElementVNode("view",{class:e.normalizeClass(Fe.value.index0===i&&Fe.value.index1===r?Fe.value.index1?"title-time-border-big":"title-time-border-big-top":"super-card-time-card"),style:e.normalizeStyle([Fe.value.bordershow||Ie.value.index0!==i||Ie.value.index1!==r?{borderBottom:"1rpx solid transparent"}:{zIndex:999},{position:"relative"}]),id:`a${i}_${r}`,onClick:t=>((t,l,a,i)=>{t.directiveName&&(de.value=a,uni.createSelectorQuery().selectAll(".super-card-time-card").boundingClientRect((t=>{t.forEach((async t=>{t.left>100&&t.left<1067&&t.top<570&&t.top>140&&t.dataset.index0==l&&t.dataset.index1==a&&(t.left>100&&t.left<500?ne.value=Math.floor(t.left)+520:ne.value=Math.floor(t.left),t.top>140&&t.top<300?oe.value=Math.floor(t.top)+250:oe.value=Math.floor(t.top),await e.nextTick(),x.value=!0,k.value=!1,setTimeout((()=>{k.value=!0}),100))}))})).exec())})(l,i,r),onTouchstart:e=>{},onTouchmove:ge,onTouchend:a[1]||(a[1]=e=>(Ne.value=!1,void(ae.value&&(clearTimeout(ae.value),ae.value=null)))),"data-index0":i,"data-index1":r},[ce.value.index0===i&&ce.value.index1===r&&0==r?(e.openBlock(),e.createElementBlock("view",{key:0,class:"time-button-orange-spe"},[e.createTextVNode(" 请选择服务指令迁移的目标单元格 "),e.createElementVNode("view",{class:"under-button-three"})])):e.createCommentVNode("",!0),ce.value.index0===i&&ce.value.index1===r&&r?(e.openBlock(),e.createElementBlock("view",{key:1,class:"time-button-orange"},[e.createTextVNode(" 请选择服务指令迁移的目标单元格 "),e.createElementVNode("view",{class:"under-button-three"})])):e.createCommentVNode("",!0),le.value.index0==i&&le.value.index1==r&&0==r&&q.value?(e.openBlock(),e.createElementBlock("view",{key:2,class:"time-button-black-spe"},[e.createTextVNode(" 是否确认删除该服务指令 "),e.createElementVNode("view",{class:"under-button-three"})])):e.createCommentVNode("",!0),le.value.index0==i&&le.value.index1==r&&r&&q.value?(e.openBlock(),e.createElementBlock("view",{key:3,class:"time-button-black"},[e.createTextVNode(" 是否确认删除该服务指令 "),e.createElementVNode("view",{class:"under-button-three"})])):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("view",{class:"title-time-blue"},[e.createElementVNode("image",{class:"title-time-blue-img",src:C.value?"/static/index/movemode/targetcheng.png":"/static/index/movemode/target.png"},null,8,["src"])],512),[[e.vShow,le.value.index0==i&&le.value.index1==r]]),e.createElementVNode("view",{class:e.normalizeClass(Z(l,i,r)),style:e.normalizeStyle([{"font-size":"30rpx",overflow:"hidden"},{animationDelay:`-${W(i,r).toFixed(2)}s`}])},[l.startTime?e.withDirectives((e.openBlock(),e.createElementBlock("view",{key:0,class:"title-time",style:{"margin-top":"5rpx"}},[e.createElementVNode("view",{class:"title-time-time",style:{"font-size":"25rpx","margin-top":"20rpx"}},e.toDisplayString(l.startTime+"-"+l.endTime),1),e.createElementVNode("image",{class:"title-time-button",src:"日常"==l.cycleType?"/static/index/yellowbian.png":"/static/index/puoplebian.png"},null,8,["src"]),e.createElementVNode("view",{class:"title-time-font"},e.toDisplayString(l.cycleType),1)],512)),[[e.vShow,t.liang.index0!==i||t.liang.index1!==r||t.canmove]]):e.createCommentVNode("",!0),l.startTime?(e.openBlock(),e.createElementBlock("view",{key:1,class:"title-time-font-rel"},e.toDisplayString(Ae(l.directiveName)[0]),1)):e.createCommentVNode("",!0),l.startTime?(e.openBlock(),e.createElementBlock("view",{key:2,class:"title-time-items"},[e.createElementVNode("image",{class:"right-box-items-button",src:B}),e.createElementVNode("image",{class:"right-box-items-button",src:D})])):e.createCommentVNode("",!0)],6)],46,["id","onClick","onTouchstart","data-index0","data-index1"])])))),128))])])))),128))])],40,["scroll-top","scroll-y"])])],40,["scroll-left"]),e.createElementVNode("view",{class:"scroll-bottom-bgc"})]),e.createElementVNode("view",{class:"right-cards"},[e.createElementVNode("scroll-view",{"scroll-x":"",class:"scroll-box","scroll-left":h.value},[e.createElementVNode("view",{class:"right-box"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"right-box-item",onTouchstart:Ve,onTouchmove:xe,onTouchend:ke,style:e.normalizeStyle(t.target?{background:t.target,transition:"all 1.5s ease-in-out"}:{transition:"all 1.5s ease-in-out"})},[e.createElementVNode("image",{class:"title-time-button",src:"/static/index/redbian.png"}),e.createElementVNode("view",{class:"title-time-font"}," 即时 "),e.createElementVNode("view",{style:e.normalizeStyle({animationDelay:`-${.1*l}s`}),class:e.normalizeClass(Ee.value?"super-end-items-img-father-active":"super-end-items-img-father")},[e.createElementVNode("image",{class:"right-box-img",src:t.url},null,8,["src"])],6),e.createElementVNode("view",{class:"right-box-font"},e.toDisplayString(t.name),1),e.createElementVNode("view",{class:"right-box-items"},[e.createElementVNode("image",{class:"right-box-items-button",src:B}),e.createElementVNode("image",{class:"right-box-items-button",src:D})]),e.withDirectives(e.createElementVNode("view",{class:"super-end-items-father-close-father",onClick:e.withModifiers((e=>c.value.splice(l,1)),["stop"])}," - ",8,["onClick"]),[[e.vShow,Ee.value]])],36)])))),128))])],8,["scroll-left"]),e.createElementVNode("view",{class:"middle-box"},[e.createElementVNode("view",{class:"middle-left-box"},[e.createElementVNode("view",{class:"first-contant"},[e.withDirectives(e.createElementVNode("view",{class:"time-father"},[e.withDirectives(e.createElementVNode("view",{class:"time-button"},[e.createElementVNode("view",{class:"time-button-month"},"周"),e.createElementVNode("view",{class:"time-button-week",onClick:a[2]||(a[2]=e=>{m.value=!1,j.value=-1,L.value=""})},"月")],512),[[e.vShow,m.value]]),e.withDirectives(e.createElementVNode("view",{class:"time-button"},[e.createElementVNode("view",{class:"time-button-month-target",onClick:a[3]||(a[3]=e=>{m.value=!0,P.value=-1,A.value=""})},"周"),e.createElementVNode("view",{class:"time-button-week-target"},"月")],512),[[e.vShow,!m.value]]),e.createElementVNode("scroll-view",{"scroll-y":"",style:{width:"100%",height:"600rpx"},"show-scrollbar":!1,"scroll-top":g.value},[m.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},e.renderList(d,((t,l)=>e.createElementVNode("view",{key:l,onClick:e=>((e,t)=>{const l=Date.now();l-_.value<300?(L.value=e,j.value=t,Te(),_.value=0):(L.value=e,j.value=t,_.value=l)})(t,l)},[e.createElementVNode("view",{class:e.normalizeClass(j.value===l?"items-card-target":"items-card")},e.toDisplayString(t),3)],8,["onClick"]))),64)):e.createCommentVNode("",!0),m.value?e.createCommentVNode("",!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(e.unref(u),((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,onClick:e=>((e,t)=>{const l=Date.now();l-_.value<300?(A.value=e,P.value=t,Te(),_.value=0):(A.value=e,P.value=t,_.value=l)})(t,l)},[e.createElementVNode("view",{class:e.normalizeClass(P.value===l?"items-card-target":"items-card")},e.toDisplayString(t),3)],8,["onClick"])))),128)),e.createElementVNode("view",{style:{height:"40rpx"}})],8,["scroll-top"])],512),[[e.vShow,v.value]]),e.withDirectives(e.createElementVNode("scroll-view",{"scroll-y":"",style:{height:"100%",width:"100%"},"show-scrollbar":!1,"scroll-top":g.value},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(V.value[G.value].children[K.value].children,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,onClick:e=>function(e){const t=Date.now();t-_.value<300?(ee.value=e,Te(),_.value=0):(ee.value=e,_.value=t)}(l)},[e.createElementVNode("view",{class:"right-box-item",style:e.normalizeStyle(ee.value==l?{border:"2rpx solid rgb(54, 159, 239)",backgroundColor:"#fff"}:{border:"2rpx solid rgb(229, 233, 249)"})},[e.withDirectives(e.createElementVNode("image",{class:"title-time-button",src:"/static/index/ri.png"},null,512),[[e.vShow,"日常护理"===t.cycleType]]),e.withDirectives(e.createElementVNode("image",{class:"title-time-button",src:"/static/index/zhou.png"},null,512),[[e.vShow,"周期护理"===t.cycleType]]),e.withDirectives(e.createElementVNode("image",{class:"title-time-button",src:"/static/index/ji.png"},null,512),[[e.vShow,"即时护理"===t.cycleType]]),e.createElementVNode("image",{class:"right-box-img",src:z}),e.createElementVNode("view",{class:"right-box-font",style:e.normalizeStyle(ee.value==l?{color:"rgb(54, 159, 239)"}:{})},e.toDisplayString(t.title),5),e.createElementVNode("view",{class:"right-box-items"},[e.createElementVNode("image",{class:"right-box-items-button",src:B}),e.createElementVNode("image",{class:"right-box-items-button",src:D})])],4)],8,["onClick"])))),128)),e.createElementVNode("view",{style:{height:"20rpx"}})],8,["scroll-top"]),[[e.vShow,!v.value]])]),e.createElementVNode("view",{class:"second-contant"},[e.createElementVNode("scroll-view",{"scroll-y":"",style:{height:"100%",width:"100%"},"show-scrollbar":!1,"scroll-top":w.value},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,onClick:t=>(t=>{v.value=!1,j.value=-1,P.value=-1,L.value="",A.value="",K.value=t,ee.value=0,g.value=1,e.nextTick((()=>{g.value=0}))})(l)},[e.createElementVNode("view",{class:e.normalizeClass(K.value==l?"downList-box-target":"downList-box")},[e.createElementVNode("image",{class:"downList-box-img",src:z}),e.createElementVNode("view",{class:"downList-box-text"},e.toDisplayString(t.title),1)],2)],8,["onClick"])))),128)),e.createElementVNode("view",{style:{height:"20rpx"}})],8,["scroll-top"])])]),e.createElementVNode("view",{class:"middle-right-box"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(H.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,onClick:t=>(t=>{5!==t&&(v.value=!1,j.value=-1,P.value=-1,L.value="",A.value="",w.value=1,g.value=1,e.nextTick((()=>{w.value=0,g.value=0})),G.value=t,f.value=V.value[t].children,K.value=0,ee.value=0)})(l)},[e.createElementVNode("view",{class:e.normalizeClass(l===G.value?"doctorsay-container-card-target":"doctorsay-container-card")},[e.createElementVNode("image",{class:"doctorsay-container-card-img",src:l===G.value?t.targetUrl:t.url},null,8,["src"]),e.createElementVNode("view",{class:e.normalizeClass(l===G.value?"doctorsay-container-card-font-dark":"doctorsay-container-card-font")},e.toDisplayString(t.name),3)],2)],8,["onClick"])))),128))])]),e.createElementVNode("view",{class:"under-button"},[e.createElementVNode("view",{class:"under-button-black",style:e.normalizeStyle(E.value?{opacity:1}:{opacity:0})}," 不能重复添加相同的即时服务指令 ",4),e.createElementVNode("view",{class:"white-circle",onClick:$},[e.createElementVNode("image",{class:"white-circle-img",src:"/static/index/keyimg/movebutton.png"})]),e.createElementVNode("view",{class:"white-circle",onClick:O},[e.createElementVNode("image",{class:"white-circle-img",src:"/static/index/keyimg/deletebutton.png"})]),e.createElementVNode("view",{class:"white-circle",onClick:Se},[e.createElementVNode("image",{class:"white-circle-img",src:"/static/index/keyimg/notebutton.png"})]),e.createElementVNode("view",{class:"white-circle-click-father",onClick:Te},[e.createElementVNode("image",{class:"white-circle-click",src:"/static/index/keyimg/okbutton.png"}),e.createElementVNode("view",{class:"white-circle-font"}," 确定 ")])])])])])]),e.withDirectives(e.createElementVNode("view",{class:"popup-overlay",onClick:a[5]||(a[5]=e=>{x.value=!1,ce.value.index0=999,de.value=-1})},[e.createElementVNode("view",{class:"popup-overlay-content",style:e.normalizeStyle({top:2*oe.value-350+"rpx",left:2*ne.value-780+"rpx",opacity:k.value?1:0,backgroundColor:"日常"===(null==(r=null==(i=Me.value[ce.value.index0])?void 0:i.children[ce.value.index1])?void 0:r.type)?"#fffcf6":"rgb(246, 244, 254)"}),onClick:a[4]||(a[4]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"popup-overlay-content-left"},[e.createElementVNode("image",{class:"popup-overlay-content-left-img",src:"/static/index/teeth.png"},null,8,["src"]),e.createElementVNode("text",{class:"popup-overlay-content-left-font"},e.toDisplayString(null==(o=null==(n=Me.value[ce.value.index0])?void 0:n.children[ce.value.index1])?void 0:o.value),1)]),e.createElementVNode("view",{class:"popup-overlay-content-right"},[e.createElementVNode("view",{class:"time-font"}," 10:00 - 10:10 "),e.createElementVNode("view",{class:"time-text"}," 为老人提供口腔清洁器具,牙膏、牙刷及水杯,看护完成 ")])],4)],512),[[e.vShow,x.value]]),e.withDirectives(e.createElementVNode("view",{class:"popup-say",onClick:a[7]||(a[7]=e=>b.value=!1)},[e.createElementVNode("view",{class:"popup-say-content",style:e.normalizeStyle([{"padding-top":"30rpx"},{opacity:T.value?1:0}]),onClick:a[6]||(a[6]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"popup-say-content-flex"},[e.createElementVNode("view",{class:"popup-say-content-gun"}),e.createElementVNode("view",{class:"popup-say-content-font"},"情绪标签")]),e.createElementVNode("view",{style:{display:"flex"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.slice(0,2),((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"tags-father"},[e.createElementVNode("image",{class:"tags-img",src:`/static/index/tagNames/${l}.png`},null,8,["src"]),e.createElementVNode("view",{class:"tags-font"},e.toDisplayString(t),1)])])))),128))]),e.createElementVNode("view",{class:"popup-say-content-flex",style:{"margin-top":"25rpx"}},[e.createElementVNode("view",{class:"popup-say-content-gun"}),e.createElementVNode("view",{class:"popup-say-content-font"},"体型标签")]),e.createElementVNode("view",{style:{display:"flex","flex-wrap":"wrap"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.slice(2,11),((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"tags-father"},[e.createElementVNode("image",{class:"tags-img",src:`/static/index/tagNames/${l+2}.png`},null,8,["src"]),e.createElementVNode("view",{class:"tags-font"},e.toDisplayString(t),1)])])))),128))]),e.createElementVNode("view",{class:"popup-say-three"})],4)],512),[[e.vShow,b.value]]),e.withDirectives(e.createElementVNode("view",{class:"popup-share",onClick:a[9]||(a[9]=e=>ue.value=!1)},[e.createElementVNode("view",{class:"popup-share-content",style:e.normalizeStyle({opacity:se.value?1:0}),onClick:a[8]||(a[8]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"popup-share-title"},[e.createTextVNode(" 护理日程分享 "),e.createElementVNode("image",{class:"popup-share-img",src:S})]),e.createElementVNode("view",{class:"popup-share-upcontent"},[e.createElementVNode("view",{class:"popup-share-font"},"久泰护理日程分享测试")]),e.createElementVNode("view",{class:"popup-share-gray"}),e.createElementVNode("view",{class:"popup-share-downcontent"},[e.createElementVNode("view",{class:"popup-share-downcontent-left"},[e.createElementVNode("image",{class:"popup-downcontent-img",src:S}),e.createElementVNode("view",{class:"popup-downcontent-font"},"久泰护理")]),e.createElementVNode("view",{class:"popup-share-downcontent-button",onClick:ve}," 分享 ")])],4)],512),[[e.vShow,ue.value]])],4)}}}),[["__scopeId","data-v-22e48c05"]]),U=s(e.defineComponent({__name:"index",setup(t){e.onMounted((()=>{c.value=2,uni.getSystemInfoSync(),uni.pageScrollTo}));const l=e.ref([{url:"/static/index/lefticon/index.png",targetUrl:"/static/index/lefticontarget/blueindex.png"},{url:"/static/index/lefticon/nurse.png",targetUrl:"/static/index/lefticontarget/bluenurse.png"},{url:"/static/index/lefticon/doctor.png",targetUrl:"/static/index/lefticontarget/bluedoctor.png"},{url:"/static/index/lefticon/give.png",targetUrl:"/static/index/lefticontarget/givedark.png"},{url:"/static/index/lefticon/wifi.png",targetUrl:"/static/index/lefticontarget/bluewifi.png"},{url:"/static/index/lefticon/back.png",targetUrl:"/static/index/lefticontarget/blueback.png"}]),a=e.ref(0),i=e.ref(!1),n=e.ref(!1),o=e.ref(!1),c=e.ref(-1);e.ref([]),e.ref(0),e.ref(0),e.ref(0),e.ref(0),e.ref(0);const s=e=>{o.value=e},d=e=>{c.value=e},u=e=>{if(3===e)return i.value=!1,n.value=!1,void uni.navigateTo({url:`/pages/somethingmove/index?darkFans=${o.value}`,animationType:"slide-in-right",animationDuration:400});5!==e?(a.value=e,i.value=!1,n.value=!1,setTimeout((()=>{switch(e){case 0:i.value=!0;break;case 1:n.value=!0}}),50)):uni.navigateBack()},m=e.ref(0),v=e.ref(0),p=e.ref(""),g=e.ref(!0),w=e.ref({index0:999,index1:999}),h=e.ref(!0),N=uni.createAnimation({duration:0,timingFunction:"linear",delay:0}),f=e.ref({}),E=function(e,t){let l=0;return function(...a){const i=Date.now();i-l>=t&&(l=i,e.apply(this,a))}}((e=>{var t;const l=e.touches[0];m.value=2*(Math.floor(l.clientX)-100),v.value=2*(Math.floor(l.clientY)-55),N.translate3d(m.value/2,v.value/2,0).step({duration:0}),f.value=N.export();const a=Math.floor(l.clientX)-50,i=Math.floor(l.clientY)-25,r=V.value.find((e=>a>=Math.floor(e.left)&&a<=Math.floor(e.right)&&i>=Math.floor(e.top)&&i<=Math.floor(e.bottom)));if(r){const{index0:e,index1:l}=r.dataset;w.value.index0=e,w.value.index1=l,m.value<200&&h.value&&!c.value&&(null==(t=D.value)||t.nextItems(),h.value=!1,setTimeout((()=>{h.value=!0}),1e3))}else w.value.index0=999,w.value.index1=999}),40),V=e.ref([]),x=(e,t)=>{p.value=e,g.value=!1,V.value=t},b=e=>{V.value=e},S=e.ref({directiveName:"",cycleType:"",positioningLong:"0",typeName:"",startTime:"",id:"",endTime:"",tagName:null}),T=(e,t)=>{S.value=e,g.value=!1,V.value=t},B=()=>{p.value="",g.value=!0},D=e.ref(null),z=e.ref(null),I=()=>{var e,t,l;m.value=9999,v.value=9999,N.translate3d(m.value/2,v.value/2,0).step({duration:0}),f.value=N.export(),g.value=!0,w.value={index0:999,index1:999},p.value?c.value||null==(e=D.value)||e.rulerEnd(p.value):S.value.typeName&&(0===c.value?null==(t=D.value)||t.rulerMoveEnd(S.value):null==(l=z.value)||l.rulerMoveEnd(S.value)),p.value="",S.value={directiveName:"",cycleType:"",positioningLong:"0",typeName:"",startTime:"",id:"",endTime:"",tagName:null}};function F(e){let t=[],l=e,a=/([^((]*)[((]([^))]+)[))]/;for(;a.test(l);){let e=l.match(a);e&&(e[1].trim()&&t.push(e[1].trim()),e[2].trim()&&t.push(e[2].trim()),l=l.replace(e[0],"").trim())}return l.trim()&&t.push(l.trim()),t}return r((()=>{setTimeout((()=>{u(a.value)}),50)})),(t,r)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(o.value?"darkbackgroundContainer":"backgroundContainer"),onTouchmove:r[0]||(r[0]=(...t)=>e.unref(E)&&e.unref(E)(...t)),onTouchend:I},[e.withDirectives(e.createElementVNode("view",{class:"move-font",animation:f.value},e.toDisplayString(p.value),9,["animation"]),[[e.vShow,p.value&&m.value]]),e.withDirectives(e.createElementVNode("view",{class:e.normalizeClass("日常"==S.value.cycleType?"title-time-border-yellow":"title-time-border-pouple"),animation:f.value,style:{"font-size":"30rpx",overflow:"hidden"}},[e.withDirectives(e.createElementVNode("view",{class:"title-time",style:{"margin-top":"5rpx"}},[e.createElementVNode("view",{class:"title-time-time",style:{"font-size":"30rpx"}},e.toDisplayString(S.value.startTime+"-"+S.value.endTime),1),e.createElementVNode("image",{class:"title-time-button",src:"日常"==S.value.cycleType?"/static/index/yellowbian.png":"/static/index/puoplebian.png"},null,8,["src"]),e.createElementVNode("view",{class:"title-time-font"},e.toDisplayString(S.value.cycleType),1)],512),[[e.vShow,S.value.startTime]]),e.createElementVNode("view",{style:{"margin-top":"20rpx","font-weight":"700"}},e.toDisplayString(F(S.value.directiveName)[0]),1),e.withDirectives(e.createElementVNode("view",{class:"down-icons",style:e.normalizeStyle("日常"!=S.value.cycleType?{backgroundColor:"rgb(212,203,255)"}:{})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(F(S.value.directiveName).slice(1),((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"",key:l},[e.createElementVNode("view",{class:"icon",style:e.normalizeStyle("日常"!=S.value.cycleType?{backgroundColor:"rgb(123,97,255)"}:{})},e.toDisplayString(F(S.value.directiveName)[1]),5)])))),128))],4),[[e.vShow,F(S.value.directiveName)[1]]])],10,["animation"]),[[e.vShow,S.value.cycleType]]),e.createElementVNode("view",{class:"left-container"},[e.createElementVNode("view",{class:"left-head"},[e.createElementVNode("image",{class:"left-head-img",src:y}),e.createElementVNode("text",{class:e.normalizeClass(o.value?"left-head-font-dark":"left-head-font")}," 王金凤 ",2)]),e.createElementVNode("view",{class:"left-img-container"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"blue-circle-pos"},[e.withDirectives(e.createElementVNode("view",{class:"blue-circle"},[e.createElementVNode("image",{class:"blue-circle-size",src:"/static/index/ray.png"},null,8,["src"])],512),[[e.vShow,l===a.value]]),e.createElementVNode("image",{class:"left-img",src:l===a.value?t.targetUrl:t.url,onClick:e=>u(l)},null,8,["src","onClick"])])))),128))])]),e.withDirectives(e.createVNode(k,{isshow:i.value,darkFans:o.value,onDarkchange:s},null,8,["isshow","darkFans"]),[[e.vShow,!a.value]]),e.withDirectives(e.createVNode(C,{ref_key:"ruler",ref:D,liang:w.value,isshow:n.value,canmove:g.value,darkFans:o.value,onDarkchange:s,onSavename:x,onSaveruler:T,onChangefangkuang:b,onCleanname:B,onChangeold:d},null,8,["liang","isshow","canmove","darkFans"]),[[e.vShow,1==a.value&&!c.value]]),e.withDirectives(e.createVNode(_,{ref_key:"rulernew",ref:z,isold:2===c.value,liang:w.value,isshow:n.value,canmove:g.value,darkFans:o.value,onDarkchange:s,onSavename:x,onSaveruler:T,onChangefangkuang:b,onCleanname:B,onChangeold:d},null,8,["isold","liang","isshow","canmove","darkFans"]),[[e.vShow,1==a.value&&2===c.value]])],34))}}),[["__scopeId","data-v-ee189f8b"]]),$="/static/nocamera.png",M="/static/index/camera/back.png",L=(e,t)=>{const l=`https://www.focusnu.com/devopsapi/iot/tplink/cameraInfo/motionCtrl?deviceIndex=${uni.getStorageSync("saveinit")?uni.getStorageSync("saveinit"):5}&direction=${e}&startOrNot=${t}&speed=1`;return p({url:l,method:"get"})},j=s(e.defineComponent({__name:"index",setup(t){const l=e.ref([]);o((()=>{l.value=y})),e.ref(null);const a=e.ref(-1),i=e.ref(-1),c=e.ref(!1),s=e.ref(!1);e.ref(null);const d=e.ref(null),u=e.ref(0),m=e.ref(3),v=[{name:"左右翻转",url:"/static/index/camera/800.png",target:"/static/index/camera/801.png"},{name:"上下翻转",url:"/static/index/camera/810.png",target:"/static/index/camera/811.png"},{name:"中心翻转",url:"/static/index/camera/820.png",target:"/static/index/camera/821.png"},{name:"不翻转",url:"/static/index/camera/830.png",target:"/static/index/camera/831.png"}],g=["原图","全景拉伸","四分屏","180°全景","360°全景"],w=e.ref([]),h=["截图","录制","对讲","静音","预警","关闭","图片","视频","清晰度","翻转"],y=["截图","录制","对讲","静音","预警","展开"],N=e.ref(0),f=e.ref(5),E=e.ref(0);function V(e){const[t,l]=e.split(":").map(Number);return 60*t+l}const x=e.ref({startTime:"",endTime:"",typeName:"",immediateFile:""});let k=0;const b=e.ref(0);const S=(e,t)=>{if(null==e?void 0:e.elderServerEntityList){const t=function(e,t){const l=V(t);let a=null,i=1/0;return e.forEach((e=>{const t=V(e.startTime);let r=Math.abs(t-l);r>720&&(r=1440-r),r<i&&(i=r,a=e)})),a}(null==e?void 0:e.elderServerEntityList,le.value);x.value=t||{startTime:"",endTime:"",typeName:"",immediateFile:""}}else x.value={startTime:"",endTime:"",typeName:"",immediateFile:""};m.value=3,w.value=[],N.value=0,l.value=y,uni.$emit("monitor:killView"),null!==(null==e?void 0:e.cameraInfo)&&(null==e?void 0:e.cameraInfo[0].deviceName)?(uni.$emit("monitor:isshow",!0),setTimeout((()=>{uni.$emit("monitor:changeinit",null==e?void 0:e.cameraInfo[0].deviceIndex)}),100)):uni.$emit("monitor:isshow",!1)};function T(e,t,l,a="png",i=0,r=!1){return Array.from({length:l},((l,n)=>{const o=r?String(n+i).padStart(2,"0"):n+i;return`${e}/${t}${o}.${a}`}))}const C=T("/static/index/newindex/curve","curve_",9,"png",1,!1);e.ref([...C,...[...C].reverse()]);const B=T("/static/index/newindex/curve","breathe_",9,"png",1,!1);e.ref([...B,...[...B].reverse()]),e.ref([{name:"王金福",url:"/static/index/watch/people0.png"},{name:"李宝田",url:"/static/index/watch/people1.png"}]);const D=e.ref([{name:"省医保",url:"/static/index/watch/00.png",error:!1},{name:"重度失能",url:"/static/index/watch/01.png",error:!1},{name:"欠费",url:"/static/index/watch/03.png",error:!0}]),z=e.ref([{name:"护理单元",url:T("/static/index/watch","nurs_",10,"png",1,!1)},{name:"配务室",url:T("/static/index/watch","delivery_",5,"png",1,!1)},{name:"库房",url:T("/static/index/watch","warehouse_",6,"png",1,!1)},{name:"消洗区",url:T("/static/index/watch","service_",5,"png",1,!1)},{name:"",url:""}]),I=e.ref([{name:"护理单元01",NUID:"2508000001",url:T("/static/index/watch","nurs_",10,"png",1,!1),warning:!1,type:0},{name:"护理单元02",NUID:"2508000002",url:T("/static/index/watch","nurs_",10,"png",1,!1),warning:!1,type:0},{name:"护理单元03",NUID:"2508000003",url:T("/static/index/watch","nurs_",10,"png",1,!1),warning:!0,type:0},{name:"仓库01",NUID:"2508000001",url:T("/static/index/watch","warehouse_",6,"png",1,!1),warning:!1,type:1},{name:"配务室",NUID:"2508000001",url:T("/static/index/watch","delivery_",5,"png",1,!1),warning:!1,type:2},{name:"服务大厅",NUID:"2508000001",url:T("/static/index/watch","service_",5,"png",1,!1),warning:!1,type:3}]);e.onMounted((()=>{a.value=0,i.value=0,c.value=!0,s.value=!0}));const _=e.ref(0),U=e.ref(-1),j=e.ref(-1),A=e.ref(!1),P=()=>{_.value=-1,U.value=-1,j.value=-1,A.value=!1},q=e=>{!function(e){switch(e){case 0:ue(1,0);break;case 1:ue(5,1);break;case 2:ue(7,2);break;case 3:ue(3,3);break;case 4:case 5:f.value=G.value,H.value=!1,G.value=-1,X(),Q()}}(e)},O=e.ref(0),W=()=>{var e;O.value=_.value,uni.setStorageSync("nuId",ee.value[O.value].nuId),uni.setStorageSync("nuName",ee.value[O.value].nuName),uni.setStorageSync("customerId",ee.value[O.value].elderInfo?null==(e=ee.value[O.value].elderInfo)?void 0:e.id:null),uni.setStorageSync("NUall",ee.value[O.value]),i.value?2===i.value&&uni.navigateTo({url:"/pages/Warehouse/warehome"}):uni.navigateTo({url:"/pages/NursingNew/index"})},Y=new Map;e.onBeforeUnmount((()=>{for(const e of Y.values())clearTimeout(e);Y.clear()}));const R=e=>{const t=w.value.indexOf(e);-1!==t&&w.value.splice(t,1)},J=e.ref(!1),X=K((()=>{var e;return null==(e=d.value)?void 0:e.moveSecondUp()}),400),Q=K((()=>function(){var e;null==(e=d.value)||e.startchange(),0===f.value&&(E.value,uni.$emit("monitor:toggleVolume"));1===f.value&&(E.value?uni.$emit("monitor:stopTalk"):uni.$emit("monitor:openTalk"));2===f.value&&uni.$emit("monitor:doSnapshot");3===f.value&&(E.value?uni.$emit("monitor:stopRecord"):uni.$emit("monitor:startRecord"));4===f.value&&(E.value||(G.value=f.value,f.value=-1,H.value=!0));5===f.value&&Z.value!==E.value&&(Z.value=E.value,uni.$emit("monitor:changeQuality"));6===f.value&&uni.$emit("monitor:switchDisplay",E.value);7===f.value&&(3===E.value?uni.$emit("monitor:flipImage",6):uni.$emit("monitor:flipImage",E.value));8===f.value&&(E.value?uni.$emit("monitor:stopAlarm"):uni.$emit("monitor:startAlarm"))}()),700),Z=e.ref(0),H=e.ref(!1),G=e.ref(-1);function K(e,t=1e3){let l=!1;return()=>{l||(e(),l=!0,setTimeout((()=>{l=!1}),t))}}const ee=e.computed((()=>(a.value=-1,setTimeout((()=>{a.value=0}),50),I.value.filter((e=>Number(e.areaFlag)-1===i.value))))),te=()=>{uni.navigateTo({url:"/pages/watch/settings/settings"})},le=e.ref(""),ae=e.ref(""),ie=e.ref("");let re=null;const ne=e=>String(e).padStart(2,"0"),oe=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"];function ce(){const e=new Date;le.value=`${ne(e.getHours())}:${ne(e.getMinutes())}`,ae.value=`${e.getMonth()+1}-${e.getDate()}`,ie.value=oe[e.getDay()]}r((()=>{ce(),re=setInterval(ce,1e3),p({url:`${uni.getStorageSync("serverUrl")}/api/pad/baseInfo/queryPadPageList`,method:"get"}).then((e=>{I.value=e.result.records,I.value.forEach((e=>{switch(e.areaFlag){case"1":e.url=T("/static/index/watch","nurs_",10,"png",1,!1);break;case"2":e.url=T("/static/index/watch","delivery_",5,"png",1,!1);break;case"3":e.url=T("/static/index/watch","warehouse_",6,"png",1,!1);break;case"4":e.url=T("/static/index/watch","service_",5,"png",1,!1)}})),S(ee.value[_.value],_.value),setTimeout((()=>{a.value=O.value,_.value=O.value,O.value=0}),100)}))})),n((()=>{re&&(clearInterval(re),re=null)}));let se=-1;const de={};function ue(e,t){-1!==se&&se!==t&&me(se),se=t,L(e,1),de[t]&&clearTimeout(de[t]),de[t]=setTimeout((()=>{me(t)}),550)}function me(e){if(-1===e)return;let t=0;switch(e){case 0:t=1;break;case 1:t=5;break;case 2:t=7;break;case 3:t=3}L(t,0).then((e=>{})),clearTimeout(de[e]),de[e]=null,se===e&&(se=-1)}function ve(e){const t=e instanceof Date?e:function(e){if(e instanceof Date)return e;if("string"!=typeof e)throw new Error("birth must be string or Date");const t=e.match(/(\d{4})\D+(\d{1,2})\D+(\d{1,2})/);if(!t)throw new Error("无法解析的日期格式");return new Date(Number(t[1]),Number(t[2])-1,Number(t[3]))}(e),l=new Date;let a=l.getFullYear()-t.getFullYear();return(l.getMonth()<t.getMonth()||l.getMonth()===t.getMonth()&&l.getDate()<t.getDate())&&(a-=1),a}return(t,r)=>{var n,o,c,s,d;const p=e.resolveComponent("donghua");return e.openBlock(),e.createElementBlock("view",{class:"view"},[e.createElementVNode("view",{class:"view-left"},[e.createElementVNode("view",{class:"title-father"},[e.createElementVNode("image",{class:"title-img",src:"/static/index/watch/uni.png"}),e.createElementVNode("view",{class:"title-font"}," 护理单元 ")]),e.createElementVNode("view",{class:"zhezhao-top"}),e.createElementVNode("view",{class:"zhezhao-bottom"}),e.createElementVNode("scroll-view",{class:"menus-father","scroll-y":"","scroll-top":u.value},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ee.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:e.normalizeClass(["menu",{warning:"1"==t.izWarning,target:l===_.value}]),style:e.normalizeStyle([l===a.value?{backgroundColor:"#fff"}:{},_.value===l?{backgroundColor:"#ddf0ff"}:{}]),onClick:e=>{a.value=l,P(),_.value=l,function(e,t){const l=Date.now();l-k<500&&b.value===t?W():S(e),b.value=t,k=l}(t,l)}},[e.createElementVNode("view",{class:"menu-img"},[e.createVNode(p,{width:"55rpx",height:"55rpx",links:t.url,playing:a.value===l},null,8,["links","playing"])]),e.createElementVNode("view",{style:{"margin-left":"10rpx"}},[e.createElementVNode("view",{style:e.normalizeStyle([{"font-size":"28rpx",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis",width:"270rpx"},l===a.value?{color:"#017DE9 "}:{}])},e.toDisplayString(t.nuName),5)])],14,["onClick"])))),128)),e.createElementVNode("view",{style:{height:"45rpx"}})],8,["scroll-top"])]),e.createElementVNode("view",{class:"view-right"},[e.createElementVNode("view",{class:"scroll-vi"},[e.createElementVNode("view",{class:"zhezhao-left"}),e.createElementVNode("view",{class:"zhezhao-right"}),e.createElementVNode("scroll-view",{"scroll-x":"true",style:{width:"66%",height:"100%"}},[e.createElementVNode("view",{style:{display:"flex","align-items":"center","margin-top":"3rpx"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(z.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:e.normalizeClass(["menu",{target:l===U.value}]),style:e.normalizeStyle(U.value===l?{backgroundColor:"#ddf0ff"}:{}),onClick:e=>{i.value=l,(e=>{P(),U.value=e,S(ee.value[0])})(l)}},[t.url?(e.openBlock(),e.createBlock(p,{key:0,links:t.url,playing:i.value===l},null,8,["links","playing"])):e.createCommentVNode("",!0),t.url?(e.openBlock(),e.createElementBlock("text",{key:1,class:e.normalizeClass(["menu-font",{zoom:i.value===l}]),style:e.normalizeStyle(i.value===l?{color:"#008FF5"}:{})},e.toDisplayString(t.name),7)):e.createCommentVNode("",!0),t.url?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:2},[e.createElementVNode("image",{style:{width:"50rpx",height:"50rpx"},src:"/static/index/watch/more.png"})]))],14,["onClick"])))),128))])]),e.createElementVNode("view",{class:"right-father"},[e.createElementVNode("view",{style:{"font-weight":"600","font-size":"60rpx","margin-right":"15rpx"}},e.toDisplayString(le.value),1),e.createElementVNode("view",{class:"",style:{"font-weight":"600","margin-right":"30rpx","font-size":"25rpx"}},[e.createElementVNode("view",null,e.toDisplayString(ae.value),1),e.createElementVNode("view",null,e.toDisplayString(ie.value),1)]),e.createElementVNode("view",{class:e.normalizeClass({targetbutton:A.value}),style:{display:"flex","align-items":"center"}},[e.createElementVNode("image",{style:{width:"55rpx",height:"55rpx"},src:"/static/index/newindex/curve/shezhi.png",onClick:te}),e.createElementVNode("view",{style:{"font-size":"32rpx","margin-left":"10rpx"},onClick:te}," 设置 ")],2)])]),e.createElementVNode("view",{class:"big-bgc"},[e.createElementVNode("view",{style:{width:"100%",height:"100%","background-color":"rgba(226, 227, 231, 0.5)",position:"relative"}},[e.createElementVNode("view",{style:{position:"absolute",top:"40%",left:"50%",transform:"translate(-50%,-50%)","text-align":"center","z-index":"1"}},[e.createElementVNode("image",{style:{width:"600rpx",height:"600rpx"},src:$}),e.createElementVNode("view",{style:{color:"#4D5561","font-size":"32rpx",position:"absolute",left:"50%",bottom:"100rpx",transform:"translateX(-50%)"}}," 暂无视频内容显示 ")])])]),e.createElementVNode("view",{class:"picture"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(g,((t,l)=>e.createElementVNode("view",{class:"picture-card",key:l,style:e.normalizeStyle({color:N.value===l?"#1486EB":""}),onClick:e=>(e=>{switch(P(),j.value=e,N.value=e,e){case 0:uni.$emit("monitor:switchDisplay",0);break;case 1:uni.$emit("monitor:switchDisplay",4);break;case 2:uni.$emit("monitor:switchDisplay",1);break;case 3:uni.$emit("monitor:switchDisplay",2);break;case 4:uni.$emit("monitor:switchDisplay",3)}})(l)},[e.createElementVNode("view",{class:e.normalizeClass(["bgc-card",{target:l===j.value}]),style:e.normalizeStyle({background:N.value===l?"#E2EDFC":""})},[e.createElementVNode("image",{style:{width:"90rpx",height:"90rpx"},src:`/static/index/picture/${l}${N.value===l?1:0}.png`},null,8,["src"])],6),e.createTextVNode(" "+e.toDisplayString(t),1)],12,["onClick"]))),64))]),e.createElementVNode("view",{class:"right-right"},[0===i.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"red-kuang"},[(null==(n=ee.value[a.value])?void 0:n.elderInfo)?(e.openBlock(),e.createElementBlock("image",{key:0,style:{width:"80rpx",height:"95rpx","margin-left":"40rpx","margin-top":"0rpx"},src:"/static/index/watch/laotai.png"})):e.createCommentVNode("",!0),(null==(o=ee.value[a.value])?void 0:o.elderInfo)?(e.openBlock(),e.createElementBlock("view",{key:1,class:""},[e.createElementVNode("view",{style:{"margin-left":"20rpx",display:"flex","align-items":"center",width:"100%",position:"relative"}},[e.createElementVNode("view",{class:"font-weight"},e.toDisplayString(ee.value[a.value].elderInfo?ee.value[a.value].elderInfo.name:""),1),e.createElementVNode("view",{class:"blue-bgc",style:{position:"absolute",right:"10rpx",top:"-10rpx"}}," 当日指令 ")]),e.createElementVNode("view",{class:"font-small",style:{"margin-left":"20rpx","margin-top":"0rpx"}},[e.createTextVNode(e.toDisplayString(ee.value[a.value].elderInfo?ee.value[a.value].elderInfo.sex:"")+" ",1),e.createElementVNode("text",{style:{"margin-left":"5rpx"}},e.toDisplayString(ee.value[a.value].elderInfo?ve(ee.value[a.value].elderInfo.dateOfBirth):"")+"岁 ",1)]),e.createElementVNode("view",{class:"font-small",style:{"margin-left":"20rpx","margin-top":"0rpx"}}," 入住时间:"+e.toDisplayString(ee.value[a.value].elderInfo?ee.value[a.value].elderInfo.createTime.slice(0,10):""),1)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),1===i.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"red-kuang"},[(null==(c=ee.value[a.value])?void 0:c.elderInfo)?(e.openBlock(),e.createElementBlock("image",{key:0,style:{width:"110rpx",height:"140rpx","margin-left":"40rpx","margin-top":"-10rpx"},src:"/static/index/watch/laotou.png"})):e.createCommentVNode("",!0),(null==(s=ee.value[a.value])?void 0:s.elderInfo)?(e.openBlock(),e.createElementBlock("view",{key:1,class:""},[e.createElementVNode("view",{style:{"margin-left":"20rpx",display:"flex","align-items":"center","margin-bottom":"5rpx","margin-top":"25rpx",height:"60rpx"}},[e.createElementVNode("view",{class:"font-weight"},e.toDisplayString(ee.value[a.value].elderInfo?ee.value[a.value].elderInfo.name:""),1),e.createElementVNode("view",{class:"font-small",style:{"margin-left":"10rpx"}},e.toDisplayString(ee.value[a.value].elderInfo?ee.value[a.value].elderInfo.sex:"")+" "+e.toDisplayString(ee.value[a.value].elderInfo?ve(ee.value[a.value].elderInfo.dateOfBirth):"")+"岁 ",1)]),e.createElementVNode("view",{class:"font-small",style:{"margin-left":"20rpx","margin-top":"25rpx"}}," 入职时间:"+e.toDisplayString(ee.value[a.value].elderInfo?ee.value[a.value].elderInfo.createTime.slice(0,10):""),1)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),0===i.value?(e.openBlock(),e.createElementBlock("view",{key:2,class:"states-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["states",t.error?"warning":""]),key:l},[e.createElementVNode("image",{style:{width:"35rpx",height:"35rpx"},src:t.url},null,8,["src"]),e.createElementVNode("view",{style:{color:"#555555","margin-left":"2rpx","font-size":"23rpx"}},e.toDisplayString(t.name),1)],2)))),128))])):e.createCommentVNode("",!0),1===i.value?(e.openBlock(),e.createElementBlock("view",{key:3,class:"states-father"},[e.createElementVNode("view",{class:"phone-number"},[e.createElementVNode("image",{class:"bgc-image",src:"/static/index/watch/phonebgc.png"}),e.createElementVNode("image",{style:{width:"20rpx",height:"35rpx","margin-left":"40rpx"},src:"/static/index/watch/phone.png"}),e.createElementVNode("view",{class:"font-phone"},[(null==(d=ee.value[a.value])?void 0:d.elderInfo)?(e.openBlock(),e.createElementBlock("view",{key:0},e.toDisplayString(ee.value[a.value].elderInfo?ee.value[a.value].elderInfo.guardianPhone:""),1)):e.createCommentVNode("",!0)]),e.createElementVNode("image",{class:"phone-ball",src:"/static/index/watch/phoneball.png"})])])):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"big-view"},[e.createElementVNode("view",{class:"font-weight"},e.toDisplayString(x.value.startTime)+" - "+e.toDisplayString(x.value.endTime),1),e.createElementVNode("view",{class:"pao"},[e.createElementVNode("image",{style:{width:"100%",height:"100%",position:"absolute",top:"0",left:"0"},src:"/static/index/watch/pao.png"}),e.createElementVNode("view",{style:{"font-size":"20rpx","z-index":"1"}}," 待进行 ")]),e.createElementVNode("view",{class:"juzhong",style:{"z-index":"2","margin-top":"50rpx"}},[e.createElementVNode("image",{style:{width:"60rpx",height:"60rpx"},src:`https://www.focusnu.com/nursingunit101/sys/common/static/${x.value.immediateFile}`},null,8,["src"])]),e.createElementVNode("view",{style:{"font-size":"28rpx","padding-top":"50rpx"}},e.toDisplayString(x.value.typeName),1)]),e.createElementVNode("view",{class:"bottom-view"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,((t,a)=>(e.openBlock(),e.createElementBlock("view",{class:"button-father",onClick:e=>(e=>{switch(e){case 0:uni.$emit("monitor:doSnapshot"),w.value.includes(e)||w.value.push(e),Y.has(e)&&clearTimeout(Y.get(e));const t=setTimeout((()=>{const t=w.value.indexOf(e);-1!==t&&w.value.splice(t,1),Y.delete(e)}),500);Y.set(e,t);break;case 1:w.value.includes(e)?(uni.$emit("monitor:stopRecord"),R(e)):(uni.$emit("monitor:startRecord"),w.value.push(e));break;case 2:w.value.includes(e)?(uni.$emit("monitor:stopTalk"),R(e)):(uni.$emit("monitor:openTalk"),w.value.push(e));break;case 3:w.value.includes(e)?(uni.$emit("monitor:toggleVolume"),R(e)):(uni.$emit("monitor:toggleVolume"),w.value.push(e));break;case 4:w.value.includes(e)?(uni.$emit("monitor:stopAlarm"),R(e)):(uni.$emit("monitor:startAlarm"),w.value.push(e));break;case 5:w.value.includes(e)?(l.value=y,R(e)):(l.value=h,w.value.push(e)),J.value=!1;break;case 6:case 7:w.value.includes(e)?R(e):w.value.push(e);break;case 8:w.value.includes(e)?(uni.$emit("monitor:changeQuality"),R(e)):(uni.$emit("monitor:changeQuality"),w.value.push(e));break;case 9:J.value=!0}})(a)},[e.createElementVNode("view",{class:"bottom-button",style:e.normalizeStyle({backgroundColor:w.value.includes(a)?"#DDE9F0":""})},[e.createElementVNode("image",{style:{width:"70%",height:"70%"},src:`/static/index/camera/${a}${w.value.includes(a)?1:0}.png`},null,8,["src"])],4),e.createElementVNode("view",{style:e.normalizeStyle([{"font-size":"25rpx"},{color:w.value.includes(a)?"#0E86EA":""}])},e.toDisplayString(t),5)],8,["onClick"])))),256)),e.withDirectives(e.createElementVNode("view",{class:"jump-white"},[e.createElementVNode("view",{style:{display:"flex","justify-content":"space-around",height:"100rpx",width:"100%","align-items":"center"}},[e.createElementVNode("view",{class:""}," 翻转 "),e.createElementVNode("image",{style:{width:"40rpx",height:"40rpx"},src:M,onClick:r[0]||(r[0]=e=>J.value=!1)})]),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(v,((t,l)=>e.createElementVNode("view",{class:"jump-item",key:l,onClick:e=>(e=>{m.value=e,3===e?(uni.$emit("monitor:flipImage",6),R(9)):(uni.$emit("monitor:flipImage",e),w.value.push(9))})(l),style:e.normalizeStyle({backgroundColor:m.value===l?"#E5E8EE":""})},[e.createElementVNode("image",{style:{width:"50rpx",height:"50rpx","margin-right":"10rpx","margin-left":"-10rpx"},src:m.value===l?t.target:t.url},null,8,["src"]),e.createElementVNode("view",{style:e.normalizeStyle({color:m.value===l?"#0E86EA":""})},e.toDisplayString(t.name),5)],12,["onClick"]))),64))],512),[[e.vShow,J.value]])])])]),e.withDirectives(e.createVNode(F,{onMovecard:q},null,512),[[e.vShow,!w.value.includes(5)]])])}}}),[["__scopeId","data-v-155675f9"]]),A=s(e.defineComponent({__name:"full",setup(t){const l=e.ref([]),a=e.ref({fzrHeadPath:"",fzr:"",fzrTel:""});o((()=>{l.value=p,setTimeout((()=>{const e=uni.getStorageSync("NUall");a.value=e,uni.$emit("fullmonitor:killView"),null!==e.cameraInfo&&e.cameraInfo[0].deviceName?(uni.$emit("fullmonitor:isshow",!0),setTimeout((()=>{uni.$emit("fullmonitor:changeinit",e.cameraInfo[0].deviceIndex)}),100)):uni.$emit("fullmonitor:isshow",!1)}),500)}));const i=e.ref(-1),r=e.ref(-1),n=e.ref(!1),c=e.ref(!1);e.ref(null);const s=e.ref(null);e.ref(0);const d=e.ref(3),u=[{name:"左右翻转",url:"/static/index/camera/800.png",target:"/static/index/camera/801.png"},{name:"上下翻转",url:"/static/index/camera/810.png",target:"/static/index/camera/811.png"},{name:"中心翻转",url:"/static/index/camera/820.png",target:"/static/index/camera/821.png"},{name:"不翻转",url:"/static/index/camera/830.png",target:"/static/index/camera/831.png"}],m=["原图","全景拉伸","四分屏","180°全景","360°全景"],v=e.ref([]),p=["截图","录制","对讲","静音","预警","图片","视频","清晰度","翻转","返回"],g=e.ref(0),w=e.ref(5),h=e.ref(0);e.ref({startTime:"",endTime:"",typeName:"",immediateFile:""}),e.onMounted((()=>{i.value=0,r.value=0,n.value=!0,c.value=!0})),e.ref(0),e.ref(-1);const y=e.ref(-1);e.ref(!1);const N=e=>{!function(e){switch(e){case 0:z(1,0);break;case 1:z(5,1);break;case 2:z(7,2);break;case 3:z(3,3);break;case 4:case 5:w.value=T.value,S.value=!1,T.value=-1,x(),k()}}(e)};e.ref(0);const f=new Map;e.onBeforeUnmount((()=>{for(const e of f.values())clearTimeout(e);f.clear()}));const E=e=>{const t=v.value.indexOf(e);-1!==t&&v.value.splice(t,1)},V=e.ref(!1),x=C((()=>{var e;return null==(e=s.value)?void 0:e.moveSecondUp()}),400),k=C((()=>function(){var e;null==(e=s.value)||e.startchange(),0===w.value&&(h.value,uni.$emit("fullmonitor:toggleVolume"));1===w.value&&(h.value?uni.$emit("fullmonitor:stopTalk"):uni.$emit("fullmonitor:openTalk"));2===w.value&&uni.$emit("fullmonitor:doSnapshot");3===w.value&&(h.value?uni.$emit("fullmonitor:stopRecord"):uni.$emit("fullmonitor:startRecord"));4===w.value&&(h.value||(T.value=w.value,w.value=-1,S.value=!0));5===w.value&&b.value!==h.value&&(b.value=h.value,uni.$emit("fullmonitor:changeQuality"));6===w.value&&uni.$emit("fullmonitor:switchDisplay",h.value);7===w.value&&(3===h.value?uni.$emit("fullmonitor:flipImage",6):uni.$emit("fullmonitor:flipImage",h.value));8===w.value&&(h.value?uni.$emit("fullmonitor:stopAlarm"):uni.$emit("fullmonitor:startAlarm"))}()),700),b=e.ref(0),S=e.ref(!1),T=e.ref(-1);function C(e,t=1e3){let l=!1;return()=>{l||(e(),l=!0,setTimeout((()=>{l=!1}),t))}}let B=-1;const D={};function z(e,t){-1!==B&&B!==t&&I(B),B=t,L(e,1),D[t]&&clearTimeout(D[t]),D[t]=setTimeout((()=>{I(t)}),550)}function I(e){if(-1===e)return;let t=0;switch(e){case 0:t=1;break;case 1:t=5;break;case 2:t=7;break;case 3:t=3}L(t,0).then((e=>{})),clearTimeout(D[e]),D[e]=null,B===e&&(B=-1)}return(t,a)=>(e.openBlock(),e.createElementBlock("view",{class:"view"},[e.createElementVNode("view",{class:"view-right"},[e.createElementVNode("view",{class:"big-bgc"},[e.createElementVNode("view",{style:{width:"100%",height:"100%","z-index":"1",display:"flex","justify-content":"center","align-items":"center","background-color":"rgba(226, 227, 231, 0.5)"}},[e.createElementVNode("view",{style:{position:"relative"}},[e.createElementVNode("image",{style:{width:"600rpx",height:"600rpx"},src:$}),e.createElementVNode("view",{style:{color:"#4D5561","font-size":"32rpx",position:"absolute",left:"50%",bottom:"100rpx",transform:"translateX(-50%)"}}," 暂无视频内容显示 ")])])]),e.createElementVNode("view",{class:"picture"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(m,((t,l)=>e.createElementVNode("view",{class:"picture-card",key:l,style:e.normalizeStyle({color:g.value===l?"#1486EB":""}),onClick:e=>(e=>{switch(y.value=e,g.value=e,e){case 0:uni.$emit("fullmonitor:switchDisplay",0);break;case 1:uni.$emit("fullmonitor:switchDisplay",4);break;case 2:uni.$emit("fullmonitor:switchDisplay",1);break;case 3:uni.$emit("fullmonitor:switchDisplay",2);break;case 4:uni.$emit("fullmonitor:switchDisplay",3)}})(l)},[e.createElementVNode("view",{class:e.normalizeClass(["bgc-card",{target:l===y.value}]),style:e.normalizeStyle({background:g.value===l?"#E2EDFC":""})},[e.createElementVNode("image",{style:{width:"90rpx",height:"90rpx"},src:`/static/index/picture/${l}${g.value===l?1:0}.png`},null,8,["src"])],6),e.createTextVNode(" "+e.toDisplayString(t),1)],12,["onClick"]))),64))]),e.createElementVNode("view",{class:"right-right"},[e.createElementVNode("view",{class:"bottom-view"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"button-father",onClick:e=>(e=>{switch(e){case 0:uni.$emit("fullmonitor:doSnapshot"),v.value.includes(e)||v.value.push(e),f.has(e)&&clearTimeout(f.get(e));const t=setTimeout((()=>{const t=v.value.indexOf(e);-1!==t&&v.value.splice(t,1),f.delete(e)}),500);f.set(e,t);break;case 1:v.value.includes(e)?(uni.$emit("fullmonitor:stopRecord"),E(e)):(uni.$emit("fullmonitor:startRecord"),v.value.push(e));break;case 2:v.value.includes(e)?(uni.$emit("fullmonitor:stopTalk"),E(e)):(uni.$emit("fullmonitor:openTalk"),v.value.push(e));break;case 3:v.value.includes(e)?(uni.$emit("fullmonitor:toggleVolume"),E(e)):(uni.$emit("fullmonitor:toggleVolume"),v.value.push(e));break;case 4:v.value.includes(e)?(uni.$emit("fullmonitor:stopAlarm"),E(e)):(uni.$emit("fullmonitor:startAlarm"),v.value.push(e));break;case 5:case 6:v.value.includes(e)?E(e):v.value.push(e);break;case 7:v.value.includes(e)?(uni.$emit("fullmonitor:changeQuality"),E(e)):(uni.$emit("fullmonitor:changeQuality"),v.value.push(e));break;case 8:V.value=!0;break;case 9:V.value=!1,uni.navigateBack()}})(l)},[e.createElementVNode("view",{class:"bottom-button",style:e.normalizeStyle({backgroundColor:v.value.includes(l)?"#DDE9F0":""})},[e.createElementVNode("image",{style:{width:"70%",height:"70%"},src:`/static/index/camera/${9==l?5:l>4?l+1:l}${v.value.includes(l)?1:0}.png`},null,8,["src"])],4),e.createElementVNode("view",{style:e.normalizeStyle([{"font-size":"25rpx"},{color:v.value.includes(l)?"#0E86EA":""}])},e.toDisplayString(t),5)],8,["onClick"])))),256)),e.withDirectives(e.createElementVNode("view",{class:"jump-white"},[e.createElementVNode("view",{style:{display:"flex","justify-content":"space-around",height:"100rpx",width:"100%","align-items":"center"}},[e.createElementVNode("view",{class:""}," 翻转 "),e.createElementVNode("image",{style:{width:"40rpx",height:"40rpx"},src:M,onClick:a[0]||(a[0]=e=>V.value=!1)})]),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(u,((t,l)=>e.createElementVNode("view",{class:"jump-item",key:l,onClick:e=>(e=>{d.value=e,3===e?(uni.$emit("fullmonitor:flipImage",6),E(8)):(uni.$emit("fullmonitor:flipImage",e),v.value.push(8))})(l),style:e.normalizeStyle({backgroundColor:d.value===l?"#E5E8EE":""})},[e.createElementVNode("image",{style:{width:"50rpx",height:"50rpx","margin-right":"10rpx","margin-left":"-10rpx"},src:d.value===l?t.target:t.url},null,8,["src"]),e.createElementVNode("view",{style:e.normalizeStyle({color:d.value===l?"#0E86EA":""})},e.toDisplayString(t.name),5)],12,["onClick"]))),64))],512),[[e.vShow,V.value]])])])]),e.createVNode(F,{onMovecard:N})]))}}),[["__scopeId","data-v-32113a0a"]]),P=s({__name:"exit",props:{show:{type:Boolean,default:!0}},emits:["close"],setup(t,{emit:l}){const a=t,i=e.ref(!1);e.watch((()=>a.show),((e,t)=>{!t&&e&&(i.value=!1,setTimeout((()=>i.value=!0),50))}));const r=l;function n(){r("close")}const o=()=>{uni.setStorageSync("token",1),uni.redirectTo({url:"/pages/login/login"})};return(l,a)=>e.withDirectives((e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["neuro-wrapper",i.value?"is-active":""])},[e.createElementVNode("view",{class:"neuro-mask",onClick:n}),e.createElementVNode("view",{class:"neuro-box",onClick:a[0]||(a[0]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"button-father"},[e.createElementVNode("view",{class:"button-white",onClick:n},"取消"),e.createElementVNode("view",{class:"button",onClick:o},"确定")]),e.createElementVNode("view",{class:"title"},"退出登录"),e.createElementVNode("view",{class:"card-font"}," 确定要注销账户吗 ")])],2)),[[e.vShow,t.show]])}},[["__scopeId","data-v-73fac165"]]),q=s({__name:"reset",props:{show:{type:Boolean,default:!0}},emits:["close"],setup(t,{emit:a}){const i=t,r=e.reactive({username:uni.getStorageSync("username"),oldpassword:"",password:"",confirmpassword:""}),n=e.ref(!1);e.watch((()=>i.show),((e,t)=>{!t&&e&&(n.value=!1,setTimeout((()=>n.value=!0),50))}));const o=a;function c(){o("close")}const s=()=>{r.username&&r.oldpassword&&r.password&&r.confirmpassword?r.password.length<6||r.confirmpassword.length<6?uni.showToast({title:"密码要多于六位",icon:"none",duration:2e3}):r.password===r.confirmpassword?(e=>p({url:`${uni.getStorageSync("serverUrl")}/sys/user/updatePassword`,method:"put",data:{username:e.username,oldpassword:e.oldpassword,password:e.password,confirmpassword:e.confirmpassword}}))(r).then((e=>{l("log","at component/public/reset.vue:105","res",e),e.success?(uni.showToast({title:e.message,icon:"none",duration:2e3}),setTimeout((()=>{uni.setStorageSync("token",1),uni.reLaunch({url:"/pages/login/login"})}),1e3)):uni.showToast({title:e.message,icon:"none",duration:2e3})})):uni.showToast({title:"新密码与确认密码不一致",icon:"none",duration:2e3}):uni.showToast({title:"请完善信息",icon:"error",duration:2e3})};return(l,a)=>e.withDirectives((e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["neuro-wrapper",n.value?"is-active":""])},[e.createElementVNode("view",{class:"neuro-mask",onClick:c}),e.createElementVNode("view",{class:"neuro-box",onClick:a[3]||(a[3]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"button-father"},[e.createElementVNode("view",{class:"button",onClick:s},"确定")]),e.createElementVNode("view",{class:"title"},"修改账号登录密码"),e.createElementVNode("view",{class:"password-father",style:{"margin-top":"50rpx"}},[e.withDirectives(e.createElementVNode("input",{class:"password",password:!1,"onUpdate:modelValue":a[0]||(a[0]=e=>r.oldpassword=e),maxlength:"15",placeholder:"请输入旧密码"},null,512),[[e.vModelText,r.oldpassword]])]),e.createElementVNode("view",{class:"password-father"},[e.withDirectives(e.createElementVNode("input",{class:"password",password:!1,"onUpdate:modelValue":a[1]||(a[1]=e=>r.password=e),maxlength:"15",placeholder:"请输入新密码"},null,512),[[e.vModelText,r.password]])]),e.createElementVNode("view",{class:"password-father"},[e.withDirectives(e.createElementVNode("input",{class:"password",password:!1,"onUpdate:modelValue":a[2]||(a[2]=e=>r.confirmpassword=e),maxlength:"15",placeholder:"请再次输入新密码"},null,512),[[e.vModelText,r.confirmpassword]])]),e.createElementVNode("view",{class:"card-font"})])],2)),[[e.vShow,t.show]])}},[["__scopeId","data-v-8de7e110"]]),O=s(e.defineComponent({__name:"settings",emits:["jump"],setup(t,{emit:l}){const a=e.ref(null),i=e.ref(!1),r=e.ref(!1),n=e.ref(!1),o=e.ref(!1),c=e.ref(!1),s=e.ref(["雷达扫描","扫码添加","手动录入","修改密码","切换机构","检查更新","用户协议","隐私政策"]);e.ref(!0),e.ref("");const v=e.ref(!1),p=e.ref(uni.getStorageSync("orgList")),g=e.ref(!1),w=e.ref(""),h=e=>{var t;switch(e){case 0:uni.navigateTo({url:"/pages/watch/settings/leida"});break;case 1:uni.navigateTo({url:"/pages/watch/settings/saoma"});break;case 2:uni.navigateTo({url:"/pages/watch/settings/input"});break;case 3:c.value=!0;break;case 4:1==p.value.length?uni.showToast({title:"您目前只绑定了一个机构。如需切换,请先申请新的机构。",icon:"none",duration:2e3}):(w.value=uni.getStorageSync("serverUrl"),v.value=!0);break;case 5:i.value=!0,null==(t=a.value)||t.check_update();break;case 6:r.value=!0,n.value=!0,g.value=!1,setTimeout((()=>{g.value=!0}),50);break;case 7:r.value=!0,n.value=!1,g.value=!1,setTimeout((()=>{g.value=!0}),50)}},y=()=>{i.value&&uni.showToast({title:"已经是最新版了",icon:"none",duration:2e3})},N=()=>{uni.navigateBack()};return(t,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("view",{class:"index-content-other"},[e.createElementVNode("view",{class:"index-content-right",onClick:N},[e.createElementVNode("image",{class:"back-img",src:"/static/index/settings/back.png"},null,8,["src"]),e.createTextVNode(" 返回 ")]),e.createElementVNode("view",{class:"array-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value.slice(0,3),((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"item",onClick:e=>h(l)},[e.createElementVNode("view",{class:"left-item"},[e.createElementVNode("image",{class:"left-icon",src:`/static/index/settings/${l}.png`},null,8,["src"]),e.createElementVNode("view",{class:"left-font"},e.toDisplayString(t),1)]),e.createElementVNode("view",{class:"right-item"},[e.createElementVNode("image",{class:"right-icon",src:"/static/index/settings/00.png"},null,8,["src"])])],8,["onClick"])))),128))]),e.createElementVNode("view",{class:"array-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value.slice(3,5),((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"item",onClick:e=>h(l+3)},[e.createElementVNode("view",{class:"left-item"},[e.createElementVNode("image",{class:"left-icon",src:`/static/index/settings/${l+3}.png`},null,8,["src"]),e.createElementVNode("view",{class:"left-font"},e.toDisplayString(t),1)]),e.createElementVNode("view",{class:"right-item"},[e.createElementVNode("image",{class:"right-icon",src:"/static/index/settings/00.png"},null,8,["src"])])],8,["onClick"])))),128))]),e.createElementVNode("view",{class:"array-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value.slice(5,8),((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"item",onClick:e=>h(l+5)},[e.createElementVNode("view",{class:"left-item"},[e.createElementVNode("image",{class:"left-icon",src:`/static/index/settings/${l+5}.png`},null,8,["src"]),e.createElementVNode("view",{class:"left-font"},e.toDisplayString(t),1)]),e.createElementVNode("view",{class:"right-item"},[e.createElementVNode("image",{class:"right-icon",src:"/static/index/settings/00.png"},null,8,["src"])])],8,["onClick"])))),128))]),e.createElementVNode("view",{class:"bottom-button",onClick:l[0]||(l[0]=e=>o.value=!0)}," 注销登录 "),e.createElementVNode("view",{class:"text-center"},[e.createElementVNode("view",null,e.toDisplayString(uni.getStorageSync("orgListName")),1)]),e.createVNode(P,{show:o.value,onClose:l[1]||(l[1]=e=>o.value=!1)},null,8,["show"]),e.createVNode(q,{show:c.value,onClose:l[2]||(l[2]=e=>c.value=!1)},null,8,["show"]),e.createVNode(d,{ref_key:"zyupgrade",ref:a,noticeflag:!0,theme:"blue",h5preview:!1,oldversion:"1.0.0",appstoreflag:!0,autocheckupdate:!0,onShowupdateTips:y},null,512),r.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"popup-any",style:e.normalizeStyle(g.value?{opacity:1}:{opacity:0})},[e.createElementVNode("view",{class:"mask",onTouchmove:l[3]||(l[3]=e.withModifiers((()=>{}),["prevent"])),onClick:l[4]||(l[4]=e=>r.value=!1)},null,32),e.createElementVNode("view",{class:"box-any",onTouchmove:l[5]||(l[5]=e.withModifiers((()=>{}),["prevent"]))},[e.createElementVNode("view",{class:"title-left"},[n.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"back-font"},"NU护理单元隐私信息保护政策")),n.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"back-font"},"NU护理单元用户服务协议")):e.createCommentVNode("",!0)]),n.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(m,{key:0})),n.value?(e.openBlock(),e.createBlock(u,{key:1})):e.createCommentVNode("",!0)],32)],4)):e.createCommentVNode("",!0)]),v.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"bg-mask"},[e.createElementVNode("view",{onClick:l[6]||(l[6]=e.withModifiers((()=>{}),["stop"])),class:"white-select"},[e.createElementVNode("view",{class:"big-font"}," 请选择您的机构 "),e.createElementVNode("view",{class:""},[e.createElementVNode("view",{class:"small-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"small-select",style:e.normalizeStyle(w.value==t.serverUrl?{color:"#0083FF",borderColor:"#0083FF"}:{}),onClick:e=>(e=>{uni.setStorageSync("serverUrl",e.serverUrl),uni.setStorageSync("orgListName",e.departName),uni.setStorageSync("orgListCode",e.orgCode),uni.showToast({title:"切换机构成功",icon:"success",duration:2e3}),v.value=!1})(t)},e.toDisplayString(t.departName),13,["onClick"])))),256))])])])])):e.createCommentVNode("",!0)],64))}}),[["__scopeId","data-v-272540d1"]]),W="/static/click.png",Y="/static/x.png",R="/static/index/leida/play.png",J="/static/index/quxiao.png",X=()=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/baseInfo/queryPadPageList?token=${uni.getStorageSync("token")}`,method:"get"}),Q=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/baseInfo/queryinfoByBuId?nuId=${e}`,method:"get"}),Z=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/baseInfo/updateBaseInfo`,method:"post",data:e}),H=s(e.defineComponent({__name:"input",setup(t){const a=()=>{uni.navigateBack()},i=e.ref(""),r=e.ref({}),n=()=>{i.value&&Q(i.value).then((e=>{e.success?r.value=e.result:uni.showToast({title:e.message,icon:"none"})}))},o=e.ref(!1),c=e.ref(!1),s=e.ref(""),d=e.ref(""),u=()=>{if(s.value){l("log","at pages/watch/settings/input.vue:125","????");let e={id:r.value.id,nuName:s.value};Z(e).then((e=>{e.success&&Q(i.value).then((e=>{e.success?(r.value=e.result,o.value=!1):uni.showToast({title:e.message,icon:"none"})}))}))}};return(t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"index-content-other"},[e.createElementVNode("view",{class:"index-content-right",onClick:a},[e.createElementVNode("image",{class:"back-img",src:"/static/index/settings/back.png"},null,8,["src"]),e.createTextVNode(" 返回 ")]),e.createElementVNode("view",{class:"saomiao"},[r.value.nuName?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"big-ball"},[e.createElementVNode("view",{class:"ball"})])),r.value.nuName?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("image",{key:1,class:"left-img",src:W})),r.value.nuName?e.createCommentVNode("",!0):e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:2,class:"saoma-input",password:!1,"onUpdate:modelValue":l[0]||(l[0]=e=>i.value=e),placeholder:"请手动录入NUID"},null,512)),[[e.vModelText,i.value]]),r.value.nuName?e.createCommentVNode("",!0):e.withDirectives((e.openBlock(),e.createElementBlock("image",{key:3,class:"right-img",src:Y,onClick:l[1]||(l[1]=e=>i.value="")},null,512)),[[e.vShow,i.value]]),r.value.nuName?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:4,class:"blue-button",onClick:n}," 确定 ")),r.value.nuName?(e.openBlock(),e.createElementBlock("view",{key:5,class:"card"},[e.createElementVNode("view",{class:"main-title"},[e.createElementVNode("view",{class:"main-title-font",style:{"font-weight":"600","font-size":"40rpx"}},e.toDisplayString(r.value.nuName),1),e.createElementVNode("view",{class:"video-father"},[e.createElementVNode("image",{class:"edit-img",onClick:l[2]||(l[2]=()=>{}),src:R})])]),e.createElementVNode("view",{style:{display:"flex","justify-content":"center",width:"100%"}},[e.createElementVNode("view",{class:"blue-button",style:{width:"200rpx",height:"70rpx","margin-top":"50rpx"},onClick:l[3]||(l[3]=e=>r.value={})}," 关闭 "),e.createElementVNode("view",{class:"blue-button",style:{width:"200rpx",height:"70rpx","margin-top":"50rpx"},onClick:l[4]||(l[4]=e=>(s.value=r.value.nuName,d.value=r.value.nuId,c.value=!1,o.value=!0,void setTimeout((()=>{c.value=!0}),50)))}," 重命名 ")]),e.createElementVNode("view",{class:"card-tags"},[e.createElementVNode("view",{style:{"margin-left":"80rpx"}}," NUID:"+e.toDisplayString(r.value.nuId),1)]),e.createElementVNode("view",{class:"play-img"}," 护理单元 ")])):e.createCommentVNode("",!0)]),e.withDirectives(e.createElementVNode("view",{class:"popup-any",style:e.normalizeStyle(c.value?{opacity:1}:{opacity:0})},[e.createElementVNode("view",{class:"mask",onClick:l[5]||(l[5]=e=>c.value=!1)}),e.createElementVNode("view",{class:"rename-father"},[e.createElementVNode("view",{class:"rename-title"}," 重命名 "),e.createElementVNode("view",{style:{width:"100%","margin-left":"5rpx","margin-bottom":"20rpx"}}," NUID:"+e.toDisplayString(d.value),1),e.createElementVNode("view",{class:"rename-input"},[e.withDirectives(e.createElementVNode("input",{class:"uni-input",placeholder:"请重新命名","onUpdate:modelValue":l[6]||(l[6]=e=>s.value=e),onConfirm:u},null,544),[[e.vModelText,s.value]]),e.withDirectives(e.createElementVNode("image",{class:"right-img",src:J,onClick:l[7]||(l[7]=e=>s.value="")},null,512),[[e.vShow,s.value]])]),e.createElementVNode("view",{class:"blue-button",style:{width:"200rpx",height:"70rpx","margin-top":"40rpx"},onClick:u}," 确定 ")])],4),[[e.vShow,o.value]]),e.createElementVNode("image",{class:"big-bgc",src:"/static/bgc.png"}),e.createElementVNode("image",{class:"big-img",src:"/static/qiu.png"}),e.createElementVNode("view",{class:"index-content-down"}," 长春市朝阳区久泰开运养老服务有限公司 ")]))}}),[["__scopeId","data-v-a78aa9a4"]]),G=s(e.defineComponent({__name:"saoma",setup(t){const a=()=>{uni.navigateBack()},i=e.ref({});function r(){uni.scanCode({onlyFromCamera:!0,scanType:["qrCode","barCode"],success(e){e.result&&(n.value=e.result,Q(n.value).then((e=>{e.success?i.value=e.result:uni.showToast({title:e.message,icon:"none"})}))),l("log","at pages/watch/settings/saoma.vue:106","chenggong",e.result)},fail(e){uni.showToast({title:"扫码失败:"+e.errMsg,icon:"none"})}})}const n=e.ref(""),o=e.ref(!1),c=e.ref(!1),s=e.ref(""),d=e.ref(""),u=()=>{if(s.value){let e={id:i.value.id,nuName:s.value};l("log","at pages/watch/settings/saoma.vue:137","????",e),Z(e).then((e=>{e.success&&Q(n.value).then((e=>{e.success?(i.value=e.result,o.value=!1,c.value=!1):uni.showToast({title:e.message,icon:"none"})}))}))}};return(t,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("view",{class:"index-content-other"},[e.createElementVNode("view",{class:"index-content-right",onClick:a},[e.createElementVNode("image",{class:"back-img",src:"/static/index/settings/back.png"},null,8,["src"]),e.createTextVNode(" 返回 ")]),e.createElementVNode("view",{class:"saomiao"},[i.value.nuName?(e.openBlock(),e.createElementBlock("view",{key:0,class:"card"},[e.createElementVNode("view",{class:"main-title"},[e.createElementVNode("view",{class:"main-title-font",style:{"font-weight":"600","font-size":"40rpx"}},e.toDisplayString(i.value.nuName),1),e.createElementVNode("view",{class:"video-father"},[e.createElementVNode("image",{class:"edit-img",onClick:l[0]||(l[0]=()=>{}),src:R})])]),e.createElementVNode("view",{style:{display:"flex","justify-content":"center",width:"100%"}},[e.createElementVNode("view",{class:"blue-button",style:{width:"200rpx",height:"70rpx","margin-top":"50rpx"},onClick:l[1]||(l[1]=e=>i.value={})}," 关闭 "),e.createElementVNode("view",{class:"blue-button",style:{width:"200rpx",height:"70rpx","margin-top":"50rpx"},onClick:l[2]||(l[2]=e=>(s.value=i.value.nuName,d.value=i.value.nuId,c.value=!1,o.value=!0,void setTimeout((()=>{c.value=!0}),50)))}," 重命名 ")]),e.createElementVNode("view",{class:"card-tags"},[e.createElementVNode("view",{style:{"margin-left":"80rpx"}}," NUID:"+e.toDisplayString(i.value.nuId),1)]),e.createElementVNode("view",{class:"play-img"}," 护理单元 ")])):e.createCommentVNode("",!0)]),e.withDirectives(e.createElementVNode("view",{class:"popup-any",style:e.normalizeStyle(c.value?{opacity:1}:{opacity:0})},[e.createElementVNode("view",{class:"mask",onClick:l[3]||(l[3]=e=>c.value=!1)}),e.createElementVNode("view",{class:"rename-father"},[e.createElementVNode("view",{class:"rename-title"}," 重命名 "),e.createElementVNode("view",{style:{width:"100%","margin-left":"5rpx","margin-bottom":"20rpx"}}," NUID:"+e.toDisplayString(d.value),1),e.createElementVNode("view",{class:"rename-input"},[e.withDirectives(e.createElementVNode("input",{class:"uni-input",placeholder:"请重新命名","onUpdate:modelValue":l[4]||(l[4]=e=>s.value=e),onConfirm:u},null,544),[[e.vModelText,s.value]]),e.withDirectives(e.createElementVNode("image",{class:"right-img",src:J,onClick:l[5]||(l[5]=e=>s.value="")},null,512),[[e.vShow,s.value]])]),e.createElementVNode("view",{class:"blue-button",style:{width:"200rpx",height:"70rpx","margin-top":"40rpx"},onClick:u}," 确定 ")])],4),[[e.vShow,o.value]])]),i.value.nuName?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("image",{key:0,class:"big-bgc",src:"/static/kuai.png"})),i.value.nuName?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:1,class:"big-img",onClick:r},[e.createElementVNode("image",{style:{width:"100%",height:"100%"},src:"/static/sao.png"}),e.createElementVNode("view",{class:"big-font"}," 点击扫描区域二维码 ")])),i.value.nuName?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("image",{key:2,class:"big-QR",src:"/static/qr.png",onClick:r})),e.createElementVNode("view",{class:"index-content-down"}," 长春市朝阳区久泰开运养老服务有限公司 ")],64))}}),[["__scopeId","data-v-df5aa5ee"]]),K=s(e.defineComponent({__name:"leida",setup(t){const a=()=>{uni.navigateBack()},i=e.ref(!0),r=e.ref(0),n=e.ref(100),o=e.ref(-1),c=e.ref(""),s=e.ref(),d=e.ref(!1),u=e.ref([{url:"/static/index/leida/00.png",targetUrl:"/static/index/leida/01.png",target:!1},{url:"/static/index/leida/10.png",targetUrl:"/static/index/leida/11.png",target:!1},{url:"/static/index/leida/20.png",targetUrl:"/static/index/leida/21.png",target:!1},{url:"/static/index/leida/30.png",targetUrl:"/static/index/leida/31.png",target:!1}]),m=e.ref([]),v=e.ref([]),p=e.ref(0);let g=null;function w(e){return"function"==typeof globalThis.requestAnimationFrame?globalThis.requestAnimationFrame(e):setTimeout((()=>e(Date.now())),16)}function h(e){var t;return"number"==typeof e?e:(null==(t=globalThis.performance)?void 0:t.now)?globalThis.performance.now():Date.now()}let y=null;function N(e){const t=h(e);y||(y=t);const l=(t-y)/1e3;y=t,i.value&&(r.value=(r.value+n.value*l)%360),g=w(N)}function f(){100===C.value&&(B(),E())}function E(){i.value=!i.value,i.value?(y=h(),S()):T()}const V=e.computed((()=>({transform:`rotate(${r.value}deg)`}))),x=e.ref([]);let k=null,b=0;function S(){k||(k=setInterval((()=>{!function(){const e=1*Math.random()+5,t=Math.random()*(200-e),l=Math.random()*(200-e),a=b++,i={id:a,size:e,left:t,top:l,color:"#02a9ff",opacity:0};x.value.push(i),setTimeout((()=>{i.opacity=1}),20),setTimeout((()=>{i.opacity=0,setTimeout((()=>{x.value=x.value.filter((e=>e.id!==a))}),500)}),2e3)}()}),500))}function T(){clearInterval(k),k=null}const C=e.ref(0);function B(){let e=Date.now(),t=Math.floor(30*Math.random())+30,a=!1,i=Math.floor(500*Math.random())+300,r=0;X().then((e=>{e.result.records.forEach((e=>{e.menu=JSON.parse(JSON.stringify(u.value)),e.isNew=!0})),v.value=[],l("log","at pages/watch/settings/leida.vue:318","!!!",e.result.records),v.value.push(...e.result.records),function(){const e=v.value.length;m.value=[];const t=Array.from({length:e},(()=>Math.random())),l=t.reduce(((e,t)=>e+t),0),a=t.map((e=>e/l*4e3));let i=0;for(let r=0;r<e;r++)i+=a[r],setTimeout((async()=>{m.value.push(v.value[r]),m.value.length}),i)}()})),setTimeout((function l(){let n=Date.now()-e;if(!a&&C.value>=t&&(a=!0,r=Date.now()),a){if(!(Date.now()-r>=i))return void setTimeout(l,16);a=!1}let o=Math.min(n/4e3,1);C.value=Math.floor(100*o),100===C.value&&E(),C.value<100&&setTimeout(l,16)}),16)}e.onMounted((()=>{D()}));const D=()=>{y=h(),g=w(N),S(),B()},z=e.ref(-1),I=e.ref(-1);return e.onBeforeUnmount((()=>{var e;null!=g&&(e=g,"function"==typeof globalThis.cancelAnimationFrame?globalThis.cancelAnimationFrame(e):clearTimeout(e)),T()})),(t,i)=>(e.openBlock(),e.createElementBlock("view",{class:"index-content-other"},[e.createElementVNode("view",{class:"index-content-right",onClick:a},[e.createElementVNode("image",{class:"back-img",src:"/static/index/settings/back.png"},null,8,["src"]),e.createTextVNode(" 返回 ")]),e.createElementVNode("view",{class:"left-contain"},[e.createElementVNode("view",{class:"blue-bgc"},[e.createElementVNode("image",{class:"all-img",src:"/static/index/leida/leftbgc.png"}),e.createElementVNode("image",{class:"all-img",style:{width:"90%",height:"90%","margin-top":"5%","margin-left":"5%"},src:"/static/index/leida/bigball.png"}),e.createElementVNode("view",{class:"inset-img",style:e.normalizeStyle(V.value)},[e.createElementVNode("image",{class:"all-img",style:{"z-index":"2"},src:"/static/index/leida/biao.png"}),e.createElementVNode("image",{class:"all-img",style:{"z-index":"1"},src:"/static/index/leida/ball.png"}),e.createElementVNode("image",{class:"all-img",src:"/static/index/leida/shallow.png"})],4),e.createElementVNode("view",{class:"ball-layer"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.value,(t=>(e.openBlock(),e.createElementBlock("view",{key:t.id,class:"ball",style:e.normalizeStyle({width:t.size+"px",height:t.size+"px",top:t.top+"px",left:t.left+"px",backgroundColor:t.color,opacity:t.opacity})},null,4)))),128))])]),e.createElementVNode("view",{style:{width:"100%",display:"flex","flex-direction":"column","align-items":"center"}},[e.createElementVNode("view",{class:e.normalizeClass(["blue-button",-1==z.value?"zerotarget":""]),style:{"margin-top":"0"},onClick:f},e.toDisplayString((C.value,"扫描")),3),e.createElementVNode("view",{class:"progress-wrap"},[e.createElementVNode("view",{class:"progress-inner",style:e.normalizeStyle({width:C.value+"%"})},null,4)]),e.createElementVNode("view",{class:"progress-text"},e.toDisplayString(C.value)+"%",1)])]),e.createElementVNode("view",{class:"other"},[e.createElementVNode("scroll-view",{ref:"scrollViewRef","scroll-y":"",class:"other-father","scroll-top":p.value},[e.createElementVNode("view",{class:"card-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["card",[z.value===l&&-1===I.value?"zerotarget":"",{"fade-in":t.isNew}]]),key:l,onAnimationend:e=>{t.isNew=!1}},[e.createElementVNode("view",{class:"main-title"},[e.createElementVNode("view",{class:"main-title-font",style:{"font-weight":"600","font-size":"40rpx"}},e.toDisplayString(t.nuName),1),e.createElementVNode("view",{class:e.normalizeClass(["video-father",z.value===l&&0===I.value?"zerotarget":""])},[e.createElementVNode("image",{class:"edit-img",onClick:i[0]||(i[0]=()=>{}),src:R})],2)]),e.createElementVNode("view",{class:e.normalizeClass(["blue-button",z.value===l&&1===I.value?"zerotarget":""]),style:{width:"200rpx",height:"70rpx","margin-top":"50rpx"},onClick:e=>{return a=l,i=t,o.value=a,c.value=i.nuName,s.value=i.nuId,d.value=!1,void setTimeout((()=>{d.value=!0}),50);var a,i}}," 重命名 ",10,["onClick"]),e.createElementVNode("view",{class:"card-tags"},[e.createElementVNode("view",{style:{"margin-left":"80rpx"}}," NUID:"+e.toDisplayString(t.nuId),1)]),e.createElementVNode("view",{class:"play-img"}," 护理单元 ")],42,["onAnimationend"])))),128)),-1!==o.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"popup-any",style:e.normalizeStyle(d.value?{opacity:1}:{opacity:0})},[e.createElementVNode("view",{class:"mask",onClick:i[1]||(i[1]=e=>o.value=-1)}),e.createElementVNode("view",{class:"rename-father"},[e.createElementVNode("view",{class:"rename-title"}," 重命名 "),e.createElementVNode("view",{style:{width:"100%","margin-left":"5rpx","margin-bottom":"20rpx"}}," NUID:"+e.toDisplayString(s.value),1),e.createElementVNode("view",{class:"rename-input"},[e.withDirectives(e.createElementVNode("input",{class:"uni-input",placeholder:"请重新命名","onUpdate:modelValue":i[2]||(i[2]=e=>c.value=e)},null,512),[[e.vModelText,c.value]]),e.withDirectives(e.createElementVNode("image",{class:"right-img",src:J,onClick:i[3]||(i[3]=e=>c.value="")},null,512),[[e.vShow,c.value]])]),e.createElementVNode("view",{class:"blue-button",style:{width:"200rpx",height:"70rpx","margin-top":"40rpx"},onClick:i[4]||(i[4]=e=>((e,t)=>{if(l("log","at pages/watch/settings/leida.vue:196","jiance",e,s.value),e){let t={id:m.value[o.value].id,nuName:e};Z(t).then((e=>{e.success&&X().then((e=>{e.result.records.forEach((e=>{e.menu=JSON.parse(JSON.stringify(u.value)),e.isNew=!0})),m.value=[],m.value.push(...e.result.records)}))}))}o.value=-1})(c.value,o.value))}," 确定 ")])],4)):e.createCommentVNode("",!0)])],8,["scroll-top"])]),e.createElementVNode("view",{class:"index-content-down"}," 长春市朝阳区久泰开运养老服务有限公司 ")]))}}),[["__scopeId","data-v-ad7990c3"]]),ee=s(e.defineComponent({__name:"Warehouse",setup(t){e.ref(!1),e.ref(!1);const a=e.ref(-1),i=e.ref(0),r=e.ref(null),n=e=>{a.value=e;const t=Date.now();t-i.value<300?(clearTimeout(r.value),0==e&&(o.value="pages/Warehouse/paymoney",uni.navigateTo({url:"/"+o.value})),1==e&&(o.value="pages/procurement/material",uni.navigateTo({url:"/"+o.value})),2==e&&(o.value="pages/Warehouse/picking",uni.navigateTo({url:"/"+o.value})),3==e&&(o.value="pages/Warehouse/finish",uni.navigateTo({url:"/"+o.value})),5===e&&uni.navigateTo({url:"/pages/watch/full"}),6==e&&(o.value="pages/procurement/outbound?code=0",uni.navigateTo({url:"/"+o.value})),7==e&&(o.value="pages/procurement/outbound?code=1",uni.navigateTo({url:"/"+o.value})),i.value=0):(r.value=setTimeout((()=>{5===e&&uni.navigateTo({url:"/pages/watch/full"})}),300),i.value=t)};e.onMounted((()=>{a.value=1}));const o=e.ref("");function c(e,t,l,a="png",i=0,r=!1){return Array.from({length:l},((l,n)=>{const o=r?String(n+i).padStart(2,"0"):n+i;return`${e}/${t}${o}.${a}`}))}e.ref(-1);const s=e.ref([{url:c("/static/index/warehouse/animation","remit0",5,"png",1,!1),width:"29vw",height:"21vw"},{url:c("/static/index/warehouse/animation","buy0",5,"png",1,!1),width:"26vw",height:"16vw"},{url:c("/static/index/warehouse/animation","Pick0",4,"png",1,!1),width:"17vw",height:"13vw"},{url:c("/static/index/warehouse/animation","checkout0",5,"png",1,!1),width:"24vw",height:"16vw"}]);return(t,i)=>{const r=e.resolveComponent("donghua");return e.openBlock(),e.createElementBlock("view",{class:"all-content"},[e.createElementVNode("view",{class:"content-title"},[e.createElementVNode("image",{class:"title-imge",src:"/static/index/indeximage.png",mode:"aspectFill"}),e.createElementVNode("view",{class:"title-font"},e.toDisplayString(uni.getStorageSync("nuName")),1)]),e.createElementVNode("view",{class:"wareaitem"},[e.createElementVNode("view",{class:"wareaitem-item"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["tp","itemact"+(l+1)]),key:l,onClick:e.withModifiers((e=>n(l)),["stop"])},[e.createVNode(r,{width:t.width,height:t.height,links:t.url,playing:l==a.value},null,8,["width","height","links","playing"])],10,["onClick"])))),128)),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(12,((t,l)=>e.createElementVNode("view",{class:e.normalizeClass(["tp","wareitem"+l]),key:l},[e.createElementVNode("image",{src:"/static/index/warehouse/w"+l+".png",mode:"aspectFill"},null,8,["src"])],2))),64)),e.createElementVNode("view",{class:"tp ys"},[e.createElementVNode("image",{src:"/static/index/warehouse/i7.png",mode:"aspectFill"},null,8,["src"])]),e.createElementVNode("view",{class:"tp gifs"},[e.createElementVNode("image",{src:"/static/index/warehouse/ys.gif",mode:"aspectFill"})]),e.createElementVNode("view",{class:"tp wclik",onClick:i[0]||(i[0]=e.withModifiers((e=>n(1)),["stop"]))})]),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(["库存盘点","采购","拣货","完结","护理单元","监控室","请领出库","退货入库"],((t,l)=>e.createElementVNode("view",{class:e.normalizeClass(["annotation","annotation"+(l+1)]),key:l,onClick:e.withModifiers((e=>n(l)),["stop"])},[e.createElementVNode("view"),e.createElementVNode("view",{class:"tp"},[e.createElementVNode("text",{style:{"font-size":"30rpx"}},e.toDisplayString(t),1),4==l?(e.openBlock(),e.createElementBlock("image",{key:0,src:"/static/index/warehouse/y2.png",mode:"aspectFill"})):e.createCommentVNode("",!0),4!=l?(e.openBlock(),e.createElementBlock("image",{key:1,src:"/static/index/warehouse/y1.png",mode:"aspectFill"})):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"tp"},[e.createElementVNode("image",{src:"/static/index/warehouse/y0.png",mode:"aspectFill"})])],10,["onClick"]))),64)),e.createElementVNode("view",{onClick:i[1]||(i[1]=e=>(e=>{if(l("log","at pages/Warehouse/Warehouse.vue:137","点击了哪个图标",e),e>5)return o.value="pages/Warehouse/finish",void uni.navigateTo({url:"/"+o.value});e<4&&(a.value=e),5===e&&uni.navigateTo({url:"/pages/watch/full"})})(5)),class:"zhanwei"})])])}}}),[["__scopeId","data-v-dba295ad"]]),te="/static/index/newindex/wendu/0.png",le="/static/index/newindex/wendu/1.png",ae=s(e.defineComponent({__name:"index",props:{isShow:{type:Boolean,required:!0},propsmove:{type:Number},isMain:{type:Boolean}},emits:["back","cleanmain"],setup(t,{emit:a}){const i=t,r=e.ref(-1);e.watch((()=>i.isMain),((e,t)=>{"boolean"==typeof t&&i.isShow&&(k.value?k.value=!1:!0===t&&!1===e?(r.value=0,n.value=0,s.value=n.value):!1===t&&!0===e&&(r.value=-1,n.value=-1,s.value=0,l("log","at pages/NursingNew/component/index.vue:185","?????")))}));const n=e.ref(-1),o=a,c=e.ref(0);e.watch((()=>i.propsmove),(()=>{if(-1!=r.value)switch(r.value){case 0:switch(i.propsmove){case 0:r.value=-1,n.value=-1,o("back");break;case 1:n.value<E.value.length-1&&(n.value++,s.value=n.value);break;case 2:c.value=n.value,r.value=1,n.value=0;break;case 3:n.value?(n.value--,s.value=n.value):(r.value=-1,n.value=-1,o("back"));break;case 4:s.value=n.value}break;case 1:switch(i.propsmove){case 0:n.value?n.value--:(r.value=0,n.value=c.value,s.value=c.value);break;case 1:n.value=0,r.value=2;break;case 2:n.value<2?n.value++:(n.value=0,r.value=3);break;case 3:r.value=-1,n.value=-1,o("back")}break;case 2:switch(i.propsmove){case 0:n.value?n.value--:(r.value=0,n.value=c.value,s.value=c.value);break;case 1:n.value=0,r.value=3;break;case 2:n.value<2?n.value++:(n.value=0,r.value=3);break;case 3:n.value=0,r.value=1}break;case 3:switch(i.propsmove){case 0:n.value=0,r.value=1;break;case 1:0===n.value?n.value++:(n.value=2,r.value=2);break;case 2:break;case 3:1===n.value?n.value--:(n.value=2,r.value=1)}}}));const s=e.ref(-1),d=e.ref(!1);e.ref();const u=e.ref(0);function m(e){u.value=e.detail.scrollTop}function v(e,t,l,a="png",i=0,r=!1){return Array.from({length:l},((l,n)=>{const o=r?String(n+i).padStart(2,"0"):n+i;return`${e}/${t}${o}.${a}`}))}const p=e.ref([{url:"/static/index/newindex/rightmenu/0.png",name:"重点追踪"},{url:"/static/index/newindex/rightmenu/1.png",name:"转单执行"},{url:"/static/index/newindex/rightmenu/2.png",name:"协助执行"}]),g=e.ref([{url:"/static/index/newindex/states/0.png",name:"狂躁"},{url:"/static/index/newindex/states/1.png",name:"易怒"},{url:"/static/index/newindex/states/2.png",name:"大体重"},{url:"/static/index/newindex/states/3.png",name:"四肢"}]),w=e.ref(v("/static/index/newindex/leftmenu","",3,"png",0,!1));e.ref(v("/static/index/newindex/huli","care",9,"png",0,!1));const h=v("/static/index/newindex/curve","curve_",9,"png",1,!1),y=e.ref([...h,...[...h].reverse()]),N=v("/static/index/newindex/curve","breathe_",9,"png",1,!1),f=e.ref([...N,...[...N].reverse()]),E=e.ref([{url:v("/static/index/newindex/huli","care",8,"png",0,!1),name:"护理类"},{url:v("/static/index/newindex/yiliao","health_",9,"png",1,!1),name:"医疗类"},{url:v("/static/index/newindex/kufang","storeroom_",11,"png",1,!1),name:"库房类"},{url:v("/static/index/newindex/baojie","clean_",12,"png",1,!1),name:"保洁类"},{url:v("/static/index/newindex/xiaoxi","wash_",14,"png",1,!1),name:"消洗类"},{url:v("/static/index/newindex/kangfu","recovery_",6,"png",1,!1),name:"康复类"}]),V=e.ref(!1);e.watch((()=>i.isShow),((e,t)=>{!t&&e?(V.value=!1,setTimeout((()=>{V.value=!0}),50)):V.value=!1}));const x=e.ref("");e.onMounted((()=>{x.value=uni.getStorageSync("realname"),s.value=0,d.value=!0}));const k=e.ref(!1);return(t,l)=>{const a=e.resolveComponent("donghua");return e.openBlock(),e.createElementBlock("view",{class:"index-content-other",style:e.normalizeStyle(V.value?{opacity:"1"}:{opacity:"0"})},[e.createElementVNode("view",{class:"right-container-title-nav"},[e.createElementVNode("text",{style:{"margin-left":"30rpx"}}," NUID:"+e.toDisplayString(uni.getStorageSync("nuId")),1),e.createElementVNode("text",{class:"new-weight"},e.toDisplayString(uni.getStorageSync("nuName")),1),e.createElementVNode("view",{class:"right-icons"},[e.createElementVNode("view",{class:"right-container-tem"},[e.createElementVNode("image",{class:"right-container-tem-img",src:te}),e.createElementVNode("text",{class:"right-container-tem-text"},e.toDisplayString(uni.getStorageSync("NUall").humidDeviceList&&uni.getStorageSync("NUall").humidDeviceList[0]?uni.getStorageSync("NUall").humidDeviceList[0].temperature:"-")+"°C",1),e.createElementVNode("image",{class:"right-container-tem-img",src:le}),e.createElementVNode("text",{class:"right-container-tem-text"},e.toDisplayString(uni.getStorageSync("NUall").humidDeviceList&&uni.getStorageSync("NUall").humidDeviceList[0]?uni.getStorageSync("NUall").humidDeviceList[0].humidity:"-")+"%",1)]),e.createElementVNode("image",{class:"right-icons-img",src:"/static/index/undericons/man.png"},null,8,["src"]),e.createElementVNode("view",null,e.toDisplayString(x.value),1)])]),e.createElementVNode("view",{class:"scroll-vi"},[e.createElementVNode("view",{class:"zhezhao-left"}),e.createElementVNode("view",{class:"zhezhao-right"}),e.createElementVNode("scroll-view",{"scroll-x":"true",style:{width:"100%",height:"100%"}},[e.createElementVNode("view",{style:{display:"flex","align-items":"center"}},[e.createElementVNode("view",{style:{width:"30rpx"}}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:e.normalizeClass([{zerotarget:0===r.value&&n.value===l},"menu"]),style:e.normalizeStyle({backgroundColor:0===r.value&&n.value===l?"#ddf0ff":""}),onClick:e=>{s.value=l,n.value=l,-1==r.value&&(k.value=!0,o("cleanmain")),r.value=0}},[e.createVNode(a,{links:t.url,playing:s.value===l},null,8,["links","playing"]),e.createElementVNode("text",{class:e.normalizeClass(["menu-font",{zoom:s.value===l}]),style:e.normalizeStyle(s.value===l?{color:"#008FF5"}:{})},e.toDisplayString(t.name),7)],14,["onClick"])))),128)),e.createElementVNode("view",{style:{width:"100rpx"}})])])]),e.createElementVNode("view",{class:"photo-father"},[e.createElementVNode("view",{class:"juzhong",style:{"margin-left":"-30rpx"}},[e.createVNode(a,{width:"1300rpx",height:"900rpx",links:y.value,playing:d.value,loop:!0,interval:120},null,8,["links","playing"])]),e.createElementVNode("view",{class:"juzhong",style:{"z-index":"2","margin-top":"80rpx"}},[e.createVNode(a,{width:"800rpx",height:"500rpx",links:f.value,playing:d.value,loop:!0,interval:120},null,8,["links","playing"])]),e.createElementVNode("view",{class:"weight-time"},[e.createTextVNode(" 10:00 - 10:10 "),e.createElementVNode("view",{class:"pao-father"},[e.createElementVNode("image",{class:"pao-img",src:"/static/index/newindex/states/pao.png"},null,8,["src"]),e.createElementVNode("view",{style:{"z-index":"1"}}," 待执行 ")])]),e.createElementVNode("image",{class:"big-img",src:"/static/index/newindex/wendu/2.png"},null,8,["src"]),e.createElementVNode("view",{style:{display:"flex","align-items":"center"}},[e.createElementVNode("view",{class:"server-name"}," 一级压疮防护 ")]),e.createElementVNode("view",{style:{display:"flex","align-items":"center","margin-top":"20rpx"}},[e.createElementVNode("image",{class:"down-img",src:"/static/index/newindex/states/left.png"},null,8,["src"]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"states-father"},[e.createElementVNode("image",{class:"icon-img",src:t.url},null,8,["src"]),e.createElementVNode("view",{style:{"margin-top":"15rpx","margin-left":"10rpx"}},e.toDisplayString(t.name),1)])))),128)),e.createElementVNode("image",{class:"down-img",src:"/static/index/newindex/states/right.png"},null,8,["src"])]),e.createElementVNode("view",{style:{display:"flex","margin-top":"40rpx"}},[e.createElementVNode("view",{class:e.normalizeClass({thirdtarget:3===r.value&&0===n.value}),style:{width:"240rpx",height:"90rpx","margin-right":"40rpx"}},[e.createElementVNode("view",{class:"start-button"}," 开始服务 ")],2),e.createElementVNode("view",{class:e.normalizeClass({thirdtarget:3===r.value&&1===n.value}),style:{width:"240rpx",height:"90rpx"}},[e.createElementVNode("view",{class:"end-button"}," 结束服务 ")],2)])]),e.createElementVNode("view",{class:"left-menu"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,style:{margin:"30rpx 0"},class:e.normalizeClass({firsttarget:1===r.value&&n.value===l})},[e.createElementVNode("view",{class:"left-ball",style:e.normalizeStyle({backgroundColor:1===r.value&&n.value===l?"#ddf0ff":""})},[e.createElementVNode("image",{class:"left-menu-img",src:t},null,8,["src"])],4)],2)))),128))]),e.createElementVNode("view",{class:"right-menu"},[e.createElementVNode("view",{class:"zhezhao-top",onClick:l[0]||(l[0]=e=>u.value-=115)}),e.createElementVNode("view",{class:"zhezhao-bottom",onClick:l[1]||(l[1]=e=>u.value+=115)}),e.createElementVNode("image",{class:"top-img",src:"/static/index/newindex/rightmenu/top.png",onClick:l[2]||(l[2]=e=>u.value>0?u.value-=115:u.value=0)},null,8,["src"]),e.createElementVNode("scroll-view",{"scroll-y":"true",class:"right-scroll","scroll-top":u.value,onScroll:m},[e.createElementVNode("view",{style:{height:"30rpx"}}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass({secondtarget:2===r.value&&n.value===l}),style:{margin:"20rpx auto",width:"110rpx"}},[e.createElementVNode("view",{class:"white-circle",style:e.normalizeStyle({backgroundColor:2===r.value&&n.value===l?"#ddf0ff":""})},[e.createElementVNode("image",{class:"right-menu-img",src:t.url},null,8,["src"]),e.createElementVNode("view",{class:"right-menu-name"},e.toDisplayString(t.name),1)],4)],2)))),256)),e.createElementVNode("view",{style:{height:"30rpx"}})],40,["scroll-top"]),e.createElementVNode("image",{class:"top-img",src:"/static/index/newindex/rightmenu/bottom.png",onClick:l[3]||(l[3]=e=>u.value>55*p.value.length?u.value=55*p.value.length:u.value+=115)},null,8,["src"])])],4)}}}),[["__scopeId","data-v-96814096"]]),ie="/static/nomessage.png",re="/static/index/newindex/leftmenu/biga.png",ne=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/iot/requestLog/list?column=createTime&order=desc&pageNo=${e.pageNo}&pageSize=${e.pageSize}&cid=${e.cid}&type=${e.type}`,method:"get"}),oe=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/iot/humidDevice/logList?column=createTime&order=desc&pageNo=${e.pageNo}&pageSize=${e.pageSize}&optType=read&sn=${e.sn}`,method:"get"}),ce=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/iot/humidDevice/jglist?column=createTime&order=desc&pageNo=${e.pageNo}&pageSize=${e.pageSize}&optType=read&sn=${e.sn}`,method:"get"}),se=s(e.defineComponent({__name:"equipment",props:{isShow:{type:Boolean,required:!0},propsmove:{type:Number},isMain:{type:Boolean}},emits:["back","cleanmain","canback"],setup(t,{emit:a}){const i=t,r=e.ref(-1),n=e.ref(!1),o=q("/static/index/newindex/curve","curve_",9,"png",1,!1),c=e.ref([...o,...[...o].reverse()]),s=e.ref([{url:"/static/index/newindex/leftmenu/up.png"},{url:"/static/index/newindex/leftmenu/down.png"}]),d=e.ref([{name:"抄表",type:"3",url:"/static/index/newindex/leftmenu/read1.png",targeturl:"/static/index/newindex/leftmenu/read8.png"},{name:"清零",type:"9",url:"/static/index/newindex/leftmenu/bezero.png",targeturl:"/static/index/newindex/leftmenu/bezerotarget.png"},{name:"电表拉闸",type:"10",url:"/static/index/newindex/rightmenu/closes0.png",targeturl:"/static/index/newindex/rightmenu/closes11.png"},{name:"电表合闸",type:"11",url:"/static/index/newindex/rightmenu/switch0.png",targeturl:"/static/index/newindex/rightmenu/switch6.png"}]),u=e.ref([{name:"抄表",type:"42",url:"/static/index/newindex/leftmenu/read1.png",targeturl:"/static/index/newindex/leftmenu/read8.png"},{name:"清零",type:"49",url:"/static/index/newindex/leftmenu/bezero.png",targeturl:"/static/index/newindex/leftmenu/bezerotarget.png"},{name:"开阀",type:"43",url:"/static/index/newindex/rightmenu/closes0.png",targeturl:"/static/index/newindex/rightmenu/closes11.png"},{name:"关阀",type:"53",url:"/static/index/newindex/rightmenu/switch0.png",targeturl:"/static/index/newindex/rightmenu/switch6.png"}]),m=e.ref([{name:"抄表",type:"0",url:"/static/index/newindex/leftmenu/read1.png",targeturl:"/static/index/newindex/leftmenu/read8.png"},{name:"告警",type:"1",url:"/static/index/newindex/rightmenu/service0.png",targeturl:"/static/index/newindex/rightmenu/service4.png"}]),v=e.ref(0);e.watch((()=>i.isMain),((e,t)=>{"boolean"==typeof t&&i.isShow&&(Ce.value?Ce.value=!1:!0===t&&!1===e?(r.value=0,g.value=0,f.value=g.value,xe()):!1===t&&!0===e&&(r.value=-1,g.value=-1,f.value=0,xe()))}));const g=e.ref(-1),w=a,h=e.ref(0),y=new Map;e.onBeforeUnmount((()=>{for(const e of y.values())clearTimeout(e);y.clear()})),e.watch((()=>i.propsmove),(()=>{if(-1!=r.value){if(T.value){switch(i.propsmove){case 0:case 2:break;case 1:3==N.value?z.value<4&&z.value++:z.value<6&&z.value++;break;case 3:z.value&&z.value--;break;case 4:1==N.value?z.value<4?F(d.value[z.value].type,z.value):_(z.value-d.value.length):2==N.value?z.value<4?F(u.value[z.value].type,z.value):_(z.value-u.value.length):3==N.value&&(z.value<2?F(m.value[z.value].type,z.value):_(z.value-m.value.length));break;case 5:j()}return}if(V.value||x.value||b.value||k.value||S.value){switch(i.propsmove){case 0:case 2:break;case 1:case 3:n.value=!n.value;break;case 4:n.value?(V.value&&U(),x.value&&$("10"),b.value&&L(),k.value&&$("11"),S.value&&M()):j();break;case 5:j()}return}switch(r.value){case 0:switch(i.propsmove){case 0:r.value=-1,g.value=-1,w("back");break;case 1:g.value<be.value.length-1&&(g.value++,f.value=g.value,v.value=130*g.value,xe());break;case 2:N.value?(h.value=g.value,r.value=1,g.value=0):(h.value=g.value,r.value=2,g.value=0);break;case 3:g.value?(g.value--,f.value=g.value,v.value=130*g.value,xe()):(r.value=-1,g.value=-1,w("back"));break;case 4:f.value=g.value}break;case 1:switch(i.propsmove){case 0:g.value?g.value--:(r.value=0,g.value=h.value,f.value=h.value);break;case 1:g.value=0,r.value=2;break;case 2:3!=N.value?g.value<2&&g.value++:g.value<1&&g.value++;break;case 3:break;case 4:3!=N.value?g.value?1==g.value?(S.value=!0,w("canback",!0)):(D(),w("canback",!0)):(V.value=!0,w("canback",!0)):g.value?1==g.value&&(D(),w("canback",!0)):(S.value=!0,w("canback",!0))}break;case 2:switch(i.propsmove){case 0:g.value?g.value--:(r.value=0,g.value=h.value,f.value=h.value);break;case 1:break;case 2:3!=N.value&&g.value<1&&g.value++;break;case 3:N.value&&(g.value=0,r.value=1);break;case 4:if(3!=N.value){if(!N.value&&!g.value)return void uni.navigateTo({url:"/pages/watch/full"});g.value?(b.value=!0,w("canback",!0)):"1"===fe.value.relayState?(x.value=!0,w("canback",!0)):(k.value=!0,w("canback",!0))}else b.value=!0,w("canback",!0)}}}}));const N=e.ref(-1),f=e.ref(-1),E=e.ref(!1);e.ref(),e.ref(0);const V=e.ref(!1),x=e.ref(!1),k=e.ref(!1),b=e.ref(!1),S=e.ref(!1),T=e.ref(!1),C=e.ref({pageNo:1,pageSize:8,cid:0,type:"",sn:""}),B=e.ref([]),D=()=>{C.value.pageNo=1,B.value=[],z.value=0,I.value=0,1==N.value&&(C.value.cid=fe.value.cid,C.value.type=d.value[0].type,ne(C.value).then((e=>{200==e.code&&(B.value=e.result.records,T.value=!0)}))),2==N.value&&(C.value.cid=Ee.value.cid,C.value.type=u.value[0].type,ne(C.value).then((e=>{200==e.code&&(B.value=e.result.records,T.value=!0)}))),3==N.value&&(C.value.sn=Ve.value.sn,C.value.type="0",I.value=3,oe(C.value).then((e=>{200==e.code&&(B.value=e.result.records,T.value=!0)})))},z=e.ref(0),I=e.ref(0),F=(e,t)=>{if(C.value.type!=e){if(3==N.value)return z.value=t,C.value.pageNo=1,B.value=[],C.value.type=e,void("0"==e?oe(C.value).then((e=>{200==e.code&&(B.value=e.result.records)})):ce(C.value).then((e=>{200==e.code&&(B.value=e.result.records,l("log","at pages/NursingNew/component/equipment.vue:1090","aaaa",B.value))})));I.value=t>1?1:0,z.value=t,C.value.pageNo=1,B.value=[],C.value.type=e,ne(C.value).then((e=>{200==e.code&&(B.value=e.result.records)}))}},_=e=>{if(3==N.value)return z.value=e+2,void(e?8==B.value.length&&(C.value.pageNo++,"0"==C.value.type?oe(C.value).then((e=>{200==e.code&&(B.value=e.result.records)})):ce(C.value).then((e=>{200==e.code&&(B.value=e.result.records,l("log","at pages/NursingNew/component/equipment.vue:1131","aaaa",B.value))}))):C.value.pageNo>1&&(C.value.pageNo--,B.value=[],"0"==C.value.type?oe(C.value).then((e=>{200==e.code&&(B.value=e.result.records)})):ce(C.value).then((e=>{200==e.code&&(B.value=e.result.records)}))));z.value=e+d.value.length,e?8==B.value.length&&(C.value.pageNo++,ne(C.value).then((e=>{200==e.code&&(B.value=e.result.records)}))):C.value.pageNo>1&&(C.value.pageNo--,B.value=[],ne(C.value).then((e=>{200==e.code&&(B.value=e.result.records)})))},U=()=>{var e,t;j(),1==N.value?(e=fe.value.cid,t=fe.value.address,p({url:`${uni.getStorageSync("serverUrl")}/api/iot/electricityMeter/eleReset?cid=${e}&address=${t}`,method:"get"})).then((e=>{uni.showToast({title:e.message,icon:"none",duration:1500,mask:!1}),setTimeout((()=>{Te()}),4e3)})):2==N.value&&((e,t)=>p({url:`${uni.getStorageSync("serverUrl")}/api/iot/water/waterReset?cid=${e}&address=${t}`,method:"get"}))(Ee.value.cid,Ee.value.address).then((e=>{uni.showToast({title:e.message,icon:"none",duration:1500,mask:!1}),setTimeout((()=>{Te()}),4e3)}))},$=e=>{j(),1==N.value?((e,t,l)=>p({url:`${uni.getStorageSync("serverUrl")}/api/iot/electricityMeter/eleControl?cid=${e}&address=${t}&type=${l}`,method:"get"}))(fe.value.cid,fe.value.address,e).then((e=>{uni.showToast({title:e.message,icon:"none",duration:1500,mask:!1}),setTimeout((()=>{Te()}),4e3)})):2==N.value&&(e="10"==e?"43":"53",((e,t,l)=>p({url:`${uni.getStorageSync("serverUrl")}/api/iot/water/waterControl?cid=${e}&address=${t}&type=${l}`,method:"get"}))(Ee.value.cid,Ee.value.address,e).then((e=>{uni.showToast({title:e.message,icon:"none",duration:1500,mask:!1}),setTimeout((()=>{Te()}),4e3)})))},M=()=>{var e,t,l;j(),1==N.value?(t=fe.value.cid,l=fe.value.address,p({url:`${uni.getStorageSync("serverUrl")}/api/iot/electricityMeter/eleRead?cid=${t}&address=${l}`,method:"get"})).then((e=>{uni.showToast({title:e.message,icon:"none",duration:1500,mask:!1}),setTimeout((()=>{Te()}),4e3)})):2==N.value?((e,t)=>p({url:`${uni.getStorageSync("serverUrl")}/api/iot/water/waterRead?cid=${e}&address=${t}`,method:"get"}))(Ee.value.cid,Ee.value.address).then((e=>{uni.showToast({title:e.message,icon:"none",duration:1500,mask:!1}),setTimeout((()=>{Te()}),4e3)})):3==N.value&&(e=Ve.value.sn,p({url:`${uni.getStorageSync("serverUrl")}/api/iot/humidDevice/updateDeviceRealTime?sn=${e}`,method:"get"})).then((e=>{uni.showToast({title:e.message,icon:"none",duration:1500,mask:!1}),setTimeout((()=>{Te()}),4e3)}))},L=()=>{var e;j(),1==N.value?(e=fe.value.id,p({url:`${uni.getStorageSync("serverUrl")}/api/iot/electricityMeter/baoxiu`,method:"post",data:{id:e}})).then((e=>{uni.showToast({title:e.message,icon:"none",duration:1500,mask:!1}),l("log","at pages/NursingNew/component/equipment.vue:1302","!1",e),setTimeout((()=>{Te()}),4e3)})):2==N.value?(e=>p({url:`${uni.getStorageSync("serverUrl")}/api/iot/water/baoxiu`,method:"post",data:{id:e}}))(Ee.value.id).then((e=>{uni.showToast({title:e.message,icon:"none",duration:1500,mask:!1}),l("log","at pages/NursingNew/component/equipment.vue:1316","!1",e),setTimeout((()=>{Te()}),4e3)})):3==N.value?(e=>p({url:`${uni.getStorageSync("serverUrl")}/api/iot/humidDevice/baoxiu`,method:"post",data:{id:e}}))(Ve.value.id).then((e=>{uni.showToast({title:e.message,icon:"none",duration:1500,mask:!1}),setTimeout((()=>{Te()}),4e3)})):0==N.value&&(e=>p({url:`${uni.getStorageSync("serverUrl")}/api/iot/tplink/cameraInfo/baoxiu`,method:"post",data:{id:e}}))(Ve.value.id).then((e=>{uni.showToast({title:e.message,icon:"none",duration:1500,mask:!1}),setTimeout((()=>{Te()}),4e3)}))},j=()=>{V.value=!1,x.value=!1,b.value=!1,k.value=!1,S.value=!1,T.value=!1,n.value=!1,w("canback",!1)},A=e=>{g.value=e,Be(),r.value=1,3!=N.value?1!==r.value||e?1==e?(S.value=!0,w("canback",!0)):2==e&&(D(),w("canback",!0)):(V.value=!0,w("canback",!0)):e?1==e&&(D(),w("canback",!0)):(S.value=!0,w("canback",!0))},P=e=>{N.value||e?(g.value=e,Be(),r.value=2,3!=N.value?e?(b.value=!0,w("canback",!0)):"1"===fe.value.relayState?(x.value=!0,w("canback",!0)):(k.value=!0,w("canback",!0)):(b.value=!0,w("canback",!0))):uni.navigateTo({url:"/pages/watch/full"})};function q(e,t,l,a="png",i=0,r=!1){return Array.from({length:l},((l,n)=>{const o=r?String(n+i).padStart(2,"0"):n+i;return`${e}/${t}${o}.${a}`}))}const O=e.ref([q("/static/index/newindex/leftmenu","zero",11,"png",0,!1),q("/static/index/newindex/leftmenu","read",8,"png",1,!1),q("/static/index/newindex/leftmenu","Log",10,"png",0,!1)]),W=e.ref([q("/static/index/newindex/leftmenu","read",8,"png",1,!1),q("/static/index/newindex/leftmenu","Log",10,"png",0,!1)]),Y=e.ref([q("/static/index/newindex/rightmenu","service",5,"png",0,!1)]),R=e.ref([]),J=e.ref([]),X=e.ref([q("/static/index/newindex/rightmenu","closes",12,"png",0,!1),q("/static/index/newindex/rightmenu","switch",7,"png",0,!1),q("/static/index/newindex/rightmenu","service",5,"png",0,!1)]),Q=e.ref(["清零","抄表","日志","拉闸","合闸","报修"]),Z=e.ref(["预览","报修"]),H=e.ref(["清零","抄表","日志","开阀","关阀","报修"]),G=e.ref(["抄表","日志","报修"]),K=e.ref([{url:q("/static/index/newindex/shebei","Camera",9,"png",0,!1),name:"摄像头"},{url:q("/static/index/newindex/shebei","cable",10,"png",0,!1),name:"智能电表"},{url:q("/static/index/newindex/shebei","river",13,"png",0,!1),name:"智能水表"},{url:q("/static/index/newindex/shebei","humiture",9,"png",0,!1),name:"温湿度计"}]),ee=e.ref(!1);function ae(e){const t=String(e);if(!t.includes("."))return{intPart:t,fracDigits:""};const[l,a]=t.split(".");return{intPart:l,fracDigits:a}}e.watch((()=>i.isShow),((e,t)=>{!t&&e?(ee.value=!1,setTimeout((()=>{ee.value=!0}),50)):ee.value=!1}));const se=e.ref(""),de=e.ref(0);let ue=0,me=0,ve=0,pe=300,ge=!1;function we(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()}function he(e){ge=!1,ue=de.value,me=e,ve=we(),pe=300,ge=!0,Ne(ye)}function ye(){if(!ge)return;let e=(we()-ve)/pe;e>1&&(e=1);const t=1-Math.pow(1-e,3);de.value=Number((ue+(me-ue)*t).toFixed(2)),e<1?Ne(ye):ge=!1}function Ne(e){"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e,16)}const fe=e.ref({eleValue:"",address:"",readTime:"",relayState:"0",cid:0,id:0}),Ee=e.ref({waterValue:"",address:"",readTime:"",relayState:"0",cid:0,id:0}),Ve=e.ref({temperature:"",humidity:"",maintainStatus:"",sn:"",reportingTime:"",id:0});e.onMounted((()=>{se.value=uni.getStorageSync("realname"),N.value=0,E.value=!0,Te(),Se()}));const xe=()=>{if(uni.$emit("smallmonitor:isshow",!1),N.value=be.value[f.value].typeNumber,1===N.value){fe.value=be.value[f.value];const e=fe.value.eleValue;"1"===fe.value.relayState?R.value=[X.value[1],X.value[2]]:R.value=[X.value[0],X.value[2]],he(Number(e))}else if(2===N.value){Ee.value=be.value[f.value];const e=Ee.value.waterValue;"1"===Ee.value.relayState?J.value=[X.value[1],X.value[2]]:J.value=[X.value[0],X.value[2]],he(Number(e))}else if(3===N.value){Ve.value=be.value[f.value];const e=Ve.value.temperature;he(Number(e))}else N.value||(ke.value=be.value[f.value],R.value=[X.value[0],X.value[2]])},ke=e.ref({deviceName:"",deviceStatus:"1",nuId:"",nuName:"",sn:"",reportingTime:"",id:0}),be=e.ref([]),Se=()=>{setTimeout((()=>{f.value=0,xe()}),500)},Te=()=>{be.value=[],p({url:`${uni.getStorageSync("serverUrl")}/api/iot/common/list?nuId=${uni.getStorageSync("nuId")}`,method:"get"}).then((e=>{e.result.cameraInfoEntityList.length&&null!=e.result.cameraInfoEntityList&&e.result.cameraInfoEntityList.forEach(((e,t)=>{e.typeNumber=0,e.lookName="摄像头"+(t+1),e.donghuapian=K.value[0].url,be.value.push(e)})),e.result.electricityMeterEntityList.length&&null!=e.result.electricityMeterEntityList&&e.result.electricityMeterEntityList.forEach(((e,t)=>{e.typeNumber=1,e.lookName="电表"+(t+1),e.donghuapian=K.value[1].url,be.value.push(e)})),e.result.waterMeterEntityList.length&&null!=e.result.waterMeterEntityList&&e.result.waterMeterEntityList.forEach(((e,t)=>{e.typeNumber=2,e.lookName="水表"+(t+1),e.donghuapian=K.value[2].url,be.value.push(e)})),e.result.humidDeviceEntityList.length&&null!=e.result.humidDeviceEntityList&&e.result.humidDeviceEntityList.forEach(((e,t)=>{e.typeNumber=3,e.lookName="温度计"+(t+1),e.donghuapian=K.value[3].url,be.value.push(e)}));let t=f.value;f.value=-1,setTimeout((()=>{f.value=t}),500)}))},Ce=e.ref(!1),Be=()=>{-1==r.value&&(Ce.value=!0,w("cleanmain"))};return(t,l)=>{const a=e.resolveComponent("donghua");return e.openBlock(),e.createElementBlock("view",{class:"index-content-other",style:e.normalizeStyle(ee.value?{opacity:"1"}:{opacity:"0"})},[e.withDirectives(e.createElementVNode("view",{class:"zhezhao",onClick:l[16]||(l[16]=e=>j())},[T.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"rizhi-box",onClick:l[0]||(l[0]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"rizhi-title"},[1==N.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"rizhi-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["rizhi-card",{buttontarget:z.value===l}]),style:e.normalizeStyle(t.type==C.value.type?{color:"#008FF5"}:{}),key:l,onClick:e=>F(t.type,l)},[e.createElementVNode("image",{class:"rizhi-card-img",src:t.type==C.value.type?t.targeturl:t.url},null,8,["src"]),e.createElementVNode("view",{class:"rizhi-card-font"},e.toDisplayString(t.name),1)],14,["onClick"])))),128))])):e.createCommentVNode("",!0),2==N.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"rizhi-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["rizhi-card",{buttontarget:z.value===l}]),style:e.normalizeStyle(t.type==C.value.type?{color:"#008FF5"}:{}),key:l,onClick:e=>F(t.type,l)},[e.createElementVNode("image",{class:"rizhi-card-img",src:t.type==C.value.type?t.targeturl:t.url},null,8,["src"]),e.createElementVNode("view",{class:"rizhi-card-font"},e.toDisplayString(t.name),1)],14,["onClick"])))),128))])):e.createCommentVNode("",!0),3==N.value?(e.openBlock(),e.createElementBlock("view",{key:2,class:"rizhi-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["rizhi-card",{buttontarget:z.value===l}]),style:e.normalizeStyle(t.type==C.value.type?{color:"#008FF5"}:{}),key:l,onClick:e=>F(t.type,l)},[e.createElementVNode("image",{class:"rizhi-card-img",src:t.type==C.value.type?t.targeturl:t.url},null,8,["src"]),e.createElementVNode("view",{class:"rizhi-card-font"},e.toDisplayString(t.name),1)],14,["onClick"])))),128))])):e.createCommentVNode("",!0),3!=N.value?(e.openBlock(),e.createElementBlock("view",{key:3,class:"rizhi-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["rizhi-card-right",{buttontarget:z.value===l+d.value.length}]),key:l,onClick:e=>_(l)},[e.createElementVNode("image",{class:"rizhi-card-img",src:t.url},null,8,["src"])],10,["onClick"])))),128))])):(e.openBlock(),e.createElementBlock("view",{key:4,class:"rizhi-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["rizhi-card-right",{buttontarget:z.value===l+2}]),key:l,onClick:e=>_(l)},[e.createElementVNode("image",{class:"rizhi-card-img",src:t.url},null,8,["src"])],10,["onClick"])))),128))]))]),e.withDirectives(e.createElementVNode("view",{class:"rizhi-rule"},[e.createElementVNode("view",{class:"rizhi-rule-title"},[e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"23%"}}," SN "),e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"23%"}}," 操作时间 "),e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"23%"}},e.toDisplayString(1==N.value?"上次电表值":"上次水表值"),1),e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"15%"}},e.toDisplayString(1==N.value?"电表值":"水表值"),1),e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"15%"}}," 状态 ")]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"rizhi-rule-kuai",key:l},[e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"23%"}},e.toDisplayString(t.address),1),e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"23%"}},e.toDisplayString(t.requestTime),1),e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"23%"}},e.toDisplayString(Number(t.requestValue).toFixed(2)),1),e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"15%"}},e.toDisplayString(Number(t.resolveValue).toFixed(2)),1),e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"15%"}},e.toDisplayString(t.resolveStatus),1)])))),128)),B.value.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"nomessage"},[e.createElementVNode("image",{class:"nomessage-img",src:ie}),e.createElementVNode("view",{class:""}," 暂无信息 ")]))],512),[[e.vShow,!I.value]]),e.withDirectives(e.createElementVNode("view",{class:"rizhi-rule"},[e.createElementVNode("view",{class:"rizhi-rule-title"},[e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"33%"}}," SN "),e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"33%"}}," 操作时间 "),e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"33%"}}," 状态 ")]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"rizhi-rule-kuai",key:l},[e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"33%"}},e.toDisplayString(t.address),1),e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"33%"}},e.toDisplayString(t.requestTime),1),e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"33%"}},e.toDisplayString(t.resolveStatus),1)])))),128)),B.value.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"nomessage"},[e.createElementVNode("image",{class:"nomessage-img",src:ie}),e.createElementVNode("view",{class:""}," 暂无信息 ")]))],512),[[e.vShow,1==I.value]]),e.withDirectives(e.createElementVNode("view",{class:"rizhi-rule"},[e.createElementVNode("view",{class:"rizhi-rule-title"},[e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"23%"}}," sn "),e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"23%"}},e.toDisplayString("0"==C.value.type?"抄表时间":"告警时间"),1),e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"15%"}},e.toDisplayString("0"==C.value.type?"温度":"告警内容"),1),e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"15%"}},e.toDisplayString("0"==C.value.type?"湿度":"告警值"),1),e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"23%"}},e.toDisplayString("0"==C.value.type?"状态":"消除告警时间"),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"rizhi-rule-kuai",key:l},[e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"23%"}},e.toDisplayString(t.sn),1),e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"23%"}},e.toDisplayString("0"==C.value.type?t.optTime:t.wrDate),1),e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"15%"}},e.toDisplayString("0"==C.value.type?t.temperature:t.wrContent),1),e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"15%"}},e.toDisplayString("0"==C.value.type?t.humidity:t.wrData),1),e.createElementVNode("view",{class:"rizhi-rule-title-kuai",style:{width:"23%"}},e.toDisplayString("0"==C.value.type?"0"==t.status?"抄表成功":"抄表失败":t.clearDate),1)])))),128)),B.value.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"nomessage"},[e.createElementVNode("image",{class:"nomessage-img",src:ie}),e.createElementVNode("view",{class:""}," 暂无信息 ")]))],512),[[e.vShow,3==I.value]])])):e.createCommentVNode("",!0),V.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"neuro-box",onClick:l[3]||(l[3]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"button-father"},[e.createElementVNode("view",{class:e.normalizeClass(n.value?"button-white":"buttontarget button"),onClick:l[1]||(l[1]=e=>V.value=!1)}," 取消",2),e.createElementVNode("view",{class:e.normalizeClass(n.value?"buttontarget button":"button-white"),onClick:l[2]||(l[2]=e=>U())},"确定",2)]),e.createElementVNode("view",{class:"card-font"}," 确定要清零吗 ")])):e.createCommentVNode("",!0),S.value?(e.openBlock(),e.createElementBlock("view",{key:2,class:"neuro-box-chaobiao",style:e.normalizeStyle({top:3==N.value?"560rpx":"650rpx"}),onClick:l[6]||(l[6]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"button-father"},[e.createElementVNode("view",{class:e.normalizeClass(n.value?"button-white":"buttontarget button"),onClick:l[4]||(l[4]=e=>S.value=!1)}," 取消",2),e.createElementVNode("view",{class:e.normalizeClass(n.value?"buttontarget button":"button-white"),onClick:l[5]||(l[5]=e=>M())},"确定",2)]),e.createElementVNode("view",{class:"card-font"}," 确定要抄表吗 ")],4)):e.createCommentVNode("",!0),x.value?(e.openBlock(),e.createElementBlock("view",{key:3,class:"neuro-box-lazha",onClick:l[9]||(l[9]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"button-father"},[e.createElementVNode("view",{class:e.normalizeClass(n.value?"button-white":"buttontarget button"),onClick:l[7]||(l[7]=e=>x.value=!1)},"取消 ",2),e.createElementVNode("view",{class:e.normalizeClass(n.value?"buttontarget button":"button-white"),onClick:l[8]||(l[8]=e=>$("10"))},"确定",2)]),e.createElementVNode("view",{class:"card-font"}," 确定要"+e.toDisplayString(1===N.value?"拉闸":2===N.value?"开阀":"")+"吗 ",1)])):e.createCommentVNode("",!0),b.value?(e.openBlock(),e.createElementBlock("view",{key:4,class:"neuro-box-baoxiu",style:e.normalizeStyle({top:3==N.value?"560rpx":"650rpx"}),onClick:l[12]||(l[12]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"button-father"},[e.createElementVNode("view",{class:e.normalizeClass(n.value?"button-white":"buttontarget button"),onClick:l[10]||(l[10]=e=>b.value=!1)},"取消 ",2),e.createElementVNode("view",{class:e.normalizeClass(n.value?"buttontarget button":"button-white"),onClick:l[11]||(l[11]=e=>L())},"确定",2)]),e.createElementVNode("view",{class:"card-font"}," 确定要报修吗 ")],4)):e.createCommentVNode("",!0),k.value?(e.openBlock(),e.createElementBlock("view",{key:5,class:"neuro-box-lazha",onClick:l[15]||(l[15]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"button-father"},[e.createElementVNode("view",{class:e.normalizeClass(n.value?"button-white":"buttontarget button"),onClick:l[13]||(l[13]=e=>k.value=!1)},"取消 ",2),e.createElementVNode("view",{class:e.normalizeClass(n.value?"buttontarget button":"button-white"),onClick:l[14]||(l[14]=e=>$("11"))},"确定",2)]),e.createElementVNode("view",{class:"card-font"}," 确定要"+e.toDisplayString(1===N.value?"合闸":2===N.value?"关阀":"")+"吗 ",1)])):e.createCommentVNode("",!0)],512),[[e.vShow,V.value||x.value||b.value||k.value||S.value||T.value]]),e.createElementVNode("view",{class:"right-container-title-nav"},[e.createElementVNode("text",{style:{"margin-left":"30rpx"}}," NUID:"+e.toDisplayString(uni.getStorageSync("nuId")),1),e.createElementVNode("text",{class:"new-weight"},e.toDisplayString(uni.getStorageSync("nuName")),1),e.createElementVNode("view",{class:"right-icons"},[e.createElementVNode("view",{class:"right-container-tem"},[e.createElementVNode("image",{class:"right-container-tem-img",src:te}),e.createElementVNode("text",{class:"right-container-tem-text"},e.toDisplayString(uni.getStorageSync("NUall").humidDeviceList&&uni.getStorageSync("NUall").humidDeviceList[0]?uni.getStorageSync("NUall").humidDeviceList[0].temperature:"-")+"°C",1),e.createElementVNode("image",{class:"right-container-tem-img",src:le}),e.createElementVNode("text",{class:"right-container-tem-text"},e.toDisplayString(uni.getStorageSync("NUall").humidDeviceList&&uni.getStorageSync("NUall").humidDeviceList[0]?uni.getStorageSync("NUall").humidDeviceList[0].humidity:"-")+"%",1)]),e.createElementVNode("image",{class:"right-icons-img",src:"/static/index/undericons/man.png"},null,8,["src"]),e.createElementVNode("view",null,e.toDisplayString(se.value),1)])]),e.createElementVNode("view",{class:"scroll-vi"},[e.createElementVNode("view",{class:"zhezhao-left"}),e.createElementVNode("view",{class:"zhezhao-right"}),e.createElementVNode("scroll-view",{"scroll-x":"true",style:{width:"1800rpx",height:"100%"},"scroll-left":v.value},[e.createElementVNode("view",{style:{display:"flex","align-items":"center"}},[e.createElementVNode("view",{style:{width:"100rpx"}}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(be.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:e.normalizeClass([{zerotarget:0===r.value&&g.value===l},"menu"]),style:e.normalizeStyle({backgroundColor:0===r.value&&g.value===l?"#ddf0ff":""}),onClick:e=>{f.value=l,g.value=l,Be(),r.value=0,xe()}},[e.createVNode(a,{links:t.donghuapian,width:"55rpx",height:"55rpx",playing:f.value===l},null,8,["links","playing"]),e.createElementVNode("text",{class:e.normalizeClass(["menu-font",{zoom:f.value===l}]),style:e.normalizeStyle(f.value===l?{color:"#008FF5"}:{})},e.toDisplayString(t.lookName),7)],14,["onClick"])))),128)),e.createElementVNode("view",{style:{width:"100rpx"}})])],8,["scroll-left"])]),e.withDirectives(e.createElementVNode("view",{class:"index-father"},[e.createElementVNode("view",{class:"photo-father"},[e.createElementVNode("view",{class:"juzhong",style:{"margin-left":"-50rpx"}},[e.createVNode(a,{width:"1500rpx",height:"1000rpx",links:c.value,playing:E.value,loop:!0,interval:120},null,8,["links","playing"])]),e.createElementVNode("view",{class:"weight-time",style:{"font-size":"55rpx"}}," NUID:"+e.toDisplayString(ke.value.nuId?ke.value.nuId:""),1),e.createElementVNode("view",{class:"gray-bgc"},e.toDisplayString(ke.value.nuName?ke.value.nuName:""),1),e.createElementVNode("image",{class:"big-img-shexiang",src:"/static/index/newindex/wendu/6.png"},null,8,["src"]),e.createElementVNode("view",{class:"bottom-father"},[e.createElementVNode("view",{class:"status-button"},e.toDisplayString("1"==ke.value.deviceStatus?"在线":"离线"),1),e.createElementVNode("view",{class:"status-font"}," SN:"+e.toDisplayString(ke.value.sn),1),e.createElementVNode("view",{class:"status-time"}," 设备名称:"+e.toDisplayString(ke.value.deviceName?ke.value.deviceName:""),1)])]),e.createElementVNode("view",{class:"right-menu"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(R.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"buttons-father",onClick:e=>P(l)},[e.createElementVNode("view",{class:e.normalizeClass(["left-ball",{firsttarget:2===r.value&&g.value===l}]),style:e.normalizeStyle({backgroundColor:2===r.value&&g.value===l?"#ddf0ff":""})},[e.withDirectives(e.createElementVNode("image",{style:{width:"50rpx",height:"50rpx"},src:"/static/index/newindex/wendu/yulan.png"},null,512),[[e.vShow,!l]]),e.withDirectives(e.createVNode(a,{width:"50rpx",height:"50rpx",links:t,style:{width:"50rpx",height:"50rpx"},playing:2===r.value&&g.value===l,loop:!1,interval:120},null,8,["links","playing"]),[[e.vShow,l]])],6),e.createElementVNode("view",{style:{position:"relative"}},e.toDisplayString(Z.value[l]),1)],8,["onClick"])))),128))])],512),[[e.vShow,0===N.value]]),e.withDirectives(e.createElementVNode("view",{class:"index-father"},[e.createElementVNode("view",{class:"photo-father"},[e.createElementVNode("view",{class:"juzhong",style:{"margin-left":"-50rpx"}},[e.createVNode(a,{width:"1500rpx",height:"1000rpx",links:c.value,playing:E.value,loop:!0,interval:120},null,8,["links","playing"])]),e.createElementVNode("view",{class:"donghua-number"},e.toDisplayString(de.value),1),e.createElementVNode("view",{class:"weight-time"},[e.createTextVNode(e.toDisplayString(fe.value.eleValue?fe.value.eleValue:"0.00")+" ",1),e.createElementVNode("view",{class:"big-font-right"},[e.createElementVNode("view",{class:"font-top"}," KWH "),e.createElementVNode("view",{class:"right-kuai"}," 用电量 ")])]),e.createElementVNode("image",{class:"big-img",src:"/static/index/newindex/wendu/3.png"},null,8,["src"]),e.createElementVNode("view",{class:"bottom-father"},[e.createElementVNode("view",{class:"status-button"},e.toDisplayString("1"==fe.value.relayState?"合闸":"拉闸"),1),e.createElementVNode("view",{class:"status-font"}," SN:"+e.toDisplayString(fe.value.address),1),e.createElementVNode("view",{class:"status-time"}," 上次抄表时间:"+e.toDisplayString(fe.value.readTime?fe.value.readTime:"未抄表"),1)])]),e.createElementVNode("view",{class:"left-menu"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"buttons-father",onClick:e=>A(l)},[e.createElementVNode("view",{class:e.normalizeClass(["left-ball",{firsttarget:1===r.value&&g.value===l&&!T.value}]),style:e.normalizeStyle({backgroundColor:1!==r.value||g.value!==l||T.value?"":"#ddf0ff"})},[e.createVNode(a,{width:"50rpx",height:"50rpx",links:t,style:{width:"50rpx",height:"50rpx"},playing:1===r.value&&g.value===l,loop:!1,interval:120},null,8,["links","playing"])],6),e.createElementVNode("view",{class:""},e.toDisplayString(Q.value[l]),1)],8,["onClick"])))),128))]),e.createElementVNode("view",{class:"right-menu"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(R.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"buttons-father",onClick:e=>P(l)},[e.createElementVNode("view",{class:e.normalizeClass(["left-ball",{firsttarget:2===r.value&&g.value===l}]),style:e.normalizeStyle({backgroundColor:2===r.value&&g.value===l?"#ddf0ff":""})},[e.createVNode(a,{width:"50rpx",height:"50rpx",links:t,style:{width:"50rpx",height:"50rpx"},playing:2===r.value&&g.value===l,loop:!1,interval:120},null,8,["links","playing"])],6),e.createElementVNode("view",{style:{position:"relative"}},[e.createTextVNode(e.toDisplayString(1==l?Q.value[5]:"1"===fe.value.relayState?Q.value[3]:Q.value[4])+" ",1),l?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("image",{key:0,class:"biga-img",src:re}))])],8,["onClick"])))),128))])],512),[[e.vShow,1===N.value]]),e.withDirectives(e.createElementVNode("view",{class:"index-father"},[e.createElementVNode("view",{class:"photo-father"},[e.createElementVNode("view",{class:"juzhong",style:{"margin-left":"-50rpx"}},[e.createVNode(a,{width:"1500rpx",height:"1000rpx",links:c.value,playing:E.value,loop:!0,interval:120},null,8,["links","playing"])]),e.createElementVNode("view",{class:"water-donghua-number"},e.toDisplayString(de.value),1),e.createElementVNode("view",{class:"weight-time"},[e.createTextVNode(e.toDisplayString(Ee.value.waterValue?Ee.value.waterValue:"0.00")+" ",1),e.createElementVNode("view",{class:"big-font-right"},[e.createElementVNode("view",{class:"font-top"}," m³ "),e.createElementVNode("view",{class:"right-kuai"}," 用水量 ")])]),e.createElementVNode("image",{class:"big-img",src:"/static/index/newindex/wendu/4.png"},null,8,["src"]),e.createElementVNode("view",{class:"bottom-father"},[e.createElementVNode("view",{class:"status-button"},e.toDisplayString("1"==Ee.value.relayState?"关阀":"开阀"),1),e.createElementVNode("view",{class:"status-font"}," SN:"+e.toDisplayString(Ee.value.address),1),e.createElementVNode("view",{class:"status-time"}," 上次抄表时间:"+e.toDisplayString(Ee.value.readTime?Ee.value.readTime:"未抄表"),1)])]),e.createElementVNode("view",{class:"left-menu"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"buttons-father",onClick:e=>A(l)},[e.createElementVNode("view",{class:e.normalizeClass(["left-ball",{firsttarget:1===r.value&&g.value===l&&!T.value}]),style:e.normalizeStyle({backgroundColor:1!==r.value||g.value!==l||T.value?"":"#ddf0ff"})},[e.createVNode(a,{width:"50rpx",height:"50rpx",links:t,style:{width:"50rpx",height:"50rpx"},playing:1===r.value&&g.value===l,loop:!1,interval:120},null,8,["links","playing"])],6),e.createElementVNode("view",{class:""},e.toDisplayString(H.value[l]),1)],8,["onClick"])))),128))]),e.createElementVNode("view",{class:"right-menu"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(R.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"buttons-father",onClick:e=>P(l)},[e.createElementVNode("view",{class:e.normalizeClass(["left-ball",{firsttarget:2===r.value&&g.value===l}]),style:e.normalizeStyle({backgroundColor:2===r.value&&g.value===l?"#ddf0ff":""})},[e.createVNode(a,{width:"50rpx",height:"50rpx",links:t,style:{width:"50rpx",height:"50rpx"},playing:2===r.value&&g.value===l,loop:!1,interval:120},null,8,["links","playing"])],6),e.createElementVNode("view",{style:{position:"relative"}},[e.createTextVNode(e.toDisplayString(1==l?H.value[5]:"1"===Ee.value.relayState?H.value[3]:H.value[4])+" ",1),l?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("image",{key:0,class:"biga-img",src:re}))])],8,["onClick"])))),128))])],512),[[e.vShow,2===N.value]]),e.withDirectives(e.createElementVNode("view",{class:"index-father"},[e.createElementVNode("view",{class:"photo-father"},[e.createElementVNode("view",{class:"juzhong",style:{"margin-left":"-50rpx"}},[e.createVNode(a,{width:"1500rpx",height:"1000rpx",links:c.value,playing:E.value,loop:!0,interval:120},null,8,["links","playing"])]),e.createElementVNode("view",{class:"wendu-juzhong"},[e.createElementVNode("view",{class:"wendu-top"},[e.createElementVNode("view",{class:"wendu-top-left"},e.toDisplayString(de.value?ae(de.value).intPart:"-"),1),e.createElementVNode("view",{class:"wendu-top-right"},[e.createElementVNode("view",{class:""}," ℃ "),e.createElementVNode("view",{class:""}," ."+e.toDisplayString(de.value?ae(de.value).fracDigits:"-"),1)])]),e.createElementVNode("view",{class:"wendu-heng"}),e.createElementVNode("view",{class:"wendu-bottom"},e.toDisplayString(Ve.value.humidity?Ve.value.humidity:"-")+" % ",1)]),e.createElementVNode("view",{class:"weight-time"},[e.createTextVNode(e.toDisplayString(Ve.value.temperature?Ve.value.temperature:"-")+" ",1),e.createElementVNode("view",{class:"big-font-right"},[e.createElementVNode("view",{class:"font-top"}," ℃ "),e.createElementVNode("view",{class:"right-kuai"}," 温度 ")]),e.createElementVNode("view",{class:"zhongjian-shu"}),e.createTextVNode(" "+e.toDisplayString(Ve.value.humidity?Ve.value.humidity:"-")+" ",1),e.createElementVNode("view",{class:"big-font-right"},[e.createElementVNode("view",{class:"font-top"}," % "),e.createElementVNode("view",{class:"right-kuai"}," 湿度 ")])]),e.createElementVNode("image",{class:"big-img",src:"/static/index/newindex/wendu/5.png"},null,8,["src"]),e.createElementVNode("view",{class:"bottom-father"},[e.createElementVNode("view",{class:"status-button"},e.toDisplayString(0==Ve.value.maintainStatus?"正常":1==Ve.value.maintainStatus?"维修中":2==Ve.value.maintainStatus?"报废":""),1),e.createElementVNode("view",{class:"status-font"}," SN:"+e.toDisplayString(Ve.value.sn),1),e.createElementVNode("view",{class:"status-time"}," 上次抄表时间:"+e.toDisplayString(Ve.value.reportingTime?Ve.value.reportingTime:"未抄表"),1)])]),e.createElementVNode("view",{class:"left-menu"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(W.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"buttons-father",onClick:e=>A(l)},[e.createElementVNode("view",{class:e.normalizeClass(["left-ball",{firsttarget:1===r.value&&g.value===l&&!T.value}]),style:e.normalizeStyle({backgroundColor:1!==r.value||g.value!==l||T.value?"":"#ddf0ff"})},[e.createVNode(a,{width:"50rpx",height:"50rpx",links:t,style:{width:"50rpx",height:"50rpx"},playing:1===r.value&&g.value===l,loop:!1,interval:120},null,8,["links","playing"])],6),e.createElementVNode("view",{class:""},e.toDisplayString(G.value[l]),1)],8,["onClick"])))),128))]),e.createElementVNode("view",{class:"right-menu"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Y.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"buttons-father",onClick:e=>P(l)},[e.createElementVNode("view",{class:e.normalizeClass(["left-ball",{firsttarget:2===r.value&&g.value===l}]),style:e.normalizeStyle({backgroundColor:2===r.value&&g.value===l?"#ddf0ff":""})},[e.createVNode(a,{width:"50rpx",height:"50rpx",links:t,style:{width:"50rpx",height:"50rpx"},playing:2===r.value&&g.value===l,loop:!1,interval:120},null,8,["links","playing"])],6),e.createElementVNode("view",{style:{position:"relative"}},[e.createTextVNode(e.toDisplayString(1==l?G.value[1]:G.value[2])+" ",1),l?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("image",{key:0,class:"biga-img",src:re}))])],8,["onClick"])))),128))])],512),[[e.vShow,3===N.value]])],4)}}}),[["__scopeId","data-v-303de6d1"]]),de="/static/index/requestform/isok.png",ue=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryCgdList`,method:"get",data:e}),me=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryCgdInfoList`,method:"get",data:e}),ve=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/voidedCgdMain`,method:"post",data:e}),pe=s(e.defineComponent({__name:"requestform",props:{isShow:{type:Boolean,required:!0}},setup(t){const a=e.ref(!1),i=e.ref(["全部","待出库","已出库","已收货 ","已作废"]),r=Array(10).fill(null),n=t;e.watch((()=>n.isShow),((e,t)=>{!t&&e?(a.value=!1,setTimeout((()=>{a.value=!0}),50)):a.value=!1}));const c=e.ref("");e.onMounted((()=>{c.value=uni.getStorageSync("realname")})),e.ref(!1);const s=e.ref(0),d=["待入库","待完结","已完结"],u=e.ref([]),m=e.ref(0),v=e.ref(0),p=e.reactive({pageNo:1,pageSize:10,canpull:!0,cgdParamInfo:"",suppliers:"",startTime:"",endTime:"",cgBy:""}),g=e.ref(!1),w=e.ref(0),h=e.ref(!0),y=()=>{h.value&&(p.pageNo++,N(),h.value=!1,setTimeout((()=>{h.value=!0}),500))},N=()=>{p.canpull&&ue(p).then((e=>{u.value.push(...e.result.records),m.value=e.result.total,e.result.records.length<p.pageSize&&(p.canpull=!1)}))};return o((()=>{ue(p).then((e=>{l("log","at pages/NursingNew/component/requestform.vue:237","加载",e.result.records),u.value.push(...e.result.records),m.value=e.result.total,e.result.total||(g.value=!0),e.result.records.length<p.pageSize&&(p.canpull=!1)}))})),(t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"index-content-other",style:e.normalizeStyle(a.value?{opacity:"1"}:{opacity:"0"})},[e.createElementVNode("view",{class:"right-container-title-nav"},[e.createElementVNode("text",{style:{"margin-left":"30rpx"}}," NUID:"+e.toDisplayString(uni.getStorageSync("nuId")),1),e.createElementVNode("text",{class:"new-weight"},e.toDisplayString(uni.getStorageSync("nuName")),1),e.createElementVNode("view",{class:"right-icons"},[e.createElementVNode("image",{class:"right-icons-img",src:"/static/index/requestform/touxiang.png"}),e.createElementVNode("view",null,e.toDisplayString(c.value),1),e.createElementVNode("image",{class:"right-icons-img-back",src:"/static/index/requestform/back.png"}),e.createElementVNode("view",null,"返回")])]),e.createElementVNode("view",{class:"buttons-father"},[e.createElementVNode("view",{class:"ipt"},[e.createElementVNode("input",{type:"text",placeholder:"物料名称/物料简拼"})]),e.createElementVNode("view",{class:"scr"}," 检索 "),e.createElementVNode("view",{class:"shx"},[e.createElementVNode("image",{src:"/static/index/requestform/shaixuan.png",mode:"aspectFill"}),e.createElementVNode("view",{class:"shx-font"}," 筛选 ")]),e.createElementVNode("view",{class:"shx"},[e.createElementVNode("image",{src:"/static/index/requestform/chongzhi.png",mode:"aspectFill"}),e.createElementVNode("view",{class:"shx-font"}," 重置 ")])]),e.createElementVNode("view",{class:"other-contain"},[e.createElementVNode("view",{class:"other-contain-left"},[e.createElementVNode("view",{class:"left-selecttype"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(s.value===l?"selecttype-target":"selecttype"),onClick:e=>(e=>{s.value=e})(l)},[e.createTextVNode(e.toDisplayString(t)+" ",1),s.value===l?(e.openBlock(),e.createElementBlock("view",{key:0,class:"heng-blue"})):e.createCommentVNode("",!0)],10,["onClick"])))),256))]),e.createElementVNode("scroll-view",{"scroll-y":"true","scroll-with-animation":"",class:"left-menu-scroll","scroll-top":w.value,onScrolltolower:y,"lower-threshold":400},[e.createElementVNode("view",{style:{height:"1%"}}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,((t,l)=>{var a,i,r;return e.openBlock(),e.createElementBlock("view",{class:"pls-card",key:l,onClick:e=>((e,t)=>{let l=Math.ceil(e+1);w.value=178.5*(l-2),v.value=e})(l),style:e.normalizeStyle({borderColor:l===v.value?"":"transparent",background:l===v.value?"#fff":"rgba(255,255,255,0.6)"})},["Y"==t.izNew?(e.openBlock(),e.createElementBlock("view",{key:0,style:{background:"#ff5757",position:"absolute",width:"1.3vw",height:"1.3vw","border-radius":"50%",right:"-0.5vw",top:"-0.2vw"}})):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"pls-card-title"},[e.createElementVNode("view",{class:"middle-title-spec"}," 请领单号 "),e.createElementVNode("view",{class:"title-left"},e.toDisplayString(t.cgdNo),1)]),e.createElementVNode("view",{class:"pls-card-middle"},[e.createElementVNode("view",{class:"middle-heng"}),e.createElementVNode("view",{class:"pls-card-middle-one"},[e.createElementVNode("view",{class:"middle-title"},e.toDisplayString(t.qgDate),1),e.createElementVNode("view",{class:"middle-heng-father"},[e.createElementVNode("image",{class:"middle-ball-img",src:de})]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",null," 采购 "),e.createElementVNode("view",{style:{"font-size":"25rpx"}},e.toDisplayString("[ "+t.qgBy+" ]"),1)])]),e.createElementVNode("view",{class:"pls-card-middle-one"},[e.createElementVNode("view",{class:"middle-title",style:e.normalizeStyle("9"==(null==t?void 0:t.cgdType)?{color:"#FF5757"}:{})},e.toDisplayString("9"==(null==t?void 0:t.cgdType)?null==(a=t.zfTime)?void 0:a.slice(0,10):null==(i=t.jhTime)?void 0:i.slice(0,10)),5),e.createElementVNode("view",{class:"middle-heng-father"},[Number(t.status)<1?(e.openBlock(),e.createElementBlock("view",{key:0,class:"middle-ball",style:e.normalizeStyle([{"background-color":"#1083F8"},"9"==(null==t?void 0:t.cgdType)?{backgroundColor:"#FF5757"}:{}])},null,4)):(e.openBlock(),e.createElementBlock("image",{key:1,class:"middle-ball-img",src:de}))]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",{style:e.normalizeStyle("9"==(null==t?void 0:t.cgdType)?{color:"#FF5757"}:{})},e.toDisplayString("9"==(null==t?void 0:t.cgdType)?"已作废":"拣货"),5),(null==t?void 0:t.jhBy)||(null==t?void 0:t.zfBy)?(e.openBlock(),e.createElementBlock("view",{key:0,style:e.normalizeStyle([{"font-size":"25rpx"},"9"==(null==t?void 0:t.cgdType)?{color:"#FF5757"}:{}])},e.toDisplayString("[ "+("9"==(null==t?void 0:t.cgdType)?null==t?void 0:t.zfBy:null==t?void 0:t.jhBy)+" ]"),5)):e.createCommentVNode("",!0)])]),e.createElementVNode("view",{class:"pls-card-middle-one"},[e.createElementVNode("view",{class:"middle-title"},e.toDisplayString(Number(t.status)>=2?null==(r=t.wjTime)?void 0:r.slice(0,10):""),1),e.createElementVNode("view",{class:"middle-heng-father"},[2!=Number(t.status)?(e.openBlock(),e.createElementBlock("view",{key:0,class:"middle-ball",style:e.normalizeStyle({backgroundColor:1==Number(t.status)?"":"#E5E5E5"})},null,4)):(e.openBlock(),e.createElementBlock("image",{key:1,class:"middle-ball-img",src:de}))]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",null," 完结 "),t.wjBy?(e.openBlock(),e.createElementBlock("view",{key:0,style:{"font-size":"25rpx"}},e.toDisplayString("[ "+t.wjBy+" ]"),1)):e.createCommentVNode("",!0)])])]),e.createElementVNode("view",{class:"pls-card-end"},[e.createElementVNode("view",{class:"end-left"},[e.createElementVNode("image",{class:"end-left-img",src:"/static/index/requestform/gongyingshang.png"}),e.createElementVNode("view",{class:"end-left-font"},e.toDisplayString(t.gysId_dictText),1)]),e.createElementVNode("view",{class:e.normalizeClass("9"==(null==t?void 0:t.cgdType)?"tag-fail":"tag-success")},e.toDisplayString("9"==(null==t?void 0:t.cgdType)?"已作废":d[Number(t.status)]),3)])],12,["onClick"])})),128))],40,["scroll-top"])]),e.createElementVNode("view",{class:"other-contain-right"},[e.createElementVNode("scroll-view",{"scroll-y":"true","scroll-with-animation":"",class:"right-contain"},[e.createElementVNode("view",{class:"right-ones"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(r),((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"right-one",key:l})))),128))])])])])],4))}}),[["__scopeId","data-v-34ccbf15"]]),ge="/static/index/newruler/jiao.png",we=e=>p({url:`${uni.getStorageSync("serverUrl")}/nuIpadApi/nuBizNuCustomerServer/deleteDirective`,method:"post",data:e}),he=e=>p({url:`${uni.getStorageSync("serverUrl")}/nuIpadApi/nuBizNuCustomerServer/editDirective`,method:"post",data:e});function ye(e,t,l,a="png",i=0,r=!1){return Array.from({length:l},((l,n)=>{const o=r?String(n+i).padStart(2,"0"):n+i;return`${e}/${t}${o}.${a}`}))}const Ne=[{children:[{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1900421622979706886",title:"协助喂药",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902604232524795905",title:"鼻饲喂药",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902604428667228162",title:"注射器/吸管喂药",tagName:"头部,大体重"}],levle:"2",title:"协助喂药",key:"1900114812020310017",parentId:"1900112597427793921",url:ye("/static/index/diet","medicine_",7,"png",1,!1)},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902605892869394433",title:"一级压疮防护",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902606105021485058",title:"二级压疮防护",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902606339931869185",title:"三级压疮防护",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902606614344208386",title:"一级压疮防护",tagName:"大体重"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902606869953482753",title:"二级压疮防护",tagName:"大体重"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902607023431454722",title:"三级压疮防护",tagName:"大体重"}],levle:"2",title:"压疮防护",key:"1900115034452639746",parentId:"1900112597427793921",url:ye("/static/index/diet","knead_",4,"png",1,!1)},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1900421622979706887",title:"床椅转移",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1900421622979706888",title:"床椅转移",tagName:"大体重"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902605073730211842",title:"床椅转移",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902605223185846273",title:"床椅转移",tagName:"大体重"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902605365393723393",title:"协助床椅转移",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902605496071458818",title:"协助床椅转移",tagName:null}],levle:"2",title:"床椅转移",key:"1902248363784159233",parentId:"1900112597427793921",url:ye("/static/index/diet","chair_",8,"png",1,!1)},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902607507626102786",title:"轮椅防护",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902607677415723010",title:"轮椅防护",tagName:"大体重"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902607817589362689",title:"轮椅防护",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902608061588803585",title:"轮椅防护",tagName:"大体重"}],levle:"2",title:"轮椅防护",key:"1902280900178886657",parentId:"1900112597427793921",url:ye("/static/index/diet","wheelchair_",10,"png",1,!1)},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902608564582322178",title:"约束位按摩",tagName:"手"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902608974609092610",title:"约束位按摩",tagName:"足"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902618507855237121",title:"约束位按摩",tagName:"全"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902618751548493825",title:"防护网约束",tagName:null}],levle:"2",title:"约束防护",key:"1902280933364219906",parentId:"1900112597427793921",url:ye("/static/index/diet","constraint_",4,"png",1,!1)},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902620309090701314",title:"协助行走",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902620486044192769",title:"放松按摩",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"30",id:"1902625161569079298",title:"心灵慰藉",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"10",id:"1902625402468929537",title:"狂躁",tagName:null}],levle:"2",title:"按摩保健",key:"1902564031454744577",parentId:"1900112597427793921",url:ye("/static/index/diet","massage_",5,"png",1,!1)},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902625872432304130",title:"准备衣物",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902626005538541569",title:"协助更换",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902626664711163905",title:"肢体障碍",tagName:"半侧"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902626800510144513",title:"肢体障碍",tagName:"全身"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902627064688381953",title:"准备衣物",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902627280716009474",title:"协助更换",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902627416598876161",title:"肢体障碍",tagName:"半侧"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902627522404388866",title:"肢体障碍",tagName:"全身"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902627711806574593",title:"协助更换",tagName:"大体重"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902628058591629313",title:"肢体障碍",tagName:"半侧,大体重"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902628650718302209",title:"肢体障碍",tagName:"大体重,全测"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902628837725540354",title:"肢体障碍",tagName:"大体重,全测"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902628966847188993",title:"肢体障碍",tagName:"大体重,半侧"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902629129879785474",title:"协助更换",tagName:"大体重"}],levle:"2",title:"更换衣物",key:"1902564088417587201",parentId:"1900112597427793921",url:ye("/static/index/diet","replace_",4,"png",1,!1)},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902629344456183809",title:"坐起",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902629492301205506",title:"躺下",tagName:null}],levle:"2",title:"调整坐卧",key:"1902564199830884354",parentId:"1900112597427793921",url:ye("/static/index/diet","adjust_",7,"png",1,!1)},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"55",id:"1902630862769065985",title:"遗体净身",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"55",id:"1902631162275926017",title:"遗体穿衣",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"30",id:"1902631422431825921",title:"遗体转移",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"30",id:"1902631602463936514",title:"床位消毒",tagName:null}],levle:"2",title:"殡仪服务",key:"1902564263743688705",parentId:"1900112597427793921",url:ye("/static/index/diet","exequy_",4,"png",1,!1)},{children:[{cycleType:"周期护理",levle:"3",serviceDuration:"5",id:"1902631830441136129",title:"更换床上用品",tagName:"全部"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902632063828987905",title:"隔尿褥子更换",tagName:null}],levle:"2",title:"更换床上用品",key:"1902564446648897538",parentId:"1900112597427793921",url:ye("/static/index/diet","change_",6,"png",1,!1)},{children:[{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902632288270389250",title:"临终护理",tagName:null}],levle:"2",title:"临终服务",key:"1902564503783706625",parentId:"1900112597427793921",url:ye("/static/index/diet","funeral_",5,"png",1,!1)},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"40",id:"1902632678701371393",title:"制氧机吸氧",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902632799853842433",title:"制氧机维护",tagName:null}],levle:"2",title:"制氧机应用",key:"1902564586101116930",parentId:"1900112597427793921",url:ye("/static/index/diet","oxygen_",6,"png",1,!1)}],levle:"1",title:"1 日常照料",key:"1900112597427793921"},{children:[{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1900376187661553665",title:"准备洁具",tagName:"口腔"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1900420873478553602",title:"棉球清洁",tagName:"口腔"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1900421622979706881",title:"协助清洁",tagName:"口腔"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1900421622979706885",title:"义齿清洁",tagName:"口腔"}],levle:"2",title:"口腔清洁",key:"1902597070889127938",parentId:"1900112615777873921",url:ye("/static/index/diet","oral_",7,"png",1,!1)},{children:[{cycleType:"周期护理",levle:"3",serviceDuration:"5",id:"1902636771540963329",title:"准备洁具",tagName:"头部"},{cycleType:"周期护理",levle:"3",serviceDuration:"20",id:"1902637623425077250",title:"协助洗头",tagName:null},{cycleType:"周期护理",levle:"3",serviceDuration:"20",id:"1902637985234128898",title:"卧式洗头",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902638122949906433",title:"擦头",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"10",id:"1902638304739430401",title:"刮头",tagName:null}],levle:"2",title:"头部清洁",key:"1902597497344987137",parentId:"1900112615777873921",url:ye("/static/index/diet","head_",5,"png",1,!1)},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902641763073101826",title:"准备洁具",tagName:"面部"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902642254465175553",title:"协助洁面",tagName:null}],levle:"2",title:"面部清洁",key:"1902597651405967361",parentId:"1900112615777873921",url:ye("/static/index/diet","wash_",4,"png",1,!1)},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902642508145070081",title:"准备洁具",tagName:"躯干"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902642672796667905",title:"协助清洁",tagName:"躯干"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902642822885642242",title:"卧床清洁",tagName:"躯干"}],levle:"2",title:"躯干清洁",key:"1902597718082818050",parentId:"1900112615777873921",url:ye("/static/index/diet","limbs_",4,"png",1,!1)},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902643318811758594",title:"准备洁具",tagName:"四肢"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902643483320750082",title:"协助清洁",tagName:"四肢"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902643630888947713",title:"卧床清洁",tagName:"四肢"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902643837525528578",title:"肌张力高",tagName:"清洁"}],levle:"2",title:"四肢清洁",key:"1902597811565465601",parentId:"1900112615777873921",url:ye("/static/index/diet","torso_",6,"png",1,!1)},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902645148199391234",title:"会阴清洁",tagName:"男"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902645295457210369",title:"会阴清洁",tagName:"女"}],levle:"2",title:"会阴清洁",key:"1902597873964126209",parentId:"1900112615777873921",url:ye("/static/index/diet","perineum_",5,"png",1,!1)},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902645493185089537",title:"肛周清洁",tagName:null}],levle:"2",title:"肛周清洁",key:"1902597930020999170",parentId:"1900112615777873921",url:ye("/static/index/diet","perianal_",7,"png",1,!1)},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902645693211447298",title:"洗手",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902647316134465538",title:"泡手",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902647529817477122",title:"准备洁具",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902647673212342274",title:"协助洗手",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902647905878773762",title:"强直屈曲洗手",tagName:null}],levle:"2",title:"手清洁",key:"1902597991698239489",parentId:"1900112615777873921",url:ye("/static/index/diet","hands_",5,"png",1,!1)},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902648101203316737",title:"泡脚",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902648239091060737",title:"卧式泡脚",tagName:null}],levle:"2",title:"足清洁",key:"1902598178588037121",parentId:"1900112615777873921",url:ye("/static/index/diet","feet_",4,"png",1,!1)},{children:[{cycleType:"周期护理",levle:"3",serviceDuration:"5",id:"1902648426383511553",title:"修睫毛",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902648548777496577",title:"剃须",tagName:null}],levle:"2",title:"剃须",key:"1902598258573414401",parentId:"1900112615777873921",url:ye("/static/index/diet","shave_",6,"png",1,!1)},{children:[{cycleType:"周期护理",levle:"3",serviceDuration:"5",id:"1902648962444922882",title:"角质增生",tagName:"修甲"},{cycleType:"周期护理",levle:"3",serviceDuration:"5",id:"1902649132536532994",title:"灰指甲",tagName:"修甲"},{cycleType:"周期护理",levle:"3",serviceDuration:"5",id:"1902649302149992449",title:"正常",tagName:"修甲"}],levle:"2",title:"修甲",key:"1902598354606198785",parentId:"1900112615777873921",url:ye("/static/index/diet","clippers_",6,"png",1,!1)},{children:[{cycleType:"周期护理",levle:"3",serviceDuration:"20",id:"1902649683919736834",title:"理发",tagName:null},{cycleType:"周期护理",levle:"3",serviceDuration:"25",id:"1902649860344745985",title:"理发",tagName:"颅骨缺损"}],levle:"2",title:"理发",key:"1902598400382832642",parentId:"1900112615777873921",url:ye("/static/index/diet","haircut_",5,"png",1,!1)},{children:[{cycleType:"周期护理",levle:"3",serviceDuration:"5",id:"1902650121280786434",title:"床上沐浴",tagName:null},{cycleType:"周期护理",levle:"3",serviceDuration:"55",id:"1902650408884211713",title:"深度清洁",tagName:null},{cycleType:"周期护理",levle:"3",serviceDuration:"55",id:"1902650763722330113",title:"浴间洗浴",tagName:null},{cycleType:"周期护理",levle:"3",serviceDuration:"30",id:"1902651229122301954",title:"床上沐浴",tagName:"大体重"},{cycleType:"周期护理",levle:"3",serviceDuration:"55",id:"1902651366317985794",title:"深度清洁",tagName:"大体重"},{cycleType:"周期护理",levle:"3",serviceDuration:"55",id:"1902651555363655682",title:"浴间洗浴",tagName:"大体重"}],levle:"2",title:"沐浴",key:"1902598454782955522",parentId:"1900112615777873921",url:ye("/static/index/diet","bathe_",9,"png",1,!1)},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"10",id:"1902651778777452545",title:"内套管清洁",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"10",id:"1902651924047171586",title:"更换气切纱布",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"10",id:"1902652055928672258",title:"更换气切纱布",tagName:null}],levle:"2",title:"气切消毒",key:"1902598509522817026",parentId:"1900112615777873921",url:ye("/static/index/diet","omy_",4,"png",1,!1)}],levle:"1",title:"2 清洁照料",key:"1900112615777873921"},{children:[{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902898057679966209",title:"准备餐具",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902898202668666881",title:"协助进餐",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902898339931459586",title:"协助进餐",tagName:"超时"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902898472584712194",title:"鼻胃管进餐",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902898590658564097",title:"胃肠管进餐",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902898719952179201",title:"准备餐具",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902898979948695554",title:"协助进餐",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902899086840532993",title:"协助进餐",tagName:"超时"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902899214838108162",title:"鼻胃管进餐",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902899325014085633",title:"胃肠管进餐",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902899587028062210",title:"食物加工",tagName:null}],levle:"2",title:"加餐饮食",key:"1902596129720864770",parentId:"1902280495747317762",url:ye("/static/index/diet","snack_",7,"png",1,!1)},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902281139677839362",title:"准备餐具",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"10",id:"1902281522340970498",title:"鼻胃管进餐",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902281654100836354",title:"协助进餐",tagName:"超时"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902281870434648066",title:"协助进餐",tagName:"正常"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902654960639381506",title:"鼻肠管进餐",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902655101874180097",title:"轮椅进餐",tagName:"大体重"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902892199009030145",title:"轮椅进餐",tagName:null}],levle:"2",title:"正餐饮食",key:"1902601263850950657",parentId:"1902280495747317762",url:ye("/static/index/diet","dinner_",8,"png",1,!1)},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902893231608926209",title:"准备餐具",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902893551978254337",title:"协助进餐",tagName:"正常"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902893716466274306",title:"协助进餐",tagName:"超时"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902894369850757122",title:"鼻胃管进餐",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902894528533860354",title:"鼻肠管进餐",tagName:null}],levle:"2",title:"辅餐饮食",key:"1902601382595891202",parentId:"1902280495747317762",url:ye("/static/index/diet","food_",6,"png",1,!1)},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902894832176304129",title:"准备餐具",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902894954117304322",title:"协助进餐",tagName:"正常"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902895077522116609",title:"协助进餐",tagName:"超时"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902895233407619073",title:"鼻胃管进餐",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902895569912434689",title:"鼻肠管进餐",tagName:null}],levle:"2",title:"果汁饮食",key:"1902601427168759809",parentId:"1902280495747317762",url:ye("/static/index/diet","juice_",9,"png",1,!1)},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902895878508351489",title:"准备水杯",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902895984053817346",title:"协助饮水",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902896136835534850",title:"协助饮水",tagName:"超时"},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902896508421509122",title:"鼻胃管饮水",tagName:null},{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902896636553302017",title:"鼻肠管饮水",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902896855802155010",title:"准备水杯",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902897018344017921",title:"协助饮水",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902897464936730626",title:"协助饮水",tagName:"超时"},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902897675813752834",title:"鼻胃管饮水",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902897803417063426",title:"鼻肠管饮水",tagName:null}],levle:"2",title:"饮水饮食",key:"1902601487625457665",parentId:"1902280495747317762",url:ye("/static/index/diet","drink_",5,"png",1,!1)}],levle:"1",title:"3 饮食照料",key:"1902280495747317762"},{children:[{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902653177363927041",title:"巡视",tagName:null}],levle:"2",title:"巡视",key:"1902564741860790273",parentId:"1902560466095017986",url:ye("/static/index/diet","posture_",6,"png",1,!1)},{children:[{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902653325481578497",title:"防坠床",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902653497066360833",title:"被褥调整",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902653650917625857",title:"睡姿调整",tagName:null}],levle:"2",title:"体位调整",key:"1902564818838851585",parentId:"1902560466095017986",url:ye("/static/index/diet","visitation_",5,"png",1,!1)}],levle:"1",title:"4 睡眠照料",key:"1902560466095017986"},{children:[{children:[{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902904277308510210",title:"更换尿袋",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902904458779267073",title:"更换隔尿垫",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902905631242424322",title:"使用尿盆",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902905824973131777",title:"使用尿壶",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902906220483416065",title:"协助入厕",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902906459051233281",title:"坐便椅",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902906610562076674",title:"留置尿袋",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902906783325458434",title:"更换纸尿裤",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902908406344945665",title:"热敷抚触排尿",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902908523827400705",title:"协助坐便椅",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902909645401067522",title:"更换尿片",tagName:null}],levle:"2",title:"小便",key:"1902596314152800257",parentId:"1902560510768549889",url:ye("/static/index/diet","urinate_",4,"png",1,!1)},{children:[{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902909835331735554",title:"床上排便",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902910002671882242",title:"协助坐便椅",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902910156154048514",title:"协助入厕",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902910361008050178",title:"人工取便",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902910524623654913",title:"造瘘袋",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902910700176248834",title:"坐便椅",tagName:null}],levle:"2",title:"大便",key:"1902596399423000577",parentId:"1902560510768549889",url:ye("/static/index/diet","stool_",3,"png",1,!1)},{children:[{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902910899565072385",title:"口腔吸痰",tagName:null},{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902911047405899778",title:"气切吸痰",tagName:null}],levle:"2",title:"吸痰",key:"1902596461238652930",parentId:"1902560510768549889",url:ye("/static/index/diet","Sputuma_",7,"png",1,!1)},{children:[{cycleType:"即时护理",levle:"3",serviceDuration:"5",id:"1902911232974491650",title:"呕吐",tagName:null}],levle:"2",title:"呕吐",key:"1902596886771765250",parentId:"1902560510768549889",url:ye("/static/index/diet","vomiting_",6,"png",1,!1)},{children:[{cycleType:"日常护理",levle:"3",serviceDuration:"5",id:"1902911378349068290",title:"腹腔引流护理",tagName:null}],levle:"2",title:"引流",key:"1902596940366581762",parentId:"1902560510768549889",url:ye("/static/index/diet","drainage_",6,"png",1,!1)}],levle:"1",title:"5 排泄照料",key:"1902560510768549889"}],fe=300,Ee=s(e.defineComponent({__name:"index",props:{isshow:{type:Boolean,required:!0},darkFans:{type:Boolean},canmove:{type:Boolean},liang:{type:Object},isold:{type:Boolean,required:!0},propsmove:{type:Number},isMain:{type:Boolean}},emits:["vip","changeold"],setup(t,{emit:a}){const i=t;e.watch((()=>i.isMain),((e,t)=>{i.isshow&&(!0===t&&!1===e?(be.value.index0=8,be.value.index1=0,Q.value=!0):!1===t&&!0===e&&(be.value.index0=-1,be.value.index1=-1))})),e.watch((()=>i.isold),(()=>{i.isold&&(ht(),z.value=1,I.value=1,e.nextTick((()=>{I.value=0,z.value=700})))})),e.watch((()=>i.canmove),(()=>{Ae.value=!1})),e.watch((()=>i.isshow),((t,l)=>{t!==l&&(Ae.value=!1,Ue.value=!1,it.value?it.value--:(ht(),z.value=1,I.value=1,e.nextTick((()=>{I.value=0,z.value=775}))),pe.value=0,f.value=!f.value)}));const r=e.ref(!1),n=e.ref(-1),o=e.ref(!1),c=e.ref(-1);e.watch((()=>i.propsmove),(()=>{if(o.value)switch(i.propsmove){case 0:c.value-3>0?c.value=c.value-3:c.value=0;break;case 1:c.value>5||c.value++;break;case 2:c.value+3>5?c.value=6:c.value=c.value+3;break;case 3:c.value&&c.value--;break;case 4:y(c.value);break;case 5:v.value=!1,g.value=!1,o.value=!1,r.value=!1,G.value=1}else if(r.value)switch(i.propsmove){case 0:n.value-3>0?n.value=n.value-3:n.value=0;break;case 1:n.value>3||n.value++;break;case 2:n.value+3>3?n.value=4:n.value=n.value+3;break;case 3:n.value&&n.value--;break;case 4:h(n.value);break;case 5:v.value=!1,g.value=!1,o.value=!1,r.value=!1,G.value=0}else if(4===i.propsmove)if(Q.value)Xe();else switch(G.value){case 0:g.value=!1,v.value=!v.value,r.value=!0,n.value=0;break;case 1:v.value=!1,g.value=!g.value,o.value=!0,c.value=0;break;case 2:tt();break;default:Ie()}else Q.value?H(i.propsmove):K(i.propsmove)}));const s=e.ref("translate3d(0, 0, 0)");let d=0,u=!1;const m=e.ref(!1),v=e.ref(!1),g=e.ref(!1);e.watch((()=>v.value),(()=>{setTimeout((()=>{m.value=v.value,ke("vip",m.value)}),50)}));const w=e.ref(!1);e.watch((()=>g.value),(()=>{setTimeout((()=>{w.value=g.value,ke("vip",w.value)}),50)})),e.ref([]),e.ref([]);const h=e=>{if("Y"==st.value[e].izSelected)st.value[e].izSelected="N";else{let t=0;if(st.value.forEach((e=>{"Y"==e.izSelected&&t++})),t>1)return void uni.showToast({title:"标签最多只能添加两个",icon:"none",duration:3e3});st.value[e].izSelected="Y"}et()},y=e=>{if("Y"==ct.value[e].izSelected)ct.value[e].izSelected="N";else{let t=0;if(ct.value.forEach((e=>{"Y"==e.izSelected&&t++})),t>1)return void uni.showToast({title:"标签最多只能添加两个",icon:"none",duration:3e3});ct.value[e].izSelected="Y"}et()},N=e.ref(!1),f=e.ref(!1),E=e.ref([]),V=["标准","超重","强直","偏瘫","佝偻","稳定","焦虑","抑郁","暴力","恐惧","烦躁","易怒","臆想"],x=["00","05","10","15","20","25","30","35","40","45","50","55"],k=["周一","周二","周三","周四","周五","周六","周日"],b=Array.from({length:31},((e,t)=>(t+1).toString().padStart(2,"0"))),S=e.ref(!0),T=e.ref(!1),C=e.ref(0),B=e.ref(0),D=e.ref(0),z=e.ref(678),I=e.ref(0),F=e.ref(),_=e.ref(!1),U=e.ref([]),$=e.ref(!1);e.ref(!1);const M=e.ref(!1);e.ref(!1),e.ref(!1),e.ref(""),e.ref(!1);const L=e.ref(!1);e.ref("");const j=e.ref(!1);e.ref(6),e.ref(11),e.ref(0),e.ref(3);const A=e.ref(!1),P=e.computed((()=>Fe.value[0]&&Fe.value[1]?"left-bottom":!Fe.value[0]&&Fe.value[1]?"right-bottom":Fe.value[0]&&!Fe.value[1]?"left-top":"right-top")),q=e.ref([]),O=e.ref(0);const W=()=>{if(Ce.value.index0===be.value.index0&&Ce.value.index1===be.value.index1)return A.value=!1,Ce.value.index0=-1,void(Ce.value.index1=-1);ot.value[be.value.index0].children[be.value.index1].id?we(ot.value[be.value.index0].children[be.value.index1]).then((e=>{Y()})):Y()},Y=()=>{let e=JSON.parse(JSON.stringify(ot.value[Ce.value.index0].children[Ce.value.index1]));We.value=[be.value.index0,be.value.index1];let t=ot.value[Ce.value.index0].children[Ce.value.index1].tagName;ot.value[Ce.value.index0].children[Ce.value.index1]={directiveName:"",tagName:t};let l=ot.value[We.value[0]].children[We.value[1]].tagName;ot.value[We.value[0]].children[We.value[1]]=e,ot.value[We.value[0]].children[We.value[1]].tagName=l;let a=ot.value[We.value[0]].children[We.value[1]].startTime,i=ot.value[We.value[0]].children[We.value[1]].endTime,r=ot.value[We.value[0]].positioning;const n=e=>{const t=String(e||"").split(":").map((e=>e.trim())),l=Number(t[0]??0),a=Number(t[1]??0);return{hour:Number.isFinite(l)?l:0,minute:Number.isFinite(a)?a:0}},o=n(a),c=n(i);let s=60*c.hour+c.minute-(60*o.hour+o.minute);s<0&&(s+=1440);const d=Number(String(l).trim()),u=Number(String(r).trim());if(!Number.isFinite(d)||d<0||d>=60)throw new Error("newtagName 必须是 0-59 的数字字符串或数字");if(!Number.isFinite(u)||u<0)throw new Error("positioning 必须是有效小时(数字或数字字符串)");const m=60*u+d+s,v=Math.floor(m/60)%24,p=m%60,g=e=>String(e).padStart(2,"0");ot.value[We.value[0]].children[We.value[1]].startTime=`${String(u)}:${g(d)}`,ot.value[We.value[0]].children[We.value[1]].endTime=`${String(v)}:${g(p)}`,Ce.value.index0=-1,Ce.value.index1=-1,A.value=!1;let w={index0:be.value.index0,index1:be.value.index1};rt(w);let h=ot.value[be.value.index0].children[be.value.index1];h.positioning=be.value.index0,h.positioningLong=be.value.index1,he(h).then((e=>{e.success&&dt()}))},R=t=>{var l;5!==t?(T.value=!1,te.value=-1,ae.value=-1,ee.value="",le.value="",B.value=1,C.value=1,Ee.value=-1,e.nextTick((()=>{B.value=0,C.value=0,Ee.value=0})),ye.value=0,pe.value=t,F.value=null==(l=U.value[t])?void 0:l.children,Ve.value=0):uni.navigateTo({url:"/pages/watch/full"})},J=e.ref(!1),X=()=>{ie.value=!1,N.value=!1,A.value?W():ot.value[be.value.index0].children[be.value.index1].directiveName?(Ce.value.index0=be.value.index0,Ce.value.index1=be.value.index1,A.value=!0):(J.value=!0,setTimeout((()=>{J.value=!1}),1500))};e.ref(!0),e.ref(!1);const Q=e.ref(!1),Z=e.ref(-1),H=e=>{},G=e.ref(-1),K=e=>{switch(ie.value=!1,e){case 0:break;case 1:G.value<3&&G.value++;break;case 2:v.value=!1,g.value=!1,G.value=-1,be.value.index0=Z.value,Q.value=!0;break;case 3:G.value&&G.value--}},ee=e.ref(""),te=e.ref(-1),le=e.ref(""),ae=e.ref(-1),ie=e.ref(!1),re=()=>{Ce.value.index0=-1,Ce.value.index1=-1,A.value=!1,N.value=!1,ot.value[be.value.index0].children[be.value.index1].directiveName?ie.value?(ie.value=!1,$e(be.value.index0,be.value.index1)):(ie.value=!0,setTimeout((()=>ft.value=!0),50)):(J.value=!0,setTimeout((()=>{J.value=!1}),1500))};function ne(e,t){return 2*function(e,t){const l=55.9898*e+78.233*t;return Math.abs(43758.5453*Math.sin(l))%1}(e,t)}e.ref(!1);const oe="undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:e=>setTimeout(e,16);function ce(e){const t=e&&e.detail&&(e.detail.scrollTop??e.detail.scrollY)||0;d=t,u||(u=!0,oe((()=>{s.value=`translate3d(0, -${d}px, 0)`,u=!1})))}const se=e.ref(0);function de(e){se.value=e.detail.scrollLeft}e.ref(!0);const ue=(e,t,l)=>e.cycleType?Ce.value.index0===t&&Ce.value.index1===l?"title-time-border-yellow-active-transparent":Ue.value?"title-time-border-yellow-active":"title-time-border-yellow":"title-time-border";function me(e,t,l,a="png",i=0,r=!1){return Array.from({length:l},((l,n)=>{const o=r?String(n+i).padStart(2,"0"):n+i;return`${e}/${t}${o}.${a}`}))}const ve=e.ref([{url:me("/static/index/newruler","daily_",6,"png",1,!1),name:"日常"},{url:me("/static/index/newruler","clean_",8,"png",1,!1),name:"清洁"},{url:me("/static/index/newruler","diet_",7,"png",1,!1),name:"饮食"},{url:me("/static/index/newruler","sleep_",5,"png",1,!1),name:"睡眠"},{url:me("/static/index/newruler","defecate_",5,"png",1,!1),name:"排泄"}]),pe=e.ref(1),ye=e.ref(0),Ee=e.ref(-1),Ve=e.ref(0),xe=e.ref(0);e.ref(!1),e.ref([]);const ke=a;e.ref(!1);const be=e.ref({index0:-1,index1:-1});e.ref(0),e.ref([]);e.ref(null),e.ref({}),e.ref(0),e.ref(0);const Se=e.ref(0),Te=e.ref(0),Ce=e.ref({index0:999,index1:999,tagName:""});e.ref(-1),e.ref(!1);const Be=e.ref(!1),De=e.ref(-1),ze=e.ref(!1),Ie=()=>{ze.value=!0,Be.value=!1,setTimeout((()=>{Be.value=!0}),100)},Fe=e.ref([!1,!1]),_e=e.ref([-1,-1]),Ue=e.ref(!1);e.ref([]);const $e=(e,t)=>{l("log","at pages/NursingNew/component/nurse/index.vue:1580","?????",ot.value[e].children[t]),we(ot.value[e].children[t]).then((e=>{e.success&&dt()}))};e.ref(null),e.ref(!1),e.ref(!1);const Me=e.ref(0),Le=e.ref(0);e.ref(!1),e.ref(""),e.ref("");const je=e.ref(null),Ae=e.ref(!1),Pe=e=>{Me.value=Math.floor(e.touches[0].pageX),Le.value=Math.floor(e.touches[0].pageY),je.value=setTimeout((()=>{Ae.value=!0}),500)},qe=e=>{const t=Math.floor(e.touches[0].pageX),l=Math.floor(e.touches[0].pageY);(Math.abs(t-Me.value)>0||Math.abs(l-Le.value)>0)&&je.value&&(clearTimeout(je.value),je.value=null)},Oe=()=>{je.value&&(clearTimeout(je.value),je.value=null)};e.ref({time:"",minute:"",array:[]}),e.ref({op:{name:"",index:[-1,-1,-1]},startTime:"",weekTimeNumber:-1,monthTimeNumber:-1,monthTime:"",weekTime:""}),e.ref(0);const We=e.ref([-1,-1]);e.ref(null);const Ye=()=>{j.value=!1,L.value=!0,setTimeout((()=>{j.value=!0}),50)},Re=e.ref(!1);let Je=null;async function Xe(){Je&&(clearTimeout(Je),Je=null),Re.value=!1,await e.nextTick(),Re.value=!0,He(),Je=setTimeout((()=>{Re.value=!1,Je=null}),1e3)}const Qe=e=>{var t;(t=e,p({url:`${uni.getStorageSync("serverUrl")}/nuIpadApi/nuBizNuCustomerServer/addDirective`,method:"post",data:t})).then((e=>{l("log","at pages/NursingNew/component/nurse/index.vue:1720","添加后返回了啥1",e),e.success&&dt()}))},Ze=e=>{var t;(t={id:e},p({url:`${uni.getStorageSync("serverUrl")}//nuIpadApi/nuBizNuCustomerServer/deleteInstant`,method:"post",data:t})).then((e=>{e.success&&dt()}))},He=()=>{var t;if(ie.value)return ie.value=!1,void $e(be.value.index0,be.value.index1);if(A.value)return void W();let a=!1;if((null==(t=ot.value[be.value.index0])?void 0:t.children[be.value.index1].directiveName)&&(a=!0),yt.value){let e=ut.value[xe.value];if(-1===be.value.index1&&-1===be.value.index0)return;if(ie.value)return ie.value=!1,void $e(be.value.index0,be.value.index1);if(A.value)return void W();Ce.value.index0=-1,Ce.value.index1=-1,A.value=!1;let t="打包",i="";const r=Number(be.value.index0),n=Number(ot.value[be.value.index0].children[be.value.index1].tagName),o=n+Number(e.serviceDuration),c=r+Math.floor(o/60),s=`${String(r)}:${String(n).padStart(2,"0")}`,d=`${String(c)}:${String(o%60).padStart(2,"0")}`;let u={id:a?ot.value[be.value.index0].children[be.value.index1].id:"",nuId:uni.getStorageSync("nuId"),nuName:uni.getStorageSync("nuName"),customerId:uni.getStorageSync("customerId"),customerName:uni.getStorageSync("NUall").elderInfo.name,directiveId:e.id,directiveName:e.packageName,typeId:"",typeName:"",categoryId:"",categoryName:"",cycleTypeId:"",cycleType:t,cycleValue:i,startTime:s,endTime:d,serviceDuration:e.serviceDuration,positioning:be.value.index0.toString(),positioningLong:be.value.index1.toString(),izPackage:"Y",previewFile:"",previewFileSmall:"",netPreviewFile:"",netPreviewFileSmall:"",immediateFile:"",immediateFileFocus:"",netImmediateFileFocus:"",netImmediateFile:"",tagName:ot.value[be.value.index0].children[be.value.index1].tagName,mp3File:e.mp3File,netMp3File:e.netMp3File,mp4File:e.mp4File,netMp4File:e.netMp4File,serviceContent:e.serviceContent};ot.value[be.value.index0].children[be.value.index1]=u;let m={index0:be.value.index0,index1:be.value.index1};return rt(m),l("log","at pages/NursingNew/component/nurse/index.vue:1825","zou",a),void(a?he(u).then((e=>{e.success&&dt()})):Qe(u))}let i=!1,r=U.value[pe.value].children[ye.value].children[Ve.value];if("即时护理"===r.cycleType)return D.value=1,E.value.forEach(((e,t)=>{e.directiveName==r.title&&(i=!0)})),void e.nextTick((()=>{if(i)clearTimeout(Ke.value),_.value=!0,Ke.value=setTimeout((()=>{_.value=!1}),1500);else{D.value=0,E.value.length&&"#03a4ff"===E.value[0].target&&(E.value[0].target="#fff",clearTimeout(Ge.value));let e=r;e.directiveId=r.id,e.directiveName=r.title,e.serviceDuration=r.serviceDuration,e.target="#03a4ff",e.id="",e.nuId=uni.getStorageSync("nuId"),e.nuName=uni.getStorageSync("nuName"),e.customerId=uni.getStorageSync("customerId"),e.customerName=uni.getStorageSync("NUall").elderInfo.name,E.value.unshift(e),Ge.value=setTimeout((()=>{var t;E.value[0].target="#fff",l("log","at pages/NursingNew/component/nurse/index.vue:1873","即时指令看看进入了啥",e),(t=e,p({url:`${uni.getStorageSync("serverUrl")}/nuIpadApi/nuBizNuCustomerServer/addInstant`,method:"post",data:t})).then((e=>{e.success&&dt()}))}),1500)}}));if(-1===be.value.index1&&-1===be.value.index0)return;if(Ce.value.index0=-1,Ce.value.index1=-1,A.value=!1,"周期护理"===r.cycleType&&T.value&&-1==te.value&&-1==ae.value)return;if("周期护理"===r.cycleType&&!T.value)return void(T.value=!0);let n="",o="";if("日常护理"===r.cycleType)n="日常";else{if(-1!==te.value){n=ee.value;let e=0;k.forEach(((t,l)=>{t==ee.value&&(e=l)})),o=e.toString()}else n=le.value+"号",o=le.value;l("log","at pages/NursingNew/component/nurse/index.vue:1924","重要",o),T.value=!1,te.value=-1,ae.value=-1,ee.value="",le.value=""}const c=Number(be.value.index0),s=Number(ot.value[be.value.index0].children[be.value.index1].tagName),d=s+Number(r.serviceDuration),u=c+Math.floor(d/60),m=`${String(c)}:${String(s).padStart(2,"0")}`,v=`${String(u)}:${String(d%60).padStart(2,"0")}`;l("log","at pages/NursingNew/component/nurse/index.vue:1937","allobject",r);let g={id:a?ot.value[be.value.index0].children[be.value.index1].id:"",nuId:uni.getStorageSync("nuId"),nuName:uni.getStorageSync("nuName"),customerId:uni.getStorageSync("customerId"),customerName:uni.getStorageSync("NUall").elderInfo.name,directiveId:r.id,directiveName:r.title,typeId:r.typeId,typeName:r.typeName,categoryId:r.categoryId,categoryName:r.categoryName,cycleTypeId:r.cycleTypeId,cycleType:n,cycleValue:o,startTime:m,endTime:v,positioning:be.value.index0.toString(),positioningLong:be.value.index1.toString(),izPackage:"N",previewFile:r.previewFile,previewFileSmall:r.previewFileSmall,serviceDuration:r.serviceDuration,immediateFile:r.immediateFile,immediateFileFocus:r.immediateFileFocus,netImmediateFileFocus:r.netImmediateFileFocus,netImmediateFile:r.netImmediateFile,tagName:ot.value[be.value.index0].children[be.value.index1].tagName,mp3File:r.mp3File,netMp3File:r.netMp3File,mp4File:r.mp4File,netMp4File:r.netMp4File,serviceContent:r.serviceContent,netPreviewFile:r.netPreviewFile,netPreviewFileSmall:r.netPreviewFileSmall};ot.value[be.value.index0].children[be.value.index1]=g;let w={index0:be.value.index0,index1:be.value.index1};rt(w),l("log","at pages/NursingNew/component/nurse/index.vue:1981","日常指令看看进入了啥",g),a?he(g).then((e=>{e.success&&dt()})):Qe(g)},Ge=e.ref(null),Ke=e.ref(null),et=()=>{if(!pt.value)return;let e=[];st.value.forEach((t=>{"Y"==t.izSelected&&e.push(t)})),ct.value.forEach((t=>{"Y"==t.izSelected&&e.push(t)}));let t={nuId:uni.getStorageSync("nuId"),nuName:uni.getStorageSync("nuName"),customerId:uni.getStorageSync("customerId"),customerName:uni.getStorageSync("NUall").elderInfo.name,tagList:e};var l;(l=t,p({url:`${uni.getStorageSync("serverUrl")}/nuIpadApi/nuBizNuCustomerServer/addBatch`,method:"post",data:l})).then((()=>{dt()}))},tt=()=>{uni.setStorage({key:"myArray",data:ot.value,success:function(){uni.navigateTo({url:"/pages/timeMatrix/indexnew"})}})},lt=e.ref({index0:-1,index1:-1}),at=e.ref({index0:-1,index1:-1,current:-1,bordershow:!0}),it=e.ref(0),rt=e=>{be.value.index0=e.index0,be.value.index1=e.index1,ht(),at.value.index0=e.index0,at.value.index1=e.index1,lt.value.index0=at.value.index0,lt.value.index1=at.value.index1,at.value.bordershow=!1,setTimeout((()=>{at.value.index0=-1,at.value.index1=-1,at.value.current=-1}),400),setTimeout((()=>{at.value.bordershow=!0,lt.value.index0=-1,lt.value.index1=-1}),1e3)},nt=["00","05","10","15","20","25","30","35","40","45","50","55"],ot=e.ref(Array.from({length:24},((e,t)=>({positioning:t.toString(),children:nt.map((e=>({tagName:e,directiveName:""})))})))),ct=e.ref([]),st=e.ref([]),dt=()=>{var e,t;uni.getStorageSync("nuId")&&uni.getStorageSync("customerId")&&(e=uni.getStorageSync("nuId"),t=uni.getStorageSync("customerId"),p({url:`${uni.getStorageSync("serverUrl")}/nuIpadApi/nuBizNuCustomerServer/getNclist?nuId=${e}&customerId=${t}`,method:"get"})).then((e=>{ot.value=Array.from({length:24},((e,t)=>({positioning:t.toString(),children:nt.map((e=>({tagName:e,directiveName:""})))}))),e.result.serviceList.forEach((e=>{ot.value[e.positioning].children[e.positioningLong]=e})),E.value=e.result.instantList,pt.value=!0,ct.value=e.result.emotionTagList,vt.value=[],mt.value=[],e.result.emotionTagList.forEach((e=>{"Y"==e.izSelected&&vt.value.push(e.netPic)})),st.value=e.result.bodyTagList,e.result.bodyTagList.forEach((e=>{"Y"==e.izSelected&&mt.value.push(e.netPic)}))}))},ut=e.ref([]);e.onMounted((()=>{ut.value=uni.getStorageSync("Packagelist")||[];let e=uni.getStorageSync("saveTree"),t=[];Ne.forEach((e=>{e.children.forEach((e=>{t.push({name:e.title,url:e.url})}))})),q.value=t,e.result&&(e.result.forEach((e=>{"0"==e.netFlag?ve.value.forEach((t=>{t.name==e.title&&(e.url=t.url)})):e.url=e.animationPath,e.children.forEach((e=>{"0"==e.netFlag?q.value.forEach((t=>{t.name==e.title&&(e.url=t.url)})):e.url=e.animationPath}))})),U.value=e.result),F.value=U.value[0].children,pe.value=-1,Ee.value=-1,setTimeout((()=>{pe.value=0,Ee.value=0}),50),uni.$on("where",gt),Ee.value=0,dt()}));const mt=e.ref([]),vt=e.ref([]),pt=e.ref(!1);function gt(e){it.value=3,rt(e)}function wt(e){let t=[],l=e,a=/([^((]*)[((]([^))]+)[))]/;for(;a.test(l);){let e=l.match(a);e&&(e[1].trim()&&t.push(e[1].trim()),e[2].trim()&&t.push(e[2].trim()),l=l.replace(e[0],"").trim())}return l.trim()&&t.push(l.trim()),t}function ht(){if(be.value.index0>=0&&be.value.index0<=24&&be.value.index1>=0&&be.value.index1<=11){const e=259*(be.value.index0+.5),t=200*(be.value.index1-1);z.value=e-650,I.value=t-200;const l=6216,a=2200;z.value=Math.max(0,Math.min(z.value,l-1300))/2,I.value=Math.max(0,Math.min(I.value,a-400))/2}}e.onBeforeUnmount((()=>{Je&&clearTimeout(Je),uni.$off("where",gt),u=!1})),e.ref({index0:999,index1:999}),e.ref({directiveId:"",directiveName:"",typeId:"",typeName:"",categoryId:"",categoryName:"",cycleTypeId:"",cycleType:"",cycleValue:"",startTime:"",endTime:"",positioning:"",positioningLong:"",izPackage:"N",previewFile:"",previewFileSmall:"",serviceDuration:"",immediateFile:"",immediateFileFocus:"",netImmediateFileFocus:"",netImmediateFile:"",tagName:"",netPreviewFile:"",netPreviewFileSmall:"",mp3File:"",netMp3File:"",mp4File:"",netMp4File:"",serviceContent:""});const yt=e.ref(!1),Nt=()=>{yt.value=!yt.value,xe.value=0},ft=e.ref(!1);return(a,i)=>{var d,u,p,f,q,W,Y,Z,H,K,oe,se,me,ve,we,he,Ne,ke,$e,Me;const Le=e.resolveComponent("donghua");return e.openBlock(),e.createElementBlock("view",{class:"right-container",style:e.normalizeStyle(t.isshow?{opacity:"1"}:{opacity:"0"}),onClick:i[23]||(i[23]=e=>{Ae.value=!1,Ue.value=!1})},[e.createElementVNode("view",{class:"right-container-title-nav"},[e.createElementVNode("text",{style:{"margin-left":"30rpx"}}," NUID:"+e.toDisplayString(uni.getStorageSync("nuId")),1),e.createElementVNode("text",{class:"new-weight"},e.toDisplayString(uni.getStorageSync("nuName")),1),e.createElementVNode("view",{class:"right-icons"},[e.createElementVNode("view",{style:{display:"flex","align-items":"center","margin-right":"25rpx",padding:"0 15rpx"},class:e.normalizeClass(G.value||r.value||o.value?"":"firsttarget")},[e.createElementVNode("view",{class:"mark"},[e.createElementVNode("view",{style:{"margin-right":"15rpx"}}," 体型标签: "),e.withDirectives(e.createElementVNode("view",{class:"overlay",onClick:i[0]||(i[0]=e=>v.value=!1)},null,512),[[e.vShow,v.value]]),e.withDirectives(e.createElementVNode("view",{class:"mark-bgc",style:e.normalizeStyle({opacity:m.value?1:0}),onClick:i[1]||(i[1]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{style:{"margin-top":"40rpx","margin-bottom":"30rpx","margin-left":"50rpx","font-size":"32rpx"}},[e.createElementVNode("view",null," 体型标签 ")]),e.createElementVNode("view",{style:{display:"flex","flex-wrap":"wrap"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(st.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,onClick:e=>h(l)},[e.createElementVNode("view",{class:e.normalizeClass(["tags-father",n.value===l?"secondtarget":""])},[e.createElementVNode("image",{class:"tags-img",src:"Y"==t.izSelected?t.netPicFocus:t.netPic},null,8,["src"]),e.createElementVNode("view",{class:"tags-font",style:e.normalizeStyle("Y"==t.izSelected?{color:"rgb(54, 159, 239)"}:{})},e.toDisplayString(t.tagName),5)],2)],8,["onClick"])))),128))])],4),[[e.vShow,v.value]])]),e.createElementVNode("view",{class:"marknone",onClick:i[2]||(i[2]=e=>{v.value=!v.value,g.value=!1})},[mt.value.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,style:{"margin-top":"-3rpx"}}," 未选择 ")),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(mt.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("image",{class:"tags-img",style:{width:"40rpx",height:"40rpx",margin:"0 10rpx"},src:t},null,8,["src"])])))),128))]),e.createElementVNode("view",{class:"tri-down",onClick:i[3]||(i[3]=e=>{v.value=!v.value,g.value=!1})})],2),e.createElementVNode("view",{style:{display:"flex","align-items":"center","margin-right":"15rpx",padding:"0 15rpx"},class:e.normalizeClass(1!==G.value||r.value||o.value?"":"firsttarget")},[e.createElementVNode("view",{class:"mark"},[e.createTextVNode(" 情绪标签: "),e.withDirectives(e.createElementVNode("view",{class:"overlay",onClick:i[4]||(i[4]=e=>g.value=!1)},null,512),[[e.vShow,g.value]]),e.withDirectives(e.createElementVNode("view",{class:"mark-bgc",style:e.normalizeStyle({opacity:w.value?1:0}),onClick:i[5]||(i[5]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{style:{"margin-top":"40rpx","margin-bottom":"30rpx","margin-left":"50rpx","font-size":"32rpx"}},[e.createElementVNode("view",null," 情绪标签 ")]),e.createElementVNode("view",{style:{display:"flex","flex-wrap":"wrap"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ct.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,onClick:e=>y(l)},[e.createElementVNode("view",{class:e.normalizeClass(["tags-father",c.value===l?"secondtarget":""])},[e.createElementVNode("image",{class:"tags-img",src:"Y"==t.izSelected?t.netPicFocus:t.netPic},null,8,["src"]),e.createElementVNode("view",{class:"tags-font",style:e.normalizeStyle("Y"==t.izSelected?{color:"rgb(54, 159, 239)"}:{})},e.toDisplayString(t.tagName),5)],2)],8,["onClick"])))),128))])],4),[[e.vShow,g.value]])]),e.createElementVNode("view",{class:"marknone",onClick:i[6]||(i[6]=e=>{g.value=!g.value,v.value=!1})},[vt.value.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,style:{"margin-top":"-3rpx"}}," 未选择 ")),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(vt.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("image",{class:"tags-img",style:{width:"40rpx",height:"40rpx",margin:"0 10rpx"},src:t},null,8,["src"])])))),128))]),e.createElementVNode("view",{class:"tri-down",onClick:i[7]||(i[7]=e=>{g.value=!g.value,v.value=!1})})],2),e.createElementVNode("view",{class:e.normalizeClass(["white-button",2===G.value?"firsttarget":""]),onClick:tt},[e.createElementVNode("image",{class:"white-img",src:"/static/index/newruler/yulan.png"},null,8,["src"]),e.createTextVNode(" 预览 ")],2),e.createElementVNode("view",{class:e.normalizeClass(["white-button",3===G.value?"firsttarget":""]),onClick:Ie},[e.createElementVNode("image",{class:"white-img",src:"/static/index/newruler/fenxiang.png"},null,8,["src"]),e.createTextVNode(" 分享 ")],2),e.createElementVNode("view",{class:e.normalizeClass(["white-button",3===G.value?"firsttarget":""]),onClick:Nt},[e.createElementVNode("image",{class:"white-img",src:"/static/index/newruler/fenxiang.png"},null,8,["src"]),e.createTextVNode(" 指令包 ")],2)])]),e.createElementVNode("view",{class:"doctorsay-container-view"},[e.createElementVNode("view",{class:"doctorsay-container-container"},[e.createElementVNode("view",{class:"super-card"},[e.createElementVNode("view",{class:"boom-father"},[e.createElementVNode("view",{class:"boom",style:e.normalizeStyle({transform:s.value})},[e.createElementVNode("view",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ot.value[0].children,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.withDirectives(e.createElementVNode("view",{class:"boom-son"},[e.createElementVNode("text",{class:"boom-text"},e.toDisplayString(t.tagName),1)],512),[[e.vShow,t.tagName]])])))),128))])],4)]),e.createElementVNode("view",{class:"super-card-container"},[e.createElementVNode("scroll-view",{style:{height:"1330rpx",width:"100%",border:"2rpx solid balck"},"scroll-with-animation":"","scroll-left":z.value,"scroll-x":"",onScroll:de,"show-scrollbar":!1},[e.createElementVNode("view",{style:{display:"flex",width:"4824rpx"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ot.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"super-card-time"},e.toDisplayString((1==t.positioning.length?"0"+t.positioning:t.positioning)+":00"),1)])))),128))]),e.createElementVNode("view",{style:{display:"flex",height:"calc(100% - 330rpx)",position:"relative"}},[e.createElementVNode("view",{class:"xian-bian"}),e.createElementVNode("scroll-view",{style:{height:"100%",width:"6744rpx"},"scroll-top":I.value,"scroll-with-animation":"","scroll-y":!0,onScroll:ce,"show-scrollbar":!1},[e.createElementVNode("view",{style:{display:"flex",height:"100%"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ot.value,((a,i)=>(e.openBlock(),e.createElementBlock("view",{key:i},[e.createElementVNode("view",{class:"super-card-time-und"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.children,((r,n)=>(e.openBlock(),e.createElementBlock("view",{style:{width:"100%"},key:n},[e.createElementVNode("view",{class:e.normalizeClass(at.value.index0===i&&at.value.index1===n?at.value.index1?"title-time-border-big":"title-time-border-big-top":"super-card-time-card"),style:e.normalizeStyle([at.value.bordershow||lt.value.index0!==i||lt.value.index1!==n?{borderBottom:"1rpx solid transparent"}:{zIndex:999},{position:"relative"}]),id:`a${i}_${n}`,onClick:t=>((t,a,i)=>{ie.value=!1,be.value.index0=a,be.value.index1=i,ht(),Q.value=!0,setTimeout((()=>{t.directiveName&&N.value&&(De.value=i,uni.createSelectorQuery().selectAll(".super-card-time-card").boundingClientRect((t=>{t.forEach((async t=>{var r,n;t.left>100&&t.left<1067&&t.top<670&&t.top>50&&t.dataset.index0==a&&t.dataset.index1==i&&(t.left>100&&t.left<500?(Se.value=Math.floor(t.left)+528,Fe.value[0]=!0):(Se.value=Math.floor(t.left)-18,Fe.value[0]=!1),t.top>500?(Te.value=Math.floor(t.top)+100,Fe.value[1]=!0):(Te.value=Math.floor(t.top)+180,Fe.value[1]=!1),await e.nextTick(),$.value=!0,_e.value[0]=a,_e.value[1]=i,l("log","at pages/NursingNew/component/nurse/index.vue:1564","shaa",null==(n=null==(r=ot.value[_e.value[0]])?void 0:r.children[_e.value[1]])?void 0:n.izPackage),M.value=!1,setTimeout((()=>{M.value=!0}),100))}))})).exec())}),400)})(r,i,n),"data-index0":i,"data-index1":n},[Ce.value.index0===i&&Ce.value.index1===n&&0==n?(e.openBlock(),e.createElementBlock("view",{key:0,class:"time-button-orange-spe",style:e.normalizeStyle({left:Ce.value.index0?"-130rpx":"0"})}," 请选择服务指令迁移的目标单元格 ",4)):e.createCommentVNode("",!0),Ce.value.index0===i&&Ce.value.index1===n&&n?(e.openBlock(),e.createElementBlock("view",{key:1,class:"time-button-orange",style:e.normalizeStyle({left:Ce.value.index0?"-130rpx":"0"})}," 请选择服务指令迁移的目标单元格 ",4)):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("view",{class:"title-time-blue"},null,512),[[e.vShow,be.value.index0==i&&be.value.index1==n&&Q.value]]),e.createElementVNode("view",{class:e.normalizeClass(ue(r,i,n)),style:e.normalizeStyle([{"font-size":"30rpx",overflow:"hidden"},{animationDelay:`-${ne(i,n).toFixed(2)}s`}])},[r.startTime?e.withDirectives((e.openBlock(),e.createElementBlock("view",{key:0,class:"title-time",style:{"flex-direction":"column"}},[e.withDirectives(e.createElementVNode("image",{style:{width:"60rpx",height:"60rpx",margin:"0 auto","margin-top":"10rpx"},src:r.netImmediateFile?r.netImmediateFile:"/static/logo.png"},null,8,["src"]),[[e.vShow,r.startTime]]),e.createElementVNode("view",{class:"title-time-time",style:{"font-size":"30rpx"}},e.toDisplayString(r.startTime+"-"+r.endTime),1),"日常"!=r.cycleType?(e.openBlock(),e.createElementBlock("image",{key:0,class:"title-time-button",style:{width:"80rpx",height:"48rpx"},src:ge})):e.createCommentVNode("",!0),"日常"!=r.cycleType?(e.openBlock(),e.createElementBlock("view",{key:1,class:"title-time-font",style:{right:"10rpx",top:"5rpx","font-size":"23rpx"}},e.toDisplayString(r.cycleType),1)):e.createCommentVNode("",!0)],512)),[[e.vShow,t.liang.index0!==i||t.liang.index1!==n||t.canmove]]):e.createCommentVNode("",!0),r.startTime?(e.openBlock(),e.createElementBlock("view",{key:1,class:"title-time-font-rel"},e.toDisplayString(wt(r.directiveName)[0]),1)):e.createCommentVNode("",!0),be.value.index0==i&&be.value.index1==n&&Q.value&&!r.startTime?(e.openBlock(),e.createElementBlock("view",{key:2,class:"pulic-time"},e.toDisplayString((1==a.positioning.length?"0"+a.positioning:a.positioning)+":"+x[n]),1)):e.createCommentVNode("",!0)],6)],14,["id","onClick","data-index0","data-index1"])])))),128))])])))),128))])],40,["scroll-top"])])],40,["scroll-left"])]),e.createElementVNode("view",{class:"right-cards"},[e.createElementVNode("view",{style:{"margin-top":"20rpx","margin-left":"30rpx"}},[e.createElementVNode("view",{class:""}," 即时指令 "),e.createElementVNode("view",{style:{width:"30rpx",height:"6rpx","background-color":"black","margin-left":"40rpx","margin-top":"3rpx","border-radius":"20rpx"}})]),e.createElementVNode("scroll-view",{"scroll-x":"",class:"scroll-box","scroll-left":D.value},[e.createElementVNode("view",{class:"right-box"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E.value,((t,l)=>{var a;return e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"right-box-item",onTouchstart:Pe,onTouchmove:qe,onTouchend:Oe,style:e.normalizeStyle(t.target?{background:t.target,transition:"all 1.5s ease-in-out"}:{transition:"all 1.5s ease-in-out"})},[e.createElementVNode("view",{style:e.normalizeStyle({animationDelay:`-${.1*l}s`}),class:e.normalizeClass(Ae.value?"super-end-items-img-father-active":"super-end-items-img-father")},[e.createElementVNode("image",{class:"right-box-img",src:t.netImmediateFile},null,8,["src"]),e.createElementVNode("view",{class:"right-box-font",style:e.normalizeStyle({fontSize:(null==(a=t.directiveName)?void 0:a.trim().length)>6?"25rpx":"27rpx"})},e.toDisplayString(t.directiveName),5)],6),e.withDirectives(e.createElementVNode("view",{class:"super-end-items-father-close-father",onClick:e.withModifiers((e=>{E.value.splice(l,1),Ze(t.id)}),["stop"])}," - ",8,["onClick"]),[[e.vShow,Ae.value]])],36)])})),128))])],8,["scroll-left"]),e.withDirectives(e.createElementVNode("view",{class:"middle-box"},[e.createElementVNode("view",{class:"middle-left-box"},[e.createElementVNode("view",{class:"first-contant"},[e.withDirectives(e.createElementVNode("view",{class:"time-father"},[e.withDirectives(e.createElementVNode("view",{class:"time-button"},[e.createElementVNode("view",{class:"time-button-month"},"周"),e.createElementVNode("view",{class:"time-button-week",onClick:i[8]||(i[8]=e=>{S.value=!1,te.value=-1,ee.value=""})},"月")],512),[[e.vShow,S.value]]),e.withDirectives(e.createElementVNode("view",{class:"time-button"},[e.createElementVNode("view",{class:"time-button-month-target",onClick:i[9]||(i[9]=e=>{S.value=!0,ae.value=-1,le.value=""})},"周"),e.createElementVNode("view",{class:"time-button-week-target"},"月")],512),[[e.vShow,!S.value]]),e.createElementVNode("scroll-view",{"scroll-y":"",style:{width:"100%",height:"600rpx"},"show-scrollbar":!1,"scroll-top":C.value},[S.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},e.renderList(k,((t,l)=>e.createElementVNode("view",{key:l,onClick:e=>((e,t)=>{const l=Date.now();l-O.value<fe?(ee.value=e,te.value=t,He(),O.value=0):(ee.value=e,te.value=t,O.value=l)})(t,l)},[e.createElementVNode("view",{class:e.normalizeClass(te.value===l?"items-card-target":"items-card")},e.toDisplayString(t),3)],8,["onClick"]))),64)):e.createCommentVNode("",!0),S.value?e.createCommentVNode("",!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(e.unref(b),((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,onClick:e=>((e,t)=>{const l=Date.now();l-O.value<fe?(le.value=e,ae.value=t,He(),O.value=0):(le.value=e,ae.value=t,O.value=l)})(t,l)},[e.createElementVNode("view",{class:e.normalizeClass(ae.value===l?"items-card-target":"items-card")},e.toDisplayString(t),3)],8,["onClick"])))),128)),e.createElementVNode("view",{style:{height:"40rpx"}})],8,["scroll-top"])],512),[[e.vShow,T.value]]),e.withDirectives(e.createElementVNode("scroll-view",{"scroll-y":"",style:{height:"100%",width:"100%"},"show-scrollbar":!1,"scroll-top":C.value},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(null==(u=null==(d=U.value[pe.value])?void 0:d.children[ye.value])?void 0:u.children,((t,l)=>{var a;return e.openBlock(),e.createElementBlock("view",{key:l,onClick:e=>function(e){const t=Date.now();Ve.value=e,t-O.value<fe?(Ve.value=e,He(),O.value=0):(Ve.value=e,O.value=t)}(l)},[e.createElementVNode("view",{class:"right-box-item",style:e.normalizeStyle(Ve.value==l?{border:"2rpx solid rgb(229, 233, 249)",backgroundColor:"#fff"}:{border:"2rpx solid rgb(229, 233, 249)"})},[e.withDirectives(e.createElementVNode("view",{class:"title-time-button-font"}," 周期 ",512),[[e.vShow,"周期护理"===t.cycleType]]),e.withDirectives(e.createElementVNode("view",{class:"title-time-button-font"}," 即时 ",512),[[e.vShow,"即时护理"===t.cycleType]]),e.withDirectives(e.createElementVNode("image",{class:"title-time-button",src:ge},null,512),[[e.vShow,"周期护理"===t.cycleType]]),e.withDirectives(e.createElementVNode("image",{class:"title-time-button",src:ge},null,512),[[e.vShow,"即时护理"===t.cycleType]]),e.createElementVNode("image",{class:"right-box-img",src:Ve.value==l?t.netImmediateFileFocus:t.netImmediateFile},null,8,["src"]),e.createElementVNode("view",{class:"right-box-font",style:e.normalizeStyle([{marginTop:"2rpx",fontSize:(null==(a=t.title)?void 0:a.trim().length)>6?"20rpx":"25rpx"},Ve.value===l?{color:"rgb(54,159,239)"}:{}])},e.toDisplayString(t.title),5)],4)],8,["onClick"])})),128)),e.createElementVNode("view",{style:{height:"20rpx"}})],8,["scroll-top"]),[[e.vShow,!T.value]])]),e.createElementVNode("view",{class:"second-contant"},[e.createElementVNode("scroll-view",{"scroll-y":"",style:{height:"100%",width:"100%"},"show-scrollbar":!1,"scroll-top":B.value},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(F.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:e.normalizeClass(Ee.value==l?"downList-box-target":"downList-box"),onClick:t=>(t=>{T.value=!1,te.value=-1,ae.value=-1,ee.value="",le.value="",ye.value=t,Ee.value=t,Ve.value=0,C.value=1,e.nextTick((()=>{C.value=0}))})(l)},[e.createVNode(Le,{width:"55rpx",height:"55rpx",links:t.url,playing:Ee.value==l,interval:120},null,8,["links","playing"]),e.createElementVNode("view",{class:"downList-box-text"},e.toDisplayString(t.title),1)],10,["onClick"])])))),128)),e.createElementVNode("view",{style:{height:"20rpx"}})],8,["scroll-top"])])]),e.createElementVNode("view",{class:"middle-right-box"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(U.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,onClick:e=>R(l)},[e.createElementVNode("view",{class:"doctorsay-container-card"},[e.createVNode(Le,{width:"50rpx",height:"50rpx",links:t.url,playing:l===pe.value,interval:120},null,8,["links","playing"]),e.createElementVNode("view",{class:e.normalizeClass(l===pe.value?"doctorsay-container-card-font-dark":"doctorsay-container-card-font")},e.toDisplayString(t.title),3)])],8,["onClick"])))),128))])],512),[[e.vShow,!yt.value]]),e.withDirectives(e.createElementVNode("view",{class:"middle-box"},[e.createElementVNode("scroll-view",{"scroll-y":"",style:{height:"100%",width:"100%"},"show-scrollbar":!1},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ut.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"zhiling-card",style:e.normalizeStyle(xe.value==l?{backgroundColor:"#fff"}:{}),key:l,onClick:e=>(e=>{const t=Date.now();xe.value=e,t-O.value<fe?(He(),O.value=0):O.value=t})(l)},[e.createElementVNode("image",{class:"zhiling-card-button",src:ge}),e.createElementVNode("view",{class:"zhiling-card-font"}," 指令包 "),e.createElementVNode("view",{class:""}," 包名:"+e.toDisplayString(t.packageName),1),e.createElementVNode("view",{class:"bag"},[e.createElementVNode("text",null," 包含: "),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.directivesList,((t,a)=>(e.openBlock(),e.createElementBlock("view",{class:"bag-one",key:l},[a?(e.openBlock(),e.createElementBlock("text",{key:0},"、")):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(t.directiveName),1)])))),128))])],12,["onClick"])))),128))])],512),[[e.vShow,yt.value]]),e.createElementVNode("view",{class:"under-button"},[_.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"under-button-black"}," 不能重复添加相同的即时服务指令 ")):e.createCommentVNode("",!0),J.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"under-button-black"}," 请选择服务指令来进行操作 ")):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"white-circle",onClick:X},[e.createElementVNode("image",{class:"white-circle-img",src:`/static/index/keyimg/movebutton${A.value?"blue":""}.png`},null,8,["src"])]),e.createElementVNode("view",{class:"white-circle",onClick:re},[e.createElementVNode("image",{class:"white-circle-img",src:`/static/index/keyimg/deletebutton${ie.value?"blue":""}.png`},null,8,["src"])]),e.createElementVNode("view",{class:"white-circle",onClick:Ye},[e.createElementVNode("image",{class:"white-circle-img",src:`/static/index/keyimg/notebutton${L.value?"blue":""}.png`},null,8,["src"])]),e.createElementVNode("view",{class:"white-circle",onClick:i[10]||(i[10]=e=>{N.value=!N.value,A.value=!1,Ce.value.index0=-1,Ce.value.index1=-1})},[e.createElementVNode("image",{class:"white-circle-img",src:`/static/index/keyimg/open${N.value?"blue":""}.png`},null,8,["src"])]),e.createElementVNode("view",{style:{position:"relative"}},[e.createElementVNode("view",{class:e.normalizeClass(["white-circle-click-father",{anim:Re.value}]),style:e.normalizeStyle({color:Re.value?"#fff":""}),onClick:Xe},[e.createElementVNode("view",{style:{"z-index":"999"}}," 确定 ")],6),e.withDirectives(e.createElementVNode("view",{class:"white-circle-click-father-spec",onClick:i[11]||(i[11]=e=>R(5))},[e.createElementVNode("view",{class:"other-father"},[e.createElementVNode("image",{style:{width:"55rpx",height:"55rpx"},src:"/static/index/newruler/monitor_1.png"}),e.createElementVNode("view",{style:{"z-index":"999","font-size":"25rpx"}}," 监控 ")])],512),[[e.vShow,!yt.value]])])])])])])]),e.withDirectives(e.createElementVNode("view",{class:"popup-overlay",onClick:i[14]||(i[14]=e=>{$.value=!1,Ce.value.index0=999,De.value=-1})},["N"===(null==(f=null==(p=ot.value[_e.value[0]])?void 0:p.children[_e.value[1]])?void 0:f.izPackage)?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["popup-overlay-content",P.value]),style:e.normalizeStyle([{height:"390rpx"},{top:2*Te.value-350+"rpx",left:2*Se.value-780+"rpx",opacity:M.value?1:0}]),onClick:i[12]||(i[12]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"popup-overlay-content-left"},[e.createElementVNode("image",{class:"popup-overlay-content-left-img",src:null==(W=null==(q=ot.value[_e.value[0]])?void 0:q.children[_e.value[1]])?void 0:W.netImmediateFileFocus},null,8,["src"])]),e.createElementVNode("view",{class:"popup-overlay-content-right"},[e.createElementVNode("view",{class:"time-font"},e.toDisplayString(null==(Z=null==(Y=ot.value[_e.value[0]])?void 0:Y.children[_e.value[1]])?void 0:Z.startTime)+" - "+e.toDisplayString(null==(K=null==(H=ot.value[_e.value[0]])?void 0:H.children[_e.value[1]])?void 0:K.endTime),1),e.createElementVNode("view",{class:"time-text"},e.toDisplayString(null==(se=null==(oe=ot.value[_e.value[0]])?void 0:oe.children[_e.value[1]])?void 0:se.directiveName),1)])],6)):(e.openBlock(),e.createElementBlock("view",{key:1,class:e.normalizeClass(["popup-overlay-content",P.value]),style:e.normalizeStyle({top:2*Te.value-350+"rpx",left:2*Se.value-780+"rpx",opacity:M.value?1:0}),onClick:i[13]||(i[13]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"specia-onshow"},[e.createElementVNode("view",{class:"specia-title"},e.toDisplayString(null==(ve=null==(me=ot.value[_e.value[0]])?void 0:me.children[_e.value[1]])?void 0:ve.startTime)+" - "+e.toDisplayString(null==(he=null==(we=ot.value[_e.value[0]])?void 0:we.children[_e.value[1]])?void 0:he.endTime),1),(null==(ke=null==(Ne=ot.value[_e.value[0]])?void 0:Ne.children[_e.value[1]])?void 0:ke.directivesList)?(e.openBlock(),e.createElementBlock("view",{key:0,class:"specia-cards"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(null==(Me=null==($e=ot.value[_e.value[0]])?void 0:$e.children[_e.value[1]])?void 0:Me.directivesList,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"title-time-border-yellow",style:{"font-size":"30rpx",overflow:"hidden",width:"232rpx",height:"150rpx"},key:l},[e.createElementVNode("view",{class:"title-time",style:{"flex-direction":"column"}},[e.createElementVNode("image",{style:{width:"60rpx",height:"60rpx",margin:"0 auto","margin-top":"10rpx"},src:t.netImmediateFile},null,8,["src"]),e.createElementVNode("view",{class:"title-time-time",style:{"font-size":"30rpx"}},e.toDisplayString(t.serviceDuration+"分钟"),1),e.createElementVNode("image",{class:"title-time-button",style:{width:"80rpx",height:"48rpx"},src:ge}),e.createElementVNode("view",{class:"title-time-font",style:{right:"10rpx",top:"5rpx","font-size":"23rpx"}},e.toDisplayString(t.cycleType?t.cycleType:"日常"),1)]),e.createElementVNode("view",{class:"title-time-font-rel"},e.toDisplayString(wt(t.directiveName)[0]),1)])))),128))])):e.createCommentVNode("",!0)])],6))],512),[[e.vShow,$.value]]),e.withDirectives(e.createElementVNode("view",{class:"popup-say",onClick:i[16]||(i[16]=e=>L.value=!1)},[e.createElementVNode("view",{class:"popup-say-content",style:e.normalizeStyle([{padding:"30rpx 0"},{opacity:j.value?1:0}]),onClick:i[15]||(i[15]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{style:{"margin-top":"20rpx","margin-bottom":"20rpx","margin-left":"30rpx","font-size":"32rpx"}},[e.createElementVNode("view",null," 体型标签 ")]),e.createElementVNode("view",{style:{display:"flex","flex-wrap":"wrap"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(V.slice(0,5),((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"tags-father"},[e.createElementVNode("image",{class:"tags-img",src:`/static/index/tagNames/${l}0.png`},null,8,["src"]),e.createElementVNode("view",{class:"tags-font"},e.toDisplayString(t),1)])])))),128))]),e.createElementVNode("view",{style:{"margin-top":"40rpx","margin-bottom":"20rpx","margin-left":"30rpx","font-size":"32rpx"}},[e.createElementVNode("view",null," 情绪标签 ")]),e.createElementVNode("view",{style:{display:"flex","flex-wrap":"wrap"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(V.slice(5,12),((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"tags-father"},[e.createElementVNode("image",{class:"tags-img",src:`/static/index/tagNames/${l+5}0.png`},null,8,["src"]),e.createElementVNode("view",{class:"tags-font"},e.toDisplayString(t),1)])])))),128))]),e.createElementVNode("view",{class:"popup-say-three"})],4)],512),[[e.vShow,L.value]]),e.withDirectives(e.createElementVNode("view",{class:"popup-share",onClick:i[18]||(i[18]=e=>ze.value=!1)},[e.createElementVNode("view",{class:"popup-share-content",style:e.normalizeStyle({opacity:Be.value?1:0}),onClick:i[17]||(i[17]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"share-other"},[e.createElementVNode("view",{class:"share-title"},[e.createElementVNode("image",{style:{width:"50rpx",height:"50rpx"},src:"/static/index/sharelogo.png"}),e.createElementVNode("view",{style:{"font-weight":"600","margin-left":"15rpx"}}," 护理单元 ")]),e.createElementVNode("view",{class:"share-others"},[e.createElementVNode("view",{style:{"font-weight":"600","font-size":"45rpx"}}," 护理流程 "),e.createElementVNode("view",{style:{"margin-top":"30rpx"}},[e.createTextVNode(e.toDisplayString(uni.getStorageSync("nuName"))+" ",1),e.createElementVNode("text",{style:{color:"#1083F8"}},e.toDisplayString(uni.getStorageSync("NUall").elderInfo?uni.getStorageSync("NUall").elderInfo.name:""),1)]),e.createElementVNode("view",{class:"blue-button"}," 分享 ")])])],4)],512),[[e.vShow,ze.value]]),ie.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["neuro-wrapper",ft.value?"is-active":""])},[e.createElementVNode("view",{class:"neuro-mask",onClick:i[19]||(i[19]=e=>ie.value=!1)}),e.createElementVNode("view",{class:"neuro-box",onClick:i[22]||(i[22]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"delete-button-father"},[e.createElementVNode("view",{class:"button-white",onClick:i[20]||(i[20]=e=>ie.value=!1)},"取消"),e.createElementVNode("view",{class:"button",onClick:i[21]||(i[21]=e=>re())},"确定")]),e.createElementVNode("view",{class:"title"},"确定要删除指令吗"),e.createElementVNode("view",{class:"title-time-border-yellow",style:{"font-size":"30rpx",overflow:"hidden",width:"240rpx",height:"170rpx"}},[e.createElementVNode("view",{class:"title-time",style:{"flex-direction":"column"}},[e.createElementVNode("image",{style:{width:"60rpx",height:"60rpx",margin:"0 auto","margin-top":"10rpx"},src:ot.value[be.value.index0].children[be.value.index1].netImmediateFile?ot.value[be.value.index0].children[be.value.index1].netImmediateFile:"/static/logo.png"},null,8,["src"]),e.createElementVNode("view",{class:"title-time-time",style:{"font-size":"30rpx"}},e.toDisplayString(ot.value[be.value.index0].children[be.value.index1].startTime+"-"+ot.value[be.value.index0].children[be.value.index1].endTime),1),ot.value[be.value.index0].children[be.value.index1].cycleType?(e.openBlock(),e.createElementBlock("image",{key:0,class:"title-time-button",style:{width:"80rpx",height:"48rpx"},src:ge})):e.createCommentVNode("",!0),ot.value[be.value.index0].children[be.value.index1].cycleType?(e.openBlock(),e.createElementBlock("view",{key:1,class:"title-time-font",style:{right:"10rpx",top:"5rpx","font-size":"23rpx"}},e.toDisplayString(ot.value[be.value.index0].children[be.value.index1].cycleType),1)):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"title-time-font-rel"},e.toDisplayString(wt(ot.value[be.value.index0].children[be.value.index1].directiveName)[0]),1)])])],2)):e.createCommentVNode("",!0)],4)}}}),[["__scopeId","data-v-699e17c9"]]),Ve=s(e.defineComponent({__name:"index",setup(t){e.onMounted((()=>{r.value=-1,e.nextTick((()=>r.value=0)),u.value=2,uni.getSystemInfoSync(),uni.pageScrollTo,l.value=uni.getStorageSync("realname"),p({url:`${uni.getStorageSync("serverUrl")}/nuIpadApi/nuConfigServiceCategory/getServiceTree`,method:"get"}).then((e=>{uni.setStorageSync("saveTree",e)})),p({url:`${uni.getStorageSync("serverUrl")}/nuIpadApi/nuBizNuCustomerServer/getNcPackagelist`,method:"get"}).then((e=>{uni.setStorageSync("Packagelist",e.result)}))}));const l=e.ref("");function a(e,t,l,a="png",i=0,r=!1){return Array.from({length:l},((l,n)=>{const o=r?String(n+i).padStart(2,"0"):n+i;return`${e}/${t}${o}.${a}`}))}const i=e.ref([{url:a("/static/index/newindex/curve","home_",5,"png",1,!1),name:"首页"},{url:a("/static/index/newindex/curve","nurse_",8,"png",1,!1),name:"护嘱"},{url:a("/static/index/newindex/curve","doctor_",6,"png",1,!1),name:"医嘱"},{url:a("/static/index/newindex/curve","lead_",12,"png",1,!1),name:"请领"},{url:a("/static/index/newindex/curve","device_",7,"png",1,!1),name:"设备"},{url:["/static/back.png"],name:"返回"}]),r=e.ref(-1),n=e.ref(!1),o=e.ref(!1),c=e.ref(!1),s=e.ref(!1),d=e.ref(!1),u=e.ref(-1);function m(){uni.previewImage({urls:["/static/ceshi3.jpg"]})}e.ref([]),e.ref(0),e.ref(0),e.ref(0),e.ref(0),e.ref(0);const v=e=>{r.value!==e&&(r.value=e,n.value=!1,o.value=!1,c.value=!1,s.value=!1,setTimeout((()=>{switch(e){case 0:n.value=!0;break;case 1:o.value=!0;case 3:c.value=!0;break;case 4:s.value=!0}}),50))},g=e=>{uni.$emit("smallmonitor:isshow",!1),I.value=!0,F.value=e,r.value=e,n.value=!1,o.value=!1,c.value=!1,s.value=!1,5!==e?setTimeout((()=>{switch(e){case 0:n.value=!0;break;case 1:o.value=!0;break;case 3:c.value=!0;break;case 4:s.value=!0}}),50):uni.navigateBack()},w=e.ref(0),h=e.ref(0),N=e.ref(""),f=e.ref(!0),E=e.ref({index0:999,index1:999}),V=e.ref(!0),x=uni.createAnimation({duration:0,timingFunction:"linear",delay:0}),k=e.ref({}),b=function(e,t){let l=0;return function(...a){const i=Date.now();i-l>=t&&(l=i,e.apply(this,a))}}((e=>{var t;const l=e.touches[0];w.value=2*(Math.floor(l.clientX)-100),h.value=2*(Math.floor(l.clientY)-55),x.translate3d(w.value/2,h.value/2,0).step({duration:0}),k.value=x.export();const a=Math.floor(l.clientX)-50,i=Math.floor(l.clientY)-25,r=S.value.find((e=>a>=Math.floor(e.left)&&a<=Math.floor(e.right)&&i>=Math.floor(e.top)&&i<=Math.floor(e.bottom)));if(r){const{index0:e,index1:l}=r.dataset;E.value.index0=e,E.value.index1=l,w.value<200&&V.value&&!u.value&&(null==(t=C.value)||t.nextItems(),V.value=!1,setTimeout((()=>{V.value=!0}),1e3))}else E.value.index0=999,E.value.index1=999}),40),S=e.ref([]),T=e.ref({directiveName:"",cycleType:"",positioningLong:"0",typeName:"",startTime:"",id:"",endTime:"",tagName:null}),C=e.ref(null),B=e.ref(null),D=()=>{var e,t,l;w.value=9999,h.value=9999,x.translate3d(w.value/2,h.value/2,0).step({duration:0}),k.value=x.export(),f.value=!0,E.value={index0:999,index1:999},N.value?u.value||null==(e=C.value)||e.rulerEnd(N.value):T.value.typeName&&(0===u.value?null==(t=C.value)||t.rulerMoveEnd(T.value):null==(l=B.value)||l.rulerMoveEnd(T.value)),N.value="",T.value={directiveName:"",cycleType:"",positioningLong:"0",typeName:"",startTime:"",id:"",endTime:"",tagName:null}};function z(e){let t=[],l=e,a=/([^((]*)[((]([^))]+)[))]/;for(;a.test(l);){let e=l.match(a);e&&(e[1].trim()&&t.push(e[1].trim()),e[2].trim()&&t.push(e[2].trim()),l=l.replace(e[0],"").trim())}return l.trim()&&t.push(l.trim()),t}e.onMounted((()=>{setTimeout((()=>{g(r.value)}),50),n.value=!1,setTimeout((()=>{n.value=!0}),50)}));const I=e.ref(!0),F=e.ref(0),_=e.ref(-1),U=e.ref(!1),$=e=>{U.value=e},M=t=>{if(5===t)return U.value?(_.value=-1,void e.nextTick((()=>_.value=t))):void(I.value?uni.navigateBack():(I.value=!0,F.value=r.value));if(I.value){switch(t){case 0:F.value&&(F.value--,v(F.value));break;case 1:I.value=!1,F.value=-1;break;case 2:F.value<i.value.length-1&&(F.value++,v(F.value));break;case 3:break;case 4:5===F.value&&uni.navigateBack(),v(F.value)}uni.$emit("smallmonitor:isshow",!1)}else _.value=-1,e.nextTick((()=>_.value=t))};return(t,l)=>{const a=e.resolveComponent("donghua");return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(d.value?"darkbackgroundContainer":"backgroundContainer"),onTouchmove:l[4]||(l[4]=(...t)=>e.unref(b)&&e.unref(b)(...t)),onTouchend:D},[e.withDirectives(e.createElementVNode("view",{class:"move-font",animation:k.value},e.toDisplayString(N.value),9,["animation"]),[[e.vShow,N.value&&w.value]]),e.withDirectives(e.createElementVNode("view",{class:e.normalizeClass("日常"==T.value.cycleType?"title-time-border-yellow":"title-time-border-pouple"),animation:k.value,style:{"font-size":"30rpx",overflow:"hidden"}},[e.withDirectives(e.createElementVNode("view",{class:"title-time",style:{"margin-top":"5rpx"}},[e.createElementVNode("view",{class:"title-time-time",style:{"font-size":"30rpx"}},e.toDisplayString(T.value.startTime+"-"+T.value.endTime),1),e.createElementVNode("image",{class:"title-time-button",src:"日常"==T.value.cycleType?"/static/index/yellowbian.png":"/static/index/puoplebian.png"},null,8,["src"]),e.createElementVNode("view",{class:"title-time-font"},e.toDisplayString(T.value.cycleType),1)],512),[[e.vShow,T.value.startTime]]),e.createElementVNode("view",{style:{"margin-top":"20rpx","font-weight":"700"}},e.toDisplayString(z(T.value.directiveName)[0]),1),e.withDirectives(e.createElementVNode("view",{class:"down-icons",style:e.normalizeStyle("日常"!=T.value.cycleType?{backgroundColor:"rgb(212,203,255)"}:{})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(z(T.value.directiveName).slice(1),((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"",key:l},[e.createElementVNode("view",{class:"icon",style:e.normalizeStyle("日常"!=T.value.cycleType?{backgroundColor:"rgb(123,97,255)"}:{})},e.toDisplayString(z(T.value.directiveName)[1]),5)])))),128))],4),[[e.vShow,z(T.value.directiveName)[1]]])],10,["animation"]),[[e.vShow,T.value.cycleType]]),e.createElementVNode("view",{class:"left-container"},[e.createElementVNode("view",{class:"left-head",onClick:m},[e.createElementVNode("image",{class:"left-head-img",src:y}),e.createElementVNode("text",{class:e.normalizeClass(d.value?"left-head-font-dark":"left-head-font")},e.toDisplayString(uni.getStorageSync("NUall").elderInfo?uni.getStorageSync("NUall").elderInfo.name:""),3)]),e.createElementVNode("view",{class:"menus-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:e.normalizeClass(["menu",F.value===l?"target":""]),style:e.normalizeStyle(F.value===l?{backgroundColor:"#ddf0ff"}:l===r.value?{backgroundColor:"#fff"}:{}),onClick:e=>g(l)},[e.createVNode(a,{width:"55rpx",height:"55rpx",links:t.url,playing:l===r.value},null,8,["links","playing"]),e.createElementVNode("text",{style:{"font-size":"31rpx","margin-left":"15rpx"}},e.toDisplayString(t.name),1)],14,["onClick"])))),128))])]),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ae,{key:0,isShow:n.value,propsmove:_.value,isMain:I.value,onBack:l[0]||(l[0]=e=>M(5)),onCleanmain:l[1]||(l[1]=e=>M(1))},null,8,["isShow","propsmove","isMain"])),4==r.value?(e.openBlock(),e.createBlock(se,{key:1,isShow:s.value,propsmove:_.value,isMain:I.value,onBack:l[2]||(l[2]=e=>M(5)),onCleanmain:l[3]||(l[3]=e=>M(1)),onCanback:$},null,8,["isShow","propsmove","isMain"])):e.createCommentVNode("",!0),3==r.value?(e.openBlock(),e.createBlock(pe,{key:2,isShow:c.value},null,8,["isShow"])):e.createCommentVNode("",!0),1==r.value&&2===u.value&&uni.getStorageSync("customerId")&&uni.getStorageSync("nuId")?(e.openBlock(),e.createBlock(Ee,{key:3,isold:2===u.value,liang:E.value,isshow:o.value,propsmove:_.value,isMain:I.value,onVip:$},null,8,["isold","liang","isshow","propsmove","isMain"])):e.createCommentVNode("",!0)],34)}}}),[["__scopeId","data-v-17c56ff2"]]),xe=s(e.defineComponent({__name:"index",setup(t){const l=e.ref("");return(t,a)=>(e.openBlock(),e.createElementBlock("view",{class:"draw-all"},[e.createElementVNode("view",{class:"draw-title"},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"请购清单")]),e.createElementVNode("view",{class:"draw-blue"}," 请购单号:A0120250301001 ")]),e.createElementVNode("view",{class:"draw-contain"},[e.createElementVNode("view",{class:"scroll-view"},[e.createElementVNode("scroll-view",{"scroll-y":"",style:{height:"93%","margin-top":"2%"},"show-scrollbar":!1},[e.createElementVNode("view",{class:"swiper-flex"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,1,1,1,1,1,1,1,1,1,1,1,1],((t,l)=>e.createElementVNode("view",{key:l},[e.createElementVNode("view",{class:"swiper-card"},[e.createElementVNode("view",{class:"swiper-card-top"},[e.createElementVNode("image",{class:"swiper-card-top-img",src:"/static/index/project3.png"},null,8,["src"]),e.createElementVNode("view",{class:"swiper-card-top-card"},[e.createElementVNode("view",{class:"swiper-card-top-card-weight"},[e.createElementVNode("view",{class:"weight-left"}," 纸尿裤-拉拉裤 "),e.createElementVNode("view",{class:"weight-right",style:{width:"40%"}}," 采购数量:50 ")]),e.createElementVNode("view",{class:"swiper-card-top-card-noral"},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 规格型号: "),e.createElementVNode("view",{class:"swiper-black"}," 800mm*690mm ")])]),e.createElementVNode("view",{class:"swiper-card-top-card-noral"},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 采购单位: "),e.createElementVNode("view",{class:"swiper-black"}," 片 ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"40%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 库存数量: "),e.createElementVNode("view",{class:"swiper-black"}," 50 ")])]),e.createElementVNode("view",{class:"swiper-card-top-card-noral"},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 库存下限: "),e.createElementVNode("view",{class:"swiper-black"}," 10 ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"40%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 库存上限: "),e.createElementVNode("view",{class:"swiper-black"}," 1000 ")])])])]),e.createElementVNode("view",{class:"swiper-card-down"},[e.createElementVNode("view",{class:"down-left"},[e.createElementVNode("view",{class:"down-left-weight"}," 供应商: "),e.createElementVNode("view",{class:"down-left-font"}," 长春市永佳利商贸有限公司1 ")]),e.createElementVNode("image",{class:"delete-img",src:"/static/index/deleteIt.png"},null,8,["src"])])])]))),64))])])]),e.createElementVNode("view",{class:"down-note"},[e.withDirectives(e.createElementVNode("textarea",{class:"down-note-title-input","onUpdate:modelValue":a[0]||(a[0]=e=>l.value=e),maxlength:"300","placeholder-style":"color:#999",placeholder:"请输入备注"},null,512),[[e.vModelText,l.value]]),e.createElementVNode("text",{class:"char-count"},e.toDisplayString(l.value.length)+"/300",1)]),e.createElementVNode("view",{class:"down-button"},[e.createElementVNode("view",{class:"swiper-left-button-orange"}," 清空 "),e.createElementVNode("view",{class:"swiper-left-button-blue"}," 保存 "),e.createElementVNode("view",{class:"swiper-left-button-blue",style:{"margin-right":"40rpx"}}," 提交 ")])])]))}}),[["__scopeId","data-v-e15809eb"]]),ke=s(e.defineComponent({__name:"index",setup(t){const l=e.ref("");return(t,a)=>(e.openBlock(),e.createElementBlock("view",{class:"draw-all"},[e.createElementVNode("view",{class:"draw-title"},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"请购清单")]),e.createElementVNode("view",{class:"draw-blue"}," 请购单号:A0120250301001 ")]),e.createElementVNode("view",{class:"draw-contain"},[e.createElementVNode("view",{class:"scroll-view"},[e.createElementVNode("scroll-view",{"scroll-y":"",style:{height:"100%","margin-top":"2%"},"show-scrollbar":!1},[e.createElementVNode("view",{class:"swiper-flex"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,1,1,1,1,1,1,1,1,1,1,1,1],((t,l)=>e.createElementVNode("view",{key:l},[e.createElementVNode("view",{class:"swiper-card"},[e.createElementVNode("view",{class:"swiper-card-top"},[e.createElementVNode("image",{class:"swiper-card-top-img",src:"/static/index/project3.png"},null,8,["src"]),e.createElementVNode("view",{class:"swiper-card-top-card"},[e.createElementVNode("view",{class:"swiper-card-top-card-weight"},[e.createElementVNode("view",{class:"weight-left"}," 纸尿裤-拉拉裤 "),e.createElementVNode("view",{class:"weight-right",style:{width:"40%"}}," 采购数量:50 ")]),e.createElementVNode("view",{class:"swiper-card-top-card-noral"},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 规格型号: "),e.createElementVNode("view",{class:"swiper-black"}," 800mm*690mm ")])]),e.createElementVNode("view",{class:"swiper-card-top-card-noral"},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 采购单位: "),e.createElementVNode("view",{class:"swiper-black"}," 片 ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"40%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 库存数量: "),e.createElementVNode("view",{class:"swiper-black"}," 50 ")])]),e.createElementVNode("view",{class:"swiper-card-top-card-noral"},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 库存下限: "),e.createElementVNode("view",{class:"swiper-black"}," 10 ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"40%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 库存上限: "),e.createElementVNode("view",{class:"swiper-black"}," 1000 ")])])])]),e.createElementVNode("view",{class:"swiper-card-down"},[e.createElementVNode("view",{class:"down-left"},[e.createElementVNode("view",{class:"down-left-weight"}," 供应商: "),e.createElementVNode("view",{class:"down-left-font"}," 长春市永佳利商贸有限公司1 ")])])])]))),64))])])]),e.createElementVNode("view",{class:"down-note"},[e.withDirectives(e.createElementVNode("textarea",{disabled:"",class:"down-note-title-input","onUpdate:modelValue":a[0]||(a[0]=e=>l.value=e),maxlength:"300","placeholder-style":"color:#999",placeholder:"该请购单未备注"},null,512),[[e.vModelText,l.value]]),e.createElementVNode("text",{class:"char-count"},e.toDisplayString(l.value.length)+"/300",1)])])]))}}),[["__scopeId","data-v-c8dcc752"]]),be=s(e.defineComponent({__name:"index",setup(t){e.ref("");const l=e.ref(0),a=e.ref(0),i=e.ref(!1),r=e.ref(!1),n=e.ref("全部"),o=e.ref("日期从近到远"),c=e.ref([{value:0,label:"全部"},{value:1,label:"出库"},{value:2,label:"入库"}]),s=e.ref([{value:0,label:"日期从近到远"},{value:1,label:"日期从远到近"}]),d=e.ref([{name:"生活用品请领",add:-20},{name:"采购入库",add:10},{name:"生活用品请领",add:-20},{name:"生活用品请领",add:20},{name:"生活用品请领",add:-20},{name:"生活用品请领",add:100},{name:"生活用品请领",add:9999}]),u=e=>{a.value=e.detail.scrollTop.toFixed(2)};return(t,a)=>(e.openBlock(),e.createElementBlock("view",{class:"draw-all"},[e.createElementVNode("view",{class:"draw-title"},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"出入库")])]),e.createElementVNode("view",{class:"draw-contain"},[e.createElementVNode("view",{class:"swiper-card"},[e.createElementVNode("view",{class:"swiper-card-top"},[e.createElementVNode("image",{class:"swiper-card-top-img",src:"/static/index/project3.png"},null,8,["src"]),e.createElementVNode("view",{class:"swiper-card-top-card"},[e.createElementVNode("view",{class:"swiper-card-top-card-weight"},[e.createElementVNode("view",{class:"weight-left"}," 纸尿裤-拉拉裤 "),e.createElementVNode("view",{class:"weight-right",style:{"margin-right":"30rpx"}}," 当前库存:96 ")]),e.createElementVNode("view",{class:"swiper-card-top-card-noral",style:{"margin-top":"20rpx"}},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 物料编码: "),e.createElementVNode("view",{class:"swiper-black"}," ZHYP044 ")])]),e.createElementVNode("view",{class:"swiper-card-top-card-noral",style:{"margin-top":"20rpx"}},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 规格型号: "),e.createElementVNode("view",{class:"swiper-black"}," 800mm*690mm ")])])])])]),e.createElementVNode("view",{class:"select-width"},[e.createElementVNode("view",{class:"select-blue",onClick:a[1]||(a[1]=e=>i.value=!i.value)},[e.createElementVNode("image",{class:"select-blue-img",src:"/static/index/warehouseCard/selectblue.png"}),e.createElementVNode("view",{class:"select-blue-font"},e.toDisplayString(n.value),1),e.createElementVNode("div",{class:"triangle-down"}),e.withDirectives(e.createElementVNode("view",{class:e.normalizeClass(["dropdown-list",i.value?"open":"close"]),onClick:a[0]||(a[0]=e.withModifiers((()=>{}),["stop"]))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:e.normalizeClass(["dropdown-item",t.label==n.value?"active":""]),onClick:e=>{n.value=t.label,i.value=!1}},e.toDisplayString(t.label),11,["onClick"])))),128))],2),[[e.vShow,i.value]])]),e.createElementVNode("view",{class:"select-white",onClick:a[3]||(a[3]=e=>r.value=!r.value)},[e.createElementVNode("image",{class:"select-blue-img",src:"/static/index/warehouseCard/selectwhite.png"}),e.createElementVNode("view",{class:"select-blue-font"},e.toDisplayString(o.value),1),e.createElementVNode("div",{class:"triangle-down"}),e.withDirectives(e.createElementVNode("view",{class:e.normalizeClass(["dropdown-list",r.value?"open":"close"]),onClick:a[2]||(a[2]=e.withModifiers((()=>{}),["stop"]))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:e.normalizeClass(["dropdown-item",t.label==o.value?"active":""]),onClick:e=>{o.value=t.label,r.value=!1}},e.toDisplayString(t.label),11,["onClick"])))),128))],2),[[e.vShow,r.value]])])]),e.createElementVNode("view",{class:"scroll-view"},[e.createElementVNode("view",{class:"scroll-view-title"},[e.createElementVNode("view",{class:"amount"}," 总计:100笔 "),e.createElementVNode("view",{class:"outhouse"},[e.createElementVNode("image",{class:"outhouse-img",src:"/static/index/warehouseCard/orangeicon.png"}),e.createElementVNode("view",{class:"outhouse-left"}," 出库: "),e.createElementVNode("view",{class:"outhouse-right"}," 50笔 ")]),e.createElementVNode("view",{class:"inhouse"},[e.createElementVNode("image",{class:"inhouse-img",src:"/static/index/warehouseCard/blueicon.png"}),e.createElementVNode("view",{class:"inhouse-left"}," 出库: "),e.createElementVNode("view",{class:"inhouse-right"}," 50笔 ")])]),e.createElementVNode("scroll-view",{"scroll-y":"","scroll-top":l.value,onScroll:u,style:{height:"770rpx","margin-top":"2%"},"show-scrollbar":!1},[e.createElementVNode("view",{class:"swiper-flex"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"swiper-card-spec"},[e.createElementVNode("view",{class:"swiper-card-top"},[e.createElementVNode("view",{class:"swiper-card-top-card"},[e.createElementVNode("view",{class:"swiper-card-top-card-weight"},[e.createElementVNode("view",{class:"weight-left"},e.toDisplayString(t.name),1),e.createElementVNode("view",{class:"weight-right",style:{color:"#59657A","font-weight":"400"}}," 摘要:服务指令 ")]),e.createElementVNode("view",{class:"swiper-card-top-card-noral"},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 服务指令:生活用品请领 ")]),e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray",style:e.normalizeStyle([t.add<0?{color:"#FF6600"}:{color:"#008AFF"},{"font-weight":"700","font-size":"35rpx"}])},e.toDisplayString(t.add>0?"+"+t.add:t.add),5)])]),e.createElementVNode("view",{class:"swiper-card-top-card-noral"},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-black"}," 2025-02-13 17:29:18 ")]),e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-black"}," 库存: "),e.createElementVNode("view",{class:"swiper-black"}," 96 ")])])])]),e.createElementVNode("view",{class:"swiper-card-down"},[e.createElementVNode("view",{class:"down-left"},[e.createElementVNode("view",{class:"down-left-weight"}," 供应商: "),e.createElementVNode("view",{class:"down-left-font"}," 长春市永佳利商贸有限公司1 ")]),e.createElementVNode("image",{class:"delete-img",src:"/static/index/deleteIt.png"},null,8,["src"])])])])))),128))])],40,["scroll-top"])])])]))}}),[["__scopeId","data-v-a22273dc"]]);const Se=s({name:"u-icon",emits:["click","touchstart"],props:{name:{type:String,default:""},color:{type:[String,null],default:""},size:{type:[Number,String],default:"inherit"},bold:{type:Boolean,default:!1},index:{type:[Number,String],default:""},hoverClass:{type:String,default:""},customPrefix:{type:String,default:"uicon"},label:{type:[String,Number],default:""},labelPos:{type:String,default:"right"},labelSize:{type:[String,Number],default:"28"},labelColor:{type:String,default:"#606266"},marginLeft:{type:[String,Number],default:"6"},marginTop:{type:[String,Number],default:"6"},marginRight:{type:[String,Number],default:"6"},marginBottom:{type:[String,Number],default:"6"},imgMode:{type:String,default:"widthFix"},customStyle:{type:Object,default:()=>({})},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""},top:{type:[String,Number],default:0},showDecimalIcon:{type:Boolean,default:!1},inactiveColor:{type:String,default:"#ececec"},percent:{type:[Number,String],default:"50"}},computed:{customClass(){let e=[],{customPrefix:t,name:l}=this,a=l.indexOf("-icon-");return a>-1?(t=l.substring(0,a+5),e.push(l)):e.push(`${t}-${l}`),"uicon"===t?e.push("u-iconfont"):e.push(t),this.showDecimalIcon&&this.inactiveColor&&this.$u.config.type.includes(this.inactiveColor)?e.push("u-icon__icon--"+this.inactiveColor):this.color&&this.$u.config.type.includes(this.color)&&e.push("u-icon__icon--"+this.color),e},iconStyle(){let e={};return e={fontSize:"inherit"==this.size?"inherit":this.$u.addUnit(this.size),fontWeight:this.bold?"bold":"normal",top:this.$u.addUnit(this.top)},this.showDecimalIcon&&this.inactiveColor&&!this.$u.config.type.includes(this.inactiveColor)?e.color=this.inactiveColor:this.color&&!this.$u.config.type.includes(this.color)&&(e.color=this.color),e},isImg(){return-1!==this.name.indexOf("/")},imgStyle(){let e={};return e.width=this.width?this.$u.addUnit(this.width):this.$u.addUnit(this.size),e.height=this.height?this.$u.addUnit(this.height):this.$u.addUnit(this.size),e},decimalIconStyle(){let e={};return e={fontSize:"inherit"==this.size?"inherit":this.$u.addUnit(this.size),fontWeight:this.bold?"bold":"normal",top:this.$u.addUnit(this.top),width:this.percent+"%"},this.color&&!this.$u.config.type.includes(this.color)&&(e.color=this.color),e},decimalIconClass(){let e=[];return e.push(this.customPrefix+"-"+this.name),"uicon"==this.customPrefix?e.push("u-iconfont"):e.push(this.customPrefix),this.color&&this.$u.config.type.includes(this.color)?e.push("u-icon__icon--"+this.color):e.push("u-icon__icon--primary"),e}},methods:{click(){this.$emit("click",this.index)},touchstart(){this.$emit("touchstart",this.index)}}},[["render",function(t,l,a,i,r,n){return e.openBlock(),e.createElementBlock("view",{style:e.normalizeStyle([a.customStyle]),class:e.normalizeClass(["u-icon",["u-icon--"+a.labelPos]]),onClick:l[1]||(l[1]=(...e)=>n.click&&n.click(...e))},[n.isImg?(e.openBlock(),e.createElementBlock("image",{key:0,class:"u-icon__img",src:a.name,mode:a.imgMode,style:e.normalizeStyle([n.imgStyle])},null,12,["src","mode"])):(e.openBlock(),e.createElementBlock("view",{key:1,class:e.normalizeClass(["u-icon__icon",n.customClass]),style:e.normalizeStyle([n.iconStyle]),"hover-class":a.hoverClass,onTouchstart:l[0]||(l[0]=(...e)=>n.touchstart&&n.touchstart(...e))},[a.showDecimalIcon?(e.openBlock(),e.createElementBlock("text",{key:0,style:e.normalizeStyle([n.decimalIconStyle]),class:e.normalizeClass([n.decimalIconClass,"u-icon__decimal"]),"hover-class":a.hoverClass},null,14,["hover-class"])):e.createCommentVNode("",!0)],46,["hover-class"])),""!==a.label&&null!==a.label?(e.openBlock(),e.createElementBlock("text",{key:2,class:"u-icon__label",style:e.normalizeStyle({color:a.labelColor,fontSize:t.$u.addUnit(a.labelSize),marginLeft:"right"==a.labelPos?t.$u.addUnit(a.marginLeft):0,marginTop:"bottom"==a.labelPos?t.$u.addUnit(a.marginTop):0,marginRight:"left"==a.labelPos?t.$u.addUnit(a.marginRight):0,marginBottom:"top"==a.labelPos?t.$u.addUnit(a.marginBottom):0})},e.toDisplayString(a.label),5)):e.createCommentVNode("",!0)],6)}],["__scopeId","data-v-32e6a46e"]]);const Te=s({name:"u-button",emits:["click","getphonenumber","getuserinfo","error","opensetting","launchapp","chooseavatar"],props:{hairLine:{type:Boolean,default:!0},type:{type:String,default:"default"},size:{type:String,default:"default"},shape:{type:String,default:"square"},plain:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},openType:{type:String,default:""},formType:{type:String,default:""},appParameter:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},lang:{type:String,default:"en"},sessionFrom:{type:String,default:""},sendMessageTitle:{type:String,default:""},sendMessagePath:{type:String,default:""},sendMessageImg:{type:String,default:""},showMessageCard:{type:Boolean,default:!1},hoverBgColor:{type:String,default:""},rippleBgColor:{type:String,default:""},ripple:{type:Boolean,default:!1},hoverClass:{type:String,default:""},customStyle:{type:Object,default:()=>({})},dataName:{type:String,default:""},throttleTime:{type:[String,Number],default:500},hoverStartTime:{type:[String,Number],default:20},hoverStayTime:{type:[String,Number],default:150},timerId:{type:[String,Number]}},computed:{getHoverClass(){if(this.loading||this.disabled||this.ripple||this.hoverClass)return"";let e="";return e=this.plain?"u-"+this.type+"-plain-hover":"u-"+this.type+"-hover",e},showHairLineBorder(){return["primary","success","error","warning"].indexOf(this.type)>=0&&!this.plain?"":"u-hairline-border"}},data(){return{btnTimerId:this.timerId||"button_"+Math.floor(1e8*Math.random()+0),rippleTop:0,rippleLeft:0,fields:{},waveActive:!1}},methods:{click(e){this.$u.throttle((()=>{!0!==this.loading&&!0!==this.disabled&&(this.ripple&&(this.waveActive=!1,this.$nextTick((function(){this.getWaveQuery(e)}))),this.$emit("click",e))}),this.throttleTime,!0,this.btnTimerId)},getWaveQuery(e){this.getElQuery().then((t=>{let l=t[0];if(!l.width||!l.width)return;if(l.targetWidth=l.height>l.width?l.height:l.width,!l.targetWidth)return;this.fields=l;let a="",i="";a=e.touches[0].clientX,i=e.touches[0].clientY,this.rippleTop=i-l.top-l.targetWidth/2,this.rippleLeft=a-l.left-l.targetWidth/2,this.$nextTick((()=>{this.waveActive=!0}))}))},getElQuery(){return new Promise((e=>{let t="";t=uni.createSelectorQuery().in(this),t.select(".u-btn").boundingClientRect(),t.exec((t=>{e(t)}))}))},getphonenumber(e){this.$emit("getphonenumber",e)},getuserinfo(e){this.$emit("getuserinfo",e)},error(e){this.$emit("error",e)},opensetting(e){this.$emit("opensetting",e)},launchapp(e){this.$emit("launchapp",e)},chooseavatar(e){this.$emit("chooseavatar",e)}}},[["render",function(t,l,a,i,r,n){return e.openBlock(),e.createElementBlock("button",{id:"u-wave-btn",class:e.normalizeClass(["u-btn u-line-1 u-fix-ios-appearance",["u-size-"+a.size,a.plain?"u-btn--"+a.type+"--plain":"",a.loading?"u-loading":"","circle"==a.shape?"u-round-circle":"",a.hairLine?n.showHairLineBorder:"u-btn--bold-border","u-btn--"+a.type,a.disabled?`u-btn--${a.type}--disabled`:""]]),"hover-start-time":Number(a.hoverStartTime),"hover-stay-time":Number(a.hoverStayTime),disabled:a.disabled,"form-type":a.formType,"open-type":a.openType,"app-parameter":a.appParameter,"hover-stop-propagation":a.hoverStopPropagation,"send-message-title":a.sendMessageTitle,"send-message-path":"sendMessagePath",lang:a.lang,"data-name":a.dataName,"session-from":a.sessionFrom,"send-message-img":a.sendMessageImg,"show-message-card":a.showMessageCard,onGetphonenumber:l[0]||(l[0]=(...e)=>n.getphonenumber&&n.getphonenumber(...e)),onGetuserinfo:l[1]||(l[1]=(...e)=>n.getuserinfo&&n.getuserinfo(...e)),onError:l[2]||(l[2]=(...e)=>n.error&&n.error(...e)),onOpensetting:l[3]||(l[3]=(...e)=>n.opensetting&&n.opensetting(...e)),onLaunchapp:l[4]||(l[4]=(...e)=>n.launchapp&&n.launchapp(...e)),onChooseavatar:l[5]||(l[5]=(...e)=>n.chooseavatar&&n.chooseavatar(...e)),style:e.normalizeStyle([a.customStyle,{overflow:a.ripple?"hidden":"visible"}]),onClick:l[6]||(l[6]=e.withModifiers((e=>n.click(e)),["stop"])),"hover-class":n.getHoverClass,loading:a.loading},[e.renderSlot(t.$slots,"default",{},void 0,!0),a.ripple?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["u-wave-ripple",[r.waveActive?"u-wave-active":""]]),style:e.normalizeStyle({top:r.rippleTop+"px",left:r.rippleLeft+"px",width:r.fields.targetWidth+"px",height:r.fields.targetWidth+"px","background-color":a.rippleBgColor||"rgba(0, 0, 0, 0.15)"})},null,6)):e.createCommentVNode("",!0)],46,["hover-start-time","hover-stay-time","disabled","form-type","open-type","app-parameter","hover-stop-propagation","send-message-title","lang","data-name","session-from","send-message-img","show-message-card","hover-class","loading"])}],["__scopeId","data-v-942515d8"]]);const Ce=s({name:"u-mask",emits:["click"],props:{show:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:""},customStyle:{type:Object,default:()=>({})},zoom:{type:Boolean,default:!0},duration:{type:[Number,String],default:300},maskClickAble:{type:Boolean,default:!0},blur:{type:[Number,String],default:0}},data:()=>({zoomStyle:{transform:""},scale:"scale(1.2, 1.2)"}),watch:{show(e){e&&this.zoom?this.zoomStyle.transform="scale(1, 1)":!e&&this.zoom&&(this.zoomStyle.transform=this.scale)}},computed:{maskStyle(){let e={backgroundColor:"rgba(0, 0, 0, 0.6)"};return this.show?e.zIndex=this.zIndex?this.zIndex:this.$u.zIndex.mask:e.zIndex=-1,e.transition=`all ${this.duration/1e3}s ease-in-out`,Object.keys(this.customStyle).length&&(e={...e,...this.customStyle}),e},filterStyle(){let{blur:e}=this,t={};return e&&(t.backdropFilter=`blur(${e}rpx)`),t}},methods:{click(){this.maskClickAble&&this.$emit("click")}}},[["render",function(t,l,a,i,r,n){return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["u-mask",{"u-mask-zoom":a.zoom,"u-mask-show":a.show}]),"hover-stop-propagation":"",style:e.normalizeStyle([n.maskStyle,r.zoomStyle,n.filterStyle]),onClick:l[0]||(l[0]=(...e)=>n.click&&n.click(...e)),onTouchmove:e.withModifiers((()=>{}),["stop","prevent"])},[e.renderSlot(t.$slots,"default",{},void 0,!0)],38)}],["__scopeId","data-v-005d3602"]]);const Be=s({name:"u-popup",emits:["update:modelValue","input","open","close"],props:{value:{type:Boolean,default:!1},modelValue:{type:Boolean,default:!1},show:{type:Boolean,default:!1},mode:{type:String,default:"left"},mask:{type:Boolean,default:!0},length:{type:[Number,String],default:"auto"},zoom:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseAble:{type:Boolean,default:!0},customStyle:{type:Object,default:()=>({})},popup:{type:Boolean,default:!0},borderRadius:{type:[Number,String],default:0},zIndex:{type:[Number,String],default:""},closeable:{type:Boolean,default:!1},closeIcon:{type:String,default:"close"},closeIconPos:{type:String,default:"top-right"},closeIconColor:{type:String,default:"#909399"},closeIconSize:{type:[String,Number],default:"30"},width:{type:String,default:""},height:{type:String,default:""},negativeTop:{type:[String,Number],default:0},maskCustomStyle:{type:Object,default:()=>({})},duration:{type:[String,Number],default:250},blur:{type:[String,Number],default:0}},data:()=>({visibleSync:!1,showDrawer:!1,timer:null,closeFromInner:!1}),computed:{valueCom(){return this.modelValue},style(){let e={};if("left"==this.mode||"right"==this.mode?e={width:this.width?this.getUnitValue(this.width):this.getUnitValue(this.length),height:"100%",transform:`translate3D(${"left"==this.mode?"-100%":"100%"},0px,0px)`}:"top"!=this.mode&&"bottom"!=this.mode||(e={width:"100%",height:this.height?this.getUnitValue(this.height):this.getUnitValue(this.length),transform:`translate3D(0px,${"top"==this.mode?"-100%":"100%"},0px)`}),e.zIndex=this.uZindex,this.borderRadius){switch(this.mode){case"left":e.borderRadius=`0 ${this.borderRadius}rpx ${this.borderRadius}rpx 0`;break;case"top":e.borderRadius=`0 0 ${this.borderRadius}rpx ${this.borderRadius}rpx`;break;case"right":e.borderRadius=`${this.borderRadius}rpx 0 0 ${this.borderRadius}rpx`;break;case"bottom":e.borderRadius=`${this.borderRadius}rpx ${this.borderRadius}rpx 0 0`}e.overflow="hidden"}return this.duration&&(e.transition=`all ${this.duration/1e3}s linear`),e},centerStyle(){let e={};return e.width=this.width?this.getUnitValue(this.width):this.getUnitValue(this.length),e.height=this.height?this.getUnitValue(this.height):"auto",e.zIndex=this.uZindex,e.marginTop=`-${this.$u.addUnit(this.negativeTop)}`,this.borderRadius&&(e.borderRadius=`${this.borderRadius}rpx`,e.overflow="hidden"),e},uZindex(){return this.zIndex?this.zIndex:this.$u.zIndex.popup}},watch:{valueCom:{handler(e){e?this.open():this.closeFromInner||this.close(),this.closeFromInner=!1}}},mounted(){this.valueCom&&this.open()},methods:{getUnitValue:e=>/(%|px|rpx|auto)$/.test(e)?e:e+"rpx",maskClick(){this.close()},close(){this.closeFromInner=!0,this.change("showDrawer","visibleSync",!1)},modeCenterClose(e){"center"==e&&this.maskCloseAble&&this.close()},open(){this.change("visibleSync","showDrawer",!0)},change(e,t,l){1==this.popup&&(this.$emit("input",l),this.$emit("update:modelValue",l)),this[e]=l,l?this.$nextTick((()=>{this[t]=l,this.$emit(l?"open":"close")})):this.timer=setTimeout((()=>{this[t]=l,this.$emit(l?"open":"close")}),this.duration)}}},[["render",function(t,l,i,r,n,o){const c=a(e.resolveDynamicComponent("u-mask"),Ce),s=a(e.resolveDynamicComponent("u-icon"),Se);return n.visibleSync?(e.openBlock(),e.createElementBlock("view",{key:0,style:e.normalizeStyle([i.customStyle,{zIndex:o.uZindex-1}]),class:"u-drawer","hover-stop-propagation":""},[e.createVNode(c,{blur:i.blur,duration:i.duration,"custom-style":i.maskCustomStyle,maskClickAble:i.maskCloseAble,"z-index":o.uZindex-2,show:n.showDrawer&&i.mask,onClick:o.maskClick},null,8,["blur","duration","custom-style","maskClickAble","z-index","show","onClick"]),e.createElementVNode("view",{class:e.normalizeClass(["u-drawer-content",[i.safeAreaInsetBottom?"safe-area-inset-bottom":"","u-drawer-"+i.mode,n.showDrawer?"u-drawer-content-visible":"",i.zoom&&"center"==i.mode?"u-animation-zoom":""]]),onClick:l[3]||(l[3]=e=>o.modeCenterClose(i.mode)),onTouchmove:l[4]||(l[4]=e.withModifiers((()=>{}),["stop","prevent"])),style:e.normalizeStyle([o.style])},["center"==i.mode?(e.openBlock(),e.createElementBlock("view",{key:0,class:"u-mode-center-box",onClick:l[0]||(l[0]=e.withModifiers((()=>{}),["stop","prevent"])),onTouchmove:l[1]||(l[1]=e.withModifiers((()=>{}),["stop","prevent"])),style:e.normalizeStyle([o.centerStyle])},[i.closeable?(e.openBlock(),e.createBlock(s,{key:0,onClick:o.close,class:e.normalizeClass(["u-close",["u-close--"+i.closeIconPos]]),name:i.closeIcon,color:i.closeIconColor,size:i.closeIconSize},null,8,["onClick","class","name","color","size"])):e.createCommentVNode("",!0),e.createElementVNode("scroll-view",{class:"u-drawer__scroll-view","scroll-y":"true"},[e.renderSlot(t.$slots,"default",{},void 0,!0)])],36)):(e.openBlock(),e.createElementBlock("scroll-view",{key:1,class:"u-drawer__scroll-view","scroll-y":"true"},[e.renderSlot(t.$slots,"default",{},void 0,!0)])),e.createElementVNode("view",{onClick:l[2]||(l[2]=(...e)=>o.close&&o.close(...e)),class:e.normalizeClass(["u-close",["u-close--"+i.closeIconPos]])},["center"!=i.mode&&i.closeable?(e.openBlock(),e.createBlock(s,{key:0,name:i.closeIcon,color:i.closeIconColor,size:i.closeIconSize},null,8,["name","color","size"])):e.createCommentVNode("",!0)],2)],38)],4)):e.createCommentVNode("",!0)}],["__scopeId","data-v-98075be7"]]);const De=s({name:"u-calendar",emits:["update:modelValue","input","change"],props:{value:{type:Boolean,default:!1},modelValue:{type:Boolean,default:!1},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseAble:{type:Boolean,default:!0},zIndex:{type:[String,Number],default:0},changeYear:{type:Boolean,default:!0},changeMonth:{type:Boolean,default:!0},mode:{type:String,default:"date"},maxYear:{type:[Number,String],default:2050},minYear:{type:[Number,String],default:1950},minDate:{type:[Number,String],default:"1950-01-01"},maxDate:{type:[Number,String],default:""},borderRadius:{type:[String,Number],default:20},monthArrowColor:{type:String,default:"#606266"},yearArrowColor:{type:String,default:"#909399"},color:{type:String,default:"#303133"},activeBgColor:{type:String,default:"#2979ff"},activeColor:{type:String,default:"#ffffff"},rangeBgColor:{type:String,default:"rgba(41,121,255,0.13)"},rangeColor:{type:String,default:"#2979ff"},startText:{type:String,default:"开始"},endText:{type:String,default:"结束"},btnType:{type:String,default:"primary"},isActiveCurrent:{type:Boolean,default:!0},isChange:{type:Boolean,default:!1},closeable:{type:Boolean,default:!0},toolTip:{type:String,default:"选择日期"},blur:{type:[Number,String],default:0},confirmText:{type:String,default:"确定"},toText:{type:String,default:"至"},yearText:{type:String,default:"年"},monthText:{type:String,default:"月"}},data:()=>({popupValue:!1,weekday:1,weekdayArr:[],days:0,daysArr:[],showTitle:"",year:2020,month:0,day:0,startYear:0,startMonth:0,startDay:0,endYear:0,endMonth:0,endDay:0,today:"",activeDate:"",startDate:"",endDate:"",isStart:!0,min:null,max:null,weekDayZh:["日","一","二","三","四","五","六"]}),computed:{valueCom(){return this.modelValue},dataChange(){return`${this.mode}-${this.minDate}-${this.maxDate}`},uZIndex(){return this.zIndex?this.zIndex:this.$u.zIndex.popup}},watch:{dataChange(e){this.init()},valueCom:{immediate:!0,handler(e){this.popupValue=e}}},created(){this.init()},methods:{getColor(e,t){let l=1==t?"":this.color,a=e+1,i=`${this.year}-${this.month}-${a}`,r=new Date(i.replace(/\-/g,"/")).getTime(),n=this.startDate.replace(/\-/g,"/"),o=this.endDate.replace(/\-/g,"/");return this.isActiveCurrent&&this.activeDate==i||this.startDate==i||this.endDate==i?l=1==t?null:this.activeColor:this.endDate&&r>new Date(n).getTime()&&r<new Date(o).getTime()&&(l=1==t?this.rangeBgColor:this.rangeColor),l},getStyle(e){let t=e+1,l=`${this.year}-${this.month}-${t}`;const a=this.isActiveCurrent&&this.activeDate===l||this.startDate===l||this.endDate===l;return{background:a?"linear-gradient(to top, #0076ff, #00c9ff)":"",border:a?"2rpx solid #fff":""}},init(){let e=new Date;this.year=e.getFullYear(),this.month=e.getMonth()+1,this.day=e.getDate(),this.today=`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`,this.activeDate=this.today,this.min=this.initDate(this.minDate),this.max=this.initDate(this.maxDate||this.today),this.startDate="",this.startYear=0,this.startMonth=0,this.startDay=0,this.endYear=0,this.endMonth=0,this.endDay=0,this.endDate="",this.isStart=!0,this.changeData()},initDate(e){let t=e.split("-");return{year:Number(t[0]||1920),month:Number(t[1]||1),day:Number(t[2]||1)}},openDisAbled:function(e,t,l){let a=!0,i=`${e}/${t}/${l}`,r=`${this.min.year}/${this.min.month}/${this.min.day}`,n=`${this.max.year}/${this.max.month}/${this.max.day}`,o=new Date(i).getTime();return o>=new Date(r).getTime()&&o<=new Date(n).getTime()&&(a=!1),a},generateArray:function(e,t){return Array.from(new Array(t+1).keys()).slice(e)},formatNum:function(e){return e<10?"0"+e:e+""},getMonthDay:(e,t)=>new Date(e,t,0).getDate(),getWeekday:(e,t)=>new Date(`${e}/${t}/01 00:00:00`).getDay(),checkRange(e){let t=!1;return(e<this.minYear||e>this.maxYear)&&(uni.showToast({title:"日期超出范围啦~",icon:"none"}),t=!0),t},changeMonthHandler(e){if(e){let e=this.month+1,t=e>12?this.year+1:this.year;this.checkRange(t)||(this.month=e>12?1:e,this.year=t,this.changeData())}else{let e=this.month-1,t=e<1?this.year-1:this.year;this.checkRange(t)||(this.month=e<1?12:e,this.year=t,this.changeData())}},changeYearHandler(e){let t=e?this.year+1:this.year-1;this.checkRange(t)||(this.year=t,this.changeData())},changeData(){this.days=this.getMonthDay(this.year,this.month),this.daysArr=this.generateArray(1,this.days),this.weekday=this.getWeekday(this.year,this.month),this.weekdayArr=this.generateArray(1,this.weekday),this.showTitle=`${this.year}${this.yearText}${this.month}${this.monthText}`,this.isChange&&"date"==this.mode&&this.btnFix(!0)},dateClick:function(e){if(e+=1,!this.openDisAbled(this.year,this.month,e)){this.day=e;let t=`${this.year}-${this.month}-${e}`;if("date"==this.mode)this.activeDate=t;else{let e=new Date(t.replace(/\-/g,"/")).getTime()<new Date(this.startDate.replace(/\-/g,"/")).getTime();this.isStart||e?(this.startDate=t,this.startYear=this.year,this.startMonth=this.month,this.startDay=this.day,this.endYear=0,this.endMonth=0,this.endDay=0,this.endDate="",this.activeDate="",this.isStart=!1):(this.endDate=t,this.endYear=this.year,this.endMonth=this.month,this.endDay=this.day,this.isStart=!0)}}},close(){this.$emit("input",!1),this.$emit("update:modelValue",!1)},getWeekText:e=>"星期"+["日","一","二","三","四","五","六"][(e=new Date(`${e.replace(/\-/g,"/")} 00:00:00`)).getDay()],btnFix(e){if(e||this.close(),"date"==this.mode){let e=this.activeDate.split("-"),t=this.isChange?this.year:Number(e[0]),l=this.isChange?this.month:Number(e[1]),a=this.isChange?this.day:Number(e[2]),i=this.getMonthDay(t,l),r=`${t}-${this.formatNum(l)}-${this.formatNum(a)}`,n=this.getWeekText(r),o=!1;`${t}-${l}-${a}`==this.today&&(o=!0),this.$emit("change",{year:t,month:l,day:a,days:i,result:r,week:n,isToday:o})}else{if(!this.startDate||!this.endDate)return;let e=this.formatNum(this.startMonth),t=this.formatNum(this.startDay),l=`${this.startYear}-${e}-${t}`,a=this.getWeekText(l),i=this.formatNum(this.endMonth),r=this.formatNum(this.endDay),n=`${this.endYear}-${i}-${r}`,o=this.getWeekText(n);this.$emit("change",{startYear:this.startYear,startMonth:this.startMonth,startDay:this.startDay,startDate:l,startWeek:a,endYear:this.endYear,endMonth:this.endMonth,endDay:this.endDay,endDate:n,endWeek:o})}}}},[["render",function(t,l,i,r,n,o){const c=a(e.resolveDynamicComponent("u-icon"),Se),s=a(e.resolveDynamicComponent("u-button"),Te),d=a(e.resolveDynamicComponent("u-popup"),Be);return e.openBlock(),e.createBlock(d,{blur:i.blur,closeable:"",maskCloseAble:i.maskCloseAble,mode:"bottom",popup:!1,modelValue:n.popupValue,"onUpdate:modelValue":l[5]||(l[5]=e=>n.popupValue=e),length:"auto",safeAreaInsetBottom:i.safeAreaInsetBottom,onClose:o.close,"z-index":o.uZIndex,"border-radius":i.borderRadius},{default:e.withCtx((()=>[e.createElementVNode("view",{class:"u-calendar"},[e.createElementVNode("view",{class:"u-calendar__action u-flex u-row-center"},[e.createElementVNode("view",{class:"u-calendar__action__icon"},[i.changeYear?(e.openBlock(),e.createBlock(c,{key:0,name:"arrow-left-double",color:i.yearArrowColor,onClick:l[0]||(l[0]=e=>o.changeYearHandler(0))},null,8,["color"])):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"u-calendar__action__icon"},[i.changeMonth?(e.openBlock(),e.createBlock(c,{key:0,name:"arrow-left",color:i.monthArrowColor,onClick:l[1]||(l[1]=e=>o.changeMonthHandler(0))},null,8,["color"])):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"u-calendar__action__text"},e.toDisplayString(n.showTitle),1),e.createElementVNode("view",{class:"u-calendar__action__icon"},[i.changeMonth?(e.openBlock(),e.createBlock(c,{key:0,name:"arrow-right",color:i.monthArrowColor,onClick:l[2]||(l[2]=e=>o.changeMonthHandler(1))},null,8,["color"])):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"u-calendar__action__icon"},[i.changeYear?(e.openBlock(),e.createBlock(c,{key:0,name:"arrow-right-double",color:i.yearArrowColor,onClick:l[3]||(l[3]=e=>o.changeYearHandler(1))},null,8,["color"])):e.createCommentVNode("",!0)])]),e.createElementVNode("view",{class:"u-calendar__week-day"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.weekDayZh,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"u-calendar__week-day__text",key:l},e.toDisplayString(t),1)))),128))]),e.createElementVNode("view",{class:"u-calendar__content"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.weekdayArr,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"u-calendar__content__item"})))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.daysArr,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["u-calendar__content__item",{"u-hover-class":o.openDisAbled(n.year,n.month,l+1),"u-calendar__content--start-date":"range"==i.mode&&n.startDate==`${n.year}-${n.month}-${l+1}`||"date"==i.mode,"u-calendar__content--end-date":"range"==i.mode&&n.endDate==`${n.year}-${n.month}-${l+1}`||"date"==i.mode}]),style:e.normalizeStyle([o.getStyle(l),{"border-radius":"30rpx"}]),key:l,onClick:e=>o.dateClick(l)},[e.createElementVNode("view",{class:"u-calendar__content__item__inner",style:e.normalizeStyle({color:o.getColor(l,2)})},[e.createElementVNode("view",null,e.toDisplayString(l+1),1)],4),"range"==i.mode&&n.startDate==`${n.year}-${n.month}-${l+1}`&&n.startDate!=n.endDate?(e.openBlock(),e.createElementBlock("view",{key:0,class:"u-calendar__content__item__tips",style:e.normalizeStyle({color:i.activeColor})},e.toDisplayString(i.startText),5)):e.createCommentVNode("",!0),"range"==i.mode&&n.endDate==`${n.year}-${n.month}-${l+1}`?(e.openBlock(),e.createElementBlock("view",{key:1,class:"u-calendar__content__item__tips",style:e.normalizeStyle({color:i.activeColor})},e.toDisplayString(i.endText),5)):e.createCommentVNode("",!0)],14,["onClick"])))),128)),e.createElementVNode("view",{class:"u-calendar__content__bg-month"},e.toDisplayString(n.month),1)]),e.createElementVNode("view",{class:"u-calendar__bottom"},[e.createElementVNode("view",{class:"u-calendar__bottom__choose"},[e.createElementVNode("text",null,e.toDisplayString("date"==i.mode?n.activeDate:n.startDate),1),n.endDate?(e.openBlock(),e.createElementBlock("text",{key:0},e.toDisplayString(i.toText)+e.toDisplayString(n.endDate),1)):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"u-calendar__bottom__btn"},[e.createVNode(s,{type:i.btnType,shape:"circle",size:"default",onClick:l[4]||(l[4]=e=>o.btnFix(!1)),disabled:"range"==i.mode&&!n.endDate},{default:e.withCtx((()=>[e.createTextVNode(e.toDisplayString(i.confirmText),1)])),_:1},8,["type","disabled"])])])])])),_:1},8,["blur","maskCloseAble","modelValue","safeAreaInsetBottom","onClose","z-index","border-radius","closeable"])}],["__scopeId","data-v-d354e4bf"]]),ze=s(e.defineComponent({__name:"index",emits:["opendetail"],setup(t,{emit:l}){e.ref("");const i=e.ref(!1),r=e.ref(""),n=e.ref([{url:"/static/index/Warehousing/sousuo.png",name:"查询"},{url:"/static/index/Warehousing/chongzhi.png",name:"重置"}]),o=l,c=e=>{r.value=e.result},s=()=>{o("opendetail")};return(t,l)=>{const o=a(e.resolveDynamicComponent("u-calendar"),De);return e.openBlock(),e.createElementBlock("view",{class:"draw-all"},[e.createElementVNode("view",{class:"draw-contain"},[e.createElementVNode("view",{class:"index-right-height"}),e.createElementVNode("view",{class:"index-right-title"},[e.createElementVNode("view",{class:"index-right-name"}," 请购单号: "),e.createElementVNode("input",{class:"index-right-input",placeholder:"请输入请购单号"}),e.createElementVNode("view",{class:"index-right-name"}," 请购人: "),e.createElementVNode("input",{class:"index-right-input",placeholder:"请输入请购人"}),e.createElementVNode("view",{class:"index-right-name"}," 请购日期: "),e.createElementVNode("view",{onClick:l[0]||(l[0]=e.withModifiers((e=>i.value=!0),["stop"]))},[e.createElementVNode("view",{class:"index-right-input",style:e.normalizeStyle([{width:"300rpx",height:"66rpx"},r.value?{}:{color:"#999"}])},e.toDisplayString(r.value?r.value:"请输入请购日期"),5)]),e.createVNode(o,{style:{width:"40%","margin-left":"30%"},"border-radius":"40",modelValue:i.value,"onUpdate:modelValue":l[1]||(l[1]=e=>i.value=e),mode:"date",onChange:c},null,8,["modelValue"]),e.createElementVNode("view",{class:"index-right-button-all"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"index-right-button"},[e.createElementVNode("image",{class:"index-right-button-img",src:t.url},null,8,["src"]),e.createElementVNode("view",{class:"index-right-button-font"},e.toDisplayString(t.name),1)])])))),128))])]),e.createElementVNode("view",{class:"scroll-view"},[e.createElementVNode("scroll-view",{"scroll-y":"",style:{height:"93%","margin-top":"2%"},"show-scrollbar":!1},[e.createElementVNode("view",{class:"swiper-flex"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,1,1,1,1,1,1,1,1,1,1,1,1],((t,l)=>e.createElementVNode("view",{key:l},[e.createElementVNode("view",{class:"swiper-card"},[e.createElementVNode("view",{class:"swiper-card-top"},[e.createElementVNode("view",{class:"swiper-card-top-card"},[e.createElementVNode("view",{class:"swiper-card-top-card-weight"},[e.createElementVNode("view",{class:"weight-left"},[e.createElementVNode("view",{class:""},"请购单号"),e.createElementVNode("view",{class:"blue-number"},"A0120250301001")]),e.createElementVNode("view",{class:"index-right-button-blue",onClick:s}," 详情 ")]),e.createElementVNode("view",{class:"swiper-card-top-card-noral"},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 请购日期: "),e.createElementVNode("view",{class:"swiper-black"}," 2025.03.01 ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"40%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 请购人: "),e.createElementVNode("view",{class:"swiper-black"}," 王法 ")])])])])])]))),64))])])])])])}}}),[["__scopeId","data-v-cb386bfb"]]),Ie=s({__name:"ball",props:{isShow:{type:Boolean,required:!0}},emits:["clickBall"],setup(t,{emit:l}){const a=l,i=e.ref(1090),r=e.ref(120),n=e.ref(!1);let o=0,c=0,s=0,d=0,u=null,m=0,v=0;function p(e){const t=e.touches[0];o=t.clientX.toFixed(2),c=t.clientY.toFixed(2),s=i.value,d=r.value,u=setTimeout((()=>{n.value=!0}),300)}function g(e){if(!n.value){const t=e.touches[0],l=Math.abs(t.clientX.toFixed(2)-o),a=Math.abs(t.clientY.toFixed(2)-c);(l>5||a>5)&&(clearTimeout(u),n.value=!0)}if(n.value){const t=e.touches[0];let l=s+(t.clientX.toFixed(2)-o),a=d+(t.clientY.toFixed(2)-c);l=Math.max(0,Math.min(l,m-60)),a=Math.max(0,Math.min(a,v-60)),i.value=l,r.value=a}}function w(e){clearTimeout(u),n.value?n.value=!1:a("clickBall")}return e.onMounted((()=>{const e=uni.getSystemInfoSync();m=e.windowWidth,v=e.windowHeight})),(l,a)=>e.withDirectives((e.openBlock(),e.createElementBlock("view",{class:"floating-ball",style:e.normalizeStyle({left:i.value+"px",top:r.value+"px"}),onTouchstart:p,onTouchmove:g,onTouchend:w,onTouchcancel:w},[e.createElementVNode("image",{class:"floating-ball-img",src:"/static/index/caigouqingdan.png"})],36)),[[e.vShow,t.isShow]])}},[["__scopeId","data-v-5147ae32"]]),Fe=s(e.defineComponent({__name:"info",emits:["qinggou","churuku"],setup(t,{emit:l}){const a=l,i=e=>{a(e)};return(t,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("view",{class:"popup-detail-left"},[e.createElementVNode("view",{class:"popup-detail-left-white"},[e.createElementVNode("image",{class:"popup-detail-left-white-img",src:"/static/index/project3.png"},null,8,["src"])]),e.createElementVNode("view",{class:"popup-detail-left-bottom"},[e.createElementVNode("view",{class:"popup-small-card"},[e.createElementVNode("view",{class:"popup-small-circle"},[e.createElementVNode("image",{class:"popup-small-circle-img",src:"/static/index/saveUp.png"})]),e.createElementVNode("view",{class:"popup-small-number"},"1000"),e.createElementVNode("view",{class:"popup-small-font"},"库存上限")]),e.createElementVNode("view",{class:"popup-small-shu"}),e.createElementVNode("view",{class:"popup-small-card"},[e.createElementVNode("view",{class:"popup-small-circle"},[e.createElementVNode("image",{class:"popup-small-circle-img",src:"/static/index/saveDown.png"})]),e.createElementVNode("view",{class:"popup-small-number"},"10"),e.createElementVNode("view",{class:"popup-small-font"},"库存下限")]),e.createElementVNode("view",{class:"popup-small-shu"}),e.createElementVNode("view",{class:"popup-small-card"},[e.createElementVNode("view",{class:"popup-small-circle"},[e.createElementVNode("image",{class:"popup-small-circle-img",src:"/static/index/saveNumber.png"})]),e.createElementVNode("view",{class:"popup-small-number"},"50"),e.createElementVNode("view",{class:"popup-small-font"},"库存数量")])])]),e.createElementVNode("view",{class:"popup-detail-right"},[e.createElementVNode("view",{class:"popup-detail-title"},[e.createElementVNode("view",{class:"popup-detail-weight"}," 纸尿裤-拉拉裤 "),e.createElementVNode("view",{class:"popup-detail-gray"}," ZHYP044 ")]),e.createElementVNode("view",{class:"popup-weight"}," 物料分类 "),e.createElementVNode("view",{class:"popup-right-father"},[e.createElementVNode("view",{class:"popup-right-font-contain"},[e.createElementVNode("view",{class:"popup-font-left"}," 物料类别: "),e.createElementVNode("view",{class:"popup-font-right"}," 生活用品 ")]),e.createElementVNode("view",{class:"popup-right-font-contain"},[e.createElementVNode("view",{class:"popup-font-left"}," 物料类型: "),e.createElementVNode("view",{class:"popup-font-right"}," 照护用品 ")]),e.createElementVNode("view",{class:"popup-right-font-contain"},[e.createElementVNode("view",{class:"popup-font-left"}," 物料类别: "),e.createElementVNode("view",{class:"popup-font-right"}," - ")])]),e.createElementVNode("view",{class:"popup-weight"}," 物料信息 "),e.createElementVNode("view",{class:"popup-right-father"},[e.createElementVNode("view",{class:"popup-right-font-contain"},[e.createElementVNode("view",{class:"popup-font-left"}," 物料品牌: "),e.createElementVNode("view",{class:"popup-font-right"}," 洁奴 ")]),e.createElementVNode("view",{class:"popup-right-font-contain"},[e.createElementVNode("view",{class:"popup-font-left"}," 采购单位: "),e.createElementVNode("view",{class:"popup-font-right"}," 片 ")]),e.createElementVNode("view",{class:"popup-right-font-contain"},[e.createElementVNode("view",{class:"popup-font-left"}," 参考单价: "),e.createElementVNode("view",{class:"popup-font-right"}," 1.175 ")]),e.createElementVNode("view",{class:"popup-right-font-contain"},[e.createElementVNode("view",{class:"popup-font-left"}," 采购单价: "),e.createElementVNode("view",{class:"popup-font-right"}," 2 ")]),e.createElementVNode("view",{class:"popup-right-font-contain",style:{width:"100%"}},[e.createElementVNode("view",{class:"popup-font-left"}," 规格型号: "),e.createElementVNode("view",{class:"popup-font-right"}," 800mm*690mm ")]),e.createElementVNode("view",{class:"popup-right-font-contain",style:{width:"100%"}},[e.createElementVNode("view",{class:"popup-font-left"}," 供 应 商 : "),e.createElementVNode("view",{class:"popup-font-right"}," 山东恒发卫生用品有限公司 ")])]),e.createElementVNode("view",{class:"popup-weight"}," 优惠信息 "),e.createElementVNode("view",{class:"popup-right-father"},[e.createElementVNode("view",{class:"popup-right-font-contain"},[e.createElementVNode("view",{class:"popup-font-left"}," 医保报销: "),e.createElementVNode("view",{class:"popup-font-right"}," 是 ")]),e.createElementVNode("view",{class:"popup-right-font-contain"},[e.createElementVNode("view",{class:"popup-font-left"}," 机构优惠: "),e.createElementVNode("view",{class:"popup-font-right"}," 否 ")])]),e.createElementVNode("view",{class:"swiper-left-buttons-big"},[e.createElementVNode("view",{class:"swiper-left-button-blue",onClick:l[0]||(l[0]=e=>i("qinggou"))}," 请购 "),e.createElementVNode("view",{class:"swiper-left-button",onClick:l[1]||(l[1]=e=>i("churuku"))}," 出入库 ")])])],64))}}),[["__scopeId","data-v-a77dd54e"]]),_e=s(e.defineComponent({__name:"plsbuy",props:{saveIndex:{type:Number,required:!0},changeNumber:{type:Number,required:!0}},emits:["closeIt","openRight","closeRight"],setup(t,{emit:l}){const a=l,i=t;e.watch((()=>i.changeNumber),(()=>{o.value[i.saveIndex].many=i.changeNumber})),e.ref(50);const r=e.ref(0),n=e.ref({name:"长春市永佳利商贸有限公司",many:0,change:0}),o=e.ref([{name:"长春市永佳利商贸有限公司",many:9999,change:0},{name:"长春市永佳利商贸有限公司",many:0,change:0},{name:"长春市永佳利商贸有限公司",many:0,change:0}]),c=()=>{d(),u.value&&(o.value.push(JSON.parse(JSON.stringify(n.value))),r.value=998,e.nextTick((()=>{r.value=999})))},s=()=>{d(),a("closeIt")},d=()=>{a("closeRight")},u=e.ref(!0);return(l,i)=>(e.openBlock(),e.createElementBlock("view",{class:"plsbuy-contain"},[e.createElementVNode("view",{class:"plsbuy-title"},[e.createElementVNode("image",{class:"plsbuy-title-img",src:"/static/index/project3.png"},null,8,["src"]),e.createElementVNode("view",{class:"plsbuy-title-font"},[e.createElementVNode("view",{class:"plsbuy-title-weight"},"纸尿裤-拉拉裤"),e.createElementVNode("view",{class:"plsbuy-title-flex"},[e.createElementVNode("view",{class:"popup-right-font-contain",style:{width:"75%"}},[e.createElementVNode("view",{class:"popup-font-left"}," 规格型号: "),e.createElementVNode("view",{class:"popup-font-right"}," 800mm*690mm ")]),e.createElementVNode("view",{class:"popup-right-font-contain"},[e.createElementVNode("view",{class:"popup-font-left"}," 采购单位: "),e.createElementVNode("view",{class:"popup-font-right"}," 片 ")])]),e.createElementVNode("view",{class:"plsbuy-title-flex"},[e.createElementVNode("view",{class:"popup-right-font-contain",style:{width:"75%"}},[e.createElementVNode("view",{class:"popup-font-left"}," 库存上限: "),e.createElementVNode("view",{class:"popup-font-right"}," 1000 ")]),e.createElementVNode("view",{class:"popup-right-font-contain"},[e.createElementVNode("view",{class:"popup-font-left"}," 库存下限: "),e.createElementVNode("view",{class:"popup-font-right"}," 10 ")])]),e.createElementVNode("view",{class:"plsbuy-title-flex"},[e.createElementVNode("view",{class:"popup-right-font-contain"},[e.createElementVNode("view",{class:"popup-font-left"}," 库存数量: "),e.createElementVNode("view",{class:"popup-font-right"}," 50 ")])])])]),e.createElementVNode("view",{class:"plsbuy-card"},[e.createElementVNode("scroll-view",{"scroll-y":"","scroll-top":r.value,style:{height:"100%",width:"1150rpx"},"show-scrollbar":!0},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,((l,i)=>(e.openBlock(),e.createElementBlock("view",{key:i,class:e.normalizeClass(["plsbuy-card-heng",{"slide-out":l.sliding}])},[e.createElementVNode("view",{class:"card-flex"},[e.createElementVNode("image",{class:"plsbuy-card-img",src:"/static/index/subtract.png",onClick:e=>{return t=i,d(),void(u.value&&(u.value=!1,o.value[t].sliding=!0,setTimeout((()=>{o.value.splice(t,1),u.value=!0}),400)));var t}},null,8,["onClick"]),e.createElementVNode("view",{class:"plsbuy-weight"},"供应商:"),e.createElementVNode("view",{class:"plsbuy-font-right"},e.toDisplayString(l.name),1)]),e.createElementVNode("view",{class:"card-flex"},[e.createElementVNode("view",{class:"plsbuy-right-weight"},"采购数量"),e.createElementVNode("view",{class:e.normalizeClass(1===l.change?"plsbuy-jian-target":"plsbuy-jian"),onClick:e=>(e=>{d(),e.many&&e.many--,e.change=1,setTimeout((()=>{e.change=0}),300)})(l)}," -",10,["onClick"]),e.createElementVNode("view",{class:e.normalizeClass(t.saveIndex==i?"plsbuy-number-target":"plsbuy-number"),onClick:e=>((e,t)=>{a("openRight",e,t)})(l.many,i)},e.toDisplayString(l.many),11,["onClick"]),e.createElementVNode("view",{class:e.normalizeClass(2===l.change?"plsbuy-jia-target":"plsbuy-jia"),onClick:e=>(e=>{d(),e.many<9999&&e.many++,e.change=2,setTimeout((()=>{e.change=0}),300)})(l)},"+ ",10,["onClick"])])],2)))),128))],8,["scroll-top"])]),e.createElementVNode("view",{class:"plsbuy-amount"},[e.createElementVNode("view",{class:"plsbuy-amount-font"}," 合计: "),e.createElementVNode("view",{class:"plsbuy-amount-red"}," 100 ")]),e.createElementVNode("view",{class:"plsbuy-bottom"},[e.createElementVNode("view",{class:"plsbuy-bottom-blue",onClick:c}," 新增供应商 "),e.createElementVNode("view",{class:"plsbuy-bottom-blue",onClick:s}," 确认 "),e.createElementVNode("view",{class:"plsbuy-bottom-white",onClick:s}," 取消 ")])]))}}),[["__scopeId","data-v-5d6b5cea"]]),Ue=s(e.defineComponent({__name:"calculator",props:{doOnce:{type:Number,required:!0},translateNumber:{type:Number,required:!0}},emits:["right"],setup(t,{emit:l}){const a=l,i=e.ref(-1),r=t;e.watch((()=>r.doOnce),(()=>{c.value=r.translateNumber,o.value=u(c.value)}));const n=[1,2,3,4,5,6,7,8,9,"AC",0,"CE"],o=e.ref("0000"),c=e.ref(0),s=(e,t)=>{return i.value=t,setTimeout((()=>{i.value=-1}),300),"AC"==e?(c.value=0,void(o.value="0000")):"CE"==e?(c.value=Math.trunc(c.value/10),void(o.value=u(c.value))):(l=c.value,void(Math.abs(l).toString().length>3||(c.value?c.value=10*c.value+e:c.value=e,o.value=u(c.value))));var l},d=()=>{a("right",c.value)};function u(e){const t=Math.floor(Math.abs(e));return String(t).padStart(4,"0")}return(t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"plsbuy-contain"},[e.createElementVNode("view",{class:"draw-title"},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"请购数量")])]),e.createElementVNode("view",{class:"calculator-father"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(n,((t,l)=>e.createElementVNode("view",{key:l},[e.createElementVNode("view",{class:e.normalizeClass(i.value==l?"calculator-kuai-target":"calculator-kuai"),onClick:e=>s(t,l)},e.toDisplayString(t),11,["onClick"])]))),64))]),e.createElementVNode("view",{class:"qinggou-font"}," 请购数量 "),e.createElementVNode("view",{class:"stringShow-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"stringShow-kuai"},e.toDisplayString(t),1)])))),128))]),e.createElementVNode("view",{class:"plsbuy-bottom"},[e.createElementVNode("view",{class:"plsbuy-bottom-blue",onClick:d}," 确认 ")])]))}}),[["__scopeId","data-v-72274131"]]),$e=s(e.defineComponent({__name:"index",props:{isShow:{type:Boolean,required:!0}},setup(t){const l=t,a=e.ref(!0),i=e.ref(null),r=e.ref(null),n=e.ref(null),o=e.ref(null),c=e.ref([{name:"纸尿裤-拉拉裤",type:0},{name:"纸尿裤-拉拉裤",type:0},{name:"纸尿裤-拉拉裤",type:0},{name:"纸尿裤-拉拉裤",type:0},{name:"胃管(进口)",type:1},{name:"胃管(进口)",type:1},{name:"胃管(进口)",type:1},{name:"胃管(进口)",type:1},{name:"洗护用品",type:2},{name:"洗护用品",type:2},{name:"洗护用品",type:2},{name:"洗护用品",type:2},{name:"洗护用品",type:2},{name:"洗护用品",type:2}]);e.watch((()=>l.isShow),((e,t)=>{!t&&e&&(a.value=!1,setTimeout((()=>{a.value=!0}),50))}));const s=e.ref(!1),d=e.ref(!1),u=e.ref(!1),m=e.ref(!1),v=e.ref(!1),p=e.ref([{url:"/static/index/Warehousing/sousuo.png",name:"查询"},{url:"/static/index/Warehousing/chongzhi.png",name:"重置"}]),g=()=>{s.value=!0,d.value=!1,setTimeout((()=>{d.value=!0}),100)},w=()=>{s.value=!1,u.value=!0,m.value=!1,setTimeout((()=>{m.value=!0}),100)},h=()=>{r.value.openDrawer()},y=()=>{o.value.openDrawer()},N=()=>{s.value=!1,n.value.openDrawer()},E=e.ref(-1),V=e.ref(0),x=e.ref(!1),k=e.ref(0),b=(e,t)=>{E.value=t,V.value=e,x.value=!0,k.value++},S=()=>{E.value=-1,V.value=0,x.value=!1},T=e.ref(0),C=e=>{x.value=!1,T.value=e};return(l,B)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives(e.createElementVNode("view",{class:"index-content-other",style:e.normalizeStyle(a.value?{opacity:"1"}:{opacity:"0"})},[e.createElementVNode("view",{class:"index-content-right"},[e.createElementVNode("view",{class:"index-right-height"}),e.createElementVNode("view",{class:"index-right-title"},[e.createElementVNode("view",{class:"index-right-name"}," 货品名称 "),e.createElementVNode("input",{class:"index-right-input",placeholder:"请输入货品名称"}),e.createElementVNode("view",{class:"index-right-name"}," 货品编码 "),e.createElementVNode("input",{class:"index-right-input",placeholder:"请输入货品编码"}),e.createElementVNode("view",{class:"index-right-name"}," 拼音检索 "),e.createElementVNode("input",{class:"index-right-input",placeholder:"请输入货品拼音"}),e.createElementVNode("view",{class:"index-right-button-all"},[e.createElementVNode("view",{class:"first-bgc"},[e.createElementVNode("image",{class:"bgc-img",src:"/static/index/Warehousing/firstbutton.png"})]),e.createElementVNode("view",{class:"second-bgc"},[e.createElementVNode("image",{class:"bgc-img",src:"/static/index/Warehousing/secondbutton.png"})]),e.createElementVNode("view",{class:e.normalizeClass(v.value?"bgc-white":"third-bgc"),onClick:B[0]||(B[0]=e=>v.value=!v.value)},[e.withDirectives(e.createElementVNode("view",{class:"red-pao"},e.toDisplayString("99+"),512),[[e.vShow,!v.value]]),e.createElementVNode("image",{class:"bgc-img",src:"/static/index/Warehousing/thirdbutton.png"})],2),e.createElementVNode("view",{class:"fourth-bgc",onClick:y},[e.createElementVNode("image",{class:"fourth-bgc-img",src:"/static/index/Warehousing/fourthbutton.png"}),e.createElementVNode("view",{class:"fourth-bgc-font"}," 请购单 ")]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"index-right-button"},[e.createElementVNode("image",{class:"index-right-button-img",src:t.url},null,8,["src"]),e.createElementVNode("view",{class:"index-right-button-font"},e.toDisplayString(t.name),1)])])))),128))])]),e.createElementVNode("view",{class:"swiper-contain"},[e.createElementVNode("scroll-view",{"scroll-y":"",style:{height:"98%"},"show-scrollbar":!1},[e.createElementVNode("view",{class:"swiper-flex"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"swiper-card",style:e.normalizeStyle(1===t.type?{background:"#00D6A9 url(/static/index/warehouseCard/bgcgreen.png) center/cover"}:2===t.type?{background:"#BD9AF8 url(/static/index/warehouseCard/bgcpouple.png) center/cover"}:{})},[e.createElementVNode("view",{class:"swiper-card-left"},[e.createElementVNode("view",{class:"swiper-card-left-white"},[e.createElementVNode("image",{class:e.normalizeClass(0===t.type?"swiper-card-left-white-img-first":1===t.type?"swiper-card-left-white-img-second":"swiper-card-left-white-img-third"),src:"/static/index/project3.png",onClick:g},null,10,["src"])])]),e.createElementVNode("view",{class:"swiper-card-right"},[e.createElementVNode("view",{class:"swiper-right-title"},[e.createElementVNode("view",{class:"swiper-title-font"},e.toDisplayString(t.name),1),e.createElementVNode("view",{class:"swiper-title-font-button"},e.toDisplayString(0===t.type?"护理类":1===t.type?"医疗类":"行政类"),1)]),e.createElementVNode("view",{class:"swiper-heng"}),e.createElementVNode("view",{class:"swiper-font"}," 规格型号:800mm*690mm "),e.createElementVNode("view",{class:"swiper-double"},[e.createElementVNode("view",{class:"swiper-littlefont"}," 采购单位:片 "),e.withDirectives(e.createElementVNode("view",{class:"swiper-littlefont",style:{"margin-left":"10rpx"}},[e.createTextVNode(" 库存 "),e.createElementVNode("view",{style:{color:"rgb(18,169,51)"}},"↑"),e.createTextVNode(" :1000 ")],512),[[e.vShow,v.value]])]),e.createElementVNode("view",{class:"swiper-double"},[e.createElementVNode("view",{class:"swiper-littlefont"},[e.createTextVNode(" 库存数量: "),e.createElementVNode("view",{class:"blackfont"}," 50 ")]),e.withDirectives(e.createElementVNode("view",{class:"swiper-littlefont",style:{"margin-left":"10rpx"}},[e.createTextVNode(" 库存 "),e.createElementVNode("view",{style:{color:"rgb(248,122,85)"}},"↓"),e.createTextVNode(" :5 ")],512),[[e.vShow,v.value]])]),e.createElementVNode("view",{class:"swiper-left-buttons"},[e.createElementVNode("view",{class:e.normalizeClass(0===t.type?"swiper-left-button-blue":1===t.type?"swiper-left-button-green":"swiper-left-button-pouple"),onClick:w}," 请购 ",2),e.createElementVNode("view",{class:"swiper-left-button",onClick:N}," 出入库 ")])])],4)])))),128))]),e.createElementVNode("view",{class:"bug-bottom"})])])]),e.createElementVNode("view",{class:"index-content-down"}," 长春市朝阳区久泰开运养老服务有限公司 ")],4),[[e.vShow,t.isShow]]),e.withDirectives(e.createElementVNode("view",{class:"popup-detail",onClick:B[2]||(B[2]=e=>s.value=!1)},[e.createElementVNode("view",{class:"popup-detail-content",style:e.normalizeStyle({opacity:d.value?1:0}),onClick:B[1]||(B[1]=e.withModifiers((()=>{}),["stop"]))},[e.createVNode(Fe,{onQinggou:w,onChuruku:N})],4)],512),[[e.vShow,s.value&&t.isShow]]),e.withDirectives(e.createElementVNode("view",{class:"popup-detail-plsbuy",onClick:B[6]||(B[6]=e=>u.value=!1)},[e.createElementVNode("view",{class:"popup-detail-content-plsbuy",style:e.normalizeStyle({opacity:m.value?1:0}),onClick:B[4]||(B[4]=e.withModifiers((()=>{}),["stop"]))},[e.createVNode(_e,{saveIndex:E.value,changeNumber:T.value,onCloseIt:B[3]||(B[3]=e=>u.value=!1),onOpenRight:b,onCloseRight:S},null,8,["saveIndex","changeNumber"])],4),e.withDirectives(e.createElementVNode("view",{class:"popup-detail-content-calculator",style:e.normalizeStyle({opacity:m.value?1:0}),onClick:B[5]||(B[5]=e.withModifiers((()=>{}),["stop"]))},[e.createVNode(Ue,{doOnce:k.value,translateNumber:V.value,onRight:C},null,8,["doOnce","translateNumber"])],4),[[e.vShow,x.value]])],512),[[e.vShow,u.value&&t.isShow]]),e.createVNode(f,{ref_key:"drawer",ref:r},{default:e.withCtx((()=>[e.createVNode(xe)])),_:1},512),e.createVNode(f,{ref_key:"draweranther",ref:i,widNumber:45,style:{"z-index":"9999"}},{default:e.withCtx((()=>[e.createVNode(ke)])),_:1},512),e.createVNode(f,{ref_key:"goshopdrawer",ref:o},{default:e.withCtx((()=>[e.createVNode(ze,{onOpendetail:B[7]||(B[7]=e=>i.value.openDrawer())})])),_:1},512),e.createVNode(f,{ref_key:"gobackdrawer",ref:n,widNumber:45},{default:e.withCtx((()=>[e.createVNode(be)])),_:1},512),e.createVNode(Ie,{isShow:t.isShow&&!s.value&&!u.value,onClick:h},null,8,["isShow"])],64))}}),[["__scopeId","data-v-912c10f8"]]),Me="/static/index/guan.png",Le=s(e.defineComponent({__name:"index",props:{openType:{type:Number,required:!0}},emits:["closedetail","openDrawer"],setup(t,{emit:l}){const a=e.ref("");e.ref(!1),e.ref("");const i=["已作废","未确认","已确认","未完结","待结账","已结账"];e.ref([{url:"/static/index/Warehousing/sousuo.png",name:"查询"},{url:"/static/index/Warehousing/chongzhi.png",name:"重置"}]);const r=l,n=e=>{r("openDrawer",e)};return(l,r)=>(e.openBlock(),e.createElementBlock("view",{class:"draw-all"},[e.createElementVNode("view",{class:"draw-contain"},[e.createElementVNode("view",{class:"draw-title"},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"采购单")]),e.createElementVNode("view",{class:e.normalizeClass(t.openType?"title-button":"title-button-red")},e.toDisplayString(i[t.openType]),3)]),e.createElementVNode("view",{class:"swiper-card-once"},[e.createElementVNode("view",{class:"swiper-card-top"},[e.createElementVNode("view",{class:"swiper-card-top-card"},[e.createElementVNode("view",{class:"swiper-card-top-card-weight"},[e.createElementVNode("view",{class:"weight-left"},[e.createElementVNode("view",{class:""},"采购单号:"),e.createElementVNode("view",{class:"",style:{"font-weight":"700"}},"A0120250301001")]),e.createElementVNode("view",{class:"weight-left"},[e.createElementVNode("view",{class:""},"总金额:"),e.createElementVNode("view",{class:""},"100.00")])]),e.createElementVNode("view",{class:"weight-boom"},[e.createElementVNode("view",{class:"swiper-card-top-card-noral"},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 采购人: "),e.createElementVNode("view",{class:"swiper-black"}," 王法 ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"55%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 采购日期: "),e.createElementVNode("view",{class:"swiper-black"}," 2025.03.02 ")])]),e.createElementVNode("view",{class:"swiper-card-top-card-noral",style:{"margin-top":"15rpx"}},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 付款方式: "),e.createElementVNode("view",{class:"swiper-black"}," 月结 ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"55%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 供应商: "),e.createElementVNode("view",{class:"swiper-black"}," 宽城区珂爱个人卫生用品店 ")])])])])])]),e.createElementVNode("view",{class:"draw-title",style:{"margin-top":"25rpx"}},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"物料信息")]),3===t.openType?(e.openBlock(),e.createElementBlock("view",{key:0,class:"draw-flex",style:{"margin-top":"-10rpx"}},[e.createElementVNode("view",{class:"button-first",onClick:r[0]||(r[0]=e=>n(0))}," 入库单 "),e.createElementVNode("view",{class:"button-second",onClick:r[1]||(r[1]=e=>n(1))}," 挂账单 "),e.createElementVNode("view",{class:"button-third",onClick:r[2]||(r[2]=e=>n(2))}," 销账单 ")])):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"scroll-view"},[e.createElementVNode("scroll-view",{"scroll-y":"",style:{height:"93%","margin-top":"2%"},"show-scrollbar":!1},[e.createElementVNode("view",{class:"swiper-flex"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,1,1,1,1,1,1,1,1,1,1,1,1],((t,l)=>e.createElementVNode("view",{key:l},[e.createElementVNode("view",{class:"swiper-card"},[e.createElementVNode("view",{class:"swiper-card-top"},[e.createElementVNode("view",{class:"swiper-card-top-card"},[e.createElementVNode("view",{class:"card-img-father"},[e.createElementVNode("image",{class:"card-img",src:Me})]),e.createElementVNode("view",{class:"card-right"},[e.createElementVNode("view",{class:"card-right-title"},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"title-gray"}," 货品名称: "),e.createElementVNode("view",{class:"title-black"}," 引流袋(医用透明) ")]),e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"title-gray"}," 采购数量: "),e.createElementVNode("view",{class:"title-black"}," 10 ")])]),e.createElementVNode("view",{class:"card-right-other"},[e.createElementVNode("view",{class:"draw-flex",style:{width:"30%"}},[e.createElementVNode("view",{class:"title-gray"}," 货品编码: "),e.createElementVNode("view",{class:"title-black"}," FLYPO01 ")]),e.createElementVNode("view",{class:"draw-flex",style:{width:"30%"}},[e.createElementVNode("view",{class:"title-gray"}," 规格型号: "),e.createElementVNode("view",{class:"title-black"}," 6cm*7cm ")]),e.createElementVNode("view",{class:"draw-flex",style:{width:"30%"}},[e.createElementVNode("view",{class:"title-gray"}," 采购单位: "),e.createElementVNode("view",{class:"title-black"}," 个 ")])]),e.createElementVNode("view",{class:"card-right-other"},[e.createElementVNode("view",{class:"draw-flex",style:{width:"30%"}},[e.createElementVNode("view",{class:"title-gray"}," 参考单价: "),e.createElementVNode("view",{class:"title-green"}," 0.1 ")]),e.createElementVNode("view",{class:"draw-flex",style:{width:"30%"}},[e.createElementVNode("view",{class:"title-gray"}," 采购单价: "),e.createElementVNode("view",{class:"title-black"}," 0.1 ")]),e.createElementVNode("view",{class:"draw-flex",style:{width:"30%"}},[e.createElementVNode("view",{class:"title-gray"}," 采购金额: "),e.createElementVNode("view",{class:"title-black"}," 10.12 ")])])])])])])]))),64))])])]),e.createElementVNode("view",{class:"draw-title",style:{"margin-top":"35rpx","margin-bottom":"10rpx"}},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},e.toDisplayString(t.openType?"备注":"作废原因"),1),t.openType?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"draw-red"},"*"))])]),e.createElementVNode("view",{class:"down-note"},[e.withDirectives(e.createElementVNode("textarea",{class:"down-note-title-input","onUpdate:modelValue":r[3]||(r[3]=e=>a.value=e),maxlength:"300","placeholder-style":"color:#999",placeholder:t.openType?"请输入备注":"不予采购"},null,8,["placeholder"]),[[e.vModelText,a.value]]),e.createElementVNode("text",{class:"char-count"},e.toDisplayString(a.value.length)+"/300",1)])])]))}}),[["__scopeId","data-v-7e25ad7e"]]),je=s(e.defineComponent({__name:"index",props:{},emits:["voidIt","closevoid"],setup(t,{emit:l}){const a=e.ref("");e.ref(!1),e.ref("");const i=l;e.ref([{url:"/static/index/Warehousing/sousuo.png",name:"查询"},{url:"/static/index/Warehousing/chongzhi.png",name:"重置"}]);return(t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"draw-all"},[e.createElementVNode("view",{class:"draw-contain"},[e.createElementVNode("view",{class:"draw-title"},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"采购单")])]),e.createElementVNode("view",{class:"swiper-card-once"},[e.createElementVNode("view",{class:"swiper-card-top"},[e.createElementVNode("view",{class:"swiper-card-top-card"},[e.createElementVNode("view",{class:"swiper-card-top-card-weight"},[e.createElementVNode("view",{class:"weight-left"},[e.createElementVNode("view",{class:""},"采购单号:"),e.createElementVNode("view",{class:"",style:{"font-weight":"700"}},"A0120250301001")]),e.createElementVNode("view",{class:"weight-left"},[e.createElementVNode("view",{class:""},"总金额:"),e.createElementVNode("view",{class:"",style:{color:"red"}},"100.00")])]),e.createElementVNode("view",{class:"weight-boom"},[e.createElementVNode("view",{class:"swiper-card-top-card-noral"},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 采购人: "),e.createElementVNode("view",{class:"swiper-black"}," 王法 ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"55%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 采购日期: "),e.createElementVNode("view",{class:"swiper-black"}," 2025.03.02 ")])]),e.createElementVNode("view",{class:"swiper-card-top-card-noral",style:{"margin-top":"15rpx"}},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 付款方式: "),e.createElementVNode("view",{class:"swiper-black"}," 月结 ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"55%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 供应商: "),e.createElementVNode("view",{class:"swiper-black"}," 宽城区珂爱个人卫生用品店 ")])])])])])]),e.createElementVNode("view",{class:"draw-title",style:{"margin-top":"25rpx"}},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"物料信息")])]),e.createElementVNode("view",{class:"scroll-view"},[e.createElementVNode("scroll-view",{"scroll-y":"",style:{height:"93%","margin-top":"2%"},"show-scrollbar":!1},[e.createElementVNode("view",{class:"swiper-flex"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,1,1,1,1,1,1,1,1,1,1,1,1],((t,l)=>e.createElementVNode("view",{key:l},[e.createElementVNode("view",{class:"swiper-card"},[e.createElementVNode("view",{class:"swiper-card-top"},[e.createElementVNode("view",{class:"swiper-card-top-card"},[e.createElementVNode("view",{class:"card-img-father"},[e.createElementVNode("image",{class:"card-img",src:Me})]),e.createElementVNode("view",{class:"card-right"},[e.createElementVNode("view",{class:"card-right-title"},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"title-gray"}," 货品名称: "),e.createElementVNode("view",{class:"title-black"}," 引流袋(医用透明) ")]),e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"title-gray"}," 采购数量: "),e.createElementVNode("view",{class:"title-black"}," 10 ")])]),e.createElementVNode("view",{class:"card-right-other"},[e.createElementVNode("view",{class:"draw-flex",style:{width:"30%"}},[e.createElementVNode("view",{class:"title-gray"}," 货品编码: "),e.createElementVNode("view",{class:"title-black"}," FLYPO01 ")]),e.createElementVNode("view",{class:"draw-flex",style:{width:"30%"}},[e.createElementVNode("view",{class:"title-gray"}," 规格型号: "),e.createElementVNode("view",{class:"title-black"}," 6cm*7cm ")]),e.createElementVNode("view",{class:"draw-flex",style:{width:"30%"}},[e.createElementVNode("view",{class:"title-gray"}," 采购单位: "),e.createElementVNode("view",{class:"title-black"}," 个 ")])]),e.createElementVNode("view",{class:"card-right-other"},[e.createElementVNode("view",{class:"draw-flex",style:{width:"30%"}},[e.createElementVNode("view",{class:"title-gray"}," 参考单价: "),e.createElementVNode("view",{class:"title-green"}," 0.1 ")]),e.createElementVNode("view",{class:"draw-flex",style:{width:"30%"}},[e.createElementVNode("view",{class:"title-gray"}," 采购单价: "),e.createElementVNode("view",{class:"title-red"}," 0.1 ")]),e.createElementVNode("view",{class:"draw-flex",style:{width:"30%"}},[e.createElementVNode("view",{class:"title-gray"}," 采购金额: "),e.createElementVNode("view",{class:"title-red"}," 10.12 ")])])])])])])]))),64))])])]),e.createElementVNode("view",{class:"draw-title",style:{"margin-top":"25rpx"}},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"作废原因"),e.createElementVNode("view",{class:"draw-red"},"*")])]),e.createElementVNode("view",{class:"down-note"},[e.withDirectives(e.createElementVNode("textarea",{class:"down-note-title-input","onUpdate:modelValue":l[0]||(l[0]=e=>a.value=e),maxlength:"300","placeholder-style":"color:#999",placeholder:"请输入作废原因"},null,512),[[e.vModelText,a.value]]),e.createElementVNode("text",{class:"char-count"},e.toDisplayString(a.value.length)+"/300",1)]),e.createElementVNode("view",{class:"button-card"},[e.createElementVNode("view",{class:"swiper-button-blue",onClick:l[1]||(l[1]=e=>{i("voidIt")})}," 作废 ")])])]))}}),[["__scopeId","data-v-034b4de7"]]),Ae="/static/index/Warehousing/goku.png",Pe="/static/index/Warehousing/guazhang.png",qe="/static/index/Warehousing/hexiao.png",Oe="/static/index/Warehousing/zuo.png",We="/static/index/Warehousing/you.png",Ye=s(e.defineComponent({__name:"index",props:{dantype:{type:Number,required:!0}},emits:["opensuixing","closevoid"],setup(t,{emit:a}){e.ref(""),e.ref(!1),e.ref("");const i=a,r=e.ref(0);e.ref([{url:"/static/index/Warehousing/sousuo.png",name:"查询"},{url:"/static/index/Warehousing/chongzhi.png",name:"重置"}]);const n=()=>{i("opensuixing")},o=()=>{uni.previewImage({urls:["/static/index/Warehousing/photo.png"]}),l("log","at component/storeroom/drawer/storage/index.vue:294","????")};return(l,a)=>(e.openBlock(),e.createElementBlock("view",{class:"draw-all"},[e.createElementVNode("view",{class:"draw-contain"},[e.createElementVNode("view",{class:"swiper-card-once"},[e.createElementVNode("view",{class:"swiper-card-top"},[e.createElementVNode("view",{class:"swiper-card-top-card"},[e.createElementVNode("view",{class:"swiper-card-top-card-weight"},[e.createElementVNode("view",{class:"weight-left"},[e.createElementVNode("view",{class:e.normalizeClass(t.dantype?"pouple-font":"green-font")},"采购单号:",2),e.createElementVNode("view",{class:e.normalizeClass(t.dantype?"pouple-font":"green-font"),style:{"font-weight":"700"}},"A0120250301001",2)])]),e.createElementVNode("view",{class:"swiper-card-top-card-noral"},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 采购人: "),e.createElementVNode("view",{class:"swiper-black"}," 王法 ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"55%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 采购日期: "),e.createElementVNode("view",{class:"swiper-black"}," 2025.03.02 ")])]),e.createElementVNode("view",{class:"swiper-card-top-card-noral",style:{"margin-top":"15rpx"}},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 付款方式: "),e.createElementVNode("view",{class:"swiper-black"}," 月结 ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"55%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 供应商: "),e.createElementVNode("view",{class:"swiper-black"}," 宽城区珂爱个人卫生用品店 ")])])])])]),e.createElementVNode("view",{class:"draw-title",style:{"margin-top":"25rpx"}},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},e.toDisplayString(t.dantype?"挂账单":"入库单"),1)])]),e.createElementVNode("view",{class:"radio-circle-top-father"},[e.createElementVNode("scroll-view",{"scroll-x":"",style:{height:"100%"},"show-scrollbar":!1},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"radio-circle-top"},[e.createElementVNode("view",{class:e.normalizeClass(r.value?"radio-circle":"radio-circle-target"),onClick:a[0]||(a[0]=e=>r.value=0)},null,2),e.createElementVNode("view",{class:"radio-font",onClick:a[1]||(a[1]=e=>r.value=0)},e.toDisplayString(`${t.dantype?"挂账":"入库"}单号:A0120250301001555${t.dantype?"G":"R"}01`),1)]),e.createElementVNode("view",{class:"radio-circle-top"},[e.createElementVNode("view",{class:e.normalizeClass(1==r.value?"radio-circle-target":"radio-circle"),onClick:a[2]||(a[2]=e=>{r.value=1})},null,2),e.createElementVNode("view",{class:"radio-font",onClick:a[3]||(a[3]=e=>r.value=1)},e.toDisplayString(`${t.dantype?"挂账":"入库"}单号:A0120250301001555${t.dantype?"G":"R"}02`),1)]),e.createElementVNode("view",{class:"radio-circle-top"},[e.createElementVNode("view",{class:e.normalizeClass(2==r.value?"radio-circle-target":"radio-circle"),onClick:a[4]||(a[4]=e=>{r.value=2})},null,2),e.createElementVNode("view",{class:"radio-font",onClick:a[5]||(a[5]=e=>r.value=2)},e.toDisplayString(`${t.dantype?"挂账":"入库"}单号:A0120250301001555${t.dantype?"G":"R"}03`),1)])])])]),e.createElementVNode("view",{class:"ruku-time"},[e.createElementVNode("view",{style:{display:"flex","margin-left":"50rpx"}},[e.createElementVNode("view",{class:"ruku-time-font"},e.toDisplayString((t.dantype?"挂账":"入库")+"时间:"),1),e.createElementVNode("view",{class:"ruku-time-font"}," 2025.03.02 10:10:10 ")]),e.createElementVNode("view",{class:"button-first",onClick:n}," 随行单 ")]),e.createElementVNode("view",{class:"scroll-view"},[e.createElementVNode("scroll-view",{"scroll-y":"",style:{height:"93%","margin-top":"2%"},"show-scrollbar":!1},[e.createElementVNode("view",{class:"swiper-flex"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,1,1,1,1,1,1,1,1,1,1,1,1],((t,l)=>e.createElementVNode("view",{key:l},[e.createElementVNode("view",{class:"swiper-card"},[e.createElementVNode("view",{class:"swiper-card-top"},[e.createElementVNode("view",{class:"swiper-card-top-card"},[e.createElementVNode("view",{class:"card-img-father"},[e.createElementVNode("view",{class:"card-img-bgc"},[e.createElementVNode("image",{class:"card-img",src:Me})])]),e.createElementVNode("view",{class:"card-right"},[e.createElementVNode("view",{class:"card-right-title"},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"title-gray"}," 采购数量: "),e.createElementVNode("view",{class:"title-black"}," 10 ")]),e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"title-gray"}," 总金额: "),e.createElementVNode("view",{class:"title-black"}," 1150 ")])]),e.createElementVNode("view",{class:"card-right-bgc"},[e.createElementVNode("view",{class:"card-boom"},[e.createElementVNode("view",{class:"card-right-other"},[e.createElementVNode("view",{class:"draw-flex",style:{width:"35%","margin-left":"30rpx"}},[e.createElementVNode("view",{class:"title-gray",style:{"margin-top":"15rpx"}}," 货品编码: "),e.createElementVNode("view",{class:"title-black",style:{"margin-top":"15rpx"}}," FLYPO01 ")]),e.createElementVNode("view",{class:"draw-flex",style:{width:"35%"}},[e.createElementVNode("view",{class:"title-gray",style:{"margin-top":"15rpx"}}," 规格型号: "),e.createElementVNode("view",{class:"title-black",style:{"margin-top":"15rpx"}}," 6cm*7cm ")]),e.createElementVNode("view",{class:"draw-flex",style:{width:"30%"}},[e.createElementVNode("view",{class:"title-gray",style:{"margin-top":"15rpx"}}," 采购单位: "),e.createElementVNode("view",{class:"title-black",style:{"margin-top":"15rpx"}}," 个 ")])]),e.createElementVNode("view",{class:"card-right-other"},[e.createElementVNode("view",{class:"draw-flex",style:{width:"35%","margin-left":"30rpx"}},[e.createElementVNode("view",{class:"title-gray"}," 参考单价: "),e.createElementVNode("view",{class:"title-green"}," 0.1 ")]),e.createElementVNode("view",{class:"draw-flex",style:{width:"35%"}},[e.createElementVNode("view",{class:"title-gray"}," 采购单价: "),e.createElementVNode("view",{class:"title-black"}," 0.1 ")]),e.createElementVNode("view",{class:"draw-flex",style:{width:"30%"}},[e.createElementVNode("view",{class:"title-gray"}," 采购金额: "),e.createElementVNode("view",{class:"title-black"}," 10.12 ")])])]),e.createElementVNode("view",{class:"boom-other"},[e.createElementVNode("view",{class:"boom-other-card"},[e.createElementVNode("image",{class:"boom-other-img",src:Ae}),e.createElementVNode("view",{class:"boom-other-font"},"入库数量"),e.createElementVNode("view",{class:"boom-other-weight"},"10")]),e.createElementVNode("view",{class:"white-shu"}),e.createElementVNode("view",{class:"boom-other-card"},[e.createElementVNode("image",{class:"boom-other-img",src:Pe}),e.createElementVNode("view",{class:"boom-other-font"},"挂账数量"),e.createElementVNode("view",{class:"boom-other-weight"},"0")]),e.createElementVNode("view",{class:"white-shu"}),e.createElementVNode("view",{class:"boom-other-card"},[e.createElementVNode("image",{class:"boom-other-img",src:qe}),e.createElementVNode("view",{class:"boom-other-font"},"核销数量"),e.createElementVNode("view",{class:"boom-other-weight"},"0")])])])])])])])]))),64))])])]),e.createElementVNode("view",{class:"draw-title",style:{"margin-top":"35rpx","margin-bottom":"30rpx"}},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"拣货拍照")])]),e.createElementVNode("view",{class:"down-note"},[e.createElementVNode("image",{class:"down-note-img",style:{"margin-left":"40rpx"},src:Oe}),e.createElementVNode("scroll-view",{"scroll-x":"",style:{height:"100%",width:"950rpx"},"show-scrollbar":!1},[e.createElementVNode("view",{style:{display:"flex"}},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,1,1,1,1,1,1,1,1,1,1],((t,l)=>e.createElementVNode("view",{key:l,onClick:o},[e.createElementVNode("image",{class:"down-note-photo",src:"/static/index/Warehousing/photo.png"})]))),64))])]),e.createElementVNode("image",{class:"down-note-img",src:We})])])]))}}),[["__scopeId","data-v-4605a6eb"]]),Re=s(e.defineComponent({__name:"index",props:{},emits:["opensuixing","closevoid"],setup(t,{emit:l}){e.ref(""),e.ref(!1),e.ref(""),e.ref(0);const a=e.ref(["https://img-s.msn.cn/tenant/amp/entityid/AA1ECZ6y.img?w=768&h=960&m=6&x=355&y=171&s=47&d=47","https://img-s.msn.cn/tenant/amp/entityid/AA1ECtEb.img?w=768&h=436&m=6&x=280&y=134&s=200&d=200","/static/index/addphoto.png"]);e.ref([{url:"/static/index/Warehousing/sousuo.png",name:"查询"},{url:"/static/index/Warehousing/chongzhi.png",name:"重置"}]);const i=e=>{e==a.value.length-1?uni.chooseImage({count:9,sizeType:["original","compressed"],sourceType:["album","camera"],success:e=>{a.value.pop(),a.value=[...a.value,...e.tempFilePaths],a.value.push("/static/index/addphoto.png")}}):uni.previewImage({urls:a.value.slice(0,-1),current:a.value[e]})};return(t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"draw-all"},[e.createElementVNode("view",{class:"draw-contain"},[e.createElementVNode("view",{class:"draw-title"},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"入库单")])]),e.createElementVNode("view",{class:"swiper-card-once"},[e.createElementVNode("view",{class:"swiper-card-top"},[e.createElementVNode("view",{class:"swiper-card-top-card"},[e.createElementVNode("view",{class:"swiper-card-top-card-weight"},[e.createElementVNode("view",{class:"weight-left"},[e.createElementVNode("view",{class:"green-font"},"采购单号:"),e.createElementVNode("view",{class:"green-font",style:{"font-weight":"700"}},"A0120250301001")])]),e.createElementVNode("view",{class:"swiper-card-top-card-noral"},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 采购人: "),e.createElementVNode("view",{class:"swiper-black"}," 王法 ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"55%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 采购日期: "),e.createElementVNode("view",{class:"swiper-black"}," 2025.03.02 ")])]),e.createElementVNode("view",{class:"swiper-card-top-card-noral",style:{"margin-top":"15rpx"}},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 付款方式: "),e.createElementVNode("view",{class:"swiper-black"}," 月结 ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"55%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 供应商: "),e.createElementVNode("view",{class:"swiper-black"}," 宽城区珂爱个人卫生用品店 ")])])])])]),e.createElementVNode("view",{class:"draw-title",style:{"margin-top":"50rpx"}},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"随行单")])]),e.createElementVNode("view",{class:"scroll-view"},[e.createElementVNode("scroll-view",{"scroll-y":"",style:{height:"100%"},"show-scrollbar":!1},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"card-father",onClick:e=>i(l)},[e.createElementVNode("view",{class:"card-white"},[e.createElementVNode("image",{class:"card-white-photo",src:t},null,8,["src"])]),l!==a.value.length-1?(e.openBlock(),e.createElementBlock("view",{key:0,class:"down-title"},[e.createElementVNode("view",{class:"down-title-flex"},[e.createElementVNode("image",{class:"down-title-photo",src:"/static/index/Warehousing/shangchuanpeople.png"}),e.createElementVNode("view",{style:{"margin-left":"10rpx"}},"上传人:"),e.createElementVNode("view",{style:{"font-weight":"700"}},"王法")]),e.createElementVNode("view",{class:"down-title-flex"},[e.createElementVNode("image",{class:"down-title-photo",src:"/static/index/Warehousing/shangchuantime.png"}),e.createElementVNode("view",{style:{"margin-left":"10rpx"}},"上传时间:"),e.createElementVNode("view",{style:{"font-weight":"500"}},"2025.03.01 10:00:00")])])):e.createCommentVNode("",!0)],8,["onClick"])])))),128))])]),e.createElementVNode("view",{class:"button-card"})])]))}}),[["__scopeId","data-v-1773957a"]]),Je=s(e.defineComponent({__name:"index",props:{},emits:["opensuixing","closehexiao"],setup(t,{emit:l}){e.ref(""),e.ref(!1),e.ref("");const a=e.ref(0);return e.ref([{url:"/static/index/Warehousing/sousuo.png",name:"查询"},{url:"/static/index/Warehousing/chongzhi.png",name:"重置"}]),(t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"draw-all"},[e.createElementVNode("view",{class:"draw-contain"},[e.createElementVNode("view",{class:"swiper-card-once"},[e.createElementVNode("view",{class:"swiper-card-top"},[e.createElementVNode("view",{class:"swiper-card-top-card"},[e.createElementVNode("view",{class:"swiper-card-top-card-weight"},[e.createElementVNode("view",{class:"weight-left"},[e.createElementVNode("view",{class:"green-font"},"采购单号:"),e.createElementVNode("view",{class:"green-font",style:{"font-weight":"700"}},"A0120250301001")])]),e.createElementVNode("view",{class:"swiper-card-top-card-noral"},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 采购人: "),e.createElementVNode("view",{class:"swiper-black"}," 王法 ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"55%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 采购日期: "),e.createElementVNode("view",{class:"swiper-black"}," 2025.03.02 ")])]),e.createElementVNode("view",{class:"swiper-card-top-card-noral",style:{"margin-top":"15rpx"}},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 付款方式: "),e.createElementVNode("view",{class:"swiper-black"}," 月结 ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"55%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 供应商: "),e.createElementVNode("view",{class:"swiper-black"}," 宽城区珂爱个人卫生用品店 ")])])])])]),e.createElementVNode("view",{class:"draw-title",style:{"margin-top":"25rpx"}},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"销账单")])]),e.createElementVNode("view",{class:"radio-circle-top-father"},[e.createElementVNode("scroll-view",{"scroll-x":"",style:{height:"100%"},"show-scrollbar":!1},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"radio-circle-top"},[e.createElementVNode("view",{class:e.normalizeClass(a.value?"radio-circle":"radio-circle-target"),onClick:l[0]||(l[0]=e=>a.value=0)},null,2),e.createElementVNode("view",{class:"radio-font",onClick:l[1]||(l[1]=e=>a.value=0)},"销账单号:A0120250301001555X01")]),e.createElementVNode("view",{class:"radio-circle-top"},[e.createElementVNode("view",{class:e.normalizeClass(1==a.value?"radio-circle-target":"radio-circle"),onClick:l[2]||(l[2]=e=>{a.value=1})},null,2),e.createElementVNode("view",{class:"radio-font",onClick:l[3]||(l[3]=e=>a.value=1)},"销账单号:A0120250301001555RX2")]),e.createElementVNode("view",{class:"radio-circle-top"},[e.createElementVNode("view",{class:e.normalizeClass(2==a.value?"radio-circle-target":"radio-circle"),onClick:l[4]||(l[4]=e=>{a.value=2})},null,2),e.createElementVNode("view",{class:"radio-font",onClick:l[5]||(l[5]=e=>a.value=2)},"销账单号:A0120250301001555X03")])])])]),e.createElementVNode("view",{class:"ruku-time"},[e.createElementVNode("view",{style:{display:"flex","margin-left":"50rpx"}},[e.createElementVNode("view",{class:"ruku-time-font"}," 销账时间: "),e.createElementVNode("view",{class:"ruku-time-font"}," 2025.03.02 10:10:10 ")])]),e.createElementVNode("view",{class:"scroll-view"},[e.createElementVNode("scroll-view",{"scroll-y":"",style:{height:"93%","margin-top":"2%"},"show-scrollbar":!1},[e.createElementVNode("view",{class:"swiper-flex"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,1,1,1,1,1,1,1,1,1,1,1,1],((t,l)=>e.createElementVNode("view",{key:l},[e.createElementVNode("view",{class:"swiper-card"},[e.createElementVNode("view",{class:"swiper-card-top"},[e.createElementVNode("view",{class:"swiper-card-top-card"},[e.createElementVNode("view",{class:"card-img-father"},[e.createElementVNode("view",{class:"card-img-bgc"},[e.createElementVNode("image",{class:"card-img",src:Me})])]),e.createElementVNode("view",{class:"card-right"},[e.createElementVNode("view",{class:"card-right-title"},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"title-gray"}," 采购数量: "),e.createElementVNode("view",{class:"title-black"}," 10 ")]),e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"title-gray"}," 总金额: "),e.createElementVNode("view",{class:"title-black"}," 1150 ")])]),e.createElementVNode("view",{class:"card-right-bgc"},[e.createElementVNode("view",{class:"card-boom"},[e.createElementVNode("view",{class:"card-right-other"},[e.createElementVNode("view",{class:"draw-flex",style:{width:"35%","margin-left":"30rpx"}},[e.createElementVNode("view",{class:"title-gray",style:{"margin-top":"15rpx"}}," 货品编码: "),e.createElementVNode("view",{class:"title-black",style:{"margin-top":"15rpx"}}," FLYPO01 ")]),e.createElementVNode("view",{class:"draw-flex",style:{width:"35%"}},[e.createElementVNode("view",{class:"title-gray",style:{"margin-top":"15rpx"}}," 规格型号: "),e.createElementVNode("view",{class:"title-black",style:{"margin-top":"15rpx"}}," 6cm*7cm ")]),e.createElementVNode("view",{class:"draw-flex",style:{width:"30%"}},[e.createElementVNode("view",{class:"title-gray",style:{"margin-top":"15rpx"}}," 采购单位: "),e.createElementVNode("view",{class:"title-black",style:{"margin-top":"15rpx"}}," 个 ")])]),e.createElementVNode("view",{class:"card-right-other"},[e.createElementVNode("view",{class:"draw-flex",style:{width:"35%","margin-left":"30rpx"}},[e.createElementVNode("view",{class:"title-gray"}," 参考单价: "),e.createElementVNode("view",{class:"title-green"}," 0.1 ")]),e.createElementVNode("view",{class:"draw-flex",style:{width:"35%"}},[e.createElementVNode("view",{class:"title-gray"}," 采购单价: "),e.createElementVNode("view",{class:"title-black"}," 0.1 ")]),e.createElementVNode("view",{class:"draw-flex",style:{width:"30%"}},[e.createElementVNode("view",{class:"title-gray"}," 采购金额: "),e.createElementVNode("view",{class:"title-black"}," 10.12 ")])])]),e.createElementVNode("view",{class:"boom-other"},[e.createElementVNode("view",{class:"boom-other-card"},[e.createElementVNode("image",{class:"boom-other-img",src:Ae}),e.createElementVNode("view",{class:"boom-other-font"},"入库数量"),e.createElementVNode("view",{class:"boom-other-weight"},"10")]),e.createElementVNode("view",{class:"white-shu"}),e.createElementVNode("view",{class:"boom-other-card"},[e.createElementVNode("image",{class:"boom-other-img",src:Pe}),e.createElementVNode("view",{class:"boom-other-font"},"挂账数量"),e.createElementVNode("view",{class:"boom-other-weight"},"0")]),e.createElementVNode("view",{class:"white-shu"}),e.createElementVNode("view",{class:"boom-other-card"},[e.createElementVNode("image",{class:"boom-other-img",src:qe}),e.createElementVNode("view",{class:"boom-other-font"},"核销数量"),e.createElementVNode("view",{class:"boom-other-weight"},"0")])])])])])])])]))),64))])])])])]))}}),[["__scopeId","data-v-ee45895e"]]),Xe=s(e.defineComponent({__name:"index",emits:["closedetail","openDrawer"],setup(t,{emit:l}){e.ref(""),e.ref(!1),e.ref("");const a=e.ref(0),i=e.ref([{name:"纸尿裤-拉拉裤",type:0},{name:"纸尿裤-拉拉裤",type:0},{name:"纸尿裤-拉拉裤",type:0},{name:"纸尿裤-拉拉裤",type:0},{name:"胃管(进口)",type:1},{name:"胃管(进口)",type:1},{name:"胃管(进口)",type:1},{name:"胃管(进口)",type:1},{name:"洗护用品",type:2},{name:"洗护用品",type:2},{name:"洗护用品",type:2},{name:"洗护用品",type:2},{name:"洗护用品",type:2},{name:"洗护用品",type:2}]);e.onMounted((()=>{c.value=JSON.parse(JSON.stringify(i.value))})),e.ref([{url:"/static/index/Warehousing/sousuo.png",name:"查询"},{url:"/static/index/Warehousing/chongzhi.png",name:"重置"}]);const r=l,n=e=>{r("openDrawer",e)},o=e.ref([]),c=e.ref([]),s=()=>{c.value=[],a.value?i.value.forEach((e=>{e.type===a.value-1&&c.value.push(e)})):c.value=JSON.parse(JSON.stringify(i.value))};return(t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"draw-all"},[e.createElementVNode("view",{class:"draw-contain"},[e.createElementVNode("view",{class:"draw-title"},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"采购单")]),e.createElementVNode("view",{class:"draw-title-money"},[e.createElementVNode("view",{class:"draw-title-mon-left"},"总金额:"),e.createElementVNode("view",{class:"draw-title-mon-right"},"921.50")])]),e.createElementVNode("view",{class:"swiper-card-once"},[e.createElementVNode("view",{class:"swiper-card-top"},[e.createElementVNode("view",{class:"swiper-card-top-card"},[e.createElementVNode("view",{class:"swiper-card-top-card-weight"},[e.createElementVNode("view",{class:"weight-left"},[e.createElementVNode("view",{class:""},"采购单号:"),e.createElementVNode("view",{class:"",style:{"font-weight":"700"}},"A0120250301001")]),e.createElementVNode("view",{class:"weight-right"},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"button-blue",style:{"margin-left":"80rpx"},onClick:l[0]||(l[0]=e=>n(3))}," 拣货 "),e.createElementVNode("view",{class:"button-blue",onClick:l[1]||(l[1]=e=>n(4))}," 随行单 ")])])]),e.createElementVNode("view",{class:"swiper-card-top-card-noral"},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 采购人: "),e.createElementVNode("view",{class:"swiper-black"}," 王法 ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"55%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 采购日期: "),e.createElementVNode("view",{class:"swiper-black"}," 2025.03.02 ")])]),e.createElementVNode("view",{class:"swiper-card-top-card-noral",style:{"margin-top":"15rpx"}},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 付款方式: "),e.createElementVNode("view",{class:"swiper-black"}," 月结 ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"55%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 供应商: "),e.createElementVNode("view",{class:"swiper-black"}," 宽城区珂爱个人卫生用品店 ")])])])])]),e.createElementVNode("view",{class:"draw-title",style:{"margin-top":"0rpx"}},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"物料信息")]),e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-target",style:e.normalizeStyle(0===a.value?{background:"#fff"}:{}),onClick:l[2]||(l[2]=e=>{a.value=0,s()})},[0===a.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"bad-circle-right"})):e.createCommentVNode("",!0),0===a.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"bad-circle-left"})):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"kuai-blue"}),e.createElementVNode("view",{class:"kuai-font"},"全部")],4),e.createElementVNode("view",{class:"draw-target",style:e.normalizeStyle(1===a.value?{background:"#fff"}:{}),onClick:l[3]||(l[3]=e=>{a.value=1,s()})},[1===a.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"bad-circle-right"})):e.createCommentVNode("",!0),1===a.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"bad-circle-left"})):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"kuai-pouple"}),e.createElementVNode("view",{class:"kuai-font"},"待入库")],4),e.createElementVNode("view",{class:"draw-target",style:e.normalizeStyle(2===a.value?{background:"#fff"}:{}),onClick:l[4]||(l[4]=e=>{a.value=2,s()})},[2===a.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"bad-circle-right"})):e.createCommentVNode("",!0),2===a.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"bad-circle-left"})):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"kuai-green"}),e.createElementVNode("view",{class:"kuai-font"},"已入库")],4),e.createElementVNode("view",{class:"draw-target",style:e.normalizeStyle([{"margin-right":"120rpx"},3===a.value?{background:"#fff"}:{}]),onClick:l[5]||(l[5]=e=>{a.value=3,s()})},[3===a.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"bad-circle-right"})):e.createCommentVNode("",!0),3===a.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"bad-circle-left"})):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"kuai-orange"}),e.createElementVNode("view",{class:"kuai-font"},"销账")],4)])]),e.createElementVNode("view",{class:"scroll-view"},[e.createElementVNode("scroll-view",{"scroll-y":"",style:{height:"93%","margin-top":"2%"},"show-scrollbar":!1},[e.createElementVNode("view",{class:"swiper-flex"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,onClick:e=>(e=>{o.value.includes(e)?o.value=o.value.filter((t=>t!==e)):o.value.push(e)})(l)},[e.createElementVNode("view",{class:"swiper-card",style:e.normalizeStyle(1===t.type?{background:"#00D6A9 url(/static/index/warehouseCard/bgcgreengreen.png) center/cover"}:2===t.type?{background:"#FF6699 url(/static/index/warehouseCard/bgcorange.png) center/cover"}:{})},[e.createElementVNode("view",{class:"card-button",style:e.normalizeStyle(1===t.type?{background:"linear-gradient(to right, #E2FFFF, #83EBDC, #E2FFFF)"}:2===t.type?{background:"linear-gradient(to right, #FFFFFF , #FFCCC3, #FFE6FF )"}:{})},[e.createElementVNode("view",{class:"boom-other-card"},[e.createElementVNode("image",{class:"boom-other-img",src:Ae}),e.createElementVNode("view",{class:"boom-other-font"},"入库数量"),e.createElementVNode("view",{class:"boom-other-weight"},"10")]),e.createElementVNode("view",{class:"white-shu"}),e.createElementVNode("view",{class:"boom-other-card"},[e.createElementVNode("image",{class:"boom-other-img",src:Pe}),e.createElementVNode("view",{class:"boom-other-font"},"挂账数量"),e.createElementVNode("view",{class:"boom-other-weight"},"0")]),e.createElementVNode("view",{class:"white-shu"}),e.createElementVNode("view",{class:"boom-other-card"},[e.createElementVNode("image",{class:"boom-other-img",src:qe}),e.createElementVNode("view",{class:"boom-other-font"},"销账数量"),e.createElementVNode("view",{class:"boom-other-weight"},"0")])],4),e.createElementVNode("view",{class:"swiper-card-title"},[o.value.includes(l)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"swiper-card-img"},[e.createElementVNode("view",{class:"swiper-card-font-font"},"✓")])),o.value.includes(l)?(e.openBlock(),e.createElementBlock("view",{key:1,class:"swiper-card-img-target"},[e.createElementVNode("view",{class:"swiper-card-font-font"},"✓")])):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"swiper-card-title-name"},[e.createElementVNode("view",{class:"swiper-card-font"}," 采购数量: "),e.createElementVNode("view",{class:"swiper-card-weight"}," 10 "),e.createElementVNode("view",{class:"swiper-card-shu"}," | "),e.createElementVNode("view",{class:"swiper-card-font"}," 总金额: "),e.createElementVNode("view",{class:"swiper-card-weight"}," 1150 ")]),e.createElementVNode("view",{class:"swiper-right-title"},[2!==t.type?(e.openBlock(),e.createElementBlock("view",{key:0,class:"swiper-title-font-button"},e.toDisplayString(0===t.type?"待入库":1===t.type?"已入库":""),1)):e.createCommentVNode("",!0),2===t.type?(e.openBlock(),e.createElementBlock("view",{key:1,class:"swiper-title-font-button",style:{"margin-right":"45rpx","margin-left":"5rpx"}}," 销账 ")):e.createCommentVNode("",!0)])]),e.createElementVNode("view",{style:{display:"flex"}},[e.createElementVNode("view",{class:"swiper-card-left"},[e.createElementVNode("view",{class:"swiper-card-left-white"},[e.createElementVNode("image",{class:e.normalizeClass(0===t.type?"swiper-card-left-white-img-first":1===t.type?"swiper-card-left-white-img-second":"swiper-card-left-white-img-third"),src:"/static/index/project3.png"},null,10,["src"])])]),e.createElementVNode("view",{class:"swiper-card-right"},[e.createElementVNode("view",{class:"swiper-font",style:{"margin-top":"30rpx"}},[e.createElementVNode("view",{class:"swiper-font-left"}," 物料名称: "),e.createElementVNode("view",{class:"swiper-font-right"}," 胃管(进口) ")]),e.createElementVNode("view",{class:"swiper-font",style:{"margin-top":"10rpx"}},[e.createElementVNode("view",{class:"swiper-font-left"}," 规格型号: "),e.createElementVNode("view",{class:"swiper-font-right"}," CH/FR15,100cm ")]),e.createElementVNode("view",{class:"swiper-font",style:{"margin-top":"10rpx"}},[e.createElementVNode("view",{class:"swiper-font-left"}," 物料编码: "),e.createElementVNode("view",{class:"swiper-font-right"}," QXYP016 ")]),e.createElementVNode("view",{class:"swiper-font",style:{"margin-top":"10rpx"}},[e.createElementVNode("view",{class:"swiper-font-left"}," 采购单位: "),e.createElementVNode("view",{class:"swiper-font-right"}," 根 ")]),e.createElementVNode("view",{class:"swiper-font",style:{"margin-top":"10rpx"}},[e.createElementVNode("view",{class:"swiper-font-left"}," 采购单价: "),e.createElementVNode("view",{class:"swiper-font-right",style:{"margin-right":"20rpx"}}," 115.00 "),e.createElementVNode("view",{class:"swiper-font-left"}," 到货单价: "),e.createElementVNode("view",{class:"swiper-font-right"}," 115.00 ")])])])],4)],8,["onClick"])))),128))])])])])]))}}),[["__scopeId","data-v-72acf113"]]),Qe=s(e.defineComponent({__name:"index",props:{backnumber:{type:Number}},emits:["opensuixing","closehexiao","closepickingdrawer","openCal"],setup(t,{emit:l}){e.ref(""),e.ref(!1),e.ref("");const a=l,i=t;e.watch((()=>i.backnumber),(()=>{n.value[o.value].many=i.backnumber})),e.ref(0),e.ref([{url:"/static/index/Warehousing/sousuo.png",name:"查询"},{url:"/static/index/Warehousing/chongzhi.png",name:"重置"}]);const r=e.ref(["https://img-s.msn.cn/tenant/amp/entityid/AA1ECZ6y.img?w=768&h=960&m=6&x=355&y=171&s=47&d=47","https://img-s.msn.cn/tenant/amp/entityid/AA1ECtEb.img?w=768&h=436&m=6&x=280&y=134&s=200&d=200","/static/index/addphoto.png"]),n=e.ref([{name:"入库数量",many:9999,change:0},{name:"销账数量",many:0,change:0}]),o=e.ref(0),c=()=>{a("closepickingdrawer")},s=e=>{e==r.value.length-1?uni.chooseImage({count:9,sizeType:["original","compressed"],sourceType:["album","camera"],success:e=>{r.value.pop(),r.value=[...r.value,...e.tempFilePaths],r.value.push("/static/index/addphoto.png")}}):uni.previewImage({urls:r.value.slice(0,-1),current:r.value[e]})};return(t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"draw-all"},[e.createElementVNode("view",{class:"draw-contain"},[e.createElementVNode("view",{class:"title-title"}," 留置针敷贴(医用透明敷料) "),e.createElementVNode("view",{class:"draw-title",style:{"margin-top":"35rpx","margin-bottom":"10rpx"}},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"采购单")])]),e.createElementVNode("view",{class:"swiper-card-once"},[e.createElementVNode("view",{class:"swiper-card-top"},[e.createElementVNode("view",{class:"swiper-card-top-card"},[e.createElementVNode("view",{class:"swiper-card-top-card-noral"},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 货品名称: "),e.createElementVNode("view",{class:"swiper-black"}," 留置针敷贴(医用透明敷料) ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"45%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 货品编码: "),e.createElementVNode("view",{class:"swiper-black"}," FLYP001 ")])]),e.createElementVNode("view",{class:"swiper-card-top-card-noral",style:{"margin-top":"15rpx"}},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 规格型号: "),e.createElementVNode("view",{class:"swiper-black"}," 6cm*7cm ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"45%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 采购单位: "),e.createElementVNode("view",{class:"swiper-black"}," 个 ")])]),e.createElementVNode("view",{class:"swiper-card-top-card-noral",style:{"margin-top":"15rpx"}},[e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"30%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 采购单价: "),e.createElementVNode("view",{class:"swiper-black"}," 0.1 ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"30%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 到货单价: "),e.createElementVNode("view",{class:"swiper-black"}," 0.12 ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"30%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 采购金额: "),e.createElementVNode("view",{class:"swiper-black"}," 10.12 ")])])])])]),e.createElementVNode("view",{class:"draw-title",style:{"margin-top":"35rpx","margin-bottom":"10rpx"}},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"入库信息")])]),e.createElementVNode("view",{class:"color-father"},[e.createElementVNode("view",{class:"color-pink",style:{"margin-left":"40rpx"}},[e.createElementVNode("view",{class:"color-weight"}," 10 "),e.createElementVNode("view",{class:"color-font"}," 采购数量 ")]),e.createElementVNode("view",{class:"color-green"},[e.createElementVNode("view",{class:"color-weight"}," 0 "),e.createElementVNode("view",{class:"color-font"}," 入库数量 ")]),e.createElementVNode("view",{class:"color-red"},[e.createElementVNode("view",{class:"color-weight"}," 0 "),e.createElementVNode("view",{class:"color-font"}," 销账数量 ")])]),e.createElementVNode("view",{class:"draw-title",style:{"margin-top":"35rpx","margin-bottom":"10rpx"}},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"拣货入库")])]),e.createElementVNode("view",{class:"swiper-card-once",style:{height:"240rpx"}},[e.createElementVNode("view",{class:"swiper-card-top"},[e.createElementVNode("view",{class:"swiper-card-top-card"},[e.createElementVNode("view",{class:"swiper-card-top-card-noral",style:{"margin-top":"15rpx","flex-direction":"column"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"plsbuy-card-heng"},[e.createElementVNode("view",{class:"card-flex"},[e.createElementVNode("view",{class:"plsbuy-font-right"},e.toDisplayString(t.name),1)]),e.createElementVNode("view",{class:"card-flex"},[e.createElementVNode("view",{class:"plsbuy-right-weight"},e.toDisplayString(l?"销账数量":"入库数量"),1),e.createElementVNode("view",{class:e.normalizeClass(1===t.change?"plsbuy-jian-target":"plsbuy-jian"),onClick:e=>(e=>{e.many&&e.many--,e.change=1,setTimeout((()=>{e.change=0}),300)})(t)}," -",10,["onClick"]),e.createElementVNode("view",{class:"plsbuy-number",onClick:e=>((e,t)=>{o.value=e,a("openCal",t)})(l,t.many)},e.toDisplayString(t.many),9,["onClick"]),e.createElementVNode("view",{class:e.normalizeClass(2===t.change?"plsbuy-jia-target":"plsbuy-jia"),onClick:e=>(e=>{e.many<9999&&e.many++,e.change=2,setTimeout((()=>{e.change=0}),300)})(t)},"+ ",10,["onClick"])])])))),128))])])])]),e.createElementVNode("view",{class:"draw-title",style:{"margin-top":"35rpx","margin-bottom":"25rpx"}},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"拣货拍照")])]),e.createElementVNode("view",{class:"down-note"},[e.createElementVNode("image",{class:"down-note-img",style:{"margin-left":"40rpx"},src:Oe}),e.createElementVNode("scroll-view",{"scroll-x":"",style:{height:"100%",width:"950rpx"},"show-scrollbar":!1},[e.createElementVNode("view",{style:{display:"flex"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("image",{class:"down-note-photo",src:t,onClick:e=>s(l)},null,8,["src","onClick"])])))),128))])]),e.createElementVNode("image",{class:"down-note-img",src:We})]),e.createElementVNode("view",{class:"button-card"},[e.createElementVNode("view",{class:"swiper-button-white",onClick:c}," 取消 "),e.createElementVNode("view",{class:"swiper-button-blue",onClick:c}," 确定 ")])])]))}}),[["__scopeId","data-v-ab4efe77"]]),Ze=s(e.defineComponent({__name:"index",props:{doOnce:{type:Number,required:!0},translateNumber:{type:Number,required:!0}},emits:["right","close"],setup(t,{emit:l}){const a=l,i=e.ref(-1),r=t;e.watch((()=>r.doOnce),(()=>{c.value=r.translateNumber,o.value=d(c.value)}));const n=[1,2,3,4,5,6,7,8,9,"AC",0,"CE"],o=e.ref("0000"),c=e.ref(0),s=(e,t)=>{return i.value=t,setTimeout((()=>{i.value=-1}),300),"AC"==e?(c.value=0,void(o.value="0000")):"CE"==e?(c.value=Math.trunc(c.value/10),void(o.value=d(c.value))):(l=c.value,void(Math.abs(l).toString().length>3||(c.value?c.value=10*c.value+e:c.value=e,o.value=d(c.value))));var l};function d(e){const t=Math.floor(Math.abs(e));return String(t).padStart(4,"0")}return(t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"draw-all"},[e.createElementVNode("view",{class:"draw-contain"},[e.createElementVNode("view",{style:{"margin-left":"80rpx"}},[e.createElementVNode("view",{class:"draw-title"},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"采购数量")])]),e.createElementVNode("view",{class:"calculator-father"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(n,((t,l)=>e.createElementVNode("view",{key:l},[e.createElementVNode("view",{class:e.normalizeClass(i.value==l?"calculator-kuai-target":"calculator-kuai"),onClick:e=>s(t,l)},e.toDisplayString(t),11,["onClick"])]))),64))]),e.createElementVNode("view",{class:"qinggou-font"}," 采购数量 "),e.createElementVNode("view",{class:"stringShow-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"stringShow-kuai"},e.toDisplayString(t),1)])))),128))])]),e.createElementVNode("view",{class:"button-card"},[e.createElementVNode("view",{class:"swiper-button-white",onClick:l[0]||(l[0]=e=>{a("close")})}," 关闭 "),e.createElementVNode("view",{class:"swiper-button-blue",onClick:l[1]||(l[1]=e=>{a("right",c.value)})}," 确定 ")])])]))}}),[["__scopeId","data-v-e7259b7d"]]),He=s(e.defineComponent({__name:"index",props:{savePrice:{type:Number,required:!0},changePrice:{type:Number,required:!0}},emits:["right","close","openCal","closeCal","rightclose"],setup(t,{emit:l}){const a=l;e.ref(-1);const i=t;return(l,r)=>(e.openBlock(),e.createElementBlock("view",{class:"draw-all"},[e.createElementVNode("view",{class:"draw-contain"},[e.createElementVNode("view",{class:"draw-title-father"},[e.createElementVNode("view",{class:"draw-title"},[e.createElementVNode("view",{class:"draw-font"},"货品名称:"),e.createElementVNode("view",{class:"draw-weight"},"留置针敷贴(医用透明敷料)")])]),e.createElementVNode("view",{class:"swiper-card"},[e.createElementVNode("view",{class:"swiper-card-top"},[e.createElementVNode("view",{class:"swiper-card-top-card"},[e.createElementVNode("view",{class:"card-img-father"},[e.createElementVNode("image",{class:"card-img",src:Me})]),e.createElementVNode("view",{class:"card-right"},[e.createElementVNode("view",{class:"card-right-title"},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"title-gray"}," 货品名称: "),e.createElementVNode("view",{class:"title-black"}," 引流袋(医用透明) ")])]),e.createElementVNode("view",{class:"card-right-other"},[e.createElementVNode("view",{class:"draw-flex",style:{width:"300rpx"}},[e.createElementVNode("view",{class:"title-gray"}," 货品编码: "),e.createElementVNode("view",{class:"title-black"}," FLYPO01 ")]),e.createElementVNode("view",{class:"draw-flex",style:{width:"300rpx"}},[e.createElementVNode("view",{class:"title-gray"}," 规格型号: "),e.createElementVNode("view",{class:"title-black"}," 6cm*7cm ")]),e.createElementVNode("view",{class:"draw-flex",style:{}},[e.createElementVNode("view",{class:"title-gray"}," 采购单位: "),e.createElementVNode("view",{class:"title-black"}," 个 ")])])])])])]),e.createElementVNode("view",{class:"contant-mid"},[e.createElementVNode("view",{class:""},"改价前到货单价:"),e.createElementVNode("view",{class:"contant-mid-wight"},e.toDisplayString(t.savePrice),1)]),e.createElementVNode("view",{class:"contant-mid"},[e.createElementVNode("view",{class:""},"改价后到货单价:"),e.createElementVNode("view",{class:"contant-mid-wight-target",onClick:r[0]||(r[0]=e=>{return l=t.changePrice,void a("openCal",l);var l})},e.toDisplayString(t.changePrice),1)]),e.createElementVNode("view",{class:"button-card"},[e.createElementVNode("view",{class:"swiper-button-white",onClick:r[1]||(r[1]=e=>(a("close"),void a("closeCal")))}," 关闭 "),e.createElementVNode("view",{class:"swiper-button-blue",onClick:r[2]||(r[2]=e=>(a("close"),a("closeCal"),void a("rightclose",i.changePrice)))}," 确定 ")])])]))}}),[["__scopeId","data-v-2517b556"]]),Ge=s(e.defineComponent({__name:"index",props:{openType:{type:Number,required:!0},valueBack:{type:Number,required:!0}},emits:["closedetail","openDrawer","openPen"],setup(t,{emit:l}){e.ref(""),e.ref(!1),e.ref("");const a=t,i=[{name:"引流袋(医用透明)",price:.1},{name:"引流袋(医用透明)",price:.1},{name:"引流袋(医用透明)",price:.1},{name:"引流袋(医用透明)",price:.1},{name:"引流袋(医用透明)",price:.1},{name:"引流袋(医用透明)",price:.1},{name:"引流袋(医用透明)",price:.1}],r=["已作废","未确认","已确认","未完结","待结账","已结账"];e.ref([{url:"/static/index/Warehousing/sousuo.png",name:"查询"},{url:"/static/index/Warehousing/chongzhi.png",name:"重置"}]);const n=l,o=e.ref(0);return e.watch((()=>a.valueBack),(()=>{-1!=a.valueBack&&(i[o.value].price=a.valueBack)}),{immediate:!0}),(l,a)=>(e.openBlock(),e.createElementBlock("view",{class:"draw-all"},[e.createElementVNode("view",{class:"draw-contain"},[e.createElementVNode("view",{class:"draw-title"},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"采购单")]),e.createElementVNode("view",{class:e.normalizeClass(t.openType?"title-button":"title-button-red")},e.toDisplayString(r[t.openType]),3)]),e.createElementVNode("view",{class:"swiper-card-once"},[e.createElementVNode("view",{class:"swiper-card-top"},[e.createElementVNode("view",{class:"swiper-card-top-card"},[e.createElementVNode("view",{class:"swiper-card-top-card-weight"},[e.createElementVNode("view",{class:"weight-left"},[e.createElementVNode("view",{class:""},"采购单号:"),e.createElementVNode("view",{class:"",style:{"font-weight":"700"}},"A0120250301001")]),e.createElementVNode("view",{class:"weight-left"},[e.createElementVNode("view",{class:""},"总金额:"),e.createElementVNode("view",{class:""},"100.00")])]),e.createElementVNode("view",{class:"weight-boom"},[e.createElementVNode("view",{class:"swiper-card-top-card-noral"},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 采购人: "),e.createElementVNode("view",{class:"swiper-black"}," 王法 ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"55%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 采购日期: "),e.createElementVNode("view",{class:"swiper-black"}," 2025.03.02 ")])]),e.createElementVNode("view",{class:"swiper-card-top-card-noral",style:{"margin-top":"15rpx"}},[e.createElementVNode("view",{class:"swiper-all-flex"},[e.createElementVNode("view",{class:"swiper-gray"}," 付款方式: "),e.createElementVNode("view",{class:"swiper-black"}," 月结 ")]),e.createElementVNode("view",{class:"swiper-all-flex",style:{width:"55%"}},[e.createElementVNode("view",{class:"swiper-gray"}," 供应商: "),e.createElementVNode("view",{class:"swiper-black"}," 宽城区珂爱个人卫生用品店 ")])])])])])]),e.createElementVNode("view",{class:"draw-title",style:{"margin-top":"25rpx"}},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"物料信息")]),e.createElementVNode("view",{class:"draw-flex",style:{"margin-top":"-10rpx"}},[e.createElementVNode("view",{class:"button-blue",onClick:a[0]||(a[0]=e=>{n("openDrawer",4)})}," 随行单 ")])]),e.createElementVNode("view",{class:"scroll-view"},[e.createElementVNode("scroll-view",{"scroll-y":"",style:{height:"93%","margin-top":"2%"},"show-scrollbar":!1},[e.createElementVNode("view",{class:"swiper-flex"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(i,((t,l)=>e.createElementVNode("view",{key:l},[e.createElementVNode("view",{class:"swiper-card"},[e.createElementVNode("view",{class:"swiper-card-rightbox"},[e.createElementVNode("view",{class:"vertical-line"}),e.createElementVNode("view",{class:"rightbox-other"},[e.createElementVNode("view",{class:"boom-other-card"},[e.createElementVNode("image",{class:"boom-other-img",src:Ae}),e.createElementVNode("view",{class:"boom-other-font"},"入库数量:"),e.createElementVNode("view",{class:"boom-other-weight"},"10")]),e.createElementVNode("view",{class:"boom-other-card"},[e.createElementVNode("image",{class:"boom-other-img",src:Pe}),e.createElementVNode("view",{class:"boom-other-font"},"入库数量:"),e.createElementVNode("view",{class:"boom-other-weight"},"0")]),e.createElementVNode("view",{class:"boom-other-card"},[e.createElementVNode("image",{class:"boom-other-img",src:qe}),e.createElementVNode("view",{class:"boom-other-font"},"销账数量:"),e.createElementVNode("view",{class:"boom-other-weight"},"0")])])]),e.createElementVNode("view",{class:"swiper-card-top"},[e.createElementVNode("view",{class:"swiper-card-top-card"},[e.createElementVNode("view",{class:"card-img-father"},[e.createElementVNode("image",{class:"card-img",src:Me})]),e.createElementVNode("view",{class:"card-right"},[e.createElementVNode("view",{class:"card-right-title"},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"title-gray"}," 货品名称: "),e.createElementVNode("view",{class:"title-black"},e.toDisplayString(t.name),1)])]),e.createElementVNode("view",{class:"card-right-other"},[e.createElementVNode("view",{class:"draw-flex",style:{width:"35%"}},[e.createElementVNode("view",{class:"title-gray"}," 货品编码: "),e.createElementVNode("view",{class:"title-black"}," FLYPO01 ")]),e.createElementVNode("view",{class:"draw-flex",style:{width:"35%"}},[e.createElementVNode("view",{class:"title-gray"}," 规格型号: "),e.createElementVNode("view",{class:"title-black"}," 6cm*7cm ")]),e.createElementVNode("view",{class:"draw-flex",style:{width:"30%"}},[e.createElementVNode("view",{class:"title-gray"}," 采购单位: "),e.createElementVNode("view",{class:"title-black"}," 个 ")])]),e.createElementVNode("view",{class:"card-right-other"},[e.createElementVNode("view",{class:"draw-flex",style:{width:"35%"}},[e.createElementVNode("view",{class:"title-gray"}," 参考单价: "),e.createElementVNode("view",{class:"title-green"}," 0.1 ")]),e.createElementVNode("view",{class:"draw-flex",style:{width:"35%"}},[e.createElementVNode("view",{class:"title-gray"}," 采购单价: "),e.createElementVNode("view",{class:"title-black"},e.toDisplayString(t.price),1),e.createElementVNode("image",{class:"title-img",src:"/static/index/Warehousing/pen.png",onClick:e=>(e=>{o.value=e,n("openPen",i[e].price)})(l)},null,8,["onClick"])]),e.createElementVNode("view",{class:"draw-flex",style:{width:"30%"}},[e.createElementVNode("view",{class:"title-gray"}," 采购金额: "),e.createElementVNode("view",{class:"title-black"}," 10.12 ")])])])])])])]))),64))])])])])]))}}),[["__scopeId","data-v-d07b1c84"]]),Ke=s(e.defineComponent({__name:"calculatorfly",props:{doOnce:{type:Number,required:!0},translateNumber:{type:[Number,String],required:!0}},emits:["right"],setup(t,{emit:l}){const a=l,i=t,r=e.ref(""),n=e.ref([]),o=e.ref(-1),c=[1,2,3,4,5,6,7,8,9,0,".","CE","AC"];function s(e,t){if(o.value=t,setTimeout((()=>{o.value=-1}),300),"AC"===e)r.value="";else if("CE"===e)r.value=r.value.slice(0,-1);else if("."===e)!r.value.includes(".")&&r.value.length<7&&(r.value=r.value||"0",r.value+=".");else{const t=e.toString();(function(e){const t=r.value+e,l=t.split(".");return!(l[1]&&l[1].length>2)&&t.length<=7})(t)&&(r.value+=t)}u()}function d(){const e=parseFloat(r.value)||0;a("right",e)}function u(){if("0"===r.value)return void(n.value=Array(7).fill(" "));if(!r.value)return void(n.value=Array(7).fill(" "));const e=function(e){let[t,l]=e.split(".");void 0!==l&&(l=l.slice(0,2));t=t.replace(/^0+/,""),""===t&&(t="0");let a=void 0!==l?`${t}.${l}`:t;a.length>7&&(a=a.slice(0,7));return a.padStart(7," ")}(r.value);n.value=e.split("")}return e.watch((()=>i.doOnce),(()=>{r.value=String(i.translateNumber),u()}),{immediate:!0}),(t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"plsbuy-contain"},[e.createElementVNode("view",{class:"draw-title"},[e.createElementVNode("view",{class:"draw-flex"},[e.createElementVNode("view",{class:"draw-title-gun"}),e.createElementVNode("view",{class:"draw-title-font"},"货品价格")])]),e.createElementVNode("view",{class:"calculator-father"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(c,((t,l)=>e.createElementVNode("view",{key:l},[e.createElementVNode("view",{class:e.normalizeClass(o.value===l?"calculator-kuai-target":"calculator-kuai"),onClick:e=>s(t,l)},e.toDisplayString(t),11,["onClick"])]))),64))]),e.createElementVNode("view",{class:"qinggou-font"},"货品价格"),e.createElementVNode("view",{class:"stringShow-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"stringShow-kuai"},e.toDisplayString(t),1)])))),128))]),e.createElementVNode("view",{class:"plsbuy-bottom"},[e.createElementVNode("view",{class:"plsbuy-bottom-blue",onClick:d},"确认")])]))}}),[["__scopeId","data-v-86c43bb8"]]),et=s(e.defineComponent({__name:"orders",props:{isShow:{type:Boolean,required:!0}},setup(t){const l=t,i=e.ref(!0),r=e=>{switch(e){case 0:return"ball-red-big";case 1:return"ball-yellow-big";default:return"ball-green"}},n=e=>{switch(e){case 0:case 1:return"ball-white";case 2:case 3:return"ball-yellow-big";case 4:case 5:return"ball-green"}},o=e=>{switch(e){case 4:return"ball-yellow-big";case 5:return"ball-green";default:return"ball-white"}};e.watch((()=>l.isShow),((e,t)=>{!t&&e&&(i.value=!1,setTimeout((()=>{i.value=!0}),50))}));const c=e.ref(null),s=e.ref(null),d=e.ref(null),u=e.ref(null),m=e.ref(!1),v=e.ref(0),p=e.ref(0),g=e.ref(0),w=e.ref(!1),h=e.ref(-1),y=e.ref(null),N=()=>{y.value.openDrawer()},E=e.ref(-1),V=e.ref(null),x=()=>{V.value.openDrawer()},k=e.ref(0),b=e.ref(null),S=e=>{e?1===e?(d.value.openDrawer(),k.value=1):2===e?(k.value=2,u.value.openDrawer()):3===e?b.value.openDrawer():4===e&&V.value.openDrawer():(d.value.openDrawer(),k.value=0)},T=e.ref(0),C=e.ref(0),B=e.ref(-1),D=e=>{B.value=e},z=e=>{M.value=!1,C.value=e},I=e=>{T.value=e,C.value=e,m.value=!0,X.value=!0},F=e.ref(0),_=e.ref(0),U=e.ref(!1),$=()=>{U.value=!1},M=e.ref(!1),L=e=>{M.value=!0,_.value++,F.value=e},j=e.ref(0),A=e=>{U.value=!1,j.value=e},P=e=>{F.value=e,U.value=!0,X.value=!1,setTimeout((()=>{X.value=!0}),100),_.value++},q=()=>{b.value.closeDrawer()},O=e.ref(null),W=()=>{if(p.value=0,g.value=0,v.value<3?v.value++:v.value=0,v.value){let e=[];switch(v.value){case 1:G.value.forEach((t=>{1==t.cardType&&e.push(t)})),K.value=e;break;case 2:G.value.forEach((t=>{t.cardType>2&&e.push(t)})),K.value=e;break;case 3:G.value.forEach((t=>{0==t.cardType&&e.push(t)})),K.value=e}}else K.value=G.value},Y=()=>{if(v.value=0,g.value=0,p.value<2?p.value++:p.value=0,p.value){let e=[];switch(p.value){case 1:G.value.forEach((t=>{2!=t.cardType&&3!=t.cardType||e.push(t)})),K.value=e;break;case 2:G.value.forEach((t=>{t.cardType>3&&e.push(t)})),K.value=e}}else K.value=G.value},R=()=>{if(p.value=0,v.value=0,g.value<2?g.value++:g.value=0,g.value){let e=[];switch(g.value){case 1:G.value.forEach((t=>{4==t.cardType&&e.push(t)})),K.value=e;break;case 2:G.value.forEach((t=>{5==t.cardType&&e.push(t)})),K.value=e}}else K.value=G.value},J=e.ref(!1),X=e.ref(!1),Q=e.ref([{url:"/static/index/Warehousing/sousuo.png",name:"查询"},{url:"/static/index/Warehousing/chongzhi.png",name:"重置"}]),Z=e.ref(""),H=e.ref(["已作废","未确认","已确认","未完结","待结账","已结账"]),G=e.ref(Array.from({length:6},((e,t)=>({cardType:t})))),K=e.ref([]),ee=e=>{switch(e){case 0:return"ball-white";case 1:return"ball-yellow";case 2:return"ball-green";case 3:return"ball-red"}},te=()=>{J.value=!0,X.value=!1,setTimeout((()=>{X.value=!0}),200)},le=()=>{c.value.closeDrawer()},ae=()=>{d.value.closeDrawer()},ie=()=>{s.value.closeDrawer()},re=()=>{u.value.closeDrawer()},ne=e=>{Z.value=e.result};return e.onMounted((()=>{K.value=G.value})),(l,oe)=>{const ce=a(e.resolveDynamicComponent("u-calendar"),De);return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives(e.createElementVNode("view",{class:"index-content-other",style:e.normalizeStyle(i.value?{opacity:"1"}:{opacity:"0"})},[e.createElementVNode("view",{class:"index-content-right"},[e.createElementVNode("view",{class:"index-right-height"}),e.createElementVNode("view",{class:"index-right-title"},[e.createElementVNode("view",{class:"ball-bgc",style:{"box-shadow":"2rpx 2rpx 4rpx 0rpx rgba(0, 0, 0, 0.3)"},onClick:W},[e.createElementVNode("view",{class:e.normalizeClass(ee(v.value))}," 采购 ",2)]),e.createElementVNode("view",{class:"ball-bgc",style:{"box-shadow":"2rpx 2rpx 4rpx 0rpx rgba(0, 0, 0, 0.3)"},onClick:Y},[e.createElementVNode("view",{class:e.normalizeClass(ee(p.value))}," 拣货 ",2)]),e.createElementVNode("view",{class:"ball-bgc",style:{"box-shadow":"2rpx 2rpx 4rpx 0rpx rgba(0, 0, 0, 0.3)"},onClick:R},[e.createElementVNode("view",{class:e.normalizeClass(ee(g.value))}," 结账 ",2)]),e.createElementVNode("view",{class:"index-right-name"}," 采购单号 "),e.createElementVNode("input",{class:"index-right-input",placeholder:"请输入采购单号"}),e.createElementVNode("view",{class:"index-right-name"}," 供应商 "),e.createElementVNode("input",{class:"index-right-input",placeholder:"请输入供应商"}),e.createElementVNode("view",{class:"index-right-name"}," 采购日期 "),e.createElementVNode("view",{onClick:oe[0]||(oe[0]=e.withModifiers((e=>w.value=!0),["stop"]))},[e.createElementVNode("view",{class:"index-right-input",style:e.normalizeStyle([{width:"200rpx",height:"66rpx"},Z.value?{}:{color:"#999"}])},e.toDisplayString(Z.value?Z.value:"请输入采购日期"),5)]),e.createVNode(ce,{style:{width:"40%","margin-left":"30%"},"border-radius":"40",modelValue:w.value,"onUpdate:modelValue":oe[1]||(oe[1]=e=>w.value=e),mode:"date",onChange:ne},null,8,["modelValue"]),e.createElementVNode("view",{class:"index-right-button-all"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Q.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"",key:l},[e.createElementVNode("view",{class:"index-right-button"},[e.createElementVNode("image",{class:"index-right-button-img",src:t.url},null,8,["src"]),e.createElementVNode("view",{class:"index-right-button-font"},e.toDisplayString(t.name),1)])])))),128))])]),e.createElementVNode("view",{class:"swiper-contain"},[e.createElementVNode("scroll-view",{"scroll-y":"",style:{height:"98%"},"show-scrollbar":!1},[e.createElementVNode("view",{class:"swiper-flex"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(K.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"swiper-card"},[e.createElementVNode("view",{class:"swiper-title-contect"},[e.createElementVNode("view",{class:"swiper-states"},[e.createElementVNode("view",{class:e.normalizeClass(t.cardType>1?"swiper-states-heng-one-green":"swiper-states-heng-one")},null,2),e.createElementVNode("view",{class:e.normalizeClass(t.cardType>3?"swiper-states-heng-two-green":"swiper-states-heng-two")},null,2),e.createElementVNode("view",{class:"ball-bgc",style:e.normalizeStyle(0!==t.cardType&&1!==t.cardType?{}:{boxShadow:"8rpx 8rpx 16rpx 0rpx rgba(0, 0, 0, 0.3)",width:"110rpx",height:"110rpx"})},[e.createElementVNode("view",{class:e.normalizeClass(r(t.cardType))}," 采购 ",2)],4),e.createElementVNode("view",{class:"ball-bgc",style:e.normalizeStyle(2!=t.cardType&&3!=t.cardType?{}:{boxShadow:"8rpx 8rpx 16rpx 0rpx rgba(0, 0, 0, 0.3)",width:"110rpx",height:"110rpx"})},[e.createElementVNode("view",{class:e.normalizeClass(n(t.cardType))}," 拣货 ",2)],4),e.createElementVNode("view",{class:"ball-bgc",style:e.normalizeStyle(4!=t.cardType?{}:{boxShadow:"8rpx 8rpx 16rpx 0rpx rgba(0, 0, 0, 0.3)",width:"110rpx",height:"110rpx"})},[e.createElementVNode("view",{class:e.normalizeClass(o(t.cardType))}," 结账 ",2)],4)]),e.createElementVNode("view",{class:e.normalizeClass(t.cardType?"title-button":"title-button-red")},e.toDisplayString(H.value[t.cardType]),3)]),e.createElementVNode("view",{class:"swiper-down"},[e.createElementVNode("view",{class:"swiper-flex"},[e.createElementVNode("view",{class:"swiper-down-title"},"采购单号:"),e.createElementVNode("view",{class:"swiper-down-number"},"A0120250301001555")]),e.createElementVNode("view",{class:"swiper-down-card"},[e.createElementVNode("view",{class:"swiper-down-text"},[e.createElementVNode("view",{class:"swiper-down-text-left"}," 采 购 人 : "),e.createElementVNode("view",{class:"swiper-down-text-right"}," 王法 ")]),e.createElementVNode("view",{class:"swiper-down-text"},[e.createElementVNode("view",{class:"swiper-down-text-left"}," 采购日期 : "),e.createElementVNode("view",{class:"swiper-down-text-right"}," 2025.03.02 ")]),e.createElementVNode("view",{class:"swiper-down-text"},[e.createElementVNode("view",{class:"swiper-down-text-left"}," 联 系 人 : "),e.createElementVNode("view",{class:"swiper-down-text-right"}," 李月 ")]),e.createElementVNode("view",{class:"swiper-down-text"},[e.createElementVNode("view",{class:"swiper-down-text-left"}," 联系电话 : "),e.createElementVNode("view",{class:"swiper-down-text-right"}," 13355653333 ")]),e.createElementVNode("view",{class:"swiper-down-text",style:{width:"100%"}},[e.createElementVNode("view",{class:"swiper-down-text-left"}," 供 应 商 : "),e.createElementVNode("view",{class:"swiper-down-text-right"}," 宽城区珂爱个人卫生用品店 ")])]),e.createElementVNode("view",{class:"swiper-button"},[e.createElementVNode("view",{class:"button-father"},[e.createElementVNode("view",{class:"swiper-button-white",onClick:e=>{return l=t.cardType,h.value=l,void c.value.openDrawer();var l}}," 详情 ",8,["onClick"]),e.withDirectives(e.createElementVNode("view",{class:"swiper-button-blue",onClick:e=>(e=>{h.value=e,O.value.openDrawer()})(t.cardType)}," 结账 ",8,["onClick"]),[[e.vShow,4==t.cardType]]),e.withDirectives(e.createElementVNode("view",{class:"swiper-button-blue",onClick:N}," 拣货 ",512),[[e.vShow,3==t.cardType||2==t.cardType]]),e.withDirectives(e.createElementVNode("view",{class:"swiper-button-white",onClick:e=>(e=>{v.value=0,p.value=0,g.value=0,G.value[e].cardType--,K.value=G.value})(l)}," 回退 ",8,["onClick"]),[[e.vShow,t.cardType>=2&&5!==t.cardType]]),e.withDirectives(e.createElementVNode("view",{class:"swiper-button-blue",onClick:e=>(e=>{v.value=0,p.value=0,g.value=0,G.value[e].cardType++,K.value=G.value})(l)}," 确认 ",8,["onClick"]),[[e.vShow,1==t.cardType]]),e.withDirectives(e.createElementVNode("view",{class:"swiper-button-red",onClick:e=>(e=>{E.value=e,s.value.openDrawer()})(l)}," 作废 ",8,["onClick"]),[[e.vShow,1==t.cardType]])])])])])])))),128))])])])]),e.createElementVNode("view",{class:"index-content-down"}," 长春市朝阳区久泰开运养老服务有限公司 ")],4),[[e.vShow,t.isShow]]),e.withDirectives(e.createElementVNode("view",{class:"popup-detail",onClick:oe[3]||(oe[3]=e=>J.value=!1)},[e.createElementVNode("view",{class:"popup-detail-content",style:e.normalizeStyle({opacity:X.value?1:0}),onClick:oe[2]||(oe[2]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"popup-detail-left"},[e.createElementVNode("view",{class:"popup-detail-left-white"},[e.createElementVNode("image",{class:"popup-detail-left-white-img",src:"/static/index/project3.png",onClick:te},null,8,["src"])]),e.createElementVNode("view",{class:"popup-detail-left-bottom"},[e.createElementVNode("view",{class:"popup-small-card"})])]),e.createElementVNode("view",{class:"popup-detail-right"})],4)],512),[[e.vShow,J.value&&t.isShow]]),e.createVNode(f,{ref_key:"detaildrawer",ref:c,widNumber:60},{default:e.withCtx((()=>[e.createVNode(Le,{openType:h.value,onClosedetail:le,onOpenDrawer:S},null,8,["openType"])])),_:1},512),e.withDirectives(e.createElementVNode("view",{class:"popup-detail-finish",onClick:oe[8]||(oe[8]=e=>m.value=!1)},[e.createElementVNode("view",{class:"popup-detail-content",style:e.normalizeStyle({opacity:X.value?1:0}),onClick:oe[6]||(oe[6]=e.withModifiers((()=>{}),["stop"]))},[e.createVNode(He,{changePrice:C.value,savePrice:T.value,onRightclose:D,onClose:oe[4]||(oe[4]=e=>m.value=!1),onOpenCal:L,onCloseCal:oe[5]||(oe[5]=e=>M.value=!1)},null,8,["changePrice","savePrice"])],4),e.withDirectives(e.createElementVNode("view",{class:"popup-detail-content-calculator",style:e.normalizeStyle({opacity:X.value?1:0}),onClick:oe[7]||(oe[7]=e.withModifiers((()=>{}),["stop"]))},[e.createVNode(Ke,{doOnce:_.value,translateNumber:F.value,onRight:z},null,8,["doOnce","translateNumber"])],4),[[e.vShow,M.value]])],512),[[e.vShow,m.value&&t.isShow]]),e.createVNode(f,{ref_key:"finishAccountdrawer",ref:O,widNumber:60},{default:e.withCtx((()=>[e.createVNode(Ge,{valueBack:B.value,openType:h.value,onClosedetail:le,onOpenDrawer:S,onOpenPen:I},null,8,["valueBack","openType"])])),_:1},512),e.createVNode(f,{ref_key:"storagedrawer",ref:d,widNumber:50,style:{"z-index":"1000"}},{default:e.withCtx((()=>[e.createVNode(Ye,{dantype:k.value,onOpensuixing:x,onClosevoid:ae},null,8,["dantype"])])),_:1},512),e.createVNode(f,{ref_key:"verificationdrawer",ref:u,widNumber:50,style:{"z-index":"1000"}},{default:e.withCtx((()=>[e.createVNode(Je,{onClosehexiao:re})])),_:1},512),e.createVNode(f,{ref_key:"suixingdrawer",ref:V,widNumber:40,style:{"z-index":"1001"}},{default:e.withCtx((()=>[e.createVNode(Re)])),_:1},512),e.withDirectives(e.createElementVNode("view",{class:"popup-detail-cal",onClick:oe[10]||(oe[10]=e=>U.value=!1)},[e.createElementVNode("view",{class:"popup-detail-content",style:e.normalizeStyle({opacity:X.value?1:0}),onClick:oe[9]||(oe[9]=e.withModifiers((()=>{}),["stop"]))},[e.createVNode(Ze,{doOnce:_.value,translateNumber:F.value,onClose:$,onRight:A},null,8,["doOnce","translateNumber"])],4)],512),[[e.vShow,U.value&&t.isShow]]),e.createVNode(f,{ref_key:"voiddrawer",ref:s,widNumber:60},{default:e.withCtx((()=>[e.createVNode(je,{onVoidIt:oe[11]||(oe[11]=e=>{return t=E.value,v.value=0,p.value=0,g.value=0,G.value[t].cardType=0,K.value=G.value,void s.value.closeDrawer();var t}),onClosevoid:ie})])),_:1},512),e.createVNode(f,{ref_key:"pickingGooddrawer",ref:y,widNumber:60,style:{"z-index":"998"}},{default:e.withCtx((()=>[e.createVNode(Xe,{onOpenDrawer:S})])),_:1},512),e.createVNode(f,{ref_key:"pickingdrawer",ref:b,canclose:!1,widNumber:50,style:{"z-index":"998"}},{default:e.withCtx((()=>[e.createVNode(Qe,{backnumber:j.value,onOpenCal:P,onClosepickingdrawer:q},null,8,["backnumber"])])),_:1},512)],64)}}}),[["__scopeId","data-v-4e891f28"]]),tt=s(e.defineComponent({__name:"index",setup(t){const l=e.ref(!1),a=e.ref(3);return e.ref(!1),e.ref(!1),e.ref([{url:"/static/index/lefticon/index.png",targetUrl:"/static/index/lefticontarget/blueindex.png",name:"首页",pao:0},{url:"/static/index/Warehousing/dingdan.png",targetUrl:"/static/index/Warehousing/dingdanblue.png",name:"订单",pao:0},{url:"/static/index/Warehousing/chuku.png",targetUrl:"/static/index/Warehousing/chukublue.png",name:"出库",pao:5},{url:"/static/index/Warehousing/pandian.png",targetUrl:"/static/index/Warehousing/pandianblue.png",name:"盘点",pao:0},{url:"/static/index/Warehousing/jiankong.png",targetUrl:"/static/index/Warehousing/jiankongblue.png",name:"监控",pao:0},{url:"/static/index/lefticon/back.png",targetUrl:"/static/index/lefticontarget/blueback.png",name:"返回",pao:0}]),(t,i)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(l.value?"darkbackgroundContainer":"backgroundContainer")},[e.createElementVNode("view",{class:"index-content"},[e.createVNode($e,{isShow:!a.value},null,8,["isShow"]),e.createVNode(et,{isShow:1===a.value},null,8,["isShow"]),e.createVNode(ee,{isShow:3===a.value},null,8,["isShow"])])],2))}}),[["__scopeId","data-v-efa16caf"]]),lt="/static/index/video/videoright/guang.png",at="/static/index/bed.png",it="/static/index/video/laba.png",rt="/static/index/video/video.png",nt="/static/index/video/txt.png",ot="/static/index/cardicons/zhixing.png",ct="/static/index/cardicons/zhifa.png",st=s(e.defineComponent({__name:"fuwu",props:{isShow:{type:Boolean,required:!0}},emits:["nav"],setup(t,{emit:l}){const a=t,i=e.ref(["清晰度","分屏","画面旋转"]),r=e.ref([{url:"/static/index/video/videotopright/0.png",name:"入住",bgc:"linear-gradient(to right,#008AFF,#01BCFF)"},{url:"/static/index/video/videotopright/1.png",name:"预警",bgc:"linear-gradient(to right,#FF585D ,#FF4F52)"},{url:"/static/index/video/videotopright/2.png",name:"外出",bgc:"linear-gradient(to right,#709EE2 ,#A0BFEC )"},{url:"/static/index/video/videotopright/3.png",name:"空闲",bgc:"linear-gradient(to right,#B7BCD0,#B7BCD0)"}]),n=e.ref([{url:"/static/index/video/kufang/00.png",targeturl:"/static/index/video/kufang/01.png",name:"盘点"},{url:"/static/index/video/kufang/10.png",targeturl:"/static/index/video/kufang/11.png",name:"请领"},{url:"/static/index/video/kufang/20.png",targeturl:"/static/index/video/kufang/21.png",name:"退货"},{url:"/static/index/video/kufang/30.png",targeturl:"/static/index/video/kufang/31.png",name:"采购"},{url:"/static/index/video/kufang/40.png",targeturl:"/static/index/video/kufang/41.png",name:"指令"}]),c=e.ref([{url:"/static/index/video/videotopright/4.png",name:"启用",bgc:"linear-gradient(to right,#008AFF,#01BCFF)"},{url:"/static/index/video/videotopright/5.png",name:"停用",bgc:"linear-gradient(to right,#B7BCD0,#B7BCD0)"}]),s=e.ref([{url:"/static/index/video/videoright/00.png",targeturl:"/static/index/video/videoright/01.png"},{url:"/static/index/video/videoright/10.png",targeturl:"/static/index/video/videoright/11.png"},{url:"/static/index/video/videoright/20.png",targeturl:"/static/index/video/videoright/21.png"},{url:"/static/index/video/videoright/30.png",targeturl:"/static/index/video/videoright/31.png"},{url:"/static/index/video/videoright/40.png",targeturl:"/static/index/video/videoright/41.png"}]),d=e.ref([{cardtype:0,states:0,buttontarget:[!1,!1,!1,!1,!1]},{cardtype:0,states:1,buttontarget:[!1,!1,!1,!1,!1]},{cardtype:0,states:2,buttontarget:[!1,!1,!1,!1,!1]},{cardtype:0,states:3,buttontarget:[!1,!1,!1,!1,!1]},{cardtype:0,states:0,buttontarget:[!1,!1,!1,!1,!1]},{cardtype:1,states:0,movestates:0,buttontarget:[!1,!1,!1,!1,!1]},{cardtype:1,states:1,movestates:1,buttontarget:[!1,!1,!1,!1,!1]},{cardtype:1,states:0,movestates:2,buttontarget:[!1,!1,!1,!1,!1]},{cardtype:1,states:0,movestates:3,buttontarget:[!1,!1,!1,!1,!1]},{cardtype:1,states:0,movestates:4,buttontarget:[!1,!1,!1,!1,!1]}]),u=e.ref([]),m=e.ref(!0);e.ref("");const v=e.ref(["全部"," 护理单元","配务室","库房"]);e.watch((()=>a.isShow),((e,t)=>{!t&&e&&(m.value=!1,setTimeout((()=>m.value=!0),50),g.value=0,u.value=JSON.parse(JSON.stringify(d.value)))}));const p=e.ref("");o((()=>{p.value=uni.getStorageSync("realname"),u.value=JSON.parse(JSON.stringify(d.value))}));const g=e.ref(0),w=()=>{uni.navigateTo({url:"/pages/NursingNew/index"})},h=()=>{uni.navigateTo({url:"/pages/Warehousing/index"})};return(l,a)=>e.withDirectives((e.openBlock(),e.createElementBlock("view",{class:"index-content-other",style:e.normalizeStyle(m.value?{opacity:"1"}:{opacity:"0"})},[e.createElementVNode("view",{class:"index-content-right"},[e.createElementVNode("view",{style:{display:"flex",position:"relative","margin-left":"-30rpx"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"tab",onClick:e=>(e=>{if(g.value!==e)switch(g.value=e,e){case 0:u.value=JSON.parse(JSON.stringify(d.value));break;case 1:u.value=[],d.value.forEach((e=>{e.cardtype||u.value.push(e)}));break;case 2:u.value=[];break;case 3:u.value=[],d.value.forEach((e=>{1===e.cardtype&&u.value.push(e)}));break;default:return""}})(l)},[e.createElementVNode("view",{style:e.normalizeStyle([g.value===l?{fontWeight:800}:{},{"z-index":"1"}])},e.toDisplayString(t),5),e.withDirectives(e.createElementVNode("view",{class:"tab-heng"},null,512),[[e.vShow,g.value===l]])],8,["onClick"])))),128)),e.createElementVNode("view",{class:"right-title-father"},[e.createElementVNode("view",{style:{"margin-right":"20rpx"}}," 长春市朝阳区久泰开运养老服务有限公司 ")])]),e.createElementVNode("scroll-view",{"scroll-y":"",style:{height:"calc(100% - 10rpx)"},"show-scrollbar":!1},[e.createElementVNode("view",{class:"scroll-box"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[t.cardtype?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"card",style:e.normalizeStyle(1===t.states?{border:"2rpx solid red",boxShadow:"none"}:{})},[e.createElementVNode("view",{class:"card-left"},[e.createElementVNode("view",{class:"card-left-title"},[e.createElementVNode("view",{class:"left-view"},[e.createElementVNode("image",{class:"left-view-img",src:y}),e.createElementVNode("view",null,[e.createElementVNode("view",{class:"top-font-line"},[e.createElementVNode("view",{class:"line-weight"},"王金凤"),e.createElementVNode("view",{class:"line-margin"}," 女 "),e.createElementVNode("view",null," 80岁 "),e.createElementVNode("view",{style:{"margin-left":"20rpx"}}," 2025.01.01 ")]),e.createElementVNode("view",{class:"top-font-line"},[e.createElementVNode("view",{class:"font-gray"}," 省医保 | 重度失能 | 正常缴费 ")])])]),e.createElementVNode("view",{class:"right-spec"}," 护理单元 ")]),e.createElementVNode("view",{class:"bottom-balls"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"one-ball-father"},e.toDisplayString(t),1)))),128))]),e.createElementVNode("view",{class:"topright-ball"},[e.createElementVNode("image",{class:"ball-righttop",src:`/static/index/video/videobottom/${1===t.states?1:0}.png`},null,8,["src"])]),e.createElementVNode("view",{class:"right-balls"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,((t,a)=>{var i,r;return e.openBlock(),e.createElementBlock("view",{key:a,class:"blue-ball-father",onClick:e=>d.value[l].buttontarget[a]=!d.value[l].buttontarget[a]},[e.createElementVNode("image",{class:"blue-ball",src:(null==(i=d.value[l])?void 0:i.buttontarget[a])?t.targeturl:t.url},null,8,["src"]),e.withDirectives(e.createElementVNode("image",{style:{position:"absolute",bottom:"0",left:"50%",transform:"translateX(-50%)",width:"100%",height:"80%"},src:lt},null,512),[[e.vShow,null==(r=d.value[l])?void 0:r.buttontarget[a]]])],8,["onClick"])})),128))]),e.createElementVNode("image",{class:"video-img",src:at}),e.createElementVNode("view",{class:"video-bottom"},[e.createElementVNode("view",{class:"blue-button"}," 服务指令 "),e.createElementVNode("view",{class:""}," NUID:2506000001 "),e.createElementVNode("view",{class:"bottom-shu"},"|"),e.createElementVNode("view",{class:""}," 未命名01 ")])]),e.createElementVNode("view",{class:"card-right"},[e.createElementVNode("view",{class:"split-line-white-sec"}),e.createElementVNode("view",{class:"right-title"},[e.createElementVNode("view",{class:"right-other",style:e.normalizeStyle(`background: ${r.value[t.states].bgc};`)},[e.createElementVNode("image",{class:"other-class",src:r.value[t.states].url},null,8,["src"]),e.createElementVNode("view",{class:"other-font"},e.toDisplayString(r.value[t.states].name),1)],4)]),1!=t.states&&t.states?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,style:{width:"100%",position:"relative"}},[e.createElementVNode("view",{class:"time"},[e.createElementVNode("view",{class:"time-left"},[e.createElementVNode("view",{class:""}," 10:00~10:10 ")])]),e.createElementVNode("view",{style:{width:"100%",display:"flex","align-items":"center","flex-direction":"column",position:"relative"}},[e.createElementVNode("view",{class:"time-right"}," 待执行 "),e.createElementVNode("image",{class:"time-img",src:E,onClick:w}),e.createElementVNode("view",{class:"small-button"},[e.createElementVNode("view",{class:"gray-ball"},[e.createElementVNode("image",{class:"laba-img",src:it})]),e.createElementVNode("view",{class:"gray-ball"},[e.createElementVNode("image",{class:"laba-img",src:rt})]),e.createElementVNode("view",{class:"gray-ball"},[e.createElementVNode("image",{class:"laba-img",src:nt})])]),e.createElementVNode("view",{class:"time-weight"}," 准备洁具(口腔) ")]),e.createElementVNode("view",{class:"time-people-two",style:{"margin-top":"20rpx"}},[e.createElementVNode("image",{class:"time-people-img",src:ot}),e.createElementVNode("text",{class:"time-people-font"}," 单人执行 ")]),e.createElementVNode("view",{class:"time-people-two"},[e.createElementVNode("image",{class:"time-people-img",src:ct}),e.createElementVNode("text",{class:"time-people-font"}," 王金福 / 李贵田 ")])])),2==t.states?(e.openBlock(),e.createElementBlock("view",{key:1,style:{width:"100%",height:"100%",display:"flex","justify-content":"center","align-items":"center","flex-direction":"column"}},[e.createElementVNode("image",{class:"fail-img",src:"/static/index/video/videotopright/goto.png",onClick:w}),e.createElementVNode("view",{class:"fail-text"}," 长者外出 ")])):e.createCommentVNode("",!0),3==t.states?(e.openBlock(),e.createElementBlock("view",{key:2,style:{width:"100%",height:"100%",display:"flex","justify-content":"center","align-items":"center","flex-direction":"column"}},[e.createElementVNode("image",{class:"fail-img-spec",src:"/static/index/video/videotopright/none.png",onClick:w}),e.createElementVNode("view",{class:"fail-text-spec"}," 暂无长者入住 ")])):e.createCommentVNode("",!0)])],4)),t.cardtype?(e.openBlock(),e.createElementBlock("view",{key:1,class:"card"},[e.createElementVNode("view",{class:"card-left"},[e.createElementVNode("view",{class:"card-left-title"},[e.createElementVNode("view",{class:"left-view"},[e.createElementVNode("image",{class:"left-view-img",src:"/static/index/badman.png",style:{width:"70rpx",height:"80rpx"}}),e.createElementVNode("view",{style:{"margin-left":"10rpx",width:"150rpx"}},[e.createElementVNode("view",{style:{"font-size":"35rpx","font-weight":"600","margin-top":"20rpx","margin-left":"10rpx"}}," 欧阳三四")]),e.createElementVNode("view",{style:{display:"flex","align-items":"center",position:"absolute",top:"50%",transform:"translateY(-50%)",right:"0"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,((l,a)=>(e.openBlock(),e.createElementBlock("view",{style:{margin:"0 15rpx",display:"flex","flex-direction":"column","align-items":"center",position:"relative"},key:a},[e.createElementVNode("image",{class:"kufang-img",src:t.movestates===a?l.targeturl:l.url},null,8,["src"]),e.createElementVNode("view",{style:e.normalizeStyle([{"font-size":"20rpx"},t.movestates===a?{color:"#0096ff"}:{}])},e.toDisplayString(l.name),5)])))),128))])])]),e.createElementVNode("view",{class:"bottom-balls"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"one-ball-father"},e.toDisplayString(t),1)))),128))]),e.createElementVNode("view",{class:"topright-ball"},[e.createElementVNode("image",{class:"ball-righttop",src:`/static/index/video/videobottom/${1===t.states?1:0}.png`},null,8,["src"])]),e.createElementVNode("view",{class:"right-balls"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,((t,a)=>{var i,r,n;return e.openBlock(),e.createElementBlock("view",{key:a,class:e.normalizeClass((null==(i=d.value[l])?void 0:i.buttontarget[a])?"blue-ball-father-target":"blue-ball-father"),onClick:e=>d.value[l].buttontarget[a]=!d.value[l].buttontarget[a]},[e.createElementVNode("image",{class:"blue-ball",src:(null==(r=d.value[l])?void 0:r.buttontarget[a])?t.targeturl:t.url},null,8,["src"]),e.withDirectives(e.createElementVNode("image",{style:{position:"absolute",bottom:"0",left:"50%",transform:"translateX(-50%)",width:"100%",height:"80%"},src:lt},null,512),[[e.vShow,null==(n=d.value[l])?void 0:n.buttontarget[a]]])],10,["onClick"])})),128))]),e.createElementVNode("image",{class:"video-img",src:at}),e.createElementVNode("view",{class:"video-bottom"},[e.createElementVNode("view",{class:"font-bottom-weight"}," 库房 "),e.createElementVNode("view",{class:"bottom-shu"},"|"),e.createElementVNode("view",{class:""}," NUID:2506000001 "),e.createElementVNode("view",{class:"bottom-shu"},"|"),e.createElementVNode("view",{class:""}," 库房01 ")])]),e.createElementVNode("view",{class:"card-right"},[e.createElementVNode("view",{class:"split-line-white-sec"}),e.createElementVNode("view",{class:"right-title"},[e.createElementVNode("view",{class:"right-other",style:e.normalizeStyle(`background: ${c.value[t.states].bgc};`)},[e.createElementVNode("image",{class:"other-class",src:c.value[t.states].url},null,8,["src"]),e.createElementVNode("view",{class:"other-font"},e.toDisplayString(c.value[t.states].name),1)],4)]),t.states?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,style:{width:"100%",position:"relative"}},[e.createElementVNode("view",{class:"time"},[e.createElementVNode("view",{class:"time-left"},[e.createElementVNode("view",{class:""}," 10:00~10:10 ")])]),e.createElementVNode("view",{style:{width:"100%",display:"flex","align-items":"center","flex-direction":"column",position:"relative"}},[e.createElementVNode("view",{class:"time-right"}," 待执行 "),e.createElementVNode("image",{class:"time-img",src:E,onClick:h}),e.createElementVNode("view",{class:"small-button"},[e.createElementVNode("view",{class:"gray-ball"},[e.createElementVNode("image",{class:"laba-img",src:it})]),e.createElementVNode("view",{class:"gray-ball"},[e.createElementVNode("image",{class:"laba-img",src:rt})]),e.createElementVNode("view",{class:"gray-ball"},[e.createElementVNode("image",{class:"laba-img",src:nt})])]),e.createElementVNode("view",{class:"time-weight"}," 准备洁具(口腔) ")]),e.createElementVNode("view",{class:"time-people-two",style:{"margin-top":"20rpx"}},[e.createElementVNode("image",{class:"time-people-img",src:ot}),e.createElementVNode("text",{class:"time-people-font"}," 单人执行 ")]),e.createElementVNode("view",{class:"time-people-two"},[e.createElementVNode("image",{class:"time-people-img",src:ct}),e.createElementVNode("text",{class:"time-people-font"}," 王金福 / 李贵田 ")])])),1==t.states?(e.openBlock(),e.createElementBlock("view",{key:1,style:{width:"100%",height:"100%",display:"flex","justify-content":"center","align-items":"center","flex-direction":"column"}},[e.createElementVNode("image",{class:"fail-img",style:{width:"150rpx",height:"180rpx"},src:"/static/index/video/videotopright/stop.png",onClick:h}),e.createElementVNode("view",{class:"fail-text"}," 库房已停用 ")])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)])))),128))])])])],4)),[[e.vShow,t.isShow]])}}),[["__scopeId","data-v-01c2b33c"]]),dt=s(e.defineComponent({__name:"settings",props:{isShow:{type:Boolean,required:!0}},emits:["jump"],setup(t,{emit:l}){const a=e.ref(null),i=e.ref(!1),r=e.ref(!1),n=e.ref(!1),o=e.ref(!1),s=e.ref(!1),v=l,p=t,g=e.ref(["雷达扫描","扫码添加","手动录入","修改密码","切换机构","检查更新","用户协议","隐私政策"]),w=e.ref(!0);e.ref(""),e.watch((()=>p.isShow),((e,t)=>{!t&&e&&(w.value=!1,setTimeout((()=>w.value=!0),50))}));const h=e.ref(!1),y=e=>{var t;switch(e){case 0:case 1:case 2:v("jump",e);break;case 3:s.value=!0;break;case 4:break;case 5:i.value=!0,null==(t=a.value)||t.check_update();break;case 6:r.value=!0,n.value=!0,h.value=!1,setTimeout((()=>{h.value=!0}),50);break;case 7:r.value=!0,n.value=!1,h.value=!1,setTimeout((()=>{h.value=!0}),50)}},N=()=>{p.isShow&&i.value&&uni.showToast({title:"已经是最新版了",icon:"none",duration:2e3})};return(l,i)=>e.withDirectives((e.openBlock(),e.createElementBlock("view",{class:"index-content-other",style:e.normalizeStyle(w.value?{opacity:"1"}:{opacity:"0"})},[e.createElementVNode("view",{class:"index-content-right"},[e.createElementVNode("view",{style:{"margin-right":"40rpx"}},"长春市朝阳区久泰开运养老服务有限公司")]),e.createElementVNode("view",{class:"array-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value.slice(0,3),((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"item",onClick:e=>y(l)},[e.createElementVNode("view",{class:"left-item"},[e.createElementVNode("image",{class:"left-icon",src:`/static/index/settings/${l}.png`},null,8,["src"]),e.createElementVNode("view",{class:"left-font"},e.toDisplayString(t),1)]),e.createElementVNode("view",{class:"right-item"},[e.createElementVNode("image",{class:"right-icon",src:"/static/index/settings/00.png"},null,8,["src"])])],8,["onClick"])))),128))]),e.createElementVNode("view",{class:"array-father",style:{margin:"30rpx 0"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value.slice(3,5),((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"item",onClick:e=>y(l+3)},[e.createElementVNode("view",{class:"left-item"},[e.createElementVNode("image",{class:"left-icon",src:`/static/index/settings/${l+3}.png`},null,8,["src"]),e.createElementVNode("view",{class:"left-font"},e.toDisplayString(t),1)]),e.createElementVNode("view",{class:"right-item"},[e.createElementVNode("image",{class:"right-icon",src:"/static/index/settings/00.png"},null,8,["src"])])],8,["onClick"])))),128))]),e.createElementVNode("view",{class:"array-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value.slice(5,8),((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"item",onClick:e=>y(l+5)},[e.createElementVNode("view",{class:"left-item"},[e.createElementVNode("image",{class:"left-icon",src:`/static/index/settings/${l+5}.png`},null,8,["src"]),e.createElementVNode("view",{class:"left-font"},e.toDisplayString(t),1)]),e.createElementVNode("view",{class:"right-item"},[e.createElementVNode("image",{class:"right-icon",src:"/static/index/settings/00.png"},null,8,["src"])])],8,["onClick"])))),128))]),e.createElementVNode("view",{class:"bottom-button",onClick:i[0]||(i[0]=e=>o.value=!0)}," 注销登录 "),e.createVNode(P,{show:o.value,onClose:i[1]||(i[1]=e=>o.value=!1)},null,8,["show"]),e.createVNode(q,{show:s.value,onClose:i[2]||(i[2]=e=>s.value=!1)},null,8,["show"]),e.createVNode(d,{ref_key:"zyupgrade",ref:a,noticeflag:!0,theme:"blue",h5preview:!1,oldversion:"1.0.0",appstoreflag:!0,autocheckupdate:!0,onShowupdateTips:N},null,512),r.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"popup-any",style:e.normalizeStyle(h.value?{opacity:1}:{opacity:0})},[e.createElementVNode("view",{class:"mask",onClick:i[3]||(i[3]=e=>r.value=!1)}),e.createElementVNode("view",{class:"box-any"},[e.createElementVNode("view",{class:"title-left"},[e.createElementVNode("image",{class:"back-img",src:c,onClick:i[4]||(i[4]=e=>r.value=!1)}),n.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"back-font"},"NU护理单元隐私信息保护政策")),n.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"back-font"},"NU护理单元用户服务协议")):e.createCommentVNode("",!0)]),n.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(m,{key:0})),n.value?(e.openBlock(),e.createBlock(u,{key:1})):e.createCommentVNode("",!0)])],4)):e.createCommentVNode("",!0)],4)),[[e.vShow,t.isShow]])}}),[["__scopeId","data-v-db2cf42d"]]),ut=s(e.defineComponent({__name:"leida",props:{isShow:{type:Boolean,required:!0}},emits:["nav"],setup(t,{emit:a}){const i=t,r=e.ref(""),n=e.ref(-1),o=e.ref(!0),c=e.ref(1),s=e.ref(0),d=e.ref(null),u=e.ref([{url:"/static/index/leida/00.png",targetUrl:"/static/index/leida/01.png",target:!1},{url:"/static/index/leida/10.png",targetUrl:"/static/index/leida/11.png",target:!1},{url:"/static/index/leida/20.png",targetUrl:"/static/index/leida/21.png",target:!1},{url:"/static/index/leida/30.png",targetUrl:"/static/index/leida/31.png",target:!1}]),m=e.ref([]),v=e.ref([]);function g(){if(1==c.value){n.value=-1,function(){const t=v.value.length;m.value=[];const l=Array.from({length:t},(()=>Math.random())),a=l.reduce(((e,t)=>e+t),0),i=l.map((e=>e/a*5e3));let r=0;for(let n=0;n<t;n++)r+=i[n],setTimeout((async()=>{m.value.push(v.value[n]);const t=m.value.length;t>=5&&t%2==1&&(s.value=999,await e.nextTick(),s.value=99999)}),r)}(),c.value=0;const t=setInterval((()=>{c.value+=.01,c.value>=1&&(c.value=1,clearInterval(t))}),50)}}e.watch((()=>i.isShow),((e,t)=>{!t&&e&&(o.value=!1,setTimeout((()=>o.value=!0),50),p({url:`${uni.getStorageSync("serverUrl")}/api/pad/baseInfo/queryPadPageList?token=${uni.getStorageSync("token")}`,method:"get"}).then((e=>{e.result.records.forEach((e=>{e.menu=JSON.parse(JSON.stringify(u.value)),e.isNew=!0})),v.value=e.result.records,l("log","at component/Initialization/leida.vue:123","????",v.value),g()})))}));return e.onMounted((()=>{})),(l,a)=>e.withDirectives((e.openBlock(),e.createElementBlock("view",{class:"index-content-other",style:e.normalizeStyle(o.value?{opacity:"1"}:{opacity:"0"})},[e.createElementVNode("view",{class:"index-content-right"},[e.createElementVNode("view",{class:"index-content-title"},[e.createElementVNode("view",{class:"shu"}),e.createElementVNode("view",{class:"shu-font"},"长春市朝阳区久泰开运养老服务有限公司")]),e.createElementVNode("view",{class:"leida"},[e.createElementVNode("view",{class:"kutong-father"},[e.createElementVNode("image",{class:"kutong-img",src:"/static/index/leida/leidabgc.png"}),e.createElementVNode("image",{class:e.normalizeClass(["kutong-shan",c.value<1?"spin-anim":"no-anim"]),src:"/static/index/leida/shan.png"},null,2),e.createElementVNode("view",{class:"huan"},[e.createElementVNode("view",{class:e.normalizeClass(["quarter-ring",c.value<1?"spin-anim-spec":"no-anim-spec"])},null,2)])]),e.createElementVNode("view",{class:"jindutiao"},[e.createElementVNode("view",{class:"progress-fill",style:e.normalizeStyle({transform:`scaleX(${c.value})`})},null,4)]),e.createElementVNode("view",{class:"color-font",style:{"margin-top":"80rpx"}},e.toDisplayString(c.value>=1?"扫描完成。":"正在使用雷达区域扫描护理机构,"),1),e.createElementVNode("view",{class:"color-font"},e.toDisplayString(c.value>=1?"":"请稍后..."),1),e.createElementVNode("view",{class:"agagin-button",onClick:g},"重新扫描")]),e.createElementVNode("view",{class:"other"},[e.createElementVNode("scroll-view",{ref_key:"scrollViewRef",ref:d,"scroll-y":"",class:"other-father","scroll-top":s.value},[e.createElementVNode("view",{class:"card-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["card",{"fade-in":t.isNew}]),key:l,onAnimationend:e=>{t.isNew=!1}},[e.createElementVNode("view",{class:"card-title"},[e.createElementVNode("view",{style:{"font-size":"25rpx"}},"NUID:"+e.toDisplayString(t.nuId),1),e.createElementVNode("view",{class:"right-box"},"护理单元")]),e.createElementVNode("view",{class:"card-middle"},[e.createElementVNode("view",{class:"video-box",onClick:a[0]||(a[0]=e=>n.value=-1)},[e.createElementVNode("image",{class:"video-box-img",src:"/static/index/leida/video.png"})]),e.createElementVNode("view",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.menu,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,onClick:e=>{t.target=!t.target,n.value=-1}},[e.createElementVNode("view",{class:"small-menu"},[e.createElementVNode("image",{class:"small-img",src:t.target?t.targetUrl:t.url},null,8,["src"])])],8,["onClick"])))),128))])]),e.createElementVNode("view",{class:"card-bottom"},[e.createTextVNode(e.toDisplayString(t.nuName)+" ",1),e.createElementVNode("image",{class:"bottom-img",src:"/static/index/leida/rename.png",onClick:e=>{n.value=l,r.value=t.nuName}},null,8,["onClick"])]),n.value==l?(e.openBlock(),e.createElementBlock("view",{key:0,class:"rename-father"},[e.createElementVNode("view",{class:"rename-title"}," 重命名 "),e.createElementVNode("view",{class:"rename-gray"}," NUID:20241001001 "),e.createElementVNode("view",{class:"rename-input"},[e.createElementVNode("image",{class:"left-img",src:"/static/index/click.png"}),e.withDirectives(e.createElementVNode("input",{class:"uni-input",placeholder:"请重新命名","onUpdate:modelValue":a[1]||(a[1]=e=>r.value=e)},null,512),[[e.vModelText,r.value]]),e.withDirectives(e.createElementVNode("image",{class:"right-img",src:J,onClick:a[2]||(a[2]=e=>r.value="")},null,512),[[e.vShow,r.value]])]),e.createElementVNode("view",{class:"blue-button",onClick:e=>{return t=r.value,a=l,t&&(m.value[a].nuName=t),void(n.value=-1);var t,a}}," 确定 ",8,["onClick"])])):e.createCommentVNode("",!0)],42,["onAnimationend"])))),128))])],8,["scroll-top"])])])],4)),[[e.vShow,t.isShow]])}}),[["__scopeId","data-v-08e03fe2"]]),mt=s(e.defineComponent({__name:"saoma",props:{isShow:{type:Boolean,required:!0}},emits:["nav"],setup(t,{emit:l}){const a=t,i=e.ref(!0);function r(){uni.scanCode({onlyFromCamera:!0,scanType:["qrCode","barCode"],success(e){},fail(e){uni.showToast({title:"扫码失败:"+e.errMsg,icon:"none"})}})}return e.watch((()=>a.isShow),((e,t)=>{!t&&e&&(i.value=!1,setTimeout((()=>i.value=!0),50))})),(l,a)=>e.withDirectives((e.openBlock(),e.createElementBlock("view",{class:"index-content-other",style:e.normalizeStyle(i.value?{opacity:"1"}:{opacity:"0"})},[e.createElementVNode("view",{class:"index-content-right"},[e.createElementVNode("view",{class:"index-content-title"},[e.createElementVNode("view",{class:"shu"}),e.createElementVNode("view",{class:"shu-font"},"长春市朝阳区久泰开运养老服务有限公司")])]),e.createElementVNode("view",{class:"saomiao",onClick:r},[e.createElementVNode("view",{class:"saomiao-son"},[e.createElementVNode("view",{class:"saomiao-son-son"},[e.createElementVNode("view",{class:"saomiao-son-son-img"})])])])],4)),[[e.vShow,t.isShow]])}}),[["__scopeId","data-v-3c477a5f"]]),vt=s(e.defineComponent({__name:"input",props:{isShow:{type:Boolean,required:!0}},emits:["nav"],setup(t,{emit:l}){const a=t,i=e.ref(!0),r=e.ref("");return e.watch((()=>a.isShow),((e,t)=>{!t&&e&&(i.value=!1,setTimeout((()=>i.value=!0),50))})),(l,a)=>e.withDirectives((e.openBlock(),e.createElementBlock("view",{class:"index-content-other",style:e.normalizeStyle(i.value?{opacity:"1"}:{opacity:"0"})},[e.createElementVNode("view",{class:"index-content-right"},[e.createElementVNode("view",{class:"index-content-title"},[e.createElementVNode("view",{class:"shu"}),e.createElementVNode("view",{class:"shu-font"},"长春市朝阳区久泰开运养老服务有限公司")])]),e.createElementVNode("view",{class:"saomiao"},[e.createElementVNode("view",{class:"big-ball"},[e.createElementVNode("view",{class:"ball"})]),e.createElementVNode("image",{class:"left-img",src:W}),e.withDirectives(e.createElementVNode("input",{class:"saoma-input",password:!1,"onUpdate:modelValue":a[0]||(a[0]=e=>r.value=e),placeholder:"请手动录入NUID"},null,512),[[e.vModelText,r.value]]),e.withDirectives(e.createElementVNode("image",{class:"right-img",src:Y,onClick:a[1]||(a[1]=e=>r.value="")},null,512),[[e.vShow,r.value]]),e.createElementVNode("view",{class:"blue-button"}," 确定 ")]),e.createElementVNode("view",{class:"index-content-down"}," 长春市朝阳区久泰开运养老服务有限公司 ")],4)),[[e.vShow,t.isShow]])}}),[["__scopeId","data-v-0103f6f2"]]),pt=s(e.defineComponent({__name:"index",setup(t){const a=e.ref(!1),i=e.ref(0);e.ref(!1),e.ref(!1);const r=e.ref([{url:"/static/index/relindex/index.png",targetUrl:"/static/index/relindex/indexblue.png",name:"首页",pao:0},{url:"/static/index/relindex/fuwu.png",targetUrl:"/static/index/relindex/fuwublue.png",name:"服务考核",pao:0},{url:"/static/index/relindex/jigou.png",targetUrl:"/static/index/relindex/jigoublue.png",name:"机构功能1",pao:0},{url:"/static/index/relindex/jigou.png",targetUrl:"/static/index/relindex/jigoublue.png",name:"机构功能2",pao:0},{url:"/static/index/relindex/shezhi.png",targetUrl:"/static/index/relindex/shezhiblue.png",name:"设置",pao:0},{url:"/static/index/newindex/curve/return_8.png",targetUrl:"/static/index/newindex/curve/return_1.png",name:"返回",pao:0}]);e.ref([{url:"/static/index/topright/title/0.png",name:"切换机构"},{url:"/static/index/topright/title/1.png",name:"修改密码"},{url:"/static/index/topright/title/2.png",name:"注销账号"}]),e.ref([{url:"/static/index/topright/scan/00.png",targetUrl:"/static/index/topright/scan/01.png",name:"雷达扫描"},{url:"/static/index/topright/scan/10.png",targetUrl:"/static/index/topright/scan/11.png",name:"扫码添加"},{url:"/static/index/topright/scan/20.png",targetUrl:"/static/index/topright/scan/21.png",name:"手动录入"}]);const n=e=>{5===e&&uni.navigateBack(),i.value=e},c=e=>{switch(e){case 0:i.value=-2;break;case 1:i.value=-3;break;case 2:i.value=-4}},s=e=>{switch(e){case 0:i.value=-2;break;case 1:i.value=-3;break;case 2:i.value=-4}},d=e.ref("");return o((e=>{l("log","at pages/Initialization/index.vue:135","???",e.menu),e.menu?i.value=e.menu:i.value=0,d.value=uni.getStorageSync("realname")})),(t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(a.value?"darkbackgroundContainer":"backgroundContainer")},[e.createElementVNode("view",{class:"index-content"},[e.createElementVNode("view",{class:"index-content-leftMenus"},[e.createElementVNode("view",{class:"index-title-title"},[e.createElementVNode("image",{class:"index-title-left-img",src:N}),e.createElementVNode("view",{class:"index-title-left-font"},e.toDisplayString(d.value),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"blue-circle-pos"},[e.withDirectives(e.createElementVNode("view",{class:"blue-circle"},[e.createElementVNode("image",{class:"blue-circle-size",src:"/static/index/ray.png"},null,8,["src"])],512),[[e.vShow,l===i.value]]),t.pao?(e.openBlock(),e.createElementBlock("view",{key:0,class:"red-pao",onClick:e=>n(l)},e.toDisplayString(t.pao>99?"99+":t.pao),9,["onClick"])):e.createCommentVNode("",!0),e.createElementVNode("image",{class:"left-img",src:l===i.value?t.targetUrl:t.url,onClick:e=>n(l)},null,8,["src","onClick"]),e.createElementVNode("view",{class:e.normalizeClass(l===i.value?"left-img-font-target":"left-img-font"),onClick:e=>n(l)},e.toDisplayString(t.name),11,["onClick"])])))),128))]),e.createVNode(st,{isShow:0==i.value},null,8,["isShow"]),e.createVNode(dt,{isShow:4==i.value,onJump:c},null,8,["isShow"]),e.createVNode(st,{isShow:-1==i.value,onNav:s},null,8,["isShow"]),e.createVNode(ut,{isShow:-2==i.value},null,8,["isShow"]),e.createVNode(mt,{isShow:-3==i.value},null,8,["isShow"]),e.createVNode(vt,{isShow:-4==i.value},null,8,["isShow"])])],2))}}),[["__scopeId","data-v-aebf66be"]]);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function gt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var wt={exports:{}};wt.exports=function(e){function t(a){if(l[a])return l[a].exports;var i=l[a]={i:a,l:!1,exports:{}};return e[a].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var l={};return t.m=e,t.c=l,t.d=function(e,l,a){t.o(e,l)||Object.defineProperty(e,l,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var l=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(l,"a",l),l},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0});var a,i=l(1),r=(a=i)&&a.__esModule?a:{default:a};t.default=r.default,e.exports=t.default},function(e,t,l){function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=a(l(2)),r=a(l(3)),n=a(l(4)),o=a(l(5)),c=a(l(6)),s=a(l(7)),d=a(l(8)),u=a(l(9)),m=a(l(10)),v=a(l(11)),p=a(l(12)),g={lunarInfo:i.default,solarMonth:r.default,gan:n.default,zhi:o.default,animals:c.default,lunarTerm:s.default,lTermInfo:d.default,nStr1:u.default,nStr2:m.default,nStr3:v.default,nStr4:p.default,lYearDays:function(e){var t,l=348;for(t=32768;t>8;t>>=1)l+=g.lunarInfo[e-1900]&t?1:0;return l+g.leapDays(e)},leapMonth:function(e){return 15&g.lunarInfo[e-1900]},leapDays:function(e){return g.leapMonth(e)?65536&g.lunarInfo[e-1900]?30:29:0},monthDays:function(e,t){return t>12||t<1?-1:g.lunarInfo[e-1900]&65536>>t?30:29},solarDays:function(e,t){if(t>12||t<1)return-1;var l=t-1;return 1==l?e%4==0&&e%100!=0||e%400==0?29:28:g.solarMonth[l]},toGanZhi:function(e){return g.gan[e%10]+g.zhi[e%12]},getTerm:function(e,t){if(e<1900||e>2100)return-1;if(t<1||t>24)return-1;var l=g.lTermInfo[e-1900],a=[parseInt("0x"+l.substr(0,5)).toString(),parseInt("0x"+l.substr(5,5)).toString(),parseInt("0x"+l.substr(10,5)).toString(),parseInt("0x"+l.substr(15,5)).toString(),parseInt("0x"+l.substr(20,5)).toString(),parseInt("0x"+l.substr(25,5)).toString()],i=[a[0].substr(0,1),a[0].substr(1,2),a[0].substr(3,1),a[0].substr(4,2),a[1].substr(0,1),a[1].substr(1,2),a[1].substr(3,1),a[1].substr(4,2),a[2].substr(0,1),a[2].substr(1,2),a[2].substr(3,1),a[2].substr(4,2),a[3].substr(0,1),a[3].substr(1,2),a[3].substr(3,1),a[3].substr(4,2),a[4].substr(0,1),a[4].substr(1,2),a[4].substr(3,1),a[4].substr(4,2),a[5].substr(0,1),a[5].substr(1,2),a[5].substr(3,1),a[5].substr(4,2)];return parseInt(i[t-1])},toChinaYear:function(e){var t=parseInt(e/1e3),l=parseInt(e%1e3/100),a=parseInt(e%100/10),i=e%10;return g.nStr4[t]+g.nStr4[l]+g.nStr4[a]+g.nStr4[i]+"年"},toChinaMonth:function(e){return e>12||e<1?-1:g.nStr3[e-1]+"月"},toChinaDay:function(e){var t;switch(e){case 10:t="初十";break;case 20:t="二十";break;case 30:t="三十";break;default:t=g.nStr2[Math.floor(e/10)],t+=g.nStr1[e%10]}return t},getAnimal:function(e){return g.animals[(e-4)%12]},solar2lunar:function(e,t,l){if(e<1900||e>2100)return-1;if(1900==e&&1==t&&l<31)return-1;if(e)var a=new Date(e,parseInt(t)-1,l);else a=new Date;var i,r=0,n=0,o=(e=a.getFullYear(),t=a.getMonth()+1,l=a.getDate(),(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate())-Date.UTC(1900,0,31))/864e5);for(i=1900;i<2101&&o>0;i++)o-=n=g.lYearDays(i);o<0&&(o+=n,i--);var c=new Date,s=!1;c.getFullYear()==e&&c.getMonth()+1==t&&c.getDate()==l&&(s=!0);var d=a.getDay(),u=g.nStr1[d];0==d&&(d=7);var m=i,v=(r=g.leapMonth(i),!1);for(i=1;i<13&&o>0;i++)r>0&&i==r+1&&0==v?(--i,v=!0,n=g.leapDays(m)):n=g.monthDays(m,i),1==v&&i==r+1&&(v=!1),o-=n;0==o&&r>0&&i==r+1&&(v?v=!1:(v=!0,--i)),o<0&&(o+=n,--i);var p=i,w=o+1,h=t-1,y=g.getTerm(e,3),N=g.toGanZhi(e-4),f=new Date(e,1,y).getTime();new Date(e,h,l).getTime()<f&&(N=g.toGanZhi(e-5));var E=g.getTerm(e,2*t-1),V=g.getTerm(e,2*t),x=g.toGanZhi(12*(e-1900)+t+11);l>=E&&(x=g.toGanZhi(12*(e-1900)+t+12));var k=!1,b="";E==l&&(k=!0,b=g.lunarTerm[2*t-2]),V==l&&(k=!0,b=g.lunarTerm[2*t-1]);var S=Date.UTC(e,h,1,0,0,0,0)/864e5+25567+10,T=g.toGanZhi(S+l-1);return{lYear:m,lMonth:p,lDay:w,animal:g.getAnimal(m),yearCn:g.toChinaYear(m),monthCn:(v&&r===p?"闰":"")+g.toChinaMonth(p),dayCn:g.toChinaDay(w),cYear:e,cMonth:t,cDay:l,gzYear:N,gzMonth:x,gzDay:T,isToday:s,isLeap:v,nWeek:d,ncWeek:"星期"+u,isTerm:k,term:b}},lunar2solar:function(e,t,l,a){var i=g.leapMonth(e);if(g.leapDays(e),a&&i!=t)return-1;if(2100==e&&12==t&&l>1||1900==e&&1==t&&l<31)return-1;var r=g.monthDays(e,t);if(e<1900||e>2100||l>r)return-1;for(var n=0,o=1900;o<e;o++)n+=g.lYearDays(o);var c=0,s=!1;for(o=1;o<t;o++)c=g.leapMonth(e),s||c<=o&&c>0&&(n+=g.leapDays(e),s=!0),n+=g.monthDays(e,o);a&&(n+=r);var d=Date.UTC(1900,1,30,0,0,0),u=new Date(864e5*(n+l-31)+d),m=u.getUTCFullYear(),v=u.getUTCMonth()+1,p=u.getUTCDate();return g.solar2lunar(m,v,p)}};t.default=g,e.exports=t.default},function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0}),t.default=[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42416,83315,21168,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46752,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,23232,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19195,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448,84835,37744,18936,18800,25776,92326,59984,27424,108228,43744,37600,53987,51552,54615,54432,55888,23893,22176,42704,21972,21200,43448,43344,46240,46758,44368,21920,43940,42416,21168,45683,26928,29495,27296,44368,84821,19296,42352,21732,53600,59752,54560,55968,92838,22224,19168,43476,42192,53584,62034,54560],e.exports=t.default},function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0}),t.default=[31,28,31,30,31,30,31,31,30,31,30,31],e.exports=t.default},function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0}),t.default=["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"],e.exports=t.default},function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0}),t.default=["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"],e.exports=t.default},function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0}),t.default=["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"],e.exports=t.default},function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0}),t.default=["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"],e.exports=t.default},function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0}),t.default=["9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","9778397bd19801ec9210c965cc920e","97b6b97bd19801ec95f8c965cc920f","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd197c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bcf97c3598082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd19801ec9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bd07f1487f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b97bd197c36c9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b70c9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","977837f0e37f149b0723b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0723b06bd","7f07e7f0e37f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f595b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e37f14998083b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14898082b0723b02d5","7f07e7f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66aa89801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e26665b66a449801e9808297c35","665f67f0e37f1489801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722"],e.exports=t.default},function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0}),t.default=["日","一","二","三","四","五","六","七","八","九","十"],e.exports=t.default},function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0}),t.default=["初","十","廿","卅"],e.exports=t.default},function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0}),t.default=["正","二","三","四","五","六","七","八","九","十","冬","腊"],e.exports=t.default},function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0}),t.default=["零","一","二","三","四","五","六","七","八","九","十"],e.exports=t.default}]);const ht=gt(wt.exports),yt=s({__name:"calendar",emits:["datachange"],setup(t,{emit:l}){const a=new Date,i=e.ref(a.getFullYear()),r=e.ref(a.getMonth()),n=e.ref(null),o=e.ref(null);function c(e,t,l){return 1e4*e+100*(t+1)+l}function s(e,t,l){return`${e}-${String(t+1).padStart(2,"0")}-${String(l).padStart(2,"0")}`}const d=["一","二","三","四","五","六","日"];function u(e,t){const l=[],a=new Date(e,t,0),i=a.getFullYear(),r=a.getMonth(),n=a.getDate(),o=((e,t)=>(new Date(e,t,1).getDay()+6)%7)(e,t);for(let s=0;s<o;s++){const e=n-o+s+1,t=ht.solar2lunar(i,r+1,e),a=c(i,r,e);l.push({key:`prev-${i}-${r+1}-${e}`,dateText:e,lunarText:t?t.dayCn:"",prev:!0,next:!1,year:i,month:r,day:e,dateNumber:a})}const d=new Date(e,t+1,0).getDate();for(let m=1;m<=d;m++){const a=ht.solar2lunar(e,t+1,m),i=c(e,t,m);l.push({key:s(e,t,m),dateText:m,lunarText:a?a.dayCn:"",prev:!1,next:!1,year:e,month:t,day:m,dateNumber:i})}const u=42-l.length;for(let s=1;s<=u;s++){const a=new Date(e,t+1,s),i=a.getFullYear(),r=a.getMonth(),n=ht.solar2lunar(i,r+1,s),o=c(i,r,s);l.push({key:`next-${i}-${r+1}-${s}`,dateText:s,lunarText:n?n.dayCn:"",prev:!1,next:!0,year:i,month:r,day:s,dateNumber:o})}return l}const m=e.computed((()=>u(i.value,r.value))),v=e.computed((()=>{if(!n.value)return null;const[e,t,l]=n.value.split("-").map(Number);return c(e,t-1,l)})),p=e.computed((()=>{if(!o.value)return null;const[e,t,l]=o.value.split("-").map(Number);return c(e,t-1,l)}));function g(e){return o.value===e}const w=l;function h(){0===r.value?(i.value--,r.value=11):r.value--}function y(){11===r.value?(i.value++,r.value=0):r.value++}function N(){i.value--}function f(){i.value++}return(t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"calendar"},[e.createElementVNode("view",{class:"header"},[e.createElementVNode("view",{class:"header-title"},[e.createElementVNode("view",{class:"head-left"},[e.createElementVNode("image",{class:"head-img",src:"/static/index/calendar/superleft.png",onClick:N}),e.createElementVNode("image",{class:"head-img",src:"/static/index/calendar/left.png",onClick:h})]),e.createElementVNode("view",{class:"year-month"},e.toDisplayString(i.value)+"年"+e.toDisplayString(r.value+1)+"月",1),e.createElementVNode("view",{class:"head-left"},[e.createElementVNode("image",{class:"head-img",src:"/static/index/calendar/right.png",onClick:y}),e.createElementVNode("image",{class:"head-img",src:"/static/index/calendar/superright.png",onClick:f})])]),e.createElementVNode("view",{class:"weekdays"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(d,((t,l)=>e.createElementVNode("view",{key:l,class:"weekday"},e.toDisplayString(t),1))),64))])]),e.createElementVNode("view",{class:"days"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(t=>{return e.openBlock(),e.createElementBlock("view",{key:t.key,class:e.normalizeClass(["day-cell",{"prev-month":t.prev,"next-month":t.next,start:(a=t.key,n.value===a),end:g(t.key),"in-range":(l=t.dateNumber,!(!v.value||!p.value)&&l>=v.value&&l<=p.value)}]),onClick:e=>function(e){if(e.prev||e.next)return;const t=s(e.year,e.month,e.day),l=e.dateNumber;return n.value&&n.value&&!o.value?l>=v.value?(o.value=t,void w("datachange",{start:n.value,end:o.value})):(o.value=n.value,n.value=t,void w("datachange",{start:n.value,end:o.value})):(n.value=t,void(o.value=null))}(t)},[e.createElementVNode("view",{class:"gregorian"},e.toDisplayString(t.dateText),1),t.lunarText?(e.openBlock(),e.createElementBlock("view",{key:0,class:"lunar"},e.toDisplayString(t.lunarText),1)):e.createCommentVNode("",!0)],10,["onClick"]);var l,a})),128))])]))}},[["__scopeId","data-v-02393a84"]]),Nt=s(e.defineComponent({__name:"index",setup(t){const l=e.ref(!1),a=e.ref(null),i=e=>{uni.navigateBack()};return o((e=>{})),r((()=>{var e;null==(e=a.value)||e.check_update()})),(t,a)=>(e.openBlock(),e.createElementBlock("view",{class:"backgroundContainer"},[e.createElementVNode("view",{class:"assess-title"},[e.createElementVNode("view",{class:"left-icons"},[e.createElementVNode("image",{class:"left-icons-img",src:"/static/index/undericons/doublekuai.png"},null,8,["src"]),e.createElementVNode("view",{class:"right-icons-font"},"服务考核-"),e.createElementVNode("view",{class:"right-icons-text"},"批量考核")]),e.createElementVNode("view",{class:"right-icons"},[e.createElementVNode("image",{class:"right-icons-img",src:"/static/index/undericons/man.png"},null,8,["src"]),e.createElementVNode("view",{class:e.normalizeClass(l.value?"right-icons-font-dark":"right-icons-font")},"王金福",2),e.createElementVNode("image",{class:"right-icons-img-icon",src:l.value?"/static/index/undericons/face.png":"/static/index/undericons/facelight.png"},null,8,["src"]),e.createElementVNode("image",{class:"right-icons-img-icon",src:l.value?"/static/index/undericons/hand.png":"/static/index/undericons/handlight.png"},null,8,["src"]),e.createElementVNode("image",{class:"right-icons-img-icon",onClick:i,src:l.value?"/static/index/undericons/out.png":"/static/index/undericons/outlight.png"},null,8,["src"])])]),e.createElementVNode("view",{class:"assess-another"},[e.createElementVNode("view",{class:"left-contain"},[e.createElementVNode("view",{class:"calendar"},[e.createVNode(yt)])])])]))}}),[["__scopeId","data-v-65a124ce"]]),ft=s(e.defineComponent({__name:"index",setup(t){e.ref(!1);const l=e.ref([]),a=e.ref(["全部","日常","周期"]),i=e.ref(0),r=e.ref(0);function n(e){let t=e.detail.scrollTop,l=parseFloat(t.toFixed(2));r.value=l}const c=e=>{if(i.value!==e)return"titlebutton";switch(e){case 0:return"titlebutton-target";case 1:return"titlebutton-target-yellow";case 2:return"titlebutton-target-pouple"}};function s(e){if(e){let t=[],l=e,a=/([^((]*)[((]([^))]+)[))]/;for(;a.test(l);){let e=l.match(a);e&&(e[1].trim()&&t.push(e[1].trim()),e[2].trim()&&t.push(e[2].trim()),l=l.replace(e[0],"").trim())}return l.trim()&&t.push(l.trim()),t}return[]}const d=e.ref(0),u=e.ref([]);o((e=>{let t=uni.getStorageSync("myArray");l.value=t,l.value[0].children.length<8&&l.value.forEach((e=>{for(;e.children.length<8;)e.children.push({directiveName:""})})),u.value=JSON.parse(JSON.stringify(l.value)),e.currentNumber&&(d.value=745*e.currentNumber)}));const m=e.ref(0),v=e.ref(0),p=e.ref(!1),g=e.ref(!1),w=e.ref(-1),h=e.ref(-1),y=()=>{uni.navigateBack()},N=()=>{let e=[];u.value.forEach(((t,l)=>{e=[],t.children.forEach(((t,l)=>{if(null===t.directiveName||""===t.directiveName||void 0===t.directiveName){u.value.every((e=>""===e.children[l].directiveName))&&e.push(l)}}))}));const t=[...e].sort(((e,t)=>t-e));u.value.forEach((e=>{t.forEach((t=>{e.children.splice(t,1)}))})),u.value[0].children.length<8&&u.value.forEach((e=>{for(;e.children.length<8;)e.children.push({directiveName:""})}))},f=e.ref(0),E=e.ref(null);function V(t,l,a,i){const r=Date.now();null!=E.value&&clearTimeout(E.value),r-f.value<250?(((e,t)=>{uni.navigateBack({delta:1,success:()=>{uni.$emit("where",{index0:e,index1:t})}})})(l,a),f.value=0):(E.value=setTimeout((()=>{((t,l,a,i)=>{t.directiveName&&(w.value=l,h.value=a,uni.createSelectorQuery().selectAll(".super-card-time-card").boundingClientRect((t=>{t.forEach((async t=>{t.dataset.index0==l&&t.dataset.index1==a&&(t.left<500?m.value=Math.floor(t.left)+510:m.value=Math.floor(t.left)-10,t.top<300?v.value=Math.floor(t.top)+250:v.value=Math.floor(t.top),await e.nextTick(),p.value=!0,g.value=!1,setTimeout((()=>{g.value=!0}),100))}))})).exec())})(t,l,a)}),250),f.value=r)}return(t,o)=>{var f,E,x;return e.openBlock(),e.createElementBlock("view",{class:"doctorsay-container-container"},[e.createElementVNode("view",{class:"doctorsay-container-title"},[e.createElementVNode("view",{class:"doctorsay-container-left"},[e.createElementVNode("view",{class:"doctorsay-container-left-gun"}),e.createElementVNode("view",{class:"doctorsay-container-left-font"},"时间矩阵")]),e.createElementVNode("view",{class:"doctorsay-container-right"},[e.createElementVNode("view",{class:"titlebutton-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,((t,a)=>(e.openBlock(),e.createElementBlock("view",{key:a},[e.createElementVNode("view",{class:e.normalizeClass(c(a)),onClick:e=>(e=>{if(i.value!==e)switch(u.value=[],i.value=e,e){case 0:u.value=JSON.parse(JSON.stringify(l.value));break;case 1:u.value=JSON.parse(JSON.stringify(l.value)),u.value.forEach((e=>{e.children.forEach((e=>{e.directiveName&&"日常"!==e.cycleType&&(e.directiveName="",e.cycleType="",e.startTime="")}))})),N();break;case 2:u.value=JSON.parse(JSON.stringify(l.value)),u.value.forEach((e=>{e.children.forEach((e=>{e.directiveName&&"日常"===e.cycleType&&(e.directiveName="",e.cycleType="",e.startTime="")}))})),N()}})(a)},e.toDisplayString(t),11,["onClick"])])))),128))]),e.createElementVNode("view",{class:"doctorsay-container-right-kuai-cheng"}),e.createElementVNode("view",{class:"doctorsay-container-kuai-font"},"日常"),e.createElementVNode("view",{class:"doctorsay-container-right-kuai-zi"}),e.createElementVNode("view",{class:"doctorsay-container-kuai-font"},"周期"),e.createElementVNode("view",{class:"doctorsay-container-juzhen",onClick:y}," 返回 ")])]),e.createElementVNode("view",{class:"super-card"},[e.createElementVNode("view",{class:"super-card-container"},[e.createElementVNode("view",{class:"boom"},[e.createElementVNode("view",{style:e.normalizeStyle({marginTop:`-${2*r.value}rpx`})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(null==(f=u.value[0])?void 0:f.children,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.withDirectives(e.createElementVNode("view",{class:e.normalizeClass(h.value===l?"boom-son-target":"boom-son")},e.toDisplayString(t.typeName),3),[[e.vShow,t.typeName]])])))),128))],4)]),e.createElementVNode("scroll-view",{style:{height:"100%",width:"100%"},"scroll-left":d.value,"scroll-x":"","show-scrollbar":!1},[e.createElementVNode("view",{style:{display:"flex",width:"5945rpx","box-shadow":"10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1)",background:"linear-gradient(to right, #c4dbf4,#c9c2ef, #c6dcf3)"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"super-card-time"},e.toDisplayString((1==t.positioning.length?"0"+t.positioning:t.positioning)+":00"),1)])))),128))]),e.createElementVNode("view",{style:{display:"flex",height:"calc(100% - 80rpx)",width:"5945rpx"}},[e.createElementVNode("scroll-view",{"scroll-y":"","show-scrollbar":!1,onScroll:n},[e.createElementVNode("view",{style:{display:"flex",height:"100%"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"super-card-time-und"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.children,((t,a)=>{return e.openBlock(),e.createElementBlock("view",{style:{width:"100%"},key:a},[e.createElementVNode("view",{class:e.normalizeClass([w.value===l&&h.value===a?"title-time-border-blue":"","super-card-time-card"]),style:{position:"relative"},onTouchend:e=>V(t,l,a),"data-index0":l,"data-index1":a},[e.createElementVNode("view",{class:e.normalizeClass((i=t,"日常"===i.cycleType?"title-time-border-yellow":i.cycleType?"title-time-border-pouple":"title-time-border")),style:{"font-size":"30rpx",overflow:"hidden"}},[t.startTime?(e.openBlock(),e.createElementBlock("view",{key:0,class:"title-time",style:{"margin-top":"0rpx"}},[e.createElementVNode("view",{class:"title-time-time",style:{"font-size":"25rpx"}},e.toDisplayString(t.startTime+"-"+t.endTime),1),e.createElementVNode("image",{class:"title-time-button",src:"日常"==t.cycleType?"/static/index/yellowbian.png":"/static/index/puoplebian.png"},null,8,["src"]),e.createElementVNode("view",{class:"title-time-font"},e.toDisplayString(t.cycleType),1)])):e.createCommentVNode("",!0),e.createElementVNode("view",{style:e.normalizeStyle([s(t.directiveName)[1]?{}:{marginTop:"20rpx"},{"font-weight":"700","font-size":"24rpx"}])},e.toDisplayString(s(t.directiveName)[0]),5),s(t.directiveName)[1]?(e.openBlock(),e.createElementBlock("view",{key:1,class:"down-icons",style:e.normalizeStyle("日常"!=t.cycleType?{backgroundColor:"rgb(212,203,255)"}:{})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s(t.directiveName).slice(1),((l,a)=>(e.openBlock(),e.createElementBlock("view",{class:"",key:a},[e.createElementVNode("view",{class:"icon",style:e.normalizeStyle("日常"!=t.cycleType?{backgroundColor:"rgb(123,97,255)"}:{})},e.toDisplayString(s(t.directiveName)[a+1]),5)])))),128))],4)):e.createCommentVNode("",!0)],2)],42,["onTouchend","data-index0","data-index1"])]);var i})),128))])])))),128))])],32)])],8,["scroll-left"])])]),e.withDirectives(e.createElementVNode("view",{class:"popup-overlay",onClick:o[1]||(o[1]=e=>p.value=!1)},[e.createElementVNode("view",{class:"popup-overlay-content",style:e.normalizeStyle({top:2*v.value-350+"rpx",left:2*m.value-780+"rpx",opacity:g.value?1:0,backgroundColor:"日常"===(null==(x=null==(E=l.value[h.value])?void 0:E.children[w.value])?void 0:x.type)?"#fffcf6":"rgb(246, 244, 254)"}),onClick:o[0]||(o[0]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"popup-overlay-content-left"},[e.createElementVNode("image",{class:"popup-overlay-content-left-img",src:"/static/index/teeth.png"},null,8,["src"]),e.createElementVNode("text",{class:"popup-overlay-content-left-font"}," 占个位置 ")]),e.createElementVNode("view",{class:"popup-overlay-content-right"},[e.createElementVNode("view",{class:"time-font"}," 10:00 - 10:10 "),e.createElementVNode("view",{class:"time-text"}," 为老人提供口腔清洁器具,牙膏、牙刷及水杯,看护完成 ")])],4)],512),[[e.vShow,p.value]])])}}}),[["__scopeId","data-v-70d077f4"]]),Et=s({__name:"specialDrawer",props:{widNumber:{type:Number,default:17}},setup(t,{expose:l}){const a=e.ref(!1),i=t,r=e.ref(0);e.onMounted((()=>{const e=uni.getSystemInfoSync();r.value=e.screenWidth})),e.ref(0);const n=e.ref(!0),o=e.ref(0),c=e.computed((()=>{const e=`${i.widNumber}%`;if(n.value){return{width:e,transform:`translateX(${o.value}px)`,transition:"none"}}return{width:e}}));function s(e){}function d(e){}function u(){}l({openDrawer:function(){a.value=!0},closeDrawer:function(){a.value=!0}});const m=e.ref(0);return e.computed((()=>({transform:`rotate(${m.value}deg)`,transition:"transform 0.6s ease"}))),(t,l)=>(e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:e.normalizeClass(["drawer",{"drawer-open":a.value}]),style:e.normalizeStyle(c.value)},[e.createElementVNode("view",{class:"drawer-content",onTouchstartPassive:s,onTouchmovePassive:d,onTouchend:u,onTouchcancel:u},[e.renderSlot(t.$slots,"default",{},void 0,!0)],32)],6)]))}},[["__scopeId","data-v-fd743504"]]),Vt=s(e.defineComponent({__name:"index",props:{changerightbottom:{type:String,default:"标准"}},emits:["clickball"],setup(t,{emit:l}){const a=e.ref([{name:"返回",url:""},{name:"详情",url:""},{name:"周期",url:""},{name:"放大",url:"/static/index/getbig.png"},{name:"日常",url:""},{name:"缩小",url:"/static/index/getsmall.png"},{name:"全部",url:""},{name:"标准",url:""}]),i=l;return(l,r)=>(e.openBlock(),e.createElementBlock("view",{class:"draw-all"},[e.createElementVNode("view",{class:"button-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,((l,a)=>(e.openBlock(),e.createElementBlock("view",{key:a,class:"white-ball",onClick:e=>(e=>{i("clickball",e)})(a)},[l.url?(e.openBlock(),e.createElementBlock("image",{key:0,style:{width:"50%",height:"50%"},src:l.url},null,8,["src"])):(e.openBlock(),e.createElementBlock("view",{key:1},e.toDisplayString(5===a?t.changerightbottom:l.name),1))],8,["onClick"])))),128))])]))}}),[["__scopeId","data-v-c36f59f0"]]),xt=s(e.defineComponent({__name:"indexnew",setup(t){e.ref(!1);const l=e.ref([]),a=["00","05","10","15","20","25","30","35","40","45","50","55"];e.ref(["全部","日常","周期"]),e.ref(["放大","缩小"]);const i=e.ref(0);uni.getSystemInfoSync().windowWidth;const r=e=>{switch(e){case 0:uni.navigateBack();break;case 1:w.value&&h.value&&(V.value?V.value=!1:k(d.value[w.value].children[h.value],w.value,h.value));break;case 2:S(2);break;case 3:p(0);break;case 4:S(1);break;case 5:p(1);break;case 6:S(0);break;case 7:7===u.value?T(!1):T(!0)}};function n(e){if(e){let t=[],l=e,a=/([^((]*)[((]([^))]+)[))]/;for(;a.test(l);){let e=l.match(a);e&&(e[1].trim()&&t.push(e[1].trim()),e[2].trim()&&t.push(e[2].trim()),l=l.replace(e[0],"").trim())}return l.trim()&&t.push(l.trim()),t}return[]}const c=e.ref(0),s=e.ref(0),d=e.ref([]),u=e.ref(0),m=e.ref(247),v=e.ref(180);e.ref(0),e.ref(0),o((e=>{let t=uni.getStorageSync("myArray");l.value=t,l.value[0].children.length<8&&l.value.forEach((e=>{for(;e.children.length<8;)e.children.push({directiveName:""})})),d.value=JSON.parse(JSON.stringify(l.value)),u.value=7,g()}));const p=e=>{e?u.value<24&&u.value++:u.value>7&&u.value--};function g(){if(w.value>=0&&w.value<=24&&h.value>=0&&h.value<=11){const e=(w.value+.5)*m.value,t=(h.value-.5)*v.value;c.value=e-1110,s.value=t-281.25;const l=24*m.value,a=11*v.value;c.value=Math.max(0,Math.min(c.value,l-2220))/2,s.value=Math.max(0,Math.min(s.value,a-562.5))/2}}const w=e.ref(10),h=e.ref(0);e.watch([w,h],(()=>{g()})),e.watch(u,((e,t)=>{if(t===e);else{switch(e){case 24:m.value=92.5,v.value=107;break;case 23:m.value=96.5,v.value=107;break;case 22:m.value=101,v.value=107;break;case 21:m.value=106,v.value=116;break;case 20:m.value=112,v.value=116;break;case 19:m.value=117,v.value=116;break;case 18:m.value=124,v.value=121;break;case 17:m.value=131,v.value=128;break;case 16:m.value=139,v.value=133;break;case 15:m.value=148,v.value=142;break;case 14:m.value=159,v.value=150;break;case 13:m.value=171,v.value=160;break;case 12:m.value=185,v.value=170;break;case 11:m.value=202,v.value=183;break;case 10:m.value=222,v.value=195;break;case 9:m.value=247,v.value=213;break;case 8:m.value=280,v.value=235;break;case 7:m.value=320,v.value=256}g()}}));const y=e.ref(0),N=e.ref(null);const f=e.ref(0),E=e.ref(0),V=e.ref(!1),x=e.ref(!1);e.ref(null);const k=(t,l,a)=>{t.directiveName&&e.nextTick((()=>{uni.createSelectorQuery().selectAll(".super-card-time-card").boundingClientRect((t=>{t.forEach((async t=>{t.dataset.index0==l&&t.dataset.index1==a&&(t.left<500?f.value=Math.floor(t.left)+510:f.value=Math.floor(t.left)-10,t.top<300?E.value=Math.floor(t.top)+250:E.value=Math.floor(t.top),await e.nextTick(),V.value=!0,x.value=!1,setTimeout((()=>{x.value=!0}),100))}))})).exec()}))},b=(e,t)=>{uni.navigateBack({delta:1,success:()=>{uni.$emit("where",{index0:e,index1:t})}})},S=e=>{if(i.value!==e)switch(d.value=[],i.value=e,e){case 0:d.value=JSON.parse(JSON.stringify(l.value));break;case 1:d.value=JSON.parse(JSON.stringify(l.value)),d.value.forEach((e=>{e.children.forEach((e=>{e.directiveName&&"日常"!==e.cycleType&&(e.directiveName="",e.cycleType="",e.startTime="")}))}));break;case 2:d.value=JSON.parse(JSON.stringify(l.value)),d.value.forEach((e=>{e.children.forEach((e=>{e.directiveName&&"日常"===e.cycleType&&(e.directiveName="",e.cycleType="",e.startTime="")}))}))}};function T(e){u.value=e?7:24}return(t,i)=>{var o,p;return e.openBlock(),e.createElementBlock("view",{class:"doctorsay-container-container"},[e.createElementVNode("view",{class:"super-card"},[e.createElementVNode("view",{class:"super-card-container"},[e.createElementVNode("scroll-view",{style:{height:"100%",width:"100%"},"scroll-left":c.value,"scroll-x":"","scroll-with-animation":"","show-scrollbar":!1},[e.createElementVNode("view",{style:e.normalizeStyle([{width:24*m.value+"rpx"},{display:"flex"}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"super-card-time",style:e.normalizeStyle({width:m.value+"rpx"})},e.toDisplayString((1==t.positioning.length?"0"+t.positioning:t.positioning)+":00"),5)])))),128))],4),e.createElementVNode("view",{style:e.normalizeStyle([{display:"flex",height:"calc(100% - 80rpx)",position:"relative"},{width:24*m.value+"rpx"}])},[e.createElementVNode("view",{class:"xian-bian"}),e.createElementVNode("scroll-view",{"scroll-y":"","show-scrollbar":!1,"scroll-top":s.value,"scroll-with-animation":""},[e.createElementVNode("view",{style:{display:"flex",height:"100%"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"super-card-time-und",style:e.normalizeStyle({width:m.value+"rpx"})},[e.createElementVNode("view",{class:"bottom-bian"}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.children,((i,r)=>{return e.openBlock(),e.createElementBlock("view",{style:{width:"100%"},key:r},[e.createElementVNode("view",{style:e.normalizeStyle({height:v.value+"rpx"}),class:"super-card-time-card",onClick:e=>function(e,t,l){const a=Date.now();V.value&&(V.value=!1),null!=N.value&&clearTimeout(N.value),a-y.value<250?(e.startTime&&b(t,l),y.value=0):(w.value=t,h.value=l,y.value=a)}(i,l,r),"data-index0":l,"data-index1":r},[e.createElementVNode("view",{class:e.normalizeClass((o=i,"日常"===o.cycleType?"title-time-border-yellow":o.cycleType?"title-time-border-pouple":"title-time-border")),style:e.normalizeStyle([u.value>=11&&"日常"!==i.cycleType&&i.startTime?{backgroundColor:"#c5e5ff"}:{},{"font-size":"30rpx",position:"relative"}])},[e.withDirectives(e.createElementVNode("view",{class:"title-time-blue"},null,512),[[e.vShow,w.value==l&&h.value==r]]),i.startTime?(e.openBlock(),e.createElementBlock("view",{key:0,class:"title-time",style:{"flex-direction":"column",overflow:"hidden"}},[e.withDirectives(e.createElementVNode("image",{style:{width:"50rpx",height:"50rpx",margin:"0 auto"},src:i.netImmediateFile?i.netImmediateFile:"/static/logo.png"},null,8,["src"]),[[e.vShow,i.startTime]]),e.withDirectives(e.createElementVNode("view",{class:"title-time-time",style:{"font-size":"30rpx"}},e.toDisplayString(i.startTime+"-"+i.endTime),513),[[e.vShow,u.value<10]]),"日常"!=i.cycleType?e.withDirectives((e.openBlock(),e.createElementBlock("image",{key:0,class:"title-time-button",style:{width:"80rpx",height:"48rpx"},src:ge},null,512)),[[e.vShow,u.value<11]]):e.createCommentVNode("",!0),"日常"!=i.cycleType?e.withDirectives((e.openBlock(),e.createElementBlock("view",{key:1,class:"title-time-font",style:{right:"10rpx",top:"5rpx","font-size":"20rpx"}},e.toDisplayString(i.cycleType),513)),[[e.vShow,u.value<11]]):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),i.startTime?e.withDirectives((e.openBlock(),e.createElementBlock("view",{key:1,class:"title-time-font-rel"},e.toDisplayString(n(i.directiveName)[0]),513)),[[e.vShow,u.value<11]]):e.createCommentVNode("",!0),w.value!=l||h.value!=r||i.startTime?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:2,class:"pulic-time"},e.toDisplayString((1==t.positioning.length?"0"+t.positioning:t.positioning)+":"+a[r]),1))],6)],12,["onClick","data-index0","data-index1"])]);var o})),128))],4)])))),128))])],8,["scroll-top"])],4)],8,["scroll-left"])])]),e.createVNode(Et,{ref:"gobackdrawer"},{default:e.withCtx((()=>[e.createVNode(Vt,{onClickball:r,changerightbottom:7===u.value?"缩略图":"标准"},null,8,["changerightbottom"])])),_:1},512),e.withDirectives(e.createElementVNode("view",{class:"popup-overlay-content",style:e.normalizeStyle({top:2*E.value-350+"rpx",left:2*f.value-780+"rpx",opacity:x.value?1:0,backgroundColor:"日常"===(null==(p=null==(o=l.value[h.value])?void 0:o.children[w.value])?void 0:p.type)?"#fffcf6":"rgb(246, 244, 254)"}),onClick:i[0]||(i[0]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"popup-overlay-content-left"},[e.createElementVNode("image",{class:"popup-overlay-content-left-img",src:"/static/index/teeth.png"},null,8,["src"]),e.createElementVNode("text",{class:"popup-overlay-content-left-font"}," 占个位置 ")]),e.createElementVNode("view",{class:"popup-overlay-content-right"},[e.createElementVNode("view",{class:"time-font"}," 10:00 - 10:10 "),e.createElementVNode("view",{class:"time-text"}," 为老人提供口腔清洁器具,牙膏、牙刷及水杯,看护完成 ")])],4),[[e.vShow,V.value]])])}}}),[["__scopeId","data-v-1ec7345f"]]),kt="/static/index/warehouse/procurement/picking/addphoto.png",bt="/static/index/warehouse/procurement/picking/data.png",St="/static/index/warehouse/procurement/picking/center.png",Tt="/static/shili.png",Ct="/static/index/purchaseorder/back.png",Bt="/static/index/warehouse/procurement/picking/loading.png",Dt="/static/index/youngman.png",zt="/static/index/procurement/que.png";const It=s({props:{cont:{type:String,default:""},show:{type:Boolean,default:!1}}},[["render",function(t,l,a,i,r,n){return e.openBlock(),e.createElementBlock(e.Fragment,null,[a.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:"que"},[e.createElementVNode("image",{src:zt,mode:"aspectFill"}),e.createElementVNode("view",null,e.toDisplayString(a.cont),1)])):e.createCommentVNode("",!0),a.show?(e.openBlock(),e.createElementBlock("view",{key:1,class:"left-top-white"})):e.createCommentVNode("",!0)],64)}],["__scopeId","data-v-1d55bc90"]]),Ft="/static/index/procurement/ddj.png";const _t=s({props:{show:{type:Boolean,default:!1},font:{type:String,default:""}},methods:{}},[["render",function(t,l,a,i,r,n){return e.openBlock(),e.createElementBlock("view",null,[a.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:"addall"},[e.createElementVNode("view",null,"温馨提示"),e.createElementVNode("view",null,[e.createElementVNode("image",{src:Ft,mode:"aspectFill"})]),e.createElementVNode("view",{style:{"text-align":"center"}},e.toDisplayString(a.font),1),e.createElementVNode("view",null,[e.createElementVNode("view",{onClick:l[0]||(l[0]=e=>t.$emit("back"))},"取消"),e.createElementVNode("view",{class:"qd",onClick:l[1]||(l[1]=e=>t.$emit("right"))},"确定")])])):e.createCommentVNode("",!0),a.show?(e.openBlock(),e.createElementBlock("view",{key:1,class:"mengban",onClick:l[2]||(l[2]=e=>t.$emit("back"))})):e.createCommentVNode("",!0)])}],["__scopeId","data-v-58bb3402"]]),Ut=s(e.defineComponent({__name:"picking",setup(t){const a=e.ref(0),i=e.ref(0),r=e.ref(""),n=e.ref(""),c=e.ref(!1),s=e.ref(!1),d=e.ref(!1),u=e.ref(!1),m=e.ref(""),v=()=>{var e;(e={id:ee.value.id,arrivalPrice:m.value},p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/editPrice`,method:"post",data:e})).then((e=>{l("log","at pages/Warehouse/picking.vue:1089","res",e),200==e.code&&(ee.value.arrivalPrice=m.value,ee.value.totalPrice=Number(m.value)*Number(ee.value.purchaseQuantity),W.value[G.value].totalPrice=e.result.totalPrice,c.value=!1)}))};function g(e){if(s.value&&(m.value="",s.value=!1),"AC"!==e)if("."!==e){if(/^\d$/.test(e)){if(m.value.includes(".")){const[t,l]=m.value.split(".");return void((l||"").length<2&&(m.value+=e))}let t=m.value;"0"===t&&(t=""),t.length<4&&(m.value=t+e)}}else m.value.includes(".")||(m.value=""===m.value?"0.":m.value+".");else m.value=""}const w=()=>{0!=ee.value.jianhuobtn&&(d.value=!0,Ue.value=!0,ke.value=!1,setTimeout((()=>{ke.value=!0}),100))},h=()=>{c.value=!0,s.value=!0,m.value=(ee.value.arrivalPrice?ee.value.arrivalPrice:ee.value.procurementPrice).toString(),ke.value=!1,setTimeout((()=>{ke.value=!0}),100)},y=e.ref([]),N=()=>{y.value=[],S.value=L.cgBy};function f(e,t){const l=String(e??"").toLowerCase(),a=String(t??"").toLowerCase().trim();if(!a)return!0;if(l.includes(a))return!0;let i=0;for(let r=0;r<l.length&&i<a.length;r++)l[r]===a[i]&&i++;return i===a.length}let E=null;function V(e){var t;if(!e.detail.value)return L.cgBy="",y.value=[],void ge();const l=String("string"==typeof e?e:(null==(t=null==e?void 0:e.detail)?void 0:t.value)??"").trim();E&&clearTimeout(E),E=setTimeout((()=>{l?(y.value=z.value.filter((e=>f(null==e?void 0:e.cgBy,l))),y.value.length||y.value.push({cgBy:"暂无数据"})):y.value=z.value.slice()}),300)}const x=e.ref([]),k=e.ref(-1),b=()=>{x.value=[],T.value="",L.suppliers="",ge()},S=e.ref(""),T=e.ref("");function C(e){var t;if(!e.detail.value)return L.suppliers="",x.value=[],k.value=-1,T.value="",void ge();const l=String("string"==typeof e?e:(null==(t=null==e?void 0:e.detail)?void 0:t.value)??"").trim();E&&clearTimeout(E),E=setTimeout((()=>{l?(x.value=I.value.filter((e=>f(null==e?void 0:e.suppliersName,l))),x.value.length||x.value.push({suppliersName:"暂无数据"})):x.value=I.value.slice()}),300)}o((()=>{X(),n.value=uni.getStorageSync("serverUrl")+"/sys/common/static/",F()}));const B=e.ref(!1),D=e.ref(!1),z=e.ref([]),I=e.ref([]),F=()=>{p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getCgrList`,method:"get"}).then((e=>{z.value=e.result})),p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getGysList`,method:"get"}).then((e=>{I.value=e.result}))},_=e.ref(!1);e.ref("");const U=e.ref(0),$=["待入库","待完结","已完结"],M=e.ref(-1);e.ref(0);const L=e.reactive({pageNo:1,pageSize:10,canpull:!0,cgdParamInfo:"",suppliers:"",cgdType:"0,1",startTime:"",endTime:"",cgBy:"",nuId:uni.getStorageSync("nuId")}),j={pageNo:1,pageSize:10,canpull:!0,cgdParamInfo:"",suppliers:"",cgdType:"0,1",startTime:"",endTime:"",cgBy:"",nuId:uni.getStorageSync("nuId")},A=e.ref(!0),P=()=>{A.value=!1,setTimeout((()=>{A.value=!0}),300),Object.assign(L,j),S.value="",T.value="",ge()},q=e=>{L.startTime=e.start,L.endTime=e.end,ge()},O=e.ref(0),W=e.ref([]),R=e.ref(0),J=e.ref(!1),X=()=>{ue(L).then((e=>{W.value.push(...e.result.records),R.value=e.result.total,e.result.total||(J.value=!0),e.result.records.length&&(te.cgdId=W.value[0].id,ne(0)),e.result.records.length<L.pageSize&&(L.canpull=!1)}))},Q=e.ref(!0),Z=()=>{Q.value&&(L.pageNo++,H(),Q.value=!1,setTimeout((()=>{Q.value=!0}),500))},H=()=>{L.canpull&&ue(L).then((e=>{W.value.push(...e.result.records),R.value=e.result.total,e.result.records.length<L.pageSize&&(L.canpull=!1)}))},G=e.ref(0),K=(e,t)=>{let l=Math.ceil(e+1);var a;O.value=180*(l-2),G.value=e,te.cgdId=W.value[e].id,te.pageNo=1,te.canpull=!0,me(te).then((e=>{re.value=[],re.value.push(...e.result.records),te.pageNo&&ie(0)})),"Y"==t.izNew&&(t.izNew="N",a={id:t.id},p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/editIzNew`,method:"post",data:a}))},ee=e.ref({materialImg:"",cgrvalue:"",gysvalue:"",wlName:"",procurementPrice:"",wlMaterialNo:"",wlSpecificationModel:"",purchaseQuantity:"",wlUnits:"",kcsl:"",wlUpperLimit:"",wlLowerLimit:"",suppliersName:"",jianhuobtn:!1}),te=e.reactive({nuId:"",pageNo:1,pageSize:-1,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",cgdId:"",isWaring:0,canpull:!0}),le={nuId:"",pageNo:1,pageSize:9,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",cgdId:"",isWaring:0},ae=e.ref(0),ie=e=>{U.value=e,ee.value=re.value[e],ee.value.jianhuobtn=!1,ae.value=205*(e-2),(0==Number(ee.value.status)||Number(ee.value.status)>0&&Number(ee.value.wrksl)>0)&&(ee.value.maxnum=0==ee.value.rksl&&0==ee.value.wrksl&&0==ee.value.xzsl?ee.value.purchaseQuantity:ee.value.wrksl,ee.value.num=ee.value.maxnum,r.value=Le(ee.value.num),ee.value.jianhuobtn=!0),Object.assign(te,le),ce.value=1,oe.value=[],pe()},re=e.ref([]),ne=e=>{me(te).then((t=>{re.value=t.result.records,ie(e)}))},oe=e.ref([]),ce=e.ref(1),se=e.ref("loading"),pe=()=>{let e={cgdId:ee.value.cgdId,wlId:ee.value.wlId,pageNo:ce.value,pageSize:10};var t;(t=e,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryPickingRecordList`,method:"get",data:t})).then((e=>{oe.value.push(...e.result.records),se.value=e.result.total==oe.value.length||0==e.result.records.length?"nomore":"loadmore"}))},ge=()=>{L.pageNo=1,W.value=[],ue(L).then((e=>{W.value.push(...e.result.records),R.value=e.result.total,e.result.records.length&&(te.cgdId=W.value[0].id,ne(0)),e.result.records.length<L.pageSize&&(L.canpull=!1)}))},we=e.ref(-1);e.ref(-1);const he=e.ref(!1),ye=e.ref(!1),Ne=()=>{l("log","at pages/Warehouse/picking.vue:1555","-----------------------\x3e 点击分享按钮"),uni.share({provider:"weixin",scene:"WXSceneSession",type:0,href:"https://www.baidu.com/",title:"采购单分享",summary:"采购单",imageUrl:"https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uni@2x.png",success:function(e){uni.showToast({title:e,icon:"none",duration:2e4}),l("log","at pages/Warehouse/picking.vue:1571","-------------------success:",e)},fail:function(e){l("log","at pages/Warehouse/picking.vue:1574","------------------- fail:",e),uni.showToast({title:e,icon:"none",duration:2e4})}})},fe=e.ref(!1),Ee=e.ref(!1),Ve=()=>{var e;!Number(null==(e=W.value[G.value])?void 0:e.status)&&W.value.length&&(fe.value=!0,we.value=-1,Ee.value=!1,setTimeout((()=>Ee.value=!0),50))},xe=()=>{ve({id:W.value[G.value].id}).then((e=>{l("log","at pages/Warehouse/picking.vue:1595","res",e),e.success?(uni.showToast({title:e.message,icon:"success",duration:2e3}),fe.value=!1,re.value=[],W.value=[],Object.assign(L,j),Object.assign(te,le),X()):(uni.showToast({title:e.message,icon:"none",duration:2e3}),fe.value=!1)}))},ke=e.ref(!1),be=e.ref([]),Se=e.ref([]),Te=e=>{1==e?Be():Ce(),M.value=e,ke.value=!1,setTimeout((()=>{ke.value=!0}),100)};e.ref(1);const Ce=()=>{let e={cgdId:W.value[G.value].id};var t;(t=e,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryJhzpList`,method:"get",data:t})).then((e=>{Se.value=e.result}))},Be=()=>{let e={cgdId:W.value[G.value].id,pageNo:1,pageSize:-1};var t;(t=e,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/querySxdList`,method:"get",data:t})).then((e=>{l("log","at pages/Warehouse/picking.vue:1651",e.result.records),be.value=e.result.records}))},De=e=>{let t=new Date,l=t.getFullYear(),a=t.getMonth()+1;uni.uploadFile({url:uni.getStorageSync("serverUrl")+"/sys/common/upload",filePath:e,name:"file",formData:{biz:l+"/"+a+"/sxdPic"},header:{"X-Access-Token":uni.getStorageSync("token")},success:e=>{const t=JSON.parse(e.data);var l;(l={sxdPic:t.message,cgdId:W.value[G.value].id},p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/addSxd`,method:"post",data:l})).then((e=>{e.success&&Be()}))},fail:()=>{uni.showToast({title:"上传失败",icon:"none"})}})},ze=e.ref([]),Ie=e=>{uni.chooseImage({count:1,sizeType:["compressed"],sourceType:["camera"],success:t=>{let a=JSON.stringify(t.tempFilePaths);uni.compressImage({src:JSON.parse(a)[0],quality:60,success:t=>{e?1==e&&(De(t.tempFilePath),l("log","at pages/Warehouse/picking.vue:1699",t.tempFilePath)):ze.value.push(t.tempFilePath)}})}})},Fe=(e,t,l,a)=>{if(1==a){let e=[];l.forEach((t=>{e.push(n.value+t.sxdPic)})),uni.previewImage({current:t,urls:e,showmenu:!1,longPressActions:{itemList:[]}})}else if(2==a){let e=[];l.forEach((t=>{e.push(n.value+t.jhPic)})),uni.previewImage({current:t,urls:e,showmenu:!1,longPressActions:{itemList:[]}})}else uni.previewImage({current:t,urls:l,showmenu:!1,longPressActions:{itemList:[]}})},_e=e.ref(-1),Ue=e.ref(!1),$e=e=>"AC"==e?(ee.value.num=0,void(r.value=Le(ee.value.num))):"AE"==e?(ee.value.num=Math.trunc(ee.value.num/10),void(r.value=Le(ee.value.num))):1==Ue.value?(ee.value.num=e,Ue.value=!1,void(r.value=Le(ee.value.num))):void(Me(ee.value.num)>3||(ee.value.num?ee.value.num=10*ee.value.num+e:ee.value.num=e,r.value=Le(ee.value.num))),Me=e=>Math.abs(e).toString().length,Le=e=>{const t=Math.floor(Math.abs(e));return String(t).padStart(4,"0")},je=e.ref(null),Ae=e=>{qe(e)},Pe=()=>{clearInterval(je.value)},qe=e=>{je.value=setInterval((()=>{Oe(e)}),120)},Oe=e=>{let t=ee.value.maxnum;t<=ee.value.num&&1==e?ee.value.num=t:ee.value.num<=1&&-1==e?ee.value.num=1:(ee.value.num+=e,r.value=Le(ee.value.num))},We=e=>{let t="";Ye.value.forEach((e=>{t+=e+","}));let i={jhId:ee.value.id,jhNum:ee.value.num,jhType:e,jhPic:""==t?null:t,cgdId:ee.value.cgdId};var r;(r=i,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/pickingInfo`,method:"post",data:r})).then((e=>{l("log","at pages/Warehouse/picking.vue:1833",e),uni.showToast({icon:"none",title:e.message?e.message:"操作成功"}),e.success&&(l("log","at pages/Warehouse/picking.vue:1839",e.result.cgdInfo),l("log","at pages/Warehouse/picking.vue:1840",W.value[G.value]),ze.value=[],Ye.value=[],d.value=!1,a.value=0,te.cgdId=W.value[G.value].id,W.value[G.value]=e.result.cgdInfo,ne(U.value))}))},Ye=e.ref([]),Re=e=>{if(0==ze.value.length)return void We(e);let t=new Date,l=t.getFullYear(),a=t.getMonth()+1;ze.value.forEach((t=>{uni.uploadFile({url:uni.getStorageSync("serverUrl")+"/sys/common/upload",filePath:t,name:"file",formData:{biz:l+"/"+a+"/jhPic"},header:{"X-Access-Token":uni.getStorageSync("token")},success:t=>{const l=JSON.parse(t.data);Ye.value.push(l.message),Ye.value.length==ze.value.length&&We(e)},fail:()=>{uni.showToast({title:"上传失败",icon:"none"})}})}))},Je=e=>{1==e?a.value=2:Re(0)},Xe=[210,210,210],Qe=[50,152,255],Ze=e.ref(0);function He(e,t,l){return Math.round(e+(t-e)*l)}function Ge(e){return"#"+e.map((e=>e.toString(16).padStart(2,"0"))).join("")}const Ke=e.computed((()=>{const e=[];for(let t=0;t<8;t++){const l=(Ze.value+t/8)%1,a=[He(Xe[0],Qe[0],l),He(Xe[1],Qe[1],l),He(Xe[2],Qe[2],l)];e.push(Ge(a))}return e})),et=e.computed((()=>({width:"180rpx",height:"70rpx",padding:"2rpx",borderRadius:"40rpx",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"transparent",position:"relative"}))),tt=e.computed((()=>({position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:"40rpx",overflow:"hidden",display:"flex",flexDirection:"row",zIndex:1}))),lt=e.computed((()=>({width:"calc(100% - 4rpx)",height:"calc(100% - 4rpx)",borderRadius:"36rpx",backgroundColor:"#ffffff",display:"flex",alignItems:"center",justifyContent:"center",zIndex:2}))),at=e.computed((()=>({color:Ke.value[0]||Ge(Xe),fontSize:"30rpx",fontWeight:"600",zIndex:3})));let it=null;return e.onMounted((()=>{const e=Math.max(1,Math.round(1e3/120));it=setInterval((()=>{Ze.value+=1/e,Ze.value>=1&&(Ze.value-=1)}),120)})),e.onUnmounted((()=>{it&&clearInterval(it)})),e.ref(!1),(t,l)=>{var o,s,p,f,E,z,I,F,j,X;return e.openBlock(),e.createElementBlock("view",{class:"contain"},[e.withDirectives(e.createElementVNode("view",{class:"mengban",style:e.normalizeStyle(B.value||D.value||u.value?{background:"transparent"}:{}),onClick:l[0]||(l[0]=e=>{we.value=-1,M.value=-1,d.value=!1,c.value=!1,u.value=!1,B.value=!1,Ue.value=!1,D.value=!1})},null,4),[[e.vShow,-1!=we.value||-1!=M.value||d.value||c.value||u.value||B.value||Ue.value||D.value]]),e.createVNode(It,{cont:"暂无数据",show:J.value},null,8,["show"]),e.withDirectives(e.createElementVNode("view",{class:"mengban",style:{background:"transparent"},onClick:b},null,512),[[e.vShow,x.value.length&&T.value]]),x.value.length&&T.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"input-next",style:{bottom:"450rpx"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.value.slice(0,5),((t,l)=>e.withDirectives((e.openBlock(),e.createElementBlock("view",{class:"next-father",key:l,onClick:e=>((e,t)=>{x.value=[],L.suppliers=e.suppliers,T.value=e.suppliersName,k.value=t,ge()})(t,l)},e.toDisplayString(t.suppliersName),9,["onClick"])),[[e.vShow,"暂无数据"!=x.value[0].suppliersName]]))),128)),"暂无数据"===x.value[0].suppliersName?(e.openBlock(),e.createElementBlock("view",{key:0,class:"nomessage"}," 暂无数据 ")):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("view",{class:"mengban",style:{background:"transparent"},onClick:N},null,512),[[e.vShow,y.value.length&&S.value]]),y.value.length&&S.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"input-next"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.slice(0,5),((t,l)=>e.withDirectives((e.openBlock(),e.createElementBlock("view",{class:"next-father",key:l,onClick:e=>(e=>{y.value=[],L.cgBy=e.cgBy,S.value=L.cgBy,ge()})(t)},e.toDisplayString(t.cgBy),9,["onClick"])),[[e.vShow,"暂无数据"!=y.value[0].cgBy]]))),128)),"暂无数据"===y.value[0].cgBy?(e.openBlock(),e.createElementBlock("view",{key:0,class:"nomessage"}," 暂无数据 ")):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),A.value?e.withDirectives((e.openBlock(),e.createElementBlock("view",{key:2,class:"calendar-father"},[e.createVNode(yt,{onDatachange:q})],512)),[[e.vShow,u.value]]):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("view",{class:"gaijiafather",style:e.normalizeStyle(ke.value?{opacity:1}:{opacity:0})},[e.createElementVNode("view",{style:{width:"100%","margin-top":"50rpx","font-size":"30rpx"}},[e.createTextVNode(" 采购单价: "),e.createElementVNode("text",{style:{color:"#888888"}}," ¥"+e.toDisplayString(m.value),1)]),e.createElementVNode("view",{style:{"margin-top":"150rpx",display:"flex","align-items":"center","flex-direction":"column",width:"50%"}},[e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"10rpx"}}," 到货单价 "),e.createElementVNode("view",{class:"gray-input",style:{width:"410rpx"}}," ¥ "+e.toDisplayString(m.value),1)]),e.createElementVNode("view",{style:{position:"absolute",right:"30rpx",bottom:"30rpx"}},[e.createElementVNode("view",{style:{display:"flex"}},[e.createElementVNode("view",{onClick:l[1]||(l[1]=e=>c.value=!1),style:{width:"160rpx",height:"75rpx","background-color":"#ebeced",color:"#888888",display:"flex","justify-content":"center","align-items":"center","font-size":"30rpx","border-radius":"40rpx"}}," 取消 "),e.createElementVNode("view",{onClick:v,style:{width:"160rpx",height:"75rpx",color:"#0385FA",display:"flex","justify-content":"center","align-items":"center","font-size":"30rpx","border-radius":"40rpx",border:"1rpx solid #0385FA",background:"linear-gradient(to bottom,#E9F4FF,#CAE0F9)",margin:"0 40rpx"}}," 确定 ")])]),e.createElementVNode("view",{class:"jianhuo-jianpan",style:{right:"-40rpx",bottom:"150rpx"}},[e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[2]||(l[2]=e=>g("1"))}," 1 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[3]||(l[3]=e=>g("2"))}," 2 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[4]||(l[4]=e=>g("3"))}," 3 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[5]||(l[5]=e=>g("4"))}," 4 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[6]||(l[6]=e=>g("5"))}," 5 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[7]||(l[7]=e=>g("6"))}," 6 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[8]||(l[8]=e=>g("7"))}," 7 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[9]||(l[9]=e=>g("8"))}," 8 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[10]||(l[10]=e=>g("9"))}," 9 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",style:{"font-size":"35rpx"},onClick:l[11]||(l[11]=e=>g("AC"))}," AC "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[12]||(l[12]=e=>g("0"))}," 0 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[13]||(l[13]=e=>g("."))}," . ")])])],4),[[e.vShow,c.value]]),e.withDirectives(e.createElementVNode("view",{class:"jianhuofather guodu",style:e.normalizeStyle(ke.value?{opacity:1}:{opacity:0})},[e.createElementVNode("view",{style:{margin:"40rpx 0",width:"100%","text-align":"center","font-size":"35rpx","font-weight":"600"}},e.toDisplayString(ee.value.wlName),1),e.createElementVNode("view",{style:{display:"flex","justify-content":"space-between",width:"100%"}},[e.createElementVNode("view",{style:{"font-weight":"600","font-size":"30rpx"}}," 物料信息 "),e.createElementVNode("view",{style:{"font-weight":"600","font-size":"35rpx",color:"#555555"}}," ¥"+e.toDisplayString(ee.value.totalPrice),1)]),e.createElementVNode("view",{style:{display:"flex","margin-top":"10rpx"}},[e.createElementVNode("view",{class:"",style:{width:"33%"}},[e.createElementVNode("view",{style:{color:"#999999","margin-top":"10rpx"}}," 物料编码 "),e.createElementVNode("view",{class:"",style:{"margin-top":"5rpx","font-size":"34rpx"}},e.toDisplayString(ee.value.wlMaterialNo),1)]),e.createElementVNode("view",{style:{width:"33%"}},[e.createElementVNode("view",{style:{color:"#999999","margin-top":"10rpx","white-space":"nowrap"}}," 规格型号 "),e.createElementVNode("view",{style:{"margin-top":"5rpx","font-size":"34rpx","white-space":"nowrap",display:"flex","flex-wrap":"nowrap"}},e.toDisplayString(ee.value.wlSpecificationModel),1)])]),e.createElementVNode("view",{style:{display:"flex","margin-top":"20rpx"}},[e.createElementVNode("view",{class:"",style:{width:"33%"}},[e.createElementVNode("view",{style:{color:"#999999","margin-top":"10rpx"}}," 采购单价 "),e.createElementVNode("view",{class:"text-anim",style:{"margin-top":"5rpx","font-weight":"600","font-size":"34rpx"}}," ¥"+e.toDisplayString(ee.value.arrivalPrice?Number(ee.value.arrivalPrice).toFixed(2):Number(ee.value.procurementPrice).toFixed(2)),1)]),e.createElementVNode("view",{class:"",style:{width:"33%"}},[e.createElementVNode("view",{style:{color:"#999999","margin-top":"10rpx"}}," 采购数量 "),e.createElementVNode("view",{class:"",style:{"margin-top":"5rpx","font-weight":"600","font-size":"34rpx"}},e.toDisplayString(ee.value.purchaseQuantity),1)]),e.createElementVNode("view",{class:"",style:{width:"33%"}},[e.createElementVNode("view",{style:{color:"#999999","margin-top":"10rpx"}}," 采购单位 "),e.createElementVNode("view",{class:"",style:{"margin-top":"5rpx","font-size":"34rpx"}},e.toDisplayString(ee.value.wlUnits),1)])]),e.createElementVNode("view",{style:{width:"95%",height:"0.5rpx","background-color":"#eff1f3","margin-top":"10rpx","margin-bottom":"5rpx"}}),e.createElementVNode("view",{style:{}},[e.createElementVNode("view",{style:{"font-weight":"600","font-size":"30rpx"}}," 入库信息 ")]),e.createElementVNode("view",{style:{display:"flex","margin-top":"10rpx"}},[e.createElementVNode("view",{class:"",style:{width:"33%"}},[e.createElementVNode("view",{style:{color:"#999999","margin-top":"10rpx"}}," 入库数量 "),e.createElementVNode("view",{class:"",style:{"margin-top":"5rpx","font-size":"34rpx"}},e.toDisplayString(ee.value.rksl),1)]),e.createElementVNode("view",{class:"",style:{width:"33%"}},[e.createElementVNode("view",{style:{color:"#999999","margin-top":"10rpx"}}," 挂账数量 "),e.createElementVNode("view",{class:"",style:{"margin-top":"5rpx","font-size":"34rpx"}},e.toDisplayString(ee.value.wrksl),1)]),e.createElementVNode("view",{class:"",style:{width:"33%"}},[e.createElementVNode("view",{style:{color:"#999999","margin-top":"10rpx"}}," 销账数量 "),e.createElementVNode("view",{class:"",style:{"margin-top":"5rpx","font-size":"34rpx"}},e.toDisplayString(ee.value.xzsl),1)])]),e.createElementVNode("view",{style:{width:"95%",height:"0.5rpx","background-color":"#eff1f3","margin-top":"10rpx","margin-bottom":"5rpx"}}),e.createElementVNode("view",{style:{}},[e.createElementVNode("view",{style:{"font-weight":"600","font-size":"30rpx"}}," 拣货拍照 ")]),e.createElementVNode("view",{style:{display:"flex","flex-wrap":"wrap",width:"60%"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ze.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"moban-photo",key:l},[e.createElementVNode("view",{style:{width:"1.6vw",height:"1.6vw","z-index":"20",position:"absolute",right:"0.1vw",top:"0.1vw",background:"rgba(255, 255, 255, 0.7)",display:"flex","justify-content":"center","align-items":"center"},onClick:e.withModifiers((e=>{_e.value=l,a.value=1}),["stop"])},[e.createElementVNode("image",{src:Y,mode:"aspectFill",style:{width:"100%",height:"100%"}})],8,["onClick"]),e.createElementVNode("image",{style:{width:"100%",height:"100%"},src:t||"/static/zhanwei.png",mode:"aspectFill",onClick:e=>Fe(0,l,ze.value)},null,8,["src","onClick"])])))),128)),ze.value.length<4?(e.openBlock(),e.createElementBlock("view",{key:0,style:{width:"40%",height:"150rpx","margin-right":"4%","margin-top":"3%"},onClick:l[14]||(l[14]=e=>Ie(0))},[e.createElementVNode("view",{class:"moban-photo-special"},[e.createElementVNode("image",{style:{width:"50rpx",height:"50rpx","margin-bottom":"5rpx"},src:kt}),e.createElementVNode("view",{style:{color:"#78B1EB","font-size":"25rpx"}}," 点击拍照上传 ")])])):e.createCommentVNode("",!0),e.createElementVNode("view",{style:{width:"87%",height:"0.5rpx","background-color":"#eff1f3","margin-top":"10rpx","margin-bottom":"5rpx"}})]),e.createElementVNode("view",{style:{}},[e.createElementVNode("view",{style:{"font-weight":"600","font-size":"30rpx"}}," 数量 ")]),e.createElementVNode("view",{style:{display:"flex","margin-top":"30rpx","margin-left":"20rpx"}},[e.createElementVNode("view",{class:"gray-button",onClick:l[15]||(l[15]=e=>Oe(-1)),onLongpress:l[16]||(l[16]=e=>Ae(-1)),onTouchend:Pe}," - ",32),e.createElementVNode("view",{class:"gray-input",style:{width:"12vw"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,((t,l)=>(e.openBlock(),e.createElementBlock("text",{key:l},e.toDisplayString(t),1)))),128))]),e.createElementVNode("view",{class:"gray-button",onClick:l[17]||(l[17]=e=>Oe(1)),onLongpress:l[18]||(l[18]=e=>Ae(1)),onTouchend:Pe}," + ",32)]),e.createElementVNode("view",{class:"jianhuobutton"},[e.createElementVNode("view",{style:{display:"flex"}},[e.createElementVNode("view",{onClick:l[19]||(l[19]=e=>{d.value=!1,Ue.value=!1}),style:{width:"160rpx",height:"75rpx","background-color":"#ebeced",color:"#888888",display:"flex","justify-content":"center","align-items":"center","font-size":"30rpx","border-radius":"40rpx"}}," 关闭 "),e.createElementVNode("view",{onClick:l[20]||(l[20]=e=>Je(1)),style:{width:"160rpx",height:"75rpx",color:"#0385FA",display:"flex","justify-content":"center","align-items":"center","font-size":"30rpx","border-radius":"40rpx",border:"1rpx solid #0385FA",background:"linear-gradient(to bottom,#E9F4FF,#CAE0F9)",margin:"0 20rpx"}}," 销账 "),e.createElementVNode("view",{onClick:l[21]||(l[21]=e=>Je(0)),style:{width:"160rpx",height:"75rpx",color:"#0385FA",display:"flex","justify-content":"center","align-items":"center","font-size":"30rpx","border-radius":"40rpx",border:"1rpx solid #0385FA",background:"linear-gradient(to bottom,#E9F4FF,#CAE0F9)"}}," 入库 ")])]),e.createElementVNode("view",{class:"jianhuo-jianpan"},[e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[22]||(l[22]=e=>$e(1))}," 1 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[23]||(l[23]=e=>$e(2))}," 2 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[24]||(l[24]=e=>$e(3))}," 3 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[25]||(l[25]=e=>$e(4))}," 4 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[26]||(l[26]=e=>$e(5))}," 5 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[27]||(l[27]=e=>$e(6))}," 6 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[28]||(l[28]=e=>$e(7))}," 7 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[29]||(l[29]=e=>$e(8))}," 8 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[30]||(l[30]=e=>$e(9))}," 9 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",style:{"font-size":"35rpx"},onClick:l[31]||(l[31]=e=>$e("AC"))}," AC "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[32]||(l[32]=e=>$e(0))}," 0 "),e.createElementVNode("view",{class:"gray-button-jianpan",style:{"font-size":"35rpx"},onClick:l[33]||(l[33]=e=>$e("AE"))}," AE ")])])],4),[[e.vShow,d.value]]),e.withDirectives(e.createElementVNode("view",{class:"photowall",style:e.normalizeStyle(ke.value?{opacity:1}:{opacity:0})},[e.createElementVNode("view",{class:"photowall-title"},[e.createElementVNode("view",{class:"photowall-name"},e.toDisplayString(M.value?"随行单":"拣货照片"),1),e.createElementVNode("view",{class:""},[e.createElementVNode("text",{class:"photowall-left"}," 采购单号: "),e.createElementVNode("text",{class:"photowall-right"},e.toDisplayString(null==(o=W.value[G.value])?void 0:o.cgdNo),1)])]),0==M.value?(e.openBlock(),e.createElementBlock("scroll-view",{key:0,"scroll-y":"true",class:"photowall-other","scroll-with-animation":""},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Se.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"photowall-other-one",key:l,onClick:e=>Fe(0,l,Se.value,2)},[e.createElementVNode("image",{style:{width:"100%",height:"70%","border-radius":"30rpx"},src:t.jhPic?n.value+t.jhPic:"/static/ceshiyaoshan.png",mode:"aspectFill","lazy-load":!0},null,8,["src"]),e.createElementVNode("view",{style:{"margin-top":"20rpx"}},[e.createElementVNode("text",{style:{color:"#888888"}}," 上传时间: "),e.createElementVNode("text",{style:{"margin-left":"15rpx"}},e.toDisplayString(t.createTime),1)]),e.createElementVNode("view",{style:{"margin-top":"10rpx"}},[e.createElementVNode("text",{style:{color:"#888888","letter-spacing":"8.9rpx"}}," 上传人: "),e.createElementVNode("text",null,e.toDisplayString(t.createBy),1)])],8,["onClick"])))),128)),Se.value.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"noarray"},[e.createElementVNode("image",{class:"noarray-img",src:"/static/index/warehouse/procurement/picking/noarray.png",mode:"aspectFill"}),e.createElementVNode("view",{class:"noarray-font"}," 暂无拣货照片 ")]))])):e.createCommentVNode("",!0),1==M.value?(e.openBlock(),e.createElementBlock("scroll-view",{key:1,"scroll-y":"true",class:"photowall-other","scroll-with-animation":""},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(be.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"photowall-other-one",key:l,onClick:e=>Fe(0,l,be.value,1)},[e.createElementVNode("image",{style:{width:"100%",height:"70%","border-radius":"30rpx"},src:t.sxdPic?n.value+t.sxdPic:"/static/ceshiyaoshan.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{style:{"margin-top":"20rpx"}},[e.createElementVNode("text",{style:{color:"#888888"}}," 上传时间: "),e.createElementVNode("text",{style:{"margin-left":"15rpx"}},e.toDisplayString(t.createTime),1)]),e.createElementVNode("view",{style:{"margin-top":"10rpx"}},[e.createElementVNode("text",{style:{color:"#888888","letter-spacing":"8.9rpx"}}," 上传人: "),e.createElementVNode("text",null,e.toDisplayString(t.createBy),1)])],8,["onClick"])))),128)),1==M.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"photowall-other-one"},[e.createElementVNode("view",{style:{width:"100%",height:"70%",display:"flex","flex-direction":"column","justify-content":"center","align-items":"center",position:"absolute",top:"3vw",left:"0","background-color":"#fafdff",border:"1rpx solid #78B1EB","border-radius":"30rpx"},onClick:l[34]||(l[34]=e=>Ie(1))},[e.createElementVNode("image",{style:{width:"70rpx",height:"70rpx","margin-bottom":"5rpx"},src:kt}),e.createElementVNode("view",{style:{color:"#78B1EB"}}," 点击拍照上传 ")])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4),[[e.vShow,-1!=M.value]]),e.createElementVNode("view",{class:"contain-left"},[e.withDirectives(e.createElementVNode("view",{class:"mengban",style:{background:"transparent"},onClick:l[35]||(l[35]=e=>_.value=!1)},null,512),[[e.vShow,_.value]]),e.withDirectives(e.createElementVNode("view",{class:"left-select-more"},[e.createElementVNode("view",{class:"more-bottom"},[e.createElementVNode("view",{class:"bottom-left",onClick:P}," 重置 "),e.createElementVNode("view",{class:"bottom-right",onClick:l[36]||(l[36]=e=>_.value=!1)},[e.createTextVNode(" 确定 "),R.value>=99?(e.openBlock(),e.createElementBlock("text",{key:0,style:{"font-size":"25rpx","margin-top":"5rpx"}}," (99+采购单) ")):e.createCommentVNode("",!0)])]),e.createElementVNode("view",{class:"more-title"}," 采购单状态 "),e.createElementVNode("view",{class:"more-statues-father"},[e.createElementVNode("view",{class:e.normalizeClass("0,1"==L.cgdType?"more-statues-button-target":"more-statues-button"),onClick:l[37]||(l[37]=e=>{L.cgdType="0,1",ge()})}," 全部 ",2),e.createElementVNode("view",{class:e.normalizeClass("0"==L.cgdType?"more-statues-button-target":"more-statues-button"),onClick:l[38]||(l[38]=e=>{L.cgdType="0",ge()})}," 待入库 ",2),e.createElementVNode("view",{class:e.normalizeClass("1"==L.cgdType?"more-statues-button-target":"more-statues-button"),onClick:l[39]||(l[39]=e=>{L.cgdType="1",ge()})}," 待完结 ",2)]),e.createElementVNode("view",{class:"more-time"}," 采购日期 "),e.createElementVNode("view",{class:"more-time-select",onClick:l[40]||(l[40]=e=>u.value=!u.value)},[e.withDirectives(e.createElementVNode("view",{class:"more-gray"}," 开始日期 ",512),[[e.vShow,!L.startTime]]),e.withDirectives(e.createElementVNode("view",{class:"more-black"},e.toDisplayString(L.startTime),513),[[e.vShow,L.startTime]]),e.createElementVNode("view",{style:{"font-size":"32rpx"}}," 至 "),e.withDirectives(e.createElementVNode("view",{class:"more-gray"}," 结束日期 ",512),[[e.vShow,!L.endTime]]),e.withDirectives(e.createElementVNode("view",{class:"more-black"},e.toDisplayString(L.endTime),513),[[e.vShow,L.endTime]]),e.createElementVNode("image",{class:"more-img",src:bt})]),e.createElementVNode("view",{class:"more-select"}," 采购人 "),e.createElementVNode("view",{class:"more-time-select",onClick:l[42]||(l[42]=e=>B.value=!0)},[e.withDirectives(e.createElementVNode("input",{class:"more-gray","onUpdate:modelValue":l[41]||(l[41]=e=>S.value=e),placeholder:"请输入采购人","placeholder-style":"color: #BFBFBF;",style:{"margin-left":"30rpx",width:"400rpx"},onInput:V},null,544),[[e.vModelText,S.value]]),e.createElementVNode("image",{class:"select-img",src:St})]),e.createElementVNode("view",{class:"more-select"}," 供应商 "),e.createElementVNode("view",{class:"more-time-select",onClick:l[44]||(l[44]=e=>D.value=!0)},[e.withDirectives(e.createElementVNode("input",{class:"more-gray","onUpdate:modelValue":l[43]||(l[43]=e=>T.value=e),placeholder:"请输入供应商","placeholder-style":"color: #BFBFBF;",style:{"margin-left":"30rpx",width:"400rpx"},onInput:C},null,544),[[e.vModelText,T.value]]),e.createElementVNode("image",{class:"select-img",src:St})])],512),[[e.vShow,_.value]]),e.createElementVNode("view",{class:"title-input-father"},[e.withDirectives(e.createElementVNode("input",{class:"title-input",type:"text","onUpdate:modelValue":l[45]||(l[45]=e=>L.cgdParamInfo=e),maxlength:"15",placeholder:"采购单号/采购日期/供应商",onConfirm:l[46]||(l[46]=e=>ge())},null,544),[[e.vModelText,L.cgdParamInfo]]),e.withDirectives(e.createElementVNode("image",{class:"title-input-img",src:Y,onClick:l[47]||(l[47]=e=>{L.cgdParamInfo="",ge()})},null,512),[[e.vShow,L.cgdParamInfo]]),e.createElementVNode("view",{class:"title-input-button",onClick:l[48]||(l[48]=e=>{ge()})}," 检索 "),e.createElementVNode("view",{class:"filter"},[e.createElementVNode("image",{class:"filter-img",src:`/static/index/purchaseorder/select${_.value?"target":""}.png`},null,8,["src"]),e.createElementVNode("view",{class:e.normalizeClass(_.value?"filter-font-target":"filter-font"),onClick:l[49]||(l[49]=e=>_.value=!_.value)}," 筛选 ",2)])]),e.createElementVNode("view",{class:"statues-father"},[e.createElementVNode("view",{class:"statues-gray"}," 单据状态 "),e.createElementVNode("view",{class:e.normalizeClass("0,1"==L.cgdType?"statues-button-target":"statues-button"),style:{"margin-left":"4%"},onClick:l[50]||(l[50]=e=>{L.cgdType="0,1",ge()})}," 全部 ",2),e.createElementVNode("view",{class:e.normalizeClass("0"==L.cgdType?"statues-button-target":"statues-button"),onClick:l[51]||(l[51]=e=>{L.cgdType="0",ge()})}," 待入库 ",2),e.createElementVNode("view",{class:e.normalizeClass("1"==L.cgdType?"statues-button-target":"statues-button"),onClick:l[52]||(l[52]=e=>{L.cgdType="1",ge()})}," 待完结 ",2)]),e.createElementVNode("view",{class:"left-menu-father"},[e.createElementVNode("scroll-view",{"scroll-y":"true","scroll-with-animation":"",class:"left-menu-scroll","scroll-top":O.value,onScrolltolower:Z,"lower-threshold":400},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(W.value,((t,l)=>{var a,i;return e.openBlock(),e.createElementBlock("view",{class:"pls-card",key:l,onClick:e=>K(l,t),style:e.normalizeStyle({borderColor:l===G.value?"":"transparent",background:l===G.value?"#fff":"rgba(255,255,255,0.6)"})},["Y"==t.izNew?(e.openBlock(),e.createElementBlock("text",{key:0,style:{display:"block",background:"#ff5757",position:"absolute",width:"1.3vw",height:"1.3vw","border-radius":"50%",right:"-0.1vw",top:"-0.1vw"}})):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"pls-card-title"},[e.createElementVNode("view",{class:"title-left"},e.toDisplayString(t.cgdNo),1),e.createElementVNode("view",{class:"title-right"},[e.createElementVNode("text",{style:{position:"absolute",bottom:"4rpx",left:"-30rpx"}}," ¥ "),e.createElementVNode("view",{class:"title-right-big"},e.toDisplayString(Number(t.totalPrice).toFixed(2)),1)])]),e.createElementVNode("view",{class:"pls-card-middle"},[e.createElementVNode("view",{class:"middle-heng"}),e.createElementVNode("view",{class:"pls-card-middle-one"},[e.createElementVNode("view",{class:"middle-title"},e.toDisplayString(t.qgDate),1),e.createElementVNode("view",{class:"middle-heng-father"},[e.createElementVNode("image",{class:"middle-ball-img",src:de})]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",null," 采购 "),e.createElementVNode("view",{style:{"font-size":"25rpx"}},e.toDisplayString("[ "+t.qgBy+" ]"),1)])]),e.createElementVNode("view",{class:"pls-card-middle-one"},[e.createElementVNode("view",{class:"middle-title"},e.toDisplayString(null==(a=t.jhTime)?void 0:a.slice(0,10)),1),e.createElementVNode("view",{class:"middle-heng-father"},[Number(t.status)<1?(e.openBlock(),e.createElementBlock("view",{key:0,class:"middle-ball"})):(e.openBlock(),e.createElementBlock("image",{key:1,class:"middle-ball-img",src:de}))]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",null," 拣货 "),t.jhBy?(e.openBlock(),e.createElementBlock("view",{key:0,style:{"font-size":"25rpx"}},e.toDisplayString("[ "+t.jhBy+" ]"),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("view",{class:"pls-card-middle-one"},[e.createElementVNode("view",{class:"middle-title"},e.toDisplayString(Number(t.status)>=2?null==(i=t.wjTime)?void 0:i.slice(0,10):""),1),e.createElementVNode("view",{class:"middle-heng-father"},[2!=Number(t.status)?(e.openBlock(),e.createElementBlock("view",{key:0,class:"middle-ball",style:e.normalizeStyle({backgroundColor:1==Number(t.status)?"":"#E5E5E5"})},null,4)):(e.openBlock(),e.createElementBlock("image",{key:1,class:"middle-ball-img",src:de}))]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",null," 完结 "),t.wjBy?(e.openBlock(),e.createElementBlock("view",{key:0,style:{"font-size":"25rpx"}},e.toDisplayString("[ "+t.wjBy+" ]"),1)):e.createCommentVNode("",!0)])])]),e.createElementVNode("view",{class:"pls-card-end"},[e.createElementVNode("view",{class:"end-left"},[e.createElementVNode("image",{class:"end-left-img",src:Tt}),e.createElementVNode("view",{class:"end-left-font"},e.toDisplayString(t.gysId_dictText),1)]),e.createElementVNode("view",{class:"tag-success"},e.toDisplayString($[Number(t.status)]),1)])],12,["onClick"])})),128))],40,["scroll-top"])])]),e.createElementVNode("view",{class:"white-zhezhao"}),e.createElementVNode("view",{class:"contain-right"},[e.createElementVNode("view",{class:"contain-right-title"},[e.createElementVNode("view",{class:"left-top-tags"},[e.createElementVNode("view",{class:"wuliao-title"}," 物料信息 ")]),e.createElementVNode("view",{class:e.normalizeClass(M.value?"contain-right-button":"contain-right-button-target"),onClick:l[53]||(l[53]=e=>Te(0))},[e.createElementVNode("image",{class:"buttont-img",src:`/static/index/warehouse/procurement/picking/camera${M.value?"":"target"}.png`},null,8,["src"]),e.createElementVNode("view",{class:"button-font"}," 拣货照片 ")],2),e.createElementVNode("view",{class:e.normalizeClass(1==M.value?"contain-right-button-target":"contain-right-button"),onClick:l[54]||(l[54]=e=>Te(1))},[e.createElementVNode("image",{class:"buttont-img",src:`/static/index/warehouse/procurement/picking/work${1==M.value?"target":""}.png`},null,8,["src"]),e.createElementVNode("view",{class:"button-font"}," 随行单 ")],2),e.createElementVNode("view",{class:e.normalizeClass(Number(null==(s=W.value[G.value])?void 0:s.status)?"contain-right-button-bad":"contain-right-button"),style:{"border-color":"#D9DADC","box-shadow":"0 1rpx 3rpx #D9DADC"},onClick:Ve},[e.createElementVNode("image",{class:"buttont-img",src:`/static/index/warehouse/procurement/picking/bebad${Number(null==(p=W.value[G.value])?void 0:p.status)?"target":""}.png`},null,8,["src"]),e.createElementVNode("view",{class:"button-font"}," 作废 ")],2),e.createElementVNode("view",{class:"contain-right-button",onClick:l[55]||(l[55]=e=>{uni.navigateBack()})},[e.createElementVNode("image",{class:"buttont-img",style:{"margin-top":"4rpx"},src:Ct}),e.createElementVNode("view",{class:"button-font"}," 返回 ")])]),e.createElementVNode("view",{class:"contain-right-middle"},[e.createElementVNode("scroll-view",{"scroll-x":"true",class:"middle-Y","scroll-left":ae.value,"scroll-with-animation":""},[e.createElementVNode("view",{class:"middle-Y-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(re.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"middle-one",key:l,style:e.normalizeStyle({border:U.value===l?"4rpx dashed #1083F8":"4rpx solid transparent",backgroundColor:U.value===l?"#F9FCFF":""}),onClick:e=>ie(l)},[e.createElementVNode("view",{class:e.normalizeClass(t.status<2?"up-tags-target":"up-tags")},e.toDisplayString(t.status_dictText),3),e.createElementVNode("image",{class:"middle-img",src:t.materialImg?n.value+t.materialImg:"/static/index/warehouse/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"middle-right"},[e.createElementVNode("view",{class:"right-title"},e.toDisplayString(t.wlName),1),e.createElementVNode("view",{class:"juzhong"},[e.createElementVNode("view",{class:""},[e.createElementVNode("text",{style:{"font-size":"25rpx","margin-right":"-5rpx","margin-left":"-5rpx"}}," ¥ "),e.createElementVNode("text",{style:e.normalizeStyle([{"font-size":"30rpx"},{fontWeight:U.value!==l?"600":"",color:U.value!==l?"#333333":"#888888"}])},e.toDisplayString(t.arrivalPrice?Number(t.arrivalPrice).toFixed(2):Number(t.procurementPrice).toFixed(2)),5)]),e.createElementVNode("view",{class:"",style:{"font-size":"30rpx",position:"relative"}},[e.createElementVNode("text",{style:e.normalizeStyle([{"font-weight":"600","margin-right":"5rpx"},{fontWeight:U.value===l?"600":"",color:U.value===l?"#333333":"#888888"}])},e.toDisplayString(t.purchaseQuantity),5),e.createElementVNode("text",{style:{"font-size":"26rpx",color:"#888888"}},e.toDisplayString(t.wlUnits),1)])]),e.createElementVNode("view",{class:"right-middle"}),e.createElementVNode("view",{class:"juzhong"},[e.createElementVNode("view",{class:""},[e.createElementVNode("text",{style:{color:"#888888"}}," 入库数量 ")]),e.createElementVNode("view",{class:""},[e.createElementVNode("text",{style:e.normalizeStyle({fontWeight:t.rksl>0?"600":""})},e.toDisplayString(t.rksl),5)])]),e.createElementVNode("view",{class:"juzhong"},[e.createElementVNode("view",{class:""},[e.createElementVNode("text",{style:{color:"#888888"}}," 挂账数量 ")]),e.createElementVNode("view",{class:""},[e.createElementVNode("text",{style:e.normalizeStyle({fontWeight:t.wrksl>0?"600":""})},e.toDisplayString(t.wrksl),5)])]),e.createElementVNode("view",{class:"juzhong"},[e.createElementVNode("view",{class:""},[e.createElementVNode("text",{style:{color:"#888888"}}," 销账数量 ")]),e.createElementVNode("view",{class:""},[e.createElementVNode("text",{style:e.normalizeStyle({fontWeight:t.xzsl>0?"600":""})},e.toDisplayString(t.xzsl),5)])])])],12,["onClick"])))),128))])],8,["scroll-left"]),e.createElementVNode("view",{style:{display:"flex","justify-content":"space-between"}},[e.createElementVNode("view",{style:{display:"flex"}},[e.createElementVNode("view",{class:e.normalizeClass(i.value?"wuliao-title-no":"wuliao-title"),onClick:l[56]||(l[56]=e=>i.value=0)},[e.createTextVNode(" 物料详情 "),e.createElementVNode("view",{class:"wuliao-heng"})],2),e.createElementVNode("view",{class:e.normalizeClass(1==i.value?"wuliao-title":"wuliao-title-no"),style:{"margin-left":"10rpx"},onClick:l[57]||(l[57]=e=>i.value=1)},[e.createTextVNode(" 拣货记录 "),e.createElementVNode("view",{class:"wuliao-heng"})],2)]),e.createElementVNode("view",{style:{display:"flex","margin-top":"10rpx","font-size":"30rpx"}},[e.createElementVNode("view",{style:e.normalizeStyle(et.value),onClick:h},[e.createElementVNode("view",{style:e.normalizeStyle(tt.value)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Ke.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,style:e.normalizeStyle({flex:1,height:"100%",backgroundColor:t})},null,4)))),128))],4),e.createElementVNode("view",{style:e.normalizeStyle(lt.value)},[e.createElementVNode("text",{style:e.normalizeStyle(at.value)},"改价",4)],4)],4),e.createElementVNode("view",{onClick:w,class:e.normalizeClass(0==ee.value.jianhuobtn?"jianhuobutton-gray-bad":"jianhuobutton-gray")}," 拣货 ",2)])]),e.createElementVNode("view",{style:{width:"95%",height:"0.5rpx","background-color":"#eff1f3","margin-left":"5%"}}),e.withDirectives(e.createElementVNode("view",{class:"right-bottom"},[e.createElementVNode("view",{class:"right-bottom-left"},[e.createElementVNode("image",{class:"left-img",src:(null==(f=ee.value)?void 0:f.materialImg)?n.value+(null==(E=ee.value)?void 0:E.materialImg):"/static/index/warehouse/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"left-tags"},[ee.value.categoryId_dictText?(e.openBlock(),e.createElementBlock("view",{key:0,class:"tags-one"},e.toDisplayString(ee.value.categoryId_dictText),1)):e.createCommentVNode("",!0),ee.value.typeId_dictText?(e.openBlock(),e.createElementBlock("view",{key:1,class:"tags-one"},e.toDisplayString(ee.value.typeId_dictText),1)):e.createCommentVNode("",!0),ee.value.medicationId_dictText?(e.openBlock(),e.createElementBlock("view",{key:2,class:"tags-one"},e.toDisplayString(ee.value.medicationId_dictText),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("view",{class:"right-bottom-right"},[e.createElementVNode("view",{class:"bottom-right-title"},[e.createElementVNode("view",{class:"title-left"},e.toDisplayString(ee.value.wlName),1),e.createElementVNode("view",{class:"title-right"},[e.createElementVNode("text",{style:{position:"absolute",top:"8rpx",left:"-35rpx","font-weight":"300","font-size":"28rpx"}}," ¥ "),e.createElementVNode("view",{style:{color:"#555555"}},e.toDisplayString(Number(ee.value.totalPrice).toFixed(2)),1)])]),e.createElementVNode("view",{class:"bottom-right-middle"},[e.createElementVNode("view",{class:"middle-onecard"},[e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 物料编码 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(ee.value.wlMaterialNo),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 规格型号 "),e.createElementVNode("view",{class:"right-text",style:{"white-space":"nowrap"}},e.toDisplayString(ee.value.wlSpecificationModel),1)]),e.createElementVNode("view",{class:"gray-heng"})]),e.createElementVNode("view",{class:"middle-onecard"},[e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 采购单价 "),e.createElementVNode("view",{class:"right-text"}," ¥"+e.toDisplayString(ee.value.arrivalPrice?Number(ee.value.arrivalPrice).toFixed(2):Number(ee.value.procurementPrice).toFixed(2)),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 采购数量 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(ee.value.purchaseQuantity),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 采购单位 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(ee.value.wlUnits),1)]),e.createElementVNode("view",{class:"gray-heng"})]),e.createElementVNode("view",{class:"middle-onecard"},[e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 库存数量 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(ee.value.kcsl),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 物料上限 ↑ "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(ee.value.wlUpperLimit),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 物料下限 ↓ "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(ee.value.wlLowerLimit),1)]),e.createElementVNode("view",{class:"gray-heng"})]),e.createElementVNode("view",{class:"middle-onecard"},[e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 入库数量 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(ee.value.rksl),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 挂账数量 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(ee.value.wrksl),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 销账数量 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(ee.value.xzsl),1)])])])])],512),[[e.vShow,!i.value]]),e.withDirectives(e.createElementVNode("view",{class:"right-bottom",style:{padding:"0 50rpx","flex-direction":"column"}},[e.createElementVNode("view",{style:{width:"100%",display:"flex","justify-content":"space-between","margin-top":"20rpx"}},[e.createElementVNode("view",{style:{"font-size":"35rpx","font-weight":"600","margin-left":"20rpx",color:"#222222"}},e.toDisplayString(ee.value.wlName),1),e.createElementVNode("view",{style:{color:"black"}},[e.createElementVNode("text",{style:{color:"#888888"}}," 采购数量: "),e.createElementVNode("text",{style:{"font-weight":"600",color:"#555555"}},e.toDisplayString(ee.value.purchaseQuantity),1),e.createTextVNode(" "+e.toDisplayString(ee.value.wlUnits),1)])]),e.createElementVNode("scroll-view",{style:{width:"110%",height:"400rpx",display:"flex","flex-wrap":"wrap"},"scroll-y":"true","scroll-with-animation":"",onScrolltolower:l[58]||(l[58]=e=>{"nomore"!=se.value&&(ce.value++,pe())})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(oe.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{style:{display:"inline-block",width:"45%",height:"180rpx","background-color":"#F9F9F9","border-radius":"30rpx","margin-right":"2%","margin-top":"20rpx",padding:"0 30rpx",color:"#888888"},key:l},[e.createElementVNode("view",{style:{width:"100%","justify-content":"space-between",display:"flex","align-items":"center",height:"60rpx","margin-top":"20rpx"}},[e.createElementVNode("view",{class:""},[e.createTextVNode(" 拣货数量: "),e.createElementVNode("text",{style:{"font-weight":"600",color:"#555555"}},e.toDisplayString(t.crkNum),1),e.createElementVNode("text",{style:{color:"#555555"}},e.toDisplayString(ee.value.materialUnits),1)]),e.createElementVNode("view",{style:{width:"110rpx",height:"50rpx","border-radius":"30rpx",display:"flex","justify-content":"center","align-items":"center",border:"1rpx solid #C3C3C3","background-color":"#f1f1f1",color:"#888888","margin-top":"-10rpx"}},e.toDisplayString(t.crkStatus_dictText),1)]),e.createElementVNode("view",{style:{width:"100%","justify-content":"space-between",display:"flex"}},[e.createElementVNode("view",{class:""},[e.createTextVNode(" 采购单价: "),e.createElementVNode("text",{style:{"font-weight":"600",color:"#555555"}}," ¥"+e.toDisplayString(Number(t.oldPrice).toFixed(2)),1)]),e.createElementVNode("view",{class:""},[e.createTextVNode(" 拣货人: "),e.createElementVNode("text",{style:{color:"#888888","font-weight":"600"}},e.toDisplayString(t.createBy),1)])]),e.createElementVNode("view",{style:{width:"100%","justify-content":"space-between",display:"flex","margin-top":"10rpx"}},[e.createElementVNode("view",{class:""},[e.createTextVNode(" 到货单价: "),e.createElementVNode("text",{style:{"font-weight":"600",color:"#555555"}}," ¥"+e.toDisplayString(Number(t.newPrice).toFixed(2)),1)]),e.createElementVNode("view",{class:""},e.toDisplayString(t.createTime),1)])])))),128)),e.createElementVNode("view",{style:{width:"100%",display:"flex","justify-content":"center",color:"#C3C3C3","margin-top":"20rpx"}},["loading"==se.value?(e.openBlock(),e.createElementBlock("image",{key:0,style:{width:"25rpx",height:"25rpx","margin-right":"10rpx","margin-top":"5rpx","margin-left":"-10rpx"},src:Bt})):e.createCommentVNode("",!0),"loading"==se.value?(e.openBlock(),e.createElementBlock("text",{key:1},"上划加载更多")):e.createCommentVNode("",!0),"nomore"==se.value?(e.openBlock(),e.createElementBlock("text",{key:2},"已加载全部~")):e.createCommentVNode("",!0),"loadmore"==se.value?(e.openBlock(),e.createElementBlock("text",{key:3},"加载中~")):e.createCommentVNode("",!0)])],32)],512),[[e.vShow,1==i.value]])])]),e.withDirectives(e.createElementVNode("view",{class:"popup-share",onClick:l[60]||(l[60]=e=>he.value=!1)},[e.createElementVNode("view",{class:"popup-share-content",style:e.normalizeStyle({opacity:ye.value?1:0}),onClick:l[59]||(l[59]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"share-other"},[e.createElementVNode("view",{class:"share-main"},[e.createElementVNode("view",{class:""},[e.createElementVNode("view",{class:"share-weight"},e.toDisplayString(null==(z=W.value[G.value])?void 0:z.cgdNo),1),e.createElementVNode("view",{class:"share-font"}," 供应商:"+e.toDisplayString(null==(I=W.value[G.value])?void 0:I.gysId_dictText),1),e.createElementVNode("view",{class:"share-font"}," 采购时间:"+e.toDisplayString(null==(F=W.value[G.value])?void 0:F.qgDate),1)]),e.createElementVNode("view",{class:"right-flex"},[e.createElementVNode("view",{style:{"font-weight":"600"}},[e.createElementVNode("text",{style:{"vertical-align":"2rpx"}}," ¥ "),e.createElementVNode("text",{class:"dollar-text"},e.toDisplayString(null==(j=W.value[G.value])?void 0:j.totalPrice),1)]),e.createElementVNode("view",{class:"caigou-font"}," 采购金额 ")])]),e.createElementVNode("view",{class:"share-bottom"},[e.createElementVNode("view",{style:{display:"flex","align-items":"center"}},[e.createElementVNode("image",{class:"share-bottom-img",src:Dt}),e.createElementVNode("view",{class:"share-name"},e.toDisplayString(null==(X=W.value[G.value])?void 0:X.createBy_dictText),1),e.createElementVNode("view",{class:"share-font"}," 采购人 ")]),e.createElementVNode("view",{class:"blue-button",onClick:Ne}," 分享 ")])])],4)],512),[[e.vShow,he.value]]),e.createVNode(_t,{show:fe.value,font:"确定要作废这个采购单吗",onBack:l[61]||(l[61]=e=>{fe.value=!1}),onRight:xe},null,8,["show"]),e.createVNode(_t,{show:1==a.value,font:"是否删除此图片",onBack:l[62]||(l[62]=e=>a.value=0),onRight:l[63]||(l[63]=e=>(ze.value.splice(_e.value,1),_e.value=-1,void(a.value=0)))},null,8,["show"]),e.createVNode(_t,{show:2==a.value,font:"是否销账此物料?",onBack:l[64]||(l[64]=e=>a.value=0),onRight:l[65]||(l[65]=e=>Re(1))},null,8,["show"])])}}}),[["__scopeId","data-v-4857ce76"]]),$t=s(e.defineComponent({__name:"finish",setup(t){const a=e.ref(0),i=e.ref(""),r=e.ref(!1),n=e.ref(!1);o((()=>{w(),i.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"}));const c=e.ref(!1),s=e.ref(""),d=e.ref(0),u=e.ref(-1);e.ref(0);const m=e.reactive({pageNo:1,pageSize:10,canpull:!0}),v={pageNo:1,pageSize:10,canpull:!0},p=e.ref(0),g=e.ref([]),w=()=>{ue(m).then((e=>{g.value.push(...e.result.records),e.result.records.length&&(V.cgdId=g.value[0].id,T()),e.result.records.length<m.pageSize&&(m.canpull=!1)}))},h=e.ref(!0),y=()=>{h.value&&(m.pageNo++,N(),h.value=!1,setTimeout((()=>{h.value=!0}),500))},N=()=>{m.canpull&&ue(m).then((e=>{g.value.push(...e.result.records),e.result.records.length<m.pageSize&&(m.canpull=!1)}))},f=e.ref(0),E=e.ref({materialImg:""}),V=e.reactive({nuId:"",pageNo:1,pageSize:9,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",cgdId:"",isWaring:0,canpull:!0}),x={nuId:"",pageNo:1,pageSize:9,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",cgdId:"",isWaring:0},k=["已入库","已入库","已销账","已销账"],b=e=>{d.value=e,E.value=S.value[e],Object.assign(V,x)},S=e.ref([]),T=()=>{me(V).then((e=>{1==e.result.records.length&&(S.value.push(...e.result.records),S.value.push(...e.result.records),S.value.push(...e.result.records),S.value.push(...e.result.records)),S.value.push(...e.result.records),b(0)}))},C=()=>{V.canpull&&(V.pageNo++,me(V).then((e=>{S.value.push(...e.result.records),10!=e.result.records.length&&(V.canpull=!1),l("log","at pages/Warehouse/finish.vue:1203","??????",e.result.records)})))},B=()=>{V.pageNo=1,S.value=[],d.value=0,V.wlParamInfo=s.value,V.cgdId=g.value[f.value].id,T()},D=e.ref(-1),z=e.ref(-1),I=e.ref(!1),F=e.ref(!1),_=()=>{I.value=!0,D.value=-1,F.value=!1,setTimeout((()=>{F.value=!0}),100)},U=()=>{uni.share({provider:"weixin",scene:"WXSceneSession",type:0,href:"https://www.baidu.com/",title:"采购单分享",summary:"采购单",imageUrl:"https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uni@2x.png",success:function(e){l("log","at pages/Warehouse/finish.vue:1254","success:")},fail:function(e){l("log","at pages/Warehouse/finish.vue:1257","fail:")}})},$=e.ref(!1),M=e.ref(!1),L=()=>{$.value=!0,D.value=-1,M.value=!1,setTimeout((()=>M.value=!0),50)},j=()=>{ve({id:g.value[z.value].id}).then((e=>{e.success&&(uni.showToast({title:e.message,icon:"success",duration:2e3}),$.value=!1,S.value=[],g.value=[],Object.assign(m,v),Object.assign(V,x),w())}))},A=e.ref(!1),P=e=>{u.value=e,A.value=!1,setTimeout((()=>{A.value=!0,l("log","at pages/Warehouse/finish.vue:1293","zzz",A.value)}),100)},q=[210,210,210],O=[50,152,255],W=e.ref(0);function R(e,t,l){return Math.round(e+(t-e)*l)}function J(e){return"#"+e.map((e=>e.toString(16).padStart(2,"0"))).join("")}const X=e.computed((()=>{const e=[];for(let t=0;t<8;t++){const l=(W.value+t/8)%1,a=[R(q[0],O[0],l),R(q[1],O[1],l),R(q[2],O[2],l)];e.push(J(a))}return e}));e.computed((()=>({width:"180rpx",height:"70rpx",padding:"2rpx",borderRadius:"40rpx",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"transparent",position:"relative"}))),e.computed((()=>({position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:"40rpx",overflow:"hidden",display:"flex",flexDirection:"row",zIndex:1}))),e.computed((()=>({width:"calc(100% - 4rpx)",height:"calc(100% - 4rpx)",borderRadius:"36rpx",backgroundColor:"#ffffff",display:"flex",alignItems:"center",justifyContent:"center",zIndex:2}))),e.computed((()=>({color:X.value[0]||J(q),fontSize:"30rpx",fontWeight:"500",zIndex:3})));let Q=null;return e.onMounted((()=>{const e=Math.max(1,Math.round(1e3/120));Q=setInterval((()=>{W.value+=1/e,W.value>=1&&(W.value-=1)}),120)})),e.onUnmounted((()=>{Q&&clearInterval(Q)})),(t,i)=>{var o,m,v,w,h;return e.openBlock(),e.createElementBlock("view",{class:"contain"},[e.withDirectives(e.createElementVNode("view",{class:"mengban",onClick:i[0]||(i[0]=e=>{D.value=-1,u.value=-1,n.value=!1,r.value=!1})},null,512),[[e.vShow,-1!=D.value||-1!=u.value||n.value||r.value]]),e.withDirectives(e.createElementVNode("view",{class:"gaijiafather",style:e.normalizeStyle(A.value?{opacity:1}:{opacity:0})},[e.createElementVNode("view",{style:{width:"100%","margin-top":"50rpx","font-size":"30rpx"}},[e.createTextVNode(" 采购单价: "),e.createElementVNode("text",{style:{color:"#888888"}}," ¥1.50 ")]),e.createElementVNode("view",{style:{"margin-top":"150rpx",display:"flex","align-items":"center","flex-direction":"column",width:"50%"}},[e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"10rpx"}}," 到货单价 "),e.createElementVNode("view",{class:"gray-input"}," ¥1500.00 ")]),e.createElementVNode("view",{style:{position:"absolute",right:"30rpx",bottom:"30rpx"}},[e.createElementVNode("view",{style:{display:"flex"}},[e.createElementVNode("view",{style:{width:"160rpx",height:"75rpx","background-color":"#ebeced",color:"#888888",display:"flex","justify-content":"center","align-items":"center","font-size":"30rpx","border-radius":"40rpx"}}," 取消 "),e.createElementVNode("view",{style:{width:"160rpx",height:"75rpx",color:"#0385FA",display:"flex","justify-content":"center","align-items":"center","font-size":"30rpx","border-radius":"40rpx",border:"1rpx solid #0385FA",background:"linear-gradient(to bottom,#E9F4FF,#CAE0F9)",margin:"0 40rpx"}}," 确定 ")])]),e.createElementVNode("view",{class:"jianhuo-jianpan",style:{right:"-40rpx",bottom:"150rpx"}},[e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan"}," 1 "),e.createElementVNode("view",{class:"gray-button-jianpan"}," 2 "),e.createElementVNode("view",{class:"gray-button-jianpan"}," 3 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan"}," 4 "),e.createElementVNode("view",{class:"gray-button-jianpan"}," 5 "),e.createElementVNode("view",{class:"gray-button-jianpan"}," 6 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan"}," 7 "),e.createElementVNode("view",{class:"gray-button-jianpan"}," 8 "),e.createElementVNode("view",{class:"gray-button-jianpan"}," 9 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan"}," AC "),e.createElementVNode("view",{class:"gray-button-jianpan"}," 0 "),e.createElementVNode("view",{class:"gray-button-jianpan"}," . ")])])],4),[[e.vShow,r.value]]),e.withDirectives(e.createElementVNode("view",{class:"jianhuofather",style:e.normalizeStyle(A.value?{opacity:1}:{opacity:0})},[e.createElementVNode("view",{style:{margin:"40rpx 0",width:"100%","text-align":"center","font-size":"35rpx","font-weight":"600"}}," 留置针敷贴(医用透明敷料) "),e.createElementVNode("view",{style:{display:"flex","justify-content":"space-between",width:"100%"}},[e.createElementVNode("view",{style:{"font-weight":"600","font-size":"30rpx"}}," 物料信息 "),e.createElementVNode("view",{style:{"font-weight":"600","font-size":"35rpx"}}," ¥10.12 ")]),e.createElementVNode("view",{style:{display:"flex","margin-top":"10rpx"}},[e.createElementVNode("view",{class:"",style:{width:"30%"}},[e.createElementVNode("view",{style:{color:"#888888","margin-top":"10rpx"}}," 物料编码 "),e.createElementVNode("view",{class:"",style:{"margin-top":"5rpx"}}," FLYP001 ")]),e.createElementVNode("view",{class:"",style:{width:"30%"}},[e.createElementVNode("view",{style:{color:"#888888","margin-top":"10rpx"}}," 规格型号 "),e.createElementVNode("view",{class:"",style:{"margin-top":"5rpx"}}," 800mm*680mm ")])]),e.createElementVNode("view",{style:{display:"flex","margin-top":"20rpx"}},[e.createElementVNode("view",{class:"",style:{width:"30%"}},[e.createElementVNode("view",{style:{color:"#888888","margin-top":"10rpx"}}," 采购单价 "),e.createElementVNode("view",{class:"",style:{"margin-top":"5rpx","font-weight":"600"}}," ¥0.1 ")]),e.createElementVNode("view",{class:"",style:{width:"30%"}},[e.createElementVNode("view",{style:{color:"#888888","margin-top":"10rpx"}}," 采购数量 "),e.createElementVNode("view",{class:"",style:{"margin-top":"5rpx","font-weight":"600"}}," 30 ")]),e.createElementVNode("view",{class:"",style:{width:"30%"}},[e.createElementVNode("view",{style:{color:"#888888","margin-top":"10rpx"}}," 采购单位 "),e.createElementVNode("view",{class:"",style:{"margin-top":"5rpx"}}," 个 ")])]),e.createElementVNode("view",{style:{width:"95%",height:"0.5rpx","background-color":"#eff1f3","margin-top":"10rpx","margin-bottom":"5rpx"}}),e.createElementVNode("view",{style:{}},[e.createElementVNode("view",{style:{"font-weight":"600","font-size":"30rpx"}}," 入库信息 ")]),e.createElementVNode("view",{style:{display:"flex","margin-top":"10rpx"}},[e.createElementVNode("view",{class:"",style:{width:"30%"}},[e.createElementVNode("view",{style:{color:"#888888","margin-top":"10rpx"}}," 入库数量 "),e.createElementVNode("view",{class:"",style:{"margin-top":"5rpx"}}," 0 ")]),e.createElementVNode("view",{class:"",style:{width:"30%"}},[e.createElementVNode("view",{style:{color:"#888888","margin-top":"10rpx"}}," 挂账数量 "),e.createElementVNode("view",{class:"",style:{"margin-top":"5rpx"}}," 0 ")]),e.createElementVNode("view",{class:"",style:{width:"30%"}},[e.createElementVNode("view",{style:{color:"#888888","margin-top":"10rpx"}}," 销账数量 "),e.createElementVNode("view",{class:"",style:{"margin-top":"5rpx"}}," 0 ")])]),e.createElementVNode("view",{style:{width:"95%",height:"0.5rpx","background-color":"#eff1f3","margin-top":"10rpx","margin-bottom":"5rpx"}}),e.createElementVNode("view",{style:{}},[e.createElementVNode("view",{style:{"font-weight":"600","font-size":"30rpx"}}," 拣货拍照 ")]),e.createElementVNode("view",{style:{display:"flex","flex-wrap":"wrap",width:"60%"}},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,1,1],((t,l)=>e.createElementVNode("view",{style:{width:"40%",height:"150rpx","margin-right":"4%","margin-top":"3%","background-color":"#F9F9F9",display:"flex","justify-content":"center","align-items":"center"},key:l},[e.createElementVNode("image",{style:{width:"60%",height:"60%"},src:"/static/zhanwei.png"})]))),64)),e.createElementVNode("view",{style:{width:"40%",height:"150rpx","margin-right":"4%","margin-top":"3%"}},[e.createElementVNode("view",{style:{width:"100%",height:"100%",display:"flex","flex-direction":"column","justify-content":"center","align-items":"center","background-color":"#fafdff",border:"1rpx solid #78B1EB","border-radius":"20rpx"}},[e.createElementVNode("image",{style:{width:"50rpx",height:"50rpx","margin-bottom":"5rpx"},src:kt}),e.createElementVNode("view",{style:{color:"#78B1EB","font-size":"25rpx"}}," 点击拍照上传 ")])]),e.createElementVNode("view",{style:{width:"95%",height:"0.5rpx","background-color":"#eff1f3","margin-top":"10rpx","margin-bottom":"5rpx"}})]),e.createElementVNode("view",{style:{}},[e.createElementVNode("view",{style:{"font-weight":"600","font-size":"30rpx"}}," 数量 ")]),e.createElementVNode("view",{style:{display:"flex","margin-top":"30rpx","margin-left":"20rpx"}},[e.createElementVNode("view",{class:"gray-button"}," - "),e.createElementVNode("view",{class:"gray-input"}," 1500 "),e.createElementVNode("view",{class:"gray-button"}," + ")]),e.createElementVNode("view",{class:"jianhuobutton"},[e.createElementVNode("view",{style:{display:"flex"}},[e.createElementVNode("view",{style:{width:"160rpx",height:"75rpx","background-color":"#ebeced",color:"#888888",display:"flex","justify-content":"center","align-items":"center","font-size":"30rpx","border-radius":"40rpx"}}," 关闭 "),e.createElementVNode("view",{style:{width:"160rpx",height:"75rpx",color:"#0385FA",display:"flex","justify-content":"center","align-items":"center","font-size":"30rpx","border-radius":"40rpx",border:"1rpx solid #0385FA",background:"linear-gradient(to bottom,#E9F4FF,#CAE0F9)",margin:"0 20rpx"}}," 销账 "),e.createElementVNode("view",{style:{width:"160rpx",height:"75rpx",color:"#0385FA",display:"flex","justify-content":"center","align-items":"center","font-size":"30rpx","border-radius":"40rpx",border:"1rpx solid #0385FA",background:"linear-gradient(to bottom,#E9F4FF,#CAE0F9)"}}," 入库 ")])]),e.createElementVNode("view",{class:"jianhuo-jianpan"},[e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan"}," 1 "),e.createElementVNode("view",{class:"gray-button-jianpan"}," 2 "),e.createElementVNode("view",{class:"gray-button-jianpan"}," 3 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan"}," 4 "),e.createElementVNode("view",{class:"gray-button-jianpan"}," 5 "),e.createElementVNode("view",{class:"gray-button-jianpan"}," 6 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan"}," 7 "),e.createElementVNode("view",{class:"gray-button-jianpan"}," 8 "),e.createElementVNode("view",{class:"gray-button-jianpan"}," 9 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan"}," AC "),e.createElementVNode("view",{class:"gray-button-jianpan"}," 0 "),e.createElementVNode("view",{class:"gray-button-jianpan"}," . ")])])],4),[[e.vShow,n.value]]),e.withDirectives(e.createElementVNode("view",{class:"photowall",style:e.normalizeStyle(A.value?{opacity:1}:{opacity:0})},[e.createElementVNode("view",{class:"photowall-title"},[e.createElementVNode("view",{class:"photowall-name"},e.toDisplayString(u.value?"随行单":"拣货照片"),1),e.createElementVNode("view",{class:""},[e.createElementVNode("text",{class:"photowall-left"}," 采购单号: "),e.createElementVNode("text",{class:"photowall-right"}," 10120251024012 ")])]),e.createElementVNode("view",{class:"photowall-other"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,1,1,1,1],((t,l)=>e.createElementVNode("view",{class:"photowall-other-one",key:l},[e.createElementVNode("image",{style:{width:"100%",height:"70%"},src:"/static/ceshiyaoshan.png"}),e.createElementVNode("view",{style:{"margin-top":"20rpx"}},[e.createElementVNode("text",{style:{color:"#888888"}}," 上传时间: "),e.createElementVNode("text",{style:{"margin-left":"15rpx"}}," 2025.10.11 10:12:56 ")]),e.createElementVNode("view",{style:{"margin-top":"10rpx"}},[e.createElementVNode("text",{style:{color:"#888888","letter-spacing":"8.9rpx"}}," 上传人: "),e.createElementVNode("text",null," 赵晓璇 ")])]))),64))])],4),[[e.vShow,-1!=u.value]]),e.createElementVNode("view",{class:"contain-left"},[e.withDirectives(e.createElementVNode("view",{class:"left-select-more"},[e.createElementVNode("view",{class:"more-bottom"},[e.createElementVNode("view",{class:"bottom-left"}," 重置 "),e.createElementVNode("view",{class:"bottom-right"},[e.createTextVNode(" 确定 "),e.createElementVNode("text",{style:{"font-size":"25rpx","margin-top":"5rpx"}}," (10+采购单) ")])]),e.createElementVNode("view",{class:"more-title"}," 采购日期 "),e.createElementVNode("view",{class:"more-time-select"},[e.createElementVNode("view",{class:"more-gray"}," 开始日期 "),e.createElementVNode("view",{style:{"font-size":"32rpx"}}," 至 "),e.createElementVNode("view",{class:"more-gray"}," 结束日期 "),e.createElementVNode("image",{class:"more-img",src:bt})]),e.createElementVNode("view",{class:"more-select"}," 采购人 "),e.createElementVNode("view",{class:"more-time-select"},[e.createElementVNode("view",{class:"more-gray",style:{"margin-left":"30rpx"}}," 请输入采购人 "),e.createElementVNode("image",{class:"select-img",src:St})]),e.createElementVNode("view",{class:"more-select"}," 供应商 "),e.createElementVNode("view",{class:"more-time-select"},[e.createElementVNode("view",{class:"more-gray",style:{"margin-left":"30rpx"}}," 请输入供应商 "),e.createElementVNode("image",{class:"select-img",src:St})])],512),[[e.vShow,c.value]]),e.createElementVNode("view",{class:"title-input-father"},[e.withDirectives(e.createElementVNode("input",{class:"title-input",type:"text","onUpdate:modelValue":i[1]||(i[1]=e=>s.value=e),maxlength:"15",placeholder:"采购单号/采购日期/供应商",onConfirm:i[2]||(i[2]=e=>B())},null,544),[[e.vModelText,s.value]]),e.withDirectives(e.createElementVNode("image",{class:"title-input-img",src:Y,onClick:i[3]||(i[3]=e=>{s.value="",B()})},null,512),[[e.vShow,s.value]]),e.createElementVNode("view",{class:"title-input-button",onClick:i[4]||(i[4]=e=>B())}," 检索 "),e.createElementVNode("view",{class:"filter"},[e.createElementVNode("image",{class:"filter-img",src:`/static/index/purchaseorder/select${c.value?"target":""}.png`},null,8,["src"]),e.createElementVNode("view",{class:e.normalizeClass(c.value?"filter-font-target":"filter-font"),onClick:i[5]||(i[5]=e=>c.value=!c.value)}," 筛选 ",2)])]),e.createElementVNode("view",{class:"left-menu-father"},[e.createElementVNode("scroll-view",{"scroll-y":"true","scroll-with-animation":"",class:"left-menu-scroll","scroll-top":p.value,onScrolltolower:y,"lower-threshold":400},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,1,1],((t,a)=>e.createElementVNode("view",{class:"pls-card",key:a,onClick:e=>(e=>{let t=Math.ceil(e+1);p.value=186*(t-2),f.value=e,V.cgdId=g.value[e].id,V.pageNo=1,V.canpull=!0,me(V).then((e=>{S.value=[],l("log","at pages/Warehouse/finish.vue:1131","数据呢",e.result.records),1==e.result.records.length&&(S.value.push(...e.result.records),S.value.push(...e.result.records),S.value.push(...e.result.records),S.value.push(...e.result.records)),S.value.push(...e.result.records),V.pageNo&&b(0)}))})(a),style:e.normalizeStyle({borderColor:a==f.value?"":"#fff"})},[D.value==a?(e.openBlock(),e.createElementBlock("view",{key:0,class:"more-father"},[e.createElementVNode("view",{class:"more-one",onClick:_}," 分享 "),e.createElementVNode("view",{class:"more-one",onClick:L}," 作废 ")])):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"pls-card-title"},[e.createElementVNode("view",{class:"title-left"}," 10120251023012 "),e.createElementVNode("view",{class:"title-right"},[e.createElementVNode("text",{style:{position:"absolute",bottom:"4rpx",left:"-30rpx"}}," ¥ "),e.createElementVNode("view",{class:"title-right-big"}," 800.55 ")])]),e.createElementVNode("view",{class:"pls-card-middle"},[e.createElementVNode("view",{class:"pls-card-middle-one"},[e.createElementVNode("view",{class:"middle-title"}," 2025.10.03 "),e.createElementVNode("view",{class:"middle-heng-father"},[e.createElementVNode("view",{class:"middle-heng",style:{"border-top-left-radius":"20rpx","border-bottom-left-radius":"20rpx"}}),e.createElementVNode("view",{class:"middle-heng",style:{"border-radius":"20rpx","background-color":"#1083F8"}}),e.createElementVNode("view",{class:"middle-ball",style:{backgroundColor:"#1083F8"}})]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",{class:"",style:{color:"#1083F8"}}," 采购 "),e.createElementVNode("view",{style:{"font-size":"25rpx"}}," [ 梁嘉豪 ] ")])]),e.createElementVNode("view",{class:"pls-card-middle-one"},[e.createElementVNode("view",{class:"middle-title"}," 2025.10.04 "),e.createElementVNode("view",{class:"middle-heng-father"},[e.createElementVNode("view",{class:"middle-heng"}),e.createElementVNode("view",{class:"middle-heng",style:{"border-radius":"20rpx","background-color":"#1083F8",width:"105%","margin-left":"-5%"}}),e.createElementVNode("view",{class:"middle-ball",style:{backgroundColor:"#1083F8"}})]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",{class:"",style:{color:"#1083F8"}}," 拣货 "),e.createElementVNode("view",{style:{"font-size":"25rpx"}}," [ 梁嘉豪 ] ")])]),e.createElementVNode("view",{class:"pls-card-middle-one"},[e.createElementVNode("view",{class:"middle-title"}," 2025.10.06 "),e.createElementVNode("view",{class:"middle-heng-father"},[e.createElementVNode("view",{class:"middle-heng",style:{"border-top-right-radius":"20rpx","border-bottom-right-radius":"20rpx"}}),e.createElementVNode("view",{class:"middle-heng",style:{"border-radius":"20rpx","background-color":"#1083F8",width:"105%","margin-left":"-5%"}}),e.createElementVNode("view",{class:"middle-ball",style:{backgroundColor:"#1083F8"}})]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",{class:"",style:{color:"#1083F8"}}," 完结 "),e.createElementVNode("view",{style:{"font-size":"25rpx"}}," [ 梁嘉豪 ] ")])])]),e.createElementVNode("view",{class:"pls-card-end"},[e.createElementVNode("view",{class:"end-left"},[e.createElementVNode("image",{class:"end-left-img",src:Tt}),e.createElementVNode("view",{class:"end-left-font"}," 长春市天林商贸有限公司 ")]),e.createElementVNode("view",{class:"tag-success"}," 已完结 ")])],12,["onClick"]))),64))],40,["scroll-top"])])]),e.createElementVNode("view",{class:"white-zhezhao"}),e.createElementVNode("view",{class:"contain-right"},[e.createElementVNode("view",{class:"contain-right-title"},[e.createElementVNode("view",{class:"left-top-tags"},[e.createElementVNode("view",{class:"wuliao-title"}," 物料信息 ")]),e.createElementVNode("view",{class:e.normalizeClass(u.value?"contain-right-button":"contain-right-button-target"),style:{"border-color":"#D9DADC","box-shadow":"0 1rpx 3rpx #D9DADC"},onClick:i[6]||(i[6]=e=>P(0))},[e.createElementVNode("image",{class:"buttont-img",src:`/static/index/warehouse/procurement/picking/camera${u.value?"":"target"}.png`},null,8,["src"]),e.createElementVNode("view",{class:"button-font"}," 拣货照片 ")],2),e.createElementVNode("view",{class:e.normalizeClass(1==u.value?"contain-right-button-target":"contain-right-button"),style:{"border-color":"#D9DADC","box-shadow":"0 1rpx 3rpx #D9DADC"},onClick:i[7]||(i[7]=e=>P(1))},[e.createElementVNode("image",{class:"buttont-img",src:`/static/index/warehouse/procurement/picking/work${1==u.value?"target":""}.png`},null,8,["src"]),e.createElementVNode("view",{class:"button-font"}," 随行单 ")],2),e.createElementVNode("view",{class:"contain-right-button",onClick:i[8]||(i[8]=e=>{uni.navigateBack()})},[e.createElementVNode("image",{class:"buttont-img",style:{"margin-top":"4rpx"},src:Ct}),e.createElementVNode("view",{class:"button-font"}," 返回 ")])]),e.createElementVNode("view",{class:"contain-right-middle"},[e.createElementVNode("scroll-view",{"scroll-x":"true",class:"middle-Y",onScrolltolower:C},[e.createElementVNode("view",{class:"middle-Y-father"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,1,1,1],((t,l)=>e.createElementVNode("view",{class:"middle-one",key:l,style:e.normalizeStyle({border:d.value===l?"4rpx solid #1083F8":"4rpx solid transparent"}),onClick:e=>b(l)},[e.createElementVNode("view",{class:"up-tags"},e.toDisplayString(k[l]),1),e.createElementVNode("image",{class:"middle-img",src:"/static/zhiniaoku.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"middle-right"},[e.createElementVNode("view",{class:"right-title"},e.toDisplayString(0==l||1==l?"纸尿裤-拉拉裤":"纸尿裤"),1),e.createElementVNode("view",{class:"juzhong"},[e.createElementVNode("view",{class:""},[e.createElementVNode("text",{style:{"font-size":"25rpx","margin-right":"-5rpx","margin-left":"-5rpx"}}," ¥ "),e.createElementVNode("text",{style:e.normalizeStyle([{"font-size":"30rpx"},{fontWeight:d.value!==l?"600":""}])},e.toDisplayString(0==l||1==l?"86.16":"189.55"),5)]),e.createElementVNode("view",{class:"",style:{"font-size":"30rpx",position:"relative"}},[e.createElementVNode("text",{style:e.normalizeStyle([{"font-weight":"600","margin-right":"14rpx"},{fontWeight:d.value===l?"600":"",color:d.value===l?"":"#888888"}])}," 20 ",4),e.createElementVNode("text",{style:{position:"absolute",right:"-10rpx","font-size":"26rpx",bottom:"2rpx",color:"#888888"}}," 片 ")])]),e.createElementVNode("view",{class:"right-middle"}," 800mm*680mm "),e.createElementVNode("view",{class:"juzhong"},[e.createElementVNode("view",{class:""},[e.createElementVNode("text",{style:{color:"#888888"}}," 入库数量 ")]),e.createElementVNode("view",{class:""},[e.createElementVNode("text",{style:{fontWeight:"600"}},e.toDisplayString(0==l||1==l?10:5),1)])]),e.createElementVNode("view",{class:"juzhong"},[e.createElementVNode("view",{class:""},[e.createElementVNode("text",{style:{color:"#888888"}}," 挂账数量 ")]),e.createElementVNode("view",{class:""},[e.createElementVNode("text",{style:{}}," 0 ")])]),e.createElementVNode("view",{class:"juzhong"},[e.createElementVNode("view",{class:""},[e.createElementVNode("text",{style:{color:"#888888"}}," 销账数量 ")]),e.createElementVNode("view",{class:""},[e.createElementVNode("text",{style:e.normalizeStyle({fontWeight:l>1?"600":""})},e.toDisplayString(0==l||1==l?0:5),5)])])])],12,["onClick"]))),64))])],32),e.createElementVNode("view",{style:{display:"flex","justify-content":"space-between"}},[e.createElementVNode("view",{style:{display:"flex"}},[e.createElementVNode("view",{class:e.normalizeClass(a.value?"wuliao-title-no":"wuliao-title"),onClick:i[9]||(i[9]=e=>a.value=0)},[e.createTextVNode(" 物料详情 "),e.createElementVNode("view",{class:"wuliao-heng"})],2),e.createElementVNode("view",{class:e.normalizeClass(1==a.value?"wuliao-title":"wuliao-title-no"),style:{"margin-left":"10rpx"},onClick:i[10]||(i[10]=e=>a.value=1)},[e.createTextVNode(" 拣货记录 "),e.createElementVNode("view",{class:"wuliao-heng"})],2)])]),e.createElementVNode("view",{style:{width:"95%",height:"0.5rpx","background-color":"#eff1f3","margin-left":"5%"}}),e.withDirectives(e.createElementVNode("view",{class:"right-bottom"},[e.createElementVNode("view",{class:"right-bottom-left"},[e.createElementVNode("image",{class:"left-img",src:"/static/zhiniaoku.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"left-tags"},[e.createElementVNode("view",{class:"tags-one"}," 耗材用品 "),e.createElementVNode("view",{class:"tags-one"}," 复健用品 "),e.createElementVNode("view",{class:"tags-one"}," 支架 ")])]),e.createElementVNode("view",{class:"right-bottom-right"},[e.createElementVNode("view",{class:"bottom-right-title"},[e.createElementVNode("view",{class:"title-left"}," 纸尿裤-拉拉裤纸尿裤 "),e.createElementVNode("view",{class:"title-right"},[e.createElementVNode("text",{style:{position:"absolute",top:"8rpx",left:"-35rpx","font-weight":"300","font-size":"28rpx"}}," ¥ "),e.createTextVNode(" 100.55 ")])]),e.createElementVNode("view",{class:"bottom-right-middle"},[e.createElementVNode("view",{class:"middle-onecard"},[e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 物料编码 "),e.createElementVNode("view",{class:"right-text"}," ZHYP044 ")]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 规格型号 "),e.createElementVNode("view",{class:"right-text"}," 800mm*680mm ")]),e.createElementVNode("view",{class:"gray-heng"})]),e.createElementVNode("view",{class:"middle-onecard"},[e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 采购单价 "),e.createElementVNode("view",{class:"right-text"}," ¥15 ")]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 采购数量 "),e.createElementVNode("view",{class:"right-text"}," 200 ")]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 采购单位 "),e.createElementVNode("view",{class:"right-text"}," 片 ")]),e.createElementVNode("view",{class:"gray-heng"})]),e.createElementVNode("view",{class:"middle-onecard"},[e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 库存数量 "),e.createElementVNode("view",{class:"right-text"}," 853 ")]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 物料上限 ↑ "),e.createElementVNode("view",{class:"right-text"}," 4000 ")]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 物料下限 ↓ "),e.createElementVNode("view",{class:"right-text"}," 60 ")]),e.createElementVNode("view",{class:"gray-heng"})]),e.createElementVNode("view",{class:"middle-onecard"},[e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 入库数量 "),e.createElementVNode("view",{class:"right-text"}," 200 ")]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 挂账数量 "),e.createElementVNode("view",{class:"right-text"}," 0 ")]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 销账数量 "),e.createElementVNode("view",{class:"right-text"}," 0 ")])])])])],512),[[e.vShow,!a.value]]),e.createElementVNode("view",{style:{width:"100%",display:"flex","justify-content":"space-between","margin-top":"20rpx"}},[e.createElementVNode("view",{style:{"font-size":"35rpx","font-weight":"600","margin-left":"20rpx"}}," 留置针敷贴(医用... "),e.createElementVNode("view",{style:{color:"black"}},[e.createElementVNode("text",{style:{color:"#888888"}}," 采购数量: "),e.createElementVNode("text",{style:{"font-weight":"600"}}," 100 "),e.createTextVNode(" 片 ")])]),e.createElementVNode("view",{style:{width:"110%",height:"400rpx",display:"flex","flex-wrap":"wrap"}},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList([1,1,1,1],((t,l)=>e.createElementVNode("view",{style:{width:"45%",height:"180rpx","background-color":"#F9F9F9","border-radius":"30rpx","margin-right":"2%","margin-top":"20rpx",padding:"0 30rpx",color:"#888888"},key:l},[e.createElementVNode("view",{style:{width:"100%","justify-content":"space-between",display:"flex","align-items":"center",height:"60rpx","margin-top":"20rpx"}},[e.createElementVNode("view",{class:""},[e.createTextVNode(" 拣货数量: "),e.createElementVNode("text",{style:{"font-weight":"600",color:"black"}}," 20 "),e.createElementVNode("text",{style:{color:"black"}}," 片 ")]),e.createElementVNode("view",{style:{width:"110rpx",height:"50rpx","border-radius":"30rpx",display:"flex","justify-content":"center","align-items":"center",border:"1rpx solid #C3C3C3","background-color":"#f1f1f1",color:"#888888","margin-top":"-10rpx"}},e.toDisplayString(l?"销账":"入库"),1)]),e.createElementVNode("view",{style:{width:"100%","justify-content":"space-between",display:"flex"}},[e.createElementVNode("view",{class:""},[e.createTextVNode(" 采购单价: "),e.createElementVNode("text",{style:{"font-weight":"600",color:"black"}}," ¥1.50 ")]),e.createElementVNode("view",{class:""},[e.createTextVNode(" 拣货人: "),e.createElementVNode("text",{style:{color:"black"}}," 梁嘉豪 ")])]),e.createElementVNode("view",{style:{width:"100%","justify-content":"space-between",display:"flex","margin-top":"10rpx"}},[e.createElementVNode("view",{class:""},[e.createTextVNode(" 到货单价: "),e.createElementVNode("text",{style:{"font-weight":"600",color:"black"}}," ¥1.50 ")]),e.createElementVNode("view",{class:""}," 2025.10.03 10:10:30 ")])]))),64)),e.createElementVNode("view",{style:{width:"100%",display:"flex","justify-content":"center",color:"#C3C3C3","margin-top":"20rpx"}},[e.createElementVNode("image",{style:{width:"25rpx",height:"25rpx","margin-right":"10rpx","margin-top":"5rpx","margin-left":"-10rpx"},src:Bt}),e.createTextVNode(" 点击加载更多 ")])])])]),e.withDirectives(e.createElementVNode("view",{class:"popup-share",onClick:i[12]||(i[12]=e=>I.value=!1)},[e.createElementVNode("view",{class:"popup-share-content",style:e.normalizeStyle({opacity:F.value?1:0}),onClick:i[11]||(i[11]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"share-other"},[e.createElementVNode("view",{class:"share-main"},[e.createElementVNode("view",{class:""},[e.createElementVNode("view",{class:"share-weight"},e.toDisplayString(null==(o=g.value[f.value])?void 0:o.cgdNo),1),e.createElementVNode("view",{class:"share-font"}," 供应商:"+e.toDisplayString(null==(m=g.value[f.value])?void 0:m.gysId_dictText),1),e.createElementVNode("view",{class:"share-font"}," 采购时间:"+e.toDisplayString(null==(v=g.value[f.value])?void 0:v.qgDate),1)]),e.createElementVNode("view",{class:"right-flex"},[e.createElementVNode("view",{style:{"font-weight":"600"}},[e.createElementVNode("text",{style:{"vertical-align":"2rpx"}}," ¥ "),e.createElementVNode("text",{class:"dollar-text"},e.toDisplayString(null==(w=g.value[f.value])?void 0:w.totalPrice),1)]),e.createElementVNode("view",{class:"caigou-font"}," 采购金额 ")])]),e.createElementVNode("view",{class:"share-bottom"},[e.createElementVNode("view",{style:{display:"flex","align-items":"center"}},[e.createElementVNode("image",{class:"share-bottom-img",src:Dt}),e.createElementVNode("view",{class:"share-name"},e.toDisplayString(null==(h=g.value[f.value])?void 0:h.createBy_dictText),1),e.createElementVNode("view",{class:"share-font"}," 采购人 ")]),e.createElementVNode("view",{class:"blue-button",onClick:U}," 分享 ")])])],4)],512),[[e.vShow,I.value]]),e.withDirectives(e.createElementVNode("view",{class:e.normalizeClass(["neuro-wrapper",M.value?"is-active":""])},[e.createElementVNode("view",{class:"neuro-mask",onClick:i[13]||(i[13]=e=>{$.value=!1})}),e.createElementVNode("view",{class:"neuro-box",onClick:i[15]||(i[15]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"button-father"},[e.createElementVNode("view",{class:"button-white",onClick:i[14]||(i[14]=e=>{$.value=!1})},"取消"),e.createElementVNode("view",{class:"button",onClick:j},"确定")]),e.createElementVNode("view",{class:"title"},"作废"),e.createElementVNode("view",{class:"card-font"}," 确定要作废这个采购单吗 ")])],2),[[e.vShow,$.value]])])}}}),[["__scopeId","data-v-7e7bae10"]]),Mt=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryInvoicingList`,method:"get",data:e}),Lt=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getMaterialTreeData?nuId=`+e.nuId,method:"get",data:e}),jt=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getGwcMaterialTreeData?nuId=`+e.nuId,method:"get",data:e}),At=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getCgdMaterialTreeData?nuId=`+e.nuId,method:"get",data:e}),Pt=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryCgdList`,method:"get",data:e}),qt=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryShoppingCartList`,method:"get",data:e}),Ot=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getTreeDataWlnum`,method:"get",data:e}),Wt=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getGwcTreeDataWlnum`,method:"get",data:e}),Yt=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getCgdTreeDataWlnum`,method:"get",data:e}),Rt=s(e.defineComponent({__name:"cgdclass",props:{show:{type:Boolean,default:!1,required:!0},typenum:{type:Number,default:0},cgdId:{type:String,default:""}},emits:["confirm"],setup(t,{emit:a}){const i=e.reactive({scrolltop1:0,scrolltop2:0,scrolltop3:0,act1:-1,act2:-1,act3:-1}),r=e.ref([]);e.ref([]),e.ref(-1);const n=e.ref(""),o=e.ref(!1),c=a,s=(e,t,l)=>{if(1==e&&(i.act2=-1,i.act3=-1,i.scrolltop2=0,i.scrolltop3=0,i.act1==t))return i.act1=-1,void u();2==e&&(i.act3=-1,i.scrolltop3=0),i["act"+e]=t,i["scrolltop"+e]=50*(t-2),u()};e.onMounted((()=>{n.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"}));const d=e.ref(0),u=()=>{let e={nuId:uni.getStorageSync("nuId"),categoryId:i.act1>-1?r.value[i.act1].categoryId:"",typeId:i.act2>-1?r.value[i.act1].children[i.act2].typeId:"",medicationId:i.act3>-1?r.value[i.act1].children[i.act2].children[i.act3].key:"",cgdId:v.cgdId};switch(v.typenum){case 0:Ot(e).then((e=>{d.value=e.result.totalSize}));break;case 1:Wt(e).then((e=>{d.value=e.result.totalSize}));break;case 2:l("log","at pages/procurement/components/cgdclass.vue:107",e),Yt(e).then((e=>{d.value=e.result.totalSize}))}},m=()=>{let e={categoryId:i.act1>-1?r.value[i.act1].categoryId:"",typeId:i.act2>-1?r.value[i.act1].children[i.act2].typeId:"",medicationId:i.act3>-1?r.value[i.act1].children[i.act2].children[i.act3].key:"",cgdId:v.cgdId};c("confirm",e)},v=t;return e.watch((()=>v.show),(()=>{0==v.show?(o.value=!1,s(1,-1)):(()=>{switch(v.typenum){case 0:Lt({nuId:uni.getStorageSync("nuId")}).then((e=>{r.value=e.result,u()}));break;case 1:jt({nuId:uni.getStorageSync("nuId")}).then((e=>{r.value=e.result,u()}));break;case 2:l("log","at pages/procurement/components/cgdclass.vue:136",{nuId:uni.getStorageSync("nuId"),cgdId:v.cgdId}),At({nuId:uni.getStorageSync("nuId"),cgdId:v.cgdId}).then((e=>{l("log","at pages/procurement/components/cgdclass.vue:138",e.result),r.value=e.result,u()}))}})()})),(l,a)=>{var o,c,u;return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:e.normalizeClass(["ifclass guodu",t.show?"":"unclass"])},[e.createElementVNode("view",{class:"titletop"},"物料分类"),e.createElementVNode("view",{class:"toptype"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(["一","二","三"],(t=>e.createElementVNode("view",null,e.toDisplayString(t+"级分类"),1))),64))]),e.createElementVNode("view",{class:"scroltype"},[e.createElementVNode("scroll-view",{"scroll-y":"true","scroll-with-animation":"","scroll-top":i.scrolltop1,class:"scroll-Y scrl1"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(i.act1==l?"act":""),onClick:e=>s(1,l)},[i.act1==l?(e.openBlock(),e.createElementBlock("image",{key:0,src:n.value+t.appCheckIconPath,mode:"aspectFill"},null,8,["src"])):(e.openBlock(),e.createElementBlock("image",{key:1,src:n.value+t.appIconPath,mode:"aspectFill"},null,8,["src"])),e.createElementVNode("text",null,e.toDisplayString(t.title),1)],10,["onClick"])))),256))],8,["scroll-top"]),e.createElementVNode("scroll-view",{"scroll-y":"true","scroll-with-animation":"","scroll-top":i.scrolltop2,class:"scroll-Y scrl2"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(null==(o=r.value[i.act1])?void 0:o.children,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(i.act2==l?"act":""),onClick:e=>s(2,l)},e.toDisplayString(t.title),11,["onClick"])))),256))],8,["scroll-top"]),e.createElementVNode("scroll-view",{"scroll-y":"true","scroll-with-animation":"","scroll-top":i.scrolltop3,class:"scroll-Y scrl3"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(null==(u=null==(c=r.value[i.act1])?void 0:c.children[i.act2])?void 0:u.children,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(i.act3==l?"act":""),onClick:e=>s(3,l)},e.toDisplayString(t.title),11,["onClick"])))),256))],8,["scroll-top"])]),e.createElementVNode("view",{class:"btnbotm"},[e.createElementVNode("view",{class:"bt",onClick:a[0]||(a[0]=e=>s(1,-1))},"重置"),e.createElementVNode("view",{class:"bt qd",onClick:m},[e.createTextVNode("确定 "),d.value>0?(e.openBlock(),e.createElementBlock("text",{key:0},"("+e.toDisplayString(d.value>99?"99+":d.value)+"件物料)",1)):e.createCommentVNode("",!0)])])],2)])}}}),[["__scopeId","data-v-1576596f"]]),Jt=s(e.defineComponent({__name:"purchaseorder",setup(t){const a=e.ref(!1),i=e.ref("");o((()=>{v(),i.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"}));const r=["待入库","待完结","已完结"];e.ref("");const n=e.ref(0),c=e.reactive({nuId:uni.getStorageSync("nuId"),pageNo:1,pageSize:10,canpull:!0,cgdParamInfo:""}),s={nuId:uni.getStorageSync("nuId"),pageNo:1,pageSize:10,canpull:!0,cgdParamInfo:""},d=e.ref(0),u=e.ref([]),m=e.ref(!1),v=()=>{Pt(c).then((e=>{u.value.push(...e.result.records),l("log","at pages/procurement/purchaseorder.vue:437","zzzz",u.value),e.result.total||(m.value=!0),e.result.records.length&&(V.cgdId=u.value[0].id,T()),e.result.records.length<c.pageSize&&(c.canpull=!1)}))},g=e=>{V.categoryId=e.categoryId,V.typeId=e.typeId,V.medicationId=e.medicationId,V.suppliers=e.suppliers,V.cgdId=e.cgdId,V.pageNo=1,n.value=0,S.value=[],T(),a.value=!1},w=e.ref(!0),h=()=>{w.value&&(c.pageNo++,y(),w.value=!1,setTimeout((()=>{w.value=!0}),500))},y=()=>{c.canpull&&Pt(c).then((e=>{u.value.push(...e.result.records),1==c.pageNo&&f(N.value,u.value[N.value]),e.result.records.length<c.pageSize&&(c.canpull=!1)}))},N=e.ref(0),f=(e,t)=>{N.value!=e&&(n.value=0);let l=Math.ceil(e+1);var a;d.value=186*(l-2),N.value=e,V.cgdId=u.value[e].id,V.pageNo=1,V.canpull=!0,T(),"Y"==t.izNew&&(t.izNew="N",a={id:t.id},p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/editIzNew`,method:"post",data:a}))},E=e.ref({materialImg:"",cgrvalue:"",gysvalue:"",wlName:"",procurementPrice:"",wlMaterialNo:"",wlSpecificationModel:"",purchaseQuantity:"",wlUnits:"",kcsl:"",wlUpperLimit:"",wlLowerLimit:"",suppliersName:"",categoryId_dictText:"",typeId_dictText:""}),V=e.reactive({nuId:uni.getStorageSync("nuId"),pageNo:1,pageSize:-1,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",suppliers:"",cgdId:"",isWaring:0,canpull:!0}),x={nuId:uni.getStorageSync("nuId"),pageNo:1,pageSize:9,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",cgdId:"",isWaring:0},k=e.ref(0),b=e=>{n.value=e,E.value=S.value[e],k.value=105*Math.floor(e/3),Object.assign(V,x),V.pageSize=-1},S=e.ref([]),T=()=>{var e;(e=V,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryCgdInfoList`,method:"get",data:e})).then((e=>{S.value=[],S.value.push(...e.result.records),b(n.value)}))},C=()=>{V.pageNo=1,S.value=[],n.value=0,c.pageNo=1,u.value=[],Pt(c).then((e=>{l("log","at pages/procurement/purchaseorder.vue:580",e.result.records),u.value.push(...e.result.records),e.result.records.length&&(V.cgdId=u.value[0].id,T()),e.result.records.length<c.pageSize&&(c.canpull=!1)}))},B=e.ref(-1),D=e.ref(-1),z=e.ref(!1),I=e.ref(!1),F=()=>{z.value=!0,B.value=-1,I.value=!1,setTimeout((()=>{I.value=!0}),100)},_=()=>{var e;(e={id:u.value[N.value].id},p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/editShareInfo`,method:"post",data:e})).then((e=>{e.success&&(e=>p({url:"/sys/sysDepart/getShareUrlByCode",method:"get",data:e}))({orgCode:uni.getStorageSync("orgListCode")}).then((e=>{let t=`${e.shareUrl}/h5/CgdShareInfo?cgdId=${u.value[N.value].id}`;uni.share({provider:"weixin",scene:"WXSceneSession",type:0,href:t,summary:"点击查看采购单详情,包含物料规格及采购数量",title:`采购单: ${u.value[N.value].cgdNo}`,imageUrl:"https://www.focusnu.com/media/logo.png",success:function(e){l("log","at pages/procurement/purchaseorder.vue:632","success:")},fail:function(e){l("log","at pages/procurement/purchaseorder.vue:636","fail:")}})}))}))},U=e.ref(!1),$=e.ref(!1),M=()=>{var e;(e={id:u.value[D.value].id},p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/voidedCgdMain`,method:"post",data:e})).then((e=>{e.success&&(uni.showToast({title:e.message,icon:"success",duration:2e3}),U.value=!1,S.value=[],u.value=[],Object.assign(c,s),Object.assign(V,x),v())}))};return e.ref(!1),(t,l)=>{var o,s,v,p,w,y,V,x,T,L,j,A,P,q,O,W,R,J,X;return e.openBlock(),e.createElementBlock("view",{class:"contain"},[e.withDirectives(e.createElementVNode("view",{class:"mengban",onClick:l[0]||(l[0]=e=>B.value=-1)},null,512),[[e.vShow,-1!=B.value]]),e.createElementVNode("view",{class:"contain-left"},[e.createElementVNode("view",{class:"title-input-father"},[e.withDirectives(e.createElementVNode("input",{class:"title-input",type:"text","onUpdate:modelValue":l[1]||(l[1]=e=>c.cgdParamInfo=e),maxlength:"15",placeholder:"采购单号/采购日期/供应商",onConfirm:l[2]||(l[2]=e=>C())},null,544),[[e.vModelText,c.cgdParamInfo]]),e.withDirectives(e.createElementVNode("image",{class:"title-input-img",src:Y,onClick:l[3]||(l[3]=e=>{c.cgdParamInfo="",C()})},null,512),[[e.vShow,c.cgdParamInfo]]),e.createElementVNode("button",{class:"title-input-button",onClick:l[4]||(l[4]=e=>{C()})}," 检索 ")]),e.createElementVNode("view",{class:"left-menu-father"},[e.createElementVNode("scroll-view",{"scroll-y":"true","scroll-with-animation":"",class:"left-menu-scroll","scroll-top":d.value,onScrolltolower:h,"lower-threshold":400},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,((t,l)=>{var a,i,n;return e.openBlock(),e.createElementBlock("view",{class:"pls-card",key:l,onClick:e=>f(l,t),style:e.normalizeStyle({borderColor:l===N.value?"":"transparent",background:l===N.value?"#fff":"rgba(255,255,255,0.6)"})},[B.value==l?(e.openBlock(),e.createElementBlock("view",{key:0,class:"more-father"},[e.createElementVNode("view",{class:"more-one",onClick:F}," 分享 "),Number(t.status)<=1?(e.openBlock(),e.createElementBlock("view",{key:0,class:"more-one",onClick:e=>(e=>{1!=Number(e.status)?(U.value=!0,B.value=-1,$.value=!1,setTimeout((()=>$.value=!0),50)):setTimeout((()=>{uni.showToast({title:"只有采购阶段的单据才能作废",icon:"none",duration:2e3})}),300)})(t)}," 作废 ",8,["onClick"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),"Y"==t.izNew?(e.openBlock(),e.createElementBlock("text",{key:1,style:{display:"block",background:"#ff5757",position:"absolute",width:"1.3vw",height:"1.3vw","border-radius":"50%",right:"-0.1vw",top:"-0.1vw"}})):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"pls-card-title"},[e.createElementVNode("view",{class:"title-left"},e.toDisplayString(t.cgdNo),1),e.createElementVNode("view",{class:"title-right"},[e.createElementVNode("text",{style:{position:"absolute",bottom:"4rpx",left:"-30rpx"}}," ¥ "),e.createElementVNode("view",{class:"title-right-big"},e.toDisplayString(Number(t.totalPrice).toFixed(2)),1),e.createElementVNode("image",{class:"title-right-img",src:"/static/more.png",onClick:e=>{return t=l,D.value=t,void("9"==u.value[t].cgdType?setTimeout((()=>{uni.showToast({title:"该采购单已作废",icon:"error",duration:2e3})}),300):B.value=t);var t}},null,8,["onClick"])])]),e.createElementVNode("view",{class:"pls-card-middle"},[e.createElementVNode("view",{class:"middle-heng"}),e.createElementVNode("view",{class:"pls-card-middle-one"},[e.createElementVNode("view",{class:"middle-title"},e.toDisplayString(t.qgDate),1),e.createElementVNode("view",{class:"middle-heng-father"},[e.createElementVNode("image",{class:"middle-ball-img",src:de})]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",null," 采购"+e.toDisplayString(Number(t.status)),1),e.createElementVNode("view",{style:{"font-size":"25rpx"}},e.toDisplayString("[ "+t.qgBy+" ]"),1)])]),e.createElementVNode("view",{class:"pls-card-middle-one"},[e.createElementVNode("view",{class:"middle-title",style:e.normalizeStyle("9"==(null==t?void 0:t.cgdType)?{color:"#FF5757"}:{})},e.toDisplayString("9"==(null==t?void 0:t.cgdType)?null==(a=t.zfTime)?void 0:a.slice(0,10):null==(i=t.jhTime)?void 0:i.slice(0,10)),5),e.createElementVNode("view",{class:"middle-heng-father"},[Number(t.status)<1?(e.openBlock(),e.createElementBlock("view",{key:0,class:"middle-ball",style:e.normalizeStyle([{"background-color":"#1083F8"},"9"==(null==t?void 0:t.cgdType)?{backgroundColor:"#FF5757"}:{}])},null,4)):(e.openBlock(),e.createElementBlock("image",{key:1,class:"middle-ball-img",src:de}))]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",{style:e.normalizeStyle("9"==(null==t?void 0:t.cgdType)?{color:"#FF5757"}:{})},e.toDisplayString("9"==(null==t?void 0:t.cgdType)?"已作废":"拣货"),5),(null==t?void 0:t.jhBy)||(null==t?void 0:t.zfBy)?(e.openBlock(),e.createElementBlock("view",{key:0,style:e.normalizeStyle([{"font-size":"25rpx"},"9"==(null==t?void 0:t.cgdType)?{color:"#FF5757"}:{}])},e.toDisplayString("[ "+("9"==(null==t?void 0:t.cgdType)?null==t?void 0:t.zfBy:null==t?void 0:t.jhBy)+" ]"),5)):e.createCommentVNode("",!0)])]),e.createElementVNode("view",{class:"pls-card-middle-one"},[e.createElementVNode("view",{class:"middle-title"},e.toDisplayString(null==(n=t.wjTime)?void 0:n.slice(0,10)),1),e.createElementVNode("view",{class:"middle-heng-father"},[Number(t.status)<2?(e.openBlock(),e.createElementBlock("view",{key:0,class:"middle-ball",style:e.normalizeStyle(1==Number(t.status)?{backgroundColor:"#1083F8"}:{})},null,4)):(e.openBlock(),e.createElementBlock("image",{key:1,class:"middle-ball-img",src:de}))]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",null," 完结 "),Number(t.status)>1&&t.wjBy?(e.openBlock(),e.createElementBlock("view",{key:0,style:{"font-size":"25rpx"}},e.toDisplayString("[ "+t.wjBy+" ]"),1)):e.createCommentVNode("",!0)])])]),e.createElementVNode("view",{class:"pls-card-end"},[e.createElementVNode("view",{class:"end-left"},[e.createElementVNode("image",{class:"end-left-img",src:Tt}),e.createElementVNode("view",{class:"end-left-font"},e.toDisplayString(t.gysName),1)]),e.createElementVNode("view",{class:e.normalizeClass("9"==(null==t?void 0:t.cgdType)?"tag-fail":"tag-success")},e.toDisplayString("9"==(null==t?void 0:t.cgdType)?"已作废":r[Number(t.status)]),3)])],12,["onClick"])})),128))],40,["scroll-top"])])]),e.createElementVNode("view",{class:"white-zhezhao"}),e.createElementVNode("view",{class:"contain-right"},[e.createElementVNode("view",{class:"contain-right-title"},[e.createElementVNode("view",{class:"contain-right-button",style:{"border-color":"#D9DADC","box-shadow":"0 1rpx 3rpx #D9DADC"},onClick:l[5]||(l[5]=e=>a.value=!0)},[e.createElementVNode("image",{class:"buttont-img",src:"/static/index/purchaseorder/select.png"}),e.createElementVNode("view",{class:"button-font"}," 筛选 ")]),e.createElementVNode("view",{class:"contain-right-button",onClick:l[6]||(l[6]=e=>{uni.navigateBack()})},[e.createElementVNode("image",{class:"buttont-img",style:{"margin-top":"4rpx"},src:Ct}),e.createElementVNode("view",{class:"button-font"}," 返回 ")])]),e.createElementVNode("view",{class:"contain-right-middle"},[e.createElementVNode("scroll-view",{"scroll-y":"true",class:"middle-Y","scroll-with-animation":"","scroll-top":k.value},[e.createElementVNode("view",{class:"middle-Y-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"middle-one",key:l,style:e.normalizeStyle({border:n.value===l?"4rpx dashed #1083F8":"4rpx solid transparent",backgroundColor:n.value===l?"#F9FCFF":""}),onClick:e=>b(l)},[e.createElementVNode("image",{class:"middle-img",src:t.materialImg?i.value+t.materialImg:"/static/index/warehouse/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"middle-right"},[e.createElementVNode("view",{class:"right-title"},e.toDisplayString(t.wlName),1),e.createElementVNode("view",{class:"right-middle",style:{"white-space":"nowrap","text-overflow":"ellipsis",overflow:"hidden"}},e.toDisplayString(t.wlSpecificationModel),1),e.createElementVNode("view",{style:{color:"#888888"}}," 采购数量: "+e.toDisplayString(t.purchaseQuantity+t.wlUnits),1)])],12,["onClick"])))),128))])],8,["scroll-top"]),e.createElementVNode("view",{class:"wuliao-title"},[e.createTextVNode(" 物料详情 "),e.createElementVNode("view",{class:"wuliao-heng"})]),e.createElementVNode("view",{style:{width:"100%",height:"0.5rpx","background-color":"#eff1f3"}}),e.createElementVNode("view",{class:"right-bottom"},[e.createElementVNode("view",{class:"right-bottom-left"},[e.createElementVNode("image",{class:"left-img",src:(null==(o=E.value)?void 0:o.materialImg)?i.value+(null==(s=E.value)?void 0:s.materialImg):"/static/index/warehouse/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"left-tags"},[e.createElementVNode("view",{class:"tags-one"},e.toDisplayString(null==(v=E.value)?void 0:v.categoryId_dictText),1),e.createElementVNode("view",{class:"tags-one"},e.toDisplayString(null==(p=E.value)?void 0:p.typeId_dictText),1),E.value.medicationId_dictText?(e.openBlock(),e.createElementBlock("view",{key:0,class:"tags-one"},e.toDisplayString(E.value.medicationId_dictText),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("view",{class:"right-bottom-right"},[e.createElementVNode("view",{class:"bottom-right-title"},[e.createElementVNode("view",{class:"title-left"},e.toDisplayString(null==(w=E.value)?void 0:w.wlName),1),e.createElementVNode("view",{class:"title-right"},[e.createElementVNode("text",{style:{position:"absolute",top:"8rpx",left:"-35rpx","font-weight":"300","font-size":"28rpx"}}," ¥ "),e.createElementVNode("view",{style:{color:"#555555"}},e.toDisplayString(Number(E.value.totalPrice).toFixed(2)),1)])]),e.createElementVNode("view",{class:"bottom-right-middle"},[e.createElementVNode("view",{class:"middle-onecard"},[e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 物料编号 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(null==(y=E.value)?void 0:y.wlMaterialNo),1)]),e.createElementVNode("view",{class:"threeone",style:{"white-space":"nowrap"}},[e.createElementVNode("view",{class:"gray-text",style:{"white-space":"nowrap"}}," 规格型号 "),e.createElementVNode("view",{class:"right-text",style:{"white-space":"nowrap"}},e.toDisplayString(null==(V=E.value)?void 0:V.wlSpecificationModel),1)]),e.createElementVNode("view",{class:"gray-heng"})]),e.createElementVNode("view",{class:"middle-onecard"},[e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 采购单价 "),e.createElementVNode("view",{class:"right-text"}," ¥"+e.toDisplayString(Number(null==(x=E.value)?void 0:x.procurementPrice).toFixed(2)),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 采购数量 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(null==(T=E.value)?void 0:T.purchaseQuantity),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 采购单位 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(null==(L=E.value)?void 0:L.wlUnits),1)]),e.createElementVNode("view",{class:"gray-heng"})]),e.createElementVNode("view",{class:"middle-onecard"},[e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 库存数量 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(null==(j=E.value)?void 0:j.kcsl),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 物料上限 ↑ "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(null==(A=E.value)?void 0:A.wlUpperLimit),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 物料下限 ↓ "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(null==(P=E.value)?void 0:P.wlLowerLimit),1)]),e.createElementVNode("view",{class:"gray-heng"})]),e.createElementVNode("view",{class:"middle-onecard"},[e.createElementVNode("view",{class:"threeone",style:{width:"100%"}},[e.createElementVNode("view",{class:"gray-text"}," 供应商 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(null==(q=E.value)?void 0:q.suppliersName),1)])])])])])])]),e.createVNode(It,{cont:"暂无数据",show:m.value},null,8,["show"]),e.withDirectives(e.createElementVNode("view",{class:"popup-share",onClick:l[8]||(l[8]=e=>z.value=!1)},[e.createElementVNode("view",{class:"popup-share-content",style:e.normalizeStyle({opacity:I.value?1:0}),onClick:l[7]||(l[7]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"share-other"},[e.createElementVNode("view",{class:"share-main"},[e.createElementVNode("view",{class:""},[e.createElementVNode("view",{class:"share-weight"},e.toDisplayString(null==(O=u.value[N.value])?void 0:O.cgdNo),1),e.createElementVNode("view",{class:"share-font"}," 供应商:"+e.toDisplayString(null==(W=u.value[N.value])?void 0:W.gysId_dictText),1),e.createElementVNode("view",{class:"share-font"}," 采购时间:"+e.toDisplayString(null==(R=u.value[N.value])?void 0:R.qgDate),1)]),e.createElementVNode("view",{class:"right-flex"},[e.createElementVNode("view",{style:{"font-weight":"600"}},[e.createElementVNode("text",{style:{"vertical-align":"2rpx"}}," ¥ "),e.createElementVNode("text",{class:"dollar-text"},e.toDisplayString(Number(null==(J=u.value[N.value])?void 0:J.totalPrice).toFixed(2)),1)]),e.createElementVNode("view",{class:"caigou-font"}," 采购金额 ")])]),e.createElementVNode("view",{class:"share-bottom"},[e.createElementVNode("view",{style:{display:"flex","align-items":"center"}},[e.createElementVNode("image",{class:"share-bottom-img",src:Dt}),e.createElementVNode("view",{style:{"margin-left":"-20rpx","margin-top":"10rpx"}},[e.createElementVNode("view",{style:{display:"flex"}},[e.createElementVNode("view",{class:"share-name"},e.toDisplayString(uni.getStorageSync("realname")),1),e.createElementVNode("view",{class:"share-font"}," 采购人 ")]),e.createElementVNode("view",{class:"share-phone"},e.toDisplayString(uni.getStorageSync("username")),1)])]),e.createElementVNode("view",{class:"company-father"},[e.createElementVNode("view",{class:"company"},e.toDisplayString(uni.getStorageSync("orgListName")),1),e.createElementVNode("view",{class:"blue-button",onClick:_}," 分享 ")])])])],4)],512),[[e.vShow,z.value]]),a.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mengban",style:{background:"RGBA(239, 240, 244, 0.55)"},onClick:l[9]||(l[9]=e=>a.value=!1)})):e.createCommentVNode("",!0),e.createVNode(Rt,{onConfirm:g,show:a.value,typenum:2,cgdId:null==(X=u.value[N.value])?void 0:X.id},null,8,["show","cgdId"]),e.createVNode(_t,{show:U.value,font:"确定要作废这个采购单吗",onBack:l[10]||(l[10]=e=>{U.value=!1}),onRight:M},null,8,["show"])])}}}),[["__scopeId","data-v-baaf05a3"]]),Xt="/static/index/procurement/x.png",Qt="/static/index/procurement/sx.png",Zt="/static/index/procurement/cz.png",Ht="/static/index/procurement/bk.png",Gt="/static/index/procurement/d.png",Kt=s(e.defineComponent({__name:"calculator",props:{show:{type:Boolean,default:!1,required:!0},caigouobj:{type:Object,required:!0}},emits:["right","colse","jjnum"],setup(t,{emit:a}){const i=a,r=e.ref(-1),n=e.ref(!1),o=e.ref(!1),c=e.ref(!1),s=e.ref({}),d=e.ref([]),u=e.ref([]),m=e.ref(0),v=t;e.watch((()=>v.show),(()=>{if(v.show){l("log","at pages/procurement/components/calculator.vue:129",v.caigouobj);let e=[{multiUnitType:1,price:v.caigouobj.oneUnitPrice,unit:v.caigouobj.oneUnit,num:v.caigouobj.oneUnitProportion},{multiUnitType:2,price:v.caigouobj.twoUnitPrice,unit:v.caigouobj.twoUnit,num:v.caigouobj.twoUnitProportion},{multiUnitType:3,price:v.caigouobj.referenceUnitPrice,unit:v.caigouobj.materialUnits,num:1}];v.caigouobj.wlUnits?(s.value=e.find((e=>e.unit==v.caigouobj.wlUnits)),l("log","at pages/procurement/components/calculator.vue:154",v.caigouobj.wlUnits,s.value)):s.value=e.find((e=>e.multiUnitType==v.caigouobj.multiUnitType)),u.value=e;let t=[],a=[];d.value=[],t=v.caigouobj.suppliers_dictText.split(/[, ]+/),a=v.caigouobj.suppliers.split(/[, ]+/),t.forEach(((e,t)=>{d.value.push({name:e,id:a[t]}),e==v.caigouobj.suppliersName&&h(t)})),v.caigouobj.purchaseQuantity?(v.caigouobj.upperLimit=v.caigouobj.wlUpperLimit,g(v.caigouobj.purchaseQuantity)):p()}else n.value=!1,o.value=!1,s.value={},c.value=!1,m.value=0,E.value=!1}));const p=()=>{let e=Number(v.caigouobj.upperLimit)-Number(v.caigouobj.kcsl),t=Math.floor(e/s.value.num);g(t)},g=e=>{f.value=e,N.value=D(f.value)},w=()=>{let e=Number(v.caigouobj.upperLimit)-Number(v.caigouobj.kcsl),t=f.value*s.value.num;c.value=t>e,l("log","at pages/procurement/components/calculator.vue:206",c.value,e,t)},h=e=>{m.value=e,n.value=!1},y=[1,2,3,4,5,6,7,8,9,"AC",0,"AE"],N=e.ref("0000"),f=e.ref(0),E=e.ref(!1),V=(e,t)=>{return r.value=t,setTimeout((()=>{r.value=-1}),300),"AC"==e?(f.value=0,N.value="0000",void w()):"AE"==e?(f.value=Math.trunc(f.value/10),N.value=D(f.value),void w()):0==E.value?(E.value=!0,f.value=e,N.value=D(f.value),void w()):(l=f.value,void(Math.abs(l).toString().length>3||(f.value?f.value=10*f.value+e:f.value=e,w(),N.value=D(f.value))));var l},x=e.ref(null),k=e=>{S(e)},b=()=>{clearInterval(x.value)},S=e=>{x.value=setInterval((()=>{T(e)}),120)},T=e=>{let t=Number(v.caigouobj.upperLimit)-Number(v.caigouobj.kcsl),l=Math.floor(t/s.value.num);l<=f.value&&1==e?f.value=l:f.value<=1&&-1==e?f.value=1:(f.value+=e,N.value=D(f.value),w())},C=()=>{f.value<1?uni.showToast({title:"采购数量不能为0!",icon:"none"}):i("right",f.value,d.value[m.value],s.value)},B=()=>{i("colse")};function D(e){const t=Math.floor(Math.abs(e));return String(t).padStart(4,"0")}return(l,a)=>{var i;return t.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:"plsbuy-contain"},[e.createElementVNode("view",{class:"gys"},[e.createElementVNode("view",{class:"tlt"},"供应商"),e.createElementVNode("view",{class:"gssel",onClick:a[1]||(a[1]=e=>n.value=!0)},[e.createElementVNode("view",null,e.toDisplayString(null==(i=d.value[m.value])?void 0:i.name),1),e.createElementVNode("text",{onClick:a[0]||(a[0]=e.withModifiers((e=>n.value=!n.value),["stop"]))},"调整")]),n.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"tanchu"},[e.createElementVNode("scroll-view",{"scroll-y":"true",class:"gysscrol"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:e.normalizeClass(m.value==l?"acts":""),onClick:e=>h(l)},[e.createElementVNode("text",null,e.toDisplayString(t.name),1),e.createElementVNode("image",{src:Gt,mode:"aspectFill"})],10,["onClick"])))),128))])])):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"calculator-father"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(y,((t,l)=>e.createElementVNode("view",{key:l},[e.createElementVNode("view",{class:e.normalizeClass([r.value==l?"calculator-kuai-target":"","calculator-kuai"]),onClick:e=>V(t,l)},e.toDisplayString(t),11,["onClick"])]))),64))]),e.createElementVNode("view",{class:"qinggou-font"},[e.createTextVNode(" 采购数量 "),1==c.value?(e.openBlock(),e.createElementBlock("text",{key:0,style:{color:"red"}},"超过库存上限!")):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"stringShow-father"},[e.createElementVNode("view",{class:"jj",onClick:a[2]||(a[2]=e=>T(-1)),onLongpress:a[3]||(a[3]=e=>k(-1)),onTouchend:b}," - ",32),e.createElementVNode("view",{class:"stringShow-kuai"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,style:e.normalizeStyle(1==c.value?"color: red":"")},e.toDisplayString(t),5)))),128))]),e.createElementVNode("view",{class:"jj",style:e.normalizeStyle(1==c.value?"background:#f8f8f8":""),onClick:a[4]||(a[4]=e=>T(1)),onLongpress:a[5]||(a[5]=e=>k(1)),onTouchend:b}," + ",36)]),e.createElementVNode("view",{class:"cgdw"},[e.createElementVNode("view",{class:"leftr"},[e.createElementVNode("view",null,"采购单位"),e.createElementVNode("text",null,e.toDisplayString(s.value.unit),1)]),e.createElementVNode("view",{class:"tz",onClick:a[6]||(a[6]=e=>o.value=!o.value)},"调整"),o.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"dwdw"},[e.createElementVNode("view",{class:"gysscrol"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,((l,a)=>(e.openBlock(),e.createElementBlock("view",{key:a,class:e.normalizeClass(s.value.multiUnitType==l.multiUnitType?"acts":""),onClick:e=>((e,t)=>{s.value=e,o.value=!1,p()})(l),style:e.normalizeStyle(l.unit&&l.num?"":"height:0 !important;margin-top:-0.5vw")},[l.unit&&l.num?(e.openBlock(),e.createElementBlock("text",{key:0},e.toDisplayString(l.unit),1)):e.createCommentVNode("",!0),l.unit&&l.num?(e.openBlock(),e.createElementBlock("text",{key:1},e.toDisplayString(l.num)+e.toDisplayString(t.caigouobj.materialUnits),1)):e.createCommentVNode("",!0),e.createElementVNode("image",{src:Gt,mode:"aspectFill"})],14,["onClick"])))),128))])])):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"plsbuy-bottom"},[e.createElementVNode("view",{class:"quxiao",onClick:B}," 取消 "),e.createElementVNode("view",{class:"plsbuy-bottom-blue",onClick:C}," 确定 ")]),o.value||n.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mengban",onClick:a[7]||(a[7]=e=>{n.value=!1,o.value=!1})})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-d29e308a"]]),el=s(e.defineComponent({__name:"classification",props:{show:{type:Boolean,default:!1,required:!0},typenum:{type:Number,default:0}},emits:["confirm"],setup(t,{expose:a,emit:i}){const r=e.reactive({scrolltop1:0,scrolltop2:0,scrolltop3:0,act1:-1,act2:-1,act3:-1}),n=e.ref([]),o=e.ref([]),c=e.ref(-1),s=e.ref(""),d=e.ref(!1),u=i,m=(e,t,l)=>{if(1==e&&(r.act2=-1,r.act3=-1,r.scrolltop2=0,r.scrolltop3=0,r.act1==t))return r.act1=-1,void w();2==e&&(r.act3=-1,r.scrolltop3=0),r["act"+e]=t,r["scrolltop"+e]=50*(t-2),w()};e.onMounted((()=>{s.value=uni.getStorageSync("serverUrl")+"/sys/common/static/",h(),v()}));const v=()=>{var e;p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getGysList`,method:"get",data:e}).then((e=>{o.value=e.result}))},g=e.ref(0),w=()=>{let e={nuId:uni.getStorageSync("nuId"),categoryId:r.act1>-1?n.value[r.act1].categoryId:"",typeId:r.act2>-1?n.value[r.act1].children[r.act2].typeId:"",medicationId:r.act3>-1?n.value[r.act1].children[r.act2].children[r.act3].key:"",suppliers:c.value>-1?o.value[c.value].suppliers:""};switch(l("log","at pages/procurement/components/classification.vue:120",e),N.typenum){case 0:Ot(e).then((e=>{l("log","at pages/procurement/components/classification.vue:125",e),g.value=e.result.totalSize}));break;case 1:Wt(e).then((e=>{g.value=e.result.totalSize}));break;case 2:Yt(e).then((e=>{g.value=e.result.totalSize}))}},h=()=>{switch(N.typenum){case 0:Lt({nuId:uni.getStorageSync("nuId")}).then((e=>{l("log","at pages/procurement/components/classification.vue:150",e,uni.getStorageSync("nuId")),n.value=e.result,w()}));break;case 1:jt({nuId:uni.getStorageSync("nuId")}).then((e=>{n.value=e.result,w()}));break;case 2:l("log","at pages/procurement/components/classification.vue:163",{nuId:uni.getStorageSync("nuId")}),At({nuId:uni.getStorageSync("nuId")}).then((e=>{l("log","at pages/procurement/components/classification.vue:165",e.result),n.value=e.result,w()}))}},y=()=>{let e={categoryId:r.act1>-1?n.value[r.act1].categoryId:"",typeId:r.act2>-1?n.value[r.act1].children[r.act2].typeId:"",medicationId:r.act3>-1?n.value[r.act1].children[r.act2].children[r.act3].key:"",suppliers:c.value>-1?o.value[c.value].suppliers:""};u("confirm",e)},N=t;e.watch((()=>N.show),(()=>{0==N.show&&(d.value=!1)}));const f=()=>{c.value<0?d.value=!d.value:E()},E=()=>{c.value>-1&&(c.value=-1,w())};return a({typescroll:m,config:y,qingkong:E,getTreelnum:w}),(l,a)=>{var i,u,v;return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:e.normalizeClass(["ifclass guodu",t.show?"":"unclass"])},[e.createElementVNode("view",{class:"gyss"},[e.createElementVNode("view",{class:"lef"},"供 应 商"),e.createElementVNode("view",{class:"set",onClick:a[0]||(a[0]=e=>d.value=!d.value)},[e.createElementVNode("text",{class:e.normalizeClass(c.value>-1?"n":"")},e.toDisplayString(c.value>-1?o.value[c.value].suppliersName:"请选择供应商"),3),e.createElementVNode("image",{onClick:e.withModifiers(f,["stop"]),class:"guodu",style:e.normalizeStyle(d.value&&-1==c.value?"transform: rotate(180deg);":""),src:c.value<0?"/static/index/procurement/sj.png":"/static/index/procurement/x.png",mode:"aspectFill"},null,12,["src"])]),e.createElementVNode("view",{class:e.normalizeClass(["xuze guodu",d.value?"":"hei0"])},[e.createElementVNode("scroll-view",{"scroll-y":"true",class:e.normalizeClass(["gysscrol guodu",d.value?"":"hei0"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:e.normalizeClass(c.value==l?"acts":""),onClick:e=>{c.value=l,d.value=!1,w()}},[e.createElementVNode("text",null,e.toDisplayString(t.suppliersName),1),e.createElementVNode("image",{src:Gt,mode:"aspectFill"})],10,["onClick"])))),128))],2)],2),d.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mengban",onClick:a[1]||(a[1]=e=>d.value=!1)})):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"titletop"},"物料分类"),e.createElementVNode("view",{class:"toptype"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(["一","二","三"],(t=>e.createElementVNode("view",null,e.toDisplayString(t+"级分类"),1))),64))]),e.createElementVNode("view",{class:"scroltype"},[e.createElementVNode("scroll-view",{"scroll-y":"true","scroll-with-animation":"","scroll-top":r.scrolltop1,class:"scroll-Y scrl1"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(r.act1==l?"act":""),onClick:e=>m(1,l)},[r.act1==l?(e.openBlock(),e.createElementBlock("image",{key:0,src:s.value+t.appCheckIconPath,mode:"aspectFill"},null,8,["src"])):(e.openBlock(),e.createElementBlock("image",{key:1,src:s.value+t.appIconPath,mode:"aspectFill"},null,8,["src"])),e.createElementVNode("text",null,e.toDisplayString(t.title),1)],10,["onClick"])))),256))],8,["scroll-top"]),e.createElementVNode("scroll-view",{"scroll-y":"true","scroll-with-animation":"","scroll-top":r.scrolltop2,class:"scroll-Y scrl2"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(null==(i=n.value[r.act1])?void 0:i.children,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(r.act2==l?"act":""),onClick:e=>m(2,l)},e.toDisplayString(t.title),11,["onClick"])))),256))],8,["scroll-top"]),e.createElementVNode("scroll-view",{"scroll-y":"true","scroll-with-animation":"","scroll-top":r.scrolltop3,class:"scroll-Y scrl3"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(null==(v=null==(u=n.value[r.act1])?void 0:u.children[r.act2])?void 0:v.children,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(r.act3==l?"act":""),onClick:e=>m(3,l)},e.toDisplayString(t.title),11,["onClick"])))),256))],8,["scroll-top"])]),e.createElementVNode("view",{class:"btnbotm"},[e.createElementVNode("view",{class:"bt",onClick:a[2]||(a[2]=e=>{m(1,-1),E()})},"重置"),e.createElementVNode("view",{class:"bt qd",onClick:y},[e.createTextVNode("确定 "),g.value>0?(e.openBlock(),e.createElementBlock("text",{key:0},"("+e.toDisplayString(g.value>99?"99+":g.value)+"件物料)",1)):e.createCommentVNode("",!0)])])],2)])}}}),[["__scopeId","data-v-9bbafc49"]]);const tl=s({name:"u-line",props:{color:{type:String,default:"#e4e7ed"},length:{type:String,default:"100%"},direction:{type:String,default:"row"},hairLine:{type:Boolean,default:!0},margin:{type:String,default:"0"},borderStyle:{type:String,default:"solid"}},computed:{lineStyle(){let e={};return e.margin=this.margin,"row"==this.direction?(e.borderBottomWidth="1px",e.borderBottomStyle=this.borderStyle,e.width=this.$u.addUnit(this.length),this.hairLine&&(e.transform="scaleY(0.5)")):(e.borderLeftWidth="1px",e.borderLeftStyle=this.borderStyle,e.height=this.$u.addUnit(this.length),this.hairLine&&(e.transform="scaleX(0.5)")),e.borderColor=this.color,e}}},[["render",function(t,l,a,i,r,n){return e.openBlock(),e.createElementBlock("view",{class:"u-line",style:e.normalizeStyle([n.lineStyle])},null,4)}],["__scopeId","data-v-85e19575"]]);const ll=s({name:"u-loading",props:{mode:{type:String,default:"circle"},color:{type:String,default:"#c7c7c7"},size:{type:[String,Number],default:"34"},show:{type:Boolean,default:!0}},computed:{cricleStyle(){let e={};return e.width=this.size+"rpx",e.height=this.size+"rpx","circle"==this.mode&&(e.borderColor=`#e4e4e4 #e4e4e4 #e4e4e4 ${this.color?this.color:"#c7c7c7"}`),e}}},[["render",function(t,l,a,i,r,n){return a.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["u-loading","circle"==a.mode?"u-loading-circle":"u-loading-flower"]),style:e.normalizeStyle([n.cricleStyle])},null,6)):e.createCommentVNode("",!0)}],["__scopeId","data-v-ae8dd367"]]);const al=s({name:"u-loadmore",emits:["loadmore"],props:{bgColor:{type:String,default:"transparent"},icon:{type:Boolean,default:!0},fontSize:{type:String,default:"28"},color:{type:String,default:"#606266"},status:{type:String,default:"loadmore"},iconType:{type:String,default:"circle"},loadText:{type:Object,default:()=>({loadmore:"加载更多",loading:"正在加载...",nomore:"没有更多了"})},isDot:{type:Boolean,default:!1},iconColor:{type:String,default:"#b7b7b7"},marginTop:{type:[String,Number],default:0},marginBottom:{type:[String,Number],default:0},height:{type:[String,Number],default:"auto"}},data:()=>({dotText:"●"}),computed:{loadTextStyle(){return{color:this.color,fontSize:this.fontSize+"rpx",position:"relative",zIndex:1,backgroundColor:this.bgColor}},cricleStyle(){return{borderColor:`#e5e5e5 #e5e5e5 #e5e5e5 ${this.circleColor}`}},flowerStyle:()=>({}),showText(){let e="";return e="loadmore"==this.status?this.loadText.loadmore:"loading"==this.status?this.loadText.loading:"nomore"==this.status&&this.isDot?this.dotText:this.loadText.nomore,e}},methods:{loadMore(){"loadmore"==this.status&&this.$emit("loadmore")}}},[["render",function(t,l,i,r,n,o){const c=a(e.resolveDynamicComponent("u-line"),tl),s=a(e.resolveDynamicComponent("u-loading"),ll);return e.openBlock(),e.createElementBlock("view",{class:"u-load-more-wrap",style:e.normalizeStyle({backgroundColor:i.bgColor,marginBottom:i.marginBottom+"rpx",marginTop:i.marginTop+"rpx",height:t.$u.addUnit(i.height)})},[e.createVNode(c,{color:"#d4d4d4",length:"50",class:"u-line"}),e.createElementVNode("view",{class:e.normalizeClass(["loadmore"==i.status||"nomore"==i.status?"u-more":"","u-load-more-inner"])},[e.createElementVNode("view",{class:"u-loadmore-icon-wrap"},[e.createVNode(s,{class:"u-loadmore-icon",color:i.iconColor,mode:"circle"==i.iconType?"circle":"flower",show:"loading"==i.status&&i.icon},null,8,["color","mode","show"])]),e.createElementVNode("view",{class:e.normalizeClass(["u-line-1",["nomore"==i.status&&1==i.isDot?"u-dot-text":"u-more-text"]]),style:e.normalizeStyle([o.loadTextStyle]),onClick:l[0]||(l[0]=(...e)=>o.loadMore&&o.loadMore(...e))},e.toDisplayString(o.showText),7)],2),e.createVNode(c,{color:"#d4d4d4",length:"50",class:"u-line"})],4)}],["__scopeId","data-v-a01ae38a"]]),il=s(e.defineComponent({__name:"Inventory",props:{InvoicingList:{type:Array,required:!0},status:{type:String},show:{type:Boolean,default:!1,required:!0}},emits:["addcartory","tolower","solleft","crk"],setup(t,{emit:l}){const i=t,r=l,n=e.ref("");e.onMounted((()=>{n.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"})),e.ref(!0);const o=()=>{r("tolower")},c=e.ref({}),s=e.ref(0),d=e.ref(0),u=(e,t)=>{i.InvoicingList.forEach(((e,l)=>{l!=t&&1==e.zk&&(e.zk=!1,e.scrollleft=0)}))};e.ref(0);return(l,i)=>{const m=a(e.resolveDynamicComponent("u-loadmore"),al);return e.openBlock(),e.createElementBlock("view",null,[t.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:"qbkyj"},[e.createElementVNode("view",{class:"titletop"},"全部库存预警"),e.createElementVNode("scroll-view",{"scroll-y":"true",class:"crdcroll","scroll-with-animation":"",onScrolltolower:o},[e.createElementVNode("view",{class:"fler"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.InvoicingList,((t,l)=>(e.openBlock(),e.createElementBlock("scroll-view",{class:"carditem guodu",key:l,onTouchend:e=>((e,t,l)=>{var a;let i=e.changedTouches[0].pageY,r=e.changedTouches[0].pageX,n=Math.abs(r-s.value),o=Math.abs(i-d.value);if(o>30&&n+10<o&&n<70)0==t.zk&&setTimeout((()=>{t.scrollleft=0}),20);else{if(n<10&&o<10)return 0==t.zk&&n>2&&o>2?void(t.scrollleft=0):void 0;c.value=t,c.value.Limitnum=Number(null==(a=c.value)?void 0:a.upperLimit)-Number(c.value.kcsl),c.value.index=l,t.zk=!(r>s.value),t.scrollleft=t.zk?170:0}})(e,t,l),onTouchstart:e=>((e,t,l)=>{s.value=e.changedTouches[0].pageX,d.value=e.changedTouches[0].pageY,u(t,l)})(e,t,l),"scroll-with-animation":"","scroll-x":"true","scroll-left":t.scrollleft,onScroll:e=>{}},[e.createElementVNode("view",{class:e.normalizeClass(["speitem guodu",t.zk?"spleft":""])},[e.createElementVNode("image",{src:t.materialImg?n.value+t.materialImg:"/static/index/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"cardp"},[t.categoryId_dictText?(e.openBlock(),e.createElementBlock("view",{key:0},e.toDisplayString(t.categoryId_dictText),1)):e.createCommentVNode("",!0),t.typeId_dictText?(e.openBlock(),e.createElementBlock("view",{key:1},e.toDisplayString(t.typeId_dictText),1)):e.createCommentVNode("",!0),t.medicationId_dictText?(e.openBlock(),e.createElementBlock("view",{key:2},e.toDisplayString(t.medicationId_dictText),1)):e.createCommentVNode("",!0)])],2),e.createElementVNode("view",{class:"msitem guodu"},[e.createElementVNode("view",null,[e.createElementVNode("view",null,e.toDisplayString(t.materialName),1),e.createElementVNode("text",null,e.toDisplayString(t.materialNo),1)]),e.createElementVNode("view",{style:{"white-space":"nowrap"}},[e.createElementVNode("text",null," 规格型号: "+e.toDisplayString(t.specificationModel),1)]),e.createElementVNode("view",null,["1"==t.multiUnitType?(e.openBlock(),e.createElementBlock("text",{key:0},"采购单价: ¥"+e.toDisplayString(t.oneUnitPrice?Number(t.oneUnitPrice).toFixed(2):""),1)):e.createCommentVNode("",!0),"1"==t.multiUnitType?(e.openBlock(),e.createElementBlock("text",{key:1},"采购单位: "+e.toDisplayString(t.oneUnit),1)):e.createCommentVNode("",!0),"2"==t.multiUnitType?(e.openBlock(),e.createElementBlock("text",{key:2},"采购单价: ¥"+e.toDisplayString(t.twoUnitPrice?Number(t.twoUnitPrice).toFixed(2):""),1)):e.createCommentVNode("",!0),"2"==t.multiUnitType?(e.openBlock(),e.createElementBlock("text",{key:3},"采购单位: "+e.toDisplayString(t.twoUnit),1)):e.createCommentVNode("",!0),"3"==t.multiUnitType?(e.openBlock(),e.createElementBlock("text",{key:4},"采购单价: ¥"+e.toDisplayString(t.referenceUnitPrice?Number(t.referenceUnitPrice).toFixed(2):""),1)):e.createCommentVNode("",!0),"3"==t.multiUnitType?(e.openBlock(),e.createElementBlock("text",{key:5},"采购单位: "+e.toDisplayString(t.materialUnits),1)):e.createCommentVNode("",!0)]),e.createElementVNode("view",null,[e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(t.kcsl),1),e.createElementVNode("text",null,"库存数量")]),e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(t.upperLimit),1),e.createElementVNode("text",null,"物料上限 ↑")]),e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(t.lowerLimit),1),e.createElementVNode("text",null,"↓ 物料下限")])])]),e.createElementVNode("view",{class:"add",onClick:e.withModifiers((e=>((e,t)=>{var l;c.value=e,c.value.Limitnum=Number(null==(l=c.value)?void 0:l.upperLimit)-Number(c.value.kcsl),c.value.index=t,c.value.yj=!0,1==e.zk?(e.zk=!1,e.scrollleft=0):(e.zk=!0,e.scrollleft=170),u(e,t)})(t,l)),["stop"])},[1==t.isAdd?(e.openBlock(),e.createElementBlock("view",{key:0},"已添加")):e.createCommentVNode("",!0),e.createElementVNode("image",{class:"guodu",style:e.normalizeStyle(t.zk?"transform: rotate(180deg);":""),src:"/static/index/procurement/l.png",mode:"aspectFill"},null,12,["src"])],8,["onClick"]),e.createElementVNode("view",{class:e.normalizeClass(["zkadd guodu",1==t.isAdd?"zkf":""])},[e.createElementVNode("view",{onClick:e.withModifiers((e=>((e,t)=>{r("crk",e,t)})(t,l)),["stop"]),onTouchend:i[0]||(i[0]=e.withModifiers((()=>{}),["stop"]))},"出入库",40,["onClick"]),1!=t.isAdd?(e.openBlock(),e.createElementBlock("view",{key:0,onClick:e.withModifiers((e=>{r("addcartory",c.value)}),["stop"]),onTouchend:i[1]||(i[1]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",null," 加购物车 ")],40,["onClick"])):e.createCommentVNode("",!0)],2)],40,["onTouchend","onTouchstart","scroll-left","onScroll"])))),128))]),e.createElementVNode("view",{style:{height:"3vw",width:"100%",display:"flex","align-items":"center","justify-content":"center"}},[t.InvoicingList.length>6?(e.openBlock(),e.createBlock(m,{key:0,status:t.status,loadText:{nomore:"暂无更多数据"}},null,8,["status"])):e.createCommentVNode("",!0)])],32)])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-a1df767b"]]),rl=s(e.defineComponent({__name:"carditem",props:{InvoicingList:{type:Array,required:!0},status:{type:String},show:{type:Boolean,default:!1,required:!0}},emits:["addcartory","scrolltolower","addcar","crk"],setup(t,{emit:l}){const i=t,r=l,n=e.ref("");e.onMounted((()=>{n.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"}));const o=e.ref({}),c=(e,t)=>{Number(e.kcsl)>=Number(e.upperLimit)?uni.showToast({title:"库存数量已满,不可添加购物车!",icon:"none"}):(o.value=e,o.value.index=t,o.value.yj=!1,r("addcartory",o.value))},s=e.ref(0),d=e.ref(0),u=(e,t)=>{i.InvoicingList.forEach(((e,l)=>{l!=t&&1==e.zk&&(e.zk=!1,e.scrollleft=0)}))};e.ref(0);const m=e=>{};return(l,i)=>{const v=a(e.resolveDynamicComponent("u-loadmore"),al);return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("scroll-view",{"scroll-y":"true",class:"crdcroll","scroll-with-animation":"",onScrolltolower:i[2]||(i[2]=e=>{r("scrolltolower")}),"enable-back-to-top":""},[e.createElementVNode("view",{class:"box"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.InvoicingList,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"fler",key:l},[e.createElementVNode("scroll-view",{class:"carditem guodu",onTouchend:e=>((e,t,l)=>{var a;let i=e.changedTouches[0].pageY,r=e.changedTouches[0].pageX,n=Math.abs(r-s.value),c=Math.abs(i-d.value);c>30&&n+10<c?setTimeout((()=>{t.scrollleft=0}),20):n<10&&c<10?0==t.zk&&setTimeout((()=>{t.scrollleft=0}),20):(o.value=t,o.value.Limitnum=Number(null==(a=o.value)?void 0:a.upperLimit)-Number(o.value.kcsl),o.value.index=l,o.value.yj=!1,t.zk=!(r>s.value),t.scrollleft=t.zk?150:0)})(e,t,l),onTouchstart:e=>((e,t,l)=>{s.value=e.changedTouches[0].pageX,d.value=e.changedTouches[0].pageY,u(t,l)})(e,t,l),"scroll-with-animation":"","scroll-x":"true","scroll-left":t.scrollleft,onScroll:m},[e.createElementVNode("view",{class:"speitem guodu"},[e.createElementVNode("image",{src:t.materialImg?n.value+t.materialImg:"/static/index/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"cardp"},[t.categoryId_dictText?(e.openBlock(),e.createElementBlock("view",{key:0},e.toDisplayString(t.categoryId_dictText),1)):e.createCommentVNode("",!0),t.typeId_dictText?(e.openBlock(),e.createElementBlock("view",{key:1},e.toDisplayString(t.typeId_dictText),1)):e.createCommentVNode("",!0),t.medicationId_dictText?(e.openBlock(),e.createElementBlock("view",{key:2},e.toDisplayString(t.medicationId_dictText),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("view",{class:"msitem guodu"},[e.createElementVNode("view",null,[e.createElementVNode("view",null,e.toDisplayString(t.materialName),1),e.createElementVNode("text",null,e.toDisplayString(t.materialNo),1)]),e.createElementVNode("view",null,[e.createElementVNode("text",{style:{"white-space":"nowrap"}}," 规格型号: "+e.toDisplayString(t.specificationModel),1)]),e.createElementVNode("view",null,["1"==t.multiUnitType?(e.openBlock(),e.createElementBlock("text",{key:0},"采购单价: ¥"+e.toDisplayString(Number(t.oneUnitPrice).toFixed(2)),1)):e.createCommentVNode("",!0),"1"==t.multiUnitType?(e.openBlock(),e.createElementBlock("text",{key:1},"采购单位: "+e.toDisplayString(t.oneUnit),1)):e.createCommentVNode("",!0),"2"==t.multiUnitType?(e.openBlock(),e.createElementBlock("text",{key:2},"采购单价: ¥"+e.toDisplayString(Number(t.twoUnitPrice).toFixed(2)),1)):e.createCommentVNode("",!0),"2"==t.multiUnitType?(e.openBlock(),e.createElementBlock("text",{key:3},"采购单位: "+e.toDisplayString(t.twoUnit),1)):e.createCommentVNode("",!0),"3"==t.multiUnitType?(e.openBlock(),e.createElementBlock("text",{key:4},"采购单价: ¥"+e.toDisplayString(Number(t.referenceUnitPrice).toFixed(2)),1)):e.createCommentVNode("",!0),"3"==t.multiUnitType?(e.openBlock(),e.createElementBlock("text",{key:5},"采购单位: "+e.toDisplayString(t.materialUnits),1)):e.createCommentVNode("",!0)]),e.createElementVNode("view",null,[e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(t.kcsl),1),e.createElementVNode("text",null,"库存数量")]),e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(t.upperLimit),1),e.createElementVNode("text",null,"物料上限 ↑")]),e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(t.lowerLimit),1),e.createElementVNode("text",null,"↓ 物料下限")])])]),e.createElementVNode("view",{class:"add",onClick:e.withModifiers((e=>c(t,l)),["stop"])},[1==t.isAdd?(e.openBlock(),e.createElementBlock("view",{key:0},"已添加")):e.createCommentVNode("",!0),e.createElementVNode("image",{src:"/static/index/procurement/+.png",mode:"aspectFill"},null,8,["src"])],8,["onClick"]),e.createElementVNode("view",{class:e.normalizeClass(["zkadd guodu",1==t.isAdd?"zkf":""])},[e.createElementVNode("view",{onClick:e.withModifiers((e=>((e,t)=>{r("crk",e,t)})(t,l)),["stop"]),onTouchend:i[0]||(i[0]=e.withModifiers((()=>{}),["stop"]))},"出入库",40,["onClick"]),1!=t.isAdd?(e.openBlock(),e.createElementBlock("view",{key:0,onClick:e.withModifiers((e=>c(t,l)),["stop"]),onTouchend:i[1]||(i[1]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",null," 加购物车 ")],40,["onClick"])):e.createCommentVNode("",!0)],2)],40,["onTouchend","onTouchstart","scroll-left"])])))),128))]),e.createElementVNode("view",{style:{height:"3vw",width:"100%",display:"flex","align-items":"center","justify-content":"center"}},[t.InvoicingList.length>6?(e.openBlock(),e.createBlock(v,{key:0,status:t.status,loadText:{nomore:"暂无更多数据"}},null,8,["status"])):e.createCommentVNode("",!0)])],32)])}}}),[["__scopeId","data-v-16a55bef"]]),nl=s(e.defineComponent({__name:"details",props:{InvoicingList:{type:Array,required:!0},status:{type:String},show:{type:Boolean,default:!1,required:!0}},emits:["addcartory","tolower","solleft"],setup(t,{emit:l}){const a=t;e.watch((()=>a.show),(()=>{0==a.show&&(a.InvoicingList[0].scrollleft=0)}));const i=l,r=e.ref("");e.onMounted((()=>{r.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"})),e.ref(!0);const n=()=>{i("tolower")},o=e.ref({}),c=e.ref(0),s=e.ref(0),d=(e,t)=>{a.InvoicingList.forEach(((e,l)=>{l!=t&&1==e.zk&&(e.zk=!1,e.scrollleft=0)}))};return(l,a)=>(e.openBlock(),e.createElementBlock("view",null,[t.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:"qbkyj"},[e.createElementVNode("view",{class:"titletop"},"详情"),e.createElementVNode("view",{"scroll-y":"true",class:"crdcroll","scroll-with-animation":"",onScrolltolower:n},[e.createElementVNode("view",{class:"fler"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.InvoicingList,((t,l)=>(e.openBlock(),e.createElementBlock("scroll-view",{class:"carditem guodu",key:l,onTouchend:e=>((e,t,l)=>{var a;let i=e.changedTouches[0].pageY,r=e.changedTouches[0].pageX,n=Math.abs(r-c.value),d=Math.abs(i-s.value);if(d>30&&n+10<d&&n<70)0==t.zk&&setTimeout((()=>{t.scrollleft=0}),20);else{if(n<10&&d<10)return 0==t.zk&&n>2&&d>2?void(t.scrollleft=0):void 0;o.value=t,o.value.Limitnum=Number(null==(a=o.value)?void 0:a.upperLimit)-Number(o.value.kcsl),o.value.index=l,t.zk=!(r>c.value),t.scrollleft=t.zk?180:0}})(e,t,l),onTouchstart:e=>((e,t,l)=>{c.value=e.changedTouches[0].pageX,s.value=e.changedTouches[0].pageY,d(t,l)})(e,t,l),"scroll-with-animation":"","scroll-x":"true","scroll-left":t.scrollleft},[e.createElementVNode("view",{class:e.normalizeClass(["speitem guodu",t.zk?"spleft":""])},[e.createElementVNode("image",{src:t.materialImg?r.value+t.materialImg:"/static/index/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"cardp"},[t.categoryId_dictText?(e.openBlock(),e.createElementBlock("view",{key:0},e.toDisplayString(t.categoryId_dictText),1)):e.createCommentVNode("",!0),t.typeId_dictText?(e.openBlock(),e.createElementBlock("view",{key:1},e.toDisplayString(t.typeId_dictText),1)):e.createCommentVNode("",!0),t.medicationId_dictText?(e.openBlock(),e.createElementBlock("view",{key:2},e.toDisplayString(t.medicationId_dictText),1)):e.createCommentVNode("",!0)])],2),e.createElementVNode("view",{class:"msitem guodu"},[e.createElementVNode("view",null,[e.createElementVNode("view",null,e.toDisplayString(t.materialName),1),e.createElementVNode("text",null,e.toDisplayString(t.materialNo),1)]),e.createElementVNode("view",null,[e.createElementVNode("text",null," 规格型号: "+e.toDisplayString(t.specificationModel),1)]),e.createElementVNode("view",null,["1"==t.multiUnitType?(e.openBlock(),e.createElementBlock("text",{key:0},"采购单价: ¥"+e.toDisplayString(Number(t.oneUnitPrice).toFixed(2)),1)):e.createCommentVNode("",!0),"1"==t.multiUnitType?(e.openBlock(),e.createElementBlock("text",{key:1},"采购单位: "+e.toDisplayString(t.oneUnit),1)):e.createCommentVNode("",!0),"2"==t.multiUnitType?(e.openBlock(),e.createElementBlock("text",{key:2},"采购单价: ¥"+e.toDisplayString(Number(t.twoUnitPrice).toFixed(2)),1)):e.createCommentVNode("",!0),"2"==t.multiUnitType?(e.openBlock(),e.createElementBlock("text",{key:3},"采购单位: "+e.toDisplayString(t.twoUnit),1)):e.createCommentVNode("",!0),"3"==t.multiUnitType?(e.openBlock(),e.createElementBlock("text",{key:4},"采购单价: ¥"+e.toDisplayString(Number(t.referenceUnitPrice).toFixed(2)),1)):e.createCommentVNode("",!0),"3"==t.multiUnitType?(e.openBlock(),e.createElementBlock("text",{key:5},"采购单位: "+e.toDisplayString(t.materialUnits),1)):e.createCommentVNode("",!0)]),e.createElementVNode("view",null,[e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(t.kcsl),1),e.createElementVNode("text",null,"库存数量")]),e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(t.upperLimit),1),e.createElementVNode("text",null,"物料上限 ↑")]),e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(t.lowerLimit),1),e.createElementVNode("text",null,"↓ 物料下限")])])]),e.createElementVNode("view",{class:"add",onClick:e.withModifiers((e=>((e,t)=>{var l;o.value=e,o.value.Limitnum=Number(null==(l=o.value)?void 0:l.upperLimit)-Number(o.value.kcsl),o.value.index=t,o.value.yj=!0,1==e.zk?(e.zk=!1,e.scrollleft=0):(e.zk=!0,e.scrollleft=180),d(e,t)})(t,l)),["stop"])},[1==t.isAdd?(e.openBlock(),e.createElementBlock("view",{key:0},"已添加")):e.createCommentVNode("",!0),e.createElementVNode("image",{class:"guodu",style:e.normalizeStyle(t.zk?"transform: rotate(180deg);":""),src:"/static/index/procurement/l.png",mode:"aspectFill"},null,12,["src"])],8,["onClick"]),e.createElementVNode("view",{class:e.normalizeClass(["zkadd guodu",1==t.isAdd?"zkf":""])},[e.createElementVNode("view",{onClick:a[0]||(a[0]=e.withModifiers((()=>{}),["stop"])),onTouchend:a[1]||(a[1]=e.withModifiers((()=>{}),["stop"]))},"出入库",32),1!=t.isAdd?(e.openBlock(),e.createElementBlock("view",{key:0,onClick:e.withModifiers((e=>{i("addcartory",o.value)}),["stop"]),onTouchend:a[2]||(a[2]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",null," 加购物车 ")],40,["onClick"])):e.createCommentVNode("",!0)],2)],40,["onTouchend","onTouchstart","scroll-left"])))),128))])],32)])):e.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-5bb14d27"]]);const ol=s({props:{crk:!1},data:()=>({})},[["render",function(t,l,a,i,r,n){return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:e.normalizeClass(["crkcard guodu",a.crk?"":"uncrkcard"])},[e.createElementVNode("view",{class:"titletop"}," 出入库 "),e.createElementVNode("view",{class:"select"},[e.createElementVNode("view",null,[e.createElementVNode("view",null,"全部"),e.createElementVNode("view",null,[e.createTextVNode("日期从近到远 "),e.createElementVNode("image",{src:"/static/index/hulilist/xia.png",mode:"aspectFill"})])]),e.createElementVNode("view",null,[e.createElementVNode("text",null,"总计:100笔"),e.createElementVNode("text",null,"出库:50"),e.createElementVNode("text",null,"入库:50")])]),e.createElementVNode("scroll-view",{"scroll-y":"true",class:"crkscroll"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(15,((t,l)=>e.createElementVNode("view",{class:"cgrk",key:l},[e.createElementVNode("view",null,[e.createElementVNode("text",null,"采购入库"),e.createElementVNode("text",null,"服务指令:生活用品请领"),e.createElementVNode("text",null,"2025-02-13 17:29:18")]),e.createElementVNode("view",null,[e.createElementVNode("text",{class:e.normalizeClass(l>5?"c":"l")},"+50",2),e.createElementVNode("text",null,"库存:96"),e.createElementVNode("text",null,"摘要:服务指令")])]))),64))])],2)])}],["__scopeId","data-v-461dc378"]]);const cl=s({props:{show:!1},methods:{add(){var e;(e={nuId:uni.getStorageSync("nuId")},p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/addWaringAll`,method:"post",data:e})).then((e=>{uni.showToast({icon:e.success?"success":"none",title:e.message}),setTimeout((()=>{this.$emit("config")}),1800)}))}}},[["render",function(t,l,a,i,r,n){return e.openBlock(),e.createElementBlock("view",null,[a.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:"addall"},[e.createElementVNode("view",null,"温馨提示"),e.createElementVNode("view",null,[e.createElementVNode("image",{src:Ft,mode:"aspectFill"})]),e.createElementVNode("view",null,"确认将所有未添加状态的库存预警物料添加至购物车中,并且物料的采购数量为物料的库存上限减去库存数量!"),e.createElementVNode("view",null,[e.createElementVNode("view",{onClick:l[0]||(l[0]=e=>t.$emit("back"))},"取消"),e.createElementVNode("view",{class:"qd",onClick:l[1]||(l[1]=e=>n.add())},"确定")])])):e.createCommentVNode("",!0)])}],["__scopeId","data-v-f503f01c"]]),sl=s(e.defineComponent({__name:"material",setup(t){const a=e.ref(!0),i=e.ref(!1),n=e.ref(!1),c=e.ref(!1),s=e.ref(!1),d=e.ref(!1),u=e.ref(!1);e.ref(!1);const m=e.ref(0),v=e.ref([]),g=e.ref({}),w=e.ref("loading"),h=e.ref("loading"),y=e.ref(0),N=e.ref(""),f=e.reactive({nuId:uni.getStorageSync("nuId"),pageNo:1,pageSize:10,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",isWaring:0,suppliers:""}),E=e.reactive({nuId:uni.getStorageSync("nuId"),pageNo:1,pageSize:10,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",isWaring:1}),V=e.ref();o((()=>{N.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"})),r((()=>{b(),e.nextTick((()=>{F()}))}));const x=e.ref([]),k=()=>{Mt(E).then((e=>{l("log","at pages/procurement/material.vue:179",e.result),e.result.records.forEach((e=>{e.zk=!1,e.scrollleft=0})),x.value.push(...e.result.records),h.value=e.result.total==x.value.length?"nomore":"loadmore",C.value=e.result.total!=x.value.length}))},b=()=>{f.pageNo=1,E.pageNo=1,x.value=[],v.value=[],m.value=0,T(),U(),k()},S=e.ref(0),T=()=>{let e={nuId:f.nuId,pageNo:1,pageSize:1};qt(e).then((e=>{S.value=e.result.total}))},C=e.ref(!0),B=e.ref(!0),D=e=>{if(1==e){if(0==C.value)return;C.value=!1,h.value="loading",E.pageNo++,k()}else{if(0==B.value)return;w.value="loading",B.value=!1,f.pageNo++,U()}},z=()=>{c.value=!1,n.value=!1},I=e=>{f.categoryId=e.categoryId,f.typeId=e.typeId,f.medicationId=e.medicationId,f.suppliers=e.suppliers,f.pageNo=1,v.value=[],U(),z()},F=()=>{f.categoryId="",f.typeId="",f.medicationId="",f.suppliers="",f.pageNo=1,f.wlParamInfo="",v.value=[],V.value.typescroll(1,-1,{}),V.value.qingkong(),V.value.config()},_=e=>{0===e&&(f.wlParamInfo=""),f.pageNo=1,v.value=[],U()},U=()=>{l("log","at pages/procurement/material.vue:265",f),Mt(f).then((e=>{e.result.records.forEach((e=>{e.zk=!1,e.scrollleft=0})),v.value.push(...e.result.records),w.value=e.result.total==v.value.length?"nomore":"loadmore",B.value=e.result.total!=v.value.length}))},$=e=>{l("log","at pages/procurement/material.vue:277",e),g.value=e,n.value=!0},M=e=>{Number(g.value.upperLimit)-Number(g.value.kcsl)==g.value.Limitnum&&1==e||1==g.value.Limitnum&&-1==e||(g.value.Limitnum+=e)},L=(e,t,l)=>{A(t,e,l)},j=e.ref(!0),A=(e,t,a)=>{if(0==j.value)return;if("1"==g.value.izEnabled)return void uni.showToast({icon:"none",title:"该物料已关闭,无法采购~"});j.value=!1;let i={nuId:f.nuId,purchaseQuantity:t,suppliersId:e.id,suppliersName:e.name,wlId:g.value.wlId,kcsl:g.value.kcsl,wlUnits:a.unit,referenceUnitPrice:a.price,dhbl:a.num};var r;l("log","at pages/procurement/material.vue:322",i),(r=[i],p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/addShoppingCartList`,method:"post",data:r})).then((e=>{uni.showToast({icon:e.success?"success":"none",title:e.message}),setTimeout((()=>{j.value=!0,e.success&&(n.value=!1,T(),g.value.yj?x.value[g.value.index].isAdd=1:v.value[g.value.index].isAdd=1)}),700)}))},P=e.ref(0),q=e.ref(0),O=e.ref(null),W=(e,t)=>{u.value=!0};return(t,r)=>(e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:"serchs guodu",style:e.normalizeStyle(a.value?"":"width:95vw")},[e.createElementVNode("view",{class:"ipt"},[e.withDirectives(e.createElementVNode("input",{type:"text",placeholder:"物料名称/物料编码/物料简拼","onUpdate:modelValue":r[0]||(r[0]=e=>f.wlParamInfo=e),onConfirm:_},null,544),[[e.vModelText,f.wlParamInfo]]),f.wlParamInfo?(e.openBlock(),e.createElementBlock("image",{key:0,src:Xt,mode:"aspectFill",onClick:r[1]||(r[1]=e=>_(0))})):e.createCommentVNode("",!0)]),e.createElementVNode("view",{onClick:_,class:"scr guodu"}," 检索 "),e.createElementVNode("view",{class:"shx guodu",onClick:r[2]||(r[2]=e=>c.value=!0)},[e.createElementVNode("image",{src:Qt,mode:"aspectFill"}),e.createTextVNode(" 筛选 ")]),""!=f.categoryId||""!=f.wlParamInfo||""!=f.suppliers?(e.openBlock(),e.createElementBlock("view",{key:0,class:"shx guodu",onClick:F},[e.createElementVNode("image",{src:Zt,mode:"aspectFill"}),e.createTextVNode(" 重置 ")])):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"back guodu",onClick:r[3]||(r[3]=e=>uni.navigateBack())},[e.createElementVNode("image",{src:Ht,mode:"aspectFill"}),e.createTextVNode(" 返回 ")])],4),e.createElementVNode("view",{class:"kcyj"},[e.createElementVNode("view",{class:"kjlt",onClick:r[4]||(r[4]=e=>a.value=!a.value)}," 库存预警 "),e.createElementVNode("scroll-view",{"scroll-x":"true",class:"kcscrol guodu",style:e.normalizeStyle(a.value?i.value?"width:46.4vw":"width:54.4vw":(i.value,"width:91vw")),"scroll-with-animation":"","scroll-top":y.value,onScrolltolower:r[5]||(r[5]=e=>D(1))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.value,((t,a)=>(e.openBlock(),e.createElementBlock("view",{class:"yjbox",key:a,onClick:e=>((e,t)=>{const a=Date.now();if(P.value=t,a-q.value<300){if(clearTimeout(O.value),1==e.isAdd)return;g.value=e,g.value.index=t,g.value.yj=!0,$(g.value),q.value=0}else O.value=setTimeout((()=>{g.value=e,g.value.index=t,g.value.yj=!0,d.value=!0,l("log","at pages/procurement/material.vue:370","11111111")}),300),q.value=a})(t,a)},[e.createElementVNode("image",{src:t.materialImg?N.value+t.materialImg:"/static/index/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",null,e.toDisplayString(t.materialName),1),1==t.isAdd?(e.openBlock(),e.createElementBlock("text",{key:0,class:"ytj"},"已添加")):e.createCommentVNode("",!0)],8,["onClick"])))),128))],44,["scroll-top"]),e.createElementVNode("view",{class:"kjlt more guodu",style:e.normalizeStyle(i.value?"width:11.2vw":"")},[e.createElementVNode("view",{onClick:r[6]||(r[6]=e=>{i.value=!i.value,m.value=0}),class:"righ0"},[e.createTextVNode(e.toDisplayString(i.value?"收起":"更多")+" ",1),e.createElementVNode("image",{class:"guodu",style:e.normalizeStyle(i.value?"transform: rotate(180deg);":""),src:"/static/index/procurement/zjt.png",mode:"aspectFill"},null,4)]),e.createElementVNode("view",{class:e.normalizeClass(["guodu",i.value?1==m.value?"avt":"":"righ0"]),onClick:r[7]||(r[7]=e=>{m.value=1,s.value=!0})},"查看全部",2),e.createElementVNode("view",{class:e.normalizeClass(["guodu",i.value?2==m.value?"avt":"":"righ0"]),onClick:r[8]||(r[8]=e=>m.value=2)},"添加全部",2)],4),e.createElementVNode("view",{class:"kaprght"},[e.createElementVNode("view",{class:"ksfw guodu",style:e.normalizeStyle(a.value?"":"right: -38vw !important;")},[e.createElementVNode("view",{class:"lcar"},[e.createElementVNode("image",{src:"/static/index/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"nm"},"纸尿裤-拉拉裤纸拉拉裤纸拉拉裤纸拉拉裤纸")]),e.createElementVNode("view",{class:"rcar"},[e.createElementVNode("view",{class:"wul"},"物料采购"),e.createElementVNode("view",{class:"tm"},"10:00 - 10:10"),e.createElementVNode("view",{class:"zhxng"},[e.createElementVNode("view",null,[e.createElementVNode("image",{src:"/static/index/procurement/xz.png",mode:"aspectFill"}),e.createElementVNode("text",null,"协助执行")]),e.createElementVNode("view",null,[e.createElementVNode("image",{src:"/static/index/procurement/ap.png",mode:"aspectFill"}),e.createElementVNode("text",null,"王金福 / 李贵田")])]),e.createElementVNode("view",{class:"shjs"},[e.createElementVNode("view",{class:"iacts"},"开始服务"),e.createElementVNode("view",null,"服务结束")]),e.createElementVNode("view",{class:"jx"},[e.createElementVNode("image",{src:"/static/index/procurement/l0.png",mode:"aspectFill"}),e.createElementVNode("text",null,"待进行")])])],4)])]),e.createElementVNode("view",{class:"listcard"},[e.createVNode(rl,{InvoicingList:v.value,onAddcartory:$,onScrolltolower:D,status:w.value,onCrk:W},null,8,["InvoicingList","status"])]),e.createElementVNode("view",{class:"fiedright"},[e.createElementVNode("view",{onClick:r[9]||(r[9]=e=>uni.navigateTo({url:"/pages/procurement/materialcar"}))},[e.createElementVNode("image",{src:"/static/index/procurement/gc1.png",mode:"aspectFill"}),S.value>0?(e.openBlock(),e.createElementBlock("text",{key:0},e.toDisplayString(S.value>99?"99+":S.value),1)):e.createCommentVNode("",!0)]),e.createElementVNode("view",{onClick:r[10]||(r[10]=e=>uni.navigateTo({url:"/pages/procurement/purchaseorder"}))},[e.createElementVNode("image",{src:"/static/index/procurement/cg.png",mode:"aspectFill"})])]),n.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mengban",style:{"z-index":"119"},onClick:z})):e.createCommentVNode("",!0),e.createVNode(Kt,{show:n.value,onJjnum:M,caigouobj:g.value,onColse:z,onRight:L},null,8,["show","caigouobj"]),c.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"mengban",onClick:z})):e.createCommentVNode("",!0),e.createVNode(el,{onConfirm:I,show:c.value,typenum:0,ref_key:"classication",ref:V},null,8,["show"]),s.value?(e.openBlock(),e.createElementBlock("view",{key:2,class:"mengban",onClick:r[11]||(r[11]=e=>{s.value=!1,m.value=0})})):e.createCommentVNode("",!0),e.createVNode(il,{onAddcartory:$,show:s.value,InvoicingList:x.value,status:h.value,onTolower:r[12]||(r[12]=e=>D(1))},null,8,["show","InvoicingList","status"]),d.value?(e.openBlock(),e.createElementBlock("view",{key:3,class:"mengban",onClick:r[13]||(r[13]=e=>d.value=!1)})):e.createCommentVNode("",!0),e.createVNode(nl,{InvoicingList:[g.value],onAddcartory:$,show:d.value},null,8,["InvoicingList","show"]),u.value?(e.openBlock(),e.createElementBlock("view",{key:4,class:"mengban",onClick:r[14]||(r[14]=e=>u.value=!1)})):e.createCommentVNode("",!0),e.createVNode(ol,{crk:u.value},null,8,["crk"]),2==m.value?(e.openBlock(),e.createElementBlock("view",{key:5,class:"mengban",onClick:r[15]||(r[15]=e=>m.value=0)})):e.createCommentVNode("",!0),e.createVNode(cl,{show:2==m.value,onBack:r[16]||(r[16]=e=>m.value=0),onConfig:b},null,8,["show"])]))}}),[["__scopeId","data-v-9d3f4c8e"]]),dl=s(e.defineComponent({__name:"carlist",props:{InvoicingList:{type:Array,required:!0},status:{type:String},show:{type:Boolean,default:!1,required:!0}},emits:["addcartory","scrolltolower","delindex"],setup(t,{emit:l}){const i=t,r=l,n=e.ref("");e.onMounted((()=>{n.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"}));const o=e.ref({}),c=e.ref(0),s=e.ref(0),d=(e,t)=>{i.InvoicingList.forEach(((e,l)=>{l!=t&&1==e.zk&&(e.zk=!1,e.scrollleft=0)}))};e.ref(0);const u=e=>{};return(l,i)=>{const m=a(e.resolveDynamicComponent("u-loadmore"),al);return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("scroll-view",{"scroll-y":"true",class:"crdcroll","scroll-with-animation":"",onScrolltolower:i[2]||(i[2]=e=>{r("scrolltolower")}),"enable-back-to-top":""},[e.createElementVNode("view",{class:"box"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.InvoicingList,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"fler",key:l,onClick:e=>t.flag=!t.flag},[e.createElementVNode("view",{class:"jiao guodu"},[e.createElementVNode("image",{src:t.flag?"/static/index/procurement/lxz.png":"/static/index/procurement/jxz.png",mode:"aspectFill",class:"jao guodu"},null,8,["src"]),e.createElementVNode("image",{src:"/static/index/procurement/dh.png",mode:"aspectFill",class:"dui"})]),e.createElementVNode("scroll-view",{class:e.normalizeClass(["carditem guodu",t.flag?"actve":""]),onTouchend:e=>((e,t,l)=>{var a;let i=e.changedTouches[0].pageY,r=e.changedTouches[0].pageX,n=Math.abs(r-c.value),d=Math.abs(i-s.value);if(d>30&&n+10<d&&n<70)0==t.zk&&setTimeout((()=>{t.scrollleft=0}),20);else{if(n<10&&d<10)return 0==t.zk&&n>2&&d>2?void(t.scrollleft=0):void 0;o.value=t,o.value.Limitnum=Number(null==(a=o.value)?void 0:a.upperLimit)-Number(o.value.kcsl),o.value.index=l,o.value.yj=!1,t.zk=!(r>c.value),t.scrollleft=t.zk?150:0}})(e,t,l),onTouchstart:e=>((e,t,l)=>{c.value=e.changedTouches[0].pageX,s.value=e.changedTouches[0].pageY,d(t,l)})(e,t,l),"scroll-with-animation":"","scroll-x":"true","scroll-left":t.scrollleft,onScroll:u},[e.createElementVNode("view",{class:"speitem guodu"},[e.createElementVNode("image",{src:t.materialImg?n.value+t.materialImg:"/static/index/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"cardp"},[t.categoryId_dictText?(e.openBlock(),e.createElementBlock("view",{key:0},e.toDisplayString(t.categoryId_dictText),1)):e.createCommentVNode("",!0),t.typeId_dictText?(e.openBlock(),e.createElementBlock("view",{key:1},e.toDisplayString(t.typeId_dictText),1)):e.createCommentVNode("",!0),t.medicationId_dictText?(e.openBlock(),e.createElementBlock("view",{key:2},e.toDisplayString(t.medicationId_dictText),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("view",{class:"msitem guodu"},[e.createElementVNode("view",null,[e.createElementVNode("view",null,e.toDisplayString(t.wlName),1),e.createElementVNode("text",null,e.toDisplayString(t.wlMaterialNo),1)]),e.createElementVNode("view",null,[e.createElementVNode("text",{style:{"white-space":"nowrap"}}," 规格型号: "+e.toDisplayString(t.wlSpecificationModel),1)]),e.createElementVNode("view",null,[t.wlUnits==t.materialUnits?(e.openBlock(),e.createElementBlock("text",{key:0},"采购单价: ¥"+e.toDisplayString(Number(t.unitPrice).toFixed(2)),1)):e.createCommentVNode("",!0),t.wlUnits==t.twoUnit?(e.openBlock(),e.createElementBlock("text",{key:1},"采购单价: ¥"+e.toDisplayString(Number(t.twoUnitPrice).toFixed(2)),1)):e.createCommentVNode("",!0),t.wlUnits==t.oneUnit?(e.openBlock(),e.createElementBlock("text",{key:2},"采购单价: ¥"+e.toDisplayString(Number(t.oneUnitPrice).toFixed(2)),1)):e.createCommentVNode("",!0),e.createElementVNode("text",null,"采购单位: "+e.toDisplayString(t.wlUnits),1)]),e.createElementVNode("view",null,[e.createElementVNode("text",null,"供应商: "+e.toDisplayString(t.suppliersName),1)]),e.createElementVNode("view",null,[e.createElementVNode("view",{style:{"align-items":"flex-start"}},[e.createElementVNode("text",{style:{color:"#1083F8"}},e.toDisplayString(t.purchaseQuantity),1),e.createElementVNode("text",{style:{color:"#1083F8"}},"采购数量")]),e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(t.kcsl?t.kcsl:"0"),1),e.createElementVNode("text",null,"库存数量")]),e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(t.wlUpperLimit),1),e.createElementVNode("text",null,"物料上限 ↑")]),e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(t.wlLowerLimit),1),e.createElementVNode("text",null,"↓ 物料下限")])])]),e.createElementVNode("view",{class:"add",onClick:e.withModifiers((e=>((e,t)=>{1==e.zk?(e.zk=!1,e.scrollleft=0):(e.zk=!0,e.scrollleft=150),d(e,t)})(t,l)),["stop"])},[e.createElementVNode("image",{class:"guodu",style:e.normalizeStyle(t.zk?"transform: rotate(180deg);":""),src:"/static/index/procurement/l.png",mode:"aspectFill"},null,12,["src"])],8,["onClick"]),e.createElementVNode("view",{class:e.normalizeClass(["zkadd guodu",1==t.isAdd?"zkf":""])},[e.createElementVNode("view",{onClick:e.withModifiers((e=>((e,t)=>{o.value=e,o.value.index=t,r("addcartory",o.value)})(t,l)),["stop"]),onTouchend:i[0]||(i[0]=e.withModifiers((()=>{}),["stop"]))},"编辑",40,["onClick"]),1!=t.isAdd?(e.openBlock(),e.createElementBlock("view",{key:0,onClick:e.withModifiers((e=>((e,t)=>{r("delindex",e,t)})(t,l)),["stop"]),onTouchend:i[1]||(i[1]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",null," 删除 ")],40,["onClick"])):e.createCommentVNode("",!0)],2)],42,["onTouchend","onTouchstart","scroll-left"])],8,["onClick"])))),128))]),e.createElementVNode("view",{style:{height:"3vw",width:"100%",display:"flex","align-items":"center","justify-content":"center"}},[t.InvoicingList.length>6?(e.openBlock(),e.createBlock(m,{key:0,status:t.status,loadText:{nomore:"暂无更多数据"}},null,8,["status"])):e.createCommentVNode("",!0)])],32)])}}}),[["__scopeId","data-v-39df59f1"]]);const ul=s({props:{cont:""}},[["render",function(t,l,a,i,r,n){return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:"que"},[e.createElementVNode("image",{src:zt,mode:"aspectFill"}),e.createElementVNode("view",null,e.toDisplayString(a.cont),1)])])}],["__scopeId","data-v-41758cce"]]),ml=s(e.defineComponent({__name:"purorder",props:{arrlist:{type:Array,default:[]},show:{type:Boolean,default:!1}},emits:["cloe","config"],setup(t,{emit:a}){const i=a,r=e.ref(0),n=e.ref(0),o=e.ref(0),c=e.reactive({nuId:"",pageNo:1,pageSize:9,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",cgdId:"",isWaring:0,canpull:!0}),s=t,d=e.ref([]),u=e.ref("");e.onMounted((()=>{u.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"})),e.watch((()=>s.show),(()=>{var e;1==s.show&&(l("log","at pages/procurement/components/purorder.vue:205",s.arrlist),(e=s.arrlist,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/generatedPurchaseViewOrder`,method:"post",data:e})).then((e=>{l("log","at pages/procurement/components/purorder.vue:207",e.result),d.value=e.result})))}));const m=e.ref(0),v=e=>{m.value=e.detail.scrollTop},g=e.ref(!0),w=()=>{var e;0!=g.value&&(g.value=!1,(e=d.value,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/generatedPurchaseOrder`,method:"post",data:e})).then((e=>{uni.showToast({icon:e.success?"success":"error",title:e.message}),setTimeout((()=>{e.success&&(i("config"),g.value=!0)}),700)})))};return(l,a)=>{var s,p;return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:"purbox guodu",style:e.normalizeStyle(t.show?"top:6vh":"top:-99vh")},[e.createElementVNode("view",{class:"lfitem"},[e.createElementVNode("scroll-view",{"scroll-y":"true","scroll-with-animation":"",class:"left-menu-scroll","scroll-top":r.value},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"pls-card",key:l,onClick:t=>(t=>{let l=Math.ceil(t+1);r.value=186*(l-2),o.value=t,n.value=0,c.cgdId=d.value[t].id,c.pageNo=1,c.canpull=!0,n.value=m.value,e.nextTick((()=>{n.value=0}))})(l),style:e.normalizeStyle({borderColor:l==o.value?"":"#fff",marginTop:0==l?"2vw":""})},[e.createElementVNode("view",{class:"pls-card-title"},[e.createElementVNode("view",{class:"title-left"},e.toDisplayString(t.cgdNo),1),e.createElementVNode("view",{class:"title-right"},[e.createElementVNode("text",{style:{position:"absolute",bottom:"4rpx",left:"-30rpx"}}," ¥ "),e.createElementVNode("view",{class:"title-right-big"},e.toDisplayString(Number(t.totalPrice).toFixed(2)),1)])]),e.createElementVNode("view",{class:"pls-card-middle"},[e.createElementVNode("view",{class:"middle-heng"}),e.createElementVNode("view",{class:"pls-card-middle-one"},[e.createElementVNode("view",{class:"middle-title"},e.toDisplayString(t.qgDate),1),e.createElementVNode("view",{class:"middle-heng-father"},[e.createElementVNode("image",{class:"middle-ball-img",src:de})]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",null," 采购 "),e.createElementVNode("view",{style:{"font-size":"25rpx"}}," [ "+e.toDisplayString(t.qgBy)+" ] ",1)])]),e.createElementVNode("view",{class:"pls-card-middle-one"},[e.createElementVNode("view",{class:"middle-title"},e.toDisplayString(1==Number(t.status)?"":t.jhTime),1),e.createElementVNode("view",{class:"middle-heng-father"},[e.createElementVNode("view",{class:"middle-ball",style:{"background-color":"#1083F8"}})]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",null," 拣货 "),1==Number(t.status)?(e.openBlock(),e.createElementBlock("view",{key:0,style:{"font-size":"25rpx"}}," [ "+e.toDisplayString(t.jhBy)+" ] ",1)):e.createCommentVNode("",!0)])]),e.createElementVNode("view",{class:"pls-card-middle-one"},[e.createElementVNode("view",{class:"middle-title"},e.toDisplayString(t.wjTime),1),e.createElementVNode("view",{class:"middle-heng-father"},[e.createElementVNode("view",{class:"middle-ball"})]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",null," 完结 ")])])]),e.createElementVNode("view",{class:"pls-card-end"},[e.createElementVNode("view",{class:"end-left"},[e.createElementVNode("image",{class:"end-left-img",src:Tt}),e.createElementVNode("view",{class:"end-left-font"},e.toDisplayString(t.gysName),1)])])],12,["onClick"])))),128))],8,["scroll-top"])]),e.createElementVNode("view",{class:"rigitem"},[e.createElementVNode("scroll-view",{"scroll-y":"true",class:"crdcroll","scroll-with-animation":"","enable-back-to-top":"",onScroll:v,"scroll-top":n.value},[e.createElementVNode("view",{style:{height:"2vw"}}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(null==(s=d.value[o.value])?void 0:s.cgdInfoList,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"fler",key:l},[e.createElementVNode("view",{class:"speitem guodu"},[e.createElementVNode("image",{src:t.materialImg?u.value+t.materialImg:"/static/index/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"cardp"},[t.categoryName?(e.openBlock(),e.createElementBlock("view",{key:0},e.toDisplayString(t.categoryName),1)):e.createCommentVNode("",!0),t.typeName?(e.openBlock(),e.createElementBlock("view",{key:1},e.toDisplayString(t.typeName),1)):e.createCommentVNode("",!0),t.medicationName?(e.openBlock(),e.createElementBlock("view",{key:2},e.toDisplayString(t.medicationName),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("view",{class:"msitem guodu"},[e.createElementVNode("view",null,[e.createElementVNode("view",null,e.toDisplayString(t.wlName),1),e.createElementVNode("text",null,e.toDisplayString(t.wlMaterialNo),1),e.createElementVNode("text",null,[e.createTextVNode("¥ "),e.createElementVNode("text",{class:"q"},e.toDisplayString(Number(t.totalPrice).toFixed(2)),1)])]),e.createElementVNode("view",{style:{"white-space":"nowrap"}},[e.createElementVNode("text",{style:{"white-space":"nowrap"}}," 规格型号: "+e.toDisplayString(t.wlSpecificationModel),1)]),e.createElementVNode("view",null,[e.createElementVNode("text",null,"采购单价: ¥"+e.toDisplayString(t.arrivalPrice?Number(t.arrivalPrice).toFixed(2):Number(t.procurementPrice).toFixed(2)),1),e.createElementVNode("text",null,"采购单位: "+e.toDisplayString(t.wlUnits),1)]),e.createElementVNode("view"),e.createElementVNode("view",null,[e.createElementVNode("view",{style:{"align-items":"flex-start"}},[e.createElementVNode("text",{style:{color:"#1083F8"}},e.toDisplayString(t.purchaseQuantity),1),e.createElementVNode("text",{style:{color:"#1083F8"}},"采购数量")]),e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(t.kcsl?t.kcsl:"0"),1),e.createElementVNode("text",null,"库存数量")]),e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(t.wlUpperLimit),1),e.createElementVNode("text",null,"物料上限 ↑")]),e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(t.wlLowerLimit),1),e.createElementVNode("text",null,"↓ 物料下限")])])])])))),128)),(null==(p=d.value[o.value])?void 0:p.cgdInfoList.length)>2?(e.openBlock(),e.createElementBlock("view",{key:0,style:{height:"1.5vw"}})):e.createCommentVNode("",!0)],40,["scroll-top"]),e.createElementVNode("view",{class:"anniubtn"},[e.createElementVNode("view",{class:"gb",onClick:a[0]||(a[0]=e=>i("cloe"))},"取消"),e.createElementVNode("view",{class:"scsgd",onClick:w},"生成采购单")])])],4)])}}}),[["__scopeId","data-v-0392037f"]]),vl=s(e.defineComponent({__name:"materialcar",setup(t){const a=e.ref(!1),i=e.ref(!1),n=e.ref({}),o=e.reactive({nuId:uni.getStorageSync("nuId"),pageNo:1,pageSize:-1,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",suppliers:""}),c=e.ref([]),s=e.ref("loading"),d=e.ref(0);r((()=>{v()}));const u=e.ref(),m=()=>{o.categoryId="",o.typeId="",o.medicationId="",o.suppliers="",o.pageNo=1,o.wlParamInfo="",c.value=[],u.value.typescroll(1,-1,{}),u.value.qingkong(),u.value.config()},v=()=>{qt(o).then((e=>{e.result.records.forEach(((e,t)=>{e.flag=!0,e.zk=!1,e.scrollleft=0})),l("log","at pages/procurement/materialcar.vue:106",e.result.records),c.value.push(...e.result.records),s.value=e.result.total==c.value.length?"nomore":"loadmore",N.value=e.result.total!=c.value.length}))},g=e=>{0===e&&(o.wlParamInfo=""),o.pageNo=1,c.value=[],v()},w=e=>{l("log","at pages/procurement/materialcar.vue:120",e),n.value=e,a.value=!0},h=e=>{o.categoryId=e.categoryId,o.typeId=e.typeId,o.medicationId=e.medicationId,o.suppliers=e.suppliers,o.pageNo=1,c.value=[],v(),i.value=!1},y=()=>{T.value=!1,g(1),setTimeout((()=>{uni.navigateTo({url:"/pages/procurement/purchaseorder"})}),1e3)},N=e.ref(!0),f=()=>{p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/emptiedQgInfo`,method:"DELETE"}).then((e=>{e.success&&(o.pageNo=1,c.value=[],m()),d.value=0}))},E=e.ref({}),V=(e,t)=>{d.value=2,e.index=t,E.value=e},x=()=>{let e=E.value.id;var t;(t=e,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/deleteQgInfoById?id=`+t,method:"DELETE"})).then((e=>{uni.showToast({icon:e.success?"success":"none",title:e.message}),setTimeout((()=>{e.success&&(c.value.splice(E.value.index,1),d.value=0,s.value=0==c.value.length?"nomore":"loadmore",u.value.getTreelnum())}),800)}))},k=(e,t,l)=>{S(t,e,l)},b=e.ref(!0),S=(e,t,i)=>{if(0==b.value)return;b.value=!1;let r={nuId:o.nuId,purchaseQuantity:t,suppliersId:e.id,suppliersName:e.name,id:n.value.id,wlId:n.value.wlId,kcsl:n.value.kcsl,wlUnits:i.unit,referenceUnitPrice:i.price,dhbl:i.num};var s;l("log","at pages/procurement/materialcar.vue:210",r),(s=r,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/eddShoppingCartList`,method:"post",data:s})).then((e=>{uni.showToast({icon:e.success?"success":"none",title:e.message}),setTimeout((()=>{b.value=!0,e.success&&(a.value=!1,o.pageNo=1,c.value=[],v())}),700)}))},T=e.ref(!1),C=e.ref([]),B=()=>{let e=[];c.value.forEach((t=>{t.flag&&e.push(t)})),C.value=e,0!=e.length?T.value=!0:uni.showToast({title:"请选择物料!",icon:"none"})};return(t,l)=>(e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:"serchs"},[e.createElementVNode("view",{class:"leftbtn"},[e.createElementVNode("view",{class:"ipt"},[e.withDirectives(e.createElementVNode("input",{type:"text",placeholder:"物料名称/物料编码/物料简拼","onUpdate:modelValue":l[0]||(l[0]=e=>o.wlParamInfo=e),onConfirm:l[1]||(l[1]=e=>g())},null,544),[[e.vModelText,o.wlParamInfo]]),o.wlParamInfo?(e.openBlock(),e.createElementBlock("image",{key:0,src:Xt,mode:"aspectFill",onClick:l[2]||(l[2]=e=>g(0))})):e.createCommentVNode("",!0)]),e.createElementVNode("view",{onClick:g,class:"scr"}," 检索 "),e.createElementVNode("view",{class:"shx",onClick:l[3]||(l[3]=e=>i.value=!0)},[e.createElementVNode("image",{src:Qt,mode:"aspectFill"}),e.createTextVNode(" 筛选 ")]),""!=o.categoryId||""!=o.wlParamInfo||""!=o.suppliers?(e.openBlock(),e.createElementBlock("view",{key:0,class:"shx",onClick:m},[e.createElementVNode("image",{src:Zt,mode:"aspectFill"}),e.createTextVNode(" 重置 ")])):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"rightbtn"},[e.createElementVNode("view",{onClick:l[4]||(l[4]=e=>d.value=1)},[e.createElementVNode("image",{src:"/static/index/procurement/del1.png",mode:"aspectFill"}),e.createTextVNode(" 清空 ")]),e.createElementVNode("view",{onClick:B},[e.createElementVNode("image",{src:"/static/index/procurement/procure01.png",mode:"aspectFill"}),e.createTextVNode(" 采购 ")]),e.createElementVNode("view",{class:"back",onClick:l[5]||(l[5]=e=>uni.navigateBack())},[e.createElementVNode("image",{src:Ht,mode:"aspectFill"}),e.createTextVNode(" 返回 ")])])]),e.createVNode(dl,{InvoicingList:c.value,status:s.value,onDelindex:V,onAddcartory:w},null,8,["InvoicingList","status"]),e.createVNode(_t,{show:1==d.value,font:"是否清空购物车?",onBack:l[6]||(l[6]=e=>d.value=0),onRight:l[7]||(l[7]=e=>f())},null,8,["show"]),e.createVNode(_t,{show:2==d.value,font:"是否删除此物料?",onBack:l[8]||(l[8]=e=>d.value=0),onRight:l[9]||(l[9]=e=>x())},null,8,["show"]),i.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mengban",onClick:l[10]||(l[10]=e=>i.value=!1)})):e.createCommentVNode("",!0),e.createVNode(el,{onConfirm:h,show:i.value,typenum:1,ref_key:"classication",ref:u},null,8,["show"]),"nomore"==s.value&&0==c.value.length?(e.openBlock(),e.createBlock(ul,{key:1,cont:"暂无数据"})):e.createCommentVNode("",!0),a.value?(e.openBlock(),e.createElementBlock("view",{key:2,class:"mengban",onClick:l[11]||(l[11]=e=>a.value=!1)})):e.createCommentVNode("",!0),e.createVNode(Kt,{show:a.value,caigouobj:n.value,onColse:l[12]||(l[12]=e=>a.value=!1),onRight:k},null,8,["show","caigouobj"]),T.value?(e.openBlock(),e.createElementBlock("view",{key:3,class:"mengban",onClick:l[13]||(l[13]=e=>T.value=!1)})):e.createCommentVNode("",!0),e.createVNode(ml,{arrlist:C.value,show:T.value,onCloe:l[14]||(l[14]=e=>T.value=!1),onConfig:y},null,8,["arrlist","show"])]))}}),[["__scopeId","data-v-c418a9ac"]]);const pl=s({onLoad(e){this.code=e.code},data:()=>({code:0})},[["render",function(t,l,a,i,r,n){return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{style:{width:"100%",height:"100vh",display:"flex","justify-content":"center","align-items":"center","font-size":"2vw"}},e.toDisplayString(0==r.code?"请领出库":"退货入库"),1)])}]]),gl=s(e.defineComponent({__name:"warehome",setup(t){const a=e.ref(0),i=e.ref(0),r=e.ref(null),n=e.ref(""),o=e=>{l("log","at pages/Warehouse/warehome.vue:48",e),a.value=e;const t=Date.now();t-i.value<300?(clearTimeout(r.value),1==e&&(n.value="pages/Warehouse/paymoney",uni.navigateTo({url:"/"+n.value})),0==e&&(n.value="pages/procurement/material",uni.navigateTo({url:"/"+n.value})),2==e&&(n.value="pages/Warehouse/picking",uni.navigateTo({url:"/"+n.value})),3===e&&uni.navigateTo({url:"/pages/watch/full"}),5===e&&uni.navigateTo({url:"/pages/watch/full"}),7==e&&(n.value="pages/procurement/outbound?code=0",uni.navigateTo({url:"/"+n.value})),8==e&&(n.value="pages/procurement/outbound?code=1",uni.navigateTo({url:"/"+n.value})),i.value=0):(r.value=setTimeout((()=>{}),300),i.value=t)};function c(e,t,l,a="png",i=0,r=!1){return Array.from({length:l},((l,n)=>{const o=r?String(n+i).padStart(2,"0"):n+i;return`${e}/${t}${o}.${a}`}))}const s=e.ref([{url:c("/static/index/warehouse/home/","Procurement",5,"png",0,!1),width:"22.3vw",height:"13.6vw"},{url:c("/static/index/warehouse/home","inventory",4,"png",0,!1),width:"11vw",height:"10vw"},{url:c("/static/index/warehouse/home","pick",4,"png",0,!1),width:"11vw",height:"9vw"},{url:c("/static/index/warehouse/home","unit1-",5,"png",0,!1),width:"14.3vw",height:"13vw"},{url:c("/static/index/warehouse/home","unit1-",5,"png",0,!1),width:"14.3vw",height:"13vw"},{url:c("/static/index/warehouse/home","unit11-",5,"png",0,!1),width:"14.3vw",height:"13vw"}]),d=e.reactive({url:c("/static/index/warehouse/home","logo",3,"png",1,!1)});return(t,l)=>{const i=e.resolveComponent("donghua");return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:"home tp"},[e.createElementVNode("image",{src:"/static/index/warehouse/home/Back2.jpg",mode:"aspectFill"})]),e.createElementVNode("view",{class:"contitem tp",onClick:l[0]||(l[0]=e=>a.value++)},[e.createElementVNode("image",{src:"/static/index/warehouse/home/warehouse.png",mode:"aspectFill"})]),e.createElementVNode("view",{class:"hldy tp"},[e.createVNode(i,{width:"16vw",height:"8.6vw",links:d.url,playing:!0},null,8,["links"])]),e.createElementVNode("view",{class:"route tp"},[e.createElementVNode("image",{src:"/static/index/warehouse/home/carrhate.gif",mode:"aspectFill",style:{"z-index":"4"}})]),e.createElementVNode("view",{class:"pulu1 tp"},[e.createElementVNode("image",{src:"/static/index/warehouse/home/pu1.png",mode:"aspectFill"}),e.createElementVNode("image",{src:"/static/index/warehouse/home/pu1.gif",mode:"aspectFill"})]),e.createElementVNode("view",{class:"pulu2 tp"},[e.createElementVNode("image",{src:"/static/index/warehouse/home/pu2.png",mode:"aspectFill"}),e.createElementVNode("image",{src:"/static/index/warehouse/home/pu2.gif",mode:"aspectFill"})]),e.createElementVNode("view",{class:"clikurlbox"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["tp","itemact"+(l+1)]),key:l,onClick:e=>o(l)},[e.createVNode(i,{width:t.width,height:t.height,links:t.url,playing:l==a.value},null,8,["width","height","links","playing"])],10,["onClick"])))),128))]),e.createElementVNode("view",{class:"cardtm"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(["采购","盘点","拣货","请领出库","退货入库","监控室"],((t,l)=>e.createElementVNode("view",{class:e.normalizeClass(["b",{actve:a.value==l}]),onClick:e=>o(l)},[e.createElementVNode("text"),e.createTextVNode(e.toDisplayString(t)+" ",1),e.createElementVNode("view",{class:"tp"},[e.createElementVNode("image",{src:"/static/index/warehouse/home/z.png",mode:""})])],10,["onClick"]))),64))])])}}}),[["__scopeId","data-v-487a30ff"]]);__definePage("pages/login/login",w),__definePage("pages/index/index",h),__definePage("pages/Nursing/index",U),__definePage("pages/watch/index",j),__definePage("pages/watch/full",A),__definePage("pages/watch/settings/settings",O),__definePage("pages/watch/settings/input",H),__definePage("pages/watch/settings/saoma",G),__definePage("pages/watch/settings/leida",K),__definePage("pages/Warehouse/Warehouse",ee),__definePage("pages/NursingNew/index",Ve),__definePage("pages/Warehousing/index",tt),__definePage("pages/Initialization/index",pt),__definePage("pages/assess/index",Nt),__definePage("pages/timeMatrix/index",ft),__definePage("pages/timeMatrix/indexnew",xt),__definePage("pages/Warehouse/picking",Ut),__definePage("pages/Warehouse/finish",$t),__definePage("pages/procurement/purchaseorder",Jt),__definePage("pages/procurement/material",sl),__definePage("pages/procurement/materialcar",vl),__definePage("pages/procurement/outbound",pl),__definePage("pages/Warehouse/warehome",gl);const wl={onLaunch:function(){l("log","at App.vue:4","App Launch")},onShow:function(){l("log","at App.vue:7","App Show")},onHide:function(){l("log","at App.vue:10","App Hide")}},hl={data:()=>({}),onLoad(){this.$u.getRect=this.$uGetRect},methods:{$uGetRect(e,t){return new Promise((l=>{uni.createSelectorQuery().in(this)[t?"selectAll":"select"](e).boundingClientRect((e=>{t&&Array.isArray(e)&&e.length&&l(e),!t&&e&&l(e)})).exec()}))},getParentData(e=""){this.parent||(this.parent=!1),this.parent=this.$u.$parent.call(this,e),this.parent&&(Object.keys(this.parentData).map((e=>{this.parentData[e]=this.parent[e]})),this.parentData.value=this.parent.modelValue)},preventEvent(e){e&&e.stopPropagation&&e.stopPropagation()}},onReachBottom(){uni.$emit("uOnReachBottom")},beforeUnmount(){if(this.parent&&uni.$u.test.array(this.parent.children)){const e=this.parent.children;e.map(((t,l)=>{t===this&&e.splice(l,1)}))}}};function yl(e){if([null,void 0,NaN,!1].includes(e))return e;if("object"!=typeof e&&"function"!=typeof e)return e;var t,l=(t=e,"[object Array]"===Object.prototype.toString.call(t)?[]:{});for(let a in e)e.hasOwnProperty(a)&&(l[a]="object"==typeof e[a]?yl(e[a]):e[a]);return l}function Nl(e={},t={}){if("object"!=typeof(e=yl(e))||"object"!=typeof t)return!1;for(var l in t)t.hasOwnProperty(l)&&(l in e?"object"!=typeof e[l]||"object"!=typeof t[l]?e[l]=t[l]:e[l].concat&&t[l].concat?e[l]=e[l].concat(t[l]):e[l]=Nl(e[l],t[l]):e[l]=t[l]);return e}function fl(e){return/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)}function El(e){switch(typeof e){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(var t in e)return!1;return!0}return!1}function Vl(e){return"[object Object]"===Object.prototype.toString.call(e)}function xl(e){return"function"==typeof e}const kl={email:function(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)},mobile:function(e){return/^1[23456789]\d{9}$/.test(e)},url:function(e){return/http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w-.\/?%&=]*)?/.test(e)},date:function(e){return!!e&&(fl(e)&&(e=+e),!/Invalid|NaN/.test(new Date(e).toString()))},dateISO:function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:fl,digits:function(e){return/^\d+$/.test(e)},idCard:function(e){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(e)},carNo:function(e){const t=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/,l=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;return 7===e.length?l.test(e):8===e.length&&t.test(e)},amount:function(e){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e)},chinese:function(e){return/^[\u4e00-\u9fa5]+$/gi.test(e)},letter:function(e){return/^[a-zA-Z]*$/.test(e)},enOrNum:function(e){return/^[0-9a-zA-Z]*$/g.test(e)},contains:function(e,t){return e.indexOf(t)>=0},range:function(e,t){return e>=t[0]&&e<=t[1]},rangeLength:function(e,t){return e.length>=t[0]&&e.length<=t[1]},empty:El,isEmpty:El,jsonString:function(e){if("string"==typeof e)try{var t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(l){return!1}return!1},landline:function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},object:Vl,array:function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},code:function(e,t=6){return new RegExp(`^\\d{${t}}$`).test(e)},func:xl,promise:function(e){return Vl(e)&&xl(e.then)&&xl(e.catch)},video:function(e){const t=e.split("?")[0];return new RegExp(/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8|3gp)$/).test(t)},image:function(e){const t=e.split("?")[0];return new RegExp(/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)$/).test(t)},regExp:function(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)},string:function(e){return"string"==typeof e}};const bl=new class{setConfig(e){this.config=Nl(this.config,e)}request(e={}){if(this.interceptor.request&&"function"==typeof this.interceptor.request){let t=this.interceptor.request(e);if(!1===t)return new Promise((()=>{}));this.options=t}return e.dataType=e.dataType||this.config.dataType,e.responseType=e.responseType||this.config.responseType,e.url=e.url||"",e.params=e.params||{},e.header=Object.assign({},this.config.header,e.header),e.method=e.method||this.config.method,new Promise(((t,l)=>{e.complete=e=>{if(uni.hideLoading(),clearTimeout(this.config.timer),this.config.timer=null,this.config.originalData)if(this.interceptor.response&&"function"==typeof this.interceptor.response){let a=this.interceptor.response(e);!1!==a?t(a):l(e)}else t(e);else if(200==e.statusCode)if(this.interceptor.response&&"function"==typeof this.interceptor.response){let a=this.interceptor.response(e.data);!1!==a?t(a):l(e.data)}else t(e.data);else l(e)},e.url=kl.url(e.url)?e.url:this.config.baseUrl+(0==e.url.indexOf("/")?e.url:"/"+e.url),this.config.showLoading&&!this.config.timer&&(this.config.timer=setTimeout((()=>{uni.showLoading({title:this.config.loadingText,mask:this.config.loadingMask}),this.config.timer=null}),this.config.loadingTime)),uni.request(e)}))}constructor(){this.config={baseUrl:"",header:{},method:"POST",dataType:"json",responseType:"text",showLoading:!0,loadingText:"请求中...",loadingTime:800,timer:null,originalData:!1,loadingMask:!0},this.interceptor={request:null,response:null},this.get=(e,t={},l={})=>this.request({method:"GET",url:e,header:l,data:t}),this.post=(e,t={},l={})=>this.request({url:e,method:"POST",header:l,data:t}),this.put=(e,t={},l={})=>this.request({url:e,method:"PUT",header:l,data:t}),this.delete=(e,t={},l={})=>this.request({url:e,method:"DELETE",header:l,data:t})}};const Sl=(new class{constructor(){this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1},this.route=this.route.bind(this)}addRootPath(e){return"/"===e[0]?e:`/${e}`}mixinParam(e,t){e=e&&this.addRootPath(e);let l="";return/.*\/.*\?.*=.*/.test(e)?(l=uni.$u.queryParams(t,!1),e+"&"+l):(l=uni.$u.queryParams(t),e+l)}async route(e={},t={}){let l={};if("string"==typeof e?(l.url=this.mixinParam(e,t),l.type="navigateTo"):(l=uni.$u.deepClone(e,this.config),l.url=this.mixinParam(e.url,e.params)),t.intercept&&(this.config.intercept=t.intercept),l.params=t,l=uni.$u.deepMerge(this.config,l),"function"==typeof uni.$u.routeIntercept){await new Promise(((e,t)=>{uni.$u.routeIntercept(l,e)}))&&this.openPage(l)}else this.openPage(l)}openPage(e){const{url:t,type:l,delta:a,animationType:i,animationDuration:r}=e;"navigateTo"!=e.type&&"to"!=e.type||uni.navigateTo({url:t,animationType:i,animationDuration:r}),"redirectTo"!=e.type&&"redirect"!=e.type||uni.redirectTo({url:t}),"switchTab"!=e.type&&"tab"!=e.type||uni.switchTab({url:t}),"reLaunch"!=e.type&&"launch"!=e.type||uni.reLaunch({url:t}),"navigateBack"!=e.type&&"back"!=e.type||uni.navigateBack({delta:a})}}).route;function Tl(e=null,t="yyyy-mm-dd"){e||(e=Number(new Date)),10==e.toString().length&&(e*=1e3);let l,a=new Date(e),i={"y+":a.getFullYear().toString(),"m+":(a.getMonth()+1).toString(),"d+":a.getDate().toString(),"h+":a.getHours().toString(),"M+":a.getMinutes().toString(),"s+":a.getSeconds().toString()};for(let r in i)l=new RegExp("("+r+")").exec(t),l&&(t=t.replace(l[1],1==l[1].length?i[r]:i[r].padStart(l[1].length,"0")));return t}function Cl(e,t=!0){if((e=e.toLowerCase())&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e)){if(4===e.length){let t="#";for(let l=1;l<4;l+=1)t+=e.slice(l,l+1).concat(e.slice(l,l+1));e=t}let l=[];for(let t=1;t<7;t+=2)l.push(parseInt("0x"+e.slice(t,t+2)));return t?`rgb(${l[0]},${l[1]},${l[2]})`:l}if(/^(rgb|RGB)/.test(e)){return e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",").map((e=>Number(e)))}return e}function Bl(e){let t=e;if(/^(rgb|RGB)/.test(t)){let e=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(","),l="#";for(let t=0;t<e.length;t++){let a=Number(e[t]).toString(16);a=1==String(a).length?"0"+a:a,"0"===a&&(a+=a),l+=a}return 7!==l.length&&(l=t),l}if(!/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(t))return t;{let e=t.replace(/#/,"").split("");if(6===e.length)return t;if(3===e.length){let t="#";for(let l=0;l<e.length;l+=1)t+=e[l]+e[l];return t}}}String.prototype.padStart||(String.prototype.padStart=function(e,t=" "){if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");let l=this;if(l.length>=e)return String(l);let a=e-l.length,i=Math.ceil(a/t.length);for(;i>>=1;)t+=t,1===i&&(t+=t);return t.slice(0,a)+l});const Dl={colorGradient:function(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",l=10){let a=Cl(e,!1),i=a[0],r=a[1],n=a[2],o=Cl(t,!1),c=(o[0]-i)/l,s=(o[1]-r)/l,d=(o[2]-n)/l,u=[];for(let m=0;m<l;m++){let e=Bl("rgb("+Math.round(c*m+i)+","+Math.round(s*m+r)+","+Math.round(d*m+n)+")");u.push(e)}return u},hexToRgb:Cl,rgbToHex:Bl,colorToRgba:function(e,t=.3){let l=(e=Bl(e)).toLowerCase();if(l&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(l)){if(4===l.length){var a="#";for(let e=1;e<4;e+=1)a+=l.slice(e,e+1).concat(l.slice(e,e+1));l=a}var i=[];for(let e=1;e<7;e+=2)i.push(parseInt("0x"+l.slice(e,e+2)));return"rgba("+i.join(",")+","+t+")"}return l}};let zl=null;let Il=[],Fl=[];function _l(e,t="both"){return e=String(e),"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e}let Ul="1.10.1";const $l={v:Ul,version:Ul,type:["primary","success","info","error","warning"]};const Ml={queryParams:function(e={},t=!0,l="brackets"){let a=t?"?":"",i=[];-1==["indices","brackets","repeat","comma"].indexOf(l)&&(l="brackets");for(let r in e){let t=e[r];if(!(["",void 0,null].indexOf(t)>=0))if(t.constructor===Array)switch(l){case"indices":for(let l=0;l<t.length;l++)i.push(r+"["+l+"]="+t[l]);break;case"brackets":default:t.forEach((e=>{i.push(r+"[]="+e)}));break;case"repeat":t.forEach((e=>{i.push(r+"="+e)}));break;case"comma":let e="";t.forEach((t=>{e+=(e?",":"")+t})),i.push(r+"="+e)}else i.push(r+"="+t)}return i.length?a+i.join("&"):""},route:Sl,timeFormat:Tl,date:Tl,timeFrom:function(e=null,t="yyyy-mm-dd"){e||(e=Number(new Date)),10==e.toString().length&&(e*=1e3);let l=+new Date(Number(e)),a=(Number(new Date)-l)/1e3,i="";switch(!0){case a<300:i="刚刚";break;case a>=300&&a<3600:i=parseInt(a/60)+"分钟前";break;case a>=3600&&a<86400:i=parseInt(a/3600)+"小时前";break;case a>=86400&&a<2592e3:i=parseInt(a/86400)+"天前";break;default:i=!1===t?a>=2592e3&&a<31536e3?parseInt(a/2592e3)+"个月前":parseInt(a/31536e3)+"年前":Tl(l,t)}return i},colorGradient:Dl.colorGradient,colorToRgba:Dl.colorToRgba,guid:function(e=32,t=!0,l=null){let a="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),i=[];if(l=l||a.length,e)for(let r=0;r<e;r++)i[r]=a[0|Math.random()*l];else{let e;i[8]=i[13]=i[18]=i[23]="-",i[14]="4";for(let t=0;t<36;t++)i[t]||(e=0|16*Math.random(),i[t]=a[19==t?3&e|8:e])}return t?(i.shift(),"u"+i.join("")):i.join("")},color:{primary:"#2979ff",primaryDark:"#2b85e4",primaryDisabled:"#a0cfff",primaryLight:"#ecf5ff",bgColor:"#f3f4f6",info:"#909399",infoDark:"#82848a",infoDisabled:"#c8c9cc",infoLight:"#f4f4f5",warning:"#ff9900",warningDark:"#f29100",warningDisabled:"#fcbd71",warningLight:"#fdf6ec",error:"#fa3534",errorDark:"#dd6161",errorDisabled:"#fab6b6",errorLight:"#fef0f0",success:"#19be6b",successDark:"#18b566",successDisabled:"#71d5a1",successLight:"#dbf1e1",mainColor:"#303133",contentColor:"#606266",tipsColor:"#909399",lightColor:"#c0c4cc",borderColor:"#e4e7ed"},sys:function(){return uni.getSystemInfoSync()},os:function(){return uni.getSystemInfoSync().platform},type2icon:function(e="success",t=!1){-1==["primary","info","error","warning","success"].indexOf(e)&&(e="success");let l="";switch(e){case"primary":case"info":l="info-circle";break;case"error":l="close-circle";break;case"warning":l="error-circle";break;default:l="checkmark-circle"}return t&&(l+="-fill"),l},randomArray:function(e=[]){return e.sort((()=>Math.random()-.5))},wranning:function(e){},get:bl.get,post:bl.post,put:bl.put,delete:bl.delete,hexToRgb:Dl.hexToRgb,rgbToHex:Dl.rgbToHex,test:kl,random:function(e,t){if(e>=0&&t>0&&t>=e){let l=t-e+1;return Math.floor(Math.random()*l+e)}return 0},deepClone:yl,deepMerge:Nl,getParent:function(e,t){let l=this.$parent;for(;l;){if(l.$options.name===e){let e={};if(Array.isArray(t))t.map((t=>{e[t]=l[t]?l[t]:""}));else for(let a in t)Array.isArray(t[a])?t[a].length?e[a]=t[a]:e[a]=l[a]:t[a].constructor===Object?Object.keys(t[a]).length?e[a]=t[a]:e[a]=l[a]:e[a]=t[a]||!1===t[a]?t[a]:l[a];return e}l=l.$parent}return{}},$parent:function(e){let t=this.$parent;for(;t;){if(!t.$options||t.$options.name===e)return t;t=t.$parent}return!1},addUnit:function(e="auto",t="rpx"){return e=String(e),kl.number(e)?`${e}${t}`:e},trim:function(e,t="both"){return"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e},type:["primary","success","error","warning","info"],http:bl,toast:function(e,t=1500){uni.showToast({title:e,icon:"none",duration:t})},config:$l,zIndex:{toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965},debounce:function(e,t=500,l=!1){if(null!==zl&&clearTimeout(zl),l){var a=!zl;zl=setTimeout((function(){zl=null}),t),a&&"function"==typeof e&&e()}else zl=setTimeout((function(){"function"==typeof e&&e()}),t)},throttle:function(e,t=500,l=!0,a="default"){Il[a]||(Il[a]=null),l?Fl[a]||(Fl[a]=!0,"function"==typeof e&&e(),Il[a]=setTimeout((()=>{Fl[a]=!1}),t)):Fl[a]||(Fl[a]=!0,Il[a]=setTimeout((()=>{Fl[a]=!1,"function"==typeof e&&e()}),t))},addStyle:function(e,t="object"){if(kl.empty(e)||"object"==typeof e&&"object"===t||"string"===t&&"string"==typeof e)return e;if("object"===t){const t=(e=_l(e)).split(";"),l={};for(let e=0;e<t.length;e++)if(t[e]){const a=t[e].split(":");l[_l(a[0])]=_l(a[1])}return l}let l="";for(const a in e){l+=`${a.replace(/([A-Z])/g,"-$1").toLowerCase()}:${e[a]};`}return _l(l)}};uni.$u=Ml;const Ll={install:e=>{e.mixin(hl),e.config.globalProperties.$u=Ml}},jl={__name:"donghua",props:{links:{type:Array,default:()=>[]},width:{type:String,default:"65rpx"},height:{type:String,default:"65rpx"},objectFit:{type:String,default:"aspectFill"},defaultImage:{type:String,default:""},interval:{type:Number,default:80},playing:{type:Boolean,default:!1},showButton:{type:Boolean,default:!1},loop:{type:Boolean,default:!1}},emits:["update:playing"],setup(t,{emit:l}){const a=t,i=e.ref(0),r=e.ref(!1),n=e.ref(!1);let o=null;const c=()=>{r.value=!1,clearInterval(o)};return e.watch((()=>a.playing),(e=>{i.value=0,e?r.value||(r.value=!0,o=setInterval((()=>{a.loop?(i.value=(i.value+1)%a.links.length,n.value=!1):i.value<a.links.length-1?(i.value++,n.value=!1):c()}),a.interval)):(c(),setTimeout((()=>i.value=0),50))})),e.watch((()=>a.links),(()=>{i.value=0,n.value=!1,r.value&&c()}),{deep:!0}),e.onUnmounted((()=>{c()})),(l,a)=>(e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("image",{src:n.value?t.defaultImage:t.links[i.value],style:e.normalizeStyle({width:t.width,height:t.height}),mode:t.objectFit,onError:a[0]||(a[0]=e=>n.value=!0),onLoad:a[1]||(a[1]=e=>n.value=!1)},null,44,["src","mode"]),t.showButton?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:a[2]||(a[2]=e=>l.$emit("update:playing",!t.playing))},e.toDisplayString(t.playing?"停止播放":"开始播放"),1)):e.createCommentVNode("",!0)]))}},Al=s(e.defineComponent({__name:"arrowkeys",props:{movebottom:{type:Number,default:30},moveleft:{type:Number,default:10},leftbuttonname:{type:String,default:"返回"},rightbuttonname:{type:String,default:"确定"}},emits:["movecard"],setup(t,{emit:l}){const a=l;let i=null,r=null,n=!1;const o=e.ref(-1);let c=null;function s(){i&&(clearTimeout(i),i=null)}function d(){r&&(clearTimeout(r),r=null),n=!1,c=null}let u=0;function m(e){d(),s(),i=setTimeout((()=>{o.value=-1,i=null}),500);const t=Date.now();t-u<200||(u=t,o.value=e,a("movecard",e))}function v(e){s(),d(),o.value=e,a("movecard",e),c=e,n=!0,r=setTimeout((function e(){n&&null!==c&&(r=setTimeout(e,500))}),500)}function p(){n&&(d(),s(),i=setTimeout((()=>{o.value=-1,i=null}),500))}return e.onBeforeUnmount((()=>{s(),d()})),(l,a)=>(e.openBlock(),e.createElementBlock("view",{class:"move-circle",style:e.normalizeStyle({bottom:`${t.movebottom}rpx`,left:`${t.moveleft}rpx`})},[e.createElementVNode("view",{class:e.normalizeClass(5===o.value?"click-box-target":"click-box"),onClick:a[0]||(a[0]=e=>m(5)),onLongpress:a[1]||(a[1]=()=>v(5)),onTouchend:p,onTouchcancel:p,style:{position:"relative"}},[e.createElementVNode("image",{src:`/static/index/newruler/${5===o.value?1:0}.png`,style:{position:"absolute",width:"100%",height:"100%"}},null,8,["src"]),e.createElementVNode("span",{style:{"z-index":"1","font-size":"30rpx"},class:e.normalizeClass(5===o.value?"grad-text":"")},e.toDisplayString(t.leftbuttonname),3)],34),e.createElementVNode("view",{class:e.normalizeClass(0===o.value?"click-box-target":"click-box"),onClick:a[2]||(a[2]=e=>m(0)),onLongpress:a[3]||(a[3]=()=>v(0)),onTouchend:p,onTouchcancel:p,style:{position:"relative"}},[e.createElementVNode("image",{src:`/static/index/newruler/${0===o.value?1:0}.png`,style:{position:"absolute",width:"100%",height:"100%"}},null,8,["src"]),e.createElementVNode("image",{src:`/static/index/newruler/fangxiang${0===o.value?"target":""}.png`,class:"image-photo"},null,8,["src"])],34),e.createElementVNode("view",{class:e.normalizeClass(4===o.value?"click-box-target":"click-box"),onClick:a[4]||(a[4]=e=>m(4)),onLongpress:a[5]||(a[5]=()=>v(4)),onTouchend:p,onTouchcancel:p,style:{position:"relative"}},[e.createElementVNode("image",{src:`/static/index/newruler/${4===o.value?1:0}.png`,style:{position:"absolute",width:"100%",height:"100%"}},null,8,["src"]),e.createElementVNode("span",{style:{"z-index":"1","font-size":"30rpx"},class:e.normalizeClass(4===o.value?"grad-text":"")},e.toDisplayString(t.rightbuttonname),3)],34),e.createElementVNode("view",{class:e.normalizeClass(3===o.value?"click-box-target":"click-box"),onClick:a[6]||(a[6]=e=>m(3)),onLongpress:a[7]||(a[7]=()=>v(3)),onTouchend:p,onTouchcancel:p,style:{position:"relative"}},[e.createElementVNode("image",{src:`/static/index/newruler/${3===o.value?1:0}.png`,style:{position:"absolute",width:"100%",height:"100%"}},null,8,["src"]),e.createElementVNode("image",{style:{transform:"rotate(270deg)","transform-origin":"center"},src:`/static/index/newruler/fangxiang${3===o.value?"target":""}.png`,class:"image-photo"},null,8,["src"])],34),e.createElementVNode("view",{class:e.normalizeClass(2===o.value?"click-box-target":"click-box"),onClick:a[8]||(a[8]=e=>m(2)),onLongpress:a[9]||(a[9]=()=>v(2)),onTouchend:p,onTouchcancel:p,style:{position:"relative"}},[e.createElementVNode("image",{src:`/static/index/newruler/${2===o.value?1:0}.png`,style:{position:"absolute",width:"100%",height:"100%"}},null,8,["src"]),e.createElementVNode("image",{style:{transform:"rotate(180deg)","transform-origin":"center"},src:`/static/index/newruler/fangxiang${2===o.value?"target":""}.png`,class:"image-photo"},null,8,["src"])],34),e.createElementVNode("view",{class:e.normalizeClass(1===o.value?"click-box-target":"click-box"),onClick:a[10]||(a[10]=e=>m(1)),onLongpress:a[11]||(a[11]=()=>v(1)),onTouchend:p,onTouchcancel:p,style:{position:"relative"}},[e.createElementVNode("image",{src:`/static/index/newruler/${1===o.value?1:0}.png`,style:{position:"absolute",width:"100%",height:"100%"}},null,8,["src"]),e.createElementVNode("image",{style:{transform:"rotate(90deg)","transform-origin":"center"},src:`/static/index/newruler/fangxiang${1===o.value?"target":""}.png`,class:"image-photo"},null,8,["src"])],34)],4))}}),[["__scopeId","data-v-42a687c6"]]);const{app:Pl,Vuex:ql,Pinia:Ol}=function(){const t=e.createVueApp(wl);return t.use(Ll),t.component("donghua",jl),t.component("arrowkeys",Al),{app:t}}();uni.Vuex=ql,uni.Pinia=Ol,Pl.provide("__globalStyles",__uniConfig.styles),Pl._component.mpType="app",Pl._component.render=()=>{},Pl.mount("#app")}(Vue);
|