2 lines
619 KiB
JavaScript
2 lines
619 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 n=(t,l=0)=>(l,a=e.getCurrentInstance())=>{!e.isInSSRComponentSetup&&e.injectHook(t,l,a)},i=n("onShow",3),o=n("onHide",3),r=n("onLoad",2),c=(e,t)=>{const l=e.__vccOpts||e;for(const[a,n]of t)l[a]=n;return l};const s=c({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:224","!!!",e),200==e.statusCode?plus.runtime.install(e.tempFilePath,{force:!1},(function(){plus.runtime.restart()}),(function(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,n,i,o){return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["zy-modal",i.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(o.version),1)],2),e.createElementVNode("view",{class:"padding-xl bg-white text-left"},[i.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(i.update_tips),1)])),i.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: "+i.update_process+"%;"])},e.toDisplayString(i.update_process),7)])):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"zy-bar bg-white",style:{"justify-content":"center",display:"flex","margin-bottom":"60rpx"}},[!i.update_flag&&i.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)=>o.upgrade_checked&&o.upgrade_checked(...e))},"确认升级",2)])):e.createCommentVNode("",!0),i.update_flag||i.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)=>o.upgrade_checked&&o.upgrade_checked(...e))},"确认升级"),i.forceupgrade?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"zy-quxiao",onClick:l[2]||(l[2]=(...e)=>o.upgrade_cancel&&o.upgrade_cancel(...e))},"取消升级"))])),i.update_flag&&!i.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)=>o.upgrade_break&&o.upgrade_break(...e))},"中断升级",2)])):e.createCommentVNode("",!0)])])],2)}],["__scopeId","data-v-90beceef"]]);const u=c({},[["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 d=c({},[["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"]]),m="https://www.focusnu.com/opeapi",v=e=>{let t=e.url,a=e.method||"get",n=e.data||{},i={"X-Access-Token":uni.getStorageSync("token")||"","Content-Type":"application/json;charset=UTF-8",Authorization:"Basic c2FiZXI6c2FiZXJfc2VjcmV0",...e.header};return new Promise(((e,o)=>{uni.request({url:/^https?:\/\//.test(t)?t:m+t,method:a,header:i,data:n,timeout:5e3,success(a){const i=a;if(200==i.statusCode)e(i.data);else switch(l("log","at request/index.js:36","http",/^https?:\/\//.test(t)?t:m+t),l("log","at request/index.js:37","res",a),l("log","at request/index.js:38","data",n),i.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}),o(e)},complete(){uni.hideLoading(),uni.hideToast()}})})).catch((()=>{}))},p=c({__name:"huakuai",emits:["success"],setup(t,{emit:a}){const n=a,i=100,o=e.ref(400),r=e.ref(400),c=e.ref(0),s=e.ref(0),u=e.ref(0),d=e.ref(!1),m=e.ref(0),v=e.ref(""),p=e.getCurrentInstance();const g=`path('${h=i,`\n M20 0\n h${h/3-20}\n a20 20 0 0 1 0 40\n h${h/3}\n a20 20 0 0 0 0 -40\n h${h/3-20}\n v${h/3-20}\n a20 20 0 0 1 -40 0\n v${h/3}\n a20 20 0 0 0 40 0\n v${h/3-20}\n h-${h/3-20}\n a20 20 0 0 1 0 -40\n h-${h/3}\n a20 20 0 0 0 0 40\n h-${h/3-20}\n z\n `}')`;var h;function w(){e.nextTick((()=>{p?uni.createSelectorQuery().in(p.proxy).select(".bg-image").boundingClientRect((e=>{e?(o.value=2*e.width,r.value=2*e.height,c.value=Math.random()*(o.value-200)+i,c.value<100&&(c.value=100),c.value>400&&(c.value=400),s.value=r.value/2,u.value=0):l("error","at component/public/huakuai.vue:115","无法获取图片尺寸")})).exec():l("error","at component/public/huakuai.vue:107","无法获取组件实例")}))}function y(e){d.value=!0,m.value=2*e.touches[0].clientX}function N(e){if(!d.value)return;let t=2*e.touches[0].clientX-m.value;t=Math.max(0,Math.min(t,o.value-i)),u.value=t}function f(){d.value=!1,Math.abs(u.value+47-c.value)<20?(uni.showToast({title:"验证成功",icon:"none",duration:2e3}),n("success")):(u.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:w},null,40,["src"]),e.createElementVNode("view",{class:"overlay",style:e.normalizeStyle({width:o.value+"rpx",height:r.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:u.value+47+"rpx",width:"100rpx",height:"100rpx",backgroundImage:`url(${v.value})`,backgroundSize:o.value+"rpx "+r.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:u.value+"rpx",maxWidth:o.value-i+"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"]]),g=c(e.defineComponent({__name:"login",setup(a){const n=e.ref(null),o=e.ref(!1),c=e.ref(!1),m=e.reactive({username:"",password:"",captcha:"",checkKey:0}),g=e.reactive({oldpassword:"",newpassword:""}),h=e.computed((()=>{return m.password&&("string"==typeof(e=m.username)&&11===e.length);var e})),w=e.ref(!1);function y(){S.value=!1,o.value=!0,z()}function N(){w.value=!1,uni.setStorageSync("appWgtVersion",uni.getSystemInfoSync().appWgtVersion)}function f(){plus.runtime.quit()}const x=e=>{uni.navigateTo({url:e})},E=e.ref(!1),V=e.ref(0),k=e.ref([]),b=()=>{var e;/^\d{11}$/.test(m.username)?(e=m.username,v({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),k.value=e.result.orgList,V.value=Date.now(),(e=>v({url:`${uni.getStorageSync("serverUrl")}/sys/randomCode/${e}`,method:"get"}))(V.value).then((e=>{l("log","at pages/login/login.vue:216","啥啊",e),m.captcha=e.message,E.value=!0}))):(uni.setStorageSync("serverUrl",""),uni.setStorageSync("orgListName",""),uni.setStorageSync("orgListCode",""),k.value=[],uni.showToast({title:e.result.msg,icon:"none",duration:2e3}),E.value=!1)})):m.username&&uni.showToast({title:"手机号不足11位",icon:"none",duration:2e3})},S=e.ref(!1),B=e.ref(!1),C=e.ref(!1),T=e.ref(!1),z=()=>{o.value?c.value=!0:S.value=!0},D=e.ref(!1),I=()=>{D.value||(2===U.value?setTimeout((()=>{x("/pages/watch/index")}),500):U.value++,D.value=!0)},U=e.ref(0),F=e.ref(!1),_=()=>{var e;m.checkKey=V.value,c.value=!1,(e=m,v({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",m.username),uni.setStorageSync("realname",e.result.userInfo.realname),2===U.value?k.value.length>1?(c.value=!1,F.value=!0):setTimeout((()=>{x("/pages/watch/index")}),500):U.value++):uni.showToast({title:e.message,icon:"none",duration:2e3})}))};return r((()=>{var e,l;uni.getStorageSync("appWgtVersion")!=uni.getSystemInfoSync().appWgtVersion&&(w.value=!0),uni.getStorageSync("token")&&1!==uni.getStorageSync("token")&&(2===U.value?setTimeout((()=>{x("/pages/watch/index")}),500):U.value++),t("MonitorModule").initSMBCloudSDK(),e=t("MonitorModule"),l={userName:"admin",password:"Bl20230518",serverAddress:"121.36.88.64",port:8888},e.cloudLoginIn(l,(e=>{2===U.value?setTimeout((()=>{x("/pages/watch/index")}),500):U.value++}))})),i((()=>{var e;null==(e=n.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=>m.username=e),maxlength:"11",placeholder:"请输入手机号",onBlur:b},null,544),[[e.vModelText,m.username]])]),e.createElementVNode("view",{class:"input-father"},[e.withDirectives(e.createElementVNode("input",{class:"password",password:"",type:"text","onUpdate:modelValue":l[1]||(l[1]=e=>m.password=e),maxlength:"15",placeholder:"请输入密码"},null,512),[[e.vModelText,m.password]])]),e.withDirectives(e.createElementVNode("view",{class:"input-father-gray"}," 验证并登录 ",512),[[e.vShow,!h.value||!E.value]]),e.withDirectives(e.createElementVNode("view",{class:"input-father-blue",onClick:l[2]||(l[2]=e=>z())}," 验证并登录 ",512),[[e.vShow,h.value&&E.value]]),e.createElementVNode("view",{class:"under-container-title"},[e.createElementVNode("view",{class:e.normalizeClass(o.value?"radio-circle-target":"radio-circle"),onClick:l[3]||(l[3]=e=>o.value=!o.value)},null,2),e.createElementVNode("view",{style:{"margin-left":"17rpx"},class:"radio-circle-font",onClick:l[4]||(l[4]=e=>o.value=!o.value)},"我已阅读并同意"),e.createElementVNode("view",{class:"radio-circle-blue",onClick:l[5]||(l[5]=e=>{C.value=!0,T.value=!0})}," 《用户协议》 "),e.createElementVNode("view",{class:"radio-circle-blue",onClick:l[6]||(l[6]=e=>{C.value=!0,T.value=!1})}," 《隐私政策》 ")])]),w.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=>{C.value=!0,T.value=!0})},"《用户协议》"),e.createTextVNode("和"),e.createElementVNode("text",{class:"text-blue",onClick:l[8]||(l[8]=e=>{C.value=!0,T.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:N},"同意"),e.createElementVNode("view",{class:"white-button",onClick:f},"不同意")])])):e.createCommentVNode("",!0),C.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"popup-any"},[e.createElementVNode("view",{class:"mask",onClick:l[9]||(l[9]=e=>C.value=!1)}),e.createElementVNode("view",{class:"box-any"},[e.createElementVNode("view",{class:"title-left"},[e.createElementVNode("image",{class:"back-img",src:"/static/left.png",onClick:l[10]||(l[10]=e=>C.value=!1)}),T.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"back-font"},"NU护理单元隐私信息保护政策")),T.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"back-font"},"NU护理单元用户服务协议")):e.createCommentVNode("",!0)]),T.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(d,{key:0})),T.value?(e.openBlock(),e.createBlock(u,{key:1})):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),S.value?(e.openBlock(),e.createElementBlock("view",{key:2,class:"popup-wrapper"},[e.createElementVNode("view",{class:"mask",onClick:l[11]||(l[11]=e=>S.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=>{C.value=!0,T.value=!0})},"《用户协议》"),e.createElementVNode("text",{class:"text-blue",onClick:l[13]||(l[13]=e=>{C.value=!0,T.value=!1})},"《隐私政策》")]),e.createElementVNode("view",{class:"blue-button",onClick:y},"同意并继续")])])):e.createCommentVNode("",!0),B.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=>g.oldpassword=e),maxlength:"15",placeholder:"请输入新密码"},null,512),[[e.vModelText,g.oldpassword]])]),e.createElementVNode("view",{class:"input-father"},[e.withDirectives(e.createElementVNode("input",{class:"password",password:!1,"onUpdate:modelValue":l[15]||(l[15]=e=>g.newpassword=e),maxlength:"15",placeholder:"请再次输入新密码"},null,512),[[e.vModelText,g.newpassword]])]),e.createElementVNode("view",{class:"blue-button",style:{"margin-top":"80rpx"},onClick:l[16]||(l[16]=e=>B.value=!1)},"确定")])])):e.createCommentVNode("",!0),e.createVNode(s,{ref_key:"zyupgrade",ref:n,noticeflag:!0,theme:"blue",h5preview:!1,oldversion:"1.0.0",appstoreflag:!0,autocheckupdate:!0,onShowupdateTips:I},null,512),c.value?(e.openBlock(),e.createElementBlock("view",{key:4,class:"bg-mask",onClick:l[18]||(l[18]=e=>c.value=!1)},[e.createVNode(p,{onClick:l[17]||(l[17]=e.withModifiers((()=>{}),["stop"])),onSuccess:_})])):e.createCommentVNode("",!0),F.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(k.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((()=>{x("/pages/watch/index")}),500)})(t)},e.toDisplayString(t.departName),9,["onClick"])))),256))])])])])):e.createCommentVNode("",!0)],64))}}),[["__scopeId","data-v-5e64cf9c"]]),h="/static/nocamera.png",w="/static/index/camera/back.png",y=(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 v({url:l,method:"get"})},N=c(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,n=e.ref(-1);let i=null,o=null,r=!1;const c=e.ref(-1),s=e.reactive({x:0,y:0}),u=e.ref(!1),d=e.ref(!1),m=e.ref(0),v=uni.upx2px(175),p=uni.upx2px(350);uni.upx2px(-50);const g=uni.upx2px(100),h=uni.getSystemInfoSync().windowHeight-g-p,w=t,y=e.ref(!1),N=e.ref(0);function f(e,t){if(!r){if(V(),n.value=e,a("movecard",e),(null==t?void 0:t.touches)&&t.touches.length){const e=t.touches[0];b(e.pageX,e.pageY)}d.value=!1,m.value++,c.value=e,setTimeout((()=>{c.value=-1}),300),setTimeout((()=>{d.value=!0}),16),i=setTimeout((()=>{n.value=-1,i=null}),300)}}function x(e,t){k(),r=!0,u.value=!0,c.value=e;const l=((null==t?void 0:t.touches)||[])[0];l&&b(l.pageX,l.pageY),n.value=e,a("movecard",e),o=setInterval((()=>{n.value=e,a("movecard",e)}),500)}function E(){V(),k(),r=!1,u.value=!1,n.value=-1,c.value=-1}function V(){i&&(clearTimeout(i),i=null)}function k(){o&&(clearInterval(o),o=null)}function b(e,t){let l=e,a=t-h-50+w.movebottom/2;const n=l-v,i=a-v;if(Math.sqrt(n*n+i*i)>v){const e=Math.atan2(i,n);l=v+v*Math.cos(e),a=v+v*Math.sin(e)}s.x=l,s.y=a}function S(e){var t;if(!r)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((()=>w.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:E,onTouchcancel:E},[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=>x(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=>x(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=>x(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=>x(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=>x(4,e))},null,32)],36))}}),[["__scopeId","data-v-b2325a59"]]),f=c(e.defineComponent({__name:"index",setup(t){const a=e.ref([]);r((()=>{a.value=E})),e.ref(null);const n=e.ref(-1),c=e.ref(-1),s=e.ref(!1);e.ref(null);const u=e.ref(null),d=e.ref(0),m=e.ref(3),p=[{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°全景"],f=e.ref([]),x=["截图","录制","对讲","静音","预警","关闭","图片","视频","清晰度","翻转"],E=["截图","录制","对讲","静音","预警","展开"],V=e.ref(0),k=e.ref(5),b=e.ref(0);function S(e){const[t,l]=e.split(":").map(Number);return 60*t+l}const B=e.ref({startTime:"",endTime:"",typeName:"",immediateFile:""});let C=0;const T=e.ref(0);const z=e.ref(-1),D=(e,t)=>{if(z.value!==t||!t){if(z.value=t,null==e?void 0:e.elderServerEntityList){const t=function(e,t){const l=S(t);let a=null,n=1/0;return e.forEach((e=>{const t=S(e.startTime);let i=Math.abs(t-l);i>720&&(i=1440-i),i<n&&(n=i,a=e)})),a}(null==e?void 0:e.elderServerEntityList,ae.value);B.value=t||{startTime:"",endTime:"",typeName:"",immediateFile:""}}else B.value={startTime:"",endTime:"",typeName:"",immediateFile:""};m.value=3,f.value=[],V.value=0,a.value=E,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 I(e,t,l,a="png",n=0,i=!1){return Array.from({length:l},((l,o)=>{const r=i?String(o+n).padStart(2,"0"):o+n;return`${e}/${t}${r}.${a}`}))}const U=I("/static/index/newindex/curve","curve_",9,"png",1,!1);e.ref([...U,...[...U].reverse()]);const F=I("/static/index/newindex/curve","breathe_",9,"png",1,!1);e.ref([...F,...[...F].reverse()]),e.ref([{name:"王金福",url:"/static/index/watch/people0.png"},{name:"李宝田",url:"/static/index/watch/people1.png"}]);const _=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}]),M=e.ref([{name:"护理单元",url:I("/static/index/watch","nurs_",10,"png",1,!1)},{name:"配务室",url:I("/static/index/watch","delivery_",5,"png",1,!1)},{name:"库房",url:I("/static/index/watch","warehouse_",6,"png",1,!1)},{name:"消洗区",url:I("/static/index/watch","service_",5,"png",1,!1)},{name:"",url:""}]),$=e.ref([{name:"护理单元01",NUID:"2508000001",url:I("/static/index/watch","nurs_",10,"png",1,!1),warning:!1,type:0},{name:"护理单元02",NUID:"2508000002",url:I("/static/index/watch","nurs_",10,"png",1,!1),warning:!1,type:0},{name:"护理单元03",NUID:"2508000003",url:I("/static/index/watch","nurs_",10,"png",1,!1),warning:!0,type:0},{name:"仓库01",NUID:"2508000001",url:I("/static/index/watch","warehouse_",6,"png",1,!1),warning:!1,type:1},{name:"配务室",NUID:"2508000001",url:I("/static/index/watch","delivery_",5,"png",1,!1),warning:!1,type:2},{name:"服务大厅",NUID:"2508000001",url:I("/static/index/watch","service_",5,"png",1,!1),warning:!1,type:3}]);e.onMounted((()=>{n.value=0,c.value=0,s.value=!0}));const j=e.ref(0),L=e.ref(-1),P=e.ref(-1),A=e.ref(!1),q=()=>{j.value=-1,L.value=-1,P.value=-1,A.value=!1},O=e=>{!function(e){switch(e){case 0:me(1,0);break;case 1:me(5,1);break;case 2:me(7,2);break;case 3:me(3,3);break;case 4:case 5:k.value=K.value,H.value=!1,K.value=-1,Q(),J()}}(e)},Y=e.ref(0),W=()=>{var e;Y.value=j.value,uni.setStorageSync("nuId",te.value[Y.value].nuId),uni.setStorageSync("nuName",te.value[Y.value].nuName),uni.setStorageSync("customerId",te.value[Y.value].elderInfo?null==(e=te.value[Y.value].elderInfo)?void 0:e.id:null),uni.setStorageSync("NUall",te.value[Y.value]),l("log","at pages/watch/index.vue:713","??????1111",te.value[Y.value]),c.value?2===c.value&&uni.navigateTo({url:"/pages/Warehouse/warehome"}):uni.navigateTo({url:"/pages/NursingNew/index"})},R=new Map;e.onBeforeUnmount((()=>{for(const e of R.values())clearTimeout(e);R.clear()}));const X=e=>{const t=f.value.indexOf(e);-1!==t&&f.value.splice(t,1)},G=e.ref(!1),Q=ee((()=>{var e;return null==(e=u.value)?void 0:e.moveSecondUp()}),400),J=ee((()=>function(){var e;null==(e=u.value)||e.startchange(),0===k.value&&(b.value,uni.$emit("monitor:toggleVolume"));1===k.value&&(b.value?uni.$emit("monitor:stopTalk"):uni.$emit("monitor:openTalk"));2===k.value&&uni.$emit("monitor:doSnapshot");3===k.value&&(b.value?uni.$emit("monitor:stopRecord"):uni.$emit("monitor:startRecord"));4===k.value&&(b.value||(K.value=k.value,k.value=-1,H.value=!0));5===k.value&&Z.value!==b.value&&(Z.value=b.value,uni.$emit("monitor:changeQuality"));6===k.value&&uni.$emit("monitor:switchDisplay",b.value);7===k.value&&(3===b.value?uni.$emit("monitor:flipImage",6):uni.$emit("monitor:flipImage",b.value));8===k.value&&(b.value?uni.$emit("monitor:stopAlarm"):uni.$emit("monitor:startAlarm"))}()),700),Z=e.ref(0),H=e.ref(!1),K=e.ref(-1);function ee(e,t=1e3){let l=!1;return()=>{l||(e(),l=!0,setTimeout((()=>{l=!1}),t))}}const te=e.computed((()=>(n.value=-1,setTimeout((()=>{n.value=0}),50),$.value.filter((e=>Number(e.areaFlag)-1===c.value))))),le=()=>{uni.navigateTo({url:"/pages/watch/settings/settings"})},ae=e.ref(""),ne=e.ref(""),ie=e.ref("");let oe=null;const re=e=>String(e).padStart(2,"0"),ce=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"];function se(){const e=new Date;ae.value=`${re(e.getHours())}:${re(e.getMinutes())}`,ne.value=`${e.getMonth()+1}-${e.getDate()}`,ie.value=ce[e.getDay()]}i((()=>{se(),oe=setInterval(se,1e3),v({url:`${uni.getStorageSync("serverUrl")}/api/pad/baseInfo/queryPadPageList`,method:"get"}).then((e=>{$.value=e.result.records,$.value.forEach((e=>{switch(e.areaFlag){case"1":e.url=I("/static/index/watch","nurs_",10,"png",1,!1);break;case"2":e.url=I("/static/index/watch","delivery_",5,"png",1,!1);break;case"3":e.url=I("/static/index/watch","warehouse_",6,"png",1,!1);break;case"4":e.url=I("/static/index/watch","service_",5,"png",1,!1)}})),D(te.value[j.value],j.value),setTimeout((()=>{n.value=Y.value,j.value=Y.value,Y.value=0}),100)}))})),o((()=>{oe&&(clearInterval(oe),oe=null)}));let ue=-1;const de={};function me(e,t){-1!==ue&&ue!==t&&ve(ue),ue=t,y(e,1),de[t]&&clearTimeout(de[t]),de[t]=setTimeout((()=>{ve(t)}),550)}function ve(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}y(t,0).then((e=>{})),clearTimeout(de[e]),de[e]=null,ue===e&&(ue=-1)}function pe(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,l)=>{var i,o,r,s,u;const v=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":d.value},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(te.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:e.normalizeClass(["menu",{warning:"1"==t.izWarning,target:l===j.value}]),style:e.normalizeStyle([l===n.value?{backgroundColor:"#fff"}:{},j.value===l?{backgroundColor:"#ddf0ff"}:{}]),onClick:e=>{n.value=l,q(),j.value=l,function(e,t){const l=Date.now();l-C<500&&T.value===t?W():D(e,t),T.value=t,C=l}(t,l)}},[e.createElementVNode("view",{class:"menu-img"},[e.createVNode(v,{width:"55rpx",height:"55rpx",links:t.url,playing:n.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===n.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(M.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:e.normalizeClass(["menu",{target:l===L.value}]),style:e.normalizeStyle(L.value===l?{backgroundColor:"#ddf0ff"}:{}),onClick:e=>{c.value=l,(e=>{q(),L.value=e,D(te.value[0],0)})(l)}},[t.url?(e.openBlock(),e.createBlock(v,{key:0,links:t.url,playing:c.value===l},null,8,["links","playing"])):e.createCommentVNode("",!0),t.url?(e.openBlock(),e.createElementBlock("text",{key:1,class:e.normalizeClass(["menu-font",{zoom:c.value===l}]),style:e.normalizeStyle(c.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(ae.value),1),e.createElementVNode("view",{class:"",style:{"font-weight":"600","margin-right":"30rpx","font-size":"25rpx"}},[e.createElementVNode("view",null,e.toDisplayString(ne.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:le}),e.createElementVNode("view",{style:{"font-size":"32rpx","margin-left":"10rpx"},onClick:le}," 设置 ")],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:h}),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:V.value===l?"#1486EB":""}),onClick:e=>(e=>{switch(q(),P.value=e,V.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===P.value}]),style:e.normalizeStyle({background:V.value===l?"#E2EDFC":""})},[e.createElementVNode("image",{style:{width:"90rpx",height:"90rpx"},src:`/static/index/picture/${l}${V.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===c.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"red-kuang"},[(null==(i=te.value[n.value])?void 0:i.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=te.value[n.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(te.value[n.value].elderInfo?te.value[n.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(te.value[n.value].elderInfo?te.value[n.value].elderInfo.sex:"")+" ",1),e.createElementVNode("text",{style:{"margin-left":"5rpx"}},e.toDisplayString(te.value[n.value].elderInfo?pe(te.value[n.value].elderInfo.dateOfBirth):"")+"岁 ",1)]),e.createElementVNode("view",{class:"font-small",style:{"margin-left":"20rpx","margin-top":"0rpx"}}," 入住时间:"+e.toDisplayString(te.value[n.value].elderInfo?te.value[n.value].elderInfo.createTime.slice(0,10):""),1)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),1===c.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"red-kuang"},[(null==(r=te.value[n.value])?void 0:r.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=te.value[n.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(te.value[n.value].elderInfo?te.value[n.value].elderInfo.name:""),1),e.createElementVNode("view",{class:"font-small",style:{"margin-left":"10rpx"}},e.toDisplayString(te.value[n.value].elderInfo?te.value[n.value].elderInfo.sex:"")+" "+e.toDisplayString(te.value[n.value].elderInfo?pe(te.value[n.value].elderInfo.dateOfBirth):"")+"岁 ",1)]),e.createElementVNode("view",{class:"font-small",style:{"margin-left":"20rpx","margin-top":"25rpx"}}," 入职时间:"+e.toDisplayString(te.value[n.value].elderInfo?te.value[n.value].elderInfo.createTime.slice(0,10):""),1)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),0===c.value?(e.openBlock(),e.createElementBlock("view",{key:2,class:"states-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.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===c.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==(u=te.value[n.value])?void 0:u.elderInfo)?(e.openBlock(),e.createElementBlock("view",{key:0},e.toDisplayString(te.value[n.value].elderInfo?te.value[n.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(B.value.startTime)+" - "+e.toDisplayString(B.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/${B.value.immediateFile}`},null,8,["src"])]),e.createElementVNode("view",{style:{"font-size":"28rpx","padding-top":"50rpx"}},e.toDisplayString(B.value.typeName),1)]),e.createElementVNode("view",{class:"bottom-view"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"button-father",onClick:e=>(e=>{switch(e){case 0:uni.$emit("monitor:doSnapshot"),f.value.includes(e)||f.value.push(e),R.has(e)&&clearTimeout(R.get(e));const t=setTimeout((()=>{const t=f.value.indexOf(e);-1!==t&&f.value.splice(t,1),R.delete(e)}),500);R.set(e,t);break;case 1:f.value.includes(e)?(uni.$emit("monitor:stopRecord"),X(e)):(uni.$emit("monitor:startRecord"),f.value.push(e));break;case 2:f.value.includes(e)?(uni.$emit("monitor:stopTalk"),X(e)):(uni.$emit("monitor:openTalk"),f.value.push(e));break;case 3:f.value.includes(e)?(uni.$emit("monitor:toggleVolume"),X(e)):(uni.$emit("monitor:toggleVolume"),f.value.push(e));break;case 4:f.value.includes(e)?(uni.$emit("monitor:stopAlarm"),X(e)):(uni.$emit("monitor:startAlarm"),f.value.push(e));break;case 5:f.value.includes(e)?(a.value=E,X(e)):(a.value=x,f.value.push(e)),G.value=!1;break;case 6:case 7:f.value.includes(e)?X(e):f.value.push(e);break;case 8:f.value.includes(e)?(uni.$emit("monitor:changeQuality"),X(e)):(uni.$emit("monitor:changeQuality"),f.value.push(e));break;case 9:G.value=!0}})(l)},[e.createElementVNode("view",{class:"bottom-button",style:e.normalizeStyle({backgroundColor:f.value.includes(l)?"#DDE9F0":""})},[e.createElementVNode("image",{style:{width:"70%",height:"70%"},src:`/static/index/camera/${l}${f.value.includes(l)?1:0}.png`},null,8,["src"])],4),e.createElementVNode("view",{style:e.normalizeStyle([{"font-size":"25rpx"},{color:f.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:w,onClick:l[0]||(l[0]=e=>G.value=!1)})]),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(p,((t,l)=>e.createElementVNode("view",{class:"jump-item",key:l,onClick:e=>(e=>{m.value=e,3===e?(uni.$emit("monitor:flipImage",6),X(9)):(uni.$emit("monitor:flipImage",e),f.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,G.value]])])])]),e.withDirectives(e.createVNode(N,{onMovecard:O},null,512),[[e.vShow,!f.value.includes(5)]])])}}}),[["__scopeId","data-v-a885adcb"]]),x=c(e.defineComponent({__name:"full",setup(t){const l=e.ref([]),a=e.ref({fzrHeadPath:"",fzr:"",fzrTel:""});r((()=>{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 n=e.ref(-1),i=e.ref(-1),o=e.ref(!1),c=e.ref(!1);e.ref(null);const s=e.ref(null);e.ref(0);const u=e.ref(3),d=[{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),f=e.ref(5),x=e.ref(0);e.ref({startTime:"",endTime:"",typeName:"",immediateFile:""}),e.onMounted((()=>{n.value=0,i.value=0,o.value=!0,c.value=!0})),e.ref(0),e.ref(-1);const E=e.ref(-1);e.ref(!1);const V=e=>{!function(e){switch(e){case 0:_(1,0);break;case 1:_(5,1);break;case 2:_(7,2);break;case 3:_(3,3);break;case 4:case 5:f.value=D.value,z.value=!1,D.value=-1,B(),C()}}(e)};e.ref(0);const k=new Map;e.onBeforeUnmount((()=>{for(const e of k.values())clearTimeout(e);k.clear()}));const b=e=>{const t=v.value.indexOf(e);-1!==t&&v.value.splice(t,1)},S=e.ref(!1),B=I((()=>{var e;return null==(e=s.value)?void 0:e.moveSecondUp()}),400),C=I((()=>function(){var e;null==(e=s.value)||e.startchange(),0===f.value&&(x.value,uni.$emit("fullmonitor:toggleVolume"));1===f.value&&(x.value?uni.$emit("fullmonitor:stopTalk"):uni.$emit("fullmonitor:openTalk"));2===f.value&&uni.$emit("fullmonitor:doSnapshot");3===f.value&&(x.value?uni.$emit("fullmonitor:stopRecord"):uni.$emit("fullmonitor:startRecord"));4===f.value&&(x.value||(D.value=f.value,f.value=-1,z.value=!0));5===f.value&&T.value!==x.value&&(T.value=x.value,uni.$emit("fullmonitor:changeQuality"));6===f.value&&uni.$emit("fullmonitor:switchDisplay",x.value);7===f.value&&(3===x.value?uni.$emit("fullmonitor:flipImage",6):uni.$emit("fullmonitor:flipImage",x.value));8===f.value&&(x.value?uni.$emit("fullmonitor:stopAlarm"):uni.$emit("fullmonitor:startAlarm"))}()),700),T=e.ref(0),z=e.ref(!1),D=e.ref(-1);function I(e,t=1e3){let l=!1;return()=>{l||(e(),l=!0,setTimeout((()=>{l=!1}),t))}}let U=-1;const F={};function _(e,t){-1!==U&&U!==t&&M(U),U=t,y(e,1),F[t]&&clearTimeout(F[t]),F[t]=setTimeout((()=>{M(t)}),550)}function M(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}y(t,0).then((e=>{})),clearTimeout(F[e]),F[e]=null,U===e&&(U=-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:h}),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(E.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===E.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),k.has(e)&&clearTimeout(k.get(e));const t=setTimeout((()=>{const t=v.value.indexOf(e);-1!==t&&v.value.splice(t,1),k.delete(e)}),500);k.set(e,t);break;case 1:v.value.includes(e)?(uni.$emit("fullmonitor:stopRecord"),b(e)):(uni.$emit("fullmonitor:startRecord"),v.value.push(e));break;case 2:v.value.includes(e)?(uni.$emit("fullmonitor:stopTalk"),b(e)):(uni.$emit("fullmonitor:openTalk"),v.value.push(e));break;case 3:v.value.includes(e)?(uni.$emit("fullmonitor:toggleVolume"),b(e)):(uni.$emit("fullmonitor:toggleVolume"),v.value.push(e));break;case 4:v.value.includes(e)?(uni.$emit("fullmonitor:stopAlarm"),b(e)):(uni.$emit("fullmonitor:startAlarm"),v.value.push(e));break;case 5:case 6:v.value.includes(e)?b(e):v.value.push(e);break;case 7:v.value.includes(e)?(uni.$emit("fullmonitor:changeQuality"),b(e)):(uni.$emit("fullmonitor:changeQuality"),v.value.push(e));break;case 8:S.value=!0;break;case 9:S.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:w,onClick:a[0]||(a[0]=e=>S.value=!1)})]),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(d,((t,l)=>e.createElementVNode("view",{class:"jump-item",key:l,onClick:e=>(e=>{u.value=e,3===e?(uni.$emit("fullmonitor:flipImage",6),b(8)):(uni.$emit("fullmonitor:flipImage",e),v.value.push(8))})(l),style:e.normalizeStyle({backgroundColor:u.value===l?"#E5E8EE":""})},[e.createElementVNode("image",{style:{width:"50rpx",height:"50rpx","margin-right":"10rpx","margin-left":"-10rpx"},src:u.value===l?t.target:t.url},null,8,["src"]),e.createElementVNode("view",{style:e.normalizeStyle({color:u.value===l?"#0E86EA":""})},e.toDisplayString(t.name),5)],12,["onClick"]))),64))],512),[[e.vShow,S.value]])])])]),e.createVNode(N,{onMovecard:V})]))}}),[["__scopeId","data-v-32113a0a"]]),E=c({__name:"exit",props:{show:{type:Boolean,default:!0}},emits:["close"],setup(t,{emit:l}){const a=t,n=e.ref(!1);e.watch((()=>a.show),((e,t)=>{!t&&e&&(n.value=!1,setTimeout((()=>n.value=!0),50))}));const i=l;function o(){i("close")}const r=()=>{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",n.value?"is-active":""])},[e.createElementVNode("view",{class:"neuro-mask",onClick:o}),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:o},"取消"),e.createElementVNode("view",{class:"button",onClick:r},"确定")]),e.createElementVNode("view",{class:"title"},"退出登录"),e.createElementVNode("view",{class:"card-font"}," 确定要注销账户吗 ")])],2)),[[e.vShow,t.show]])}},[["__scopeId","data-v-73fac165"]]),V=c({__name:"reset",props:{show:{type:Boolean,default:!0}},emits:["close"],setup(t,{emit:a}){const n=t,i=e.reactive({username:uni.getStorageSync("username"),oldpassword:"",password:"",confirmpassword:""}),o=e.ref(!1);e.watch((()=>n.show),((e,t)=>{!t&&e&&(o.value=!1,setTimeout((()=>o.value=!0),50))}));const r=a;function c(){r("close")}const s=()=>{i.username&&i.oldpassword&&i.password&&i.confirmpassword?i.password.length<6||i.confirmpassword.length<6?uni.showToast({title:"密码要多于六位",icon:"none",duration:2e3}):i.password===i.confirmpassword?(e=>v({url:`${uni.getStorageSync("serverUrl")}/sys/user/updatePassword`,method:"put",data:{username:e.username,oldpassword:e.oldpassword,password:e.password,confirmpassword:e.confirmpassword}}))(i).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",o.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=>i.oldpassword=e),maxlength:"15",placeholder:"请输入旧密码"},null,512),[[e.vModelText,i.oldpassword]])]),e.createElementVNode("view",{class:"password-father"},[e.withDirectives(e.createElementVNode("input",{class:"password",password:!1,"onUpdate:modelValue":a[1]||(a[1]=e=>i.password=e),maxlength:"15",placeholder:"请输入新密码"},null,512),[[e.vModelText,i.password]])]),e.createElementVNode("view",{class:"password-father"},[e.withDirectives(e.createElementVNode("input",{class:"password",password:!1,"onUpdate:modelValue":a[2]||(a[2]=e=>i.confirmpassword=e),maxlength:"15",placeholder:"请再次输入新密码"},null,512),[[e.vModelText,i.confirmpassword]])]),e.createElementVNode("view",{class:"card-font"})])],2)),[[e.vShow,t.show]])}},[["__scopeId","data-v-19b352d8"]]),k=c(e.defineComponent({__name:"settings",emits:["jump"],setup(t,{emit:l}){const a=e.ref(null),n=e.ref(!1),i=e.ref(!1),o=e.ref(!1),r=e.ref(!1),c=e.ref(!1),m=e.ref(["雷达扫描","扫码添加","手动录入","修改密码","切换机构","检查更新","用户协议","隐私政策"]);e.ref(!0),e.ref("");const v=e.ref(!1),p=e.ref(uni.getStorageSync("orgList")),g=e.ref(!1),h=e.ref(""),w=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}):(h.value=uni.getStorageSync("serverUrl"),v.value=!0);break;case 5:n.value=!0,null==(t=a.value)||t.check_update();break;case 6:i.value=!0,o.value=!0,g.value=!1,setTimeout((()=>{g.value=!0}),50);break;case 7:i.value=!0,o.value=!1,g.value=!1,setTimeout((()=>{g.value=!0}),50)}},y=()=>{n.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(m.value.slice(0,3),((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"item",onClick:e=>w(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(m.value.slice(3,5),((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"item",onClick:e=>w(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(m.value.slice(5,8),((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"item",onClick:e=>w(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=>r.value=!0)}," 注销登录 "),e.createElementVNode("view",{class:"text-center"},[e.createElementVNode("view",null,e.toDisplayString(uni.getStorageSync("orgListName")),1)]),e.createVNode(E,{show:r.value,onClose:l[1]||(l[1]=e=>r.value=!1)},null,8,["show"]),e.createVNode(V,{show:c.value,onClose:l[2]||(l[2]=e=>c.value=!1)},null,8,["show"]),e.createVNode(s,{ref_key:"zyupgrade",ref:a,noticeflag:!0,theme:"blue",h5preview:!1,oldversion:"1.0.0",appstoreflag:!0,autocheckupdate:!0,onShowupdateTips:y},null,512),i.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=>i.value=!1)},null,32),e.createElementVNode("view",{class:"box-any",onTouchmove:l[5]||(l[5]=e.withModifiers((()=>{}),["prevent"]))},[e.createElementVNode("view",{class:"title-left"},[o.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"back-font"},"NU护理单元隐私信息保护政策")),o.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"back-font"},"NU护理单元用户服务协议")):e.createCommentVNode("",!0)]),o.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(d,{key:0})),o.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(h.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-d6160fea"]]),b="/static/x.png",S="/static/index/leida/play.png",B="/static/index/quxiao.png",C=()=>v({url:`${uni.getStorageSync("serverUrl")}/api/pad/baseInfo/queryPadPageList?token=${uni.getStorageSync("token")}`,method:"get"}),T=e=>v({url:`${uni.getStorageSync("serverUrl")}/api/pad/baseInfo/queryinfoByBuId?nuId=${e}`,method:"get"}),z=e=>v({url:`${uni.getStorageSync("serverUrl")}/api/pad/baseInfo/updateBaseInfo`,method:"post",data:e}),D=c(e.defineComponent({__name:"input",setup(t){const a=()=>{uni.navigateBack()},n=e.ref(""),i=e.ref({}),o=()=>{n.value&&T(n.value).then((e=>{e.success?i.value=e.result:uni.showToast({title:e.message,icon:"none"})}))},r=e.ref(!1),c=e.ref(!1),s=e.ref(""),u=e.ref(""),d=()=>{if(s.value){l("log","at pages/watch/settings/input.vue:124","????");let e={id:i.value.id,nuName:s.value};z(e).then((e=>{e.success&&T(n.value).then((e=>{e.success?(i.value=e.result,r.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"},[i.value.nuName?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"big-ball"},[e.createElementVNode("view",{class:"ball"})])),i.value.nuName?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("image",{key:1,class:"left-img",src:"/static/click.png"})),i.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=>n.value=e),placeholder:"请手动录入NUID"},null,512)),[[e.vModelText,n.value]]),i.value.nuName?e.createCommentVNode("",!0):e.withDirectives((e.openBlock(),e.createElementBlock("image",{key:3,class:"right-img",src:b,onClick:l[1]||(l[1]=e=>n.value="")},null,512)),[[e.vShow,n.value]]),i.value.nuName?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:4,class:"blue-button",onClick:o}," 确定 ")),i.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(i.value.nuName),1),e.createElementVNode("view",{class:"video-father"},[e.createElementVNode("image",{class:"edit-img",onClick:l[2]||(l[2]=()=>{}),src:S})])]),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=>i.value={})}," 关闭 "),e.createElementVNode("view",{class:"blue-button",style:{width:"200rpx",height:"70rpx","margin-top":"50rpx"},onClick:l[4]||(l[4]=e=>(s.value=i.value.nuName,u.value=i.value.nuId,c.value=!1,r.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[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(u.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:d},null,544),[[e.vModelText,s.value]]),e.withDirectives(e.createElementVNode("image",{class:"right-img",src:B,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:d}," 确定 ")])],4),[[e.vShow,r.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-9599d5fa"]]),I=c(e.defineComponent({__name:"saoma",setup(t){const a=()=>{uni.navigateBack()},n=e.ref({});function i(){uni.scanCode({onlyFromCamera:!0,scanType:["qrCode","barCode"],success(e){e.result&&(o.value=e.result,T(o.value).then((e=>{e.success?n.value=e.result:uni.showToast({title:e.message,icon:"none"})}))),l("log","at pages/watch/settings/saoma.vue:105","chenggong",e.result)},fail(e){uni.showToast({title:"扫码失败:"+e.errMsg,icon:"none"})}})}const o=e.ref(""),r=e.ref(!1),c=e.ref(!1),s=e.ref(""),u=e.ref(""),d=()=>{if(s.value){let e={id:n.value.id,nuName:s.value};l("log","at pages/watch/settings/saoma.vue:136","????",e),z(e).then((e=>{e.success&&T(o.value).then((e=>{e.success?(n.value=e.result,r.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"},[n.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(n.value.nuName),1),e.createElementVNode("view",{class:"video-father"},[e.createElementVNode("image",{class:"edit-img",onClick:l[0]||(l[0]=()=>{}),src:S})])]),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=>n.value={})}," 关闭 "),e.createElementVNode("view",{class:"blue-button",style:{width:"200rpx",height:"70rpx","margin-top":"50rpx"},onClick:l[2]||(l[2]=e=>(s.value=n.value.nuName,u.value=n.value.nuId,c.value=!1,r.value=!0,void setTimeout((()=>{c.value=!0}),50)))}," 重命名 ")]),e.createElementVNode("view",{class:"card-tags"},[e.createElementVNode("view",{style:{"margin-left":"80rpx"}}," NUID:"+e.toDisplayString(n.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(u.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:d},null,544),[[e.vModelText,s.value]]),e.withDirectives(e.createElementVNode("image",{class:"right-img",src:B,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:d}," 确定 ")])],4),[[e.vShow,r.value]])]),n.value.nuName?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("image",{key:0,class:"big-bgc",src:"/static/kuai.png"})),n.value.nuName?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:1,class:"big-img",onClick:i},[e.createElementVNode("image",{style:{width:"100%",height:"100%"},src:"/static/sao.png"}),e.createElementVNode("view",{class:"big-font"}," 点击扫描区域二维码 ")])),n.value.nuName?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("image",{key:2,class:"big-QR",src:"/static/qr.png",onClick:i})),e.createElementVNode("view",{class:"index-content-down"}," 长春市朝阳区久泰开运养老服务有限公司 ")],64))}}),[["__scopeId","data-v-59f4443c"]]),U=c(e.defineComponent({__name:"leida",setup(t){const a=()=>{uni.navigateBack()},n=e.ref(!0),i=e.ref(0),o=e.ref(100),r=e.ref(-1),c=e.ref(""),s=e.ref(),u=e.ref(!1),d=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 h(e){return"function"==typeof globalThis.requestAnimationFrame?globalThis.requestAnimationFrame(e):setTimeout((()=>e(Date.now())),16)}function w(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=w(e);y||(y=t);const l=(t-y)/1e3;y=t,n.value&&(i.value=(i.value+o.value*l)%360),g=h(N)}function f(){100===I.value&&(U(),x())}function x(){n.value=!n.value,n.value?(y=w(),T()):D()}const E=e.computed((()=>({transform:`rotate(${i.value}deg)`}))),V=e.ref([]);let k=null,b=0;function T(){k||(k=setInterval((()=>{!function(){const e=1*Math.random()+5,t=Math.random()*(200-e),l=Math.random()*(200-e),a=b++,n={id:a,size:e,left:t,top:l,color:"#02a9ff",opacity:0};V.value.push(n),setTimeout((()=>{n.opacity=1}),20),setTimeout((()=>{n.opacity=0,setTimeout((()=>{V.value=V.value.filter((e=>e.id!==a))}),500)}),2e3)}()}),500))}function D(){clearInterval(k),k=null}const I=e.ref(0);function U(){let e=Date.now(),t=Math.floor(30*Math.random())+30,a=!1,n=Math.floor(500*Math.random())+300,i=0;C().then((e=>{e.result.records.forEach((e=>{e.menu=JSON.parse(JSON.stringify(d.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 n=0;for(let i=0;i<e;i++)n+=a[i],setTimeout((async()=>{m.value.push(v.value[i]),m.value.length}),n)}()})),setTimeout((function l(){let o=Date.now()-e;if(!a&&I.value>=t&&(a=!0,i=Date.now()),a){if(!(Date.now()-i>=n))return void setTimeout(l,16);a=!1}let r=Math.min(o/4e3,1);I.value=Math.floor(100*r),100===I.value&&x(),I.value<100&&setTimeout(l,16)}),16)}e.onMounted((()=>{F()}));const F=()=>{y=w(),g=h(N),T(),U()},_=e.ref(-1),M=e.ref(-1);return e.onBeforeUnmount((()=>{var e;null!=g&&(e=g,"function"==typeof globalThis.cancelAnimationFrame?globalThis.cancelAnimationFrame(e):clearTimeout(e)),D()})),(t,n)=>(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(E.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(V.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==_.value?"zerotarget":""]),style:{"margin-top":"0"},onClick:f},e.toDisplayString((I.value,"扫描")),3),e.createElementVNode("view",{class:"progress-wrap"},[e.createElementVNode("view",{class:"progress-inner",style:e.normalizeStyle({width:I.value+"%"})},null,4)]),e.createElementVNode("view",{class:"progress-text"},e.toDisplayString(I.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",[_.value===l&&-1===M.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",_.value===l&&0===M.value?"zerotarget":""])},[e.createElementVNode("image",{class:"edit-img",onClick:n[0]||(n[0]=()=>{}),src:S})],2)]),e.createElementVNode("view",{class:e.normalizeClass(["blue-button",_.value===l&&1===M.value?"zerotarget":""]),style:{width:"200rpx",height:"70rpx","margin-top":"50rpx"},onClick:e=>{return a=l,n=t,r.value=a,c.value=n.nuName,s.value=n.nuId,u.value=!1,void setTimeout((()=>{u.value=!0}),50);var a,n}}," 重命名 ",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!==r.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"popup-any",style:e.normalizeStyle(u.value?{opacity:1}:{opacity:0})},[e.createElementVNode("view",{class:"mask",onClick:n[1]||(n[1]=e=>r.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":n[2]||(n[2]=e=>c.value=e)},null,512),[[e.vModelText,c.value]]),e.withDirectives(e.createElementVNode("image",{class:"right-img",src:B,onClick:n[3]||(n[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:n[4]||(n[4]=e=>((e,t)=>{if(l("log","at pages/watch/settings/leida.vue:196","jiance",e,s.value),e){let t={id:m.value[r.value].id,nuName:e};z(t).then((e=>{e.success&&C().then((e=>{e.result.records.forEach((e=>{e.menu=JSON.parse(JSON.stringify(d.value)),e.isNew=!0})),m.value=[],m.value.push(...e.result.records)}))}))}r.value=-1})(c.value,r.value))}," 确定 ")])],4)):e.createCommentVNode("",!0)])],8,["scroll-top"])]),e.createElementVNode("view",{class:"index-content-down"}," 长春市朝阳区久泰开运养老服务有限公司 ")]))}}),[["__scopeId","data-v-8780cada"]]),F=c(e.defineComponent({__name:"Warehouse",setup(t){e.ref(!1),e.ref(!1);const a=e.ref(-1),n=e.ref(0),i=e.ref(null),o=e=>{a.value=e;const t=Date.now();t-n.value<300?(clearTimeout(i.value),0==e&&(r.value="pages/Warehouse/paymoney",uni.navigateTo({url:"/"+r.value})),1==e&&(r.value="pages/procurement/material",uni.navigateTo({url:"/"+r.value})),2==e&&(r.value="pages/Warehouse/picking",uni.navigateTo({url:"/"+r.value})),3==e&&(r.value="pages/Warehouse/finish",uni.navigateTo({url:"/"+r.value})),5===e&&uni.navigateTo({url:"/pages/watch/full"}),6==e&&(r.value="pages/procurement/outbound?code=0",uni.navigateTo({url:"/"+r.value})),7==e&&(r.value="pages/procurement/outbound?code=1",uni.navigateTo({url:"/"+r.value})),n.value=0):(i.value=setTimeout((()=>{5===e&&uni.navigateTo({url:"/pages/watch/full"})}),300),n.value=t)};e.onMounted((()=>{a.value=1}));const r=e.ref("");function c(e,t,l,a="png",n=0,i=!1){return Array.from({length:l},((l,o)=>{const r=i?String(o+n).padStart(2,"0"):o+n;return`${e}/${t}${r}.${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,n)=>{const i=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=>o(l)),["stop"])},[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.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:n[0]||(n[0]=e.withModifiers((e=>o(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=>o(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:n[1]||(n[1]=e=>(e=>{if(l("log","at pages/Warehouse/Warehouse.vue:137","点击了哪个图标",e),e>5)return r.value="pages/Warehouse/finish",void uni.navigateTo({url:"/"+r.value});e<4&&(a.value=e),5===e&&uni.navigateTo({url:"/pages/watch/full"})})(5)),class:"zhanwei"})])])}}}),[["__scopeId","data-v-82523906"]]),_="/static/index/newindex/wendu/0.png",M="/static/index/newindex/wendu/1.png",$=c(e.defineComponent({__name:"index",props:{isShow:{type:Boolean,required:!0},propsmove:{type:Number},isMain:{type:Boolean}},emits:["back","cleanmain"],setup(t,{emit:a}){const n=t,i=e.ref(-1);e.watch((()=>n.isMain),((e,t)=>{"boolean"==typeof t&&n.isShow&&(k.value?k.value=!1:!0===t&&!1===e?(i.value=0,o.value=0,s.value=o.value):!1===t&&!0===e&&(i.value=-1,o.value=-1,s.value=0,l("log","at pages/NursingNew/component/index.vue:185","?????")))}));const o=e.ref(-1),r=a,c=e.ref(0);e.watch((()=>n.propsmove),(()=>{if(-1!=i.value)switch(i.value){case 0:switch(n.propsmove){case 0:i.value=-1,o.value=-1,r("back");break;case 1:o.value<x.value.length-1&&(o.value++,s.value=o.value);break;case 2:c.value=o.value,i.value=1,o.value=0;break;case 3:o.value?(o.value--,s.value=o.value):(i.value=-1,o.value=-1,r("back"));break;case 4:s.value=o.value}break;case 1:switch(n.propsmove){case 0:o.value?o.value--:(i.value=0,o.value=c.value,s.value=c.value);break;case 1:o.value=0,i.value=2;break;case 2:o.value<2?o.value++:(o.value=0,i.value=3);break;case 3:i.value=-1,o.value=-1,r("back")}break;case 2:switch(n.propsmove){case 0:o.value?o.value--:(i.value=0,o.value=c.value,s.value=c.value);break;case 1:o.value=0,i.value=3;break;case 2:o.value<2?o.value++:(o.value=0,i.value=3);break;case 3:o.value=0,i.value=1}break;case 3:switch(n.propsmove){case 0:o.value=0,i.value=1;break;case 1:0===o.value?o.value++:(o.value=2,i.value=2);break;case 2:break;case 3:1===o.value?o.value--:(o.value=2,i.value=1)}}}));const s=e.ref(-1),u=e.ref(!1);e.ref();const d=e.ref(0);function m(e){d.value=e.detail.scrollTop}function v(e,t,l,a="png",n=0,i=!1){return Array.from({length:l},((l,o)=>{const r=i?String(o+n).padStart(2,"0"):o+n;return`${e}/${t}${r}.${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:"四肢"}]),h=e.ref(v("/static/index/newindex/leftmenu","",3,"png",0,!1));e.ref(v("/static/index/newindex/huli","care",9,"png",0,!1));const w=v("/static/index/newindex/curve","curve_",9,"png",1,!1),y=e.ref([...w,...[...w].reverse()]),N=v("/static/index/newindex/curve","breathe_",9,"png",1,!1),f=e.ref([...N,...[...N].reverse()]),x=e.ref([{url:v("/static/index/newindex/huli","care",8,"png",0,!1),name:"护理类"},{url:v("/static/index/newindex/yiliao","health_",8,"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:"康复类"}]),E=e.ref(!1);e.watch((()=>n.isShow),((e,t)=>{!t&&e?(E.value=!1,setTimeout((()=>{E.value=!0}),50)):E.value=!1}));const V=e.ref("");e.onMounted((()=>{V.value=uni.getStorageSync("realname"),s.value=0,u.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(E.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:_}),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:M}),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(V.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(x.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:e.normalizeClass([{zerotarget:0===i.value&&o.value===l},"menu"]),style:e.normalizeStyle({backgroundColor:0===i.value&&o.value===l?"#ddf0ff":""}),onClick:e=>{s.value=l,o.value=l,-1==i.value&&(k.value=!0,r("cleanmain")),i.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:u.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:u.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===i.value&&0===o.value}),style:{width:"240rpx",height:"90rpx","margin-right":"40rpx"}},[e.createElementVNode("view",{class:"start-button"}," 开始服务 ")],2),e.createElementVNode("view",{class:e.normalizeClass({thirdtarget:3===i.value&&1===o.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(h.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,style:{margin:"30rpx 0"},class:e.normalizeClass({firsttarget:1===i.value&&o.value===l})},[e.createElementVNode("view",{class:"left-ball",style:e.normalizeStyle({backgroundColor:1===i.value&&o.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=>d.value-=115)}),e.createElementVNode("view",{class:"zhezhao-bottom",onClick:l[1]||(l[1]=e=>d.value+=115)}),e.createElementVNode("image",{class:"top-img",src:"/static/index/newindex/rightmenu/top.png",onClick:l[2]||(l[2]=e=>d.value>0?d.value-=115:d.value=0)},null,8,["src"]),e.createElementVNode("scroll-view",{"scroll-y":"true",class:"right-scroll","scroll-top":d.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===i.value&&o.value===l}),style:{margin:"20rpx auto",width:"110rpx"}},[e.createElementVNode("view",{class:"white-circle",style:e.normalizeStyle({backgroundColor:2===i.value&&o.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=>d.value>55*p.value.length?d.value=55*p.value.length:d.value+=115)},null,8,["src"])])],4)}}}),[["__scopeId","data-v-0866f96f"]]),j="/static/nomessage.png",L="/static/index/newindex/leftmenu/biga.png",P=e=>v({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"}),A=e=>v({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"}),q=e=>v({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"}),O=c(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 n=t,i=e.ref(-1),o=e.ref(!1),r=Q("/static/index/newindex/curve","curve_",9,"png",1,!1),c=e.ref([...r,...[...r].reverse()]),s=e.ref([{url:"/static/index/newindex/leftmenu/up.png"},{url:"/static/index/newindex/leftmenu/down.png"}]),u=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"}]),d=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"}]),p=e.ref(0);e.watch((()=>n.isMain),((e,t)=>{"boolean"==typeof t&&n.isShow&&(Ce.value?Ce.value=!1:!0===t&&!1===e?(i.value=0,g.value=0,f.value=g.value,Ve()):!1===t&&!0===e&&(i.value=-1,g.value=-1,f.value=0,Ve()))}));const g=e.ref(-1),h=a,w=e.ref(0),y=new Map;e.onBeforeUnmount((()=>{for(const e of y.values())clearTimeout(e);y.clear()})),e.watch((()=>n.propsmove),(()=>{if(-1!=i.value){if(B.value){switch(n.propsmove){case 0:case 2:break;case 1:3==N.value?D.value<4&&D.value++:D.value<6&&D.value++;break;case 3:D.value&&D.value--;break;case 4:1==N.value?D.value<4?U(u.value[D.value].type,D.value):F(D.value-u.value.length):2==N.value?D.value<4?U(d.value[D.value].type,D.value):F(D.value-d.value.length):3==N.value&&(D.value<2?U(m.value[D.value].type,D.value):F(D.value-m.value.length));break;case 5:R()}return}if(E.value||V.value||b.value||k.value||S.value){switch(n.propsmove){case 0:case 2:break;case 1:case 3:o.value=!o.value;break;case 4:o.value?(E.value&&$(),V.value&&O("10"),b.value&&W(),k.value&&O("11"),S.value&&Y()):R();break;case 5:R()}return}switch(i.value){case 0:switch(n.propsmove){case 0:i.value=-1,g.value=-1,h("back");break;case 1:g.value<be.value.length-1&&(g.value++,f.value=g.value,p.value=130*g.value,Ve());break;case 2:N.value?(w.value=g.value,i.value=1,g.value=0):(w.value=g.value,i.value=2,g.value=0);break;case 3:g.value?(g.value--,f.value=g.value,p.value=130*g.value,Ve()):(i.value=-1,g.value=-1,h("back"));break;case 4:f.value=g.value}break;case 1:switch(n.propsmove){case 0:g.value?g.value--:(i.value=0,g.value=w.value,f.value=w.value);break;case 1:g.value=0,i.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,h("canback",!0)):(z(),h("canback",!0)):(E.value=!0,h("canback",!0)):g.value?1==g.value&&(z(),h("canback",!0)):(S.value=!0,h("canback",!0))}break;case 2:switch(n.propsmove){case 0:g.value?g.value--:(i.value=0,g.value=w.value,f.value=w.value);break;case 1:break;case 2:3!=N.value&&g.value<1&&g.value++;break;case 3:N.value&&(g.value=0,i.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,h("canback",!0)):"1"===fe.value.relayState?(V.value=!0,h("canback",!0)):(k.value=!0,h("canback",!0))}else b.value=!0,h("canback",!0)}}}}));const N=e.ref(-1),f=e.ref(-1),x=e.ref(!1);e.ref(),e.ref(0);const E=e.ref(!1),V=e.ref(!1),k=e.ref(!1),b=e.ref(!1),S=e.ref(!1),B=e.ref(!1),C=e.ref({pageNo:1,pageSize:8,cid:0,type:"",sn:""}),T=e.ref([]),z=()=>{C.value.pageNo=1,T.value=[],D.value=0,I.value=0,1==N.value&&(C.value.cid=fe.value.cid,C.value.type=u.value[0].type,P(C.value).then((e=>{200==e.code&&(T.value=e.result.records,B.value=!0)}))),2==N.value&&(C.value.cid=xe.value.cid,C.value.type=d.value[0].type,P(C.value).then((e=>{200==e.code&&(T.value=e.result.records,B.value=!0)}))),3==N.value&&(C.value.sn=Ee.value.sn,C.value.type="0",I.value=3,A(C.value).then((e=>{200==e.code&&(T.value=e.result.records,B.value=!0)})))},D=e.ref(0),I=e.ref(0),U=(e,t)=>{if(C.value.type!=e){if(3==N.value)return D.value=t,C.value.pageNo=1,T.value=[],C.value.type=e,void("0"==e?A(C.value).then((e=>{200==e.code&&(T.value=e.result.records)})):q(C.value).then((e=>{200==e.code&&(T.value=e.result.records,l("log","at pages/NursingNew/component/equipment.vue:1090","aaaa",T.value))})));I.value=t>1?1:0,D.value=t,C.value.pageNo=1,T.value=[],C.value.type=e,P(C.value).then((e=>{200==e.code&&(T.value=e.result.records)}))}},F=e=>{if(3==N.value)return D.value=e+2,void(e?8==T.value.length&&(C.value.pageNo++,"0"==C.value.type?A(C.value).then((e=>{200==e.code&&(T.value=e.result.records)})):q(C.value).then((e=>{200==e.code&&(T.value=e.result.records,l("log","at pages/NursingNew/component/equipment.vue:1131","aaaa",T.value))}))):C.value.pageNo>1&&(C.value.pageNo--,T.value=[],"0"==C.value.type?A(C.value).then((e=>{200==e.code&&(T.value=e.result.records)})):q(C.value).then((e=>{200==e.code&&(T.value=e.result.records)}))));D.value=e+u.value.length,e?8==T.value.length&&(C.value.pageNo++,P(C.value).then((e=>{200==e.code&&(T.value=e.result.records)}))):C.value.pageNo>1&&(C.value.pageNo--,T.value=[],P(C.value).then((e=>{200==e.code&&(T.value=e.result.records)})))},$=()=>{var e,t;R(),1==N.value?(e=fe.value.cid,t=fe.value.address,v({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((()=>{Be()}),4e3)})):2==N.value&&((e,t)=>v({url:`${uni.getStorageSync("serverUrl")}/api/iot/water/waterReset?cid=${e}&address=${t}`,method:"get"}))(xe.value.cid,xe.value.address).then((e=>{uni.showToast({title:e.message,icon:"none",duration:1500,mask:!1}),setTimeout((()=>{Be()}),4e3)}))},O=e=>{R(),1==N.value?((e,t,l)=>v({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((()=>{Be()}),4e3)})):2==N.value&&(e="10"==e?"43":"53",((e,t,l)=>v({url:`${uni.getStorageSync("serverUrl")}/api/iot/water/waterControl?cid=${e}&address=${t}&type=${l}`,method:"get"}))(xe.value.cid,xe.value.address,e).then((e=>{uni.showToast({title:e.message,icon:"none",duration:1500,mask:!1}),setTimeout((()=>{Be()}),4e3)})))},Y=()=>{var e,t,l;R(),1==N.value?(t=fe.value.cid,l=fe.value.address,v({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((()=>{Be()}),4e3)})):2==N.value?((e,t)=>v({url:`${uni.getStorageSync("serverUrl")}/api/iot/water/waterRead?cid=${e}&address=${t}`,method:"get"}))(xe.value.cid,xe.value.address).then((e=>{uni.showToast({title:e.message,icon:"none",duration:1500,mask:!1}),setTimeout((()=>{Be()}),4e3)})):3==N.value&&(e=Ee.value.sn,v({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((()=>{Be()}),4e3)}))},W=()=>{var e;R(),1==N.value?(e=fe.value.id,v({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((()=>{Be()}),4e3)})):2==N.value?(e=>v({url:`${uni.getStorageSync("serverUrl")}/api/iot/water/baoxiu`,method:"post",data:{id:e}}))(xe.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((()=>{Be()}),4e3)})):3==N.value?(e=>v({url:`${uni.getStorageSync("serverUrl")}/api/iot/humidDevice/baoxiu`,method:"post",data:{id:e}}))(Ee.value.id).then((e=>{uni.showToast({title:e.message,icon:"none",duration:1500,mask:!1}),setTimeout((()=>{Be()}),4e3)})):0==N.value&&(e=>v({url:`${uni.getStorageSync("serverUrl")}/api/iot/tplink/cameraInfo/baoxiu`,method:"post",data:{id:e}}))(Ee.value.id).then((e=>{uni.showToast({title:e.message,icon:"none",duration:1500,mask:!1}),setTimeout((()=>{Be()}),4e3)}))},R=()=>{E.value=!1,V.value=!1,b.value=!1,k.value=!1,S.value=!1,B.value=!1,o.value=!1,h("canback",!1)},X=e=>{g.value=e,Te(),i.value=1,3!=N.value?1!==i.value||e?1==e?(S.value=!0,h("canback",!0)):2==e&&(z(),h("canback",!0)):(E.value=!0,h("canback",!0)):e?1==e&&(z(),h("canback",!0)):(S.value=!0,h("canback",!0))},G=e=>{N.value||e?(g.value=e,Te(),i.value=2,3!=N.value?e?(b.value=!0,h("canback",!0)):"1"===fe.value.relayState?(V.value=!0,h("canback",!0)):(k.value=!0,h("canback",!0)):(b.value=!0,h("canback",!0))):uni.navigateTo({url:"/pages/watch/full"})};function Q(e,t,l,a="png",n=0,i=!1){return Array.from({length:l},((l,o)=>{const r=i?String(o+n).padStart(2,"0"):o+n;return`${e}/${t}${r}.${a}`}))}const J=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)]),Z=e.ref([Q("/static/index/newindex/leftmenu","read",8,"png",1,!1),Q("/static/index/newindex/leftmenu","Log",10,"png",0,!1)]),H=e.ref([Q("/static/index/newindex/rightmenu","service",5,"png",0,!1)]),K=e.ref([]),ee=e.ref([]),te=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)]),le=e.ref(["清零","抄表","日志","拉闸","合闸","报修"]),ae=e.ref(["预览","报修"]),ne=e.ref(["清零","抄表","日志","开阀","关阀","报修"]),ie=e.ref(["抄表","日志","报修"]),oe=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:"温湿度计"}]),re=e.ref(!1);function ce(e){const t=String(e);if(!t.includes("."))return{intPart:t,fracDigits:""};const[l,a]=t.split(".");return{intPart:l,fracDigits:a}}e.watch((()=>n.isShow),((e,t)=>{!t&&e?(re.value=!1,setTimeout((()=>{re.value=!0}),50)):re.value=!1}));const se=e.ref(""),ue=e.ref(0);let de=0,me=0,ve=0,pe=300,ge=!1;function he(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()}function we(e){ge=!1,de=ue.value,me=e,ve=he(),pe=300,ge=!0,Ne(ye)}function ye(){if(!ge)return;let e=(he()-ve)/pe;e>1&&(e=1);const t=1-Math.pow(1-e,3);ue.value=Number((de+(me-de)*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}),xe=e.ref({waterValue:"",address:"",readTime:"",relayState:"0",cid:0,id:0}),Ee=e.ref({temperature:"",humidity:"",maintainStatus:"",sn:"",reportingTime:"",id:0});e.onMounted((()=>{se.value=uni.getStorageSync("realname"),N.value=0,x.value=!0,Be(),Se()}));const Ve=()=>{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?K.value=[te.value[1],te.value[2]]:K.value=[te.value[0],te.value[2]],we(Number(e))}else if(2===N.value){xe.value=be.value[f.value];const e=xe.value.waterValue;"1"===xe.value.relayState?ee.value=[te.value[1],te.value[2]]:ee.value=[te.value[0],te.value[2]],we(Number(e))}else if(3===N.value){Ee.value=be.value[f.value];const e=Ee.value.temperature;we(Number(e))}else N.value||(ke.value=be.value[f.value],K.value=[te.value[0],te.value[2]])},ke=e.ref({deviceName:"",deviceStatus:"1",nuId:"",nuName:"",sn:"",reportingTime:"",id:0}),be=e.ref([]),Se=()=>{setTimeout((()=>{f.value=0,Ve()}),500)},Be=()=>{be.value=[],v({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=oe.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=oe.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=oe.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=oe.value[3].url,be.value.push(e)}));let t=f.value;f.value=-1,setTimeout((()=>{f.value=t}),500)}))},Ce=e.ref(!1),Te=()=>{-1==i.value&&(Ce.value=!0,h("cleanmain"))};return(t,l)=>{const a=e.resolveComponent("donghua");return e.openBlock(),e.createElementBlock("view",{class:"index-content-other",style:e.normalizeStyle(re.value?{opacity:"1"}:{opacity:"0"})},[e.withDirectives(e.createElementVNode("view",{class:"zhezhao",onClick:l[16]||(l[16]=e=>R())},[B.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(u.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["rizhi-card",{buttontarget:D.value===l}]),style:e.normalizeStyle(t.type==C.value.type?{color:"#008FF5"}:{}),key:l,onClick:e=>U(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(d.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["rizhi-card",{buttontarget:D.value===l}]),style:e.normalizeStyle(t.type==C.value.type?{color:"#008FF5"}:{}),key:l,onClick:e=>U(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:D.value===l}]),style:e.normalizeStyle(t.type==C.value.type?{color:"#008FF5"}:{}),key:l,onClick:e=>U(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:D.value===l+u.value.length}]),key:l,onClick:e=>F(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:D.value===l+2}]),key:l,onClick:e=>F(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(T.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)),T.value.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"nomessage"},[e.createElementVNode("image",{class:"nomessage-img",src:j}),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(T.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)),T.value.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"nomessage"},[e.createElementVNode("image",{class:"nomessage-img",src:j}),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(T.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)),T.value.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"nomessage"},[e.createElementVNode("image",{class:"nomessage-img",src:j}),e.createElementVNode("view",{class:""}," 暂无信息 ")]))],512),[[e.vShow,3==I.value]])])):e.createCommentVNode("",!0),E.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(o.value?"button-white":"buttontarget button"),onClick:l[1]||(l[1]=e=>E.value=!1)}," 取消",2),e.createElementVNode("view",{class:e.normalizeClass(o.value?"buttontarget button":"button-white"),onClick:l[2]||(l[2]=e=>$())},"确定",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(o.value?"button-white":"buttontarget button"),onClick:l[4]||(l[4]=e=>S.value=!1)}," 取消",2),e.createElementVNode("view",{class:e.normalizeClass(o.value?"buttontarget button":"button-white"),onClick:l[5]||(l[5]=e=>Y())},"确定",2)]),e.createElementVNode("view",{class:"card-font"}," 确定要抄表吗 ")],4)):e.createCommentVNode("",!0),V.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(o.value?"button-white":"buttontarget button"),onClick:l[7]||(l[7]=e=>V.value=!1)},"取消 ",2),e.createElementVNode("view",{class:e.normalizeClass(o.value?"buttontarget button":"button-white"),onClick:l[8]||(l[8]=e=>O("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(o.value?"button-white":"buttontarget button"),onClick:l[10]||(l[10]=e=>b.value=!1)},"取消 ",2),e.createElementVNode("view",{class:e.normalizeClass(o.value?"buttontarget button":"button-white"),onClick:l[11]||(l[11]=e=>W())},"确定",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(o.value?"button-white":"buttontarget button"),onClick:l[13]||(l[13]=e=>k.value=!1)},"取消 ",2),e.createElementVNode("view",{class:e.normalizeClass(o.value?"buttontarget button":"button-white"),onClick:l[14]||(l[14]=e=>O("11"))},"确定",2)]),e.createElementVNode("view",{class:"card-font"}," 确定要"+e.toDisplayString(1===N.value?"合闸":2===N.value?"关阀":"")+"吗 ",1)])):e.createCommentVNode("",!0)],512),[[e.vShow,E.value||V.value||b.value||k.value||S.value||B.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:_}),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:M}),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":p.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===i.value&&g.value===l},"menu"]),style:e.normalizeStyle({backgroundColor:0===i.value&&g.value===l?"#ddf0ff":""}),onClick:e=>{f.value=l,g.value=l,Te(),i.value=0,Ve()}},[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:x.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(K.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"buttons-father",onClick:e=>G(l)},[e.createElementVNode("view",{class:e.normalizeClass(["left-ball",{firsttarget:2===i.value&&g.value===l}]),style:e.normalizeStyle({backgroundColor:2===i.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===i.value&&g.value===l,loop:!1,interval:120},null,8,["links","playing"]),[[e.vShow,l]])],6),e.createElementVNode("view",{style:{position:"relative"}},e.toDisplayString(ae.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:x.value,loop:!0,interval:120},null,8,["links","playing"])]),e.createElementVNode("view",{class:"donghua-number"},e.toDisplayString(ue.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(J.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"buttons-father",onClick:e=>X(l)},[e.createElementVNode("view",{class:e.normalizeClass(["left-ball",{firsttarget:1===i.value&&g.value===l&&!B.value}]),style:e.normalizeStyle({backgroundColor:1!==i.value||g.value!==l||B.value?"":"#ddf0ff"})},[e.createVNode(a,{width:"50rpx",height:"50rpx",links:t,style:{width:"50rpx",height:"50rpx"},playing:1===i.value&&g.value===l,loop:!1,interval:120},null,8,["links","playing"])],6),e.createElementVNode("view",{class:""},e.toDisplayString(le.value[l]),1)],8,["onClick"])))),128))]),e.createElementVNode("view",{class:"right-menu"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(K.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"buttons-father",onClick:e=>G(l)},[e.createElementVNode("view",{class:e.normalizeClass(["left-ball",{firsttarget:2===i.value&&g.value===l}]),style:e.normalizeStyle({backgroundColor:2===i.value&&g.value===l?"#ddf0ff":""})},[e.createVNode(a,{width:"50rpx",height:"50rpx",links:t,style:{width:"50rpx",height:"50rpx"},playing:2===i.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?le.value[5]:"1"===fe.value.relayState?le.value[3]:le.value[4])+" ",1),l?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("image",{key:0,class:"biga-img",src:L}))])],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:x.value,loop:!0,interval:120},null,8,["links","playing"])]),e.createElementVNode("view",{class:"water-donghua-number"},e.toDisplayString(ue.value),1),e.createElementVNode("view",{class:"weight-time"},[e.createTextVNode(e.toDisplayString(xe.value.waterValue?xe.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"==xe.value.relayState?"关阀":"开阀"),1),e.createElementVNode("view",{class:"status-font"}," SN:"+e.toDisplayString(xe.value.address),1),e.createElementVNode("view",{class:"status-time"}," 上次抄表时间:"+e.toDisplayString(xe.value.readTime?xe.value.readTime:"未抄表"),1)])]),e.createElementVNode("view",{class:"left-menu"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(J.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"buttons-father",onClick:e=>X(l)},[e.createElementVNode("view",{class:e.normalizeClass(["left-ball",{firsttarget:1===i.value&&g.value===l&&!B.value}]),style:e.normalizeStyle({backgroundColor:1!==i.value||g.value!==l||B.value?"":"#ddf0ff"})},[e.createVNode(a,{width:"50rpx",height:"50rpx",links:t,style:{width:"50rpx",height:"50rpx"},playing:1===i.value&&g.value===l,loop:!1,interval:120},null,8,["links","playing"])],6),e.createElementVNode("view",{class:""},e.toDisplayString(ne.value[l]),1)],8,["onClick"])))),128))]),e.createElementVNode("view",{class:"right-menu"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(K.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"buttons-father",onClick:e=>G(l)},[e.createElementVNode("view",{class:e.normalizeClass(["left-ball",{firsttarget:2===i.value&&g.value===l}]),style:e.normalizeStyle({backgroundColor:2===i.value&&g.value===l?"#ddf0ff":""})},[e.createVNode(a,{width:"50rpx",height:"50rpx",links:t,style:{width:"50rpx",height:"50rpx"},playing:2===i.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?ne.value[5]:"1"===xe.value.relayState?ne.value[3]:ne.value[4])+" ",1),l?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("image",{key:0,class:"biga-img",src:L}))])],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:x.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(ue.value?ce(ue.value).intPart:"-"),1),e.createElementVNode("view",{class:"wendu-top-right"},[e.createElementVNode("view",{class:""}," ℃ "),e.createElementVNode("view",{class:""}," ."+e.toDisplayString(ue.value?ce(ue.value).fracDigits:"-"),1)])]),e.createElementVNode("view",{class:"wendu-heng"}),e.createElementVNode("view",{class:"wendu-bottom"},e.toDisplayString(Ee.value.humidity?Ee.value.humidity:"-")+" % ",1)]),e.createElementVNode("view",{class:"weight-time"},[e.createTextVNode(e.toDisplayString(Ee.value.temperature?Ee.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(Ee.value.humidity?Ee.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==Ee.value.maintainStatus?"正常":1==Ee.value.maintainStatus?"维修中":2==Ee.value.maintainStatus?"报废":""),1),e.createElementVNode("view",{class:"status-font"}," SN:"+e.toDisplayString(Ee.value.sn),1),e.createElementVNode("view",{class:"status-time"}," 上次抄表时间:"+e.toDisplayString(Ee.value.reportingTime?Ee.value.reportingTime:"未抄表"),1)])]),e.createElementVNode("view",{class:"left-menu"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Z.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"buttons-father",onClick:e=>X(l)},[e.createElementVNode("view",{class:e.normalizeClass(["left-ball",{firsttarget:1===i.value&&g.value===l&&!B.value}]),style:e.normalizeStyle({backgroundColor:1!==i.value||g.value!==l||B.value?"":"#ddf0ff"})},[e.createVNode(a,{width:"50rpx",height:"50rpx",links:t,style:{width:"50rpx",height:"50rpx"},playing:1===i.value&&g.value===l,loop:!1,interval:120},null,8,["links","playing"])],6),e.createElementVNode("view",{class:""},e.toDisplayString(ie.value[l]),1)],8,["onClick"])))),128))]),e.createElementVNode("view",{class:"right-menu"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(H.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"buttons-father",onClick:e=>G(l)},[e.createElementVNode("view",{class:e.normalizeClass(["left-ball",{firsttarget:2===i.value&&g.value===l}]),style:e.normalizeStyle({backgroundColor:2===i.value&&g.value===l?"#ddf0ff":""})},[e.createVNode(a,{width:"50rpx",height:"50rpx",links:t,style:{width:"50rpx",height:"50rpx"},playing:2===i.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?ie.value[1]:ie.value[2])+" ",1),l?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("image",{key:0,class:"biga-img",src:L}))])],8,["onClick"])))),128))])],512),[[e.vShow,3===N.value]])],4)}}}),[["__scopeId","data-v-b2958126"]]),Y="/static/index/requestform/chongzhi.png",W="/static/index/warehouse/procurement/picking/bebad.png",R="/static/index/requestform/isok.png",X="/static/index/requestform/gongyingshang.png",G=e=>v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/queryQld`,method:"get",data:e}),Q=e=>v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/queryQldWlInfo`,method:"get",data:e}),J=e=>v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/queryMaterialInfo`,method:"get",data:e}),Z=e=>v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/transRead`,method:"post",data:e}),H=e=>v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/cancellation`,method:"post",data:e}),K="/static/index/procurement/que.png";const ee=c({props:{cont:{type:String,default:""},show:{type:Boolean,default:!1}}},[["render",function(t,l,a,n,i,o){return a.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:"que"},[e.createElementVNode("image",{src:K,mode:"aspectFill"}),e.createElementVNode("view",null,e.toDisplayString(a.cont),1)])):e.createCommentVNode("",!0)}],["__scopeId","data-v-aab254aa"]]);const te=c({props:{cont:"",style:{}}},[["render",function(t,l,a,n,i,o){return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:"que",style:e.normalizeStyle(a.style)},[e.createElementVNode("image",{src:K,mode:"aspectFill"}),e.createElementVNode("view",null,e.toDisplayString(a.cont),1)],4)])}],["__scopeId","data-v-1bbac045"]]),le=c(e.defineComponent({__name:"requestform",props:{isShow:{type:Boolean,required:!0}},setup(t){const a=t,n=e.ref(["全部","待出库","已出库","已收货 ","已作废"]),i=e.ref(!1);e.watch((()=>a.isShow),((e,t)=>{!t&&e?(i.value=!1,setTimeout((()=>{i.value=!0}),50)):i.value=!1})),e.onMounted((()=>{})),e.ref(!1);const o=e.ref(0),c=e=>{if(o.value!=e||!e){switch(y.value=1,setTimeout((()=>{y.value=0}),50),g.value=0,o.value=e,h.pageNo=1,h.canpull=!0,e){case 0:h.status="1,2,4,5";break;case 1:h.status="1";break;case 2:h.status="4";break;case 3:h.status="5";break;case 4:h.status="2"}E()}},s=()=>{u||(u=!0,h.pageNo=1,h.canpull=!0,g.value=0,E(),y.value=1,setTimeout((()=>{y.value=0}),10),setTimeout((()=>u=!1),500))};let u=!1;const d=()=>{u||(u=!0,h.searchContent="",c(0),E(),setTimeout((()=>u=!1),500))},m=e.ref([]),p=e.ref(0),g=e.ref(0),h=e.reactive({pageNo:1,pageSize:5,canpull:!0,searchContent:"",status:"1,2,4,5",elderId:uni.getStorageSync("NUall").elderId,nuId:uni.getStorageSync("nuId")}),w=e.ref(!1),y=e.ref(0),N=e.ref([]),f=e.ref(!0),x=e.ref(!0),E=()=>{G(h).then((e=>{var t;i.value=!0,"缺少参数"!==e.message&&(null==(t=e.result)?void 0:t.total)||!f.value?(f.value=!1,m.value=[],m.value.push(...e.result.records),p.value=e.result.total,e.result.records.length&&(x.value=!1,Q({qldNo:e.result.records[0].qldNo}).then((e=>{N.value=[],N.value.push(...e.result),x.value=!0}))),e.result.records.length<h.pageSize&&(h.canpull=!1)):w.value=!0}))},V=e.ref(!0),k=()=>{V.value&&(h.pageNo++,b(),V.value=!1,setTimeout((()=>{V.value=!0}),500))},b=()=>{h.canpull&&G(h).then((e=>{l("log","at pages/NursingNew/component/pleasetake/component/requestform.vue:378","???加载",e.result.records),m.value.push(...e.result.records),p.value=e.result.total,e.result.records.length<h.pageSize&&(h.canpull=!1)}))},S=e.ref("");r((()=>{E(),S.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"}));const B=e.ref(!1),C=()=>{H({qldNo:m.value[g.value].qldNo}).then((e=>{l("log","at pages/NursingNew/component/pleasetake/component/requestform.vue:433","作废",e),B.value=!1,e.success?m.value[g.value]=e.result.result:(h.pageNo=1,h.canpull=!0,y.value=1,setTimeout((()=>{y.value=0}),50),g.value=0,E()),setTimeout((()=>{uni.showToast({title:e.success?e.result.message:e.message,icon:"none",duration:3e3})}),300)}))},T=e.ref(!1),z=()=>{let e={qldNo:m.value[g.value].qldNo,elderId:uni.getStorageSync("NUall").elderId,nuId:uni.getStorageSync("nuId")};var t;(t=e,v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/confirmReceipt`,method:"post",data:t})).then((t=>{l("log","at pages/NursingNew/component/pleasetake/component/requestform.vue:466","收货",e,t),T.value=!1,t.success?m.value[g.value]=t.result.result:(h.pageNo=1,y.value=1,setTimeout((()=>{y.value=0}),50),g.value=0,h.canpull=!0,E()),setTimeout((()=>{uni.showToast({title:t.success?t.result.message:t.message,icon:"none",duration:3e3})}),300)}))};return(l,a)=>{var r,u;const v=e.resolveComponent("tanchuang");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives(e.createElementVNode("view",{class:"buttons-father",style:e.normalizeStyle(i.value?{opacity:"1"}:{opacity:"0"})},[e.createElementVNode("view",{class:"ipt"},[e.withDirectives(e.createElementVNode("input",{type:"text","onUpdate:modelValue":a[0]||(a[0]=e=>h.searchContent=e),placeholder:"请领单号",onConfirm:s},null,544),[[e.vModelText,h.searchContent]])]),e.createElementVNode("view",{class:"scr",onClick:s}," 检索 "),e.createElementVNode("view",{class:"shx",onClick:d},[e.createElementVNode("image",{src:Y,mode:"aspectFill"}),e.createElementVNode("view",{class:"shx-font"}," 重置 ")]),e.withDirectives(e.createElementVNode("view",{class:"right-button",onClick:a[1]||(a[1]=e=>B.value=!0)},[e.createElementVNode("image",{src:W}),e.createElementVNode("view",null," 作废 ")],512),[[e.vShow,"1"==(null==(r=m.value[g.value])?void 0:r.status)]]),e.withDirectives(e.createElementVNode("view",{class:"right-button",onClick:a[2]||(a[2]=e=>T.value=!0)},[e.createElementVNode("image",{src:"/static/index/warehouse/procurement/picking/shouhuo.png"}),e.createElementVNode("view",null," 收货 ")],512),[[e.vShow,"4"==(null==(u=m.value[g.value])?void 0:u.status)]]),e.createVNode(ee,{cont:"暂无数据",show:w.value},null,8,["show"])],4),[[e.vShow,t.isShow]]),e.createVNode(v,{show:B.value,font:"确定要作废这个请领单吗",onBack:a[3]||(a[3]=e=>{B.value=!1}),onRight:C},null,8,["show"]),e.createVNode(v,{show:T.value,font:"这个请领单确定要收货吗",onBack:a[4]||(a[4]=e=>{T.value=!1}),onRight:z},null,8,["show"]),e.withDirectives(e.createElementVNode("view",{class:"other-contain",style:e.normalizeStyle(i.value?{opacity:"1"}:{opacity:"0"})},[e.createElementVNode("view",{class:"other-contain-left"},[e.createElementVNode("view",{class:"left-selecttype"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(o.value===l?"selecttype-target":"selecttype"),onClick:e=>c(l)},e.toDisplayString(t),11,["onClick"])))),256)),e.createElementVNode("view",{class:"heng-blue",style:e.normalizeStyle({left:(0===o.value?11.5:12+18.5*o.value)+"%"})},null,4)]),e.createElementVNode("scroll-view",{"scroll-y":"true","scroll-with-animation":"",class:"left-menu-scroll","scroll-top":y.value,onScrolltolower:k,"lower-threshold":200},[e.createElementVNode("view",{style:{height:"1%"}}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,((t,l)=>{var a,n,i,o;return e.openBlock(),e.createElementBlock("view",{class:"pls-card",key:l,onClick:e=>((e,t)=>{let l=Math.ceil(e+1);if(y.value=175.4*(l-2),g.value=e,x.value=!1,Q({qldNo:m.value[e].qldNo}).then((e=>{N.value=[],N.value.push(...e.result),x.value=!0})),"N"==t.izYgRead){let l={status:"yg",qldNo:m.value[e].qldNo};Z(l).then((e=>{e.success&&(t.izYgRead="Y")}))}})(l,t),style:e.normalizeStyle({borderColor:l===g.value?"":"transparent",background:l===g.value?"#fff":"rgba(255,255,255,0.6)"})},["N"==t.izYgRead?(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.qldNo),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.tjTime.replace(/-/g,".")),1),e.createElementVNode("view",{class:"middle-heng-father"},[e.createElementVNode("image",{class:"middle-ball-img",src:R})]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",null," 待出库 "),e.createElementVNode("view",{style:{"font-size":"25rpx"}},e.toDisplayString("[ "+t.tjByName+" ]"),1)])]),e.createElementVNode("view",{class:"pls-card-middle-one"},[e.createElementVNode("view",{class:"middle-title",style:e.normalizeStyle("2"===(null==t?void 0:t.status)||"3"===(null==t?void 0:t.status)?{color:"#FF5757"}:{})},e.toDisplayString(Number(t.status)>1?"2"===(null==t?void 0:t.status)?null==(a=t.zfTime)?void 0:a.slice(0,10).replace(/-/g,"."):"3"===(null==t?void 0:t.status)?null==(n=t.htTime)?void 0:n.slice(0,10).replace(/-/g,"."):null==(i=t.ckTime)?void 0:i.slice(0,10).replace(/-/g,"."):""),5),e.createElementVNode("view",{class:"middle-heng-father"},[Number(t.status)<4?(e.openBlock(),e.createElementBlock("view",{key:0,class:"middle-ball",style:e.normalizeStyle([{"background-color":"#1083F8"},"2"===(null==t?void 0:t.status)||"3"===(null==t?void 0:t.status)?{backgroundColor:"#FF5757"}:{}])},null,4)):(e.openBlock(),e.createElementBlock("image",{key:1,class:"middle-ball-img",src:R}))]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",{style:e.normalizeStyle("2"===(null==t?void 0:t.status)||"3"===(null==t?void 0:t.status)?{color:"#FF5757"}:{})},e.toDisplayString("2"===(null==t?void 0:t.status)?"已作废":"3"===(null==t?void 0:t.status)?"已回退":"已出库"),5),Number(t.status)>1?(e.openBlock(),e.createElementBlock("view",{key:0,style:e.normalizeStyle([{"font-size":"25rpx"},"2"===(null==t?void 0:t.status)||"3"===(null==t?void 0:t.status)?{color:"#FF5757"}:{}])},e.toDisplayString("[ "+("2"===(null==t?void 0:t.status)?null==t?void 0:t.zfByName:"3"===(null==t?void 0:t.status)?null==t?void 0:t.htByName:null==t?void 0:t.ckByName)+" ]"),5)):e.createCommentVNode("",!0)])]),e.createElementVNode("view",{class:"pls-card-middle-one"},[e.createElementVNode("view",{class:"middle-title"},e.toDisplayString(5==Number(t.status)?null==(o=t.shTime)?void 0:o.slice(0,10).replace(/-/g,"."):""),1),e.createElementVNode("view",{class:"middle-heng-father"},[5!=Number(t.status)?(e.openBlock(),e.createElementBlock("view",{key:0,class:"middle-ball",style:{backgroundColor:"#E5E5E5"}})):(e.openBlock(),e.createElementBlock("image",{key:1,class:"middle-ball-img",src:R}))]),e.createElementVNode("view",{class:"end-font"},["9"!=(null==t?void 0:t.cgdType)?(e.openBlock(),e.createElementBlock("view",{key:0}," 已收货 ")):e.createCommentVNode("",!0),5==Number(t.status)?(e.openBlock(),e.createElementBlock("view",{key:1,style:{"font-size":"25rpx"}},e.toDisplayString("[ "+t.shByName+" ]"),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:X}),e.createElementVNode("view",{class:"end-left-font"},e.toDisplayString(t.nuName),1)]),e.createElementVNode("view",{class:e.normalizeClass("2"===(null==t?void 0:t.status)||"3"===(null==t?void 0:t.status)?"tag-fail":"tag-success")},e.toDisplayString(t.statusText),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(N.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"right-one",key:l},[e.createElementVNode("view",{class:"right-one-left"},[e.createElementVNode("image",{class:"left-image",src:t.materialInfo.materialImg?S.value+t.materialInfo.materialImg:"/static/index/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"left-tages",style:{"margin-top":"-15rpx"}}," 耗材用品 "),e.createElementVNode("view",{class:"left-tages"}," 支架 ")]),e.createElementVNode("view",{class:"right-one-right"},[e.createElementVNode("view",{class:"right-title"},e.toDisplayString(t.materialInfo.materialName),1),e.createElementVNode("view",{class:"right-setting"}," 规格型号 "),e.createElementVNode("view",{class:"right-mm"},e.toDisplayString(t.materialInfo.materialNo),1),e.createElementVNode("view",{class:"right-down"},[e.createElementVNode("view",{class:""},[e.createElementVNode("view",{class:"right-first-num"},e.toDisplayString(t.qlNum),1),e.createElementVNode("view",{class:"right-first-type"}," 请领数量 ")]),e.createElementVNode("view",{class:"right-shu"}),e.createElementVNode("view",{class:""},[e.createElementVNode("view",{class:"right-first-num",style:{"font-weight":"500"}},e.toDisplayString(t.materialInfo.materialUnits),1),e.createElementVNode("view",{class:"right-first-type"}," 请领单位 ")])])])])))),128))]),0==N.value.length&&x.value?(e.openBlock(),e.createBlock(te,{key:0,cont:"暂无数据",style:{width:"30%",height:"30%",position:"absolute"}})):e.createCommentVNode("",!0)])])],4),[[e.vShow,t.isShow&&!w.value]])],64)}}}),[["__scopeId","data-v-dff33e52"]]),ae="/static/index/procurement/zjt.png",ne="/static/index/procurement/ddj.png";const ie=c({props:{show:{type:Boolean,default:!1},font:{type:String,default:""}},data:()=>({showbox:!1}),watch:{show(e,t){e?setTimeout((()=>{this.showbox=!0}),50):this.showbox=!1}},methods:{}},[["render",function(t,l,a,n,i,o){return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:e.normalizeClass(["addall guodu",a.show?"":"unclass"]),style:e.normalizeStyle(i.showbox?"z-index:220":"z-index:-2")},[e.createElementVNode("view",null,"温馨提示"),e.createElementVNode("view",null,[e.createElementVNode("image",{src:ne,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"))},"确定")])],6),a.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mengban",onClick:l[2]||(l[2]=e=>t.$emit("back"))})):e.createCommentVNode("",!0)])}],["__scopeId","data-v-eaaa998e"]]),oe=c(e.defineComponent({__name:"addwl",props:{Material:{type:Array,required:!0}},emits:["delall","del","submit"],setup(t,{emit:l}){const a=t,n=l,i=e.ref(uni.getStorageSync("serverUrl")+"/sys/common/static/"),o=e.ref(!1),r=e.ref(0);e.watch((()=>a.Material),(()=>{0==a.Material.length&&(o.value=!1)}));const c=()=>{n("delall"),setTimeout((()=>{r.value=0,o.value=!1}),100)},s=()=>{0!=a.Material.length?(o.value=!o.value,r.value=0,h()):uni.showToast({icon:"none",title:"请添加请领物料!"})},u=e.ref(0),d=e=>{u.value=e.touches[0].clientX},m=e.ref(0);function v(e){var t;m.value=(null==(t=null==e?void 0:e.detail)?void 0:t.scrollLeft)??0}const p=e.ref(0),g=e=>{if(0==a.Material.length)return;const t=e.touches[0].clientX-u.value;t<-60&&!o.value&&(o.value=!o.value,r.value=0,p.value=m.value+125.99,setTimeout((()=>{p.value=m.value+126}),50)),t>60&&o.value&&(o.value=!o.value,r.value=0,p.value=m.value-125.99,setTimeout((()=>{p.value=m.value-126}),50))},h=()=>{o.value?(p.value=m.value+125.99,setTimeout((()=>{p.value=m.value+126}),50)):(p.value=m.value-125.99,setTimeout((()=>{p.value=m.value-126}),50))},w=e.ref(!1);return e.onMounted((()=>{setTimeout((()=>{w.value=!0}),500)})),(l,a)=>(e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:"kcyj"},[e.createElementVNode("view",{class:"kjlt"},[e.createTextVNode(" 请领物料 "),t.Material.length>0?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mhao"},e.toDisplayString(t.Material.length),1)):e.createCommentVNode("",!0)]),e.createElementVNode("scroll-view",{"scroll-x":"true",class:"kcscrol guodu",onScroll:v,"scroll-with-animation":"","scroll-left":p.value,style:e.normalizeStyle(o.value?"width:calc(100% - 21.8vw)":"width:calc(100% - 10vw)")},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.Material,((t,a)=>(e.openBlock(),e.createElementBlock("view",{class:"yjbox",key:a,onClick:e=>l.clickaddcar(t,a)},[e.createElementVNode("image",{src:t.materialInfo.materialImg?i.value+t.materialInfo.materialImg:"/static/index/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",null,e.toDisplayString(t.materialInfo.materialName),1),t.qlNum>=0?(e.openBlock(),e.createElementBlock("text",{key:0,class:"ytj"},e.toDisplayString(t.qlNum),1)):e.createCommentVNode("",!0),1==r.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"zhanwei",onClick:e.withModifiers((e=>(e=>{n("del",e)})(t)),["stop"])},[e.createElementVNode("view",null,"-")],8,["onClick"])):e.createCommentVNode("",!0)],8,["onClick"])))),128)),0==t.Material.length&&w.value?(e.openBlock(),e.createBlock(te,{key:0,cont:"暂无数据",style:{position:"absolute",width:"10vw",height:"10vw"}})):e.createCommentVNode("",!0)],44,["scroll-left"]),e.createElementVNode("view",{class:"kjlt more guodu",style:e.normalizeStyle(o.value?"width:15vw":""),onTouchstart:d,onTouchmove:g},[e.createElementVNode("view",{onClick:s,class:"righ0"},[e.createTextVNode(e.toDisplayString(o.value?"收起":"更多")+" ",1),e.createElementVNode("image",{class:"guodu",style:e.normalizeStyle(o.value?"transform: rotate(180deg);":""),src:ae,mode:"aspectFill"},null,4)]),e.createElementVNode("view",{class:e.normalizeClass(["guodu",o.value?1==r.value?"avt":"":"righ0"]),onClick:a[0]||(a[0]=e=>{r.value=1})}," 批量移除 ",2),e.createElementVNode("view",{class:e.normalizeClass(["guodu",o.value?2==r.value?"avt":"":"righ0"]),onClick:a[1]||(a[1]=e=>{r.value=2})}," 清空列表 ",2),e.createElementVNode("view",{class:e.normalizeClass(["guodu",o.value?3==r.value?"avt":"":"righ0"]),onClick:a[2]||(a[2]=e=>{r.value=3,n("submit")})}," 提交请领单 ",2)],36)]),e.createVNode(ie,{onBack:a[3]||(a[3]=e=>r.value=0),show:2==r.value,font:"确定将本次请领清单中的所有物料都移除吗?",onRight:c},null,8,["show"])]))}}),[["__scopeId","data-v-08337a28"]]);const re=c({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,n,i,o){return e.openBlock(),e.createElementBlock("view",{class:"u-line",style:e.normalizeStyle([o.lineStyle])},null,4)}],["__scopeId","data-v-85e19575"]]);const ce=c({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,n,i,o){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([o.cricleStyle])},null,6)):e.createCommentVNode("",!0)}],["__scopeId","data-v-ae8dd367"]]);const se=c({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,n,i,o,r){const c=a(e.resolveDynamicComponent("u-line"),re),s=a(e.resolveDynamicComponent("u-loading"),ce);return e.openBlock(),e.createElementBlock("view",{class:"u-load-more-wrap",style:e.normalizeStyle({backgroundColor:n.bgColor,marginBottom:n.marginBottom+"rpx",marginTop:n.marginTop+"rpx",height:t.$u.addUnit(n.height)})},[e.createVNode(c,{color:"#d4d4d4",length:"50",class:"u-line"}),e.createElementVNode("view",{class:e.normalizeClass(["loadmore"==n.status||"nomore"==n.status?"u-more":"","u-load-more-inner"])},[e.createElementVNode("view",{class:"u-loadmore-icon-wrap"},[e.createVNode(s,{class:"u-loadmore-icon",color:n.iconColor,mode:"circle"==n.iconType?"circle":"flower",show:"loading"==n.status&&n.icon},null,8,["color","mode","show"])]),e.createElementVNode("view",{class:e.normalizeClass(["u-line-1",["nomore"==n.status&&1==n.isDot?"u-dot-text":"u-more-text"]]),style:e.normalizeStyle([r.loadTextStyle]),onClick:l[0]||(l[0]=(...e)=>r.loadMore&&r.loadMore(...e))},e.toDisplayString(r.showText),7)],2),e.createVNode(c,{color:"#d4d4d4",length:"50",class:"u-line"})],4)}],["__scopeId","data-v-a01ae38a"]]),ue=c(e.defineComponent({__name:"carditem",props:{InvoicingList:{type:Array,required:!0},status:{type:String}},emits:["scrolltolower","comfig"],setup(t,{emit:l}){const n=t,i=e.ref({}),o=e.ref(uni.getStorageSync("serverUrl")+"/sys/common/static/"),r=l,c=e.ref(0),s=e.ref(0),u=e.ref(!0),d=(e,t,l)=>{r("comfig",e,t,l)},m=(e,t)=>{n.InvoicingList.forEach(((e,l)=>{l!=t&&1==e.zk&&(e.zk=!1,e.scrollleft=0)}))},v=e.ref(0),p=e=>{v.value=e.detail.scrollLeft};return(l,n)=>{const g=a(e.resolveDynamicComponent("u-loadmore"),se);return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("scroll-view",{"scroll-y":"true",class:"itembox","scroll-with-animation":"",onScrolltolower:n[3]||(n[3]=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:t=>((t,l,a)=>{let n=t.changedTouches[0].pageY,o=t.changedTouches[0].pageX,r=Math.abs(o-c.value),d=Math.abs(n-s.value);if(u.value=!0,d>30&&r+10<d)return i.value.scrollleft=.01,void setTimeout((()=>{i.value.scrollleft=0}),20);r<10&&d<10?0==i.value.zk&&setTimeout((()=>{i.value.scrollleft=0}),20):(v.value<=40?(i.value.scrollleft=v.value,i.value.zk=!1,e.nextTick((()=>{i.value.scrollleft=0,v.value=0}))):(v.value=150,i.value.scrollleft=v.value,i.value.zk=!0),i.value.zk=!(o>c.value),i.value.scrollleft=i.value.zk?150:0)})(t),onTouchstart:e=>((e,t,l)=>{i.value=t,c.value=e.changedTouches[0].pageX,s.value=e.changedTouches[0].pageY,u.value&&(u.value=!1,m(t,l))})(e,t,l),"scroll-with-animation":"","scroll-x":"true","scroll-left":t.scrollleft,onScroll:p},[t.zhiDingId?(e.openBlock(),e.createElementBlock("view",{key:0,class:"zding"},[e.createElementVNode("image",{src:"/static/index/procurement/zd.png",mode:"aspectFill"})])):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"speitem guodu"},[e.createElementVNode("image",{src:t.materialImg?o.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)])]),e.createElementVNode("view",{class:"msitem guodu"},[e.createElementVNode("view",null,[e.createElementVNode("view",null,e.toDisplayString(t.materialName),1)]),e.createElementVNode("view",null,[e.createElementVNode("text",{style:{"white-space":"nowrap"}}," 规格型号: "),e.createElementVNode("view",null,e.toDisplayString(t.specificationModel),1)]),e.createElementVNode("view",null,[e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(t.qlNum?t.qlNum:"--"),1),e.createElementVNode("text",null,"请领数量")]),e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(t.materialUnits),1),e.createElementVNode("text",null,"请领单位")])])]),e.createElementVNode("view",{class:"add",onClick:e.withModifiers((e=>d(t,l,0)),["stop"])},[1==t.isAdd?(e.openBlock(),e.createElementBlock("view",{key:0},"已添加")):e.createCommentVNode("",!0),1!=t.isAdd?(e.openBlock(),e.createElementBlock("image",{key:1,src:"/static/index/procurement/+.png",mode:"aspectFill"},null,8,["src"])):e.createCommentVNode("",!0),1==t.isAdd?(e.openBlock(),e.createElementBlock("image",{key:2,src:"/static/index/procurement/-.png",mode:"aspectFill"},null,8,["src"])):e.createCommentVNode("",!0)],8,["onClick"]),e.createElementVNode("view",{class:e.normalizeClass(["zkadd guodu",1==t.isAdd?"zkf":""])},[e.createElementVNode("view",{onClick:e.withModifiers((e=>d(t,l,1)),["stop"]),onTouchend:n[0]||(n[0]=e.withModifiers((()=>{}),["stop"]))}," 请领记录 ",40,["onClick"]),e.createElementVNode("view",{onClick:e.withModifiers((e=>d(t,l,2)),["stop"]),onTouchend:n[1]||(n[1]=e.withModifiers((()=>{}),["stop"]))}," 物料详情 ",40,["onClick"]),e.createElementVNode("view",{onClick:e.withModifiers((e=>d(t,l,3)),["stop"]),onTouchend:n[2]||(n[2]=e.withModifiers((()=>{}),["stop"]))},e.toDisplayString(t.zhiDingId?"取消置顶":"置 顶"),41,["onClick"])],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(g,{key:0,status:t.status,loadText:{nomore:"暂无更多数据"}},null,8,["status"])):e.createCommentVNode("",!0)])],32)])}}}),[["__scopeId","data-v-7e1cddbf"]]),de=c(e.defineComponent({__name:"takeing",props:{objtake:{type:Object,required:!0},show:{type:Boolean}},emits:["fill","right"],setup(t,{emit:l}){const a=t,n=e.ref(uni.getStorageSync("serverUrl")+"/sys/common/static/"),i=l,o=e.ref(!1);e.watch((()=>a.show),(()=>{1==a.show?(u.value=1,s.value=N(u.value),setTimeout((()=>{o.value=!0}),50)):(o.value=!1,d.value=!1)}));const r=e.ref(!1),c=[1,2,3,4,5,6,7,8,9,"AC",0,"AE"],s=e.ref("0000"),u=e.ref(1),d=e.ref(!1),m=(e,t)=>{return"AC"==e?(u.value=0,void(s.value="0000")):"AE"==e?(u.value=Math.trunc(u.value/10),void(s.value=N(u.value))):0==d.value?(d.value=!0,u.value=e,void(s.value=N(u.value))):(l=u.value,void(Math.abs(l).toString().length>3||(u.value?u.value=10*u.value+e:u.value=e,s.value=N(u.value))));var l},v=e.ref(null),p=e=>{h(e)},g=()=>{clearInterval(v.value)},h=e=>{v.value=setInterval((()=>{w(e)}),120)},w=e=>{u.value>=9999&&1==e?u.value=9999:u.value<=1&&-1==e?u.value=1:(u.value+=e,s.value=N(u.value))},y=()=>{i("right",u.value,a.objtake)};function N(e){const t=Math.floor(Math.abs(e));return String(t).padStart(4,"0")}return(l,a)=>(e.openBlock(),e.createElementBlock("view",null,[t.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mengban",onClick:a[0]||(a[0]=e=>i("fill"))})):e.createCommentVNode("",!0),e.createElementVNode("view",{class:e.normalizeClass(["takitem guodu",t.show?"":"unclass"]),style:e.normalizeStyle(o.value?"z-index:220":"z-index:-2")},[e.createElementVNode("view",{class:"tit"}," 请领物料 "),e.createElementVNode("view",{class:"cont"},[e.createElementVNode("view",{class:"zuo"},[e.createElementVNode("view",{class:"carp"},[e.createElementVNode("view",{class:"zuoimg tp"},[e.createElementVNode("image",{src:t.objtake.materialImg?n.value+t.objtake.materialImg:"/static/index/procurement/k.png",mode:"aspectFill"},null,8,["src"])]),e.createElementVNode("view",{class:"youcont"},[e.createElementVNode("view",null,e.toDisplayString(t.objtake.materialName),1),e.createElementVNode("view",null,[e.createElementVNode("view",null,[e.createTextVNode(" 物料编码 "),e.createElementVNode("text",null,e.toDisplayString(t.objtake.materialNo),1)]),e.createElementVNode("view",null,[e.createTextVNode(" 请购单位 "),e.createElementVNode("text",null,e.toDisplayString(t.objtake.materialUnits),1)])]),e.createElementVNode("view",null,[e.createElementVNode("view",null,[e.createTextVNode(" 规格型号 "),e.createElementVNode("text",{style:{"white-space":"nowrap"}},e.toDisplayString(t.objtake.specificationModel),1)])])])]),e.createElementVNode("view",{class:"qinggou-font"}," 数量 "),e.createElementVNode("view",{class:"stringShow-father"},[e.createElementVNode("view",{class:"jj",onClick:a[1]||(a[1]=e=>w(-1)),onLongpress:a[2]||(a[2]=e=>p(-1)),onTouchend:g}," - ",32),e.createElementVNode("view",{class:"stringShow-kuai"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,style:e.normalizeStyle(1==r.value?"color: red":"")},e.toDisplayString(t),5)))),128))]),e.createElementVNode("view",{class:"jj",onClick:a[3]||(a[3]=e=>w(1)),onLongpress:a[4]||(a[4]=e=>p(1)),onTouchend:g}," + ",32)])]),e.createElementVNode("view",{class:"you"},[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:"calculator-kuai",onClick:e=>m(t)},e.toDisplayString(t),9,["onClick"])]))),64))]),e.createElementVNode("view",{class:"plsbuy-bottom"},[e.createElementVNode("view",{class:"quxiao",onClick:a[5]||(a[5]=e=>i("fill"))}," 取消 "),e.createElementVNode("view",{class:"plsbuy-bottom-blue",onClick:y}," 确定 ")])])])],6)]))}}),[["__scopeId","data-v-c4092010"]]),me=c(e.defineComponent({__name:"cgdclass",props:{show:{type:Boolean,default:!1,required:!0},typenum:{type:Number,default:0},cgdId:{type:String,default:""}},emits:["confirm","fill"],setup(t,{expose:a,emit:n}){const i=e.reactive({scrolltop1:0,scrolltop2:0,scrolltop3:0,act1:-1,act2:-1,act3:-1}),o=e.ref([]);e.ref([]);const r=e.ref(-1),c=e.ref(""),s=e.ref(!1),u=n,d=(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 p();2==e&&(i.act3=-1,i.scrolltop3=0),i["act"+e]=t,i["scrolltop"+e]=50*(t-2),p()};e.onMounted((()=>{c.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"}));const m=e.ref(0),p=()=>{let e={nuId:uni.getStorageSync("nuId"),categoryId:i.act1>-1?o.value[i.act1].categoryId:"",typeId:i.act2>-1?o.value[i.act1].children[i.act2].typeId:"",medicationId:i.act3>-1?o.value[i.act1].children[i.act2].children[i.act3].key:"",cgdId:w.cgdId};switch(w.typenum){case 0:(t=e,v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/getTreeDataWlnum`,method:"get",data:t})).then((e=>{m.value=e.result.totalSize}));break;case 1:getGwcTreeDataWlnum(e).then((e=>{m.value=e.result.totalSize}));break;case 2:l("log","at pages/NursingNew/component/pleasetake/common/cgdclass.vue:108",e),getCgdTreeDataWlnum(e).then((e=>{m.value=e.result.totalSize}))}var t},g=()=>{switch(w.typenum){case 0:(e={nuId:uni.getStorageSync("nuId")},v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/getMaterialTreeData`,method:"get",data:e})).then((e=>{o.value=e.result,p()}));break;case 1:getGwcMaterialTreeData({nuId:uni.getStorageSync("nuId")}).then((e=>{o.value=e.result,p()}));break;case 2:l("log","at pages/NursingNew/component/pleasetake/common/cgdclass.vue:137",{nuId:uni.getStorageSync("nuId"),cgdId:w.cgdId}),getCgdMaterialTreeData({nuId:uni.getStorageSync("nuId"),cgdId:w.cgdId}).then((e=>{l("log","at pages/NursingNew/component/pleasetake/common/cgdclass.vue:139",e.result),o.value=e.result,p()}))}var e},h=()=>{let e={categoryId:i.act1>-1?o.value[i.act1].categoryId:"",typeId:i.act2>-1?o.value[i.act1].children[i.act2].typeId:"",medicationId:i.act3>-1?o.value[i.act1].children[i.act2].children[i.act3].key:"",cgdId:w.cgdId};u("confirm",e)},w=t,y=e.ref(!1);e.watch((()=>w.show),(()=>{0==w.show?(s.value=!1,y.value=!1,e.nextTick((()=>{d(1,-1)}))):(g(),setTimeout((()=>{y.value=!0}),50))}));return a({typescroll:d,config:h,qingkong:()=>{r.value>-1&&(r.value=-1,p())},getTreelnum:p}),(l,a)=>{var n,r,s;return e.openBlock(),e.createElementBlock("view",null,[t.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mengban",onClick:a[0]||(a[0]=e=>u("fill"))})):e.createCommentVNode("",!0),e.createElementVNode("view",{class:e.normalizeClass(["ifclass guodu",t.show?"":"unclass"]),style:e.normalizeStyle(y.value?"z-index:220":"z-index:-2")},[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(o.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(i.act1==l?"act":""),onClick:e=>d(1,l)},[i.act1==l?(e.openBlock(),e.createElementBlock("image",{key:0,src:c.value+t.appCheckIconPath,mode:"aspectFill"},null,8,["src"])):(e.openBlock(),e.createElementBlock("image",{key:1,src:c.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==(n=o.value[i.act1])?void 0:n.children,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(i.act2==l?"act":""),onClick:e=>d(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==(s=null==(r=o.value[i.act1])?void 0:r.children[i.act2])?void 0:s.children,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(i.act3==l?"act":""),onClick:e=>d(3,l)},e.toDisplayString(t.title),11,["onClick"])))),256))],8,["scroll-top"])]),e.createElementVNode("view",{class:"btnbotm"},[e.createElementVNode("view",{class:"bt",onClick:a[1]||(a[1]=e=>d(1,-1))},"重置"),e.createElementVNode("view",{class:"bt qd",onClick:h},[e.createTextVNode("确定 "),m.value>0?(e.openBlock(),e.createElementBlock("text",{key:0},"("+e.toDisplayString(m.value>99?"99+":m.value)+"件物料)",1)):e.createCommentVNode("",!0)])])],6)])}}}),[["__scopeId","data-v-25ed362e"]]),ve=c(e.defineComponent({__name:"medetails",props:{objtake:{type:Object,required:!0},show:{type:Boolean}},emits:["fill","qingling"],setup(t,{emit:a}){const n=t,i=e.ref({}),o=e.ref(uni.getStorageSync("serverUrl")+"/sys/common/static/"),r=a,c=e.ref(!1);return e.watch((()=>n.show),(()=>{if(l("log","at pages/NursingNew/component/pleasetake/common/medetails.vue:73",n.objtake),1==n.show){let e={nuId:uni.getStorageSync("nuId"),elderId:uni.getStorageSync("NUall").id,wlId:n.objtake.wlId};J(e).then((e=>{l("log","at pages/NursingNew/component/pleasetake/common/medetails.vue:81",e),i.value=e.result})),setTimeout((()=>{c.value=!0}),50)}else c.value=!1})),(l,a)=>(e.openBlock(),e.createElementBlock("view",null,[t.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mengban",onClick:a[0]||(a[0]=e=>r("fill"))})):e.createCommentVNode("",!0),e.createElementVNode("view",{class:e.normalizeClass(["card",t.show?"":"unclass"]),style:e.normalizeStyle(c.value?"z-index:220":"z-index:-2")},[e.createElementVNode("view",{class:"tit"},"物料详情"),e.createElementVNode("view",{class:"cont"},[e.createElementVNode("view",{class:"leftbox"},[e.createElementVNode("image",{src:t.objtake.materialImg?o.value+t.objtake.materialImg:"/static/index/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",null,[e.createElementVNode("text",null,"耗材用品"),e.createElementVNode("text",null,"复健用品")])]),e.createElementVNode("view",{class:"youcont"},[e.createElementVNode("view",null,e.toDisplayString(t.objtake.materialName),1),e.createElementVNode("view",null,[e.createElementVNode("view",null,[e.createTextVNode(" 物料编码 "),e.createElementVNode("text",null,e.toDisplayString(t.objtake.materialNo),1)]),e.createElementVNode("view",null,[e.createTextVNode(" 规格型号 "),e.createElementVNode("text",{style:{"white-space":"nowrap"}},e.toDisplayString(t.objtake.specificationModel),1)])]),e.createElementVNode("view",null,[e.createElementVNode("view",null,[e.createTextVNode(" 请领数量 "),e.createElementVNode("text",null,e.toDisplayString(i.value.qlNum?i.value.qlNum:"0"),1)]),e.createElementVNode("view",null,[e.createTextVNode(" 请领单位 "),e.createElementVNode("text",null,e.toDisplayString(t.objtake.materialUnits),1)]),e.createElementVNode("view",null,[e.createTextVNode(" 累计请领 "),e.createElementVNode("text",null,e.toDisplayString(i.value.wlNum?i.value.wlNum:0),1)])])])]),e.createElementVNode("view",{class:"plsbuy-bottom"},[e.createElementVNode("view",{class:"quxiao",onClick:a[1]||(a[1]=e=>r("fill"))}," 关闭 ")])],6)]))}}),[["__scopeId","data-v-0b7ec432"]]),pe=c(e.defineComponent({__name:"takerecord",props:{objtake:{type:Object,required:!0},show:{type:Boolean}},emits:["fill","qingling"],setup(t,{emit:n}){const i=t,o=e.ref(1),r=e.ref(""),c=e.ref("loadmore");e.onMounted((()=>{r.value=uni.getStorageSync("NUall").elderInfo.checkinTime}));const s=e.ref({}),u=e.ref(uni.getStorageSync("serverUrl")+"/sys/common/static/"),d=n,m=e.ref(!1),p=e.ref([]);e.watch((()=>i.show),(()=>{if(l("log","at pages/NursingNew/component/pleasetake/common/takerecord.vue:100",i.objtake),1==i.show){let e={nuId:uni.getStorageSync("nuId"),elderId:uni.getStorageSync("NUall").id,wlId:i.objtake.wlId};J(e).then((e=>{s.value=e.result})),g(),setTimeout((()=>{m.value=!0}),50)}else m.value=!1,p.value=[],o.value=1,c.value="loadmore"}));const g=()=>{let e={nuId:uni.getStorageSync("nuId"),elderId:uni.getStorageSync("NUall").id,wlId:i.objtake.wlId,pageNo:o.value,pageSize:20};var t;(t=e,v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/queryQlwcLog`,method:"get",data:t})).then((e=>{p.value.push(...e.result.records),c.value=e.result.total==p.value.length?"nomore":"loadmore"}))};return(l,n)=>{const i=a(e.resolveDynamicComponent("u-loadmore"),se);return e.openBlock(),e.createElementBlock("view",null,[t.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mengban",onClick:n[0]||(n[0]=e=>d("fill"))})):e.createCommentVNode("",!0),e.createElementVNode("view",{class:e.normalizeClass(["recorditem guodu",t.show?"":"unclass"]),style:e.normalizeStyle(m.value?"z-index:220":"z-index:-2")},[e.createElementVNode("view",{class:"tit"},[e.createElementVNode("view",null,"请领记录"),e.createElementVNode("text",null,"入住时间:"+e.toDisplayString(r.value),1)]),e.createElementVNode("view",{class:"cont"},[e.createElementVNode("view",{class:"leftbox"},[e.createElementVNode("image",{src:t.objtake.materialImg?u.value+t.objtake.materialImg:"/static/index/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",null,[e.createElementVNode("text",null,"耗材用品"),e.createElementVNode("text",null,"复健用品")])]),e.createElementVNode("view",{class:"youcont"},[e.createElementVNode("view",null,e.toDisplayString(t.objtake.materialName),1),e.createElementVNode("view",null,[e.createElementVNode("view",null,[e.createTextVNode(" 物料编码 "),e.createElementVNode("text",null,e.toDisplayString(t.objtake.materialNo),1)]),e.createElementVNode("view",null,[e.createTextVNode(" 规格型号 "),e.createElementVNode("text",{style:{"white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"}},e.toDisplayString(t.objtake.specificationModel),1)])]),e.createElementVNode("view",null,[e.createElementVNode("view",null,[e.createTextVNode(" 请领数量 "),e.createElementVNode("text",null,e.toDisplayString(t.objtake.qlNum?t.objtake.qlNum:"0"),1)]),e.createElementVNode("view",null,[e.createTextVNode(" 请领单位 "),e.createElementVNode("text",null,e.toDisplayString(t.objtake.materialUnits),1)])])])]),e.createElementVNode("view",{class:"lji"},[e.createElementVNode("view",null,"累计请领: "),e.createElementVNode("text",null,e.toDisplayString(s.value.wlNum?s.value.wlNum:0)+e.toDisplayString(t.objtake.materialUnits),1)]),e.createElementVNode("scroll-view",{"scroll-y":"true",class:"jilu","scroll-with-animation":"",onScrolltolower:n[1]||(n[1]=e=>{"loading"!=c.value&&"nomore"!=c.value&&(c.value="loading",o.value++,g())})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"itm",key:l},[e.createElementVNode("view",{class:e.normalizeClass(["dian",l==p.value.length-1?"d":""])},null,2),e.createElementVNode("view",{class:"riqi"},e.toDisplayString(t.opeTime),1),e.createElementVNode("view",{class:"qlr"},[e.createTextVNode(" 请领数量:"),e.createElementVNode("text",null,e.toDisplayString(t.qlNum)+e.toDisplayString(t.materialUnits),1)]),e.createElementVNode("view",{class:"qlr"},[e.createTextVNode(" 请领人:"),e.createElementVNode("text",null,e.toDisplayString(t.empName),1)])])))),128)),e.createElementVNode("view",{style:{height:"3vw",width:"100%",display:"flex","align-items":"center","justify-content":"center"}},[p.value.length>6?(e.openBlock(),e.createBlock(i,{key:0,status:c.value,loadText:{nomore:"暂无更多数据"}},null,8,["status"])):e.createCommentVNode("",!0)]),0==p.value.length?(e.openBlock(),e.createBlock(te,{key:0,cont:"暂无请领数据",style:{width:"10vw",height:"10vw",margin:"1.5vw auto",position:"relative"}})):e.createCommentVNode("",!0)],32),e.createElementVNode("view",{class:"plsbuy-bottom"},[e.createElementVNode("view",{class:"quxiao",onClick:n[2]||(n[2]=e=>d("fill"))}," 关闭 ")])],6)])}}}),[["__scopeId","data-v-41491fc3"]]),ge=c(e.defineComponent({__name:"submits",props:{objtake:{type:Object,required:!0},show:{type:Boolean}},emits:["fill","qingling"],setup(t,{emit:a}){const n=t,i=e.ref(1),o=e.ref(""),r=e.ref("loadmore");e.onMounted((()=>{let e=new Date,t=e.getFullYear(),l=e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1,a=e.getDay()<10?"0"+e.getDay():e.getDay();o.value=t+"."+l+"."+a})),e.ref({}),e.ref(uni.getStorageSync("serverUrl")+"/sys/common/static/");const c=a,s=e.ref(!1),u=e.ref([]);return e.watch((()=>n.show),(()=>{l("log","at pages/NursingNew/component/pleasetake/common/submits.vue:47",n.objtake),1==n.show?setTimeout((()=>{s.value=!0}),50):(s.value=!1,u.value=[],i.value=1,r.value="loadmore")})),(l,a)=>(e.openBlock(),e.createElementBlock("view",null,[t.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mengban",onClick:a[0]||(a[0]=e=>c("fill"))})):e.createCommentVNode("",!0),e.createElementVNode("view",{class:e.normalizeClass(["qinglingdetails",t.show?"":"unclass"]),style:e.normalizeStyle(s.value?"z-index:220":"z-index:-2")},[e.createElementVNode("view",{class:"tit"},[e.createElementVNode("view",null,"请领详情")]),e.createElementVNode("view",{class:"itemcan"},[e.createElementVNode("text",null,e.toDisplayString(uni.getStorageSync("nuName")),1),e.createElementVNode("text",null,"请领人:"+e.toDisplayString(uni.getStorageSync("realname")),1),e.createElementVNode("text",null,"请领日期:"+e.toDisplayString(o.value),1)])],6)]))}}),[["__scopeId","data-v-a8ab3393"]]),he=c(e.defineComponent({__name:"takehomep",emits:["changePageNumber"],setup(t,{emit:a}){const n=e.reactive({pageNo:1,pageSize:10,nuId:uni.getStorageSync("nuId"),elderId:uni.getStorageSync("NUall").id,wlParamInfo:"",categoryId:"",typeId:"",medicationId:""}),i=e.ref(!1),o=e.ref(!1),r=e.ref(!1),c=e.ref(!1),s=e.ref(!1),u=e.ref();e.onMounted((()=>{h(),m(),l("log","at pages/NursingNew/component/pleasetake/component/takehomep.vue:88",uni.getStorageSync("NUall"))}));const d=e.ref([]),m=()=>{let e={nuId:n.nuId,elderId:n.elderId};var t;(t=e,v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/queryGwcInfo`,method:"get",data:t})).then((e=>{l("log","at pages/NursingNew/component/pleasetake/component/takehomep.vue:97",e),d.value=e.result}))},p=e.ref([]),g=e.ref("loadmore"),h=()=>{var e;l("log","at pages/NursingNew/component/pleasetake/component/takehomep.vue:104",n),(e=n,v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/queryInvoicingList`,method:"get",data:e})).then((e=>{e.result.records.forEach((e=>{e.zk=!1,e.scrollleft=0})),p.value.push(...e.result.records),g.value=e.result.total==p.value.length?"nomore":"loadmore",l("log","at pages/NursingNew/component/pleasetake/component/takehomep.vue:112",p.value)}))},w=()=>{"loading"!=g.value&&"nomore"!=g.value&&(g.value="loading",n.pageNo++,h())},y=()=>{},N=e=>{l("log","at pages/NursingNew/component/pleasetake/component/takehomep.vue:125",e),p.value.forEach((t=>{t.wlId==e.wlId&&(E.value=t)})),c.value=!0,l("log","at pages/NursingNew/component/pleasetake/component/takehomep.vue:132",E.value)},f=()=>{let e={nuId:n.nuId,elderId:n.elderId,wlId:E.value.wlId};var t;(t=e,v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/deleteGwcWl`,method:"post",data:t})).then((e=>{e.success?(c.value=!1,E.value.isAdd=null,E.value.qlNum=null,m()):uni.showToast({icon:"none",title:e.message})}))},x=()=>{var e;(e={nuId:n.nuId,elderId:n.elderId},v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/removeAllGwc`,method:"post",data:e})).then((e=>{e.success?(m(),p.value.forEach((e=>{e.isAdd=null,e.qlNum=null,e.gwcId=null}))):uni.showToast({icon:"none",title:e.message})}))},E=e.ref({}),V=(e,t,a)=>{switch(l("log","at pages/NursingNew/component/pleasetake/component/takehomep.vue:173",e,t,a),a){case 0:E.value=e,1==e.isAdd?c.value=!0:i.value=!0;break;case 1:E.value=e,s.value=!0;break;case 2:E.value=e,r.value=!0;break;case 3:let t={nuId:n.nuId,elderId:n.elderId,wlId:e.wlId,izZd:!e.zhiDingId};(o=t,v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/wlzd`,method:"post",data:o})).then((e=>{l("log","at pages/NursingNew/component/pleasetake/component/takehomep.vue:203",t,e),e.success?(p.value=[],n.pageNo=1,h()):uni.showToast({icon:"none",title:e.message})}))}var o},k=(e,t)=>{let a={kfId:t.id,wlId:t.wlId,qlNum:e,nuId:n.nuId,elderId:n.elderId};var o;(o=a,v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/addGwc`,method:"post",data:o})).then((a=>{l("log","at pages/NursingNew/component/pleasetake/component/takehomep.vue:238",a),a.success?(i.value=!1,t.isAdd=1,t.qlNum=e,m()):uni.showToast({icon:"none",title:a.message})}))},b=e=>{n.categoryId=e.categoryId,n.typeId=e.typeId,n.medicationId=e.medicationId,n.pageNo=1,p.value=[],h(),o.value=!1,l("log","at pages/NursingNew/component/pleasetake/component/takehomep.vue:260",e)},S=()=>{n.categoryId="",n.typeId="",n.medicationId="",n.pageNo=1,n.wlParamInfo="",p.value=[],u.value.typescroll(1,-1,{}),u.value.qingkong(),u.value.config()},B=a,C=e=>{B("changePageNumber",e)};return(t,l)=>(e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:"buttons-father"},[e.createElementVNode("view",{class:"boxtwo"},[e.createElementVNode("view",{class:"ipt"},[e.createElementVNode("input",{type:"text",placeholder:"物料名称/物料简拼"})]),e.createElementVNode("view",{class:"scr"}," 检索 "),e.createElementVNode("view",{class:"shx",onClick:l[0]||(l[0]=e=>o.value=!0)},[e.createElementVNode("image",{src:"/static/index/requestform/shaixuan.png",mode:"aspectFill"}),e.createElementVNode("view",{class:"shx-font"}," 筛选 ")]),""!=n.categoryId||""!=n.wlParamInfo?(e.openBlock(),e.createElementBlock("view",{key:0,class:"shx",onClick:S},[e.createElementVNode("image",{src:Y,mode:"aspectFill"}),e.createElementVNode("view",{class:"shx-font"}," 重置 ")])):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"boxtwo flexend"},[e.createElementVNode("view",{class:"qlthbtn"},[e.createElementVNode("image",{src:"/static/index/requestform/ql0.png",mode:"aspectFill"}),e.createElementVNode("view",{class:"shx-font",onClick:l[1]||(l[1]=e=>C(1))}," 请领单 ")]),e.createElementVNode("view",{class:"qlthbtn"},[e.createElementVNode("image",{src:"/static/index/requestform/ql1.png",mode:"aspectFill"}),e.createElementVNode("view",{class:"shx-font",onClick:l[2]||(l[2]=e=>C(2))}," 回退单 ")]),e.createElementVNode("view",{class:"qlthbtn"},[e.createElementVNode("image",{src:"/static/index/requestform/ql2.png",mode:"aspectFill"}),e.createElementVNode("view",{class:"shx-font"}," 退货 ")])])]),e.createVNode(oe,{Material:d.value,onDelall:x,onDel:N,onSubmit:y},null,8,["Material"]),e.createVNode(ue,{InvoicingList:p.value,onScrolltolower:w,status:g.value,onComfig:V},null,8,["InvoicingList","status"]),e.createVNode(de,{show:i.value,objtake:E.value,onFill:l[3]||(l[3]=e=>i.value=!1),onRight:k},null,8,["show","objtake"]),e.createVNode(me,{onConfirm:b,show:o.value,typenum:0,ref_key:"classication",ref:u,onFill:l[4]||(l[4]=e=>o.value=!1)},null,8,["show"]),e.createVNode(ve,{show:r.value,onFill:l[5]||(l[5]=e=>r.value=!1),onConfirm:b,objtake:E.value},null,8,["show","objtake"]),e.createVNode(ie,{onBack:l[6]||(l[6]=e=>c.value=!1),show:c.value,font:"确定将该物料从本次请领清单中移除吗?",onRight:f},null,8,["show"]),e.createVNode(pe,{objtake:E.value,show:s.value,onFill:l[7]||(l[7]=e=>s.value=!1)},null,8,["objtake","show"]),e.createVNode(ge)]))}}),[["__scopeId","data-v-0ff7130e"]]),we=c({__name:"tijiao",props:{show:{type:Boolean,default:!1},font:{type:String,default:""},plsbuy:{type:Object}},emits:["back"],setup(t,{emit:a}){const n=t,i=a,o=e.ref(!1);return e.watch((()=>n.show),(e=>{e?setTimeout((()=>{o.value=!0,l("log","at pages/NursingNew/component/pleasetake/common/tijiao.vue:47","plsbuy =>",n.plsbuy)}),50):o.value=!1})),e.onMounted((()=>{})),(l,a)=>(e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:e.normalizeClass(["addall guodu",{unclass:!t.show}]),style:e.normalizeStyle({zIndex:o.value?220:-2})},[e.createElementVNode("view",{class:"title"}," 请领详情 ")],6),t.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mengban",onClick:a[0]||(a[0]=()=>i("back"))})):e.createCommentVNode("",!0)]))}},[["__scopeId","data-v-89a64ccc"]]),ye=c(e.defineComponent({__name:"returnorder",props:{isShow:{type:Boolean,required:!0}},setup(t){const a=t;e.ref(["全部","待出库","已出库","已收货 ","已作废"]);const n=e.ref(!1);e.watch((()=>a.isShow),((e,t)=>{!t&&e?(n.value=!1,setTimeout((()=>{n.value=!0}),50)):n.value=!1})),e.onMounted((()=>{})),e.ref(!1),e.ref(0);const i=e.ref([]),o=e.ref(0),c=e.ref(0),s=e.reactive({pageNo:1,pageSize:5,canpull:!0,searchContent:"",status:"3",elderId:uni.getStorageSync("NUall").elderId,nuId:uni.getStorageSync("nuId")}),u=e.ref(!1),d=e.ref(0),m=e.ref([]),v=e.ref(!0),p=e.ref(!0),g=()=>{G(s).then((e=>{var t;n.value=!0,"缺少参数"!==e.message&&(null==(t=e.result)?void 0:t.total)||!v.value?(v.value=!1,i.value=[],i.value.push(...e.result.records),l("log","at pages/NursingNew/component/pleasetake/component/returnorder.vue:358","入参",s),l("log","at pages/NursingNew/component/pleasetake/component/returnorder.vue:359","查看数组",e.result.records),o.value=e.result.total,e.result.records.length&&(p.value=!1,Q({qldNo:e.result.records[0].qldNo}).then((e=>{m.value=[],m.value.push(...e.result),p.value=!0}))),e.result.records.length<s.pageSize&&(s.canpull=!1)):u.value=!0}))},h=e.ref(!0),w=()=>{h.value&&(s.pageNo++,y(),h.value=!1,setTimeout((()=>{h.value=!0}),500))},y=()=>{s.canpull&&G(s).then((e=>{l("log","at pages/NursingNew/component/pleasetake/component/returnorder.vue:394","???加载",e.result.records),i.value.push(...e.result.records),o.value=e.result.total,e.result.records.length<s.pageSize&&(s.canpull=!1)}))},N=e.ref("");r((()=>{g(),N.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"}));const f=e.ref(!1),x=()=>{H({qldNo:i.value[c.value].qldNo}).then((e=>{f.value=!1,e.success?i.value[c.value]=e.result.result:(s.pageNo=1,s.canpull=!0,d.value=1,setTimeout((()=>{d.value=0}),50),c.value=0,g()),setTimeout((()=>{uni.showToast({title:e.success?e.result.message:e.message,icon:"none",duration:3e3})}),300)}))},E=e.ref(!1);return(l,a)=>{const o=e.resolveComponent("tanchuang");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives(e.createElementVNode("view",{class:"buttons-father",style:e.normalizeStyle(n.value?{opacity:"1"}:{opacity:"0"})},[e.createElementVNode("view",{class:"button-tilte"}," 回退单 "),e.createElementVNode("view",{class:"right-button-father"},[e.createElementVNode("view",{class:"right-button",onClick:a[0]||(a[0]=e=>f.value=!0)},[e.createElementVNode("image",{src:W}),e.createElementVNode("view",null," 作废 ")]),e.createElementVNode("view",{class:"right-button",style:{width:"11vw"},onClick:a[1]||(a[1]=e=>E.value=!0)},[e.createElementVNode("image",{src:"/static/index/warehouse/procurement/picking/caigou.png"}),e.createElementVNode("view",null," 提交请购单 ")])]),e.createVNode(ee,{cont:"暂无数据",show:u.value},null,8,["show"])],4),[[e.vShow,t.isShow]]),e.createVNode(o,{show:f.value,font:"确定要作废这个回退单吗",onBack:a[2]||(a[2]=e=>{f.value=!1}),onRight:x},null,8,["show"]),e.createVNode(we,{show:E.value,plsbuy:i.value[c.value],onBack:a[3]||(a[3]=e=>{E.value=!1})},null,8,["show","plsbuy"]),e.withDirectives(e.createElementVNode("view",{class:"other-contain",style:e.normalizeStyle(n.value?{opacity:"1"}:{opacity:"0"})},[e.createElementVNode("view",{class:"other-contain-left"},[e.createElementVNode("scroll-view",{"scroll-y":"true","scroll-with-animation":"",class:"left-menu-scroll","scroll-top":d.value,onScrolltolower:w,"lower-threshold":200},[e.createElementVNode("view",{style:{height:"1%"}}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,((t,l)=>{var a,n,o,r;return e.openBlock(),e.createElementBlock("view",{class:"pls-card",key:l,onClick:e=>((e,t)=>{let l=Math.ceil(e+1);if(d.value=175.4*(l-2),c.value=e,p.value=!1,Q({qldNo:i.value[e].qldNo}).then((e=>{m.value=[],m.value.push(...e.result),p.value=!0})),"N"==t.izYgRead){let l={status:"yg",qldNo:i.value[e].qldNo};Z(l).then((e=>{e.success&&(t.izYgRead="Y")}))}})(l,t),style:e.normalizeStyle({borderColor:l===c.value?"":"transparent",background:l===c.value?"#fff":"rgba(255,255,255,0.6)"})},["N"==t.izYgRead?(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.qldNo),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.tjTime.replace(/-/g,".")),1),e.createElementVNode("view",{class:"middle-heng-father"},[e.createElementVNode("image",{class:"middle-ball-img",src:R})]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",null," 待出库 "),e.createElementVNode("view",{style:{"font-size":"25rpx"}},e.toDisplayString("[ "+t.tjByName+" ]"),1)])]),e.createElementVNode("view",{class:"pls-card-middle-one"},[e.createElementVNode("view",{class:"middle-title",style:e.normalizeStyle("2"===(null==t?void 0:t.status)||"3"===(null==t?void 0:t.status)?{color:"#FF5757"}:{})},e.toDisplayString(Number(t.status)>1?"2"===(null==t?void 0:t.status)?null==(a=t.zfTime)?void 0:a.slice(0,10).replace(/-/g,"."):"3"===(null==t?void 0:t.status)?null==(n=t.htTime)?void 0:n.slice(0,10).replace(/-/g,"."):null==(o=t.ckTime)?void 0:o.slice(0,10).replace(/-/g,"."):""),5),e.createElementVNode("view",{class:"middle-heng-father"},[Number(t.status)<4?(e.openBlock(),e.createElementBlock("view",{key:0,class:"middle-ball",style:e.normalizeStyle([{"background-color":"#1083F8"},"2"===(null==t?void 0:t.status)||"3"===(null==t?void 0:t.status)?{backgroundColor:"#FF5757"}:{}])},null,4)):(e.openBlock(),e.createElementBlock("image",{key:1,class:"middle-ball-img",src:R}))]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",{style:e.normalizeStyle("2"===(null==t?void 0:t.status)||"3"===(null==t?void 0:t.status)?{color:"#FF5757"}:{})},e.toDisplayString("2"===(null==t?void 0:t.status)?"已作废":"3"===(null==t?void 0:t.status)?"已回退":"已出库"),5),Number(t.status)>1?(e.openBlock(),e.createElementBlock("view",{key:0,style:e.normalizeStyle([{"font-size":"25rpx"},"2"===(null==t?void 0:t.status)||"3"===(null==t?void 0:t.status)?{color:"#FF5757"}:{}])},e.toDisplayString("[ "+("2"===(null==t?void 0:t.status)?null==t?void 0:t.zfByName:"3"===(null==t?void 0:t.status)?null==t?void 0:t.htByName:null==t?void 0:t.ckByName)+" ]"),5)):e.createCommentVNode("",!0)])]),e.createElementVNode("view",{class:"pls-card-middle-one"},[e.createElementVNode("view",{class:"middle-title"},e.toDisplayString(5==Number(t.status)?null==(r=t.shTime)?void 0:r.slice(0,10).replace(/-/g,"."):""),1),e.createElementVNode("view",{class:"middle-heng-father"},[5!=Number(t.status)?(e.openBlock(),e.createElementBlock("view",{key:0,class:"middle-ball",style:{backgroundColor:"#E5E5E5"}})):(e.openBlock(),e.createElementBlock("image",{key:1,class:"middle-ball-img",src:R}))]),e.createElementVNode("view",{class:"end-font"},["9"!=(null==t?void 0:t.cgdType)?(e.openBlock(),e.createElementBlock("view",{key:0}," 已收货 ")):e.createCommentVNode("",!0),5==Number(t.status)?(e.openBlock(),e.createElementBlock("view",{key:1,style:{"font-size":"25rpx"}},e.toDisplayString("[ "+t.shByName+" ]"),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:X}),e.createElementVNode("view",{class:"end-left-font"},e.toDisplayString(t.nuName),1)]),e.createElementVNode("view",{class:e.normalizeClass("2"===(null==t?void 0:t.status)||"3"===(null==t?void 0:t.status)?"tag-fail":"tag-success")},e.toDisplayString(t.statusText),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(m.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"right-one",key:l},[e.createElementVNode("view",{class:"right-one-left"},[e.createElementVNode("image",{class:"left-image",src:t.materialInfo.materialImg?N.value+t.materialInfo.materialImg:"/static/index/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"left-tages",style:{"margin-top":"-15rpx"}}," 耗材用品 "),e.createElementVNode("view",{class:"left-tages"}," 支架 ")]),e.createElementVNode("view",{class:"right-one-right"},[e.createElementVNode("view",{class:"right-title"},e.toDisplayString(t.materialInfo.materialName),1),e.createElementVNode("view",{class:"right-setting"}," 规格型号 "),e.createElementVNode("view",{class:"right-mm"},e.toDisplayString(t.materialInfo.materialNo),1),e.createElementVNode("view",{class:"right-down"},[e.createElementVNode("view",{class:""},[e.createElementVNode("view",{class:"right-first-num"},e.toDisplayString(t.qlNum),1),e.createElementVNode("view",{class:"right-first-type"}," 请领数量 ")]),e.createElementVNode("view",{class:"right-shu"}),e.createElementVNode("view",{class:""},[e.createElementVNode("view",{class:"right-first-num",style:{"font-weight":"500"}},e.toDisplayString(t.materialInfo.materialUnits),1),e.createElementVNode("view",{class:"right-first-type"}," 请领单位 ")])])]),e.createElementVNode("view",{class:"right-buttons"})])))),128))]),0==m.value.length&&p.value?(e.openBlock(),e.createBlock(te,{key:0,cont:"暂无数据",style:{width:"30%",height:"30%",position:"absolute"}})):e.createCommentVNode("",!0)])])],4),[[e.vShow,t.isShow&&!u.value]])],64)}}}),[["__scopeId","data-v-ddd9e236"]]),Ne=c(e.defineComponent({__name:"takehome",props:{isShow:{type:Boolean,required:!0}},setup(t){const l=e.ref(0),a=e.ref(!1),n=t;e.watch((()=>n.isShow),((e,t)=>{!t&&e?(a.value=!1,setTimeout((()=>{a.value=!0}),50)):a.value=!1}));const i=e=>{l.value=e};return(t,n)=>(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(uni.getStorageSync("realname")),1),l.value>0?(e.openBlock(),e.createElementBlock("image",{key:0,class:"right-icons-img-back",src:"/static/index/requestform/back.png",onClick:n[0]||(n[0]=e=>l.value=0)})):e.createCommentVNode("",!0),l.value>0?(e.openBlock(),e.createElementBlock("view",{key:1,onClick:n[1]||(n[1]=e=>l.value=0)},"返回")):e.createCommentVNode("",!0)])]),l.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(he,{key:0,onChangePageNumber:i})),e.createVNode(le,{isShow:1==l.value},null,8,["isShow"]),e.createVNode(ye,{isShow:2==l.value},null,8,["isShow"])],4))}}),[["__scopeId","data-v-b3ec417b"]]),fe="/static/index/newruler/jiao.png",xe=e=>v({url:`${uni.getStorageSync("serverUrl")}/api/pad/care/directive/deleteDirective`,method:"post",data:e}),Ee=e=>v({url:`${uni.getStorageSync("serverUrl")}/api/pad/care/directive/editDirective`,method:"post",data:e});function Ve(e,t,l,a="png",n=0,i=!1){return Array.from({length:l},((l,o)=>{const r=i?String(o+n).padStart(2,"0"):o+n;return`${e}/${t}${r}.${a}`}))}const ke=[{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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/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:Ve("/static/index/diet","drainage_",6,"png",1,!1)}],levle:"1",title:"5 排泄照料",key:"1902560510768549889"}],be=300,Se=c(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 n=t;e.watch((()=>n.isMain),((e,t)=>{n.isshow&&(!0===t&&!1===e?(Ve.value.index0=8,Ve.value.index1=0,Q.value=!0):!1===t&&!0===e&&(Ve.value.index0=-1,Ve.value.index1=-1))})),e.watch((()=>n.isold),(()=>{n.isold&&(wt(),D.value=1,I.value=1,e.nextTick((()=>{I.value=0,D.value=700})))})),e.watch((()=>n.canmove),(()=>{Pe.value=!1})),e.watch((()=>n.isshow),((t,l)=>{t!==l&&(Pe.value=!1,_e.value=!1,nt.value?nt.value--:(wt(),D.value=1,I.value=1,e.nextTick((()=>{I.value=0,D.value=775}))),pe.value=0,f.value=!f.value)}));const i=e.ref(!1),o=e.ref(-1),r=e.ref(!1),c=e.ref(-1);e.watch((()=>n.propsmove),(()=>{if(r.value)switch(n.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:p.value=!1,g.value=!1,r.value=!1,i.value=!1,H.value=1}else if(i.value)switch(n.propsmove){case 0:o.value-3>0?o.value=o.value-3:o.value=0;break;case 1:o.value>3||o.value++;break;case 2:o.value+3>3?o.value=4:o.value=o.value+3;break;case 3:o.value&&o.value--;break;case 4:w(o.value);break;case 5:p.value=!1,g.value=!1,r.value=!1,i.value=!1,H.value=0}else if(4===n.propsmove)if(Q.value)Ge();else switch(H.value){case 0:g.value=!1,p.value=!p.value,i.value=!0,o.value=0;break;case 1:p.value=!1,g.value=!g.value,r.value=!0,c.value=0;break;case 2:tt();break;default:Ie()}else Q.value?Z(n.propsmove):K(n.propsmove)}));const s=e.ref("translate3d(0, 0, 0)");let u=0,d=!1;const m=e.ref(!1),p=e.ref(!1),g=e.ref(!1);e.watch((()=>p.value),(()=>{setTimeout((()=>{m.value=p.value,Ne("vip",m.value)}),50)}));const h=e.ref(!1);e.watch((()=>g.value),(()=>{setTimeout((()=>{h.value=g.value,Ne("vip",h.value)}),50)})),e.ref([]),e.ref([]);const w=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),x=e.ref([]),E=["标准","超重","强直","偏瘫","佝偻","稳定","焦虑","抑郁","暴力","恐惧","烦躁","易怒","臆想"],V=["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),B=e.ref(!1),C=e.ref(0),T=e.ref(0),z=e.ref(0),D=e.ref(678),I=e.ref(0),U=e.ref(),F=e.ref(!1),_=e.ref([]),M=e.ref(!1);e.ref(!1);const $=e.ref(!1);e.ref(!1),e.ref(!1),e.ref(""),e.ref(!1);const j=e.ref(!1);e.ref("");const L=e.ref(!1);e.ref(6),e.ref(11),e.ref(0),e.ref(3);const P=e.ref(!1),A=e.computed((()=>Ue.value[0]&&Ue.value[1]?"left-bottom":!Ue.value[0]&&Ue.value[1]?"right-bottom":Ue.value[0]&&!Ue.value[1]?"left-top":"right-top")),q=e.ref([]),O=e.ref(0);const Y=()=>{if(Ce.value.index0===Ve.value.index0&&Ce.value.index1===Ve.value.index1)return P.value=!1,Ce.value.index0=-1,void(Ce.value.index1=-1);rt.value[Ve.value.index0].children[Ve.value.index1].id?xe(rt.value[Ve.value.index0].children[Ve.value.index1]).then((e=>{W()})):W()},W=()=>{let e=JSON.parse(JSON.stringify(rt.value[Ce.value.index0].children[Ce.value.index1]));Ye.value=[Ve.value.index0,Ve.value.index1];let t=rt.value[Ce.value.index0].children[Ce.value.index1].tagName;rt.value[Ce.value.index0].children[Ce.value.index1]={directiveName:"",tagName:t};let l=rt.value[Ye.value[0]].children[Ye.value[1]].tagName;rt.value[Ye.value[0]].children[Ye.value[1]]=e,rt.value[Ye.value[0]].children[Ye.value[1]].tagName=l;let a=rt.value[Ye.value[0]].children[Ye.value[1]].startTime,n=rt.value[Ye.value[0]].children[Ye.value[1]].endTime,i=rt.value[Ye.value[0]].positioning;const o=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}},r=o(a),c=o(n);let s=60*c.hour+c.minute-(60*r.hour+r.minute);s<0&&(s+=1440);const u=Number(String(l).trim()),d=Number(String(i).trim());if(!Number.isFinite(u)||u<0||u>=60)throw new Error("newtagName 必须是 0-59 的数字字符串或数字");if(!Number.isFinite(d)||d<0)throw new Error("positioning 必须是有效小时(数字或数字字符串)");const m=60*d+u+s,v=Math.floor(m/60)%24,p=m%60,g=e=>String(e).padStart(2,"0");rt.value[Ye.value[0]].children[Ye.value[1]].startTime=`${String(d)}:${g(u)}`,rt.value[Ye.value[0]].children[Ye.value[1]].endTime=`${String(v)}:${g(p)}`,Ce.value.index0=-1,Ce.value.index1=-1,P.value=!1;let h={index0:Ve.value.index0,index1:Ve.value.index1};it(h);let w=rt.value[Ve.value.index0].children[Ve.value.index1];w.positioning=Ve.value.index0,w.positioningLong=Ve.value.index1,Ee(w).then((e=>{e.success&&ut()}))},R=t=>{var l;5!==t?(B.value=!1,te.value=-1,ae.value=-1,ee.value="",le.value="",T.value=1,C.value=1,he.value=-1,e.nextTick((()=>{T.value=0,C.value=0,he.value=0})),ge.value=0,pe.value=t,U.value=null==(l=_.value[t])?void 0:l.children,we.value=0):uni.navigateTo({url:"/pages/watch/full"})},X=e.ref(!1),G=()=>{ne.value=!1,N.value=!1,P.value?Y():rt.value[Ve.value.index0].children[Ve.value.index1].directiveName?(Ce.value.index0=Ve.value.index0,Ce.value.index1=Ve.value.index1,P.value=!0):(X.value=!0,setTimeout((()=>{X.value=!1}),1500))};e.ref(!0),e.ref(!1);const Q=e.ref(!1),J=e.ref(-1),Z=e=>{},H=e.ref(-1),K=e=>{switch(ne.value=!1,e){case 0:break;case 1:H.value<3&&H.value++;break;case 2:p.value=!1,g.value=!1,H.value=-1,Ve.value.index0=J.value,Q.value=!0;break;case 3:H.value&&H.value--}},ee=e.ref(""),te=e.ref(-1),le=e.ref(""),ae=e.ref(-1),ne=e.ref(!1),ie=()=>{Ce.value.index0=-1,Ce.value.index1=-1,P.value=!1,N.value=!1,rt.value[Ve.value.index0].children[Ve.value.index1].directiveName?ne.value?(ne.value=!1,Me(Ve.value.index0,Ve.value.index1)):(ne.value=!0,setTimeout((()=>ft.value=!0),50)):(X.value=!0,setTimeout((()=>{X.value=!1}),1500))};function oe(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 re="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;u=t,d||(d=!0,re((()=>{s.value=`translate3d(0, -${u}px, 0)`,d=!1})))}const se=e.ref(0);function ue(e){se.value=e.detail.scrollLeft}e.ref(!0);const de=(e,t,l)=>e.cycleType?Ce.value.index0===t&&Ce.value.index1===l?"title-time-border-yellow-active-transparent":_e.value?"title-time-border-yellow-active":"title-time-border-yellow":"title-time-border";function me(e,t,l,a="png",n=0,i=!1){return Array.from({length:l},((l,o)=>{const r=i?String(o+n).padStart(2,"0"):o+n;return`${e}/${t}${r}.${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),ge=e.ref(0),he=e.ref(-1),we=e.ref(0),ye=e.ref(0);e.ref(!1),e.ref([]);const Ne=a;e.ref(!1);const Ve=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),Be=e.ref(0),Ce=e.ref({index0:999,index1:999,tagName:""});e.ref(-1),e.ref(!1);const Te=e.ref(!1),ze=e.ref(-1),De=e.ref(!1),Ie=()=>{De.value=!0,Te.value=!1,setTimeout((()=>{Te.value=!0}),100)},Ue=e.ref([!1,!1]),Fe=e.ref([-1,-1]),_e=e.ref(!1);e.ref([]);const Me=(e,t)=>{l("log","at pages/NursingNew/component/nurse/index.vue:1580","?????",rt.value[e].children[t]),xe(rt.value[e].children[t]).then((e=>{e.success&&ut()}))};e.ref(null),e.ref(!1),e.ref(!1);const $e=e.ref(0),je=e.ref(0);e.ref(!1),e.ref(""),e.ref("");const Le=e.ref(null),Pe=e.ref(!1),Ae=e=>{$e.value=Math.floor(e.touches[0].pageX),je.value=Math.floor(e.touches[0].pageY),Le.value=setTimeout((()=>{Pe.value=!0}),500)},qe=e=>{const t=Math.floor(e.touches[0].pageX),l=Math.floor(e.touches[0].pageY);(Math.abs(t-$e.value)>0||Math.abs(l-je.value)>0)&&Le.value&&(clearTimeout(Le.value),Le.value=null)},Oe=()=>{Le.value&&(clearTimeout(Le.value),Le.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 Ye=e.ref([-1,-1]);e.ref(null);const We=()=>{L.value=!1,j.value=!0,setTimeout((()=>{L.value=!0}),50)},Re=e.ref(!1);let Xe=null;async function Ge(){Xe&&(clearTimeout(Xe),Xe=null),Re.value=!1,await e.nextTick(),Re.value=!0,Ze(),Xe=setTimeout((()=>{Re.value=!1,Xe=null}),1e3)}const Qe=e=>{var t;(t=e,v({url:`${uni.getStorageSync("serverUrl")}/api/pad/care/directive/addDirective`,method:"post",data:t})).then((e=>{l("log","at pages/NursingNew/component/nurse/index.vue:1720","添加后返回了啥1",e),e.success&&ut()}))},Je=e=>{var t;(t={id:e},v({url:`${uni.getStorageSync("serverUrl")}//api/pad/care/directive/deleteInstant`,method:"post",data:t})).then((e=>{e.success&&ut()}))},Ze=()=>{var t;if(ne.value)return ne.value=!1,void Me(Ve.value.index0,Ve.value.index1);if(P.value)return void Y();let a=!1;if((null==(t=rt.value[Ve.value.index0])?void 0:t.children[Ve.value.index1].directiveName)&&(a=!0),yt.value){let e=dt.value[ye.value];if(-1===Ve.value.index1&&-1===Ve.value.index0)return;if(ne.value)return ne.value=!1,void Me(Ve.value.index0,Ve.value.index1);if(P.value)return void Y();Ce.value.index0=-1,Ce.value.index1=-1,P.value=!1;let t="打包",n="";const i=Number(Ve.value.index0),o=Number(rt.value[Ve.value.index0].children[Ve.value.index1].tagName),r=o+Number(e.serviceDuration),c=i+Math.floor(r/60),s=`${String(i)}:${String(o).padStart(2,"0")}`,u=`${String(c)}:${String(r%60).padStart(2,"0")}`;let d={id:a?rt.value[Ve.value.index0].children[Ve.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:n,startTime:s,endTime:u,serviceDuration:e.serviceDuration,positioning:Ve.value.index0.toString(),positioningLong:Ve.value.index1.toString(),izPackage:"Y",previewFile:"",previewFileSmall:"",netPreviewFile:"",netPreviewFileSmall:"",immediateFile:"",immediateFileFocus:"",netImmediateFileFocus:"",netImmediateFile:"",tagName:rt.value[Ve.value.index0].children[Ve.value.index1].tagName,mp3File:e.mp3File,netMp3File:e.netMp3File,mp4File:e.mp4File,netMp4File:e.netMp4File,serviceContent:e.serviceContent};rt.value[Ve.value.index0].children[Ve.value.index1]=d;let m={index0:Ve.value.index0,index1:Ve.value.index1};return it(m),l("log","at pages/NursingNew/component/nurse/index.vue:1825","zou",a),void(a?Ee(d).then((e=>{e.success&&ut()})):Qe(d))}let n=!1,i=_.value[pe.value].children[ge.value].children[we.value];if("即时护理"===i.cycleType)return z.value=1,x.value.forEach(((e,t)=>{e.directiveName==i.title&&(n=!0)})),void e.nextTick((()=>{if(n)clearTimeout(Ke.value),F.value=!0,Ke.value=setTimeout((()=>{F.value=!1}),1500);else{z.value=0,x.value.length&&"#03a4ff"===x.value[0].target&&(x.value[0].target="#fff",clearTimeout(He.value));let e=i;e.directiveId=i.id,e.directiveName=i.title,e.serviceDuration=i.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,x.value.unshift(e),He.value=setTimeout((()=>{var t;x.value[0].target="#fff",l("log","at pages/NursingNew/component/nurse/index.vue:1873","即时指令看看进入了啥",e),(t=e,v({url:`${uni.getStorageSync("serverUrl")}/api/pad/care/directive/addInstant`,method:"post",data:t})).then((e=>{e.success&&ut()}))}),1500)}}));if(-1===Ve.value.index1&&-1===Ve.value.index0)return;if(Ce.value.index0=-1,Ce.value.index1=-1,P.value=!1,"周期护理"===i.cycleType&&B.value&&-1==te.value&&-1==ae.value)return;if("周期护理"===i.cycleType&&!B.value)return void(B.value=!0);let o="",r="";if("日常护理"===i.cycleType)o="日常";else{if(-1!==te.value){o=ee.value;let e=0;k.forEach(((t,l)=>{t==ee.value&&(e=l)})),r=e.toString()}else o=le.value+"号",r=le.value;l("log","at pages/NursingNew/component/nurse/index.vue:1924","重要",r),B.value=!1,te.value=-1,ae.value=-1,ee.value="",le.value=""}const c=Number(Ve.value.index0),s=Number(rt.value[Ve.value.index0].children[Ve.value.index1].tagName),u=s+Number(i.serviceDuration),d=c+Math.floor(u/60),m=`${String(c)}:${String(s).padStart(2,"0")}`,p=`${String(d)}:${String(u%60).padStart(2,"0")}`;l("log","at pages/NursingNew/component/nurse/index.vue:1937","allobject",i);let g={id:a?rt.value[Ve.value.index0].children[Ve.value.index1].id:"",nuId:uni.getStorageSync("nuId"),nuName:uni.getStorageSync("nuName"),customerId:uni.getStorageSync("customerId"),customerName:uni.getStorageSync("NUall").elderInfo.name,directiveId:i.id,directiveName:i.title,typeId:i.typeId,typeName:i.typeName,categoryId:i.categoryId,categoryName:i.categoryName,cycleTypeId:i.cycleTypeId,cycleType:o,cycleValue:r,startTime:m,endTime:p,positioning:Ve.value.index0.toString(),positioningLong:Ve.value.index1.toString(),izPackage:"N",previewFile:i.previewFile,previewFileSmall:i.previewFileSmall,serviceDuration:i.serviceDuration,immediateFile:i.immediateFile,immediateFileFocus:i.immediateFileFocus,netImmediateFileFocus:i.netImmediateFileFocus,netImmediateFile:i.netImmediateFile,tagName:rt.value[Ve.value.index0].children[Ve.value.index1].tagName,mp3File:i.mp3File,netMp3File:i.netMp3File,mp4File:i.mp4File,netMp4File:i.netMp4File,serviceContent:i.serviceContent,netPreviewFile:i.netPreviewFile,netPreviewFileSmall:i.netPreviewFileSmall};rt.value[Ve.value.index0].children[Ve.value.index1]=g;let h={index0:Ve.value.index0,index1:Ve.value.index1};it(h),l("log","at pages/NursingNew/component/nurse/index.vue:1981","日常指令看看进入了啥",g),a?Ee(g).then((e=>{e.success&&ut()})):Qe(g)},He=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,v({url:`${uni.getStorageSync("serverUrl")}/api/pad/care/directive/addBatch`,method:"post",data:l})).then((()=>{ut()}))},tt=()=>{uni.setStorage({key:"myArray",data:rt.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}),nt=e.ref(0),it=e=>{Ve.value.index0=e.index0,Ve.value.index1=e.index1,wt(),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)},ot=["00","05","10","15","20","25","30","35","40","45","50","55"],rt=e.ref(Array.from({length:24},((e,t)=>({positioning:t.toString(),children:ot.map((e=>({tagName:e,directiveName:""})))})))),ct=e.ref([]),st=e.ref([]),ut=()=>{var e,t;uni.getStorageSync("nuId")&&uni.getStorageSync("customerId")&&(e=uni.getStorageSync("nuId"),t=uni.getStorageSync("customerId"),v({url:`${uni.getStorageSync("serverUrl")}/api/pad/care/directive/getNclist?nuId=${e}&customerId=${t}`,method:"get"})).then((e=>{rt.value=Array.from({length:24},((e,t)=>({positioning:t.toString(),children:ot.map((e=>({tagName:e,directiveName:""})))}))),e.result.serviceList.forEach((e=>{rt.value[e.positioning].children[e.positioningLong]=e})),x.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)}))}))},dt=e.ref([]);e.onMounted((()=>{dt.value=uni.getStorageSync("Packagelist")||[];let e=uni.getStorageSync("saveTree"),t=[];ke.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}))})),_.value=e.result),U.value=_.value[0].children,pe.value=-1,he.value=-1,setTimeout((()=>{pe.value=0,he.value=0}),50),uni.$on("where",gt),he.value=0,ut()}));const mt=e.ref([]),vt=e.ref([]),pt=e.ref(!1);function gt(e){nt.value=3,it(e)}function ht(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 wt(){if(Ve.value.index0>=0&&Ve.value.index0<=24&&Ve.value.index1>=0&&Ve.value.index1<=11){const e=259*(Ve.value.index0+.5),t=200*(Ve.value.index1-1);D.value=e-650,I.value=t-200;const l=6216,a=2200;D.value=Math.max(0,Math.min(D.value,l-1300))/2,I.value=Math.max(0,Math.min(I.value,a-400))/2}}e.onBeforeUnmount((()=>{Xe&&clearTimeout(Xe),uni.$off("where",gt),d=!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,ye.value=0},ft=e.ref(!1);return(a,n)=>{var u,d,v,f,q,Y,W,J,Z,K,re,se,me,ve,Ne,xe,Ee,ke,Me,$e;const je=e.resolveComponent("donghua");return e.openBlock(),e.createElementBlock("view",{class:"right-container",style:e.normalizeStyle(t.isshow?{opacity:"1"}:{opacity:"0"}),onClick:n[23]||(n[23]=e=>{Pe.value=!1,_e.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(H.value||i.value||r.value?"":"firsttarget")},[e.createElementVNode("view",{class:"mark"},[e.createElementVNode("view",{style:{"margin-right":"15rpx"}}," 体型标签: "),e.withDirectives(e.createElementVNode("view",{class:"overlay",onClick:n[0]||(n[0]=e=>p.value=!1)},null,512),[[e.vShow,p.value]]),e.withDirectives(e.createElementVNode("view",{class:"mark-bgc",style:e.normalizeStyle({opacity:m.value?1:0}),onClick:n[1]||(n[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=>w(l)},[e.createElementVNode("view",{class:e.normalizeClass(["tags-father",o.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,p.value]])]),e.createElementVNode("view",{class:"marknone",onClick:n[2]||(n[2]=e=>{p.value=!p.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:n[3]||(n[3]=e=>{p.value=!p.value,g.value=!1})})],2),e.createElementVNode("view",{style:{display:"flex","align-items":"center","margin-right":"15rpx",padding:"0 15rpx"},class:e.normalizeClass(1!==H.value||i.value||r.value?"":"firsttarget")},[e.createElementVNode("view",{class:"mark"},[e.createTextVNode(" 情绪标签: "),e.withDirectives(e.createElementVNode("view",{class:"overlay",onClick:n[4]||(n[4]=e=>g.value=!1)},null,512),[[e.vShow,g.value]]),e.withDirectives(e.createElementVNode("view",{class:"mark-bgc",style:e.normalizeStyle({opacity:h.value?1:0}),onClick:n[5]||(n[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:n[6]||(n[6]=e=>{g.value=!g.value,p.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:n[7]||(n[7]=e=>{g.value=!g.value,p.value=!1})})],2),e.createElementVNode("view",{class:e.normalizeClass(["white-button",2===H.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===H.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===H.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(rt.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":D.value,"scroll-x":"",onScroll:ue,"show-scrollbar":!1},[e.createElementVNode("view",{style:{display:"flex",width:"4824rpx"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(rt.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(rt.value,((a,n)=>(e.openBlock(),e.createElementBlock("view",{key:n},[e.createElementVNode("view",{class:"super-card-time-und"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.children,((i,o)=>(e.openBlock(),e.createElementBlock("view",{style:{width:"100%"},key:o},[e.createElementVNode("view",{class:e.normalizeClass(at.value.index0===n&&at.value.index1===o?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!==n||lt.value.index1!==o?{borderBottom:"1rpx solid transparent"}:{zIndex:999},{position:"relative"}]),id:`a${n}_${o}`,onClick:t=>((t,a,n)=>{ne.value=!1,Ve.value.index0=a,Ve.value.index1=n,wt(),Q.value=!0,setTimeout((()=>{t.directiveName&&N.value&&(ze.value=n,uni.createSelectorQuery().selectAll(".super-card-time-card").boundingClientRect((t=>{t.forEach((async t=>{var i,o;t.left>100&&t.left<1067&&t.top<670&&t.top>50&&t.dataset.index0==a&&t.dataset.index1==n&&(t.left>100&&t.left<500?(Se.value=Math.floor(t.left)+528,Ue.value[0]=!0):(Se.value=Math.floor(t.left)-18,Ue.value[0]=!1),t.top>500?(Be.value=Math.floor(t.top)+100,Ue.value[1]=!0):(Be.value=Math.floor(t.top)+180,Ue.value[1]=!1),await e.nextTick(),M.value=!0,Fe.value[0]=a,Fe.value[1]=n,l("log","at pages/NursingNew/component/nurse/index.vue:1564","shaa",null==(o=null==(i=rt.value[Fe.value[0]])?void 0:i.children[Fe.value[1]])?void 0:o.izPackage),$.value=!1,setTimeout((()=>{$.value=!0}),100))}))})).exec())}),400)})(i,n,o),"data-index0":n,"data-index1":o},[Ce.value.index0===n&&Ce.value.index1===o&&0==o?(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===n&&Ce.value.index1===o&&o?(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,Ve.value.index0==n&&Ve.value.index1==o&&Q.value]]),e.createElementVNode("view",{class:e.normalizeClass(de(i,n,o)),style:e.normalizeStyle([{"font-size":"30rpx",overflow:"hidden"},{animationDelay:`-${oe(n,o).toFixed(2)}s`}])},[i.startTime?e.withDirectives((e.openBlock(),e.createElementBlock("view",{key:0,class:"title-time",style:{"flex-direction":"column"}},[e.withDirectives(e.createElementVNode("image",{style:{width:"50rpx",height:"50rpx",margin:"0 auto","margin-top":"20rpx"},src:i.netImmediateFile?i.netImmediateFile:"/static/logo.png"},null,8,["src"]),[[e.vShow,i.startTime]]),e.createElementVNode("view",{class:"title-time-time",style:{"font-size":"30rpx"}},e.toDisplayString(i.startTime+"-"+i.endTime),1),"日常"!=i.cycleType?(e.openBlock(),e.createElementBlock("image",{key:0,class:"title-time-button",style:{width:"80rpx",height:"50rpx"},src:fe})):e.createCommentVNode("",!0),"日常"!=i.cycleType?(e.openBlock(),e.createElementBlock("view",{key:1,class:"title-time-font",style:{right:"10rpx",top:"5rpx"}},e.toDisplayString(i.cycleType),1)):e.createCommentVNode("",!0)],512)),[[e.vShow,t.liang.index0!==n||t.liang.index1!==o||t.canmove]]):e.createCommentVNode("",!0),i.startTime?(e.openBlock(),e.createElementBlock("view",{key:1,class:"title-time-font-rel"},e.toDisplayString(ht(i.directiveName)[0]),1)):e.createCommentVNode("",!0),Ve.value.index0==n&&Ve.value.index1==o&&Q.value&&!i.startTime?(e.openBlock(),e.createElementBlock("view",{key:2,class:"pulic-time"},e.toDisplayString((1==a.positioning.length?"0"+a.positioning:a.positioning)+":"+V[o]),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":z.value},[e.createElementVNode("view",{class:"right-box"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.value,((t,l)=>{var a;return e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("view",{class:"right-box-item",onTouchstart:Ae,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(Pe.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=>{x.value.splice(l,1),Je(t.id)}),["stop"])}," - ",8,["onClick"]),[[e.vShow,Pe.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:n[8]||(n[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:n[9]||(n[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<be?(ee.value=e,te.value=t,Ze(),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<be?(le.value=e,ae.value=t,Ze(),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,B.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==(d=null==(u=_.value[pe.value])?void 0:u.children[ge.value])?void 0:d.children,((t,l)=>{var a;return e.openBlock(),e.createElementBlock("view",{key:l,onClick:e=>function(e){const t=Date.now();we.value=e,t-O.value<be?(we.value=e,Ze(),O.value=0):(we.value=e,O.value=t)}(l)},[e.createElementVNode("view",{class:"right-box-item",style:e.normalizeStyle(we.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:fe},null,512),[[e.vShow,"周期护理"===t.cycleType]]),e.withDirectives(e.createElementVNode("image",{class:"title-time-button",src:fe},null,512),[[e.vShow,"即时护理"===t.cycleType]]),e.createElementVNode("image",{class:"right-box-img",src:we.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"},we.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,!B.value]])]),e.createElementVNode("view",{class:"second-contant"},[e.createElementVNode("scroll-view",{"scroll-y":"",style:{height:"100%",width:"100%"},"show-scrollbar":!1,"scroll-top":T.value},[(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:e.normalizeClass(he.value==l?"downList-box-target":"downList-box"),onClick:t=>(t=>{B.value=!1,te.value=-1,ae.value=-1,ee.value="",le.value="",ge.value=t,he.value=t,we.value=0,C.value=1,e.nextTick((()=>{C.value=0}))})(l)},[e.createVNode(je,{width:"55rpx",height:"55rpx",links:t.url,playing:he.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(_.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,onClick:e=>R(l)},[e.createElementVNode("view",{class:"doctorsay-container-card"},[e.createVNode(je,{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(dt.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"zhiling-card",style:e.normalizeStyle(ye.value==l?{backgroundColor:"#fff"}:{}),key:l,onClick:e=>(e=>{const t=Date.now();ye.value=e,t-O.value<be?(Ze(),O.value=0):O.value=t})(l)},[e.createElementVNode("image",{class:"zhiling-card-button",src:fe}),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"},[F.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"under-button-black"}," 不能重复添加相同的即时服务指令 ")):e.createCommentVNode("",!0),X.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"under-button-black"}," 请选择服务指令来进行操作 ")):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"white-circle",onClick:G},[e.createElementVNode("image",{class:"white-circle-img",src:`/static/index/keyimg/movebutton${P.value?"blue":""}.png`},null,8,["src"])]),e.createElementVNode("view",{class:"white-circle",onClick:ie},[e.createElementVNode("image",{class:"white-circle-img",src:`/static/index/keyimg/deletebutton${ne.value?"blue":""}.png`},null,8,["src"])]),e.createElementVNode("view",{class:"white-circle",onClick:We},[e.createElementVNode("image",{class:"white-circle-img",src:`/static/index/keyimg/notebutton${j.value?"blue":""}.png`},null,8,["src"])]),e.createElementVNode("view",{class:"white-circle",onClick:n[10]||(n[10]=e=>{N.value=!N.value,P.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:Ge},[e.createElementVNode("view",{style:{"z-index":"999"}}," 确定 ")],6),e.withDirectives(e.createElementVNode("view",{class:"white-circle-click-father-spec",onClick:n[11]||(n[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:n[14]||(n[14]=e=>{M.value=!1,Ce.value.index0=999,ze.value=-1})},["N"===(null==(f=null==(v=rt.value[Fe.value[0]])?void 0:v.children[Fe.value[1]])?void 0:f.izPackage)?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["popup-overlay-content",A.value]),style:e.normalizeStyle([{height:"390rpx"},{top:2*Be.value-350+"rpx",left:2*Se.value-780+"rpx",opacity:$.value?1:0}]),onClick:n[12]||(n[12]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"popup-overlay-content-left"},[e.createElementVNode("image",{class:"popup-overlay-content-left-img",src:null==(Y=null==(q=rt.value[Fe.value[0]])?void 0:q.children[Fe.value[1]])?void 0:Y.netImmediateFileFocus},null,8,["src"])]),e.createElementVNode("view",{class:"popup-overlay-content-right"},[e.createElementVNode("view",{class:"time-font"},e.toDisplayString(null==(J=null==(W=rt.value[Fe.value[0]])?void 0:W.children[Fe.value[1]])?void 0:J.startTime)+" - "+e.toDisplayString(null==(K=null==(Z=rt.value[Fe.value[0]])?void 0:Z.children[Fe.value[1]])?void 0:K.endTime),1),e.createElementVNode("view",{class:"time-text"},e.toDisplayString(null==(se=null==(re=rt.value[Fe.value[0]])?void 0:re.children[Fe.value[1]])?void 0:se.directiveName),1)])],6)):(e.openBlock(),e.createElementBlock("view",{key:1,class:e.normalizeClass(["popup-overlay-content",A.value]),style:e.normalizeStyle({top:2*Be.value-350+"rpx",left:2*Se.value-780+"rpx",opacity:$.value?1:0}),onClick:n[13]||(n[13]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"specia-onshow"},[e.createElementVNode("view",{class:"specia-title"},e.toDisplayString(null==(ve=null==(me=rt.value[Fe.value[0]])?void 0:me.children[Fe.value[1]])?void 0:ve.startTime)+" - "+e.toDisplayString(null==(xe=null==(Ne=rt.value[Fe.value[0]])?void 0:Ne.children[Fe.value[1]])?void 0:xe.endTime),1),(null==(ke=null==(Ee=rt.value[Fe.value[0]])?void 0:Ee.children[Fe.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==($e=null==(Me=rt.value[Fe.value[0]])?void 0:Me.children[Fe.value[1]])?void 0:$e.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:fe}),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(ht(t.directiveName)[0]),1)])))),128))])):e.createCommentVNode("",!0)])],6))],512),[[e.vShow,M.value]]),e.withDirectives(e.createElementVNode("view",{class:"popup-say",onClick:n[16]||(n[16]=e=>j.value=!1)},[e.createElementVNode("view",{class:"popup-say-content",style:e.normalizeStyle([{padding:"30rpx 0"},{opacity:L.value?1:0}]),onClick:n[15]||(n[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(E.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(E.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,j.value]]),e.withDirectives(e.createElementVNode("view",{class:"popup-share",onClick:n[18]||(n[18]=e=>De.value=!1)},[e.createElementVNode("view",{class:"popup-share-content",style:e.normalizeStyle({opacity:Te.value?1:0}),onClick:n[17]||(n[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,De.value]]),ne.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["neuro-wrapper",ft.value?"is-active":""])},[e.createElementVNode("view",{class:"neuro-mask",onClick:n[19]||(n[19]=e=>ne.value=!1)}),e.createElementVNode("view",{class:"neuro-box",onClick:n[22]||(n[22]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"delete-button-father"},[e.createElementVNode("view",{class:"button-white",onClick:n[20]||(n[20]=e=>ne.value=!1)},"取消"),e.createElementVNode("view",{class:"button",onClick:n[21]||(n[21]=e=>ie())},"确定")]),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:rt.value[Ve.value.index0].children[Ve.value.index1].netImmediateFile?rt.value[Ve.value.index0].children[Ve.value.index1].netImmediateFile:"/static/logo.png"},null,8,["src"]),e.createElementVNode("view",{class:"title-time-time",style:{"font-size":"30rpx"}},e.toDisplayString(rt.value[Ve.value.index0].children[Ve.value.index1].startTime+"-"+rt.value[Ve.value.index0].children[Ve.value.index1].endTime),1),rt.value[Ve.value.index0].children[Ve.value.index1].cycleType?(e.openBlock(),e.createElementBlock("image",{key:0,class:"title-time-button",style:{width:"80rpx",height:"48rpx"},src:fe})):e.createCommentVNode("",!0),rt.value[Ve.value.index0].children[Ve.value.index1].cycleType?(e.openBlock(),e.createElementBlock("view",{key:1,class:"title-time-font",style:{right:"10rpx",top:"5rpx","font-size":"23rpx"}},e.toDisplayString(rt.value[Ve.value.index0].children[Ve.value.index1].cycleType),1)):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"title-time-font-rel"},e.toDisplayString(ht(rt.value[Ve.value.index0].children[Ve.value.index1].directiveName)[0]),1)])])],2)):e.createCommentVNode("",!0)],4)}}}),[["__scopeId","data-v-e5d3b9d6"]]),Be=c(e.defineComponent({__name:"index",setup(t){e.onMounted((()=>{i.value=-1,e.nextTick((()=>i.value=3)),u.value=2,uni.getSystemInfoSync(),uni.pageScrollTo,l.value=uni.getStorageSync("realname"),v({url:`${uni.getStorageSync("serverUrl")}/api/pad/care/directive/getServiceTree`,method:"get"}).then((e=>{uni.setStorageSync("saveTree",e)})),v({url:`${uni.getStorageSync("serverUrl")}/api/pad/care/directive/getNcPackagelist`,method:"get"}).then((e=>{uni.setStorageSync("Packagelist",e.result)}))}));const l=e.ref("");function a(e,t,l,a="png",n=0,i=!1){return Array.from({length:l},((l,o)=>{const r=i?String(o+n).padStart(2,"0"):o+n;return`${e}/${t}${r}.${a}`}))}const n=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","logistics",8,"png",0,!1),name:"后勤"},{url:a("/static/index/newindex/curve","device_",7,"png",1,!1),name:"设备"},{url:a("/static/index/newindex/curve","return_",1,"png",1,!1),name:"返回"}]),i=e.ref(-1),o=e.ref(!1),r=e.ref(!1),c=e.ref(!1),s=e.ref(!1),u=e.ref(-1);e.ref([]),e.ref(0),e.ref(0),e.ref(0),e.ref(0),e.ref(0);const d=e=>{i.value!==e&&(i.value=e,o.value=!1,r.value=!1,c.value=!1,s.value=!1,setTimeout((()=>{switch(e){case 0:o.value=!0;break;case 1:r.value=!0;case 3:c.value=!0;break;case 4:s.value=!0}}),50))},m=e=>{uni.$emit("smallmonitor:isshow",!1),T.value=!0,z.value=e,i.value=e,o.value=!1,r.value=!1,c.value=!1,s.value=!1,5!==e?setTimeout((()=>{switch(e){case 0:o.value=!0;break;case 1:r.value=!0;break;case 3:c.value=!0;break;case 4:s.value=!0}}),50):uni.navigateBack()},p=e.ref(0),g=e.ref(0),h=e.ref(""),w=e.ref(!0),y=e.ref({index0:999,index1:999}),N=e.ref(!0),f=uni.createAnimation({duration:0,timingFunction:"linear",delay:0}),x=e.ref({}),E=function(e,t){let l=0;return function(...a){const n=Date.now();n-l>=t&&(l=n,e.apply(this,a))}}((e=>{var t;const l=e.touches[0];p.value=2*(Math.floor(l.clientX)-100),g.value=2*(Math.floor(l.clientY)-55),f.translate3d(p.value/2,g.value/2,0).step({duration:0}),x.value=f.export();const a=Math.floor(l.clientX)-50,n=Math.floor(l.clientY)-25,i=V.value.find((e=>a>=Math.floor(e.left)&&a<=Math.floor(e.right)&&n>=Math.floor(e.top)&&n<=Math.floor(e.bottom)));if(i){const{index0:e,index1:l}=i.dataset;y.value.index0=e,y.value.index1=l,p.value<200&&N.value&&!u.value&&(null==(t=b.value)||t.nextItems(),N.value=!1,setTimeout((()=>{N.value=!0}),1e3))}else y.value.index0=999,y.value.index1=999}),40),V=e.ref([]),k=e.ref({directiveName:"",cycleType:"",positioningLong:"0",typeName:"",startTime:"",id:"",endTime:"",tagName:null}),b=e.ref(null),S=e.ref(null),B=()=>{var e,t,l;p.value=9999,g.value=9999,f.translate3d(p.value/2,g.value/2,0).step({duration:0}),x.value=f.export(),w.value=!0,y.value={index0:999,index1:999},h.value?u.value||null==(e=b.value)||e.rulerEnd(h.value):k.value.typeName&&(0===u.value?null==(t=b.value)||t.rulerMoveEnd(k.value):null==(l=S.value)||l.rulerMoveEnd(k.value)),h.value="",k.value={directiveName:"",cycleType:"",positioningLong:"0",typeName:"",startTime:"",id:"",endTime:"",tagName:null}};function C(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((()=>{m(i.value)}),50),o.value=!1,setTimeout((()=>{o.value=!0}),50)}));const T=e.ref(!0),z=e.ref(0),D=e.ref(-1),I=e.ref(!1),U=e=>{I.value=e},F=t=>{if(5===t)return I.value?(D.value=-1,void e.nextTick((()=>D.value=t))):void(T.value?uni.navigateBack():(T.value=!0,z.value=i.value));if(T.value){switch(t){case 0:z.value&&(z.value--,d(z.value));break;case 1:T.value=!1,z.value=-1;break;case 2:z.value<n.value.length-1&&(z.value++,d(z.value));break;case 3:break;case 4:5===z.value&&uni.navigateBack(),d(z.value)}uni.$emit("smallmonitor:isshow",!1)}else D.value=-1,e.nextTick((()=>D.value=t))};return(t,l)=>{const a=e.resolveComponent("donghua");return e.openBlock(),e.createElementBlock("view",{class:"backgroundContainer",onTouchmove:l[4]||(l[4]=(...t)=>e.unref(E)&&e.unref(E)(...t)),onTouchend:B},[e.withDirectives(e.createElementVNode("view",{class:"move-font",animation:x.value},e.toDisplayString(h.value),9,["animation"]),[[e.vShow,h.value&&p.value]]),e.withDirectives(e.createElementVNode("view",{class:e.normalizeClass("日常"==k.value.cycleType?"title-time-border-yellow":"title-time-border-pouple"),animation:x.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(k.value.startTime+"-"+k.value.endTime),1),e.createElementVNode("image",{class:"title-time-button",src:"日常"==k.value.cycleType?"/static/index/yellowbian.png":"/static/index/puoplebian.png"},null,8,["src"]),e.createElementVNode("view",{class:"title-time-font"},e.toDisplayString(k.value.cycleType),1)],512),[[e.vShow,k.value.startTime]]),e.createElementVNode("view",{style:{"margin-top":"20rpx","font-weight":"700"}},e.toDisplayString(C(k.value.directiveName)[0]),1),e.withDirectives(e.createElementVNode("view",{class:"down-icons",style:e.normalizeStyle("日常"!=k.value.cycleType?{backgroundColor:"rgb(212,203,255)"}:{})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C(k.value.directiveName).slice(1),((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"",key:l},[e.createElementVNode("view",{class:"icon",style:e.normalizeStyle("日常"!=k.value.cycleType?{backgroundColor:"rgb(123,97,255)"}:{})},e.toDisplayString(C(k.value.directiveName)[1]),5)])))),128))],4),[[e.vShow,C(k.value.directiveName)[1]]])],10,["animation"]),[[e.vShow,k.value.cycleType]]),e.createElementVNode("view",{class:"left-container"},[e.createElementVNode("view",{class:"left-head"},[e.createElementVNode("image",{class:"left-head-img",src:"/static/index/oldman.png"}),e.createElementVNode("text",{class:"left-head-font"},e.toDisplayString(uni.getStorageSync("NUall").elderInfo?uni.getStorageSync("NUall").elderInfo.name:""),1)]),e.createElementVNode("view",{class:"menus-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:e.normalizeClass(["menu",z.value===l?"target":""]),style:e.normalizeStyle(z.value===l?{backgroundColor:"#ddf0ff"}:l===i.value?{backgroundColor:"#fff"}:{}),onClick:e=>m(l)},[e.createVNode(a,{width:"55rpx",height:"55rpx",links:t.url,playing:l===i.value},null,8,["links","playing"]),e.createElementVNode("text",{style:{"font-size":"31rpx","margin-left":"15rpx"}},e.toDisplayString(t.name),1)],14,["onClick"])))),128))])]),i.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock($,{key:0,isShow:o.value,propsmove:D.value,isMain:T.value,onBack:l[0]||(l[0]=e=>F(5)),onCleanmain:l[1]||(l[1]=e=>F(1))},null,8,["isShow","propsmove","isMain"])),4==i.value?(e.openBlock(),e.createBlock(O,{key:1,isShow:s.value,propsmove:D.value,isMain:T.value,onBack:l[2]||(l[2]=e=>F(5)),onCleanmain:l[3]||(l[3]=e=>F(1)),onCanback:U},null,8,["isShow","propsmove","isMain"])):e.createCommentVNode("",!0),3==i.value?(e.openBlock(),e.createBlock(Ne,{key:2,isShow:c.value},null,8,["isShow"])):e.createCommentVNode("",!0),1==i.value&&2===u.value&&uni.getStorageSync("customerId")&&uni.getStorageSync("nuId")?(e.openBlock(),e.createBlock(Se,{key:3,isold:2===u.value,liang:y.value,isshow:r.value,propsmove:D.value,isMain:T.value,onVip:U},null,8,["isold","liang","isshow","propsmove","isMain"])):e.createCommentVNode("",!0)],32)}}}),[["__scopeId","data-v-e48a5f46"]]),Ce=c({__name:"specialDrawer",props:{widNumber:{type:Number,default:17}},setup(t,{expose:l}){const a=e.ref(!1),n=t,i=e.ref(0);e.onMounted((()=>{const e=uni.getSystemInfoSync();i.value=e.screenWidth})),e.ref(0);const o=e.ref(!0),r=e.ref(0),c=e.computed((()=>{const e=`${n.widNumber}%`;if(o.value){return{width:e,transform:`translateX(${r.value}px)`,transition:"none"}}return{width:e}}));function s(e){}function u(e){}function d(){}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:u,onTouchend:d,onTouchcancel:d},[e.renderSlot(t.$slots,"default",{},void 0,!0)],32)],6)]))}},[["__scopeId","data-v-d51e4068"]]),Te=c(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:""}]),n=l;return(l,i)=>(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=>{n("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-fa724fae"]]),ze=c(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 n=e.ref(0);uni.getSystemInfoSync().windowWidth;const i=e=>{switch(e){case 0:uni.navigateBack();break;case 1:h.value&&w.value&&(E.value?E.value=!1:k(u.value[h.value].children[w.value],h.value,w.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===d.value?B(!1):B(!0)}};function o(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),u=e.ref([]),d=e.ref(0),m=e.ref(247),v=e.ref(180);e.ref(0),e.ref(0),r((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)),d.value=7,g()}));const p=e=>{e?d.value<24&&d.value++:d.value>7&&d.value--};function g(){if(h.value>=0&&h.value<=24&&w.value>=0&&w.value<=11){const e=(h.value+.5)*m.value,t=(w.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 h=e.ref(10),w=e.ref(0);e.watch([h,w],(()=>{g()})),e.watch(d,((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),x=e.ref(0),E=e.ref(!1),V=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?x.value=Math.floor(t.top)+250:x.value=Math.floor(t.top),await e.nextTick(),E.value=!0,V.value=!1,setTimeout((()=>{V.value=!0}),100))}))})).exec()}))},b=(e,t)=>{uni.navigateBack({delta:1,success:()=>{uni.$emit("where",{index0:e,index1:t})}})},S=e=>{if(n.value!==e)switch(u.value=[],n.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="")}))}));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="")}))}))}};function B(e){d.value=e?7:24}return(t,n)=>{var r,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(u.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(u.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,((n,i)=>{return e.openBlock(),e.createElementBlock("view",{style:{width:"100%"},key:i},[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();E.value&&(E.value=!1),null!=N.value&&clearTimeout(N.value),a-y.value<250?(e.startTime&&b(t,l),y.value=0):(h.value=t,w.value=l,y.value=a)}(n,l,i),"data-index0":l,"data-index1":i},[e.createElementVNode("view",{class:e.normalizeClass((r=n,"日常"===r.cycleType?"title-time-border-yellow":r.cycleType?"title-time-border-pouple":"title-time-border")),style:e.normalizeStyle([d.value>=11&&"日常"!==n.cycleType&&n.startTime?{backgroundColor:"#c5e5ff"}:{},{"font-size":"30rpx",position:"relative"}])},[e.withDirectives(e.createElementVNode("view",{class:"title-time-blue"},null,512),[[e.vShow,h.value==l&&w.value==i]]),n.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:n.netImmediateFile?n.netImmediateFile:"/static/logo.png"},null,8,["src"]),[[e.vShow,n.startTime]]),e.withDirectives(e.createElementVNode("view",{class:"title-time-time",style:{"font-size":"30rpx"}},e.toDisplayString(n.startTime+"-"+n.endTime),513),[[e.vShow,d.value<10]]),"日常"!=n.cycleType?e.withDirectives((e.openBlock(),e.createElementBlock("image",{key:0,class:"title-time-button",style:{width:"80rpx",height:"48rpx"},src:fe},null,512)),[[e.vShow,d.value<11]]):e.createCommentVNode("",!0),"日常"!=n.cycleType?e.withDirectives((e.openBlock(),e.createElementBlock("view",{key:1,class:"title-time-font",style:{right:"10rpx",top:"5rpx","font-size":"20rpx"}},e.toDisplayString(n.cycleType),513)),[[e.vShow,d.value<11]]):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),n.startTime?e.withDirectives((e.openBlock(),e.createElementBlock("view",{key:1,class:"title-time-font-rel"},e.toDisplayString(o(n.directiveName)[0]),513)),[[e.vShow,d.value<11]]):e.createCommentVNode("",!0),h.value!=l||w.value!=i||n.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[i]),1))],6)],12,["onClick","data-index0","data-index1"])]);var r})),128))],4)])))),128))])],8,["scroll-top"])],4)],8,["scroll-left"])])]),e.createVNode(Ce,{ref:"gobackdrawer"},{default:e.withCtx((()=>[e.createVNode(Te,{onClickball:i,changerightbottom:7===d.value?"缩略图":"标准"},null,8,["changerightbottom"])])),_:1},512),e.withDirectives(e.createElementVNode("view",{class:"popup-overlay-content",style:e.normalizeStyle({top:2*x.value-350+"rpx",left:2*f.value-780+"rpx",opacity:V.value?1:0,backgroundColor:"日常"===(null==(p=null==(r=l.value[w.value])?void 0:r.children[h.value])?void 0:p.type)?"#fffcf6":"rgb(246, 244, 254)"}),onClick:n[0]||(n[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,E.value]])])}}}),[["__scopeId","data-v-33518b4c"]]),De="/static/index/warehouse/procurement/picking/addphoto.png",Ie="/static/index/warehouse/procurement/picking/data.png",Ue="/static/index/warehouse/procurement/picking/center.png",Fe="/static/shili.png",_e="/static/index/purchaseorder/back.png",Me="/static/index/warehouse/procurement/picking/loading.png",$e="/static/index/youngman.png",je=e=>v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryCgdList`,method:"get",data:e}),Le=e=>v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryCgdInfoList`,method:"get",data:e}),Pe=e=>v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/voidedCgdMain`,method:"post",data:e});"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function Ae(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var qe={exports:{}};qe.exports=function(e){function t(a){if(l[a])return l[a].exports;var n=l[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,t),n.l=!0,n.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,n=l(1),i=(a=n)&&a.__esModule?a:{default:a};t.default=i.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 n=a(l(2)),i=a(l(3)),o=a(l(4)),r=a(l(5)),c=a(l(6)),s=a(l(7)),u=a(l(8)),d=a(l(9)),m=a(l(10)),v=a(l(11)),p=a(l(12)),g={lunarInfo:n.default,solarMonth:i.default,gan:o.default,zhi:r.default,animals:c.default,lunarTerm:s.default,lTermInfo:u.default,nStr1:d.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()],n=[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(n[t-1])},toChinaYear:function(e){var t=parseInt(e/1e3),l=parseInt(e%1e3/100),a=parseInt(e%100/10),n=e%10;return g.nStr4[t]+g.nStr4[l]+g.nStr4[a]+g.nStr4[n]+"年"},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 n,i=0,o=0,r=(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(n=1900;n<2101&&r>0;n++)r-=o=g.lYearDays(n);r<0&&(r+=o,n--);var c=new Date,s=!1;c.getFullYear()==e&&c.getMonth()+1==t&&c.getDate()==l&&(s=!0);var u=a.getDay(),d=g.nStr1[u];0==u&&(u=7);var m=n,v=(i=g.leapMonth(n),!1);for(n=1;n<13&&r>0;n++)i>0&&n==i+1&&0==v?(--n,v=!0,o=g.leapDays(m)):o=g.monthDays(m,n),1==v&&n==i+1&&(v=!1),r-=o;0==r&&i>0&&n==i+1&&(v?v=!1:(v=!0,--n)),r<0&&(r+=o,--n);var p=n,h=r+1,w=t-1,y=g.getTerm(e,3),N=g.toGanZhi(e-4),f=new Date(e,1,y).getTime();new Date(e,w,l).getTime()<f&&(N=g.toGanZhi(e-5));var x=g.getTerm(e,2*t-1),E=g.getTerm(e,2*t),V=g.toGanZhi(12*(e-1900)+t+11);l>=x&&(V=g.toGanZhi(12*(e-1900)+t+12));var k=!1,b="";x==l&&(k=!0,b=g.lunarTerm[2*t-2]),E==l&&(k=!0,b=g.lunarTerm[2*t-1]);var S=Date.UTC(e,w,1,0,0,0,0)/864e5+25567+10,B=g.toGanZhi(S+l-1);return{lYear:m,lMonth:p,lDay:h,animal:g.getAnimal(m),yearCn:g.toChinaYear(m),monthCn:(v&&i===p?"闰":"")+g.toChinaMonth(p),dayCn:g.toChinaDay(h),cYear:e,cMonth:t,cDay:l,gzYear:N,gzMonth:V,gzDay:B,isToday:s,isLeap:v,nWeek:u,ncWeek:"星期"+d,isTerm:k,term:b}},lunar2solar:function(e,t,l,a){var n=g.leapMonth(e);if(g.leapDays(e),a&&n!=t)return-1;if(2100==e&&12==t&&l>1||1900==e&&1==t&&l<31)return-1;var i=g.monthDays(e,t);if(e<1900||e>2100||l>i)return-1;for(var o=0,r=1900;r<e;r++)o+=g.lYearDays(r);var c=0,s=!1;for(r=1;r<t;r++)c=g.leapMonth(e),s||c<=r&&c>0&&(o+=g.leapDays(e),s=!0),o+=g.monthDays(e,r);a&&(o+=i);var u=Date.UTC(1900,1,30,0,0,0),d=new Date(864e5*(o+l-31)+u),m=d.getUTCFullYear(),v=d.getUTCMonth()+1,p=d.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 Oe=Ae(qe.exports),Ye=c({__name:"calendar",emits:["datachange"],setup(t,{emit:l}){const a=new Date,n=e.ref(a.getFullYear()),i=e.ref(a.getMonth()),o=e.ref(null),r=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 u=["一","二","三","四","五","六","日"];function d(e,t){const l=[],a=new Date(e,t,0),n=a.getFullYear(),i=a.getMonth(),o=a.getDate(),r=((e,t)=>(new Date(e,t,1).getDay()+6)%7)(e,t);for(let s=0;s<r;s++){const e=o-r+s+1,t=Oe.solar2lunar(n,i+1,e),a=c(n,i,e);l.push({key:`prev-${n}-${i+1}-${e}`,dateText:e,lunarText:t?t.dayCn:"",prev:!0,next:!1,year:n,month:i,day:e,dateNumber:a})}const u=new Date(e,t+1,0).getDate();for(let m=1;m<=u;m++){const a=Oe.solar2lunar(e,t+1,m),n=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:n})}const d=42-l.length;for(let s=1;s<=d;s++){const a=new Date(e,t+1,s),n=a.getFullYear(),i=a.getMonth(),o=Oe.solar2lunar(n,i+1,s),r=c(n,i,s);l.push({key:`next-${n}-${i+1}-${s}`,dateText:s,lunarText:o?o.dayCn:"",prev:!1,next:!0,year:n,month:i,day:s,dateNumber:r})}return l}const m=e.computed((()=>d(n.value,i.value))),v=e.computed((()=>{if(!o.value)return null;const[e,t,l]=o.value.split("-").map(Number);return c(e,t-1,l)})),p=e.computed((()=>{if(!r.value)return null;const[e,t,l]=r.value.split("-").map(Number);return c(e,t-1,l)}));function g(e){return r.value===e}const h=l;function w(){0===i.value?(n.value--,i.value=11):i.value--}function y(){11===i.value?(n.value++,i.value=0):i.value++}function N(){n.value--}function f(){n.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:w})]),e.createElementVNode("view",{class:"year-month"},e.toDisplayString(n.value)+"年"+e.toDisplayString(i.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(u,((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,o.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 o.value&&o.value&&!r.value?l>=v.value?(r.value=t,void h("datachange",{start:o.value,end:r.value})):(r.value=o.value,o.value=t,void h("datachange",{start:o.value,end:r.value})):(o.value=t,void(r.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"]]);const We=c({props:{cont:{type:String,default:""},show:{type:Boolean,default:!1}}},[["render",function(t,l,a,n,i,o){return e.openBlock(),e.createElementBlock(e.Fragment,null,[a.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:"que"},[e.createElementVNode("image",{src:K,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"]]);const Re=c({props:{show:{type:Boolean,default:!1},font:{type:String,default:""}},methods:{}},[["render",function(t,l,a,n,i,o){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:ne,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"]]),Xe=c(e.defineComponent({__name:"picking",setup(t){const a=e.ref(0),n=e.ref(0),i=e.ref(""),o=e.ref(""),c=e.ref(!1),s=e.ref(!1),u=e.ref(!1),d=e.ref(!1),m=e.ref(""),p=()=>{var e;(e={id:te.value.id,arrivalPrice:m.value},v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/editPrice`,method:"post",data:e})).then((e=>{l("log","at pages/Warehouse/picking.vue:1103","res",e),200==e.code&&(te.value.arrivalPrice=m.value,te.value.totalPrice=Number(m.value)*Number(te.value.purchaseQuantity),W.value[K.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 h=()=>{0!=te.value.jianhuobtn&&(u.value=!0,Ae.value=!0,fe.value=!1,setTimeout((()=>{fe.value=!0}),100))},w=()=>{c.value=!0,s.value=!0,m.value=(te.value.arrivalPrice?te.value.arrivalPrice:te.value.procurementPrice).toString(),fe.value=!1,setTimeout((()=>{fe.value=!0}),100)},y=e.ref([]),N=()=>{y.value=[],B.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 n=0;for(let i=0;i<l.length&&n<a.length;i++)l[i]===a[n]&&n++;return n===a.length}let x=null;function E(e){var t;if(!e.detail.value)return L.cgBy="",y.value=[],void me();const l=String("string"==typeof e?e:(null==(t=null==e?void 0:e.detail)?void 0:t.value)??"").trim();x&&clearTimeout(x),x=setTimeout((()=>{l?(y.value=I.value.filter((e=>f(null==e?void 0:e.cgBy,l))),y.value.length||y.value.push({cgBy:"暂无数据"})):y.value=I.value.slice()}),300)}const V=e.ref([]),k=e.ref(-1),S=()=>{V.value=[],C.value="",L.suppliers="",me()},B=e.ref(""),C=e.ref("");function T(e){var t;if(!e.detail.value)return L.suppliers="",V.value=[],k.value=-1,C.value="",void me();const l=String("string"==typeof e?e:(null==(t=null==e?void 0:e.detail)?void 0:t.value)??"").trim();x&&clearTimeout(x),x=setTimeout((()=>{l?(V.value=U.value.filter((e=>f(null==e?void 0:e.suppliersName,l))),V.value.length||V.value.push({suppliersName:"暂无数据"})):V.value=U.value.slice()}),300)}r((()=>{Q(),o.value=uni.getStorageSync("serverUrl")+"/sys/common/static/",F()}));const z=e.ref(!1),D=e.ref(!1),I=e.ref([]),U=e.ref([]),F=()=>{v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getCgrList`,method:"get"}).then((e=>{I.value=e.result})),v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getGysList`,method:"get"}).then((e=>{U.value=e.result}))},_=e.ref(!1);e.ref("");const M=e.ref(0),$=["待入库","待完结","已完结"],j=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")}),P={pageNo:1,pageSize:10,canpull:!0,cgdParamInfo:"",suppliers:"",cgdType:"0,1",startTime:"",endTime:"",cgBy:"",nuId:uni.getStorageSync("nuId")},A=e.ref(!0),q=()=>{A.value=!1,setTimeout((()=>{A.value=!0}),300),Object.assign(L,P),B.value="",C.value="",me()},O=e=>{L.startTime=e.start,L.endTime=e.end,me()},Y=e.ref(0),W=e.ref([]),X=e.ref(0),G=e.ref(!1),Q=()=>{je(L).then((e=>{W.value.push(...e.result.records),X.value=e.result.total,e.result.total||(G.value=!0),e.result.records.length&&(le.cgdId=W.value[0].id,re(0)),e.result.records.length<L.pageSize&&(L.canpull=!1)}))},J=e.ref(!0),Z=()=>{J.value&&(L.pageNo++,H(),J.value=!1,setTimeout((()=>{J.value=!0}),500))},H=()=>{L.canpull&&je(L).then((e=>{W.value.push(...e.result.records),X.value=e.result.total,e.result.records.length<L.pageSize&&(L.canpull=!1)}))},K=e.ref(0),ee=(e,t)=>{let l=Math.ceil(e+1);var a;Y.value=178*(l-2),K.value=e,le.cgdId=W.value[e].id,le.pageNo=1,le.canpull=!0,Le(le).then((e=>{oe.value=[],oe.value.push(...e.result.records),le.pageNo&&ie(0)})),"Y"==t.izNew&&(t.izNew="N",a={id:t.id},v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/editIzNew`,method:"post",data:a}))},te=e.ref({materialImg:"",cgrvalue:"",gysvalue:"",wlName:"",procurementPrice:"",wlMaterialNo:"",wlSpecificationModel:"",purchaseQuantity:"",wlUnits:"",kcsl:"",wlUpperLimit:"",wlLowerLimit:"",suppliersName:"",jianhuobtn:!1}),le=e.reactive({nuId:"",pageNo:1,pageSize:-1,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",cgdId:"",isWaring:0,canpull:!0}),ae={nuId:"",pageNo:1,pageSize:9,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",cgdId:"",isWaring:0},ne=e.ref(0),ie=e=>{M.value=e,te.value=oe.value[e],te.value.jianhuobtn=!1,ne.value=205*(e-2),(0==Number(te.value.status)||Number(te.value.status)>0&&Number(te.value.wrksl)>0)&&(te.value.maxnum=0==te.value.rksl&&0==te.value.wrksl&&0==te.value.xzsl?te.value.purchaseQuantity:te.value.wrksl,te.value.num=te.value.maxnum,i.value=Xe(te.value.num),te.value.jianhuobtn=!0),Object.assign(le,ae),se.value=1,ce.value=[],de()},oe=e.ref([]),re=e=>{Le(le).then((t=>{oe.value=t.result.records,ie(e)}))},ce=e.ref([]),se=e.ref(1),ue=e.ref("loading"),de=()=>{let e={cgdId:te.value.cgdId,wlId:te.value.wlId,pageNo:se.value,pageSize:10};var t;(t=e,v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryPickingRecordList`,method:"get",data:t})).then((e=>{ce.value.push(...e.result.records),ue.value=e.result.total==ce.value.length||0==e.result.records.length?"nomore":"loadmore"}))},me=()=>{L.pageNo=1,W.value=[],je(L).then((e=>{W.value.push(...e.result.records),X.value=e.result.total,e.result.records.length&&(le.cgdId=W.value[0].id,re(0)),e.result.records.length<L.pageSize&&(L.canpull=!1)}))},ve=e.ref(-1);e.ref(-1);const pe=e.ref(!1),ge=e.ref(!1),he=()=>{l("log","at pages/Warehouse/picking.vue:1569","-----------------------\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:1585","-------------------success:",e)},fail:function(e){l("log","at pages/Warehouse/picking.vue:1588","------------------- fail:",e),uni.showToast({title:e,icon:"none",duration:2e4})}})},we=e.ref(!1),ye=()=>{var e;!Number(null==(e=W.value[K.value])?void 0:e.status)&&W.value.length&&(we.value=!0,ve.value=-1)},Ne=()=>{Pe({id:W.value[K.value].id}).then((e=>{l("log","at pages/Warehouse/picking.vue:1606","res",e),e.success?(uni.showToast({title:e.message,icon:"success",duration:2e3}),K.value=0,we.value=!1,oe.value=[],W.value=[],Object.assign(L,P),Object.assign(le,ae),Q()):(uni.showToast({title:e.message,icon:"none",duration:2e3}),we.value=!1)}))},fe=e.ref(!1),xe=e.ref([]),Ee=e.ref([]),Ve=e=>{1==e?be():ke(),j.value=e,fe.value=!1,setTimeout((()=>{fe.value=!0}),100)};e.ref(1);const ke=()=>{let e={cgdId:W.value[K.value].id};var t;(t=e,v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryJhzpList`,method:"get",data:t})).then((e=>{Ee.value=e.result}))},be=()=>{let e={cgdId:W.value[K.value].id,pageNo:1,pageSize:-1};var t;(t=e,v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/querySxdList`,method:"get",data:t})).then((e=>{l("log","at pages/Warehouse/picking.vue:1663",e.result.records),xe.value=e.result.records}))},Se=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[K.value].id},v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/addSxd`,method:"post",data:l})).then((e=>{e.success&&be()}))},fail:()=>{uni.showToast({title:"上传失败",icon:"none"})}})},Be=e.ref([]),Ce=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&&(Se(t.tempFilePath),l("log","at pages/Warehouse/picking.vue:1711",t.tempFilePath)):Be.value.push(t.tempFilePath)}})}})},Te=(e,t,l,a)=>{if(1==a){let e=[];l.forEach((t=>{e.push(o.value+t.sxdPic)})),uni.previewImage({current:t,urls:e,showmenu:!1,longPressActions:{itemList:[]}})}else if(2==a){let e=[];l.forEach((t=>{e.push(o.value+t.jhPic)})),uni.previewImage({current:t,urls:e,showmenu:!1,longPressActions:{itemList:[]}})}else uni.previewImage({current:t,urls:l,showmenu:!1,longPressActions:{itemList:[]}})},ze=e.ref(-1),Ae=e.ref(!1),qe=e=>"AC"==e?(te.value.num=0,void(i.value=Xe(te.value.num))):"AE"==e?(te.value.num=Math.trunc(te.value.num/10),void(i.value=Xe(te.value.num))):1==Ae.value?(te.value.num=e,Ae.value=!1,void(i.value=Xe(te.value.num))):void(Oe(te.value.num)>3||(te.value.num?te.value.num=10*te.value.num+e:te.value.num=e,i.value=Xe(te.value.num))),Oe=e=>Math.abs(e).toString().length,Xe=e=>{const t=Math.floor(Math.abs(e));return String(t).padStart(4,"0")},Ge=e.ref(null),Qe=e=>{Ze(e)},Je=()=>{clearInterval(Ge.value)},Ze=e=>{Ge.value=setInterval((()=>{He(e)}),120)},He=e=>{let t=te.value.maxnum;t<=te.value.num&&1==e?te.value.num=t:te.value.num<=1&&-1==e?te.value.num=1:(te.value.num+=e,i.value=Xe(te.value.num))},Ke=e=>{let t="";et.value.forEach((e=>{t+=e+","}));let l={jhId:te.value.id,jhNum:te.value.num,jhType:e,jhPic:""==t?null:t,cgdId:te.value.cgdId};var n;(n=l,v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/pickingInfo`,method:"post",data:n})).then((e=>{uni.showToast({icon:"none",title:e.message?e.message:"操作成功"}),e.success&&(W.value[K.value].totalPrice=e.result.cgdTotalPrice,Be.value=[],et.value=[],u.value=!1,a.value=0,le.cgdId=W.value[K.value].id,W.value[K.value]=e.result.cgdInfo,re(M.value))}))},et=e.ref([]),tt=e=>{if(0==Be.value.length)return void Ke(e);let t=new Date,l=t.getFullYear(),a=t.getMonth()+1;Be.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);et.value.push(l.message),et.value.length==Be.value.length&&Ke(e)},fail:()=>{uni.showToast({title:"上传失败",icon:"none"})}})}))},lt=e=>{1==e?a.value=2:tt(0)},at=[210,210,210],nt=[50,152,255],it=e.ref(0);function ot(e,t,l){return Math.round(e+(t-e)*l)}function rt(e){return"#"+e.map((e=>e.toString(16).padStart(2,"0"))).join("")}const ct=e.computed((()=>{const e=[];for(let t=0;t<8;t++){const l=(it.value+t/8)%1,a=[ot(at[0],nt[0],l),ot(at[1],nt[1],l),ot(at[2],nt[2],l)];e.push(rt(a))}return e})),st=e.computed((()=>({width:"180rpx",height:"70rpx",padding:"2rpx",borderRadius:"40rpx",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"transparent",position:"relative"}))),ut=e.computed((()=>({position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:"40rpx",overflow:"hidden",display:"flex",flexDirection:"row",zIndex:1}))),dt=e.computed((()=>({width:"calc(100% - 4rpx)",height:"calc(100% - 4rpx)",borderRadius:"36rpx",backgroundColor:"#ffffff",display:"flex",alignItems:"center",justifyContent:"center",zIndex:2}))),mt=e.computed((()=>({color:ct.value[0]||rt(at),fontSize:"30rpx",fontWeight:"600",zIndex:3})));let vt=null;return e.onMounted((()=>{const e=Math.max(1,Math.round(1e3/120));vt=setInterval((()=>{it.value+=1/e,it.value>=1&&(it.value-=1)}),120)})),e.onUnmounted((()=>{vt&&clearInterval(vt)})),e.ref(!1),(t,l)=>{var r,s,v,f,x,I,U,F,P;return e.openBlock(),e.createElementBlock("view",{class:"contain"},[e.withDirectives(e.createElementVNode("view",{class:"mengban",style:e.normalizeStyle(z.value||D.value||d.value?{background:"transparent"}:{}),onClick:l[0]||(l[0]=e=>{ve.value=-1,j.value=-1,u.value=!1,c.value=!1,d.value=!1,z.value=!1,D.value=!1})},null,4),[[e.vShow,-1!=ve.value||-1!=j.value||u.value||c.value||d.value||z.value||D.value]]),e.createVNode(We,{cont:"暂无数据",show:G.value},null,8,["show"]),e.withDirectives(e.createElementVNode("view",{class:"mengban",style:{background:"transparent"},onClick:S},null,512),[[e.vShow,V.value.length&&C.value]]),V.value.length&&C.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"input-next",style:{bottom:"450rpx"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(V.value.slice(0,5),((t,l)=>e.withDirectives((e.openBlock(),e.createElementBlock("view",{class:"next-father",key:l,onClick:e=>((e,t)=>{V.value=[],L.suppliers=e.suppliers,C.value=e.suppliersName,k.value=t,me()})(t,l)},e.toDisplayString(t.suppliersName),9,["onClick"])),[[e.vShow,"暂无数据"!=V.value[0].suppliersName]]))),128)),"暂无数据"===V.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&&B.value]]),y.value.length&&B.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,B.value=L.cgBy,me()})(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(Ye,{onDatachange:O})],512)),[[e.vShow,d.value]]):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("view",{class:"gaijiafather",style:e.normalizeStyle(fe.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:p,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(fe.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(te.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(te.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","font-size":"25rpx"}}," 物料编码 "),e.createElementVNode("view",{class:"",style:{"margin-top":"5rpx","font-size":"34rpx"}},e.toDisplayString(te.value.wlMaterialNo),1)]),e.createElementVNode("view",{style:{width:"33%"}},[e.createElementVNode("view",{style:{color:"#999999","margin-top":"10rpx","white-space":"nowrap","font-size":"25rpx"}}," 规格型号 "),e.createElementVNode("view",{style:{"margin-top":"5rpx","font-size":"34rpx","white-space":"nowrap",display:"flex","flex-wrap":"nowrap"}},e.toDisplayString(te.value.wlSpecificationModel),1)])]),e.createElementVNode("view",{style:{display:"flex","margin-top":"15rpx"}},[e.createElementVNode("view",{class:"",style:{width:"33%"}},[e.createElementVNode("view",{style:{color:"#999999","margin-top":"10rpx","font-size":"25rpx"}}," 采购单价 "),e.createElementVNode("view",{class:"text-anim",style:{"margin-top":"5rpx","font-weight":"600","font-size":"34rpx"}}," ¥"+e.toDisplayString(te.value.arrivalPrice?Number(te.value.arrivalPrice).toFixed(2):Number(te.value.procurementPrice).toFixed(2)),1)]),e.createElementVNode("view",{class:"",style:{width:"33%"}},[e.createElementVNode("view",{style:{color:"#999999","margin-top":"10rpx","font-size":"25rpx"}}," 采购数量 "),e.createElementVNode("view",{class:"",style:{"margin-top":"5rpx","font-weight":"600","font-size":"34rpx"}},e.toDisplayString(te.value.purchaseQuantity),1)]),e.createElementVNode("view",{class:"",style:{width:"33%"}},[e.createElementVNode("view",{style:{color:"#999999","margin-top":"10rpx","font-size":"25rpx"}}," 采购单位 "),e.createElementVNode("view",{class:"",style:{"margin-top":"5rpx","font-size":"34rpx"}},e.toDisplayString(te.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","margin-top":"10rpx"}}," 入库信息 ")]),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","font-size":"25rpx"}}," 入库数量 "),e.createElementVNode("view",{class:"",style:{"margin-top":"5rpx","font-size":"34rpx"}},e.toDisplayString(te.value.rksl),1)]),e.createElementVNode("view",{class:"",style:{width:"33%"}},[e.createElementVNode("view",{style:{color:"#999999","margin-top":"10rpx","font-size":"25rpx"}}," 挂账数量 "),e.createElementVNode("view",{class:"",style:{"margin-top":"5rpx","font-size":"34rpx"}},e.toDisplayString(te.value.wrksl),1)]),e.createElementVNode("view",{class:"",style:{width:"33%"}},[e.createElementVNode("view",{style:{color:"#999999","margin-top":"10rpx","font-size":"25rpx"}}," 销账数量 "),e.createElementVNode("view",{class:"",style:{"margin-top":"5rpx","font-size":"34rpx"}},e.toDisplayString(te.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","margin-top":"10rpx"}}," 拣货拍照 ")]),e.createElementVNode("view",{style:{display:"flex","flex-wrap":"wrap",width:"60%"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Be.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=>{ze.value=l,a.value=1}),["stop"])},[e.createElementVNode("image",{src:b,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=>Te(0,l,Be.value)},null,8,["src","onClick"])])))),128)),Be.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=>Ce(0))},[e.createElementVNode("view",{class:"moban-photo-special"},[e.createElementVNode("image",{style:{width:"50rpx",height:"50rpx","margin-bottom":"5rpx"},src:De}),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":"20rpx"}},[e.createElementVNode("view",{class:"gray-button",onClick:l[15]||(l[15]=e=>He(-1)),onLongpress:l[16]||(l[16]=e=>Qe(-1)),onTouchend:Je}," - ",32),e.createElementVNode("view",{class:"gray-input",style:{width:"12vw"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.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=>He(1)),onLongpress:l[18]||(l[18]=e=>Qe(1)),onTouchend:Je}," + ",32)]),e.createElementVNode("view",{class:"jianhuobutton"},[e.createElementVNode("view",{style:{display:"flex"}},[e.createElementVNode("view",{onClick:l[19]||(l[19]=e=>{u.value=!1,Ae.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=>lt(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=>lt(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=>qe(1))}," 1 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[23]||(l[23]=e=>qe(2))}," 2 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[24]||(l[24]=e=>qe(3))}," 3 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[25]||(l[25]=e=>qe(4))}," 4 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[26]||(l[26]=e=>qe(5))}," 5 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[27]||(l[27]=e=>qe(6))}," 6 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[28]||(l[28]=e=>qe(7))}," 7 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[29]||(l[29]=e=>qe(8))}," 8 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[30]||(l[30]=e=>qe(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=>qe("AC"))}," AC "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[32]||(l[32]=e=>qe(0))}," 0 "),e.createElementVNode("view",{class:"gray-button-jianpan",style:{"font-size":"35rpx"},onClick:l[33]||(l[33]=e=>qe("AE"))}," AE ")])])],4),[[e.vShow,u.value]]),e.withDirectives(e.createElementVNode("view",{class:"photowall",style:e.normalizeStyle(fe.value?{opacity:1}:{opacity:0})},[e.createElementVNode("view",{class:"photowall-title"},[e.createElementVNode("view",{class:"photowall-name"},e.toDisplayString(j.value?"随行单":"拣货照片"),1),e.createElementVNode("view",{class:""},[e.createElementVNode("text",{class:"photowall-left"}," 采购单号: "),e.createElementVNode("text",{class:"photowall-right"},e.toDisplayString(null==(r=W.value[K.value])?void 0:r.cgdNo),1)])]),0==j.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(Ee.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"photowall-other-one",key:l,onClick:e=>Te(0,l,Ee.value,2)},[e.createElementVNode("image",{style:{width:"100%",height:"70%","border-radius":"30rpx"},src:t.jhPic?o.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.replace(/-/g,".")),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)),Ee.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==j.value?(e.openBlock(),e.createElementBlock("scroll-view",{key:1,"scroll-y":"true",class:"photowall-other","scroll-with-animation":"",style:{"margin-top":"0 !important"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(xe.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"photowall-other-one",key:l,onClick:e=>Te(0,l,xe.value,1)},[e.createElementVNode("image",{style:{width:"100%",height:"70%","border-radius":"30rpx"},src:t.sxdPic?o.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.replace(/-/g,".")),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==j.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"photowall-other-one"},[e.createElementVNode("view",{style:{width:"100%",height:"71%",display:"flex","flex-direction":"column","justify-content":"center","align-items":"center",position:"absolute",top:"1vw",left:"0","background-color":"#fafdff",border:"1rpx solid #78B1EB","border-radius":"30rpx"},onClick:l[34]||(l[34]=e=>Ce(1))},[e.createElementVNode("image",{style:{width:"70rpx",height:"70rpx","margin-bottom":"5rpx"},src:De}),e.createElementVNode("view",{style:{color:"#78B1EB"}}," 点击拍照上传 ")])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4),[[e.vShow,-1!=j.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:q}," 重置 "),e.createElementVNode("view",{class:"bottom-right",onClick:l[36]||(l[36]=e=>_.value=!1)},[e.createTextVNode(" 确定 "),X.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",me()})}," 全部 ",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",me()})}," 待入库 ",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",me()})}," 待完结 ",2)]),e.createElementVNode("view",{class:"more-time"}," 采购日期 "),e.createElementVNode("view",{class:"more-time-select",onClick:l[40]||(l[40]=e=>d.value=!d.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:Ie})]),e.createElementVNode("view",{class:"more-select"}," 采购人 "),e.createElementVNode("view",{class:"more-time-select",onClick:l[42]||(l[42]=e=>z.value=!0)},[e.withDirectives(e.createElementVNode("input",{class:"more-gray","onUpdate:modelValue":l[41]||(l[41]=e=>B.value=e),placeholder:"请输入采购人","placeholder-style":"color: #BFBFBF;",style:{"margin-left":"30rpx",width:"400rpx"},onInput:E},null,544),[[e.vModelText,B.value]]),e.createElementVNode("image",{class:"select-img",src:Ue})]),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=>C.value=e),placeholder:"请输入供应商","placeholder-style":"color: #BFBFBF;",style:{"margin-left":"30rpx",width:"400rpx"},onInput:T},null,544),[[e.vModelText,C.value]]),e.createElementVNode("image",{class:"select-img",src:Ue})])],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=>me())},null,544),[[e.vModelText,L.cgdParamInfo]]),e.withDirectives(e.createElementVNode("image",{class:"title-input-img",src:b,onClick:l[47]||(l[47]=e=>{L.cgdParamInfo="",me()})},null,512),[[e.vShow,L.cgdParamInfo]]),e.createElementVNode("view",{class:"title-input-button",onClick:l[48]||(l[48]=e=>{me()})}," 检索 "),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",me()})}," 全部 ",2),e.createElementVNode("view",{class:e.normalizeClass("0"==L.cgdType?"statues-button-target":"statues-button"),onClick:l[51]||(l[51]=e=>{L.cgdType="0",me()})}," 待入库 ",2),e.createElementVNode("view",{class:e.normalizeClass("1"==L.cgdType?"statues-button-target":"statues-button"),onClick:l[52]||(l[52]=e=>{L.cgdType="1",me()})}," 待完结 ",2)]),e.createElementVNode("view",{class:"left-menu-father"},[e.createElementVNode("scroll-view",{"scroll-y":"true","scroll-with-animation":"",class:"left-menu-scroll","scroll-top":Y.value,onScrolltolower:Z,"lower-threshold":400},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(W.value,((t,l)=>{var a,n;return e.openBlock(),e.createElementBlock("view",{class:"pls-card",key:l,onClick:e=>ee(l,t),style:e.normalizeStyle({borderColor:l===K.value?"":"transparent",background:l===K.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.replace(/-/g,".")),1),e.createElementVNode("view",{class:"middle-heng-father"},[e.createElementVNode("image",{class:"middle-ball-img",src:R})]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",null," 采购 "),e.createElementVNode("view",null,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).replace(/-/g,".")),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:R}))]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",null," 拣货 "),t.jhBy?(e.openBlock(),e.createElementBlock("view",{key:0},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==(n=t.wjTime)?void 0:n.slice(0,10).replace(/-/g,"."):""),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:R}))]),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:Fe}),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("contain-right-button"),onClick:l[53]||(l[53]=e=>Ve(0)),style:{width:"10vw"}},[e.createElementVNode("image",{class:"buttont-img",src:"/static/index/warehouse/procurement/picking/camera.png"},null,8,["src"]),e.createElementVNode("view",{class:"button-font"}," 拣货照片 ")]),e.createElementVNode("view",{class:e.normalizeClass("contain-right-button"),onClick:l[54]||(l[54]=e=>Ve(1)),style:{width:"9vw"}},[e.createElementVNode("image",{class:"buttont-img",src:"/static/index/warehouse/procurement/picking/work.png"},null,8,["src"]),e.createElementVNode("view",{class:"button-font"}," 随行单 ")]),e.createElementVNode("view",{class:e.normalizeClass(Number(null==(s=W.value[K.value])?void 0:s.status)?"contain-right-title-bad":"contain-right-button"),style:{"border-color":"#D9DADC","box-shadow":"0 1rpx 3rpx #D9DADC"},onClick:ye},[e.createElementVNode("image",{class:"buttont-img",src:"/static/index/warehouse/procurement/picking/bebad.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:_e}),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":ne.value,"scroll-with-animation":""},[e.createElementVNode("view",{class:"middle-Y-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(oe.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"middle-one",key:l,style:e.normalizeStyle({border:M.value===l?"4rpx dashed #1083F8":"4rpx solid transparent",backgroundColor:M.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?o.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:M.value!==l?"600":"",color:M.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:M.value===l?"600":"",color:M.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(n.value?"wuliao-title-no":"wuliao-title"),onClick:l[56]||(l[56]=e=>n.value=0)},[e.createTextVNode(" 物料详情 "),e.createElementVNode("view",{class:"wuliao-heng"})],2),e.createElementVNode("view",{class:e.normalizeClass(1==n.value?"wuliao-title":"wuliao-title-no"),style:{"margin-left":"10rpx"},onClick:l[57]||(l[57]=e=>n.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(st.value),onClick:w},[e.createElementVNode("view",{style:e.normalizeStyle(ut.value)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ct.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(dt.value)},[e.createElementVNode("text",{style:e.normalizeStyle(mt.value)},"改价",4)],4)],4),e.createElementVNode("view",{onClick:h,class:e.normalizeClass(0==te.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==(v=te.value)?void 0:v.materialImg)?o.value+(null==(f=te.value)?void 0:f.materialImg):"/static/index/warehouse/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"left-tags"},[te.value.categoryId_dictText?(e.openBlock(),e.createElementBlock("view",{key:0,class:"tags-one"},e.toDisplayString(te.value.categoryId_dictText),1)):e.createCommentVNode("",!0),te.value.typeId_dictText?(e.openBlock(),e.createElementBlock("view",{key:1,class:"tags-one"},e.toDisplayString(te.value.typeId_dictText),1)):e.createCommentVNode("",!0),te.value.medicationId_dictText?(e.openBlock(),e.createElementBlock("view",{key:2,class:"tags-one"},e.toDisplayString(te.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(te.value.wlName),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(te.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(te.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(te.value.arrivalPrice?Number(te.value.arrivalPrice).toFixed(2):Number(te.value.procurementPrice).toFixed(2)),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 采购数量 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(te.value.purchaseQuantity),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 采购单位 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(te.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(te.value.kcsl),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 物料上限 ↑ "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(te.value.wlUpperLimit),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 物料下限 ↓ "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(te.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(te.value.rksl),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 挂账数量 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(te.value.wrksl),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 销账数量 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(te.value.xzsl),1)])])])])],512),[[e.vShow,!n.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":"30rpx","margin-bottom":"10rpx"}},[e.createElementVNode("view",{style:{"font-size":"35rpx","font-weight":"600","margin-left":"20rpx",color:"#222222"}},e.toDisplayString(te.value.wlName),1),e.createElementVNode("view",{style:{color:"black","margin-top":"5rpx"}},[e.createElementVNode("text",{style:{color:"#888888"}}," 采购数量: "),e.createElementVNode("text",{style:{"font-weight":"600",color:"#555555"}},e.toDisplayString(te.value.purchaseQuantity),1),e.createTextVNode(" "+e.toDisplayString(te.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"!=ue.value&&(se.value++,de())})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ce.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(te.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.replace(/-/g,".")),1)])])))),128))],32),ce.value.length?(e.openBlock(),e.createElementBlock("view",{key:0,style:{width:"100%",display:"flex","justify-content":"center",color:"#C3C3C3","margin-top":"40rpx"}},["loading"==ue.value?(e.openBlock(),e.createElementBlock("image",{key:0,style:{width:"25rpx",height:"25rpx","margin-right":"10rpx","margin-top":"5rpx","margin-left":"-10rpx"},src:Me})):e.createCommentVNode("",!0),"loading"==ue.value?(e.openBlock(),e.createElementBlock("text",{key:1},"上划加载更多")):e.createCommentVNode("",!0),"nomore"==ue.value?(e.openBlock(),e.createElementBlock("text",{key:2},"已加载全部~")):e.createCommentVNode("",!0),"loadmore"==ue.value?(e.openBlock(),e.createElementBlock("text",{key:3},"加载中~")):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),ce.value.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:1,class:"nomessage-samll"},[e.createElementVNode("image",{style:{width:"300rpx",height:"300rpx","margin-top":"-200rpx"},src:"/static/index/warehouse/procurement/picking/nomessage.png"}),e.createElementVNode("view",{class:"noarray-font"}," 暂无拣货记录 ")]))],512),[[e.vShow,1==n.value]])])]),e.withDirectives(e.createElementVNode("view",{class:"popup-share",onClick:l[60]||(l[60]=e=>pe.value=!1)},[e.createElementVNode("view",{class:"popup-share-content",style:e.normalizeStyle({opacity:ge.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==(x=W.value[K.value])?void 0:x.cgdNo),1),e.createElementVNode("view",{class:"share-font"}," 供应商:"+e.toDisplayString(null==(I=W.value[K.value])?void 0:I.gysId_dictText),1),e.createElementVNode("view",{class:"share-font"}," 采购时间:"+e.toDisplayString(null==(U=W.value[K.value])?void 0:U.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==(F=W.value[K.value])?void 0:F.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:$e}),e.createElementVNode("view",{class:"share-name"},e.toDisplayString(null==(P=W.value[K.value])?void 0:P.createBy_dictText),1),e.createElementVNode("view",{class:"share-font"}," 采购人 ")]),e.createElementVNode("view",{class:"blue-button",onClick:he}," 分享 ")])])],4)],512),[[e.vShow,pe.value]]),e.createVNode(Re,{show:we.value,font:"确定要作废这个采购单吗",onBack:l[61]||(l[61]=e=>{we.value=!1}),onRight:Ne},null,8,["show"]),e.createVNode(Re,{show:1==a.value,font:"是否删除此图片",onBack:l[62]||(l[62]=e=>a.value=0),onRight:l[63]||(l[63]=e=>(Be.value.splice(ze.value,1),ze.value=-1,void(a.value=0)))},null,8,["show"]),e.createVNode(Re,{show:2==a.value,font:"是否销账此物料?",onBack:l[64]||(l[64]=e=>a.value=0),onRight:l[65]||(l[65]=e=>tt(1))},null,8,["show"])])}}}),[["__scopeId","data-v-dccc81b5"]]),Ge=c(e.defineComponent({__name:"finish",setup(t){const a=e.ref(0),n=e.ref(""),i=e.ref(!1),o=e.ref(!1);r((()=>{h(),n.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"}));const c=e.ref(!1),s=e.ref(""),u=e.ref(0),d=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([]),h=()=>{je(m).then((e=>{g.value.push(...e.result.records),e.result.records.length&&(E.cgdId=g.value[0].id,C()),e.result.records.length<m.pageSize&&(m.canpull=!1)}))},w=e.ref(!0),y=()=>{w.value&&(m.pageNo++,N(),w.value=!1,setTimeout((()=>{w.value=!0}),500))},N=()=>{m.canpull&&je(m).then((e=>{g.value.push(...e.result.records),e.result.records.length<m.pageSize&&(m.canpull=!1)}))},f=e.ref(0),x=e.ref({materialImg:""}),E=e.reactive({nuId:"",pageNo:1,pageSize:9,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",cgdId:"",isWaring:0,canpull:!0}),V={nuId:"",pageNo:1,pageSize:9,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",cgdId:"",isWaring:0},k=["已入库","已入库","已销账","已销账"],S=e=>{u.value=e,x.value=B.value[e],Object.assign(E,V)},B=e.ref([]),C=()=>{Le(E).then((e=>{1==e.result.records.length&&(B.value.push(...e.result.records),B.value.push(...e.result.records),B.value.push(...e.result.records),B.value.push(...e.result.records)),B.value.push(...e.result.records),S(0)}))},T=()=>{E.canpull&&(E.pageNo++,Le(E).then((e=>{B.value.push(...e.result.records),10!=e.result.records.length&&(E.canpull=!1),l("log","at pages/Warehouse/finish.vue:1203","??????",e.result.records)})))},z=()=>{E.pageNo=1,B.value=[],u.value=0,E.wlParamInfo=s.value,E.cgdId=g.value[f.value].id,C()},D=e.ref(-1),I=e.ref(-1),U=e.ref(!1),F=e.ref(!1),_=()=>{U.value=!0,D.value=-1,F.value=!1,setTimeout((()=>{F.value=!0}),100)},M=()=>{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),j=e.ref(!1),L=()=>{$.value=!0,D.value=-1,j.value=!1,setTimeout((()=>j.value=!0),50)},P=()=>{Pe({id:g.value[I.value].id}).then((e=>{e.success&&(uni.showToast({title:e.message,icon:"success",duration:2e3}),$.value=!1,B.value=[],g.value=[],Object.assign(m,v),Object.assign(E,V),h())}))},A=e.ref(!1),q=e=>{d.value=e,A.value=!1,setTimeout((()=>{A.value=!0,l("log","at pages/Warehouse/finish.vue:1293","zzz",A.value)}),100)},O=[210,210,210],Y=[50,152,255],W=e.ref(0);function R(e,t,l){return Math.round(e+(t-e)*l)}function X(e){return"#"+e.map((e=>e.toString(16).padStart(2,"0"))).join("")}const G=e.computed((()=>{const e=[];for(let t=0;t<8;t++){const l=(W.value+t/8)%1,a=[R(O[0],Y[0],l),R(O[1],Y[1],l),R(O[2],Y[2],l)];e.push(X(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:G.value[0]||X(O),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,n)=>{var r,m,v,h,w;return e.openBlock(),e.createElementBlock("view",{class:"contain"},[e.withDirectives(e.createElementVNode("view",{class:"mengban",onClick:n[0]||(n[0]=e=>{D.value=-1,d.value=-1,o.value=!1,i.value=!1})},null,512),[[e.vShow,-1!=D.value||-1!=d.value||o.value||i.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,i.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:De}),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,o.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(d.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!=d.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:Ie})]),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:Ue})]),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:Ue})])],512),[[e.vShow,c.value]]),e.createElementVNode("view",{class:"title-input-father"},[e.withDirectives(e.createElementVNode("input",{class:"title-input",type:"text","onUpdate:modelValue":n[1]||(n[1]=e=>s.value=e),maxlength:"15",placeholder:"采购单号/采购日期/供应商",onConfirm:n[2]||(n[2]=e=>z())},null,544),[[e.vModelText,s.value]]),e.withDirectives(e.createElementVNode("image",{class:"title-input-img",src:b,onClick:n[3]||(n[3]=e=>{s.value="",z()})},null,512),[[e.vShow,s.value]]),e.createElementVNode("view",{class:"title-input-button",onClick:n[4]||(n[4]=e=>z())}," 检索 "),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:n[5]||(n[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,E.cgdId=g.value[e].id,E.pageNo=1,E.canpull=!0,Le(E).then((e=>{B.value=[],l("log","at pages/Warehouse/finish.vue:1131","数据呢",e.result.records),1==e.result.records.length&&(B.value.push(...e.result.records),B.value.push(...e.result.records),B.value.push(...e.result.records),B.value.push(...e.result.records)),B.value.push(...e.result.records),E.pageNo&&S(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:Fe}),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(d.value?"contain-right-button":"contain-right-button-target"),style:{"border-color":"#D9DADC","box-shadow":"0 1rpx 3rpx #D9DADC"},onClick:n[6]||(n[6]=e=>q(0))},[e.createElementVNode("image",{class:"buttont-img",src:`/static/index/warehouse/procurement/picking/camera${d.value?"":"target"}.png`},null,8,["src"]),e.createElementVNode("view",{class:"button-font"}," 拣货照片 ")],2),e.createElementVNode("view",{class:e.normalizeClass(1==d.value?"contain-right-button-target":"contain-right-button"),style:{"border-color":"#D9DADC","box-shadow":"0 1rpx 3rpx #D9DADC"},onClick:n[7]||(n[7]=e=>q(1))},[e.createElementVNode("image",{class:"buttont-img",src:`/static/index/warehouse/procurement/picking/work${1==d.value?"target":""}.png`},null,8,["src"]),e.createElementVNode("view",{class:"button-font"}," 随行单 ")],2),e.createElementVNode("view",{class:"contain-right-button",onClick:n[8]||(n[8]=e=>{uni.navigateBack()})},[e.createElementVNode("image",{class:"buttont-img",style:{"margin-top":"4rpx"},src:_e}),e.createElementVNode("view",{class:"button-font"}," 返回 ")])]),e.createElementVNode("view",{class:"contain-right-middle"},[e.createElementVNode("scroll-view",{"scroll-x":"true",class:"middle-Y",onScrolltolower:T},[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:u.value===l?"4rpx solid #1083F8":"4rpx solid transparent"}),onClick:e=>S(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:u.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:u.value===l?"600":"",color:u.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:n[9]||(n[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:n[10]||(n[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:Me}),e.createTextVNode(" 点击加载更多 ")])])])]),e.withDirectives(e.createElementVNode("view",{class:"popup-share",onClick:n[12]||(n[12]=e=>U.value=!1)},[e.createElementVNode("view",{class:"popup-share-content",style:e.normalizeStyle({opacity:F.value?1:0}),onClick:n[11]||(n[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==(r=g.value[f.value])?void 0:r.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==(h=g.value[f.value])?void 0:h.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:$e}),e.createElementVNode("view",{class:"share-name"},e.toDisplayString(null==(w=g.value[f.value])?void 0:w.createBy_dictText),1),e.createElementVNode("view",{class:"share-font"}," 采购人 ")]),e.createElementVNode("view",{class:"blue-button",onClick:M}," 分享 ")])])],4)],512),[[e.vShow,U.value]]),e.withDirectives(e.createElementVNode("view",{class:e.normalizeClass(["neuro-wrapper",j.value?"is-active":""])},[e.createElementVNode("view",{class:"neuro-mask",onClick:n[13]||(n[13]=e=>{$.value=!1})}),e.createElementVNode("view",{class:"neuro-box",onClick:n[15]||(n[15]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"button-father"},[e.createElementVNode("view",{class:"button-white",onClick:n[14]||(n[14]=e=>{$.value=!1})},"取消"),e.createElementVNode("view",{class:"button",onClick:P},"确定")]),e.createElementVNode("view",{class:"title"},"作废"),e.createElementVNode("view",{class:"card-font"}," 确定要作废这个采购单吗 ")])],2),[[e.vShow,$.value]])])}}}),[["__scopeId","data-v-a44ab63c"]]),Qe="/static/index/procurement/sx.png",Je=e=>v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryInvoicingList`,method:"get",data:e}),Ze=e=>v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getMaterialTreeData?nuId=`+e.nuId,method:"get",data:e}),He=e=>v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getGwcMaterialTreeData?nuId=`+e.nuId,method:"get",data:e}),Ke=e=>v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getCgdMaterialTreeData?nuId=`+e.nuId,method:"get",data:e}),et=e=>v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryCgdList`,method:"get",data:e}),tt=e=>v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryShoppingCartList`,method:"get",data:e}),lt=e=>v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getTreeDataWlnum`,method:"get",data:e}),at=e=>v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getGwcTreeDataWlnum`,method:"get",data:e}),nt=e=>v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getCgdTreeDataWlnum`,method:"get",data:e}),it=c(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 n=e.reactive({scrolltop1:0,scrolltop2:0,scrolltop3:0,act1:-1,act2:-1,act3:-1}),i=e.ref([]);e.ref([]),e.ref(-1);const o=e.ref(""),r=e.ref(!1),c=a,s=(e,t,l)=>{if(1==e&&(n.act2=-1,n.act3=-1,n.scrolltop2=0,n.scrolltop3=0,n.act1==t))return n.act1=-1,void d();2==e&&(n.act3=-1,n.scrolltop3=0),n["act"+e]=t,n["scrolltop"+e]=50*(t-2),d()};e.onMounted((()=>{o.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"}));const u=e.ref(0),d=()=>{let e={nuId:uni.getStorageSync("nuId"),categoryId:n.act1>-1?i.value[n.act1].categoryId:"",typeId:n.act2>-1?i.value[n.act1].children[n.act2].typeId:"",medicationId:n.act3>-1?i.value[n.act1].children[n.act2].children[n.act3].key:"",cgdId:v.cgdId};switch(v.typenum){case 0:lt(e).then((e=>{u.value=e.result.totalSize}));break;case 1:at(e).then((e=>{u.value=e.result.totalSize}));break;case 2:l("log","at pages/procurement/components/cgdclass.vue:107",e),nt(e).then((e=>{u.value=e.result.totalSize}))}},m=()=>{let e={categoryId:n.act1>-1?i.value[n.act1].categoryId:"",typeId:n.act2>-1?i.value[n.act1].children[n.act2].typeId:"",medicationId:n.act3>-1?i.value[n.act1].children[n.act2].children[n.act3].key:"",cgdId:v.cgdId};c("confirm",e)},v=t;return e.watch((()=>v.show),(()=>{0==v.show?(r.value=!1,s(1,-1)):(()=>{switch(v.typenum){case 0:Ze({nuId:uni.getStorageSync("nuId")}).then((e=>{i.value=e.result,d()}));break;case 1:He({nuId:uni.getStorageSync("nuId")}).then((e=>{i.value=e.result,d()}));break;case 2:l("log","at pages/procurement/components/cgdclass.vue:136",{nuId:uni.getStorageSync("nuId"),cgdId:v.cgdId}),Ke({nuId:uni.getStorageSync("nuId"),cgdId:v.cgdId}).then((e=>{l("log","at pages/procurement/components/cgdclass.vue:138",e.result),i.value=e.result,d()}))}})()})),(l,a)=>{var r,c,d;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":n.scrolltop1,class:"scroll-Y scrl1"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(n.act1==l?"act":""),onClick:e=>s(1,l)},[n.act1==l?(e.openBlock(),e.createElementBlock("image",{key:0,src:o.value+t.appCheckIconPath,mode:"aspectFill"},null,8,["src"])):(e.openBlock(),e.createElementBlock("image",{key:1,src:o.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":n.scrolltop2,class:"scroll-Y scrl2"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(null==(r=i.value[n.act1])?void 0:r.children,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(n.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":n.scrolltop3,class:"scroll-Y scrl3"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(null==(d=null==(c=i.value[n.act1])?void 0:c.children[n.act2])?void 0:d.children,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(n.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("确定 "),u.value>0?(e.openBlock(),e.createElementBlock("text",{key:0},"("+e.toDisplayString(u.value>99?"99+":u.value)+"件物料)",1)):e.createCommentVNode("",!0)])])],2)])}}}),[["__scopeId","data-v-6dc5e190"]]),ot=c(e.defineComponent({__name:"purchaseorder",setup(t){const a=e.ref(!1),n=e.ref("");r((()=>{p(),n.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"}));const i=["待入库","待完结","已完结"];e.ref("");const o=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:""},u=e.ref(0),d=e.ref([]),m=e.ref(!1),p=()=>{et(c).then((e=>{d.value.push(...e.result.records),l("log","at pages/procurement/purchaseorder.vue:435","zzzz",d.value),e.result.total||(m.value=!0),e.result.records.length&&(E.cgdId=d.value[0].id,C()),e.result.records.length<c.pageSize&&(c.canpull=!1)}))},g=e=>{E.categoryId=e.categoryId,E.typeId=e.typeId,E.medicationId=e.medicationId,E.suppliers=e.suppliers,E.cgdId=e.cgdId,E.pageNo=1,o.value=0,B.value=[],C(),a.value=!1},h=e.ref(!0),w=()=>{h.value&&(c.pageNo++,y(),h.value=!1,setTimeout((()=>{h.value=!0}),500))},y=()=>{c.canpull&&et(c).then((e=>{d.value.push(...e.result.records),1==c.pageNo&&f(N.value,d.value[N.value]),e.result.records.length<c.pageSize&&(c.canpull=!1)}))},N=e.ref(0),f=(e,t)=>{N.value!=e&&(o.value=0);let l=Math.ceil(e+1);var a;u.value=186*(l-2),N.value=e,E.cgdId=d.value[e].id,E.pageNo=1,E.canpull=!0,C(),"Y"==t.izNew&&(t.izNew="N",a={id:t.id},v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/editIzNew`,method:"post",data:a}))},x=e.ref({materialImg:"",cgrvalue:"",gysvalue:"",wlName:"",procurementPrice:"",wlMaterialNo:"",wlSpecificationModel:"",purchaseQuantity:"",wlUnits:"",kcsl:"",wlUpperLimit:"",wlLowerLimit:"",suppliersName:"",categoryId_dictText:"",typeId_dictText:""}),E=e.reactive({nuId:uni.getStorageSync("nuId"),pageNo:1,pageSize:-1,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",suppliers:"",cgdId:"",isWaring:0,canpull:!0}),V={nuId:uni.getStorageSync("nuId"),pageNo:1,pageSize:9,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",cgdId:"",isWaring:0},k=e.ref(0),S=e=>{o.value=e,x.value=B.value[e],k.value=105*Math.floor(e/3),Object.assign(E,V),E.pageSize=-1},B=e.ref([]),C=()=>{var e;(e=E,v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryCgdInfoList`,method:"get",data:e})).then((e=>{B.value=[],B.value.push(...e.result.records),S(o.value)}))},T=()=>{E.pageNo=1,B.value=[],o.value=0,c.pageNo=1,d.value=[],et(c).then((e=>{l("log","at pages/procurement/purchaseorder.vue:578",e.result.records),d.value.push(...e.result.records),e.result.records.length&&(E.cgdId=d.value[0].id,C()),e.result.records.length<c.pageSize&&(c.canpull=!1)}))},z=e.ref(-1),D=e.ref(-1),I=e.ref(!1),U=e.ref(!1),F=()=>{I.value=!0,z.value=-1,U.value=!1,setTimeout((()=>{U.value=!0}),100)},_=()=>{var e;(e={id:d.value[N.value].id},v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/editShareInfo`,method:"post",data:e})).then((e=>{e.success&&(e=>v({url:"/sys/sysDepart/getShareUrlByCode",method:"get",data:e}))({orgCode:uni.getStorageSync("orgListCode")}).then((e=>{let t=`${e.shareUrl}/h5/CgdShareInfo?cgdId=${d.value[N.value].id}`;uni.share({provider:"weixin",scene:"WXSceneSession",type:0,href:t,summary:"点击查看采购单详情,包含物料规格及采购数量",title:`采购单: ${d.value[N.value].cgdNo}`,imageUrl:"https://www.focusnu.com/media/logo.png",success:function(e){l("log","at pages/procurement/purchaseorder.vue:630","success:")},fail:function(e){l("log","at pages/procurement/purchaseorder.vue:634","fail:")}})}))}))},M=e.ref(!1),$=e.ref(!1),j=()=>{var e;(e={id:d.value[D.value].id},v({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}),M.value=!1,B.value=[],d.value=[],Object.assign(c,s),Object.assign(E,V),p())}))};return e.ref(!1),(t,l)=>{var r,s,v,p,h,y,E,V,C,L,P,A,q,O,Y,W,X,G,Q;return e.openBlock(),e.createElementBlock("view",{class:"contain"},[e.withDirectives(e.createElementVNode("view",{class:"mengban",onClick:l[0]||(l[0]=e=>z.value=-1)},null,512),[[e.vShow,-1!=z.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=>T())},null,544),[[e.vModelText,c.cgdParamInfo]]),e.withDirectives(e.createElementVNode("image",{class:"title-input-img",src:b,onClick:l[3]||(l[3]=e=>{c.cgdParamInfo="",T()})},null,512),[[e.vShow,c.cgdParamInfo]]),e.createElementVNode("view",{class:"title-input-button",onClick:l[4]||(l[4]=e=>{T()})}," 检索 ")]),e.createElementVNode("view",{class:"left-menu-father"},[e.createElementVNode("scroll-view",{"scroll-y":"true","scroll-with-animation":"",class:"left-menu-scroll","scroll-top":u.value,onScrolltolower:w,"lower-threshold":400},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,((t,l)=>{var a,n,o;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)"})},[z.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)?(M.value=!0,z.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"==d.value[t].cgdType?setTimeout((()=>{uni.showToast({title:"该采购单已作废",icon:"error",duration:2e3})}),300):z.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.replace(/-/g,".")),1),e.createElementVNode("view",{class:"middle-heng-father"},[e.createElementVNode("image",{class:"middle-ball-img",src:R})]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",null," 采购 "),e.createElementVNode("view",null,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).replace(/-/g,"."):null==(n=t.jhTime)?void 0:n.slice(0,10).replace(/-/g,".")),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:R}))]),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("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==(o=t.wjTime)?void 0:o.slice(0,10).replace(/-/g,".")),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:R}))]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",null," 完结 "),Number(t.status)>1&&t.wjBy?(e.openBlock(),e.createElementBlock("view",{key:0},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:Fe}),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)?"已作废":i[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",onClick:l[5]||(l[5]=e=>a.value=!0)},[e.createElementVNode("image",{class:"buttont-img",src:Qe}),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:_e}),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(B.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"middle-one",key:l,style:e.normalizeStyle({border:o.value===l?"4rpx dashed #1083F8":"4rpx solid transparent",backgroundColor:o.value===l?"#F9FCFF":""}),onClick:e=>S(l)},[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:"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==(r=x.value)?void 0:r.materialImg)?n.value+(null==(s=x.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=x.value)?void 0:v.categoryId_dictText),1),e.createElementVNode("view",{class:"tags-one"},e.toDisplayString(null==(p=x.value)?void 0:p.typeId_dictText),1),x.value.medicationId_dictText?(e.openBlock(),e.createElementBlock("view",{key:0,class:"tags-one"},e.toDisplayString(x.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==(h=x.value)?void 0:h.wlName),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=x.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==(E=x.value)?void 0:E.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==(V=x.value)?void 0:V.procurementPrice).toFixed(2)),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 采购数量 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(null==(C=x.value)?void 0:C.purchaseQuantity),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 采购单位 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(null==(L=x.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==(P=x.value)?void 0:P.kcsl),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 物料上限 ↑ "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(null==(A=x.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==(q=x.value)?void 0:q.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==(O=x.value)?void 0:O.suppliersName),1)])])])])])])]),e.createVNode(We,{cont:"暂无数据",show:m.value},null,8,["show"]),e.withDirectives(e.createElementVNode("view",{class:"popup-share",onClick:l[8]||(l[8]=e=>I.value=!1)},[e.createElementVNode("view",{class:"popup-share-content",style:e.normalizeStyle({opacity:U.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==(Y=d.value[N.value])?void 0:Y.cgdNo),1),e.createElementVNode("view",{class:"share-font"}," 供应商:"+e.toDisplayString(null==(W=d.value[N.value])?void 0:W.gysId_dictText),1),e.createElementVNode("view",{class:"share-font"}," 采购时间:"+e.toDisplayString(null==(X=d.value[N.value])?void 0:X.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==(G=d.value[N.value])?void 0:G.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:$e}),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,I.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(it,{onConfirm:g,show:a.value,typenum:2,cgdId:null==(Q=d.value[N.value])?void 0:Q.id},null,8,["show","cgdId"]),e.createVNode(Re,{show:M.value,font:"确定要作废这个采购单吗",onBack:l[10]||(l[10]=e=>{M.value=!1}),onRight:j},null,8,["show"])])}}}),[["__scopeId","data-v-50b71c3e"]]),rt="/static/index/procurement/x.png",ct="/static/index/procurement/sh.png",st="/static/index/procurement/cz.png",ut="/static/index/procurement/bk.png",dt=c(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 n=a,i=e.ref(-1),o=e.ref(!1),r=e.ref(!1),c=e.ref(!1),s=e.ref({}),u=e.ref(0),d=e.ref([]),m=e.ref([]),v=e.ref(0),p=t,g=e.ref(!1),h=e.ref(!1);e.watch((()=>r.value),(()=>{1==r.value&&setTimeout((()=>{g.value=!0}),200)})),e.watch((()=>p.show),(()=>{if(p.show){l("log","at pages/procurement/components/calculator.vue:150",p.caigouobj);let e=[{multiUnitType:1,price:p.caigouobj.oneUnitPrice,unit:p.caigouobj.oneUnit,num:p.caigouobj.oneUnitProportion},{multiUnitType:2,price:p.caigouobj.twoUnitPrice,unit:p.caigouobj.twoUnit,num:p.caigouobj.twoUnitProportion},{multiUnitType:3,price:p.caigouobj.referenceUnitPrice,unit:p.caigouobj.materialUnits,num:1}];p.caigouobj.wlUnits?(s.value=e.find((e=>e.unit==p.caigouobj.wlUnits)),l("log","at pages/procurement/components/calculator.vue:175",p.caigouobj.wlUnits,s.value)):s.value=e.find((e=>e.multiUnitType==p.caigouobj.multiUnitType)),m.value=[],u.value=0,e.forEach((e=>{e.unit&&e.num&&m.value.push(e)})),l("log","at pages/procurement/components/calculator.vue:190","a",e);let t=[],a=[];d.value=[],t=p.caigouobj.suppliers_dictText.split(/[, ]+/),a=p.caigouobj.suppliers.split(/[, ]+/),t.forEach(((e,t)=>{d.value.push({name:e,id:a[t]}),e==p.caigouobj.suppliersName&&f(t)})),p.caigouobj.purchaseQuantity?(p.caigouobj.upperLimit=p.caigouobj.wlUpperLimit,y(p.caigouobj.purchaseQuantity)):w(),setTimeout((()=>{h.value=!0}),50)}else o.value=!1,r.value=!1,g.value=!1,s.value={},c.value=!1,v.value=0,k.value=!1,setTimeout((()=>{h.value=!1}),400)}));const w=()=>{let e=Number(p.caigouobj.upperLimit)-Number(p.caigouobj.kcsl),t=Math.floor(e/s.value.num);y(t)},y=e=>{V.value=e,E.value=U(V.value)},N=()=>{let e=Number(p.caigouobj.upperLimit)-Number(p.caigouobj.kcsl),t=V.value*s.value.num;c.value=t>e,l("log","at pages/procurement/components/calculator.vue:242",c.value,e,t)},f=e=>{v.value=e,o.value=!1},x=[1,2,3,4,5,6,7,8,9,"AC",0,"AE"],E=e.ref("0000"),V=e.ref(0),k=e.ref(!1),b=(e,t)=>{return i.value=t,setTimeout((()=>{i.value=-1}),300),"AC"==e?(V.value=0,E.value="0000",void N()):"AE"==e?(V.value=Math.trunc(V.value/10),E.value=U(V.value),void N()):0==k.value?(k.value=!0,V.value=e,E.value=U(V.value),void N()):(l=V.value,void(Math.abs(l).toString().length>3||(V.value?V.value=10*V.value+e:V.value=e,N(),E.value=U(V.value))));var l},S=e.ref(null),B=e=>{T(e)},C=()=>{clearInterval(S.value)},T=e=>{S.value=setInterval((()=>{z(e)}),120)},z=e=>{let t=Number(p.caigouobj.upperLimit)-Number(p.caigouobj.kcsl),l=Math.floor(t/s.value.num);l<=V.value&&1==e?V.value=l:V.value<=1&&-1==e?V.value=1:(V.value+=e,E.value=U(V.value),N())},D=()=>{V.value<1?uni.showToast({title:"采购数量不能为0!",icon:"none"}):n("right",V.value,d.value[v.value],s.value)},I=()=>{n("colse")};function U(e){const t=Math.floor(Math.abs(e));return String(t).padStart(4,"0")}return(l,a)=>{var n;return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["plsbuy-contain guodu",t.show?"":"unclass"]),style:e.normalizeStyle(h.value?"z-index:220":"z-index:-2")},[e.createElementVNode("view",{class:"gys"},[e.createElementVNode("view",{class:"tlt"},"供应商"),e.createElementVNode("view",{class:"gssel",onClick:a[1]||(a[1]=e=>o.value=!0)},[e.createElementVNode("view",null,e.toDisplayString(null==(n=d.value[v.value])?void 0:n.name),1),e.createElementVNode("text",{onClick:a[0]||(a[0]=e.withModifiers((e=>o.value=!o.value),["stop"]))},[e.createElementVNode("image",{class:"guodu",style:e.normalizeStyle(o.value?"transform: rotate(180deg);":""),src:"/static/index/procurement/sj.png",mode:"aspectFill"},null,12,["src"])])]),e.createElementVNode("view",{class:e.normalizeClass(["tanchu guodu",o.value?"":"hei0"]),style:e.normalizeStyle(`height: ${d.value&&7*d.value.length||0}vh`)},[o.value?(e.openBlock(),e.createElementBlock("scroll-view",{key:0,"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(v.value==l?"acts":""),onClick:e=>f(l)},[e.createElementVNode("text",null,e.toDisplayString(t.name),1)],10,["onClick"])))),128))])):e.createCommentVNode("",!0)],6)]),e.createElementVNode("view",{class:"calculator-father"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(x,((t,l)=>e.createElementVNode("view",{key:l},[e.createElementVNode("view",{class:e.normalizeClass([i.value==l?"calculator-kuai-target":"","calculator-kuai"]),onClick:e=>b(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=>z(-1)),onLongpress:a[3]||(a[3]=e=>B(-1)),onTouchend:C}," - ",32),e.createElementVNode("view",{class:"stringShow-kuai"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E.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=>z(1)),onLongpress:a[5]||(a[5]=e=>B(1)),onTouchend:C}," + ",36)]),e.createElementVNode("view",{class:"cgdw"},[e.createElementVNode("view",{class:"leftr",onClick:a[6]||(a[6]=e.withModifiers((e=>(r.value=!r.value,g.value=!1)),["stop"]))},[e.createElementVNode("view",null,e.toDisplayString(s.value.unit),1),e.createElementVNode("text",null,[e.createElementVNode("image",{class:"guodu",style:e.normalizeStyle(r.value?"":"transform: rotate(180deg);"),src:"/static/index/procurement/sj.png",mode:"aspectFill"},null,12,["src"])])]),e.createElementVNode("view",{class:e.normalizeClass(["dwdw guodu",r.value?"":"hei0"]),style:e.normalizeStyle(`height: ${m.value&&7*m.value.length||0}vh`)},[g.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["gysscrol guodu",r.value?"":"hei0"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.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,r.value=!1,g.value=!1,w()})(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)],14,["onClick"])))),128))],2)):e.createCommentVNode("",!0)],6)]),e.createElementVNode("view",{class:"plsbuy-bottom"},[e.createElementVNode("view",{class:"quxiao",onClick:I}," 取消 "),e.createElementVNode("view",{class:"plsbuy-bottom-blue",onClick:D}," 确定 ")]),r.value||o.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mengban",onClick:a[7]||(a[7]=e=>{o.value=!1,r.value=!1,g.value=!1})})):e.createCommentVNode("",!0)],6)}}}),[["__scopeId","data-v-8ca2b646"]]),mt=c(e.defineComponent({__name:"classification",props:{show:{type:Boolean,default:!1,required:!0},typenum:{type:Number,default:0}},emits:["confirm"],setup(t,{expose:a,emit:n}){const i=e.reactive({scrolltop1:0,scrolltop2:0,scrolltop3:0,act1:-1,act2:-1,act3:-1}),o=e.ref([]),r=e.ref([]),c=e.ref(-1),s=e.ref(""),u=e.ref(!1),d=e.ref(!1),m=n,p=(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 w();2==e&&(i.act3=-1,i.scrolltop3=0),i["act"+e]=t,i["scrolltop"+e]=50*(t-2),w()};e.onMounted((()=>{s.value=uni.getStorageSync("serverUrl")+"/sys/common/static/",y(),g()}));const g=()=>{var e;v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getGysList`,method:"get",data:e}).then((e=>{r.value=e.result}))},h=e.ref(0),w=()=>{let e={nuId:uni.getStorageSync("nuId"),categoryId:i.act1>-1?o.value[i.act1].categoryId:"",typeId:i.act2>-1?o.value[i.act1].children[i.act2].typeId:"",medicationId:i.act3>-1?o.value[i.act1].children[i.act2].children[i.act3].key:"",suppliers:c.value>-1?r.value[c.value].suppliers:""};switch(l("log","at pages/procurement/components/classification.vue:122",e),f.typenum){case 0:lt(e).then((e=>{l("log","at pages/procurement/components/classification.vue:127",e),h.value=e.result.totalSize}));break;case 1:at(e).then((e=>{h.value=e.result.totalSize}));break;case 2:nt(e).then((e=>{h.value=e.result.totalSize}))}},y=()=>{switch(f.typenum){case 0:Ze({nuId:uni.getStorageSync("nuId")}).then((e=>{l("log","at pages/procurement/components/classification.vue:152",e,uni.getStorageSync("nuId")),o.value=e.result,w()}));break;case 1:He({nuId:uni.getStorageSync("nuId")}).then((e=>{o.value=e.result,w()}));break;case 2:l("log","at pages/procurement/components/classification.vue:165",{nuId:uni.getStorageSync("nuId")}),Ke({nuId:uni.getStorageSync("nuId")}).then((e=>{l("log","at pages/procurement/components/classification.vue:167",e.result),o.value=e.result,w()}))}},N=()=>{let e={categoryId:i.act1>-1?o.value[i.act1].categoryId:"",typeId:i.act2>-1?o.value[i.act1].children[i.act2].typeId:"",medicationId:i.act3>-1?o.value[i.act1].children[i.act2].children[i.act3].key:"",suppliers:c.value>-1?r.value[c.value].suppliers:""};m("confirm",e)},f=t;e.watch((()=>f.show),(()=>{0==f.show?(u.value=!1,setTimeout((()=>{d.value=!1}),400)):setTimeout((()=>{d.value=!0}),50)}));const x=()=>{c.value<0?u.value=!u.value:E()},E=()=>{c.value>-1&&(c.value=-1,w())};return a({typescroll:p,config:N,qingkong:E,getTreelnum:w}),(l,a)=>{var n,m,v;return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:e.normalizeClass(["ifclass guodu",t.show?"":"unclass"]),style:e.normalizeStyle(d.value?"z-index:220":"z-index:-2")},[e.createElementVNode("view",{class:"gyss"},[e.createElementVNode("view",{class:"lef"},"供 应 商"),e.createElementVNode("view",{class:"set",onClick:a[0]||(a[0]=e=>u.value=!u.value)},[e.createElementVNode("text",{class:e.normalizeClass(c.value>-1?"n":"")},e.toDisplayString(c.value>-1?r.value[c.value].suppliersName:"请选择供应商"),3),e.createElementVNode("image",{onClick:e.withModifiers(x,["stop"]),class:"guodu",style:e.normalizeStyle(u.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",u.value?"":"hei0"])},[e.createElementVNode("scroll-view",{"scroll-y":"true",class:e.normalizeClass(["gysscrol guodu",u.value?"":"hei0"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:e.normalizeClass(c.value==l?"acts":""),onClick:e=>{c.value=l,u.value=!1,w()}},[e.createElementVNode("text",null,e.toDisplayString(t.suppliersName),1)],10,["onClick"])))),128))],2)],2),u.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mengban",onClick:a[1]||(a[1]=e=>u.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":i.scrolltop1,class:"scroll-Y scrl1"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(i.act1==l?"act":""),onClick:e=>p(1,l)},[i.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":i.scrolltop2,class:"scroll-Y scrl2"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(null==(n=o.value[i.act1])?void 0:n.children,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(i.act2==l?"act":""),onClick:e=>p(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==(v=null==(m=o.value[i.act1])?void 0:m.children[i.act2])?void 0:v.children,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(i.act3==l?"act":""),onClick:e=>p(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=>{p(1,-1),E()})},"重置"),e.createElementVNode("view",{class:"bt qd",onClick:N},[e.createTextVNode("确定 "),h.value>0?(e.openBlock(),e.createElementBlock("text",{key:0},"("+e.toDisplayString(h.value>99?"99+":h.value)+"件物料)",1)):e.createCommentVNode("",!0)])])],6)])}}}),[["__scopeId","data-v-ac531cfd"]]),vt=c(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 n=t,i=l,o=e.ref("");e.onMounted((()=>{o.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"})),e.ref(!0);const r=()=>{i("tolower")},c=e.ref({}),s=e.ref(0),u=e.ref(0),d=(e,t)=>{n.InvoicingList.forEach(((e,l)=>{l!=t&&1==e.zk&&(e.zk=!1,e.scrollleft=0)}))};e.ref(0);return(l,n)=>{const m=a(e.resolveDynamicComponent("u-loadmore"),se);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:r},[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 n=e.changedTouches[0].pageY,i=e.changedTouches[0].pageX,o=Math.abs(i-s.value),r=Math.abs(n-u.value);if(r>30&&o+10<r&&o<70)0==t.zk&&setTimeout((()=>{t.scrollleft=0}),20);else{if(o<10&&r<10)return 0==t.zk&&o>2&&r>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=!(i>s.value),t.scrollleft=t.zk?170:0}})(e,t,l),onTouchstart:e=>((e,t,l)=>{s.value=e.changedTouches[0].pageX,u.value=e.changedTouches[0].pageY,d(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?o.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),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:e.withModifiers((e=>((e,t)=>{i("crk",e,t)})(t,l)),["stop"]),onTouchend:n[0]||(n[0]=e.withModifiers((()=>{}),["stop"]))},"出入库",40,["onClick"]),1!=t.isAdd?(e.openBlock(),e.createElementBlock("view",{key:0,onClick:e.withModifiers((e=>{i("addcartory",c.value)}),["stop"]),onTouchend:n[1]||(n[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-977d9340"]]),pt=c(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:n}){const i=t,o=n,r=e.ref("");e.onMounted((()=>{r.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"}));const c=e.ref({}),s=(e,t)=>{Number(e.kcsl)>=Number(e.upperLimit)?uni.showToast({title:"库存数量已满,不可添加购物车!",icon:"none"}):(c.value=e,c.value.index=t,c.value.yj=!1,o("addcartory",c.value))},u=e.ref(0),d=e.ref(0),m=(e,t)=>{i.InvoicingList.forEach(((e,l)=>{l!=t&&1==e.zk&&(e.zk=!1,e.scrollleft=0)}))};e.ref(0);const v=e=>{};return(n,i)=>{const p=a(e.resolveDynamicComponent("u-loadmore"),se);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=>{o("scrolltolower")}),"enable-back-to-top":""},[e.createElementVNode("view",{class:"box"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.InvoicingList,((t,a)=>(e.openBlock(),e.createElementBlock("view",{class:"fler",key:a},[e.createElementVNode("scroll-view",{class:"carditem guodu",onTouchend:e=>((e,t,a)=>{var n;l("log","at pages/procurement/components/carditem.vue:114","结束");let i=e.changedTouches[0].pageY,o=e.changedTouches[0].pageX,r=Math.abs(o-u.value),s=Math.abs(i-d.value);return s>30&&r+10<s?(t.scrollleft=1,setTimeout((()=>{t.scrollleft=0}),20),void l("log","at pages/procurement/components/carditem.vue:124","1")):r<10&&s<10?(0==t.zk&&setTimeout((()=>{t.scrollleft=0}),20),void l("log","at pages/procurement/components/carditem.vue:133","2")):(c.value=t,c.value.Limitnum=Number(null==(n=c.value)?void 0:n.upperLimit)-Number(c.value.kcsl),c.value.index=a,c.value.yj=!1,t.zk=!(o>u.value),void(t.scrollleft=t.zk?150:0))})(e,t,a),onTouchstart:e=>((e,t,l)=>{u.value=e.changedTouches[0].pageX,d.value=e.changedTouches[0].pageY,m(t,l)})(e,t,a),"scroll-with-animation":"","scroll-x":"true","scroll-left":t.scrollleft,onScroll:v},[e.createElementVNode("view",{class:"speitem guodu"},[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)])]),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=>s(t,a)),["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)=>{o("crk",e,t)})(t,a)),["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=>s(t,a)),["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(p,{key:0,status:t.status,loadText:{nomore:"暂无更多数据"}},null,8,["status"])):e.createCommentVNode("",!0)])],32)])}}}),[["__scopeId","data-v-9dcd612f"]]),gt=c(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 n=l,i=e.ref("");e.onMounted((()=>{i.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"})),e.ref(!0);const o=()=>{n("tolower")},r=e.ref({}),c=e.ref(0),s=e.ref(0),u=(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: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 n=e.changedTouches[0].pageY,i=e.changedTouches[0].pageX,o=Math.abs(i-c.value),u=Math.abs(n-s.value);if(u>30&&o+10<u&&o<70)0==t.zk&&setTimeout((()=>{t.scrollleft=0}),20);else{if(o<10&&u<10)return 0==t.zk&&o>2&&u>2?void(t.scrollleft=0):void 0;r.value=t,r.value.Limitnum=Number(null==(a=r.value)?void 0:a.upperLimit)-Number(r.value.kcsl),r.value.index=l,t.zk=!(i>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,u(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?i.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;r.value=e,r.value.Limitnum=Number(null==(l=r.value)?void 0:l.upperLimit)-Number(r.value.kcsl),r.value.index=t,r.value.yj=!0,1==e.zk?(e.zk=!1,e.scrollleft=0):(e.zk=!0,e.scrollleft=180),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: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=>{n("addcartory",r.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-8052242a"]]);const ht=c({props:{crk:!1},data:()=>({})},[["render",function(t,l,a,n,i,o){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-ea5321f6"]]);const wt=c({props:{show:!1},methods:{add(){var e;(e={nuId:uni.getStorageSync("nuId")},v({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,n,i,o){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:ne,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=>o.add())},"确定")])])):e.createCommentVNode("",!0)])}],["__scopeId","data-v-f503f01c"]]),yt=c(e.defineComponent({__name:"material",setup(t){const a=e.ref(!0),n=e.ref(!1),o=e.ref(!1),c=e.ref(!1),s=e.ref(!1),u=e.ref(!1),d=e.ref(!1);e.ref(!1);const m=e.ref(0),p=e.ref([]),g=e.ref({}),h=e.ref("loadmore"),w=e.ref("loadmore");e.ref(0);const y=e.ref(""),N=e.reactive({nuId:uni.getStorageSync("nuId"),pageNo:1,pageSize:10,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",isWaring:0,suppliers:""}),f=e.reactive({nuId:uni.getStorageSync("nuId"),pageNo:1,pageSize:10,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",isWaring:1}),x=e.ref();r((()=>{y.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"})),i((()=>{N.pageNo=1,f.pageNo=1,E.value=[],p.value=[],m.value=0,I(),V(),e.nextTick((()=>{j()}))}));const E=e.ref([]),V=()=>{Je(f).then((e=>{l("log","at pages/procurement/material.vue:194",e.result),e.result.records.forEach((e=>{e.zk=!1,e.scrollleft=0})),E.value.push(...e.result.records),w.value=e.result.total==E.value.length?"nomore":"loadmore",U.value=e.result.total!=E.value.length}))},k=()=>{N.pageNo=1,f.pageNo=1,E.value=[],p.value=[],m.value=0,I(),P(),V()},b=e.ref(0),S=e=>{b.value=e.touches[0].clientX},B=e.ref(0);function C(e){var t;B.value=(null==(t=null==e?void 0:e.detail)?void 0:t.scrollLeft)??0}const T=e.ref(0),z=e=>{const t=e.touches[0].clientX-b.value;t<-60&&!n.value&&(n.value=!n.value,m.value=0,T.value=B.value+95.99,setTimeout((()=>{T.value=B.value+96}),50)),t>60&&n.value&&(n.value=!n.value,m.value=0,T.value=B.value-95.99,setTimeout((()=>{T.value=B.value-96}),50))},D=e.ref(0),I=()=>{let e={nuId:N.nuId,pageNo:1,pageSize:1};tt(e).then((e=>{D.value=e.result.total}))},U=e.ref(!0),F=e.ref(!0),_=e=>{if(1==e){if(0==U.value)return;U.value=!1,w.value="loading",f.pageNo++,V()}else{if(0==F.value)return;h.value="loading",F.value=!1,N.pageNo++,P()}},M=()=>{c.value=!1,o.value=!1},$=e=>{N.categoryId=e.categoryId,N.typeId=e.typeId,N.medicationId=e.medicationId,N.suppliers=e.suppliers,N.pageNo=1,p.value=[],P(),M()},j=()=>{N.categoryId="",N.typeId="",N.medicationId="",N.suppliers="",N.pageNo=1,N.wlParamInfo="",p.value=[],x.value.typescroll(1,-1,{}),x.value.qingkong(),x.value.config()},L=e=>{0===e&&(N.wlParamInfo=""),N.pageNo=1,p.value=[],P()},P=()=>{l("log","at pages/procurement/material.vue:329",N),Je(N).then((e=>{e.result.records.forEach((e=>{e.zk=!1,e.scrollleft=0})),p.value.push(...e.result.records),h.value=e.result.total==p.value.length?"nomore":"loadmore",F.value=e.result.total!=p.value.length}))},A=e=>{l("log","at pages/procurement/material.vue:342",">>>>",g.value.index);let t=g.value.index;g.value=e,g.value.index=t,o.value=!0},q=e=>{Number(g.value.upperLimit)-Number(g.value.kcsl)==g.value.Limitnum&&1==e||1==g.value.Limitnum&&-1==e||(g.value.Limitnum+=e)},O=(e,t,l)=>{W(t,e,l)},Y=e.ref(!0),W=(e,t,a)=>{if(0==Y.value)return;if("1"==g.value.izEnabled)return void uni.showToast({icon:"none",title:"该物料已关闭,无法采购~"});Y.value=!1;let n={nuId:N.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 i;l("log","at pages/procurement/material.vue:389",n),(i=[n],v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/addShoppingCartList`,method:"post",data:i})).then((e=>{uni.showToast({icon:e.success?"success":"none",title:e.message}),setTimeout((()=>{Y.value=!0,e.success&&(o.value=!1,u.value=!1,l("log","at pages/procurement/material.vue:401","?????",g.value,p.value),I(),g.value.yj?E.value[R.value].isAdd=1:p.value[g.value.index].isAdd=1)}),700)}))},R=e.ref(0),X=e.ref(0),G=e.ref(null),Q=(e,t)=>{d.value=!0};return(t,l)=>(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":l[0]||(l[0]=e=>N.wlParamInfo=e),onConfirm:L},null,544),[[e.vModelText,N.wlParamInfo]]),N.wlParamInfo?(e.openBlock(),e.createElementBlock("image",{key:0,src:rt,mode:"aspectFill",onClick:l[1]||(l[1]=e=>L(0))})):e.createCommentVNode("",!0)]),e.createElementVNode("view",{onClick:L,class:"scr guodu"},[e.createElementVNode("image",{src:ct,mode:"aspectFill",class:"sh"}),e.createElementVNode("image",{src:"/static/index/procurement/shr.png",mode:"aspectFill",class:"shr"}),e.createTextVNode(" 检索 ")]),e.createElementVNode("view",{class:"shx guodu",onClick:l[2]||(l[2]=e=>c.value=!0)},[e.createElementVNode("image",{src:Qe,mode:"aspectFill"}),e.createTextVNode(" 筛选 ")]),""!=N.categoryId||""!=N.wlParamInfo||""!=N.suppliers?(e.openBlock(),e.createElementBlock("view",{key:0,class:"shx guodu",onClick:j},[e.createElementVNode("image",{src:st,mode:"aspectFill"}),e.createTextVNode(" 重置 ")])):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"back guodu",onClick:l[3]||(l[3]=e=>uni.navigateBack())},[e.createElementVNode("image",{src:ut,mode:"aspectFill"}),e.createTextVNode(" 返回 ")])],4),e.createElementVNode("view",{class:"kcyj"},[e.createElementVNode("view",{class:"kjlt",onClick:l[4]||(l[4]=e=>a.value=!a.value)}," 库存预警 "),e.createElementVNode("scroll-view",{"scroll-x":"true",class:"kcscrol guodu",style:e.normalizeStyle(a.value?n.value?"width:46.4vw":"width:55.4vw":n.value?"width:78.4vw":"width:86.4vw"),"scroll-with-animation":"","scroll-left":T.value,onScroll:C,onScrolltolower:l[5]||(l[5]=e=>_(1))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"yjbox",key:l,onClick:e=>((e,t)=>{const l=Date.now();if(R.value=t,l-X.value<300){if(clearTimeout(G.value),1==e.isAdd)return;g.value=e,g.value.index=t,g.value.yj=!0,A(g.value),X.value=0}else G.value=setTimeout((()=>{g.value=e,g.value.index=t,g.value.yj=!0,u.value=!0}),300),X.value=l})(t,l)},[e.createElementVNode("image",{src:t.materialImg?y.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-left"]),e.createElementVNode("view",{class:"kjlt more guodu",style:e.normalizeStyle(n.value?"width:12.15vw":""),onTouchstart:S,onTouchmove:z},[e.createElementVNode("view",{onClick:l[6]||(l[6]=e=>{n.value=!n.value,m.value=0,n.value?(T.value=B.value+95,setTimeout((()=>{T.value=B.value+96}),50)):(T.value=B.value-95,setTimeout((()=>{T.value=B.value-96}),50))}),class:"righ0"},[e.createTextVNode(e.toDisplayString(n.value?"收起":"更多")+" ",1),e.createElementVNode("image",{class:"guodu",style:e.normalizeStyle(n.value?"transform: rotate(180deg);":""),src:ae,mode:"aspectFill"},null,4)]),e.createElementVNode("view",{class:e.normalizeClass(["guodu",n.value?1==m.value?"avt":"":"righ0"]),onClick:l[7]||(l[7]=e=>{m.value=1,s.value=!0})},"查看全部 ",2),e.createElementVNode("view",{class:e.normalizeClass(["guodu",n.value?2==m.value?"avt":"":"righ0"]),onClick:l[8]||(l[8]=e=>m.value=2)},"添加全部",2)],36),e.createElementVNode("view",{class:"kaprght guodu"},[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(pt,{InvoicingList:p.value,onAddcartory:A,onScrolltolower:_,status:h.value,onCrk:Q},null,8,["InvoicingList","status"])]),e.createElementVNode("view",{class:"fiedright"},[e.createElementVNode("view",{onClick:l[9]||(l[9]=e=>uni.navigateTo({url:"/pages/procurement/materialcar"}))},[e.createElementVNode("image",{src:"/static/index/procurement/gc1.png",mode:"aspectFill"}),D.value>0?(e.openBlock(),e.createElementBlock("text",{key:0},e.toDisplayString(D.value>99?"99+":D.value),1)):e.createCommentVNode("",!0)]),e.createElementVNode("view",{onClick:l[10]||(l[10]=e=>uni.navigateTo({url:"/pages/procurement/purchaseorder"}))},[e.createElementVNode("image",{src:"/static/index/procurement/cg.png",mode:"aspectFill"})])]),o.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mengban",style:{"z-index":"119"},onClick:M})):e.createCommentVNode("",!0),e.createVNode(dt,{show:o.value,onJjnum:q,caigouobj:g.value,onColse:M,onRight:O},null,8,["show","caigouobj"]),c.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"mengban",onClick:M})):e.createCommentVNode("",!0),e.createVNode(mt,{onConfirm:$,show:c.value,typenum:0,ref_key:"classication",ref:x},null,8,["show"]),s.value?(e.openBlock(),e.createElementBlock("view",{key:2,class:"mengban",onClick:l[11]||(l[11]=e=>{s.value=!1,m.value=0})})):e.createCommentVNode("",!0),e.createVNode(vt,{onAddcartory:A,show:s.value,InvoicingList:E.value,status:w.value,onTolower:l[12]||(l[12]=e=>_(1))},null,8,["show","InvoicingList","status"]),u.value?(e.openBlock(),e.createElementBlock("view",{key:3,class:"mengban",onClick:l[13]||(l[13]=e=>u.value=!1)})):e.createCommentVNode("",!0),e.createVNode(gt,{InvoicingList:[g.value],onAddcartory:A,show:u.value},null,8,["InvoicingList","show"]),d.value?(e.openBlock(),e.createElementBlock("view",{key:4,class:"mengban",onClick:l[14]||(l[14]=e=>d.value=!1)})):e.createCommentVNode("",!0),e.createVNode(ht,{crk:d.value},null,8,["crk"]),2==m.value?(e.openBlock(),e.createElementBlock("view",{key:5,class:"mengban",onClick:l[15]||(l[15]=e=>m.value=0)})):e.createCommentVNode("",!0),e.createVNode(wt,{show:2==m.value,onBack:l[16]||(l[16]=e=>m.value=0),onConfig:k},null,8,["show"])]))}}),[["__scopeId","data-v-f33a918b"]]),Nt=c(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 n=t,i=l,o=e.ref("");e.onMounted((()=>{o.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"}));const r=e.ref({}),c=e.ref(0),s=e.ref(0),u=(e,t)=>{n.InvoicingList.forEach(((e,l)=>{l!=t&&1==e.zk&&(e.zk=!1,e.scrollleft=0)}))};e.ref(0);const d=e=>{};return(l,n)=>{const m=a(e.resolveDynamicComponent("u-loadmore"),se);return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("scroll-view",{"scroll-y":"true",class:"crdcroll","scroll-with-animation":"",onScrolltolower:n[2]||(n[2]=e=>{i("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 n=e.changedTouches[0].pageY,i=e.changedTouches[0].pageX,o=Math.abs(i-c.value),u=Math.abs(n-s.value);if(u>30&&o+10<u&&o<70)0==t.zk&&setTimeout((()=>{t.scrollleft=0}),20);else{if(o<10&&u<10)return 0==t.zk&&o>2&&u>2?void(t.scrollleft=0):void 0;r.value=t,r.value.Limitnum=Number(null==(a=r.value)?void 0:a.upperLimit)-Number(r.value.kcsl),r.value.index=l,r.value.yj=!1,t.zk=!(i>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,u(t,l)})(e,t,l),"scroll-with-animation":"","scroll-x":"true","scroll-left":t.scrollleft,onScroll:d},[e.createElementVNode("view",{class:"speitem guodu"},[e.createElementVNode("image",{src:t.materialImg?o.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),u(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)=>{r.value=e,r.value.index=t,i("addcartory",r.value)})(t,l)),["stop"]),onTouchend:n[0]||(n[0]=e.withModifiers((()=>{}),["stop"]))},"编辑",40,["onClick"]),1!=t.isAdd?(e.openBlock(),e.createElementBlock("view",{key:0,onClick:e.withModifiers((e=>((e,t)=>{i("delindex",e,t)})(t,l)),["stop"]),onTouchend:n[1]||(n[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-77758c82"]]);const ft=c({props:{cont:""}},[["render",function(t,l,a,n,i,o){return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:"que"},[e.createElementVNode("image",{src:K,mode:"aspectFill"}),e.createElementVNode("view",null,e.toDisplayString(a.cont),1)])])}],["__scopeId","data-v-41758cce"]]),xt=c(e.defineComponent({__name:"purorder",props:{arrlist:{type:Array,default:[]},show:{type:Boolean,default:!1}},emits:["cloe","config"],setup(t,{emit:l}){const a=l,n=e.ref(0),i=e.ref(0),o=e.ref(0),r=e.reactive({nuId:"",pageNo:1,pageSize:9,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",cgdId:"",isWaring:0,canpull:!0}),c=t,s=e.ref([]),u=e.ref("");e.onMounted((()=>{u.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"})),e.watch((()=>c.show),(()=>{1==c.show&&(s.value=c.arrlist)}));const d=e.ref(0),m=e=>{d.value=e.detail.scrollTop},p=e.ref(!0),g=()=>{var e;0!=p.value&&(p.value=!1,(e=s.value,v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/generatedPurchaseOrder`,method:"post",data:e})).then((e=>{uni.showToast({icon:e.success?"success":"none",title:e.message}),setTimeout((()=>{e.success&&(a("config"),p.value=!0)}),700)})))};return(l,c)=>{var v,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":n.value},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,((t,l)=>{var a,c,u;return e.openBlock(),e.createElementBlock("view",{class:"pls-card",key:l,onClick:t=>(t=>{let l=Math.ceil(t+1);n.value=186*(l-2),o.value=t,i.value=0,r.cgdId=s.value[t].id,r.pageNo=1,r.canpull=!0,i.value=d.value,e.nextTick((()=>{i.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(null==(a=t.qgDate)?void 0:a.replace(/-/g,".")),1),e.createElementVNode("view",{class:"middle-heng-father"},[e.createElementVNode("image",{class:"middle-ball-img",src:R})]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",null," 采购 "),e.createElementVNode("view",null," [ "+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)?"":null==(c=t.jhTime)?void 0:c.replace(/-/g,".")),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}," [ "+e.toDisplayString(t.jhBy)+" ] ",1)):e.createCommentVNode("",!0)])]),e.createElementVNode("view",{class:"pls-card-middle-one"},[e.createElementVNode("view",{class:"middle-title"},e.toDisplayString(null==(u=t.wjTime)?void 0:u.replace(/-/g,".")),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:Fe}),e.createElementVNode("view",{class:"end-left-font"},e.toDisplayString(t.gysName),1)])])],12,["onClick"])})),128)),e.createElementVNode("view",{class:"nomargin"})],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:m,"scroll-top":i.value},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(null==(v=s.value[o.value])?void 0:v.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=s.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:c[0]||(c[0]=e=>a("cloe"))},"取消"),e.createElementVNode("view",{class:"scsgd",onClick:g},"生成采购单")])])],4)])}}}),[["__scopeId","data-v-dfb51bb9"]]),Et=c(e.defineComponent({__name:"materialcar",setup(t){const a=e.ref(!1),n=e.ref(!1),o=e.ref({}),r=e.reactive({nuId:uni.getStorageSync("nuId"),pageNo:1,pageSize:-1,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",suppliers:""}),c=e.ref([]),s=e.ref("loading"),u=e.ref(0);i((()=>{c.value=[],p()}));const d=e.ref(),m=()=>{r.categoryId="",r.typeId="",r.medicationId="",r.suppliers="",r.pageNo=1,r.wlParamInfo="",c.value=[],d.value.typescroll(1,-1,{}),d.value.qingkong(),d.value.config()},p=()=>{tt(r).then((e=>{e.result.records.forEach(((e,t)=>{e.flag=!0,e.zk=!1,e.scrollleft=0})),l("log","at pages/procurement/materialcar.vue:108",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&&(r.wlParamInfo=""),r.pageNo=1,c.value=[],p()},h=e=>{l("log","at pages/procurement/materialcar.vue:122",e),o.value=e,a.value=!0},w=e=>{r.categoryId=e.categoryId,r.typeId=e.typeId,r.medicationId=e.medicationId,r.suppliers=e.suppliers,r.pageNo=1,c.value=[],p(),n.value=!1},y=()=>{B.value=!1,g(1),setTimeout((()=>{uni.navigateTo({url:"/pages/procurement/purchaseorder"})}),1e3)},N=e.ref(!0),f=()=>{v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/emptiedQgInfo`,method:"DELETE"}).then((e=>{e.success&&(r.pageNo=1,c.value=[],m()),u.value=0}))},x=e.ref({}),E=(e,t)=>{u.value=2,e.index=t,x.value=e},V=()=>{let e=x.value.id;var t;(t=e,v({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(x.value.index,1),u.value=0,s.value=0==c.value.length?"nomore":"loadmore",d.value.getTreelnum())}),800)}))},k=(e,t,l)=>{S(t,e,l)},b=e.ref(!0),S=(e,t,n)=>{if(0==b.value)return;b.value=!1;let i={nuId:r.nuId,purchaseQuantity:t,suppliersId:e.id,suppliersName:e.name,id:o.value.id,wlId:o.value.wlId,kcsl:o.value.kcsl,wlUnits:n.unit,referenceUnitPrice:n.price,dhbl:n.num};var s;l("log","at pages/procurement/materialcar.vue:212",i),(s=i,v({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,r.pageNo=1,c.value=[],p())}),700)}))},B=e.ref(!1),C=e.ref([]),T=e.ref([]),z=()=>{uni.showLoading();let e=[];var t;(C.value=[],c.value.forEach((t=>{t.flag&&e.push(t)})),C.value=e,l("log","at pages/procurement/materialcar.vue:242","????",e),0!=e.length)?(t=C.value,v({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/generatedPurchaseViewOrder`,method:"post",data:t})).then((e=>{e.success?(T.value=e.result,B.value=!0,uni.hideLoading()):uni.showToast({title:e.message,icon:"none"})})):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=>r.wlParamInfo=e),onConfirm:l[1]||(l[1]=e=>g())},null,544),[[e.vModelText,r.wlParamInfo]]),r.wlParamInfo?(e.openBlock(),e.createElementBlock("image",{key:0,src:rt,mode:"aspectFill",onClick:l[2]||(l[2]=e=>g(0))})):e.createCommentVNode("",!0)]),e.createElementVNode("view",{onClick:g,class:"scr"},[e.createElementVNode("image",{src:ct,mode:"aspectFill",class:"sh"}),e.createTextVNode(" 检索 ")]),e.createElementVNode("view",{class:"shx",onClick:l[3]||(l[3]=e=>n.value=!0)},[e.createElementVNode("image",{src:Qe,mode:"aspectFill"}),e.createTextVNode(" 筛选 ")]),""!=r.categoryId||""!=r.wlParamInfo||""!=r.suppliers?(e.openBlock(),e.createElementBlock("view",{key:0,class:"shx",onClick:m},[e.createElementVNode("image",{src:st,mode:"aspectFill"}),e.createTextVNode(" 重置 ")])):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"rightbtn"},[e.createElementVNode("view",{onClick:l[4]||(l[4]=e=>u.value=1)},[e.createElementVNode("image",{src:"/static/index/procurement/del1.png",mode:"aspectFill"}),e.createTextVNode(" 清空 ")]),e.createElementVNode("view",{onClick:z},[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:ut,mode:"aspectFill"}),e.createTextVNode(" 返回 ")])])]),e.createVNode(Nt,{InvoicingList:c.value,status:s.value,onDelindex:E,onAddcartory:h},null,8,["InvoicingList","status"]),e.createVNode(Re,{show:1==u.value,font:"是否清空购物车?",onBack:l[6]||(l[6]=e=>u.value=0),onRight:l[7]||(l[7]=e=>f())},null,8,["show"]),e.createVNode(Re,{show:2==u.value,font:"是否删除此物料?",onBack:l[8]||(l[8]=e=>u.value=0),onRight:l[9]||(l[9]=e=>V())},null,8,["show"]),n.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mengban",onClick:l[10]||(l[10]=e=>n.value=!1)})):e.createCommentVNode("",!0),e.createVNode(mt,{onConfirm:w,show:n.value,typenum:1,ref_key:"classication",ref:d},null,8,["show"]),"nomore"==s.value&&0==c.value.length?(e.openBlock(),e.createBlock(ft,{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(dt,{show:a.value,caigouobj:o.value,onColse:l[12]||(l[12]=e=>a.value=!1),onRight:k},null,8,["show","caigouobj"]),B.value?(e.openBlock(),e.createElementBlock("view",{key:3,class:"mengban",onClick:l[13]||(l[13]=e=>B.value=!1)})):e.createCommentVNode("",!0),e.createVNode(xt,{arrlist:T.value,show:B.value,onCloe:l[14]||(l[14]=e=>B.value=!1),onConfig:y},null,8,["arrlist","show"])]))}}),[["__scopeId","data-v-4336ab1d"]]);const Vt=c({onLoad(e){this.code=e.code},data:()=>({code:0})},[["render",function(t,l,a,n,i,o){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==i.code?"请领出库":"退货入库"),1)])}]]),kt=c(e.defineComponent({__name:"warehome",setup(t){const a=e.ref(0),n=e.ref(0),i=e.ref(null),o=e.ref(""),r=e=>{l("log","at pages/Warehouse/warehome.vue:57",e),a.value=e;const t=Date.now();t-n.value<300?(clearTimeout(i.value),1==e&&(o.value="pages/Warehouse/paymoney",uni.navigateTo({url:"/"+o.value})),0==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&&uni.navigateTo({url:"/pages/watch/full"}),5===e&&uni.navigateTo({url:"/pages/watch/full"}),7==e&&(o.value="pages/procurement/outbound?code=0",uni.navigateTo({url:"/"+o.value})),8==e&&(o.value="pages/procurement/outbound?code=1",uni.navigateTo({url:"/"+o.value})),n.value=0):(i.value=setTimeout((()=>{}),300),n.value=t)};function c(e,t,l,a="png",n=0,i=!1){return Array.from({length:l},((l,o)=>{const r=i?String(o+n).padStart(2,"0"):o+n;return`${e}/${t}${r}.${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"}]),u=e.reactive({url:c("/static/index/warehouse/home","logo",3,"png",1,!1)});return(t,n)=>{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"},[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:u.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/pu3.gif",mode:"aspectFill"})]),e.createElementVNode("view",{class:"pulu2 tp"},[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=>r(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=>r(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))]),e.createElementVNode("view",{class:"contain-right-button",onClick:n[0]||(n[0]=e=>(l("log","at pages/Warehouse/warehome.vue:211","?/////"),void uni.navigateBack()))},[e.createElementVNode("image",{class:"buttont-img",style:{"margin-top":"4rpx"},src:_e}),e.createElementVNode("view",{class:"button-font"}," 返回 ")])])}}}),[["__scopeId","data-v-832abd68"]]);__definePage("pages/login/login",g),__definePage("pages/watch/index",f),__definePage("pages/watch/full",x),__definePage("pages/watch/settings/settings",k),__definePage("pages/watch/settings/input",D),__definePage("pages/watch/settings/saoma",I),__definePage("pages/watch/settings/leida",U),__definePage("pages/Warehouse/Warehouse",F),__definePage("pages/NursingNew/index",Be),__definePage("pages/timeMatrix/indexnew",ze),__definePage("pages/Warehouse/picking",Xe),__definePage("pages/Warehouse/finish",Ge),__definePage("pages/procurement/purchaseorder",ot),__definePage("pages/procurement/material",yt),__definePage("pages/procurement/materialcar",Et),__definePage("pages/procurement/outbound",Vt),__definePage("pages/Warehouse/warehome",kt);const bt={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")}},St={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 Bt(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]?Bt(e[a]):e[a]);return l}function Ct(e={},t={}){if("object"!=typeof(e=Bt(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]=Ct(e[l],t[l]):e[l]=t[l]);return e}function Tt(e){return/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)}function zt(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 Dt(e){return"[object Object]"===Object.prototype.toString.call(e)}function It(e){return"function"==typeof e}const Ut={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&&(Tt(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:Tt,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:zt,isEmpty:zt,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:Dt,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:It,promise:function(e){return Dt(e)&&It(e.then)&&It(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 Ft=new class{setConfig(e){this.config=Ct(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=Ut.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 _t=(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:n,animationDuration:i}=e;"navigateTo"!=e.type&&"to"!=e.type||uni.navigateTo({url:t,animationType:n,animationDuration:i}),"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 Mt(e=null,t="yyyy-mm-dd"){e||(e=Number(new Date)),10==e.toString().length&&(e*=1e3);let l,a=new Date(e),n={"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 i in n)l=new RegExp("("+i+")").exec(t),l&&(t=t.replace(l[1],1==l[1].length?n[i]:n[i].padStart(l[1].length,"0")));return t}function $t(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 jt(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,n=Math.ceil(a/t.length);for(;n>>=1;)t+=t,1===n&&(t+=t);return t.slice(0,a)+l});const Lt={colorGradient:function(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",l=10){let a=$t(e,!1),n=a[0],i=a[1],o=a[2],r=$t(t,!1),c=(r[0]-n)/l,s=(r[1]-i)/l,u=(r[2]-o)/l,d=[];for(let m=0;m<l;m++){let e=jt("rgb("+Math.round(c*m+n)+","+Math.round(s*m+i)+","+Math.round(u*m+o)+")");d.push(e)}return d},hexToRgb:$t,rgbToHex:jt,colorToRgba:function(e,t=.3){let l=(e=jt(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 n=[];for(let e=1;e<7;e+=2)n.push(parseInt("0x"+l.slice(e,e+2)));return"rgba("+n.join(",")+","+t+")"}return l}};let Pt=null;let At=[],qt=[];function Ot(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 Yt="1.10.1";const Wt={v:Yt,version:Yt,type:["primary","success","info","error","warning"]};const Rt={queryParams:function(e={},t=!0,l="brackets"){let a=t?"?":"",n=[];-1==["indices","brackets","repeat","comma"].indexOf(l)&&(l="brackets");for(let i in e){let t=e[i];if(!(["",void 0,null].indexOf(t)>=0))if(t.constructor===Array)switch(l){case"indices":for(let l=0;l<t.length;l++)n.push(i+"["+l+"]="+t[l]);break;case"brackets":default:t.forEach((e=>{n.push(i+"[]="+e)}));break;case"repeat":t.forEach((e=>{n.push(i+"="+e)}));break;case"comma":let e="";t.forEach((t=>{e+=(e?",":"")+t})),n.push(i+"="+e)}else n.push(i+"="+t)}return n.length?a+n.join("&"):""},route:_t,timeFormat:Mt,date:Mt,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,n="";switch(!0){case a<300:n="刚刚";break;case a>=300&&a<3600:n=parseInt(a/60)+"分钟前";break;case a>=3600&&a<86400:n=parseInt(a/3600)+"小时前";break;case a>=86400&&a<2592e3:n=parseInt(a/86400)+"天前";break;default:n=!1===t?a>=2592e3&&a<31536e3?parseInt(a/2592e3)+"个月前":parseInt(a/31536e3)+"年前":Mt(l,t)}return n},colorGradient:Lt.colorGradient,colorToRgba:Lt.colorToRgba,guid:function(e=32,t=!0,l=null){let a="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];if(l=l||a.length,e)for(let i=0;i<e;i++)n[i]=a[0|Math.random()*l];else{let e;n[8]=n[13]=n[18]=n[23]="-",n[14]="4";for(let t=0;t<36;t++)n[t]||(e=0|16*Math.random(),n[t]=a[19==t?3&e|8:e])}return t?(n.shift(),"u"+n.join("")):n.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:Ft.get,post:Ft.post,put:Ft.put,delete:Ft.delete,hexToRgb:Lt.hexToRgb,rgbToHex:Lt.rgbToHex,test:Ut,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:Bt,deepMerge:Ct,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),Ut.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:Ft,toast:function(e,t=1500){uni.showToast({title:e,icon:"none",duration:t})},config:Wt,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!==Pt&&clearTimeout(Pt),l){var a=!Pt;Pt=setTimeout((function(){Pt=null}),t),a&&"function"==typeof e&&e()}else Pt=setTimeout((function(){"function"==typeof e&&e()}),t)},throttle:function(e,t=500,l=!0,a="default"){At[a]||(At[a]=null),l?qt[a]||(qt[a]=!0,"function"==typeof e&&e(),At[a]=setTimeout((()=>{qt[a]=!1}),t)):qt[a]||(qt[a]=!0,At[a]=setTimeout((()=>{qt[a]=!1,"function"==typeof e&&e()}),t))},addStyle:function(e,t="object"){if(Ut.empty(e)||"object"==typeof e&&"object"===t||"string"===t&&"string"==typeof e)return e;if("object"===t){const t=(e=Ot(e)).split(";"),l={};for(let e=0;e<t.length;e++)if(t[e]){const a=t[e].split(":");l[Ot(a[0])]=Ot(a[1])}return l}let l="";for(const a in e){l+=`${a.replace(/([A-Z])/g,"-$1").toLowerCase()}:${e[a]};`}return Ot(l)}};uni.$u=Rt;const Xt={install:e=>{e.mixin(St),e.config.globalProperties.$u=Rt}},Gt={__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,n=e.ref(0),i=e.ref(!1),o=e.ref(!1);let r=null;const c=()=>{i.value=!1,clearInterval(r)};return e.watch((()=>a.playing),(e=>{n.value=0,e?i.value||(i.value=!0,r=setInterval((()=>{a.loop?(n.value=(n.value+1)%a.links.length,o.value=!1):n.value<a.links.length-1?(n.value++,o.value=!1):c()}),a.interval)):(c(),setTimeout((()=>n.value=0),50))})),e.watch((()=>a.links),(()=>{n.value=0,o.value=!1,i.value&&c()}),{deep:!0}),e.onUnmounted((()=>{c()})),(l,a)=>(e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("image",{src:o.value?t.defaultImage:t.links[n.value],style:e.normalizeStyle({width:t.width,height:t.height}),mode:t.objectFit,onError:a[0]||(a[0]=e=>o.value=!0),onLoad:a[1]||(a[1]=e=>o.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)]))}};const{app:Qt,Vuex:Jt,Pinia:Zt}=function(){const t=e.createVueApp(bt);return t.use(Xt),t.component("donghua",Gt),t.component("tanchuang",Re),{app:t}}();uni.Vuex=Jt,uni.Pinia=Zt,Qt.provide("__globalStyles",__uniConfig.styles),Qt._component.mpType="app",Qt._component.render=()=>{},Qt.mount("#app")}(Vue);
|