hldy_app_mini/unpackage/resources/__UNI__FB2D473/www/app-service.js

2 lines
676 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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)},o=n("onShow",3),i=n("onHide",3),r=n("onLoad",2),c=n("onBackPress",2),s=(e,t)=>{const l=e.__vccOpts||e;for(const[a,n]of t)l[a]=n;return l};const u=s({name:"ZyUpgrade",props:{theme:{type:String,default:"green"},updateurl:{type:String,default:""},h5preview:{type:Boolean,default:!1},oldversion:{type:String,default:""},oldcode:{type:Number,default:0},appstoreflag:{type:Boolean,default:!1},noticeflag:{type:Boolean,default:!1},autocheckupdate:{type:Boolean,default:!0}},data(){return{update_flag:!1,dshow:!1,update_process:0,downloadTask:[],updated2version:"",version_url:"",update_tips:"",forceupgrade:!1,currentversion:this.oldversion,versionname:"",vesioncode:this.oldcode,wgt_flag:0,wgt_url:"",size:0,header:{Authorization:uni.getStorageSync("token")||"token"}}},mounted(){let e=!1;e=!0,this.h5preview,this.autocheckupdate&&this.check_update()},computed:{version(){let e="";return e=this.currentversion+(""!=this.currentversion&&""!=this.updated2version?"->":"")+this.updated2version,e}},methods:{check_update(){let e=this;plus.runtime.getProperty(plus.runtime.appid,(function(t){e.currentversion=t.version,e.versionname=t.name,e.versioncode=t.versionCode,e.updatebusiness(e)}))},updatebusiness:function(e){uni.request({url:`https://www.focusnu.com/devopsapi/api/pad/versionUpdate?platform=1&version=${e.currentversion}`,method:"GET",dataType:"json",success:t=>{l("log","at component/zy-upgrade/zy-upgrade.vue:143","?????",t),404!==t.statusCode&&(100==t.data.code?t.data.data.update_url?(e.dshow=!0,e.update_tips=t.data.data.update_tips,e.forceupgrade=1==t.data.data.forceupdate,e.version_url=t.data.data.update_url,e.updated2version=t.data.data.version,e.wgt_flag=t.data.data.wgt_flag,e.wgt_url=t.data.data.wgt_url,e.size=t.data.data.size,e.getnewbanben()):e.noticeflag&&e.$emit("showupdateTips",0):uni.showToast({title:"请求升级出错:"+data.msg,icon:"none"}))},fail(){this.loading=!1}})},getnewbanben:function(){this.$emit("chuandinew",this.updated2version)},upgrade_checked:function(){uni.removeStorageSync("token"),this.update_flag=!0,this.updateversion()},upgrade_cancel:function(){this.dshow=!1},upgrade_break:function(){this.downloadTask.abort(),this.update_flag=!1},updateversion:function(){let e=this;if("ios"==uni.getSystemInfoSync().platform&&this.appstoreflag&&1!=e.wgt_flag)e.dshow=!1,plus.runtime.launchApplication({action:e.version_url},(function(e){uni.showToast({title:"打开appstore失败",icon:"none"})}));else{let e=this,t="https://www.focusnu.com/devopsapi/sys/common/static/"+(1==e.wgt_flag?e.wgt_url:e.version_url);this.update_confirm=!0,this.downloadTask=uni.downloadFile({url:t,header:this.header,success:function(e){l("log","at component/zy-upgrade/zy-upgrade.vue: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,o,i){return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["zy-modal",o.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(i.version),1)],2),e.createElementVNode("view",{class:"padding-xl bg-white text-left"},[o.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(o.update_tips),1)])),o.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: "+o.update_process+"%;"])},e.toDisplayString(o.update_process),7)])):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"zy-bar bg-white",style:{"justify-content":"center",display:"flex","margin-bottom":"60rpx"}},[!o.update_flag&&o.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)=>i.upgrade_checked&&i.upgrade_checked(...e))},"确认升级",2)])):e.createCommentVNode("",!0),o.update_flag||o.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)=>i.upgrade_checked&&i.upgrade_checked(...e))},"确认升级"),o.forceupgrade?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"zy-quxiao",onClick:l[2]||(l[2]=(...e)=>i.upgrade_cancel&&i.upgrade_cancel(...e))},"取消升级"))])),o.update_flag&&!o.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)=>i.upgrade_break&&i.upgrade_break(...e))},"中断升级",2)])):e.createCommentVNode("",!0)])])],2)}],["__scopeId","data-v-90beceef"]]);const m=s({},[["render",function(t,l){return e.openBlock(),e.createElementBlock("view",{class:"all"},[e.createElementVNode("scroll-view",{"scroll-y":"",class:"all-content"},[e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","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=s({},[["render",function(t,l){return e.openBlock(),e.createElementBlock("view",{class:"all"},[e.createElementVNode("scroll-view",{"scroll-y":"",class:"all-content"},[e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx"}},"   为了更好地保障您的权益我们于近日更新了《NU护理单元隐私信息保护政策》。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx"}},"   请您在使用/继续使用NU护理单元产品/或服务前仔细阅读、充分理解全文,并在同意全部内容后使用/继续使用。 "),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}}," 前言 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   1. NU护理单元/或服务指由吉林省捌零信创科技有限公司及其关联公司以下称为“NU护理单元”或者“我们”运营并由吉林省捌零信创科技有限公司开发及维护的产品和服务以下亦称“我们的产品/或服务”。我们非常重视您的隐私保护和个人信息保护鉴于此我们制定本《NU护理单元隐私信息保护政策》以下称为“本政策”与您确认关于您在使用我们的产品/或服务期间NU护理单元收集、存储、使用、披露和保护您的个人信息的相关事宜。如您对本政策内容有任何疑问、意见或建议您可通过我们提供的各种联系方式与我们联系。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   2. 在使用我们的各项产品和/或服务前,请您务必仔细阅读并透彻理解本政策,"),e.createElementVNode("text",{style:{"font-weight":"600"}},"特别是以粗体、粗体加下划线标识的条款,您应重点阅读,在确认充分理解并同意后开始使用。如果您/您的监护人不同意本政策的任何内容,您应该立即停止使用。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   3. 本政策为NU护理单元统一适用的一般性隐私政策条款适用于NU护理单元提供的所有产品和服务。当我们及关联公司就其向您提供的特定产品和/或服务单独设立隐私政策的,则优先适用该产品和/或服务的隐私政策。该产品和/或服务的隐私政策未涵盖的内容,以本政策内容为准;该产品和/或服务的隐私政策与本政策存在冲突的,以该产品和/或服务的隐私政策为准。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   4. "),e.createElementVNode("text",{style:{"font-weight":"600"}},"请您注意,本政策不适用于与我们的平台、产品和/或服务集成的任何第三方应用程序或软件,或者任何其他第三方产品、服务或业务(统称为“第三方服务”)。第三方服务由第三方负责运营,您使用第三方服务应遵守第三方为此制定的隐私政策或其他个人信息处理规则,我们提示您仔细识别实际服务的提供方,并在使用任何第三方服务之前仔细查看相关规则。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   5. 您同意本政策表示您已经了解并同意在相关场景下,为实现功能运行,我们将对您的相关个人信息进行处理。但这并不代表只要您开始使用我们的产品和/或服务,我们即开始处理本政策中涉及的您的全部个人信息。只有当您使用特定功能时,我们才会根据“最小必要”原则,为实现向您提供产品功能及服务的目的,处理您的相关个人信息。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   6. 您理解并同意,基于不断完善产品和服务的目的,我们将不时推出新增和/或优化功能,可能增加或变更收集、使用个人信息的范围、目的和方式。对此,我们将通过更新本政策、页面提示、新签署文件、弹窗、网站公告或站内信等即时通知方式另行向您明确说明,并为您提供同意与否的选项。该等即时通知是本政策的有效组成部分,与本政策具有同等法律效力。您有权拒绝同意该等即时通知,但您同时知悉并理解,一旦您拒绝我们收集、处理您的个人信息属于实现更新服务或功能所必要的情形时,我们将可能无法为您提供更新后的服务与功能,或者无法达到更新服务的效果,但您原有正常使用的基础功能不受影响。 "),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}}," 关于我们 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   我们的主要运营公司基本情况如下长春市经济开发区长吉南线以东、吉林大路以南东方广场中意国际大厦B座1431号。 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   联系电话18043530712。如您想更详细的了解我们的公司、平台您可以通过本政策提供的联系方式与我们联系。 "),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}}," 第一部分 定义 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   "),e.createElementVNode("text",{style:{"font-weight":"600"}},"1. 个人信息:"),e.createTextVNode("是以电子或者其他方式记录的与已识别或者可识别的自然人有关的各种信息,不包括匿名化处理后的信息。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   "),e.createElementVNode("text",{style:{"font-weight":"600"}},"2. 敏感个人信息:"),e.createTextVNode("是一旦泄露或者非法使用,容易导致自然人的人格尊严受到侵害或者人身、财产安全受到危害的个人信息,包括"),e.createElementVNode("text",{style:{"font-weight":"600"}},"生物识别、宗教信仰、特定身份、金融账户、行踪轨迹等信息,以及不满十四周岁未成年人的个人信息。敏感信息在本政策中会做加粗加下划线提示。")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   "),e.createElementVNode("text",{style:{"font-weight":"600"}},"3. 个人信息的处理:"),e.createTextVNode("包括个人信息的收集、存储、使用、加工、传输、提供、公开、删除等。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   "),e.createElementVNode("text",{style:{"font-weight":"600"}},"4.个人信息处理者:"),e.createTextVNode("是指在个人信息处理活动中自主决定处理目的、处理方式的组织、个人。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   "),e.createElementVNode("text",{style:{"font-weight":"600"}},"5.个人信息主体:"),e.createTextVNode("指个人信息所标识或者关联的自然人。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   "),e.createElementVNode("text",{style:{"font-weight":"600"}},"6.自动化决策:"),e.createTextVNode("是指通过计算机程序自动分析、评估个人的行为习惯、兴趣爱好或者经济、健康、信用状况等,并进行决策的活动。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   "),e.createElementVNode("text",{style:{"font-weight":"600"}},"7.去标识化:"),e.createTextVNode("指个人信息经过处理,使其在不借助额外信息的情况下,无法识别特定自然人的过程。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   "),e.createElementVNode("text",{style:{"font-weight":"600"}},"8.匿名化:"),e.createTextVNode("指个人信息经过处理无法识别特定自然人且不能复原的过程。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   "),e.createElementVNode("text",{style:{"font-weight":"600"}},"9. NU护理单元"),e.createTextVNode("是指NU护理单元或其关联公司发布和/或运营的包括但不限于NU护理单元相关的网络平台。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   "),e.createElementVNode("text",{style:{"font-weight":"600"}},"10. NU护理单元产品和/或服务:"),e.createTextVNode("指我们基于互联网以包含NU护理单元网站、客户端含APP\\APK\\小程序及其他产品形态如SDK\\API等以及未来技术发展出现的新的形态向您提供的包括但不限于内容分发、信息网络传播、互联网音视频业务等各项产品和服务。 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   "),e.createElementVNode("text",{style:{"font-weight":"600"}},"11. 平台规则:"),e.createTextVNode("包括在所有NU护理单元网站、客户端内已经发布及后续发布的全部规则、用户服务协议、解读、公告、其他内容以及各平台在频道、活动页面、帮助中心发布的各类规则、实施细则、产品说明、公告及各形式的平台规范。 ")]),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}}," 第二部分 隐私保护政策 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   本政策将帮助您了解以下内容: "),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 一、我们如何收集和使用您的个人信息 "),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 二、我们如何使用 Cookie 和同类技术 "),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 三、我们如何共享、转让和披露您的个人信息 "),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 四、我们如何存储您的个人信息 "),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 五、我们如何保护您的个人信息安全 "),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 六、我们如何保护未成年人的个人信息 "),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 七、您如何行使您的个人信息权利 "),e.createElementVNode("view",{style:{"font-size":"30rpx","margin-bottom":"20rpx","line-height":"50rpx"}}," 八、如何联系我们 "),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}}," 一、我们如何收集和使用您的个人信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   因向您提供的产品和服务种类众多,我们将根据具体产品/服务范围和不同功能,遵循合法、正当和必要原则收集和使用您的个人信息。以下我们向您逐一告知各功能需要的必要个人信息类型及需授权的权限。 "),e.createElementVNode("view",{style:{"font-size":"31rpx","margin-bottom":"20rpx","font-weight":"600"}}," () 帮助您注册登录和维护平台账号 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   1. 注册与登录 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   1 手机号或账号密码注册/登录当您注册登录我们的产品和/或服务时为了帮您顺利完成注册/登录流程您需要提供 "),e.createElementVNode("text",{style:{"font-weight":"600"}},"手机号码短信验证码信息或NU护理单元登录账号及密码信息"),e.createTextVNode("同时我们还提供 一键登录功能与我们建立合作关系的运营商或其合作伙伴会将您设备中的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"手机号码"),e.createTextVNode("提供给我们作为您的注册登录账号并免于动态验证码核验便于我们为您提供快捷的注册登录服务如果您不希望使用一键登录功能可以选择其他方式进行注册登录收集手机号码信息是为了满足相关法律法规的网络实名制要求如您拒绝提供手机号码进行核验将导致注册/登录失败但您仍可在游客模式下使用音视频的浏览搜索播放功能 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   2 扫码登录当您通过扫码方式进行登录时我们会请求您授权设备的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"相机相册/存储权限"),e.createTextVNode("以实现通过扫描二维码方式完成登录如您不需要使用扫码登录服务您也可以选择其他登录方式 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   2. 资料维护和账号找回 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   1 为维护您的基本资料提升您的服务体验您可以选择填写完善您的个人信息包括您的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"电子邮箱性别所在地头像昵称生日个人简介"),e.createTextVNode("在相关儿童页面您也可以选择在宝贝信息界面内填写您宝贝的性别和生日当您选择上传头像时我们会请求您授权"),e.createElementVNode("text",{style:{"font-weight":"600"}},"相机相册/存储权限"),e.createTextVNode("以实现头像拍摄或选择后完成上传当您选择一键同步第三方账号昵称和头像时经您授权第三方平台将与我们同步您的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"第三方账号信息如头像昵称具体以您的授权范围为准"),e.createTextVNode("如您选择不提供这些信息不会影响您使用基础服务功能 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   2 若您希望绑定或者解绑您所关联的第三方平台账号您可以随时在我的-设置-账号与安全-账号绑定进行设置第三方平台账号的绑定或解绑不会影响您使用基础服务功能 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   3 如果您的账号遗失您可以找回账号如果您遗忘账号密码您可以通过手机短信验证或联系客服找回密码或重置密码您也可以换绑已注册手机号码但在此过程中我们可能需要您提供必要的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"身份信息手机号码经常登录地点经常登录设备经常收听内容注册时间和城市信息"),e.createTextVNode("等相关信息以验证您的身份为了核验您的真实身份必要时还可能通过静态或动态的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"人脸识别"),e.createTextVNode("验证您的真实身份 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   3. 账号权益与资金 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   1 账号权益基于NU护理单元统一账号体系和便于您在我们的产品和/或服务中使用相关权益与资产我们会收集您在NU护理单元账号下的权益及资产信息同时我们会在应用内向您展示您的部分或全部前述信息具体以页面实际展示为准 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   2 资产提现当您使用我们的提现功能时需要您提供"),e.createElementVNode("text",{style:{"font-weight":"600"}},"结算主体相关信息姓名/名称身份证号/统一社会信用代码结算账户相关信息持卡人/户名银行卡信息/支付宝账号信息"),e.createTextVNode("以完成结算主体认证及资金结算账户绑定若您是境外用户可能还需要您提供"),e.createElementVNode("text",{style:{"font-weight":"600"}},"境外用户主体身份证明材料如护照号手持证照照片等"),e.createTextVNode("我们会在应用内向您展示您的部分或全部前述信息具体以页面实际展示为准您可以在我们产品的相关页面修改您已绑定的结算账户如您拒绝提供前述结算账户相关信息您将无法顺利提现不影响您使用我们的其他功能与服务 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   4. 若您还未成为平台注册用户您可以游客身份使用我们提供的基本功能主要包括音频作品的搜索浏览和播放为保障上述功能实现履行网络系统运营安全义务我们将收取您的必要"),e.createElementVNode("text",{style:{"font-weight":"600"}},"设备信息设备型号设备MAC地址操作系统版本唯一移动设备识别码IMEIAndroid IDIDFAIDFVHarmonyOS UUIDSIM卡序列号和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地址操作系统版本唯一移动设备识别码IMEIAndroid IDIDFAIDFVHarmonyOS UUIDSIM卡序列号和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地址操作系统版本设备设置唯一设备识别码IMEIAndroid IDIDFAIDFVGAIDHarmonyOS UUIDSIM卡序列号和IMSI信息UUID必要的移动应用列表信息软硬件及设备设备环境信息传感器信息设备所在位置相关信息"),e.createTextVNode("为了识别判断您所在地区的内容版权需要收集您授权的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"GPS精准位置"),e.createTextVNode("以及"),e.createElementVNode("text",{style:{"font-weight":"600"}},"WLAN接入点"),e.createTextVNode("如SSIDBSSID"),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地址操作系统版本设备设置唯一移动设备识别码IMEIAndroid IDIDFAIDFVMEIDHarmonyOS UUIDOAIDSIM卡序列号和IMSI信息UUIDWLAN接入点如SSIDBSSID和基站必要的移动应用列表信息运行中的进程信息软硬件及设备设备环境信息设备传感器信息 "),e.createTextVNode("如磁场传感器光传感器压力传感器旋转矢量传感器方向传感器重力传感器加速度传感器陀螺仪传感器请您知悉单纯的传感器数据并非个人信息"),e.createElementVNode("text",{style:{"font-weight":"600"}},"日志信息包括您的搜索和浏览记录关注播放记录访问量播放时长IP地址WIFI扫描列表WIFI名称运营商信息电信运营商网络使用的语言访问日期和时间"),e.createTextVNode("并可能使用或整合您的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"账户信息交易信息支付信息"),e.createTextVNode("以及其他取得您授权或依据法律共享的信息综合判断您账户及交易风险完成身份验证检测防范安全事件并依法采取必要的记录审计分析处置措施保护各方合法权益稳定不受侵害 ")]),e.createElementVNode("view",{style:{"font-size":"31rpx","margin-bottom":"20rpx","font-weight":"600"}}," 其他附加服务 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   为向您提供个性化的产品和服务提升用户体验我们还会向您提供以下附加服务并仅在您使用到相关功能时向您获取个人信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   "),e.createElementVNode("text",{style:{"font-weight":"600"}},"1.驾驶模式"),e.createTextVNode("当您开启驾驶模式后我们会在获得您的同意后为您开启语音助手功能我们会申请访问"),e.createElementVNode("text",{style:{"font-weight":"600"}},"麦克风权限"),e.createTextVNode("并收集您的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"语音信息"),e.createTextVNode("用于提供对应的语音服务帮助您在驾驶时通过语音控制播放您喜欢的音频即便您已同意开启麦克风权限麦克风仍保持默认关闭状态仅会在您主动点击客户端内麦克风图标或录制音频时通过麦克风获取语音信息我们收集的语音信息仅作操作指令识别或者语音转换文字识别我们不会主动留存您的语音指令信息更不会用作其他语音控制播放功能以外的用途 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   "),e.createElementVNode("text",{style:{"font-weight":"600"}},"2本地内容及生活服务推荐"),e.createTextVNode("为向您提供或推荐您所在地附近的资讯和所在地相关音视频内容本地广播和相关电影周边观影场所推荐经常访问地周边的点餐和其他本地生活服务推荐信息我们需要您授权"),e.createElementVNode("text",{style:{"font-weight":"600"}},"位置权限精准地理位置"),e.createTextVNode("以为您提供上述服务 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   "),e.createElementVNode("text",{style:{"font-weight":"600"}},"3. 信息预填"),e.createTextVNode("在部分需要填写您的信息的场景中如广告落地页等为优化您的使用体验简化操作步骤取得您的授权同意后我们会将您在NU护理单元绑定的"),e.createElementVNode("text",{style:{"font-weight":"600"}},"手机号码姓名如有"),e.createTextVNode("等信息在相关页面进行预填若您认为预填信息不准确的您可以手动进行修改请您知悉预填的信息只有在您确认提交后才会被页面指向的个人信息处理者所获取 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   部分情况下该行为可能会被误判为应用自启动但该行为属于合理使用并非侵犯用户权益的自启动行为 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   您可在您的设备设置中逐项查看上述权限的状态并可自行决定这些权限随时的开启或关闭请您注意"),e.createElementVNode("text",{style:{"font-weight":"600"}},"您开启任一权限即代表您授权我们可以收集和使用相关个人信息来为您提供对应服务您一旦关闭任一权限即代表您取消了授权我们将不再基于对应权限继续收集和使用相关个人信息也无法为您提供该权限所对应的服务"),e.createTextVNode("但是您关闭权限的决定不会影响此前基于您的授权所进行的信息收集及使用亦不影响您使用其他服务 ")]),e.createElementVNode("view",{style:{"font-size":"31rpx","margin-bottom":"20rpx","font-weight":"600"}}," 收集和使用您的个人信息的特别说明 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   1若你提供的信息中含有其他用户的个人信息在向我们提供这些个人信息之前您需确保您已经取得合法的授权若其中涉及未成年人个人信息的您需在发布前取得对应未成年人监护人的同意前述情形下监护人有权通过本政策第九条的途径联系我们要求更正或删除涉及未成年人个人信息的内容 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   2若我们将您的个人信息用于本政策未载明的其他用途或者我们超出了与收集您的个人信息时所声称的目的及具有直接或合理关联范围的均会事先获得您的同意 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   3. 若我们从第三方处间接获取如从第三方处共享您的信息我们会在收集前明确以书面形式要求该第三方在已依法取得您同意后共享您的个人信息并向您告知共享的您的个人信息的类型使用目的方式授权同意范围并要求第三方对个人信息来源的合法性和合规性作出承诺如第三方存在违反行为我们会明确要求对方承担相应法律责任同时我们的专业安全团队对个人信息会进行安全加固包括敏感信息报备敏感信息加密存储访问权限控制我们会使用不低于我们对自身用户个人信息同等的保护手段与措施保护间接获取的个人信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   4.征得授权同意的例外 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   您充分理解并同意根据法律法规要求我们在以下情况下收集使用您的个人信息无需征得您的授权同意 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   (1) 为订立履行个人作为一方当事人的合同所必需 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   (2) 为履行法定职责或者法定义务所必需 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   (3) 为应对突发公共卫生事件或者紧急情况下为保护自然人的生命健康和财产安全所必需 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   (4) 为公共利益实施新闻报道舆论监督等行为在合理的范围内处理个人信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   (5)在合理的范围内处理个人自行公开或者其他已经合法公开的个人信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   (6) 法律行政法规规定的其他情形 "),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}},"  我们如何使用 Cookie 和同类技术 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   为确保网站正常运转为您获得更轻松的访问体验向您推荐您可能感兴趣的内容我们和第三方合作伙伴可能借助于 Cookie或同类技术收集和使用您访问以及使用我们产品和/或服务的信息并将该信息进行存储 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   如果您的浏览器或浏览器附加服务允许"),e.createElementVNode("text",{style:{"font-weight":"600"}},"您可修改对Cookie的接受程度或拒绝我们的Cookie"),e.createTextVNode("但如果您这么做在某些情况下可能会影响您安全访问我们的网站且可能需要在每一次访问我们的网站时更改用户设置 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   当您使用网页浏览使用我们的产品和/或服务时您可以选择在浏览器的设置中清除Cookie数据大部分浏览器均为用户提供了该等功能但请您知悉当您选择清除后可能无法使用由我们提供的依赖于Cookie的功能或服务 "),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}}," 我们如何共享转让和披露您的个人信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   () 共享 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   除下列情形外我们不会与任何其他第三方共享您的个人信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   1. 在获得您的明确同意或授权或您主动选择的情况下共享 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   "),e.createElementVNode("text",{style:{"font-weight":"600"}},"2. 在法定情形下的共享"),e.createTextVNode("我们可能会根据法律法规规定诉讼争议解决需要或按行政司法机关依法提出的要求对外共享您的个人信息 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   "),e.createElementVNode("text",{style:{"font-weight":"600"}},"3. 统一账号体系下的共享"),e.createTextVNode("为便于我们基于统一账号体系为您带来标准化的服务体验实现安全风控及客户服务之需要您可以使用NU护理单元账号登录适用统一账号体系下的关联应用产品 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   "),e.createElementVNode("text",{style:{"font-weight":"600"}},"4. 与合作伙伴共享"),e.createTextVNode("您授权并同意我们可能委托合作伙伴为您提供某些服务或代表我们履行职能我们仅会出于本隐私信息保护政策声明的合法正当必要特定明确的目的共享您的信息我们将通过协议约束我们的合作伙伴只能接触到为其履行职责所需信息要求其履行严格的保密和与风险相适应的安全措施来处理您的个人信息包括但不限于数据保护协议或条款承诺函等且不得将您的个人信息用于其他任何目的如超出共享目的使用您个人信息我们将要求其另行遵循您的明确同意  ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   5. 安全运营我们将部分个人信息提供给支持我们业务的供应商服务提供商和其他合作伙伴以提供技术基础设施服务分析用户使用方式支付便利或进行学术研究和调查进行Bug或者崩溃统计提升登录体验实现网关取号 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   6. 商业推广为了您能更方便地了解和触达我们的资讯产品/服务促销等信息我们会向某些第三方网站和应用程序提供"),e.createElementVNode("text",{style:{"font-weight":"600"}},"加密后的设备信息"),e.createTextVNode("进而在第三方平台为您提供我们的上述市场推广信息并衡量优化有关我们产品和/或服务的市场推广效果 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   7. 留资广告当第三方合作伙伴使用我们提供的技术服务向您提供商业信息或其他服务时经取得您的授权同意我们将基于第三方合作伙伴的委托处理您主动填写或提供的个人信息请以相应页面内的信息收集使用提示文本为准"),e.createElementVNode("text",{style:{"font-weight":"600"}},"请您知悉该等情形下第三方合作伙伴为个人信息处理者")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   请您放心除得到您的明确同意我们不会将可以联系或识别您身份的个人信息与授权合作伙伴共享我们将能够识别您身份的个人信息进行去标识化处理以便授权合作伙伴无法识别您的具体身份 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   NU护理单元产品中包含我们的合作伙伴提供的SDK插件"),e.createElementVNode("text",{style:{"font-weight":"600"}},"当您在NU护理单元中使用该授权合作伙伴提供的相关服务该等服务插件将收集和处理您的相关个人信息详见附件NU护理单元与第三方共享个人信息清单我们强烈建议您在使用在使用我们的产品和/或服务前先行查看并了解其隐私条款"),e.createTextVNode("我们会对合作伙伴获取有关信息的应用程序接口(API)软件工具开发包SDK进行严格的安全检测审慎评估服务提供商使用您个人信息的目的并与合作伙伴通过签署协议的方式约定严格的数据保护措施要求其按照我们的委托目的服务说明以及其他任何相关的保密和安全措施来处理个人信息 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   () 转让公开披露 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   我们不会将您的个人信息转让给任何公司组织和个人但以下情况除外 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   1.  在获取您明确同意的情况下转让 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   2. 在NU护理单元及其关联公司发生重组合并分立收购资产出售或破产清算情形或其他类似情形时如涉及到个人信息转让我们将要求受让方采用与本政策相同或更高的标准和要求进行处理和保护否则我们将要求受让方重新向您征求同意 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   除符合法律法规的规定进行公开披露或获得您单独同意外我们不会公开披露您未自行公开或者其他未合法公开的个人信息且在我们公开披露您的个人信息前会进行个人信息保护影响评估并采用符合行业内标准的安全保护措施进行处理 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   () 共享转让披露个人信息时事先征得授权同意的例外 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   以下情形中共享转让公开披露您的个人信息无需事先征得您的授权同意 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   1.与国家安全国防安全有关的 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   2.与公共安全公共卫生重大公共利益有关的 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   3.与犯罪侦查起诉审判和判决执行有关的 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   4.出于维护您或其他个人的生命财产重大合法权益但又很难得到本人同意的 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   5.您自行向社会公众公开的个人信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   6.从合法公开披露的信息中收集个人信息的包括合法的新闻报道政府信息公开渠道 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   7.履行其他履行法律法规规定的相关义务如促成在线知识产权纠纷解决 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   根据法律规定当共享转让经采取技术措施处理的个人信息使得数据接收方无法复原并重新识别特定个人身份时我们将不会另行向您通知并征得您的同意 "),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}},"  我们如何存储您的个人信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   () 存储地点 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   我们在中华人民共和国境内运营中收集和产生的个人信息存储在中国境内 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   目前我们暂时不存在跨境存储您的个人信息或向境外提供您的个人信息的情况如果确有必要进行数据的跨境传输我们会单独向您明确告知包括数据出境的目的接收方使用方式与范围使用内容安全保障措施安全风险等并征得您的明确授权同意我们会确保数据接收方有充足的数据保护能力来保护您的个人信息并严格按照适用法律法规的规定执行 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   针对以上情形我们会确保依据本政策对您的个人信息提供足够的保护 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   (存储期限 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   我们只会在达成本政策所述目的所需的最短期限内保留您的个人信息除非法律法规有强制的存留要求例如根据电子商务法及配套法规的要求您的订单类交易数据的保存时间自交易完成之日起不少于三年我们判断前述期限的标准主要包括并以其中较长者为准 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   1完成与您相关的服务目的维护相应服务及业务记录应对您可能的查询或投诉 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   2保证我们为您提供服务的安全和质量 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   3您是否同意更长的留存期间 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   4是否存在保留期限的其他特别约定 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   在您的个人信息超出保留期限后我们会根据适用法律的要求删除或者匿名化处理您的个人信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   () 删除和匿名化处理 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   如本平台服务决定停止运营时我们将在相关服务停止运营后停止继续收集您的个人信息我们将以公告形式将停止运营通知向您送达对已持有您的个人信息我们将进行删除或匿名化处理除非法律法规另有规定涉及未成年人个人信息的我们会采取必要合理方式及时将停止运营的通知及时告知未成年人监护人 "),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}}," 我们如何保护您的个人信息安全 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   为保障您的信息安全我们努力采取各种符合业界标准的合理的物理电子和管理方面的安全措施来保护您的信息使您的信息不会被泄漏毁损或者丢失为确保您的个人信息安全我们承诺将尽合理商业努力达到通行或者更高的安全水平 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   () 技术安全防护 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   我们将采取的技术安全措施包括但不限于SSL信息加密存储数据中心的访问控制我们会使用加密技术提高个人信息的安全性使用受信赖的保护机制防止个人信息遭到恶意攻击 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   () 安全体系保证 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   我们有行业先进的以数据为核心围绕数据生命周期进行的数据安全管理体系从组织建设制度设计人员管理产品技术方面多维度提升整个系统的安全性目前NU护理单元已通过网络安全等级保护的三级测评 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   () 人员安全管理 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   我们对可能接触到您的信息的员工或外包人员采取了严格管理包括但不限于根据不同岗位分配不同访问权限的控制机制并签署保密协议实时记录并掌握操作情况等我们会举办安全和隐私保护培训课程加强员工对于保护个人信息重要性的认识 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   () 敏感信息及密码保护提示 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   "),e.createElementVNode("text",{style:{"font-weight":"600"}},"1. 敏感个人信息保护"),e.createTextVNode("您在使用我们服务时自愿共享甚至公开分享的信息可能会涉及您或他人的个人信息甚至"),e.createElementVNode("text",{style:{"font-weight":"600"}},"敏感个人信息例如您上传的头像图片您在评论发弹幕时选择上传包含个人信息的图片"),e.createTextVNode("请您更加谨慎地考虑是否在使用我们的服务时共享甚至公开分享相关信息 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   "),e.createElementVNode("text",{style:{"font-weight":"600"}},"2. 您的账户均有安全保护功能请妥善保管您的账户及密码信息"),e.createTextVNode("我们将通过向其它服务器备份对用户密码进行加密以及其他安全措施确保您的信息不丢失不被滥用和变造此外请您尽量使用"),e.createElementVNode("text",{style:{"font-weight":"600"}},"复杂密码"),e.createTextVNode("协助我们保证您的账号安全我们将尽力保障您发送给我们的任何信息的安全性 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   "),e.createElementVNode("text",{style:{"font-weight":"600"}},"但请您知悉互联网并非绝对安全的环境"),e.createTextVNode("尽管有前述安全措施但同时也请您理解在网络上不存在完善的安全措施故请您妥善保护自己的个人信息仅在必要的情形下向他人提供如您发现自己的个人信息泄露尤其是您的账户及密码发生泄露请您立即联络我们客服以便我们采取相应措施 ")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   () 信息安全事件处理 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   在不幸发生个人信息安全事件时我们将按照法律法规的要求向您告知安全事件的基本情况和可能的影响我们已采取或将要采取的处置措施您可自主防范和降低风险的建议对您的补救措施事件相关情况我们将以邮件电话推送通知短消息的方式告知您难以逐一告知个人信息主体时我们会采取合理有效的方式发布公告同时我们还将按照监管部门要求上报个人信息安全事件的处置情况 "),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}},"  我们如何保护未成年人的个人信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   若您是未满18周岁的未成年人您应在您的监护人监护指导下并获得监护人同意的情况下认真阅读并同意本政策后方可使用我们的服务或向我们提供信息若您未取得监护人的同意监护人可以通过联系本政策第九节中提供的联系方式通知我们处理相关账号我们有权对相关账号的功能使用进行限制包括但不限于浏览发布信息互动交流等功能 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   我们非常重视对未成年人的个人信息保护未成年用户在填写个人信息时请加强个人保护意识并谨慎对待并应在取得监护人的同意以及在监护人指导下正确使用我们提供的产品及相关服务 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   未成年人用户及其监护人理解并确认如您违反法律法规本政策内容则您及您的监护人应依照法律规定承担因此而可能导致的全部法律责任 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   我们在应用内专门为未成年人提供了青少年模式监护人应为未成年人选择使用青少年模式同时我们为14周岁以下的儿童制定了专门的隐私保护政策如您为儿童我们要求您请您的父母或其他监护人仔细阅读本隐私信息保护政策及儿童隐私政策并在征得您的父母或其他监护人明确同意的前提下使用我们的服务或向我们提供信息对于经父母或其他监护人同意使用我们的产品或服务而收集儿童个人信息的情况我们只会在法律法规允许父母或监护人明确同意或者保护未成年人所必要的情况下使用共享转让或披露此信息如您的父母或其他监护人不同意您按照本政策使用我们的服务或向我们提供信息请立即终止使用我们的服务并及时通知我们以便我们采取相应的措施如果监护人发现我们在未获监护人同意的情况下收集了未成年人的个人信息可通过第九节中的联系方式与我们联系我们会设法尽快删除相关数据 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   未成年人个人信息的保护将同样适用于严格的个人信息访问权限控制制度和个人信息处理记录与管控措施我们始终遵循最小够用的授权原则采取相应技术措施以尽可能避免未成年人个人信息被违法复制下载 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   我们已制定的个人信息安全事件应急预案将同样适用于对未成年人个人信息的保护我们定期组织内部相关人员进行应急响应培训和应急演练使其掌握岗位职责和应急处置策略和规程在不幸发生未成年人个人信息安全事件后我们将按照法律法规的要求及时向未成年人及其监护人告知安全事件的基本情况和可能的影响我们已采取或将要采取的处置措施未成年人及其监护人可自主防范和降低风险的建议对未成年人及其监护人的补救措施我们将及时将事件相关情况以APP推送通知发送邮件/短消息的方式告知未成年人及其监护人难以逐一告知时我们会采取合理有效的方式发布相关警示信息同时我们还将按照监管部门要求主动上报未成年人个人信息安全事件的处置情况 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   若您是未成年人的父母或其他监护人请您关注您监护的未成年人是否是在取得您的授权同意之后使用我们的服务如您对您所监护的未成年人的个人信息有疑问请通过第九节中的联系方式与我们联系 "),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}},"  您如何行使您的个人信息权利 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   我们通过提供便捷的方法让您可以访问更正及删除自己的账户信息或使用我们的服务时您提供的其他个人信息您可以通过如下方式访问及管理您的个人信息但我们在不同的版本或操作系统中提供的管理方式路径可能存在差异请以实际为准 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   () 访问您的个人信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   您有权访问您的个人信息但法律法规规定的例外情况除外您可以通过以下方式自行访问您的个人信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   账户信息如果您希望访问或编辑您的账户中的账户信息更改您的密码或关闭您的账户您可以登录账号通过账号管理执行此类操作例如您可以登录PC端或APP端我的-设置-账号与安全查询修改自己的账号绑定情况设置/修改密码查看最近登录设备 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   资料信息如果您希望访问或编辑您的账户中的个人资料您可以通过在App端我的-头像-编辑资料来添加修改删除您的头像昵称性别生日地区声音签名简介 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   如果您无法通过上述方式访问您的个人信息您可以随时通过本政策披露的联系方式联系我们我们将在十五个工作日内回复您的请求 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   () 更正或补充您的个人信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   当您发现我们处理的关于您的个人信息有错误时您有权要求我们做出更正或补充您可以通过访问您的个人信息中列明的方式提出更正或补充申请 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   如果您无法通过上述方式访问您的个人信息或者其他可能目前无法向您提供在线自行更正/修改服务的您可以随时通过本政策披露的联系方式联系我们我们将在十五个工作日内回复您的请求经过对您身份的验证且更正/修改不影响信息的客观性和准确性的情况下您有权对错误或不完整的信息作出更正或修改但法律法规另有规定的除外出于安全性和身份识别的考虑您可能无法修改注册时提交的某些初始注册信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   () 删除您的个人信息 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   您有权通过访问您的个人信息中列明的方式对已经填写的信息进行删除同时在以下情形中您可以通过本政策披露的联系方式联系我们向我们提出删除个人信息的请求我们将在十五个工作日内回复您的请求 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   1如果我们处理个人信息的行为违反法律法规 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   2如果我们收集使用您的个人信息却未征得您的明确同意 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   3如果我们处理个人信息的行为严重违反与您的约定 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   4如果您不再使用我们的产品或服务或您主动注销账号 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   5如果我们永久不再为您提供产品或服务 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   若我们决定响应您的删除请求我们还将同时尽可能通知从我们处获得您的个人信息的主体要求其及时删除除非法律法规另有规定例如您所提供的订单类交易数据将会基于法律法规要求至少保留3年或这些主体获得您的独立授权 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   () 个人信息副本获取 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   如您需要您的个人信息的副本您可以通过本隐私政策文末提供的方式联系我们在核实您的身份后我们将向您提供您在我们的服务中的个人信息副本包括基本资料身份信息但法律法规另有规定的或本政策另有约定的除外 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   () 改变您授权同意的范围 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   您可在您的设备系统设置-应用-APP名称-权限中逐项查看您授权同意权限的状态或在NU护理单元App内通过我的-设置-隐私管理-系统权限查看并可自行决定这些权限随时的开启或关闭对于不同功能服务中个人信息的收集和使用您也可以与NU护理单元客服联系给予或收回您的授权同意我们将在十五个工作日内回复您的请求"),e.createElementVNode("text",{style:{"font-weight":"600"}},"当您撤回同意后我们将不再处理相应的个人信息我们将无法继续为您提供撤回同意或授权所对应的服务但您撤回同意的决定不会影响此前基于您的授权而开展的个人信息处理")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   () 注销账户 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   当您注销账号后您将无法再以该账号登录和使用我们的产品与服务且该账号在使用我们的产品与服务期间已产生的但未消耗完毕的权益及未来的预期利益等全部权益将被清除该账号下的内容信息数据记录等将会被删除或匿名化处理但法律法规另有规定或监管部门另有要求的除外您的账号注销完成后将无法恢复 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   如您在谨慎考虑后仍决定注销您的账号的您可以在您使用的我们的产品与/或服务的相关功能设置页面或根据操作指引向我们提交注销申请例如您可以通过我的-设置-账号与安全-注销账户自行在注销账户页面提交账户注销申请若未能申请成功您也可联系NU护理单元客服我们将在十五个工作日内回复您的请求在您主动注销账户之后我们将停止为您提供产品或服务 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   () 限制自动化决策 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   在NU护理单元App端您可以通过我的-设置-隐私管理-个性化内容推荐/个性化广告推荐选择是否使用我们提供的个性化服务此外在某些业务功能中经向您告知并取得同意后我们可能仅依据信息系统算法在内的非人工自动决策机制做出决定如果您认为这些决定显著影响您的合法权益您有权通过本政策披露的联系方式要求我们做出解释我们也将在十五个工作日内回复您的请求为您提供申诉方法 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   () 退订 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   如您发现收到了不属于您主动搜索浏览的视频内容和产品服务信息推送如您不希望接收上述信息可通过原路径进行退订例如短信推送可以直接回复相关的退订口令 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   () 投诉 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   您有权通过本政策披露的联系方式联系我们进行投诉我们将在收到您投诉之日起十五个工作日内做出答复如果您对我们的答复不满意特别是我们的个人信息处理行为损害了您的合法权益您还可以向网信公安工商等监管部门进行投诉或举报或向有管辖权法院提起诉讼但我们希望您能够首先就相关问题与我们取得联系 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   () 响应您的上述请求 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   为保障安全您可能需要提供书面请求或以其他方式证明您的身份我们可能会先要求您验证自己的身份然后再处理您的请求 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   对于您合理的请求我们原则上不收取费用但对多次重复超出合理限度的请求我们将视情收取一定成本费用对于那些无端重复需要过多技术手段例如需要开发新系统或从根本上改变现行管理给他人合法权益带来风险或者非常不切实际的请求我们可能会予以拒绝 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   此外如果您的请求直接涉及国家安全国防安全公共卫生犯罪侦查等和公共利益直接相关的事由或者可能导致您或者其他个人组织的合法权益受到严重损害或者基于NU护理单元履行法律法规规定的义务相关的情形或者有充分证据标明您存在主观恶意或滥用权利或者响应您的请求将导致您或者其他个人组织的合法权益受到严重损害的我们将无法响应您的请求 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   如果您无法通过上述方式访问您的个人信息您都可以通过第九节中的联系方式与我们取得联系我们将在十五个工作日内回复您的权利响应请求 "),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}}," 您如何行使您的个人信息权利 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},[e.createTextVNode("   您理解您与NU护理单元签署的本政策所列明的条款并不能完全涵盖您与NU护理单元所有的关于个人信息的权利和义务因此"),e.createElementVNode("text",{style:{"font-weight":"600"}},"NU护理单元公布其他声明包括但不限于页面提示新签署文件弹窗网站公告或站内信等各形式规则均视为本政策之补充条款为本政策不可分割的组成部分与本政策具有同等法律效力")]),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   未经您明确同意我们不会限制您按照本政策所应享有的权利我们将在NU护理单元专门链接上发布对隐私权政策所做的任何变更和更新对于重大变更我们还会提供更为显著的通知包括通过平台公示通知甚至向您进行弹窗提示本政策所指的重大变更包括但不限于 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   1.我们的服务模式发生重大变化如处理个人信息的目的处理的个人信息类型个人信息的使用方式 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   2.我们在控制权方面发生重大变化如并购重组引起的所有者变更 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   3.个人信息共享转让或公开披露的主要对象发生变化 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   4.您参与个人信息处理方面的权利及其行使方式发生重大变化 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   5.我们负责处理个人信息安全的责任部门联络方式及投诉渠道发生变化时 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},'   为了您能及时接收到通知建议您在您个人的联系方式更新时及时通知我们。如您在本政策更新生效后继续使用我们的服务即代表您已充分阅读、理解并接受更新后的政策并愿意受更新后的政策约束。我们鼓励您在每次使用我们服务时都查阅本政策。您可以在NU护理单元APP通过"首页-我的-设置-隐私政策"中查看本政策。 '),e.createElementVNode("view",{style:{"font-size":"33rpx","margin-bottom":"20rpx","font-weight":"600"}}," 如何联系我们 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   您可以通过以下方式与我们联系我们将在十五个工作日内回复您的请求 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   我们设立了个人信息保护专职部门如您对NU护理单元隐私信息保护政策儿童个人信息有任何疑问意见或建议或有关于网络信息安全的投诉和举报您可通过以下方式与我们取得联系 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   我们收件地址长春市经济开发区长吉南线以东吉林大路以南东方广场中意国际大厦B座1431号 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   联系人NU护理单元客服部 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   联系方式18043530712 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   联系邮箱service@blxinchuang.com "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx"}},"   本政策签订地为中华人民共和国吉林省长春市因本政策生效履行解释及使用NU护理单元产品和/或服务而产生或与本政策相关的一切争议权利主张或其他事项均适用中华人民共和国法律为本政策之目的港澳台地区法律不在此列您与NU护理单元及其关联公司或NU护理单元发生的一切争议应友好协商如协商不成的您同意双方通过将争议提交本政策签订地有管辖权的法院解决 "),e.createElementVNode("view",{style:{"font-size":"28rpx","margin-bottom":"20rpx","line-height":"50rpx","font-weight":"600"}},"   请您再次确认您已全部阅读并充分理解上述条款 ")])])}],["__scopeId","data-v-85e00dee"]]),v="https://www.focusnu.com/opeapi",p=e=>{let t=e.url,a=e.method||"get",n=e.data||{},o={"X-Access-Token":uni.getStorageSync("token")||"","Content-Type":"application/json;charset=UTF-8",Authorization:"Basic c2FiZXI6c2FiZXJfc2VjcmV0",...e.header};return new Promise(((e,i)=>{uni.request({url:/^https?:\/\//.test(t)?t:v+t,method:a,header:o,data:n,timeout:5e3,success(a){const o=a;if(200==o.statusCode)e(o.data);else switch(l("log","at request/index.js:36","http",/^https?:\/\//.test(t)?t:v+t),l("log","at request/index.js:37","res",a),l("log","at request/index.js:38","data",n),o.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}),i(e)},complete(){uni.hideLoading(),uni.hideToast()}})})).catch((()=>{}))},g=s({__name:"huakuai",emits:["success"],setup(t,{emit:a}){const n=a,o=100,i=e.ref(400),r=e.ref(400),c=e.ref(0),s=e.ref(0),u=e.ref(0),m=e.ref(!1),d=e.ref(0),v=e.ref(""),p=e.getCurrentInstance();const g=`path('${w=o,`\n M20 0\n h${w/3-20}\n a20 20 0 0 1 0 40\n h${w/3}\n a20 20 0 0 0 0 -40\n h${w/3-20}\n v${w/3-20}\n a20 20 0 0 1 -40 0\n v${w/3}\n a20 20 0 0 0 40 0\n v${w/3-20}\n h-${w/3-20}\n a20 20 0 0 1 0 -40\n h-${w/3}\n a20 20 0 0 0 0 40\n h-${w/3-20}\n z\n `}')`;var w;function h(){e.nextTick((()=>{p?uni.createSelectorQuery().in(p.proxy).select(".bg-image").boundingClientRect((e=>{e?(i.value=2*e.width,r.value=2*e.height,c.value=Math.random()*(i.value-200)+o,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){m.value=!0,d.value=2*e.touches[0].clientX}function N(e){if(!m.value)return;let t=2*e.touches[0].clientX-d.value;t=Math.max(0,Math.min(t,i.value-o)),u.value=t}function f(){m.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:h},null,40,["src"]),e.createElementVNode("view",{class:"overlay",style:e.normalizeStyle({width:i.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:i.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:i.value-o+"rpx"})},[e.createElementVNode("image",{src:"https://www.focusnu.com/media/directive/login/right.png",style:{width:"50rpx",height:"50rpx"},mode:"widthFix"})],36)])]))}},[["__scopeId","data-v-ca7ea5fb"]]),w=s(e.defineComponent({__name:"login",setup(a){const n=e.ref(null),i=e.ref(!1),c=e.ref(!1),s=e.reactive({username:"",password:"",captcha:"",checkKey:0}),v=e.reactive({oldpassword:"",newpassword:""}),w=e.computed((()=>{return s.password&&("string"==typeof(e=s.username)&&11===e.length);var e})),h=e.ref(!1);function y(){S.value=!1,i.value=!0,z()}function N(){h.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(s.username)?(e=s.username,p({url:`/api/pad/loginApi/getAdvisoryInfo?tel=${encodeURIComponent(e)}`,method:"get"})).then((e=>{l("log","at pages/login/login.vue:205","啥啊",e),"0"==e.result.code?(uni.setStorageSync("serverUrl",e.result.orgList[0].serverUrl),uni.setStorageSync("orgList",e.result.orgList),uni.setStorageSync("orgListName",e.result.orgList[0].departName),uni.setStorageSync("orgListCode",e.result.orgList[0].orgCode),k.value=e.result.orgList,V.value=Date.now(),(e=>p({url:`${uni.getStorageSync("serverUrl")}/sys/randomCode/${e}`,method:"get"}))(V.value).then((e=>{l("log","at pages/login/login.vue:216","啥啊",e),s.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)})):s.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=()=>{i.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;s.checkKey=V.value,c.value=!1,(e=s,p({url:`${uni.getStorageSync("serverUrl")}/sys/login`,method:"post",data:e})).then((e=>{l("log","at pages/login/login.vue:297","info",e),e.success?(uni.showToast({title:e.message,icon:"none",duration:500}),uni.setStorageSync("token",e.result.token),uni.setStorageSync("username",s.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&&(h.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++}))})),o((()=>{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=>s.username=e),maxlength:"11",placeholder:"请输入手机号",onBlur:b},null,544),[[e.vModelText,s.username]])]),e.createElementVNode("view",{class:"input-father"},[e.withDirectives(e.createElementVNode("input",{class:"password",password:"",type:"text","onUpdate:modelValue":l[1]||(l[1]=e=>s.password=e),maxlength:"15",placeholder:"请输入密码"},null,512),[[e.vModelText,s.password]])]),e.withDirectives(e.createElementVNode("view",{class:"input-father-gray"}," 验证并登录 ",512),[[e.vShow,!w.value||!E.value]]),e.withDirectives(e.createElementVNode("view",{class:"input-father-blue",onClick:l[2]||(l[2]=e=>z())}," 验证并登录 ",512),[[e.vShow,w.value&&E.value]]),e.createElementVNode("view",{class:"under-container-title"},[e.createElementVNode("view",{class:e.normalizeClass(i.value?"radio-circle-target":"radio-circle"),onClick:l[3]||(l[3]=e=>i.value=!i.value)},null,2),e.createElementVNode("view",{style:{"margin-left":"17rpx"},class:"radio-circle-font",onClick:l[4]||(l[4]=e=>i.value=!i.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})}," 《隐私政策》 ")])]),h.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(m,{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=>v.oldpassword=e),maxlength:"15",placeholder:"请输入新密码"},null,512),[[e.vModelText,v.oldpassword]])]),e.createElementVNode("view",{class:"input-father"},[e.withDirectives(e.createElementVNode("input",{class:"password",password:!1,"onUpdate:modelValue":l[15]||(l[15]=e=>v.newpassword=e),maxlength:"15",placeholder:"请再次输入新密码"},null,512),[[e.vModelText,v.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(u,{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(g,{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",y="/static/index/camera/back.png",N=(e,t)=>{const l=`https://www.focusnu.com/devopsapi/iot/tplink/cameraInfo/motionCtrl?deviceIndex=${uni.getStorageSync("saveinit")?uni.getStorageSync("saveinit"):5}&direction=${e}&startOrNot=${t}&speed=1`;return p({url:l,method:"get"})},f=s(e.defineComponent({__name:"joysticknew",props:{getblue:{type:Boolean,default:!1},movebottom:{type:Number,default:30},moveright:{type:Number,default:60},pao:{type:Boolean,default:!0},notext:{type:Boolean,default:!1}},emits:["movecard"],setup(t,{emit:l}){const a=l,n=e.ref(-1);let o=null,i=null,r=!1;const c=e.ref(-1),s=e.reactive({x:0,y:0}),u=e.ref(!1),m=e.ref(!1),d=e.ref(0),v=uni.upx2px(175),p=uni.upx2px(350);uni.upx2px(-50);const g=uni.upx2px(100),w=uni.getSystemInfoSync().windowHeight-g-p,h=t,y=e.ref(!1),N=e.ref(0);function f(e,t){if(!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)}m.value=!1,d.value++,c.value=e,setTimeout((()=>{c.value=-1}),300),setTimeout((()=>{m.value=!0}),16),o=setTimeout((()=>{n.value=-1,o=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),i=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(){o&&(clearTimeout(o),o=null)}function k(){i&&(clearInterval(i),i=null)}function b(e,t){let l=e,a=t-w-50+h.movebottom/2;const n=l-v,o=a-v;if(Math.sqrt(n*n+o*o)>v){const e=Math.atan2(o,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((()=>h.getblue),(e=>{})),e.onBeforeUnmount((()=>{})),(l,a)=>(e.openBlock(),e.createElementBlock("view",{class:"move-circle",style:e.normalizeStyle({bottom:`${t.movebottom}rpx`,right:`${t.moveright}rpx`}),onTouchmove:S,onTouchend: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"]]),x=s(e.defineComponent({__name:"index",setup(t){const l=e.ref([]);r((()=>{l.value=E})),c((()=>!0)),e.ref(null);const a=e.ref(-1),n=e.ref(-1),s=e.ref(!1);e.ref(null);const u=e.ref(null),m=e.ref(0),d=e.ref(3),v=[{name:"左右翻转",url:"/static/index/camera/800.png",target:"/static/index/camera/801.png"},{name:"上下翻转",url:"/static/index/camera/810.png",target:"/static/index/camera/811.png"},{name:"中心翻转",url:"/static/index/camera/820.png",target:"/static/index/camera/821.png"},{name:"不翻转",url:"/static/index/camera/830.png",target:"/static/index/camera/831.png"}],g=["原图","全景拉伸","四分屏","180°全景","360°全景"],w=e.ref([]),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 o=Math.abs(t-l);o>720&&(o=1440-o),o<n&&(n=o,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:""};d.value=3,w.value=[],V.value=0,l.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,o=!1){return Array.from({length:l},((l,i)=>{const r=o?String(i+n).padStart(2,"0"):i+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:""}]),j=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((()=>{a.value=0,n.value=0,s.value=!0}));const $=e.ref(0),L=e.ref(-1),P=e.ref(-1),A=e.ref(!1),q=()=>{$.value=-1,L.value=-1,P.value=-1,A.value=!1},O=e=>{!function(e){switch(e){case 0:de(1,0);break;case 1:de(5,1);break;case 2:de(7,2);break;case 3:de(3,3);break;case 4:case 5:k.value=K.value,H.value=!1,K.value=-1,G(),J()}}(e)},W=e.ref(0),Y=()=>{var e;W.value=$.value,uni.setStorageSync("nuId",te.value[W.value].nuId),uni.setStorageSync("nuName",te.value[W.value].nuName),uni.setStorageSync("customerId",te.value[W.value].elderInfo?null==(e=te.value[W.value].elderInfo)?void 0:e.id:null),uni.setStorageSync("NUall",te.value[W.value]),n.value?2===n.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=w.value.indexOf(e);-1!==t&&w.value.splice(t,1)},Q=e.ref(!1),G=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((()=>(a.value=-1,setTimeout((()=>{a.value=0}),50),j.value.filter((e=>Number(e.areaFlag)-1===n.value))))),le=()=>{uni.navigateTo({url:"/pages/watch/settings/settings"})},ae=e.ref(""),ne=e.ref(""),oe=e.ref("");let ie=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()}`,oe.value=ce[e.getDay()]}o((()=>{se(),ie=setInterval(se,1e3),p({url:`${uni.getStorageSync("serverUrl")}/api/pad/baseInfo/queryPadPageList`,method:"get"}).then((e=>{j.value=e.result.records,j.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[$.value],$.value),setTimeout((()=>{a.value=W.value,$.value=W.value,W.value=0}),100)}))})),i((()=>{ie&&(clearInterval(ie),ie=null)}));let ue=-1;const me={};function de(e,t){-1!==ue&&ue!==t&&ve(ue),ue=t,N(e,1),me[t]&&clearTimeout(me[t]),me[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}N(t,0).then((e=>{})),clearTimeout(me[e]),me[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}const ge=()=>{};return(t,o)=>{var i,r,c,s,u;const p=e.resolveComponent("donghua");return e.openBlock(),e.createElementBlock("view",{class:"view"},[e.createElementVNode("view",{class:"view-left"},[e.createElementVNode("view",{class:"title-father",onClick:ge},[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":m.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===$.value}]),style:e.normalizeStyle([l===a.value?{backgroundColor:"#fff"}:{},$.value===l?{backgroundColor:"#ddf0ff"}:{}]),onClick:e=>{a.value=l,q(),$.value=l,function(e,t){const l=Date.now();l-C<500&&T.value===t?Y():D(e,t),T.value=t,C=l}(t,l)}},[e.createElementVNode("view",{class:"menu-img"},[e.createVNode(p,{width:"55rpx",height:"55rpx",links:t.url,playing:a.value===l},null,8,["links","playing"])]),e.createElementVNode("view",{style:{"margin-left":"10rpx"}},[e.createElementVNode("view",{style:e.normalizeStyle([{"font-size":"28rpx",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis",width:"270rpx"},l===a.value?{color:"#017DE9 "}:{}])},e.toDisplayString(t.nuName),5)])],14,["onClick"])))),128)),e.createElementVNode("view",{style:{height:"45rpx"}})],8,["scroll-top"])]),e.createElementVNode("view",{class:"view-right"},[e.createElementVNode("view",{class:"scroll-vi"},[e.createElementVNode("view",{class:"zhezhao-left"}),e.createElementVNode("view",{class:"zhezhao-right"}),e.createElementVNode("scroll-view",{"scroll-x":"true",style:{width:"66%",height:"100%"}},[e.createElementVNode("view",{style:{display:"flex","align-items":"center","margin-top":"3rpx"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(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=>{n.value=l,(e=>{q(),L.value=e,D(te.value[0],0)})(l)}},[t.url?(e.openBlock(),e.createBlock(p,{key:0,links:t.url,playing:n.value===l},null,8,["links","playing"])):e.createCommentVNode("",!0),t.url?(e.openBlock(),e.createElementBlock("text",{key:1,class:e.normalizeClass(["menu-font",{zoom:n.value===l}]),style:e.normalizeStyle(n.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(oe.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===n.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"red-kuang"},[(null==(i=te.value[a.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==(r=te.value[a.value])?void 0:r.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[a.value].elderInfo?te.value[a.value].elderInfo.name:""),1),e.createElementVNode("view",{class:"blue-bgc",style:{position:"absolute",right:"10rpx",top:"-10rpx"}}," 当日指令 ")]),e.createElementVNode("view",{class:"font-small",style:{"margin-left":"20rpx","margin-top":"0rpx"}},[e.createTextVNode(e.toDisplayString(te.value[a.value].elderInfo?te.value[a.value].elderInfo.sex:"")+" ",1),e.createElementVNode("text",{style:{"margin-left":"5rpx"}},e.toDisplayString(te.value[a.value].elderInfo?pe(te.value[a.value].elderInfo.dateOfBirth):"")+"岁 ",1)]),e.createElementVNode("view",{class:"font-small",style:{"margin-left":"20rpx","margin-top":"0rpx"}}," 入住时间:"+e.toDisplayString(te.value[a.value].elderInfo?te.value[a.value].elderInfo.createTime.slice(0,10):""),1)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),1===n.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"red-kuang"},[(null==(c=te.value[a.value])?void 0:c.elderInfo)?(e.openBlock(),e.createElementBlock("image",{key:0,style:{width:"110rpx",height:"140rpx","margin-left":"40rpx","margin-top":"-10rpx"},src:"/static/index/watch/laotou.png"})):e.createCommentVNode("",!0),(null==(s=te.value[a.value])?void 0:s.elderInfo)?(e.openBlock(),e.createElementBlock("view",{key:1,class:""},[e.createElementVNode("view",{style:{"margin-left":"20rpx",display:"flex","align-items":"center","margin-bottom":"5rpx","margin-top":"25rpx",height:"60rpx"}},[e.createElementVNode("view",{class:"font-weight"},e.toDisplayString(te.value[a.value].elderInfo?te.value[a.value].elderInfo.name:""),1),e.createElementVNode("view",{class:"font-small",style:{"margin-left":"10rpx"}},e.toDisplayString(te.value[a.value].elderInfo?te.value[a.value].elderInfo.sex:"")+" "+e.toDisplayString(te.value[a.value].elderInfo?pe(te.value[a.value].elderInfo.dateOfBirth):"")+"岁 ",1)]),e.createElementVNode("view",{class:"font-small",style:{"margin-left":"20rpx","margin-top":"25rpx"}}," 入职时间:"+e.toDisplayString(te.value[a.value].elderInfo?te.value[a.value].elderInfo.createTime.slice(0,10):""),1)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),0===n.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===n.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[a.value])?void 0:u.elderInfo)?(e.openBlock(),e.createElementBlock("view",{key:0},e.toDisplayString(te.value[a.value].elderInfo?te.value[a.value].elderInfo.guardianPhone:""),1)):e.createCommentVNode("",!0)]),e.createElementVNode("image",{class:"phone-ball",src:"/static/index/watch/phoneball.png"})])])):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"big-view"},[e.createElementVNode("view",{class:"font-weight"},e.toDisplayString(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(l.value,((t,a)=>(e.openBlock(),e.createElementBlock("view",{class:"button-father",onClick:e=>(e=>{switch(e){case 0:uni.$emit("monitor:doSnapshot"),w.value.includes(e)||w.value.push(e),R.has(e)&&clearTimeout(R.get(e));const t=setTimeout((()=>{const t=w.value.indexOf(e);-1!==t&&w.value.splice(t,1),R.delete(e)}),500);R.set(e,t);break;case 1:w.value.includes(e)?(uni.$emit("monitor:stopRecord"),X(e)):(uni.$emit("monitor:startRecord"),w.value.push(e));break;case 2:w.value.includes(e)?(uni.$emit("monitor:stopTalk"),X(e)):(uni.$emit("monitor:openTalk"),w.value.push(e));break;case 3:w.value.includes(e)?(uni.$emit("monitor:toggleVolume"),X(e)):(uni.$emit("monitor:toggleVolume"),w.value.push(e));break;case 4:w.value.includes(e)?(uni.$emit("monitor:stopAlarm"),X(e)):(uni.$emit("monitor:startAlarm"),w.value.push(e));break;case 5:w.value.includes(e)?(l.value=E,X(e)):(l.value=x,w.value.push(e)),Q.value=!1;break;case 6:case 7:w.value.includes(e)?X(e):w.value.push(e);break;case 8:w.value.includes(e)?(uni.$emit("monitor:changeQuality"),X(e)):(uni.$emit("monitor:changeQuality"),w.value.push(e));break;case 9:Q.value=!0}})(a)},[e.createElementVNode("view",{class:"bottom-button",style:e.normalizeStyle({backgroundColor:w.value.includes(a)?"#DDE9F0":""})},[e.createElementVNode("image",{style:{width:"70%",height:"70%"},src:`/static/index/camera/${a}${w.value.includes(a)?1:0}.png`},null,8,["src"])],4),e.createElementVNode("view",{style:e.normalizeStyle([{"font-size":"25rpx"},{color:w.value.includes(a)?"#0E86EA":""}])},e.toDisplayString(t),5)],8,["onClick"])))),256)),e.withDirectives(e.createElementVNode("view",{class:"jump-white"},[e.createElementVNode("view",{style:{display:"flex","justify-content":"space-around",height:"100rpx",width:"100%","align-items":"center"}},[e.createElementVNode("view",{class:""}," 翻转 "),e.createElementVNode("image",{style:{width:"40rpx",height:"40rpx"},src:y,onClick:o[0]||(o[0]=e=>Q.value=!1)})]),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(v,((t,l)=>e.createElementVNode("view",{class:"jump-item",key:l,onClick:e=>(e=>{d.value=e,3===e?(uni.$emit("monitor:flipImage",6),X(9)):(uni.$emit("monitor:flipImage",e),w.value.push(9))})(l),style:e.normalizeStyle({backgroundColor:d.value===l?"#E5E8EE":""})},[e.createElementVNode("image",{style:{width:"50rpx",height:"50rpx","margin-right":"10rpx","margin-left":"-10rpx"},src:d.value===l?t.target:t.url},null,8,["src"]),e.createElementVNode("view",{style:e.normalizeStyle({color:d.value===l?"#0E86EA":""})},e.toDisplayString(t.name),5)],12,["onClick"]))),64))],512),[[e.vShow,Q.value]])])])]),e.withDirectives(e.createVNode(f,{onMovecard:O},null,512),[[e.vShow,!w.value.includes(5)]])])}}}),[["__scopeId","data-v-8b4c8a26"]]),E=s(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),o=e.ref(-1),i=e.ref(!1),c=e.ref(!1);e.ref(null);const s=e.ref(null);e.ref(0);const u=e.ref(3),m=[{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"}],d=["原图","全景拉伸","四分屏","180°全景","360°全景"],v=e.ref([]),p=["截图","录制","对讲","静音","预警","图片","视频","清晰度","翻转","返回"],g=e.ref(0),w=e.ref(5),x=e.ref(0);e.ref({startTime:"",endTime:"",typeName:"",immediateFile:""}),e.onMounted((()=>{n.value=0,o.value=0,i.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:w.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===w.value&&(x.value,uni.$emit("fullmonitor:toggleVolume"));1===w.value&&(x.value?uni.$emit("fullmonitor:stopTalk"):uni.$emit("fullmonitor:openTalk"));2===w.value&&uni.$emit("fullmonitor:doSnapshot");3===w.value&&(x.value?uni.$emit("fullmonitor:stopRecord"):uni.$emit("fullmonitor:startRecord"));4===w.value&&(x.value||(D.value=w.value,w.value=-1,z.value=!0));5===w.value&&T.value!==x.value&&(T.value=x.value,uni.$emit("fullmonitor:changeQuality"));6===w.value&&uni.$emit("fullmonitor:switchDisplay",x.value);7===w.value&&(3===x.value?uni.$emit("fullmonitor:flipImage",6):uni.$emit("fullmonitor:flipImage",x.value));8===w.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,N(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}N(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(d,((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:y,onClick:a[0]||(a[0]=e=>S.value=!1)})]),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(m,((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(f,{onMovecard:V})]))}}),[["__scopeId","data-v-32113a0a"]]),V=s({__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 o=l;function i(){o("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:i}),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:i},"取消"),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"]]),k=s({__name:"reset",props:{show:{type:Boolean,default:!0}},emits:["close"],setup(t,{emit:a}){const n=t,o=e.reactive({username:uni.getStorageSync("username"),oldpassword:"",password:"",confirmpassword:""}),i=e.ref(!1);e.watch((()=>n.show),((e,t)=>{!t&&e&&(i.value=!1,setTimeout((()=>i.value=!0),50))}));const r=a;function c(){r("close")}const s=()=>{o.username&&o.oldpassword&&o.password&&o.confirmpassword?o.password.length<6||o.confirmpassword.length<6?uni.showToast({title:"密码要多于六位",icon:"none",duration:2e3}):o.password===o.confirmpassword?(e=>p({url:`${uni.getStorageSync("serverUrl")}/sys/user/updatePassword`,method:"put",data:{username:e.username,oldpassword:e.oldpassword,password:e.password,confirmpassword:e.confirmpassword}}))(o).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",i.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=>o.oldpassword=e),maxlength:"15",placeholder:"请输入旧密码"},null,512),[[e.vModelText,o.oldpassword]])]),e.createElementVNode("view",{class:"password-father"},[e.withDirectives(e.createElementVNode("input",{class:"password",password:!1,"onUpdate:modelValue":a[1]||(a[1]=e=>o.password=e),maxlength:"15",placeholder:"请输入新密码"},null,512),[[e.vModelText,o.password]])]),e.createElementVNode("view",{class:"password-father"},[e.withDirectives(e.createElementVNode("input",{class:"password",password:!1,"onUpdate:modelValue":a[2]||(a[2]=e=>o.confirmpassword=e),maxlength:"15",placeholder:"请再次输入新密码"},null,512),[[e.vModelText,o.confirmpassword]])]),e.createElementVNode("view",{class:"card-font"})])],2)),[[e.vShow,t.show]])}},[["__scopeId","data-v-19b352d8"]]),b=s(e.defineComponent({__name:"settings",emits:["jump"],setup(t,{emit:l}){const a=e.ref(null),n=e.ref(!1),o=e.ref(!1),i=e.ref(!1),r=e.ref(!1),c=e.ref(!1),s=e.ref(["雷达扫描","扫码添加","手动录入","修改密码","切换机构","检查更新","用户协议","隐私政策"]);e.ref(!0),e.ref("");const v=e.ref(!1),p=e.ref(uni.getStorageSync("orgList")),g=e.ref(!1),w=e.ref(""),h=e=>{var t;switch(e){case 0:uni.navigateTo({url:"/pages/watch/settings/leida"});break;case 1:uni.navigateTo({url:"/pages/watch/settings/saoma"});break;case 2:uni.navigateTo({url:"/pages/watch/settings/input"});break;case 3:c.value=!0;break;case 4:1==p.value.length?uni.showToast({title:"您目前只绑定了一个机构。如需切换,请先申请新的机构。",icon:"none",duration:2e3}):(w.value=uni.getStorageSync("serverUrl"),v.value=!0);break;case 5:n.value=!0,null==(t=a.value)||t.check_update();break;case 6:o.value=!0,i.value=!0,g.value=!1,setTimeout((()=>{g.value=!0}),50);break;case 7:o.value=!0,i.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(s.value.slice(0,3),((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"item",onClick:e=>h(l)},[e.createElementVNode("view",{class:"left-item"},[e.createElementVNode("image",{class:"left-icon",src:`/static/index/settings/${l}.png`},null,8,["src"]),e.createElementVNode("view",{class:"left-font"},e.toDisplayString(t),1)]),e.createElementVNode("view",{class:"right-item"},[e.createElementVNode("image",{class:"right-icon",src:"/static/index/settings/00.png"},null,8,["src"])])],8,["onClick"])))),128))]),e.createElementVNode("view",{class:"array-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value.slice(3,5),((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"item",onClick:e=>h(l+3)},[e.createElementVNode("view",{class:"left-item"},[e.createElementVNode("image",{class:"left-icon",src:`/static/index/settings/${l+3}.png`},null,8,["src"]),e.createElementVNode("view",{class:"left-font"},e.toDisplayString(t),1)]),e.createElementVNode("view",{class:"right-item"},[e.createElementVNode("image",{class:"right-icon",src:"/static/index/settings/00.png"},null,8,["src"])])],8,["onClick"])))),128))]),e.createElementVNode("view",{class:"array-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value.slice(5,8),((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:"item",onClick:e=>h(l+5)},[e.createElementVNode("view",{class:"left-item"},[e.createElementVNode("image",{class:"left-icon",src:`/static/index/settings/${l+5}.png`},null,8,["src"]),e.createElementVNode("view",{class:"left-font"},e.toDisplayString(t),1)]),e.createElementVNode("view",{class:"right-item"},[e.createElementVNode("image",{class:"right-icon",src:"/static/index/settings/00.png"},null,8,["src"])])],8,["onClick"])))),128))]),e.createElementVNode("view",{class:"bottom-button",onClick:l[0]||(l[0]=e=>r.value=!0)}," 注销登录 "),e.createElementVNode("view",{class:"text-center"},[e.createElementVNode("view",null,e.toDisplayString(uni.getStorageSync("orgListName")),1)]),e.createVNode(V,{show:r.value,onClose:l[1]||(l[1]=e=>r.value=!1)},null,8,["show"]),e.createVNode(k,{show:c.value,onClose:l[2]||(l[2]=e=>c.value=!1)},null,8,["show"]),e.createVNode(u,{ref_key:"zyupgrade",ref:a,noticeflag:!0,theme:"blue",h5preview:!1,oldversion:"1.0.0",appstoreflag:!0,autocheckupdate:!0,onShowupdateTips:y},null,512),o.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=>o.value=!1)},null,32),e.createElementVNode("view",{class:"box-any",onTouchmove:l[5]||(l[5]=e.withModifiers((()=>{}),["prevent"]))},[e.createElementVNode("view",{class:"title-left"},[i.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"back-font"},"NU护理单元隐私信息保护政策")),i.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"back-font"},"NU护理单元用户服务协议")):e.createCommentVNode("",!0)]),i.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(d,{key:0})),i.value?(e.openBlock(),e.createBlock(m,{key:1})):e.createCommentVNode("",!0)],32)],4)):e.createCommentVNode("",!0)]),v.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"bg-mask"},[e.createElementVNode("view",{onClick:l[6]||(l[6]=e.withModifiers((()=>{}),["stop"])),class:"white-select"},[e.createElementVNode("view",{class:"big-font"}," 请选择您的机构 "),e.createElementVNode("view",{class:""},[e.createElementVNode("view",{class:"small-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"small-select",style:e.normalizeStyle(w.value==t.serverUrl?{color:"#0083FF",borderColor:"#0083FF"}:{}),onClick:e=>(e=>{uni.setStorageSync("serverUrl",e.serverUrl),uni.setStorageSync("orgListName",e.departName),uni.setStorageSync("orgListCode",e.orgCode),uni.showToast({title:"切换机构成功",icon:"success",duration:2e3}),v.value=!1})(t)},e.toDisplayString(t.departName),13,["onClick"])))),256))])])])])):e.createCommentVNode("",!0)],64))}}),[["__scopeId","data-v-d6160fea"]]),S="/static/x.png",B="/static/index/leida/play.png",C="/static/index/quxiao.png",T=()=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/baseInfo/queryPadPageList?token=${uni.getStorageSync("token")}`,method:"get"}),z=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/baseInfo/queryinfoByBuId?nuId=${e}`,method:"get"}),D=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/baseInfo/updateBaseInfo`,method:"post",data:e}),I=s(e.defineComponent({__name:"input",setup(t){const a=()=>{uni.navigateBack()},n=e.ref(""),o=e.ref({}),i=()=>{n.value&&z(n.value).then((e=>{e.success?o.value=e.result:uni.showToast({title:e.message,icon:"none"})}))},r=e.ref(!1),c=e.ref(!1),s=e.ref(""),u=e.ref(""),m=()=>{if(s.value){l("log","at pages/watch/settings/input.vue:124","????");let e={id:o.value.id,nuName:s.value};D(e).then((e=>{e.success&&z(n.value).then((e=>{e.success?(o.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"},[o.value.nuName?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"big-ball"},[e.createElementVNode("view",{class:"ball"})])),o.value.nuName?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("image",{key:1,class:"left-img",src:"/static/click.png"})),o.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]]),o.value.nuName?e.createCommentVNode("",!0):e.withDirectives((e.openBlock(),e.createElementBlock("image",{key:3,class:"right-img",src:S,onClick:l[1]||(l[1]=e=>n.value="")},null,512)),[[e.vShow,n.value]]),o.value.nuName?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:4,class:"blue-button",onClick:i}," 确定 ")),o.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(o.value.nuName),1),e.createElementVNode("view",{class:"video-father"},[e.createElementVNode("image",{class:"edit-img",onClick:l[2]||(l[2]=()=>{}),src:B})])]),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=>o.value={})}," 关闭 "),e.createElementVNode("view",{class:"blue-button",style:{width:"200rpx",height:"70rpx","margin-top":"50rpx"},onClick:l[4]||(l[4]=e=>(s.value=o.value.nuName,u.value=o.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(o.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:m},null,544),[[e.vModelText,s.value]]),e.withDirectives(e.createElementVNode("image",{class:"right-img",src:C,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:m}," 确定 ")])],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"]]),U=s(e.defineComponent({__name:"saoma",setup(t){const a=()=>{uni.navigateBack()},n=e.ref({});function o(){uni.scanCode({onlyFromCamera:!0,scanType:["qrCode","barCode"],success(e){e.result&&(i.value=e.result,z(i.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 i=e.ref(""),r=e.ref(!1),c=e.ref(!1),s=e.ref(""),u=e.ref(""),m=()=>{if(s.value){let e={id:n.value.id,nuName:s.value};l("log","at pages/watch/settings/saoma.vue:136","????",e),D(e).then((e=>{e.success&&z(i.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:B})])]),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:m},null,544),[[e.vModelText,s.value]]),e.withDirectives(e.createElementVNode("image",{class:"right-img",src:C,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:m}," 确定 ")])],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:o},[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:o})),e.createElementVNode("view",{class:"index-content-down"}," 长春市朝阳区久泰开运养老服务有限公司 ")],64))}}),[["__scopeId","data-v-59f4443c"]]),F=s(e.defineComponent({__name:"leida",setup(t){const a=()=>{uni.navigateBack()},n=e.ref(!0),o=e.ref(0),i=e.ref(100),r=e.ref(-1),c=e.ref(""),s=e.ref(),u=e.ref(!1),m=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}]),d=e.ref([]),v=e.ref([]),p=e.ref(0);let g=null;function w(e){return"function"==typeof globalThis.requestAnimationFrame?globalThis.requestAnimationFrame(e):setTimeout((()=>e(Date.now())),16)}function h(e){var t;return"number"==typeof e?e:(null==(t=globalThis.performance)?void 0:t.now)?globalThis.performance.now():Date.now()}let y=null;function N(e){const t=h(e);y||(y=t);const l=(t-y)/1e3;y=t,n.value&&(o.value=(o.value+i.value*l)%360),g=w(N)}function f(){100===I.value&&(U(),x())}function x(){n.value=!n.value,n.value?(y=h(),S()):z()}const E=e.computed((()=>({transform:`rotate(${o.value}deg)`}))),V=e.ref([]);let k=null,b=0;function S(){k||(k=setInterval((()=>{!function(){const e=1*Math.random()+5,t=Math.random()*(200-e),l=Math.random()*(200-e),a=b++,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 z(){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,o=0;T().then((e=>{e.result.records.forEach((e=>{e.menu=JSON.parse(JSON.stringify(m.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;d.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 o=0;o<e;o++)n+=a[o],setTimeout((async()=>{d.value.push(v.value[o]),d.value.length}),n)}()})),setTimeout((function l(){let i=Date.now()-e;if(!a&&I.value>=t&&(a=!0,o=Date.now()),a){if(!(Date.now()-o>=n))return void setTimeout(l,16);a=!1}let r=Math.min(i/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=h(),g=w(N),S(),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)),z()})),(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(d.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:B})],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:C,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:d.value[r.value].id,nuName:e};D(t).then((e=>{e.success&&T().then((e=>{e.result.records.forEach((e=>{e.menu=JSON.parse(JSON.stringify(m.value)),e.isNew=!0})),d.value=[],d.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"]]),_=s(e.defineComponent({__name:"Warehouse",setup(t){e.ref(!1),e.ref(!1);const a=e.ref(-1),n=e.ref(0),o=e.ref(null),i=e=>{a.value=e;const t=Date.now();t-n.value<300?(clearTimeout(o.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):(o.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,o=!1){return Array.from({length:l},((l,i)=>{const r=o?String(i+n).padStart(2,"0"):i+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 o=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=>i(l)),["stop"])},[e.createVNode(o,{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=>i(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=>i(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"]]),M="/static/index/newindex/wendu/0.png",j="/static/index/newindex/wendu/1.png",$=s(e.defineComponent({__name:"index",props:{isShow:{type:Boolean,required:!0},propsmove:{type:Number},isMain:{type:Boolean}},emits:["back","cleanmain"],setup(t,{emit:a}){const n=t,o=e.ref(-1);e.watch((()=>n.isMain),((e,t)=>{"boolean"==typeof t&&n.isShow&&(k.value?k.value=!1:!0===t&&!1===e?(o.value=0,i.value=0,s.value=i.value):!1===t&&!0===e&&(o.value=-1,i.value=-1,s.value=0,l("log","at pages/NursingNew/component/index.vue:185","?????")))}));const i=e.ref(-1),r=a,c=e.ref(0);e.watch((()=>n.propsmove),(()=>{if(-1!=o.value)switch(o.value){case 0:switch(n.propsmove){case 0:o.value=-1,i.value=-1,r("back");break;case 1:i.value<x.value.length-1&&(i.value++,s.value=i.value);break;case 2:c.value=i.value,o.value=1,i.value=0;break;case 3:i.value?(i.value--,s.value=i.value):(o.value=-1,i.value=-1,r("back"));break;case 4:s.value=i.value}break;case 1:switch(n.propsmove){case 0:i.value?i.value--:(o.value=0,i.value=c.value,s.value=c.value);break;case 1:i.value=0,o.value=2;break;case 2:i.value<2?i.value++:(i.value=0,o.value=3);break;case 3:o.value=-1,i.value=-1,r("back")}break;case 2:switch(n.propsmove){case 0:i.value?i.value--:(o.value=0,i.value=c.value,s.value=c.value);break;case 1:i.value=0,o.value=3;break;case 2:i.value<2?i.value++:(i.value=0,o.value=3);break;case 3:i.value=0,o.value=1}break;case 3:switch(n.propsmove){case 0:i.value=0,o.value=1;break;case 1:0===i.value?i.value++:(i.value=2,o.value=2);break;case 2:break;case 3:1===i.value?i.value--:(i.value=2,o.value=1)}}}));const s=e.ref(-1),u=e.ref(!1);e.ref();const m=e.ref(0);function d(e){m.value=e.detail.scrollTop}function v(e,t,l,a="png",n=0,o=!1){return Array.from({length:l},((l,i)=>{const r=o?String(i+n).padStart(2,"0"):i+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:"四肢"}]),w=e.ref(v("/static/index/newindex/leftmenu","",3,"png",0,!1));e.ref(v("/static/index/newindex/huli","care",9,"png",0,!1));const h=v("/static/index/newindex/curve","curve_",9,"png",1,!1),y=e.ref([...h,...[...h].reverse()]),N=v("/static/index/newindex/curve","breathe_",9,"png",1,!1),f=e.ref([...N,...[...N].reverse()]),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: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].temperature:"-")+"°C",1),e.createElementVNode("image",{class:"right-container-tem-img",src:j}),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===o.value&&i.value===l},"menu"]),style:e.normalizeStyle({backgroundColor:0===o.value&&i.value===l?"#ddf0ff":""}),onClick:e=>{s.value=l,i.value=l,-1==o.value&&(k.value=!0,r("cleanmain")),o.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===o.value&&0===i.value}),style:{width:"240rpx",height:"90rpx","margin-right":"40rpx"}},[e.createElementVNode("view",{class:"start-button"}," 开始服务 ")],2),e.createElementVNode("view",{class:e.normalizeClass({thirdtarget:3===o.value&&1===i.value}),style:{width:"240rpx",height:"90rpx"}},[e.createElementVNode("view",{class:"end-button"}," 结束服务 ")],2)])]),e.createElementVNode("view",{class:"left-menu"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,style:{margin:"30rpx 0"},class:e.normalizeClass({firsttarget:1===o.value&&i.value===l})},[e.createElementVNode("view",{class:"left-ball",style:e.normalizeStyle({backgroundColor:1===o.value&&i.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=>m.value-=115)}),e.createElementVNode("view",{class:"zhezhao-bottom",onClick:l[1]||(l[1]=e=>m.value+=115)}),e.createElementVNode("image",{class:"top-img",src:"/static/index/newindex/rightmenu/top.png",onClick:l[2]||(l[2]=e=>m.value>0?m.value-=115:m.value=0)},null,8,["src"]),e.createElementVNode("scroll-view",{"scroll-y":"true",class:"right-scroll","scroll-top":m.value,onScroll:d},[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===o.value&&i.value===l}),style:{margin:"20rpx auto",width:"110rpx"}},[e.createElementVNode("view",{class:"white-circle",style:e.normalizeStyle({backgroundColor:2===o.value&&i.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=>m.value>55*p.value.length?m.value=55*p.value.length:m.value+=115)},null,8,["src"])])],4)}}}),[["__scopeId","data-v-0866f96f"]]),L="/static/nomessage.png",P="/static/index/newindex/leftmenu/biga.png",A=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/iot/requestLog/list?column=createTime&order=desc&pageNo=${e.pageNo}&pageSize=${e.pageSize}&cid=${e.cid}&type=${e.type}`,method:"get"}),q=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/iot/humidDevice/logList?column=createTime&order=desc&pageNo=${e.pageNo}&pageSize=${e.pageSize}&optType=read&sn=${e.sn}`,method:"get"}),O=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/iot/humidDevice/jglist?column=createTime&order=desc&pageNo=${e.pageNo}&pageSize=${e.pageSize}&optType=read&sn=${e.sn}`,method:"get"}),W=s(e.defineComponent({__name:"equipment",props:{isShow:{type:Boolean,required:!0},propsmove:{type:Number},isMain:{type:Boolean}},emits:["back","cleanmain","canback"],setup(t,{emit:a}){const n=t,o=e.ref(-1),i=e.ref(!1),r=G("/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"}]),m=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"}]),d=e.ref([{name:"抄表",type:"0",url:"/static/index/newindex/leftmenu/read1.png",targeturl:"/static/index/newindex/leftmenu/read8.png"},{name:"告警",type:"1",url:"/static/index/newindex/rightmenu/service0.png",targeturl:"/static/index/newindex/rightmenu/service4.png"}]),v=e.ref(0);e.watch((()=>n.isMain),((e,t)=>{"boolean"==typeof t&&n.isShow&&(Ce.value?Ce.value=!1:!0===t&&!1===e?(o.value=0,g.value=0,f.value=g.value,Ve()):!1===t&&!0===e&&(o.value=-1,g.value=-1,f.value=0,Ve()))}));const g=e.ref(-1),w=a,h=e.ref(0),y=new Map;e.onBeforeUnmount((()=>{for(const e of y.values())clearTimeout(e);y.clear()})),e.watch((()=>n.propsmove),(()=>{if(-1!=o.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(m.value[D.value].type,D.value):F(D.value-m.value.length):3==N.value&&(D.value<2?U(d.value[D.value].type,D.value):F(D.value-d.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:i.value=!i.value;break;case 4:i.value?(E.value&&_(),V.value&&$("10"),b.value&&Y(),k.value&&$("11"),S.value&&W()):R();break;case 5:R()}return}switch(o.value){case 0:switch(n.propsmove){case 0:o.value=-1,g.value=-1,w("back");break;case 1:g.value<be.value.length-1&&(g.value++,f.value=g.value,v.value=130*g.value,Ve());break;case 2:N.value?(h.value=g.value,o.value=1,g.value=0):(h.value=g.value,o.value=2,g.value=0);break;case 3:g.value?(g.value--,f.value=g.value,v.value=130*g.value,Ve()):(o.value=-1,g.value=-1,w("back"));break;case 4:f.value=g.value}break;case 1:switch(n.propsmove){case 0:g.value?g.value--:(o.value=0,g.value=h.value,f.value=h.value);break;case 1:g.value=0,o.value=2;break;case 2:3!=N.value?g.value<2&&g.value++:g.value<1&&g.value++;break;case 3:break;case 4:3!=N.value?g.value?1==g.value?(S.value=!0,w("canback",!0)):(z(),w("canback",!0)):(E.value=!0,w("canback",!0)):g.value?1==g.value&&(z(),w("canback",!0)):(S.value=!0,w("canback",!0))}break;case 2:switch(n.propsmove){case 0:g.value?g.value--:(o.value=0,g.value=h.value,f.value=h.value);break;case 1:break;case 2:3!=N.value&&g.value<1&&g.value++;break;case 3:N.value&&(g.value=0,o.value=1);break;case 4:if(3!=N.value){if(!N.value&&!g.value)return void uni.navigateTo({url:"/pages/watch/full"});g.value?(b.value=!0,w("canback",!0)):"1"===fe.value.relayState?(V.value=!0,w("canback",!0)):(k.value=!0,w("canback",!0))}else b.value=!0,w("canback",!0)}}}}));const N=e.ref(-1),f=e.ref(-1),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,A(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=m.value[0].type,A(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,q(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?q(C.value).then((e=>{200==e.code&&(T.value=e.result.records)})):O(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,A(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?q(C.value).then((e=>{200==e.code&&(T.value=e.result.records)})):O(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?q(C.value).then((e=>{200==e.code&&(T.value=e.result.records)})):O(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++,A(C.value).then((e=>{200==e.code&&(T.value=e.result.records)}))):C.value.pageNo>1&&(C.value.pageNo--,T.value=[],A(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,p({url:`${uni.getStorageSync("serverUrl")}/api/iot/electricityMeter/eleReset?cid=${e}&address=${t}`,method:"get"})).then((e=>{uni.showToast({title:e.message,icon:"none",duration:1500,mask:!1}),setTimeout((()=>{Be()}),4e3)})):2==N.value&&((e,t)=>p({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)}))},$=e=>{R(),1==N.value?((e,t,l)=>p({url:`${uni.getStorageSync("serverUrl")}/api/iot/electricityMeter/eleControl?cid=${e}&address=${t}&type=${l}`,method:"get"}))(fe.value.cid,fe.value.address,e).then((e=>{uni.showToast({title:e.message,icon:"none",duration:1500,mask:!1}),setTimeout((()=>{Be()}),4e3)})):2==N.value&&(e="10"==e?"43":"53",((e,t,l)=>p({url:`${uni.getStorageSync("serverUrl")}/api/iot/water/waterControl?cid=${e}&address=${t}&type=${l}`,method:"get"}))(xe.value.cid,xe.value.address,e).then((e=>{uni.showToast({title:e.message,icon:"none",duration:1500,mask:!1}),setTimeout((()=>{Be()}),4e3)})))},W=()=>{var e,t,l;R(),1==N.value?(t=fe.value.cid,l=fe.value.address,p({url:`${uni.getStorageSync("serverUrl")}/api/iot/electricityMeter/eleRead?cid=${t}&address=${l}`,method:"get"})).then((e=>{uni.showToast({title:e.message,icon:"none",duration:1500,mask:!1}),setTimeout((()=>{Be()}),4e3)})):2==N.value?((e,t)=>p({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,p({url:`${uni.getStorageSync("serverUrl")}/api/iot/humidDevice/updateDeviceRealTime?sn=${e}`,method:"get"})).then((e=>{uni.showToast({title:e.message,icon:"none",duration:1500,mask:!1}),setTimeout((()=>{Be()}),4e3)}))},Y=()=>{var e;R(),1==N.value?(e=fe.value.id,p({url:`${uni.getStorageSync("serverUrl")}/api/iot/electricityMeter/baoxiu`,method:"post",data:{id:e}})).then((e=>{uni.showToast({title:e.message,icon:"none",duration:1500,mask:!1}),l("log","at pages/NursingNew/component/equipment.vue:1302","!1",e),setTimeout((()=>{Be()}),4e3)})):2==N.value?(e=>p({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=>p({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=>p({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,i.value=!1,w("canback",!1)},X=e=>{g.value=e,Te(),o.value=1,3!=N.value?1!==o.value||e?1==e?(S.value=!0,w("canback",!0)):2==e&&(z(),w("canback",!0)):(E.value=!0,w("canback",!0)):e?1==e&&(z(),w("canback",!0)):(S.value=!0,w("canback",!0))},Q=e=>{N.value||e?(g.value=e,Te(),o.value=2,3!=N.value?e?(b.value=!0,w("canback",!0)):"1"===fe.value.relayState?(V.value=!0,w("canback",!0)):(k.value=!0,w("canback",!0)):(b.value=!0,w("canback",!0))):uni.navigateTo({url:"/pages/watch/full"})};function G(e,t,l,a="png",n=0,o=!1){return Array.from({length:l},((l,i)=>{const r=o?String(i+n).padStart(2,"0"):i+n;return`${e}/${t}${r}.${a}`}))}const J=e.ref([G("/static/index/newindex/leftmenu","zero",11,"png",0,!1),G("/static/index/newindex/leftmenu","read",8,"png",1,!1),G("/static/index/newindex/leftmenu","Log",10,"png",0,!1)]),Z=e.ref([G("/static/index/newindex/leftmenu","read",8,"png",1,!1),G("/static/index/newindex/leftmenu","Log",10,"png",0,!1)]),H=e.ref([G("/static/index/newindex/rightmenu","service",5,"png",0,!1)]),K=e.ref([]),ee=e.ref([]),te=e.ref([G("/static/index/newindex/rightmenu","closes",12,"png",0,!1),G("/static/index/newindex/rightmenu","switch",7,"png",0,!1),G("/static/index/newindex/rightmenu","service",5,"png",0,!1)]),le=e.ref(["清零","抄表","日志","拉闸","合闸","报修"]),ae=e.ref(["预览","报修"]),ne=e.ref(["清零","抄表","日志","开阀","关阀","报修"]),oe=e.ref(["抄表","日志","报修"]),ie=e.ref([{url:G("/static/index/newindex/shebei","Camera",9,"png",0,!1),name:"摄像头"},{url:G("/static/index/newindex/shebei","cable",10,"png",0,!1),name:"智能电表"},{url:G("/static/index/newindex/shebei","river",13,"png",0,!1),name:"智能水表"},{url:G("/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 me=0,de=0,ve=0,pe=300,ge=!1;function we(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()}function he(e){ge=!1,me=ue.value,de=e,ve=we(),pe=300,ge=!0,Ne(ye)}function ye(){if(!ge)return;let e=(we()-ve)/pe;e>1&&(e=1);const t=1-Math.pow(1-e,3);ue.value=Number((me+(de-me)*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]],he(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]],he(Number(e))}else if(3===N.value){Ee.value=be.value[f.value];const e=Ee.value.temperature;he(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=[],p({url:`${uni.getStorageSync("serverUrl")}/api/iot/common/list?nuId=${uni.getStorageSync("nuId")}`,method:"get"}).then((e=>{e.result.cameraInfoEntityList.length&&null!=e.result.cameraInfoEntityList&&e.result.cameraInfoEntityList.forEach(((e,t)=>{e.typeNumber=0,e.lookName="摄像头"+(t+1),e.donghuapian=ie.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=ie.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=ie.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=ie.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==o.value&&(Ce.value=!0,w("cleanmain"))};return(t,l)=>{const a=e.resolveComponent("donghua");return e.openBlock(),e.createElementBlock("view",{class:"index-content-other",style:e.normalizeStyle(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(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:2,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: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:L}),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:L}),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:L}),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(i.value?"button-white":"buttontarget button"),onClick:l[1]||(l[1]=e=>E.value=!1)}," 取消",2),e.createElementVNode("view",{class:e.normalizeClass(i.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(i.value?"button-white":"buttontarget button"),onClick:l[4]||(l[4]=e=>S.value=!1)}," 取消",2),e.createElementVNode("view",{class:e.normalizeClass(i.value?"buttontarget button":"button-white"),onClick:l[5]||(l[5]=e=>W())},"确定",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(i.value?"button-white":"buttontarget button"),onClick:l[7]||(l[7]=e=>V.value=!1)},"取消 ",2),e.createElementVNode("view",{class:e.normalizeClass(i.value?"buttontarget button":"button-white"),onClick:l[8]||(l[8]=e=>$("10"))},"确定",2)]),e.createElementVNode("view",{class:"card-font"}," 确定要"+e.toDisplayString(1===N.value?"拉闸":2===N.value?"开阀":"")+"吗 ",1)])):e.createCommentVNode("",!0),b.value?(e.openBlock(),e.createElementBlock("view",{key:4,class:"neuro-box-baoxiu",style:e.normalizeStyle({top:3==N.value?"560rpx":"650rpx"}),onClick:l[12]||(l[12]=e.withModifiers((()=>{}),["stop"]))},[e.createElementVNode("view",{class:"button-father"},[e.createElementVNode("view",{class:e.normalizeClass(i.value?"button-white":"buttontarget button"),onClick:l[10]||(l[10]=e=>b.value=!1)},"取消 ",2),e.createElementVNode("view",{class:e.normalizeClass(i.value?"buttontarget button":"button-white"),onClick:l[11]||(l[11]=e=>Y())},"确定",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(i.value?"button-white":"buttontarget button"),onClick:l[13]||(l[13]=e=>k.value=!1)},"取消 ",2),e.createElementVNode("view",{class:e.normalizeClass(i.value?"buttontarget button":"button-white"),onClick:l[14]||(l[14]=e=>$("11"))},"确定",2)]),e.createElementVNode("view",{class:"card-font"}," 确定要"+e.toDisplayString(1===N.value?"合闸":2===N.value?"关阀":"")+"吗 ",1)])):e.createCommentVNode("",!0)],512),[[e.vShow,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: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].temperature:"-")+"°C",1),e.createElementVNode("image",{class:"right-container-tem-img",src:j}),e.createElementVNode("text",{class:"right-container-tem-text"},e.toDisplayString(uni.getStorageSync("NUall").humidDeviceList&&uni.getStorageSync("NUall").humidDeviceList[0]?uni.getStorageSync("NUall").humidDeviceList[0].humidity:"-")+"%",1)]),e.createElementVNode("image",{class:"right-icons-img",src:"/static/index/undericons/man.png"},null,8,["src"]),e.createElementVNode("view",null,e.toDisplayString(se.value),1)])]),e.createElementVNode("view",{class:"scroll-vi"},[e.createElementVNode("view",{class:"zhezhao-left"}),e.createElementVNode("view",{class:"zhezhao-right"}),e.createElementVNode("scroll-view",{"scroll-x":"true",style:{width:"1800rpx",height:"100%"},"scroll-left":v.value},[e.createElementVNode("view",{style:{display:"flex","align-items":"center"}},[e.createElementVNode("view",{style:{width:"100rpx"}}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(be.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l,class:e.normalizeClass([{zerotarget:0===o.value&&g.value===l},"menu"]),style:e.normalizeStyle({backgroundColor:0===o.value&&g.value===l?"#ddf0ff":""}),onClick:e=>{f.value=l,g.value=l,Te(),o.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=>Q(l)},[e.createElementVNode("view",{class:e.normalizeClass(["left-ball",{firsttarget:2===o.value&&g.value===l}]),style:e.normalizeStyle({backgroundColor:2===o.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===o.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===o.value&&g.value===l&&!B.value}]),style:e.normalizeStyle({backgroundColor:1!==o.value||g.value!==l||B.value?"":"#ddf0ff"})},[e.createVNode(a,{width:"50rpx",height:"50rpx",links:t,style:{width:"50rpx",height:"50rpx"},playing:1===o.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=>Q(l)},[e.createElementVNode("view",{class:e.normalizeClass(["left-ball",{firsttarget:2===o.value&&g.value===l}]),style:e.normalizeStyle({backgroundColor:2===o.value&&g.value===l?"#ddf0ff":""})},[e.createVNode(a,{width:"50rpx",height:"50rpx",links:t,style:{width:"50rpx",height:"50rpx"},playing:2===o.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:P}))])],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===o.value&&g.value===l&&!B.value}]),style:e.normalizeStyle({backgroundColor:1!==o.value||g.value!==l||B.value?"":"#ddf0ff"})},[e.createVNode(a,{width:"50rpx",height:"50rpx",links:t,style:{width:"50rpx",height:"50rpx"},playing:1===o.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=>Q(l)},[e.createElementVNode("view",{class:e.normalizeClass(["left-ball",{firsttarget:2===o.value&&g.value===l}]),style:e.normalizeStyle({backgroundColor:2===o.value&&g.value===l?"#ddf0ff":""})},[e.createVNode(a,{width:"50rpx",height:"50rpx",links:t,style:{width:"50rpx",height:"50rpx"},playing:2===o.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:P}))])],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===o.value&&g.value===l&&!B.value}]),style:e.normalizeStyle({backgroundColor:1!==o.value||g.value!==l||B.value?"":"#ddf0ff"})},[e.createVNode(a,{width:"50rpx",height:"50rpx",links:t,style:{width:"50rpx",height:"50rpx"},playing:1===o.value&&g.value===l,loop:!1,interval:120},null,8,["links","playing"])],6),e.createElementVNode("view",{class:""},e.toDisplayString(oe.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=>Q(l)},[e.createElementVNode("view",{class:e.normalizeClass(["left-ball",{firsttarget:2===o.value&&g.value===l}]),style:e.normalizeStyle({backgroundColor:2===o.value&&g.value===l?"#ddf0ff":""})},[e.createVNode(a,{width:"50rpx",height:"50rpx",links:t,style:{width:"50rpx",height:"50rpx"},playing:2===o.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?oe.value[1]:oe.value[2])+" ",1),l?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("image",{key:0,class:"biga-img",src:P}))])],8,["onClick"])))),128))])],512),[[e.vShow,3===N.value]])],4)}}}),[["__scopeId","data-v-b2958126"]]),Y="/static/index/requestform/chongzhi.png",R="/static/index/warehouse/procurement/picking/bebad.png",X="/static/index/requestform/isok.png",Q="/static/index/requestform/gongyingshang.png",G=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/queryQld`,method:"get",data:e}),J=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/queryQldWlInfo`,method:"get",data:e}),Z=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/queryMaterialInfo`,method:"get",data:e}),H=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/transRead`,method:"post",data:e}),K=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/cancellation`,method:"post",data:e}),ee="/static/index/procurement/que.png";const te=s({props:{cont:{type:String,default:""},show:{type:Boolean,default:!1}}},[["render",function(t,l,a,n,o,i){return a.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:"que"},[e.createElementVNode("image",{src:ee,mode:"aspectFill"}),e.createElementVNode("view",null,e.toDisplayString(a.cont),1)])):e.createCommentVNode("",!0)}],["__scopeId","data-v-aab254aa"]]);const le=s({props:{cont:"",style:{}}},[["render",function(t,l,a,n,o,i){return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:"que",style:e.normalizeStyle(a.style)},[e.createElementVNode("image",{src:ee,mode:"aspectFill"}),e.createElementVNode("view",null,e.toDisplayString(a.cont),1)],4)])}],["__scopeId","data-v-1bbac045"]]),ae=s(e.defineComponent({__name:"requestform",props:{isShow:{type:Boolean,required:!0}},setup(t){const a=t,n=e.ref(["全部","待出库","已出库","已收货 ","已作废"]),o=e.ref(!1);e.watch((()=>a.isShow),((e,t)=>{!t&&e?(o.value=!1,E(),setTimeout((()=>{o.value=!0}),50)):o.value=!1})),e.onMounted((()=>{})),e.ref(!1);const i=e.ref(0),c=e=>{if(i.value!=e||!e){switch(y.value=1,setTimeout((()=>{y.value=0}),50),g.value=0,i.value=e,w.pageNo=1,w.canpull=!0,e){case 0:w.status="1,2,4,5";break;case 1:w.status="1";break;case 2:w.status="4";break;case 3:w.status="5";break;case 4:w.status="2"}E()}},s=()=>{u||(u=!0,w.pageNo=1,w.canpull=!0,g.value=0,E(),y.value=1,setTimeout((()=>{y.value=0}),10),setTimeout((()=>u=!1),500))};let u=!1;const m=()=>{u||(u=!0,w.searchContent="",c(0),E(),setTimeout((()=>u=!1),500))},d=e.ref([]),v=e.ref(0),g=e.ref(0),w=e.reactive({pageNo:1,pageSize:5,canpull:!0,searchContent:"",status:"1,2,4,5",elderId:uni.getStorageSync("NUall").elderId,nuId:uni.getStorageSync("nuId")}),h=e.ref(!1),y=e.ref(0),N=e.ref([]),f=e.ref(!0),x=e.ref(!0),E=()=>{G(w).then((e=>{var t;o.value=!0,"缺少参数"!==e.message&&(null==(t=e.result)?void 0:t.total)||!f.value?(f.value=!1,d.value=[],d.value.push(...e.result.records),v.value=e.result.total,e.result.records.length&&(x.value=!1,J({qldNo:e.result.records[0].qldNo}).then((e=>{N.value=[],N.value.push(...e.result),x.value=!0}))),e.result.records.length<w.pageSize&&(w.canpull=!1)):h.value=!0}))},V=e.ref(!0),k=()=>{V.value&&(w.pageNo++,b(),V.value=!1,setTimeout((()=>{V.value=!0}),500))},b=()=>{w.canpull&&G(w).then((e=>{l("log","at pages/NursingNew/component/pleasetake/component/requestform.vue:380","???加载",e.result.records),d.value.push(...e.result.records),v.value=e.result.total,e.result.records.length<w.pageSize&&(w.canpull=!1)}))},S=e.ref("");r((()=>{S.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"}));const B=e.ref(!1),C=()=>{K({qldNo:d.value[g.value].qldNo}).then((e=>{l("log","at pages/NursingNew/component/pleasetake/component/requestform.vue:435","作废",e),B.value=!1,e.success?d.value[g.value]=e.result.result:(w.pageNo=1,w.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:d.value[g.value].qldNo,elderId:uni.getStorageSync("NUall").elderId,nuId:uni.getStorageSync("nuId")};var t;(t=e,p({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:468","收货",e,t),T.value=!1,t.success?d.value[g.value]=t.result.result:(w.pageNo=1,y.value=1,setTimeout((()=>{y.value=0}),50),g.value=0,w.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(o.value?{opacity:"1"}:{opacity:"0"})},[e.createElementVNode("view",{class:"ipt"},[e.withDirectives(e.createElementVNode("input",{type:"text","onUpdate:modelValue":a[0]||(a[0]=e=>w.searchContent=e),placeholder:"请领单号",onConfirm:s},null,544),[[e.vModelText,w.searchContent]])]),e.createElementVNode("view",{class:"scr",onClick:s}," 检索 "),e.createElementVNode("view",{class:"shx",onClick:m},[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:R}),e.createElementVNode("view",null," 作废 ")],512),[[e.vShow,"1"==(null==(r=d.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=d.value[g.value])?void 0:u.status)]]),e.createVNode(te,{cont:"暂无数据",show:h.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(o.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(i.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===i.value?11.5:12+18.5*i.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(d.value,((t,l)=>{var a,n,o,i;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,J({qldNo:d.value[e].qldNo}).then((e=>{N.value=[],N.value.push(...e.result),x.value=!0})),"N"==t.izYgRead){let l={status:"yg",qldNo:d.value[e].qldNo};H(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:X})]),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:X}))]),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==(i=t.shTime)?void 0:i.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:X}))]),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:Q}),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(le,{key:0,cont:"暂无数据",style:{width:"30%",height:"30%",position:"absolute"}})):e.createCommentVNode("",!0)])])],4),[[e.vShow,t.isShow&&!h.value]])],64)}}}),[["__scopeId","data-v-1e9b4f85"]]),ne="/static/index/procurement/x.png",oe="/static/index/procurement/zjt.png",ie="/static/index/procurement/ddj.png";const re=s({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,o,i){return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:e.normalizeClass(["addall guodu",a.show?"":"unclass"]),style:e.normalizeStyle(o.showbox?"z-index:220":"z-index:-2")},[e.createElementVNode("view",null,"温馨提示"),e.createElementVNode("view",null,[e.createElementVNode("image",{src:ie,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"]]),ce=s(e.defineComponent({__name:"addwl",props:{Material:{type:Array,required:!0}},emits:["delall","del","submit"],setup(t,{emit:l}){const a=t,n=l,o=e.ref(uni.getStorageSync("serverUrl")+"/sys/common/static/"),i=e.ref(!1),r=e.ref(0);e.watch((()=>a.Material),(()=>{0==a.Material.length&&(i.value=!1,r.value=0)}));const c=()=>{n("delall"),setTimeout((()=>{r.value=0,i.value=!1}),100)},s=()=>{0!=a.Material.length?(i.value=!i.value,r.value=0,w()):uni.showToast({icon:"none",title:"请添加请领物料!"})},u=e.ref(0),m=e=>{u.value=e.touches[0].clientX},d=e.ref(0);function v(e){var t;d.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&&!i.value&&(i.value=!i.value,r.value=0,p.value=d.value+125.99,setTimeout((()=>{p.value=d.value+126}),50)),t>60&&i.value&&(i.value=!i.value,r.value=0,p.value=d.value-125.99,setTimeout((()=>{p.value=d.value-126}),50))},w=()=>{i.value?(p.value=d.value+125.99,setTimeout((()=>{p.value=d.value+126}),50)):(p.value=d.value-125.99,setTimeout((()=>{p.value=d.value-126}),50))},h=e.ref(!1);return e.onMounted((()=>{setTimeout((()=>{h.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(i.value?"width:calc(100% - 21.8vw)":"width:calc(100% - 10vw)")},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.Material,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"yjbox",key:l},[e.createElementVNode("image",{src:t.materialInfo.materialImg?o.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)])))),128)),0==t.Material.length&&h.value?(e.openBlock(),e.createBlock(le,{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(i.value?"width:15vw":""),onTouchstart:m,onTouchmove:g},[e.createElementVNode("view",{onClick:s,class:"righ0"},[e.createTextVNode(e.toDisplayString(i.value?"收起":"更多")+" ",1),e.createElementVNode("image",{class:"guodu",style:e.normalizeStyle(i.value?"transform: rotate(180deg);":""),src:oe,mode:"aspectFill"},null,4)]),e.createElementVNode("view",{class:e.normalizeClass(["guodu",i.value?1==r.value?"avt":"":"righ0"]),onClick:a[0]||(a[0]=e=>{r.value=1==r.value?0:1})}," 批量移除 ",2),e.createElementVNode("view",{class:e.normalizeClass(["guodu",i.value?2==r.value?"avt":"":"righ0"]),onClick:a[1]||(a[1]=e=>{r.value=2})}," 清空列表 ",2),e.createElementVNode("view",{class:e.normalizeClass(["guodu",i.value?3==r.value?"avt":"":"righ0"]),onClick:a[2]||(a[2]=e=>{r.value=3,n("submit")})}," 提交请领单 ",2)],36)]),e.createVNode(re,{onBack:a[3]||(a[3]=e=>r.value=0),show:2==r.value,font:"确定将本次请领清单中的所有物料都移除吗?",onRight:c},null,8,["show"])]))}}),[["__scopeId","data-v-e2859b6b"]]);const se=s({name:"u-line",props:{color:{type:String,default:"#e4e7ed"},length:{type:String,default:"100%"},direction:{type:String,default:"row"},hairLine:{type:Boolean,default:!0},margin:{type:String,default:"0"},borderStyle:{type:String,default:"solid"}},computed:{lineStyle(){let e={};return e.margin=this.margin,"row"==this.direction?(e.borderBottomWidth="1px",e.borderBottomStyle=this.borderStyle,e.width=this.$u.addUnit(this.length),this.hairLine&&(e.transform="scaleY(0.5)")):(e.borderLeftWidth="1px",e.borderLeftStyle=this.borderStyle,e.height=this.$u.addUnit(this.length),this.hairLine&&(e.transform="scaleX(0.5)")),e.borderColor=this.color,e}}},[["render",function(t,l,a,n,o,i){return e.openBlock(),e.createElementBlock("view",{class:"u-line",style:e.normalizeStyle([i.lineStyle])},null,4)}],["__scopeId","data-v-85e19575"]]);const ue=s({name:"u-loading",props:{mode:{type:String,default:"circle"},color:{type:String,default:"#c7c7c7"},size:{type:[String,Number],default:"34"},show:{type:Boolean,default:!0}},computed:{cricleStyle(){let e={};return e.width=this.size+"rpx",e.height=this.size+"rpx","circle"==this.mode&&(e.borderColor=`#e4e4e4 #e4e4e4 #e4e4e4 ${this.color?this.color:"#c7c7c7"}`),e}}},[["render",function(t,l,a,n,o,i){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([i.cricleStyle])},null,6)):e.createCommentVNode("",!0)}],["__scopeId","data-v-ae8dd367"]]);const me=s({name:"u-loadmore",emits:["loadmore"],props:{bgColor:{type:String,default:"transparent"},icon:{type:Boolean,default:!0},fontSize:{type:String,default:"28"},color:{type:String,default:"#606266"},status:{type:String,default:"loadmore"},iconType:{type:String,default:"circle"},loadText:{type:Object,default:()=>({loadmore:"加载更多",loading:"正在加载...",nomore:"没有更多了"})},isDot:{type:Boolean,default:!1},iconColor:{type:String,default:"#b7b7b7"},marginTop:{type:[String,Number],default:0},marginBottom:{type:[String,Number],default:0},height:{type:[String,Number],default:"auto"}},data:()=>({dotText:"●"}),computed:{loadTextStyle(){return{color:this.color,fontSize:this.fontSize+"rpx",position:"relative",zIndex:1,backgroundColor:this.bgColor}},cricleStyle(){return{borderColor:`#e5e5e5 #e5e5e5 #e5e5e5 ${this.circleColor}`}},flowerStyle:()=>({}),showText(){let e="";return e="loadmore"==this.status?this.loadText.loadmore:"loading"==this.status?this.loadText.loading:"nomore"==this.status&&this.isDot?this.dotText:this.loadText.nomore,e}},methods:{loadMore(){"loadmore"==this.status&&this.$emit("loadmore")}}},[["render",function(t,l,n,o,i,r){const c=a(e.resolveDynamicComponent("u-line"),se),s=a(e.resolveDynamicComponent("u-loading"),ue);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"]]),de="/static/index/procurement/zd.png",ve=s(e.defineComponent({__name:"carditem",props:{InvoicingList:{type:Array,required:!0},status:{type:String}},emits:["scrolltolower","comfig"],setup(t,{emit:l}){const n=t,o=e.ref({}),i=e.ref(uni.getStorageSync("serverUrl")+"/sys/common/static/"),r=l,c=e.ref(0),s=e.ref(0),u=e.ref(!0),m=(e,t,l)=>{r("comfig",e,t,l)},d=(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"),me);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,i=t.changedTouches[0].pageX,r=Math.abs(i-c.value),m=Math.abs(n-s.value);if(u.value=!0,m>30&&r+10<m)return o.value.scrollleft=.01,void setTimeout((()=>{o.value.scrollleft=0}),20);r<10&&m<10?0==o.value.zk&&setTimeout((()=>{o.value.scrollleft=0}),20):(v.value<=40?(o.value.scrollleft=v.value,o.value.zk=!1,e.nextTick((()=>{o.value.scrollleft=0,v.value=0}))):(v.value=150,o.value.scrollleft=v.value,o.value.zk=!0),o.value.zk=!(i>c.value),o.value.scrollleft=o.value.zk?150:0)})(t),onTouchstart:e=>((e,t,l)=>{o.value=t,c.value=e.changedTouches[0].pageX,s.value=e.changedTouches[0].pageY,u.value&&(u.value=!1,d(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:de,mode:"aspectFill"})])):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"speitem guodu"},[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)])]),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=>m(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=>m(t,l,1)),["stop"]),onTouchend:n[0]||(n[0]=e.withModifiers((()=>{}),["stop"]))}," 请领记录 ",40,["onClick"]),e.createElementVNode("view",{onClick:e.withModifiers((e=>m(t,l,2)),["stop"]),onTouchend:n[1]||(n[1]=e.withModifiers((()=>{}),["stop"]))}," 物料详情 ",40,["onClick"]),e.createElementVNode("view",{onClick:e.withModifiers((e=>m(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"]]),pe=s(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/"),o=l,i=e.ref(!1);e.watch((()=>a.show),(()=>{1==a.show?(u.value=1,s.value=N(u.value),setTimeout((()=>{i.value=!0}),50)):(i.value=!1,m.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),m=e.ref(!1),d=(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==m.value?(m.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=>{w(e)},g=()=>{clearInterval(v.value)},w=e=>{v.value=setInterval((()=>{h(e)}),120)},h=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=()=>{o("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=>o("fill"))})):e.createCommentVNode("",!0),e.createElementVNode("view",{class:e.normalizeClass(["takitem guodu",t.show?"":"unclass"]),style:e.normalizeStyle(i.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=>h(-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=>h(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=>d(t)},e.toDisplayString(t),9,["onClick"])]))),64))]),e.createElementVNode("view",{class:"plsbuy-bottom"},[e.createElementVNode("view",{class:"quxiao",onClick:a[5]||(a[5]=e=>o("fill"))}," 取消 "),e.createElementVNode("view",{class:"plsbuy-bottom-blue",onClick:y}," 确定 ")])])])],6)]))}}),[["__scopeId","data-v-90d5e146"]]),ge=s(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 o=e.reactive({scrolltop1:0,scrolltop2:0,scrolltop3:0,act1:-1,act2:-1,act3:-1}),i=e.ref([]);e.ref([]);const r=e.ref(-1),c=e.ref(""),s=e.ref(!1),u=n,m=(e,t,l)=>{if(1==e&&(o.act2=-1,o.act3=-1,o.scrolltop2=0,o.scrolltop3=0,o.act1==t))return o.act1=-1,void v();2==e&&(o.act3=-1,o.scrolltop3=0),o["act"+e]=t,o["scrolltop"+e]=50*(t-2),v()};e.onMounted((()=>{c.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"}));const d=e.ref(0),v=()=>{let e={nuId:uni.getStorageSync("nuId"),categoryId:o.act1>-1?i.value[o.act1].categoryId:"",typeId:o.act2>-1?i.value[o.act1].children[o.act2].typeId:"",medicationId:o.act3>-1?i.value[o.act1].children[o.act2].children[o.act3].key:"",cgdId:h.cgdId};switch(h.typenum){case 0:(t=e,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/getTreeDataWlnum`,method:"get",data:t})).then((e=>{d.value=e.result.totalSize}));break;case 1:getGwcTreeDataWlnum(e).then((e=>{d.value=e.result.totalSize}));break;case 2:l("log","at pages/NursingNew/component/pleasetake/common/cgdclass.vue:108",e),getCgdTreeDataWlnum(e).then((e=>{d.value=e.result.totalSize}))}var t},g=()=>{switch(h.typenum){case 0:(e={nuId:uni.getStorageSync("nuId")},p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/getMaterialTreeData`,method:"get",data:e})).then((e=>{i.value=e.result,v()}));break;case 1:getGwcMaterialTreeData({nuId:uni.getStorageSync("nuId")}).then((e=>{i.value=e.result,v()}));break;case 2:l("log","at pages/NursingNew/component/pleasetake/common/cgdclass.vue:137",{nuId:uni.getStorageSync("nuId"),cgdId:h.cgdId}),getCgdMaterialTreeData({nuId:uni.getStorageSync("nuId"),cgdId:h.cgdId}).then((e=>{l("log","at pages/NursingNew/component/pleasetake/common/cgdclass.vue:139",e.result),i.value=e.result,v()}))}var e},w=()=>{let e={categoryId:o.act1>-1?i.value[o.act1].categoryId:"",typeId:o.act2>-1?i.value[o.act1].children[o.act2].typeId:"",medicationId:o.act3>-1?i.value[o.act1].children[o.act2].children[o.act3].key:"",cgdId:h.cgdId};u("confirm",e)},h=t,y=e.ref(!1);e.watch((()=>h.show),(()=>{0==h.show?(s.value=!1,y.value=!1,e.nextTick((()=>{m(1,-1)}))):(g(),setTimeout((()=>{y.value=!0}),50))}));return a({typescroll:m,config:w,qingkong:()=>{r.value>-1&&(r.value=-1,v())},getTreelnum:v}),(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":o.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(o.act1==l?"act":""),onClick:e=>m(1,l)},[o.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":o.scrolltop2,class:"scroll-Y scrl2"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(null==(n=i.value[o.act1])?void 0:n.children,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(o.act2==l?"act":""),onClick:e=>m(2,l)},e.toDisplayString(t.title),11,["onClick"])))),256))],8,["scroll-top"]),e.createElementVNode("scroll-view",{"scroll-y":"true","scroll-with-animation":"","scroll-top":o.scrolltop3,class:"scroll-Y scrl3"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(null==(s=null==(r=i.value[o.act1])?void 0:r.children[o.act2])?void 0:s.children,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(o.act3==l?"act":""),onClick:e=>m(3,l)},e.toDisplayString(t.title),11,["onClick"])))),256))],8,["scroll-top"])]),e.createElementVNode("view",{class:"btnbotm"},[e.createElementVNode("view",{class:"bt",onClick:a[1]||(a[1]=e=>m(1,-1))},"重置"),e.createElementVNode("view",{class:"bt qd",onClick:w},[e.createTextVNode("确定 "),d.value>0?(e.openBlock(),e.createElementBlock("text",{key:0},""+e.toDisplayString(d.value>99?"99+":d.value)+"件物料)",1)):e.createCommentVNode("",!0)])])],6)])}}}),[["__scopeId","data-v-25ed362e"]]),we=s(e.defineComponent({__name:"medetails",props:{objtake:{type:Object,required:!0},show:{type:Boolean}},emits:["fill","qingling"],setup(t,{emit:a}){const n=t,o=e.ref({}),i=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};Z(e).then((e=>{l("log","at pages/NursingNew/component/pleasetake/common/medetails.vue:81",e),o.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?i.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(o.value.qlNum?o.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(o.value.wlNum?o.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"]]),he=s(e.defineComponent({__name:"takerecord",props:{objtake:{type:Object,required:!0},show:{type:Boolean}},emits:["fill","qingling"],setup(t,{emit:n}){const o=t,i=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/"),m=n,d=e.ref(!1),v=e.ref([]);e.watch((()=>o.show),(()=>{if(l("log","at pages/NursingNew/component/pleasetake/common/takerecord.vue:100",o.objtake),1==o.show){let e={nuId:uni.getStorageSync("nuId"),elderId:uni.getStorageSync("NUall").id,wlId:o.objtake.wlId};Z(e).then((e=>{s.value=e.result})),g(),setTimeout((()=>{d.value=!0}),50)}else d.value=!1,v.value=[],i.value=1,c.value="loadmore"}));const g=()=>{let e={nuId:uni.getStorageSync("nuId"),elderId:uni.getStorageSync("NUall").id,wlId:o.objtake.wlId,pageNo:i.value,pageSize:20};var t;(t=e,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/queryQlwcLog`,method:"get",data:t})).then((e=>{v.value.push(...e.result.records),c.value=e.result.total==v.value.length?"nomore":"loadmore"}))};return(l,n)=>{const o=a(e.resolveDynamicComponent("u-loadmore"),me);return e.openBlock(),e.createElementBlock("view",null,[t.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mengban",onClick:n[0]||(n[0]=e=>m("fill"))})):e.createCommentVNode("",!0),e.createElementVNode("view",{class:e.normalizeClass(["recorditem guodu",t.show?"":"unclass"]),style:e.normalizeStyle(d.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",i.value++,g())})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"itm",key:l},[e.createElementVNode("view",{class:e.normalizeClass(["dian",l==v.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"}},[v.value.length>6?(e.openBlock(),e.createBlock(o,{key:0,status:c.value,loadText:{nomore:"暂无更多数据"}},null,8,["status"])):e.createCommentVNode("",!0)]),0==v.value.length?(e.openBlock(),e.createBlock(le,{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=>m("fill"))}," 关闭 ")])],6)])}}}),[["__scopeId","data-v-41491fc3"]]),ye=s(e.defineComponent({__name:"submits",props:{list:{type:Array,required:!0},show:{type:Boolean}},emits:["fill","submit","config"],setup(t,{emit:l}){const a=t,n=e.ref("");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();n.value=t+"."+l+"."+a})),e.ref({});const o=e.ref(uni.getStorageSync("serverUrl")+"/sys/common/static/"),i=l,r=e.ref(!1);return e.watch((()=>a.show),(()=>{1==a.show?setTimeout((()=>{r.value=!0}),50):r.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=>i("fill"))})):e.createCommentVNode("",!0),e.createElementVNode("view",{class:e.normalizeClass(["qinglingdetails",t.show?"":"unclass"]),style:e.normalizeStyle(r.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(n.value),1)]),e.createElementVNode("view",{class:"qlwl"}," 请领物料 "),e.createElementVNode("scroll-view",{"scroll-y":"true",class:"wuliaolist"},[e.createElementVNode("view",{class:"list"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.list,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"card",key:l},[e.createElementVNode("view",{class:"speitem guodu"},[e.createElementVNode("image",{src:t.materialInfo.materialImg?o.value+t.materialInfo.materialImg:"/static/index/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"cardp"},[t.materialInfo.categoryName?(e.openBlock(),e.createElementBlock("view",{key:0},e.toDisplayString(t.materialInfo.categoryName),1)):e.createCommentVNode("",!0),t.materialInfo.typeName?(e.openBlock(),e.createElementBlock("view",{key:1},e.toDisplayString(t.materialInfo.typeName),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("view",{class:"msitem guodu"},[e.createElementVNode("view",null,[e.createElementVNode("view",null,e.toDisplayString(t.materialInfo.materialName),1)]),e.createElementVNode("view",null,[e.createElementVNode("text",{style:{"white-space":"nowrap"}}," 规格型号: "),e.createElementVNode("view",null,e.toDisplayString(t.materialInfo.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.materialInfo.materialUnits),1),e.createElementVNode("text",null,"请领单位")])])])])))),128))])]),e.createElementVNode("view",{class:"plsbuy-bottom"},[e.createElementVNode("view",{class:"quxiao",onClick:a[1]||(a[1]=e=>i("fill"))}," 取消 "),e.createElementVNode("view",{class:"plsbuy-bottom-blue",onClick:a[2]||(a[2]=e=>i("config"))}," 提交请领单 ")])],6)]))}}),[["__scopeId","data-v-4edfe179"]]),Ne=s(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").elderId,wlParamInfo:"",categoryId:"",typeId:"",medicationId:""}),o=e.ref(!1),i=e.ref(!1),r=e.ref(!1),c=e.ref(!1),s=e.ref(!1),u=e.ref(!1),m=e.ref(!1),d=e.ref(!1),v=e.ref(""),g=e.ref();e.onMounted((()=>{f(),h()}));const w=e.ref([]),h=()=>{let e={nuId:n.nuId,elderId:n.elderId};var t;(t=e,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/queryGwcInfo`,method:"get",data:t})).then((e=>{w.value=e.result}))},y=e.ref([]),N=e.ref("loadmore"),f=()=>{var e;(e=n,p({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})),y.value.push(...e.result.records),N.value=e.result.total==y.value.length?"nomore":"loadmore"}))},x=()=>{var e;(e={nuId:n.nuId,elderId:n.elderId},p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/thd/requireTH`,method:"post",data:e})).then((e=>{e.success?(m.value=!1,uni.showToast({icon:"none",title:e.message})):(m.value=!1,v.value=e.message,d.value=!0)}))},E=e=>{0===e&&(n.wlParamInfo=""),n.pageNo=1,y.value=[],f()},V=()=>{"loading"!=N.value&&"nomore"!=N.value&&(N.value="loading",n.pageNo++,f())},k=()=>{h(),u.value=!0},b=e=>{l("log","at pages/NursingNew/component/pleasetake/component/takehomep.vue:151",e),y.value.forEach((t=>{t.wlId==e.wlId&&(l("log","at pages/NursingNew/component/pleasetake/component/takehomep.vue:154",t),C.value=t)})),C.value.wlId||(C.value=e),c.value=!0,l("log","at pages/NursingNew/component/pleasetake/component/takehomep.vue:162",C.value)},S=()=>{let e={nuId:n.nuId,elderId:n.elderId,wlId:C.value.wlId};var t;l("log","at pages/NursingNew/component/pleasetake/component/takehomep.vue:170",e),(t=e,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/deleteGwcWl`,method:"post",data:t})).then((e=>{e.success?(h(),c.value=!1,C.value.isAdd=null,C.value.qlNum=null):(v.value=e.message,d.value=!0)}))},B=()=>{var e;l("log","at pages/NursingNew/component/pleasetake/component/takehomep.vue:184",{nuId:n.nuId,elderId:n.elderId}),(e={nuId:n.nuId,elderId:n.elderId},p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/removeAllGwc`,method:"post",data:e})).then((e=>{e.success?(h(),y.value.forEach((e=>{e.isAdd=null,e.qlNum=null,e.gwcId=null}))):(v.value=e.message,d.value=!0)}))},C=e.ref({}),T=(e,t,a)=>{switch(a){case 0:C.value=e,1==e.isAdd?c.value=!0:o.value=!0;break;case 1:C.value=e,s.value=!0;break;case 2:C.value=e,r.value=!0;break;case 3:let t={nuId:n.nuId,elderId:n.elderId,wlId:e.wlId,izZd:!e.zhiDingId};(i=t,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/wlzd`,method:"post",data:i})).then((e=>{l("log","at pages/NursingNew/component/pleasetake/component/takehomep.vue:231",t,e),e.success?(y.value=[],n.pageNo=1,f()):(v.value=e.message,d.value=!0)}))}var i},z=(e,t)=>{l("log","at pages/NursingNew/component/pleasetake/component/takehomep.vue:256",t);let a={kfId:t.nuId,wlId:t.wlId,qlNum:e,nuId:n.nuId,elderId:n.elderId};var i;(i=a,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/addGwc`,method:"post",data:i})).then((l=>{l.success?(o.value=!1,t.isAdd=1,t.qlNum=e,h()):(v.value=l.message,d.value=!0)}))},D=()=>{let e={nuId:n.nuId,elderId:n.elderId};var t;(t=e,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/qld/submitQld`,method:"post",data:t})).then((e=>{e.success&&"success"==e.result.status?(uni.showToast({icon:"success",title:"提交成功"}),setTimeout((()=>{u.value=!1,h()}),800)):(v.value=e.result.message,d.value=!0)}))},I=e=>{n.categoryId=e.categoryId,n.typeId=e.typeId,n.medicationId=e.medicationId,n.pageNo=1,y.value=[],f(),i.value=!1,l("log","at pages/NursingNew/component/pleasetake/component/takehomep.vue:305",e)},U=()=>{n.categoryId="",n.typeId="",n.medicationId="",n.pageNo=1,n.wlParamInfo="",y.value=[],g.value.typescroll(1,-1,{}),g.value.qingkong(),g.value.config()},F=a,_=e=>{F("changePageNumber",e)};return(t,l)=>{const a=e.resolveComponent("errorshow");return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:"buttons-father"},[e.createElementVNode("view",{class:"boxtwo"},[e.createElementVNode("view",{class:"ipt"},[e.withDirectives(e.createElementVNode("input",{type:"text",placeholder:"物料名称/物料简拼","onUpdate:modelValue":l[0]||(l[0]=e=>n.wlParamInfo=e),onConfirm:E},null,544),[[e.vModelText,n.wlParamInfo]]),n.wlParamInfo?(e.openBlock(),e.createElementBlock("image",{key:0,src:ne,mode:"aspectFill",onClick:l[1]||(l[1]=e=>E(0))})):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"scr",onClick:E}," 检索 "),e.createElementVNode("view",{class:"shx",onClick:l[2]||(l[2]=e=>i.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:U},[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[3]||(l[3]=e=>_(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[4]||(l[4]=e=>_(2))}," 回退单 ")]),e.createElementVNode("view",{class:"qlthbtn",onClick:l[5]||(l[5]=e=>m.value=!0)},[e.createElementVNode("image",{src:"/static/index/requestform/ql2.png",mode:"aspectFill"}),e.createElementVNode("view",{class:"shx-font"}," 退货 ")])])]),e.createVNode(ce,{Material:w.value,onDelall:B,onDel:b,onSubmit:k},null,8,["Material"]),e.createVNode(ve,{InvoicingList:y.value,onScrolltolower:V,status:N.value,onComfig:T},null,8,["InvoicingList","status"]),e.createVNode(pe,{show:o.value,objtake:C.value,onFill:l[6]||(l[6]=e=>o.value=!1),onRight:z},null,8,["show","objtake"]),e.createVNode(ge,{onConfirm:I,show:i.value,typenum:0,ref_key:"classication",ref:g,onFill:l[7]||(l[7]=e=>i.value=!1)},null,8,["show"]),e.createVNode(we,{show:r.value,onFill:l[8]||(l[8]=e=>r.value=!1),onConfirm:I,objtake:C.value},null,8,["show","objtake"]),e.createVNode(re,{onBack:l[9]||(l[9]=e=>c.value=!1),show:c.value,font:"确定将该物料从本次请领清单中移除吗?",onRight:S},null,8,["show"]),e.createVNode(he,{objtake:C.value,show:s.value,onFill:l[10]||(l[10]=e=>s.value=!1)},null,8,["objtake","show"]),e.createVNode(ye,{show:u.value,list:w.value,onFill:l[11]||(l[11]=e=>u.value=!1),onConfig:D},null,8,["show","list"]),e.createVNode(re,{onBack:l[12]||(l[12]=e=>m.value=!1),show:m.value,font:"是否发起退货流程?",onRight:x},null,8,["show"]),e.createVNode(a,{show:d.value,font:v.value,onClose:l[13]||(l[13]=e=>d.value=!1)},null,8,["show","font"])])}}}),[["__scopeId","data-v-5b3981fb"]]),fe=s({__name:"tijiao",props:{show:{type:Boolean,default:!1},font:{type:String,default:""},plsbuy:{type:Object}},emits:["back"],setup(t,{emit:a}){const n=t,o=a,i=e.ref(!1);return e.watch((()=>n.show),(e=>{e?setTimeout((()=>{i.value=!0,l("log","at pages/NursingNew/component/pleasetake/common/tijiao.vue:52","plsbuy =>",n.plsbuy)}),50):i.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:i.value?220:-2})},[e.createElementVNode("view",{class:"title"}," 请领详情 "),e.createElementVNode("view",{class:"contect"},[e.createElementVNode("view",{class:"contect-ones"}," 请领区域护理单元01 ")])],6),t.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mengban",onClick:a[0]||(a[0]=()=>o("back"))})):e.createCommentVNode("",!0)]))}},[["__scopeId","data-v-e14ca618"]]),xe=s(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 o=e.ref([]),i=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),m=e.ref(0),d=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,o.value=[],o.value.push(...e.result.records),i.value=e.result.total,e.result.records.length&&(p.value=!1,J({qldNo:e.result.records[0].qldNo}).then((e=>{d.value=[],d.value.push(...e.result),p.value=!0}))),e.result.records.length<s.pageSize&&(s.canpull=!1)):u.value=!0}))},w=e.ref(!0),h=()=>{w.value&&(s.pageNo++,y(),w.value=!1,setTimeout((()=>{w.value=!0}),500))},y=()=>{s.canpull&&G(s).then((e=>{l("log","at pages/NursingNew/component/pleasetake/component/returnorder.vue:396","???加载",e.result.records),o.value.push(...e.result.records),i.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=()=>{K({qldNo:o.value[c.value].qldNo}).then((e=>{f.value=!1,e.success?o.value[c.value]=e.result.result:(s.pageNo=1,s.canpull=!0,m.value=1,setTimeout((()=>{m.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 i=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"}," 回退单 "),u.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"right-button-father"},[e.createElementVNode("view",{class:"right-button",onClick:a[0]||(a[0]=e=>f.value=!0)},[e.createElementVNode("image",{src:R}),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(te,{cont:"暂无数据",show:u.value},null,8,["show"])],4),[[e.vShow,t.isShow]]),e.createVNode(i,{show:f.value,font:"确定要作废这个回退单吗",onBack:a[2]||(a[2]=e=>{f.value=!1}),onRight:x},null,8,["show"]),e.createVNode(fe,{show:E.value,plsbuy:o.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":m.value,onScrolltolower:h,"lower-threshold":200},[e.createElementVNode("view",{style:{height:"1%"}}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,((t,l)=>{var a,n,i,r;return e.openBlock(),e.createElementBlock("view",{class:"pls-card",key:l,onClick:e=>((e,t)=>{let l=Math.ceil(e+1);if(m.value=175.4*(l-2),c.value=e,p.value=!1,J({qldNo:o.value[e].qldNo}).then((e=>{d.value=[],d.value.push(...e.result),p.value=!0})),"N"==t.izYgRead){let l={status:"yg",qldNo:o.value[e].qldNo};H(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:X})]),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:X}))]),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:X}))]),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:Q}),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(d.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==d.value.length&&p.value?(e.openBlock(),e.createBlock(le,{key:0,cont:"暂无数据",style:{width:"30%",height:"30%",position:"absolute"}})):e.createCommentVNode("",!0)])])],4),[[e.vShow,t.isShow&&!u.value]])],64)}}}),[["__scopeId","data-v-118b4367"]]),Ee=s(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 o=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(Ne,{key:0,onChangePageNumber:o})),e.createVNode(ae,{isShow:1==l.value},null,8,["isShow"]),e.createVNode(xe,{isShow:2==l.value},null,8,["isShow"])],4))}}),[["__scopeId","data-v-b3ec417b"]]),Ve="/static/index/newruler/jiao.png",ke=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/care/directive/deleteDirective`,method:"post",data:e}),be=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/care/directive/editDirective`,method:"post",data:e});function Se(e,t,l,a="png",n=0,o=!1){return Array.from({length:l},((l,i)=>{const r=o?String(i+n).padStart(2,"0"):i+n;return`${e}/${t}${r}.${a}`}))}const Be=[{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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/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:Se("/static/index/diet","drainage_",6,"png",1,!1)}],levle:"1",title:"5 排泄照料",key:"1902560510768549889"}],Ce=300,Te=s(e.defineComponent({__name:"index",props:{isshow:{type:Boolean,required:!0},darkFans:{type:Boolean},canmove:{type:Boolean},liang:{type:Object},isold:{type:Boolean,required:!0},propsmove:{type:Number},isMain:{type:Boolean}},emits:["vip","changeold"],setup(t,{emit:a}){const n=t;e.watch((()=>n.isMain),((e,t)=>{n.isshow&&(!0===t&&!1===e?(fe.value.index0=8,fe.value.index1=0,G.value=!0):!1===t&&!0===e&&(fe.value.index0=-1,fe.value.index1=-1))})),e.watch((()=>n.isold),(()=>{n.isold&&(ht(),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--:(ht(),D.value=1,I.value=1,e.nextTick((()=>{I.value=0,D.value=775}))),pe.value=0,f.value=!f.value)}));const o=e.ref(!1),i=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:v.value=!1,g.value=!1,r.value=!1,o.value=!1,H.value=1}else if(o.value)switch(n.propsmove){case 0:i.value-3>0?i.value=i.value-3:i.value=0;break;case 1:i.value>3||i.value++;break;case 2:i.value+3>3?i.value=4:i.value=i.value+3;break;case 3:i.value&&i.value--;break;case 4:h(i.value);break;case 5:v.value=!1,g.value=!1,r.value=!1,o.value=!1,H.value=0}else if(4===n.propsmove)if(G.value)Qe();else switch(H.value){case 0:g.value=!1,v.value=!v.value,o.value=!0,i.value=0;break;case 1:v.value=!1,g.value=!g.value,r.value=!0,c.value=0;break;case 2:tt();break;default:Ie()}else G.value?Z(n.propsmove):K(n.propsmove)}));const s=e.ref("translate3d(0, 0, 0)");let u=0,m=!1;const d=e.ref(!1),v=e.ref(!1),g=e.ref(!1);e.watch((()=>v.value),(()=>{setTimeout((()=>{d.value=v.value,Ne("vip",d.value)}),50)}));const w=e.ref(!1);e.watch((()=>g.value),(()=>{setTimeout((()=>{w.value=g.value,Ne("vip",w.value)}),50)})),e.ref([]),e.ref([]);const h=e=>{if("Y"==st.value[e].izSelected)st.value[e].izSelected="N";else{let t=0;if(st.value.forEach((e=>{"Y"==e.izSelected&&t++})),t>1)return void uni.showToast({title:"标签最多只能添加两个",icon:"none",duration:3e3});st.value[e].izSelected="Y"}et()},y=e=>{if("Y"==ct.value[e].izSelected)ct.value[e].izSelected="N";else{let t=0;if(ct.value.forEach((e=>{"Y"==e.izSelected&&t++})),t>1)return void uni.showToast({title:"标签最多只能添加两个",icon:"none",duration:3e3});ct.value[e].izSelected="Y"}et()},N=e.ref(!1),f=e.ref(!1),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 j=e.ref(!1);e.ref(!1),e.ref(!1),e.ref(""),e.ref(!1);const $=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 W=()=>{if(Se.value.index0===fe.value.index0&&Se.value.index1===fe.value.index1)return P.value=!1,Se.value.index0=-1,void(Se.value.index1=-1);rt.value[fe.value.index0].children[fe.value.index1].id?ke(rt.value[fe.value.index0].children[fe.value.index1]).then((e=>{Y()})):Y()},Y=()=>{let e=JSON.parse(JSON.stringify(rt.value[Se.value.index0].children[Se.value.index1]));We.value=[fe.value.index0,fe.value.index1];let t=rt.value[Se.value.index0].children[Se.value.index1].tagName;rt.value[Se.value.index0].children[Se.value.index1]={directiveName:"",tagName:t};let l=rt.value[We.value[0]].children[We.value[1]].tagName;rt.value[We.value[0]].children[We.value[1]]=e,rt.value[We.value[0]].children[We.value[1]].tagName=l;let a=rt.value[We.value[0]].children[We.value[1]].startTime,n=rt.value[We.value[0]].children[We.value[1]].endTime,o=rt.value[We.value[0]].positioning;const i=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=i(a),c=i(n);let s=60*c.hour+c.minute-(60*r.hour+r.minute);s<0&&(s+=1440);const u=Number(String(l).trim()),m=Number(String(o).trim());if(!Number.isFinite(u)||u<0||u>=60)throw new Error("newtagName 必须是 0-59 的数字字符串或数字");if(!Number.isFinite(m)||m<0)throw new Error("positioning 必须是有效小时(数字或数字字符串)");const d=60*m+u+s,v=Math.floor(d/60)%24,p=d%60,g=e=>String(e).padStart(2,"0");rt.value[We.value[0]].children[We.value[1]].startTime=`${String(m)}:${g(u)}`,rt.value[We.value[0]].children[We.value[1]].endTime=`${String(v)}:${g(p)}`,Se.value.index0=-1,Se.value.index1=-1,P.value=!1;let w={index0:fe.value.index0,index1:fe.value.index1};ot(w);let h=rt.value[fe.value.index0].children[fe.value.index1];h.positioning=fe.value.index0,h.positioningLong=fe.value.index1,be(h).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,we.value=-1,e.nextTick((()=>{T.value=0,C.value=0,we.value=0})),ge.value=0,pe.value=t,U.value=null==(l=_.value[t])?void 0:l.children,he.value=0):uni.navigateTo({url:"/pages/watch/full"})},X=e.ref(!1),Q=()=>{ne.value=!1,N.value=!1,P.value?W():rt.value[fe.value.index0].children[fe.value.index1].directiveName?(Se.value.index0=fe.value.index0,Se.value.index1=fe.value.index1,P.value=!0):(X.value=!0,setTimeout((()=>{X.value=!1}),1500))};e.ref(!0),e.ref(!1);const G=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:v.value=!1,g.value=!1,H.value=-1,fe.value.index0=J.value,G.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),oe=()=>{Se.value.index0=-1,Se.value.index1=-1,P.value=!1,N.value=!1,rt.value[fe.value.index0].children[fe.value.index1].directiveName?ne.value?(ne.value=!1,Me(fe.value.index0,fe.value.index1)):(ne.value=!0,setTimeout((()=>ft.value=!0),50)):(X.value=!0,setTimeout((()=>{X.value=!1}),1500))};function ie(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,m||(m=!0,re((()=>{s.value=`translate3d(0, -${u}px, 0)`,m=!1})))}const se=e.ref(0);function ue(e){se.value=e.detail.scrollLeft}e.ref(!0);const me=(e,t,l)=>e.cycleType?Se.value.index0===t&&Se.value.index1===l?"title-time-border-yellow-active-transparent":_e.value?"title-time-border-yellow-active":"title-time-border-yellow":"title-time-border";function de(e,t,l,a="png",n=0,o=!1){return Array.from({length:l},((l,i)=>{const r=o?String(i+n).padStart(2,"0"):i+n;return`${e}/${t}${r}.${a}`}))}const ve=e.ref([{url:de("/static/index/newruler","daily_",6,"png",1,!1),name:"日常"},{url:de("/static/index/newruler","clean_",8,"png",1,!1),name:"清洁"},{url:de("/static/index/newruler","diet_",7,"png",1,!1),name:"饮食"},{url:de("/static/index/newruler","sleep_",5,"png",1,!1),name:"睡眠"},{url:de("/static/index/newruler","defecate_",5,"png",1,!1),name:"排泄"}]),pe=e.ref(1),ge=e.ref(0),we=e.ref(-1),he=e.ref(0),ye=e.ref(0);e.ref(!1),e.ref([]);const Ne=a;e.ref(!1);const fe=e.ref({index0:-1,index1:-1});e.ref(0),e.ref([]);e.ref(null),e.ref({}),e.ref(0),e.ref(0);const xe=e.ref(0),Ee=e.ref(0),Se=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]),ke(rt.value[e].children[t]).then((e=>{e.success&&ut()}))};e.ref(null),e.ref(!1),e.ref(!1);const je=e.ref(0),$e=e.ref(0);e.ref(!1),e.ref(""),e.ref("");const Le=e.ref(null),Pe=e.ref(!1),Ae=e=>{je.value=Math.floor(e.touches[0].pageX),$e.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-je.value)>0||Math.abs(l-$e.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 We=e.ref([-1,-1]);e.ref(null);const Ye=()=>{L.value=!1,$.value=!0,setTimeout((()=>{L.value=!0}),50)},Re=e.ref(!1);let Xe=null;async function Qe(){Xe&&(clearTimeout(Xe),Xe=null),Re.value=!1,await e.nextTick(),Re.value=!0,Ze(),Xe=setTimeout((()=>{Re.value=!1,Xe=null}),1e3)}const Ge=e=>{var t;(t=e,p({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},p({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(fe.value.index0,fe.value.index1);if(P.value)return void W();let a=!1;if((null==(t=rt.value[fe.value.index0])?void 0:t.children[fe.value.index1].directiveName)&&(a=!0),yt.value){let e=mt.value[ye.value];if(-1===fe.value.index1&&-1===fe.value.index0)return;if(ne.value)return ne.value=!1,void Me(fe.value.index0,fe.value.index1);if(P.value)return void W();Se.value.index0=-1,Se.value.index1=-1,P.value=!1;let t="打包",n="";const o=Number(fe.value.index0),i=Number(rt.value[fe.value.index0].children[fe.value.index1].tagName),r=i+Number(e.serviceDuration),c=o+Math.floor(r/60),s=`${String(o)}:${String(i).padStart(2,"0")}`,u=`${String(c)}:${String(r%60).padStart(2,"0")}`;let m={id:a?rt.value[fe.value.index0].children[fe.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:fe.value.index0.toString(),positioningLong:fe.value.index1.toString(),izPackage:"Y",previewFile:"",previewFileSmall:"",netPreviewFile:"",netPreviewFileSmall:"",immediateFile:"",immediateFileFocus:"",netImmediateFileFocus:"",netImmediateFile:"",tagName:rt.value[fe.value.index0].children[fe.value.index1].tagName,mp3File:e.mp3File,netMp3File:e.netMp3File,mp4File:e.mp4File,netMp4File:e.netMp4File,serviceContent:e.serviceContent};rt.value[fe.value.index0].children[fe.value.index1]=m;let d={index0:fe.value.index0,index1:fe.value.index1};return ot(d),l("log","at pages/NursingNew/component/nurse/index.vue:1825","zou",a),void(a?be(m).then((e=>{e.success&&ut()})):Ge(m))}let n=!1,o=_.value[pe.value].children[ge.value].children[he.value];if("即时护理"===o.cycleType)return z.value=1,x.value.forEach(((e,t)=>{e.directiveName==o.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=o;e.directiveId=o.id,e.directiveName=o.title,e.serviceDuration=o.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,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/care/directive/addInstant`,method:"post",data:t})).then((e=>{e.success&&ut()}))}),1500)}}));if(-1===fe.value.index1&&-1===fe.value.index0)return;if(Se.value.index0=-1,Se.value.index1=-1,P.value=!1,"周期护理"===o.cycleType&&B.value&&-1==te.value&&-1==ae.value)return;if("周期护理"===o.cycleType&&!B.value)return void(B.value=!0);let i="",r="";if("日常护理"===o.cycleType)i="日常";else{if(-1!==te.value){i=ee.value;let e=0;k.forEach(((t,l)=>{t==ee.value&&(e=l)})),r=e.toString()}else i=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(fe.value.index0),s=Number(rt.value[fe.value.index0].children[fe.value.index1].tagName),u=s+Number(o.serviceDuration),m=c+Math.floor(u/60),d=`${String(c)}:${String(s).padStart(2,"0")}`,v=`${String(m)}:${String(u%60).padStart(2,"0")}`;l("log","at pages/NursingNew/component/nurse/index.vue:1937","allobject",o);let g={id:a?rt.value[fe.value.index0].children[fe.value.index1].id:"",nuId:uni.getStorageSync("nuId"),nuName:uni.getStorageSync("nuName"),customerId:uni.getStorageSync("customerId"),customerName:uni.getStorageSync("NUall").elderInfo.name,directiveId:o.id,directiveName:o.title,typeId:o.typeId,typeName:o.typeName,categoryId:o.categoryId,categoryName:o.categoryName,cycleTypeId:o.cycleTypeId,cycleType:i,cycleValue:r,startTime:d,endTime:v,positioning:fe.value.index0.toString(),positioningLong:fe.value.index1.toString(),izPackage:"N",previewFile:o.previewFile,previewFileSmall:o.previewFileSmall,serviceDuration:o.serviceDuration,immediateFile:o.immediateFile,immediateFileFocus:o.immediateFileFocus,netImmediateFileFocus:o.netImmediateFileFocus,netImmediateFile:o.netImmediateFile,tagName:rt.value[fe.value.index0].children[fe.value.index1].tagName,mp3File:o.mp3File,netMp3File:o.netMp3File,mp4File:o.mp4File,netMp4File:o.netMp4File,serviceContent:o.serviceContent,netPreviewFile:o.netPreviewFile,netPreviewFileSmall:o.netPreviewFileSmall};rt.value[fe.value.index0].children[fe.value.index1]=g;let w={index0:fe.value.index0,index1:fe.value.index1};ot(w),l("log","at pages/NursingNew/component/nurse/index.vue:1981","日常指令看看进入了啥",g),a?be(g).then((e=>{e.success&&ut()})):Ge(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,p({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),ot=e=>{fe.value.index0=e.index0,fe.value.index1=e.index1,ht(),at.value.index0=e.index0,at.value.index1=e.index1,lt.value.index0=at.value.index0,lt.value.index1=at.value.index1,at.value.bordershow=!1,setTimeout((()=>{at.value.index0=-1,at.value.index1=-1,at.value.current=-1}),400),setTimeout((()=>{at.value.bordershow=!0,lt.value.index0=-1,lt.value.index1=-1}),1e3)},it=["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:it.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"),p({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:it.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=[],dt.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&&dt.value.push(e.netPic)}))}))},mt=e.ref([]);e.onMounted((()=>{mt.value=uni.getStorageSync("Packagelist")||[];let e=uni.getStorageSync("saveTree"),t=[];Be.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,we.value=-1,setTimeout((()=>{pe.value=0,we.value=0}),50),uni.$on("where",gt),we.value=0,ut()}));const dt=e.ref([]),vt=e.ref([]),pt=e.ref(!1);function gt(e){nt.value=3,ot(e)}function wt(e){let t=[],l=e,a=/([^(]*)[(]([^)]+)[)]/;for(;a.test(l);){let e=l.match(a);e&&(e[1].trim()&&t.push(e[1].trim()),e[2].trim()&&t.push(e[2].trim()),l=l.replace(e[0],"").trim())}return l.trim()&&t.push(l.trim()),t}function ht(){if(fe.value.index0>=0&&fe.value.index0<=24&&fe.value.index1>=0&&fe.value.index1<=11){const e=259*(fe.value.index0+.5),t=200*(fe.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),m=!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,m,p,f,q,W,Y,J,Z,K,re,se,de,ve,Ne,ke,be,Be,Me,je;const $e=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||o.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=>v.value=!1)},null,512),[[e.vShow,v.value]]),e.withDirectives(e.createElementVNode("view",{class:"mark-bgc",style:e.normalizeStyle({opacity:d.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=>h(l)},[e.createElementVNode("view",{class:e.normalizeClass(["tags-father",i.value===l?"secondtarget":""])},[e.createElementVNode("image",{class:"tags-img",src:"Y"==t.izSelected?t.netPicFocus:t.netPic},null,8,["src"]),e.createElementVNode("view",{class:"tags-font",style:e.normalizeStyle("Y"==t.izSelected?{color:"rgb(54, 159, 239)"}:{})},e.toDisplayString(t.tagName),5)],2)],8,["onClick"])))),128))])],4),[[e.vShow,v.value]])]),e.createElementVNode("view",{class:"marknone",onClick:n[2]||(n[2]=e=>{v.value=!v.value,g.value=!1})},[dt.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(dt.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=>{v.value=!v.value,g.value=!1})})],2),e.createElementVNode("view",{style:{display:"flex","align-items":"center","margin-right":"15rpx",padding:"0 15rpx"},class:e.normalizeClass(1!==H.value||o.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:w.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,v.value=!1})},[vt.value.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,style:{"margin-top":"-3rpx"}}," 未选择 ")),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(vt.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{key:l},[e.createElementVNode("image",{class:"tags-img",style:{width:"40rpx",height:"40rpx",margin:"0 10rpx"},src:t},null,8,["src"])])))),128))]),e.createElementVNode("view",{class:"tri-down",onClick:n[7]||(n[7]=e=>{g.value=!g.value,v.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,((o,i)=>(e.openBlock(),e.createElementBlock("view",{style:{width:"100%"},key:i},[e.createElementVNode("view",{class:e.normalizeClass(at.value.index0===n&&at.value.index1===i?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!==i?{borderBottom:"1rpx solid transparent"}:{zIndex:999},{position:"relative"}]),id:`a${n}_${i}`,onClick:t=>((t,a,n)=>{ne.value=!1,fe.value.index0=a,fe.value.index1=n,ht(),G.value=!0,setTimeout((()=>{t.directiveName&&N.value&&(ze.value=n,uni.createSelectorQuery().selectAll(".super-card-time-card").boundingClientRect((t=>{t.forEach((async t=>{var o,i;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?(xe.value=Math.floor(t.left)+528,Ue.value[0]=!0):(xe.value=Math.floor(t.left)-18,Ue.value[0]=!1),t.top>500?(Ee.value=Math.floor(t.top)+100,Ue.value[1]=!0):(Ee.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==(i=null==(o=rt.value[Fe.value[0]])?void 0:o.children[Fe.value[1]])?void 0:i.izPackage),j.value=!1,setTimeout((()=>{j.value=!0}),100))}))})).exec())}),400)})(o,n,i),"data-index0":n,"data-index1":i},[Se.value.index0===n&&Se.value.index1===i&&0==i?(e.openBlock(),e.createElementBlock("view",{key:0,class:"time-button-orange-spe",style:e.normalizeStyle({left:Se.value.index0?"-130rpx":"0"})}," 请选择服务指令迁移的目标单元格 ",4)):e.createCommentVNode("",!0),Se.value.index0===n&&Se.value.index1===i&&i?(e.openBlock(),e.createElementBlock("view",{key:1,class:"time-button-orange",style:e.normalizeStyle({left:Se.value.index0?"-130rpx":"0"})}," 请选择服务指令迁移的目标单元格 ",4)):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("view",{class:"title-time-blue"},null,512),[[e.vShow,fe.value.index0==n&&fe.value.index1==i&&G.value]]),e.createElementVNode("view",{class:e.normalizeClass(me(o,n,i)),style:e.normalizeStyle([{"font-size":"30rpx",overflow:"hidden"},{animationDelay:`-${ie(n,i).toFixed(2)}s`}])},[o.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:o.netImmediateFile?o.netImmediateFile:"/static/logo.png"},null,8,["src"]),[[e.vShow,o.startTime]]),e.createElementVNode("view",{class:"title-time-time",style:{"font-size":"30rpx"}},e.toDisplayString(o.startTime+"-"+o.endTime),1),"日常"!=o.cycleType?(e.openBlock(),e.createElementBlock("image",{key:0,class:"title-time-button",style:{width:"80rpx",height:"50rpx"},src:Ve})):e.createCommentVNode("",!0),"日常"!=o.cycleType?(e.openBlock(),e.createElementBlock("view",{key:1,class:"title-time-font",style:{right:"10rpx",top:"5rpx"}},e.toDisplayString(o.cycleType),1)):e.createCommentVNode("",!0)],512)),[[e.vShow,t.liang.index0!==n||t.liang.index1!==i||t.canmove]]):e.createCommentVNode("",!0),o.startTime?(e.openBlock(),e.createElementBlock("view",{key:1,class:"title-time-font-rel"},e.toDisplayString(wt(o.directiveName)[0]),1)):e.createCommentVNode("",!0),fe.value.index0==n&&fe.value.index1==i&&G.value&&!o.startTime?(e.openBlock(),e.createElementBlock("view",{key:2,class:"pulic-time"},e.toDisplayString((1==a.positioning.length?"0"+a.positioning:a.positioning)+":"+V[i]),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<Ce?(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<Ce?(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==(m=null==(u=_.value[pe.value])?void 0:u.children[ge.value])?void 0:m.children,((t,l)=>{var a;return e.openBlock(),e.createElementBlock("view",{key:l,onClick:e=>function(e){const t=Date.now();he.value=e,t-O.value<Ce?(he.value=e,Ze(),O.value=0):(he.value=e,O.value=t)}(l)},[e.createElementVNode("view",{class:"right-box-item",style:e.normalizeStyle(he.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:Ve},null,512),[[e.vShow,"周期护理"===t.cycleType]]),e.withDirectives(e.createElementVNode("image",{class:"title-time-button",src:Ve},null,512),[[e.vShow,"即时护理"===t.cycleType]]),e.createElementVNode("image",{class:"right-box-img",src:he.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"},he.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(we.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,we.value=t,he.value=0,C.value=1,e.nextTick((()=>{C.value=0}))})(l)},[e.createVNode($e,{width:"55rpx",height:"55rpx",links:t.url,playing:we.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($e,{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(mt.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<Ce?(Ze(),O.value=0):O.value=t})(l)},[e.createElementVNode("image",{class:"zhiling-card-button",src:Ve}),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:Q},[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:oe},[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:Ye},[e.createElementVNode("image",{class:"white-circle-img",src:`/static/index/keyimg/notebutton${$.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,Se.value.index0=-1,Se.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:Qe},[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,Se.value.index0=999,ze.value=-1})},["N"===(null==(f=null==(p=rt.value[Fe.value[0]])?void 0:p.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*Ee.value-350+"rpx",left:2*xe.value-780+"rpx",opacity:j.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==(W=null==(q=rt.value[Fe.value[0]])?void 0:q.children[Fe.value[1]])?void 0:W.netImmediateFileFocus},null,8,["src"])]),e.createElementVNode("view",{class:"popup-overlay-content-right"},[e.createElementVNode("view",{class:"time-font"},e.toDisplayString(null==(J=null==(Y=rt.value[Fe.value[0]])?void 0:Y.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*Ee.value-350+"rpx",left:2*xe.value-780+"rpx",opacity:j.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==(de=rt.value[Fe.value[0]])?void 0:de.children[Fe.value[1]])?void 0:ve.startTime)+" - "+e.toDisplayString(null==(ke=null==(Ne=rt.value[Fe.value[0]])?void 0:Ne.children[Fe.value[1]])?void 0:ke.endTime),1),(null==(Be=null==(be=rt.value[Fe.value[0]])?void 0:be.children[Fe.value[1]])?void 0:Be.directivesList)?(e.openBlock(),e.createElementBlock("view",{key:0,class:"specia-cards"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(null==(je=null==(Me=rt.value[Fe.value[0]])?void 0:Me.children[Fe.value[1]])?void 0:je.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:Ve}),e.createElementVNode("view",{class:"title-time-font",style:{right:"10rpx",top:"5rpx","font-size":"23rpx"}},e.toDisplayString(t.cycleType?t.cycleType:"日常"),1)]),e.createElementVNode("view",{class:"title-time-font-rel"},e.toDisplayString(wt(t.directiveName)[0]),1)])))),128))])):e.createCommentVNode("",!0)])],6))],512),[[e.vShow,M.value]]),e.withDirectives(e.createElementVNode("view",{class:"popup-say",onClick:n[16]||(n[16]=e=>$.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,$.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=>oe())},"确定")]),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[fe.value.index0].children[fe.value.index1].netImmediateFile?rt.value[fe.value.index0].children[fe.value.index1].netImmediateFile:"/static/logo.png"},null,8,["src"]),e.createElementVNode("view",{class:"title-time-time",style:{"font-size":"30rpx"}},e.toDisplayString(rt.value[fe.value.index0].children[fe.value.index1].startTime+"-"+rt.value[fe.value.index0].children[fe.value.index1].endTime),1),rt.value[fe.value.index0].children[fe.value.index1].cycleType?(e.openBlock(),e.createElementBlock("image",{key:0,class:"title-time-button",style:{width:"80rpx",height:"48rpx"},src:Ve})):e.createCommentVNode("",!0),rt.value[fe.value.index0].children[fe.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[fe.value.index0].children[fe.value.index1].cycleType),1)):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"title-time-font-rel"},e.toDisplayString(wt(rt.value[fe.value.index0].children[fe.value.index1].directiveName)[0]),1)])])],2)):e.createCommentVNode("",!0)],4)}}}),[["__scopeId","data-v-e5d3b9d6"]]),ze=s(e.defineComponent({__name:"index",setup(t){e.onMounted((()=>{o.value=-1,e.nextTick((()=>o.value=3)),u.value=2,uni.getSystemInfoSync(),uni.pageScrollTo,l.value=uni.getStorageSync("realname"),p({url:`${uni.getStorageSync("serverUrl")}/api/pad/care/directive/getServiceTree`,method:"get"}).then((e=>{uni.setStorageSync("saveTree",e)})),p({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,o=!1){return Array.from({length:l},((l,i)=>{const r=o?String(i+n).padStart(2,"0"):i+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:"返回"}]),o=e.ref(-1),i=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 m=e=>{o.value!==e&&(o.value=e,i.value=!1,r.value=!1,c.value=!1,s.value=!1,setTimeout((()=>{switch(e){case 0:i.value=!0;break;case 1:r.value=!0;case 3:c.value=!0;break;case 4:s.value=!0}}),50))},d=e=>{uni.$emit("smallmonitor:isshow",!1),T.value=!0,z.value=e,o.value=e,i.value=!1,r.value=!1,c.value=!1,s.value=!1,5!==e?setTimeout((()=>{switch(e){case 0:i.value=!0;break;case 1:r.value=!0;break;case 3:c.value=!0;break;case 4:s.value=!0}}),50):uni.navigateBack()},v=e.ref(0),g=e.ref(0),w=e.ref(""),h=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];v.value=2*(Math.floor(l.clientX)-100),g.value=2*(Math.floor(l.clientY)-55),f.translate3d(v.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,o=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(o){const{index0:e,index1:l}=o.dataset;y.value.index0=e,y.value.index1=l,v.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;v.value=9999,g.value=9999,f.translate3d(v.value/2,g.value/2,0).step({duration:0}),x.value=f.export(),h.value=!0,y.value={index0:999,index1:999},w.value?u.value||null==(e=b.value)||e.rulerEnd(w.value):k.value.typeName&&(0===u.value?null==(t=b.value)||t.rulerMoveEnd(k.value):null==(l=S.value)||l.rulerMoveEnd(k.value)),w.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((()=>{d(o.value)}),50),i.value=!1,setTimeout((()=>{i.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=o.value));if(T.value){switch(t){case 0:z.value&&(z.value--,m(z.value));break;case 1:T.value=!1,z.value=-1;break;case 2:z.value<n.value.length-1&&(z.value++,m(z.value));break;case 3:break;case 4:5===z.value&&uni.navigateBack(),m(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(w.value),9,["animation"]),[[e.vShow,w.value&&v.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===o.value?{backgroundColor:"#fff"}:{}),onClick:e=>d(l)},[e.createVNode(a,{width:"55rpx",height:"55rpx",links:t.url,playing:l===o.value},null,8,["links","playing"]),e.createElementVNode("text",{style:{"font-size":"31rpx","margin-left":"15rpx"}},e.toDisplayString(t.name),1)],14,["onClick"])))),128))])]),o.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock($,{key:0,isShow:i.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==o.value?(e.openBlock(),e.createBlock(W,{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==o.value?(e.openBlock(),e.createBlock(Ee,{key:2,isShow:c.value},null,8,["isShow"])):e.createCommentVNode("",!0),1==o.value&&2===u.value&&uni.getStorageSync("customerId")&&uni.getStorageSync("nuId")?(e.openBlock(),e.createBlock(Te,{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"]]),De="/static/index/procurement/sh.png",Ie="/static/index/procurement/bk.png",Ue=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getMaterialTreeData?nuId=`+e.nuId,method:"get",data:e}),Fe=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getGwcMaterialTreeData?nuId=`+e.nuId,method:"get",data:e}),_e=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getCgdMaterialTreeData?nuId=`+e.nuId,method:"get",data:e}),Me=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryCgdList`,method:"get",data:e}),je=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryShoppingCartList`,method:"get",data:e}),$e=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getTreeDataWlnum`,method:"get",data:e}),Le=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getGwcTreeDataWlnum`,method:"get",data:e}),Pe=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getCgdTreeDataWlnum`,method:"get",data:e}),Ae=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/thd/thdList`,method:"get",data:e}),qe=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/thd/transRead`,method:"POST",data:e}),Oe=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/thd/thdNuMaterialList`,method:"get",data:e});const We=s({props:{cont:"",style:{}}},[["render",function(t,l,a,n,o,i){return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:"que",style:e.normalizeStyle(a.style)},[e.createElementVNode("image",{src:ee,mode:"aspectFill"}),e.createElementVNode("view",null,e.toDisplayString(a.cont),1)],4)])}],["__scopeId","data-v-a9fa2905"]]);const Ye=s({props:{show:{type:Boolean,default:!1},font:{type:String,default:""}},methods:{}},[["render",function(t,l,a,n,o,i){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:ie,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"]]),Re=s(e.defineComponent({__name:"thwl",props:{Material:{type:Array,required:!0},status:{type:String}},emits:["delall","del","submit"],setup(t,{emit:l}){const a=t,n=l,o=e.ref(uni.getStorageSync("serverUrl")+"/sys/common/static/"),i=e.ref(!1),r=e.ref(0);e.watch((()=>a.Material),(()=>{0==a.Material.length&&(i.value=!1,r.value=0)}));const c=()=>{n("delall"),setTimeout((()=>{r.value=0,i.value=!1}),100)},s=()=>{0!=a.Material.length?(i.value=!i.value,r.value=0,w()):uni.showToast({icon:"none",title:"请添加退货物料!"})},u=e.ref(0),m=e=>{u.value=e.touches[0].clientX},d=e.ref(0);function v(e){var t;d.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&&!i.value&&(i.value=!i.value,r.value=0,p.value=d.value+125.99,setTimeout((()=>{p.value=d.value+126}),50)),t>60&&i.value&&(i.value=!i.value,r.value=0,p.value=d.value-125.99,setTimeout((()=>{p.value=d.value-126}),50))},w=()=>{i.value?(p.value=d.value+125.99,setTimeout((()=>{p.value=d.value+126}),50)):(p.value=d.value-125.99,setTimeout((()=>{p.value=d.value-126}),50))},h=e.ref(!1);return e.onMounted((()=>{setTimeout((()=>{h.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:e.normalizeClass(["kcscrol guodu",0==t.Material.length?"fff":""]),onScroll:v,"scroll-with-animation":"","scroll-left":p.value,style:e.normalizeStyle(i.value?"width:calc(100% - 21.8vw)":t.status<2?"width:calc(100% - 9vw)":"width:calc(100% - 5vw)")},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.Material,((t,l)=>{var a,i;return e.openBlock(),e.createElementBlock("view",{class:"yjbox",key:l},[e.createElementVNode("image",{src:(null==(a=t.materialInfo)?void 0:a.materialImg)?o.value+(null==(i=t.materialInfo)?void 0:i.materialImg):"/static/index/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",null,e.toDisplayString(t.materialInfo.materialName),1),t.thNum>=0?(e.openBlock(),e.createElementBlock("text",{key:0,class:"ytj"},e.toDisplayString(t.thNum),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)])})),128)),0==t.Material.length&&h.value?(e.openBlock(),e.createBlock(We,{key:0,cont:"暂无数据",style:{position:"absolute",width:"10vw",height:"10vw"}})):e.createCommentVNode("",!0)],46,["scroll-left"]),t.status<2?(e.openBlock(),e.createElementBlock("view",{key:0,class:"kjlt more guodu",style:e.normalizeStyle(i.value?"width:15vw":""),onTouchstart:m,onTouchmove:g},[e.createElementVNode("view",{onClick:s,class:"righ0"},[e.createTextVNode(e.toDisplayString(i.value?"收起":"更多")+" ",1),e.createElementVNode("image",{class:"guodu",style:e.normalizeStyle(i.value?"transform: rotate(180deg);":""),src:oe,mode:"aspectFill"},null,4)]),e.createElementVNode("view",{class:e.normalizeClass(["guodu",i.value?1==r.value?"avt":"":"righ0"]),onClick:a[0]||(a[0]=e=>{r.value=1==r.value?0:1})}," 批量移除 ",2),e.createElementVNode("view",{class:e.normalizeClass(["guodu",i.value?2==r.value?"avt":"":"righ0"]),onClick:a[1]||(a[1]=e=>{r.value=2})}," 清空列表 ",2),1==t.status?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass(["guodu",i.value?3==r.value?"avt":"":"righ0"]),onClick:a[2]||(a[2]=e=>{r.value=3,n("submit")})}," 提交退货单 ",2)):e.createCommentVNode("",!0)],36)):e.createCommentVNode("",!0)]),e.createVNode(Ye,{onBack:a[3]||(a[3]=e=>r.value=0),show:2==r.value,font:"确定将本次退货清单中的所有物料都移除吗?",onRight:c},null,8,["show"])]))}}),[["__scopeId","data-v-0096a5af"]]),Xe=s(e.defineComponent({__name:"takeing",props:{objtake:{type:Object},show:{type:Boolean}},emits:["fill","right"],setup(t,{emit:l}){const a=t,n=e.ref(uni.getStorageSync("serverUrl")+"/sys/common/static/"),o=l,i=e.ref(!1);e.watch((()=>a.show),(()=>{1==a.show?(u.value=1,s.value=f(u.value),setTimeout((()=>{i.value=!0}),50)):(i.value=!1,m.value=!1,r.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),m=e.ref(!1),d=(e,t)=>{return"AC"==e?(u.value=0,s.value="0000",void v()):"AE"==e?(u.value=Math.trunc(u.value/10),s.value=f(u.value),void v()):0==m.value?(m.value=!0,u.value=e,s.value=f(u.value),void v()):(l=u.value,void(Math.abs(l).toString().length>3?v():(u.value?u.value=10*u.value+e:u.value=e,v(),s.value=f(u.value))));var l},v=()=>{let e=a.objtake.wlNum,t=u.value;r.value=t>e},p=e.ref(null),g=e=>{h(e)},w=()=>{clearInterval(p.value)},h=e=>{p.value=setInterval((()=>{y(e)}),120)},y=e=>{let t=a.objtake.wlNum;u.value>=t&&1==e?u.value=t:u.value<=1&&-1==e?u.value=1:(u.value+=e,v(),s.value=f(u.value))},N=()=>{o("right",u.value,a.objtake)};function f(e){const t=Math.floor(Math.abs(e));return String(t).padStart(4,"0")}return(l,a)=>{var u,m;return e.openBlock(),e.createElementBlock("view",null,[t.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mengban",onClick:a[0]||(a[0]=e=>o("fill"))})):e.createCommentVNode("",!0),e.createElementVNode("view",{class:e.normalizeClass(["takitem guodu",t.show?"":"unclass"]),style:e.normalizeStyle(i.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:(null==(u=t.objtake.materialInfo)?void 0:u.materialImg)?n.value+(null==(m=t.objtake.materialInfo)?void 0:m.materialImg):"/static/index/procurement/k.png",mode:"aspectFill"},null,8,["src"])]),e.createElementVNode("view",{class:"youcont"},[e.createElementVNode("view",null,e.toDisplayString(t.objtake.materialInfo.materialName),1),e.createElementVNode("view",null,[e.createElementVNode("view",null,[e.createTextVNode(" 物料编码 "),e.createElementVNode("text",null,e.toDisplayString(t.objtake.materialInfo.materialNo),1)]),e.createElementVNode("view",null,[e.createTextVNode(" 请购单位 "),e.createElementVNode("text",null,e.toDisplayString(t.objtake.materialInfo.materialUnits),1)])]),e.createElementVNode("view",null,[e.createElementVNode("view",null,[e.createTextVNode(" 规格型号 "),e.createElementVNode("text",{style:{"white-space":"nowrap"}},e.toDisplayString(t.objtake.materialInfo.specificationModel),1)])])])]),e.createElementVNode("view",{class:"qinggou-font"},[e.createTextVNode(" 数量 "),1==r.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[1]||(a[1]=e=>y(-1)),onLongpress:a[2]||(a[2]=e=>g(-1)),onTouchend:w}," - ",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=>y(1)),onLongpress:a[4]||(a[4]=e=>g(1)),onTouchend:w}," + ",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=>d(t)},e.toDisplayString(t),9,["onClick"])]))),64))]),e.createElementVNode("view",{class:"plsbuy-bottom"},[e.createElementVNode("view",{class:"quxiao",onClick:a[5]||(a[5]=e=>o("fill"))}," 取消 "),e.createElementVNode("view",{class:"plsbuy-bottom-blue",onClick:N}," 确定 ")])])])],6)])}}}),[["__scopeId","data-v-b3d4306d"]]),Qe=s(e.defineComponent({__name:"thitem",props:{InvoicingList:{type:Array,required:!0},status:{type:String}},emits:["scrolltolower","comfig"],setup(t,{emit:a}){const n=t;e.ref(0);const o=e.ref({}),i=e.ref(uni.getStorageSync("serverUrl")+"/sys/common/static/"),r=a,c=e.ref(0),s=e.ref(0),u=e.ref(!0),m=e.ref(!1),d=e.ref({}),v=(e,t)=>{r("comfig",e,t),m.value=!1},p=(e,t)=>{l("log","at pages/procurement/common/thitem.vue:139",e),n.InvoicingList.forEach(((e,l)=>{l!=t&&1==e.zk&&(e.zk=!1,e.scrollleft=0)}))},g=e.ref(0),w=e=>{g.value=e.detail.scrollLeft};return(l,a)=>(e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("scroll-view",{"scroll-y":"true",class:"itembox","scroll-with-animation":"",onScrolltolower:a[1]||(a[1]=e=>{r("scrolltolower")}),"enable-back-to-top":""},[e.createElementVNode("view",{class:"box"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.InvoicingList,((l,n)=>{var r,v,h,y;return e.openBlock(),e.createElementBlock("view",{class:"fler",key:n},[e.createElementVNode("scroll-view",{class:"carditem guodu",onTouchend:t=>((t,l,a)=>{let n=t.changedTouches[0].pageY,i=t.changedTouches[0].pageX,r=Math.abs(i-c.value),m=Math.abs(n-s.value);if(u.value=!0,m>30&&r+10<m)return o.value.scrollleft=.01,void setTimeout((()=>{o.value.scrollleft=0}),20);r<10&&m<10?0==o.value.zk&&setTimeout((()=>{o.value.scrollleft=0}),20):(g.value<=40?(o.value.scrollleft=g.value,o.value.zk=!1,e.nextTick((()=>{o.value.scrollleft=0,g.value=0}))):(g.value=150,o.value.scrollleft=g.value,o.value.zk=!0),o.value.zk=!(i>c.value),o.value.scrollleft=o.value.zk?150:0)})(t),onTouchstart:e=>((e,t,l)=>{o.value=t,c.value=e.changedTouches[0].pageX,s.value=e.changedTouches[0].pageY,u.value&&(u.value=!1,p(t,l))})(e,l,n),"scroll-with-animation":"","scroll-x":"true","scroll-left":l.scrollleft,onScroll:w},[l.zhiDingId?(e.openBlock(),e.createElementBlock("view",{key:0,class:"zding"},[e.createElementVNode("image",{src:de,mode:"aspectFill"})])):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"speitem guodu"},[e.createElementVNode("image",{src:(null==(r=l.materialInfo)?void 0:r.materialImg)?i.value+(null==(v=l.materialInfo)?void 0:v.materialImg):"/static/index/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"cardp"},[(null==(h=l.materialInfo)?void 0:h.categoryName)?(e.openBlock(),e.createElementBlock("view",{key:0},e.toDisplayString(l.materialInfo.categoryName),1)):e.createCommentVNode("",!0),(null==(y=l.materialInfo)?void 0:y.typeName)?(e.openBlock(),e.createElementBlock("view",{key:1},e.toDisplayString(l.materialInfo.typeName),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("view",{class:"msitem guodu"},[e.createElementVNode("view",null,[e.createElementVNode("view",null,e.toDisplayString(l.materialInfo.materialName),1)]),e.createElementVNode("view",null,[e.createElementVNode("text",{style:{"white-space":"nowrap"}}," 规格型号: "),e.createElementVNode("view",null,e.toDisplayString(l.materialInfo.specificationModel),1)]),e.createElementVNode("view",null,[e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(l.thNum?l.thNum:"--"),1),e.createElementVNode("text",null,"退货数量")]),e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(l.materialInfo.materialUnits),1),e.createElementVNode("text",null,"退货单位")])])]),e.createElementVNode("view",{class:"add"},[1==l.isAdd?(e.openBlock(),e.createElementBlock("view",{key:0},"已添加")):e.createCommentVNode("",!0)]),t.status<2?(e.openBlock(),e.createElementBlock("view",{key:1,class:"zkadd guodu"},[e.createElementVNode("view",{onClick:e.withModifiers((e=>((e,t,l)=>{d.value=e,m.value=!0})(l)),["stop"]),onTouchend:a[0]||(a[0]=e.withModifiers((()=>{}),["stop"]))}," 添加物料 ",40,["onClick"])])):e.createCommentVNode("",!0)],40,["onTouchend","onTouchstart","scroll-left"])])})),128)),0==t.InvoicingList.length?(e.openBlock(),e.createBlock(We,{key:0,cont:"暂无数据",style:{position:"absolute",width:"10vw",height:"10vw"}})):e.createCommentVNode("",!0)])],32),e.createVNode(Xe,{show:m.value,objtake:d.value,onFill:a[2]||(a[2]=e=>m.value=!1),onRight:v},null,8,["show","objtake"])]))}}),[["__scopeId","data-v-357456d9"]]),Ge=s(e.defineComponent({__name:"submits",props:{list:{type:Array,required:!0},show:{type:Boolean},thdt:{type:Object}},emits:["fill","submit","config"],setup(t,{emit:a}){const n=t,o=e.ref("");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({});const i=e.ref(uni.getStorageSync("serverUrl")+"/sys/common/static/"),r=a,c=e.ref(!1);return e.watch((()=>n.show),(()=>{l("log","at pages/procurement/common/submits.vue:91",n.list),1==n.show?setTimeout((()=>{c.value=!0}),50):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(["qinglingdetails",t.show?"":"unclass"]),style:e.normalizeStyle(c.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)]),e.createElementVNode("view",{class:"qlwl"}," 请领物料 "),e.createElementVNode("scroll-view",{"scroll-y":"true",class:"wuliaolist"},[e.createElementVNode("view",{class:"list"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.list,((t,l)=>{var a,n;return e.openBlock(),e.createElementBlock("view",{class:"card",key:l},[e.createElementVNode("view",{class:"speitem guodu"},[e.createElementVNode("image",{src:(null==(a=t.materialInfo)?void 0:a.materialImg)?i.value+(null==(n=t.materialInfo)?void 0:n.materialImg):"/static/index/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"cardp"},[t.materialInfo.categoryName?(e.openBlock(),e.createElementBlock("view",{key:0},e.toDisplayString(t.materialInfo.categoryName),1)):e.createCommentVNode("",!0),t.materialInfo.typeName?(e.openBlock(),e.createElementBlock("view",{key:1},e.toDisplayString(t.materialInfo.typeName),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("view",{class:"msitem guodu"},[e.createElementVNode("view",null,[e.createElementVNode("view",null,e.toDisplayString(t.materialInfo.materialName),1)]),e.createElementVNode("view",null,[e.createElementVNode("text",{style:{"white-space":"nowrap"}}," 规格型号: "),e.createElementVNode("view",null,e.toDisplayString(t.materialInfo.specificationModel),1)]),e.createElementVNode("view",null,[e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(t.thNum?t.thNum:"--"),1),e.createElementVNode("text",null,"请领数量")]),e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(t.materialInfo.materialUnits),1),e.createElementVNode("text",null,"请领单位")])])])])})),128))])]),e.createElementVNode("view",{class:"plsbuy-bottom"},[e.createElementVNode("view",{class:"quxiao",onClick:a[1]||(a[1]=e=>r("fill"))}," 取消 "),e.createElementVNode("view",{class:"plsbuy-bottom-blue",onClick:a[2]||(a[2]=e=>r("config"))}," 入库退货单 ")])],6)]))}}),[["__scopeId","data-v-0d6a378e"]]),Je=s(e.defineComponent({__name:"retstock",setup(t){e.ref(uni.getStorageSync("serverUrl")+"/sys/common/static/");const n=e.reactive({pageNo:1,pageSize:10,searchContent:""}),i=e.ref(!1),r=e.ref(!1),c=e.ref(0);e.onMounted((()=>{N()})),o((()=>{Ae({pageNo:1,pageSize:10,status:3,searchContent:""}).then((e=>{c.value=e.result.total}))}));const s=()=>{V(y.value[f.value],f.value),e.nextTick((()=>{r.value=!0}))},u=()=>{var e;(e={id:y.value[f.value].id},p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/thd/submitThd`,method:"POST",data:e})).then((e=>{e.success?(r.value=!1,m(y.value[f.value],f.value),setTimeout((()=>{V(y.value[f.value],f.value)}),200)):uni.showToast({icon:"none",title:e.message})}))},m=(e,t)=>{let a={refreshDataKey:e.id};Ae(a).then((e=>{l("log","at pages/procurement/retstock.vue:151",e),y.value[t]=e.result.records[0]}))},d=(e,t)=>{var l;(l={id:e.id},p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/thd/startServe`,method:"POST",data:l})).then((l=>{l.success?m(e,t):uni.showToast({icon:"none",title:l.message})}))},v=(e,t)=>{var a;(a={id:e.id},p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/thd/finishServe`,method:"POST",data:a})).then((a=>{l("log","at pages/procurement/retstock.vue:169",a),a.success?m(e,t):uni.showToast({icon:"none",title:a.message})}))},g=e=>{0==e&&(n.searchContent=""),n.pageNo=1,y.value=[],N()},w=e.ref("loadmore"),h=()=>{"loading"!=w.value&&"nomore"!=w.value&&(w.value="loading",n.pageNo++,N())},y=e.ref([]),N=()=>{Ae(n).then((e=>{y.value.push(...e.result.records),w.value=e.result.total==y.value.length?"nomore":"loadmore",1==n.pageNo&&V(y.value[f.value],f.value)}))},f=e.ref(0),x=e.ref(0),E=e.ref([]),V=(e,t)=>{f.value=t,x.value=154*Math.floor(t-1),l("log","at pages/procurement/retstock.vue:209",e),B(),Oe({nuId:e.nuId,id:e.id}).then((e=>{l("log","at pages/procurement/retstock.vue:212",e),E.value=e.result})),"N"==e.izRead&&b(e)},k=e.ref([]),b=(e,t)=>{qe({id:e.id}),e.izRead="Y"},S=(e,t)=>{let l={pkId:y.value[f.value].id,kfId:t.kfId,wlId:t.materialInfo.id,thNum:e,nuId:y.value[f.value].nuId,elderId:y.value[f.value].elderId};var a;(a=l,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/thd/addThc`,method:"POST",data:a})).then((e=>{e.success&&"success"==e.result.status?(uni.showToast({icon:"success",title:"提交成功"}),setTimeout((()=>{m(y.value[f.value],f.value),V(y.value[f.value],f.value)}),800)):uni.showToast({icon:"none",title:e.result.message})}))},B=()=>{let e={pkId:y.value[f.value].id};var t;(t=e,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/thd/thcList`,method:"get",data:t})).then((e=>{k.value=e.result}))},C=()=>{let e={pkId:y.value[f.value].id};var t;(t=e,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/thd/removeAll`,method:"POST",data:t})).then((e=>{e.success?V(y.value[f.value],f.value):uni.showToast({icon:"none",title:e.message})}))},T=e.ref({}),z=e=>{T.value=e,i.value=!0},D=()=>{let e={pkId:y.value[f.value].id,wlId:T.value.materialInfo.id};var t;(t=e,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/thd/removeWl`,method:"POST",data:t})).then((e=>{e.success?(V(y.value[f.value],f.value),i.value=!1):uni.showToast({icon:"none",title:e.message})}))};return(t,l)=>{var o,m;const p=a(e.resolveDynamicComponent("u-loadmore"),me);return 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=>n.searchContent=e),onConfirm:l[1]||(l[1]=e=>g())},null,544),[[e.vModelText,n.searchContent]]),n.searchContent?(e.openBlock(),e.createElementBlock("image",{key:0,src:ne,mode:"aspectFill",onClick:l[2]||(l[2]=e=>g(0))})):e.createCommentVNode("",!0)]),e.createElementVNode("view",{onClick:g,class:"scr"},[e.createElementVNode("image",{src:De,mode:"aspectFill",class:"sh"}),e.createTextVNode(" 检索 ")])]),e.createElementVNode("view",{class:"rightbtn"},[e.createElementVNode("view",{class:"back",onClick:l[3]||(l[3]=e=>uni.navigateBack())},[e.createElementVNode("image",{src:Ie,mode:"aspectFill"}),e.createTextVNode(" 返回 ")])])]),e.createElementVNode("view",{class:"t-box"},[e.createElementVNode("view",{class:"leftscr"},[e.createElementVNode("scroll-view",{"scroll-y":"true",class:"leftscrol","scroll-top":x.value,"scroll-with-animation":"",onScrolltolower:h},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["card",l==f.value?"act":""]),key:l,onClick:e=>V(t,l)},["N"==t.izRead?(e.openBlock(),e.createElementBlock("view",{key:0,class:"rad"})):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"hli"},[e.createElementVNode("view",{class:"lig"},[e.createElementVNode("image",{src:"/static/index/procurement/gys.png",mode:"aspectFill"}),e.createTextVNode(" "+e.toDisplayString(t.nuName),1)]),e.createElementVNode("view",{class:"rig"},[e.createElementVNode("image",{src:"/static/index/procurement/jx.png",mode:"aspectFill"}),e.createElementVNode("text",null,e.toDisplayString(t.statusText),1)])]),e.createElementVNode("view",{class:"cont"},[e.createElementVNode("view",{class:"conle"},[e.createElementVNode("image",{src:"/static/index/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("text",null,"退货")]),e.createElementVNode("view",{class:"ritcon"},[e.createElementVNode("view",{class:"rq"},[e.createTextVNode(" 退货日期:"),e.createElementVNode("text",null,e.toDisplayString(t.fqTime.substring(0,10)),1)]),e.createElementVNode("view",{class:"rq"}," 申请人:"+e.toDisplayString(t.fqrName),1),0==t.status?(e.openBlock(),e.createElementBlock("view",{key:0,class:"fwjd"},[e.createElementVNode("view",{class:"jx",onClick:e.withModifiers((e=>d(t,l)),["stop"])},"开始服务",8,["onClick"]),e.createElementVNode("view",null,"服务结束")])):e.createCommentVNode("",!0),1==t.status?(e.openBlock(),e.createElementBlock("view",{key:1,class:"fwjd"},[e.createElementVNode("view",null,"开始服务"),e.createElementVNode("view",{class:"jx"},"服务中")])):e.createCommentVNode("",!0),2==t.status?(e.openBlock(),e.createElementBlock("view",{key:2,class:"fwjd"},[e.createElementVNode("view",null,"开始服务"),e.createElementVNode("view",{class:"jx",onClick:e.withModifiers((e=>v(t,l)),["stop"])},"服务结束",8,["onClick"])])):e.createCommentVNode("",!0),3==t.status?(e.openBlock(),e.createElementBlock("view",{key:3,class:"fwjd"},[e.createElementVNode("view",null,"开始服务"),e.createElementVNode("view",null,"服务结束")])):e.createCommentVNode("",!0)])])],10,["onClick"])))),128)),e.createElementVNode("view",{style:{height:"3vw",width:"100%",display:"flex","align-items":"center","justify-content":"center"}},[y.value.length>4?(e.openBlock(),e.createBlock(p,{key:0,status:w.value,loadText:{nomore:"暂无更多数据"}},null,8,["status"])):e.createCommentVNode("",!0)])],40,["scroll-top"])]),e.createElementVNode("view",{class:"rightscr"},[e.createElementVNode("view",{class:"thwl"},[e.createVNode(Re,{Material:k.value,onDelall:C,onDel:z,onSubmit:s,status:null==(o=y.value[f.value])?void 0:o.status},null,8,["Material","status"])]),e.createElementVNode("view",{class:"carditem"},[e.createVNode(Qe,{InvoicingList:E.value,status:null==(m=y.value[f.value])?void 0:m.status,onComfig:S},null,8,["InvoicingList","status"])])])]),e.createVNode(Ye,{onBack:l[4]||(l[4]=e=>i.value=!1),show:i.value,font:"确定将该物料从本次请领清单中移除吗?",onRight:D},null,8,["show"]),e.createVNode(Ge,{show:r.value,list:k.value,onFill:l[5]||(l[5]=e=>r.value=!1),thdt:y.value[f.value],onConfig:u},null,8,["show","list","thdt"]),c.value>0?(e.openBlock(),e.createElementBlock("view",{key:0,class:"thdfed",onClick:l[6]||(l[6]=e=>uni.navigateTo({url:"/pages/procurement/authorization"}))},[e.createElementVNode("image",{src:"/static/index/procurement/thd.png",mode:"aspectFill"}),c.value>0?(e.openBlock(),e.createElementBlock("text",{key:0},e.toDisplayString(c.value>99?"99+":c.value),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-ffe5966c"]]),Ze=s({__name:"specialDrawer",props:{widNumber:{type:Number,default:17}},setup(t,{expose:l}){const a=e.ref(!1),n=t,o=e.ref(0);e.onMounted((()=>{const e=uni.getSystemInfoSync();o.value=e.screenWidth})),e.ref(0);const i=e.ref(!0),r=e.ref(0),c=e.computed((()=>{const e=`${n.widNumber}%`;if(i.value){return{width:e,transform:`translateX(${r.value}px)`,transition:"none"}}return{width:e}}));function s(e){}function u(e){}function m(){}l({openDrawer:function(){a.value=!0},closeDrawer:function(){a.value=!0}});const d=e.ref(0);return e.computed((()=>({transform:`rotate(${d.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:m,onTouchcancel:m},[e.renderSlot(t.$slots,"default",{},void 0,!0)],32)],6)]))}},[["__scopeId","data-v-d51e4068"]]),He=s(e.defineComponent({__name:"index",props:{changerightbottom:{type:String,default:"标准"}},emits:["clickball"],setup(t,{emit:l}){const a=e.ref([{name:"返回",url:""},{name:"详情",url:""},{name:"周期",url:""},{name:"放大",url:"/static/index/getbig.png"},{name:"日常",url:""},{name:"缩小",url:"/static/index/getsmall.png"},{name:"全部",url:""},{name:"标准",url:""}]),n=l;return(l,o)=>(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"]]),Ke=s(e.defineComponent({__name:"indexnew",setup(t){e.ref(!1);const l=e.ref([]),a=["00","05","10","15","20","25","30","35","40","45","50","55"];e.ref(["全部","日常","周期"]),e.ref(["放大","缩小"]);const n=e.ref(0);uni.getSystemInfoSync().windowWidth;const o=e=>{switch(e){case 0:uni.navigateBack();break;case 1:w.value&&h.value&&(E.value?E.value=!1:k(u.value[w.value].children[h.value],w.value,h.value));break;case 2:S(2);break;case 3:p(0);break;case 4:S(1);break;case 5:p(1);break;case 6:S(0);break;case 7:7===m.value?B(!1):B(!0)}};function i(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([]),m=e.ref(0),d=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)),m.value=7,g()}));const p=e=>{e?m.value<24&&m.value++:m.value>7&&m.value--};function g(){if(w.value>=0&&w.value<=24&&h.value>=0&&h.value<=11){const e=(w.value+.5)*d.value,t=(h.value-.5)*v.value;c.value=e-1110,s.value=t-281.25;const l=24*d.value,a=11*v.value;c.value=Math.max(0,Math.min(c.value,l-2220))/2,s.value=Math.max(0,Math.min(s.value,a-562.5))/2}}const w=e.ref(10),h=e.ref(0);e.watch([w,h],(()=>{g()})),e.watch(m,((e,t)=>{if(t===e);else{switch(e){case 24:d.value=92.5,v.value=107;break;case 23:d.value=96.5,v.value=107;break;case 22:d.value=101,v.value=107;break;case 21:d.value=106,v.value=116;break;case 20:d.value=112,v.value=116;break;case 19:d.value=117,v.value=116;break;case 18:d.value=124,v.value=121;break;case 17:d.value=131,v.value=128;break;case 16:d.value=139,v.value=133;break;case 15:d.value=148,v.value=142;break;case 14:d.value=159,v.value=150;break;case 13:d.value=171,v.value=160;break;case 12:d.value=185,v.value=170;break;case 11:d.value=202,v.value=183;break;case 10:d.value=222,v.value=195;break;case 9:d.value=247,v.value=213;break;case 8:d.value=280,v.value=235;break;case 7:d.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){m.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*d.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:d.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*d.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:d.value+"rpx"})},[e.createElementVNode("view",{class:"bottom-bian"}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.children,((n,o)=>{return e.openBlock(),e.createElementBlock("view",{style:{width:"100%"},key:o},[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):(w.value=t,h.value=l,y.value=a)}(n,l,o),"data-index0":l,"data-index1":o},[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([m.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,w.value==l&&h.value==o]]),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,m.value<10]]),"日常"!=n.cycleType?e.withDirectives((e.openBlock(),e.createElementBlock("image",{key:0,class:"title-time-button",style:{width:"80rpx",height:"48rpx"},src:Ve},null,512)),[[e.vShow,m.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,m.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(i(n.directiveName)[0]),513)),[[e.vShow,m.value<11]]):e.createCommentVNode("",!0),w.value!=l||h.value!=o||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[o]),1))],6)],12,["onClick","data-index0","data-index1"])]);var r})),128))],4)])))),128))])],8,["scroll-top"])],4)],8,["scroll-left"])])]),e.createVNode(Ze,{ref:"gobackdrawer"},{default:e.withCtx((()=>[e.createVNode(He,{onClickball:o,changerightbottom:7===m.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[h.value])?void 0:r.children[w.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"]]),et="/static/index/warehouse/procurement/picking/addphoto.png",tt="/static/cleanone.png",lt="/static/index/warehouse/procurement/picking/noarray.png",at="/static/index/warehouse/procurement/picking/data.png",nt="/static/index/warehouse/procurement/picking/center.png",ot="/static/shili.png",it="/static/index/purchaseorder/back.png",rt="/static/index/warehouse/procurement/picking/loading.png",ct="/static/index/warehouse/procurement/picking/nomessage.png",st="/static/index/youngman.png",ut=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryCgdList`,method:"get",data:e}),mt=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryCgdInfoList`,method:"get",data:e}),dt=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/voidedCgdMain`,method:"post",data:e}),vt=()=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getCgrList`,method:"get"}),pt=()=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getGysList`,method:"get"}),gt=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/editPrice`,method:"post",data:e}),wt=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/pickingInfo`,method:"post",data:e}),ht=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/querySxdList`,method:"get",data:e}),yt=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/addSxd`,method:"post",data:e}),Nt=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryJhzpList`,method:"get",data:e}),ft=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryPickingRecordList`,method:"get",data:e}),xt=e=>p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/editIzNew`,method:"post",data:e});"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function Et(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vt={exports:{}};Vt.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),o=(a=n)&&a.__esModule?a:{default:a};t.default=o.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)),o=a(l(3)),i=a(l(4)),r=a(l(5)),c=a(l(6)),s=a(l(7)),u=a(l(8)),m=a(l(9)),d=a(l(10)),v=a(l(11)),p=a(l(12)),g={lunarInfo:n.default,solarMonth:o.default,gan:i.default,zhi:r.default,animals:c.default,lunarTerm:s.default,lTermInfo:u.default,nStr1:m.default,nStr2:d.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,o=0,i=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-=i=g.lYearDays(n);r<0&&(r+=i,n--);var c=new Date,s=!1;c.getFullYear()==e&&c.getMonth()+1==t&&c.getDate()==l&&(s=!0);var u=a.getDay(),m=g.nStr1[u];0==u&&(u=7);var d=n,v=(o=g.leapMonth(n),!1);for(n=1;n<13&&r>0;n++)o>0&&n==o+1&&0==v?(--n,v=!0,i=g.leapDays(d)):i=g.monthDays(d,n),1==v&&n==o+1&&(v=!1),r-=i;0==r&&o>0&&n==o+1&&(v?v=!1:(v=!0,--n)),r<0&&(r+=i,--n);var p=n,w=r+1,h=t-1,y=g.getTerm(e,3),N=g.toGanZhi(e-4),f=new Date(e,1,y).getTime();new Date(e,h,l).getTime()<f&&(N=g.toGanZhi(e-5));var 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,h,1,0,0,0,0)/864e5+25567+10,B=g.toGanZhi(S+l-1);return{lYear:d,lMonth:p,lDay:w,animal:g.getAnimal(d),yearCn:g.toChinaYear(d),monthCn:(v&&o===p?"闰":"")+g.toChinaMonth(p),dayCn:g.toChinaDay(w),cYear:e,cMonth:t,cDay:l,gzYear:N,gzMonth:V,gzDay:B,isToday:s,isLeap:v,nWeek:u,ncWeek:"星期"+m,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 o=g.monthDays(e,t);if(e<1900||e>2100||l>o)return-1;for(var i=0,r=1900;r<e;r++)i+=g.lYearDays(r);var c=0,s=!1;for(r=1;r<t;r++)c=g.leapMonth(e),s||c<=r&&c>0&&(i+=g.leapDays(e),s=!0),i+=g.monthDays(e,r);a&&(i+=o);var u=Date.UTC(1900,1,30,0,0,0),m=new Date(864e5*(i+l-31)+u),d=m.getUTCFullYear(),v=m.getUTCMonth()+1,p=m.getUTCDate();return g.solar2lunar(d,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 kt=Et(Vt.exports),bt=s({__name:"calendar",emits:["datachange"],setup(t,{emit:l}){const a=new Date,n=e.ref(a.getFullYear()),o=e.ref(a.getMonth()),i=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 m(e,t){const l=[],a=new Date(e,t,0),n=a.getFullYear(),o=a.getMonth(),i=a.getDate(),r=((e,t)=>(new Date(e,t,1).getDay()+6)%7)(e,t);for(let s=0;s<r;s++){const e=i-r+s+1,t=kt.solar2lunar(n,o+1,e),a=c(n,o,e);l.push({key:`prev-${n}-${o+1}-${e}`,dateText:e,lunarText:t?t.dayCn:"",prev:!0,next:!1,year:n,month:o,day:e,dateNumber:a})}const u=new Date(e,t+1,0).getDate();for(let d=1;d<=u;d++){const a=kt.solar2lunar(e,t+1,d),n=c(e,t,d);l.push({key:s(e,t,d),dateText:d,lunarText:a?a.dayCn:"",prev:!1,next:!1,year:e,month:t,day:d,dateNumber:n})}const m=42-l.length;for(let s=1;s<=m;s++){const a=new Date(e,t+1,s),n=a.getFullYear(),o=a.getMonth(),i=kt.solar2lunar(n,o+1,s),r=c(n,o,s);l.push({key:`next-${n}-${o+1}-${s}`,dateText:s,lunarText:i?i.dayCn:"",prev:!1,next:!0,year:n,month:o,day:s,dateNumber:r})}return l}const d=e.computed((()=>m(n.value,o.value))),v=e.computed((()=>{if(!i.value)return null;const[e,t,l]=i.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 w=l;function h(){0===o.value?(n.value--,o.value=11):o.value--}function y(){11===o.value?(n.value++,o.value=0):o.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:h})]),e.createElementVNode("view",{class:"year-month"},e.toDisplayString(n.value)+"年"+e.toDisplayString(o.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(d.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,i.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 i.value&&i.value&&!r.value?l>=v.value?(r.value=t,void w("datachange",{start:i.value,end:r.value})):(r.value=i.value,i.value=t,void w("datachange",{start:i.value,end:r.value})):(i.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 St=s({props:{cont:{type:String,default:""},show:{type:Boolean,default:!1}}},[["render",function(t,l,a,n,o,i){return e.openBlock(),e.createElementBlock(e.Fragment,null,[a.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:"que"},[e.createElementVNode("image",{src:ee,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"]]),Bt=s(e.defineComponent({__name:"picking",setup(t){const a=e.ref(0),n=e.ref(0),o=e.ref(""),i=e.ref(""),c=e.ref(!1),s=e.ref(!1),u=e.ref(!1),m=e.ref(!1),d=e.ref(""),v=()=>{gt({id:K.value.id,arrivalPrice:d.value}).then((e=>{l("log","at pages/Warehouse/picking.vue:1072","res",e),200==e.code&&(K.value.arrivalPrice=d.value,K.value.totalPrice=Number(d.value)*Number(K.value.purchaseQuantity),W.value[H.value].totalPrice=e.result.totalPrice,c.value=!1)}))};function p(e){if(s.value&&(d.value="",s.value=!1),"AC"!==e)if("."!==e){if(/^\d$/.test(e)){if(d.value.includes(".")){const[t,l]=d.value.split(".");return void((l||"").length<2&&(d.value+=e))}let t=d.value;"0"===t&&(t=""),t.length<4&&(d.value=t+e)}}else d.value.includes(".")||(d.value=""===d.value?"0.":d.value+".");else d.value="0"}const g=()=>{0!=K.value.jianhuobtn&&(u.value=!0,Ce.value=!0,ye.value=!1,setTimeout((()=>{ye.value=!0}),100))},w=()=>{c.value=!0,s.value=!0,d.value=(K.value.arrivalPrice?K.value.arrivalPrice:K.value.procurementPrice).toString(),ye.value=!1,setTimeout((()=>{ye.value=!0}),100)},h=e.ref([]),y=()=>{l("log","at pages/Warehouse/picking.vue:1152","?????????"),h.value=[],b.value=$.cgBy};function N(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 o=0;o<l.length&&n<a.length;o++)l[o]===a[n]&&n++;return n===a.length}let f=null;function x(e){var t;if(!e.detail.value)return $.cgBy="",h.value=[],void ue();const l=String("string"==typeof e?e:(null==(t=null==e?void 0:e.detail)?void 0:t.value)??"").trim();f&&clearTimeout(f),f=setTimeout((()=>{l?(h.value=D.value.filter((e=>N(null==e?void 0:e.cgBy,l))),h.value.length||h.value.push({cgBy:"暂无数据"})):h.value=D.value.slice()}),300)}const E=e.ref([]),V=e.ref(-1),k=()=>{E.value=[],B.value="",$.suppliers="",ue()},b=e.ref(""),B=e.ref("");function C(e){var t;if(!e.detail.value)return $.suppliers="",E.value=[],V.value=-1,B.value="",void ue();const l=String("string"==typeof e?e:(null==(t=null==e?void 0:e.detail)?void 0:t.value)??"").trim();f&&clearTimeout(f),f=setTimeout((()=>{l?(E.value=I.value.filter((e=>N(null==e?void 0:e.suppliersName,l))),E.value.length||E.value.push({suppliersName:"暂无数据"})):E.value=I.value.slice()}),300)}r((()=>{Q(),i.value=uni.getStorageSync("serverUrl")+"/sys/common/static/",U()}));const T=e.ref(!1),z=e.ref(!1),D=e.ref([]),I=e.ref([]),U=()=>{vt().then((e=>{D.value=e.result})),pt().then((e=>{I.value=e.result}))},F=e.ref(!1);e.ref("");const _=e.ref(0),M=["待入库","待完结","已完结"],j=e.ref(-1);e.ref(0);const $=e.reactive({pageNo:1,pageSize:10,canpull:!0,cgdParamInfo:"",suppliers:"",cgdType:"0,1",startTime:"",endTime:"",cgBy:"",nuId:uni.getStorageSync("nuId")}),L={pageNo:1,pageSize:10,canpull:!0,cgdParamInfo:"",suppliers:"",cgdType:"0,1",startTime:"",endTime:"",cgBy:"",nuId:uni.getStorageSync("nuId")},P=e.ref(!0),A=()=>{P.value=!1,setTimeout((()=>{P.value=!0}),300),Object.assign($,L),b.value="",B.value="",ue()},q=e=>{$.startTime=e.start,$.endTime=e.end,ue()},O=e.ref(0),W=e.ref([]),Y=e.ref(0),R=e.ref(!1),Q=()=>{ut($).then((e=>{W.value.push(...e.result.records),Y.value=e.result.total,e.result.total||(R.value=!0),e.result.records.length&&(ee.cgdId=W.value[0].id,oe(0)),e.result.records.length<$.pageSize&&($.canpull=!1)}))},G=e.ref(!0),J=()=>{G.value&&($.pageNo++,Z(),G.value=!1,setTimeout((()=>{G.value=!0}),500))},Z=()=>{$.canpull&&ut($).then((e=>{W.value.push(...e.result.records),Y.value=e.result.total,e.result.records.length<$.pageSize&&($.canpull=!1)}))},H=e.ref(0),K=e.ref({materialImg:"",cgrvalue:"",gysvalue:"",wlName:"",procurementPrice:"",wlMaterialNo:"",wlSpecificationModel:"",purchaseQuantity:"",wlUnits:"",kcsl:"",wlUpperLimit:"",wlLowerLimit:"",suppliersName:"",jianhuobtn:!1}),ee=e.reactive({nuId:"",pageNo:1,pageSize:-1,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",cgdId:"",isWaring:0,canpull:!0}),te={nuId:"",pageNo:1,pageSize:9,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",cgdId:"",isWaring:0},le=e.ref(0),ae=e=>{_.value=e,K.value=ne.value[e],K.value.jianhuobtn=!1,le.value=172*(e-2),(0==Number(K.value.status)||Number(K.value.status)>0&&Number(K.value.wrksl)>0)&&(K.value.maxnum=0==K.value.rksl&&0==K.value.wrksl&&0==K.value.xzsl?K.value.purchaseQuantity:K.value.wrksl,K.value.num=K.value.maxnum,o.value=De(K.value.num),K.value.jianhuobtn=!0),Object.assign(ee,te),re.value=1,ie.value=[],se()},ne=e.ref([]),oe=e=>{mt(ee).then((t=>{ne.value=t.result.records,ae(e)}))},ie=e.ref([]),re=e.ref(1),ce=e.ref("loading"),se=()=>{let e={cgdId:K.value.cgdId,wlId:K.value.wlId,pageNo:re.value,pageSize:10};ft(e).then((e=>{ie.value.push(...e.result.records),ce.value=e.result.total==ie.value.length||0==e.result.records.length?"nomore":"loadmore"}))},ue=()=>{$.pageNo=1,W.value=[],ut($).then((e=>{W.value.push(...e.result.records),Y.value=e.result.total,e.result.records.length&&(ee.cgdId=W.value[0].id,oe(0)),e.result.records.length<$.pageSize&&($.canpull=!1)}))},me=e.ref(-1);e.ref(-1);const de=e.ref(!1),ve=e.ref(!1),pe=()=>{l("log","at pages/Warehouse/picking.vue:1540","-----------------------\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:1556","-------------------success:",e)},fail:function(e){l("log","at pages/Warehouse/picking.vue:1559","------------------- fail:",e),uni.showToast({title:e,icon:"none",duration:2e4})}})},ge=e.ref(!1),we=()=>{var e;!Number(null==(e=W.value[H.value])?void 0:e.status)&&W.value.length&&(ge.value=!0,me.value=-1)},he=()=>{dt({id:W.value[H.value].id}).then((e=>{l("log","at pages/Warehouse/picking.vue:1577","res",e),e.success?(uni.showToast({title:e.message,icon:"success",duration:2e3}),H.value=0,ge.value=!1,ne.value=[],W.value=[],Object.assign($,L),Object.assign(ee,te),Q()):(uni.showToast({title:e.message,icon:"none",duration:2e3}),ge.value=!1)}))},ye=e.ref(!1),Ne=e.ref([]),fe=e.ref([]),xe=e=>{1==e?Ve():Ee(),j.value=e,ye.value=!1,setTimeout((()=>{ye.value=!0}),100)};e.ref(1);const Ee=()=>{let e={cgdId:W.value[H.value].id};Nt(e).then((e=>{fe.value=e.result}))},Ve=()=>{let e={cgdId:W.value[H.value].id,pageNo:1,pageSize:-1};ht(e).then((e=>{l("log","at pages/Warehouse/picking.vue:1634",e.result.records),Ne.value=e.result.records}))},ke=e.ref([]),be=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&&((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);yt({sxdPic:t.message,cgdId:W.value[H.value].id}).then((e=>{e.success&&Ve()}))},fail:()=>{uni.showToast({title:"上传失败",icon:"none"})}})})(t.tempFilePath),l("log","at pages/Warehouse/picking.vue:1682",t.tempFilePath)):ke.value.push(t.tempFilePath)}})}})},Se=(e,t,l,a)=>{if(1==a){let e=[];l.forEach((t=>{e.push(i.value+t.sxdPic)})),uni.previewImage({current:t,urls:e,showmenu:!1,longPressActions:{itemList:[]}})}else if(2==a){let e=[];l.forEach((t=>{e.push(i.value+t.jhPic)})),uni.previewImage({current:t,urls:e,showmenu:!1,longPressActions:{itemList:[]}})}else uni.previewImage({current:t,urls:l,showmenu:!1,longPressActions:{itemList:[]}})},Be=e.ref(-1),Ce=e.ref(!1),Te=e=>"AC"==e?(K.value.num=0,void(o.value=De(K.value.num))):"AE"==e?(K.value.num=Math.trunc(K.value.num/10),void(o.value=De(K.value.num))):1==Ce.value?(K.value.num=e,Ce.value=!1,void(o.value=De(K.value.num))):void(ze(K.value.num)>3||(K.value.num?K.value.num=10*K.value.num+e:K.value.num=e,o.value=De(K.value.num))),ze=e=>Math.abs(e).toString().length,De=e=>{const t=Math.floor(Math.abs(e));return String(t).padStart(4,"0")},Ie=e.ref(null),Ue=e=>{_e(e)},Fe=()=>{clearInterval(Ie.value)},_e=e=>{Ie.value=setInterval((()=>{Me(e)}),120)},Me=e=>{let t=K.value.maxnum;t<=K.value.num&&1==e?K.value.num=t:K.value.num<=1&&-1==e?K.value.num=1:(K.value.num+=e,o.value=De(K.value.num))},je=e=>{let t="";$e.value.forEach((e=>{t+=e+","}));let n={jhId:K.value.id,jhNum:K.value.num,jhType:e,jhPic:""==t?null:t,cgdId:K.value.cgdId};wt(n).then((e=>{l("log","at pages/Warehouse/picking.vue:1816","入参",n),l("log","at pages/Warehouse/picking.vue:1817","返回",e),uni.showToast({icon:"none",title:e.message?e.message:"操作成功"}),e.success&&(W.value[H.value].totalPrice=e.result.cgdTotalPrice,ke.value=[],$e.value=[],u.value=!1,a.value=0,ee.cgdId=W.value[H.value].id,W.value[H.value]=e.result.cgdInfo,oe(_.value))}))},$e=e.ref([]),Le=e=>{if(0==ke.value.length)return void je(e);let t=new Date,l=t.getFullYear(),a=t.getMonth()+1;ke.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);$e.value.push(l.message),$e.value.length==ke.value.length&&je(e)},fail:()=>{uni.showToast({title:"上传失败",icon:"none"})}})}))},Pe=e=>{Number(o.value)?1==e?a.value=2:Le(0):uni.showToast({title:"数量为0的时候无法销账或入库",icon:"none"})},Ae=[210,210,210],qe=[50,152,255],Oe=e.ref(0);function We(e,t,l){return Math.round(e+(t-e)*l)}function Re(e){return"#"+e.map((e=>e.toString(16).padStart(2,"0"))).join("")}const Xe=e.computed((()=>{const e=[];for(let t=0;t<8;t++){const l=(Oe.value+t/8)%1,a=[We(Ae[0],qe[0],l),We(Ae[1],qe[1],l),We(Ae[2],qe[2],l)];e.push(Re(a))}return e})),Qe=e.computed((()=>({width:"180rpx",height:"70rpx",padding:"2rpx",borderRadius:"40rpx",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"transparent",position:"relative"}))),Ge=e.computed((()=>({position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:"40rpx",overflow:"hidden",display:"flex",flexDirection:"row",zIndex:1}))),Je=e.computed((()=>({width:"calc(100% - 4rpx)",height:"calc(100% - 4rpx)",borderRadius:"36rpx",backgroundColor:"#ffffff",display:"flex",alignItems:"center",justifyContent:"center",zIndex:2}))),Ze=e.computed((()=>({color:Xe.value[0]||Re(Ae),fontSize:"30rpx",fontWeight:"600",zIndex:3})));let He=null;return e.onMounted((()=>{const e=Math.max(1,Math.round(1e3/120));He=setInterval((()=>{Oe.value+=1/e,Oe.value>=1&&(Oe.value-=1)}),120)})),e.onUnmounted((()=>{He&&clearInterval(He)})),e.ref(!1),(t,l)=>{var r,s,N,f,D,I,U,L,Q;return e.openBlock(),e.createElementBlock("view",{class:"contain"},[e.withDirectives(e.createElementVNode("view",{class:"mengban",style:e.normalizeStyle(T.value||z.value||m.value?{background:"transparent"}:{}),onClick:l[0]||(l[0]=e=>{me.value=-1,j.value=-1,u.value=!1,c.value=!1,m.value=!1,T.value=!1,z.value=!1,ke.value=[]})},null,4),[[e.vShow,-1!=me.value||-1!=j.value||u.value||c.value||m.value]]),e.createVNode(St,{cont:"暂无数据",show:R.value},null,8,["show"]),e.withDirectives(e.createElementVNode("view",{class:"mengban",style:{background:"transparent"},onClick:k},null,512),[[e.vShow,E.value.length&&B.value]]),E.value.length&&B.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"input-next",style:{bottom:"450rpx"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E.value.slice(0,5),((t,l)=>e.withDirectives((e.openBlock(),e.createElementBlock("view",{class:"next-father",key:l,onClick:e=>((e,t)=>{E.value=[],$.suppliers=e.suppliers,B.value=e.suppliersName,V.value=t,ue()})(t,l)},e.toDisplayString(t.suppliersName),9,["onClick"])),[[e.vShow,"暂无数据"!=E.value[0].suppliersName]]))),128)),"暂无数据"===E.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:y},null,512),[[e.vShow,h.value.length&&b.value]]),h.value.length&&b.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"input-next"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value.slice(0,5),((t,l)=>e.withDirectives((e.openBlock(),e.createElementBlock("view",{class:"next-father",key:l,onClick:e=>(e=>{h.value=[],$.cgBy=e.cgBy,b.value=$.cgBy,ue()})(t)},e.toDisplayString(t.cgBy),9,["onClick"])),[[e.vShow,"暂无数据"!=h.value[0].cgBy]]))),128)),"暂无数据"===h.value[0].cgBy?(e.openBlock(),e.createElementBlock("view",{key:0,class:"nomessage"}," 暂无数据 ")):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),P.value?e.withDirectives((e.openBlock(),e.createElementBlock("view",{key:2,class:"calendar-father"},[e.createVNode(bt,{onDatachange:q})],512)),[[e.vShow,m.value]]):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("view",{class:"gaijiafather",style:e.normalizeStyle(ye.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(d.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(d.value),1)]),e.createElementVNode("view",{style:{position:"absolute",right:"30rpx",bottom:"30rpx"}},[e.createElementVNode("view",{style:{display:"flex"}},[e.createElementVNode("view",{onClick:l[1]||(l[1]=e=>c.value=!1),style:{width:"160rpx",height:"75rpx","background-color":"#ebeced",color:"#888888",display:"flex","justify-content":"center","align-items":"center","font-size":"30rpx","border-radius":"40rpx"}}," 取消 "),e.createElementVNode("view",{onClick:v,style:{width:"160rpx",height:"75rpx",color:"#0385FA",display:"flex","justify-content":"center","align-items":"center","font-size":"30rpx","border-radius":"40rpx",border:"1rpx solid #0385FA",background:"linear-gradient(to bottom,#E9F4FF,#CAE0F9)",margin:"0 40rpx"}}," 确定 ")])]),e.createElementVNode("view",{class:"jianhuo-jianpan",style:{right:"-40rpx",bottom:"150rpx"}},[e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[2]||(l[2]=e=>p("1"))}," 1 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[3]||(l[3]=e=>p("2"))}," 2 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[4]||(l[4]=e=>p("3"))}," 3 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[5]||(l[5]=e=>p("4"))}," 4 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[6]||(l[6]=e=>p("5"))}," 5 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[7]||(l[7]=e=>p("6"))}," 6 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[8]||(l[8]=e=>p("7"))}," 7 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[9]||(l[9]=e=>p("8"))}," 8 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[10]||(l[10]=e=>p("9"))}," 9 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",style:{"font-size":"30rpx"},onClick:l[11]||(l[11]=e=>p("AC"))}," 清零 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[12]||(l[12]=e=>p("0"))}," 0 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[13]||(l[13]=e=>p("."))}," . ")])])],4),[[e.vShow,c.value]]),e.withDirectives(e.createElementVNode("view",{class:"jianhuofather guodu",style:e.normalizeStyle(ye.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(K.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(K.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(K.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(K.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(K.value.arrivalPrice?Number(K.value.arrivalPrice).toFixed(2):Number(K.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(K.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(K.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(K.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(K.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(K.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(ke.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=>{Be.value=l,a.value=1}),["stop"])},[e.createElementVNode("image",{src:S,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=>Se(0,l,ke.value)},null,8,["src","onClick"])])))),128)),ke.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=>be(0))},[e.createElementVNode("view",{class:"moban-photo-special"},[e.createElementVNode("image",{style:{width:"50rpx",height:"50rpx","margin-bottom":"5rpx"},src:et}),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=>Me(-1)),onLongpress:l[16]||(l[16]=e=>Ue(-1)),onTouchend:Fe}," - ",32),e.createElementVNode("view",{class:"gray-input",style:{width:"12vw"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.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=>Me(1)),onLongpress:l[18]||(l[18]=e=>Ue(1)),onTouchend:Fe}," + ",32)]),e.createElementVNode("view",{class:"jianhuobutton"},[e.createElementVNode("view",{style:{display:"flex"}},[e.createElementVNode("view",{onClick:l[19]||(l[19]=e=>{u.value=!1,Ce.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=>Pe(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=>Pe(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=>Te(1))}," 1 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[23]||(l[23]=e=>Te(2))}," 2 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[24]||(l[24]=e=>Te(3))}," 3 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[25]||(l[25]=e=>Te(4))}," 4 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[26]||(l[26]=e=>Te(5))}," 5 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[27]||(l[27]=e=>Te(6))}," 6 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[28]||(l[28]=e=>Te(7))}," 7 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[29]||(l[29]=e=>Te(8))}," 8 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[30]||(l[30]=e=>Te(9))}," 9 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",style:{"font-size":"30rpx"},onClick:l[31]||(l[31]=e=>Te("AC"))}," 清零 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[32]||(l[32]=e=>Te(0))}," 0 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[33]||(l[33]=e=>Te("AE"))},[e.createElementVNode("image",{src:tt,mode:"aspectFill",style:{width:"50%",height:"50%"}})])])])],4),[[e.vShow,u.value]]),e.withDirectives(e.createElementVNode("view",{class:"photowall",style:e.normalizeStyle(ye.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[H.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(fe.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"photowall-other-one",key:l,onClick:e=>Se(0,l,fe.value,2)},[e.createElementVNode("image",{style:{width:"100%",height:"70%","border-radius":"30rpx"},src:t.jhPic?i.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)),fe.value.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"noarray"},[e.createElementVNode("image",{class:"noarray-img",src:lt,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(Ne.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"photowall-other-one",key:l,onClick:e=>Se(0,l,Ne.value,1)},[e.createElementVNode("image",{style:{width:"100%",height:"70%","border-radius":"30rpx"},src:t.sxdPic?i.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=>be(1))},[e.createElementVNode("image",{style:{width:"70rpx",height:"70rpx","margin-bottom":"5rpx"},src:et}),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=>F.value=!1)},null,512),[[e.vShow,F.value]]),e.withDirectives(e.createElementVNode("view",{class:"left-select-more"},[e.createElementVNode("view",{class:"more-bottom"},[e.createElementVNode("view",{class:"bottom-left",onClick:A}," 重置 "),e.createElementVNode("view",{class:"bottom-right",onClick:l[36]||(l[36]=e=>F.value=!1)},[e.createTextVNode(" 确定 "),Y.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"==$.cgdType?"more-statues-button-target":"more-statues-button"),onClick:l[37]||(l[37]=e=>{$.cgdType="0,1",ue()})}," 全部 ",2),e.createElementVNode("view",{class:e.normalizeClass("0"==$.cgdType?"more-statues-button-target":"more-statues-button"),onClick:l[38]||(l[38]=e=>{$.cgdType="0",ue()})}," 待入库 ",2),e.createElementVNode("view",{class:e.normalizeClass("1"==$.cgdType?"more-statues-button-target":"more-statues-button"),onClick:l[39]||(l[39]=e=>{$.cgdType="1",ue()})}," 待完结 ",2)]),e.createElementVNode("view",{class:"more-time"}," 采购日期 "),e.createElementVNode("view",{class:"more-time-select",onClick:l[40]||(l[40]=e=>m.value=!m.value)},[e.withDirectives(e.createElementVNode("view",{class:"more-gray"}," 开始日期 ",512),[[e.vShow,!$.startTime]]),e.withDirectives(e.createElementVNode("view",{class:"more-black"},e.toDisplayString($.startTime),513),[[e.vShow,$.startTime]]),e.createElementVNode("view",{style:{"font-size":"32rpx"}}," 至 "),e.withDirectives(e.createElementVNode("view",{class:"more-gray"}," 结束日期 ",512),[[e.vShow,!$.endTime]]),e.withDirectives(e.createElementVNode("view",{class:"more-black"},e.toDisplayString($.endTime),513),[[e.vShow,$.endTime]]),e.createElementVNode("image",{class:"more-img",src:at})]),e.createElementVNode("view",{class:"more-select"}," 采购人 "),e.createElementVNode("view",{class:"more-time-select",onClick:l[42]||(l[42]=e=>T.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:x},null,544),[[e.vModelText,b.value]]),e.createElementVNode("image",{class:"select-img",src:nt})]),e.createElementVNode("view",{class:"more-select"}," 供应商 "),e.createElementVNode("view",{class:"more-time-select",onClick:l[44]||(l[44]=e=>z.value=!0)},[e.withDirectives(e.createElementVNode("input",{class:"more-gray","onUpdate:modelValue":l[43]||(l[43]=e=>B.value=e),placeholder:"请输入供应商","placeholder-style":"color: #BFBFBF;",style:{"margin-left":"30rpx",width:"400rpx"},onInput:C},null,544),[[e.vModelText,B.value]]),e.createElementVNode("image",{class:"select-img",src:nt})])],512),[[e.vShow,F.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=>$.cgdParamInfo=e),maxlength:"15",placeholder:"采购单号/采购日期/供应商",onConfirm:l[46]||(l[46]=e=>ue())},null,544),[[e.vModelText,$.cgdParamInfo]]),e.withDirectives(e.createElementVNode("image",{class:"title-input-img",src:S,onClick:l[47]||(l[47]=e=>{$.cgdParamInfo="",ue()})},null,512),[[e.vShow,$.cgdParamInfo]]),e.createElementVNode("view",{class:"title-input-button",onClick:l[48]||(l[48]=e=>{ue()})}," 检索 "),e.createElementVNode("view",{class:"filter"},[e.createElementVNode("image",{class:"filter-img",src:`/static/index/purchaseorder/select${F.value?"target":""}.png`},null,8,["src"]),e.createElementVNode("view",{class:e.normalizeClass(F.value?"filter-font-target":"filter-font"),onClick:l[49]||(l[49]=e=>F.value=!F.value)}," 筛选 ",2)])]),e.createElementVNode("view",{class:"statues-father"},[e.createElementVNode("view",{class:"statues-gray"}," 单据状态 "),e.createElementVNode("view",{class:e.normalizeClass("0,1"==$.cgdType?"statues-button-target":"statues-button"),style:{"margin-left":"4%"},onClick:l[50]||(l[50]=e=>{$.cgdType="0,1",ue()})}," 全部 ",2),e.createElementVNode("view",{class:e.normalizeClass("0"==$.cgdType?"statues-button-target":"statues-button"),onClick:l[51]||(l[51]=e=>{$.cgdType="0",ue()})}," 待入库 ",2),e.createElementVNode("view",{class:e.normalizeClass("1"==$.cgdType?"statues-button-target":"statues-button"),onClick:l[52]||(l[52]=e=>{$.cgdType="1",ue()})}," 待完结 ",2)]),e.createElementVNode("view",{class:"left-menu-father"},[e.createElementVNode("scroll-view",{"scroll-y":"true","scroll-with-animation":"",class:"left-menu-scroll","scroll-top":O.value,onScrolltolower:J,"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=>((e,t)=>{let l=Math.ceil(e+1);O.value=178*(l-2),H.value=e,ee.cgdId=W.value[e].id,ee.pageNo=1,ee.canpull=!0,mt(ee).then((e=>{ne.value=[],ne.value.push(...e.result.records),ee.pageNo&&ae(0)})),"Y"==t.izNew&&(t.izNew="N",xt({id:t.id}))})(l,t),style:e.normalizeStyle({borderColor:l===H.value?"":"transparent",background:l===H.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:X})]),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(Number(t.status)<1?"":null==(a=t.jhTime)?void 0:a.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"})):(e.openBlock(),e.createElementBlock("image",{key:1,class:"middle-ball-img",src:X}))]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",null," 拣货 "),t.jhBy?(e.openBlock(),e.createElementBlock("view",{key:0},e.toDisplayString(Number(t.status)<1?"":"[ "+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:{backgroundColor:"#E5E5E5"}})):(e.openBlock(),e.createElementBlock("image",{key:1,class:"middle-ball-img",src:X}))]),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:ot}),e.createElementVNode("view",{class:"end-left-font"},e.toDisplayString(t.gysId_dictText),1)]),e.createElementVNode("view",{class:"tag-success"},e.toDisplayString(M[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=>xe(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=>xe(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[H.value])?void 0:s.status)?"contain-right-title-bad":"contain-right-button"),style:{"border-color":"#D9DADC","box-shadow":"0 1rpx 3rpx #D9DADC"},onClick:we},[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:it}),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":le.value,"scroll-with-animation":""},[e.createElementVNode("view",{class:"middle-Y-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ne.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"middle-one",key:l,style:e.normalizeStyle({border:_.value===l?"4rpx dashed #1083F8":"4rpx solid transparent",backgroundColor:_.value===l?"#F9FCFF":""}),onClick:e=>ae(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?i.value+t.materialImg:"/static/index/warehouse/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"middle-right"},[e.createElementVNode("view",{class:"right-title"},e.toDisplayString(t.wlName),1),e.createElementVNode("view",{class:"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:_.value!==l?"600":"",color:_.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:_.value===l?"600":"",color:_.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(Qe.value),onClick:w},[e.createElementVNode("view",{style:e.normalizeStyle(Ge.value)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Xe.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(Je.value)},[e.createElementVNode("text",{style:e.normalizeStyle(Ze.value)},"改价",4)],4)],4),e.createElementVNode("view",{onClick:g,class:e.normalizeClass(0==K.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==(N=K.value)?void 0:N.materialImg)?i.value+(null==(f=K.value)?void 0:f.materialImg):"/static/index/warehouse/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"left-tags"},[K.value.categoryId_dictText?(e.openBlock(),e.createElementBlock("view",{key:0,class:"tags-one"},e.toDisplayString(K.value.categoryId_dictText),1)):e.createCommentVNode("",!0),K.value.typeId_dictText?(e.openBlock(),e.createElementBlock("view",{key:1,class:"tags-one"},e.toDisplayString(K.value.typeId_dictText),1)):e.createCommentVNode("",!0),K.value.medicationId_dictText?(e.openBlock(),e.createElementBlock("view",{key:2,class:"tags-one"},e.toDisplayString(K.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(K.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(K.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(K.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(K.value.arrivalPrice?Number(K.value.arrivalPrice).toFixed(2):Number(K.value.procurementPrice).toFixed(2)),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 采购数量 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(K.value.purchaseQuantity),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 采购单位 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(K.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(K.value.kcsl),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 物料上限 ↑ "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(K.value.wlUpperLimit),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 物料下限 ↓ "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(K.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(K.value.rksl),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 挂账数量 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(K.value.wrksl),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 销账数量 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(K.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(K.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(K.value.purchaseQuantity),1),e.createTextVNode(" "+e.toDisplayString(K.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"!=ce.value&&(re.value++,se())})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ie.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(K.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),ie.value.length?(e.openBlock(),e.createElementBlock("view",{key:0,style:{width:"100%",display:"flex","justify-content":"center",color:"#C3C3C3","margin-top":"40rpx"}},["loading"==ce.value?(e.openBlock(),e.createElementBlock("image",{key:0,style:{width:"25rpx",height:"25rpx","margin-right":"10rpx","margin-top":"5rpx","margin-left":"-10rpx"},src:rt})):e.createCommentVNode("",!0),"loading"==ce.value?(e.openBlock(),e.createElementBlock("text",{key:1},"上划加载更多")):e.createCommentVNode("",!0),"nomore"==ce.value?(e.openBlock(),e.createElementBlock("text",{key:2},"已加载全部~")):e.createCommentVNode("",!0),"loadmore"==ce.value?(e.openBlock(),e.createElementBlock("text",{key:3},"加载中~")):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),ie.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:ct}),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=>de.value=!1)},[e.createElementVNode("view",{class:"popup-share-content",style:e.normalizeStyle({opacity:ve.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==(D=W.value[H.value])?void 0:D.cgdNo),1),e.createElementVNode("view",{class:"share-font"}," 供应商:"+e.toDisplayString(null==(I=W.value[H.value])?void 0:I.gysId_dictText),1),e.createElementVNode("view",{class:"share-font"}," 采购时间:"+e.toDisplayString(null==(U=W.value[H.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==(L=W.value[H.value])?void 0:L.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:st}),e.createElementVNode("view",{class:"share-name"},e.toDisplayString(null==(Q=W.value[H.value])?void 0:Q.createBy_dictText),1),e.createElementVNode("view",{class:"share-font"}," 采购人 ")]),e.createElementVNode("view",{class:"blue-button",onClick:pe}," 分享 ")])])],4)],512),[[e.vShow,de.value]]),e.createVNode(Ye,{show:ge.value,font:"确定要作废这个采购单吗",onBack:l[61]||(l[61]=e=>{ge.value=!1}),onRight:he},null,8,["show"]),e.createVNode(Ye,{show:1==a.value,font:"是否删除此图片",onBack:l[62]||(l[62]=e=>a.value=0),onRight:l[63]||(l[63]=e=>(ke.value.splice(Be.value,1),Be.value=-1,void(a.value=0)))},null,8,["show"]),e.createVNode(Ye,{show:2==a.value,font:"是否销账此物料?",onBack:l[64]||(l[64]=e=>a.value=0),onRight:l[65]||(l[65]=e=>Le(1))},null,8,["show"])])}}}),[["__scopeId","data-v-e80bcadd"]]),Ct=s(e.defineComponent({__name:"finish",setup(t){const a=e.ref(0),n=e.ref(0),o=e.ref(""),i=e.ref(""),c=e.ref(!1),s=e.ref(!1),u=e.ref(!1),m=e.ref(!1),d=e.ref(""),v=()=>{gt({id:Z.value.id,arrivalPrice:d.value}).then((e=>{l("log","at pages/Warehouse/finish.vue:1110","res",e),200==e.code&&(Z.value.arrivalPrice=d.value,Z.value.totalPrice=Number(d.value)*Number(Z.value.purchaseQuantity),q.value[J.value].totalPrice=e.result.totalPrice,c.value=!1)}))};function p(e){if(s.value&&(d.value="",s.value=!1),"AC"!==e)if("."!==e){if(/^\d$/.test(e)){if(d.value.includes(".")){const[t,l]=d.value.split(".");return void((l||"").length<2&&(d.value+=e))}let t=d.value;"0"===t&&(t=""),t.length<4&&(d.value=t+e)}}else d.value.includes(".")||(d.value=""===d.value?"0.":d.value+".");else d.value="0"}const g=e.ref([]),w=()=>{g.value=[],V.value=M.cgBy};function h(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 o=0;o<l.length&&n<a.length;o++)l[o]===a[n]&&n++;return n===a.length}let y=null;function N(e){var t;if(!e.detail.value)return M.cgBy="",g.value=[],void ce();const l=String("string"==typeof e?e:(null==(t=null==e?void 0:e.detail)?void 0:t.value)??"").trim();y&&clearTimeout(y),y=setTimeout((()=>{l?(g.value=T.value.filter((e=>h(null==e?void 0:e.cgBy,l))),g.value.length||g.value.push({cgBy:"暂无数据"})):g.value=T.value.slice()}),300)}const f=e.ref([]),x=e.ref(-1),E=()=>{f.value=[],k.value="",M.suppliers="",ce()},V=e.ref(""),k=e.ref("");function b(e){var t;if(!e.detail.value)return M.suppliers="",f.value=[],x.value=-1,k.value="",void ce();const l=String("string"==typeof e?e:(null==(t=null==e?void 0:e.detail)?void 0:t.value)??"").trim();y&&clearTimeout(y),y=setTimeout((()=>{l?(f.value=z.value.filter((e=>h(null==e?void 0:e.suppliersName,l))),f.value.length||f.value.push({suppliersName:"暂无数据"})):f.value=z.value.slice()}),300)}r((()=>{Y(),i.value=uni.getStorageSync("serverUrl")+"/sys/common/static/",D()}));const B=e.ref(!1),C=e.ref(!1),T=e.ref([]),z=e.ref([]),D=()=>{vt().then((e=>{T.value=e.result})),pt().then((e=>{z.value=e.result}))},I=e.ref(!1);e.ref("");const U=e.ref(0),F=["待入库","待完结","已完结"],_=e.ref(-1);e.ref(0);const M=e.reactive({pageNo:1,pageSize:10,canpull:!0,cgdParamInfo:"",suppliers:"",cgdType:"2",startTime:"",endTime:"",cgBy:"",nuId:uni.getStorageSync("nuId")}),j={pageNo:1,pageSize:10,canpull:!0,cgdParamInfo:"",suppliers:"",cgdType:"2",startTime:"",endTime:"",cgBy:"",nuId:uni.getStorageSync("nuId")},$=e.ref(!0),L=()=>{$.value=!1,setTimeout((()=>{$.value=!0}),300),Object.assign(M,j),V.value="",k.value="",ce()},P=e=>{M.startTime=e.start,M.endTime=e.end,ce()},A=e.ref(0),q=e.ref([]),O=e.ref(0),W=e.ref(!1),Y=()=>{ut(M).then((e=>{q.value.push(...e.result.records),O.value=e.result.total,e.result.total||(W.value=!0),e.result.records.length&&(H.cgdId=q.value[0].id,ae(0)),e.result.records.length<M.pageSize&&(M.canpull=!1)}))},R=e.ref(!0),Q=()=>{R.value&&(M.pageNo++,G(),R.value=!1,setTimeout((()=>{R.value=!0}),500))},G=()=>{M.canpull&&ut(M).then((e=>{q.value.push(...e.result.records),O.value=e.result.total,e.result.records.length<M.pageSize&&(M.canpull=!1)}))},J=e.ref(0),Z=e.ref({materialImg:"",cgrvalue:"",gysvalue:"",wlName:"",procurementPrice:"",wlMaterialNo:"",wlSpecificationModel:"",purchaseQuantity:"",wlUnits:"",kcsl:"",wlUpperLimit:"",wlLowerLimit:"",suppliersName:"",jianhuobtn:!1}),H=e.reactive({nuId:"",pageNo:1,pageSize:-1,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",cgdId:"",isWaring:0,canpull:!0}),K={nuId:"",pageNo:1,pageSize:9,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",cgdId:"",isWaring:0},ee=e.ref(0),te=e=>{U.value=e,Z.value=le.value[e],Z.value.jianhuobtn=!1,ee.value=172*(e-2),(0==Number(Z.value.status)||Number(Z.value.status)>0&&Number(Z.value.wrksl)>0)&&(Z.value.maxnum=0==Z.value.rksl&&0==Z.value.wrksl&&0==Z.value.xzsl?Z.value.purchaseQuantity:Z.value.wrksl,Z.value.num=Z.value.maxnum,o.value=Ce(Z.value.num),Z.value.jianhuobtn=!0),Object.assign(H,K),oe.value=1,ne.value=[],re()},le=e.ref([]),ae=e=>{mt(H).then((t=>{le.value=t.result.records,te(e)}))},ne=e.ref([]),oe=e.ref(1),ie=e.ref("loading"),re=()=>{let e={cgdId:Z.value.cgdId,wlId:Z.value.wlId,pageNo:oe.value,pageSize:10};ft(e).then((e=>{ne.value.push(...e.result.records),ie.value=e.result.total==ne.value.length||0==e.result.records.length?"nomore":"loadmore"}))},ce=()=>{M.pageNo=1,q.value=[],ut(M).then((e=>{q.value.push(...e.result.records),O.value=e.result.total,e.result.records.length&&(H.cgdId=q.value[0].id,ae(0)),e.result.records.length<M.pageSize&&(M.canpull=!1)}))},se=e.ref(-1);e.ref(-1);const ue=e.ref(!1),me=e.ref(!1),de=()=>{l("log","at pages/Warehouse/finish.vue:1577","-----------------------\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/finish.vue:1593","-------------------success:",e)},fail:function(e){l("log","at pages/Warehouse/finish.vue:1596","------------------- fail:",e),uni.showToast({title:e,icon:"none",duration:2e4})}})},ve=e.ref(!1),pe=()=>{dt({id:q.value[J.value].id}).then((e=>{l("log","at pages/Warehouse/finish.vue:1614","res",e),e.success?(uni.showToast({title:e.message,icon:"success",duration:2e3}),J.value=0,ve.value=!1,le.value=[],q.value=[],Object.assign(M,j),Object.assign(H,K),Y()):(uni.showToast({title:e.message,icon:"none",duration:2e3}),ve.value=!1)}))},ge=e.ref(!1),we=e.ref([]),he=e.ref([]),ye=e=>{1==e?fe():Ne(),_.value=e,ge.value=!1,setTimeout((()=>{ge.value=!0}),100)};e.ref(1);const Ne=()=>{let e={cgdId:q.value[J.value].id};Nt(e).then((e=>{he.value=e.result}))},fe=()=>{let e={cgdId:q.value[J.value].id,pageNo:1,pageSize:-1};ht(e).then((e=>{l("log","at pages/Warehouse/finish.vue:1671",e.result.records),we.value=e.result.records}))},xe=e.ref([]),Ee=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&&((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);yt({sxdPic:t.message,cgdId:q.value[J.value].id}).then((e=>{e.success&&fe()}))},fail:()=>{uni.showToast({title:"上传失败",icon:"none"})}})})(t.tempFilePath),l("log","at pages/Warehouse/finish.vue:1719",t.tempFilePath)):xe.value.push(t.tempFilePath)}})}})},Ve=(e,t,l,a)=>{if(1==a){let e=[];l.forEach((t=>{e.push(i.value+t.sxdPic)})),uni.previewImage({current:t,urls:e,showmenu:!1,longPressActions:{itemList:[]}})}else if(2==a){let e=[];l.forEach((t=>{e.push(i.value+t.jhPic)})),uni.previewImage({current:t,urls:e,showmenu:!1,longPressActions:{itemList:[]}})}else uni.previewImage({current:t,urls:l,showmenu:!1,longPressActions:{itemList:[]}})},ke=e.ref(-1),be=e.ref(!1),Se=e=>"AC"==e?(Z.value.num=0,void(o.value=Ce(Z.value.num))):"AE"==e?(Z.value.num=Math.trunc(Z.value.num/10),void(o.value=Ce(Z.value.num))):1==be.value?(Z.value.num=e,be.value=!1,void(o.value=Ce(Z.value.num))):void(Be(Z.value.num)>3||(Z.value.num?Z.value.num=10*Z.value.num+e:Z.value.num=e,o.value=Ce(Z.value.num))),Be=e=>Math.abs(e).toString().length,Ce=e=>{const t=Math.floor(Math.abs(e));return String(t).padStart(4,"0")},Te=e.ref(null),ze=e=>{Ie(e)},De=()=>{clearInterval(Te.value)},Ie=e=>{Te.value=setInterval((()=>{Ue(e)}),120)},Ue=e=>{let t=Z.value.maxnum;t<=Z.value.num&&1==e?Z.value.num=t:Z.value.num<=1&&-1==e?Z.value.num=1:(Z.value.num+=e,o.value=Ce(Z.value.num))},Fe=e=>{let t="";_e.value.forEach((e=>{t+=e+","}));let n={jhId:Z.value.id,jhNum:Z.value.num,jhType:e,jhPic:""==t?null:t,cgdId:Z.value.cgdId};wt(n).then((e=>{l("log","at pages/Warehouse/finish.vue:1853","入参",n),l("log","at pages/Warehouse/finish.vue:1854","返回",e),uni.showToast({icon:"none",title:e.message?e.message:"操作成功"}),e.success&&(q.value[J.value].totalPrice=e.result.cgdTotalPrice,xe.value=[],_e.value=[],u.value=!1,a.value=0,H.cgdId=q.value[J.value].id,q.value[J.value]=e.result.cgdInfo,ae(U.value))}))},_e=e.ref([]),Me=e=>{if(0==xe.value.length)return void Fe(e);let t=new Date,l=t.getFullYear(),a=t.getMonth()+1;xe.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);_e.value.push(l.message),_e.value.length==xe.value.length&&Fe(e)},fail:()=>{uni.showToast({title:"上传失败",icon:"none"})}})}))},je=e=>{Number(o.value)?1==e?a.value=2:Me(0):uni.showToast({title:"数量为0的时候无法销账或入库",icon:"none"})},$e=[210,210,210],Le=[50,152,255],Pe=e.ref(0);function Ae(e,t,l){return Math.round(e+(t-e)*l)}function qe(e){return"#"+e.map((e=>e.toString(16).padStart(2,"0"))).join("")}const Oe=e.computed((()=>{const e=[];for(let t=0;t<8;t++){const l=(Pe.value+t/8)%1,a=[Ae($e[0],Le[0],l),Ae($e[1],Le[1],l),Ae($e[2],Le[2],l)];e.push(qe(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:Oe.value[0]||qe($e),fontSize:"30rpx",fontWeight:"600",zIndex:3})));let We=null;return e.onMounted((()=>{const e=Math.max(1,Math.round(1e3/120));We=setInterval((()=>{Pe.value+=1/e,Pe.value>=1&&(Pe.value-=1)}),120)})),e.onUnmounted((()=>{We&&clearInterval(We)})),e.ref(!1),(t,l)=>{var r,s,h,y,T,z,D,j;return e.openBlock(),e.createElementBlock("view",{class:"contain"},[e.withDirectives(e.createElementVNode("view",{class:"mengban",style:e.normalizeStyle(B.value||C.value||m.value?{background:"transparent"}:{}),onClick:l[0]||(l[0]=e=>{se.value=-1,_.value=-1,u.value=!1,c.value=!1,m.value=!1,B.value=!1,C.value=!1,xe.value=[]})},null,4),[[e.vShow,-1!=se.value||-1!=_.value||u.value||c.value||m.value]]),e.createVNode(St,{cont:"暂无数据",show:W.value},null,8,["show"]),e.withDirectives(e.createElementVNode("view",{class:"mengban",style:{background:"transparent"},onClick:E},null,512),[[e.vShow,f.value.length&&k.value]]),f.value.length&&k.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"input-next",style:{bottom:"660rpx"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value.slice(0,5),((t,l)=>e.withDirectives((e.openBlock(),e.createElementBlock("view",{class:"next-father",key:l,onClick:e=>((e,t)=>{f.value=[],M.suppliers=e.suppliers,k.value=e.suppliersName,x.value=t,ce()})(t,l)},e.toDisplayString(t.suppliersName),9,["onClick"])),[[e.vShow,"暂无数据"!=f.value[0].suppliersName]]))),128)),"暂无数据"===f.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:w},null,512),[[e.vShow,g.value.length&&V.value]]),g.value.length&&V.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"input-next"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value.slice(0,5),((t,l)=>e.withDirectives((e.openBlock(),e.createElementBlock("view",{class:"next-father",key:l,onClick:e=>(e=>{g.value=[],M.cgBy=e.cgBy,V.value=M.cgBy,ce()})(t)},e.toDisplayString(t.cgBy),9,["onClick"])),[[e.vShow,"暂无数据"!=g.value[0].cgBy]]))),128)),"暂无数据"===g.value[0].cgBy?(e.openBlock(),e.createElementBlock("view",{key:0,class:"nomessage"}," 暂无数据 ")):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),$.value?e.withDirectives((e.openBlock(),e.createElementBlock("view",{key:2,class:"calendar-father"},[e.createVNode(bt,{onDatachange:P})],512)),[[e.vShow,m.value]]):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("view",{class:"gaijiafather",style:e.normalizeStyle(ge.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(d.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(d.value),1)]),e.createElementVNode("view",{style:{position:"absolute",right:"30rpx",bottom:"30rpx"}},[e.createElementVNode("view",{style:{display:"flex"}},[e.createElementVNode("view",{onClick:l[1]||(l[1]=e=>c.value=!1),style:{width:"160rpx",height:"75rpx","background-color":"#ebeced",color:"#888888",display:"flex","justify-content":"center","align-items":"center","font-size":"30rpx","border-radius":"40rpx"}}," 取消 "),e.createElementVNode("view",{onClick:v,style:{width:"160rpx",height:"75rpx",color:"#0385FA",display:"flex","justify-content":"center","align-items":"center","font-size":"30rpx","border-radius":"40rpx",border:"1rpx solid #0385FA",background:"linear-gradient(to bottom,#E9F4FF,#CAE0F9)",margin:"0 40rpx"}}," 确定 ")])]),e.createElementVNode("view",{class:"jianhuo-jianpan",style:{right:"-40rpx",bottom:"150rpx"}},[e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[2]||(l[2]=e=>p("1"))}," 1 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[3]||(l[3]=e=>p("2"))}," 2 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[4]||(l[4]=e=>p("3"))}," 3 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[5]||(l[5]=e=>p("4"))}," 4 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[6]||(l[6]=e=>p("5"))}," 5 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[7]||(l[7]=e=>p("6"))}," 6 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[8]||(l[8]=e=>p("7"))}," 7 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[9]||(l[9]=e=>p("8"))}," 8 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[10]||(l[10]=e=>p("9"))}," 9 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",style:{"font-size":"30rpx"},onClick:l[11]||(l[11]=e=>p("AC"))}," 清零 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[12]||(l[12]=e=>p("0"))}," 0 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[13]||(l[13]=e=>p("."))}," . ")])])],4),[[e.vShow,c.value]]),e.withDirectives(e.createElementVNode("view",{class:"jianhuofather guodu",style:e.normalizeStyle(ge.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(Z.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(Z.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(Z.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(Z.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(Z.value.arrivalPrice?Number(Z.value.arrivalPrice).toFixed(2):Number(Z.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(Z.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(Z.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(Z.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(Z.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(Z.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(xe.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=>{ke.value=l,a.value=1}),["stop"])},[e.createElementVNode("image",{src:S,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=>Ve(0,l,xe.value)},null,8,["src","onClick"])])))),128)),xe.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=>Ee(0))},[e.createElementVNode("view",{class:"moban-photo-special"},[e.createElementVNode("image",{style:{width:"50rpx",height:"50rpx","margin-bottom":"5rpx"},src:et}),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=>Ue(-1)),onLongpress:l[16]||(l[16]=e=>ze(-1)),onTouchend:De}," - ",32),e.createElementVNode("view",{class:"gray-input",style:{width:"12vw"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.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=>Ue(1)),onLongpress:l[18]||(l[18]=e=>ze(1)),onTouchend:De}," + ",32)]),e.createElementVNode("view",{class:"jianhuobutton"},[e.createElementVNode("view",{style:{display:"flex"}},[e.createElementVNode("view",{onClick:l[19]||(l[19]=e=>{u.value=!1,be.value=!1}),style:{width:"160rpx",height:"75rpx","background-color":"#ebeced",color:"#888888",display:"flex","justify-content":"center","align-items":"center","font-size":"30rpx","border-radius":"40rpx"}}," 关闭 "),e.createElementVNode("view",{onClick:l[20]||(l[20]=e=>je(1)),style:{width:"160rpx",height:"75rpx",color:"#0385FA",display:"flex","justify-content":"center","align-items":"center","font-size":"30rpx","border-radius":"40rpx",border:"1rpx solid #0385FA",background:"linear-gradient(to bottom,#E9F4FF,#CAE0F9)",margin:"0 20rpx"}}," 销账 "),e.createElementVNode("view",{onClick:l[21]||(l[21]=e=>je(0)),style:{width:"160rpx",height:"75rpx",color:"#0385FA",display:"flex","justify-content":"center","align-items":"center","font-size":"30rpx","border-radius":"40rpx",border:"1rpx solid #0385FA",background:"linear-gradient(to bottom,#E9F4FF,#CAE0F9)"}}," 入库 ")])]),e.createElementVNode("view",{class:"jianhuo-jianpan"},[e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[22]||(l[22]=e=>Se(1))}," 1 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[23]||(l[23]=e=>Se(2))}," 2 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[24]||(l[24]=e=>Se(3))}," 3 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[25]||(l[25]=e=>Se(4))}," 4 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[26]||(l[26]=e=>Se(5))}," 5 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[27]||(l[27]=e=>Se(6))}," 6 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[28]||(l[28]=e=>Se(7))}," 7 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[29]||(l[29]=e=>Se(8))}," 8 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[30]||(l[30]=e=>Se(9))}," 9 ")]),e.createElementVNode("view",{style:{display:"flex",width:"480rpx"}},[e.createElementVNode("view",{class:"gray-button-jianpan",style:{"font-size":"30rpx"},onClick:l[31]||(l[31]=e=>Se("AC"))}," 清零 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[32]||(l[32]=e=>Se(0))}," 0 "),e.createElementVNode("view",{class:"gray-button-jianpan",onClick:l[33]||(l[33]=e=>Se("AE"))},[e.createElementVNode("image",{src:tt,mode:"aspectFill",style:{width:"50%",height:"50%"}})])])])],4),[[e.vShow,u.value]]),e.withDirectives(e.createElementVNode("view",{class:"photowall",style:e.normalizeStyle(ge.value?{opacity:1}:{opacity:0})},[e.createElementVNode("view",{class:"photowall-title"},[e.createElementVNode("view",{class:"photowall-name"},e.toDisplayString(_.value?"随行单":"拣货照片"),1),e.createElementVNode("view",{class:""},[e.createElementVNode("text",{class:"photowall-left"}," 采购单号: "),e.createElementVNode("text",{class:"photowall-right"},e.toDisplayString(null==(r=q.value[J.value])?void 0:r.cgdNo),1)])]),0==_.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(he.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"photowall-other-one",key:l,onClick:e=>Ve(0,l,he.value,2)},[e.createElementVNode("image",{style:{width:"100%",height:"70%","border-radius":"30rpx"},src:t.jhPic?i.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)),he.value.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"noarray"},[e.createElementVNode("image",{class:"noarray-img",src:lt,mode:"aspectFill"}),e.createElementVNode("view",{class:"noarray-font"}," 暂无拣货照片 ")]))])):e.createCommentVNode("",!0),1==_.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(we.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"photowall-other-one",key:l,onClick:e=>Ve(0,l,we.value,1)},[e.createElementVNode("image",{style:{width:"100%",height:"70%","border-radius":"30rpx"},src:t.sxdPic?i.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)),we.value.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("view",{key:0,class:"noarray"},[e.createElementVNode("image",{class:"noarray-img",src:lt,mode:"aspectFill"}),e.createElementVNode("view",{class:"noarray-font"}," 暂无随行单 ")]))])):e.createCommentVNode("",!0)],4),[[e.vShow,-1!=_.value]]),e.createElementVNode("view",{class:"contain-left"},[e.withDirectives(e.createElementVNode("view",{class:"mengban",style:{background:"transparent"},onClick:l[34]||(l[34]=e=>I.value=!1)},null,512),[[e.vShow,I.value]]),e.withDirectives(e.createElementVNode("view",{class:"left-select-more"},[e.createElementVNode("view",{class:"more-bottom"},[e.createElementVNode("view",{class:"bottom-left",onClick:L}," 重置 "),e.createElementVNode("view",{class:"bottom-right",onClick:l[35]||(l[35]=e=>I.value=!1)},[e.createTextVNode(" 确定 "),O.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-time"}," 采购日期 "),e.createElementVNode("view",{class:"more-time-select",onClick:l[36]||(l[36]=e=>m.value=!m.value)},[e.withDirectives(e.createElementVNode("view",{class:"more-gray"}," 开始日期 ",512),[[e.vShow,!M.startTime]]),e.withDirectives(e.createElementVNode("view",{class:"more-black"},e.toDisplayString(M.startTime),513),[[e.vShow,M.startTime]]),e.createElementVNode("view",{style:{"font-size":"32rpx"}}," 至 "),e.withDirectives(e.createElementVNode("view",{class:"more-gray"}," 结束日期 ",512),[[e.vShow,!M.endTime]]),e.withDirectives(e.createElementVNode("view",{class:"more-black"},e.toDisplayString(M.endTime),513),[[e.vShow,M.endTime]]),e.createElementVNode("image",{class:"more-img",src:at})]),e.createElementVNode("view",{class:"more-select"}," 采购人 "),e.createElementVNode("view",{class:"more-time-select",onClick:l[38]||(l[38]=e=>B.value=!0)},[e.withDirectives(e.createElementVNode("input",{class:"more-gray","onUpdate:modelValue":l[37]||(l[37]=e=>V.value=e),placeholder:"请输入采购人","placeholder-style":"color: #BFBFBF;",style:{"margin-left":"30rpx",width:"400rpx"},onInput:N},null,544),[[e.vModelText,V.value]]),e.createElementVNode("image",{class:"select-img",src:nt})]),e.createElementVNode("view",{class:"more-select"}," 供应商 "),e.createElementVNode("view",{class:"more-time-select",onClick:l[40]||(l[40]=e=>C.value=!0)},[e.withDirectives(e.createElementVNode("input",{class:"more-gray","onUpdate:modelValue":l[39]||(l[39]=e=>k.value=e),placeholder:"请输入供应商","placeholder-style":"color: #BFBFBF;",style:{"margin-left":"30rpx",width:"400rpx"},onInput:b},null,544),[[e.vModelText,k.value]]),e.createElementVNode("image",{class:"select-img",src:nt})])],512),[[e.vShow,I.value]]),e.createElementVNode("view",{class:"title-input-father"},[e.withDirectives(e.createElementVNode("input",{class:"title-input",type:"text","onUpdate:modelValue":l[41]||(l[41]=e=>M.cgdParamInfo=e),maxlength:"15",placeholder:"采购单号/采购日期/供应商",onConfirm:l[42]||(l[42]=e=>ce())},null,544),[[e.vModelText,M.cgdParamInfo]]),e.withDirectives(e.createElementVNode("image",{class:"title-input-img",src:S,onClick:l[43]||(l[43]=e=>{M.cgdParamInfo="",ce()})},null,512),[[e.vShow,M.cgdParamInfo]]),e.createElementVNode("view",{class:"title-input-button",onClick:l[44]||(l[44]=e=>{ce()})}," 检索 "),e.createElementVNode("view",{class:"filter"},[e.createElementVNode("image",{class:"filter-img",src:`/static/index/purchaseorder/select${I.value?"target":""}.png`},null,8,["src"]),e.createElementVNode("view",{class:e.normalizeClass(I.value?"filter-font-target":"filter-font"),onClick:l[45]||(l[45]=e=>I.value=!I.value)}," 筛选 ",2)])]),e.createElementVNode("view",{class:"statues-father"}),e.createElementVNode("view",{class:"left-menu-father"},[e.createElementVNode("scroll-view",{"scroll-y":"true","scroll-with-animation":"",class:"left-menu-scroll","scroll-top":A.value,onScrolltolower:Q,"lower-threshold":400},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(q.value,((t,l)=>{var a,n;return e.openBlock(),e.createElementBlock("view",{class:"pls-card",key:l,onClick:e=>((e,t)=>{let l=Math.ceil(e+1);A.value=178*(l-2),J.value=e,H.cgdId=q.value[e].id,H.pageNo=1,H.canpull=!0,mt(H).then((e=>{le.value=[],le.value.push(...e.result.records),H.pageNo&&te(0)})),"Y"==t.izNew&&(t.izNew="N",xt({id:t.id}))})(l,t),style:e.normalizeStyle({borderColor:l===J.value?"":"transparent",background:l===J.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:X})]),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(Number(t.status)<1?"":null==(a=t.jhTime)?void 0:a.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"})):(e.openBlock(),e.createElementBlock("image",{key:1,class:"middle-ball-img",src:X}))]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",null," 拣货 "),t.jhBy?(e.openBlock(),e.createElementBlock("view",{key:0},e.toDisplayString(Number(t.status)<1?"":"[ "+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:{backgroundColor:"#E5E5E5"}})):(e.openBlock(),e.createElementBlock("image",{key:1,class:"middle-ball-img",src:X}))]),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:ot}),e.createElementVNode("view",{class:"end-left-font"},e.toDisplayString(t.gysId_dictText),1)]),e.createElementVNode("view",{class:"tag-success"},e.toDisplayString(F[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[46]||(l[46]=e=>ye(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[47]||(l[47]=e=>ye(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:"contain-right-button",onClick:l[48]||(l[48]=e=>{uni.navigateBack()})},[e.createElementVNode("image",{class:"buttont-img",style:{"margin-top":"4rpx"},src:it}),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":ee.value,"scroll-with-animation":""},[e.createElementVNode("view",{class:"middle-Y-father"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(le.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"middle-one",key:l,style:e.normalizeStyle({border:U.value===l?"4rpx dashed #1083F8":"4rpx solid transparent",backgroundColor:U.value===l?"#F9FCFF":""}),onClick:e=>te(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?i.value+t.materialImg:"/static/index/warehouse/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"middle-right"},[e.createElementVNode("view",{class:"right-title"},e.toDisplayString(t.wlName),1),e.createElementVNode("view",{class:"juzhong"},[e.createElementVNode("view",{class:""},[e.createElementVNode("text",{style:{"font-size":"25rpx","margin-right":"-5rpx","margin-left":"-5rpx"}}," ¥ "),e.createElementVNode("text",{style:e.normalizeStyle([{"font-size":"30rpx"},{fontWeight:U.value!==l?"600":"",color:U.value!==l?"#333333":"#888888"}])},e.toDisplayString(t.arrivalPrice?Number(t.arrivalPrice).toFixed(2):Number(t.procurementPrice).toFixed(2)),5)]),e.createElementVNode("view",{class:"",style:{"font-size":"30rpx",position:"relative"}},[e.createElementVNode("text",{style:e.normalizeStyle([{"font-weight":"600","margin-right":"5rpx"},{fontWeight:U.value===l?"600":"",color:U.value===l?"#333333":"#888888"}])},e.toDisplayString(t.purchaseQuantity),5),e.createElementVNode("text",{style:{"font-size":"26rpx",color:"#888888"}},e.toDisplayString(t.wlUnits),1)])]),e.createElementVNode("view",{class:"right-middle"}),e.createElementVNode("view",{class:"juzhong"},[e.createElementVNode("view",{class:""},[e.createElementVNode("text",{style:{color:"#888888"}}," 入库数量 ")]),e.createElementVNode("view",{class:""},[e.createElementVNode("text",{style:e.normalizeStyle({fontWeight:t.rksl>0?"600":""})},e.toDisplayString(t.rksl),5)])]),e.createElementVNode("view",{class:"juzhong"},[e.createElementVNode("view",{class:""},[e.createElementVNode("text",{style:{color:"#888888"}}," 挂账数量 ")]),e.createElementVNode("view",{class:""},[e.createElementVNode("text",{style:e.normalizeStyle({fontWeight:t.wrksl>0?"600":""})},e.toDisplayString(t.wrksl),5)])]),e.createElementVNode("view",{class:"juzhong"},[e.createElementVNode("view",{class:""},[e.createElementVNode("text",{style:{color:"#888888"}}," 销账数量 ")]),e.createElementVNode("view",{class:""},[e.createElementVNode("text",{style:e.normalizeStyle({fontWeight:t.xzsl>0?"600":""})},e.toDisplayString(t.xzsl),5)])])])],12,["onClick"])))),128))])],8,["scroll-left"]),e.createElementVNode("view",{style:{display:"flex","justify-content":"space-between"}},[e.createElementVNode("view",{style:{display:"flex"}},[e.createElementVNode("view",{class:e.normalizeClass(n.value?"wuliao-title-no":"wuliao-title"),onClick:l[49]||(l[49]=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[50]||(l[50]=e=>n.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:(null==(s=Z.value)?void 0:s.materialImg)?i.value+(null==(h=Z.value)?void 0:h.materialImg):"/static/index/warehouse/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"left-tags"},[Z.value.categoryId_dictText?(e.openBlock(),e.createElementBlock("view",{key:0,class:"tags-one"},e.toDisplayString(Z.value.categoryId_dictText),1)):e.createCommentVNode("",!0),Z.value.typeId_dictText?(e.openBlock(),e.createElementBlock("view",{key:1,class:"tags-one"},e.toDisplayString(Z.value.typeId_dictText),1)):e.createCommentVNode("",!0),Z.value.medicationId_dictText?(e.openBlock(),e.createElementBlock("view",{key:2,class:"tags-one"},e.toDisplayString(Z.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(Z.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(Z.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(Z.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(Z.value.arrivalPrice?Number(Z.value.arrivalPrice).toFixed(2):Number(Z.value.procurementPrice).toFixed(2)),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 采购数量 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(Z.value.purchaseQuantity),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 采购单位 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(Z.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(Z.value.kcsl),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 物料上限 ↑ "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(Z.value.wlUpperLimit),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 物料下限 ↓ "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(Z.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(Z.value.rksl),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 挂账数量 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(Z.value.wrksl),1)]),e.createElementVNode("view",{class:"threeone"},[e.createElementVNode("view",{class:"gray-text"}," 销账数量 "),e.createElementVNode("view",{class:"right-text"},e.toDisplayString(Z.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(Z.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(Z.value.purchaseQuantity),1),e.createTextVNode(" "+e.toDisplayString(Z.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[51]||(l[51]=e=>{"nomore"!=ie.value&&(oe.value++,re())})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ne.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(Z.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),ne.value.length?(e.openBlock(),e.createElementBlock("view",{key:0,style:{width:"100%",display:"flex","justify-content":"center",color:"#C3C3C3","margin-top":"40rpx"}},["loading"==ie.value?(e.openBlock(),e.createElementBlock("image",{key:0,style:{width:"25rpx",height:"25rpx","margin-right":"10rpx","margin-top":"5rpx","margin-left":"-10rpx"},src:rt})):e.createCommentVNode("",!0),"loading"==ie.value?(e.openBlock(),e.createElementBlock("text",{key:1},"上划加载更多")):e.createCommentVNode("",!0),"nomore"==ie.value?(e.openBlock(),e.createElementBlock("text",{key:2},"已加载全部~")):e.createCommentVNode("",!0),"loadmore"==ie.value?(e.openBlock(),e.createElementBlock("text",{key:3},"加载中~")):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),ne.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:ct}),e.createElementVNode("view",{class:"noarray-font"}," 暂无拣货记录 ")]))],512),[[e.vShow,1==n.value]])])]),e.withDirectives(e.createElementVNode("view",{class:"popup-share",onClick:l[53]||(l[53]=e=>ue.value=!1)},[e.createElementVNode("view",{class:"popup-share-content",style:e.normalizeStyle({opacity:me.value?1:0}),onClick:l[52]||(l[52]=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=q.value[J.value])?void 0:y.cgdNo),1),e.createElementVNode("view",{class:"share-font"}," 供应商:"+e.toDisplayString(null==(T=q.value[J.value])?void 0:T.gysId_dictText),1),e.createElementVNode("view",{class:"share-font"}," 采购时间:"+e.toDisplayString(null==(z=q.value[J.value])?void 0:z.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==(D=q.value[J.value])?void 0:D.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:st}),e.createElementVNode("view",{class:"share-name"},e.toDisplayString(null==(j=q.value[J.value])?void 0:j.createBy_dictText),1),e.createElementVNode("view",{class:"share-font"}," 采购人 ")]),e.createElementVNode("view",{class:"blue-button",onClick:de}," 分享 ")])])],4)],512),[[e.vShow,ue.value]]),e.createVNode(Ye,{show:ve.value,font:"确定要作废这个采购单吗",onBack:l[54]||(l[54]=e=>{ve.value=!1}),onRight:pe},null,8,["show"]),e.createVNode(Ye,{show:1==a.value,font:"是否删除此图片",onBack:l[55]||(l[55]=e=>a.value=0),onRight:l[56]||(l[56]=e=>(xe.value.splice(ke.value,1),ke.value=-1,void(a.value=0)))},null,8,["show"]),e.createVNode(Ye,{show:2==a.value,font:"是否销账此物料?",onBack:l[57]||(l[57]=e=>a.value=0),onRight:l[58]||(l[58]=e=>Me(1))},null,8,["show"])])}}}),[["__scopeId","data-v-771082b1"]]),Tt="/static/index/procurement/sx.png",zt=s(e.defineComponent({__name:"cgdclass",props:{show:{type:Boolean,default:!1,required:!0},typenum:{type:Number,default:0},cgdId:{type:String,default:""}},emits:["confirm"],setup(t,{emit:a}){const n=e.reactive({scrolltop1:0,scrolltop2:0,scrolltop3:0,act1:-1,act2:-1,act3:-1}),o=e.ref([]);e.ref([]),e.ref(-1);const i=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 m();2==e&&(n.act3=-1,n.scrolltop3=0),n["act"+e]=t,n["scrolltop"+e]=50*(t-2),m()};e.onMounted((()=>{i.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"}));const u=e.ref(0),m=()=>{let e={nuId:uni.getStorageSync("nuId"),categoryId:n.act1>-1?o.value[n.act1].categoryId:"",typeId:n.act2>-1?o.value[n.act1].children[n.act2].typeId:"",medicationId:n.act3>-1?o.value[n.act1].children[n.act2].children[n.act3].key:"",cgdId:v.cgdId};switch(v.typenum){case 0:$e(e).then((e=>{u.value=e.result.totalSize}));break;case 1:Le(e).then((e=>{u.value=e.result.totalSize}));break;case 2:l("log","at pages/procurement/components/cgdclass.vue:107",e),Pe(e).then((e=>{u.value=e.result.totalSize}))}},d=()=>{let e={categoryId:n.act1>-1?o.value[n.act1].categoryId:"",typeId:n.act2>-1?o.value[n.act1].children[n.act2].typeId:"",medicationId:n.act3>-1?o.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:Ue({nuId:uni.getStorageSync("nuId")}).then((e=>{o.value=e.result,m()}));break;case 1:Fe({nuId:uni.getStorageSync("nuId")}).then((e=>{o.value=e.result,m()}));break;case 2:l("log","at pages/procurement/components/cgdclass.vue:136",{nuId:uni.getStorageSync("nuId"),cgdId:v.cgdId}),_e({nuId:uni.getStorageSync("nuId"),cgdId:v.cgdId}).then((e=>{l("log","at pages/procurement/components/cgdclass.vue:138",e.result),o.value=e.result,m()}))}})()})),(l,a)=>{var r,c,m;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(o.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:i.value+t.appCheckIconPath,mode:"aspectFill"},null,8,["src"])):(e.openBlock(),e.createElementBlock("image",{key:1,src:i.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=o.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==(m=null==(c=o.value[n.act1])?void 0:c.children[n.act2])?void 0:m.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:d},[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"]]),Dt=s(e.defineComponent({__name:"purchaseorder",setup(t){const a=e.ref(!1),n=e.ref("");r((()=>{v(),n.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"}));const o=["待入库","待完结","已完结"];e.ref("");const i=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),m=e.ref([]),d=e.ref(!1),v=()=>{Me(c).then((e=>{m.value.push(...e.result.records),l("log","at pages/procurement/purchaseorder.vue:435","zzzz",m.value),e.result.total||(d.value=!0),e.result.records.length&&(E.cgdId=m.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,i.value=0,B.value=[],C(),a.value=!1},w=e.ref(!0),h=()=>{w.value&&(c.pageNo++,y(),w.value=!1,setTimeout((()=>{w.value=!0}),500))},y=()=>{c.canpull&&Me(c).then((e=>{m.value.push(...e.result.records),1==c.pageNo&&f(N.value,m.value[N.value]),e.result.records.length<c.pageSize&&(c.canpull=!1)}))},N=e.ref(0),f=(e,t)=>{N.value!=e&&(i.value=0);let l=Math.ceil(e+1);var a;u.value=186*(l-2),N.value=e,E.cgdId=m.value[e].id,E.pageNo=1,E.canpull=!0,C(),"Y"==t.izNew&&(t.izNew="N",a={id:t.id},p({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),b=e=>{i.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,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryCgdInfoList`,method:"get",data:e})).then((e=>{B.value=[],B.value.push(...e.result.records),b(i.value)}))},T=()=>{E.pageNo=1,B.value=[],i.value=0,c.pageNo=1,m.value=[],Me(c).then((e=>{l("log","at pages/procurement/purchaseorder.vue:578",e.result.records),m.value.push(...e.result.records),e.result.records.length&&(E.cgdId=m.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:m.value[N.value].id},p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/editShareInfo`,method:"post",data:e})).then((e=>{e.success&&(e=>p({url:"/sys/sysDepart/getShareUrlByCode",method:"get",data:e}))({orgCode:uni.getStorageSync("orgListCode")}).then((e=>{let t=`${e.shareUrl}/h5/CgdShareInfo?cgdId=${m.value[N.value].id}`;uni.share({provider:"weixin",scene:"WXSceneSession",type:0,href:t,summary:"点击查看采购单详情,包含物料规格及采购数量",title:`采购单: ${m.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),j=e.ref(!1),$=()=>{var e;(e={id:m.value[D.value].id},p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/voidedCgdMain`,method:"post",data:e})).then((e=>{e.success&&(uni.showToast({title:e.message,icon:"success",duration:2e3}),M.value=!1,B.value=[],m.value=[],Object.assign(c,s),Object.assign(E,V),v())}))};return e.ref(!1),(t,l)=>{var r,s,v,p,w,y,E,V,C,L,P,A,q,O,W,Y,R,Q,G;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:S,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:h,"lower-threshold":400},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,((t,l)=>{var a,n,i;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)<=0?(e.openBlock(),e.createElementBlock("view",{key:0,class:"more-one",onClick:e=>(e=>{1!=Number(e.status)?(M.value=!0,z.value=-1,j.value=!1,setTimeout((()=>j.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"==m.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:X})]),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,"."):Number(t.status)<1?"":null==(n=t.jhTime)?void 0:n.slice(0,10).replace(/-/g,".")),5),e.createElementVNode("view",{class:"middle-heng-father"},["9"==(null==t?void 0:t.cgdType)?(e.openBlock(),e.createElementBlock("image",{key:0,class:"middle-ball-img",style:{width:"32rpx",height:"32rpx"},src:"/static/index/requestform/iserror.png"})):Number(t.status)<2?(e.openBlock(),e.createElementBlock("view",{key:1,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:2,class:"middle-ball-img",src:X}))]),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(Number(t.status)>0||"9"==(null==t?void 0:t.cgdType)?"[ "+("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==(i=t.wjTime)?void 0:i.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"})):(e.openBlock(),e.createElementBlock("image",{key:1,class:"middle-ball-img",src:X}))]),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:ot}),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)?"已作废":o[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:Tt}),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:it}),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:i.value===l?"4rpx dashed #1083F8":"4rpx solid transparent",backgroundColor:i.value===l?"#F9FCFF":""}),onClick:e=>b(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==(w=x.value)?void 0:w.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(St,{cont:"暂无数据",show:d.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==(W=m.value[N.value])?void 0:W.cgdNo),1),e.createElementVNode("view",{class:"share-font"}," 供应商:"+e.toDisplayString(null==(Y=m.value[N.value])?void 0:Y.gysId_dictText),1),e.createElementVNode("view",{class:"share-font"}," 采购时间:"+e.toDisplayString(null==(R=m.value[N.value])?void 0:R.qgDate),1)]),e.createElementVNode("view",{class:"right-flex"},[e.createElementVNode("view",{style:{"font-weight":"600"}},[e.createElementVNode("text",{style:{"vertical-align":"2rpx"}}," ¥ "),e.createElementVNode("text",{class:"dollar-text"},e.toDisplayString(Number(null==(Q=m.value[N.value])?void 0:Q.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:st}),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(zt,{onConfirm:g,show:a.value,typenum:2,cgdId:null==(G=m.value[N.value])?void 0:G.id},null,8,["show","cgdId"]),e.createVNode(Ye,{show:M.value,font:"确定要作废这个采购单吗",onBack:l[10]||(l[10]=e=>{M.value=!1}),onRight:$},null,8,["show"])])}}}),[["__scopeId","data-v-58254a5d"]]),It="/static/index/procurement/cz.png",Ut=s(e.defineComponent({__name:"calculator",props:{show:{type:Boolean,default:!1,required:!0},caigouobj:{type:Object,required:!0}},emits:["right","colse","jjnum"],setup(t,{emit:a}){const n=a,o=e.ref(-1),i=e.ref(!1),r=e.ref(!1),c=e.ref(!1),s=e.ref({}),u=e.ref(0),m=e.ref([]),d=e.ref([]),v=e.ref(0),p=t,g=e.ref(!1),w=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:159",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.unitPrice?p.caigouobj.unitPrice: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:184",p.caigouobj.wlUnits,s.value)):s.value=e.find((e=>e.multiUnitType==p.caigouobj.multiUnitType)),d.value=[],u.value=0,e.forEach((e=>{e.unit&&e.num&&d.value.push(e)})),l("log","at pages/procurement/components/calculator.vue:199","a",e);let t=[],a=[];m.value=[],t=p.caigouobj.suppliers_dictText.split(/[, ]+/),a=p.caigouobj.suppliers.split(/[, ]+/),t.forEach(((e,t)=>{m.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)):h(),setTimeout((()=>{w.value=!0}),50)}else i.value=!1,r.value=!1,g.value=!1,s.value={},c.value=!1,v.value=0,k.value=!1,setTimeout((()=>{w.value=!1}),400)}));const h=()=>{let e=Number(p.caigouobj.upperLimit)-Number(p.caigouobj.kcsl),t=Math.floor(e/s.value.num);y(t),N()},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:252",c.value,e,t)},f=e=>{v.value=e,i.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 o.value=t,setTimeout((()=>{o.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,m.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(w.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=>i.value=!0)},[e.createElementVNode("view",null,e.toDisplayString(null==(n=m.value[v.value])?void 0:n.name),1),e.createElementVNode("text",{onClick:a[0]||(a[0]=e.withModifiers((e=>i.value=!i.value),["stop"]))},[e.createElementVNode("image",{class:"guodu",style:e.normalizeStyle(i.value?"transform: rotate(180deg);":""),src:"/static/index/procurement/sj.png",mode:"aspectFill"},null,12,["src"])])]),e.createElementVNode("view",{class:e.normalizeClass(["tanchu guodu",i.value?"":"hei0"]),style:e.normalizeStyle(`height: ${m.value&&7*m.value.length||0}vh`)},[i.value?(e.openBlock(),e.createElementBlock("scroll-view",{key:0,"scroll-y":"true",class:"gysscrol"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.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},["AC"==t?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass([o.value==l?"calculator-kuai-target":"","calculator-kuai"]),style:{"font-size":"33rpx"},onClick:e=>b(t,l)}," 清零 ",10,["onClick"])):"AE"==t?(e.openBlock(),e.createElementBlock("view",{key:1,class:e.normalizeClass([o.value==l?"calculator-kuai-target":"","calculator-kuai"]),onClick:e=>b(t,l)},[e.createElementVNode("image",{src:tt,mode:"aspectFill",style:{width:"50%",height:"50%","margin-left":"-5rpx"}})],10,["onClick"])):(e.openBlock(),e.createElementBlock("view",{key:2,class:e.normalizeClass([o.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: ${d.value&&7*d.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(d.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,h()})(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||i.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mengban",onClick:a[7]||(a[7]=e=>{i.value=!1,r.value=!1,g.value=!1})})):e.createCommentVNode("",!0)],6)}}}),[["__scopeId","data-v-bf8e2388"]]),Ft=s(e.defineComponent({__name:"classification",props:{show:{type:Boolean,default:!1,required:!0},typenum:{type:Number,default:0}},emits:["confirm"],setup(t,{expose:a,emit:n}){const o=e.reactive({scrolltop1:0,scrolltop2:0,scrolltop3:0,act1:-1,act2:-1,act3:-1}),i=e.ref([]),r=e.ref([]),c=e.ref(-1),s=e.ref(""),u=e.ref(!1),m=e.ref(!1),d=n,v=(e,t,l)=>{if(1==e&&(o.act2=-1,o.act3=-1,o.scrolltop2=0,o.scrolltop3=0,o.act1==t))return o.act1=-1,void h();2==e&&(o.act3=-1,o.scrolltop3=0),o["act"+e]=t,o["scrolltop"+e]=50*(t-2),h()};e.onMounted((()=>{s.value=uni.getStorageSync("serverUrl")+"/sys/common/static/",y(),g()}));const g=()=>{var e;p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/getGysList`,method:"get",data:e}).then((e=>{r.value=e.result}))},w=e.ref(0),h=()=>{let e={nuId:uni.getStorageSync("nuId"),categoryId:o.act1>-1?i.value[o.act1].categoryId:"",typeId:o.act2>-1?i.value[o.act1].children[o.act2].typeId:"",medicationId:o.act3>-1?i.value[o.act1].children[o.act2].children[o.act3].key:"",suppliers:c.value>-1?r.value[c.value].suppliers:""};switch(f.typenum){case 0:$e(e).then((e=>{w.value=e.result.totalSize}));break;case 1:Le(e).then((e=>{w.value=e.result.totalSize}));break;case 2:Pe(e).then((e=>{w.value=e.result.totalSize}))}},y=()=>{switch(f.typenum){case 0:Ue({nuId:uni.getStorageSync("nuId")}).then((e=>{i.value=e.result,h()}));break;case 1:Fe({nuId:uni.getStorageSync("nuId")}).then((e=>{i.value=e.result,h()}));break;case 2:l("log","at pages/procurement/components/classification.vue:162",{nuId:uni.getStorageSync("nuId")}),_e({nuId:uni.getStorageSync("nuId")}).then((e=>{l("log","at pages/procurement/components/classification.vue:164",e.result),i.value=e.result,h()}))}},N=()=>{let e={categoryId:o.act1>-1?i.value[o.act1].categoryId:"",typeId:o.act2>-1?i.value[o.act1].children[o.act2].typeId:"",medicationId:o.act3>-1?i.value[o.act1].children[o.act2].children[o.act3].key:"",suppliers:c.value>-1?r.value[c.value].suppliers:""};d("confirm",e)},f=t;e.watch((()=>f.show),(()=>{0==f.show?(u.value=!1,setTimeout((()=>{m.value=!1}),400)):setTimeout((()=>{m.value=!0}),50)}));const x=()=>{c.value<0?u.value=!u.value:E()},E=()=>{c.value>-1&&(c.value=-1,h())};return a({typescroll:v,config:N,qingkong:E,getTreelnum:h}),(l,a)=>{var n,d,p;return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:e.normalizeClass(["ifclass guodu",t.show?"":"unclass"]),style:e.normalizeStyle(m.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,h()}},[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":o.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(o.act1==l?"act":""),onClick:e=>v(1,l)},[o.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":o.scrolltop2,class:"scroll-Y scrl2"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(null==(n=i.value[o.act1])?void 0:n.children,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(o.act2==l?"act":""),onClick:e=>v(2,l)},e.toDisplayString(t.title),11,["onClick"])))),256))],8,["scroll-top"]),e.createElementVNode("scroll-view",{"scroll-y":"true","scroll-with-animation":"","scroll-top":o.scrolltop3,class:"scroll-Y scrl3"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(null==(p=null==(d=i.value[o.act1])?void 0:d.children[o.act2])?void 0:p.children,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(o.act3==l?"act":""),onClick:e=>v(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=>{v(1,-1),E()})},"重置"),e.createElementVNode("view",{class:"bt qd",onClick:N},[e.createTextVNode("确定 "),w.value>0?(e.openBlock(),e.createElementBlock("text",{key:0},""+e.toDisplayString(w.value>99?"99+":w.value)+"件物料)",1)):e.createCommentVNode("",!0)])])],6)])}}}),[["__scopeId","data-v-5650125d"]]),_t=s(e.defineComponent({__name:"Inventory",props:{InvoicingList:{type:Array,required:!0},status:{type:String},show:{type:Boolean,default:!1,required:!0}},emits:["addcartory","tolower","solleft","crk"],setup(t,{emit:l}){const n=t,o=l,i=e.ref("");e.onMounted((()=>{i.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"})),e.ref(!0);const r=()=>{o("tolower")},c=e.ref({}),s=e.ref(0),u=e.ref(0),m=(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 d=a(e.resolveDynamicComponent("u-loadmore"),me);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,o=e.changedTouches[0].pageX,i=Math.abs(o-s.value),r=Math.abs(n-u.value);if(r>30&&i+10<r&&i<70)0==t.zk&&setTimeout((()=>{t.scrollleft=0}),20);else{if(i<10&&r<10)return 0==t.zk&&i>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=!(o>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,m(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?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",{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),m(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)=>{o("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=>{o("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(d,{key:0,status:t.status,loadText:{nomore:"暂无更多数据"}},null,8,["status"])):e.createCommentVNode("",!0)])],32)])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-977d9340"]]),Mt=s(e.defineComponent({__name:"carditem",props:{InvoicingList:{type:Array,required:!0},status:{type:String},show:{type:Boolean,default:!1,required:!0}},emits:["addcartory","scrolltolower","addcar","crk"],setup(t,{emit:n}){const o=t,i=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,i("addcartory",c.value))},u=e.ref(0),m=e.ref(0),d=(e,t)=>{o.InvoicingList.forEach(((e,l)=>{l!=t&&1==e.zk&&(e.zk=!1,e.scrollleft=0)}))};e.ref(0);const v=e=>{};return(n,o)=>{const p=a(e.resolveDynamicComponent("u-loadmore"),me);return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("scroll-view",{"scroll-y":"true",class:"crdcroll","scroll-with-animation":"",onScrolltolower:o[2]||(o[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,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 o=e.changedTouches[0].pageY,i=e.changedTouches[0].pageX,r=Math.abs(i-u.value),s=Math.abs(o-m.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=!(i>u.value),void(t.scrollleft=t.zk?150:0))})(e,t,a),onTouchstart:e=>((e,t,l)=>{u.value=e.changedTouches[0].pageX,m.value=e.changedTouches[0].pageY,d(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)=>{i("crk",e,t)})(t,a)),["stop"]),onTouchend:o[0]||(o[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:o[1]||(o[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"]]),jt=s(e.defineComponent({__name:"details",props:{InvoicingList:{type:Array,required:!0},status:{type:String},show:{type:Boolean,default:!1,required:!0}},emits:["addcartory","tolower","solleft"],setup(t,{emit:l}){const a=t;e.watch((()=>a.show),(()=>{0==a.show&&(a.InvoicingList[0].scrollleft=0)}));const n=l,o=e.ref("");e.onMounted((()=>{o.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"})),e.ref(!0);const i=()=>{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:i},[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,o=e.changedTouches[0].pageX,i=Math.abs(o-c.value),u=Math.abs(n-s.value);if(u>30&&i+10<u&&i<70)0==t.zk&&setTimeout((()=>{t.scrollleft=0}),20);else{if(i<10&&u<10)return 0==t.zk&&i>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=!(o>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?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",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"]]),$t=s(e.defineComponent({__name:"inboundoutbound",props:{wl:{type:Object},show:{type:Boolean,default:!1,required:!0}},setup(t){const n=t,o=e.ref(!0),i=e.ref(!1);e.watch((()=>n.show),(()=>{1==n.show?(d(),s(),setTimeout((()=>{i.value=!0}),10)):(r.value=1,setTimeout((()=>{i.value=!1,c.value=[]}),400))}));const r=e.ref(1),c=e.ref([]),s=()=>{let e={wlId:n.wl.wlId,nuId:n.wl.nuId,colomnDesc:o.value?"desc":"asc",pageNo:r.value,pageSize:10};var t;(t=e,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryCrkInfoList`,method:"get",data:t})).then((e=>{l("log","at pages/procurement/components/inboundoutbound.vue:90",e.result.records),c.value.push(...e.result.records),u.value=e.result.total==c.value.length?"nomore":"loadmore"}))},u=e.ref("loadmore"),m=e.ref({}),d=()=>{var e;(e={wlId:n.wl.wlId,nuId:n.wl.nuId},p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryCrkInfoNumList`,method:"get",data:e})).then((e=>{m.value=e.result}))};return(l,n)=>{const d=a(e.resolveDynamicComponent("u-loadmore"),me);return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:e.normalizeClass(["crkcard guodu",t.show?"":"unclass"]),style:e.normalizeStyle(i.value?"z-index:220":"z-index:-2")},[e.createElementVNode("view",{class:"titletop"}," 出入库 "),e.createElementVNode("view",{class:"select"},[e.createElementVNode("view",null,[e.createElementVNode("view",{onClick:n[0]||(n[0]=e=>(o.value=!o.value,r.value=1,c.value=[],void s()))},[e.createTextVNode(e.toDisplayString(o.value?"日期从近到远":"日期从远到近")+" ",1),e.createElementVNode("image",{src:"/static/index/hulilist/xia.png",class:"guodu",style:e.normalizeStyle(o.value?"":"transform: rotate(180deg);"),mode:"aspectFill"},null,4)])]),e.createElementVNode("view",null,[e.createElementVNode("text",null,"总计:"+e.toDisplayString(m.value.crkzl)+"笔",1),e.createElementVNode("text",null,"出库:"+e.toDisplayString(m.value.cksl),1),e.createElementVNode("text",null,"入库:"+e.toDisplayString(m.value.rksl),1)])]),e.createElementVNode("scroll-view",{"scroll-y":"true",class:"crkscroll","scroll-with-animation":"",onScrolltolower:n[1]||(n[1]=e=>{"loading"!=u.value&&"nomore"!=u.value&&(u.value="loading",r.value++,s())})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"cgrk",key:l},[e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(t.crkType_dictText)+e.toDisplayString(t.crkStatus_dictText),1),e.createElementVNode("text",null,e.toDisplayString(t.content),1),e.createElementVNode("text",null,e.toDisplayString(t.createTime),1)]),e.createElementVNode("view",null,[e.createElementVNode("text",{class:e.normalizeClass(1!=t.crkStatus?"c":"l")},e.toDisplayString(1==t.crkStatus?"+":"-")+e.toDisplayString(t.crkNum),3),e.createElementVNode("text",null,"库存:"+e.toDisplayString(t.dqkcl),1),e.createElementVNode("text")])])))),128)),e.createElementVNode("view",{style:{height:"2vw",width:"100%",display:"flex","align-items":"center","justify-content":"center"}},[c.value.length>3?(e.openBlock(),e.createBlock(d,{key:0,status:u.value,loadText:{nomore:"暂无更多数据"}},null,8,["status"])):e.createCommentVNode("",!0)])],32)],6)])}}}),[["__scopeId","data-v-d014a4f2"]]);const Lt=s({props:{show:!1},methods:{add(){var e;(e={nuId:uni.getStorageSync("nuId")},p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/addWaringAll`,method:"post",data:e})).then((e=>{uni.showToast({icon:e.success?"success":"none",title:e.message}),setTimeout((()=>{this.$emit("config")}),1800)}))}}},[["render",function(t,l,a,n,o,i){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:ie,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=>i.add())},"确定")])])):e.createCommentVNode("",!0)])}],["__scopeId","data-v-f503f01c"]]),Pt=s(e.defineComponent({__name:"material",setup(t){const a=e.ref(!0),n=e.ref(!1),i=e.ref(!1),c=e.ref(!1),s=e.ref(!1),u=e.ref(!1),m=e.ref(!1);e.ref(!1);const d=e.ref(0),v=e.ref([]),g=e.ref({}),w=e.ref("loadmore"),h=e.ref("loadmore"),y=e.ref(!1),N=e.ref("");e.ref(0);const f=e.ref(""),x=e.reactive({nuId:uni.getStorageSync("nuId"),pageNo:1,pageSize:10,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",isWaring:0,suppliers:""}),E=e.reactive({nuId:uni.getStorageSync("nuId"),pageNo:1,pageSize:10,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",isWaring:1}),V=e.ref(),k=e.ref(!1);r((()=>{setTimeout((()=>{k.value=!0}),500),f.value=uni.getStorageSync("serverUrl")+"/sys/common/static/"})),o((()=>{x.pageNo=1,E.pageNo=1,b.value=[],v.value=[],d.value=0,_(),S(),e.nextTick((()=>{A()}))}));const b=e.ref([]),S=()=>{var e;(e=E,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryCgdWaringList`,method:"get",data:e})).then((e=>{e.result.records.forEach((e=>{e.zk=!1,e.scrollleft=0})),b.value.push(...e.result.records),h.value=e.result.total==b.value.length?"nomore":"loadmore",M.value=e.result.total!=b.value.length}))},B=()=>{x.pageNo=1,E.pageNo=1,b.value=[],v.value=[],d.value=0,_(),O(),S()},C=e.ref(0),T=e=>{C.value=e.touches[0].clientX},z=e.ref(0);function D(e){var t;z.value=(null==(t=null==e?void 0:e.detail)?void 0:t.scrollLeft)??0}const I=e.ref(0),U=e=>{const t=e.touches[0].clientX-C.value;t<-60&&!n.value&&(n.value=!n.value,d.value=0,I.value=z.value+95.99,setTimeout((()=>{I.value=z.value+96}),50)),t>60&&n.value&&(n.value=!n.value,d.value=0,I.value=z.value-95.99,setTimeout((()=>{I.value=z.value-96}),50))},F=e.ref(0),_=()=>{let e={nuId:x.nuId,pageNo:1,pageSize:1};je(e).then((e=>{F.value=e.result.total}))},M=e.ref(!0),j=e.ref(!0),$=e=>{if(1==e){if(0==M.value)return;M.value=!1,h.value="loading",E.pageNo++,S()}else{if(0==j.value)return;w.value="loading",j.value=!1,x.pageNo++,O()}},L=()=>{c.value=!1,i.value=!1},P=e=>{x.categoryId=e.categoryId,x.typeId=e.typeId,x.medicationId=e.medicationId,x.suppliers=e.suppliers,x.pageNo=1,v.value=[],O(),L()},A=()=>{x.categoryId="",x.typeId="",x.medicationId="",x.suppliers="",x.pageNo=1,x.wlParamInfo="",v.value=[],V.value.typescroll(1,-1,{}),V.value.qingkong(),V.value.config()},q=e=>{0===e&&(x.wlParamInfo=""),x.pageNo=1,v.value=[],O()},O=()=>{var e;(e=x,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/queryInvoicingList`,method:"get",data:e})).then((e=>{e.result.records.forEach((e=>{e.zk=!1,e.scrollleft=0})),v.value.push(...e.result.records),w.value=e.result.total==v.value.length?"nomore":"loadmore",j.value=e.result.total!=v.value.length}))},W=e=>{let t=g.value.index;g.value=e,g.value.index=t,i.value=!0},Y=e=>{Number(g.value.upperLimit)-Number(g.value.kcsl)==g.value.Limitnum&&1==e||1==g.value.Limitnum&&-1==e||(g.value.Limitnum+=e)},R=(e,t,a)=>{l("log","at pages/procurement/material.vue:359",t,e,a),Q(t,e,a)},X=e.ref(!0),Q=(e,t,a)=>{if(0==X.value)return;if("1"==g.value.izEnabled)return void uni.showToast({icon:"none",title:"该物料已关闭,无法采购~"});X.value=!1;let n={nuId:x.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 o;l("log","at pages/procurement/material.vue:395","注意",n),(o=[n],p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/addShoppingCartList`,method:"post",data:o})).then((e=>{e.success?uni.showToast({icon:e.success?"success":"none",title:e.message}):(N.value=e.message,y.value=!0),setTimeout((()=>{X.value=!0,e.success&&(i.value=!1,u.value=!1,_(),E.pageNo=1,b.value=[],S(),l("log","at pages/procurement/material.vue:417","看看",g.value),l("log","at pages/procurement/material.vue:419","参数",v.value),g.value.yj?v.value.forEach((e=>{e.id===g.value.id&&(e.isAdd="1")})):g.value.isAdd=1)}),700)}))},G=e.ref(0),J=e.ref(0),Z=e.ref(null),H=e.ref({}),K=(e,t)=>{H.value=e,m.value=!0};return(t,l)=>{const o=e.resolveComponent("errorshow");return 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=>x.wlParamInfo=e),onConfirm:q},null,544),[[e.vModelText,x.wlParamInfo]]),x.wlParamInfo?(e.openBlock(),e.createElementBlock("image",{key:0,src:ne,mode:"aspectFill",onClick:l[1]||(l[1]=e=>q(0))})):e.createCommentVNode("",!0)]),e.createElementVNode("view",{onClick:q,class:"scr guodu"},[e.createElementVNode("image",{src:De,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:Tt,mode:"aspectFill"}),e.createTextVNode(" 筛选 ")]),""!=x.categoryId||""!=x.wlParamInfo||""!=x.suppliers?(e.openBlock(),e.createElementBlock("view",{key:0,class:"shx guodu",onClick:A},[e.createElementVNode("image",{src:It,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:Ie,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:77.4vw":"width:86.4vw"),"scroll-with-animation":"","scroll-left":I.value,onScroll:D,onScrolltolower:l[5]||(l[5]=e=>$(1))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,((t,l)=>(e.openBlock(),e.createElementBlock("view",{class:"yjbox",key:l,onClick:e=>((e,t)=>{const l=Date.now();if(G.value=t,l-J.value<300){if(clearTimeout(Z.value),1==e.isAdd)return;g.value=e,g.value.index=t,g.value.yj=!0,W(g.value),J.value=0}else Z.value=setTimeout((()=>{g.value=e,g.value.index=t,g.value.yj=!0,u.value=!0}),300),J.value=l})(t,l)},[e.createElementVNode("image",{src:t.materialImg?f.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),e.createElementVNode("text",{class:"sl"},e.toDisplayString(t.ljkcsl),1)],8,["onClick"])))),128)),0==b.value.length&&k.value?(e.openBlock(),e.createBlock(We,{key:0,cont:"暂无数据",style:{position:"absolute",width:"10vw",height:"10vw",left:"10%"}})):e.createCommentVNode("",!0)],44,["scroll-left"]),b.value.length>0?(e.openBlock(),e.createElementBlock("view",{key:0,class:"kjlt more guodu",style:e.normalizeStyle(n.value?"width:12.15vw":""),onTouchstart:T,onTouchmove:U},[e.createElementVNode("view",{onClick:l[6]||(l[6]=e=>{n.value=!n.value,d.value=0,n.value?(I.value=z.value+95,setTimeout((()=>{I.value=z.value+96}),50)):(I.value=z.value-95,setTimeout((()=>{I.value=z.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:oe,mode:"aspectFill"},null,4)]),e.createElementVNode("view",{class:e.normalizeClass(["guodu",n.value?1==d.value?"avt":"":"righ0"]),onClick:l[7]||(l[7]=e=>{d.value=1,s.value=!0})},"查看全部 ",2),e.createElementVNode("view",{class:e.normalizeClass(["guodu",n.value?2==d.value?"avt":"":"righ0"]),onClick:l[8]||(l[8]=e=>d.value=2)},"添加全部",2)],36)):e.createCommentVNode("",!0),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(Mt,{InvoicingList:v.value,onAddcartory:W,onScrolltolower:$,status:w.value,onCrk:K},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"}),F.value>0?(e.openBlock(),e.createElementBlock("text",{key:0},e.toDisplayString(F.value>99?"99+":F.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"})])]),i.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"mengban",style:{"z-index":"119"},onClick:L})):e.createCommentVNode("",!0),e.createVNode(Ut,{show:i.value,onJjnum:Y,caigouobj:g.value,onColse:L,onRight:R},null,8,["show","caigouobj"]),c.value?(e.openBlock(),e.createElementBlock("view",{key:1,class:"mengban",onClick:L})):e.createCommentVNode("",!0),e.createVNode(Ft,{onConfirm:P,show:c.value,typenum:0,ref_key:"classication",ref:V},null,8,["show"]),s.value?(e.openBlock(),e.createElementBlock("view",{key:2,class:"mengban",onClick:l[11]||(l[11]=e=>{s.value=!1,d.value=0})})):e.createCommentVNode("",!0),e.createVNode(_t,{onAddcartory:W,show:s.value,InvoicingList:b.value,status:h.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(jt,{InvoicingList:[g.value],onAddcartory:W,show:u.value},null,8,["InvoicingList","show"]),m.value?(e.openBlock(),e.createElementBlock("view",{key:4,class:"mengban",onClick:l[14]||(l[14]=e=>m.value=!1)})):e.createCommentVNode("",!0),e.createVNode($t,{show:m.value,wl:H.value},null,8,["show","wl"]),2==d.value?(e.openBlock(),e.createElementBlock("view",{key:5,class:"mengban",onClick:l[15]||(l[15]=e=>d.value=0)})):e.createCommentVNode("",!0),e.createVNode(Lt,{show:2==d.value,onBack:l[16]||(l[16]=e=>d.value=0),onConfig:B},null,8,["show"]),e.createVNode(o,{show:y.value,font:N.value,onClose:l[17]||(l[17]=e=>y.value=!1)},null,8,["show","font"])])}}}),[["__scopeId","data-v-84fb7edf"]]),At=s(e.defineComponent({__name:"carlist",props:{InvoicingList:{type:Array,required:!0},status:{type:String},show:{type:Boolean,default:!1,required:!0}},emits:["addcartory","scrolltolower","delindex"],setup(t,{emit:l}){const n=t,o=l,i=e.ref("");e.onMounted((()=>{i.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 m=e=>{};return(l,n)=>{const d=a(e.resolveDynamicComponent("u-loadmore"),me);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=>{o("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,o=e.changedTouches[0].pageX,i=Math.abs(o-c.value),u=Math.abs(n-s.value);if(u>30&&i+10<u&&i<70)0==t.zk&&setTimeout((()=>{t.scrollleft=0}),20);else{if(i<10&&u<10)return 0==t.zk&&i>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=!(o>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:m},[e.createElementVNode("view",{class:"speitem guodu"},[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)])]),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,o("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)=>{o("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))]),t.InvoicingList.length>6?(e.openBlock(),e.createElementBlock("view",{key:0,style:{height:"3vw",width:"100%",display:"flex","align-items":"center","justify-content":"center"}},[e.createVNode(d,{status:t.status,loadText:{nomore:"暂无更多数据"}},null,8,["status"])])):e.createCommentVNode("",!0)],32)])}}}),[["__scopeId","data-v-6868e9bd"]]),qt=s(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),o=e.ref(0),i=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 m=e.ref(0),d=e=>{m.value=e.detail.scrollTop},v=e.ref(!0),g=()=>{var e;0!=v.value&&(v.value=!1,(e=s.value,p({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"),v.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;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),i.value=t,o.value=0,r.cgdId=s.value[t].id,r.pageNo=1,r.canpull=!0,o.value=m.value,e.nextTick((()=>{o.value=0}))})(l),style:e.normalizeStyle({borderColor:l==i.value?"":"#fff"})},[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.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," 采购 ")])]),e.createElementVNode("view",{class:"pls-card-middle-one"},[e.createElementVNode("view",{class:"middle-title"},e.toDisplayString(1==Number(t.status)?"":null==(a=t.jhTime)?void 0:a.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," 拣货 "),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==(c=t.wjTime)?void 0:c.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:ot}),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:d,"scroll-top":o.value},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(null==(v=s.value[i.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[i.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-57a95f96"]]),Ot=s(e.defineComponent({__name:"materialcar",setup(t){const a=e.ref(!1),n=e.ref(!1),i=e.ref({}),r=e.ref(!1),c=e.ref(""),s=e.reactive({nuId:uni.getStorageSync("nuId"),pageNo:1,pageSize:-1,categoryId:"",typeId:"",medicationId:"",wlParamInfo:"",suppliers:""}),u=e.ref([]),m=e.ref("loadmore"),d=e.ref(0);o((()=>{u.value=[],w()}));const v=e.ref(),g=()=>{s.categoryId="",s.typeId="",s.medicationId="",s.suppliers="",s.pageNo=1,s.wlParamInfo="",u.value=[],v.value.typescroll(1,-1,{}),v.value.qingkong(),v.value.config()},w=()=>{je(s).then((e=>{e.result.records.forEach(((e,t)=>{e.flag=!0,e.zk=!1,e.scrollleft=0})),u.value.push(...e.result.records),m.value=e.result.total==u.value.length?"nomore":"loadmore"}))},h=e=>{0===e&&(s.wlParamInfo=""),s.pageNo=1,u.value=[],w()},y=e=>{l("log","at pages/procurement/materialcar.vue:124","eeeeeeeeeee",e),i.value=e,a.value=!0},N=e=>{s.categoryId=e.categoryId,s.typeId=e.typeId,s.medicationId=e.medicationId,s.suppliers=e.suppliers,s.pageNo=1,u.value=[],w(),n.value=!1},f=()=>{C.value=!1,h(1),setTimeout((()=>{uni.navigateTo({url:"/pages/procurement/purchaseorder"})}),1e3)},x=()=>{p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/emptiedQgInfo`,method:"DELETE"}).then((e=>{e.success?(s.pageNo=1,u.value=[],g()):(c.value=e.message,r.value=!0),d.value=0}))},E=e.ref({}),V=(e,t)=>{d.value=2,e.index=t,E.value=e},k=()=>{let e=E.value.id;var t;(t=e,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/deleteQgInfoById?id=`+t,method:"DELETE"})).then((e=>{e.success?(uni.showToast({icon:e.success?"success":"none",title:e.message}),setTimeout((()=>{u.value.splice(E.value.index,1),d.value=0,m.value=0==u.value.length?"nomore":"loadmore",v.value.getTreelnum()}),800)):(c.value=e.message,r.value=!0)}))},b=(e,t,l)=>{setTimeout((()=>{B(t,e,l)}),30)},S=e.ref(!0),B=(e,t,n)=>{if(0==S.value)return;S.value=!1;let o={nuId:s.nuId,purchaseQuantity:t,suppliersId:e.id,suppliersName:e.name,id:i.value.id,wlId:i.value.wlId,kcsl:i.value.kcsl,wlUnits:n.unit,referenceUnitPrice:n.price,dhbl:n.num};var m;l("log","at pages/procurement/materialcar.vue:220","111111111111111111111111111111",o),(m=o,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/eddShoppingCartList`,method:"post",data:m})).then((e=>{S.value=!0,e.success?(setTimeout((()=>{a.value=!1,s.pageNo=1,u.value=[],w()}),700),uni.showToast({icon:e.success?"success":"none",title:e.message})):(c.value=e.message,r.value=!0)}))},C=e.ref(!1),T=e.ref([]),z=e.ref([]),D=()=>{uni.showLoading();let e=[];var t;(T.value=[],u.value.forEach((t=>{t.flag&&e.push(t)})),T.value=e,l("log","at pages/procurement/materialcar.vue:255","????",e),0!=e.length)?(t=T.value,p({url:`${uni.getStorageSync("serverUrl")}/api/pad/invoicing/generatedPurchaseViewOrder`,method:"post",data:t})).then((e=>{l("log","at pages/procurement/materialcar.vue:264","11111",T.value,e),e.success?(z.value=e.result,C.value=!0,uni.hideLoading()):(c.value=e.message,r.value=!0)})):uni.showToast({title:"请选择物料!",icon:"none"})};return(t,l)=>{const o=e.resolveComponent("errorshow");return 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=>s.wlParamInfo=e),onConfirm:l[1]||(l[1]=e=>h(0))},null,544),[[e.vModelText,s.wlParamInfo]]),s.wlParamInfo?(e.openBlock(),e.createElementBlock("image",{key:0,src:ne,mode:"aspectFill",onClick:l[2]||(l[2]=e=>h(0))})):e.createCommentVNode("",!0)]),e.createElementVNode("view",{onClick:h,class:"scr"},[e.createElementVNode("image",{src:De,mode:"aspectFill",class:"sh"}),e.createTextVNode(" 检索 ")]),e.createElementVNode("view",{class:"shx",onClick:l[3]||(l[3]=e=>n.value=!0)},[e.createElementVNode("image",{src:Tt,mode:"aspectFill"}),e.createTextVNode(" 筛选 ")]),""!=s.categoryId||""!=s.wlParamInfo||""!=s.suppliers?(e.openBlock(),e.createElementBlock("view",{key:0,class:"shx",onClick:g},[e.createElementVNode("image",{src:It,mode:"aspectFill"}),e.createTextVNode(" 重置 ")])):e.createCommentVNode("",!0)]),e.createElementVNode("view",{class:"rightbtn"},[e.createElementVNode("view",{onClick:l[4]||(l[4]=e=>d.value=1)},[e.createElementVNode("image",{src:"/static/index/procurement/del1.png",mode:"aspectFill"}),e.createTextVNode(" 清空 ")]),e.createElementVNode("view",{onClick:D},[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:Ie,mode:"aspectFill"}),e.createTextVNode(" 返回 ")])])]),e.createVNode(At,{InvoicingList:u.value,status:m.value,onDelindex:V,onAddcartory:y},null,8,["InvoicingList","status"]),e.createVNode(Ye,{show:1==d.value,font:"是否清空购物车?",onBack:l[6]||(l[6]=e=>d.value=0),onRight:l[7]||(l[7]=e=>x())},null,8,["show"]),e.createVNode(Ye,{show:2==d.value,font:"是否删除此物料?",onBack:l[8]||(l[8]=e=>d.value=0),onRight:l[9]||(l[9]=e=>k())},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(Ft,{onConfirm:N,show:n.value,typenum:1,ref_key:"classication",ref:v},null,8,["show"]),"nomore"==m.value&&0==u.value.length?(e.openBlock(),e.createBlock(We,{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(Ut,{show:a.value,caigouobj:i.value,onColse:l[12]||(l[12]=e=>a.value=!1),onRight:b},null,8,["show","caigouobj"]),C.value?(e.openBlock(),e.createElementBlock("view",{key:3,class:"mengban",onClick:l[13]||(l[13]=e=>C.value=!1)})):e.createCommentVNode("",!0),e.createVNode(qt,{arrlist:z.value,show:C.value,onCloe:l[14]||(l[14]=e=>C.value=!1),onConfig:f},null,8,["arrlist","show"]),e.createVNode(o,{show:r.value,font:c.value,onClose:l[15]||(l[15]=e=>r.value=!1)},null,8,["show","font"])])}}}),[["__scopeId","data-v-441851d5"]]);const Wt=s({onLoad(e){this.code=e.code},data:()=>({code:0})},[["render",function(t,l,a,n,o,i){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==o.code?"请领出库":"退货入库"),1)])}]]),Yt="/static/index/warehouse/home/z.png",Rt=s(e.defineComponent({__name:"warehome",setup(t){const a=g("/static/index/warehouse/newhome/","train",10,"png",1,!1),n=e.ref(0),o=g("/static/index/warehouse/newhome/","logo",3,"png",1,!1),i=g("/static/index/warehouse/newhome/","monitor",8,"png",0,!1),r=g("/static/index/warehouse/newhome/","end",6,"png",0,!1),c=g("/static/index/warehouse/newhome/","purchase",8,"png",0,!1),s=g("/static/index/warehouse/newhome/","unit1-",5,"png",0,!1),u=g("/static/index/warehouse/newhome/","Warehouse",8,"png",1,!1),m=e.ref(!1);e.onMounted((()=>{m.value=!0,x()}));const d=e.ref(0),v=e.ref(""),p=e=>{l("log","at pages/Warehouse/warehome.vue:176",e),d.value=e,0==e&&(v.value="pages/procurement/material",uni.navigateTo({url:"/"+v.value})),1==e&&(v.value="pages/Warehouse/paymoney",uni.navigateTo({url:"/"+v.value})),2==e&&(v.value="pages/Warehouse/picking",uni.navigateTo({url:"/"+v.value})),3===e&&uni.navigateTo({url:"/pages/watch/full"}),4==e&&(v.value="pages/Warehouse/finish",uni.navigateTo({url:"/"+v.value})),8==e&&(v.value="pages/procurement/retstock",uni.navigateTo({url:"/"+v.value})),7==e&&(v.value="pages/procurement/outbound?code=1",uni.navigateTo({url:"/"+v.value}))};function g(e,t,l,a="png",n=0,o=!1){return Array.from({length:l},((l,i)=>{const r=o?String(i+n).padStart(2,"0"):i+n;return`${e}/${t}${r}.${a}`}))}const w=e.ref(63),h=e.ref(59),y=e.ref(.7),N=e.computed((()=>({position:"fixed",left:"0",top:"0",width:"7vw",height:"7vw",transform:`translate3d(${w.value}vw, ${h.value}vw, 0)`,transition:`transform ${y.value}s linear`,willChange:"transform"})));function f(e,t,l=.6){y.value=l,w.value=e,h.value=t}const x=()=>{f(21,43,3),n.value=0,setTimeout((()=>{n.value=1,f(21,40,.5)}),3e3),setTimeout((()=>{n.value=2,f(34,31.5,2)}),3500),setTimeout((()=>{n.value=3,f(38,30,.5)}),5500),setTimeout((()=>{n.value=4,f(65,39,3)}),6e3),setTimeout((()=>{n.value=5,f(93,20,3)}),9e3),setTimeout((()=>{n.value=6,f(92,16,.5)}),12e3),setTimeout((()=>{n.value=7,f(91,15,.5)}),12500),setTimeout((()=>{n.value=8,f(48,.5,3)}),13e3),setTimeout((()=>{n.value=9,f(-11,35,4)}),16e3),setTimeout((()=>{n.value=0,f(63,59,1e-4)}),2e4),setTimeout((()=>{x()}),21e3)};return(t,l)=>{const d=e.resolveComponent("donghua");return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("view",{class:"home"},[e.createElementVNode("image",{class:"all-home",src:"/static/index/warehouse/newhome/setting.png",mode:"aspectFit"})]),e.createElementVNode("view",{class:"right-title"},[e.createElementVNode("image",{class:"title-imge",src:"/static/home.png",mode:"aspectFit"}),e.createElementVNode("view",{class:"title-font"},e.toDisplayString(uni.getStorageSync("nuName")),1)]),e.createElementVNode("view",{class:"paizi tp"},[e.createVNode(d,{width:"18vw",height:"18vw",interval:300,links:e.unref(o),playing:m.value,loop:!0},null,8,["links","playing"])]),e.createElementVNode("view",{class:"jiankong tp",onClick:l[0]||(l[0]=e=>p(3))},[e.createVNode(d,{width:"17vw",height:"17vw",interval:150,links:e.unref(i),playing:m.value,loop:!0},null,8,["links","playing"])]),e.createElementVNode("view",{class:"jiankongtag tp",onClick:l[1]||(l[1]=e=>p(3))},[e.createElementVNode("view",{class:"blue-bgc"},[e.createTextVNode(" 监控室 "),e.createElementVNode("view",{class:"triangle-middle"})]),e.createElementVNode("image",{class:"blue-imge",src:Yt,mode:""})]),e.createElementVNode("view",{class:"wanjie tp",onClick:l[2]||(l[2]=e=>p(4))},[e.createVNode(d,{width:"18vw",height:"18vw",interval:300,links:e.unref(r),playing:m.value,loop:!0},null,8,["links","playing"])]),e.createElementVNode("view",{class:"wanjietag tp",onClick:l[3]||(l[3]=e=>p(4))},[e.createElementVNode("view",{class:"blue-bgc"},[e.createTextVNode(" 完结 "),e.createElementVNode("view",{class:"triangle-middle"})]),e.createElementVNode("image",{class:"blue-imge",src:Yt,mode:""})]),e.createElementVNode("view",{class:"caigou tp",onClick:l[4]||(l[4]=e=>p(0))},[e.createVNode(d,{width:"18vw",height:"18vw",interval:150,links:e.unref(c),playing:m.value,loop:!0},null,8,["links","playing"])]),e.createElementVNode("view",{class:"caigoutag tp",onClick:l[5]||(l[5]=e=>p(0))},[e.createElementVNode("view",{class:"blue-bgc"},[e.createTextVNode(" 采购 "),e.createElementVNode("view",{class:"triangle-middle"})]),e.createElementVNode("image",{class:"blue-imge",src:Yt,mode:""})]),e.createElementVNode("view",{class:"ruku tp"},[e.createVNode(d,{width:"11vw",height:"11vw",interval:300,links:e.unref(s),playing:m.value,loop:!0},null,8,["links","playing"])]),e.createElementVNode("view",{class:"chuku tp"},[e.createVNode(d,{width:"11vw",height:"11vw",interval:300,links:e.unref(s),playing:m.value,loop:!0},null,8,["links","playing"])]),e.createElementVNode("view",{class:"jianhuo tp"},[e.createVNode(d,{width:"40vw",height:"40vw",interval:150,links:e.unref(u),playing:m.value,loop:!0},null,8,["links","playing"])]),e.createElementVNode("view",{class:"pandan tp"},[e.createElementVNode("image",{src:"/static/index/warehouse/newhome/count.png",mode:"widthFix"})]),e.createElementVNode("view",{class:"pandantag tp"},[e.createElementVNode("view",{class:"gray-bgc"},[e.createTextVNode(" 库存盘点 "),e.createElementVNode("view",{class:"triangle-left"}),e.createElementVNode("view",{class:"triangle-left-bgc"})])]),e.createElementVNode("view",{class:"return tp",onClick:l[6]||(l[6]=e=>p(8))},[e.createElementVNode("image",{src:"/static/index/warehouse/newhome/return.png",mode:"widthFix"})]),e.createElementVNode("view",{class:"leadtag tp",onClick:l[7]||(l[7]=e=>p(8))},[e.createElementVNode("view",{class:"gray-bgc"},[e.createTextVNode(" 退货入库 "),e.createElementVNode("view",{class:"triangle-left"}),e.createElementVNode("view",{class:"triangle-left-bgc"})])]),e.createElementVNode("view",{class:"lead tp",onClick:l[8]||(l[8]=e=>p(7))},[e.createElementVNode("image",{src:"/static/index/warehouse/newhome/lead.png",mode:"widthFix"})]),e.createElementVNode("view",{class:"returntag tp",onClick:l[9]||(l[9]=e=>p(7))},[e.createElementVNode("view",{class:"gray-bgc"},[e.createTextVNode(" 请领出库 "),e.createElementVNode("view",{class:"triangle-left"}),e.createElementVNode("view",{class:"triangle-left-bgc"})])]),e.createElementVNode("view",{class:"picking tp",onClick:l[10]||(l[10]=e=>p(2))},[e.createElementVNode("image",{src:"/static/index/warehouse/newhome/picking.png",mode:"widthFix"})]),e.createElementVNode("view",{class:"pickingtag tp",onClick:l[11]||(l[11]=e=>p(2))},[e.createElementVNode("view",{class:"blue-bgc"},[e.createTextVNode(" 拣货 "),e.createElementVNode("view",{class:"triangle-left-bgc"})])]),e.createElementVNode("view",{style:e.normalizeStyle(N.value)},[e.createElementVNode("image",{style:{width:"100%",height:"100%"},src:e.unref(a)[n.value],mode:"widthFix"},null,8,["src"])],4)])}}}),[["__scopeId","data-v-993e7eaf"]]),Xt=s(e.defineComponent({__name:"authorization",setup(t){const l=e.ref(uni.getStorageSync("serverUrl")+"/sys/common/static/"),n=e.reactive({pageNo:1,pageSize:10,status:3,searchContent:""}),o=e.ref([]);r((()=>{c()}));const i=e.ref("loadmore"),c=()=>{Ae(n).then((e=>{o.value.push(...e.result.records),i.value=e.result.total==o.value.length?"nomore":"loadmore",1==n.pageNo&&p(0,o.value[0])}))},s=e=>{0==e&&(n.searchContent=""),n.pageNo=1,o.value=[],c()};e.ref([]);const u=e.ref(0),m=e.ref(0),d=e.ref(0),v=e.ref([]),p=(t,l)=>{u.value!=t&&(m.value=g.value,e.nextTick((()=>{m.value=0})));let a=Math.ceil(t+1);d.value=186*(a-2),u.value=t,n.pageNo=1,Oe({nuId:l.nuId,id:l.id}).then((e=>{v.value=e.result})),"N"==l.izRead&&h(l)},g=e.ref(0),w=e=>{g.value=e.detail.scrollTop};e.ref([]);const h=(e,t)=>{qe({id:e.id}),e.izRead="Y"};return e.ref([]),(t,r)=>{const c=a(e.resolveDynamicComponent("u-loadmore"),me);return 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":r[0]||(r[0]=e=>n.searchContent=e),onConfirm:s},null,544),[[e.vModelText,n.searchContent]]),n.searchContent?(e.openBlock(),e.createElementBlock("image",{key:0,src:ne,mode:"aspectFill",onClick:r[1]||(r[1]=e=>s(0))})):e.createCommentVNode("",!0)]),e.createElementVNode("view",{onClick:s,class:"scr"},[e.createElementVNode("image",{src:De,mode:"aspectFill",class:"sh"}),e.createTextVNode(" 检索 ")])]),e.createElementVNode("view",{class:"rightbtn"},[e.createElementVNode("view",{class:"back",onClick:r[2]||(r[2]=e=>uni.navigateBack())},[e.createElementVNode("image",{src:Ie,mode:"aspectFill"}),e.createTextVNode(" 返回 ")])])]),e.createElementVNode("view",{class:"t-box"},[e.createElementVNode("view",{class:"leftscr"},[e.createElementVNode("view",{class:"left-menu-father"},[e.createElementVNode("scroll-view",{"scroll-y":"true","scroll-with-animation":"",class:"left-menu-scroll","scroll-top":d.value,"lower-threshold":400},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,((t,l)=>{var a;return e.openBlock(),e.createElementBlock("view",{class:"pls-card",key:l,onClick:e=>p(l,t),style:e.normalizeStyle({borderColor:l===u.value?"":"transparent",background:l===u.value?"#fff":"rgba(255,255,255,0.6)"})},["N"==t.izRead?(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.createElementVNode("view",{class:"title-right"},e.toDisplayString(t.thdNo),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.fqTime.replace(/-/g,".")),1),e.createElementVNode("view",{class:"middle-heng-father"},[e.createElementVNode("image",{class:"middle-ball-img",src:X})]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",null," 申请退货 "),e.createElementVNode("view",null,e.toDisplayString("[ "+t.fqrName+" ]"),1)])]),e.createElementVNode("view",{class:"pls-card-middle-one"},[t.logList[1]?(e.openBlock(),e.createElementBlock("view",{key:0,class:"middle-title"},e.toDisplayString(null==(a=t.logList[1].opeTime)?void 0:a.slice(0,10)),1)):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"middle-heng-father"},[e.createElementVNode("image",{class:"middle-ball-img",src:X})]),e.createElementVNode("view",{class:"end-font"},[e.createElementVNode("view",null," 退货完成 "),t.logList[1]?(e.openBlock(),e.createElementBlock("view",{key:0},e.toDisplayString("[ "+t.logList[1].opeByName+" ]"),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:ot}),e.createElementVNode("view",{class:"end-left-font"},e.toDisplayString(t.nuName),1)]),e.createElementVNode("view",{class:e.normalizeClass([null==t?void 0:t.statusText,"tag-success"])},e.toDisplayString(t.statusText),3)])],12,["onClick"])})),128)),e.createElementVNode("view",{style:{height:"2vw",width:"90%",display:"flex","align-items":"center","justify-content":"center"}},[o.value.length>4?(e.openBlock(),e.createBlock(c,{key:0,status:i.value,loadText:{nomore:"暂无更多数据"}},null,8,["status"])):e.createCommentVNode("",!0)])],8,["scroll-top"])])]),e.createElementVNode("view",{class:"rightscr"},[e.createElementVNode("scroll-view",{"scroll-y":"true",class:"itembox","scroll-with-animation":"","enable-back-to-top":"",onScroll:w,"scroll-top":m.value},[e.createElementVNode("view",{class:"box"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,((t,a)=>{var n,o,i,r,c;return e.openBlock(),e.createElementBlock("view",{class:"fler",key:a},[e.createElementVNode("view",{class:"carditem guodu"},[t.zhiDingId?(e.openBlock(),e.createElementBlock("view",{key:0,class:"zding"},[e.createElementVNode("image",{src:de,mode:"aspectFill"})])):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"speitem guodu"},[e.createElementVNode("image",{src:(null==(n=t.materialInfo)?void 0:n.materialImg)?l.value+(null==(o=t.materialInfo)?void 0:o.materialImg):"/static/index/procurement/k.png",mode:"aspectFill"},null,8,["src"]),e.createElementVNode("view",{class:"cardp"},[t.materialInfo.categoryName?(e.openBlock(),e.createElementBlock("view",{key:0},e.toDisplayString(t.materialInfo.categoryName),1)):e.createCommentVNode("",!0),t.materialInfo.typeName?(e.openBlock(),e.createElementBlock("view",{key:1},e.toDisplayString(t.materialInfo.typeName),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("view",{class:"msitem guodu"},[e.createElementVNode("view",null,[e.createElementVNode("view",null,e.toDisplayString(null==(i=t.materialInfo)?void 0:i.materialName),1)]),e.createElementVNode("view",null,[e.createElementVNode("text",{style:{"white-space":"nowrap"}}," 规格型号: "),e.createElementVNode("view",null,e.toDisplayString(null==(r=t.materialInfo)?void 0:r.specificationModel),1)]),e.createElementVNode("view",null,[e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(t.thNum?t.thNum:"--"),1),e.createElementVNode("text",null,"退货数量")]),e.createElementVNode("view",null,[e.createElementVNode("text",null,e.toDisplayString(null==(c=t.materialInfo)?void 0:c.materialUnits),1),e.createElementVNode("text",null,"退货单位")])])]),1==t.isAdd?(e.openBlock(),e.createElementBlock("view",{key:1,class:"add"},[e.createElementVNode("view",null,"已添加")])):e.createCommentVNode("",!0)])])})),128))])],40,["scroll-top"])])])])}}}),[["__scopeId","data-v-5ac8a1d2"]]);__definePage("pages/login/login",w),__definePage("pages/watch/index",x),__definePage("pages/watch/full",E),__definePage("pages/watch/settings/settings",b),__definePage("pages/watch/settings/input",I),__definePage("pages/watch/settings/saoma",U),__definePage("pages/watch/settings/leida",F),__definePage("pages/Warehouse/Warehouse",_),__definePage("pages/NursingNew/index",ze),__definePage("pages/procurement/retstock",Je),__definePage("pages/timeMatrix/indexnew",Ke),__definePage("pages/Warehouse/picking",Bt),__definePage("pages/Warehouse/finish",Ct),__definePage("pages/procurement/purchaseorder",Dt),__definePage("pages/procurement/material",Pt),__definePage("pages/procurement/materialcar",Ot),__definePage("pages/procurement/outbound",Wt),__definePage("pages/Warehouse/warehome",Rt),__definePage("pages/procurement/authorization",Xt);const Qt={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")}},Gt={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 Jt(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]?Jt(e[a]):e[a]);return l}function Zt(e={},t={}){if("object"!=typeof(e=Jt(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]=Zt(e[l],t[l]):e[l]=t[l]);return e}function Ht(e){return/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)}function Kt(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 el(e){return"[object Object]"===Object.prototype.toString.call(e)}function tl(e){return"function"==typeof e}const ll={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&&(Ht(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:Ht,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:Kt,isEmpty:Kt,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:el,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:tl,promise:function(e){return el(e)&&tl(e.then)&&tl(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 al=new class{setConfig(e){this.config=Zt(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=ll.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 nl=(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:o}=e;"navigateTo"!=e.type&&"to"!=e.type||uni.navigateTo({url:t,animationType:n,animationDuration:o}),"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 ol(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 o in n)l=new RegExp("("+o+")").exec(t),l&&(t=t.replace(l[1],1==l[1].length?n[o]:n[o].padStart(l[1].length,"0")));return t}function il(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 rl(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 cl={colorGradient:function(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",l=10){let a=il(e,!1),n=a[0],o=a[1],i=a[2],r=il(t,!1),c=(r[0]-n)/l,s=(r[1]-o)/l,u=(r[2]-i)/l,m=[];for(let d=0;d<l;d++){let e=rl("rgb("+Math.round(c*d+n)+","+Math.round(s*d+o)+","+Math.round(u*d+i)+")");m.push(e)}return m},hexToRgb:il,rgbToHex:rl,colorToRgba:function(e,t=.3){let l=(e=rl(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 sl=null;let ul=[],ml=[];function dl(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 vl="1.10.1";const pl={v:vl,version:vl,type:["primary","success","info","error","warning"]};const gl={queryParams:function(e={},t=!0,l="brackets"){let a=t?"?":"",n=[];-1==["indices","brackets","repeat","comma"].indexOf(l)&&(l="brackets");for(let o in e){let t=e[o];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(o+"["+l+"]="+t[l]);break;case"brackets":default:t.forEach((e=>{n.push(o+"[]="+e)}));break;case"repeat":t.forEach((e=>{n.push(o+"="+e)}));break;case"comma":let e="";t.forEach((t=>{e+=(e?",":"")+t})),n.push(o+"="+e)}else n.push(o+"="+t)}return n.length?a+n.join("&"):""},route:nl,timeFormat:ol,date:ol,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)+"年前":ol(l,t)}return n},colorGradient:cl.colorGradient,colorToRgba:cl.colorToRgba,guid:function(e=32,t=!0,l=null){let a="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];if(l=l||a.length,e)for(let o=0;o<e;o++)n[o]=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:al.get,post:al.post,put:al.put,delete:al.delete,hexToRgb:cl.hexToRgb,rgbToHex:cl.rgbToHex,test:ll,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:Jt,deepMerge:Zt,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),ll.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:al,toast:function(e,t=1500){uni.showToast({title:e,icon:"none",duration:t})},config:pl,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!==sl&&clearTimeout(sl),l){var a=!sl;sl=setTimeout((function(){sl=null}),t),a&&"function"==typeof e&&e()}else sl=setTimeout((function(){"function"==typeof e&&e()}),t)},throttle:function(e,t=500,l=!0,a="default"){ul[a]||(ul[a]=null),l?ml[a]||(ml[a]=!0,"function"==typeof e&&e(),ul[a]=setTimeout((()=>{ml[a]=!1}),t)):ml[a]||(ml[a]=!0,ul[a]=setTimeout((()=>{ml[a]=!1,"function"==typeof e&&e()}),t))},addStyle:function(e,t="object"){if(ll.empty(e)||"object"==typeof e&&"object"===t||"string"===t&&"string"==typeof e)return e;if("object"===t){const t=(e=dl(e)).split(";"),l={};for(let e=0;e<t.length;e++)if(t[e]){const a=t[e].split(":");l[dl(a[0])]=dl(a[1])}return l}let l="";for(const a in e){l+=`${a.replace(/([A-Z])/g,"-$1").toLowerCase()}:${e[a]};`}return dl(l)}};uni.$u=gl;const wl={install:e=>{e.mixin(Gt),e.config.globalProperties.$u=gl}},hl={__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),o=e.ref(!1),i=e.ref(!1);let r=null;const c=()=>{o.value=!1,clearInterval(r)};return e.watch((()=>a.playing),(e=>{n.value=0,e?o.value||(o.value=!0,r=setInterval((()=>{a.loop?(n.value=(n.value+1)%a.links.length,i.value=!1):n.value<a.links.length-1?(n.value++,i.value=!1):c()}),a.interval)):(c(),setTimeout((()=>n.value=0),50))})),e.watch((()=>a.links),(()=>{n.value=0,i.value=!1,o.value&&c()}),{deep:!0}),e.onUnmounted((()=>{c()})),(l,a)=>(e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("image",{src:i.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=>i.value=!0),onLoad:a[1]||(a[1]=e=>i.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)]))}},yl=s({__name:"errorshow",props:{show:{type:Boolean,default:!1},font:{type:String,default:""}},emits:["close"],setup(t,{emit:l}){const a=l;function n(){a("close")}return(l,a)=>(e.openBlock(),e.createElementBlock("view",null,[t.show?(e.openBlock(),e.createElementBlock("view",{key:0,class:"addall"},[e.createElementVNode("image",{class:"addallimge",src:"/static/error.png",mode:"aspectFill"}),e.createElementVNode("view",{class:"addallfont"},e.toDisplayString(t.font),1),e.createElementVNode("view",{class:"qd",onClick:n},"确定")])):e.createCommentVNode("",!0),t.show?(e.openBlock(),e.createElementBlock("view",{key:1,class:"mengban",onClick:n})):e.createCommentVNode("",!0)]))}},[["__scopeId","data-v-21b75305"]]);const{app:Nl,Vuex:fl,Pinia:xl}=function(){const t=e.createVueApp(Qt);return t.use(wl),t.component("donghua",hl),t.component("tanchuang",Ye),t.component("errorshow",yl),{app:t}}();uni.Vuex=fl,uni.Pinia=xl,Nl.provide("__globalStyles",__uniConfig.styles),Nl._component.mpType="app",Nl._component.render=()=>{},Nl.mount("#app")}(Vue);