diff --git a/.env.development b/.env.development index d441a32..10df851 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ NODE_ENV= development -VITE_HTTP_BASE_URL = http://10.39.13.78:8001/api/ -# VITE_HTTP_BASE_URL = https://test-weapp-api.linyikj.com.cn/api/ -# VITE_HTTP_BASE_URL= https://weapp-api.linyikj.com.cn/api/ +# VITE_HTTP_BASE_URL = http://10.39.13.78:8002/api/ +# VITE_HTTP_BASE_URL = http://test-weapp-api.linyikj.com.cn/api/ +VITE_HTTP_BASE_URL= https://weapp-api.linyikj.com.cn/api/ VITE_ACCESS_TOKEN_KEY= 'ACCESS_TOKEN_CUSTOMER' diff --git a/.gitignore b/.gitignore index 3c3629e..f06235c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ node_modules +dist diff --git a/ci/project.config.json b/ci/project.config.json index 5acfa97..008c374 100644 --- a/ci/project.config.json +++ b/ci/project.config.json @@ -1,3 +1,3 @@ { - "version": "0.0.47" + "version": "0.0.65" } \ No newline at end of file diff --git a/dist/build/mp-weixin/BILL/collection_record/index/index.js b/dist/build/mp-weixin/BILL/collection_record/index/index.js index 8effb04..cdee775 100644 --- a/dist/build/mp-weixin/BILL/collection_record/index/index.js +++ b/dist/build/mp-weixin/BILL/collection_record/index/index.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),n=require("./method.js"),s=require("../../../gen/Enums.js");if(require("../../../common/libraries/day.js"),require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-tabs")+e.resolveComponent("uni-icons")+e.resolveComponent("up-icon")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("cc-scroll-loading"))()}Math||((()=>"../../../components/hs-tabs/hs-tabs.js")+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const t=e.defineComponent({__name:"index",setup(t){const l=[{label:"全部",value:""},{label:"已完成",value:"Completed"},{label:"进行中",value:"Processing"}];return e.onLoad((async()=>{var s,t;await(null==(s=e.getCurrentInstance())?void 0:s.appContext.config.globalProperties.$onLaunched),o.useModel.dataList.value=[],null==(t=n.method)||t.getList()})),(t,u)=>{var r,i,a,c,m,d,v,p;return{a:e.o(null==(r=e.unref(n.method))?void 0:r.changeTab),b:e.p({list:l,current:null==(a=null==(i=e.unref(o.useModel))?void 0:i.tabCurrent)?void 0:a.value}),c:e.f(null==(m=null==(c=e.unref(o.useModel))?void 0:c.dataList)?void 0:m.value,((o,t,l)=>{var u;return e.e({a:e.t(null==o?void 0:o.task_name),b:"Processing"===(null==o?void 0:o.status)},"Processing"===(null==o?void 0:o.status)?{c:"9447b322-2-"+l+",9447b322-1",d:e.p({type:"refreshempty",size:"14",color:"#0082fa"})}:{},{e:"9447b322-3-"+l+",9447b322-1",f:e.t(null==(u=null==o?void 0:o.company_employee)?void 0:u.name),g:"9447b322-4-"+l+",9447b322-1",h:e.t(null==o?void 0:o.created_at),i:"9447b322-5-"+l+",9447b322-1",j:e.p({value:null==o?void 0:o.status,Enums:e.unref(s.HouseCollectionTasksStatusEnum)}),k:"9447b322-6-"+l+",9447b322-1",l:e.p({type:"right",size:"15",color:"Processing"===(null==o?void 0:o.status)?"#0082fa":"#67C23A"}),m:e.n(`status status_${null==o?void 0:o.status}`),n:`items_${t}`,o:e.n(`collection_record_item items_${null==o?void 0:o.status}`),p:e.o((s=>{var t;return null==(t=e.unref(n.method))?void 0:t.goDetail(o)}),`items_${t}`)})})),d:e.p({type:"person",size:"15",color:"#C4C4C4"}),e:e.p({name:"clock",size:"15",color:"#C4C4C4"}),f:e.o(null==(d=e.unref(n.method))?void 0:d.load),g:e.p({meta:null==(p=null==(v=e.unref(o.useModel))?void 0:v.meta)?void 0:p.value})}}}});wx.createPage(t); +"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),n=require("./method.js"),s=require("../../../gen/Enums.js");if(require("../../../common/libraries/day.js"),require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-tabs")+e.resolveComponent("uni-icons")+e.resolveComponent("up-icon")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("cc-scroll-loading"))()}Math||((()=>"../../../components/hs-tabs/hs-tabs.js")+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const t=e.defineComponent({__name:"index",setup(t){const l=[{label:"全部",value:""},{label:"已完成",value:"Completed"},{label:"进行中",value:"Processing"}];return e.onLoad(async()=>{var s,t;await(null==(s=e.getCurrentInstance())?void 0:s.appContext.config.globalProperties.$onLaunched),o.useModel.dataList.value=[],null==(t=n.method)||t.getList()}),(t,u)=>{var r,i,a,c,m,d,v,p;return{a:e.o(null==(r=e.unref(n.method))?void 0:r.changeTab),b:e.p({list:l,current:null==(a=null==(i=e.unref(o.useModel))?void 0:i.tabCurrent)?void 0:a.value}),c:e.f(null==(m=null==(c=e.unref(o.useModel))?void 0:c.dataList)?void 0:m.value,(o,t,l)=>{var u;return e.e({a:e.t(null==o?void 0:o.task_name),b:"Processing"===(null==o?void 0:o.status)},"Processing"===(null==o?void 0:o.status)?{c:"9447b322-2-"+l+",9447b322-1",d:e.p({type:"refreshempty",size:"14",color:"#0082fa"})}:{},{e:"9447b322-3-"+l+",9447b322-1",f:e.t(null==(u=null==o?void 0:o.company_employee)?void 0:u.name),g:"9447b322-4-"+l+",9447b322-1",h:e.t(null==o?void 0:o.created_at),i:"9447b322-5-"+l+",9447b322-1",j:e.p({value:null==o?void 0:o.status,Enums:e.unref(s.HouseCollectionTasksStatusEnum)}),k:"9447b322-6-"+l+",9447b322-1",l:e.p({type:"right",size:"15",color:"Processing"===(null==o?void 0:o.status)?"#0082fa":"#67C23A"}),m:e.n(`status status_${null==o?void 0:o.status}`),n:`items_${t}`,o:e.n(`collection_record_item items_${null==o?void 0:o.status}`),p:e.o(s=>{var t;return null==(t=e.unref(n.method))?void 0:t.goDetail(o)},`items_${t}`)})}),d:e.p({type:"person",size:"15",color:"#C4C4C4"}),e:e.p({name:"clock",size:"15",color:"#C4C4C4"}),f:e.o(null==(d=e.unref(n.method))?void 0:d.load),g:e.p({meta:null==(p=null==(v=e.unref(o.useModel))?void 0:v.meta)?void 0:p.value})}}}});wx.createPage(t); diff --git a/dist/build/mp-weixin/BILL/collection_record/index/method.js b/dist/build/mp-weixin/BILL/collection_record/index/method.js index f8c4641..6cd6042 100644 --- a/dist/build/mp-weixin/BILL/collection_record/index/method.js +++ b/dist/build/mp-weixin/BILL/collection_record/index/method.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),l=require("../../../common/libraries/apiLoading.js"),o=require("../../../gen/Apis.js"),a=require("./model.js"),t=require("../../../gen/Enums.js"),s=()=>{var e,l;o.Apis.Collection.HouseCollectionTasks.List(null==(l=null==(e=a.useModel)?void 0:e.formData)?void 0:l.value).then((e=>{a.useModel.dataList.value=[...a.useModel.dataList.value,...null==e?void 0:e.data],a.useModel.meta.value=null==e?void 0:e.meta,console.log("登录",null==e?void 0:e.data)}))},i=e=>{l.getApiLoading(o.Apis.Collection.HouseCollectionRecords.GetTaskRecords,{collection_tasks_id:e}).then((e=>{a.useModel.showDataTable.value=null==e?void 0:e.data}))},u={getList:s,changeTab(e,l){a.useModel.tabCurrent.value=e,a.useModel.formData.value.status=null==l?void 0:l.value,a.useModel.formData.value.page=1,a.useModel.dataList.value=[],s()},load(e){a.useModel.formData.value.page=null==e?void 0:e.page,s()},goDetail(l){e.index.navigateTo({url:`/BILL/collection_record/show?id=${null==l?void 0:l.id}`})},getShow(e){l.getApiLoading(o.Apis.Collection.HouseCollectionTasks.Show,{id:e}).then((e=>{var l;a.useModel.showData.value=null==e?void 0:e.data,i(null==(l=null==e?void 0:e.data)?void 0:l.id)}))},getTaskRecords:i,getShowChannel(e){let l="";return null==e||e.map((e=>{var o;l+=e?`${null==(o=t.HouseCollectionTasksChannelEnum[e])?void 0:o.text} `:""})),l}};exports.method=u; +"use strict";const e=require("../../../common/vendor.js"),l=require("../../../common/libraries/apiLoading.js"),o=require("../../../gen/Apis.js"),a=require("./model.js"),t=require("../../../gen/Enums.js"),s=()=>{var e,l;o.Apis.Collection.HouseCollectionTasks.List(null==(l=null==(e=a.useModel)?void 0:e.formData)?void 0:l.value).then(e=>{a.useModel.dataList.value=[...a.useModel.dataList.value,...null==e?void 0:e.data],a.useModel.meta.value=null==e?void 0:e.meta,console.log("登录",null==e?void 0:e.data)})},i=e=>{l.getApiLoading(o.Apis.Collection.HouseCollectionRecords.GetTaskRecords,{collection_tasks_id:e}).then(e=>{a.useModel.showDataTable.value=null==e?void 0:e.data})},u={getList:s,changeTab(e,l){a.useModel.tabCurrent.value=e,a.useModel.formData.value.status=null==l?void 0:l.value,a.useModel.formData.value.page=1,a.useModel.dataList.value=[],s()},load(e){a.useModel.formData.value.page=null==e?void 0:e.page,s()},goDetail(l){e.index.navigateTo({url:`/BILL/collection_record/show?id=${null==l?void 0:l.id}`})},getShow(e){l.getApiLoading(o.Apis.Collection.HouseCollectionTasks.Show,{id:e}).then(e=>{var l;a.useModel.showData.value=null==e?void 0:e.data,i(null==(l=null==e?void 0:e.data)?void 0:l.id)})},getTaskRecords:i,getShowChannel(e){let l="";return null==e||e.map(e=>{var o;l+=e?`${null==(o=t.HouseCollectionTasksChannelEnum[e])?void 0:o.text} `:""}),l}};exports.method=u; diff --git a/dist/build/mp-weixin/BILL/collection_record/show/index.js b/dist/build/mp-weixin/BILL/collection_record/show/index.js index 2eb549f..1daf798 100644 --- a/dist/build/mp-weixin/BILL/collection_record/show/index.js +++ b/dist/build/mp-weixin/BILL/collection_record/show/index.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),l=require("./method.js"),n=require("../../../gen/Enums.js");if(require("../../../common/libraries/day.js"),require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-cell")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("uni-icons")+e.resolveComponent("hs-refresh"))()}Math||((()=>"../../../components/hs-cell/hs-cell.js")+(()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../components/hs-refresh/hs-refresh.js"))();const u=e.defineComponent({__name:"index",setup:u=>(e.onLoad((e=>{var o;null==(o=l.method)||o.getShow(null==e?void 0:e.id)})),(u,s)=>{var i,r,t,a,d,v,c,m,h,p,f,j,b,_,g,w,q,C,M,y,D,T,k,S,A;return{a:e.p({title:"催缴类型",borderTop:!0,value:null==(t=null==(r=null==(i=e.unref(o.useModel))?void 0:i.showData)?void 0:r.value)?void 0:t.task_name}),b:e.p({value:null==(v=null==(d=null==(a=e.unref(o.useModel))?void 0:a.showData)?void 0:d.value)?void 0:v.status,Enums:e.unref(n.HouseCollectionTasksStatusEnum)}),c:e.n(`status_tag_${null==(h=null==(m=null==(c=e.unref(o.useModel))?void 0:c.showData)?void 0:m.value)?void 0:h.status}`),d:e.p({title:"状态",borderTop:!0}),e:e.p({title:"发起人",borderTop:!0,value:null==(b=null==(j=null==(f=null==(p=e.unref(o.useModel))?void 0:p.showData)?void 0:f.value)?void 0:j.company_employee)?void 0:b.name}),f:e.t(null==(q=e.unref(l.method))?void 0:q.getShowChannel(null==(w=null==(g=null==(_=e.unref(o.useModel))?void 0:_.showData)?void 0:g.value)?void 0:w.channel)),g:e.p({title:"通知方式",borderTop:!0}),h:e.p({title:"创建时间",borderTop:!0,value:null==(y=null==(M=null==(C=e.unref(o.useModel))?void 0:C.showData)?void 0:M.value)?void 0:y.created_at}),i:e.f(null==(k=null==(T=null==(D=e.unref(o.useModel))?void 0:D.showData)?void 0:T.value)?void 0:k.channel,((o,l,u)=>({a:"0647cc96-6-"+u,b:e.p({value:o,Enums:e.unref(n.HouseCollectionTasksChannelEnum)}),c:`h_td_${l}`}))),j:e.f(null==(A=null==(S=e.unref(o.useModel))?void 0:S.showDataTable)?void 0:A.value,((o,l,n)=>({a:e.t(null==o?void 0:o.full_name),b:e.f(null==o?void 0:o.notify_info,((o,l,u)=>e.e({a:"Notified"===(null==o?void 0:o.status)},"Notified"===(null==o?void 0:o.status)?{b:"0647cc96-7-"+n+"-"+u,c:e.p({type:"checkbox",color:"#67C23A",size:"20"})}:"Failed"===(null==o?void 0:o.status)?{e:"0647cc96-8-"+n+"-"+u,f:e.p({type:"close",color:"#F89898",size:"20"})}:{g:"0647cc96-9-"+n+"-"+u,h:e.p({type:"spinner-cycle",color:"#999",size:"20"})},{d:"Failed"===(null==o?void 0:o.status),i:`td_${l}`}))),c:`tr_${l}`}))),k:e.o((n=>{var u,s,i;return e.unref(l.method).getShow(null==(i=null==(s=null==(u=e.unref(o.useModel))?void 0:u.showData)?void 0:s.value)?void 0:i.id)}))}})});wx.createPage(u); +"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),l=require("./method.js"),n=require("../../../gen/Enums.js");if(require("../../../common/libraries/day.js"),require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-cell")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("uni-icons")+e.resolveComponent("hs-refresh"))()}Math||((()=>"../../../components/hs-cell/hs-cell.js")+(()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../components/hs-refresh/hs-refresh.js"))();const u=e.defineComponent({__name:"index",setup:u=>(e.onLoad(e=>{var o;null==(o=l.method)||o.getShow(null==e?void 0:e.id)}),(u,s)=>{var i,r,t,a,d,v,c,m,h,p,f,j,b,_,g,w,q,C,M,y,D,T,k,S,A;return{a:e.p({title:"催缴类型",borderTop:!0,value:null==(t=null==(r=null==(i=e.unref(o.useModel))?void 0:i.showData)?void 0:r.value)?void 0:t.task_name}),b:e.p({value:null==(v=null==(d=null==(a=e.unref(o.useModel))?void 0:a.showData)?void 0:d.value)?void 0:v.status,Enums:e.unref(n.HouseCollectionTasksStatusEnum)}),c:e.n(`status_tag_${null==(h=null==(m=null==(c=e.unref(o.useModel))?void 0:c.showData)?void 0:m.value)?void 0:h.status}`),d:e.p({title:"状态",borderTop:!0}),e:e.p({title:"发起人",borderTop:!0,value:null==(b=null==(j=null==(f=null==(p=e.unref(o.useModel))?void 0:p.showData)?void 0:f.value)?void 0:j.company_employee)?void 0:b.name}),f:e.t(null==(q=e.unref(l.method))?void 0:q.getShowChannel(null==(w=null==(g=null==(_=e.unref(o.useModel))?void 0:_.showData)?void 0:g.value)?void 0:w.channel)),g:e.p({title:"通知方式",borderTop:!0}),h:e.p({title:"创建时间",borderTop:!0,value:null==(y=null==(M=null==(C=e.unref(o.useModel))?void 0:C.showData)?void 0:M.value)?void 0:y.created_at}),i:e.f(null==(k=null==(T=null==(D=e.unref(o.useModel))?void 0:D.showData)?void 0:T.value)?void 0:k.channel,(o,l,u)=>({a:"0647cc96-6-"+u,b:e.p({value:o,Enums:e.unref(n.HouseCollectionTasksChannelEnum)}),c:`h_td_${l}`})),j:e.f(null==(A=null==(S=e.unref(o.useModel))?void 0:S.showDataTable)?void 0:A.value,(o,l,n)=>({a:e.t(null==o?void 0:o.full_name),b:e.f(null==o?void 0:o.notify_info,(o,l,u)=>e.e({a:"Notified"===(null==o?void 0:o.status)},"Notified"===(null==o?void 0:o.status)?{b:"0647cc96-7-"+n+"-"+u,c:e.p({type:"checkbox",color:"#67C23A",size:"20"})}:"Failed"===(null==o?void 0:o.status)?{e:"0647cc96-8-"+n+"-"+u,f:e.p({type:"close",color:"#F89898",size:"20"})}:{g:"0647cc96-9-"+n+"-"+u,h:e.p({type:"spinner-cycle",color:"#999",size:"20"})},{d:"Failed"===(null==o?void 0:o.status),i:`td_${l}`})),c:`tr_${l}`})),k:e.o(n=>{var u,s,i;return e.unref(l.method).getShow(null==(i=null==(s=null==(u=e.unref(o.useModel))?void 0:u.showData)?void 0:s.value)?void 0:i.id)})}})});wx.createPage(u); diff --git a/dist/build/mp-weixin/BILL/collection_record/show/method.js b/dist/build/mp-weixin/BILL/collection_record/show/method.js index f8c4641..6cd6042 100644 --- a/dist/build/mp-weixin/BILL/collection_record/show/method.js +++ b/dist/build/mp-weixin/BILL/collection_record/show/method.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),l=require("../../../common/libraries/apiLoading.js"),o=require("../../../gen/Apis.js"),a=require("./model.js"),t=require("../../../gen/Enums.js"),s=()=>{var e,l;o.Apis.Collection.HouseCollectionTasks.List(null==(l=null==(e=a.useModel)?void 0:e.formData)?void 0:l.value).then((e=>{a.useModel.dataList.value=[...a.useModel.dataList.value,...null==e?void 0:e.data],a.useModel.meta.value=null==e?void 0:e.meta,console.log("登录",null==e?void 0:e.data)}))},i=e=>{l.getApiLoading(o.Apis.Collection.HouseCollectionRecords.GetTaskRecords,{collection_tasks_id:e}).then((e=>{a.useModel.showDataTable.value=null==e?void 0:e.data}))},u={getList:s,changeTab(e,l){a.useModel.tabCurrent.value=e,a.useModel.formData.value.status=null==l?void 0:l.value,a.useModel.formData.value.page=1,a.useModel.dataList.value=[],s()},load(e){a.useModel.formData.value.page=null==e?void 0:e.page,s()},goDetail(l){e.index.navigateTo({url:`/BILL/collection_record/show?id=${null==l?void 0:l.id}`})},getShow(e){l.getApiLoading(o.Apis.Collection.HouseCollectionTasks.Show,{id:e}).then((e=>{var l;a.useModel.showData.value=null==e?void 0:e.data,i(null==(l=null==e?void 0:e.data)?void 0:l.id)}))},getTaskRecords:i,getShowChannel(e){let l="";return null==e||e.map((e=>{var o;l+=e?`${null==(o=t.HouseCollectionTasksChannelEnum[e])?void 0:o.text} `:""})),l}};exports.method=u; +"use strict";const e=require("../../../common/vendor.js"),l=require("../../../common/libraries/apiLoading.js"),o=require("../../../gen/Apis.js"),a=require("./model.js"),t=require("../../../gen/Enums.js"),s=()=>{var e,l;o.Apis.Collection.HouseCollectionTasks.List(null==(l=null==(e=a.useModel)?void 0:e.formData)?void 0:l.value).then(e=>{a.useModel.dataList.value=[...a.useModel.dataList.value,...null==e?void 0:e.data],a.useModel.meta.value=null==e?void 0:e.meta,console.log("登录",null==e?void 0:e.data)})},i=e=>{l.getApiLoading(o.Apis.Collection.HouseCollectionRecords.GetTaskRecords,{collection_tasks_id:e}).then(e=>{a.useModel.showDataTable.value=null==e?void 0:e.data})},u={getList:s,changeTab(e,l){a.useModel.tabCurrent.value=e,a.useModel.formData.value.status=null==l?void 0:l.value,a.useModel.formData.value.page=1,a.useModel.dataList.value=[],s()},load(e){a.useModel.formData.value.page=null==e?void 0:e.page,s()},goDetail(l){e.index.navigateTo({url:`/BILL/collection_record/show?id=${null==l?void 0:l.id}`})},getShow(e){l.getApiLoading(o.Apis.Collection.HouseCollectionTasks.Show,{id:e}).then(e=>{var l;a.useModel.showData.value=null==e?void 0:e.data,i(null==(l=null==e?void 0:e.data)?void 0:l.id)})},getTaskRecords:i,getShowChannel(e){let l="";return null==e||e.map(e=>{var o;l+=e?`${null==(o=t.HouseCollectionTasksChannelEnum[e])?void 0:o.text} `:""}),l}};exports.method=u; diff --git a/dist/build/mp-weixin/BILL/information_template/components/PopupSubmitTemplate.js b/dist/build/mp-weixin/BILL/information_template/components/PopupSubmitTemplate.js index 2f739c7..37beb74 100644 --- a/dist/build/mp-weixin/BILL/information_template/components/PopupSubmitTemplate.js +++ b/dist/build/mp-weixin/BILL/information_template/components/PopupSubmitTemplate.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/libraries/apiLoading.js"),t=require("../../../gen/Apis.js");if(require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-button")+e.resolveComponent("hs-popup")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../../components/hs-button/hs-button.js")+(()=>"../../../components/hs-popup/hs-popup.js")+(()=>"../../../components/hs-footer/hs-footer.js"))();const r=e.defineComponent({__name:"PopupSubmitTemplate",props:["formData","type"],setup(r){const n=r,s=e.ref(!1),l=e.ref(!1),a=()=>{var o;console.log(null==n?void 0:n.type,"type"),(null==(o=null==n?void 0:n.type)?void 0:o.length)?s.value=!s.value:e.index.showToast({title:"请选择通知方式!",icon:"none"})},i=()=>{e.index.navigateBack({delta:1})},p=()=>{o.getApiLoading(t.Apis.Collection.HouseCollectionTasks.Store,{...n.formData,channel:n.type}).then((e=>{s.value=!1,l.value=!0}))},u=()=>{e.index.redirectTo({url:"/BILL/collection_record/index/index"})};return(o,t)=>{var r,m;return{a:e.t(null==(m=null==(r=null==n?void 0:n.formData)?void 0:r.houses)?void 0:m.length),b:e.o(p),c:e.p({label:"确认提交",size:"md",type:"primary"}),d:e.o(a),e:e.p({show:s.value,mode:"center",round:15,closeable:!0}),f:e.o(a),g:e.p({btnParimaryName:"提交"}),h:e.o(i),i:e.p({label:"返回欠费列表",size:"md",type:"default"}),j:e.o(u),k:e.p({label:"查看任务详情",size:"md"}),l:e.p({show:l.value,mode:"center",round:15})}}}}),n=e._export_sfc(r,[["__scopeId","data-v-7c88a356"]]);wx.createComponent(n); +"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/libraries/apiLoading.js"),t=require("../../../gen/Apis.js");if(require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-button")+e.resolveComponent("hs-popup")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../../components/hs-button/hs-button.js")+(()=>"../../../components/hs-popup/hs-popup.js")+(()=>"../../../components/hs-footer/hs-footer.js"))();const r=e.defineComponent({__name:"PopupSubmitTemplate",props:["formData","type"],setup(r){const n=r,s=e.ref(!1),l=e.ref(!1),a=()=>{var o;console.log(null==n?void 0:n.type,"type"),(null==(o=null==n?void 0:n.type)?void 0:o.length)?s.value=!s.value:e.index.showToast({title:"请选择通知方式!",icon:"none"})},i=()=>{e.index.navigateBack({delta:1})},p=()=>{o.getApiLoading(t.Apis.Collection.HouseCollectionTasks.Store,{...n.formData,channel:n.type}).then(e=>{s.value=!1,l.value=!0})},u=()=>{e.index.redirectTo({url:"/BILL/collection_record/index/index"})};return(o,t)=>{var r,m;return{a:e.t(null==(m=null==(r=null==n?void 0:n.formData)?void 0:r.houses)?void 0:m.length),b:e.o(p),c:e.p({label:"确认提交",size:"md",type:"primary"}),d:e.o(a),e:e.p({show:s.value,mode:"center",round:15,closeable:!0}),f:e.o(a),g:e.p({btnParimaryName:"提交"}),h:e.o(i),i:e.p({label:"返回欠费列表",size:"md",type:"default"}),j:e.o(u),k:e.p({label:"查看任务详情",size:"md"}),l:e.p({show:l.value,mode:"center",round:15})}}}}),n=e._export_sfc(r,[["__scopeId","data-v-7c88a356"]]);wx.createComponent(n); diff --git a/dist/build/mp-weixin/BILL/information_template/index.js b/dist/build/mp-weixin/BILL/information_template/index.js index 682a454..f5df3c8 100644 --- a/dist/build/mp-weixin/BILL/information_template/index.js +++ b/dist/build/mp-weixin/BILL/information_template/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),l=require("./method.js"),o=require("./model.js");if(require("../../common/libraries/day.js"),!Array){(e.resolveComponent("up-icon")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+n)();const n=()=>"./components/PopupSubmitTemplate.js",u=e.defineComponent({__name:"index",setup:n=>(e.onShow((()=>{var e;null==(e=l.method)||e.handleInit()})),e.onLoad((e=>{o.useModel.formData.value={houses:(null==e?void 0:e.data)?JSON.parse(null==e?void 0:e.data):[]}})),(n,u)=>{var i,d,s,t,r,a,v,c,m,p,f,b;return e.e({a:e.p({name:"error-circle",size:"19",color:"#2d75ff"}),b:e.f(null==(d=null==(i=e.unref(o.useModel))?void 0:i.selectType)?void 0:d.value,((o,n,u)=>e.e({a:e.t(null==o?void 0:o.label),b:null==o?void 0:o.tab},(null==o?void 0:o.tab)?{c:e.t(null==o?void 0:o.tab)}:{},{d:null==o?void 0:o.is_select},(null==o?void 0:o.is_select)?{e:"57161569-1-"+u,f:e.p({type:"checkbox-filled",size:"20",color:"#0082FA"})}:{g:"57161569-2-"+u,h:e.p({type:"circle",size:"20",color:"#999"})},{i:e.t(null==o?void 0:o.des),j:null==o?void 0:o.subDes},(null==o?void 0:o.subDes)?{k:e.t(null==o?void 0:o.subDes)}:{},{l:`items_${n}`,m:e.o((u=>{var i;return null==(i=e.unref(l.method))?void 0:i.handleSelect(n,o)}),`items_${n}`)}))),c:null==(r=null==(t=null==(s=e.unref(o.useModel))?void 0:s.selectEdType)?void 0:t.value)?void 0:r.length},(null==(c=null==(v=null==(a=e.unref(o.useModel))?void 0:a.selectEdType)?void 0:v.value)||c.length,{}),{d:e.p({formData:null==(p=null==(m=e.unref(o.useModel))?void 0:m.formData)?void 0:p.value,type:null==(b=null==(f=e.unref(o.useModel))?void 0:f.selectEdType)?void 0:b.value})})})});wx.createPage(u); +"use strict";const e=require("../../common/vendor.js"),l=require("./method.js"),o=require("./model.js");if(require("../../common/libraries/day.js"),!Array){(e.resolveComponent("up-icon")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+n)();const n=()=>"./components/PopupSubmitTemplate.js",u=e.defineComponent({__name:"index",setup:n=>(e.onShow(()=>{var e;null==(e=l.method)||e.handleInit()}),e.onLoad(e=>{o.useModel.formData.value={houses:(null==e?void 0:e.data)?JSON.parse(null==e?void 0:e.data):[]}}),(n,u)=>{var i,d,s,t,r,a,v,c,m,p,f,b;return e.e({a:e.p({name:"error-circle",size:"19",color:"#2d75ff"}),b:e.f(null==(d=null==(i=e.unref(o.useModel))?void 0:i.selectType)?void 0:d.value,(o,n,u)=>e.e({a:e.t(null==o?void 0:o.label),b:null==o?void 0:o.tab},(null==o?void 0:o.tab)?{c:e.t(null==o?void 0:o.tab)}:{},{d:null==o?void 0:o.is_select},(null==o?void 0:o.is_select)?{e:"57161569-1-"+u,f:e.p({type:"checkbox-filled",size:"20",color:"#0082FA"})}:{g:"57161569-2-"+u,h:e.p({type:"circle",size:"20",color:"#999"})},{i:e.t(null==o?void 0:o.des),j:null==o?void 0:o.subDes},(null==o?void 0:o.subDes)?{k:e.t(null==o?void 0:o.subDes)}:{},{l:`items_${n}`,m:e.o(u=>{var i;return null==(i=e.unref(l.method))?void 0:i.handleSelect(n,o)},`items_${n}`)})),c:null==(r=null==(t=null==(s=e.unref(o.useModel))?void 0:s.selectEdType)?void 0:t.value)?void 0:r.length},(null==(c=null==(v=null==(a=e.unref(o.useModel))?void 0:a.selectEdType)?void 0:v.value)||c.length,{}),{d:e.p({formData:null==(p=null==(m=e.unref(o.useModel))?void 0:m.formData)?void 0:p.value,type:null==(b=null==(f=e.unref(o.useModel))?void 0:f.selectEdType)?void 0:b.value})})})});wx.createPage(u); diff --git a/dist/build/mp-weixin/BILL/information_template/method.js b/dist/build/mp-weixin/BILL/information_template/method.js index 207d7ba..a82e293 100644 --- a/dist/build/mp-weixin/BILL/information_template/method.js +++ b/dist/build/mp-weixin/BILL/information_template/method.js @@ -1 +1 @@ -"use strict";const e=require("./model.js"),l={handleSelect(l,s){var t,u,c,i;let o=[],d=null==(c=null==(u=null==(t=e.useModel)?void 0:t.selectType)?void 0:u.value[l])?void 0:c.is_select;e.useModel.selectType.value[l].is_select=!d,null==(i=e.useModel.selectType.value)||i.map((e=>{(null==e?void 0:e.is_select)&&(null==o||o.push(null==s?void 0:s.type))})),e.useModel.selectEdType.value=o,console.log(l,"e")},handleInit(){e.useModel.selectEdType.value=["SMS","MiniProgram","OfficialAccount"],e.useModel.selectType.value=[{label:"小程序催缴通知",des:"覆盖范围:仅限完成小程序订阅授权且保持通知开启状态的客户。",is_select:!0,type:"MiniProgram"},{label:"公众号催缴通知",des:"覆盖范围:限定已关注物业服务公众号的客户。",is_select:!0,type:"OfficialAccount"},{label:"发送短信通知",des:"该方式实现近100%客户触达",subDes:"(注:需号码状态正常且未设置短信拦截)",tab:"100%触达",is_select:!0,type:"SMS"}]}};exports.method=l; +"use strict";const e=require("./model.js"),l={handleSelect(l,s){var t,u,c,i;let o=[],d=null==(c=null==(u=null==(t=e.useModel)?void 0:t.selectType)?void 0:u.value[l])?void 0:c.is_select;e.useModel.selectType.value[l].is_select=!d,null==(i=e.useModel.selectType.value)||i.map(e=>{(null==e?void 0:e.is_select)&&(null==o||o.push(null==s?void 0:s.type))}),e.useModel.selectEdType.value=o,console.log(l,"e")},handleInit(){e.useModel.selectEdType.value=["SMS","MiniProgram","OfficialAccount"],e.useModel.selectType.value=[{label:"小程序催缴通知",des:"覆盖范围:仅限完成小程序订阅授权且保持通知开启状态的客户。",is_select:!0,type:"MiniProgram"},{label:"公众号催缴通知",des:"覆盖范围:限定已关注物业服务公众号的客户。",is_select:!0,type:"OfficialAccount"},{label:"发送短信通知",des:"该方式实现近100%客户触达",subDes:"(注:需号码状态正常且未设置短信拦截)",tab:"100%触达",is_select:!0,type:"SMS"}]}};exports.method=l; diff --git a/dist/build/mp-weixin/BILL/outstanding_fee/add/index.js b/dist/build/mp-weixin/BILL/outstanding_fee/add/index.js index 098902d..5da7be9 100644 --- a/dist/build/mp-weixin/BILL/outstanding_fee/add/index.js +++ b/dist/build/mp-weixin/BILL/outstanding_fee/add/index.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/libraries/naviHelper.js"),n=require("./model.js"),l=require("../../../common/libraries/apiLoading.js"),t=require("../../../gen/Apis.js");if(require("../../../common/libraries/day.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("up-icon")+e.resolveComponent("uni-icons")+e.resolveComponent("hs-footer"))()}Math||(r+(()=>"../../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+i+(()=>"../../../components/hs-footer/hs-footer.js"))();const r=()=>"../components/CollectionMethods.js",i=()=>"../components/CollectionResult.js",u=e.defineComponent({__name:"index",setup(r){const i=o=>{e.index.showToast({title:o||"",icon:"none"})},u=e=>{var o;n.useModel.formData.value.notified_time=null==(o=null==e?void 0:e.detail)?void 0:o.value,console.log(e)},s=()=>{let e=n.useModel.formData.value;return(null==e?void 0:e.channel)?(null==e?void 0:e.notified_time)?(null==e?void 0:e.collection_result)?(l.getApiLoading(t.Apis.Collection.HouseCollectionRecords.Store,n.useModel.formData.value).then((e=>{o.showToastBack("提交成功",1,!0)})),void console.log(e)):i("请选择催缴结果!"):i("请选择催缴时间!"):i("请选择催缴方式!")};return e.onLoad((e=>{n.useModel.formData.value={total_unpaid_amount:null==e?void 0:e.amount,asset_houses_id:null==e?void 0:e.id}})),(o,l)=>e.e({a:e.o((o=>e.unref(n.useModel).formData.value.channel=o)),b:e.p({valueModel:e.unref(n.useModel).formData.value.channel}),c:e.p({name:"calendar",color:"#C4C4C4",size:"26"}),d:e.unref(n.useModel).formData.value.notified_time},e.unref(n.useModel).formData.value.notified_time?{e:e.t(e.unref(n.useModel).formData.value.notified_time||"请选择通知时间")}:{},{f:e.p({type:"right",size:"15",color:"#333"}),g:e.o(u),h:e.o((o=>e.unref(n.useModel).formData.value.collection_result=o)),i:e.p({valueModel:e.unref(n.useModel).formData.value.collection_result}),j:e.unref(n.useModel).formData.value.collection_content,k:e.o((o=>e.unref(n.useModel).formData.value.collection_content=o.detail.value)),l:e.o(s),m:e.p({btnParimaryName:"提交"})})}});wx.createPage(u); +"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/libraries/naviHelper.js"),n=require("./model.js"),l=require("../../../common/libraries/apiLoading.js"),t=require("../../../gen/Apis.js");if(require("../../../common/libraries/day.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("up-icon")+e.resolveComponent("uni-icons")+e.resolveComponent("hs-footer"))()}Math||(r+(()=>"../../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+i+(()=>"../../../components/hs-footer/hs-footer.js"))();const r=()=>"../components/CollectionMethods.js",i=()=>"../components/CollectionResult.js",u=e.defineComponent({__name:"index",setup(r){const i=o=>{e.index.showToast({title:o||"",icon:"none"})},u=e=>{var o;n.useModel.formData.value.notified_time=null==(o=null==e?void 0:e.detail)?void 0:o.value,console.log(e)},s=()=>{let e=n.useModel.formData.value;return(null==e?void 0:e.channel)?(null==e?void 0:e.notified_time)?(null==e?void 0:e.collection_result)?(l.getApiLoading(t.Apis.Collection.HouseCollectionRecords.Store,n.useModel.formData.value).then(e=>{o.showToastBack("提交成功",1,!0)}),void console.log(e)):i("请选择催缴结果!"):i("请选择催缴时间!"):i("请选择催缴方式!")};return e.onLoad(e=>{n.useModel.formData.value={total_unpaid_amount:null==e?void 0:e.amount,asset_houses_id:null==e?void 0:e.id}}),(o,l)=>e.e({a:e.o(o=>e.unref(n.useModel).formData.value.channel=o),b:e.p({valueModel:e.unref(n.useModel).formData.value.channel}),c:e.p({name:"calendar",color:"#C4C4C4",size:"26"}),d:e.unref(n.useModel).formData.value.notified_time},e.unref(n.useModel).formData.value.notified_time?{e:e.t(e.unref(n.useModel).formData.value.notified_time||"请选择通知时间")}:{},{f:e.p({type:"right",size:"15",color:"#333"}),g:e.o(u),h:e.o(o=>e.unref(n.useModel).formData.value.collection_result=o),i:e.p({valueModel:e.unref(n.useModel).formData.value.collection_result}),j:e.unref(n.useModel).formData.value.collection_content,k:e.o(o=>e.unref(n.useModel).formData.value.collection_content=o.detail.value),l:e.o(s),m:e.p({btnParimaryName:"提交"})})}});wx.createPage(u); diff --git a/dist/build/mp-weixin/BILL/outstanding_fee/components/CollectionMethods.js b/dist/build/mp-weixin/BILL/outstanding_fee/components/CollectionMethods.js index 9410ec6..ccdf1e9 100644 --- a/dist/build/mp-weixin/BILL/outstanding_fee/components/CollectionMethods.js +++ b/dist/build/mp-weixin/BILL/outstanding_fee/components/CollectionMethods.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js");if(!Array){(e.resolveComponent("up-icon")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const o=e.defineComponent({__name:"CollectionMethods",props:["valueModel"],emits:["update:valueModel"],setup(o,{emit:l}){const n=o,i=e.ref(""),t=[{label:"电话催缴",des:"直接电话联系",type:"PhoneCall",icon:"phone",color:"#00B75F"},{label:"上门催缴",des:"实地走访",type:"Visit",icon:"home",color:"#DF3600"},{label:"微信联系",des:"通过微信沟通",type:"WeChat",icon:"weixin-fill",color:"#00B75F"},{label:"书面通知",des:"张贴催缴通知",type:"WrittenNotice",icon:"edit-pen",color:"#0082FA"}];return(o,u)=>({a:e.f(t,((o,t,u)=>e.e({a:"02a00658-0-"+u,b:e.p({name:null==o?void 0:o.icon,color:null==o?void 0:o.color,size:"26"}),c:e.t(null==o?void 0:o.label),d:(null==n?void 0:n.valueModel)===(null==o?void 0:o.type)||i.value===(null==o?void 0:o.type)},(null==n?void 0:n.valueModel)===(null==o?void 0:o.type)||i.value===(null==o?void 0:o.type)?{e:"02a00658-1-"+u,f:e.p({type:"circle-filled",size:"18",color:"#0082FA"})}:{g:"02a00658-2-"+u,h:e.p({type:"circle",size:"18",color:"#999"})},{i:e.t(null==o?void 0:o.des),j:`item_${t}`,k:e.o((e=>{return n=o,i.value=null==n?void 0:n.type,void l("update:valueModel",null==n?void 0:n.type);var n}),`item_${t}`)})))})}}),l=e._export_sfc(o,[["__scopeId","data-v-02a00658"]]);wx.createComponent(l); +"use strict";const e=require("../../../common/vendor.js");if(!Array){(e.resolveComponent("up-icon")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const o=e.defineComponent({__name:"CollectionMethods",props:["valueModel"],emits:["update:valueModel"],setup(o,{emit:l}){const n=o,i=e.ref(""),t=[{label:"电话催缴",des:"直接电话联系",type:"PhoneCall",icon:"phone",color:"#00B75F"},{label:"上门催缴",des:"实地走访",type:"Visit",icon:"home",color:"#DF3600"},{label:"微信联系",des:"通过微信沟通",type:"WeChat",icon:"weixin-fill",color:"#00B75F"},{label:"书面通知",des:"张贴催缴通知",type:"WrittenNotice",icon:"edit-pen",color:"#0082FA"}];return(o,u)=>({a:e.f(t,(o,t,u)=>e.e({a:"02a00658-0-"+u,b:e.p({name:null==o?void 0:o.icon,color:null==o?void 0:o.color,size:"26"}),c:e.t(null==o?void 0:o.label),d:(null==n?void 0:n.valueModel)===(null==o?void 0:o.type)||i.value===(null==o?void 0:o.type)},(null==n?void 0:n.valueModel)===(null==o?void 0:o.type)||i.value===(null==o?void 0:o.type)?{e:"02a00658-1-"+u,f:e.p({type:"circle-filled",size:"18",color:"#0082FA"})}:{g:"02a00658-2-"+u,h:e.p({type:"circle",size:"18",color:"#999"})},{i:e.t(null==o?void 0:o.des),j:`item_${t}`,k:e.o(e=>{return n=o,i.value=null==n?void 0:n.type,void l("update:valueModel",null==n?void 0:n.type);var n},`item_${t}`)}))})}}),l=e._export_sfc(o,[["__scopeId","data-v-02a00658"]]);wx.createComponent(l); diff --git a/dist/build/mp-weixin/BILL/outstanding_fee/components/CollectionResult.js b/dist/build/mp-weixin/BILL/outstanding_fee/components/CollectionResult.js index fbe6f79..784a96d 100644 --- a/dist/build/mp-weixin/BILL/outstanding_fee/components/CollectionResult.js +++ b/dist/build/mp-weixin/BILL/outstanding_fee/components/CollectionResult.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js");if(!Array){e.resolveComponent("uni-icons")()}Math;const l=e.defineComponent({__name:"CollectionResult",props:["valueModel"],emits:["update:valueModel"],setup(l,{emit:o}){const t=l,a=e.ref(""),d=[{label:"承若缴费",des:"住户承诺指定时间内缴费",type:"PromiseToPay",bgColor:"#E7FFD6",color:"##00B75F"},{label:"拒绝缴费",des:"住户明确拒绝缴费",type:"RefuseToPay",bgColor:"#FFE8E8",color:"#DF3600"},{label:"未联系到",des:"无法联系到住户",type:"NotReached",bgColor:"#E8E8E8",color:"#666666"},{label:"需要跟进",des:"需要后续继续跟进",type:"NeedFollowUp",bgColor:"#E8F2FF",color:"#0082FA"}];return(l,i)=>({a:e.f(d,((l,d,i)=>e.e({a:e.t(null==l?void 0:l.label),b:null==l?void 0:l.color,c:null==l?void 0:l.bgColor,d:(null==t?void 0:t.valueModel)===(null==l?void 0:l.type)||a.value===(null==l?void 0:l.type)},(null==t?void 0:t.valueModel)===(null==l?void 0:l.type)||a.value===(null==l?void 0:l.type)?{e:"ca598a26-0-"+i,f:e.p({type:"circle-filled",size:"18",color:"#0082FA"})}:{g:"ca598a26-1-"+i,h:e.p({type:"circle",size:"18",color:"#999"})},{i:e.t(null==l?void 0:l.des),j:`item_${d}`,k:e.o((e=>{return t=l,a.value=null==t?void 0:t.type,void o("update:valueModel",null==t?void 0:t.type);var t}),`item_${d}`)})))})}}),o=e._export_sfc(l,[["__scopeId","data-v-ca598a26"]]);wx.createComponent(o); +"use strict";const e=require("../../../common/vendor.js");if(!Array){e.resolveComponent("uni-icons")()}Math;const l=e.defineComponent({__name:"CollectionResult",props:["valueModel"],emits:["update:valueModel"],setup(l,{emit:o}){const t=l,a=e.ref(""),d=[{label:"承若缴费",des:"住户承诺指定时间内缴费",type:"PromiseToPay",bgColor:"#E7FFD6",color:"##00B75F"},{label:"拒绝缴费",des:"住户明确拒绝缴费",type:"RefuseToPay",bgColor:"#FFE8E8",color:"#DF3600"},{label:"未联系到",des:"无法联系到住户",type:"NotReached",bgColor:"#E8E8E8",color:"#666666"},{label:"需要跟进",des:"需要后续继续跟进",type:"NeedFollowUp",bgColor:"#E8F2FF",color:"#0082FA"}];return(l,i)=>({a:e.f(d,(l,d,i)=>e.e({a:e.t(null==l?void 0:l.label),b:null==l?void 0:l.color,c:null==l?void 0:l.bgColor,d:(null==t?void 0:t.valueModel)===(null==l?void 0:l.type)||a.value===(null==l?void 0:l.type)},(null==t?void 0:t.valueModel)===(null==l?void 0:l.type)||a.value===(null==l?void 0:l.type)?{e:"ca598a26-0-"+i,f:e.p({type:"circle-filled",size:"18",color:"#0082FA"})}:{g:"ca598a26-1-"+i,h:e.p({type:"circle",size:"18",color:"#999"})},{i:e.t(null==l?void 0:l.des),j:`item_${d}`,k:e.o(e=>{return t=l,a.value=null==t?void 0:t.type,void o("update:valueModel",null==t?void 0:t.type);var t},`item_${d}`)}))})}}),o=e._export_sfc(l,[["__scopeId","data-v-ca598a26"]]);wx.createComponent(o); diff --git a/dist/build/mp-weixin/BILL/outstanding_fee/components/HeadSearchBtn.js b/dist/build/mp-weixin/BILL/outstanding_fee/components/HeadSearchBtn.js index 6ef02d1..95b422a 100644 --- a/dist/build/mp-weixin/BILL/outstanding_fee/components/HeadSearchBtn.js +++ b/dist/build/mp-weixin/BILL/outstanding_fee/components/HeadSearchBtn.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),r=require("../index/model.js"),o=require("../index/method.js");require("../../../common/libraries/day.js"),require("../../../common/libraries/sendWxWork.js"),require("../../../common/libraries/naviHelper.js"),require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js");const a=e.defineComponent({__name:"HeadSearchBtn",setup(a){const l=[{label:"1天未催缴",value:"1"},{label:"3天未催缴",value:"3"},{label:"7天未催缴",value:"7"},{label:"15天未催缴",value:"15"}];return(a,u)=>({a:e.f(l,((a,l,u)=>({a:e.t(null==a?void 0:a.label),b:`item_${l}`,c:e.n("item_btn "+(e.unref(r.useModel).formData.value.uncollected_days===(null==a?void 0:a.value)?"active":"")),d:e.o((e=>{return l=a,r.useModel.formData.value.uncollected_days===(null==l?void 0:l.value)?r.useModel.formData.value.uncollected_days=void 0:r.useModel.formData.value.uncollected_days=null==l?void 0:l.value,void o.method.handleSearch();var l}))})))})}}),l=e._export_sfc(a,[["__scopeId","data-v-45802562"]]);wx.createComponent(l); +"use strict";const e=require("../../../common/vendor.js"),r=require("../index/model.js"),o=require("../index/method.js");require("../../../common/libraries/day.js"),require("../../../common/libraries/sendWxWork.js"),require("../../../common/libraries/naviHelper.js"),require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js");const a=e.defineComponent({__name:"HeadSearchBtn",setup(a){const l=[{label:"1天未催缴",value:"1"},{label:"3天未催缴",value:"3"},{label:"7天未催缴",value:"7"},{label:"15天未催缴",value:"15"}];return(a,u)=>({a:e.f(l,(a,l,u)=>({a:e.t(null==a?void 0:a.label),b:`item_${l}`,c:e.n("item_btn "+(e.unref(r.useModel).formData.value.uncollected_days===(null==a?void 0:a.value)?"active":"")),d:e.o(e=>{return l=a,r.useModel.formData.value.uncollected_days===(null==l?void 0:l.value)?r.useModel.formData.value.uncollected_days=void 0:r.useModel.formData.value.uncollected_days=null==l?void 0:l.value,void o.method.handleSearch();var l})}))})}}),l=e._export_sfc(a,[["__scopeId","data-v-45802562"]]);wx.createComponent(l); diff --git a/dist/build/mp-weixin/BILL/outstanding_fee/components/HeaderSearch.js b/dist/build/mp-weixin/BILL/outstanding_fee/components/HeaderSearch.js index d2408f0..ee93c6d 100644 --- a/dist/build/mp-weixin/BILL/outstanding_fee/components/HeaderSearch.js +++ b/dist/build/mp-weixin/BILL/outstanding_fee/components/HeaderSearch.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),r=require("../index/method.js"),o=require("../index/model.js");if(require("../../../common/libraries/sendWxWork.js"),require("../../../common/libraries/naviHelper.js"),require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/day.js"),!Array){e.resolveComponent("up-search")()}Math;const s=e.defineComponent({__name:"HeaderSearch",setup:s=>(s,n)=>{var a;return{a:e.o(null==(a=e.unref(r.method))?void 0:a.handleSearch),b:e.o((r=>e.unref(o.useModel).formData.value.full_name=r)),c:e.p({placeholder:"请输入小区名称",showAction:!1,modelValue:e.unref(o.useModel).formData.value.full_name})}}}),n=e._export_sfc(s,[["__scopeId","data-v-0dc1b32e"]]);wx.createComponent(n); +"use strict";const e=require("../../../common/vendor.js"),r=require("../index/method.js"),o=require("../index/model.js");if(require("../../../common/libraries/sendWxWork.js"),require("../../../common/libraries/naviHelper.js"),require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/day.js"),!Array){e.resolveComponent("up-search")()}Math;const s=e.defineComponent({__name:"HeaderSearch",setup:s=>(s,n)=>{var a;return{a:e.o(null==(a=e.unref(r.method))?void 0:a.handleSearch),b:e.o(r=>e.unref(o.useModel).formData.value.full_name=r),c:e.p({placeholder:"请输入小区名称",showAction:!1,modelValue:e.unref(o.useModel).formData.value.full_name})}}}),n=e._export_sfc(s,[["__scopeId","data-v-0dc1b32e"]]);wx.createComponent(n); diff --git a/dist/build/mp-weixin/BILL/outstanding_fee/index/index.js b/dist/build/mp-weixin/BILL/outstanding_fee/index/index.js index a868e6e..7f21374 100644 --- a/dist/build/mp-weixin/BILL/outstanding_fee/index/index.js +++ b/dist/build/mp-weixin/BILL/outstanding_fee/index/index.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("./method.js"),l=require("./model.js"),n=require("../../../common/libraries/day.js");if(require("../../../common/libraries/sendWxWork.js"),require("../../../common/libraries/naviHelper.js"),require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("up-tabs")+e.resolveComponent("uni-icons")+e.resolveComponent("cc-scroll-loading")+e.resolveComponent("cc-root-view"))()}Math||((()=>"../../../node-modules/uview-plus/components/u-tabs/u-tabs.js")+u+t+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js")+r+(()=>"../../../common/components/cc-root-view/cc-root-view.js"))();const t=()=>"../components/HeadSearchBtn.js",r=()=>"../components/NoticeAlert.js",u=()=>"../components/HeaderSearch.js",i=e.defineComponent({__name:"index",setup:t=>(e.onLoad((async()=>{var n,t,r;await(null==(n=e.getCurrentInstance())?void 0:n.appContext.config.globalProperties.$onLaunched),l.useModel.dataList.value=[],null==(t=o.method)||t.init(),null==(r=o.method)||r.getList()})),(t,r)=>{var u,i,s,d,a,c,m,v,p,h,f,b,j,g,S,_,q,L,M,A;return e.e({a:null==(s=null==(i=null==(u=e.unref(l.useModel))?void 0:u.headTabsList)?void 0:i.value)?void 0:s.length},(null==(c=null==(a=null==(d=e.unref(l.useModel))?void 0:d.headTabsList)?void 0:a.value)?void 0:c.length)?{b:e.o(null==(m=e.unref(o.method))?void 0:m.handleListTabsChange),c:e.p({list:null==(p=null==(v=e.unref(l.useModel))?void 0:v.headTabsList)?void 0:p.value,current:null==(f=null==(h=e.unref(l.useModel))?void 0:h.current)?void 0:f.value})}:{},{d:e.f(null==(j=null==(b=e.unref(l.useModel))?void 0:b.dataList)?void 0:j.value,((l,t,r)=>e.e({a:null==l?void 0:l.is_select},(null==l?void 0:l.is_select)?{b:"17d5eb04-5-"+r+",17d5eb04-4",c:e.p({type:"checkbox-filled",size:"18",color:"#0082FA"})}:{d:"17d5eb04-6-"+r+",17d5eb04-4",e:e.p({type:"circle",size:"18",color:"#666"})},{f:e.t(null==l?void 0:l.full_name),g:e.o((l=>{var n;return null==(n=e.unref(o.method))?void 0:n.handleSelect(t)}),`item_${t}`),h:e.t(null==l?void 0:l.total_overdue_amount),i:e.t(null==l?void 0:l.last_overdue_date),j:e.t(e.unref(n.ShowLastTime)(null==l?void 0:l.last_collection_time)),k:e.o((n=>{var t;return null==(t=e.unref(o.method))?void 0:t.toDetail(l)}),`item_${t}`),l:`item_${t}`}))),e:e.o(null==(g=e.unref(o.method))?void 0:g.handleLoad),f:e.p({meta:null==(_=null==(S=e.unref(l.useModel))?void 0:S.meta)?void 0:_.value}),g:null==(L=null==(q=e.unref(l.useModel))?void 0:q.allSelectStatus)?void 0:L.value},(null==(A=null==(M=e.unref(l.useModel))?void 0:M.allSelectStatus)?void 0:A.value)?{h:e.p({type:"checkbox-filled",size:"20",color:"#0082FA"})}:{i:e.p({type:"circle",size:"20",color:"#666"})},{j:e.o(((...l)=>{var n,t;return(null==(n=e.unref(o.method))?void 0:n.handleAllSelect)&&(null==(t=e.unref(o.method))?void 0:t.handleAllSelect(...l))})),k:e.o(((...l)=>{var n,t;return(null==(n=e.unref(o.method))?void 0:n.toInformationTemplate)&&(null==(t=e.unref(o.method))?void 0:t.toInformationTemplate(...l))})),l:e.o(((...l)=>{var n,t;return(null==(n=e.unref(o.method))?void 0:n.toMassSending)&&(null==(t=e.unref(o.method))?void 0:t.toMassSending(...l))}))})})});wx.createPage(i); +"use strict";const e=require("../../../common/vendor.js"),o=require("./method.js"),l=require("./model.js"),n=require("../../../common/libraries/day.js");if(require("../../../common/libraries/sendWxWork.js"),require("../../../common/libraries/naviHelper.js"),require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("up-tabs")+e.resolveComponent("uni-icons")+e.resolveComponent("cc-scroll-loading")+e.resolveComponent("cc-root-view"))()}Math||((()=>"../../../node-modules/uview-plus/components/u-tabs/u-tabs.js")+u+t+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js")+r+(()=>"../../../common/components/cc-root-view/cc-root-view.js"))();const t=()=>"../components/HeadSearchBtn.js",r=()=>"../components/NoticeAlert.js",u=()=>"../components/HeaderSearch.js",i=e.defineComponent({__name:"index",setup:t=>(e.onLoad(async()=>{var n,t,r;await(null==(n=e.getCurrentInstance())?void 0:n.appContext.config.globalProperties.$onLaunched),l.useModel.dataList.value=[],null==(t=o.method)||t.init(),null==(r=o.method)||r.getList()}),(t,r)=>{var u,i,s,d,a,c,m,v,p,h,f,b,j,g,S,_,q,L,M,A;return e.e({a:null==(s=null==(i=null==(u=e.unref(l.useModel))?void 0:u.headTabsList)?void 0:i.value)?void 0:s.length},(null==(c=null==(a=null==(d=e.unref(l.useModel))?void 0:d.headTabsList)?void 0:a.value)?void 0:c.length)?{b:e.o(null==(m=e.unref(o.method))?void 0:m.handleListTabsChange),c:e.p({list:null==(p=null==(v=e.unref(l.useModel))?void 0:v.headTabsList)?void 0:p.value,current:null==(f=null==(h=e.unref(l.useModel))?void 0:h.current)?void 0:f.value})}:{},{d:e.f(null==(j=null==(b=e.unref(l.useModel))?void 0:b.dataList)?void 0:j.value,(l,t,r)=>e.e({a:null==l?void 0:l.is_select},(null==l?void 0:l.is_select)?{b:"17d5eb04-5-"+r+",17d5eb04-4",c:e.p({type:"checkbox-filled",size:"18",color:"#0082FA"})}:{d:"17d5eb04-6-"+r+",17d5eb04-4",e:e.p({type:"circle",size:"18",color:"#666"})},{f:e.t(null==l?void 0:l.full_name),g:e.o(l=>{var n;return null==(n=e.unref(o.method))?void 0:n.handleSelect(t)},`item_${t}`),h:e.t(null==l?void 0:l.total_overdue_amount),i:e.t(null==l?void 0:l.last_overdue_date),j:e.t(e.unref(n.ShowLastTime)(null==l?void 0:l.last_collection_time)),k:e.o(n=>{var t;return null==(t=e.unref(o.method))?void 0:t.toDetail(l)},`item_${t}`),l:`item_${t}`})),e:e.o(null==(g=e.unref(o.method))?void 0:g.handleLoad),f:e.p({meta:null==(_=null==(S=e.unref(l.useModel))?void 0:S.meta)?void 0:_.value}),g:null==(L=null==(q=e.unref(l.useModel))?void 0:q.allSelectStatus)?void 0:L.value},(null==(A=null==(M=e.unref(l.useModel))?void 0:M.allSelectStatus)?void 0:A.value)?{h:e.p({type:"checkbox-filled",size:"20",color:"#0082FA"})}:{i:e.p({type:"circle",size:"20",color:"#666"})},{j:e.o((...l)=>{var n,t;return(null==(n=e.unref(o.method))?void 0:n.handleAllSelect)&&(null==(t=e.unref(o.method))?void 0:t.handleAllSelect(...l))}),k:e.o((...l)=>{var n,t;return(null==(n=e.unref(o.method))?void 0:n.toInformationTemplate)&&(null==(t=e.unref(o.method))?void 0:t.toInformationTemplate(...l))}),l:e.o((...l)=>{var n,t;return(null==(n=e.unref(o.method))?void 0:n.toMassSending)&&(null==(t=e.unref(o.method))?void 0:t.toMassSending(...l))})})})});wx.createPage(i); diff --git a/dist/build/mp-weixin/BILL/outstanding_fee/index/method.js b/dist/build/mp-weixin/BILL/outstanding_fee/index/method.js index 6d64a91..b34757a 100644 --- a/dist/build/mp-weixin/BILL/outstanding_fee/index/method.js +++ b/dist/build/mp-weixin/BILL/outstanding_fee/index/method.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),l=require("../../../common/libraries/sendWxWork.js"),a=require("../../../gen/Apis.js"),t=require("./model.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js");const o=require("../../../common/store/useWeAppAuthStore.js");require("../../../common/store/useWorkStore.js");const s=o.useWeAppAuthStore(),u=()=>{var e,l;a.Apis.Bill.HouseBills.HouseList(null==(l=null==(e=t.useModel)?void 0:e.formData)?void 0:l.value).then((e=>{var l;null==(l=null==e?void 0:e.data)||l.map((e=>{e.is_select=t.useModel.allSelectStatus.value})),t.useModel.dataList.value=[...t.useModel.dataList.value,...null==e?void 0:e.data],t.useModel.meta.value=null==e?void 0:e.meta,console.log("登录",null==e?void 0:e.data)}))},i={init(){t.useModel.headTabsList.value=[{name:"全部欠费",value:[]},{name:"欠费1个月以内",value:[0,1]},{name:"欠费1-3个月",value:[1,3]},{name:"欠费4-6个月",value:[4,6]},{name:"欠费6-9个月",value:[6,9]},{name:"欠费9个月以上",value:[9,30]}]},getList:u,handleSearch(){t.useModel.formData.value.page=1,t.useModel.dataList.value=[],u()},handleLoad(e){t.useModel.formData.value.page=e,u()},handleListTabsChange(e){var l,a,o;t.useModel.formData.value.page=1,t.useModel.formData.value.overdue_months_range=(null==e?void 0:e.index)?null==(o=null==(a=null==(l=t.useModel)?void 0:l.headTabsList)?void 0:a.value[null==e?void 0:e.index])?void 0:o.value:void 0,t.useModel.dataList.value=[],u(),console.log("e",e)},handleSelect(e){var l;let a=!0,o=t.useModel.dataList.value[e].is_select;t.useModel.dataList.value[e].is_select=!o,null==(l=t.useModel.dataList.value)||l.map((e=>{e.is_select||(a=!1)})),t.useModel.allSelectStatus.value=a},handleAllSelect(){var e,l,a;t.useModel.allSelectStatus.value=!(null==(l=null==(e=t.useModel)?void 0:e.allSelectStatus)?void 0:l.value),null==(a=t.useModel.dataList.value)||a.map((e=>{e.is_select=t.useModel.allSelectStatus.value}))},toInformationTemplate(){var l,a,o;let s=[];null==(o=null==(a=null==(l=t.useModel)?void 0:l.dataList)?void 0:a.value)||o.map((e=>{(null==e?void 0:e.is_select)&&s.push({asset_houses_id:null==e?void 0:e.id,total_unpaid_amount:parseFloat((null==e?void 0:e.total_overdue_amount)||0)})})),(null==s?void 0:s.length)?e.index.navigateTo({url:`/BILL/information_template/index?data=${JSON.stringify(s)}`}):e.index.showToast({title:"请至少选择一个!",icon:"none"})},toDetail(l){e.index.navigateTo({url:`/BILL/outstanding_fee/show/index?id=${null==l?void 0:l.id}`})},toMassSending(){var e;"wxwork"===(null==(e=null==s?void 0:s.data)?void 0:e.environment)?l.shareToExternalContact({externalUserIds:[],page:"/INDEX/bill/list/index",title:"分享给您物业账单",imgUrl:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K5B5RY2TQQAJ1GT2RZSK426V.jpg"}):l.navigateToMiniProgram({path:"/pages/forward/index?source=OutstandingFeeList",envVersion:"develop",extraData:{source:"OutstandingFeeList"}})}};exports.method=i; +"use strict";const e=require("../../../common/vendor.js"),l=require("../../../common/libraries/sendWxWork.js"),a=require("../../../gen/Apis.js"),t=require("./model.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js");const o=require("../../../common/store/useWeAppAuthStore.js");require("../../../common/store/useWorkStore.js");const s=o.useWeAppAuthStore(),u=()=>{var e,l;a.Apis.Bill.HouseBills.HouseList(null==(l=null==(e=t.useModel)?void 0:e.formData)?void 0:l.value).then(e=>{var l;null==(l=null==e?void 0:e.data)||l.map(e=>{e.is_select=t.useModel.allSelectStatus.value}),t.useModel.dataList.value=[...t.useModel.dataList.value,...null==e?void 0:e.data],t.useModel.meta.value=null==e?void 0:e.meta,console.log("登录",null==e?void 0:e.data)})},i={init(){t.useModel.headTabsList.value=[{name:"全部欠费",value:[]},{name:"欠费1个月以内",value:[0,1]},{name:"欠费1-3个月",value:[1,3]},{name:"欠费4-6个月",value:[4,6]},{name:"欠费6-9个月",value:[6,9]},{name:"欠费9个月以上",value:[9,30]}]},getList:u,handleSearch(){t.useModel.formData.value.page=1,t.useModel.dataList.value=[],u()},handleLoad(e){t.useModel.formData.value.page=e,u()},handleListTabsChange(e){var l,a,o;t.useModel.formData.value.page=1,t.useModel.formData.value.overdue_months_range=(null==e?void 0:e.index)?null==(o=null==(a=null==(l=t.useModel)?void 0:l.headTabsList)?void 0:a.value[null==e?void 0:e.index])?void 0:o.value:void 0,t.useModel.dataList.value=[],u(),console.log("e",e)},handleSelect(e){var l;let a=!0,o=t.useModel.dataList.value[e].is_select;t.useModel.dataList.value[e].is_select=!o,null==(l=t.useModel.dataList.value)||l.map(e=>{e.is_select||(a=!1)}),t.useModel.allSelectStatus.value=a},handleAllSelect(){var e,l,a;t.useModel.allSelectStatus.value=!(null==(l=null==(e=t.useModel)?void 0:e.allSelectStatus)?void 0:l.value),null==(a=t.useModel.dataList.value)||a.map(e=>{e.is_select=t.useModel.allSelectStatus.value})},toInformationTemplate(){var l,a,o;let s=[];null==(o=null==(a=null==(l=t.useModel)?void 0:l.dataList)?void 0:a.value)||o.map(e=>{(null==e?void 0:e.is_select)&&s.push({asset_houses_id:null==e?void 0:e.id,total_unpaid_amount:parseFloat((null==e?void 0:e.total_overdue_amount)||0)})}),(null==s?void 0:s.length)?e.index.navigateTo({url:`/BILL/information_template/index?data=${JSON.stringify(s)}`}):e.index.showToast({title:"请至少选择一个!",icon:"none"})},toDetail(l){e.index.navigateTo({url:`/BILL/outstanding_fee/show/index?id=${null==l?void 0:l.id}`})},toMassSending(){var e;"wxwork"===(null==(e=null==s?void 0:s.data)?void 0:e.environment)?l.shareToExternalContact({externalUserIds:[],page:"/INDEX/bill/list/index",title:"分享给您物业账单",imgUrl:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K5B5RY2TQQAJ1GT2RZSK426V.jpg"}):l.navigateToMiniProgram({path:"/pages/forward/index?source=OutstandingFeeList",envVersion:"develop",extraData:{source:"OutstandingFeeList"}})}};exports.method=i; diff --git a/dist/build/mp-weixin/BILL/outstanding_fee/show/components/BillItem.js b/dist/build/mp-weixin/BILL/outstanding_fee/show/components/BillItem.js index 979b2a0..43a0a7c 100644 --- a/dist/build/mp-weixin/BILL/outstanding_fee/show/components/BillItem.js +++ b/dist/build/mp-weixin/BILL/outstanding_fee/show/components/BillItem.js @@ -1 +1 @@ -"use strict";const e=require("../../../../common/vendor.js"),l=require("../../../../gen/Enums.js"),o=require("../model.js"),i=require("../method.js");if(require("../../../../common/libraries/day.js"),require("../../../../common/libraries/request.js"),require("../../../../common/store/useWeAppAuthStore.js"),require("../../../../gen/Apis.js"),require("../../../../common/store/useWatermarkStore.js"),require("../../../../common/store/useWorkStore.js"),require("../../../../common/libraries/apiLoading.js"),require("../../../../common/libraries/naviHelper.js"),require("../../../../common/libraries/sendWxWork.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-enum-tag"))()}Math||((()=>"../../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../../components/hs-enum-tag/hs-enum-tag.js"))();const n=e.defineComponent({__name:"BillItem",props:["item","index"],setup(n){const u=n,s=e.ref(!1),r=()=>{var e,l,n,s,r,d;let t=null==(e=null==u?void 0:u.item)?void 0:e.checked;o.useModel.houseBillsData.value[null==u?void 0:u.index].checked=!t,null==(r=null==(s=null==(n=null==(l=o.useModel)?void 0:l.houseBillsData)?void 0:n.value[null==u?void 0:u.index])?void 0:s.bills)||r.map((e=>{e.checked=!t})),null==(d=i.method)||d.setCalculateTotalPrice()};return(n,d)=>{var t,c,a,m,v;return e.e({a:null==(t=null==u?void 0:u.item)?void 0:t.checked},(null==(c=null==u?void 0:u.item)?void 0:c.checked)?{b:e.p({type:"checkbox-filled",size:"20",color:"#2A7EFB"})}:{c:e.p({type:"circle",size:"20",color:"#888"})},{d:e.t(null==(a=null==u?void 0:u.item)?void 0:a.display_text),e:e.o(r),f:e.t(null==(m=null==u?void 0:u.item)?void 0:m.pending_amount),g:e.p({type:"down",size:"15",color:"#666"}),h:e.o((e=>s.value=!s.value)),i:s.value},s.value?{j:e.f(null==(v=null==u?void 0:u.item)?void 0:v.bills,((n,s,r)=>e.e({a:null==n?void 0:n.checked},(null==n?void 0:n.checked)?{b:"8b74a834-3-"+r,c:e.p({type:"checkbox-filled",size:"20",color:"#2A7EFB"})}:{d:"8b74a834-4-"+r,e:e.p({type:"circle",size:"20",color:"#888"})},{f:"8b74a834-5-"+r,g:e.p({value:null==n?void 0:n.type,Enums:e.unref(l.HouseBillsTypeEnum)}),h:e.o((e=>((e,l)=>{var n,s;let r=null==e?void 0:e.checked;if(o.useModel.houseBillsData.value[null==u?void 0:u.index].bills[l].checked=!r,r)o.useModel.houseBillsData.value[null==u?void 0:u.index].checked=!1;else{let e=null==(n=o.useModel.houseBillsData.value[null==u?void 0:u.index].bills)?void 0:n.every((e=>null==e?void 0:e.checked));o.useModel.houseBillsData.value[null==u?void 0:u.index].checked=e,console.log(e)}null==(s=i.method)||s.setCalculateTotalPrice()})(n,s)),`fid_items_${s}`),i:e.t(null==n?void 0:n.total_payable_amount),j:`fid_items_${s}`})))}:{})}}}),u=e._export_sfc(n,[["__scopeId","data-v-8b74a834"]]);wx.createComponent(u); +"use strict";const e=require("../../../../common/vendor.js"),l=require("../../../../gen/Enums.js"),o=require("../model.js"),i=require("../method.js");if(require("../../../../common/libraries/day.js"),require("../../../../common/libraries/request.js"),require("../../../../common/store/useWeAppAuthStore.js"),require("../../../../gen/Apis.js"),require("../../../../common/store/useWatermarkStore.js"),require("../../../../common/store/useWorkStore.js"),require("../../../../common/libraries/apiLoading.js"),require("../../../../common/libraries/naviHelper.js"),require("../../../../common/libraries/sendWxWork.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-enum-tag"))()}Math||((()=>"../../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../../components/hs-enum-tag/hs-enum-tag.js"))();const n=e.defineComponent({__name:"BillItem",props:["item","index"],setup(n){const u=n,s=e.ref(!1),r=()=>{var e,l,n,s,r,d;let t=null==(e=null==u?void 0:u.item)?void 0:e.checked;o.useModel.houseBillsData.value[null==u?void 0:u.index].checked=!t,null==(r=null==(s=null==(n=null==(l=o.useModel)?void 0:l.houseBillsData)?void 0:n.value[null==u?void 0:u.index])?void 0:s.bills)||r.map(e=>{e.checked=!t}),null==(d=i.method)||d.setCalculateTotalPrice()};return(n,d)=>{var t,c,a,m,v;return e.e({a:null==(t=null==u?void 0:u.item)?void 0:t.checked},(null==(c=null==u?void 0:u.item)?void 0:c.checked)?{b:e.p({type:"checkbox-filled",size:"20",color:"#2A7EFB"})}:{c:e.p({type:"circle",size:"20",color:"#888"})},{d:e.t(null==(a=null==u?void 0:u.item)?void 0:a.display_text),e:e.o(r),f:e.t(null==(m=null==u?void 0:u.item)?void 0:m.pending_amount),g:e.p({type:"down",size:"15",color:"#666"}),h:e.o(e=>s.value=!s.value),i:s.value},s.value?{j:e.f(null==(v=null==u?void 0:u.item)?void 0:v.bills,(n,s,r)=>e.e({a:null==n?void 0:n.checked},(null==n?void 0:n.checked)?{b:"8b74a834-3-"+r,c:e.p({type:"checkbox-filled",size:"20",color:"#2A7EFB"})}:{d:"8b74a834-4-"+r,e:e.p({type:"circle",size:"20",color:"#888"})},{f:"8b74a834-5-"+r,g:e.p({value:null==n?void 0:n.type,Enums:e.unref(l.HouseBillsTypeEnum)}),h:e.o(e=>((e,l)=>{var n,s;let r=null==e?void 0:e.checked;if(o.useModel.houseBillsData.value[null==u?void 0:u.index].bills[l].checked=!r,r)o.useModel.houseBillsData.value[null==u?void 0:u.index].checked=!1;else{let e=null==(n=o.useModel.houseBillsData.value[null==u?void 0:u.index].bills)?void 0:n.every(e=>null==e?void 0:e.checked);o.useModel.houseBillsData.value[null==u?void 0:u.index].checked=e,console.log(e)}null==(s=i.method)||s.setCalculateTotalPrice()})(n,s),`fid_items_${s}`),i:e.t(null==n?void 0:n.total_payable_amount),j:`fid_items_${s}`}))}:{})}}}),u=e._export_sfc(n,[["__scopeId","data-v-8b74a834"]]);wx.createComponent(u); diff --git a/dist/build/mp-weixin/BILL/outstanding_fee/show/components/BillRecord.js b/dist/build/mp-weixin/BILL/outstanding_fee/show/components/BillRecord.js index e052b50..3417d5c 100644 --- a/dist/build/mp-weixin/BILL/outstanding_fee/show/components/BillRecord.js +++ b/dist/build/mp-weixin/BILL/outstanding_fee/show/components/BillRecord.js @@ -1 +1 @@ -"use strict";const e=require("../../../../common/vendor.js"),o=require("../model.js");if(require("../../../../common/libraries/day.js"),!Array){e.resolveComponent("up-icon")()}Math;const n=e.defineComponent({__name:"BillRecord",setup(n){const r=n=>{var r,a,l,i,t,d;e.index.navigateTo({url:`${n}?asset_houses_id=${null==(l=null==(a=null==(r=o.useModel)?void 0:r.formData)?void 0:a.value)?void 0:l.asset_houses_id}&total_pending_amount=${null==(d=null==(t=null==(i=o.useModel)?void 0:i.showData)?void 0:t.value)?void 0:d.total_pending_amount}`})};return(o,n)=>({a:e.p({name:"clock",size:"18",color:"#666"}),b:e.o((e=>r("/BILL/record/urge_payment/index"))),c:e.p({name:"rmb-circle",size:"18",color:"#666"}),d:e.o((e=>r("/BILL/record/payment/index")))})}}),r=e._export_sfc(n,[["__scopeId","data-v-c5a6e4d1"]]);wx.createComponent(r); +"use strict";const e=require("../../../../common/vendor.js"),o=require("../model.js");if(require("../../../../common/libraries/day.js"),!Array){e.resolveComponent("up-icon")()}Math;const n=e.defineComponent({__name:"BillRecord",setup(n){const r=n=>{var r,a,l,i,t,d;e.index.navigateTo({url:`${n}?asset_houses_id=${null==(l=null==(a=null==(r=o.useModel)?void 0:r.formData)?void 0:a.value)?void 0:l.asset_houses_id}&total_pending_amount=${null==(d=null==(t=null==(i=o.useModel)?void 0:i.showData)?void 0:t.value)?void 0:d.total_pending_amount}`})};return(o,n)=>({a:e.p({name:"clock",size:"18",color:"#666"}),b:e.o(e=>r("/BILL/record/urge_payment/index")),c:e.p({name:"rmb-circle",size:"18",color:"#666"}),d:e.o(e=>r("/BILL/record/payment/index"))})}}),r=e._export_sfc(n,[["__scopeId","data-v-c5a6e4d1"]]);wx.createComponent(r); diff --git a/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.js b/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.js index b1eaccd..eb94a5b 100644 --- a/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.js +++ b/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.js @@ -1 +1 @@ -"use strict";const e=require("../../../../common/vendor.js"),r=require("../method.js"),o=require("../model.js");if(require("../../../../common/libraries/request.js"),require("../../../../common/store/useWeAppAuthStore.js"),require("../../../../gen/Apis.js"),require("../../../../common/store/useWatermarkStore.js"),require("../../../../common/store/useWorkStore.js"),require("../../../../common/libraries/apiLoading.js"),require("../../../../common/libraries/naviHelper.js"),require("../../../../common/libraries/sendWxWork.js"),require("../../../../common/libraries/day.js"),!Array){e.resolveComponent("hs-button")()}Math;const l=e.defineComponent({__name:"PageFooter",setup:l=>(l,u)=>{var n,s,t,a,i,d,m,v,p,c;return e.e({a:e.unref(o.useModel).tabsCurrent.value<1},e.unref(o.useModel).tabsCurrent.value<1?e.e({b:0===e.unref(o.useModel).tabsCurrent.value},0===e.unref(o.useModel).tabsCurrent.value?e.e({c:null==(t=null==(s=null==(n=e.unref(o.useModel))?void 0:n.houseBillsData)?void 0:s.value)?void 0:t.length},(null==(d=null==(i=null==(a=e.unref(o.useModel))?void 0:a.houseBillsData)?void 0:i.value)?void 0:d.length)?{d:e.t((null==(v=null==(m=e.unref(o.useModel))?void 0:m.total_amount)?void 0:v.value)||"0.00"),e:e.o(null==(p=e.unref(r.method))?void 0:p.handleQRCode),f:e.p({label:"二维码收款",size:"md",type:"ghost"}),g:e.o(null==(c=e.unref(r.method))?void 0:c.handleSelectExternalContact),h:e.p({type:"primary",size:"md",label:"分享账单"})}:{i:e.p({label:"分享托收",size:"md",type:"ghost"}),j:e.p({type:"primary",size:"md",label:"分享预缴"})}):{}):{})}}),u=e._export_sfc(l,[["__scopeId","data-v-5db077a5"]]);wx.createComponent(u); +"use strict";const e=require("../../../../common/vendor.js"),r=require("../method.js"),o=require("../model.js");if(require("../../../../common/libraries/request.js"),require("../../../../common/store/useWeAppAuthStore.js"),require("../../../../gen/Apis.js"),require("../../../../common/store/useWatermarkStore.js"),require("../../../../common/store/useWorkStore.js"),require("../../../../common/libraries/apiLoading.js"),require("../../../../common/libraries/naviHelper.js"),require("../../../../common/libraries/sendWxWork.js"),require("../../../../common/libraries/day.js"),!Array){e.resolveComponent("hs-button")()}Math;const u=e.defineComponent({__name:"PageFooter",setup:u=>(u,l)=>{var n,s,t,a,i,d,m,v,c,p;return e.e({a:e.unref(o.useModel).tabsCurrent.value<1},e.unref(o.useModel).tabsCurrent.value<1?e.e({b:0===e.unref(o.useModel).tabsCurrent.value},0===e.unref(o.useModel).tabsCurrent.value?e.e({c:null==(t=null==(s=null==(n=e.unref(o.useModel))?void 0:n.houseBillsData)?void 0:s.value)?void 0:t.length},(null==(d=null==(i=null==(a=e.unref(o.useModel))?void 0:a.houseBillsData)?void 0:i.value)?void 0:d.length)?{d:e.t((null==(v=null==(m=e.unref(o.useModel))?void 0:m.total_amount)?void 0:v.value)||"0.00"),e:e.o(null==(c=e.unref(r.method))?void 0:c.handleQRCode),f:e.p({label:"二维码收款",size:"md",type:"ghost"}),g:e.o(null==(p=e.unref(r.method))?void 0:p.handleSelectExternalContact),h:e.p({type:"primary",size:"md",label:"分享账单"})}:{}):{}):{})}}),l=e._export_sfc(u,[["__scopeId","data-v-53df0bda"]]);wx.createComponent(l); diff --git a/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.wxml b/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.wxml index 7db4e2f..76f54d5 100644 --- a/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.wxml +++ b/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.wxml @@ -1 +1 @@ - 您已选待缴金额: ¥{{d}} \ No newline at end of file + 您已选待缴金额: ¥{{d}} \ No newline at end of file diff --git a/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.wxss b/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.wxss index e60b747..a2536c5 100644 --- a/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.wxss +++ b/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.wxss @@ -1 +1 @@ -.footer_view.data-v-5db077a5{position:fixed;bottom:0;left:0;right:0;background-color:#fff;z-index:100;padding-bottom:calc(15rpx + constant(safe-area-inset-bottom));padding-bottom:calc(15rpx + env(safe-area-inset-bottom))}.footer_view .select_fee.data-v-5db077a5{display:flex;align-items:center;justify-content:space-between;background-color:#edf6ff;padding:25rpx 30rpx;font-size:28rpx}.footer_view .select_fee .label.data-v-5db077a5{color:#555}.footer_view .select_fee .fee.data-v-5db077a5{color:#df3600;font-size:33rpx;font-weight:550}.footer_view .btn_group.data-v-5db077a5{display:flex;align-items:center;justify-content:space-between;padding:20rpx 30rpx 0}.footer_view .btn_group_left.data-v-5db077a5,.footer_view .btn_group_right.data-v-5db077a5{width:48%}.footer_view .new_add_collection_fee.data-v-5db077a5{padding:20rpx 30rpx 0} +.footer_view.data-v-53df0bda{position:fixed;bottom:0;left:0;right:0;background-color:#fff;z-index:100;padding-bottom:calc(15rpx + constant(safe-area-inset-bottom));padding-bottom:calc(15rpx + env(safe-area-inset-bottom))}.footer_view .select_fee.data-v-53df0bda{display:flex;align-items:center;justify-content:space-between;background-color:#edf6ff;padding:25rpx 30rpx;font-size:28rpx}.footer_view .select_fee .label.data-v-53df0bda{color:#555}.footer_view .select_fee .fee.data-v-53df0bda{color:#df3600;font-size:33rpx;font-weight:550}.footer_view .btn_group.data-v-53df0bda{display:flex;align-items:center;justify-content:space-between;padding:20rpx 30rpx 0}.footer_view .btn_group_left.data-v-53df0bda,.footer_view .btn_group_right.data-v-53df0bda{width:48%}.footer_view .new_add_collection_fee.data-v-53df0bda{padding:20rpx 30rpx 0} diff --git a/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.js b/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.js index 4299545..bc0d6d1 100644 --- a/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.js +++ b/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.js @@ -1 +1 @@ -"use strict";const e=require("../../../../common/vendor.js"),n=require("../../../../gen/Enums.js"),o=require("../model.js");if(require("../../../../common/libraries/day.js"),!Array){(e.resolveComponent("hs-enum-tag")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const l=e.defineComponent({__name:"PersonnelList",setup:l=>(l,i)=>({a:e.f(e.unref(o.useModel).listData.value,((o,i,t)=>{var s,u;return e.e({a:null==(s=null==o?void 0:o.list)?void 0:s.length},(null==(u=null==o?void 0:o.list)?void 0:u.length)?{b:e.t(null==o?void 0:o.label),c:e.f(null==o?void 0:o.list,((o,i,s)=>e.e({a:e.t(null==o?void 0:o.name),b:e.t(null==o?void 0:o.phone),c:"Owner"===(null==o?void 0:o.house_relation)},"Owner"===(null==o?void 0:o.house_relation)?{}:{d:"9e55057e-0-"+t+"-"+s,e:e.p({Enums:e.unref(n.HouseOccupantsResidentialRelationEnum),value:null==o?void 0:o.residential_relation})},{f:"9e55057e-1-"+t+"-"+s,g:e.o((e=>{var n;return null==(n=l.method)?void 0:n.handleSetContact(o)}),`personnel_${i}`),h:e.o((n=>{var l;(l=null==o?void 0:o.phone)&&e.index.makePhoneCall({phoneNumber:l})}),`personnel_${i}`),i:e.o((n=>{return l=null==o?void 0:o.phone,void e.index.setClipboardData({data:l,success(n){setTimeout((()=>{e.index.qy.navigateToAddCustomer({success:function(){}})}),1e3)}});var l}),`personnel_${i}`),j:e.o((n=>{return l=null==o?void 0:o.id,void e.index.navigateTo({url:`/CUSTOMER/show/index?id=${l}`});var l}),`personnel_${i}`),k:`personnel_${i}`}))),d:e.p({type:"star-filled",size:"20",color:(null==o?void 0:o.is_contact)?"#FFD666":"#DCDFE6"}),e:e.t((null==o?void 0:o.is_contact)?"常用联系人":"设为常用")}:{},{f:`item_${i}`})}))})}),i=e._export_sfc(l,[["__scopeId","data-v-9e55057e"]]);wx.createComponent(i); +"use strict";const e=require("../../../../common/vendor.js"),n=require("../../../../gen/Enums.js"),o=require("../method.js"),r=require("../model.js");if(require("../../../../common/libraries/request.js"),require("../../../../common/store/useWeAppAuthStore.js"),require("../../../../gen/Apis.js"),require("../../../../common/store/useWatermarkStore.js"),require("../../../../common/store/useWorkStore.js"),require("../../../../common/libraries/apiLoading.js"),require("../../../../common/libraries/naviHelper.js"),require("../../../../common/libraries/sendWxWork.js"),require("../../../../common/libraries/day.js"),!Array){(e.resolveComponent("hs-enum-tag")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const i=e.defineComponent({__name:"PersonnelList",setup:i=>(i,s)=>({a:e.f(e.unref(r.useModel).listData.value,(r,i,s)=>{var l,t;return e.e({a:null==(l=null==r?void 0:r.list)?void 0:l.length},(null==(t=null==r?void 0:r.list)?void 0:t.length)?{b:e.t(null==r?void 0:r.label),c:e.f(null==r?void 0:r.list,(r,i,l)=>e.e({a:e.t(null==r?void 0:r.name),b:e.t(null==r?void 0:r.phone),c:"Owner"===(null==r?void 0:r.house_relation)},"Owner"===(null==r?void 0:r.house_relation)?{}:{d:"9eb1f75a-0-"+s+"-"+l,e:e.p({Enums:e.unref(n.HouseOccupantsResidentialRelationEnum),value:null==r?void 0:r.residential_relation})},{f:"9eb1f75a-1-"+s+"-"+l,g:e.p({type:"star-filled",size:"20",color:(null==r?void 0:r.is_contact)?"#FFD666":"#DCDFE6"}),h:e.t((null==r?void 0:r.is_contact)?"常用联系人":"设为常用"),i:e.o(n=>{var i;return null==(i=e.unref(o.method))?void 0:i.handleSetContact(r)},`personnel_${i}`),j:e.o(n=>{var o;(o=null==r?void 0:r.phone)&&e.index.makePhoneCall({phoneNumber:o})},`personnel_${i}`),k:e.o(n=>{return o=null==r?void 0:r.phone,void e.index.setClipboardData({data:o,success(n){setTimeout(()=>{e.index.qy.navigateToAddCustomer({success:function(){}})},1e3)}});var o},`personnel_${i}`),l:e.o(n=>{return o=null==r?void 0:r.id,void e.index.navigateTo({url:`/CUSTOMER/show/index?id=${o}`});var o},`personnel_${i}`),m:`personnel_${i}`}))}:{},{d:`item_${i}`})})})}),s=e._export_sfc(i,[["__scopeId","data-v-9eb1f75a"]]);wx.createComponent(s); diff --git a/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxml b/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxml index d659a63..066e277 100644 --- a/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxml +++ b/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxml @@ -1 +1 @@ -{{i.b}}{{j.a}}{{j.b}} 产权人 {{i.e}} 拨打电话 +微信 查看详情 \ No newline at end of file +{{i.b}}{{j.a}}{{j.b}} 产权人 {{j.h}} 拨打电话 +微信 查看详情 \ No newline at end of file diff --git a/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxss b/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxss index 0371d56..d1e3120 100644 --- a/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxss +++ b/dist/build/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxss @@ -1 +1 @@ -.personnel_list.data-v-9e55057e{padding:0 30rpx}.personnel_list .title.data-v-9e55057e{font-size:28rpx;font-weight:500;color:#333;padding:30rpx 0}.personnel_list .personnel_item.data-v-9e55057e{background-color:#f9fafb;border-radius:20rpx}.personnel_list .personnel_item .personnel_item_type.data-v-9e55057e{color:#606266;font-size:24rpx;border:1px solid #c3c3c3;border-radius:100rpx;padding:5rpx 22rpx;background-color:#fff;display:inline-block;margin-top:5rpx}.personnel_list .personnel_item_header.data-v-9e55057e{display:flex;align-items:center;justify-content:space-between;padding:30rpx 30rpx 20rpx}.personnel_list .personnel_item_header_left.data-v-9e55057e{color:#3d3d3d;font-size:28rpx;font-weight:500;flex:1}.personnel_list .personnel_item_header_left text.data-v-9e55057e{font-weight:400;padding-left:6rpx}.personnel_list .personnel_item_header_right.data-v-9e55057e{font-size:24rpx;text-align:center;color:#b1b3b8}.personnel_list .personnel_item_header_right .label.data-v-9e55057e{padding-top:7rpx}.personnel_list .personnel_item_footer.data-v-9e55057e{display:flex;align-items:center;justify-content:space-between;text-align:center;padding:20rpx 0;border-top:1rpx solid #ededed}.personnel_list .personnel_item_footer .btn.data-v-9e55057e{flex:1;color:#333;font-size:28rpx;padding:10rpx 0}.personnel_list .personnel_item_footer .btn.data-v-9e55057e:first-child{color:#0082fa}.personnel_list .personnel_item_footer .btn.data-v-9e55057e:nth-child(2){border-left:1rpx solid #ededed;border-right:1rpx solid #ededed} +.personnel_list.data-v-9eb1f75a{padding:0 30rpx}.personnel_list .title.data-v-9eb1f75a{font-size:28rpx;font-weight:500;color:#333;padding:30rpx 0 0}.personnel_list .personnel_item.data-v-9eb1f75a{background-color:#f9fafb;border-radius:20rpx;margin-top:30rpx}.personnel_list .personnel_item .personnel_item_type.data-v-9eb1f75a{color:#606266;font-size:24rpx;border:1px solid #c3c3c3;border-radius:100rpx;padding:5rpx 22rpx;background-color:#fff;display:inline-block;margin-top:5rpx}.personnel_list .personnel_item_header.data-v-9eb1f75a{display:flex;align-items:center;justify-content:space-between;padding:30rpx 30rpx 20rpx}.personnel_list .personnel_item_header_left.data-v-9eb1f75a{color:#3d3d3d;font-size:28rpx;font-weight:500;flex:1}.personnel_list .personnel_item_header_left text.data-v-9eb1f75a{font-weight:400;padding-left:6rpx}.personnel_list .personnel_item_header_right.data-v-9eb1f75a{font-size:24rpx;text-align:center;color:#b1b3b8}.personnel_list .personnel_item_header_right .label.data-v-9eb1f75a{padding-top:7rpx}.personnel_list .personnel_item_footer.data-v-9eb1f75a{display:flex;align-items:center;justify-content:space-between;text-align:center;padding:20rpx 0;border-top:1rpx solid #ededed}.personnel_list .personnel_item_footer .btn.data-v-9eb1f75a{flex:1;color:#333;font-size:28rpx;padding:10rpx 0}.personnel_list .personnel_item_footer .btn.data-v-9eb1f75a:first-child{color:#0082fa}.personnel_list .personnel_item_footer .btn.data-v-9eb1f75a:nth-child(2){border-left:1rpx solid #ededed;border-right:1rpx solid #ededed} diff --git a/dist/build/mp-weixin/BILL/outstanding_fee/show/components/WorkOrderList.js b/dist/build/mp-weixin/BILL/outstanding_fee/show/components/WorkOrderList.js index 5432c82..d7f866b 100644 --- a/dist/build/mp-weixin/BILL/outstanding_fee/show/components/WorkOrderList.js +++ b/dist/build/mp-weixin/BILL/outstanding_fee/show/components/WorkOrderList.js @@ -1 +1 @@ -"use strict";const e=require("../../../../common/vendor.js"),o=require("../../../../gen/Enums.js"),l=require("../model.js"),n=require("../../../../common/libraries/day.js"),u=require("../method.js");if(require("../../../../common/libraries/request.js"),require("../../../../common/store/useWeAppAuthStore.js"),require("../../../../gen/Apis.js"),require("../../../../common/store/useWatermarkStore.js"),require("../../../../common/store/useWorkStore.js"),require("../../../../common/libraries/apiLoading.js"),require("../../../../common/libraries/naviHelper.js"),require("../../../../common/libraries/sendWxWork.js"),!Array){(e.resolveComponent("hs-enum-tag")+e.resolveComponent("hs-level")+e.resolveComponent("up-icon"))()}Math||((()=>"../../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../../components/hs-level/hs-level.js")+(()=>"../../../../node-modules/uview-plus/components/u-icon/u-icon.js"))();const t=e.defineComponent({__name:"WorkOrderList",setup(t){let s=[{label:"全部",value:void 0},{label:"待处理",value:"Pending"},{label:"处理中",value:"Processing"},{label:"已完成",value:"Completed"}];return(t,r)=>{var i,a;return{a:e.f(e.unref(s),((o,n,t)=>{var s,r,i;return{a:e.t(null==o?void 0:o.label),b:`tab_${n}`,c:e.n("items "+((null==(i=null==(r=null==(s=e.unref(l.useModel))?void 0:s.formData)?void 0:r.value)?void 0:i.status)===(null==o?void 0:o.value)?"active":"")),d:e.o((e=>(e=>{var o;l.useModel.formData.value.status=null==e?void 0:e.value,l.useModel.listData.value=[],null==(o=u.method)||o.loadMore(1)})(o)),`tab_${n}`)}})),b:e.f(null==(a=null==(i=e.unref(l.useModel))?void 0:i.listData)?void 0:a.value,((l,u,t)=>{var s,r,i,a,d;return e.e({a:"08c86bd8-0-"+t,b:e.p({value:null==l?void 0:l.type,Enums:e.unref(o.HouseWorkOrdersTypeEnum)}),c:"08c86bd8-1-"+t,d:e.p({level:null==l?void 0:l.level}),e:"08c86bd8-2-"+t,f:e.p({value:null==l?void 0:l.status,Enums:e.unref(o.HouseWorkOrdersStatusEnum)}),g:e.n(`btn_status status_${null==l?void 0:l.status}`),h:e.t(null==(s=null==l?void 0:l.asset_house)?void 0:s.full_name),i:e.t(null==l?void 0:l.content),j:e.f(null==l?void 0:l.attachments,((e,o,l)=>({a:null==e?void 0:e.url,b:`img_${o}`}))),k:"Pending"===(null==l?void 0:l.status)},"Pending"===(null==l?void 0:l.status)?{l:"08c86bd8-3-"+t,m:e.p({name:"clock",color:(null==(r=e.unref(n.getTimeStatus)(null==l?void 0:l.expect_end_time))?void 0:r.color)||"#000",size:"14"}),n:e.t(null==(i=e.unref(n.getTimeStatus)(null==l?void 0:l.expect_end_time))?void 0:i.label),o:e.n(`todo_done_card_footer status_${null==(a=e.unref(n.getTimeStatus)(null==l?void 0:l.expect_end_time))?void 0:a.status}`)}:{},{p:e.t(null==l?void 0:l.created_at),q:`items_${u}`,r:e.o((o=>{return n=l,void e.index.navigateTo({url:`/WORKORDER/show/index?id=${null==n?void 0:n.id}`});var n}),`items_${u}`),s:e.n("todo_done_card "+("Pending"===(null==l?void 0:l.status)?`card_status_${null==(d=e.unref(n.getTimeStatus)(null==l?void 0:l.expect_end_time))?void 0:d.status}`:""))})}))}}}}),s=e._export_sfc(t,[["__scopeId","data-v-08c86bd8"]]);wx.createComponent(s); +"use strict";const e=require("../../../../common/vendor.js"),o=require("../../../../gen/Enums.js"),l=require("../model.js"),n=require("../../../../common/libraries/day.js"),u=require("../method.js");if(require("../../../../common/libraries/request.js"),require("../../../../common/store/useWeAppAuthStore.js"),require("../../../../gen/Apis.js"),require("../../../../common/store/useWatermarkStore.js"),require("../../../../common/store/useWorkStore.js"),require("../../../../common/libraries/apiLoading.js"),require("../../../../common/libraries/naviHelper.js"),require("../../../../common/libraries/sendWxWork.js"),!Array){(e.resolveComponent("hs-enum-tag")+e.resolveComponent("hs-level")+e.resolveComponent("up-icon"))()}Math||((()=>"../../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../../components/hs-level/hs-level.js")+(()=>"../../../../node-modules/uview-plus/components/u-icon/u-icon.js"))();const t=e.defineComponent({__name:"WorkOrderList",setup(t){let s=[{label:"全部",value:void 0},{label:"待处理",value:"Pending"},{label:"处理中",value:"Processing"},{label:"已完成",value:"Completed"}];return(t,r)=>{var i,a;return{a:e.f(e.unref(s),(o,n,t)=>{var s,r,i;return{a:e.t(null==o?void 0:o.label),b:`tab_${n}`,c:e.n("items "+((null==(i=null==(r=null==(s=e.unref(l.useModel))?void 0:s.formData)?void 0:r.value)?void 0:i.status)===(null==o?void 0:o.value)?"active":"")),d:e.o(e=>(e=>{var o;l.useModel.formData.value.status=null==e?void 0:e.value,l.useModel.listData.value=[],null==(o=u.method)||o.loadMore(1)})(o),`tab_${n}`)}}),b:e.f(null==(a=null==(i=e.unref(l.useModel))?void 0:i.listData)?void 0:a.value,(l,u,t)=>{var s,r,i,a,d;return e.e({a:"08c86bd8-0-"+t,b:e.p({value:null==l?void 0:l.type,Enums:e.unref(o.HouseWorkOrdersTypeEnum)}),c:"08c86bd8-1-"+t,d:e.p({level:null==l?void 0:l.level}),e:"08c86bd8-2-"+t,f:e.p({value:null==l?void 0:l.status,Enums:e.unref(o.HouseWorkOrdersStatusEnum)}),g:e.n(`btn_status status_${null==l?void 0:l.status}`),h:e.t(null==(s=null==l?void 0:l.asset_house)?void 0:s.full_name),i:e.t(null==l?void 0:l.content),j:e.f(null==l?void 0:l.attachments,(e,o,l)=>({a:null==e?void 0:e.url,b:`img_${o}`})),k:"Pending"===(null==l?void 0:l.status)},"Pending"===(null==l?void 0:l.status)?{l:"08c86bd8-3-"+t,m:e.p({name:"clock",color:(null==(r=e.unref(n.getTimeStatus)(null==l?void 0:l.expect_end_time))?void 0:r.color)||"#000",size:"14"}),n:e.t(null==(i=e.unref(n.getTimeStatus)(null==l?void 0:l.expect_end_time))?void 0:i.label),o:e.n(`todo_done_card_footer status_${null==(a=e.unref(n.getTimeStatus)(null==l?void 0:l.expect_end_time))?void 0:a.status}`)}:{},{p:e.t(null==l?void 0:l.created_at),q:`items_${u}`,r:e.o(o=>{return n=l,void e.index.navigateTo({url:`/WORKORDER/show/index?id=${null==n?void 0:n.id}`});var n},`items_${u}`),s:e.n("todo_done_card "+("Pending"===(null==l?void 0:l.status)?`card_status_${null==(d=e.unref(n.getTimeStatus)(null==l?void 0:l.expect_end_time))?void 0:d.status}`:""))})})}}}}),s=e._export_sfc(t,[["__scopeId","data-v-08c86bd8"]]);wx.createComponent(s); diff --git a/dist/build/mp-weixin/BILL/outstanding_fee/show/index.js b/dist/build/mp-weixin/BILL/outstanding_fee/show/index.js index 52352d6..be4848c 100644 --- a/dist/build/mp-weixin/BILL/outstanding_fee/show/index.js +++ b/dist/build/mp-weixin/BILL/outstanding_fee/show/index.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),l=require("./method.js");if(require("../../../common/libraries/day.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../gen/Apis.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/apiLoading.js"),require("../../../common/libraries/naviHelper.js"),require("../../../common/libraries/sendWxWork.js"),!Array){(e.resolveComponent("hs-tabs")+e.resolveComponent("cc-scroll-loading"))()}Math||(s+(()=>"../../../components/hs-tabs/hs-tabs.js")+a+n+u+t+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js")+r)();const n=()=>"./components/BillItem.js",s=()=>"./components/PageHeader.js",r=()=>"./components/PageFooter.js",a=()=>"./components/BillRecord.js",u=()=>"./components/WorkOrderList.js",t=()=>"./components/PersonnelList.js",i=e.defineComponent({__name:"index",setup(n){const s=[{label:"房屋账单"},{label:"房屋工单"},{label:"房屋人员"}];return e.onShow((async()=>{var n,s,r,a,u;await(null==(n=e.getCurrentInstance())?void 0:n.appContext.config.globalProperties.$onLaunched),(null==(a=null==(r=null==(s=o.useModel)?void 0:s.showData)?void 0:r.value)?void 0:a.id)&&(o.useModel.houseBillsData.value=[],o.useModel.collectionList.value=[],null==(u=l.method)||u.handleTabsChange(o.useModel.tabsCurrent.value))})),e.onUnload((()=>{o.useModel.showData.value=void 0,o.useModel.houseBillsData.value=[],o.useModel.collectionList.value=[],o.useModel.total_amount.value=0})),e.onLoad((async n=>{var s,r,a;o.useModel.tabsCurrent.value=0,await(null==(s=e.getCurrentInstance())?void 0:s.appContext.config.globalProperties.$onLaunched),o.useModel.formData.value.asset_houses_id=null==n?void 0:n.id,null==(r=l.method)||r.getShow(null==n?void 0:n.id),null==(a=l.method)||a.getHouseBills(1)})),(n,r)=>{var a,u,t,i,d,c;return e.e({a:e.o(null==(a=e.unref(l.method))?void 0:a.handleTabsChange),b:e.p({list:s,current:e.unref(o.useModel).tabsCurrent.value}),c:0===e.unref(o.useModel).tabsCurrent.value},0===e.unref(o.useModel).tabsCurrent.value?{d:e.f(null==(t=null==(u=e.unref(o.useModel))?void 0:u.houseBillsData)?void 0:t.value,((o,l,n)=>({a:`items_${l}`,b:"e72aaab2-4-"+n+",e72aaab2-2",c:e.p({item:o,index:l})})))}:{},{e:1===e.unref(o.useModel).tabsCurrent.value},(e.unref(o.useModel).tabsCurrent.value,{}),{f:2===e.unref(o.useModel).tabsCurrent.value},(e.unref(o.useModel).tabsCurrent.value,{}),{g:e.o(null==(i=e.unref(l.method))?void 0:i.loadMore),h:e.p({meta:null==(c=null==(d=e.unref(o.useModel))?void 0:d.metaData)?void 0:c.value}),i:e.n(`show_container_${e.unref(o.useModel).tabsCurrent.value}`)})}}});wx.createPage(i); +"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),l=require("./method.js");if(require("../../../common/libraries/day.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../gen/Apis.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/apiLoading.js"),require("../../../common/libraries/naviHelper.js"),require("../../../common/libraries/sendWxWork.js"),!Array){(e.resolveComponent("hs-tabs")+e.resolveComponent("cc-scroll-loading"))()}Math||(s+(()=>"../../../components/hs-tabs/hs-tabs.js")+a+n+u+t+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js")+r)();const n=()=>"./components/BillItem.js",s=()=>"./components/PageHeader.js",r=()=>"./components/PageFooter.js",a=()=>"./components/BillRecord.js",u=()=>"./components/WorkOrderList.js",t=()=>"./components/PersonnelList.js",i=e.defineComponent({__name:"index",setup(n){const s=[{label:"房屋账单"},{label:"房屋工单"},{label:"房屋人员"}];return e.onShow(async()=>{var n,s,r,a,u;await(null==(n=e.getCurrentInstance())?void 0:n.appContext.config.globalProperties.$onLaunched),(null==(a=null==(r=null==(s=o.useModel)?void 0:s.showData)?void 0:r.value)?void 0:a.id)&&(o.useModel.houseBillsData.value=[],o.useModel.collectionList.value=[],null==(u=l.method)||u.handleTabsChange(o.useModel.tabsCurrent.value))}),e.onUnload(()=>{o.useModel.showData.value=void 0,o.useModel.houseBillsData.value=[],o.useModel.collectionList.value=[],o.useModel.total_amount.value=0}),e.onLoad(async n=>{var s,r,a;o.useModel.tabsCurrent.value=0,await(null==(s=e.getCurrentInstance())?void 0:s.appContext.config.globalProperties.$onLaunched),o.useModel.formData.value.asset_houses_id=null==n?void 0:n.id,null==(r=l.method)||r.getShow(null==n?void 0:n.id),null==(a=l.method)||a.getHouseBills(1)}),(n,r)=>{var a,u,t,i,d,c;return e.e({a:e.o(null==(a=e.unref(l.method))?void 0:a.handleTabsChange),b:e.p({list:s,current:e.unref(o.useModel).tabsCurrent.value}),c:0===e.unref(o.useModel).tabsCurrent.value},0===e.unref(o.useModel).tabsCurrent.value?{d:e.f(null==(t=null==(u=e.unref(o.useModel))?void 0:u.houseBillsData)?void 0:t.value,(o,l,n)=>({a:`items_${l}`,b:"e72aaab2-4-"+n+",e72aaab2-2",c:e.p({item:o,index:l})}))}:{},{e:1===e.unref(o.useModel).tabsCurrent.value},(e.unref(o.useModel).tabsCurrent.value,{}),{f:2===e.unref(o.useModel).tabsCurrent.value},(e.unref(o.useModel).tabsCurrent.value,{}),{g:e.o(null==(i=e.unref(l.method))?void 0:i.loadMore),h:e.p({meta:null==(c=null==(d=e.unref(o.useModel))?void 0:d.metaData)?void 0:c.value}),i:e.n(`show_container_${e.unref(o.useModel).tabsCurrent.value}`)})}}});wx.createPage(i); diff --git a/dist/build/mp-weixin/BILL/outstanding_fee/show/method.js b/dist/build/mp-weixin/BILL/outstanding_fee/show/method.js index 4361fdc..69c1e07 100644 --- a/dist/build/mp-weixin/BILL/outstanding_fee/show/method.js +++ b/dist/build/mp-weixin/BILL/outstanding_fee/show/method.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js");const l=require("../../../common/store/useWeAppAuthStore.js");require("../../../common/store/useWorkStore.js");const a=require("../../../common/libraries/apiLoading.js"),o=require("../../../common/libraries/naviHelper.js"),u=require("../../../common/libraries/sendWxWork.js"),t=require("../../../gen/Apis.js"),i=require("./model.js"),n=l.useWeAppAuthStore(),s=()=>{var e,l,a;let o=0;null==(a=null==(l=null==(e=i.useModel)?void 0:e.houseBillsData)?void 0:l.value)||a.map((e=>{var l;null==(l=null==e?void 0:e.bills)||l.map((e=>{(null==e?void 0:e.checked)&&(o+=parseFloat(e.amount||0))}))})),i.useModel.total_amount.value=parseFloat(null==o?void 0:o.toFixed(2))},d=e=>{var l,o;a.getApiLoading(t.Apis.Bill.HouseBills.List,{...null==(o=null==(l=i.useModel)?void 0:l.formData)?void 0:o.value,type:e}).then((e=>{var l;console.log(null==e?void 0:e.data,"res"),null==(l=null==e?void 0:e.data)||l.map((e=>{var l;e.checked=!0,null==(l=null==e?void 0:e.bills)||l.map((e=>{e.checked=!0}))})),i.useModel.houseBillsData.value=[...i.useModel.houseBillsData.value,...null==e?void 0:e.data],i.useModel.metaData.value=null==e?void 0:e.meta,s()}))},r=()=>{var e,l;a.getApiLoading(t.Apis.WorkOrder.HouseWorkOrders.GetHouseWorkOrders,null==(l=null==(e=i.useModel)?void 0:e.formData)?void 0:l.value).then((e=>{i.useModel.listData.value=[...i.useModel.listData.value,...null==e?void 0:e.data],i.useModel.metaData.value=null==e?void 0:e.meta}))},v=()=>{var e,l,a;let u=[];return null==(a=null==(l=null==(e=i.useModel)?void 0:e.houseBillsData)?void 0:l.value)||a.map((e=>{var l,a;(null==(l=null==e?void 0:e.bills)?void 0:l.length)&&(null==(a=null==e?void 0:e.bills)||a.map((e=>{(null==e?void 0:e.checked)&&(null==u||u.push(null==e?void 0:e.id))})))})),(null==u?void 0:u.length)?u:(o.showToast("请至少选择一个月账单!"),!1)},m=()=>{var e,l;let o=[],u=[];a.getApiLoading(t.Apis.Archive.HouseOccupants.List,null==(l=null==(e=i.useModel)?void 0:e.formData)?void 0:l.value).then((e=>{var l;null==(l=e.data)||l.map((e=>{"Owner"===(null==e?void 0:e.house_relation)?null==o||o.push(e):null==u||u.push(e)})),i.useModel.listData.value=[{label:"产权人",list:o},{label:"非产权人",list:u}]}))},p={getShow:e=>{a.getApiLoading(t.Apis.Bill.HouseBills.HouseArrearageAmount,{asset_houses_id:e}).then((e=>{i.useModel.showData.value=null==e?void 0:e.data}))},getHouseBills:d,loadMore(e){i.useModel.formData.value.page=e,0===i.useModel.tabsCurrent.value&&d(1),1===i.useModel.tabsCurrent.value&&r(),2===i.useModel.tabsCurrent.value&&m()},handleTabsChange(e){i.useModel.tabsCurrent.value=e,i.useModel.formData.value.page=1,0===e&&(i.useModel.houseBillsData.value=[],d(1)),1===e&&(i.useModel.listData.value=[],r()),2===e&&(i.useModel.listData.value=[],m())},handleQRCode(){var l,o,u,n;let s=v()||[];(null==s?void 0:s.length)&&a.getApiLoading(t.Apis.HouseOrder.HouseOrders.Store,{bill_ids:s||[],total_payable_amount:null==(o=null==(l=i.useModel)?void 0:l.total_amount)?void 0:o.value,amount:null==(n=null==(u=i.useModel)?void 0:u.total_amount)?void 0:n.value}).then((l=>{var a,o,u,t,n,s,d,r,v,m,p;e.index.navigateTo({url:`/BILL/poster/index?id=${null==(o=null==(a=i.useModel.showData)?void 0:a.value)?void 0:o.id}&order_id=${null==(u=null==l?void 0:l.data)?void 0:u.id}&time=${null==(t=null==l?void 0:l.data)?void 0:t.created_at}&name=${null==(s=null==(n=i.useModel.showData)?void 0:n.value)?void 0:s.full_name}&amount=${(null==(r=null==(d=i.useModel)?void 0:d.total_amount)?void 0:r.value)||(null==(p=null==(m=null==(v=i.useModel)?void 0:v.showData)?void 0:m.value)?void 0:p.total_pending_amount)}`})}))},handleSetContact(e){var l,o,u;a.getApiLoading(null==(u=null==(o=null==(l=t.Apis)?void 0:l.Archive)?void 0:o.HouseOccupants)?void 0:u.ChangeContact,{house_occupants_id:null==e?void 0:e.id,is_contact:!(null==e?void 0:e.is_contact)}).then((e=>{i.useModel.listData.value=[],m()}))},handleNotice(l){let a=[{asset_houses_id:null==l?void 0:l.id,total_unpaid_amount:parseFloat(null==l?void 0:l.total_pending_amount)}];e.index.navigateTo({url:`/BILL/information_template/index?data=${JSON.stringify(a)}`})},setCalculateTotalPrice:s,handleSelectExternalContact(){var l;let a=v()||[];if(console.log(a,"bill_ids"),!(null==a?void 0:a.length))return!1;"wxwork"===(null==(l=null==n?void 0:n.data)?void 0:l.environment)?e.index.qy.getContext({success:function(e){var l,o,t;"single_chat_tools"===e.entry?u.sendChatMessage({page:`/INDEX/bill_order/index.html?bill_ids=${JSON.stringify(a)}&house_id=${i.useModel.formData.value.asset_houses_id}`,title:`分享给您${null==(t=null==(o=null==(l=i.useModel)?void 0:l.showData)?void 0:o.value)?void 0:t.full_name}物业账单`,imgUrl:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K5B5RY2TQQAJ1GT2RZSK426V.jpg"}):u.navigateToMiniProgram({path:"/pages/forward/index?source=OutstandingFeeList",envVersion:"develop",extraData:{source:"OutstandingFeeList"}})}}):u.navigateToMiniProgram({path:"/pages/forward/index?source=OutstandingFeeList",envVersion:"develop",extraData:{source:"OutstandingFeeList"}})}};exports.method=p; +"use strict";const e=require("../../../common/vendor.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js");const l=require("../../../common/store/useWeAppAuthStore.js");require("../../../common/store/useWorkStore.js");const a=require("../../../common/libraries/apiLoading.js"),o=require("../../../common/libraries/naviHelper.js"),u=require("../../../common/libraries/sendWxWork.js"),t=require("../../../gen/Apis.js"),i=require("./model.js"),n=l.useWeAppAuthStore(),s=()=>{var e,l,a;let o=0;null==(a=null==(l=null==(e=i.useModel)?void 0:e.houseBillsData)?void 0:l.value)||a.map(e=>{var l;null==(l=null==e?void 0:e.bills)||l.map(e=>{(null==e?void 0:e.checked)&&(o+=parseFloat(e.amount||0))})}),i.useModel.total_amount.value=parseFloat(null==o?void 0:o.toFixed(2))},d=e=>{var l,o;a.getApiLoading(t.Apis.Bill.HouseBills.List,{...null==(o=null==(l=i.useModel)?void 0:l.formData)?void 0:o.value,type:e}).then(e=>{var l;console.log(null==e?void 0:e.data,"res"),null==(l=null==e?void 0:e.data)||l.map(e=>{var l;e.checked=!0,null==(l=null==e?void 0:e.bills)||l.map(e=>{e.checked=!0})}),i.useModel.houseBillsData.value=[...i.useModel.houseBillsData.value,...null==e?void 0:e.data],i.useModel.metaData.value=null==e?void 0:e.meta,s()})},r=()=>{var e,l;a.getApiLoading(t.Apis.WorkOrder.HouseWorkOrders.GetHouseWorkOrders,null==(l=null==(e=i.useModel)?void 0:e.formData)?void 0:l.value).then(e=>{i.useModel.listData.value=[...i.useModel.listData.value,...null==e?void 0:e.data],i.useModel.metaData.value=null==e?void 0:e.meta})},v=()=>{var e,l,a;let u=[];return null==(a=null==(l=null==(e=i.useModel)?void 0:e.houseBillsData)?void 0:l.value)||a.map(e=>{var l,a;(null==(l=null==e?void 0:e.bills)?void 0:l.length)&&(null==(a=null==e?void 0:e.bills)||a.map(e=>{(null==e?void 0:e.checked)&&(null==u||u.push(null==e?void 0:e.id))}))}),(null==u?void 0:u.length)?u:(o.showToast("请至少选择一个月账单!"),!1)},m=()=>{var e,l;let o=[],u=[];a.getApiLoading(t.Apis.Archive.HouseOccupants.List,null==(l=null==(e=i.useModel)?void 0:e.formData)?void 0:l.value).then(e=>{var l;null==(l=e.data)||l.map(e=>{"Owner"===(null==e?void 0:e.house_relation)?null==o||o.push(e):null==u||u.push(e)}),i.useModel.listData.value=[{label:"产权人",list:o},{label:"非产权人",list:u}]})},p={getShow:e=>{a.getApiLoading(t.Apis.Bill.HouseBills.HouseArrearageAmount,{asset_houses_id:e}).then(e=>{i.useModel.showData.value=null==e?void 0:e.data})},getHouseBills:d,loadMore(e){i.useModel.formData.value.page=e,0===i.useModel.tabsCurrent.value&&d(1),1===i.useModel.tabsCurrent.value&&r(),2===i.useModel.tabsCurrent.value&&m()},handleTabsChange(e){i.useModel.tabsCurrent.value=e,i.useModel.formData.value.page=1,0===e&&(i.useModel.houseBillsData.value=[],d(1)),1===e&&(i.useModel.listData.value=[],r()),2===e&&(i.useModel.listData.value=[],m())},handleQRCode(){var l,o,u,n;let s=v()||[];(null==s?void 0:s.length)&&a.getApiLoading(t.Apis.HouseOrder.HouseOrders.Store,{bill_ids:s||[],total_payable_amount:null==(o=null==(l=i.useModel)?void 0:l.total_amount)?void 0:o.value,amount:null==(n=null==(u=i.useModel)?void 0:u.total_amount)?void 0:n.value}).then(l=>{var a,o,u,t,n,s,d,r,v,m,p;e.index.navigateTo({url:`/BILL/poster/index?id=${null==(o=null==(a=i.useModel.showData)?void 0:a.value)?void 0:o.id}&order_id=${null==(u=null==l?void 0:l.data)?void 0:u.id}&time=${null==(t=null==l?void 0:l.data)?void 0:t.created_at}&name=${null==(s=null==(n=i.useModel.showData)?void 0:n.value)?void 0:s.full_name}&amount=${(null==(r=null==(d=i.useModel)?void 0:d.total_amount)?void 0:r.value)||(null==(p=null==(m=null==(v=i.useModel)?void 0:v.showData)?void 0:m.value)?void 0:p.total_pending_amount)}`})})},handleSetContact(e){var l,o,u;a.getApiLoading(null==(u=null==(o=null==(l=t.Apis)?void 0:l.Archive)?void 0:o.HouseOccupants)?void 0:u.ChangeContact,{house_occupants_id:null==e?void 0:e.id,is_contact:!(null==e?void 0:e.is_contact)}).then(e=>{i.useModel.listData.value=[],m()})},handleNotice(l){let a=[{asset_houses_id:null==l?void 0:l.id,total_unpaid_amount:parseFloat(null==l?void 0:l.total_pending_amount)}];e.index.navigateTo({url:`/BILL/information_template/index?data=${JSON.stringify(a)}`})},setCalculateTotalPrice:s,handleSelectExternalContact(){var l;let a=v()||[];if(console.log(a,"bill_ids"),!(null==a?void 0:a.length))return!1;"wxwork"===(null==(l=null==n?void 0:n.data)?void 0:l.environment)?e.index.qy.getContext({success:function(e){var l,o,t;"single_chat_tools"===e.entry?u.sendChatMessage({page:`/INDEX/bill_order/index.html?bill_ids=${JSON.stringify(a)}&house_id=${i.useModel.formData.value.asset_houses_id}`,title:`分享给您${null==(t=null==(o=null==(l=i.useModel)?void 0:l.showData)?void 0:o.value)?void 0:t.full_name}物业账单`,imgUrl:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K5B5RY2TQQAJ1GT2RZSK426V.jpg"}):u.navigateToMiniProgram({path:"/pages/forward/index?source=OutstandingFeeList",envVersion:"develop",extraData:{source:"OutstandingFeeList"}})}}):u.navigateToMiniProgram({path:"/pages/forward/index?source=OutstandingFeeList",envVersion:"develop",extraData:{source:"OutstandingFeeList"}})}};exports.method=p; diff --git a/dist/build/mp-weixin/BILL/poster/index.js b/dist/build/mp-weixin/BILL/poster/index.js index 4483b60..dd315f5 100644 --- a/dist/build/mp-weixin/BILL/poster/index.js +++ b/dist/build/mp-weixin/BILL/poster/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("./method.js");require("./model.js"),require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js");const r=e.defineComponent({__name:"index",setup:r=>(e.onLoad((e=>{o.method.setCanvas(e)})),(r,s)=>({a:e.o(((...r)=>e.unref(o.method).onDownloadPosters&&e.unref(o.method).onDownloadPosters(...r)))}))}),s=e._export_sfc(r,[["__scopeId","data-v-b54158fc"]]);wx.createPage(s); +"use strict";const e=require("../../common/vendor.js"),o=require("./method.js"),r=require("./model.js");if(require("../../common/libraries/apiLoading.js"),require("../../common/libraries/naviHelper.js"),require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){e.resolveComponent("hs-tabs")()}Math;const a=e.defineComponent({__name:"index",setup(a){const s=[{label:"客户端",value:"wechat"},{label:"其他",value:"alipay"}];return e.onUnload(()=>{r.useModel.alipayQrCode.value={}}),e.onLoad(e=>{r.useModel.alipayQrCode.value={},r.useModel.tabCurrent.value=0,r.useModel.orderInfo.value=e,console.log(e,"订单信息"),o.method.setCanvas(e)}),(a,n)=>{var u,t,l;return{a:e.o(null==(u=e.unref(o.method))?void 0:u.changeTab),b:e.p({list:s,current:null==(l=null==(t=e.unref(r.useModel))?void 0:t.tabCurrent)?void 0:l.value}),c:e.o((...r)=>e.unref(o.method).onDownloadPosters&&e.unref(o.method).onDownloadPosters(...r))}}}}),s=e._export_sfc(a,[["__scopeId","data-v-4f139b0a"]]);wx.createPage(s); diff --git a/dist/build/mp-weixin/BILL/poster/index.json b/dist/build/mp-weixin/BILL/poster/index.json index 31d4724..699a7ff 100644 --- a/dist/build/mp-weixin/BILL/poster/index.json +++ b/dist/build/mp-weixin/BILL/poster/index.json @@ -1,4 +1,6 @@ { "navigationBarTitleText": "二维码收款", - "usingComponents": {} + "usingComponents": { + "hs-tabs": "../../components/hs-tabs/hs-tabs" + } } \ No newline at end of file diff --git a/dist/build/mp-weixin/BILL/poster/index.wxml b/dist/build/mp-weixin/BILL/poster/index.wxml index 5cd09a9..f3e2fcd 100644 --- a/dist/build/mp-weixin/BILL/poster/index.wxml +++ b/dist/build/mp-weixin/BILL/poster/index.wxml @@ -1 +1 @@ -下载海报 \ No newline at end of file +下载海报 \ No newline at end of file diff --git a/dist/build/mp-weixin/BILL/poster/index.wxss b/dist/build/mp-weixin/BILL/poster/index.wxss index 19fdd2a..b42d41a 100644 --- a/dist/build/mp-weixin/BILL/poster/index.wxss +++ b/dist/build/mp-weixin/BILL/poster/index.wxss @@ -1 +1 @@ -.poster_main.data-v-b54158fc{width:100vw;height:100vh;background-color:#f1f2f5}.poster_canvas.data-v-b54158fc{padding-top:30rpx;height:534px}#firstCanvas.data-v-b54158fc{margin:0 auto}.poster_func.data-v-b54158fc{margin-top:40rpx;display:flex;flex-direction:column;align-items:center}.poster_func_choice.data-v-b54158fc{font-size:28rpx;font-weight:400;color:#0082fa;text-decoration:underline}.poster_func_download.data-v-b54158fc,.poster_func_link.data-v-b54158fc{width:500rpx;height:80rpx;font-size:28rpx;border-radius:66rpx;display:flex;justify-content:center;align-items:center;background-color:#0082fa;margin-top:30rpx;color:#fff}.poster_func_link.data-v-b54158fc{background-color:#fff}.image_popup.data-v-b54158fc{display:flex;justify-content:center;align-items:center}.image_popup_card.data-v-b54158fc{width:90vw;z-index:200}.image_popup_card_title.data-v-b54158fc{text-align:center;font-size:36rpx;font-weight:600}.image_popup_card_title_text.data-v-b54158fc{margin:20rpx 0 60rpx}.image_popup_card_enter.data-v-b54158fc{margin:100rpx 0 20rpx}.image_popup_card_swiper_item.data-v-b54158fc{display:flex;justify-content:center}.image_popup_card_swiper_image.data-v-b54158fc{width:480rpx;height:320rpx} +.poster_main.data-v-4f139b0a{width:100vw;height:100vh;background-color:#f1f2f5}.poster_canvas.data-v-4f139b0a{padding-top:30rpx;height:534px}#poster_firstCanvas.data-v-4f139b0a{margin:0 auto}.poster_func.data-v-4f139b0a{margin-top:40rpx;display:flex;flex-direction:column;align-items:center}.poster_func_choice.data-v-4f139b0a{font-size:28rpx;font-weight:400;color:#0082fa;text-decoration:underline}.poster_func_download.data-v-4f139b0a,.poster_func_link.data-v-4f139b0a{width:500rpx;height:80rpx;font-size:28rpx;border-radius:66rpx;display:flex;justify-content:center;align-items:center;background-color:#0082fa;margin-top:30rpx;color:#fff}.poster_func_link.data-v-4f139b0a{background-color:#fff}.image_popup.data-v-4f139b0a{display:flex;justify-content:center;align-items:center}.image_popup_card.data-v-4f139b0a{width:90vw;z-index:200}.image_popup_card_title.data-v-4f139b0a{text-align:center;font-size:36rpx;font-weight:600}.image_popup_card_title_text.data-v-4f139b0a{margin:20rpx 0 60rpx}.image_popup_card_enter.data-v-4f139b0a{margin:100rpx 0 20rpx}.image_popup_card_swiper_item.data-v-4f139b0a{display:flex;justify-content:center}.image_popup_card_swiper_image.data-v-4f139b0a{width:480rpx;height:320rpx}.poster_qrcode.data-v-4f139b0a{position:absolute;left:-1000rpx} diff --git a/dist/build/mp-weixin/BILL/poster/method.js b/dist/build/mp-weixin/BILL/poster/method.js index cde3634..ceecc47 100644 --- a/dist/build/mp-weixin/BILL/poster/method.js +++ b/dist/build/mp-weixin/BILL/poster/method.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),i=require("../../gen/Apis.js"),o=require("./model.js"),t=require("../../common/libraries/apiLoading.js"),l={getHouseDetail(e){},updateCoverInfo(){this.setCanvas(o.useModel.houseDetail.value)},setCanvas(o){const l=e.index.createCanvasContext("firstCanvas");((o,l)=>{t.getApiLoading(i.Apis.HouseOrder.HouseOrders.GetPayQrCode,{id:null==o?void 0:o.order_id}).then((i=>{var o;const t=e.index.getFileSystemManager();var a=(new Date).getTime(),n=e.wx$1.env.USER_DATA_PATH+"/"+a+".png";t.writeFile({filePath:n,data:null==(o=null==i?void 0:i.data)?void 0:o.qr_code.slice(22),encoding:"base64",success:()=>null==l?void 0:l(n)})}))})(o,(i=>{e.index.downloadFile({url:"https://jyw-dev-1322946948.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K2GQ7CEB6DJ9BN8HMRV8SSWE.png",success(e){l.drawImage(e.tempFilePath,0,0,345,504),l.font="bold 18px Arial",l.setTextAlign("center"),l.fillText((null==o?void 0:o.name)||"-",172.5,45),l.font="bold 16px Arial",l.fillStyle="#DF3600",l.fillText(`缴费金额:${null==o?void 0:o.amount}元`,172.5,78),l.font="14px Arial",l.fillStyle="#333",l.fillText("请使用微信扫码支付",172.5,450),l.font="12px Arial",l.fillStyle="#666",l.fillText(`生成时间:${null==o?void 0:o.time}`,172.5,475),l.drawImage(i,72.5,150,200,200),l.restore(),l.draw()}}),console.log(i,"二维码路径")}))},onDownloadPosters(){e.index.showLoading({title:"正在保存中..."}),e.index.canvasToTempFilePath({x:0,y:0,width:345,height:504,destWidth:1380,destHeight:2016,canvasId:"firstCanvas",success:function(i){e.index.hideLoading(),e.index.saveImageToPhotosAlbum({filePath:i.tempFilePath,success:function(){console.log("save success"),e.index.hideLoading()},fail(){e.index.hideLoading()}}),console.log(i.tempFilePath)},fail(){e.index.hideLoading()}})},initActualImages:async e=>{},choiceImgPopControl(){var e;this.initActualImages(null==(e=o.useModel.houseDetail.value)?void 0:e.id)},copyLink(){}};exports.method=l; +"use strict";const e=require("../../common/vendor.js"),l=require("../../common/libraries/apiLoading.js"),o=require("../../common/libraries/naviHelper.js"),a=require("../../gen/Apis.js"),i=require("./model.js"),t=()=>{console.log("进来:");const l=e.index.createCanvasContext("poster_firstCanvas");e.index.canvasToTempFilePath({canvasId:"alipay_qrcode",x:0,y:0,width:170,height:170,destWidth:170,destHeight:170,success:o=>{l.clearRect(0,0,345,504),e.index.downloadFile({url:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01KP2XJ54TN4DVMCCJJ0AVNJK8.png",success(e){var a,t,n,d,s;l.drawImage(e.tempFilePath,0,0,345,504),l.font="bold 18px Arial",l.setTextAlign("center"),l.fillText((null==(a=i.useModel.orderInfo.value)?void 0:a.name)||"-",172.5,45),l.font="bold 16px Arial",l.fillStyle="#DF3600",l.fillText(`缴费金额:¥${null==(t=i.useModel.orderInfo.value)?void 0:t.amount}元`,172.5,78),l.font="14px Arial",l.fillStyle="#333",l.fillText("请使用支付宝扫码支付",172.5,450),l.font="12px Arial",l.fillStyle="#666",l.fillText(`生成时间:${null==(s=null==(d=null==(n=i.useModel)?void 0:n.alipayQrCode)?void 0:d.value)?void 0:s.time} 有效时间30分钟`,172.5,475),l.drawImage(o.tempFilePath,72.5,150,200,200),l.restore(),l.draw()}}),console.log(o,"支付宝二维码路径")},fail:e=>{console.log(e,"支付宝二维码路径失败")}})},n=()=>{var l,o,a;const n=new e.UQRCode;n.data=null==(a=null==(o=null==(l=i.useModel)?void 0:l.alipayQrCode)?void 0:o.value)?void 0:a.payinfo,n.size=170,n.make();const d=e.index.createCanvasContext("alipay_qrcode");n.canvasContext=d,n.drawCanvas(),setTimeout(()=>{t()},300)},d=()=>{const l=e.index.createCanvasContext("poster_firstCanvas");e.index.downloadFile({url:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01KP2XJ54TN4DVMCCJJ0AVNJK8.png",success(e){var o,a,t,n;l.clearRect(0,0,345,504),l.drawImage(e.tempFilePath,0,0,345,504),l.font="bold 18px Arial",l.setTextAlign("center"),l.fillText((null==(o=i.useModel.custQrcodeInfo.value)?void 0:o.name)||"-",172.5,45),l.font="bold 16px Arial",l.fillStyle="#DF3600",l.fillText(`缴费金额:¥${null==(a=i.useModel.custQrcodeInfo.value)?void 0:a.amount}元`,172.5,78),l.font="14px Arial",l.fillStyle="#333",l.fillText("请使用微信扫码支付",172.5,450),l.font="12px Arial",l.fillStyle="#666",l.fillText(`生成时间:${null==(t=i.useModel.custQrcodeInfo.value)?void 0:t.time}`,172.5,475),l.drawImage(null==(n=i.useModel.custQrcodeInfo.value)?void 0:n.url,72.5,150,200,200),l.restore(),l.draw()}})},s={getHouseDetail(e){},setCanvas(o){((o,i)=>{l.getApiLoading(a.Apis.HouseOrder.HouseOrders.GetPayQrCode,{id:null==o?void 0:o.order_id}).then(l=>{var o;const a=e.index.getFileSystemManager();let t=(new Date).getTime(),n=e.wx$1.env.USER_DATA_PATH+"/"+t+".png";a.writeFile({filePath:n,data:null==(o=null==l?void 0:l.data)?void 0:o.qr_code.slice(22),encoding:"base64",success:()=>null==i?void 0:i(n)})})})(o,e=>{i.useModel.custQrcodeInfo.value={...o,url:e},d(),console.log(e,"二维码路径")})},onDownloadPosters(){e.index.showLoading({title:"正在保存中..."}),e.index.canvasToTempFilePath({x:0,y:0,width:345,height:504,destWidth:1380,destHeight:2016,canvasId:"poster_firstCanvas",success:function(l){e.index.hideLoading(),e.index.saveImageToPhotosAlbum({filePath:l.tempFilePath,success:function(){console.log("save success"),o.showToast("保存成功!")},fail(){e.index.hideLoading()}}),console.log(l.tempFilePath)},fail(){e.index.hideLoading()}})},initActualImages:async e=>{},choiceImgPopControl(){var e;this.initActualImages(null==(e=i.useModel.houseDetail.value)?void 0:e.id)},copyLink(){},changeTab(o){var s,r,u,c;i.useModel.tabCurrent.value=o,o?(null==(u=null==(r=null==(s=i.useModel)?void 0:s.alipayQrCode)?void 0:r.value)?void 0:u.payinfo)?t():l.getApiLoading(a.Apis.HouseOrder.HouseOrders.AlipayQrCode,{id:null==(c=i.useModel.orderInfo.value)?void 0:c.order_id,pay_type:"Alipay"}).then(l=>{i.useModel.alipayQrCode.value={...null==l?void 0:l.data,time:e.dayjs().format("YYYY-MM-DD HH:mm")},n()}):d()}};exports.method=s; diff --git a/dist/build/mp-weixin/BILL/poster/model.js b/dist/build/mp-weixin/BILL/poster/model.js index 184a374..d28ff2f 100644 --- a/dist/build/mp-weixin/BILL/poster/model.js +++ b/dist/build/mp-weixin/BILL/poster/model.js @@ -1 +1 @@ -"use strict";const o=require("../../common/vendor.js"),e={coverBgImg:"https://jyw-1322946948.cos.ap-guangzhou.myqcloud.com/upload/gjEDA6cmTu5FnMCWzyGSE.png",coverImg:o.ref(""),houseDetail:o.ref({}),qrCodeByBase64:o.ref(""),choiceImgShow:o.ref(!1),posterStyle:{background:"url('https://jyw-1322946948.cos.ap-guangzhou.myqcloud.com/upload/jgKWriyfZrPSIBuHrlfNG.png')",backgroundSize:"100% 100%",marginTop:"30rpx",padding:"30rpx"},houseActualImages:o.ref([]),posterImage:o.ref("")};exports.useModel=e; +"use strict";const e=require("../../common/vendor.js"),r={coverBgImg:"https://jyw-1322946948.cos.ap-guangzhou.myqcloud.com/upload/gjEDA6cmTu5FnMCWzyGSE.png",coverImg:e.ref(""),houseDetail:e.ref({}),qrCodeByBase64:e.ref(""),choiceImgShow:e.ref(!1),posterStyle:{background:"url('https://jyw-1322946948.cos.ap-guangzhou.myqcloud.com/upload/jgKWriyfZrPSIBuHrlfNG.png')",backgroundSize:"100% 100%",marginTop:"30rpx",padding:"30rpx"},houseActualImages:e.ref([]),posterImage:e.ref(""),tabCurrent:e.ref(0),orderInfo:e.ref({}),alipayQrCode:e.ref({}),alipayQrCodeShow:e.ref(!1),custQrcodeInfo:e.ref({})};exports.useModel=r; diff --git a/dist/build/mp-weixin/BILL/record/payment/index.js b/dist/build/mp-weixin/BILL/record/payment/index.js index 88c8ede..4df5634 100644 --- a/dist/build/mp-weixin/BILL/record/payment/index.js +++ b/dist/build/mp-weixin/BILL/record/payment/index.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("../../../gen/Enums.js"),n=require("./method.js"),s=require("./model.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("cc-scroll-loading"))()}Math||((()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const l=e.defineComponent({__name:"index",setup(l){const u=e.ref(!1);return e.onLoad((e=>{var o;console.log(e,"e"),s.useModel.formData.value.asset_houses_id=null==e?void 0:e.asset_houses_id,null==(o=n.method)||o.getHouseBills()})),(l,r)=>{var t,i,a,m,c;return{a:e.f(null==(i=null==(t=e.unref(s.useModel))?void 0:t.listData)?void 0:i.value,((n,s,l)=>e.e({a:e.t((null==n?void 0:n.display_text)||"-"),b:e.t(null==n?void 0:n.total_paid_amount_monthly),c:"410f6c84-1-"+l+",410f6c84-0",d:e.o((e=>u.value=!u.value),`items_${s}`)},u.value?{e:e.f(null==n?void 0:n.bills,((n,u,r)=>({a:"410f6c84-2-"+l+"-"+r+",410f6c84-0",b:e.p({value:null==n?void 0:n.type,Enums:e.unref(o.HouseBillsTypeEnum)}),c:e.t(null==n?void 0:n.total_payable_amount),d:`bills_${s}_${u}`})))}:{},{f:`items_${s}`}))),b:e.p({type:"down",size:"15",color:"#666"}),c:u.value,d:e.o(null==(a=e.unref(n.method))?void 0:a.loadMore),e:e.p({meta:null==(c=null==(m=e.unref(s.useModel))?void 0:m.metaData)?void 0:c.value})}}}});wx.createPage(l); +"use strict";const e=require("../../../common/vendor.js"),o=require("../../../gen/Enums.js"),n=require("./method.js"),s=require("./model.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("cc-scroll-loading"))()}Math||((()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const l=e.defineComponent({__name:"index",setup(l){const u=e.ref(!1);return e.onLoad(e=>{var o;console.log(e,"e"),s.useModel.formData.value.asset_houses_id=null==e?void 0:e.asset_houses_id,null==(o=n.method)||o.getHouseBills()}),(l,r)=>{var t,i,a,m,c;return{a:e.f(null==(i=null==(t=e.unref(s.useModel))?void 0:t.listData)?void 0:i.value,(n,s,l)=>e.e({a:e.t((null==n?void 0:n.display_text)||"-"),b:e.t(null==n?void 0:n.total_paid_amount_monthly),c:"410f6c84-1-"+l+",410f6c84-0",d:e.o(e=>u.value=!u.value,`items_${s}`)},u.value?{e:e.f(null==n?void 0:n.bills,(n,u,r)=>({a:"410f6c84-2-"+l+"-"+r+",410f6c84-0",b:e.p({value:null==n?void 0:n.type,Enums:e.unref(o.HouseBillsTypeEnum)}),c:e.t(null==n?void 0:n.total_payable_amount),d:`bills_${s}_${u}`}))}:{},{f:`items_${s}`})),b:e.p({type:"down",size:"15",color:"#666"}),c:u.value,d:e.o(null==(a=e.unref(n.method))?void 0:a.loadMore),e:e.p({meta:null==(c=null==(m=e.unref(s.useModel))?void 0:m.metaData)?void 0:c.value})}}}});wx.createPage(l); diff --git a/dist/build/mp-weixin/BILL/record/payment/method.js b/dist/build/mp-weixin/BILL/record/payment/method.js index ea51872..3ebb28c 100644 --- a/dist/build/mp-weixin/BILL/record/payment/method.js +++ b/dist/build/mp-weixin/BILL/record/payment/method.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/libraries/apiLoading.js"),l=require("../../../gen/Apis.js"),a=require("./model.js"),o=()=>{var o,i;e.getApiLoading(l.Apis.Bill.HouseBills.List,{...null==(i=null==(o=a.useModel)?void 0:o.formData)?void 0:i.value,type:2}).then((e=>{a.useModel.listData.value=[...a.useModel.listData.value,...null==e?void 0:e.data],a.useModel.metaData.value=null==e?void 0:e.meta}))},i={getHouseBills:o,loadMore(e){a.useModel.formData.value.page=e,o()}};exports.method=i; +"use strict";const e=require("../../../common/libraries/apiLoading.js"),l=require("../../../gen/Apis.js"),a=require("./model.js"),o=()=>{var o,i;e.getApiLoading(l.Apis.Bill.HouseBills.List,{...null==(i=null==(o=a.useModel)?void 0:o.formData)?void 0:i.value,type:2}).then(e=>{a.useModel.listData.value=[...a.useModel.listData.value,...null==e?void 0:e.data],a.useModel.metaData.value=null==e?void 0:e.meta})},i={getHouseBills:o,loadMore(e){a.useModel.formData.value.page=e,o()}};exports.method=i; diff --git a/dist/build/mp-weixin/BILL/record/urge_payment/index.js b/dist/build/mp-weixin/BILL/record/urge_payment/index.js index ba28d37..c052111 100644 --- a/dist/build/mp-weixin/BILL/record/urge_payment/index.js +++ b/dist/build/mp-weixin/BILL/record/urge_payment/index.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("../../../gen/Enums.js"),l=require("./method.js"),n=require("./model.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-enum-tag")+e.resolveComponent("up-steps-item")+e.resolveComponent("up-steps")+e.resolveComponent("cc-scroll-loading")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../node-modules/uview-plus/components/u-steps-item/u-steps-item.js")+(()=>"../../../node-modules/uview-plus/components/u-steps/u-steps.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js")+(()=>"../../../components/hs-footer/hs-footer.js"))();const t=e.defineComponent({__name:"index",setup(t){const u=()=>{var o,l,t,u,s,a;e.index.navigateTo({url:`/BILL/outstanding_fee/add/index?amount=${null==(t=null==(l=null==(o=n.useModel)?void 0:o.formData)?void 0:l.value)?void 0:t.total_pending_amount}&id=${null==(a=null==(s=null==(u=n.useModel)?void 0:u.formData)?void 0:s.value)?void 0:a.asset_houses_id}`})};return e.onShow((()=>{var e,o,t,u;(null==(t=null==(o=null==(e=n.useModel)?void 0:e.listData)?void 0:o.value)?void 0:t.length)&&(n.useModel.listData.value=[],null==(u=l.method)||u.loadMore(1))})),e.onLoad((e=>{var o;console.log(e,"e"),n.useModel.formData.value={asset_houses_id:null==e?void 0:e.asset_houses_id,total_pending_amount:null==e?void 0:e.total_pending_amount,page:1},null==(o=l.method)||o.getHouseCollectionRecords()})),e.onUnload((()=>{n.useModel.listData.value=[]})),(t,s)=>{var a,i,d,r,m,c,v,p;return{a:e.f(null==(i=null==(a=e.unref(n.useModel))?void 0:a.listData)?void 0:i.value,((l,n,t)=>{var u;return e.e({a:e.t(null==l?void 0:l.created_at),b:e.t(null==(u=null==l?void 0:l.company_employee)?void 0:u.name),c:e.t(null==l?void 0:l.total_unpaid_amount),d:null==l?void 0:l.collection_result},(null==l?void 0:l.collection_result)?{e:"30ebd59a-3-"+t+",30ebd59a-2-"+t,f:e.p({value:null==l?void 0:l.collection_result,Enums:e.unref(o.HouseCollectionRecordsCollectionResultEnum)}),g:e.n(`tag_${null==l?void 0:l.collection_result}`)}:{},{h:"30ebd59a-4-"+t+",30ebd59a-2-"+t,i:e.p({value:null==l?void 0:l.channel,Enums:e.unref(o.HouseCollectionTasksChannelEnum)}),j:null==l?void 0:l.collection_content},(null==l?void 0:l.collection_content)?{k:e.t(null==l?void 0:l.collection_content)}:{},{l:`pay_item_${n}`,m:"30ebd59a-2-"+t+",30ebd59a-1"})})),b:e.p({direction:"column",dot:!0,current:(null==(m=null==(r=null==(d=e.unref(n.useModel))?void 0:d.listData)?void 0:r.value)?void 0:m.length)-1}),c:e.o(null==(c=e.unref(l.method))?void 0:c.loadMore),d:e.p({meta:null==(p=null==(v=e.unref(n.useModel))?void 0:v.metaData)?void 0:p.value}),e:e.o(u),f:e.p({btnParimaryName:"新增催缴记录"})}}}});wx.createPage(t); +"use strict";const e=require("../../../common/vendor.js"),o=require("../../../gen/Enums.js"),l=require("./method.js"),n=require("./model.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-enum-tag")+e.resolveComponent("up-steps-item")+e.resolveComponent("up-steps")+e.resolveComponent("cc-scroll-loading")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../node-modules/uview-plus/components/u-steps-item/u-steps-item.js")+(()=>"../../../node-modules/uview-plus/components/u-steps/u-steps.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js")+(()=>"../../../components/hs-footer/hs-footer.js"))();const t=e.defineComponent({__name:"index",setup(t){const u=()=>{var o,l,t,u,s,a;e.index.navigateTo({url:`/BILL/outstanding_fee/add/index?amount=${null==(t=null==(l=null==(o=n.useModel)?void 0:o.formData)?void 0:l.value)?void 0:t.total_pending_amount}&id=${null==(a=null==(s=null==(u=n.useModel)?void 0:u.formData)?void 0:s.value)?void 0:a.asset_houses_id}`})};return e.onShow(()=>{var e,o,t,u;(null==(t=null==(o=null==(e=n.useModel)?void 0:e.listData)?void 0:o.value)?void 0:t.length)&&(n.useModel.listData.value=[],null==(u=l.method)||u.loadMore(1))}),e.onLoad(e=>{var o;console.log(e,"e"),n.useModel.formData.value={asset_houses_id:null==e?void 0:e.asset_houses_id,total_pending_amount:null==e?void 0:e.total_pending_amount,page:1},null==(o=l.method)||o.getHouseCollectionRecords()}),e.onUnload(()=>{n.useModel.listData.value=[]}),(t,s)=>{var a,i,d,r,m,c,v,p;return{a:e.f(null==(i=null==(a=e.unref(n.useModel))?void 0:a.listData)?void 0:i.value,(l,n,t)=>{var u;return e.e({a:e.t(null==l?void 0:l.created_at),b:e.t(null==(u=null==l?void 0:l.company_employee)?void 0:u.name),c:e.t(null==l?void 0:l.total_unpaid_amount),d:null==l?void 0:l.collection_result},(null==l?void 0:l.collection_result)?{e:"30ebd59a-3-"+t+",30ebd59a-2-"+t,f:e.p({value:null==l?void 0:l.collection_result,Enums:e.unref(o.HouseCollectionRecordsCollectionResultEnum)}),g:e.n(`tag_${null==l?void 0:l.collection_result}`)}:{},{h:"30ebd59a-4-"+t+",30ebd59a-2-"+t,i:e.p({value:null==l?void 0:l.channel,Enums:e.unref(o.HouseCollectionTasksChannelEnum)}),j:null==l?void 0:l.collection_content},(null==l?void 0:l.collection_content)?{k:e.t(null==l?void 0:l.collection_content)}:{},{l:`pay_item_${n}`,m:"30ebd59a-2-"+t+",30ebd59a-1"})}),b:e.p({direction:"column",dot:!0,current:(null==(m=null==(r=null==(d=e.unref(n.useModel))?void 0:d.listData)?void 0:r.value)?void 0:m.length)-1}),c:e.o(null==(c=e.unref(l.method))?void 0:c.loadMore),d:e.p({meta:null==(p=null==(v=e.unref(n.useModel))?void 0:v.metaData)?void 0:p.value}),e:e.o(u),f:e.p({btnParimaryName:"新增催缴记录"})}}}});wx.createPage(t); diff --git a/dist/build/mp-weixin/BILL/record/urge_payment/method.js b/dist/build/mp-weixin/BILL/record/urge_payment/method.js index ebd9133..0d4fc84 100644 --- a/dist/build/mp-weixin/BILL/record/urge_payment/method.js +++ b/dist/build/mp-weixin/BILL/record/urge_payment/method.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/libraries/apiLoading.js"),o=require("../../../gen/Apis.js"),l=require("./model.js"),a=()=>{var a,i;e.getApiLoading(o.Apis.Collection.HouseCollectionRecords.List,null==(i=null==(a=l.useModel)?void 0:a.formData)?void 0:i.value).then((e=>{l.useModel.listData.value=[...l.useModel.listData.value,...null==e?void 0:e.data],l.useModel.metaData.value=null==e?void 0:e.meta}))},i={getHouseCollectionRecords:a,loadMore(e){l.useModel.formData.value.page=e,a()}};exports.method=i; +"use strict";const e=require("../../../common/libraries/apiLoading.js"),o=require("../../../gen/Apis.js"),l=require("./model.js"),a=()=>{var a,i;e.getApiLoading(o.Apis.Collection.HouseCollectionRecords.List,null==(i=null==(a=l.useModel)?void 0:a.formData)?void 0:i.value).then(e=>{l.useModel.listData.value=[...l.useModel.listData.value,...null==e?void 0:e.data],l.useModel.metaData.value=null==e?void 0:e.meta})},i={getHouseCollectionRecords:a,loadMore(e){l.useModel.formData.value.page=e,a()}};exports.method=i; diff --git a/dist/build/mp-weixin/BILL/send_bill/components/pickerSelectHouse.js b/dist/build/mp-weixin/BILL/send_bill/components/pickerSelectHouse.js index d28fd24..7b97443 100644 --- a/dist/build/mp-weixin/BILL/send_bill/components/pickerSelectHouse.js +++ b/dist/build/mp-weixin/BILL/send_bill/components/pickerSelectHouse.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),r=require("../method.js"),o=require("../model.js");if(require("../../../common/libraries/naviHelper.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/libraries/apiLoading.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/userUserLogin.js"),require("../../../common/libraries/sendWxWork.js"),!Array){e.resolveComponent("uni-icons")()}Math;const n=e.defineComponent({__name:"pickerSelectHouse",props:["data"],setup(n){const s=n;return(n,i)=>{var u,t,m,a;return{a:e.t((null==(m=null==(t=null==(u=e.unref(o.useModel))?void 0:u.currentHouses)?void 0:t.value)?void 0:m.name)||""),b:e.p({type:"right",size:"12"}),c:null==(a=null==s?void 0:s.data)?void 0:a.houseList,d:e.o(((...o)=>{var n,s;return(null==(n=e.unref(r.method))?void 0:n.handleChange)&&(null==(s=e.unref(r.method))?void 0:s.handleChange(...o))}))}}}});wx.createComponent(n); +"use strict";const e=require("../../../common/vendor.js"),r=require("../method.js"),o=require("../model.js");if(require("../../../common/libraries/naviHelper.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/libraries/apiLoading.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/userUserLogin.js"),require("../../../common/libraries/sendWxWork.js"),!Array){e.resolveComponent("uni-icons")()}Math;const n=e.defineComponent({__name:"pickerSelectHouse",props:["data"],setup(n){const s=n;return(n,i)=>{var u,t,m,a;return{a:e.t((null==(m=null==(t=null==(u=e.unref(o.useModel))?void 0:u.currentHouses)?void 0:t.value)?void 0:m.name)||""),b:e.p({type:"right",size:"12"}),c:null==(a=null==s?void 0:s.data)?void 0:a.houseList,d:e.o((...o)=>{var n,s;return(null==(n=e.unref(r.method))?void 0:n.handleChange)&&(null==(s=e.unref(r.method))?void 0:s.handleChange(...o))})}}}});wx.createComponent(n); diff --git a/dist/build/mp-weixin/BILL/send_bill/index.js b/dist/build/mp-weixin/BILL/send_bill/index.js index fe8aec4..42471a2 100644 --- a/dist/build/mp-weixin/BILL/send_bill/index.js +++ b/dist/build/mp-weixin/BILL/send_bill/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("../../gen/Enums.js"),l=require("../../common/libraries/userUserLogin.js"),n=require("./model.js"),i=require("./method.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/sendWxWork.js"),!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("uni-icons")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("hs-footer"))()}Math||(u+(()=>"../../components/hs-empty/hs-empty.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const u=()=>"./components/pickerSelectHouse.js",s=e.defineComponent({__name:"index",setup:u=>(e.onShow((async()=>{var o,u;await(null==(o=e.getCurrentInstance())?void 0:o.appContext.config.globalProperties.$onLaunched),n.useModel.listData.value=[],n.useModel.showData.value={},n.useModel.currentHouses.value={id:"",name:""},(null==(u=l.getUser)?void 0:u.onBindPhone())&&e.index.qy.getCurExternalContact({success:function(e){var o;n.useModel.formData.value.external_userid=null==e?void 0:e.userId,null==(o=i.method)||o.getList()},fail:function(e){var o;null==(o=i.method)||o.getList()}})})),e.onUnload((()=>{n.useModel.currentHouses.value={id:"",name:""}})),(l,u)=>{var s,t,r,a,d,m,v,c,h,p,f,g,j,y,S,b,q,_,w,M;return e.e({a:null==(a=null==(r=null==(t=null==(s=e.unref(n.useModel))?void 0:s.showData)?void 0:t.value)?void 0:r.houseList)?void 0:a.length},(null==(c=null==(v=null==(m=null==(d=e.unref(n.useModel))?void 0:d.showData)?void 0:m.value)?void 0:v.houseList)?void 0:c.length)?{b:e.p({data:null==(p=null==(h=e.unref(n.useModel))?void 0:h.showData)?void 0:p.value})}:{},{c:!(null==(j=null==(g=null==(f=e.unref(n.useModel))?void 0:f.listData)?void 0:g.value)?void 0:j.length)},(null==(b=null==(S=null==(y=e.unref(n.useModel))?void 0:y.listData)?void 0:S.value)||b.length,{}),{d:e.f(null==(_=null==(q=e.unref(n.useModel))?void 0:q.listData)?void 0:_.value,((l,n,u)=>e.e({a:null==l?void 0:l.isSelect},(null==l?void 0:l.isSelect)?{b:"68f75638-2-"+u,c:e.p({type:"checkbox-filled",size:"18",color:"#0082FA"})}:{d:"68f75638-3-"+u,e:e.p({type:"circle",size:"18",color:"#666"})},{f:e.t(null==l?void 0:l.display_text),g:e.o((o=>{var l;return null==(l=e.unref(i.method))?void 0:l.handleSelect(n)}),`items_${n}`),h:e.t(null==l?void 0:l.display_amount),i:"68f75638-4-"+u,j:e.p({type:(null==l?void 0:l.isShow)?"down":"right",color:"#999999",size:"14"}),k:e.o((e=>l.isShow=!l.isShow),`items_${n}`),l:null==l?void 0:l.isShow},(null==l?void 0:l.isShow)?{m:e.f(null==l?void 0:l.bills,((l,s,t)=>e.e({a:null==l?void 0:l.isSelect},(null==l?void 0:l.isSelect)?{b:"68f75638-5-"+u+"-"+t,c:e.p({type:"checkbox-filled",size:"18",color:"#0082FA"})}:{d:"68f75638-6-"+u+"-"+t,e:e.p({type:"circle",size:"18",color:"#666"})},{f:"68f75638-7-"+u+"-"+t,g:e.p({Enums:e.unref(o.HouseBillsTypeEnum),value:null==l?void 0:l.type}),h:e.t(null==l?void 0:l.amount),i:`item_f_${n}_${s}`,j:e.o((o=>{var u;return null==(u=e.unref(i.method))?void 0:u.handleFindSelect(l,n,s)}),`item_f_${n}_${s}`)})))}:{},{n:`items_${n}`}))),e:e.o(null==(w=e.unref(i.method))?void 0:w.handleParmaryClick),f:e.o(null==(M=e.unref(i.method))?void 0:M.handleQRCode),g:e.p({btnParimaryName:"分享账单",btnOtherName:"二维码收款",btnOtherShow:!0})})})});wx.createPage(s); +"use strict";const e=require("../../common/vendor.js"),o=require("../../gen/Enums.js"),l=require("../../common/libraries/userUserLogin.js"),n=require("./model.js"),i=require("./method.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/sendWxWork.js"),!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("uni-icons")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("hs-footer"))()}Math||(u+(()=>"../../components/hs-empty/hs-empty.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const u=()=>"./components/pickerSelectHouse.js",s=e.defineComponent({__name:"index",setup:u=>(e.onShow(async()=>{var o,u;await(null==(o=e.getCurrentInstance())?void 0:o.appContext.config.globalProperties.$onLaunched),n.useModel.listData.value=[],n.useModel.showData.value={},n.useModel.currentHouses.value={id:"",name:""},(null==(u=l.getUser)?void 0:u.onBindPhone())&&e.index.qy.getCurExternalContact({success:function(e){var o;n.useModel.formData.value.external_userid=null==e?void 0:e.userId,null==(o=i.method)||o.getList()},fail:function(e){var o;null==(o=i.method)||o.getList()}})}),e.onUnload(()=>{n.useModel.currentHouses.value={id:"",name:""}}),(l,u)=>{var s,t,r,a,d,m,v,c,h,p,f,g,j,y,S,b,q,_,w,M;return e.e({a:null==(a=null==(r=null==(t=null==(s=e.unref(n.useModel))?void 0:s.showData)?void 0:t.value)?void 0:r.houseList)?void 0:a.length},(null==(c=null==(v=null==(m=null==(d=e.unref(n.useModel))?void 0:d.showData)?void 0:m.value)?void 0:v.houseList)?void 0:c.length)?{b:e.p({data:null==(p=null==(h=e.unref(n.useModel))?void 0:h.showData)?void 0:p.value})}:{},{c:!(null==(j=null==(g=null==(f=e.unref(n.useModel))?void 0:f.listData)?void 0:g.value)?void 0:j.length)},(null==(b=null==(S=null==(y=e.unref(n.useModel))?void 0:y.listData)?void 0:S.value)||b.length,{}),{d:e.f(null==(_=null==(q=e.unref(n.useModel))?void 0:q.listData)?void 0:_.value,(l,n,u)=>e.e({a:null==l?void 0:l.isSelect},(null==l?void 0:l.isSelect)?{b:"68f75638-2-"+u,c:e.p({type:"checkbox-filled",size:"18",color:"#0082FA"})}:{d:"68f75638-3-"+u,e:e.p({type:"circle",size:"18",color:"#666"})},{f:e.t(null==l?void 0:l.display_text),g:e.o(o=>{var l;return null==(l=e.unref(i.method))?void 0:l.handleSelect(n)},`items_${n}`),h:e.t(null==l?void 0:l.display_amount),i:"68f75638-4-"+u,j:e.p({type:(null==l?void 0:l.isShow)?"down":"right",color:"#999999",size:"14"}),k:e.o(e=>l.isShow=!l.isShow,`items_${n}`),l:null==l?void 0:l.isShow},(null==l?void 0:l.isShow)?{m:e.f(null==l?void 0:l.bills,(l,s,t)=>e.e({a:null==l?void 0:l.isSelect},(null==l?void 0:l.isSelect)?{b:"68f75638-5-"+u+"-"+t,c:e.p({type:"checkbox-filled",size:"18",color:"#0082FA"})}:{d:"68f75638-6-"+u+"-"+t,e:e.p({type:"circle",size:"18",color:"#666"})},{f:"68f75638-7-"+u+"-"+t,g:e.p({Enums:e.unref(o.HouseBillsTypeEnum),value:null==l?void 0:l.type}),h:e.t(null==l?void 0:l.amount),i:`item_f_${n}_${s}`,j:e.o(o=>{var u;return null==(u=e.unref(i.method))?void 0:u.handleFindSelect(l,n,s)},`item_f_${n}_${s}`)}))}:{},{n:`items_${n}`})),e:e.o(null==(w=e.unref(i.method))?void 0:w.handleParmaryClick),f:e.o(null==(M=e.unref(i.method))?void 0:M.handleQRCode),g:e.p({btnParimaryName:"分享账单",btnOtherName:"二维码收款",btnOtherShow:!0})})})});wx.createPage(s); diff --git a/dist/build/mp-weixin/BILL/send_bill/method.js b/dist/build/mp-weixin/BILL/send_bill/method.js index 5a25057..d614974 100644 --- a/dist/build/mp-weixin/BILL/send_bill/method.js +++ b/dist/build/mp-weixin/BILL/send_bill/method.js @@ -1 +1 @@ -"use strict";const l=require("../../common/vendor.js"),e=require("./model.js"),i=require("../../common/libraries/naviHelper.js"),u=require("../../gen/Apis.js"),o=require("../../common/libraries/apiLoading.js");require("../../common/libraries/userUserLogin.js");const s=require("../../common/libraries/sendWxWork.js"),a=(l,i)=>{e.useModel.currentHouses.value={id:l,name:i},o.getApiLoading(u.Apis.Bill.HouseBills.List,{asset_houses_id:l,type:1}).then((l=>{var i;null==(i=null==l?void 0:l.data)||i.map((l=>{var e;l.isSelect=!0,null==(e=null==l?void 0:l.bills)||e.map((l=>{l.isSelect=!0}))})),e.useModel.listData.value=(null==l?void 0:l.data)||[],console.log(l)}))},n={handleChange(l){var i,u,o,s,n;let d=null==(s=null==(u=null==(i=e.useModel)?void 0:i.showData)?void 0:u.value)?void 0:s.houseList[null==(o=null==l?void 0:l.detail)?void 0:o.value];a(null==d?void 0:d.asset_houses_id,null==(n=null==d?void 0:d.asset_house)?void 0:n.full_name),console.log(l,"e")},getList(){var l,i;o.getApiLoading(u.Apis.Customer.CustomerHouses.List,null==(i=null==(l=e.useModel)?void 0:l.formData)?void 0:i.value).then((l=>{var i,u,o,s,n,d;if(null==(u=null==(i=null==l?void 0:l.data)?void 0:i.houseList)?void 0:u.length){let e=null==(o=null==l?void 0:l.data)?void 0:o.houseList[0];null==(n=null==(s=null==l?void 0:l.data)?void 0:s.houseList)||n.map((l=>{var e;l.full_name=null==(e=null==l?void 0:l.asset_house)?void 0:e.full_name})),a(null==e?void 0:e.asset_houses_id,null==(d=null==e?void 0:e.asset_house)?void 0:d.full_name)}e.useModel.showData.value=null==l?void 0:l.data,console.log(l)}))},getHouseBill:a,handleSelect(l){var i,u;let o=e.useModel.listData.value[l].isSelect;e.useModel.listData.value[l].isSelect=!o,null==(u=null==(i=e.useModel.listData.value[l])?void 0:i.bills)||u.map((l=>{l.isSelect=!o}))},handleFindSelect(l,i,u){var o;let s=null==l?void 0:l.isSelect;e.useModel.listData.value[i].bills[u].isSelect=!s;let a=null==(o=e.useModel.listData.value[i].bills)?void 0:o.every((l=>null==l?void 0:l.isSelect));e.useModel.listData.value[i].isSelect=a},handleParmaryClick(){var l,u,o,a,n,d,t,v,r;let m=[];if(null==(o=null==(u=null==(l=e.useModel)?void 0:l.listData)?void 0:u.value)||o.map((l=>{var e,i;(null==(e=null==l?void 0:l.bills)?void 0:e.length)&&(null==(i=null==l?void 0:l.bills)||i.map((l=>{(null==l?void 0:l.isSelect)&&(null==m||m.push(null==l?void 0:l.id))})))})),!(null==m?void 0:m.length))return i.showToast("请至少选择一个月账单!");s.sendChatMessage({page:`/INDEX/bill_order/index.html?bill_ids=${JSON.stringify(m)}&house_id=${null==(d=null==(n=null==(a=e.useModel)?void 0:a.currentHouses)?void 0:n.value)?void 0:d.id}`,title:`分享给您${null==(r=null==(v=null==(t=e.useModel)?void 0:t.currentHouses)?void 0:v.value)?void 0:r.name}物业账单`,imgUrl:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K5B5RY2TQQAJ1GT2RZSK426V.jpg"})},handleQRCode(){var s,a,n;let d=[],t=0;if(null==(n=null==(a=null==(s=e.useModel)?void 0:s.listData)?void 0:a.value)||n.map((l=>{var e,i;(null==(e=null==l?void 0:l.bills)?void 0:e.length)&&(null==(i=null==l?void 0:l.bills)||i.map((l=>{(null==l?void 0:l.isSelect)&&(null==d||d.push(null==l?void 0:l.id),t+=parseFloat(null==l?void 0:l.amount))})))})),!(null==d?void 0:d.length))return i.showToast("请至少选择一个月账单!");o.getApiLoading(u.Apis.HouseOrder.HouseOrders.Store,{bill_ids:d||[],total_payable_amount:t,amount:t}).then((i=>{var u,o,s,a,n,d,v;l.index.navigateTo({url:`/BILL/poster/index?id=${null==(o=null==(u=e.useModel.currentHouses)?void 0:u.value)?void 0:o.id}&order_id=${null==(s=null==i?void 0:i.data)?void 0:s.id}&time=${null==(a=null==i?void 0:i.data)?void 0:a.created_at}&name=${null==(v=null==(d=null==(n=e.useModel)?void 0:n.currentHouses)?void 0:d.value)?void 0:v.name}&amount=${t}`})}))}};exports.method=n; +"use strict";const l=require("../../common/vendor.js"),e=require("./model.js"),i=require("../../common/libraries/naviHelper.js"),u=require("../../gen/Apis.js"),o=require("../../common/libraries/apiLoading.js");require("../../common/libraries/userUserLogin.js");const s=require("../../common/libraries/sendWxWork.js"),a=(l,i)=>{e.useModel.currentHouses.value={id:l,name:i},o.getApiLoading(u.Apis.Bill.HouseBills.List,{asset_houses_id:l,type:1}).then(l=>{var i;null==(i=null==l?void 0:l.data)||i.map(l=>{var e;l.isSelect=!0,null==(e=null==l?void 0:l.bills)||e.map(l=>{l.isSelect=!0})}),e.useModel.listData.value=(null==l?void 0:l.data)||[],console.log(l)})},n={handleChange(l){var i,u,o,s,n;let d=null==(s=null==(u=null==(i=e.useModel)?void 0:i.showData)?void 0:u.value)?void 0:s.houseList[null==(o=null==l?void 0:l.detail)?void 0:o.value];a(null==d?void 0:d.asset_houses_id,null==(n=null==d?void 0:d.asset_house)?void 0:n.full_name),console.log(l,"e")},getList(){var l,i;o.getApiLoading(u.Apis.Customer.CustomerHouses.List,null==(i=null==(l=e.useModel)?void 0:l.formData)?void 0:i.value).then(l=>{var i,u,o,s,n,d;if(null==(u=null==(i=null==l?void 0:l.data)?void 0:i.houseList)?void 0:u.length){let e=null==(o=null==l?void 0:l.data)?void 0:o.houseList[0];null==(n=null==(s=null==l?void 0:l.data)?void 0:s.houseList)||n.map(l=>{var e;l.full_name=null==(e=null==l?void 0:l.asset_house)?void 0:e.full_name}),a(null==e?void 0:e.asset_houses_id,null==(d=null==e?void 0:e.asset_house)?void 0:d.full_name)}e.useModel.showData.value=null==l?void 0:l.data,console.log(l)})},getHouseBill:a,handleSelect(l){var i,u;let o=e.useModel.listData.value[l].isSelect;e.useModel.listData.value[l].isSelect=!o,null==(u=null==(i=e.useModel.listData.value[l])?void 0:i.bills)||u.map(l=>{l.isSelect=!o})},handleFindSelect(l,i,u){var o;let s=null==l?void 0:l.isSelect;e.useModel.listData.value[i].bills[u].isSelect=!s;let a=null==(o=e.useModel.listData.value[i].bills)?void 0:o.every(l=>null==l?void 0:l.isSelect);e.useModel.listData.value[i].isSelect=a},handleParmaryClick(){var l,u,o,a,n,d,t,v,r;let m=[];if(null==(o=null==(u=null==(l=e.useModel)?void 0:l.listData)?void 0:u.value)||o.map(l=>{var e,i;(null==(e=null==l?void 0:l.bills)?void 0:e.length)&&(null==(i=null==l?void 0:l.bills)||i.map(l=>{(null==l?void 0:l.isSelect)&&(null==m||m.push(null==l?void 0:l.id))}))}),!(null==m?void 0:m.length))return i.showToast("请至少选择一个月账单!");s.sendChatMessage({page:`/INDEX/bill_order/index.html?bill_ids=${JSON.stringify(m)}&house_id=${null==(d=null==(n=null==(a=e.useModel)?void 0:a.currentHouses)?void 0:n.value)?void 0:d.id}`,title:`分享给您${null==(r=null==(v=null==(t=e.useModel)?void 0:t.currentHouses)?void 0:v.value)?void 0:r.name}物业账单`,imgUrl:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K5B5RY2TQQAJ1GT2RZSK426V.jpg"})},handleQRCode(){var s,a,n;let d=[],t=0;if(null==(n=null==(a=null==(s=e.useModel)?void 0:s.listData)?void 0:a.value)||n.map(l=>{var e,i;(null==(e=null==l?void 0:l.bills)?void 0:e.length)&&(null==(i=null==l?void 0:l.bills)||i.map(l=>{(null==l?void 0:l.isSelect)&&(null==d||d.push(null==l?void 0:l.id),t+=parseFloat(null==l?void 0:l.amount))}))}),!(null==d?void 0:d.length))return i.showToast("请至少选择一个月账单!");o.getApiLoading(u.Apis.HouseOrder.HouseOrders.Store,{bill_ids:d||[],total_payable_amount:t,amount:t}).then(i=>{var u,o,s,a,n,d,v;l.index.navigateTo({url:`/BILL/poster/index?id=${null==(o=null==(u=e.useModel.currentHouses)?void 0:u.value)?void 0:o.id}&order_id=${null==(s=null==i?void 0:i.data)?void 0:s.id}&time=${null==(a=null==i?void 0:i.data)?void 0:a.created_at}&name=${null==(v=null==(d=null==(n=e.useModel)?void 0:n.currentHouses)?void 0:d.value)?void 0:v.name}&amount=${t}`})})}};exports.method=n; diff --git a/dist/build/mp-weixin/CUSTOMER/assets/index.js b/dist/build/mp-weixin/CUSTOMER/assets/index.js index 8c1c733..6b50eef 100644 --- a/dist/build/mp-weixin/CUSTOMER/assets/index.js +++ b/dist/build/mp-weixin/CUSTOMER/assets/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),n=require("../../gen/Enums.js"),o=require("./method.js"),i=require("./model.js");if(require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-enum-tag"))()}Math||((()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-enum-tag/hs-enum-tag.js"))();const u=e.defineComponent({__name:"index",setup:u=>(e.onLoad((e=>{var n;i.useModel.formData.value=e,null==(n=o.method)||n.getUserHoueInfo(null==e?void 0:e.phone),console.log(e)})),(u,l)=>{var r,s;return{a:e.f(null==(s=null==(r=e.unref(i.useModel))?void 0:r.userHouse)?void 0:s.value,((i,u,l)=>{var r,s,t,a;return e.e({a:e.t(null==(r=null==i?void 0:i.asset_project)?void 0:r.name),b:e.t(null==(s=null==i?void 0:i.asset_building)?void 0:s.name),c:e.t(null==(t=null==i?void 0:i.asset_unit)?void 0:t.name),d:e.t(null==(a=null==i?void 0:i.asset_house)?void 0:a.name),e:"40156cf0-0-"+l,f:e.o((n=>{return o=`/BILL/outstanding_fee/show/index?id=${null==i?void 0:i.asset_houses_id}`,void e.index.navigateTo({url:o});var o}),`item_${u}`),g:"Owner"===(null==i?void 0:i.house_relation)},(null==i||i.house_relation,{}),{h:null==i?void 0:i.is_contact},(null==i||i.is_contact,{}),{i:null==i?void 0:i.residential_relation},(null==i?void 0:i.residential_relation)?{j:"40156cf0-1-"+l,k:e.p({Enums:e.unref(n.HouseOccupantsResidentialRelationEnum),value:null==i?void 0:i.residential_relation})}:{},{l:"Owner"!==(null==i?void 0:i.house_relation)},"Owner"!==(null==i?void 0:i.house_relation)?{m:e.o((n=>e.unref(o.method).handleUnbind(i)),`item_${u}`)}:{},{n:`item_${u}`})})),b:e.p({type:"right",size:"13",color:"#999"}),c:e.p({type:"plus",size:"20"}),d:e.o(((...n)=>{var i,u;return(null==(i=e.unref(o.method))?void 0:i.handleBindHouse)&&(null==(u=e.unref(o.method))?void 0:u.handleBindHouse(...n))}))}})});wx.createPage(u); +"use strict";const e=require("../../common/vendor.js"),n=require("../../gen/Enums.js"),o=require("./method.js"),i=require("./model.js");if(require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-enum-tag"))()}Math||((()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-enum-tag/hs-enum-tag.js"))();const u=e.defineComponent({__name:"index",setup:u=>(e.onLoad(e=>{var n;i.useModel.formData.value=e,null==(n=o.method)||n.getUserHoueInfo(null==e?void 0:e.phone),console.log(e)}),(u,l)=>{var r,s;return{a:e.f(null==(s=null==(r=e.unref(i.useModel))?void 0:r.userHouse)?void 0:s.value,(i,u,l)=>{var r,s,t,a;return e.e({a:e.t(null==(r=null==i?void 0:i.asset_project)?void 0:r.name),b:e.t(null==(s=null==i?void 0:i.asset_building)?void 0:s.name),c:e.t(null==(t=null==i?void 0:i.asset_unit)?void 0:t.name),d:e.t(null==(a=null==i?void 0:i.asset_house)?void 0:a.name),e:"40156cf0-0-"+l,f:e.o(n=>{return o=`/BILL/outstanding_fee/show/index?id=${null==i?void 0:i.asset_houses_id}`,void e.index.navigateTo({url:o});var o},`item_${u}`),g:"Owner"===(null==i?void 0:i.house_relation)},(null==i||i.house_relation,{}),{h:null==i?void 0:i.is_contact},(null==i||i.is_contact,{}),{i:null==i?void 0:i.residential_relation},(null==i?void 0:i.residential_relation)?{j:"40156cf0-1-"+l,k:e.p({Enums:e.unref(n.HouseOccupantsResidentialRelationEnum),value:null==i?void 0:i.residential_relation})}:{},{l:"Owner"!==(null==i?void 0:i.house_relation)},"Owner"!==(null==i?void 0:i.house_relation)?{m:e.o(n=>e.unref(o.method).handleUnbind(i),`item_${u}`)}:{},{n:`item_${u}`})}),b:e.p({type:"right",size:"13",color:"#999"}),c:e.p({type:"plus",size:"20"}),d:e.o((...n)=>{var i,u;return(null==(i=e.unref(o.method))?void 0:i.handleBindHouse)&&(null==(u=e.unref(o.method))?void 0:u.handleBindHouse(...n))})}})});wx.createPage(u); diff --git a/dist/build/mp-weixin/CUSTOMER/assets/method.js b/dist/build/mp-weixin/CUSTOMER/assets/method.js index be6327a..6a4c080 100644 --- a/dist/build/mp-weixin/CUSTOMER/assets/method.js +++ b/dist/build/mp-weixin/CUSTOMER/assets/method.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("../../gen/Apis.js"),n=require("../../common/libraries/apiLoading.js"),l=require("./model.js"),i=e=>{n.getApiLoading(o.Apis.Archive.HouseOccupants.GetCustomerHouse,{phone:e}).then((e=>{l.useModel.userHouse.value=null==e?void 0:e.data,console.log(e)}))},u={getUserHoueInfo:i,handleUnbind(u){e.index.showModal({title:"再次确认",content:"房屋人员解绑申请!此操作需后台审核,结果会以系统通知告知,敬请留意~",success:function(e){e.confirm?(n.getApiLoading(o.Apis.Archive.HouseRegisters.RemoveOwner,{house_occupants_id:null==u?void 0:u.id}).then((e=>{var o,n,u;i(null==(u=null==(n=null==(o=l.useModel)?void 0:o.formData)?void 0:n.value)?void 0:u.phone),console.log(e)})),console.log("用户点击确定")):e.cancel&&console.log("用户点击取消")}})},handleBindHouse(){var o,n,i,u,s,d;e.index.navigateTo({url:`/CUSTOMER/bind_house/index?phone=${null==(i=null==(n=null==(o=l.useModel)?void 0:o.formData)?void 0:n.value)?void 0:i.phone}&name=${null==(d=null==(s=null==(u=l.useModel)?void 0:u.formData)?void 0:s.value)?void 0:d.name}`})}};exports.method=u; +"use strict";const e=require("../../common/vendor.js"),o=require("../../gen/Apis.js"),n=require("../../common/libraries/apiLoading.js"),l=require("./model.js"),i=e=>{n.getApiLoading(o.Apis.Archive.HouseOccupants.GetCustomerHouse,{phone:e}).then(e=>{l.useModel.userHouse.value=null==e?void 0:e.data,console.log(e)})},u={getUserHoueInfo:i,handleUnbind(u){e.index.showModal({title:"再次确认",content:"房屋人员解绑申请!此操作需后台审核,结果会以系统通知告知,敬请留意~",success:function(e){e.confirm?(n.getApiLoading(o.Apis.Archive.HouseRegisters.RemoveOwner,{house_occupants_id:null==u?void 0:u.id}).then(e=>{var o,n,u;i(null==(u=null==(n=null==(o=l.useModel)?void 0:o.formData)?void 0:n.value)?void 0:u.phone),console.log(e)}),console.log("用户点击确定")):e.cancel&&console.log("用户点击取消")}})},handleBindHouse(){var o,n,i,u,s,d;e.index.navigateTo({url:`/CUSTOMER/bind_house/index?phone=${null==(i=null==(n=null==(o=l.useModel)?void 0:o.formData)?void 0:n.value)?void 0:i.phone}&name=${null==(d=null==(s=null==(u=l.useModel)?void 0:u.formData)?void 0:s.value)?void 0:d.name}`})}};exports.method=u; diff --git a/dist/build/mp-weixin/CUSTOMER/bind_house/index.js b/dist/build/mp-weixin/CUSTOMER/bind_house/index.js index 3d909ba..9902dd3 100644 --- a/dist/build/mp-weixin/CUSTOMER/bind_house/index.js +++ b/dist/build/mp-weixin/CUSTOMER/bind_house/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js");require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const o=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const n=require("../../gen/Enums.js"),l=require("./method.js"),u=require("./model.js");if(require("../../gen/Apis.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/sendWxWork.js"),require("../../common/libraries/userUserLogin.js"),!Array){(e.resolveComponent("hs-input")+e.resolveComponent("hs-cell")+e.resolveComponent("hs-footer")+e.resolveComponent("hs-empty")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../components/hs-input/hs-input.js")+(()=>"../../components/hs-cell/hs-cell.js")+(()=>"../../components/hs-footer/hs-footer.js")+(()=>"../../components/hs-empty/hs-empty.js")+(()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const r=e.defineComponent({__name:"index",setup(r){const s=o.useWeAppAuthStore();return e.onLoad((async o=>{var n,r,t;await(null==(n=e.getCurrentInstance())?void 0:n.appContext.config.globalProperties.$onLaunched),(null==o?void 0:o.phone)&&(u.useModel.bindPhone.value=!0,u.useModel.formData.value=o,null==(r=l.method)||r.nextStep("phone")),"wxwork"===(null==(t=null==s?void 0:s.data)?void 0:t.environment)&&e.index.qy.getCurExternalContact({success:function(e){u.useModel.formData.value.external_userid=null==e?void 0:e.userId,console.log("开始2",e)}})})),e.onUnload((()=>{u.useModel.bindHouseSelectPage.value=!1,u.useModel.bindHouseFormPage.value=!0,u.useModel.formData.value={}})),(o,r)=>{var s,t,i,a,d,m,v,c,p,h,f,b,g,j,M,q,x,_,S,C,H,P;return e.e({a:null==(t=null==(s=e.unref(u.useModel))?void 0:s.bindHouseFormPage)?void 0:t.value},(null==(a=null==(i=e.unref(u.useModel))?void 0:i.bindHouseFormPage)?void 0:a.value)?{b:e.o((o=>e.unref(u.useModel).formData.value.name=o)),c:e.p({textAlign:"right",valueModel:e.unref(u.useModel).formData.value.name}),d:e.p({title:"客户姓名",required:!0,borderTop:!0}),e:e.o((o=>e.unref(u.useModel).formData.value.phone=o)),f:e.p({maxLength:"11",type:"number",textAlign:"right",valueModel:e.unref(u.useModel).formData.value.phone}),g:e.p({title:"手机号",required:!0,borderTop:!0}),h:e.o(null==(d=e.unref(l.method))?void 0:d.nextStep),i:e.o(null==(m=e.unref(l.method))?void 0:m.handleInviteCustomer),j:e.p({btnParimaryName:"下一步",btnOtherName:"邀请客户绑定",btnOtherShow:!0})}:{},{k:null==(c=null==(v=e.unref(u.useModel))?void 0:v.bindHouseSelectPage)?void 0:c.value},(null==(h=null==(p=e.unref(u.useModel))?void 0:p.bindHouseSelectPage)?void 0:h.value)?e.e({l:!(null==(g=null==(b=null==(f=e.unref(u.useModel))?void 0:f.listData)?void 0:b.value)?void 0:g.length)},(null==(q=null==(M=null==(j=e.unref(u.useModel))?void 0:j.listData)?void 0:M.value)||q.length,{}),{m:e.f(null==(_=null==(x=e.unref(u.useModel))?void 0:x.listData)?void 0:_.value,((o,u,r)=>{var s,t,i,a;return e.e({a:e.t(null==(s=null==o?void 0:o.asset_project)?void 0:s.name),b:e.t(null==(t=null==o?void 0:o.asset_building)?void 0:t.name),c:e.t(null==(i=null==o?void 0:o.asset_unit)?void 0:i.name),d:e.t(null==(a=null==o?void 0:o.asset_house)?void 0:a.name),e:"d9cb103a-6-"+r,f:e.p({value:null==o?void 0:o.house_relation,size:"md",Enums:e.unref(n.HouseOccupantsHouseRelationEnum)}),g:null==o?void 0:o.residential_relation},(null==o?void 0:o.residential_relation)?{h:"d9cb103a-7-"+r,i:e.p({value:null==o?void 0:o.residential_relation,size:"md",Enums:e.unref(n.HouseOccupantsResidentialRelationEnum)})}:{},{j:null==o?void 0:o.isSelect},(null==o?void 0:o.isSelect)?{k:"d9cb103a-8-"+r,l:e.p({type:"checkbox-filled",size:"18",color:"#0082FA"})}:{m:"d9cb103a-9-"+r,n:e.p({type:"circle",size:"18",color:"#666"})},{o:`house_${u}`,p:e.o((n=>{var r;return null==(r=e.unref(l.method))?void 0:r.selectHouse(o,u)}),`house_${u}`)})})),n:e.o(null==(S=e.unref(l.method))?void 0:S.handleBindHouse),o:e.o(null==(C=e.unref(l.method))?void 0:C.handleBack),p:e.p({btnParimaryName:"绑定房屋",btnOtherShow:!0,btnOtherName:(null==(P=null==(H=e.unref(u.useModel))?void 0:H.bindPhone)?void 0:P.value)?"绑定其他房屋":"上一步"})}):{})}}});wx.createPage(r); +"use strict";const e=require("../../common/vendor.js");require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const o=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const n=require("../../gen/Enums.js"),l=require("./method.js"),u=require("./model.js");if(require("../../gen/Apis.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/sendWxWork.js"),require("../../common/libraries/userUserLogin.js"),!Array){(e.resolveComponent("hs-input")+e.resolveComponent("hs-cell")+e.resolveComponent("hs-footer")+e.resolveComponent("hs-empty")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../components/hs-input/hs-input.js")+(()=>"../../components/hs-cell/hs-cell.js")+(()=>"../../components/hs-footer/hs-footer.js")+(()=>"../../components/hs-empty/hs-empty.js")+(()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const r=e.defineComponent({__name:"index",setup(r){const s=o.useWeAppAuthStore();return e.onLoad(async o=>{var n,r,t;await(null==(n=e.getCurrentInstance())?void 0:n.appContext.config.globalProperties.$onLaunched),(null==o?void 0:o.phone)&&(u.useModel.bindPhone.value=!0,u.useModel.formData.value=o,null==(r=l.method)||r.nextStep("phone")),"wxwork"===(null==(t=null==s?void 0:s.data)?void 0:t.environment)&&e.index.qy.getCurExternalContact({success:function(e){u.useModel.formData.value.external_userid=null==e?void 0:e.userId,console.log("开始2",e)}})}),e.onUnload(()=>{u.useModel.bindHouseSelectPage.value=!1,u.useModel.bindHouseFormPage.value=!0,u.useModel.formData.value={}}),(o,r)=>{var s,t,i,a,d,m,v,c,p,h,f,b,g,j,M,q,x,_,S,C,H,P;return e.e({a:null==(t=null==(s=e.unref(u.useModel))?void 0:s.bindHouseFormPage)?void 0:t.value},(null==(a=null==(i=e.unref(u.useModel))?void 0:i.bindHouseFormPage)?void 0:a.value)?{b:e.o(o=>e.unref(u.useModel).formData.value.name=o),c:e.p({textAlign:"right",valueModel:e.unref(u.useModel).formData.value.name}),d:e.p({title:"客户姓名",required:!0,borderTop:!0}),e:e.o(o=>e.unref(u.useModel).formData.value.phone=o),f:e.p({maxLength:"11",type:"number",textAlign:"right",valueModel:e.unref(u.useModel).formData.value.phone}),g:e.p({title:"手机号",required:!0,borderTop:!0}),h:e.o(null==(d=e.unref(l.method))?void 0:d.nextStep),i:e.o(null==(m=e.unref(l.method))?void 0:m.handleInviteCustomer),j:e.p({btnParimaryName:"下一步",btnOtherName:"邀请客户绑定",btnOtherShow:!0})}:{},{k:null==(c=null==(v=e.unref(u.useModel))?void 0:v.bindHouseSelectPage)?void 0:c.value},(null==(h=null==(p=e.unref(u.useModel))?void 0:p.bindHouseSelectPage)?void 0:h.value)?e.e({l:!(null==(g=null==(b=null==(f=e.unref(u.useModel))?void 0:f.listData)?void 0:b.value)?void 0:g.length)},(null==(q=null==(M=null==(j=e.unref(u.useModel))?void 0:j.listData)?void 0:M.value)||q.length,{}),{m:e.f(null==(_=null==(x=e.unref(u.useModel))?void 0:x.listData)?void 0:_.value,(o,u,r)=>{var s,t,i,a;return e.e({a:e.t(null==(s=null==o?void 0:o.asset_project)?void 0:s.name),b:e.t(null==(t=null==o?void 0:o.asset_building)?void 0:t.name),c:e.t(null==(i=null==o?void 0:o.asset_unit)?void 0:i.name),d:e.t(null==(a=null==o?void 0:o.asset_house)?void 0:a.name),e:"d9cb103a-6-"+r,f:e.p({value:null==o?void 0:o.house_relation,size:"md",Enums:e.unref(n.HouseOccupantsHouseRelationEnum)}),g:null==o?void 0:o.residential_relation},(null==o?void 0:o.residential_relation)?{h:"d9cb103a-7-"+r,i:e.p({value:null==o?void 0:o.residential_relation,size:"md",Enums:e.unref(n.HouseOccupantsResidentialRelationEnum)})}:{},{j:null==o?void 0:o.isSelect},(null==o?void 0:o.isSelect)?{k:"d9cb103a-8-"+r,l:e.p({type:"checkbox-filled",size:"18",color:"#0082FA"})}:{m:"d9cb103a-9-"+r,n:e.p({type:"circle",size:"18",color:"#666"})},{o:`house_${u}`,p:e.o(n=>{var r;return null==(r=e.unref(l.method))?void 0:r.selectHouse(o,u)},`house_${u}`)})}),n:e.o(null==(S=e.unref(l.method))?void 0:S.handleBindHouse),o:e.o(null==(C=e.unref(l.method))?void 0:C.handleBack),p:e.p({btnParimaryName:"绑定房屋",btnOtherShow:!0,btnOtherName:(null==(P=null==(H=e.unref(u.useModel))?void 0:H.bindPhone)?void 0:P.value)?"绑定其他房屋":"上一步"})}):{})}}});wx.createPage(r); diff --git a/dist/build/mp-weixin/CUSTOMER/bind_house/method.js b/dist/build/mp-weixin/CUSTOMER/bind_house/method.js index aa14285..eb93db4 100644 --- a/dist/build/mp-weixin/CUSTOMER/bind_house/method.js +++ b/dist/build/mp-weixin/CUSTOMER/bind_house/method.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js");require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const o=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const l=require("../../common/libraries/apiLoading.js"),n=require("../../common/libraries/naviHelper.js"),i=require("../../common/libraries/sendWxWork.js"),u=require("../../common/libraries/userUserLogin.js"),s=require("../../gen/Apis.js"),a=require("./model.js"),r=o.useWeAppAuthStore(),d={nextStep(o){var i,r,d;let t=null==(r=null==(i=a.useModel)?void 0:i.formData)?void 0:r.value;if(!(null==(d=u.getUser)?void 0:d.toPageLogin()))return(null==t?void 0:t.phone)&&(null==t?void 0:t.name)?void l.getApiLoading(s.Apis.Archive.HouseOccupants.GetCustomerHouse,{phone:null==t?void 0:t.phone}).then((l=>{var n,i,u,s,r,d,t,v,m,h,c,g,p;(null==(n=null==l?void 0:l.data)?void 0:n.length)?(a.useModel.bindHouseSelectPage.value=!0,a.useModel.bindHouseFormPage.value=!1,a.useModel.listData.value=null==l?void 0:l.data):"phone"===o?e.index.redirectTo({url:`/CUSTOMER/house_select/index?phone=${null==(s=null==(u=null==(i=a.useModel)?void 0:i.formData)?void 0:u.value)?void 0:s.phone}&name=${null==(t=null==(d=null==(r=a.useModel)?void 0:r.formData)?void 0:d.value)?void 0:t.name}`}):e.index.navigateTo({url:`/CUSTOMER/house_select/index?phone=${null==(h=null==(m=null==(v=a.useModel)?void 0:v.formData)?void 0:m.value)?void 0:h.phone}&name=${null==(p=null==(g=null==(c=a.useModel)?void 0:c.formData)?void 0:g.value)?void 0:p.name}`}),console.log(l)})):n.showToast("请填写姓名/手机号")},selectHouse(e,o){var l,n,i;let u=null==(i=null==(n=null==(l=a.useModel)?void 0:l.listData)?void 0:n.value[o])?void 0:i.isSelect;a.useModel.listData.value[o].isSelect=!u},handleBack(){var o,l,n,i,u,s,r,d;(null==(l=null==(o=a.useModel)?void 0:o.bindPhone)?void 0:l.value)?e.index.navigateTo({url:`/CUSTOMER/house_select/index?phone=${null==(u=null==(i=null==(n=a.useModel)?void 0:n.formData)?void 0:i.value)?void 0:u.phone}&name=${null==(d=null==(r=null==(s=a.useModel)?void 0:s.formData)?void 0:r.value)?void 0:d.name}`}):(a.useModel.bindHouseSelectPage.value=!1,a.useModel.bindHouseFormPage.value=!0)},handleBindHouse(){var o,i,u,r;let d=null==(i=null==(o=a.useModel)?void 0:o.formData)?void 0:i.value,t=[];if(null==(r=null==(u=a.useModel)?void 0:u.listData)||r.value.map((e=>{(null==e?void 0:e.isSelect)&&t.push({asset_houses_id:null==e?void 0:e.asset_houses_id,residential_relation:null==e?void 0:e.residential_relation})})),!(null==t?void 0:t.length))return n.showToast("请至少选择一套房屋!");console.log(t),l.getApiLoading(s.Apis.Archive.HouseRegisters.Store,{...d,house_info:t}).then((o=>{n.showToastBack("绑定成功",1,!1,(()=>{e.index.reLaunch({url:"/CUSTOMER/house_list/index"})})),console.log(o)}))},handleInviteCustomer(){var e;"wxwork"===(null==(e=null==r?void 0:r.data)?void 0:e.environment)?i.sendChatMessage({page:"/INDEX/binding/index.html",title:"邀请你绑定房屋"}):i.navigateToMiniProgram({path:"/pages/forward/index?source=HouseholdRegistration",envVersion:"develop",extraData:{source:"HouseholdRegistration"}})}};exports.method=d; +"use strict";const e=require("../../common/vendor.js");require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const o=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const l=require("../../common/libraries/apiLoading.js"),n=require("../../common/libraries/naviHelper.js"),i=require("../../common/libraries/sendWxWork.js"),u=require("../../common/libraries/userUserLogin.js"),s=require("../../gen/Apis.js"),a=require("./model.js"),r=o.useWeAppAuthStore(),d={nextStep(o){var i,r,d;let t=null==(r=null==(i=a.useModel)?void 0:i.formData)?void 0:r.value;if(!(null==(d=u.getUser)?void 0:d.toPageLogin()))return(null==t?void 0:t.phone)&&(null==t?void 0:t.name)?void l.getApiLoading(s.Apis.Archive.HouseOccupants.GetCustomerHouse,{phone:null==t?void 0:t.phone}).then(l=>{var n,i,u,s,r,d,t,v,m,h,c,g,p;(null==(n=null==l?void 0:l.data)?void 0:n.length)?(a.useModel.bindHouseSelectPage.value=!0,a.useModel.bindHouseFormPage.value=!1,a.useModel.listData.value=null==l?void 0:l.data):"phone"===o?e.index.redirectTo({url:`/CUSTOMER/house_select/index?phone=${null==(s=null==(u=null==(i=a.useModel)?void 0:i.formData)?void 0:u.value)?void 0:s.phone}&name=${null==(t=null==(d=null==(r=a.useModel)?void 0:r.formData)?void 0:d.value)?void 0:t.name}`}):e.index.navigateTo({url:`/CUSTOMER/house_select/index?phone=${null==(h=null==(m=null==(v=a.useModel)?void 0:v.formData)?void 0:m.value)?void 0:h.phone}&name=${null==(p=null==(g=null==(c=a.useModel)?void 0:c.formData)?void 0:g.value)?void 0:p.name}`}),console.log(l)}):n.showToast("请填写姓名/手机号")},selectHouse(e,o){var l,n,i;let u=null==(i=null==(n=null==(l=a.useModel)?void 0:l.listData)?void 0:n.value[o])?void 0:i.isSelect;a.useModel.listData.value[o].isSelect=!u},handleBack(){var o,l,n,i,u,s,r,d;(null==(l=null==(o=a.useModel)?void 0:o.bindPhone)?void 0:l.value)?e.index.navigateTo({url:`/CUSTOMER/house_select/index?phone=${null==(u=null==(i=null==(n=a.useModel)?void 0:n.formData)?void 0:i.value)?void 0:u.phone}&name=${null==(d=null==(r=null==(s=a.useModel)?void 0:s.formData)?void 0:r.value)?void 0:d.name}`}):(a.useModel.bindHouseSelectPage.value=!1,a.useModel.bindHouseFormPage.value=!0)},handleBindHouse(){var o,i,u,r;let d=null==(i=null==(o=a.useModel)?void 0:o.formData)?void 0:i.value,t=[];if(null==(r=null==(u=a.useModel)?void 0:u.listData)||r.value.map(e=>{(null==e?void 0:e.isSelect)&&t.push({asset_houses_id:null==e?void 0:e.asset_houses_id,residential_relation:null==e?void 0:e.residential_relation})}),!(null==t?void 0:t.length))return n.showToast("请至少选择一套房屋!");console.log(t),l.getApiLoading(s.Apis.Archive.HouseRegisters.Store,{...d,house_info:t}).then(o=>{n.showToastBack("绑定成功",1,!1,()=>{e.index.reLaunch({url:"/CUSTOMER/house_list/index"})}),console.log(o)})},handleInviteCustomer(){var e;"wxwork"===(null==(e=null==r?void 0:r.data)?void 0:e.environment)?i.sendChatMessage({page:"/INDEX/binding/index.html",title:"邀请你绑定房屋"}):i.navigateToMiniProgram({path:"/pages/forward/index?source=HouseholdRegistration",envVersion:"develop",extraData:{source:"HouseholdRegistration"}})}};exports.method=d; diff --git a/dist/build/mp-weixin/CUSTOMER/bind_house_form/index.js b/dist/build/mp-weixin/CUSTOMER/bind_house_form/index.js index f54e740..3797298 100644 --- a/dist/build/mp-weixin/CUSTOMER/bind_house_form/index.js +++ b/dist/build/mp-weixin/CUSTOMER/bind_house_form/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("./method.js"),r=require("./model.js");if(require("../../common/libraries/naviHelper.js"),require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-cell")+e.resolveComponent("hs-radio-cell-picker")+e.resolveComponent("hs-input")+e.resolveComponent("hs-upload-id-card")+e.resolveComponent("hs-upload")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../components/hs-cell/hs-cell.js")+(()=>"../../components/hs-radio-cell-picker/hs-radio-cell-picker.js")+(()=>"../../components/hs-input/hs-input.js")+(()=>"../../components/hs-upload-id-card/hs-upload-id-card.js")+(()=>"../../components/hs-upload/hs-upload.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const a=e.defineComponent({__name:"index",setup(a){const l={AddOccupant:{text:"添加住户",value:"AddOccupant"},AddOwner:{text:"添加产权人",value:"AddOwner"}},u={Tenant:{text:"租客",color:"#fa8c16",value:"Tenant"},Resident:{text:"住户",color:"#2db7f5",value:"Resident"},PrimaryTenant:{text:"主租人",color:"#87d068",value:"PrimaryTenant"}};return e.onLoad((e=>{r.useModel.formData.value.asset_houses_id=null==e?void 0:e.asset_houses_id,console.log(e,"222")})),e.onShow((()=>{var e;null==(e=o.method)||e.init()})),e.onUnload((()=>{r.useModel.formData.value={type:"AddOwner",card_type:"MainlandID",house_relation:"Owner"}})),(a,n)=>{var t,d,s,i,m,p,f;return e.e({a:e.o(null==(t=e.unref(o.method))?void 0:t.handleToSelectHouse),b:e.p({title:"选择房屋",required:!0,borderTop:!0,isLink:!0,value:null==(i=null==(s=null==(d=e.unref(r.useModel))?void 0:d.formData)?void 0:s.value)?void 0:i.full_name,isPlaceholder:"请选择房屋"}),c:e.o((o=>e.unref(r.useModel).formData.value.type=o)),d:e.p({Enums:l,title:"类型",borderTop:!0,required:!0,valueModel:e.unref(r.useModel).formData.value.type}),e:"AddOccupant"===e.unref(r.useModel).formData.value.type},"AddOccupant"===e.unref(r.useModel).formData.value.type?{f:e.o((o=>e.unref(r.useModel).formData.value.residential_relation=o)),g:e.p({Enums:u,title:"居住关系",borderTop:!0,required:!0,valueModel:e.unref(r.useModel).formData.value.residential_relation})}:{},{h:e.o((o=>e.unref(r.useModel).formData.value.name=o)),i:e.p({textAlign:"right",valueModel:e.unref(r.useModel).formData.value.name}),j:e.p({title:"真实姓名",required:!0,borderTop:!0}),k:e.o((o=>e.unref(r.useModel).formData.value.phone=o)),l:e.p({maxLength:"11",textAlign:"right",type:"number",valueModel:e.unref(r.useModel).formData.value.phone}),m:e.p({title:"手机号",required:!0,borderTop:!0}),n:e.o((o=>e.unref(r.useModel).formData.value.id_card=o)),o:e.p({maxLength:"18",textAlign:"right",valueModel:e.unref(r.useModel).formData.value.id_card}),p:e.p({title:"身份证号",required:!0,borderTop:!0}),q:e.o((o=>e.unref(r.useModel).formData.value.card_front_image=o)),r:e.o((o=>e.unref(r.useModel).formData.value.card_back_image=o)),s:e.p({required:!0,valueFrontModel:e.unref(r.useModel).formData.value.card_front_image,valueBackModel:e.unref(r.useModel).formData.value.card_back_image}),t:"AddOwner"===e.unref(r.useModel).formData.value.type},"AddOwner"===e.unref(r.useModel).formData.value.type?{v:e.o((o=>e.unref(r.useModel).formData.value.ownership_info=o)),w:e.p({title:"上传房产证",count:10,size:4,required:!0,borderTop:!0,valueModel:e.unref(r.useModel).formData.value.ownership_info})}:{},{x:e.o(null==(m=e.unref(o.method))?void 0:m.handleSubmit),y:e.p({btnParimaryName:"绑定房屋",loading:null==(f=null==(p=e.unref(r.useModel))?void 0:p.loading)?void 0:f.value})})}}});wx.createPage(a); +"use strict";const e=require("../../common/vendor.js"),o=require("./method.js"),r=require("./model.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/naviHelper.js"),!Array){(e.resolveComponent("hs-popup-project-houer")+e.resolveComponent("hs-radio-cell-picker")+e.resolveComponent("hs-input")+e.resolveComponent("hs-cell")+e.resolveComponent("hs-upload-id-card")+e.resolveComponent("hs-upload")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../components/hs-popup-project-houer/hs-popup-project-houer.js")+(()=>"../../components/hs-radio-cell-picker/hs-radio-cell-picker.js")+(()=>"../../components/hs-input/hs-input.js")+(()=>"../../components/hs-cell/hs-cell.js")+(()=>"../../components/hs-upload-id-card/hs-upload-id-card.js")+(()=>"../../components/hs-upload/hs-upload.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const a=e.defineComponent({__name:"index",setup(a){const u={AddOccupant:{text:"添加住户",value:"AddOccupant"},AddOwner:{text:"添加产权人",value:"AddOwner"}},l={Tenant:{text:"租客",color:"#fa8c16",value:"Tenant"},Resident:{text:"住户",color:"#2db7f5",value:"Resident"},PrimaryTenant:{text:"主租人",color:"#87d068",value:"PrimaryTenant"}};return e.onLoad(e=>{r.useModel.formData.value.asset_houses_id=null==e?void 0:e.asset_houses_id,console.log(e,"222")}),e.onShow(()=>{var e;null==(e=o.method)||e.init()}),e.onUnload(()=>{r.useModel.formData.value={type:"AddOwner",card_type:"MainlandID",house_relation:"Owner"}}),(a,n)=>{var t,d,s,i,p,m,c;return e.e({a:e.o(null==(t=e.unref(o.method))?void 0:t.handleSelectProject),b:e.p({title:"选择房屋",defaultValueName:null==(i=null==(s=null==(d=e.unref(r.useModel))?void 0:d.formData)?void 0:s.value)?void 0:i.full_name}),c:e.o(o=>e.unref(r.useModel).formData.value.type=o),d:e.p({Enums:u,title:"类型",borderTop:!0,required:!0,valueModel:e.unref(r.useModel).formData.value.type}),e:"AddOccupant"===e.unref(r.useModel).formData.value.type},"AddOccupant"===e.unref(r.useModel).formData.value.type?{f:e.o(o=>e.unref(r.useModel).formData.value.residential_relation=o),g:e.p({Enums:l,title:"居住关系",borderTop:!0,required:!0,valueModel:e.unref(r.useModel).formData.value.residential_relation})}:{},{h:e.o(o=>e.unref(r.useModel).formData.value.name=o),i:e.p({textAlign:"right",valueModel:e.unref(r.useModel).formData.value.name}),j:e.p({title:"真实姓名",required:!0,borderTop:!0}),k:e.o(o=>e.unref(r.useModel).formData.value.phone=o),l:e.p({maxLength:"11",textAlign:"right",type:"number",valueModel:e.unref(r.useModel).formData.value.phone}),m:e.p({title:"手机号",required:!0,borderTop:!0}),n:e.o(o=>e.unref(r.useModel).formData.value.id_card=o),o:e.p({maxLength:"18",textAlign:"right",valueModel:e.unref(r.useModel).formData.value.id_card}),p:e.p({title:"身份证号",required:!0,borderTop:!0}),q:e.o(o=>e.unref(r.useModel).formData.value.card_front_image=o),r:e.o(o=>e.unref(r.useModel).formData.value.card_back_image=o),s:e.p({required:!0,valueFrontModel:e.unref(r.useModel).formData.value.card_front_image,valueBackModel:e.unref(r.useModel).formData.value.card_back_image}),t:"AddOwner"===e.unref(r.useModel).formData.value.type},"AddOwner"===e.unref(r.useModel).formData.value.type?{v:e.o(o=>e.unref(r.useModel).formData.value.ownership_info=o),w:e.p({title:"上传房产证",count:10,size:4,required:!0,borderTop:!0,valueModel:e.unref(r.useModel).formData.value.ownership_info})}:{},{x:e.o(null==(p=e.unref(o.method))?void 0:p.handleSubmit),y:e.p({btnParimaryName:"绑定房屋",loading:null==(c=null==(m=e.unref(r.useModel))?void 0:m.loading)?void 0:c.value})})}}});wx.createPage(a); diff --git a/dist/build/mp-weixin/CUSTOMER/bind_house_form/index.json b/dist/build/mp-weixin/CUSTOMER/bind_house_form/index.json index 0aa558a..a736d4a 100644 --- a/dist/build/mp-weixin/CUSTOMER/bind_house_form/index.json +++ b/dist/build/mp-weixin/CUSTOMER/bind_house_form/index.json @@ -1,9 +1,10 @@ { "navigationBarTitleText": "绑定产权人", "usingComponents": { - "hs-cell": "../../components/hs-cell/hs-cell", + "hs-popup-project-houer": "../../components/hs-popup-project-houer/hs-popup-project-houer", "hs-radio-cell-picker": "../../components/hs-radio-cell-picker/hs-radio-cell-picker", "hs-input": "../../components/hs-input/hs-input", + "hs-cell": "../../components/hs-cell/hs-cell", "hs-upload-id-card": "../../components/hs-upload-id-card/hs-upload-id-card", "hs-upload": "../../components/hs-upload/hs-upload", "hs-footer": "../../components/hs-footer/hs-footer" diff --git a/dist/build/mp-weixin/CUSTOMER/bind_house_form/index.wxml b/dist/build/mp-weixin/CUSTOMER/bind_house_form/index.wxml index c5d7180..3c2882f 100644 --- a/dist/build/mp-weixin/CUSTOMER/bind_house_form/index.wxml +++ b/dist/build/mp-weixin/CUSTOMER/bind_house_form/index.wxml @@ -1 +1 @@ - 个人信息 \ No newline at end of file + 个人信息 \ No newline at end of file diff --git a/dist/build/mp-weixin/CUSTOMER/bind_house_form/method.js b/dist/build/mp-weixin/CUSTOMER/bind_house_form/method.js index 73f3cc6..78c4abb 100644 --- a/dist/build/mp-weixin/CUSTOMER/bind_house_form/method.js +++ b/dist/build/mp-weixin/CUSTOMER/bind_house_form/method.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/naviHelper.js"),l=require("./model.js"),s=require("../../gen/Apis.js"),r=require("../../common/libraries/apiLoading.js");require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWeAppAuthStore.js");const i=require("../../common/store/useWorkStore.js").useWorkStore(),u={init(){var e,o,s;console.log("init",null==i?void 0:i.selectWorkHouse),l.useModel.formData.value={...l.useModel.formData.value},(null==(e=null==i?void 0:i.selectWorkHouse)?void 0:e.value)&&(l.useModel.formData.value={...l.useModel.formData.value,asset_houses_id:null==(o=null==i?void 0:i.selectWorkHouse)?void 0:o.value,full_name:null==(s=null==i?void 0:i.selectWorkHouse)?void 0:s.label})},handleSubmit(){var i,u,n,t,a;let d=null==(u=null==(i=l.useModel)?void 0:i.formData)?void 0:u.value;return(null==d?void 0:d.asset_houses_id)?(null==d?void 0:d.type)?("AddOwner"===d.type?(d.house_relation="Owner",d.residential_relation="PropertyOwner"):d.house_relation="Owner",(null==d?void 0:d.residential_relation)?(null==d?void 0:d.name)?(null==d?void 0:d.phone)?(null==d?void 0:d.id_card)?(null==(n=null==d?void 0:d.card_front_image)?void 0:n.length)&&(null==(t=null==d?void 0:d.card_back_image)?void 0:t.length)?"AddOwner"!==d.type||(null==(a=null==d?void 0:d.ownership_info)?void 0:a.length)?void r.getApiLoading(s.Apis.Archive.HouseRegisters.RegisterHouse,{...d,customer_info:[d]}).then((o=>{e.index.redirectTo({url:"/CUSTOMER/bind_house_form/success"}),console.log(o)})):o.showToast("请上传房产证"):o.showToast("请上传身份证正反面"):o.showToast("请填写身份证号"):o.showToast("请填写手机号"):o.showToast("请填写姓名"):o.showToast("请选择居住关系")):o.showToast("请选择类型"):o.showToast("请选择房屋")},handleToSelectHouse(){e.index.navigateTo({url:"/pages/public/asset_houses/index?type=work_add"})}};exports.method=u; +"use strict";const e=require("../../common/vendor.js");require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWeAppAuthStore.js");const o=require("../../common/store/useWorkStore.js"),l=require("../../common/libraries/apiLoading.js"),s=require("../../common/libraries/naviHelper.js"),r=require("../../gen/Apis.js"),i=require("./model.js"),u=o.useWorkStore(),n={init(){var e,o,l;console.log("init",null==u?void 0:u.selectWorkHouse),i.useModel.formData.value={...i.useModel.formData.value},(null==(e=null==u?void 0:u.selectWorkHouse)?void 0:e.id)&&(i.useModel.formData.value={...i.useModel.formData.value,asset_houses_id:null==(o=null==u?void 0:u.selectWorkHouse)?void 0:o.id,full_name:null==(l=null==u?void 0:u.selectWorkHouse)?void 0:l.full_name})},handleSelectProject(e){var o,l;let s=e[3];i.useModel.formData.value={...null==(l=null==(o=i.useModel)?void 0:o.formData)?void 0:l.value,asset_houses_id:null==s?void 0:s.id,full_name:null==s?void 0:s.full_name},console.log(e,"data")},handleSubmit(){var o,u,n,a,t;let d=null==(u=null==(o=i.useModel)?void 0:o.formData)?void 0:u.value;return(null==d?void 0:d.asset_houses_id)?(null==d?void 0:d.type)?("AddOwner"===d.type?(d.house_relation="Owner",d.residential_relation="PropertyOwner"):d.house_relation="Owner",(null==d?void 0:d.residential_relation)?(null==d?void 0:d.name)?(null==d?void 0:d.phone)?(null==d?void 0:d.id_card)?(null==(n=null==d?void 0:d.card_front_image)?void 0:n.length)&&(null==(a=null==d?void 0:d.card_back_image)?void 0:a.length)?"AddOwner"!==d.type||(null==(t=null==d?void 0:d.ownership_info)?void 0:t.length)?void l.getApiLoading(r.Apis.Archive.HouseRegisters.RegisterHouse,{...d,customer_info:[d]}).then(o=>{e.index.redirectTo({url:"/CUSTOMER/bind_house_form/success"}),console.log(o)}):s.showToast("请上传房产证"):s.showToast("请上传身份证正反面"):s.showToast("请填写身份证号"):s.showToast("请填写手机号"):s.showToast("请填写姓名"):s.showToast("请选择居住关系")):s.showToast("请选择类型"):s.showToast("请选择房屋")},handleToSelectHouse(){e.index.navigateTo({url:"/pages/public/asset_houses/index?type=work_add"})}};exports.method=n; diff --git a/dist/build/mp-weixin/CUSTOMER/bind_house_form/success.js b/dist/build/mp-weixin/CUSTOMER/bind_house_form/success.js index 85502f0..f8a1b7d 100644 --- a/dist/build/mp-weixin/CUSTOMER/bind_house_form/success.js +++ b/dist/build/mp-weixin/CUSTOMER/bind_house_form/success.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js");if(!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-button"))()}Math||((()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-button/hs-button.js"))();const n=e.defineComponent({__name:"success",setup:n=>(n,o)=>({a:e.p({type:"checkbox-filled",size:"50",color:"#0082fa"}),b:e.o((n=>{e.index.switchTab({url:"/pages/index/index"})})),c:e.p({label:"返回首页",type:"primary",size:"md"})})}),o=e._export_sfc(n,[["__scopeId","data-v-c81c2027"]]);wx.createPage(o); +"use strict";const e=require("../../common/vendor.js");if(!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-button"))()}Math||((()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-button/hs-button.js"))();const n=e.defineComponent({__name:"success",setup:n=>(n,o)=>({a:e.p({type:"checkbox-filled",size:"50",color:"#0082fa"}),b:e.o(n=>{e.index.switchTab({url:"/pages/index/index"})}),c:e.p({label:"返回首页",type:"primary",size:"md"})})}),o=e._export_sfc(n,[["__scopeId","data-v-c81c2027"]]);wx.createPage(o); diff --git a/dist/build/mp-weixin/CUSTOMER/house_Identity/index.js b/dist/build/mp-weixin/CUSTOMER/house_Identity/index.js index 319a805..79281ee 100644 --- a/dist/build/mp-weixin/CUSTOMER/house_Identity/index.js +++ b/dist/build/mp-weixin/CUSTOMER/house_Identity/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js");require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const o=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const n=require("../../gen/Enums.js"),l=require("./method.js"),r=require("./model.js");if(require("../../gen/Apis.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/sendWxWork.js"),!Array){(e.resolveComponent("hs-radio")+e.resolveComponent("uni-icons")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../components/hs-radio/hs-radio.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const i=e.defineComponent({__name:"index",setup(i){const s=o.useWeAppAuthStore();return e.onLoad((async o=>{var n,l;await(null==(n=e.getCurrentInstance())?void 0:n.appContext.config.globalProperties.$onLaunched),r.useModel.formData.value=o,console.log(o,"eee"),"wxwork"===(null==(l=null==s?void 0:s.data)?void 0:l.environment)&&e.index.qy.getCurExternalContact({success:function(e){r.useModel.formData.value={external_userid:null==e?void 0:e.userId,...o},console.log("开始2",e)},fail:function(e){r.useModel.formData.value=o,console.log("失败",e)}})})),(o,i)=>{var s,u,a,t,d;return{a:e.t(null==(a=null==(u=null==(s=e.unref(r.useModel))?void 0:s.formData)?void 0:u.value)?void 0:a.full_name),b:e.o((o=>e.unref(r.useModel).formData.value.residential_relation=o)),c:e.p({Enums:e.unref(n.HouseOccupantsResidentialRelationEnum),valueModel:e.unref(r.useModel).formData.value.residential_relation}),d:e.f(null==(d=null==(t=e.unref(r.useModel))?void 0:t.collapse_list)?void 0:d.value,((o,n,r)=>e.e({a:e.t(null==o?void 0:o.label),b:e.t((null==o?void 0:o.isShow)?"收起":"展开"),c:"5fd4d2bc-1-"+r,d:e.p({type:(null==o?void 0:o.isShow)?"down":"right",size:"13",color:"#999"}),e:e.o((e=>o.isShow=!o.isShow),`collapse_${n}`),f:null==o?void 0:o.isShow},(null==o?void 0:o.isShow)?{g:e.f(null==o?void 0:o.children,((o,i,s)=>e.e({a:e.t(null==o?void 0:o.label),b:null==o?void 0:o.btnName},(null==o?void 0:o.btnName)?{c:e.t(null==o?void 0:o.btnName),d:"5fd4d2bc-2-"+r+"-"+s,e:e.p({type:"right",size:"13",color:"#0082FA"}),f:e.o((n=>{var r;return null==(r=e.unref(l.method))?void 0:r.handleFindLinkClick(o)}),`collapse_${n}_${i}`)}:{},{g:`collapse_${n}_${i}`})))}:{},{h:`collapse_${n}`}))),e:e.o(e.unref(l.method).handleBindHouse),f:e.p({btnParimaryName:"绑定新房屋"})}}}});wx.createPage(i); +"use strict";const e=require("../../common/vendor.js");require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const o=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const n=require("../../gen/Enums.js"),l=require("./method.js"),r=require("./model.js");if(require("../../gen/Apis.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/sendWxWork.js"),!Array){(e.resolveComponent("hs-radio")+e.resolveComponent("uni-icons")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../components/hs-radio/hs-radio.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const i=e.defineComponent({__name:"index",setup(i){const s=o.useWeAppAuthStore();return e.onLoad(async o=>{var n,l;await(null==(n=e.getCurrentInstance())?void 0:n.appContext.config.globalProperties.$onLaunched),r.useModel.formData.value=o,console.log(o,"eee"),"wxwork"===(null==(l=null==s?void 0:s.data)?void 0:l.environment)&&e.index.qy.getCurExternalContact({success:function(e){r.useModel.formData.value={external_userid:null==e?void 0:e.userId,...o},console.log("开始2",e)},fail:function(e){r.useModel.formData.value=o,console.log("失败",e)}})}),(o,i)=>{var s,u,a,t,d;return{a:e.t(null==(a=null==(u=null==(s=e.unref(r.useModel))?void 0:s.formData)?void 0:u.value)?void 0:a.full_name),b:e.o(o=>e.unref(r.useModel).formData.value.residential_relation=o),c:e.p({Enums:e.unref(n.HouseOccupantsResidentialRelationEnum),valueModel:e.unref(r.useModel).formData.value.residential_relation}),d:e.f(null==(d=null==(t=e.unref(r.useModel))?void 0:t.collapse_list)?void 0:d.value,(o,n,r)=>e.e({a:e.t(null==o?void 0:o.label),b:e.t((null==o?void 0:o.isShow)?"收起":"展开"),c:"5fd4d2bc-1-"+r,d:e.p({type:(null==o?void 0:o.isShow)?"down":"right",size:"13",color:"#999"}),e:e.o(e=>o.isShow=!o.isShow,`collapse_${n}`),f:null==o?void 0:o.isShow},(null==o?void 0:o.isShow)?{g:e.f(null==o?void 0:o.children,(o,i,s)=>e.e({a:e.t(null==o?void 0:o.label),b:null==o?void 0:o.btnName},(null==o?void 0:o.btnName)?{c:e.t(null==o?void 0:o.btnName),d:"5fd4d2bc-2-"+r+"-"+s,e:e.p({type:"right",size:"13",color:"#0082FA"}),f:e.o(n=>{var r;return null==(r=e.unref(l.method))?void 0:r.handleFindLinkClick(o)},`collapse_${n}_${i}`)}:{},{g:`collapse_${n}_${i}`}))}:{},{h:`collapse_${n}`})),e:e.o(e.unref(l.method).handleBindHouse),f:e.p({btnParimaryName:"绑定新房屋"})}}}});wx.createPage(i); diff --git a/dist/build/mp-weixin/CUSTOMER/house_Identity/method.js b/dist/build/mp-weixin/CUSTOMER/house_Identity/method.js index ab4b432..949ad60 100644 --- a/dist/build/mp-weixin/CUSTOMER/house_Identity/method.js +++ b/dist/build/mp-weixin/CUSTOMER/house_Identity/method.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),i=require("../../common/libraries/apiLoading.js"),o=require("../../common/libraries/naviHelper.js"),s=require("../../common/libraries/sendWxWork.js"),l=require("../../gen/Apis.js"),n=require("./model.js"),a={handleBindHouse(){var s,a;let u=null==(a=null==(s=n.useModel)?void 0:s.formData)?void 0:a.value;if(!(null==u?void 0:u.residential_relation))return o.showToast("请选择身份!");let r=[{asset_houses_id:null==u?void 0:u.asset_houses_id,residential_relation:null==u?void 0:u.residential_relation}];i.getApiLoading(l.Apis.Archive.HouseRegisters.Store,{...u,house_info:r}).then((i=>{e.index.reLaunch({url:`/CUSTOMER/house_Identity/success?asset_houses_id=${null==u?void 0:u.asset_houses_id}&name=${null==u?void 0:u.name}&phone=${null==u?void 0:u.phone}}`}),console.log(i)}))},handleFindLinkClick(i){var o,l,a;"link"===(null==i?void 0:i.type)&&e.index.navigateTo({url:`${null==i?void 0:i.url}?asset_houses_id=${null==(o=n.useModel.formData.value)?void 0:o.asset_houses_id}&name=${null==(l=n.useModel.formData.value)?void 0:l.name}&phone=${null==(a=n.useModel.formData.value)?void 0:a.phone}`}),"invitation"===(null==i?void 0:i.type)&&s.sendChatMessage({page:"/INDEX/binding/index.html",title:"邀请你绑定房屋"}),console.log(i,"eee")}};exports.method=a; +"use strict";const e=require("../../common/vendor.js"),i=require("../../common/libraries/apiLoading.js"),o=require("../../common/libraries/naviHelper.js"),s=require("../../common/libraries/sendWxWork.js"),l=require("../../gen/Apis.js"),n=require("./model.js"),a={handleBindHouse(){var s,a;let u=null==(a=null==(s=n.useModel)?void 0:s.formData)?void 0:a.value;if(!(null==u?void 0:u.residential_relation))return o.showToast("请选择身份!");let r=[{asset_houses_id:null==u?void 0:u.asset_houses_id,residential_relation:null==u?void 0:u.residential_relation}];i.getApiLoading(l.Apis.Archive.HouseRegisters.Store,{...u,house_info:r}).then(i=>{e.index.reLaunch({url:`/CUSTOMER/house_Identity/success?asset_houses_id=${null==u?void 0:u.asset_houses_id}&name=${null==u?void 0:u.name}&phone=${null==u?void 0:u.phone}}`}),console.log(i)})},handleFindLinkClick(i){var o,l,a;"link"===(null==i?void 0:i.type)&&e.index.navigateTo({url:`${null==i?void 0:i.url}?asset_houses_id=${null==(o=n.useModel.formData.value)?void 0:o.asset_houses_id}&name=${null==(l=n.useModel.formData.value)?void 0:l.name}&phone=${null==(a=n.useModel.formData.value)?void 0:a.phone}`}),"invitation"===(null==i?void 0:i.type)&&s.sendChatMessage({page:"/INDEX/binding/index.html",title:"邀请你绑定房屋"}),console.log(i,"eee")}};exports.method=a; diff --git a/dist/build/mp-weixin/CUSTOMER/house_Identity/success.js b/dist/build/mp-weixin/CUSTOMER/house_Identity/success.js index 0bee735..eeffe92 100644 --- a/dist/build/mp-weixin/CUSTOMER/house_Identity/success.js +++ b/dist/build/mp-weixin/CUSTOMER/house_Identity/success.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js");if(!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-button"))()}Math||((()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-button/hs-button.js"))();const n=e.defineComponent({__name:"success",setup(n){const o=e.ref({});return e.onLoad((e=>{o.value=e})),(n,s)=>({a:e.p({type:"checkbox-filled",size:"50",color:"#0082fa"}),b:e.o((n=>{var s,i;e.index.reLaunch({url:`/CUSTOMER/house_select/index?name=${null==(s=o.value)?void 0:s.name}&phone=${null==(i=o.value)?void 0:i.phone}`})})),c:e.p({label:"继续绑定房屋",type:"primary",size:"md"}),d:e.o((n=>{e.index.exitMiniProgram()})),e:e.p({label:"返回",type:"display",size:"md"})})}}),o=e._export_sfc(n,[["__scopeId","data-v-cdb63d97"]]);wx.createPage(o); +"use strict";const e=require("../../common/vendor.js");if(!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-button"))()}Math||((()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-button/hs-button.js"))();const n=e.defineComponent({__name:"success",setup(n){const o=e.ref({});return e.onLoad(e=>{o.value=e}),(n,s)=>({a:e.p({type:"checkbox-filled",size:"50",color:"#0082fa"}),b:e.o(n=>{var s,i;e.index.reLaunch({url:`/CUSTOMER/house_select/index?name=${null==(s=o.value)?void 0:s.name}&phone=${null==(i=o.value)?void 0:i.phone}`})}),c:e.p({label:"继续绑定房屋",type:"primary",size:"md"}),d:e.o(n=>{e.index.exitMiniProgram()}),e:e.p({label:"返回",type:"display",size:"md"})})}}),o=e._export_sfc(n,[["__scopeId","data-v-cdb63d97"]]);wx.createPage(o); diff --git a/dist/build/mp-weixin/CUSTOMER/house_list/components/unBindpopup.js b/dist/build/mp-weixin/CUSTOMER/house_list/components/unBindpopup.js index 7556d3a..9776e8d 100644 --- a/dist/build/mp-weixin/CUSTOMER/house_list/components/unBindpopup.js +++ b/dist/build/mp-weixin/CUSTOMER/house_list/components/unBindpopup.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("../../../gen/Apis.js"),s=require("../../../common/libraries/apiLoading.js"),r=require("../../../common/libraries/naviHelper.js");if(require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-button")+e.resolveComponent("hs-popup-custom"))()}Math||((()=>"../../../components/hs-button/hs-button.js")+(()=>"../../../components/hs-popup-custom/hs-popup-custom.js"))();const t=e.defineComponent({__name:"unBindpopup",props:["data"],emits:["success"],setup(t,{emit:n}){const u=t,i=e.ref(!1),a=()=>{var e,t;s.getApiLoading(o.Apis.Archive.HouseRegisters.Unbind,{external_userid:null==(e=null==u?void 0:u.data)?void 0:e.external_userid,asset_houses_id:null==(t=null==u?void 0:u.data)?void 0:t.asset_houses_id}).then((e=>{r.showToast("解除成功!"),n("success"),console.log(e)}))};return(o,s)=>{var r,t;return{a:e.o((e=>i.value=!0)),b:e.t(null==(t=null==(r=null==u?void 0:u.data)?void 0:r.asset_house)?void 0:t.full_name),c:e.o(a),d:e.p({label:"确认解绑",type:"primary",size:"md"}),e:e.o((e=>i.value=!1)),f:e.p({label:"点错了,返回",size:"md"}),g:e.o((e=>i.value=!1)),h:e.p({show:i.value,mode:"center",title:"再次确认"})}}}}),n=e._export_sfc(t,[["__scopeId","data-v-131c3109"]]);wx.createComponent(n); +"use strict";const e=require("../../../common/vendor.js"),o=require("../../../gen/Apis.js"),s=require("../../../common/libraries/apiLoading.js"),r=require("../../../common/libraries/naviHelper.js");if(require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-button")+e.resolveComponent("hs-popup-custom"))()}Math||((()=>"../../../components/hs-button/hs-button.js")+(()=>"../../../components/hs-popup-custom/hs-popup-custom.js"))();const t=e.defineComponent({__name:"unBindpopup",props:["data"],emits:["success"],setup(t,{emit:n}){const u=t,i=e.ref(!1),a=()=>{var e,t;s.getApiLoading(o.Apis.Archive.HouseRegisters.Unbind,{external_userid:null==(e=null==u?void 0:u.data)?void 0:e.external_userid,asset_houses_id:null==(t=null==u?void 0:u.data)?void 0:t.asset_houses_id}).then(e=>{r.showToast("解除成功!"),n("success"),console.log(e)})};return(o,s)=>{var r,t;return{a:e.o(e=>i.value=!0),b:e.t(null==(t=null==(r=null==u?void 0:u.data)?void 0:r.asset_house)?void 0:t.full_name),c:e.o(a),d:e.p({label:"确认解绑",type:"primary",size:"md"}),e:e.o(e=>i.value=!1),f:e.p({label:"点错了,返回",size:"md"}),g:e.o(e=>i.value=!1),h:e.p({show:i.value,mode:"center",title:"再次确认"})}}}}),n=e._export_sfc(t,[["__scopeId","data-v-131c3109"]]);wx.createComponent(n); diff --git a/dist/build/mp-weixin/CUSTOMER/house_list/index.js b/dist/build/mp-weixin/CUSTOMER/house_list/index.js index 1efd3df..3353ffb 100644 --- a/dist/build/mp-weixin/CUSTOMER/house_list/index.js +++ b/dist/build/mp-weixin/CUSTOMER/house_list/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/userUserLogin.js"),n=require("./model.js"),l=require("./method.js"),u=require("../../gen/Enums.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),!Array){(e.resolveComponent("hs-cell")+e.resolveComponent("hs-empty")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../components/hs-cell/hs-cell.js")+(()=>"../../components/hs-empty/hs-empty.js")+(()=>"../../components/hs-enum-tag/hs-enum-tag.js")+s+(()=>"../../components/hs-footer/hs-footer.js"))();const s=()=>"./components/unBindpopup.js",r=e.defineComponent({__name:"index",setup:s=>(e.onShow((async u=>{var s,r;await(null==(s=e.getCurrentInstance())?void 0:s.appContext.config.globalProperties.$onLaunched),(null==(r=o.getUser)?void 0:r.onBindPhone())&&(console.log("onShow_21"),e.index.qy.getCurExternalContact({success:function(e){var o;n.useModel.showData.value={},n.useModel.formData.value.external_userid=null==e?void 0:e.userId,null==(o=l.method)||o.getList(),console.log("开始2",e)},fail:function(e){var o;null==(o=l.method)||o.getList(),console.log("失败",e)}}))})),(o,s)=>{var r,i,t,a,d,v,m,c,h,p,f,g,_,j,w,q,M,b,C,L,x,D,y,E;return e.e({a:null==(i=null==(r=e.unref(n.useModel))?void 0:r.loading)?void 0:i.value},(null==(a=null==(t=e.unref(n.useModel))?void 0:t.loading)?void 0:a.value)?e.e({b:e.t((null==(c=null==(m=null==(v=null==(d=e.unref(n.useModel))?void 0:d.showData)?void 0:v.value)?void 0:m.customer)?void 0:c.customer_name)||"请补充姓名"),c:e.p({title:"手机号",value:null==(g=null==(f=null==(p=null==(h=e.unref(n.useModel))?void 0:h.showData)?void 0:p.value)?void 0:f.customer)?void 0:g.customer_phone}),d:!(null==(q=null==(w=null==(j=null==(_=e.unref(n.useModel))?void 0:_.showData)?void 0:j.value)?void 0:w.houseList)?void 0:q.length)},(null==(L=null==(C=null==(b=null==(M=e.unref(n.useModel))?void 0:M.showData)?void 0:b.value)?void 0:C.houseList)||L.length,{}),{e:e.f(null==(y=null==(D=null==(x=e.unref(n.useModel))?void 0:x.showData)?void 0:D.value)?void 0:y.houseList,((o,s,r)=>{var i,t,a,d,v;return e.e({a:e.t(null==(i=null==o?void 0:o.asset_house)?void 0:i.full_name),b:"Owner"===(null==o?void 0:o.house_relation)},"Owner"===(null==o?void 0:o.house_relation)?{c:"199b823c-2-"+r,d:e.p({value:null==o?void 0:o.house_relation,size:"md",Enums:e.unref(u.HouseOccupantsHouseRelationEnum)})}:{e:"199b823c-3-"+r,f:e.p({value:null==o?void 0:o.residential_relation,size:"md",Enums:e.unref(u.HouseOccupantsResidentialRelationEnum)})},{g:"Owner"!==(null==o?void 0:o.house_relation)},"Owner"!==(null==o?void 0:o.house_relation)?{h:e.o(null==(t=e.unref(l.method))?void 0:t.getList,`iten_${s}`),i:"199b823c-4-"+r,j:e.p({data:{...o,external_userid:null==(v=null==(d=null==(a=e.unref(n.useModel))?void 0:a.formData)?void 0:d.value)?void 0:v.external_userid}})}:{},{k:`iten_${s}`})})),f:e.o(null==(E=e.unref(l.method))?void 0:E.handleBindHouse),g:e.p({btnParimaryName:"绑定新房屋"})}):{})})});wx.createPage(r); +"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/userUserLogin.js"),n=require("./model.js"),l=require("./method.js"),u=require("../../gen/Enums.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),!Array){(e.resolveComponent("hs-cell")+e.resolveComponent("hs-empty")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../components/hs-cell/hs-cell.js")+(()=>"../../components/hs-empty/hs-empty.js")+(()=>"../../components/hs-enum-tag/hs-enum-tag.js")+s+(()=>"../../components/hs-footer/hs-footer.js"))();const s=()=>"./components/unBindpopup.js",r=e.defineComponent({__name:"index",setup:s=>(e.onShow(async u=>{var s,r;await(null==(s=e.getCurrentInstance())?void 0:s.appContext.config.globalProperties.$onLaunched),(null==(r=o.getUser)?void 0:r.onBindPhone())&&(console.log("onShow_21"),e.index.qy.getCurExternalContact({success:function(e){var o;n.useModel.showData.value={},n.useModel.formData.value.external_userid=null==e?void 0:e.userId,null==(o=l.method)||o.getList(),console.log("开始2",e)},fail:function(e){var o;null==(o=l.method)||o.getList(),console.log("失败",e)}}))}),(o,s)=>{var r,i,t,a,d,v,m,c,h,p,f,g,_,j,w,q,M,b,C,L,x,D,y,E;return e.e({a:null==(i=null==(r=e.unref(n.useModel))?void 0:r.loading)?void 0:i.value},(null==(a=null==(t=e.unref(n.useModel))?void 0:t.loading)?void 0:a.value)?e.e({b:e.t((null==(c=null==(m=null==(v=null==(d=e.unref(n.useModel))?void 0:d.showData)?void 0:v.value)?void 0:m.customer)?void 0:c.customer_name)||"请补充姓名"),c:e.p({title:"手机号",value:null==(g=null==(f=null==(p=null==(h=e.unref(n.useModel))?void 0:h.showData)?void 0:p.value)?void 0:f.customer)?void 0:g.customer_phone}),d:!(null==(q=null==(w=null==(j=null==(_=e.unref(n.useModel))?void 0:_.showData)?void 0:j.value)?void 0:w.houseList)?void 0:q.length)},(null==(L=null==(C=null==(b=null==(M=e.unref(n.useModel))?void 0:M.showData)?void 0:b.value)?void 0:C.houseList)||L.length,{}),{e:e.f(null==(y=null==(D=null==(x=e.unref(n.useModel))?void 0:x.showData)?void 0:D.value)?void 0:y.houseList,(o,s,r)=>{var i,t,a,d,v;return e.e({a:e.t(null==(i=null==o?void 0:o.asset_house)?void 0:i.full_name),b:"Owner"===(null==o?void 0:o.house_relation)},"Owner"===(null==o?void 0:o.house_relation)?{c:"199b823c-2-"+r,d:e.p({value:null==o?void 0:o.house_relation,size:"md",Enums:e.unref(u.HouseOccupantsHouseRelationEnum)})}:{e:"199b823c-3-"+r,f:e.p({value:null==o?void 0:o.residential_relation,size:"md",Enums:e.unref(u.HouseOccupantsResidentialRelationEnum)})},{g:"Owner"!==(null==o?void 0:o.house_relation)},"Owner"!==(null==o?void 0:o.house_relation)?{h:e.o(null==(t=e.unref(l.method))?void 0:t.getList,`iten_${s}`),i:"199b823c-4-"+r,j:e.p({data:{...o,external_userid:null==(v=null==(d=null==(a=e.unref(n.useModel))?void 0:a.formData)?void 0:d.value)?void 0:v.external_userid}})}:{},{k:`iten_${s}`})}),f:e.o(null==(E=e.unref(l.method))?void 0:E.handleBindHouse),g:e.p({btnParimaryName:"绑定新房屋"})}):{})})});wx.createPage(r); diff --git a/dist/build/mp-weixin/CUSTOMER/house_list/method.js b/dist/build/mp-weixin/CUSTOMER/house_list/method.js index e3342f5..49b9f30 100644 --- a/dist/build/mp-weixin/CUSTOMER/house_list/method.js +++ b/dist/build/mp-weixin/CUSTOMER/house_list/method.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("./model.js"),l=require("../../gen/Apis.js"),u=require("../../common/libraries/apiLoading.js"),i=require("../../common/libraries/userUserLogin.js"),n={getList(){var i,n;u.getApiLoading(l.Apis.Customer.CustomerHouses.List,null==(n=null==(i=o.useModel)?void 0:i.formData)?void 0:n.value).then((l=>{o.useModel.showData.value=null==l?void 0:l.data,(null==l?void 0:l.data)?o.useModel.loading.value=!0:e.index.reLaunch({url:"/CUSTOMER/bind_house/index"}),console.log(l)}))},handleBindHouse(){var l,u,n,s,d,a,r,t,v;(null==(l=i.getUser)?void 0:l.toPageLogin())||e.index.navigateTo({url:`/CUSTOMER/bind_house/index?phone=${null==(d=null==(s=null==(n=null==(u=o.useModel)?void 0:u.showData)?void 0:n.value)?void 0:s.customer)?void 0:d.customer_phone}&name=${null==(v=null==(t=null==(r=null==(a=o.useModel)?void 0:a.showData)?void 0:r.value)?void 0:t.customer)?void 0:v.customer_name}`})}};exports.method=n; +"use strict";const e=require("../../common/vendor.js"),o=require("./model.js"),l=require("../../gen/Apis.js"),u=require("../../common/libraries/apiLoading.js"),i=require("../../common/libraries/userUserLogin.js"),n={getList(){var i,n;u.getApiLoading(l.Apis.Customer.CustomerHouses.List,null==(n=null==(i=o.useModel)?void 0:i.formData)?void 0:n.value).then(l=>{o.useModel.showData.value=null==l?void 0:l.data,(null==l?void 0:l.data)?o.useModel.loading.value=!0:e.index.reLaunch({url:"/CUSTOMER/bind_house/index"}),console.log(l)})},handleBindHouse(){var l,u,n,s,d,a,r,t,v;(null==(l=i.getUser)?void 0:l.toPageLogin())||e.index.navigateTo({url:`/CUSTOMER/bind_house/index?phone=${null==(d=null==(s=null==(n=null==(u=o.useModel)?void 0:u.showData)?void 0:n.value)?void 0:s.customer)?void 0:d.customer_phone}&name=${null==(v=null==(t=null==(r=null==(a=o.useModel)?void 0:a.showData)?void 0:r.value)?void 0:t.customer)?void 0:v.customer_name}`})}};exports.method=n; diff --git a/dist/build/mp-weixin/CUSTOMER/house_select/index.js b/dist/build/mp-weixin/CUSTOMER/house_select/index.js index 01b2236..9572a8e 100644 --- a/dist/build/mp-weixin/CUSTOMER/house_select/index.js +++ b/dist/build/mp-weixin/CUSTOMER/house_select/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("./method.js"),n=require("./model.js");if(require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("up-search")+e.resolveComponent("hs-empty")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../node-modules/uview-plus/components/u-search/u-search.js")+(()=>"../../components/hs-empty/hs-empty.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const r=e.defineComponent({__name:"index",setup:r=>(e.onLoad((e=>{var r;n.useModel.pageFormData.value=e,console.log(e,"eee"),null==(r=o.method)||r.handleSearch()})),(r,l)=>{var u,s,t,a,i,m,d,c,v;return e.e({a:e.o(null==(u=e.unref(o.method))?void 0:u.handleSearch),b:e.o((o=>e.unref(n.useModel).formData.value.name=o)),c:e.p({showAction:!1,placeholder:"请输入房屋名称搜索",modelValue:e.unref(n.useModel).formData.value.name}),d:!(null==(a=null==(t=null==(s=e.unref(n.useModel))?void 0:s.listData)?void 0:t.value)?void 0:a.length)},(null==(d=null==(m=null==(i=e.unref(n.useModel))?void 0:i.listData)?void 0:m.value)||d.length,{}),{e:e.f(null==(v=null==(c=e.unref(n.useModel))?void 0:c.listData)?void 0:v.value,((n,r,l)=>({a:e.t(null==n?void 0:n.label),b:"2c60df80-2-"+l,c:`item_${r}`,d:e.o((r=>{var l;return null==(l=e.unref(o.method))?void 0:l.handleSelect(n)}),`item_${r}`)}))),f:e.p({type:"right",size:"13"})})})});wx.createPage(r); +"use strict";const e=require("../../common/vendor.js"),o=require("./method.js"),n=require("./model.js");if(require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("up-search")+e.resolveComponent("hs-empty")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../node-modules/uview-plus/components/u-search/u-search.js")+(()=>"../../components/hs-empty/hs-empty.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const r=e.defineComponent({__name:"index",setup:r=>(e.onLoad(e=>{var r;n.useModel.pageFormData.value=e,console.log(e,"eee"),null==(r=o.method)||r.handleSearch()}),(r,l)=>{var u,s,t,a,i,m,d,c,v;return e.e({a:e.o(null==(u=e.unref(o.method))?void 0:u.handleSearch),b:e.o(o=>e.unref(n.useModel).formData.value.name=o),c:e.p({showAction:!1,placeholder:"请输入房屋名称搜索",modelValue:e.unref(n.useModel).formData.value.name}),d:!(null==(a=null==(t=null==(s=e.unref(n.useModel))?void 0:s.listData)?void 0:t.value)?void 0:a.length)},(null==(d=null==(m=null==(i=e.unref(n.useModel))?void 0:i.listData)?void 0:m.value)||d.length,{}),{e:e.f(null==(v=null==(c=e.unref(n.useModel))?void 0:c.listData)?void 0:v.value,(n,r,l)=>({a:e.t(null==n?void 0:n.label),b:"2c60df80-2-"+l,c:`item_${r}`,d:e.o(r=>{var l;return null==(l=e.unref(o.method))?void 0:l.handleSelect(n)},`item_${r}`)})),f:e.p({type:"right",size:"13"})})})});wx.createPage(r); diff --git a/dist/build/mp-weixin/CUSTOMER/house_select/method.js b/dist/build/mp-weixin/CUSTOMER/house_select/method.js index 972be05..783063b 100644 --- a/dist/build/mp-weixin/CUSTOMER/house_select/method.js +++ b/dist/build/mp-weixin/CUSTOMER/house_select/method.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),l=require("./model.js"),o=require("../../gen/Apis.js"),a=require("../../common/libraries/apiLoading.js"),i={handleSearch(){var e,i;l.useModel.formData.value.page=1,a.getApiLoading(o.Apis.Grid.Grids.GridSelectHouse,null==(i=null==(e=l.useModel)?void 0:e.formData)?void 0:i.value).then((e=>{l.useModel.listData.value=null==e?void 0:e.data,console.log(e)}))},handleSelect(o){var a,i,n,u,d,s;e.index.navigateTo({url:`/CUSTOMER/house_Identity/index?phone=${null==(n=null==(i=null==(a=l.useModel)?void 0:a.pageFormData)?void 0:i.value)?void 0:n.phone}&name=${null==(s=null==(d=null==(u=l.useModel)?void 0:u.pageFormData)?void 0:d.value)?void 0:s.name}&asset_houses_id=${null==o?void 0:o.value}&full_name=${null==o?void 0:o.label}`}),console.log(o)}};exports.method=i; +"use strict";const e=require("../../common/vendor.js"),l=require("./model.js"),o=require("../../gen/Apis.js"),a=require("../../common/libraries/apiLoading.js"),i={handleSearch(){var e,i;l.useModel.formData.value.page=1,a.getApiLoading(o.Apis.Grid.Grids.GridSelectHouse,null==(i=null==(e=l.useModel)?void 0:e.formData)?void 0:i.value).then(e=>{l.useModel.listData.value=null==e?void 0:e.data,console.log(e)})},handleSelect(o){var a,i,n,u,d,s;e.index.navigateTo({url:`/CUSTOMER/house_Identity/index?phone=${null==(n=null==(i=null==(a=l.useModel)?void 0:a.pageFormData)?void 0:i.value)?void 0:n.phone}&name=${null==(s=null==(d=null==(u=l.useModel)?void 0:u.pageFormData)?void 0:d.value)?void 0:s.name}&asset_houses_id=${null==o?void 0:o.value}&full_name=${null==o?void 0:o.label}`}),console.log(o)}};exports.method=i; diff --git a/dist/build/mp-weixin/CUSTOMER/list_bill/index.js b/dist/build/mp-weixin/CUSTOMER/list_bill/index.js index 3cca969..97bff52 100644 --- a/dist/build/mp-weixin/CUSTOMER/list_bill/index.js +++ b/dist/build/mp-weixin/CUSTOMER/list_bill/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("./method.js"),l=require("./model.js"),n=require("../../gen/Enums.js"),i=require("../../common/libraries/userUserLogin.js");if(require("../../common/libraries/apiLoading.js"),require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/sendWxWork.js"),require("../../common/libraries/naviHelper.js"),!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("uni-icons")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("hs-button"))()}Math||((()=>"../../components/hs-empty/hs-empty.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../components/hs-button/hs-button.js"))();const r=e.defineComponent({__name:"index",setup:r=>(e.onLoad((async n=>{var r,t,u;await(null==(r=e.getCurrentInstance())?void 0:r.appContext.config.globalProperties.$onLaunched),l.useModel.formData.value=n,(null==(t=i.getUser)?void 0:t.getLoginStatus())&&(l.useModel.items.value=[],null==(u=o.method)||u.handleGetList())})),(i,r)=>{var t,u,s,d,a,m,c,v,p,h,f,g,j;return e.e({a:e.t(null==(s=null==(u=null==(t=e.unref(l.useModel))?void 0:t.formData)?void 0:u.value)?void 0:s.name),b:!(null==(m=null==(a=null==(d=e.unref(l.useModel))?void 0:d.items)?void 0:a.value)?void 0:m.length)},(null==(p=null==(v=null==(c=e.unref(l.useModel))?void 0:c.items)?void 0:v.value)?void 0:p.length)?{}:{c:e.p({text:"无账单"})},{d:e.f(null==(f=null==(h=e.unref(l.useModel))?void 0:h.items)?void 0:f.value,((l,i,r)=>e.e({a:null==l?void 0:l.checked},(null==l?void 0:l.checked)?{b:"1712258e-1-"+r,c:e.p({type:"checkbox-filled",size:"20",color:"#2A7EFB"})}:{d:"1712258e-2-"+r,e:e.p({type:"circle",size:"20",color:"#888"})},{f:e.t((null==l?void 0:l.display_text)||""),g:e.o((n=>{var r;return null==(r=e.unref(o.method))?void 0:r.handleCollapseAllCheckedBtn(i,l)}),`items_${i}`),h:e.t((null==l?void 0:l.pending_amount)||"0.00"),i:"1712258e-3-"+r,j:e.o((n=>{var r;return null==(r=e.unref(o.method))?void 0:r.handleCollapseClick(i,l)}),`items_${i}`),k:null==l?void 0:l.show},(null==l?void 0:l.show)?{l:e.f(null==l?void 0:l.bills,((l,t,u)=>e.e({a:null==l?void 0:l.checked},(null==l?void 0:l.checked)?{b:"1712258e-4-"+r+"-"+u,c:e.p({type:"checkbox-filled",size:"20",color:"#2A7EFB"})}:{d:"1712258e-5-"+r+"-"+u,e:e.p({type:"circle",size:"20",color:"#888"})},{f:"1712258e-6-"+r+"-"+u,g:e.p({Enums:e.unref(n.HouseBillsTypeEnum),value:null==l?void 0:l.type,objStyle:{color:"#555",fontSize:"28rpx"}}),h:e.t((null==l?void 0:l.total_payable_amount)||"-"),i:`ks_${i}_${t}`,j:e.o((n=>{var r;return null==(r=e.unref(o.method))?void 0:r.handleCalculatePrice(i,t,l)}),`ks_${i}_${t}`)})))}:{},{m:`items_${i}`}))),e:e.p({type:"down",size:"15",color:"#999"}),f:e.o(null==(g=e.unref(o.method))?void 0:g.handleQRCode),g:e.p({label:"二维码收款",size:"md",type:"ghost"}),h:e.o(null==(j=e.unref(o.method))?void 0:j.handleSelectExternalContact),i:e.p({type:"primary",size:"md",label:"分享账单"})})})});wx.createPage(r); +"use strict";const e=require("../../common/vendor.js"),o=require("./method.js"),l=require("./model.js"),n=require("../../common/libraries/userUserLogin.js"),r=require("../../gen/Enums.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/sendWxWork.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("cc-scroll-loading")+e.resolveComponent("hs-button"))()}Math||((()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../common/components/cc-scroll-loading/cc-scroll-loading.js")+(()=>"../../components/hs-button/hs-button.js"))();const i=e.defineComponent({__name:"index",setup:i=>(e.onUnload(()=>{l.useModel.items.value=[],l.useModel.formData.value.page=1}),e.onLoad(async r=>{var i,s,t;await(null==(i=e.getCurrentInstance())?void 0:i.appContext.config.globalProperties.$onLaunched),l.useModel.formData.value=r,(null==(s=n.getUser)?void 0:s.getLoginStatus())&&(null==(t=o.method)||t.handleGetList())}),(n,i)=>{var s,t,u,a,d,c,m,p,v,h;return{a:e.t(null==(u=null==(t=null==(s=e.unref(l.useModel))?void 0:s.formData)?void 0:t.value)?void 0:u.name),b:e.f(null==(d=null==(a=e.unref(l.useModel))?void 0:a.items)?void 0:d.value,(l,n,i)=>e.e({a:null==l?void 0:l.checked},(null==l?void 0:l.checked)?{b:"1712258e-1-"+i+",1712258e-0",c:e.p({type:"checkbox-filled",size:"20",color:"#2A7EFB"})}:{d:"1712258e-2-"+i+",1712258e-0",e:e.p({type:"circle",size:"20",color:"#888"})},{f:e.t((null==l?void 0:l.display_text)||""),g:e.o(r=>{var i;return null==(i=e.unref(o.method))?void 0:i.handleCollapseAllCheckedBtn(n,l)},`items_${n}`),h:e.t((null==l?void 0:l.pending_amount)||"0.00"),i:"1712258e-3-"+i+",1712258e-0",j:e.o(r=>{var i;return null==(i=e.unref(o.method))?void 0:i.handleCollapseClick(n,l)},`items_${n}`),k:null==l?void 0:l.show},(null==l?void 0:l.show)?{l:e.f(null==l?void 0:l.bills,(l,s,t)=>e.e({a:null==l?void 0:l.checked},(null==l?void 0:l.checked)?{b:"1712258e-4-"+i+"-"+t+",1712258e-0",c:e.p({type:"checkbox-filled",size:"20",color:"#2A7EFB"})}:{d:"1712258e-5-"+i+"-"+t+",1712258e-0",e:e.p({type:"circle",size:"20",color:"#888"})},{f:"1712258e-6-"+i+"-"+t+",1712258e-0",g:e.p({Enums:e.unref(r.HouseBillsTypeEnum),value:null==l?void 0:l.type,objStyle:{color:"#555",fontSize:"28rpx"}}),h:e.t((null==l?void 0:l.total_payable_amount)||"-"),i:`ks_${n}_${s}`,j:e.o(r=>{var i;return null==(i=e.unref(o.method))?void 0:i.handleCalculatePrice(n,s,l)},`ks_${n}_${s}`)}))}:{},{m:`items_${n}`})),c:e.p({type:"down",size:"15",color:"#999"}),d:e.o(null==(c=e.unref(o.method))?void 0:c.handleLoadMore),e:e.p({meta:null==(p=null==(m=e.unref(l.useModel))?void 0:m.metaData)?void 0:p.value}),f:e.o(null==(v=e.unref(o.method))?void 0:v.handleQRCode),g:e.p({label:"二维码收款",size:"md",type:"ghost"}),h:e.o(null==(h=e.unref(o.method))?void 0:h.handleSelectExternalContact),i:e.p({type:"primary",size:"md",label:"分享账单"})}})});wx.createPage(i); diff --git a/dist/build/mp-weixin/CUSTOMER/list_bill/index.json b/dist/build/mp-weixin/CUSTOMER/list_bill/index.json index 9fc5aa3..1ed1279 100644 --- a/dist/build/mp-weixin/CUSTOMER/list_bill/index.json +++ b/dist/build/mp-weixin/CUSTOMER/list_bill/index.json @@ -1,9 +1,9 @@ { "navigationBarTitleText": "发送账单", "usingComponents": { - "hs-empty": "../../components/hs-empty/hs-empty", "uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons", "hs-enum-tag": "../../components/hs-enum-tag/hs-enum-tag", + "cc-scroll-loading": "../../common/components/cc-scroll-loading/cc-scroll-loading", "hs-button": "../../components/hs-button/hs-button" } } \ No newline at end of file diff --git a/dist/build/mp-weixin/CUSTOMER/list_bill/index.wxml b/dist/build/mp-weixin/CUSTOMER/list_bill/index.wxml index bbe85e9..4ba7399 100644 --- a/dist/build/mp-weixin/CUSTOMER/list_bill/index.wxml +++ b/dist/build/mp-weixin/CUSTOMER/list_bill/index.wxml @@ -1 +1 @@ -{{a}}{{i.f}}账单 ¥{{i.h}}¥{{k.h}} \ No newline at end of file +{{a}}{{i.f}}账单 ¥{{i.h}}¥{{k.h}} \ No newline at end of file diff --git a/dist/build/mp-weixin/CUSTOMER/list_bill/index.wxss b/dist/build/mp-weixin/CUSTOMER/list_bill/index.wxss index f1342dc..4603d0f 100644 --- a/dist/build/mp-weixin/CUSTOMER/list_bill/index.wxss +++ b/dist/build/mp-weixin/CUSTOMER/list_bill/index.wxss @@ -1 +1 @@ -page{background-color:#f8f8f8}.page_bill_head_title{color:#3d3d3d;font-size:30rpx;font-weight:500;padding:30rpx;background-color:#fff;border-top:1rpx solid #eee}.form_card{background-color:#fff;padding:0 30rpx;margin-bottom:30rpx}.bill_content{padding:20rpx 30rpx 0;padding-bottom:calc(210rpx + constant(safe-area-inset-bottom));padding-bottom:calc(210rpx + env(safe-area-inset-bottom))}.bill_content .item_content{padding:0 0 30rpx}.bill_content .item_content .huse_name{font-size:30rpx}.bill_content .card_content{background-color:#fff;border-radius:16rpx;padding:0 30rpx 30rpx;margin-top:20rpx}.bill_content .card_content .collapse_body{background-color:#f4f5f7;padding:30rpx 30rpx 0;border-radius:10rpx;text-align:center;margin-top:30rpx}.bill_content .card_content .collapse_body .collapse_cell{display:flex;align-items:center;justify-content:space-between;padding-bottom:25rpx;font-size:28rpx;color:#666}.bill_content .card_content .collapse_body .collapse_query_btn{border:1px solid #999;font-size:24rpx;display:inline-block;justify-content:center;align-items:center;margin:0 0 30rpx;padding:12rpx 20rpx;border-radius:100rpx;color:#999}.bill_content .card_content .collapse_body .collapse_cell_find_select{display:flex;align-items:center}.bill_content .headner_title{padding:25rpx 0}.bill_content .collapse_hader{display:flex;align-items:center;justify-content:space-between;font-size:30rpx;padding:30rpx 0 0}.bill_content .collapse_hader .collapse_hader_left,.bill_content .collapse_hader .collapse_hader_right{display:flex;align-items:center}.bill_content .collapse_hader .collapse_hader_left{flex:1}.bill_content .collapse_hader .bill_title{color:#333;padding-left:10rpx;width:100%}.bill_content .collapse_hader .bill_price{color:#df3600;padding-right:10rpx}.footer{position:fixed;left:0;bottom:0;right:0;padding:20rpx 30rpx 0;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding-bottom:calc(20rpx + constant(safe-area-inset-bottom));padding-bottom:calc(20rpx + env(safe-area-inset-bottom))}.footer .btn{width:48%} +page{background-color:#f8f8f8}.page_bill_head_title{color:#3d3d3d;font-size:30rpx;font-weight:500;padding:30rpx;background-color:#fff;border-top:1rpx solid #eee}.form_card{background-color:#fff;padding:0 30rpx;margin-bottom:30rpx}.bill_content{padding:20rpx 30rpx 0;padding-bottom:calc(120rpx + constant(safe-area-inset-bottom));padding-bottom:calc(120rpx + env(safe-area-inset-bottom))}.bill_content .item_content{padding:0 0 30rpx}.bill_content .item_content .huse_name{font-size:30rpx}.bill_content .card_content{background-color:#fff;border-radius:16rpx;padding:0 30rpx 30rpx;margin-top:20rpx}.bill_content .card_content .collapse_body{background-color:#f4f5f7;padding:30rpx 30rpx 0;border-radius:10rpx;text-align:center;margin-top:30rpx}.bill_content .card_content .collapse_body .collapse_cell{display:flex;align-items:center;justify-content:space-between;padding-bottom:25rpx;font-size:28rpx;color:#666}.bill_content .card_content .collapse_body .collapse_query_btn{border:1px solid #999;font-size:24rpx;display:inline-block;justify-content:center;align-items:center;margin:0 0 30rpx;padding:12rpx 20rpx;border-radius:100rpx;color:#999}.bill_content .card_content .collapse_body .collapse_cell_find_select{display:flex;align-items:center}.bill_content .headner_title{padding:25rpx 0}.bill_content .collapse_hader{display:flex;align-items:center;justify-content:space-between;font-size:30rpx;padding:30rpx 0 0}.bill_content .collapse_hader .collapse_hader_left,.bill_content .collapse_hader .collapse_hader_right{display:flex;align-items:center}.bill_content .collapse_hader .collapse_hader_left{flex:1}.bill_content .collapse_hader .bill_title{color:#333;padding-left:10rpx;width:100%}.bill_content .collapse_hader .bill_price{color:#df3600;padding-right:10rpx}.footer{position:fixed;left:0;bottom:0;right:0;padding:20rpx 30rpx 0;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding-bottom:calc(20rpx + constant(safe-area-inset-bottom));padding-bottom:calc(20rpx + env(safe-area-inset-bottom))}.footer .btn{width:48%} diff --git a/dist/build/mp-weixin/CUSTOMER/list_bill/method.js b/dist/build/mp-weixin/CUSTOMER/list_bill/method.js index 7746374..7c28f68 100644 --- a/dist/build/mp-weixin/CUSTOMER/list_bill/method.js +++ b/dist/build/mp-weixin/CUSTOMER/list_bill/method.js @@ -1 +1 @@ -"use strict";const l=require("../../common/vendor.js"),e=require("./model.js"),o=require("../../common/libraries/apiLoading.js"),u=require("../../gen/Apis.js"),a=require("../../common/libraries/sendWxWork.js");require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const i=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const n=require("../../common/libraries/naviHelper.js"),d=i.useWeAppAuthStore(),t=()=>{var l,a;o.getApiLoading(u.Apis.Bill.HouseBills.List,{...null==(a=null==(l=e.useModel)?void 0:l.formData)?void 0:a.value,type:1}).then((l=>{var o;null==(o=null==l?void 0:l.data)||o.map((l=>{var e;l.checked=!0,null==(e=null==l?void 0:l.bills)||e.map((l=>{l.checked=!0}))})),e.useModel.items.value=[...e.useModel.items.value,...null==l?void 0:l.data]}))},s=()=>{var l,o,u;let a=[];return null==(u=null==(o=null==(l=e.useModel)?void 0:l.items)?void 0:o.value)||u.map((l=>{var e,o;(null==(e=null==l?void 0:l.bills)?void 0:e.length)&&(null==(o=null==l?void 0:l.bills)||o.map((l=>{(null==l?void 0:l.checked)&&(null==a||a.push(null==l?void 0:l.id))})))})),(null==a?void 0:a.length)?(v(),a):(n.showToast("请至少选择一个月账单!"),!1)},v=()=>{var l,o,u;let a=0;null==(u=null==(o=null==(l=e.useModel)?void 0:l.items)?void 0:o.value)||u.map((l=>{var e;null==(e=null==l?void 0:l.bills)||e.map((l=>{(null==l?void 0:l.checked)&&(a+=parseFloat(l.amount||0))}))})),e.useModel.total_amount.value=a},r={handleGetList:t,handleCollapseClick:(l,o)=>{var u,a,i;let n=null==(i=null==(a=null==(u=e.useModel)?void 0:u.items)?void 0:a.value[l])?void 0:i.show;e.useModel.items.value[l].show=!n},hanldeSearch:l=>{var o,u;e.useModel.items.value=[],e.useModel.formData.value={...null==(u=null==(o=e.useModel)?void 0:o.formData)?void 0:u.value,...l,page:1},t()},handleCalculatePrice(l,o,u){var a;let i=null==u?void 0:u.checked;if(e.useModel.items.value[l].bills[o].checked=!i,i)e.useModel.items.value[l].checked=!1;else{let o=null==(a=e.useModel.items.value[l].bills)?void 0:a.every((l=>null==l?void 0:l.checked));e.useModel.items.value[l].checked=o,console.log(o)}},handleCollapseAllCheckedBtn:async(l,o)=>{var u,a,i,n;let d=null==o?void 0:o.checked;e.useModel.items.value[l].checked=!d,null==(n=null==(i=null==(a=null==(u=e.useModel)?void 0:u.items)?void 0:a.value[l])?void 0:i.bills)||n.map((l=>{l.checked=!d}))},handleQuery(e){l.index.navigateTo({url:`/INDEX/bill/show/index?asset_houses_id=${null==e?void 0:e.asset_houses_id}&month=${null==e?void 0:e.month}`}),console.log(e,"res")},handleSubmitOrder(){var a,i,d,t,s,v,r;let m=[];null==(d=null==(i=null==(a=e.useModel)?void 0:a.items)?void 0:i.value)||d.map((l=>{var e;null==(e=null==l?void 0:l.bills)||e.map((l=>{var e;null==(e=null==l?void 0:l.details)||e.map((e=>{(null==l?void 0:l.checked)&&m.push(null==e?void 0:e.id)}))}))})),(null==m?void 0:m.length)?o.getApiLoading(u.Apis.HouseOrder.HouseOrders.Store,{bill_ids:m,amount:null==(s=null==(t=e.useModel)?void 0:t.total_amount)?void 0:s.value,total_payable_amount:null==(r=null==(v=e.useModel)?void 0:v.total_amount)?void 0:r.value}).then((e=>{var o;l.index.navigateTo({url:`/INDEX/pay/index?id=${null==(o=null==e?void 0:e.data)?void 0:o.id}`})})):n.showToast("至少选择一个账单!")},handleQRCode(){var a,i,n,d;let t=s()||[];(null==t?void 0:t.length)&&o.getApiLoading(u.Apis.HouseOrder.HouseOrders.Store,{bill_ids:t||[],total_payable_amount:null==(i=null==(a=e.useModel)?void 0:a.total_amount)?void 0:i.value,amount:null==(d=null==(n=e.useModel)?void 0:n.total_amount)?void 0:d.value}).then((o=>{var u,a,i,n,d,t,s,v,r,m;l.index.navigateTo({url:`/BILL/poster/index?id=${null==(a=null==(u=e.useModel.formData)?void 0:u.value)?void 0:a.asset_houses_id}&order_id=${null==(i=null==o?void 0:o.data)?void 0:i.id}&time=${null==(n=null==o?void 0:o.data)?void 0:n.created_at}&name=${null==(t=null==(d=e.useModel.formData)?void 0:d.value)?void 0:t.name}&amount=${(null==(v=null==(s=e.useModel)?void 0:s.total_amount)?void 0:v.value)||(null==(m=null==(r=e.useModel)?void 0:r.total_amount)?void 0:m.value)}`})}))},handleSelectExternalContact(){var o;let u=s()||[];if(console.log(u,"bill_ids"),!(null==u?void 0:u.length))return!1;"wxwork"===(null==(o=null==d?void 0:d.data)?void 0:o.environment)?l.index.qy.getContext({success:function(l){var o,i,n;"single_chat_tools"===l.entry?a.sendChatMessage({page:`/INDEX/bill_order/index.html?bill_ids=${JSON.stringify(u)}&house_id=${e.useModel.formData.value.asset_houses_id}`,title:`分享给您${null==(n=null==(i=null==(o=e.useModel)?void 0:o.formData)?void 0:i.value)?void 0:n.name}物业账单`,imgUrl:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K5B5RY2TQQAJ1GT2RZSK426V.jpg"}):a.navigateToMiniProgram({path:"/pages/forward/index?source=OutstandingFeeList",envVersion:"develop",extraData:{source:"OutstandingFeeList"}})}}):a.navigateToMiniProgram({path:"/pages/forward/index?source=OutstandingFeeList",envVersion:"develop",extraData:{source:"OutstandingFeeList"}})}};exports.method=r; +"use strict";const e=require("../../common/vendor.js");require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const l=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const o=require("../../common/libraries/apiLoading.js"),u=require("../../common/libraries/naviHelper.js"),a=require("../../common/libraries/sendWxWork.js"),i=require("../../gen/Apis.js"),d=require("./model.js"),n=l.useWeAppAuthStore(),t=()=>{var e,l;o.getApiLoading(i.Apis.Bill.HouseBills.List,{...null==(l=null==(e=d.useModel)?void 0:e.formData)?void 0:l.value,type:1}).then(e=>{var l;null==(l=null==e?void 0:e.data)||l.map(e=>{var l;e.checked=!0,null==(l=null==e?void 0:e.bills)||l.map(e=>{e.checked=!0})}),d.useModel.items.value=[...d.useModel.items.value,...null==e?void 0:e.data],d.useModel.metaData.value=null==e?void 0:e.meta})},s=()=>{var e,l,o;let a=[];return null==(o=null==(l=null==(e=d.useModel)?void 0:e.items)?void 0:l.value)||o.map(e=>{var l,o;(null==(l=null==e?void 0:e.bills)?void 0:l.length)&&(null==(o=null==e?void 0:e.bills)||o.map(e=>{(null==e?void 0:e.checked)&&(null==a||a.push(null==e?void 0:e.id))}))}),(null==a?void 0:a.length)?(v(),a):(u.showToast("请至少选择一个月账单!"),!1)},v=()=>{var e,l,o;let u=0;null==(o=null==(l=null==(e=d.useModel)?void 0:e.items)?void 0:l.value)||o.map(e=>{var l;null==(l=null==e?void 0:e.bills)||l.map(e=>{(null==e?void 0:e.checked)&&(u+=parseFloat(e.amount||0))})}),d.useModel.total_amount.value=u},r={handleGetList:t,handleCollapseClick:(e,l)=>{var o,u,a;let i=null==(a=null==(u=null==(o=d.useModel)?void 0:o.items)?void 0:u.value[e])?void 0:a.show;d.useModel.items.value[e].show=!i},hanldeSearch:e=>{var l,o;d.useModel.items.value=[],d.useModel.formData.value={...null==(o=null==(l=d.useModel)?void 0:l.formData)?void 0:o.value,...e,page:1},t()},handleLoadMore(e){d.useModel.formData.value.page=null==e?void 0:e.page,t()},handleCalculatePrice(e,l,o){var u;let a=null==o?void 0:o.checked;if(d.useModel.items.value[e].bills[l].checked=!a,a)d.useModel.items.value[e].checked=!1;else{let l=null==(u=d.useModel.items.value[e].bills)?void 0:u.every(e=>null==e?void 0:e.checked);d.useModel.items.value[e].checked=l,console.log(l)}},handleCollapseAllCheckedBtn:async(e,l)=>{var o,u,a,i;let n=null==l?void 0:l.checked;d.useModel.items.value[e].checked=!n,null==(i=null==(a=null==(u=null==(o=d.useModel)?void 0:o.items)?void 0:u.value[e])?void 0:a.bills)||i.map(e=>{e.checked=!n})},handleQuery(l){e.index.navigateTo({url:`/INDEX/bill/show/index?asset_houses_id=${null==l?void 0:l.asset_houses_id}&month=${null==l?void 0:l.month}`}),console.log(l,"res")},handleSubmitOrder(){var l,a,n,t,s,v,r;let m=[];null==(n=null==(a=null==(l=d.useModel)?void 0:l.items)?void 0:a.value)||n.map(e=>{var l;null==(l=null==e?void 0:e.bills)||l.map(e=>{var l;null==(l=null==e?void 0:e.details)||l.map(l=>{(null==e?void 0:e.checked)&&m.push(null==l?void 0:l.id)})})}),(null==m?void 0:m.length)?o.getApiLoading(i.Apis.HouseOrder.HouseOrders.Store,{bill_ids:m,amount:null==(s=null==(t=d.useModel)?void 0:t.total_amount)?void 0:s.value,total_payable_amount:null==(r=null==(v=d.useModel)?void 0:v.total_amount)?void 0:r.value}).then(l=>{var o;e.index.navigateTo({url:`/INDEX/pay/index?id=${null==(o=null==l?void 0:l.data)?void 0:o.id}`})}):u.showToast("至少选择一个账单!")},handleQRCode(){var l,u,a,n;let t=s()||[];(null==t?void 0:t.length)&&o.getApiLoading(i.Apis.HouseOrder.HouseOrders.Store,{bill_ids:t||[],total_payable_amount:null==(u=null==(l=d.useModel)?void 0:l.total_amount)?void 0:u.value,amount:null==(n=null==(a=d.useModel)?void 0:a.total_amount)?void 0:n.value}).then(l=>{var o,u,a,i,n,t,s,v,r,m;e.index.navigateTo({url:`/BILL/poster/index?id=${null==(u=null==(o=d.useModel.formData)?void 0:o.value)?void 0:u.asset_houses_id}&order_id=${null==(a=null==l?void 0:l.data)?void 0:a.id}&time=${null==(i=null==l?void 0:l.data)?void 0:i.created_at}&name=${null==(t=null==(n=d.useModel.formData)?void 0:n.value)?void 0:t.name}&amount=${(null==(v=null==(s=d.useModel)?void 0:s.total_amount)?void 0:v.value)||(null==(m=null==(r=d.useModel)?void 0:r.total_amount)?void 0:m.value)}`})})},handleSelectExternalContact(){var l;let o=s()||[];if(console.log(o,"bill_ids"),!(null==o?void 0:o.length))return!1;"wxwork"===(null==(l=null==n?void 0:n.data)?void 0:l.environment)?e.index.qy.getContext({success:function(e){var l,u,i;"single_chat_tools"===e.entry?a.sendChatMessage({page:`/INDEX/bill_order/index.html?bill_ids=${JSON.stringify(o)}&house_id=${d.useModel.formData.value.asset_houses_id}`,title:`分享给您${null==(i=null==(u=null==(l=d.useModel)?void 0:l.formData)?void 0:u.value)?void 0:i.name}物业账单`,imgUrl:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K5B5RY2TQQAJ1GT2RZSK426V.jpg"}):a.navigateToMiniProgram({path:"/pages/forward/index?source=OutstandingFeeList",envVersion:"develop",extraData:{source:"OutstandingFeeList"}})}}):a.navigateToMiniProgram({path:"/pages/forward/index?source=OutstandingFeeList",envVersion:"develop",extraData:{source:"OutstandingFeeList"}})}};exports.method=r; diff --git a/dist/build/mp-weixin/CUSTOMER/list_bill/model.js b/dist/build/mp-weixin/CUSTOMER/list_bill/model.js index 13bfac9..0b2fac3 100644 --- a/dist/build/mp-weixin/CUSTOMER/list_bill/model.js +++ b/dist/build/mp-weixin/CUSTOMER/list_bill/model.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),r={items:e.ref([]),currentTabs:e.ref(0),total_amount:e.ref(0),formData:e.ref({page:1})};exports.useModel=r; +"use strict";const e=require("../../common/vendor.js"),r={items:e.ref([]),currentTabs:e.ref(0),total_amount:e.ref(0),metaData:e.ref({}),formData:e.ref({page:1})};exports.useModel=r; diff --git a/dist/build/mp-weixin/CUSTOMER/list_house/components/SearchBox.js b/dist/build/mp-weixin/CUSTOMER/list_house/components/SearchBox.js index cb59148..22ea1dd 100644 --- a/dist/build/mp-weixin/CUSTOMER/list_house/components/SearchBox.js +++ b/dist/build/mp-weixin/CUSTOMER/list_house/components/SearchBox.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("../method.js"),r=require("../model.js");if(require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/libraries/apiLoading.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/userUserLogin.js"),!Array){(e.resolveComponent("up-search")+e.resolveComponent("uni-icons")+e.resolveComponent("hs-popup"))()}Math||((()=>"../../../node-modules/uview-plus/components/u-search/u-search.js")+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../components/hs-popup/hs-popup.js"))();const n=e.defineComponent({__name:"SearchBox",setup(n){const s=e.ref(!1);return(n,u)=>{var i,a,t;return{a:e.o(null==(i=e.unref(o.method))?void 0:i.handleSearch),b:e.o((o=>e.unref(r.useModel).formData.value.name=o)),c:e.p({placeholder:"请输入房号",showAction:!1,modelValue:e.unref(r.useModel).formData.value.name}),d:e.f(null==(t=null==(a=e.unref(r.useModel))?void 0:a.buildingData)?void 0:t.value,((n,s,u)=>({a:e.t(null==n?void 0:n.name),b:`items_${s}`,c:e.n("tab_item "+(e.unref(r.useModel).formData.value.asset_buildings_id===(null==n?void 0:n.id)?"tab_active":"")),d:e.o((r=>{var s;return null==(s=e.unref(o.method))?void 0:s.handleChangeBuilding(n)}),`items_${s}`)}))),e:e.p({type:"help",size:"20",color:"#666"}),f:e.o((e=>s.value=!0)),g:e.o((e=>s.value=!1)),h:e.p({show:s.value,mode:"bottom",closeable:!0,round:20})}}}}),s=e._export_sfc(n,[["__scopeId","data-v-e0d750a4"]]);wx.createComponent(s); +"use strict";const e=require("../../../common/vendor.js"),o=require("../method.js"),r=require("../model.js");if(require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/libraries/apiLoading.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/userUserLogin.js"),!Array){(e.resolveComponent("up-search")+e.resolveComponent("uni-icons")+e.resolveComponent("hs-popup"))()}Math||((()=>"../../../node-modules/uview-plus/components/u-search/u-search.js")+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../components/hs-popup/hs-popup.js"))();const n=e.defineComponent({__name:"SearchBox",setup(n){const s=e.ref(!1);return(n,u)=>{var i,a,t;return{a:e.o(null==(i=e.unref(o.method))?void 0:i.handleSearch),b:e.o(o=>e.unref(r.useModel).formData.value.name=o),c:e.p({placeholder:"请输入房号",showAction:!1,modelValue:e.unref(r.useModel).formData.value.name}),d:e.f(null==(t=null==(a=e.unref(r.useModel))?void 0:a.buildingData)?void 0:t.value,(n,s,u)=>({a:e.t(null==n?void 0:n.name),b:`items_${s}`,c:e.n("tab_item "+(e.unref(r.useModel).formData.value.asset_buildings_id===(null==n?void 0:n.id)?"tab_active":"")),d:e.o(r=>{var s;return null==(s=e.unref(o.method))?void 0:s.handleChangeBuilding(n)},`items_${s}`)})),e:e.p({type:"help",size:"20",color:"#666"}),f:e.o(e=>s.value=!0),g:e.o(e=>s.value=!1),h:e.p({show:s.value,mode:"bottom",closeable:!0,round:20})}}}}),s=e._export_sfc(n,[["__scopeId","data-v-e0d750a4"]]);wx.createComponent(s); diff --git a/dist/build/mp-weixin/CUSTOMER/list_house/index.js b/dist/build/mp-weixin/CUSTOMER/list_house/index.js index d22c9cf..40ee0e7 100644 --- a/dist/build/mp-weixin/CUSTOMER/list_house/index.js +++ b/dist/build/mp-weixin/CUSTOMER/list_house/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("./model.js"),r=require("./method.js");if(require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/userUserLogin.js"),!Array){e.resolveComponent("hs-empty")()}Math||(s+(()=>"../../components/hs-empty/hs-empty.js"))();const s=()=>"./components/SearchBox.js",n=e.defineComponent({__name:"index",setup:s=>(e.onLoad((()=>{r.method.getGridAssetBuilding()})),(s,n)=>{var t,u,i,l,a,m,d,v;return e.e({a:!(null==(i=null==(u=null==(t=e.unref(o.useModel))?void 0:t.listData)?void 0:u.value)?void 0:i.length)},(null==(m=null==(a=null==(l=e.unref(o.useModel))?void 0:l.listData)?void 0:a.value)||m.length,{}),{b:e.f(null==(v=null==(d=e.unref(o.useModel))?void 0:d.listData)?void 0:v.value,((o,s,n)=>({a:e.t(null==o?void 0:o.floor),b:e.f(null==o?void 0:o.houses,((o,n,t)=>({a:e.t(null==o?void 0:o.name),b:e.t((null==o?void 0:o.has_arrear)?"欠费":"结清"),c:e.n(`status status_${null==o?void 0:o.has_arrear}`),d:`item_${s}_${n}`,e:e.o((s=>{var n;return null==(n=e.unref(r.method))?void 0:n.toDetaile(o)}),`item_${s}_${n}`)}))),c:`item_${s}`})))})})});wx.createPage(n); +"use strict";const e=require("../../common/vendor.js"),o=require("./model.js"),r=require("./method.js");if(require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/userUserLogin.js"),!Array){e.resolveComponent("hs-empty")()}Math||(s+(()=>"../../components/hs-empty/hs-empty.js"))();const s=()=>"./components/SearchBox.js",n=e.defineComponent({__name:"index",setup:s=>(e.onLoad(()=>{r.method.getGridAssetBuilding()}),(s,n)=>{var t,u,i,l,a,m,d,v;return e.e({a:!(null==(i=null==(u=null==(t=e.unref(o.useModel))?void 0:t.listData)?void 0:u.value)?void 0:i.length)},(null==(m=null==(a=null==(l=e.unref(o.useModel))?void 0:l.listData)?void 0:a.value)||m.length,{}),{b:e.f(null==(v=null==(d=e.unref(o.useModel))?void 0:d.listData)?void 0:v.value,(o,s,n)=>({a:e.t(null==o?void 0:o.floor),b:e.f(null==o?void 0:o.houses,(o,n,t)=>({a:e.t(null==o?void 0:o.name),b:e.t((null==o?void 0:o.has_arrear)?"欠费":"结清"),c:e.n(`status status_${null==o?void 0:o.has_arrear}`),d:`item_${s}_${n}`,e:e.o(s=>{var n;return null==(n=e.unref(r.method))?void 0:n.toDetaile(o)},`item_${s}_${n}`)})),c:`item_${s}`}))})})});wx.createPage(n); diff --git a/dist/build/mp-weixin/CUSTOMER/list_house/method.js b/dist/build/mp-weixin/CUSTOMER/list_house/method.js index 6ac3607..6e8e9f4 100644 --- a/dist/build/mp-weixin/CUSTOMER/list_house/method.js +++ b/dist/build/mp-weixin/CUSTOMER/list_house/method.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),i=require("./model.js"),l=require("../../gen/Apis.js"),d=require("../../common/libraries/apiLoading.js");require("../../common/libraries/userUserLogin.js");const a=()=>{var e,a;d.getApiLoading(l.Apis.Grid.Grids.GridAssetHouse,null==(a=null==(e=i.useModel)?void 0:e.formData)?void 0:a.value).then((e=>{i.useModel.listData.value=(null==e?void 0:e.data)||[],i.useModel.metaData.value=(null==e?void 0:e.meta)||{},console.log(e)}))},o=()=>{i.useModel.formData.value.page=1,i.useModel.listData.value=[],a()},s={handleChangeBuilding(e){(null==e?void 0:e.id)!==i.useModel.formData.value.asset_buildings_id&&(i.useModel.formData.value.asset_buildings_id=null==e?void 0:e.id,o()),console.log(e,"e")},getGridAssetBuilding(){d.getApiLoading(l.Apis.Grid.Grids.GridAssetBuilding,{}).then((e=>{var l,d;i.useModel.buildingData.value=(null==e?void 0:e.data)||[],(null==(l=null==e?void 0:e.data)?void 0:l.length)&&(i.useModel.formData.value.asset_buildings_id=null==(d=null==e?void 0:e.data[0])?void 0:d.id,a()),console.log(e)}))},handleSearch:o,toDetaile(i){e.index.navigateTo({url:`/BILL/outstanding_fee/show/index?id=${null==i?void 0:i.id}`})}};exports.method=s; +"use strict";const e=require("../../common/vendor.js"),i=require("./model.js"),l=require("../../gen/Apis.js"),d=require("../../common/libraries/apiLoading.js");require("../../common/libraries/userUserLogin.js");const a=()=>{var e,a;d.getApiLoading(l.Apis.Grid.Grids.GridAssetHouse,null==(a=null==(e=i.useModel)?void 0:e.formData)?void 0:a.value).then(e=>{i.useModel.listData.value=(null==e?void 0:e.data)||[],i.useModel.metaData.value=(null==e?void 0:e.meta)||{},console.log(e)})},o=()=>{i.useModel.formData.value.page=1,i.useModel.listData.value=[],a()},s={handleChangeBuilding(e){(null==e?void 0:e.id)!==i.useModel.formData.value.asset_buildings_id&&(i.useModel.formData.value.asset_buildings_id=null==e?void 0:e.id,o()),console.log(e,"e")},getGridAssetBuilding(){d.getApiLoading(l.Apis.Grid.Grids.GridAssetBuilding,{}).then(e=>{var l,d;i.useModel.buildingData.value=(null==e?void 0:e.data)||[],(null==(l=null==e?void 0:e.data)?void 0:l.length)&&(i.useModel.formData.value.asset_buildings_id=null==(d=null==e?void 0:e.data[0])?void 0:d.id,a()),console.log(e)})},handleSearch:o,toDetaile(i){e.index.navigateTo({url:`/BILL/outstanding_fee/show/index?id=${null==i?void 0:i.id}`})}};exports.method=s; diff --git a/dist/build/mp-weixin/CUSTOMER/list_user/index.js b/dist/build/mp-weixin/CUSTOMER/list_user/index.js index 3d413da..100adfd 100644 --- a/dist/build/mp-weixin/CUSTOMER/list_user/index.js +++ b/dist/build/mp-weixin/CUSTOMER/list_user/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("../../gen/Enums.js"),n=require("./method.js"),l=require("./model.js");if(require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("up-search")+e.resolveComponent("up-avatar")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("uni-icons")+e.resolveComponent("cc-scroll-loading"))()}Math||((()=>"../../node-modules/uview-plus/components/u-search/u-search.js")+(()=>"../../node-modules/uview-plus/components/u-avatar/u-avatar.js")+(()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const u=e.defineComponent({__name:"index",setup:u=>(e.onLoad((()=>{var e;null==(e=n.method)||e.getList()})),e.onUnload((()=>{l.useModel.listData.value=[]})),(u,i)=>{var r,s,a,t,d,c;return{a:e.o(null==(r=e.unref(n.method))?void 0:r.handleSearch),b:e.o((o=>e.unref(l.useModel).formData.value.keyword=o)),c:e.p({placeholder:"搜索房号/手机号/姓名",showAction:!1,modelValue:e.unref(l.useModel).formData.value.keyword}),d:e.f(null==(a=null==(s=e.unref(l.useModel))?void 0:s.listData)?void 0:a.value,((n,l,u)=>({a:e.t(null==n?void 0:n.house_name),b:e.f(null==n?void 0:n.occupants,((l,i,r)=>e.e({a:"508bcffd-2-"+u+"-"+r+",508bcffd-1",b:e.t(null==l?void 0:l.name),c:e.t(null==l?void 0:l.phone),d:"Owner"===(null==l?void 0:l.house_relation)},(null==l||l.house_relation,{}),(null==n||n.is_contact,{}),{e:"NonOwner"===(null==l?void 0:l.house_relation)&&(null==l?void 0:l.residential_relation)},"NonOwner"===(null==l?void 0:l.house_relation)&&(null==l?void 0:l.residential_relation)?{f:"508bcffd-3-"+u+"-"+r+",508bcffd-1",g:e.p({Enums:e.unref(o.HouseOccupantsResidentialRelationEnum),value:null==l?void 0:l.residential_relation})}:{},{h:"508bcffd-4-"+u+"-"+r+",508bcffd-1",i:e.o((o=>{return n=l,void e.index.navigateTo({url:`/CUSTOMER/show/index?id=${null==n?void 0:n.id}`});var n}),null==n?void 0:n.index)}))),c:null==n?void 0:n.is_contact,d:null==n?void 0:n.index,e:`customer_${null==n?void 0:n.index}`}))),e:e.p({type:"right",size:"13",color:"#999"}),f:e.o(null==(t=e.unref(n.method))?void 0:t.handleLoad),g:e.p({meta:null==(c=null==(d=e.unref(l.useModel))?void 0:d.metaData)?void 0:c.value})}})});wx.createPage(u); +"use strict";const e=require("../../common/vendor.js"),o=require("../../gen/Enums.js"),n=require("./method.js"),l=require("./model.js");if(require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("up-search")+e.resolveComponent("up-avatar")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("uni-icons")+e.resolveComponent("cc-scroll-loading"))()}Math||((()=>"../../node-modules/uview-plus/components/u-search/u-search.js")+(()=>"../../node-modules/uview-plus/components/u-avatar/u-avatar.js")+(()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const u=e.defineComponent({__name:"index",setup:u=>(e.onLoad(()=>{var e;null==(e=n.method)||e.getList()}),e.onUnload(()=>{l.useModel.listData.value=[]}),(u,i)=>{var r,s,a,t,d,c;return{a:e.o(null==(r=e.unref(n.method))?void 0:r.handleSearch),b:e.o(o=>e.unref(l.useModel).formData.value.keyword=o),c:e.p({placeholder:"搜索房号/手机号/姓名",showAction:!1,modelValue:e.unref(l.useModel).formData.value.keyword}),d:e.f(null==(a=null==(s=e.unref(l.useModel))?void 0:s.listData)?void 0:a.value,(n,l,u)=>({a:e.t(null==n?void 0:n.house_name),b:e.f(null==n?void 0:n.occupants,(l,i,r)=>e.e({a:"508bcffd-2-"+u+"-"+r+",508bcffd-1",b:e.t(null==l?void 0:l.name),c:e.t(null==l?void 0:l.phone),d:"Owner"===(null==l?void 0:l.house_relation)},(null==l||l.house_relation,{}),(null==n||n.is_contact,{}),{e:"NonOwner"===(null==l?void 0:l.house_relation)&&(null==l?void 0:l.residential_relation)},"NonOwner"===(null==l?void 0:l.house_relation)&&(null==l?void 0:l.residential_relation)?{f:"508bcffd-3-"+u+"-"+r+",508bcffd-1",g:e.p({Enums:e.unref(o.HouseOccupantsResidentialRelationEnum),value:null==l?void 0:l.residential_relation})}:{},{h:"508bcffd-4-"+u+"-"+r+",508bcffd-1",i:e.o(o=>{return n=l,void e.index.navigateTo({url:`/CUSTOMER/show/index?id=${null==n?void 0:n.id}`});var n},null==n?void 0:n.index)})),c:null==n?void 0:n.is_contact,d:null==n?void 0:n.index,e:`customer_${null==n?void 0:n.index}`})),e:e.p({type:"right",size:"13",color:"#999"}),f:e.o(null==(t=e.unref(n.method))?void 0:t.handleLoad),g:e.p({meta:null==(c=null==(d=e.unref(l.useModel))?void 0:d.metaData)?void 0:c.value})}})});wx.createPage(u); diff --git a/dist/build/mp-weixin/CUSTOMER/list_user/method.js b/dist/build/mp-weixin/CUSTOMER/list_user/method.js index 82a0c1b..4cc6734 100644 --- a/dist/build/mp-weixin/CUSTOMER/list_user/method.js +++ b/dist/build/mp-weixin/CUSTOMER/list_user/method.js @@ -1 +1 @@ -"use strict";const e=require("../../gen/Apis.js"),a=require("../../common/libraries/apiLoading.js"),l=require("./model.js"),o=()=>{var o,s;a.getApiLoading(e.Apis.Archive.HouseOccupants.GetHouseOccupants,null==(s=null==(o=l.useModel)?void 0:o.formData)?void 0:s.value).then((e=>{l.useModel.listData.value=[...l.useModel.listData.value,...(null==e?void 0:e.data)||[]],l.useModel.metaData.value=null==e?void 0:e.meta,console.log(e)}))},s={handleSearch(){l.useModel.formData.value.page=1,l.useModel.listData.value=[],o()},getList:o,handleLoad(e){l.useModel.formData.value.page=e,o()}};exports.method=s; +"use strict";const e=require("../../gen/Apis.js"),a=require("../../common/libraries/apiLoading.js"),l=require("./model.js"),o=()=>{var o,s;a.getApiLoading(e.Apis.Archive.HouseOccupants.GetHouseOccupants,null==(s=null==(o=l.useModel)?void 0:o.formData)?void 0:s.value).then(e=>{l.useModel.listData.value=[...l.useModel.listData.value,...(null==e?void 0:e.data)||[]],l.useModel.metaData.value=null==e?void 0:e.meta,console.log(e)})},s={handleSearch(){l.useModel.formData.value.page=1,l.useModel.listData.value=[],o()},getList:o,handleLoad(e){l.useModel.formData.value.page=e,o()}};exports.method=s; diff --git a/dist/build/mp-weixin/CUSTOMER/show/index.js b/dist/build/mp-weixin/CUSTOMER/show/index.js index 3d82e84..ebc846c 100644 --- a/dist/build/mp-weixin/CUSTOMER/show/index.js +++ b/dist/build/mp-weixin/CUSTOMER/show/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("./method.js"),n=require("./model.js"),l=require("../../gen/Enums.js");if(require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/sendWxWork.js"),require("../../common/libraries/naviHelper.js"),!Array){(e.resolveComponent("up-avatar")+e.resolveComponent("hs-cell")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("uni-icons")+e.resolveComponent("hs-empty")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../node-modules/uview-plus/components/u-avatar/u-avatar.js")+(()=>"../../components/hs-cell/hs-cell.js")+(()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-empty/hs-empty.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const u=e.defineComponent({__name:"index",setup(u){const s=o=>{e.index.navigateTo({url:o})};return e.onLoad((async n=>{var l,u;await(null==(l=e.getCurrentInstance())?void 0:l.appContext.config.globalProperties.$onLaunched),null==(u=o.method)||u.getShow(null==n?void 0:n.id)})),(u,i)=>{var r,a,t,d,v,m,h,p,c,_,f,g,j,q,b,C;return e.e({a:e.p({size:"50px"}),b:e.t((null==(t=null==(a=null==(r=e.unref(n.useModel))?void 0:r.showData)?void 0:a.value)?void 0:t.name)||"请补充姓名"),c:e.p({title:"手机号",placeholder:"手机号码信息缺失",value:null==(m=null==(v=null==(d=e.unref(n.useModel))?void 0:d.showData)?void 0:v.value)?void 0:m.phone}),d:e.o((o=>{var l,u,i,r,a,t;return s(`/CUSTOMER/assets/index?name=${null==(i=null==(u=null==(l=e.unref(n.useModel))?void 0:l.showData)?void 0:u.value)?void 0:i.name}&phone=${null==(t=null==(a=null==(r=e.unref(n.useModel))?void 0:r.showData)?void 0:a.value)?void 0:t.phone}`)})),e:e.f(null==(p=null==(h=e.unref(n.useModel))?void 0:h.userHouse)?void 0:p.value,((o,n,u)=>{var i,r,a,t;return e.e({a:e.t(null==(i=null==o?void 0:o.asset_project)?void 0:i.name),b:e.t(null==(r=null==o?void 0:o.asset_building)?void 0:r.name),c:e.t(null==(a=null==o?void 0:o.asset_unit)?void 0:a.name),d:e.t(null==(t=null==o?void 0:o.asset_house)?void 0:t.name),e:"Owner"===(null==o?void 0:o.house_relation)},"Owner"===(null==o?void 0:o.house_relation)?{}:{f:"9c5679fc-2-"+u,g:e.p({Enums:e.unref(l.HouseOccupantsResidentialRelationEnum),value:null==o?void 0:o.residential_relation})},{h:"9c5679fc-3-"+u,i:`items_${n}`,j:e.o((e=>s(`/BILL/outstanding_fee/show/index?id=${null==o?void 0:o.asset_houses_id}`)),`items_${n}`)})})),f:e.p({type:"right",size:"13",color:"#999"}),g:!(null==(f=null==(_=null==(c=e.unref(n.useModel))?void 0:c.arrearageHouses)?void 0:_.value)?void 0:f.length)},(null==(q=null==(j=null==(g=e.unref(n.useModel))?void 0:g.arrearageHouses)?void 0:j.value)?void 0:q.length)?{}:{h:e.p({baseStyle:{height:"200rpx",padding:"30rpx 0"}})},{i:e.f(null==(C=null==(b=e.unref(n.useModel))?void 0:b.arrearageHouses)?void 0:C.value,((n,l,u)=>({a:e.t(null==n?void 0:n.full_name),b:e.t(null==n?void 0:n.total_overdue_amount),c:e.o((e=>s(`/CUSTOMER/list_bill/index?asset_houses_id=${null==n?void 0:n.asset_houses_id}&name=${null==n?void 0:n.full_name}`)),`items_${l}`),d:e.o((n=>{var l;return null==(l=e.unref(o.method))?void 0:l.shareBill()}),`items_${l}`),e:`items_${l}`}))),j:e.o((n=>{var l;return null==(l=e.unref(o.method))?void 0:l.handleMakePhoneCall()})),k:e.p({btnParimaryName:"拨打电话"})})}}});wx.createPage(u); +"use strict";const e=require("../../common/vendor.js"),o=require("./method.js"),n=require("./model.js"),l=require("../../gen/Enums.js");if(require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/sendWxWork.js"),require("../../common/libraries/naviHelper.js"),!Array){(e.resolveComponent("up-avatar")+e.resolveComponent("hs-cell")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("uni-icons")+e.resolveComponent("hs-empty")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../node-modules/uview-plus/components/u-avatar/u-avatar.js")+(()=>"../../components/hs-cell/hs-cell.js")+(()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-empty/hs-empty.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const u=e.defineComponent({__name:"index",setup(u){const s=o=>{e.index.navigateTo({url:o})};return e.onLoad(async n=>{var l,u;await(null==(l=e.getCurrentInstance())?void 0:l.appContext.config.globalProperties.$onLaunched),null==(u=o.method)||u.getShow(null==n?void 0:n.id)}),(u,i)=>{var r,a,t,d,v,m,h,p,c,_,f,g,j,q,b,C;return e.e({a:e.p({size:"50px"}),b:e.t((null==(t=null==(a=null==(r=e.unref(n.useModel))?void 0:r.showData)?void 0:a.value)?void 0:t.name)||"请补充姓名"),c:e.p({title:"手机号",placeholder:"手机号码信息缺失",value:null==(m=null==(v=null==(d=e.unref(n.useModel))?void 0:d.showData)?void 0:v.value)?void 0:m.phone}),d:e.o(o=>{var l,u,i,r,a,t;return s(`/CUSTOMER/assets/index?name=${null==(i=null==(u=null==(l=e.unref(n.useModel))?void 0:l.showData)?void 0:u.value)?void 0:i.name}&phone=${null==(t=null==(a=null==(r=e.unref(n.useModel))?void 0:r.showData)?void 0:a.value)?void 0:t.phone}`)}),e:e.f(null==(p=null==(h=e.unref(n.useModel))?void 0:h.userHouse)?void 0:p.value,(o,n,u)=>{var i,r,a,t;return e.e({a:e.t(null==(i=null==o?void 0:o.asset_project)?void 0:i.name),b:e.t(null==(r=null==o?void 0:o.asset_building)?void 0:r.name),c:e.t(null==(a=null==o?void 0:o.asset_unit)?void 0:a.name),d:e.t(null==(t=null==o?void 0:o.asset_house)?void 0:t.name),e:"Owner"===(null==o?void 0:o.house_relation)},"Owner"===(null==o?void 0:o.house_relation)?{}:{f:"9c5679fc-2-"+u,g:e.p({Enums:e.unref(l.HouseOccupantsResidentialRelationEnum),value:null==o?void 0:o.residential_relation})},{h:"9c5679fc-3-"+u,i:`items_${n}`,j:e.o(e=>s(`/BILL/outstanding_fee/show/index?id=${null==o?void 0:o.asset_houses_id}`),`items_${n}`)})}),f:e.p({type:"right",size:"13",color:"#999"}),g:!(null==(f=null==(_=null==(c=e.unref(n.useModel))?void 0:c.arrearageHouses)?void 0:_.value)?void 0:f.length)},(null==(q=null==(j=null==(g=e.unref(n.useModel))?void 0:g.arrearageHouses)?void 0:j.value)?void 0:q.length)?{}:{h:e.p({baseStyle:{height:"200rpx",padding:"30rpx 0"}})},{i:e.f(null==(C=null==(b=e.unref(n.useModel))?void 0:b.arrearageHouses)?void 0:C.value,(n,l,u)=>({a:e.t(null==n?void 0:n.full_name),b:e.t(null==n?void 0:n.total_overdue_amount),c:e.o(e=>s(`/CUSTOMER/list_bill/index?asset_houses_id=${null==n?void 0:n.asset_houses_id}&name=${null==n?void 0:n.full_name}`),`items_${l}`),d:e.o(n=>{var l;return null==(l=e.unref(o.method))?void 0:l.shareBill()},`items_${l}`),e:`items_${l}`})),j:e.o(n=>{var l;return null==(l=e.unref(o.method))?void 0:l.handleMakePhoneCall()}),k:e.p({btnParimaryName:"拨打电话"})})}}});wx.createPage(u); diff --git a/dist/build/mp-weixin/CUSTOMER/show/method.js b/dist/build/mp-weixin/CUSTOMER/show/method.js index 282890a..3ae5ffd 100644 --- a/dist/build/mp-weixin/CUSTOMER/show/method.js +++ b/dist/build/mp-weixin/CUSTOMER/show/method.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("../../gen/Apis.js"),a=require("../../common/libraries/apiLoading.js"),n=require("./model.js"),s=require("../../common/libraries/sendWxWork.js"),l={handleMakePhoneCall(){var o,a;(null==(o=n.useModel.showData.value)?void 0:o.phone)&&e.index.makePhoneCall({phoneNumber:null==(a=n.useModel.showData.value)?void 0:a.phone})},getShow(e){a.getApiLoading(o.Apis.Archive.HouseOccupants.Show,{id:e}).then((e=>{var s,l,i;n.useModel.showData.value=null==e?void 0:e.data,i=null==(s=null==e?void 0:e.data)?void 0:s.phone,a.getApiLoading(o.Apis.Archive.HouseOccupants.GetHouseOccupantsByPhone,{phone:i}).then((e=>{n.useModel.userHouse.value=null==e?void 0:e.data,console.log(e)})),(e=>{a.getApiLoading(o.Apis.Bill.HouseBills.GetOccupantArrearageHouses,{phone:e}).then((e=>{n.useModel.arrearageHouses.value=null==e?void 0:e.data,console.log(e)}))})(null==(l=null==e?void 0:e.data)?void 0:l.phone),console.log(e)}))},shareBill(){s.navigateToMiniProgram({path:"/pages/forward/index?source=OutstandingFeeList",envVersion:"develop",extraData:{source:"OutstandingFeeList"}})}};exports.method=l; +"use strict";const e=require("../../common/vendor.js"),o=require("../../gen/Apis.js"),a=require("../../common/libraries/apiLoading.js"),n=require("./model.js"),s=require("../../common/libraries/sendWxWork.js"),l={handleMakePhoneCall(){var o,a;(null==(o=n.useModel.showData.value)?void 0:o.phone)&&e.index.makePhoneCall({phoneNumber:null==(a=n.useModel.showData.value)?void 0:a.phone})},getShow(e){a.getApiLoading(o.Apis.Archive.HouseOccupants.Show,{id:e}).then(e=>{var s,l,i;n.useModel.showData.value=null==e?void 0:e.data,i=null==(s=null==e?void 0:e.data)?void 0:s.phone,a.getApiLoading(o.Apis.Archive.HouseOccupants.GetHouseOccupantsByPhone,{phone:i}).then(e=>{n.useModel.userHouse.value=null==e?void 0:e.data,console.log(e)}),(e=>{a.getApiLoading(o.Apis.Bill.HouseBills.GetOccupantArrearageHouses,{phone:e}).then(e=>{n.useModel.arrearageHouses.value=null==e?void 0:e.data,console.log(e)})})(null==(l=null==e?void 0:e.data)?void 0:l.phone),console.log(e)})},shareBill(){s.navigateToMiniProgram({path:"/pages/forward/index?source=OutstandingFeeList",envVersion:"develop",extraData:{source:"OutstandingFeeList"}})}};exports.method=l; diff --git a/dist/build/mp-weixin/CUSTOMER/update/index.js b/dist/build/mp-weixin/CUSTOMER/update/index.js index 6a1a806..8dd536c 100644 --- a/dist/build/mp-weixin/CUSTOMER/update/index.js +++ b/dist/build/mp-weixin/CUSTOMER/update/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("./model.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWorkStore.js"),require("../../gen/Apis.js"),require("../../common/libraries/apiLoading.js"),!Array){(e.resolveComponent("hs-input")+e.resolveComponent("hs-cell")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../components/hs-input/hs-input.js")+(()=>"../../components/hs-cell/hs-cell.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const r=e.defineComponent({__name:"index",setup:r=>(e.onLoad((e=>{console.log(e),o.useModel.formData.value=e})),(r,t)=>({a:e.o((r=>e.unref(o.useModel).formData.value.name=r)),b:e.p({type:"text",textAlign:"right",valueModel:e.unref(o.useModel).formData.value.name}),c:e.p({title:"客户姓名",required:!0,borderTop:!0}),d:e.o((r=>e.unref(o.useModel).formData.value.phone=r)),e:e.p({maxLength:"11",type:"number",textAlign:"right",disabled:!0,valueModel:e.unref(o.useModel).formData.value.phone}),f:e.p({title:"手机号码",required:!0,borderTop:!0}),g:e.p({btnParimaryName:"保存"})}))});wx.createPage(r); +"use strict";const e=require("../../common/vendor.js"),o=require("./model.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWorkStore.js"),require("../../gen/Apis.js"),require("../../common/libraries/apiLoading.js"),!Array){(e.resolveComponent("hs-input")+e.resolveComponent("hs-cell")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../components/hs-input/hs-input.js")+(()=>"../../components/hs-cell/hs-cell.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const r=e.defineComponent({__name:"index",setup:r=>(e.onLoad(e=>{console.log(e),o.useModel.formData.value=e}),(r,t)=>({a:e.o(r=>e.unref(o.useModel).formData.value.name=r),b:e.p({type:"text",textAlign:"right",valueModel:e.unref(o.useModel).formData.value.name}),c:e.p({title:"客户姓名",required:!0,borderTop:!0}),d:e.o(r=>e.unref(o.useModel).formData.value.phone=r),e:e.p({maxLength:"11",type:"number",textAlign:"right",disabled:!0,valueModel:e.unref(o.useModel).formData.value.phone}),f:e.p({title:"手机号码",required:!0,borderTop:!0}),g:e.p({btnParimaryName:"保存"})}))});wx.createPage(r); diff --git a/dist/build/mp-weixin/INDEX/pass/index.js b/dist/build/mp-weixin/INDEX/pass/index.js index 186efb3..74ae970 100644 --- a/dist/build/mp-weixin/INDEX/pass/index.js +++ b/dist/build/mp-weixin/INDEX/pass/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),l=require("../../gen/Enums.js"),o=require("./method.js"),u=require("./model.js");if(require("../../common/libraries/apiLoading.js"),require("../../common/libraries/day.js"),require("../../common/libraries/naviHelper.js"),require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("u-avatar")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../node-modules/uview-plus/components/u-avatar/u-avatar.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const n=e.defineComponent({__name:"index",setup:n=>(e.onLoad((e=>{var l;null==(l=o.method)||l.getShow(e),console.log(e)})),(n,i)=>{var r,s,d,v,a,t,m,p,f,h,c,M,w,j,_,q,D,x,b,k,E,S,g,A,y,C,F,W,z,I,L,N,O,P,H,V,$,B,G,J,K,Q,R,T,U,X,Y,Z,ee,le,oe,ue,ne,ie,re,se,de,ve,ae;return e.e({a:null==(s=null==(r=e.unref(u.useModel))?void 0:r.isExpired)?void 0:s.value},(null==(v=null==(d=e.unref(u.useModel))?void 0:d.isExpired)?void 0:v.value)?{b:e.p({type:"info",size:"50",color:"#FF4D4F"})}:{c:e.p({src:(null==(m=null==(t=null==(a=e.unref(u.useModel))?void 0:a.userInfo)?void 0:t.value)?void 0:m.worker_photo)&&(null==(c=null==(h=null==(f=null==(p=e.unref(u.useModel))?void 0:p.userInfo)?void 0:f.value)?void 0:h.worker_photo[0])?void 0:c.url),size:"70"}),d:e.t((null==(j=null==(w=null==(M=e.unref(u.useModel))?void 0:M.showData)?void 0:w.value)?void 0:j.visitor_name)||"-"),e:e.t((null==(D=null==(q=null==(_=e.unref(u.useModel))?void 0:_.showData)?void 0:q.value)?void 0:D.visitor_phone)||"-")},{f:e.t((null==(E=null==(k=null==(b=null==(x=e.unref(u.useModel))?void 0:x.showData)?void 0:b.value)?void 0:k.asset_house)?void 0:E.full_name)||"-"),g:null==(g=null==(S=e.unref(u.useModel))?void 0:S.isExpired)?void 0:g.value},(null==(y=null==(A=e.unref(u.useModel))?void 0:A.isExpired)?void 0:y.value)?{}:{h:e.t(null==(z=e.unref(l.VisitorAppliesStatusEnum)[null==(W=null==(F=null==(C=e.unref(u.useModel))?void 0:C.showData)?void 0:F.value)?void 0:W.status])?void 0:z.text),i:e.n(`value status_${null==(N=null==(L=null==(I=e.unref(u.useModel))?void 0:I.showData)?void 0:L.value)?void 0:N.status}`)},{j:null==(H=null==(P=null==(O=e.unref(u.useModel))?void 0:O.showData)?void 0:P.value)?void 0:H.remark},(null==(B=null==($=null==(V=e.unref(u.useModel))?void 0:V.showData)?void 0:$.value)?void 0:B.remark)?{k:e.t((null==(K=null==(J=null==(G=e.unref(u.useModel))?void 0:G.showData)?void 0:J.value)?void 0:K.remark)||"-")}:{},{l:e.t((null==(U=null==(T=null==(R=null==(Q=e.unref(u.useModel))?void 0:Q.showData)?void 0:R.value)?void 0:T.last_enter_record)?void 0:U.enter_time)||"-"),m:e.t((null==(ee=null==(Z=null==(Y=null==(X=e.unref(u.useModel))?void 0:X.showData)?void 0:Y.value)?void 0:Z.last_exit_record)?void 0:ee.exit_time)||"-"),n:"Approved"===(null==(ue=null==(oe=null==(le=e.unref(u.useModel))?void 0:le.showData)?void 0:oe.value)?void 0:ue.status)&&!(null==(ie=null==(ne=e.unref(u.useModel))?void 0:ne.isExpired)?void 0:ie.value)},"Approved"!==(null==(de=null==(se=null==(re=e.unref(u.useModel))?void 0:re.showData)?void 0:se.value)?void 0:de.status)||(null==(ae=null==(ve=e.unref(u.useModel))?void 0:ve.isExpired)?void 0:ae.value)?{}:{o:e.o((l=>{var u;return null==(u=e.unref(o.method))?void 0:u.handleSubmit("enter")})),p:e.o((l=>{var u;return null==(u=e.unref(o.method))?void 0:u.handleSubmit("exit")})),q:e.p({btnParimaryName:"进入小区",btnOtherShow:!0,btnOtherName:"离开小区"})})})});wx.createPage(n); +"use strict";const e=require("../../common/vendor.js"),l=require("../../gen/Enums.js"),u=require("./method.js"),o=require("./model.js");if(require("../../common/libraries/apiLoading.js"),require("../../common/libraries/day.js"),require("../../common/libraries/naviHelper.js"),require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("u-avatar")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../node-modules/uview-plus/components/u-avatar/u-avatar.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const n=e.defineComponent({__name:"index",setup:n=>(e.onLoad(e=>{var l;null==(l=u.method)||l.init(e),console.log(e)}),(n,i)=>{var r,d,v,a,s,t,m,f,h,p,c,M,D,w,_,j,b,q,x,S,k,A,E,g,y,z,C,N,O,F,P,W,I,L,H,V,$,B,G,J,K,Q,R,T,U,X,Y,Z,ee,le,ue,oe,ne,ie,re,de,ve,ae,se,te,me,fe,he,pe,ce,Me,De,we,_e,je,be,qe,xe,Se,ke,Ae,Ee,ge,ye,ze,Ce,Ne,Oe,Fe,Pe,We,Ie,Le,He,Ve;return e.e({a:"2"===(null==(v=null==(d=null==(r=e.unref(o.useModel))?void 0:r.formData)?void 0:d.value)?void 0:v.source)},"2"===(null==(t=null==(s=null==(a=e.unref(o.useModel))?void 0:a.formData)?void 0:s.value)?void 0:t.source)?e.e({b:null==(f=null==(m=e.unref(o.useModel))?void 0:m.isExpired)?void 0:f.value},(null==(p=null==(h=e.unref(o.useModel))?void 0:h.isExpired)?void 0:p.value)?{c:e.p({type:"info",size:"50",color:"#FF4D4F"})}:{d:e.p({src:(null==(D=null==(M=null==(c=e.unref(o.useModel))?void 0:c.userInfo)?void 0:M.value)?void 0:D.worker_photo)&&(null==(b=null==(j=null==(_=null==(w=e.unref(o.useModel))?void 0:w.userInfo)?void 0:_.value)?void 0:j.worker_photo[0])?void 0:b.url),size:"70"}),e:e.t((null==(S=null==(x=null==(q=e.unref(o.useModel))?void 0:q.showData)?void 0:x.value)?void 0:S.visitor_name)||"-"),f:e.t((null==(E=null==(A=null==(k=e.unref(o.useModel))?void 0:k.showData)?void 0:A.value)?void 0:E.visitor_phone)||"-")},{g:e.t((null==(C=null==(z=null==(y=null==(g=e.unref(o.useModel))?void 0:g.showData)?void 0:y.value)?void 0:z.asset_house)?void 0:C.full_name)||"-"),h:null==(O=null==(N=e.unref(o.useModel))?void 0:N.isExpired)?void 0:O.value},(null==(P=null==(F=e.unref(o.useModel))?void 0:F.isExpired)?void 0:P.value)?{}:{i:e.t(null==(H=e.unref(l.VisitorAppliesStatusEnum)[null==(L=null==(I=null==(W=e.unref(o.useModel))?void 0:W.showData)?void 0:I.value)?void 0:L.status])?void 0:H.text),j:e.n(`value status_${null==(B=null==($=null==(V=e.unref(o.useModel))?void 0:V.showData)?void 0:$.value)?void 0:B.status}`)},{k:null==(K=null==(J=null==(G=e.unref(o.useModel))?void 0:G.showData)?void 0:J.value)?void 0:K.remark},(null==(T=null==(R=null==(Q=e.unref(o.useModel))?void 0:Q.showData)?void 0:R.value)?void 0:T.remark)?{l:e.t((null==(Y=null==(X=null==(U=e.unref(o.useModel))?void 0:U.showData)?void 0:X.value)?void 0:Y.remark)||"-")}:{},{m:e.t((null==(ue=null==(le=null==(ee=null==(Z=e.unref(o.useModel))?void 0:Z.showData)?void 0:ee.value)?void 0:le.last_enter_record)?void 0:ue.enter_time)||"-"),n:e.t((null==(re=null==(ie=null==(ne=null==(oe=e.unref(o.useModel))?void 0:oe.showData)?void 0:ne.value)?void 0:ie.last_exit_record)?void 0:re.exit_time)||"-")}):{},{o:"4"===(null==(ae=null==(ve=null==(de=e.unref(o.useModel))?void 0:de.formData)?void 0:ve.value)?void 0:ae.source)},"4"===(null==(me=null==(te=null==(se=e.unref(o.useModel))?void 0:se.formData)?void 0:te.value)?void 0:me.source)?{p:e.p({size:"70"}),q:e.t((null==(ce=null==(pe=null==(he=null==(fe=e.unref(o.useModel))?void 0:fe.showData)?void 0:he.value)?void 0:pe.house)?void 0:ce.full_name)||"-"),r:e.t((null==(we=null==(De=null==(Me=e.unref(o.useModel))?void 0:Me.showData)?void 0:De.value)?void 0:we.occupant_name)||"-")}:{},{s:"Approved"===(null==(be=null==(je=null==(_e=e.unref(o.useModel))?void 0:_e.showData)?void 0:je.value)?void 0:be.status)&&!(null==(xe=null==(qe=e.unref(o.useModel))?void 0:qe.isExpired)?void 0:xe.value)&&"2"===(null==(Ae=null==(ke=null==(Se=e.unref(o.useModel))?void 0:Se.formData)?void 0:ke.value)?void 0:Ae.source)},"Approved"!==(null==(ye=null==(ge=null==(Ee=e.unref(o.useModel))?void 0:Ee.showData)?void 0:ge.value)?void 0:ye.status)||(null==(Ce=null==(ze=e.unref(o.useModel))?void 0:ze.isExpired)?void 0:Ce.value)||"2"!==(null==(Fe=null==(Oe=null==(Ne=e.unref(o.useModel))?void 0:Ne.formData)?void 0:Oe.value)?void 0:Fe.source)?{}:{t:e.o(l=>{var o;return null==(o=e.unref(u.method))?void 0:o.handleSubmit("enter")}),v:e.o(l=>{var o;return null==(o=e.unref(u.method))?void 0:o.handleSubmit("exit")}),w:e.p({btnParimaryName:"进入小区",btnOtherShow:!0,btnOtherName:"离开小区"})},{x:"4"===(null==(Ie=null==(We=null==(Pe=e.unref(o.useModel))?void 0:Pe.formData)?void 0:We.value)?void 0:Ie.source)},"4"===(null==(Ve=null==(He=null==(Le=e.unref(o.useModel))?void 0:Le.formData)?void 0:He.value)?void 0:Ve.source)?{y:e.o(l=>{var o;return null==(o=e.unref(u.method))?void 0:o.handleSubmit("enter")}),z:e.o(l=>{var o;return null==(o=e.unref(u.method))?void 0:o.handleSubmit("exit")}),A:e.p({btnParimaryName:"进入小区",btnOtherShow:!0,btnOtherName:"离开小区"})}:{})})});wx.createPage(n); diff --git a/dist/build/mp-weixin/INDEX/pass/index.wxml b/dist/build/mp-weixin/INDEX/pass/index.wxml index 61a5893..8ee2477 100644 --- a/dist/build/mp-weixin/INDEX/pass/index.wxml +++ b/dist/build/mp-weixin/INDEX/pass/index.wxml @@ -1 +1 @@ - 通行证已失效 该二维码已失效,请和客户确认出入信息 关联房屋 {{f}} 状态 已失效 {{h}} 事项 {{k}} 上次进入时间 {{l}} 上次离开时间 {{m}} \ No newline at end of file + 通行证已失效 该二维码已失效,请和客户确认出入信息 关联房屋 {{g}} 状态 已失效 {{i}} 事项 {{l}} 上次进入时间 {{m}} 上次离开时间 {{n}} \ No newline at end of file diff --git a/dist/build/mp-weixin/INDEX/pass/index.wxss b/dist/build/mp-weixin/INDEX/pass/index.wxss index 9a76c6f..7de5fd2 100644 --- a/dist/build/mp-weixin/INDEX/pass/index.wxss +++ b/dist/build/mp-weixin/INDEX/pass/index.wxss @@ -1 +1 @@ -page{background-color:#f8f8f8}.release_items_page{padding:40rpx 0;padding-bottom:calc(130rpx + constant(safe-area-inset-bottom));padding-bottom:calc(130rpx + env(safe-area-inset-bottom))}.expired{text-align:center}.expired .des{padding:15rpx 0 10rpx;font-size:28rpx}.expired .sub_des{color:#333;font-size:23rpx;padding-top:5rpx}.release_content{background-color:#fff;border-radius:20rpx;margin:0 30rpx;overflow:hidden;padding:50rpx 0 30rpx}.release_content .user_info{color:#3d3d3d;font-size:26rpx;text-align:center}.release_content .user_info .name{font-size:32rpx;font-weight:700;padding:18rpx 0 6rpx}.release_content .avatar{display:flex;align-items:center;justify-content:center;margin:0 auto}.outer_info{font-size:28rpx;border-top:1rpx solid #eee;margin:30rpx 30rpx 0}.outer_info .cell_items{display:flex;align-items:center;justify-content:space-between;padding-top:25rpx}.outer_info .cell_items .label{font-size:30rpx;color:#666}.status_Approved{color:#55c51d}.status_expired{color:#cf1322} +page{background-color:#f8f8f8}.release_items_page{padding:40rpx 0;padding-bottom:calc(130rpx + constant(safe-area-inset-bottom));padding-bottom:calc(130rpx + env(safe-area-inset-bottom))}.expired{text-align:center}.expired .des{padding:15rpx 0 10rpx;font-size:28rpx}.expired .sub_des{color:#333;font-size:23rpx;padding-top:5rpx}.release_content{background-color:#fff;border-radius:20rpx;margin:0 30rpx;overflow:hidden;padding:50rpx 0}.release_content .user_info{color:#3d3d3d;font-size:26rpx;text-align:center}.release_content .user_info .name{font-size:32rpx;font-weight:700;padding:18rpx 0 6rpx}.release_content .avatar{display:flex;align-items:center;justify-content:center;margin:0 auto}.outer_info{font-size:28rpx;border-top:1rpx solid #eee;margin:30rpx 30rpx 0}.outer_info .cell_items{display:flex;align-items:center;justify-content:space-between;padding-top:25rpx}.outer_info .cell_items .label{font-size:30rpx;color:#666}.status_Approved{color:#55c51d}.status_expired{color:#cf1322} diff --git a/dist/build/mp-weixin/INDEX/pass/method.js b/dist/build/mp-weixin/INDEX/pass/method.js index 4f2ba7e..2a03d21 100644 --- a/dist/build/mp-weixin/INDEX/pass/method.js +++ b/dist/build/mp-weixin/INDEX/pass/method.js @@ -1 +1 @@ -"use strict";const o=require("../../common/libraries/apiLoading.js"),e=require("../../common/libraries/day.js"),i=require("../../common/libraries/naviHelper.js"),l=require("../../gen/Apis.js"),d=require("./model.js"),a=i=>{o.getApiLoading(l.Apis.Visitor.VisitorApplies.Show,i).then((o=>{var i,l,a,s,n,r;d.useModel.showData.value=null==o?void 0:o.data,(null==(l=null==(i=null==o?void 0:o.data)?void 0:i.renovation_workers)?void 0:l.length)&&(d.useModel.userInfo.value=null==(s=null==(a=null==o?void 0:o.data)?void 0:a.renovation_workers)?void 0:s[0]),(null==(n=null==o?void 0:o.data)?void 0:n.code_expired_at)&&(d.useModel.isExpired.value=e.isDatePassed(null==(r=null==o?void 0:o.data)?void 0:r.code_expired_at)),console.log(o)}))},s={getShow:a,handleSubmit(e){var s,n,r;o.getApiLoading(l.Apis.Visitor.VisitorApplies.Scan,{code:null==(r=null==(n=null==(s=d.useModel)?void 0:s.showData)?void 0:n.value)?void 0:r.visitor_code,scan_type:e}).then((o=>{i.showToast("操作成功!",(()=>{var o,e,i;a({id:null==(i=null==(e=null==(o=d.useModel)?void 0:o.showData)?void 0:e.value)?void 0:i.id})})),console.log(o)}))}};exports.method=s; +"use strict";const e=require("../../common/libraries/apiLoading.js"),o=require("../../common/libraries/day.js"),l=require("../../common/libraries/naviHelper.js"),i=require("../../gen/Apis.js"),a=require("./model.js"),s=l=>{e.getApiLoading(i.Apis.Visitor.VisitorApplies.Show,l).then(e=>{var l,i,s,d,n,r;a.useModel.showData.value=null==e?void 0:e.data,(null==(i=null==(l=null==e?void 0:e.data)?void 0:l.renovation_workers)?void 0:i.length)&&(a.useModel.userInfo.value=null==(d=null==(s=null==e?void 0:e.data)?void 0:s.renovation_workers)?void 0:d[0]),(null==(n=null==e?void 0:e.data)?void 0:n.code_expired_at)&&(a.useModel.isExpired.value=o.isDatePassed(null==(r=null==e?void 0:e.data)?void 0:r.code_expired_at)),console.log(e)})},d={init(e){a.useModel.formData.value=e,console.log(e,a.useModel.formData.value,"sncd"),s(e)},handleSubmit(o){var d,n,r,u,t;e.getApiLoading(i.Apis.Visitor.VisitorApplies.Scan,{code:null==(r=null==(n=null==(d=a.useModel)?void 0:d.showData)?void 0:n.value)?void 0:r.visitor_code,scan_type:o,...null==(t=null==(u=a.useModel)?void 0:u.formData)?void 0:t.value}).then(e=>{l.showToast("操作成功!",()=>{s(a.useModel.formData.value)}),console.log(e)})}};exports.method=d; diff --git a/dist/build/mp-weixin/INDEX/release_items/index.js b/dist/build/mp-weixin/INDEX/release_items/index.js index 447858f..ce9ac46 100644 --- a/dist/build/mp-weixin/INDEX/release_items/index.js +++ b/dist/build/mp-weixin/INDEX/release_items/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),l=require("../../gen/Enums.js"),u=require("./method.js"),o=require("./model.js");if(require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/day.js"),!Array){e.resolveComponent("hs-footer")()}Math;const n=e.defineComponent({__name:"index",setup:n=>(e.onLoad((e=>{var l;null==(l=u.method)||l.getShow(e),console.log(e)})),(n,d)=>{var s,i,r,a,v,t,m,f,p,h,M,c,w,j,q,D,b,g,_,x,k,E,y,A,S,P,W,C,G,L,R,$,H,N,T,z,B,F,I,J,K,O,Q,U,V,X,Y,Z;return e.e({a:e.t((null==(a=null==(r=null==(i=null==(s=e.unref(o.useModel))?void 0:s.showData)?void 0:i.value)?void 0:r.asset_house)?void 0:a.full_name)||"-"),b:e.t(null==(f=e.unref(l.GoodsReleasesPassedTypeEnum)[null==(m=null==(t=null==(v=e.unref(o.useModel))?void 0:v.showData)?void 0:t.value)?void 0:m.passed_type])?void 0:f.text),c:e.t(null==(M=null==(h=null==(p=e.unref(o.useModel))?void 0:p.showData)?void 0:h.value)?void 0:M.passed_time),d:e.t(null==(j=null==(w=null==(c=e.unref(o.useModel))?void 0:c.showData)?void 0:w.value)?void 0:j.apply_name),e:null==(D=null==(q=e.unref(o.useModel))?void 0:q.isExpired)?void 0:D.value},(null==(g=null==(b=e.unref(o.useModel))?void 0:b.isExpired)?void 0:g.value)?{}:{f:e.t(null==(E=e.unref(l.GoodsReleasesStatusEnum)[null==(k=null==(x=null==(_=e.unref(o.useModel))?void 0:_.showData)?void 0:x.value)?void 0:k.status])?void 0:E.text),g:e.n(`value status_${null==(S=null==(A=null==(y=e.unref(o.useModel))?void 0:y.showData)?void 0:A.value)?void 0:S.status}`)},{h:e.f(null==(C=null==(W=null==(P=e.unref(o.useModel))?void 0:P.showData)?void 0:W.value)?void 0:C.goods,((l,u,o)=>({a:e.t(null==l?void 0:l.name),b:e.t(null==l?void 0:l.number),c:e.t(null==l?void 0:l.remark),d:`goods_${u}`}))),i:null==(R=null==(L=null==(G=e.unref(o.useModel))?void 0:G.showData)?void 0:L.value)?void 0:R.remark},(null==(N=null==(H=null==($=e.unref(o.useModel))?void 0:$.showData)?void 0:H.value)?void 0:N.remark)?{j:e.t(null==(B=null==(z=null==(T=e.unref(o.useModel))?void 0:T.showData)?void 0:z.value)?void 0:B.remark)}:{},{k:"Approved"===(null==(J=null==(I=null==(F=e.unref(o.useModel))?void 0:F.showData)?void 0:I.value)?void 0:J.status)&&!(null==(O=null==(K=e.unref(o.useModel))?void 0:K.isExpired)?void 0:O.value)},"Approved"!==(null==(V=null==(U=null==(Q=e.unref(o.useModel))?void 0:Q.showData)?void 0:U.value)?void 0:V.status)||(null==(Y=null==(X=e.unref(o.useModel))?void 0:X.isExpired)?void 0:Y.value)?{}:{l:e.o(null==(Z=e.unref(u.method))?void 0:Z.handleSubmit),m:e.p({btnParimaryName:"确认放行"})})})});wx.createPage(n); +"use strict";const e=require("../../common/vendor.js"),l=require("../../gen/Enums.js"),u=require("./method.js"),o=require("./model.js");if(require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/day.js"),!Array){e.resolveComponent("hs-footer")()}Math;const n=e.defineComponent({__name:"index",setup:n=>(e.onLoad(e=>{var l;null==(l=u.method)||l.getShow(e),console.log(e)}),(n,d)=>{var s,i,r,a,v,t,m,f,p,h,M,c,w,j,q,D,b,g,_,x,k,E,y,A,S,P,W,C,G,L,R,$,H,N,T,z,B,F,I,J,K,O,Q,U,V,X,Y,Z;return e.e({a:e.t((null==(a=null==(r=null==(i=null==(s=e.unref(o.useModel))?void 0:s.showData)?void 0:i.value)?void 0:r.asset_house)?void 0:a.full_name)||"-"),b:e.t(null==(f=e.unref(l.GoodsReleasesPassedTypeEnum)[null==(m=null==(t=null==(v=e.unref(o.useModel))?void 0:v.showData)?void 0:t.value)?void 0:m.passed_type])?void 0:f.text),c:e.t(null==(M=null==(h=null==(p=e.unref(o.useModel))?void 0:p.showData)?void 0:h.value)?void 0:M.passed_time),d:e.t(null==(j=null==(w=null==(c=e.unref(o.useModel))?void 0:c.showData)?void 0:w.value)?void 0:j.apply_name),e:null==(D=null==(q=e.unref(o.useModel))?void 0:q.isExpired)?void 0:D.value},(null==(g=null==(b=e.unref(o.useModel))?void 0:b.isExpired)?void 0:g.value)?{}:{f:e.t(null==(E=e.unref(l.GoodsReleasesStatusEnum)[null==(k=null==(x=null==(_=e.unref(o.useModel))?void 0:_.showData)?void 0:x.value)?void 0:k.status])?void 0:E.text),g:e.n(`value status_${null==(S=null==(A=null==(y=e.unref(o.useModel))?void 0:y.showData)?void 0:A.value)?void 0:S.status}`)},{h:e.f(null==(C=null==(W=null==(P=e.unref(o.useModel))?void 0:P.showData)?void 0:W.value)?void 0:C.goods,(l,u,o)=>({a:e.t(null==l?void 0:l.name),b:e.t(null==l?void 0:l.number),c:e.t(null==l?void 0:l.remark),d:`goods_${u}`})),i:null==(R=null==(L=null==(G=e.unref(o.useModel))?void 0:G.showData)?void 0:L.value)?void 0:R.remark},(null==(N=null==(H=null==($=e.unref(o.useModel))?void 0:$.showData)?void 0:H.value)?void 0:N.remark)?{j:e.t(null==(B=null==(z=null==(T=e.unref(o.useModel))?void 0:T.showData)?void 0:z.value)?void 0:B.remark)}:{},{k:"Approved"===(null==(J=null==(I=null==(F=e.unref(o.useModel))?void 0:F.showData)?void 0:I.value)?void 0:J.status)&&!(null==(O=null==(K=e.unref(o.useModel))?void 0:K.isExpired)?void 0:O.value)},"Approved"!==(null==(V=null==(U=null==(Q=e.unref(o.useModel))?void 0:Q.showData)?void 0:U.value)?void 0:V.status)||(null==(Y=null==(X=e.unref(o.useModel))?void 0:X.isExpired)?void 0:Y.value)?{}:{l:e.o(null==(Z=e.unref(u.method))?void 0:Z.handleSubmit),m:e.p({btnParimaryName:"确认放行"})})})});wx.createPage(n); diff --git a/dist/build/mp-weixin/INDEX/release_items/method.js b/dist/build/mp-weixin/INDEX/release_items/method.js index 6fa0bdf..a1928ae 100644 --- a/dist/build/mp-weixin/INDEX/release_items/method.js +++ b/dist/build/mp-weixin/INDEX/release_items/method.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("../../gen/Apis.js"),s=require("../../common/libraries/apiLoading.js"),l=require("./model.js"),a=require("../../common/libraries/naviHelper.js"),i=require("../../common/libraries/day.js"),d=e=>{s.getApiLoading(o.Apis.GoodsReleases.GoodsReleases.Show,e).then((e=>{var o,s;l.useModel.showData.value=null==e?void 0:e.data,(null==(o=null==e?void 0:e.data)?void 0:o.passed_time)&&(l.useModel.isExpired.value=i.isDatePassed(null==(s=null==e?void 0:e.data)?void 0:s.passed_time)),console.log(e)}))},n={getShow:d,handleSubmit(){e.index.showModal({title:"提示",content:"确定放行?",success:function(e){var i;e.confirm?(s.getApiLoading(o.Apis.GoodsReleases.GoodsReleases.ScanRelease,{code:null==(i=l.useModel.showData.value)?void 0:i.code}).then((e=>{var o,s;a.showToast("放行成功!"),d(null==(s=null==(o=l.useModel)?void 0:o.showData)?void 0:s.value),console.log(e)})),console.log("用户点击确定")):e.cancel&&console.log("用户点击取消")}})}};exports.method=n; +"use strict";const e=require("../../common/vendor.js"),o=require("../../gen/Apis.js"),s=require("../../common/libraries/apiLoading.js"),l=require("./model.js"),a=require("../../common/libraries/naviHelper.js"),i=require("../../common/libraries/day.js"),d=e=>{s.getApiLoading(o.Apis.GoodsReleases.GoodsReleases.Show,e).then(e=>{var o,s;l.useModel.showData.value=null==e?void 0:e.data,(null==(o=null==e?void 0:e.data)?void 0:o.passed_time)&&(l.useModel.isExpired.value=i.isDatePassed(null==(s=null==e?void 0:e.data)?void 0:s.passed_time)),console.log(e)})},n={getShow:d,handleSubmit(){e.index.showModal({title:"提示",content:"确定放行?",success:function(e){var i;e.confirm?(s.getApiLoading(o.Apis.GoodsReleases.GoodsReleases.ScanRelease,{code:null==(i=l.useModel.showData.value)?void 0:i.code}).then(e=>{var o,s;a.showToast("放行成功!"),d(null==(s=null==(o=l.useModel)?void 0:o.showData)?void 0:s.value),console.log(e)}),console.log("用户点击确定")):e.cancel&&console.log("用户点击取消")}})}};exports.method=n; diff --git a/dist/build/mp-weixin/INDEX/task/list/index.js b/dist/build/mp-weixin/INDEX/task/list/index.js index 8836b1b..29a3a5a 100644 --- a/dist/build/mp-weixin/INDEX/task/list/index.js +++ b/dist/build/mp-weixin/INDEX/task/list/index.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),n=require("./method.js"),l=require("../../../gen/Enums.js"),s=require("../../../common/libraries/day.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-enum-tag")+e.resolveComponent("hs-level")+e.resolveComponent("cc-scroll-loading"))()}Math||((()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../components/hs-level/hs-level.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const u=e.defineComponent({__name:"index",setup:u=>(e.onShow((()=>{var e;o.useModel.formData.value.page=1,o.useModel.listData.value=[],null==(e=n.method)||e.getList()})),(u,r)=>{var t,a,i,m,d;return{a:e.f(null==(a=null==(t=e.unref(o.useModel))?void 0:t.listData)?void 0:a.value,((o,u,r)=>{var t,a;return e.e({a:"3377f082-1-"+r+",3377f082-0",b:e.p({value:null==o?void 0:o.type,Enums:e.unref(l.HouseWorkOrdersTypeEnum)}),c:null==o?void 0:o.location},(null==o?void 0:o.location)?{d:"3377f082-2-"+r+",3377f082-0",e:e.p({value:null==o?void 0:o.location,Enums:e.unref(l.HouseWorkOrdersLocationEnum)})}:{},{f:"Processing"===(null==o?void 0:o.status)},"Processing"===(null==o?void 0:o.status)?{g:"3377f082-3-"+r+",3377f082-0",h:e.p({level:null==o?void 0:o.level})}:{},{i:"3377f082-4-"+r+",3377f082-0",j:e.p({value:null==o?void 0:o.status,Enums:e.unref(l.HouseWorkOrdersStatusEnum)}),k:e.n(`btn_status status_${null==o?void 0:o.status}`),l:e.t((null==(t=null==o?void 0:o.asset_house)?void 0:t.full_name)||(null==(a=null==o?void 0:o.asset_project)?void 0:a.name)),m:e.t(null==o?void 0:o.content),n:e.t(e.unref(s.getDayTime)(null==o?void 0:o.expect_start_time)),o:e.t(e.unref(s.getDayTime)(null==o?void 0:o.created_at)),p:`items_${u}`,q:e.o((l=>{var s;return null==(s=e.unref(n.method))?void 0:s.handleToDetail(o)}),`items_${u}`)})})),b:e.o(null==(i=e.unref(n.method))?void 0:i.handleLoad),c:e.p({meta:null==(d=null==(m=e.unref(o.useModel))?void 0:m.metaData)?void 0:d.value})}})});wx.createPage(u); +"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),n=require("./method.js"),l=require("../../../gen/Enums.js"),s=require("../../../common/libraries/day.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-enum-tag")+e.resolveComponent("hs-level")+e.resolveComponent("cc-scroll-loading"))()}Math||((()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../components/hs-level/hs-level.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const u=e.defineComponent({__name:"index",setup:u=>(e.onShow(()=>{var e;o.useModel.formData.value.page=1,o.useModel.listData.value=[],null==(e=n.method)||e.getList()}),(u,r)=>{var t,a,i,m,d;return{a:e.f(null==(a=null==(t=e.unref(o.useModel))?void 0:t.listData)?void 0:a.value,(o,u,r)=>{var t,a;return e.e({a:"3377f082-1-"+r+",3377f082-0",b:e.p({value:null==o?void 0:o.type,Enums:e.unref(l.HouseWorkOrdersTypeEnum)}),c:null==o?void 0:o.location},(null==o?void 0:o.location)?{d:"3377f082-2-"+r+",3377f082-0",e:e.p({value:null==o?void 0:o.location,Enums:e.unref(l.HouseWorkOrdersLocationEnum)})}:{},{f:"Processing"===(null==o?void 0:o.status)},"Processing"===(null==o?void 0:o.status)?{g:"3377f082-3-"+r+",3377f082-0",h:e.p({level:null==o?void 0:o.level})}:{},{i:"3377f082-4-"+r+",3377f082-0",j:e.p({value:null==o?void 0:o.status,Enums:e.unref(l.HouseWorkOrdersStatusEnum)}),k:e.n(`btn_status status_${null==o?void 0:o.status}`),l:e.t((null==(t=null==o?void 0:o.asset_house)?void 0:t.full_name)||(null==(a=null==o?void 0:o.asset_project)?void 0:a.name)),m:e.t(null==o?void 0:o.content),n:e.t(e.unref(s.getDayTime)(null==o?void 0:o.expect_start_time)),o:e.t(e.unref(s.getDayTime)(null==o?void 0:o.created_at)),p:`items_${u}`,q:e.o(l=>{var s;return null==(s=e.unref(n.method))?void 0:s.handleToDetail(o)},`items_${u}`)})}),b:e.o(null==(i=e.unref(n.method))?void 0:i.handleLoad),c:e.p({meta:null==(d=null==(m=e.unref(o.useModel))?void 0:m.metaData)?void 0:d.value})}})});wx.createPage(u); diff --git a/dist/build/mp-weixin/INDEX/task/list/method.js b/dist/build/mp-weixin/INDEX/task/list/method.js index 7d7757e..b5957a9 100644 --- a/dist/build/mp-weixin/INDEX/task/list/method.js +++ b/dist/build/mp-weixin/INDEX/task/list/method.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),a=require("./model.js"),o=require("../../../common/libraries/apiLoading.js"),i=require("../../../gen/Apis.js"),l=()=>{var e,l;o.getApiLoading(i.Apis.WorkOrder.HouseWorkOrders.UnassignedList,null==(l=null==(e=a.useModel)?void 0:e.formData)?void 0:l.value).then((e=>{a.useModel.listData.value=[...a.useModel.listData.value,...null==e?void 0:e.data],a.useModel.metaData.value=null==e?void 0:e.meta}))},d={getList:l,handleLoad(e){a.useModel.formData.value.page=null==e?void 0:e.page,l()},handleToDetail(a){e.index.navigateTo({url:`/INDEX/task/show/index?id=${null==a?void 0:a.id}`})}};exports.method=d; +"use strict";const e=require("../../../common/vendor.js"),a=require("./model.js"),o=require("../../../common/libraries/apiLoading.js"),i=require("../../../gen/Apis.js"),l=()=>{var e,l;o.getApiLoading(i.Apis.WorkOrder.HouseWorkOrders.UnassignedList,null==(l=null==(e=a.useModel)?void 0:e.formData)?void 0:l.value).then(e=>{a.useModel.listData.value=[...a.useModel.listData.value,...null==e?void 0:e.data],a.useModel.metaData.value=null==e?void 0:e.meta})},d={getList:l,handleLoad(e){a.useModel.formData.value.page=null==e?void 0:e.page,l()},handleToDetail(a){e.index.navigateTo({url:`/INDEX/task/show/index?id=${null==a?void 0:a.id}`})}};exports.method=d; diff --git a/dist/build/mp-weixin/INDEX/task/show/components/ProcessLogs.js b/dist/build/mp-weixin/INDEX/task/show/components/ProcessLogs.js index fea188d..62cb550 100644 --- a/dist/build/mp-weixin/INDEX/task/show/components/ProcessLogs.js +++ b/dist/build/mp-weixin/INDEX/task/show/components/ProcessLogs.js @@ -1 +1 @@ -"use strict";const e=require("../../../../common/vendor.js"),o=require("../../../../gen/Enums.js"),n=require("../model.js");if(!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("up-steps-item")+e.resolveComponent("up-steps"))()}Math||((()=>"../../../../components/hs-empty/hs-empty.js")+(()=>"../../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../../node-modules/uview-plus/components/u-steps-item/u-steps-item.js")+(()=>"../../../../node-modules/uview-plus/components/u-steps/u-steps.js"))();const s=e.defineComponent({__name:"ProcessLogs",setup:s=>(s,t)=>{var l,u,a,d,r,m,i,p,v,c,g;return e.e({a:!(null==(a=null==(u=null==(l=e.unref(n.useModel))?void 0:l.logsData)?void 0:u.value)?void 0:a.length)},(null==(m=null==(r=null==(d=e.unref(n.useModel))?void 0:d.logsData)?void 0:r.value)||m.length,{}),{b:e.f(null==(p=null==(i=e.unref(n.useModel))?void 0:i.logsData)?void 0:p.value,((n,s,t)=>({a:"4da58264-3-"+t+",4da58264-2-"+t,b:e.p({value:null==n?void 0:n.status,Enums:e.unref(o.HouseWorkOrdersStatusEnum)}),c:e.t(null==n?void 0:n.description),d:e.f(null==n?void 0:n.attachments,((e,o,n)=>({a:null==e?void 0:e.url,b:`attachment_${o}`}))),e:e.t(null==n?void 0:n.created_at),f:`log_item_${s}`,g:"4da58264-2-"+t+",4da58264-1"}))),c:e.p({direction:"column",dot:!0,current:(null==(g=null==(c=null==(v=e.unref(n.useModel))?void 0:v.logsData)?void 0:c.value)?void 0:g.length)-1})})}}),t=e._export_sfc(s,[["__scopeId","data-v-4da58264"]]);wx.createComponent(t); +"use strict";const e=require("../../../../common/vendor.js"),o=require("../../../../gen/Enums.js"),n=require("../model.js");if(!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("up-steps-item")+e.resolveComponent("up-steps"))()}Math||((()=>"../../../../components/hs-empty/hs-empty.js")+(()=>"../../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../../node-modules/uview-plus/components/u-steps-item/u-steps-item.js")+(()=>"../../../../node-modules/uview-plus/components/u-steps/u-steps.js"))();const s=e.defineComponent({__name:"ProcessLogs",setup:s=>(s,t)=>{var l,u,a,d,r,m,i,p,v,c,g;return e.e({a:!(null==(a=null==(u=null==(l=e.unref(n.useModel))?void 0:l.logsData)?void 0:u.value)?void 0:a.length)},(null==(m=null==(r=null==(d=e.unref(n.useModel))?void 0:d.logsData)?void 0:r.value)||m.length,{}),{b:e.f(null==(p=null==(i=e.unref(n.useModel))?void 0:i.logsData)?void 0:p.value,(n,s,t)=>({a:"4da58264-3-"+t+",4da58264-2-"+t,b:e.p({value:null==n?void 0:n.status,Enums:e.unref(o.HouseWorkOrdersStatusEnum)}),c:e.t(null==n?void 0:n.description),d:e.f(null==n?void 0:n.attachments,(e,o,n)=>({a:null==e?void 0:e.url,b:`attachment_${o}`})),e:e.t(null==n?void 0:n.created_at),f:`log_item_${s}`,g:"4da58264-2-"+t+",4da58264-1"})),c:e.p({direction:"column",dot:!0,current:(null==(g=null==(c=null==(v=e.unref(n.useModel))?void 0:v.logsData)?void 0:c.value)?void 0:g.length)-1})})}}),t=e._export_sfc(s,[["__scopeId","data-v-4da58264"]]);wx.createComponent(t); diff --git a/dist/build/mp-weixin/INDEX/task/show/index.js b/dist/build/mp-weixin/INDEX/task/show/index.js index a9432f8..4d893c4 100644 --- a/dist/build/mp-weixin/INDEX/task/show/index.js +++ b/dist/build/mp-weixin/INDEX/task/show/index.js @@ -1 +1 @@ -"use strict";const l=require("../../../common/vendor.js"),e=require("../../../common/libraries/day.js"),o=require("./method.js"),u=require("./model.js"),n=require("../../../gen/Enums.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(l.resolveComponent("hs-enum-tag")+l.resolveComponent("hs-level")+l.resolveComponent("up-icon")+l.resolveComponent("hs-footer"))()}Math||((()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../components/hs-level/hs-level.js")+(()=>"../../../node-modules/uview-plus/components/u-icon/u-icon.js")+d+(()=>"../../../components/hs-footer/hs-footer.js"))();const d=()=>"./components/ProcessLogs.js",a=l.defineComponent({__name:"index",setup:d=>(l.onLoad((l=>{var e,n;u.useModel.dataShow.value={},null==(e=o.method)||e.getShow(null==l?void 0:l.id),null==(n=o.method)||n.getHouseWorkLogs(null==l?void 0:l.id)})),l.onShow((()=>{var l,e,n,d,a,i,v,t,s,r,m;(null==(n=null==(e=null==(l=u.useModel)?void 0:l.dataShow)?void 0:e.value)?void 0:n.id)&&(null==(v=o.method)||v.getShow(null==(i=null==(a=null==(d=u.useModel)?void 0:d.dataShow)?void 0:a.value)?void 0:i.id),null==(m=o.method)||m.getHouseWorkLogs(null==(r=null==(s=null==(t=u.useModel)?void 0:t.dataShow)?void 0:s.value)?void 0:r.id))})),l.onUnload((()=>{u.useModel.logsData.value=[]})),(d,a)=>{var i,v,t,s,r,m,h,f,c,p,S,w,M,g,_,j,y,q,P,b,k,x,W,A,E,H,L,R,C,I,O,T,$,U,z,D,N,B,F,G,J,K,Q,V,X,Y,Z,ll,el,ol,ul,nl,dl,al,il,vl,tl,sl,rl,ml,hl,fl,cl,pl,Sl,wl,Ml,gl,_l,jl,yl,ql,Pl,bl,kl,xl,Wl,Al,El,Hl,Ll,Rl,Cl,Il,Ol,Tl,$l,Ul,zl,Dl,Nl,Bl,Fl,Gl,Jl,Kl,Ql,Vl,Xl,Yl,Zl,le,ee,oe,ue,ne,de,ae,ie,ve,te,se,re,me,he,fe,ce,pe,Se,we,Me,ge,_e,je,ye,qe,Pe,be,ke,xe,We,Ae,Ee;return l.e({a:l.p({value:null==(t=null==(v=null==(i=l.unref(u.useModel))?void 0:i.dataShow)?void 0:v.value)?void 0:t.type,Enums:l.unref(n.HouseWorkOrdersTypeEnum)}),b:null==(m=null==(r=null==(s=l.unref(u.useModel))?void 0:s.dataShow)?void 0:r.value)?void 0:m.location},(null==(c=null==(f=null==(h=l.unref(u.useModel))?void 0:h.dataShow)?void 0:f.value)?void 0:c.location)?{c:l.p({value:null==(w=null==(S=null==(p=l.unref(u.useModel))?void 0:p.dataShow)?void 0:S.value)?void 0:w.location,Enums:l.unref(n.HouseWorkOrdersLocationEnum)})}:{},{d:"Processing"==(null==(_=null==(g=null==(M=l.unref(u.useModel))?void 0:M.dataShow)?void 0:g.value)?void 0:_.status)},"Processing"==(null==(q=null==(y=null==(j=l.unref(u.useModel))?void 0:j.dataShow)?void 0:y.value)?void 0:q.status)?{e:l.p({level:null==(k=null==(b=null==(P=l.unref(u.useModel))?void 0:P.dataShow)?void 0:b.value)?void 0:k.level})}:{},{f:l.p({value:null==(A=null==(W=null==(x=l.unref(u.useModel))?void 0:x.dataShow)?void 0:W.value)?void 0:A.status,Enums:l.unref(n.HouseWorkOrdersStatusEnum)}),g:l.n(`btn_status status_${null==(L=null==(H=null==(E=l.unref(u.useModel))?void 0:E.dataShow)?void 0:H.value)?void 0:L.status}`),h:(null==(I=null==(C=null==(R=l.unref(u.useModel))?void 0:R.dataShow)?void 0:C.value)?void 0:I.expect_end_time)&&"Pending"===(null==($=null==(T=null==(O=l.unref(u.useModel))?void 0:O.dataShow)?void 0:T.value)?void 0:$.status)&&"MyHome"===(null==(D=null==(z=null==(U=l.unref(u.useModel))?void 0:U.dataShow)?void 0:z.value)?void 0:D.location)},(null==(F=null==(B=null==(N=l.unref(u.useModel))?void 0:N.dataShow)?void 0:B.value)?void 0:F.expect_end_time)&&"Pending"===(null==(K=null==(J=null==(G=l.unref(u.useModel))?void 0:G.dataShow)?void 0:J.value)?void 0:K.status)&&"MyHome"===(null==(X=null==(V=null==(Q=l.unref(u.useModel))?void 0:Q.dataShow)?void 0:V.value)?void 0:X.location)?{i:l.p({name:"clock",color:(null==(el=l.unref(e.getTimeStatus)(null==(ll=null==(Z=null==(Y=l.unref(u.useModel))?void 0:Y.dataShow)?void 0:Z.value)?void 0:ll.expect_end_time))?void 0:el.color)||"#000",size:"14"}),j:l.t(null==(dl=l.unref(e.getTimeStatus)(null==(nl=null==(ul=null==(ol=l.unref(u.useModel))?void 0:ol.dataShow)?void 0:ul.value)?void 0:nl.expect_end_time))?void 0:dl.label),k:l.n(`time_status status_${null==(tl=l.unref(e.getTimeStatus)(null==(vl=null==(il=null==(al=l.unref(u.useModel))?void 0:al.dataShow)?void 0:il.value)?void 0:vl.expect_end_time))?void 0:tl.status}`)}:{},{l:"Repair"===(null==(ml=null==(rl=null==(sl=l.unref(u.useModel))?void 0:sl.dataShow)?void 0:rl.value)?void 0:ml.type)||"Incident"===(null==(cl=null==(fl=null==(hl=l.unref(u.useModel))?void 0:hl.dataShow)?void 0:fl.value)?void 0:cl.type)},"Repair"===(null==(wl=null==(Sl=null==(pl=l.unref(u.useModel))?void 0:pl.dataShow)?void 0:Sl.value)?void 0:wl.type)||"Incident"===(null==(_l=null==(gl=null==(Ml=l.unref(u.useModel))?void 0:Ml.dataShow)?void 0:gl.value)?void 0:_l.type)?{m:l.t((null==(Pl=null==(ql=null==(yl=null==(jl=l.unref(u.useModel))?void 0:jl.dataShow)?void 0:yl.value)?void 0:ql.asset_house)?void 0:Pl.full_name)||(null==(Wl=null==(xl=null==(kl=null==(bl=l.unref(u.useModel))?void 0:bl.dataShow)?void 0:kl.value)?void 0:xl.asset_project)?void 0:Wl.name)),n:l.t(null==(Hl=null==(El=null==(Al=l.unref(u.useModel))?void 0:Al.dataShow)?void 0:El.value)?void 0:Hl.title)}:{},{o:l.t(null==(Cl=null==(Rl=null==(Ll=l.unref(u.useModel))?void 0:Ll.dataShow)?void 0:Rl.value)?void 0:Cl.content),p:l.f(null==(Tl=null==(Ol=null==(Il=l.unref(u.useModel))?void 0:Il.dataShow)?void 0:Ol.value)?void 0:Tl.attachments,((e,u,n)=>({a:null==e?void 0:e.url,b:`img_${u}`,c:l.o((e=>{var n;return null==(n=l.unref(o.method))?void 0:n.handlePreviewImage(u)}),`img_${u}`)}))),q:l.t(null==(zl=null==(Ul=null==($l=l.unref(u.useModel))?void 0:$l.dataShow)?void 0:Ul.value)?void 0:zl.code),r:"RenovationInspection"!==(null==(Bl=null==(Nl=null==(Dl=l.unref(u.useModel))?void 0:Dl.dataShow)?void 0:Nl.value)?void 0:Bl.type)&&"RenovationAcceptance"!==(null==(Jl=null==(Gl=null==(Fl=l.unref(u.useModel))?void 0:Fl.dataShow)?void 0:Gl.value)?void 0:Jl.type)},"RenovationInspection"!==(null==(Vl=null==(Ql=null==(Kl=l.unref(u.useModel))?void 0:Kl.dataShow)?void 0:Ql.value)?void 0:Vl.type)&&"RenovationAcceptance"!==(null==(Zl=null==(Yl=null==(Xl=l.unref(u.useModel))?void 0:Xl.dataShow)?void 0:Yl.value)?void 0:Zl.type)?{s:l.t((null==(ue=null==(oe=null==(ee=null==(le=l.unref(u.useModel))?void 0:le.dataShow)?void 0:ee.value)?void 0:oe.customer)?void 0:ue.name)||(null==(ie=null==(ae=null==(de=null==(ne=l.unref(u.useModel))?void 0:ne.dataShow)?void 0:de.value)?void 0:ae.company_employee)?void 0:ie.name))}:{},{t:null==(se=null==(te=null==(ve=l.unref(u.useModel))?void 0:ve.dataShow)?void 0:te.value)?void 0:se.reporter_name},(null==(he=null==(me=null==(re=l.unref(u.useModel))?void 0:re.dataShow)?void 0:me.value)?void 0:he.reporter_name)?{v:l.t(null==(pe=null==(ce=null==(fe=l.unref(u.useModel))?void 0:fe.dataShow)?void 0:ce.value)?void 0:pe.reporter_name),w:l.t(null==(Me=null==(we=null==(Se=l.unref(u.useModel))?void 0:Se.dataShow)?void 0:we.value)?void 0:Me.reporter_phone)}:{},{x:l.t(null==(je=null==(_e=null==(ge=l.unref(u.useModel))?void 0:ge.dataShow)?void 0:_e.value)?void 0:je.created_at),y:"Pending"===(null==(Pe=null==(qe=null==(ye=l.unref(u.useModel))?void 0:ye.dataShow)?void 0:qe.value)?void 0:Pe.status)},"Pending"===(null==(xe=null==(ke=null==(be=l.unref(u.useModel))?void 0:be.dataShow)?void 0:ke.value)?void 0:xe.status)?{z:l.o((e=>{var u;return null==(u=l.unref(o.method))?void 0:u.toPageUpdate("领取工单")})),A:l.o((e=>{var u;return null==(u=l.unref(o.method))?void 0:u.toPageUpdate("指派工单")})),B:l.p({btnParimaryName:"领取工单",btnOtherShow:null==(Ee=null==(Ae=null==(We=l.unref(u.useModel))?void 0:We.assignPermissionData)?void 0:Ae.value)?void 0:Ee.permission,btnOtherName:"指派工单"})}:{})})});wx.createPage(a); +"use strict";const l=require("../../../common/vendor.js"),e=require("../../../common/libraries/day.js"),o=require("./method.js"),u=require("./model.js"),n=require("../../../gen/Enums.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(l.resolveComponent("hs-enum-tag")+l.resolveComponent("hs-level")+l.resolveComponent("up-icon")+l.resolveComponent("hs-footer"))()}Math||((()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../components/hs-level/hs-level.js")+(()=>"../../../node-modules/uview-plus/components/u-icon/u-icon.js")+d+(()=>"../../../components/hs-footer/hs-footer.js"))();const d=()=>"./components/ProcessLogs.js",a=l.defineComponent({__name:"index",setup:d=>(l.onLoad(l=>{var e,n;u.useModel.dataShow.value={},null==(e=o.method)||e.getShow(null==l?void 0:l.id),null==(n=o.method)||n.getHouseWorkLogs(null==l?void 0:l.id)}),l.onShow(()=>{var l,e,n,d,a,i,v,t,s,r,m;(null==(n=null==(e=null==(l=u.useModel)?void 0:l.dataShow)?void 0:e.value)?void 0:n.id)&&(null==(v=o.method)||v.getShow(null==(i=null==(a=null==(d=u.useModel)?void 0:d.dataShow)?void 0:a.value)?void 0:i.id),null==(m=o.method)||m.getHouseWorkLogs(null==(r=null==(s=null==(t=u.useModel)?void 0:t.dataShow)?void 0:s.value)?void 0:r.id))}),l.onUnload(()=>{u.useModel.logsData.value=[]}),(d,a)=>{var i,v,t,s,r,m,h,f,c,p,S,w,M,g,_,j,y,q,P,b,k,x,W,A,E,H,L,R,C,I,O,T,$,U,z,D,N,B,F,G,J,K,Q,V,X,Y,Z,ll,el,ol,ul,nl,dl,al,il,vl,tl,sl,rl,ml,hl,fl,cl,pl,Sl,wl,Ml,gl,_l,jl,yl,ql,Pl,bl,kl,xl,Wl,Al,El,Hl,Ll,Rl,Cl,Il,Ol,Tl,$l,Ul,zl,Dl,Nl,Bl,Fl,Gl,Jl,Kl,Ql,Vl,Xl,Yl,Zl,le,ee,oe,ue,ne,de,ae,ie,ve,te,se,re,me,he,fe,ce,pe,Se,we,Me,ge,_e,je,ye,qe,Pe,be,ke,xe,We,Ae,Ee;return l.e({a:l.p({value:null==(t=null==(v=null==(i=l.unref(u.useModel))?void 0:i.dataShow)?void 0:v.value)?void 0:t.type,Enums:l.unref(n.HouseWorkOrdersTypeEnum)}),b:null==(m=null==(r=null==(s=l.unref(u.useModel))?void 0:s.dataShow)?void 0:r.value)?void 0:m.location},(null==(c=null==(f=null==(h=l.unref(u.useModel))?void 0:h.dataShow)?void 0:f.value)?void 0:c.location)?{c:l.p({value:null==(w=null==(S=null==(p=l.unref(u.useModel))?void 0:p.dataShow)?void 0:S.value)?void 0:w.location,Enums:l.unref(n.HouseWorkOrdersLocationEnum)})}:{},{d:"Processing"==(null==(_=null==(g=null==(M=l.unref(u.useModel))?void 0:M.dataShow)?void 0:g.value)?void 0:_.status)},"Processing"==(null==(q=null==(y=null==(j=l.unref(u.useModel))?void 0:j.dataShow)?void 0:y.value)?void 0:q.status)?{e:l.p({level:null==(k=null==(b=null==(P=l.unref(u.useModel))?void 0:P.dataShow)?void 0:b.value)?void 0:k.level})}:{},{f:l.p({value:null==(A=null==(W=null==(x=l.unref(u.useModel))?void 0:x.dataShow)?void 0:W.value)?void 0:A.status,Enums:l.unref(n.HouseWorkOrdersStatusEnum)}),g:l.n(`btn_status status_${null==(L=null==(H=null==(E=l.unref(u.useModel))?void 0:E.dataShow)?void 0:H.value)?void 0:L.status}`),h:(null==(I=null==(C=null==(R=l.unref(u.useModel))?void 0:R.dataShow)?void 0:C.value)?void 0:I.expect_end_time)&&"Pending"===(null==($=null==(T=null==(O=l.unref(u.useModel))?void 0:O.dataShow)?void 0:T.value)?void 0:$.status)&&"MyHome"===(null==(D=null==(z=null==(U=l.unref(u.useModel))?void 0:U.dataShow)?void 0:z.value)?void 0:D.location)},(null==(F=null==(B=null==(N=l.unref(u.useModel))?void 0:N.dataShow)?void 0:B.value)?void 0:F.expect_end_time)&&"Pending"===(null==(K=null==(J=null==(G=l.unref(u.useModel))?void 0:G.dataShow)?void 0:J.value)?void 0:K.status)&&"MyHome"===(null==(X=null==(V=null==(Q=l.unref(u.useModel))?void 0:Q.dataShow)?void 0:V.value)?void 0:X.location)?{i:l.p({name:"clock",color:(null==(el=l.unref(e.getTimeStatus)(null==(ll=null==(Z=null==(Y=l.unref(u.useModel))?void 0:Y.dataShow)?void 0:Z.value)?void 0:ll.expect_end_time))?void 0:el.color)||"#000",size:"14"}),j:l.t(null==(dl=l.unref(e.getTimeStatus)(null==(nl=null==(ul=null==(ol=l.unref(u.useModel))?void 0:ol.dataShow)?void 0:ul.value)?void 0:nl.expect_end_time))?void 0:dl.label),k:l.n(`time_status status_${null==(tl=l.unref(e.getTimeStatus)(null==(vl=null==(il=null==(al=l.unref(u.useModel))?void 0:al.dataShow)?void 0:il.value)?void 0:vl.expect_end_time))?void 0:tl.status}`)}:{},{l:"Repair"===(null==(ml=null==(rl=null==(sl=l.unref(u.useModel))?void 0:sl.dataShow)?void 0:rl.value)?void 0:ml.type)||"Incident"===(null==(cl=null==(fl=null==(hl=l.unref(u.useModel))?void 0:hl.dataShow)?void 0:fl.value)?void 0:cl.type)},"Repair"===(null==(wl=null==(Sl=null==(pl=l.unref(u.useModel))?void 0:pl.dataShow)?void 0:Sl.value)?void 0:wl.type)||"Incident"===(null==(_l=null==(gl=null==(Ml=l.unref(u.useModel))?void 0:Ml.dataShow)?void 0:gl.value)?void 0:_l.type)?{m:l.t((null==(Pl=null==(ql=null==(yl=null==(jl=l.unref(u.useModel))?void 0:jl.dataShow)?void 0:yl.value)?void 0:ql.asset_house)?void 0:Pl.full_name)||(null==(Wl=null==(xl=null==(kl=null==(bl=l.unref(u.useModel))?void 0:bl.dataShow)?void 0:kl.value)?void 0:xl.asset_project)?void 0:Wl.name)),n:l.t(null==(Hl=null==(El=null==(Al=l.unref(u.useModel))?void 0:Al.dataShow)?void 0:El.value)?void 0:Hl.title)}:{},{o:l.t(null==(Cl=null==(Rl=null==(Ll=l.unref(u.useModel))?void 0:Ll.dataShow)?void 0:Rl.value)?void 0:Cl.content),p:l.f(null==(Tl=null==(Ol=null==(Il=l.unref(u.useModel))?void 0:Il.dataShow)?void 0:Ol.value)?void 0:Tl.attachments,(e,u,n)=>({a:null==e?void 0:e.url,b:`img_${u}`,c:l.o(e=>{var n;return null==(n=l.unref(o.method))?void 0:n.handlePreviewImage(u)},`img_${u}`)})),q:l.t(null==(zl=null==(Ul=null==($l=l.unref(u.useModel))?void 0:$l.dataShow)?void 0:Ul.value)?void 0:zl.code),r:"RenovationInspection"!==(null==(Bl=null==(Nl=null==(Dl=l.unref(u.useModel))?void 0:Dl.dataShow)?void 0:Nl.value)?void 0:Bl.type)&&"RenovationAcceptance"!==(null==(Jl=null==(Gl=null==(Fl=l.unref(u.useModel))?void 0:Fl.dataShow)?void 0:Gl.value)?void 0:Jl.type)},"RenovationInspection"!==(null==(Vl=null==(Ql=null==(Kl=l.unref(u.useModel))?void 0:Kl.dataShow)?void 0:Ql.value)?void 0:Vl.type)&&"RenovationAcceptance"!==(null==(Zl=null==(Yl=null==(Xl=l.unref(u.useModel))?void 0:Xl.dataShow)?void 0:Yl.value)?void 0:Zl.type)?{s:l.t((null==(ue=null==(oe=null==(ee=null==(le=l.unref(u.useModel))?void 0:le.dataShow)?void 0:ee.value)?void 0:oe.customer)?void 0:ue.name)||(null==(ie=null==(ae=null==(de=null==(ne=l.unref(u.useModel))?void 0:ne.dataShow)?void 0:de.value)?void 0:ae.company_employee)?void 0:ie.name))}:{},{t:null==(se=null==(te=null==(ve=l.unref(u.useModel))?void 0:ve.dataShow)?void 0:te.value)?void 0:se.reporter_name},(null==(he=null==(me=null==(re=l.unref(u.useModel))?void 0:re.dataShow)?void 0:me.value)?void 0:he.reporter_name)?{v:l.t(null==(pe=null==(ce=null==(fe=l.unref(u.useModel))?void 0:fe.dataShow)?void 0:ce.value)?void 0:pe.reporter_name),w:l.t(null==(Me=null==(we=null==(Se=l.unref(u.useModel))?void 0:Se.dataShow)?void 0:we.value)?void 0:Me.reporter_phone)}:{},{x:l.t(null==(je=null==(_e=null==(ge=l.unref(u.useModel))?void 0:ge.dataShow)?void 0:_e.value)?void 0:je.created_at),y:"Pending"===(null==(Pe=null==(qe=null==(ye=l.unref(u.useModel))?void 0:ye.dataShow)?void 0:qe.value)?void 0:Pe.status)},"Pending"===(null==(xe=null==(ke=null==(be=l.unref(u.useModel))?void 0:be.dataShow)?void 0:ke.value)?void 0:xe.status)?{z:l.o(e=>{var u;return null==(u=l.unref(o.method))?void 0:u.toPageUpdate("领取工单")}),A:l.o(e=>{var u;return null==(u=l.unref(o.method))?void 0:u.toPageUpdate("指派工单")}),B:l.p({btnParimaryName:"领取工单",btnOtherShow:null==(Ee=null==(Ae=null==(We=l.unref(u.useModel))?void 0:We.assignPermissionData)?void 0:Ae.value)?void 0:Ee.permission,btnOtherName:"指派工单"})}:{})})});wx.createPage(a); diff --git a/dist/build/mp-weixin/INDEX/task/show/method.js b/dist/build/mp-weixin/INDEX/task/show/method.js index 0e529d1..39e5a58 100644 --- a/dist/build/mp-weixin/INDEX/task/show/method.js +++ b/dist/build/mp-weixin/INDEX/task/show/method.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),l=require("../../../common/libraries/apiLoading.js"),d=require("../../../gen/Apis.js"),n={getShow(e){l.getApiLoading(d.Apis.WorkOrder.HouseWorkOrders.Show,{id:e}).then((e=>{var n;o.useModel.dataShow.value=null==e?void 0:e.data,(e=>{l.getApiLoading(d.Apis.WorkOrder.HouseWorkOrders.GetAssignPermission,{id:e}).then((e=>{o.useModel.assignPermissionData.value=null==e?void 0:e.data}))})(null==(n=null==e?void 0:e.data)?void 0:n.id)}))},getHouseWorkLogs(e){l.getApiLoading(d.Apis.WorkOrder.HouseWorkLogs.List,{house_work_orders_id:e}).then((e=>{o.useModel.logsData.value=null==e?void 0:e.data}))},toPageUpdate(l){var d,n,i;e.index.navigateTo({url:`/INDEX/task/update/index?id=${null==(i=null==(n=null==(d=o.useModel)?void 0:d.dataShow)?void 0:n.value)?void 0:i.id}&type=${l}`})},handlePreviewImage(l){var d,n,i,a;let u=(null==(a=null==(i=null==(n=null==(d=o.useModel)?void 0:d.dataShow)?void 0:n.value)?void 0:i.attachments)?void 0:a.map((e=>null==e?void 0:e.url)))||[];e.index.previewImage({urls:u,current:l})},handlePendingPaymentQrCode(e){},handleCopyPhone(){var l,d,n,i,a,u,r,t,s,v,h,p;(null==(n=null==(d=null==(l=o.useModel)?void 0:l.dataShow)?void 0:d.value)?void 0:n.contact_phone)?e.index.makePhoneCall({phoneNumber:null==(u=null==(a=null==(i=o.useModel)?void 0:i.dataShow)?void 0:a.value)?void 0:u.contact_phone}):(null==(s=null==(t=null==(r=o.useModel)?void 0:r.dataShow)?void 0:t.value)?void 0:s.reporter_phone)?e.index.makePhoneCall({phoneNumber:null==(p=null==(h=null==(v=o.useModel)?void 0:v.dataShow)?void 0:h.value)?void 0:p.reporter_phone}):e.index.showToast({title:"暂无电话号码",icon:"none"})}};exports.method=n; +"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),l=require("../../../common/libraries/apiLoading.js"),d=require("../../../gen/Apis.js"),n={getShow(e){l.getApiLoading(d.Apis.WorkOrder.HouseWorkOrders.Show,{id:e}).then(e=>{var n;o.useModel.dataShow.value=null==e?void 0:e.data,(e=>{l.getApiLoading(d.Apis.WorkOrder.HouseWorkOrders.GetAssignPermission,{id:e}).then(e=>{o.useModel.assignPermissionData.value=null==e?void 0:e.data})})(null==(n=null==e?void 0:e.data)?void 0:n.id)})},getHouseWorkLogs(e){l.getApiLoading(d.Apis.WorkOrder.HouseWorkLogs.List,{house_work_orders_id:e}).then(e=>{o.useModel.logsData.value=null==e?void 0:e.data})},toPageUpdate(l){var d,n,i;e.index.navigateTo({url:`/INDEX/task/update/index?id=${null==(i=null==(n=null==(d=o.useModel)?void 0:d.dataShow)?void 0:n.value)?void 0:i.id}&type=${l}`})},handlePreviewImage(l){var d,n,i,a;let u=(null==(a=null==(i=null==(n=null==(d=o.useModel)?void 0:d.dataShow)?void 0:n.value)?void 0:i.attachments)?void 0:a.map(e=>null==e?void 0:e.url))||[];e.index.previewImage({urls:u,current:l})},handlePendingPaymentQrCode(e){},handleCopyPhone(){var l,d,n,i,a,u,r,t,s,v,h,p;(null==(n=null==(d=null==(l=o.useModel)?void 0:l.dataShow)?void 0:d.value)?void 0:n.contact_phone)?e.index.makePhoneCall({phoneNumber:null==(u=null==(a=null==(i=o.useModel)?void 0:i.dataShow)?void 0:a.value)?void 0:u.contact_phone}):(null==(s=null==(t=null==(r=o.useModel)?void 0:r.dataShow)?void 0:t.value)?void 0:s.reporter_phone)?e.index.makePhoneCall({phoneNumber:null==(p=null==(h=null==(v=o.useModel)?void 0:v.dataShow)?void 0:h.value)?void 0:p.reporter_phone}):e.index.showToast({title:"暂无电话号码",icon:"none"})}};exports.method=n; diff --git a/dist/build/mp-weixin/INDEX/task/update/index.js b/dist/build/mp-weixin/INDEX/task/update/index.js index d703c12..4adabe6 100644 --- a/dist/build/mp-weixin/INDEX/task/update/index.js +++ b/dist/build/mp-weixin/INDEX/task/update/index.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("../../../gen/Enums.js"),r=require("./method.js"),l=require("./model.js");if(require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../gen/Apis.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/apiLoading.js"),require("../../../common/libraries/naviHelper.js"),!Array){(e.resolveComponent("hs-radio")+e.resolveComponent("hs-cell")+e.resolveComponent("hs-popup-employees")+e.resolveComponent("hs-day-picker")+e.resolveComponent("hs-cell-textarea")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../../components/hs-radio/hs-radio.js")+(()=>"../../../components/hs-cell/hs-cell.js")+(()=>"../../../components/hs-popup-employees/hs-popup-employees.js")+(()=>"../../../components/hs-day-picker/hs-day-picker.js")+(()=>"../../../components/hs-cell-textarea/hs-cell-textarea.js")+(()=>"../../../components/hs-footer/hs-footer.js"))();const s=e.defineComponent({__name:"index",setup:s=>(e.onLoad((e=>{var o;null==(o=r.method)||o.init(e)})),(s,n)=>{var a,u,t,i,m,p,d,v,c,f,h;return e.e({a:e.o((o=>e.unref(l.useModel).formData.value.level=o)),b:e.p({Enums:e.unref(o.HouseWorkOrdersLevelEnum),valueModel:e.unref(l.useModel).formData.value.level}),c:e.p({title:"优先级",required:!0}),d:"领取工单"===(null==(t=null==(u=null==(a=e.unref(l.useModel))?void 0:a.formData)?void 0:u.value)?void 0:t.pageType)},"领取工单"===(null==(p=null==(m=null==(i=e.unref(l.useModel))?void 0:i.formData)?void 0:m.value)?void 0:p.pageType)?{e:e.t(null==(f=null==(c=null==(v=null==(d=e.unref(l.useModel))?void 0:d.formData)?void 0:v.value)?void 0:c.assign_employees)?void 0:f.name),f:e.p({title:"处理人",required:!0,borderTop:!0})}:{g:e.o((o=>e.unref(l.useModel).formData.value.assign_employees_id=o)),h:e.p({title:"处理人",valueModel:e.unref(l.useModel).formData.value.assign_employees_id})},{i:e.o((o=>e.unref(l.useModel).formData.value.predict_complete_at=o)),j:e.p({valueModel:e.unref(l.useModel).formData.value.predict_complete_at}),k:e.p({title:"预计完成时间",required:!0,borderTop:!0,isLink:!0}),l:e.o((o=>e.unref(l.useModel).formData.value.assign_remark=o)),m:e.p({title:"备注说明",placeholder:"请输入备注",valueModel:e.unref(l.useModel).formData.value.assign_remark}),n:e.o(null==(h=e.unref(r.method))?void 0:h.handleSubmit),o:e.p({btnParimaryName:"提交"})})})});wx.createPage(s); +"use strict";const e=require("../../../common/vendor.js"),o=require("../../../gen/Enums.js"),r=require("./method.js"),l=require("./model.js");if(require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../gen/Apis.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/apiLoading.js"),require("../../../common/libraries/naviHelper.js"),!Array){(e.resolveComponent("hs-radio")+e.resolveComponent("hs-cell")+e.resolveComponent("hs-popup-employees")+e.resolveComponent("hs-day-picker")+e.resolveComponent("hs-cell-textarea")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../../components/hs-radio/hs-radio.js")+(()=>"../../../components/hs-cell/hs-cell.js")+(()=>"../../../components/hs-popup-employees/hs-popup-employees.js")+(()=>"../../../components/hs-day-picker/hs-day-picker.js")+(()=>"../../../components/hs-cell-textarea/hs-cell-textarea.js")+(()=>"../../../components/hs-footer/hs-footer.js"))();const s=e.defineComponent({__name:"index",setup:s=>(e.onLoad(e=>{var o;null==(o=r.method)||o.init(e)}),(s,n)=>{var a,u,t,i,m,p,d,v,c,f,h;return e.e({a:e.o(o=>e.unref(l.useModel).formData.value.level=o),b:e.p({Enums:e.unref(o.HouseWorkOrdersLevelEnum),valueModel:e.unref(l.useModel).formData.value.level}),c:e.p({title:"优先级",required:!0}),d:"领取工单"===(null==(t=null==(u=null==(a=e.unref(l.useModel))?void 0:a.formData)?void 0:u.value)?void 0:t.pageType)},"领取工单"===(null==(p=null==(m=null==(i=e.unref(l.useModel))?void 0:i.formData)?void 0:m.value)?void 0:p.pageType)?{e:e.t(null==(f=null==(c=null==(v=null==(d=e.unref(l.useModel))?void 0:d.formData)?void 0:v.value)?void 0:c.assign_employees)?void 0:f.name),f:e.p({title:"处理人",required:!0,borderTop:!0})}:{g:e.o(o=>e.unref(l.useModel).formData.value.assign_employees_id=o),h:e.p({title:"处理人",valueModel:e.unref(l.useModel).formData.value.assign_employees_id})},{i:e.o(o=>e.unref(l.useModel).formData.value.predict_complete_at=o),j:e.p({valueModel:e.unref(l.useModel).formData.value.predict_complete_at}),k:e.p({title:"预计完成时间",required:!0,borderTop:!0,isLink:!0}),l:e.o(o=>e.unref(l.useModel).formData.value.assign_remark=o),m:e.p({title:"备注说明",placeholder:"请输入备注",valueModel:e.unref(l.useModel).formData.value.assign_remark}),n:e.o(null==(h=e.unref(r.method))?void 0:h.handleSubmit),o:e.p({btnParimaryName:"提交"})})})});wx.createPage(s); diff --git a/dist/build/mp-weixin/INDEX/task/update/method.js b/dist/build/mp-weixin/INDEX/task/update/method.js index 9e7d2ce..1c369b3 100644 --- a/dist/build/mp-weixin/INDEX/task/update/method.js +++ b/dist/build/mp-weixin/INDEX/task/update/method.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js");const o=require("../../../common/store/useWeAppAuthStore.js");require("../../../common/store/useWorkStore.js");const r=require("./model.js"),s=require("../../../gen/Apis.js"),i=require("../../../common/libraries/apiLoading.js"),l=require("../../../common/libraries/naviHelper.js"),u=o.useWeAppAuthStore(),n={init(o){var s;e.index.setNavigationBarTitle({title:null==o?void 0:o.type}),console.log("init",null==u?void 0:u.data),r.useModel.formData.value={...o,pageType:null==o?void 0:o.type,assign_employees:null==(s=null==u?void 0:u.data)?void 0:s.user,house_work_orders_id:null==o?void 0:o.id}},handleSubmit(){var e,o;console.log("handleSubmit",r.useModel.formData.value);let u=null==(o=null==(e=r.useModel)?void 0:e.formData)?void 0:o.value;return(null==u?void 0:u.level)?"指派工单"!==(null==u?void 0:u.pageType)||(null==u?void 0:u.assign_employees_id)?void i.getApiLoading("指派工单"===(null==u?void 0:u.pageType)?s.Apis.WorkOrder.HouseWorkOrders.Assign:s.Apis.WorkOrder.HouseWorkOrders.Receive,u).then((e=>{l.showToastBack("指派工单"===(null==u?void 0:u.pageType)?"提交成功!":"领取成功!",1,!0),console.log(e)})):l.showToast("请先选择处理人!"):l.showToast("请先选择优先级!")}};exports.method=n; +"use strict";const e=require("../../../common/vendor.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js");const o=require("../../../common/store/useWeAppAuthStore.js");require("../../../common/store/useWorkStore.js");const r=require("./model.js"),s=require("../../../gen/Apis.js"),i=require("../../../common/libraries/apiLoading.js"),l=require("../../../common/libraries/naviHelper.js"),u=o.useWeAppAuthStore(),n={init(o){var s;e.index.setNavigationBarTitle({title:null==o?void 0:o.type}),console.log("init",null==u?void 0:u.data),r.useModel.formData.value={...o,pageType:null==o?void 0:o.type,assign_employees:null==(s=null==u?void 0:u.data)?void 0:s.user,house_work_orders_id:null==o?void 0:o.id}},handleSubmit(){var e,o;console.log("handleSubmit",r.useModel.formData.value);let u=null==(o=null==(e=r.useModel)?void 0:e.formData)?void 0:o.value;return(null==u?void 0:u.level)?"指派工单"!==(null==u?void 0:u.pageType)||(null==u?void 0:u.assign_employees_id)?void i.getApiLoading("指派工单"===(null==u?void 0:u.pageType)?s.Apis.WorkOrder.HouseWorkOrders.Assign:s.Apis.WorkOrder.HouseWorkOrders.Receive,u).then(e=>{l.showToastBack("指派工单"===(null==u?void 0:u.pageType)?"提交成功!":"领取成功!",1,!0),console.log(e)}):l.showToast("请先选择处理人!"):l.showToast("请先选择优先级!")}};exports.method=n; diff --git a/dist/build/mp-weixin/INDEX/watermark_camera/index.js b/dist/build/mp-weixin/INDEX/watermark_camera/index.js index dfada6a..fb8968d 100644 --- a/dist/build/mp-weixin/INDEX/watermark_camera/index.js +++ b/dist/build/mp-weixin/INDEX/watermark_camera/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),r=require("../../common/libraries/map.js"),o=require("./method.js"),u=require("./model.js");require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/day.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/upload.js");const l=e.defineComponent({__name:"index",setup:l=>(e.onLoad((e=>{let o=r.getMapAddress();u.useModel.source.value=(null==e?void 0:e.source)||"save",o.then((e=>{u.useModel.address.value=e,console.log(e,"地址")}))})),(r,l)=>{var n,i,s,d,a,t,m,v,c,h,q,f,j,p;return{a:e.t(null==(i=null==(n=e.unref(u.useModel))?void 0:n.time)?void 0:i.value),b:e.t((null==(a=null==(d=null==(s=e.unref(u.useModel))?void 0:s.userInfo)?void 0:d.value)?void 0:a.name)||""),c:e.t(null==(m=null==(t=e.unref(u.useModel))?void 0:t.day)?void 0:m.value),d:e.t(null==(c=null==(v=e.unref(u.useModel))?void 0:v.weekDay)?void 0:c.value),e:e.t((null==(f=null==(q=null==(h=e.unref(u.useModel))?void 0:h.address)?void 0:q.value)?void 0:f.address)||""),f:null==(p=null==(j=e.unref(u.useModel))?void 0:j.devicePosition)?void 0:p.value,g:e.o(((...r)=>{var u,l;return(null==(u=e.unref(o.method))?void 0:u.takePhoto)&&(null==(l=e.unref(o.method))?void 0:l.takePhoto(...r))})),h:e.o(((...r)=>{var u,l;return(null==(u=e.unref(o.method))?void 0:u.handleWatermarkCameraSwitch)&&(null==(l=e.unref(o.method))?void 0:l.handleWatermarkCameraSwitch(...r))}))}})});wx.createPage(l); +"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/map.js"),r=require("./method.js"),u=require("./model.js");require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/day.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/upload.js");const l=e.defineComponent({__name:"index",setup:l=>(e.onLoad(e=>{let r=o.getMapLbs();u.useModel.source.value=(null==e?void 0:e.source)||"save",r.then(e=>{u.useModel.address.value=e,console.log(e,"地址")})}),(o,l)=>{var n,d,i,s,a,t,v,m,c,f,h,q,j,p,M,b,k;return{a:e.t(null==(d=null==(n=e.unref(u.useModel))?void 0:n.time)?void 0:d.value),b:e.t((null==(a=null==(s=null==(i=e.unref(u.useModel))?void 0:i.userInfo)?void 0:s.value)?void 0:a.name)||""),c:e.t(null==(v=null==(t=e.unref(u.useModel))?void 0:t.day)?void 0:v.value),d:e.t(null==(c=null==(m=e.unref(u.useModel))?void 0:m.weekDay)?void 0:c.value),e:e.t((null==(q=null==(h=null==(f=e.unref(u.useModel))?void 0:f.address)?void 0:h.value)?void 0:q.address)||(null==(M=null==(p=null==(j=e.unref(u.useModel))?void 0:j.address)?void 0:p.value)?void 0:M.formatted_address)||""),f:null==(k=null==(b=e.unref(u.useModel))?void 0:b.devicePosition)?void 0:k.value,g:e.o((...o)=>{var u,l;return(null==(u=e.unref(r.method))?void 0:u.takePhoto)&&(null==(l=e.unref(r.method))?void 0:l.takePhoto(...o))}),h:e.o((...o)=>{var u,l;return(null==(u=e.unref(r.method))?void 0:u.handleWatermarkCameraSwitch)&&(null==(l=e.unref(r.method))?void 0:l.handleWatermarkCameraSwitch(...o))})}})});wx.createPage(l); diff --git a/dist/build/mp-weixin/INDEX/watermark_camera/index.wxss b/dist/build/mp-weixin/INDEX/watermark_camera/index.wxss index e53f22a..bf30259 100644 --- a/dist/build/mp-weixin/INDEX/watermark_camera/index.wxss +++ b/dist/build/mp-weixin/INDEX/watermark_camera/index.wxss @@ -1 +1 @@ -page{background-color:#f8f8f8}.camera_container{position:relative;height:82vh}.footer_btn_group{display:flex;justify-content:center;padding-top:30rpx}.footer_btn_group .take_photo_btn{width:135rpx;height:135rpx;display:flex;align-items:center;justify-content:center;font-size:30rpx;border-radius:100rpx;border:15rpx solid #0082fa;background-color:#fff;color:#000}.watermark_preview{position:absolute;bottom:0;left:30rpx;z-index:100}.watermark_preview .watermark_date{display:flex;align-items:center;color:#fff}.watermark_preview .watermark_date .watermark_item{font-size:76rpx;font-weight:550;line-height:50rpx}.watermark_preview .watermark_date .watermark_item_separator{margin:0 20rpx;background-color:#ff7105;width:5rpx;height:50rpx}.watermark_preview .watermark_date .watermark_item_info{font-size:28rpx;line-height:30rpx}.watermark_preview .watermark_date .watermark_item_info .watermark_week{font-size:24rpx;padding-top:5rpx}.watermark_preview .watermark_address{color:#fff;font-size:26rpx;padding:20rpx 0 25rpx}.watermark_camera_witch_btn{position:absolute;right:100rpx;z-index:100;height:165rpx;display:flex;align-items:center}.watermark_camera_witch_btn .watermark_camera_witch_btn_content{height:80rpx;text-align:center;line-height:40rpx}.watermark_camera_witch_btn .watermark_camera_witch_btn_content .watermark_camera_witch_btn_img{width:60rpx;height:55rpx;line-height:40rpx}.watermark_camera_witch_btn .watermark_camera_witch_btn_content image{width:60rpx;height:60rpx}.watermark_camera_witch_btn .watermark_camera_witch_btn_content .watermark_camera_witch_text{font-size:24rpx;color:#333;font-weight:500}#watermark_camera{position:fixed;top:0;left:-1000px} +page{background-color:#f8f8f8}.camera_container{position:relative;height:82vh}.footer_btn_group{display:flex;justify-content:center;padding-top:30rpx}.footer_btn_group .take_photo_btn{width:135rpx;height:135rpx;display:flex;align-items:center;justify-content:center;font-size:30rpx;border-radius:100rpx;border:15rpx solid #0082fa;background-color:#fff;color:#000}.watermark_preview{position:absolute;bottom:0;left:30rpx;z-index:100}.watermark_preview .watermark_date{display:flex;align-items:center;color:#fff}.watermark_preview .watermark_date .watermark_item{font-size:76rpx;font-weight:550;line-height:50rpx}.watermark_preview .watermark_date .watermark_item_separator{margin:0 20rpx;background-color:#ff7105;width:5rpx;height:50rpx}.watermark_preview .watermark_date .watermark_item_info{font-size:28rpx;line-height:30rpx}.watermark_preview .watermark_date .watermark_item_info .watermark_week{font-size:24rpx;padding-top:5rpx}.watermark_preview .watermark_address{color:#fff;font-size:26rpx;padding:20rpx 20rpx 25rpx 0}.watermark_camera_witch_btn{position:absolute;right:100rpx;z-index:100;height:165rpx;display:flex;align-items:center}.watermark_camera_witch_btn .watermark_camera_witch_btn_content{height:80rpx;text-align:center;line-height:40rpx}.watermark_camera_witch_btn .watermark_camera_witch_btn_content .watermark_camera_witch_btn_img{width:60rpx;height:55rpx;line-height:40rpx}.watermark_camera_witch_btn .watermark_camera_witch_btn_content image{width:60rpx;height:60rpx}.watermark_camera_witch_btn .watermark_camera_witch_btn_content .watermark_camera_witch_text{font-size:24rpx;color:#333;font-weight:500}#watermark_camera{position:fixed;top:0;left:-1000px} diff --git a/dist/build/mp-weixin/INDEX/watermark_camera/method.js b/dist/build/mp-weixin/INDEX/watermark_camera/method.js index f1c2f68..38ec8da 100644 --- a/dist/build/mp-weixin/INDEX/watermark_camera/method.js +++ b/dist/build/mp-weixin/INDEX/watermark_camera/method.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js");require("../../common/libraries/request.js");const l=require("../../common/store/useWatermarkStore.js");require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWorkStore.js");const o=require("../../common/libraries/day.js"),a=require("../../common/libraries/naviHelper.js"),s=require("../../common/libraries/upload.js"),i=require("./model.js"),t=l.useWatermarkStore(),n={handleWatermarkCameraSwitch(){i.useModel.devicePosition.value="back"===i.useModel.devicePosition.value?"front":"back"},takePhoto(){const l=e.index.createCameraContext(),n=e.index.getSystemInfoSync();let u=.82*(null==n?void 0:n.windowHeight);console.log(n,"systemInfo"),l.takePhoto({quality:"high",success:l=>{var n,r;e.index.showLoading({title:"save"===(null==(r=null==(n=i.useModel)?void 0:n.source)?void 0:r.value)?"正在保存...":"正在上传...",mask:!0});let d=e.index.createCanvasContext("watermark_camera");e.index.getImageInfo({src:null==l?void 0:l.tempImagePath,success:n=>{var r,c,v,m,h,f,g,x,k,p;const{width:I,height:M}=n;console.log(n,"img");const w=430*M/I;i.useModel.time.value=o.showCurrentTime(),d.drawImage((null==l?void 0:l.tempImagePath)||"",0,0,430,w),d.setFillStyle("rgba(0, 0, 0, 0.2)"),d.fillRect(0,u-100,430,100),d.setFillStyle("#ff7105"),d.fillRect(131,u-75,2,28),d.fillStyle="#fff",d.font="500 16px Arial",d.fillText((null==(v=null==(c=null==(r=i.useModel)?void 0:r.address)?void 0:c.value)?void 0:v.address)||"",15,u-17),d.fillText((null==(f=null==(h=null==(m=i.useModel)?void 0:m.userInfo)?void 0:h.value)?void 0:f.name)||"没有登录",141,u-64),d.font="500 12px Arial",d.fillText(`${(null==(g=i.useModel)?void 0:g.day.value)||""} ${(null==(x=i.useModel)?void 0:x.weekDay.value)||""}`,141,u-49),d.setLineWidth(3),d.setStrokeStyle("#fff"),d.font="900 45px Arial",d.fillText((null==(k=i.useModel)?void 0:k.time.value)||"",12,u-45),d.strokeText((null==(p=i.useModel)?void 0:p.time.value)||"",12,u-45),d.stroke(),d.draw(!1,(()=>{e.index.canvasToTempFilePath({canvasId:"watermark_camera",success:l=>{var o,n,u,r,d,c,v,m;console.log(l,"nImg"),"current"===(null==(n=null==(o=i.useModel)?void 0:o.source)?void 0:n.value)&&s.uploadImgWatermark({path:null==l?void 0:l.tempFilePath,name:`${(null==(d=null==(r=null==(u=i.useModel)?void 0:u.userInfo)?void 0:r.value)?void 0:d.name)||"未登录"}-打卡-${(null==(c=i.useModel)?void 0:c.day.value)||""}`}).then((l=>{console.log(l,"uploadRes"),t.watermarkInfo.value=l?[l]:[],e.index.navigateBack({delta:1}),e.index.hideLoading()})).catch((l=>{console.log(l,"err"),e.index.hideLoading()})),"save"===(null==(m=null==(v=i.useModel)?void 0:v.source)?void 0:m.value)&&e.index.saveImageToPhotosAlbum({filePath:null==l?void 0:l.tempFilePath,success:function(){a.showToast("保存成功"),console.log("save success")}})}})}))}}),console.log(l)}})}};exports.method=n; +"use strict";const e=require("../../common/vendor.js");require("../../common/libraries/request.js");const l=require("../../common/store/useWatermarkStore.js");require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWorkStore.js");const o=require("../../common/libraries/day.js"),a=require("../../common/libraries/naviHelper.js"),s=require("../../common/libraries/upload.js"),i=require("./model.js"),t=l.useWatermarkStore(),n={handleWatermarkCameraSwitch(){i.useModel.devicePosition.value="back"===i.useModel.devicePosition.value?"front":"back"},takePhoto(){const l=e.index.createCameraContext(),n=e.index.getSystemInfoSync();let u=.82*(null==n?void 0:n.windowHeight);console.log(n,"systemInfo"),l.takePhoto({quality:"high",success:l=>{var n,r;e.index.showLoading({title:"save"===(null==(r=null==(n=i.useModel)?void 0:n.source)?void 0:r.value)?"正在保存...":"正在上传...",mask:!0});let d=e.index.createCanvasContext("watermark_camera");e.index.getImageInfo({src:null==l?void 0:l.tempImagePath,success:n=>{var r,v,c,m,f,h,g,x,k,p,M,I,w;const{width:y,height:S}=n;console.log(n,"img");const q=430*S/y;i.useModel.time.value=o.showCurrentTime(),d.drawImage((null==l?void 0:l.tempImagePath)||"",0,0,430,q),d.setFillStyle("rgba(0, 0, 0, 0.2)"),d.fillRect(0,u-100,430,100),d.setFillStyle("#ff7105"),d.fillRect(131,u-75,2,28),d.fillStyle="#fff",d.font="500 16px Arial",d.fillText((null==(c=null==(v=null==(r=i.useModel)?void 0:r.address)?void 0:v.value)?void 0:c.address)||(null==(h=null==(f=null==(m=i.useModel)?void 0:m.address)?void 0:f.value)?void 0:h.formatted_address)||"",15,u-17),d.fillText((null==(k=null==(x=null==(g=i.useModel)?void 0:g.userInfo)?void 0:x.value)?void 0:k.name)||"没有登录",141,u-64),d.font="500 12px Arial",d.fillText(`${(null==(p=i.useModel)?void 0:p.day.value)||""} ${(null==(M=i.useModel)?void 0:M.weekDay.value)||""}`,141,u-49),d.setLineWidth(3),d.setStrokeStyle("#fff"),d.font="900 45px Arial",d.fillText((null==(I=i.useModel)?void 0:I.time.value)||"",12,u-45),d.strokeText((null==(w=i.useModel)?void 0:w.time.value)||"",12,u-45),d.stroke(),d.draw(!1,()=>{e.index.canvasToTempFilePath({canvasId:"watermark_camera",success:l=>{var o,n,u,r,d,v,c,m;console.log(l,"nImg"),"current"===(null==(n=null==(o=i.useModel)?void 0:o.source)?void 0:n.value)&&s.uploadImgWatermark({path:null==l?void 0:l.tempFilePath,name:`${(null==(d=null==(r=null==(u=i.useModel)?void 0:u.userInfo)?void 0:r.value)?void 0:d.name)||"未登录"}-打卡-${(null==(v=i.useModel)?void 0:v.day.value)||""}`}).then(l=>{console.log(l,"uploadRes"),t.watermarkInfo.value=l?[l]:[],e.index.navigateBack({delta:1}),e.index.hideLoading()}).catch(l=>{console.log(l,"err"),e.index.hideLoading()}),"save"===(null==(m=null==(c=i.useModel)?void 0:c.source)?void 0:m.value)&&e.index.saveImageToPhotosAlbum({filePath:null==l?void 0:l.tempFilePath,success:function(){a.showToast("保存成功"),console.log("save success")}})}})})}}),console.log(l)}})}};exports.method=n; diff --git a/dist/build/mp-weixin/INDEX/watermark_camera/model.js b/dist/build/mp-weixin/INDEX/watermark_camera/model.js index d38681b..b934488 100644 --- a/dist/build/mp-weixin/INDEX/watermark_camera/model.js +++ b/dist/build/mp-weixin/INDEX/watermark_camera/model.js @@ -1 +1 @@ -"use strict";var e;require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const r=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const o=require("../../common/libraries/day.js"),s=require("../../common/vendor.js"),t=r.useWeAppAuthStore(),u={devicePosition:s.ref("back"),time:s.ref(o.showCurrentTime()),day:s.ref(o.getDay()),weekDay:s.ref(o.showWeekDay()),address:s.ref({address:"暂无地址"}),userInfo:s.ref(null==(e=null==t?void 0:t.data)?void 0:e.user),source:s.ref("save")};exports.useModel=u; +"use strict";var e;require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const r=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const s=require("../../common/libraries/day.js"),o=require("../../common/vendor.js"),t=r.useWeAppAuthStore(),u={devicePosition:o.ref("back"),time:o.ref(s.showCurrentTime()),day:o.ref(s.getDay()),weekDay:o.ref(s.showWeekDay()),address:o.ref({address:"暂无地址",formatted_address:"暂无地址"}),userInfo:o.ref(null==(e=null==t?void 0:t.data)?void 0:e.user),source:o.ref("save")};exports.useModel=u; diff --git a/dist/build/mp-weixin/ME/announcement/list/index.js b/dist/build/mp-weixin/ME/announcement/list/index.js index e2bef9b..c7ea021 100644 --- a/dist/build/mp-weixin/ME/announcement/list/index.js +++ b/dist/build/mp-weixin/ME/announcement/list/index.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),n=require("./method.js"),r=require("../../../common/libraries/day.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("cc-scroll-loading"))()}Math||((()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const i=e.defineComponent({__name:"index",setup:i=>(e.onLoad((()=>{n.method.getList()})),e.onUnload((()=>{o.useModel.listData.value=[]})),(i,s)=>{var l,t,u,a,d;return{a:e.f(null==(t=null==(l=e.unref(o.useModel))?void 0:l.listData)?void 0:t.value,((o,i,s)=>({a:e.t((null==o?void 0:o.title)||""),b:e.t(e.unref(r.showDay)(null==o?void 0:o.publish_at)),c:null==o?void 0:o.content,d:"2ef6a311-1-"+s+",2ef6a311-0",e:`news_${i}`,f:e.o((r=>{var i;return null==(i=e.unref(n.method))?void 0:i.toDetaile(o)}),`news_${i}`)}))),b:e.p({type:"right",size:"15"}),c:e.o(null==(u=e.unref(n.method))?void 0:u.loadMore),d:e.p({meta:null==(d=null==(a=e.unref(o.useModel))?void 0:a.metaData)?void 0:d.value})}})});wx.createPage(i); +"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),n=require("./method.js"),r=require("../../../common/libraries/day.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("cc-scroll-loading"))()}Math||((()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const i=e.defineComponent({__name:"index",setup:i=>(e.onLoad(()=>{n.method.getList()}),e.onUnload(()=>{o.useModel.listData.value=[]}),(i,s)=>{var l,t,u,a,d;return{a:e.f(null==(t=null==(l=e.unref(o.useModel))?void 0:l.listData)?void 0:t.value,(o,i,s)=>({a:e.t((null==o?void 0:o.title)||""),b:e.t(e.unref(r.showDay)(null==o?void 0:o.publish_at)),c:null==o?void 0:o.content,d:"2ef6a311-1-"+s+",2ef6a311-0",e:`news_${i}`,f:e.o(r=>{var i;return null==(i=e.unref(n.method))?void 0:i.toDetaile(o)},`news_${i}`)})),b:e.p({type:"right",size:"15"}),c:e.o(null==(u=e.unref(n.method))?void 0:u.loadMore),d:e.p({meta:null==(d=null==(a=e.unref(o.useModel))?void 0:a.metaData)?void 0:d.value})}})});wx.createPage(i); diff --git a/dist/build/mp-weixin/ME/announcement/list/method.js b/dist/build/mp-weixin/ME/announcement/list/method.js index 21c976c..90731d0 100644 --- a/dist/build/mp-weixin/ME/announcement/list/method.js +++ b/dist/build/mp-weixin/ME/announcement/list/method.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/libraries/apiLoading.js"),r=require("../../../gen/Apis.js"),s=require("./model.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js");const t=require("../../../common/store/useWeAppAuthStore.js");require("../../../common/store/useWorkStore.js"),t.useWeAppAuthStore();const i=()=>{var e,t;o.getApiLoading(r.Apis.Msg.MsgPropertyAnnouncements.List,null==(t=null==(e=s.useModel)?void 0:e.formData)?void 0:t.value).then((e=>{s.useModel.listData.value=[...s.useModel.listData.value,...null==e?void 0:e.data],s.useModel.metaData.value=null==e?void 0:e.meta,console.log(e)}))},u={getList:i,loadMore(e){s.useModel.formData.value.page=null==e?void 0:e.page,i()},toDetaile(o){e.index.navigateTo({url:`/ME/announcement/show/index?id=${null==o?void 0:o.id}`})}};exports.method=u; +"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/libraries/apiLoading.js"),r=require("../../../gen/Apis.js"),s=require("./model.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js");const t=require("../../../common/store/useWeAppAuthStore.js");require("../../../common/store/useWorkStore.js"),t.useWeAppAuthStore();const i=()=>{var e,t;o.getApiLoading(r.Apis.Msg.MsgPropertyAnnouncements.List,null==(t=null==(e=s.useModel)?void 0:e.formData)?void 0:t.value).then(e=>{s.useModel.listData.value=[...s.useModel.listData.value,...null==e?void 0:e.data],s.useModel.metaData.value=null==e?void 0:e.meta,console.log(e)})},u={getList:i,loadMore(e){s.useModel.formData.value.page=null==e?void 0:e.page,i()},toDetaile(o){e.index.navigateTo({url:`/ME/announcement/show/index?id=${null==o?void 0:o.id}`})}};exports.method=u; diff --git a/dist/build/mp-weixin/ME/announcement/show/index.js b/dist/build/mp-weixin/ME/announcement/show/index.js index e926589..b5ce462 100644 --- a/dist/build/mp-weixin/ME/announcement/show/index.js +++ b/dist/build/mp-weixin/ME/announcement/show/index.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),u=require("./method.js"),l=require("../../../common/libraries/day.js");require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js");const r=e.defineComponent({__name:"index",setup:r=>(e.onLoad((e=>{u.method.getShow(null==e?void 0:e.id)})),(u,r)=>{var i,n,s,t,a,d,v,m,c,h,q,j,p,w,b;return e.e({a:e.t((null==(s=null==(n=null==(i=e.unref(o.useModel))?void 0:i.showData)?void 0:n.value)?void 0:s.title)||"无标题"),b:null==(d=null==(a=null==(t=e.unref(o.useModel))?void 0:t.showData)?void 0:a.value)?void 0:d.publish_at},(null==(c=null==(m=null==(v=e.unref(o.useModel))?void 0:v.showData)?void 0:m.value)?void 0:c.publish_at)?{c:e.t(e.unref(l.showDay)((null==(j=null==(q=null==(h=e.unref(o.useModel))?void 0:h.showData)?void 0:q.value)?void 0:j.publish_at)||""))}:{},{d:null==(b=null==(w=null==(p=e.unref(o.useModel))?void 0:p.showData)?void 0:w.value)?void 0:b.content})})});wx.createPage(r); +"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),u=require("./method.js"),l=require("../../../common/libraries/day.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../gen/Apis.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/apiLoading.js");const r=e.defineComponent({__name:"index",setup:r=>(e.onLoad(e=>{u.method.getShow(null==e?void 0:e.id)}),(u,r)=>{var i,n,s,t,a,d,v,m,c,h,q,j,p,w,b;return e.e({a:e.t((null==(s=null==(n=null==(i=e.unref(o.useModel))?void 0:i.showData)?void 0:n.value)?void 0:s.title)||"无标题"),b:null==(d=null==(a=null==(t=e.unref(o.useModel))?void 0:t.showData)?void 0:a.value)?void 0:d.publish_at},(null==(c=null==(m=null==(v=e.unref(o.useModel))?void 0:v.showData)?void 0:m.value)?void 0:c.publish_at)?{c:e.t(e.unref(l.showDay)((null==(j=null==(q=null==(h=e.unref(o.useModel))?void 0:h.showData)?void 0:q.value)?void 0:j.publish_at)||""))}:{},{d:null==(b=null==(w=null==(p=e.unref(o.useModel))?void 0:p.showData)?void 0:w.value)?void 0:b.content})})});wx.createPage(r); diff --git a/dist/build/mp-weixin/ME/announcement/show/method.js b/dist/build/mp-weixin/ME/announcement/show/method.js index 1236078..11fe214 100644 --- a/dist/build/mp-weixin/ME/announcement/show/method.js +++ b/dist/build/mp-weixin/ME/announcement/show/method.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/libraries/apiLoading.js"),o=require("../../../gen/Apis.js"),r=require("./model.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js");const s=require("../../../common/store/useWeAppAuthStore.js");require("../../../common/store/useWorkStore.js"),s.useWeAppAuthStore();const t={getShow(s){e.getApiLoading(o.Apis.Msg.MsgPropertyAnnouncements.Show,{id:s}).then((e=>{r.useModel.showData.value=null==e?void 0:e.data,console.log(e)}))}};exports.method=t; +"use strict";require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js");const e=require("../../../common/store/useWeAppAuthStore.js");require("../../../common/store/useWorkStore.js");const o=require("../../../common/libraries/apiLoading.js"),r=require("../../../gen/Apis.js"),s=require("./model.js");e.useWeAppAuthStore();const t={getShow(e){o.getApiLoading(r.Apis.Msg.MsgPropertyAnnouncements.Show,{id:e}).then(o=>{var t;s.useModel.showData.value=null==o?void 0:o.data,(null==(t=null==o?void 0:o.data)?void 0:t.is_read)||r.Apis.Msg.MsgPropertyAnnouncements.MarkAsRead({id:e}),console.log(o)})}};exports.method=t; diff --git a/dist/build/mp-weixin/ME/attendance/my_schedules/index.js b/dist/build/mp-weixin/ME/attendance/my_schedules/index.js new file mode 100644 index 0000000..3e9bf87 --- /dev/null +++ b/dist/build/mp-weixin/ME/attendance/my_schedules/index.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),l=require("../../../common/libraries/day.js"),u=require("./model.js"),n=require("../../../gen/Enums.js"),o=require("./method.js");if(require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../gen/Apis.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/apiLoading.js"),!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("uni-icons")+e.resolveComponent("u-steps-item")+e.resolveComponent("u-steps"))()}Math||((()=>"../../../components/hs-empty/hs-empty.js")+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../node-modules/uview-plus/components/u-steps-item/u-steps-item.js")+(()=>"../../../node-modules/uview-plus/components/u-steps/u-steps.js"))();const t=e.defineComponent({__name:"index",setup:t=>(e.onShow(()=>{var e;null==(e=o.method)||e.getList()}),(t,s)=>{var i,d,v,a,r,c,h,m,_,k,p,f,w,$,j;return e.e({a:!(null==(d=null==(i=e.unref(u.useModel))?void 0:i.showData)?void 0:d.value)},(null==(a=null==(v=e.unref(u.useModel))?void 0:v.showData)||a.value,{}),{b:e.f(null==(m=null==(h=null==(c=null==(r=e.unref(u.useModel))?void 0:r.showData)?void 0:c.value)?void 0:h.shift)?void 0:m.periods,(t,s,i)=>{var d,v,a,r,c,h,m,_,k,p,f,w,$,j,C,D,q,M,y,A,g,H,S,b,x,O,P,B,T,z,E,W,F,L,R,I,G,J,K,N,Q,U,V,X,Y,Z,ee,le,ue,ne,oe,te,se,ie,de,ve,ae,re,ce,he,me;return e.e({a:e.t(e.unref(l.showTime)(`${null==(a=null==(v=null==(d=e.unref(u.useModel))?void 0:d.showData)?void 0:v.value)?void 0:a.schedule_date} ${null==t?void 0:t.work_start_time}`)),b:null==(c=null==(r=null==t?void 0:t.checkin_status)?void 0:r.start)?void 0:c.checked},(null==(m=null==(h=null==t?void 0:t.checkin_status)?void 0:h.start)?void 0:m.checked)?{c:e.t(null==(p=e.unref(n.AttendanceRecordsStatusEnum)[null==(k=null==(_=null==t?void 0:t.checkin_status)?void 0:_.start)?void 0:k.status])?void 0:p.text),d:e.n(`status status_${null==(w=null==(f=null==t?void 0:t.checkin_status)?void 0:f.start)?void 0:w.status}`)}:e.e({e:e.unref(l.isOverHalfHourPast)(`${null==(C=null==(j=null==($=e.unref(u.useModel))?void 0:$.showData)?void 0:j.value)?void 0:C.schedule_date} ${null==t?void 0:t.work_start_time}`)},(e.unref(l.isOverHalfHourPast)(`${null==(M=null==(q=null==(D=e.unref(u.useModel))?void 0:D.showData)?void 0:q.value)?void 0:M.schedule_date} ${null==t?void 0:t.work_start_time}`),{})),{f:!(null==(A=null==(y=null==t?void 0:t.checkin_status)?void 0:y.start)?void 0:A.checked)},(null==(H=null==(g=null==t?void 0:t.checkin_status)?void 0:g.start)?void 0:H.checked)?{}:{g:"5673da8c-3-"+i+",5673da8c-2-"+i,h:e.p({type:"right",size:"14",color:"#0082FA"}),i:e.o(l=>{var u;return null==(u=e.unref(o.method))?void 0:u.toDetaile({...t,type:"CheckIn"})},`periods_${s}`)},{j:null==(b=null==(S=null==t?void 0:t.checkin_status)?void 0:S.start)?void 0:b.time},(null==(O=null==(x=null==t?void 0:t.checkin_status)?void 0:x.start)?void 0:O.time)?{k:e.t(e.unref(l.showTime)(null==(B=null==(P=null==t?void 0:t.checkin_status)?void 0:P.start)?void 0:B.time)),l:e.n(`schedules_steps_check schedules_steps_${null==(z=null==(T=null==t?void 0:t.checkin_status)?void 0:T.start)?void 0:z.status}`)}:{},{m:"5673da8c-2-"+i+",5673da8c-1-"+i,n:e.t(e.unref(l.showTime)(`${null==(F=null==(W=null==(E=e.unref(u.useModel))?void 0:E.showData)?void 0:W.value)?void 0:F.schedule_date} ${null==t?void 0:t.work_end_time}`)),o:null==(R=null==(L=null==t?void 0:t.checkin_status)?void 0:L.end)?void 0:R.checked},(null==(G=null==(I=null==t?void 0:t.checkin_status)?void 0:I.end)?void 0:G.checked)?{p:e.t(null==(N=e.unref(n.AttendanceRecordsStatusEnum)[null==(K=null==(J=null==t?void 0:t.checkin_status)?void 0:J.end)?void 0:K.status])?void 0:N.text),q:e.n(`status status_${null==(U=null==(Q=null==t?void 0:t.checkin_status)?void 0:Q.end)?void 0:U.status}`)}:e.e({r:e.unref(l.isOverHalfHourPast)(`${null==(Y=null==(X=null==(V=e.unref(u.useModel))?void 0:V.showData)?void 0:X.value)?void 0:Y.schedule_date} ${null==t?void 0:t.work_end_time}`)},(e.unref(l.isOverHalfHourPast)(`${null==(le=null==(ee=null==(Z=e.unref(u.useModel))?void 0:Z.showData)?void 0:ee.value)?void 0:le.schedule_date} ${null==t?void 0:t.work_end_time}`),{})),{s:!(null==(ne=null==(ue=null==t?void 0:t.checkin_status)?void 0:ue.end)?void 0:ne.checked)},(null==(te=null==(oe=null==t?void 0:t.checkin_status)?void 0:oe.end)?void 0:te.checked)?{}:{t:"5673da8c-5-"+i+",5673da8c-4-"+i,v:e.p({type:"right",size:"14",color:"#0082FA"}),w:e.o(l=>{var u;return null==(u=e.unref(o.method))?void 0:u.toDetaile({...t,type:"CheckOut"})},`periods_${s}`)},{x:null==(ie=null==(se=null==t?void 0:t.checkin_status)?void 0:se.end)?void 0:ie.time},(null==(ve=null==(de=null==t?void 0:t.checkin_status)?void 0:de.end)?void 0:ve.time)?{y:e.t(e.unref(l.showTime)(null==(re=null==(ae=null==t?void 0:t.checkin_status)?void 0:ae.end)?void 0:re.time)),z:e.n(`schedules_steps_check schedules_steps_${null==(he=null==(ce=null==t?void 0:t.checkin_status)?void 0:ce.end)?void 0:he.status}`)}:{},{A:"5673da8c-4-"+i+",5673da8c-1-"+i,B:"5673da8c-1-"+i,C:e.p({current:null==(me=e.unref(o.method))?void 0:me.calculationCurrent(t),direction:"column",activeColor:"#52C41A",inactiveColor:"#CBCBCB"}),D:`periods_${s}`})}),c:e.t(null==(f=null==(p=null==(k=null==(_=e.unref(u.useModel))?void 0:_.showData)?void 0:k.value)?void 0:p.shift)?void 0:f.name),d:e.t(e.unref(l.getShowDay)(null==(j=null==($=null==(w=e.unref(u.useModel))?void 0:w.showData)?void 0:$.value)?void 0:j.schedule_date))})})});wx.createPage(t); diff --git a/dist/build/mp-weixin/ME/attendance/my_schedules/index.json b/dist/build/mp-weixin/ME/attendance/my_schedules/index.json new file mode 100644 index 0000000..646895c --- /dev/null +++ b/dist/build/mp-weixin/ME/attendance/my_schedules/index.json @@ -0,0 +1,9 @@ +{ + "navigationBarTitleText": "签到打卡", + "usingComponents": { + "hs-empty": "../../../components/hs-empty/hs-empty", + "uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons", + "u-steps-item": "../../../node-modules/uview-plus/components/u-steps-item/u-steps-item", + "u-steps": "../../../node-modules/uview-plus/components/u-steps/u-steps" + } +} \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/attendance/my_schedules/index.wxml b/dist/build/mp-weixin/ME/attendance/my_schedules/index.wxml new file mode 100644 index 0000000..9468d98 --- /dev/null +++ b/dist/build/mp-weixin/ME/attendance/my_schedules/index.wxml @@ -0,0 +1 @@ + 打卡任务-{{c}}({{d}}) 上班卡:{{i.a}}前{{i.c}} 缺卡 前往打卡{{i.k}}已打卡 下班卡:{{i.n}}前{{i.p}} 缺卡 前往打卡{{i.y}}已打卡 \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/attendance/my_schedules/index.wxss b/dist/build/mp-weixin/ME/attendance/my_schedules/index.wxss new file mode 100644 index 0000000..fe1c1b3 --- /dev/null +++ b/dist/build/mp-weixin/ME/attendance/my_schedules/index.wxss @@ -0,0 +1 @@ +page{background-color:#f8f8f8}.schedules_item{border-radius:20rpx;background-color:#fff;padding:0 30rpx;margin:30rpx}.schedules_item_header{padding:30rpx 0;font-size:28rpx;display:flex;align-items:center;justify-content:space-between;color:#3d3d3d;font-size:29rpx;font-weight:500}.schedules_item .schedules_steps{display:flex;align-items:center;justify-content:space-between;padding-bottom:26rpx;color:#3d3d3d;font-size:26rpx}.schedules_item .schedules_steps_day_info{display:flex;align-items:center}.schedules_item .schedules_steps_day_info .status{padding:4rpx 10rpx;border-radius:6rpx;margin-left:10rpx;font-size:24rpx;color:#ff4d4f;background-color:#ffeded}.schedules_item .schedules_steps_day_info .status_Normal{color:#55c51d;background-color:#f0ffe8}.schedules_item .schedules_steps_check{color:#ff4d4f}.schedules_item .schedules_steps_Normal{color:#55c51d}.schedules_item .schedules_steps .to_check{color:#0082fa} diff --git a/dist/build/mp-weixin/ME/attendance/my_schedules/method.js b/dist/build/mp-weixin/ME/attendance/my_schedules/method.js new file mode 100644 index 0000000..79ea861 --- /dev/null +++ b/dist/build/mp-weixin/ME/attendance/my_schedules/method.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js");const o=require("../../../common/store/useWeAppAuthStore.js");require("../../../common/store/useWorkStore.js");const t=require("../../../common/libraries/apiLoading.js"),l=require("../../../gen/Apis.js"),n=require("./model.js");o.useWeAppAuthStore();const i=()=>{t.getApiLoading(l.Apis.Attendance.AttendanceSchedules.GetAttendanceSchedules,{}).then(e=>{n.useModel.showData.value=(null==e?void 0:e.data)||void 0})},d={getList:i,loadMore(e){n.useModel.formData.value.page=null==e?void 0:e.page,i()},async uploadMedia(e){let o=await l.Apis.Customer.CustomerMoments.UploadMedia(e);return null==o?void 0:o.data},calculationCurrent(e){var o,t,l,n,i,d;return(null==(t=null==(o=null==e?void 0:e.checkin_status)?void 0:o.start)?void 0:t.checked)&&(null==(n=null==(l=null==e?void 0:e.checkin_status)?void 0:l.end)?void 0:n.checked)?3:(null==(d=null==(i=null==e?void 0:e.checkin_status)?void 0:i.start)?void 0:d.checked)?1:null},toDetaile(o){var t,l,i,d,u,s;e.index.navigateTo({url:`/ME/attendance/sign_clock_in/index?attendance_schedules_id=${null==(i=null==(l=null==(t=n.useModel)?void 0:t.showData)?void 0:l.value)?void 0:i.schedule_id}&attendance_shift_periods_id=${null==o?void 0:o.id}&checkin_type=${null==o?void 0:o.type}&date=${null==(s=null==(u=null==(d=n.useModel)?void 0:d.showData)?void 0:u.value)?void 0:s.schedule_date}`})}};exports.method=d; diff --git a/dist/build/mp-weixin/ME/attendance/my_schedules/model.js b/dist/build/mp-weixin/ME/attendance/my_schedules/model.js new file mode 100644 index 0000000..19d15e2 --- /dev/null +++ b/dist/build/mp-weixin/ME/attendance/my_schedules/model.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),a=require("../../../common/libraries/day.js"),r={formData:e.ref({page:1,start_date:a.getDay(),end_date:a.getDay()}),showData:e.ref({}),metaData:e.ref({}),userData:e.ref({})};exports.useModel=r; diff --git a/dist/build/mp-weixin/ME/attendance/sign_clock_in/index.js b/dist/build/mp-weixin/ME/attendance/sign_clock_in/index.js new file mode 100644 index 0000000..7f9a74e --- /dev/null +++ b/dist/build/mp-weixin/ME/attendance/sign_clock_in/index.js @@ -0,0 +1 @@ +"use strict";const l=require("../../../common/vendor.js"),e=require("../../../common/libraries/day.js"),u=require("../../../gen/Enums.js"),o=require("./method.js"),n=require("./model.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/naviHelper.js"),require("../../../common/libraries/mapDistance.js"),require("../../../common/libraries/tools.js"),!Array){(l.resolveComponent("uni-icons")+l.resolveComponent("u-steps-item")+l.resolveComponent("u-steps")+l.resolveComponent("hs-button")+l.resolveComponent("u-loading-icon"))()}Math||((()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../node-modules/uview-plus/components/u-steps-item/u-steps-item.js")+(()=>"../../../node-modules/uview-plus/components/u-steps/u-steps.js")+(()=>"../../../components/hs-button/hs-button.js")+(()=>"../../../node-modules/uview-plus/components/u-loading-icon/u-loading-icon.js"))();const d=l.defineComponent({__name:"index",setup:d=>(l.onLoad(l=>{var e,u;console.log(l,"e"),n.useModel.formData.value=l,null==(e=o.method)||e.getLocation(l),null==(u=o.method)||u.getAttendanceConfig()}),l.onShow(()=>{var l;null==(l=o.method)||l.init()}),l.onUnload(()=>{n.useModel.mapNumber.value=0,n.useModel.loading.value=!1}),(d,i)=>{var a,v,t,r,s,c,f,h,m,_,M,p,D,k,w,g,C,$,b,j,q,y,N,A,H,S,O,T,x,L,P,z,W,B,E,R,U,F,Y,G,I,J,K,Q,V,X,Z,ll,el,ul,ol,nl,dl,il,al,vl,tl,rl,sl,cl,fl,hl,ml,_l,Ml,pl,Dl,kl,wl,gl,Cl,$l,bl,jl,ql,yl,Nl,Al,Hl,Sl,Ol,Tl,xl,Ll,Pl,zl,Wl,Bl,El,Rl,Ul,Fl,Yl,Gl,Il,Jl,Kl,Ql,Vl,Xl,Zl,le,ee,ue,oe,ne,de,ie,ae,ve,te,re,se,ce,fe,he,me,_e,Me,pe,De,ke,we,ge,Ce,$e,be,je,qe,ye,Ne,Ae,He,Se,Oe,Te,xe,Le,Pe,ze,We,Be,Ee,Re,Ue,Fe,Ye,Ge,Ie,Je,Ke,Qe,Ve,Xe,Ze,lu,eu,uu,ou,nu,du,iu,au,vu,tu,ru,su,cu,fu,hu,mu,_u,Mu,pu,Du,ku,wu,gu,Cu,$u,bu,ju,qu,yu,Nu,Au,Hu,Su,Ou,Tu,xu,Lu,Pu,zu,Wu,Bu,Eu,Ru,Uu,Fu,Yu,Gu,Iu,Ju,Ku,Qu,Vu,Xu,Zu,lo,eo,uo,oo,no,io,ao,vo,to,ro,so,co,fo,ho,mo,_o,Mo,po,Do,ko,wo,go,Co,$o,bo,jo,qo,yo,No,Ao,Ho,So,Oo,To,xo,Lo,Po,zo,Wo,Bo,Eo,Ro,Uo,Fo,Yo,Go,Io,Jo;return l.e({a:null==(v=null==(a=l.unref(n.useModel))?void 0:a.loading)?void 0:v.value},(null==(r=null==(t=l.unref(n.useModel))?void 0:t.loading)?void 0:r.value)?l.e({b:l.t(l.unref(e.getShowDay)(null==(f=null==(c=null==(s=l.unref(n.useModel))?void 0:s.formData)?void 0:c.value)?void 0:f.date)),c:l.t((null==(m=null==(h=l.unref(n.useModel))?void 0:h.distanceNumber)?void 0:m.value)>(null==(p=null==(M=null==(_=l.unref(n.useModel))?void 0:_.attendanceConfigData)?void 0:M.value)?void 0:p.check_in_range)?"不在":"已在"),d:l.p({color:(null==(k=null==(D=l.unref(n.useModel))?void 0:D.distanceNumber)?void 0:k.value)>(null==(C=null==(g=null==(w=l.unref(n.useModel))?void 0:w.attendanceConfigData)?void 0:g.value)?void 0:C.check_in_range)?"#767676":"#0082FA",type:"location-filled",size:"16"}),e:l.t((null==(q=null==(j=null==(b=null==($=l.unref(n.useModel))?void 0:$.showData)?void 0:b.value)?void 0:j.project)?void 0:q.name)||"-"),f:(null==(N=null==(y=l.unref(n.useModel))?void 0:y.distanceNumber)?void 0:N.value)>(null==(S=null==(H=null==(A=l.unref(n.useModel))?void 0:A.attendanceConfigData)?void 0:H.value)?void 0:S.check_in_range)},(null==(T=null==(O=l.unref(n.useModel))?void 0:O.distanceNumber)?void 0:T.value)>(null==(P=null==(L=null==(x=l.unref(n.useModel))?void 0:x.attendanceConfigData)?void 0:L.value)?void 0:P.check_in_range)?{g:l.o((...e)=>{var u,n;return(null==(u=l.unref(o.method))?void 0:u.handleUpdateLocation)&&(null==(n=l.unref(o.method))?void 0:n.handleUpdateLocation(...e))})}:{},{h:l.n("sign_clock_in_page_map "+((null==(W=null==(z=l.unref(n.useModel))?void 0:z.distanceNumber)?void 0:W.value)>(null==(R=null==(E=null==(B=l.unref(n.useModel))?void 0:B.attendanceConfigData)?void 0:E.value)?void 0:R.check_in_range)?"sign_clock_in_page_map_opacity":"")),i:l.t(l.unref(e.showTime)(`${null==(Y=null==(F=null==(U=l.unref(n.useModel))?void 0:U.formData)?void 0:F.value)?void 0:Y.date} ${null==(K=null==(J=null==(I=null==(G=l.unref(n.useModel))?void 0:G.showData)?void 0:I.value)?void 0:J.period)?void 0:K.work_start_time}`)),j:null==(ll=null==(Z=null==(X=null==(V=null==(Q=l.unref(n.useModel))?void 0:Q.showData)?void 0:V.value)?void 0:X.checkin_status)?void 0:Z.start)?void 0:ll.checked},(null==(dl=null==(nl=null==(ol=null==(ul=null==(el=l.unref(n.useModel))?void 0:el.showData)?void 0:ul.value)?void 0:ol.checkin_status)?void 0:nl.start)?void 0:dl.checked)?{k:l.t(null==(sl=l.unref(u.AttendanceRecordsStatusEnum)[null==(rl=null==(tl=null==(vl=null==(al=null==(il=l.unref(n.useModel))?void 0:il.showData)?void 0:al.value)?void 0:vl.checkin_status)?void 0:tl.start)?void 0:rl.status])?void 0:sl.text)}:l.e({l:l.unref(e.isOverHalfHourPast)(`${null==(hl=null==(fl=null==(cl=l.unref(n.useModel))?void 0:cl.formData)?void 0:fl.value)?void 0:hl.date} ${null==(pl=null==(Ml=null==(_l=null==(ml=l.unref(n.useModel))?void 0:ml.showData)?void 0:_l.value)?void 0:Ml.period)?void 0:pl.work_start_time}`)},(l.unref(e.isOverHalfHourPast)(`${null==(wl=null==(kl=null==(Dl=l.unref(n.useModel))?void 0:Dl.formData)?void 0:kl.value)?void 0:wl.date} ${null==(bl=null==($l=null==(Cl=null==(gl=l.unref(n.useModel))?void 0:gl.showData)?void 0:Cl.value)?void 0:$l.period)?void 0:bl.work_start_time}`),{})),{m:null==(Al=null==(Nl=null==(yl=null==(ql=null==(jl=l.unref(n.useModel))?void 0:jl.showData)?void 0:ql.value)?void 0:yl.checkin_status)?void 0:Nl.start)?void 0:Al.checked},(null==(xl=null==(Tl=null==(Ol=null==(Sl=null==(Hl=l.unref(n.useModel))?void 0:Hl.showData)?void 0:Sl.value)?void 0:Ol.checkin_status)?void 0:Tl.start)?void 0:xl.checked)?{n:l.t(l.unref(e.showTime)(null==(Bl=null==(Wl=null==(zl=null==(Pl=null==(Ll=l.unref(n.useModel))?void 0:Ll.showData)?void 0:Pl.value)?void 0:zl.checkin_status)?void 0:Wl.start)?void 0:Bl.time)),o:l.n(`schedules_steps_check schedules_steps_${null==(Yl=null==(Fl=null==(Ul=null==(Rl=null==(El=l.unref(n.useModel))?void 0:El.showData)?void 0:Rl.value)?void 0:Ul.checkin_status)?void 0:Fl.start)?void 0:Yl.status}`)}:{},{p:l.t(l.unref(e.showTime)(`${null==(Jl=null==(Il=null==(Gl=l.unref(n.useModel))?void 0:Gl.formData)?void 0:Il.value)?void 0:Jl.date} ${null==(Xl=null==(Vl=null==(Ql=null==(Kl=l.unref(n.useModel))?void 0:Kl.showData)?void 0:Ql.value)?void 0:Vl.period)?void 0:Xl.work_end_time}`)),q:null==(oe=null==(ue=null==(ee=null==(le=null==(Zl=l.unref(n.useModel))?void 0:Zl.showData)?void 0:le.value)?void 0:ee.checkin_status)?void 0:ue.end)?void 0:oe.checked},(null==(ve=null==(ae=null==(ie=null==(de=null==(ne=l.unref(n.useModel))?void 0:ne.showData)?void 0:de.value)?void 0:ie.checkin_status)?void 0:ae.end)?void 0:ve.checked)?{r:l.t(null==(he=l.unref(u.AttendanceRecordsStatusEnum)[null==(fe=null==(ce=null==(se=null==(re=null==(te=l.unref(n.useModel))?void 0:te.showData)?void 0:re.value)?void 0:se.checkin_status)?void 0:ce.end)?void 0:fe.status])?void 0:he.text)}:l.e({s:l.unref(e.isOverHalfHourPast)(`${null==(Me=null==(_e=null==(me=l.unref(n.useModel))?void 0:me.formData)?void 0:_e.value)?void 0:Me.date} ${null==(we=null==(ke=null==(De=null==(pe=l.unref(n.useModel))?void 0:pe.showData)?void 0:De.value)?void 0:ke.period)?void 0:we.work_end_time}`)},(l.unref(e.isOverHalfHourPast)(`${null==($e=null==(Ce=null==(ge=l.unref(n.useModel))?void 0:ge.formData)?void 0:Ce.value)?void 0:$e.date} ${null==(ye=null==(qe=null==(je=null==(be=l.unref(n.useModel))?void 0:be.showData)?void 0:je.value)?void 0:qe.period)?void 0:ye.work_end_time}`),{})),{t:null==(Oe=null==(Se=null==(He=null==(Ae=null==(Ne=l.unref(n.useModel))?void 0:Ne.showData)?void 0:Ae.value)?void 0:He.checkin_status)?void 0:Se.end)?void 0:Oe.checked},(null==(ze=null==(Pe=null==(Le=null==(xe=null==(Te=l.unref(n.useModel))?void 0:Te.showData)?void 0:xe.value)?void 0:Le.checkin_status)?void 0:Pe.end)?void 0:ze.checked)?{v:l.t(l.unref(e.showTime)(null==(Ue=null==(Re=null==(Ee=null==(Be=null==(We=l.unref(n.useModel))?void 0:We.showData)?void 0:Be.value)?void 0:Ee.checkin_status)?void 0:Re.end)?void 0:Ue.time)),w:l.n(`schedules_steps_check schedules_steps_${null==(Je=null==(Ie=null==(Ge=null==(Ye=null==(Fe=l.unref(n.useModel))?void 0:Fe.showData)?void 0:Ye.value)?void 0:Ge.checkin_status)?void 0:Ie.end)?void 0:Je.status}`)}:{},{x:l.p({current:null==(Qe=null==(Ke=l.unref(n.useModel))?void 0:Ke.current)?void 0:Qe.value,direction:"column",activeColor:"#52C41A",inactiveColor:"#CBCBCB"}),y:null==(Ze=null==(Xe=null==(Ve=l.unref(n.useModel))?void 0:Ve.attendanceConfigData)?void 0:Xe.value)?void 0:Ze.require_photo},(null==(uu=null==(eu=null==(lu=l.unref(n.useModel))?void 0:lu.attendanceConfigData)?void 0:eu.value)?void 0:uu.require_photo)?l.e({z:null==(iu=null==(du=null==(nu=null==(ou=l.unref(n.useModel))?void 0:ou.formData)?void 0:nu.value)?void 0:du.photo)?void 0:iu.length},(null==(ru=null==(tu=null==(vu=null==(au=l.unref(n.useModel))?void 0:au.formData)?void 0:vu.value)?void 0:tu.photo)?void 0:ru.length)?{A:l.f(null==(fu=null==(cu=null==(su=l.unref(n.useModel))?void 0:su.formData)?void 0:cu.value)?void 0:fu.photo,(e,u,n)=>({a:null==e?void 0:e.url,b:l.o(u=>{var n;return null==(n=l.unref(o.method))?void 0:n.onPreviewMedia(null==e?void 0:e.url)},`img_${u}`),c:"47899bc6-4-"+n,d:l.o(e=>{var u;return null==(u=l.unref(o.method))?void 0:u.handleDelete()},`img_${u}`),e:`img_${u}`})),B:l.p({type:"clear",color:"#f00",size:"25"})}:{C:l.o(e=>{var u;return null==(u=l.unref(o.method))?void 0:u.toUpload()}),D:l.p({label:"点击拍照",type:"ghost",size:"large"})}):{},{E:(null==(mu=null==(hu=l.unref(n.useModel))?void 0:hu.distanceNumber)?void 0:mu.value)<=(null==(pu=null==(Mu=null==(_u=l.unref(n.useModel))?void 0:_u.attendanceConfigData)?void 0:Mu.value)?void 0:pu.check_in_range)&&l.unref(e.isWithinTimeRange)(`${null==(wu=null==(ku=null==(Du=l.unref(n.useModel))?void 0:Du.formData)?void 0:ku.value)?void 0:wu.date} ${"CheckOut"===(null==($u=null==(Cu=null==(gu=l.unref(n.useModel))?void 0:gu.formData)?void 0:Cu.value)?void 0:$u.checkin_type)?null==(yu=null==(qu=null==(ju=null==(bu=l.unref(n.useModel))?void 0:bu.showData)?void 0:ju.value)?void 0:qu.period)?void 0:yu.work_end_time:null==(Su=null==(Hu=null==(Au=null==(Nu=l.unref(n.useModel))?void 0:Nu.showData)?void 0:Au.value)?void 0:Hu.period)?void 0:Su.work_start_time}`)&&(null==(Ou=l.unref(o.method))?void 0:Ou.YesNoCheckinStatus())},(null==(xu=null==(Tu=l.unref(n.useModel))?void 0:Tu.distanceNumber)?void 0:xu.value)<=(null==(zu=null==(Pu=null==(Lu=l.unref(n.useModel))?void 0:Lu.attendanceConfigData)?void 0:Pu.value)?void 0:zu.check_in_range)&&l.unref(e.isWithinTimeRange)(`${null==(Eu=null==(Bu=null==(Wu=l.unref(n.useModel))?void 0:Wu.formData)?void 0:Bu.value)?void 0:Eu.date} ${"CheckOut"===(null==(Fu=null==(Uu=null==(Ru=l.unref(n.useModel))?void 0:Ru.formData)?void 0:Uu.value)?void 0:Fu.checkin_type)?null==(Ju=null==(Iu=null==(Gu=null==(Yu=l.unref(n.useModel))?void 0:Yu.showData)?void 0:Gu.value)?void 0:Iu.period)?void 0:Ju.work_end_time:null==(Xu=null==(Vu=null==(Qu=null==(Ku=l.unref(n.useModel))?void 0:Ku.showData)?void 0:Qu.value)?void 0:Vu.period)?void 0:Xu.work_start_time}`)&&(null==(Zu=l.unref(o.method))?void 0:Zu.YesNoCheckinStatus())?l.e({F:l.t(l.unref(e.showTime)(`${null==(uo=null==(eo=null==(lo=l.unref(n.useModel))?void 0:lo.formData)?void 0:eo.value)?void 0:uo.date} ${"CheckOut"===(null==(io=null==(no=null==(oo=l.unref(n.useModel))?void 0:oo.formData)?void 0:no.value)?void 0:io.checkin_type)?null==(ro=null==(to=null==(vo=null==(ao=l.unref(n.useModel))?void 0:ao.showData)?void 0:vo.value)?void 0:to.period)?void 0:ro.work_end_time:null==(ho=null==(fo=null==(co=null==(so=l.unref(n.useModel))?void 0:so.showData)?void 0:co.value)?void 0:fo.period)?void 0:ho.work_start_time}`)),G:l.o(e=>{var u;return null==(u=l.unref(o.method))?void 0:u.handleCheckin()}),H:null==(Mo=null==(_o=null==(mo=l.unref(n.useModel))?void 0:mo.attendanceConfigData)?void 0:_o.value)?void 0:Mo.require_photo},(null==(ko=null==(Do=null==(po=l.unref(n.useModel))?void 0:po.attendanceConfigData)?void 0:Do.value)||ko.require_photo,{})):l.e({I:l.t(l.unref(e.showTime)(`${null==(Co=null==(go=null==(wo=l.unref(n.useModel))?void 0:wo.formData)?void 0:go.value)?void 0:Co.date} ${"CheckOut"===(null==(jo=null==(bo=null==($o=l.unref(n.useModel))?void 0:$o.formData)?void 0:bo.value)?void 0:jo.checkin_type)?null==(Ao=null==(No=null==(yo=null==(qo=l.unref(n.useModel))?void 0:qo.showData)?void 0:yo.value)?void 0:No.period)?void 0:Ao.work_end_time:null==(To=null==(Oo=null==(So=null==(Ho=l.unref(n.useModel))?void 0:Ho.showData)?void 0:So.value)?void 0:Oo.period)?void 0:To.work_start_time}`)),J:(null==(Lo=null==(xo=l.unref(n.useModel))?void 0:xo.distanceNumber)?void 0:Lo.value)>(null==(Wo=null==(zo=null==(Po=l.unref(n.useModel))?void 0:Po.attendanceConfigData)?void 0:zo.value)?void 0:Wo.check_in_range)},(null==(Eo=null==(Bo=l.unref(n.useModel))?void 0:Bo.distanceNumber)?void 0:Eo.value)>(null==(Fo=null==(Uo=null==(Ro=l.unref(n.useModel))?void 0:Ro.attendanceConfigData)?void 0:Uo.value)?void 0:Fo.check_in_range)?{K:l.t((null==(Jo=null==(Io=null==(Go=null==(Yo=l.unref(n.useModel))?void 0:Yo.showData)?void 0:Go.value)?void 0:Io.project)?void 0:Jo.name)||"-")}:{})):{L:l.p({text:"努力加载中",size:"36",vertical:!0})})})});wx.createPage(d); diff --git a/dist/build/mp-weixin/ME/attendance/sign_clock_in/index.json b/dist/build/mp-weixin/ME/attendance/sign_clock_in/index.json new file mode 100644 index 0000000..4106576 --- /dev/null +++ b/dist/build/mp-weixin/ME/attendance/sign_clock_in/index.json @@ -0,0 +1,10 @@ +{ + "navigationBarTitleText": "签到打卡", + "usingComponents": { + "uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons", + "u-steps-item": "../../../node-modules/uview-plus/components/u-steps-item/u-steps-item", + "u-steps": "../../../node-modules/uview-plus/components/u-steps/u-steps", + "hs-button": "../../../components/hs-button/hs-button", + "u-loading-icon": "../../../node-modules/uview-plus/components/u-loading-icon/u-loading-icon" + } +} \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/attendance/sign_clock_in/index.wxml b/dist/build/mp-weixin/ME/attendance/sign_clock_in/index.wxml new file mode 100644 index 0000000..85f2a19 --- /dev/null +++ b/dist/build/mp-weixin/ME/attendance/sign_clock_in/index.wxml @@ -0,0 +1 @@ + 打卡地点 ({{b}}) 你{{c}}打卡范围内 {{e}} 更新位置 上班卡:{{i}}前 {{k}} 缺卡 打卡时间:{{n}}下班卡: {{p}}前{{r}} 缺卡 打卡时间:{{v}} 打卡2 {{F}} 请先上传打卡照,再点击打卡按钮 打卡1{{I}} 当前不在打卡范围内 前往{{K}}即可完成打卡签到。 \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/attendance/sign_clock_in/index.wxss b/dist/build/mp-weixin/ME/attendance/sign_clock_in/index.wxss new file mode 100644 index 0000000..0698ca4 --- /dev/null +++ b/dist/build/mp-weixin/ME/attendance/sign_clock_in/index.wxss @@ -0,0 +1 @@ +page{background-color:#f8f8f8}.sign_clock_in_page{background-color:#fff;margin:30rpx;border-radius:20rpx;padding:0 30rpx 60rpx}.sign_clock_in_page_title{padding:30rpx 0;font-size:30rpx;color:#3d3d3d;font-weight:500}.sign_clock_in_page_map{height:140rpx;position:relative}.sign_clock_in_page_map image{width:100%;height:140rpx}.sign_clock_in_page_map_content{position:absolute;top:0;left:0;right:0;height:140rpx;padding:0 25rpx;z-index:100;color:#0082fa;display:flex;align-items:center;justify-content:space-between}.sign_clock_in_page_map_content .label{font-size:30rpx;font-weight:500;padding-top:3rpx}.sign_clock_in_page_map_content .address_name{font-size:26rpx;display:flex;align-items:center;padding-top:15rpx}.sign_clock_in_page_map_content .address_name text{padding-right:8rpx}.steps_item{padding:50rpx 0 30rpx}.steps_item .schedules_steps{padding-bottom:26rpx;color:#3d3d3d;font-size:26rpx}.steps_item .schedules_steps_day_info{display:flex;align-items:center}.steps_item .schedules_steps_day_info .status{padding:4rpx 10rpx;border-radius:6rpx;margin-left:10rpx;color:#ff4d4f;background-color:#ffeded}.steps_item .schedules_steps_day_info .status_Normal{color:#55c51d;font-size:24rpx;background-color:#f0ffe8}.steps_item .schedules_steps_check{color:#ff4d4f}.steps_item .schedules_steps_Normal{color:#55c51d}.TakePhotoCheckIn{display:flex;justify-content:center;align-items:center;padding:30rpx 0}.TakePhotoCheckIn .btn{color:#fff;background-color:#0082fa;width:240rpx;height:240rpx;border-radius:100%;border:20rpx solid #96ccff;display:flex;justify-content:center;align-items:center;text-align:center;margin:0 auto}.TakePhotoCheckIn .btn .btn_label{padding-bottom:5rpx}.TakePhotoCheckIn .no_distance{background-color:#fff;border:20rpx solid #f1f1f1;color:#999;margin:0 auto}.TakePhotoCheckIn .no_distance_des{text-align:center;color:#666;font-size:24rpx;padding-top:30rpx}.sign_clock_in_page_map_opacity{opacity:.8}.sign_clock_in_page_map_opacity .sign_clock_in_page_map_content{color:#333}.update_location{background-color:#fff;border-radius:100rpx;padding:8rpx 20rpx;font-size:28rpx;color:#0082fa}.loading{padding-top:50rpx}.watermark_info{padding-bottom:40rpx}.watermark_info .update_photo{width:200rpx}.watermark_info .upload_item_img{width:200rpx;height:200rpx;position:relative}.watermark_info .upload_item_img image{width:100%;height:100%;border-radius:10rpx}.watermark_info .upload_item_delete{position:absolute;top:-20rpx;right:-5rpx;width:40rpx;height:40rpx;z-index:10} diff --git a/dist/build/mp-weixin/ME/attendance/sign_clock_in/method.js b/dist/build/mp-weixin/ME/attendance/sign_clock_in/method.js new file mode 100644 index 0000000..0ac6680 --- /dev/null +++ b/dist/build/mp-weixin/ME/attendance/sign_clock_in/method.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),l=require("../../../common/libraries/apiLoading.js"),o=require("../../../gen/Apis.js"),n=require("./model.js"),u=require("../../../common/libraries/naviHelper.js");require("../../../common/libraries/request.js");const a=require("../../../common/store/useWatermarkStore.js"),i=require("../../../common/store/useWeAppAuthStore.js");require("../../../common/store/useWorkStore.js");const t=require("../../../common/libraries/mapDistance.js"),d=require("../../../common/libraries/day.js"),s=require("../../../common/libraries/tools.js");i.useWeAppAuthStore();const r=a.useWatermarkStore(),c=(e,u)=>{l.getApiLoading(o.Apis.Attendance.AttendanceSchedules.GetAttendanceShiftPeriod,e).then(e=>{var l,o,a,i,d,s,r,c,v,h;n.useModel.showData.value=null==e?void 0:e.data,n.useModel.distanceNumber.value=t.CalculateDistance(u,null==(l=null==e?void 0:e.data)?void 0:l.project),(null==(i=null==(a=null==(o=null==e?void 0:e.data)?void 0:o.checkin_status)?void 0:a.start)?void 0:i.checked)&&(n.useModel.current.value=1),(null==(r=null==(s=null==(d=null==e?void 0:e.data)?void 0:d.checkin_status)?void 0:s.start)?void 0:r.checked)&&(null==(h=null==(v=null==(c=null==e?void 0:e.data)?void 0:c.checkin_status)?void 0:v.end)?void 0:h.checked)&&(n.useModel.current.value=3),setTimeout(()=>{n.useModel.loading.value=!0},300),console.log(n.useModel.metaData.value,"useModel.metaData.value")})};let v=null,h=!1;const m=l=>{e.index.getLocation({type:"wgs84",altitude:!0,isHighAccuracy:!0,success:o=>(console.log(o,"经纬度"),n.useModel.currentLocation.value={latitude:o.latitude,longitude:o.longitude},e.index.hideLoading(),null==l?void 0:l(o)),fail(l){e.index.hideLoading(),e.index.showModal({title:"提示",content:"请先允许定位!",success:function(l){l.confirm?(e.index.openSetting(),console.log("用户点击确定")):l.cancel&&console.log("用户点击取消")}}),console.log(l,"获取经纬度失败")}})},g=s.debounce(function(e){m(e)},1200),M={handleUpdateLocation(){if(n.useModel.mapNumber.value>3)return u.showToast("操作太频繁!");e.index.showLoading({title:"加载中...",mask:!0}),g(l=>{var o,u,a,i,d;n.useModel.mapNumber.value+=1,e.index.hideLoading(),n.useModel.distanceNumber.value=t.CalculateDistance(null==(u=null==(o=n.useModel)?void 0:o.currentLocation)?void 0:u.value,null==(d=null==(i=null==(a=n.useModel)?void 0:a.showData)?void 0:i.value)?void 0:d.project)})},init(){var e;let l=null==(e=null==r?void 0:r.watermarkInfo)?void 0:e.value;(null==l?void 0:l.length)&&(n.useModel.formData.value.photo=JSON.parse(JSON.stringify(l)),r.watermarkInfo.value=[],console.log(l,"watermarkInfo"))},getLocation(e){m(l=>{c(e,l)})},onPreviewMedia(l){console.log(l,"url1"),l&&e.index.previewMedia({sources:[{url:l,type:"image"}],current:0})},handleDelete(){n.useModel.formData.value.photo=[]},handleCheckin(){var a,i,s,r,g,M,p,k,D,f,w,A,L,_,j,q,C,T,b,x,S;return h?u.showToast("请勿重复点击"):d.isWithinTimeRange(`${null==(s=null==(i=null==(a=n.useModel)?void 0:a.formData)?void 0:i.value)?void 0:s.date} ${"CheckOut"===(null==(M=null==(g=null==(r=n.useModel)?void 0:r.formData)?void 0:g.value)?void 0:M.checkin_type)?null==(f=null==(D=null==(k=null==(p=n.useModel)?void 0:p.showData)?void 0:k.value)?void 0:D.period)?void 0:f.work_end_time:null==(_=null==(L=null==(A=null==(w=n.useModel)?void 0:w.showData)?void 0:A.value)?void 0:L.period)?void 0:_.work_start_time}`)?(null==(C=null==(q=null==(j=n.useModel)?void 0:j.attendanceConfigData)?void 0:q.value)?void 0:C.require_photo)&&!(null==(S=null==(x=null==(b=null==(T=n.useModel)?void 0:T.formData)?void 0:b.value)?void 0:x.photo)?void 0:S.length)?u.showToast("请上传拍照!"):void m(()=>{var a,i,d,s,r,m,g,M;let p=t.CalculateDistance(null==(i=null==(a=n.useModel)?void 0:a.currentLocation)?void 0:i.value,null==(r=null==(s=null==(d=n.useModel)?void 0:d.showData)?void 0:s.value)?void 0:r.project);if(n.useModel.distanceNumber.value=p,p>(null==(M=null==(g=null==(m=n.useModel)?void 0:m.attendanceConfigData)?void 0:g.value)?void 0:M.check_in_range))return u.showToast("打卡距离超出范围!");v&&clearTimeout(v),h=!0,v=setTimeout(()=>{var a,i;l.getApiLoading(o.Apis.Attendance.AttendanceRecords.Checkin,{...n.useModel.formData.value,...null==(i=null==(a=n.useModel)?void 0:a.currentLocation)?void 0:i.value}).then(l=>{var o,u,a,i;c(null==(u=null==(o=n.useModel)?void 0:o.formData)?void 0:u.value,null==(i=null==(a=n.useModel)?void 0:a.currentLocation)?void 0:i.value),e.index.showToast({title:"打卡成功",icon:"success"})}).catch(e=>{console.error("打卡失败:",e),u.showToast("打卡失败,请重试")}).finally(()=>{setTimeout(()=>{h=!1},1e3)})},500)}):u.showToast("不在打卡时间内!")},YesNoCheckinStatus(){var e,l,o,u,a,i,t,d,s,r,c,v,h,m,g,M;return"CheckOut"===(null==(o=null==(l=null==(e=n.useModel)?void 0:e.formData)?void 0:l.value)?void 0:o.checkin_type)&&!(null==(d=null==(t=null==(i=null==(a=null==(u=n.useModel)?void 0:u.showData)?void 0:a.value)?void 0:i.checkin_status)?void 0:t.end)?void 0:d.checked)||"CheckIn"===(null==(c=null==(r=null==(s=n.useModel)?void 0:s.formData)?void 0:r.value)?void 0:c.checkin_type)&&!(null==(M=null==(g=null==(m=null==(h=null==(v=n.useModel)?void 0:v.showData)?void 0:h.value)?void 0:m.checkin_status)?void 0:g.start)?void 0:M.checked)},getAttendanceConfig(){l.getApiLoading(o.Apis.Attendance.AttendanceSchedules.GetAttendanceConfig,{}).then(e=>{n.useModel.attendanceConfigData.value=null==e?void 0:e.data})},toUpload(){e.index.navigateTo({url:"/INDEX/watermark_camera/index?source=current"})}};exports.method=M; diff --git a/dist/build/mp-weixin/ME/attendance/sign_clock_in/model.js b/dist/build/mp-weixin/ME/attendance/sign_clock_in/model.js new file mode 100644 index 0000000..ebe3d56 --- /dev/null +++ b/dist/build/mp-weixin/ME/attendance/sign_clock_in/model.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js");require("../../../common/libraries/day.js");const r={formData:e.ref({}),showData:e.ref({}),metaData:e.ref({}),attendanceConfigData:e.ref({}),current:e.ref(-1),currentLocation:e.ref({}),distanceNumber:e.ref(0),loading:e.ref(!1),mapNumber:e.ref(0)};exports.useModel=r; diff --git a/dist/build/mp-weixin/ME/emergency/add/index.js b/dist/build/mp-weixin/ME/emergency/add/index.js new file mode 100644 index 0000000..eb2ffe1 --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/add/index.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),o=require("./method.js"),r=require("./model.js");if(require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../gen/Apis.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/apiLoading.js"),require("../../../common/libraries/naviHelper.js"),!Array){(e.resolveComponent("hs-cell")+e.resolveComponent("hs-input")+e.resolveComponent("hs-radio-picker-categories-tree")+e.resolveComponent("hs-radio-picker-levels")+e.resolveComponent("hs-date-picker")+e.resolveComponent("hs-cell-textarea")+e.resolveComponent("hs-upload")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../../components/hs-cell/hs-cell.js")+(()=>"../../../components/hs-input/hs-input.js")+(()=>"../../../components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.js")+(()=>"../../../components/hs-radio-picker-levels/hs-radio-picker-levels.js")+(()=>"../../../components/hs-date-picker/hs-date-picker.js")+(()=>"../../../components/hs-cell-textarea/hs-cell-textarea.js")+(()=>"../../../components/hs-upload/hs-upload.js")+(()=>"../../../components/hs-footer/hs-footer.js"))();const l=e.defineComponent({__name:"index",setup:l=>(e.onShow(()=>{var e;null==(e=o.method)||e.init()}),e.onUnload(()=>{r.useModel.formData.value={}}),(l,a)=>{var t,u,s,n;return{a:e.p({title:"选择项目",required:!0,borderTop:!0,isLink:!0,value:null==(s=null==(u=null==(t=e.unref(r.useModel))?void 0:t.formData)?void 0:u.value)?void 0:s.project_name,isPlaceholder:"请选择项目",url:"/pages/public/select_project/index?source=emergency_add"}),b:e.o(o=>e.unref(r.useModel).formData.value.name=o),c:e.p({placeholder:"请输入事件名称",textAlign:"right",valueModel:e.unref(r.useModel).formData.value.name}),d:e.p({title:"事件名称",required:!0,borderTop:!0}),e:e.o(o=>e.unref(r.useModel).formData.value.two_emergency_categories_id=o),f:e.p({title:"事件分类",required:!0,borderTop:!0,valueModel:e.unref(r.useModel).formData.value.two_emergency_categories_id}),g:e.o(o=>e.unref(r.useModel).formData.value.emergency_event_levels_id=o),h:e.p({title:"事件等级",required:!0,borderTop:!0,valueModel:e.unref(r.useModel).formData.value.emergency_event_levels_id}),i:e.o(o=>e.unref(r.useModel).formData.value.emergency_time=o),j:e.p({title:"发生时间",required:!0,borderTop:!0,valueModel:e.unref(r.useModel).formData.value.emergency_time}),k:e.o(o=>e.unref(r.useModel).formData.value.emergency_location=o),l:e.p({required:!0,title:"事发地点",placeholder:"请详细描述问题情况,包括具体位置现象等",valueModel:e.unref(r.useModel).formData.value.emergency_location}),m:e.o(o=>e.unref(r.useModel).formData.value.emergency_description=o),n:e.p({required:!0,title:"事件描述",placeholder:"请详细描述问题情况,包括具体位置现象等",valueModel:e.unref(r.useModel).formData.value.emergency_description}),o:e.o(o=>e.unref(r.useModel).formData.value.emergency_cause=o),p:e.p({required:!0,title:"发生原因",placeholder:"请详细描述问题情况,包括具体位置现象等",valueModel:e.unref(r.useModel).formData.value.emergency_cause}),q:e.o(o=>e.unref(r.useModel).formData.value.cause_result=o),r:e.p({required:!0,title:"造成结果",placeholder:"请详细描述问题情况,包括具体位置现象等",valueModel:e.unref(r.useModel).formData.value.cause_result}),s:e.o(o=>e.unref(r.useModel).formData.value.emergency_images=o),t:e.p({title:"事件相关图片",count:10,borderTop:!0,valueModel:e.unref(r.useModel).formData.value.emergency_images}),v:e.o(o=>e.unref(r.useModel).formData.value.related_person=o),w:e.p({title:"相关人物",placeholder:"请详细描述问题情况,包括具体位置现象等",valueModel:e.unref(r.useModel).formData.value.related_person}),x:e.o(o=>e.unref(r.useModel).formData.value.supplement=o),y:e.p({title:"补充信息",placeholder:"请详细描述问题情况,包括具体位置现象等",valueModel:e.unref(r.useModel).formData.value.supplement}),z:e.o(null==(n=e.unref(o.method))?void 0:n.handleSubmit),A:e.p({btnParimaryName:"提交"})}})});wx.createPage(l); diff --git a/dist/build/mp-weixin/ME/emergency/add/index.json b/dist/build/mp-weixin/ME/emergency/add/index.json new file mode 100644 index 0000000..2aa1285 --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/add/index.json @@ -0,0 +1,13 @@ +{ + "navigationBarTitleText": "突发事件添加", + "usingComponents": { + "hs-cell": "../../../components/hs-cell/hs-cell", + "hs-input": "../../../components/hs-input/hs-input", + "hs-radio-picker-categories-tree": "../../../components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree", + "hs-radio-picker-levels": "../../../components/hs-radio-picker-levels/hs-radio-picker-levels", + "hs-date-picker": "../../../components/hs-date-picker/hs-date-picker", + "hs-cell-textarea": "../../../components/hs-cell-textarea/hs-cell-textarea", + "hs-upload": "../../../components/hs-upload/hs-upload", + "hs-footer": "../../../components/hs-footer/hs-footer" + } +} \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/emergency/add/index.wxml b/dist/build/mp-weixin/ME/emergency/add/index.wxml new file mode 100644 index 0000000..abdc46a --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/add/index.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/emergency/add/index.wxss b/dist/build/mp-weixin/ME/emergency/add/index.wxss new file mode 100644 index 0000000..b89242a --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/add/index.wxss @@ -0,0 +1 @@ +page{background-color:#f8f8f8}.emergency_add_page{padding-bottom:calc(130rpx + constant(safe-area-inset-bottom));padding-bottom:calc(130rpx + env(safe-area-inset-bottom))}.card_form{background-color:#fff;padding:0 30rpx;margin-bottom:30rpx} diff --git a/dist/build/mp-weixin/ME/emergency/add/method.js b/dist/build/mp-weixin/ME/emergency/add/method.js new file mode 100644 index 0000000..f9085aa --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/add/method.js @@ -0,0 +1 @@ +"use strict";const e=require("./model.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWeAppAuthStore.js");const o=require("../../../common/store/useWorkStore.js"),l=require("../../../common/libraries/apiLoading.js"),s=require("../../../gen/Apis.js"),i=require("../../../common/libraries/naviHelper.js"),r=o.useWorkStore(),t={getList:()=>{var o,i;l.getApiLoading(s.Apis.WorkOrder.HouseWorkOrders.List,null==(i=null==(o=e.useModel)?void 0:o.formData)?void 0:i.value).then(o=>{e.useModel.listData.value=[...e.useModel.listData.value,...null==o?void 0:o.data],e.useModel.metaData.value=null==o?void 0:o.meta})},init(){var o,l,s,i,t;console.log("init",null==r?void 0:r.selectWorkProject),(null==(o=null==r?void 0:r.selectWorkProject)?void 0:o.id)&&(e.useModel.formData.value={...null==(s=null==(l=e.useModel)?void 0:l.formData)?void 0:s.value,project_name:null==(i=null==r?void 0:r.selectWorkProject)?void 0:i.name,asset_projects_id:null==(t=null==r?void 0:r.selectWorkProject)?void 0:t.id})},handleSubmit(){var o,r,t,n;let u=null==(r=null==(o=e.useModel)?void 0:o.formData)?void 0:r.value;return(null==u?void 0:u.asset_projects_id)?(null==u?void 0:u.name)?(null==u?void 0:u.two_emergency_categories_id)?1===(null==(t=null==u?void 0:u.two_emergency_categories_id)?void 0:t.length)?i.showToast("请选择2级分类!"):(null==u?void 0:u.emergency_event_levels_id)&&(null==u?void 0:u.emergency_event_levels_id)?(null==u?void 0:u.emergency_time)?(null==u?void 0:u.emergency_location)?(null==u?void 0:u.emergency_description)?(null==u?void 0:u.emergency_cause)?(null==u?void 0:u.cause_result)?(u.two_emergency_categories_id=null==(n=null==u?void 0:u.two_emergency_categories_id)?void 0:n[1],void l.getApiLoading(s.Apis.Emergency.EmergencyEvents.Store,u).then(e=>{i.showToastBack("提交成功!",1,!0),console.log(e)})):i.showToast("请设置结果!"):i.showToast("请输入原因!"):i.showToast("请输入事件描述!"):i.showToast("请输入事发地点!"):i.showToast("请选择发生时间!"):i.showToast("请选择等级!"):i.showToast("请选择分类!"):i.showToast("请输入事件名称!"):i.showToast("请选择项目!")}};exports.method=t; diff --git a/dist/build/mp-weixin/ME/emergency/add/model.js b/dist/build/mp-weixin/ME/emergency/add/model.js new file mode 100644 index 0000000..f21b64c --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/add/model.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),r={currentTabs:e.ref(0),formData:e.ref({}),listData:e.ref([]),metaData:e.ref({})};exports.useModel=r; diff --git a/dist/build/mp-weixin/ME/emergency/change/index.js b/dist/build/mp-weixin/ME/emergency/change/index.js new file mode 100644 index 0000000..fef914f --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/change/index.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),r=require("./method.js");if(require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../gen/Apis.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/apiLoading.js"),require("../../../common/libraries/day.js"),require("../../../common/libraries/naviHelper.js"),!Array){(e.resolveComponent("hs-cell")+e.resolveComponent("hs-input")+e.resolveComponent("hs-radio-picker-categories-tree")+e.resolveComponent("hs-radio-picker-levels")+e.resolveComponent("hs-date-picker")+e.resolveComponent("hs-cell-textarea")+e.resolveComponent("hs-upload")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../../components/hs-cell/hs-cell.js")+(()=>"../../../components/hs-input/hs-input.js")+(()=>"../../../components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.js")+(()=>"../../../components/hs-radio-picker-levels/hs-radio-picker-levels.js")+(()=>"../../../components/hs-date-picker/hs-date-picker.js")+(()=>"../../../components/hs-cell-textarea/hs-cell-textarea.js")+(()=>"../../../components/hs-upload/hs-upload.js")+(()=>"../../../components/hs-footer/hs-footer.js"))();const l=e.defineComponent({__name:"index",setup:l=>(e.onLoad(e=>{var l;o.useModel.formData.value={id:null==e?void 0:e.id},null==(l=r.method)||l.getShow()}),e.onShow(()=>{var e;null==(e=r.method)||e.init()}),(l,a)=>{var u,t,n,s,i,d,m,c,p,v,f,h,_;return{a:e.p({title:"选择项目",required:!0,borderTop:!0,isLink:!0,value:null==(n=null==(t=null==(u=e.unref(o.useModel))?void 0:u.formData)?void 0:t.value)?void 0:n.project_name,isPlaceholder:"请选择项目",url:"/pages/public/select_project/index?source=emergency_add"}),b:e.o(r=>e.unref(o.useModel).formData.value.name=r),c:e.p({maxLength:"11",textAlign:"right",valueModel:e.unref(o.useModel).formData.value.name}),d:e.p({title:"事件名称",required:!0,borderTop:!0}),e:e.o(r=>e.unref(o.useModel).formData.value.two_emergency_categories_id=r),f:e.p({title:"事件分类",required:!0,borderTop:!0,defaultValue:`${null==(d=null==(i=null==(s=e.unref(o.useModel))?void 0:s.formData)?void 0:i.value)?void 0:d.one_emergency_categories_name}/${null==(p=null==(c=null==(m=e.unref(o.useModel))?void 0:m.formData)?void 0:c.value)?void 0:p.two_emergency_categories_name}`,valueModel:e.unref(o.useModel).formData.value.two_emergency_categories_id}),g:e.o(r=>e.unref(o.useModel).formData.value.emergency_event_levels_id=r),h:e.p({title:"事件等级",required:!0,borderTop:!0,defaultValue:null==(h=null==(f=null==(v=e.unref(o.useModel))?void 0:v.formData)?void 0:f.value)?void 0:h.emergency_event_levels_name,valueModel:e.unref(o.useModel).formData.value.emergency_event_levels_id}),i:e.o(r=>e.unref(o.useModel).formData.value.emergency_time=r),j:e.p({title:"发生时间",required:!0,borderTop:!0,valueModel:e.unref(o.useModel).formData.value.emergency_time}),k:e.o(r=>e.unref(o.useModel).formData.value.emergency_location=r),l:e.p({required:!0,title:"事发地点",placeholder:"请详细描述问题情况,包括具体位置现象等",valueModel:e.unref(o.useModel).formData.value.emergency_location}),m:e.o(r=>e.unref(o.useModel).formData.value.emergency_description=r),n:e.p({required:!0,title:"事件描述",placeholder:"请详细描述问题情况,包括具体位置现象等",valueModel:e.unref(o.useModel).formData.value.emergency_description}),o:e.o(r=>e.unref(o.useModel).formData.value.emergency_cause=r),p:e.p({required:!0,title:"发生原因",placeholder:"请详细描述问题情况,包括具体位置现象等",valueModel:e.unref(o.useModel).formData.value.emergency_cause}),q:e.o(r=>e.unref(o.useModel).formData.value.cause_result=r),r:e.p({required:!0,title:"造成结果",placeholder:"请详细描述问题情况,包括具体位置现象等",valueModel:e.unref(o.useModel).formData.value.cause_result}),s:e.o(r=>e.unref(o.useModel).formData.value.emergency_images=r),t:e.p({title:"事件相关图片",count:10,borderTop:!0,valueModel:e.unref(o.useModel).formData.value.emergency_images}),v:e.o(r=>e.unref(o.useModel).formData.value.related_person=r),w:e.p({title:"相关人物",placeholder:"请详细描述问题情况,包括具体位置现象等",valueModel:e.unref(o.useModel).formData.value.related_person}),x:e.o(r=>e.unref(o.useModel).formData.value.supplement=r),y:e.p({title:"补充信息",placeholder:"请详细描述问题情况,包括具体位置现象等",valueModel:e.unref(o.useModel).formData.value.supplement}),z:e.o(null==(_=e.unref(r.method))?void 0:_.handleSubmit),A:e.p({btnParimaryName:"提交"})}})});wx.createPage(l); diff --git a/dist/build/mp-weixin/ME/emergency/change/index.json b/dist/build/mp-weixin/ME/emergency/change/index.json new file mode 100644 index 0000000..46a4af6 --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/change/index.json @@ -0,0 +1,13 @@ +{ + "navigationBarTitleText": "变更突发事件", + "usingComponents": { + "hs-cell": "../../../components/hs-cell/hs-cell", + "hs-input": "../../../components/hs-input/hs-input", + "hs-radio-picker-categories-tree": "../../../components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree", + "hs-radio-picker-levels": "../../../components/hs-radio-picker-levels/hs-radio-picker-levels", + "hs-date-picker": "../../../components/hs-date-picker/hs-date-picker", + "hs-cell-textarea": "../../../components/hs-cell-textarea/hs-cell-textarea", + "hs-upload": "../../../components/hs-upload/hs-upload", + "hs-footer": "../../../components/hs-footer/hs-footer" + } +} \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/emergency/change/index.wxml b/dist/build/mp-weixin/ME/emergency/change/index.wxml new file mode 100644 index 0000000..422d42d --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/change/index.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/emergency/change/index.wxss b/dist/build/mp-weixin/ME/emergency/change/index.wxss new file mode 100644 index 0000000..30d6fa3 --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/change/index.wxss @@ -0,0 +1 @@ +page{background-color:#f8f8f8}.emergency_add_page{padding-bottom:calc(130rpx + constant(safe-area-inset-bottom));padding-bottom:calc(130rpx + env(safe-area-inset-bottom))} diff --git a/dist/build/mp-weixin/ME/emergency/change/method.js b/dist/build/mp-weixin/ME/emergency/change/method.js new file mode 100644 index 0000000..220343a --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/change/method.js @@ -0,0 +1 @@ +"use strict";const e=require("./model.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWeAppAuthStore.js");const o=require("../../../common/store/useWorkStore.js"),l=require("../../../common/libraries/day.js"),i=require("../../../common/libraries/apiLoading.js"),r=require("../../../gen/Apis.js"),n=require("../../../common/libraries/naviHelper.js"),t=o.useWorkStore(),s={getShow:()=>{var o,n;i.getApiLoading(r.Apis.Emergency.EmergencyEvents.Show,null==(n=null==(o=e.useModel)?void 0:o.formData)?void 0:n.value).then(o=>{var i,r,n;e.useModel.formData.value={...null==o?void 0:o.data,project_name:null==(r=null==(i=null==o?void 0:o.data)?void 0:i.asset_project)?void 0:r.name,emergency_time:l.showDay(null==(n=null==o?void 0:o.data)?void 0:n.emergency_time)}})},init(){var o,l,i,r,n;console.log("init",null==t?void 0:t.selectWorkProject),(null==(o=null==t?void 0:t.selectWorkProject)?void 0:o.id)&&(e.useModel.formData.value={...null==(i=null==(l=e.useModel)?void 0:l.formData)?void 0:i.value,project_name:null==(r=null==t?void 0:t.selectWorkProject)?void 0:r.name,asset_projects_id:null==(n=null==t?void 0:t.selectWorkProject)?void 0:n.id})},handleSubmit(){var o,l,t,s,a;let d=null==(l=null==(o=e.useModel)?void 0:o.formData)?void 0:l.value;return(null==d?void 0:d.asset_projects_id)?(null==d?void 0:d.name)?(null==d?void 0:d.two_emergency_categories_id)?(null==d?void 0:d.two_emergency_categories_id)&&1!==(null==(t=null==d?void 0:d.two_emergency_categories_id)?void 0:t.length)?(null==d?void 0:d.emergency_event_levels_id)&&(null==d?void 0:d.emergency_event_levels_id)?(null==d?void 0:d.emergency_time)?(null==d?void 0:d.emergency_location)?(null==d?void 0:d.emergency_description)?(null==d?void 0:d.emergency_cause)?(null==d?void 0:d.cause_result)?(d.two_emergency_categories_id=(null==(s=null==d?void 0:d.two_emergency_categories_id)?void 0:s.length)?null==(a=null==d?void 0:d.two_emergency_categories_id)?void 0:a[1]:null==d?void 0:d.two_emergency_categories_id,void i.getApiLoading(r.Apis.Emergency.EmergencyEvents.Update,d).then(e=>{n.showToastBack("提交成功!",1,!0),console.log(e)})):n.showToast("请设置结果!"):n.showToast("请输入原因!"):n.showToast("请输入事件描述!"):n.showToast("请输入事发地点!"):n.showToast("请选择发生时间!"):n.showToast("请选择等级!"):n.showToast("请选择2级分类!"):n.showToast("请选择分类!"):n.showToast("请输入事件名称!"):n.showToast("请选择项目!")}};exports.method=s; diff --git a/dist/build/mp-weixin/ME/emergency/change/model.js b/dist/build/mp-weixin/ME/emergency/change/model.js new file mode 100644 index 0000000..f21b64c --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/change/model.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),r={currentTabs:e.ref(0),formData:e.ref({}),listData:e.ref([]),metaData:e.ref({})};exports.useModel=r; diff --git a/dist/build/mp-weixin/ME/emergency/list/index.js b/dist/build/mp-weixin/ME/emergency/list/index.js new file mode 100644 index 0000000..ec5fb11 --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/list/index.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),n=require("./method.js"),l=require("../../../gen/Enums.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("u-search")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("cc-scroll-loading")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../../node-modules/uview-plus/components/u-search/u-search.js")+(()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js")+(()=>"../../../components/hs-footer/hs-footer.js"))();const a=e.defineComponent({__name:"index",setup:a=>(e.onShow(()=>{var e;o.useModel.formData.value.page=1,o.useModel.listData.value=[],null==(e=n.method)||e.getList()}),e.onUnload(()=>{o.useModel.formData.value.name="",o.useModel.formData.value.page=1,o.useModel.listData.value=[]}),(a,r)=>{var t,u,s,m,d;return{a:e.o(null==(t=e.unref(n.method))?void 0:t.onSearch),b:e.o(n=>e.unref(o.useModel).formData.value.name=n),c:e.p({placeholder:"请输入关键词搜索",showAction:!1,modelValue:e.unref(o.useModel).formData.value.name}),d:e.f(e.unref(o.useModel).listData.value,(o,a,r)=>{var t,u,s;return{a:e.t(null==o?void 0:o.emergency_event_levels_name),b:"35e31d32-2-"+r+",35e31d32-1",c:e.p({value:null==o?void 0:o.status,Enums:e.unref(l.EmergencyEventsStatusEnum)}),d:e.n(`status status_${null==o?void 0:o.status}`),e:e.t(null==o?void 0:o.name),f:e.t(null==(t=null==o?void 0:o.asset_project)?void 0:t.name),g:e.t(null==o?void 0:o.created_at),h:e.t((null==(s=null==(u=null==o?void 0:o.emergency_event_follows)?void 0:u[0])?void 0:s.created_at)||"-"),i:`item_${a}`,j:e.o(l=>{var a;return null==(a=e.unref(n.method))?void 0:a.handleDetail(o)},`item_${a}`)}}),e:e.o(null==(u=e.unref(n.method))?void 0:u.handleLoad),f:e.p({meta:null==(m=null==(s=e.unref(o.useModel))?void 0:s.metaData)?void 0:m.value}),g:e.o(null==(d=e.unref(n.method))?void 0:d.handleAdd),h:e.p({btnParimaryName:"新增突发事件"})}})});wx.createPage(a); diff --git a/dist/build/mp-weixin/ME/emergency/list/index.json b/dist/build/mp-weixin/ME/emergency/list/index.json new file mode 100644 index 0000000..4f4448b --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/list/index.json @@ -0,0 +1,9 @@ +{ + "navigationBarTitleText": "突发事件", + "usingComponents": { + "u-search": "../../../node-modules/uview-plus/components/u-search/u-search", + "hs-enum-tag": "../../../components/hs-enum-tag/hs-enum-tag", + "cc-scroll-loading": "../../../common/components/cc-scroll-loading/cc-scroll-loading", + "hs-footer": "../../../components/hs-footer/hs-footer" + } +} \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/emergency/list/index.wxml b/dist/build/mp-weixin/ME/emergency/list/index.wxml new file mode 100644 index 0000000..8609796 --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/list/index.wxml @@ -0,0 +1 @@ +{{i.a}}{{i.e}}{{i.f}} 提报时间:{{i.g}} 上次跟进:{{i.h}} \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/emergency/list/index.wxss b/dist/build/mp-weixin/ME/emergency/list/index.wxss new file mode 100644 index 0000000..47f679d --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/list/index.wxss @@ -0,0 +1 @@ +page{background-color:#f8f8f8}.header_search_box{position:fixed;top:0;left:0;right:0;z-index:100;background-color:#fff;height:100rpx;padding:0 30rpx;display:flex;align-items:center}.emergency_list_page{padding-bottom:calc(120rpx + constant(safe-area-inset-bottom));padding-bottom:calc(120rpx + env(safe-area-inset-bottom))}.emergency_contents{padding-top:100rpx}.emergency_contents .emergency_items{margin:30rpx 30rpx 0;padding:0 30rpx 20rpx;background-color:#fff;border-radius:20rpx}.emergency_contents .emergency_items_header{display:flex;align-items:center;justify-content:space-between;padding:30rpx 0 0}.emergency_contents .emergency_items_header .status{background-color:#edf4ff;color:#0082fa;font-size:24rpx;font-weight:500;padding:8rpx 20rpx;border-radius:100rpx}.emergency_contents .emergency_items_header .status_Closed{background-color:#f3f3f4;color:#909399}.emergency_contents .emergency_items_header .status_InProgress{background-color:#fff9e6;color:#f90}.emergency_contents .emergency_items_level{background-color:#ffdcdc;color:#ef4444;font-size:24rpx;font-weight:500;padding:8rpx 20rpx;min-width:70rpx;text-align:center;border-radius:100rpx}.emergency_contents .emergency_items_cell{display:flex;align-items:center;color:#666;font-size:28rpx;padding:0 0 10rpx}.emergency_contents .emergency_items_cell .label{padding-left:10rpx}.emergency_contents .emergency_items_cell image{width:27rpx;height:27rpx}.emergency_contents .emergency_items_content{font-size:28rpx;font-weight:600;padding:25rpx 0} diff --git a/dist/build/mp-weixin/ME/emergency/list/method.js b/dist/build/mp-weixin/ME/emergency/list/method.js new file mode 100644 index 0000000..51937c0 --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/list/method.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),a=require("../../../common/libraries/apiLoading.js"),l=require("../../../gen/Apis.js"),d=require("./model.js"),i=()=>{var e,i;a.getApiLoading(l.Apis.Emergency.EmergencyEvents.List,null==(i=null==(e=d.useModel)?void 0:e.formData)?void 0:i.value).then(e=>{d.useModel.listData.value=[...d.useModel.listData.value,...null==e?void 0:e.data],d.useModel.metaData.value=null==e?void 0:e.meta})},o=()=>{d.useModel.formData.value.page=1,d.useModel.listData.value=[],i()},n={getList:i,handleChangeTabs(e,a){o()},handleLoad(e){d.useModel.formData.value.page=null==e?void 0:e.page,i()},handleAdd(){e.index.navigateTo({url:"/ME/emergency/add/index"})},onSearch(){o()},handleDetail(a){e.index.navigateTo({url:`/ME/emergency/show/index?id=${null==a?void 0:a.id}`})}};exports.method=n; diff --git a/dist/build/mp-weixin/ME/emergency/list/model.js b/dist/build/mp-weixin/ME/emergency/list/model.js new file mode 100644 index 0000000..6213de5 --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/list/model.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),r={currentTabs:e.ref(0),formData:e.ref({page:1,name:""}),listData:e.ref([]),metaData:e.ref({})};exports.useModel=r; diff --git a/dist/build/mp-weixin/ME/emergency/show/components/ModalShow.js b/dist/build/mp-weixin/ME/emergency/show/components/ModalShow.js new file mode 100644 index 0000000..20919d5 --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/show/components/ModalShow.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../../common/vendor.js");if(require("../model.js"),require("../../../../common/libraries/request.js"),require("../../../../common/store/useWatermarkStore.js"),require("../../../../common/store/useWeAppAuthStore.js"),require("../../../../common/store/useWorkStore.js"),require("../../../../gen/Apis.js"),require("../../../../common/libraries/apiLoading.js"),!Array){(e.resolveComponent("hs-button")+e.resolveComponent("up-popup"))()}Math||((()=>"../../../../components/hs-button/hs-button.js")+(()=>"../../../../node-modules/uview-plus/components/u-popup/u-popup.js"))();const l=e.defineComponent({__name:"ModalShow",props:["data"],setup(l){const o=l,n=e.ref(!1),t=()=>{};return(l,u)=>{var d,a,i,r,s,v,c,m,p,_,g,y,j,q,b,f,h,w,S,A,C,k,x,W,M;return e.e({a:e.o(e=>n.value=!0),b:e.t(null==(d=null==o?void 0:o.data)?void 0:d.emergency_description),c:e.t(null==(a=null==o?void 0:o.data)?void 0:a.one_emergency_categories_name),d:e.t(null==(i=null==o?void 0:o.data)?void 0:i.two_emergency_categories_name),e:e.t((null==(s=null==(r=null==o?void 0:o.data)?void 0:r.asset_project)?void 0:s.name)||"-"),f:e.t((null==(v=null==o?void 0:o.data)?void 0:v.created_at)||""),g:null==(c=null==o?void 0:o.data)?void 0:c.emergency_location},(null==(m=null==o?void 0:o.data)?void 0:m.emergency_location)?{h:e.t(null==(p=null==o?void 0:o.data)?void 0:p.emergency_location)}:{},{i:null==(_=null==o?void 0:o.data)?void 0:_.emergency_description},(null==(g=null==o?void 0:o.data)?void 0:g.emergency_description)?{j:e.t(null==(y=null==o?void 0:o.data)?void 0:y.emergency_description)}:{},{k:null==(j=null==o?void 0:o.data)?void 0:j.emergency_cause},(null==(q=null==o?void 0:o.data)?void 0:q.emergency_cause)?{l:e.t(null==(b=null==o?void 0:o.data)?void 0:b.emergency_cause)}:{},{m:null==(f=null==o?void 0:o.data)?void 0:f.cause_result},(null==(h=null==o?void 0:o.data)?void 0:h.cause_result)?{n:e.t(null==(w=null==o?void 0:o.data)?void 0:w.cause_result)}:{},{o:null==(S=null==o?void 0:o.data)?void 0:S.supplement},(null==(A=null==o?void 0:o.data)?void 0:A.supplement)?{p:e.t(null==(C=null==o?void 0:o.data)?void 0:C.supplement)}:{},{q:null==(k=null==o?void 0:o.data)?void 0:k.related_person},(null==(x=null==o?void 0:o.data)?void 0:x.related_person)?{r:e.t(null==(W=null==o?void 0:o.data)?void 0:W.related_person)}:{},{s:e.f(null==(M=null==o?void 0:o.data)?void 0:M.emergency_images,(e,l,o)=>({a:null==e?void 0:e.url,b:`item_${l}`})),t:e.o(e=>n.value=!1),v:e.p({label:"我已知晓",type:"primary",size:"large"}),w:e.o(t),x:e.p({customStyle:{},overlayStyle:{},show:n.value,mode:"center",round:20,closeable:!1})})}}}),o=e._export_sfc(l,[["__scopeId","data-v-0cf72fd8"]]);wx.createComponent(o); diff --git a/dist/build/mp-weixin/ME/emergency/show/components/ModalShow.json b/dist/build/mp-weixin/ME/emergency/show/components/ModalShow.json new file mode 100644 index 0000000..1f96078 --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/show/components/ModalShow.json @@ -0,0 +1,7 @@ +{ + "component": true, + "usingComponents": { + "hs-button": "../../../../components/hs-button/hs-button", + "up-popup": "../../../../node-modules/uview-plus/components/u-popup/u-popup" + } +} \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/emergency/show/components/ModalShow.wxml b/dist/build/mp-weixin/ME/emergency/show/components/ModalShow.wxml new file mode 100644 index 0000000..86d85d7 --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/show/components/ModalShow.wxml @@ -0,0 +1 @@ + 查看变更前内容 {{b}}{{c}}/{{d}}所属项目: {{e}}提报时间: {{f}}事发地点: {{h}}事件描述: {{j}}事件原因: {{l}}造成结果: {{n}}补充信息: {{p}}关联人物: {{r}} 事件相关图片: \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/emergency/show/components/ModalShow.wxss b/dist/build/mp-weixin/ME/emergency/show/components/ModalShow.wxss new file mode 100644 index 0000000..0a54499 --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/show/components/ModalShow.wxss @@ -0,0 +1 @@ +.popup_content.data-v-0cf72fd8{width:90vw;padding:10rpx 0 0}.popup_content .emergency_card.data-v-0cf72fd8{padding:0}.modal_show_btn.data-v-0cf72fd8{color:#0082fa;font-size:26rpx;padding:10rpx 0 0}.popup_footer.data-v-0cf72fd8{padding:30rpx 30rpx 0rpx} diff --git a/dist/build/mp-weixin/ME/emergency/show/components/ProcessLogs.js b/dist/build/mp-weixin/ME/emergency/show/components/ProcessLogs.js new file mode 100644 index 0000000..573ab91 --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/show/components/ProcessLogs.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../../common/vendor.js"),l=require("../model.js");if(!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("up-steps-item")+e.resolveComponent("up-steps"))()}Math||((()=>"../../../../components/hs-empty/hs-empty.js")+o+(()=>"../../../../node-modules/uview-plus/components/u-steps-item/u-steps-item.js")+(()=>"../../../../node-modules/uview-plus/components/u-steps/u-steps.js"))();const o=()=>"./ModalShow.js",n=e.defineComponent({__name:"ProcessLogs",setup:o=>(o,n)=>{var t,u,d,s,i,a,v,r,c,p,m;return e.e({a:!(null==(d=null==(u=null==(t=e.unref(l.useModel))?void 0:t.logsData)?void 0:u.value)?void 0:d.length)},(null==(a=null==(i=null==(s=e.unref(l.useModel))?void 0:s.logsData)?void 0:i.value)?void 0:a.length)?{}:{b:e.p({height:"20vh"})},{c:e.f(null==(r=null==(v=e.unref(l.useModel))?void 0:v.logsData)?void 0:r.value,(l,o,n)=>e.e({a:e.t(null==l?void 0:l.node_name),b:(null==l?void 0:l.content)||(null==l?void 0:l.handled_result)},(null==l?void 0:l.content)||(null==l?void 0:l.handled_result)?{c:e.t((null==l?void 0:l.content)||(null==l?void 0:l.handled_result)||"-")}:{},{d:null==l?void 0:l.introspection},(null==l?void 0:l.introspection)?{e:e.t(null==l?void 0:l.introspection)}:{},{f:null==l?void 0:l.old_data},(null==l?void 0:l.old_data)?{g:"5e75cf79-3-"+n+",5e75cf79-2-"+n,h:e.p({data:null==l?void 0:l.old_data})}:{},{i:e.f(null==l?void 0:l.attachments,(o,n,t)=>({a:null==o?void 0:o.url,b:`attachment_${n}`,c:e.o(o=>((l,o)=>{e.index.previewImage({urls:null==o?void 0:o.map(e=>(null==e?void 0:e.url)||""),current:l})})(n,null==l?void 0:l.attachments),`attachment_${n}`)})),j:e.t(null==l?void 0:l.created_at),k:`log_item_${o}`,l:"5e75cf79-2-"+n+",5e75cf79-1"})),d:e.p({direction:"column",dot:!0,current:(null==(m=null==(p=null==(c=e.unref(l.useModel))?void 0:c.logsData)?void 0:p.value)?void 0:m.length)-1})})}}),t=e._export_sfc(n,[["__scopeId","data-v-5e75cf79"]]);wx.createComponent(t); diff --git a/dist/build/mp-weixin/ME/emergency/show/components/ProcessLogs.json b/dist/build/mp-weixin/ME/emergency/show/components/ProcessLogs.json new file mode 100644 index 0000000..98ea4e6 --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/show/components/ProcessLogs.json @@ -0,0 +1,9 @@ +{ + "component": true, + "usingComponents": { + "hs-empty": "../../../../components/hs-empty/hs-empty", + "up-steps-item": "../../../../node-modules/uview-plus/components/u-steps-item/u-steps-item", + "up-steps": "../../../../node-modules/uview-plus/components/u-steps/u-steps", + "my-modal-show": "./ModalShow" + } +} \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/emergency/show/components/ProcessLogs.wxml b/dist/build/mp-weixin/ME/emergency/show/components/ProcessLogs.wxml new file mode 100644 index 0000000..50a2a8c --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/show/components/ProcessLogs.wxml @@ -0,0 +1 @@ + 跟进记录 {{i.a}} 内容:{{i.c}} 总结与反思:{{i.e}}{{i.j}} \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/emergency/show/components/ProcessLogs.wxss b/dist/build/mp-weixin/ME/emergency/show/components/ProcessLogs.wxss new file mode 100644 index 0000000..6fca5b6 --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/show/components/ProcessLogs.wxss @@ -0,0 +1 @@ +.desc_title.data-v-5e75cf79{color:#333;font-size:28rpx;display:flex;align-items:center;justify-content:space-between}.desc_content.data-v-5e75cf79{color:#666;font-size:28rpx;padding:10rpx 0 0}.attachments.data-v-5e75cf79{display:flex;align-items:center;flex-wrap:wrap;padding:20rpx 0 0}.attachments .attachment_item.data-v-5e75cf79{width:80rpx;height:80rpx;overflow:hidden;padding-right:10rpx}.attachments image.data-v-5e75cf79{width:100%;height:100%}.created_at.data-v-5e75cf79{padding:10rpx 0 30rpx;color:#999;font-size:24rpx} diff --git a/dist/build/mp-weixin/ME/emergency/show/index.js b/dist/build/mp-weixin/ME/emergency/show/index.js new file mode 100644 index 0000000..c836d3d --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/show/index.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),l=require("./model.js"),o=require("./method.js"),u=require("../../../gen/Enums.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-enum-tag")+e.resolveComponent("cc-scroll-loading")+e.resolveComponent("uni-icons")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+n+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js")+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../components/hs-footer/hs-footer.js"))();const n=()=>"./components/ProcessLogs.js",a=e.defineComponent({__name:"index",setup:n=>(e.onLoad(e=>{var u;l.useModel.logsData.value=[],l.useModel.formData.value={id:null==e?void 0:e.id},null==(u=o.method)||u.getShow()}),e.onShow(()=>{var e,u,n,a;(null==(n=null==(u=null==(e=l.useModel)?void 0:e.showData)?void 0:u.value)?void 0:n.id)&&(l.useModel.logsData.value=[],l.useModel.formDataLogs.value.page=1,null==(a=o.method)||a.getShow())}),e.onUnload(()=>{l.useModel.showData.value={},l.useModel.formData.value={},l.useModel.metaData.value={},l.useModel.logsData.value=[],l.useModel.formDataLogs.value={}}),(n,a)=>{var d,s,v,i,t,r,m,h,c,f,w,D,M,g,p,_,y,j,q,P,C,S,U,L,A,E,F,b,k,x,I,W,$,z,B,G,H,J,K,N,O,Q,R,T,V,X,Y,Z,ee,le,oe,ue,ne,ae,de,se,ve,ie,te,re,me,he,ce,fe,we,De,Me,ge,pe,_e,ye,je,qe,Pe,Ce,Se,Ue,Le,Ae,Ee,Fe,be,ke,xe,Ie,We,$e,ze,Be,Ge,He,Je,Ke,Ne,Oe,Qe,Re,Te,Ve,Xe,Ye,Ze,el;return e.e({a:e.t(null==(v=null==(s=null==(d=e.unref(l.useModel))?void 0:d.showData)?void 0:s.value)?void 0:v.emergency_event_levels_name),b:e.p({value:null==(r=null==(t=null==(i=e.unref(l.useModel))?void 0:i.showData)?void 0:t.value)?void 0:r.status,Enums:e.unref(u.EmergencyEventsStatusEnum)}),c:e.n(`status status_${null==(c=null==(h=null==(m=e.unref(l.useModel))?void 0:m.showData)?void 0:h.value)?void 0:c.status}`),d:e.t(null==(D=null==(w=null==(f=e.unref(l.useModel))?void 0:f.showData)?void 0:w.value)?void 0:D.name),e:e.t(null==(p=null==(g=null==(M=e.unref(l.useModel))?void 0:M.showData)?void 0:g.value)?void 0:p.one_emergency_categories_name),f:e.t(null==(j=null==(y=null==(_=e.unref(l.useModel))?void 0:_.showData)?void 0:y.value)?void 0:j.two_emergency_categories_name),g:e.t((null==(S=null==(C=null==(P=null==(q=e.unref(l.useModel))?void 0:q.showData)?void 0:P.value)?void 0:C.asset_project)?void 0:S.name)||""),h:e.t((null==(A=null==(L=null==(U=e.unref(l.useModel))?void 0:U.showData)?void 0:L.value)?void 0:A.created_at)||""),i:null==(b=null==(F=null==(E=e.unref(l.useModel))?void 0:E.showData)?void 0:F.value)?void 0:b.emergency_location},(null==(I=null==(x=null==(k=e.unref(l.useModel))?void 0:k.showData)?void 0:x.value)?void 0:I.emergency_location)?{j:e.t(null==(z=null==($=null==(W=e.unref(l.useModel))?void 0:W.showData)?void 0:$.value)?void 0:z.emergency_location)}:{},{k:null==(H=null==(G=null==(B=e.unref(l.useModel))?void 0:B.showData)?void 0:G.value)?void 0:H.emergency_description},(null==(N=null==(K=null==(J=e.unref(l.useModel))?void 0:J.showData)?void 0:K.value)?void 0:N.emergency_description)?{l:e.t(null==(R=null==(Q=null==(O=e.unref(l.useModel))?void 0:O.showData)?void 0:Q.value)?void 0:R.emergency_description)}:{},{m:null==(X=null==(V=null==(T=e.unref(l.useModel))?void 0:T.showData)?void 0:V.value)?void 0:X.emergency_cause},(null==(ee=null==(Z=null==(Y=e.unref(l.useModel))?void 0:Y.showData)?void 0:Z.value)?void 0:ee.emergency_cause)?{n:e.t(null==(ue=null==(oe=null==(le=e.unref(l.useModel))?void 0:le.showData)?void 0:oe.value)?void 0:ue.emergency_cause)}:{},{o:null==(de=null==(ae=null==(ne=e.unref(l.useModel))?void 0:ne.showData)?void 0:ae.value)?void 0:de.cause_result},(null==(ie=null==(ve=null==(se=e.unref(l.useModel))?void 0:se.showData)?void 0:ve.value)?void 0:ie.cause_result)?{p:e.t(null==(me=null==(re=null==(te=e.unref(l.useModel))?void 0:te.showData)?void 0:re.value)?void 0:me.cause_result)}:{},{q:null==(fe=null==(ce=null==(he=e.unref(l.useModel))?void 0:he.showData)?void 0:ce.value)?void 0:fe.supplement},(null==(Me=null==(De=null==(we=e.unref(l.useModel))?void 0:we.showData)?void 0:De.value)?void 0:Me.supplement)?{r:e.t(null==(_e=null==(pe=null==(ge=e.unref(l.useModel))?void 0:ge.showData)?void 0:pe.value)?void 0:_e.supplement)}:{},{s:null==(qe=null==(je=null==(ye=e.unref(l.useModel))?void 0:ye.showData)?void 0:je.value)?void 0:qe.related_person},(null==(Se=null==(Ce=null==(Pe=e.unref(l.useModel))?void 0:Pe.showData)?void 0:Ce.value)?void 0:Se.related_person)?{t:e.t(null==(Ae=null==(Le=null==(Ue=e.unref(l.useModel))?void 0:Ue.showData)?void 0:Le.value)?void 0:Ae.related_person)}:{},{v:e.f(null==(be=null==(Fe=null==(Ee=e.unref(l.useModel))?void 0:Ee.showData)?void 0:Fe.value)?void 0:be.emergency_images,(l,u,n)=>({a:null==l?void 0:l.url,b:`item_${u}`,c:e.o(l=>{var n;return null==(n=e.unref(o.method))?void 0:n.handlePreview(u)},`item_${u}`)})),w:e.o(null==(ke=e.unref(o.method))?void 0:ke.handleLoad),x:e.p({meta:null==(Ie=null==(xe=e.unref(l.useModel))?void 0:xe.metaData)?void 0:Ie.value,emptyShow:!1}),y:"PendingFollowUp"===(null==(ze=null==($e=null==(We=e.unref(l.useModel))?void 0:We.showData)?void 0:$e.value)?void 0:ze.status)||"InProgress"===(null==(He=null==(Ge=null==(Be=e.unref(l.useModel))?void 0:Be.showData)?void 0:Ge.value)?void 0:He.status)},"PendingFollowUp"===(null==(Ne=null==(Ke=null==(Je=e.unref(l.useModel))?void 0:Je.showData)?void 0:Ke.value)?void 0:Ne.status)||"InProgress"===(null==(Re=null==(Qe=null==(Oe=e.unref(l.useModel))?void 0:Oe.showData)?void 0:Qe.value)?void 0:Re.status)?{z:e.p({type:"compose",size:"24"}),A:e.o((...l)=>{var u,n;return(null==(u=e.unref(o.method))?void 0:u.handleUpdateFollow)&&(null==(n=e.unref(o.method))?void 0:n.handleUpdateFollow(...l))}),B:e.o((...l)=>{var u,n;return(null==(u=e.unref(o.method))?void 0:u.handleClose)&&(null==(n=e.unref(o.method))?void 0:n.handleClose(...l))}),C:e.o((...l)=>{var u,n;return(null==(u=e.unref(o.method))?void 0:u.handleUpdate)&&(null==(n=e.unref(o.method))?void 0:n.handleUpdate(...l))})}:{},{D:e.n("PendingFollowUp"===(null==(Xe=null==(Ve=null==(Te=e.unref(l.useModel))?void 0:Te.showData)?void 0:Ve.value)?void 0:Xe.status)||"InProgress"===(null==(el=null==(Ze=null==(Ye=e.unref(l.useModel))?void 0:Ye.showData)?void 0:Ze.value)?void 0:el.status)?"emergency_show":"")})})});wx.createPage(a); diff --git a/dist/build/mp-weixin/ME/emergency/show/index.json b/dist/build/mp-weixin/ME/emergency/show/index.json new file mode 100644 index 0000000..e005f6f --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/show/index.json @@ -0,0 +1,10 @@ +{ + "navigationBarTitleText": "突发事件详情", + "usingComponents": { + "hs-enum-tag": "../../../components/hs-enum-tag/hs-enum-tag", + "cc-scroll-loading": "../../../common/components/cc-scroll-loading/cc-scroll-loading", + "uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons", + "hs-footer": "../../../components/hs-footer/hs-footer", + "my-process-logs": "./components/ProcessLogs" + } +} \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/emergency/show/index.wxml b/dist/build/mp-weixin/ME/emergency/show/index.wxml new file mode 100644 index 0000000..53577b4 --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/show/index.wxml @@ -0,0 +1 @@ +{{a}}{{d}}{{e}}/{{f}}所属项目: {{g}}提报时间: {{h}}事发地点: {{j}}事件描述: {{l}}事件原因: {{n}}造成结果: {{p}}补充信息: {{r}}关联人物: {{t}} 事件相关图片: 事件变更 申请关闭 更新进度 \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/emergency/show/index.wxss b/dist/build/mp-weixin/ME/emergency/show/index.wxss new file mode 100644 index 0000000..daf54e6 --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/show/index.wxss @@ -0,0 +1 @@ +page{background-color:#f8f8f8}.emergency_show{padding-bottom:calc(130rpx + constant(safe-area-inset-bottom));padding-bottom:calc(130rpx + env(safe-area-inset-bottom))}.emergency_card{margin:30rpx 30rpx 0;background-color:#fff;border-radius:20rpx;padding:0 30rpx}.emergency_card .emergency_item_head{display:flex;align-items:center;justify-content:space-between;padding:30rpx 0}.emergency_card .emergency_item_head .level{background-color:#ffdcdc;color:#ef4444;font-size:24rpx;min-width:60rpx;padding:6rpx 15rpx;font-weight:500;text-align:center;border-radius:100rpx}.emergency_card .emergency_item_head .status{background-color:#edf4ff;color:#0082fa;font-size:24rpx;font-weight:500;padding:8rpx 20rpx;border-radius:100rpx}.emergency_card .emergency_item_head .status_Closed{background-color:#f3f3f4;color:#909399}.emergency_card .emergency_item_head .status_InProgress{background-color:#fff9e6;color:#f90}.emergency_card .emergency_content{font-size:28rpx;font-weight:600}.emergency_card .emergency_cell{color:#666;font-size:28rpx;line-height:36rpx;padding-top:20rpx}.emergency_card .emergency_cell text{color:#000}.emergency_card .emergency_label{color:#333;font-size:28rpx;padding:25rpx 0 20rpx}.emergency_card .emergency_images_content{display:flex;align-items:center;flex-wrap:wrap;padding-bottom:25rpx}.emergency_card .emergency_images_content .emergency_images_item{width:120rpx;height:120rpx;overflow:hidden;padding-right:10rpx}.emergency_card .emergency_images_content .emergency_images_item image{width:100%;height:100%}.emergency_card_title{font-size:28rpx;padding:30rpx 0;font-weight:500}.footer_page{display:flex;align-items:center;justify-content:space-between}.footer_page .update_btn{text-align:center;color:#3d3d3d;font-size:22rpx;padding-right:30rpx}.footer_group_btn{display:flex;align-items:center;justify-content:space-between;font-size:28rpx;flex:1}.footer_group_btn .btn{color:#333;background-color:#f3f3f4;border-radius:100rpx;height:88rpx;line-height:88rpx;width:50%;text-align:center;padding:0 30rpx}.footer_group_btn .btn:last-child{margin-left:30rpx;background-color:#0082fa;color:#fff}.process_logs{padding:0 30rpx} diff --git a/dist/build/mp-weixin/ME/emergency/show/method.js b/dist/build/mp-weixin/ME/emergency/show/method.js new file mode 100644 index 0000000..dc05b3d --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/show/method.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),l=require("./model.js"),a=require("../../../common/libraries/apiLoading.js"),o=require("../../../gen/Apis.js"),d=()=>{var e,d;a.getApiLoading(o.Apis.Emergency.EmergencyEventFollows.List,null==(d=null==(e=l.useModel)?void 0:e.formDataLogs)?void 0:d.value).then(e=>{var a,o;l.useModel.logsData.value=[...null==(o=null==(a=l.useModel)?void 0:a.logsData)?void 0:o.value,...null==e?void 0:e.data],l.useModel.metaData.value=null==e?void 0:e.meta})},n={getShow:()=>{var e,n;a.getApiLoading(o.Apis.Emergency.EmergencyEvents.Show,null==(n=null==(e=l.useModel)?void 0:e.formData)?void 0:n.value).then(e=>{var a;l.useModel.showData.value=null==e?void 0:e.data,l.useModel.formDataLogs.value={emergency_events_id:null==(a=null==e?void 0:e.data)?void 0:a.id,page:1},d()})},handlePreview(a){var o,d,n,i;e.index.previewImage({urls:null==(i=null==(n=null==(d=null==(o=l.useModel)?void 0:o.showData)?void 0:d.value)?void 0:n.emergency_images)?void 0:i.map(e=>(null==e?void 0:e.url)||""),current:a})},handleLoad(e){console.log(e),l.useModel.formDataLogs.value.page=e,d()},handleClose(){var a,o,d;e.index.navigateTo({url:`/ME/emergency/update/index?id=${null==(d=null==(o=null==(a=l.useModel)?void 0:a.showData)?void 0:o.value)?void 0:d.id}&type=申请关闭`})},handleUpdate(){var a,o,d;e.index.navigateTo({url:`/ME/emergency/update/index?id=${null==(d=null==(o=null==(a=l.useModel)?void 0:a.showData)?void 0:o.value)?void 0:d.id}&type=更新进度`})},handleUpdateFollow(){var a,o,d;e.index.navigateTo({url:`/ME/emergency/change/index?id=${null==(d=null==(o=null==(a=l.useModel)?void 0:a.showData)?void 0:o.value)?void 0:d.id}`})}};exports.method=n; diff --git a/dist/build/mp-weixin/ME/emergency/show/model.js b/dist/build/mp-weixin/ME/emergency/show/model.js new file mode 100644 index 0000000..e65efef --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/show/model.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),r={currentTabs:e.ref(0),formData:e.ref({}),formDataLogs:e.ref({page:1,emergency_events_id:""}),showData:e.ref([]),logsData:e.ref([]),metaData:e.ref({})};exports.useModel=r; diff --git a/dist/build/mp-weixin/ME/emergency/update/index.js b/dist/build/mp-weixin/ME/emergency/update/index.js new file mode 100644 index 0000000..5775164 --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/update/index.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),l=require("./method.js");if(require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../gen/Apis.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/apiLoading.js"),require("../../../common/libraries/naviHelper.js"),!Array){(e.resolveComponent("hs-cell-textarea")+e.resolveComponent("hs-upload")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../../components/hs-cell-textarea/hs-cell-textarea.js")+(()=>"../../../components/hs-upload/hs-upload.js")+(()=>"../../../components/hs-footer/hs-footer.js"))();const r=e.defineComponent({__name:"index",setup:r=>(e.onLoad(l=>{o.useModel.formData.value={type:null==l?void 0:l.type,id:null==l?void 0:l.id,emergency_events_id:null==l?void 0:l.id},e.index.setNavigationBarTitle({title:null==l?void 0:l.type})}),e.onShow(()=>{var e;null==(e=l.method)||e.init()}),(r,t)=>{var u,a,n,i,s,d,m,v,p,f,c,h,M;return e.e({a:"申请关闭"===(null==(n=null==(a=null==(u=e.unref(o.useModel))?void 0:u.formData)?void 0:a.value)?void 0:n.type)},"申请关闭"===(null==(d=null==(s=null==(i=e.unref(o.useModel))?void 0:i.formData)?void 0:s.value)?void 0:d.type)?{b:e.o(l=>e.unref(o.useModel).formData.value.handled_result=l),c:e.p({required:!0,title:"处理结果",placeholder:"请输入处理结果",valueModel:e.unref(o.useModel).formData.value.handled_result}),d:e.o(l=>e.unref(o.useModel).formData.value.introspection=l),e:e.p({borderTop:!0,title:"反思与总结",placeholder:"请输入反思与总结",valueModel:e.unref(o.useModel).formData.value.introspection})}:{},{f:"更新进度"===(null==(p=null==(v=null==(m=e.unref(o.useModel))?void 0:m.formData)?void 0:v.value)?void 0:p.type)},"更新进度"===(null==(h=null==(c=null==(f=e.unref(o.useModel))?void 0:f.formData)?void 0:c.value)?void 0:h.type)?{g:e.o(l=>e.unref(o.useModel).formData.value.content=l),h:e.p({required:!0,title:"跟进内容",placeholder:"请输入跟进内容",valueModel:e.unref(o.useModel).formData.value.content}),i:e.o(l=>e.unref(o.useModel).formData.value.attachments=l),j:e.p({title:"上传图片",count:10,borderTop:!0,valueModel:e.unref(o.useModel).formData.value.attachments})}:{},{k:e.o(null==(M=e.unref(l.method))?void 0:M.handleSubmit),l:e.p({btnParimaryName:"提交"})})})});wx.createPage(r); diff --git a/dist/build/mp-weixin/ME/emergency/update/index.json b/dist/build/mp-weixin/ME/emergency/update/index.json new file mode 100644 index 0000000..d37b96e --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/update/index.json @@ -0,0 +1,8 @@ +{ + "navigationBarTitleText": "更新进度", + "usingComponents": { + "hs-cell-textarea": "../../../components/hs-cell-textarea/hs-cell-textarea", + "hs-upload": "../../../components/hs-upload/hs-upload", + "hs-footer": "../../../components/hs-footer/hs-footer" + } +} \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/emergency/update/index.wxml b/dist/build/mp-weixin/ME/emergency/update/index.wxml new file mode 100644 index 0000000..1105323 --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/update/index.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/emergency/update/index.wxss b/dist/build/mp-weixin/ME/emergency/update/index.wxss new file mode 100644 index 0000000..30d6fa3 --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/update/index.wxss @@ -0,0 +1 @@ +page{background-color:#f8f8f8}.emergency_add_page{padding-bottom:calc(130rpx + constant(safe-area-inset-bottom));padding-bottom:calc(130rpx + env(safe-area-inset-bottom))} diff --git a/dist/build/mp-weixin/ME/emergency/update/method.js b/dist/build/mp-weixin/ME/emergency/update/method.js new file mode 100644 index 0000000..7c8caa3 --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/update/method.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWeAppAuthStore.js");const l=require("../../../common/store/useWorkStore.js"),r=require("../../../common/libraries/apiLoading.js"),i=require("../../../gen/Apis.js"),t=require("../../../common/libraries/naviHelper.js"),n=l.useWorkStore(),s={getList:()=>{var e,l;r.getApiLoading(i.Apis.WorkOrder.HouseWorkOrders.List,null==(l=null==(e=o.useModel)?void 0:e.formData)?void 0:l.value).then(e=>{o.useModel.listData.value=[...o.useModel.listData.value,...null==e?void 0:e.data],o.useModel.metaData.value=null==e?void 0:e.meta})},init(){var e,l,r,i,t;console.log("init",null==n?void 0:n.selectWorkProject),(null==(e=null==n?void 0:n.selectWorkProject)?void 0:e.id)&&(o.useModel.formData.value={...null==(r=null==(l=o.useModel)?void 0:l.formData)?void 0:r.value,project_name:null==(i=null==n?void 0:n.selectWorkProject)?void 0:i.name,asset_projects_id:null==(t=null==n?void 0:n.selectWorkProject)?void 0:t.id})},handleSubmit(){var l,n,s,u,a,d,v,c,m,g;let p=null==(n=null==(l=o.useModel)?void 0:l.formData)?void 0:n.value;if("申请关闭"===(null==(a=null==(u=null==(s=o.useModel)?void 0:s.formData)?void 0:u.value)?void 0:a.type)){if(!(null==p?void 0:p.handled_result))return t.showToast("请输入处理结果!");e.index.showModal({title:"提示",content:"确定要申请关闭?",success:function(e){var l,n;e.confirm?(r.getApiLoading(i.Apis.Emergency.EmergencyEvents.ApplyClose,null==(n=null==(l=o.useModel)?void 0:l.formData)?void 0:n.value).then(e=>{t.showToastBack("提交成功!",1,!0),console.log(e)}),console.log("用户点击确定")):e.cancel&&console.log("用户点击取消")}})}if("更新进度"===(null==(c=null==(v=null==(d=o.useModel)?void 0:d.formData)?void 0:v.value)?void 0:c.type)){if(!(null==p?void 0:p.content))return t.showToast("请输入跟进内容!");r.getApiLoading(i.Apis.Emergency.EmergencyEventFollows.Store,null==(g=null==(m=o.useModel)?void 0:m.formData)?void 0:g.value).then(e=>{t.showToastBack("提交成功!",1,!0),console.log(e)})}}};exports.method=s; diff --git a/dist/build/mp-weixin/ME/emergency/update/model.js b/dist/build/mp-weixin/ME/emergency/update/model.js new file mode 100644 index 0000000..f21b64c --- /dev/null +++ b/dist/build/mp-weixin/ME/emergency/update/model.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../common/vendor.js"),r={currentTabs:e.ref(0),formData:e.ref({}),listData:e.ref([]),metaData:e.ref({})};exports.useModel=r; diff --git a/dist/build/mp-weixin/ME/feedback/index.js b/dist/build/mp-weixin/ME/feedback/index.js index f0fc443..e2beafa 100644 --- a/dist/build/mp-weixin/ME/feedback/index.js +++ b/dist/build/mp-weixin/ME/feedback/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("./model.js"),r=require("./method.js");if(require("../../common/libraries/apiLoading.js"),require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/naviHelper.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-upload")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-upload/hs-upload.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const n=e.defineComponent({__name:"index",setup:n=>(e.onUnload((()=>{o.useModel.formData.value={}})),(n,u)=>{var l;return{a:e.o(((...o)=>{var n,u;return(null==(n=e.unref(r.method))?void 0:n.toWorkOrder)&&(null==(u=e.unref(r.method))?void 0:u.toWorkOrder(...o))})),b:e.f(null==(l=e.unref(o.useModel))?void 0:l.typeList,((n,u,l)=>{var t,a,i,s,d,m;return{a:"330eb960-0-"+l,b:e.p({type:null==n?void 0:n.icon,size:"20",color:(null==n?void 0:n.value)===(null==(i=null==(a=null==(t=e.unref(o.useModel))?void 0:t.formData)?void 0:a.value)?void 0:i.type)?"#2a7efb":"#999"}),c:e.t(null==n?void 0:n.label),d:`item_${u}`,e:e.n("feedback_page_type_item_btn "+((null==n?void 0:n.value)===(null==(m=null==(d=null==(s=e.unref(o.useModel))?void 0:s.formData)?void 0:d.value)?void 0:m.type)?"active":"")),f:e.o((o=>e.unref(r.method).handleSelectType(n)),`item_${u}`)}})),c:e.unref(o.useModel).formData.value.content,d:e.o((r=>e.unref(o.useModel).formData.value.content=r.detail.value)),e:e.o((r=>e.unref(o.useModel).formData.value.images=r)),f:e.p({title:"问题页面截图,最多五张(选填)",count:5,size:4,valueModel:e.unref(o.useModel).formData.value.images}),g:e.o(e.unref(r.method).handleSubmit),h:e.p({handleParmaryClick:"提交"})}})});wx.createPage(n); +"use strict";const e=require("../../common/vendor.js"),o=require("./model.js"),r=require("./method.js");if(require("../../common/libraries/apiLoading.js"),require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/naviHelper.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-upload")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-upload/hs-upload.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const n=e.defineComponent({__name:"index",setup:n=>(e.onUnload(()=>{o.useModel.formData.value={}}),(n,u)=>{var l;return{a:e.o((...o)=>{var n,u;return(null==(n=e.unref(r.method))?void 0:n.toWorkOrder)&&(null==(u=e.unref(r.method))?void 0:u.toWorkOrder(...o))}),b:e.f(null==(l=e.unref(o.useModel))?void 0:l.typeList,(n,u,l)=>{var t,a,i,s,d,m;return{a:"330eb960-0-"+l,b:e.p({type:null==n?void 0:n.icon,size:"20",color:(null==n?void 0:n.value)===(null==(i=null==(a=null==(t=e.unref(o.useModel))?void 0:t.formData)?void 0:a.value)?void 0:i.type)?"#2a7efb":"#999"}),c:e.t(null==n?void 0:n.label),d:`item_${u}`,e:e.n("feedback_page_type_item_btn "+((null==n?void 0:n.value)===(null==(m=null==(d=null==(s=e.unref(o.useModel))?void 0:s.formData)?void 0:d.value)?void 0:m.type)?"active":"")),f:e.o(o=>e.unref(r.method).handleSelectType(n),`item_${u}`)}}),c:e.unref(o.useModel).formData.value.content,d:e.o(r=>e.unref(o.useModel).formData.value.content=r.detail.value),e:e.o(r=>e.unref(o.useModel).formData.value.images=r),f:e.p({title:"问题页面截图,最多五张(选填)",count:5,size:4,valueModel:e.unref(o.useModel).formData.value.images}),g:e.o(e.unref(r.method).handleSubmit),h:e.p({handleParmaryClick:"提交"})}})});wx.createPage(n); diff --git a/dist/build/mp-weixin/ME/feedback/method.js b/dist/build/mp-weixin/ME/feedback/method.js index 6a331b6..37f01be 100644 --- a/dist/build/mp-weixin/ME/feedback/method.js +++ b/dist/build/mp-weixin/ME/feedback/method.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/apiLoading.js"),r=require("../../gen/Apis.js"),s=require("./model.js"),i=require("../../common/libraries/naviHelper.js");require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const u=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js"),u.useWeAppAuthStore();const l={handleSelectType(e){s.useModel.formData.value.type=null==e?void 0:e.value},handleSubmit(){var e,u,l,t,n,a,d,m;return(null==(l=null==(u=null==(e=s.useModel)?void 0:e.formData)?void 0:u.value)?void 0:l.type)?(null==(a=null==(n=null==(t=s.useModel)?void 0:t.formData)?void 0:n.value)?void 0:a.type)?void o.getApiLoading(r.Apis.Customer.CustomerOpinions.Store,null==(m=null==(d=s.useModel)?void 0:d.formData)?void 0:m.value).then((e=>{i.showToastBack("提交成功",1,!0),console.log(e)})):i.showToast("请输入反馈建议!"):i.showToast("请选择反馈类型!")},toWorkOrder(){e.index.navigateTo({url:"/WORKORDER/list/index"})}};exports.method=l; +"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/apiLoading.js"),r=require("../../gen/Apis.js"),s=require("./model.js"),i=require("../../common/libraries/naviHelper.js");require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const u=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js"),u.useWeAppAuthStore();const l={handleSelectType(e){s.useModel.formData.value.type=null==e?void 0:e.value},handleSubmit(){var e,u,l,t,n,a,d,m;return(null==(l=null==(u=null==(e=s.useModel)?void 0:e.formData)?void 0:u.value)?void 0:l.type)?(null==(a=null==(n=null==(t=s.useModel)?void 0:t.formData)?void 0:n.value)?void 0:a.type)?void o.getApiLoading(r.Apis.Customer.CustomerOpinions.Store,null==(m=null==(d=s.useModel)?void 0:d.formData)?void 0:m.value).then(e=>{i.showToastBack("提交成功",1,!0),console.log(e)}):i.showToast("请输入反馈建议!"):i.showToast("请选择反馈类型!")},toWorkOrder(){e.index.navigateTo({url:"/WORKORDER/list/index"})}};exports.method=l; diff --git a/dist/build/mp-weixin/ME/instrument/add/index.js b/dist/build/mp-weixin/ME/instrument/add/index.js index d84f79b..5eba10d 100644 --- a/dist/build/mp-weixin/ME/instrument/add/index.js +++ b/dist/build/mp-weixin/ME/instrument/add/index.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/libraries/day.js"),l=require("./method.js"),u=require("./model.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../common/libraries/naviHelper.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-upload")+e.resolveComponent("hs-cell-textarea")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../../components/hs-upload/hs-upload.js")+(()=>"../../../components/hs-cell-textarea/hs-cell-textarea.js")+(()=>"../../../components/hs-footer/hs-footer.js"))();const a=e.defineComponent({__name:"index",setup:a=>(e.onLoad((e=>{var o,u;null==(o=l.method)||o.init(e),null==(u=l.method)||u.getShow(e)})),e.onUnload((()=>{u.useModel.formData.value={is_anonymous:!1}})),(a,r)=>{var n,t,s,i,d,m,v,f,h,c,p,M,D,_,j,g,q,w,y,b,k,x,S,A,C;return e.e({a:"WaterMeter"===(null==(s=null==(t=null==(n=e.unref(u.useModel))?void 0:n.showData)?void 0:t.value)?void 0:s.usage_type)},(null==(m=null==(d=null==(i=e.unref(u.useModel))?void 0:i.showData)?void 0:d.value)||m.usage_type,{}),{b:"ElectricMeter"===(null==(h=null==(f=null==(v=e.unref(u.useModel))?void 0:v.showData)?void 0:f.value)?void 0:h.usage_type)},(null==(M=null==(p=null==(c=e.unref(u.useModel))?void 0:c.showData)?void 0:p.value)||M.usage_type,{}),{c:e.f(null==(j=null==(_=null==(D=e.unref(u.useModel))?void 0:D.showData)?void 0:_.value)?void 0:j.house_meter_has_houses,((o,l,u)=>({a:e.t(null==o?void 0:o.full_name),b:`house_${l}`}))),d:e.t((null==(w=null==(q=null==(g=e.unref(u.useModel))?void 0:g.showData)?void 0:q.value)?void 0:w.name)||"-"),e:e.t((null==(k=null==(b=null==(y=e.unref(u.useModel))?void 0:y.showData)?void 0:b.value)?void 0:k.latest_value)||"-"),f:e.t(e.unref(o.showDay)(null==(A=null==(S=null==(x=e.unref(u.useModel))?void 0:x.showData)?void 0:S.value)?void 0:A.latest_time)),g:e.t(e.unref(o.getDay)()),h:e.unref(u.useModel).formData.value.current_reading,i:e.o((o=>e.unref(u.useModel).formData.value.current_reading=o.detail.value)),j:e.o((o=>e.unref(u.useModel).formData.value.image=o)),k:e.p({title:"上传图片",count:6,valueModel:e.unref(u.useModel).formData.value.image}),l:e.o((o=>e.unref(u.useModel).formData.value.remark=o)),m:e.p({borderTop:!0,title:"备注(选填)",placeholder:"请输入此次抄表的备注,选填",valueModel:e.unref(u.useModel).formData.value.remark}),n:e.o(null==(C=e.unref(l.method))?void 0:C.handleSubmit),o:e.p({btnParimaryName:"提交"})})})});wx.createPage(a); +"use strict";const e=require("../../../common/vendor.js"),l=require("../../../common/libraries/day.js"),o=require("./method.js"),u=require("./model.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../common/libraries/naviHelper.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-upload")+e.resolveComponent("hs-cell-textarea")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../../components/hs-upload/hs-upload.js")+(()=>"../../../components/hs-cell-textarea/hs-cell-textarea.js")+(()=>"../../../components/hs-footer/hs-footer.js"))();const a=e.defineComponent({__name:"index",setup:a=>(e.onLoad(e=>{var l,u;null==(l=o.method)||l.init(e),null==(u=o.method)||u.getShow(e)}),e.onUnload(()=>{u.useModel.formData.value={is_anonymous:!1}}),(a,n)=>{var r,s,t,d,i,v,m,f,h,p,M,c,D,_,g,j,w,y,q,b,k,x,S,A,C,W,H,L,P,E,G,N,T,U,$,z,B;return e.e({a:"WaterMeter"===(null==(t=null==(s=null==(r=e.unref(u.useModel))?void 0:r.showData)?void 0:s.value)?void 0:t.usage_type)},(null==(v=null==(i=null==(d=e.unref(u.useModel))?void 0:d.showData)?void 0:i.value)||v.usage_type,{}),{b:"ElectricMeter"===(null==(h=null==(f=null==(m=e.unref(u.useModel))?void 0:m.showData)?void 0:f.value)?void 0:h.usage_type)},(null==(c=null==(M=null==(p=e.unref(u.useModel))?void 0:p.showData)?void 0:M.value)||c.usage_type,{}),{c:"GasMeter"===(null==(g=null==(_=null==(D=e.unref(u.useModel))?void 0:D.showData)?void 0:_.value)?void 0:g.usage_type)},(null==(y=null==(w=null==(j=e.unref(u.useModel))?void 0:j.showData)?void 0:w.value)||y.usage_type,{}),{d:"HeatingMeter"===(null==(k=null==(b=null==(q=e.unref(u.useModel))?void 0:q.showData)?void 0:b.value)?void 0:k.usage_type)},(null==(A=null==(S=null==(x=e.unref(u.useModel))?void 0:x.showData)?void 0:S.value)||A.usage_type,{}),{e:e.f(null==(H=null==(W=null==(C=e.unref(u.useModel))?void 0:C.showData)?void 0:W.value)?void 0:H.house_meter_has_houses,(l,o,u)=>({a:e.t(null==l?void 0:l.full_name),b:`house_${o}`})),f:e.t((null==(E=null==(P=null==(L=e.unref(u.useModel))?void 0:L.showData)?void 0:P.value)?void 0:E.name)||"-"),g:e.t((null==(T=null==(N=null==(G=e.unref(u.useModel))?void 0:G.showData)?void 0:N.value)?void 0:T.latest_value)||"-"),h:e.t(e.unref(l.showDay)(null==(z=null==($=null==(U=e.unref(u.useModel))?void 0:U.showData)?void 0:$.value)?void 0:z.latest_time)),i:e.t(e.unref(l.getDay)()),j:e.unref(u.useModel).formData.value.current_reading,k:e.o(l=>e.unref(u.useModel).formData.value.current_reading=l.detail.value),l:e.o(l=>e.unref(u.useModel).formData.value.image=l),m:e.p({title:"上传图片",count:6,valueModel:e.unref(u.useModel).formData.value.image}),n:e.o(l=>e.unref(u.useModel).formData.value.remark=l),o:e.p({borderTop:!0,title:"备注(选填)",placeholder:"请输入此次抄表的备注,选填",valueModel:e.unref(u.useModel).formData.value.remark}),p:e.o(null==(B=e.unref(o.method))?void 0:B.handleSubmit),q:e.p({btnParimaryName:"提交"})})})});wx.createPage(a); diff --git a/dist/build/mp-weixin/ME/instrument/add/index.wxml b/dist/build/mp-weixin/ME/instrument/add/index.wxml index 35ef4a6..634ccb1 100644 --- a/dist/build/mp-weixin/ME/instrument/add/index.wxml +++ b/dist/build/mp-weixin/ME/instrument/add/index.wxml @@ -1 +1 @@ - 水表 电表{{res.a}} 仪表名称:{{d}} 上次读数:{{e}} 上次抄表:{{f}} 本期读数 更新时间:{{g}} \ No newline at end of file + 水表 电表 燃气表 暖气表{{res.a}} 仪表名称:{{f}} 上次读数:{{g}} 上次抄表:{{h}} 本期读数 更新时间:{{i}} \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/instrument/add/index.wxss b/dist/build/mp-weixin/ME/instrument/add/index.wxss index 1cfb70b..35bdda6 100644 --- a/dist/build/mp-weixin/ME/instrument/add/index.wxss +++ b/dist/build/mp-weixin/ME/instrument/add/index.wxss @@ -1 +1 @@ -page{background-color:#f8f8f8}.add_page{padding-bottom:calc(150rpx + constant(safe-area-inset-bottom));padding-bottom:calc(150rpx + env(safe-area-inset-bottom))}.add_page_header{background-color:#fff;padding:20rpx 30rpx 30rpx}.add_page_header .header_cell{display:flex;align-items:center;color:#666;font-size:28rpx;padding-top:15rpx}.hande_name_info{display:flex;align-items:center}.hande_name_info .name{color:#333;font-size:28rpx;font-weight:500;padding:0 30rpx 0 0}.hande_name_info .name text{padding-left:20rpx}.hande_name_info .table_tab{display:flex;align-items:center;padding:6rpx 16rpx;border-radius:8rpx;font-size:24rpx}.hande_name_info .table_tab image{width:18rpx;height:24rpx;margin-right:5rpx}.hande_name_info .water{background-color:#f0f8ff;color:#0082fa}.hande_name_info .electricity{background-color:#fff8f0;color:#ffb30f}.add_page_form_content{padding:30rpx}.card_form{background-color:#fff;padding:0 30rpx;margin-bottom:30rpx;border-radius:20rpx}.report_repair{padding:10rpx 0;color:#999}.current_reading{padding:30rpx 0 0;border-bottom:1px solid #eee}.current_reading .title{color:#3d3d3d;font-size:32rpx;font-weight:600;display:flex;align-items:center;justify-content:space-between}.current_reading .title .time{color:#999;font-size:25rpx;font-weight:400}.current_reading .input_reading{color:#3d3d3d;font-size:36rpx;font-weight:600}.current_reading .input_reading input{height:90rpx} +page{background-color:#f8f8f8}.add_page{padding-bottom:calc(150rpx + constant(safe-area-inset-bottom));padding-bottom:calc(150rpx + env(safe-area-inset-bottom))}.add_page_header{background-color:#fff;padding:20rpx 30rpx 30rpx}.add_page_header .header_cell{display:flex;align-items:center;color:#666;font-size:28rpx;padding-top:15rpx}.hande_name_info{display:flex;align-items:self-start}.hande_name_info .name{color:#333;font-size:28rpx;font-weight:500;padding:0 30rpx 0 0;flex:1}.hande_name_info .name text{padding-left:20rpx}.hande_name_info .table_tab{display:flex;align-items:center;padding:6rpx 16rpx;border-radius:8rpx;font-size:24rpx}.hande_name_info .table_tab image{width:18rpx;height:24rpx;margin-right:5rpx}.hande_name_info .water{background-color:#f0f8ff;color:#0082fa}.hande_name_info .electricity{background-color:#fff8f0;color:#ffb30f}.add_page_form_content{padding:30rpx}.card_form{background-color:#fff;padding:0 30rpx;margin-bottom:30rpx;border-radius:20rpx}.report_repair{padding:10rpx 0;color:#999}.current_reading{padding:30rpx 0 0;border-bottom:1px solid #eee}.current_reading .title{color:#3d3d3d;font-size:32rpx;font-weight:600;display:flex;align-items:center;justify-content:space-between}.current_reading .title .time{color:#999;font-size:25rpx;font-weight:400}.current_reading .input_reading{color:#3d3d3d;font-size:36rpx;font-weight:600}.current_reading .input_reading input{height:90rpx} diff --git a/dist/build/mp-weixin/ME/instrument/add/method.js b/dist/build/mp-weixin/ME/instrument/add/method.js index e9b5667..a3dab4d 100644 --- a/dist/build/mp-weixin/ME/instrument/add/method.js +++ b/dist/build/mp-weixin/ME/instrument/add/method.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/libraries/apiLoading.js"),a=require("../../../common/libraries/day.js"),i=require("../../../common/libraries/naviHelper.js"),l=require("../../../gen/Apis.js"),s=require("./model.js"),r={init(e){s.useModel.formData.value={house_meters_id:null==e?void 0:e.id}},handleSubmit(){var e,r,n;if(console.log("handleSubmit",s.useModel.formData.value),!(null==(n=null==(r=null==(e=s.useModel)?void 0:e.formData)?void 0:r.value)?void 0:n.current_reading))return i.showToast("请设置本次读数!");o.getApiLoading(l.Apis.Meter.HouseMeterReadings.Store,{...s.useModel.formData.value,reading_time:a.getTime()}).then((e=>{i.showToastBack("提交成功!",1,!0),console.log(e)}))},handleToSelectHouse(){e.index.navigateTo({url:"/pages/public/asset_houses/index?type=work_add"})},handleSwitchChange(e){var o;s.useModel.formData.value.is_anonymous=null==(o=null==e?void 0:e.detail)?void 0:o.value,console.log(e,"e")},getShow(e){o.getApiLoading(l.Apis.Meter.HouseMeters.Show,e).then((e=>{s.useModel.showData.value=null==e?void 0:e.data,console.log(e)}))}};exports.method=r; +"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/libraries/apiLoading.js"),a=require("../../../common/libraries/day.js"),i=require("../../../common/libraries/naviHelper.js"),l=require("../../../gen/Apis.js"),s=require("./model.js"),r={init(e){s.useModel.formData.value={house_meters_id:null==e?void 0:e.id}},handleSubmit(){var e,r,n;if(console.log("handleSubmit",s.useModel.formData.value),!(null==(n=null==(r=null==(e=s.useModel)?void 0:e.formData)?void 0:r.value)?void 0:n.current_reading))return i.showToast("请设置本次读数!");o.getApiLoading(l.Apis.Meter.HouseMeterReadings.Store,{...s.useModel.formData.value,reading_time:a.getTime()}).then(e=>{i.showToastBack("提交成功!",1,!0),console.log(e)})},handleToSelectHouse(){e.index.navigateTo({url:"/pages/public/asset_houses/index?type=work_add"})},handleSwitchChange(e){var o;s.useModel.formData.value.is_anonymous=null==(o=null==e?void 0:e.detail)?void 0:o.value,console.log(e,"e")},getShow(e){o.getApiLoading(l.Apis.Meter.HouseMeters.Show,e).then(e=>{s.useModel.showData.value=null==e?void 0:e.data,console.log(e)})}};exports.method=r; diff --git a/dist/build/mp-weixin/ME/instrument/list/components/HouseAreaList.js b/dist/build/mp-weixin/ME/instrument/list/components/HouseAreaList.js new file mode 100644 index 0000000..57dd2ed --- /dev/null +++ b/dist/build/mp-weixin/ME/instrument/list/components/HouseAreaList.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../../common/vendor.js"),o=require("../../../../common/libraries/day.js"),u=require("../method.js"),r=require("../model.js");require("../../../../common/libraries/apiLoading.js"),require("../../../../gen/Apis.js"),require("../../../../common/libraries/request.js"),require("../../../../common/store/useWeAppAuthStore.js"),require("../../../../common/store/useWatermarkStore.js"),require("../../../../common/store/useWorkStore.js");const l=e.defineComponent({__name:"HouseAreaList",setup:l=>(l,t)=>{var s,n,i,a;return{a:e.f(null==(n=null==(s=e.unref(r.useModel))?void 0:s.listData)?void 0:n.value,(l,t,s)=>{var n,i,a,d;return e.e((null==(i=null==(n=e.unref(r.useModel))?void 0:n.activeColor)?void 0:i.value)?{a:null==(d=null==(a=e.unref(r.useModel))?void 0:a.activeColor)?void 0:d.value}:{},{b:e.f(null==l?void 0:l.house_meter_has_houses,(o,u,r)=>({a:e.t(null==o?void 0:o.name),b:`house_${u}`})),c:"WaterMeter"===(null==l?void 0:l.usage_type)},(null==l||l.usage_type,{}),{d:"ElectricMeter"===(null==l?void 0:l.usage_type)},(null==l||l.usage_type,{}),{e:"GasMeter"===(null==l?void 0:l.usage_type)},(null==l||l.usage_type,{}),{f:"HeatingMeter"===(null==l?void 0:l.usage_type)},(null==l||l.usage_type,{}),{g:e.t(null==l?void 0:l.name),h:e.t(e.unref(o.ShowLastTime)(null==l?void 0:l.latest_time)),i:e.o(o=>{var r;return null==(r=e.unref(u.method))?void 0:r.handleToAdd(l)},`items_${t}`),j:`items_${t}`})}),b:null==(a=null==(i=e.unref(r.useModel))?void 0:i.activeColor)?void 0:a.value}}}),t=e._export_sfc(l,[["__scopeId","data-v-aa762018"]]);wx.createComponent(t); diff --git a/dist/build/mp-weixin/ME/instrument/list/components/HouseAreaList.json b/dist/build/mp-weixin/ME/instrument/list/components/HouseAreaList.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/dist/build/mp-weixin/ME/instrument/list/components/HouseAreaList.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/instrument/list/components/HouseAreaList.wxml b/dist/build/mp-weixin/ME/instrument/list/components/HouseAreaList.wxml new file mode 100644 index 0000000..ee59395 --- /dev/null +++ b/dist/build/mp-weixin/ME/instrument/list/components/HouseAreaList.wxml @@ -0,0 +1 @@ +{{res.a}} 水表 电表 燃气表 暖气表 仪表名称:{{i.g}} 上次抄表:{{i.h}} 抄表 \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/instrument/list/components/HouseAreaList.wxss b/dist/build/mp-weixin/ME/instrument/list/components/HouseAreaList.wxss new file mode 100644 index 0000000..04ca1ec --- /dev/null +++ b/dist/build/mp-weixin/ME/instrument/list/components/HouseAreaList.wxss @@ -0,0 +1 @@ +.work_item_list.data-v-aa762018{display:flex;flex-wrap:wrap;padding:20rpx 20rpx 20rpx 0}.work_item.data-v-aa762018{background-color:#fff;border-radius:10rpx;border-radius:15rpx;width:46%;margin-left:20rpx;margin-bottom:20rpx}.work_item .work_item_header.data-v-aa762018{display:flex;align-items:flex-start;padding:25rpx 15rpx}.work_item .work_item_header .name_item.data-v-aa762018{width:10rpx;height:10rpx;border-radius:100rpx}.work_item .work_item_header .name.data-v-aa762018{color:#333;font-size:28rpx;font-weight:500;flex:1;display:flex;align-items:center}.work_item .work_item_header .name text.data-v-aa762018{padding-right:20rpx}.work_item .work_item_header .name_text.data-v-aa762018{display:flex;align-items:flex-start;flex-wrap:wrap;padding-left:10rpx}.work_item .work_item_cell.data-v-aa762018{display:flex;align-items:center;justify-content:space-between;font-size:24rpx;color:#666;padding:0 15rpx 15rpx}.work_item .work_item_cell text.data-v-aa762018{color:#333}.work_item .footer_item .meter_reading_btn.data-v-aa762018{text-align:center;color:#0082fa;border-top:1rpx solid #ededed;padding:20rpx 0;font-size:25rpx} diff --git a/dist/build/mp-weixin/ME/instrument/list/components/SharedAreaList.js b/dist/build/mp-weixin/ME/instrument/list/components/SharedAreaList.js new file mode 100644 index 0000000..6e21189 --- /dev/null +++ b/dist/build/mp-weixin/ME/instrument/list/components/SharedAreaList.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../../common/vendor.js"),r=require("../../../../common/libraries/day.js"),t=require("../method.js"),o=require("../model.js");require("../../../../common/libraries/apiLoading.js"),require("../../../../gen/Apis.js"),require("../../../../common/libraries/request.js"),require("../../../../common/store/useWeAppAuthStore.js"),require("../../../../common/store/useWatermarkStore.js"),require("../../../../common/store/useWorkStore.js");const u=e.defineComponent({__name:"SharedAreaList",setup:u=>(u,s)=>{var l,i;return{a:e.f(null==(i=null==(l=e.unref(o.useModel))?void 0:l.listData)?void 0:i.value,(o,u,s)=>e.e({a:e.t(null==o?void 0:o.name),b:"WaterMeter"===(null==o?void 0:o.usage_type)},(null==o||o.usage_type,{}),{c:"ElectricMeter"===(null==o?void 0:o.usage_type)},(null==o||o.usage_type,{}),{d:"GasMeter"===(null==o?void 0:o.usage_type)},(null==o||o.usage_type,{}),{e:"HeatingMeter"===(null==o?void 0:o.usage_type)},(null==o||o.usage_type,{}),{f:e.f(null==o?void 0:o.house_meter_has_houses,(r,t,o)=>({a:e.t(null==r?void 0:r.full_name),b:`item_${t}`})),g:e.t(null==o?void 0:o.remark),h:e.t(null==o?void 0:o.latest_value),i:e.t(e.unref(r.ShowLastTime)(null==o?void 0:o.latest_time)),j:e.o(r=>{var u;return null==(u=e.unref(t.method))?void 0:u.handleToAdd(o)},`items_${u}`),k:`items_${u}`}))}}}),s=e._export_sfc(u,[["__scopeId","data-v-0977fdf2"]]);wx.createComponent(s); diff --git a/dist/build/mp-weixin/ME/instrument/list/components/SharedAreaList.json b/dist/build/mp-weixin/ME/instrument/list/components/SharedAreaList.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/dist/build/mp-weixin/ME/instrument/list/components/SharedAreaList.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/instrument/list/components/SharedAreaList.wxml b/dist/build/mp-weixin/ME/instrument/list/components/SharedAreaList.wxml new file mode 100644 index 0000000..d1fbaf8 --- /dev/null +++ b/dist/build/mp-weixin/ME/instrument/list/components/SharedAreaList.wxml @@ -0,0 +1 @@ +{{i.a}} 水表 电表 燃气表 暖气表 备注:{{item.a}} {{i.g}} 上次读数:{{i.h}} 上次抄表:{{i.i}} 抄表 \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/instrument/list/components/SharedAreaList.wxss b/dist/build/mp-weixin/ME/instrument/list/components/SharedAreaList.wxss new file mode 100644 index 0000000..cfeb5dd --- /dev/null +++ b/dist/build/mp-weixin/ME/instrument/list/components/SharedAreaList.wxss @@ -0,0 +1 @@ +.shared_area_item.data-v-0977fdf2{background-color:#fff;border-radius:10rpx;margin:30rpx;padding:25rpx}.shared_area_item .item_header.data-v-0977fdf2{display:flex;align-items:center;justify-content:space-between}.shared_area_item .title.data-v-0977fdf2{font-size:30rpx;font-weight:500;color:#333}.shared_area_item .remark.data-v-0977fdf2{font-size:24rpx;color:#333;padding:10rpx 0 0}.shared_area_item .remark text.data-v-0977fdf2{padding-right:10rpx}.shared_area_item .last_read_cell.data-v-0977fdf2{font-size:24rpx;color:#666;display:flex;align-items:center;justify-content:space-between}.shared_area_item .last_read_cell_first_child.data-v-0977fdf2{padding-top:10rpx} diff --git a/dist/build/mp-weixin/ME/instrument/list/index.js b/dist/build/mp-weixin/ME/instrument/list/index.js index b1e556a..8385911 100644 --- a/dist/build/mp-weixin/ME/instrument/list/index.js +++ b/dist/build/mp-weixin/ME/instrument/list/index.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("./method.js"),n=require("./model.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-tabs")+e.resolveComponent("uni-icons")+e.resolveComponent("up-search")+e.resolveComponent("hs-popup-project")+e.resolveComponent("hs-popup-building")+e.resolveComponent("hs-radio-picker-enum")+e.resolveComponent("hs-button")+e.resolveComponent("cc-scroll-loading"))()}Math||((()=>"../../../components/hs-tabs/hs-tabs.js")+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../node-modules/uview-plus/components/u-search/u-search.js")+(()=>"../../../components/hs-popup-project/hs-popup-project.js")+(()=>"../../../components/hs-popup-building/hs-popup-building.js")+(()=>"../../../components/hs-radio-picker-enum/hs-radio-picker-enum.js")+(()=>"../../../components/hs-button/hs-button.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const l=e.defineComponent({__name:"index",setup(l){const u=[{label:"住户仪表",value:"HouseMeter"},{label:"公共仪表",value:"CommonMeter"}],r=[{name:"全部",value:void 0},{name:"已抄表",value:"read"},{name:"未抄表",value:"unread"}];return e.onShow((()=>{var e;n.useModel.formData.value.page=1,n.useModel.listData.value=[],null==(e=o.method)||e.getList()})),e.onUnload((()=>{n.useModel.formData.value={page:1,keyword:"",meter_type:"HouseMeter"}})),(l,s)=>{var t,a,i,d,m,p,c,h,v,f,g,j;return{a:e.o(null==(t=e.unref(o.method))?void 0:t.handleChangeTabs),b:e.p({list:u,current:null==(i=null==(a=e.unref(n.useModel))?void 0:a.currentTabs)?void 0:i.value}),c:e.p({type:"right",size:"13",color:"#333"}),d:e.o((n=>{var l;return null==(l=e.unref(o.method))?void 0:l.handleToLog()})),e:e.o(null==(d=e.unref(o.method))?void 0:d.handleSearch),f:e.o((o=>e.unref(n.useModel).formData.value.keyword=o)),g:e.p({"show-action":!1,placeholder:"搜索房屋名称/仪表名称",modelValue:e.unref(n.useModel).formData.value.keyword}),h:e.o(null==(m=e.unref(o.method))?void 0:m.handleChangeFilter),i:e.o(null==(p=e.unref(o.method))?void 0:p.handleChangeFilter),j:e.p({params:e.unref(n.useModel).formData.value}),k:e.o(null==(c=e.unref(o.method))?void 0:c.handleChangeFilterReadingStatus),l:e.p({Enums:r,title:"抄表状态"}),m:e.f(null==(v=null==(h=e.unref(n.useModel))?void 0:h.listData)?void 0:v.value,((n,l,u)=>e.e({a:"WaterMeter"===(null==n?void 0:n.usage_type)},(null==n||n.usage_type,{}),{b:"ElectricMeter"===(null==n?void 0:n.usage_type)},(null==n||n.usage_type,{}),{c:e.f(null==n?void 0:n.house_meter_has_houses,((o,n,l)=>({a:e.t(null==o?void 0:o.full_name),b:`house_${n}`}))),d:e.t(null==n?void 0:n.name),e:e.t(null==n?void 0:n.latest_value),f:e.t(null==n?void 0:n.latest_time),g:e.o((l=>{var u;return null==(u=e.unref(o.method))?void 0:u.handleToAdd(n)}),`items_${l}`),h:"7f08fc71-7-"+u+",7f08fc71-6",i:`items_${l}`}))),n:e.p({type:"primary",label:"抄表"}),o:e.o(null==(f=e.unref(o.method))?void 0:f.handleLoad),p:e.p({meta:null==(j=null==(g=e.unref(n.useModel))?void 0:g.metaData)?void 0:j.value})}}}});wx.createPage(l); +"use strict";const e=require("../../../common/vendor.js"),l=require("../../../gen/Enums.js"),o=require("./method.js"),u=require("./model.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-tabs")+e.resolveComponent("uni-icons")+e.resolveComponent("up-search")+e.resolveComponent("hs-radio")+e.resolveComponent("cc-scroll-loading"))()}Math||((()=>"../../../components/hs-tabs/hs-tabs.js")+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../node-modules/uview-plus/components/u-search/u-search.js")+(()=>"../../../components/hs-radio/hs-radio.js")+n+r+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const n=()=>"./components/HouseAreaList.js",r=()=>"./components/SharedAreaList.js",a=e.defineComponent({__name:"index",setup(n){const r=[{label:"房屋表",value:"HouseMeter"},{label:"公摊表",value:"CommonMeter"}],a=[{label:"超30天未抄表",value:"30",color:"#0082FA"},{label:"超60天未抄表",value:"60",color:"#FF8F26"},{label:"超90天未抄表",value:"90",color:"#DF3600"}],s={all:{text:"全部",value:""},...l.HouseMetersUsageTypeEnum};return e.onLoad(e=>{u.useModel.formData.value.asset_projects_id=null==e?void 0:e.id}),e.onShow(()=>{var e,l,n,r;u.useModel.formData.value.page=1,(null==(n=null==(l=null==(e=u.useModel)?void 0:e.listData)?void 0:l.value)?void 0:n.length)||null==(r=o.method)||r.getMenuList()}),e.onUnload(()=>{u.useModel.currentTabs.value=0,u.useModel.listData.value=[],u.useModel.formData.value={page:1,keyword:"",meter_type:"HouseMeter"}}),(l,n)=>{var t,d,i,v,m,c,f,h,_,p,M,b,g,j,y,D,T,q,w,C,k,F,A,L,S,H,$,x;return e.e({a:e.o(null==(t=e.unref(o.method))?void 0:t.handleChangeTabs),b:e.p({list:r,current:null==(i=null==(d=e.unref(u.useModel))?void 0:d.currentTabs)?void 0:i.value}),c:e.p({type:"right",size:"13",color:"#333"}),d:e.o(l=>{var u;return null==(u=e.unref(o.method))?void 0:u.handleToLog()}),e:null==(m=null==(v=e.unref(u.useModel))?void 0:v.currentTabs)?void 0:m.value},(null==(f=null==(c=e.unref(u.useModel))?void 0:c.currentTabs)?void 0:f.value)?{f:e.o(null==(h=e.unref(o.method))?void 0:h.handleSearch),g:e.o(l=>e.unref(u.useModel).formData.value.keyword=l),h:e.p({"show-action":!1,placeholder:"仪表名称",modelValue:e.unref(u.useModel).formData.value.keyword})}:{},{i:e.o(null==(_=e.unref(o.method))?void 0:_.handleChangeUsageTypeFilter),j:e.o(l=>e.unref(u.useModel).formData.value.usage_type=l),k:e.p({Enums:s,modelValue:e.unref(u.useModel).formData.value.usage_type}),l:e.f(a,(l,n,r)=>{var a,s,t;return{a:null==l?void 0:l.color,b:e.t(null==l?void 0:l.label),c:`instrument_day_num_${n}`,d:e.n("filter_day_item "+((null==(t=null==(s=null==(a=e.unref(u.useModel))?void 0:a.formData)?void 0:s.value)?void 0:t.overdue_days)===(null==l?void 0:l.value)?"filter_day_item_active":"")),e:e.o(u=>{var n;return null==(n=e.unref(o.method))?void 0:n.handleChangeOverdueDaysFilter(l)},`instrument_day_num_${n}`)}}),m:e.n("header "+((null==(M=null==(p=e.unref(u.useModel))?void 0:p.currentTabs)?void 0:M.value)?"":"header_two")),n:!(null==(g=null==(b=e.unref(u.useModel))?void 0:b.currentTabs)?void 0:g.value)},(null==(y=null==(j=e.unref(u.useModel))?void 0:j.currentTabs)?void 0:y.value)?{}:{o:e.f(null==(T=null==(D=e.unref(u.useModel))?void 0:D.listMenuData)?void 0:T.value,(l,n,r)=>{var a,s,t;return{a:e.t(null==l?void 0:l.asset_buildings_name),b:e.t(null==l?void 0:l.name),c:`menu_item_${n}`,d:e.n("menu_item "+((null==(t=null==(s=null==(a=e.unref(u.useModel))?void 0:a.formData)?void 0:s.value)?void 0:t.asset_units_id)===(null==l?void 0:l.id)?"menu_item_active":"")),e:e.o(u=>{var n;return null==(n=e.unref(o.method))?void 0:n.handleChangeFilter({asset_units_id:null==l?void 0:l.id})},`menu_item_${n}`)}})},{p:!(null==(w=null==(q=e.unref(u.useModel))?void 0:q.currentTabs)?void 0:w.value)},(null==(k=null==(C=e.unref(u.useModel))?void 0:C.currentTabs)||k.value,{}),{q:e.o(null==(F=e.unref(o.method))?void 0:F.handleLoad),r:e.p({meta:null==(L=null==(A=e.unref(u.useModel))?void 0:A.metaData)?void 0:L.value}),s:e.n(""+((null==(H=null==(S=e.unref(u.useModel))?void 0:S.currentTabs)?void 0:H.value)?"":"work_item_content")),t:e.n("work_contents "+((null==(x=null==($=e.unref(u.useModel))?void 0:$.currentTabs)?void 0:x.value)?"":"work_contents_two"))})}}});wx.createPage(a); diff --git a/dist/build/mp-weixin/ME/instrument/list/index.json b/dist/build/mp-weixin/ME/instrument/list/index.json index 0a05626..d621e27 100644 --- a/dist/build/mp-weixin/ME/instrument/list/index.json +++ b/dist/build/mp-weixin/ME/instrument/list/index.json @@ -4,10 +4,9 @@ "hs-tabs": "../../../components/hs-tabs/hs-tabs", "uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons", "up-search": "../../../node-modules/uview-plus/components/u-search/u-search", - "hs-popup-project": "../../../components/hs-popup-project/hs-popup-project", - "hs-popup-building": "../../../components/hs-popup-building/hs-popup-building", - "hs-radio-picker-enum": "../../../components/hs-radio-picker-enum/hs-radio-picker-enum", - "hs-button": "../../../components/hs-button/hs-button", - "cc-scroll-loading": "../../../common/components/cc-scroll-loading/cc-scroll-loading" + "hs-radio": "../../../components/hs-radio/hs-radio", + "cc-scroll-loading": "../../../common/components/cc-scroll-loading/cc-scroll-loading", + "house-area-list": "./components/HouseAreaList", + "shared-area-list": "./components/SharedAreaList" } } \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/instrument/list/index.wxml b/dist/build/mp-weixin/ME/instrument/list/index.wxml index 3645062..d8bca24 100644 --- a/dist/build/mp-weixin/ME/instrument/list/index.wxml +++ b/dist/build/mp-weixin/ME/instrument/list/index.wxml @@ -1 +1 @@ - 抄表记录 水表 电表{{res.a}} 仪表名称:{{i.d}} 上次读数:{{i.e}} 更新时间:{{i.f}} \ No newline at end of file + 抄表记录 {{i.b}}{{i.a}}{{i.b}} \ No newline at end of file diff --git a/dist/build/mp-weixin/ME/instrument/list/index.wxss b/dist/build/mp-weixin/ME/instrument/list/index.wxss index c48fda0..0d1a8b0 100644 --- a/dist/build/mp-weixin/ME/instrument/list/index.wxss +++ b/dist/build/mp-weixin/ME/instrument/list/index.wxss @@ -1 +1 @@ -page{background-color:#f8f8f8}.header{background-color:#fff;position:fixed;left:0;top:0;right:0;height:280rpx;z-index:100;box-shadow:0 3px 7px rgba(206,206,206,.25)}.header .header_tabs{display:flex;align-items:center;justify-content:space-between;padding:0 30rpx}.header .header_tabs .meter_reading_record{color:#333;font-size:28rpx;display:flex;align-items:center}.header .search{padding:20rpx 30rpx 0}.header .filter{display:flex;align-items:center;justify-content:space-between;padding:16rpx 30rpx 0}.work_contents{padding:280rpx 0 30rpx}.work_contents .work_item{background-color:#fff;border-radius:10rpx;margin:30rpx 30rpx 0;border-radius:15rpx;padding:0 30rpx 10rpx}.work_contents .work_item .work_item_header{display:flex;align-items:self-start;padding:25rpx 0}.work_contents .work_item .work_item_header .name{color:#333;font-size:28rpx;font-weight:500;padding:0 30rpx 0 20rpx;flex:1}.work_contents .work_item .work_item_header .name text{padding-right:20rpx}.work_contents .work_item .work_item_header .table_tab{display:flex;align-items:center;padding:6rpx 16rpx;border-radius:8rpx;font-size:24rpx}.work_contents .work_item .work_item_header .table_tab image{width:18rpx;height:24rpx;margin-right:5rpx}.work_contents .work_item .work_item_header .water{background-color:#f0f8ff;color:#0082fa}.work_contents .work_item .work_item_header .electricity{background-color:#fff8f0;color:#ffb30f}.work_contents .work_item .work_item_cell{display:flex;align-items:center;justify-content:space-between;font-size:30rpx;color:#666;padding-bottom:20rpx}.work_contents .work_item .work_item_cell text{color:#333}.work_contents .work_item .footer_item{padding:0 0 20rpx}.card_status_4{border-top:6px solid #ef4444} +page{background-color:#f8f8f8}.header{background-color:#fff;position:fixed;left:0;top:0;right:0;height:385rpx;z-index:100;box-shadow:0 3px 7px rgba(206,206,206,.25)}.header .header_tabs{display:flex;align-items:center;justify-content:space-between;padding:0 30rpx;border-bottom:1rpx solid #eee}.header .header_tabs .meter_reading_record{color:#333;font-size:28rpx;display:flex;align-items:center}.header .search{padding:20rpx 30rpx;border-bottom:1rpx solid #eee}.header .filter{display:flex;align-items:center;justify-content:space-between;padding:16rpx 30rpx 0}.header .filter_content{padding:20rpx 30rpx}.header .filter_day_content{display:flex;align-items:center;padding-top:18rpx}.header .filter_day_content .filter_day_item{padding:8rpx 20rpx;border-radius:100rpx;font-size:24rpx;color:#666;border:1px solid #cacaca;margin-right:10rpx}.header .filter_day_content .filter_day_item text{width:14rpx;height:14rpx;border-radius:100rpx;display:inline-block}.header .filter_day_content .filter_day_item_active{border:1rpx solid #0082fa;color:#0082fa}.header_two{height:280rpx}.work_contents{padding:385rpx 0 30rpx;position:relative}.work_contents .menu_list_content{position:fixed;left:0;bottom:0;top:280rpx;width:170rpx;background-color:#fff;z-index:10}.work_contents .menu_list_content .menu_item{height:75rpx;line-height:75rpx;text-align:center;font-size:25rpx;color:#333;overflow:hidden;ellipsis:1;white-space:nowrap}.work_contents .menu_list_content .menu_item_active{background-color:#f8f8f8;border-left:5rpx solid #0082fa}.work_contents .work_item_content{padding-left:170rpx}.work_contents_two{padding:280rpx 0 30rpx}.card_status_4{border-top:6px solid #ef4444}.meter_btn_primary{background-color:#0082fa;color:#fff;padding:15rpx 30rpx;border-radius:8rpx;font-size:28rpx}.tag_group .table_tab{display:flex;align-items:center;padding:6rpx 16rpx;border-radius:8rpx;font-size:24rpx}.tag_group .table_tab image{width:18rpx;height:24rpx;margin-right:5rpx}.tag_group .water{background-color:#f0f8ff;color:#0082fa}.tag_group .electricity{background-color:#fff8f0;color:#ffb30f}.tag_group .gas{background-color:#fff0f0;color:#f53f3f} diff --git a/dist/build/mp-weixin/ME/instrument/list/method.js b/dist/build/mp-weixin/ME/instrument/list/method.js index 2a242f9..852effd 100644 --- a/dist/build/mp-weixin/ME/instrument/list/method.js +++ b/dist/build/mp-weixin/ME/instrument/list/method.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),a=require("../../../common/libraries/apiLoading.js"),l=require("../../../gen/Apis.js"),u=require("./model.js"),d=()=>{var e,d;a.getApiLoading(l.Apis.Meter.HouseMeters.List,null==(d=null==(e=u.useModel)?void 0:e.formData)?void 0:d.value).then((e=>{u.useModel.listData.value=[...u.useModel.listData.value,...null==e?void 0:e.data],u.useModel.metaData.value=null==e?void 0:e.meta}))},o=()=>{u.useModel.formData.value.page=1,u.useModel.listData.value=[],d()},t={getList:d,handleSearch(){o()},handleChangeFilter(e){u.useModel.formData.value={...u.useModel.formData.value,...e,pahe:1},u.useModel.listData.value=[],d()},handleChangeFilterReadingStatus(e){u.useModel.formData.value={...u.useModel.formData.value,reading_status:(null==e?void 0:e.value)||void 0},u.useModel.listData.value=[],d()},handleChangeTabs(e,a){u.useModel.currentTabs.value=e,u.useModel.formData.value.meter_type=null==a?void 0:a.value,o()},handleLoad(e){u.useModel.formData.value.page=e,d()},handleToAdd(a){e.index.navigateTo({url:`/ME/instrument/add/index?id=${null==a?void 0:a.id}`})},handleToLog(){e.index.navigateTo({url:"/ME/instrument/log/index?id="})}};exports.method=t; +"use strict";const e=require("../../../common/vendor.js"),l=require("../../../common/libraries/apiLoading.js"),a=require("../../../gen/Apis.js"),u=require("./model.js"),o=()=>{var e,o;l.getApiLoading(a.Apis.Meter.HouseMeters.List,null==(o=null==(e=u.useModel)?void 0:e.formData)?void 0:o.value).then(e=>{u.useModel.listData.value=[...u.useModel.listData.value,...null==e?void 0:e.data],u.useModel.metaData.value=null==e?void 0:e.meta})},d=()=>{u.useModel.formData.value.page=1,u.useModel.listData.value=[],o()},i={getList:o,getMenuList:()=>{var e,o;l.getApiLoading(a.Apis.Asset.AssetHouses.SelectPermissionUnit,null==(o=null==(e=u.useModel)?void 0:e.formData)?void 0:o.value).then(e=>{var l,a,o,i,s;u.useModel.listMenuData.value=null==e?void 0:e.data,(null==(l=null==e?void 0:e.data)?void 0:l.length)&&((null==(o=null==(a=u.useModel)?void 0:a.currentTabs)?void 0:o.value)||(u.useModel.formData.value.asset_units_id=null==(s=null==(i=null==e?void 0:e.data)?void 0:i[0])?void 0:s.id),d())})},handleSearch(){d()},handleChangeUsageTypeFilter(e){u.useModel.formData.value.usage_type=(null==e?void 0:e.value)||void 0,d(),console.log("e",e)},handleChangeOverdueDaysFilter(e){var l,a,o;(null==(o=null==(a=null==(l=u.useModel)?void 0:l.formData)?void 0:a.value)?void 0:o.overdue_days)===(null==e?void 0:e.value)?(u.useModel.formData.value.overdue_days=void 0,u.useModel.activeColor.value=""):(u.useModel.formData.value.overdue_days=null==e?void 0:e.value,u.useModel.activeColor.value=null==e?void 0:e.color),d()},handleChangeFilter(e){u.useModel.formData.value={...u.useModel.formData.value,...e,page:1},u.useModel.listData.value=[],o()},handleChangeFilterReadingStatus(e){u.useModel.formData.value={...u.useModel.formData.value,reading_status:(null==e?void 0:e.value)||void 0},u.useModel.listData.value=[],o()},handleChangeTabs(e,l){var a,o,i,s,t,v,n,r,M,m;u.useModel.currentTabs.value=e,u.useModel.formData.value=e?{meter_type:null==l?void 0:l.value,asset_projects_id:null==(i=null==(o=null==(a=u.useModel)?void 0:a.formData)?void 0:o.value)?void 0:i.asset_projects_id}:{meter_type:null==l?void 0:l.value,asset_projects_id:null==(v=null==(t=null==(s=u.useModel)?void 0:s.formData)?void 0:t.value)?void 0:v.asset_projects_id,asset_units_id:null==(m=null==(M=null==(r=null==(n=u.useModel)?void 0:n.listMenuData)?void 0:r.value)?void 0:M[0])?void 0:m.id},d()},handleLoad(e){u.useModel.formData.value.page=null==e?void 0:e.page,o()},handleToAdd(l){e.index.navigateTo({url:`/ME/instrument/add/index?id=${null==l?void 0:l.id}`})},handleToLog(){e.index.navigateTo({url:"/ME/instrument/log/index?id="})}};exports.method=i; diff --git a/dist/build/mp-weixin/ME/instrument/list/model.js b/dist/build/mp-weixin/ME/instrument/list/model.js index 92b0cbd..b5e686c 100644 --- a/dist/build/mp-weixin/ME/instrument/list/model.js +++ b/dist/build/mp-weixin/ME/instrument/list/model.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),r={currentTabs:e.ref(0),formData:e.ref({page:1,keyword:"",meter_type:"HouseMeter"}),listData:e.ref([]),metaData:e.ref({})};exports.useModel=r; +"use strict";const e=require("../../../common/vendor.js"),r={currentTabs:e.ref(0),listMenuData:e.ref([]),formData:e.ref({page:1,keyword:"",meter_type:"HouseMeter",overdue_days:void 0}),listData:e.ref([]),metaData:e.ref({}),activeColor:e.ref("")};exports.useModel=r; diff --git a/dist/build/mp-weixin/ME/instrument/log/index.js b/dist/build/mp-weixin/ME/instrument/log/index.js index 4e58f86..7a81dea 100644 --- a/dist/build/mp-weixin/ME/instrument/log/index.js +++ b/dist/build/mp-weixin/ME/instrument/log/index.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("./method.js"),l=require("./model.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-tabs")+e.resolveComponent("up-search")+e.resolveComponent("hs-popup-project")+e.resolveComponent("hs-popup-building")+e.resolveComponent("cc-scroll-loading"))()}Math||((()=>"../../../components/hs-tabs/hs-tabs.js")+(()=>"../../../node-modules/uview-plus/components/u-search/u-search.js")+(()=>"../../../components/hs-popup-project/hs-popup-project.js")+(()=>"../../../components/hs-popup-building/hs-popup-building.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const u=e.defineComponent({__name:"index",setup(u){const n=[{label:"住户仪表",value:"HouseMeter"},{label:"公共仪表",value:"CommonMeter"}];return e.onLoad((()=>{var e;l.useModel.formData.value.page=1,l.useModel.listData.value=[],null==(e=o.method)||e.getList()})),(u,r)=>{var s,t,a,i,d,m,p,v,h,c,f;return{a:e.o(null==(s=e.unref(o.method))?void 0:s.handleChangeTabs),b:e.p({list:n,current:null==(a=null==(t=e.unref(l.useModel))?void 0:t.currentTabs)?void 0:a.value}),c:e.o(null==(i=e.unref(o.method))?void 0:i.handleSearch),d:e.o((o=>e.unref(l.useModel).formData.value.keyword=o)),e:e.p({"show-action":!1,placeholder:"搜索房屋名称/仪表名称",modelValue:e.unref(l.useModel).formData.value.keyword}),f:e.o(null==(d=e.unref(o.method))?void 0:d.handleChangeFilter),g:e.o(null==(m=e.unref(o.method))?void 0:m.handleChangeFilter),h:e.p({params:e.unref(l.useModel).formData.value}),i:e.f(null==(v=null==(p=e.unref(l.useModel))?void 0:p.listData)?void 0:v.value,((l,u,n)=>{var r,s,t,a,i,d,m;return e.e({a:"WaterMeter"===(null==(r=null==l?void 0:l.house_meter)?void 0:r.usage_type)},(null==(s=null==l?void 0:l.house_meter)||s.usage_type,{}),{b:"ElectricMeter"===(null==(t=null==l?void 0:l.house_meter)?void 0:t.usage_type)},(null==(a=null==l?void 0:l.house_meter)||a.usage_type,{}),{c:e.f(null==(i=null==l?void 0:l.house_meter)?void 0:i.house_meter_has_houses,((o,l,u)=>({a:e.t(null==o?void 0:o.full_name),b:`house_${l}`}))),d:e.t(null==(d=null==l?void 0:l.house_meter)?void 0:d.name),e:e.t(null==l?void 0:l.current_reading),f:e.t(null==l?void 0:l.reading_time),g:e.t(null==(m=null==l?void 0:l.company_employee)?void 0:m.name),h:`items_${u}`,i:e.o((u=>{var n;return null==(n=e.unref(o.method))?void 0:n.handleToDetail(l)}),`items_${u}`)})})),j:e.o(null==(h=e.unref(o.method))?void 0:h.handleLoad),k:e.p({meta:null==(f=null==(c=e.unref(l.useModel))?void 0:c.metaData)?void 0:f.value})}}}});wx.createPage(u); +"use strict";const e=require("../../../common/vendor.js"),o=require("./method.js"),l=require("./model.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-tabs")+e.resolveComponent("up-search")+e.resolveComponent("hs-popup-project")+e.resolveComponent("hs-popup-building")+e.resolveComponent("cc-scroll-loading"))()}Math||((()=>"../../../components/hs-tabs/hs-tabs.js")+(()=>"../../../node-modules/uview-plus/components/u-search/u-search.js")+(()=>"../../../components/hs-popup-project/hs-popup-project.js")+(()=>"../../../components/hs-popup-building/hs-popup-building.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const u=e.defineComponent({__name:"index",setup(u){const n=[{label:"住户仪表",value:"HouseMeter"},{label:"公共仪表",value:"CommonMeter"}];return e.onLoad(()=>{var e;l.useModel.formData.value.page=1,l.useModel.listData.value=[],null==(e=o.method)||e.getList()}),(u,r)=>{var s,t,a,i,d,m,p,v,h,c,f;return{a:e.o(null==(s=e.unref(o.method))?void 0:s.handleChangeTabs),b:e.p({list:n,current:null==(a=null==(t=e.unref(l.useModel))?void 0:t.currentTabs)?void 0:a.value}),c:e.o(null==(i=e.unref(o.method))?void 0:i.handleSearch),d:e.o(o=>e.unref(l.useModel).formData.value.keyword=o),e:e.p({"show-action":!1,placeholder:"搜索房屋名称/仪表名称",modelValue:e.unref(l.useModel).formData.value.keyword}),f:e.o(null==(d=e.unref(o.method))?void 0:d.handleChangeFilter),g:e.o(null==(m=e.unref(o.method))?void 0:m.handleChangeFilter),h:e.p({params:e.unref(l.useModel).formData.value}),i:e.f(null==(v=null==(p=e.unref(l.useModel))?void 0:p.listData)?void 0:v.value,(l,u,n)=>{var r,s,t,a,i,d,m;return e.e({a:"WaterMeter"===(null==(r=null==l?void 0:l.house_meter)?void 0:r.usage_type)},(null==(s=null==l?void 0:l.house_meter)||s.usage_type,{}),{b:"ElectricMeter"===(null==(t=null==l?void 0:l.house_meter)?void 0:t.usage_type)},(null==(a=null==l?void 0:l.house_meter)||a.usage_type,{}),{c:e.f(null==(i=null==l?void 0:l.house_meter)?void 0:i.house_meter_has_houses,(o,l,u)=>({a:e.t(null==o?void 0:o.full_name),b:`house_${l}`})),d:e.t(null==(d=null==l?void 0:l.house_meter)?void 0:d.name),e:e.t(null==l?void 0:l.current_reading),f:e.t(null==l?void 0:l.reading_time),g:e.t(null==(m=null==l?void 0:l.company_employee)?void 0:m.name),h:`items_${u}`,i:e.o(u=>{var n;return null==(n=e.unref(o.method))?void 0:n.handleToDetail(l)},`items_${u}`)})}),j:e.o(null==(h=e.unref(o.method))?void 0:h.handleLoad),k:e.p({meta:null==(f=null==(c=e.unref(l.useModel))?void 0:c.metaData)?void 0:f.value})}}}});wx.createPage(u); diff --git a/dist/build/mp-weixin/ME/instrument/log/method.js b/dist/build/mp-weixin/ME/instrument/log/method.js index 41a558c..0a68c69 100644 --- a/dist/build/mp-weixin/ME/instrument/log/method.js +++ b/dist/build/mp-weixin/ME/instrument/log/method.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),a=require("../../../common/libraries/apiLoading.js"),l=require("../../../gen/Apis.js"),o=require("./model.js"),u=()=>{var e,u;a.getApiLoading(l.Apis.Meter.HouseMeterReadings.List,null==(u=null==(e=o.useModel)?void 0:e.formData)?void 0:u.value).then((e=>{o.useModel.listData.value=[...o.useModel.listData.value,...null==e?void 0:e.data],o.useModel.metaData.value=null==e?void 0:e.meta}))},t=()=>{o.useModel.formData.value.page=1,o.useModel.listData.value=[],u()},d={getList:u,handleSearch(){t()},handleChangeTabs(e,a){o.useModel.currentTabs.value=e,o.useModel.formData.value.meter_type=null==a?void 0:a.value,t()},handleLoad(e){o.useModel.formData.value.page=e,u()},handleChangeFilter(e){o.useModel.formData.value={...o.useModel.formData.value,...e,pahe:1},o.useModel.listData.value=[],u()},handleToDetail(a){e.index.navigateTo({url:`/ME/instrument/log_show/index?id=${null==a?void 0:a.id}`})}};exports.method=d; +"use strict";const e=require("../../../common/vendor.js"),a=require("../../../common/libraries/apiLoading.js"),l=require("../../../gen/Apis.js"),o=require("./model.js"),u=()=>{var e,u;a.getApiLoading(l.Apis.Meter.HouseMeterReadings.List,null==(u=null==(e=o.useModel)?void 0:e.formData)?void 0:u.value).then(e=>{o.useModel.listData.value=[...o.useModel.listData.value,...null==e?void 0:e.data],o.useModel.metaData.value=null==e?void 0:e.meta})},t=()=>{o.useModel.formData.value.page=1,o.useModel.listData.value=[],u()},d={getList:u,handleSearch(){t()},handleChangeTabs(e,a){o.useModel.currentTabs.value=e,o.useModel.formData.value.meter_type=null==a?void 0:a.value,t()},handleLoad(e){o.useModel.formData.value.page=e,u()},handleChangeFilter(e){o.useModel.formData.value={...o.useModel.formData.value,...e,pahe:1},o.useModel.listData.value=[],u()},handleToDetail(a){e.index.navigateTo({url:`/ME/instrument/log_show/index?id=${null==a?void 0:a.id}`})}};exports.method=d; diff --git a/dist/build/mp-weixin/ME/instrument/log_show/index.js b/dist/build/mp-weixin/ME/instrument/log_show/index.js index 537ab08..216be10 100644 --- a/dist/build/mp-weixin/ME/instrument/log_show/index.js +++ b/dist/build/mp-weixin/ME/instrument/log_show/index.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),l=require("./method.js"),u=require("./model.js");require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js");const o=e.defineComponent({__name:"index",setup:o=>(e.onLoad((e=>{var u;null==(u=l.method)||u.getShow(e)})),(o,n)=>{var r,a,d,i,s,v,t,m,h,_,f,c,w,M,D,g,p,j,q,y,b,k,S,W,A,$,x,L,P,C,E,z,B,F,G,H,I,J,K,N,O,Q,R,T,U,V;return e.e({a:"WaterMeter"===(null==(i=null==(d=null==(a=null==(r=e.unref(u.useModel))?void 0:r.showData)?void 0:a.value)?void 0:d.house_meter)?void 0:i.usage_type)},(null==(m=null==(t=null==(v=null==(s=e.unref(u.useModel))?void 0:s.showData)?void 0:v.value)?void 0:t.house_meter)||m.usage_type,{}),{b:"ElectricMeter"===(null==(c=null==(f=null==(_=null==(h=e.unref(u.useModel))?void 0:h.showData)?void 0:_.value)?void 0:f.house_meter)?void 0:c.usage_type)},(null==(g=null==(D=null==(M=null==(w=e.unref(u.useModel))?void 0:w.showData)?void 0:M.value)?void 0:D.house_meter)||g.usage_type,{}),{c:e.f(null==(y=null==(q=null==(j=null==(p=e.unref(u.useModel))?void 0:p.showData)?void 0:j.value)?void 0:q.house_meter)?void 0:y.house_meter_has_houses,((l,u,o)=>({a:e.t(null==l?void 0:l.full_name),b:`house_${u}`}))),d:e.t((null==(W=null==(S=null==(k=null==(b=e.unref(u.useModel))?void 0:b.showData)?void 0:k.value)?void 0:S.house_meter)?void 0:W.name)||"-"),e:e.t((null==(x=null==($=null==(A=e.unref(u.useModel))?void 0:A.showData)?void 0:$.value)?void 0:x.current_reading)||"-"),f:e.t(null==(C=null==(P=null==(L=e.unref(u.useModel))?void 0:L.showData)?void 0:P.value)?void 0:C.reading_time),g:e.t((null==(F=null==(B=null==(z=null==(E=e.unref(u.useModel))?void 0:E.showData)?void 0:z.value)?void 0:B.company_employee)?void 0:F.name)||"-"),h:e.f(null==(I=null==(H=null==(G=e.unref(u.useModel))?void 0:G.showData)?void 0:H.value)?void 0:I.images,((u,o,n)=>({a:null==u?void 0:u.url,b:`attachment_${o}`,c:e.o((u=>{var n;return null==(n=e.unref(l.method))?void 0:n.handlePreview(o)}),`attachment_${o}`)}))),i:null==(N=null==(K=null==(J=e.unref(u.useModel))?void 0:J.showData)?void 0:K.value)?void 0:N.remark},(null==(R=null==(Q=null==(O=e.unref(u.useModel))?void 0:O.showData)?void 0:Q.value)?void 0:R.remark)?{j:e.t((null==(V=null==(U=null==(T=e.unref(u.useModel))?void 0:T.showData)?void 0:U.value)?void 0:V.remark)||"-")}:{})})});wx.createPage(o); +"use strict";const e=require("../../../common/vendor.js"),l=require("./method.js"),u=require("./model.js");require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js");const o=e.defineComponent({__name:"index",setup:o=>(e.onLoad(e=>{var u;null==(u=l.method)||u.getShow(e)}),(o,n)=>{var r,a,d,i,s,v,t,m,h,_,f,c,w,M,D,g,p,j,q,y,b,k,S,W,A,$,x,L,P,C,E,z,B,F,G,H,I,J,K,N,O,Q,R,T,U,V;return e.e({a:"WaterMeter"===(null==(i=null==(d=null==(a=null==(r=e.unref(u.useModel))?void 0:r.showData)?void 0:a.value)?void 0:d.house_meter)?void 0:i.usage_type)},(null==(m=null==(t=null==(v=null==(s=e.unref(u.useModel))?void 0:s.showData)?void 0:v.value)?void 0:t.house_meter)||m.usage_type,{}),{b:"ElectricMeter"===(null==(c=null==(f=null==(_=null==(h=e.unref(u.useModel))?void 0:h.showData)?void 0:_.value)?void 0:f.house_meter)?void 0:c.usage_type)},(null==(g=null==(D=null==(M=null==(w=e.unref(u.useModel))?void 0:w.showData)?void 0:M.value)?void 0:D.house_meter)||g.usage_type,{}),{c:e.f(null==(y=null==(q=null==(j=null==(p=e.unref(u.useModel))?void 0:p.showData)?void 0:j.value)?void 0:q.house_meter)?void 0:y.house_meter_has_houses,(l,u,o)=>({a:e.t(null==l?void 0:l.full_name),b:`house_${u}`})),d:e.t((null==(W=null==(S=null==(k=null==(b=e.unref(u.useModel))?void 0:b.showData)?void 0:k.value)?void 0:S.house_meter)?void 0:W.name)||"-"),e:e.t((null==(x=null==($=null==(A=e.unref(u.useModel))?void 0:A.showData)?void 0:$.value)?void 0:x.current_reading)||"-"),f:e.t(null==(C=null==(P=null==(L=e.unref(u.useModel))?void 0:L.showData)?void 0:P.value)?void 0:C.reading_time),g:e.t((null==(F=null==(B=null==(z=null==(E=e.unref(u.useModel))?void 0:E.showData)?void 0:z.value)?void 0:B.company_employee)?void 0:F.name)||"-"),h:e.f(null==(I=null==(H=null==(G=e.unref(u.useModel))?void 0:G.showData)?void 0:H.value)?void 0:I.images,(u,o,n)=>({a:null==u?void 0:u.url,b:`attachment_${o}`,c:e.o(u=>{var n;return null==(n=e.unref(l.method))?void 0:n.handlePreview(o)},`attachment_${o}`)})),i:null==(N=null==(K=null==(J=e.unref(u.useModel))?void 0:J.showData)?void 0:K.value)?void 0:N.remark},(null==(R=null==(Q=null==(O=e.unref(u.useModel))?void 0:O.showData)?void 0:Q.value)?void 0:R.remark)?{j:e.t((null==(V=null==(U=null==(T=e.unref(u.useModel))?void 0:T.showData)?void 0:U.value)?void 0:V.remark)||"-")}:{})})});wx.createPage(o); diff --git a/dist/build/mp-weixin/ME/instrument/log_show/index.wxss b/dist/build/mp-weixin/ME/instrument/log_show/index.wxss index 06c138a..c0189ad 100644 --- a/dist/build/mp-weixin/ME/instrument/log_show/index.wxss +++ b/dist/build/mp-weixin/ME/instrument/log_show/index.wxss @@ -1 +1 @@ -page{background-color:#f8f8f8}.show_header{margin:30rpx;background-color:#fff;border-radius:15rpx;padding:30rpx}.show_header .header_cell{display:flex;align-items:center;color:#666;font-size:28rpx;padding-top:15rpx}.show_header .hande_name_info{display:flex;align-items:self-start}.show_header .hande_name_info .name{color:#333;font-size:28rpx;font-weight:500;padding:0 30rpx 0 20rpx;flex:1}.show_header .hande_name_info .name text{padding-right:20rpx}.show_header .hande_name_info .table_tab{display:flex;align-items:center;padding:6rpx 16rpx;border-radius:8rpx;font-size:24rpx}.show_header .hande_name_info .table_tab image{width:18rpx;height:24rpx;margin-right:5rpx}.show_header .hande_name_info .water{background-color:#f0f8ff;color:#0082fa}.show_header .hande_name_info .electricity{background-color:#fff8f0;color:#ffb30f}.attachment_img{margin:30rpx;background-color:#fff;padding:30rpx;border-radius:15rpx}.attachment_img .title{font-size:30rpx;font-weight:600}.attachment_img .img_list{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;padding-top:20rpx}.attachment_img .img_list .attachment_img_item{margin-right:20rpx}.attachment_img .img_list .attachment_img_item:last-child{margin-right:0}.attachment_img .img_list image{width:160rpx;height:160rpx}.attachment_img .remark_info{font-size:26rpx;color:#666} +page{background-color:#f8f8f8}.show_header{margin:30rpx;background-color:#fff;border-radius:15rpx;padding:30rpx}.show_header .header_cell{display:flex;align-items:center;color:#666;font-size:28rpx;padding-top:15rpx}.show_header .hande_name_info{display:flex;align-items:self-start}.show_header .hande_name_info .name{color:#333;font-size:28rpx;font-weight:500;padding:0 30rpx 0 20rpx;flex:1}.show_header .hande_name_info .name text{padding-right:20rpx}.show_header .hande_name_info .table_tab{display:flex;align-items:center;padding:6rpx 16rpx;border-radius:8rpx;font-size:24rpx}.show_header .hande_name_info .table_tab image{width:18rpx;height:24rpx;margin-right:5rpx}.show_header .hande_name_info .water{background-color:#f0f8ff;color:#0082fa}.show_header .hande_name_info .electricity{background-color:#fff8f0;color:#ffb30f}.attachment_img{margin:30rpx;background-color:#fff;padding:30rpx;border-radius:15rpx}.attachment_img .title{font-size:30rpx;font-weight:600}.attachment_img .img_list{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;padding-top:20rpx}.attachment_img .img_list .attachment_img_item{height:160rpx;margin-right:20rpx;background-color:#f5f5f5;display:flex;align-items:center;justify-content:center}.attachment_img .img_list .attachment_img_item:last-child{margin-right:0}.attachment_img .img_list image{width:160rpx;height:160rpx}.attachment_img .remark_info{font-size:26rpx;color:#666} diff --git a/dist/build/mp-weixin/ME/instrument/log_show/method.js b/dist/build/mp-weixin/ME/instrument/log_show/method.js index 057c8d3..fa714ce 100644 --- a/dist/build/mp-weixin/ME/instrument/log_show/method.js +++ b/dist/build/mp-weixin/ME/instrument/log_show/method.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/libraries/apiLoading.js"),i=require("../../../gen/Apis.js"),l=require("./model.js"),r={handlePreview(o){var i,r,s,n;e.index.previewImage({urls:null==(n=null==(s=null==(r=null==(i=l.useModel)?void 0:i.showData)?void 0:r.value)?void 0:s.images)?void 0:n.map((e=>(null==e?void 0:e.url)||"")),current:o})},getShow(e){o.getApiLoading(i.Apis.Meter.HouseMeterReadings.Show,e).then((e=>{l.useModel.showData.value=null==e?void 0:e.data,console.log(e)}))}};exports.method=r; +"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/libraries/apiLoading.js"),i=require("../../../gen/Apis.js"),l=require("./model.js"),r={handlePreview(o){var i,r,s,n;e.index.previewImage({urls:null==(n=null==(s=null==(r=null==(i=l.useModel)?void 0:i.showData)?void 0:r.value)?void 0:s.images)?void 0:n.map(e=>(null==e?void 0:e.url)||""),current:o})},getShow(e){o.getApiLoading(i.Apis.Meter.HouseMeterReadings.Show,e).then(e=>{l.useModel.showData.value=null==e?void 0:e.data,console.log(e)})}};exports.method=r; diff --git a/dist/build/mp-weixin/ME/knowledge_qa/index.js b/dist/build/mp-weixin/ME/knowledge_qa/index.js index c661fa0..329f537 100644 --- a/dist/build/mp-weixin/ME/knowledge_qa/index.js +++ b/dist/build/mp-weixin/ME/knowledge_qa/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("./model.js"),r=require("./method.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),!Array){(e.resolveComponent("hs-tabs")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../components/hs-tabs/hs-tabs.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const n=e.defineComponent({__name:"index",setup(n){const s=[{label:"住户服务类",value:"1"},{label:"工单处理类",value:"2"},{label:"催缴费用类",value:"3"}];return(n,t)=>{var u,i,l;return{a:e.o(null==(u=e.unref(r.method))?void 0:u.handleChangeTabs),b:e.p({list:s,current:null==(l=null==(i=e.unref(o.useModel))?void 0:i.currentTabs)?void 0:l.value}),c:e.p({type:"arrow-right",size:"13",color:"#0082FA"}),d:e.o(((...o)=>{var n,s;return(null==(n=e.unref(r.method))?void 0:n.handleShowDetail)&&(null==(s=e.unref(r.method))?void 0:s.handleShowDetail(...o))})),e:e.p({type:"arrow-right",size:"13",color:"#0082FA"}),f:e.o(((...o)=>{var n,s;return(null==(n=e.unref(r.method))?void 0:n.handleShowDetail)&&(null==(s=e.unref(r.method))?void 0:s.handleShowDetail(...o))}))}}}});wx.createPage(n); +"use strict";const e=require("../../common/vendor.js"),o=require("./model.js"),r=require("./method.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),!Array){(e.resolveComponent("hs-tabs")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../components/hs-tabs/hs-tabs.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const n=e.defineComponent({__name:"index",setup(n){const s=[{label:"住户服务类",value:"1"},{label:"工单处理类",value:"2"},{label:"催缴费用类",value:"3"}];return(n,t)=>{var u,i,l;return{a:e.o(null==(u=e.unref(r.method))?void 0:u.handleChangeTabs),b:e.p({list:s,current:null==(l=null==(i=e.unref(o.useModel))?void 0:i.currentTabs)?void 0:l.value}),c:e.p({type:"arrow-right",size:"13",color:"#0082FA"}),d:e.o((...o)=>{var n,s;return(null==(n=e.unref(r.method))?void 0:n.handleShowDetail)&&(null==(s=e.unref(r.method))?void 0:s.handleShowDetail(...o))}),e:e.p({type:"arrow-right",size:"13",color:"#0082FA"}),f:e.o((...o)=>{var n,s;return(null==(n=e.unref(r.method))?void 0:n.handleShowDetail)&&(null==(s=e.unref(r.method))?void 0:s.handleShowDetail(...o))})}}}});wx.createPage(n); diff --git a/dist/build/mp-weixin/ME/push_show/index.js b/dist/build/mp-weixin/ME/push_show/index.js index 4efea2e..b7ef7d6 100644 --- a/dist/build/mp-weixin/ME/push_show/index.js +++ b/dist/build/mp-weixin/ME/push_show/index.js @@ -1 +1 @@ -"use strict";const l=require("../../common/vendor.js"),e=require("./model.js"),o=require("./method.js");require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const u=require("../../common/store/useWeAppAuthStore.js");if(require("../../common/store/useWorkStore.js"),require("../../common/libraries/day.js"),require("../../common/libraries/apiLoading.js"),require("../../gen/Apis.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/sendWxWork.js"),!Array){l.resolveComponent("hs-footer")()}Math;const n=l.defineComponent({__name:"index",setup(n){const d=u.useWeAppAuthStore();return l.onShow((()=>{var l,u,n,d,i,a,r;(null==(n=null==(u=null==(l=e.useModel)?void 0:l.showData)?void 0:u.value)?void 0:n.id)&&(null==(r=o.method)||r.getCustomerMomentsShow(null==(a=null==(i=null==(d=e.useModel)?void 0:d.showData)?void 0:i.value)?void 0:a.id))})),l.onLoad((l=>{var u;e.useModel.formData.value={customer_moments_id:null==l?void 0:l.model_id,company_employee_backlogs_id:null==l?void 0:l.id},null==(u=o.method)||u.getCustomerMomentsShow(null==l?void 0:l.data_id)})),(u,n)=>{var i,a,r,t,v,s,m,h,c,p,f,M,D,w,_,y,C,b,g,q,S,j,k,A,P,W,x,L,G,N,$,I,V,H,z,B,E,F,J,K,O,Q,R,T,U,X,Y,Z,ll,el,ol,ul,nl,dl,il,al,rl,tl,vl,sl,ml,hl,cl,pl,fl,Ml,Dl,wl,_l,yl,Cl,bl,gl,ql,Sl,jl,kl,Al,Pl,Wl,xl,Ll,Gl,Nl,$l,Il,Vl,Hl;return l.e({a:null==(v=null==(t=null==(r=null==(a=null==(i=l.unref(d))?void 0:i.data)?void 0:a.user)?void 0:r.avatar)?void 0:t[0])?void 0:v.url,b:l.t((null==(h=null==(m=null==(s=l.unref(d))?void 0:s.data)?void 0:m.user)?void 0:h.name)||"员工名称"),c:l.t(null==(f=null==(p=null==(c=l.unref(e.useModel))?void 0:c.showData)?void 0:p.value)?void 0:f.title),d:l.t("Sent"===(null==(D=null==(M=l.unref(e.useModel))?void 0:M.status)?void 0:D.value)?"已发送":"待发送"),e:l.n(`status status_${null==(_=null==(w=l.unref(e.useModel))?void 0:w.status)?void 0:_.value}`),f:"Image"===(null==(b=null==(C=null==(y=l.unref(e.useModel))?void 0:y.showData)?void 0:C.value)?void 0:b.content_type)},"Image"===(null==(S=null==(q=null==(g=l.unref(e.useModel))?void 0:g.showData)?void 0:q.value)?void 0:S.content_type)?{g:l.f(null==(A=null==(k=null==(j=l.unref(e.useModel))?void 0:j.showData)?void 0:k.value)?void 0:A.attachments,((l,e,o)=>({a:`img_${e}`,b:l.url})))}:{},{h:"Link"===(null==(x=null==(W=null==(P=l.unref(e.useModel))?void 0:P.showData)?void 0:W.value)?void 0:x.content_type)},"Link"===(null==(N=null==(G=null==(L=l.unref(e.useModel))?void 0:L.showData)?void 0:G.value)?void 0:N.content_type)?{i:l.f(null==(V=null==(I=null==($=l.unref(e.useModel))?void 0:$.showData)?void 0:I.value)?void 0:V.cover_image,((l,e,o)=>({a:`img_${e}`,b:l.url}))),j:l.t(null==(B=null==(z=null==(H=l.unref(e.useModel))?void 0:H.showData)?void 0:z.value)?void 0:B.content)}:{},{k:"Video"===(null==(J=null==(F=null==(E=l.unref(e.useModel))?void 0:E.showData)?void 0:F.value)?void 0:J.content_type)},"Video"===(null==(Q=null==(O=null==(K=l.unref(e.useModel))?void 0:K.showData)?void 0:O.value)?void 0:Q.content_type)?{l:null==(Y=null==(X=null==(U=null==(T=null==(R=l.unref(e.useModel))?void 0:R.showData)?void 0:T.value)?void 0:U.attachments)?void 0:X[0])?void 0:Y.url}:{},{m:"MiniProgram"===(null==(el=null==(ll=null==(Z=l.unref(e.useModel))?void 0:Z.showData)?void 0:ll.value)?void 0:el.content_type)},"MiniProgram"===(null==(nl=null==(ul=null==(ol=l.unref(e.useModel))?void 0:ol.showData)?void 0:ul.value)?void 0:nl.content_type)?{n:l.t(null==(al=null==(il=null==(dl=l.unref(e.useModel))?void 0:dl.showData)?void 0:il.value)?void 0:al.content),o:null==(ml=null==(sl=null==(vl=null==(tl=null==(rl=l.unref(e.useModel))?void 0:rl.showData)?void 0:tl.value)?void 0:vl.cover_image)?void 0:sl[0])?void 0:ml.url}:{},{p:"MomentCorp"===(null==(pl=null==(cl=null==(hl=l.unref(e.useModel))?void 0:hl.showData)?void 0:cl.value)?void 0:pl.channel)},"MomentCorp"===(null==(Dl=null==(Ml=null==(fl=l.unref(e.useModel))?void 0:fl.showData)?void 0:Ml.value)?void 0:Dl.channel)?{q:l.o(null==(wl=l.unref(o.method))?void 0:wl.handleMomentCorpSend),r:l.p({btnParimaryName:"发送客户朋友圈",parimaryDisabled:"Sent"===(null==(yl=null==(_l=l.unref(e.useModel))?void 0:_l.status)?void 0:yl.value)})}:{},{s:"CustomerDirectCorp"===(null==(gl=null==(bl=null==(Cl=l.unref(e.useModel))?void 0:Cl.showData)?void 0:bl.value)?void 0:gl.channel)},"CustomerDirectCorp"===(null==(jl=null==(Sl=null==(ql=l.unref(e.useModel))?void 0:ql.showData)?void 0:Sl.value)?void 0:jl.channel)?{t:l.o(null==(kl=l.unref(o.method))?void 0:kl.handleCustomerDirectCorpSend),v:l.p({btnParimaryName:"1对1群发客户",parimaryDisabled:"Sent"===(null==(Pl=null==(Al=l.unref(e.useModel))?void 0:Al.status)?void 0:Pl.value)})}:{},{w:"CustomerGroupCorp"===(null==(Ll=null==(xl=null==(Wl=l.unref(e.useModel))?void 0:Wl.showData)?void 0:xl.value)?void 0:Ll.channel)},"CustomerGroupCorp"===(null==($l=null==(Nl=null==(Gl=l.unref(e.useModel))?void 0:Gl.showData)?void 0:Nl.value)?void 0:$l.channel)?{x:l.o(null==(Il=l.unref(o.method))?void 0:Il.handleCustomerGroupCorpSend),y:l.p({btnParimaryName:"群发客户群",parimaryDisabled:"Sent"===(null==(Hl=null==(Vl=l.unref(e.useModel))?void 0:Vl.status)?void 0:Hl.value)})}:{})}}});wx.createPage(n); +"use strict";const l=require("../../common/vendor.js"),e=require("./model.js"),o=require("./method.js");require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const u=require("../../common/store/useWeAppAuthStore.js");if(require("../../common/store/useWorkStore.js"),require("../../common/libraries/day.js"),require("../../common/libraries/apiLoading.js"),require("../../gen/Apis.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/sendWxWork.js"),!Array){l.resolveComponent("hs-footer")()}Math;const n=l.defineComponent({__name:"index",setup(n){const d=u.useWeAppAuthStore();return l.onShow(()=>{var l,u,n,d,i,a,r;(null==(n=null==(u=null==(l=e.useModel)?void 0:l.showData)?void 0:u.value)?void 0:n.id)&&(null==(r=o.method)||r.getCustomerMomentsShow(null==(a=null==(i=null==(d=e.useModel)?void 0:d.showData)?void 0:i.value)?void 0:a.id))}),l.onLoad(l=>{var u;e.useModel.formData.value={customer_moments_id:null==l?void 0:l.model_id,company_employee_backlogs_id:null==l?void 0:l.id},null==(u=o.method)||u.getCustomerMomentsShow(null==l?void 0:l.data_id)}),(u,n)=>{var i,a,r,t,v,s,m,h,c,p,f,M,D,w,_,y,C,b,g,q,S,j,k,A,P,W,x,L,G,N,$,I,V,H,z,B,E,F,J,K,O,Q,R,T,U,X,Y,Z,ll,el,ol,ul,nl,dl,il,al,rl,tl,vl,sl,ml,hl,cl,pl,fl,Ml,Dl,wl,_l,yl,Cl,bl,gl,ql,Sl,jl,kl,Al,Pl,Wl,xl,Ll,Gl,Nl,$l,Il,Vl,Hl;return l.e({a:null==(v=null==(t=null==(r=null==(a=null==(i=l.unref(d))?void 0:i.data)?void 0:a.user)?void 0:r.avatar)?void 0:t[0])?void 0:v.url,b:l.t((null==(h=null==(m=null==(s=l.unref(d))?void 0:s.data)?void 0:m.user)?void 0:h.name)||"员工名称"),c:l.t(null==(f=null==(p=null==(c=l.unref(e.useModel))?void 0:c.showData)?void 0:p.value)?void 0:f.title),d:l.t("Sent"===(null==(D=null==(M=l.unref(e.useModel))?void 0:M.status)?void 0:D.value)?"已发送":"待发送"),e:l.n(`status status_${null==(_=null==(w=l.unref(e.useModel))?void 0:w.status)?void 0:_.value}`),f:"Image"===(null==(b=null==(C=null==(y=l.unref(e.useModel))?void 0:y.showData)?void 0:C.value)?void 0:b.content_type)},"Image"===(null==(S=null==(q=null==(g=l.unref(e.useModel))?void 0:g.showData)?void 0:q.value)?void 0:S.content_type)?{g:l.f(null==(A=null==(k=null==(j=l.unref(e.useModel))?void 0:j.showData)?void 0:k.value)?void 0:A.attachments,(l,e,o)=>({a:`img_${e}`,b:l.url}))}:{},{h:"Link"===(null==(x=null==(W=null==(P=l.unref(e.useModel))?void 0:P.showData)?void 0:W.value)?void 0:x.content_type)},"Link"===(null==(N=null==(G=null==(L=l.unref(e.useModel))?void 0:L.showData)?void 0:G.value)?void 0:N.content_type)?{i:l.f(null==(V=null==(I=null==($=l.unref(e.useModel))?void 0:$.showData)?void 0:I.value)?void 0:V.cover_image,(l,e,o)=>({a:`img_${e}`,b:l.url})),j:l.t(null==(B=null==(z=null==(H=l.unref(e.useModel))?void 0:H.showData)?void 0:z.value)?void 0:B.content)}:{},{k:"Video"===(null==(J=null==(F=null==(E=l.unref(e.useModel))?void 0:E.showData)?void 0:F.value)?void 0:J.content_type)},"Video"===(null==(Q=null==(O=null==(K=l.unref(e.useModel))?void 0:K.showData)?void 0:O.value)?void 0:Q.content_type)?{l:null==(Y=null==(X=null==(U=null==(T=null==(R=l.unref(e.useModel))?void 0:R.showData)?void 0:T.value)?void 0:U.attachments)?void 0:X[0])?void 0:Y.url}:{},{m:"MiniProgram"===(null==(el=null==(ll=null==(Z=l.unref(e.useModel))?void 0:Z.showData)?void 0:ll.value)?void 0:el.content_type)},"MiniProgram"===(null==(nl=null==(ul=null==(ol=l.unref(e.useModel))?void 0:ol.showData)?void 0:ul.value)?void 0:nl.content_type)?{n:l.t(null==(al=null==(il=null==(dl=l.unref(e.useModel))?void 0:dl.showData)?void 0:il.value)?void 0:al.content),o:null==(ml=null==(sl=null==(vl=null==(tl=null==(rl=l.unref(e.useModel))?void 0:rl.showData)?void 0:tl.value)?void 0:vl.cover_image)?void 0:sl[0])?void 0:ml.url}:{},{p:"MomentCorp"===(null==(pl=null==(cl=null==(hl=l.unref(e.useModel))?void 0:hl.showData)?void 0:cl.value)?void 0:pl.channel)},"MomentCorp"===(null==(Dl=null==(Ml=null==(fl=l.unref(e.useModel))?void 0:fl.showData)?void 0:Ml.value)?void 0:Dl.channel)?{q:l.o(null==(wl=l.unref(o.method))?void 0:wl.handleMomentCorpSend),r:l.p({btnParimaryName:"发送客户朋友圈",parimaryDisabled:"Sent"===(null==(yl=null==(_l=l.unref(e.useModel))?void 0:_l.status)?void 0:yl.value)})}:{},{s:"CustomerDirectCorp"===(null==(gl=null==(bl=null==(Cl=l.unref(e.useModel))?void 0:Cl.showData)?void 0:bl.value)?void 0:gl.channel)},"CustomerDirectCorp"===(null==(jl=null==(Sl=null==(ql=l.unref(e.useModel))?void 0:ql.showData)?void 0:Sl.value)?void 0:jl.channel)?{t:l.o(null==(kl=l.unref(o.method))?void 0:kl.handleCustomerDirectCorpSend),v:l.p({btnParimaryName:"1对1群发客户",parimaryDisabled:"Sent"===(null==(Pl=null==(Al=l.unref(e.useModel))?void 0:Al.status)?void 0:Pl.value)})}:{},{w:"CustomerGroupCorp"===(null==(Ll=null==(xl=null==(Wl=l.unref(e.useModel))?void 0:Wl.showData)?void 0:xl.value)?void 0:Ll.channel)},"CustomerGroupCorp"===(null==($l=null==(Nl=null==(Gl=l.unref(e.useModel))?void 0:Gl.showData)?void 0:Nl.value)?void 0:$l.channel)?{x:l.o(null==(Il=l.unref(o.method))?void 0:Il.handleCustomerGroupCorpSend),y:l.p({btnParimaryName:"群发客户群",parimaryDisabled:"Sent"===(null==(Hl=null==(Vl=l.unref(e.useModel))?void 0:Vl.status)?void 0:Hl.value)})}:{})}}});wx.createPage(n); diff --git a/dist/build/mp-weixin/ME/push_show/method.js b/dist/build/mp-weixin/ME/push_show/method.js index 5d150a2..8523b8e 100644 --- a/dist/build/mp-weixin/ME/push_show/method.js +++ b/dist/build/mp-weixin/ME/push_show/method.js @@ -1 +1 @@ -"use strict";const l=require("../../common/vendor.js"),e=require("../../common/libraries/apiLoading.js"),o=require("../../gen/Apis.js"),n=require("./model.js");require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const u=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const i=require("../../common/libraries/naviHelper.js"),a=require("../../common/libraries/sendWxWork.js"),d=u.useWeAppAuthStore(),t={getCustomerMomentsShow(l){e.getApiLoading(o.Apis.Customer.CustomerMoments.Show,{id:l}).then((l=>{var e,o,u,i;(null==(o=null==(e=null==l?void 0:l.data)?void 0:e.customer_moment_tasks)?void 0:o.length)&&(n.useModel.status.value=null==(i=null==(u=null==l?void 0:l.data)?void 0:u.customer_moment_tasks[0])?void 0:i.status),n.useModel.showData.value=l.data,console.log(l)}))},async handleMomentCorpSend(){var e,o,u,t,v,s,r,m,h,c,p,M,w,g,D,_,k,x,T,y,f,C,L,q,E,j,S,A,W,U,b,I,V,P,G,H,z,B,F,J,K,N,O,Q,R,X,Y;if("wxwork"===(null==(e=null==d?void 0:d.data)?void 0:e.environment)){if("MomentCorp"===(null==(t=null==(u=null==(o=n.useModel)?void 0:o.showData)?void 0:u.value)?void 0:t.channel)){if("Link"===(null==(r=null==(s=null==(v=n.useModel)?void 0:v.showData)?void 0:s.value)?void 0:r.content_type))return a.shareToExternalMoments({content:null==(c=null==(h=null==(m=n.useModel)?void 0:m.showData)?void 0:h.value)?void 0:c.content,attachments:[{msgtype:"link",link:{title:null==(w=null==(M=null==(p=n.useModel)?void 0:p.showData)?void 0:M.value)?void 0:w.title,imgUrl:null==(x=null==(k=null==(_=null==(D=null==(g=n.useModel)?void 0:g.showData)?void 0:D.value)?void 0:_.cover_image)?void 0:k[0])?void 0:x.url,url:null==(f=null==(y=null==(T=n.useModel)?void 0:T.showData)?void 0:y.value)?void 0:f.skip_url}}]},null==(L=null==(C=n.useModel)?void 0:C.formData)?void 0:L.value),!1;if("Image"===(null==(j=null==(E=null==(q=n.useModel)?void 0:q.showData)?void 0:E.value)?void 0:j.content_type)){l.index.showLoading({title:"准备资料中...",mask:!0});let e=[];return null==(U=null==(W=null==(A=null==(S=n.useModel)?void 0:S.showData)?void 0:A.value)?void 0:W.attachments_media)||U.map((l=>{null==e||e.push({msgtype:"image",image:{mediaid:null==l?void 0:l.media_id}})})),a.shareToExternalMoments({content:null==(V=null==(I=null==(b=n.useModel)?void 0:b.showData)?void 0:I.value)?void 0:V.content,attachments:e},null==(G=null==(P=n.useModel)?void 0:P.formData)?void 0:G.value),setTimeout((()=>{l.index.hideLoading()}),1e3),!1}if("Video"===(null==(B=null==(z=null==(H=n.useModel)?void 0:H.showData)?void 0:z.value)?void 0:B.content_type)){l.index.showLoading({title:"准备资料中...",mask:!0});let e=[];return null==(N=null==(K=null==(J=null==(F=n.useModel)?void 0:F.showData)?void 0:J.value)?void 0:K.attachments_media)||N.map((l=>{null==e||e.push({msgtype:"video",video:{mediaid:null==l?void 0:l.media_id}})})),a.shareToExternalMoments({content:null==(R=null==(Q=null==(O=n.useModel)?void 0:O.showData)?void 0:Q.value)?void 0:R.content,attachments:e},null==(Y=null==(X=n.useModel)?void 0:X.formData)?void 0:Y.value),setTimeout((()=>{l.index.hideLoading()}),1e3),!1}}}else i.showToast("请在企业微信中操作!")},async handleCustomerDirectCorpSend(){var e,o,u,t,v,s,r,m,h,c,p,M,w,g,D,_,k,x,T,y,f,C,L,q,E,j,S,A,W,U,b,I,V,P,G,H,z,B,F,J,K,N,O,Q,R,X,Y,Z,$,ll,el,ol,nl,ul,il,al,dl,tl,vl,sl,rl,ml,hl,cl,pl,Ml;if("wxwork"===(null==(e=null==d?void 0:d.data)?void 0:e.environment)){if("MiniProgram"===(null==(t=null==(u=null==(o=n.useModel)?void 0:o.showData)?void 0:u.value)?void 0:t.content_type)&&a.shareToExternalContactTask({content:null==(r=null==(s=null==(v=n.useModel)?void 0:v.showData)?void 0:s.value)?void 0:r.content,attachments:[{msgtype:"miniprogram",miniprogram:{appid:null==(c=null==(h=null==(m=n.useModel)?void 0:m.showData)?void 0:h.value)?void 0:c.mini_program_app_id,title:null==(w=null==(M=null==(p=n.useModel)?void 0:p.showData)?void 0:M.value)?void 0:w.title,imgUrl:null==(x=null==(k=null==(_=null==(D=null==(g=n.useModel)?void 0:g.showData)?void 0:D.value)?void 0:_.cover_image)?void 0:k[0])?void 0:x.url,page:null==(f=null==(y=null==(T=n.useModel)?void 0:T.showData)?void 0:y.value)?void 0:f.skip_url}}]},null==(L=null==(C=n.useModel)?void 0:C.formData)?void 0:L.value),"Link"===(null==(j=null==(E=null==(q=n.useModel)?void 0:q.showData)?void 0:E.value)?void 0:j.content_type)&&a.shareToExternalContactTask({content:null==(W=null==(A=null==(S=n.useModel)?void 0:S.showData)?void 0:A.value)?void 0:W.content,attachments:[{msgtype:"link",link:{title:null==(I=null==(b=null==(U=n.useModel)?void 0:U.showData)?void 0:b.value)?void 0:I.title,imgUrl:null==(z=null==(H=null==(G=null==(P=null==(V=n.useModel)?void 0:V.showData)?void 0:P.value)?void 0:G.cover_image)?void 0:H[0])?void 0:z.url,url:null==(J=null==(F=null==(B=n.useModel)?void 0:B.showData)?void 0:F.value)?void 0:J.skip_url}}]},null==(N=null==(K=n.useModel)?void 0:K.formData)?void 0:N.value),"Image"===(null==(R=null==(Q=null==(O=n.useModel)?void 0:O.showData)?void 0:Q.value)?void 0:R.content_type)){l.index.showLoading({title:"准备资料中...",mask:!0});let e=[];return null==($=null==(Z=null==(Y=null==(X=n.useModel)?void 0:X.showData)?void 0:Y.value)?void 0:Z.attachments_media)||$.map((l=>{null==e||e.push({msgtype:"image",image:{mediaid:null==l?void 0:l.media_id}})})),a.shareToExternalContactTask({content:null==(ol=null==(el=null==(ll=n.useModel)?void 0:ll.showData)?void 0:el.value)?void 0:ol.content,attachments:e},null==(ul=null==(nl=n.useModel)?void 0:nl.formData)?void 0:ul.value),setTimeout((()=>{l.index.hideLoading()}),1e3),!1}if("Video"===(null==(dl=null==(al=null==(il=n.useModel)?void 0:il.showData)?void 0:al.value)?void 0:dl.content_type)){l.index.showLoading({title:"准备资料中...",mask:!0});let e=[];return null==(rl=null==(sl=null==(vl=null==(tl=n.useModel)?void 0:tl.showData)?void 0:vl.value)?void 0:sl.attachments_media)||rl.map((l=>{null==e||e.push({msgtype:"video",video:{mediaid:null==l?void 0:l.media_id}})})),a.shareToExternalContactTask({content:null==(cl=null==(hl=null==(ml=n.useModel)?void 0:ml.showData)?void 0:hl.value)?void 0:cl.content,attachments:e},null==(Ml=null==(pl=n.useModel)?void 0:pl.formData)?void 0:Ml.value),setTimeout((()=>{l.index.hideLoading()}),1e3),!1}}else i.showToast("请在企业微信中操作!")},async handleCustomerGroupCorpSend(){var e,o,u,t,v,s,r,m,h,c,p,M,w,g,D,_,k,x,T,y,f,C,L,q,E,j,S,A,W,U,b,I,V,P,G,H,z,B,F,J,K,N,O,Q,R,X,Y,Z,$,ll,el,ol,nl,ul,il,al,dl,tl,vl,sl,rl,ml,hl,cl,pl,Ml;if("wxwork"===(null==(e=null==d?void 0:d.data)?void 0:e.environment)){if("MiniProgram"===(null==(t=null==(u=null==(o=n.useModel)?void 0:o.showData)?void 0:u.value)?void 0:t.content_type)&&a.shareToExternalChatTask({content:null==(r=null==(s=null==(v=n.useModel)?void 0:v.showData)?void 0:s.value)?void 0:r.content,attachments:[{msgtype:"miniprogram",miniprogram:{appid:null==(c=null==(h=null==(m=n.useModel)?void 0:m.showData)?void 0:h.value)?void 0:c.mini_program_app_id,title:null==(w=null==(M=null==(p=n.useModel)?void 0:p.showData)?void 0:M.value)?void 0:w.title,imgUrl:null==(x=null==(k=null==(_=null==(D=null==(g=n.useModel)?void 0:g.showData)?void 0:D.value)?void 0:_.cover_image)?void 0:k[0])?void 0:x.url,page:null==(f=null==(y=null==(T=n.useModel)?void 0:T.showData)?void 0:y.value)?void 0:f.skip_url}}]},null==(L=null==(C=n.useModel)?void 0:C.formData)?void 0:L.value),"Link"===(null==(j=null==(E=null==(q=n.useModel)?void 0:q.showData)?void 0:E.value)?void 0:j.content_type)&&a.shareToExternalChatTask({content:null==(W=null==(A=null==(S=n.useModel)?void 0:S.showData)?void 0:A.value)?void 0:W.content,attachments:[{msgtype:"link",link:{title:null==(I=null==(b=null==(U=n.useModel)?void 0:U.showData)?void 0:b.value)?void 0:I.title,imgUrl:null==(z=null==(H=null==(G=null==(P=null==(V=n.useModel)?void 0:V.showData)?void 0:P.value)?void 0:G.cover_image)?void 0:H[0])?void 0:z.url,url:null==(J=null==(F=null==(B=n.useModel)?void 0:B.showData)?void 0:F.value)?void 0:J.skip_url}}]},null==(N=null==(K=n.useModel)?void 0:K.formData)?void 0:N.value),"Image"===(null==(R=null==(Q=null==(O=n.useModel)?void 0:O.showData)?void 0:Q.value)?void 0:R.content_type)){l.index.showLoading({title:"准备资料中...",mask:!0});let e=[];return null==($=null==(Z=null==(Y=null==(X=n.useModel)?void 0:X.showData)?void 0:Y.value)?void 0:Z.attachments_media)||$.map((l=>{null==e||e.push({msgtype:"image",image:{mediaid:null==l?void 0:l.media_id}})})),a.shareToExternalChatTask({content:null==(ol=null==(el=null==(ll=n.useModel)?void 0:ll.showData)?void 0:el.value)?void 0:ol.content,attachments:e},null==(ul=null==(nl=n.useModel)?void 0:nl.formData)?void 0:ul.value),setTimeout((()=>{l.index.hideLoading()}),1e3),!1}if("Video"===(null==(dl=null==(al=null==(il=n.useModel)?void 0:il.showData)?void 0:al.value)?void 0:dl.content_type)){l.index.showLoading({title:"准备资料中...",mask:!0});let e=[];return null==(rl=null==(sl=null==(vl=null==(tl=n.useModel)?void 0:tl.showData)?void 0:vl.value)?void 0:sl.attachments_media)||rl.map((l=>{null==e||e.push({msgtype:"video",video:{mediaid:null==l?void 0:l.media_id}})})),a.shareToExternalChatTask({content:null==(cl=null==(hl=null==(ml=n.useModel)?void 0:ml.showData)?void 0:hl.value)?void 0:cl.content,attachments:e},null==(Ml=null==(pl=n.useModel)?void 0:pl.formData)?void 0:Ml.value),setTimeout((()=>{l.index.hideLoading()}),1e3),!1}}else i.showToast("请在企业微信中操作!")}};exports.method=t; +"use strict";const l=require("../../common/vendor.js"),e=require("../../common/libraries/apiLoading.js"),o=require("../../gen/Apis.js"),n=require("./model.js");require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const u=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const i=require("../../common/libraries/naviHelper.js"),a=require("../../common/libraries/sendWxWork.js"),d=u.useWeAppAuthStore(),t={getCustomerMomentsShow(l){e.getApiLoading(o.Apis.Customer.CustomerMoments.Show,{id:l}).then(l=>{var e,o,u,i;(null==(o=null==(e=null==l?void 0:l.data)?void 0:e.customer_moment_tasks)?void 0:o.length)&&(n.useModel.status.value=null==(i=null==(u=null==l?void 0:l.data)?void 0:u.customer_moment_tasks[0])?void 0:i.status),n.useModel.showData.value=l.data,console.log(l)})},async handleMomentCorpSend(){var e,o,u,t,v,s,r,m,h,c,p,M,w,g,D,_,k,x,T,y,f,C,L,q,E,j,S,A,W,U,b,I,V,P,G,H,z,B,F,J,K,N,O,Q,R,X,Y;if("wxwork"===(null==(e=null==d?void 0:d.data)?void 0:e.environment)){if("MomentCorp"===(null==(t=null==(u=null==(o=n.useModel)?void 0:o.showData)?void 0:u.value)?void 0:t.channel)){if("Link"===(null==(r=null==(s=null==(v=n.useModel)?void 0:v.showData)?void 0:s.value)?void 0:r.content_type))return a.shareToExternalMoments({content:null==(c=null==(h=null==(m=n.useModel)?void 0:m.showData)?void 0:h.value)?void 0:c.content,attachments:[{msgtype:"link",link:{title:null==(w=null==(M=null==(p=n.useModel)?void 0:p.showData)?void 0:M.value)?void 0:w.title,imgUrl:null==(x=null==(k=null==(_=null==(D=null==(g=n.useModel)?void 0:g.showData)?void 0:D.value)?void 0:_.cover_image)?void 0:k[0])?void 0:x.url,url:null==(f=null==(y=null==(T=n.useModel)?void 0:T.showData)?void 0:y.value)?void 0:f.skip_url}}]},null==(L=null==(C=n.useModel)?void 0:C.formData)?void 0:L.value),!1;if("Image"===(null==(j=null==(E=null==(q=n.useModel)?void 0:q.showData)?void 0:E.value)?void 0:j.content_type)){l.index.showLoading({title:"准备资料中...",mask:!0});let e=[];return null==(U=null==(W=null==(A=null==(S=n.useModel)?void 0:S.showData)?void 0:A.value)?void 0:W.attachments_media)||U.map(l=>{null==e||e.push({msgtype:"image",image:{mediaid:null==l?void 0:l.media_id}})}),a.shareToExternalMoments({content:null==(V=null==(I=null==(b=n.useModel)?void 0:b.showData)?void 0:I.value)?void 0:V.content,attachments:e},null==(G=null==(P=n.useModel)?void 0:P.formData)?void 0:G.value),setTimeout(()=>{l.index.hideLoading()},1e3),!1}if("Video"===(null==(B=null==(z=null==(H=n.useModel)?void 0:H.showData)?void 0:z.value)?void 0:B.content_type)){l.index.showLoading({title:"准备资料中...",mask:!0});let e=[];return null==(N=null==(K=null==(J=null==(F=n.useModel)?void 0:F.showData)?void 0:J.value)?void 0:K.attachments_media)||N.map(l=>{null==e||e.push({msgtype:"video",video:{mediaid:null==l?void 0:l.media_id}})}),a.shareToExternalMoments({content:null==(R=null==(Q=null==(O=n.useModel)?void 0:O.showData)?void 0:Q.value)?void 0:R.content,attachments:e},null==(Y=null==(X=n.useModel)?void 0:X.formData)?void 0:Y.value),setTimeout(()=>{l.index.hideLoading()},1e3),!1}}}else i.showToast("请在企业微信中操作!")},async handleCustomerDirectCorpSend(){var e,o,u,t,v,s,r,m,h,c,p,M,w,g,D,_,k,x,T,y,f,C,L,q,E,j,S,A,W,U,b,I,V,P,G,H,z,B,F,J,K,N,O,Q,R,X,Y,Z,$,ll,el,ol,nl,ul,il,al,dl,tl,vl,sl,rl,ml,hl,cl,pl,Ml;if("wxwork"===(null==(e=null==d?void 0:d.data)?void 0:e.environment)){if("MiniProgram"===(null==(t=null==(u=null==(o=n.useModel)?void 0:o.showData)?void 0:u.value)?void 0:t.content_type)&&a.shareToExternalContactTask({content:null==(r=null==(s=null==(v=n.useModel)?void 0:v.showData)?void 0:s.value)?void 0:r.content,attachments:[{msgtype:"miniprogram",miniprogram:{appid:null==(c=null==(h=null==(m=n.useModel)?void 0:m.showData)?void 0:h.value)?void 0:c.mini_program_app_id,title:null==(w=null==(M=null==(p=n.useModel)?void 0:p.showData)?void 0:M.value)?void 0:w.title,imgUrl:null==(x=null==(k=null==(_=null==(D=null==(g=n.useModel)?void 0:g.showData)?void 0:D.value)?void 0:_.cover_image)?void 0:k[0])?void 0:x.url,page:null==(f=null==(y=null==(T=n.useModel)?void 0:T.showData)?void 0:y.value)?void 0:f.skip_url}}]},null==(L=null==(C=n.useModel)?void 0:C.formData)?void 0:L.value),"Link"===(null==(j=null==(E=null==(q=n.useModel)?void 0:q.showData)?void 0:E.value)?void 0:j.content_type)&&a.shareToExternalContactTask({content:null==(W=null==(A=null==(S=n.useModel)?void 0:S.showData)?void 0:A.value)?void 0:W.content,attachments:[{msgtype:"link",link:{title:null==(I=null==(b=null==(U=n.useModel)?void 0:U.showData)?void 0:b.value)?void 0:I.title,imgUrl:null==(z=null==(H=null==(G=null==(P=null==(V=n.useModel)?void 0:V.showData)?void 0:P.value)?void 0:G.cover_image)?void 0:H[0])?void 0:z.url,url:null==(J=null==(F=null==(B=n.useModel)?void 0:B.showData)?void 0:F.value)?void 0:J.skip_url}}]},null==(N=null==(K=n.useModel)?void 0:K.formData)?void 0:N.value),"Image"===(null==(R=null==(Q=null==(O=n.useModel)?void 0:O.showData)?void 0:Q.value)?void 0:R.content_type)){l.index.showLoading({title:"准备资料中...",mask:!0});let e=[];return null==($=null==(Z=null==(Y=null==(X=n.useModel)?void 0:X.showData)?void 0:Y.value)?void 0:Z.attachments_media)||$.map(l=>{null==e||e.push({msgtype:"image",image:{mediaid:null==l?void 0:l.media_id}})}),a.shareToExternalContactTask({content:null==(ol=null==(el=null==(ll=n.useModel)?void 0:ll.showData)?void 0:el.value)?void 0:ol.content,attachments:e},null==(ul=null==(nl=n.useModel)?void 0:nl.formData)?void 0:ul.value),setTimeout(()=>{l.index.hideLoading()},1e3),!1}if("Video"===(null==(dl=null==(al=null==(il=n.useModel)?void 0:il.showData)?void 0:al.value)?void 0:dl.content_type)){l.index.showLoading({title:"准备资料中...",mask:!0});let e=[];return null==(rl=null==(sl=null==(vl=null==(tl=n.useModel)?void 0:tl.showData)?void 0:vl.value)?void 0:sl.attachments_media)||rl.map(l=>{null==e||e.push({msgtype:"video",video:{mediaid:null==l?void 0:l.media_id}})}),a.shareToExternalContactTask({content:null==(cl=null==(hl=null==(ml=n.useModel)?void 0:ml.showData)?void 0:hl.value)?void 0:cl.content,attachments:e},null==(Ml=null==(pl=n.useModel)?void 0:pl.formData)?void 0:Ml.value),setTimeout(()=>{l.index.hideLoading()},1e3),!1}}else i.showToast("请在企业微信中操作!")},async handleCustomerGroupCorpSend(){var e,o,u,t,v,s,r,m,h,c,p,M,w,g,D,_,k,x,T,y,f,C,L,q,E,j,S,A,W,U,b,I,V,P,G,H,z,B,F,J,K,N,O,Q,R,X,Y,Z,$,ll,el,ol,nl,ul,il,al,dl,tl,vl,sl,rl,ml,hl,cl,pl,Ml;if("wxwork"===(null==(e=null==d?void 0:d.data)?void 0:e.environment)){if("MiniProgram"===(null==(t=null==(u=null==(o=n.useModel)?void 0:o.showData)?void 0:u.value)?void 0:t.content_type)&&a.shareToExternalChatTask({content:null==(r=null==(s=null==(v=n.useModel)?void 0:v.showData)?void 0:s.value)?void 0:r.content,attachments:[{msgtype:"miniprogram",miniprogram:{appid:null==(c=null==(h=null==(m=n.useModel)?void 0:m.showData)?void 0:h.value)?void 0:c.mini_program_app_id,title:null==(w=null==(M=null==(p=n.useModel)?void 0:p.showData)?void 0:M.value)?void 0:w.title,imgUrl:null==(x=null==(k=null==(_=null==(D=null==(g=n.useModel)?void 0:g.showData)?void 0:D.value)?void 0:_.cover_image)?void 0:k[0])?void 0:x.url,page:null==(f=null==(y=null==(T=n.useModel)?void 0:T.showData)?void 0:y.value)?void 0:f.skip_url}}]},null==(L=null==(C=n.useModel)?void 0:C.formData)?void 0:L.value),"Link"===(null==(j=null==(E=null==(q=n.useModel)?void 0:q.showData)?void 0:E.value)?void 0:j.content_type)&&a.shareToExternalChatTask({content:null==(W=null==(A=null==(S=n.useModel)?void 0:S.showData)?void 0:A.value)?void 0:W.content,attachments:[{msgtype:"link",link:{title:null==(I=null==(b=null==(U=n.useModel)?void 0:U.showData)?void 0:b.value)?void 0:I.title,imgUrl:null==(z=null==(H=null==(G=null==(P=null==(V=n.useModel)?void 0:V.showData)?void 0:P.value)?void 0:G.cover_image)?void 0:H[0])?void 0:z.url,url:null==(J=null==(F=null==(B=n.useModel)?void 0:B.showData)?void 0:F.value)?void 0:J.skip_url}}]},null==(N=null==(K=n.useModel)?void 0:K.formData)?void 0:N.value),"Image"===(null==(R=null==(Q=null==(O=n.useModel)?void 0:O.showData)?void 0:Q.value)?void 0:R.content_type)){l.index.showLoading({title:"准备资料中...",mask:!0});let e=[];return null==($=null==(Z=null==(Y=null==(X=n.useModel)?void 0:X.showData)?void 0:Y.value)?void 0:Z.attachments_media)||$.map(l=>{null==e||e.push({msgtype:"image",image:{mediaid:null==l?void 0:l.media_id}})}),a.shareToExternalChatTask({content:null==(ol=null==(el=null==(ll=n.useModel)?void 0:ll.showData)?void 0:el.value)?void 0:ol.content,attachments:e},null==(ul=null==(nl=n.useModel)?void 0:nl.formData)?void 0:ul.value),setTimeout(()=>{l.index.hideLoading()},1e3),!1}if("Video"===(null==(dl=null==(al=null==(il=n.useModel)?void 0:il.showData)?void 0:al.value)?void 0:dl.content_type)){l.index.showLoading({title:"准备资料中...",mask:!0});let e=[];return null==(rl=null==(sl=null==(vl=null==(tl=n.useModel)?void 0:tl.showData)?void 0:vl.value)?void 0:sl.attachments_media)||rl.map(l=>{null==e||e.push({msgtype:"video",video:{mediaid:null==l?void 0:l.media_id}})}),a.shareToExternalChatTask({content:null==(cl=null==(hl=null==(ml=n.useModel)?void 0:ml.showData)?void 0:hl.value)?void 0:cl.content,attachments:e},null==(Ml=null==(pl=n.useModel)?void 0:pl.formData)?void 0:Ml.value),setTimeout(()=>{l.index.hideLoading()},1e3),!1}}else i.showToast("请在企业微信中操作!")}};exports.method=t; diff --git a/dist/build/mp-weixin/ME/update/index.js b/dist/build/mp-weixin/ME/update/index.js index 1ff7251..34dce9e 100644 --- a/dist/build/mp-weixin/ME/update/index.js +++ b/dist/build/mp-weixin/ME/update/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("./method.js"),r=require("./model.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/upload.js"),!Array){(e.resolveComponent("up-avatar")+e.resolveComponent("hs-cell")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../node-modules/uview-plus/components/u-avatar/u-avatar.js")+(()=>"../../components/hs-cell/hs-cell.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const a=e.defineComponent({__name:"index",setup:a=>(e.onLoad((()=>{var e;null==(e=o.method)||e.init()})),(a,l)=>{var n,u,t,s,i,d,v,m,p,c,f;return e.e({a:null==(t=null==(u=null==(n=e.unref(r.useModel))?void 0:n.formData)?void 0:u.value)?void 0:t.avatar},(null==(d=null==(i=null==(s=e.unref(r.useModel))?void 0:s.formData)?void 0:i.value)?void 0:d.avatar)?{b:e.f(null==(p=null==(m=null==(v=e.unref(r.useModel))?void 0:v.formData)?void 0:m.value)?void 0:p.avatar,((o,r,a)=>({a:"7053b0d8-1-"+a+",7053b0d8-0",b:e.p({size:"50",src:null==o?void 0:o.url}),c:`avatar_${r}`})))}:{c:e.p({size:"50"})},{d:e.o(((...r)=>{var a,l;return(null==(a=e.unref(o.method))?void 0:a.handleChooseAvatar)&&(null==(l=e.unref(o.method))?void 0:l.handleChooseAvatar(...r))})),e:e.p({title:"头像",borderTop:!0}),f:e.p({title:"姓名",borderTop:!0,value:null==(c=e.unref(r.useModel).formData.value)?void 0:c.name}),g:e.p({title:"手机号",borderTop:!0,value:null==(f=e.unref(r.useModel).formData.value)?void 0:f.phone}),h:e.o((r=>{var a;return null==(a=e.unref(o.method))?void 0:a.handleLogout()})),i:e.p({btnParimaryName:"退出登录"})})})});wx.createPage(a); +"use strict";const e=require("../../common/vendor.js"),o=require("./method.js"),r=require("./model.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/upload.js"),!Array){(e.resolveComponent("up-avatar")+e.resolveComponent("hs-cell")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../node-modules/uview-plus/components/u-avatar/u-avatar.js")+(()=>"../../components/hs-cell/hs-cell.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const a=e.defineComponent({__name:"index",setup:a=>(e.onLoad(()=>{var e;null==(e=o.method)||e.init()}),(a,l)=>{var n,u,t,s,i,d,v,m,p,c,f;return e.e({a:null==(t=null==(u=null==(n=e.unref(r.useModel))?void 0:n.formData)?void 0:u.value)?void 0:t.avatar},(null==(d=null==(i=null==(s=e.unref(r.useModel))?void 0:s.formData)?void 0:i.value)?void 0:d.avatar)?{b:e.f(null==(p=null==(m=null==(v=e.unref(r.useModel))?void 0:v.formData)?void 0:m.value)?void 0:p.avatar,(o,r,a)=>({a:"7053b0d8-1-"+a+",7053b0d8-0",b:e.p({size:"50",src:null==o?void 0:o.url}),c:`avatar_${r}`}))}:{c:e.p({size:"50"})},{d:e.o((...r)=>{var a,l;return(null==(a=e.unref(o.method))?void 0:a.handleChooseAvatar)&&(null==(l=e.unref(o.method))?void 0:l.handleChooseAvatar(...r))}),e:e.p({title:"头像",borderTop:!0}),f:e.p({title:"姓名",borderTop:!0,value:null==(c=e.unref(r.useModel).formData.value)?void 0:c.name}),g:e.p({title:"手机号",borderTop:!0,value:null==(f=e.unref(r.useModel).formData.value)?void 0:f.phone}),h:e.o(r=>{var a;return null==(a=e.unref(o.method))?void 0:a.handleLogout()}),i:e.p({btnParimaryName:"退出登录"})})})});wx.createPage(a); diff --git a/dist/build/mp-weixin/ME/update/method.js b/dist/build/mp-weixin/ME/update/method.js index 59e33de..d57cc0f 100644 --- a/dist/build/mp-weixin/ME/update/method.js +++ b/dist/build/mp-weixin/ME/update/method.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js");require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const o=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const a=require("../../common/libraries/apiLoading.js"),r=require("../../common/libraries/naviHelper.js"),s=require("./model.js"),i=require("../../gen/Apis.js"),t=require("../../common/libraries/upload.js"),l=o.useWeAppAuthStore(),n=o=>{a.getApiLoading(i.Apis.Login.Auth.ChangeAvatar,o).then((a=>{l.data.user={...l.data.user,...o},s.useModel.formData.value={...l.data.user,...o},e.index.showToast({icon:"success",title:"编辑成功!",duration:2e3}),console.log(a)}))},u={init(){var e;s.useModel.formData.value=(null==(e=null==l?void 0:l.data)?void 0:e.user)||{}},handleChooseAvatar:async e=>{var o,a;if(null==(o=null==e?void 0:e.detail)?void 0:o.avatarUrl){let o=await t.avatarUpload(null==(a=null==e?void 0:e.detail)?void 0:a.avatarUrl);n({avatar:o}),console.log(o,"filePath")}console.log(e,"eeeee")},handleConfirm(e){n({name:e}),console.log(e,"eeeee")},handleLogout(){a.getApiLoading(i.Apis.Login.Auth.Logout,{}).then((e=>{l.data={user:void 0},r.showToastBack("退出成功!",1,!0),console.log(e)}))}};exports.method=u; +"use strict";const e=require("../../common/vendor.js");require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const o=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const a=require("../../common/libraries/apiLoading.js"),r=require("../../common/libraries/naviHelper.js"),s=require("./model.js"),i=require("../../gen/Apis.js"),t=require("../../common/libraries/upload.js"),l=o.useWeAppAuthStore(),n=o=>{a.getApiLoading(i.Apis.Login.Auth.ChangeAvatar,o).then(a=>{l.data.user={...l.data.user,...o},s.useModel.formData.value={...l.data.user,...o},e.index.showToast({icon:"success",title:"编辑成功!",duration:2e3}),console.log(a)})},u={init(){var e;s.useModel.formData.value=(null==(e=null==l?void 0:l.data)?void 0:e.user)||{}},handleChooseAvatar:async e=>{var o,a;if(null==(o=null==e?void 0:e.detail)?void 0:o.avatarUrl){let o=await t.avatarUpload(null==(a=null==e?void 0:e.detail)?void 0:a.avatarUrl);n({avatar:o}),console.log(o,"filePath")}console.log(e,"eeeee")},handleConfirm(e){n({name:e}),console.log(e,"eeeee")},handleLogout(){a.getApiLoading(i.Apis.Login.Auth.Logout,{}).then(e=>{l.data={user:void 0},r.showToastBack("退出成功!",1,!0),console.log(e)})}};exports.method=u; diff --git a/dist/build/mp-weixin/ME/work_order_home/index.js b/dist/build/mp-weixin/ME/work_order_home/index.js index f38a1e2..f773b77 100644 --- a/dist/build/mp-weixin/ME/work_order_home/index.js +++ b/dist/build/mp-weixin/ME/work_order_home/index.js @@ -1 +1 @@ -"use strict";const o=require("../../common/vendor.js");if(!Array){(o.resolveComponent("uni-icons")+o.resolveComponent("hs-popup"))()}Math||((()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-popup/hs-popup.js"))();const e=o.defineComponent({__name:"index",setup(e){const n=o.ref(!1),t=o.ref(""),p=e=>{o.index.navigateTo({url:e})},a=()=>{n.value=!1},i=[{label:"报修类",des:"设备、设施等出现故障,需维修处理",type:"Repair",icon:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K84V91E3TZ6BPP6VH3MV0A2C.png"},{label:"报事类",des:"噪音/公共卫生等事件需物业处理",type:"Incident",icon:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K84V9RGS3HS1G43RWFFTC4FZ.png"}],l=[{label:"公共区域报修",type:"CommonArea",icon:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K84WNKS9GNHQEV2EQ3N3HWW8.png"},{label:"房屋区域报修",type:"MyHome",icon:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K84XQQGNN7B30Q8S6RJMJGPS.png"}];return o.onHide((()=>{n.value=!1})),(e,s)=>({a:o.o((o=>p("/WORKORDER/list_log/index"))),b:o.o((o=>p("/WORKORDER/list/index"))),c:o.f(i,((e,p,a)=>({a:e.icon,b:o.t(e.label),c:o.t(e.des),d:"090f2c6e-0-"+a,e:`item_${p}`,f:o.o((p=>{return a=e,t.value=(null==a?void 0:a.type)||"",void("报修类"!==(null==a?void 0:a.label)?o.index.navigateTo({url:`/WORKORDER/add/index?type=${null==a?void 0:a.type}&location=CommonArea`}):n.value=!0);var a}),`item_${p}`)}))),d:o.p({type:"right",color:"#999",size:"16"}),e:o.f(l,((e,n,p)=>({a:e.icon,b:o.t(e.label),c:"090f2c6e-2-"+p+",090f2c6e-1",d:`item_${n}`,e:o.o((n=>{return p=e,void o.index.navigateTo({url:`/WORKORDER/add/index?type=${t.value}&location=${null==p?void 0:p.type}`});var p}),`item_${n}`)}))),f:o.p({type:"right",color:"#999",size:"16"}),g:o.o(a),h:o.p({show:n.value,mode:"bottom",closeable:!0,round:20})})}});wx.createPage(e); +"use strict";const o=require("../../common/vendor.js");if(!Array){(o.resolveComponent("uni-icons")+o.resolveComponent("hs-popup"))()}Math||((()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-popup/hs-popup.js"))();const e=o.defineComponent({__name:"index",setup(e){const n=o.ref(!1),t=o.ref(""),p=e=>{o.index.navigateTo({url:e})},a=()=>{n.value=!1},i=[{label:"报修类",des:"设备、设施等出现故障,需维修处理",type:"Repair",icon:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K84V91E3TZ6BPP6VH3MV0A2C.png"},{label:"报事类",des:"噪音/公共卫生等事件需物业处理",type:"Incident",icon:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K84V9RGS3HS1G43RWFFTC4FZ.png"}],l=[{label:"公共区域报修",type:"CommonArea",icon:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K84WNKS9GNHQEV2EQ3N3HWW8.png"},{label:"房屋区域报修",type:"MyHome",icon:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K84XQQGNN7B30Q8S6RJMJGPS.png"}];return o.onHide(()=>{n.value=!1}),(e,s)=>({a:o.o(o=>p("/WORKORDER/list_log/index")),b:o.o(o=>p("/WORKORDER/list/index")),c:o.f(i,(e,p,a)=>({a:e.icon,b:o.t(e.label),c:o.t(e.des),d:"090f2c6e-0-"+a,e:`item_${p}`,f:o.o(p=>{return a=e,t.value=(null==a?void 0:a.type)||"",void("报修类"!==(null==a?void 0:a.label)?o.index.navigateTo({url:`/WORKORDER/add/index?type=${null==a?void 0:a.type}&location=CommonArea`}):n.value=!0);var a},`item_${p}`)})),d:o.p({type:"right",color:"#999",size:"16"}),e:o.f(l,(e,n,p)=>({a:e.icon,b:o.t(e.label),c:"090f2c6e-2-"+p+",090f2c6e-1",d:`item_${n}`,e:o.o(n=>{return p=e,void o.index.navigateTo({url:`/WORKORDER/add/index?type=${t.value}&location=${null==p?void 0:p.type}`});var p},`item_${n}`)})),f:o.p({type:"right",color:"#999",size:"16"}),g:o.o(a),h:o.p({show:n.value,mode:"bottom",closeable:!0,round:20})})}});wx.createPage(e); diff --git a/dist/build/mp-weixin/WORKORDER/acceptance/index.js b/dist/build/mp-weixin/WORKORDER/acceptance/index.js new file mode 100644 index 0000000..ed5f02f --- /dev/null +++ b/dist/build/mp-weixin/WORKORDER/acceptance/index.js @@ -0,0 +1 @@ +"use strict";const e=require("../../common/vendor.js"),o=require("./method.js"),r=require("./model.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWorkStore.js"),require("../../gen/Apis.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/naviHelper.js"),!Array){(e.resolveComponent("hs-radio")+e.resolveComponent("hs-cell")+e.resolveComponent("hs-cell-textarea")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../components/hs-radio/hs-radio.js")+(()=>"../../components/hs-cell/hs-cell.js")+(()=>"../../components/hs-cell-textarea/hs-cell-textarea.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const l=e.defineComponent({__name:"index",setup:l=>(e.onLoad(e=>{var r;null==(r=o.method)||r.init(e)}),(l,s)=>{var n,t,u,a,i,m,d,c,p;return e.e({a:e.o(o=>e.unref(r.useModel).formData.value.is_completed=o),b:e.p({Enums:null==(t=null==(n=e.unref(r.useModel))?void 0:n.HouseWorkOrdersAcceptResultEnum)?void 0:t.value,valueModel:e.unref(r.useModel).formData.value.is_completed}),c:e.p({title:"是否确认完工",required:!0,borderTop:!0}),d:"0"===(null==(i=null==(a=null==(u=e.unref(r.useModel))?void 0:u.formData)?void 0:a.value)?void 0:i.is_completed)},"0"===(null==(c=null==(d=null==(m=e.unref(r.useModel))?void 0:m.formData)?void 0:d.value)?void 0:c.is_completed)?{e:e.o(o=>e.unref(r.useModel).formData.value.accept_remark=o),f:e.p({title:"填写原因",required:!0,placeholder:"请详细描述情况,包括具体位置现象等 ",valueModel:e.unref(r.useModel).formData.value.accept_remark})}:{},{g:e.o(null==(p=e.unref(o.method))?void 0:p.handleSubmit),h:e.p({btnParimaryName:"提交"})})})});wx.createPage(l); diff --git a/dist/build/mp-weixin/WORKORDER/acceptance/index.json b/dist/build/mp-weixin/WORKORDER/acceptance/index.json new file mode 100644 index 0000000..e751689 --- /dev/null +++ b/dist/build/mp-weixin/WORKORDER/acceptance/index.json @@ -0,0 +1,9 @@ +{ + "navigationBarTitleText": "验收工单", + "usingComponents": { + "hs-radio": "../../components/hs-radio/hs-radio", + "hs-cell": "../../components/hs-cell/hs-cell", + "hs-cell-textarea": "../../components/hs-cell-textarea/hs-cell-textarea", + "hs-footer": "../../components/hs-footer/hs-footer" + } +} \ No newline at end of file diff --git a/dist/build/mp-weixin/WORKORDER/acceptance/index.wxml b/dist/build/mp-weixin/WORKORDER/acceptance/index.wxml new file mode 100644 index 0000000..50aeeba --- /dev/null +++ b/dist/build/mp-weixin/WORKORDER/acceptance/index.wxml @@ -0,0 +1 @@ + 您选择 “否” 后,这个工单会重新回到处理中,我们会安排工作人员再次处理。 \ No newline at end of file diff --git a/dist/build/mp-weixin/WORKORDER/acceptance/index.wxss b/dist/build/mp-weixin/WORKORDER/acceptance/index.wxss new file mode 100644 index 0000000..7063697 --- /dev/null +++ b/dist/build/mp-weixin/WORKORDER/acceptance/index.wxss @@ -0,0 +1 @@ +page{background-color:#f8f8f8}.card_form{background-color:#fff;padding:0 30rpx;margin-bottom:30rpx}.text_gray{font-size:24rpx;color:#666;padding:25rpx 0 30rpx;border-top:1rpx solid #eee} diff --git a/dist/build/mp-weixin/WORKORDER/acceptance/method.js b/dist/build/mp-weixin/WORKORDER/acceptance/method.js new file mode 100644 index 0000000..92e28d0 --- /dev/null +++ b/dist/build/mp-weixin/WORKORDER/acceptance/method.js @@ -0,0 +1 @@ +"use strict";require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const e=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const o=require("./model.js"),r=require("../../gen/Apis.js"),s=require("../../common/libraries/apiLoading.js"),t=require("../../common/libraries/naviHelper.js");e.useWeAppAuthStore();const i={init(e){o.useModel.HouseWorkOrdersAcceptResultEnum.value={Processing2:{text:"是",value:"1"},Processing1:{text:"否",value:"0"}},o.useModel.formData.value={...e}},handleSubmit(){var e,i;let u=null==(i=null==(e=o.useModel)?void 0:e.formData)?void 0:i.value;return(null==u?void 0:u.is_completed)?"0"!==(null==u?void 0:u.is_completed)||(null==u?void 0:u.accept_remark)?void s.getApiLoading(r.Apis.WorkOrder.HouseWorkOrders.Accept,{...u,is_completed:"1"===(null==u?void 0:u.is_completed)}).then(e=>{t.showToastBack("提交成功!",1,!0),console.log(e)}):t.showToast("请先输入原因!"):t.showToast("请选择是否已经完工!")}};exports.method=i; diff --git a/dist/build/mp-weixin/WORKORDER/acceptance/model.js b/dist/build/mp-weixin/WORKORDER/acceptance/model.js new file mode 100644 index 0000000..38024c0 --- /dev/null +++ b/dist/build/mp-weixin/WORKORDER/acceptance/model.js @@ -0,0 +1 @@ +"use strict";const e=require("../../common/vendor.js"),r={formData:e.ref({}),HouseWorkOrdersAcceptResultEnum:e.ref()};exports.useModel=r; diff --git a/dist/build/mp-weixin/WORKORDER/add/index.js b/dist/build/mp-weixin/WORKORDER/add/index.js index 9b19ee5..989adc9 100644 --- a/dist/build/mp-weixin/WORKORDER/add/index.js +++ b/dist/build/mp-weixin/WORKORDER/add/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("../../gen/Enums.js"),r=require("./method.js"),t=require("./model.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/naviHelper.js"),!Array){(e.resolveComponent("hs-cell")+e.resolveComponent("hs-input")+e.resolveComponent("hs-cell-textarea")+e.resolveComponent("hs-upload")+e.resolveComponent("hs-reservation-picker")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../components/hs-cell/hs-cell.js")+(()=>"../../components/hs-input/hs-input.js")+(()=>"../../components/hs-cell-textarea/hs-cell-textarea.js")+(()=>"../../components/hs-upload/hs-upload.js")+(()=>"../../components/hs-reservation-picker/hs-reservation-picker.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const a=e.defineComponent({__name:"index",setup(a){const l=e.ref({});return e.onLoad((e=>{t.useModel.formData.value.type=(null==e?void 0:e.type)||"",t.useModel.formData.value.location=(null==e?void 0:e.location)||"",console.log(e,"2222")})),e.onShow((()=>{var e;let t=JSON.parse(JSON.stringify(o.HouseWorkOrdersTypeEnum));null==t||delete t.Complaint,l.value=t,o.HouseWorkOrdersLocationEnum.MyHome.text="房屋",null==(e=r.method)||e.init()})),e.onUnload((()=>{t.useModel.formData.value={is_anonymous:!1}})),(o,a)=>{var l,u,n,s,i,m,d;return e.e({a:"MyHome"!==e.unref(t.useModel).formData.value.location},"MyHome"!==e.unref(t.useModel).formData.value.location?{b:e.p({title:"选择项目",required:!0,borderTop:!0,isLink:!0,value:null==(n=null==(u=null==(l=e.unref(t.useModel))?void 0:l.formData)?void 0:u.value)?void 0:n.project_name,isPlaceholder:"请选择项目",url:"/pages/public/select_project/index?source=work_add"})}:{},{c:"MyHome"===e.unref(t.useModel).formData.value.location},"MyHome"===e.unref(t.useModel).formData.value.location?{d:e.p({title:"房屋信息",required:!0,borderTop:!0,isLink:!0,value:null==(m=null==(i=null==(s=e.unref(t.useModel))?void 0:s.formData)?void 0:i.value)?void 0:m.full_name,isPlaceholder:"请选择房屋",url:"/pages/public/asset_houses/index?type=work_add"}),e:e.o((o=>e.unref(t.useModel).formData.value.reporter_name=o)),f:e.p({textAlign:"right",valueModel:e.unref(t.useModel).formData.value.reporter_name}),g:e.p({title:"客户姓名",required:!0,borderTop:!0}),h:e.o((o=>e.unref(t.useModel).formData.value.reporter_phone=o)),i:e.p({maxLength:"11",textAlign:"right",valueModel:e.unref(t.useModel).formData.value.reporter_phone}),j:e.p({title:"客户电话",required:!0,borderTop:!0}),k:e.o((o=>e.unref(t.useModel).formData.value.contact_phone=o)),l:e.p({maxLength:"11",textAlign:"right",valueModel:e.unref(t.useModel).formData.value.contact_phone}),m:e.p({title:"备用联系电话",borderTop:!0})}:{},{n:e.o((o=>e.unref(t.useModel).formData.value.content=o)),o:e.p({borderTop:!0,required:!0,title:"问题描述",placeholder:"请详细描述问题情况,包括具体位置现象等",valueModel:e.unref(t.useModel).formData.value.content}),p:e.o((o=>e.unref(t.useModel).formData.value.attachments=o)),q:e.p({borderTop:!0,title:"上传图片",count:6,valueModel:e.unref(t.useModel).formData.value.attachments}),r:"MyHome"===e.unref(t.useModel).formData.value.location},"MyHome"===e.unref(t.useModel).formData.value.location?{s:e.o((o=>e.unref(t.useModel).formData.value.expect_start_time=o)),t:e.o((o=>e.unref(t.useModel).formData.value.expect_end_time=o)),v:e.p({title:"期望上门时间",required:!0,valueExpectStartTime:e.unref(t.useModel).formData.value.expect_start_time,valueExpectEndTime:e.unref(t.useModel).formData.value.expect_end_time})}:{},{w:e.o(null==(d=e.unref(r.method))?void 0:d.handleSubmit),x:e.p({btnParimaryName:"提交"})})}}});wx.createPage(a); +"use strict";const e=require("../../common/vendor.js"),o=require("../../gen/Enums.js"),r=require("./method.js"),t=require("./model.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/naviHelper.js"),!Array){(e.resolveComponent("hs-cell")+e.resolveComponent("hs-popup-project-houer")+e.resolveComponent("hs-input")+e.resolveComponent("hs-cell-textarea")+e.resolveComponent("hs-upload")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../components/hs-cell/hs-cell.js")+(()=>"../../components/hs-popup-project-houer/hs-popup-project-houer.js")+(()=>"../../components/hs-input/hs-input.js")+(()=>"../../components/hs-cell-textarea/hs-cell-textarea.js")+(()=>"../../components/hs-upload/hs-upload.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const l=e.defineComponent({__name:"index",setup(l){const n=e.ref({});return e.onLoad(e=>{t.useModel.formData.value.type=(null==e?void 0:e.type)||"",t.useModel.formData.value.location=(null==e?void 0:e.location)||"",console.log(e,"2222")}),e.onShow(()=>{var e;let t=JSON.parse(JSON.stringify(o.HouseWorkOrdersTypeEnum));null==t||delete t.Complaint,n.value=t,o.HouseWorkOrdersLocationEnum.MyHome.text="房屋",null==(e=r.method)||e.init()}),e.onUnload(()=>{var e;null==(e=r.method)||e.unInit()}),(o,l)=>{var n,u,a,s,i,m,p,d;return e.e({a:"MyHome"!==e.unref(t.useModel).formData.value.location},"MyHome"!==e.unref(t.useModel).formData.value.location?{b:e.p({title:"选择项目",required:!0,borderTop:!0,isLink:!0,value:null==(a=null==(u=null==(n=e.unref(t.useModel))?void 0:n.formData)?void 0:u.value)?void 0:a.project_name,isPlaceholder:"请选择项目",url:"/pages/public/select_project/index?source=work_add"})}:{},{c:"MyHome"===e.unref(t.useModel).formData.value.location},"MyHome"===e.unref(t.useModel).formData.value.location?{d:e.o(null==(s=e.unref(r.method))?void 0:s.handleSelectProject),e:e.p({title:"选择房屋",defaultValueName:null==(p=null==(m=null==(i=e.unref(t.useModel))?void 0:i.formData)?void 0:m.value)?void 0:p.full_name}),f:e.o(o=>e.unref(t.useModel).formData.value.reporter_name=o),g:e.p({textAlign:"right",valueModel:e.unref(t.useModel).formData.value.reporter_name}),h:e.p({title:"客户姓名",required:!0,borderTop:!0}),i:e.o(o=>e.unref(t.useModel).formData.value.reporter_phone=o),j:e.p({maxLength:"11",textAlign:"right",valueModel:e.unref(t.useModel).formData.value.reporter_phone}),k:e.p({title:"客户电话",required:!0,borderTop:!0}),l:e.o(o=>e.unref(t.useModel).formData.value.contact_phone=o),m:e.p({maxLength:"11",textAlign:"right",valueModel:e.unref(t.useModel).formData.value.contact_phone}),n:e.p({title:"备用联系电话",borderTop:!0})}:{},{o:e.o(o=>e.unref(t.useModel).formData.value.content=o),p:e.p({borderTop:!0,required:!0,title:"问题描述",placeholder:"请详细描述问题情况,包括具体位置现象等",valueModel:e.unref(t.useModel).formData.value.content}),q:e.o(o=>e.unref(t.useModel).formData.value.attachments=o),r:e.p({borderTop:!0,title:"上传图片",count:6,valueModel:e.unref(t.useModel).formData.value.attachments}),s:e.o(null==(d=e.unref(r.method))?void 0:d.handleSubmit),t:e.p({btnParimaryName:"提交"})})}}});wx.createPage(l); diff --git a/dist/build/mp-weixin/WORKORDER/add/index.json b/dist/build/mp-weixin/WORKORDER/add/index.json index 7436305..c7267d8 100644 --- a/dist/build/mp-weixin/WORKORDER/add/index.json +++ b/dist/build/mp-weixin/WORKORDER/add/index.json @@ -2,10 +2,10 @@ "navigationBarTitleText": "新增工单", "usingComponents": { "hs-cell": "../../components/hs-cell/hs-cell", + "hs-popup-project-houer": "../../components/hs-popup-project-houer/hs-popup-project-houer", "hs-input": "../../components/hs-input/hs-input", "hs-cell-textarea": "../../components/hs-cell-textarea/hs-cell-textarea", "hs-upload": "../../components/hs-upload/hs-upload", - "hs-reservation-picker": "../../components/hs-reservation-picker/hs-reservation-picker", "hs-footer": "../../components/hs-footer/hs-footer" } } \ No newline at end of file diff --git a/dist/build/mp-weixin/WORKORDER/add/index.wxml b/dist/build/mp-weixin/WORKORDER/add/index.wxml index 2914e5f..72b00b3 100644 --- a/dist/build/mp-weixin/WORKORDER/add/index.wxml +++ b/dist/build/mp-weixin/WORKORDER/add/index.wxml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/dist/build/mp-weixin/WORKORDER/add/index.wxss b/dist/build/mp-weixin/WORKORDER/add/index.wxss index 2e31231..f39c485 100644 --- a/dist/build/mp-weixin/WORKORDER/add/index.wxss +++ b/dist/build/mp-weixin/WORKORDER/add/index.wxss @@ -1 +1 @@ -page{background-color:#f8f8f8}.workorder_add_page{padding-bottom:calc(150rpx + constant(safe-area-inset-bottom));padding-bottom:calc(150rpx + env(safe-area-inset-bottom))}.card_form{background-color:#fff;padding:0 30rpx;margin-bottom:30rpx}.report_repair{padding:10rpx 0;color:#999} +page{background-color:#f8f8f8}.workorder_add_page{padding-bottom:calc(150rpx + constant(safe-area-inset-bottom));padding-bottom:calc(150rpx + env(safe-area-inset-bottom))}.card_form{background-color:#fff;padding:0 30rpx;margin-bottom:30rpx}.report_repair{padding:10rpx 0;color:#999}.text_gray{font-size:22rpx;color:#666;padding:25rpx 0 30rpx;border-top:1rpx solid #eee} diff --git a/dist/build/mp-weixin/WORKORDER/add/method.js b/dist/build/mp-weixin/WORKORDER/add/method.js index e5b013b..802ef7f 100644 --- a/dist/build/mp-weixin/WORKORDER/add/method.js +++ b/dist/build/mp-weixin/WORKORDER/add/method.js @@ -1 +1 @@ -"use strict";require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const o=require("../../common/store/useWeAppAuthStore.js"),e=require("../../common/store/useWorkStore.js"),l=require("../../common/libraries/apiLoading.js"),u=require("../../common/libraries/naviHelper.js"),a=require("../../gen/Apis.js"),s=require("./model.js");o.useWeAppAuthStore();const r=e.useWorkStore(),i={init(){var o,e,l,u,a,i,t,d,n,v,m,c;console.log("init",null==r?void 0:r.selectWorkProject),s.useModel.formData.value={...null==(e=null==(o=s.useModel)?void 0:o.formData)?void 0:e.value},(null==(l=null==r?void 0:r.selectWorkHouse)?void 0:l.value)&&(s.useModel.formData.value={...null==(a=null==(u=s.useModel)?void 0:u.formData)?void 0:a.value,asset_houses_id:null==(i=null==r?void 0:r.selectWorkHouse)?void 0:i.value,full_name:null==(t=null==r?void 0:r.selectWorkHouse)?void 0:t.label}),(null==(d=null==r?void 0:r.selectWorkProject)?void 0:d.id)&&(s.useModel.formData.value={...null==(v=null==(n=s.useModel)?void 0:n.formData)?void 0:v.value,project_name:null==(m=null==r?void 0:r.selectWorkProject)?void 0:m.name,asset_projects_id:null==(c=null==r?void 0:r.selectWorkProject)?void 0:c.id})},handleSubmit(){var o,e,r,i,t,d,n,v,m,c,M,f,h,D,p,j,W,_,k,g;return console.log("handleSubmit",s.useModel.formData.value),(null==(r=null==(e=null==(o=s.useModel)?void 0:o.formData)?void 0:e.value)?void 0:r.type)?"MyHome"===(null==(d=null==(t=null==(i=s.useModel)?void 0:i.formData)?void 0:t.value)?void 0:d.location)||s.useModel.formData.value.asset_projects_id?"MyHome"!==(null==(m=null==(v=null==(n=s.useModel)?void 0:n.formData)?void 0:v.value)?void 0:m.location)||s.useModel.formData.value.asset_houses_id?"MyHome"!==(null==(f=null==(M=null==(c=s.useModel)?void 0:c.formData)?void 0:M.value)?void 0:f.location)||(null==(D=null==(h=s.useModel)?void 0:h.formData.value)?void 0:D.reporter_phone)?(null==(W=null==(j=null==(p=s.useModel)?void 0:p.formData)?void 0:j.value)?void 0:W.content)?"MyHome"!==(null==(g=null==(k=null==(_=s.useModel)?void 0:_.formData)?void 0:k.value)?void 0:g.location)||s.useModel.formData.value.expect_start_time?void l.getApiLoading(a.Apis.WorkOrder.HouseWorkOrders.Store,s.useModel.formData.value).then((o=>{u.showToastBack("提交成功!",1,!0),console.log(o)})):u.showToast("请选择上门时间!"):u.showToast("请输入问题描述!"):u.showToast("请输入联系人电话!"):u.showToast("请选择房屋!"):u.showToast("请选择项目!"):u.showToast("请选择工单类型!")},handleSwitchChange(o){var e;s.useModel.formData.value.is_anonymous=null==(e=null==o?void 0:o.detail)?void 0:e.value,console.log(o,"e")}};exports.method=i; +"use strict";require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const o=require("../../common/store/useWeAppAuthStore.js"),e=require("../../common/store/useWorkStore.js"),l=require("../../common/libraries/apiLoading.js"),u=require("../../common/libraries/naviHelper.js"),a=require("../../gen/Apis.js"),s=require("./model.js");o.useWeAppAuthStore();const i=e.useWorkStore(),r={unInit(){s.useModel.formData.value={is_anonymous:!1,is_self:"0"},i.selectWorkHouse={}},init(){var o,e,l,u,a,r,n,t,d,v,m,c;console.log("init",null==i?void 0:i.selectWorkProject),s.useModel.formData.value={...null==(e=null==(o=s.useModel)?void 0:o.formData)?void 0:e.value},(null==(l=null==i?void 0:i.selectWorkHouse)?void 0:l.id)&&(s.useModel.formData.value={...null==(a=null==(u=s.useModel)?void 0:u.formData)?void 0:a.value,asset_houses_id:null==(r=null==i?void 0:i.selectWorkHouse)?void 0:r.id,full_name:null==(n=null==i?void 0:i.selectWorkHouse)?void 0:n.full_name}),(null==(t=null==i?void 0:i.selectWorkProject)?void 0:t.id)&&(s.useModel.formData.value={...null==(v=null==(d=s.useModel)?void 0:d.formData)?void 0:v.value,project_name:null==(m=null==i?void 0:i.selectWorkProject)?void 0:m.name,asset_projects_id:null==(c=null==i?void 0:i.selectWorkProject)?void 0:c.id})},handleSelectProject(o){var e,l;let u=o[3];s.useModel.formData.value={...null==(l=null==(e=s.useModel)?void 0:e.formData)?void 0:l.value,asset_houses_id:null==u?void 0:u.id,full_name:null==u?void 0:u.full_name},console.log(o,"data")},handleSubmit(){var o,e,i,r,n,t,d,v,m,c,f,M,h,D,_,j,p;return console.log("handleSubmit",s.useModel.formData.value),(null==(i=null==(e=null==(o=s.useModel)?void 0:o.formData)?void 0:e.value)?void 0:i.type)?"MyHome"===(null==(t=null==(n=null==(r=s.useModel)?void 0:r.formData)?void 0:n.value)?void 0:t.location)||s.useModel.formData.value.asset_projects_id?"MyHome"!==(null==(m=null==(v=null==(d=s.useModel)?void 0:d.formData)?void 0:v.value)?void 0:m.location)||s.useModel.formData.value.asset_houses_id?"MyHome"!==(null==(M=null==(f=null==(c=s.useModel)?void 0:c.formData)?void 0:f.value)?void 0:M.location)||(null==(D=null==(h=s.useModel)?void 0:h.formData.value)?void 0:D.reporter_phone)?(null==(p=null==(j=null==(_=s.useModel)?void 0:_.formData)?void 0:j.value)?void 0:p.content)?void l.getApiLoading(a.Apis.WorkOrder.HouseWorkOrders.Store,s.useModel.formData.value).then(o=>{u.showToastBack("提交成功!",1,!0),console.log(o)}):u.showToast("请输入问题描述!"):u.showToast("请输入联系人电话!"):u.showToast("请选择房屋!"):u.showToast("请选择项目!"):u.showToast("请选择工单类型!")},handleSwitchChange(o){var e;s.useModel.formData.value.is_anonymous=null==(e=null==o?void 0:o.detail)?void 0:e.value,console.log(o,"e")}};exports.method=r; diff --git a/dist/build/mp-weixin/WORKORDER/list/index.js b/dist/build/mp-weixin/WORKORDER/list/index.js index 8a5a8e2..ed6b603 100644 --- a/dist/build/mp-weixin/WORKORDER/list/index.js +++ b/dist/build/mp-weixin/WORKORDER/list/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/day.js"),l=require("../../gen/Enums.js"),n=require("./method.js"),t=require("./model.js");if(require("../../common/libraries/apiLoading.js"),require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-tabs")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("hs-level")+e.resolveComponent("up-icon")+e.resolveComponent("hs-up-rate")+e.resolveComponent("cc-scroll-loading"))()}Math||((()=>"../../components/hs-tabs/hs-tabs.js")+(()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../components/hs-level/hs-level.js")+(()=>"../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../components/hs-up-rate/hs-up-rate.js")+(()=>"../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const u=e.defineComponent({__name:"index",setup(u){const s=[{label:"处理中",value:"Processing"},{label:"待支付",value:"PendingPayment"},{label:"待验收",value:"PendingAcceptance"},{label:"已完成",value:"Completed"},{label:"已关闭",value:"Closed"}];return e.onShow((()=>{var e;t.useModel.formData.value.page=1,t.useModel.listData.value=[],null==(e=n.method)||e.getList()})),(u,i)=>{var a,d,r,v,m,c,p,h;return{a:e.o(null==(a=e.unref(n.method))?void 0:a.handleChangeTabs),b:e.p({list:s,current:null==(r=null==(d=e.unref(t.useModel))?void 0:d.currentTabs)?void 0:r.value}),c:e.f(null==(m=null==(v=e.unref(t.useModel))?void 0:v.listData)?void 0:m.value,((t,u,s)=>{var i,a,d,r,v;return e.e({a:"16520412-2-"+s+",16520412-1",b:e.p({value:null==t?void 0:t.type,Enums:e.unref(l.HouseWorkOrdersTypeEnum)}),c:null==t?void 0:t.location},(null==t?void 0:t.location)?{d:"16520412-3-"+s+",16520412-1",e:e.p({value:null==t?void 0:t.location,Enums:e.unref(l.HouseWorkOrdersLocationEnum)})}:{},{f:"Repair"===(null==t?void 0:t.type)||"Incident"===(null==t?void 0:t.type)||"Complaint"===(null==t?void 0:t.type)},"Repair"===(null==t?void 0:t.type)||"Incident"===(null==t?void 0:t.type)||"Complaint"===(null==t?void 0:t.type)?e.e({g:"Processing"===(null==t?void 0:t.status)},"Processing"===(null==t?void 0:t.status)?{h:"16520412-4-"+s+",16520412-1",i:e.p({level:null==t?void 0:t.level})}:{}):{},{j:"16520412-5-"+s+",16520412-1",k:e.p({value:null==t?void 0:t.status,Enums:e.unref(l.HouseWorkOrdersStatusEnum)}),l:e.n(`btn_status status_${null==t?void 0:t.status}`),m:e.t((null==(i=null==t?void 0:t.asset_house)?void 0:i.full_name)||(null==(a=null==t?void 0:t.asset_project)?void 0:a.name)),n:e.t(null==t?void 0:t.content),o:"Processing"===(null==t?void 0:t.status)},"Processing"===(null==t?void 0:t.status)?e.e({p:"Completed"!==(null==t?void 0:t.status)&&"Closed"!==(null==t?void 0:t.status)&&"MyHome"===(null==t?void 0:t.location)},"Completed"!==(null==t?void 0:t.status)&&"Closed"!==(null==t?void 0:t.status)&&"MyHome"===(null==t?void 0:t.location)?{q:"16520412-6-"+s+",16520412-1",r:e.p({name:"clock",color:(null==(d=e.unref(o.getTimeStatus)(null==t?void 0:t.expect_end_time))?void 0:d.color)||"#000",size:"14"}),s:e.t(null==(r=e.unref(o.getTimeStatus)(null==t?void 0:t.expect_end_time))?void 0:r.label),t:e.n(`todo_done_card_footer status_${null==(v=e.unref(o.getTimeStatus)(null==t?void 0:t.expect_end_time))?void 0:v.status}`)}:{}):{},{v:"Completed"===(null==t?void 0:t.status)&&(null==t?void 0:t.accept_time)},"Completed"===(null==t?void 0:t.status)&&(null==t?void 0:t.accept_time)?{w:e.t(null==t?void 0:t.accept_time)}:{},{x:null==t?void 0:t.evaluation_score},(null==t?void 0:t.evaluation_score)?{y:"16520412-7-"+s+",16520412-1",z:e.p({valueModel:null==t?void 0:t.evaluation_score})}:{},{A:e.o((o=>{var l;return null==(l=e.unref(n.method))?void 0:l.handleToDetail(t)}),`items_${u}`),B:"SecurityInspection"===(null==t?void 0:t.type)},"SecurityInspection"===(null==t?void 0:t.type)?{C:e.o((o=>{var l;return null==(l=e.unref(n.method))?void 0:l.handleUpdateSetp(t)}),`items_${u}`)}:e.e({D:"Completed"!==(null==t?void 0:t.status)&&"Closed"!==(null==t?void 0:t.status)},"Completed"!==(null==t?void 0:t.status)&&"Closed"!==(null==t?void 0:t.status)?e.e({E:"RenovationInspection"!==(null==t?void 0:t.type)&&"RenovationAcceptance"!==(null==t?void 0:t.type)},"RenovationInspection"!==(null==t?void 0:t.type)&&"RenovationAcceptance"!==(null==t?void 0:t.type)?{F:e.o((o=>{var l;return null==(l=e.unref(n.method))?void 0:l.handleCopyPhone(t)}),`items_${u}`)}:{},{G:"Processing"===(null==t?void 0:t.status)},"Processing"===(null==t?void 0:t.status)?{H:e.o((o=>{var l;return null==(l=e.unref(n.method))?void 0:l.handleUpdateSetp(t)}),`items_${u}`)}:{},{I:"PendingPayment"===(null==t?void 0:t.status)},"PendingPayment"===(null==t?void 0:t.status)?{J:e.o((o=>{var l;return null==(l=e.unref(n.method))?void 0:l.handlePendingPaymentQrCode(t)}),`items_${u}`)}:{}):{}),{K:`items_${u}`})})),d:e.o(null==(c=e.unref(n.method))?void 0:c.handleLoad),e:e.p({meta:null==(h=null==(p=e.unref(t.useModel))?void 0:p.metaData)?void 0:h.value})}}}});wx.createPage(u); +"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/day.js"),l=require("../../gen/Enums.js"),n=require("./method.js"),t=require("./model.js");if(require("../../common/libraries/apiLoading.js"),require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-tabs")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("hs-level")+e.resolveComponent("up-icon")+e.resolveComponent("hs-up-rate")+e.resolveComponent("cc-scroll-loading"))()}Math||((()=>"../../components/hs-tabs/hs-tabs.js")+(()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../components/hs-level/hs-level.js")+(()=>"../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../components/hs-up-rate/hs-up-rate.js")+(()=>"../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const u=e.defineComponent({__name:"index",setup(u){const s=[{label:"处理中",value:"Processing"},{label:"待支付",value:"PendingPayment"},{label:"待验收",value:"PendingAcceptance"},{label:"已完成",value:"Completed"},{label:"已关闭",value:"Closed"}];return e.onShow(()=>{var e;t.useModel.formData.value.page=1,t.useModel.listData.value=[],null==(e=n.method)||e.getList()}),(u,i)=>{var a,d,r,v,m,c,p,h;return{a:e.o(null==(a=e.unref(n.method))?void 0:a.handleChangeTabs),b:e.p({list:s,current:null==(r=null==(d=e.unref(t.useModel))?void 0:d.currentTabs)?void 0:r.value}),c:e.f(null==(m=null==(v=e.unref(t.useModel))?void 0:v.listData)?void 0:m.value,(t,u,s)=>{var i,a,d,r,v;return e.e({a:"16520412-2-"+s+",16520412-1",b:e.p({value:null==t?void 0:t.type,Enums:e.unref(l.HouseWorkOrdersTypeEnum)}),c:null==t?void 0:t.location},(null==t?void 0:t.location)?{d:"16520412-3-"+s+",16520412-1",e:e.p({value:null==t?void 0:t.location,Enums:e.unref(l.HouseWorkOrdersLocationEnum)})}:{},{f:"Repair"===(null==t?void 0:t.type)||"Incident"===(null==t?void 0:t.type)||"Complaint"===(null==t?void 0:t.type)},"Repair"===(null==t?void 0:t.type)||"Incident"===(null==t?void 0:t.type)||"Complaint"===(null==t?void 0:t.type)?e.e({g:"Processing"===(null==t?void 0:t.status)},"Processing"===(null==t?void 0:t.status)?{h:"16520412-4-"+s+",16520412-1",i:e.p({level:null==t?void 0:t.level})}:{}):{},{j:"16520412-5-"+s+",16520412-1",k:e.p({value:null==t?void 0:t.status,Enums:e.unref(l.HouseWorkOrdersStatusEnum)}),l:e.n(`btn_status status_${null==t?void 0:t.status}`),m:e.t((null==(i=null==t?void 0:t.asset_house)?void 0:i.full_name)||(null==(a=null==t?void 0:t.asset_project)?void 0:a.name)),n:e.t(null==t?void 0:t.content),o:"Processing"===(null==t?void 0:t.status)},"Processing"===(null==t?void 0:t.status)?e.e({p:"Completed"!==(null==t?void 0:t.status)&&"Closed"!==(null==t?void 0:t.status)&&"MyHome"===(null==t?void 0:t.location)},"Completed"!==(null==t?void 0:t.status)&&"Closed"!==(null==t?void 0:t.status)&&"MyHome"===(null==t?void 0:t.location)?{q:"16520412-6-"+s+",16520412-1",r:e.p({name:"clock",color:(null==(d=e.unref(o.getTimeStatus)(null==t?void 0:t.expect_end_time))?void 0:d.color)||"#000",size:"14"}),s:e.t(null==(r=e.unref(o.getTimeStatus)(null==t?void 0:t.expect_end_time))?void 0:r.label),t:e.n(`todo_done_card_footer status_${null==(v=e.unref(o.getTimeStatus)(null==t?void 0:t.expect_end_time))?void 0:v.status}`)}:{}):{},{v:"Completed"===(null==t?void 0:t.status)&&(null==t?void 0:t.accept_time)},"Completed"===(null==t?void 0:t.status)&&(null==t?void 0:t.accept_time)?{w:e.t(null==t?void 0:t.accept_time)}:{},{x:null==t?void 0:t.evaluation_score},(null==t?void 0:t.evaluation_score)?{y:"16520412-7-"+s+",16520412-1",z:e.p({valueModel:null==t?void 0:t.evaluation_score})}:{},{A:e.o(o=>{var l;return null==(l=e.unref(n.method))?void 0:l.handleToDetail(t)},`items_${u}`),B:"SecurityInspection"===(null==t?void 0:t.type)},"SecurityInspection"===(null==t?void 0:t.type)?{C:e.o(o=>{var l;return null==(l=e.unref(n.method))?void 0:l.handleUpdateSetp(t)},`items_${u}`)}:e.e({D:"Completed"!==(null==t?void 0:t.status)&&"Closed"!==(null==t?void 0:t.status)},"Completed"!==(null==t?void 0:t.status)&&"Closed"!==(null==t?void 0:t.status)?e.e({E:"RenovationInspection"!==(null==t?void 0:t.type)&&"RenovationAcceptance"!==(null==t?void 0:t.type)},"RenovationInspection"!==(null==t?void 0:t.type)&&"RenovationAcceptance"!==(null==t?void 0:t.type)?{F:e.o(o=>{var l;return null==(l=e.unref(n.method))?void 0:l.handleCopyPhone(t)},`items_${u}`)}:{},{G:"Processing"===(null==t?void 0:t.status)},"Processing"===(null==t?void 0:t.status)?{H:e.o(o=>{var l;return null==(l=e.unref(n.method))?void 0:l.handleUpdateSetp(t)},`items_${u}`)}:{},{I:"PendingPayment"===(null==t?void 0:t.status)},"PendingPayment"===(null==t?void 0:t.status)?{J:e.o(o=>{var l;return null==(l=e.unref(n.method))?void 0:l.handlePendingPaymentQrCode(t)},`items_${u}`)}:{}):{}),{K:`items_${u}`})}),d:e.o(null==(c=e.unref(n.method))?void 0:c.handleLoad),e:e.p({meta:null==(h=null==(p=e.unref(t.useModel))?void 0:p.metaData)?void 0:h.value})}}}});wx.createPage(u); diff --git a/dist/build/mp-weixin/WORKORDER/list/method.js b/dist/build/mp-weixin/WORKORDER/list/method.js index 2f834a8..522ca2c 100644 --- a/dist/build/mp-weixin/WORKORDER/list/method.js +++ b/dist/build/mp-weixin/WORKORDER/list/method.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/apiLoading.js"),l=require("../../gen/Apis.js"),n=require("./model.js"),a=()=>{var e,a;o.getApiLoading(l.Apis.WorkOrder.HouseWorkOrders.List,null==(a=null==(e=n.useModel)?void 0:e.formData)?void 0:a.value).then((e=>{n.useModel.listData.value=[...n.useModel.listData.value,...null==e?void 0:e.data],n.useModel.metaData.value=null==e?void 0:e.meta}))},i={getList:a,handleChangeTabs(e,o){n.useModel.currentTabs.value=e,n.useModel.formData.value.status=null==o?void 0:o.value,n.useModel.formData.value.page=1,n.useModel.listData.value=[],a()},handleLoad(e){n.useModel.formData.value.page=e,a()},handleCopyPhone(o){(null==o?void 0:o.contact_phone)?e.index.makePhoneCall({phoneNumber:null==o?void 0:o.contact_phone}):(null==o?void 0:o.reporter_phone)?e.index.makePhoneCall({phoneNumber:null==o?void 0:o.reporter_phone}):e.index.showToast({title:"暂无电话号码",icon:"none"})},handleUpdateSetp(o){"SecurityInspection"!==(null==o?void 0:o.type)?"RenovationInspection"!==(null==o?void 0:o.type)&&"RenovationAcceptance"!==(null==o?void 0:o.type)?e.index.navigateTo({url:`/WORKORDER/update/index?id=${null==o?void 0:o.id}&projects_id=${null==o?void 0:o.asset_projects_id}&location=${null==o?void 0:o.location}`}):e.index.navigateTo({url:`/WORKORDER/patrol_update/index?id=${null==o?void 0:o.id}&type=${null==o?void 0:o.type}`}):e.index.navigateTo({url:`/WORKORDER/show_patrol_task_locations/index?id=${null==o?void 0:o.id}`})},handleToDetail(o){e.index.navigateTo({url:`/WORKORDER/show/index?id=${null==o?void 0:o.id}`})},handlePendingPaymentQrCode(o){var l;e.index.navigateTo({url:`/WORKORDER/poster/index?id=${null==o?void 0:o.id}&full_name=${null==(l=null==o?void 0:o.asset_house)?void 0:l.full_name}&amount=${null==o?void 0:o.amount}`})}};exports.method=i; +"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/apiLoading.js"),l=require("../../gen/Apis.js"),n=require("./model.js"),a=()=>{var e,a;o.getApiLoading(l.Apis.WorkOrder.HouseWorkOrders.List,null==(a=null==(e=n.useModel)?void 0:e.formData)?void 0:a.value).then(e=>{n.useModel.listData.value=[...n.useModel.listData.value,...null==e?void 0:e.data],n.useModel.metaData.value=null==e?void 0:e.meta})},i={getList:a,handleChangeTabs(e,o){n.useModel.currentTabs.value=e,n.useModel.formData.value.status=null==o?void 0:o.value,n.useModel.formData.value.page=1,n.useModel.listData.value=[],a()},handleLoad(e){n.useModel.formData.value.page=e,a()},handleCopyPhone(o){(null==o?void 0:o.contact_phone)?e.index.makePhoneCall({phoneNumber:null==o?void 0:o.contact_phone}):(null==o?void 0:o.reporter_phone)?e.index.makePhoneCall({phoneNumber:null==o?void 0:o.reporter_phone}):e.index.showToast({title:"暂无电话号码",icon:"none"})},handleUpdateSetp(o){"SecurityInspection"!==(null==o?void 0:o.type)?"RenovationInspection"!==(null==o?void 0:o.type)&&"RenovationAcceptance"!==(null==o?void 0:o.type)?e.index.navigateTo({url:`/WORKORDER/update/index?id=${null==o?void 0:o.id}&projects_id=${null==o?void 0:o.asset_projects_id}&location=${null==o?void 0:o.location}`}):e.index.navigateTo({url:`/WORKORDER/patrol_update/index?id=${null==o?void 0:o.id}&type=${null==o?void 0:o.type}`}):e.index.navigateTo({url:`/WORKORDER/show_patrol_task_locations/index?id=${null==o?void 0:o.id}`})},handleToDetail(o){e.index.navigateTo({url:`/WORKORDER/show/index?id=${null==o?void 0:o.id}`})},handlePendingPaymentQrCode(o){var l;e.index.navigateTo({url:`/WORKORDER/poster/index?id=${null==o?void 0:o.id}&full_name=${null==(l=null==o?void 0:o.asset_house)?void 0:l.full_name}&amount=${null==o?void 0:o.amount}`})}};exports.method=i; diff --git a/dist/build/mp-weixin/WORKORDER/list_log/components/header.js b/dist/build/mp-weixin/WORKORDER/list_log/components/header.js index c409d7d..852fcc5 100644 --- a/dist/build/mp-weixin/WORKORDER/list_log/components/header.js +++ b/dist/build/mp-weixin/WORKORDER/list_log/components/header.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),r=require("../method.js"),l=require("../model.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){e.resolveComponent("hs-tabs")()}Math;const n=e.defineComponent({__name:"header",setup(n){const a=[{label:"报修类",value:"Repair"},{label:"报事类",value:"Incident"}],o=[{label:"全部",value:""},{label:"待处理",value:"Pending"},{label:"处理中",value:"Processing"},{label:"待支付",value:"PendingPayment"},{label:"待验收",value:"PendingAcceptance"},{label:"已完成",value:"Completed"},{label:"已关闭",value:"Closed"}];return(n,u)=>{var t,s,i;return{a:e.o(null==(t=e.unref(r.method))?void 0:t.handleChangeTabs),b:e.p({list:a,current:null==(i=null==(s=e.unref(l.useModel))?void 0:s.currentTabs)?void 0:i.value}),c:e.f(o,((n,a,o)=>{var u,t,s;return{a:e.t(null==n?void 0:n.label),b:`items_${a}`,c:e.n("item_btn "+((null==(s=null==(t=null==(u=e.unref(l.useModel))?void 0:u.formData)?void 0:t.value)?void 0:s.status)===(null==n?void 0:n.value)?"active_btn":"")),d:e.o((l=>{var a;return null==(a=e.unref(r.method))?void 0:a.handleChangeStatus(n)}),`items_${a}`)}}))}}}}),a=e._export_sfc(n,[["__scopeId","data-v-a2bee378"]]);wx.createComponent(a); +"use strict";const e=require("../../../common/vendor.js"),r=require("../method.js"),l=require("../model.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){e.resolveComponent("hs-tabs")()}Math;const n=e.defineComponent({__name:"header",setup(n){const a=[{label:"报修类",value:"Repair"},{label:"报事类",value:"Incident"}],o=[{label:"全部",value:""},{label:"待处理",value:"Pending"},{label:"处理中",value:"Processing"},{label:"待支付",value:"PendingPayment"},{label:"待验收",value:"PendingAcceptance"},{label:"已完成",value:"Completed"},{label:"已关闭",value:"Closed"}];return(n,u)=>{var t,s,i;return{a:e.o(null==(t=e.unref(r.method))?void 0:t.handleChangeTabs),b:e.p({list:a,current:null==(i=null==(s=e.unref(l.useModel))?void 0:s.currentTabs)?void 0:i.value}),c:e.f(o,(n,a,o)=>{var u,t,s;return{a:e.t(null==n?void 0:n.label),b:`items_${a}`,c:e.n("item_btn "+((null==(s=null==(t=null==(u=e.unref(l.useModel))?void 0:u.formData)?void 0:t.value)?void 0:s.status)===(null==n?void 0:n.value)?"active_btn":"")),d:e.o(l=>{var a;return null==(a=e.unref(r.method))?void 0:a.handleChangeStatus(n)},`items_${a}`)}})}}}}),a=e._export_sfc(n,[["__scopeId","data-v-a2bee378"]]);wx.createComponent(a); diff --git a/dist/build/mp-weixin/WORKORDER/list_log/index.js b/dist/build/mp-weixin/WORKORDER/list_log/index.js index 85a0931..e4a7490 100644 --- a/dist/build/mp-weixin/WORKORDER/list_log/index.js +++ b/dist/build/mp-weixin/WORKORDER/list_log/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("../../gen/Enums.js"),t=require("./method.js"),l=require("./model.js");if(require("../../common/libraries/apiLoading.js"),require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-enum-tag")+e.resolveComponent("hs-up-rate")+e.resolveComponent("hs-button")+e.resolveComponent("cc-scroll-loading"))()}Math||(n+(()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../components/hs-up-rate/hs-up-rate.js")+(()=>"../../components/hs-button/hs-button.js")+(()=>"../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const n=()=>"./components/header.js",u=e.defineComponent({__name:"index",setup:n=>(e.onShow((()=>{var e;l.useModel.formData.value.page=1,l.useModel.dataList.value=[],null==(e=t.method)||e.getList()})),(n,u)=>{var s,a,r,i,d;return{a:e.f(null==(a=null==(s=e.unref(l.useModel))?void 0:s.dataList)?void 0:a.value,((l,n,u)=>{var s,a;return e.e({a:"9ec83e52-2-"+u+",9ec83e52-1",b:e.p({value:null==l?void 0:l.type,Enums:e.unref(o.HouseWorkOrdersTypeEnum)}),c:null==l?void 0:l.location},(null==l?void 0:l.location)?{d:"9ec83e52-3-"+u+",9ec83e52-1",e:e.p({value:null==l?void 0:l.location,Enums:e.unref(o.HouseWorkOrdersLocationEnum)})}:{},{f:"9ec83e52-4-"+u+",9ec83e52-1",g:e.p({value:null==l?void 0:l.status,Enums:e.unref(o.HouseWorkOrdersStatusEnum)}),h:e.n(`btn_status btn_status_${null==l?void 0:l.status}`),i:e.t((null==(s=null==l?void 0:l.asset_house)?void 0:s.full_name)||(null==(a=null==l?void 0:l.asset_project)?void 0:a.name)),j:e.t(null==l?void 0:l.content),k:(null==l?void 0:l.expect_start_time)&&"Closed"!==(null==l?void 0:l.status)&&"Completed"!==(null==l?void 0:l.status)},(null==l?void 0:l.expect_start_time)&&"Closed"!==(null==l?void 0:l.status)&&"Completed"!==(null==l?void 0:l.status)?{l:e.t(null==l?void 0:l.expect_start_time)}:{},{m:"Completed"===(null==l?void 0:l.status)&&!(null==l?void 0:l.accept_time)},"Completed"!==(null==l?void 0:l.status)||(null==l?void 0:l.accept_time)?{o:e.t(null==l?void 0:l.created_at)}:{n:e.t(null==l?void 0:l.accept_time)},{p:null==l?void 0:l.evaluation_score},(null==l?void 0:l.evaluation_score)?{q:"9ec83e52-5-"+u+",9ec83e52-1",r:e.p({valueModel:null==l?void 0:l.evaluation_score})}:{},{s:e.o((o=>{var n;return null==(n=e.unref(t.method))?void 0:n.handleToDetail(l)}),`items_${n}`),t:"MyHome"!==(null==l?void 0:l.location)&&"PendingAcceptance"===(null==l?void 0:l.status)},"MyHome"!==(null==l?void 0:l.location)&&"PendingAcceptance"===(null==l?void 0:l.status)?{v:e.o((o=>{var n;return null==(n=e.unref(t.method))?void 0:n.handleAssignEmployee(l)}),`items_${n}`),w:"9ec83e52-6-"+u+",9ec83e52-1",x:e.p({type:"ghost",label:"验收工单"})}:{},{y:`items_${n}`})})),b:e.o(null==(r=e.unref(t.method))?void 0:r.handleLoad),c:e.p({meta:null==(d=null==(i=e.unref(l.useModel))?void 0:i.meta)?void 0:d.value})}})});wx.createPage(u); +"use strict";const e=require("../../common/vendor.js"),o=require("../../gen/Enums.js"),t=require("./method.js"),l=require("./model.js");if(require("../../common/libraries/apiLoading.js"),require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-enum-tag")+e.resolveComponent("hs-up-rate")+e.resolveComponent("hs-button")+e.resolveComponent("cc-scroll-loading"))()}Math||(n+(()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../components/hs-up-rate/hs-up-rate.js")+(()=>"../../components/hs-button/hs-button.js")+(()=>"../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const n=()=>"./components/header.js",u=e.defineComponent({__name:"index",setup:n=>(e.onShow(()=>{var e;l.useModel.formData.value.page=1,l.useModel.dataList.value=[],null==(e=t.method)||e.getList()}),(n,u)=>{var s,a,r,i,d;return{a:e.f(null==(a=null==(s=e.unref(l.useModel))?void 0:s.dataList)?void 0:a.value,(l,n,u)=>{var s,a;return e.e({a:"9ec83e52-2-"+u+",9ec83e52-1",b:e.p({value:null==l?void 0:l.type,Enums:e.unref(o.HouseWorkOrdersTypeEnum)}),c:null==l?void 0:l.location},(null==l?void 0:l.location)?{d:"9ec83e52-3-"+u+",9ec83e52-1",e:e.p({value:null==l?void 0:l.location,Enums:e.unref(o.HouseWorkOrdersLocationEnum)})}:{},{f:"9ec83e52-4-"+u+",9ec83e52-1",g:e.p({value:null==l?void 0:l.status,Enums:e.unref(o.HouseWorkOrdersStatusEnum)}),h:e.n(`btn_status btn_status_${null==l?void 0:l.status}`),i:e.t((null==(s=null==l?void 0:l.asset_house)?void 0:s.full_name)||(null==(a=null==l?void 0:l.asset_project)?void 0:a.name)),j:e.t(null==l?void 0:l.content),k:(null==l?void 0:l.expect_start_time)&&"Closed"!==(null==l?void 0:l.status)&&"Completed"!==(null==l?void 0:l.status)},(null==l?void 0:l.expect_start_time)&&"Closed"!==(null==l?void 0:l.status)&&"Completed"!==(null==l?void 0:l.status)?{l:e.t(null==l?void 0:l.expect_start_time)}:{},{m:"Completed"===(null==l?void 0:l.status)&&!(null==l?void 0:l.accept_time)},"Completed"!==(null==l?void 0:l.status)||(null==l?void 0:l.accept_time)?{o:e.t(null==l?void 0:l.created_at)}:{n:e.t(null==l?void 0:l.accept_time)},{p:null==l?void 0:l.evaluation_score},(null==l?void 0:l.evaluation_score)?{q:"9ec83e52-5-"+u+",9ec83e52-1",r:e.p({valueModel:null==l?void 0:l.evaluation_score})}:{},{s:e.o(o=>{var n;return null==(n=e.unref(t.method))?void 0:n.handleToDetail(l)},`items_${n}`),t:"MyHome"!==(null==l?void 0:l.location)&&"PendingAcceptance"===(null==l?void 0:l.status)},"MyHome"!==(null==l?void 0:l.location)&&"PendingAcceptance"===(null==l?void 0:l.status)?{v:e.o(o=>{var n;return null==(n=e.unref(t.method))?void 0:n.handleAssignEmployee(l)},`items_${n}`),w:"9ec83e52-6-"+u+",9ec83e52-1",x:e.p({type:"ghost",label:"验收工单"})}:{},{y:`items_${n}`})}),b:e.o(null==(r=e.unref(t.method))?void 0:r.handleLoad),c:e.p({meta:null==(d=null==(i=e.unref(l.useModel))?void 0:i.meta)?void 0:d.value})}})});wx.createPage(u); diff --git a/dist/build/mp-weixin/WORKORDER/list_log/method.js b/dist/build/mp-weixin/WORKORDER/list_log/method.js index 3bb05be..0ea0f0f 100644 --- a/dist/build/mp-weixin/WORKORDER/list_log/method.js +++ b/dist/build/mp-weixin/WORKORDER/list_log/method.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),a=require("./model.js"),l=require("../../common/libraries/apiLoading.js"),d=require("../../gen/Apis.js"),o=()=>{var e,o;l.getApiLoading(d.Apis.WorkOrder.HouseWorkOrders.MySubmitList,null==(o=null==(e=a.useModel)?void 0:e.formData)?void 0:o.value).then((e=>{var l,d;a.useModel.dataList.value=[...null==(d=null==(l=a.useModel)?void 0:l.dataList)?void 0:d.value,...null==e?void 0:e.data],a.useModel.meta.value=null==e?void 0:e.meta}))},u=()=>{a.useModel.formData.value.page=1,a.useModel.dataList.value=[],o()},i={getList:o,handleToDetail(a){e.index.navigateTo({url:`/WORKORDER/show_log/index?id=${null==a?void 0:a.id}`})},handleAdd(){e.index.navigateTo({url:"/WORKORDER/add/index"})},handleChangeTabs(e,l){a.useModel.currentTabs.value=e,a.useModel.formData.value.type=null==l?void 0:l.value,u()},handleAssignEmployee(a){if("PendingAcceptance"===(null==a?void 0:a.status))return e.index.navigateTo({url:`/WORKORDER/acceptance/index?id=${null==a?void 0:a.id}`}),!1;console.log(a,"eee")},handleChangeStatus(e){a.useModel.formData.value.status=null==e?void 0:e.value,u()},handleLoad(e){a.useModel.formData.value.page=e,o()}};exports.method=i; +"use strict";const e=require("../../common/vendor.js"),a=require("./model.js"),l=require("../../common/libraries/apiLoading.js"),d=require("../../gen/Apis.js"),o=()=>{var e,o;l.getApiLoading(d.Apis.WorkOrder.HouseWorkOrders.MySubmitList,null==(o=null==(e=a.useModel)?void 0:e.formData)?void 0:o.value).then(e=>{var l,d;a.useModel.dataList.value=[...null==(d=null==(l=a.useModel)?void 0:l.dataList)?void 0:d.value,...null==e?void 0:e.data],a.useModel.meta.value=null==e?void 0:e.meta})},u=()=>{a.useModel.formData.value.page=1,a.useModel.dataList.value=[],o()},i={getList:o,handleToDetail(a){e.index.navigateTo({url:`/WORKORDER/show_log/index?id=${null==a?void 0:a.id}`})},handleAdd(){e.index.navigateTo({url:"/WORKORDER/add/index"})},handleChangeTabs(e,l){a.useModel.currentTabs.value=e,a.useModel.formData.value.type=null==l?void 0:l.value,u()},handleAssignEmployee(a){if("PendingAcceptance"===(null==a?void 0:a.status))return e.index.navigateTo({url:`/WORKORDER/acceptance/index?id=${null==a?void 0:a.id}`}),!1;console.log(a,"eee")},handleChangeStatus(e){a.useModel.formData.value.status=null==e?void 0:e.value,u()},handleLoad(e){a.useModel.formData.value.page=e,o()}};exports.method=i; diff --git a/dist/build/mp-weixin/WORKORDER/patrol_update/index.js b/dist/build/mp-weixin/WORKORDER/patrol_update/index.js new file mode 100644 index 0000000..53aa4f0 --- /dev/null +++ b/dist/build/mp-weixin/WORKORDER/patrol_update/index.js @@ -0,0 +1 @@ +"use strict";const e=require("../../common/vendor.js"),o=require("./method.js"),r=require("./model.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/naviHelper.js"),!Array){(e.resolveComponent("hs-radio")+e.resolveComponent("hs-cell")+e.resolveComponent("hs-cell-textarea")+e.resolveComponent("hs-upload")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../components/hs-radio/hs-radio.js")+(()=>"../../components/hs-cell/hs-cell.js")+(()=>"../../components/hs-cell-textarea/hs-cell-textarea.js")+(()=>"../../components/hs-upload/hs-upload.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const t=e.defineComponent({__name:"index",setup:t=>(e.onLoad(e=>{var r;null==(r=o.method)||r.init(e)}),(t,a)=>{var s,n,u;return e.e({a:"RenovationAcceptance"===e.unref(r.useModel).formData.value.type},"RenovationAcceptance"===e.unref(r.useModel).formData.value.type?{b:e.o(o=>e.unref(r.useModel).formData.value.is_passed=o),c:e.p({Enums:null==(n=null==(s=e.unref(r.useModel))?void 0:s.HouseWorkOrdersStatusItemEnum)?void 0:n.value,valueModel:e.unref(r.useModel).formData.value.is_passed}),d:e.p({title:"验收结果",borderTop:!0,required:!0})}:{},{e:e.o(o=>e.unref(r.useModel).formData.value.description=o),f:e.p({title:"RenovationInspection"===e.unref(r.useModel).formData.value.type?"巡检备注":"验收说明",required:"RenovationAcceptance"===e.unref(r.useModel).formData.value.type,placeholder:"请详细描述情况,包括具体位置现象等",valueModel:e.unref(r.useModel).formData.value.description}),g:e.o(o=>e.unref(r.useModel).formData.value.attachments=o),h:e.p({borderTop:!0,title:"上传图片",required:!0,count:6,valueModel:e.unref(r.useModel).formData.value.attachments}),i:e.o(null==(u=e.unref(o.method))?void 0:u.handleSubmit),j:e.p({btnParimaryName:"提交"})})})});wx.createPage(t); diff --git a/dist/build/mp-weixin/WORKORDER/patrol_update/index.json b/dist/build/mp-weixin/WORKORDER/patrol_update/index.json new file mode 100644 index 0000000..52adbd5 --- /dev/null +++ b/dist/build/mp-weixin/WORKORDER/patrol_update/index.json @@ -0,0 +1,10 @@ +{ + "navigationBarTitleText": "巡查更新", + "usingComponents": { + "hs-radio": "../../components/hs-radio/hs-radio", + "hs-cell": "../../components/hs-cell/hs-cell", + "hs-cell-textarea": "../../components/hs-cell-textarea/hs-cell-textarea", + "hs-upload": "../../components/hs-upload/hs-upload", + "hs-footer": "../../components/hs-footer/hs-footer" + } +} \ No newline at end of file diff --git a/dist/build/mp-weixin/WORKORDER/patrol_update/index.wxml b/dist/build/mp-weixin/WORKORDER/patrol_update/index.wxml new file mode 100644 index 0000000..8aa904c --- /dev/null +++ b/dist/build/mp-weixin/WORKORDER/patrol_update/index.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/build/mp-weixin/WORKORDER/patrol_update/index.wxss b/dist/build/mp-weixin/WORKORDER/patrol_update/index.wxss new file mode 100644 index 0000000..ff8ae4b --- /dev/null +++ b/dist/build/mp-weixin/WORKORDER/patrol_update/index.wxss @@ -0,0 +1 @@ +page{background-color:#f8f8f8}.card_form{background-color:#fff;padding:0 30rpx;margin-bottom:30rpx} diff --git a/dist/build/mp-weixin/WORKORDER/patrol_update/method.js b/dist/build/mp-weixin/WORKORDER/patrol_update/method.js new file mode 100644 index 0000000..382d3ba --- /dev/null +++ b/dist/build/mp-weixin/WORKORDER/patrol_update/method.js @@ -0,0 +1 @@ +"use strict";require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const e=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const o=require("./model.js"),l=require("../../gen/Apis.js"),u=require("../../common/libraries/apiLoading.js"),s=require("../../common/libraries/naviHelper.js");e.useWeAppAuthStore();const r={init(e){o.useModel.HouseWorkOrdersStatusItemEnum.value={Processing0:{text:"不合格",value:"0"},Processing1:{text:"合格",value:"1"}},o.useModel.formData.value={...e,house_work_orders_id:null==e?void 0:e.id}},handleSubmit(){var e,r,t,a,i,n,d,v,m,c,p,f,h,g,M,D,q,j,A,S;if(console.log("handleSubmit",o.useModel.formData.value),"RenovationInspection"===(null==(t=null==(r=null==(e=o.useModel)?void 0:e.formData)?void 0:r.value)?void 0:t.type)&&!(null==(d=null==(n=null==(i=null==(a=o.useModel)?void 0:a.formData)?void 0:i.value)?void 0:n.attachments)?void 0:d.length))return s.showToast("请上传巡检图片!");if("RenovationAcceptance"===(null==(c=null==(m=null==(v=o.useModel)?void 0:v.formData)?void 0:m.value)?void 0:c.type)){if(!(null==(h=null==(f=null==(p=o.useModel)?void 0:p.formData)?void 0:f.value)?void 0:h.is_passed))return s.showToast("请选择验收结果!");if(!(null==(D=null==(M=null==(g=o.useModel)?void 0:g.formData)?void 0:M.value)?void 0:D.description))return s.showToast("请输入验收说明!");if(!(null==(S=null==(A=null==(j=null==(q=o.useModel)?void 0:q.formData)?void 0:j.value)?void 0:A.attachments)?void 0:S.length))return s.showToast("请上传验收图片!")}console.log("useModel.formData.value",o.useModel.formData.value),u.getApiLoading(l.Apis.WorkOrder.HouseWorkLogs.Store,{...o.useModel.formData.value,status:"Completed"}).then(e=>{s.showToastBack("提交成功!",1,!0),console.log(e)})}};exports.method=r; diff --git a/dist/build/mp-weixin/WORKORDER/patrol_update/model.js b/dist/build/mp-weixin/WORKORDER/patrol_update/model.js new file mode 100644 index 0000000..22265b6 --- /dev/null +++ b/dist/build/mp-weixin/WORKORDER/patrol_update/model.js @@ -0,0 +1 @@ +"use strict";const e=require("../../common/vendor.js"),r={formData:e.ref({}),HouseWorkOrdersStatusItemEnum:e.ref(),HouseWorkOrdersCostEnum:e.ref()};exports.useModel=r; diff --git a/dist/build/mp-weixin/WORKORDER/poster/index.js b/dist/build/mp-weixin/WORKORDER/poster/index.js index 49e8b80..6bfe114 100644 --- a/dist/build/mp-weixin/WORKORDER/poster/index.js +++ b/dist/build/mp-weixin/WORKORDER/poster/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("./method.js");require("../../common/libraries/apiLoading.js"),require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("./model.js");const r=e.defineComponent({__name:"index",setup:r=>(e.onLoad((e=>{o.method.setCanvas(e)})),(r,s)=>({a:e.o(((...r)=>e.unref(o.method).onDownloadPosters&&e.unref(o.method).onDownloadPosters(...r)))}))}),s=e._export_sfc(r,[["__scopeId","data-v-7e11e6cb"]]);wx.createPage(s); +"use strict";const e=require("../../common/vendor.js"),o=require("./method.js");require("../../common/libraries/apiLoading.js"),require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("./model.js");const r=e.defineComponent({__name:"index",setup:r=>(e.onLoad(e=>{o.method.setCanvas(e)}),(r,s)=>({a:e.o((...r)=>e.unref(o.method).onDownloadPosters&&e.unref(o.method).onDownloadPosters(...r))}))}),s=e._export_sfc(r,[["__scopeId","data-v-7e11e6cb"]]);wx.createPage(s); diff --git a/dist/build/mp-weixin/WORKORDER/poster/method.js b/dist/build/mp-weixin/WORKORDER/poster/method.js index 8d092ff..844512e 100644 --- a/dist/build/mp-weixin/WORKORDER/poster/method.js +++ b/dist/build/mp-weixin/WORKORDER/poster/method.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/apiLoading.js"),i=require("../../gen/Apis.js"),l=require("./model.js"),t={getHouseDetail(e){},setCanvas(l){console.log(l,"data");const t=e.index.createCanvasContext("poster_firstCanvas");((l,t)=>{o.getApiLoading(i.Apis.WorkOrder.HouseWorkOrders.GetWorkOrderPayQrCode,{id:null==l?void 0:l.id}).then((o=>{var i;const l=e.index.getFileSystemManager();let s=(new Date).getTime(),n=e.wx$1.env.USER_DATA_PATH+"/"+s+".png";console.log(n,"二维码路径"),l.writeFile({filePath:n,data:null==(i=null==o?void 0:o.data)?void 0:i.qr_code.slice(22),encoding:"base64",success:()=>null==t?void 0:t(n)})}))})(l,(o=>{e.index.downloadFile({url:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01KFYRR5Y37PR2C1EDJYZYCDJK.png",success(e){t.drawImage(e.tempFilePath,0,0,345,504),t.font="bold 18px Arial",t.fillStyle="#3D3D3D",t.setTextAlign("center"),t.fillText((null==l?void 0:l.full_name)||"-",172.5,45),t.font="bold 20px Arial",t.fillStyle="#3D3D3D",t.fillText(`¥${(null==l?void 0:l.amount)||"-"}元`,172.5,85),t.font="12px Arial",t.fillStyle="#666",t.fillText("待支付",172.5,110),t.font="14px Arial",t.fillStyle="#00C800",t.fillText("请使用微信扫码支付",172.5,450),setTimeout((()=>{t.drawImage(o,72.5,150,200,200),t.restore(),t.draw()}),500)}}),console.log(o,"二维码路径")}))},onDownloadPosters(){e.index.showLoading({title:"正在保存中..."}),e.index.canvasToTempFilePath({x:0,y:0,width:345,height:504,destWidth:1380,destHeight:2016,canvasId:"poster_firstCanvas",success:function(o){console.log(o,"res"),e.index.saveImageToPhotosAlbum({filePath:o.tempFilePath,success:function(){console.log("save success"),e.index.hideLoading()},fail(){e.index.hideLoading()}}),console.log(o.tempFilePath)},fail(o){console.log(o,"err"),e.index.hideLoading()}})},initActualImages:async e=>{},choiceImgPopControl(){var e;this.initActualImages(null==(e=l.useModel.houseDetail.value)?void 0:e.id)},copyLink(){}};exports.method=t; +"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/apiLoading.js"),i=require("../../gen/Apis.js"),l=require("./model.js"),t={getHouseDetail(e){},setCanvas(l){console.log(l,"data");const t=e.index.createCanvasContext("poster_firstCanvas");((l,t)=>{o.getApiLoading(i.Apis.WorkOrder.HouseWorkOrders.GetWorkOrderPayQrCode,{id:null==l?void 0:l.id}).then(o=>{var i;const l=e.index.getFileSystemManager();let s=(new Date).getTime(),n=e.wx$1.env.USER_DATA_PATH+"/"+s+".png";console.log(n,"二维码路径"),l.writeFile({filePath:n,data:null==(i=null==o?void 0:o.data)?void 0:i.qr_code.slice(22),encoding:"base64",success:()=>null==t?void 0:t(n)})})})(l,o=>{e.index.downloadFile({url:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01KFYRR5Y37PR2C1EDJYZYCDJK.png",success(e){t.drawImage(e.tempFilePath,0,0,345,504),t.font="bold 18px Arial",t.fillStyle="#3D3D3D",t.setTextAlign("center"),t.fillText((null==l?void 0:l.full_name)||"-",172.5,45),t.font="bold 20px Arial",t.fillStyle="#3D3D3D",t.fillText(`¥${(null==l?void 0:l.amount)||"-"}元`,172.5,85),t.font="12px Arial",t.fillStyle="#666",t.fillText("待支付",172.5,110),t.font="14px Arial",t.fillStyle="#00C800",t.fillText("请使用微信扫码支付",172.5,450),setTimeout(()=>{t.drawImage(o,72.5,150,200,200),t.restore(),t.draw()},500)}}),console.log(o,"二维码路径")})},onDownloadPosters(){e.index.showLoading({title:"正在保存中..."}),e.index.canvasToTempFilePath({x:0,y:0,width:345,height:504,destWidth:1380,destHeight:2016,canvasId:"poster_firstCanvas",success:function(o){console.log(o,"res"),e.index.saveImageToPhotosAlbum({filePath:o.tempFilePath,success:function(){console.log("save success"),e.index.hideLoading()},fail(){e.index.hideLoading()}}),console.log(o.tempFilePath)},fail(o){console.log(o,"err"),e.index.hideLoading()}})},initActualImages:async e=>{},choiceImgPopControl(){var e;this.initActualImages(null==(e=l.useModel.houseDetail.value)?void 0:e.id)},copyLink(){}};exports.method=t; diff --git a/dist/build/mp-weixin/WORKORDER/show/components/ProcessLogs.js b/dist/build/mp-weixin/WORKORDER/show/components/ProcessLogs.js index 228370b..a3b8437 100644 --- a/dist/build/mp-weixin/WORKORDER/show/components/ProcessLogs.js +++ b/dist/build/mp-weixin/WORKORDER/show/components/ProcessLogs.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("../../../gen/Enums.js"),n=require("../model.js");if(!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("up-steps-item")+e.resolveComponent("up-steps"))()}Math||((()=>"../../../components/hs-empty/hs-empty.js")+(()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../node-modules/uview-plus/components/u-steps-item/u-steps-item.js")+(()=>"../../../node-modules/uview-plus/components/u-steps/u-steps.js"))();const s=e.defineComponent({__name:"ProcessLogs",setup:s=>(s,t)=>{var l,u,a,d,r,m,i,p,v,c,g;return e.e({a:!(null==(a=null==(u=null==(l=e.unref(n.useModel))?void 0:l.logsData)?void 0:u.value)?void 0:a.length)},(null==(m=null==(r=null==(d=e.unref(n.useModel))?void 0:d.logsData)?void 0:r.value)||m.length,{}),{b:e.f(null==(p=null==(i=e.unref(n.useModel))?void 0:i.logsData)?void 0:p.value,((n,s,t)=>({a:"a4983ced-3-"+t+",a4983ced-2-"+t,b:e.p({value:null==n?void 0:n.status,Enums:e.unref(o.HouseWorkOrdersStatusEnum)}),c:e.t(null==n?void 0:n.description),d:e.f(null==n?void 0:n.attachments,((e,o,n)=>({a:null==e?void 0:e.url,b:`attachment_${o}`}))),e:e.t(null==n?void 0:n.created_at),f:`log_item_${s}`,g:"a4983ced-2-"+t+",a4983ced-1"}))),c:e.p({direction:"column",dot:!0,current:(null==(g=null==(c=null==(v=e.unref(n.useModel))?void 0:v.logsData)?void 0:c.value)?void 0:g.length)-1})})}}),t=e._export_sfc(s,[["__scopeId","data-v-a4983ced"]]);wx.createComponent(t); +"use strict";const e=require("../../../common/vendor.js"),n=require("../../../gen/Enums.js"),o=require("../model.js");if(!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("up-steps-item")+e.resolveComponent("up-steps"))()}Math||((()=>"../../../components/hs-empty/hs-empty.js")+(()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../node-modules/uview-plus/components/u-steps-item/u-steps-item.js")+(()=>"../../../node-modules/uview-plus/components/u-steps/u-steps.js"))();const l=e.defineComponent({__name:"ProcessLogs",setup:l=>(l,t)=>{var s,u,a,r,d,i,m,v,p,c,f;return e.e({a:!(null==(a=null==(u=null==(s=e.unref(o.useModel))?void 0:s.logsData)?void 0:u.value)?void 0:a.length)},(null==(i=null==(d=null==(r=e.unref(o.useModel))?void 0:r.logsData)?void 0:d.value)||i.length,{}),{b:e.f(null==(v=null==(m=e.unref(o.useModel))?void 0:m.logsData)?void 0:v.value,(o,l,t)=>({a:"617bf678-3-"+t+",617bf678-2-"+t,b:e.p({value:null==o?void 0:o.status,Enums:e.unref(n.HouseWorkOrdersStatusEnum)}),c:e.t(null==o?void 0:o.description),d:e.f(null==o?void 0:o.attachments,(n,l,t)=>({a:null==n?void 0:n.url,b:e.o(n=>((n,o)=>{let l=(null==n?void 0:n.map(e=>null==e?void 0:e.url))||[];e.index.previewImage({urls:l,current:o})})(null==o?void 0:o.attachments,l),`attachment_${l}`),c:`attachment_${l}`})),e:e.t(null==o?void 0:o.created_at),f:`log_item_${l}`,g:"617bf678-2-"+t+",617bf678-1"})),c:e.p({direction:"column",dot:!0,current:(null==(f=null==(c=null==(p=e.unref(o.useModel))?void 0:p.logsData)?void 0:c.value)?void 0:f.length)-1})})}}),t=e._export_sfc(l,[["__scopeId","data-v-617bf678"]]);wx.createComponent(t); diff --git a/dist/build/mp-weixin/WORKORDER/show/components/ProcessLogs.wxml b/dist/build/mp-weixin/WORKORDER/show/components/ProcessLogs.wxml index 504176b..710608f 100644 --- a/dist/build/mp-weixin/WORKORDER/show/components/ProcessLogs.wxml +++ b/dist/build/mp-weixin/WORKORDER/show/components/ProcessLogs.wxml @@ -1 +1 @@ - 处理日志 工单进度:{{i.c}}{{i.e}} \ No newline at end of file + 处理日志 工单进度:{{i.c}}{{i.e}} \ No newline at end of file diff --git a/dist/build/mp-weixin/WORKORDER/show/components/ProcessLogs.wxss b/dist/build/mp-weixin/WORKORDER/show/components/ProcessLogs.wxss index bc3e61e..368338c 100644 --- a/dist/build/mp-weixin/WORKORDER/show/components/ProcessLogs.wxss +++ b/dist/build/mp-weixin/WORKORDER/show/components/ProcessLogs.wxss @@ -1 +1 @@ -.desc_title.data-v-a4983ced{color:#333;font-size:28rpx;display:flex;align-items:center;justify-content:space-between}.desc_content.data-v-a4983ced{color:#666;font-size:28rpx;padding:10rpx 0 0}.attachments.data-v-a4983ced{display:flex;align-items:center;flex-wrap:wrap;padding:20rpx 0 0}.attachments .attachment_item.data-v-a4983ced{width:140rpx;height:140rpx;overflow:hidden;border-radius:15rpx}.attachments image.data-v-a4983ced{width:140rpx;height:140rpx;border-radius:15rpx}.created_at.data-v-a4983ced{padding:10rpx 0 30rpx;color:#999;font-size:24rpx} +.desc_title.data-v-617bf678{color:#333;font-size:28rpx;display:flex;align-items:center;justify-content:space-between}.desc_content.data-v-617bf678{color:#666;font-size:28rpx;padding:10rpx 0 0}.attachments.data-v-617bf678{display:flex;align-items:center;flex-wrap:wrap;padding:20rpx 0 0}.attachments .attachment_item.data-v-617bf678{width:140rpx;height:140rpx;overflow:hidden;border-radius:15rpx;display:flex;align-items:center;justify-content:center;background-color:#f5f5f5;margin-right:20rpx}.attachments .attachment_item.data-v-617bf678:last-child{margin-right:0}.attachments image.data-v-617bf678{width:140rpx;height:140rpx;border-radius:15rpx}.created_at.data-v-617bf678{padding:10rpx 0 30rpx;color:#999;font-size:24rpx} diff --git a/dist/build/mp-weixin/WORKORDER/show/index.js b/dist/build/mp-weixin/WORKORDER/show/index.js index 6d7279d..88f9b27 100644 --- a/dist/build/mp-weixin/WORKORDER/show/index.js +++ b/dist/build/mp-weixin/WORKORDER/show/index.js @@ -1 +1 @@ -"use strict";const l=require("../../common/vendor.js"),e=require("../../common/libraries/day.js"),o=require("../../gen/Enums.js"),u=require("./method.js"),n=require("./model.js");if(require("../../common/libraries/apiLoading.js"),require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(l.resolveComponent("hs-enum-tag")+l.resolveComponent("hs-level")+l.resolveComponent("up-icon")+l.resolveComponent("hs-up-rate")+l.resolveComponent("hs-footer"))()}Math||((()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../components/hs-level/hs-level.js")+(()=>"../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../components/hs-up-rate/hs-up-rate.js")+d+(()=>"../../components/hs-footer/hs-footer.js"))();const d=()=>"./components/ProcessLogs.js",a=l.defineComponent({__name:"index",setup:d=>(l.onLoad((l=>{var e,o;n.useModel.dataShow.value={},null==(e=u.method)||e.getShow(null==l?void 0:l.id),null==(o=u.method)||o.getHouseWorkLogs(null==l?void 0:l.id)})),l.onShow((()=>{var l,e,o,d,a,v,i,t,s,r,h;(null==(o=null==(e=null==(l=n.useModel)?void 0:l.dataShow)?void 0:e.value)?void 0:o.id)&&(null==(i=u.method)||i.getShow(null==(v=null==(a=null==(d=n.useModel)?void 0:d.dataShow)?void 0:a.value)?void 0:v.id),null==(h=u.method)||h.getHouseWorkLogs(null==(r=null==(s=null==(t=n.useModel)?void 0:t.dataShow)?void 0:s.value)?void 0:r.id))})),l.onUnload((()=>{n.useModel.logsData.value=[]})),(d,a)=>{var v,i,t,s,r,h,m,f,S,p,w,c,M,g,y,_,P,j,q,b,I,A,C,R,k,E,H,L,W,x,O,T,$,N,z,D,B,F,G,J,K,U,Q,V,X,Y,Z,ll,el,ol,ul,nl,dl,al,vl,il,tl,sl,rl,hl,ml,fl,Sl,pl,wl,cl,Ml,gl,yl,_l,Pl,jl,ql,bl,Il,Al,Cl,Rl,kl,El,Hl,Ll,Wl,xl,Ol,Tl,$l,Nl,zl,Dl,Bl,Fl,Gl,Jl,Kl,Ul,Ql,Vl,Xl,Yl,Zl,le,ee,oe,ue,ne,de,ae,ve,ie,te,se,re,he,me,fe,Se,pe,we,ce,Me,ge,ye,_e,Pe,je,qe,be,Ie,Ae,Ce,Re,ke,Ee,He,Le,We,xe,Oe,Te,$e,Ne,ze,De,Be,Fe,Ge,Je,Ke,Ue,Qe,Ve,Xe,Ye,Ze,lo,eo,oo,uo,no,ao,vo,io,to,so,ro,ho,mo,fo,So,po,wo,co,Mo,go,yo,_o,Po,jo,qo,bo,Io,Ao,Co,Ro,ko,Eo,Ho,Lo,Wo,xo,Oo,To,$o,No,zo,Do,Bo,Fo,Go,Jo,Ko,Uo,Qo,Vo,Xo;return l.e({a:l.p({value:null==(t=null==(i=null==(v=l.unref(n.useModel))?void 0:v.dataShow)?void 0:i.value)?void 0:t.type,Enums:l.unref(o.HouseWorkOrdersTypeEnum)}),b:null==(h=null==(r=null==(s=l.unref(n.useModel))?void 0:s.dataShow)?void 0:r.value)?void 0:h.location},(null==(S=null==(f=null==(m=l.unref(n.useModel))?void 0:m.dataShow)?void 0:f.value)?void 0:S.location)?{c:l.p({value:null==(c=null==(w=null==(p=l.unref(n.useModel))?void 0:p.dataShow)?void 0:w.value)?void 0:c.location,Enums:l.unref(o.HouseWorkOrdersLocationEnum)})}:{},{d:"Repair"===(null==(y=null==(g=null==(M=l.unref(n.useModel))?void 0:M.dataShow)?void 0:g.value)?void 0:y.type)||"Incident"===(null==(j=null==(P=null==(_=l.unref(n.useModel))?void 0:_.dataShow)?void 0:P.value)?void 0:j.type)||"Complaint"===(null==(I=null==(b=null==(q=l.unref(n.useModel))?void 0:q.dataShow)?void 0:b.value)?void 0:I.type)},"Repair"===(null==(R=null==(C=null==(A=l.unref(n.useModel))?void 0:A.dataShow)?void 0:C.value)?void 0:R.type)||"Incident"===(null==(H=null==(E=null==(k=l.unref(n.useModel))?void 0:k.dataShow)?void 0:E.value)?void 0:H.type)||"Complaint"===(null==(x=null==(W=null==(L=l.unref(n.useModel))?void 0:L.dataShow)?void 0:W.value)?void 0:x.type)?l.e({e:"Processing"==(null==($=null==(T=null==(O=l.unref(n.useModel))?void 0:O.dataShow)?void 0:T.value)?void 0:$.status)},"Processing"==(null==(D=null==(z=null==(N=l.unref(n.useModel))?void 0:N.dataShow)?void 0:z.value)?void 0:D.status)?{f:l.p({level:null==(G=null==(F=null==(B=l.unref(n.useModel))?void 0:B.dataShow)?void 0:F.value)?void 0:G.level})}:{}):{},{g:l.p({value:null==(U=null==(K=null==(J=l.unref(n.useModel))?void 0:J.dataShow)?void 0:K.value)?void 0:U.status,Enums:l.unref(o.HouseWorkOrdersStatusEnum)}),h:l.n(`btn_status status_${null==(X=null==(V=null==(Q=l.unref(n.useModel))?void 0:Q.dataShow)?void 0:V.value)?void 0:X.status}`),i:"Pending"===(null==(ll=null==(Z=null==(Y=l.unref(n.useModel))?void 0:Y.dataShow)?void 0:Z.value)?void 0:ll.status)&&"MyHome"===(null==(ul=null==(ol=null==(el=l.unref(n.useModel))?void 0:el.dataShow)?void 0:ol.value)?void 0:ul.location)},"Pending"===(null==(al=null==(dl=null==(nl=l.unref(n.useModel))?void 0:nl.dataShow)?void 0:dl.value)?void 0:al.status)&&"MyHome"===(null==(tl=null==(il=null==(vl=l.unref(n.useModel))?void 0:vl.dataShow)?void 0:il.value)?void 0:tl.location)?{j:l.p({name:"clock",color:(null==(ml=l.unref(e.getTimeStatus)(null==(hl=null==(rl=null==(sl=l.unref(n.useModel))?void 0:sl.dataShow)?void 0:rl.value)?void 0:hl.expect_end_time))?void 0:ml.color)||"#000",size:"14"}),k:l.t(null==(wl=l.unref(e.getTimeStatus)(null==(pl=null==(Sl=null==(fl=l.unref(n.useModel))?void 0:fl.dataShow)?void 0:Sl.value)?void 0:pl.expect_end_time))?void 0:wl.label),l:l.n(`time_status status_${null==(yl=l.unref(e.getTimeStatus)(null==(gl=null==(Ml=null==(cl=l.unref(n.useModel))?void 0:cl.dataShow)?void 0:Ml.value)?void 0:gl.expect_end_time))?void 0:yl.status}`)}:{},{m:"Repair"===(null==(jl=null==(Pl=null==(_l=l.unref(n.useModel))?void 0:_l.dataShow)?void 0:Pl.value)?void 0:jl.type)||"Incident"===(null==(Il=null==(bl=null==(ql=l.unref(n.useModel))?void 0:ql.dataShow)?void 0:bl.value)?void 0:Il.type)},"Repair"===(null==(Rl=null==(Cl=null==(Al=l.unref(n.useModel))?void 0:Al.dataShow)?void 0:Cl.value)?void 0:Rl.type)||"Incident"===(null==(Hl=null==(El=null==(kl=l.unref(n.useModel))?void 0:kl.dataShow)?void 0:El.value)?void 0:Hl.type)?{n:l.t((null==(Ol=null==(xl=null==(Wl=null==(Ll=l.unref(n.useModel))?void 0:Ll.dataShow)?void 0:Wl.value)?void 0:xl.asset_house)?void 0:Ol.full_name)||(null==(zl=null==(Nl=null==($l=null==(Tl=l.unref(n.useModel))?void 0:Tl.dataShow)?void 0:$l.value)?void 0:Nl.asset_project)?void 0:zl.name)),o:l.t(null==(Fl=null==(Bl=null==(Dl=l.unref(n.useModel))?void 0:Dl.dataShow)?void 0:Bl.value)?void 0:Fl.title)}:{},{p:l.t(null==(Kl=null==(Jl=null==(Gl=l.unref(n.useModel))?void 0:Gl.dataShow)?void 0:Jl.value)?void 0:Kl.content),q:l.f(null==(Vl=null==(Ql=null==(Ul=l.unref(n.useModel))?void 0:Ul.dataShow)?void 0:Ql.value)?void 0:Vl.attachments,((e,o,n)=>({a:null==e?void 0:e.url,b:`img_${o}`,c:l.o((e=>{var n;return null==(n=l.unref(u.method))?void 0:n.handlePreviewImage(o)}),`img_${o}`)}))),r:l.t(null==(Zl=null==(Yl=null==(Xl=l.unref(n.useModel))?void 0:Xl.dataShow)?void 0:Yl.value)?void 0:Zl.code),s:"RenovationInspection"!==(null==(oe=null==(ee=null==(le=l.unref(n.useModel))?void 0:le.dataShow)?void 0:ee.value)?void 0:oe.type)&&"RenovationAcceptance"!==(null==(de=null==(ne=null==(ue=l.unref(n.useModel))?void 0:ue.dataShow)?void 0:ne.value)?void 0:de.type)},"RenovationInspection"!==(null==(ie=null==(ve=null==(ae=l.unref(n.useModel))?void 0:ae.dataShow)?void 0:ve.value)?void 0:ie.type)&&"RenovationAcceptance"!==(null==(re=null==(se=null==(te=l.unref(n.useModel))?void 0:te.dataShow)?void 0:se.value)?void 0:re.type)?{t:l.t((null==(Se=null==(fe=null==(me=null==(he=l.unref(n.useModel))?void 0:he.dataShow)?void 0:me.value)?void 0:fe.customer)?void 0:Se.name)||(null==(Me=null==(ce=null==(we=null==(pe=l.unref(n.useModel))?void 0:pe.dataShow)?void 0:we.value)?void 0:ce.company_employee)?void 0:Me.name))}:{},{v:null==(_e=null==(ye=null==(ge=l.unref(n.useModel))?void 0:ge.dataShow)?void 0:ye.value)?void 0:_e.reporter_name},(null==(qe=null==(je=null==(Pe=l.unref(n.useModel))?void 0:Pe.dataShow)?void 0:je.value)?void 0:qe.reporter_name)?{w:l.t(null==(Ae=null==(Ie=null==(be=l.unref(n.useModel))?void 0:be.dataShow)?void 0:Ie.value)?void 0:Ae.reporter_name),x:l.t(null==(ke=null==(Re=null==(Ce=l.unref(n.useModel))?void 0:Ce.dataShow)?void 0:Re.value)?void 0:ke.reporter_phone)}:{},{y:l.t(null==(Le=null==(He=null==(Ee=l.unref(n.useModel))?void 0:Ee.dataShow)?void 0:He.value)?void 0:Le.created_at),z:"PendingPayment"===(null==(Oe=null==(xe=null==(We=l.unref(n.useModel))?void 0:We.dataShow)?void 0:xe.value)?void 0:Oe.status)&&(null==(Ne=null==($e=null==(Te=l.unref(n.useModel))?void 0:Te.dataShow)?void 0:$e.value)?void 0:Ne.amount)},"PendingPayment"===(null==(Be=null==(De=null==(ze=l.unref(n.useModel))?void 0:ze.dataShow)?void 0:De.value)?void 0:Be.status)&&(null==(Je=null==(Ge=null==(Fe=l.unref(n.useModel))?void 0:Fe.dataShow)?void 0:Ge.value)?void 0:Je.amount)?{A:l.t(null==(Qe=null==(Ue=null==(Ke=l.unref(n.useModel))?void 0:Ke.dataShow)?void 0:Ue.value)?void 0:Qe.amount)}:{},{B:null==(Ye=null==(Xe=null==(Ve=l.unref(n.useModel))?void 0:Ve.dataShow)?void 0:Xe.value)?void 0:Ye.evaluation_score},(null==(eo=null==(lo=null==(Ze=l.unref(n.useModel))?void 0:Ze.dataShow)?void 0:lo.value)?void 0:eo.evaluation_score)?{C:l.p({valueModel:null==(no=null==(uo=null==(oo=l.unref(n.useModel))?void 0:oo.dataShow)?void 0:uo.value)?void 0:no.evaluation_score})}:{},{D:l.n("show_card "+("Pending"===(null==(io=null==(vo=null==(ao=l.unref(n.useModel))?void 0:ao.dataShow)?void 0:vo.value)?void 0:io.status)?`card_status_${null==(ho=l.unref(e.getTimeStatus)(null==(ro=null==(so=null==(to=l.unref(n.useModel))?void 0:to.dataShow)?void 0:so.value)?void 0:ro.expect_end_time))?void 0:ho.status}`:"")),E:"SecurityInspection"===(null==(So=null==(fo=null==(mo=l.unref(n.useModel))?void 0:mo.dataShow)?void 0:fo.value)?void 0:So.type)&&"Processing"===(null==(co=null==(wo=null==(po=l.unref(n.useModel))?void 0:po.dataShow)?void 0:wo.value)?void 0:co.status)},"SecurityInspection"===(null==(yo=null==(go=null==(Mo=l.unref(n.useModel))?void 0:Mo.dataShow)?void 0:go.value)?void 0:yo.type)&&"Processing"===(null==(jo=null==(Po=null==(_o=l.unref(n.useModel))?void 0:_o.dataShow)?void 0:Po.value)?void 0:jo.status)?{F:l.o(null==(qo=l.unref(u.method))?void 0:qo.toPageAddLogs),G:l.p({btnParimaryName:"前往完成"})}:l.e({H:"Processing"===(null==(Ao=null==(Io=null==(bo=l.unref(n.useModel))?void 0:bo.dataShow)?void 0:Io.value)?void 0:Ao.status)||"PendingPayment"===(null==(ko=null==(Ro=null==(Co=l.unref(n.useModel))?void 0:Co.dataShow)?void 0:Ro.value)?void 0:ko.status)},"Processing"===(null==(Lo=null==(Ho=null==(Eo=l.unref(n.useModel))?void 0:Eo.dataShow)?void 0:Ho.value)?void 0:Lo.status)||"PendingPayment"===(null==(Oo=null==(xo=null==(Wo=l.unref(n.useModel))?void 0:Wo.dataShow)?void 0:xo.value)?void 0:Oo.status)?{I:l.o(null==(To=l.unref(u.method))?void 0:To.toPageAddLogs),J:l.o(null==($o=l.unref(u.method))?void 0:$o.handleCopyPhone),K:l.p({btnOtherShow:"RenovationInspection"!==(null==(Do=null==(zo=null==(No=l.unref(n.useModel))?void 0:No.dataShow)?void 0:zo.value)?void 0:Do.type)&&"RenovationAcceptance"!==(null==(Go=null==(Fo=null==(Bo=l.unref(n.useModel))?void 0:Bo.dataShow)?void 0:Fo.value)?void 0:Go.type),btnParimaryName:"Processing"===(null==(Uo=null==(Ko=null==(Jo=l.unref(n.useModel))?void 0:Jo.dataShow)?void 0:Ko.value)?void 0:Uo.status)?"更新进度":"PendingPayment"===(null==(Xo=null==(Vo=null==(Qo=l.unref(n.useModel))?void 0:Qo.dataShow)?void 0:Vo.value)?void 0:Xo.status)?"出示付款二维码":"",btnOtherName:"联系提报人"})}:{}))})});wx.createPage(a); +"use strict";const l=require("../../common/vendor.js"),e=require("../../common/libraries/day.js"),o=require("../../gen/Enums.js"),u=require("./method.js"),n=require("./model.js");if(require("../../common/libraries/apiLoading.js"),require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(l.resolveComponent("hs-enum-tag")+l.resolveComponent("hs-level")+l.resolveComponent("up-icon")+l.resolveComponent("hs-up-rate")+l.resolveComponent("hs-footer"))()}Math||((()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../components/hs-level/hs-level.js")+(()=>"../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../components/hs-up-rate/hs-up-rate.js")+d+(()=>"../../components/hs-footer/hs-footer.js"))();const d=()=>"./components/ProcessLogs.js",a=l.defineComponent({__name:"index",setup:d=>(l.onLoad(l=>{var e,o;n.useModel.dataShow.value={},null==(e=u.method)||e.getShow(null==l?void 0:l.id),null==(o=u.method)||o.getHouseWorkLogs(null==l?void 0:l.id)}),l.onShow(()=>{var l,e,o,d,a,v,i,t,s,r,h;(null==(o=null==(e=null==(l=n.useModel)?void 0:l.dataShow)?void 0:e.value)?void 0:o.id)&&(null==(i=u.method)||i.getShow(null==(v=null==(a=null==(d=n.useModel)?void 0:d.dataShow)?void 0:a.value)?void 0:v.id),null==(h=u.method)||h.getHouseWorkLogs(null==(r=null==(s=null==(t=n.useModel)?void 0:t.dataShow)?void 0:s.value)?void 0:r.id))}),l.onUnload(()=>{n.useModel.logsData.value=[]}),(d,a)=>{var v,i,t,s,r,h,m,f,S,p,w,c,M,g,y,_,P,j,q,b,I,A,C,R,k,E,H,L,W,x,O,T,$,N,z,D,B,F,G,J,K,U,Q,V,X,Y,Z,ll,el,ol,ul,nl,dl,al,vl,il,tl,sl,rl,hl,ml,fl,Sl,pl,wl,cl,Ml,gl,yl,_l,Pl,jl,ql,bl,Il,Al,Cl,Rl,kl,El,Hl,Ll,Wl,xl,Ol,Tl,$l,Nl,zl,Dl,Bl,Fl,Gl,Jl,Kl,Ul,Ql,Vl,Xl,Yl,Zl,le,ee,oe,ue,ne,de,ae,ve,ie,te,se,re,he,me,fe,Se,pe,we,ce,Me,ge,ye,_e,Pe,je,qe,be,Ie,Ae,Ce,Re,ke,Ee,He,Le,We,xe,Oe,Te,$e,Ne,ze,De,Be,Fe,Ge,Je,Ke,Ue,Qe,Ve,Xe,Ye,Ze,lo,eo,oo,uo,no,ao,vo,io,to,so,ro,ho,mo,fo,So,po,wo,co,Mo,go,yo,_o,Po,jo,qo,bo,Io,Ao,Co,Ro,ko,Eo,Ho,Lo,Wo,xo,Oo,To,$o,No,zo,Do,Bo,Fo,Go,Jo,Ko,Uo,Qo,Vo,Xo;return l.e({a:l.p({value:null==(t=null==(i=null==(v=l.unref(n.useModel))?void 0:v.dataShow)?void 0:i.value)?void 0:t.type,Enums:l.unref(o.HouseWorkOrdersTypeEnum)}),b:null==(h=null==(r=null==(s=l.unref(n.useModel))?void 0:s.dataShow)?void 0:r.value)?void 0:h.location},(null==(S=null==(f=null==(m=l.unref(n.useModel))?void 0:m.dataShow)?void 0:f.value)?void 0:S.location)?{c:l.p({value:null==(c=null==(w=null==(p=l.unref(n.useModel))?void 0:p.dataShow)?void 0:w.value)?void 0:c.location,Enums:l.unref(o.HouseWorkOrdersLocationEnum)})}:{},{d:"Repair"===(null==(y=null==(g=null==(M=l.unref(n.useModel))?void 0:M.dataShow)?void 0:g.value)?void 0:y.type)||"Incident"===(null==(j=null==(P=null==(_=l.unref(n.useModel))?void 0:_.dataShow)?void 0:P.value)?void 0:j.type)||"Complaint"===(null==(I=null==(b=null==(q=l.unref(n.useModel))?void 0:q.dataShow)?void 0:b.value)?void 0:I.type)},"Repair"===(null==(R=null==(C=null==(A=l.unref(n.useModel))?void 0:A.dataShow)?void 0:C.value)?void 0:R.type)||"Incident"===(null==(H=null==(E=null==(k=l.unref(n.useModel))?void 0:k.dataShow)?void 0:E.value)?void 0:H.type)||"Complaint"===(null==(x=null==(W=null==(L=l.unref(n.useModel))?void 0:L.dataShow)?void 0:W.value)?void 0:x.type)?l.e({e:"Processing"==(null==($=null==(T=null==(O=l.unref(n.useModel))?void 0:O.dataShow)?void 0:T.value)?void 0:$.status)},"Processing"==(null==(D=null==(z=null==(N=l.unref(n.useModel))?void 0:N.dataShow)?void 0:z.value)?void 0:D.status)?{f:l.p({level:null==(G=null==(F=null==(B=l.unref(n.useModel))?void 0:B.dataShow)?void 0:F.value)?void 0:G.level})}:{}):{},{g:l.p({value:null==(U=null==(K=null==(J=l.unref(n.useModel))?void 0:J.dataShow)?void 0:K.value)?void 0:U.status,Enums:l.unref(o.HouseWorkOrdersStatusEnum)}),h:l.n(`btn_status status_${null==(X=null==(V=null==(Q=l.unref(n.useModel))?void 0:Q.dataShow)?void 0:V.value)?void 0:X.status}`),i:"Pending"===(null==(ll=null==(Z=null==(Y=l.unref(n.useModel))?void 0:Y.dataShow)?void 0:Z.value)?void 0:ll.status)&&"MyHome"===(null==(ul=null==(ol=null==(el=l.unref(n.useModel))?void 0:el.dataShow)?void 0:ol.value)?void 0:ul.location)},"Pending"===(null==(al=null==(dl=null==(nl=l.unref(n.useModel))?void 0:nl.dataShow)?void 0:dl.value)?void 0:al.status)&&"MyHome"===(null==(tl=null==(il=null==(vl=l.unref(n.useModel))?void 0:vl.dataShow)?void 0:il.value)?void 0:tl.location)?{j:l.p({name:"clock",color:(null==(ml=l.unref(e.getTimeStatus)(null==(hl=null==(rl=null==(sl=l.unref(n.useModel))?void 0:sl.dataShow)?void 0:rl.value)?void 0:hl.expect_end_time))?void 0:ml.color)||"#000",size:"14"}),k:l.t(null==(wl=l.unref(e.getTimeStatus)(null==(pl=null==(Sl=null==(fl=l.unref(n.useModel))?void 0:fl.dataShow)?void 0:Sl.value)?void 0:pl.expect_end_time))?void 0:wl.label),l:l.n(`time_status status_${null==(yl=l.unref(e.getTimeStatus)(null==(gl=null==(Ml=null==(cl=l.unref(n.useModel))?void 0:cl.dataShow)?void 0:Ml.value)?void 0:gl.expect_end_time))?void 0:yl.status}`)}:{},{m:"Repair"===(null==(jl=null==(Pl=null==(_l=l.unref(n.useModel))?void 0:_l.dataShow)?void 0:Pl.value)?void 0:jl.type)||"Incident"===(null==(Il=null==(bl=null==(ql=l.unref(n.useModel))?void 0:ql.dataShow)?void 0:bl.value)?void 0:Il.type)},"Repair"===(null==(Rl=null==(Cl=null==(Al=l.unref(n.useModel))?void 0:Al.dataShow)?void 0:Cl.value)?void 0:Rl.type)||"Incident"===(null==(Hl=null==(El=null==(kl=l.unref(n.useModel))?void 0:kl.dataShow)?void 0:El.value)?void 0:Hl.type)?{n:l.t((null==(Ol=null==(xl=null==(Wl=null==(Ll=l.unref(n.useModel))?void 0:Ll.dataShow)?void 0:Wl.value)?void 0:xl.asset_house)?void 0:Ol.full_name)||(null==(zl=null==(Nl=null==($l=null==(Tl=l.unref(n.useModel))?void 0:Tl.dataShow)?void 0:$l.value)?void 0:Nl.asset_project)?void 0:zl.name)),o:l.t(null==(Fl=null==(Bl=null==(Dl=l.unref(n.useModel))?void 0:Dl.dataShow)?void 0:Bl.value)?void 0:Fl.title)}:{},{p:l.t(null==(Kl=null==(Jl=null==(Gl=l.unref(n.useModel))?void 0:Gl.dataShow)?void 0:Jl.value)?void 0:Kl.content),q:l.f(null==(Vl=null==(Ql=null==(Ul=l.unref(n.useModel))?void 0:Ul.dataShow)?void 0:Ql.value)?void 0:Vl.attachments,(e,o,n)=>({a:null==e?void 0:e.url,b:`img_${o}`,c:l.o(e=>{var n;return null==(n=l.unref(u.method))?void 0:n.handlePreviewImage(o)},`img_${o}`)})),r:l.t(null==(Zl=null==(Yl=null==(Xl=l.unref(n.useModel))?void 0:Xl.dataShow)?void 0:Yl.value)?void 0:Zl.code),s:"RenovationInspection"!==(null==(oe=null==(ee=null==(le=l.unref(n.useModel))?void 0:le.dataShow)?void 0:ee.value)?void 0:oe.type)&&"RenovationAcceptance"!==(null==(de=null==(ne=null==(ue=l.unref(n.useModel))?void 0:ue.dataShow)?void 0:ne.value)?void 0:de.type)},"RenovationInspection"!==(null==(ie=null==(ve=null==(ae=l.unref(n.useModel))?void 0:ae.dataShow)?void 0:ve.value)?void 0:ie.type)&&"RenovationAcceptance"!==(null==(re=null==(se=null==(te=l.unref(n.useModel))?void 0:te.dataShow)?void 0:se.value)?void 0:re.type)?{t:l.t((null==(Se=null==(fe=null==(me=null==(he=l.unref(n.useModel))?void 0:he.dataShow)?void 0:me.value)?void 0:fe.customer)?void 0:Se.name)||(null==(Me=null==(ce=null==(we=null==(pe=l.unref(n.useModel))?void 0:pe.dataShow)?void 0:we.value)?void 0:ce.company_employee)?void 0:Me.name))}:{},{v:null==(_e=null==(ye=null==(ge=l.unref(n.useModel))?void 0:ge.dataShow)?void 0:ye.value)?void 0:_e.reporter_name},(null==(qe=null==(je=null==(Pe=l.unref(n.useModel))?void 0:Pe.dataShow)?void 0:je.value)?void 0:qe.reporter_name)?{w:l.t(null==(Ae=null==(Ie=null==(be=l.unref(n.useModel))?void 0:be.dataShow)?void 0:Ie.value)?void 0:Ae.reporter_name),x:l.t(null==(ke=null==(Re=null==(Ce=l.unref(n.useModel))?void 0:Ce.dataShow)?void 0:Re.value)?void 0:ke.reporter_phone)}:{},{y:l.t(null==(Le=null==(He=null==(Ee=l.unref(n.useModel))?void 0:Ee.dataShow)?void 0:He.value)?void 0:Le.created_at),z:"PendingPayment"===(null==(Oe=null==(xe=null==(We=l.unref(n.useModel))?void 0:We.dataShow)?void 0:xe.value)?void 0:Oe.status)&&(null==(Ne=null==($e=null==(Te=l.unref(n.useModel))?void 0:Te.dataShow)?void 0:$e.value)?void 0:Ne.amount)},"PendingPayment"===(null==(Be=null==(De=null==(ze=l.unref(n.useModel))?void 0:ze.dataShow)?void 0:De.value)?void 0:Be.status)&&(null==(Je=null==(Ge=null==(Fe=l.unref(n.useModel))?void 0:Fe.dataShow)?void 0:Ge.value)?void 0:Je.amount)?{A:l.t(null==(Qe=null==(Ue=null==(Ke=l.unref(n.useModel))?void 0:Ke.dataShow)?void 0:Ue.value)?void 0:Qe.amount)}:{},{B:null==(Ye=null==(Xe=null==(Ve=l.unref(n.useModel))?void 0:Ve.dataShow)?void 0:Xe.value)?void 0:Ye.evaluation_score},(null==(eo=null==(lo=null==(Ze=l.unref(n.useModel))?void 0:Ze.dataShow)?void 0:lo.value)?void 0:eo.evaluation_score)?{C:l.p({valueModel:null==(no=null==(uo=null==(oo=l.unref(n.useModel))?void 0:oo.dataShow)?void 0:uo.value)?void 0:no.evaluation_score})}:{},{D:l.n("show_card "+("Pending"===(null==(io=null==(vo=null==(ao=l.unref(n.useModel))?void 0:ao.dataShow)?void 0:vo.value)?void 0:io.status)?`card_status_${null==(ho=l.unref(e.getTimeStatus)(null==(ro=null==(so=null==(to=l.unref(n.useModel))?void 0:to.dataShow)?void 0:so.value)?void 0:ro.expect_end_time))?void 0:ho.status}`:"")),E:"SecurityInspection"===(null==(So=null==(fo=null==(mo=l.unref(n.useModel))?void 0:mo.dataShow)?void 0:fo.value)?void 0:So.type)&&"Processing"===(null==(co=null==(wo=null==(po=l.unref(n.useModel))?void 0:po.dataShow)?void 0:wo.value)?void 0:co.status)},"SecurityInspection"===(null==(yo=null==(go=null==(Mo=l.unref(n.useModel))?void 0:Mo.dataShow)?void 0:go.value)?void 0:yo.type)&&"Processing"===(null==(jo=null==(Po=null==(_o=l.unref(n.useModel))?void 0:_o.dataShow)?void 0:Po.value)?void 0:jo.status)?{F:l.o(null==(qo=l.unref(u.method))?void 0:qo.toPageAddLogs),G:l.p({btnParimaryName:"前往完成"})}:l.e({H:"Processing"===(null==(Ao=null==(Io=null==(bo=l.unref(n.useModel))?void 0:bo.dataShow)?void 0:Io.value)?void 0:Ao.status)||"PendingPayment"===(null==(ko=null==(Ro=null==(Co=l.unref(n.useModel))?void 0:Co.dataShow)?void 0:Ro.value)?void 0:ko.status)},"Processing"===(null==(Lo=null==(Ho=null==(Eo=l.unref(n.useModel))?void 0:Eo.dataShow)?void 0:Ho.value)?void 0:Lo.status)||"PendingPayment"===(null==(Oo=null==(xo=null==(Wo=l.unref(n.useModel))?void 0:Wo.dataShow)?void 0:xo.value)?void 0:Oo.status)?{I:l.o(null==(To=l.unref(u.method))?void 0:To.toPageAddLogs),J:l.o(null==($o=l.unref(u.method))?void 0:$o.handleCopyPhone),K:l.p({btnOtherShow:"RenovationInspection"!==(null==(Do=null==(zo=null==(No=l.unref(n.useModel))?void 0:No.dataShow)?void 0:zo.value)?void 0:Do.type)&&"RenovationAcceptance"!==(null==(Go=null==(Fo=null==(Bo=l.unref(n.useModel))?void 0:Bo.dataShow)?void 0:Fo.value)?void 0:Go.type),btnParimaryName:"Processing"===(null==(Uo=null==(Ko=null==(Jo=l.unref(n.useModel))?void 0:Jo.dataShow)?void 0:Ko.value)?void 0:Uo.status)?"更新进度":"PendingPayment"===(null==(Xo=null==(Vo=null==(Qo=l.unref(n.useModel))?void 0:Qo.dataShow)?void 0:Vo.value)?void 0:Xo.status)?"出示付款二维码":"",btnOtherName:"联系提报人"})}:{}))})});wx.createPage(a); diff --git a/dist/build/mp-weixin/WORKORDER/show/method.js b/dist/build/mp-weixin/WORKORDER/show/method.js index ab00e5a..36ca4f5 100644 --- a/dist/build/mp-weixin/WORKORDER/show/method.js +++ b/dist/build/mp-weixin/WORKORDER/show/method.js @@ -1 +1 @@ -"use strict";const l=require("../../common/vendor.js"),o=require("../../common/libraries/apiLoading.js"),e=require("../../gen/Apis.js"),d=require("./model.js"),u={getShow(l){o.getApiLoading(e.Apis.WorkOrder.HouseWorkOrders.Show,{id:l}).then((l=>{d.useModel.dataShow.value=null==l?void 0:l.data}))},getHouseWorkLogs(l){o.getApiLoading(e.Apis.WorkOrder.HouseWorkLogs.List,{house_work_orders_id:l}).then((l=>{d.useModel.logsData.value=null==l?void 0:l.data}))},toPageAddLogs(){var o,e,u,n,i,a,v,t,s,r,h,p,w,c,S,g,M,m,_,R,x,O,P,k,y,W,$,A,L,j,D,T,q,C,E,I,K,b,f,H,N,Q,z;if("SecurityInspection"!==(null==(u=null==(e=null==(o=d.useModel)?void 0:o.dataShow)?void 0:e.value)?void 0:u.type))return"RenovationInspection"===(null==(s=null==(t=null==(v=d.useModel)?void 0:v.dataShow)?void 0:t.value)?void 0:s.type)||"RenovationAcceptance"===(null==(p=null==(h=null==(r=d.useModel)?void 0:r.dataShow)?void 0:h.value)?void 0:p.type)?(l.index.navigateTo({url:`/WORKORDER/patrol_update/index?id=${null==(S=null==(c=null==(w=d.useModel)?void 0:w.dataShow)?void 0:c.value)?void 0:S.id}&type=${null==(m=null==(M=null==(g=d.useModel)?void 0:g.dataShow)?void 0:M.value)?void 0:m.type}`}),!1):void("PendingPayment"!==(null==(x=null==(R=null==(_=d.useModel)?void 0:_.dataShow)?void 0:R.value)?void 0:x.status)?"Processing"===(null==(C=null==(q=null==(T=d.useModel)?void 0:T.dataShow)?void 0:q.value)?void 0:C.status)&&l.index.navigateTo({url:`/WORKORDER/update/index?id=${null==(K=null==(I=null==(E=d.useModel)?void 0:E.dataShow)?void 0:I.value)?void 0:K.id}&projects_id=${null==(H=null==(f=null==(b=d.useModel)?void 0:b.dataShow)?void 0:f.value)?void 0:H.asset_projects_id}&location=${null==(z=null==(Q=null==(N=d.useModel)?void 0:N.dataShow)?void 0:Q.value)?void 0:z.location}`}):l.index.navigateTo({url:`/WORKORDER/poster/index?id=${null==(k=null==(P=null==(O=d.useModel)?void 0:O.dataShow)?void 0:P.value)?void 0:k.id}&full_name=${null==(A=null==($=null==(W=null==(y=d.useModel)?void 0:y.dataShow)?void 0:W.value)?void 0:$.asset_house)?void 0:A.full_name}&amount=${null==(D=null==(j=null==(L=d.useModel)?void 0:L.dataShow)?void 0:j.value)?void 0:D.amount}`}));l.index.navigateTo({url:`/WORKORDER/show_patrol_task_locations/index?id=${null==(a=null==(i=null==(n=d.useModel)?void 0:n.dataShow)?void 0:i.value)?void 0:a.id}`})},handlePreviewImage(o){var e,u,n,i;let a=(null==(i=null==(n=null==(u=null==(e=d.useModel)?void 0:e.dataShow)?void 0:u.value)?void 0:n.attachments)?void 0:i.map((l=>null==l?void 0:l.url)))||[];l.index.previewImage({urls:a,current:o})},handlePendingPaymentQrCode(l){},handleCopyPhone(){var o,e,u,n,i,a,v,t,s,r,h,p;(null==(u=null==(e=null==(o=d.useModel)?void 0:o.dataShow)?void 0:e.value)?void 0:u.contact_phone)?l.index.makePhoneCall({phoneNumber:null==(a=null==(i=null==(n=d.useModel)?void 0:n.dataShow)?void 0:i.value)?void 0:a.contact_phone}):(null==(s=null==(t=null==(v=d.useModel)?void 0:v.dataShow)?void 0:t.value)?void 0:s.reporter_phone)?l.index.makePhoneCall({phoneNumber:null==(p=null==(h=null==(r=d.useModel)?void 0:r.dataShow)?void 0:h.value)?void 0:p.reporter_phone}):l.index.showToast({title:"暂无电话号码",icon:"none"})}};exports.method=u; +"use strict";const l=require("../../common/vendor.js"),o=require("../../common/libraries/apiLoading.js"),e=require("../../gen/Apis.js"),d=require("./model.js"),u={getShow(l){o.getApiLoading(e.Apis.WorkOrder.HouseWorkOrders.Show,{id:l}).then(l=>{d.useModel.dataShow.value=null==l?void 0:l.data})},getHouseWorkLogs(l){o.getApiLoading(e.Apis.WorkOrder.HouseWorkLogs.List,{house_work_orders_id:l}).then(l=>{d.useModel.logsData.value=null==l?void 0:l.data})},toPageAddLogs(){var o,e,u,n,i,a,v,t,s,r,h,p,w,c,S,g,M,m,_,R,x,O,P,k,y,W,$,A,L,j,D,T,q,C,E,I,K,b,f,H,N,Q,z;if("SecurityInspection"!==(null==(u=null==(e=null==(o=d.useModel)?void 0:o.dataShow)?void 0:e.value)?void 0:u.type))return"RenovationInspection"===(null==(s=null==(t=null==(v=d.useModel)?void 0:v.dataShow)?void 0:t.value)?void 0:s.type)||"RenovationAcceptance"===(null==(p=null==(h=null==(r=d.useModel)?void 0:r.dataShow)?void 0:h.value)?void 0:p.type)?(l.index.navigateTo({url:`/WORKORDER/patrol_update/index?id=${null==(S=null==(c=null==(w=d.useModel)?void 0:w.dataShow)?void 0:c.value)?void 0:S.id}&type=${null==(m=null==(M=null==(g=d.useModel)?void 0:g.dataShow)?void 0:M.value)?void 0:m.type}`}),!1):void("PendingPayment"!==(null==(x=null==(R=null==(_=d.useModel)?void 0:_.dataShow)?void 0:R.value)?void 0:x.status)?"Processing"===(null==(C=null==(q=null==(T=d.useModel)?void 0:T.dataShow)?void 0:q.value)?void 0:C.status)&&l.index.navigateTo({url:`/WORKORDER/update/index?id=${null==(K=null==(I=null==(E=d.useModel)?void 0:E.dataShow)?void 0:I.value)?void 0:K.id}&projects_id=${null==(H=null==(f=null==(b=d.useModel)?void 0:b.dataShow)?void 0:f.value)?void 0:H.asset_projects_id}&location=${null==(z=null==(Q=null==(N=d.useModel)?void 0:N.dataShow)?void 0:Q.value)?void 0:z.location}`}):l.index.navigateTo({url:`/WORKORDER/poster/index?id=${null==(k=null==(P=null==(O=d.useModel)?void 0:O.dataShow)?void 0:P.value)?void 0:k.id}&full_name=${null==(A=null==($=null==(W=null==(y=d.useModel)?void 0:y.dataShow)?void 0:W.value)?void 0:$.asset_house)?void 0:A.full_name}&amount=${null==(D=null==(j=null==(L=d.useModel)?void 0:L.dataShow)?void 0:j.value)?void 0:D.amount}`}));l.index.navigateTo({url:`/WORKORDER/show_patrol_task_locations/index?id=${null==(a=null==(i=null==(n=d.useModel)?void 0:n.dataShow)?void 0:i.value)?void 0:a.id}`})},handlePreviewImage(o){var e,u,n,i;let a=(null==(i=null==(n=null==(u=null==(e=d.useModel)?void 0:e.dataShow)?void 0:u.value)?void 0:n.attachments)?void 0:i.map(l=>null==l?void 0:l.url))||[];l.index.previewImage({urls:a,current:o})},handlePendingPaymentQrCode(l){},handleCopyPhone(){var o,e,u,n,i,a,v,t,s,r,h,p;(null==(u=null==(e=null==(o=d.useModel)?void 0:o.dataShow)?void 0:e.value)?void 0:u.contact_phone)?l.index.makePhoneCall({phoneNumber:null==(a=null==(i=null==(n=d.useModel)?void 0:n.dataShow)?void 0:i.value)?void 0:a.contact_phone}):(null==(s=null==(t=null==(v=d.useModel)?void 0:v.dataShow)?void 0:t.value)?void 0:s.reporter_phone)?l.index.makePhoneCall({phoneNumber:null==(p=null==(h=null==(r=d.useModel)?void 0:r.dataShow)?void 0:h.value)?void 0:p.reporter_phone}):l.index.showToast({title:"暂无电话号码",icon:"none"})}};exports.method=u; diff --git a/dist/build/mp-weixin/WORKORDER/show_log/components/ProcessLogs.js b/dist/build/mp-weixin/WORKORDER/show_log/components/ProcessLogs.js index bc25e78..542e601 100644 --- a/dist/build/mp-weixin/WORKORDER/show_log/components/ProcessLogs.js +++ b/dist/build/mp-weixin/WORKORDER/show_log/components/ProcessLogs.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("../../../gen/Enums.js"),n=require("../model.js");if(!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("up-steps-item")+e.resolveComponent("up-steps"))()}Math||((()=>"../../../components/hs-empty/hs-empty.js")+(()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../node-modules/uview-plus/components/u-steps-item/u-steps-item.js")+(()=>"../../../node-modules/uview-plus/components/u-steps/u-steps.js"))();const s=e.defineComponent({__name:"ProcessLogs",setup:s=>(s,t)=>{var l,u,a,d,r,m,i,p,v,c,g;return e.e({a:!(null==(a=null==(u=null==(l=e.unref(n.useModel))?void 0:l.logsData)?void 0:u.value)?void 0:a.length)},(null==(m=null==(r=null==(d=e.unref(n.useModel))?void 0:d.logsData)?void 0:r.value)||m.length,{}),{b:e.f(null==(p=null==(i=e.unref(n.useModel))?void 0:i.logsData)?void 0:p.value,((n,s,t)=>({a:"a4eee7b6-3-"+t+",a4eee7b6-2-"+t,b:e.p({value:null==n?void 0:n.status,Enums:e.unref(o.HouseWorkOrdersStatusEnum)}),c:e.t(null==n?void 0:n.description),d:e.f(null==n?void 0:n.attachments,((e,o,n)=>({a:null==e?void 0:e.url,b:`attachment_${o}`}))),e:e.t(null==n?void 0:n.created_at),f:`log_item_${s}`,g:"a4eee7b6-2-"+t+",a4eee7b6-1"}))),c:e.p({direction:"column",dot:!0,current:(null==(g=null==(c=null==(v=e.unref(n.useModel))?void 0:v.logsData)?void 0:c.value)?void 0:g.length)-1})})}}),t=e._export_sfc(s,[["__scopeId","data-v-a4eee7b6"]]);wx.createComponent(t); +"use strict";const e=require("../../../common/vendor.js"),o=require("../../../gen/Enums.js"),n=require("../model.js");if(!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("up-steps-item")+e.resolveComponent("up-steps"))()}Math||((()=>"../../../components/hs-empty/hs-empty.js")+(()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../node-modules/uview-plus/components/u-steps-item/u-steps-item.js")+(()=>"../../../node-modules/uview-plus/components/u-steps/u-steps.js"))();const s=e.defineComponent({__name:"ProcessLogs",setup:s=>(s,t)=>{var l,u,a,d,r,m,i,p,v,c,g;return e.e({a:!(null==(a=null==(u=null==(l=e.unref(n.useModel))?void 0:l.logsData)?void 0:u.value)?void 0:a.length)},(null==(m=null==(r=null==(d=e.unref(n.useModel))?void 0:d.logsData)?void 0:r.value)||m.length,{}),{b:e.f(null==(p=null==(i=e.unref(n.useModel))?void 0:i.logsData)?void 0:p.value,(n,s,t)=>({a:"a4eee7b6-3-"+t+",a4eee7b6-2-"+t,b:e.p({value:null==n?void 0:n.status,Enums:e.unref(o.HouseWorkOrdersStatusEnum)}),c:e.t(null==n?void 0:n.description),d:e.f(null==n?void 0:n.attachments,(e,o,n)=>({a:null==e?void 0:e.url,b:`attachment_${o}`})),e:e.t(null==n?void 0:n.created_at),f:`log_item_${s}`,g:"a4eee7b6-2-"+t+",a4eee7b6-1"})),c:e.p({direction:"column",dot:!0,current:(null==(g=null==(c=null==(v=e.unref(n.useModel))?void 0:v.logsData)?void 0:c.value)?void 0:g.length)-1})})}}),t=e._export_sfc(s,[["__scopeId","data-v-a4eee7b6"]]);wx.createComponent(t); diff --git a/dist/build/mp-weixin/WORKORDER/show_log/index.js b/dist/build/mp-weixin/WORKORDER/show_log/index.js index 77de3e0..c475669 100644 --- a/dist/build/mp-weixin/WORKORDER/show_log/index.js +++ b/dist/build/mp-weixin/WORKORDER/show_log/index.js @@ -1 +1 @@ -"use strict";const l=require("../../common/vendor.js"),e=require("../../common/libraries/day.js"),o=require("./method.js"),u=require("./model.js"),n=require("../../gen/Enums.js");if(require("../../common/libraries/apiLoading.js"),require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(l.resolveComponent("hs-enum-tag")+l.resolveComponent("hs-level")+l.resolveComponent("up-icon")+l.resolveComponent("hs-up-rate")+l.resolveComponent("hs-footer"))()}Math||((()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../components/hs-level/hs-level.js")+(()=>"../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../components/hs-up-rate/hs-up-rate.js")+d+(()=>"../../components/hs-footer/hs-footer.js"))();const d=()=>"./components/ProcessLogs.js",a=l.defineComponent({__name:"index",setup:d=>(l.onLoad((l=>{var e,n;u.useModel.dataShow.value={},null==(e=o.method)||e.getShow(null==l?void 0:l.id),null==(n=o.method)||n.getHouseWorkLogs(null==l?void 0:l.id)})),l.onShow((()=>{var l,e,n,d,a,v,i,t,s,r,m;(null==(n=null==(e=null==(l=u.useModel)?void 0:l.dataShow)?void 0:e.value)?void 0:n.id)&&(null==(i=o.method)||i.getShow(null==(v=null==(a=null==(d=u.useModel)?void 0:d.dataShow)?void 0:a.value)?void 0:v.id),null==(m=o.method)||m.getHouseWorkLogs(null==(r=null==(s=null==(t=u.useModel)?void 0:t.dataShow)?void 0:s.value)?void 0:r.id))})),l.onUnload((()=>{u.useModel.logsData.value=[]})),(d,a)=>{var v,i,t,s,r,m,h,f,S,c,w,M,p,g,_,j,y,P,q,H,b,k,A,C,E,W,x,L,T,$,O,z,D,I,N,R,B,F,G,U,J,K,Q,V,X,Y,Z,ll,el,ol,ul,nl,dl,al,vl,il,tl,sl,rl,ml,hl,fl,Sl,cl,wl,Ml,pl,gl,_l,jl,yl,Pl,ql,Hl,bl,kl,Al,Cl,El,Wl,xl,Ll,Tl,$l,Ol,zl,Dl,Il,Nl,Rl,Bl,Fl,Gl,Ul,Jl,Kl,Ql,Vl,Xl,Yl,Zl,le,ee,oe,ue,ne,de,ae,ve,ie,te,se,re,me,he,fe,Se,ce,we,Me,pe,ge,_e,je,ye,Pe,qe,He,be,ke,Ae,Ce,Ee,We,xe,Le,Te,$e,Oe,ze,De,Ie,Ne,Re,Be,Fe,Ge,Ue,Je,Ke,Qe;return l.e({a:l.p({value:null==(t=null==(i=null==(v=l.unref(u.useModel))?void 0:v.dataShow)?void 0:i.value)?void 0:t.type,Enums:l.unref(n.HouseWorkOrdersTypeEnum)}),b:null==(m=null==(r=null==(s=l.unref(u.useModel))?void 0:s.dataShow)?void 0:r.value)?void 0:m.location},(null==(S=null==(f=null==(h=l.unref(u.useModel))?void 0:h.dataShow)?void 0:f.value)?void 0:S.location)?{c:l.p({value:null==(M=null==(w=null==(c=l.unref(u.useModel))?void 0:c.dataShow)?void 0:w.value)?void 0:M.location,Enums:l.unref(n.HouseWorkOrdersLocationEnum)})}:{},{d:l.p({level:null==(_=null==(g=null==(p=l.unref(u.useModel))?void 0:p.dataShow)?void 0:g.value)?void 0:_.level}),e:l.p({value:null==(P=null==(y=null==(j=l.unref(u.useModel))?void 0:j.dataShow)?void 0:y.value)?void 0:P.status,Enums:l.unref(n.HouseWorkOrdersStatusEnum)}),f:l.n(`btn_status status_${null==(b=null==(H=null==(q=l.unref(u.useModel))?void 0:q.dataShow)?void 0:H.value)?void 0:b.status}`),g:"Pending"===(null==(C=null==(A=null==(k=l.unref(u.useModel))?void 0:k.dataShow)?void 0:A.value)?void 0:C.status)&&"MyHome"===(null==(x=null==(W=null==(E=l.unref(u.useModel))?void 0:E.dataShow)?void 0:W.value)?void 0:x.location)},"Pending"===(null==($=null==(T=null==(L=l.unref(u.useModel))?void 0:L.dataShow)?void 0:T.value)?void 0:$.status)&&"MyHome"===(null==(D=null==(z=null==(O=l.unref(u.useModel))?void 0:O.dataShow)?void 0:z.value)?void 0:D.location)?{h:l.p({name:"clock",color:(null==(B=l.unref(e.getTimeStatus)(null==(R=null==(N=null==(I=l.unref(u.useModel))?void 0:I.dataShow)?void 0:N.value)?void 0:R.expect_end_time))?void 0:B.color)||"#000",size:"14"}),i:l.t(null==(J=l.unref(e.getTimeStatus)(null==(U=null==(G=null==(F=l.unref(u.useModel))?void 0:F.dataShow)?void 0:G.value)?void 0:U.expect_end_time))?void 0:J.label),j:l.n(`time_status status_${null==(X=l.unref(e.getTimeStatus)(null==(V=null==(Q=null==(K=l.unref(u.useModel))?void 0:K.dataShow)?void 0:Q.value)?void 0:V.expect_end_time))?void 0:X.status}`)}:{},{k:"Repair"===(null==(ll=null==(Z=null==(Y=l.unref(u.useModel))?void 0:Y.dataShow)?void 0:Z.value)?void 0:ll.type)||"Incident"===(null==(ul=null==(ol=null==(el=l.unref(u.useModel))?void 0:el.dataShow)?void 0:ol.value)?void 0:ul.type)},"Repair"===(null==(al=null==(dl=null==(nl=l.unref(u.useModel))?void 0:nl.dataShow)?void 0:dl.value)?void 0:al.type)||"Incident"===(null==(tl=null==(il=null==(vl=l.unref(u.useModel))?void 0:vl.dataShow)?void 0:il.value)?void 0:tl.type)?{l:l.t((null==(hl=null==(ml=null==(rl=null==(sl=l.unref(u.useModel))?void 0:sl.dataShow)?void 0:rl.value)?void 0:ml.asset_house)?void 0:hl.full_name)||(null==(wl=null==(cl=null==(Sl=null==(fl=l.unref(u.useModel))?void 0:fl.dataShow)?void 0:Sl.value)?void 0:cl.asset_project)?void 0:wl.name)),m:l.t(null==(gl=null==(pl=null==(Ml=l.unref(u.useModel))?void 0:Ml.dataShow)?void 0:pl.value)?void 0:gl.title)}:{},{n:l.t(null==(yl=null==(jl=null==(_l=l.unref(u.useModel))?void 0:_l.dataShow)?void 0:jl.value)?void 0:yl.content),o:l.f(null==(Hl=null==(ql=null==(Pl=l.unref(u.useModel))?void 0:Pl.dataShow)?void 0:ql.value)?void 0:Hl.attachments,((l,e,o)=>({a:null==l?void 0:l.url,b:`img_${e}`}))),p:l.t(null==(Al=null==(kl=null==(bl=l.unref(u.useModel))?void 0:bl.dataShow)?void 0:kl.value)?void 0:Al.code),q:l.t((null==(xl=null==(Wl=null==(El=null==(Cl=l.unref(u.useModel))?void 0:Cl.dataShow)?void 0:El.value)?void 0:Wl.customer)?void 0:xl.name)||(null==(Ol=null==($l=null==(Tl=null==(Ll=l.unref(u.useModel))?void 0:Ll.dataShow)?void 0:Tl.value)?void 0:$l.company_employee)?void 0:Ol.name)),r:null==(Il=null==(Dl=null==(zl=l.unref(u.useModel))?void 0:zl.dataShow)?void 0:Dl.value)?void 0:Il.reporter_name},(null==(Bl=null==(Rl=null==(Nl=l.unref(u.useModel))?void 0:Nl.dataShow)?void 0:Rl.value)?void 0:Bl.reporter_name)?{s:l.t(null==(Ul=null==(Gl=null==(Fl=l.unref(u.useModel))?void 0:Fl.dataShow)?void 0:Gl.value)?void 0:Ul.reporter_name),t:l.t(null==(Ql=null==(Kl=null==(Jl=l.unref(u.useModel))?void 0:Jl.dataShow)?void 0:Kl.value)?void 0:Ql.reporter_phone)}:{},{v:l.t(null==(Yl=null==(Xl=null==(Vl=l.unref(u.useModel))?void 0:Vl.dataShow)?void 0:Xl.value)?void 0:Yl.created_at),w:"PendingPayment"===(null==(ee=null==(le=null==(Zl=l.unref(u.useModel))?void 0:Zl.dataShow)?void 0:le.value)?void 0:ee.status)&&(null==(ne=null==(ue=null==(oe=l.unref(u.useModel))?void 0:oe.dataShow)?void 0:ue.value)?void 0:ne.amount)},"PendingPayment"===(null==(ve=null==(ae=null==(de=l.unref(u.useModel))?void 0:de.dataShow)?void 0:ae.value)?void 0:ve.status)&&(null==(se=null==(te=null==(ie=l.unref(u.useModel))?void 0:ie.dataShow)?void 0:te.value)?void 0:se.amount)?{x:l.t(null==(he=null==(me=null==(re=l.unref(u.useModel))?void 0:re.dataShow)?void 0:me.value)?void 0:he.amount)}:{},{y:null==(ce=null==(Se=null==(fe=l.unref(u.useModel))?void 0:fe.dataShow)?void 0:Se.value)?void 0:ce.evaluation_score},(null==(pe=null==(Me=null==(we=l.unref(u.useModel))?void 0:we.dataShow)?void 0:Me.value)?void 0:pe.evaluation_score)?{z:l.p({valueModel:null==(je=null==(_e=null==(ge=l.unref(u.useModel))?void 0:ge.dataShow)?void 0:_e.value)?void 0:je.evaluation_score})}:{},{A:l.n("show_card "+("Pending"===(null==(qe=null==(Pe=null==(ye=l.unref(u.useModel))?void 0:ye.dataShow)?void 0:Pe.value)?void 0:qe.status)?`card_status_${null==(Ae=l.unref(e.getTimeStatus)(null==(ke=null==(be=null==(He=l.unref(u.useModel))?void 0:He.dataShow)?void 0:be.value)?void 0:ke.expect_end_time))?void 0:Ae.status}`:"")),B:"MyHome"!==(null==(We=null==(Ee=null==(Ce=l.unref(u.useModel))?void 0:Ce.dataShow)?void 0:Ee.value)?void 0:We.location)},"MyHome"!==(null==(Te=null==(Le=null==(xe=l.unref(u.useModel))?void 0:xe.dataShow)?void 0:Le.value)?void 0:Te.location)?l.e({C:"Pending"===(null==(ze=null==(Oe=null==($e=l.unref(u.useModel))?void 0:$e.dataShow)?void 0:Oe.value)?void 0:ze.status)},"Pending"===(null==(Ne=null==(Ie=null==(De=l.unref(u.useModel))?void 0:De.dataShow)?void 0:Ie.value)?void 0:Ne.status)?{D:l.o(null==(Re=l.unref(o.method))?void 0:Re.handleClosed),E:l.p({btnParimaryName:"关闭工单"})}:{},{F:"PendingAcceptance"===(null==(Ge=null==(Fe=null==(Be=l.unref(u.useModel))?void 0:Be.dataShow)?void 0:Fe.value)?void 0:Ge.status)},"PendingAcceptance"===(null==(Ke=null==(Je=null==(Ue=l.unref(u.useModel))?void 0:Ue.dataShow)?void 0:Je.value)?void 0:Ke.status)?{G:l.o(null==(Qe=l.unref(o.method))?void 0:Qe.toPageAddLogs),H:l.p({btnParimaryName:"验收工单"})}:{}):{})})});wx.createPage(a); +"use strict";const l=require("../../common/vendor.js"),e=require("../../common/libraries/day.js"),o=require("./method.js"),u=require("./model.js"),n=require("../../gen/Enums.js");if(require("../../common/libraries/apiLoading.js"),require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(l.resolveComponent("hs-enum-tag")+l.resolveComponent("hs-level")+l.resolveComponent("up-icon")+l.resolveComponent("hs-up-rate")+l.resolveComponent("hs-footer"))()}Math||((()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../components/hs-level/hs-level.js")+(()=>"../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../components/hs-up-rate/hs-up-rate.js")+d+(()=>"../../components/hs-footer/hs-footer.js"))();const d=()=>"./components/ProcessLogs.js",a=l.defineComponent({__name:"index",setup:d=>(l.onLoad(l=>{var e,n;u.useModel.dataShow.value={},null==(e=o.method)||e.getShow(null==l?void 0:l.id),null==(n=o.method)||n.getHouseWorkLogs(null==l?void 0:l.id)}),l.onShow(()=>{var l,e,n,d,a,v,i,t,s,r,m;(null==(n=null==(e=null==(l=u.useModel)?void 0:l.dataShow)?void 0:e.value)?void 0:n.id)&&(null==(i=o.method)||i.getShow(null==(v=null==(a=null==(d=u.useModel)?void 0:d.dataShow)?void 0:a.value)?void 0:v.id),null==(m=o.method)||m.getHouseWorkLogs(null==(r=null==(s=null==(t=u.useModel)?void 0:t.dataShow)?void 0:s.value)?void 0:r.id))}),l.onUnload(()=>{u.useModel.logsData.value=[]}),(d,a)=>{var v,i,t,s,r,m,h,f,S,c,w,M,p,g,_,j,y,P,q,H,b,k,A,C,E,W,x,L,T,$,O,z,D,I,N,R,B,F,G,U,J,K,Q,V,X,Y,Z,ll,el,ol,ul,nl,dl,al,vl,il,tl,sl,rl,ml,hl,fl,Sl,cl,wl,Ml,pl,gl,_l,jl,yl,Pl,ql,Hl,bl,kl,Al,Cl,El,Wl,xl,Ll,Tl,$l,Ol,zl,Dl,Il,Nl,Rl,Bl,Fl,Gl,Ul,Jl,Kl,Ql,Vl,Xl,Yl,Zl,le,ee,oe,ue,ne,de,ae,ve,ie,te,se,re,me,he,fe,Se,ce,we,Me,pe,ge,_e,je,ye,Pe,qe,He,be,ke,Ae,Ce,Ee,We,xe,Le,Te,$e,Oe,ze,De,Ie,Ne,Re,Be,Fe,Ge,Ue,Je,Ke,Qe;return l.e({a:l.p({value:null==(t=null==(i=null==(v=l.unref(u.useModel))?void 0:v.dataShow)?void 0:i.value)?void 0:t.type,Enums:l.unref(n.HouseWorkOrdersTypeEnum)}),b:null==(m=null==(r=null==(s=l.unref(u.useModel))?void 0:s.dataShow)?void 0:r.value)?void 0:m.location},(null==(S=null==(f=null==(h=l.unref(u.useModel))?void 0:h.dataShow)?void 0:f.value)?void 0:S.location)?{c:l.p({value:null==(M=null==(w=null==(c=l.unref(u.useModel))?void 0:c.dataShow)?void 0:w.value)?void 0:M.location,Enums:l.unref(n.HouseWorkOrdersLocationEnum)})}:{},{d:l.p({level:null==(_=null==(g=null==(p=l.unref(u.useModel))?void 0:p.dataShow)?void 0:g.value)?void 0:_.level}),e:l.p({value:null==(P=null==(y=null==(j=l.unref(u.useModel))?void 0:j.dataShow)?void 0:y.value)?void 0:P.status,Enums:l.unref(n.HouseWorkOrdersStatusEnum)}),f:l.n(`btn_status status_${null==(b=null==(H=null==(q=l.unref(u.useModel))?void 0:q.dataShow)?void 0:H.value)?void 0:b.status}`),g:"Pending"===(null==(C=null==(A=null==(k=l.unref(u.useModel))?void 0:k.dataShow)?void 0:A.value)?void 0:C.status)&&"MyHome"===(null==(x=null==(W=null==(E=l.unref(u.useModel))?void 0:E.dataShow)?void 0:W.value)?void 0:x.location)},"Pending"===(null==($=null==(T=null==(L=l.unref(u.useModel))?void 0:L.dataShow)?void 0:T.value)?void 0:$.status)&&"MyHome"===(null==(D=null==(z=null==(O=l.unref(u.useModel))?void 0:O.dataShow)?void 0:z.value)?void 0:D.location)?{h:l.p({name:"clock",color:(null==(B=l.unref(e.getTimeStatus)(null==(R=null==(N=null==(I=l.unref(u.useModel))?void 0:I.dataShow)?void 0:N.value)?void 0:R.expect_end_time))?void 0:B.color)||"#000",size:"14"}),i:l.t(null==(J=l.unref(e.getTimeStatus)(null==(U=null==(G=null==(F=l.unref(u.useModel))?void 0:F.dataShow)?void 0:G.value)?void 0:U.expect_end_time))?void 0:J.label),j:l.n(`time_status status_${null==(X=l.unref(e.getTimeStatus)(null==(V=null==(Q=null==(K=l.unref(u.useModel))?void 0:K.dataShow)?void 0:Q.value)?void 0:V.expect_end_time))?void 0:X.status}`)}:{},{k:"Repair"===(null==(ll=null==(Z=null==(Y=l.unref(u.useModel))?void 0:Y.dataShow)?void 0:Z.value)?void 0:ll.type)||"Incident"===(null==(ul=null==(ol=null==(el=l.unref(u.useModel))?void 0:el.dataShow)?void 0:ol.value)?void 0:ul.type)},"Repair"===(null==(al=null==(dl=null==(nl=l.unref(u.useModel))?void 0:nl.dataShow)?void 0:dl.value)?void 0:al.type)||"Incident"===(null==(tl=null==(il=null==(vl=l.unref(u.useModel))?void 0:vl.dataShow)?void 0:il.value)?void 0:tl.type)?{l:l.t((null==(hl=null==(ml=null==(rl=null==(sl=l.unref(u.useModel))?void 0:sl.dataShow)?void 0:rl.value)?void 0:ml.asset_house)?void 0:hl.full_name)||(null==(wl=null==(cl=null==(Sl=null==(fl=l.unref(u.useModel))?void 0:fl.dataShow)?void 0:Sl.value)?void 0:cl.asset_project)?void 0:wl.name)),m:l.t(null==(gl=null==(pl=null==(Ml=l.unref(u.useModel))?void 0:Ml.dataShow)?void 0:pl.value)?void 0:gl.title)}:{},{n:l.t(null==(yl=null==(jl=null==(_l=l.unref(u.useModel))?void 0:_l.dataShow)?void 0:jl.value)?void 0:yl.content),o:l.f(null==(Hl=null==(ql=null==(Pl=l.unref(u.useModel))?void 0:Pl.dataShow)?void 0:ql.value)?void 0:Hl.attachments,(l,e,o)=>({a:null==l?void 0:l.url,b:`img_${e}`})),p:l.t(null==(Al=null==(kl=null==(bl=l.unref(u.useModel))?void 0:bl.dataShow)?void 0:kl.value)?void 0:Al.code),q:l.t((null==(xl=null==(Wl=null==(El=null==(Cl=l.unref(u.useModel))?void 0:Cl.dataShow)?void 0:El.value)?void 0:Wl.customer)?void 0:xl.name)||(null==(Ol=null==($l=null==(Tl=null==(Ll=l.unref(u.useModel))?void 0:Ll.dataShow)?void 0:Tl.value)?void 0:$l.company_employee)?void 0:Ol.name)),r:null==(Il=null==(Dl=null==(zl=l.unref(u.useModel))?void 0:zl.dataShow)?void 0:Dl.value)?void 0:Il.reporter_name},(null==(Bl=null==(Rl=null==(Nl=l.unref(u.useModel))?void 0:Nl.dataShow)?void 0:Rl.value)?void 0:Bl.reporter_name)?{s:l.t(null==(Ul=null==(Gl=null==(Fl=l.unref(u.useModel))?void 0:Fl.dataShow)?void 0:Gl.value)?void 0:Ul.reporter_name),t:l.t(null==(Ql=null==(Kl=null==(Jl=l.unref(u.useModel))?void 0:Jl.dataShow)?void 0:Kl.value)?void 0:Ql.reporter_phone)}:{},{v:l.t(null==(Yl=null==(Xl=null==(Vl=l.unref(u.useModel))?void 0:Vl.dataShow)?void 0:Xl.value)?void 0:Yl.created_at),w:"PendingPayment"===(null==(ee=null==(le=null==(Zl=l.unref(u.useModel))?void 0:Zl.dataShow)?void 0:le.value)?void 0:ee.status)&&(null==(ne=null==(ue=null==(oe=l.unref(u.useModel))?void 0:oe.dataShow)?void 0:ue.value)?void 0:ne.amount)},"PendingPayment"===(null==(ve=null==(ae=null==(de=l.unref(u.useModel))?void 0:de.dataShow)?void 0:ae.value)?void 0:ve.status)&&(null==(se=null==(te=null==(ie=l.unref(u.useModel))?void 0:ie.dataShow)?void 0:te.value)?void 0:se.amount)?{x:l.t(null==(he=null==(me=null==(re=l.unref(u.useModel))?void 0:re.dataShow)?void 0:me.value)?void 0:he.amount)}:{},{y:null==(ce=null==(Se=null==(fe=l.unref(u.useModel))?void 0:fe.dataShow)?void 0:Se.value)?void 0:ce.evaluation_score},(null==(pe=null==(Me=null==(we=l.unref(u.useModel))?void 0:we.dataShow)?void 0:Me.value)?void 0:pe.evaluation_score)?{z:l.p({valueModel:null==(je=null==(_e=null==(ge=l.unref(u.useModel))?void 0:ge.dataShow)?void 0:_e.value)?void 0:je.evaluation_score})}:{},{A:l.n("show_card "+("Pending"===(null==(qe=null==(Pe=null==(ye=l.unref(u.useModel))?void 0:ye.dataShow)?void 0:Pe.value)?void 0:qe.status)?`card_status_${null==(Ae=l.unref(e.getTimeStatus)(null==(ke=null==(be=null==(He=l.unref(u.useModel))?void 0:He.dataShow)?void 0:be.value)?void 0:ke.expect_end_time))?void 0:Ae.status}`:"")),B:"MyHome"!==(null==(We=null==(Ee=null==(Ce=l.unref(u.useModel))?void 0:Ce.dataShow)?void 0:Ee.value)?void 0:We.location)},"MyHome"!==(null==(Te=null==(Le=null==(xe=l.unref(u.useModel))?void 0:xe.dataShow)?void 0:Le.value)?void 0:Te.location)?l.e({C:"Pending"===(null==(ze=null==(Oe=null==($e=l.unref(u.useModel))?void 0:$e.dataShow)?void 0:Oe.value)?void 0:ze.status)},"Pending"===(null==(Ne=null==(Ie=null==(De=l.unref(u.useModel))?void 0:De.dataShow)?void 0:Ie.value)?void 0:Ne.status)?{D:l.o(null==(Re=l.unref(o.method))?void 0:Re.handleClosed),E:l.p({btnParimaryName:"关闭工单"})}:{},{F:"PendingAcceptance"===(null==(Ge=null==(Fe=null==(Be=l.unref(u.useModel))?void 0:Be.dataShow)?void 0:Fe.value)?void 0:Ge.status)},"PendingAcceptance"===(null==(Ke=null==(Je=null==(Ue=l.unref(u.useModel))?void 0:Ue.dataShow)?void 0:Je.value)?void 0:Ke.status)?{G:l.o(null==(Qe=l.unref(o.method))?void 0:Qe.toPageAddLogs),H:l.p({btnParimaryName:"验收工单"})}:{}):{})})});wx.createPage(a); diff --git a/dist/build/mp-weixin/WORKORDER/show_log/method.js b/dist/build/mp-weixin/WORKORDER/show_log/method.js index 0037abc..8415d56 100644 --- a/dist/build/mp-weixin/WORKORDER/show_log/method.js +++ b/dist/build/mp-weixin/WORKORDER/show_log/method.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/apiLoading.js"),l=require("../../common/libraries/day.js"),d=require("../../gen/Apis.js"),i=require("./model.js"),n=e=>{o.getApiLoading(d.Apis.WorkOrder.HouseWorkOrders.Show,{id:e}).then((e=>{i.useModel.dataShow.value=null==e?void 0:e.data}))},a=e=>{o.getApiLoading(d.Apis.WorkOrder.HouseWorkLogs.List,{house_work_orders_id:e}).then((e=>{i.useModel.logsData.value=null==e?void 0:e.data}))},u={getShow:n,getHouseWorkLogs:a,toPageAddLogs(){var o,l,d,n,a,u;"PendingAcceptance"===(null==(d=null==(l=null==(o=i.useModel)?void 0:o.dataShow)?void 0:l.value)?void 0:d.status)&&e.index.navigateTo({url:`/WORKORDER/acceptance/index?id=${null==(u=null==(a=null==(n=i.useModel)?void 0:n.dataShow)?void 0:a.value)?void 0:u.id}`})},handleClosed(){var u,s,t,r,v,c;if((null==(t=null==(s=null==(u=i.useModel)?void 0:u.dataShow)?void 0:s.value)?void 0:t.expect_start_time)&&l.specificTime(null==(c=null==(v=null==(r=i.useModel)?void 0:r.dataShow)?void 0:v.value)?void 0:c.expect_start_time))return e.index.showModal({title:"提示",content:"距离工单开始时间小于2小时,无法关闭工单!若需取消,请联系处理人员操作。",cancelText:"点错了",success:function(e){e.confirm?console.log("用户点击确定"):e.cancel&&console.log("用户点击取消")}}),!1;e.index.showModal({title:"提示",content:"关闭工单后无法继续操作,如需继续需要重新提交,您是否确认关闭",cancelText:"点错了",success:function(e){var l,u,s;e.confirm?(o.getApiLoading(d.Apis.WorkOrder.HouseWorkOrders.Close,{id:null==(s=null==(u=null==(l=i.useModel)?void 0:l.dataShow)?void 0:u.value)?void 0:s.id}).then((e=>{var o,l,d,u,s,t;n(null==(d=null==(l=null==(o=i.useModel)?void 0:o.dataShow)?void 0:l.value)?void 0:d.id),a(null==(t=null==(s=null==(u=i.useModel)?void 0:u.dataShow)?void 0:s.value)?void 0:t.id)})),console.log("用户点击确定")):e.cancel&&console.log("用户点击取消")}})},handlePendingPaymentQrCode(e){},handleCopyPhone(o){o&&e.index.makePhoneCall({phoneNumber:o})}};exports.method=u; +"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/apiLoading.js"),l=require("../../common/libraries/day.js"),d=require("../../gen/Apis.js"),i=require("./model.js"),n=e=>{o.getApiLoading(d.Apis.WorkOrder.HouseWorkOrders.Show,{id:e}).then(e=>{i.useModel.dataShow.value=null==e?void 0:e.data})},a=e=>{o.getApiLoading(d.Apis.WorkOrder.HouseWorkLogs.List,{house_work_orders_id:e}).then(e=>{i.useModel.logsData.value=null==e?void 0:e.data})},u={getShow:n,getHouseWorkLogs:a,toPageAddLogs(){var o,l,d,n,a,u;"PendingAcceptance"===(null==(d=null==(l=null==(o=i.useModel)?void 0:o.dataShow)?void 0:l.value)?void 0:d.status)&&e.index.navigateTo({url:`/WORKORDER/acceptance/index?id=${null==(u=null==(a=null==(n=i.useModel)?void 0:n.dataShow)?void 0:a.value)?void 0:u.id}`})},handleClosed(){var u,s,t,r,v,c;if((null==(t=null==(s=null==(u=i.useModel)?void 0:u.dataShow)?void 0:s.value)?void 0:t.expect_start_time)&&l.specificTime(null==(c=null==(v=null==(r=i.useModel)?void 0:r.dataShow)?void 0:v.value)?void 0:c.expect_start_time))return e.index.showModal({title:"提示",content:"距离工单开始时间小于2小时,无法关闭工单!若需取消,请联系处理人员操作。",cancelText:"点错了",success:function(e){e.confirm?console.log("用户点击确定"):e.cancel&&console.log("用户点击取消")}}),!1;e.index.showModal({title:"提示",content:"关闭工单后无法继续操作,如需继续需要重新提交,您是否确认关闭",cancelText:"点错了",success:function(e){var l,u,s;e.confirm?(o.getApiLoading(d.Apis.WorkOrder.HouseWorkOrders.Close,{id:null==(s=null==(u=null==(l=i.useModel)?void 0:l.dataShow)?void 0:u.value)?void 0:s.id}).then(e=>{var o,l,d,u,s,t;n(null==(d=null==(l=null==(o=i.useModel)?void 0:o.dataShow)?void 0:l.value)?void 0:d.id),a(null==(t=null==(s=null==(u=i.useModel)?void 0:u.dataShow)?void 0:s.value)?void 0:t.id)}),console.log("用户点击确定")):e.cancel&&console.log("用户点击取消")}})},handlePendingPaymentQrCode(e){},handleCopyPhone(o){o&&e.index.makePhoneCall({phoneNumber:o})}};exports.method=u; diff --git a/dist/build/mp-weixin/WORKORDER/update/index.js b/dist/build/mp-weixin/WORKORDER/update/index.js index 612fc24..2912408 100644 --- a/dist/build/mp-weixin/WORKORDER/update/index.js +++ b/dist/build/mp-weixin/WORKORDER/update/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("./method.js"),r=require("./model.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/naviHelper.js"),!Array){(e.resolveComponent("hs-radio-cell-picker")+e.resolveComponent("hs-cell-textarea")+e.resolveComponent("hs-upload")+e.resolveComponent("hs-radio")+e.resolveComponent("hs-cell")+e.resolveComponent("hs-input")+e.resolveComponent("hs-radio-picker-accounts")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../components/hs-radio-cell-picker/hs-radio-cell-picker.js")+(()=>"../../components/hs-cell-textarea/hs-cell-textarea.js")+(()=>"../../components/hs-upload/hs-upload.js")+(()=>"../../components/hs-radio/hs-radio.js")+(()=>"../../components/hs-cell/hs-cell.js")+(()=>"../../components/hs-input/hs-input.js")+(()=>"../../components/hs-radio-picker-accounts/hs-radio-picker-accounts.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const a=e.defineComponent({__name:"index",setup:a=>(e.onLoad((e=>{var r;null==(r=o.method)||r.init(e)})),(a,u)=>{var t,s,l,n,m;return e.e({a:e.o((o=>e.unref(r.useModel).formData.value.status=o)),b:e.p({Enums:null==(s=null==(t=e.unref(r.useModel))?void 0:t.HouseWorkOrdersStatusItemEnum)?void 0:s.value,title:"工单状态",borderTop:!0,required:!0,valueModel:e.unref(r.useModel).formData.value.status}),c:e.o((o=>e.unref(r.useModel).formData.value.description=o)),d:e.p({borderTop:!0,title:"Completed"===e.unref(r.useModel).formData.value.status?"备注说明":"进度说明",required:!0,placeholder:"Completed"===e.unref(r.useModel).formData.value.status?"请详细描述情况,包括具体位置现象等":"请输入进度说明",valueModel:e.unref(r.useModel).formData.value.description}),e:e.o((o=>e.unref(r.useModel).formData.value.attachments=o)),f:e.p({borderTop:!0,title:"Completed"===e.unref(r.useModel).formData.value.status?"完工图片":"上传图片",required:"Completed"===e.unref(r.useModel).formData.value.status,count:6,valueModel:e.unref(r.useModel).formData.value.attachments}),g:"Completed"===e.unref(r.useModel).formData.value.status&&"MyHome"===e.unref(r.useModel).formData.value.location},"Completed"===e.unref(r.useModel).formData.value.status&&"MyHome"===e.unref(r.useModel).formData.value.location?e.e({h:e.o((o=>e.unref(r.useModel).formData.value.is_fee=o)),i:e.p({Enums:null==(n=null==(l=e.unref(r.useModel))?void 0:l.HouseWorkOrdersCostEnum)?void 0:n.value,valueModel:e.unref(r.useModel).formData.value.is_fee}),j:e.p({title:"是否产生费用",required:!0}),k:"1"===e.unref(r.useModel).formData.value.is_fee},"1"===e.unref(r.useModel).formData.value.is_fee?{l:e.o((o=>e.unref(r.useModel).formData.value.amount=o)),m:e.p({type:"number",placeholder:"请输入费用金额",textAlign:"right",suffix:"元",valueModel:e.unref(r.useModel).formData.value.amount}),n:e.p({title:"费用金额",required:!0,borderTop:!0}),o:e.o((o=>e.unref(r.useModel).formData.value.company_project_receipt_accounts_id=o)),p:e.p({title:"收款账号",required:!0,borderTop:!0,params:e.unref(r.useModel).formData.value,valueModel:e.unref(r.useModel).formData.value.company_project_receipt_accounts_id})}:{}):{},{q:e.o(null==(m=e.unref(o.method))?void 0:m.handleSubmit),r:e.p({btnParimaryName:"提交"})})})});wx.createPage(a); +"use strict";const e=require("../../common/vendor.js"),o=require("./method.js"),r=require("./model.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/naviHelper.js"),!Array){(e.resolveComponent("hs-radio-cell-picker")+e.resolveComponent("hs-cell-textarea")+e.resolveComponent("hs-upload")+e.resolveComponent("hs-radio")+e.resolveComponent("hs-cell")+e.resolveComponent("hs-input")+e.resolveComponent("hs-radio-picker-accounts")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../components/hs-radio-cell-picker/hs-radio-cell-picker.js")+(()=>"../../components/hs-cell-textarea/hs-cell-textarea.js")+(()=>"../../components/hs-upload/hs-upload.js")+(()=>"../../components/hs-radio/hs-radio.js")+(()=>"../../components/hs-cell/hs-cell.js")+(()=>"../../components/hs-input/hs-input.js")+(()=>"../../components/hs-radio-picker-accounts/hs-radio-picker-accounts.js")+(()=>"../../components/hs-footer/hs-footer.js"))();const a=e.defineComponent({__name:"index",setup:a=>(e.onLoad(e=>{var r;null==(r=o.method)||r.init(e)}),(a,u)=>{var t,s,l,n,m;return e.e({a:e.o(o=>e.unref(r.useModel).formData.value.status=o),b:e.p({Enums:null==(s=null==(t=e.unref(r.useModel))?void 0:t.HouseWorkOrdersStatusItemEnum)?void 0:s.value,title:"工单状态",borderTop:!0,required:!0,valueModel:e.unref(r.useModel).formData.value.status}),c:e.o(o=>e.unref(r.useModel).formData.value.description=o),d:e.p({borderTop:!0,title:"Completed"===e.unref(r.useModel).formData.value.status?"备注说明":"进度说明",required:!0,placeholder:"Completed"===e.unref(r.useModel).formData.value.status?"请详细描述情况,包括具体位置现象等":"请输入进度说明",valueModel:e.unref(r.useModel).formData.value.description}),e:e.o(o=>e.unref(r.useModel).formData.value.attachments=o),f:e.p({borderTop:!0,title:"Completed"===e.unref(r.useModel).formData.value.status?"完工图片":"上传图片",required:"Completed"===e.unref(r.useModel).formData.value.status,count:6,valueModel:e.unref(r.useModel).formData.value.attachments}),g:"Completed"===e.unref(r.useModel).formData.value.status&&"MyHome"===e.unref(r.useModel).formData.value.location},"Completed"===e.unref(r.useModel).formData.value.status&&"MyHome"===e.unref(r.useModel).formData.value.location?e.e({h:e.o(o=>e.unref(r.useModel).formData.value.is_fee=o),i:e.p({Enums:null==(n=null==(l=e.unref(r.useModel))?void 0:l.HouseWorkOrdersCostEnum)?void 0:n.value,valueModel:e.unref(r.useModel).formData.value.is_fee}),j:e.p({title:"是否产生费用",required:!0}),k:"1"===e.unref(r.useModel).formData.value.is_fee},"1"===e.unref(r.useModel).formData.value.is_fee?{l:e.o(o=>e.unref(r.useModel).formData.value.amount=o),m:e.p({type:"number",placeholder:"请输入费用金额",textAlign:"right",suffix:"元",valueModel:e.unref(r.useModel).formData.value.amount}),n:e.p({title:"费用金额",required:!0,borderTop:!0}),o:e.o(o=>e.unref(r.useModel).formData.value.company_project_receipt_accounts_id=o),p:e.p({title:"收款账号",required:!0,borderTop:!0,params:e.unref(r.useModel).formData.value,valueModel:e.unref(r.useModel).formData.value.company_project_receipt_accounts_id})}:{}):{},{q:e.o(null==(m=e.unref(o.method))?void 0:m.handleSubmit),r:e.p({btnParimaryName:"提交"})})})});wx.createPage(a); diff --git a/dist/build/mp-weixin/WORKORDER/update/method.js b/dist/build/mp-weixin/WORKORDER/update/method.js index f0a5c60..a35811d 100644 --- a/dist/build/mp-weixin/WORKORDER/update/method.js +++ b/dist/build/mp-weixin/WORKORDER/update/method.js @@ -1 +1 @@ -"use strict";require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const e=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const o=require("../../common/libraries/apiLoading.js"),s=require("../../common/libraries/naviHelper.js"),l=require("../../gen/Apis.js"),u=require("./model.js");e.useWeAppAuthStore();const a={init(e){u.useModel.HouseWorkOrdersStatusItemEnum.value={Processing:{text:"仍在处理",value:"Processing"},Completed:{text:"我已完工",value:"Completed"}},u.useModel.HouseWorkOrdersCostEnum.value={Processing2:{text:"是",value:"1"},Processing1:{text:"否",value:"0"}},u.useModel.formData.value={...e,house_work_orders_id:null==e?void 0:e.id}},handleSubmit(){var e,a,t,r,i,d,n,m,v,c,p,f,M,h,D,g;return console.log("handleSubmit",u.useModel.formData.value),u.useModel.formData.value.status?u.useModel.formData.value.description?"Completed"!==u.useModel.formData.value.status||(null==(e=u.useModel.formData.value.attachments)?void 0:e.length)?"Completed"!==(null==(r=null==(t=null==(a=u.useModel)?void 0:a.formData)?void 0:t.value)?void 0:r.status)||"MyHome"!==(null==(n=null==(d=null==(i=u.useModel)?void 0:i.formData)?void 0:d.value)?void 0:n.location)||(null==(c=null==(v=null==(m=u.useModel)?void 0:m.formData)?void 0:v.value)?void 0:c.is_fee)?"1"!==u.useModel.formData.value.is_fee||(null==(M=null==(f=null==(p=u.useModel)?void 0:p.formData)?void 0:f.value)?void 0:M.amount)?"1"!==u.useModel.formData.value.is_fee||(null==(g=null==(D=null==(h=u.useModel)?void 0:h.formData)?void 0:D.value)?void 0:g.company_project_receipt_accounts_id)?void o.getApiLoading(l.Apis.WorkOrder.HouseWorkLogs.Store,{...u.useModel.formData.value}).then((e=>{s.showToastBack("提交成功!",1,!0),console.log(e)})):s.showToast("请选择收款账号!"):s.showToast("请输入费用金额!"):s.showToast("请上选择是否产生费用!"):s.showToast("请上传完工图片!"):s.showToast("请输入备注说明/进度说明!"):s.showToast("请先选择状态!")}};exports.method=a; +"use strict";require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const e=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const o=require("../../common/libraries/apiLoading.js"),s=require("../../common/libraries/naviHelper.js"),l=require("../../gen/Apis.js"),u=require("./model.js");e.useWeAppAuthStore();const a={init(e){u.useModel.HouseWorkOrdersStatusItemEnum.value={Processing:{text:"仍在处理",value:"Processing"},Completed:{text:"我已完工",value:"Completed"}},u.useModel.HouseWorkOrdersCostEnum.value={Processing2:{text:"是",value:"1"},Processing1:{text:"否",value:"0"}},u.useModel.formData.value={...e,house_work_orders_id:null==e?void 0:e.id}},handleSubmit(){var e,a,t,r,i,d,n,m,v,c,p,f,M,h,D,g;return console.log("handleSubmit",u.useModel.formData.value),u.useModel.formData.value.status?u.useModel.formData.value.description?"Completed"!==u.useModel.formData.value.status||(null==(e=u.useModel.formData.value.attachments)?void 0:e.length)?"Completed"!==(null==(r=null==(t=null==(a=u.useModel)?void 0:a.formData)?void 0:t.value)?void 0:r.status)||"MyHome"!==(null==(n=null==(d=null==(i=u.useModel)?void 0:i.formData)?void 0:d.value)?void 0:n.location)||(null==(c=null==(v=null==(m=u.useModel)?void 0:m.formData)?void 0:v.value)?void 0:c.is_fee)?"1"!==u.useModel.formData.value.is_fee||(null==(M=null==(f=null==(p=u.useModel)?void 0:p.formData)?void 0:f.value)?void 0:M.amount)?"1"!==u.useModel.formData.value.is_fee||(null==(g=null==(D=null==(h=u.useModel)?void 0:h.formData)?void 0:D.value)?void 0:g.company_project_receipt_accounts_id)?void o.getApiLoading(l.Apis.WorkOrder.HouseWorkLogs.Store,{...u.useModel.formData.value}).then(e=>{s.showToastBack("提交成功!",1,!0),console.log(e)}):s.showToast("请选择收款账号!"):s.showToast("请输入费用金额!"):s.showToast("请上选择是否产生费用!"):s.showToast("请上传完工图片!"):s.showToast("请输入备注说明/进度说明!"):s.showToast("请先选择状态!")}};exports.method=a; diff --git a/dist/build/mp-weixin/app.js b/dist/build/mp-weixin/app.js index 5208654..d552a58 100644 --- a/dist/build/mp-weixin/app.js +++ b/dist/build/mp-weixin/app.js @@ -1 +1 @@ -"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./common/vendor.js");require("./common/libraries/request.js"),require("./common/store/useWatermarkStore.js");const o=require("./common/store/useWeAppAuthStore.js");require("./common/store/useWorkStore.js");const r=require("./common/libraries/updateManager.js");require("./gen/Apis.js"),require("./common/libraries/apiLoading.js"),Math;const n=e.defineComponent({__name:"App",setup(n){const s=o.useWeAppAuthStore();return e.onLaunch((async()=>{const o=e.getCurrentInstance();await s.login(o),console.log("App Launch"),r.CheckUpdate()})),e.onShow((async()=>{console.log("App Show")})),e.onHide((()=>{console.log("App Hide")})),()=>{}}});function s(){const o=e.createSSRApp(n);return o.use(e.uviewPlus),o.config.globalProperties.$onLaunched=new Promise((e=>{o.config.globalProperties.$isResolve=e})),o.use(e.createPinia()),{app:o,Pinia:e.Pinia}}s().app.mount("#app"),exports.createApp=s; +"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./common/vendor.js");require("./common/libraries/request.js"),require("./common/store/useWatermarkStore.js");const o=require("./common/store/useWeAppAuthStore.js");require("./common/store/useWorkStore.js");const r=require("./common/libraries/updateManager.js");require("./gen/Apis.js"),require("./common/libraries/apiLoading.js"),Math;const n=e.defineComponent({__name:"App",setup(n){const s=o.useWeAppAuthStore();return e.onLaunch(async()=>{const o=e.getCurrentInstance();await s.login(o),console.log("App Launch"),r.CheckUpdate()}),e.onShow(async()=>{console.log("App Show")}),e.onHide(()=>{console.log("App Hide")}),()=>{}}});function s(){const o=e.createSSRApp(n);return o.use(e.uviewPlus),o.config.globalProperties.$onLaunched=new Promise(e=>{o.config.globalProperties.$isResolve=e}),o.use(e.createPinia()),{app:o,Pinia:e.Pinia}}s().app.mount("#app"),exports.createApp=s; diff --git a/dist/build/mp-weixin/app.json b/dist/build/mp-weixin/app.json index a8f31eb..d4b8216 100644 --- a/dist/build/mp-weixin/app.json +++ b/dist/build/mp-weixin/app.json @@ -5,6 +5,7 @@ "pages/login", "pages/data_oard/index", "pages/public/select_project/index", + "pages/public/select_project/pages/permission_show", "pages/me/index", "pages/public/asset_houses/index", "pages/transfer/index" @@ -19,13 +20,22 @@ "update/index", "show/index", "add/index", - "poster/index" + "poster/index", + "acceptance/index", + "patrol_update/index" ] }, { "root": "ME", "pages": [ "work_order_home/index", + "attendance/my_schedules/index", + "attendance/sign_clock_in/index", + "emergency/list/index", + "emergency/add/index", + "emergency/update/index", + "emergency/change/index", + "emergency/show/index", "update/index", "announcement/list/index", "announcement/show/index", diff --git a/dist/build/mp-weixin/app.wxss b/dist/build/mp-weixin/app.wxss index 46ccca2..a8cf3db 100644 --- a/dist/build/mp-weixin/app.wxss +++ b/dist/build/mp-weixin/app.wxss @@ -1,2 +1,2 @@ -.u-line-1,.up-line-1{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:1;-webkit-box-orient:vertical!important}.u-line-2,.up-line-2{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:2;-webkit-box-orient:vertical!important}.u-line-3,.up-line-3{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:3;-webkit-box-orient:vertical!important}.u-line-4,.up-line-4{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:4;-webkit-box-orient:vertical!important}.u-line-5,.up-line-5{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:5;-webkit-box-orient:vertical!important}.u-line-6,.up-line-6{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:6;-webkit-box-orient:vertical!important}.u-line-7,.up-line-7{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:7;-webkit-box-orient:vertical!important}.u-line-8,.up-line-8{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:8;-webkit-box-orient:vertical!important}.u-line-9,.up-line-9{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:9;-webkit-box-orient:vertical!important}.u-line-10,.up-line-10{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:10;-webkit-box-orient:vertical!important}.u-border,.up-border{border-width:.5px!important;border-color:#dadbde!important;border-style:solid}.u-border-top,.up-border-top{border-top-width:.5px!important;border-color:#dadbde!important;border-top-style:solid}.u-border-left,.up-border-left{border-left-width:.5px!important;border-color:#dadbde!important;border-left-style:solid}.u-border-right,.up-border-right{border-right-width:.5px!important;border-color:#dadbde!important;border-right-style:solid}.u-border-bottom,.up-border-bottom{border-bottom-width:.5px!important;border-color:#dadbde!important;border-bottom-style:solid}.u-border-top-bottom,.up-border-top-bottom{border-top-width:.5px!important;border-bottom-width:.5px!important;border-color:#dadbde!important;border-top-style:solid;border-bottom-style:solid}.u-reset-button,.up-reset-button{padding:0;background-color:transparent;font-size:inherit;line-height:inherit;color:inherit}.u-reset-button:after,.up-reset-button:after{border:none}.u-hover-class,.up-hover-class{opacity:.7}.u-flex,.u-flex-row,.u-flex-x,.up-flex,.up-flex-row,.up-flex-x{display:flex;flex-direction:row}.u-flex-y,.u-flex-column,.up-flex-y,.up-flex-column{display:flex;flex-direction:column}.u-flex-x-center,.up-flex-x-center{display:flex;flex-direction:row;justify-content:center}.u-flex-xy-center,.up-flex-xy-center{display:flex;flex-direction:row;justify-content:center;align-items:center}.u-flex-y-center,.up-flex-y-center{display:flex;flex-direction:row;align-items:center}.u-flex-x-left,.up-flex-x-left{display:flex;flex-direction:row}.u-flex-x-reverse,.u-flex-row-reverse,.up-flex-x-reverse,.up-flex-row-reverse{flex-direction:row-reverse}.u-flex-y-reverse,.u-flex-column-reverse,.up-flex-y-reverse,.up-flex-column-reverse{flex-direction:column-reverse}.u-flex.u-flex-reverse,.u-flex-row.u-flex-reverse,.u-flex-x.u-flex-reverse,.up-flex.up-flex-reverse,.up-flex-row.up-flex-reverse,.up-flex-x.up-flex-reverse{flex-direction:row-reverse}.u-flex-column.u-flex-reverse,.u-flex-y.u-flex-reverse,.up-flex-column.up-flex-reverse,.up-flex-y.up-flex-reverse{flex-direction:column-reverse}.u-flex-fill,.up-flex-fill{flex:1 1 auto}.u-margin-top-auto,.u-m-t-auto,.up-margin-top-auto,.up-m-t-auto{margin-top:auto!important}.u-margin-right-auto,.u-m-r-auto,.up-margin-right-auto,.up-m-r-auto{margin-right:auto!important}.u-margin-bottom-auto,.u-m-b-auto,.up-margin-bottom-auto,.up-m-b-auto{margin-bottom:auto!important}.u-margin-left-auto,.u-m-l-auto,.up-margin-left-auto,.up-m-l-auto{margin-left:auto!important}.u-margin-center-auto,.u-m-c-auto,.up-margin-center-auto,.up-m-c-auto{margin-left:auto!important;margin-right:auto!important}.u-margin-middle-auto,.u-m-m-auto,.up-margin-middle-auto,.up-m-m-auto{margin-top:auto!important;margin-bottom:auto!important}.u-flex-wrap,.up-flex-wrap{flex-wrap:wrap}.u-flex-wrap-reverse,.up-flex-wrap-reverse{flex-wrap:wrap-reverse}.u-flex-start,.up-flex-start{justify-content:flex-start}.u-flex-center,.up-flex-center{justify-content:center}.u-flex-end,.up-flex-end{justify-content:flex-end}.u-flex-between,.up-flex-between{justify-content:space-between}.u-flex-around,.up-flex-around{justify-content:space-around}.u-flex-items-start,.up-flex-items-start{align-items:flex-start}.u-flex-items-center,.up-flex-items-center{align-items:center}.u-flex-items-end,.up-flex-items-end{align-items:flex-end}.u-flex-items-baseline,.up-flex-items-baseline{align-items:baseline}.u-flex-items-stretch,.up-flex-items-stretch{align-items:stretch}.u-flex-self-start,.up-flex-self-start{align-self:flex-start}.u-flex-self-center,.up-flex-self-center{align-self:center}.u-flex-self-end,.up-flex-self-end{align-self:flex-end}.u-flex-self-baseline,.up-flex-self-baseline{align-self:baseline}.u-flex-self-stretch,.up-flex-self-stretch{align-self:stretch}.u-flex-content-start,.up-flex-content-start{align-content:flex-start}.u-flex-content-center,.up-flex-content-center{align-content:center}.u-flex-content-end,.up-flex-content-end{align-content:flex-end}.u-flex-content-between,.up-flex-content-between{align-content:space-between}.u-flex-content-around,.up-flex-content-around{align-content:space-around}.u-flex-middle,.up-flex-middle{justify-content:center;align-items:center;align-self:center;align-content:center}.u-flex-grow,.up-flex-grow{flex-grow:1}.u-flex-shrink,.up-flex-shrink{flex-shrink:1}.u-margin-0,.u-m-0,.up-margin-0,.up-m-0{margin:0rpx!important}.u-padding-0,.u-p-0,.up-padding-0,.up-p-0{padding:0rpx!important}.u-m-l-0,.up-m-l-0{margin-left:0rpx!important}.u-p-l-0,.up-p-l-0{padding-left:0rpx!important}.u-margin-left-0,.up-margin-left-0{margin-left:0rpx!important}.u-padding-left-0,.up-padding-left-0{padding-left:0rpx!important}.u-m-t-0,.up-m-t-0{margin-top:0rpx!important}.u-p-t-0,.up-p-t-0{padding-top:0rpx!important}.u-margin-top-0,.up-margin-top-0{margin-top:0rpx!important}.u-padding-top-0,.up-padding-top-0{padding-top:0rpx!important}.u-m-r-0,.up-m-r-0{margin-right:0rpx!important}.u-p-r-0,.up-p-r-0{padding-right:0rpx!important}.u-margin-right-0,.up-margin-right-0{margin-right:0rpx!important}.u-padding-right-0,.up-padding-right-0{padding-right:0rpx!important}.u-m-b-0,.up-m-b-0{margin-bottom:0rpx!important}.u-p-b-0,.up-p-b-0{padding-bottom:0rpx!important}.u-margin-bottom-0,.up-margin-bottom-0{margin-bottom:0rpx!important}.u-padding-bottom-0,.up-padding-bottom-0{padding-bottom:0rpx!important}.u-margin-2,.u-m-2,.up-margin-2,.up-m-2{margin:2rpx!important}.u-padding-2,.u-p-2,.up-padding-2,.up-p-2{padding:2rpx!important}.u-m-l-2,.up-m-l-2{margin-left:2rpx!important}.u-p-l-2,.up-p-l-2{padding-left:2rpx!important}.u-margin-left-2,.up-margin-left-2{margin-left:2rpx!important}.u-padding-left-2,.up-padding-left-2{padding-left:2rpx!important}.u-m-t-2,.up-m-t-2{margin-top:2rpx!important}.u-p-t-2,.up-p-t-2{padding-top:2rpx!important}.u-margin-top-2,.up-margin-top-2{margin-top:2rpx!important}.u-padding-top-2,.up-padding-top-2{padding-top:2rpx!important}.u-m-r-2,.up-m-r-2{margin-right:2rpx!important}.u-p-r-2,.up-p-r-2{padding-right:2rpx!important}.u-margin-right-2,.up-margin-right-2{margin-right:2rpx!important}.u-padding-right-2,.up-padding-right-2{padding-right:2rpx!important}.u-m-b-2,.up-m-b-2{margin-bottom:2rpx!important}.u-p-b-2,.up-p-b-2{padding-bottom:2rpx!important}.u-margin-bottom-2,.up-margin-bottom-2{margin-bottom:2rpx!important}.u-padding-bottom-2,.up-padding-bottom-2{padding-bottom:2rpx!important}.u-margin-4,.u-m-4,.up-margin-4,.up-m-4{margin:4rpx!important}.u-padding-4,.u-p-4,.up-padding-4,.up-p-4{padding:4rpx!important}.u-m-l-4,.up-m-l-4{margin-left:4rpx!important}.u-p-l-4,.up-p-l-4{padding-left:4rpx!important}.u-margin-left-4,.up-margin-left-4{margin-left:4rpx!important}.u-padding-left-4,.up-padding-left-4{padding-left:4rpx!important}.u-m-t-4,.up-m-t-4{margin-top:4rpx!important}.u-p-t-4,.up-p-t-4{padding-top:4rpx!important}.u-margin-top-4,.up-margin-top-4{margin-top:4rpx!important}.u-padding-top-4,.up-padding-top-4{padding-top:4rpx!important}.u-m-r-4,.up-m-r-4{margin-right:4rpx!important}.u-p-r-4,.up-p-r-4{padding-right:4rpx!important}.u-margin-right-4,.up-margin-right-4{margin-right:4rpx!important}.u-padding-right-4,.up-padding-right-4{padding-right:4rpx!important}.u-m-b-4,.up-m-b-4{margin-bottom:4rpx!important}.u-p-b-4,.up-p-b-4{padding-bottom:4rpx!important}.u-margin-bottom-4,.up-margin-bottom-4{margin-bottom:4rpx!important}.u-padding-bottom-4,.up-padding-bottom-4{padding-bottom:4rpx!important}.u-margin-5,.u-m-5,.up-margin-5,.up-m-5{margin:5rpx!important}.u-padding-5,.u-p-5,.up-padding-5,.up-p-5{padding:5rpx!important}.u-m-l-5,.up-m-l-5{margin-left:5rpx!important}.u-p-l-5,.up-p-l-5{padding-left:5rpx!important}.u-margin-left-5,.up-margin-left-5{margin-left:5rpx!important}.u-padding-left-5,.up-padding-left-5{padding-left:5rpx!important}.u-m-t-5,.up-m-t-5{margin-top:5rpx!important}.u-p-t-5,.up-p-t-5{padding-top:5rpx!important}.u-margin-top-5,.up-margin-top-5{margin-top:5rpx!important}.u-padding-top-5,.up-padding-top-5{padding-top:5rpx!important}.u-m-r-5,.up-m-r-5{margin-right:5rpx!important}.u-p-r-5,.up-p-r-5{padding-right:5rpx!important}.u-margin-right-5,.up-margin-right-5{margin-right:5rpx!important}.u-padding-right-5,.up-padding-right-5{padding-right:5rpx!important}.u-m-b-5,.up-m-b-5{margin-bottom:5rpx!important}.u-p-b-5,.up-p-b-5{padding-bottom:5rpx!important}.u-margin-bottom-5,.up-margin-bottom-5{margin-bottom:5rpx!important}.u-padding-bottom-5,.up-padding-bottom-5{padding-bottom:5rpx!important}.u-margin-6,.u-m-6,.up-margin-6,.up-m-6{margin:6rpx!important}.u-padding-6,.u-p-6,.up-padding-6,.up-p-6{padding:6rpx!important}.u-m-l-6,.up-m-l-6{margin-left:6rpx!important}.u-p-l-6,.up-p-l-6{padding-left:6rpx!important}.u-margin-left-6,.up-margin-left-6{margin-left:6rpx!important}.u-padding-left-6,.up-padding-left-6{padding-left:6rpx!important}.u-m-t-6,.up-m-t-6{margin-top:6rpx!important}.u-p-t-6,.up-p-t-6{padding-top:6rpx!important}.u-margin-top-6,.up-margin-top-6{margin-top:6rpx!important}.u-padding-top-6,.up-padding-top-6{padding-top:6rpx!important}.u-m-r-6,.up-m-r-6{margin-right:6rpx!important}.u-p-r-6,.up-p-r-6{padding-right:6rpx!important}.u-margin-right-6,.up-margin-right-6{margin-right:6rpx!important}.u-padding-right-6,.up-padding-right-6{padding-right:6rpx!important}.u-m-b-6,.up-m-b-6{margin-bottom:6rpx!important}.u-p-b-6,.up-p-b-6{padding-bottom:6rpx!important}.u-margin-bottom-6,.up-margin-bottom-6{margin-bottom:6rpx!important}.u-padding-bottom-6,.up-padding-bottom-6{padding-bottom:6rpx!important}.u-margin-8,.u-m-8,.up-margin-8,.up-m-8{margin:8rpx!important}.u-padding-8,.u-p-8,.up-padding-8,.up-p-8{padding:8rpx!important}.u-m-l-8,.up-m-l-8{margin-left:8rpx!important}.u-p-l-8,.up-p-l-8{padding-left:8rpx!important}.u-margin-left-8,.up-margin-left-8{margin-left:8rpx!important}.u-padding-left-8,.up-padding-left-8{padding-left:8rpx!important}.u-m-t-8,.up-m-t-8{margin-top:8rpx!important}.u-p-t-8,.up-p-t-8{padding-top:8rpx!important}.u-margin-top-8,.up-margin-top-8{margin-top:8rpx!important}.u-padding-top-8,.up-padding-top-8{padding-top:8rpx!important}.u-m-r-8,.up-m-r-8{margin-right:8rpx!important}.u-p-r-8,.up-p-r-8{padding-right:8rpx!important}.u-margin-right-8,.up-margin-right-8{margin-right:8rpx!important}.u-padding-right-8,.up-padding-right-8{padding-right:8rpx!important}.u-m-b-8,.up-m-b-8{margin-bottom:8rpx!important}.u-p-b-8,.up-p-b-8{padding-bottom:8rpx!important}.u-margin-bottom-8,.up-margin-bottom-8{margin-bottom:8rpx!important}.u-padding-bottom-8,.up-padding-bottom-8{padding-bottom:8rpx!important}.u-margin-10,.u-m-10,.up-margin-10,.up-m-10{margin:10rpx!important}.u-padding-10,.u-p-10,.up-padding-10,.up-p-10{padding:10rpx!important}.u-m-l-10,.up-m-l-10{margin-left:10rpx!important}.u-p-l-10,.up-p-l-10{padding-left:10rpx!important}.u-margin-left-10,.up-margin-left-10{margin-left:10rpx!important}.u-padding-left-10,.up-padding-left-10{padding-left:10rpx!important}.u-m-t-10,.up-m-t-10{margin-top:10rpx!important}.u-p-t-10,.up-p-t-10{padding-top:10rpx!important}.u-margin-top-10,.up-margin-top-10{margin-top:10rpx!important}.u-padding-top-10,.up-padding-top-10{padding-top:10rpx!important}.u-m-r-10,.up-m-r-10{margin-right:10rpx!important}.u-p-r-10,.up-p-r-10{padding-right:10rpx!important}.u-margin-right-10,.up-margin-right-10{margin-right:10rpx!important}.u-padding-right-10,.up-padding-right-10{padding-right:10rpx!important}.u-m-b-10,.up-m-b-10{margin-bottom:10rpx!important}.u-p-b-10,.up-p-b-10{padding-bottom:10rpx!important}.u-margin-bottom-10,.up-margin-bottom-10{margin-bottom:10rpx!important}.u-padding-bottom-10,.up-padding-bottom-10{padding-bottom:10rpx!important}.u-margin-12,.u-m-12,.up-margin-12,.up-m-12{margin:12rpx!important}.u-padding-12,.u-p-12,.up-padding-12,.up-p-12{padding:12rpx!important}.u-m-l-12,.up-m-l-12{margin-left:12rpx!important}.u-p-l-12,.up-p-l-12{padding-left:12rpx!important}.u-margin-left-12,.up-margin-left-12{margin-left:12rpx!important}.u-padding-left-12,.up-padding-left-12{padding-left:12rpx!important}.u-m-t-12,.up-m-t-12{margin-top:12rpx!important}.u-p-t-12,.up-p-t-12{padding-top:12rpx!important}.u-margin-top-12,.up-margin-top-12{margin-top:12rpx!important}.u-padding-top-12,.up-padding-top-12{padding-top:12rpx!important}.u-m-r-12,.up-m-r-12{margin-right:12rpx!important}.u-p-r-12,.up-p-r-12{padding-right:12rpx!important}.u-margin-right-12,.up-margin-right-12{margin-right:12rpx!important}.u-padding-right-12,.up-padding-right-12{padding-right:12rpx!important}.u-m-b-12,.up-m-b-12{margin-bottom:12rpx!important}.u-p-b-12,.up-p-b-12{padding-bottom:12rpx!important}.u-margin-bottom-12,.up-margin-bottom-12{margin-bottom:12rpx!important}.u-padding-bottom-12,.up-padding-bottom-12{padding-bottom:12rpx!important}.u-margin-14,.u-m-14,.up-margin-14,.up-m-14{margin:14rpx!important}.u-padding-14,.u-p-14,.up-padding-14,.up-p-14{padding:14rpx!important}.u-m-l-14,.up-m-l-14{margin-left:14rpx!important}.u-p-l-14,.up-p-l-14{padding-left:14rpx!important}.u-margin-left-14,.up-margin-left-14{margin-left:14rpx!important}.u-padding-left-14,.up-padding-left-14{padding-left:14rpx!important}.u-m-t-14,.up-m-t-14{margin-top:14rpx!important}.u-p-t-14,.up-p-t-14{padding-top:14rpx!important}.u-margin-top-14,.up-margin-top-14{margin-top:14rpx!important}.u-padding-top-14,.up-padding-top-14{padding-top:14rpx!important}.u-m-r-14,.up-m-r-14{margin-right:14rpx!important}.u-p-r-14,.up-p-r-14{padding-right:14rpx!important}.u-margin-right-14,.up-margin-right-14{margin-right:14rpx!important}.u-padding-right-14,.up-padding-right-14{padding-right:14rpx!important}.u-m-b-14,.up-m-b-14{margin-bottom:14rpx!important}.u-p-b-14,.up-p-b-14{padding-bottom:14rpx!important}.u-margin-bottom-14,.up-margin-bottom-14{margin-bottom:14rpx!important}.u-padding-bottom-14,.up-padding-bottom-14{padding-bottom:14rpx!important}.u-margin-15,.u-m-15,.up-margin-15,.up-m-15{margin:15rpx!important}.u-padding-15,.u-p-15,.up-padding-15,.up-p-15{padding:15rpx!important}.u-m-l-15,.up-m-l-15{margin-left:15rpx!important}.u-p-l-15,.up-p-l-15{padding-left:15rpx!important}.u-margin-left-15,.up-margin-left-15{margin-left:15rpx!important}.u-padding-left-15,.up-padding-left-15{padding-left:15rpx!important}.u-m-t-15,.up-m-t-15{margin-top:15rpx!important}.u-p-t-15,.up-p-t-15{padding-top:15rpx!important}.u-margin-top-15,.up-margin-top-15{margin-top:15rpx!important}.u-padding-top-15,.up-padding-top-15{padding-top:15rpx!important}.u-m-r-15,.up-m-r-15{margin-right:15rpx!important}.u-p-r-15,.up-p-r-15{padding-right:15rpx!important}.u-margin-right-15,.up-margin-right-15{margin-right:15rpx!important}.u-padding-right-15,.up-padding-right-15{padding-right:15rpx!important}.u-m-b-15,.up-m-b-15{margin-bottom:15rpx!important}.u-p-b-15,.up-p-b-15{padding-bottom:15rpx!important}.u-margin-bottom-15,.up-margin-bottom-15{margin-bottom:15rpx!important}.u-padding-bottom-15,.up-padding-bottom-15{padding-bottom:15rpx!important}.u-margin-16,.u-m-16,.up-margin-16,.up-m-16{margin:16rpx!important}.u-padding-16,.u-p-16,.up-padding-16,.up-p-16{padding:16rpx!important}.u-m-l-16,.up-m-l-16{margin-left:16rpx!important}.u-p-l-16,.up-p-l-16{padding-left:16rpx!important}.u-margin-left-16,.up-margin-left-16{margin-left:16rpx!important}.u-padding-left-16,.up-padding-left-16{padding-left:16rpx!important}.u-m-t-16,.up-m-t-16{margin-top:16rpx!important}.u-p-t-16,.up-p-t-16{padding-top:16rpx!important}.u-margin-top-16,.up-margin-top-16{margin-top:16rpx!important}.u-padding-top-16,.up-padding-top-16{padding-top:16rpx!important}.u-m-r-16,.up-m-r-16{margin-right:16rpx!important}.u-p-r-16,.up-p-r-16{padding-right:16rpx!important}.u-margin-right-16,.up-margin-right-16{margin-right:16rpx!important}.u-padding-right-16,.up-padding-right-16{padding-right:16rpx!important}.u-m-b-16,.up-m-b-16{margin-bottom:16rpx!important}.u-p-b-16,.up-p-b-16{padding-bottom:16rpx!important}.u-margin-bottom-16,.up-margin-bottom-16{margin-bottom:16rpx!important}.u-padding-bottom-16,.up-padding-bottom-16{padding-bottom:16rpx!important}.u-margin-18,.u-m-18,.up-margin-18,.up-m-18{margin:18rpx!important}.u-padding-18,.u-p-18,.up-padding-18,.up-p-18{padding:18rpx!important}.u-m-l-18,.up-m-l-18{margin-left:18rpx!important}.u-p-l-18,.up-p-l-18{padding-left:18rpx!important}.u-margin-left-18,.up-margin-left-18{margin-left:18rpx!important}.u-padding-left-18,.up-padding-left-18{padding-left:18rpx!important}.u-m-t-18,.up-m-t-18{margin-top:18rpx!important}.u-p-t-18,.up-p-t-18{padding-top:18rpx!important}.u-margin-top-18,.up-margin-top-18{margin-top:18rpx!important}.u-padding-top-18,.up-padding-top-18{padding-top:18rpx!important}.u-m-r-18,.up-m-r-18{margin-right:18rpx!important}.u-p-r-18,.up-p-r-18{padding-right:18rpx!important}.u-margin-right-18,.up-margin-right-18{margin-right:18rpx!important}.u-padding-right-18,.up-padding-right-18{padding-right:18rpx!important}.u-m-b-18,.up-m-b-18{margin-bottom:18rpx!important}.u-p-b-18,.up-p-b-18{padding-bottom:18rpx!important}.u-margin-bottom-18,.up-margin-bottom-18{margin-bottom:18rpx!important}.u-padding-bottom-18,.up-padding-bottom-18{padding-bottom:18rpx!important}.u-margin-20,.u-m-20,.up-margin-20,.up-m-20{margin:20rpx!important}.u-padding-20,.u-p-20,.up-padding-20,.up-p-20{padding:20rpx!important}.u-m-l-20,.up-m-l-20{margin-left:20rpx!important}.u-p-l-20,.up-p-l-20{padding-left:20rpx!important}.u-margin-left-20,.up-margin-left-20{margin-left:20rpx!important}.u-padding-left-20,.up-padding-left-20{padding-left:20rpx!important}.u-m-t-20,.up-m-t-20{margin-top:20rpx!important}.u-p-t-20,.up-p-t-20{padding-top:20rpx!important}.u-margin-top-20,.up-margin-top-20{margin-top:20rpx!important}.u-padding-top-20,.up-padding-top-20{padding-top:20rpx!important}.u-m-r-20,.up-m-r-20{margin-right:20rpx!important}.u-p-r-20,.up-p-r-20{padding-right:20rpx!important}.u-margin-right-20,.up-margin-right-20{margin-right:20rpx!important}.u-padding-right-20,.up-padding-right-20{padding-right:20rpx!important}.u-m-b-20,.up-m-b-20{margin-bottom:20rpx!important}.u-p-b-20,.up-p-b-20{padding-bottom:20rpx!important}.u-margin-bottom-20,.up-margin-bottom-20{margin-bottom:20rpx!important}.u-padding-bottom-20,.up-padding-bottom-20{padding-bottom:20rpx!important}.u-margin-22,.u-m-22,.up-margin-22,.up-m-22{margin:22rpx!important}.u-padding-22,.u-p-22,.up-padding-22,.up-p-22{padding:22rpx!important}.u-m-l-22,.up-m-l-22{margin-left:22rpx!important}.u-p-l-22,.up-p-l-22{padding-left:22rpx!important}.u-margin-left-22,.up-margin-left-22{margin-left:22rpx!important}.u-padding-left-22,.up-padding-left-22{padding-left:22rpx!important}.u-m-t-22,.up-m-t-22{margin-top:22rpx!important}.u-p-t-22,.up-p-t-22{padding-top:22rpx!important}.u-margin-top-22,.up-margin-top-22{margin-top:22rpx!important}.u-padding-top-22,.up-padding-top-22{padding-top:22rpx!important}.u-m-r-22,.up-m-r-22{margin-right:22rpx!important}.u-p-r-22,.up-p-r-22{padding-right:22rpx!important}.u-margin-right-22,.up-margin-right-22{margin-right:22rpx!important}.u-padding-right-22,.up-padding-right-22{padding-right:22rpx!important}.u-m-b-22,.up-m-b-22{margin-bottom:22rpx!important}.u-p-b-22,.up-p-b-22{padding-bottom:22rpx!important}.u-margin-bottom-22,.up-margin-bottom-22{margin-bottom:22rpx!important}.u-padding-bottom-22,.up-padding-bottom-22{padding-bottom:22rpx!important}.u-margin-24,.u-m-24,.up-margin-24,.up-m-24{margin:24rpx!important}.u-padding-24,.u-p-24,.up-padding-24,.up-p-24{padding:24rpx!important}.u-m-l-24,.up-m-l-24{margin-left:24rpx!important}.u-p-l-24,.up-p-l-24{padding-left:24rpx!important}.u-margin-left-24,.up-margin-left-24{margin-left:24rpx!important}.u-padding-left-24,.up-padding-left-24{padding-left:24rpx!important}.u-m-t-24,.up-m-t-24{margin-top:24rpx!important}.u-p-t-24,.up-p-t-24{padding-top:24rpx!important}.u-margin-top-24,.up-margin-top-24{margin-top:24rpx!important}.u-padding-top-24,.up-padding-top-24{padding-top:24rpx!important}.u-m-r-24,.up-m-r-24{margin-right:24rpx!important}.u-p-r-24,.up-p-r-24{padding-right:24rpx!important}.u-margin-right-24,.up-margin-right-24{margin-right:24rpx!important}.u-padding-right-24,.up-padding-right-24{padding-right:24rpx!important}.u-m-b-24,.up-m-b-24{margin-bottom:24rpx!important}.u-p-b-24,.up-p-b-24{padding-bottom:24rpx!important}.u-margin-bottom-24,.up-margin-bottom-24{margin-bottom:24rpx!important}.u-padding-bottom-24,.up-padding-bottom-24{padding-bottom:24rpx!important}.u-margin-25,.u-m-25,.up-margin-25,.up-m-25{margin:25rpx!important}.u-padding-25,.u-p-25,.up-padding-25,.up-p-25{padding:25rpx!important}.u-m-l-25,.up-m-l-25{margin-left:25rpx!important}.u-p-l-25,.up-p-l-25{padding-left:25rpx!important}.u-margin-left-25,.up-margin-left-25{margin-left:25rpx!important}.u-padding-left-25,.up-padding-left-25{padding-left:25rpx!important}.u-m-t-25,.up-m-t-25{margin-top:25rpx!important}.u-p-t-25,.up-p-t-25{padding-top:25rpx!important}.u-margin-top-25,.up-margin-top-25{margin-top:25rpx!important}.u-padding-top-25,.up-padding-top-25{padding-top:25rpx!important}.u-m-r-25,.up-m-r-25{margin-right:25rpx!important}.u-p-r-25,.up-p-r-25{padding-right:25rpx!important}.u-margin-right-25,.up-margin-right-25{margin-right:25rpx!important}.u-padding-right-25,.up-padding-right-25{padding-right:25rpx!important}.u-m-b-25,.up-m-b-25{margin-bottom:25rpx!important}.u-p-b-25,.up-p-b-25{padding-bottom:25rpx!important}.u-margin-bottom-25,.up-margin-bottom-25{margin-bottom:25rpx!important}.u-padding-bottom-25,.up-padding-bottom-25{padding-bottom:25rpx!important}.u-margin-26,.u-m-26,.up-margin-26,.up-m-26{margin:26rpx!important}.u-padding-26,.u-p-26,.up-padding-26,.up-p-26{padding:26rpx!important}.u-m-l-26,.up-m-l-26{margin-left:26rpx!important}.u-p-l-26,.up-p-l-26{padding-left:26rpx!important}.u-margin-left-26,.up-margin-left-26{margin-left:26rpx!important}.u-padding-left-26,.up-padding-left-26{padding-left:26rpx!important}.u-m-t-26,.up-m-t-26{margin-top:26rpx!important}.u-p-t-26,.up-p-t-26{padding-top:26rpx!important}.u-margin-top-26,.up-margin-top-26{margin-top:26rpx!important}.u-padding-top-26,.up-padding-top-26{padding-top:26rpx!important}.u-m-r-26,.up-m-r-26{margin-right:26rpx!important}.u-p-r-26,.up-p-r-26{padding-right:26rpx!important}.u-margin-right-26,.up-margin-right-26{margin-right:26rpx!important}.u-padding-right-26,.up-padding-right-26{padding-right:26rpx!important}.u-m-b-26,.up-m-b-26{margin-bottom:26rpx!important}.u-p-b-26,.up-p-b-26{padding-bottom:26rpx!important}.u-margin-bottom-26,.up-margin-bottom-26{margin-bottom:26rpx!important}.u-padding-bottom-26,.up-padding-bottom-26{padding-bottom:26rpx!important}.u-margin-28,.u-m-28,.up-margin-28,.up-m-28{margin:28rpx!important}.u-padding-28,.u-p-28,.up-padding-28,.up-p-28{padding:28rpx!important}.u-m-l-28,.up-m-l-28{margin-left:28rpx!important}.u-p-l-28,.up-p-l-28{padding-left:28rpx!important}.u-margin-left-28,.up-margin-left-28{margin-left:28rpx!important}.u-padding-left-28,.up-padding-left-28{padding-left:28rpx!important}.u-m-t-28,.up-m-t-28{margin-top:28rpx!important}.u-p-t-28,.up-p-t-28{padding-top:28rpx!important}.u-margin-top-28,.up-margin-top-28{margin-top:28rpx!important}.u-padding-top-28,.up-padding-top-28{padding-top:28rpx!important}.u-m-r-28,.up-m-r-28{margin-right:28rpx!important}.u-p-r-28,.up-p-r-28{padding-right:28rpx!important}.u-margin-right-28,.up-margin-right-28{margin-right:28rpx!important}.u-padding-right-28,.up-padding-right-28{padding-right:28rpx!important}.u-m-b-28,.up-m-b-28{margin-bottom:28rpx!important}.u-p-b-28,.up-p-b-28{padding-bottom:28rpx!important}.u-margin-bottom-28,.up-margin-bottom-28{margin-bottom:28rpx!important}.u-padding-bottom-28,.up-padding-bottom-28{padding-bottom:28rpx!important}.u-margin-30,.u-m-30,.up-margin-30,.up-m-30{margin:30rpx!important}.u-padding-30,.u-p-30,.up-padding-30,.up-p-30{padding:30rpx!important}.u-m-l-30,.up-m-l-30{margin-left:30rpx!important}.u-p-l-30,.up-p-l-30{padding-left:30rpx!important}.u-margin-left-30,.up-margin-left-30{margin-left:30rpx!important}.u-padding-left-30,.up-padding-left-30{padding-left:30rpx!important}.u-m-t-30,.up-m-t-30{margin-top:30rpx!important}.u-p-t-30,.up-p-t-30{padding-top:30rpx!important}.u-margin-top-30,.up-margin-top-30{margin-top:30rpx!important}.u-padding-top-30,.up-padding-top-30{padding-top:30rpx!important}.u-m-r-30,.up-m-r-30{margin-right:30rpx!important}.u-p-r-30,.up-p-r-30{padding-right:30rpx!important}.u-margin-right-30,.up-margin-right-30{margin-right:30rpx!important}.u-padding-right-30,.up-padding-right-30{padding-right:30rpx!important}.u-m-b-30,.up-m-b-30{margin-bottom:30rpx!important}.u-p-b-30,.up-p-b-30{padding-bottom:30rpx!important}.u-margin-bottom-30,.up-margin-bottom-30{margin-bottom:30rpx!important}.u-padding-bottom-30,.up-padding-bottom-30{padding-bottom:30rpx!important}.u-margin-32,.u-m-32,.up-margin-32,.up-m-32{margin:32rpx!important}.u-padding-32,.u-p-32,.up-padding-32,.up-p-32{padding:32rpx!important}.u-m-l-32,.up-m-l-32{margin-left:32rpx!important}.u-p-l-32,.up-p-l-32{padding-left:32rpx!important}.u-margin-left-32,.up-margin-left-32{margin-left:32rpx!important}.u-padding-left-32,.up-padding-left-32{padding-left:32rpx!important}.u-m-t-32,.up-m-t-32{margin-top:32rpx!important}.u-p-t-32,.up-p-t-32{padding-top:32rpx!important}.u-margin-top-32,.up-margin-top-32{margin-top:32rpx!important}.u-padding-top-32,.up-padding-top-32{padding-top:32rpx!important}.u-m-r-32,.up-m-r-32{margin-right:32rpx!important}.u-p-r-32,.up-p-r-32{padding-right:32rpx!important}.u-margin-right-32,.up-margin-right-32{margin-right:32rpx!important}.u-padding-right-32,.up-padding-right-32{padding-right:32rpx!important}.u-m-b-32,.up-m-b-32{margin-bottom:32rpx!important}.u-p-b-32,.up-p-b-32{padding-bottom:32rpx!important}.u-margin-bottom-32,.up-margin-bottom-32{margin-bottom:32rpx!important}.u-padding-bottom-32,.up-padding-bottom-32{padding-bottom:32rpx!important}.u-margin-34,.u-m-34,.up-margin-34,.up-m-34{margin:34rpx!important}.u-padding-34,.u-p-34,.up-padding-34,.up-p-34{padding:34rpx!important}.u-m-l-34,.up-m-l-34{margin-left:34rpx!important}.u-p-l-34,.up-p-l-34{padding-left:34rpx!important}.u-margin-left-34,.up-margin-left-34{margin-left:34rpx!important}.u-padding-left-34,.up-padding-left-34{padding-left:34rpx!important}.u-m-t-34,.up-m-t-34{margin-top:34rpx!important}.u-p-t-34,.up-p-t-34{padding-top:34rpx!important}.u-margin-top-34,.up-margin-top-34{margin-top:34rpx!important}.u-padding-top-34,.up-padding-top-34{padding-top:34rpx!important}.u-m-r-34,.up-m-r-34{margin-right:34rpx!important}.u-p-r-34,.up-p-r-34{padding-right:34rpx!important}.u-margin-right-34,.up-margin-right-34{margin-right:34rpx!important}.u-padding-right-34,.up-padding-right-34{padding-right:34rpx!important}.u-m-b-34,.up-m-b-34{margin-bottom:34rpx!important}.u-p-b-34,.up-p-b-34{padding-bottom:34rpx!important}.u-margin-bottom-34,.up-margin-bottom-34{margin-bottom:34rpx!important}.u-padding-bottom-34,.up-padding-bottom-34{padding-bottom:34rpx!important}.u-margin-35,.u-m-35,.up-margin-35,.up-m-35{margin:35rpx!important}.u-padding-35,.u-p-35,.up-padding-35,.up-p-35{padding:35rpx!important}.u-m-l-35,.up-m-l-35{margin-left:35rpx!important}.u-p-l-35,.up-p-l-35{padding-left:35rpx!important}.u-margin-left-35,.up-margin-left-35{margin-left:35rpx!important}.u-padding-left-35,.up-padding-left-35{padding-left:35rpx!important}.u-m-t-35,.up-m-t-35{margin-top:35rpx!important}.u-p-t-35,.up-p-t-35{padding-top:35rpx!important}.u-margin-top-35,.up-margin-top-35{margin-top:35rpx!important}.u-padding-top-35,.up-padding-top-35{padding-top:35rpx!important}.u-m-r-35,.up-m-r-35{margin-right:35rpx!important}.u-p-r-35,.up-p-r-35{padding-right:35rpx!important}.u-margin-right-35,.up-margin-right-35{margin-right:35rpx!important}.u-padding-right-35,.up-padding-right-35{padding-right:35rpx!important}.u-m-b-35,.up-m-b-35{margin-bottom:35rpx!important}.u-p-b-35,.up-p-b-35{padding-bottom:35rpx!important}.u-margin-bottom-35,.up-margin-bottom-35{margin-bottom:35rpx!important}.u-padding-bottom-35,.up-padding-bottom-35{padding-bottom:35rpx!important}.u-margin-36,.u-m-36,.up-margin-36,.up-m-36{margin:36rpx!important}.u-padding-36,.u-p-36,.up-padding-36,.up-p-36{padding:36rpx!important}.u-m-l-36,.up-m-l-36{margin-left:36rpx!important}.u-p-l-36,.up-p-l-36{padding-left:36rpx!important}.u-margin-left-36,.up-margin-left-36{margin-left:36rpx!important}.u-padding-left-36,.up-padding-left-36{padding-left:36rpx!important}.u-m-t-36,.up-m-t-36{margin-top:36rpx!important}.u-p-t-36,.up-p-t-36{padding-top:36rpx!important}.u-margin-top-36,.up-margin-top-36{margin-top:36rpx!important}.u-padding-top-36,.up-padding-top-36{padding-top:36rpx!important}.u-m-r-36,.up-m-r-36{margin-right:36rpx!important}.u-p-r-36,.up-p-r-36{padding-right:36rpx!important}.u-margin-right-36,.up-margin-right-36{margin-right:36rpx!important}.u-padding-right-36,.up-padding-right-36{padding-right:36rpx!important}.u-m-b-36,.up-m-b-36{margin-bottom:36rpx!important}.u-p-b-36,.up-p-b-36{padding-bottom:36rpx!important}.u-margin-bottom-36,.up-margin-bottom-36{margin-bottom:36rpx!important}.u-padding-bottom-36,.up-padding-bottom-36{padding-bottom:36rpx!important}.u-margin-38,.u-m-38,.up-margin-38,.up-m-38{margin:38rpx!important}.u-padding-38,.u-p-38,.up-padding-38,.up-p-38{padding:38rpx!important}.u-m-l-38,.up-m-l-38{margin-left:38rpx!important}.u-p-l-38,.up-p-l-38{padding-left:38rpx!important}.u-margin-left-38,.up-margin-left-38{margin-left:38rpx!important}.u-padding-left-38,.up-padding-left-38{padding-left:38rpx!important}.u-m-t-38,.up-m-t-38{margin-top:38rpx!important}.u-p-t-38,.up-p-t-38{padding-top:38rpx!important}.u-margin-top-38,.up-margin-top-38{margin-top:38rpx!important}.u-padding-top-38,.up-padding-top-38{padding-top:38rpx!important}.u-m-r-38,.up-m-r-38{margin-right:38rpx!important}.u-p-r-38,.up-p-r-38{padding-right:38rpx!important}.u-margin-right-38,.up-margin-right-38{margin-right:38rpx!important}.u-padding-right-38,.up-padding-right-38{padding-right:38rpx!important}.u-m-b-38,.up-m-b-38{margin-bottom:38rpx!important}.u-p-b-38,.up-p-b-38{padding-bottom:38rpx!important}.u-margin-bottom-38,.up-margin-bottom-38{margin-bottom:38rpx!important}.u-padding-bottom-38,.up-padding-bottom-38{padding-bottom:38rpx!important}.u-margin-40,.u-m-40,.up-margin-40,.up-m-40{margin:40rpx!important}.u-padding-40,.u-p-40,.up-padding-40,.up-p-40{padding:40rpx!important}.u-m-l-40,.up-m-l-40{margin-left:40rpx!important}.u-p-l-40,.up-p-l-40{padding-left:40rpx!important}.u-margin-left-40,.up-margin-left-40{margin-left:40rpx!important}.u-padding-left-40,.up-padding-left-40{padding-left:40rpx!important}.u-m-t-40,.up-m-t-40{margin-top:40rpx!important}.u-p-t-40,.up-p-t-40{padding-top:40rpx!important}.u-margin-top-40,.up-margin-top-40{margin-top:40rpx!important}.u-padding-top-40,.up-padding-top-40{padding-top:40rpx!important}.u-m-r-40,.up-m-r-40{margin-right:40rpx!important}.u-p-r-40,.up-p-r-40{padding-right:40rpx!important}.u-margin-right-40,.up-margin-right-40{margin-right:40rpx!important}.u-padding-right-40,.up-padding-right-40{padding-right:40rpx!important}.u-m-b-40,.up-m-b-40{margin-bottom:40rpx!important}.u-p-b-40,.up-p-b-40{padding-bottom:40rpx!important}.u-margin-bottom-40,.up-margin-bottom-40{margin-bottom:40rpx!important}.u-padding-bottom-40,.up-padding-bottom-40{padding-bottom:40rpx!important}.u-margin-42,.u-m-42,.up-margin-42,.up-m-42{margin:42rpx!important}.u-padding-42,.u-p-42,.up-padding-42,.up-p-42{padding:42rpx!important}.u-m-l-42,.up-m-l-42{margin-left:42rpx!important}.u-p-l-42,.up-p-l-42{padding-left:42rpx!important}.u-margin-left-42,.up-margin-left-42{margin-left:42rpx!important}.u-padding-left-42,.up-padding-left-42{padding-left:42rpx!important}.u-m-t-42,.up-m-t-42{margin-top:42rpx!important}.u-p-t-42,.up-p-t-42{padding-top:42rpx!important}.u-margin-top-42,.up-margin-top-42{margin-top:42rpx!important}.u-padding-top-42,.up-padding-top-42{padding-top:42rpx!important}.u-m-r-42,.up-m-r-42{margin-right:42rpx!important}.u-p-r-42,.up-p-r-42{padding-right:42rpx!important}.u-margin-right-42,.up-margin-right-42{margin-right:42rpx!important}.u-padding-right-42,.up-padding-right-42{padding-right:42rpx!important}.u-m-b-42,.up-m-b-42{margin-bottom:42rpx!important}.u-p-b-42,.up-p-b-42{padding-bottom:42rpx!important}.u-margin-bottom-42,.up-margin-bottom-42{margin-bottom:42rpx!important}.u-padding-bottom-42,.up-padding-bottom-42{padding-bottom:42rpx!important}.u-margin-44,.u-m-44,.up-margin-44,.up-m-44{margin:44rpx!important}.u-padding-44,.u-p-44,.up-padding-44,.up-p-44{padding:44rpx!important}.u-m-l-44,.up-m-l-44{margin-left:44rpx!important}.u-p-l-44,.up-p-l-44{padding-left:44rpx!important}.u-margin-left-44,.up-margin-left-44{margin-left:44rpx!important}.u-padding-left-44,.up-padding-left-44{padding-left:44rpx!important}.u-m-t-44,.up-m-t-44{margin-top:44rpx!important}.u-p-t-44,.up-p-t-44{padding-top:44rpx!important}.u-margin-top-44,.up-margin-top-44{margin-top:44rpx!important}.u-padding-top-44,.up-padding-top-44{padding-top:44rpx!important}.u-m-r-44,.up-m-r-44{margin-right:44rpx!important}.u-p-r-44,.up-p-r-44{padding-right:44rpx!important}.u-margin-right-44,.up-margin-right-44{margin-right:44rpx!important}.u-padding-right-44,.up-padding-right-44{padding-right:44rpx!important}.u-m-b-44,.up-m-b-44{margin-bottom:44rpx!important}.u-p-b-44,.up-p-b-44{padding-bottom:44rpx!important}.u-margin-bottom-44,.up-margin-bottom-44{margin-bottom:44rpx!important}.u-padding-bottom-44,.up-padding-bottom-44{padding-bottom:44rpx!important}.u-margin-45,.u-m-45,.up-margin-45,.up-m-45{margin:45rpx!important}.u-padding-45,.u-p-45,.up-padding-45,.up-p-45{padding:45rpx!important}.u-m-l-45,.up-m-l-45{margin-left:45rpx!important}.u-p-l-45,.up-p-l-45{padding-left:45rpx!important}.u-margin-left-45,.up-margin-left-45{margin-left:45rpx!important}.u-padding-left-45,.up-padding-left-45{padding-left:45rpx!important}.u-m-t-45,.up-m-t-45{margin-top:45rpx!important}.u-p-t-45,.up-p-t-45{padding-top:45rpx!important}.u-margin-top-45,.up-margin-top-45{margin-top:45rpx!important}.u-padding-top-45,.up-padding-top-45{padding-top:45rpx!important}.u-m-r-45,.up-m-r-45{margin-right:45rpx!important}.u-p-r-45,.up-p-r-45{padding-right:45rpx!important}.u-margin-right-45,.up-margin-right-45{margin-right:45rpx!important}.u-padding-right-45,.up-padding-right-45{padding-right:45rpx!important}.u-m-b-45,.up-m-b-45{margin-bottom:45rpx!important}.u-p-b-45,.up-p-b-45{padding-bottom:45rpx!important}.u-margin-bottom-45,.up-margin-bottom-45{margin-bottom:45rpx!important}.u-padding-bottom-45,.up-padding-bottom-45{padding-bottom:45rpx!important}.u-margin-46,.u-m-46,.up-margin-46,.up-m-46{margin:46rpx!important}.u-padding-46,.u-p-46,.up-padding-46,.up-p-46{padding:46rpx!important}.u-m-l-46,.up-m-l-46{margin-left:46rpx!important}.u-p-l-46,.up-p-l-46{padding-left:46rpx!important}.u-margin-left-46,.up-margin-left-46{margin-left:46rpx!important}.u-padding-left-46,.up-padding-left-46{padding-left:46rpx!important}.u-m-t-46,.up-m-t-46{margin-top:46rpx!important}.u-p-t-46,.up-p-t-46{padding-top:46rpx!important}.u-margin-top-46,.up-margin-top-46{margin-top:46rpx!important}.u-padding-top-46,.up-padding-top-46{padding-top:46rpx!important}.u-m-r-46,.up-m-r-46{margin-right:46rpx!important}.u-p-r-46,.up-p-r-46{padding-right:46rpx!important}.u-margin-right-46,.up-margin-right-46{margin-right:46rpx!important}.u-padding-right-46,.up-padding-right-46{padding-right:46rpx!important}.u-m-b-46,.up-m-b-46{margin-bottom:46rpx!important}.u-p-b-46,.up-p-b-46{padding-bottom:46rpx!important}.u-margin-bottom-46,.up-margin-bottom-46{margin-bottom:46rpx!important}.u-padding-bottom-46,.up-padding-bottom-46{padding-bottom:46rpx!important}.u-margin-48,.u-m-48,.up-margin-48,.up-m-48{margin:48rpx!important}.u-padding-48,.u-p-48,.up-padding-48,.up-p-48{padding:48rpx!important}.u-m-l-48,.up-m-l-48{margin-left:48rpx!important}.u-p-l-48,.up-p-l-48{padding-left:48rpx!important}.u-margin-left-48,.up-margin-left-48{margin-left:48rpx!important}.u-padding-left-48,.up-padding-left-48{padding-left:48rpx!important}.u-m-t-48,.up-m-t-48{margin-top:48rpx!important}.u-p-t-48,.up-p-t-48{padding-top:48rpx!important}.u-margin-top-48,.up-margin-top-48{margin-top:48rpx!important}.u-padding-top-48,.up-padding-top-48{padding-top:48rpx!important}.u-m-r-48,.up-m-r-48{margin-right:48rpx!important}.u-p-r-48,.up-p-r-48{padding-right:48rpx!important}.u-margin-right-48,.up-margin-right-48{margin-right:48rpx!important}.u-padding-right-48,.up-padding-right-48{padding-right:48rpx!important}.u-m-b-48,.up-m-b-48{margin-bottom:48rpx!important}.u-p-b-48,.up-p-b-48{padding-bottom:48rpx!important}.u-margin-bottom-48,.up-margin-bottom-48{margin-bottom:48rpx!important}.u-padding-bottom-48,.up-padding-bottom-48{padding-bottom:48rpx!important}.u-margin-50,.u-m-50,.up-margin-50,.up-m-50{margin:50rpx!important}.u-padding-50,.u-p-50,.up-padding-50,.up-p-50{padding:50rpx!important}.u-m-l-50,.up-m-l-50{margin-left:50rpx!important}.u-p-l-50,.up-p-l-50{padding-left:50rpx!important}.u-margin-left-50,.up-margin-left-50{margin-left:50rpx!important}.u-padding-left-50,.up-padding-left-50{padding-left:50rpx!important}.u-m-t-50,.up-m-t-50{margin-top:50rpx!important}.u-p-t-50,.up-p-t-50{padding-top:50rpx!important}.u-margin-top-50,.up-margin-top-50{margin-top:50rpx!important}.u-padding-top-50,.up-padding-top-50{padding-top:50rpx!important}.u-m-r-50,.up-m-r-50{margin-right:50rpx!important}.u-p-r-50,.up-p-r-50{padding-right:50rpx!important}.u-margin-right-50,.up-margin-right-50{margin-right:50rpx!important}.u-padding-right-50,.up-padding-right-50{padding-right:50rpx!important}.u-m-b-50,.up-m-b-50{margin-bottom:50rpx!important}.u-p-b-50,.up-p-b-50{padding-bottom:50rpx!important}.u-margin-bottom-50,.up-margin-bottom-50{margin-bottom:50rpx!important}.u-padding-bottom-50,.up-padding-bottom-50{padding-bottom:50rpx!important}.u-margin-52,.u-m-52,.up-margin-52,.up-m-52{margin:52rpx!important}.u-padding-52,.u-p-52,.up-padding-52,.up-p-52{padding:52rpx!important}.u-m-l-52,.up-m-l-52{margin-left:52rpx!important}.u-p-l-52,.up-p-l-52{padding-left:52rpx!important}.u-margin-left-52,.up-margin-left-52{margin-left:52rpx!important}.u-padding-left-52,.up-padding-left-52{padding-left:52rpx!important}.u-m-t-52,.up-m-t-52{margin-top:52rpx!important}.u-p-t-52,.up-p-t-52{padding-top:52rpx!important}.u-margin-top-52,.up-margin-top-52{margin-top:52rpx!important}.u-padding-top-52,.up-padding-top-52{padding-top:52rpx!important}.u-m-r-52,.up-m-r-52{margin-right:52rpx!important}.u-p-r-52,.up-p-r-52{padding-right:52rpx!important}.u-margin-right-52,.up-margin-right-52{margin-right:52rpx!important}.u-padding-right-52,.up-padding-right-52{padding-right:52rpx!important}.u-m-b-52,.up-m-b-52{margin-bottom:52rpx!important}.u-p-b-52,.up-p-b-52{padding-bottom:52rpx!important}.u-margin-bottom-52,.up-margin-bottom-52{margin-bottom:52rpx!important}.u-padding-bottom-52,.up-padding-bottom-52{padding-bottom:52rpx!important}.u-margin-54,.u-m-54,.up-margin-54,.up-m-54{margin:54rpx!important}.u-padding-54,.u-p-54,.up-padding-54,.up-p-54{padding:54rpx!important}.u-m-l-54,.up-m-l-54{margin-left:54rpx!important}.u-p-l-54,.up-p-l-54{padding-left:54rpx!important}.u-margin-left-54,.up-margin-left-54{margin-left:54rpx!important}.u-padding-left-54,.up-padding-left-54{padding-left:54rpx!important}.u-m-t-54,.up-m-t-54{margin-top:54rpx!important}.u-p-t-54,.up-p-t-54{padding-top:54rpx!important}.u-margin-top-54,.up-margin-top-54{margin-top:54rpx!important}.u-padding-top-54,.up-padding-top-54{padding-top:54rpx!important}.u-m-r-54,.up-m-r-54{margin-right:54rpx!important}.u-p-r-54,.up-p-r-54{padding-right:54rpx!important}.u-margin-right-54,.up-margin-right-54{margin-right:54rpx!important}.u-padding-right-54,.up-padding-right-54{padding-right:54rpx!important}.u-m-b-54,.up-m-b-54{margin-bottom:54rpx!important}.u-p-b-54,.up-p-b-54{padding-bottom:54rpx!important}.u-margin-bottom-54,.up-margin-bottom-54{margin-bottom:54rpx!important}.u-padding-bottom-54,.up-padding-bottom-54{padding-bottom:54rpx!important}.u-margin-55,.u-m-55,.up-margin-55,.up-m-55{margin:55rpx!important}.u-padding-55,.u-p-55,.up-padding-55,.up-p-55{padding:55rpx!important}.u-m-l-55,.up-m-l-55{margin-left:55rpx!important}.u-p-l-55,.up-p-l-55{padding-left:55rpx!important}.u-margin-left-55,.up-margin-left-55{margin-left:55rpx!important}.u-padding-left-55,.up-padding-left-55{padding-left:55rpx!important}.u-m-t-55,.up-m-t-55{margin-top:55rpx!important}.u-p-t-55,.up-p-t-55{padding-top:55rpx!important}.u-margin-top-55,.up-margin-top-55{margin-top:55rpx!important}.u-padding-top-55,.up-padding-top-55{padding-top:55rpx!important}.u-m-r-55,.up-m-r-55{margin-right:55rpx!important}.u-p-r-55,.up-p-r-55{padding-right:55rpx!important}.u-margin-right-55,.up-margin-right-55{margin-right:55rpx!important}.u-padding-right-55,.up-padding-right-55{padding-right:55rpx!important}.u-m-b-55,.up-m-b-55{margin-bottom:55rpx!important}.u-p-b-55,.up-p-b-55{padding-bottom:55rpx!important}.u-margin-bottom-55,.up-margin-bottom-55{margin-bottom:55rpx!important}.u-padding-bottom-55,.up-padding-bottom-55{padding-bottom:55rpx!important}.u-margin-56,.u-m-56,.up-margin-56,.up-m-56{margin:56rpx!important}.u-padding-56,.u-p-56,.up-padding-56,.up-p-56{padding:56rpx!important}.u-m-l-56,.up-m-l-56{margin-left:56rpx!important}.u-p-l-56,.up-p-l-56{padding-left:56rpx!important}.u-margin-left-56,.up-margin-left-56{margin-left:56rpx!important}.u-padding-left-56,.up-padding-left-56{padding-left:56rpx!important}.u-m-t-56,.up-m-t-56{margin-top:56rpx!important}.u-p-t-56,.up-p-t-56{padding-top:56rpx!important}.u-margin-top-56,.up-margin-top-56{margin-top:56rpx!important}.u-padding-top-56,.up-padding-top-56{padding-top:56rpx!important}.u-m-r-56,.up-m-r-56{margin-right:56rpx!important}.u-p-r-56,.up-p-r-56{padding-right:56rpx!important}.u-margin-right-56,.up-margin-right-56{margin-right:56rpx!important}.u-padding-right-56,.up-padding-right-56{padding-right:56rpx!important}.u-m-b-56,.up-m-b-56{margin-bottom:56rpx!important}.u-p-b-56,.up-p-b-56{padding-bottom:56rpx!important}.u-margin-bottom-56,.up-margin-bottom-56{margin-bottom:56rpx!important}.u-padding-bottom-56,.up-padding-bottom-56{padding-bottom:56rpx!important}.u-margin-58,.u-m-58,.up-margin-58,.up-m-58{margin:58rpx!important}.u-padding-58,.u-p-58,.up-padding-58,.up-p-58{padding:58rpx!important}.u-m-l-58,.up-m-l-58{margin-left:58rpx!important}.u-p-l-58,.up-p-l-58{padding-left:58rpx!important}.u-margin-left-58,.up-margin-left-58{margin-left:58rpx!important}.u-padding-left-58,.up-padding-left-58{padding-left:58rpx!important}.u-m-t-58,.up-m-t-58{margin-top:58rpx!important}.u-p-t-58,.up-p-t-58{padding-top:58rpx!important}.u-margin-top-58,.up-margin-top-58{margin-top:58rpx!important}.u-padding-top-58,.up-padding-top-58{padding-top:58rpx!important}.u-m-r-58,.up-m-r-58{margin-right:58rpx!important}.u-p-r-58,.up-p-r-58{padding-right:58rpx!important}.u-margin-right-58,.up-margin-right-58{margin-right:58rpx!important}.u-padding-right-58,.up-padding-right-58{padding-right:58rpx!important}.u-m-b-58,.up-m-b-58{margin-bottom:58rpx!important}.u-p-b-58,.up-p-b-58{padding-bottom:58rpx!important}.u-margin-bottom-58,.up-margin-bottom-58{margin-bottom:58rpx!important}.u-padding-bottom-58,.up-padding-bottom-58{padding-bottom:58rpx!important}.u-margin-60,.u-m-60,.up-margin-60,.up-m-60{margin:60rpx!important}.u-padding-60,.u-p-60,.up-padding-60,.up-p-60{padding:60rpx!important}.u-m-l-60,.up-m-l-60{margin-left:60rpx!important}.u-p-l-60,.up-p-l-60{padding-left:60rpx!important}.u-margin-left-60,.up-margin-left-60{margin-left:60rpx!important}.u-padding-left-60,.up-padding-left-60{padding-left:60rpx!important}.u-m-t-60,.up-m-t-60{margin-top:60rpx!important}.u-p-t-60,.up-p-t-60{padding-top:60rpx!important}.u-margin-top-60,.up-margin-top-60{margin-top:60rpx!important}.u-padding-top-60,.up-padding-top-60{padding-top:60rpx!important}.u-m-r-60,.up-m-r-60{margin-right:60rpx!important}.u-p-r-60,.up-p-r-60{padding-right:60rpx!important}.u-margin-right-60,.up-margin-right-60{margin-right:60rpx!important}.u-padding-right-60,.up-padding-right-60{padding-right:60rpx!important}.u-m-b-60,.up-m-b-60{margin-bottom:60rpx!important}.u-p-b-60,.up-p-b-60{padding-bottom:60rpx!important}.u-margin-bottom-60,.up-margin-bottom-60{margin-bottom:60rpx!important}.u-padding-bottom-60,.up-padding-bottom-60{padding-bottom:60rpx!important}.u-margin-62,.u-m-62,.up-margin-62,.up-m-62{margin:62rpx!important}.u-padding-62,.u-p-62,.up-padding-62,.up-p-62{padding:62rpx!important}.u-m-l-62,.up-m-l-62{margin-left:62rpx!important}.u-p-l-62,.up-p-l-62{padding-left:62rpx!important}.u-margin-left-62,.up-margin-left-62{margin-left:62rpx!important}.u-padding-left-62,.up-padding-left-62{padding-left:62rpx!important}.u-m-t-62,.up-m-t-62{margin-top:62rpx!important}.u-p-t-62,.up-p-t-62{padding-top:62rpx!important}.u-margin-top-62,.up-margin-top-62{margin-top:62rpx!important}.u-padding-top-62,.up-padding-top-62{padding-top:62rpx!important}.u-m-r-62,.up-m-r-62{margin-right:62rpx!important}.u-p-r-62,.up-p-r-62{padding-right:62rpx!important}.u-margin-right-62,.up-margin-right-62{margin-right:62rpx!important}.u-padding-right-62,.up-padding-right-62{padding-right:62rpx!important}.u-m-b-62,.up-m-b-62{margin-bottom:62rpx!important}.u-p-b-62,.up-p-b-62{padding-bottom:62rpx!important}.u-margin-bottom-62,.up-margin-bottom-62{margin-bottom:62rpx!important}.u-padding-bottom-62,.up-padding-bottom-62{padding-bottom:62rpx!important}.u-margin-64,.u-m-64,.up-margin-64,.up-m-64{margin:64rpx!important}.u-padding-64,.u-p-64,.up-padding-64,.up-p-64{padding:64rpx!important}.u-m-l-64,.up-m-l-64{margin-left:64rpx!important}.u-p-l-64,.up-p-l-64{padding-left:64rpx!important}.u-margin-left-64,.up-margin-left-64{margin-left:64rpx!important}.u-padding-left-64,.up-padding-left-64{padding-left:64rpx!important}.u-m-t-64,.up-m-t-64{margin-top:64rpx!important}.u-p-t-64,.up-p-t-64{padding-top:64rpx!important}.u-margin-top-64,.up-margin-top-64{margin-top:64rpx!important}.u-padding-top-64,.up-padding-top-64{padding-top:64rpx!important}.u-m-r-64,.up-m-r-64{margin-right:64rpx!important}.u-p-r-64,.up-p-r-64{padding-right:64rpx!important}.u-margin-right-64,.up-margin-right-64{margin-right:64rpx!important}.u-padding-right-64,.up-padding-right-64{padding-right:64rpx!important}.u-m-b-64,.up-m-b-64{margin-bottom:64rpx!important}.u-p-b-64,.up-p-b-64{padding-bottom:64rpx!important}.u-margin-bottom-64,.up-margin-bottom-64{margin-bottom:64rpx!important}.u-padding-bottom-64,.up-padding-bottom-64{padding-bottom:64rpx!important}.u-margin-65,.u-m-65,.up-margin-65,.up-m-65{margin:65rpx!important}.u-padding-65,.u-p-65,.up-padding-65,.up-p-65{padding:65rpx!important}.u-m-l-65,.up-m-l-65{margin-left:65rpx!important}.u-p-l-65,.up-p-l-65{padding-left:65rpx!important}.u-margin-left-65,.up-margin-left-65{margin-left:65rpx!important}.u-padding-left-65,.up-padding-left-65{padding-left:65rpx!important}.u-m-t-65,.up-m-t-65{margin-top:65rpx!important}.u-p-t-65,.up-p-t-65{padding-top:65rpx!important}.u-margin-top-65,.up-margin-top-65{margin-top:65rpx!important}.u-padding-top-65,.up-padding-top-65{padding-top:65rpx!important}.u-m-r-65,.up-m-r-65{margin-right:65rpx!important}.u-p-r-65,.up-p-r-65{padding-right:65rpx!important}.u-margin-right-65,.up-margin-right-65{margin-right:65rpx!important}.u-padding-right-65,.up-padding-right-65{padding-right:65rpx!important}.u-m-b-65,.up-m-b-65{margin-bottom:65rpx!important}.u-p-b-65,.up-p-b-65{padding-bottom:65rpx!important}.u-margin-bottom-65,.up-margin-bottom-65{margin-bottom:65rpx!important}.u-padding-bottom-65,.up-padding-bottom-65{padding-bottom:65rpx!important}.u-margin-66,.u-m-66,.up-margin-66,.up-m-66{margin:66rpx!important}.u-padding-66,.u-p-66,.up-padding-66,.up-p-66{padding:66rpx!important}.u-m-l-66,.up-m-l-66{margin-left:66rpx!important}.u-p-l-66,.up-p-l-66{padding-left:66rpx!important}.u-margin-left-66,.up-margin-left-66{margin-left:66rpx!important}.u-padding-left-66,.up-padding-left-66{padding-left:66rpx!important}.u-m-t-66,.up-m-t-66{margin-top:66rpx!important}.u-p-t-66,.up-p-t-66{padding-top:66rpx!important}.u-margin-top-66,.up-margin-top-66{margin-top:66rpx!important}.u-padding-top-66,.up-padding-top-66{padding-top:66rpx!important}.u-m-r-66,.up-m-r-66{margin-right:66rpx!important}.u-p-r-66,.up-p-r-66{padding-right:66rpx!important}.u-margin-right-66,.up-margin-right-66{margin-right:66rpx!important}.u-padding-right-66,.up-padding-right-66{padding-right:66rpx!important}.u-m-b-66,.up-m-b-66{margin-bottom:66rpx!important}.u-p-b-66,.up-p-b-66{padding-bottom:66rpx!important}.u-margin-bottom-66,.up-margin-bottom-66{margin-bottom:66rpx!important}.u-padding-bottom-66,.up-padding-bottom-66{padding-bottom:66rpx!important}.u-margin-68,.u-m-68,.up-margin-68,.up-m-68{margin:68rpx!important}.u-padding-68,.u-p-68,.up-padding-68,.up-p-68{padding:68rpx!important}.u-m-l-68,.up-m-l-68{margin-left:68rpx!important}.u-p-l-68,.up-p-l-68{padding-left:68rpx!important}.u-margin-left-68,.up-margin-left-68{margin-left:68rpx!important}.u-padding-left-68,.up-padding-left-68{padding-left:68rpx!important}.u-m-t-68,.up-m-t-68{margin-top:68rpx!important}.u-p-t-68,.up-p-t-68{padding-top:68rpx!important}.u-margin-top-68,.up-margin-top-68{margin-top:68rpx!important}.u-padding-top-68,.up-padding-top-68{padding-top:68rpx!important}.u-m-r-68,.up-m-r-68{margin-right:68rpx!important}.u-p-r-68,.up-p-r-68{padding-right:68rpx!important}.u-margin-right-68,.up-margin-right-68{margin-right:68rpx!important}.u-padding-right-68,.up-padding-right-68{padding-right:68rpx!important}.u-m-b-68,.up-m-b-68{margin-bottom:68rpx!important}.u-p-b-68,.up-p-b-68{padding-bottom:68rpx!important}.u-margin-bottom-68,.up-margin-bottom-68{margin-bottom:68rpx!important}.u-padding-bottom-68,.up-padding-bottom-68{padding-bottom:68rpx!important}.u-margin-70,.u-m-70,.up-margin-70,.up-m-70{margin:70rpx!important}.u-padding-70,.u-p-70,.up-padding-70,.up-p-70{padding:70rpx!important}.u-m-l-70,.up-m-l-70{margin-left:70rpx!important}.u-p-l-70,.up-p-l-70{padding-left:70rpx!important}.u-margin-left-70,.up-margin-left-70{margin-left:70rpx!important}.u-padding-left-70,.up-padding-left-70{padding-left:70rpx!important}.u-m-t-70,.up-m-t-70{margin-top:70rpx!important}.u-p-t-70,.up-p-t-70{padding-top:70rpx!important}.u-margin-top-70,.up-margin-top-70{margin-top:70rpx!important}.u-padding-top-70,.up-padding-top-70{padding-top:70rpx!important}.u-m-r-70,.up-m-r-70{margin-right:70rpx!important}.u-p-r-70,.up-p-r-70{padding-right:70rpx!important}.u-margin-right-70,.up-margin-right-70{margin-right:70rpx!important}.u-padding-right-70,.up-padding-right-70{padding-right:70rpx!important}.u-m-b-70,.up-m-b-70{margin-bottom:70rpx!important}.u-p-b-70,.up-p-b-70{padding-bottom:70rpx!important}.u-margin-bottom-70,.up-margin-bottom-70{margin-bottom:70rpx!important}.u-padding-bottom-70,.up-padding-bottom-70{padding-bottom:70rpx!important}.u-margin-72,.u-m-72,.up-margin-72,.up-m-72{margin:72rpx!important}.u-padding-72,.u-p-72,.up-padding-72,.up-p-72{padding:72rpx!important}.u-m-l-72,.up-m-l-72{margin-left:72rpx!important}.u-p-l-72,.up-p-l-72{padding-left:72rpx!important}.u-margin-left-72,.up-margin-left-72{margin-left:72rpx!important}.u-padding-left-72,.up-padding-left-72{padding-left:72rpx!important}.u-m-t-72,.up-m-t-72{margin-top:72rpx!important}.u-p-t-72,.up-p-t-72{padding-top:72rpx!important}.u-margin-top-72,.up-margin-top-72{margin-top:72rpx!important}.u-padding-top-72,.up-padding-top-72{padding-top:72rpx!important}.u-m-r-72,.up-m-r-72{margin-right:72rpx!important}.u-p-r-72,.up-p-r-72{padding-right:72rpx!important}.u-margin-right-72,.up-margin-right-72{margin-right:72rpx!important}.u-padding-right-72,.up-padding-right-72{padding-right:72rpx!important}.u-m-b-72,.up-m-b-72{margin-bottom:72rpx!important}.u-p-b-72,.up-p-b-72{padding-bottom:72rpx!important}.u-margin-bottom-72,.up-margin-bottom-72{margin-bottom:72rpx!important}.u-padding-bottom-72,.up-padding-bottom-72{padding-bottom:72rpx!important}.u-margin-74,.u-m-74,.up-margin-74,.up-m-74{margin:74rpx!important}.u-padding-74,.u-p-74,.up-padding-74,.up-p-74{padding:74rpx!important}.u-m-l-74,.up-m-l-74{margin-left:74rpx!important}.u-p-l-74,.up-p-l-74{padding-left:74rpx!important}.u-margin-left-74,.up-margin-left-74{margin-left:74rpx!important}.u-padding-left-74,.up-padding-left-74{padding-left:74rpx!important}.u-m-t-74,.up-m-t-74{margin-top:74rpx!important}.u-p-t-74,.up-p-t-74{padding-top:74rpx!important}.u-margin-top-74,.up-margin-top-74{margin-top:74rpx!important}.u-padding-top-74,.up-padding-top-74{padding-top:74rpx!important}.u-m-r-74,.up-m-r-74{margin-right:74rpx!important}.u-p-r-74,.up-p-r-74{padding-right:74rpx!important}.u-margin-right-74,.up-margin-right-74{margin-right:74rpx!important}.u-padding-right-74,.up-padding-right-74{padding-right:74rpx!important}.u-m-b-74,.up-m-b-74{margin-bottom:74rpx!important}.u-p-b-74,.up-p-b-74{padding-bottom:74rpx!important}.u-margin-bottom-74,.up-margin-bottom-74{margin-bottom:74rpx!important}.u-padding-bottom-74,.up-padding-bottom-74{padding-bottom:74rpx!important}.u-margin-75,.u-m-75,.up-margin-75,.up-m-75{margin:75rpx!important}.u-padding-75,.u-p-75,.up-padding-75,.up-p-75{padding:75rpx!important}.u-m-l-75,.up-m-l-75{margin-left:75rpx!important}.u-p-l-75,.up-p-l-75{padding-left:75rpx!important}.u-margin-left-75,.up-margin-left-75{margin-left:75rpx!important}.u-padding-left-75,.up-padding-left-75{padding-left:75rpx!important}.u-m-t-75,.up-m-t-75{margin-top:75rpx!important}.u-p-t-75,.up-p-t-75{padding-top:75rpx!important}.u-margin-top-75,.up-margin-top-75{margin-top:75rpx!important}.u-padding-top-75,.up-padding-top-75{padding-top:75rpx!important}.u-m-r-75,.up-m-r-75{margin-right:75rpx!important}.u-p-r-75,.up-p-r-75{padding-right:75rpx!important}.u-margin-right-75,.up-margin-right-75{margin-right:75rpx!important}.u-padding-right-75,.up-padding-right-75{padding-right:75rpx!important}.u-m-b-75,.up-m-b-75{margin-bottom:75rpx!important}.u-p-b-75,.up-p-b-75{padding-bottom:75rpx!important}.u-margin-bottom-75,.up-margin-bottom-75{margin-bottom:75rpx!important}.u-padding-bottom-75,.up-padding-bottom-75{padding-bottom:75rpx!important}.u-margin-76,.u-m-76,.up-margin-76,.up-m-76{margin:76rpx!important}.u-padding-76,.u-p-76,.up-padding-76,.up-p-76{padding:76rpx!important}.u-m-l-76,.up-m-l-76{margin-left:76rpx!important}.u-p-l-76,.up-p-l-76{padding-left:76rpx!important}.u-margin-left-76,.up-margin-left-76{margin-left:76rpx!important}.u-padding-left-76,.up-padding-left-76{padding-left:76rpx!important}.u-m-t-76,.up-m-t-76{margin-top:76rpx!important}.u-p-t-76,.up-p-t-76{padding-top:76rpx!important}.u-margin-top-76,.up-margin-top-76{margin-top:76rpx!important}.u-padding-top-76,.up-padding-top-76{padding-top:76rpx!important}.u-m-r-76,.up-m-r-76{margin-right:76rpx!important}.u-p-r-76,.up-p-r-76{padding-right:76rpx!important}.u-margin-right-76,.up-margin-right-76{margin-right:76rpx!important}.u-padding-right-76,.up-padding-right-76{padding-right:76rpx!important}.u-m-b-76,.up-m-b-76{margin-bottom:76rpx!important}.u-p-b-76,.up-p-b-76{padding-bottom:76rpx!important}.u-margin-bottom-76,.up-margin-bottom-76{margin-bottom:76rpx!important}.u-padding-bottom-76,.up-padding-bottom-76{padding-bottom:76rpx!important}.u-margin-78,.u-m-78,.up-margin-78,.up-m-78{margin:78rpx!important}.u-padding-78,.u-p-78,.up-padding-78,.up-p-78{padding:78rpx!important}.u-m-l-78,.up-m-l-78{margin-left:78rpx!important}.u-p-l-78,.up-p-l-78{padding-left:78rpx!important}.u-margin-left-78,.up-margin-left-78{margin-left:78rpx!important}.u-padding-left-78,.up-padding-left-78{padding-left:78rpx!important}.u-m-t-78,.up-m-t-78{margin-top:78rpx!important}.u-p-t-78,.up-p-t-78{padding-top:78rpx!important}.u-margin-top-78,.up-margin-top-78{margin-top:78rpx!important}.u-padding-top-78,.up-padding-top-78{padding-top:78rpx!important}.u-m-r-78,.up-m-r-78{margin-right:78rpx!important}.u-p-r-78,.up-p-r-78{padding-right:78rpx!important}.u-margin-right-78,.up-margin-right-78{margin-right:78rpx!important}.u-padding-right-78,.up-padding-right-78{padding-right:78rpx!important}.u-m-b-78,.up-m-b-78{margin-bottom:78rpx!important}.u-p-b-78,.up-p-b-78{padding-bottom:78rpx!important}.u-margin-bottom-78,.up-margin-bottom-78{margin-bottom:78rpx!important}.u-padding-bottom-78,.up-padding-bottom-78{padding-bottom:78rpx!important}.u-margin-80,.u-m-80,.up-margin-80,.up-m-80{margin:80rpx!important}.u-padding-80,.u-p-80,.up-padding-80,.up-p-80{padding:80rpx!important}.u-m-l-80,.up-m-l-80{margin-left:80rpx!important}.u-p-l-80,.up-p-l-80{padding-left:80rpx!important}.u-margin-left-80,.up-margin-left-80{margin-left:80rpx!important}.u-padding-left-80,.up-padding-left-80{padding-left:80rpx!important}.u-m-t-80,.up-m-t-80{margin-top:80rpx!important}.u-p-t-80,.up-p-t-80{padding-top:80rpx!important}.u-margin-top-80,.up-margin-top-80{margin-top:80rpx!important}.u-padding-top-80,.up-padding-top-80{padding-top:80rpx!important}.u-m-r-80,.up-m-r-80{margin-right:80rpx!important}.u-p-r-80,.up-p-r-80{padding-right:80rpx!important}.u-margin-right-80,.up-margin-right-80{margin-right:80rpx!important}.u-padding-right-80,.up-padding-right-80{padding-right:80rpx!important}.u-m-b-80,.up-m-b-80{margin-bottom:80rpx!important}.u-p-b-80,.up-p-b-80{padding-bottom:80rpx!important}.u-margin-bottom-80,.up-margin-bottom-80{margin-bottom:80rpx!important}.u-padding-bottom-80,.up-padding-bottom-80{padding-bottom:80rpx!important}.u-primary-light{color:#ecf5ff}.u-warning-light{color:#fdf6ec}.u-success-light{color:#f5fff0}.u-error-light{color:#fef0f0}.u-info-light{color:#f4f4f5}.u-primary-light-bg{background-color:#ecf5ff}.u-warning-light-bg{background-color:#fdf6ec}.u-success-light-bg{background-color:#f5fff0}.u-error-light-bg{background-color:#fef0f0}.u-info-light-bg{background-color:#f4f4f5}.u-primary-dark{color:#398ade}.u-warning-dark{color:#f1a532}.u-success-dark{color:#53c21d}.u-error-dark{color:#e45656}.u-info-dark{color:#767a82}.u-primary-dark-bg{background-color:#398ade}.u-warning-dark-bg{background-color:#f1a532}.u-success-dark-bg{background-color:#53c21d}.u-error-dark-bg{background-color:#e45656}.u-info-dark-bg{background-color:#767a82}.u-primary-disabled{color:#9acafc}.u-warning-disabled{color:#f9d39b}.u-success-disabled{color:#a9e08f}.u-error-disabled{color:#f7b2b2}.u-info-disabled{color:#c4c6c9}.u-primary{color:#3c9cff}.u-warning{color:#f9ae3d}.u-success{color:#5ac725}.u-error{color:#f56c6c}.u-info{color:#909399}.u-primary-bg{background-color:#3c9cff}.u-warning-bg{background-color:#f9ae3d}.u-success-bg{background-color:#5ac725}.u-error-bg{background-color:#f56c6c}.u-info-bg{background-color:#909399}.u-main-color{color:#303133}.u-content-color{color:#606266}.u-tips-color{color:#909193}.u-light-color{color:#c0c4cc}.up-primary-light{color:#ecf5ff}.up-warning-light{color:#fdf6ec}.up-success-light{color:#f5fff0}.up-error-light{color:#fef0f0}.up-info-light{color:#f4f4f5}.up-primary-light-bg{background-color:#ecf5ff}.up-warning-light-bg{background-color:#fdf6ec}.up-success-light-bg{background-color:#f5fff0}.up-error-light-bg{background-color:#fef0f0}.up-info-light-bg{background-color:#f4f4f5}.up-primary-dark{color:#398ade}.up-warning-dark{color:#f1a532}.up-success-dark{color:#53c21d}.up-error-dark{color:#e45656}.up-info-dark{color:#767a82}.up-primary-dark-bg{background-color:#398ade}.up-warning-dark-bg{background-color:#f1a532}.up-success-dark-bg{background-color:#53c21d}.up-error-dark-bg{background-color:#e45656}.up-info-dark-bg{background-color:#767a82}.up-primary-disabled{color:#9acafc}.up-warning-disabled{color:#f9d39b}.up-success-disabled{color:#a9e08f}.up-error-disabled{color:#f7b2b2}.up-info-disabled{color:#c4c6c9}.up-primary{color:#3c9cff}.up-warning{color:#f9ae3d}.up-success{color:#5ac725}.up-error{color:#f56c6c}.up-info{color:#909399}.up-primary-bg{background-color:#3c9cff}.up-warning-bg{background-color:#f9ae3d}.up-success-bg{background-color:#5ac725}.up-error-bg{background-color:#f56c6c}.up-info-bg{background-color:#909399}.up-main-color{color:#303133}.up-content-color{color:#606266}.up-tips-color{color:#909193}.up-light-color{color:#c0c4cc}.u-safe-area-inset-top,.up-safe-area-inset-top{padding-top:0;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.u-safe-area-inset-right,.up-safe-area-inset-right{padding-right:0;padding-right:constant(safe-area-inset-right);padding-right:env(safe-area-inset-right)}.u-safe-area-inset-bottom,.up-safe-area-inset-bottom{padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.u-safe-area-inset-left,.up-safe-area-inset-left{padding-left:0;padding-left:constant(safe-area-inset-left);padding-left:env(safe-area-inset-left)}::-webkit-scrollbar{display:none;width:0!important;height:0!important;-webkit-appearance:none;background:transparent}wx-swiper .wx-swiper-dot{width:10rpx!important;height:10rpx!important}.min_price,.max_price{width:220rpx;height:70rpx;padding:0!important}.min_price_input,.max_price_input{width:100%;height:100%;display:flex;font-size:24rpx;justify-content:center;background:#f5f5f5;text-align:center!important} +.u-line-1,.up-line-1{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.u-line-2,.up-line-2{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:2;-webkit-box-orient:vertical!important}.u-line-3,.up-line-3{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:3;-webkit-box-orient:vertical!important}.u-line-4,.up-line-4{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:4;-webkit-box-orient:vertical!important}.u-line-5,.up-line-5{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:5;-webkit-box-orient:vertical!important}.u-line-6,.up-line-6{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:6;-webkit-box-orient:vertical!important}.u-line-7,.up-line-7{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:7;-webkit-box-orient:vertical!important}.u-line-8,.up-line-8{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:8;-webkit-box-orient:vertical!important}.u-line-9,.up-line-9{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:9;-webkit-box-orient:vertical!important}.u-line-10,.up-line-10{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:10;-webkit-box-orient:vertical!important}.u-border,.up-border{border-width:.5px!important;border-color:#dadbde!important;border-style:solid}.u-border-top,.up-border-top{border-top-width:.5px!important;border-color:#dadbde!important;border-top-style:solid}.u-border-left,.up-border-left{border-left-width:.5px!important;border-color:#dadbde!important;border-left-style:solid}.u-border-right,.up-border-right{border-right-width:.5px!important;border-color:#dadbde!important;border-right-style:solid}.u-border-bottom,.up-border-bottom{border-bottom-width:.5px!important;border-color:#dadbde!important;border-bottom-style:solid}.u-border-top-bottom,.up-border-top-bottom{border-top-width:.5px!important;border-bottom-width:.5px!important;border-color:#dadbde!important;border-top-style:solid;border-bottom-style:solid}.u-reset-button,.up-reset-button{padding:0;background-color:transparent;font-size:inherit;line-height:inherit;color:inherit}.u-reset-button:after,.up-reset-button:after{border:none}.u-hover-class,.up-hover-class{opacity:.7}.u-empty,.u-empty__wrap,.u-transition,.u-tabs,.u-tabs__wrapper,.u-tabs__wrapper__scroll-view-wrapper,.u-tabs__wrapper__scroll-view,.u-tabs__wrapper__nav,.u-tabs__wrapper__nav__line,.up-empty,.up-empty__wrap,.up-transition,.up-tabs,.up-tabs__wrapper,.up-tabs__wrapper__scroll-view-wrapper,.up-tabs__wrapper__scroll-view,.up-tabs__wrapper__nav,.up-tabs__wrapper__nav__line{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-flex,.u-flex-row,.u-flex-x,.up-flex,.up-flex-row,.up-flex-x{display:flex;flex-direction:row;display:flex!important;flex-direction:row!important}.u-flex-y,.u-flex-column,.up-flex-y,.up-flex-column{display:flex;flex-direction:column;display:flex!important;flex-direction:column!important}.u-flex-x-center,.up-flex-x-center{display:flex;flex-direction:row;justify-content:center!important}.u-flex-xy-center,.up-flex-xy-center{display:flex;flex-direction:row;justify-content:center!important;align-items:center!important}.u-flex-y-center,.up-flex-y-center{display:flex;flex-direction:row;align-items:center!important}.u-flex-x-left,.up-flex-x-left{display:flex;flex-direction:row}.u-flex-x-reverse,.u-flex-row-reverse,.up-flex-x-reverse,.up-flex-row-reverse{flex-direction:row-reverse!important}.u-flex-y-reverse,.u-flex-column-reverse,.up-flex-y-reverse,.up-flex-column-reverse{flex-direction:column-reverse!important}.u-flex.u-flex-reverse,.u-flex-row.u-flex-reverse,.u-flex-x.u-flex-reverse,.up-flex.up-flex-reverse,.up-flex-row.up-flex-reverse,.up-flex-x.up-flex-reverse{flex-direction:row-reverse!important}.u-flex-column.u-flex-reverse,.u-flex-y.u-flex-reverse,.up-flex-column.up-flex-reverse,.up-flex-y.up-flex-reverse{flex-direction:column-reverse!important}.u-flex-fill,.up-flex-fill{flex:1 1 auto!important}.u-margin-top-auto,.u-m-t-auto,.up-margin-top-auto,.up-m-t-auto{margin-top:auto!important}.u-margin-right-auto,.u-m-r-auto,.up-margin-right-auto,.up-m-r-auto{margin-right:auto!important}.u-margin-bottom-auto,.u-m-b-auto,.up-margin-bottom-auto,.up-m-b-auto{margin-bottom:auto!important}.u-margin-left-auto,.u-m-l-auto,.up-margin-left-auto,.up-m-l-auto{margin-left:auto!important}.u-margin-center-auto,.u-m-c-auto,.up-margin-center-auto,.up-m-c-auto{margin-left:auto!important;margin-right:auto!important}.u-margin-middle-auto,.u-m-m-auto,.up-margin-middle-auto,.up-m-m-auto{margin-top:auto!important;margin-bottom:auto!important}.u-flex-wrap,.up-flex-wrap{flex-wrap:wrap!important}.u-flex-wrap-reverse,.up-flex-wrap-reverse{flex-wrap:wrap-reverse!important}.u-flex-start,.up-flex-start{justify-content:flex-start!important}.u-flex-center,.up-flex-center{justify-content:center!important}.u-flex-end,.up-flex-end{justify-content:flex-end!important}.u-flex-between,.up-flex-between{justify-content:space-between!important}.u-flex-around,.up-flex-around{justify-content:space-around!important}.u-flex-items-start,.up-flex-items-start{align-items:flex-start!important}.u-flex-items-center,.up-flex-items-center{align-items:center!important}.u-flex-items-end,.up-flex-items-end{align-items:flex-end!important}.u-flex-items-baseline,.up-flex-items-baseline{align-items:baseline!important}.u-flex-items-stretch,.up-flex-items-stretch{align-items:stretch!important}.u-flex-self-start,.up-flex-self-start{align-self:flex-start!important}.u-flex-self-center,.up-flex-self-center{align-self:center!important}.u-flex-self-end,.up-flex-self-end{align-self:flex-end!important}.u-flex-self-baseline,.up-flex-self-baseline{align-self:baseline!important}.u-flex-self-stretch,.up-flex-self-stretch{align-self:stretch!important}.u-flex-content-start,.up-flex-content-start{align-content:flex-start!important}.u-flex-content-center,.up-flex-content-center{align-content:center!important}.u-flex-content-end,.up-flex-content-end{align-content:flex-end!important}.u-flex-content-between,.up-flex-content-between{align-content:space-between!important}.u-flex-content-around,.up-flex-content-around{align-content:space-around!important}.u-flex-middle,.up-flex-middle{justify-content:center!important;align-items:center!important;align-self:center!important;align-content:center!important}.u-flex-grow,.up-flex-grow{flex-grow:1!important}.u-flex-shrink,.up-flex-shrink{flex-shrink:1!important}.u-margin-0,.u-m-0,.up-margin-0,.up-m-0{margin:0rpx!important}.u-padding-0,.u-p-0,.up-padding-0,.up-p-0{padding:0rpx!important}.u-m-l-0,.up-m-l-0{margin-left:0rpx!important}.u-p-l-0,.up-p-l-0{padding-left:0rpx!important}.u-margin-left-0,.up-margin-left-0{margin-left:0rpx!important}.u-padding-left-0,.up-padding-left-0{padding-left:0rpx!important}.u-m-t-0,.up-m-t-0{margin-top:0rpx!important}.u-p-t-0,.up-p-t-0{padding-top:0rpx!important}.u-margin-top-0,.up-margin-top-0{margin-top:0rpx!important}.u-padding-top-0,.up-padding-top-0{padding-top:0rpx!important}.u-m-r-0,.up-m-r-0{margin-right:0rpx!important}.u-p-r-0,.up-p-r-0{padding-right:0rpx!important}.u-margin-right-0,.up-margin-right-0{margin-right:0rpx!important}.u-padding-right-0,.up-padding-right-0{padding-right:0rpx!important}.u-m-b-0,.up-m-b-0{margin-bottom:0rpx!important}.u-p-b-0,.up-p-b-0{padding-bottom:0rpx!important}.u-margin-bottom-0,.up-margin-bottom-0{margin-bottom:0rpx!important}.u-padding-bottom-0,.up-padding-bottom-0{padding-bottom:0rpx!important}.u-margin-2,.u-m-2,.up-margin-2,.up-m-2{margin:2rpx!important}.u-padding-2,.u-p-2,.up-padding-2,.up-p-2{padding:2rpx!important}.u-m-l-2,.up-m-l-2{margin-left:2rpx!important}.u-p-l-2,.up-p-l-2{padding-left:2rpx!important}.u-margin-left-2,.up-margin-left-2{margin-left:2rpx!important}.u-padding-left-2,.up-padding-left-2{padding-left:2rpx!important}.u-m-t-2,.up-m-t-2{margin-top:2rpx!important}.u-p-t-2,.up-p-t-2{padding-top:2rpx!important}.u-margin-top-2,.up-margin-top-2{margin-top:2rpx!important}.u-padding-top-2,.up-padding-top-2{padding-top:2rpx!important}.u-m-r-2,.up-m-r-2{margin-right:2rpx!important}.u-p-r-2,.up-p-r-2{padding-right:2rpx!important}.u-margin-right-2,.up-margin-right-2{margin-right:2rpx!important}.u-padding-right-2,.up-padding-right-2{padding-right:2rpx!important}.u-m-b-2,.up-m-b-2{margin-bottom:2rpx!important}.u-p-b-2,.up-p-b-2{padding-bottom:2rpx!important}.u-margin-bottom-2,.up-margin-bottom-2{margin-bottom:2rpx!important}.u-padding-bottom-2,.up-padding-bottom-2{padding-bottom:2rpx!important}.u-margin-4,.u-m-4,.up-margin-4,.up-m-4{margin:4rpx!important}.u-padding-4,.u-p-4,.up-padding-4,.up-p-4{padding:4rpx!important}.u-m-l-4,.up-m-l-4{margin-left:4rpx!important}.u-p-l-4,.up-p-l-4{padding-left:4rpx!important}.u-margin-left-4,.up-margin-left-4{margin-left:4rpx!important}.u-padding-left-4,.up-padding-left-4{padding-left:4rpx!important}.u-m-t-4,.up-m-t-4{margin-top:4rpx!important}.u-p-t-4,.up-p-t-4{padding-top:4rpx!important}.u-margin-top-4,.up-margin-top-4{margin-top:4rpx!important}.u-padding-top-4,.up-padding-top-4{padding-top:4rpx!important}.u-m-r-4,.up-m-r-4{margin-right:4rpx!important}.u-p-r-4,.up-p-r-4{padding-right:4rpx!important}.u-margin-right-4,.up-margin-right-4{margin-right:4rpx!important}.u-padding-right-4,.up-padding-right-4{padding-right:4rpx!important}.u-m-b-4,.up-m-b-4{margin-bottom:4rpx!important}.u-p-b-4,.up-p-b-4{padding-bottom:4rpx!important}.u-margin-bottom-4,.up-margin-bottom-4{margin-bottom:4rpx!important}.u-padding-bottom-4,.up-padding-bottom-4{padding-bottom:4rpx!important}.u-margin-5,.u-m-5,.up-margin-5,.up-m-5{margin:5rpx!important}.u-padding-5,.u-p-5,.up-padding-5,.up-p-5{padding:5rpx!important}.u-m-l-5,.up-m-l-5{margin-left:5rpx!important}.u-p-l-5,.up-p-l-5{padding-left:5rpx!important}.u-margin-left-5,.up-margin-left-5{margin-left:5rpx!important}.u-padding-left-5,.up-padding-left-5{padding-left:5rpx!important}.u-m-t-5,.up-m-t-5{margin-top:5rpx!important}.u-p-t-5,.up-p-t-5{padding-top:5rpx!important}.u-margin-top-5,.up-margin-top-5{margin-top:5rpx!important}.u-padding-top-5,.up-padding-top-5{padding-top:5rpx!important}.u-m-r-5,.up-m-r-5{margin-right:5rpx!important}.u-p-r-5,.up-p-r-5{padding-right:5rpx!important}.u-margin-right-5,.up-margin-right-5{margin-right:5rpx!important}.u-padding-right-5,.up-padding-right-5{padding-right:5rpx!important}.u-m-b-5,.up-m-b-5{margin-bottom:5rpx!important}.u-p-b-5,.up-p-b-5{padding-bottom:5rpx!important}.u-margin-bottom-5,.up-margin-bottom-5{margin-bottom:5rpx!important}.u-padding-bottom-5,.up-padding-bottom-5{padding-bottom:5rpx!important}.u-margin-6,.u-m-6,.up-margin-6,.up-m-6{margin:6rpx!important}.u-padding-6,.u-p-6,.up-padding-6,.up-p-6{padding:6rpx!important}.u-m-l-6,.up-m-l-6{margin-left:6rpx!important}.u-p-l-6,.up-p-l-6{padding-left:6rpx!important}.u-margin-left-6,.up-margin-left-6{margin-left:6rpx!important}.u-padding-left-6,.up-padding-left-6{padding-left:6rpx!important}.u-m-t-6,.up-m-t-6{margin-top:6rpx!important}.u-p-t-6,.up-p-t-6{padding-top:6rpx!important}.u-margin-top-6,.up-margin-top-6{margin-top:6rpx!important}.u-padding-top-6,.up-padding-top-6{padding-top:6rpx!important}.u-m-r-6,.up-m-r-6{margin-right:6rpx!important}.u-p-r-6,.up-p-r-6{padding-right:6rpx!important}.u-margin-right-6,.up-margin-right-6{margin-right:6rpx!important}.u-padding-right-6,.up-padding-right-6{padding-right:6rpx!important}.u-m-b-6,.up-m-b-6{margin-bottom:6rpx!important}.u-p-b-6,.up-p-b-6{padding-bottom:6rpx!important}.u-margin-bottom-6,.up-margin-bottom-6{margin-bottom:6rpx!important}.u-padding-bottom-6,.up-padding-bottom-6{padding-bottom:6rpx!important}.u-margin-8,.u-m-8,.up-margin-8,.up-m-8{margin:8rpx!important}.u-padding-8,.u-p-8,.up-padding-8,.up-p-8{padding:8rpx!important}.u-m-l-8,.up-m-l-8{margin-left:8rpx!important}.u-p-l-8,.up-p-l-8{padding-left:8rpx!important}.u-margin-left-8,.up-margin-left-8{margin-left:8rpx!important}.u-padding-left-8,.up-padding-left-8{padding-left:8rpx!important}.u-m-t-8,.up-m-t-8{margin-top:8rpx!important}.u-p-t-8,.up-p-t-8{padding-top:8rpx!important}.u-margin-top-8,.up-margin-top-8{margin-top:8rpx!important}.u-padding-top-8,.up-padding-top-8{padding-top:8rpx!important}.u-m-r-8,.up-m-r-8{margin-right:8rpx!important}.u-p-r-8,.up-p-r-8{padding-right:8rpx!important}.u-margin-right-8,.up-margin-right-8{margin-right:8rpx!important}.u-padding-right-8,.up-padding-right-8{padding-right:8rpx!important}.u-m-b-8,.up-m-b-8{margin-bottom:8rpx!important}.u-p-b-8,.up-p-b-8{padding-bottom:8rpx!important}.u-margin-bottom-8,.up-margin-bottom-8{margin-bottom:8rpx!important}.u-padding-bottom-8,.up-padding-bottom-8{padding-bottom:8rpx!important}.u-margin-10,.u-m-10,.up-margin-10,.up-m-10{margin:10rpx!important}.u-padding-10,.u-p-10,.up-padding-10,.up-p-10{padding:10rpx!important}.u-m-l-10,.up-m-l-10{margin-left:10rpx!important}.u-p-l-10,.up-p-l-10{padding-left:10rpx!important}.u-margin-left-10,.up-margin-left-10{margin-left:10rpx!important}.u-padding-left-10,.up-padding-left-10{padding-left:10rpx!important}.u-m-t-10,.up-m-t-10{margin-top:10rpx!important}.u-p-t-10,.up-p-t-10{padding-top:10rpx!important}.u-margin-top-10,.up-margin-top-10{margin-top:10rpx!important}.u-padding-top-10,.up-padding-top-10{padding-top:10rpx!important}.u-m-r-10,.up-m-r-10{margin-right:10rpx!important}.u-p-r-10,.up-p-r-10{padding-right:10rpx!important}.u-margin-right-10,.up-margin-right-10{margin-right:10rpx!important}.u-padding-right-10,.up-padding-right-10{padding-right:10rpx!important}.u-m-b-10,.up-m-b-10{margin-bottom:10rpx!important}.u-p-b-10,.up-p-b-10{padding-bottom:10rpx!important}.u-margin-bottom-10,.up-margin-bottom-10{margin-bottom:10rpx!important}.u-padding-bottom-10,.up-padding-bottom-10{padding-bottom:10rpx!important}.u-margin-12,.u-m-12,.up-margin-12,.up-m-12{margin:12rpx!important}.u-padding-12,.u-p-12,.up-padding-12,.up-p-12{padding:12rpx!important}.u-m-l-12,.up-m-l-12{margin-left:12rpx!important}.u-p-l-12,.up-p-l-12{padding-left:12rpx!important}.u-margin-left-12,.up-margin-left-12{margin-left:12rpx!important}.u-padding-left-12,.up-padding-left-12{padding-left:12rpx!important}.u-m-t-12,.up-m-t-12{margin-top:12rpx!important}.u-p-t-12,.up-p-t-12{padding-top:12rpx!important}.u-margin-top-12,.up-margin-top-12{margin-top:12rpx!important}.u-padding-top-12,.up-padding-top-12{padding-top:12rpx!important}.u-m-r-12,.up-m-r-12{margin-right:12rpx!important}.u-p-r-12,.up-p-r-12{padding-right:12rpx!important}.u-margin-right-12,.up-margin-right-12{margin-right:12rpx!important}.u-padding-right-12,.up-padding-right-12{padding-right:12rpx!important}.u-m-b-12,.up-m-b-12{margin-bottom:12rpx!important}.u-p-b-12,.up-p-b-12{padding-bottom:12rpx!important}.u-margin-bottom-12,.up-margin-bottom-12{margin-bottom:12rpx!important}.u-padding-bottom-12,.up-padding-bottom-12{padding-bottom:12rpx!important}.u-margin-14,.u-m-14,.up-margin-14,.up-m-14{margin:14rpx!important}.u-padding-14,.u-p-14,.up-padding-14,.up-p-14{padding:14rpx!important}.u-m-l-14,.up-m-l-14{margin-left:14rpx!important}.u-p-l-14,.up-p-l-14{padding-left:14rpx!important}.u-margin-left-14,.up-margin-left-14{margin-left:14rpx!important}.u-padding-left-14,.up-padding-left-14{padding-left:14rpx!important}.u-m-t-14,.up-m-t-14{margin-top:14rpx!important}.u-p-t-14,.up-p-t-14{padding-top:14rpx!important}.u-margin-top-14,.up-margin-top-14{margin-top:14rpx!important}.u-padding-top-14,.up-padding-top-14{padding-top:14rpx!important}.u-m-r-14,.up-m-r-14{margin-right:14rpx!important}.u-p-r-14,.up-p-r-14{padding-right:14rpx!important}.u-margin-right-14,.up-margin-right-14{margin-right:14rpx!important}.u-padding-right-14,.up-padding-right-14{padding-right:14rpx!important}.u-m-b-14,.up-m-b-14{margin-bottom:14rpx!important}.u-p-b-14,.up-p-b-14{padding-bottom:14rpx!important}.u-margin-bottom-14,.up-margin-bottom-14{margin-bottom:14rpx!important}.u-padding-bottom-14,.up-padding-bottom-14{padding-bottom:14rpx!important}.u-margin-15,.u-m-15,.up-margin-15,.up-m-15{margin:15rpx!important}.u-padding-15,.u-p-15,.up-padding-15,.up-p-15{padding:15rpx!important}.u-m-l-15,.up-m-l-15{margin-left:15rpx!important}.u-p-l-15,.up-p-l-15{padding-left:15rpx!important}.u-margin-left-15,.up-margin-left-15{margin-left:15rpx!important}.u-padding-left-15,.up-padding-left-15{padding-left:15rpx!important}.u-m-t-15,.up-m-t-15{margin-top:15rpx!important}.u-p-t-15,.up-p-t-15{padding-top:15rpx!important}.u-margin-top-15,.up-margin-top-15{margin-top:15rpx!important}.u-padding-top-15,.up-padding-top-15{padding-top:15rpx!important}.u-m-r-15,.up-m-r-15{margin-right:15rpx!important}.u-p-r-15,.up-p-r-15{padding-right:15rpx!important}.u-margin-right-15,.up-margin-right-15{margin-right:15rpx!important}.u-padding-right-15,.up-padding-right-15{padding-right:15rpx!important}.u-m-b-15,.up-m-b-15{margin-bottom:15rpx!important}.u-p-b-15,.up-p-b-15{padding-bottom:15rpx!important}.u-margin-bottom-15,.up-margin-bottom-15{margin-bottom:15rpx!important}.u-padding-bottom-15,.up-padding-bottom-15{padding-bottom:15rpx!important}.u-margin-16,.u-m-16,.up-margin-16,.up-m-16{margin:16rpx!important}.u-padding-16,.u-p-16,.up-padding-16,.up-p-16{padding:16rpx!important}.u-m-l-16,.up-m-l-16{margin-left:16rpx!important}.u-p-l-16,.up-p-l-16{padding-left:16rpx!important}.u-margin-left-16,.up-margin-left-16{margin-left:16rpx!important}.u-padding-left-16,.up-padding-left-16{padding-left:16rpx!important}.u-m-t-16,.up-m-t-16{margin-top:16rpx!important}.u-p-t-16,.up-p-t-16{padding-top:16rpx!important}.u-margin-top-16,.up-margin-top-16{margin-top:16rpx!important}.u-padding-top-16,.up-padding-top-16{padding-top:16rpx!important}.u-m-r-16,.up-m-r-16{margin-right:16rpx!important}.u-p-r-16,.up-p-r-16{padding-right:16rpx!important}.u-margin-right-16,.up-margin-right-16{margin-right:16rpx!important}.u-padding-right-16,.up-padding-right-16{padding-right:16rpx!important}.u-m-b-16,.up-m-b-16{margin-bottom:16rpx!important}.u-p-b-16,.up-p-b-16{padding-bottom:16rpx!important}.u-margin-bottom-16,.up-margin-bottom-16{margin-bottom:16rpx!important}.u-padding-bottom-16,.up-padding-bottom-16{padding-bottom:16rpx!important}.u-margin-18,.u-m-18,.up-margin-18,.up-m-18{margin:18rpx!important}.u-padding-18,.u-p-18,.up-padding-18,.up-p-18{padding:18rpx!important}.u-m-l-18,.up-m-l-18{margin-left:18rpx!important}.u-p-l-18,.up-p-l-18{padding-left:18rpx!important}.u-margin-left-18,.up-margin-left-18{margin-left:18rpx!important}.u-padding-left-18,.up-padding-left-18{padding-left:18rpx!important}.u-m-t-18,.up-m-t-18{margin-top:18rpx!important}.u-p-t-18,.up-p-t-18{padding-top:18rpx!important}.u-margin-top-18,.up-margin-top-18{margin-top:18rpx!important}.u-padding-top-18,.up-padding-top-18{padding-top:18rpx!important}.u-m-r-18,.up-m-r-18{margin-right:18rpx!important}.u-p-r-18,.up-p-r-18{padding-right:18rpx!important}.u-margin-right-18,.up-margin-right-18{margin-right:18rpx!important}.u-padding-right-18,.up-padding-right-18{padding-right:18rpx!important}.u-m-b-18,.up-m-b-18{margin-bottom:18rpx!important}.u-p-b-18,.up-p-b-18{padding-bottom:18rpx!important}.u-margin-bottom-18,.up-margin-bottom-18{margin-bottom:18rpx!important}.u-padding-bottom-18,.up-padding-bottom-18{padding-bottom:18rpx!important}.u-margin-20,.u-m-20,.up-margin-20,.up-m-20{margin:20rpx!important}.u-padding-20,.u-p-20,.up-padding-20,.up-p-20{padding:20rpx!important}.u-m-l-20,.up-m-l-20{margin-left:20rpx!important}.u-p-l-20,.up-p-l-20{padding-left:20rpx!important}.u-margin-left-20,.up-margin-left-20{margin-left:20rpx!important}.u-padding-left-20,.up-padding-left-20{padding-left:20rpx!important}.u-m-t-20,.up-m-t-20{margin-top:20rpx!important}.u-p-t-20,.up-p-t-20{padding-top:20rpx!important}.u-margin-top-20,.up-margin-top-20{margin-top:20rpx!important}.u-padding-top-20,.up-padding-top-20{padding-top:20rpx!important}.u-m-r-20,.up-m-r-20{margin-right:20rpx!important}.u-p-r-20,.up-p-r-20{padding-right:20rpx!important}.u-margin-right-20,.up-margin-right-20{margin-right:20rpx!important}.u-padding-right-20,.up-padding-right-20{padding-right:20rpx!important}.u-m-b-20,.up-m-b-20{margin-bottom:20rpx!important}.u-p-b-20,.up-p-b-20{padding-bottom:20rpx!important}.u-margin-bottom-20,.up-margin-bottom-20{margin-bottom:20rpx!important}.u-padding-bottom-20,.up-padding-bottom-20{padding-bottom:20rpx!important}.u-margin-22,.u-m-22,.up-margin-22,.up-m-22{margin:22rpx!important}.u-padding-22,.u-p-22,.up-padding-22,.up-p-22{padding:22rpx!important}.u-m-l-22,.up-m-l-22{margin-left:22rpx!important}.u-p-l-22,.up-p-l-22{padding-left:22rpx!important}.u-margin-left-22,.up-margin-left-22{margin-left:22rpx!important}.u-padding-left-22,.up-padding-left-22{padding-left:22rpx!important}.u-m-t-22,.up-m-t-22{margin-top:22rpx!important}.u-p-t-22,.up-p-t-22{padding-top:22rpx!important}.u-margin-top-22,.up-margin-top-22{margin-top:22rpx!important}.u-padding-top-22,.up-padding-top-22{padding-top:22rpx!important}.u-m-r-22,.up-m-r-22{margin-right:22rpx!important}.u-p-r-22,.up-p-r-22{padding-right:22rpx!important}.u-margin-right-22,.up-margin-right-22{margin-right:22rpx!important}.u-padding-right-22,.up-padding-right-22{padding-right:22rpx!important}.u-m-b-22,.up-m-b-22{margin-bottom:22rpx!important}.u-p-b-22,.up-p-b-22{padding-bottom:22rpx!important}.u-margin-bottom-22,.up-margin-bottom-22{margin-bottom:22rpx!important}.u-padding-bottom-22,.up-padding-bottom-22{padding-bottom:22rpx!important}.u-margin-24,.u-m-24,.up-margin-24,.up-m-24{margin:24rpx!important}.u-padding-24,.u-p-24,.up-padding-24,.up-p-24{padding:24rpx!important}.u-m-l-24,.up-m-l-24{margin-left:24rpx!important}.u-p-l-24,.up-p-l-24{padding-left:24rpx!important}.u-margin-left-24,.up-margin-left-24{margin-left:24rpx!important}.u-padding-left-24,.up-padding-left-24{padding-left:24rpx!important}.u-m-t-24,.up-m-t-24{margin-top:24rpx!important}.u-p-t-24,.up-p-t-24{padding-top:24rpx!important}.u-margin-top-24,.up-margin-top-24{margin-top:24rpx!important}.u-padding-top-24,.up-padding-top-24{padding-top:24rpx!important}.u-m-r-24,.up-m-r-24{margin-right:24rpx!important}.u-p-r-24,.up-p-r-24{padding-right:24rpx!important}.u-margin-right-24,.up-margin-right-24{margin-right:24rpx!important}.u-padding-right-24,.up-padding-right-24{padding-right:24rpx!important}.u-m-b-24,.up-m-b-24{margin-bottom:24rpx!important}.u-p-b-24,.up-p-b-24{padding-bottom:24rpx!important}.u-margin-bottom-24,.up-margin-bottom-24{margin-bottom:24rpx!important}.u-padding-bottom-24,.up-padding-bottom-24{padding-bottom:24rpx!important}.u-margin-25,.u-m-25,.up-margin-25,.up-m-25{margin:25rpx!important}.u-padding-25,.u-p-25,.up-padding-25,.up-p-25{padding:25rpx!important}.u-m-l-25,.up-m-l-25{margin-left:25rpx!important}.u-p-l-25,.up-p-l-25{padding-left:25rpx!important}.u-margin-left-25,.up-margin-left-25{margin-left:25rpx!important}.u-padding-left-25,.up-padding-left-25{padding-left:25rpx!important}.u-m-t-25,.up-m-t-25{margin-top:25rpx!important}.u-p-t-25,.up-p-t-25{padding-top:25rpx!important}.u-margin-top-25,.up-margin-top-25{margin-top:25rpx!important}.u-padding-top-25,.up-padding-top-25{padding-top:25rpx!important}.u-m-r-25,.up-m-r-25{margin-right:25rpx!important}.u-p-r-25,.up-p-r-25{padding-right:25rpx!important}.u-margin-right-25,.up-margin-right-25{margin-right:25rpx!important}.u-padding-right-25,.up-padding-right-25{padding-right:25rpx!important}.u-m-b-25,.up-m-b-25{margin-bottom:25rpx!important}.u-p-b-25,.up-p-b-25{padding-bottom:25rpx!important}.u-margin-bottom-25,.up-margin-bottom-25{margin-bottom:25rpx!important}.u-padding-bottom-25,.up-padding-bottom-25{padding-bottom:25rpx!important}.u-margin-26,.u-m-26,.up-margin-26,.up-m-26{margin:26rpx!important}.u-padding-26,.u-p-26,.up-padding-26,.up-p-26{padding:26rpx!important}.u-m-l-26,.up-m-l-26{margin-left:26rpx!important}.u-p-l-26,.up-p-l-26{padding-left:26rpx!important}.u-margin-left-26,.up-margin-left-26{margin-left:26rpx!important}.u-padding-left-26,.up-padding-left-26{padding-left:26rpx!important}.u-m-t-26,.up-m-t-26{margin-top:26rpx!important}.u-p-t-26,.up-p-t-26{padding-top:26rpx!important}.u-margin-top-26,.up-margin-top-26{margin-top:26rpx!important}.u-padding-top-26,.up-padding-top-26{padding-top:26rpx!important}.u-m-r-26,.up-m-r-26{margin-right:26rpx!important}.u-p-r-26,.up-p-r-26{padding-right:26rpx!important}.u-margin-right-26,.up-margin-right-26{margin-right:26rpx!important}.u-padding-right-26,.up-padding-right-26{padding-right:26rpx!important}.u-m-b-26,.up-m-b-26{margin-bottom:26rpx!important}.u-p-b-26,.up-p-b-26{padding-bottom:26rpx!important}.u-margin-bottom-26,.up-margin-bottom-26{margin-bottom:26rpx!important}.u-padding-bottom-26,.up-padding-bottom-26{padding-bottom:26rpx!important}.u-margin-28,.u-m-28,.up-margin-28,.up-m-28{margin:28rpx!important}.u-padding-28,.u-p-28,.up-padding-28,.up-p-28{padding:28rpx!important}.u-m-l-28,.up-m-l-28{margin-left:28rpx!important}.u-p-l-28,.up-p-l-28{padding-left:28rpx!important}.u-margin-left-28,.up-margin-left-28{margin-left:28rpx!important}.u-padding-left-28,.up-padding-left-28{padding-left:28rpx!important}.u-m-t-28,.up-m-t-28{margin-top:28rpx!important}.u-p-t-28,.up-p-t-28{padding-top:28rpx!important}.u-margin-top-28,.up-margin-top-28{margin-top:28rpx!important}.u-padding-top-28,.up-padding-top-28{padding-top:28rpx!important}.u-m-r-28,.up-m-r-28{margin-right:28rpx!important}.u-p-r-28,.up-p-r-28{padding-right:28rpx!important}.u-margin-right-28,.up-margin-right-28{margin-right:28rpx!important}.u-padding-right-28,.up-padding-right-28{padding-right:28rpx!important}.u-m-b-28,.up-m-b-28{margin-bottom:28rpx!important}.u-p-b-28,.up-p-b-28{padding-bottom:28rpx!important}.u-margin-bottom-28,.up-margin-bottom-28{margin-bottom:28rpx!important}.u-padding-bottom-28,.up-padding-bottom-28{padding-bottom:28rpx!important}.u-margin-30,.u-m-30,.up-margin-30,.up-m-30{margin:30rpx!important}.u-padding-30,.u-p-30,.up-padding-30,.up-p-30{padding:30rpx!important}.u-m-l-30,.up-m-l-30{margin-left:30rpx!important}.u-p-l-30,.up-p-l-30{padding-left:30rpx!important}.u-margin-left-30,.up-margin-left-30{margin-left:30rpx!important}.u-padding-left-30,.up-padding-left-30{padding-left:30rpx!important}.u-m-t-30,.up-m-t-30{margin-top:30rpx!important}.u-p-t-30,.up-p-t-30{padding-top:30rpx!important}.u-margin-top-30,.up-margin-top-30{margin-top:30rpx!important}.u-padding-top-30,.up-padding-top-30{padding-top:30rpx!important}.u-m-r-30,.up-m-r-30{margin-right:30rpx!important}.u-p-r-30,.up-p-r-30{padding-right:30rpx!important}.u-margin-right-30,.up-margin-right-30{margin-right:30rpx!important}.u-padding-right-30,.up-padding-right-30{padding-right:30rpx!important}.u-m-b-30,.up-m-b-30{margin-bottom:30rpx!important}.u-p-b-30,.up-p-b-30{padding-bottom:30rpx!important}.u-margin-bottom-30,.up-margin-bottom-30{margin-bottom:30rpx!important}.u-padding-bottom-30,.up-padding-bottom-30{padding-bottom:30rpx!important}.u-margin-32,.u-m-32,.up-margin-32,.up-m-32{margin:32rpx!important}.u-padding-32,.u-p-32,.up-padding-32,.up-p-32{padding:32rpx!important}.u-m-l-32,.up-m-l-32{margin-left:32rpx!important}.u-p-l-32,.up-p-l-32{padding-left:32rpx!important}.u-margin-left-32,.up-margin-left-32{margin-left:32rpx!important}.u-padding-left-32,.up-padding-left-32{padding-left:32rpx!important}.u-m-t-32,.up-m-t-32{margin-top:32rpx!important}.u-p-t-32,.up-p-t-32{padding-top:32rpx!important}.u-margin-top-32,.up-margin-top-32{margin-top:32rpx!important}.u-padding-top-32,.up-padding-top-32{padding-top:32rpx!important}.u-m-r-32,.up-m-r-32{margin-right:32rpx!important}.u-p-r-32,.up-p-r-32{padding-right:32rpx!important}.u-margin-right-32,.up-margin-right-32{margin-right:32rpx!important}.u-padding-right-32,.up-padding-right-32{padding-right:32rpx!important}.u-m-b-32,.up-m-b-32{margin-bottom:32rpx!important}.u-p-b-32,.up-p-b-32{padding-bottom:32rpx!important}.u-margin-bottom-32,.up-margin-bottom-32{margin-bottom:32rpx!important}.u-padding-bottom-32,.up-padding-bottom-32{padding-bottom:32rpx!important}.u-margin-34,.u-m-34,.up-margin-34,.up-m-34{margin:34rpx!important}.u-padding-34,.u-p-34,.up-padding-34,.up-p-34{padding:34rpx!important}.u-m-l-34,.up-m-l-34{margin-left:34rpx!important}.u-p-l-34,.up-p-l-34{padding-left:34rpx!important}.u-margin-left-34,.up-margin-left-34{margin-left:34rpx!important}.u-padding-left-34,.up-padding-left-34{padding-left:34rpx!important}.u-m-t-34,.up-m-t-34{margin-top:34rpx!important}.u-p-t-34,.up-p-t-34{padding-top:34rpx!important}.u-margin-top-34,.up-margin-top-34{margin-top:34rpx!important}.u-padding-top-34,.up-padding-top-34{padding-top:34rpx!important}.u-m-r-34,.up-m-r-34{margin-right:34rpx!important}.u-p-r-34,.up-p-r-34{padding-right:34rpx!important}.u-margin-right-34,.up-margin-right-34{margin-right:34rpx!important}.u-padding-right-34,.up-padding-right-34{padding-right:34rpx!important}.u-m-b-34,.up-m-b-34{margin-bottom:34rpx!important}.u-p-b-34,.up-p-b-34{padding-bottom:34rpx!important}.u-margin-bottom-34,.up-margin-bottom-34{margin-bottom:34rpx!important}.u-padding-bottom-34,.up-padding-bottom-34{padding-bottom:34rpx!important}.u-margin-35,.u-m-35,.up-margin-35,.up-m-35{margin:35rpx!important}.u-padding-35,.u-p-35,.up-padding-35,.up-p-35{padding:35rpx!important}.u-m-l-35,.up-m-l-35{margin-left:35rpx!important}.u-p-l-35,.up-p-l-35{padding-left:35rpx!important}.u-margin-left-35,.up-margin-left-35{margin-left:35rpx!important}.u-padding-left-35,.up-padding-left-35{padding-left:35rpx!important}.u-m-t-35,.up-m-t-35{margin-top:35rpx!important}.u-p-t-35,.up-p-t-35{padding-top:35rpx!important}.u-margin-top-35,.up-margin-top-35{margin-top:35rpx!important}.u-padding-top-35,.up-padding-top-35{padding-top:35rpx!important}.u-m-r-35,.up-m-r-35{margin-right:35rpx!important}.u-p-r-35,.up-p-r-35{padding-right:35rpx!important}.u-margin-right-35,.up-margin-right-35{margin-right:35rpx!important}.u-padding-right-35,.up-padding-right-35{padding-right:35rpx!important}.u-m-b-35,.up-m-b-35{margin-bottom:35rpx!important}.u-p-b-35,.up-p-b-35{padding-bottom:35rpx!important}.u-margin-bottom-35,.up-margin-bottom-35{margin-bottom:35rpx!important}.u-padding-bottom-35,.up-padding-bottom-35{padding-bottom:35rpx!important}.u-margin-36,.u-m-36,.up-margin-36,.up-m-36{margin:36rpx!important}.u-padding-36,.u-p-36,.up-padding-36,.up-p-36{padding:36rpx!important}.u-m-l-36,.up-m-l-36{margin-left:36rpx!important}.u-p-l-36,.up-p-l-36{padding-left:36rpx!important}.u-margin-left-36,.up-margin-left-36{margin-left:36rpx!important}.u-padding-left-36,.up-padding-left-36{padding-left:36rpx!important}.u-m-t-36,.up-m-t-36{margin-top:36rpx!important}.u-p-t-36,.up-p-t-36{padding-top:36rpx!important}.u-margin-top-36,.up-margin-top-36{margin-top:36rpx!important}.u-padding-top-36,.up-padding-top-36{padding-top:36rpx!important}.u-m-r-36,.up-m-r-36{margin-right:36rpx!important}.u-p-r-36,.up-p-r-36{padding-right:36rpx!important}.u-margin-right-36,.up-margin-right-36{margin-right:36rpx!important}.u-padding-right-36,.up-padding-right-36{padding-right:36rpx!important}.u-m-b-36,.up-m-b-36{margin-bottom:36rpx!important}.u-p-b-36,.up-p-b-36{padding-bottom:36rpx!important}.u-margin-bottom-36,.up-margin-bottom-36{margin-bottom:36rpx!important}.u-padding-bottom-36,.up-padding-bottom-36{padding-bottom:36rpx!important}.u-margin-38,.u-m-38,.up-margin-38,.up-m-38{margin:38rpx!important}.u-padding-38,.u-p-38,.up-padding-38,.up-p-38{padding:38rpx!important}.u-m-l-38,.up-m-l-38{margin-left:38rpx!important}.u-p-l-38,.up-p-l-38{padding-left:38rpx!important}.u-margin-left-38,.up-margin-left-38{margin-left:38rpx!important}.u-padding-left-38,.up-padding-left-38{padding-left:38rpx!important}.u-m-t-38,.up-m-t-38{margin-top:38rpx!important}.u-p-t-38,.up-p-t-38{padding-top:38rpx!important}.u-margin-top-38,.up-margin-top-38{margin-top:38rpx!important}.u-padding-top-38,.up-padding-top-38{padding-top:38rpx!important}.u-m-r-38,.up-m-r-38{margin-right:38rpx!important}.u-p-r-38,.up-p-r-38{padding-right:38rpx!important}.u-margin-right-38,.up-margin-right-38{margin-right:38rpx!important}.u-padding-right-38,.up-padding-right-38{padding-right:38rpx!important}.u-m-b-38,.up-m-b-38{margin-bottom:38rpx!important}.u-p-b-38,.up-p-b-38{padding-bottom:38rpx!important}.u-margin-bottom-38,.up-margin-bottom-38{margin-bottom:38rpx!important}.u-padding-bottom-38,.up-padding-bottom-38{padding-bottom:38rpx!important}.u-margin-40,.u-m-40,.up-margin-40,.up-m-40{margin:40rpx!important}.u-padding-40,.u-p-40,.up-padding-40,.up-p-40{padding:40rpx!important}.u-m-l-40,.up-m-l-40{margin-left:40rpx!important}.u-p-l-40,.up-p-l-40{padding-left:40rpx!important}.u-margin-left-40,.up-margin-left-40{margin-left:40rpx!important}.u-padding-left-40,.up-padding-left-40{padding-left:40rpx!important}.u-m-t-40,.up-m-t-40{margin-top:40rpx!important}.u-p-t-40,.up-p-t-40{padding-top:40rpx!important}.u-margin-top-40,.up-margin-top-40{margin-top:40rpx!important}.u-padding-top-40,.up-padding-top-40{padding-top:40rpx!important}.u-m-r-40,.up-m-r-40{margin-right:40rpx!important}.u-p-r-40,.up-p-r-40{padding-right:40rpx!important}.u-margin-right-40,.up-margin-right-40{margin-right:40rpx!important}.u-padding-right-40,.up-padding-right-40{padding-right:40rpx!important}.u-m-b-40,.up-m-b-40{margin-bottom:40rpx!important}.u-p-b-40,.up-p-b-40{padding-bottom:40rpx!important}.u-margin-bottom-40,.up-margin-bottom-40{margin-bottom:40rpx!important}.u-padding-bottom-40,.up-padding-bottom-40{padding-bottom:40rpx!important}.u-margin-42,.u-m-42,.up-margin-42,.up-m-42{margin:42rpx!important}.u-padding-42,.u-p-42,.up-padding-42,.up-p-42{padding:42rpx!important}.u-m-l-42,.up-m-l-42{margin-left:42rpx!important}.u-p-l-42,.up-p-l-42{padding-left:42rpx!important}.u-margin-left-42,.up-margin-left-42{margin-left:42rpx!important}.u-padding-left-42,.up-padding-left-42{padding-left:42rpx!important}.u-m-t-42,.up-m-t-42{margin-top:42rpx!important}.u-p-t-42,.up-p-t-42{padding-top:42rpx!important}.u-margin-top-42,.up-margin-top-42{margin-top:42rpx!important}.u-padding-top-42,.up-padding-top-42{padding-top:42rpx!important}.u-m-r-42,.up-m-r-42{margin-right:42rpx!important}.u-p-r-42,.up-p-r-42{padding-right:42rpx!important}.u-margin-right-42,.up-margin-right-42{margin-right:42rpx!important}.u-padding-right-42,.up-padding-right-42{padding-right:42rpx!important}.u-m-b-42,.up-m-b-42{margin-bottom:42rpx!important}.u-p-b-42,.up-p-b-42{padding-bottom:42rpx!important}.u-margin-bottom-42,.up-margin-bottom-42{margin-bottom:42rpx!important}.u-padding-bottom-42,.up-padding-bottom-42{padding-bottom:42rpx!important}.u-margin-44,.u-m-44,.up-margin-44,.up-m-44{margin:44rpx!important}.u-padding-44,.u-p-44,.up-padding-44,.up-p-44{padding:44rpx!important}.u-m-l-44,.up-m-l-44{margin-left:44rpx!important}.u-p-l-44,.up-p-l-44{padding-left:44rpx!important}.u-margin-left-44,.up-margin-left-44{margin-left:44rpx!important}.u-padding-left-44,.up-padding-left-44{padding-left:44rpx!important}.u-m-t-44,.up-m-t-44{margin-top:44rpx!important}.u-p-t-44,.up-p-t-44{padding-top:44rpx!important}.u-margin-top-44,.up-margin-top-44{margin-top:44rpx!important}.u-padding-top-44,.up-padding-top-44{padding-top:44rpx!important}.u-m-r-44,.up-m-r-44{margin-right:44rpx!important}.u-p-r-44,.up-p-r-44{padding-right:44rpx!important}.u-margin-right-44,.up-margin-right-44{margin-right:44rpx!important}.u-padding-right-44,.up-padding-right-44{padding-right:44rpx!important}.u-m-b-44,.up-m-b-44{margin-bottom:44rpx!important}.u-p-b-44,.up-p-b-44{padding-bottom:44rpx!important}.u-margin-bottom-44,.up-margin-bottom-44{margin-bottom:44rpx!important}.u-padding-bottom-44,.up-padding-bottom-44{padding-bottom:44rpx!important}.u-margin-45,.u-m-45,.up-margin-45,.up-m-45{margin:45rpx!important}.u-padding-45,.u-p-45,.up-padding-45,.up-p-45{padding:45rpx!important}.u-m-l-45,.up-m-l-45{margin-left:45rpx!important}.u-p-l-45,.up-p-l-45{padding-left:45rpx!important}.u-margin-left-45,.up-margin-left-45{margin-left:45rpx!important}.u-padding-left-45,.up-padding-left-45{padding-left:45rpx!important}.u-m-t-45,.up-m-t-45{margin-top:45rpx!important}.u-p-t-45,.up-p-t-45{padding-top:45rpx!important}.u-margin-top-45,.up-margin-top-45{margin-top:45rpx!important}.u-padding-top-45,.up-padding-top-45{padding-top:45rpx!important}.u-m-r-45,.up-m-r-45{margin-right:45rpx!important}.u-p-r-45,.up-p-r-45{padding-right:45rpx!important}.u-margin-right-45,.up-margin-right-45{margin-right:45rpx!important}.u-padding-right-45,.up-padding-right-45{padding-right:45rpx!important}.u-m-b-45,.up-m-b-45{margin-bottom:45rpx!important}.u-p-b-45,.up-p-b-45{padding-bottom:45rpx!important}.u-margin-bottom-45,.up-margin-bottom-45{margin-bottom:45rpx!important}.u-padding-bottom-45,.up-padding-bottom-45{padding-bottom:45rpx!important}.u-margin-46,.u-m-46,.up-margin-46,.up-m-46{margin:46rpx!important}.u-padding-46,.u-p-46,.up-padding-46,.up-p-46{padding:46rpx!important}.u-m-l-46,.up-m-l-46{margin-left:46rpx!important}.u-p-l-46,.up-p-l-46{padding-left:46rpx!important}.u-margin-left-46,.up-margin-left-46{margin-left:46rpx!important}.u-padding-left-46,.up-padding-left-46{padding-left:46rpx!important}.u-m-t-46,.up-m-t-46{margin-top:46rpx!important}.u-p-t-46,.up-p-t-46{padding-top:46rpx!important}.u-margin-top-46,.up-margin-top-46{margin-top:46rpx!important}.u-padding-top-46,.up-padding-top-46{padding-top:46rpx!important}.u-m-r-46,.up-m-r-46{margin-right:46rpx!important}.u-p-r-46,.up-p-r-46{padding-right:46rpx!important}.u-margin-right-46,.up-margin-right-46{margin-right:46rpx!important}.u-padding-right-46,.up-padding-right-46{padding-right:46rpx!important}.u-m-b-46,.up-m-b-46{margin-bottom:46rpx!important}.u-p-b-46,.up-p-b-46{padding-bottom:46rpx!important}.u-margin-bottom-46,.up-margin-bottom-46{margin-bottom:46rpx!important}.u-padding-bottom-46,.up-padding-bottom-46{padding-bottom:46rpx!important}.u-margin-48,.u-m-48,.up-margin-48,.up-m-48{margin:48rpx!important}.u-padding-48,.u-p-48,.up-padding-48,.up-p-48{padding:48rpx!important}.u-m-l-48,.up-m-l-48{margin-left:48rpx!important}.u-p-l-48,.up-p-l-48{padding-left:48rpx!important}.u-margin-left-48,.up-margin-left-48{margin-left:48rpx!important}.u-padding-left-48,.up-padding-left-48{padding-left:48rpx!important}.u-m-t-48,.up-m-t-48{margin-top:48rpx!important}.u-p-t-48,.up-p-t-48{padding-top:48rpx!important}.u-margin-top-48,.up-margin-top-48{margin-top:48rpx!important}.u-padding-top-48,.up-padding-top-48{padding-top:48rpx!important}.u-m-r-48,.up-m-r-48{margin-right:48rpx!important}.u-p-r-48,.up-p-r-48{padding-right:48rpx!important}.u-margin-right-48,.up-margin-right-48{margin-right:48rpx!important}.u-padding-right-48,.up-padding-right-48{padding-right:48rpx!important}.u-m-b-48,.up-m-b-48{margin-bottom:48rpx!important}.u-p-b-48,.up-p-b-48{padding-bottom:48rpx!important}.u-margin-bottom-48,.up-margin-bottom-48{margin-bottom:48rpx!important}.u-padding-bottom-48,.up-padding-bottom-48{padding-bottom:48rpx!important}.u-margin-50,.u-m-50,.up-margin-50,.up-m-50{margin:50rpx!important}.u-padding-50,.u-p-50,.up-padding-50,.up-p-50{padding:50rpx!important}.u-m-l-50,.up-m-l-50{margin-left:50rpx!important}.u-p-l-50,.up-p-l-50{padding-left:50rpx!important}.u-margin-left-50,.up-margin-left-50{margin-left:50rpx!important}.u-padding-left-50,.up-padding-left-50{padding-left:50rpx!important}.u-m-t-50,.up-m-t-50{margin-top:50rpx!important}.u-p-t-50,.up-p-t-50{padding-top:50rpx!important}.u-margin-top-50,.up-margin-top-50{margin-top:50rpx!important}.u-padding-top-50,.up-padding-top-50{padding-top:50rpx!important}.u-m-r-50,.up-m-r-50{margin-right:50rpx!important}.u-p-r-50,.up-p-r-50{padding-right:50rpx!important}.u-margin-right-50,.up-margin-right-50{margin-right:50rpx!important}.u-padding-right-50,.up-padding-right-50{padding-right:50rpx!important}.u-m-b-50,.up-m-b-50{margin-bottom:50rpx!important}.u-p-b-50,.up-p-b-50{padding-bottom:50rpx!important}.u-margin-bottom-50,.up-margin-bottom-50{margin-bottom:50rpx!important}.u-padding-bottom-50,.up-padding-bottom-50{padding-bottom:50rpx!important}.u-margin-52,.u-m-52,.up-margin-52,.up-m-52{margin:52rpx!important}.u-padding-52,.u-p-52,.up-padding-52,.up-p-52{padding:52rpx!important}.u-m-l-52,.up-m-l-52{margin-left:52rpx!important}.u-p-l-52,.up-p-l-52{padding-left:52rpx!important}.u-margin-left-52,.up-margin-left-52{margin-left:52rpx!important}.u-padding-left-52,.up-padding-left-52{padding-left:52rpx!important}.u-m-t-52,.up-m-t-52{margin-top:52rpx!important}.u-p-t-52,.up-p-t-52{padding-top:52rpx!important}.u-margin-top-52,.up-margin-top-52{margin-top:52rpx!important}.u-padding-top-52,.up-padding-top-52{padding-top:52rpx!important}.u-m-r-52,.up-m-r-52{margin-right:52rpx!important}.u-p-r-52,.up-p-r-52{padding-right:52rpx!important}.u-margin-right-52,.up-margin-right-52{margin-right:52rpx!important}.u-padding-right-52,.up-padding-right-52{padding-right:52rpx!important}.u-m-b-52,.up-m-b-52{margin-bottom:52rpx!important}.u-p-b-52,.up-p-b-52{padding-bottom:52rpx!important}.u-margin-bottom-52,.up-margin-bottom-52{margin-bottom:52rpx!important}.u-padding-bottom-52,.up-padding-bottom-52{padding-bottom:52rpx!important}.u-margin-54,.u-m-54,.up-margin-54,.up-m-54{margin:54rpx!important}.u-padding-54,.u-p-54,.up-padding-54,.up-p-54{padding:54rpx!important}.u-m-l-54,.up-m-l-54{margin-left:54rpx!important}.u-p-l-54,.up-p-l-54{padding-left:54rpx!important}.u-margin-left-54,.up-margin-left-54{margin-left:54rpx!important}.u-padding-left-54,.up-padding-left-54{padding-left:54rpx!important}.u-m-t-54,.up-m-t-54{margin-top:54rpx!important}.u-p-t-54,.up-p-t-54{padding-top:54rpx!important}.u-margin-top-54,.up-margin-top-54{margin-top:54rpx!important}.u-padding-top-54,.up-padding-top-54{padding-top:54rpx!important}.u-m-r-54,.up-m-r-54{margin-right:54rpx!important}.u-p-r-54,.up-p-r-54{padding-right:54rpx!important}.u-margin-right-54,.up-margin-right-54{margin-right:54rpx!important}.u-padding-right-54,.up-padding-right-54{padding-right:54rpx!important}.u-m-b-54,.up-m-b-54{margin-bottom:54rpx!important}.u-p-b-54,.up-p-b-54{padding-bottom:54rpx!important}.u-margin-bottom-54,.up-margin-bottom-54{margin-bottom:54rpx!important}.u-padding-bottom-54,.up-padding-bottom-54{padding-bottom:54rpx!important}.u-margin-55,.u-m-55,.up-margin-55,.up-m-55{margin:55rpx!important}.u-padding-55,.u-p-55,.up-padding-55,.up-p-55{padding:55rpx!important}.u-m-l-55,.up-m-l-55{margin-left:55rpx!important}.u-p-l-55,.up-p-l-55{padding-left:55rpx!important}.u-margin-left-55,.up-margin-left-55{margin-left:55rpx!important}.u-padding-left-55,.up-padding-left-55{padding-left:55rpx!important}.u-m-t-55,.up-m-t-55{margin-top:55rpx!important}.u-p-t-55,.up-p-t-55{padding-top:55rpx!important}.u-margin-top-55,.up-margin-top-55{margin-top:55rpx!important}.u-padding-top-55,.up-padding-top-55{padding-top:55rpx!important}.u-m-r-55,.up-m-r-55{margin-right:55rpx!important}.u-p-r-55,.up-p-r-55{padding-right:55rpx!important}.u-margin-right-55,.up-margin-right-55{margin-right:55rpx!important}.u-padding-right-55,.up-padding-right-55{padding-right:55rpx!important}.u-m-b-55,.up-m-b-55{margin-bottom:55rpx!important}.u-p-b-55,.up-p-b-55{padding-bottom:55rpx!important}.u-margin-bottom-55,.up-margin-bottom-55{margin-bottom:55rpx!important}.u-padding-bottom-55,.up-padding-bottom-55{padding-bottom:55rpx!important}.u-margin-56,.u-m-56,.up-margin-56,.up-m-56{margin:56rpx!important}.u-padding-56,.u-p-56,.up-padding-56,.up-p-56{padding:56rpx!important}.u-m-l-56,.up-m-l-56{margin-left:56rpx!important}.u-p-l-56,.up-p-l-56{padding-left:56rpx!important}.u-margin-left-56,.up-margin-left-56{margin-left:56rpx!important}.u-padding-left-56,.up-padding-left-56{padding-left:56rpx!important}.u-m-t-56,.up-m-t-56{margin-top:56rpx!important}.u-p-t-56,.up-p-t-56{padding-top:56rpx!important}.u-margin-top-56,.up-margin-top-56{margin-top:56rpx!important}.u-padding-top-56,.up-padding-top-56{padding-top:56rpx!important}.u-m-r-56,.up-m-r-56{margin-right:56rpx!important}.u-p-r-56,.up-p-r-56{padding-right:56rpx!important}.u-margin-right-56,.up-margin-right-56{margin-right:56rpx!important}.u-padding-right-56,.up-padding-right-56{padding-right:56rpx!important}.u-m-b-56,.up-m-b-56{margin-bottom:56rpx!important}.u-p-b-56,.up-p-b-56{padding-bottom:56rpx!important}.u-margin-bottom-56,.up-margin-bottom-56{margin-bottom:56rpx!important}.u-padding-bottom-56,.up-padding-bottom-56{padding-bottom:56rpx!important}.u-margin-58,.u-m-58,.up-margin-58,.up-m-58{margin:58rpx!important}.u-padding-58,.u-p-58,.up-padding-58,.up-p-58{padding:58rpx!important}.u-m-l-58,.up-m-l-58{margin-left:58rpx!important}.u-p-l-58,.up-p-l-58{padding-left:58rpx!important}.u-margin-left-58,.up-margin-left-58{margin-left:58rpx!important}.u-padding-left-58,.up-padding-left-58{padding-left:58rpx!important}.u-m-t-58,.up-m-t-58{margin-top:58rpx!important}.u-p-t-58,.up-p-t-58{padding-top:58rpx!important}.u-margin-top-58,.up-margin-top-58{margin-top:58rpx!important}.u-padding-top-58,.up-padding-top-58{padding-top:58rpx!important}.u-m-r-58,.up-m-r-58{margin-right:58rpx!important}.u-p-r-58,.up-p-r-58{padding-right:58rpx!important}.u-margin-right-58,.up-margin-right-58{margin-right:58rpx!important}.u-padding-right-58,.up-padding-right-58{padding-right:58rpx!important}.u-m-b-58,.up-m-b-58{margin-bottom:58rpx!important}.u-p-b-58,.up-p-b-58{padding-bottom:58rpx!important}.u-margin-bottom-58,.up-margin-bottom-58{margin-bottom:58rpx!important}.u-padding-bottom-58,.up-padding-bottom-58{padding-bottom:58rpx!important}.u-margin-60,.u-m-60,.up-margin-60,.up-m-60{margin:60rpx!important}.u-padding-60,.u-p-60,.up-padding-60,.up-p-60{padding:60rpx!important}.u-m-l-60,.up-m-l-60{margin-left:60rpx!important}.u-p-l-60,.up-p-l-60{padding-left:60rpx!important}.u-margin-left-60,.up-margin-left-60{margin-left:60rpx!important}.u-padding-left-60,.up-padding-left-60{padding-left:60rpx!important}.u-m-t-60,.up-m-t-60{margin-top:60rpx!important}.u-p-t-60,.up-p-t-60{padding-top:60rpx!important}.u-margin-top-60,.up-margin-top-60{margin-top:60rpx!important}.u-padding-top-60,.up-padding-top-60{padding-top:60rpx!important}.u-m-r-60,.up-m-r-60{margin-right:60rpx!important}.u-p-r-60,.up-p-r-60{padding-right:60rpx!important}.u-margin-right-60,.up-margin-right-60{margin-right:60rpx!important}.u-padding-right-60,.up-padding-right-60{padding-right:60rpx!important}.u-m-b-60,.up-m-b-60{margin-bottom:60rpx!important}.u-p-b-60,.up-p-b-60{padding-bottom:60rpx!important}.u-margin-bottom-60,.up-margin-bottom-60{margin-bottom:60rpx!important}.u-padding-bottom-60,.up-padding-bottom-60{padding-bottom:60rpx!important}.u-margin-62,.u-m-62,.up-margin-62,.up-m-62{margin:62rpx!important}.u-padding-62,.u-p-62,.up-padding-62,.up-p-62{padding:62rpx!important}.u-m-l-62,.up-m-l-62{margin-left:62rpx!important}.u-p-l-62,.up-p-l-62{padding-left:62rpx!important}.u-margin-left-62,.up-margin-left-62{margin-left:62rpx!important}.u-padding-left-62,.up-padding-left-62{padding-left:62rpx!important}.u-m-t-62,.up-m-t-62{margin-top:62rpx!important}.u-p-t-62,.up-p-t-62{padding-top:62rpx!important}.u-margin-top-62,.up-margin-top-62{margin-top:62rpx!important}.u-padding-top-62,.up-padding-top-62{padding-top:62rpx!important}.u-m-r-62,.up-m-r-62{margin-right:62rpx!important}.u-p-r-62,.up-p-r-62{padding-right:62rpx!important}.u-margin-right-62,.up-margin-right-62{margin-right:62rpx!important}.u-padding-right-62,.up-padding-right-62{padding-right:62rpx!important}.u-m-b-62,.up-m-b-62{margin-bottom:62rpx!important}.u-p-b-62,.up-p-b-62{padding-bottom:62rpx!important}.u-margin-bottom-62,.up-margin-bottom-62{margin-bottom:62rpx!important}.u-padding-bottom-62,.up-padding-bottom-62{padding-bottom:62rpx!important}.u-margin-64,.u-m-64,.up-margin-64,.up-m-64{margin:64rpx!important}.u-padding-64,.u-p-64,.up-padding-64,.up-p-64{padding:64rpx!important}.u-m-l-64,.up-m-l-64{margin-left:64rpx!important}.u-p-l-64,.up-p-l-64{padding-left:64rpx!important}.u-margin-left-64,.up-margin-left-64{margin-left:64rpx!important}.u-padding-left-64,.up-padding-left-64{padding-left:64rpx!important}.u-m-t-64,.up-m-t-64{margin-top:64rpx!important}.u-p-t-64,.up-p-t-64{padding-top:64rpx!important}.u-margin-top-64,.up-margin-top-64{margin-top:64rpx!important}.u-padding-top-64,.up-padding-top-64{padding-top:64rpx!important}.u-m-r-64,.up-m-r-64{margin-right:64rpx!important}.u-p-r-64,.up-p-r-64{padding-right:64rpx!important}.u-margin-right-64,.up-margin-right-64{margin-right:64rpx!important}.u-padding-right-64,.up-padding-right-64{padding-right:64rpx!important}.u-m-b-64,.up-m-b-64{margin-bottom:64rpx!important}.u-p-b-64,.up-p-b-64{padding-bottom:64rpx!important}.u-margin-bottom-64,.up-margin-bottom-64{margin-bottom:64rpx!important}.u-padding-bottom-64,.up-padding-bottom-64{padding-bottom:64rpx!important}.u-margin-65,.u-m-65,.up-margin-65,.up-m-65{margin:65rpx!important}.u-padding-65,.u-p-65,.up-padding-65,.up-p-65{padding:65rpx!important}.u-m-l-65,.up-m-l-65{margin-left:65rpx!important}.u-p-l-65,.up-p-l-65{padding-left:65rpx!important}.u-margin-left-65,.up-margin-left-65{margin-left:65rpx!important}.u-padding-left-65,.up-padding-left-65{padding-left:65rpx!important}.u-m-t-65,.up-m-t-65{margin-top:65rpx!important}.u-p-t-65,.up-p-t-65{padding-top:65rpx!important}.u-margin-top-65,.up-margin-top-65{margin-top:65rpx!important}.u-padding-top-65,.up-padding-top-65{padding-top:65rpx!important}.u-m-r-65,.up-m-r-65{margin-right:65rpx!important}.u-p-r-65,.up-p-r-65{padding-right:65rpx!important}.u-margin-right-65,.up-margin-right-65{margin-right:65rpx!important}.u-padding-right-65,.up-padding-right-65{padding-right:65rpx!important}.u-m-b-65,.up-m-b-65{margin-bottom:65rpx!important}.u-p-b-65,.up-p-b-65{padding-bottom:65rpx!important}.u-margin-bottom-65,.up-margin-bottom-65{margin-bottom:65rpx!important}.u-padding-bottom-65,.up-padding-bottom-65{padding-bottom:65rpx!important}.u-margin-66,.u-m-66,.up-margin-66,.up-m-66{margin:66rpx!important}.u-padding-66,.u-p-66,.up-padding-66,.up-p-66{padding:66rpx!important}.u-m-l-66,.up-m-l-66{margin-left:66rpx!important}.u-p-l-66,.up-p-l-66{padding-left:66rpx!important}.u-margin-left-66,.up-margin-left-66{margin-left:66rpx!important}.u-padding-left-66,.up-padding-left-66{padding-left:66rpx!important}.u-m-t-66,.up-m-t-66{margin-top:66rpx!important}.u-p-t-66,.up-p-t-66{padding-top:66rpx!important}.u-margin-top-66,.up-margin-top-66{margin-top:66rpx!important}.u-padding-top-66,.up-padding-top-66{padding-top:66rpx!important}.u-m-r-66,.up-m-r-66{margin-right:66rpx!important}.u-p-r-66,.up-p-r-66{padding-right:66rpx!important}.u-margin-right-66,.up-margin-right-66{margin-right:66rpx!important}.u-padding-right-66,.up-padding-right-66{padding-right:66rpx!important}.u-m-b-66,.up-m-b-66{margin-bottom:66rpx!important}.u-p-b-66,.up-p-b-66{padding-bottom:66rpx!important}.u-margin-bottom-66,.up-margin-bottom-66{margin-bottom:66rpx!important}.u-padding-bottom-66,.up-padding-bottom-66{padding-bottom:66rpx!important}.u-margin-68,.u-m-68,.up-margin-68,.up-m-68{margin:68rpx!important}.u-padding-68,.u-p-68,.up-padding-68,.up-p-68{padding:68rpx!important}.u-m-l-68,.up-m-l-68{margin-left:68rpx!important}.u-p-l-68,.up-p-l-68{padding-left:68rpx!important}.u-margin-left-68,.up-margin-left-68{margin-left:68rpx!important}.u-padding-left-68,.up-padding-left-68{padding-left:68rpx!important}.u-m-t-68,.up-m-t-68{margin-top:68rpx!important}.u-p-t-68,.up-p-t-68{padding-top:68rpx!important}.u-margin-top-68,.up-margin-top-68{margin-top:68rpx!important}.u-padding-top-68,.up-padding-top-68{padding-top:68rpx!important}.u-m-r-68,.up-m-r-68{margin-right:68rpx!important}.u-p-r-68,.up-p-r-68{padding-right:68rpx!important}.u-margin-right-68,.up-margin-right-68{margin-right:68rpx!important}.u-padding-right-68,.up-padding-right-68{padding-right:68rpx!important}.u-m-b-68,.up-m-b-68{margin-bottom:68rpx!important}.u-p-b-68,.up-p-b-68{padding-bottom:68rpx!important}.u-margin-bottom-68,.up-margin-bottom-68{margin-bottom:68rpx!important}.u-padding-bottom-68,.up-padding-bottom-68{padding-bottom:68rpx!important}.u-margin-70,.u-m-70,.up-margin-70,.up-m-70{margin:70rpx!important}.u-padding-70,.u-p-70,.up-padding-70,.up-p-70{padding:70rpx!important}.u-m-l-70,.up-m-l-70{margin-left:70rpx!important}.u-p-l-70,.up-p-l-70{padding-left:70rpx!important}.u-margin-left-70,.up-margin-left-70{margin-left:70rpx!important}.u-padding-left-70,.up-padding-left-70{padding-left:70rpx!important}.u-m-t-70,.up-m-t-70{margin-top:70rpx!important}.u-p-t-70,.up-p-t-70{padding-top:70rpx!important}.u-margin-top-70,.up-margin-top-70{margin-top:70rpx!important}.u-padding-top-70,.up-padding-top-70{padding-top:70rpx!important}.u-m-r-70,.up-m-r-70{margin-right:70rpx!important}.u-p-r-70,.up-p-r-70{padding-right:70rpx!important}.u-margin-right-70,.up-margin-right-70{margin-right:70rpx!important}.u-padding-right-70,.up-padding-right-70{padding-right:70rpx!important}.u-m-b-70,.up-m-b-70{margin-bottom:70rpx!important}.u-p-b-70,.up-p-b-70{padding-bottom:70rpx!important}.u-margin-bottom-70,.up-margin-bottom-70{margin-bottom:70rpx!important}.u-padding-bottom-70,.up-padding-bottom-70{padding-bottom:70rpx!important}.u-margin-72,.u-m-72,.up-margin-72,.up-m-72{margin:72rpx!important}.u-padding-72,.u-p-72,.up-padding-72,.up-p-72{padding:72rpx!important}.u-m-l-72,.up-m-l-72{margin-left:72rpx!important}.u-p-l-72,.up-p-l-72{padding-left:72rpx!important}.u-margin-left-72,.up-margin-left-72{margin-left:72rpx!important}.u-padding-left-72,.up-padding-left-72{padding-left:72rpx!important}.u-m-t-72,.up-m-t-72{margin-top:72rpx!important}.u-p-t-72,.up-p-t-72{padding-top:72rpx!important}.u-margin-top-72,.up-margin-top-72{margin-top:72rpx!important}.u-padding-top-72,.up-padding-top-72{padding-top:72rpx!important}.u-m-r-72,.up-m-r-72{margin-right:72rpx!important}.u-p-r-72,.up-p-r-72{padding-right:72rpx!important}.u-margin-right-72,.up-margin-right-72{margin-right:72rpx!important}.u-padding-right-72,.up-padding-right-72{padding-right:72rpx!important}.u-m-b-72,.up-m-b-72{margin-bottom:72rpx!important}.u-p-b-72,.up-p-b-72{padding-bottom:72rpx!important}.u-margin-bottom-72,.up-margin-bottom-72{margin-bottom:72rpx!important}.u-padding-bottom-72,.up-padding-bottom-72{padding-bottom:72rpx!important}.u-margin-74,.u-m-74,.up-margin-74,.up-m-74{margin:74rpx!important}.u-padding-74,.u-p-74,.up-padding-74,.up-p-74{padding:74rpx!important}.u-m-l-74,.up-m-l-74{margin-left:74rpx!important}.u-p-l-74,.up-p-l-74{padding-left:74rpx!important}.u-margin-left-74,.up-margin-left-74{margin-left:74rpx!important}.u-padding-left-74,.up-padding-left-74{padding-left:74rpx!important}.u-m-t-74,.up-m-t-74{margin-top:74rpx!important}.u-p-t-74,.up-p-t-74{padding-top:74rpx!important}.u-margin-top-74,.up-margin-top-74{margin-top:74rpx!important}.u-padding-top-74,.up-padding-top-74{padding-top:74rpx!important}.u-m-r-74,.up-m-r-74{margin-right:74rpx!important}.u-p-r-74,.up-p-r-74{padding-right:74rpx!important}.u-margin-right-74,.up-margin-right-74{margin-right:74rpx!important}.u-padding-right-74,.up-padding-right-74{padding-right:74rpx!important}.u-m-b-74,.up-m-b-74{margin-bottom:74rpx!important}.u-p-b-74,.up-p-b-74{padding-bottom:74rpx!important}.u-margin-bottom-74,.up-margin-bottom-74{margin-bottom:74rpx!important}.u-padding-bottom-74,.up-padding-bottom-74{padding-bottom:74rpx!important}.u-margin-75,.u-m-75,.up-margin-75,.up-m-75{margin:75rpx!important}.u-padding-75,.u-p-75,.up-padding-75,.up-p-75{padding:75rpx!important}.u-m-l-75,.up-m-l-75{margin-left:75rpx!important}.u-p-l-75,.up-p-l-75{padding-left:75rpx!important}.u-margin-left-75,.up-margin-left-75{margin-left:75rpx!important}.u-padding-left-75,.up-padding-left-75{padding-left:75rpx!important}.u-m-t-75,.up-m-t-75{margin-top:75rpx!important}.u-p-t-75,.up-p-t-75{padding-top:75rpx!important}.u-margin-top-75,.up-margin-top-75{margin-top:75rpx!important}.u-padding-top-75,.up-padding-top-75{padding-top:75rpx!important}.u-m-r-75,.up-m-r-75{margin-right:75rpx!important}.u-p-r-75,.up-p-r-75{padding-right:75rpx!important}.u-margin-right-75,.up-margin-right-75{margin-right:75rpx!important}.u-padding-right-75,.up-padding-right-75{padding-right:75rpx!important}.u-m-b-75,.up-m-b-75{margin-bottom:75rpx!important}.u-p-b-75,.up-p-b-75{padding-bottom:75rpx!important}.u-margin-bottom-75,.up-margin-bottom-75{margin-bottom:75rpx!important}.u-padding-bottom-75,.up-padding-bottom-75{padding-bottom:75rpx!important}.u-margin-76,.u-m-76,.up-margin-76,.up-m-76{margin:76rpx!important}.u-padding-76,.u-p-76,.up-padding-76,.up-p-76{padding:76rpx!important}.u-m-l-76,.up-m-l-76{margin-left:76rpx!important}.u-p-l-76,.up-p-l-76{padding-left:76rpx!important}.u-margin-left-76,.up-margin-left-76{margin-left:76rpx!important}.u-padding-left-76,.up-padding-left-76{padding-left:76rpx!important}.u-m-t-76,.up-m-t-76{margin-top:76rpx!important}.u-p-t-76,.up-p-t-76{padding-top:76rpx!important}.u-margin-top-76,.up-margin-top-76{margin-top:76rpx!important}.u-padding-top-76,.up-padding-top-76{padding-top:76rpx!important}.u-m-r-76,.up-m-r-76{margin-right:76rpx!important}.u-p-r-76,.up-p-r-76{padding-right:76rpx!important}.u-margin-right-76,.up-margin-right-76{margin-right:76rpx!important}.u-padding-right-76,.up-padding-right-76{padding-right:76rpx!important}.u-m-b-76,.up-m-b-76{margin-bottom:76rpx!important}.u-p-b-76,.up-p-b-76{padding-bottom:76rpx!important}.u-margin-bottom-76,.up-margin-bottom-76{margin-bottom:76rpx!important}.u-padding-bottom-76,.up-padding-bottom-76{padding-bottom:76rpx!important}.u-margin-78,.u-m-78,.up-margin-78,.up-m-78{margin:78rpx!important}.u-padding-78,.u-p-78,.up-padding-78,.up-p-78{padding:78rpx!important}.u-m-l-78,.up-m-l-78{margin-left:78rpx!important}.u-p-l-78,.up-p-l-78{padding-left:78rpx!important}.u-margin-left-78,.up-margin-left-78{margin-left:78rpx!important}.u-padding-left-78,.up-padding-left-78{padding-left:78rpx!important}.u-m-t-78,.up-m-t-78{margin-top:78rpx!important}.u-p-t-78,.up-p-t-78{padding-top:78rpx!important}.u-margin-top-78,.up-margin-top-78{margin-top:78rpx!important}.u-padding-top-78,.up-padding-top-78{padding-top:78rpx!important}.u-m-r-78,.up-m-r-78{margin-right:78rpx!important}.u-p-r-78,.up-p-r-78{padding-right:78rpx!important}.u-margin-right-78,.up-margin-right-78{margin-right:78rpx!important}.u-padding-right-78,.up-padding-right-78{padding-right:78rpx!important}.u-m-b-78,.up-m-b-78{margin-bottom:78rpx!important}.u-p-b-78,.up-p-b-78{padding-bottom:78rpx!important}.u-margin-bottom-78,.up-margin-bottom-78{margin-bottom:78rpx!important}.u-padding-bottom-78,.up-padding-bottom-78{padding-bottom:78rpx!important}.u-margin-80,.u-m-80,.up-margin-80,.up-m-80{margin:80rpx!important}.u-padding-80,.u-p-80,.up-padding-80,.up-p-80{padding:80rpx!important}.u-m-l-80,.up-m-l-80{margin-left:80rpx!important}.u-p-l-80,.up-p-l-80{padding-left:80rpx!important}.u-margin-left-80,.up-margin-left-80{margin-left:80rpx!important}.u-padding-left-80,.up-padding-left-80{padding-left:80rpx!important}.u-m-t-80,.up-m-t-80{margin-top:80rpx!important}.u-p-t-80,.up-p-t-80{padding-top:80rpx!important}.u-margin-top-80,.up-margin-top-80{margin-top:80rpx!important}.u-padding-top-80,.up-padding-top-80{padding-top:80rpx!important}.u-m-r-80,.up-m-r-80{margin-right:80rpx!important}.u-p-r-80,.up-p-r-80{padding-right:80rpx!important}.u-margin-right-80,.up-margin-right-80{margin-right:80rpx!important}.u-padding-right-80,.up-padding-right-80{padding-right:80rpx!important}.u-m-b-80,.up-m-b-80{margin-bottom:80rpx!important}.u-p-b-80,.up-p-b-80{padding-bottom:80rpx!important}.u-margin-bottom-80,.up-margin-bottom-80{margin-bottom:80rpx!important}.u-padding-bottom-80,.up-padding-bottom-80{padding-bottom:80rpx!important}.u-primary-light{color:#ecf5ff}.u-warning-light{color:#fdf6ec}.u-success-light{color:#f5fff0}.u-error-light{color:#fef0f0}.u-info-light{color:#f4f4f5}.u-primary-light-bg{background-color:#ecf5ff}.u-warning-light-bg{background-color:#fdf6ec}.u-success-light-bg{background-color:#f5fff0}.u-error-light-bg{background-color:#fef0f0}.u-info-light-bg{background-color:#f4f4f5}.u-primary-dark{color:#398ade}.u-warning-dark{color:#f1a532}.u-success-dark{color:#53c21d}.u-error-dark{color:#e45656}.u-info-dark{color:#767a82}.u-primary-dark-bg{background-color:#398ade}.u-warning-dark-bg{background-color:#f1a532}.u-success-dark-bg{background-color:#53c21d}.u-error-dark-bg{background-color:#e45656}.u-info-dark-bg{background-color:#767a82}.u-primary-disabled{color:#9acafc}.u-warning-disabled{color:#f9d39b}.u-success-disabled{color:#a9e08f}.u-error-disabled{color:#f7b2b2}.u-info-disabled{color:#c4c6c9}.u-primary{color:#3c9cff}.u-warning{color:#f9ae3d}.u-success{color:#5ac725}.u-error{color:#f56c6c}.u-info{color:#909399}.u-primary-bg{background-color:#3c9cff}.u-warning-bg{background-color:#f9ae3d}.u-success-bg{background-color:#5ac725}.u-error-bg{background-color:#f56c6c}.u-info-bg{background-color:#909399}.u-main-color{color:#303133}.u-content-color{color:#606266}.u-tips-color{color:#909193}.u-light-color{color:#c0c4cc}.up-primary-light{color:#ecf5ff}.up-warning-light{color:#fdf6ec}.up-success-light{color:#f5fff0}.up-error-light{color:#fef0f0}.up-info-light{color:#f4f4f5}.up-primary-light-bg{background-color:#ecf5ff}.up-warning-light-bg{background-color:#fdf6ec}.up-success-light-bg{background-color:#f5fff0}.up-error-light-bg{background-color:#fef0f0}.up-info-light-bg{background-color:#f4f4f5}.up-primary-dark{color:#398ade}.up-warning-dark{color:#f1a532}.up-success-dark{color:#53c21d}.up-error-dark{color:#e45656}.up-info-dark{color:#767a82}.up-primary-dark-bg{background-color:#398ade}.up-warning-dark-bg{background-color:#f1a532}.up-success-dark-bg{background-color:#53c21d}.up-error-dark-bg{background-color:#e45656}.up-info-dark-bg{background-color:#767a82}.up-primary-disabled{color:#9acafc}.up-warning-disabled{color:#f9d39b}.up-success-disabled{color:#a9e08f}.up-error-disabled{color:#f7b2b2}.up-info-disabled{color:#c4c6c9}.up-primary{color:#3c9cff}.up-warning{color:#f9ae3d}.up-success{color:#5ac725}.up-error{color:#f56c6c}.up-info{color:#909399}.up-primary-bg{background-color:#3c9cff}.up-warning-bg{background-color:#f9ae3d}.up-success-bg{background-color:#5ac725}.up-error-bg{background-color:#f56c6c}.up-info-bg{background-color:#909399}.up-main-color{color:#303133}.up-content-color{color:#606266}.up-tips-color{color:#909193}.up-light-color{color:#c0c4cc}.u-safe-area-inset-top,.up-safe-area-inset-top{padding-top:0;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.u-safe-area-inset-right,.up-safe-area-inset-right{padding-right:0;padding-right:constant(safe-area-inset-right);padding-right:env(safe-area-inset-right)}.u-safe-area-inset-bottom,.up-safe-area-inset-bottom{padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.u-safe-area-inset-left,.up-safe-area-inset-left{padding-left:0;padding-left:constant(safe-area-inset-left);padding-left:env(safe-area-inset-left)}::-webkit-scrollbar{display:none;width:0!important;height:0!important;-webkit-appearance:none;background:transparent}wx-swiper .wx-swiper-dot{width:10rpx!important;height:10rpx!important}.min_price,.max_price{width:220rpx;height:70rpx;padding:0!important}.min_price_input,.max_price_input{width:100%;height:100%;display:flex;font-size:24rpx;justify-content:center;background:#f5f5f5;text-align:center!important}.card_form{background-color:#fff;padding:0 30rpx;margin-bottom:30rpx} page::after{position:fixed;content:'';left:-1000px;top:-1000px;-webkit-animation:shadow-preload .1s;-webkit-animation-delay:3s;animation:shadow-preload .1s;animation-delay:3s}@-webkit-keyframes shadow-preload{0%{background-image:url(https://cdn1.dcloud.net.cn/img/shadow-grey.png)}100%{background-image:url(https://cdn1.dcloud.net.cn/img/shadow-grey.png)}}@keyframes shadow-preload{0%{background-image:url(https://cdn1.dcloud.net.cn/img/shadow-grey.png)}100%{background-image:url(https://cdn1.dcloud.net.cn/img/shadow-grey.png)}}page{--status-bar-height:25px;--top-window-height:0px;--window-top:0px;--window-bottom:0px;--window-left:0px;--window-right:0px;--window-magin:0px}[data-c-h="true"]{display: none !important;} \ No newline at end of file diff --git a/dist/build/mp-weixin/assets/empty_icon.c11822f3.svg b/dist/build/mp-weixin/assets/empty_icon.c11822f3.svg deleted file mode 100644 index cbb1cf6..0000000 --- a/dist/build/mp-weixin/assets/empty_icon.c11822f3.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/dist/build/mp-weixin/common/assets.js b/dist/build/mp-weixin/common/assets.js index 8cacfb7..0230895 100644 --- a/dist/build/mp-weixin/common/assets.js +++ b/dist/build/mp-weixin/common/assets.js @@ -1 +1 @@ -"use strict";exports._imports_0="/assets/empty_icon.c11822f3.svg",exports._imports_0$1="/assets/IdCard1.49557d44.png",exports._imports_1="/assets/IdCard2.c526cb3a.png"; +"use strict";exports._imports_0="/assets/IdCard1.49557d44.png",exports._imports_1="/assets/IdCard2.c526cb3a.png"; diff --git a/dist/build/mp-weixin/common/components/cc-root-view/NetworkError.js b/dist/build/mp-weixin/common/components/cc-root-view/NetworkError.js index d006ef3..50635a6 100644 --- a/dist/build/mp-weixin/common/components/cc-root-view/NetworkError.js +++ b/dist/build/mp-weixin/common/components/cc-root-view/NetworkError.js @@ -1 +1 @@ -"use strict";const e=require("../../vendor.js"),r=require("../../store/useWeAppAuthStore.js");if(require("../../../gen/Apis.js"),require("../../libraries/request.js"),require("../../store/useWatermarkStore.js"),require("../../store/useWorkStore.js"),require("../../libraries/apiLoading.js"),!Array){e.resolveComponent("up-button")()}Math;const o=e.defineComponent({__name:"NetworkError",setup(o){r.useWeAppAuthStore();const t=e.ref();function n(){const r=getCurrentPages(),o=r[r.length-1];console.log("currentPage",o);const t=o.$page.fullPath;if(o.$page.options){const r=o.$page.options,n=`${t}?${Object.keys(r).map((e=>`${e}=${encodeURIComponent(r[e])}`)).join("&")}`;e.index.reLaunch({url:n}),console.log(n)}else e.index.reLaunch({url:t})}return e.onLoad((e=>{t.value=e})),(r,o)=>({a:e.o(n),b:e.p({type:"warning",text:"点击重试"})})}}),t=e._export_sfc(o,[["__scopeId","data-v-2cb842d7"]]);wx.createComponent(t); +"use strict";const e=require("../../vendor.js"),r=require("../../store/useWeAppAuthStore.js");if(require("../../../gen/Apis.js"),require("../../libraries/request.js"),require("../../store/useWatermarkStore.js"),require("../../store/useWorkStore.js"),require("../../libraries/apiLoading.js"),!Array){e.resolveComponent("up-button")()}Math;const o=e.defineComponent({__name:"NetworkError",setup(o){r.useWeAppAuthStore();const t=e.ref();function n(){const r=getCurrentPages(),o=r[r.length-1];console.log("currentPage",o);const t=o.$page.fullPath;if(o.$page.options){const r=o.$page.options,n=`${t}?${Object.keys(r).map(e=>`${e}=${encodeURIComponent(r[e])}`).join("&")}`;e.index.reLaunch({url:n}),console.log(n)}else e.index.reLaunch({url:t})}return e.onLoad(e=>{t.value=e}),(r,o)=>({a:e.o(n),b:e.p({type:"warning",text:"点击重试"})})}}),t=e._export_sfc(o,[["__scopeId","data-v-2cb842d7"]]);wx.createComponent(t); diff --git a/dist/build/mp-weixin/common/components/cc-root-view/cc-root-view.js b/dist/build/mp-weixin/common/components/cc-root-view/cc-root-view.js index ba0d5c4..7d5c3d7 100644 --- a/dist/build/mp-weixin/common/components/cc-root-view/cc-root-view.js +++ b/dist/build/mp-weixin/common/components/cc-root-view/cc-root-view.js @@ -1 +1 @@ -"use strict";const e=require("../../vendor.js");require("../../libraries/request.js"),require("../../store/useWatermarkStore.js");const r=require("../../store/useWeAppAuthStore.js");require("../../store/useWorkStore.js"),require("../../libraries/userUserLogin.js"),require("../../../gen/Apis.js"),require("../../libraries/apiLoading.js"),Math||(o+n)();const o=()=>"./Loading.js",n=()=>"./NetworkError.js",s=e.defineComponent({__name:"cc-root-view",setup(o){const n=r.useWeAppAuthStore();return e.onLoad((async()=>{var r;console.log("cc-root-view onLoad 1",null==n?void 0:n.loading,null==n?void 0:n.hasError),await(null==(r=e.getCurrentInstance())?void 0:r.appContext.config.globalProperties.$onLaunched),console.log("cc-root-view onLoad 2")})),e.onShow((async()=>{var r;await(null==(r=e.getCurrentInstance())?void 0:r.appContext.config.globalProperties.$onLaunched)})),(r,o)=>e.e({a:e.unref(n).loading},(e.unref(n).loading||e.unref(n).hasError,{}),{b:e.unref(n).hasError})}});wx.createComponent(s); +"use strict";const e=require("../../vendor.js");require("../../libraries/request.js"),require("../../store/useWatermarkStore.js");const r=require("../../store/useWeAppAuthStore.js");require("../../store/useWorkStore.js"),require("../../libraries/userUserLogin.js"),require("../../../gen/Apis.js"),require("../../libraries/apiLoading.js"),Math||(o+n)();const o=()=>"./Loading.js",n=()=>"./NetworkError.js",s=e.defineComponent({__name:"cc-root-view",setup(o){const n=r.useWeAppAuthStore();return e.onLoad(async()=>{var r;console.log("cc-root-view onLoad 1",null==n?void 0:n.loading,null==n?void 0:n.hasError),await(null==(r=e.getCurrentInstance())?void 0:r.appContext.config.globalProperties.$onLaunched),console.log("cc-root-view onLoad 2")}),e.onShow(async()=>{var r;await(null==(r=e.getCurrentInstance())?void 0:r.appContext.config.globalProperties.$onLaunched)}),(r,o)=>e.e({a:e.unref(n).loading},(e.unref(n).loading||e.unref(n).hasError,{}),{b:e.unref(n).hasError})}});wx.createComponent(s); diff --git a/dist/build/mp-weixin/common/components/cc-scroll-loading/cc-scroll-loading.js b/dist/build/mp-weixin/common/components/cc-scroll-loading/cc-scroll-loading.js index 5de2ce2..b68f16c 100644 --- a/dist/build/mp-weixin/common/components/cc-scroll-loading/cc-scroll-loading.js +++ b/dist/build/mp-weixin/common/components/cc-scroll-loading/cc-scroll-loading.js @@ -1 +1 @@ -"use strict";const e=require("../../vendor.js");if(!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("u-loading-icon"))()}Math||((()=>"../../../components/hs-empty/hs-empty.js")+(()=>"../../../node-modules/uview-plus/components/u-loading-icon/u-loading-icon.js"))();const o=e.defineComponent({__name:"cc-scroll-loading",props:{meta:{type:Object,default:{}},showLoad:{type:Boolean,default:!0}},emits:["load"],setup(o,{emit:t}){const a=o,l=e.ref(""),n=e.ref(!1),u=e.ref({page:1,perPage:20});e.watch((()=>null==a?void 0:a.meta),(()=>{const{current_page:e,last_page:o}=a.meta,t=e{const{current_page:e,last_page:o}=a.meta,s=e{n.value=!1,l.value=""}),1e3))})),(o,t)=>{var u,s;return e.e({a:!(null==(u=a.meta)?void 0:u.total)},(null==(s=a.meta)?void 0:s.total)?e.e({b:e.p({text:l.value,mode:"circle",size:"30rpx",show:n.value}),c:!n.value},n.value?{}:{d:e.t(l.value)}):{})}}}),t=e._export_sfc(o,[["__scopeId","data-v-a051001e"]]);wx.createComponent(t); +"use strict";const e=require("../../vendor.js");if(!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("u-loading-icon"))()}Math||((()=>"../../../components/hs-empty/hs-empty.js")+(()=>"../../../node-modules/uview-plus/components/u-loading-icon/u-loading-icon.js"))();const o=e.defineComponent({__name:"cc-scroll-loading",props:{meta:{type:Object,default:{}},showLoad:{type:Boolean,default:!0}},emits:["load"],setup(o,{emit:t}){const a=o,l=e.ref(""),n=e.ref(!1),u=e.ref({page:1,perPage:20});e.watch(()=>null==a?void 0:a.meta,()=>{const{current_page:e,last_page:o}=a.meta,t=e{const{current_page:e,last_page:o}=a.meta,s=e{n.value=!1,l.value=""},1e3))}),(o,t)=>{var u,s;return e.e({a:!(null==(u=a.meta)?void 0:u.total)},(null==(s=a.meta)?void 0:s.total)?e.e({b:e.p({text:l.value,mode:"circle",size:"30rpx",show:n.value}),c:!n.value},n.value?{}:{d:e.t(l.value)}):{})}}}),t=e._export_sfc(o,[["__scopeId","data-v-a051001e"]]);wx.createComponent(t); diff --git a/dist/build/mp-weixin/common/libraries/day.js b/dist/build/mp-weixin/common/libraries/day.js index 8e9185e..649915b 100644 --- a/dist/build/mp-weixin/common/libraries/day.js +++ b/dist/build/mp-weixin/common/libraries/day.js @@ -1 +1 @@ -"use strict";const t=require("../vendor.js");t.dayjs.locale("zh-cn"),t.dayjs.extend(t.relativeTime),exports.ShowLastTime=function(e){return e?t.dayjs(e).fromNow():"-"},exports.generateTimeSlots=function(e=null){const r=e?t.dayjs(e):t.dayjs(),o=(e?t.dayjs(e):t.dayjs()).valueOf(),s=[];let n=8;for(;n<18;){const t=Math.min(n+2,18),e=r.hour(n).minute(0).second(0),a=r.hour(t).minute(0).second(0),u=e.format("HH:mm"),f=a.format("HH:mm"),i=o>=e.valueOf()&&oo&&s.push({label:i?"两个小时内":`${u}-${f}`,str:u,end:f,isCurrent:i,date:r.format("YYYY-MM-DD"),startTimestamp:e.valueOf(),endTimestamp:a.valueOf()}),n=t}return console.log("slots",s),s},exports.getCurrentHour=function(){const t=new Date,e=t.getHours(),r=t.getMinutes();return console.log(e,r,"dayjs().hour()"),{currentHour:e,currentMinute:r}},exports.getDay=function(e){if(e){const r=t.dayjs().subtract(e,"day");return console.log(r.format("YYYY-MM-DD")),r.format("YYYY-MM-DD")}return t.dayjs().format("YYYY-MM-DD")},exports.getDayTime=function(e){if(e){let r=null==e?void 0:e.replace(/-/g,"/");return t.dayjs(r).format("YYYY-MM-DD HH:mm")}return t.dayjs().format("YYYY-MM-DD HH:mm")},exports.getTheFutureDay=function(e=1){return t.dayjs().add(e,"day").format("YYYY-MM-DD")},exports.getTime=function(){return t.dayjs().format("YYYY-MM-DD HH:mm:ss")},exports.getTimeStatus=function(e){const r=t.dayjs(),o=t.dayjs(e);if(o.isBefore(r)){const t=r.diff(o,"hour"),e=r.diff(o,"minute")%60;let s="已过期望处理时间:";return t>0&&(s+=`${t}个小时`),e>0&&(s+=`${e}分钟`),{label:s,status:"4",color:"#EA0000"}}{const t=o.diff(r,"hour"),e=o.diff(r,"minute")%60;let s,n;t>=24?(s="1",n="#24BC21"):t>=2?(s="2",n="#0082FA"):(s="3",n="#F97316");const a=Math.floor(t/24),u=t%24;let f="上门时间还剩:";return a>0&&(f+=`${a}天`),u>0&&(f+=`${u}个小时`),e>0&&(f+=`${e}分钟`),{label:f,status:s,color:n}}},exports.isDatePassed=function(e){return console.log(t.dayjs().isAfter(t.dayjs(e)),"dayjs().isAfter(dayjs(fixedDate))"),t.dayjs().isAfter(t.dayjs(e),"day")},exports.showCurrentTime=function(){return t.dayjs().format("HH:mm")},exports.showDay=function(e){return e?t.dayjs(e).format("YYYY-MM-DD"):"-"},exports.showWeekDay=function(){return{0:"星期日",1:"星期一",2:"星期二",3:"星期三",4:"星期四",5:"星期五",6:"星期六"}[t.dayjs().day()]},exports.specificTime=function(e){let r=null==e?void 0:e.replace(/-/g,"/");const o=t.dayjs(),s=t.dayjs(r);let n=Math.abs(s.diff(o,"hour",!0))<=2||s.isBefore(o);return console.log(n,"hoursDiff"),n}; +"use strict";const t=require("../vendor.js");t.dayjs.locale("zh-cn"),t.dayjs.extend(t.relativeTime);exports.ShowLastTime=function(e){return e?t.dayjs(e).fromNow():"-"},exports.getDay=function(e){if(e){const s=t.dayjs().subtract(e,"day");return console.log(s.format("YYYY-MM-DD")),s.format("YYYY-MM-DD")}return t.dayjs().format("YYYY-MM-DD")},exports.getDayTime=function(e){if(e){let s=null==e?void 0:e.replace(/-/g,"/");return t.dayjs(s).format("YYYY-MM-DD HH:mm")}return t.dayjs().format("YYYY-MM-DD HH:mm")},exports.getShowDay=e=>{const s=t.dayjs(e).startOf("day"),r=t.dayjs().startOf("day"),a=r.subtract(1,"day"),o=r.add(1,"day"),n={0:"星期日",1:"星期一",2:"星期二",3:"星期三",4:"星期四",5:"星期五",6:"星期六"}[s.day()];return s.isSame(r,"day")?`今天 ${n}`:s.isSame(a,"day")?`昨天 ${n}`:s.isSame(o,"day")?`明天 ${n}`:`${e} ${n}`},exports.getTime=function(){return t.dayjs().format("YYYY-MM-DD HH:mm:ss")},exports.getTimeStatus=function(e){const s=t.dayjs(),r=t.dayjs(e);if(r.isBefore(s)){const t=s.diff(r,"hour"),e=s.diff(r,"minute")%60;let a="已过期望处理时间:";return t>0&&(a+=`${t}个小时`),e>0&&(a+=`${e}分钟`),{label:a,status:"4",color:"#EA0000"}}{const t=r.diff(s,"hour"),e=r.diff(s,"minute")%60;let a,o;t>=24?(a="1",o="#24BC21"):t>=2?(a="2",o="#0082FA"):(a="3",o="#F97316");const n=Math.floor(t/24),i=t%24;let d="上门时间还剩:";return n>0&&(d+=`${n}天`),i>0&&(d+=`${i}个小时`),e>0&&(d+=`${e}分钟`),{label:d,status:a,color:o}}},exports.isDatePassed=function(e){return console.log(t.dayjs().isAfter(t.dayjs(e)),"dayjs().isAfter(dayjs(fixedDate))"),t.dayjs().isAfter(t.dayjs(e),"day")},exports.isOverHalfHourPast=function(e){let s=null==e?void 0:e.replace(/-/g,"/");const r=t.dayjs(),a=t.dayjs(s);return r.diff(a,"minute")>30},exports.isWithinTimeRange=function(e,s=30){let r=null==e?void 0:e.replace(/-/g,"/");console.log(e,r,"targetTime");const a=t.dayjs(),o=t.dayjs(r),n=o.startOf("day"),i=o.endOf("day");return a.isAfter(n)&&a.isBefore(i)},exports.showCurrentTime=function(){return t.dayjs().format("HH:mm")},exports.showDay=function(e){return e?t.dayjs(e).format("YYYY-MM-DD"):"-"},exports.showTime=function(e){let s=null==e?void 0:e.replace(/-/g,"/");return s?t.dayjs(s).format("HH:mm"):""},exports.showWeekDay=function(){return{0:"星期日",1:"星期一",2:"星期二",3:"星期三",4:"星期四",5:"星期五",6:"星期六"}[t.dayjs().day()]},exports.specificTime=function(e){let s=null==e?void 0:e.replace(/-/g,"/");const r=t.dayjs(),a=t.dayjs(s);let o=Math.abs(a.diff(r,"hour",!0))<=2||a.isBefore(r);return console.log(o,"hoursDiff"),o}; diff --git a/dist/build/mp-weixin/common/libraries/map.js b/dist/build/mp-weixin/common/libraries/map.js index 928da6f..0c25fda 100644 --- a/dist/build/mp-weixin/common/libraries/map.js +++ b/dist/build/mp-weixin/common/libraries/map.js @@ -1 +1 @@ -"use strict";const e=require("../vendor.js");exports.getMapAddress=function(){return new Promise(((o,s)=>{e.index.getLocation({type:"wgs84",altitude:!0,isHighAccuracy:!0,success(s){console.log(s,"经纬度");const t=`https://api.tianditu.gov.cn/geocoder?postStr={'lon':${s.longitude},'lat':${s.latitude},'ver':2}&type=geocode&tk=4ce26ecef55ae1ec47910a72a098efc0`;e.index.request({url:t,method:"GET",success(e){var s,t;o({address:(null==(t=null==(s=null==e?void 0:e.data)?void 0:s.result)?void 0:t.formatted_address)||""}),console.log(e,"address")},fail(s){o({address:"拒绝定位"}),console.error("获取地址失败:",s),e.index.showModal({title:"提示",content:"请先允许定位!",success:function(o){o.confirm?(e.index.openSetting(),console.log("用户点击确定")):o.cancel&&console.log("用户点击取消")}})}})},fail(e){console.log("拒绝定位",e)}})}))}; +"use strict";const e=require("../vendor.js");exports.getMapLbs=function(){return new Promise((o,c)=>{e.index.getLocation({type:"gcj02",altitude:!0,isHighAccuracy:!0,success(c){console.log(c,"经纬度");const s=`https://restapi.amap.com/v3/geocode/regeo?location=${c.longitude},${c.latitude}&key=be262c006216c542747fce766130cee3`;e.index.request({url:s,method:"GET",success(e){var c;console.log(e,"address"),o(null==(c=null==e?void 0:e.data)?void 0:c.regeocode)},fail(c){o({address:"拒绝定位"}),console.error("获取地址失败:",c),e.index.showModal({title:"提示",content:"请先允许定位!",success:function(o){o.confirm?(e.index.openSetting(),console.log("用户点击确定")):o.cancel&&console.log("用户点击取消")}})}})},fail(e){console.log("拒绝定位",e)}})})}; diff --git a/dist/build/mp-weixin/common/libraries/mapDistance.js b/dist/build/mp-weixin/common/libraries/mapDistance.js new file mode 100644 index 0000000..dc15d95 --- /dev/null +++ b/dist/build/mp-weixin/common/libraries/mapDistance.js @@ -0,0 +1 @@ +"use strict";exports.CalculateDistance=function(t,a){if(!t||!a)return console.error("坐标点不能为空"),0;console.log("point1",t),console.log("point2",a);const n=Number(t.latitude),o=Number(t.longitude),e=Number(a.latitude),r=Number(a.longitude);if(isNaN(n)||isNaN(o)||isNaN(e)||isNaN(r)||n<-90||n>90||e<-90||e>90||o<-180||o>180||r<-180||r>180)return console.error("无效的坐标值",{lat1:n,lng1:o,lat2:e,lng2:r}),0;if(n===e&&o===r)return 0;const s=t=>t*(Math.PI/180),i=s(n),l=s(e),u=s(e-n),c=s(r-o),N=Math.sin(u/2),h=Math.sin(c/2),M=N*N+Math.cos(i)*Math.cos(l)*h*h,g=Math.min(Math.max(M,0),1),d=6371008.7714*(2*Math.atan2(Math.sqrt(g),Math.sqrt(1-g)));let m=Math.round(100*d)/100;return console.log("distancew误差",m),m}; diff --git a/dist/build/mp-weixin/common/libraries/naviHelper.js b/dist/build/mp-weixin/common/libraries/naviHelper.js index d5596b5..1ba8c04 100644 --- a/dist/build/mp-weixin/common/libraries/naviHelper.js +++ b/dist/build/mp-weixin/common/libraries/naviHelper.js @@ -1 +1 @@ -"use strict";const e=require("../vendor.js");exports.goto=function(o){e.index.navigateTo({url:o,fail:()=>e.index.switchTab({url:o})})},exports.showToast=function(o,t){e.index.showToast({title:o||"提交成功!",duration:1e3,icon:"none",success(){setTimeout((()=>null==t?void 0:t(!0)),1e3)}})},exports.showToastBack=function(o,t=1,i=!0,n){e.index.showToast({title:o||"提交成功!",duration:1e3,icon:"none",success(){i?setTimeout((()=>{e.index.navigateBack({delta:t})}),1e3):setTimeout((()=>null==n?void 0:n()),1e3)}})}; +"use strict";const e=require("../vendor.js");exports.goto=function(o){e.index.navigateTo({url:o,fail:()=>e.index.switchTab({url:o})})},exports.showToast=function(o,t){e.index.showToast({title:o||"提交成功!",duration:1e3,icon:"none",success(){setTimeout(()=>null==t?void 0:t(!0),1e3)}})},exports.showToastBack=function(o,t=1,i=!0,n){e.index.showToast({title:o||"提交成功!",duration:1e3,icon:"none",success(){i?setTimeout(()=>{e.index.navigateBack({delta:t})},1e3):setTimeout(()=>null==n?void 0:n(),1e3)}})}; diff --git a/dist/build/mp-weixin/common/libraries/request.js b/dist/build/mp-weixin/common/libraries/request.js index bfbc15a..f35da5a 100644 --- a/dist/build/mp-weixin/common/libraries/request.js +++ b/dist/build/mp-weixin/common/libraries/request.js @@ -1 +1 @@ -"use strict";const e=require("../vendor.js"),r=require("../store/useWeAppAuthStore.js"),t=new e.Request;t.setConfig((e=>(e.baseURL="https://weapp-api.linyikj.com.cn/api/",e.header={...e.header},e))),t.interceptors.request.use((r=>(r.header={...r.header,Authorization:"Bearer "+e.index.getStorageSync("NCHL_PROD_ACCESS_TOKEN_CUSTOMER")},r)),(e=>Promise.reject(e))),t.interceptors.response.use((t=>{const o=t.data;if(e.index.hideLoading(),!0!==o.success){if(10001===o.errorCode){r.useWeAppAuthStore().loading=!1,e.index.showToast({title:o.errorMessage,icon:"none"})}else e.index.showToast({title:o.errorMessage,icon:"none"});return Promise.reject(t.data)}return t.data}),(e=>{console.log("error",e);return r.useWeAppAuthStore().loading=!1,Promise.reject(e)})),exports.request=function(e,r){return t.post(e,r.data)}; +"use strict";const e=require("../vendor.js"),r=require("../store/useWeAppAuthStore.js"),t=new e.Request;t.setConfig(e=>(e.baseURL="https://weapp-api.linyikj.com.cn/api/",e.header={...e.header},e)),t.interceptors.request.use(r=>(r.header={...r.header,Authorization:"Bearer "+e.index.getStorageSync("NCHL_PROD_ACCESS_TOKEN_CUSTOMER")},r),e=>Promise.reject(e)),t.interceptors.response.use(t=>{const o=t.data;if(e.index.hideLoading(),!0!==o.success){if(10001===o.errorCode){r.useWeAppAuthStore().loading=!1,e.index.showToast({title:o.errorMessage,icon:"none"})}else e.index.showToast({title:o.errorMessage,icon:"none"});return Promise.reject(t.data)}return t.data},e=>{console.log("error",e);return r.useWeAppAuthStore().loading=!1,Promise.reject(e)}),exports.request=function(e,r){return t.post(e,r.data)}; diff --git a/dist/build/mp-weixin/common/libraries/sendWxWork.js b/dist/build/mp-weixin/common/libraries/sendWxWork.js index 9183556..be7a354 100644 --- a/dist/build/mp-weixin/common/libraries/sendWxWork.js +++ b/dist/build/mp-weixin/common/libraries/sendWxWork.js @@ -1 +1 @@ -"use strict";const e=require("../vendor.js"),o=require("./naviHelper.js"),t=require("./apiLoading.js"),n=require("../../gen/Apis.js");exports.navigateToMiniProgram=function(o){e.index.showLoading({title:"加载中",mask:!0}),e.index.navigateToMiniProgram({appId:"wx31500e871924b903",path:(null==o?void 0:o.path)||"",extraData:(null==o?void 0:o.extraData)||{},envVersion:(null==o?void 0:o.envVersion)||"release",success(){e.index.hideLoading()},fail(){e.index.hideLoading()}})},exports.sendChatMessage=function(t){if(!(null==t?void 0:t.page))return o.showToast("请设置跳转页面路径!");e.index.showLoading({title:"加载中...",mask:!0}),e.index.qy.sendChatMessage({msgtype:(null==t?void 0:t.msgtype)||"miniprogram",enterChat:(null==t?void 0:t.enterChat)||!1,miniprogram:{appid:"wx31500e871924b903",title:(null==t?void 0:t.title)||"邀请你绑定房屋",imgUrl:(null==t?void 0:t.imgUrl)||"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K58GCT5DGWKBSYH0G7118XT4.jpg",page:null==t?void 0:t.page},success:function(){e.index.hideLoading(),o.showToast("发送成功!")},fail:function(t){console.log("sendChatMessage fail",t),e.index.hideLoading(),"qy__sendChatMessage:fail cancel"!==(null==t?void 0:t.errMsg)&&o.showToast((null==t?void 0:t.errMsg)||"当前操作,只能在企业微信上聊天工具栏操作")}})},exports.shareToExternalChatTask=function(s,a){e.index.qy.shareToExternalChat({text:{content:(null==s?void 0:s.content)||""},attachments:(null==s?void 0:s.attachments)||[],success:function(e){t.getApiLoading(n.Apis.Customer.CustomerMomentTasks.Store,a).then((e=>{o.showToast("发送成功!"),console.log(e)})),console.log("success",e)},fail(){console.log("fail")},complete(){console.log("complete")}})},exports.shareToExternalContact=function(t){if(!(null==t?void 0:t.page))return o.showToast("请设置跳转页面路径!");e.index.showLoading({title:"加载中...",mask:!0}),e.index.qy.shareToExternalContact({externalUserIds:(null==t?void 0:t.externalUserIds)||[],text:{content:(null==t?void 0:t.title)||"待缴费账单"},attachments:[{msgtype:(null==t?void 0:t.msgtype)||"miniprogram",miniprogram:{appid:"wx31500e871924b903",title:(null==t?void 0:t.title)||"待缴费账单",imgUrl:(null==t?void 0:t.imgUrl)||"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K58GCT5DGWKBSYH0G7118XT4.jpg",page:null==t?void 0:t.page}}],success:function(){e.index.hideLoading(),o.showToast("发送成功!")},fail:function(t){console.log("sendChatMessage fail",t),e.index.hideLoading(),"qy__sendChatMessage:fail cancel"!==(null==t?void 0:t.errMsg)&&o.showToast((null==t?void 0:t.errMsg)||"当前操作,只能在企业微信上聊天工具栏操作")}})},exports.shareToExternalContactTask=function(s,a){e.index.qy.shareToExternalContact({text:{content:(null==s?void 0:s.content)||""},attachments:(null==s?void 0:s.attachments)||[],success:function(e){console.log("shareToExternalContact",e),t.getApiLoading(n.Apis.Customer.CustomerMomentTasks.Store,a).then((e=>{o.showToast("发送成功!"),console.log(e)})),console.log("success",e)},fail(){console.log("fail")},complete(){console.log("complete")}})},exports.shareToExternalMoments=function(s,a){console.log("shareToExternalMoments",s,a),e.wx$1.qy.shareToExternalMoments({text:{content:(null==s?void 0:s.content)||""},attachments:null==s?void 0:s.attachments,success(e){"qy__shareToExternalMoments:ok"==e.errMsg&&t.getApiLoading(n.Apis.Customer.CustomerMomentTasks.Store,a).then((e=>{o.showToast("发送成功!"),console.log(e)})),console.log("分享回调结果success",e)}},(function(e){console.log("分享回调结果",e),"shareToExternalMoments:ok"==e.err_msg&&t.getApiLoading(n.Apis.Customer.CustomerMomentTasks.Store,a).then((e=>{o.showToast("发送成功!"),console.log(e)}))}))}; +"use strict";const e=require("../vendor.js"),o=require("./naviHelper.js"),t=require("./apiLoading.js"),n=require("../../gen/Apis.js");exports.navigateToMiniProgram=function(o){e.index.showLoading({title:"加载中",mask:!0}),e.index.navigateToMiniProgram({appId:"wx31500e871924b903",path:(null==o?void 0:o.path)||"",extraData:(null==o?void 0:o.extraData)||{},envVersion:(null==o?void 0:o.envVersion)||"release",success(){e.index.hideLoading()},fail(){e.index.hideLoading()}})},exports.sendChatMessage=function(t){if(!(null==t?void 0:t.page))return o.showToast("请设置跳转页面路径!");e.index.showLoading({title:"加载中...",mask:!0}),e.index.qy.sendChatMessage({msgtype:(null==t?void 0:t.msgtype)||"miniprogram",enterChat:(null==t?void 0:t.enterChat)||!1,miniprogram:{appid:"wx31500e871924b903",title:(null==t?void 0:t.title)||"邀请你绑定房屋",imgUrl:(null==t?void 0:t.imgUrl)||"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K58GCT5DGWKBSYH0G7118XT4.jpg",page:null==t?void 0:t.page},success:function(){e.index.hideLoading(),o.showToast("发送成功!")},fail:function(t){console.log("sendChatMessage fail",t),e.index.hideLoading(),"qy__sendChatMessage:fail cancel"!==(null==t?void 0:t.errMsg)&&o.showToast((null==t?void 0:t.errMsg)||"当前操作,只能在企业微信上聊天工具栏操作")}})},exports.shareToExternalChatTask=function(s,a){e.index.qy.shareToExternalChat({text:{content:(null==s?void 0:s.content)||""},attachments:(null==s?void 0:s.attachments)||[],success:function(e){t.getApiLoading(n.Apis.Customer.CustomerMomentTasks.Store,a).then(e=>{o.showToast("发送成功!"),console.log(e)}),console.log("success",e)},fail(){console.log("fail")},complete(){console.log("complete")}})},exports.shareToExternalContact=function(t){if(!(null==t?void 0:t.page))return o.showToast("请设置跳转页面路径!");e.index.showLoading({title:"加载中...",mask:!0}),e.index.qy.shareToExternalContact({externalUserIds:(null==t?void 0:t.externalUserIds)||[],text:{content:(null==t?void 0:t.title)||"待缴费账单"},attachments:[{msgtype:(null==t?void 0:t.msgtype)||"miniprogram",miniprogram:{appid:"wx31500e871924b903",title:(null==t?void 0:t.title)||"待缴费账单",imgUrl:(null==t?void 0:t.imgUrl)||"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K58GCT5DGWKBSYH0G7118XT4.jpg",page:null==t?void 0:t.page}}],success:function(){e.index.hideLoading(),o.showToast("发送成功!")},fail:function(t){console.log("sendChatMessage fail",t),e.index.hideLoading(),"qy__sendChatMessage:fail cancel"!==(null==t?void 0:t.errMsg)&&o.showToast((null==t?void 0:t.errMsg)||"当前操作,只能在企业微信上聊天工具栏操作")}})},exports.shareToExternalContactTask=function(s,a){e.index.qy.shareToExternalContact({text:{content:(null==s?void 0:s.content)||""},attachments:(null==s?void 0:s.attachments)||[],success:function(e){console.log("shareToExternalContact",e),t.getApiLoading(n.Apis.Customer.CustomerMomentTasks.Store,a).then(e=>{o.showToast("发送成功!"),console.log(e)}),console.log("success",e)},fail(){console.log("fail")},complete(){console.log("complete")}})},exports.shareToExternalMoments=function(s,a){console.log("shareToExternalMoments",s,a),e.wx$1.qy.shareToExternalMoments({text:{content:(null==s?void 0:s.content)||""},attachments:null==s?void 0:s.attachments,success(e){"qy__shareToExternalMoments:ok"==e.errMsg&&t.getApiLoading(n.Apis.Customer.CustomerMomentTasks.Store,a).then(e=>{o.showToast("发送成功!"),console.log(e)}),console.log("分享回调结果success",e)}},function(e){console.log("分享回调结果",e),"shareToExternalMoments:ok"==e.err_msg&&t.getApiLoading(n.Apis.Customer.CustomerMomentTasks.Store,a).then(e=>{o.showToast("发送成功!"),console.log(e)})})}; diff --git a/dist/build/mp-weixin/common/libraries/tools.js b/dist/build/mp-weixin/common/libraries/tools.js new file mode 100644 index 0000000..1ff9462 --- /dev/null +++ b/dist/build/mp-weixin/common/libraries/tools.js @@ -0,0 +1 @@ +"use strict";require("../vendor.js"),exports.debounce=function(e,t){let r=null;return(...u)=>{r&&clearTimeout(r),r=setTimeout(()=>{e(...u)},t)}}; diff --git a/dist/build/mp-weixin/common/libraries/updateManager.js b/dist/build/mp-weixin/common/libraries/updateManager.js index d95a541..69b238e 100644 --- a/dist/build/mp-weixin/common/libraries/updateManager.js +++ b/dist/build/mp-weixin/common/libraries/updateManager.js @@ -1 +1 @@ -"use strict";const e=require("../vendor.js");exports.CheckUpdate=function(){const n=e.index.getUpdateManager();n.onCheckForUpdate((function(e){console.log(e.hasUpdate)})),n.onUpdateReady((function(){e.index.showModal({title:"更新提示",content:"新版本已经准备好,是否重启应用?",success:function(e){e.confirm&&n.applyUpdate()}})})),n.onUpdateFailed((function(){}))}; +"use strict";const e=require("../vendor.js");exports.CheckUpdate=function(){const n=e.index.getUpdateManager();n.onCheckForUpdate(function(e){console.log(e.hasUpdate)}),n.onUpdateReady(function(){e.index.showModal({title:"更新提示",content:"新版本已经准备好,是否重启应用?",success:function(e){e.confirm&&n.applyUpdate()}})}),n.onUpdateFailed(function(){})}; diff --git a/dist/build/mp-weixin/common/libraries/upload.js b/dist/build/mp-weixin/common/libraries/upload.js index b9b9ebe..2090ce9 100644 --- a/dist/build/mp-weixin/common/libraries/upload.js +++ b/dist/build/mp-weixin/common/libraries/upload.js @@ -1 +1 @@ -"use strict";const e=require("../vendor.js"),l=require("../../gen/Apis.js"),o=async e=>await l.Apis.Login.Auth.PreUpload(e);exports.avatarUpload=l=>new Promise(((n,i)=>{if(l.startsWith("wxfile://")){const t=l.match(/[^\/\\]+(?=\.[^\.]+$|$)/)[0],s=l;o({filename:t,alc:"public-read"}).then((l=>{if(null==l?void 0:l.success){e.index.getFileSystemManager().readFile({filePath:s,complete(e){console.log("complete",e)},success:function(o){var t,s;console.log(o,"fileRes1"),e.index.request({url:null==(t=null==l?void 0:l.data)?void 0:t.url,method:"PUT",header:{...null==(s=null==l?void 0:l.data)?void 0:s.headers,"x-amz-acl":"public-read"},data:null==o?void 0:o.data,success:function(o){var t,s;if(console.log(o,"resUpadte"),200!==o.statusCode)e.index.showToast({title:"上传失败",icon:"none"}),i();else{let e={url:null==(s=null==(t=null==l?void 0:l.data)?void 0:t.url)?void 0:s.split("?")[0],status:"done",type:"image/png",uid:Date.now()};n([e])}},fail:function(){e.index.showToast({title:"上传失败",icon:"none"}),i()}}),console.log(o,"fileRes")}})}}))}else e.index.downloadFile({url:l,success:async l=>{if(200===l.statusCode){const t=l.tempFilePath.match(/[^\/\\]+(?=\.[^\.]+$|$)/),s=l.tempFilePath,a=t[0];console.log(t[0]),o({filename:a,alc:"public-read"}).then((l=>{if(null==l?void 0:l.success){e.index.getFileSystemManager().readFile({filePath:s,complete(e){console.log("complete",e)},success:function(o){var t,s;console.log(o,"fileRes1"),e.index.request({url:null==(t=null==l?void 0:l.data)?void 0:t.url,method:"PUT",header:{...null==(s=null==l?void 0:l.data)?void 0:s.headers,"x-amz-acl":"public-read"},data:null==o?void 0:o.data,success:function(o){var t,s;if(console.log(o,"resUpadte"),200!==o.statusCode)e.index.showToast({title:"上传失败",icon:"none"}),i();else{let e={url:null==(s=null==(t=null==l?void 0:l.data)?void 0:t.url)?void 0:s.split("?")[0],status:"done",type:"image/png",uid:Date.now()};n([e])}},fail:function(){e.index.showToast({title:"上传失败",icon:"none"}),i()}}),console.log(o,"fileRes")}})}}))}else console.log(`文件下载失败,状态码: ${l.statusCode}`)},fail:e=>{}})})),exports.upload=(l=1,n=2,i=["image"])=>new Promise(((t,s)=>{let a=[];e.index.chooseMedia({count:l>9?9:l,mediaType:i,sizeType:["original","compressed"],success:async function(l){var i;console.log("filePath_i",l),null==(i=l.tempFiles)||i.map((i=>{console.log(i,"??kj");let d=i.tempFilePath.match(/[^\/\\]+(?=\.[^\.]+$|$)/);const u=i.tempFilePath,c=u.lastIndexOf("."),r=d[0];c>=-1&&u.substr(c+1);if(l.tempFiles[0].size>1048576*(n||2))return e.index.showToast({title:`${r}文件大小不能超过${n}M`,icon:"none"}),!1;o({filename:r,alc:"public-read"}).then((l=>{if(null==l?void 0:l.success){e.index.getFileSystemManager().readFile({filePath:u,complete(e){console.log("complete",e)},success:function(o){var n,d;console.log(o,"fileRes1"),e.index.request({url:null==(n=null==l?void 0:l.data)?void 0:n.url,method:"PUT",header:{...null==(d=null==l?void 0:l.data)?void 0:d.headers,"x-amz-acl":"public-read"},data:null==o?void 0:o.data,success:function(o){var n,d;if(console.log(o,"resUpadte"),200!==o.statusCode)e.index.showToast({title:"上传失败",icon:"none"}),s();else{const e=Date.now();let o={url:null==(d=null==(n=null==l?void 0:l.data)?void 0:n.url)?void 0:d.split("?")[0],status:"done",type:`${null==i?void 0:i.fileType}/${u.split(".")[1]}`,uid:e,size:null==i?void 0:i.size};null==a||a.push(o),t(a)}},fail:function(){e.index.showToast({title:"上传失败",icon:"none"}),s()}}),console.log(o,"fileRes")}})}}))}))}})})),exports.uploadImgWatermark=l=>new Promise(((n,i)=>{const t=Date.now(),s=null==l?void 0:l.path.lastIndexOf("."),a=s>=-1?null==l?void 0:l.path.substr(s+1):"";console.log(s,a,"fileExt"),o({filename:`${(null==l?void 0:l.name)||""}_${t}.${a}`,alc:"public-read"}).then((o=>{if(null==o?void 0:o.success){e.index.getFileSystemManager().readFile({filePath:(null==l?void 0:l.path)||"",success:function(s){var a,d;e.index.request({url:null==(a=null==o?void 0:o.data)?void 0:a.url,method:"PUT",header:{...null==(d=null==o?void 0:o.data)?void 0:d.headers,"x-amz-acl":"public-read"},data:null==s?void 0:s.data,success:function(s){200!==s.statusCode?i(new Error(`上传失败: ${s.statusCode}`)):e.index.getImageInfo({src:null==l?void 0:l.path,success:e=>{var i,s;console.log(e,"imgInfo");let a={url:null==(s=null==(i=null==o?void 0:o.data)?void 0:i.url)?void 0:s.split("?")[0],status:"done",type:null==e?void 0:e.type,uid:t,size:"",name:`${null==l?void 0:l.name}-${t}`};n(a)}})},fail:function(){i(new Error("网络请求失败"))}})},fail:function(){i(new Error("读取文件失败"))}})}else i(new Error("获取上传链接失败"))})).catch((e=>{i(e)}))})); +"use strict";const e=require("../vendor.js"),l=require("../../gen/Apis.js"),o=async e=>await l.Apis.Login.Auth.PreUpload(e);exports.avatarUpload=l=>new Promise((n,i)=>{if(l.startsWith("wxfile://")){const t=l.match(/[^\/\\]+(?=\.[^\.]+$|$)/)[0],s=l;return void o({filename:t,alc:"public-read"}).then(l=>{if(null==l?void 0:l.success){e.index.getFileSystemManager().readFile({filePath:s,complete(e){console.log("complete",e)},success:function(o){var t,s;console.log(o,"fileRes1"),e.index.request({url:null==(t=null==l?void 0:l.data)?void 0:t.url,method:"PUT",header:{...null==(s=null==l?void 0:l.data)?void 0:s.headers,"x-amz-acl":"public-read"},data:null==o?void 0:o.data,success:function(o){var t,s;if(console.log(o,"resUpadte"),200!==o.statusCode)e.index.showToast({title:"上传失败",icon:"none"}),i();else{let e={url:null==(s=null==(t=null==l?void 0:l.data)?void 0:t.url)?void 0:s.split("?")[0],status:"done",type:"image/png",uid:Date.now()};n([e])}},fail:function(){e.index.showToast({title:"上传失败",icon:"none"}),i()}}),console.log(o,"fileRes")}})}})}e.index.downloadFile({url:l,success:async l=>{if(200===l.statusCode){const t=l.tempFilePath.match(/[^\/\\]+(?=\.[^\.]+$|$)/),s=l.tempFilePath,a=t[0];console.log(t[0]),o({filename:a,alc:"public-read"}).then(l=>{if(null==l?void 0:l.success){e.index.getFileSystemManager().readFile({filePath:s,complete(e){console.log("complete",e)},success:function(o){var t,s;console.log(o,"fileRes1"),e.index.request({url:null==(t=null==l?void 0:l.data)?void 0:t.url,method:"PUT",header:{...null==(s=null==l?void 0:l.data)?void 0:s.headers,"x-amz-acl":"public-read"},data:null==o?void 0:o.data,success:function(o){var t,s;if(console.log(o,"resUpadte"),200!==o.statusCode)e.index.showToast({title:"上传失败",icon:"none"}),i();else{let e={url:null==(s=null==(t=null==l?void 0:l.data)?void 0:t.url)?void 0:s.split("?")[0],status:"done",type:"image/png",uid:Date.now()};n([e])}},fail:function(){e.index.showToast({title:"上传失败",icon:"none"}),i()}}),console.log(o,"fileRes")}})}})}else console.log(`文件下载失败,状态码: ${l.statusCode}`)},fail:e=>{}})}),exports.upload=(l=1,n=2,i=["image"])=>new Promise((t,s)=>{let a=[];e.index.chooseMedia({count:l>9?9:l,mediaType:i,sizeType:["original","compressed"],success:async function(l){var i;console.log("filePath_i",l),null==(i=l.tempFiles)||i.map(i=>{console.log(i,"??kj");let d=i.tempFilePath.match(/[^\/\\]+(?=\.[^\.]+$|$)/);const u=i.tempFilePath,c=u.lastIndexOf("."),r=d[0];c>=-1&&u.substr(c+1);if(l.tempFiles[0].size>1048576*(n||2))return e.index.showToast({title:`${r}文件大小不能超过${n}M`,icon:"none"}),!1;o({filename:r,alc:"public-read"}).then(l=>{if(null==l?void 0:l.success){e.index.getFileSystemManager().readFile({filePath:u,complete(e){console.log("complete",e)},success:function(o){var n,d;console.log(o,"fileRes1"),e.index.request({url:null==(n=null==l?void 0:l.data)?void 0:n.url,method:"PUT",header:{...null==(d=null==l?void 0:l.data)?void 0:d.headers,"x-amz-acl":"public-read"},data:null==o?void 0:o.data,success:function(o){var n,d;if(console.log(o,"resUpadte"),200!==o.statusCode)e.index.showToast({title:"上传失败",icon:"none"}),s();else{const e=Date.now();let o={url:null==(d=null==(n=null==l?void 0:l.data)?void 0:n.url)?void 0:d.split("?")[0],status:"done",type:`${null==i?void 0:i.fileType}/${u.split(".")[1]}`,uid:e,size:null==i?void 0:i.size};null==a||a.push(o),t(a)}},fail:function(){e.index.showToast({title:"上传失败",icon:"none"}),s()}}),console.log(o,"fileRes")}})}})})}})}),exports.uploadImgWatermark=l=>new Promise((n,i)=>{const t=Date.now(),s=null==l?void 0:l.path.lastIndexOf("."),a=s>=-1?null==l?void 0:l.path.substr(s+1):"";console.log(s,a,"fileExt"),o({filename:`${(null==l?void 0:l.name)||""}_${t}.${a}`,alc:"public-read"}).then(o=>{if(null==o?void 0:o.success){e.index.getFileSystemManager().readFile({filePath:(null==l?void 0:l.path)||"",success:function(s){var a,d;e.index.request({url:null==(a=null==o?void 0:o.data)?void 0:a.url,method:"PUT",header:{...null==(d=null==o?void 0:o.data)?void 0:d.headers,"x-amz-acl":"public-read"},data:null==s?void 0:s.data,success:function(s){200!==s.statusCode?i(new Error(`上传失败: ${s.statusCode}`)):e.index.getImageInfo({src:null==l?void 0:l.path,success:e=>{var i,s;console.log(e,"imgInfo");let a={url:null==(s=null==(i=null==o?void 0:o.data)?void 0:i.url)?void 0:s.split("?")[0],status:"done",type:null==e?void 0:e.type,uid:t,size:"",name:`${null==l?void 0:l.name}-${t}`};n(a)}})},fail:function(){i(new Error("网络请求失败"))}})},fail:function(){i(new Error("读取文件失败"))}})}else i(new Error("获取上传链接失败"))}).catch(e=>{i(e)})}); diff --git a/dist/build/mp-weixin/common/libraries/watermark.js b/dist/build/mp-weixin/common/libraries/watermark.js index 852d8ec..39a61c6 100644 --- a/dist/build/mp-weixin/common/libraries/watermark.js +++ b/dist/build/mp-weixin/common/libraries/watermark.js @@ -1 +1 @@ -"use strict";const e=require("../vendor.js"),t={addWatermark(t,a){const i=e.index.createCanvasContext("myCanvas");e.index.getImageInfo({src:t,success:s=>{const{width:l,height:n}=s;console.log(s,"imageInfo");const o=390*n/l;i.drawImage(t,0,0,390,o),i.setFontSize(17),i.setFillStyle("#FFD415"),i.rotate(-Math.PI/4),i.fillText(a,-500,400),i.fillText(a,-200,200),i.fillText(a,-200,300),i.fillText(a,-200,400),i.fillText(a,-200,600),i.fillText(a,-550,800),i.draw(!1,(()=>{e.index.canvasToTempFilePath({canvasId:"myCanvas",success:t=>{console.log("水印图片地址:",t.tempFilePath),e.index.hideLoading(),e.index.previewMedia({sources:[{url:t.tempFilePath,type:"image"}],current:0})},fail:t=>{e.index.showToast({title:"获取失败",duration:1e3}),console.error(t)}})}))}})}};exports.watermark=t; +"use strict";const e=require("../vendor.js"),t={addWatermark(t,a){const i=e.index.createCanvasContext("myCanvas");e.index.getImageInfo({src:t,success:s=>{const{width:l,height:n}=s;console.log(s,"imageInfo");const o=390*n/l;i.drawImage(t,0,0,390,o),i.setFontSize(17),i.setFillStyle("#FFD415"),i.rotate(-Math.PI/4),i.fillText(a,-500,400),i.fillText(a,-200,200),i.fillText(a,-200,300),i.fillText(a,-200,400),i.fillText(a,-200,600),i.fillText(a,-550,800),i.draw(!1,()=>{e.index.canvasToTempFilePath({canvasId:"myCanvas",success:t=>{console.log("水印图片地址:",t.tempFilePath),e.index.hideLoading(),e.index.previewMedia({sources:[{url:t.tempFilePath,type:"image"}],current:0})},fail:t=>{e.index.showToast({title:"获取失败",duration:1e3}),console.error(t)}})})}})}};exports.watermark=t; diff --git a/dist/build/mp-weixin/common/store/useWatermarkStore.js b/dist/build/mp-weixin/common/store/useWatermarkStore.js index d2431cd..bfc68d4 100644 --- a/dist/build/mp-weixin/common/store/useWatermarkStore.js +++ b/dist/build/mp-weixin/common/store/useWatermarkStore.js @@ -1 +1 @@ -"use strict";const e=require("../vendor.js"),r=e.defineStore("watermark_store",(()=>({watermarkInfo:e.ref([])})));exports.useWatermarkStore=r; +"use strict";const e=require("../vendor.js"),r=e.defineStore("watermark_store",()=>({watermarkInfo:e.ref([])}));exports.useWatermarkStore=r; diff --git a/dist/build/mp-weixin/common/store/useWeAppAuthStore.js b/dist/build/mp-weixin/common/store/useWeAppAuthStore.js index 3cac779..db0be07 100644 --- a/dist/build/mp-weixin/common/store/useWeAppAuthStore.js +++ b/dist/build/mp-weixin/common/store/useWeAppAuthStore.js @@ -1 +1 @@ -"use strict";const e=require("../vendor.js"),n=require("../../gen/Apis.js"),o=require("../libraries/apiLoading.js"),i="wx04d2d27ca198367b",l=e.defineStore("we_app_auth",(()=>{const l=e.ref(!1),a=e.ref(!1),t=e.ref({user:{id:0,name:"",phone:""},work_info:{session_key:"",openid:""},environment:""});const d=(o,i)=>{n.Apis.Login.Auth.WorkLogin({code:i,app_id:"ww96c806131a95c739"}).then((n=>{var i,a,d,u;console.log("企业微信登录",null==n?void 0:n.data),t.value.user=null==(i=n.data)?void 0:i.user,t.value.work_info=null==(a=n.data)?void 0:a.work_info,l.value=!1,e.index.setStorageSync("NCHL_PROD_ACCESS_TOKEN_CUSTOMER",null==(u=null==(d=null==n?void 0:n.data)?void 0:d.token)?void 0:u.token),null==o||o.appContext.config.globalProperties.$isResolve()})).catch((()=>{l.value=!1,a.value=!0}))},u=(o,d)=>{n.Apis.Login.Auth.Login({code:d,app_id:i}).then((n=>{var i,a,d;console.log("登录",null==n?void 0:n.data),t.value.user=null==(i=n.data)?void 0:i.user,l.value=!1,e.index.setStorageSync("NCHL_PROD_ACCESS_TOKEN_CUSTOMER",null==(d=null==(a=null==n?void 0:n.data)?void 0:a.token)?void 0:d.token),null==o||o.appContext.config.globalProperties.$isResolve()})).catch((()=>{l.value=!1,a.value=!0}))};function s(e){o.getApiLoading(n.Apis.Login.Auth.Me,{}).then((n=>(t.value.user=n.data.user,console.log("me",n.data),l.value=!1,a.value=!1,e())))}return{loading:l,hasError:a,data:t,login:function(n){const o=e.index.getSystemInfoSync();t.value.environment=null==o?void 0:o.environment,console.log(null==o?void 0:o.environment,"res?.environment"),"wxwork"===(null==o?void 0:o.environment)?e.index.qy.login({success:function(e){console.log(e),d(n,e.code)}}):e.index.login({provider:"weixin",success:function(e){console.log(e),u(n,e.code)}})},me:s,handleUserLogin:async l=>{o.getApiLoading(n.Apis.Login.Auth.BindPhoneNumber,{app_id:i,...l}).then((n=>{s((()=>{e.index.navigateBack({delta:1})}))}))},handleUserLoginWxwork:async l=>{var a,d;o.getApiLoading(n.Apis.Login.Auth.BindWork,{app_id:i,session_key:null==(d=null==(a=null==t?void 0:t.value)?void 0:a.work_info)?void 0:d.session_key,iv:null==l?void 0:l.iv,encrypted_data:null==l?void 0:l.encryptedData}).then((n=>{s((()=>{e.index.navigateBack({delta:1})}))}))}}}));exports.useWeAppAuthStore=l; +"use strict";const e=require("../vendor.js"),n=require("../../gen/Apis.js"),o=require("../libraries/apiLoading.js"),i="wx04d2d27ca198367b",l=e.defineStore("we_app_auth",()=>{const l=e.ref(!1),a=e.ref(!1),t=e.ref({user:{id:0,name:"",phone:""},work_info:{session_key:"",openid:""},permissions:[],environment:""}),s=e.ref(null),d=()=>{s.value&&(clearInterval(s.value),s.value=null),s.value=setInterval(()=>{u()},3e5)},u=()=>{e.index.getLocation({type:"wgs84",altitude:!0,isHighAccuracy:!0,success(e){n.Apis.Attendance.AttendanceEmployeeTracks.Track({latitude:e.latitude,longitude:e.longitude}),console.log(e,"经纬度")},fail(n){e.index.hideLoading(),e.index.showModal({title:"提示",content:"定位失败,员工轨迹失效!请打开定位!",success:function(n){n.confirm?(e.index.openSetting(),console.log("用户点击确定")):n.cancel&&console.log("用户点击取消")}}),console.log(n,"获取经纬度失败")}})};const r=(o,i)=>{n.Apis.Login.Auth.WorkLogin({code:i,app_id:"ww96c806131a95c739"}).then(n=>{var i,a,s,r,v,c,g,p;console.log("企业微信登录",null==n?void 0:n.data),t.value.user=null==(i=n.data)?void 0:i.user,t.value.work_info=null==(a=n.data)?void 0:a.work_info,t.value.permissions=null==(r=null==(s=n.data)?void 0:s.permissions[0])?void 0:r.children,l.value=!1,e.index.setStorageSync("NCHL_PROD_ACCESS_TOKEN_CUSTOMER",null==(c=null==(v=null==n?void 0:n.data)?void 0:v.token)?void 0:c.token),(null==(p=null==(g=null==n?void 0:n.data)?void 0:g.user)?void 0:p.phone)&&(u(),d()),null==o||o.appContext.config.globalProperties.$isResolve()}).catch(()=>{l.value=!1,a.value=!0})},v=(o,s)=>{n.Apis.Login.Auth.Login({code:s,app_id:i}).then(n=>{var i,a,s,r,v,c,g;console.log("登录",null==n?void 0:n.data),t.value.user=null==(i=n.data)?void 0:i.user,t.value.permissions=null==(s=null==(a=n.data)?void 0:a.permissions[0])?void 0:s.children,l.value=!1,e.index.setStorageSync("NCHL_PROD_ACCESS_TOKEN_CUSTOMER",null==(v=null==(r=null==n?void 0:n.data)?void 0:r.token)?void 0:v.token),(null==(g=null==(c=null==n?void 0:n.data)?void 0:c.user)?void 0:g.phone)&&(u(),d()),null==o||o.appContext.config.globalProperties.$isResolve()}).catch(()=>{l.value=!1,a.value=!0})};function c(e){o.getApiLoading(n.Apis.Login.Auth.Me,{}).then(n=>{var o,i;return t.value.user=n.data.user,t.value.permissions=null==(i=null==(o=n.data)?void 0:o.permissions[0])?void 0:i.children,console.log("me",n.data),l.value=!1,a.value=!1,e()})}return{loading:l,hasError:a,data:t,login:function(n){const o=e.index.getSystemInfoSync();t.value.environment=null==o?void 0:o.environment,console.log(null==o?void 0:o.environment,"res?.environment"),"wxwork"===(null==o?void 0:o.environment)?e.wx$1.qy.login({success:function(e){console.log(e),r(n,e.code)}}):e.index.login({provider:"weixin",success:function(e){console.log(e),v(n,e.code)}})},me:c,handleUserLogin:async l=>{o.getApiLoading(n.Apis.Login.Auth.BindPhoneNumber,{app_id:i,...l}).then(n=>{c(()=>{e.index.navigateBack({delta:1})})})},handleUserLoginWxwork:async l=>{var a,s;o.getApiLoading(n.Apis.Login.Auth.BindWork,{app_id:i,session_key:null==(s=null==(a=null==t?void 0:t.value)?void 0:a.work_info)?void 0:s.session_key,iv:null==l?void 0:l.iv,encrypted_data:null==l?void 0:l.encryptedData}).then(n=>{c(()=>{e.index.navigateBack({delta:1})})})}}});exports.useWeAppAuthStore=l; diff --git a/dist/build/mp-weixin/common/store/useWorkStore.js b/dist/build/mp-weixin/common/store/useWorkStore.js index ffd46f5..963dd12 100644 --- a/dist/build/mp-weixin/common/store/useWorkStore.js +++ b/dist/build/mp-weixin/common/store/useWorkStore.js @@ -1 +1 @@ -"use strict";const e=require("../vendor.js"),r=e.defineStore("goods_store",(()=>({selectWorkHouse:e.ref({}),selectedHouse:e.ref(0),selectWorkProject:e.ref({})})));exports.useWorkStore=r; +"use strict";const e=require("../vendor.js"),r=e.defineStore("goods_store",()=>({selectWorkHouse:e.ref({}),selectedHouse:e.ref(0),selectWorkProject:e.ref({})}));exports.useWorkStore=r; diff --git a/dist/build/mp-weixin/common/vendor.js b/dist/build/mp-weixin/common/vendor.js index cbef582..f3f219a 100644 --- a/dist/build/mp-weixin/common/vendor.js +++ b/dist/build/mp-weixin/common/vendor.js @@ -1,7 +1,7 @@ -"use strict";function e(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r!!n[e.toLowerCase()]:e=>!!n[e]}function t(e){if(v(e)){const n={};for(let o=0;o{if(e){const n=e.split(o);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function s(e){let t="";if(A(e))t=e;else if(v(e))for(let n=0;nt&&t.__v_isRef?a(e,t.value):w(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:x(t)?{[`Set(${t.size})`]:[...t.values()]}:!k(t)||v(t)||C(t)?t:String(t),c={},l=[],u=()=>{},f=()=>!1,p=/^on[^a-z]/,d=e=>p.test(e),h=e=>e.startsWith("onUpdate:"),g=Object.assign,m=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},y=Object.prototype.hasOwnProperty,b=(e,t)=>y.call(e,t),v=Array.isArray,w=e=>"[object Map]"===I(e),x=e=>"[object Set]"===I(e),S=e=>"function"==typeof e,A=e=>"string"==typeof e,T=e=>"symbol"==typeof e,k=e=>null!==e&&"object"==typeof e,E=e=>k(e)&&S(e.then)&&S(e.catch),P=Object.prototype.toString,I=e=>P.call(e),C=e=>"[object Object]"===I(e),_=e=>A(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,O=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),B=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},j=/-(\w)/g,L=B((e=>e.replace(j,((e,t)=>t?t.toUpperCase():"")))),N=/\B([A-Z])/g,D=B((e=>e.replace(N,"-$1").toLowerCase())),M=B((e=>e.charAt(0).toUpperCase()+e.slice(1))),F=B((e=>e?`on${M(e)}`:"")),U=(e,t)=>!Object.is(e,t),R=(e,t)=>{for(let n=0;n{const t=parseFloat(e);return isNaN(t)?e:t},q="onShow",z="onHide",H="onLaunch",W="onError",$="onThemeChange",V="onPageNotFound",K="onUnhandledRejection",J="onLoad",Y="onReady",G="onUnload",X="onInit",Z="onSaveExitState",ee="onResize",te="onBackPress",ne="onPageScroll",oe="onTabItemTap",re="onReachBottom",ie="onPullDownRefresh",se="onShareTimeline",ae="onAddToFavorites",ce="onShareAppMessage",le="onNavigationBarButtonTap",ue="onNavigationBarSearchInputClicked",fe="onNavigationBarSearchInputChanged",pe="onNavigationBarSearchInputConfirmed",de="onNavigationBarSearchInputFocusChanged",he=/:/g;function ge(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}function me(e,t){if(!A(t))return;const n=(t=t.replace(/\[(\d+)\]/g,".$1")).split(".");let o=n[0];return e||(e={}),1===n.length?e[o]:me(e[o],n.slice(1).join("."))}function ye(e){let t={};return C(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}const be=encodeURIComponent;function ve(e,t=be){const n=e?Object.keys(e).map((n=>{let o=e[n];return void 0===typeof o||null===o?o="":C(o)&&(o=JSON.stringify(o)),t(n)+"="+t(o)})).filter((e=>e.length>0)).join("&"):null;return n?`?${n}`:""}const we=[X,J,q,z,G,te,ne,oe,re,ie,se,ce,ae,Z,le,ue,fe,pe,de];const xe=[q,z,H,W,$,V,K,X,J,Y,G,ee,te,ne,oe,re,ie,se,ae,ce,Z,le,ue,fe,pe,de],Se=(()=>({onPageScroll:1,onShareAppMessage:2,onShareTimeline:4}))();function Ae(e,t,n=!0){return!(n&&!S(t))&&(xe.indexOf(e)>-1||0===e.indexOf("on"))}let Te;const ke=[];const Ee=ge(((e,t)=>{if(S(e._component.onError))return t(e)})),Pe=function(){};Pe.prototype={on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;oNe.call(e,t),Me=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=Ce){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r-1?Be:e.indexOf("-hant")>-1?je:(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?je:Be);var n;let o=[Le,"fr","es"];t&&Object.keys(t).length>0&&(o=Object.keys(t));const r=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,o);return r||void 0}class Ue{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale=Le,this.fallbackLocale=Le,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||Me,this.messages=n||{},this.setLocale(e||Le),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=Fe(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach((e=>{e(this.locale,t)}))}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,n=!0){const o=this.messages[e];o?n?Object.assign(o,t):Object.keys(t).forEach((e=>{De(o,e)||(o[e]=t[e])})):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let o=this.message;return"string"==typeof t?(t=Fe(t,this.messages))&&(o=this.messages[t]):n=t,De(o,e)?this.formater.interpolate(o[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function Re(e){return function(){try{return e.apply(e,arguments)}catch(Gu){console.error(Gu)}}}let Qe=1;const qe={};function ze(e,t,n){if("number"==typeof e){const o=qe[e];if(o)return o.keepAlive||delete qe[e],o.callback(t,n)}return t}const He="success",We="fail",$e="complete";function Ve(e,t={},{beforeAll:n,beforeSuccess:o}={}){C(t)||(t={});const{success:r,fail:i,complete:s}=function(e){const t={};for(const n in e){const o=e[n];S(o)&&(t[n]=Re(o),delete e[n])}return t}(t),a=S(r),c=S(i),l=S(s),u=Qe++;return function(e,t,n,o=!1){qe[e]={name:t,keepAlive:o,callback:n}}(u,e,(u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),S(n)&&n(u),u.errMsg===e+":ok"?(S(o)&&o(u,t),a&&r(u)):c&&i(u),l&&s(u)})),u}const Ke="success",Je="fail",Ye="complete",Ge={},Xe={};function Ze(e,t){return function(n){return e(n,t)||n}}function et(e,t,n){let o=!1;for(let r=0;re(t),catch(){}}}function tt(e,t={}){return[Ke,Je,Ye].forEach((n=>{const o=e[n];if(!v(o))return;const r=t[n];t[n]=function(e){et(o,e,t).then((e=>S(r)&&r(e)||e))}})),t}function nt(e,t){const n=[];v(Ge.returnValue)&&n.push(...Ge.returnValue);const o=Xe[e];return o&&v(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function ot(e){const t=Object.create(null);Object.keys(Ge).forEach((e=>{"returnValue"!==e&&(t[e]=Ge[e].slice())}));const n=Xe[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function rt(e,t,n,o){const r=ot(e);if(r&&Object.keys(r).length){if(v(r.invoke)){return et(r.invoke,n).then((n=>t(tt(ot(e),n),...o)))}return t(tt(r,n),...o)}return t(n,...o)}function it(e,t){return(n={},...o)=>function(e){return!(!C(e)||![He,We,$e].find((t=>S(e[t]))))}(n)?nt(e,rt(e,t,n,o)):nt(e,new Promise(((r,i)=>{rt(e,t,g(n,{success:r,fail:i}),o)})))}function st(e,t,n,o){return ze(e,g({errMsg:t+":fail"+(n?" "+n:"")},o))}function at(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(A(e))return e}const r=function(e,t){const n=e[0];if(!t||!C(t.formatArgs)&&C(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i{const r=Ve(e,n,o),i=at(0,[n],0,o);return i?st(r,e,i):t(n,{resolve:t=>function(e,t,n){return ze(e,g(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>st(r,e,function(e){return!e||A(e)?e:e.stack?(console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function lt(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=at(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}let ut=!1,ft=0,pt=0;function dt(){const{platform:e,pixelRatio:t,windowWidth:n}=wx.getSystemInfoSync();ft=n,pt=t,ut="ios"===e}const ht=lt(0,((e,t)=>{if(0===ft&&dt(),0===(e=Number(e)))return 0;let n=e/750*(t||ft);return n<0&&(n=-n),n=Math.floor(n+1e-4),0===n&&(n=1!==pt&&ut?.5:1),e<0?-n:n}));function gt(e,t){Object.keys(t).forEach((n=>{S(t[n])&&(e[n]=function(e,t){const n=t?e?e.concat(t):v(t)?t:[t]:e;return n?function(e){const t=[];for(let n=0;n{const o=e[n],r=t[n];v(o)&&S(r)&&m(o,r)}))}const yt=lt(0,((e,t)=>{A(e)&&C(t)?gt(Xe[e]||(Xe[e]={}),t):C(e)&>(Ge,e)})),bt=lt(0,((e,t)=>{A(e)?C(t)?mt(Xe[e],t):delete Xe[e]:C(e)&&mt(Ge,e)})),vt=new Ie,wt=lt(0,((e,t)=>(vt.on(e,t),()=>vt.off(e,t)))),xt=lt(0,((e,t)=>(vt.once(e,t),()=>vt.off(e,t)))),St=lt(0,((e,t)=>{e?(v(e)||(e=[e]),e.forEach((e=>vt.off(e,t)))):vt.e={}})),At=lt(0,((e,...t)=>{vt.emit(e,...t)}));let Tt,kt,Et;function Pt(e){try{return JSON.parse(e)}catch(Gu){}return e}const It=[];function Ct(e,t){It.forEach((n=>{n(e,t)})),It.length=0}const _t=it(Ot="getPushClientId",function(e,t,n,o){return ct(e,t,0,o)}(Ot,((e,{resolve:t,reject:n})=>{Promise.resolve().then((()=>{void 0===Et&&(Et=!1,Tt="",kt="uniPush is not enabled"),It.push(((e,o)=>{e?t({cid:e}):n(o)})),void 0!==Tt&&Ct(Tt,kt)}))}),0,Bt));var Ot,Bt;const jt=[],Lt=/^\$|getLocale|setLocale|sendNativeEvent|restoreGlobal|requireGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getDeviceInfo|getAppBaseInfo|getWindowInfo|getSystemSetting|getAppAuthorizeSetting/,Nt=/^create|Manager$/,Dt=["createBLEConnection"],Mt=["createBLEConnection"],Ft=/^on|^off/;function Ut(e){return Nt.test(e)&&-1===Dt.indexOf(e)}function Rt(e){return Lt.test(e)&&-1===Mt.indexOf(e)}function Qt(e){return!(Ut(e)||Rt(e)||function(e){return Ft.test(e)&&"onPush"!==e}(e))}function qt(e,t){return Qt(e)&&S(t)?function(n={},...o){return S(n.success)||S(n.fail)||S(n.complete)?nt(e,rt(e,t,n,o)):nt(e,new Promise(((r,i)=>{rt(e,t,g({},n,{success:r,fail:i}),o)})))}:t}Promise.prototype.finally||(Promise.prototype.finally=function(e){const t=this.constructor;return this.then((n=>t.resolve(e&&e()).then((()=>n))),(n=>t.resolve(e&&e()).then((()=>{throw n}))))});const zt=["success","fail","cancel","complete"];const Ht=()=>{const e=S(getApp)&&getApp({allowDefault:!0});return e&&e.$vm?e.$vm.$locale:Fe(wx.getSystemInfoSync().language)||Le},Wt=[];"undefined"!=typeof global&&(global.getLocale=Ht);const $t="__DC_STAT_UUID";let Vt;function Kt(e=wx){return function(t,n){Vt=Vt||e.getStorageSync($t),Vt||(Vt=Date.now()+""+Math.floor(1e7*Math.random()),wx.setStorage({key:$t,data:Vt})),n.deviceId=Vt}}function Jt(e,t){if(e.safeArea){const n=e.safeArea;t.safeAreaInsets={top:n.top,left:n.left,right:e.windowWidth-n.right,bottom:e.screenHeight-n.bottom}}}function Yt(e,t){let n=e.deviceType||"phone";{const e={ipad:"pad",windows:"pc",mac:"pc"},o=Object.keys(e),r=t.toLocaleLowerCase();for(let t=0;t{Jt(e,t),Kt()(e,t),function(e,t){const{brand:n="",model:o="",system:r="",language:i="",theme:s,version:a,platform:c,fontSizeSetting:l,SDKVersion:u,pixelRatio:f,deviceOrientation:p}=e;let d="",h="";d=r.split(" ")[0]||"",h=r.split(" ")[1]||"";let m=a,y=Yt(e,o),b=Gt(n),v=Zt(e),w=p,x=f,S=u;const A=i.replace(/_/g,"-"),T={appId:"",appName:"",appVersion:"1.0.0",appVersionCode:"100",appLanguage:Xt(A),uniCompileVersion:"3.8.12",uniRuntimeVersion:"3.8.12",uniPlatform:"mp-weixin",deviceBrand:b,deviceModel:o,deviceType:y,devicePixelRatio:x,deviceOrientation:w,osName:d.toLocaleLowerCase(),osVersion:h,hostTheme:s,hostVersion:m,hostLanguage:A,hostName:v,hostSDKVersion:S,hostFontSizeSetting:l,windowTop:0,windowBottom:0,osLanguage:void 0,osTheme:void 0,ua:void 0,hostPackageName:void 0,browserName:void 0,browserVersion:void 0};g(t,T)}(e,t)}},tn=en,nn={args(e,t){let n=parseInt(e.current);if(isNaN(n))return;const o=e.urls;if(!v(o))return;const r=o.length;return r?(n<0?n=0:n>=r&&(n=r-1),n>0?(t.current=o[n],t.urls=o.filter(((e,t)=>!(t{const{brand:n,model:o}=e;let r=Yt(e,o),i=Gt(n);Kt()(e,t),t=ye(g(t,{deviceType:r,deviceBrand:i,deviceModel:o}))}},sn={returnValue:(e,t)=>{const{version:n,language:o,SDKVersion:r,theme:i}=e;let s=Zt(e),a=o.replace(/_/g,"-");t=ye(g(t,{hostVersion:n,hostLanguage:a,hostName:s,hostSDKVersion:r,hostTheme:i,appId:"",appName:"",appVersion:"1.0.0",appVersionCode:"100",appLanguage:Xt(a)}))}},an={returnValue:(e,t)=>{Jt(e,t),t=ye(g(t,{windowTop:0,windowBottom:0}))}},cn={$on:wt,$off:St,$once:xt,$emit:At,upx2px:ht,interceptors:{},addInterceptor:yt,removeInterceptor:bt,onCreateVueApp:function(e){if(Te)return e(Te);ke.push(e)},invokeCreateVueAppHook:function(e){Te=e,ke.forEach((t=>t(e)))},getLocale:Ht,setLocale:e=>{const t=S(getApp)&&getApp();if(!t)return!1;return t.$vm.$locale!==e&&(t.$vm.$locale=e,Wt.forEach((t=>t({locale:e}))),!0)},onLocaleChange:e=>{-1===Wt.indexOf(e)&&Wt.push(e)},getPushClientId:_t,onPushMessage:e=>{-1===jt.indexOf(e)&&jt.push(e)},offPushMessage:e=>{if(e){const t=jt.indexOf(e);t>-1&&jt.splice(t,1)}else jt.length=0},invokePushCallback:function(e){if("enabled"===e.type)Et=!0;else if("clientId"===e.type)Tt=e.cid,kt=e.errMsg,Ct(Tt,e.errMsg);else if("pushMsg"===e.type){const t={type:"receive",data:Pt(e.message)};for(let e=0;e{t({type:"click",data:Pt(e.message)})}))}};const ln=["qy","env","error","version","lanDebug","cloud","serviceMarket","router","worklet","__webpack_require_UNI_MP_PLUGIN__"],un=["lanDebug","router","worklet"],fn=wx.getLaunchOptionsSync?wx.getLaunchOptionsSync():null;function pn(e){return(!fn||1154!==fn.scene||!un.includes(e))&&(ln.indexOf(e)>-1||"function"==typeof wx[e])}function dn(){const e={};for(const t in wx)pn(t)&&(e[t]=wx[t]);return"undefined"!=typeof globalThis&&"undefined"==typeof requireMiniProgram&&(globalThis.wx=e),e}const hn=["__route__","__wxExparserNodeId__","__wxWebviewId__"],gn=(mn={oauth:["weixin"],share:["weixin"],payment:["wxpay"],push:["weixin"]},function({service:e,success:t,fail:n,complete:o}){let r;mn[e]?(r={errMsg:"getProvider:ok",service:e,provider:mn[e]},S(t)&&t(r)):(r={errMsg:"getProvider:fail:服务["+e+"]不存在"},S(n)&&n(r)),S(o)&&o(r)});var mn;const yn=dn();let bn=yn.getAppBaseInfo&&yn.getAppBaseInfo();bn||(bn=yn.getSystemInfoSync());const vn=bn?bn.host:null,wn=vn&&"SAAASDK"===vn.env?yn.miniapp.shareVideoMessage:yn.shareVideoMessage;var xn=Object.freeze({__proto__:null,createSelectorQuery:function(){const e=yn.createSelectorQuery(),t=e.in;return e.in=function(e){return t.call(this,function(e){const t=Object.create(null);return hn.forEach((n=>{t[n]=e[n]})),t}(e))},e},getProvider:gn,shareVideoMessage:wn});const Sn={args(e,t){e.compressedHeight&&!t.compressHeight&&(t.compressHeight=e.compressedHeight),e.compressedWidth&&!t.compressWidth&&(t.compressWidth=e.compressedWidth)}};var An=Object.freeze({__proto__:null,compressImage:Sn,getAppAuthorizeSetting:{returnValue:function(e,t){const{locationReducedAccuracy:n}=e;t.locationAccuracy="unsupported",!0===n?t.locationAccuracy="reduced":!1===n&&(t.locationAccuracy="full")}},getAppBaseInfo:sn,getDeviceInfo:rn,getSystemInfo:en,getSystemInfoSync:tn,getWindowInfo:an,previewImage:nn,redirectTo:{},showActionSheet:on});const Tn=dn();var kn=function(e,t,n=wx){const o=function(e){function t(e,t,n){return function(r){return t(o(e,r,n))}}function n(e,n,o={},r={},i=!1){if(C(n)){const s=!0===i?n:{};S(o)&&(o=o(n,s)||{});for(const a in n)if(b(o,a)){let t=o[a];S(t)&&(t=t(n[a],n,s)),t?A(t)?s[t]=n[a]:C(t)&&(s[t.name?t.name:a]=t.value):console.warn(`微信小程序 ${e} 暂不支持 ${a}`)}else if(-1!==zt.indexOf(a)){const o=n[a];S(o)&&(s[a]=t(e,o,r))}else i||b(s,a)||(s[a]=n[a]);return s}return S(n)&&(n=t(e,n,r)),n}function o(t,o,r,i=!1){return S(e.returnValue)&&(o=e.returnValue(t,o)),n(t,o,r,{},i)}return function(t,r){if(!b(e,t))return r;const i=e[t];return i?function(e,r){let s=i;S(i)&&(s=i(e));const a=[e=n(t,e,s.args,s.returnValue)];void 0!==r&&a.push(r);const c=wx[s.name||t].apply(wx,a);return Rt(t)?o(t,c,s.returnValue,Ut(t)):c}:function(){console.error(`微信小程序 暂不支持${t}`)}}}(t);return new Proxy({},{get:(t,r)=>b(t,r)?t[r]:b(e,r)?qt(r,e[r]):b(cn,r)?qt(r,cn[r]):qt(r,o(r,n[r]))})}(xn,An,Tn);let En;class Pn{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=En,!e&&En&&(this.index=(En.scopes||(En.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=En;try{return En=this,e()}finally{En=t}}}on(){En=this}off(){En=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t{const t=new Set(e);return t.w=0,t.n=0,t},On=e=>(e.w&Nn)>0,Bn=e=>(e.n&Nn)>0,jn=new WeakMap;let Ln=0,Nn=1;let Dn;const Mn=Symbol(""),Fn=Symbol("");class Un{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=En){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=Dn,t=Qn;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Dn,Dn=this,Qn=!0,Nn=1<<++Ln,Ln<=30?(({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o{("length"===n||n>=e)&&a.push(t)}))}else switch(void 0!==n&&a.push(s.get(n)),t){case"add":v(e)?_(n)&&a.push(s.get("length")):(a.push(s.get(Mn)),w(e)&&a.push(s.get(Fn)));break;case"delete":v(e)||(a.push(s.get(Mn)),w(e)&&a.push(s.get(Fn)));break;case"set":w(e)&&a.push(s.get(Mn))}if(1===a.length)a[0]&&Kn(a[0]);else{const e=[];for(const t of a)t&&e.push(...t);Kn(_n(e))}}function Kn(e,t){const n=v(e)?e:[...e];for(const o of n)o.computed&&Jn(o);for(const o of n)o.computed||Jn(o)}function Jn(e,t){(e!==Dn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Yn=e("__proto__,__v_isRef,__isVue"),Gn=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(T)),Xn=ro(),Zn=ro(!1,!0),eo=ro(!0),to=no();function no(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=qo(this);for(let t=0,r=this.length;t{e[t]=function(...e){zn();const n=qo(this)[t].apply(this,e);return Hn(),n}})),e}function oo(e){const t=qo(this);return Wn(t,0,e),t.hasOwnProperty(e)}function ro(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&r===(e?t?Lo:jo:t?Bo:Oo).get(n))return n;const i=v(n);if(!e){if(i&&b(to,o))return Reflect.get(to,o,r);if("hasOwnProperty"===o)return oo}const s=Reflect.get(n,o,r);return(T(o)?Gn.has(o):Yn(o))?s:(e||Wn(n,0,o),t?s:Ko(s)?i&&_(o)?s:s.value:k(s)?e?Mo(s):Do(s):s)}}function io(e=!1){return function(t,n,o,r){let i=t[n];if(Ro(i)&&Ko(i)&&!Ko(o))return!1;if(!e&&(Qo(o)||Ro(o)||(i=qo(i),o=qo(o)),!v(t)&&Ko(i)&&!Ko(o)))return i.value=o,!0;const s=v(t)&&_(n)?Number(n)!0,deleteProperty:(e,t)=>!0},co=g({},so,{get:Zn,set:io(!0)}),lo=e=>e,uo=e=>Reflect.getPrototypeOf(e);function fo(e,t,n=!1,o=!1){const r=qo(e=e.__v_raw),i=qo(t);n||(t!==i&&Wn(r,0,t),Wn(r,0,i));const{has:s}=uo(r),a=o?lo:n?Wo:Ho;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void(e!==r&&e.get(t))}function po(e,t=!1){const n=this.__v_raw,o=qo(n),r=qo(e);return t||(e!==r&&Wn(o,0,e),Wn(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function ho(e,t=!1){return e=e.__v_raw,!t&&Wn(qo(e),0,Mn),Reflect.get(e,"size",e)}function go(e){e=qo(e);const t=qo(this);return uo(t).has.call(t,e)||(t.add(e),Vn(t,"add",e,e)),this}function mo(e,t){t=qo(t);const n=qo(this),{has:o,get:r}=uo(n);let i=o.call(n,e);i||(e=qo(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?U(t,s)&&Vn(n,"set",e,t):Vn(n,"add",e,t),this}function yo(e){const t=qo(this),{has:n,get:o}=uo(t);let r=n.call(t,e);r||(e=qo(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&Vn(t,"delete",e,void 0),i}function bo(){const e=qo(this),t=0!==e.size,n=e.clear();return t&&Vn(e,"clear",void 0,void 0),n}function vo(e,t){return function(n,o){const r=this,i=r.__v_raw,s=qo(i),a=t?lo:e?Wo:Ho;return!e&&Wn(s,0,Mn),i.forEach(((e,t)=>n.call(o,a(e),a(t),r)))}}function wo(e,t,n){return function(...o){const r=this.__v_raw,i=qo(r),s=w(i),a="entries"===e||e===Symbol.iterator&&s,c="keys"===e&&s,l=r[e](...o),u=n?lo:t?Wo:Ho;return!t&&Wn(i,0,c?Fn:Mn),{next(){const{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function xo(e){return function(...t){return"delete"!==e&&this}}function So(){const e={get(e){return fo(this,e)},get size(){return ho(this)},has:po,add:go,set:mo,delete:yo,clear:bo,forEach:vo(!1,!1)},t={get(e){return fo(this,e,!1,!0)},get size(){return ho(this)},has:po,add:go,set:mo,delete:yo,clear:bo,forEach:vo(!1,!0)},n={get(e){return fo(this,e,!0)},get size(){return ho(this,!0)},has(e){return po.call(this,e,!0)},add:xo("add"),set:xo("set"),delete:xo("delete"),clear:xo("clear"),forEach:vo(!0,!1)},o={get(e){return fo(this,e,!0,!0)},get size(){return ho(this,!0)},has(e){return po.call(this,e,!0)},add:xo("add"),set:xo("set"),delete:xo("delete"),clear:xo("clear"),forEach:vo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=wo(r,!1,!1),n[r]=wo(r,!0,!1),t[r]=wo(r,!1,!0),o[r]=wo(r,!0,!0)})),[e,n,t,o]}const[Ao,To,ko,Eo]=So();function Po(e,t){const n=t?e?Eo:ko:e?To:Ao;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(b(n,o)&&o in t?n:t,o,r)}const Io={get:Po(!1,!1)},Co={get:Po(!1,!0)},_o={get:Po(!0,!1)},Oo=new WeakMap,Bo=new WeakMap,jo=new WeakMap,Lo=new WeakMap;function No(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>I(e).slice(8,-1))(e))}function Do(e){return Ro(e)?e:Fo(e,!1,so,Io,Oo)}function Mo(e){return Fo(e,!0,ao,_o,jo)}function Fo(e,t,n,o,r){if(!k(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const s=No(e);if(0===s)return e;const a=new Proxy(e,2===s?o:n);return r.set(e,a),a}function Uo(e){return Ro(e)?Uo(e.__v_raw):!(!e||!e.__v_isReactive)}function Ro(e){return!(!e||!e.__v_isReadonly)}function Qo(e){return!(!e||!e.__v_isShallow)}function qo(e){const t=e&&e.__v_raw;return t?qo(t):e}function zo(e){return((e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})})(e,"__v_skip",!0),e}const Ho=e=>k(e)?Do(e):e,Wo=e=>k(e)?Mo(e):e;function $o(e){Qn&&Dn&&$n((e=qo(e)).dep||(e.dep=_n()))}function Vo(e,t){const n=(e=qo(e)).dep;n&&Kn(n)}function Ko(e){return!(!e||!0!==e.__v_isRef)}function Jo(e){return function(e,t){if(Ko(e))return e;return new Yo(e,t)}(e,!1)}class Yo{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:qo(e),this._value=t?e:Ho(e)}get value(){return $o(this),this._value}set value(e){const t=this.__v_isShallow||Qo(e)||Ro(e);e=t?e:qo(e),U(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Ho(e),Vo(this))}}function Go(e){return Ko(e)?e.value:e}const Xo={get:(e,t,n)=>Go(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Ko(r)&&!Ko(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Zo(e){return Uo(e)?e:new Proxy(e,Xo)}class er{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return e=qo(this._object),t=this._key,null===(n=jn.get(e))||void 0===n?void 0:n.get(t);var e,t,n}}function tr(e,t,n){const o=e[t];return Ko(o)?o:new er(e,t,n)}var nr;class or{constructor(e,t,n,o){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this[nr]=!1,this._dirty=!0,this.effect=new Un(e,(()=>{this._dirty||(this._dirty=!0,Vo(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=qo(this);return $o(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function rr(e,t,n,o){let r;try{r=o?e(...o):e()}catch(i){sr(i,t,n)}return r}function ir(e,t,n,o){if(S(e)){const r=rr(e,t,n,o);return r&&E(r)&&r.catch((e=>{sr(e,t,n)})),r}const r=[];for(let i=0;i>>1;xr(lr[o])null==e.id?1/0:e.id,Sr=(e,t)=>{const n=xr(e)-xr(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ar(e){cr=!1,ar=!0,lr.sort(Sr);try{for(ur=0;urxr(e)-xr(t))),dr=0;drA(e)?e.trim():e))),t&&(r=n.map(Q))}let a,l=o[a=F(t)]||o[a=F(L(t))];!l&&i&&(l=o[a=F(D(t))]),l&&ir(l,e,6,r);const u=o[a+"Once"];if(u){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,ir(u,e,6,r)}}function kr(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let s={},a=!1;if(!S(e)){const o=e=>{const n=kr(e,t,!0);n&&(a=!0,g(s,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||a?(v(i)?i.forEach((e=>s[e]=null)):g(s,i),k(e)&&o.set(e,s),s):(k(e)&&o.set(e,null),null)}function Er(e,t){return!(!e||!d(t))&&(t=t.slice(2).replace(/Once$/,""),b(e,t[0].toLowerCase()+t.slice(1))||b(e,D(t))||b(e,t))}let Pr=null;function Ir(e){const t=Pr;return Pr=e,e&&e.type.__scopeId,t}function Cr(e,t,n=!1){const o=_i||Pr;if(o){const r=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&S(t)?t.call(o.proxy):t}}const _r={};function Or(e,t,n){return Br(e,t,n)}function Br(e,t,{immediate:n,deep:o,flush:r,onTrack:i,onTrigger:s}=c){const a=Cn()===(null==_i?void 0:_i.scope)?_i:null;let l,f,p=!1,d=!1;if(Ko(e)?(l=()=>e.value,p=Qo(e)):Uo(e)?(l=()=>e,o=!0):v(e)?(d=!0,p=e.some((e=>Uo(e)||Qo(e))),l=()=>e.map((e=>Ko(e)?e.value:Uo(e)?Nr(e):S(e)?rr(e,a,2):void 0))):l=S(e)?t?()=>rr(e,a,2):()=>{if(!a||!a.isUnmounted)return f&&f(),ir(e,a,3,[h])}:u,t&&o){const e=l;l=()=>Nr(e())}let h=e=>{f=w.onStop=()=>{rr(e,a,4)}},g=d?new Array(e.length).fill(_r):_r;const y=()=>{if(w.active)if(t){const e=w.run();(o||p||(d?e.some(((e,t)=>U(e,g[t]))):U(e,g)))&&(f&&f(),ir(t,a,3,[e,g===_r?void 0:d&&g[0]===_r?[]:g,h]),g=e)}else w.run()};let b;y.allowRecurse=!!t,"sync"===r?b=y:"post"===r?b=()=>ki(y,a&&a.suspense):(y.pre=!0,a&&(y.id=a.uid),b=()=>yr(y));const w=new Un(l,b);t?n?y():g=w.run():"post"===r?ki(w.run.bind(w),a&&a.suspense):w.run();return()=>{w.stop(),a&&a.scope&&m(a.scope.effects,w)}}function jr(e,t,n){const o=this.proxy,r=A(e)?e.includes(".")?Lr(o,e):()=>o[e]:e.bind(o,o);let i;S(t)?i=t:(i=t.handler,n=t);const s=_i;Bi(this);const a=Br(r,i.bind(o),n);return s?Bi(s):ji(),a}function Lr(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{Nr(e,t)}));else if(C(e))for(const n in e)Nr(e[n],t);return e}function Dr(e,t){Fr(e,"a",t)}function Mr(e,t){Fr(e,"da",t)}function Fr(e,t,n=_i){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Rr(t,o,n),n){let e=n.parent;for(;e&&e.parent;)e.parent.vnode.type.__isKeepAlive&&Ur(o,t,n,e),e=e.parent}}function Ur(e,t,n,o){const r=Rr(t,e,o,!0);Vr((()=>{m(o[t],r)}),n)}function Rr(e,t,n=_i,o=!1){if(n){(function(e){return we.indexOf(e)>-1})(e)&&(n=n.root);const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;zn(),Bi(n);const r=ir(t,n,e,o);return ji(),Hn(),r});return o?r.unshift(i):r.push(i),i}}const Qr=e=>(t,n=_i)=>(!Ni||"sp"===e)&&Rr(e,((...e)=>t(...e)),n),qr=Qr("bm"),zr=Qr("m"),Hr=Qr("bu"),Wr=Qr("u"),$r=Qr("bum"),Vr=Qr("um"),Kr=Qr("sp"),Jr=Qr("rtg"),Yr=Qr("rtc");function Gr(e,t=_i){Rr("ec",e,t)}const Xr="components";function Zr(e,t){return e&&(e[t]||e[L(t)]||e[M(L(t))])}const ei=e=>e?Li(e)?Fi(e)||e.proxy:ei(e.parent):null,ti=g(Object.create(null),{$:e=>e,$el:e=>e.__$el||(e.__$el={}),$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ei(e.parent),$root:e=>ei(e.root),$emit:e=>e.emit,$options:e=>ci(e),$forceUpdate:e=>e.f||(e.f=()=>yr(e.update)),$watch:e=>jr.bind(e)}),ni=(e,t)=>e!==c&&!e.__isScriptSetup&&b(e,t),oi={get({_:e},t){const{ctx:n,setupState:o,data:r,props:i,accessCache:s,type:a,appContext:l}=e;let u;if("$"!==t[0]){const a=s[t];if(void 0!==a)switch(a){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(ni(o,t))return s[t]=1,o[t];if(r!==c&&b(r,t))return s[t]=2,r[t];if((u=e.propsOptions[0])&&b(u,t))return s[t]=3,i[t];if(n!==c&&b(n,t))return s[t]=4,n[t];ri&&(s[t]=0)}}const f=ti[t];let p,d;return f?("$attrs"===t&&Wn(e,0,t),f(e)):(p=a.__cssModules)&&(p=p[t])?p:n!==c&&b(n,t)?(s[t]=4,n[t]):(d=l.config.globalProperties,b(d,t)?d[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return ni(r,t)?(r[t]=n,!0):o!==c&&b(o,t)?(o[t]=n,!0):!b(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:i}},s){let a;return!!n[s]||e!==c&&b(e,s)||ni(t,s)||(a=i[0])&&b(a,s)||b(o,s)||b(ti,s)||b(r.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:b(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let ri=!0;function ii(e){const t=ci(e),n=e.proxy,o=e.ctx;ri=!1,t.beforeCreate&&si(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:s,watch:a,provide:c,inject:l,created:f,beforeMount:p,mounted:d,beforeUpdate:h,updated:g,activated:m,deactivated:y,beforeDestroy:b,beforeUnmount:w,destroyed:x,unmounted:A,render:T,renderTracked:E,renderTriggered:P,errorCaptured:I,serverPrefetch:C,expose:_,inheritAttrs:O,components:B,directives:j,filters:L}=t;if(l&&function(e,t,n=u,o=!1){v(e)&&(e=pi(e));for(const r in e){const n=e[r];let i;i=k(n)?"default"in n?Cr(n.from||r,n.default,!0):Cr(n.from||r):Cr(n),Ko(i)&&o?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[r]=i}}(l,o,null,e.appContext.config.unwrapInjectedRef),s)for(const u in s){const e=s[u];S(e)&&(o[u]=e.bind(n))}if(r){const t=r.call(n,n);k(t)&&(e.data=Do(t))}if(ri=!0,i)for(const v in i){const e=i[v],t=S(e)?e.bind(n,n):S(e.get)?e.get.bind(n,n):u,r=!S(e)&&S(e.set)?e.set.bind(n):u,s=Ui({get:t,set:r});Object.defineProperty(o,v,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(a)for(const u in a)ai(a[u],o,n,u);if(c){const e=S(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{!function(e,t){if(_i){let n=_i.provides;const o=_i.parent&&_i.parent.provides;o===n&&(n=_i.provides=Object.create(o)),n[e]=t,"app"===_i.type.mpType&&_i.appContext.app.provide(e,t)}}(t,e[t])}))}function N(e,t){v(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(f&&si(f,e,"c"),N(qr,p),N(zr,d),N(Hr,h),N(Wr,g),N(Dr,m),N(Mr,y),N(Gr,I),N(Yr,E),N(Jr,P),N($r,w),N(Vr,A),N(Kr,C),v(_))if(_.length){const t=e.exposed||(e.exposed={});_.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});T&&e.render===u&&(e.render=T),null!=O&&(e.inheritAttrs=O),B&&(e.components=B),j&&(e.directives=j),e.ctx.$onApplyOptions&&e.ctx.$onApplyOptions(t,e,n)}function si(e,t,n){ir(v(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function ai(e,t,n,o){const r=o.includes(".")?Lr(n,o):()=>n[o];if(A(e)){const n=t[e];S(n)&&Or(r,n)}else if(S(e))Or(r,e.bind(n));else if(k(e))if(v(e))e.forEach((e=>ai(e,t,n,o)));else{const o=S(e.handler)?e.handler.bind(n):t[e.handler];S(o)&&Or(r,o,e)}}function ci(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let c;return a?c=a:r.length||n||o?(c={},r.length&&r.forEach((e=>li(c,e,s,!0))),li(c,t,s)):c=t,k(t)&&i.set(t,c),c}function li(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&li(e,i,n,!0),r&&r.forEach((t=>li(e,t,n,!0)));for(const s in t)if(o&&"expose"===s);else{const o=ui[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const ui={data:fi,props:hi,emits:hi,methods:hi,computed:hi,beforeCreate:di,created:di,beforeMount:di,mounted:di,beforeUpdate:di,updated:di,beforeDestroy:di,beforeUnmount:di,destroyed:di,unmounted:di,activated:di,deactivated:di,errorCaptured:di,serverPrefetch:di,components:hi,directives:hi,watch:function(e,t){if(!e)return t;if(!t)return e;const n=g(Object.create(null),e);for(const o in t)n[o]=di(e[o],t[o]);return n},provide:fi,inject:function(e,t){return hi(pi(e),pi(t))}};function fi(e,t){return t?e?function(){return g(S(e)?e.call(this,this):e,S(t)?t.call(this,this):t)}:t:e}function pi(e){if(v(e)){const t={};for(let n=0;n{u=!0;const[n,o]=bi(e,t,!0);g(s,n),o&&a.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!i&&!u)return k(e)&&o.set(e,l),l;if(v(i))for(let l=0;l-1,n[1]=o<0||t-1||b(n,"default"))&&a.push(e)}}}const f=[s,a];return k(e)&&o.set(e,f),f}function vi(e){return"$"!==e[0]}function wi(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:null===e?"null":""}function xi(e,t){return wi(e)===wi(t)}function Si(e,t){return v(t)?t.findIndex((t=>xi(t,e))):S(t)&&xi(t,e)?0:-1}function Ai(){return{app:null,config:{isNativeTag:f,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ti=0;const ki=vr;function Ei(e){return e?Uo(t=e)||Ro(t)||"__vInternal"in e?g({},e):e:null;var t}const Pi=Ai();let Ii=0;function Ci(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||Pi,i={uid:Ii++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Pn(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:bi(o,r),emitsOptions:kr(o,r),emit:null,emitted:null,propsDefaults:c,inheritAttrs:o.inheritAttrs,ctx:c,data:c,props:c,attrs:c,slots:c,refs:c,setupState:c,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Tr.bind(null,i),e.ce&&e.ce(i),i}let _i=null;const Oi=()=>_i||Pr,Bi=e=>{_i=e,e.scope.on()},ji=()=>{_i&&_i.scope.off(),_i=null};function Li(e){return 4&e.vnode.shapeFlag}let Ni=!1;function Di(e,t=!1){Ni=t;const{props:n}=e.vnode,o=Li(e);gi(e,n,o,t);const r=o?function(e){const t=e.type;e.accessCache=Object.create(null),e.proxy=zo(new Proxy(e.ctx,oi));const{setup:n}=t;if(n){const t=e.setupContext=n.length>1?function(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=function(e){return new Proxy(e.attrs,{get:(t,n)=>(Wn(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t}}(e):null;Bi(e),zn();const o=rr(n,e,0,[e.props,t]);Hn(),ji(),E(o)?o.then(ji,ji):function(e,t){S(t)?e.render=t:k(t)&&(e.setupState=Zo(t));Mi(e)}(e,o)}else Mi(e)}(e):void 0;return Ni=!1,r}function Mi(e,t,n){const o=e.type;e.render||(e.render=o.render||u),Bi(e),zn(),ii(e),Hn(),ji()}function Fi(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Zo(zo(e.exposed)),{get:(t,n)=>n in t?t[n]:e.proxy[n],has:(e,t)=>t in e||t in ti}))}const Ui=(e,t)=>function(e,t,n=!1){let o,r;const i=S(e);return i?(o=e,r=u):(o=e.get,r=e.set),new or(o,r,i||!r,n)}(e,0,Ni),Ri="3.2.47";function Qi(e){return Go(e)}const qi="[object Array]",zi="[object Object]";function Hi(e,t){const n={};return Wi(e,t),$i(e,t,"",n),n}function Wi(e,t){if((e=Qi(e))===t)return;const n=I(e),o=I(t);if(n==zi&&o==zi)for(let r in t){const n=e[r];void 0===n?e[r]=null:Wi(n,t[r])}else n==qi&&o==qi&&e.length>=t.length&&t.forEach(((t,n)=>{Wi(e[n],t)}))}function $i(e,t,n,o){if((e=Qi(e))===t)return;const r=I(e),i=I(t);if(r==zi)if(i!=zi||Object.keys(e).length{$i(e,i[t],(""==n?"":n+".")+s+"["+t+"]",o)}));else if(a==zi)if(c!=zi||Object.keys(r).length{$i(e,t[r],n+"["+r+"]",o)})):Vi(o,n,e)}function Vi(e,t,n){e[t]=n}function Ki(e){const t=e.ctx.__next_tick_callbacks;if(t&&t.length){const e=t.slice(0);t.length=0;for(let t=0;t{t?rr(t.bind(e.proxy),e,14):o&&o(e.proxy)})),new Promise((e=>{o=e}))}function Yi(e,t){const n=typeof(e=Qi(e));if("object"===n&&null!==e){let n=t.get(e);if(void 0!==n)return n;if(v(e)){const o=e.length;n=new Array(o),t.set(e,n);for(let r=0;r{o[e]=n[e]})),o}(r,i));Object.keys(s).length?(o.__next_tick_pending=!0,r.setData(s,(()=>{o.__next_tick_pending=!1,Ki(e)})),wr()):Ki(e)}}function Zi(e,t,n){t.appContext.config.globalProperties.$applyOptions(e,t,n);const o=e.computed;if(o){const e=Object.keys(o);if(e.length){const n=t.ctx;n.$computedKeys||(n.$computedKeys=[]),n.$computedKeys.push(...e)}}delete t.ctx.$onApplyOptions}function es(e,t=!1){const{setupState:n,$templateRefs:o,ctx:{$scope:r,$mpPlatform:i}}=e;if("mp-alipay"===i)return;if(!o||!r)return;if(t)return o.forEach((e=>ts(e,null,n)));const s="mp-baidu"===i||"mp-toutiao"===i,a=e=>{const t=(r.selectAllComponents(".r")||[]).concat(r.selectAllComponents(".r-i-f")||[]);return e.filter((e=>{const o=function(e,t){const n=e.find((e=>e&&(e.properties||e.props).uI===t));if(n){const e=n.$vm;return e?Fi(e.$)||e:function(e){k(e)&&zo(e);return e}(n)}return null}(t,e.i);return!(!s||null!==o)||(ts(e,o,n),!1)}))},c=()=>{const t=a(o);t.length&&e.proxy&&e.proxy.$scope&&e.proxy.$scope.setData({r1:1},(()=>{a(t)}))};r._$setRef?r._$setRef(c):Ji(e,c)}function ts({r:e,f:t},n,o){if(S(e))e(n,{});else{const r=A(e),i=Ko(e);if(r||i)if(t){if(!i)return;v(e.value)||(e.value=[]);const t=e.value;if(-1===t.indexOf(n)){if(t.push(n),!n)return;$r((()=>m(t,n)),n.$)}}else r?b(o,e)&&(o[e]=n):Ko(e)&&(e.value=n)}}var ns,os;(os=ns||(ns={})).APP="app",os.PAGE="page",os.COMPONENT="component";const rs=vr;function is(e,t){const n=e.component=Ci(e,t.parentComponent,null);return n.ctx.$onApplyOptions=Zi,n.ctx.$children=[],"app"===t.mpType&&(n.render=u),t.onBeforeSetup&&t.onBeforeSetup(n,t),Di(n),t.parentComponent&&n.proxy&&t.parentComponent.ctx.$children.push(Fi(n)||n.proxy),function(e){const t=us.bind(e);e.$updateScopedSlots=()=>mr((()=>yr(t)));const n=()=>{if(e.isMounted){const{next:t,bu:n,u:o}=e;fs(e,!1),ls(),n&&R(n),fs(e,!0),Xi(e,as(e)),o&&rs(o)}else $r((()=>{es(e,!0)}),e),Xi(e,as(e))},o=e.effect=new Un(n,(()=>yr(e.update)),e.scope),r=e.update=o.run.bind(o);r.id=e.uid,fs(e,!0),r()}(n),n.proxy}const ss=e=>{let t;for(const n in e)("class"===n||"style"===n||d(n))&&((t||(t={}))[n]=e[n]);return t};function as(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[s],slots:a,attrs:c,emit:l,render:u,renderCache:f,data:p,setupState:d,ctx:h,uid:g,appContext:{app:{config:{globalProperties:{pruneComponentPropsCache:m}}}},inheritAttrs:y}=e;let b;e.$templateRefs=[],e.$ei=0,m(g),e.__counter=0===e.__counter?1:0;const v=Ir(e);try{if(4&n.shapeFlag){cs(y,i,s,c);const e=r||o;b=u.call(e,e,f,i,d,p,h)}else{cs(y,i,s,t.props?c:ss(c));const e=t;b=e.length>1?e(i,{attrs:c,slots:a,emit:l}):e(i,null)}}catch(w){sr(w,e,1),b=!1}return es(e),Ir(v),b}function cs(e,t,n,o){if(t&&o&&!1!==e){const e=Object.keys(o).filter((e=>"class"!==e&&"style"!==e));if(!e.length)return;n&&e.some(h)?e.forEach((e=>{h(e)&&e.slice(9)in n||(t[e]=o[e])})):e.forEach((e=>t[e]=o[e]))}}const ls=e=>{zn(),wr(),Hn()};function us(){const e=this.$scopedSlotsData;if(!e||0===e.length)return;const t=this.ctx.$scope,n=t.data,o=Object.create(null);e.forEach((({path:e,index:t,data:r})=>{const i=me(n,e),s=A(t)?`${e}.${t}`:`${e}[${t}]`;if(void 0===i||void 0===i[t])o[s]=r;else{const e=Hi(r,i[t]);Object.keys(e).forEach((t=>{o[s+"."+t]=e[t]}))}})),e.length=0,Object.keys(o).length&&t.setData(o)}function fs({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}const ps=function(e,t=null){S(e)||(e=Object.assign({},e)),null==t||k(t)||(t=null);const n=Ai(),o=new Set,r=n.app={_uid:Ti++,_component:e,_props:t,_container:null,_context:n,_instance:null,version:Ri,get config(){return n.config},set config(e){},use:(e,...t)=>(o.has(e)||(e&&S(e.install)?(o.add(e),e.install(r,...t)):S(e)&&(o.add(e),e(r,...t))),r),mixin:e=>(n.mixins.includes(e)||n.mixins.push(e),r),component:(e,t)=>t?(n.components[e]=t,r):n.components[e],directive:(e,t)=>t?(n.directives[e]=t,r):n.directives[e],mount(){},unmount(){},provide:(e,t)=>(n.provides[e]=t,r)};return r};function ds(e,t=null){("undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof my?my:void 0).__VUE__=!0;const n=ps(e,t),o=n._context;o.config.globalProperties.$nextTick=function(e){return Ji(this.$,e)};const r=e=>(e.appContext=o,e.shapeFlag=6,e),i=function(e,t){return is(r(e),t)},s=function(e){return e&&function(e){const{bum:t,scope:n,update:o,um:r}=e;t&&R(t),n.stop(),o&&(o.active=!1),r&&rs(r),rs((()=>{e.isUnmounted=!0}))}(e.$)};return n.mount=function(){e.render=u;const t=is(r({type:e}),{mpType:ns.APP,mpInstance:null,parentComponent:null,slots:[],props:null});return n._instance=t.$,t.$app=n,t.$createComponent=i,t.$destroyComponent=s,o.$appInstance=t,t},n.unmount=function(){},n}function hs(e,t,n,o){S(t)&&Rr(e,t.bind(n),o)}function gs(e,t,n){!function(e,t,n){const o=e.mpType||n.$mpType;o&&"component"!==o&&Object.keys(e).forEach((o=>{if(Ae(o,e[o],!1)){const r=e[o];v(r)?r.forEach((e=>hs(o,e,n,t))):hs(o,r,n,t)}}))}(e,t,n)}function ms(e,t,n){return e[t]=n}function ys(e){return function(t,n,o){if(!n)throw t;const r=e._instance;if(!r||!r.proxy)throw t;r.proxy.$callHook(W,t)}}function bs(e,t){return e?[...new Set([].concat(e,t))]:t}let vs;const ws="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",xs=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function Ss(){const e=kn.getStorageSync("uni_id_token")||"",t=e.split(".");if(!e||3!==t.length)return{uid:null,role:[],permission:[],tokenExpired:0};let n;try{n=JSON.parse((o=t[1],decodeURIComponent(vs(o).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(r){throw new Error("获取当前用户信息出错,详细错误信息为:"+r.message)}var o;return n.tokenExpired=1e3*n.exp,delete n.exp,delete n.iat,n}function As(e){const t=e._context.config;var n;t.errorHandler=Ee(e,ys),n=t.optionMergeStrategies,xe.forEach((e=>{n[e]=bs}));const o=t.globalProperties;!function(e){e.uniIDHasRole=function(e){const{role:t}=Ss();return t.indexOf(e)>-1},e.uniIDHasPermission=function(e){const{permission:t}=Ss();return this.uniIDHasRole("admin")||t.indexOf(e)>-1},e.uniIDTokenValid=function(){const{tokenExpired:e}=Ss();return e>Date.now()}}(o),o.$set=ms,o.$applyOptions=gs,kn.invokeCreateVueAppHook(e)}vs="function"!=typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!xs.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var n,o,r="",i=0;i>16&255):64===o?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return r}:atob;const Ts=Object.create(null);function ks(e){delete Ts[e]}function Es(e){if(!e)return;const[t,n]=e.split(",");return Ts[t]?Ts[t][parseInt(n)]:void 0}var Ps={install(e){As(e),e.config.globalProperties.pruneComponentPropsCache=ks;const t=e.mount;e.mount=function(n){const o=t.call(e,n),r=function(){const e="createApp";if("undefined"!=typeof global)return global[e];if("undefined"!=typeof my)return my[e]}();return r?r(o):"undefined"!=typeof createMiniProgramApp&&createMiniProgramApp(o),o}}};function Is(e,t){const n=Oi(),o=n.ctx,r=void 0===t||"mp-weixin"!==o.$mpPlatform&&"mp-qq"!==o.$mpPlatform||!A(t)&&"number"!=typeof t?"":"_"+t,i="e"+n.$ei+++r,s=o.$scope;if(!e)return delete s[i],i;const a=s[i];return a?a.value=e:s[i]=function(e,t){const n=e=>{var o;(o=e).type&&o.target&&(o.preventDefault=u,o.stopPropagation=u,o.stopImmediatePropagation=u,b(o,"detail")||(o.detail={}),b(o,"markerId")&&(o.detail="object"==typeof o.detail?o.detail:{},o.detail.markerId=o.markerId),C(o.detail)&&b(o.detail,"checked")&&!b(o.detail,"value")&&(o.detail.value=o.detail.checked),C(o.detail)&&(o.target=g({},o.target,o.detail)));let r=[e];e.detail&&e.detail.__args__&&(r=e.detail.__args__);const i=n.value,s=()=>ir(function(e,t){if(v(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n&&n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,i),t,5,r),a=e.target,c=!!a&&(!!a.dataset&&"true"===String(a.dataset.eventsync));if(!Cs.includes(e.type)||c){const t=s();if("input"===e.type&&(v(t)||E(t)))return;return t}setTimeout(s)};return n.value=e,n}(e,n),i}const Cs=["tap","longpress","longtap","transitionend","animationstart","animationiteration","animationend","touchforcechange"];function _s(e,t={},n){const o=Oi(),{parent:r,isMounted:i,ctx:{$scope:s}}=o,a=(s.properties||s.props).uI;if(!a)return;if(!r&&!i)return void zr((()=>{_s(e,t,n)}),o);const c=function(e,t){let n=t.parent;for(;n;){const t=n.$ssi;if(t&&t[e])return t[e];n=n.parent}}(a,o);c&&c(e,t,n)}function Os(e){return A(e)?e:function(e){let t="";if(!e||A(e))return t;for(const n in e)t+=`${n.startsWith("--")?n:D(n)}:${e[n]};`;return t}(t(e))}const Bs=function(e,t=null){return e&&(e.mpType="app"),ds(e,t).use(Ps)},js=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];function Ls(e,t){const n=e.ctx;n.mpType=t.mpType,n.$mpType=t.mpType,n.$mpPlatform="mp-weixin",n.$scope=t.mpInstance,n.$mp={},n._self={},e.slots={},v(t.slots)&&t.slots.length&&(t.slots.forEach((t=>{e.slots[t]=!0})),e.slots.d&&(e.slots.default=!0)),n.getOpenerEventChannel=function(){return t.mpInstance.getOpenerEventChannel()},n.$hasHook=Ns,n.$callHook=Ds,e.emit=function(e,t){return function(n,...o){const r=t.$scope;if(r&&n){const e={__args__:o};r.triggerEvent(n,e)}return e.apply(this,[n,...o])}}(e.emit,n)}function Ns(e){const t=this.$[e];return!(!t||!t.length)}function Ds(e,t){"mounted"===e&&(Ds.call(this,"bm"),this.$.isMounted=!0,e="m");const n=this.$[e];return n&&((e,t)=>{let n;for(let o=0;o{Ae(n,e[n])&&t.add(n)}));{const{extends:n,mixins:o}=e;o&&o.forEach((e=>Fs(e,t))),n&&Fs(n,t)}}return t}function Us(e,t,n){-1!==n.indexOf(t)||b(e,t)||(e[t]=function(e){return this.$vm&&this.$vm.$callHook(t,e)})}const Rs=[Y];function Qs(e,t,n=Rs){t.forEach((t=>Us(e,t,n)))}function qs(e,t,n=Rs){Fs(t).forEach((t=>Us(e,t,n)))}const zs=ge((()=>{const e=[],t=S(getApp)&&getApp({allowDefault:!0});if(t&&t.$vm&&t.$vm.$){const n=t.$vm.$.appContext.mixins;if(v(n)){const t=Object.keys(Se);n.forEach((n=>{t.forEach((t=>{b(n,t)&&!e.includes(t)&&e.push(t)}))}))}}return e}));const Hs=[q,z,W,$,V,K];function Ws(e,t){const n=e.$,o={globalData:e.$options&&e.$options.globalData||{},$vm:e,onLaunch(t){this.$vm=e;const o=n.ctx;this.$vm&&o.$scope||(Ls(n,{mpType:"app",mpInstance:this,slots:[]}),o.globalData=this.globalData,e.$callHook(H,t))}};!function(e){const t=Jo(Fe(wx.getSystemInfoSync().language)||Le);Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(e);const r=e.$.type;Qs(o,Hs),qs(o,r);{const e=r.methods;e&&g(o,e)}return t&&t.parse(o),o}function $s(e,t){if(S(e.onLaunch)){const t=wx.getLaunchOptionsSync&&wx.getLaunchOptionsSync();e.onLaunch(t)}S(e.onShow)&&wx.onAppShow&&wx.onAppShow((e=>{t.$callHook("onShow",e)})),S(e.onHide)&&wx.onAppHide&&wx.onAppHide((e=>{t.$callHook("onHide",e)}))}const Vs=["externalClasses"];const Ks=/_(.*)_worklet_factory_/;function Js(e,t){const n=e.$children;for(let r=n.length-1;r>=0;r--){const e=n[r];if(e.$scope._$vueId===t)return e}let o;for(let r=n.length-1;r>=0;r--)if(o=Js(n[r],t),o)return o}const Ys=["eO","uR","uRIF","uI","uT","uP","uS"];function Gs(e){e.properties||(e.properties={}),g(e.properties,function(e,t=!1){const n={};return t||(Ys.forEach((e=>{n[e]={type:null,value:""}})),n.uS={type:null,value:[],observer:function(e){const t=Object.create(null);e&&e.forEach((e=>{t[e]=!0})),this.setData({$slots:t})}}),e.behaviors&&e.behaviors.includes("wx://form-field")&&(e.properties&&e.properties.name||(n.name={type:null,value:""}),e.properties&&e.properties.value||(n.value={type:null,value:""})),n}(e),function(e){const t={};return e&&e.virtualHost&&(t.virtualHostStyle={type:null,value:""},t.virtualHostClass={type:null,value:""}),t}(e.options))}const Xs=[String,Number,Boolean,Object,Array,null];function Zs(e,t){const n=function(e){return v(e)&&1===e.length?e[0]:e}(e);return-1!==Xs.indexOf(n)?n:null}function ea(e,t){return(t?function(e){const t={};C(e)&&Object.keys(e).forEach((n=>{-1===Ys.indexOf(n)&&(t[n]=e[n])}));return t}(e):Es(e.uP))||{}}function ta(e){const t=function(){const e=this.properties.uP;e&&(this.$vm?function(e,t){const n=qo(t.props),o=Es(e)||{};na(n,o)&&(!function(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,a=qo(r),[c]=e.propsOptions;let l=!1;if(!(o||s>0)||16&s){let o;mi(e,t,r,i)&&(l=!0);for(const i in a)t&&(b(t,i)||(o=D(i))!==i&&b(t,o))||(c?!n||void 0===n[i]&&void 0===n[o]||(r[i]=yi(c,a,i,void 0,e,!0)):delete r[i]);if(i!==a)for(const e in i)t&&b(t,e)||(delete i[e],l=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o-1&&function(e){const t=lr.indexOf(e);t>ur&&lr.splice(t,1)}(t.update),t.update());var r}(e,this.$vm.$):"m"===this.properties.uT&&function(e,t){const n=t.properties,o=Es(e)||{};na(n,o,!1)&&t.setData(o)}(e,this))};e.observers||(e.observers={}),e.observers.uP=t}function na(e,t,n=!0){const o=Object.keys(t);if(n&&o.length!==Object.keys(e).length)return!0;for(let r=0;r{o.push(e.replace("uni://","wx://")),"uni://form-field"===e&&(v(n)?(n.push("name"),n.push("modelValue")):(n.name={type:String,default:""},n.modelValue={type:[String,Number,Boolean,Array,Object,Date],default:""}))})),o}(t)}function ra(e,{parse:t,mocks:n,isPage:o,initRelation:r,handleLink:i,initLifetimes:s}){e=e.default||e;const a={multipleSlots:!0,addGlobalClass:!0,pureDataPattern:/^uP$/};v(e.mixins)&&e.mixins.forEach((e=>{k(e.options)&&g(a,e.options)})),e.options&&g(a,e.options);const c={options:a,lifetimes:s({mocks:n,isPage:o,initRelation:r,vueOptions:e}),pageLifetimes:{show(){this.$vm&&this.$vm.$callHook("onPageShow")},hide(){this.$vm&&this.$vm.$callHook("onPageHide")},resize(e){this.$vm&&this.$vm.$callHook("onPageResize",e)}},methods:{__l:i}};var l,u,f,p;return oa(c,e),Gs(c),ta(c),function(e,t){Vs.forEach((n=>{b(t,n)&&(e[n]=t[n])}))}(c,e),l=c.methods,u=e.wxsCallMethods,v(u)&&u.forEach((e=>{l[e]=function(t){return this.$vm[e](t)}})),f=c.methods,(p=e.methods)&&Object.keys(p).forEach((e=>{const t=e.match(Ks);if(t){const n=t[1];f[e]=p[e],f[n]=p[n]}})),t&&t(c,{handleLink:i}),c}let ia,sa;function aa(){return getApp().$vm}function ca(e,t){const{parse:n,mocks:o,isPage:r,initRelation:i,handleLink:s,initLifetimes:a}=t,c=ra(e,{mocks:o,isPage:r,initRelation:i,handleLink:s,initLifetimes:a});!function({properties:e},t){v(t)?t.forEach((t=>{e[t]={type:String,value:""}})):C(t)&&Object.keys(t).forEach((n=>{const o=t[n];if(C(o)){let t=o.default;S(t)&&(t=t());const r=o.type;o.type=Zs(r),e[n]={type:o.type,value:t}}else e[n]={type:Zs(o)}}))}(c,(e.default||e).props);const l=c.methods;return l.onLoad=function(e){var t;return this.options=e,this.$page={fullPath:(t=this.route+ve(e),function(e){return 0===e.indexOf("/")}(t)?t:"/"+t)},this.$vm&&this.$vm.$callHook(J,e)},Qs(l,Ms),qs(l,e),function(e,t){if(!t)return;Object.keys(Se).forEach((n=>{t&Se[n]&&Us(e,n,[])}))}(l,e.__runtimeHooks),Qs(l,zs()),n&&n(c,{handleLink:s}),c}const la=Page,ua=Component;function fa(e){const t=e.triggerEvent,n=function(n,...o){return t.apply(e,[(r=n,L(r.replace(he,"-"))),...o]);var r};try{e.triggerEvent=n}catch(o){e._triggerEvent=n}}function pa(e,t,n){const o=t[e];t[e]=o?function(...e){return fa(this),o.apply(this,e)}:function(){fa(this)}}Page=function(e){return pa(J,e),la(e)},Component=function(e){pa("created",e);return e.properties&&e.properties.uP||(Gs(e),ta(e)),ua(e)};var da=Object.freeze({__proto__:null,handleLink:function(e){const t=e.detail||e.value,n=t.vuePid;let o;n&&(o=Js(this.$vm,n)),o||(o=this.$vm),t.parent=o},initLifetimes:function({mocks:e,isPage:t,initRelation:n,vueOptions:o}){return{attached(){let r=this.properties;!function(e,t){if(!e)return;const n=e.split(","),o=n.length;1===o?t._$vueId=n[0]:2===o&&(t._$vueId=n[0],t._$vuePid=n[1])}(r.uI,this);const i={vuePid:this._$vuePid};n(this,i);const s=this,a=t(s);let c=r;this.$vm=function(e,t){ia||(ia=aa().$createComponent);const n=ia(e,t);return Fi(n.$)||n}({type:o,props:ea(c,a)},{mpType:a?"page":"component",mpInstance:s,slots:r.uS||{},parentComponent:i.parent&&i.parent.$,onBeforeSetup(t,n){!function(e,t){Object.defineProperty(e,"refs",{get(){const e={};return function(e,t,n){e.selectAllComponents(t).forEach((e=>{const t=e.properties.uR;n[t]=e.$vm||e}))}(t,".r",e),t.selectAllComponents(".r-i-f").forEach((t=>{const n=t.properties.uR;n&&(e[n]||(e[n]=[]),e[n].push(t.$vm||t))})),e}})}(t,s),function(e,t,n){const o=e.ctx;n.forEach((n=>{b(t,n)&&(e[n]=o[n]=t[n])}))}(t,s,e),function(e,t){Ls(e,t);const n=e.ctx;js.forEach((e=>{n[e]=function(...t){const o=n.$scope;if(o&&o[e])return o[e].apply(o,t)}}))}(t,n)}}),a||function(e){const t=e.$options;v(t.behaviors)&&t.behaviors.includes("uni://form-field")&&e.$watch("modelValue",(()=>{e.$scope&&e.$scope.setData({name:e.name,value:e.modelValue})}),{immediate:!0})}(this.$vm)},ready(){this.$vm&&(this.$vm.$callHook("mounted"),this.$vm.$callHook(Y))},detached(){var e;this.$vm&&(ks(this.$vm.$.uid),e=this.$vm,sa||(sa=aa().$destroyComponent),sa(e))}}},initRelation:function(e,t){e.triggerEvent("__l",t)},isPage:function(e){return!!e.route},mocks:["__route__","__wxExparserNodeId__","__wxWebviewId__"]});const ha=function(e){return App(Ws(e,ga))};var ga;const ma=(ya=da,function(e){return Component(ca(e,ya))});var ya;const ba=function(e){return function(t){return Component(ra(t,e))}}(da),va=function(e){return function(t){$s(Ws(t,e),t)}}(),wa=function(e){return function(t){const n=Ws(t,e),o=S(getApp)&&getApp({allowDefault:!0});if(!o)return;t.$.ctx.$scope=o;const r=o.globalData;r&&Object.keys(n.globalData).forEach((e=>{b(r,e)||(r[e]=n.globalData[e])})),Object.keys(n).forEach((e=>{b(o,e)||(o[e]=n[e])})),$s(n,t)}}();wx.createApp=global.createApp=ha,wx.createPage=ma,wx.createComponent=ba,wx.createPluginApp=global.createPluginApp=va,wx.createSubpackageApp=global.createSubpackageApp=wa; +"use strict";function e(e,t){const o=Object.create(null),n=e.split(",");for(let r=0;r!!o[e.toLowerCase()]:e=>!!o[e]}function t(e){if(b(e)){const o={};for(let n=0;n{if(e){const o=e.split(n);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function s(e){let t="";if(k(e))t=e;else if(b(e))for(let o=0;ot&&t.__v_isRef?a(e,t.value):w(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,o])=>(e[`${t} =>`]=o,e),{})}:S(t)?{[`Set(${t.size})`]:[...t.values()]}:!C(t)||b(t)||P(t)?t:String(t),c={},u=[],l=()=>{},p=()=>!1,d=/^on[^a-z]/,f=e=>d.test(e),h=e=>e.startsWith("onUpdate:"),g=Object.assign,m=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},y=Object.prototype.hasOwnProperty,v=(e,t)=>y.call(e,t),b=Array.isArray,w=e=>"[object Map]"===E(e),S=e=>"[object Set]"===E(e),x=e=>"function"==typeof e,k=e=>"string"==typeof e,A=e=>"symbol"==typeof e,C=e=>null!==e&&"object"==typeof e,T=e=>C(e)&&x(e.then)&&x(e.catch),I=Object.prototype.toString,E=e=>I.call(e),P=e=>"[object Object]"===E(e),B=e=>k(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,O=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),_=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},L=/-(\w)/g,N=_(e=>e.replace(L,(e,t)=>t?t.toUpperCase():"")),j=/\B([A-Z])/g,D=_(e=>e.replace(j,"-$1").toLowerCase()),M=_(e=>e.charAt(0).toUpperCase()+e.slice(1)),F=_(e=>e?`on${M(e)}`:""),R=(e,t)=>!Object.is(e,t),z=(e,t)=>{for(let o=0;o{const t=parseFloat(e);return isNaN(t)?e:t},Q="onShow",H="onHide",q="onLaunch",W="onError",V="onThemeChange",$="onPageNotFound",K="onUnhandledRejection",Y="onLoad",J="onReady",X="onUnload",G="onInit",Z="onSaveExitState",ee="onResize",te="onBackPress",oe="onPageScroll",ne="onTabItemTap",re="onReachBottom",ie="onPullDownRefresh",se="onShareTimeline",ae="onAddToFavorites",ce="onShareAppMessage",ue="onNavigationBarButtonTap",le="onNavigationBarSearchInputClicked",pe="onNavigationBarSearchInputChanged",de="onNavigationBarSearchInputConfirmed",fe="onNavigationBarSearchInputFocusChanged",he=/:/g;function ge(e,t=null){let o;return(...n)=>(e&&(o=e.apply(t,n),e=null),o)}function me(e,t){if(!k(t))return;const o=(t=t.replace(/\[(\d+)\]/g,".$1")).split(".");let n=o[0];return e||(e={}),1===o.length?e[n]:me(e[n],o.slice(1).join("."))}function ye(e){let t={};return P(e)&&Object.keys(e).sort().forEach(o=>{const n=o;t[n]=e[n]}),Object.keys(t)?t:e}const ve=encodeURIComponent;function be(e,t=ve){const o=e?Object.keys(e).map(o=>{let n=e[o];return void 0===typeof n||null===n?n="":P(n)&&(n=JSON.stringify(n)),t(o)+"="+t(n)}).filter(e=>e.length>0).join("&"):null;return o?`?${o}`:""}const we=[G,Y,Q,H,X,te,oe,ne,re,ie,se,ce,ae,Z,ue,le,pe,de,fe];const Se=[Q,H,q,W,V,$,K,G,Y,J,X,ee,te,oe,ne,re,ie,se,ae,ce,Z,ue,le,pe,de,fe],xe=(()=>({onPageScroll:1,onShareAppMessage:2,onShareTimeline:4}))();function ke(e,t,o=!0){return!(o&&!x(t))&&(Se.indexOf(e)>-1||0===e.indexOf("on"))}let Ae;const Ce=[];const Te=ge((e,t)=>{if(x(e._component.onError))return t(e)}),Ie=function(){};Ie.prototype={on:function(e,t,o){var n=this.e||(this.e={});return(n[e]||(n[e]=[])).push({fn:t,ctx:o}),this},once:function(e,t,o){var n=this;function r(){n.off(e,r),t.apply(o,arguments)}return r._=t,this.on(e,r,o)},emit:function(e){for(var t=[].slice.call(arguments,1),o=((this.e||(this.e={}))[e]||[]).slice(),n=0,r=o.length;nje.call(e,t),Me=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,o=Pe){if(!t)return[e];let n=this._caches[e];return n||(n=function(e,[t,o]){const n=[];let r=0,i="";for(;r-1?_e:e.indexOf("-hant")>-1?Le:(o=e,["-tw","-hk","-mo","-cht"].find(e=>-1!==o.indexOf(e))?Le:_e);var o;let n=[Ne,"fr","es"];t&&Object.keys(t).length>0&&(n=Object.keys(t));const r=function(e,t){return t.find(t=>0===e.indexOf(t))}(e,n);return r||void 0}class Re{constructor({locale:e,fallbackLocale:t,messages:o,watcher:n,formater:r}){this.locale=Ne,this.fallbackLocale=Ne,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||Me,this.messages=o||{},this.setLocale(e||Ne),n&&this.watchLocale(n)}setLocale(e){const t=this.locale;this.locale=Fe(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach(e=>{e(this.locale,t)})}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,o=!0){const n=this.messages[e];n?o?Object.assign(n,t):Object.keys(t).forEach(e=>{De(n,e)||(n[e]=t[e])}):this.messages[e]=t}f(e,t,o){return this.formater.interpolate(e,t,o).join("")}t(e,t,o){let n=this.message;return"string"==typeof t?(t=Fe(t,this.messages))&&(n=this.messages[t]):o=t,De(n,e)?this.formater.interpolate(n[e],o).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function ze(e){return function(){try{return e.apply(e,arguments)}catch(hp){console.error(hp)}}}let Ue=1;const Qe={};function He(e,t,o){if("number"==typeof e){const n=Qe[e];if(n)return n.keepAlive||delete Qe[e],n.callback(t,o)}return t}const qe="success",We="fail",Ve="complete";function $e(e,t={},{beforeAll:o,beforeSuccess:n}={}){P(t)||(t={});const{success:r,fail:i,complete:s}=function(e){const t={};for(const o in e){const n=e[o];x(n)&&(t[o]=ze(n),delete e[o])}return t}(t),a=x(r),c=x(i),u=x(s),l=Ue++;return function(e,t,o,n=!1){Qe[e]={name:t,keepAlive:n,callback:o}}(l,e,l=>{(l=l||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(l.errMsg,e),x(o)&&o(l),l.errMsg===e+":ok"?(x(n)&&n(l,t),a&&r(l)):c&&i(l),u&&s(l)}),l}const Ke="success",Ye="fail",Je="complete",Xe={},Ge={};function Ze(e,t){return function(o){return e(o,t)||o}}function et(e,t,o){let n=!1;for(let r=0;re(t),catch(){}}}function tt(e,t={}){return[Ke,Ye,Je].forEach(o=>{const n=e[o];if(!b(n))return;const r=t[o];t[o]=function(e){et(n,e,t).then(e=>x(r)&&r(e)||e)}}),t}function ot(e,t){const o=[];b(Xe.returnValue)&&o.push(...Xe.returnValue);const n=Ge[e];return n&&b(n.returnValue)&&o.push(...n.returnValue),o.forEach(e=>{t=e(t)||t}),t}function nt(e){const t=Object.create(null);Object.keys(Xe).forEach(e=>{"returnValue"!==e&&(t[e]=Xe[e].slice())});const o=Ge[e];return o&&Object.keys(o).forEach(e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(o[e]))}),t}function rt(e,t,o,n){const r=nt(e);if(r&&Object.keys(r).length){if(b(r.invoke)){return et(r.invoke,o).then(o=>t(tt(nt(e),o),...n))}return t(tt(r,o),...n)}return t(o,...n)}function it(e,t){return(o={},...n)=>function(e){return!(!P(e)||![qe,We,Ve].find(t=>x(e[t])))}(o)?ot(e,rt(e,t,o,n)):ot(e,new Promise((r,i)=>{rt(e,t,g(o,{success:r,fail:i}),n)}))}function st(e,t,o,n){return He(e,g({errMsg:t+":fail"+(o?" "+o:"")},n))}function at(e,t,o,n){if(n&&n.beforeInvoke){const e=n.beforeInvoke(t);if(k(e))return e}const r=function(e,t){const o=e[0];if(!t||!P(t.formatArgs)&&P(o))return;const n=t.formatArgs,r=Object.keys(n);for(let i=0;i{const r=$e(e,o,n),i=at(0,[o],0,n);return i?st(r,e,i):t(o,{resolve:t=>function(e,t,o){return He(e,g(o||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,o)=>st(r,e,function(e){return!e||k(e)?e:e.stack?(console.error(e.message+"\n"+e.stack),e.message):e}(t),o)})}}function ut(e,t,o,n){return function(e,t,o,n){return(...e)=>{const o=at(0,e,0,n);if(o)throw new Error(o);return t.apply(null,e)}}(0,t,0,n)}let lt=!1,pt=0,dt=0;function ft(){const{platform:e,pixelRatio:t,windowWidth:o}=wx.getSystemInfoSync();pt=o,dt=t,lt="ios"===e}const ht=ut(0,(e,t)=>{if(0===pt&&ft(),0===(e=Number(e)))return 0;let o=e/750*(t||pt);return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==dt&<?.5:1),e<0?-o:o});function gt(e,t){Object.keys(t).forEach(o=>{x(t[o])&&(e[o]=function(e,t){const o=t?e?e.concat(t):b(t)?t:[t]:e;return o?function(e){const t=[];for(let o=0;o{const n=e[o],r=t[o];b(n)&&x(r)&&m(n,r)})}const yt=ut(0,(e,t)=>{k(e)&&P(t)?gt(Ge[e]||(Ge[e]={}),t):P(e)&>(Xe,e)}),vt=ut(0,(e,t)=>{k(e)?P(t)?mt(Ge[e],t):delete Ge[e]:P(e)&&mt(Xe,e)}),bt=new Ee,wt=ut(0,(e,t)=>(bt.on(e,t),()=>bt.off(e,t))),St=ut(0,(e,t)=>(bt.once(e,t),()=>bt.off(e,t))),xt=ut(0,(e,t)=>{e?(b(e)||(e=[e]),e.forEach(e=>bt.off(e,t))):bt.e={}}),kt=ut(0,(e,...t)=>{bt.emit(e,...t)});let At,Ct,Tt;function It(e){try{return JSON.parse(e)}catch(hp){}return e}const Et=[];function Pt(e,t){Et.forEach(o=>{o(e,t)}),Et.length=0}const Bt=it(Ot="getPushClientId",function(e,t,o,n){return ct(e,t,0,n)}(Ot,(e,{resolve:t,reject:o})=>{Promise.resolve().then(()=>{void 0===Tt&&(Tt=!1,At="",Ct="uniPush is not enabled"),Et.push((e,n)=>{e?t({cid:e}):o(n)}),void 0!==At&&Pt(At,Ct)})},0,_t));var Ot,_t;const Lt=[],Nt=/^\$|getLocale|setLocale|sendNativeEvent|restoreGlobal|requireGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getDeviceInfo|getAppBaseInfo|getWindowInfo|getSystemSetting|getAppAuthorizeSetting/,jt=/^create|Manager$/,Dt=["createBLEConnection"],Mt=["createBLEConnection"],Ft=/^on|^off/;function Rt(e){return jt.test(e)&&-1===Dt.indexOf(e)}function zt(e){return Nt.test(e)&&-1===Mt.indexOf(e)}function Ut(e){return!(Rt(e)||zt(e)||function(e){return Ft.test(e)&&"onPush"!==e}(e))}function Qt(e,t){return Ut(e)&&x(t)?function(o={},...n){return x(o.success)||x(o.fail)||x(o.complete)?ot(e,rt(e,t,o,n)):ot(e,new Promise((r,i)=>{rt(e,t,g({},o,{success:r,fail:i}),n)}))}:t}Promise.prototype.finally||(Promise.prototype.finally=function(e){const t=this.constructor;return this.then(o=>t.resolve(e&&e()).then(()=>o),o=>t.resolve(e&&e()).then(()=>{throw o}))});const Ht=["success","fail","cancel","complete"];const qt=()=>{const e=x(getApp)&&getApp({allowDefault:!0});return e&&e.$vm?e.$vm.$locale:Fe(wx.getSystemInfoSync().language)||Ne},Wt=[];"undefined"!=typeof global&&(global.getLocale=qt);const Vt="__DC_STAT_UUID";let $t;function Kt(e=wx){return function(t,o){$t=$t||e.getStorageSync(Vt),$t||($t=Date.now()+""+Math.floor(1e7*Math.random()),wx.setStorage({key:Vt,data:$t})),o.deviceId=$t}}function Yt(e,t){if(e.safeArea){const o=e.safeArea;t.safeAreaInsets={top:o.top,left:o.left,right:e.windowWidth-o.right,bottom:e.screenHeight-o.bottom}}}function Jt(e,t){let o=e.deviceType||"phone";{const e={ipad:"pad",windows:"pc",mac:"pc"},n=Object.keys(e),r=t.toLocaleLowerCase();for(let t=0;t{Yt(e,t),Kt()(e,t),function(e,t){const{brand:o="",model:n="",system:r="",language:i="",theme:s,version:a,platform:c,fontSizeSetting:u,SDKVersion:l,pixelRatio:p,deviceOrientation:d}=e;let f="",h="";f=r.split(" ")[0]||"",h=r.split(" ")[1]||"";let m=a,y=Jt(e,n),v=Xt(o),b=Zt(e),w=d,S=p,x=l;const k=i.replace(/_/g,"-"),A={appId:"",appName:"",appVersion:"1.0.0",appVersionCode:"100",appLanguage:Gt(k),uniCompileVersion:"3.8.12",uniRuntimeVersion:"3.8.12",uniPlatform:"mp-weixin",deviceBrand:v,deviceModel:n,deviceType:y,devicePixelRatio:S,deviceOrientation:w,osName:f.toLocaleLowerCase(),osVersion:h,hostTheme:s,hostVersion:m,hostLanguage:k,hostName:b,hostSDKVersion:x,hostFontSizeSetting:u,windowTop:0,windowBottom:0,osLanguage:void 0,osTheme:void 0,ua:void 0,hostPackageName:void 0,browserName:void 0,browserVersion:void 0};g(t,A)}(e,t)}},to=eo,oo={args(e,t){let o=parseInt(e.current);if(isNaN(o))return;const n=e.urls;if(!b(n))return;const r=n.length;return r?(o<0?o=0:o>=r&&(o=r-1),o>0?(t.current=n[o],t.urls=n.filter((e,t)=>!(t{const{brand:o,model:n}=e;let r=Jt(e,n),i=Xt(o);Kt()(e,t),t=ye(g(t,{deviceType:r,deviceBrand:i,deviceModel:n}))}},io={returnValue:(e,t)=>{const{version:o,language:n,SDKVersion:r,theme:i}=e;let s=Zt(e),a=n.replace(/_/g,"-");t=ye(g(t,{hostVersion:o,hostLanguage:a,hostName:s,hostSDKVersion:r,hostTheme:i,appId:"",appName:"",appVersion:"1.0.0",appVersionCode:"100",appLanguage:Gt(a)}))}},so={returnValue:(e,t)=>{Yt(e,t),t=ye(g(t,{windowTop:0,windowBottom:0}))}},ao={$on:wt,$off:xt,$once:St,$emit:kt,upx2px:ht,interceptors:{},addInterceptor:yt,removeInterceptor:vt,onCreateVueApp:function(e){if(Ae)return e(Ae);Ce.push(e)},invokeCreateVueAppHook:function(e){Ae=e,Ce.forEach(t=>t(e))},getLocale:qt,setLocale:e=>{const t=x(getApp)&&getApp();if(!t)return!1;return t.$vm.$locale!==e&&(t.$vm.$locale=e,Wt.forEach(t=>t({locale:e})),!0)},onLocaleChange:e=>{-1===Wt.indexOf(e)&&Wt.push(e)},getPushClientId:Bt,onPushMessage:e=>{-1===Lt.indexOf(e)&&Lt.push(e)},offPushMessage:e=>{if(e){const t=Lt.indexOf(e);t>-1&&Lt.splice(t,1)}else Lt.length=0},invokePushCallback:function(e){if("enabled"===e.type)Tt=!0;else if("clientId"===e.type)At=e.cid,Ct=e.errMsg,Pt(At,e.errMsg);else if("pushMsg"===e.type){const t={type:"receive",data:It(e.message)};for(let e=0;e{t({type:"click",data:It(e.message)})})}};const co=["qy","env","error","version","lanDebug","cloud","serviceMarket","router","worklet","__webpack_require_UNI_MP_PLUGIN__"],uo=["lanDebug","router","worklet"],lo=wx.getLaunchOptionsSync?wx.getLaunchOptionsSync():null;function po(e){return(!lo||1154!==lo.scene||!uo.includes(e))&&(co.indexOf(e)>-1||"function"==typeof wx[e])}function fo(){const e={};for(const t in wx)po(t)&&(e[t]=wx[t]);return"undefined"!=typeof globalThis&&"undefined"==typeof requireMiniProgram&&(globalThis.wx=e),e}const ho=["__route__","__wxExparserNodeId__","__wxWebviewId__"],go=(mo={oauth:["weixin"],share:["weixin"],payment:["wxpay"],push:["weixin"]},function({service:e,success:t,fail:o,complete:n}){let r;mo[e]?(r={errMsg:"getProvider:ok",service:e,provider:mo[e]},x(t)&&t(r)):(r={errMsg:"getProvider:fail:服务["+e+"]不存在"},x(o)&&o(r)),x(n)&&n(r)});var mo;const yo=fo();let vo=yo.getAppBaseInfo&&yo.getAppBaseInfo();vo||(vo=yo.getSystemInfoSync());const bo=vo?vo.host:null,wo=bo&&"SAAASDK"===bo.env?yo.miniapp.shareVideoMessage:yo.shareVideoMessage;var So=Object.freeze({__proto__:null,createSelectorQuery:function(){const e=yo.createSelectorQuery(),t=e.in;return e.in=function(e){return t.call(this,function(e){const t=Object.create(null);return ho.forEach(o=>{t[o]=e[o]}),t}(e))},e},getProvider:go,shareVideoMessage:wo});const xo={args(e,t){e.compressedHeight&&!t.compressHeight&&(t.compressHeight=e.compressedHeight),e.compressedWidth&&!t.compressWidth&&(t.compressWidth=e.compressedWidth)}};var ko=Object.freeze({__proto__:null,compressImage:xo,getAppAuthorizeSetting:{returnValue:function(e,t){const{locationReducedAccuracy:o}=e;t.locationAccuracy="unsupported",!0===o?t.locationAccuracy="reduced":!1===o&&(t.locationAccuracy="full")}},getAppBaseInfo:io,getDeviceInfo:ro,getSystemInfo:eo,getSystemInfoSync:to,getWindowInfo:so,previewImage:oo,redirectTo:{},showActionSheet:no});const Ao=fo();var Co=function(e,t,o=wx){const n=function(e){function t(e,t,o){return function(r){return t(n(e,r,o))}}function o(e,o,n={},r={},i=!1){if(P(o)){const s=!0===i?o:{};x(n)&&(n=n(o,s)||{});for(const a in o)if(v(n,a)){let t=n[a];x(t)&&(t=t(o[a],o,s)),t?k(t)?s[t]=o[a]:P(t)&&(s[t.name?t.name:a]=t.value):console.warn(`微信小程序 ${e} 暂不支持 ${a}`)}else if(-1!==Ht.indexOf(a)){const n=o[a];x(n)&&(s[a]=t(e,n,r))}else i||v(s,a)||(s[a]=o[a]);return s}return x(o)&&(o=t(e,o,r)),o}function n(t,n,r,i=!1){return x(e.returnValue)&&(n=e.returnValue(t,n)),o(t,n,r,{},i)}return function(t,r){if(!v(e,t))return r;const i=e[t];return i?function(e,r){let s=i;x(i)&&(s=i(e));const a=[e=o(t,e,s.args,s.returnValue)];void 0!==r&&a.push(r);const c=wx[s.name||t].apply(wx,a);return zt(t)?n(t,c,s.returnValue,Rt(t)):c}:function(){console.error(`微信小程序 暂不支持${t}`)}}}(t);return new Proxy({},{get:(t,r)=>v(t,r)?t[r]:v(e,r)?Qt(r,e[r]):v(ao,r)?Qt(r,ao[r]):Qt(r,n(r,o[r]))})}(So,ko,Ao);let To;class Io{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=To,!e&&To&&(this.index=(To.scopes||(To.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=To;try{return To=this,e()}finally{To=t}}}on(){To=this}off(){To=this.parent}stop(e){if(this._active){let t,o;for(t=0,o=this.effects.length;t{const t=new Set(e);return t.w=0,t.n=0,t},Oo=e=>(e.w&jo)>0,_o=e=>(e.n&jo)>0,Lo=new WeakMap;let No=0,jo=1;let Do;const Mo=Symbol(""),Fo=Symbol("");class Ro{constructor(e,t=null,o){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=To){t&&t.active&&t.effects.push(e)}(this,o)}run(){if(!this.active)return this.fn();let e=Do,t=Uo;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Do,Do=this,Uo=!0,jo=1<<++No,No<=30?(({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let o=0;for(let n=0;n{("length"===o||o>=e)&&a.push(t)})}else switch(void 0!==o&&a.push(s.get(o)),t){case"add":b(e)?B(o)&&a.push(s.get("length")):(a.push(s.get(Mo)),w(e)&&a.push(s.get(Fo)));break;case"delete":b(e)||(a.push(s.get(Mo)),w(e)&&a.push(s.get(Fo)));break;case"set":w(e)&&a.push(s.get(Mo))}if(1===a.length)a[0]&&Ko(a[0]);else{const e=[];for(const t of a)t&&e.push(...t);Ko(Bo(e))}}function Ko(e,t){const o=b(e)?e:[...e];for(const n of o)n.computed&&Yo(n);for(const n of o)n.computed||Yo(n)}function Yo(e,t){(e!==Do||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Jo=e("__proto__,__v_isRef,__isVue"),Xo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(A)),Go=rn(),Zo=rn(!1,!0),en=rn(!0),tn=on();function on(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...e){const o=Qn(this);for(let t=0,r=this.length;t{e[t]=function(...e){Ho();const o=Qn(this)[t].apply(this,e);return qo(),o}}),e}function nn(e){const t=Qn(this);return Wo(t,0,e),t.hasOwnProperty(e)}function rn(e=!1,t=!1){return function(o,n,r){if("__v_isReactive"===n)return!e;if("__v_isReadonly"===n)return e;if("__v_isShallow"===n)return t;if("__v_raw"===n&&r===(e?t?Nn:Ln:t?_n:On).get(o))return o;const i=b(o);if(!e){if(i&&v(tn,n))return Reflect.get(tn,n,r);if("hasOwnProperty"===n)return nn}const s=Reflect.get(o,n,r);return(A(n)?Xo.has(n):Jo(n))?s:(e||Wo(o,0,n),t?s:Kn(s)?i&&B(n)?s:s.value:C(s)?e?Mn(s):Dn(s):s)}}function sn(e=!1){return function(t,o,n,r){let i=t[o];if(zn(i)&&Kn(i)&&!Kn(n))return!1;if(!e&&(Un(n)||zn(n)||(i=Qn(i),n=Qn(n)),!b(t)&&Kn(i)&&!Kn(n)))return i.value=n,!0;const s=b(t)&&B(o)?Number(o)!0,deleteProperty:(e,t)=>!0},un=g({},an,{get:Zo,set:sn(!0)}),ln=e=>e,pn=e=>Reflect.getPrototypeOf(e);function dn(e,t,o=!1,n=!1){const r=Qn(e=e.__v_raw),i=Qn(t);o||(t!==i&&Wo(r,0,t),Wo(r,0,i));const{has:s}=pn(r),a=n?ln:o?Wn:qn;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void(e!==r&&e.get(t))}function fn(e,t=!1){const o=this.__v_raw,n=Qn(o),r=Qn(e);return t||(e!==r&&Wo(n,0,e),Wo(n,0,r)),e===r?o.has(e):o.has(e)||o.has(r)}function hn(e,t=!1){return e=e.__v_raw,!t&&Wo(Qn(e),0,Mo),Reflect.get(e,"size",e)}function gn(e){e=Qn(e);const t=Qn(this);return pn(t).has.call(t,e)||(t.add(e),$o(t,"add",e,e)),this}function mn(e,t){t=Qn(t);const o=Qn(this),{has:n,get:r}=pn(o);let i=n.call(o,e);i||(e=Qn(e),i=n.call(o,e));const s=r.call(o,e);return o.set(e,t),i?R(t,s)&&$o(o,"set",e,t):$o(o,"add",e,t),this}function yn(e){const t=Qn(this),{has:o,get:n}=pn(t);let r=o.call(t,e);r||(e=Qn(e),r=o.call(t,e)),n&&n.call(t,e);const i=t.delete(e);return r&&$o(t,"delete",e,void 0),i}function vn(){const e=Qn(this),t=0!==e.size,o=e.clear();return t&&$o(e,"clear",void 0,void 0),o}function bn(e,t){return function(o,n){const r=this,i=r.__v_raw,s=Qn(i),a=t?ln:e?Wn:qn;return!e&&Wo(s,0,Mo),i.forEach((e,t)=>o.call(n,a(e),a(t),r))}}function wn(e,t,o){return function(...n){const r=this.__v_raw,i=Qn(r),s=w(i),a="entries"===e||e===Symbol.iterator&&s,c="keys"===e&&s,u=r[e](...n),l=o?ln:t?Wn:qn;return!t&&Wo(i,0,c?Fo:Mo),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:a?[l(e[0]),l(e[1])]:l(e),done:t}},[Symbol.iterator](){return this}}}}function Sn(e){return function(...t){return"delete"!==e&&this}}function xn(){const e={get(e){return dn(this,e)},get size(){return hn(this)},has:fn,add:gn,set:mn,delete:yn,clear:vn,forEach:bn(!1,!1)},t={get(e){return dn(this,e,!1,!0)},get size(){return hn(this)},has:fn,add:gn,set:mn,delete:yn,clear:vn,forEach:bn(!1,!0)},o={get(e){return dn(this,e,!0)},get size(){return hn(this,!0)},has(e){return fn.call(this,e,!0)},add:Sn("add"),set:Sn("set"),delete:Sn("delete"),clear:Sn("clear"),forEach:bn(!0,!1)},n={get(e){return dn(this,e,!0,!0)},get size(){return hn(this,!0)},has(e){return fn.call(this,e,!0)},add:Sn("add"),set:Sn("set"),delete:Sn("delete"),clear:Sn("clear"),forEach:bn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=wn(r,!1,!1),o[r]=wn(r,!0,!1),t[r]=wn(r,!1,!0),n[r]=wn(r,!0,!0)}),[e,o,t,n]}const[kn,An,Cn,Tn]=xn();function In(e,t){const o=t?e?Tn:Cn:e?An:kn;return(t,n,r)=>"__v_isReactive"===n?!e:"__v_isReadonly"===n?e:"__v_raw"===n?t:Reflect.get(v(o,n)&&n in t?o:t,n,r)}const En={get:In(!1,!1)},Pn={get:In(!1,!0)},Bn={get:In(!0,!1)},On=new WeakMap,_n=new WeakMap,Ln=new WeakMap,Nn=new WeakMap;function jn(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>E(e).slice(8,-1))(e))}function Dn(e){return zn(e)?e:Fn(e,!1,an,En,On)}function Mn(e){return Fn(e,!0,cn,Bn,Ln)}function Fn(e,t,o,n,r){if(!C(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const s=jn(e);if(0===s)return e;const a=new Proxy(e,2===s?n:o);return r.set(e,a),a}function Rn(e){return zn(e)?Rn(e.__v_raw):!(!e||!e.__v_isReactive)}function zn(e){return!(!e||!e.__v_isReadonly)}function Un(e){return!(!e||!e.__v_isShallow)}function Qn(e){const t=e&&e.__v_raw;return t?Qn(t):e}function Hn(e){return((e,t,o)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:o})})(e,"__v_skip",!0),e}const qn=e=>C(e)?Dn(e):e,Wn=e=>C(e)?Mn(e):e;function Vn(e){Uo&&Do&&Vo((e=Qn(e)).dep||(e.dep=Bo()))}function $n(e,t){const o=(e=Qn(e)).dep;o&&Ko(o)}function Kn(e){return!(!e||!0!==e.__v_isRef)}function Yn(e){return function(e,t){if(Kn(e))return e;return new Jn(e,t)}(e,!1)}class Jn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Qn(e),this._value=t?e:qn(e)}get value(){return Vn(this),this._value}set value(e){const t=this.__v_isShallow||Un(e)||zn(e);e=t?e:Qn(e),R(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:qn(e),$n(this))}}function Xn(e){return Kn(e)?e.value:e}const Gn={get:(e,t,o)=>Xn(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const r=e[t];return Kn(r)&&!Kn(o)?(r.value=o,!0):Reflect.set(e,t,o,n)}};function Zn(e){return Rn(e)?e:new Proxy(e,Gn)}class er{constructor(e,t,o){this._object=e,this._key=t,this._defaultValue=o,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return e=Qn(this._object),t=this._key,null===(o=Lo.get(e))||void 0===o?void 0:o.get(t);var e,t,o}}function tr(e,t,o){const n=e[t];return Kn(n)?n:new er(e,t,o)}var or;class nr{constructor(e,t,o,n){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this[or]=!1,this._dirty=!0,this.effect=new Ro(e,()=>{this._dirty||(this._dirty=!0,$n(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!n,this.__v_isReadonly=o}get value(){const e=Qn(this);return Vn(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function rr(e,t,o,n){let r;try{r=n?e(...n):e()}catch(i){sr(i,t,o)}return r}function ir(e,t,o,n){if(x(e)){const r=rr(e,t,o,n);return r&&T(r)&&r.catch(e=>{sr(e,t,o)}),r}const r=[];for(let i=0;i>>1;Sr(ur[n])null==e.id?1/0:e.id,xr=(e,t)=>{const o=Sr(e)-Sr(t);if(0===o){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return o};function kr(e){cr=!1,ar=!0,ur.sort(xr);try{for(lr=0;lrSr(e)-Sr(t)),fr=0;frk(e)?e.trim():e)),t&&(r=o.map(U))}let a,u=n[a=F(t)]||n[a=F(N(t))];!u&&i&&(u=n[a=F(D(t))]),u&&ir(u,e,6,r);const l=n[a+"Once"];if(l){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,ir(l,e,6,r)}}function Cr(e,t,o=!1){const n=t.emitsCache,r=n.get(e);if(void 0!==r)return r;const i=e.emits;let s={},a=!1;if(!x(e)){const n=e=>{const o=Cr(e,t,!0);o&&(a=!0,g(s,o))};!o&&t.mixins.length&&t.mixins.forEach(n),e.extends&&n(e.extends),e.mixins&&e.mixins.forEach(n)}return i||a?(b(i)?i.forEach(e=>s[e]=null):g(s,i),C(e)&&n.set(e,s),s):(C(e)&&n.set(e,null),null)}function Tr(e,t){return!(!e||!f(t))&&(t=t.slice(2).replace(/Once$/,""),v(e,t[0].toLowerCase()+t.slice(1))||v(e,D(t))||v(e,t))}let Ir=null;function Er(e){const t=Ir;return Ir=e,e&&e.type.__scopeId,t}function Pr(e,t,o=!1){const n=Oi||Ir;if(n){const r=null==n.parent?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return o&&x(t)?t.call(n.proxy):t}}const Br={};function Or(e,t,o){return _r(e,t,o)}function _r(e,t,{immediate:o,deep:n,flush:r,onTrack:i,onTrigger:s}=c){const a=Po()===(null==Oi?void 0:Oi.scope)?Oi:null;let u,p,d=!1,f=!1;if(Kn(e)?(u=()=>e.value,d=Un(e)):Rn(e)?(u=()=>e,n=!0):b(e)?(f=!0,d=e.some(e=>Rn(e)||Un(e)),u=()=>e.map(e=>Kn(e)?e.value:Rn(e)?jr(e):x(e)?rr(e,a,2):void 0)):u=x(e)?t?()=>rr(e,a,2):()=>{if(!a||!a.isUnmounted)return p&&p(),ir(e,a,3,[h])}:l,t&&n){const e=u;u=()=>jr(e())}let h=e=>{p=w.onStop=()=>{rr(e,a,4)}},g=f?new Array(e.length).fill(Br):Br;const y=()=>{if(w.active)if(t){const e=w.run();(n||d||(f?e.some((e,t)=>R(e,g[t])):R(e,g)))&&(p&&p(),ir(t,a,3,[e,g===Br?void 0:f&&g[0]===Br?[]:g,h]),g=e)}else w.run()};let v;y.allowRecurse=!!t,"sync"===r?v=y:"post"===r?v=()=>Ti(y,a&&a.suspense):(y.pre=!0,a&&(y.id=a.uid),v=()=>yr(y));const w=new Ro(u,v);t?o?y():g=w.run():"post"===r?Ti(w.run.bind(w),a&&a.suspense):w.run();return()=>{w.stop(),a&&a.scope&&m(a.scope.effects,w)}}function Lr(e,t,o){const n=this.proxy,r=k(e)?e.includes(".")?Nr(n,e):()=>n[e]:e.bind(n,n);let i;x(t)?i=t:(i=t.handler,o=t);const s=Oi;Li(this);const a=_r(r,i.bind(n),o);return s?Li(s):Ni(),a}function Nr(e,t){const o=t.split(".");return()=>{let t=e;for(let e=0;e{jr(e,t)});else if(P(e))for(const o in e)jr(e[o],t);return e}const Dr=e=>e.type.__isKeepAlive;function Mr(e,t){Rr(e,"a",t)}function Fr(e,t){Rr(e,"da",t)}function Rr(e,t,o=Oi){const n=e.__wdc||(e.__wdc=()=>{let t=o;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Ur(t,n,o),o){let e=o.parent;for(;e&&e.parent;)Dr(e.parent.vnode)&&zr(n,t,o,e),e=e.parent}}function zr(e,t,o,n){const r=Ur(t,e,n,!0);Kr(()=>{m(n[t],r)},o)}function Ur(e,t,o=Oi,n=!1){if(o){(function(e){return we.indexOf(e)>-1})(e)&&(o=o.root);const r=o[e]||(o[e]=[]),i=t.__weh||(t.__weh=(...n)=>{if(o.isUnmounted)return;Ho(),Li(o);const r=ir(t,o,e,n);return Ni(),qo(),r});return n?r.unshift(i):r.push(i),i}}const Qr=e=>(t,o=Oi)=>(!Di||"sp"===e)&&Ur(e,(...e)=>t(...e),o),Hr=Qr("bm"),qr=Qr("m"),Wr=Qr("bu"),Vr=Qr("u"),$r=Qr("bum"),Kr=Qr("um"),Yr=Qr("sp"),Jr=Qr("rtg"),Xr=Qr("rtc");function Gr(e,t=Oi){Ur("ec",e,t)}const Zr="components";function ei(e,t){return e&&(e[t]||e[N(t)]||e[M(N(t))])}const ti=e=>e?ji(e)?Ri(e)||e.proxy:ti(e.parent):null,oi=g(Object.create(null),{$:e=>e,$el:e=>e.__$el||(e.__$el={}),$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ti(e.parent),$root:e=>ti(e.root),$emit:e=>e.emit,$options:e=>ui(e),$forceUpdate:e=>e.f||(e.f=()=>yr(e.update)),$watch:e=>Lr.bind(e)}),ni=(e,t)=>e!==c&&!e.__isScriptSetup&&v(e,t),ri={get({_:e},t){const{ctx:o,setupState:n,data:r,props:i,accessCache:s,type:a,appContext:u}=e;let l;if("$"!==t[0]){const a=s[t];if(void 0!==a)switch(a){case 1:return n[t];case 2:return r[t];case 4:return o[t];case 3:return i[t]}else{if(ni(n,t))return s[t]=1,n[t];if(r!==c&&v(r,t))return s[t]=2,r[t];if((l=e.propsOptions[0])&&v(l,t))return s[t]=3,i[t];if(o!==c&&v(o,t))return s[t]=4,o[t];ii&&(s[t]=0)}}const p=oi[t];let d,f;return p?("$attrs"===t&&Wo(e,0,t),p(e)):(d=a.__cssModules)&&(d=d[t])?d:o!==c&&v(o,t)?(s[t]=4,o[t]):(f=u.config.globalProperties,v(f,t)?f[t]:void 0)},set({_:e},t,o){const{data:n,setupState:r,ctx:i}=e;return ni(r,t)?(r[t]=o,!0):n!==c&&v(n,t)?(n[t]=o,!0):!v(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=o,!0))},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:r,propsOptions:i}},s){let a;return!!o[s]||e!==c&&v(e,s)||ni(t,s)||(a=i[0])&&v(a,s)||v(n,s)||v(oi,s)||v(r.config.globalProperties,s)},defineProperty(e,t,o){return null!=o.get?e._.accessCache[t]=0:v(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};let ii=!0;function si(e){const t=ui(e),o=e.proxy,n=e.ctx;ii=!1,t.beforeCreate&&ai(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:s,watch:a,provide:c,inject:u,created:p,beforeMount:d,mounted:f,beforeUpdate:h,updated:g,activated:m,deactivated:y,beforeDestroy:v,beforeUnmount:w,destroyed:S,unmounted:k,render:A,renderTracked:T,renderTriggered:I,errorCaptured:E,serverPrefetch:P,expose:B,inheritAttrs:O,components:_,directives:L,filters:N}=t;if(u&&function(e,t,o=l,n=!1){b(e)&&(e=fi(e));for(const r in e){const o=e[r];let i;i=C(o)?"default"in o?Pr(o.from||r,o.default,!0):Pr(o.from||r):Pr(o),Kn(i)&&n?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[r]=i}}(u,n,null,e.appContext.config.unwrapInjectedRef),s)for(const l in s){const e=s[l];x(e)&&(n[l]=e.bind(o))}if(r){const t=r.call(o,o);C(t)&&(e.data=Dn(t))}if(ii=!0,i)for(const b in i){const e=i[b],t=x(e)?e.bind(o,o):x(e.get)?e.get.bind(o,o):l,r=!x(e)&&x(e.set)?e.set.bind(o):l,s=zi({get:t,set:r});Object.defineProperty(n,b,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(a)for(const l in a)ci(a[l],n,o,l);if(c){const e=x(c)?c.call(o):c;Reflect.ownKeys(e).forEach(t=>{!function(e,t){if(Oi){let o=Oi.provides;const n=Oi.parent&&Oi.parent.provides;n===o&&(o=Oi.provides=Object.create(n)),o[e]=t,"app"===Oi.type.mpType&&Oi.appContext.app.provide(e,t)}}(t,e[t])})}function j(e,t){b(t)?t.forEach(t=>e(t.bind(o))):t&&e(t.bind(o))}if(p&&ai(p,e,"c"),j(Hr,d),j(qr,f),j(Wr,h),j(Vr,g),j(Mr,m),j(Fr,y),j(Gr,E),j(Xr,T),j(Jr,I),j($r,w),j(Kr,k),j(Yr,P),b(B))if(B.length){const t=e.exposed||(e.exposed={});B.forEach(e=>{Object.defineProperty(t,e,{get:()=>o[e],set:t=>o[e]=t})})}else e.exposed||(e.exposed={});A&&e.render===l&&(e.render=A),null!=O&&(e.inheritAttrs=O),_&&(e.components=_),L&&(e.directives=L),e.ctx.$onApplyOptions&&e.ctx.$onApplyOptions(t,e,o)}function ai(e,t,o){ir(b(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,o)}function ci(e,t,o,n){const r=n.includes(".")?Nr(o,n):()=>o[n];if(k(e)){const o=t[e];x(o)&&Or(r,o)}else if(x(e))Or(r,e.bind(o));else if(C(e))if(b(e))e.forEach(e=>ci(e,t,o,n));else{const n=x(e.handler)?e.handler.bind(o):t[e.handler];x(n)&&Or(r,n,e)}}function ui(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let c;return a?c=a:r.length||o||n?(c={},r.length&&r.forEach(e=>li(c,e,s,!0)),li(c,t,s)):c=t,C(t)&&i.set(t,c),c}function li(e,t,o,n=!1){const{mixins:r,extends:i}=t;i&&li(e,i,o,!0),r&&r.forEach(t=>li(e,t,o,!0));for(const s in t)if(n&&"expose"===s);else{const n=pi[s]||o&&o[s];e[s]=n?n(e[s],t[s]):t[s]}return e}const pi={data:di,props:gi,emits:gi,methods:gi,computed:gi,beforeCreate:hi,created:hi,beforeMount:hi,mounted:hi,beforeUpdate:hi,updated:hi,beforeDestroy:hi,beforeUnmount:hi,destroyed:hi,unmounted:hi,activated:hi,deactivated:hi,errorCaptured:hi,serverPrefetch:hi,components:gi,directives:gi,watch:function(e,t){if(!e)return t;if(!t)return e;const o=g(Object.create(null),e);for(const n in t)o[n]=hi(e[n],t[n]);return o},provide:di,inject:function(e,t){return gi(fi(e),fi(t))}};function di(e,t){return t?e?function(){return g(x(e)?e.call(this,this):e,x(t)?t.call(this,this):t)}:t:e}function fi(e){if(b(e)){const t={};for(let o=0;o{l=!0;const[o,n]=bi(e,t,!0);g(s,o),n&&a.push(...n)};!o&&t.mixins.length&&t.mixins.forEach(n),e.extends&&n(e.extends),e.mixins&&e.mixins.forEach(n)}if(!i&&!l)return C(e)&&n.set(e,u),u;if(b(i))for(let u=0;u-1,o[1]=n<0||t-1||v(o,"default"))&&a.push(e)}}}const p=[s,a];return C(e)&&n.set(e,p),p}function wi(e){return"$"!==e[0]}function Si(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:null===e?"null":""}function xi(e,t){return Si(e)===Si(t)}function ki(e,t){return b(t)?t.findIndex(t=>xi(t,e)):x(t)&&xi(t,e)?0:-1}function Ai(){return{app:null,config:{isNativeTag:p,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ci=0;const Ti=br;function Ii(e){return e?Rn(t=e)||zn(t)||"__vInternal"in e?g({},e):e:null;var t}const Ei=Ai();let Pi=0;function Bi(e,t,o){const n=e.type,r=(t?t.appContext:e.appContext)||Ei,i={uid:Pi++,vnode:e,type:n,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Io(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:bi(n,r),emitsOptions:Cr(n,r),emit:null,emitted:null,propsDefaults:c,inheritAttrs:n.inheritAttrs,ctx:c,data:c,props:c,attrs:c,slots:c,refs:c,setupState:c,setupContext:null,suspense:o,suspenseId:o?o.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Ar.bind(null,i),e.ce&&e.ce(i),i}let Oi=null;const _i=()=>Oi||Ir,Li=e=>{Oi=e,e.scope.on()},Ni=()=>{Oi&&Oi.scope.off(),Oi=null};function ji(e){return 4&e.vnode.shapeFlag}let Di=!1;function Mi(e,t=!1){Di=t;const{props:o}=e.vnode,n=ji(e);mi(e,o,n,t);const r=n?function(e){const t=e.type;e.accessCache=Object.create(null),e.proxy=Hn(new Proxy(e.ctx,ri));const{setup:o}=t;if(o){const t=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed=t||{}};let o;return{get attrs(){return o||(o=function(e){return new Proxy(e.attrs,{get:(t,o)=>(Wo(e,0,"$attrs"),t[o])})}(e))},slots:e.slots,emit:e.emit,expose:t}}(e):null;Li(e),Ho();const n=rr(o,e,0,[e.props,t]);qo(),Ni(),T(n)?n.then(Ni,Ni):function(e,t){x(t)?e.render=t:C(t)&&(e.setupState=Zn(t));Fi(e)}(e,n)}else Fi(e)}(e):void 0;return Di=!1,r}function Fi(e,t,o){const n=e.type;e.render||(e.render=n.render||l),Li(e),Ho(),si(e),qo(),Ni()}function Ri(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Zn(Hn(e.exposed)),{get:(t,o)=>o in t?t[o]:e.proxy[o],has:(e,t)=>t in e||t in oi}))}const zi=(e,t)=>function(e,t,o=!1){let n,r;const i=x(e);return i?(n=e,r=l):(n=e.get,r=e.set),new nr(n,r,i||!r,o)}(e,0,Di),Ui="3.2.47";function Qi(e){return Xn(e)}const Hi="[object Array]",qi="[object Object]";function Wi(e,t){const o={};return Vi(e,t),$i(e,t,"",o),o}function Vi(e,t){if((e=Qi(e))===t)return;const o=E(e),n=E(t);if(o==qi&&n==qi)for(let r in t){const o=e[r];void 0===o?e[r]=null:Vi(o,t[r])}else o==Hi&&n==Hi&&e.length>=t.length&&t.forEach((t,o)=>{Vi(e[o],t)})}function $i(e,t,o,n){if((e=Qi(e))===t)return;const r=E(e),i=E(t);if(r==qi)if(i!=qi||Object.keys(e).length{$i(e,i[t],(""==o?"":o+".")+s+"["+t+"]",n)});else if(a==qi)if(c!=qi||Object.keys(r).length{$i(e,t[r],o+"["+r+"]",n)}):Ki(n,o,e)}function Ki(e,t,o){e[t]=o}function Yi(e){const t=e.ctx.__next_tick_callbacks;if(t&&t.length){const e=t.slice(0);t.length=0;for(let t=0;t{t?rr(t.bind(e.proxy),e,14):n&&n(e.proxy)}),new Promise(e=>{n=e})}function Xi(e,t){const o=typeof(e=Qi(e));if("object"===o&&null!==e){let o=t.get(e);if(void 0!==o)return o;if(b(e)){const n=e.length;o=new Array(n),t.set(e,o);for(let r=0;r{n[e]=o[e]}),n}(r,i));Object.keys(s).length?(n.__next_tick_pending=!0,r.setData(s,()=>{n.__next_tick_pending=!1,Yi(e)}),wr()):Yi(e)}}function es(e,t,o){t.appContext.config.globalProperties.$applyOptions(e,t,o);const n=e.computed;if(n){const e=Object.keys(n);if(e.length){const o=t.ctx;o.$computedKeys||(o.$computedKeys=[]),o.$computedKeys.push(...e)}}delete t.ctx.$onApplyOptions}function ts(e,t=!1){const{setupState:o,$templateRefs:n,ctx:{$scope:r,$mpPlatform:i}}=e;if("mp-alipay"===i)return;if(!n||!r)return;if(t)return n.forEach(e=>os(e,null,o));const s="mp-baidu"===i||"mp-toutiao"===i,a=e=>{const t=(r.selectAllComponents(".r")||[]).concat(r.selectAllComponents(".r-i-f")||[]);return e.filter(e=>{const n=function(e,t){const o=e.find(e=>e&&(e.properties||e.props).uI===t);if(o){const e=o.$vm;return e?Ri(e.$)||e:function(e){C(e)&&Hn(e);return e}(o)}return null}(t,e.i);return!(!s||null!==n)||(os(e,n,o),!1)})},c=()=>{const t=a(n);t.length&&e.proxy&&e.proxy.$scope&&e.proxy.$scope.setData({r1:1},()=>{a(t)})};r._$setRef?r._$setRef(c):Ji(e,c)}function os({r:e,f:t},o,n){if(x(e))e(o,{});else{const r=k(e),i=Kn(e);if(r||i)if(t){if(!i)return;b(e.value)||(e.value=[]);const t=e.value;if(-1===t.indexOf(o)){if(t.push(o),!o)return;$r(()=>m(t,o),o.$)}}else r?v(n,e)&&(n[e]=o):Kn(e)&&(e.value=o)}}var ns,rs;(rs=ns||(ns={})).APP="app",rs.PAGE="page",rs.COMPONENT="component";const is=br;function ss(e,t){const o=e.component=Bi(e,t.parentComponent,null);return o.ctx.$onApplyOptions=es,o.ctx.$children=[],"app"===t.mpType&&(o.render=l),t.onBeforeSetup&&t.onBeforeSetup(o,t),Mi(o),t.parentComponent&&o.proxy&&t.parentComponent.ctx.$children.push(Ri(o)||o.proxy),function(e){const t=ps.bind(e);e.$updateScopedSlots=()=>mr(()=>yr(t));const o=()=>{if(e.isMounted){const{next:t,bu:o,u:n}=e;ds(e,!1),ls(),o&&z(o),ds(e,!0),Zi(e,cs(e)),n&&is(n)}else $r(()=>{ts(e,!0)},e),Zi(e,cs(e))},n=e.effect=new Ro(o,()=>yr(e.update),e.scope),r=e.update=n.run.bind(n);r.id=e.uid,ds(e,!0),r()}(o),o.proxy}const as=e=>{let t;for(const o in e)("class"===o||"style"===o||f(o))&&((t||(t={}))[o]=e[o]);return t};function cs(e){const{type:t,vnode:o,proxy:n,withProxy:r,props:i,propsOptions:[s],slots:a,attrs:c,emit:u,render:l,renderCache:p,data:d,setupState:f,ctx:h,uid:g,appContext:{app:{config:{globalProperties:{pruneComponentPropsCache:m}}}},inheritAttrs:y}=e;let v;e.$templateRefs=[],e.$ei=0,m(g),e.__counter=0===e.__counter?1:0;const b=Er(e);try{if(4&o.shapeFlag){us(y,i,s,c);const e=r||n;v=l.call(e,e,p,i,f,d,h)}else{us(y,i,s,t.props?c:as(c));const e=t;v=e.length>1?e(i,{attrs:c,slots:a,emit:u}):e(i,null)}}catch(w){sr(w,e,1),v=!1}return ts(e),Er(b),v}function us(e,t,o,n){if(t&&n&&!1!==e){const e=Object.keys(n).filter(e=>"class"!==e&&"style"!==e);if(!e.length)return;o&&e.some(h)?e.forEach(e=>{h(e)&&e.slice(9)in o||(t[e]=n[e])}):e.forEach(e=>t[e]=n[e])}}const ls=e=>{Ho(),wr(),qo()};function ps(){const e=this.$scopedSlotsData;if(!e||0===e.length)return;const t=this.ctx.$scope,o=t.data,n=Object.create(null);e.forEach(({path:e,index:t,data:r})=>{const i=me(o,e),s=k(t)?`${e}.${t}`:`${e}[${t}]`;if(void 0===i||void 0===i[t])n[s]=r;else{const e=Wi(r,i[t]);Object.keys(e).forEach(t=>{n[s+"."+t]=e[t]})}}),e.length=0,Object.keys(n).length&&t.setData(n)}function ds({effect:e,update:t},o){e.allowRecurse=t.allowRecurse=o}const fs=function(e,t=null){x(e)||(e=Object.assign({},e)),null==t||C(t)||(t=null);const o=Ai(),n=new Set,r=o.app={_uid:Ci++,_component:e,_props:t,_container:null,_context:o,_instance:null,version:Ui,get config(){return o.config},set config(e){},use:(e,...t)=>(n.has(e)||(e&&x(e.install)?(n.add(e),e.install(r,...t)):x(e)&&(n.add(e),e(r,...t))),r),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),r),component:(e,t)=>t?(o.components[e]=t,r):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,r):o.directives[e],mount(){},unmount(){},provide:(e,t)=>(o.provides[e]=t,r)};return r};function hs(e,t=null){("undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof my?my:void 0).__VUE__=!0;const o=fs(e,t),n=o._context;n.config.globalProperties.$nextTick=function(e){return Ji(this.$,e)};const r=e=>(e.appContext=n,e.shapeFlag=6,e),i=function(e,t){return ss(r(e),t)},s=function(e){return e&&function(e){const{bum:t,scope:o,update:n,um:r}=e;t&&z(t),o.stop(),n&&(n.active=!1),r&&is(r),is(()=>{e.isUnmounted=!0})}(e.$)};return o.mount=function(){e.render=l;const t=ss(r({type:e}),{mpType:ns.APP,mpInstance:null,parentComponent:null,slots:[],props:null});return o._instance=t.$,t.$app=o,t.$createComponent=i,t.$destroyComponent=s,n.$appInstance=t,t},o.unmount=function(){},o}function gs(e,t,o,n){x(t)&&Ur(e,t.bind(o),n)}function ms(e,t,o){!function(e,t,o){const n=e.mpType||o.$mpType;n&&"component"!==n&&Object.keys(e).forEach(n=>{if(ke(n,e[n],!1)){const r=e[n];b(r)?r.forEach(e=>gs(n,e,o,t)):gs(n,r,o,t)}})}(e,t,o)}function ys(e,t,o){return e[t]=o}function vs(e){return function(t,o,n){if(!o)throw t;const r=e._instance;if(!r||!r.proxy)throw t;r.proxy.$callHook(W,t)}}function bs(e,t){return e?[...new Set([].concat(e,t))]:t}let ws;const Ss="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",xs=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function ks(){const e=Co.getStorageSync("uni_id_token")||"",t=e.split(".");if(!e||3!==t.length)return{uid:null,role:[],permission:[],tokenExpired:0};let o;try{o=JSON.parse((n=t[1],decodeURIComponent(ws(n).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""))))}catch(r){throw new Error("获取当前用户信息出错,详细错误信息为:"+r.message)}var n;return o.tokenExpired=1e3*o.exp,delete o.exp,delete o.iat,o}function As(e){const t=e._context.config;var o;t.errorHandler=Te(e,vs),o=t.optionMergeStrategies,Se.forEach(e=>{o[e]=bs});const n=t.globalProperties;!function(e){e.uniIDHasRole=function(e){const{role:t}=ks();return t.indexOf(e)>-1},e.uniIDHasPermission=function(e){const{permission:t}=ks();return this.uniIDHasRole("admin")||t.indexOf(e)>-1},e.uniIDTokenValid=function(){const{tokenExpired:e}=ks();return e>Date.now()}}(n),n.$set=ys,n.$applyOptions=ms,Co.invokeCreateVueAppHook(e)}ws="function"!=typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!xs.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var o,n,r="",i=0;i>16&255):64===n?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return r}:atob;const Cs=Object.create(null);function Ts(e){delete Cs[e]}function Is(e){if(!e)return;const[t,o]=e.split(",");return Cs[t]?Cs[t][parseInt(o)]:void 0}var Es={install(e){As(e),e.config.globalProperties.pruneComponentPropsCache=Ts;const t=e.mount;e.mount=function(o){const n=t.call(e,o),r=function(){const e="createApp";if("undefined"!=typeof global)return global[e];if("undefined"!=typeof my)return my[e]}();return r?r(n):"undefined"!=typeof createMiniProgramApp&&createMiniProgramApp(n),n}}};function Ps(e,t){const o=_i(),n=o.ctx,r=void 0===t||"mp-weixin"!==n.$mpPlatform&&"mp-qq"!==n.$mpPlatform||!k(t)&&"number"!=typeof t?"":"_"+t,i="e"+o.$ei+++r,s=n.$scope;if(!e)return delete s[i],i;const a=s[i];return a?a.value=e:s[i]=function(e,t){const o=e=>{var n;(n=e).type&&n.target&&(n.preventDefault=l,n.stopPropagation=l,n.stopImmediatePropagation=l,v(n,"detail")||(n.detail={}),v(n,"markerId")&&(n.detail="object"==typeof n.detail?n.detail:{},n.detail.markerId=n.markerId),P(n.detail)&&v(n.detail,"checked")&&!v(n.detail,"value")&&(n.detail.value=n.detail.checked),P(n.detail)&&(n.target=g({},n.target,n.detail)));let r=[e];e.detail&&e.detail.__args__&&(r=e.detail.__args__);const i=o.value,s=()=>ir(function(e,t){if(b(t)){const o=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{o&&o.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e(t))}return t}(e,i),t,5,r),a=e.target,c=!!a&&(!!a.dataset&&"true"===String(a.dataset.eventsync));if(!Bs.includes(e.type)||c){const t=s();if("input"===e.type&&(b(t)||T(t)))return;return t}setTimeout(s)};return o.value=e,o}(e,o),i}const Bs=["tap","longpress","longtap","transitionend","animationstart","animationiteration","animationend","touchforcechange"];function Os(e,t={},o){const n=_i(),{parent:r,isMounted:i,ctx:{$scope:s}}=n,a=(s.properties||s.props).uI;if(!a)return;if(!r&&!i)return void qr(()=>{Os(e,t,o)},n);const c=function(e,t){let o=t.parent;for(;o;){const t=o.$ssi;if(t&&t[e])return t[e];o=o.parent}}(a,n);c&&c(e,t,o)}function _s(e){return k(e)?e:function(e){let t="";if(!e||k(e))return t;for(const o in e)t+=`${o.startsWith("--")?o:D(o)}:${e[o]};`;return t}(t(e))}const Ls=function(e,t=null){return e&&(e.mpType="app"),hs(e,t).use(Es)},Ns=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];function js(e,t){const o=e.ctx;o.mpType=t.mpType,o.$mpType=t.mpType,o.$mpPlatform="mp-weixin",o.$scope=t.mpInstance,o.$mp={},o._self={},e.slots={},b(t.slots)&&t.slots.length&&(t.slots.forEach(t=>{e.slots[t]=!0}),e.slots.d&&(e.slots.default=!0)),o.getOpenerEventChannel=function(){return t.mpInstance.getOpenerEventChannel()},o.$hasHook=Ds,o.$callHook=Ms,e.emit=function(e,t){return function(o,...n){const r=t.$scope;if(r&&o){const e={__args__:n};r.triggerEvent(o,e)}return e.apply(this,[o,...n])}}(e.emit,o)}function Ds(e){const t=this.$[e];return!(!t||!t.length)}function Ms(e,t){"mounted"===e&&(Ms.call(this,"bm"),this.$.isMounted=!0,e="m");const o=this.$[e];return o&&((e,t)=>{let o;for(let n=0;n{ke(o,e[o])&&t.add(o)});{const{extends:o,mixins:n}=e;n&&n.forEach(e=>Rs(e,t)),o&&Rs(o,t)}}return t}function zs(e,t,o){-1!==o.indexOf(t)||v(e,t)||(e[t]=function(e){return this.$vm&&this.$vm.$callHook(t,e)})}const Us=[J];function Qs(e,t,o=Us){t.forEach(t=>zs(e,t,o))}function Hs(e,t,o=Us){Rs(t).forEach(t=>zs(e,t,o))}const qs=ge(()=>{const e=[],t=x(getApp)&&getApp({allowDefault:!0});if(t&&t.$vm&&t.$vm.$){const o=t.$vm.$.appContext.mixins;if(b(o)){const t=Object.keys(xe);o.forEach(o=>{t.forEach(t=>{v(o,t)&&!e.includes(t)&&e.push(t)})})}}return e});const Ws=[Q,H,W,V,$,K];function Vs(e,t){const o=e.$,n={globalData:e.$options&&e.$options.globalData||{},$vm:e,onLaunch(t){this.$vm=e;const n=o.ctx;this.$vm&&n.$scope||(js(o,{mpType:"app",mpInstance:this,slots:[]}),n.globalData=this.globalData,e.$callHook(q,t))}};!function(e){const t=Yn(Fe(wx.getSystemInfoSync().language)||Ne);Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(e);const r=e.$.type;Qs(n,Ws),Hs(n,r);{const e=r.methods;e&&g(n,e)}return t&&t.parse(n),n}function $s(e,t){if(x(e.onLaunch)){const t=wx.getLaunchOptionsSync&&wx.getLaunchOptionsSync();e.onLaunch(t)}x(e.onShow)&&wx.onAppShow&&wx.onAppShow(e=>{t.$callHook("onShow",e)}),x(e.onHide)&&wx.onAppHide&&wx.onAppHide(e=>{t.$callHook("onHide",e)})}const Ks=["externalClasses"];const Ys=/_(.*)_worklet_factory_/;function Js(e,t){const o=e.$children;for(let r=o.length-1;r>=0;r--){const e=o[r];if(e.$scope._$vueId===t)return e}let n;for(let r=o.length-1;r>=0;r--)if(n=Js(o[r],t),n)return n}const Xs=["eO","uR","uRIF","uI","uT","uP","uS"];function Gs(e){e.properties||(e.properties={}),g(e.properties,function(e,t=!1){const o={};return t||(Xs.forEach(e=>{o[e]={type:null,value:""}}),o.uS={type:null,value:[],observer:function(e){const t=Object.create(null);e&&e.forEach(e=>{t[e]=!0}),this.setData({$slots:t})}}),e.behaviors&&e.behaviors.includes("wx://form-field")&&(e.properties&&e.properties.name||(o.name={type:null,value:""}),e.properties&&e.properties.value||(o.value={type:null,value:""})),o}(e),function(e){const t={};return e&&e.virtualHost&&(t.virtualHostStyle={type:null,value:""},t.virtualHostClass={type:null,value:""}),t}(e.options))}const Zs=[String,Number,Boolean,Object,Array,null];function ea(e,t){const o=function(e){return b(e)&&1===e.length?e[0]:e}(e);return-1!==Zs.indexOf(o)?o:null}function ta(e,t){return(t?function(e){const t={};P(e)&&Object.keys(e).forEach(o=>{-1===Xs.indexOf(o)&&(t[o]=e[o])});return t}(e):Is(e.uP))||{}}function oa(e){const t=function(){const e=this.properties.uP;e&&(this.$vm?function(e,t){const o=Qn(t.props),n=Is(e)||{};na(o,n)&&(!function(e,t,o,n){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,a=Qn(r),[c]=e.propsOptions;let u=!1;if(!(n||s>0)||16&s){let n;yi(e,t,r,i)&&(u=!0);for(const i in a)t&&(v(t,i)||(n=D(i))!==i&&v(t,n))||(c?!o||void 0===o[i]&&void 0===o[n]||(r[i]=vi(c,a,i,void 0,e,!0)):delete r[i]);if(i!==a)for(const e in i)t&&v(t,e)||(delete i[e],u=!0)}else if(8&s){const o=e.vnode.dynamicProps;for(let n=0;n-1&&function(e){const t=ur.indexOf(e);t>lr&&ur.splice(t,1)}(t.update),t.update());var r}(e,this.$vm.$):"m"===this.properties.uT&&function(e,t){const o=t.properties,n=Is(e)||{};na(o,n,!1)&&t.setData(n)}(e,this))};e.observers||(e.observers={}),e.observers.uP=t}function na(e,t,o=!0){const n=Object.keys(t);if(o&&n.length!==Object.keys(e).length)return!0;for(let r=0;r{n.push(e.replace("uni://","wx://")),"uni://form-field"===e&&(b(o)?(o.push("name"),o.push("modelValue")):(o.name={type:String,default:""},o.modelValue={type:[String,Number,Boolean,Array,Object,Date],default:""}))}),n}(t)}function ia(e,{parse:t,mocks:o,isPage:n,initRelation:r,handleLink:i,initLifetimes:s}){e=e.default||e;const a={multipleSlots:!0,addGlobalClass:!0,pureDataPattern:/^uP$/};b(e.mixins)&&e.mixins.forEach(e=>{C(e.options)&&g(a,e.options)}),e.options&&g(a,e.options);const c={options:a,lifetimes:s({mocks:o,isPage:n,initRelation:r,vueOptions:e}),pageLifetimes:{show(){this.$vm&&this.$vm.$callHook("onPageShow")},hide(){this.$vm&&this.$vm.$callHook("onPageHide")},resize(e){this.$vm&&this.$vm.$callHook("onPageResize",e)}},methods:{__l:i}};var u,l,p,d;return ra(c,e),Gs(c),oa(c),function(e,t){Ks.forEach(o=>{v(t,o)&&(e[o]=t[o])})}(c,e),u=c.methods,l=e.wxsCallMethods,b(l)&&l.forEach(e=>{u[e]=function(t){return this.$vm[e](t)}}),p=c.methods,(d=e.methods)&&Object.keys(d).forEach(e=>{const t=e.match(Ys);if(t){const o=t[1];p[e]=d[e],p[o]=d[o]}}),t&&t(c,{handleLink:i}),c}let sa,aa;function ca(){return getApp().$vm}function ua(e,t){const{parse:o,mocks:n,isPage:r,initRelation:i,handleLink:s,initLifetimes:a}=t,c=ia(e,{mocks:n,isPage:r,initRelation:i,handleLink:s,initLifetimes:a});!function({properties:e},t){b(t)?t.forEach(t=>{e[t]={type:String,value:""}}):P(t)&&Object.keys(t).forEach(o=>{const n=t[o];if(P(n)){let t=n.default;x(t)&&(t=t());const r=n.type;n.type=ea(r),e[o]={type:n.type,value:t}}else e[o]={type:ea(n)}})}(c,(e.default||e).props);const u=c.methods;return u.onLoad=function(e){var t;return this.options=e,this.$page={fullPath:(t=this.route+be(e),function(e){return 0===e.indexOf("/")}(t)?t:"/"+t)},this.$vm&&this.$vm.$callHook(Y,e)},Qs(u,Fs),Hs(u,e),function(e,t){if(!t)return;Object.keys(xe).forEach(o=>{t&xe[o]&&zs(e,o,[])})}(u,e.__runtimeHooks),Qs(u,qs()),o&&o(c,{handleLink:s}),c}const la=Page,pa=Component;function da(e){const t=e.triggerEvent,o=function(o,...n){return t.apply(e,[(r=o,N(r.replace(he,"-"))),...n]);var r};try{e.triggerEvent=o}catch(n){e._triggerEvent=o}}function fa(e,t,o){const n=t[e];t[e]=n?function(...e){return da(this),n.apply(this,e)}:function(){da(this)}}Page=function(e){return fa(Y,e),la(e)},Component=function(e){fa("created",e);return e.properties&&e.properties.uP||(Gs(e),oa(e)),pa(e)};var ha=Object.freeze({__proto__:null,handleLink:function(e){const t=e.detail||e.value,o=t.vuePid;let n;o&&(n=Js(this.$vm,o)),n||(n=this.$vm),t.parent=n},initLifetimes:function({mocks:e,isPage:t,initRelation:o,vueOptions:n}){return{attached(){let r=this.properties;!function(e,t){if(!e)return;const o=e.split(","),n=o.length;1===n?t._$vueId=o[0]:2===n&&(t._$vueId=o[0],t._$vuePid=o[1])}(r.uI,this);const i={vuePid:this._$vuePid};o(this,i);const s=this,a=t(s);let c=r;this.$vm=function(e,t){sa||(sa=ca().$createComponent);const o=sa(e,t);return Ri(o.$)||o}({type:n,props:ta(c,a)},{mpType:a?"page":"component",mpInstance:s,slots:r.uS||{},parentComponent:i.parent&&i.parent.$,onBeforeSetup(t,o){!function(e,t){Object.defineProperty(e,"refs",{get(){const e={};return function(e,t,o){e.selectAllComponents(t).forEach(e=>{const t=e.properties.uR;o[t]=e.$vm||e})}(t,".r",e),t.selectAllComponents(".r-i-f").forEach(t=>{const o=t.properties.uR;o&&(e[o]||(e[o]=[]),e[o].push(t.$vm||t))}),e}})}(t,s),function(e,t,o){const n=e.ctx;o.forEach(o=>{v(t,o)&&(e[o]=n[o]=t[o])})}(t,s,e),function(e,t){js(e,t);const o=e.ctx;Ns.forEach(e=>{o[e]=function(...t){const n=o.$scope;if(n&&n[e])return n[e].apply(n,t)}})}(t,o)}}),a||function(e){const t=e.$options;b(t.behaviors)&&t.behaviors.includes("uni://form-field")&&e.$watch("modelValue",()=>{e.$scope&&e.$scope.setData({name:e.name,value:e.modelValue})},{immediate:!0})}(this.$vm)},ready(){this.$vm&&(this.$vm.$callHook("mounted"),this.$vm.$callHook(J))},detached(){var e;this.$vm&&(Ts(this.$vm.$.uid),e=this.$vm,aa||(aa=ca().$destroyComponent),aa(e))}}},initRelation:function(e,t){e.triggerEvent("__l",t)},isPage:function(e){return!!e.route},mocks:["__route__","__wxExparserNodeId__","__wxWebviewId__"]});const ga=function(e){return App(Vs(e,ma))};var ma;const ya=(va=ha,function(e){return Component(ua(e,va))});var va;const ba=function(e){return function(t){return Component(ia(t,e))}}(ha),wa=function(e){return function(t){$s(Vs(t,e),t)}}(),Sa=function(e){return function(t){const o=Vs(t,e),n=x(getApp)&&getApp({allowDefault:!0});if(!n)return;t.$.ctx.$scope=n;const r=n.globalData;r&&Object.keys(o.globalData).forEach(e=>{v(r,e)||(r[e]=o.globalData[e])}),Object.keys(o).forEach(e=>{v(n,e)||(n[e]=o[e])}),$s(o,t)}}();wx.createApp=global.createApp=ga,wx.createPage=ya,wx.createComponent=ba,wx.createPluginApp=global.createPluginApp=wa,wx.createSubpackageApp=global.createSubpackageApp=Sa; /*! * pinia v2.0.33 * (c) 2023 Eduardo San Martin Morote * @license MIT */ -let xa;const Sa=e=>xa=e,Aa=Symbol();function Ta(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var ka,Ea;(Ea=ka||(ka={})).direct="direct",Ea.patchObject="patch object",Ea.patchFunction="patch function";const Pa="undefined"!=typeof window;function Ia(){const e=In(!0),t=e.run((()=>Jo({})));let n=[],o=[];const r=zo({install(e){Sa(r),r._a=e,e.provide(Aa,r),e.config.globalProperties.$pinia=r,o.forEach((e=>n.push(e))),o=[]},use(e){return this._a?n.push(e):o.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Ca=()=>{};function _a(e,t,n,o=Ca){e.push(t);const r=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),o())};return!n&&Cn()&&function(e){En&&En.cleanups.push(e)}(r),r}function Oa(e,...t){e.slice().forEach((e=>{e(...t)}))}function Ba(e,t){e instanceof Map&&t instanceof Map&&t.forEach(((t,n)=>e.set(n,t))),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];Ta(r)&&Ta(o)&&e.hasOwnProperty(n)&&!Ko(o)&&!Uo(o)?e[n]=Ba(r,o):e[n]=o}return e}const ja=Symbol();const{assign:La}=Object;function Na(e,t,n,o){const{state:r,actions:i,getters:s}=t,a=n.state.value[e];let c;return c=Da(e,(function(){a||(n.state.value[e]=r?r():{});const t=function(e){const t=v(e)?new Array(e.length):{};for(const n in e)t[n]=tr(e,n);return t}(n.state.value[e]);return La(t,i,Object.keys(s||{}).reduce(((t,o)=>(t[o]=zo(Ui((()=>{Sa(n);const t=n._s.get(e);return s[o].call(t,t)}))),t)),{}))}),t,n,o,!0),c}function Da(e,t,n={},o,r,i){let s;const a=La({actions:{}},n),c={deep:!0};let l,u,f,p=zo([]),d=zo([]);const h=o.state.value[e];let g;function m(t){let n;l=u=!1,"function"==typeof t?(t(o.state.value[e]),n={type:ka.patchFunction,storeId:e,events:f}):(Ba(o.state.value[e],t),n={type:ka.patchObject,payload:t,storeId:e,events:f});const r=g=Symbol();mr().then((()=>{g===r&&(l=!0)})),u=!0,Oa(p,n,o.state.value[e])}i||h||(o.state.value[e]={}),Jo({});const y=i?function(){const{state:e}=n,t=e?e():{};this.$patch((e=>{La(e,t)}))}:Ca;function b(t,n){return function(){Sa(o);const r=Array.from(arguments),i=[],s=[];let a;Oa(d,{args:r,name:t,store:v,after:function(e){i.push(e)},onError:function(e){s.push(e)}});try{a=n.apply(this&&this.$id===e?this:v,r)}catch(c){throw Oa(s,c),c}return a instanceof Promise?a.then((e=>(Oa(i,e),e))).catch((e=>(Oa(s,e),Promise.reject(e)))):(Oa(i,a),a)}}const v=Do({_p:o,$id:e,$onAction:_a.bind(null,d),$patch:m,$reset:y,$subscribe(t,n={}){const r=_a(p,t,n.detached,(()=>i())),i=s.run((()=>Or((()=>o.state.value[e]),(o=>{("sync"===n.flush?u:l)&&t({storeId:e,type:ka.direct,events:f},o)}),La({},c,n))));return r},$dispose:function(){s.stop(),p=[],d=[],o._s.delete(e)}});o._s.set(e,v);const w=o._e.run((()=>(s=In(),s.run((()=>t())))));for(const A in w){const t=w[A];if(Ko(t)&&(!Ko(S=t)||!S.effect)||Uo(t))i||(!h||Ta(x=t)&&x.hasOwnProperty(ja)||(Ko(t)?t.value=h[A]:Ba(t,h[A])),o.state.value[e][A]=t);else if("function"==typeof t){const e=b(A,t);w[A]=e,a.actions[A]=t}}var x,S;return La(v,w),La(qo(v),w),Object.defineProperty(v,"$state",{get:()=>o.state.value[e],set:e=>{m((t=>{La(t,e)}))}}),o._p.forEach((e=>{La(v,s.run((()=>e({store:v,app:o._a,pinia:o,options:a}))))})),h&&i&&n.hydrate&&n.hydrate(v.$state,h),l=!0,u=!0,v}function Ma(e,t,n){let o,r;const i="function"==typeof t;function s(e,n){const s=Oi();(e=e||s&&Cr(Aa,null))&&Sa(e),(e=xa)._s.has(o)||(i?Da(o,t,r,e):Na(o,r,e));return e._s.get(o)}return"string"==typeof e?(o=e,r=i?n:t):(r=e,o=e.id),s.$id=o,s}let Fa="Store";function Ua(e,t){return Array.isArray(t)?t.reduce(((t,n)=>(t[n]=function(){return e(this.$pinia)[n]},t)),{}):Object.keys(t).reduce(((n,o)=>(n[o]=function(){const n=e(this.$pinia),r=t[o];return"function"==typeof r?r.call(this,n):n[r]},n)),{})}const Ra=Ua;const Qa=Object.freeze(Object.defineProperty({__proto__:null,get MutationType(){return ka},PiniaVuePlugin:function(e){e.mixin({beforeCreate(){const e=this.$options;if(e.pinia){const t=e.pinia;if(!this._provided){const e={};Object.defineProperty(this,"_provided",{get:()=>e,set:t=>Object.assign(e,t)})}this._provided[Aa]=t,this.$pinia||(this.$pinia=t),t._a=this,Pa&&Sa(t)}else!this.$pinia&&e.parent&&e.parent.$pinia&&(this.$pinia=e.parent.$pinia)},destroyed(){delete this._pStores}})},acceptHMRUpdate:function(e,t){return()=>{}},createPinia:Ia,defineStore:Ma,getActivePinia:()=>Oi()&&Cr(Aa)||xa,mapActions:function(e,t){return Array.isArray(t)?t.reduce(((t,n)=>(t[n]=function(...t){return e(this.$pinia)[n](...t)},t)),{}):Object.keys(t).reduce(((n,o)=>(n[o]=function(...n){return e(this.$pinia)[t[o]](...n)},n)),{})},mapGetters:Ra,mapState:Ua,mapStores:function(...e){return e.reduce(((e,t)=>(e[t.$id+Fa]=function(){return t(this.$pinia)},e)),{})},mapWritableState:function(e,t){return Array.isArray(t)?t.reduce(((t,n)=>(t[n]={get(){return e(this.$pinia)[n]},set(t){return e(this.$pinia)[n]=t}},t)),{}):Object.keys(t).reduce(((n,o)=>(n[o]={get(){return e(this.$pinia)[t[o]]},set(n){return e(this.$pinia)[t[o]]=n}},n)),{})},setActivePinia:Sa,setMapStoreSuffix:function(e){Fa=e},skipHydrate:function(e){return Object.defineProperty(e,ja,{})},storeToRefs:function(e){{e=qo(e);const t={};for(const n in e){const o=e[n];(Ko(o)||Uo(o))&&(t[n]=tr(e,n))}return t}}},Symbol.toStringTag,{value:"Module"}));function qa(e){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e)}function za(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(const t in e)return!1;return!0}return!1}function Ha(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}function Wa(e){return"[object Object]"===Object.prototype.toString.call(e)}function $a(e){return"function"==typeof e}const Va={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/^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(e)},date:function(e){if(!e)return!1;if("number"==typeof e)return(10===e.toString().length||13===e.toString().length)&&!isNaN(new Date(e).getTime());if("string"==typeof e){const t=Number(e);if(!isNaN(t)&&(10===t.toString().length||13===t.toString().length))return!isNaN(new Date(t).getTime());if(e.length<10||e.length>19)return!1;if(!/^\d{4}[-\/]\d{2}[-\/]\d{2}( \d{1,2}:\d{2}(:\d{2})?)?$/.test(e))return!1;const n=new Date(e);return!isNaN(n.getTime())}return!1},dateISO:function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:qa,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}$))/,n=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;return 7===e.length?n.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:za,isEmpty:za,jsonString:function(e){if("string"==typeof e)try{const t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(Gu){return!1}return!1},landline:function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},object:Wa,array:Ha,code:function(e,t=6){return new RegExp(`^\\d{${t}}$`).test(e)},func:$a,promise:function(e){return Wa(e)&&$a(e.then)&&$a(e.catch)},video:function(e){return/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i.test(e)},image:function(e){const t=e.split("?")[0];return/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i.test(t)},regExp:function(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)},string:function(e){return"string"==typeof e}};function Ka(e,t=15){return+parseFloat(Number(e).toPrecision(t))}function Ja(e){const t=e.toString().split(/[eE]/),n=(t[0].split(".")[1]||"").length-+(t[1]||0);return n>0?n:0}function Ya(e){if(-1===e.toString().indexOf("e"))return Number(e.toString().replace(".",""));const t=Ja(e);return t>0?Ka(Number(e)*Math.pow(10,t)):Number(e)}function Ga(e){(e>Number.MAX_SAFE_INTEGER||e{i=t(i,e)})),i}function Za(...e){if(e.length>2)return Xa(e,Za);const[t,n]=e,o=Ya(t),r=Ya(n),i=Ja(t)+Ja(n),s=o*r;return Ga(s),s/Math.pow(10,i)}function ec(...e){if(e.length>2)return Xa(e,ec);const[t,n]=e,o=Ya(t),r=Ya(n);return Ga(o),Ga(r),Za(o/r,Ka(Math.pow(10,Ja(n)-Ja(t))))}const tc={v:"3",version:"3",type:["primary","success","info","error","warning"],color:{"u-primary":"#2979ff","u-warning":"#ff9900","u-success":"#19be6b","u-error":"#fa3534","u-info":"#909399","u-main-color":"#303133","u-content-color":"#606266","u-tips-color":"#909399","u-light-color":"#c0c4cc","up-primary":"#2979ff","up-warning":"#ff9900","up-success":"#19be6b","up-error":"#fa3534","up-info":"#909399","up-main-color":"#303133","up-content-color":"#606266","up-tips-color":"#909399","up-light-color":"#c0c4cc"},unit:"px"};function nc(e,t=!1){return qa(e)?t?`${e}px`:Number(e):/(rpx|upx)$/.test(e)?t?`${kn.upx2px(parseInt(e))}px`:Number(kn.upx2px(parseInt(e))):t?`${parseInt(e)}px`:parseInt(e)}function oc(e=30){return new Promise((t=>{setTimeout((()=>{t()}),e)}))}function rc(){let e={};return e=kn.getWindowInfo(),e}function ic(e,t){if(e>=0&&t>0&&t>=e){const n=t-e+1;return Math.floor(Math.random()*n+e)}return 0}function sc(e=void 0){let t=this.$parent;for(;t;){if(e=e.replace(/up-([a-zA-Z0-9-_]+)/g,"u-$1"),!t.$options||t.$options.name===e)return t;t=t.$parent}return!1}function ac(e,t="object"){if(za(e)||"object"==typeof e&&"object"===t||"string"===t&&"string"==typeof e)return e;if("object"===t){const t=(e=dc(e)).split(";"),n={};for(let e=0;e{const o=t.replace(/([A-Z])/g,"-$1").toLowerCase();n+=`${o}:${e};`})),dc(n)}function cc(e="auto",t=""){return t||(t=tc.unit||"px"),"rpx"==t&&qa(String(e))&&(e*=2),qa(e=String(e))?`${e}${t}`:e}function lc(e){if([null,void 0,NaN,!1].includes(e))return e;if("object"!=typeof e&&"function"!=typeof e)return e;const t=Ha(e)?[]:{};for(const n in e)e.hasOwnProperty(n)&&(t[n]="object"==typeof e[n]?lc(e[n]):e[n]);return t}function uc(e={},t={}){let n=lc(e);if("object"!=typeof n||"object"!=typeof t)return!1;for(const o in t)t.hasOwnProperty(o)&&(o in n?null==t[o]||"object"!=typeof n[o]||"object"!=typeof t[o]?n[o]=t[o]:n[o].concat&&t[o].concat?n[o]=n[o].concat(t[o]):n[o]=uc(n[o],t[o]):n[o]=t[o]);return n}function fc(e){}function pc(e=null,t="yyyy-mm-dd"){let n;n=e?/^\d{10}$/.test(e.toString().trim())?new Date(1e3*e):"string"==typeof e&&/^\d+$/.test(e.trim())?new Date(Number(e)):new Date("string"==typeof e?e.replace(/-/g,"/"):e):new Date;const o={y:n.getFullYear().toString(),m:(n.getMonth()+1).toString().padStart(2,"0"),d:n.getDate().toString().padStart(2,"0"),h:n.getHours().toString().padStart(2,"0"),M:n.getMinutes().toString().padStart(2,"0"),s:n.getSeconds().toString().padStart(2,"0")};for(const r in o){const[e]=new RegExp(`${r}+`).exec(t)||[];if(e){const n="y"===r&&2===e.length?2:0;t=t.replace(e,o[r].slice(n))}}return t}function dc(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}function hc(e={},t=!0,n="brackets"){const o=t?"?":"",r=[];-1==["indices","brackets","repeat","comma"].indexOf(n)&&(n="brackets");for(const i in e){const t=e[i];if(!(["",void 0,null].indexOf(t)>=0))if(t.constructor===Array)switch(n){case"indices":for(let n=0;n{r.push(`${i}[]=${e}`)}));break;case"repeat":t.forEach((e=>{r.push(`${i}=${e}`)}));break;case"comma":let e="";t.forEach((t=>{e+=(e?",":"")+t})),r.push(`${i}=${e}`)}else r.push(`${i}=${t}`)}return r.length?o+r.join("&"):""}function gc(e,t=2e3){kn.showToast({title:String(e),icon:"none",duration:t})}function mc(e,t=0,n=".",o=","){e=`${e}`.replace(/[^0-9+-Ee.]/g,"");const r=isFinite(+e)?+e:0,i=isFinite(+t)?Math.abs(t):0,s=void 0===o?",":o,a=void 0===n?".":n;let c="";c=(i?function(e,t){const n=Math.pow(10,t);let o=ec(Math.round(Math.abs(Za(e,n))),n);return e<0&&0!==o&&(o=Za(o,-1)),o}(r,i)+"":`${Math.round(r)}`).split(".");const l=/(-?\d+)(\d{3})/;for(;l.test(c[0]);)c[0]=c[0].replace(l,`$1${s}$2`);return(c[1]||"").length{}),t)}function bc(){const e=getCurrentPages();return`/${e[e.length-1].route||""}`}String.prototype.padStart||(String.prototype.padStart=function(e,t=" "){if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");const n=this;if(n.length>=e)return String(n);const o=e-n.length;let r=Math.ceil(o/t.length);for(;r>>=1;)t+=t,1===r&&(t+=t);return t.slice(0,o)+n});const vc={range:function(e=0,t=0,n=0){return Math.max(e,Math.min(t,Number(n)))},getPx:nc,sleep:oc,os:function(){return kn.getDeviceInfo().platform.toLowerCase()},sys:function(){return kn.getSystemInfoSync()},getWindowInfo:rc,random:ic,guid:function(e=32,t=!0,n=null){const o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[];if(n=n||o.length,e)for(let i=0;iMath.random()-.5))},timeFormat:pc,timeFrom:function(e=null,t="yyyy-mm-dd"){null==e&&(e=Number(new Date)),10==(e=parseInt(e)).toString().length&&(e*=1e3);let n=(new Date).getTime()-e;n=parseInt(n/1e3);let o="";switch(!0){case n<300:o="刚刚";break;case n>=300&&n<3600:o=`${parseInt(n/60)}分钟前`;break;case n>=3600&&n<86400:o=`${parseInt(n/3600)}小时前`;break;case n>=86400&&n<2592e3:o=`${parseInt(n/86400)}天前`;break;default:o=!1===t?n>=2592e3&&n<31536e3?`${parseInt(n/2592e3)}个月前`:`${parseInt(n/31536e3)}年前`:pc(e,t)}return o},trim:dc,queryParams:hc,toast:gc,type2icon:function(e="success",t=!1){-1==["primary","info","error","warning","success"].indexOf(e)&&(e="success");let n="";switch(e){case"primary":case"info":n="info-circle";break;case"error":n="close-circle";break;case"warning":n="error-circle";break;default:n="checkmark-circle"}return t&&(n+="-fill"),n},priceFormat:mc,getDuration:function(e,t=!0){const n=parseInt(e);return t?/s$/.test(e)?e:e>30?`${e}ms`:`${e}s`:/ms$/.test(e)?n:/s$/.test(e)?n>30?n:1e3*n:n},padZero:function(e){return`00${e}`.slice(-2)},formValidate:yc,getProperty:function(e,t){if("object"!=typeof e||null==e)return"";if("string"!=typeof t||""===t)return"";if(-1!==t.indexOf(".")){const n=t.split(".");let o=e[n[0]]||{};for(let e=1;e1;){const r=t[0];e[r]&&"object"==typeof e[r]||(e[r]={}),t.shift(),o(e[r],t,n)}else e[t[0]]=n};if("string"!=typeof t||""===t);else if(-1!==t.indexOf(".")){const r=t.split(".");o(e,r,n)}else e[t]=n},page:bc,pages:function(){return getCurrentPages()},getValueByPath:function(e,t){return t.split(".").reduce(((e,t)=>e&&void 0!==e[t]?e[t]:void 0),e)}};const wc=(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 n="";return/.*\/.*\?.*=.*/.test(e)?(n=hc(t,!1),e+`&${n}`):(n=hc(t),e+n)}async route(e={},t={}){let n={};if("string"==typeof e?(n.url=this.mixinParam(e,t),n.type="navigateTo"):(n=uc(this.config,e),n.url=this.mixinParam(e.url,e.params)),n.url!==bc())if(t.intercept&&(this.config.intercept=t.intercept),n.params=t,n=uc(this.config,n),"function"==typeof kn.$u.routeIntercept){await new Promise(((e,t)=>{kn.$u.routeIntercept(n,e)}))&&this.openPage(n)}else this.openPage(n)}openPage(e){const{url:t,type:n,delta:o,animationType:r,animationDuration:i}=e;"navigateTo"!=e.type&&"to"!=e.type||kn.navigateTo({url:t,animationType:r,animationDuration:i}),"redirectTo"!=e.type&&"redirect"!=e.type||kn.redirectTo({url:t}),"switchTab"!=e.type&&"tab"!=e.type||kn.switchTab({url:t}),"reLaunch"!=e.type&&"launch"!=e.type||kn.reLaunch({url:t}),"navigateBack"!=e.type&&"back"!=e.type||kn.navigateBack({delta:o})}}).route,xc={props:{customStyle:{type:[Object,String],default:()=>({})},customClass:{type:String,default:""},url:{type:String,default:""},linkType:{type:String,default:"navigateTo"}},data:()=>({}),onLoad(){this.$u.getRect=this.$uGetRect},created(){this.$u.getRect=this.$uGetRect},computed:{$u:()=>uc(kn.$u,{props:void 0,http:void 0,mixin:void 0}),bem:()=>function(e,t,n){const o=`u-${e}--`,r={};return t&&t.map((e=>{r[o+this[e]]=!0})),n&&n.map((e=>{this[e]?r[o+e]=this[e]:delete r[o+e]})),Object.keys(r)}},methods:{openPage(e="url"){const t=this[e];t&&wc({type:this.linkType,url:t})},navTo(e="",t="navigateTo"){wc({type:this.linkType,url:e})},$uGetRect(e,t){return new Promise((n=>{kn.createSelectorQuery().in(this)[t?"selectAll":"select"](e).boundingClientRect((e=>{t&&Array.isArray(e)&&e.length&&n(e),!t&&e&&n(e)})).exec()}))},getParentData(e=""){this.parent||(this.parent={}),this.parent=sc.call(this,e),this.parent.children&&-1===this.parent.children.indexOf(this)&&this.parent.children.push(this),this.parent&&this.parentData&&Object.keys(this.parentData).map((e=>{this.parentData[e]=this.parent[e]}))},preventEvent(e){e&&"function"==typeof e.stopPropagation&&e.stopPropagation()},noop(e){this.preventEvent(e)}},onReachBottom(){kn.$emit("uOnReachBottom")},beforeUnmount(){if(this.parent&&Va.array(this.parent.children)){const e=this.parent.children;e.map(((t,n)=>{t===this&&e.splice(n,1)}))}}},Sc={options:{virtualHost:!0}},{toString:Ac}=Object.prototype;function Tc(e){return"[object Array]"===Ac.call(e)}function kc(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),Tc(e))for(let n=0,o=e.length;n{null!=t&&(Tc(t)?n=`${n}[]`:t=[t],kc(t,(t=>{!function(e){return"[object Date]"===Ac.call(e)}(t)?function(e){return null!==e&&"object"==typeof e}(t)&&(t=JSON.stringify(t)):t=t.toISOString(),e.push(`${Ic(n)}=${Ic(t)}`)})))})),n=e.join("&")}var o;if(n){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}const _c=(e,t)=>{const n={};return e.forEach((e=>{Pc(t[e])||(n[e]=t[e])})),n},Oc=e=>(e=>new Promise(((t,n)=>{const o=Cc((r=e.baseURL,i=e.url,r&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i)?function(e,t){return t?`${e.replace(/\/+$/,"")}/${t.replace(/^\/+/,"")}`:e}(r,i):i),e.params);var r,i;const s={url:o,header:e.header,complete:r=>{e.fullPath=o,r.config=e;try{"string"==typeof r.data&&(r.data=JSON.parse(r.data))}catch(Gu){}!function(e,t,n){const{validateStatus:o}=n.config,r=n.statusCode;!r||o&&!o(r)?t(n):e(n)}(t,n,r)}};let a;if("UPLOAD"===e.method){delete s.header["content-type"],delete s.header["Content-Type"];const t={filePath:e.filePath,name:e.name},n=["formData"];a=kn.uploadFile({...s,...t,..._c(n,e)})}else if("DOWNLOAD"===e.method)a=kn.downloadFile(s);else{const t=["data","method","timeout","dataType","responseType"];a=kn.request({...s,..._c(t,e)})}e.getTask&&e.getTask(a,e)})))(e);function Bc(){this.handlers=[]}Bc.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},Bc.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},Bc.prototype.forEach=function(e){this.handlers.forEach((t=>{null!==t&&e(t)}))};const jc=(e,t,n)=>{const o={};return e.forEach((e=>{Pc(n[e])?Pc(t[e])||(o[e]=t[e]):o[e]=n[e]})),o},Lc={baseURL:"",header:{},method:"GET",dataType:"json",responseType:"text",custom:{},timeout:6e4,validateStatus:function(e){return e>=200&&e<300}};var Nc=function(){function e(e,t){return null!=t&&e instanceof t}var t,n,o;try{t=Map}catch(a){t=function(){}}try{n=Set}catch(a){n=function(){}}try{o=Promise}catch(a){o=function(){}}function r(i,a,c,l,u){"object"==typeof a&&(c=a.depth,l=a.prototype,u=a.includeNonEnumerable,a=a.circular);var f=[],p=[],d="undefined"!=typeof Buffer;return void 0===a&&(a=!0),void 0===c&&(c=1/0),function i(c,h){if(null===c)return null;if(0===h)return c;var g,m;if("object"!=typeof c)return c;if(e(c,t))g=new t;else if(e(c,n))g=new n;else if(e(c,o))g=new o((function(e,t){c.then((function(t){e(i(t,h-1))}),(function(e){t(i(e,h-1))}))}));else if(r.__isArray(c))g=[];else if(r.__isRegExp(c))g=new RegExp(c.source,s(c)),c.lastIndex&&(g.lastIndex=c.lastIndex);else if(r.__isDate(c))g=new Date(c.getTime());else{if(d&&Buffer.isBuffer(c))return Buffer.from?g=Buffer.from(c):(g=new Buffer(c.length),c.copy(g)),g;e(c,Error)?g=Object.create(c):void 0===l?(m=Object.getPrototypeOf(c),g=Object.create(m)):(g=Object.create(l),m=l)}if(a){var y=f.indexOf(c);if(-1!=y)return p[y];f.push(c),p.push(g)}for(var b in e(c,t)&&c.forEach((function(e,t){var n=i(t,h-1),o=i(e,h-1);g.set(n,o)})),e(c,n)&&c.forEach((function(e){var t=i(e,h-1);g.add(t)})),c){Object.getOwnPropertyDescriptor(c,b)&&(g[b]=i(c[b],h-1));try{if("undefined"===Object.getOwnPropertyDescriptor(c,b).set)continue;g[b]=i(c[b],h-1)}catch(Gu){if(Gu instanceof TypeError)continue;if(Gu instanceof ReferenceError)continue}}if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(c);for(b=0;bNumber(e)))}return e}function Fc(e){const t=e;if(/^(rgb|RGB)/.test(t)){const e=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");let n="#";for(let t=0;t{Rc=!1}),t)):Rc||(Rc=!0,setTimeout((()=>{Rc=!1,"function"==typeof e&&e()}),t))}const zc={calendar:{title:"日期选择",showTitle:!0,showSubtitle:!0,mode:"single",startText:"开始",endText:"结束",customList:[],color:"#3c9cff",minDate:0,maxDate:0,defaultDate:null,maxCount:Number.MAX_SAFE_INTEGER,rowHeight:56,formatter:null,showLunar:!1,showMark:!0,confirmText:"确定",confirmDisabledText:"确定",show:!1,closeOnClickOverlay:!1,readonly:!1,showConfirm:!0,maxRange:Number.MAX_SAFE_INTEGER,rangePrompt:"",showRangePrompt:!0,allowSameDay:!1,round:0,monthNum:3}},Hc={datetimePicker:{show:!1,popupMode:"bottom",showToolbar:!0,value:"",title:"",mode:"datetime",maxDate:new Date((new Date).getFullYear()+10,0,1).getTime(),minDate:new Date((new Date).getFullYear()-10,0,1).getTime(),minHour:0,maxHour:23,minMinute:0,maxMinute:59,filter:null,formatter:null,loading:!1,itemHeight:44,cancelText:"取消",confirmText:"确认",cancelColor:"#909193",confirmColor:"#3c9cff",visibleItemCount:5,closeOnClickOverlay:!1,defaultIndex:[]}},{color:Wc}=tc,$c={icon:{name:"",color:Wc["u-content-color"],size:"16px",bold:!1,index:"",hoverClass:"",customPrefix:"uicon",label:"",labelPos:"right",labelSize:"15px",labelColor:Wc["u-content-color"],space:"3px",imgMode:"",width:"",height:"",top:0,stop:!1}},{color:Vc}=tc,Kc={link:{color:Vc["u-primary"],fontSize:15,underLine:!1,href:"",mpTips:"链接已复制,请在浏览器打开",lineColor:"",text:""}},{color:Jc}=tc,Yc={loadingIcon:{show:!0,color:Jc["u-tips-color"],textColor:Jc["u-tips-color"],vertical:!1,mode:"spinner",size:24,textSize:15,text:"",timingFunction:"ease-in-out",duration:1200,inactiveColor:""}},Gc={primary:"#3c9cff",info:"#909399",default:"#909399",warning:"#f9ae3d",error:"#f56c6c",success:"#5ac725",mainColor:"#303133",contentColor:"#606266",tipsColor:"#909399",lightColor:"#c0c4cc",borderColor:"#e4e7ed"},Xc={actionSheet:{show:!1,title:"",description:"",actions:[],index:"",cancelText:"",closeOnClickAction:!0,safeAreaInsetBottom:!0,openType:"",closeOnClickOverlay:!0,round:0,wrapMaxHeight:"600px"},album:{urls:[],keyName:"",singleSize:180,multipleSize:70,space:6,singleMode:"scaleToFill",multipleMode:"aspectFill",maxCount:9,previewFullImage:!0,rowCount:3,showMore:!0,autoWrap:!1,unit:"px",stop:!0},alert:{title:"",type:"warning",description:"",closable:!1,showIcon:!1,effect:"light",center:!1,fontSize:14},avatar:{src:"",shape:"circle",size:40,mode:"scaleToFill",text:"",bgColor:"#c0c4cc",color:"#ffffff",fontSize:18,icon:"",mpAvatar:!1,randomBgColor:!1,defaultUrl:"",colorIndex:"",name:""},avatarGroup:{urls:[],maxCount:5,shape:"circle",mode:"scaleToFill",showMore:!0,size:40,keyName:"",gap:.5,extraValue:0},backtop:{mode:"circle",icon:"arrow-upward",text:"",duration:100,scrollTop:0,top:400,bottom:100,right:20,zIndex:9,iconStyle:{color:"#909399",fontSize:"19px"}},badge:{isDot:!1,value:"",show:!0,max:999,type:"error",showZero:!1,bgColor:null,color:null,shape:"circle",numberType:"overflow",offset:[],inverted:!1,absolute:!1},button:{hairline:!1,type:"info",size:"normal",shape:"square",plain:!1,disabled:!1,loading:!1,loadingText:"",loadingMode:"spinner",loadingSize:15,openType:"",formType:"",appParameter:"",hoverStopPropagation:!0,lang:"en",sessionFrom:"",sendMessageTitle:"",sendMessagePath:"",sendMessageImg:"",showMessageCard:!1,dataName:"",throttleTime:0,hoverStartTime:0,hoverStayTime:200,text:"",icon:"",iconColor:"",color:"",stop:!0},...zc,carKeyboard:{random:!1},cell:{customClass:"",title:"",label:"",value:"",icon:"",disabled:!1,border:!0,center:!1,url:"",linkType:"navigateTo",clickable:!1,isLink:!1,required:!1,arrowDirection:"",iconStyle:{},rightIconStyle:{},rightIcon:"arrow-right",titleStyle:{},size:"",stop:!0,name:""},cellGroup:{title:"",border:!0,customStyle:{}},checkbox:{name:"",shape:"",size:"",checkbox:!1,disabled:"",activeColor:"",inactiveColor:"",iconSize:"",iconColor:"",label:"",labelSize:"",labelColor:"",labelDisabled:""},checkboxGroup:{name:"",value:[],shape:"square",disabled:!1,activeColor:"#2979ff",inactiveColor:"#c8c9cc",size:18,placement:"row",labelSize:14,labelColor:"#303133",labelDisabled:!1,iconColor:"#ffffff",iconSize:12,iconPlacement:"left",borderBottom:!1},circleProgress:{percentage:30},code:{seconds:60,startText:"获取验证码",changeText:"X秒重新获取",endText:"重新获取",keepRunning:!1,uniqueKey:""},codeInput:{adjustPosition:!0,maxlength:6,dot:!1,mode:"box",hairline:!1,space:10,value:"",focus:!1,bold:!1,color:"#606266",fontSize:18,size:35,disabledKeyboard:!1,borderColor:"#c9cacc",disabledDot:!0},col:{span:12,offset:0,justify:"start",align:"stretch",textAlign:"left"},collapse:{value:null,accordion:!1,border:!0},collapseItem:{title:"",value:"",label:"",disabled:!1,isLink:!0,clickable:!0,border:!0,align:"left",name:"",icon:"",duration:300,showRight:!0},columnNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80,step:!1,duration:1500,disableTouch:!0,justifyContent:"flex-start"},countDown:{time:0,format:"HH:mm:ss",autoStart:!0,millisecond:!1},countTo:{startVal:0,endVal:0,duration:2e3,autoplay:!0,decimals:0,useEasing:!0,decimal:".",color:"#606266",fontSize:22,bold:!1,separator:""},...Hc,divider:{dashed:!1,hairline:!0,dot:!1,textPosition:"center",text:"",textSize:14,textColor:"#909399",lineColor:"#dcdfe6"},empty:{icon:"",text:"",textColor:"#c0c4cc",textSize:14,iconColor:"#c0c4cc",iconSize:90,mode:"data",width:160,height:160,show:!0,marginTop:0},form:{model:{},rules:{},errorType:"message",borderBottom:!0,labelPosition:"left",labelWidth:45,labelAlign:"left",labelStyle:{}},formItem:{label:"",prop:"",rules:[],borderBottom:"",labelPosition:"",labelWidth:"",rightIcon:"",leftIcon:"",required:!1,leftIconStyle:""},gap:{bgColor:"transparent",height:20,marginTop:0,marginBottom:0,customStyle:{}},grid:{col:3,border:!1,align:"left"},gridItem:{name:null,bgColor:"transparent"},...$c,image:{src:"",mode:"aspectFill",width:"300",height:"225",shape:"square",radius:0,lazyLoad:!0,showMenuByLongpress:!0,loadingIcon:"photo",errorIcon:"error-circle",showLoading:!0,showError:!0,fade:!0,webp:!1,duration:500,bgColor:"#f3f4f6"},indexAnchor:{text:"",color:"#606266",size:14,bgColor:"#dedede",height:32},indexList:{inactiveColor:"#606266",activeColor:"#5677fc",indexList:[],sticky:!0,customNavHeight:0,safeBottomFix:!1},input:{value:"",type:"text",fixed:!1,disabled:!1,disabledColor:"#f5f7fa",clearable:!1,password:!1,maxlength:140,placeholder:null,placeholderClass:"input-placeholder",placeholderStyle:"color: #c0c4cc",showWordLimit:!1,confirmType:"done",confirmHold:!1,holdKeyboard:!1,focus:!1,autoBlur:!1,disableDefaultPadding:!1,cursor:-1,cursorSpacing:30,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,inputAlign:"left",fontSize:"15px",color:"#303133",prefixIcon:"",prefixIconStyle:"",suffixIcon:"",suffixIconStyle:"",border:"surround",readonly:!1,shape:"square",formatter:null},keyboard:{mode:"number",dotDisabled:!1,tooltip:!0,showTips:!0,tips:"",showCancel:!0,showConfirm:!0,random:!1,safeAreaInsetBottom:!0,closeOnClickOverlay:!0,show:!1,overlay:!0,zIndex:10075,cancelText:"取消",confirmText:"确定",autoChange:!1},line:{color:"#d6d7d9",length:"100%",direction:"row",hairline:!0,margin:0,dashed:!1},lineProgress:{activeColor:"#19be6b",inactiveColor:"#ececec",percentage:0,showText:!0,height:12},...Kc,list:{showScrollbar:!1,lowerThreshold:50,upperThreshold:0,scrollTop:0,offsetAccuracy:10,enableFlex:!1,pagingEnabled:!1,scrollable:!0,scrollIntoView:"",scrollWithAnimation:!1,enableBackToTop:!1,height:0,width:0,preLoadScreen:1},listItem:{anchor:""},...Yc,loadingPage:{loadingText:"正在加载",image:"",loadingMode:"circle",loading:!1,bgColor:"#ffffff",color:"#C8C8C8",fontSize:19,iconSize:28,loadingColor:"#C8C8C8",zIndex:10},loadmore:{status:"loadmore",bgColor:"transparent",icon:!0,fontSize:14,iconSize:17,color:"#606266",loadingIcon:"spinner",loadmoreText:"加载更多",loadingText:"正在加载...",nomoreText:"没有更多了",isDot:!1,iconColor:"#b7b7b7",marginTop:10,marginBottom:10,height:"auto",line:!1,lineColor:"#E6E8EB",dashed:!1},modal:{show:!1,title:"",content:"",confirmText:"确认",cancelText:"取消",showConfirmButton:!0,showCancelButton:!1,confirmColor:"#2979ff",cancelColor:"#606266",buttonReverse:!1,zoom:!0,asyncClose:!1,closeOnClickOverlay:!1,negativeTop:0,width:"650rpx",confirmButtonShape:"",contentTextAlign:"left"},...{navbar:{safeAreaInsetTop:!0,placeholder:!1,fixed:!0,border:!1,leftIcon:"arrow-left",leftText:"",rightText:"",rightIcon:"",title:"",titleColor:"",bgColor:"#ffffff",titleWidth:"400rpx",height:"44px",leftIconSize:20,leftIconColor:Gc.mainColor,autoBack:!1,titleStyle:""}},noNetwork:{tips:"哎呀,网络信号丢失",zIndex:"",image:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQAAAABAAABLAAAAADYYILnAABAAElEQVR4Ae29CZhkV3kefNeq6m2W7tn3nl0aCbHIAgmQPGB+sLCNzSID9g9PYrAf57d/+4+DiW0cy8QBJ06c2In/PLFDHJ78+MGCGNsYgyxwIwktwEijAc1ohtmnZ+2Z7p5eq6vu9r/vuXWrq25VdVV1V3dXVX9Hmj73nv285963vvOd75yraeIEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQaD8E9PbrkvRopSMwMBBYRs+5O/yJS68cPnzYXel4tFP/jXbqjPRFEAiCQNe6Bw/6gdFn9Oy9Q90LLG2DgBBW2wyldIQIPPPCte2a5q3jtR+4ff/4wuBuXotrDwSEsNpjHKUXQODppy+udYJMEUEZgbd94DvnNwlA7YGAEFZ7jOOK78Xp06eTTkq7sxwQhmXuf/754VXl4iSstRAQwmqt8ZLWlkHg0UcD49qYfUjXfLtMtOZ7npExJu4iqZWLl7DWQUAIq3XGSlpaAYHD77q8xwuCOSUoXw8Sl0eMux977DGzQjES3AIICGG1wCBJEysj8PXnz230XXdr5RQFMYbRvWnv6w8UhMhliyGwYghr4Pjg3oEXL34ey9zyC9tiD2ml5h47dr1LN7S6CMjz/A3PvHh1Z6UyJby5EVgRhKUe7Kz/JU0LfvrJo5f+Y3MPibSuFgQGBgasYSd9l6GDsup0WS/T/9RTp9fXmU2SNwECdQ92E7S57iaMeJnPQLK6ixkDLfjlb7546RfrLkQyNBcC3dsP6oHWMd9G+V3JgwPHh7rnm1/yLQ8CbU9Y33zp0j+nZFUMb/DHmB7+SHGY3LUKAk8cObtD00xlHDrfNge+Z2ozU3c9dvx4Yr5lSL6lR6CtCWvg6OAPw9z538ZhhZRl6XrwhW8du1KX/iNejtwvPQIDR8+vSRqJ/obU7GupjdNdh2gW0ZDypJBFR6BtB2rg2OVtuub9JcmpHIpBoK1xfffLzx4f7C0XL2HNiYDp6bs9z23Ypn1fC1Y/9PCFDc3ZW2lVHIG2JKzTp4Ok7nv/G6Q054MIvda+bNb74pEgKGtwGAdL7pcfAa8vOKEZ2kyjWuLr7uDh+/qvN6o8KWdxEWhLwroyeek/g4zuqwU6kNrhyZcu/UktaSXN8iNwuL9/RuvVXtJ9PbPQ1vhmcP6t9+47u9ByJP/SIdB2hDVw9MJHQFYfrQdCph84evFX68kjaZcPAZJWwjMXRFpJ2zr91tfuvrh8vZCa54NA2xGWrunvmg8QWCJ/N4ir7fCYDxatkOeBB7an501agXbygVdvv9IK/ZQ2FiPQdi9osGbH+zRNf7y4m9Xu9Me7N9nv0HXdr5ZS4psHgXpJC9P/wDRTx0Vn1TxjWG9LGrbaUm/Fi5meSvcrkxf/Cg/ow9XqAUk91v3qHT97r6471dJKfHMi8Oyzgx1Z03t1YAQVT2MwgsC3u+yXHzi0faQ5eyGtqgWBtpOw2Ol9+/TM+sTOn8L08MtzgQCy+tOHXr3jA0JWc6HU/HF5Scssr4jXcYqfP6V/T8iq+ceyWgvbUsKKOn38eJAYyl56TAuCEr2WYei//9Crd/5GlFb81kdASVopSFrerKRlaoZj9HR+700H10+0fg+lB21NWBxe2lhNHsUpDZr27mi4dV379R9+za4/iO7Fbx8ECknLCPTsTDJ17O33bJpqnx6u7J60PWFxeAcCbMV56dJfQKf1bkMLfuGh1+76zMoe9vbuPUnLsb2DtmOe5HSxvXsrvWtLBEhaTx29+Ma27Jx0ShAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQaEsEVoQdVluO3BJ06ptHL34b1XRjp4Ch6Rq24+kmjG4Nwwg+9uA9u/73EjRBqhAEihAoe3xwUQq5WTYEzp0b3ZnV/Ncf6O/9AvY9wlh/6dy3X7ncN512Zw9BVLXjuAP4np44vnQtkZoEgVkEhLBmsWiKqwsXpjbPBOn3gRfenwnc+7GBe+zsjclvonFDS9nA9Iy/u3x9+vAP3735VPk4CRUEFhcBIazFxbfm0k9fHD7k+v4nQFaPQIrx8Gmyx/GJ0J/t7ez7mw0b9MmaC2pQQgh0/ZSm4g5TwueWWtqLt0HuVy4CQljLPPYnB0depTn+b3t+8B4t0AdBUv93h2H9xc6da0aXs2m+r1WQsLRnl7NdUvfKRkAIa5nG//r1oGtsZvjTgev/kqYHF/TA+AXoqv4npJemOEiQU1Eo2l+G0movBK1UBBPU7s9E1+ILAkuNgKwSLjXiqO/khVtvARH8dxDBRkMzPrF/V+9/BlG5y9CUqlXinHv9mRPXtvuus88L9H3JPv2zD2yXExCqAicJBIFWRwAvv3Xqwq0/Pnn+lv/K+ZvfPH3p9p5W75O0fxaBp793ce3AwIDMWmYhafiVgNtwSMsXeHp4eNXJC8Nf0PAdRCiuf/XgrnWUqsqotcvnl9DmRkCdweX4b9N7+m/ih+mbMraLM14yJVwcXItKpT1VRve+ArC3Qqn+3gM7132jKEGZm6tXg86J7OhDfuA/iHwPUpfUZSfu2L59tXxEoQxeyxkEgjKeOnLxHb4RqC+NY5H3+2953d4XlrNN7Vq3ENYij+yZwbG9jpt9GkBPQ5H9zgP9607OVeWp87cOQtn9zwJf+xDMNFfj+jryPqXpxj8c2Nn7P+SXey70lidu4IXzb0DNB4tr9751+HV7zxSHyd1CERDCWiiCc+QPjUCnsaqmZ62O5IN7N/VUNP48ee7mAZDTf4Tt049iUG4Guv4ZfNLos9UIbo7qJWoJEHjy+bP7fNsoOcnW0A0/aacef8PdG28sQTNWTBVCWIs01OfPj66BpfqTmq732UnjgT1bei+Vq4pTv7HM8Ceg2/o1qLQug7T+FaaM3IqTLZdewpoHgYEjV9fphvOj+OShWa5V+CxvZtpzv/LwG/aNl4uXsPoRwI+4uEYjAJ2GmdG8L0FK2mYa+tsrkdXZy+P7x2ZuHdW14P+BLdank9q6Qwd3rf+ckFWjR6Tx5Q2cP58K9Jm3VCIr1ogt48lO237r3//96YofeG18y9q7RFklXITxPXV+5DchKb3ZDMy37Nu5tuxG4R9cHH6b42QfAzlds+3EPXu2rfrBIjRFilwkBIIR7SHoJDurFU89ZOd680Gke6JaWomvjoBIWNUxqivFD87fej0e0n8Fwvr0/t1rnyqX+QfnRz7g+8FX8Rv8vL3auF/IqhxKzR2WCPxXqKeq3krDTdj2ierpJEUtCIgOqxaUakwzNBR0D09yiqePHOjveyOkpxLr9VMXb73V97S/h3nDXx7Y2fdPkAYbncW1IgIDxy5vM7LZt/hgrnLtxyaBrJNxv/72N+6tuNhSLp+EVUZACKsyNnXHvHL+1qcgNf2KbSXu2bt9dcmS9qlzo/fARgcmCtpzB3b1/Vg5QiuslLowENyDWDn8cSjl98PgdBviu03N+rl9/WufLEwr18uDwLdevLTF1YK3xnVZ2HI1bUxrT7z5zTuXdRP78qCyeLUKYTUI25OXbm4JPO00TBj+6I7+db8ZL3ZwMOiYdG4dA1lN9HWte2iuI2NAVPapC8O/CGPR34Ip/AZIbIMo7yX8G9QMbcS09P+2b1vf5XgdrXaPfiYns9oeLLEd8D1/B7Dp0E1jGP042pXQj7RKf546cmGzp+tv1TRf6YQD35/QO3seP3xow5IfC9QqmM23naJ0ny9ysXwgq98BWc0kVhv/Nhalbqe8kd/Fr8MOSEr3zEVWrwyO3I29hl+E9LUHGf+nAXI6sGPdd8uV2YphIKnE5IyL6bLxk7cn3bdkHHefrpvJAExMZ1uBZmqeNzXtfzUzk/m/ens7LjV7Px+8d9e1579/44l0duZtge+Np5zEEw8c2pBu9na3YvtEwmrAqNE8IZvNHsep5//yjl3r/0O8yFOXbv0QCO05gP0JGIL+fjw+uj91YeRh/Dp/PtCDM7Zpfmjvjt6Xo7hW9ycmJjaYduf7Hdf/8HTGfa3rG9rYxLSWnsloPg7fijZV8oFM2Ja2a9t6EJd7bCztvHP7us4rrdD/r3/7ct9I99jEI4cOiQ3dIg2YEFYDgOUJDFj1e8TqX7cT4kImXuQr5279A4DeBEX8ayvprU4N3rovcALot/TH13T0fXDTJn0qXk4r3k9OTm4y7a6PzjjORzOOvn1kbEqbnEprPhRzwAKzwFLHk05hv6Yd6N+o3R6beG50aPSdr3qV6IJKkVp5ITIlXOCYn4Yexr0w/DO6YXymHFlR0e5r7tsM3fxgJbI6fW1ivTeT+SsYmr54cFff+5Cu5X+hb94Merp6/J/PusGvTE6724eGJ7RpSFOkKPCUZvBPBccoHBet3Rwe13rX9tw/PjXzZ5hKvr8SfhWKkeA2REAIa4GD6p0feRdWBnvxjv2PckVhVfBf4A29uG/X2i+Ui2eYn8n8NryuDr3jPfWSFV5k44UT137eshIP2K7/64cObbheqZ6lCp+Ydt8TBO7vTM5od1+/NR4SFVhoLpKKt410lnE8LTMzo3V2dLznxLkhYgQ9obiVjEDln7mVjEodfYcpw+MAsftg/7qSDbAnb97sCSb0Yei2fqOcbovVqKNnNO8HmAE9Cv3Wp+uoWjt27HpXNqH9WTKR+kBHKqEFbvo5y3N/avfu4g23R45f3WGa1k9ZicTd0zPTf/f6O7f8dT311Jp2fHzmgJlI/N70jPPe4bEZ6Kg4qw0lqlrLiNKBiLWerpTW25PUbkPXZViW62ecHz+4d8PXojTirzwEyhq8rTwYFtRjvpX/rlwJ+iSXugPbMuyKBOHo3geRJtuT7PujcmVUCuPJlhnL/9NUqvMD2eyM5sxMaIlE4n7XML907tyNjcxHQjty4sZv66Z1xEok/xNW5n4uZSf+8sT5m++vVO58wkEu5sR09pd9w/rWyET2vReujiqygrSopn/zKZN5qMeirotKeTyolm7p/+X06Wvr51ue5Gt9BISwFjiGsLl6N6SrvylXDNTK70D4mX071pwtF88w6Jd/DG/1E1u26NOV0pQL71y3/8PJVOcHMzPTWkcCH2YGOaTTaS2RTN6f1fQvvvDK1bdnbO2JZCr1SeRfn05Pa1PTU0gXJBKW+ecnzlxvCGndhFQ1NRP8bcY1/vjS9bF1V26MwHwsVKiXa3etYVw1TNhYJ3TDjQCO42jJVMcez7J+t9YyJF37ISCEtahjGjxkGDr2DJZ31D8h5vUQJL5RPkXlUMM07u3qSGidICvkzzuSlmlZb0olrK9hD9v9JCrPC196JoPMAolFg6CV+PPj54YeyWecx8Vk2v1Q0rSfhFT18LnBmzBRyNalp5qrSuq7kiAsh4SFa7oZ9M0wzI+cPHOjZPo9V1kS1z4ICGEt4lhiCvZrSa2jol7qzPXJPk6nIGbVbWfUvcr7hO9MP97ZVXpggOu6ajplYStj7l1XvbRMXbPAbp6HzSSBlkraNknrvfVCcPt2sHYi7f3pTDb47KUbYxuvKqkKpYBXKBnV869c3WgbDEixAck0FGFFfEzJzbIsO9C1TyrcymWWsLZGIHoW2rqTzdo5dXyykz0NC8l779i5vu4zwM+eHVntGP5jqVTq/6AkVc5NZ3wNH2lVxNWZNIukMSjiNd9z0+CHp5DXAdX4SAg203w8GB5IATtODHzdK8C15kEjhXvNS9rWA11dnfcMDY9prscss48RySakrOLWqODCoIKAgkuVgsS0urtD60haeV1YYVbbtjUn6/74HXvW/11huFy3PwKzT1r797Upe3jq4sib9u9Y+wxe+vh7W1N7jx49v6ZzbffnQD4/Cj1Pfjx54XiBls6GVuTUc9mQsOIO9mPQFdkIRlz4fy5JLm2ZMOqTcJaXIqpcqnixVe+rdbZ3dbc2OT0D0wZIibHSksmklslknvx+//q3PiKnXcTQae/b+LPQ3r1t0969cOL6G7o6E09qgZegdMJBpVQ1DbKCpyUt6oPKz/4NEJalCAuZFIuEVBJd+jgLh4rvAiFqUVGkhJZMWFp3Z0obGSu/d5gSnWmavuO6h+/cvYHSobgVgoAYjrb4QPMUiGtj1/79jBMkLBwiTlMASlYzTkhWCJyTrGAyMOFkst/BoYMmuIIyGJYcMXMMdNwHPhYN1qWS1t6ZLGaKZL8yzFXTr15BooLLMugHMBRNKgW+It8y9TEcJGt4rvcRFCCEVQbFdg0Swmrxkb0+cf2XOzq73kgdFieEXF2jdEUJKQH6SVWQrNjtZDKlpTPp38U58iUbthk/Ph7sN6zg/xudSGvD4xkq6otcnnjyF0XRRTflkyC0IIJE1JG0QbqGNpMNp5xFhRTcZDNoj66988SFm5vv3LX+WkGUXLYxAuXnCW3c4XbqGs9hwjv+a9lsuN+ahOJSCoLjNDAFvVUll0p1aNPp6adTweSflEszPO48oFn+4yOTmR+6enOshKyYhzWpf/jDuuf6x2aV/qNRaPG/1d0gUXWCA0uu7GhMmkqmerEc8KOVU0lMuyFQ+Ylut562YX9Sncmf7Ojo3BDZWbGLtMkiUVXSWTFNuMqWuYG530f7+/tnGFboxsfdd9mm8XdDo9O7rg6NFq0CFqZr5DWlK9qV0fZqGvZchSuPlevB2VmG/hOV4yWm3RAQwmrhEcW64qu4ykfJho52Vp3J8quBYQooqWDKADftBd6HD+5efyoKj/zR8ew/hWXY56/cnFh7a3RCTTGjuMX0SVB9qzu1qfQM+jO3dBW1g6uVSHv/qVNX10Vh4rc3AkJYLTy+WA/8ou9kJjo7bOh+DLVFZ64TEbCyBktxI5PJZj56R//Gx+NdH5vM4vuI+p8NXh9LjU1iw3EZhXc8TyPuuV9wDaaCfBjTM06N0hVWQmHBDzvSDZ5tvqYR7ZAymh8BIazmH6OKLbzv0KZvJEz3ZzEFnEolaEtV2XEaCLKadrIz//TQnk1/EU85NuH8th8Yf4j9gMZUOrNkZEVZCnsbtTU9KW18GqcKFyjh420sd2+j33pg3F8uTsLaDwEhrBYf04O7N/2t7/o/C2FoGnsIy/YGlvAwSfCvZzLOe+8oR1ZT3u/5uvHJC9dGtJlMrfqjslXVHwjpat2aLi2rjFFLjUSrFUjlO0juddXSSXx7ICCE1QbjiHO0/hofbPgwpnDTOR2V6hWNQqGUx34890noet5yaO+Gko3Y45PO7/uB/lvnrwxrWdha1absbgxo1FWtwplXqYSJY5Nn5lU3bLHQmGA/yko0plVSSjMjIITVzKNTR9sO7dv8RSeb/T9BWmMkKv4D+YzBXuljV7yxd+zfte6VeHGKrHTz4+cv38JWmyUmKzSGG5z7VndoE7kz3uPtq+Welvhwm39weVjOyaoFsBZPI4TV4gNY2Pw79mz8KyebeRIH+VEZTaX0sf27+v794TKmCxNTzr/2NOPj5wZBVjjdYSklq6jN69dyKuhqmWztivYob+RTSkPbe/xMdlMUJn77IiCE1W5jq+s4dYEO6mzsYAmvi/+CrH7LDYxPcBq4HGTFVcG1ULLT5orS1ULIkoSFI2cMHKG8obiXcteOCAhhtdmo6gaOh4EWWlkyYU9gvHswXfgV19d/7+LVkSWfBrItJJhObL/p7elQR8fUZnEV70XxPc01sM+xrzhU7toRgZIHuh07uZL6xA3LBaYB+Ar8rBsfz34YX1j+D5eu317QNGy2xPquSE4mDuXb2IujY2AgytNE67RiKFshzuwCR5s9ZSMlsK0QEMJqq+GkBKOF5yFzRoidK5BoFCeMjM/8mG+a//Xy0Li55KYLBRiTrGjwOQ1br4VMBQuKVJeQKVPxMLlvPwSEsNpsTEECmBLSgbHUpwD1YGwse59l2p+9fmuig4fiNZIowrqq/6Xeqm9Vh9JbjcOKvqFtACX7gV8kTVZvkaRoRQSEsFpx1OZoM2iKxxuHLtDcsZlgLzYZfv7m7XSv+r7fIm234XSP/8o5ktWqzqSyZr89PoXPYDTYkZvziw0NLluKayoEyq4iNVULpTF1IaDjHHZmoAW4aep9geN8fiLt998cGYdtVp7K6iqzXGJFUCAi7jdkuapsBJKcPBwgyP8YRyV7B04Q3dDbpY3jg6gupoMNla5U41BbUN9n0sr1ScKaHwEhrOYfo7paCAW0WiWknihhW/0Tabf/6tDtxpIVSIhGnz1dSXUkDL8fSHKi4/lWPId9Kp3Vxqegp8J/m9f14D6DQ/nmb281FwgkZ1Dj7bnSSFx7ICCE1R7jmO8FJJr8jCvjeNrIxFjDJBpKVaSlXhwDw384MyucBoLAGEfHI5ptO6n1YAq4FjorH9IWjUOnFlF3pj62aui3whbI33ZGQAir/UY3XCVEvzgdw/8NcSyGUhSlpVWQrFg2p39xp0JYLyIohaXxdZ2FGofG6yi85/QS32F0Asu8URgu1+2JgCjd22xcsVElPC85169Gaa1YTkRWJKpSqooBiQQzONvq9sRULKKxtzzAEJw1api2EFZjoW3K0oSwmnJY5tcoSD09HanEDztubnfO/IopyUWC6sUmZUpW5aSqkgwgK04DxxaZrFivacCaIdAuH9zaM1rSDgloOwSEsNpoSMenvU93dXb+EE5taFivKElRqd67qrNmsqIF+yjMF/i56MV2JqadYKxXMDXM6+4Wu04pf/kQEMJaPuwbWvPticwj4Il/NnTrdl7JrqaDC5wTUle1GmdWWVCw1+JotjA6PgnThsIdQrXknF8arkJi/+R355dbcrUaArU9ha3WqxXW3tHR9C5dN//T9eEJ3aGdUwP7T0V7F86Mr0VW4mF6o2NTS/ilaB2HDmb8wA2+08AuS1FNjIAQVhMPTi1NgwRkGKbxRxMz3uaJSRzVUkumOtLwo6Zc7aOkVdEhynN9NQ1cyuNqeEqD67mX9TXGyxXbJhFthYAQVosP58S0909czfqJqzdGODVqaG/IUbCWr2p0yukfp4FUtDfeir1yl8IPUGjPHFy/fqJyKolpJwSEsFp4NEfT6Z3YBvOp8MvMc0hAi9hHNQ1cBrJil5TUZxhfXsTuSdFNhoAQVpMNSD3NMTzzU1PZYAM/ProYkg3UV5rHT8lXmA7SwnwEq4FLLVkRI04HM+n0LdvzvlEPZpK2tREQwmrR8ZucCd7hePr7rw2N5PfxLUZXON1zHKz4kb0KnIttP6Njk8tyaimbwXPrsW/yq3v3bhoqaJZctjkCQlgtOMCYCnU4GedTI+NpQ32XbxH7QOmKG5nzdIWZJz8HNkKygqI9TmSL2JSiovGVn0A39c8WBcpN2yMghNWCQ4zPc0HRbr6GEs6chJFnmfl3knZO4/hmII1B6fiFG9br0s6qAeXPp2WUrhzHeXH/jr6n5pNf8rQuAkJYLTZ2kK7Wul7w6zeGx9DyUsZovOodOizosTg1TM9k1Wogpa7lIisOF+w48E/7E5B1Y/cgtdizsBKbK6c1tNioT6X9n3MDcyePOo7OoJqrC6S0+ZIYV+GSOHxvc18PJCxXG4ed13I727axqTp9yk9rX1jutkj9S4+ASFhLj/m8axwdDdbgELxfGsLpoZyqVXPVU1QugVJUV0dC27p+FaaBWWxknq6ceAljTNMiAf/BoUMbJpewWqmqSRAQCatJBqKWZpgJ731Zx9pJM4aK0hXe5vlKVFEbKFlxs3PvqpSSqpbzKztRm+gnEkktnU6/2GFMfa4wXK5XDgJCWC0y1iAR6/Z49iOjY7C5qkG6mk+3SFQGlEP8FFdnygrNFqBsn1OxP5+K5pGHbcBhqhT8fqu/v39mHkVIljZAQAirRQYx7Wj3Zj3tddQjVVJ4l50CMjHe8mqOTJCCvmoTyIrENXx7Uinbm4Gs2PZUqkObnp76i0N7N36tWl8kvn0RaGnCGhgILKPn3B3+xKVXDh8+nPseX3sOlpt13+P4uonv71WeDqLr1ampFB8S1JrulNaHc9rTMxltcpofOeWns0rTLkeIZUHRnpm5YibMf7kc9UudzYNAyyrd8ZLpWvfgQT8w+oyevXeo++bBtaEtQd9s1/ffRsV3I6eDJCp+nourgH04UZQnhIYfWm1o8xdUGCU8/E/bil89sH3dlQUVJplbHoGWJaxnXri2HTvd1nEEcCBS3z++MLi75UejQgcmJjL92ax/gNJPo6QekhVXAbdvXI3D+XQ1Bcxiu02zTAEjKFIdHTQS/S8Hd2/4YhQm/spFoCUJ6+mnL651gkwRQRmBt33gO+c3teNQYin/oG6aKX5rcKEukqqoWN+Ij5vy81v8UATDG0WGC21jlJ96K6wKPpWd8H8jChN/ZSPQcoR1+vTppJPS7iw3bIZl7n/++eFV5eJaOczX9Z2YvM1LPxWpocBHKv8qHHdMqSphGUqqahaThfj40ITBcbLnsDj6oXvu2bS4n96JVy73TYtASxHWo48GxrUx+5Cu+XY5RH3PMzLGxF0ktXLxrRoGNVPPfNtOolIrgElLGYH2wbZqcipdIFVFlDbfGhqfj9bskCaHHS/7gTt3r73Y+BqkxFZFoKUI6/C7Lu/Bl1jmlKB8PUhcHjHufuyxx/g5lbZw+BL7bX4EoiZqyS0T0uM0j1+82QSl+ua+bhxj7GjD2LicwWkLzaarigbKsmDJ7gcTmezMBw/t3ixntUfAiK8QaBmzhq8/f26j77pbaxo3w+jetPf1B5D2RE3pmzyR4/nH+Mti4Wx1dUrCHO0lSVGqskFUnakkpn6mhu086jgYHkWTW3Wbo4Tli6L5gqYHE47vfeDufVv+YflaIjU3KwItIWEdO3a9Szc0ElDNDqcLbHjmxas7a87QxAnX9ljfxcr+Mzs29ykpi1O8iJjoR/cm5o7dnUl89LRLW93dyWmVIip+Kp7pmlWqIvQ8Mga9Gslm3Efu3LX+K008HNK0ZUSgplnGMrZPGxgYsIKeXa/TA61jPu0w0+7xBx/cd3M+eZspD0wbDgWm+RXP13cODY/jWGKuGAb48jG+agNpilbqlKZoWDqDY2AyjtNUlupzYZlKpXgaxIVMNv0zd+/d+uxcaSVuZSPQ/IT13TN34QRvZW81n6HSDdMLUqmjh9tgd//Fi8OHEl3JL3Z2dh3MzGA7XU664llVWRz/QhLjNYmsmaWp/DjCjqIDdlaZTOZZ1/A+fGj7hjP5OLkQBMog0NSE9cSRszuswNhdpt31BRnazM3U9IuPHDrUuG+419eChqU+cvzqjp7u5P9KJpMPpqc51Zv9QntLkFQBEqZluVCw/7nhaP9i376+8YIouRQEyiLQtIQ1cPT8GjOw7vE8tyFtxBrb2MBXdh579FF99g0vC0nzB548ebNHT2l/aFmJj1BPBYyav9EFLaQ+jdPAVNL8/pZ13a8qiJLLOhAAjvrTRy/d0enbF+69d0tzHFhWR/vnk7Rple6mp+9uFFkRGF8LVj/08IUN8wGp2fIcPLh+4sCu9R+F3ucj0MLf4vaVVnChqYWmdaQS2jpY2vd0djh86Vqh7c3Yxm8dudTPxaW0lrn7yJEjZW0Tm7HdC2lT0xKW1xecgHE3FDWNcb7uDh6+r/96Y0prjlIO7ur7TOD5b3ayzt9ylY0Gl83qKFXZsCXrXdOlrV3djf2LBr556JOshLDmMWhPPXV6vav5O5jVxYLUhNl3iIbV8yiqpbI0bQcP85C2Xu0l3dczC0XUN4Pzb71339mFltOM+Q/0rzu5f2fvu1zH+QDOt3uZ0pbVRMRFouJK5qqeTkhVqyBdtdUmhGV5JI4cudrpd5kHiyp3tTU/8s6r+4rC2vCmaQmLWJO0Ep65INJK2tbpt75298U2HLuiLh3oX/95L+0/kHUyvwTieiUJHVEimVzy1UKeWMqv2pCoKEVFRNXT1aHawnBx80eAZj7TwcxdAc5Gi5fiaNnNT37nCk4xaV/X1IRF2B94YHt63qQVaCcfePX2K+07fMU9U7qtHev+xE/7r3cc70O+6w1gxuV0dHZiusgvJS/O7IskRXLs6KCxqj+B26t9a3uUREWi4plbQlTFYzXvu+7tB3EIUGel/L6e3TNw5NS8zYAqldss4YvzBC9C7559drAja3qvDoyg6pwCP+KBZaVOPPjazS1vMLpQKE9fuPnawDB+EqehPwzWuAuSl8LPg90WVxhJJPWQCUmPBAWTBEz1TFUGpqO3wYYvIPgr2az35a2b1/50V6f1e1NTlVcvEzB0xRekj67usu5FmS2/crvQcaol/zeeObfTSOj91dIq28PxiaOHDx9quy8LtQxhcZBqIS0Dhkl2l/3yA4e2j1Qb2JUUD1Iyz1waOQib0vsxKXsAFvH3wMB0JySwtZC+DBPTN5BOCEnhrI1BuKe9l6tIzsVCiD6E0DOabrwI2elZ09aP7N3aNxjheXvK+a1OENa0EFYEyYL9rz072Ju03ZpNQKj7Xd899cKhNrA9LASvZTY/s9GcHoK0XsrakLS8UklLxyl+/rj+/Qfu2367sJNyTS7SuZfneO7ffweBGScu3NwAqWgrTvTc5jjBZmw87tMCfRXYKQWOgula4OiBOQUZ7DZuhrAGdQXxV0zPuCaGnkv3VPGHOpPw7+QPR62OM5HhdNddGOeX2kmCbSnC4mDlSStVTFr4eLljdHV+702vWz9R66Cu5HS5h5hmHvz3QiOxwJTRo2BGgY06dm7OVhewYGAY6s75oD+ZDs4JPY9JyqSCQ7ABqftd5VFM3/j2Ja4mtsWpJQSq6ZXu5UZTKeJnsHpohiYPRqBn04nkS2+CQWW59BK2dAjwS0Y4IHDz2ERWG8Gnwm7iK9W3sFmbvrqGPzw6gW8eTmvTM07XmTPX28KYd7EQ3rjnvv1QFHbPt3zT9DcMPHd+13zzN1s+/hC2rKOo7NjeQdsxT5LEWrYjbdLw05eHtwWe9jl0542u62HZHZIVpalY/yIlP5X3MHYddLLZfy4fmYiBhNuB509vw+rG3tKY+kOwGHLi7W/cS91jS7v4s9TSnZHGLx8CICH9lXNDX+zpWfXuycnaBV2e3e567nAm4973qv0bzy1fD5qr5oEB7KXt0u7B3Loh7yhWVfypbOalh9+wr6U3mbfklLC5Hi1pDRE4ef7Wj+EEiZ+amqpvJT2bzWjJRLIPR3n9riA5i4DZg720DSIrlsrvHXSZ9p7ZGlrzSgirNcetqVp9/vz5FJTqj6JRejTdq6eBMzNpHP9s//QrF4bvrydfO6f1JrCX1mvcXlo98Kembjotr3wXwmrnp36J+pYNeh5JdqRem83O77gxkpxtW3bgOZ/g1HKJmt3U1Rw+3D+zrc89aunagnWzpq6PdxujLz388L4F78tdbtCEsJZ7BFq8/sHBoMPX/I9hyrGgnuDUUZzrnnz7yQu3HlxQQW2Ued++fZmJ1e5LoPB5k5ZpWCPXz+08du+99zrtAI0QVjuM4jL2YcIZeh+2+9wF49MFtYJSlgmHE0g/JlLWLJQPg7RmhtyXsJ18eja0tivsXhj6xy9ve/mRR5TRcG2ZmjyViN9NPkDN3Dz1FW5z9XM4i+s1ME1YcFNpUIrVLHzJzHnwjl0bn1twgW1UwPHjxxPXpztejR0HFTc+F3YXRwxdfdM9W08D0zrs4wtLaM5rkbCac1xaolWOvurhZIPIih0OdVm2haNTfqUlAFjCRnJP4HBn+iUqz6tVa2nGpTe/etsP2o2s2G8hrGqjL/FlEQC5GHghfplSUSMdvwaEA/9+4vjpa3c2stx2KIsfUek2dr+EuXNF2xEjSJx98w/tbFt7NiGsdniSl6EPp84O3W/Z1oPzXRms1GRKWdCJdeCIlJ+vlGYlh997r+70+EPH8NHJEtLCauCph+7bmj81ox1xEsJqx1Fdij4Zxi9AT2KSYBrtslgxhOD2gWOyz7AstFzx6zFHj1mGobYUYAgC9cHge3ddK5uhjQKFsNpoMJeqK6+8cm0X6noXiWUxHA8WxAdWNyQM45HFKL8dyiRpueM7jllmMGpnjO+1w9fNaxmXxiogaqlR0jQdAkeOBPjczrnOiQ6jw88ESSOA6KT7iQzOHEvavu1pZsLQg4QPP/DdZG9Xx/vWrOr+mfR03SvtNffdxleAQIgvTzjBT0w409Mpu2faufZy+vDhw5WPMa25dEnYqggIYbXqyNXY7i/jCyvdfmaVb5hdVsLp9LJGp43j1/1A7/RdvdMwPRzEboRnLVHe9vEvL3eXBOB4ZMta22H+TiqV2LJQ26u5u6Bju44Z3J7O/Lvp6cwPmBanOwQ4uNHRTWMK21bSvh1Mm642nTWCtKkH07rnTE72aOO0XZq7bIltVQSEsFp15HLthg5J/+aJE12m3tVjOPYq1/dW4cTjHnwMYhXOce8xDd3y/PJW6OpMdsTRVy4iK/rKMR/jwvz825VIHFzT3fkx13UW/dnhRy3GJyeeHEs7n1XNibUPFvY6vtGDw5vV9w0Vofn81qGhZfDhi3HX8SfQ/3HPMse9CWcCX0gel2OIFJIt+2fRH7qWRaYJG85NxldGzV4tGayFSLQ24+q9ULyu9gJfMU5ELTn6wUISTl03NHz1KzyiJLqmX657OLLdSJgoXTO7cBxyN172blier4YCvBsFdSNXV2dC35tKJrbzfPfFdjwvC/qs9MSMxxNRsSqmT6LhUDQHE+jUBE7UnATXTuLsrRn01K2l/x6+qItiR3TNG8V59KNB0DGSfNXGUXwJY2Gm+osNhpSvEBDCasIHgVLTt75/aQ0MnXpBNb2QgNYEntfr4wu/nBYpKQLtxtdwAh0SBX3VDe7nM/Ha5vf1Fb/CURS2bCTAWWuxR229qRsbQQQbUed61LfW14JVKKsTJ5sk8WUcHbtlNANyTOhgcmAGKH7p3m1FWpqtuZCu+LByVdKHVMjpKEQrBwIW9tnpXOIH+QTDSH/D9f0bmCLewDn1I4HmwtAypPDZ/oe9oXKf/aMPsWxSs/RR13FHrURiZE1gDR86tKHEdCDMKX+XCwEhrOVCvqBeHNaW6ui11/mWDtLQ1kEiWodXE4rwYgepAPssTPCMOjIdAk94TZ8pMZjch8HjDorGFUTUAwlkh64be0A9/ZCatiDZWtOyE7ClQmIdJICJFYhA+TRV4Fo5/QIHiUvrTEbkVRCxiJfsSBbfYk87OTExXxdazY5yUgiRKfpHQ1YSkONmAZY+gV4NIeVFfCXoLNA5h/Plb5LzWAyzF+IVXdNnvO/6GcsyhjC1vmWZ7s2pO3fdOqzriy9asnJxZREoerDLppDAhiIAEtCfO3F5rW0a6z1PX4/nf53nG5RqqrpieSnULEVh8cx4E7ugH78H8tG9eP/24oVezY+pkpA8b/abhPF8le75BqdsXUtaFeaTlTI2IByEoU1l8oq1mkokcZHElIRoWmpejMMCMyCvQXyy7JjjuUcgOl4tLCzCMpTHgFpcgkViX/dH/ax2Szf8m2Yqc/MN+1r7BM/C/rfCtRDWEozSkbMjq7NTY5t13dqE6dhG3wsSqlp+C9DDi0ifLrqmT1f6BgUaPjiHN0lJAGAfvpWcI4XjiHIMF6ocO/EjmMa9HeelQ1LT1PRpoce/sJwOTCQtc+kfGQp6Uxl+9JWtmL+jNEaJ0gKBgbsygR58B4sHfwV5aliVWg3vCHv6ymHcdG868IzrVsK6pnd71+/dsmXxbD3m3/W2ybn0T1/bQFe5I8euX+9ybuqbXMPbDA7ZCKV4uMOecyz+9OfmWvj9x9zEw6JW+JuOX298WhE6qtwLEV3TL1tb/AWj7sqwfqaro/sdmcyM+vBp2XzzDEzaBiQsNH+e+eeTjQ+ohwqnG0BYhfVzNYKrkOmpyauYYH8KvD8G6RPBszrC6Jq+ystl0ghzXEZjR5+O4+iZwTh+eG7Yqa5rq/3hGzzTSkXKn4YgIITVABjBP+ZzP7i8ydasrZCetuCHvIvFRs92SEdlpnCYE2LOQi12OA7RNf1yjrphHIyE9yOXPnfNMDg70DpdTf8DWDKs5rRvMVwChAWrUgh21HzllD0NrigqlxKVC7bKQuOOWeGiuI7OTkhb6T8C/Xw3xkel9cXxj6eIxiY3Hhx3X9dHsWJwDaa3l1+zd9Mt/F4tUk/ijWnP+/DBb8++LWqvnh0c7NDGta0pO7kl6zpb8AJzEUr91kYEFdeBRCt69Nm4+AsSl6jwjVGckY6VwPwUpLhLURx9xliWvxFHi/w+zB0SWCnLsVpxnoXesSI2ngp4zmRJXPgf/0IleGH51R6uwjeX5MR76qtITh7+8N9Cp4GF7Sm8Zl1s35pVXVomm/5c1vG+Wm284njHJeJq44/FjixUAld8w7uijW6+xo3MhW2S6+oIVHumqpewglJ87+LFtcFUcqur+1vxwPcZJqYPMOyhXw6GKI4+4/GwQpjCBhe+6XDIpFb06PM+np5hhS5eXzw9bLJ2pBLGv4Fe36BU4kA6IQGw8MUY6MJywVeqDs54Z69zrWdY7jI3G1ZtUiSV6zzDI3IqLLew/wu9jspl+yywrA1pEed5QceXPT3jBb/DLrA5ua5UHZ/4eMTbFx+fwvE3DJO8fANrjlctL7giJhRx9MrfR89R+VgJ1Y6currONuwd0FNsxwtV02mPlWGLy1TxlPHf6Hh8PH9xesvw9yRM+5PIRT2ZIgVKKZxWUY/PT8aTFPji0i3m4Ed1hDWV/7uY9bNGtiGqAyorJRWSqCgdkrQiR5KddrwPlsq8xfhG6efvx8dvtiQczDdmmPaldDBxSVYeZ3GJXxUMWzxq5d4fPz7Ym7X1HTAL2A7NqtJHEQ3qtCPjw3LoxB/v+OMZ5VVzR5aHWRuErYA+y4uu6fM+Xl9J/lh7bFvbY+vmv0bWos9tsXAWSLIiaSnyApHxJz6SbFSFuXTw8i86r5vVRW1m+6IHmUREAuI0lcREP5q2ztWPrO9/YK54xsXHI56+cePvj3qBfimZNS+J5FWMcrjptThsRd4dPX9+DcwEd5iQphwozfkCwJKaLv9ewHYKeicfSudwShcnJDBBOD3MTwGRO0cqLIj73jQTaejDBYaPHTBgJ/i5+HyYijd95sFhRzkzB7yL2IrCtGwezj9nOQVTUlfPwiicifnu5J0qHHd8mXHIG6ZD7JQqIk9kJK6QwAokMWRUhMaSeJ0vcfaiXNhs7PyuwpYV51Vh+EM/Pu2M9GckpyiOuZm2Wvtom+Y4me8xPbvIIujzPu6Wbvyt1ejL3U7Sv/v754ZHsORwaX3KGdwiJhO5pzY+Mivk/urVq52jTnIXlEc78LKu8qAMx/G8kHhyOicosz0ovM3IrIDKb15HSvDoOoqv+hMLYCOWI8ash0vmufryZVcqLz4u8fym3ov1xT/EVp4UDUTn4/iS0xW+sZTMojASmLqGp64iH4FRXJQ2TKj+lv7JVRTVxwQkm9APyaboGnGMzSVR6VR87ipsVT645ovOzi5tamb6zzB1/nqzjz+s9YetwLioZW5C8jq08K9+1IxS8yQsfF6ap1WL2BK8VOaJc6NbPcPrx7wJ++hmHQUPvOaQgMJ3ETtVlERDP0wVsQ19uPgcLQyt/Dc+p4jlL6k/1xa2qVyh5ApEzEoErm/DsPOTXV3de6anq36roFyRdYWVbVSshHJEMt98saIXfIu9koplYZL6m/hUz7kS/Jt0/PE8+Jj6X/Y6k+fv2tA1BKIvB/OC8WnGAmp5dpqx3XW36fjgYK/upXbhFd+BrRlqn16MfkrspkoC4hnirYjbUVWzs4rHx8uL3cerjwt0TA4RcBcsuX8Rn97q54okVsCKJJ9YkSvy1gJR4aOtnAr6OJP+L13d+BKBKMEzHhAfgDh6yzD+vqHjTDDvYpAxLqwEfVdbE9bpIEi6V27tdLP+LnzPrWS/XrRTnz5d4e79+LNY7r4kP+Z7Jv7z1LyPL0B4Tb+ci9cXLy+eJ54e8Rw//rqqcUR+HOrgYVprJbBl5E2w63oI64J7k8mUDZLGhmAXs19ucVkxP8gKQu4ptCxbMy2TW3KAGI4u1P207ztH3CDx/7bL+Cdse8h1Zy5ev7Dp8uHD7blJuy0J69TV8XW6l92Dl3cbLG6g98idbhDgdANcY1ZY9o2N4mpNr96GRf1Da3Wui0RW69F1bWslvp81LD2xDTOGu9DhQzBc7AcYfYlkAqo6A6ozqHNBYJTESGitTGShsp0qQSxT4AcoPJQw0LBlEPhBFakHDjoLvY+XgVIyg7WK77tG8n9pvpHXBbXL+OMBd7FN6KLu+uf27esbX9RHdIkLbxvCGhgYsDb3v2a7obt7YHakpKmYiqgE2ioqJbzIOszXcSov/DAzRRNehyJKvPx4+igv/ZLKEaCkoZxUFMYXE1I8f7Xyq/UHp9CkAlfbCF3NdlhS7IQguA0N2wiJYy1ktC5IISb1Okr5jSYruy2SGlYkIkKLSC3yy/WrUWGzSnjaTUX/QEhYQuNewLCdwBFKRkpOuAfr4sBnwwfDg6B0MHagORhBHNqHw5WxTwYav6lAt/42MBLfrYZXHO9w3Ftr/B0Hp0pY+tkD29ddAz5ln8NGjddSlNPyhHV8aKjbzAS7Dd3egRcvgRHJWyrHASw9Pyp+vlSxEluH0jWAGQF9VVZMpxHVRZ/xSKQU4PR5Xy0+/sLQZCFS9DN/XKtSeh5WrL2x+sMyZv+W67+vwz5eC7oDx12rm9pakNg639B68XL3Qh+2Bm94DySxHhg0daBHSQhiCbyyyMS9SDi8RhEHyYP1qD9qak0S4VGn5VYrSTRKEkKHWYYiHuQmCYb/YKYLqS+3H5LYckxJmz6qhSYJ5yNgzgtuclESpncBfN8Fj3lgJdCSGpHcGECoxrouMoHjzO+4evLLMB1VKxJV8Wyj8Q80Ix043jnTu32hlTdkh08Yn7UWcnio9Qs3pzZm0lN7LCOxIdIZxbuQ1+lAVFFxJB7aMeUIiPkiPRPjo2v6dPF4FVjHnxi/oQK0Az/bymf5uI7ayGLj6eM63nrbF5VNXzV7nv3HViQL3JAEaSV1z0iBNJIgJBCYkSKJYbdjEiSHw7a0BI5s6QBBbINUswMUsQ6E11UojZGccA9dcZDBdQY+TgyFTgkiEKYyIBvstAQzIRk8cBJ+A2j4gZFDFWAqjAp3V5IhQYYwwUJ57ByS0QINzMYK8FyrRxt3KNbXb2qG/UVNT5wDyCt6/A0boGbdqzPA4tD21SPquWihPy1FWHjQzYs3xnZkM95ePIZd8RccBx1xez/UPowp46I4+uVcLD9/8Plq0Gfy6Jp+uez5uqPyY+UtNN5DuVQc06drpv4bIDXsjtsMpdkOSC79QK4Xog3PzwF4IBNCBiIhpBSpoE8jioqWaM2KCRuOqwLXgIQItKIe0lCYD/lZjoqgGIo0+J++SsmMKA8eqQ21qHuUh2PfzQHN6vgG6vVK8GfmQhcbr3Yff+AEi3rtdCtNF8u/eIWD2ATXx4Mg0XH1Vr/hm7sDQw8PvyvTrriKWocEE0C6oM/kJRJHrAykgj6WGlq+JUifu6YfS6pu4/UVa6AgQcXKi78ApekhcWFBwMstEkTX9MvVHw+Lt2ex+4+Pg62CxgsHEwZbAdgWIJfA+ICkfDRYtyAwWWB7Ay8F8VT/KB0bOJ4Gx/CQfUKSwZGrJJs8iZHYgB0zMB+zk8hopQ8hEcEog2ERASIBAOL5fIrVIKLxXKtzKPZLgZUckvGf+/nH5HsK0+Uz3316zeAjj3D23Lwu90w0ZwNpiZ72UnvwfO/AXIFnXfLBxLOsHn6yiLqmr3oQ04LHX9hq6TFHI6txrlYWkHj98UT1lh8vryR/rIKq6aO204drdP8hRWF3itmLUw42QnW1CSTSA2IAIXkWOBYKLWw8wjVqNkEaFqjFwLQNJhWI4ZiFoiq6QX0SbsEo6HMoWVFCYprwjw6FP65BXCSoXJwiOwpnFK9A6yiWkQhRDwA9XAfpwLS/AqnqSKP7jwapquiznXFXMn6x8Yg/X/HySvLHKqiaPlZfvf0H6BloAM/v3tpzHkJwUx59Uxb4GE5Lfnt2ZGS16SX3+F5mq4llfegtwnaSR6J5EC8hPUV6IDaS6aDnoZ5DpYe6AtdgOr4pyhXLNPH0KKCo/DDP7N+S+mI6qHzbQr7AbdgW+iylWn0l5cf6E29ftfSN6L9lGl04x30tOtMHklmLhxpClW9BL4S1T+i2uNPRp+0FflD0AN9A9LHnmHGBBfJCE3QL9ALiguoJqiu+64gDzWGIIAlhzhaSDsMV/yjJi3BxyY9khP9BXBSzEMY/AFORGMmM1yyKZfmm+ZKuJf4uMHV1THEj+o+S864E7zYd/8Dliqp2MamvPbt9uw4dY/M4DnXTuMuXx/scK9iHLcbryzfKwvOJBSGNPl10Tb8WV0xYyMFymDdXXv46Kq+ueChJQI4WlSUqf8StOf5CNdXqr9afxe8/Gm6AoLAqGKyCGLSG350ACFzKM2FvaeOseEhFOsjItdQ2S6wYYmkOdl2+CfLBvmpIV55vYY2Qn6uAxAWC40zbhxSmWArcQj0TSIiSU37mx0kgVesgLereOSz8E5EWJa6Qzyh1hZEcO7xY4Ct9WLfNvwa+5xA2h6uGP6vMPxMsZ8WNf0Gf+cOCw9usq51a5+kNG9Sn1IjJsjoO0LI7EpVra/vxhPdFs7JyjYriohlbTAKGxO1C6oJEljseOLqmTxfPX66OucJK66OUNzuDjK7p05UIbGwX25I/vrj4BYrnD0uZ/Rtvfzz9fPsPIkgkbL0DZNMFRVEHFEY2ZCBTcwMLdfCsCCVN4SwpE9YG+ARNgD24IDHYSYB1yNCYDkLRFoC8oOUG40AKQx5IYyAmlQ6SF7dDoSof0hbJiApzqLs43aPc5UG+AvVQ/4T7nGQFQiJ5kdbAkmgH2Sz0FaWB4gLrad22v4nmuvPt/yzCc1+V4t0e4z93r8PYwDCvNANxLSthkai0jmCf5+jq6y6Y4SkjTfoKprgWufj9Dg3AozBmiK7pl3H8WDH3u0YfLY6u6c/HVS2vSvsxoygyTF2q/qNenEyjJ5NJPYGPRidME1M1/JYqwyoNq32Ihu4J0z5M+WA2DoqwEI9wfmEaEhQJzPNsKNOh0jJwrfRVJqbnNOrC6IGwQFzgHiKrpCuq2kE+FizrMXWE7IWCEKemg7hSiimOQchNIC3EchqpHlBO95TshQThkwF5TL9k+Mm/MZLGzVo3AlQdLzagDle1vCYd/wU9/5Z5ZcyZPnNow/J8ZHZZCGtsbKw3rdn7nIzTx42o0WfP1cPKuYJ6XPFs5q7p8zmKx5v8cdcxDeMPOR1fj+gh4X10TV/dukiC+nJPeLy8eH1hrtm/UVvpKxcrP2oL/dlcs1eQ9PCeo73wGcp+R2Xyvlp74vH19B9EkoA2CYKUlcQqJCQj6vkoyBjh/IurcJiy4Zxy2FMptRBO7sK3kClR0UYUZAX+wMqfC1ICiYHMYBsKSQsSFKaAUEqZLoiK00ASFsgpN0UEUWE6yOkiiArE6NmUb91OWwAAEuNJREFUszCNxA0c/uBoF04W86YOarWQAYjGmHBBEIkUiXEqib025hNmInWknv6zKo77Sh3/RvcfSx5Xl4O4yr5Y7NxiuEEQFT4uvs8yrF5VvosX28LLS185vsiRHkc9YPiJtrCbJIzHyx3gJdfpl80flZWPR6qIxJghus7xjSqj4E9UNn2VvN76Csqq6XIR+48OYEeGlcAaXhLfQwxNQcgQEI9IErOOxBUuCuDLz9Arm5iyOTaYy7Jty8hAb2VCm43ZmwnwQTbgFpAWyA4SGEKhaMdgYNpngKAcpeMCAfFjYGE4yAqco3RZ0LorUqOkxVkf6AgzvFBPFbISSsOUD+WRrWijpcwbmI4Gomj4yxAIv4bPVU+q9sfxk/EP36UlfP49N3vNWr/m9CZdX/zzjDDofAoW3XHVr9NPHdB8p2+uORl/mjFLUktMbBTtkSJbpLCRxYyD5OpJps/4+DJuvq5IIgoLqfi3pLzcRuloM7QSzKImsBSWG80LVKkxkSvOkFHaCjL5QvrPN9rwvaSVtEg2ICmQCNRQkGjwnlOpNktMxdds+GxcRFrIyCmhTQMEUJjl4qwtzPbAOVC8o0DUZroGiMmBpEUfRBZ4DvRUJC4/1GOpij1ML9XU0PJdFxIZGsOpJkkOQ0YdFh5CPodKl0WfRqQkVUhTIEf1iN4GkdJU4Rx/xsJfHkpfMv4cd+IAUJb1+YdkfSU7NXp6+/bti7qquKiEdfVq0Gl2TO2DonYzAcUTCv0slCB8FuGia/q8j7iAPl30aNIPHVKq55w+00MvjFLo05WmV8H5P9XLzydVF/H0xbGl9UGfjm226B98po2u6fO+0f3H9M7SbT1h+FoS00ybSmm+5/RZHxzbwWvVHtSvNuLRR4BKl0vPtHRhWh1SESUsNBkH0qjvNiAx4MA1JDBc4yBmTPmwJArJCFM+dA1SE5XsmFIqRTzKUrZYkMio78IUkauFoW6Mcbin1GWrOR8nqOEUEUQFmuK3ZdEw6NFg92s9j3XLp0CIsAuS8VdPkcKhCZ9/KAc81x/c3NdzFjy6KHZc0YPNh7VhDg9jYnh4co9n2dvx1nLalys7Rimx2xLGigfEJBQ0Xr149FkBVb04BQiTlPAFbTiDxRGKM1pJf5AgarPKG0sQu413N07hkCANO5m0fSebtCwziW5DqMISHTRMJCDF23inYbmsauNCHq+Vn1ta5dErzKN8psP/RiIXVpAegKJQ30Y06AQSEXdAIpdL0wbTNsLpoSIeCwRJHZYBpTusIFAIlPC0iqL5AxoCcmLPQkkLdITRCc0dSFqQD1A51g4pLOXmhZCwDMO2BpH9q6ZtDoU4oKQIy5yEynFnv+mzw+0+/q3Sf5yT4aYs89zq1alLIK7wYeQANcCpgW5AOaqIARzxcudrXrMTz+cuFAxBI1Rw06eLKz3xsnDikt+Mmr9mWBlXrbySeJAlTt8MXJImXHRNv0zx2GpWZ3r0KKqzXHlRHH26+fQf+mkbg56ADjppUuihMJl7BEhGtmnj+4Phj1lEUAzjaQcgJkzcqPPmlI/yjdJV8Trf/+hbeYyP0uMS0zSVF8SEaSELxkhR6a7IC1IVHkNMBWEkCljxYQ7YXgWKrDCHw2ohJDDKSkr5Tst3TANBp7DdgkTFKSOpxYMtV2i3hXQoJjwbBo3L4oibAajdXmSbCl01PEvi6x3PetMvwfi3cv+xHpPRk8GZvo6Oq5y5FvZlvtfqQZ5v5igfH7iRdHqrn/H24McyEb6ejCUxkCwqEATi8JDNKtWRIxI6wrLj+aOyQgIqLT/KTZ+OLYnCFGHE60PdSgzIgVmcfrbt5evjYkB97VeNyv8plx/UYoChElhYgB7KtD3PAUWRpejIVNzNAjNzyDuYRqnrMF5dIx4CkTrlAJQRps2FhZIX5lqYwfFLOygTBeSmkUhDEgNvIC7MR5ML6JhozoCpn+858G1utbH4j7BRT0Z9VlZzbTyOKJCKeCjkqYbkFBJh+DXCPVcKuXKIFURlm8WBoZSFOBCYmk6i33ioT+Kw1CegEMspcFfe+M8+rRySNum/YUwm9I7TPT04NWOBDg/nwtz16xMbEp3mPswIOuI6G7wBSlynz1pQWZEIP0smIcEEWN3QsfJDn+nj9FFSPh73wilgdE2f+eOumo4pPqWI2kI/LKu4RVXLq7H/kJopRUFhnkj4joNT9KC/BlZgAIVD1I+cwASVUBgCIsF1KEQxJLpGPKHGP5LYrAs5ikREnmJ61KF4K5cG1+REVS6HC1JauGroYYcOrLWUEp6MSF0UpoZgK5hV2dgEzeNLYbMBnRQZEUPnOwGMT6GOp57Kg/0WTCMYjnsQHpDmlJFTR5IcNt/alvV1PdF5NsKcLSpGG03L6QcjnWDpeIXqgFYb//A9wGi1+fMPDeqY7nae6uvT530KKp+JebkhHJyX6Fqz33X83tCgRr1d6gXBH+XnFtEwDmEVMBfAtbK7UvHxVTb1gGLQokbFVBZMDtUJHmT+dsPxmqSRU2nkrxkWxhfbOfEVwLov4sIaonSRr1qZy6vy8xliPbn+qPjYHxSm6mJwdB357DfaVtJ/BMLeW0/ayVQSR6TA5AB7h8kwmFeRrFBUSFYkJk7GsM+F5SuiCQmFBEriCskHYcxfEM9ozBjBS/yaKD//rBzndjD3BHswAcmqwFdhOWGugCw5owwpEt9sxMlVGWQEK4GlcAOi1XAcL6eLICfdcMFmNDnH7xdO/YTCHTkxM2B6EiSPbuXmHrZO5eJy4Iu6lfo2Gu8orFfA+PM9UMjnHpBIx9v+/Q9Wm8nMfcMTE1d7u7vP4Ec6fzy1wqOGP3xI63JHjgT2/rsy/boTbMP0pe78dVUWS5wjK0VUjIqNN3kA62ZYeIcfxofXDFNFUZBTT4W6m71mWBlXrb4yWSoEYWh0jVIUdJEmzA6o18mRDN7dCplCEkK8IiP4WRAU9OO8j5wimZB3SAhKYlJEphLkJCaSEP7PEdxsfVG5UWFxP6qPPngTlvBED6IWLN8dTPmg8ocFPPRXWBdlFWqqCEmLlhAgLRtKdLaAkpQNfRUM6DUQGOUiTimNEaT7FvRVw/F6K91XG4/mHf9KPaovvJ36jzfSS1mpc6mUdhnvhZL4a0GjZsKBKK+n0+kt0AHvztCAsIzjeeAeUKVPF1l101cBWCICxcGmcPalUeHRnyguIsJYej79fFnpKxdjrKhu+spVK69Ke+OW6SXlh7Xk/8b7D5umJKY6nUiQAEmp5ZKoD5Ay8kTFzcAsJIrL+ZREYCWAaU4ubXRNP8wfpuSuGubHMwCJhSuGPCiYJIMw5GV6xkfY0Wd+WoPiBAlEhvnzNluw3SKZYTkQHIQ5J1RQDg7Lw/QQGUIdFp4wcC9KgQ/7KkxjucEHROVmc3ZaCFfEjMxUvlPvBZ0WhT1Q1zG06hQKyGPA9qEh4bPRJuO/0p//WvoPyXpa77BPr9L1mn64QiJRT0vlP3jg1oyn0/th1dnN6VOkQyh8wVRuPpLUH9GHi+sckD4vLaj43NSHLwfv8cKjbGxdgc97JUpFpIRbpovKYHTUltkpHYkyEqNYf1gWfZU+Vn+JiMZERS4qKyTAMv1hmwoItLT/aL6OL9cn8A4mknhDkR5CUuh43ExhAXjnIQVxRQ9UwnU1JM73meHISINzlY/1Ir3jwNQBtui5IpU3K2mFZbEUEhgJiHlZhkqI8rws7hPFxBHlZ5romu1CGRSv2HyQEQiLPkwefJcSk2o0mU+F8Z46KswbKd8qvRUWiq7BsuoYlF/q+Jd839p4/KNnFHhw+Fbc819r/y3dHO7qsk9D2lLPBvEq59SLXC6CYSCq1OTk5F48g+FxLyQSvvyzhFK8taaYL1ACiYdkkSOg/HVO4irmAySLlR8+yHy5wnaWysTF7YmnRxdyecMXFDcxx3KjNCUEGUtb2r4Iixwh5qebxEG58v2Hkh0ERqlLp5kClNLkngLSyF8XExrZi089SYbFm9DRg1FCbEKyoxQE8sqFkTOgTwrDVIPCP/k8qpRcGrxMEXmxnpwjUeXbhjpgA2bBNsp0HPQWOiwNOnddw5YcNIdSFyzTlUKehEbrLDxDNn7osjCXPw5FO22qgPfKHn/pf8XxxxetvSvYlX8BxBVKCdGDmPPDhz0W+Oijjxof//jHt+Hh2oko/qKqFx4l0BJQmQIwS3RNn/fxZXqGFbq4nQzimI9tKFs+S1S1KJ9XoQkEfUQwtKg98fSzefMMwmx5F28/IqK2RLjM2b54/gX0H0v6+IiDZSVgHJogfYWNzDMUpCtsUkKg4pKIUJAsnNTlkjNWzfBCPMOhi8JAiCSqPBmyMFVQ1OdctQwLywNZ5cPCpDl80D6IhjzBASQF0sUeREpSJCyE4ceSpJXbEO2612AHepaTSRn/YrtEAD3n8xV/ntv4+S96nyGRO9gccQZmEPiBK3bRi5kPHcG+v2T32n2+53bxNY8oQyWIB0SR9OmqxMeTh5lm/8azx8srEbCQNSqTpUTX+eagwCiPqiWeQAXO/olHV2tPaYUFjWCxsQJjt7MV564K6iOB2Xj1adNGa3PqDMFl4XwSSnAQCUIibqFPlwtTwbiOkoSR+JvLx3KYv9BXaSrlLyifSegQBNMFTAWhiIeFArRZnoX+8Y2EzKhbnuNlYO9wFpZXkwoH5Kmj/6qOFTz+0n8+Y4Y/2pVIcJqY35+YJ6wjEN33ZzL9kPY3hWjx6Sv+RcByLIQAZZYQJSn2C944FRF/QkvjQ31XZDcV04GVPOGl+WdJEhVGbaNPV3d7Va7ZP83U/1ACgzTjkg4gjUFvHhGWkrPAPnnBLNeFSEKKfAbzOu9yBAUdVj6cZURpZuU3XOUILioD93x2IEnxxFGc9c6M+M93cHSNZVzHquBQDeMn4x898wQ2us7pgGvAbyU8/z5e5EupVEqtJirCgp4KHxVI7sbrQIYKHyKF3+yvIvEEX8FsQNk9qXwgBpgQwNo7p9OKrukzfdzF08+WTmYrV35YF+tU8bEpYImInGtLVH+8PkzZ8iQcVpjrawXCLOHH5uo/9JmWjbXHJMQcNhVW8bOklbsumnJw7Q+cgtVK2mJxAUNNKKncp54KHuzAwnjCE01B1UIHA1A80ik/IkdIfTj6mE8MXh2sSKZhdHUd+IcDykwFLj4eMv7Fv+il75c8/xEmeHaojD+jZ4LgbsPVVvO5iutg4oSAFCCiAqVp/jrUKRU8mzVexsube05ff3tiD0Q1wkP/ojrYgeiaftiheHsjLKL4GrudTxYvb0H9h94bpzeAwCD4cAqJf5SmlBjFH5D8ChVC1Q8KyIkrjtgbE64y4lqtINJHel5Hq4q4ZdsYzsWBWaU+rkFWtFzQbiNNnWciNbT/qD4+Hitq/FdE/3mWzmvQU+W4hZZPenQuRHRNfylcvfVjpUqz0Tj6dNE1/fm4euufTx1z5am3/hr6z6lj9A9ElneKwPJ3IYEVEpqKys0YFeUhoDBP4TV/+bjVIkfqKuu8/ixC/+tqR73111V4DYnrrb+G8a+h1tkk9dY/m7MxV7XUzwdP3ApBgCYG6Co+L6/+kcB4X0g0ERFFzwXjojBc5q8ZhqOKtWEoROmLEwSWBIHowVySyqSS5kIABEYhisRFEov8SgRWGD6K9OMgq8IwBIkTBBYXASGsxcW3pUoHgfF5iIiLPv9x+03kuLxMqaqsUj1KJL4gsFgICGEtFrJtUG6OwDhtJHHhqLOl+dBAG0AnXRAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBIGVhMD/D0fV/fpMMM+gAAAAAElFTkSuQmCC"},noticeBar:{text:[],direction:"row",step:!1,icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",speed:80,fontSize:14,duration:2e3,disableTouch:!0,url:"",linkType:"navigateTo",justifyContent:"flex-start"},notify:{top:0,type:"primary",color:"#ffffff",bgColor:"",message:"",duration:3e3,fontSize:15,safeAreaInsetTop:!1},...{numberBox:{name:"",value:0,min:1,max:Number.MAX_SAFE_INTEGER,step:1,integer:!1,disabled:!1,disabledInput:!1,asyncChange:!1,inputWidth:35,showMinus:!0,showPlus:!0,decimalLength:null,longPress:!0,color:"#323233",buttonSize:30,bgColor:"#EBECEE",cursorSpacing:100,disableMinus:!1,disablePlus:!1,iconStyle:""}},numberKeyboard:{mode:"number",dotDisabled:!1,random:!1},overlay:{show:!1,zIndex:10070,duration:300,opacity:.5},parse:{copyLink:!0,errorImg:"",lazyLoad:!1,loadingImg:"",pauseVideo:!0,previewImg:!0,setTitle:!0,showImgMenu:!0},picker:{show:!1,popupMode:"bottom",showToolbar:!0,title:"",columns:[],loading:!1,itemHeight:44,cancelText:"取消",confirmText:"确定",cancelColor:"#909193",confirmColor:"#3c9cff",visibleItemCount:5,keyName:"text",closeOnClickOverlay:!1,defaultIndex:[],immediateChange:!0,zIndex:10076},popup:{show:!1,overlay:!0,mode:"bottom",duration:300,closeable:!1,overlayStyle:{},closeOnClickOverlay:!0,zIndex:10075,safeAreaInsetBottom:!0,safeAreaInsetTop:!1,closeIconPos:"top-right",round:0,zoom:!0,bgColor:"",overlayOpacity:.5},radio:{name:"",shape:"",disabled:"",labelDisabled:"",activeColor:"",inactiveColor:"",iconSize:"",labelSize:"",label:"",labelColor:"",size:"",iconColor:"",placement:""},radioGroup:{value:"",disabled:!1,shape:"circle",activeColor:"#2979ff",inactiveColor:"#c8c9cc",name:"",size:18,placement:"row",label:"",labelColor:"#303133",labelSize:14,labelDisabled:!1,iconColor:"#ffffff",iconSize:12,borderBottom:!1,iconPlacement:"left",gap:"10px"},rate:{value:1,count:5,disabled:!1,size:18,inactiveColor:"#b2b2b2",activeColor:"#FA3534",gutter:4,minCount:1,allowHalf:!1,activeIcon:"star-fill",inactiveIcon:"star",touchable:!0},readMore:{showHeight:400,toggle:!1,closeText:"展开阅读全文",openText:"收起",color:"#2979ff",fontSize:14,textIndent:"2em",name:""},row:{gutter:0,justify:"start",align:"center"},rowNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80},scrollList:{indicatorWidth:50,indicatorBarWidth:20,indicator:!0,indicatorColor:"#f2f2f2",indicatorActiveColor:"#3c9cff",indicatorStyle:""},search:{shape:"round",bgColor:"#f2f2f2",placeholder:"请输入关键字",clearabled:!0,focus:!1,showAction:!0,actionStyle:{},actionText:"搜索",inputAlign:"left",inputStyle:{},disabled:!1,borderColor:"transparent",searchIconColor:"#909399",searchIconSize:22,color:"#606266",placeholderColor:"#909399",searchIcon:"search",margin:"0",animation:!1,value:"",maxlength:"-1",height:32,label:null},section:{title:"",subTitle:"更多",right:!0,fontSize:15,bold:!0,color:"#303133",subColor:"#909399",showLine:!0,lineColor:"",arrow:!0},skeleton:{loading:!0,animate:!0,rows:0,rowsWidth:"100%",rowsHeight:18,title:!0,titleWidth:"50%",titleHeight:18,avatar:!1,avatarSize:32,avatarShape:"circle"},slider:{value:0,blockSize:18,min:0,max:100,step:1,activeColor:"#2979ff",inactiveColor:"#c0c4cc",blockColor:"#ffffff",showValue:!1,disabled:!1,blockStyle:{},useNative:!1,height:"2px"},statusBar:{bgColor:"transparent"},steps:{direction:"row",current:0,activeColor:"#3c9cff",inactiveColor:"#969799",activeIcon:"",inactiveIcon:"",dot:!1},stepsItem:{title:"",desc:"",iconSize:17,error:!1},sticky:{offsetTop:0,customNavHeight:0,disabled:!1,bgColor:"transparent",zIndex:"",index:""},subsection:{list:[],current:0,activeColor:"#3c9cff",inactiveColor:"#303133",mode:"button",fontSize:12,bold:!0,bgColor:"#eeeeef",keyName:"name"},swipeAction:{autoClose:!0},swipeActionItem:{show:!1,closeOnClick:!0,name:"",disabled:!1,threshold:20,autoClose:!0,options:[],duration:300},swiper:{list:[],indicator:!1,indicatorActiveColor:"#FFFFFF",indicatorInactiveColor:"rgba(255, 255, 255, 0.35)",indicatorStyle:"",indicatorMode:"line",autoplay:!0,current:0,currentItemId:"",interval:3e3,duration:300,circular:!1,previousMargin:0,nextMargin:0,acceleration:!1,displayMultipleItems:1,easingFunction:"default",keyName:"url",imgMode:"aspectFill",height:130,bgColor:"#f3f4f6",radius:4,loading:!1,showTitle:!1},swiperIndicator:{length:0,current:0,indicatorActiveColor:"",indicatorInactiveColor:"",indicatorMode:"line"},switch:{loading:!1,disabled:!1,size:25,activeColor:"#2979ff",inactiveColor:"#ffffff",value:!1,activeValue:!0,inactiveValue:!1,asyncChange:!1,space:0},tabbar:{value:null,safeAreaInsetBottom:!0,border:!0,zIndex:1,activeColor:"#1989fa",inactiveColor:"#7d7e80",fixed:!0,placeholder:!0},tabbarItem:{name:null,icon:"",badge:null,dot:!1,text:"",badgeStyle:"top: 6px;right:2px;"},tabs:{duration:300,list:[],lineColor:"#3c9cff",activeStyle:{color:"#303133"},inactiveStyle:{color:"#606266"},lineWidth:20,lineHeight:3,lineBgSize:"cover",itemStyle:{height:"44px"},scrollable:!0,current:0,keyName:"name"},tag:{type:"primary",disabled:!1,size:"medium",shape:"square",text:"",bgColor:"",color:"",borderColor:"",closeColor:"#C6C7CB",name:"",plainFill:!1,plain:!1,closable:!1,show:!0,icon:"",iconColor:""},text:{type:"",show:!0,text:"",prefixIcon:"",suffixIcon:"",mode:"",href:"",format:"",call:!1,openType:"",bold:!1,block:!1,lines:"",color:"#303133",size:15,iconStyle:{fontSize:"15px"},decoration:"none",margin:0,lineHeight:"",align:"left",wordWrap:"normal",flex1:!0},textarea:{value:"",placeholder:"",placeholderClass:"textarea-placeholder",placeholderStyle:"color: #c0c4cc",height:70,confirmType:"done",disabled:!1,count:!1,focus:!1,autoHeight:!1,fixed:!1,cursorSpacing:0,cursor:"",showConfirmBar:!0,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,disableDefaultPadding:!1,holdKeyboard:!1,maxlength:140,border:"surround",formatter:null},toast:{zIndex:10090,loading:!1,text:"",icon:"",type:"",loadingMode:"",show:"",overlay:!1,position:"center",params:{},duration:2e3,isTab:!1,url:"",callback:null,back:!1},toolbar:{show:!0,cancelText:"取消",confirmText:"确认",cancelColor:"#909193",confirmColor:"#3c9cff",title:""},tooltip:{text:"",copyText:"",size:14,color:"#606266",bgColor:"transparent",direction:"top",zIndex:10071,showCopy:!0,buttons:[],overlay:!0,showToast:!0},transition:{show:!1,mode:"fade",duration:"300",timingFunction:"ease-out"},...{upload:{accept:"image",extension:[],capture:["album","camera"],compressed:!0,camera:"back",maxDuration:60,uploadIcon:"camera-fill",uploadIconColor:"#D3D4D6",useBeforeRead:!1,previewFullImage:!0,maxCount:52,disabled:!1,imageMode:"aspectFill",name:"",sizeType:["original","compressed"],multiple:!1,deletable:!0,maxSize:Number.MAX_VALUE,fileList:[],uploadText:"",width:80,height:80,previewImage:!0}}},Zc={toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965};let el="none";el="vue3",el="mp",el="weixin";const tl=new class{constructor(e={}){var t;t=e,"[object Object]"!==Object.prototype.toString.call(t)&&(e={},console.warn("设置全局参数必须接收一个Object")),this.config=Nc({...Lc,...e}),this.interceptors={request:new Bc,response:new Bc}}setConfig(e){this.config=e(this.config)}middleware(e){e=((e,t={})=>{const n=t.method||e.method||"GET";let o={baseURL:e.baseURL||"",method:n,url:t.url||"",params:t.params||{},custom:{...e.custom||{},...t.custom||{}},header:Ec(e.header||{},t.header||{})};if(o={...o,...jc(["getTask","validateStatus"],e,t)},"DOWNLOAD"===n);else if("UPLOAD"===n)delete o.header["content-type"],delete o.header["Content-Type"],["filePath","name","formData"].forEach((e=>{Pc(t[e])||(o[e]=t[e])}));else{const n=["data","timeout","dataType","responseType"];o={...o,...jc(n,e,t)}}return o})(this.config,e);const t=[Oc,void 0];let n=Promise.resolve(e);for(this.interceptors.request.forEach((e=>{t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((e=>{t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n}request(e={}){return this.middleware(e)}get(e,t={}){return this.middleware({url:e,method:"GET",...t})}post(e,t,n={}){return this.middleware({url:e,data:t,method:"POST",...n})}put(e,t,n={}){return this.middleware({url:e,data:t,method:"PUT",...n})}delete(e,t,n={}){return this.middleware({url:e,data:t,method:"DELETE",...n})}connect(e,t,n={}){return this.middleware({url:e,data:t,method:"CONNECT",...n})}head(e,t,n={}){return this.middleware({url:e,data:t,method:"HEAD",...n})}options(e,t,n={}){return this.middleware({url:e,data:t,method:"OPTIONS",...n})}trace(e,t,n={}){return this.middleware({url:e,data:t,method:"TRACE",...n})}upload(e,t={}){return t.url=e,t.method="UPLOAD",this.middleware(t)}download(e,t={}){return t.url=e,t.method="DOWNLOAD",this.middleware(t)}};vc.setConfig=function(e){vc.shallowMerge(tc,e.config||{}),vc.shallowMerge(Xc,e.props||{}),vc.shallowMerge(Gc,e.color||{}),vc.shallowMerge(Zc,e.zIndex||{})};const nl={route:wc,date:vc.timeFormat,colorGradient:Uc.colorGradient,hexToRgb:Uc.hexToRgb,rgbToHex:Uc.rgbToHex,colorToRgba:Uc.colorToRgba,test:Va,type:["primary","success","error","warning","info"],http:tl,config:tc,zIndex:Zc,debounce:function(e,t=500,n=!1){if(null!==Qc&&clearTimeout(Qc),n){const n=!Qc;Qc=setTimeout((()=>{Qc=null}),t),n&&"function"==typeof e&&e()}else Qc=setTimeout((()=>{"function"==typeof e&&e()}),t)},throttle:qc,mixin:xc,mpMixin:Sc,props:Xc,...vc,color:Gc,platform:"weixin"},ol={install:e=>{kn.$u=nl,e.config.globalProperties.$u=nl,e.mixin(xc)}},rl=e=>(t,n=Oi())=>{!Ni&&Rr(e,t,n)},il=rl(q),sl=rl(z),al=rl(H),cl=rl(J),ll=rl(G),ul=rl(re),fl=rl(se),pl=rl(ce);var dl=Object.prototype.toString;function hl(e){return"[object Array]"===dl.call(e)}function gl(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),hl(e))for(var n=0,o=e.length;n{let n={};return e.forEach((e=>{yl(t[e])||(n[e]=t[e])})),n},xl=e=>(e=>new Promise(((t,n)=>{let o=vl((r=e.baseURL,i=e.url,r&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(r,i):i),e.params,e.paramsSerializer);var r,i;const s={url:o,header:e.header,complete:r=>{e.fullPath=o,r.config=e,r.rawData=r.data;try{let t=!1;const n=typeof e.forcedJSONParsing;"boolean"===n?t=e.forcedJSONParsing:"object"===n&&(t=(e.forcedJSONParsing.include||[]).includes(e.method)),t&&"string"==typeof r.data&&(r.data=JSON.parse(r.data))}catch(Gu){}!function(e,t,n){const o=n.config.validateStatus,r=n.statusCode;!r||o&&!o(r)?t(n):e(n)}(t,n,r)}};let a;if("UPLOAD"===e.method){delete s.header["content-type"],delete s.header["Content-Type"];let t={filePath:e.filePath,name:e.name};const n=["timeout","formData"];a=kn.uploadFile({...s,...t,...wl(n,e)})}else if("DOWNLOAD"===e.method){const t=["timeout","filePath"];a=kn.downloadFile({...s,...wl(t,e)})}else{const t=["data","method","timeout","dataType","responseType","enableHttp2","enableQuic","enableCache","enableHttpDNS","httpDNSServiceId","enableChunked","forceCellularNetwork"];a=kn.request({...s,...wl(t,e)})}e.getTask&&e.getTask(a,e)})))(e);function Sl(){this.handlers=[]}Sl.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},Sl.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},Sl.prototype.forEach=function(e){this.handlers.forEach((t=>{null!==t&&e(t)}))};const Al=(e,t,n)=>{let o={};return e.forEach((e=>{yl(n[e])?yl(t[e])||(o[e]=t[e]):o[e]=n[e]})),o},Tl={baseURL:"",header:{},method:"GET",dataType:"json",paramsSerializer:null,responseType:"text",custom:{},timeout:6e4,validateStatus:function(e){return e>=200&&e<300},forcedJSONParsing:!0};var kl=function(){function e(e,t){return null!=t&&e instanceof t}var t,n,o;try{t=Map}catch(a){t=function(){}}try{n=Set}catch(a){n=function(){}}try{o=Promise}catch(a){o=function(){}}function r(i,a,c,l,u){"object"==typeof a&&(c=a.depth,l=a.prototype,u=a.includeNonEnumerable,a=a.circular);var f=[],p=[],d="undefined"!=typeof Buffer;return void 0===a&&(a=!0),void 0===c&&(c=1/0),function i(c,h){if(null===c)return null;if(0===h)return c;var g,m;if("object"!=typeof c)return c;if(e(c,t))g=new t;else if(e(c,n))g=new n;else if(e(c,o))g=new o((function(e,t){c.then((function(t){e(i(t,h-1))}),(function(e){t(i(e,h-1))}))}));else if(r.__isArray(c))g=[];else if(r.__isRegExp(c))g=new RegExp(c.source,s(c)),c.lastIndex&&(g.lastIndex=c.lastIndex);else if(r.__isDate(c))g=new Date(c.getTime());else{if(d&&Buffer.isBuffer(c))return Buffer.from?g=Buffer.from(c):(g=new Buffer(c.length),c.copy(g)),g;e(c,Error)?g=Object.create(c):void 0===l?(m=Object.getPrototypeOf(c),g=Object.create(m)):(g=Object.create(l),m=l)}if(a){var y=f.indexOf(c);if(-1!=y)return p[y];f.push(c),p.push(g)}for(var b in e(c,t)&&c.forEach((function(e,t){var n=i(t,h-1),o=i(e,h-1);g.set(n,o)})),e(c,n)&&c.forEach((function(e){var t=i(e,h-1);g.add(t)})),c){Object.getOwnPropertyDescriptor(c,b)&&(g[b]=i(c[b],h-1));try{if("undefined"===Object.getOwnPropertyDescriptor(c,b).set)continue;g[b]=i(c[b],h-1)}catch(Gu){if(Gu instanceof TypeError)continue;if(Gu instanceof ReferenceError)continue}}if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(c);for(b=0;b=t?e:""+Array(t+1-o.length).join(n)+e},b={s:y,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),o=Math.floor(n/60),r=n%60;return(t<=0?"+":"-")+y(o,2,"0")+":"+y(r,2,"0")},m:function e(t,n){if(t.date()1)return e(s[0])}else{var a=t.name;w[a]=t,r=a}return!o&&r&&(v=r),r||!o&&v},T=function(e,t){if(S(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new E(n)},k=b;k.l=A,k.i=S,k.w=function(e,t){return T(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function m(e){this.$L=A(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var y=m.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(k.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var o=t.match(h);if(o){var r=o[2]-1||0,i=(o[7]||"0").substring(0,3);return n?new Date(Date.UTC(o[1],r,o[3]||1,o[4]||0,o[5]||0,o[6]||0,i)):new Date(o[1],r,o[3]||1,o[4]||0,o[5]||0,o[6]||0,i)}}return new Date(t)}(e),this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return k},y.isValid=function(){return!(this.$d.toString()===d)},y.isSame=function(e,t){var n=T(e);return this.startOf(t)<=n&&n<=this.endOf(t)},y.isAfter=function(e,t){return T(e)0,m<=g.r||!g.r){m<=1&&h>0&&(g=p[h-1]);var y=f[g.l];a&&(m=a(""+m)),l="string"==typeof y?y.replace("%d",m):y(m,o,g.l,u);break}}if(o)return l;var b=u?f.future:f.past;return"function"==typeof b?b(l):b.replace("%s",l)},o.to=function(e,t){return i(e,t,this,!0)},o.from=function(e,t){return i(e,t,this)};var s=function(e){return e.$u?n.utc():n()};o.toNow=function(e){return this.to(s(this),e)},o.fromNow=function(e){return this.from(s(this),e)}};const _l=Cl,Ol={props:{src:{type:String,default:()=>Xc.avatar.src},shape:{type:String,default:()=>Xc.avatar.shape},size:{type:[String,Number],default:()=>Xc.avatar.size},mode:{type:String,default:()=>Xc.avatar.mode},text:{type:String,default:()=>Xc.avatar.text},bgColor:{type:String,default:()=>Xc.avatar.bgColor},color:{type:String,default:()=>Xc.avatar.color},fontSize:{type:[String,Number],default:()=>Xc.avatar.fontSize},icon:{type:String,default:()=>Xc.avatar.icon},mpAvatar:{type:Boolean,default:()=>Xc.avatar.mpAvatar},randomBgColor:{type:Boolean,default:()=>Xc.avatar.randomBgColor},defaultUrl:{type:String,default:()=>Xc.avatar.defaultUrl},colorIndex:{type:[String,Number],validator:e=>Va.range(e,[0,19])||""===e,default:()=>Xc.avatar.colorIndex},name:{type:String,default:()=>Xc.avatar.name}}},Bl={props:{name:{type:String,default:()=>Xc.icon.name},color:{type:String,default:()=>Xc.icon.color},size:{type:[String,Number],default:()=>Xc.icon.size},bold:{type:Boolean,default:()=>Xc.icon.bold},index:{type:[String,Number],default:()=>Xc.icon.index},hoverClass:{type:String,default:()=>Xc.icon.hoverClass},customPrefix:{type:String,default:()=>Xc.icon.customPrefix},label:{type:[String,Number],default:()=>Xc.icon.label},labelPos:{type:String,default:()=>Xc.icon.labelPos},labelSize:{type:[String,Number],default:()=>Xc.icon.labelSize},labelColor:{type:String,default:()=>Xc.icon.labelColor},space:{type:[String,Number],default:()=>Xc.icon.space},imgMode:{type:String,default:()=>Xc.icon.imgMode},width:{type:[String,Number],default:()=>Xc.icon.width},height:{type:[String,Number],default:()=>Xc.icon.height},top:{type:[String,Number],default:()=>Xc.icon.top},stop:{type:Boolean,default:()=>Xc.icon.stop}}},jl={props:{shape:{type:String,default:()=>Xc.search.shape},bgColor:{type:String,default:()=>Xc.search.bgColor},placeholder:{type:String,default:()=>Xc.search.placeholder},clearabled:{type:Boolean,default:()=>Xc.search.clearabled},focus:{type:Boolean,default:()=>Xc.search.focus},showAction:{type:Boolean,default:()=>Xc.search.showAction},actionStyle:{type:Object,default:()=>Xc.search.actionStyle},actionText:{type:String,default:()=>Xc.search.actionText},inputAlign:{type:String,default:()=>Xc.search.inputAlign},inputStyle:{type:Object,default:()=>Xc.search.inputStyle},disabled:{type:Boolean,default:()=>Xc.search.disabled},borderColor:{type:String,default:()=>Xc.search.borderColor},searchIconColor:{type:String,default:()=>Xc.search.searchIconColor},color:{type:String,default:()=>Xc.search.color},placeholderColor:{type:String,default:()=>Xc.search.placeholderColor},searchIcon:{type:String,default:()=>Xc.search.searchIcon},searchIconSize:{type:[Number,String],default:()=>Xc.search.searchIconSize},margin:{type:String,default:()=>Xc.search.margin},animation:{type:Boolean,default:()=>Xc.search.animation},modelValue:{type:String,default:()=>Xc.search.value},value:{type:String,default:()=>Xc.search.value},maxlength:{type:[String,Number],default:()=>Xc.search.maxlength},height:{type:[String,Number],default:()=>Xc.search.height},label:{type:[String,Number,null],default:()=>Xc.search.label},adjustPosition:{type:Boolean,default:()=>!0},autoBlur:{type:Boolean,default:()=>!1}}},Ll={props:{duration:{type:Number,default:()=>Xc.tabs.duration},list:{type:Array,default:()=>Xc.tabs.list},lineColor:{type:String,default:()=>Xc.tabs.lineColor},activeStyle:{type:[String,Object],default:()=>Xc.tabs.activeStyle},inactiveStyle:{type:[String,Object],default:()=>Xc.tabs.inactiveStyle},lineWidth:{type:[String,Number],default:()=>Xc.tabs.lineWidth},lineHeight:{type:[String,Number],default:()=>Xc.tabs.lineHeight},lineBgSize:{type:String,default:()=>Xc.tabs.lineBgSize},itemStyle:{type:[String,Object],default:()=>Xc.tabs.itemStyle},scrollable:{type:Boolean,default:()=>Xc.tabs.scrollable},current:{type:[Number,String],default:()=>Xc.tabs.current},keyName:{type:String,default:()=>Xc.tabs.keyName}}},Nl={props:{title:{type:[String,Number],default:()=>Xc.stepsItem.title},desc:{type:[String,Number],default:()=>Xc.stepsItem.desc},iconSize:{type:[String,Number],default:()=>Xc.stepsItem.iconSize},error:{type:Boolean,default:()=>Xc.stepsItem.error},itemStyle:{type:[Object],default:{}}}},Dl={props:{direction:{type:String,default:()=>Xc.steps.direction},current:{type:[String,Number],default:()=>Xc.steps.current},activeColor:{type:String,default:()=>Xc.steps.activeColor},inactiveColor:{type:String,default:()=>Xc.steps.inactiveColor},activeIcon:{type:String,default:()=>Xc.steps.activeIcon},inactiveIcon:{type:String,default:()=>Xc.steps.inactiveIcon},dot:{type:Boolean,default:()=>Xc.steps.dot}}},Ml={props:{show:{type:Boolean,default:()=>Xc.loadingIcon.show},color:{type:String,default:()=>Xc.loadingIcon.color},textColor:{type:String,default:()=>Xc.loadingIcon.textColor},vertical:{type:Boolean,default:()=>Xc.loadingIcon.vertical},mode:{type:String,default:()=>Xc.loadingIcon.mode},size:{type:[String,Number],default:()=>Xc.loadingIcon.size},textSize:{type:[String,Number],default:()=>Xc.loadingIcon.textSize},text:{type:[String,Number],default:()=>Xc.loadingIcon.text},timingFunction:{type:String,default:()=>Xc.loadingIcon.timingFunction},duration:{type:[String,Number],default:()=>Xc.loadingIcon.duration},inactiveColor:{type:String,default:()=>Xc.loadingIcon.inactiveColor}}},Fl={props:{name:{type:[String,Number,Boolean],default:()=>Xc.checkbox.name},shape:{type:String,default:()=>Xc.checkbox.shape},size:{type:[String,Number],default:()=>Xc.checkbox.size},checked:{type:Boolean,default:()=>Xc.checkbox.checked},disabled:{type:[String,Boolean],default:()=>Xc.checkbox.disabled},activeColor:{type:String,default:()=>Xc.checkbox.activeColor},inactiveColor:{type:String,default:()=>Xc.checkbox.inactiveColor},iconSize:{type:[String,Number],default:()=>Xc.checkbox.iconSize},iconColor:{type:String,default:()=>Xc.checkbox.iconColor},label:{type:[String,Number],default:()=>Xc.checkbox.label},labelSize:{type:[String,Number],default:()=>Xc.checkbox.labelSize},labelColor:{type:String,default:()=>Xc.checkbox.labelColor},labelDisabled:{type:[String,Boolean],default:()=>Xc.checkbox.labelDisabled},usedAlone:{type:[Boolean],default:()=>!1}}},Ul={props:{name:{type:String,default:()=>Xc.checkboxGroup.name},modelValue:{type:Array,default:()=>Xc.checkboxGroup.value},shape:{type:String,default:()=>Xc.checkboxGroup.shape},disabled:{type:Boolean,default:()=>Xc.checkboxGroup.disabled},activeColor:{type:String,default:()=>Xc.checkboxGroup.activeColor},inactiveColor:{type:String,default:()=>Xc.checkboxGroup.inactiveColor},size:{type:[String,Number],default:()=>Xc.checkboxGroup.size},placement:{type:String,default:()=>Xc.checkboxGroup.placement},labelSize:{type:[String,Number],default:()=>Xc.checkboxGroup.labelSize},labelColor:{type:[String],default:()=>Xc.checkboxGroup.labelColor},labelDisabled:{type:Boolean,default:()=>Xc.checkboxGroup.labelDisabled},iconColor:{type:String,default:()=>Xc.checkboxGroup.iconColor},iconSize:{type:[String,Number],default:()=>Xc.checkboxGroup.iconSize},iconPlacement:{type:String,default:()=>Xc.checkboxGroup.iconPlacement},borderBottom:{type:Boolean,default:()=>Xc.checkboxGroup.borderBottom}}},Rl={pages:[{path:"pages/index/index",style:{navigationBarTitleText:"首页",navigationStyle:"custom"}},{path:"pages/loading",style:{navigationBarTitleText:"加载中..."}},{path:"pages/login",style:{navigationBarTitleText:"登录/注册",navigationStyle:"custom"}},{path:"pages/data_oard/index",style:{navigationBarTitleText:"数据看板"}},{path:"pages/public/select_project/index",style:{navigationBarTitleText:"选择项目"}},{path:"pages/me/index",style:{navigationBarTitleText:"个人中心",navigationStyle:"custom"}},{path:"pages/public/asset_houses/index",style:{navigationBarTitleText:"房屋管理"}},{path:"pages/transfer/index",style:{navigationBarTitleText:"正在识别..."}}],subPackages:[{root:"WORKORDER",pages:[{path:"list/index",style:{navigationBarTitleText:"我的工单"}},{path:"list_log/index",style:{navigationBarTitleText:"提报记录"}},{path:"show_log/index",style:{navigationBarTitleText:"提报工单详情"}},{path:"update/index",style:{navigationBarTitleText:"更新进度"}},{path:"show/index",style:{navigationBarTitleText:"工单详情"}},{path:"add/index",style:{navigationBarTitleText:"新增工单"}},{path:"poster/index",style:{navigationBarTitleText:"工单收款码"}}]},{root:"ME",pages:[{path:"work_order_home/index",style:{navigationBarTitleText:"工单提报"}},{path:"update/index",style:{navigationBarTitleText:"用户信息"}},{path:"announcement/list/index",style:{navigationBarTitleText:"公告列表"}},{path:"announcement/show/index",style:{navigationBarTitleText:"公告详情"}},{path:"feedback/index",style:{navigationBarTitleText:"意见反馈"}},{path:"knowledge_qa/index",style:{navigationBarTitleText:"知识问答"}},{path:"knowledge_qa/show",style:{navigationBarTitleText:"知识详情"}},{path:"push_show/index",style:{navigationBarTitleText:"任务预览"}},{path:"instrument/list/index",style:{navigationBarTitleText:"仪表抄表"}},{path:"instrument/add/index",style:{navigationBarTitleText:"抄表"}},{path:"instrument/log/index",style:{navigationBarTitleText:"抄表记录"}},{path:"instrument/log_show/index",style:{navigationBarTitleText:"抄表记录详情"}}]},{root:"CUSTOMER",pages:[{path:"show/index",style:{navigationBarTitleText:"客户详情"}},{path:"update/index",style:{navigationBarTitleText:"客户编辑"}},{path:"assets/index",style:{navigationBarTitleText:"客户资产"}},{path:"bind_house/index",style:{navigationBarTitleText:"入户登记"}},{path:"house_list/index",style:{navigationBarTitleText:"房屋列表"}},{path:"house_select/index",style:{navigationBarTitleText:"房源列表"}},{path:"house_Identity/index",style:{navigationBarTitleText:"选择身份"}},{path:"house_Identity/success",style:{navigationBarTitleText:"绑定房屋",navigationStyle:"custom"}},{path:"bind_house_form/index",style:{navigationBarTitleText:"绑定产权人"}},{path:"bind_house_form/success",style:{navigationBarTitleText:"绑定房屋",navigationStyle:"custom"}},{path:"list_user/index",style:{navigationBarTitleText:"客户列表"}},{path:"list_house/index",style:{navigationBarTitleText:"房屋管理"}},{path:"list_bill/index",style:{navigationBarTitleText:"发送账单"}}]},{root:"BILL",pages:[{path:"outstanding_fee/index/index",style:{navigationBarTitleText:"欠费房屋"}},{path:"record/payment/index",style:{navigationBarTitleText:"缴费记录"}},{path:"record/urge_payment/index",style:{navigationBarTitleText:"催费记录"}},{path:"outstanding_fee/show/index",style:{navigationBarTitleText:"房屋详情"}},{path:"outstanding_fee/add/index",style:{navigationBarTitleText:"新增催缴记录"}},{path:"bill_details/index",style:{navigationBarTitleText:"账单详情"}},{path:"information_template/index",style:{navigationBarTitleText:"选择信息模版"}},{path:"poster/index",style:{navigationBarTitleText:"二维码收款"}},{path:"collection_record/index/index",style:{navigationBarTitleText:"催缴记录"}},{path:"collection_record/show/index",style:{navigationBarTitleText:"催缴详情"}},{path:"send_bill/index",style:{navigationBarTitleText:"账单列表"}}]},{root:"INDEX",pages:[{path:"release_items/index",style:{navigationBarTitleText:"出入登记"}},{path:"pass/index",style:{navigationBarTitleText:"出入管理"}},{path:"watermark_camera/index",style:{navigationBarTitleText:"水印相机"}},{path:"task/list/index",style:{navigationBarTitleText:"任务中心"}},{path:"task/show/index",style:{navigationBarTitleText:"任务详情"}},{path:"task/update/index",style:{navigationBarTitleText:"领取工单"}}]}],tabBar:{color:"#3D3D3D",selectedColor:"#3D3D3D",backgroundColor:"#ffffff",borderStyle:"black",list:[{pagePath:"pages/index/index",text:"首页",iconPath:"/static/tabbar/home.png",selectedIconPath:"/static/tabbar/home_active.png"},{pagePath:"pages/me/index",text:"我的",iconPath:"/static/tabbar/me.png",selectedIconPath:"/static/tabbar/me_active.png"}]},easycom:{custom:{"^u-(.*)":"uview-plus/components/u-$1/u-$1.vue","^up-(.*)":"uview-plus/components/u-$1/u-$1.vue","^u-([^-].*)":"uview-plus/components/u-$1/u-$1.vue","^cc-(.*)":"@/common/components/cc-$1/cc-$1.vue","^nchl-(.*)":"@/components/my-$1/nchl-$1.vue"}},globalStyle:{navigationBarBackgroundColor:"#fff",navigationBarTextStyle:"black"}};function Ql(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}var ql=Ql((function(e,t){var n;e.exports=(n=n||function(e){var t=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),n={},o=n.lib={},r=o.Base={extend:function(e){var n=t(this);return e&&n.mixIn(e),n.hasOwnProperty("init")&&this.init!==n.init||(n.init=function(){n.$super.init.apply(this,arguments)}),n.init.prototype=n,n.$super=this,n},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},i=o.WordArray=r.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||a).stringify(this)},concat:function(e){var t=this.words,n=e.words,o=this.sigBytes,r=e.sigBytes;if(this.clamp(),o%4)for(var i=0;i>>2]>>>24-i%4*8&255;t[o+i>>>2]|=s<<24-(o+i)%4*8}else for(i=0;i>>2]=n[i>>>2];return this.sigBytes+=r,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=r.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,o=[],r=function(t){var n=987654321,o=4294967295;return function(){var r=((n=36969*(65535&n)+(n>>16)&o)<<16)+(t=18e3*(65535&t)+(t>>16)&o)&o;return r/=4294967296,(r+=.5)*(e.random()>.5?1:-1)}},s=0;s>>2]>>>24-r%4*8&255;o.push((i>>>4).toString(16)),o.push((15&i).toString(16))}return o.join("")},parse:function(e){for(var t=e.length,n=[],o=0;o>>3]|=parseInt(e.substr(o,2),16)<<24-o%8*4;return new i.init(n,t/2)}},c=s.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,o=[],r=0;r>>2]>>>24-r%4*8&255;o.push(String.fromCharCode(i))}return o.join("")},parse:function(e){for(var t=e.length,n=[],o=0;o>>2]|=(255&e.charCodeAt(o))<<24-o%4*8;return new i.init(n,t)}},l=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(c.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return c.parse(unescape(encodeURIComponent(e)))}},u=o.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new i.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=l.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,o=n.words,r=n.sigBytes,s=this.blockSize,a=r/(4*s),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,l=e.min(4*c,r);if(c){for(var u=0;u>>24)|4278255360&(r<<24|r>>>8)}var i=this._hash.words,s=e[t+0],c=e[t+1],d=e[t+2],h=e[t+3],g=e[t+4],m=e[t+5],y=e[t+6],b=e[t+7],v=e[t+8],w=e[t+9],x=e[t+10],S=e[t+11],A=e[t+12],T=e[t+13],k=e[t+14],E=e[t+15],P=i[0],I=i[1],C=i[2],_=i[3];P=l(P,I,C,_,s,7,a[0]),_=l(_,P,I,C,c,12,a[1]),C=l(C,_,P,I,d,17,a[2]),I=l(I,C,_,P,h,22,a[3]),P=l(P,I,C,_,g,7,a[4]),_=l(_,P,I,C,m,12,a[5]),C=l(C,_,P,I,y,17,a[6]),I=l(I,C,_,P,b,22,a[7]),P=l(P,I,C,_,v,7,a[8]),_=l(_,P,I,C,w,12,a[9]),C=l(C,_,P,I,x,17,a[10]),I=l(I,C,_,P,S,22,a[11]),P=l(P,I,C,_,A,7,a[12]),_=l(_,P,I,C,T,12,a[13]),C=l(C,_,P,I,k,17,a[14]),P=u(P,I=l(I,C,_,P,E,22,a[15]),C,_,c,5,a[16]),_=u(_,P,I,C,y,9,a[17]),C=u(C,_,P,I,S,14,a[18]),I=u(I,C,_,P,s,20,a[19]),P=u(P,I,C,_,m,5,a[20]),_=u(_,P,I,C,x,9,a[21]),C=u(C,_,P,I,E,14,a[22]),I=u(I,C,_,P,g,20,a[23]),P=u(P,I,C,_,w,5,a[24]),_=u(_,P,I,C,k,9,a[25]),C=u(C,_,P,I,h,14,a[26]),I=u(I,C,_,P,v,20,a[27]),P=u(P,I,C,_,T,5,a[28]),_=u(_,P,I,C,d,9,a[29]),C=u(C,_,P,I,b,14,a[30]),P=f(P,I=u(I,C,_,P,A,20,a[31]),C,_,m,4,a[32]),_=f(_,P,I,C,v,11,a[33]),C=f(C,_,P,I,S,16,a[34]),I=f(I,C,_,P,k,23,a[35]),P=f(P,I,C,_,c,4,a[36]),_=f(_,P,I,C,g,11,a[37]),C=f(C,_,P,I,b,16,a[38]),I=f(I,C,_,P,x,23,a[39]),P=f(P,I,C,_,T,4,a[40]),_=f(_,P,I,C,s,11,a[41]),C=f(C,_,P,I,h,16,a[42]),I=f(I,C,_,P,y,23,a[43]),P=f(P,I,C,_,w,4,a[44]),_=f(_,P,I,C,A,11,a[45]),C=f(C,_,P,I,E,16,a[46]),P=p(P,I=f(I,C,_,P,d,23,a[47]),C,_,s,6,a[48]),_=p(_,P,I,C,b,10,a[49]),C=p(C,_,P,I,k,15,a[50]),I=p(I,C,_,P,m,21,a[51]),P=p(P,I,C,_,A,6,a[52]),_=p(_,P,I,C,h,10,a[53]),C=p(C,_,P,I,x,15,a[54]),I=p(I,C,_,P,c,21,a[55]),P=p(P,I,C,_,v,6,a[56]),_=p(_,P,I,C,E,10,a[57]),C=p(C,_,P,I,y,15,a[58]),I=p(I,C,_,P,T,21,a[59]),P=p(P,I,C,_,g,6,a[60]),_=p(_,P,I,C,S,10,a[61]),C=p(C,_,P,I,d,15,a[62]),I=p(I,C,_,P,w,21,a[63]),i[0]=i[0]+P|0,i[1]=i[1]+I|0,i[2]=i[2]+C|0,i[3]=i[3]+_|0},_doFinalize:function(){var t=this._data,n=t.words,o=8*this._nDataBytes,r=8*t.sigBytes;n[r>>>5]|=128<<24-r%32;var i=e.floor(o/4294967296),s=o;n[15+(r+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),n[14+(r+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),t.sigBytes=4*(n.length+1),this._process();for(var a=this._hash,c=a.words,l=0;l<4;l++){var u=c[l];c[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return a},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,n,o,r,i,s){var a=e+(t&n|~t&o)+r+s;return(a<>>32-i)+t}function u(e,t,n,o,r,i,s){var a=e+(t&o|n&~o)+r+s;return(a<>>32-i)+t}function f(e,t,n,o,r,i,s){var a=e+(t^n^o)+r+s;return(a<>>32-i)+t}function p(e,t,n,o,r,i,s){var a=e+(n^(t|~o))+r+s;return(a<>>32-i)+t}t.MD5=i._createHelper(c),t.HmacMD5=i._createHmacHelper(c)}(Math),n.MD5)})),Ql((function(e,t){var n,o,r;e.exports=(o=(n=zl).lib.Base,r=n.enc.Utf8,void(n.algo.HMAC=o.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var n=e.blockSize,o=4*n;t.sigBytes>o&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),s=this._iKey=t.clone(),a=i.words,c=s.words,l=0;l>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,a=0;a<4&&i+.75*a>>6*(3-a)&63));var c=o.charAt(64);if(c)for(;r.length%4;)r.push(c);return r.join("")},parse:function(e){var t=e.length,n=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i>>6-s%4*2;o[i>>>2]|=(a|c)<<24-i%4*8,i++}return r.create(o,i)}(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},n.enc.Base64)}));const Vl="FUNCTION",Kl="pending",Jl="rejected";function Yl(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function Gl(e){return"object"===Yl(e)}function Xl(e){return"function"==typeof e}function Zl(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}const eu="REJECTED",tu="NOT_PENDING";class nu{constructor({createPromise:e,retryRule:t=eu}={}){this.createPromise=e,this.status=null,this.promise=null,this.retryRule=t}get needRetry(){if(!this.status)return!0;switch(this.retryRule){case eu:return this.status===Jl;case tu:return this.status!==Kl}}exec(){return this.needRetry?(this.status=Kl,this.promise=this.createPromise().then((e=>(this.status="fullfilled",Promise.resolve(e))),(e=>(this.status=Jl,Promise.reject(e)))),this.promise):this.promise}}function ou(e){return e&&"string"==typeof e?JSON.parse(e):e}const ru=ou([]),iu="mp-weixin";ou("");const su=ou("[]")||[];let au="";try{au=""}catch(Gu){}let cu={};function lu(e,t={}){var n,o;return n=cu,o=e,Object.prototype.hasOwnProperty.call(n,o)||(cu[e]=t),cu[e]}const uu=["invoke","success","fail","complete"],fu=lu("_globalUniCloudInterceptor");function pu(e,t){fu[e]||(fu[e]={}),Gl(t)&&Object.keys(t).forEach((n=>{uu.indexOf(n)>-1&&function(e,t,n){let o=fu[e][t];o||(o=fu[e][t]=[]),-1===o.indexOf(n)&&Xl(n)&&o.push(n)}(e,n,t[n])}))}function du(e,t){fu[e]||(fu[e]={}),Gl(t)?Object.keys(t).forEach((n=>{uu.indexOf(n)>-1&&function(e,t,n){const o=fu[e][t];if(!o)return;const r=o.indexOf(n);r>-1&&o.splice(r,1)}(e,n,t[n])})):delete fu[e]}function hu(e,t){return e&&0!==e.length?e.reduce(((e,n)=>e.then((()=>n(t)))),Promise.resolve()):Promise.resolve()}function gu(e,t){return fu[e]&&fu[e][t]||[]}function mu(e){pu("callObject",e)}const yu=lu("_globalUniCloudListener"),bu="response",vu="needLogin",wu="refreshToken",xu="clientdb",Su="cloudfunction",Au="cloudobject";function Tu(e){return yu[e]||(yu[e]=[]),yu[e]}function ku(e,t){const n=Tu(e);n.includes(t)||n.push(t)}function Eu(e,t){const n=Tu(e),o=n.indexOf(t);-1!==o&&n.splice(o,1)}function Pu(e,t){const n=Tu(e);for(let o=0;o{Cu&&e(),function t(){if("function"==typeof getCurrentPages){const t=getCurrentPages();t&&t[0]&&(Cu=!0,e())}Cu||setTimeout((()=>{t()}),30)}()})),Iu)}function Ou(e){const t={};for(const n in e){const o=e[n];Xl(o)&&(t[n]=Zl(o))}return t}class Bu extends Error{constructor(e){super(e.message),this.errMsg=e.message||e.errMsg||"unknown system error",this.code=this.errCode=e.code||e.errCode||"SYSTEM_ERROR",this.errSubject=this.subject=e.subject||e.errSubject,this.cause=e.cause,this.requestId=e.requestId}toJson(e=0){if(!(e>=10))return e++,{errCode:this.errCode,errMsg:this.errMsg,errSubject:this.errSubject,cause:this.cause&&this.cause.toJson?this.cause.toJson(e):this.cause}}}var ju={request:e=>kn.request(e),uploadFile:e=>kn.uploadFile(e),setStorageSync:(e,t)=>kn.setStorageSync(e,t),getStorageSync:e=>kn.getStorageSync(e),removeStorageSync:e=>kn.removeStorageSync(e),clearStorageSync:()=>kn.clearStorageSync()};function Lu(e){return e&&Lu(e.__v_raw)||e}function Nu(){return{token:ju.getStorageSync("uni_id_token")||ju.getStorageSync("uniIdToken"),tokenExpired:ju.getStorageSync("uni_id_token_expired")}}function Du({token:e,tokenExpired:t}={}){e&&ju.setStorageSync("uni_id_token",e),t&&ju.setStorageSync("uni_id_token_expired",t)}let Mu,Fu;function Uu(){return Mu||(Mu=kn.getSystemInfoSync()),Mu}function Ru(){let e,t;try{if(kn.getLaunchOptionsSync){if(kn.getLaunchOptionsSync.toString().indexOf("not yet implemented")>-1)return;const{scene:n,channel:o}=kn.getLaunchOptionsSync();e=o,t=n}}catch(n){}return{channel:e,scene:t}}function Qu(){const e=kn.getLocale&&kn.getLocale()||"en";if(Fu)return{...Fu,locale:e,LOCALE:e};const t=Uu(),{deviceId:n,osName:o,uniPlatform:r,appId:i}=t,s=["pixelRatio","brand","model","system","language","version","platform","host","SDKVersion","swanNativeVersion","app","AppPlatform","fontSizeSetting"];for(let a=0;a{t(Object.assign(e,{complete(e){e||(e={});const t=e.data&&e.data.header&&e.data.header["x-serverless-request-id"]||e.header&&e.header["request-id"];if(!e.statusCode||e.statusCode>=400)return o(new Bu({code:"SYS_ERR",message:e.errMsg||"request:fail",requestId:t}));const r=e.data;if(r.error)return o(new Bu({code:r.error.code,message:r.error.message,requestId:t}));r.result=r.data,r.requestId=t,delete r.data,n(r)}}))}))},Hu=function(e){return $l.stringify(Wl.parse(e))},Wu={"uniCloud.init.paramRequired":"{param} required","uniCloud.uploadFile.fileError":"filePath should be instance of File"};const{t:$u}=function(e,t={},n,o){"string"!=typeof e&&([e,t]=[t,e]),"string"!=typeof e&&(e=void 0!==kn&&kn.getLocale?kn.getLocale():"undefined"!=typeof global&&global.getLocale?global.getLocale():Le),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||Le);const r=new Ue({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{if("function"!=typeof getApp)i=function(e,t){return r.t(e,t)};else{let e=!1;i=function(t,n){const o=getApp().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}(o,r))),r.t(t,n)}}return i(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}({"zh-Hans":{"uniCloud.init.paramRequired":"缺少参数:{param}","uniCloud.uploadFile.fileError":"filePath应为File对象"},"zh-Hant":{"uniCloud.init.paramRequired":"缺少参数:{param}","uniCloud.uploadFile.fileError":"filePath应为File对象"},en:Wu,fr:{"uniCloud.init.paramRequired":"{param} required","uniCloud.uploadFile.fileError":"filePath should be instance of File"},es:{"uniCloud.init.paramRequired":"{param} required","uniCloud.uploadFile.fileError":"filePath should be instance of File"},ja:Wu},"zh-Hans");var Vu=class{constructor(e){["spaceId","clientSecret"].forEach((t=>{if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error($u("uniCloud.init.paramRequired",{param:t}))})),this.config=Object.assign({},{endpoint:0===e.spaceId.indexOf("mp-")?"https://api.next.bspapp.com":"https://api.bspapp.com"},e),this.config.provider="aliyun",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.config.accessTokenKey="access_token_"+this.config.spaceId,this.adapter=ju,this._getAccessTokenPromiseHub=new nu({createPromise:()=>this.requestAuth(this.setupRequest({method:"serverless.auth.user.anonymousAuthorize",params:"{}"},"auth")).then((e=>{if(!e.result||!e.result.accessToken)throw new Bu({code:"AUTH_FAILED",message:"获取accessToken失败"});this.setAccessToken(e.result.accessToken)})),retryRule:tu})}get hasAccessToken(){return!!this.accessToken}setAccessToken(e){this.accessToken=e}requestWrapped(e){return zu(e,this.adapter.request)}requestAuth(e){return this.requestWrapped(e)}request(e,t){return Promise.resolve().then((()=>this.hasAccessToken?t?this.requestWrapped(e):this.requestWrapped(e).catch((t=>new Promise(((e,n)=>{!t||"GATEWAY_INVALID_TOKEN"!==t.code&&"InvalidParameter.InvalidToken"!==t.code?n(t):e()})).then((()=>this.getAccessToken())).then((()=>{const t=this.rebuildRequest(e);return this.request(t,!0)})))):this.getAccessToken().then((()=>{const t=this.rebuildRequest(e);return this.request(t,!0)}))))}rebuildRequest(e){const t=Object.assign({},e);return t.data.token=this.accessToken,t.header["x-basement-token"]=this.accessToken,t.header["x-serverless-sign"]=qu(t.data,this.config.clientSecret),t}setupRequest(e,t){const n=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),o={"Content-Type":"application/json"};return"auth"!==t&&(n.token=this.accessToken,o["x-basement-token"]=this.accessToken),o["x-serverless-sign"]=qu(n,this.config.clientSecret),{url:this.config.requestUrl,method:"POST",data:n,dataType:"json",header:o}}getAccessToken(){return this._getAccessTokenPromiseHub.exec()}async authorize(){await this.getAccessToken()}callFunction(e){const t={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:e.name,functionArgs:e.data||{}})};return this.request(this.setupRequest(t))}getOSSUploadOptionsFromPath(e){const t={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}uploadFileToOSS({url:e,formData:t,name:n,filePath:o,fileType:r,onUploadProgress:i}){return new Promise(((s,a)=>{const c=this.adapter.uploadFile({url:e,formData:t,name:n,filePath:o,fileType:r,header:{"X-OSS-server-side-encrpytion":"AES256"},success(e){e&&e.statusCode<400?s(e):a(new Bu({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(e){a(new Bu({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof i&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((e=>{i({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}reportOSSUpload(e){const t={method:"serverless.file.resource.report",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}async uploadFile({filePath:e,cloudPath:t,fileType:n="image",cloudPathAsRealPath:o=!1,onUploadProgress:r,config:i}){if("string"!==Yl(t))throw new Bu({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});if(!(t=t.trim()))throw new Bu({code:"INVALID_PARAM",message:"cloudPath不可为空"});if(/:\/\//.test(t))throw new Bu({code:"INVALID_PARAM",message:"cloudPath不合法"});const s=i&&i.envType||this.config.envType;if(o&&("/"!==t[0]&&(t="/"+t),t.indexOf("\\")>-1))throw new Bu({code:"INVALID_PARAM",message:"使用cloudPath作为路径时,cloudPath不可包含“\\”"});const a=(await this.getOSSUploadOptionsFromPath({env:s,filename:o?t.split("/").pop():t,fileId:o?t:void 0})).result,c="https://"+a.cdnDomain+"/"+a.ossPath,{securityToken:l,accessKeyId:u,signature:f,host:p,ossPath:d,id:h,policy:g,ossCallbackUrl:m}=a,y={"Cache-Control":"max-age=2592000","Content-Disposition":"attachment",OSSAccessKeyId:u,Signature:f,host:p,id:h,key:d,policy:g,success_action_status:200};if(l&&(y["x-oss-security-token"]=l),m){const e=JSON.stringify({callbackUrl:m,callbackBody:JSON.stringify({fileId:h,spaceId:this.config.spaceId}),callbackBodyType:"application/json"});y.callback=Hu(e)}const b={url:"https://"+a.host,formData:y,fileName:"file",name:"file",filePath:e,fileType:n};if(await this.uploadFileToOSS(Object.assign({},b,{onUploadProgress:r})),m)return{success:!0,filePath:e,fileID:c};if((await this.reportOSSUpload({id:h})).success)return{success:!0,filePath:e,fileID:c};throw new Bu({code:"UPLOAD_FAILED",message:"文件上传失败"})}getTempFileURL({fileList:e}={}){return new Promise(((t,n)=>{Array.isArray(e)&&0!==e.length||n(new Bu({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"})),t({fileList:e.map((e=>({fileID:e,tempFileURL:e})))})}))}async getFileInfo({fileList:e}={}){if(!Array.isArray(e)||0===e.length)throw new Bu({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});const t={method:"serverless.file.resource.info",params:JSON.stringify({id:e.map((e=>e.split("?")[0])).join(",")})};return{fileList:(await this.request(this.setupRequest(t))).result}}},Ku={init(e){const t=new Vu(e),n={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}};const Ju="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:";var Yu,Gu;(Gu=Yu||(Yu={})).local="local",Gu.none="none",Gu.session="session";var Xu=function(){};const Zu=()=>{let e;if(!Promise){e=()=>{},e.promise={};const t=()=>{throw new Bu({message:'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'})};return Object.defineProperty(e.promise,"then",{get:t}),Object.defineProperty(e.promise,"catch",{get:t}),e}const t=new Promise(((t,n)=>{e=(e,o)=>e?n(e):t(o)}));return e.promise=t,e};function ef(e){return void 0===e}function tf(e){return"[object Null]"===Object.prototype.toString.call(e)}var nf;!function(e){e.WEB="web",e.WX_MP="wx_mp"}(nf||(nf={}));const of={adapter:null,runtime:void 0},rf=["anonymousUuidKey"];class sf extends Xu{constructor(){super(),of.adapter.root.tcbObject||(of.adapter.root.tcbObject={})}setItem(e,t){of.adapter.root.tcbObject[e]=t}getItem(e){return of.adapter.root.tcbObject[e]}removeItem(e){delete of.adapter.root.tcbObject[e]}clear(){delete of.adapter.root.tcbObject}}function af(e,t){switch(e){case"local":return t.localStorage||new sf;case"none":return new sf;default:return t.sessionStorage||new sf}}class cf{constructor(e){if(!this._storage){this._persistence=of.adapter.primaryStorage||e.persistence,this._storage=af(this._persistence,of.adapter);const t=`access_token_${e.env}`,n=`access_token_expire_${e.env}`,o=`refresh_token_${e.env}`,r=`anonymous_uuid_${e.env}`,i=`login_type_${e.env}`,s=`user_info_${e.env}`;this.keys={accessTokenKey:t,accessTokenExpireKey:n,refreshTokenKey:o,anonymousUuidKey:r,loginTypeKey:i,userInfoKey:s}}}updatePersistence(e){if(e===this._persistence)return;const t="local"===this._persistence;this._persistence=e;const n=af(e,of.adapter);for(const o in this.keys){const e=this.keys[o];if(t&&rf.includes(o))continue;const r=this._storage.getItem(e);ef(r)||tf(r)||(n.setItem(e,r),this._storage.removeItem(e))}this._storage=n}setStore(e,t,n){if(!this._storage)return;const o={version:n||"localCachev1",content:t},r=JSON.stringify(o);try{this._storage.setItem(e,r)}catch(i){throw i}}getStore(e,t){try{if(!this._storage)return}catch(o){return""}t=t||"localCachev1";const n=this._storage.getItem(e);return n&&n.indexOf(t)>=0?JSON.parse(n).content:""}removeStore(e){this._storage.removeItem(e)}}const lf={},uf={};function ff(e){return lf[e]}class pf{constructor(e,t){this.data=t||null,this.name=e}}class df extends pf{constructor(e,t){super("error",{error:e,data:t}),this.error=e}}const hf=new class{constructor(){this._listeners={}}on(e,t){return n=e,o=t,(r=this._listeners)[n]=r[n]||[],r[n].push(o),this;var n,o,r}off(e,t){return function(e,t,n){if(n&&n[e]){const o=n[e].indexOf(t);-1!==o&&n[e].splice(o,1)}}(e,t,this._listeners),this}fire(e,t){if(e instanceof df)return console.error(e.error),this;const n="string"==typeof e?new pf(e,t||{}):e,o=n.name;if(this._listens(o)){n.target=this;const e=this._listeners[o]?[...this._listeners[o]]:[];for(const t of e)t.call(this,n)}return this}_listens(e){return this._listeners[e]&&this._listeners[e].length>0}};function gf(e,t){hf.on(e,t)}function mf(e,t={}){hf.fire(e,t)}function yf(e,t){hf.off(e,t)}const bf="loginStateChanged",vf="loginStateExpire",wf="loginTypeChanged",xf="anonymousConverted",Sf="refreshAccessToken";var Af;!function(e){e.ANONYMOUS="ANONYMOUS",e.WECHAT="WECHAT",e.WECHAT_PUBLIC="WECHAT-PUBLIC",e.WECHAT_OPEN="WECHAT-OPEN",e.CUSTOM="CUSTOM",e.EMAIL="EMAIL",e.USERNAME="USERNAME",e.NULL="NULL"}(Af||(Af={}));const Tf=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"],kf={"X-SDK-Version":"1.3.5"};function Ef(e,t,n){const o=e[t];e[t]=function(t){const r={},i={};n.forEach((n=>{const{data:o,headers:s}=n.call(e,t);Object.assign(r,o),Object.assign(i,s)}));const s=t.data;return s&&(()=>{var e;if(e=s,"[object FormData]"!==Object.prototype.toString.call(e))t.data={...s,...r};else for(const t in r)s.append(t,r[t])})(),t.headers={...t.headers||{},...i},o.call(e,t)}}function Pf(){const e=Math.random().toString(16).slice(2);return{data:{seqId:e},headers:{...kf,"x-seqid":e}}}class If{constructor(e={}){var t;this.config=e,this._reqClass=new of.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:`请求在${this.config.timeout/1e3}s内未完成,已中断`,restrictedMethods:["post"]}),this._cache=ff(this.config.env),this._localCache=(t=this.config.env,uf[t]),Ef(this._reqClass,"post",[Pf]),Ef(this._reqClass,"upload",[Pf]),Ef(this._reqClass,"download",[Pf])}async post(e){return await this._reqClass.post(e)}async upload(e){return await this._reqClass.upload(e)}async download(e){return await this._reqClass.download(e)}async refreshAccessToken(){let e,t;this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken());try{e=await this._refreshAccessTokenPromise}catch(n){t=n}if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,t)throw t;return e}async _refreshAccessToken(){const{accessTokenKey:e,accessTokenExpireKey:t,refreshTokenKey:n,loginTypeKey:o,anonymousUuidKey:r}=this._cache.keys;this._cache.removeStore(e),this._cache.removeStore(t);let i=this._cache.getStore(n);if(!i)throw new Bu({message:"未登录CloudBase"});const s={refresh_token:i},a=await this.request("auth.fetchAccessTokenWithRefreshToken",s);if(a.data.code){const{code:e}=a.data;if("SIGN_PARAM_INVALID"===e||"REFRESH_TOKEN_EXPIRED"===e||"INVALID_REFRESH_TOKEN"===e){if(this._cache.getStore(o)===Af.ANONYMOUS&&"INVALID_REFRESH_TOKEN"===e){const e=this._cache.getStore(r),t=this._cache.getStore(n),o=await this.send("auth.signInAnonymously",{anonymous_uuid:e,refresh_token:t});return this.setRefreshToken(o.refresh_token),this._refreshAccessToken()}mf(vf),this._cache.removeStore(n)}throw new Bu({code:a.data.code,message:`刷新access token失败:${a.data.code}`})}if(a.data.access_token)return mf(Sf),this._cache.setStore(e,a.data.access_token),this._cache.setStore(t,a.data.access_token_expire+Date.now()),{accessToken:a.data.access_token,accessTokenExpire:a.data.access_token_expire};a.data.refresh_token&&(this._cache.removeStore(n),this._cache.setStore(n,a.data.refresh_token),this._refreshAccessToken())}async getAccessToken(){const{accessTokenKey:e,accessTokenExpireKey:t,refreshTokenKey:n}=this._cache.keys;if(!this._cache.getStore(n))throw new Bu({message:"refresh token不存在,登录状态异常"});let o=this._cache.getStore(e),r=this._cache.getStore(t),i=!0;return this._shouldRefreshAccessTokenHook&&!(await this._shouldRefreshAccessTokenHook(o,r))&&(i=!1),(!o||!r||r{e.wxOpenId&&e.wxPublicId&&(t=!0)})),{users:n,hasPrimaryUid:t}}setPrimaryUid(e){return this._request.send("auth.setPrimaryUid",{uid:e})}unlink(e){return this._request.send("auth.unlink",{platform:e})}async update(e){const{nickName:t,gender:n,avatarUrl:o,province:r,country:i,city:s}=e,{data:a}=await this._request.send("auth.updateUserInfo",{nickName:t,gender:n,avatarUrl:o,province:r,country:i,city:s});this.setLocalUserInfo(a)}async refresh(){const{data:e}=await this._request.send("auth.getUserInfo",{});return this.setLocalUserInfo(e),e}setUserInfo(){const{userInfoKey:e}=this._cache.keys,t=this._cache.getStore(e);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl"].forEach((e=>{this[e]=t[e]})),this.location={country:t.country,province:t.province,city:t.city}}setLocalUserInfo(e){const{userInfoKey:t}=this._cache.keys;this._cache.setStore(t,e),this.setUserInfo()}}class jf{constructor(e){if(!e)throw new Bu({code:"PARAM_ERROR",message:"envId is not defined"});this._cache=ff(e);const{refreshTokenKey:t,accessTokenKey:n,accessTokenExpireKey:o}=this._cache.keys,r=this._cache.getStore(t),i=this._cache.getStore(n),s=this._cache.getStore(o);this.credential={refreshToken:r,accessToken:i,accessTokenExpire:s},this.user=new Bf(e)}get isAnonymousAuth(){return this.loginType===Af.ANONYMOUS}get isCustomAuth(){return this.loginType===Af.CUSTOM}get isWeixinAuth(){return this.loginType===Af.WECHAT||this.loginType===Af.WECHAT_OPEN||this.loginType===Af.WECHAT_PUBLIC}get loginType(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}class Lf extends Of{async signIn(){this._cache.updatePersistence("local");const{anonymousUuidKey:e,refreshTokenKey:t}=this._cache.keys,n=this._cache.getStore(e)||void 0,o=this._cache.getStore(t)||void 0,r=await this._request.send("auth.signInAnonymously",{anonymous_uuid:n,refresh_token:o});if(r.uuid&&r.refresh_token){this._setAnonymousUUID(r.uuid),this.setRefreshToken(r.refresh_token),await this._request.refreshAccessToken(),mf(bf),mf(wf,{env:this.config.env,loginType:Af.ANONYMOUS,persistence:"local"});const e=new jf(this.config.env);return await e.user.refresh(),e}throw new Bu({message:"匿名登录失败"})}async linkAndRetrieveDataWithTicket(e){const{anonymousUuidKey:t,refreshTokenKey:n}=this._cache.keys,o=this._cache.getStore(t),r=this._cache.getStore(n),i=await this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:o,refresh_token:r,ticket:e});if(i.refresh_token)return this._clearAnonymousUUID(),this.setRefreshToken(i.refresh_token),await this._request.refreshAccessToken(),mf(xf,{env:this.config.env}),mf(wf,{loginType:Af.CUSTOM,persistence:"local"}),{credential:{refreshToken:i.refresh_token}};throw new Bu({message:"匿名转化失败"})}_setAnonymousUUID(e){const{anonymousUuidKey:t,loginTypeKey:n}=this._cache.keys;this._cache.removeStore(t),this._cache.setStore(t,e),this._cache.setStore(n,Af.ANONYMOUS)}_clearAnonymousUUID(){this._cache.removeStore(this._cache.keys.anonymousUuidKey)}}class Nf extends Of{async signIn(e){if("string"!=typeof e)throw new Bu({code:"PARAM_ERROR",message:"ticket must be a string"});const{refreshTokenKey:t}=this._cache.keys,n=await this._request.send("auth.signInWithTicket",{ticket:e,refresh_token:this._cache.getStore(t)||""});if(n.refresh_token)return this.setRefreshToken(n.refresh_token),await this._request.refreshAccessToken(),mf(bf),mf(wf,{env:this.config.env,loginType:Af.CUSTOM,persistence:this.config.persistence}),await this.refreshUserInfo(),new jf(this.config.env);throw new Bu({message:"自定义登录失败"})}}class Df extends Of{async signIn(e,t){if("string"!=typeof e)throw new Bu({code:"PARAM_ERROR",message:"email must be a string"});const{refreshTokenKey:n}=this._cache.keys,o=await this._request.send("auth.signIn",{loginType:"EMAIL",email:e,password:t,refresh_token:this._cache.getStore(n)||""}),{refresh_token:r,access_token:i,access_token_expire:s}=o;if(r)return this.setRefreshToken(r),i&&s?this.setAccessToken(i,s):await this._request.refreshAccessToken(),await this.refreshUserInfo(),mf(bf),mf(wf,{env:this.config.env,loginType:Af.EMAIL,persistence:this.config.persistence}),new jf(this.config.env);throw o.code?new Bu({code:o.code,message:`邮箱登录失败: ${o.message}`}):new Bu({message:"邮箱登录失败"})}async activate(e){return this._request.send("auth.activateEndUserMail",{token:e})}async resetPasswordWithToken(e,t){return this._request.send("auth.resetPasswordWithToken",{token:e,newPassword:t})}}class Mf extends Of{async signIn(e,t){if("string"!=typeof e)throw new Bu({code:"PARAM_ERROR",message:"username must be a string"});"string"!=typeof t&&(t="",console.warn("password is empty"));const{refreshTokenKey:n}=this._cache.keys,o=await this._request.send("auth.signIn",{loginType:Af.USERNAME,username:e,password:t,refresh_token:this._cache.getStore(n)||""}),{refresh_token:r,access_token_expire:i,access_token:s}=o;if(r)return this.setRefreshToken(r),s&&i?this.setAccessToken(s,i):await this._request.refreshAccessToken(),await this.refreshUserInfo(),mf(bf),mf(wf,{env:this.config.env,loginType:Af.USERNAME,persistence:this.config.persistence}),new jf(this.config.env);throw o.code?new Bu({code:o.code,message:`用户名密码登录失败: ${o.message}`}):new Bu({message:"用户名密码登录失败"})}}class Ff{constructor(e){this.config=e,this._cache=ff(e.env),this._request=_f(e.env),this._onAnonymousConverted=this._onAnonymousConverted.bind(this),this._onLoginTypeChanged=this._onLoginTypeChanged.bind(this),gf(wf,this._onLoginTypeChanged)}get currentUser(){const e=this.hasLoginState();return e&&e.user||null}get loginType(){return this._cache.getStore(this._cache.keys.loginTypeKey)}anonymousAuthProvider(){return new Lf(this.config)}customAuthProvider(){return new Nf(this.config)}emailAuthProvider(){return new Df(this.config)}usernameAuthProvider(){return new Mf(this.config)}async signInAnonymously(){return new Lf(this.config).signIn()}async signInWithEmailAndPassword(e,t){return new Df(this.config).signIn(e,t)}signInWithUsernameAndPassword(e,t){return new Mf(this.config).signIn(e,t)}async linkAndRetrieveDataWithTicket(e){return this._anonymousAuthProvider||(this._anonymousAuthProvider=new Lf(this.config)),gf(xf,this._onAnonymousConverted),await this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(e)}async signOut(){if(this.loginType===Af.ANONYMOUS)throw new Bu({message:"匿名用户不支持登出操作"});const{refreshTokenKey:e,accessTokenKey:t,accessTokenExpireKey:n}=this._cache.keys,o=this._cache.getStore(e);if(!o)return;const r=await this._request.send("auth.logout",{refresh_token:o});return this._cache.removeStore(e),this._cache.removeStore(t),this._cache.removeStore(n),mf(bf),mf(wf,{env:this.config.env,loginType:Af.NULL,persistence:this.config.persistence}),r}async signUpWithEmailAndPassword(e,t){return this._request.send("auth.signUpWithEmailAndPassword",{email:e,password:t})}async sendPasswordResetEmail(e){return this._request.send("auth.sendPasswordResetEmail",{email:e})}onLoginStateChanged(e){gf(bf,(()=>{const t=this.hasLoginState();e.call(this,t)}));const t=this.hasLoginState();e.call(this,t)}onLoginStateExpired(e){gf(vf,e.bind(this))}onAccessTokenRefreshed(e){gf(Sf,e.bind(this))}onAnonymousConverted(e){gf(xf,e.bind(this))}onLoginTypeChanged(e){gf(wf,(()=>{const t=this.hasLoginState();e.call(this,t)}))}async getAccessToken(){return{accessToken:(await this._request.getAccessToken()).accessToken,env:this.config.env}}hasLoginState(){const{refreshTokenKey:e}=this._cache.keys;return this._cache.getStore(e)?new jf(this.config.env):null}async isUsernameRegistered(e){if("string"!=typeof e)throw new Bu({code:"PARAM_ERROR",message:"username must be a string"});const{data:t}=await this._request.send("auth.isUsernameRegistered",{username:e});return t&&t.isRegistered}getLoginState(){return Promise.resolve(this.hasLoginState())}async signInWithTicket(e){return new Nf(this.config).signIn(e)}shouldRefreshAccessToken(e){this._request._shouldRefreshAccessTokenHook=e.bind(this)}getUserInfo(){return this._request.send("auth.getUserInfo",{}).then((e=>e.code?e:{...e.data,requestId:e.seqId}))}getAuthHeader(){const{refreshTokenKey:e,accessTokenKey:t}=this._cache.keys,n=this._cache.getStore(e);return{"x-cloudbase-credentials":this._cache.getStore(t)+"/@@/"+n}}_onAnonymousConverted(e){const{env:t}=e.data;t===this.config.env&&this._cache.updatePersistence(this.config.persistence)}_onLoginTypeChanged(e){const{loginType:t,persistence:n,env:o}=e.data;o===this.config.env&&(this._cache.updatePersistence(n),this._cache.setStore(this._cache.keys.loginTypeKey,t))}}const Uf=function(e,t){t=t||Zu();const n=_f(this.config.env),{cloudPath:o,filePath:r,onUploadProgress:i,fileType:s="image"}=e;return n.send("storage.getUploadMetadata",{path:o}).then((e=>{const{data:{url:a,authorization:c,token:l,fileId:u,cosFileId:f},requestId:p}=e,d={key:o,signature:c,"x-cos-meta-fileid":f,success_action_status:"201","x-cos-security-token":l};n.upload({url:a,data:d,file:r,name:o,fileType:s,onUploadProgress:i}).then((e=>{201===e.statusCode?t(null,{fileID:u,requestId:p}):t(new Bu({code:"STORAGE_REQUEST_FAIL",message:`STORAGE_REQUEST_FAIL: ${e.data}`}))})).catch((e=>{t(e)}))})).catch((e=>{t(e)})),t.promise},Rf=function(e,t){t=t||Zu();const n=_f(this.config.env),{cloudPath:o}=e;return n.send("storage.getUploadMetadata",{path:o}).then((e=>{t(null,e)})).catch((e=>{t(e)})),t.promise},Qf=function({fileList:e},t){if(t=t||Zu(),!e||!Array.isArray(e))return{code:"INVALID_PARAM",message:"fileList必须是非空的数组"};for(let o of e)if(!o||"string"!=typeof o)return{code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"};const n={fileid_list:e};return _f(this.config.env).send("storage.batchDeleteFile",n).then((e=>{e.code?t(null,e):t(null,{fileList:e.data.delete_list,requestId:e.requestId})})).catch((e=>{t(e)})),t.promise},qf=function({fileList:e},t){t=t||Zu(),e&&Array.isArray(e)||t(null,{code:"INVALID_PARAM",message:"fileList必须是非空的数组"});let n=[];for(let r of e)"object"==typeof r?(r.hasOwnProperty("fileID")&&r.hasOwnProperty("maxAge")||t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是包含fileID和maxAge的对象"}),n.push({fileid:r.fileID,max_age:r.maxAge})):"string"==typeof r?n.push({fileid:r}):t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是字符串"});const o={file_list:n};return _f(this.config.env).send("storage.batchGetDownloadUrl",o).then((e=>{e.code?t(null,e):t(null,{fileList:e.data.download_list,requestId:e.requestId})})).catch((e=>{t(e)})),t.promise},zf=async function({fileID:e},t){const n=(await qf.call(this,{fileList:[{fileID:e,maxAge:600}]})).fileList[0];if("SUCCESS"!==n.code)return t?t(n):new Promise((e=>{e(n)}));const o=_f(this.config.env);let r=n.download_url;if(r=encodeURI(r),!t)return o.download({url:r});t(await o.download({url:r}))},Hf=function({name:e,data:t,query:n,parse:o,search:r},i){const s=i||Zu();let a;try{a=t?JSON.stringify(t):""}catch(l){return Promise.reject(l)}if(!e)return Promise.reject(new Bu({code:"PARAM_ERROR",message:"函数名不能为空"}));const c={inQuery:n,parse:o,search:r,function_name:e,request_data:a};return _f(this.config.env).send("functions.invokeFunction",c).then((e=>{if(e.code)s(null,e);else{let n=e.data.response_data;if(o)s(null,{result:n,requestId:e.requestId});else try{n=JSON.parse(e.data.response_data),s(null,{result:n,requestId:e.requestId})}catch(t){s(new Bu({message:"response data must be json"}))}}return s.promise})).catch((e=>{s(e)})),s.promise},Wf={timeout:15e3,persistence:"session"},$f={};class Vf{constructor(e){this.config=e||this.config,this.authObj=void 0}init(e){switch(of.adapter||(this.requestClient=new of.adapter.reqClass({timeout:e.timeout||5e3,timeoutMsg:`请求在${(e.timeout||5e3)/1e3}s内未完成,已中断`})),this.config={...Wf,...e},!0){case this.config.timeout>6e5:console.warn("timeout大于可配置上限[10分钟],已重置为上限数值"),this.config.timeout=6e5;break;case this.config.timeout<100:console.warn("timeout小于可配置下限[100ms],已重置为下限数值"),this.config.timeout=100}return new Vf(this.config)}auth({persistence:e}={}){if(this.authObj)return this.authObj;const t=e||of.adapter.primaryStorage||Wf.persistence;var n;return t!==this.config.persistence&&(this.config.persistence=t),function(e){const{env:t}=e;lf[t]=new cf(e),uf[t]=new cf({...e,persistence:"local"})}(this.config),n=this.config,Cf[n.env]=new If(n),this.authObj=new Ff(this.config),this.authObj}on(e,t){return gf.apply(this,[e,t])}off(e,t){return yf.apply(this,[e,t])}callFunction(e,t){return Hf.apply(this,[e,t])}deleteFile(e,t){return Qf.apply(this,[e,t])}getTempFileURL(e,t){return qf.apply(this,[e,t])}downloadFile(e,t){return zf.apply(this,[e,t])}uploadFile(e,t){return Uf.apply(this,[e,t])}getUploadMetadata(e,t){return Rf.apply(this,[e,t])}registerExtension(e){$f[e.name]=e}async invokeExtension(e,t){const n=$f[e];if(!n)throw new Bu({message:`扩展${e} 必须先注册`});return await n.invoke(t,this)}useAdapters(e){const{adapter:t,runtime:n}=function(e){const t=(n=e,"[object Array]"===Object.prototype.toString.call(n)?e:[e]);var n;for(const o of t){const{isMatch:e,genAdapter:t,runtime:n}=o;if(e())return{adapter:t(),runtime:n}}}(e)||{};t&&(of.adapter=t),n&&(of.runtime=n)}}var Kf=new Vf;function Jf(e,t,n){void 0===n&&(n={});var o=/\?/.test(t),r="";for(var i in n)""===r?!o&&(t+="?"):r+="&",r+=i+"="+encodeURIComponent(n[i]);return/^http(s)?:\/\//.test(t+=r)?t:""+e+t}class Yf{post(e){const{url:t,data:n,headers:o}=e;return new Promise(((e,r)=>{ju.request({url:Jf("https:",t),data:n,method:"POST",header:o,success(t){e(t)},fail(e){r(e)}})}))}upload(e){return new Promise(((t,n)=>{const{url:o,file:r,data:i,headers:s,fileType:a}=e,c=ju.uploadFile({url:Jf("https:",o),name:"file",formData:Object.assign({},i),filePath:r,fileType:a,header:s,success(e){const n={statusCode:e.statusCode,data:e.data||{}};200===e.statusCode&&i.success_action_status&&(n.statusCode=parseInt(i.success_action_status,10)),t(n)},fail(e){n(new Error(e.errMsg||"uploadFile:fail"))}});"function"==typeof e.onUploadProgress&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((t=>{e.onUploadProgress({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))}}const Gf={setItem(e,t){ju.setStorageSync(e,t)},getItem:e=>ju.getStorageSync(e),removeItem(e){ju.removeStorageSync(e)},clear(){ju.clearStorageSync()}};var Xf={genAdapter:function(){return{root:{},reqClass:Yf,localStorage:Gf,primaryStorage:"local"}},isMatch:function(){return!0},runtime:"uni_app"};Kf.useAdapters(Xf);const Zf=Kf,ep=Zf.init;Zf.init=function(e){e.env=e.spaceId;const t=ep.call(this,e);t.config.provider="tencent",t.config.spaceId=e.spaceId;const n=t.auth;return t.auth=function(e){const t=n.call(this,e);return["linkAndRetrieveDataWithTicket","signInAnonymously","signOut","getAccessToken","getLoginState","signInWithTicket","getUserInfo"].forEach((e=>{var n;t[e]=(n=t[e],function(e){e=e||{};const{success:t,fail:o,complete:r}=Ou(e);if(!(t||o||r))return n.call(this,e);n.call(this,e).then((e=>{t&&t(e),r&&r(e)}),(e=>{o&&o(e),r&&r(e)}))}).bind(t)})),t},t.customAuth=t.auth,t};var tp=Zf,np=class extends Vu{getAccessToken(){return new Promise(((e,t)=>{const n="Anonymous_Access_token";this.setAccessToken(n),e(n)}))}setupRequest(e,t){const n=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),o={"Content-Type":"application/json"};"auth"!==t&&(n.token=this.accessToken,o["x-basement-token"]=this.accessToken),o["x-serverless-sign"]=qu(n,this.config.clientSecret);const r=Qu();o["x-client-info"]=encodeURIComponent(JSON.stringify(r));const{token:i}=Nu();return o["x-client-token"]=i,{url:this.config.requestUrl,method:"POST",data:n,dataType:"json",header:JSON.parse(JSON.stringify(o))}}uploadFileToOSS({url:e,formData:t,name:n,filePath:o,fileType:r,onUploadProgress:i}){return new Promise(((s,a)=>{const c=this.adapter.uploadFile({url:e,formData:t,name:n,filePath:o,fileType:r,success(e){e&&e.statusCode<400?s(e):a(new Bu({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(e){a(new Bu({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof i&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((e=>{i({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}uploadFile({filePath:e,cloudPath:t,fileType:n="image",onUploadProgress:o}){if(!t)throw new Bu({code:"CLOUDPATH_REQUIRED",message:"cloudPath不可为空"});let r;return this.getOSSUploadOptionsFromPath({cloudPath:t}).then((t=>{const{url:i,formData:s,name:a}=t.result;r=t.result.fileUrl;const c={url:i,formData:s,name:a,filePath:e,fileType:n};return this.uploadFileToOSS(Object.assign({},c,{onUploadProgress:o}))})).then((()=>this.reportOSSUpload({cloudPath:t}))).then((t=>new Promise(((n,o)=>{t.success?n({success:!0,filePath:e,fileID:r}):o(new Bu({code:"UPLOAD_FAILED",message:"文件上传失败"}))}))))}deleteFile({fileList:e}){const t={method:"serverless.file.resource.delete",params:JSON.stringify({fileList:e})};return this.request(this.setupRequest(t)).then((e=>{if(e.success)return e.result;throw new Bu({code:"DELETE_FILE_FAILED",message:"删除文件失败"})}))}getTempFileURL({fileList:e}={}){if(!Array.isArray(e)||0===e.length)throw new Bu({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});const t={method:"serverless.file.resource.getTempFileURL",params:JSON.stringify({fileList:e})};return this.request(this.setupRequest(t)).then((e=>{if(e.success)return{fileList:e.result.fileList.map((e=>({fileID:e.fileID,tempFileURL:e.tempFileURL})))};throw new Bu({code:"GET_TEMP_FILE_URL_FAILED",message:"获取临时文件链接失败"})}))}},op={init(e){const t=new np(e),n={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}};function rp({data:e}){let t;t=Qu();const n=JSON.parse(JSON.stringify(e||{}));if(Object.assign(n,{clientInfo:t}),!n.uniIdToken){const{token:e}=Nu();e&&(n.uniIdToken=e)}return n}const ip=[{rule:/fc_function_not_found|FUNCTION_NOT_FOUND/,content:",云函数[{functionName}]在云端不存在,请检查此云函数名称是否正确以及该云函数是否已上传到服务空间",mode:"append"}];var sp=/[\\^$.*+?()[\]{}|]/g,ap=RegExp(sp.source);function cp(e,t,n){return e.replace(new RegExp((o=t)&&ap.test(o)?o.replace(sp,"\\$&"):o,"g"),n);var o}const lp=2e4,up={code:20101,message:"Invalid client"};function fp(e){const{errSubject:t,subject:n,errCode:o,errMsg:r,code:i,message:s,cause:a}=e||{};return new Bu({subject:t||n||"uni-secure-network",code:o||i||lp,message:r||s,cause:a})}let pp;function dp({secretType:e}={}){return"request"===e||"response"===e||"both"===e}function hp({functionName:e,result:t,logPvd:n}){}function gp(e){const t=e.callFunction,n=function(n){const o=n.name;n.data=rp.call(e,{data:n.data});const r={aliyun:"aliyun",tencent:"tcb",tcb:"tcb"}[this.config.provider],i=dp(n)||false;return t.call(this,n).then((e=>(e.errCode=0,!i&&hp.call(this,{functionName:o,result:e,logPvd:r}),Promise.resolve(e))),(e=>(!i&&hp.call(this,{functionName:o,result:e,logPvd:r}),e&&e.message&&(e.message=function({message:e="",extraInfo:t={},formatter:n=[]}={}){for(let o=0;on.provider===e&&n.spaceId===t));return o&&o.config}({provider:e,spaceId:t});if(!a||!a.accessControl||!a.accessControl.enable)return!1;const c=a.accessControl.function||{},l=Object.keys(c);if(0===l.length)return!0;const u=function(e,t){let n,o,r;for(let i=0;ie.trim())).indexOf(t)>-1&&(o=s):r=s:n=s}return n||o||r}(l,n);if(!u)return!1;if((c[u]||[]).find(((e={})=>e.appId===o&&(e.platform||"").toLowerCase()===s.toLowerCase())))return!0;throw console.error(`此应用[appId: ${o}, platform: ${s}]不在云端配置的允许访问的应用列表内,参考:https://uniapp.dcloud.net.cn/uniCloud/secure-network.html#verify-client`),fp(up)}({provider:o,spaceId:r,functionName:i})?new pp({secretType:t.secretType,uniCloudIns:e}).wrapVerifyClientCallFunction(n.bind(e))(t):s(t),Object.defineProperty(a,"result",{get:()=>(console.warn("当前返回结果为Promise类型,不可直接访问其result属性,详情请参考:https://uniapp.dcloud.net.cn/uniCloud/faq?id=promise"),{})}),a}}pp=class{constructor(){throw fp({message:`Platform ${iu} is not enabled, please check whether secure network module is enabled in your manifest.json`})}};const mp=Symbol("CLIENT_DB_INTERNAL");function yp(e,t){return e.then="DoNotReturnProxyWithAFunctionNamedThen",e._internalType=mp,e.inspect=null,e.__v_raw=void 0,new Proxy(e,{get(e,n,o){if("_uniClient"===n)return null;if("symbol"==typeof n)return e[n];if(n in e||"string"!=typeof n){const t=e[n];return"function"==typeof t?t.bind(e):t}return t.get(e,n,o)}})}function bp(e){return{on:(t,n)=>{e[t]=e[t]||[],e[t].indexOf(n)>-1||e[t].push(n)},off:(t,n)=>{e[t]=e[t]||[];const o=e[t].indexOf(n);-1!==o&&e[t].splice(o,1)}}}const vp=["db.Geo","db.command","command.aggregate"];function wp(e,t){return vp.indexOf(`${e}.${t}`)>-1}function xp(e){switch(Yl(e=Lu(e))){case"array":return e.map((e=>xp(e)));case"object":return e._internalType===mp||Object.keys(e).forEach((t=>{e[t]=xp(e[t])})),e;case"regexp":return{$regexp:{source:e.source,flags:e.flags}};case"date":return{$date:e.toISOString()};default:return e}}function Sp(e){return e&&e.content&&e.content.$method}class Ap{constructor(e,t,n){this.content=e,this.prevStage=t||null,this.udb=null,this._database=n}toJSON(){let e=this;const t=[e.content];for(;e.prevStage;)e=e.prevStage,t.push(e.content);return{$db:t.reverse().map((e=>({$method:e.$method,$param:xp(e.$param)})))}}toString(){return JSON.stringify(this.toJSON())}getAction(){const e=this.toJSON().$db.find((e=>"action"===e.$method));return e&&e.$param&&e.$param[0]}getCommand(){return{$db:this.toJSON().$db.filter((e=>"action"!==e.$method))}}get isAggregate(){let e=this;for(;e;){const t=Sp(e),n=Sp(e.prevStage);if("aggregate"===t&&"collection"===n||"pipeline"===t)return!0;e=e.prevStage}return!1}get isCommand(){let e=this;for(;e;){if("command"===Sp(e))return!0;e=e.prevStage}return!1}get isAggregateCommand(){let e=this;for(;e;){const t=Sp(e),n=Sp(e.prevStage);if("aggregate"===t&&"command"===n)return!0;e=e.prevStage}return!1}getNextStageFn(e){const t=this;return function(){return Tp({$method:e,$param:xp(Array.from(arguments))},t,t._database)}}get count(){return this.isAggregate?this.getNextStageFn("count"):function(){return this._send("count",Array.from(arguments))}}get remove(){return this.isCommand?this.getNextStageFn("remove"):function(){return this._send("remove",Array.from(arguments))}}get(){return this._send("get",Array.from(arguments))}get add(){return this.isCommand?this.getNextStageFn("add"):function(){return this._send("add",Array.from(arguments))}}update(){return this._send("update",Array.from(arguments))}end(){return this._send("end",Array.from(arguments))}get set(){return this.isCommand?this.getNextStageFn("set"):function(){throw new Error("JQL禁止使用set方法")}}_send(e,t){const n=this.getAction(),o=this.getCommand();return o.$db.push({$method:e,$param:xp(t)}),this._database._callCloudFunction({action:n,command:o})}}function Tp(e,t,n){return yp(new Ap(e,t,n),{get(e,t){let o="db";return e&&e.content&&(o=e.content.$method),wp(o,t)?Tp({$method:t},e,n):function(){return Tp({$method:t,$param:xp(Array.from(arguments))},e,n)}}})}function kp({path:e,method:t}){return class{constructor(){this.param=Array.from(arguments)}toJSON(){return{$newDb:[...e.map((e=>({$method:e}))),{$method:t,$param:this.param}]}}toString(){return JSON.stringify(this.toJSON())}}}function Ep(e,t={}){return yp(new e(t),{get:(e,t)=>wp("db",t)?Tp({$method:t},null,e):function(){return Tp({$method:t,$param:xp(Array.from(arguments))},null,e)}})}class Pp extends class{constructor({uniClient:e={},isJQL:t=!1}={}){this._uniClient=e,this._authCallBacks={},this._dbCallBacks={},e._isDefault&&(this._dbCallBacks=lu("_globalUniCloudDatabaseCallback")),t||(this.auth=bp(this._authCallBacks)),this._isJQL=t,Object.assign(this,bp(this._dbCallBacks)),this.env=yp({},{get:(e,t)=>({$env:t})}),this.Geo=yp({},{get:(e,t)=>kp({path:["Geo"],method:t})}),this.serverDate=kp({path:[],method:"serverDate"}),this.RegExp=kp({path:[],method:"RegExp"})}getCloudEnv(e){if("string"!=typeof e||!e.trim())throw new Error("getCloudEnv参数错误");return{$env:e.replace("$cloudEnv_","")}}_callback(e,t){const n=this._dbCallBacks;n[e]&&n[e].forEach((e=>{e(...t)}))}_callbackAuth(e,t){const n=this._authCallBacks;n[e]&&n[e].forEach((e=>{e(...t)}))}multiSend(){const e=Array.from(arguments),t=e.map((e=>{const t=e.getAction(),n=e.getCommand();if("getTemp"!==n.$db[n.$db.length-1].$method)throw new Error("multiSend只支持子命令内使用getTemp");return{action:t,command:n}}));return this._callCloudFunction({multiCommand:t,queryList:e})}}{_parseResult(e){return this._isJQL?e.result:e}_callCloudFunction({action:e,command:t,multiCommand:n,queryList:o}){function r(e,t){if(n&&o)for(let n=0;nhu(gu(s,"complete"),e))).then((()=>(r(null,e),Pu(bu,{type:xu,content:e}),Promise.reject(e))))}const c=hu(gu(s,"invoke")),l=this._uniClient;return c.then((()=>l.callFunction({name:"DCloud-clientDB",type:"CLIENT_DB",data:{action:e,command:t,multiCommand:n}}))).then((e=>{const{code:t,message:n,token:o,tokenExpired:c,systemInfo:l=[]}=e.result;if(l)for(let r=0;r(console.warn(n),o)})}}return f=e,hu(gu(s,"success"),f).then((()=>hu(gu(s,"complete"),f))).then((()=>{r(f,null);const e=i._parseResult(f);return Pu(bu,{type:xu,content:e}),Promise.resolve(e)}));var f}),(e=>(/fc_function_not_found|FUNCTION_NOT_FOUND/g.test(e.message)&&console.warn("clientDB未初始化,请在web控制台保存一次schema以开启clientDB"),a(new Bu({code:e.code||"SYSTEM_ERROR",message:e.message,requestId:e.requestId})))))}}const Ip="token无效,跳转登录页面",Cp="token过期,跳转登录页面",_p={TOKEN_INVALID_TOKEN_EXPIRED:Cp,TOKEN_INVALID_INVALID_CLIENTID:Ip,TOKEN_INVALID:Ip,TOKEN_INVALID_WRONG_TOKEN:Ip,TOKEN_INVALID_ANONYMOUS_USER:Ip},Op={"uni-id-token-expired":Cp,"uni-id-check-token-failed":Ip,"uni-id-token-not-exist":Ip,"uni-id-check-device-feature-failed":Ip};function Bp(e,t){let n="";return n=e?`${e}/${t}`:t,n.replace(/^\//,"")}function jp(e=[],t=""){const n=[],o=[];return e.forEach((e=>{!0===e.needLogin?n.push(Bp(t,e.path)):!1===e.needLogin&&o.push(Bp(t,e.path))})),{needLoginPage:n,notNeedLoginPage:o}}function Lp(e){return e.split("?")[0].replace(/^\//,"")}function Np(){return function(e){let t=e&&e.$page&&e.$page.fullPath||"";return t?("/"!==t.charAt(0)&&(t="/"+t),t):t}(function(){const e=getCurrentPages();return e[e.length-1]}())}function Dp(){return Lp(Np())}function Mp(e="",t={}){if(!e)return!1;if(!(t&&t.list&&t.list.length))return!1;const n=t.list,o=Lp(e);return n.some((e=>e.pagePath===o))}const Fp=!!Rl.uniIdRouter,{loginPage:Up,routerNeedLogin:Rp,resToLogin:Qp,needLoginPage:qp,notNeedLoginPage:zp,loginPageInTabBar:Hp}=function({pages:e=[],subPackages:t=[],uniIdRouter:n={},tabBar:o={}}=Rl){const{loginPage:r,needLogin:i=[],resToLogin:s=!0}=n,{needLoginPage:a,notNeedLoginPage:c}=jp(e),{needLoginPage:l,notNeedLoginPage:u}=function(e=[]){const t=[],n=[];return e.forEach((e=>{const{root:o,pages:r=[]}=e,{needLoginPage:i,notNeedLoginPage:s}=jp(r,o);t.push(...i),n.push(...s)})),{needLoginPage:t,notNeedLoginPage:n}}(t);return{loginPage:r,routerNeedLogin:i,resToLogin:s,needLoginPage:[...a,...l],notNeedLoginPage:[...c,...u],loginPageInTabBar:Mp(r,o)}}();if(qp.indexOf(Up)>-1)throw new Error(`Login page [${Up}] should not be "needLogin", please check your pages.json`);function Wp(e){const t=Dp();if("/"===e.charAt(0))return e;const[n,o]=e.split("?"),r=n.replace(/^\//,"").split("/"),i=t.split("/");i.pop();for(let s=0;s-1?o+`&uniIdRedirectUrl=${encodeURIComponent(r)}`:o+`?uniIdRedirectUrl=${encodeURIComponent(r)}`:o);var o,r;Hp?"navigateTo"!==e&&"redirectTo"!==e||(e="switchTab"):"switchTab"===e&&(e="navigateTo");const i={navigateTo:kn.navigateTo,redirectTo:kn.redirectTo,switchTab:kn.switchTab,reLaunch:kn.reLaunch};setTimeout((()=>{i[e]({url:n})}))}function Kp({url:e}={}){const t={abortLoginPageJump:!1,autoToLoginPage:!1},n=function(){const{token:e,tokenExpired:t}=Nu();let n;if(e){if(t-1)&&(qp.indexOf(t)>-1||Rp.some((t=>{return n=e,new RegExp(t).test(n);var n})))}(e)&&n){if(n.uniIdRedirectUrl=e,Tu(vu).length>0)return setTimeout((()=>{Pu(vu,n)}),0),t.abortLoginPageJump=!0,t;t.autoToLoginPage=!0}return t}function Jp(){!function(){const e=Np(),{abortLoginPageJump:t,autoToLoginPage:n}=Kp({url:e});t||n&&Vp({api:"redirectTo",redirect:e})}();const e=["navigateTo","redirectTo","reLaunch","switchTab"];for(let t=0;t{const{type:t,content:n}=e;let o=!1;switch(t){case"cloudobject":o=function(e){if("object"!=typeof e)return!1;const{errCode:t}=e||{};return t in Op}(n);break;case"clientdb":o=function(e){if("object"!=typeof e)return!1;const{errCode:t}=e||{};return t in _p}(n)}o&&function(e={}){const t=Tu(vu);_u().then((()=>{const n=Np();if(n&&$p({redirect:n}))return t.length>0?Pu(vu,Object.assign({uniIdRedirectUrl:n},e)):void(Up&&Vp({api:"navigateTo",redirect:n}))}))}(n)}))}function Gp(e){var t;(t=e).onResponse=function(e){ku(bu,e)},t.offResponse=function(e){Eu(bu,e)},function(e){e.onNeedLogin=function(e){ku(vu,e)},e.offNeedLogin=function(e){Eu(vu,e)},Fp&&(lu("_globalUniCloudStatus").needLoginInit||(lu("_globalUniCloudStatus").needLoginInit=!0,_u().then((()=>{Jp.call(e)})),Qp&&Yp.call(e)))}(e),function(e){e.onRefreshToken=function(e){ku(wu,e)},e.offRefreshToken=function(e){Eu(wu,e)}}(e)}let Xp;const Zp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",ed=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function td(){const e=Nu().token||"",t=e.split(".");if(!e||3!==t.length)return{uid:null,role:[],permission:[],tokenExpired:0};let n;try{n=JSON.parse((o=t[1],decodeURIComponent(Xp(o).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(r){throw new Error("获取当前用户信息出错,详细错误信息为:"+r.message)}var o;return n.tokenExpired=1e3*n.exp,delete n.exp,delete n.iat,n}Xp="function"!=typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!ed.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var n,o,r="",i=0;i>16&255):64===o?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return r}:atob;var nd=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(Ql((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n="chooseAndUploadFile:ok",o="chooseAndUploadFile:fail";function r(e,t){return e.tempFiles.forEach(((e,n)=>{e.name||(e.name=e.path.substring(e.path.lastIndexOf("/")+1)),t&&(e.fileType=t),e.cloudPath=Date.now()+"_"+n+e.name.substring(e.name.lastIndexOf("."))})),e.tempFilePaths||(e.tempFilePaths=e.tempFiles.map((e=>e.path))),e}function i(e,t,{onChooseFile:o,onUploadProgress:r}){return t.then((e=>{if(o){const t=o(e);if(void 0!==t)return Promise.resolve(t).then((t=>void 0===t?e:t))}return e})).then((t=>!1===t?{errMsg:n,tempFilePaths:[],tempFiles:[]}:function(e,t,o=5,r){(t=Object.assign({},t)).errMsg=n;const i=t.tempFiles,s=i.length;let a=0;return new Promise((n=>{for(;a=s)return void(!i.find((e=>!e.url&&!e.errMsg))&&n(t));const l=i[o];e.uploadFile({filePath:l.path,cloudPath:l.cloudPath,fileType:l.fileType,onUploadProgress(e){e.index=o,e.tempFile=l,e.tempFilePath=l.path,r&&r(e)}}).then((e=>{l.url=e.fileID,o{l.errMsg=e.errMsg||e.message,o{kn.chooseImage({count:t,sizeType:n,sourceType:i,extension:s,success(t){e(r(t,"image"))},fail(e){a({errMsg:e.errMsg.replace("chooseImage:fail",o)})}})}))}(t),t):"video"===t.type?i(e,function(e){const{camera:t,compressed:n,maxDuration:i,sourceType:s=["album","camera"],extension:a}=e;return new Promise(((e,c)=>{kn.chooseVideo({camera:t,compressed:n,maxDuration:i,sourceType:s,extension:a,success(t){const{tempFilePath:n,duration:o,size:i,height:s,width:a}=t;e(r({errMsg:"chooseVideo:ok",tempFilePaths:[n],tempFiles:[{name:t.tempFile&&t.tempFile.name||"",path:n,size:i,type:t.tempFile&&t.tempFile.type||"",width:a,height:s,duration:o,fileType:"video",cloudPath:""}]},"video"))},fail(e){c({errMsg:e.errMsg.replace("chooseVideo:fail",o)})}})}))}(t),t):i(e,function(e){const{count:t,extension:n}=e;return new Promise(((e,i)=>{let s=kn.chooseFile;if(void 0!==Tn&&"function"==typeof Tn.chooseMessageFile&&(s=Tn.chooseMessageFile),"function"!=typeof s)return i({errMsg:o+" 请指定 type 类型,该平台仅支持选择 image 或 video。"});s({type:"all",count:t,extension:n,success(t){e(r(t))},fail(e){i({errMsg:e.errMsg.replace("chooseFile:fail",o)})}})}))}(t),t)}}})));function od(e){return{props:{localdata:{type:Array,default:()=>[]},options:{type:[Object,Array],default:()=>({})},spaceInfo:{type:Object,default:()=>({})},collection:{type:[String,Array],default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},gettreepath:{type:[Boolean,String],default:!1},startwith:{type:String,default:""},limitlevel:{type:Number,default:10},groupby:{type:String,default:""},groupField:{type:String,default:""},distinct:{type:[Boolean,String],default:!1},foreignKey:{type:String,default:""},loadtime:{type:String,default:"auto"},manual:{type:Boolean,default:!1}},data:()=>({mixinDatacomLoading:!1,mixinDatacomHasMore:!1,mixinDatacomResData:[],mixinDatacomErrorMessage:"",mixinDatacomPage:{}}),created(){this.mixinDatacomPage={current:this.pageCurrent,size:this.pageSize,count:0},this.$watch((()=>{var e=[];return["pageCurrent","pageSize","localdata","collection","action","field","orderby","where","getont","getcount","gettree","groupby","groupField","distinct"].forEach((t=>{e.push(this[t])})),e}),((e,t)=>{if("manual"===this.loadtime)return;let n=!1;const o=[];for(let r=2;r{this.mixinDatacomLoading=!1;const{data:o,count:r}=n.result;this.getcount&&(this.mixinDatacomPage.count=r),this.mixinDatacomHasMore=o.length{this.mixinDatacomLoading=!1,this.mixinDatacomErrorMessage=e,n&&n(e)})))},mixinDatacomGet(t={}){let n=e.database(this.spaceInfo);const o=t.action||this.action;o&&(n=n.action(o));const r=t.collection||this.collection;n=Array.isArray(r)?n.collection(...r):n.collection(r);const i=t.where||this.where;i&&Object.keys(i).length&&(n=n.where(i));const s=t.field||this.field;s&&(n=n.field(s));const a=t.foreignKey||this.foreignKey;a&&(n=n.foreignKey(a));const c=t.groupby||this.groupby;c&&(n=n.groupBy(c));const l=t.groupField||this.groupField;l&&(n=n.groupField(l)),!0===(void 0!==t.distinct?t.distinct:this.distinct)&&(n=n.distinct());const u=t.orderby||this.orderby;u&&(n=n.orderBy(u));const f=void 0!==t.pageCurrent?t.pageCurrent:this.mixinDatacomPage.current,p=void 0!==t.pageSize?t.pageSize:this.mixinDatacomPage.size,d=void 0!==t.getcount?t.getcount:this.getcount,h=void 0!==t.gettree?t.gettree:this.gettree,g=void 0!==t.gettreepath?t.gettreepath:this.gettreepath,m={getCount:d},y={limitLevel:void 0!==t.limitlevel?t.limitlevel:this.limitlevel,startWith:void 0!==t.startwith?t.startwith:this.startwith};return h&&(m.getTree=y),g&&(m.getTreePath=y),n=n.skip(p*(f-1)).limit(p).get(m),n}}}}function rd(e){return lu("_globalUniCloudSecureNetworkCache__{spaceId}".replace("{spaceId}",e.config.spaceId))}async function id({openid:e,callLoginByWeixin:t=!1}={}){const n=rd(this);if(e&&t)throw new Error("[SecureNetwork] openid and callLoginByWeixin cannot be passed at the same time");if(e)return n.mpWeixinOpenid=e,{};const o=await new Promise(((e,t)=>{kn.login({success(t){e(t.code)},fail(e){t(new Error(e.errMsg))}})})),r=this.importObject("uni-id-co",{customUI:!0});return await r.secureNetworkHandshakeByWeixin({code:o,callLoginByWeixin:t}),n.mpWeixinCode=o,{code:o}}async function sd(e){const t=rd(this);return t.initPromise||(t.initPromise=id.call(this,e)),t.initPromise}function ad(e){const t={getSystemInfo:kn.getSystemInfo,getPushClientId:kn.getPushClientId};return function(n){return new Promise(((o,r)=>{t[e]({...n,success(e){o(e)},fail(e){r(e)}})}))}}class cd extends class{constructor(){this._callback={}}addListener(e,t){this._callback[e]||(this._callback[e]=[]),this._callback[e].push(t)}on(e,t){return this.addListener(e,t)}removeListener(e,t){if(!t)throw new Error('The "listener" argument must be of type function. Received undefined');const n=this._callback[e];if(!n)return;const o=function(e,t){for(let n=e.length-1;n>=0;n--)if(e[n]===t)return n;return-1}(n,t);n.splice(o,1)}off(e,t){return this.removeListener(e,t)}removeAllListener(e){delete this._callback[e]}emit(e,...t){const n=this._callback[e];if(n)for(let o=0;o{if(!e)throw new Error("Invalid appId, please check the manifest.json file");if(!t)throw new Error("Invalid push client id");this._appId=e,this._pushClientId=t,this._seqId=Date.now()+"-"+Math.floor(9e5*Math.random()+1e5),this.emit("open"),this._initMessageListener()}),(e=>{throw this.emit("error",e),this.close(),e}))}async open(){return this.init()}_isUniCloudSSE(e){if("receive"!==e.type)return!1;const t=e&&e.data&&e.data.payload;return!(!t||"UNI_CLOUD_SSE"!==t.channel||t.seqId!==this._seqId)}_receivePushMessage(e){if(!this._isUniCloudSSE(e))return;const t=e&&e.data&&e.data.payload,{action:n,messageId:o,message:r}=t;this._payloadQueue.push({action:n,messageId:o,message:r}),this._consumMessage()}_consumMessage(){for(;;){const e=this._payloadQueue.find((e=>e.messageId===this._currentMessageId+1));if(!e)break;this._currentMessageId++,this._parseMessagePayload(e)}}_parseMessagePayload(e){const{action:t,messageId:n,message:o}=e;"end"===t?this._end({messageId:n,message:o}):"message"===t&&this._appendMessage({messageId:n,message:o})}_appendMessage({messageId:e,message:t}={}){this.emit("message",t)}_end({messageId:e,message:t}={}){this.emit("end",t),this.close()}_initMessageListener(){kn.onPushMessage(this._uniPushMessageCallback)}_destroy(){kn.offPushMessage(this._uniPushMessageCallback)}toJSON(){return{appId:this._appId,pushClientId:this._pushClientId,seqId:this._seqId}}close(){this._destroy(),this.emit("close")}}const ld={tcb:tp,tencent:tp,aliyun:Ku,private:op};let ud=new class{init(e){let t={};const n=ld[e.provider];if(!n)throw new Error("未提供正确的provider参数");var o;return t=n.init(e),function(e){e._initPromiseHub||(e._initPromiseHub=new nu({createPromise:function(){let t=Promise.resolve();t=new Promise((e=>{setTimeout((()=>{e()}),1)}));const n=e.auth();return t.then((()=>n.getLoginState())).then((e=>e?Promise.resolve():n.signInAnonymously()))}}))}(t),gp(t),function(e){const t=e.uploadFile;e.uploadFile=function(e){return t.call(this,e)}}(t),(o=t).database=function(e){if(e&&Object.keys(e).length>0)return o.init(e).database();if(this._database)return this._database;const t=Ep(Pp,{uniClient:o});return this._database=t,t},o.databaseForJQL=function(e){if(e&&Object.keys(e).length>0)return o.init(e).databaseForJQL();if(this._databaseForJQL)return this._databaseForJQL;const t=Ep(Pp,{uniClient:o,isJQL:!0});return this._databaseForJQL=t,t},function(e){e.getCurrentUserInfo=td,e.chooseAndUploadFile=nd.initChooseAndUploadFile(e),Object.assign(e,{get mixinDatacom(){return od(e)}}),e.SSEChannel=cd,e.initSecureNetworkByWeixin=function(e){return function({openid:t,callLoginByWeixin:n=!1}={}){return sd.call(e,{openid:t,callLoginByWeixin:n})}}(e),e.importObject=function(t){return function(n,o={}){o=function(e,t={}){return e.customUI=t.customUI||e.customUI,e.parseSystemError=t.parseSystemError||e.parseSystemError,Object.assign(e.loadingOptions,t.loadingOptions),Object.assign(e.errorOptions,t.errorOptions),"object"==typeof t.secretMethods&&(e.secretMethods=t.secretMethods),e}({customUI:!1,loadingOptions:{title:"加载中...",mask:!0},errorOptions:{type:"modal",retry:!1}},o);const{customUI:r,loadingOptions:i,errorOptions:s,parseSystemError:a}=o,c=!r;return new Proxy({},{get:(r,l)=>function({fn:e,interceptorName:t,getCallbackArgs:n}={}){return async function(...o){const r=n?n({params:o}):{};let i,s;try{return await hu(gu(t,"invoke"),{...r}),i=await e(...o),await hu(gu(t,"success"),{...r,result:i}),i}catch(a){throw s=a,await hu(gu(t,"fail"),{...r,error:s}),s}finally{await hu(gu(t,"complete"),s?{...r,error:s}:{...r,result:i})}}}({fn:async function r(...u){let f;c&&kn.showLoading({title:i.title,mask:i.mask});const p={name:n,type:"OBJECT",data:{method:l,params:u}};"object"==typeof o.secretMethods&&function(e,t){const n=t.data.method,o=e.secretMethods||{},r=o[n]||o["*"];r&&(t.secretType=r)}(o,p);let d=!1;try{f=await t.callFunction(p)}catch(e){d=!0,f={result:new Bu(e)}}const{errSubject:h,errCode:g,errMsg:m,newToken:y}=f.result||{};if(c&&kn.hideLoading(),y&&y.token&&y.tokenExpired&&(Du(y),Pu(wu,{...y})),g){let e=m;if(d&&a&&(e=(await a({objectName:n,methodName:l,params:u,errSubject:h,errCode:g,errMsg:m})).errMsg||m),c)if("toast"===s.type)kn.showToast({title:e,icon:"none"});else{if("modal"!==s.type)throw new Error(`Invalid errorOptions.type: ${s.type}`);{const{confirm:t}=await async function({title:e,content:t,showCancel:n,cancelText:o,confirmText:r}={}){return new Promise(((i,s)=>{kn.showModal({title:e,content:t,showCancel:n,cancelText:o,confirmText:r,success(e){i(e)},fail(){i({confirm:!1,cancel:!0})}})}))}({title:"提示",content:e,showCancel:s.retry,cancelText:"取消",confirmText:s.retry?"重试":"确定"});if(s.retry&&t)return r(...u)}}const t=new Bu({subject:h,code:g,message:m,requestId:f.requestId});throw t.detail=f.result,Pu(bu,{type:Au,content:t}),t}return Pu(bu,{type:Au,content:f.result}),f.result},interceptorName:"callObject",getCallbackArgs:function({params:e}={}){return{objectName:n,methodName:l,params:e}}})})}}(e)}(t),["callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","chooseAndUploadFile"].forEach((e=>{if(!t[e])return;const n=t[e];var o,r;t[e]=function(){return n.apply(t,Array.from(arguments))},t[e]=(o=t[e],r=e,function(e){let t=!1;if("callFunction"===r){const n=e&&e.type||Vl;t=n!==Vl}const n="callFunction"===r&&!t,i=this._initPromiseHub.exec();e=e||{};const{success:s,fail:a,complete:c}=Ou(e),l=i.then((()=>t?Promise.resolve():hu(gu(r,"invoke"),e))).then((()=>o.call(this,e))).then((e=>t?Promise.resolve(e):hu(gu(r,"success"),e).then((()=>hu(gu(r,"complete"),e))).then((()=>(n&&Pu(bu,{type:Su,content:e}),Promise.resolve(e))))),(e=>t?Promise.reject(e):hu(gu(r,"fail"),e).then((()=>hu(gu(r,"complete"),e))).then((()=>(Pu(bu,{type:Su,content:e}),Promise.reject(e))))));if(!(s||a||c))return l;l.then((e=>{s&&s(e),c&&c(e),n&&Pu(bu,{type:Su,content:e})}),(e=>{a&&a(e),c&&c(e),n&&Pu(bu,{type:Su,content:e})}))}).bind(t)})),t.init=this.init,t}};(()=>{const e=su;let t={};if(e&&1===e.length)t=e[0],ud=ud.init(t),ud._isDefault=!0;else{const t=["auth","callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","database","getCurrentUSerInfo","importObject"];let n;n=e&&e.length>0?"应用有多个服务空间,请通过uniCloud.init方法指定要使用的服务空间":"uni-app cli项目内使用uniCloud需要使用HBuilderX的运行菜单运行项目,且需要在uniCloud目录关联服务空间",t.forEach((e=>{ud[e]=function(){return console.error(n),Promise.reject(new Bu({code:"SYS_ERR",message:n}))}}))}Object.assign(ud,{get mixinDatacom(){return od(ud)}}),Gp(ud),ud.addInterceptor=pu,ud.removeInterceptor=du,ud.interceptObject=mu})();var fd=ud;const pd={props:{type:{type:String,default:()=>Xc.text.type},show:{type:Boolean,default:()=>Xc.text.show},text:{type:[String,Number],default:()=>Xc.text.text},prefixIcon:{type:String,default:()=>Xc.text.prefixIcon},suffixIcon:{type:String,default:()=>Xc.text.suffixIcon},mode:{type:String,default:()=>Xc.text.mode},href:{type:String,default:()=>Xc.text.href},format:{type:[String,Function],default:()=>Xc.text.format},call:{type:Boolean,default:()=>Xc.text.call},openType:{type:String,default:()=>Xc.text.openType},bold:{type:Boolean,default:()=>Xc.text.bold},block:{type:Boolean,default:()=>Xc.text.block},lines:{type:[String,Number],default:()=>Xc.text.lines},color:{type:String,default:()=>Xc.text.color},size:{type:[String,Number],default:()=>Xc.text.size},iconStyle:{type:[Object,String],default:()=>Xc.text.iconStyle},decoration:{tepe:String,default:()=>Xc.text.decoration},margin:{type:[Object,String,Number],default:()=>Xc.text.margin},lineHeight:{type:[String,Number],default:()=>Xc.text.lineHeight},align:{type:String,default:()=>Xc.text.align},wordWrap:{type:String,default:()=>Xc.text.wordWrap},flex1:{type:Boolean,default:()=>Xc.text.flex1}}},dd={computed:{value(){const{text:e,mode:t,format:n,href:o}=this;return"price"===t?Va.func(n)?n(e):mc(e,2):"date"===t?(Va.date(e),Va.func(n)?n(e):pc(e,n||"yyyy-mm-dd")):"phone"===t?Va.func(n)?n(e):"encrypt"===n?`${e.substr(0,3)}****${e.substr(7)}`:e:"name"===t?Va.func(n)?n(e):"encrypt"===n?this.formatName(e):e:"link"===t?(Va.url(o),e):e}},methods:{formatName(e){let t="";if(2===e.length)t=e.substr(0,1)+"*";else if(e.length>2){let n="";for(let t=0,o=e.length-2;tXc.popup.show},overlay:{type:Boolean,default:()=>Xc.popup.overlay},mode:{type:String,default:()=>Xc.popup.mode},duration:{type:[String,Number],default:()=>Xc.popup.duration},closeable:{type:Boolean,default:()=>Xc.popup.closeable},overlayStyle:{type:[Object,String],default:()=>Xc.popup.overlayStyle},closeOnClickOverlay:{type:Boolean,default:()=>Xc.popup.closeOnClickOverlay},zIndex:{type:[String,Number],default:()=>Xc.popup.zIndex},safeAreaInsetBottom:{type:Boolean,default:()=>Xc.popup.safeAreaInsetBottom},safeAreaInsetTop:{type:Boolean,default:()=>Xc.popup.safeAreaInsetTop},closeIconPos:{type:String,default:()=>Xc.popup.closeIconPos},round:{type:[Boolean,String,Number],default:()=>Xc.popup.round},zoom:{type:Boolean,default:()=>Xc.popup.zoom},bgColor:{type:String,default:()=>Xc.popup.bgColor},overlayOpacity:{type:[Number,String],default:()=>Xc.popup.overlayOpacity}}},yd={props:{isDot:{type:Boolean,default:()=>Xc.badge.isDot},value:{type:[Number,String],default:()=>Xc.badge.value},modelValue:{type:[Number,String],default:()=>Xc.badge.modelValue},show:{type:Boolean,default:()=>Xc.badge.show},max:{type:[Number,String],default:()=>Xc.badge.max},type:{type:String,default:()=>Xc.badge.type},showZero:{type:Boolean,default:()=>Xc.badge.showZero},bgColor:{type:[String,null],default:()=>Xc.badge.bgColor},color:{type:[String,null],default:()=>Xc.badge.color},shape:{type:String,default:()=>Xc.badge.shape},numberType:{type:String,default:()=>Xc.badge.numberType},offset:{type:Array,default:()=>Xc.badge.offset},inverted:{type:Boolean,default:()=>Xc.badge.inverted},absolute:{type:Boolean,default:()=>Xc.badge.absolute}}},bd={props:{hairline:{type:Boolean,default:()=>Xc.button.hairline},type:{type:String,default:()=>Xc.button.type},size:{type:String,default:()=>Xc.button.size},shape:{type:String,default:()=>Xc.button.shape},plain:{type:Boolean,default:()=>Xc.button.plain},disabled:{type:Boolean,default:()=>Xc.button.disabled},loading:{type:Boolean,default:()=>Xc.button.loading},loadingText:{type:[String,Number],default:()=>Xc.button.loadingText},loadingMode:{type:String,default:()=>Xc.button.loadingMode},loadingSize:{type:[String,Number],default:()=>Xc.button.loadingSize},openType:{type:String,default:()=>Xc.button.openType},formType:{type:String,default:()=>Xc.button.formType},appParameter:{type:String,default:()=>Xc.button.appParameter},hoverStopPropagation:{type:Boolean,default:()=>Xc.button.hoverStopPropagation},lang:{type:String,default:()=>Xc.button.lang},sessionFrom:{type:String,default:()=>Xc.button.sessionFrom},sendMessageTitle:{type:String,default:()=>Xc.button.sendMessageTitle},sendMessagePath:{type:String,default:()=>Xc.button.sendMessagePath},sendMessageImg:{type:String,default:()=>Xc.button.sendMessageImg},showMessageCard:{type:Boolean,default:()=>Xc.button.showMessageCard},dataName:{type:String,default:()=>Xc.button.dataName},throttleTime:{type:[String,Number],default:()=>Xc.button.throttleTime},hoverStartTime:{type:[String,Number],default:()=>Xc.button.hoverStartTime},hoverStayTime:{type:[String,Number],default:()=>Xc.button.hoverStayTime},text:{type:[String,Number],default:()=>Xc.button.text},icon:{type:String,default:()=>Xc.button.icon},iconColor:{type:String,default:()=>Xc.button.icon},color:{type:String,default:()=>Xc.button.color},stop:{type:Boolean,default:()=>Xc.button.stop}}},vd={props:{color:{type:String,default:()=>Xc.link.color},fontSize:{type:[String,Number],default:()=>Xc.link.fontSize},underLine:{type:Boolean,default:()=>Xc.link.underLine},href:{type:String,default:()=>Xc.link.href},mpTips:{type:String,default:()=>Xc.link.mpTips},lineColor:{type:String,default:()=>Xc.link.lineColor},text:{type:String,default:()=>Xc.link.text}}},wd={props:{show:{type:Boolean,default:()=>Xc.overlay.show},zIndex:{type:[String,Number],default:()=>Xc.overlay.zIndex},duration:{type:[String,Number],default:()=>Xc.overlay.duration},opacity:{type:[String,Number],default:()=>Xc.overlay.opacity}}},xd={props:{bgColor:{type:String,default:()=>Xc.statusBar.bgColor}}},Sd={props:{}},Ad={props:{show:{type:Boolean,default:()=>Xc.transition.show},mode:{type:String,default:()=>Xc.transition.mode},duration:{type:[String,Number],default:()=>Xc.transition.duration},timingFunction:{type:String,default:()=>Xc.transition.timingFunction}}},Td=e=>({enter:`u-${e}-enter u-${e}-enter-active`,"enter-to":`u-${e}-enter-to u-${e}-enter-active`,leave:`u-${e}-leave u-${e}-leave-active`,"leave-to":`u-${e}-leave-to u-${e}-leave-active`}),kd={methods:{clickHandler(){this.$emit("click")},async vueEnter(){const e=Td(this.mode);this.status="enter",this.$emit("beforeEnter"),this.inited=!0,this.display=!0,this.classes=e.enter,await mr(),await oc(20),this.$emit("enter"),this.transitionEnded=!1,this.$emit("afterEnter"),this.classes=e["enter-to"]},async vueLeave(){if(!this.display)return;const e=Td(this.mode);this.status="leave",this.$emit("beforeLeave"),this.classes=e.leave,await mr(),this.transitionEnded=!1,this.$emit("leave"),setTimeout(this.onTransitionEnd,this.duration),this.classes=e["leave-to"]},onTransitionEnd(){this.transitionEnded||(this.transitionEnded=!0,this.$emit("leave"===this.status?"afterLeave":"afterEnter"),!this.show&&this.display&&(this.display=!1,this.inited=!1))}}};exports.Ds=fd,exports.Pinia=Qa,exports.Request=class{constructor(e={}){var t;t=e,"[object Object]"!==Object.prototype.toString.call(t)&&(e={},console.warn("设置全局参数必须接收一个Object")),this.config=kl({...Tl,...e}),this.interceptors={request:new Sl,response:new Sl}}setConfig(e){this.config=e(this.config)}middleware(e){e=((e,t={})=>{const n=t.method||e.method||"GET";let o={baseURL:t.baseURL||e.baseURL||"",method:n,url:t.url||"",params:t.params||{},custom:{...e.custom||{},...t.custom||{}},header:ml(e.header||{},t.header||{})};if(o={...o,...Al(["getTask","validateStatus","paramsSerializer","forcedJSONParsing"],e,t)},"DOWNLOAD"===n){const n=["timeout","filePath"];o={...o,...Al(n,e,t)}}else if("UPLOAD"===n)delete o.header["content-type"],delete o.header["Content-Type"],["filePath","name","timeout","formData"].forEach((e=>{yl(t[e])||(o[e]=t[e])})),yl(o.timeout)&&!yl(e.timeout)&&(o.timeout=e.timeout);else{const n=["data","timeout","dataType","responseType","enableHttp2","enableQuic","enableCache","enableHttpDNS","httpDNSServiceId","enableChunked","forceCellularNetwork"];o={...o,...Al(n,e,t)}}return o})(this.config,e);let t=[xl,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n}request(e={}){return this.middleware(e)}get(e,t={}){return this.middleware({url:e,method:"GET",...t})}post(e,t,n={}){return this.middleware({url:e,data:t,method:"POST",...n})}put(e,t,n={}){return this.middleware({url:e,data:t,method:"PUT",...n})}delete(e,t,n={}){return this.middleware({url:e,data:t,method:"DELETE",...n})}connect(e,t,n={}){return this.middleware({url:e,data:t,method:"CONNECT",...n})}head(e,t,n={}){return this.middleware({url:e,data:t,method:"HEAD",...n})}options(e,t,n={}){return this.middleware({url:e,data:t,method:"OPTIONS",...n})}trace(e,t,n={}){return this.middleware({url:e,data:t,method:"TRACE",...n})}upload(e,t={}){return t.url=e,t.method="UPLOAD",this.middleware(t)}download(e,t={}){return t.url=e,t.method="DOWNLOAD",this.middleware(t)}get version(){return"3.1.0"}},exports._export_sfc=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},exports.addStyle=ac,exports.addUnit=cc,exports.buttonMixin=hd,exports.color=Gc,exports.colorGradient=Dc,exports.config=tc,exports.createPinia=Ia,exports.createSSRApp=Bs,exports.dayjs=Pl,exports.deepMerge=uc,exports.defProps=Xc,exports.defineComponent=function(e){return S(e)?{setup:e,name:e.name}:e},exports.defineStore=Ma,exports.e=(e,...t)=>g(e,...t),exports.error=fc,exports.f=(e,t)=>function(e,t){let n;if(v(e)||A(e)){n=new Array(e.length);for(let o=0,r=e.length;ot(e,n,n)));else{const o=Object.keys(e);n=new Array(o.length);for(let r=0,i=o.length;rs(e),exports.o=(e,t)=>Is(e,t),exports.onHide=sl,exports.onLaunch=al,exports.onLoad=cl,exports.onMounted=zr,exports.onReachBottom=ul,exports.onShareAppMessage=pl,exports.onShareTimeline=fl,exports.onShow=il,exports.onUnload=ll,exports.openType=gd,exports.p=e=>function(e){const{uid:t,__counter:n}=Oi();return t+","+((Ts[t]||(Ts[t]=[])).push(Ei(e))-1)+","+n}(e),exports.props=Ol,exports.props$1=Bl,exports.props$10=md,exports.props$11=yd,exports.props$12=bd,exports.props$13=vd,exports.props$14=wd,exports.props$15=xd,exports.props$16=Sd,exports.props$17=Ad,exports.props$2=jl,exports.props$3=Ll,exports.props$4=Nl,exports.props$5=Dl,exports.props$6=Ml,exports.props$7=Fl,exports.props$8=Ul,exports.props$9=pd,exports.r=(e,t,n)=>_s(e,t,n),exports.random=ic,exports.ref=Jo,exports.relativeTime=_l,exports.resolveComponent=function(e,t){return function(e,t,n=!0,o=!1){const r=Pr||_i;if(r){const n=r.type;if(e===Xr){const e=function(e,t=!0){return S(e)?e.displayName||e.name:e.name||t&&e.__name}(n,!1);if(e&&(e===t||e===L(t)||e===M(L(t))))return n}const i=Zr(r[e]||n[e],t)||Zr(r.appContext[e],t);return!i&&o?n:i}}(Xr,e,!0,t)||e},exports.s=e=>Os(e),exports.sleep=oc,exports.t=e=>(e=>A(e)?e:null==e?"":v(e)||k(e)&&(e.toString===P||!S(e.toString))?JSON.stringify(e,a,2):String(e))(e),exports.test=Va,exports.throttle=qc,exports.toast=gc,exports.transitionMixin=kd,exports.unref=Go,exports.uviewPlus=ol,exports.value=dd,exports.watch=Or,exports.wx$1=Tn; +let xa;const ka=e=>xa=e,Aa=Symbol();function Ca(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var Ta,Ia;(Ia=Ta||(Ta={})).direct="direct",Ia.patchObject="patch object",Ia.patchFunction="patch function";const Ea="undefined"!=typeof window;function Pa(){const e=Eo(!0),t=e.run(()=>Yn({}));let o=[],n=[];const r=Hn({install(e){ka(r),r._a=e,e.provide(Aa,r),e.config.globalProperties.$pinia=r,n.forEach(e=>o.push(e)),n=[]},use(e){return this._a?o.push(e):n.push(e),this},_p:o,_a:null,_e:e,_s:new Map,state:t});return r}const Ba=()=>{};function Oa(e,t,o,n=Ba){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),n())};return!o&&Po()&&function(e){To&&To.cleanups.push(e)}(r),r}function _a(e,...t){e.slice().forEach(e=>{e(...t)})}function La(e,t){e instanceof Map&&t instanceof Map&&t.forEach((t,o)=>e.set(o,t)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const o in t){if(!t.hasOwnProperty(o))continue;const n=t[o],r=e[o];Ca(r)&&Ca(n)&&e.hasOwnProperty(o)&&!Kn(n)&&!Rn(n)?e[o]=La(r,n):e[o]=n}return e}const Na=Symbol();function ja(e){return!Ca(e)||!e.hasOwnProperty(Na)}const{assign:Da}=Object;function Ma(e){return!(!Kn(e)||!e.effect)}function Fa(e,t,o,n){const{state:r,actions:i,getters:s}=t,a=o.state.value[e];let c;return c=Ra(e,function(){a||(o.state.value[e]=r?r():{});const t=function(e){const t=b(e)?new Array(e.length):{};for(const o in e)t[o]=tr(e,o);return t}(o.state.value[e]);return Da(t,i,Object.keys(s||{}).reduce((t,n)=>(t[n]=Hn(zi(()=>{ka(o);const t=o._s.get(e);return s[n].call(t,t)})),t),{}))},t,o,n,!0),c}function Ra(e,t,o={},n,r,i){let s;const a=Da({actions:{}},o),c={deep:!0};let u,l,p,d=Hn([]),f=Hn([]);const h=n.state.value[e];let g;function m(t){let o;u=l=!1,"function"==typeof t?(t(n.state.value[e]),o={type:Ta.patchFunction,storeId:e,events:p}):(La(n.state.value[e],t),o={type:Ta.patchObject,payload:t,storeId:e,events:p});const r=g=Symbol();mr().then(()=>{g===r&&(u=!0)}),l=!0,_a(d,o,n.state.value[e])}i||h||(n.state.value[e]={}),Yn({});const y=i?function(){const{state:e}=o,t=e?e():{};this.$patch(e=>{Da(e,t)})}:Ba;function v(t,o){return function(){ka(n);const r=Array.from(arguments),i=[],s=[];let a;_a(f,{args:r,name:t,store:b,after:function(e){i.push(e)},onError:function(e){s.push(e)}});try{a=o.apply(this&&this.$id===e?this:b,r)}catch(c){throw _a(s,c),c}return a instanceof Promise?a.then(e=>(_a(i,e),e)).catch(e=>(_a(s,e),Promise.reject(e))):(_a(i,a),a)}}const b=Dn({_p:n,$id:e,$onAction:Oa.bind(null,f),$patch:m,$reset:y,$subscribe(t,o={}){const r=Oa(d,t,o.detached,()=>i()),i=s.run(()=>Or(()=>n.state.value[e],n=>{("sync"===o.flush?l:u)&&t({storeId:e,type:Ta.direct,events:p},n)},Da({},c,o)));return r},$dispose:function(){s.stop(),d=[],f=[],n._s.delete(e)}});n._s.set(e,b);const w=n._e.run(()=>(s=Eo(),s.run(()=>t())));for(const S in w){const t=w[S];if(Kn(t)&&!Ma(t)||Rn(t))i||(h&&ja(t)&&(Kn(t)?t.value=h[S]:La(t,h[S])),n.state.value[e][S]=t);else if("function"==typeof t){const e=v(S,t);w[S]=e,a.actions[S]=t}}return Da(b,w),Da(Qn(b),w),Object.defineProperty(b,"$state",{get:()=>n.state.value[e],set:e=>{m(t=>{Da(t,e)})}}),n._p.forEach(e=>{Da(b,s.run(()=>e({store:b,app:n._a,pinia:n,options:a})))}),h&&i&&o.hydrate&&o.hydrate(b.$state,h),u=!0,l=!0,b}function za(e,t,o){let n,r;const i="function"==typeof t;function s(e,o){const s=_i();(e=e||s&&Pr(Aa,null))&&ka(e),(e=xa)._s.has(n)||(i?Ra(n,t,r,e):Fa(n,r,e));return e._s.get(n)}return"string"==typeof e?(n=e,r=i?o:t):(r=e,n=e.id),s.$id=n,s}let Ua="Store";function Qa(e,t){return Array.isArray(t)?t.reduce((t,o)=>(t[o]=function(){return e(this.$pinia)[o]},t),{}):Object.keys(t).reduce((o,n)=>(o[n]=function(){const o=e(this.$pinia),r=t[n];return"function"==typeof r?r.call(this,o):o[r]},o),{})}const Ha=Qa;const qa=Object.freeze(Object.defineProperty({__proto__:null,get MutationType(){return Ta},PiniaVuePlugin:function(e){e.mixin({beforeCreate(){const e=this.$options;if(e.pinia){const t=e.pinia;if(!this._provided){const e={};Object.defineProperty(this,"_provided",{get:()=>e,set:t=>Object.assign(e,t)})}this._provided[Aa]=t,this.$pinia||(this.$pinia=t),t._a=this,Ea&&ka(t)}else!this.$pinia&&e.parent&&e.parent.$pinia&&(this.$pinia=e.parent.$pinia)},destroyed(){delete this._pStores}})},acceptHMRUpdate:function(e,t){return()=>{}},createPinia:Pa,defineStore:za,getActivePinia:()=>_i()&&Pr(Aa)||xa,mapActions:function(e,t){return Array.isArray(t)?t.reduce((t,o)=>(t[o]=function(...t){return e(this.$pinia)[o](...t)},t),{}):Object.keys(t).reduce((o,n)=>(o[n]=function(...o){return e(this.$pinia)[t[n]](...o)},o),{})},mapGetters:Ha,mapState:Qa,mapStores:function(...e){return e.reduce((e,t)=>(e[t.$id+Ua]=function(){return t(this.$pinia)},e),{})},mapWritableState:function(e,t){return Array.isArray(t)?t.reduce((t,o)=>(t[o]={get(){return e(this.$pinia)[o]},set(t){return e(this.$pinia)[o]=t}},t),{}):Object.keys(t).reduce((o,n)=>(o[n]={get(){return e(this.$pinia)[t[n]]},set(o){return e(this.$pinia)[t[n]]=o}},o),{})},setActivePinia:ka,setMapStoreSuffix:function(e){Ua=e},skipHydrate:function(e){return Object.defineProperty(e,Na,{})},storeToRefs:function(e){{e=Qn(e);const t={};for(const o in e){const n=e[o];(Kn(n)||Rn(n))&&(t[o]=tr(e,o))}return t}}},Symbol.toStringTag,{value:"Module"}));function Wa(e){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e)}function Va(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(const t in e)return!1;return!0}return!1}function $a(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}function Ka(e){return"function"==typeof e}const Ya={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/^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(e)},date:function(e){if(!e)return!1;if("number"==typeof e)return(10===e.toString().length||13===e.toString().length)&&!isNaN(new Date(e).getTime());if("string"==typeof e){const t=Number(e);if(!isNaN(t)&&(10===t.toString().length||13===t.toString().length))return!isNaN(new Date(t).getTime());if(e.length<10||e.length>19)return!1;if(!/^\d{4}[-\/]\d{2}[-\/]\d{2}( \d{1,2}:\d{2}(:\d{2})?)?$/.test(e))return!1;const o=new Date(e);return!isNaN(o.getTime())}return!1},dateISO:function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:Wa,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}$))/,o=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;return 7===e.length?o.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:Va,isEmpty:Va,jsonString:function(e){if("string"==typeof e)try{const t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(hp){return!1}return!1},landline:function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},object:function(e){return"[object Object]"===Object.prototype.toString.call(e)},array:$a,code:function(e,t=6){return new RegExp(`^\\d{${t}}$`).test(e)},func:Ka,promise:function(e){return function(e){return"[object Promise]"===Object.prototype.toString.call(e)}(e)&&Ka(e.then)&&Ka(e.catch)},video:function(e){return/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i.test(e)},image:function(e){const t=e.split("?")[0];return/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i.test(t)},regExp:function(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)},string:function(e){return"string"==typeof e}};function Ja(e,t=15){return+parseFloat(Number(e).toPrecision(t))}function Xa(e){const t=e.toString().split(/[eE]/),o=(t[0].split(".")[1]||"").length-+(t[1]||0);return o>0?o:0}function Ga(e){if(-1===e.toString().indexOf("e"))return Number(e.toString().replace(".",""));const t=Xa(e);return t>0?Ja(Number(e)*Math.pow(10,t)):Number(e)}function Za(e){(e>Number.MAX_SAFE_INTEGER||e{i=t(i,e)}),i}function tc(...e){if(e.length>2)return ec(e,tc);const[t,o]=e,n=Ga(t),r=Ga(o),i=Xa(t)+Xa(o),s=n*r;return Za(s),s/Math.pow(10,i)}function oc(...e){if(e.length>2)return ec(e,oc);const[t,o]=e,n=Ga(t),r=Ga(o);return Za(n),Za(r),tc(n/r,Ja(Math.pow(10,Xa(o)-Xa(t))))}const nc={v:"3",version:"3",type:["primary","success","info","error","warning"],color:{"u-primary":"#2979ff","u-warning":"#ff9900","u-success":"#19be6b","u-error":"#fa3534","u-info":"#909399","u-main-color":"#303133","u-content-color":"#606266","u-tips-color":"#909399","u-light-color":"#c0c4cc","up-primary":"#2979ff","up-warning":"#ff9900","up-success":"#19be6b","up-error":"#fa3534","up-info":"#909399","up-main-color":"#303133","up-content-color":"#606266","up-tips-color":"#909399","up-light-color":"#c0c4cc"},iconUrl:"https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf",customIcon:{family:"",url:""},customIcons:{},unit:"px",interceptor:{navbarLeftClick:null},loadFontOnce:!1};function rc(e,t=!1){return Wa(e)?t?`${e}px`:Number(e):/(rpx|upx)$/.test(e)?t?`${Co.upx2px(parseInt(e))}px`:Number(Co.upx2px(parseInt(e))):t?`${parseInt(e)}px`:parseInt(e)}function ic(e=30){return new Promise(t=>{setTimeout(()=>{t()},e)})}function sc(){let e={};return e=Co.getWindowInfo(),e}function ac(e,t){if(e>=0&&t>0&&t>=e){const o=t-e+1;return Math.floor(Math.random()*o+e)}return 0}function cc(e=void 0){let t=this.$parent;for(;t;){let o="";if(e.startsWith("up-")?o=e.replace(/up-([a-zA-Z0-9-_]+)/g,"u-$1"):e.startsWith("u-")&&(o=e.replace(/u-([a-zA-Z0-9-_]+)/g,"up-$1")),!t.$options||t.$options.name===e||t.$options.name===o)return t;t=t.$parent}return!1}function uc(e,t="object"){if(Va(e)||"object"==typeof e&&"object"===t||"string"===t&&"string"==typeof e)return e;if("object"===t){const t=(e=mc(e)).split(";"),o={};for(let e=0;e{const n=t.replace(/([A-Z])/g,"-$1").toLowerCase();o+=`${n}:${e};`}),mc(o)}function lc(e="auto",t=""){return t||(t=nc.unit||"px"),"rpx"==t&&Wa(String(e))&&(e*=2),Wa(e=String(e))?`${e}${t}`:e}function pc(e){if([null,void 0,NaN,!1].includes(e))return e;if("object"!=typeof e&&"function"!=typeof e)return e;const t=$a(e)?[]:{};for(const o in e)e.hasOwnProperty(o)&&(t[o]="object"==typeof e[o]?pc(e[o]):e[o]);return t}function dc(e={},t={}){let o=pc(e);if("object"!=typeof o||"object"!=typeof t)return!1;for(const n in t)t.hasOwnProperty(n)&&(n in o?null==t[n]||"object"!=typeof o[n]||"object"!=typeof t[n]?o[n]=t[n]:o[n].concat&&t[n].concat?o[n]=o[n].concat(t[n]):o[n]=dc(o[n],t[n]):o[n]=t[n]);return o}function fc(e,t={}){if("object"!=typeof e||"object"!=typeof t)return!1;for(const o in t)t.hasOwnProperty(o)&&(o in e?null==t[o]||"object"!=typeof e[o]||"object"!=typeof t[o]?e[o]=t[o]:e[o].concat&&t[o].concat?e[o]=e[o].concat(t[o]):e[o]=fc(e[o],t[o]):e[o]=t[o]);return e}function hc(e){}function gc(e=null,t="yyyy-mm-dd"){let o;o=e?/^\d{10}$/.test(e.toString().trim())?new Date(1e3*e):"string"==typeof e&&/^\d+$/.test(e.trim())?new Date(Number(e)):"string"==typeof e&&/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/.test(e)?new Date(e):new Date("string"==typeof e?e.replace(/-/g,"/"):e):new Date;const n={y:o.getFullYear().toString(),m:(o.getMonth()+1).toString().padStart(2,"0"),d:o.getDate().toString().padStart(2,"0"),h:o.getHours().toString().padStart(2,"0"),M:o.getMinutes().toString().padStart(2,"0"),s:o.getSeconds().toString().padStart(2,"0")};for(const r in n){const[e]=new RegExp(`${r}+`).exec(t)||[];if(e){const o="y"===r&&2===e.length?2:0;t=t.replace(e,n[r].slice(o))}}return t}function mc(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}function yc(e={},t=!0,o="brackets"){const n=t?"?":"",r=[];-1==["indices","brackets","repeat","comma"].indexOf(o)&&(o="brackets");for(const i in e){const t=e[i];if(!(["",void 0,null].indexOf(t)>=0))if(t.constructor===Array)switch(o){case"indices":for(let o=0;o{r.push(`${i}[]=${e}`)});break;case"repeat":t.forEach(e=>{r.push(`${i}=${e}`)});break;case"comma":let e="";t.forEach(t=>{e+=(e?",":"")+t}),r.push(`${i}=${e}`)}else r.push(`${i}=${t}`)}return r.length?n+r.join("&"):""}function vc(e,t=2e3){Co.showToast({title:String(e),icon:"none",duration:t})}function bc(e,t=0,o=".",n=","){e=`${e}`.replace(/[^0-9+-Ee.]/g,"");const r=isFinite(+e)?+e:0,i=isFinite(+t)?Math.abs(t):0,s=void 0===n?",":n,a=void 0===o?".":o;let c="";c=(i?function(e,t){const o=Math.pow(10,t);let n=oc(Math.round(Math.abs(tc(e,o))),o);return e<0&&0!==n&&(n=tc(n,-1)),n}(r,i)+"":`${Math.round(r)}`).split(".");const u=/(-?\d+)(\d{3})/;for(;u.test(c[0]);)c[0]=c[0].replace(u,`$1${s}$2`);return(c[1]||"").length{},t)}function Sc(){const e=getCurrentPages();return`/${e[e.length-1].route||""}`}String.prototype.padStart||(String.prototype.padStart=function(e,t=" "){if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");const o=this;if(o.length>=e)return String(o);const n=e-o.length;let r=Math.ceil(n/t.length);for(;r>>=1;)t+=t,1===r&&(t+=t);return t.slice(0,n)+o});const xc={range:function(e=0,t=0,o=0){return Math.max(e,Math.min(t,Number(o)))},getPx:rc,sleep:ic,os:function(){return Co.getDeviceInfo().platform.toLowerCase()},sys:function(){return Co.getSystemInfoSync()},getWindowInfo:sc,random:ac,guid:function(e=32,t=!0,o=null){const n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[];if(o=o||n.length,e)for(let i=0;iMath.random()-.5)},timeFormat:gc,timeFrom:function(e=null,t="yyyy-mm-dd"){null==e&&(e=Number(new Date)),10==(e=parseInt(e)).toString().length&&(e*=1e3);let o=(new Date).getTime()-e;o=parseInt(o/1e3);let n="";switch(!0){case o<300:n="刚刚";break;case o>=300&&o<3600:n=`${parseInt(o/60)}分钟前`;break;case o>=3600&&o<86400:n=`${parseInt(o/3600)}小时前`;break;case o>=86400&&o<2592e3:n=`${parseInt(o/86400)}天前`;break;default:n=!1===t?o>=2592e3&&o<31536e3?`${parseInt(o/2592e3)}个月前`:`${parseInt(o/31536e3)}年前`:gc(e,t)}return n},trim:mc,queryParams:yc,toast:vc,type2icon:function(e="success",t=!1){-1==["primary","info","error","warning","success"].indexOf(e)&&(e="success");let o="";switch(e){case"primary":case"info":o="info-circle";break;case"error":o="close-circle";break;case"warning":o="error-circle";break;default:o="checkmark-circle"}return t&&(o+="-fill"),o},priceFormat:bc,getDuration:function(e,t=!0){const o=parseInt(e);return t?/s$/.test(e)?e:e>30?`${e}ms`:`${e}s`:/ms$/.test(e)?o:/s$/.test(e)?o>30?o:1e3*o:o},padZero:function(e){return`00${e}`.slice(-2)},formValidate:wc,getProperty:function(e,t){if("object"!=typeof e||null==e)return"";if("string"!=typeof t||""===t)return"";if(-1!==t.indexOf(".")){const o=t.split(".");let n=e[o[0]]||{};for(let e=1;e1;){const r=t[0];e[r]&&"object"==typeof e[r]||(e[r]={}),t.shift(),n(e[r],t,o)}else e[t[0]]=o};if("string"!=typeof t||""===t);else if(-1!==t.indexOf(".")){const r=t.split(".");n(e,r,o)}else e[t]=o},page:Sc,pages:function(){return getCurrentPages()},getValueByPath:function(e,t){return t.split(".").reduce((e,t)=>e&&void 0!==e[t]?e[t]:void 0,e)},genLightColor:function(e,t=95){const o=function(e){const t=e.toLowerCase().trim();if(t.startsWith("#")){const e=t.replace("#",""),o=3===e.length?e.split("").map(e=>e+e).join(""):e;return{r:parseInt(o.substring(0,2),16),g:parseInt(o.substring(2,4),16),b:parseInt(o.substring(4,6),16)}}const o=t.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/);if(o)return{r:+o[1],g:+o[2],b:+o[3]};throw new Error("Invalid color format")}(e),n=function(e,t,o){e/=255,t/=255,o/=255;const n=Math.max(e,t,o),r=Math.min(e,t,o);let i,s,a=(n+r)/2;if(n===r)i=s=0;else{const c=n-r;switch(s=a>.5?c/(2-n-r):c/(n+r),n){case e:i=(t-o)/c+(t{const r=(t+e/30)%12,i=o-n*Math.max(Math.min(r-3,9-r,1),-1);return Math.round(255*i).toString(16).padStart(2,"0")};return`#${r(0)}${r(8)}${r(4)}`}(r.h,r.s,r.l)},rpx2px:function(e){return Co.rpx2px(e)}};const kc=(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 o="";return/.*\/.*\?.*=.*/.test(e)?(o=yc(t,!1),e+`&${o}`):(o=yc(t),e+o)}async route(e={},t={}){let o={};if("string"==typeof e?(o.url=this.mixinParam(e,t),o.type="navigateTo"):(o=dc(this.config,e),o.url=this.mixinParam(e.url,e.params)),o.url!==Sc())if(t.intercept&&(this.config.intercept=t.intercept),o.params=t,o=dc(this.config,o),"function"==typeof Co.$u.routeIntercept){await new Promise((e,t)=>{Co.$u.routeIntercept(o,e)})&&this.openPage(o)}else this.openPage(o)}openPage(e){const{url:t,type:o,delta:n,animationType:r,animationDuration:i}=e;"navigateTo"!=e.type&&"to"!=e.type||Co.navigateTo({url:t,animationType:r,animationDuration:i}),"redirectTo"!=e.type&&"redirect"!=e.type||Co.redirectTo({url:t}),"switchTab"!=e.type&&"tab"!=e.type||Co.switchTab({url:t}),"reLaunch"!=e.type&&"launch"!=e.type||Co.reLaunch({url:t}),"navigateBack"!=e.type&&"back"!=e.type||Co.navigateBack({delta:n})}}).route,Ac={props:{customStyle:{type:[Object,String],default:()=>({})},customClass:{type:String,default:""},url:{type:String,default:""},linkType:{type:String,default:"navigateTo"}},data:()=>({}),onLoad(){this.$u.getRect=this.$uGetRect},created(){this.$u.getRect=this.$uGetRect},computed:{$u:()=>dc(Co.$u,{props:void 0,http:void 0,mixin:void 0}),bem:()=>function(e,t,o){const n=`u-${e}--`,r={};return t&&t.map(e=>{r[n+this[e]]=!0}),o&&o.map(e=>{this[e]?r[n+e]=this[e]:delete r[n+e]}),Object.keys(r)}},methods:{openPage(e="url"){const t=this[e];t&&kc({type:this.linkType,url:t})},navTo(e="",t="navigateTo"){kc({type:this.linkType,url:e})},$uGetRect(e,t){return new Promise(o=>{Co.createSelectorQuery().in(this)[t?"selectAll":"select"](e).boundingClientRect(e=>{t&&Array.isArray(e)&&e.length&&o(e),!t&&e&&o(e)}).exec()})},getParentData(e=""){this.parent||(this.parent={}),this.parent=cc.call(this,e),this.parent.children&&-1===this.parent.children.indexOf(this)&&this.parent.children.push(this),this.parent&&this.parentData&&Object.keys(this.parentData).map(e=>{this.parentData[e]=this.parent[e]})},preventEvent(e){e&&"function"==typeof e.stopPropagation&&e.stopPropagation()},noop(e){this.preventEvent(e)}},onReachBottom(){Co.$emit("uOnReachBottom")},beforeUnmount(){if(this.parent&&Ya.array(this.parent.children)){const e=this.parent.children;e.map((t,o)=>{t===this&&e.splice(o,1)})}}},Cc={options:{virtualHost:!0}};function Tc(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",o=10){const n=Ic(e,!1),r=n[0],i=n[1],s=n[2],a=Ic(t,!1),c=(a[0]-r)/o,u=(a[1]-i)/o,l=(a[2]-s)/o,p=[];for(let d=0;dNumber(e))}return e}function Ec(e){const t=e;if(/^(rgb|RGB)/.test(t)){const e=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");let o="#";for(let t=0;t{Bc=!1},t)):Bc||(Bc=!0,setTimeout(()=>{Bc=!1,"function"==typeof e&&e()},t))}const Lc={add:function(e,t){var o,n,r;try{o=e.toString().split(".")[1].length}catch(hp){o=0}try{n=t.toString().split(".")[1].length}catch(hp){n=0}return(e*(r=Math.pow(10,Math.max(o,n)))+t*r)/r},sub:function(e,t){var o,n,r,i;try{o=e.toString().split(".")[1].length}catch(hp){o=0}try{n=t.toString().split(".")[1].length}catch(hp){n=0}return r=Math.pow(10,Math.max(o,n)),i=o>=n?o:n,Math.abs(((e*r-t*r)/r).toFixed(i))},mul:function(e,t){var o=0,n=e.toString(),r=t.toString();try{o+=n.split(".")[1].length}catch(i){}try{o+=r.split(".")[1].length}catch(i){}return Number(n.replace(".",""))*Number(r.replace(".",""))/Math.pow(10,o)},div:function(e,t){var o,n,r=0,i=0;try{r=e.toString().split(".")[1].length}catch(s){}try{i=t.toString().split(".")[1].length}catch(s){}return o=Number(e.toString().replace(".","")),n=Number(t.toString().replace(".","")),xyutil.mul(o/n,Math.pow(10,i-r))}},Nc={toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965},jc={primary:"#3c9cff",info:"#909399",default:"#909399",warning:"#f9ae3d",error:"#f56c6c",success:"#5ac725",mainColor:"#303133",contentColor:"#606266",tipsColor:"#909399",lightColor:"#c0c4cc",borderColor:"#e4e7ed"},{toString:Dc}=Object.prototype;function Mc(e){return"[object Array]"===Dc.call(e)}function Fc(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),Mc(e))for(let o=0,n=e.length;o{null!=t&&(Mc(t)?o=`${o}[]`:t=[t],Fc(t,t=>{!function(e){return"[object Date]"===Dc.call(e)}(t)?function(e){return null!==e&&"object"==typeof e}(t)&&(t=JSON.stringify(t)):t=t.toISOString(),e.push(`${Uc(o)}=${Uc(t)}`)}))}),o=e.join("&")}var n;if(o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}const Hc=(e,t)=>{const o={};return e.forEach(e=>{zc(t[e])||(o[e]=t[e])}),o},qc=e=>(e=>new Promise((t,o)=>{const n=Qc((r=e.baseURL,i=e.url,r&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i)?function(e,t){return t?`${e.replace(/\/+$/,"")}/${t.replace(/^\/+/,"")}`:e}(r,i):i),e.params);var r,i;const s={url:n,header:e.header,complete:r=>{e.fullPath=n,r.config=e;try{"string"==typeof r.data&&(r.data=JSON.parse(r.data))}catch(hp){}!function(e,t,o){const{validateStatus:n}=o.config,r=o.statusCode;!r||n&&!n(r)?t(o):e(o)}(t,o,r)}};let a;if("UPLOAD"===e.method){delete s.header["content-type"],delete s.header["Content-Type"];const t={filePath:e.filePath,name:e.name},o=["formData"];a=Co.uploadFile({...s,...t,...Hc(o,e)})}else if("DOWNLOAD"===e.method)a=Co.downloadFile(s);else{const t=["data","method","timeout","dataType","responseType"];a=Co.request({...s,...Hc(t,e)})}e.getTask&&e.getTask(a,e)}))(e);function Wc(){this.handlers=[]}Wc.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},Wc.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},Wc.prototype.forEach=function(e){this.handlers.forEach(t=>{null!==t&&e(t)})};const Vc=(e,t,o)=>{const n={};return e.forEach(e=>{zc(o[e])?zc(t[e])||(n[e]=t[e]):n[e]=o[e]}),n},$c={baseURL:"",header:{},method:"GET",dataType:"json",responseType:"text",custom:{},timeout:6e4,validateStatus:function(e){return e>=200&&e<300}};var Kc=function(){function e(e,t){return null!=t&&e instanceof t}var t,o,n;try{t=Map}catch(a){t=function(){}}try{o=Set}catch(a){o=function(){}}try{n=Promise}catch(a){n=function(){}}function r(i,a,c,u,l){"object"==typeof a&&(c=a.depth,u=a.prototype,l=a.includeNonEnumerable,a=a.circular);var p=[],d=[],f="undefined"!=typeof Buffer;return void 0===a&&(a=!0),void 0===c&&(c=1/0),function i(c,h){if(null===c)return null;if(0===h)return c;var g,m;if("object"!=typeof c)return c;if(e(c,t))g=new t;else if(e(c,o))g=new o;else if(e(c,n))g=new n(function(e,t){c.then(function(t){e(i(t,h-1))},function(e){t(i(e,h-1))})});else if(r.__isArray(c))g=[];else if(r.__isRegExp(c))g=new RegExp(c.source,s(c)),c.lastIndex&&(g.lastIndex=c.lastIndex);else if(r.__isDate(c))g=new Date(c.getTime());else{if(f&&Buffer.isBuffer(c))return Buffer.from?g=Buffer.from(c):(g=new Buffer(c.length),c.copy(g)),g;e(c,Error)?g=Object.create(c):void 0===u?(m=Object.getPrototypeOf(c),g=Object.create(m)):(g=Object.create(u),m=u)}if(a){var y=p.indexOf(c);if(-1!=y)return d[y];p.push(c),d.push(g)}for(var v in e(c,t)&&c.forEach(function(e,t){var o=i(t,h-1),n=i(e,h-1);g.set(o,n)}),e(c,o)&&c.forEach(function(e){var t=i(e,h-1);g.add(t)}),c){Object.getOwnPropertyDescriptor(c,v)&&(g[v]=i(c[v],h-1));try{if("undefined"===Object.getOwnPropertyDescriptor(c,v).set)continue;g[v]=i(c[v],h-1)}catch(hp){if(hp instanceof TypeError)continue;if(hp instanceof ReferenceError)continue}}if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(c);for(v=0;v{const o=t.method||e.method||"GET";let n={baseURL:e.baseURL||"",method:o,url:t.url||"",params:t.params||{},custom:{...e.custom||{},...t.custom||{}},header:Rc(e.header||{},t.header||{})};if(n={...n,...Vc(["getTask","validateStatus"],e,t)},"DOWNLOAD"===o);else if("UPLOAD"===o)delete n.header["content-type"],delete n.header["Content-Type"],["filePath","name","formData"].forEach(e=>{zc(t[e])||(n[e]=t[e])});else{const o=["data","timeout","dataType","responseType"];n={...n,...Vc(o,e,t)}}return n})(this.config,e);const t=[qc,void 0];let o=Promise.resolve(e);for(this.interceptors.request.forEach(e=>{t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(e=>{t.push(e.fulfilled,e.rejected)});t.length;)o=o.then(t.shift(),t.shift());return o}request(e={}){return this.middleware(e)}get(e,t={}){return this.middleware({url:e,method:"GET",...t})}post(e,t,o={}){return this.middleware({url:e,data:t,method:"POST",...o})}put(e,t,o={}){return this.middleware({url:e,data:t,method:"PUT",...o})}delete(e,t,o={}){return this.middleware({url:e,data:t,method:"DELETE",...o})}connect(e,t,o={}){return this.middleware({url:e,data:t,method:"CONNECT",...o})}head(e,t,o={}){return this.middleware({url:e,data:t,method:"HEAD",...o})}options(e,t,o={}){return this.middleware({url:e,data:t,method:"OPTIONS",...o})}trace(e,t,o={}){return this.middleware({url:e,data:t,method:"TRACE",...o})}upload(e,t={}){return t.url=e,t.method="UPLOAD",this.middleware(t)}download(e,t={}){return t.url=e,t.method="DOWNLOAD",this.middleware(t)}};let Jc={lang:Co.getLocale(),locales:{en:{"up.common.cancel":"Cancel","up.common.confirm":"Confirm","up.common.start":"Start","up.common.end":"End","up.common.stop":"Stop","up.common.copy":"Copy","up.common.none":"None","up.common.tip":"Tip","up.common.success":"Success","up.common.fail":"Fail","up.common.close":"Close","up.common.preview":"Preview","up.common.re-select":"Re-select","up.common.rotate":"Rotate","up.common.pleaseChoose":"Please choose","up.common.loading":"Loading","up.common.loading2":"Loading","up.common.inOperation":"In operation","up.common.settings":"Settings","up.common.retry":"Retry","up.common.search":"Search","up.common.more":"More","up.common.video":"Video","up.common.file":"File","up.week.one":"Mon","up.week.two":"Tue","up.week.three":"Wed","up.week.four":"Thu","up.week.five":"Fri","up.week.six":"Sat","up.week.seven":"Sun","up.barcode.error":"Failed to generate barcode","up.calendar.chooseDates":"Date selection","up.calendar.disabled":"This date is disabled","up.calendar.daysExceed":"The number of selected days cannot exceed {days} days","up.cityLocate.locateCity":"Locate city","up.cityLocate.fail":"Location failed, please click to retry.","up.cityLocate.locating":"Locating","up.code.send":"Get verification code","up.code.resendAfter":"Resend after X seconds","up.code.resend":"Resend","up.cropper.emptyWidhtOrHeight":"The width or height of the cropping box is not set","up.empty.car":"Shopping cart is empty","up.empty.page":"Page not found","up.empty.search":"No search results","up.empty.address":"No shipping address","up.empty.wifi":"No WiFi","up.empty.order":"Order is empty","up.empty.coupon":"No coupons","up.empty.favor":"No favorites","up.empty.permission":"No permission","up.empty.history":"No history","up.empty.news":"No news list","up.empty.message":"Message list is empty","up.empty.list":"List is empty","up.empty.data":"Data is empty","up.empty.comment":"No comments","up.link.copyed":"Link copied, please open in browser","up.loadmoe.loadmore":"Load more","up.loadmoe.nomore":"No more","up.noNetwork.text":"Oops, network signal lost","up.noNetwork.pleaseCheck":"Please check the network, or go to","up.noNetwork.connect":"Network connected","up.noNetwork.disconnect":"No network connection","up.pagination.previous":"Previous","up.pagination.next":"Next","up.pullRefresh.pull":"Pull to refresh","up.pullRefresh.release":"Release to refresh","up.pullRefresh.refreshing":"Refreshing","up.readMore.expand":"Expand to read more","up.readMore.fold":"Collapse","up.search.placeholder":"Please enter keywords","up.signature.penSize":"Stroke size","up.signature.penColor":"Stroke color","up.upload.sizeExceed":"Size limit exceeded","up.upload.uploading":"Uploading","up.upload.previewImageFail":"Failed to preview image","up.upload.previewVideoFail":"Failed to preview video","up.goodsSku.stock":"Stock","up.goodsSku.price":"Price","up.goodsSku.amount":"Items","up.goodsSku.choosed":"Selected","up.goodsSku.buyAmount":"Quantity"},es:{"up.common.cancel":"Cancelar","up.common.confirm":"Confirmar","up.common.start":"Iniciar","up.common.end":"Finalizar","up.common.stop":"Detener","up.common.copy":"Copiar","up.common.none":"Ninguno","up.common.tip":"Consejo","up.common.success":"Éxito","up.common.fail":"Fallido","up.common.close":"Cerrar","up.common.preview":"Vista previa","up.common.re-select":"Re seleccionar","up.common.rotate":"Rotar","up.common.pleaseChoose":"Por favor seleccione","up.common.loading":"Cargando","up.common.loading2":"Cargando","up.common.inOperation":"En operación","up.common.settings":"Configuración","up.common.retry":"Reintentar","up.common.search":"Buscar","up.common.more":"Más","up.common.video":"Vídeo","up.common.file":"Archivo","up.week.one":"Lun","up.week.two":"Mar","up.week.three":"Mié","up.week.four":"Jue","up.week.five":"Vie","up.week.six":"Sáb","up.week.seven":"Dom","up.barcode.error":"Error al generar código de barras","up.calendar.chooseDates":"Selección de fecha","up.calendar.disabled":"Esta fecha está deshabilitada","up.calendar.daysExceed":"Los días seleccionados no pueden exceder {days} días","up.cityLocate.locateCity":"Localizar ciudad","up.cityLocate.fail":"Error de localización, haga clic para reintentar.","up.cityLocate.locating":"Localizando","up.code.send":"Obtener código de verificación","up.code.resendAfter":"Reenviar en X segundos","up.code.resend":"Reenviar","up.cropper.emptyWidhtOrHeight":"El ancho o alto del recorte no está configurado","up.empty.car":"Carrito de compras vacío","up.empty.page":"Página no encontrada","up.empty.search":"Sin resultados de búsqueda","up.empty.address":"Sin dirección de envío","up.empty.wifi":"Sin WiFi","up.empty.order":"Pedido vacío","up.empty.coupon":"Sin cupones","up.empty.favor":"Sin favoritos","up.empty.permission":"Sin permisos","up.empty.history":"Sin historial","up.empty.news":"Sin noticias","up.empty.message":"Lista de mensajes vacía","up.empty.list":"Lista vacía","up.empty.data":"Datos vacíos","up.empty.comment":"Sin comentarios","up.link.copyed":"Enlace copiado, por favor abra en el navegador","up.loadmoe.loadmore":"Cargar más","up.loadmoe.nomore":"No hay más","up.noNetwork.text":"¡Ups! Se perdió la señal de red","up.noNetwork.pleaseCheck":"Por favor verifique la red, o vaya a","up.noNetwork.connect":"Red conectada","up.noNetwork.disconnect":"Sin conexión a internet","up.pagination.previous":"Página anterior","up.pagination.next":"Página siguiente","up.pullRefresh.pull":"Deslizar hacia abajo para actualizar","up.pullRefresh.release":"Soltar para actualizar","up.pullRefresh.refreshing":"Actualizando","up.readMore.expand":"Expandir para leer más","up.readMore.fold":"Contraer","up.search.placeholder":"Ingrese palabra clave","up.signature.penSize":"Tamaño del trazo","up.signature.penColor":"Color del trazo","up.upload.sizeExceed":"Excede el límite de tamaño","up.upload.uploading":"Subiendo","up.upload.previewImageFail":"Error al previsualizar imagen","up.upload.previewVideoFail":"Error al previsualizar vídeo","up.goodsSku.stock":"Inventario","up.goodsSku.price":"Precio","up.goodsSku.amount":"Piezas","up.goodsSku.choosed":"Seleccionado","up.goodsSku.buyAmount":"Cantidad"},fr:{"up.common.cancel":"Annuler","up.common.confirm":"Confirmer","up.common.start":"Démarrer","up.common.end":"Terminer","up.common.stop":"Arrêter","up.common.copy":"Copier","up.common.none":"Aucun","up.common.tip":"Conseil","up.common.success":"Succès","up.common.fail":"Échec","up.common.close":"Fermer","up.common.preview":"Aperçu","up.common.re-select":"Resélectionner","up.common.rotate":"Rotation","up.common.pleaseChoose":"Veuillez choisir","up.common.loading":"Chargement","up.common.loading2":"Chargement en cours","up.common.inOperation":"En cours d'opération","up.common.settings":"Paramètres","up.common.retry":"Réessayer","up.common.search":"Rechercher","up.common.more":"Plus","up.common.video":"Vidéo","up.common.file":"Fichier","up.week.one":"Lun","up.week.two":"Mar","up.week.three":"Mer","up.week.four":"Jeu","up.week.five":"Ven","up.week.six":"Sam","up.week.seven":"Dim","up.barcode.error":"Échec de génération du code-barres","up.calendar.chooseDates":"Sélection de dates","up.calendar.disabled":"Cette date est désactivée","up.calendar.daysExceed":"Le nombre de jours sélectionnés ne peut pas dépasser {days} jours","up.cityLocate.locateCity":"Localiser la ville","up.cityLocate.fail":"Échec de localisation, veuillez cliquer pour réessayer.","up.cityLocate.locating":"Localisation en cours","up.code.send":"Obtenir le code de vérification","up.code.resendAfter":"Renvoyer dans X secondes","up.code.resend":"Renvoyer","up.cropper.emptyWidhtOrHeight":"La largeur ou la hauteur de recadrage n'est pas définie","up.empty.car":"Panier vide","up.empty.page":"Page introuvable","up.empty.search":"Aucun résultat de recherche","up.empty.address":"Aucune adresse de livraison","up.empty.wifi":"Aucun Wi-Fi","up.empty.order":"Commande vide","up.empty.coupon":"Aucun coupon","up.empty.favor":"Aucun favori","up.empty.permission":"Aucune autorisation","up.empty.history":"Aucun historique","up.empty.news":"Aucune actualité","up.empty.message":"Liste de messages vide","up.empty.list":"Liste vide","up.empty.data":"Données vides","up.empty.comment":"Aucun commentaire","up.link.copyed":"Lien copié, veuillez ouvrir dans le navigateur","up.loadmoe.loadmore":"Charger plus","up.loadmoe.nomore":"Plus de contenu","up.noNetwork.text":"Oups, le signal réseau est perdu","up.noNetwork.pleaseCheck":"Veuillez vérifier le réseau, ou aller à","up.noNetwork.connect":"Réseau connecté","up.noNetwork.disconnect":"Aucune connexion réseau","up.pagination.previous":"Page précédente","up.pagination.next":"Page suivante","up.pullRefresh.pull":"Tirer pour actualiser","up.pullRefresh.release":"Relâcher pour actualiser","up.pullRefresh.refreshing":"Actualisation en cours","up.readMore.expand":"Développer pour lire la suite","up.readMore.fold":"Réduire","up.search.placeholder":"Veuillez saisir un mot-clé","up.signature.penSize":"Taille du trait","up.signature.penColor":"Couleur du trait","up.upload.sizeExceed":"Dépassement de la limite de taille","up.upload.uploading":"Téléchargement en cours","up.upload.previewImageFail":"Échec de l'aperçu de l'image","up.upload.previewVideoFail":"Échec de l'aperçu de la vidéo","up.goodsSku.stock":"Stock","up.goodsSku.price":"Prix","up.goodsSku.amount":"Pièces","up.goodsSku.choosed":"Sélectionné","up.goodsSku.buyAmount":"Quantité"},de:{"up.common.cancel":"Abbrechen","up.common.confirm":"Bestätigen","up.common.start":"Start","up.common.end":"Ende","up.common.stop":"Stopp","up.common.copy":"Kopieren","up.common.none":"Keine","up.common.tip":"Hinweis","up.common.success":"Erfolg","up.common.fail":"Fehlgeschlagen","up.common.close":"Schließen","up.common.preview":"Vorschau","up.common.re-select":"Erneut auswählen","up.common.rotate":"Drehen","up.common.pleaseChoose":"Bitte wählen","up.common.loading":"Laden","up.common.loading2":"Wird geladen","up.common.inOperation":"In Bearbeitung","up.common.settings":"Einstellungen","up.common.retry":"Wiederholen","up.common.search":"Suchen","up.common.more":"Mehr","up.common.video":"Video","up.common.file":"Datei","up.week.one":"Mo","up.week.two":"Di","up.week.three":"Mi","up.week.four":"Do","up.week.five":"Fr","up.week.six":"Sa","up.week.seven":"So","up.barcode.error":"Barcode-Generierung fehlgeschlagen","up.calendar.chooseDates":"Datumsauswahl","up.calendar.disabled":"Dieses Datum ist deaktiviert","up.calendar.daysExceed":"Die Anzahl der ausgewählten Tage darf {days} Tage nicht überschreiten","up.cityLocate.locateCity":"Stadt lokalisieren","up.cityLocate.fail":"Lokalisierung fehlgeschlagen, bitte klicken Sie zum Wiederholen.","up.cityLocate.locating":"Lokalisierung läuft","up.code.send":"Bestätigungscode erhalten","up.code.resendAfter":"Erneut senden in X Sekunden","up.code.resend":"Erneut senden","up.cropper.emptyWidhtOrHeight":"Breite oder Höhe des Zuschneidebereichs nicht festgelegt","up.empty.car":"Warenkorb ist leer","up.empty.page":"Seite existiert nicht","up.empty.search":"Keine Suchergebnisse","up.empty.address":"Keine Lieferadresse","up.empty.wifi":"Kein WLAN","up.empty.order":"Bestellungen sind leer","up.empty.coupon":"Keine Gutscheine","up.empty.favor":"Keine Favoriten","up.empty.permission":"Keine Berechtigung","up.empty.history":"Kein Verlauf","up.empty.news":"Keine Nachrichtenliste","up.empty.message":"Nachrichtenliste ist leer","up.empty.list":"Liste ist leer","up.empty.data":"Daten sind leer","up.empty.comment":"Keine Kommentare","up.link.copyed":"Link kopiert, bitte im Browser öffnen","up.loadmoe.loadmore":"Mehr laden","up.loadmoe.nomore":"Keine weiteren Daten","up.noNetwork.text":"Ups, Netzwerksignal verloren","up.noNetwork.pleaseCheck":"Bitte überprüfen Sie das Netzwerk oder gehen Sie zu","up.noNetwork.connect":"Netzwerk verbunden","up.noNetwork.disconnect":"Keine Netzwerkverbindung","up.pagination.previous":"Vorherige Seite","up.pagination.next":"Nächste Seite","up.pullRefresh.pull":"Zum Aktualisieren nach unten ziehen","up.pullRefresh.release":"Loslassen zum Aktualisieren","up.pullRefresh.refreshing":"Aktualisierung läuft","up.readMore.expand":"Erweitern zum vollständigen Lesen","up.readMore.fold":"Einklappen","up.search.placeholder":"Bitte Schlüsselwort eingeben","up.signature.penSize":"Strichstärke","up.signature.penColor":"Strichfarbe","up.upload.sizeExceed":"Größenbegrenzung überschritten","up.upload.uploading":"Upload läuft","up.upload.previewImageFail":"Bildvorschau fehlgeschlagen","up.upload.previewVideoFail":"Videovorschau fehlgeschlagen","up.goodsSku.stock":"Lagerbestand","up.goodsSku.price":"Preis","up.goodsSku.amount":"Stück","up.goodsSku.choosed":"Ausgewählt","up.goodsSku.buyAmount":"Anzahl"},ko:{"up.common.cancel":"취소","up.common.confirm":"확인","up.common.start":"시작","up.common.end":"종료","up.common.stop":"정지","up.common.copy":"복사","up.common.none":"없음","up.common.tip":"팁","up.common.success":"성공","up.common.fail":"실패","up.common.close":"닫기","up.common.preview":"미리보기","up.common.re-select":"재선택","up.common.rotate":"회전","up.common.pleaseChoose":"선택해주세요","up.common.loading":"로딩중","up.common.loading2":"로딩중","up.common.inOperation":"작업중","up.common.settings":"설정","up.common.retry":"재시도","up.common.search":"검색","up.common.more":"더보기","up.common.video":"비디오","up.common.file":"파일","up.week.one":"월","up.week.two":"화","up.week.three":"수","up.week.four":"목","up.week.five":"금","up.week.six":"토","up.week.seven":"일","up.barcode.error":"바코드 생성 실패","up.calendar.chooseDates":"날짜 선택","up.calendar.disabled":"해당 날짜는 사용할 수 없습니다","up.calendar.daysExceed":"선택한 날짜 수가 {days}일을 초과할 수 없습니다","up.cityLocate.locateCity":"도시 위치 찾기","up.cityLocate.fail":"위치 찾기 실패, 다시 시도하려면 클릭하세요.","up.cityLocate.locating":"위치 찾는 중","up.code.send":"인증코드 받기","up.code.resendAfter":"X초 후 재전송","up.code.resend":"재전송","up.cropper.emptyWidhtOrHeight":"자르기 영역의 너비 또는 높이가 설정되지 않았습니다","up.empty.car":"장바구니가 비어 있습니다","up.empty.page":"페이지가 존재하지 않습니다","up.empty.search":"검색 결과가 없습니다","up.empty.address":"배송 주소가 없습니다","up.empty.wifi":"Wi-Fi가 없습니다","up.empty.order":"주문이 없습니다","up.empty.coupon":"쿠폰이 없습니다","up.empty.favor":"즐겨찾기가 없습니다","up.empty.permission":"권한이 없습니다","up.empty.history":"기록이 없습니다","up.empty.news":"뉴스가 없습니다","up.empty.message":"메시지가 없습니다","up.empty.list":"목록이 비어 있습니다","up.empty.data":"데이터가 없습니다","up.empty.comment":"댓글이 없습니다","up.link.copyed":"링크가 복사되었습니다. 브라우저에서 열어주세요","up.loadmoe.loadmore":"더 불러오기","up.loadmoe.nomore":"더 이상 데이터가 없습니다","up.noNetwork.text":"네트워크 신호가 없습니다","up.noNetwork.pleaseCheck":"네트워크를 확인하거나 이동하세요","up.noNetwork.connect":"네트워크 연결됨","up.noNetwork.disconnect":"네트워크 연결 끊김","up.pagination.previous":"이전 페이지","up.pagination.next":"다음 페이지","up.pullRefresh.pull":"당겨서 새로고침","up.pullRefresh.release":"놓아서 새로고침","up.pullRefresh.refreshing":"새로고침 중","up.readMore.expand":"펼쳐서 전체 보기","up.readMore.fold":"접기","up.search.placeholder":"키워드를 입력하세요","up.signature.penSize":"선 굵기","up.signature.penColor":"선 색상","up.upload.sizeExceed":"용량 제한 초과","up.upload.uploading":"업로드 중","up.upload.previewImageFail":"이미지 미리보기 실패","up.upload.previewVideoFail":"비디오 미리보기 실패","up.goodsSku.stock":"재고","up.goodsSku.price":"가격","up.goodsSku.amount":"개","up.goodsSku.choosed":"선택됨","up.goodsSku.buyAmount":"구매 수량"},ja:{"up.common.cancel":"キャンセル","up.common.confirm":"確認","up.common.start":"開始","up.common.end":"終了","up.common.stop":"停止","up.common.copy":"コピー","up.common.none":"なし","up.common.tip":"ヒント","up.common.success":"成功","up.common.fail":"失敗","up.common.close":"閉じる","up.common.preview":"プレビュー","up.common.re-select":"再選択","up.common.rotate":"回転","up.common.pleaseChoose":"選択してください","up.common.loading":"読み込み中","up.common.loading2":"読み込み中","up.common.inOperation":"操作中","up.common.settings":"設定","up.common.retry":"再試行","up.common.search":"検索","up.common.more":"もっと見る","up.common.video":"ビデオ","up.common.file":"ファイル","up.week.one":"月","up.week.two":"火","up.week.three":"水","up.week.four":"木","up.week.five":"金","up.week.six":"土","up.week.seven":"日","up.barcode.error":"バーコードの生成に失敗しました","up.calendar.chooseDates":"日付選択","up.calendar.disabled":"この日付は無効です","up.calendar.daysExceed":"選択日数は{days}日を超えることはできません","up.cityLocate.locateCity":"都市の位置を特定","up.cityLocate.fail":"位置特定に失敗しました。再試行するにはクリックしてください。","up.cityLocate.locating":"位置特定中","up.code.send":"認証コードを取得","up.code.resendAfter":"X秒後に再送信","up.code.resend":"再送信","up.cropper.emptyWidhtOrHeight":"切り抜き枠の幅または高さが設定されていません","up.empty.car":"ショッピングカートは空です","up.empty.page":"ページが存在しません","up.empty.search":"検索結果がありません","up.empty.address":"配送先住所がありません","up.empty.wifi":"Wi-Fiがありません","up.empty.order":"注文がありません","up.empty.coupon":"クーポンがありません","up.empty.favor":"お気に入りがありません","up.empty.permission":"権限がありません","up.empty.history":"履歴がありません","up.empty.news":"ニュースがありません","up.empty.message":"メッセージがありません","up.empty.list":"リストが空です","up.empty.data":"データがありません","up.empty.comment":"コメントがありません","up.link.copyed":"リンクがコピーされました。ブラウザで開いてください","up.loadmoe.loadmore":"さらに読み込む","up.loadmoe.nomore":"これ以上データがありません","up.noNetwork.text":"ネットワーク信号が失われました","up.noNetwork.pleaseCheck":"ネットワークを確認するか、移動してください","up.noNetwork.connect":"ネットワーク接続済み","up.noNetwork.disconnect":"ネットワーク未接続","up.pagination.previous":"前へ","up.pagination.next":"次へ","up.pullRefresh.pull":"引き下げて更新","up.pullRefresh.release":"指を離して更新","up.pullRefresh.refreshing":"更新中","up.readMore.expand":"全文表示","up.readMore.fold":"折りたたむ","up.search.placeholder":"キーワードを入力してください","up.signature.penSize":"線の太さ","up.signature.penColor":"線の色","up.upload.sizeExceed":"サイズ制限を超えています","up.upload.uploading":"アップロード中","up.upload.previewImageFail":"画像プレビュー失敗","up.upload.previewVideoFail":"ビデオプレビュー失敗","up.goodsSku.stock":"在庫","up.goodsSku.price":"価格","up.goodsSku.amount":"個","up.goodsSku.choosed":"選択済み","up.goodsSku.buyAmount":"購入数量"},ru:{"up.common.cancel":"Отмена","up.common.confirm":"Подтвердить","up.common.start":"Начало","up.common.end":"Конец","up.common.stop":"Стоп","up.common.copy":"Копировать","up.common.none":"Нет","up.common.tip":"Подсказка","up.common.success":"Успех","up.common.fail":"Ошибка","up.common.close":"Закрыть","up.common.preview":"Предпросмотр","up.common.re-select":"Выбрать снова","up.common.rotate":"Повернуть","up.common.pleaseChoose":"Пожалуйста, выберите","up.common.loading":"Загрузка","up.common.loading2":"Загружается","up.common.inOperation":"В процессе","up.common.settings":"Настройки","up.common.retry":"Повторить","up.common.search":"Поиск","up.common.more":"Больше","up.common.video":"Видео","up.common.file":"Файл","up.week.one":"Пн","up.week.two":"Вт","up.week.three":"Ср","up.week.four":"Чт","up.week.five":"Пт","up.week.six":"Сб","up.week.seven":"Вс","up.barcode.error":"Ошибка генерации штрихкода","up.calendar.chooseDates":"Выбор даты","up.calendar.disabled":"Эта дата отключена","up.calendar.daysExceed":"Количество выбранных дней не может превышать {days} дней","up.cityLocate.locateCity":"Определение города","up.cityLocate.fail":"Ошибка определения местоположения, нажмите для повтора.","up.cityLocate.locating":"Определение местоположения","up.code.send":"Получить код подтверждения","up.code.resendAfter":"Повторная отправка через X секунд","up.code.resend":"Отправить снова","up.cropper.emptyWidhtOrHeight":"Ширина или высота области обрезки не задана","up.empty.car":"Корзина пуста","up.empty.page":"Страница не существует","up.empty.search":"Нет результатов поиска","up.empty.address":"Нет адреса доставки","up.empty.wifi":"Нет Wi-Fi","up.empty.order":"Заказы отсутствуют","up.empty.coupon":"Нет купонов","up.empty.favor":"Нет избранного","up.empty.permission":"Нет разрешения","up.empty.history":"Нет истории","up.empty.news":"Нет новостей","up.empty.message":"Список сообщений пуст","up.empty.list":"Список пуст","up.empty.data":"Нет данных","up.empty.comment":"Нет комментариев","up.link.copyed":"Ссылка скопирована, откройте в браузере","up.loadmoe.loadmore":"Загрузить еще","up.loadmoe.nomore":"Больше нет данных","up.noNetwork.text":"Ой, потеряно сетевое соединение","up.noNetwork.pleaseCheck":"Проверьте сеть или перейдите к","up.noNetwork.connect":"Сеть подключена","up.noNetwork.disconnect":"Нет сетевого подключения","up.pagination.previous":"Предыдущая страница","up.pagination.next":"Следующая страница","up.pullRefresh.pull":"Потяните вниз для обновления","up.pullRefresh.release":"Отпустите для обновления","up.pullRefresh.refreshing":"Обновление","up.readMore.expand":"Развернуть для полного чтения","up.readMore.fold":"Свернуть","up.search.placeholder":"Введите ключевое слово","up.signature.penSize":"Размер штриха","up.signature.penColor":"Цвет штриха","up.upload.sizeExceed":"Превышен лимит размера","up.upload.uploading":"Загрузка","up.upload.previewImageFail":"Ошибка предпросмотра изображения","up.upload.previewVideoFail":"Ошибка предпросмотра видео","up.goodsSku.stock":"Запас","up.goodsSku.price":"Цена","up.goodsSku.amount":"Штук","up.goodsSku.choosed":"Выбрано","up.goodsSku.buyAmount":"Количество"},"zh-Hant":{"up.common.cancel":"取消","up.common.confirm":"確定","up.common.start":"開始","up.common.end":"結束","up.common.stop":"停止","up.common.copy":"複製","up.common.none":"暫無","up.common.tip":"提示","up.common.success":"成功","up.common.fail":"失敗","up.common.close":"關閉","up.common.preview":"預覽","up.common.re-select":"重選","up.common.rotate":"旋轉","up.common.pleaseChoose":"請選擇","up.common.loading":"加載中","up.common.loading2":"正在加載","up.common.inOperation":"操作中","up.common.settings":"設置","up.common.retry":"重試","up.common.search":"搜索","up.common.more":"更多","up.common.video":"視頻","up.common.file":"文件","up.week.one":"一","up.week.two":"二","up.week.three":"三","up.week.four":"四","up.week.five":"五","up.week.six":"六","up.week.seven":"日","up.barcode.error":"生成條碼失敗","up.calendar.chooseDates":"日期選擇","up.calendar.disabled":"該日期已禁用","up.calendar.daysExceed":"選擇天數不能超過{days}天","up.cityLocate.locateCity":"定位城市","up.cityLocate.fail":"定位失敗,請點擊重試。","up.cityLocate.locating":"定位中","up.code.send":"獲取驗證碼","up.code.resendAfter":"X秒重新獲取","up.code.resend":"重新獲取","up.cropper.emptyWidhtOrHeight":"裁剪框的寬或高沒有設置","up.empty.car":"購物車為空","up.empty.page":"頁面不存在","up.empty.search":"沒有搜索結果","up.empty.address":"沒有收貨地址","up.empty.wifi":"沒有WiFi","up.empty.order":"訂單為空","up.empty.coupon":"沒有優惠券","up.empty.favor":"暫無收藏","up.empty.permission":"無權限","up.empty.history":"無歷史記錄","up.empty.news":"無新聞列表","up.empty.message":"消息列表為空","up.empty.list":"列表為空","up.empty.data":"數據為空","up.empty.comment":"暫無評論","up.link.copyed":"鏈接已複製,請在瀏覽器打開","up.loadmoe.loadmore":"加載更多","up.loadmoe.nomore":"沒有更多了","up.noNetwork.text":"哎呀,網絡信號丟失","up.noNetwork.pleaseCheck":"請檢查網絡,或前往","up.noNetwork.connect":"網絡已連接","up.noNetwork.disconnect":"無網絡連接","up.pagination.previous":"上一頁","up.pagination.next":"下一頁","up.pullRefresh.pull":"下拉刷新","up.pullRefresh.release":"釋放刷新","up.pullRefresh.refreshing":"正在刷新","up.readMore.expand":"展開閱讀全文","up.readMore.fold":"收起","up.search.placeholder":"請輸入關鍵字","up.signature.penSize":"筆畫大小","up.signature.penColor":"筆畫顏色","up.upload.sizeExceed":"超過大小限制","up.upload.uploading":"上傳中","up.upload.previewImageFail":"預覽圖片失敗","up.upload.previewVideoFail":"預覽視頻失敗","up.goodsSku.stock":"庫存","up.goodsSku.price":"價格","up.goodsSku.amount":"件","up.goodsSku.choosed":"已選","up.goodsSku.buyAmount":"購買數量"},"zh-Hans":{"up.common.cancel":"取消","up.common.confirm":"确定","up.common.start":"开始","up.common.end":"结束","up.common.stop":"停止","up.common.copy":"复制","up.common.none":"暂无","up.common.tip":"提示","up.common.success":"成功","up.common.fail":"失败","up.common.close":"关闭","up.common.preview":"预览","up.common.re-select":"重选","up.common.rotate":"旋转","up.common.pleaseChoose":"请选择","up.common.loading":"加载中","up.common.loading2":"正在加载","up.common.inOperation":"操作中","up.common.settings":"设置","up.common.retry":"重试","up.common.search":"搜索","up.common.more":"更多","up.common.video":"视频","up.common.file":"文件","up.week.one":"一","up.week.two":"二","up.week.three":"三","up.week.four":"四","up.week.five":"五","up.week.six":"六","up.week.seven":"日","up.barcode.error":"生成条码失败","up.calendar.chooseDates":"日期选择","up.calendar.disabled":"该日期已禁用","up.calendar.daysExceed":"选择天数不能超过{days}天","up.cityLocate.locateCity":"定位城市","up.cityLocate.fail":"定位失败,请点击重试。","up.cityLocate.locating":"定位中","up.code.send":"获取验证码","up.code.resendAfter":"X秒重新获取","up.code.resend":"重新获取","up.cropper.emptyWidhtOrHeight":"裁剪框的宽或高没有设置","up.empty.car":"购物车为空","up.empty.page":"页面不存在","up.empty.search":"没有搜索结果","up.empty.address":"没有收货地址","up.empty.wifi":"没有WiFi","up.empty.order":"订单为空","up.empty.coupon":"没有优惠券","up.empty.favor":"暂无收藏","up.empty.permission":"无权限","up.empty.history":"无历史记录","up.empty.news":"无新闻列表","up.empty.message":"消息列表为空","up.empty.list":"列表为空","up.empty.data":"数据为空","up.empty.comment":"暂无评论","up.link.copyed":"链接已复制,请在浏览器打开","up.loadmoe.loadmore":"加载更多","up.loadmoe.nomore":"没有更多了","up.noNetwork.text":"哎呀,网络信号丢失","up.noNetwork.pleaseCheck":"请检查网络,或前往","up.noNetwork.connect":"网络已连接","up.noNetwork.disconnect":"无网络连接","up.pagination.previous":"上一页","up.pagination.next":"下一页","up.pullRefresh.pull":"下拉刷新","up.pullRefresh.release":"释放刷新","up.pullRefresh.refreshing":"正在刷新","up.readMore.expand":"展开阅读全文","up.readMore.fold":"收起","up.search.placeholder":"请输入关键字","up.signature.penSize":"笔画大小","up.signature.penColor":"笔画颜色","up.upload.sizeExceed":"超过大小限制","up.upload.uploading":"上传中","up.upload.previewImageFail":"预览图片失败","up.upload.previewVideoFail":"预览视频失败","up.goodsSku.stock":"库存","up.goodsSku.price":"价格","up.goodsSku.amount":"件","up.goodsSku.choosed":"已选","up.goodsSku.buyAmount":"购买数量"}}};function Xc(e,t={}){if(e){let o=Jc.lang;Jc.locales[Jc.lang]||(o="zh-Hans");let n=Jc.locales[o][e]||e;return Object.keys(t).forEach(e=>{const o=new RegExp(`{${e}}`,"g");n=n.replace(o,t[e])}),n}return e}Co.onLocaleChange(e=>{Jc.lang=e});const Gc={calendar:{title:Xc("up.calendar.chooseDates"),showTitle:!0,showSubtitle:!0,mode:"single",startText:Xc("up.common.start"),endText:Xc("up.common.end"),customList:[],color:"#3c9cff",minDate:0,maxDate:0,defaultDate:null,maxCount:Number.MAX_SAFE_INTEGER,rowHeight:56,formatter:null,showLunar:!1,showMark:!0,confirmText:Xc("up.common.confirm"),confirmDisabledText:Xc("up.common.confirm"),show:!1,closeOnClickOverlay:!1,readonly:!1,showConfirm:!0,maxRange:Number.MAX_SAFE_INTEGER,rangePrompt:"",showRangePrompt:!0,allowSameDay:!1,round:0,monthNum:3,weekText:[Xc("up.week.one"),Xc("up.week.two"),Xc("up.week.three"),Xc("up.week.four"),Xc("up.week.five"),Xc("up.week.six"),Xc("up.week.seven")],forbidDays:[],forbidDaysToast:Xc("up.calendar.disabled"),monthFormat:"",pageInline:!1}},Zc={code:{seconds:60,startText:Xc("up.code.send"),changeText:Xc("up.code.resendAfter"),endText:Xc("up.code.resend"),keepRunning:!1,uniqueKey:""}},eu={datetimePicker:{show:!1,popupMode:"bottom",showToolbar:!0,value:"",title:"",mode:"datetime",maxDate:new Date((new Date).getFullYear()+10,0,1).getTime(),minDate:new Date((new Date).getFullYear()-10,0,1).getTime(),minHour:0,maxHour:23,minMinute:0,maxMinute:59,filter:null,formatter:null,loading:!1,itemHeight:44,cancelText:Xc("up.common.cancel"),confirmText:Xc("up.common.confirm"),cancelColor:"#909193",confirmColor:"#3c9cff",visibleItemCount:5,closeOnClickOverlay:!1,defaultIndex:[],inputBorder:"surround",disabled:!1,disabledColor:"",placeholder:Xc("up.common.pleaseChoose"),inputProps:{},pageInline:!1}},{color:tu}=nc,ou={icon:{name:"",color:tu["u-content-color"],size:"16px",bold:!1,index:"",hoverClass:"",customPrefix:"uicon",label:"",labelPos:"right",labelSize:"15px",labelColor:tu["u-content-color"],space:"3px",imgMode:"",width:"",height:"",top:0,stop:!1}},nu={keyboard:{mode:"number",dotDisabled:!1,tooltip:!0,showTips:!0,tips:"",showCancel:!0,showConfirm:!0,random:!1,safeAreaInsetBottom:!0,closeOnClickOverlay:!0,show:!1,overlay:!0,zIndex:10075,cancelText:Xc("up.common.cancel"),confirmText:Xc("up.common.confirm"),autoChange:!1}},{color:ru}=nc,iu={link:{color:ru["u-primary"],fontSize:15,underLine:!1,href:"",mpTips:Xc("up.link.copyed"),lineColor:"",text:""}},{color:su}=nc,au={actionSheet:{show:!1,title:"",description:"",actions:[],nameKey:"name",subnameKey:"subnameKey",index:"",cancelText:"",closeOnClickAction:!0,safeAreaInsetBottom:!0,openType:"",closeOnClickOverlay:!0,round:0,wrapMaxHeight:"600px"},album:{urls:[],keyName:"",singleSize:180,multipleSize:70,space:6,singleMode:"scaleToFill",multipleMode:"aspectFill",maxCount:9,previewFullImage:!0,rowCount:3,showMore:!0,autoWrap:!1,unit:"px",stop:!0},alert:{title:"",type:"warning",description:"",closable:!1,showIcon:!1,effect:"light",center:!1,fontSize:14,transitionMode:"fade",duration:0,icon:"",value:!0},avatar:{src:"",shape:"circle",size:40,mode:"scaleToFill",text:"",bgColor:"#c0c4cc",color:"#ffffff",fontSize:18,icon:"",mpAvatar:!1,randomBgColor:!1,defaultUrl:"",colorIndex:"",name:""},avatarGroup:{urls:[],maxCount:5,shape:"circle",mode:"scaleToFill",showMore:!0,size:40,keyName:"",gap:.5,extraValue:0},backtop:{mode:"circle",icon:"arrow-upward",text:"",duration:100,scrollTop:0,top:400,bottom:100,right:20,zIndex:9,iconStyle:{color:"#909399",fontSize:"19px"}},badge:{isDot:!1,value:"",show:!0,max:999,type:"error",showZero:!1,bgColor:null,color:null,shape:"circle",numberType:"overflow",offset:[],inverted:!1,absolute:!1},button:{hairline:!1,type:"info",size:"normal",shape:"square",plain:!1,disabled:!1,loading:!1,loadingText:"",loadingMode:"spinner",loadingSize:15,openType:"",formType:"",appParameter:"",hoverStopPropagation:!0,lang:"en",sessionFrom:"",sendMessageTitle:"",sendMessagePath:"",sendMessageImg:"",showMessageCard:!1,dataName:"",throttleTime:0,hoverStartTime:0,hoverStayTime:200,text:"",icon:"",iconColor:"",color:"",stop:!0},...Gc,carKeyboard:{random:!1},card:{full:!1,title:"",titleColor:"#303133",titleSize:"15px",subTitle:"",subTitleColor:"#909399",subTitleSize:"13px",border:!0,index:"",margin:"15px",borderRadius:"8px",headStyle:{},bodyStyle:{},footStyle:{},headBorderBottom:!0,footBorderTop:!0,thumb:"",thumbWidth:"30px",thumbCircle:!1,padding:"15px",paddingHead:"",paddingBody:"",paddingFoot:"",showHead:!0,showFoot:!0,boxShadow:"none"},cell:{customClass:"",title:"",label:"",value:"",icon:"",disabled:!1,border:!0,center:!1,url:"",linkType:"navigateTo",clickable:!1,isLink:!1,required:!1,arrowDirection:"",iconStyle:{},rightIconStyle:{},rightIcon:"arrow-right",titleStyle:{},size:"",stop:!0,name:""},cellGroup:{title:"",border:!0,customStyle:{}},checkbox:{name:"",shape:"",size:"",checkbox:!1,disabled:"",activeColor:"",inactiveColor:"",iconSize:"",iconColor:"",label:"",labelSize:"",labelColor:"",labelDisabled:""},checkboxGroup:{name:"",value:[],shape:"square",disabled:!1,activeColor:"#2979ff",inactiveColor:"#c8c9cc",size:18,placement:"row",labelSize:14,labelColor:"#303133",labelDisabled:!1,iconColor:"#ffffff",iconSize:12,iconPlacement:"left",borderBottom:!1},circleProgress:{percentage:30},...Zc,codeInput:{adjustPosition:!0,maxlength:6,dot:!1,mode:"box",hairline:!1,space:10,value:"",focus:!1,bold:!1,color:"#606266",fontSize:18,size:35,disabledKeyboard:!1,borderColor:"#c9cacc",disabledDot:!0},col:{span:12,offset:0,justify:"start",align:"stretch",textAlign:"left"},collapse:{value:null,accordion:!1,border:!0},collapseItem:{title:"",value:"",label:"",disabled:!1,isLink:!0,clickable:!0,border:!0,align:"left",name:"",icon:"",duration:300,showRight:!0,titleStyle:{},iconStyle:{},rightIconStyle:{},cellCustomStyle:{},cellCustomClass:""},columnNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80,step:!1,duration:1500,disableTouch:!0,justifyContent:"flex-start"},countDown:{time:0,format:"HH:mm:ss",autoStart:!0,millisecond:!1},countTo:{startVal:0,endVal:0,duration:2e3,autoplay:!0,decimals:0,useEasing:!0,decimal:".",color:"#606266",fontSize:22,bold:!1,separator:""},...eu,divider:{dashed:!1,hairline:!0,dot:!1,textPosition:"center",text:"",textSize:14,textColor:"#909399",lineColor:"#dcdfe6"},empty:{icon:"",text:"",textColor:"#c0c4cc",textSize:14,iconColor:"#c0c4cc",iconSize:90,mode:"data",width:160,height:160,show:!0,marginTop:0},form:{model:{},rules:{},errorType:"message",borderBottom:!0,labelPosition:"left",labelWidth:45,labelAlign:"left",labelStyle:{}},formItem:{label:"",prop:"",rules:[],borderBottom:"",labelPosition:"",labelWidth:"",rightIcon:"",leftIcon:"",required:!1,leftIconStyle:""},gap:{bgColor:"transparent",height:20,marginTop:0,marginBottom:0,customStyle:{}},grid:{col:3,border:!1,align:"left"},gridItem:{name:null,bgColor:"transparent"},...ou,image:{src:"",mode:"aspectFill",width:"300",height:"225",shape:"square",radius:0,lazyLoad:!0,showMenuByLongpress:!0,loadingIcon:"photo",errorIcon:"error-circle",showLoading:!0,showError:!0,fade:!0,webp:!1,duration:500,bgColor:"#f3f4f6"},indexAnchor:{text:"",color:"#606266",size:14,bgColor:"#f1f1f1",height:32},indexList:{inactiveColor:"#606266",activeColor:"#5677fc",indexList:[],sticky:!0,customNavHeight:0,safeBottomFix:!1,itemMargin:"0rpx"},input:{value:"",type:"text",fixed:!1,disabled:!1,disabledColor:"#f5f7fa",clearable:!1,password:!1,maxlength:140,placeholder:null,placeholderClass:"input-placeholder",placeholderStyle:"color: #c0c4cc",showWordLimit:!1,confirmType:"done",confirmHold:!1,holdKeyboard:!1,focus:!1,autoBlur:!1,disableDefaultPadding:!1,cursor:-1,cursorSpacing:30,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,inputAlign:"left",fontSize:"15px",color:"#303133",prefixIcon:"",prefixIconStyle:"",suffixIcon:"",suffixIconStyle:"",border:"surround",readonly:!1,shape:"square",formatter:null,cursorColor:"#53c21d",passwordVisibilityToggle:!0},...nu,line:{color:"#d6d7d9",length:"100%",direction:"row",hairline:!0,margin:0,dashed:!1},lineProgress:{activeColor:"#19be6b",inactiveColor:"#ececec",percentage:0,showText:!0,height:12,fromRight:!1},...iu,list:{showScrollbar:!1,lowerThreshold:50,upperThreshold:0,scrollTop:0,offsetAccuracy:10,enableFlex:!1,pagingEnabled:!1,scrollable:!0,scrollIntoView:"",scrollWithAnimation:!1,enableBackToTop:!1,height:0,width:0,preLoadScreen:1},listItem:{anchor:""},...{loadingIcon:{show:!0,color:su["u-tips-color"],textColor:su["u-tips-color"],vertical:!1,mode:"spinner",size:24,textSize:15,text:"",timingFunction:"ease-in-out",duration:1200,inactiveColor:""}},...{loadingPage:{loadingText:Xc("up.common.loading2"),image:"",loadingMode:"circle",loading:!1,bgColor:"#ffffff",color:"#C8C8C8",fontSize:19,iconSize:28,loadingColor:"#C8C8C8",zIndex:10}},...{loadmore:{status:"loadmore",bgColor:"transparent",icon:!0,fontSize:14,iconSize:17,color:"#606266",loadingIcon:"spinner",loadmoreText:Xc("up.loadmoe.loadmore"),loadingText:Xc("up.common.loading2")+"...",nomoreText:Xc("up.loadmoe.nomore"),isDot:!1,iconColor:"#b7b7b7",marginTop:10,marginBottom:10,height:"auto",line:!1,lineColor:"#E6E8EB",dashed:!1}},...{modal:{show:!1,title:"",content:"",confirmText:Xc("up.common.confirm"),cancelText:Xc("up.common.cancel"),showConfirmButton:!0,showCancelButton:!1,confirmColor:"#2979ff",cancelColor:"#606266",buttonReverse:!1,zoom:!0,asyncClose:!1,closeOnClickOverlay:!1,negativeTop:0,width:"650rpx",confirmButtonShape:"",duration:400,contentTextAlign:"left",asyncCloseTip:Xc("up.common.inOperation")+"...",asyncCancelClose:!1,contentStyle:{}}},...{navbar:{safeAreaInsetTop:!0,placeholder:!1,fixed:!0,border:!1,leftIcon:"arrow-left",leftText:"",rightText:"",rightIcon:"",title:"",titleColor:"",bgColor:"#ffffff",titleWidth:"400rpx",height:"44px",leftIconSize:20,leftIconColor:jc.mainColor,autoBack:!1,titleStyle:""}},...{noNetwork:{tips:Xc("up.noNetwork.text"),zIndex:"",image:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQAAAABAAABLAAAAADYYILnAABAAElEQVR4Ae29CZhkV3kefNeq6m2W7tn3nl0aCbHIAgmQPGB+sLCNzSID9g9PYrAf57d/+4+DiW0cy8QBJ06c2In/PLFDHJ78+MGCGNsYgyxwIwktwEijAc1ohtmnZ+2Z7p5eq6vu9r/vuXWrq25VdVV1V3dXVX9Hmj73nv285963vvOd75yraeIEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQaD8E9PbrkvRopSMwMBBYRs+5O/yJS68cPnzYXel4tFP/jXbqjPRFEAiCQNe6Bw/6gdFn9Oy9Q90LLG2DgBBW2wyldIQIPPPCte2a5q3jtR+4ff/4wuBuXotrDwSEsNpjHKUXQODppy+udYJMEUEZgbd94DvnNwlA7YGAEFZ7jOOK78Xp06eTTkq7sxwQhmXuf/754VXl4iSstRAQwmqt8ZLWlkHg0UcD49qYfUjXfLtMtOZ7npExJu4iqZWLl7DWQUAIq3XGSlpaAYHD77q8xwuCOSUoXw8Sl0eMux977DGzQjES3AIICGG1wCBJEysj8PXnz230XXdr5RQFMYbRvWnv6w8UhMhliyGwYghr4Pjg3oEXL34ey9zyC9tiD2ml5h47dr1LN7S6CMjz/A3PvHh1Z6UyJby5EVgRhKUe7Kz/JU0LfvrJo5f+Y3MPibSuFgQGBgasYSd9l6GDsup0WS/T/9RTp9fXmU2SNwECdQ92E7S57iaMeJnPQLK6ixkDLfjlb7546RfrLkQyNBcC3dsP6oHWMd9G+V3JgwPHh7rnm1/yLQ8CbU9Y33zp0j+nZFUMb/DHmB7+SHGY3LUKAk8cObtD00xlHDrfNge+Z2ozU3c9dvx4Yr5lSL6lR6CtCWvg6OAPw9z538ZhhZRl6XrwhW8du1KX/iNejtwvPQIDR8+vSRqJ/obU7GupjdNdh2gW0ZDypJBFR6BtB2rg2OVtuub9JcmpHIpBoK1xfffLzx4f7C0XL2HNiYDp6bs9z23Ypn1fC1Y/9PCFDc3ZW2lVHIG2JKzTp4Ok7nv/G6Q054MIvda+bNb74pEgKGtwGAdL7pcfAa8vOKEZ2kyjWuLr7uDh+/qvN6o8KWdxEWhLwroyeek/g4zuqwU6kNrhyZcu/UktaSXN8iNwuL9/RuvVXtJ9PbPQ1vhmcP6t9+47u9ByJP/SIdB2hDVw9MJHQFYfrQdCph84evFX68kjaZcPAZJWwjMXRFpJ2zr91tfuvrh8vZCa54NA2xGWrunvmg8QWCJ/N4ir7fCYDxatkOeBB7an501agXbygVdvv9IK/ZQ2FiPQdi9osGbH+zRNf7y4m9Xu9Me7N9nv0HXdr5ZS4psHgXpJC9P/wDRTx0Vn1TxjWG9LGrbaUm/Fi5meSvcrkxf/Cg/ow9XqAUk91v3qHT97r6471dJKfHMi8Oyzgx1Z03t1YAQVT2MwgsC3u+yXHzi0faQ5eyGtqgWBtpOw2Ol9+/TM+sTOn8L08MtzgQCy+tOHXr3jA0JWc6HU/HF5Scssr4jXcYqfP6V/T8iq+ceyWgvbUsKKOn38eJAYyl56TAuCEr2WYei//9Crd/5GlFb81kdASVopSFrerKRlaoZj9HR+700H10+0fg+lB21NWBxe2lhNHsUpDZr27mi4dV379R9+za4/iO7Fbx8ECknLCPTsTDJ17O33bJpqnx6u7J60PWFxeAcCbMV56dJfQKf1bkMLfuGh1+76zMoe9vbuPUnLsb2DtmOe5HSxvXsrvWtLBEhaTx29+Ma27Jx0ShAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQaEsEVoQdVluO3BJ06ptHL34b1XRjp4Ch6Rq24+kmjG4Nwwg+9uA9u/73EjRBqhAEihAoe3xwUQq5WTYEzp0b3ZnV/Ncf6O/9AvY9wlh/6dy3X7ncN512Zw9BVLXjuAP4np44vnQtkZoEgVkEhLBmsWiKqwsXpjbPBOn3gRfenwnc+7GBe+zsjclvonFDS9nA9Iy/u3x9+vAP3735VPk4CRUEFhcBIazFxbfm0k9fHD7k+v4nQFaPQIrx8Gmyx/GJ0J/t7ez7mw0b9MmaC2pQQgh0/ZSm4g5TwueWWtqLt0HuVy4CQljLPPYnB0depTn+b3t+8B4t0AdBUv93h2H9xc6da0aXs2m+r1WQsLRnl7NdUvfKRkAIa5nG//r1oGtsZvjTgev/kqYHF/TA+AXoqv4npJemOEiQU1Eo2l+G0movBK1UBBPU7s9E1+ILAkuNgKwSLjXiqO/khVtvARH8dxDBRkMzPrF/V+9/BlG5y9CUqlXinHv9mRPXtvuus88L9H3JPv2zD2yXExCqAicJBIFWRwAvv3Xqwq0/Pnn+lv/K+ZvfPH3p9p5W75O0fxaBp793ce3AwIDMWmYhafiVgNtwSMsXeHp4eNXJC8Nf0PAdRCiuf/XgrnWUqsqotcvnl9DmRkCdweX4b9N7+m/ih+mbMraLM14yJVwcXItKpT1VRve+ArC3Qqn+3gM7132jKEGZm6tXg86J7OhDfuA/iHwPUpfUZSfu2L59tXxEoQxeyxkEgjKeOnLxHb4RqC+NY5H3+2953d4XlrNN7Vq3ENYij+yZwbG9jpt9GkBPQ5H9zgP9607OVeWp87cOQtn9zwJf+xDMNFfj+jryPqXpxj8c2Nn7P+SXey70lidu4IXzb0DNB4tr9751+HV7zxSHyd1CERDCWiiCc+QPjUCnsaqmZ62O5IN7N/VUNP48ee7mAZDTf4Tt049iUG4Guv4ZfNLos9UIbo7qJWoJEHjy+bP7fNsoOcnW0A0/aacef8PdG28sQTNWTBVCWIs01OfPj66BpfqTmq732UnjgT1bei+Vq4pTv7HM8Ceg2/o1qLQug7T+FaaM3IqTLZdewpoHgYEjV9fphvOj+OShWa5V+CxvZtpzv/LwG/aNl4uXsPoRwI+4uEYjAJ2GmdG8L0FK2mYa+tsrkdXZy+P7x2ZuHdW14P+BLdank9q6Qwd3rf+ckFWjR6Tx5Q2cP58K9Jm3VCIr1ogt48lO237r3//96YofeG18y9q7RFklXITxPXV+5DchKb3ZDMy37Nu5tuxG4R9cHH6b42QfAzlds+3EPXu2rfrBIjRFilwkBIIR7SHoJDurFU89ZOd680Gke6JaWomvjoBIWNUxqivFD87fej0e0n8Fwvr0/t1rnyqX+QfnRz7g+8FX8Rv8vL3auF/IqhxKzR2WCPxXqKeq3krDTdj2ierpJEUtCIgOqxaUakwzNBR0D09yiqePHOjveyOkpxLr9VMXb73V97S/h3nDXx7Y2fdPkAYbncW1IgIDxy5vM7LZt/hgrnLtxyaBrJNxv/72N+6tuNhSLp+EVUZACKsyNnXHvHL+1qcgNf2KbSXu2bt9dcmS9qlzo/fARgcmCtpzB3b1/Vg5QiuslLowENyDWDn8cSjl98PgdBviu03N+rl9/WufLEwr18uDwLdevLTF1YK3xnVZ2HI1bUxrT7z5zTuXdRP78qCyeLUKYTUI25OXbm4JPO00TBj+6I7+db8ZL3ZwMOiYdG4dA1lN9HWte2iuI2NAVPapC8O/CGPR34Ip/AZIbIMo7yX8G9QMbcS09P+2b1vf5XgdrXaPfiYns9oeLLEd8D1/B7Dp0E1jGP042pXQj7RKf546cmGzp+tv1TRf6YQD35/QO3seP3xow5IfC9QqmM23naJ0ny9ysXwgq98BWc0kVhv/Nhalbqe8kd/Fr8MOSEr3zEVWrwyO3I29hl+E9LUHGf+nAXI6sGPdd8uV2YphIKnE5IyL6bLxk7cn3bdkHHefrpvJAExMZ1uBZmqeNzXtfzUzk/m/ens7LjV7Px+8d9e1579/44l0duZtge+Np5zEEw8c2pBu9na3YvtEwmrAqNE8IZvNHsep5//yjl3r/0O8yFOXbv0QCO05gP0JGIL+fjw+uj91YeRh/Dp/PtCDM7Zpfmjvjt6Xo7hW9ycmJjaYduf7Hdf/8HTGfa3rG9rYxLSWnsloPg7fijZV8oFM2Ja2a9t6EJd7bCztvHP7us4rrdD/r3/7ct9I99jEI4cOiQ3dIg2YEFYDgOUJDFj1e8TqX7cT4kImXuQr5279A4DeBEX8ayvprU4N3rovcALot/TH13T0fXDTJn0qXk4r3k9OTm4y7a6PzjjORzOOvn1kbEqbnEprPhRzwAKzwFLHk05hv6Yd6N+o3R6beG50aPSdr3qV6IJKkVp5ITIlXOCYn4Yexr0w/DO6YXymHFlR0e5r7tsM3fxgJbI6fW1ivTeT+SsYmr54cFff+5Cu5X+hb94Merp6/J/PusGvTE6724eGJ7RpSFOkKPCUZvBPBccoHBet3Rwe13rX9tw/PjXzZ5hKvr8SfhWKkeA2REAIa4GD6p0feRdWBnvxjv2PckVhVfBf4A29uG/X2i+Ui2eYn8n8NryuDr3jPfWSFV5k44UT137eshIP2K7/64cObbheqZ6lCp+Ydt8TBO7vTM5od1+/NR4SFVhoLpKKt410lnE8LTMzo3V2dLznxLkhYgQ9obiVjEDln7mVjEodfYcpw+MAsftg/7qSDbAnb97sCSb0Yei2fqOcbovVqKNnNO8HmAE9Cv3Wp+uoWjt27HpXNqH9WTKR+kBHKqEFbvo5y3N/avfu4g23R45f3WGa1k9ZicTd0zPTf/f6O7f8dT311Jp2fHzmgJlI/N70jPPe4bEZ6Kg4qw0lqlrLiNKBiLWerpTW25PUbkPXZViW62ecHz+4d8PXojTirzwEyhq8rTwYFtRjvpX/rlwJ+iSXugPbMuyKBOHo3geRJtuT7PujcmVUCuPJlhnL/9NUqvMD2eyM5sxMaIlE4n7XML907tyNjcxHQjty4sZv66Z1xEok/xNW5n4uZSf+8sT5m++vVO58wkEu5sR09pd9w/rWyET2vReujiqygrSopn/zKZN5qMeirotKeTyolm7p/+X06Wvr51ue5Gt9BISwFjiGsLl6N6SrvylXDNTK70D4mX071pwtF88w6Jd/DG/1E1u26NOV0pQL71y3/8PJVOcHMzPTWkcCH2YGOaTTaS2RTN6f1fQvvvDK1bdnbO2JZCr1SeRfn05Pa1PTU0gXJBKW+ecnzlxvCGndhFQ1NRP8bcY1/vjS9bF1V26MwHwsVKiXa3etYVw1TNhYJ3TDjQCO42jJVMcez7J+t9YyJF37ISCEtahjGjxkGDr2DJZ31D8h5vUQJL5RPkXlUMM07u3qSGidICvkzzuSlmlZb0olrK9hD9v9JCrPC196JoPMAolFg6CV+PPj54YeyWecx8Vk2v1Q0rSfhFT18LnBmzBRyNalp5qrSuq7kiAsh4SFa7oZ9M0wzI+cPHOjZPo9V1kS1z4ICGEt4lhiCvZrSa2jol7qzPXJPk6nIGbVbWfUvcr7hO9MP97ZVXpggOu6ajplYStj7l1XvbRMXbPAbp6HzSSBlkraNknrvfVCcPt2sHYi7f3pTDb47KUbYxuvKqkKpYBXKBnV869c3WgbDEixAck0FGFFfEzJzbIsO9C1TyrcymWWsLZGIHoW2rqTzdo5dXyykz0NC8l779i5vu4zwM+eHVntGP5jqVTq/6AkVc5NZ3wNH2lVxNWZNIukMSjiNd9z0+CHp5DXAdX4SAg203w8GB5IATtODHzdK8C15kEjhXvNS9rWA11dnfcMDY9prscss48RySakrOLWqODCoIKAgkuVgsS0urtD60haeV1YYVbbtjUn6/74HXvW/11huFy3PwKzT1r797Upe3jq4sib9u9Y+wxe+vh7W1N7jx49v6ZzbffnQD4/Cj1Pfjx54XiBls6GVuTUc9mQsOIO9mPQFdkIRlz4fy5JLm2ZMOqTcJaXIqpcqnixVe+rdbZ3dbc2OT0D0wZIibHSksmklslknvx+//q3PiKnXcTQae/b+LPQ3r1t0969cOL6G7o6E09qgZegdMJBpVQ1DbKCpyUt6oPKz/4NEJalCAuZFIuEVBJd+jgLh4rvAiFqUVGkhJZMWFp3Z0obGSu/d5gSnWmavuO6h+/cvYHSobgVgoAYjrb4QPMUiGtj1/79jBMkLBwiTlMASlYzTkhWCJyTrGAyMOFkst/BoYMmuIIyGJYcMXMMdNwHPhYN1qWS1t6ZLGaKZL8yzFXTr15BooLLMugHMBRNKgW+It8y9TEcJGt4rvcRFCCEVQbFdg0Swmrxkb0+cf2XOzq73kgdFieEXF2jdEUJKQH6SVWQrNjtZDKlpTPp38U58iUbthk/Ph7sN6zg/xudSGvD4xkq6otcnnjyF0XRRTflkyC0IIJE1JG0QbqGNpMNp5xFhRTcZDNoj66988SFm5vv3LX+WkGUXLYxAuXnCW3c4XbqGs9hwjv+a9lsuN+ahOJSCoLjNDAFvVUll0p1aNPp6adTweSflEszPO48oFn+4yOTmR+6enOshKyYhzWpf/jDuuf6x2aV/qNRaPG/1d0gUXWCA0uu7GhMmkqmerEc8KOVU0lMuyFQ+Ylut562YX9Sncmf7Ojo3BDZWbGLtMkiUVXSWTFNuMqWuYG530f7+/tnGFboxsfdd9mm8XdDo9O7rg6NFq0CFqZr5DWlK9qV0fZqGvZchSuPlevB2VmG/hOV4yWm3RAQwmrhEcW64qu4ykfJho52Vp3J8quBYQooqWDKADftBd6HD+5efyoKj/zR8ew/hWXY56/cnFh7a3RCTTGjuMX0SVB9qzu1qfQM+jO3dBW1g6uVSHv/qVNX10Vh4rc3AkJYLTy+WA/8ou9kJjo7bOh+DLVFZ64TEbCyBktxI5PJZj56R//Gx+NdH5vM4vuI+p8NXh9LjU1iw3EZhXc8TyPuuV9wDaaCfBjTM06N0hVWQmHBDzvSDZ5tvqYR7ZAymh8BIazmH6OKLbzv0KZvJEz3ZzEFnEolaEtV2XEaCLKadrIz//TQnk1/EU85NuH8th8Yf4j9gMZUOrNkZEVZCnsbtTU9KW18GqcKFyjh420sd2+j33pg3F8uTsLaDwEhrBYf04O7N/2t7/o/C2FoGnsIy/YGlvAwSfCvZzLOe+8oR1ZT3u/5uvHJC9dGtJlMrfqjslXVHwjpat2aLi2rjFFLjUSrFUjlO0juddXSSXx7ICCE1QbjiHO0/hofbPgwpnDTOR2V6hWNQqGUx34890noet5yaO+Gko3Y45PO7/uB/lvnrwxrWdha1absbgxo1FWtwplXqYSJY5Nn5lU3bLHQmGA/yko0plVSSjMjIITVzKNTR9sO7dv8RSeb/T9BWmMkKv4D+YzBXuljV7yxd+zfte6VeHGKrHTz4+cv38JWmyUmKzSGG5z7VndoE7kz3uPtq+Welvhwm39weVjOyaoFsBZPI4TV4gNY2Pw79mz8KyebeRIH+VEZTaX0sf27+v794TKmCxNTzr/2NOPj5wZBVjjdYSklq6jN69dyKuhqmWztivYob+RTSkPbe/xMdlMUJn77IiCE1W5jq+s4dYEO6mzsYAmvi/+CrH7LDYxPcBq4HGTFVcG1ULLT5orS1ULIkoSFI2cMHKG8obiXcteOCAhhtdmo6gaOh4EWWlkyYU9gvHswXfgV19d/7+LVkSWfBrItJJhObL/p7elQR8fUZnEV70XxPc01sM+xrzhU7toRgZIHuh07uZL6xA3LBaYB+Ar8rBsfz34YX1j+D5eu317QNGy2xPquSE4mDuXb2IujY2AgytNE67RiKFshzuwCR5s9ZSMlsK0QEMJqq+GkBKOF5yFzRoidK5BoFCeMjM/8mG+a//Xy0Li55KYLBRiTrGjwOQ1br4VMBQuKVJeQKVPxMLlvPwSEsNpsTEECmBLSgbHUpwD1YGwse59l2p+9fmuig4fiNZIowrqq/6Xeqm9Vh9JbjcOKvqFtACX7gV8kTVZvkaRoRQSEsFpx1OZoM2iKxxuHLtDcsZlgLzYZfv7m7XSv+r7fIm234XSP/8o5ktWqzqSyZr89PoXPYDTYkZvziw0NLluKayoEyq4iNVULpTF1IaDjHHZmoAW4aep9geN8fiLt998cGYdtVp7K6iqzXGJFUCAi7jdkuapsBJKcPBwgyP8YRyV7B04Q3dDbpY3jg6gupoMNla5U41BbUN9n0sr1ScKaHwEhrOYfo7paCAW0WiWknihhW/0Tabf/6tDtxpIVSIhGnz1dSXUkDL8fSHKi4/lWPId9Kp3Vxqegp8J/m9f14D6DQ/nmb281FwgkZ1Dj7bnSSFx7ICCE1R7jmO8FJJr8jCvjeNrIxFjDJBpKVaSlXhwDw384MyucBoLAGEfHI5ptO6n1YAq4FjorH9IWjUOnFlF3pj62aui3whbI33ZGQAir/UY3XCVEvzgdw/8NcSyGUhSlpVWQrFg2p39xp0JYLyIohaXxdZ2FGofG6yi85/QS32F0Asu8URgu1+2JgCjd22xcsVElPC85169Gaa1YTkRWJKpSqooBiQQzONvq9sRULKKxtzzAEJw1api2EFZjoW3K0oSwmnJY5tcoSD09HanEDztubnfO/IopyUWC6sUmZUpW5aSqkgwgK04DxxaZrFivacCaIdAuH9zaM1rSDgloOwSEsNpoSMenvU93dXb+EE5taFivKElRqd67qrNmsqIF+yjMF/i56MV2JqadYKxXMDXM6+4Wu04pf/kQEMJaPuwbWvPticwj4Il/NnTrdl7JrqaDC5wTUle1GmdWWVCw1+JotjA6PgnThsIdQrXknF8arkJi/+R355dbcrUaArU9ha3WqxXW3tHR9C5dN//T9eEJ3aGdUwP7T0V7F86Mr0VW4mF6o2NTS/ilaB2HDmb8wA2+08AuS1FNjIAQVhMPTi1NgwRkGKbxRxMz3uaJSRzVUkumOtLwo6Zc7aOkVdEhynN9NQ1cyuNqeEqD67mX9TXGyxXbJhFthYAQVosP58S0909czfqJqzdGODVqaG/IUbCWr2p0yukfp4FUtDfeir1yl8IPUGjPHFy/fqJyKolpJwSEsFp4NEfT6Z3YBvOp8MvMc0hAi9hHNQ1cBrJil5TUZxhfXsTuSdFNhoAQVpMNSD3NMTzzU1PZYAM/ProYkg3UV5rHT8lXmA7SwnwEq4FLLVkRI04HM+n0LdvzvlEPZpK2tREQwmrR8ZucCd7hePr7rw2N5PfxLUZXON1zHKz4kb0KnIttP6Njk8tyaimbwXPrsW/yq3v3bhoqaJZctjkCQlgtOMCYCnU4GedTI+NpQ32XbxH7QOmKG5nzdIWZJz8HNkKygqI9TmSL2JSiovGVn0A39c8WBcpN2yMghNWCQ4zPc0HRbr6GEs6chJFnmfl3knZO4/hmII1B6fiFG9br0s6qAeXPp2WUrhzHeXH/jr6n5pNf8rQuAkJYLTZ2kK7Wul7w6zeGx9DyUsZovOodOizosTg1TM9k1Wogpa7lIisOF+w48E/7E5B1Y/cgtdizsBKbK6c1tNioT6X9n3MDcyePOo7OoJqrC6S0+ZIYV+GSOHxvc18PJCxXG4ed13I727axqTp9yk9rX1jutkj9S4+ASFhLj/m8axwdDdbgELxfGsLpoZyqVXPVU1QugVJUV0dC27p+FaaBWWxknq6ceAljTNMiAf/BoUMbJpewWqmqSRAQCatJBqKWZpgJ731Zx9pJM4aK0hXe5vlKVFEbKFlxs3PvqpSSqpbzKztRm+gnEkktnU6/2GFMfa4wXK5XDgJCWC0y1iAR6/Z49iOjY7C5qkG6mk+3SFQGlEP8FFdnygrNFqBsn1OxP5+K5pGHbcBhqhT8fqu/v39mHkVIljZAQAirRQYx7Wj3Zj3tddQjVVJ4l50CMjHe8mqOTJCCvmoTyIrENXx7Uinbm4Gs2PZUqkObnp76i0N7N36tWl8kvn0RaGnCGhgILKPn3B3+xKVXDh8+nPseX3sOlpt13+P4uonv71WeDqLr1ampFB8S1JrulNaHc9rTMxltcpofOeWns0rTLkeIZUHRnpm5YibMf7kc9UudzYNAyyrd8ZLpWvfgQT8w+oyevXeo++bBtaEtQd9s1/ffRsV3I6eDJCp+nourgH04UZQnhIYfWm1o8xdUGCU8/E/bil89sH3dlQUVJplbHoGWJaxnXri2HTvd1nEEcCBS3z++MLi75UejQgcmJjL92ax/gNJPo6QekhVXAbdvXI3D+XQ1Bcxiu02zTAEjKFIdHTQS/S8Hd2/4YhQm/spFoCUJ6+mnL651gkwRQRmBt33gO+c3teNQYin/oG6aKX5rcKEukqqoWN+Ij5vy81v8UATDG0WGC21jlJ96K6wKPpWd8H8jChN/ZSPQcoR1+vTppJPS7iw3bIZl7n/++eFV5eJaOczX9Z2YvM1LPxWpocBHKv8qHHdMqSphGUqqahaThfj40ITBcbLnsDj6oXvu2bS4n96JVy73TYtASxHWo48GxrUx+5Cu+XY5RH3PMzLGxF0ktXLxrRoGNVPPfNtOolIrgElLGYH2wbZqcipdIFVFlDbfGhqfj9bskCaHHS/7gTt3r73Y+BqkxFZFoKUI6/C7Lu/Bl1jmlKB8PUhcHjHufuyxx/g5lbZw+BL7bX4EoiZqyS0T0uM0j1+82QSl+ua+bhxj7GjD2LicwWkLzaarigbKsmDJ7gcTmezMBw/t3ixntUfAiK8QaBmzhq8/f26j77pbaxo3w+jetPf1B5D2RE3pmzyR4/nH+Mti4Wx1dUrCHO0lSVGqskFUnakkpn6mhu086jgYHkWTW3Wbo4Tli6L5gqYHE47vfeDufVv+YflaIjU3KwItIWEdO3a9Szc0ElDNDqcLbHjmxas7a87QxAnX9ljfxcr+Mzs29ykpi1O8iJjoR/cm5o7dnUl89LRLW93dyWmVIip+Kp7pmlWqIvQ8Mga9Gslm3Efu3LX+K008HNK0ZUSgplnGMrZPGxgYsIKeXa/TA61jPu0w0+7xBx/cd3M+eZspD0wbDgWm+RXP13cODY/jWGKuGAb48jG+agNpilbqlKZoWDqDY2AyjtNUlupzYZlKpXgaxIVMNv0zd+/d+uxcaSVuZSPQ/IT13TN34QRvZW81n6HSDdMLUqmjh9tgd//Fi8OHEl3JL3Z2dh3MzGA7XU664llVWRz/QhLjNYmsmaWp/DjCjqIDdlaZTOZZ1/A+fGj7hjP5OLkQBMog0NSE9cSRszuswNhdpt31BRnazM3U9IuPHDrUuG+419eChqU+cvzqjp7u5P9KJpMPpqc51Zv9QntLkFQBEqZluVCw/7nhaP9i376+8YIouRQEyiLQtIQ1cPT8GjOw7vE8tyFtxBrb2MBXdh579FF99g0vC0nzB548ebNHT2l/aFmJj1BPBYyav9EFLaQ+jdPAVNL8/pZ13a8qiJLLOhAAjvrTRy/d0enbF+69d0tzHFhWR/vnk7Rple6mp+9uFFkRGF8LVj/08IUN8wGp2fIcPLh+4sCu9R+F3ucj0MLf4vaVVnChqYWmdaQS2jpY2vd0djh86Vqh7c3Yxm8dudTPxaW0lrn7yJEjZW0Tm7HdC2lT0xKW1xecgHE3FDWNcb7uDh6+r/96Y0prjlIO7ur7TOD5b3ayzt9ylY0Gl83qKFXZsCXrXdOlrV3djf2LBr556JOshLDmMWhPPXV6vav5O5jVxYLUhNl3iIbV8yiqpbI0bQcP85C2Xu0l3dczC0XUN4Pzb71339mFltOM+Q/0rzu5f2fvu1zH+QDOt3uZ0pbVRMRFouJK5qqeTkhVqyBdtdUmhGV5JI4cudrpd5kHiyp3tTU/8s6r+4rC2vCmaQmLWJO0Ep65INJK2tbpt75298U2HLuiLh3oX/95L+0/kHUyvwTieiUJHVEimVzy1UKeWMqv2pCoKEVFRNXT1aHawnBx80eAZj7TwcxdAc5Gi5fiaNnNT37nCk4xaV/X1IRF2B94YHt63qQVaCcfePX2K+07fMU9U7qtHev+xE/7r3cc70O+6w1gxuV0dHZiusgvJS/O7IskRXLs6KCxqj+B26t9a3uUREWi4plbQlTFYzXvu+7tB3EIUGel/L6e3TNw5NS8zYAqldss4YvzBC9C7559drAja3qvDoyg6pwCP+KBZaVOPPjazS1vMLpQKE9fuPnawDB+EqehPwzWuAuSl8LPg90WVxhJJPWQCUmPBAWTBEz1TFUGpqO3wYYvIPgr2az35a2b1/50V6f1e1NTlVcvEzB0xRekj67usu5FmS2/crvQcaol/zeeObfTSOj91dIq28PxiaOHDx9quy8LtQxhcZBqIS0Dhkl2l/3yA4e2j1Qb2JUUD1Iyz1waOQib0vsxKXsAFvH3wMB0JySwtZC+DBPTN5BOCEnhrI1BuKe9l6tIzsVCiD6E0DOabrwI2elZ09aP7N3aNxjheXvK+a1OENa0EFYEyYL9rz072Ju03ZpNQKj7Xd899cKhNrA9LASvZTY/s9GcHoK0XsrakLS8UklLxyl+/rj+/Qfu2367sJNyTS7SuZfneO7ffweBGScu3NwAqWgrTvTc5jjBZmw87tMCfRXYKQWOgula4OiBOQUZ7DZuhrAGdQXxV0zPuCaGnkv3VPGHOpPw7+QPR62OM5HhdNddGOeX2kmCbSnC4mDlSStVTFr4eLljdHV+702vWz9R66Cu5HS5h5hmHvz3QiOxwJTRo2BGgY06dm7OVhewYGAY6s75oD+ZDs4JPY9JyqSCQ7ABqftd5VFM3/j2Ja4mtsWpJQSq6ZXu5UZTKeJnsHpohiYPRqBn04nkS2+CQWW59BK2dAjwS0Y4IHDz2ERWG8Gnwm7iK9W3sFmbvrqGPzw6gW8eTmvTM07XmTPX28KYd7EQ3rjnvv1QFHbPt3zT9DcMPHd+13zzN1s+/hC2rKOo7NjeQdsxT5LEWrYjbdLw05eHtwWe9jl0542u62HZHZIVpalY/yIlP5X3MHYddLLZfy4fmYiBhNuB509vw+rG3tKY+kOwGHLi7W/cS91jS7v4s9TSnZHGLx8CICH9lXNDX+zpWfXuycnaBV2e3e567nAm4973qv0bzy1fD5qr5oEB7KXt0u7B3Loh7yhWVfypbOalh9+wr6U3mbfklLC5Hi1pDRE4ef7Wj+EEiZ+amqpvJT2bzWjJRLIPR3n9riA5i4DZg720DSIrlsrvHXSZ9p7ZGlrzSgirNcetqVp9/vz5FJTqj6JRejTdq6eBMzNpHP9s//QrF4bvrydfO6f1JrCX1mvcXlo98Kembjotr3wXwmrnp36J+pYNeh5JdqRem83O77gxkpxtW3bgOZ/g1HKJmt3U1Rw+3D+zrc89aunagnWzpq6PdxujLz388L4F78tdbtCEsJZ7BFq8/sHBoMPX/I9hyrGgnuDUUZzrnnz7yQu3HlxQQW2Ued++fZmJ1e5LoPB5k5ZpWCPXz+08du+99zrtAI0QVjuM4jL2YcIZeh+2+9wF49MFtYJSlgmHE0g/JlLWLJQPg7RmhtyXsJ18eja0tivsXhj6xy9ve/mRR5TRcG2ZmjyViN9NPkDN3Dz1FW5z9XM4i+s1ME1YcFNpUIrVLHzJzHnwjl0bn1twgW1UwPHjxxPXpztejR0HFTc+F3YXRwxdfdM9W08D0zrs4wtLaM5rkbCac1xaolWOvurhZIPIih0OdVm2haNTfqUlAFjCRnJP4HBn+iUqz6tVa2nGpTe/etsP2o2s2G8hrGqjL/FlEQC5GHghfplSUSMdvwaEA/9+4vjpa3c2stx2KIsfUek2dr+EuXNF2xEjSJx98w/tbFt7NiGsdniSl6EPp84O3W/Z1oPzXRms1GRKWdCJdeCIlJ+vlGYlh997r+70+EPH8NHJEtLCauCph+7bmj81ox1xEsJqx1Fdij4Zxi9AT2KSYBrtslgxhOD2gWOyz7AstFzx6zFHj1mGobYUYAgC9cHge3ddK5uhjQKFsNpoMJeqK6+8cm0X6noXiWUxHA8WxAdWNyQM45HFKL8dyiRpueM7jllmMGpnjO+1w9fNaxmXxiogaqlR0jQdAkeOBPjczrnOiQ6jw88ESSOA6KT7iQzOHEvavu1pZsLQg4QPP/DdZG9Xx/vWrOr+mfR03SvtNffdxleAQIgvTzjBT0w409Mpu2faufZy+vDhw5WPMa25dEnYqggIYbXqyNXY7i/jCyvdfmaVb5hdVsLp9LJGp43j1/1A7/RdvdMwPRzEboRnLVHe9vEvL3eXBOB4ZMta22H+TiqV2LJQ26u5u6Bju44Z3J7O/Lvp6cwPmBanOwQ4uNHRTWMK21bSvh1Mm642nTWCtKkH07rnTE72aOO0XZq7bIltVQSEsFp15HLthg5J/+aJE12m3tVjOPYq1/dW4cTjHnwMYhXOce8xDd3y/PJW6OpMdsTRVy4iK/rKMR/jwvz825VIHFzT3fkx13UW/dnhRy3GJyeeHEs7n1XNibUPFvY6vtGDw5vV9w0Vofn81qGhZfDhi3HX8SfQ/3HPMse9CWcCX0gel2OIFJIt+2fRH7qWRaYJG85NxldGzV4tGayFSLQ24+q9ULyu9gJfMU5ELTn6wUISTl03NHz1KzyiJLqmX657OLLdSJgoXTO7cBxyN172blier4YCvBsFdSNXV2dC35tKJrbzfPfFdjwvC/qs9MSMxxNRsSqmT6LhUDQHE+jUBE7UnATXTuLsrRn01K2l/x6+qItiR3TNG8V59KNB0DGSfNXGUXwJY2Gm+osNhpSvEBDCasIHgVLTt75/aQ0MnXpBNb2QgNYEntfr4wu/nBYpKQLtxtdwAh0SBX3VDe7nM/Ha5vf1Fb/CURS2bCTAWWuxR229qRsbQQQbUed61LfW14JVKKsTJ5sk8WUcHbtlNANyTOhgcmAGKH7p3m1FWpqtuZCu+LByVdKHVMjpKEQrBwIW9tnpXOIH+QTDSH/D9f0bmCLewDn1I4HmwtAypPDZ/oe9oXKf/aMPsWxSs/RR13FHrURiZE1gDR86tKHEdCDMKX+XCwEhrOVCvqBeHNaW6ui11/mWDtLQ1kEiWodXE4rwYgepAPssTPCMOjIdAk94TZ8pMZjch8HjDorGFUTUAwlkh64be0A9/ZCatiDZWtOyE7ClQmIdJICJFYhA+TRV4Fo5/QIHiUvrTEbkVRCxiJfsSBbfYk87OTExXxdazY5yUgiRKfpHQ1YSkONmAZY+gV4NIeVFfCXoLNA5h/Plb5LzWAyzF+IVXdNnvO/6GcsyhjC1vmWZ7s2pO3fdOqzriy9asnJxZREoerDLppDAhiIAEtCfO3F5rW0a6z1PX4/nf53nG5RqqrpieSnULEVh8cx4E7ugH78H8tG9eP/24oVezY+pkpA8b/abhPF8le75BqdsXUtaFeaTlTI2IByEoU1l8oq1mkokcZHElIRoWmpejMMCMyCvQXyy7JjjuUcgOl4tLCzCMpTHgFpcgkViX/dH/ax2Szf8m2Yqc/MN+1r7BM/C/rfCtRDWEozSkbMjq7NTY5t13dqE6dhG3wsSqlp+C9DDi0ifLrqmT1f6BgUaPjiHN0lJAGAfvpWcI4XjiHIMF6ocO/EjmMa9HeelQ1LT1PRpoce/sJwOTCQtc+kfGQp6Uxl+9JWtmL+jNEaJ0gKBgbsygR58B4sHfwV5aliVWg3vCHv6ymHcdG868IzrVsK6pnd71+/dsmXxbD3m3/W2ybn0T1/bQFe5I8euX+9ybuqbXMPbDA7ZCKV4uMOecyz+9OfmWvj9x9zEw6JW+JuOX298WhE6qtwLEV3TL1tb/AWj7sqwfqaro/sdmcyM+vBp2XzzDEzaBiQsNH+e+eeTjQ+ohwqnG0BYhfVzNYKrkOmpyauYYH8KvD8G6RPBszrC6Jq+ystl0ghzXEZjR5+O4+iZwTh+eG7Yqa5rq/3hGzzTSkXKn4YgIITVABjBP+ZzP7i8ydasrZCetuCHvIvFRs92SEdlpnCYE2LOQi12OA7RNf1yjrphHIyE9yOXPnfNMDg70DpdTf8DWDKs5rRvMVwChAWrUgh21HzllD0NrigqlxKVC7bKQuOOWeGiuI7OTkhb6T8C/Xw3xkel9cXxj6eIxiY3Hhx3X9dHsWJwDaa3l1+zd9Mt/F4tUk/ijWnP+/DBb8++LWqvnh0c7NDGta0pO7kl6zpb8AJzEUr91kYEFdeBRCt69Nm4+AsSl6jwjVGckY6VwPwUpLhLURx9xliWvxFHi/w+zB0SWCnLsVpxnoXesSI2ngp4zmRJXPgf/0IleGH51R6uwjeX5MR76qtITh7+8N9Cp4GF7Sm8Zl1s35pVXVomm/5c1vG+Wm284njHJeJq44/FjixUAld8w7uijW6+xo3MhW2S6+oIVHumqpewglJ87+LFtcFUcqur+1vxwPcZJqYPMOyhXw6GKI4+4/GwQpjCBhe+6XDIpFb06PM+np5hhS5eXzw9bLJ2pBLGv4Fe36BU4kA6IQGw8MUY6MJywVeqDs54Z69zrWdY7jI3G1ZtUiSV6zzDI3IqLLew/wu9jspl+yywrA1pEed5QceXPT3jBb/DLrA5ua5UHZ/4eMTbFx+fwvE3DJO8fANrjlctL7giJhRx9MrfR89R+VgJ1Y6currONuwd0FNsxwtV02mPlWGLy1TxlPHf6Hh8PH9xesvw9yRM+5PIRT2ZIgVKKZxWUY/PT8aTFPji0i3m4Ed1hDWV/7uY9bNGtiGqAyorJRWSqCgdkrQiR5KddrwPlsq8xfhG6efvx8dvtiQczDdmmPaldDBxSVYeZ3GJXxUMWzxq5d4fPz7Ym7X1HTAL2A7NqtJHEQ3qtCPjw3LoxB/v+OMZ5VVzR5aHWRuErYA+y4uu6fM+Xl9J/lh7bFvbY+vmv0bWos9tsXAWSLIiaSnyApHxJz6SbFSFuXTw8i86r5vVRW1m+6IHmUREAuI0lcREP5q2ztWPrO9/YK54xsXHI56+cePvj3qBfimZNS+J5FWMcrjptThsRd4dPX9+DcwEd5iQphwozfkCwJKaLv9ewHYKeicfSudwShcnJDBBOD3MTwGRO0cqLIj73jQTaejDBYaPHTBgJ/i5+HyYijd95sFhRzkzB7yL2IrCtGwezj9nOQVTUlfPwiicifnu5J0qHHd8mXHIG6ZD7JQqIk9kJK6QwAokMWRUhMaSeJ0vcfaiXNhs7PyuwpYV51Vh+EM/Pu2M9GckpyiOuZm2Wvtom+Y4me8xPbvIIujzPu6Wbvyt1ejL3U7Sv/v754ZHsORwaX3KGdwiJhO5pzY+Mivk/urVq52jTnIXlEc78LKu8qAMx/G8kHhyOicosz0ovM3IrIDKb15HSvDoOoqv+hMLYCOWI8ash0vmufryZVcqLz4u8fym3ov1xT/EVp4UDUTn4/iS0xW+sZTMojASmLqGp64iH4FRXJQ2TKj+lv7JVRTVxwQkm9APyaboGnGMzSVR6VR87ipsVT645ovOzi5tamb6zzB1/nqzjz+s9YetwLioZW5C8jq08K9+1IxS8yQsfF6ap1WL2BK8VOaJc6NbPcPrx7wJ++hmHQUPvOaQgMJ3ETtVlERDP0wVsQ19uPgcLQyt/Dc+p4jlL6k/1xa2qVyh5ApEzEoErm/DsPOTXV3de6anq36roFyRdYWVbVSshHJEMt98saIXfIu9koplYZL6m/hUz7kS/Jt0/PE8+Jj6X/Y6k+fv2tA1BKIvB/OC8WnGAmp5dpqx3XW36fjgYK/upXbhFd+BrRlqn16MfkrspkoC4hnirYjbUVWzs4rHx8uL3cerjwt0TA4RcBcsuX8Rn97q54okVsCKJJ9YkSvy1gJR4aOtnAr6OJP+L13d+BKBKMEzHhAfgDh6yzD+vqHjTDDvYpAxLqwEfVdbE9bpIEi6V27tdLP+LnzPrWS/XrRTnz5d4e79+LNY7r4kP+Z7Jv7z1LyPL0B4Tb+ci9cXLy+eJ54e8Rw//rqqcUR+HOrgYVprJbBl5E2w63oI64J7k8mUDZLGhmAXs19ucVkxP8gKQu4ptCxbMy2TW3KAGI4u1P207ztH3CDx/7bL+Cdse8h1Zy5ev7Dp8uHD7blJuy0J69TV8XW6l92Dl3cbLG6g98idbhDgdANcY1ZY9o2N4mpNr96GRf1Da3Wui0RW69F1bWslvp81LD2xDTOGu9DhQzBc7AcYfYlkAqo6A6ozqHNBYJTESGitTGShsp0qQSxT4AcoPJQw0LBlEPhBFakHDjoLvY+XgVIyg7WK77tG8n9pvpHXBbXL+OMBd7FN6KLu+uf27esbX9RHdIkLbxvCGhgYsDb3v2a7obt7YHakpKmYiqgE2ioqJbzIOszXcSov/DAzRRNehyJKvPx4+igv/ZLKEaCkoZxUFMYXE1I8f7Xyq/UHp9CkAlfbCF3NdlhS7IQguA0N2wiJYy1ktC5IISb1Okr5jSYruy2SGlYkIkKLSC3yy/WrUWGzSnjaTUX/QEhYQuNewLCdwBFKRkpOuAfr4sBnwwfDg6B0MHagORhBHNqHw5WxTwYav6lAt/42MBLfrYZXHO9w3Ftr/B0Hp0pY+tkD29ddAz5ln8NGjddSlNPyhHV8aKjbzAS7Dd3egRcvgRHJWyrHASw9Pyp+vlSxEluH0jWAGQF9VVZMpxHVRZ/xSKQU4PR5Xy0+/sLQZCFS9DN/XKtSeh5WrL2x+sMyZv+W67+vwz5eC7oDx12rm9pakNg639B68XL3Qh+2Bm94DySxHhg0daBHSQhiCbyyyMS9SDi8RhEHyYP1qD9qak0S4VGn5VYrSTRKEkKHWYYiHuQmCYb/YKYLqS+3H5LYckxJmz6qhSYJ5yNgzgtuclESpncBfN8Fj3lgJdCSGpHcGECoxrouMoHjzO+4evLLMB1VKxJV8Wyj8Q80Ix043jnTu32hlTdkh08Yn7UWcnio9Qs3pzZm0lN7LCOxIdIZxbuQ1+lAVFFxJB7aMeUIiPkiPRPjo2v6dPF4FVjHnxi/oQK0Az/bymf5uI7ayGLj6eM63nrbF5VNXzV7nv3HViQL3JAEaSV1z0iBNJIgJBCYkSKJYbdjEiSHw7a0BI5s6QBBbINUswMUsQ6E11UojZGccA9dcZDBdQY+TgyFTgkiEKYyIBvstAQzIRk8cBJ+A2j4gZFDFWAqjAp3V5IhQYYwwUJ57ByS0QINzMYK8FyrRxt3KNbXb2qG/UVNT5wDyCt6/A0boGbdqzPA4tD21SPquWihPy1FWHjQzYs3xnZkM95ePIZd8RccBx1xez/UPowp46I4+uVcLD9/8Plq0Gfy6Jp+uez5uqPyY+UtNN5DuVQc06drpv4bIDXsjtsMpdkOSC79QK4Xog3PzwF4IBNCBiIhpBSpoE8jioqWaM2KCRuOqwLXgIQItKIe0lCYD/lZjoqgGIo0+J++SsmMKA8eqQ21qHuUh2PfzQHN6vgG6vVK8GfmQhcbr3Yff+AEi3rtdCtNF8u/eIWD2ATXx4Mg0XH1Vr/hm7sDQw8PvyvTrriKWocEE0C6oM/kJRJHrAykgj6WGlq+JUifu6YfS6pu4/UVa6AgQcXKi78ApekhcWFBwMstEkTX9MvVHw+Lt2ex+4+Pg62CxgsHEwZbAdgWIJfA+ICkfDRYtyAwWWB7Ay8F8VT/KB0bOJ4Gx/CQfUKSwZGrJJs8iZHYgB0zMB+zk8hopQ8hEcEog2ERASIBAOL5fIrVIKLxXKtzKPZLgZUckvGf+/nH5HsK0+Uz3316zeAjj3D23Lwu90w0ZwNpiZ72UnvwfO/AXIFnXfLBxLOsHn6yiLqmr3oQ04LHX9hq6TFHI6txrlYWkHj98UT1lh8vryR/rIKq6aO204drdP8hRWF3itmLUw42QnW1CSTSA2IAIXkWOBYKLWw8wjVqNkEaFqjFwLQNJhWI4ZiFoiq6QX0SbsEo6HMoWVFCYprwjw6FP65BXCSoXJwiOwpnFK9A6yiWkQhRDwA9XAfpwLS/AqnqSKP7jwapquiznXFXMn6x8Yg/X/HySvLHKqiaPlZfvf0H6BloAM/v3tpzHkJwUx59Uxb4GE5Lfnt2ZGS16SX3+F5mq4llfegtwnaSR6J5EC8hPUV6IDaS6aDnoZ5DpYe6AtdgOr4pyhXLNPH0KKCo/DDP7N+S+mI6qHzbQr7AbdgW+iylWn0l5cf6E29ftfSN6L9lGl04x30tOtMHklmLhxpClW9BL4S1T+i2uNPRp+0FflD0AN9A9LHnmHGBBfJCE3QL9ALiguoJqiu+64gDzWGIIAlhzhaSDsMV/yjJi3BxyY9khP9BXBSzEMY/AFORGMmM1yyKZfmm+ZKuJf4uMHV1THEj+o+S864E7zYd/8Dliqp2MamvPbt9uw4dY/M4DnXTuMuXx/scK9iHLcbryzfKwvOJBSGNPl10Tb8WV0xYyMFymDdXXv46Kq+ueChJQI4WlSUqf8StOf5CNdXqr9afxe8/Gm6AoLAqGKyCGLSG350ACFzKM2FvaeOseEhFOsjItdQ2S6wYYmkOdl2+CfLBvmpIV55vYY2Qn6uAxAWC40zbhxSmWArcQj0TSIiSU37mx0kgVesgLereOSz8E5EWJa6Qzyh1hZEcO7xY4Ct9WLfNvwa+5xA2h6uGP6vMPxMsZ8WNf0Gf+cOCw9usq51a5+kNG9Sn1IjJsjoO0LI7EpVra/vxhPdFs7JyjYriohlbTAKGxO1C6oJEljseOLqmTxfPX66OucJK66OUNzuDjK7p05UIbGwX25I/vrj4BYrnD0uZ/Rtvfzz9fPsPIkgkbL0DZNMFRVEHFEY2ZCBTcwMLdfCsCCVN4SwpE9YG+ARNgD24IDHYSYB1yNCYDkLRFoC8oOUG40AKQx5IYyAmlQ6SF7dDoSof0hbJiApzqLs43aPc5UG+AvVQ/4T7nGQFQiJ5kdbAkmgH2Sz0FaWB4gLrad22v4nmuvPt/yzCc1+V4t0e4z93r8PYwDCvNANxLSthkai0jmCf5+jq6y6Y4SkjTfoKprgWufj9Dg3AozBmiK7pl3H8WDH3u0YfLY6u6c/HVS2vSvsxoygyTF2q/qNenEyjJ5NJPYGPRidME1M1/JYqwyoNq32Ihu4J0z5M+WA2DoqwEI9wfmEaEhQJzPNsKNOh0jJwrfRVJqbnNOrC6IGwQFzgHiKrpCuq2kE+FizrMXWE7IWCEKemg7hSiimOQchNIC3EchqpHlBO95TshQThkwF5TL9k+Mm/MZLGzVo3AlQdLzagDle1vCYd/wU9/5Z5ZcyZPnNow/J8ZHZZCGtsbKw3rdn7nIzTx42o0WfP1cPKuYJ6XPFs5q7p8zmKx5v8cdcxDeMPOR1fj+gh4X10TV/dukiC+nJPeLy8eH1hrtm/UVvpKxcrP2oL/dlcs1eQ9PCeo73wGcp+R2Xyvlp74vH19B9EkoA2CYKUlcQqJCQj6vkoyBjh/IurcJiy4Zxy2FMptRBO7sK3kClR0UYUZAX+wMqfC1ICiYHMYBsKSQsSFKaAUEqZLoiK00ASFsgpN0UEUWE6yOkiiArE6NmUb91OWwAAEuNJREFUszCNxA0c/uBoF04W86YOarWQAYjGmHBBEIkUiXEqib025hNmInWknv6zKo77Sh3/RvcfSx5Xl4O4yr5Y7NxiuEEQFT4uvs8yrF5VvosX28LLS185vsiRHkc9YPiJtrCbJIzHyx3gJdfpl80flZWPR6qIxJghus7xjSqj4E9UNn2VvN76Csqq6XIR+48OYEeGlcAaXhLfQwxNQcgQEI9IErOOxBUuCuDLz9Arm5iyOTaYy7Jty8hAb2VCm43ZmwnwQTbgFpAWyA4SGEKhaMdgYNpngKAcpeMCAfFjYGE4yAqco3RZ0LorUqOkxVkf6AgzvFBPFbISSsOUD+WRrWijpcwbmI4Gomj4yxAIv4bPVU+q9sfxk/EP36UlfP49N3vNWr/m9CZdX/zzjDDofAoW3XHVr9NPHdB8p2+uORl/mjFLUktMbBTtkSJbpLCRxYyD5OpJps/4+DJuvq5IIgoLqfi3pLzcRuloM7QSzKImsBSWG80LVKkxkSvOkFHaCjL5QvrPN9rwvaSVtEg2ICmQCNRQkGjwnlOpNktMxdds+GxcRFrIyCmhTQMEUJjl4qwtzPbAOVC8o0DUZroGiMmBpEUfRBZ4DvRUJC4/1GOpij1ML9XU0PJdFxIZGsOpJkkOQ0YdFh5CPodKl0WfRqQkVUhTIEf1iN4GkdJU4Rx/xsJfHkpfMv4cd+IAUJb1+YdkfSU7NXp6+/bti7qquKiEdfVq0Gl2TO2DonYzAcUTCv0slCB8FuGia/q8j7iAPl30aNIPHVKq55w+00MvjFLo05WmV8H5P9XLzydVF/H0xbGl9UGfjm226B98po2u6fO+0f3H9M7SbT1h+FoS00ybSmm+5/RZHxzbwWvVHtSvNuLRR4BKl0vPtHRhWh1SESUsNBkH0qjvNiAx4MA1JDBc4yBmTPmwJArJCFM+dA1SE5XsmFIqRTzKUrZYkMio78IUkauFoW6Mcbin1GWrOR8nqOEUEUQFmuK3ZdEw6NFg92s9j3XLp0CIsAuS8VdPkcKhCZ9/KAc81x/c3NdzFjy6KHZc0YPNh7VhDg9jYnh4co9n2dvx1nLalys7Rimx2xLGigfEJBQ0Xr149FkBVb04BQiTlPAFbTiDxRGKM1pJf5AgarPKG0sQu413N07hkCANO5m0fSebtCwziW5DqMISHTRMJCDF23inYbmsauNCHq+Vn1ta5dErzKN8psP/RiIXVpAegKJQ30Y06AQSEXdAIpdL0wbTNsLpoSIeCwRJHZYBpTusIFAIlPC0iqL5AxoCcmLPQkkLdITRCc0dSFqQD1A51g4pLOXmhZCwDMO2BpH9q6ZtDoU4oKQIy5yEynFnv+mzw+0+/q3Sf5yT4aYs89zq1alLIK7wYeQANcCpgW5AOaqIARzxcudrXrMTz+cuFAxBI1Rw06eLKz3xsnDikt+Mmr9mWBlXrbySeJAlTt8MXJImXHRNv0zx2GpWZ3r0KKqzXHlRHH26+fQf+mkbg56ADjppUuihMJl7BEhGtmnj+4Phj1lEUAzjaQcgJkzcqPPmlI/yjdJV8Trf/+hbeYyP0uMS0zSVF8SEaSELxkhR6a7IC1IVHkNMBWEkCljxYQ7YXgWKrDCHw2ohJDDKSkr5Tst3TANBp7DdgkTFKSOpxYMtV2i3hXQoJjwbBo3L4oibAajdXmSbCl01PEvi6x3PetMvwfi3cv+xHpPRk8GZvo6Oq5y5FvZlvtfqQZ5v5igfH7iRdHqrn/H24McyEb6ejCUxkCwqEATi8JDNKtWRIxI6wrLj+aOyQgIqLT/KTZ+OLYnCFGHE60PdSgzIgVmcfrbt5evjYkB97VeNyv8plx/UYoChElhYgB7KtD3PAUWRpejIVNzNAjNzyDuYRqnrMF5dIx4CkTrlAJQRps2FhZIX5lqYwfFLOygTBeSmkUhDEgNvIC7MR5ML6JhozoCpn+858G1utbH4j7BRT0Z9VlZzbTyOKJCKeCjkqYbkFBJh+DXCPVcKuXKIFURlm8WBoZSFOBCYmk6i33ioT+Kw1CegEMspcFfe+M8+rRySNum/YUwm9I7TPT04NWOBDg/nwtz16xMbEp3mPswIOuI6G7wBSlynz1pQWZEIP0smIcEEWN3QsfJDn+nj9FFSPh73wilgdE2f+eOumo4pPqWI2kI/LKu4RVXLq7H/kJopRUFhnkj4joNT9KC/BlZgAIVD1I+cwASVUBgCIsF1KEQxJLpGPKHGP5LYrAs5ikREnmJ61KF4K5cG1+REVS6HC1JauGroYYcOrLWUEp6MSF0UpoZgK5hV2dgEzeNLYbMBnRQZEUPnOwGMT6GOp57Kg/0WTCMYjnsQHpDmlJFTR5IcNt/alvV1PdF5NsKcLSpGG03L6QcjnWDpeIXqgFYb//A9wGi1+fMPDeqY7nae6uvT530KKp+JebkhHJyX6Fqz33X83tCgRr1d6gXBH+XnFtEwDmEVMBfAtbK7UvHxVTb1gGLQokbFVBZMDtUJHmT+dsPxmqSRU2nkrxkWxhfbOfEVwLov4sIaonSRr1qZy6vy8xliPbn+qPjYHxSm6mJwdB357DfaVtJ/BMLeW0/ayVQSR6TA5AB7h8kwmFeRrFBUSFYkJk7GsM+F5SuiCQmFBEriCskHYcxfEM9ozBjBS/yaKD//rBzndjD3BHswAcmqwFdhOWGugCw5owwpEt9sxMlVGWQEK4GlcAOi1XAcL6eLICfdcMFmNDnH7xdO/YTCHTkxM2B6EiSPbuXmHrZO5eJy4Iu6lfo2Gu8orFfA+PM9UMjnHpBIx9v+/Q9Wm8nMfcMTE1d7u7vP4Ec6fzy1wqOGP3xI63JHjgT2/rsy/boTbMP0pe78dVUWS5wjK0VUjIqNN3kA62ZYeIcfxofXDFNFUZBTT4W6m71mWBlXrb4yWSoEYWh0jVIUdJEmzA6o18mRDN7dCplCEkK8IiP4WRAU9OO8j5wimZB3SAhKYlJEphLkJCaSEP7PEdxsfVG5UWFxP6qPPngTlvBED6IWLN8dTPmg8ocFPPRXWBdlFWqqCEmLlhAgLRtKdLaAkpQNfRUM6DUQGOUiTimNEaT7FvRVw/F6K91XG4/mHf9KPaovvJ36jzfSS1mpc6mUdhnvhZL4a0GjZsKBKK+n0+kt0AHvztCAsIzjeeAeUKVPF1l101cBWCICxcGmcPalUeHRnyguIsJYej79fFnpKxdjrKhu+spVK69Ke+OW6SXlh7Xk/8b7D5umJKY6nUiQAEmp5ZKoD5Ay8kTFzcAsJIrL+ZREYCWAaU4ubXRNP8wfpuSuGubHMwCJhSuGPCiYJIMw5GV6xkfY0Wd+WoPiBAlEhvnzNluw3SKZYTkQHIQ5J1RQDg7Lw/QQGUIdFp4wcC9KgQ/7KkxjucEHROVmc3ZaCFfEjMxUvlPvBZ0WhT1Q1zG06hQKyGPA9qEh4bPRJuO/0p//WvoPyXpa77BPr9L1mn64QiJRT0vlP3jg1oyn0/th1dnN6VOkQyh8wVRuPpLUH9GHi+sckD4vLaj43NSHLwfv8cKjbGxdgc97JUpFpIRbpovKYHTUltkpHYkyEqNYf1gWfZU+Vn+JiMZERS4qKyTAMv1hmwoItLT/aL6OL9cn8A4mknhDkR5CUuh43ExhAXjnIQVxRQ9UwnU1JM73meHISINzlY/1Ir3jwNQBtui5IpU3K2mFZbEUEhgJiHlZhkqI8rws7hPFxBHlZ5romu1CGRSv2HyQEQiLPkwefJcSk2o0mU+F8Z46KswbKd8qvRUWiq7BsuoYlF/q+Jd839p4/KNnFHhw+Fbc819r/y3dHO7qsk9D2lLPBvEq59SLXC6CYSCq1OTk5F48g+FxLyQSvvyzhFK8taaYL1ACiYdkkSOg/HVO4irmAySLlR8+yHy5wnaWysTF7YmnRxdyecMXFDcxx3KjNCUEGUtb2r4Iixwh5qebxEG58v2Hkh0ERqlLp5kClNLkngLSyF8XExrZi089SYbFm9DRg1FCbEKyoxQE8sqFkTOgTwrDVIPCP/k8qpRcGrxMEXmxnpwjUeXbhjpgA2bBNsp0HPQWOiwNOnddw5YcNIdSFyzTlUKehEbrLDxDNn7osjCXPw5FO22qgPfKHn/pf8XxxxetvSvYlX8BxBVKCdGDmPPDhz0W+Oijjxof//jHt+Hh2oko/qKqFx4l0BJQmQIwS3RNn/fxZXqGFbq4nQzimI9tKFs+S1S1KJ9XoQkEfUQwtKg98fSzefMMwmx5F28/IqK2RLjM2b54/gX0H0v6+IiDZSVgHJogfYWNzDMUpCtsUkKg4pKIUJAsnNTlkjNWzfBCPMOhi8JAiCSqPBmyMFVQ1OdctQwLywNZ5cPCpDl80D6IhjzBASQF0sUeREpSJCyE4ceSpJXbEO2612AHepaTSRn/YrtEAD3n8xV/ntv4+S96nyGRO9gccQZmEPiBK3bRi5kPHcG+v2T32n2+53bxNY8oQyWIB0SR9OmqxMeTh5lm/8azx8srEbCQNSqTpUTX+eagwCiPqiWeQAXO/olHV2tPaYUFjWCxsQJjt7MV564K6iOB2Xj1adNGa3PqDMFl4XwSSnAQCUIibqFPlwtTwbiOkoSR+JvLx3KYv9BXaSrlLyifSegQBNMFTAWhiIeFArRZnoX+8Y2EzKhbnuNlYO9wFpZXkwoH5Kmj/6qOFTz+0n8+Y4Y/2pVIcJqY35+YJ6wjEN33ZzL9kPY3hWjx6Sv+RcByLIQAZZYQJSn2C944FRF/QkvjQ31XZDcV04GVPOGl+WdJEhVGbaNPV3d7Va7ZP83U/1ACgzTjkg4gjUFvHhGWkrPAPnnBLNeFSEKKfAbzOu9yBAUdVj6cZURpZuU3XOUILioD93x2IEnxxFGc9c6M+M93cHSNZVzHquBQDeMn4x898wQ2us7pgGvAbyU8/z5e5EupVEqtJirCgp4KHxVI7sbrQIYKHyKF3+yvIvEEX8FsQNk9qXwgBpgQwNo7p9OKrukzfdzF08+WTmYrV35YF+tU8bEpYImInGtLVH+8PkzZ8iQcVpjrawXCLOHH5uo/9JmWjbXHJMQcNhVW8bOklbsumnJw7Q+cgtVK2mJxAUNNKKncp54KHuzAwnjCE01B1UIHA1A80ik/IkdIfTj6mE8MXh2sSKZhdHUd+IcDykwFLj4eMv7Fv+il75c8/xEmeHaojD+jZ4LgbsPVVvO5iutg4oSAFCCiAqVp/jrUKRU8mzVexsube05ff3tiD0Q1wkP/ojrYgeiaftiheHsjLKL4GrudTxYvb0H9h94bpzeAwCD4cAqJf5SmlBjFH5D8ChVC1Q8KyIkrjtgbE64y4lqtINJHel5Hq4q4ZdsYzsWBWaU+rkFWtFzQbiNNnWciNbT/qD4+Hitq/FdE/3mWzmvQU+W4hZZPenQuRHRNfylcvfVjpUqz0Tj6dNE1/fm4euufTx1z5am3/hr6z6lj9A9ElneKwPJ3IYEVEpqKys0YFeUhoDBP4TV/+bjVIkfqKuu8/ixC/+tqR73111V4DYnrrb+G8a+h1tkk9dY/m7MxV7XUzwdP3ApBgCYG6Co+L6/+kcB4X0g0ERFFzwXjojBc5q8ZhqOKtWEoROmLEwSWBIHowVySyqSS5kIABEYhisRFEov8SgRWGD6K9OMgq8IwBIkTBBYXASGsxcW3pUoHgfF5iIiLPv9x+03kuLxMqaqsUj1KJL4gsFgICGEtFrJtUG6OwDhtJHHhqLOl+dBAG0AnXRAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBIGVhMD/D0fV/fpMMM+gAAAAAElFTkSuQmCC"}},noticeBar:{text:[],direction:"row",step:!1,icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",speed:80,fontSize:14,duration:2e3,disableTouch:!0,url:"",linkType:"navigateTo",justifyContent:"flex-start"},notify:{top:0,type:"primary",color:"#ffffff",bgColor:"",message:"",duration:3e3,fontSize:15,safeAreaInsetTop:!1},...{numberBox:{name:"",value:0,min:1,max:Number.MAX_SAFE_INTEGER,step:1,integer:!1,disabled:!1,disabledInput:!1,asyncChange:!1,inputWidth:35,showMinus:!0,showPlus:!0,decimalLength:null,longPress:!0,color:"#323233",buttonWidth:30,buttonSize:30,buttonRadius:"0px",bgColor:"#EBECEE",disabledBgColor:"#f7f8fa",inputBgColor:"#EBECEE",cursorSpacing:100,disableMinus:!1,disablePlus:!1,iconStyle:"",miniMode:!1}},numberKeyboard:{mode:"number",dotDisabled:!1,random:!1},overlay:{show:!1,zIndex:10070,duration:300,opacity:.5},parse:{copyLink:!0,errorImg:"",lazyLoad:!1,loadingImg:"",pauseVideo:!0,previewImg:!0,setTitle:!0,showImgMenu:!0},...{picker:{show:!1,popupMode:"bottom",showToolbar:!0,title:"",columns:[],loading:!1,itemHeight:44,cancelText:Xc("up.common.cancel"),confirmText:Xc("up.common.confirm"),cancelColor:"#909193",confirmColor:"",visibleItemCount:5,keyName:"text",valueName:"value",closeOnClickOverlay:!1,defaultIndex:[],immediateChange:!0,zIndex:10076,disabled:!1,disabledColor:"",placeholder:Xc("up.common.pleaseChoose"),inputProps:{},bgColor:"",round:0,duration:300,overlayOpacity:.5,pageInline:!1}},popup:{show:!1,overlay:!0,mode:"bottom",duration:300,closeable:!1,overlayStyle:{},closeOnClickOverlay:!0,zIndex:10075,safeAreaInsetBottom:!0,safeAreaInsetTop:!1,closeIconPos:"top-right",round:"20px",zoom:!0,bgColor:"#fff",overlayOpacity:.5,pageInline:!1,touchable:!1,minHeight:"200px",maxHeight:"600px"},radio:{name:"",shape:"",disabled:"",labelDisabled:"",activeColor:"",inactiveColor:"",iconSize:"",labelSize:"",label:"",labelColor:"",size:"",iconColor:"",placement:""},radioGroup:{value:"",disabled:!1,shape:"circle",activeColor:"#2979ff",inactiveColor:"#c8c9cc",name:"",size:18,placement:"row",label:"",labelColor:"#303133",labelSize:14,labelDisabled:!1,iconColor:"#ffffff",iconSize:12,borderBottom:!1,iconPlacement:"left",gap:"10px"},rate:{value:1,count:5,disabled:!1,size:18,inactiveColor:"#b2b2b2",activeColor:"#FA3534",gutter:4,minCount:1,allowHalf:!1,activeIcon:"star-fill",inactiveIcon:"star",touchable:!0},...{readMore:{showHeight:400,toggle:!1,closeText:Xc("up.readMore.expand"),openText:Xc("up.readMore.fold"),color:"#2979ff",fontSize:14,textIndent:"2em",name:""}},row:{gutter:0,justify:"start",align:"center"},rowNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80},scrollList:{indicatorWidth:50,indicatorBarWidth:20,indicator:!0,indicatorColor:"#f2f2f2",indicatorActiveColor:"#3c9cff",indicatorStyle:""},...{search:{shape:"round",bgColor:"#f2f2f2",placeholder:Xc("up.search.placeholder"),clearabled:!0,focus:!1,showAction:!0,actionStyle:{},actionText:Xc("up.common.search"),inputAlign:"left",inputStyle:{},disabled:!1,borderColor:"transparent",searchIconColor:"#909399",searchIconSize:22,color:"#606266",placeholderColor:"#909399",searchIcon:"search",iconPosition:"left",margin:"0",animation:!1,value:"",maxlength:"-1",height:32,label:null,adjustPosition:!0,autoBlur:!0}},...{section:{title:"",subTitle:Xc("up.common.more"),right:!0,fontSize:15,bold:!0,color:"#303133",subColor:"#909399",showLine:!0,lineColor:"",arrow:!0}},skeleton:{loading:!0,animate:!0,rows:0,rowsWidth:"100%",rowsHeight:18,title:!0,titleWidth:"50%",titleHeight:18,avatar:!1,avatarSize:32,avatarShape:"circle"},slider:{value:0,blockSize:18,min:0,max:100,step:1,activeColor:"#2979ff",inactiveColor:"#c0c4cc",blockColor:"#ffffff",showValue:!1,disabled:!1,blockStyle:{},useNative:!1,height:"",innerStyle:{},vertical:!1,size:"2px",length:"auto"},statusBar:{bgColor:"transparent",height:0},steps:{direction:"row",current:0,activeColor:"#3c9cff",inactiveColor:"#969799",activeIcon:"",inactiveIcon:"",dot:!1},stepsItem:{title:"",desc:"",iconSize:17,error:!1},sticky:{offsetTop:0,customNavHeight:0,disabled:!1,bgColor:"transparent",zIndex:"",index:""},subsection:{list:[],current:0,activeColor:"#3c9cff",inactiveColor:"#303133",mode:"button",fontSize:12,bold:!0,bgColor:"#eeeeef",keyName:"name",activeColorKeyName:"activeColorKey",inactiveColorKeyName:"inactiveColorKey",disabled:!1},swipeAction:{autoClose:!0},swipeActionItem:{show:!1,closeOnClick:!0,name:"",disabled:!1,threshold:20,autoClose:!0,options:[],duration:300},swiper:{list:[],indicator:!1,indicatorActiveColor:"#FFFFFF",indicatorInactiveColor:"rgba(255, 255, 255, 0.35)",indicatorStyle:"",indicatorMode:"line",autoplay:!0,current:0,currentItemId:"",interval:3e3,duration:300,circular:!1,previousMargin:0,nextMargin:0,acceleration:!1,displayMultipleItems:1,easingFunction:"default",keyName:"url",imgMode:"aspectFill",height:130,bgColor:"#f3f4f6",radius:4,loading:!1,showTitle:!1},swiperIndicator:{length:0,current:0,indicatorActiveColor:"",indicatorInactiveColor:"",indicatorMode:"line"},switch:{loading:!1,disabled:!1,size:25,activeColor:"#2979ff",inactiveColor:"#ffffff",dotActiveColor:"#ffffff",dotInactiveColor:"#ffffff",value:!1,activeValue:!0,inactiveValue:!1,asyncChange:!1,space:0},tabbar:{value:null,safeAreaInsetBottom:!0,border:!0,zIndex:1,activeColor:"#1989fa",inactiveColor:"#7d7e80",fixed:!0,placeholder:!0,borderColor:"",backgroundColor:""},tabbarItem:{name:null,icon:"",badge:null,dot:!1,text:"",badgeStyle:"top: 6px;right:2px;",mode:""},tabs:{duration:300,list:[],lineColor:"",activeStyle:{color:"#303133"},inactiveStyle:{color:"#606266"},lineWidth:20,lineHeight:3,lineBgSize:"cover",itemStyle:{height:"44px"},scrollable:!0,current:0,keyName:"name",iconStyle:{}},tag:{type:"primary",disabled:!1,size:"medium",shape:"square",text:"",bgColor:"",color:"",borderColor:"",closeColor:"#C6C7CB",name:"",plainFill:!1,plain:!1,closable:!1,show:!0,icon:"",iconColor:"",textSize:"",height:"",padding:"",borderRadius:"",autoBgColor:0},text:{type:"",show:!0,text:"",prefixIcon:"",suffixIcon:"",mode:"",href:"",format:"",call:!1,openType:"",bold:!1,block:!1,lines:"",color:"#303133",size:15,iconStyle:{fontSize:"15px"},decoration:"none",margin:0,lineHeight:"",align:"left",wordWrap:"normal",flex1:!0},textarea:{value:"",placeholder:"",placeholderClass:"textarea-placeholder",placeholderStyle:"color: #c0c4cc",height:70,confirmType:"done",disabled:!1,count:!1,focus:!1,autoHeight:!1,fixed:!1,cursorSpacing:0,cursor:"",showConfirmBar:!0,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,disableDefaultPadding:!1,holdKeyboard:!1,maxlength:140,border:"surround",formatter:null},toast:{zIndex:10090,loading:!1,message:"",icon:"",type:"",loadingMode:"",show:"",overlay:!1,position:"center",params:{},duration:2e3,isTab:!1,url:"",callback:null,back:!1},...{toolbar:{show:!0,cancelText:Xc("up.common.cancel"),confirmText:Xc("up.common.confirm"),cancelColor:"#909193",confirmColor:"",title:""}},tooltip:{text:"",copyText:"",size:14,color:"#606266",bgColor:"transparent",direction:"top",zIndex:10071,showCopy:!0,buttons:[],overlay:!0,showToast:!0,popupBgColor:"",triggerMode:"longpress",forcePosition:{}},transition:{show:!1,mode:"fade",duration:"300",timingFunction:"ease-out"},...{upload:{accept:"image",extension:[],capture:["album","camera"],compressed:!0,camera:"back",maxDuration:60,uploadIcon:"camera-fill",uploadIconColor:"#D3D4D6",useBeforeRead:!1,previewFullImage:!0,maxCount:52,disabled:!1,imageMode:"aspectFill",name:"",sizeType:["original","compressed"],multiple:!1,deletable:!0,maxSize:Number.MAX_VALUE,fileList:[],uploadText:"",width:80,height:80,previewImage:!0,autoDelete:!1,autoUpload:!1,autoUploadApi:"",autoUploadAuthUrl:"",autoUploadDriver:"",autoUploadHeader:{},getVideoThumb:!1,customAfterAutoUpload:!1,videoPreviewObjectFit:"cover"}}};if(Co&&Co.upuiParams){console.log("setting uview-plus");let e=Co.upuiParams();e.httpIns&&e.httpIns(Yc),e.options&&(cu=e.options,fc(nc,cu.config||{}),fc(au,cu.props||{}),fc(jc,cu.color||{}),fc(Nc,cu.zIndex||{}))}var cu;let uu="none";uu="vue3",uu="mp",uu="weixin";let lu={loaded:!1};const pu={params:lu,loadFont:()=>(nc.loadFontOnce&&(lu.loaded=!0),Co.loadFontFace({global:!0,family:"uicon-iconfont",source:'url("'+nc.iconUrl+'")',success(){},fail(){}}),nc.customIcon.family&&Co.loadFontFace({global:!0,family:nc.customIcon.family,source:'url("'+nc.customIcon.url+'")',success(){},fail(){}}),!0)};function du(e){xc.shallowMerge(nc,e.config||{}),xc.shallowMerge(au,e.props||{}),xc.shallowMerge(jc,e.color||{}),xc.shallowMerge(Nc,e.zIndex||{})}xc.setConfig=du;const fu={route:kc,date:xc.timeFormat,colorGradient:Pc.colorGradient,hexToRgb:Pc.hexToRgb,rgbToHex:Pc.rgbToHex,colorToRgba:Pc.colorToRgba,test:Ya,type:["primary","success","error","warning","info"],http:Yc,config:nc,zIndex:Nc,debounce:function(e,t=500,o=!1){if(null!==Oc&&clearTimeout(Oc),o){const o=!Oc;Oc=setTimeout(()=>{Oc=null},t),o&&"function"==typeof e&&e()}else Oc=setTimeout(()=>{"function"==typeof e&&e()},t)},throttle:_c,calc:Lc,mixin:Ac,mpMixin:Cc,...xc,color:jc,platform:"weixin"},hu={install:(e,t="")=>{if(t){Co.upuiParams=t;let e=t();e.httpIns&&e.httpIns(Yc),e.options&&du(e.options)}Co.$u=fu,e.config.globalProperties.$u=fu,e.mixin(Ac)}},gu=e=>(t,o=_i())=>{!Di&&Ur(e,t,o)},mu=gu(Q),yu=gu(H),vu=gu(q),bu=gu(Y),wu=gu(X),Su=gu(re),xu=gu(se),ku=gu(ce);var Au=Object.prototype.toString;function Cu(e){return"[object Array]"===Au.call(e)}function Tu(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),Cu(e))for(var o=0,n=e.length;o{let o={};return e.forEach(e=>{Eu(t[e])||(o[e]=t[e])}),o},_u=e=>(e=>new Promise((t,o)=>{let n=Bu((r=e.baseURL,i=e.url,r&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(r,i):i),e.params,e.paramsSerializer);var r,i;const s={url:n,header:e.header,complete:r=>{e.fullPath=n,r.config=e,r.rawData=r.data;try{let t=!1;const o=typeof e.forcedJSONParsing;"boolean"===o?t=e.forcedJSONParsing:"object"===o&&(t=(e.forcedJSONParsing.include||[]).includes(e.method)),t&&"string"==typeof r.data&&(r.data=JSON.parse(r.data))}catch(hp){}!function(e,t,o){const n=o.config.validateStatus,r=o.statusCode;!r||n&&!n(r)?t(o):e(o)}(t,o,r)}};let a;if("UPLOAD"===e.method){delete s.header["content-type"],delete s.header["Content-Type"];let t={filePath:e.filePath,name:e.name};const o=["timeout","formData"];a=Co.uploadFile({...s,...t,...Ou(o,e)})}else if("DOWNLOAD"===e.method){const t=["timeout","filePath"];a=Co.downloadFile({...s,...Ou(t,e)})}else{const t=["data","method","timeout","dataType","responseType","enableHttp2","enableQuic","enableCache","enableHttpDNS","httpDNSServiceId","enableChunked","forceCellularNetwork"];a=Co.request({...s,...Ou(t,e)})}e.getTask&&e.getTask(a,e)}))(e);function Lu(){this.handlers=[]}Lu.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},Lu.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},Lu.prototype.forEach=function(e){this.handlers.forEach(t=>{null!==t&&e(t)})};const Nu=(e,t,o)=>{let n={};return e.forEach(e=>{Eu(o[e])?Eu(t[e])||(n[e]=t[e]):n[e]=o[e]}),n},ju={baseURL:"",header:{},method:"GET",dataType:"json",paramsSerializer:null,responseType:"text",custom:{},timeout:6e4,validateStatus:function(e){return e>=200&&e<300},forcedJSONParsing:!0};var Du=function(){function e(e,t){return null!=t&&e instanceof t}var t,o,n;try{t=Map}catch(a){t=function(){}}try{o=Set}catch(a){o=function(){}}try{n=Promise}catch(a){n=function(){}}function r(i,a,c,u,l){"object"==typeof a&&(c=a.depth,u=a.prototype,l=a.includeNonEnumerable,a=a.circular);var p=[],d=[],f="undefined"!=typeof Buffer;return void 0===a&&(a=!0),void 0===c&&(c=1/0),function i(c,h){if(null===c)return null;if(0===h)return c;var g,m;if("object"!=typeof c)return c;if(e(c,t))g=new t;else if(e(c,o))g=new o;else if(e(c,n))g=new n(function(e,t){c.then(function(t){e(i(t,h-1))},function(e){t(i(e,h-1))})});else if(r.__isArray(c))g=[];else if(r.__isRegExp(c))g=new RegExp(c.source,s(c)),c.lastIndex&&(g.lastIndex=c.lastIndex);else if(r.__isDate(c))g=new Date(c.getTime());else{if(f&&Buffer.isBuffer(c))return Buffer.from?g=Buffer.from(c):(g=new Buffer(c.length),c.copy(g)),g;e(c,Error)?g=Object.create(c):void 0===u?(m=Object.getPrototypeOf(c),g=Object.create(m)):(g=Object.create(u),m=u)}if(a){var y=p.indexOf(c);if(-1!=y)return d[y];p.push(c),d.push(g)}for(var v in e(c,t)&&c.forEach(function(e,t){var o=i(t,h-1),n=i(e,h-1);g.set(o,n)}),e(c,o)&&c.forEach(function(e){var t=i(e,h-1);g.add(t)}),c){Object.getOwnPropertyDescriptor(c,v)&&(g[v]=i(c[v],h-1));try{if("undefined"===Object.getOwnPropertyDescriptor(c,v).set)continue;g[v]=i(c[v],h-1)}catch(hp){if(hp instanceof TypeError)continue;if(hp instanceof ReferenceError)continue}}if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(c);for(v=0;v=t?e:""+Array(t+1-n.length).join(o)+e},v={s:y,z:function(e){var t=-e.utcOffset(),o=Math.abs(t),n=Math.floor(o/60),r=o%60;return(t<=0?"+":"-")+y(n,2,"0")+":"+y(r,2,"0")},m:function e(t,o){if(t.date()1)return e(s[0])}else{var a=t.name;w[a]=t,r=a}return!n&&r&&(b=r),r||!n&&b},A=function(e,t){if(x(e))return e.clone();var o="object"==typeof t?t:{};return o.date=e,o.args=arguments,new T(o)},C=v;C.l=k,C.i=x,C.w=function(e,t){return A(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var T=function(){function m(e){this.$L=k(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[S]=!0}var y=m.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,o=e.utc;if(null===t)return new Date(NaN);if(C.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(h);if(n){var r=n[2]-1||0,i=(n[7]||"0").substring(0,3);return o?new Date(Date.UTC(n[1],r,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],r,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return C},y.isValid=function(){return!(this.$d.toString()===f)},y.isSame=function(e,t){var o=A(e);return this.startOf(t)<=o&&o<=this.endOf(t)},y.isAfter=function(e,t){return A(e)0,m<=g.r||!g.r){m<=1&&h>0&&(g=d[h-1]);var y=p[g.l];a&&(m=a(""+m)),u="string"==typeof y?y.replace("%d",m):y(m,n,g.l,l);break}}if(n)return u;var v=l?p.future:p.past;return"function"==typeof v?v(u):v.replace("%s",u)},n.to=function(e,t){return i(e,t,this,!0)},n.from=function(e,t){return i(e,t,this)};var s=function(e){return e.$u?o.utc():o()};n.toNow=function(e){return this.to(s(this),e)},n.fromNow=function(e){return this.from(s(this),e)}};const Wu=qu;var Vu={};"undefined"!=typeof window&&window,{get exports(){return Vu},set exports(e){Vu=e}}.exports=function(){function e(e){this.mode=o.MODE_8BIT_BYTE,this.data=e}function t(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=new Array}e.prototype={getLength:function(e){return this.data.length},write:function(e){for(var t=0;t=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=t.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,o)},setupPositionProbePattern:function(e,t){for(var o=-1;o<=7;o++)if(!(e+o<=-1||this.moduleCount<=e+o))for(var n=-1;n<=7;n++)t+n<=-1||this.moduleCount<=t+n||(this.modules[e+o][t+n]=0<=o&&o<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==o||6==o)||2<=o&&o<=4&&2<=n&&n<=4)},getBestMaskPattern:function(){for(var e=0,t=0,o=0;o<8;o++){this.makeImpl(!0,o);var n=d.getLostPoint(this);(0==o||e>n)&&(e=n,t=o)}return t},createMovieClip:function(e,t,o){var n=e.createEmptyMovieClip(t,o);this.make();for(var r=0;r>o&1);this.modules[Math.floor(o/3)][o%3+this.moduleCount-8-3]=n}for(o=0;o<18;o++)n=!e&&1==(t>>o&1),this.modules[o%3+this.moduleCount-8-3][Math.floor(o/3)]=n},setupTypeInfo:function(e,t){for(var o=this.errorCorrectLevel<<3|t,n=d.getBCHTypeInfo(o),r=0;r<15;r++){var i=!e&&1==(n>>r&1);r<6?this.modules[r][8]=i:r<8?this.modules[r+1][8]=i:this.modules[this.moduleCount-15+r][8]=i}for(r=0;r<15;r++)i=!e&&1==(n>>r&1),r<8?this.modules[8][this.moduleCount-r-1]=i:r<9?this.modules[8][15-r-1+1]=i:this.modules[8][15-r-1]=i;this.modules[this.moduleCount-8][8]=!e},mapData:function(e,t){for(var o=-1,n=this.moduleCount-1,r=7,i=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var a=0;a<2;a++)if(null==this.modules[n][s-a]){var c=!1;i>>r&1)),d.getMask(t,n,s-a)&&(c=!c),this.modules[n][s-a]=c,-1==--r&&(i++,r=7)}if((n+=o)<0||this.moduleCount<=n){n-=o,o=-o;break}}}},t.PAD0=236,t.PAD1=17,t.createData=function(e,o,n){for(var r=m.getRSBlocks(e,o),i=new y,s=0;s8*c)throw new Error("code length overflow. ("+i.getLengthInBits()+">"+8*c+")");for(i.getLengthInBits()+4<=8*c&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(!1);for(;!(i.getLengthInBits()>=8*c||(i.put(t.PAD0,8),i.getLengthInBits()>=8*c));)i.put(t.PAD1,8);return t.createBytes(i,r)},t.createBytes=function(e,t){for(var o=0,n=0,r=0,i=new Array(t.length),s=new Array(t.length),a=0;a=0?f.get(h):0}}var m=0;for(l=0;l=0;)t^=d.G15<=0;)t^=d.G18<>>=1;return t},getPatternPosition:function(e){return d.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,o){switch(e){case r:return(t+o)%2==0;case i:return t%2==0;case s:return o%3==0;case a:return(t+o)%3==0;case c:return(Math.floor(t/2)+Math.floor(o/3))%2==0;case u:return t*o%2+t*o%3==0;case l:return(t*o%2+t*o%3)%2==0;case p:return(t*o%3+(t+o)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new g([1],0),o=0;o5&&(o+=3+i-5)}for(n=0;n=256;)e-=255;return f.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},h=0;h<8;h++)f.EXP_TABLE[h]=1<n,set(e){n=Number(e)}},typeNumber:{get:()=>r,set(e){r=Number(e)}},margin:{get:()=>i,set(e){i=Number(e)}},backgroundImageWidth:{get(){return void 0===s?this.dynamicSize:this.useDynamicSize?this.dynamicSize/this.size*s:s},set(e){s=Number(e)}},backgroundImageHeight:{get(){return void 0===a?this.dynamicSize:this.useDynamicSize?this.dynamicSize/this.size*a:a},set(e){a=Number(e)}},backgroundImageX:{get(){return void 0===c?0:this.useDynamicSize?this.dynamicSize/this.size*c:c},set(e){c=Number(e)}},backgroundImageY:{get(){return void 0===u?0:this.useDynamicSize?this.dynamicSize/this.size*u:u},set(e){u=Number(e)}},backgroundPadding:{get:()=>l,set(e){l=e>1?1:e<0?0:e}},foregroundImageWidth:{get(){return void 0===p?(this.dynamicSize-2*this.margin)/4:this.useDynamicSize?this.dynamicSize/this.size*p:p},set(e){p=Number(e)}},foregroundImageHeight:{get(){return void 0===d?(this.dynamicSize-2*this.margin)/4:this.useDynamicSize?this.dynamicSize/this.size*d:d},set(e){d=Number(e)}},foregroundImageX:{get(){return void 0===f?this.dynamicSize/2-this.foregroundImageWidth/2:this.useDynamicSize?this.dynamicSize/this.size*f:f},set(e){f=Number(e)}},foregroundImageY:{get(){return void 0===h?this.dynamicSize/2-this.foregroundImageHeight/2:this.useDynamicSize?this.dynamicSize/this.size*h:h},set(e){h=Number(e)}},foregroundImagePadding:{get(){return this.useDynamicSize?this.dynamicSize/this.size*g:g},set(e){g=Number(e)}},foregroundImageBorderRadius:{get(){return this.useDynamicSize?this.dynamicSize/this.size*m:m},set(e){m=Number(e)}},foregroundImageShadowOffsetX:{get(){return this.useDynamicSize?this.dynamicSize/this.size*y:y},set(e){y=Number(e)}},foregroundImageShadowOffsetY:{get(){return this.useDynamicSize?this.dynamicSize/this.size*w:w},set(e){w=Number(e)}},foregroundImageShadowBlur:{get(){return this.useDynamicSize?this.dynamicSize/this.size*S:S},set(e){S=Number(e)}},foregroundPadding:{get:()=>x,set(e){x=e>1?1:e<0?0:e}},positionProbeBackgroundColor:{get(){return k||this.backgroundColor},set(e){k=e}},positionProbeForegroundColor:{get(){return A||this.foregroundColor},set(e){A=e}},separatorColor:{get(){return C||this.backgroundColor},set(e){C=e}},positionAdjustBackgroundColor:{get(){return T||this.backgroundColor},set(e){T=e}},positionAdjustForegroundColor:{get(){return I||this.foregroundColor},set(e){I=e}},timingBackgroundColor:{get(){return E||this.backgroundColor},set(e){E=e}},timingForegroundColor:{get(){return P||this.foregroundColor},set(e){P=e}},typeNumberBackgroundColor:{get(){return B||this.backgroundColor},set(e){B=e}},typeNumberForegroundColor:{get(){return O||this.foregroundColor},set(e){O=e}},darkBlockColor:{get(){return _||this.foregroundColor},set(e){_=e}},canvasContext:{get(){if(void 0===L)throw console.error("[uQRCode]: use drawCanvas, you need to set the canvasContext!"),new b.Error("use drawCanvas, you need to set the canvasContext!");return L},set(e){L=v(e)}}}),b.plugins.forEach(e=>e(b,this,!1)),e&&this.setOptions(e),t&&(this.canvasContext=v(t))}return g.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),o=0;o>>7-e%8&1)},put:function(e,t){for(var o=0;o>>t-o-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},t.errorCorrectLevel=n,b.errorCorrectLevel=t.errorCorrectLevel,b.Error=function(e){this.errMsg="[uQRCode]: "+e},b.plugins=[],b.use=function(e){"function"==typeof e&&b.plugins.push(e)},b.prototype.loadImage=function(e){return Promise.resolve(e)},b.prototype.setOptions=function(e){var t,o,n,r,i,s,a,c,u,l,p,d,f,h,g,m,y,v,b,w,S,x,k,A,C,T,I,E,P,B,O,_,L,N,j,D,M,F,R,z,U,Q,H,q,W,V,$,K,Y,J,X,G,Z,ee,te,oe;e&&(Object.keys(e).forEach(t=>{this[t]=e[t]}),function(e={},t={},o=!1){let n;for(var r in n=o?e:{...e},t){var i=t[r];null!=i&&(i.constructor==Object?n[r]=this.deepReplace(n[r],i):i.constructor!=String||i?n[r]=i:n[r]=n[r])}}(this,{data:e.data||e.text,dataEncode:e.dataEncode,size:e.size,useDynamicSize:e.useDynamicSize,typeNumber:e.typeNumber,errorCorrectLevel:e.errorCorrectLevel,margin:e.margin,areaColor:e.areaColor,backgroundColor:e.backgroundColor||(null===(t=e.background)||void 0===t?void 0:t.color),backgroundImageSrc:e.backgroundImageSrc||(null===(o=e.background)||void 0===o||null===(n=o.image)||void 0===n?void 0:n.src),backgroundImageWidth:e.backgroundImageWidth||(null===(r=e.background)||void 0===r||null===(i=r.image)||void 0===i?void 0:i.width),backgroundImageHeight:e.backgroundImageHeight||(null===(s=e.background)||void 0===s||null===(a=s.image)||void 0===a?void 0:a.height),backgroundImageX:e.backgroundImageX||(null===(c=e.background)||void 0===c||null===(u=c.image)||void 0===u?void 0:u.x),backgroundImageY:e.backgroundImageY||(null===(l=e.background)||void 0===l||null===(p=l.image)||void 0===p?void 0:p.y),backgroundImageAlpha:e.backgroundImageAlpha||(null===(d=e.background)||void 0===d||null===(f=d.image)||void 0===f?void 0:f.alpha),backgroundImageBorderRadius:e.backgroundImageBorderRadius||(null===(h=e.background)||void 0===h||null===(g=h.image)||void 0===g?void 0:g.borderRadius),backgroundPadding:e.backgroundPadding,foregroundColor:e.foregroundColor||(null===(m=e.foreground)||void 0===m?void 0:m.color),foregroundImageSrc:e.foregroundImageSrc||(null===(y=e.foreground)||void 0===y||null===(v=y.image)||void 0===v?void 0:v.src),foregroundImageWidth:e.foregroundImageWidth||(null===(b=e.foreground)||void 0===b||null===(w=b.image)||void 0===w?void 0:w.width),foregroundImageHeight:e.foregroundImageHeight||(null===(S=e.foreground)||void 0===S||null===(x=S.image)||void 0===x?void 0:x.height),foregroundImageX:e.foregroundImageX||(null===(k=e.foreground)||void 0===k||null===(A=k.image)||void 0===A?void 0:A.x),foregroundImageY:e.foregroundImageY||(null===(C=e.foreground)||void 0===C||null===(T=C.image)||void 0===T?void 0:T.y),foregroundImagePadding:e.foregroundImagePadding||(null===(I=e.foreground)||void 0===I||null===(E=I.image)||void 0===E?void 0:E.padding),foregroundImageBackgroundColor:e.foregroundImageBackgroundColor||(null===(P=e.foreground)||void 0===P||null===(B=P.image)||void 0===B?void 0:B.backgroundColor),foregroundImageBorderRadius:e.foregroundImageBorderRadius||(null===(O=e.foreground)||void 0===O||null===(_=O.image)||void 0===_?void 0:_.borderRadius),foregroundImageShadowOffsetX:e.foregroundImageShadowOffsetX||(null===(L=e.foreground)||void 0===L||null===(N=L.image)||void 0===N?void 0:N.shadowOffsetX),foregroundImageShadowOffsetY:e.foregroundImageShadowOffsetY||(null===(j=e.foreground)||void 0===j||null===(D=j.image)||void 0===D?void 0:D.shadowOffsetY),foregroundImageShadowBlur:e.foregroundImageShadowBlur||(null===(M=e.foreground)||void 0===M||null===(F=M.image)||void 0===F?void 0:F.shadowBlur),foregroundImageShadowColor:e.foregroundImageShadowColor||(null===(R=e.foreground)||void 0===R||null===(z=R.image)||void 0===z?void 0:z.shadowColor),foregroundPadding:e.foregroundPadding,positionProbeBackgroundColor:e.positionProbeBackgroundColor||(null===(U=e.positionProbe)||void 0===U?void 0:U.backgroundColor)||(null===(Q=e.positionDetection)||void 0===Q?void 0:Q.backgroundColor),positionProbeForegroundColor:e.positionProbeForegroundColor||(null===(H=e.positionProbe)||void 0===H?void 0:H.foregroundColor)||(null===(q=e.positionDetection)||void 0===q?void 0:q.foregroundColor),separatorColor:e.separatorColor||(null===(W=e.separator)||void 0===W?void 0:W.color),positionAdjustBackgroundColor:e.positionAdjustBackgroundColor||(null===(V=e.positionAdjust)||void 0===V?void 0:V.backgroundColor)||(null===($=e.alignment)||void 0===$?void 0:$.backgroundColor),positionAdjustForegroundColor:e.positionAdjustForegroundColor||(null===(K=e.positionAdjust)||void 0===K?void 0:K.foregroundColor)||(null===(Y=e.alignment)||void 0===Y?void 0:Y.foregroundColor),timingBackgroundColor:e.timingBackgroundColor||(null===(J=e.timing)||void 0===J?void 0:J.backgroundColor),timingForegroundColor:e.timingForegroundColor||(null===(X=e.timing)||void 0===X?void 0:X.foregroundColor),typeNumberBackgroundColor:e.typeNumberBackgroundColor||(null===(G=e.typeNumber)||void 0===G?void 0:G.backgroundColor)||(null===(Z=e.versionInformation)||void 0===Z?void 0:Z.backgroundColor),typeNumberForegroundColor:e.typeNumberForegroundColor||(null===(ee=e.typeNumber)||void 0===ee?void 0:ee.foregroundColor)||(null===(te=e.versionInformation)||void 0===te?void 0:te.foregroundColor),darkBlockColor:e.darkBlockColor||(null===(oe=e.darkBlock)||void 0===oe?void 0:oe.color)},!0))},b.prototype.make=function(){let{foregroundColor:e,backgroundColor:o,typeNumber:n,errorCorrectLevel:r,data:i,dataEncode:s,size:a,margin:c,useDynamicSize:u}=this;if(e===o)throw console.error("[uQRCode]: foregroundColor and backgroundColor cannot be the same!"),new b.Error("foregroundColor and backgroundColor cannot be the same!");s&&(i=function(e){e=e.toString();for(var t,o="",n=0;n=1&&t<=127?o+=e.charAt(n):t>2047?(o+=String.fromCharCode(224|t>>12&15),o+=String.fromCharCode(128|t>>6&63),o+=String.fromCharCode(128|63&t)):(o+=String.fromCharCode(192|t>>6&31),o+=String.fromCharCode(128|63&t));return o}(i));var l=new t(n,r);l.addData(i),l.make(),this.base=l,this.typeNumber=l.typeNumber,this.modules=l.modules,this.moduleCount=l.moduleCount,this.dynamicSize=u?Math.ceil((a-2*c)/l.moduleCount)*l.moduleCount+2*c:a,function(e){let{dynamicSize:t,margin:o,backgroundColor:n,backgroundPadding:r,foregroundColor:i,foregroundPadding:s,modules:a,moduleCount:c}=e;var u=(t-2*o)/c,l=u,p=0;r>0&&(l-=2*(p=l*r/2));var d=u,f=0;s>0&&(d-=2*(f=d*s/2));for(var h=0;h{var o=t[e[0]][e[1]],s=t[e[0]+i][e[1]],a=t[e[0]][e[1]+i];a.type.push("positionProbe"),s.type.push("positionProbe"),o.type.push("positionProbe"),o.color=1==e[2]?r:n,s.color=1==e[2]?r:n,a.color=1==e[2]?r:n})}(this),function(e){let{modules:t,moduleCount:o,separatorColor:n}=e;[[7,0],[7,1],[7,2],[7,3],[7,4],[7,5],[7,6],[7,7],[0,7],[1,7],[2,7],[3,7],[4,7],[5,7],[6,7]].forEach(e=>{var r=t[e[0]][e[1]],i=t[o-e[0]-1][e[1]],s=t[e[0]][o-e[1]-1];s.type.push("separator"),i.type.push("separator"),r.type.push("separator"),r.color=n,i.color=n,s.color=n})}(this),function(e){let{typeNumber:t,modules:o,moduleCount:n,foregroundColor:r,backgroundColor:i,positionAdjustForegroundColor:s,positionAdjustBackgroundColor:a,timingForegroundColor:c,timingBackgroundColor:u}=e;var l=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]][t-1];if(l)for(var p=[[-2,-2,1],[-1,-2,1],[0,-2,1],[1,-2,1],[2,-2,1],[-2,-1,1],[-1,-1,0],[0,-1,0],[1,-1,0],[2,-1,1],[-2,0,1],[-1,0,0],[0,0,1],[1,0,0],[2,0,1],[-2,1,1],[-1,1,0],[0,1,0],[1,1,0],[2,1,1],[-2,2,1],[-1,2,1],[0,2,1],[1,2,1],[2,2,1]],d=l.length,f=0;fn-9-1&&m<9||m>n-9-1&&g<9||p.forEach(e=>{var t=o[g+e[0]][m+e[1]];t.type.push("positionAdjust"),t.type.includes("timing")?1==e[2]?t.color=s==r?c:s:t.color=s==r&&a==i?u:a:t.color=1==e[2]?s:a})}}(this),function(e){let{modules:t,moduleCount:o,timingForegroundColor:n,timingBackgroundColor:r}=e;for(var i=o-16,s=0;s{var n=o[e[0]][e[1]];n.type.push("typeNumber"),n.color="1"==a[t]?i:r})}(this),this.isMaked=!0,this.drawModules=[]},b.prototype.getDrawModules=function(){if(this.drawModules&&this.drawModules.length>0)return this.drawModules;let e=this.drawModules=[],{modules:t,moduleCount:o,dynamicSize:n,areaColor:r,backgroundImageSrc:i,backgroundImageX:s,backgroundImageY:a,backgroundImageWidth:c,backgroundImageHeight:u,backgroundImageAlpha:l,backgroundImageBorderRadius:p,foregroundImageSrc:d,foregroundImageX:f,foregroundImageY:h,foregroundImageWidth:g,foregroundImageHeight:m,foregroundImagePadding:y,foregroundImageBackgroundColor:v,foregroundImageBorderRadius:b,foregroundImageShadowOffsetX:w,foregroundImageShadowOffsetY:S,foregroundImageShadowBlur:x,foregroundImageShadowColor:k}=this;r&&e.push({name:"area",type:"area",color:r,x:0,y:0,width:n,height:n}),i&&e.push({name:"backgroundImage",type:"image",imageSrc:i,mappingName:"backgroundImageSrc",x:s,y:a,width:c,height:u,alpha:l,borderRadius:p});for(var A=0;Ae||0>t||e>=o||t>=o)&&this.modules[e][t].isBlack},b.prototype.drawCanvas=function(e){let{isMaked:t,canvasContext:o,useDynamicSize:n,dynamicSize:r,foregroundColor:i,foregroundPadding:s,backgroundColor:a,backgroundPadding:c,drawReserve:u,margin:l}=this;if(!t)return console.error("[uQRCode]: please execute the make method first!"),Promise.reject(new b.Error("please execute the make method first!"));let p=this.getDrawModules(),d=async(t,n)=>{try{o.draw(e);for(var r=0;r0&&(o.beginPath(),o.moveTo(s+f,a),o.arcTo(s+c,a,s+c,a+l,f),o.arcTo(s+c,a+l,s,a+l,f),o.arcTo(s,a+l,s,a,f),o.arcTo(s,a,s+c,a,f),o.closePath(),o.setStrokeStyle("rgba(0,0,0,0)"),o.stroke(),o.clip());try{var d=await this.loadImage(i.imageSrc);o.drawImage(d,s,a,c,l)}catch(S){throw console.error(`[uQRCode]: ${i.mappingName} invalid!`),new b.Error(`${i.mappingName} invalid!`)}}else if("foregroundImage"===i.name){s=Math.round(i.x),a=Math.round(i.y),c=Math.round(i.width),l=Math.round(i.height);var f,h=Math.round(i.padding);c<2*(f=Math.round(i.borderRadius))&&(f=c/2),l<2*f&&(f=l/2);var g=s-h,m=a-h,y=c+2*h,v=l+2*h,w=Math.round(y/c*f);y<2*w&&(w=y/2),v<2*w&&(w=v/2),o.save(),o.setShadow(i.shadowOffsetX,i.shadowOffsetY,i.shadowBlur,i.shadowColor),w>0?(o.beginPath(),o.moveTo(g+w,m),o.arcTo(g+y,m,g+y,m+v,w),o.arcTo(g+y,m+v,g,m+v,w),o.arcTo(g,m+v,g,m,w),o.arcTo(g,m,g+y,m,w),o.closePath(),o.setFillStyle(i.backgroundColor),o.fill()):(o.setFillStyle(i.backgroundColor),o.fillRect(g,m,y,v)),o.restore(),o.save(),w>0?(o.beginPath(),o.moveTo(g+w,m),o.arcTo(g+y,m,g+y,m+v,w),o.arcTo(g+y,m+v,g,m+v,w),o.arcTo(g,m+v,g,m,w),o.arcTo(g,m,g+y,m,w),o.closePath(),o.setFillStyle(h>0?i.backgroundColor:"rgba(0,0,0,0)"),o.fill()):(o.setFillStyle(h>0?i.backgroundColor:"rgba(0,0,0,0)"),o.fillRect(g,m,y,v)),o.restore(),f>0&&(o.beginPath(),o.moveTo(s+f,a),o.arcTo(s+c,a,s+c,a+l,f),o.arcTo(s+c,a+l,s,a+l,f),o.arcTo(s,a+l,s,a,f),o.arcTo(s,a,s+c,a,f),o.closePath(),o.setStrokeStyle("rgba(0,0,0,0)"),o.stroke(),o.clip());try{d=await this.loadImage(i.imageSrc),o.drawImage(d,s,a,c,l)}catch(S){throw console.error(`[uQRCode]: ${i.mappingName} invalid!`),new b.Error(`${i.mappingName} invalid!`)}}}u&&o.draw(!0),o.restore()}o.draw(!0),setTimeout(t,150)}catch(S){n(S)}};return new Promise((e,t)=>{d(e,t)})},b.prototype.draw=function(e){return this.drawCanvas(e)},b.prototype.register=function(e){e&&e(b,this,!0)},b}();const $u=Vu,Ku={props:{src:{type:String,default:()=>au.avatar.src},shape:{type:String,default:()=>au.avatar.shape},size:{type:[String,Number],default:()=>au.avatar.size},mode:{type:String,default:()=>au.avatar.mode},text:{type:String,default:()=>au.avatar.text},bgColor:{type:String,default:()=>au.avatar.bgColor},color:{type:String,default:()=>au.avatar.color},fontSize:{type:[String,Number],default:()=>au.avatar.fontSize},icon:{type:String,default:()=>au.avatar.icon},mpAvatar:{type:Boolean,default:()=>au.avatar.mpAvatar},randomBgColor:{type:Boolean,default:()=>au.avatar.randomBgColor},defaultUrl:{type:String,default:()=>au.avatar.defaultUrl},colorIndex:{type:[String,Number],validator:e=>Ya.range(e,[0,19])||""===e,default:()=>au.avatar.colorIndex},name:{type:String,default:()=>au.avatar.name}}},Yu={props:{modelValue:{type:[String,Number],default:()=>au.search.value},shape:{type:String,default:()=>au.search.shape},bgColor:{type:String,default:()=>au.search.bgColor},placeholder:{type:String,default:()=>au.search.placeholder},clearabled:{type:Boolean,default:()=>au.search.clearabled},onlyClearableOnFocused:{type:Boolean,default:!0},focus:{type:Boolean,default:()=>au.search.focus},showAction:{type:Boolean,default:()=>au.search.showAction},actionText:{type:String,default:()=>au.search.actionText},label:{type:[String,Number,null],default:()=>au.search.label},inputAlign:{type:String,default:()=>au.search.inputAlign},disabled:{type:Boolean,default:()=>au.search.disabled},animation:{type:Boolean,default:()=>au.search.animation},borderColor:{type:String,default:()=>au.search.borderColor},searchIconColor:{type:String,default:()=>au.search.searchIconColor},searchIconSize:{type:[Number,String],default:()=>au.search.searchIconSize},color:{type:String,default:()=>au.search.color},placeholderColor:{type:String,default:()=>au.search.placeholderColor},searchIcon:{type:String,default:()=>au.search.searchIcon},margin:{type:String,default:()=>au.search.margin},iconPosition:{type:String,default:()=>au.search.iconPosition},maxlength:{type:[String,Number],default:()=>au.search.maxlength},height:{type:[String,Number],default:()=>au.search.height},adjustPosition:{type:Boolean,default:()=>au.search.adjustPosition},autoBlur:{type:Boolean,default:()=>au.search.autoBlur},inputStyle:{type:Object,default:()=>au.search.inputStyle},actionStyle:{type:Object,default:()=>au.search.actionStyle},customStyle:{type:Object,default:()=>au.search.customStyle}}},Ju={props:{name:{type:String,default:()=>au.icon.name},color:{type:String,default:()=>au.icon.color},size:{type:[String,Number],default:()=>au.icon.size},bold:{type:Boolean,default:()=>au.icon.bold},index:{type:[String,Number],default:()=>au.icon.index},hoverClass:{type:String,default:()=>au.icon.hoverClass},customPrefix:{type:String,default:()=>au.icon.customPrefix},label:{type:[String,Number],default:()=>au.icon.label},labelPos:{type:String,default:()=>au.icon.labelPos},labelSize:{type:[String,Number],default:()=>au.icon.labelSize},labelColor:{type:String,default:()=>au.icon.labelColor},space:{type:[String,Number],default:()=>au.icon.space},imgMode:{type:String,default:()=>au.icon.imgMode},width:{type:[String,Number],default:()=>au.icon.width},height:{type:[String,Number],default:()=>au.icon.height},top:{type:[String,Number],default:()=>au.icon.top},stop:{type:Boolean,default:()=>au.icon.stop}}},Xu={props:{title:{type:[String,Number],default:()=>au.stepsItem.title},desc:{type:[String,Number],default:()=>au.stepsItem.desc},iconSize:{type:[String,Number],default:()=>au.stepsItem.iconSize},error:{type:Boolean,default:()=>au.stepsItem.error},itemStyle:{type:[Object],default:{}}}},Gu={props:{direction:{type:String,default:()=>au.steps.direction},current:{type:[String,Number],default:()=>au.steps.current},activeColor:{type:String,default:()=>au.steps.activeColor},inactiveColor:{type:String,default:()=>au.steps.inactiveColor},activeIcon:{type:String,default:()=>au.steps.activeIcon},inactiveIcon:{type:String,default:()=>au.steps.inactiveIcon},dot:{type:Boolean,default:()=>au.steps.dot}}},Zu={props:{show:{type:Boolean,default:()=>au.loadingIcon.show},color:{type:String,default:()=>au.loadingIcon.color},textColor:{type:String,default:()=>au.loadingIcon.textColor},vertical:{type:Boolean,default:()=>au.loadingIcon.vertical},mode:{type:String,default:()=>au.loadingIcon.mode},size:{type:[String,Number],default:()=>au.loadingIcon.size},textSize:{type:[String,Number],default:()=>au.loadingIcon.textSize},text:{type:[String,Number],default:()=>au.loadingIcon.text},timingFunction:{type:String,default:()=>au.loadingIcon.timingFunction},duration:{type:[String,Number],default:()=>au.loadingIcon.duration},inactiveColor:{type:String,default:()=>au.loadingIcon.inactiveColor}}},el={props:{duration:{type:Number,default:()=>au.tabs.duration},list:{type:Array,default:()=>au.tabs.list},lineColor:{type:String,default:()=>au.tabs.lineColor},activeStyle:{type:[String,Object],default:()=>au.tabs.activeStyle},inactiveStyle:{type:[String,Object],default:()=>au.tabs.inactiveStyle},lineWidth:{type:[String,Number],default:()=>au.tabs.lineWidth},lineHeight:{type:[String,Number],default:()=>au.tabs.lineHeight},lineBgSize:{type:String,default:()=>au.tabs.lineBgSize},itemStyle:{type:[String,Object],default:()=>au.tabs.itemStyle},scrollable:{type:Boolean,default:()=>au.tabs.scrollable},current:{type:[Number,String],default:()=>au.tabs.current},keyName:{type:String,default:()=>au.tabs.keyName},iconStyle:{type:[String,Object],default:()=>au.tabs.iconStyle}}},tl={props:{name:{type:[String,Number,Boolean],default:()=>au.checkbox.name},shape:{type:String,default:()=>au.checkbox.shape},size:{type:[String,Number],default:()=>au.checkbox.size},checked:{type:Boolean,default:()=>au.checkbox.checked},disabled:{type:[String,Boolean],default:()=>au.checkbox.disabled},activeColor:{type:String,default:()=>au.checkbox.activeColor},inactiveColor:{type:String,default:()=>au.checkbox.inactiveColor},iconSize:{type:[String,Number],default:()=>au.checkbox.iconSize},iconColor:{type:String,default:()=>au.checkbox.iconColor},label:{type:[String,Number],default:()=>au.checkbox.label},labelSize:{type:[String,Number],default:()=>au.checkbox.labelSize},labelColor:{type:String,default:()=>au.checkbox.labelColor},labelDisabled:{type:[String,Boolean],default:()=>au.checkbox.labelDisabled},usedAlone:{type:[Boolean],default:()=>!1}}},ol={props:{name:{type:String,default:()=>au.checkboxGroup.name},modelValue:{type:Array,default:()=>au.checkboxGroup.value},shape:{type:String,default:()=>au.checkboxGroup.shape},disabled:{type:Boolean,default:()=>au.checkboxGroup.disabled},activeColor:{type:String,default:()=>au.checkboxGroup.activeColor},inactiveColor:{type:String,default:()=>au.checkboxGroup.inactiveColor},size:{type:[String,Number],default:()=>au.checkboxGroup.size},placement:{type:String,default:()=>au.checkboxGroup.placement},labelSize:{type:[String,Number],default:()=>au.checkboxGroup.labelSize},labelColor:{type:[String],default:()=>au.checkboxGroup.labelColor},labelDisabled:{type:Boolean,default:()=>au.checkboxGroup.labelDisabled},iconColor:{type:String,default:()=>au.checkboxGroup.iconColor},iconSize:{type:[String,Number],default:()=>au.checkboxGroup.iconSize},iconPlacement:{type:String,default:()=>au.checkboxGroup.iconPlacement},borderBottom:{type:Boolean,default:()=>au.checkboxGroup.borderBottom}}},nl={pages:[{path:"pages/index/index",style:{navigationBarTitleText:"首页",navigationStyle:"custom"}},{path:"pages/loading",style:{navigationBarTitleText:"加载中..."}},{path:"pages/login",style:{navigationBarTitleText:"登录/注册",navigationStyle:"custom"}},{path:"pages/data_oard/index",style:{navigationBarTitleText:"数据看板"}},{path:"pages/public/select_project/index",style:{navigationBarTitleText:"选择项目"}},{path:"pages/public/select_project/pages/permission_show",style:{navigationBarTitleText:"突发事件"}},{path:"pages/me/index",style:{navigationBarTitleText:"个人中心",navigationStyle:"custom"}},{path:"pages/public/asset_houses/index",style:{navigationBarTitleText:"房屋管理"}},{path:"pages/transfer/index",style:{navigationBarTitleText:"正在识别..."}}],subPackages:[{root:"WORKORDER",pages:[{path:"list/index",style:{navigationBarTitleText:"我的工单"}},{path:"list_log/index",style:{navigationBarTitleText:"提报记录"}},{path:"show_log/index",style:{navigationBarTitleText:"提报工单详情"}},{path:"update/index",style:{navigationBarTitleText:"更新进度"}},{path:"show/index",style:{navigationBarTitleText:"工单详情"}},{path:"add/index",style:{navigationBarTitleText:"新增工单"}},{path:"poster/index",style:{navigationBarTitleText:"工单收款码"}},{path:"acceptance/index",style:{navigationBarTitleText:"验收工单"}},{path:"patrol_update/index",style:{navigationBarTitleText:"巡查更新"}}]},{root:"ME",pages:[{path:"work_order_home/index",style:{navigationBarTitleText:"工单提报"}},{path:"attendance/my_schedules/index",style:{navigationBarTitleText:"签到打卡"}},{path:"attendance/sign_clock_in/index",style:{navigationBarTitleText:"签到打卡"}},{path:"emergency/list/index",style:{navigationBarTitleText:"突发事件"}},{path:"emergency/add/index",style:{navigationBarTitleText:"突发事件添加"}},{path:"emergency/update/index",style:{navigationBarTitleText:"更新进度"}},{path:"emergency/change/index",style:{navigationBarTitleText:"变更突发事件"}},{path:"emergency/show/index",style:{navigationBarTitleText:"突发事件详情"}},{path:"update/index",style:{navigationBarTitleText:"用户信息"}},{path:"announcement/list/index",style:{navigationBarTitleText:"公告列表"}},{path:"announcement/show/index",style:{navigationBarTitleText:"公告详情"}},{path:"feedback/index",style:{navigationBarTitleText:"意见反馈"}},{path:"knowledge_qa/index",style:{navigationBarTitleText:"知识问答"}},{path:"knowledge_qa/show",style:{navigationBarTitleText:"知识详情"}},{path:"push_show/index",style:{navigationBarTitleText:"任务预览"}},{path:"instrument/list/index",style:{navigationBarTitleText:"仪表抄表"}},{path:"instrument/add/index",style:{navigationBarTitleText:"抄表"}},{path:"instrument/log/index",style:{navigationBarTitleText:"抄表记录"}},{path:"instrument/log_show/index",style:{navigationBarTitleText:"抄表记录详情"}}]},{root:"CUSTOMER",pages:[{path:"show/index",style:{navigationBarTitleText:"客户详情"}},{path:"update/index",style:{navigationBarTitleText:"客户编辑"}},{path:"assets/index",style:{navigationBarTitleText:"客户资产"}},{path:"bind_house/index",style:{navigationBarTitleText:"入户登记"}},{path:"house_list/index",style:{navigationBarTitleText:"房屋列表"}},{path:"house_select/index",style:{navigationBarTitleText:"房源列表"}},{path:"house_Identity/index",style:{navigationBarTitleText:"选择身份"}},{path:"house_Identity/success",style:{navigationBarTitleText:"绑定房屋",navigationStyle:"custom"}},{path:"bind_house_form/index",style:{navigationBarTitleText:"绑定产权人"}},{path:"bind_house_form/success",style:{navigationBarTitleText:"绑定房屋",navigationStyle:"custom"}},{path:"list_user/index",style:{navigationBarTitleText:"客户列表"}},{path:"list_house/index",style:{navigationBarTitleText:"房屋管理"}},{path:"list_bill/index",style:{navigationBarTitleText:"发送账单"}}]},{root:"BILL",pages:[{path:"outstanding_fee/index/index",style:{navigationBarTitleText:"欠费房屋"}},{path:"record/payment/index",style:{navigationBarTitleText:"缴费记录"}},{path:"record/urge_payment/index",style:{navigationBarTitleText:"催费记录"}},{path:"outstanding_fee/show/index",style:{navigationBarTitleText:"房屋详情"}},{path:"outstanding_fee/add/index",style:{navigationBarTitleText:"新增催缴记录"}},{path:"bill_details/index",style:{navigationBarTitleText:"账单详情"}},{path:"information_template/index",style:{navigationBarTitleText:"选择信息模版"}},{path:"poster/index",style:{navigationBarTitleText:"二维码收款"}},{path:"collection_record/index/index",style:{navigationBarTitleText:"催缴记录"}},{path:"collection_record/show/index",style:{navigationBarTitleText:"催缴详情"}},{path:"send_bill/index",style:{navigationBarTitleText:"账单列表"}}]},{root:"INDEX",pages:[{path:"release_items/index",style:{navigationBarTitleText:"出入登记"}},{path:"pass/index",style:{navigationBarTitleText:"出入管理"}},{path:"watermark_camera/index",style:{navigationBarTitleText:"水印相机"}},{path:"task/list/index",style:{navigationBarTitleText:"任务中心"}},{path:"task/show/index",style:{navigationBarTitleText:"任务详情"}},{path:"task/update/index",style:{navigationBarTitleText:"领取工单"}}]}],tabBar:{color:"#3D3D3D",selectedColor:"#3D3D3D",backgroundColor:"#ffffff",borderStyle:"black",list:[{pagePath:"pages/index/index",text:"首页",iconPath:"/static/tabbar/home.png",selectedIconPath:"/static/tabbar/home_active.png"},{pagePath:"pages/me/index",text:"我的",iconPath:"/static/tabbar/me.png",selectedIconPath:"/static/tabbar/me_active.png"}]},easycom:{custom:{"^u-(.*)":"uview-plus/components/u-$1/u-$1.vue","^up-(.*)":"uview-plus/components/u-$1/u-$1.vue","^u-([^-].*)":"uview-plus/components/u-$1/u-$1.vue","^cc-(.*)":"@/common/components/cc-$1/cc-$1.vue","^nchl-(.*)":"@/components/my-$1/nchl-$1.vue"}},globalStyle:{navigationBarBackgroundColor:"#fff",navigationBarTextStyle:"black"}};function rl(e,t,o){return e(o={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&o.path)}},o.exports),o.exports}var il=rl(function(e,t){var o;e.exports=(o=o||function(e){var t=Object.create||function(){function e(){}return function(t){var o;return e.prototype=t,o=new e,e.prototype=null,o}}(),o={},n=o.lib={},r=n.Base={extend:function(e){var o=t(this);return e&&o.mixIn(e),o.hasOwnProperty("init")&&this.init!==o.init||(o.init=function(){o.$super.init.apply(this,arguments)}),o.init.prototype=o,o.$super=this,o},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},i=n.WordArray=r.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||a).stringify(this)},concat:function(e){var t=this.words,o=e.words,n=this.sigBytes,r=e.sigBytes;if(this.clamp(),n%4)for(var i=0;i>>2]>>>24-i%4*8&255;t[n+i>>>2]|=s<<24-(n+i)%4*8}else for(i=0;i>>2]=o[i>>>2];return this.sigBytes+=r,this},clamp:function(){var t=this.words,o=this.sigBytes;t[o>>>2]&=4294967295<<32-o%4*8,t.length=e.ceil(o/4)},clone:function(){var e=r.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var o,n=[],r=function(t){var o=987654321,n=4294967295;return function(){var r=((o=36969*(65535&o)+(o>>16)&n)<<16)+(t=18e3*(65535&t)+(t>>16)&n)&n;return r/=4294967296,(r+=.5)*(e.random()>.5?1:-1)}},s=0;s>>2]>>>24-r%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,o=[],n=0;n>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new i.init(o,t/2)}},c=s.Latin1={stringify:function(e){for(var t=e.words,o=e.sigBytes,n=[],r=0;r>>2]>>>24-r%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var t=e.length,o=[],n=0;n>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new i.init(o,t)}},u=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(c.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return c.parse(unescape(encodeURIComponent(e)))}},l=n.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new i.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=u.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var o=this._data,n=o.words,r=o.sigBytes,s=this.blockSize,a=r/(4*s),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,u=e.min(4*c,r);if(c){for(var l=0;l>>24)|4278255360&(r<<24|r>>>8)}var i=this._hash.words,s=e[t+0],c=e[t+1],f=e[t+2],h=e[t+3],g=e[t+4],m=e[t+5],y=e[t+6],v=e[t+7],b=e[t+8],w=e[t+9],S=e[t+10],x=e[t+11],k=e[t+12],A=e[t+13],C=e[t+14],T=e[t+15],I=i[0],E=i[1],P=i[2],B=i[3];I=u(I,E,P,B,s,7,a[0]),B=u(B,I,E,P,c,12,a[1]),P=u(P,B,I,E,f,17,a[2]),E=u(E,P,B,I,h,22,a[3]),I=u(I,E,P,B,g,7,a[4]),B=u(B,I,E,P,m,12,a[5]),P=u(P,B,I,E,y,17,a[6]),E=u(E,P,B,I,v,22,a[7]),I=u(I,E,P,B,b,7,a[8]),B=u(B,I,E,P,w,12,a[9]),P=u(P,B,I,E,S,17,a[10]),E=u(E,P,B,I,x,22,a[11]),I=u(I,E,P,B,k,7,a[12]),B=u(B,I,E,P,A,12,a[13]),P=u(P,B,I,E,C,17,a[14]),I=l(I,E=u(E,P,B,I,T,22,a[15]),P,B,c,5,a[16]),B=l(B,I,E,P,y,9,a[17]),P=l(P,B,I,E,x,14,a[18]),E=l(E,P,B,I,s,20,a[19]),I=l(I,E,P,B,m,5,a[20]),B=l(B,I,E,P,S,9,a[21]),P=l(P,B,I,E,T,14,a[22]),E=l(E,P,B,I,g,20,a[23]),I=l(I,E,P,B,w,5,a[24]),B=l(B,I,E,P,C,9,a[25]),P=l(P,B,I,E,h,14,a[26]),E=l(E,P,B,I,b,20,a[27]),I=l(I,E,P,B,A,5,a[28]),B=l(B,I,E,P,f,9,a[29]),P=l(P,B,I,E,v,14,a[30]),I=p(I,E=l(E,P,B,I,k,20,a[31]),P,B,m,4,a[32]),B=p(B,I,E,P,b,11,a[33]),P=p(P,B,I,E,x,16,a[34]),E=p(E,P,B,I,C,23,a[35]),I=p(I,E,P,B,c,4,a[36]),B=p(B,I,E,P,g,11,a[37]),P=p(P,B,I,E,v,16,a[38]),E=p(E,P,B,I,S,23,a[39]),I=p(I,E,P,B,A,4,a[40]),B=p(B,I,E,P,s,11,a[41]),P=p(P,B,I,E,h,16,a[42]),E=p(E,P,B,I,y,23,a[43]),I=p(I,E,P,B,w,4,a[44]),B=p(B,I,E,P,k,11,a[45]),P=p(P,B,I,E,T,16,a[46]),I=d(I,E=p(E,P,B,I,f,23,a[47]),P,B,s,6,a[48]),B=d(B,I,E,P,v,10,a[49]),P=d(P,B,I,E,C,15,a[50]),E=d(E,P,B,I,m,21,a[51]),I=d(I,E,P,B,k,6,a[52]),B=d(B,I,E,P,h,10,a[53]),P=d(P,B,I,E,S,15,a[54]),E=d(E,P,B,I,c,21,a[55]),I=d(I,E,P,B,b,6,a[56]),B=d(B,I,E,P,T,10,a[57]),P=d(P,B,I,E,y,15,a[58]),E=d(E,P,B,I,A,21,a[59]),I=d(I,E,P,B,g,6,a[60]),B=d(B,I,E,P,x,10,a[61]),P=d(P,B,I,E,f,15,a[62]),E=d(E,P,B,I,w,21,a[63]),i[0]=i[0]+I|0,i[1]=i[1]+E|0,i[2]=i[2]+P|0,i[3]=i[3]+B|0},_doFinalize:function(){var t=this._data,o=t.words,n=8*this._nDataBytes,r=8*t.sigBytes;o[r>>>5]|=128<<24-r%32;var i=e.floor(n/4294967296),s=n;o[15+(r+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),o[14+(r+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),t.sigBytes=4*(o.length+1),this._process();for(var a=this._hash,c=a.words,u=0;u<4;u++){var l=c[u];c[u]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return a},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,o,n,r,i,s){var a=e+(t&o|~t&n)+r+s;return(a<>>32-i)+t}function l(e,t,o,n,r,i,s){var a=e+(t&n|o&~n)+r+s;return(a<>>32-i)+t}function p(e,t,o,n,r,i,s){var a=e+(t^o^n)+r+s;return(a<>>32-i)+t}function d(e,t,o,n,r,i,s){var a=e+(o^(t|~n))+r+s;return(a<>>32-i)+t}t.MD5=i._createHelper(c),t.HmacMD5=i._createHmacHelper(c)}(Math),o.MD5)}),rl(function(e,t){var o,n,r;e.exports=(n=(o=sl).lib.Base,r=o.enc.Utf8,void(o.algo.HMAC=n.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var o=e.blockSize,n=4*o;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),s=this._iKey=t.clone(),a=i.words,c=s.words,u=0;u>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,a=0;a<4&&i+.75*a>>6*(3-a)&63));var c=n.charAt(64);if(c)for(;r.length%4;)r.push(c);return r.join("")},parse:function(e){var t=e.length,o=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var i=0;i>>6-s%4*2;n[i>>>2]|=(a|c)<<24-i%4*8,i++}return r.create(n,i)}(e,t,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},o.enc.Base64)});const ll="FUNCTION",pl="pending",dl="rejected";function fl(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function hl(e){return"object"===fl(e)}function gl(e){return"function"==typeof e}function ml(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}const yl="REJECTED",vl="NOT_PENDING";class bl{constructor({createPromise:e,retryRule:t=yl}={}){this.createPromise=e,this.status=null,this.promise=null,this.retryRule=t}get needRetry(){if(!this.status)return!0;switch(this.retryRule){case yl:return this.status===dl;case vl:return this.status!==pl}}exec(){return this.needRetry?(this.status=pl,this.promise=this.createPromise().then(e=>(this.status="fullfilled",Promise.resolve(e)),e=>(this.status=dl,Promise.reject(e))),this.promise):this.promise}}function wl(e){return e&&"string"==typeof e?JSON.parse(e):e}const Sl=wl([]),xl="mp-weixin";wl("");const kl=wl("[]")||[];let Al="";try{Al=""}catch(hp){}let Cl={};function Tl(e,t={}){var o,n;return o=Cl,n=e,Object.prototype.hasOwnProperty.call(o,n)||(Cl[e]=t),Cl[e]}const Il=["invoke","success","fail","complete"],El=Tl("_globalUniCloudInterceptor");function Pl(e,t){El[e]||(El[e]={}),hl(t)&&Object.keys(t).forEach(o=>{Il.indexOf(o)>-1&&function(e,t,o){let n=El[e][t];n||(n=El[e][t]=[]),-1===n.indexOf(o)&&gl(o)&&n.push(o)}(e,o,t[o])})}function Bl(e,t){El[e]||(El[e]={}),hl(t)?Object.keys(t).forEach(o=>{Il.indexOf(o)>-1&&function(e,t,o){const n=El[e][t];if(!n)return;const r=n.indexOf(o);r>-1&&n.splice(r,1)}(e,o,t[o])}):delete El[e]}function Ol(e,t){return e&&0!==e.length?e.reduce((e,o)=>e.then(()=>o(t)),Promise.resolve()):Promise.resolve()}function _l(e,t){return El[e]&&El[e][t]||[]}function Ll(e){Pl("callObject",e)}const Nl=Tl("_globalUniCloudListener"),jl="response",Dl="needLogin",Ml="refreshToken",Fl="clientdb",Rl="cloudfunction",zl="cloudobject";function Ul(e){return Nl[e]||(Nl[e]=[]),Nl[e]}function Ql(e,t){const o=Ul(e);o.includes(t)||o.push(t)}function Hl(e,t){const o=Ul(e),n=o.indexOf(t);-1!==n&&o.splice(n,1)}function ql(e,t){const o=Ul(e);for(let n=0;n{Vl&&e(),function t(){if("function"==typeof getCurrentPages){const t=getCurrentPages();t&&t[0]&&(Vl=!0,e())}Vl||setTimeout(()=>{t()},30)}()}),Wl)}function Kl(e){const t={};for(const o in e){const n=e[o];gl(n)&&(t[o]=ml(n))}return t}class Yl extends Error{constructor(e){super(e.message),this.errMsg=e.message||e.errMsg||"unknown system error",this.code=this.errCode=e.code||e.errCode||"SYSTEM_ERROR",this.errSubject=this.subject=e.subject||e.errSubject,this.cause=e.cause,this.requestId=e.requestId}toJson(e=0){if(!(e>=10))return e++,{errCode:this.errCode,errMsg:this.errMsg,errSubject:this.errSubject,cause:this.cause&&this.cause.toJson?this.cause.toJson(e):this.cause}}}var Jl={request:e=>Co.request(e),uploadFile:e=>Co.uploadFile(e),setStorageSync:(e,t)=>Co.setStorageSync(e,t),getStorageSync:e=>Co.getStorageSync(e),removeStorageSync:e=>Co.removeStorageSync(e),clearStorageSync:()=>Co.clearStorageSync()};function Xl(e){return e&&Xl(e.__v_raw)||e}function Gl(){return{token:Jl.getStorageSync("uni_id_token")||Jl.getStorageSync("uniIdToken"),tokenExpired:Jl.getStorageSync("uni_id_token_expired")}}function Zl({token:e,tokenExpired:t}={}){e&&Jl.setStorageSync("uni_id_token",e),t&&Jl.setStorageSync("uni_id_token_expired",t)}let ep,tp;function op(){return ep||(ep=Co.getSystemInfoSync()),ep}function np(){let e,t;try{if(Co.getLaunchOptionsSync){if(Co.getLaunchOptionsSync.toString().indexOf("not yet implemented")>-1)return;const{scene:o,channel:n}=Co.getLaunchOptionsSync();e=n,t=o}}catch(o){}return{channel:e,scene:t}}function rp(){const e=Co.getLocale&&Co.getLocale()||"en";if(tp)return{...tp,locale:e,LOCALE:e};const t=op(),{deviceId:o,osName:n,uniPlatform:r,appId:i}=t,s=["pixelRatio","brand","model","system","language","version","platform","host","SDKVersion","swanNativeVersion","app","AppPlatform","fontSizeSetting"];for(let a=0;a{t(Object.assign(e,{complete(e){e||(e={});const t=e.data&&e.data.header&&e.data.header["x-serverless-request-id"]||e.header&&e.header["request-id"];if(!e.statusCode||e.statusCode>=400)return n(new Yl({code:"SYS_ERR",message:e.errMsg||"request:fail",requestId:t}));const r=e.data;if(r.error)return n(new Yl({code:r.error.code,message:r.error.message,requestId:t}));r.result=r.data,r.requestId=t,delete r.data,o(r)}}))})},ap=function(e){return ul.stringify(cl.parse(e))},cp={"uniCloud.init.paramRequired":"{param} required","uniCloud.uploadFile.fileError":"filePath should be instance of File"};const{t:up}=function(e,t={},o,n){"string"!=typeof e&&([e,t]=[t,e]),"string"!=typeof e&&(e=void 0!==Co&&Co.getLocale?Co.getLocale():"undefined"!=typeof global&&global.getLocale?global.getLocale():Ne),"string"!=typeof o&&(o="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||Ne);const r=new Re({locale:e,fallbackLocale:o,messages:t,watcher:n});let i=(e,t)=>{if("function"!=typeof getApp)i=function(e,t){return r.t(e,t)};else{let e=!1;i=function(t,o){const n=getApp().$vm;return n&&(n.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale(e=>{t.setLocale(e)}):e.$watch(()=>e.$locale,e=>{t.setLocale(e)})}(n,r))),r.t(t,o)}}return i(e,t)};return{i18n:r,f:(e,t,o)=>r.f(e,t,o),t:(e,t)=>i(e,t),add:(e,t,o=!0)=>r.add(e,t,o),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}({"zh-Hans":{"uniCloud.init.paramRequired":"缺少参数:{param}","uniCloud.uploadFile.fileError":"filePath应为File对象"},"zh-Hant":{"uniCloud.init.paramRequired":"缺少参数:{param}","uniCloud.uploadFile.fileError":"filePath应为File对象"},en:cp,fr:{"uniCloud.init.paramRequired":"{param} required","uniCloud.uploadFile.fileError":"filePath should be instance of File"},es:{"uniCloud.init.paramRequired":"{param} required","uniCloud.uploadFile.fileError":"filePath should be instance of File"},ja:cp},"zh-Hans");var lp=class{constructor(e){["spaceId","clientSecret"].forEach(t=>{if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error(up("uniCloud.init.paramRequired",{param:t}))}),this.config=Object.assign({},{endpoint:0===e.spaceId.indexOf("mp-")?"https://api.next.bspapp.com":"https://api.bspapp.com"},e),this.config.provider="aliyun",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.config.accessTokenKey="access_token_"+this.config.spaceId,this.adapter=Jl,this._getAccessTokenPromiseHub=new bl({createPromise:()=>this.requestAuth(this.setupRequest({method:"serverless.auth.user.anonymousAuthorize",params:"{}"},"auth")).then(e=>{if(!e.result||!e.result.accessToken)throw new Yl({code:"AUTH_FAILED",message:"获取accessToken失败"});this.setAccessToken(e.result.accessToken)}),retryRule:vl})}get hasAccessToken(){return!!this.accessToken}setAccessToken(e){this.accessToken=e}requestWrapped(e){return sp(e,this.adapter.request)}requestAuth(e){return this.requestWrapped(e)}request(e,t){return Promise.resolve().then(()=>this.hasAccessToken?t?this.requestWrapped(e):this.requestWrapped(e).catch(t=>new Promise((e,o)=>{!t||"GATEWAY_INVALID_TOKEN"!==t.code&&"InvalidParameter.InvalidToken"!==t.code?o(t):e()}).then(()=>this.getAccessToken()).then(()=>{const t=this.rebuildRequest(e);return this.request(t,!0)})):this.getAccessToken().then(()=>{const t=this.rebuildRequest(e);return this.request(t,!0)}))}rebuildRequest(e){const t=Object.assign({},e);return t.data.token=this.accessToken,t.header["x-basement-token"]=this.accessToken,t.header["x-serverless-sign"]=ip(t.data,this.config.clientSecret),t}setupRequest(e,t){const o=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),n={"Content-Type":"application/json"};return"auth"!==t&&(o.token=this.accessToken,n["x-basement-token"]=this.accessToken),n["x-serverless-sign"]=ip(o,this.config.clientSecret),{url:this.config.requestUrl,method:"POST",data:o,dataType:"json",header:n}}getAccessToken(){return this._getAccessTokenPromiseHub.exec()}async authorize(){await this.getAccessToken()}callFunction(e){const t={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:e.name,functionArgs:e.data||{}})};return this.request(this.setupRequest(t))}getOSSUploadOptionsFromPath(e){const t={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}uploadFileToOSS({url:e,formData:t,name:o,filePath:n,fileType:r,onUploadProgress:i}){return new Promise((s,a)=>{const c=this.adapter.uploadFile({url:e,formData:t,name:o,filePath:n,fileType:r,header:{"X-OSS-server-side-encrpytion":"AES256"},success(e){e&&e.statusCode<400?s(e):a(new Yl({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(e){a(new Yl({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof i&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate(e=>{i({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})})})}reportOSSUpload(e){const t={method:"serverless.file.resource.report",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}async uploadFile({filePath:e,cloudPath:t,fileType:o="image",cloudPathAsRealPath:n=!1,onUploadProgress:r,config:i}){if("string"!==fl(t))throw new Yl({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});if(!(t=t.trim()))throw new Yl({code:"INVALID_PARAM",message:"cloudPath不可为空"});if(/:\/\//.test(t))throw new Yl({code:"INVALID_PARAM",message:"cloudPath不合法"});const s=i&&i.envType||this.config.envType;if(n&&("/"!==t[0]&&(t="/"+t),t.indexOf("\\")>-1))throw new Yl({code:"INVALID_PARAM",message:"使用cloudPath作为路径时,cloudPath不可包含“\\”"});const a=(await this.getOSSUploadOptionsFromPath({env:s,filename:n?t.split("/").pop():t,fileId:n?t:void 0})).result,c="https://"+a.cdnDomain+"/"+a.ossPath,{securityToken:u,accessKeyId:l,signature:p,host:d,ossPath:f,id:h,policy:g,ossCallbackUrl:m}=a,y={"Cache-Control":"max-age=2592000","Content-Disposition":"attachment",OSSAccessKeyId:l,Signature:p,host:d,id:h,key:f,policy:g,success_action_status:200};if(u&&(y["x-oss-security-token"]=u),m){const e=JSON.stringify({callbackUrl:m,callbackBody:JSON.stringify({fileId:h,spaceId:this.config.spaceId}),callbackBodyType:"application/json"});y.callback=ap(e)}const v={url:"https://"+a.host,formData:y,fileName:"file",name:"file",filePath:e,fileType:o};if(await this.uploadFileToOSS(Object.assign({},v,{onUploadProgress:r})),m)return{success:!0,filePath:e,fileID:c};if((await this.reportOSSUpload({id:h})).success)return{success:!0,filePath:e,fileID:c};throw new Yl({code:"UPLOAD_FAILED",message:"文件上传失败"})}getTempFileURL({fileList:e}={}){return new Promise((t,o)=>{Array.isArray(e)&&0!==e.length||o(new Yl({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"})),t({fileList:e.map(e=>({fileID:e,tempFileURL:e}))})})}async getFileInfo({fileList:e}={}){if(!Array.isArray(e)||0===e.length)throw new Yl({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});const t={method:"serverless.file.resource.info",params:JSON.stringify({id:e.map(e=>e.split("?")[0]).join(",")})};return{fileList:(await this.request(this.setupRequest(t))).result}}},pp={init(e){const t=new lp(e),o={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return o},t.customAuth=t.auth,t}};const dp="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:";var fp,hp;(hp=fp||(fp={})).local="local",hp.none="none",hp.session="session";var gp=function(){};const mp=()=>{let e;if(!Promise){e=()=>{},e.promise={};const t=()=>{throw new Yl({message:'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'})};return Object.defineProperty(e.promise,"then",{get:t}),Object.defineProperty(e.promise,"catch",{get:t}),e}const t=new Promise((t,o)=>{e=(e,n)=>e?o(e):t(n)});return e.promise=t,e};function yp(e){return void 0===e}function vp(e){return"[object Null]"===Object.prototype.toString.call(e)}var bp;!function(e){e.WEB="web",e.WX_MP="wx_mp"}(bp||(bp={}));const wp={adapter:null,runtime:void 0},Sp=["anonymousUuidKey"];class xp extends gp{constructor(){super(),wp.adapter.root.tcbObject||(wp.adapter.root.tcbObject={})}setItem(e,t){wp.adapter.root.tcbObject[e]=t}getItem(e){return wp.adapter.root.tcbObject[e]}removeItem(e){delete wp.adapter.root.tcbObject[e]}clear(){delete wp.adapter.root.tcbObject}}function kp(e,t){switch(e){case"local":return t.localStorage||new xp;case"none":return new xp;default:return t.sessionStorage||new xp}}class Ap{constructor(e){if(!this._storage){this._persistence=wp.adapter.primaryStorage||e.persistence,this._storage=kp(this._persistence,wp.adapter);const t=`access_token_${e.env}`,o=`access_token_expire_${e.env}`,n=`refresh_token_${e.env}`,r=`anonymous_uuid_${e.env}`,i=`login_type_${e.env}`,s=`user_info_${e.env}`;this.keys={accessTokenKey:t,accessTokenExpireKey:o,refreshTokenKey:n,anonymousUuidKey:r,loginTypeKey:i,userInfoKey:s}}}updatePersistence(e){if(e===this._persistence)return;const t="local"===this._persistence;this._persistence=e;const o=kp(e,wp.adapter);for(const n in this.keys){const e=this.keys[n];if(t&&Sp.includes(n))continue;const r=this._storage.getItem(e);yp(r)||vp(r)||(o.setItem(e,r),this._storage.removeItem(e))}this._storage=o}setStore(e,t,o){if(!this._storage)return;const n={version:o||"localCachev1",content:t},r=JSON.stringify(n);try{this._storage.setItem(e,r)}catch(i){throw i}}getStore(e,t){try{if(!this._storage)return}catch(n){return""}t=t||"localCachev1";const o=this._storage.getItem(e);return o&&o.indexOf(t)>=0?JSON.parse(o).content:""}removeStore(e){this._storage.removeItem(e)}}const Cp={},Tp={};function Ip(e){return Cp[e]}class Ep{constructor(e,t){this.data=t||null,this.name=e}}class Pp extends Ep{constructor(e,t){super("error",{error:e,data:t}),this.error=e}}const Bp=new class{constructor(){this._listeners={}}on(e,t){return o=e,n=t,(r=this._listeners)[o]=r[o]||[],r[o].push(n),this;var o,n,r}off(e,t){return function(e,t,o){if(o&&o[e]){const n=o[e].indexOf(t);-1!==n&&o[e].splice(n,1)}}(e,t,this._listeners),this}fire(e,t){if(e instanceof Pp)return console.error(e.error),this;const o="string"==typeof e?new Ep(e,t||{}):e,n=o.name;if(this._listens(n)){o.target=this;const e=this._listeners[n]?[...this._listeners[n]]:[];for(const t of e)t.call(this,o)}return this}_listens(e){return this._listeners[e]&&this._listeners[e].length>0}};function Op(e,t){Bp.on(e,t)}function _p(e,t={}){Bp.fire(e,t)}function Lp(e,t){Bp.off(e,t)}const Np="loginStateChanged",jp="loginStateExpire",Dp="loginTypeChanged",Mp="anonymousConverted",Fp="refreshAccessToken";var Rp;!function(e){e.ANONYMOUS="ANONYMOUS",e.WECHAT="WECHAT",e.WECHAT_PUBLIC="WECHAT-PUBLIC",e.WECHAT_OPEN="WECHAT-OPEN",e.CUSTOM="CUSTOM",e.EMAIL="EMAIL",e.USERNAME="USERNAME",e.NULL="NULL"}(Rp||(Rp={}));const zp=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"],Up={"X-SDK-Version":"1.3.5"};function Qp(e,t,o){const n=e[t];e[t]=function(t){const r={},i={};o.forEach(o=>{const{data:n,headers:s}=o.call(e,t);Object.assign(r,n),Object.assign(i,s)});const s=t.data;return s&&(()=>{var e;if(e=s,"[object FormData]"!==Object.prototype.toString.call(e))t.data={...s,...r};else for(const t in r)s.append(t,r[t])})(),t.headers={...t.headers||{},...i},n.call(e,t)}}function Hp(){const e=Math.random().toString(16).slice(2);return{data:{seqId:e},headers:{...Up,"x-seqid":e}}}class qp{constructor(e={}){var t;this.config=e,this._reqClass=new wp.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:`请求在${this.config.timeout/1e3}s内未完成,已中断`,restrictedMethods:["post"]}),this._cache=Ip(this.config.env),this._localCache=(t=this.config.env,Tp[t]),Qp(this._reqClass,"post",[Hp]),Qp(this._reqClass,"upload",[Hp]),Qp(this._reqClass,"download",[Hp])}async post(e){return await this._reqClass.post(e)}async upload(e){return await this._reqClass.upload(e)}async download(e){return await this._reqClass.download(e)}async refreshAccessToken(){let e,t;this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken());try{e=await this._refreshAccessTokenPromise}catch(o){t=o}if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,t)throw t;return e}async _refreshAccessToken(){const{accessTokenKey:e,accessTokenExpireKey:t,refreshTokenKey:o,loginTypeKey:n,anonymousUuidKey:r}=this._cache.keys;this._cache.removeStore(e),this._cache.removeStore(t);let i=this._cache.getStore(o);if(!i)throw new Yl({message:"未登录CloudBase"});const s={refresh_token:i},a=await this.request("auth.fetchAccessTokenWithRefreshToken",s);if(a.data.code){const{code:e}=a.data;if("SIGN_PARAM_INVALID"===e||"REFRESH_TOKEN_EXPIRED"===e||"INVALID_REFRESH_TOKEN"===e){if(this._cache.getStore(n)===Rp.ANONYMOUS&&"INVALID_REFRESH_TOKEN"===e){const e=this._cache.getStore(r),t=this._cache.getStore(o),n=await this.send("auth.signInAnonymously",{anonymous_uuid:e,refresh_token:t});return this.setRefreshToken(n.refresh_token),this._refreshAccessToken()}_p(jp),this._cache.removeStore(o)}throw new Yl({code:a.data.code,message:`刷新access token失败:${a.data.code}`})}if(a.data.access_token)return _p(Fp),this._cache.setStore(e,a.data.access_token),this._cache.setStore(t,a.data.access_token_expire+Date.now()),{accessToken:a.data.access_token,accessTokenExpire:a.data.access_token_expire};a.data.refresh_token&&(this._cache.removeStore(o),this._cache.setStore(o,a.data.refresh_token),this._refreshAccessToken())}async getAccessToken(){const{accessTokenKey:e,accessTokenExpireKey:t,refreshTokenKey:o}=this._cache.keys;if(!this._cache.getStore(o))throw new Yl({message:"refresh token不存在,登录状态异常"});let n=this._cache.getStore(e),r=this._cache.getStore(t),i=!0;return this._shouldRefreshAccessTokenHook&&!(await this._shouldRefreshAccessTokenHook(n,r))&&(i=!1),(!n||!r||r{e.wxOpenId&&e.wxPublicId&&(t=!0)}),{users:o,hasPrimaryUid:t}}setPrimaryUid(e){return this._request.send("auth.setPrimaryUid",{uid:e})}unlink(e){return this._request.send("auth.unlink",{platform:e})}async update(e){const{nickName:t,gender:o,avatarUrl:n,province:r,country:i,city:s}=e,{data:a}=await this._request.send("auth.updateUserInfo",{nickName:t,gender:o,avatarUrl:n,province:r,country:i,city:s});this.setLocalUserInfo(a)}async refresh(){const{data:e}=await this._request.send("auth.getUserInfo",{});return this.setLocalUserInfo(e),e}setUserInfo(){const{userInfoKey:e}=this._cache.keys,t=this._cache.getStore(e);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl"].forEach(e=>{this[e]=t[e]}),this.location={country:t.country,province:t.province,city:t.city}}setLocalUserInfo(e){const{userInfoKey:t}=this._cache.keys;this._cache.setStore(t,e),this.setUserInfo()}}class Yp{constructor(e){if(!e)throw new Yl({code:"PARAM_ERROR",message:"envId is not defined"});this._cache=Ip(e);const{refreshTokenKey:t,accessTokenKey:o,accessTokenExpireKey:n}=this._cache.keys,r=this._cache.getStore(t),i=this._cache.getStore(o),s=this._cache.getStore(n);this.credential={refreshToken:r,accessToken:i,accessTokenExpire:s},this.user=new Kp(e)}get isAnonymousAuth(){return this.loginType===Rp.ANONYMOUS}get isCustomAuth(){return this.loginType===Rp.CUSTOM}get isWeixinAuth(){return this.loginType===Rp.WECHAT||this.loginType===Rp.WECHAT_OPEN||this.loginType===Rp.WECHAT_PUBLIC}get loginType(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}class Jp extends $p{async signIn(){this._cache.updatePersistence("local");const{anonymousUuidKey:e,refreshTokenKey:t}=this._cache.keys,o=this._cache.getStore(e)||void 0,n=this._cache.getStore(t)||void 0,r=await this._request.send("auth.signInAnonymously",{anonymous_uuid:o,refresh_token:n});if(r.uuid&&r.refresh_token){this._setAnonymousUUID(r.uuid),this.setRefreshToken(r.refresh_token),await this._request.refreshAccessToken(),_p(Np),_p(Dp,{env:this.config.env,loginType:Rp.ANONYMOUS,persistence:"local"});const e=new Yp(this.config.env);return await e.user.refresh(),e}throw new Yl({message:"匿名登录失败"})}async linkAndRetrieveDataWithTicket(e){const{anonymousUuidKey:t,refreshTokenKey:o}=this._cache.keys,n=this._cache.getStore(t),r=this._cache.getStore(o),i=await this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:n,refresh_token:r,ticket:e});if(i.refresh_token)return this._clearAnonymousUUID(),this.setRefreshToken(i.refresh_token),await this._request.refreshAccessToken(),_p(Mp,{env:this.config.env}),_p(Dp,{loginType:Rp.CUSTOM,persistence:"local"}),{credential:{refreshToken:i.refresh_token}};throw new Yl({message:"匿名转化失败"})}_setAnonymousUUID(e){const{anonymousUuidKey:t,loginTypeKey:o}=this._cache.keys;this._cache.removeStore(t),this._cache.setStore(t,e),this._cache.setStore(o,Rp.ANONYMOUS)}_clearAnonymousUUID(){this._cache.removeStore(this._cache.keys.anonymousUuidKey)}}class Xp extends $p{async signIn(e){if("string"!=typeof e)throw new Yl({code:"PARAM_ERROR",message:"ticket must be a string"});const{refreshTokenKey:t}=this._cache.keys,o=await this._request.send("auth.signInWithTicket",{ticket:e,refresh_token:this._cache.getStore(t)||""});if(o.refresh_token)return this.setRefreshToken(o.refresh_token),await this._request.refreshAccessToken(),_p(Np),_p(Dp,{env:this.config.env,loginType:Rp.CUSTOM,persistence:this.config.persistence}),await this.refreshUserInfo(),new Yp(this.config.env);throw new Yl({message:"自定义登录失败"})}}class Gp extends $p{async signIn(e,t){if("string"!=typeof e)throw new Yl({code:"PARAM_ERROR",message:"email must be a string"});const{refreshTokenKey:o}=this._cache.keys,n=await this._request.send("auth.signIn",{loginType:"EMAIL",email:e,password:t,refresh_token:this._cache.getStore(o)||""}),{refresh_token:r,access_token:i,access_token_expire:s}=n;if(r)return this.setRefreshToken(r),i&&s?this.setAccessToken(i,s):await this._request.refreshAccessToken(),await this.refreshUserInfo(),_p(Np),_p(Dp,{env:this.config.env,loginType:Rp.EMAIL,persistence:this.config.persistence}),new Yp(this.config.env);throw n.code?new Yl({code:n.code,message:`邮箱登录失败: ${n.message}`}):new Yl({message:"邮箱登录失败"})}async activate(e){return this._request.send("auth.activateEndUserMail",{token:e})}async resetPasswordWithToken(e,t){return this._request.send("auth.resetPasswordWithToken",{token:e,newPassword:t})}}class Zp extends $p{async signIn(e,t){if("string"!=typeof e)throw new Yl({code:"PARAM_ERROR",message:"username must be a string"});"string"!=typeof t&&(t="",console.warn("password is empty"));const{refreshTokenKey:o}=this._cache.keys,n=await this._request.send("auth.signIn",{loginType:Rp.USERNAME,username:e,password:t,refresh_token:this._cache.getStore(o)||""}),{refresh_token:r,access_token_expire:i,access_token:s}=n;if(r)return this.setRefreshToken(r),s&&i?this.setAccessToken(s,i):await this._request.refreshAccessToken(),await this.refreshUserInfo(),_p(Np),_p(Dp,{env:this.config.env,loginType:Rp.USERNAME,persistence:this.config.persistence}),new Yp(this.config.env);throw n.code?new Yl({code:n.code,message:`用户名密码登录失败: ${n.message}`}):new Yl({message:"用户名密码登录失败"})}}class ed{constructor(e){this.config=e,this._cache=Ip(e.env),this._request=Vp(e.env),this._onAnonymousConverted=this._onAnonymousConverted.bind(this),this._onLoginTypeChanged=this._onLoginTypeChanged.bind(this),Op(Dp,this._onLoginTypeChanged)}get currentUser(){const e=this.hasLoginState();return e&&e.user||null}get loginType(){return this._cache.getStore(this._cache.keys.loginTypeKey)}anonymousAuthProvider(){return new Jp(this.config)}customAuthProvider(){return new Xp(this.config)}emailAuthProvider(){return new Gp(this.config)}usernameAuthProvider(){return new Zp(this.config)}async signInAnonymously(){return new Jp(this.config).signIn()}async signInWithEmailAndPassword(e,t){return new Gp(this.config).signIn(e,t)}signInWithUsernameAndPassword(e,t){return new Zp(this.config).signIn(e,t)}async linkAndRetrieveDataWithTicket(e){return this._anonymousAuthProvider||(this._anonymousAuthProvider=new Jp(this.config)),Op(Mp,this._onAnonymousConverted),await this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(e)}async signOut(){if(this.loginType===Rp.ANONYMOUS)throw new Yl({message:"匿名用户不支持登出操作"});const{refreshTokenKey:e,accessTokenKey:t,accessTokenExpireKey:o}=this._cache.keys,n=this._cache.getStore(e);if(!n)return;const r=await this._request.send("auth.logout",{refresh_token:n});return this._cache.removeStore(e),this._cache.removeStore(t),this._cache.removeStore(o),_p(Np),_p(Dp,{env:this.config.env,loginType:Rp.NULL,persistence:this.config.persistence}),r}async signUpWithEmailAndPassword(e,t){return this._request.send("auth.signUpWithEmailAndPassword",{email:e,password:t})}async sendPasswordResetEmail(e){return this._request.send("auth.sendPasswordResetEmail",{email:e})}onLoginStateChanged(e){Op(Np,()=>{const t=this.hasLoginState();e.call(this,t)});const t=this.hasLoginState();e.call(this,t)}onLoginStateExpired(e){Op(jp,e.bind(this))}onAccessTokenRefreshed(e){Op(Fp,e.bind(this))}onAnonymousConverted(e){Op(Mp,e.bind(this))}onLoginTypeChanged(e){Op(Dp,()=>{const t=this.hasLoginState();e.call(this,t)})}async getAccessToken(){return{accessToken:(await this._request.getAccessToken()).accessToken,env:this.config.env}}hasLoginState(){const{refreshTokenKey:e}=this._cache.keys;return this._cache.getStore(e)?new Yp(this.config.env):null}async isUsernameRegistered(e){if("string"!=typeof e)throw new Yl({code:"PARAM_ERROR",message:"username must be a string"});const{data:t}=await this._request.send("auth.isUsernameRegistered",{username:e});return t&&t.isRegistered}getLoginState(){return Promise.resolve(this.hasLoginState())}async signInWithTicket(e){return new Xp(this.config).signIn(e)}shouldRefreshAccessToken(e){this._request._shouldRefreshAccessTokenHook=e.bind(this)}getUserInfo(){return this._request.send("auth.getUserInfo",{}).then(e=>e.code?e:{...e.data,requestId:e.seqId})}getAuthHeader(){const{refreshTokenKey:e,accessTokenKey:t}=this._cache.keys,o=this._cache.getStore(e);return{"x-cloudbase-credentials":this._cache.getStore(t)+"/@@/"+o}}_onAnonymousConverted(e){const{env:t}=e.data;t===this.config.env&&this._cache.updatePersistence(this.config.persistence)}_onLoginTypeChanged(e){const{loginType:t,persistence:o,env:n}=e.data;n===this.config.env&&(this._cache.updatePersistence(o),this._cache.setStore(this._cache.keys.loginTypeKey,t))}}const td=function(e,t){t=t||mp();const o=Vp(this.config.env),{cloudPath:n,filePath:r,onUploadProgress:i,fileType:s="image"}=e;return o.send("storage.getUploadMetadata",{path:n}).then(e=>{const{data:{url:a,authorization:c,token:u,fileId:l,cosFileId:p},requestId:d}=e,f={key:n,signature:c,"x-cos-meta-fileid":p,success_action_status:"201","x-cos-security-token":u};o.upload({url:a,data:f,file:r,name:n,fileType:s,onUploadProgress:i}).then(e=>{201===e.statusCode?t(null,{fileID:l,requestId:d}):t(new Yl({code:"STORAGE_REQUEST_FAIL",message:`STORAGE_REQUEST_FAIL: ${e.data}`}))}).catch(e=>{t(e)})}).catch(e=>{t(e)}),t.promise},od=function(e,t){t=t||mp();const o=Vp(this.config.env),{cloudPath:n}=e;return o.send("storage.getUploadMetadata",{path:n}).then(e=>{t(null,e)}).catch(e=>{t(e)}),t.promise},nd=function({fileList:e},t){if(t=t||mp(),!e||!Array.isArray(e))return{code:"INVALID_PARAM",message:"fileList必须是非空的数组"};for(let n of e)if(!n||"string"!=typeof n)return{code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"};const o={fileid_list:e};return Vp(this.config.env).send("storage.batchDeleteFile",o).then(e=>{e.code?t(null,e):t(null,{fileList:e.data.delete_list,requestId:e.requestId})}).catch(e=>{t(e)}),t.promise},rd=function({fileList:e},t){t=t||mp(),e&&Array.isArray(e)||t(null,{code:"INVALID_PARAM",message:"fileList必须是非空的数组"});let o=[];for(let r of e)"object"==typeof r?(r.hasOwnProperty("fileID")&&r.hasOwnProperty("maxAge")||t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是包含fileID和maxAge的对象"}),o.push({fileid:r.fileID,max_age:r.maxAge})):"string"==typeof r?o.push({fileid:r}):t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是字符串"});const n={file_list:o};return Vp(this.config.env).send("storage.batchGetDownloadUrl",n).then(e=>{e.code?t(null,e):t(null,{fileList:e.data.download_list,requestId:e.requestId})}).catch(e=>{t(e)}),t.promise},id=async function({fileID:e},t){const o=(await rd.call(this,{fileList:[{fileID:e,maxAge:600}]})).fileList[0];if("SUCCESS"!==o.code)return t?t(o):new Promise(e=>{e(o)});const n=Vp(this.config.env);let r=o.download_url;if(r=encodeURI(r),!t)return n.download({url:r});t(await n.download({url:r}))},sd=function({name:e,data:t,query:o,parse:n,search:r},i){const s=i||mp();let a;try{a=t?JSON.stringify(t):""}catch(u){return Promise.reject(u)}if(!e)return Promise.reject(new Yl({code:"PARAM_ERROR",message:"函数名不能为空"}));const c={inQuery:o,parse:n,search:r,function_name:e,request_data:a};return Vp(this.config.env).send("functions.invokeFunction",c).then(e=>{if(e.code)s(null,e);else{let o=e.data.response_data;if(n)s(null,{result:o,requestId:e.requestId});else try{o=JSON.parse(e.data.response_data),s(null,{result:o,requestId:e.requestId})}catch(t){s(new Yl({message:"response data must be json"}))}}return s.promise}).catch(e=>{s(e)}),s.promise},ad={timeout:15e3,persistence:"session"},cd={};class ud{constructor(e){this.config=e||this.config,this.authObj=void 0}init(e){switch(wp.adapter||(this.requestClient=new wp.adapter.reqClass({timeout:e.timeout||5e3,timeoutMsg:`请求在${(e.timeout||5e3)/1e3}s内未完成,已中断`})),this.config={...ad,...e},!0){case this.config.timeout>6e5:console.warn("timeout大于可配置上限[10分钟],已重置为上限数值"),this.config.timeout=6e5;break;case this.config.timeout<100:console.warn("timeout小于可配置下限[100ms],已重置为下限数值"),this.config.timeout=100}return new ud(this.config)}auth({persistence:e}={}){if(this.authObj)return this.authObj;const t=e||wp.adapter.primaryStorage||ad.persistence;var o;return t!==this.config.persistence&&(this.config.persistence=t),function(e){const{env:t}=e;Cp[t]=new Ap(e),Tp[t]=new Ap({...e,persistence:"local"})}(this.config),o=this.config,Wp[o.env]=new qp(o),this.authObj=new ed(this.config),this.authObj}on(e,t){return Op.apply(this,[e,t])}off(e,t){return Lp.apply(this,[e,t])}callFunction(e,t){return sd.apply(this,[e,t])}deleteFile(e,t){return nd.apply(this,[e,t])}getTempFileURL(e,t){return rd.apply(this,[e,t])}downloadFile(e,t){return id.apply(this,[e,t])}uploadFile(e,t){return td.apply(this,[e,t])}getUploadMetadata(e,t){return od.apply(this,[e,t])}registerExtension(e){cd[e.name]=e}async invokeExtension(e,t){const o=cd[e];if(!o)throw new Yl({message:`扩展${e} 必须先注册`});return await o.invoke(t,this)}useAdapters(e){const{adapter:t,runtime:o}=function(e){const t=(o=e,"[object Array]"===Object.prototype.toString.call(o)?e:[e]);var o;for(const n of t){const{isMatch:e,genAdapter:t,runtime:o}=n;if(e())return{adapter:t(),runtime:o}}}(e)||{};t&&(wp.adapter=t),o&&(wp.runtime=o)}}var ld=new ud;function pd(e,t,o){void 0===o&&(o={});var n=/\?/.test(t),r="";for(var i in o)""===r?!n&&(t+="?"):r+="&",r+=i+"="+encodeURIComponent(o[i]);return/^http(s)?:\/\//.test(t+=r)?t:""+e+t}class dd{post(e){const{url:t,data:o,headers:n}=e;return new Promise((e,r)=>{Jl.request({url:pd("https:",t),data:o,method:"POST",header:n,success(t){e(t)},fail(e){r(e)}})})}upload(e){return new Promise((t,o)=>{const{url:n,file:r,data:i,headers:s,fileType:a}=e,c=Jl.uploadFile({url:pd("https:",n),name:"file",formData:Object.assign({},i),filePath:r,fileType:a,header:s,success(e){const o={statusCode:e.statusCode,data:e.data||{}};200===e.statusCode&&i.success_action_status&&(o.statusCode=parseInt(i.success_action_status,10)),t(o)},fail(e){o(new Error(e.errMsg||"uploadFile:fail"))}});"function"==typeof e.onUploadProgress&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate(t=>{e.onUploadProgress({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})})})}}const fd={setItem(e,t){Jl.setStorageSync(e,t)},getItem:e=>Jl.getStorageSync(e),removeItem(e){Jl.removeStorageSync(e)},clear(){Jl.clearStorageSync()}};var hd={genAdapter:function(){return{root:{},reqClass:dd,localStorage:fd,primaryStorage:"local"}},isMatch:function(){return!0},runtime:"uni_app"};ld.useAdapters(hd);const gd=ld,md=gd.init;gd.init=function(e){e.env=e.spaceId;const t=md.call(this,e);t.config.provider="tencent",t.config.spaceId=e.spaceId;const o=t.auth;return t.auth=function(e){const t=o.call(this,e);return["linkAndRetrieveDataWithTicket","signInAnonymously","signOut","getAccessToken","getLoginState","signInWithTicket","getUserInfo"].forEach(e=>{var o;t[e]=(o=t[e],function(e){e=e||{};const{success:t,fail:n,complete:r}=Kl(e);if(!(t||n||r))return o.call(this,e);o.call(this,e).then(e=>{t&&t(e),r&&r(e)},e=>{n&&n(e),r&&r(e)})}).bind(t)}),t},t.customAuth=t.auth,t};var yd=gd,vd=class extends lp{getAccessToken(){return new Promise((e,t)=>{const o="Anonymous_Access_token";this.setAccessToken(o),e(o)})}setupRequest(e,t){const o=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),n={"Content-Type":"application/json"};"auth"!==t&&(o.token=this.accessToken,n["x-basement-token"]=this.accessToken),n["x-serverless-sign"]=ip(o,this.config.clientSecret);const r=rp();n["x-client-info"]=encodeURIComponent(JSON.stringify(r));const{token:i}=Gl();return n["x-client-token"]=i,{url:this.config.requestUrl,method:"POST",data:o,dataType:"json",header:JSON.parse(JSON.stringify(n))}}uploadFileToOSS({url:e,formData:t,name:o,filePath:n,fileType:r,onUploadProgress:i}){return new Promise((s,a)=>{const c=this.adapter.uploadFile({url:e,formData:t,name:o,filePath:n,fileType:r,success(e){e&&e.statusCode<400?s(e):a(new Yl({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(e){a(new Yl({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof i&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate(e=>{i({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})})})}uploadFile({filePath:e,cloudPath:t,fileType:o="image",onUploadProgress:n}){if(!t)throw new Yl({code:"CLOUDPATH_REQUIRED",message:"cloudPath不可为空"});let r;return this.getOSSUploadOptionsFromPath({cloudPath:t}).then(t=>{const{url:i,formData:s,name:a}=t.result;r=t.result.fileUrl;const c={url:i,formData:s,name:a,filePath:e,fileType:o};return this.uploadFileToOSS(Object.assign({},c,{onUploadProgress:n}))}).then(()=>this.reportOSSUpload({cloudPath:t})).then(t=>new Promise((o,n)=>{t.success?o({success:!0,filePath:e,fileID:r}):n(new Yl({code:"UPLOAD_FAILED",message:"文件上传失败"}))}))}deleteFile({fileList:e}){const t={method:"serverless.file.resource.delete",params:JSON.stringify({fileList:e})};return this.request(this.setupRequest(t)).then(e=>{if(e.success)return e.result;throw new Yl({code:"DELETE_FILE_FAILED",message:"删除文件失败"})})}getTempFileURL({fileList:e}={}){if(!Array.isArray(e)||0===e.length)throw new Yl({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});const t={method:"serverless.file.resource.getTempFileURL",params:JSON.stringify({fileList:e})};return this.request(this.setupRequest(t)).then(e=>{if(e.success)return{fileList:e.result.fileList.map(e=>({fileID:e.fileID,tempFileURL:e.tempFileURL}))};throw new Yl({code:"GET_TEMP_FILE_URL_FAILED",message:"获取临时文件链接失败"})})}},bd={init(e){const t=new vd(e),o={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return o},t.customAuth=t.auth,t}};function wd({data:e}){let t;t=rp();const o=JSON.parse(JSON.stringify(e||{}));if(Object.assign(o,{clientInfo:t}),!o.uniIdToken){const{token:e}=Gl();e&&(o.uniIdToken=e)}return o}const Sd=[{rule:/fc_function_not_found|FUNCTION_NOT_FOUND/,content:",云函数[{functionName}]在云端不存在,请检查此云函数名称是否正确以及该云函数是否已上传到服务空间",mode:"append"}];var xd=/[\\^$.*+?()[\]{}|]/g,kd=RegExp(xd.source);function Ad(e,t,o){return e.replace(new RegExp((n=t)&&kd.test(n)?n.replace(xd,"\\$&"):n,"g"),o);var n}const Cd=2e4,Td={code:20101,message:"Invalid client"};function Id(e){const{errSubject:t,subject:o,errCode:n,errMsg:r,code:i,message:s,cause:a}=e||{};return new Yl({subject:t||o||"uni-secure-network",code:n||i||Cd,message:r||s,cause:a})}let Ed;function Pd({secretType:e}={}){return"request"===e||"response"===e||"both"===e}function Bd({functionName:e,result:t,logPvd:o}){}function Od(e){const t=e.callFunction,o=function(o){const n=o.name;o.data=wd.call(e,{data:o.data});const r={aliyun:"aliyun",tencent:"tcb",tcb:"tcb"}[this.config.provider],i=Pd(o)||false;return t.call(this,o).then(e=>(e.errCode=0,!i&&Bd.call(this,{functionName:n,result:e,logPvd:r}),Promise.resolve(e)),e=>(!i&&Bd.call(this,{functionName:n,result:e,logPvd:r}),e&&e.message&&(e.message=function({message:e="",extraInfo:t={},formatter:o=[]}={}){for(let n=0;no.provider===e&&o.spaceId===t);return n&&n.config}({provider:e,spaceId:t});if(!a||!a.accessControl||!a.accessControl.enable)return!1;const c=a.accessControl.function||{},u=Object.keys(c);if(0===u.length)return!0;const l=function(e,t){let o,n,r;for(let i=0;ie.trim()).indexOf(t)>-1&&(n=s):r=s:o=s}return o||n||r}(u,o);if(!l)return!1;if((c[l]||[]).find((e={})=>e.appId===n&&(e.platform||"").toLowerCase()===s.toLowerCase()))return!0;throw console.error(`此应用[appId: ${n}, platform: ${s}]不在云端配置的允许访问的应用列表内,参考:https://uniapp.dcloud.net.cn/uniCloud/secure-network.html#verify-client`),Id(Td)}({provider:n,spaceId:r,functionName:i})?new Ed({secretType:t.secretType,uniCloudIns:e}).wrapVerifyClientCallFunction(o.bind(e))(t):s(t),Object.defineProperty(a,"result",{get:()=>(console.warn("当前返回结果为Promise类型,不可直接访问其result属性,详情请参考:https://uniapp.dcloud.net.cn/uniCloud/faq?id=promise"),{})}),a}}Ed=class{constructor(){throw Id({message:`Platform ${xl} is not enabled, please check whether secure network module is enabled in your manifest.json`})}};const _d=Symbol("CLIENT_DB_INTERNAL");function Ld(e,t){return e.then="DoNotReturnProxyWithAFunctionNamedThen",e._internalType=_d,e.inspect=null,e.__v_raw=void 0,new Proxy(e,{get(e,o,n){if("_uniClient"===o)return null;if("symbol"==typeof o)return e[o];if(o in e||"string"!=typeof o){const t=e[o];return"function"==typeof t?t.bind(e):t}return t.get(e,o,n)}})}function Nd(e){return{on:(t,o)=>{e[t]=e[t]||[],e[t].indexOf(o)>-1||e[t].push(o)},off:(t,o)=>{e[t]=e[t]||[];const n=e[t].indexOf(o);-1!==n&&e[t].splice(n,1)}}}const jd=["db.Geo","db.command","command.aggregate"];function Dd(e,t){return jd.indexOf(`${e}.${t}`)>-1}function Md(e){switch(fl(e=Xl(e))){case"array":return e.map(e=>Md(e));case"object":return e._internalType===_d||Object.keys(e).forEach(t=>{e[t]=Md(e[t])}),e;case"regexp":return{$regexp:{source:e.source,flags:e.flags}};case"date":return{$date:e.toISOString()};default:return e}}function Fd(e){return e&&e.content&&e.content.$method}class Rd{constructor(e,t,o){this.content=e,this.prevStage=t||null,this.udb=null,this._database=o}toJSON(){let e=this;const t=[e.content];for(;e.prevStage;)e=e.prevStage,t.push(e.content);return{$db:t.reverse().map(e=>({$method:e.$method,$param:Md(e.$param)}))}}toString(){return JSON.stringify(this.toJSON())}getAction(){const e=this.toJSON().$db.find(e=>"action"===e.$method);return e&&e.$param&&e.$param[0]}getCommand(){return{$db:this.toJSON().$db.filter(e=>"action"!==e.$method)}}get isAggregate(){let e=this;for(;e;){const t=Fd(e),o=Fd(e.prevStage);if("aggregate"===t&&"collection"===o||"pipeline"===t)return!0;e=e.prevStage}return!1}get isCommand(){let e=this;for(;e;){if("command"===Fd(e))return!0;e=e.prevStage}return!1}get isAggregateCommand(){let e=this;for(;e;){const t=Fd(e),o=Fd(e.prevStage);if("aggregate"===t&&"command"===o)return!0;e=e.prevStage}return!1}getNextStageFn(e){const t=this;return function(){return zd({$method:e,$param:Md(Array.from(arguments))},t,t._database)}}get count(){return this.isAggregate?this.getNextStageFn("count"):function(){return this._send("count",Array.from(arguments))}}get remove(){return this.isCommand?this.getNextStageFn("remove"):function(){return this._send("remove",Array.from(arguments))}}get(){return this._send("get",Array.from(arguments))}get add(){return this.isCommand?this.getNextStageFn("add"):function(){return this._send("add",Array.from(arguments))}}update(){return this._send("update",Array.from(arguments))}end(){return this._send("end",Array.from(arguments))}get set(){return this.isCommand?this.getNextStageFn("set"):function(){throw new Error("JQL禁止使用set方法")}}_send(e,t){const o=this.getAction(),n=this.getCommand();return n.$db.push({$method:e,$param:Md(t)}),this._database._callCloudFunction({action:o,command:n})}}function zd(e,t,o){return Ld(new Rd(e,t,o),{get(e,t){let n="db";return e&&e.content&&(n=e.content.$method),Dd(n,t)?zd({$method:t},e,o):function(){return zd({$method:t,$param:Md(Array.from(arguments))},e,o)}}})}function Ud({path:e,method:t}){return class{constructor(){this.param=Array.from(arguments)}toJSON(){return{$newDb:[...e.map(e=>({$method:e})),{$method:t,$param:this.param}]}}toString(){return JSON.stringify(this.toJSON())}}}function Qd(e,t={}){return Ld(new e(t),{get:(e,t)=>Dd("db",t)?zd({$method:t},null,e):function(){return zd({$method:t,$param:Md(Array.from(arguments))},null,e)}})}class Hd extends class{constructor({uniClient:e={},isJQL:t=!1}={}){this._uniClient=e,this._authCallBacks={},this._dbCallBacks={},e._isDefault&&(this._dbCallBacks=Tl("_globalUniCloudDatabaseCallback")),t||(this.auth=Nd(this._authCallBacks)),this._isJQL=t,Object.assign(this,Nd(this._dbCallBacks)),this.env=Ld({},{get:(e,t)=>({$env:t})}),this.Geo=Ld({},{get:(e,t)=>Ud({path:["Geo"],method:t})}),this.serverDate=Ud({path:[],method:"serverDate"}),this.RegExp=Ud({path:[],method:"RegExp"})}getCloudEnv(e){if("string"!=typeof e||!e.trim())throw new Error("getCloudEnv参数错误");return{$env:e.replace("$cloudEnv_","")}}_callback(e,t){const o=this._dbCallBacks;o[e]&&o[e].forEach(e=>{e(...t)})}_callbackAuth(e,t){const o=this._authCallBacks;o[e]&&o[e].forEach(e=>{e(...t)})}multiSend(){const e=Array.from(arguments),t=e.map(e=>{const t=e.getAction(),o=e.getCommand();if("getTemp"!==o.$db[o.$db.length-1].$method)throw new Error("multiSend只支持子命令内使用getTemp");return{action:t,command:o}});return this._callCloudFunction({multiCommand:t,queryList:e})}}{_parseResult(e){return this._isJQL?e.result:e}_callCloudFunction({action:e,command:t,multiCommand:o,queryList:n}){function r(e,t){if(o&&n)for(let o=0;oOl(_l(s,"complete"),e)).then(()=>(r(null,e),ql(jl,{type:Fl,content:e}),Promise.reject(e)))}const c=Ol(_l(s,"invoke")),u=this._uniClient;return c.then(()=>u.callFunction({name:"DCloud-clientDB",type:"CLIENT_DB",data:{action:e,command:t,multiCommand:o}})).then(e=>{const{code:t,message:o,token:n,tokenExpired:c,systemInfo:u=[]}=e.result;if(u)for(let r=0;r(console.warn(o),n)})}}return p=e,Ol(_l(s,"success"),p).then(()=>Ol(_l(s,"complete"),p)).then(()=>{r(p,null);const e=i._parseResult(p);return ql(jl,{type:Fl,content:e}),Promise.resolve(e)});var p},e=>(/fc_function_not_found|FUNCTION_NOT_FOUND/g.test(e.message)&&console.warn("clientDB未初始化,请在web控制台保存一次schema以开启clientDB"),a(new Yl({code:e.code||"SYSTEM_ERROR",message:e.message,requestId:e.requestId}))))}}const qd="token无效,跳转登录页面",Wd="token过期,跳转登录页面",Vd={TOKEN_INVALID_TOKEN_EXPIRED:Wd,TOKEN_INVALID_INVALID_CLIENTID:qd,TOKEN_INVALID:qd,TOKEN_INVALID_WRONG_TOKEN:qd,TOKEN_INVALID_ANONYMOUS_USER:qd},$d={"uni-id-token-expired":Wd,"uni-id-check-token-failed":qd,"uni-id-token-not-exist":qd,"uni-id-check-device-feature-failed":qd};function Kd(e,t){let o="";return o=e?`${e}/${t}`:t,o.replace(/^\//,"")}function Yd(e=[],t=""){const o=[],n=[];return e.forEach(e=>{!0===e.needLogin?o.push(Kd(t,e.path)):!1===e.needLogin&&n.push(Kd(t,e.path))}),{needLoginPage:o,notNeedLoginPage:n}}function Jd(e){return e.split("?")[0].replace(/^\//,"")}function Xd(){return function(e){let t=e&&e.$page&&e.$page.fullPath||"";return t?("/"!==t.charAt(0)&&(t="/"+t),t):t}(function(){const e=getCurrentPages();return e[e.length-1]}())}function Gd(){return Jd(Xd())}function Zd(e="",t={}){if(!e)return!1;if(!(t&&t.list&&t.list.length))return!1;const o=t.list,n=Jd(e);return o.some(e=>e.pagePath===n)}const ef=!!nl.uniIdRouter,{loginPage:tf,routerNeedLogin:of,resToLogin:nf,needLoginPage:rf,notNeedLoginPage:sf,loginPageInTabBar:af}=function({pages:e=[],subPackages:t=[],uniIdRouter:o={},tabBar:n={}}=nl){const{loginPage:r,needLogin:i=[],resToLogin:s=!0}=o,{needLoginPage:a,notNeedLoginPage:c}=Yd(e),{needLoginPage:u,notNeedLoginPage:l}=function(e=[]){const t=[],o=[];return e.forEach(e=>{const{root:n,pages:r=[]}=e,{needLoginPage:i,notNeedLoginPage:s}=Yd(r,n);t.push(...i),o.push(...s)}),{needLoginPage:t,notNeedLoginPage:o}}(t);return{loginPage:r,routerNeedLogin:i,resToLogin:s,needLoginPage:[...a,...u],notNeedLoginPage:[...c,...l],loginPageInTabBar:Zd(r,n)}}();if(rf.indexOf(tf)>-1)throw new Error(`Login page [${tf}] should not be "needLogin", please check your pages.json`);function cf(e){const t=Gd();if("/"===e.charAt(0))return e;const[o,n]=e.split("?"),r=o.replace(/^\//,"").split("/"),i=t.split("/");i.pop();for(let s=0;s-1?n+`&uniIdRedirectUrl=${encodeURIComponent(r)}`:n+`?uniIdRedirectUrl=${encodeURIComponent(r)}`:n);var n,r;af?"navigateTo"!==e&&"redirectTo"!==e||(e="switchTab"):"switchTab"===e&&(e="navigateTo");const i={navigateTo:Co.navigateTo,redirectTo:Co.redirectTo,switchTab:Co.switchTab,reLaunch:Co.reLaunch};setTimeout(()=>{i[e]({url:o})})}function pf({url:e}={}){const t={abortLoginPageJump:!1,autoToLoginPage:!1},o=function(){const{token:e,tokenExpired:t}=Gl();let o;if(e){if(t-1)&&(rf.indexOf(t)>-1||of.some(t=>{return o=e,new RegExp(t).test(o);var o}))}(e)&&o){if(o.uniIdRedirectUrl=e,Ul(Dl).length>0)return setTimeout(()=>{ql(Dl,o)},0),t.abortLoginPageJump=!0,t;t.autoToLoginPage=!0}return t}function df(){!function(){const e=Xd(),{abortLoginPageJump:t,autoToLoginPage:o}=pf({url:e});t||o&&lf({api:"redirectTo",redirect:e})}();const e=["navigateTo","redirectTo","reLaunch","switchTab"];for(let t=0;t{const{type:t,content:o}=e;let n=!1;switch(t){case"cloudobject":n=function(e){if("object"!=typeof e)return!1;const{errCode:t}=e||{};return t in $d}(o);break;case"clientdb":n=function(e){if("object"!=typeof e)return!1;const{errCode:t}=e||{};return t in Vd}(o)}n&&function(e={}){const t=Ul(Dl);$l().then(()=>{const o=Xd();if(o&&uf({redirect:o}))return t.length>0?ql(Dl,Object.assign({uniIdRedirectUrl:o},e)):void(tf&&lf({api:"navigateTo",redirect:o}))})}(o)})}function hf(e){var t;(t=e).onResponse=function(e){Ql(jl,e)},t.offResponse=function(e){Hl(jl,e)},function(e){e.onNeedLogin=function(e){Ql(Dl,e)},e.offNeedLogin=function(e){Hl(Dl,e)},ef&&(Tl("_globalUniCloudStatus").needLoginInit||(Tl("_globalUniCloudStatus").needLoginInit=!0,$l().then(()=>{df.call(e)}),nf&&ff.call(e)))}(e),function(e){e.onRefreshToken=function(e){Ql(Ml,e)},e.offRefreshToken=function(e){Hl(Ml,e)}}(e)}let gf;const mf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",yf=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function vf(){const e=Gl().token||"",t=e.split(".");if(!e||3!==t.length)return{uid:null,role:[],permission:[],tokenExpired:0};let o;try{o=JSON.parse((n=t[1],decodeURIComponent(gf(n).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""))))}catch(r){throw new Error("获取当前用户信息出错,详细错误信息为:"+r.message)}var n;return o.tokenExpired=1e3*o.exp,delete o.exp,delete o.iat,o}gf="function"!=typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!yf.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var o,n,r="",i=0;i>16&255):64===n?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return r}:atob;var bf=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(rl(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const o="chooseAndUploadFile:ok",n="chooseAndUploadFile:fail";function r(e,t){return e.tempFiles.forEach((e,o)=>{e.name||(e.name=e.path.substring(e.path.lastIndexOf("/")+1)),t&&(e.fileType=t),e.cloudPath=Date.now()+"_"+o+e.name.substring(e.name.lastIndexOf("."))}),e.tempFilePaths||(e.tempFilePaths=e.tempFiles.map(e=>e.path)),e}function i(e,t,{onChooseFile:n,onUploadProgress:r}){return t.then(e=>{if(n){const t=n(e);if(void 0!==t)return Promise.resolve(t).then(t=>void 0===t?e:t)}return e}).then(t=>!1===t?{errMsg:o,tempFilePaths:[],tempFiles:[]}:function(e,t,n=5,r){(t=Object.assign({},t)).errMsg=o;const i=t.tempFiles,s=i.length;let a=0;return new Promise(o=>{for(;a=s)return void(!i.find(e=>!e.url&&!e.errMsg)&&o(t));const u=i[n];e.uploadFile({filePath:u.path,cloudPath:u.cloudPath,fileType:u.fileType,onUploadProgress(e){e.index=n,e.tempFile=u,e.tempFilePath=u.path,r&&r(e)}}).then(e=>{u.url=e.fileID,n{u.errMsg=e.errMsg||e.message,n{Co.chooseImage({count:t,sizeType:o,sourceType:i,extension:s,success(t){e(r(t,"image"))},fail(e){a({errMsg:e.errMsg.replace("chooseImage:fail",n)})}})})}(t),t):"video"===t.type?i(e,function(e){const{camera:t,compressed:o,maxDuration:i,sourceType:s=["album","camera"],extension:a}=e;return new Promise((e,c)=>{Co.chooseVideo({camera:t,compressed:o,maxDuration:i,sourceType:s,extension:a,success(t){const{tempFilePath:o,duration:n,size:i,height:s,width:a}=t;e(r({errMsg:"chooseVideo:ok",tempFilePaths:[o],tempFiles:[{name:t.tempFile&&t.tempFile.name||"",path:o,size:i,type:t.tempFile&&t.tempFile.type||"",width:a,height:s,duration:n,fileType:"video",cloudPath:""}]},"video"))},fail(e){c({errMsg:e.errMsg.replace("chooseVideo:fail",n)})}})})}(t),t):i(e,function(e){const{count:t,extension:o}=e;return new Promise((e,i)=>{let s=Co.chooseFile;if(void 0!==Ao&&"function"==typeof Ao.chooseMessageFile&&(s=Ao.chooseMessageFile),"function"!=typeof s)return i({errMsg:n+" 请指定 type 类型,该平台仅支持选择 image 或 video。"});s({type:"all",count:t,extension:o,success(t){e(r(t))},fail(e){i({errMsg:e.errMsg.replace("chooseFile:fail",n)})}})})}(t),t)}}}));function wf(e){return{props:{localdata:{type:Array,default:()=>[]},options:{type:[Object,Array],default:()=>({})},spaceInfo:{type:Object,default:()=>({})},collection:{type:[String,Array],default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},gettreepath:{type:[Boolean,String],default:!1},startwith:{type:String,default:""},limitlevel:{type:Number,default:10},groupby:{type:String,default:""},groupField:{type:String,default:""},distinct:{type:[Boolean,String],default:!1},foreignKey:{type:String,default:""},loadtime:{type:String,default:"auto"},manual:{type:Boolean,default:!1}},data:()=>({mixinDatacomLoading:!1,mixinDatacomHasMore:!1,mixinDatacomResData:[],mixinDatacomErrorMessage:"",mixinDatacomPage:{}}),created(){this.mixinDatacomPage={current:this.pageCurrent,size:this.pageSize,count:0},this.$watch(()=>{var e=[];return["pageCurrent","pageSize","localdata","collection","action","field","orderby","where","getont","getcount","gettree","groupby","groupField","distinct"].forEach(t=>{e.push(this[t])}),e},(e,t)=>{if("manual"===this.loadtime)return;let o=!1;const n=[];for(let r=2;r{this.mixinDatacomLoading=!1;const{data:n,count:r}=o.result;this.getcount&&(this.mixinDatacomPage.count=r),this.mixinDatacomHasMore=n.length{this.mixinDatacomLoading=!1,this.mixinDatacomErrorMessage=e,o&&o(e)}))},mixinDatacomGet(t={}){let o=e.database(this.spaceInfo);const n=t.action||this.action;n&&(o=o.action(n));const r=t.collection||this.collection;o=Array.isArray(r)?o.collection(...r):o.collection(r);const i=t.where||this.where;i&&Object.keys(i).length&&(o=o.where(i));const s=t.field||this.field;s&&(o=o.field(s));const a=t.foreignKey||this.foreignKey;a&&(o=o.foreignKey(a));const c=t.groupby||this.groupby;c&&(o=o.groupBy(c));const u=t.groupField||this.groupField;u&&(o=o.groupField(u)),!0===(void 0!==t.distinct?t.distinct:this.distinct)&&(o=o.distinct());const l=t.orderby||this.orderby;l&&(o=o.orderBy(l));const p=void 0!==t.pageCurrent?t.pageCurrent:this.mixinDatacomPage.current,d=void 0!==t.pageSize?t.pageSize:this.mixinDatacomPage.size,f=void 0!==t.getcount?t.getcount:this.getcount,h=void 0!==t.gettree?t.gettree:this.gettree,g=void 0!==t.gettreepath?t.gettreepath:this.gettreepath,m={getCount:f},y={limitLevel:void 0!==t.limitlevel?t.limitlevel:this.limitlevel,startWith:void 0!==t.startwith?t.startwith:this.startwith};return h&&(m.getTree=y),g&&(m.getTreePath=y),o=o.skip(d*(p-1)).limit(d).get(m),o}}}}function Sf(e){return Tl("_globalUniCloudSecureNetworkCache__{spaceId}".replace("{spaceId}",e.config.spaceId))}async function xf({openid:e,callLoginByWeixin:t=!1}={}){const o=Sf(this);if(e&&t)throw new Error("[SecureNetwork] openid and callLoginByWeixin cannot be passed at the same time");if(e)return o.mpWeixinOpenid=e,{};const n=await new Promise((e,t)=>{Co.login({success(t){e(t.code)},fail(e){t(new Error(e.errMsg))}})}),r=this.importObject("uni-id-co",{customUI:!0});return await r.secureNetworkHandshakeByWeixin({code:n,callLoginByWeixin:t}),o.mpWeixinCode=n,{code:n}}async function kf(e){const t=Sf(this);return t.initPromise||(t.initPromise=xf.call(this,e)),t.initPromise}function Af(e){const t={getSystemInfo:Co.getSystemInfo,getPushClientId:Co.getPushClientId};return function(o){return new Promise((n,r)=>{t[e]({...o,success(e){n(e)},fail(e){r(e)}})})}}class Cf extends class{constructor(){this._callback={}}addListener(e,t){this._callback[e]||(this._callback[e]=[]),this._callback[e].push(t)}on(e,t){return this.addListener(e,t)}removeListener(e,t){if(!t)throw new Error('The "listener" argument must be of type function. Received undefined');const o=this._callback[e];if(!o)return;const n=function(e,t){for(let o=e.length-1;o>=0;o--)if(e[o]===t)return o;return-1}(o,t);o.splice(n,1)}off(e,t){return this.removeListener(e,t)}removeAllListener(e){delete this._callback[e]}emit(e,...t){const o=this._callback[e];if(o)for(let n=0;n{if(!e)throw new Error("Invalid appId, please check the manifest.json file");if(!t)throw new Error("Invalid push client id");this._appId=e,this._pushClientId=t,this._seqId=Date.now()+"-"+Math.floor(9e5*Math.random()+1e5),this.emit("open"),this._initMessageListener()},e=>{throw this.emit("error",e),this.close(),e})}async open(){return this.init()}_isUniCloudSSE(e){if("receive"!==e.type)return!1;const t=e&&e.data&&e.data.payload;return!(!t||"UNI_CLOUD_SSE"!==t.channel||t.seqId!==this._seqId)}_receivePushMessage(e){if(!this._isUniCloudSSE(e))return;const t=e&&e.data&&e.data.payload,{action:o,messageId:n,message:r}=t;this._payloadQueue.push({action:o,messageId:n,message:r}),this._consumMessage()}_consumMessage(){for(;;){const e=this._payloadQueue.find(e=>e.messageId===this._currentMessageId+1);if(!e)break;this._currentMessageId++,this._parseMessagePayload(e)}}_parseMessagePayload(e){const{action:t,messageId:o,message:n}=e;"end"===t?this._end({messageId:o,message:n}):"message"===t&&this._appendMessage({messageId:o,message:n})}_appendMessage({messageId:e,message:t}={}){this.emit("message",t)}_end({messageId:e,message:t}={}){this.emit("end",t),this.close()}_initMessageListener(){Co.onPushMessage(this._uniPushMessageCallback)}_destroy(){Co.offPushMessage(this._uniPushMessageCallback)}toJSON(){return{appId:this._appId,pushClientId:this._pushClientId,seqId:this._seqId}}close(){this._destroy(),this.emit("close")}}const Tf={tcb:yd,tencent:yd,aliyun:pp,private:bd};let If=new class{init(e){let t={};const o=Tf[e.provider];if(!o)throw new Error("未提供正确的provider参数");var n;return t=o.init(e),function(e){e._initPromiseHub||(e._initPromiseHub=new bl({createPromise:function(){let t=Promise.resolve();t=new Promise(e=>{setTimeout(()=>{e()},1)});const o=e.auth();return t.then(()=>o.getLoginState()).then(e=>e?Promise.resolve():o.signInAnonymously())}}))}(t),Od(t),function(e){const t=e.uploadFile;e.uploadFile=function(e){return t.call(this,e)}}(t),(n=t).database=function(e){if(e&&Object.keys(e).length>0)return n.init(e).database();if(this._database)return this._database;const t=Qd(Hd,{uniClient:n});return this._database=t,t},n.databaseForJQL=function(e){if(e&&Object.keys(e).length>0)return n.init(e).databaseForJQL();if(this._databaseForJQL)return this._databaseForJQL;const t=Qd(Hd,{uniClient:n,isJQL:!0});return this._databaseForJQL=t,t},function(e){e.getCurrentUserInfo=vf,e.chooseAndUploadFile=bf.initChooseAndUploadFile(e),Object.assign(e,{get mixinDatacom(){return wf(e)}}),e.SSEChannel=Cf,e.initSecureNetworkByWeixin=function(e){return function({openid:t,callLoginByWeixin:o=!1}={}){return kf.call(e,{openid:t,callLoginByWeixin:o})}}(e),e.importObject=function(t){return function(o,n={}){n=function(e,t={}){return e.customUI=t.customUI||e.customUI,e.parseSystemError=t.parseSystemError||e.parseSystemError,Object.assign(e.loadingOptions,t.loadingOptions),Object.assign(e.errorOptions,t.errorOptions),"object"==typeof t.secretMethods&&(e.secretMethods=t.secretMethods),e}({customUI:!1,loadingOptions:{title:"加载中...",mask:!0},errorOptions:{type:"modal",retry:!1}},n);const{customUI:r,loadingOptions:i,errorOptions:s,parseSystemError:a}=n,c=!r;return new Proxy({},{get:(r,u)=>function({fn:e,interceptorName:t,getCallbackArgs:o}={}){return async function(...n){const r=o?o({params:n}):{};let i,s;try{return await Ol(_l(t,"invoke"),{...r}),i=await e(...n),await Ol(_l(t,"success"),{...r,result:i}),i}catch(a){throw s=a,await Ol(_l(t,"fail"),{...r,error:s}),s}finally{await Ol(_l(t,"complete"),s?{...r,error:s}:{...r,result:i})}}}({fn:async function r(...l){let p;c&&Co.showLoading({title:i.title,mask:i.mask});const d={name:o,type:"OBJECT",data:{method:u,params:l}};"object"==typeof n.secretMethods&&function(e,t){const o=t.data.method,n=e.secretMethods||{},r=n[o]||n["*"];r&&(t.secretType=r)}(n,d);let f=!1;try{p=await t.callFunction(d)}catch(e){f=!0,p={result:new Yl(e)}}const{errSubject:h,errCode:g,errMsg:m,newToken:y}=p.result||{};if(c&&Co.hideLoading(),y&&y.token&&y.tokenExpired&&(Zl(y),ql(Ml,{...y})),g){let e=m;if(f&&a&&(e=(await a({objectName:o,methodName:u,params:l,errSubject:h,errCode:g,errMsg:m})).errMsg||m),c)if("toast"===s.type)Co.showToast({title:e,icon:"none"});else{if("modal"!==s.type)throw new Error(`Invalid errorOptions.type: ${s.type}`);{const{confirm:t}=await async function({title:e,content:t,showCancel:o,cancelText:n,confirmText:r}={}){return new Promise((i,s)=>{Co.showModal({title:e,content:t,showCancel:o,cancelText:n,confirmText:r,success(e){i(e)},fail(){i({confirm:!1,cancel:!0})}})})}({title:"提示",content:e,showCancel:s.retry,cancelText:"取消",confirmText:s.retry?"重试":"确定"});if(s.retry&&t)return r(...l)}}const t=new Yl({subject:h,code:g,message:m,requestId:p.requestId});throw t.detail=p.result,ql(jl,{type:zl,content:t}),t}return ql(jl,{type:zl,content:p.result}),p.result},interceptorName:"callObject",getCallbackArgs:function({params:e}={}){return{objectName:o,methodName:u,params:e}}})})}}(e)}(t),["callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","chooseAndUploadFile"].forEach(e=>{if(!t[e])return;const o=t[e];var n,r;t[e]=function(){return o.apply(t,Array.from(arguments))},t[e]=(n=t[e],r=e,function(e){let t=!1;if("callFunction"===r){const o=e&&e.type||ll;t=o!==ll}const o="callFunction"===r&&!t,i=this._initPromiseHub.exec();e=e||{};const{success:s,fail:a,complete:c}=Kl(e),u=i.then(()=>t?Promise.resolve():Ol(_l(r,"invoke"),e)).then(()=>n.call(this,e)).then(e=>t?Promise.resolve(e):Ol(_l(r,"success"),e).then(()=>Ol(_l(r,"complete"),e)).then(()=>(o&&ql(jl,{type:Rl,content:e}),Promise.resolve(e))),e=>t?Promise.reject(e):Ol(_l(r,"fail"),e).then(()=>Ol(_l(r,"complete"),e)).then(()=>(ql(jl,{type:Rl,content:e}),Promise.reject(e))));if(!(s||a||c))return u;u.then(e=>{s&&s(e),c&&c(e),o&&ql(jl,{type:Rl,content:e})},e=>{a&&a(e),c&&c(e),o&&ql(jl,{type:Rl,content:e})})}).bind(t)}),t.init=this.init,t}};(()=>{const e=kl;let t={};if(e&&1===e.length)t=e[0],If=If.init(t),If._isDefault=!0;else{const t=["auth","callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","database","getCurrentUSerInfo","importObject"];let o;o=e&&e.length>0?"应用有多个服务空间,请通过uniCloud.init方法指定要使用的服务空间":"uni-app cli项目内使用uniCloud需要使用HBuilderX的运行菜单运行项目,且需要在uniCloud目录关联服务空间",t.forEach(e=>{If[e]=function(){return console.error(o),Promise.reject(new Yl({code:"SYS_ERR",message:o}))}})}Object.assign(If,{get mixinDatacom(){return wf(If)}}),hf(If),If.addInterceptor=Pl,If.removeInterceptor=Bl,If.interceptObject=Ll})();var Ef=If;const Pf={props:{type:{type:String,default:()=>au.text.type},show:{type:Boolean,default:()=>au.text.show},text:{type:[String,Number],default:()=>au.text.text},prefixIcon:{type:String,default:()=>au.text.prefixIcon},suffixIcon:{type:String,default:()=>au.text.suffixIcon},mode:{type:String,default:()=>au.text.mode},href:{type:String,default:()=>au.text.href},format:{type:[String,Function],default:()=>au.text.format},call:{type:Boolean,default:()=>au.text.call},openType:{type:String,default:()=>au.text.openType},bold:{type:Boolean,default:()=>au.text.bold},block:{type:Boolean,default:()=>au.text.block},lines:{type:[String,Number],default:()=>au.text.lines},color:{type:String,default:()=>au.text.color},size:{type:[String,Number],default:()=>au.text.size},iconStyle:{type:[Object,String],default:()=>au.text.iconStyle},decoration:{tepe:String,default:()=>au.text.decoration},margin:{type:[Object,String,Number],default:()=>au.text.margin},lineHeight:{type:[String,Number],default:()=>au.text.lineHeight},align:{type:String,default:()=>au.text.align},wordWrap:{type:String,default:()=>au.text.wordWrap},flex1:{type:Boolean,default:()=>au.text.flex1}}},Bf={computed:{value(){const{text:e,mode:t,format:o,href:n}=this;return"price"===t?Ya.func(o)?o(e):bc(e,2):"date"===t?(Ya.date(e),Ya.func(o)?o(e):gc(e,o||"yyyy-mm-dd")):"phone"===t?Ya.func(o)?o(e):"encrypt"===o?`${e.substr(0,3)}****${e.substr(7)}`:e:"name"===t?Ya.func(o)?o(e):"encrypt"===o?this.formatName(e):e:"link"===t?(Ya.url(n),e):e}},methods:{formatName(e){let t="";if(2===e.length)t=e.substr(0,1)+"*";else if(e.length>2){let o="";for(let t=0,n=e.length-2;tau.popup.show},overlay:{type:Boolean,default:()=>au.popup.overlay},mode:{type:String,default:()=>au.popup.mode},duration:{type:[String,Number],default:()=>au.popup.duration},closeable:{type:Boolean,default:()=>au.popup.closeable},overlayStyle:{type:[Object,String],default:()=>au.popup.overlayStyle},closeOnClickOverlay:{type:Boolean,default:()=>au.popup.closeOnClickOverlay},zIndex:{type:[String,Number],default:()=>au.popup.zIndex},safeAreaInsetBottom:{type:Boolean,default:()=>au.popup.safeAreaInsetBottom},safeAreaInsetTop:{type:Boolean,default:()=>au.popup.safeAreaInsetTop},closeIconPos:{type:String,default:()=>au.popup.closeIconPos},round:{type:[Boolean,String,Number],default:()=>au.popup.round},zoom:{type:Boolean,default:()=>au.popup.zoom},bgColor:{type:String,default:()=>au.popup.bgColor},overlayOpacity:{type:[Number,String],default:()=>au.popup.overlayOpacity},pageInline:{type:Boolean,default:()=>au.popup.pageInline},touchable:{type:Boolean,default:()=>au.popup.touchable},minHeight:{type:[String],default:()=>au.popup.minHeight},maxHeight:{type:[String],default:()=>au.popup.maxHeight}}},Nf={props:{isDot:{type:Boolean,default:()=>au.badge.isDot},value:{type:[Number,String],default:()=>au.badge.value},modelValue:{type:[Number,String],default:()=>au.badge.modelValue},show:{type:Boolean,default:()=>au.badge.show},max:{type:[Number,String],default:()=>au.badge.max},type:{type:String,default:()=>au.badge.type},showZero:{type:Boolean,default:()=>au.badge.showZero},bgColor:{type:[String,null],default:()=>au.badge.bgColor},color:{type:[String,null],default:()=>au.badge.color},shape:{type:String,default:()=>au.badge.shape},numberType:{type:String,default:()=>au.badge.numberType},offset:{type:Array,default:()=>au.badge.offset},inverted:{type:Boolean,default:()=>au.badge.inverted},absolute:{type:Boolean,default:()=>au.badge.absolute}}},jf={props:{hairline:{type:Boolean,default:()=>au.button.hairline},type:{type:String,default:()=>au.button.type},size:{type:String,default:()=>au.button.size},shape:{type:String,default:()=>au.button.shape},plain:{type:Boolean,default:()=>au.button.plain},disabled:{type:Boolean,default:()=>au.button.disabled},loading:{type:Boolean,default:()=>au.button.loading},loadingText:{type:[String,Number],default:()=>au.button.loadingText},loadingMode:{type:String,default:()=>au.button.loadingMode},loadingSize:{type:[String,Number],default:()=>au.button.loadingSize},openType:{type:String,default:()=>au.button.openType},formType:{type:String,default:()=>au.button.formType},appParameter:{type:String,default:()=>au.button.appParameter},hoverStopPropagation:{type:Boolean,default:()=>au.button.hoverStopPropagation},lang:{type:String,default:()=>au.button.lang},sessionFrom:{type:String,default:()=>au.button.sessionFrom},sendMessageTitle:{type:String,default:()=>au.button.sendMessageTitle},sendMessagePath:{type:String,default:()=>au.button.sendMessagePath},sendMessageImg:{type:String,default:()=>au.button.sendMessageImg},showMessageCard:{type:Boolean,default:()=>au.button.showMessageCard},dataName:{type:String,default:()=>au.button.dataName},throttleTime:{type:[String,Number],default:()=>au.button.throttleTime},hoverStartTime:{type:[String,Number],default:()=>au.button.hoverStartTime},hoverStayTime:{type:[String,Number],default:()=>au.button.hoverStayTime},text:{type:[String,Number],default:()=>au.button.text},icon:{type:String,default:()=>au.button.icon},iconColor:{type:String,default:()=>au.button.icon},color:{type:String,default:()=>au.button.color},stop:{type:Boolean,default:()=>au.button.stop}}},Df={props:{color:{type:String,default:()=>au.link.color},fontSize:{type:[String,Number],default:()=>au.link.fontSize},underLine:{type:Boolean,default:()=>au.link.underLine},href:{type:String,default:()=>au.link.href},mpTips:{type:String,default:()=>au.link.mpTips},lineColor:{type:String,default:()=>au.link.lineColor},text:{type:String,default:()=>au.link.text}}},Mf={props:{show:{type:Boolean,default:()=>au.overlay.show},zIndex:{type:[String,Number],default:()=>au.overlay.zIndex},duration:{type:[String,Number],default:()=>au.overlay.duration},opacity:{type:[String,Number],default:()=>au.overlay.opacity}}},Ff={props:{bgColor:{type:String,default:()=>au.statusBar.bgColor},height:{type:Number,default:()=>au.statusBar.height}}},Rf={props:{}},zf={props:{show:{type:Boolean,default:()=>au.transition.show},mode:{type:String,default:()=>au.transition.mode},duration:{type:[String,Number],default:()=>au.transition.duration},timingFunction:{type:String,default:()=>au.transition.timingFunction}}},Uf=e=>({enter:`u-${e}-enter u-${e}-enter-active`,"enter-to":`u-${e}-enter-to u-${e}-enter-active`,leave:`u-${e}-leave u-${e}-leave-active`,"leave-to":`u-${e}-leave-to u-${e}-leave-active`}),Qf={methods:{clickHandler(){this.$emit("click")},async vueEnter(){const e=Uf(this.mode);this.status="enter",this.$emit("beforeEnter"),this.inited=!0,this.display=!0,this.classes=e.enter,await mr(),await ic(20),this.$emit("enter"),this.transitionEnded=!1,this.$emit("afterEnter"),this.classes=e["enter-to"]},async vueLeave(){if(!this.display)return;const e=Uf(this.mode);this.status="leave",this.$emit("beforeLeave"),this.classes=e.leave,await mr(),this.transitionEnded=!1,this.$emit("leave"),setTimeout(this.onTransitionEnd,this.duration),this.classes=e["leave-to"]},onTransitionEnd(){this.transitionEnded||(this.transitionEnded=!0,this.$emit("leave"===this.status?"afterLeave":"afterEnter"),!this.show&&this.display&&(this.display=!1,this.inited=!1))}}},Hf={props:{title:{type:[String,Number],default:()=>au.cell.title},label:{type:[String,Number],default:()=>au.cell.label},value:{type:[String,Number],default:()=>au.cell.value},icon:{type:String,default:()=>au.cell.icon},disabled:{type:Boolean,default:()=>au.cell.disabled},border:{type:Boolean,default:()=>au.cell.border},center:{type:Boolean,default:()=>au.cell.center},url:{type:String,default:()=>au.cell.url},linkType:{type:String,default:()=>au.cell.linkType},clickable:{type:Boolean,default:()=>au.cell.clickable},isLink:{type:Boolean,default:()=>au.cell.isLink},required:{type:Boolean,default:()=>au.cell.required},rightIcon:{type:String,default:()=>au.cell.rightIcon},arrowDirection:{type:String,default:()=>au.cell.arrowDirection},iconStyle:{type:[Object,String],default:()=>au.cell.iconStyle},rightIconStyle:{type:[Object,String],default:()=>au.cell.rightIconStyle},titleStyle:{type:[Object,String],default:()=>au.cell.titleStyle},size:{type:String,default:()=>au.cell.size},stop:{type:Boolean,default:()=>au.cell.stop},name:{type:[Number,String],default:()=>au.cell.name}}},qf={props:{title:{type:String,default:()=>au.cellGroup.title},border:{type:Boolean,default:()=>au.cellGroup.border}}},Wf={props:{color:{type:String,default:()=>au.line.color},length:{type:[String,Number],default:()=>au.line.length},direction:{type:String,default:()=>au.line.direction},hairline:{type:Boolean,default:()=>au.line.hairline},margin:{type:[String,Number],default:()=>au.line.margin},dashed:{type:Boolean,default:()=>au.line.dashed}}};exports.Ds=Ef,exports.Pinia=qa,exports.Request=class{constructor(e={}){var t;t=e,"[object Object]"!==Object.prototype.toString.call(t)&&(e={},console.warn("设置全局参数必须接收一个Object")),this.config=Du({...ju,...e}),this.interceptors={request:new Lu,response:new Lu}}setConfig(e){this.config=e(this.config)}middleware(e){e=((e,t={})=>{const o=t.method||e.method||"GET";let n={baseURL:t.baseURL||e.baseURL||"",method:o,url:t.url||"",params:t.params||{},custom:{...e.custom||{},...t.custom||{}},header:Iu(e.header||{},t.header||{})};if(n={...n,...Nu(["getTask","validateStatus","paramsSerializer","forcedJSONParsing"],e,t)},"DOWNLOAD"===o){const o=["timeout","filePath"];n={...n,...Nu(o,e,t)}}else if("UPLOAD"===o)delete n.header["content-type"],delete n.header["Content-Type"],["filePath","name","timeout","formData"].forEach(e=>{Eu(t[e])||(n[e]=t[e])}),Eu(n.timeout)&&!Eu(e.timeout)&&(n.timeout=e.timeout);else{const o=["data","timeout","dataType","responseType","enableHttp2","enableQuic","enableCache","enableHttpDNS","httpDNSServiceId","enableChunked","forceCellularNetwork"];n={...n,...Nu(o,e,t)}}return n})(this.config,e);let t=[_u,void 0],o=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)o=o.then(t.shift(),t.shift());return o}request(e={}){return this.middleware(e)}get(e,t={}){return this.middleware({url:e,method:"GET",...t})}post(e,t,o={}){return this.middleware({url:e,data:t,method:"POST",...o})}put(e,t,o={}){return this.middleware({url:e,data:t,method:"PUT",...o})}delete(e,t,o={}){return this.middleware({url:e,data:t,method:"DELETE",...o})}connect(e,t,o={}){return this.middleware({url:e,data:t,method:"CONNECT",...o})}head(e,t,o={}){return this.middleware({url:e,data:t,method:"HEAD",...o})}options(e,t,o={}){return this.middleware({url:e,data:t,method:"OPTIONS",...o})}trace(e,t,o={}){return this.middleware({url:e,data:t,method:"TRACE",...o})}upload(e,t={}){return t.url=e,t.method="UPLOAD",this.middleware(t)}download(e,t={}){return t.url=e,t.method="DOWNLOAD",this.middleware(t)}get version(){return"3.1.0"}},exports.UQRCode=$u,exports._export_sfc=(e,t)=>{const o=e.__vccOpts||e;for(const[n,r]of t)o[n]=r;return o},exports.addStyle=uc,exports.addUnit=lc,exports.buttonMixin=Of,exports.color=jc,exports.colorGradient=Tc,exports.config=nc,exports.createPinia=Pa,exports.createSSRApp=Ls,exports.dayjs=Qu,exports.deepClone=pc,exports.deepMerge=dc,exports.defineComponent=function(e){return x(e)?{setup:e,name:e.name}:e},exports.defineStore=za,exports.e=(e,...t)=>g(e,...t),exports.error=hc,exports.f=(e,t)=>function(e,t){let o;if(b(e)||k(e)){o=new Array(e.length);for(let n=0,r=e.length;nt(e,o,o));else{const n=Object.keys(e);o=new Array(n.length);for(let r=0,i=n.length;rs(e),exports.o=(e,t)=>Ps(e,t),exports.onHide=yu,exports.onLaunch=vu,exports.onLoad=bu,exports.onMounted=qr,exports.onReachBottom=Su,exports.onShareAppMessage=ku,exports.onShareTimeline=xu,exports.onShow=mu,exports.onUnload=wu,exports.openType=_f,exports.p=e=>function(e){const{uid:t,__counter:o}=_i();return t+","+((Cs[t]||(Cs[t]=[])).push(Ii(e))-1)+","+o}(e),exports.props=Ku,exports.props$1=Yu,exports.props$10=Pf,exports.props$11=Lf,exports.props$12=Nf,exports.props$13=jf,exports.props$14=Df,exports.props$15=Mf,exports.props$16=Ff,exports.props$17=Rf,exports.props$18=zf,exports.props$19=Hf,exports.props$2=Ju,exports.props$20=qf,exports.props$21=Wf,exports.props$3=Xu,exports.props$4=Gu,exports.props$5=Zu,exports.props$6=el,exports.props$7=au,exports.props$8=tl,exports.props$9=ol,exports.r=(e,t,o)=>Os(e,t,o),exports.random=ac,exports.ref=Yn,exports.relativeTime=Wu,exports.resolveComponent=function(e,t){return function(e,t,o=!0,n=!1){const r=Ir||Oi;if(r){const o=r.type;if(e===Zr){const e=function(e,t=!0){return x(e)?e.displayName||e.name:e.name||t&&e.__name}(o,!1);if(e&&(e===t||e===N(t)||e===M(N(t))))return o}const i=ei(r[e]||o[e],t)||ei(r.appContext[e],t);return!i&&n?o:i}}(Zr,e,!0,t)||e},exports.s=e=>_s(e),exports.sleep=ic,exports.sr=(e,t,o)=>function(e,t,o={}){const{$templateRefs:n}=_i();n.push({i:t,r:e,k:o.k,f:o.f})}(e,t,o),exports.t=e=>(e=>k(e)?e:null==e?"":b(e)||C(e)&&(e.toString===I||!x(e.toString))?JSON.stringify(e,a,2):String(e))(e),exports.t$1=Xc,exports.test=Ya,exports.throttle=_c,exports.toast=vc,exports.transitionMixin=Qf,exports.unref=Xn,exports.uviewPlus=hu,exports.value=Bf,exports.watch=Or,exports.wx$1=Ao; diff --git a/dist/build/mp-weixin/components/hs-date-picker/hs-date-picker.js b/dist/build/mp-weixin/components/hs-date-picker/hs-date-picker.js new file mode 100644 index 0000000..9f419ea --- /dev/null +++ b/dist/build/mp-weixin/components/hs-date-picker/hs-date-picker.js @@ -0,0 +1 @@ +"use strict";const e=require("../../common/vendor.js");if(!Array){e.resolveComponent("hs-cell")()}Math;const l=e.defineComponent({__name:"hs-date-picker",props:["valueModel","required","tip","title","hasFutureDate","borderTop","isLink","mode"],emits:["change","update:valueModel"],setup(l,{emit:o}){const u=l,a=e.ref(""),t=e.ref(""),d=e.ref(""),n=e=>{a.value=null==e?void 0:e.detail.value,o("update:valueModel",null==e?void 0:e.detail.value),o("change",null==e?void 0:e.detail.value)};return e.onMounted(()=>{const e=new Date;let l=e.getFullYear(),o=e.getMonth()+1,n=e.getDate();o=o>9?o:"0"+o,n=n>9?n:"0"+n,t.value=(null==u?void 0:u.hasFutureDate)?`${l}-${o}-${n}`:`${l-60}-${o}-${n}`,d.value=`${l+60}-${o}-${n}`,(null==u?void 0:u.valueModel)&&(a.value=null==u?void 0:u.valueModel)}),e.watch(()=>null==u?void 0:u.valueModel,e=>{console.log(e,"newVal"),a.value=null==u?void 0:u.valueModel}),(l,o)=>({a:e.p({title:(null==u?void 0:u.title)||"选择日期",required:null==u?void 0:u.required,borderTop:null==u?void 0:u.borderTop,value:a.value,isLink:!0,isLabelRight:!0,isPlaceholder:"请选择日期"}),b:(null==u?void 0:u.mode)||"date",c:u.valueModel,d:e.o(n),e:t.value,f:d.value})}});wx.createComponent(l); diff --git a/dist/build/mp-weixin/components/hs-date-picker/hs-date-picker.json b/dist/build/mp-weixin/components/hs-date-picker/hs-date-picker.json new file mode 100644 index 0000000..c78427c --- /dev/null +++ b/dist/build/mp-weixin/components/hs-date-picker/hs-date-picker.json @@ -0,0 +1,6 @@ +{ + "component": true, + "usingComponents": { + "hs-cell": "../hs-cell/hs-cell" + } +} \ No newline at end of file diff --git a/dist/build/mp-weixin/components/hs-date-picker/hs-date-picker.wxml b/dist/build/mp-weixin/components/hs-date-picker/hs-date-picker.wxml new file mode 100644 index 0000000..8060c5e --- /dev/null +++ b/dist/build/mp-weixin/components/hs-date-picker/hs-date-picker.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/build/mp-weixin/components/hs-date-picker/hs-date-picker.wxss b/dist/build/mp-weixin/components/hs-date-picker/hs-date-picker.wxss new file mode 100644 index 0000000..e69de29 diff --git a/dist/build/mp-weixin/components/hs-day-picker/hs-day-picker.js b/dist/build/mp-weixin/components/hs-day-picker/hs-day-picker.js index 4613c6a..9177b18 100644 --- a/dist/build/mp-weixin/components/hs-day-picker/hs-day-picker.js +++ b/dist/build/mp-weixin/components/hs-day-picker/hs-day-picker.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),l=require("../../common/libraries/day.js");if(!Array){e.resolveComponent("uni-icons")()}Math;const o=e.defineComponent({__name:"hs-day-picker",props:["Enums","title","pickerIndex","value","borderTop","required","valueModel","icon","iconSize","mode"],emits:["change","update:valueModel"],setup(o,{emit:n}){const u=o,d=e.ref(""),a=e=>{var l,o,u;d.value=null==(l=null==e?void 0:e.detail)?void 0:l.value,n("update:valueModel",null==(o=null==e?void 0:e.detail)?void 0:o.value),n("change",null==(u=null==e?void 0:e.detail)?void 0:u.value)};return e.watch((()=>null==u?void 0:u.valueModel),(e=>{d.value=e})),e.onMounted((()=>{(null==u?void 0:u.valueModel)?d.value=null==u?void 0:u.valueModel:(d.value=l.getDay(),n("update:valueModel",d.value))})),(o,n)=>e.e({a:e.t(d.value),b:null==u?void 0:u.icon},(null==u?void 0:u.icon)?{c:e.p({type:null==u?void 0:u.icon,size:(null==u?void 0:u.iconSize)||19,color:"#555"})}:{},{d:(null==u?void 0:u.mode)||"date",e:e.o(a),f:e.unref(l.getDay)(-3),g:e.unref(l.getDay)()})}}),n=e._export_sfc(o,[["__scopeId","data-v-88c7e8d8"]]);wx.createComponent(n); +"use strict";const e=require("../../common/vendor.js"),l=require("../../common/libraries/day.js");if(!Array){e.resolveComponent("uni-icons")()}Math;const o=e.defineComponent({__name:"hs-day-picker",props:["Enums","title","pickerIndex","value","borderTop","required","valueModel","icon","iconSize","mode"],emits:["change","update:valueModel"],setup(o,{emit:n}){const u=o,d=e.ref(""),a=e=>{var l,o,u;d.value=null==(l=null==e?void 0:e.detail)?void 0:l.value,n("update:valueModel",null==(o=null==e?void 0:e.detail)?void 0:o.value),n("change",null==(u=null==e?void 0:e.detail)?void 0:u.value)};return e.watch(()=>null==u?void 0:u.valueModel,e=>{d.value=e}),e.onMounted(()=>{(null==u?void 0:u.valueModel)?d.value=null==u?void 0:u.valueModel:(d.value=l.getDay(),n("update:valueModel",d.value))}),(o,n)=>e.e({a:e.t(d.value),b:null==u?void 0:u.icon},(null==u?void 0:u.icon)?{c:e.p({type:null==u?void 0:u.icon,size:(null==u?void 0:u.iconSize)||19,color:"#555"})}:{},{d:(null==u?void 0:u.mode)||"date",e:e.o(a),f:e.unref(l.getDay)(-3),g:e.unref(l.getDay)()})}}),n=e._export_sfc(o,[["__scopeId","data-v-88c7e8d8"]]);wx.createComponent(n); diff --git a/dist/build/mp-weixin/components/hs-empty/hs-empty.js b/dist/build/mp-weixin/components/hs-empty/hs-empty.js index a578366..3306d2c 100644 --- a/dist/build/mp-weixin/components/hs-empty/hs-empty.js +++ b/dist/build/mp-weixin/components/hs-empty/hs-empty.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),t=require("../../common/assets.js"),n=e.defineComponent({__name:"hs-empty",props:{mode:null,text:null,height:null,iconSize:null,textSize:null,baseStyle:null},setup(n){const o=n,s={height:o.height||"30vh",...o.baseStyle};return(n,l)=>({a:t._imports_0,b:e.t((null==o?void 0:o.text)||"暂无数据"),c:e.s(s)})}}),o=e._export_sfc(n,[["__scopeId","data-v-763f735e"]]);wx.createComponent(o); +"use strict";const e=require("../../common/vendor.js"),t=e.defineComponent({__name:"hs-empty",props:{mode:null,text:null,height:null,iconSize:null,textSize:null,baseStyle:null,iconName:null},setup(t){const n=t,l={height:n.height||"30vh",...n.baseStyle};return(t,o)=>({a:`/static/images/${(null==n?void 0:n.iconName)||"empty_icon"}.png`,b:e.t((null==n?void 0:n.text)||"暂无数据"),c:e.s(l)})}}),n=e._export_sfc(t,[["__scopeId","data-v-069bb1c1"]]);wx.createComponent(n); diff --git a/dist/build/mp-weixin/components/hs-empty/hs-empty.wxml b/dist/build/mp-weixin/components/hs-empty/hs-empty.wxml index 7381fb7..b9300c7 100644 --- a/dist/build/mp-weixin/components/hs-empty/hs-empty.wxml +++ b/dist/build/mp-weixin/components/hs-empty/hs-empty.wxml @@ -1 +1 @@ -{{b}} \ No newline at end of file +{{b}} \ No newline at end of file diff --git a/dist/build/mp-weixin/components/hs-empty/hs-empty.wxss b/dist/build/mp-weixin/components/hs-empty/hs-empty.wxss index eebe6dd..a7a2eca 100644 --- a/dist/build/mp-weixin/components/hs-empty/hs-empty.wxss +++ b/dist/build/mp-weixin/components/hs-empty/hs-empty.wxss @@ -1 +1 @@ -.wl-empty.data-v-763f735e{padding-top:15%;text-align:center}.wl-empty .empty_icon.data-v-763f735e{height:155rpx;margin-left:27rpx}.wl-empty .label.data-v-763f735e{font-size:25rpx;color:#999} +.wl-empty.data-v-069bb1c1{padding-top:15%;text-align:center}.wl-empty .empty_icon.data-v-069bb1c1{width:310rpx;height:155rpx}.wl-empty .label.data-v-069bb1c1{font-size:25rpx;color:#999} diff --git a/dist/build/mp-weixin/components/hs-input/hs-input.js b/dist/build/mp-weixin/components/hs-input/hs-input.js index bc6839d..e0edc03 100644 --- a/dist/build/mp-weixin/components/hs-input/hs-input.js +++ b/dist/build/mp-weixin/components/hs-input/hs-input.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),l=require("./reducer.js");if(!Array){e.resolveComponent("uni-icons")()}Math;const o=e.defineComponent({__name:"hs-input",props:l.wlInputProps,emits:["update:valueModel","input","blur","bindconfirm","onClose"],setup(l,{emit:o}){const n=l,t=e.ref("");e.watch((()=>n.valueModel),(e=>{t.value=e,a(e)})),e.onMounted((()=>{t.value=n.valueModel,a(n.valueModel)}));const u=e=>{let l=e.target.value;a(l)},a=e=>{o("update:valueModel",e),o("input",e)},i=()=>{o("blur",n.valueModel)},d=e=>{let l=e.target.value;o("bindconfirm",l)},r=()=>{t.value="",u({target:{value:""}})};return(l,o)=>{var a,s;return e.e({a:e.n(n.classInputName),b:e.o([e=>t.value=e.detail.value,u]),c:n.placeholderStyle,d:(null==n?void 0:n.width)||"300rpx",e:null==n?void 0:n.textAlign,f:e.o(u),g:(null==n?void 0:n.placeholder)||"请输入",h:(null==n?void 0:n.maxLength)||255,i:(null==n?void 0:n.type)||"text",j:e.o(i),k:e.o(d),l:null==n?void 0:n.disabled,m:null==n?void 0:n.confirmType,n:(null==n?void 0:n.password)||!1,o:t.value,p:(null==(a=t.value)?void 0:a.length)&&!n.disabled},(null==(s=t.value)?void 0:s.length)&&!n.disabled?{q:e.p({type:"closeempty",color:"#999999",size:"15"}),r:e.o(r)}:{},{s:l.suffix},l.suffix?{t:e.t(l.suffix)}:{},{v:e.n(n.className)})}}});wx.createComponent(o); +"use strict";const e=require("../../common/vendor.js"),l=require("./reducer.js");if(!Array){e.resolveComponent("uni-icons")()}Math;const o=e.defineComponent({__name:"hs-input",props:l.wlInputProps,emits:["update:valueModel","input","blur","bindconfirm","onClose"],setup(l,{emit:o}){const n=l,t=e.ref("");e.watch(()=>n.valueModel,e=>{t.value=e,a(e)}),e.onMounted(()=>{t.value=n.valueModel,a(n.valueModel)});const u=e=>{let l=e.target.value;a(l)},a=e=>{o("update:valueModel",e),o("input",e)},i=()=>{o("blur",n.valueModel)},d=e=>{let l=e.target.value;o("bindconfirm",l)},r=()=>{t.value="",u({target:{value:""}})};return(l,o)=>{var a,s;return e.e({a:e.n(n.classInputName),b:e.o([e=>t.value=e.detail.value,u]),c:n.placeholderStyle,d:(null==n?void 0:n.width)||"300rpx",e:null==n?void 0:n.textAlign,f:e.o(u),g:(null==n?void 0:n.placeholder)||"请输入",h:(null==n?void 0:n.maxLength)||255,i:(null==n?void 0:n.type)||"text",j:e.o(i),k:e.o(d),l:null==n?void 0:n.disabled,m:null==n?void 0:n.confirmType,n:(null==n?void 0:n.password)||!1,o:t.value,p:(null==(a=t.value)?void 0:a.length)&&!n.disabled},(null==(s=t.value)?void 0:s.length)&&!n.disabled?{q:e.p({type:"closeempty",color:"#999999",size:"15"}),r:e.o(r)}:{},{s:l.suffix},l.suffix?{t:e.t(l.suffix)}:{},{v:e.n(n.className)})}}});wx.createComponent(o); diff --git a/dist/build/mp-weixin/components/hs-popup-building/hs-popup-building.js b/dist/build/mp-weixin/components/hs-popup-building/hs-popup-building.js index fc224d9..04f0161 100644 --- a/dist/build/mp-weixin/components/hs-popup-building/hs-popup-building.js +++ b/dist/build/mp-weixin/components/hs-popup-building/hs-popup-building.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/apiLoading.js"),l=require("../../common/libraries/naviHelper.js"),n=require("../../gen/Apis.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-popup"))()}Math||((()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../hs-popup/hs-popup.js"))();const i=e.defineComponent({__name:"hs-popup-building",props:["Apis","baseStyle","params"],emits:["close","change"],setup(i,{emit:s}){const a=i,u=e.ref({name:"全部楼栋",id:0}),r=e.ref({page:1}),d=e.ref([]);e.ref({});const t=e.ref(!1),v=()=>{var e;console.log(null==a?void 0:a.params,"成都市 "),!t.value&&(null==(e=null==a?void 0:a.params)?void 0:e.asset_projects_id)?(t.value=!t.value,p()):l.showToast("请先选择项目!")},p=()=>{var e,l,i;o.getApiLoading(null==(i=null==(l=null==(e=n.Apis)?void 0:e.Asset)?void 0:l.AssetHouses)?void 0:i.SelectBuilding,{...r.value,...null==a?void 0:a.params}).then((e=>{d.value=null==e?void 0:e.data,console.log(e)}))},m=()=>{t.value=!t.value},c=()=>{u.value={name:"全部楼栋",id:0},s("change",{asset_buildings_id:void 0})};return(o,l)=>{var n,i,r,p,g;return e.e({a:e.t(null==(n=u.value)?void 0:n.name),b:e.s((null==a?void 0:a.baseStyle)||{}),c:"全部楼栋"===(null==(i=u.value)?void 0:i.name)},"全部楼栋"===(null==(r=u.value)?void 0:r.name)?{d:e.p({type:"down",color:"#333",size:"12"})}:{},{e:e.o(v),f:"全部楼栋"!==(null==(p=u.value)?void 0:p.name)},"全部楼栋"!==(null==(g=u.value)?void 0:g.name)?{g:e.p({type:"close",color:"#666",size:"18"}),h:e.o(c)}:{},{i:e.f(d.value,((o,l,n)=>{var i,a;return e.e({a:e.t(null==o?void 0:o.name),b:(null==(i=u.value)?void 0:i.id)===(null==o?void 0:o.id)},(null==(a=u.value)?void 0:a.id)===(null==o?void 0:o.id)?{c:"25a60dae-3-"+n+",25a60dae-2",d:e.p({type:"checkmarkempty",size:"20",color:"#2A7EFB"})}:{},{e:`key_${l}`,f:e.o((e=>(e=>{u.value=e,s("change",{asset_buildings_id:null==e?void 0:e.id}),m()})(o)),`key_${l}`)})})),j:e.o(m),k:e.p({show:t.value,mode:"bottom",closeable:!0,round:20})})}}}),s=e._export_sfc(i,[["__scopeId","data-v-25a60dae"]]);wx.createComponent(s); +"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/apiLoading.js"),l=require("../../common/libraries/naviHelper.js"),n=require("../../gen/Apis.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-popup"))()}Math||((()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../hs-popup/hs-popup.js"))();const i=e.defineComponent({__name:"hs-popup-building",props:["Apis","baseStyle","params"],emits:["close","change"],setup(i,{emit:s}){const a=i,u=e.ref({name:"全部楼栋",id:0}),r=e.ref({page:1}),d=e.ref([]);e.ref({});const t=e.ref(!1),v=()=>{var e;console.log(null==a?void 0:a.params,"成都市 "),!t.value&&(null==(e=null==a?void 0:a.params)?void 0:e.asset_projects_id)?(t.value=!t.value,p()):l.showToast("请先选择项目!")},p=()=>{var e,l,i;o.getApiLoading(null==(i=null==(l=null==(e=n.Apis)?void 0:e.Asset)?void 0:l.AssetHouses)?void 0:i.SelectBuilding,{...r.value,...null==a?void 0:a.params}).then(e=>{d.value=null==e?void 0:e.data,console.log(e)})},m=()=>{t.value=!t.value},c=()=>{u.value={name:"全部楼栋",id:0},s("change",{asset_buildings_id:void 0})};return(o,l)=>{var n,i,r,p,g;return e.e({a:e.t(null==(n=u.value)?void 0:n.name),b:e.s((null==a?void 0:a.baseStyle)||{}),c:"全部楼栋"===(null==(i=u.value)?void 0:i.name)},"全部楼栋"===(null==(r=u.value)?void 0:r.name)?{d:e.p({type:"down",color:"#333",size:"12"})}:{},{e:e.o(v),f:"全部楼栋"!==(null==(p=u.value)?void 0:p.name)},"全部楼栋"!==(null==(g=u.value)?void 0:g.name)?{g:e.p({type:"close",color:"#666",size:"18"}),h:e.o(c)}:{},{i:e.f(d.value,(o,l,n)=>{var i,a;return e.e({a:e.t(null==o?void 0:o.name),b:(null==(i=u.value)?void 0:i.id)===(null==o?void 0:o.id)},(null==(a=u.value)?void 0:a.id)===(null==o?void 0:o.id)?{c:"25a60dae-3-"+n+",25a60dae-2",d:e.p({type:"checkmarkempty",size:"20",color:"#2A7EFB"})}:{},{e:`key_${l}`,f:e.o(e=>(e=>{u.value=e,s("change",{asset_buildings_id:null==e?void 0:e.id}),m()})(o),`key_${l}`)})}),j:e.o(m),k:e.p({show:t.value,mode:"bottom",closeable:!0,round:20})})}}}),s=e._export_sfc(i,[["__scopeId","data-v-25a60dae"]]);wx.createComponent(s); diff --git a/dist/build/mp-weixin/components/hs-popup-employees/hs-popup-employees.js b/dist/build/mp-weixin/components/hs-popup-employees/hs-popup-employees.js index 55f9f16..b64eb3b 100644 --- a/dist/build/mp-weixin/components/hs-popup-employees/hs-popup-employees.js +++ b/dist/build/mp-weixin/components/hs-popup-employees/hs-popup-employees.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/apiLoading.js"),l=require("../../gen/Apis.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-cell")+e.resolveComponent("uni-icons")+e.resolveComponent("hs-popup"))()}Math||((()=>"../hs-cell/hs-cell.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../hs-popup/hs-popup.js"))();const u=e.defineComponent({__name:"hs-popup-employees",props:["Apis","title"],emits:["close","change","update:valueModel"],setup(u,{emit:r}){const s=e.ref({label:"",value:0}),a=e.ref([]),n=e.ref(!1),i=()=>{n.value=!n.value,n.value&&t()},t=()=>{o.getApiLoading(l.Apis.Company.CompanyEmployees.Select,{}).then((e=>{a.value=null==e?void 0:e.data,console.log(e)}))};return(o,l)=>{var t;return{a:e.o(i),b:e.p({title:u.title,value:(null==(t=s.value)?void 0:t.label)||"",isLink:!0,isPlaceholder:!0,borderTop:!0,required:!0}),c:e.f(a.value,((o,l,u)=>{var a,n;return e.e({a:e.t(null==o?void 0:o.label),b:(null==(a=s.value)?void 0:a.value)===(null==o?void 0:o.value)},(null==(n=s.value)?void 0:n.value)===(null==o?void 0:o.value)?{c:"d0c0aca0-2-"+u+",d0c0aca0-1",d:e.p({type:"checkmarkempty",size:"20",color:"#345CA1"})}:{},{e:`key_${l}`,f:e.o((e=>(e=>{s.value=e,r("change",e),r("update:valueModel",null==e?void 0:e.value),i()})(o)),`key_${l}`)})})),d:e.o(i),e:e.p({show:n.value,mode:"bottom",closeable:!0,round:20})}}}}),r=e._export_sfc(u,[["__scopeId","data-v-d0c0aca0"]]);wx.createComponent(r); +"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/apiLoading.js"),l=require("../../gen/Apis.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-cell")+e.resolveComponent("uni-icons")+e.resolveComponent("hs-popup"))()}Math||((()=>"../hs-cell/hs-cell.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../hs-popup/hs-popup.js"))();const u=e.defineComponent({__name:"hs-popup-employees",props:["Apis","title"],emits:["close","change","update:valueModel"],setup(u,{emit:r}){const s=e.ref({label:"",value:0}),a=e.ref([]),n=e.ref(!1),i=()=>{n.value=!n.value,n.value&&t()},t=()=>{o.getApiLoading(l.Apis.Company.CompanyEmployees.Select,{}).then(e=>{a.value=null==e?void 0:e.data,console.log(e)})};return(o,l)=>{var t;return{a:e.o(i),b:e.p({title:u.title,value:(null==(t=s.value)?void 0:t.label)||"",isLink:!0,isPlaceholder:!0,borderTop:!0,required:!0}),c:e.f(a.value,(o,l,u)=>{var a,n;return e.e({a:e.t(null==o?void 0:o.label),b:(null==(a=s.value)?void 0:a.value)===(null==o?void 0:o.value)},(null==(n=s.value)?void 0:n.value)===(null==o?void 0:o.value)?{c:"d0c0aca0-2-"+u+",d0c0aca0-1",d:e.p({type:"checkmarkempty",size:"20",color:"#345CA1"})}:{},{e:`key_${l}`,f:e.o(e=>(e=>{s.value=e,r("change",e),r("update:valueModel",null==e?void 0:e.value),i()})(o),`key_${l}`)})}),d:e.o(i),e:e.p({show:n.value,mode:"bottom",closeable:!0,round:20})}}}}),r=e._export_sfc(u,[["__scopeId","data-v-d0c0aca0"]]);wx.createComponent(r); diff --git a/dist/build/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.js b/dist/build/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.js new file mode 100644 index 0000000..f96887d --- /dev/null +++ b/dist/build/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.js @@ -0,0 +1 @@ +"use strict";const e=require("../../common/vendor.js"),l=require("../../common/libraries/apiLoading.js"),a=require("../../common/libraries/tools.js"),u=require("../../gen/Apis.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-cell")+e.resolveComponent("up-tabs")+e.resolveComponent("hs-empty")+e.resolveComponent("uni-icons")+e.resolveComponent("hs-popup"))()}Math||((()=>"../hs-cell/hs-cell.js")+(()=>"../../node-modules/uview-plus/components/u-tabs/u-tabs.js")+(()=>"../hs-empty/hs-empty.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../hs-popup/hs-popup.js"))();const o=e.defineComponent({__name:"hs-popup-project-houer",props:["title","defaultValueName"],emits:["close","change"],setup(o,{emit:n}){const i=o;let v="";const s=e.ref({page:1}),t=e.ref(""),d=e.ref({name:"",id:0}),r=e.ref([]),c=e.ref([]),m=e.ref([]),p=e.ref([]),f=e.ref([]),h=e.ref(""),_=e.ref(!1),g=e.ref(0),A=e.ref([{name:"小区"}]),j=e.ref([]);e.watch(()=>null==i?void 0:i.defaultValueName,()=>{h.value=null==i?void 0:i.defaultValueName});const k=a.debounce(e=>{e!==v&&(v=e,s.value.page=1,c.value=[],q(g.value))},500),y=()=>{_.value=!_.value,_.value&&setTimeout(()=>{g.value=0,c.value=[],$()},300)},b=e=>{t.value="",g.value=null==e?void 0:e.index,console.log(e,"eee")};e.watch(()=>g.value,e=>{q(e)});const q=e=>{0===e&&$(),1===e&&C(j.value[0]),2===e&&S(j.value[1]),3===e&&L(j.value[2])},$=()=>{l.getApiLoading(u.Apis.Asset.AssetHouses.SelectProject,{name:t.value,...s.value}).then(e=>{c.value=null==e?void 0:e.data,r.value=null==e?void 0:e.data,console.log(e)})},C=e=>{l.getApiLoading(u.Apis.Asset.AssetHouses.SelectBuilding,{asset_projects_id:null==e?void 0:e.id,name:t.value,...s.value}).then(e=>{m.value=null==e?void 0:e.data,r.value=null==e?void 0:e.data,console.log(e)})},S=e=>{var a;l.getApiLoading(u.Apis.Asset.AssetHouses.SelectUnit,{asset_projects_id:null==(a=j.value[0])?void 0:a.id,asset_buildings_id:null==e?void 0:e.id,name:t.value,...s.value}).then(e=>{p.value=null==e?void 0:e.data,r.value=null==e?void 0:e.data,console.log(e)})},L=e=>{var a,o;l.getApiLoading(u.Apis.Asset.AssetHouses.SelectHouse,{asset_projects_id:null==(a=j.value[0])?void 0:a.id,asset_buildings_id:null==(o=j.value[1])?void 0:o.id,asset_units_id:null==e?void 0:e.id,name:t.value,...s.value}).then(e=>{f.value=null==e?void 0:e.data,r.value=null==e?void 0:e.data,console.log(e)})};return(l,a)=>{var u,o;return e.e({a:e.o(y),b:e.p({title:null==i?void 0:i.title,isLink:!0,isPlaceholder:!0,required:!0,borderTop:!0,value:h.value}),c:e.o([e=>t.value=e.detail.value,(...l)=>e.unref(k)&&e.unref(k)(...l)]),d:e.o((...l)=>e.unref(k)&&e.unref(k)(...l)),e:t.value,f:_.value},_.value?{g:e.o(b),h:e.p({list:A.value,current:g.value||0})}:{},{i:!(null==(u=r.value)?void 0:u.length)},(null==(o=r.value)||o.length,{}),{j:0===g.value},0===g.value?{k:e.f(c.value,(l,a,u)=>{var o,n;return e.e({a:e.t(null==l?void 0:l.name),b:(null==(o=d.value)?void 0:o.id)===(null==l?void 0:l.id)},(null==(n=d.value)?void 0:n.id)===(null==l?void 0:l.id)?{c:"f6ca5cd0-4-"+u+",f6ca5cd0-1",d:e.p({type:"checkmarkempty",size:"20",color:"#FBA60D"})}:{},{e:`key_${a}`,f:e.o(e=>(e=>{t.value="",g.value=1,A.value=[{name:"小区"},{name:"楼栋"}],j.value[0]=e})(l),`key_${a}`)})})}:{},{l:1===g.value},1===g.value?{m:e.f(m.value,(l,a,u)=>{var o,n;return e.e({a:e.t(null==l?void 0:l.name),b:(null==(o=d.value)?void 0:o.id)===(null==l?void 0:l.id)},(null==(n=d.value)?void 0:n.id)===(null==l?void 0:l.id)?{c:"f6ca5cd0-5-"+u+",f6ca5cd0-1",d:e.p({type:"checkmarkempty",size:"20",color:"#FBA60D"})}:{},{e:`key_${a}`,f:e.o(e=>(e=>{t.value="",g.value=2,A.value=[{name:"小区"},{name:"楼栋"},{name:"单元"}],j.value[1]=e})(l),`key_${a}`)})})}:{},{n:2===g.value},2===g.value?{o:e.f(p.value,(l,a,u)=>{var o,n;return e.e({a:e.t(null==l?void 0:l.name),b:(null==(o=d.value)?void 0:o.id)===(null==l?void 0:l.id)},(null==(n=d.value)?void 0:n.id)===(null==l?void 0:l.id)?{c:"f6ca5cd0-6-"+u+",f6ca5cd0-1",d:e.p({type:"checkmarkempty",size:"20",color:"#FBA60D"})}:{},{e:`key_${a}`,f:e.o(e=>(e=>{t.value="",g.value=3,A.value=[{name:"小区"},{name:"楼栋"},{name:"单元"},{name:"房屋"}],j.value[2]=e})(l),`key_${a}`)})})}:{},{p:3===g.value},3===g.value?{q:e.f(f.value,(l,a,u)=>{var o,i;return e.e({a:e.t(null==l?void 0:l.name),b:(null==(o=d.value)?void 0:o.id)===(null==l?void 0:l.id)},(null==(i=d.value)?void 0:i.id)===(null==l?void 0:l.id)?{c:"f6ca5cd0-7-"+u+",f6ca5cd0-1",d:e.p({type:"checkmarkempty",size:"20",color:"#FBA60D"})}:{},{e:`key_${a}`,f:e.o(e=>(e=>{t.value="",j.value[3]=e,h.value=null==j?void 0:j.value.map(e=>null==e?void 0:e.name).join(""),n("change",j.value),y()})(l),`key_${a}`)})})}:{},{r:e.o(y),s:e.p({show:_.value,mode:"bottom",closeable:!0,round:20})})}}}),n=e._export_sfc(o,[["__scopeId","data-v-f6ca5cd0"]]);wx.createComponent(n); diff --git a/dist/build/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.json b/dist/build/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.json new file mode 100644 index 0000000..473f195 --- /dev/null +++ b/dist/build/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.json @@ -0,0 +1,10 @@ +{ + "component": true, + "usingComponents": { + "hs-cell": "../hs-cell/hs-cell", + "up-tabs": "../../node-modules/uview-plus/components/u-tabs/u-tabs", + "hs-empty": "../hs-empty/hs-empty", + "uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons", + "hs-popup": "../hs-popup/hs-popup" + } +} \ No newline at end of file diff --git a/dist/build/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.wxml b/dist/build/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.wxml new file mode 100644 index 0000000..5f0f848 --- /dev/null +++ b/dist/build/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.wxml @@ -0,0 +1 @@ + 选择房屋 {{i.a}}{{i.a}}{{i.a}}{{i.a}} \ No newline at end of file diff --git a/dist/build/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.wxss b/dist/build/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.wxss new file mode 100644 index 0000000..a1b2681 --- /dev/null +++ b/dist/build/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.wxss @@ -0,0 +1 @@ +.popup_merchant_select_body.data-v-f6ca5cd0{background-color:#fff;padding-bottom:calc(48px + constant(safe-area-inset-bottom));padding-bottom:calc(48px + env(safe-area-inset-bottom));border-top-left-radius:20rpx;border-top-right-radius:20rpx;overflow:hidden}.popup_merchant_select_body .popup_merchant_select_title.data-v-f6ca5cd0{text-align:center;padding:30rpx 0;font-size:30rpx;background-color:#f8f8f8;border-bottom:1rpx solid #eee}.popup_merchant_select_body .scroll-Y.data-v-f6ca5cd0{width:100%;height:860rpx}.popup_merchant_select_body .popup_merchant_body.data-v-f6ca5cd0{font-size:30rpx;color:#333;border-top:1rpx solid #f8f8f8}.popup_merchant_select_body .popup_merchant_body .merchant_item.data-v-f6ca5cd0{padding:30rpx;border-bottom:1rpx solid #f8f8f8;display:flex;justify-content:space-between;align-items:center}.popup_search_input.data-v-f6ca5cd0{padding:15rpx 20rpx;margin:20rpx 30rpx 0;border-radius:100rpx;border:1rpx solid #eee} diff --git a/dist/build/mp-weixin/components/hs-popup-project/hs-popup-project.js b/dist/build/mp-weixin/components/hs-popup-project/hs-popup-project.js index 5873688..a36b691 100644 --- a/dist/build/mp-weixin/components/hs-popup-project/hs-popup-project.js +++ b/dist/build/mp-weixin/components/hs-popup-project/hs-popup-project.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/apiLoading.js"),l=require("../../gen/Apis.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-scroll-view")+e.resolveComponent("hs-popup"))()}Math||((()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../hs-scroll-view/hs-scroll-view.js")+(()=>"../hs-popup/hs-popup.js"))();const n=e.defineComponent({__name:"hs-popup-project",props:["Apis","baseStyle"],emits:["close","change"],setup(n,{emit:s}){const u=n,i=e.ref({page:1}),a=e.ref({}),r=e.ref({name:"全部项目",id:0}),t=e.ref([]),v=e.ref(!1),d=()=>{v.value=!v.value,v.value&&(i.value.page=1,t.value=[],c())},p=e=>{i.value.page=(null==e?void 0:e.page)||1,c()},c=()=>{var e,n,s;o.getApiLoading(null==(s=null==(n=null==(e=l.Apis)?void 0:e.Asset)?void 0:n.AssetHouses)?void 0:s.SelectProject,i.value).then((e=>{t.value=[...t.value,...null==e?void 0:e.data],a.value=null==e?void 0:e.meta,console.log(e)}))},m=()=>{r.value={name:"全部项目",id:0},s("change",{asset_projects_id:void 0})};return(o,l)=>{var n,i,c,f,h;return e.e({a:e.t(null==(n=r.value)?void 0:n.name),b:e.s((null==u?void 0:u.baseStyle)||{}),c:"全部项目"===(null==(i=r.value)?void 0:i.name)},"全部项目"===(null==(c=r.value)?void 0:c.name)?{d:e.p({type:"down",color:"#333",size:"12"})}:{},{e:e.o(d),f:"全部项目"!==(null==(f=r.value)?void 0:f.name)},"全部项目"!==(null==(h=r.value)?void 0:h.name)?{g:e.p({type:"close",color:"#666",size:"18"}),h:e.o(m)}:{},{i:e.f(t.value,((o,l,n)=>{var u,i;return e.e({a:e.t(null==o?void 0:o.name),b:e.t(null==o?void 0:o.province),c:e.t(null==o?void 0:o.city),d:e.t(null==o?void 0:o.area),e:(null==(u=r.value)?void 0:u.id)===(null==o?void 0:o.id)},(null==(i=r.value)?void 0:i.id)===(null==o?void 0:o.id)?{f:"24d2ff27-4-"+n+",24d2ff27-3",g:e.p({type:"checkmarkempty",size:"20",color:"#2A7EFB"})}:{},{h:`key_${l}`,i:e.o((e=>(e=>{r.value=e,s("change",{asset_projects_id:null==e?void 0:e.id}),v.value=!v.value})(o)),`key_${l}`)})})),j:e.o(p),k:e.p({meta:a.value}),l:e.o(d),m:e.p({show:v.value,mode:"bottom",closeable:!0,round:20})})}}}),s=e._export_sfc(n,[["__scopeId","data-v-24d2ff27"]]);wx.createComponent(s); +"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/apiLoading.js"),l=require("../../gen/Apis.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-scroll-view")+e.resolveComponent("hs-popup"))()}Math||((()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../hs-scroll-view/hs-scroll-view.js")+(()=>"../hs-popup/hs-popup.js"))();const n=e.defineComponent({__name:"hs-popup-project",props:["Apis","baseStyle"],emits:["close","change"],setup(n,{emit:s}){const i=n,u=e.ref({page:1}),a=e.ref({}),r=e.ref({name:"全部项目",id:0}),t=e.ref([]),v=e.ref(!1),d=()=>{v.value=!v.value,v.value&&(u.value.page=1,t.value=[],c())},p=e=>{u.value.page=(null==e?void 0:e.page)||1,c()},c=()=>{var e,n,s;o.getApiLoading(null==(s=null==(n=null==(e=l.Apis)?void 0:e.Asset)?void 0:n.AssetHouses)?void 0:s.SelectPermissionProject,u.value).then(e=>{t.value=[...t.value,...null==e?void 0:e.data],a.value=null==e?void 0:e.meta,console.log(e)})},m=()=>{r.value={name:"全部项目",id:0},s("change",{asset_projects_id:void 0})};return(o,l)=>{var n,u,c,h,j;return e.e({a:e.t(null==(n=r.value)?void 0:n.name),b:e.s((null==i?void 0:i.baseStyle)||{}),c:"全部项目"===(null==(u=r.value)?void 0:u.name)},"全部项目"===(null==(c=r.value)?void 0:c.name)?{d:e.p({type:"down",color:"#333",size:"12"})}:{},{e:e.o(d),f:"全部项目"!==(null==(h=r.value)?void 0:h.name)},"全部项目"!==(null==(j=r.value)?void 0:j.name)?{g:e.p({type:"close",color:"#666",size:"18"}),h:e.o(m)}:{},{i:e.f(t.value,(o,l,n)=>{var i,u;return e.e({a:e.t(null==o?void 0:o.name),b:e.t(null==o?void 0:o.province),c:e.t(null==o?void 0:o.city),d:e.t(null==o?void 0:o.area),e:(null==(i=r.value)?void 0:i.id)===(null==o?void 0:o.id)},(null==(u=r.value)?void 0:u.id)===(null==o?void 0:o.id)?{f:"136d1c4b-4-"+n+",136d1c4b-3",g:e.p({type:"checkmarkempty",size:"20",color:"#2A7EFB"})}:{},{h:`key_${l}`,i:e.o(e=>(e=>{r.value=e,s("change",{asset_projects_id:null==e?void 0:e.id}),v.value=!v.value})(o),`key_${l}`)})}),j:e.o(p),k:e.p({meta:a.value}),l:e.o(d),m:e.p({show:v.value,mode:"bottom",closeable:!0,round:20})})}}}),s=e._export_sfc(n,[["__scopeId","data-v-136d1c4b"]]);wx.createComponent(s); diff --git a/dist/build/mp-weixin/components/hs-popup-project/hs-popup-project.wxml b/dist/build/mp-weixin/components/hs-popup-project/hs-popup-project.wxml index d83c93c..29c7d35 100644 --- a/dist/build/mp-weixin/components/hs-popup-project/hs-popup-project.wxml +++ b/dist/build/mp-weixin/components/hs-popup-project/hs-popup-project.wxml @@ -1 +1 @@ -{{a}} 选择项目 {{i.a}} {{i.b}}{{i.c}}{{i.d}} \ No newline at end of file +{{a}} 选择项目 {{i.a}} {{i.b}}{{i.c}}{{i.d}} \ No newline at end of file diff --git a/dist/build/mp-weixin/components/hs-popup-project/hs-popup-project.wxss b/dist/build/mp-weixin/components/hs-popup-project/hs-popup-project.wxss index 9f97afa..4e1f418 100644 --- a/dist/build/mp-weixin/components/hs-popup-project/hs-popup-project.wxss +++ b/dist/build/mp-weixin/components/hs-popup-project/hs-popup-project.wxss @@ -1 +1 @@ -.hs_modal_picker.data-v-24d2ff27{display:flex;align-items:center;justify-content:space-between}.popup_merchant_select_body.data-v-24d2ff27{background-color:#fff;padding-bottom:calc(48px + constant(safe-area-inset-bottom));padding-bottom:calc(48px + env(safe-area-inset-bottom));border-top-left-radius:20rpx;border-top-right-radius:20rpx;overflow:hidden}.popup_merchant_select_body .popup_merchant_select_title.data-v-24d2ff27{text-align:center;padding:30rpx 0;font-size:30rpx;background-color:#f8f8f8;border-bottom:1rpx solid #eee}.popup_merchant_select_body .scroll-Y.data-v-24d2ff27{width:100%;height:660rpx}.popup_merchant_select_body .popup_merchant_body.data-v-24d2ff27{font-size:30rpx;color:#333}.popup_merchant_select_body .popup_merchant_body .merchant_item.data-v-24d2ff27{padding:30rpx;border-bottom:1rpx solid #f8f8f8;display:flex;justify-content:space-between;align-items:center}.popup_merchant_select_body .popup_merchant_body .address.data-v-24d2ff27{font-size:24rpx;color:#999}.popup_merchant_select_body .popup_merchant_footer.data-v-24d2ff27{display:flex;align-items:center;justify-content:space-between;padding:30rpx 50rpx}.popup_merchant_select_body .popup_merchant_footer .btn.data-v-24d2ff27{flex:1}.popup_merchant_select_body .popup_merchant_footer .btn.data-v-24d2ff27:last-child{margin-left:30rpx}.select_day_btn.data-v-24d2ff27{display:flex;align-items:center;border-radius:50rpx;text-align:center;font-size:28rpx;padding:14rpx 0;color:#666}.select_day_btn .name.data-v-24d2ff27{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:10rpx;max-width:180rpx} +.hs_modal_picker.data-v-136d1c4b{display:flex;align-items:center;justify-content:space-between}.popup_merchant_select_body.data-v-136d1c4b{background-color:#fff;padding-bottom:calc(48px + constant(safe-area-inset-bottom));padding-bottom:calc(48px + env(safe-area-inset-bottom));border-top-left-radius:20rpx;border-top-right-radius:20rpx;overflow:hidden}.popup_merchant_select_body .popup_merchant_select_title.data-v-136d1c4b{text-align:center;padding:30rpx 0;font-size:30rpx;background-color:#f8f8f8;border-bottom:1rpx solid #eee}.popup_merchant_select_body .scroll-Y.data-v-136d1c4b{width:100%;height:660rpx}.popup_merchant_select_body .popup_merchant_body.data-v-136d1c4b{font-size:30rpx;color:#333}.popup_merchant_select_body .popup_merchant_body .merchant_item.data-v-136d1c4b{padding:30rpx;border-bottom:1rpx solid #f8f8f8;display:flex;justify-content:space-between;align-items:center}.popup_merchant_select_body .popup_merchant_body .address.data-v-136d1c4b{font-size:24rpx;color:#999}.popup_merchant_select_body .popup_merchant_footer.data-v-136d1c4b{display:flex;align-items:center;justify-content:space-between;padding:30rpx 50rpx}.popup_merchant_select_body .popup_merchant_footer .btn.data-v-136d1c4b{flex:1}.popup_merchant_select_body .popup_merchant_footer .btn.data-v-136d1c4b:last-child{margin-left:30rpx}.select_day_btn.data-v-136d1c4b{display:flex;align-items:center;border-radius:50rpx;text-align:center;font-size:28rpx;padding:14rpx 0;color:#666}.select_day_btn .name.data-v-136d1c4b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:10rpx;max-width:180rpx} diff --git a/dist/build/mp-weixin/components/hs-private-policy/hs-private-policy.js b/dist/build/mp-weixin/components/hs-private-policy/hs-private-policy.js index 5fc9b90..a1d04fb 100644 --- a/dist/build/mp-weixin/components/hs-private-policy/hs-private-policy.js +++ b/dist/build/mp-weixin/components/hs-private-policy/hs-private-policy.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js");if(!Array){(e.resolveComponent("u-checkbox")+e.resolveComponent("u-checkbox-group"))()}Math||((()=>"../../node-modules/uview-plus/components/u-checkbox/u-checkbox.js")+(()=>"../../node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.js"))();const o=e.defineComponent({__name:"hs-private-policy",props:{isAgree:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},policyName:{type:String,default:"隐私政策名称"},activeColor:{type:String,default:"#2A7EFB"}},emits:["update:isAgree","clickPolicy","clickCheckbox"],setup(o,{emit:l}){const c=o,i=e.ref([]);c.isAgree?i.value=["isAgree"]:i.value=[],e.watch((()=>null==c?void 0:c.isAgree),(()=>{i.value?i.value=["isAgree"]:i.value=[]}));const t=()=>{l("clickPolicy")},u=()=>{var e;if(c.isDisabled)return l("clickCheckbox"),i.value=[],void l("update:isAgree",!1);let o=!1;(null==(e=i.value)?void 0:e.length)?(i.value=[],o=!1):(i.value=["isAgree"],o=!0),l("update:isAgree",o)};return(o,l)=>({a:e.p({shape:"circle",activeColor:null==c?void 0:c.activeColor,name:"isAgree"}),b:e.o(u),c:e.p({modelValue:i.value}),d:e.o(u),e:e.t(c.policyName),f:e.o(t)})}}),l=e._export_sfc(o,[["__scopeId","data-v-921dfb30"]]);wx.createComponent(l); +"use strict";const e=require("../../common/vendor.js");if(!Array){(e.resolveComponent("u-checkbox")+e.resolveComponent("u-checkbox-group"))()}Math||((()=>"../../node-modules/uview-plus/components/u-checkbox/u-checkbox.js")+(()=>"../../node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.js"))();const o=e.defineComponent({__name:"hs-private-policy",props:{isAgree:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},policyName:{type:String,default:"隐私政策名称"},activeColor:{type:String,default:"#2A7EFB"}},emits:["update:isAgree","clickPolicy","clickCheckbox"],setup(o,{emit:l}){const c=o,i=e.ref([]);c.isAgree?i.value=["isAgree"]:i.value=[],e.watch(()=>null==c?void 0:c.isAgree,()=>{i.value?i.value=["isAgree"]:i.value=[]});const t=()=>{l("clickPolicy")},u=()=>{var e;if(c.isDisabled)return l("clickCheckbox"),i.value=[],void l("update:isAgree",!1);let o=!1;(null==(e=i.value)?void 0:e.length)?(i.value=[],o=!1):(i.value=["isAgree"],o=!0),l("update:isAgree",o)};return(o,l)=>({a:e.p({shape:"circle",activeColor:null==c?void 0:c.activeColor,name:"isAgree"}),b:e.o(u),c:e.p({modelValue:i.value}),d:e.o(u),e:e.t(c.policyName),f:e.o(t)})}}),l=e._export_sfc(o,[["__scopeId","data-v-921dfb30"]]);wx.createComponent(l); diff --git a/dist/build/mp-weixin/components/hs-radio-cell-picker/hs-radio-cell-picker.js b/dist/build/mp-weixin/components/hs-radio-cell-picker/hs-radio-cell-picker.js index 111acc7..e73472f 100644 --- a/dist/build/mp-weixin/components/hs-radio-cell-picker/hs-radio-cell-picker.js +++ b/dist/build/mp-weixin/components/hs-radio-cell-picker/hs-radio-cell-picker.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js");if(!Array){e.resolveComponent("uni-icons")()}Math;const l=e.defineComponent({__name:"hs-radio-cell-picker",props:["Enums","title","pickerIndex","value","borderTop","required","tip","key","des","padding","valueModel","disabled"],emits:["change","update:valueModel"],setup(l,{emit:t}){const o=l,d=e.ref(""),u=e.ref([]),n=e=>{let l=u.value[null==e?void 0:e.detail.value];d.value=null==l?void 0:l.text,t("update:valueModel",null==l?void 0:l.value),t("change",l)},a=()=>{let e=Object.entries(null==o?void 0:o.Enums).map((([e,l])=>({text:l.text,value:l.value,type:(null==l?void 0:l.type)||""})));u.value=e};return e.watch((()=>null==o?void 0:o.Enums),(()=>{a()})),e.onMounted((()=>{a()})),(t,a)=>e.e({a:e.t((null==o?void 0:o.title)||"标题"),b:l.required},(l.required,{}),{c:e.t(d.value||"请选择"),d:e.p({type:"right",size:"15",color:"#999"}),e:e.n(d.value?"valueStyle":"valueStyle placeholderStyle"),f:o.borderTop?"1rpx solid #eee":"",g:(null==o?void 0:o.padding)||"10rpx 0",h:u.value,i:(null==o?void 0:o.key)||"text",j:e.o(n),k:null==o?void 0:o.disabled})}}),t=e._export_sfc(l,[["__scopeId","data-v-23753bda"]]);wx.createComponent(t); +"use strict";const e=require("../../common/vendor.js");if(!Array){e.resolveComponent("uni-icons")()}Math;const l=e.defineComponent({__name:"hs-radio-cell-picker",props:["Enums","title","pickerIndex","value","borderTop","required","tip","key","des","padding","valueModel","disabled"],emits:["change","update:valueModel"],setup(l,{emit:t}){const o=l,d=e.ref(""),u=e.ref([]),n=e=>{let l=u.value[null==e?void 0:e.detail.value];d.value=null==l?void 0:l.text,t("update:valueModel",null==l?void 0:l.value),t("change",l)},a=()=>{let e=Object.entries(null==o?void 0:o.Enums).map(([e,l])=>({text:l.text,value:l.value,type:(null==l?void 0:l.type)||""}));u.value=e};return e.watch(()=>null==o?void 0:o.Enums,()=>{a()}),e.onMounted(()=>{a()}),(t,a)=>e.e({a:e.t((null==o?void 0:o.title)||"标题"),b:l.required},(l.required,{}),{c:e.t(d.value||"请选择"),d:e.p({type:"right",size:"15",color:"#999"}),e:e.n(d.value?"valueStyle":"valueStyle placeholderStyle"),f:o.borderTop?"1rpx solid #eee":"",g:(null==o?void 0:o.padding)||"10rpx 0",h:u.value,i:(null==o?void 0:o.key)||"text",j:e.o(n),k:null==o?void 0:o.disabled})}}),t=e._export_sfc(l,[["__scopeId","data-v-23753bda"]]);wx.createComponent(t); diff --git a/dist/build/mp-weixin/components/hs-radio-picker-accounts/hs-radio-picker-accounts.js b/dist/build/mp-weixin/components/hs-radio-picker-accounts/hs-radio-picker-accounts.js index 298d924..9c537c5 100644 --- a/dist/build/mp-weixin/components/hs-radio-picker-accounts/hs-radio-picker-accounts.js +++ b/dist/build/mp-weixin/components/hs-radio-picker-accounts/hs-radio-picker-accounts.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/apiLoading.js"),l=require("../../gen/Apis.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){e.resolveComponent("uni-icons")()}Math;const i=e.defineComponent({__name:"hs-radio-picker-accounts",props:["title","required","borderTop","isLink","tip","value","url","isPlaceholder","padding","des","rightStyle","titleStyle","disabled","key","placeholder","params"],emits:["change","update:valueModel"],setup(i,{emit:n}){const r=i,t=e.ref([]),a=e.ref(""),u=e=>{let o=t.value[null==e?void 0:e.detail.value];a.value=null==o?void 0:o.name,n("update:valueModel",(null==o?void 0:o.id)||""),n("change",o)};return e.onMounted((()=>{o.getApiLoading(l.Apis.Company.CompanyProjectReceiptAccounts.List,(null==r?void 0:r.params)||{}).then((e=>{var o;null==(o=null==e?void 0:e.data)||o.map((e=>{var o,l,i,n,r;e.name=`${null==(o=null==e?void 0:e.receipt_account)?void 0:o.company_name}/${null==(l=null==e?void 0:e.receipt_account)?void 0:l.company_bank}/${(null==(i=null==e?void 0:e.receipt_account)?void 0:i.company_account)?null==(r=null==(n=null==e?void 0:e.receipt_account)?void 0:n.company_account)?void 0:r.slice(-4):""}`})),t.value=null==e?void 0:e.data,console.log(e)}))})),(o,l)=>e.e({a:e.t((null==r?void 0:r.title)||"标题"),b:i.required},(i.required,{}),{c:e.s(r.titleStyle),d:a.value},a.value?{e:e.t(a.value)}:{f:e.t((null==r?void 0:r.placeholder)||"请选择")},{g:e.p({type:"right",color:"#333",size:"12"}),h:e.s(r.rightStyle),i:r.borderTop?"1rpx solid #eee":"",j:(null==r?void 0:r.padding)||"15rpx 0",k:t.value,l:(null==r?void 0:r.key)||"name",m:null==r?void 0:r.disabled,n:e.o(u)})}}),n=e._export_sfc(i,[["__scopeId","data-v-e36feea6"]]);wx.createComponent(n); +"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/apiLoading.js"),l=require("../../gen/Apis.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){e.resolveComponent("uni-icons")()}Math;const i=e.defineComponent({__name:"hs-radio-picker-accounts",props:["title","required","borderTop","isLink","tip","value","url","isPlaceholder","padding","des","rightStyle","titleStyle","disabled","key","placeholder","params"],emits:["change","update:valueModel"],setup(i,{emit:n}){const r=i,t=e.ref([]),a=e.ref(""),u=e=>{let o=t.value[null==e?void 0:e.detail.value];a.value=null==o?void 0:o.name,n("update:valueModel",(null==o?void 0:o.id)||""),n("change",o)};return e.onMounted(()=>{o.getApiLoading(l.Apis.Company.CompanyProjectReceiptAccounts.List,(null==r?void 0:r.params)||{}).then(e=>{var o;null==(o=null==e?void 0:e.data)||o.map(e=>{var o,l,i,n,r;e.name=`${null==(o=null==e?void 0:e.receipt_account)?void 0:o.company_name}/${null==(l=null==e?void 0:e.receipt_account)?void 0:l.company_bank}/${(null==(i=null==e?void 0:e.receipt_account)?void 0:i.company_account)?null==(r=null==(n=null==e?void 0:e.receipt_account)?void 0:n.company_account)?void 0:r.slice(-4):""}`}),t.value=null==e?void 0:e.data,console.log(e)})}),(o,l)=>e.e({a:e.t((null==r?void 0:r.title)||"标题"),b:i.required},(i.required,{}),{c:e.s(r.titleStyle),d:a.value},a.value?{e:e.t(a.value)}:{f:e.t((null==r?void 0:r.placeholder)||"请选择")},{g:e.p({type:"right",color:"#333",size:"12"}),h:e.s(r.rightStyle),i:r.borderTop?"1rpx solid #eee":"",j:(null==r?void 0:r.padding)||"15rpx 0",k:t.value,l:(null==r?void 0:r.key)||"name",m:null==r?void 0:r.disabled,n:e.o(u)})}}),n=e._export_sfc(i,[["__scopeId","data-v-e36feea6"]]);wx.createComponent(n); diff --git a/dist/build/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.js b/dist/build/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.js new file mode 100644 index 0000000..619b811 --- /dev/null +++ b/dist/build/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.js @@ -0,0 +1 @@ +"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/apiLoading.js"),l=require("../../gen/Apis.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("up-cascader")+e.resolveComponent("veiw"))()}Math||((()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../node-modules/uview-plus/components/u-cascader/u-cascader.js"))();const r=e.defineComponent({__name:"hs-radio-picker-categories-tree",props:["Enums","title","pickerIndex","value","borderTop","required","disabled","tip","key","des","padding","valueModel","placeholder","titleStyle","rightStyle","defaultValue"],emits:["change","update:valueModel"],setup(r,{emit:n}){const u=r,i=e.ref(!1),a=e.ref([]),t=e.ref(""),d=e.ref([]),s=e=>{var o;null==(o=a.value)||o.map(o=>{var l;(null==o?void 0:o.id)===(null==e?void 0:e[0])&&(t.value=null==o?void 0:o.name,null==(l=null==o?void 0:o.children)||l.map(o=>{(null==o?void 0:o.id)===(null==e?void 0:e[1])&&(t.value+=`/${null==o?void 0:o.name}`)}))}),n("update:valueModel",e),n("change",e)};e.watch(()=>u.defaultValue,e=>{t.value=e});return e.onMounted(()=>{o.getApiLoading(l.Apis.Emergency.EmergencyEventCategories.SelectTree,{}).then(e=>{a.value=null==e?void 0:e.data,console.log(e)})}),(o,l)=>e.e({a:e.t((null==u?void 0:u.title)||"标题"),b:r.required},(r.required,{}),{c:e.s(u.titleStyle),d:t.value},t.value?{e:e.t(t.value)}:{f:e.t((null==u?void 0:u.placeholder)||"请选择")},{g:e.p({type:"right",color:"#333",size:"12"}),h:e.s(u.rightStyle),i:u.borderTop?"1rpx solid #eee":"",j:(null==u?void 0:u.padding)||"15rpx 0",k:e.o(e=>i.value=!0),l:e.o(s),m:e.o(e=>i.value=e),n:e.o(e=>d.value=e),o:e.p({mode:"mutil-column-auto",data:a.value,"label-key":"name","value-key":"id","children-key":"children",show:i.value,modelValue:d.value})})}}),n=e._export_sfc(r,[["__scopeId","data-v-dd52e3d5"]]);wx.createComponent(n); diff --git a/dist/dev/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.json b/dist/build/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.json similarity index 53% rename from dist/dev/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.json rename to dist/build/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.json index 2caa312..4679511 100644 --- a/dist/dev/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.json +++ b/dist/build/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.json @@ -1,6 +1,7 @@ { "component": true, "usingComponents": { - "uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons" + "uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons", + "up-cascader": "../../node-modules/uview-plus/components/u-cascader/u-cascader" } } \ No newline at end of file diff --git a/dist/build/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.wxml b/dist/build/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.wxml new file mode 100644 index 0000000..fbe575c --- /dev/null +++ b/dist/build/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.wxml @@ -0,0 +1 @@ +{{a}} * {{e}}{{f}} \ No newline at end of file diff --git a/dist/build/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.wxss b/dist/build/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.wxss new file mode 100644 index 0000000..db33952 --- /dev/null +++ b/dist/build/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.wxss @@ -0,0 +1 @@ +.picker_select_btn.data-v-dd52e3d5{display:flex;align-items:center;justify-content:space-between;font-size:28rpx;color:#333}.picker_select_btn .title.data-v-dd52e3d5{color:#333;font-size:30rpx}.picker_select_btn .title text.data-v-dd52e3d5{color:red}.picker_select_btn .right_value.data-v-dd52e3d5{flex:1;display:flex;align-items:center;justify-content:flex-end;padding:15rpx 0 15rpx 10rpx;font-size:28rpx}.picker_select_btn .right_value .placeholder_style.data-v-dd52e3d5{color:#ccc} diff --git a/dist/build/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.js b/dist/build/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.js deleted file mode 100644 index db74f8a..0000000 --- a/dist/build/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";const e=require("../../common/vendor.js");if(!Array){e.resolveComponent("uni-icons")()}Math;const l=e.defineComponent({__name:"hs-radio-picker-enum",props:["Enums","title","pickerIndex","value","borderTop","required","disabled","tip","key","des","padding","valueModel","placeholder"],emits:["change","update:valueModel"],setup(l,{emit:o}){const n=l,d=e.ref(""),u=e=>{console.log("e",e,null==n?void 0:n.Enums);let l=null==n?void 0:n.Enums[null==e?void 0:e.detail.value];d.value=null==l?void 0:l.name,o("update:valueModel",(null==l?void 0:l.value)||""),o("change",l)};return(l,o)=>({a:e.t(d.value||(null==n?void 0:n.title)),b:e.p({type:"down",color:"#333",size:"12"}),c:null==n?void 0:n.Enums,d:(null==n?void 0:n.key)||"name",e:null==n?void 0:n.disabled,f:e.o(u)})}}),o=e._export_sfc(l,[["__scopeId","data-v-ad7532fb"]]);wx.createComponent(o); diff --git a/dist/build/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.wxml b/dist/build/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.wxml deleted file mode 100644 index f294812..0000000 --- a/dist/build/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.wxml +++ /dev/null @@ -1 +0,0 @@ -{{a}} \ No newline at end of file diff --git a/dist/build/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.wxss b/dist/build/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.wxss deleted file mode 100644 index 8be2159..0000000 --- a/dist/build/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.wxss +++ /dev/null @@ -1 +0,0 @@ -.picker_select_btn.data-v-ad7532fb{padding:14rpx 20rpx;border-radius:100rpx;text-align:center;font-size:28rpx;display:flex;align-items:center;color:#666;margin-left:30rpx}.picker_select_btn text.data-v-ad7532fb{padding-right:10rpx}.picker_select_btn .label.data-v-ad7532fb{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:100rpx;max-width:200rpx} diff --git a/dist/build/mp-weixin/components/hs-radio-picker-levels/hs-radio-picker-levels.js b/dist/build/mp-weixin/components/hs-radio-picker-levels/hs-radio-picker-levels.js new file mode 100644 index 0000000..267907a --- /dev/null +++ b/dist/build/mp-weixin/components/hs-radio-picker-levels/hs-radio-picker-levels.js @@ -0,0 +1 @@ +"use strict";const e=require("../../common/vendor.js"),l=require("../../common/libraries/apiLoading.js"),o=require("../../gen/Apis.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){e.resolveComponent("uni-icons")()}Math;const r=e.defineComponent({__name:"hs-radio-picker-levels",props:["Enums","title","pickerIndex","value","borderTop","required","disabled","tip","key","des","padding","valueModel","placeholder","titleStyle","rightStyle","defaultValue"],emits:["change","update:valueModel"],setup(r,{emit:t}){const i=r,a=e.ref([]),u=e.ref(""),n=e=>{let l=a.value[null==e?void 0:e.detail.value];u.value=null==l?void 0:l.label,t("update:valueModel",(null==l?void 0:l.value)||""),t("change",l)};e.watch(()=>i.defaultValue,e=>{u.value=e});return e.onMounted(()=>{l.getApiLoading(o.Apis.Emergency.EmergencyEventLevels.Select,{}).then(e=>{a.value=null==e?void 0:e.data,console.log(e)})}),(l,o)=>e.e({a:e.t((null==i?void 0:i.title)||"标题"),b:r.required},(r.required,{}),{c:e.s(i.titleStyle),d:u.value},u.value?{e:e.t(u.value)}:{f:e.t((null==i?void 0:i.placeholder)||"请选择")},{g:e.p({type:"right",color:"#333",size:"12"}),h:e.s(i.rightStyle),i:i.borderTop?"1rpx solid #eee":"",j:(null==i?void 0:i.padding)||"15rpx 0",k:a.value,l:(null==i?void 0:i.key)||"label",m:null==i?void 0:i.disabled,n:e.o(n)})}}),t=e._export_sfc(r,[["__scopeId","data-v-bd635a81"]]);wx.createComponent(t); diff --git a/dist/build/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.json b/dist/build/mp-weixin/components/hs-radio-picker-levels/hs-radio-picker-levels.json similarity index 100% rename from dist/build/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.json rename to dist/build/mp-weixin/components/hs-radio-picker-levels/hs-radio-picker-levels.json diff --git a/dist/build/mp-weixin/components/hs-radio-picker-levels/hs-radio-picker-levels.wxml b/dist/build/mp-weixin/components/hs-radio-picker-levels/hs-radio-picker-levels.wxml new file mode 100644 index 0000000..8271722 --- /dev/null +++ b/dist/build/mp-weixin/components/hs-radio-picker-levels/hs-radio-picker-levels.wxml @@ -0,0 +1 @@ +{{a}} * {{e}}{{f}} \ No newline at end of file diff --git a/dist/build/mp-weixin/components/hs-radio-picker-levels/hs-radio-picker-levels.wxss b/dist/build/mp-weixin/components/hs-radio-picker-levels/hs-radio-picker-levels.wxss new file mode 100644 index 0000000..edb5247 --- /dev/null +++ b/dist/build/mp-weixin/components/hs-radio-picker-levels/hs-radio-picker-levels.wxss @@ -0,0 +1 @@ +.picker_select_btn.data-v-bd635a81{display:flex;align-items:center;justify-content:space-between;font-size:28rpx;color:#333}.picker_select_btn .title.data-v-bd635a81{color:#333;font-size:30rpx}.picker_select_btn .title text.data-v-bd635a81{color:red}.picker_select_btn .right_value.data-v-bd635a81{flex:1;display:flex;align-items:center;justify-content:flex-end;padding:15rpx 0 15rpx 10rpx;font-size:28rpx}.picker_select_btn .right_value .placeholder_style.data-v-bd635a81{color:#ccc} diff --git a/dist/build/mp-weixin/components/hs-radio/hs-radio.js b/dist/build/mp-weixin/components/hs-radio/hs-radio.js index b3377d9..364276a 100644 --- a/dist/build/mp-weixin/components/hs-radio/hs-radio.js +++ b/dist/build/mp-weixin/components/hs-radio/hs-radio.js @@ -1 +1 @@ -"use strict";const l=require("../../common/vendor.js"),e=l.defineComponent({__name:"hs-radio",props:["valueModel","Enums","size","radioStyle","selectStyle","disableds"],emits:["update:valueModel","onChange"],setup(e,{emit:u}){const o=e,d=l.ref("");l.watch((()=>null==o?void 0:o.valueModel),(()=>{console.log("mounted2",null==o?void 0:o.valueModel),d.value=null==o?void 0:o.valueModel}));return l.onMounted((()=>{console.log("mounted1",null==o?void 0:o.valueModel),(null==o?void 0:o.valueModel)&&(d.value=null==o?void 0:o.valueModel)})),(e,v)=>({a:l.f(Object.entries(null==o?void 0:o.Enums).map((([l,e])=>({text:e.text,value:e.value}))),((e,v,n)=>{var a;return{a:l.t(null==e?void 0:e.text),b:`item_${v}`,c:l.n(`item item_${null==o?void 0:o.size} ${(null==e?void 0:e.value)===(null==o?void 0:o.valueModel)||(null==e?void 0:e.value)===d.value?"active":""} ${(null==(a=null==o?void 0:o.disableds)?void 0:a.includes(null==e?void 0:e.value))?"disabled":""}`),d:l.s((null==e?void 0:e.value)===(null==o?void 0:o.valueModel)||(null==e?void 0:e.value)===d.value?null==o?void 0:o.selectStyle:""),e:l.o((l=>(l=>{var e;if(null==(e=null==o?void 0:o.disableds)?void 0:e.includes(null==l?void 0:l.value))return!1;d.value=null==l?void 0:l.value,u("update:valueModel",null==l?void 0:l.value),u("onChange",l)})(e)),`item_${v}`)}})),b:l.s(null==o?void 0:o.radioStyle)})}}),u=l._export_sfc(e,[["__scopeId","data-v-98bce090"]]);wx.createComponent(u); +"use strict";const l=require("../../common/vendor.js"),e=l.defineComponent({__name:"hs-radio",props:["valueModel","Enums","size","radioStyle","selectStyle","disableds"],emits:["update:valueModel","onChange"],setup(e,{emit:u}){const o=e,d=l.ref("");l.watch(()=>null==o?void 0:o.valueModel,()=>{console.log("mounted2",null==o?void 0:o.valueModel),d.value=null==o?void 0:o.valueModel});return l.onMounted(()=>{console.log("mounted1",null==o?void 0:o.valueModel),(null==o?void 0:o.valueModel)&&(d.value=null==o?void 0:o.valueModel)}),(e,v)=>({a:l.f(Object.entries(null==o?void 0:o.Enums).map(([l,e])=>({text:e.text,value:e.value})),(e,v,n)=>{var a;return{a:l.t(null==e?void 0:e.text),b:`item_${v}`,c:l.n(`item item_${null==o?void 0:o.size} ${(null==e?void 0:e.value)===(null==o?void 0:o.valueModel)||(null==e?void 0:e.value)===d.value?"active":""} ${(null==(a=null==o?void 0:o.disableds)?void 0:a.includes(null==e?void 0:e.value))?"disabled":""}`),d:l.s((null==e?void 0:e.value)===(null==o?void 0:o.valueModel)||(null==e?void 0:e.value)===d.value?null==o?void 0:o.selectStyle:""),e:l.o(l=>(l=>{var e;if(null==(e=null==o?void 0:o.disableds)?void 0:e.includes(null==l?void 0:l.value))return!1;d.value=null==l?void 0:l.value,u("update:valueModel",null==l?void 0:l.value),u("onChange",l)})(e),`item_${v}`)}}),b:l.s(null==o?void 0:o.radioStyle)})}}),u=l._export_sfc(e,[["__scopeId","data-v-98bce090"]]);wx.createComponent(u); diff --git a/dist/build/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.js b/dist/build/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.js deleted file mode 100644 index a20c67d..0000000 --- a/dist/build/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";const e=require("../../common/vendor.js"),l=require("../../common/libraries/day.js");if(!Array){e.resolveComponent("uni-icons")()}Math;const t=e.defineComponent({__name:"hs-reservation-picker",props:["Enums","title","pickerIndex","value","borderTop","required","valueExpectStartTime","valueExpectEndTime","icon","iconSize"],emits:["change","update:valueExpectStartTime","update:valueExpectEndTime"],setup(t,{emit:o}){const u=t,a=e.ref([]),i=e.ref(""),n=e=>{var l;let t=null==(l=null==e?void 0:e.detail)?void 0:l.value,u=a.value[0][t[0]],n=a.value[1][t[1]];console.log(e,"e");let r=`${null==u?void 0:u.value} ${null==n?void 0:n.str}`,v=`${null==u?void 0:u.value} ${null==n?void 0:n.end}`;i.value=`${null==u?void 0:u.label}(${null==n?void 0:n.label})`,o("update:valueExpectStartTime",r),o("update:valueExpectEndTime",v),o("change",{str_time:r,end_time:v})},r=e=>{var t,o,u,i,n;if(0===(null==(t=null==e?void 0:e.detail)?void 0:t.column))if(null==(o=null==e?void 0:e.detail)?void 0:o.value){let t=null==(n=a.value[null==(u=null==e?void 0:e.detail)?void 0:u.column][null==(i=null==e?void 0:e.detail)?void 0:i.value])?void 0:n.value,o=l.generateTimeSlots(t);a.value[1]=o,console.log(o,"timeSlots")}else{let e=l.generateTimeSlots();a.value[1]=e,console.log(e,"timeSlots")}console.log(e,"e")};return e.onMounted((()=>{(()=>{let e=l.getCurrentHour(),t=l.getTheFutureDay(0),o=l.getTheFutureDay(1),u=l.getTheFutureDay(2),i=l.generateTimeSlots();a.value=[[{label:"今天",value:t},{label:"明天",value:o},{label:"后天",value:u}],i],console.log(e,"day1")})()})),(l,o)=>e.e({a:e.t((null==u?void 0:u.title)||"标题"),b:t.required},(t.required,{}),{c:e.t(i.value||"请选择"),d:e.p({type:"right",size:"15",color:"#999"}),e:e.n(i.value?"valueStyle":"valueStyle placeholderStyle"),f:u.borderTop?"1rpx solid #eee":"",g:a.value,h:e.o(n),i:e.o(r)})}}),o=e._export_sfc(t,[["__scopeId","data-v-eef11888"]]);wx.createComponent(o); diff --git a/dist/build/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.wxml b/dist/build/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.wxml deleted file mode 100644 index 1f2edd4..0000000 --- a/dist/build/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.wxml +++ /dev/null @@ -1 +0,0 @@ -{{a}} * {{c}} \ No newline at end of file diff --git a/dist/build/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.wxss b/dist/build/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.wxss deleted file mode 100644 index a7663a2..0000000 --- a/dist/build/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.wxss +++ /dev/null @@ -1 +0,0 @@ -.cell_content.data-v-eef11888{padding:16rpx 0;display:flex;align-items:center;justify-content:space-between}.cell_content .title.data-v-eef11888{color:#333;font-size:29rpx;padding:25rpx 0}.cell_content .title text.data-v-eef11888{color:red}.cell_content .valueStyle.data-v-eef11888{font-size:28rpx}.cell_content .placeholderStyle.data-v-eef11888{color:#ccc} diff --git a/dist/build/mp-weixin/components/hs-scroll-view/hs-scroll-view.js b/dist/build/mp-weixin/components/hs-scroll-view/hs-scroll-view.js index 2182b5d..c925ec2 100644 --- a/dist/build/mp-weixin/components/hs-scroll-view/hs-scroll-view.js +++ b/dist/build/mp-weixin/components/hs-scroll-view/hs-scroll-view.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js");if(!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("u-loading-icon"))()}Math||((()=>"../hs-empty/hs-empty.js")+(()=>"../../node-modules/uview-plus/components/u-loading-icon/u-loading-icon.js"))();const t=e.defineComponent({__name:"hs-scroll-view",props:{meta:{type:Object,default:{}},showLoad:{type:Boolean,default:!0}},emits:["load"],setup(t,{emit:o}){const a=t,l=e.ref(""),n=e.ref(!1),u=e.ref({page:1,perPage:20});e.watch((()=>{var e;return null==(e=null==a?void 0:a.meta)?void 0:e.total}),(()=>{const{current_page:e,last_page:t}=a.meta,o=e{const{current_page:e,last_page:t}=a.meta,s=e{n.value=!1,l.value=""}),1e3))};return(t,o)=>{var u,r;return e.e({a:!(null==(u=a.meta)?void 0:u.total)},(null==(r=a.meta)?void 0:r.total)?e.e({b:e.p({text:l.value,mode:"circle",size:"30rpx",show:n.value}),c:!n.value},n.value?{}:{d:e.t(l.value)}):{},{e:e.o(s)})}}}),o=e._export_sfc(t,[["__scopeId","data-v-94f9cb02"]]);wx.createComponent(o); +"use strict";const e=require("../../common/vendor.js");if(!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("u-loading-icon"))()}Math||((()=>"../hs-empty/hs-empty.js")+(()=>"../../node-modules/uview-plus/components/u-loading-icon/u-loading-icon.js"))();const t=e.defineComponent({__name:"hs-scroll-view",props:{meta:{type:Object,default:{}},showLoad:{type:Boolean,default:!0}},emits:["load"],setup(t,{emit:o}){const a=t,l=e.ref(""),n=e.ref(!1),u=e.ref({page:1,perPage:20});e.watch(()=>{var e;return null==(e=null==a?void 0:a.meta)?void 0:e.total},()=>{const{current_page:e,last_page:t}=a.meta,o=e{const{current_page:e,last_page:t}=a.meta,s=e{n.value=!1,l.value=""},1e3))};return(t,o)=>{var u,r;return e.e({a:!(null==(u=a.meta)?void 0:u.total)},(null==(r=a.meta)?void 0:r.total)?e.e({b:e.p({text:l.value,mode:"circle",size:"30rpx",show:n.value}),c:!n.value},n.value?{}:{d:e.t(l.value)}):{},{e:e.o(s)})}}}),o=e._export_sfc(t,[["__scopeId","data-v-94f9cb02"]]);wx.createComponent(o); diff --git a/dist/build/mp-weixin/components/hs-tabs/hs-tabs.js b/dist/build/mp-weixin/components/hs-tabs/hs-tabs.js index 8f126a0..7674457 100644 --- a/dist/build/mp-weixin/components/hs-tabs/hs-tabs.js +++ b/dist/build/mp-weixin/components/hs-tabs/hs-tabs.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),n=e.defineComponent({__name:"hs-tabs",props:["current","list"],emits:["onChange"],setup(n,{emit:t}){const o=n;return(n,i)=>({a:e.f(null==o?void 0:o.list,((n,i,s)=>({a:e.t(null==n?void 0:n.label),b:e.n("label "+(i===(null==o?void 0:o.current)?"actives":"")),c:`item_${i}`,d:e.o((e=>{t("onChange",i,n)}),`item_${i}`)})))})}});wx.createComponent(n); +"use strict";const e=require("../../common/vendor.js"),n=e.defineComponent({__name:"hs-tabs",props:["current","list"],emits:["onChange"],setup(n,{emit:t}){const o=n;return(n,i)=>({a:e.f(null==o?void 0:o.list,(n,i,s)=>({a:e.t(null==n?void 0:n.label),b:e.n("label "+(i===(null==o?void 0:o.current)?"actives":"")),c:`item_${i}`,d:e.o(e=>{t("onChange",i,n)},`item_${i}`)}))})}});wx.createComponent(n); diff --git a/dist/build/mp-weixin/components/hs-up-rate/hs-up-rate.js b/dist/build/mp-weixin/components/hs-up-rate/hs-up-rate.js index 97ed212..e048af0 100644 --- a/dist/build/mp-weixin/components/hs-up-rate/hs-up-rate.js +++ b/dist/build/mp-weixin/components/hs-up-rate/hs-up-rate.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js");if(!Array){e.resolveComponent("up-icon")()}Math;const o=e.defineComponent({__name:"hs-up-rate",props:["valueModel"],setup(o){const n=o;return(o,t)=>({a:e.f(5,((o,t,r)=>({a:t,b:"d5693b0c-0-"+r,c:e.p({name:"star-fill",size:"18",color:t<(null==n?void 0:n.valueModel)?"#FFC53D":"#F3F3F4"})})))})}}),n=e._export_sfc(o,[["__scopeId","data-v-d5693b0c"]]);wx.createComponent(n); +"use strict";const e=require("../../common/vendor.js");if(!Array){e.resolveComponent("up-icon")()}Math;const o=e.defineComponent({__name:"hs-up-rate",props:["valueModel"],setup(o){const n=o;return(o,t)=>({a:e.f(5,(o,t,r)=>({a:t,b:"d5693b0c-0-"+r,c:e.p({name:"star-fill",size:"18",color:t<(null==n?void 0:n.valueModel)?"#FFC53D":"#F3F3F4"})}))})}}),n=e._export_sfc(o,[["__scopeId","data-v-d5693b0c"]]);wx.createComponent(n); diff --git a/dist/build/mp-weixin/components/hs-upload-id-card/hs-upload-id-card.js b/dist/build/mp-weixin/components/hs-upload-id-card/hs-upload-id-card.js index e145730..05f1959 100644 --- a/dist/build/mp-weixin/components/hs-upload-id-card/hs-upload-id-card.js +++ b/dist/build/mp-weixin/components/hs-upload-id-card/hs-upload-id-card.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js"),r=require("../../common/libraries/upload.js");require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js");const l=e.defineComponent({__name:"hs-upload-id-card",props:["valueFrontModel","valueBackModel","size","display","borderTop","length","required","mediaType","labelTitle","count","styles","hasCover","iconName","iconSize"],emits:["update:valueFrontModel","update:valueBackModel"],setup(l,{emit:u}){const s=l,a=e.ref({}),i=e.ref({}),n=async e=>{const o=await r.upload(1,4,(null==s?void 0:s.mediaType)||["image"]);console.log(o,"res32"),1===e&&(a.value=o[0],u("update:valueFrontModel",o)),2===e&&(i.value=o[0],u("update:valueBackModel",o))};return(r,l)=>{var u,t,d,m,v,c;return e.e({a:null==s?void 0:s.required},(null==s||s.required,{}),{b:!(null==(u=a.value)?void 0:u.url)},(null==(t=a.value)?void 0:t.url)?{d:null==(d=a.value)?void 0:d.url}:{c:o._imports_0$1},{e:e.o((e=>n(1))),f:e.s(null==s?void 0:s.styles),g:!(null==(m=i.value)?void 0:m.url)},(null==(v=i.value)?void 0:v.url)?{i:null==(c=i.value)?void 0:c.url}:{h:o._imports_1},{j:e.o((e=>n(2))),k:e.s(null==s?void 0:s.styles),l:s.borderTop?"1rpx solid #eee":""})}}}),u=e._export_sfc(l,[["__scopeId","data-v-7ef7af9e"]]);wx.createComponent(u); +"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js"),r=require("../../common/libraries/upload.js");require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js");const l=e.defineComponent({__name:"hs-upload-id-card",props:["valueFrontModel","valueBackModel","size","display","borderTop","length","required","mediaType","labelTitle","count","styles","hasCover","iconName","iconSize"],emits:["update:valueFrontModel","update:valueBackModel"],setup(l,{emit:u}){const s=l,a=e.ref({}),i=e.ref({}),n=async e=>{const o=await r.upload(1,4,(null==s?void 0:s.mediaType)||["image"]);console.log(o,"res32"),1===e&&(a.value=o[0],u("update:valueFrontModel",o)),2===e&&(i.value=o[0],u("update:valueBackModel",o))};return(r,l)=>{var u,t,d,m,v,c;return e.e({a:null==s?void 0:s.required},(null==s||s.required,{}),{b:!(null==(u=a.value)?void 0:u.url)},(null==(t=a.value)?void 0:t.url)?{d:null==(d=a.value)?void 0:d.url}:{c:o._imports_0},{e:e.o(e=>n(1)),f:e.s(null==s?void 0:s.styles),g:!(null==(m=i.value)?void 0:m.url)},(null==(v=i.value)?void 0:v.url)?{i:null==(c=i.value)?void 0:c.url}:{h:o._imports_1},{j:e.o(e=>n(2)),k:e.s(null==s?void 0:s.styles),l:s.borderTop?"1rpx solid #eee":""})}}}),u=e._export_sfc(l,[["__scopeId","data-v-7ef7af9e"]]);wx.createComponent(u); diff --git a/dist/build/mp-weixin/components/hs-upload/hs-upload.js b/dist/build/mp-weixin/components/hs-upload/hs-upload.js index 6cef9cc..52a0f2f 100644 --- a/dist/build/mp-weixin/components/hs-upload/hs-upload.js +++ b/dist/build/mp-weixin/components/hs-upload/hs-upload.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),l=require("../../common/libraries/watermark.js"),o=require("../../common/libraries/upload.js");if(require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("up-icon")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const i=e.defineComponent({__name:"hs-upload",props:["valueModel","size","display","length","borderTop","mediaType","labelTitle","count","styles","hasCover","iconName","iconSize","required","title"],emits:["update:valueModel"],setup(i,{emit:n}){const u=i,a=e.ref([]),r=async()=>{const e=await o.upload(u.count||1,null==u?void 0:u.size,(null==u?void 0:u.mediaType)||["image"]);console.log(e,"res"),a.value=[...a.value,...e],n("update:valueModel",a.value)},s=e=>{if(null==u?void 0:u.display)return!1;a.value.splice(e,1)};e.watch((()=>null==u?void 0:u.valueModel),(()=>{u.valueModel&&(a.value=u.valueModel||[])}));return e.onMounted((()=>{u.valueModel&&(a.value=u.valueModel||[])})),(o,i)=>{var n,d,t,v;return e.e({a:e.t((null==u?void 0:u.title)||"上传"),b:null==u?void 0:u.required},(null==u||u.required,{}),{c:e.t((null==u?void 0:u.count)||1),d:e.f(a.value,((o,i,n)=>{var a,r;return e.e({a:null==(a=null==o?void 0:o.type)?void 0:a.includes("video")},(null==(r=null==o?void 0:o.type)?void 0:r.includes("video"))?{b:"f651c7a0-0-"+n,c:e.p({name:"play-circle-fill",size:"30"})}:{d:null==o?void 0:o.url,e:e.o((i=>{return n=null==o?void 0:o.url,console.log(n,"url1"),void(n&&(e.index.showLoading({title:"获取图片中...",mask:!0}),console.log(n,"url2"),e.index.downloadFile({url:n,success:e=>{const o=e.tempFilePath;console.log(o,"imagePath"),l.watermark.addWatermark(o,"仅用于内部查看,请勿外传")},fail:l=>{e.index.showToast({title:"获取失败",duration:1e3}),console.error("下载图片失败:",l)}})));var n}),i)},{f:"f651c7a0-1-"+n,g:e.o((e=>s(i)),i),h:0===i&&(null==u?void 0:u.hasCover)},0===i&&(null==u?void 0:u.hasCover)?{i:e.o((e=>s(i)),i)}:{},{j:i})})),e:e.p({type:"clear",color:"#f00",size:"25"}),f:e.s(null==u?void 0:u.styles),g:!(null==u?void 0:u.display)&&(null==(n=a.value)?void 0:n.length)<((null==u?void 0:u.count)||1)},!(null==u?void 0:u.display)&&(null==(d=a.value)?void 0:d.length)<((null==u?void 0:u.count)||1)?e.e({h:null==u?void 0:u.iconName},(null==u?void 0:u.iconName)?{i:e.p({name:null==u?void 0:u.iconName,label:u.labelTitle||"",color:"#333",size:(null==u?void 0:u.iconSize)||50})}:{j:e.p({name:(null==u?void 0:u.iconName)||"plus",label:u.labelTitle||"",labelPos:"bottom",labelSize:"20rpx",lableColor:"#666",color:"#333",size:"20",space:"6px"})},{k:e.o(r),l:e.s(null==u?void 0:u.styles)}):{},{m:(null==u?void 0:u.display)&&!(null==(t=a.value)?void 0:t.length)},((null==u?void 0:u.display)&&(null==(v=a.value)||v.length),{}),{n:u.borderTop?"1rpx solid #eee":""})}}}),n=e._export_sfc(i,[["__scopeId","data-v-f651c7a0"]]);wx.createComponent(n); +"use strict";const e=require("../../common/vendor.js"),l=require("../../common/libraries/watermark.js"),o=require("../../common/libraries/upload.js");if(require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("up-icon")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const i=e.defineComponent({__name:"hs-upload",props:["valueModel","size","display","length","borderTop","mediaType","labelTitle","count","styles","hasCover","iconName","iconSize","required","title"],emits:["update:valueModel"],setup(i,{emit:n}){const u=i,a=e.ref([]),r=async()=>{const e=await o.upload(u.count||1,null==u?void 0:u.size,(null==u?void 0:u.mediaType)||["image"]);console.log(e,"res"),a.value=[...a.value,...e],n("update:valueModel",a.value)},s=e=>{if(null==u?void 0:u.display)return!1;a.value.splice(e,1)};e.watch(()=>null==u?void 0:u.valueModel,()=>{u.valueModel&&(a.value=u.valueModel||[])});return e.onMounted(()=>{u.valueModel&&(a.value=u.valueModel||[])}),(o,i)=>{var n,d,t,v;return e.e({a:e.t((null==u?void 0:u.title)||"上传"),b:null==u?void 0:u.required},(null==u||u.required,{}),{c:e.t((null==u?void 0:u.count)||1),d:e.f(a.value,(o,i,n)=>{var a,r;return e.e({a:null==(a=null==o?void 0:o.type)?void 0:a.includes("video")},(null==(r=null==o?void 0:o.type)?void 0:r.includes("video"))?{b:"f651c7a0-0-"+n,c:e.p({name:"play-circle-fill",size:"30"})}:{d:null==o?void 0:o.url,e:e.o(i=>{return n=null==o?void 0:o.url,console.log(n,"url1"),void(n&&(e.index.showLoading({title:"获取图片中...",mask:!0}),console.log(n,"url2"),e.index.downloadFile({url:n,success:e=>{const o=e.tempFilePath;console.log(o,"imagePath"),l.watermark.addWatermark(o,"仅用于内部查看,请勿外传")},fail:l=>{e.index.showToast({title:"获取失败",duration:1e3}),console.error("下载图片失败:",l)}})));var n},i)},{f:"f651c7a0-1-"+n,g:e.o(e=>s(i),i),h:0===i&&(null==u?void 0:u.hasCover)},0===i&&(null==u?void 0:u.hasCover)?{i:e.o(e=>s(i),i)}:{},{j:i})}),e:e.p({type:"clear",color:"#f00",size:"25"}),f:e.s(null==u?void 0:u.styles),g:!(null==u?void 0:u.display)&&(null==(n=a.value)?void 0:n.length)<((null==u?void 0:u.count)||1)},!(null==u?void 0:u.display)&&(null==(d=a.value)?void 0:d.length)<((null==u?void 0:u.count)||1)?e.e({h:null==u?void 0:u.iconName},(null==u?void 0:u.iconName)?{i:e.p({name:null==u?void 0:u.iconName,label:u.labelTitle||"",color:"#333",size:(null==u?void 0:u.iconSize)||50})}:{j:e.p({name:(null==u?void 0:u.iconName)||"plus",label:u.labelTitle||"",labelPos:"bottom",labelSize:"20rpx",lableColor:"#666",color:"#333",size:"20",space:"6px"})},{k:e.o(r),l:e.s(null==u?void 0:u.styles)}):{},{m:(null==u?void 0:u.display)&&!(null==(t=a.value)?void 0:t.length)},((null==u?void 0:u.display)&&(null==(v=a.value)||v.length),{}),{n:u.borderTop?"1rpx solid #eee":""})}}}),n=e._export_sfc(i,[["__scopeId","data-v-f651c7a0"]]);wx.createComponent(n); diff --git a/dist/build/mp-weixin/gen/Apis.js b/dist/build/mp-weixin/gen/Apis.js index 094c230..43be3ad 100644 --- a/dist/build/mp-weixin/gen/Apis.js +++ b/dist/build/mp-weixin/gen/Apis.js @@ -1 +1 @@ -"use strict";const e=require("../common/libraries/request.js");require("../common/store/useWatermarkStore.js"),require("../common/store/useWeAppAuthStore.js"),require("../common/store/useWorkStore.js");const o={Archive:{HouseOccupants:{List:o=>e.request("employee/archive/house_occupants/list",{data:o}),GetCustomerHouse:o=>e.request("employee/archive/house_occupants/get_customer_house",{data:o}),GetHouseOccupants:o=>e.request("employee/archive/house_occupants/get_house_occupants",{data:o}),Show:o=>e.request("employee/archive/house_occupants/show",{data:o}),GetHouseOccupantsByPhone:o=>e.request("employee/archive/house_occupants/get_house_occupants_by_phone",{data:o})},HouseRegisters:{Store:o=>e.request("employee/archive/house_registers/store",{data:o}),RegisterHouse:o=>e.request("employee/archive/house_registers/register_house",{data:o}),Unbind:o=>e.request("employee/archive/house_registers/unbind",{data:o}),RemoveOwner:o=>e.request("employee/archive/house_registers/remove_owner",{data:o}),ChangeOccupant:o=>e.request("employee/archive/house_registers/change_occupant",{data:o})}},Asset:{AssetHouses:{SelectProject:o=>e.request("employee/asset/asset_houses/select_project",{data:o}),SelectBuilding:o=>e.request("employee/asset/asset_houses/select_building",{data:o}),SelectUnit:o=>e.request("employee/asset/asset_houses/select_unit",{data:o}),SelectHouse:o=>e.request("employee/asset/asset_houses/select_house",{data:o}),Show:o=>e.request("employee/asset/asset_houses/show",{data:o})},AssetProjectAdmins:{List:o=>e.request("employee/asset/asset_project_admins/list",{data:o}),Show:o=>e.request("employee/asset/asset_project_admins/show",{data:o})}},Banner:{BannerSpaces:{List:o=>e.request("employee/banner/banner_spaces/list",{data:o})}},Bill:{HouseBills:{HouseList:o=>e.request("employee/bill/house_bills/house_list",{data:o}),HouseArrearageAmount:o=>e.request("employee/bill/house_bills/house_arrearage_amount",{data:o}),List:o=>e.request("employee/bill/house_bills/list",{data:o}),MonthBillDetail:o=>e.request("employee/bill/house_bills/month_bill_detail",{data:o}),BillQRCode:o=>e.request("employee/bill/house_bills/bill_q_r_code",{data:o}),GetOccupantArrearageHouses:o=>e.request("employee/bill/house_bills/get_occupant_arrearage_houses",{data:o}),Show:o=>e.request("employee/bill/house_bills/show",{data:o})}},Collection:{HouseCollectionRecords:{List:o=>e.request("employee/collection/house_collection_records/list",{data:o}),Store:o=>e.request("employee/collection/house_collection_records/store",{data:o}),Update:o=>e.request("employee/collection/house_collection_records/update",{data:o}),Show:o=>e.request("employee/collection/house_collection_records/show",{data:o}),GetTaskRecords:o=>e.request("employee/collection/house_collection_records/get_task_records",{data:o})},HouseCollectionTasks:{List:o=>e.request("employee/collection/house_collection_tasks/list",{data:o}),Store:o=>e.request("employee/collection/house_collection_tasks/store",{data:o}),Show:o=>e.request("employee/collection/house_collection_tasks/show",{data:o})}},Company:{CompanyEmployeeBacklogs:{List:o=>e.request("employee/company/company_employee_backlogs/list",{data:o}),Show:o=>e.request("employee/company/company_employee_backlogs/show",{data:o})},CompanyEmployeeCustomers:{List:o=>e.request("employee/company/company_employee_customers/list",{data:o}),Show:o=>e.request("employee/company/company_employee_customers/show",{data:o}),Delete:o=>e.request("employee/company/company_employee_customers/delete",{data:o})},CompanyEmployees:{Select:o=>e.request("employee/company/company_employees/select",{data:o})},CompanyProjectReceiptAccounts:{List:o=>e.request("employee/company/company_project_receipt_accounts/list",{data:o}),GetDefaultReceiptAccounts:o=>e.request("employee/company/company_project_receipt_accounts/get_default_receipt_accounts",{data:o}),Show:o=>e.request("employee/company/company_project_receipt_accounts/show",{data:o})}},Count:{CommonCount:{IndexCount:()=>e.request("employee/count/common_count/index_count",{})}},Customer:{CustomerHouses:{List:o=>e.request("employee/customer/customer_houses/list",{data:o}),Show:o=>e.request("employee/customer/customer_houses/show",{data:o}),HouseDetail:o=>e.request("employee/customer/customer_houses/house_detail",{data:o})},CustomerMomentTasks:{List:o=>e.request("employee/customer/customer_moment_tasks/list",{data:o}),Store:o=>e.request("employee/customer/customer_moment_tasks/store",{data:o}),Show:o=>e.request("employee/customer/customer_moment_tasks/show",{data:o})},CustomerMoments:{Show:o=>e.request("employee/customer/customer_moments/show",{data:o}),UploadMedia:o=>e.request("employee/customer/customer_moments/upload_media",{data:o}),UploadImage:o=>e.request("employee/customer/customer_moments/upload_image",{data:o})},CustomerOpinions:{Store:o=>e.request("employee/customer/customer_opinions/store",{data:o})}},GoodsReleases:{GoodsReleases:{ScanRelease:o=>e.request("employee/goods_releases/goods_releases/scan_release",{data:o}),Show:o=>e.request("employee/goods_releases/goods_releases/show",{data:o})}},Grid:{GridRanges:{List:o=>e.request("employee/grid/grid_ranges/list",{data:o}),Show:o=>e.request("employee/grid/grid_ranges/show",{data:o})},Grids:{List:o=>e.request("employee/grid/grids/list",{data:o}),Show:o=>e.request("employee/grid/grids/show",{data:o}),CountGridHouse:()=>e.request("employee/grid/grids/count_grid_house",{}),GridAssetProject:o=>e.request("employee/grid/grids/grid_asset_project",{data:o}),GridAssetBuilding:o=>e.request("employee/grid/grids/grid_asset_building",{data:o}),GridAssetUnit:o=>e.request("employee/grid/grids/grid_asset_unit",{data:o}),GridAssetHouse:o=>e.request("employee/grid/grids/grid_asset_house",{data:o}),GridSelectHouse:o=>e.request("employee/grid/grids/grid_select_house",{data:o})}},HouseOrder:{HouseOrders:{Store:o=>e.request("employee/house_order/house_orders/store",{data:o}),Show:o=>e.request("employee/house_order/house_orders/show",{data:o}),GetPayQrCode:o=>e.request("employee/house_order/house_orders/get_pay_qr_code",{data:o})}},Login:{Auth:{Login:o=>e.request("employee/login/auth/login",{data:o}),Logout:()=>e.request("employee/login/auth/logout",{}),Me:()=>e.request("employee/login/auth/me",{}),ChangeAvatar:o=>e.request("employee/login/auth/change_avatar",{data:o}),BindPhoneNumber:o=>e.request("employee/login/auth/bind_phone_number",{data:o}),SendValidateSms:o=>e.request("employee/login/auth/send_validate_sms",{data:o}),GetAccessToken:o=>e.request("employee/login/auth/get_access_token",{data:o}),WorkLogin:o=>e.request("employee/login/auth/work_login",{data:o}),BindWork:o=>e.request("employee/login/auth/bind_work",{data:o}),GetWorkAccessToken:o=>e.request("employee/login/auth/get_work_access_token",{data:o}),PreUpload:o=>e.request("employee/login/auth/pre_upload",{data:o}),TemporaryUrl:o=>e.request("employee/login/auth/temporary_url",{data:o})}},Meter:{HouseMeterReadings:{List:o=>e.request("employee/meter/house_meter_readings/list",{data:o}),GetMeterDetail:o=>e.request("employee/meter/house_meter_readings/get_meter_detail",{data:o}),Store:o=>e.request("employee/meter/house_meter_readings/store",{data:o}),Show:o=>e.request("employee/meter/house_meter_readings/show",{data:o})},HouseMeters:{List:o=>e.request("employee/meter/house_meters/list",{data:o}),Show:o=>e.request("employee/meter/house_meters/show",{data:o})}},Msg:{MsgPropertyAnnouncements:{List:o=>e.request("employee/msg/msg_property_announcements/list",{data:o}),Show:o=>e.request("employee/msg/msg_property_announcements/show",{data:o})}},Visitor:{VisitorApplies:{Scan:o=>e.request("employee/visitor/visitor_applies/scan",{data:o}),Show:o=>e.request("employee/visitor/visitor_applies/show",{data:o})}},WorkOrder:{HouseWorkLogs:{List:o=>e.request("employee/work_order/house_work_logs/list",{data:o}),Store:o=>e.request("employee/work_order/house_work_logs/store",{data:o}),Show:o=>e.request("employee/work_order/house_work_logs/show",{data:o})},HouseWorkOrders:{List:o=>e.request("employee/work_order/house_work_orders/list",{data:o}),MySubmitList:o=>e.request("employee/work_order/house_work_orders/my_submit_list",{data:o}),GetHouseWorkOrders:o=>e.request("employee/work_order/house_work_orders/get_house_work_orders",{data:o}),Store:o=>e.request("employee/work_order/house_work_orders/store",{data:o}),Show:o=>e.request("employee/work_order/house_work_orders/show",{data:o}),GetWorkOrderPayQrCode:o=>e.request("employee/work_order/house_work_orders/get_work_order_pay_qr_code",{data:o}),Accept:o=>e.request("employee/work_order/house_work_orders/accept",{data:o}),Close:o=>e.request("employee/work_order/house_work_orders/close",{data:o}),UnassignedList:o=>e.request("employee/work_order/house_work_orders/unassigned_list",{data:o}),Receive:o=>e.request("employee/work_order/house_work_orders/receive",{data:o}),Assign:o=>e.request("employee/work_order/house_work_orders/assign",{data:o}),GetAssignPermission:o=>e.request("employee/work_order/house_work_orders/get_assign_permission",{data:o})}}};exports.Apis=o; +"use strict";const e=require("../common/libraries/request.js");require("../common/store/useWatermarkStore.js"),require("../common/store/useWeAppAuthStore.js"),require("../common/store/useWorkStore.js");const t={Archive:{HouseOccupants:{List:t=>e.request("employee/archive/house_occupants/list",{data:t}),GetCustomerHouse:t=>e.request("employee/archive/house_occupants/get_customer_house",{data:t}),GetHouseOccupants:t=>e.request("employee/archive/house_occupants/get_house_occupants",{data:t}),Show:t=>e.request("employee/archive/house_occupants/show",{data:t}),GetHouseOccupantsByPhone:t=>e.request("employee/archive/house_occupants/get_house_occupants_by_phone",{data:t}),ChangeContact:t=>e.request("employee/archive/house_occupants/change_contact",{data:t})},HouseRegisters:{Store:t=>e.request("employee/archive/house_registers/store",{data:t}),RegisterHouse:t=>e.request("employee/archive/house_registers/register_house",{data:t}),Unbind:t=>e.request("employee/archive/house_registers/unbind",{data:t}),RemoveOwner:t=>e.request("employee/archive/house_registers/remove_owner",{data:t}),ChangeOccupant:t=>e.request("employee/archive/house_registers/change_occupant",{data:t})}},Asset:{AssetHouses:{SelectProject:t=>e.request("employee/asset/asset_houses/select_project",{data:t}),SelectPermissionProject:t=>e.request("employee/asset/asset_houses/select_permission_project",{data:t}),SelectBuilding:t=>e.request("employee/asset/asset_houses/select_building",{data:t}),SelectPermissionBuilding:t=>e.request("employee/asset/asset_houses/select_permission_building",{data:t}),SelectUnit:t=>e.request("employee/asset/asset_houses/select_unit",{data:t}),SelectPermissionUnit:t=>e.request("employee/asset/asset_houses/select_permission_unit",{data:t}),SelectHouse:t=>e.request("employee/asset/asset_houses/select_house",{data:t}),Show:t=>e.request("employee/asset/asset_houses/show",{data:t})},AssetProjectAdmins:{List:t=>e.request("employee/asset/asset_project_admins/list",{data:t}),Show:t=>e.request("employee/asset/asset_project_admins/show",{data:t})}},Attendance:{AttendanceEmployeeTracks:{MyTracks:t=>e.request("employee/attendance/attendance_employee_tracks/my_tracks",{data:t}),Track:t=>e.request("employee/attendance/attendance_employee_tracks/track",{data:t})},AttendanceRecords:{Checkin:t=>e.request("employee/attendance/attendance_records/checkin",{data:t}),Makeup:t=>e.request("employee/attendance/attendance_records/makeup",{data:t}),MyRecords:t=>e.request("employee/attendance/attendance_records/my_records",{data:t}),RecordDetail:t=>e.request("employee/attendance/attendance_records/record_detail",{data:t})},AttendanceSchedules:{MySchedules:t=>e.request("employee/attendance/attendance_schedules/my_schedules",{data:t}),GetAttendanceSchedules:()=>e.request("employee/attendance/attendance_schedules/get_attendance_schedules",{}),GetAttendanceShiftPeriod:t=>e.request("employee/attendance/attendance_schedules/get_attendance_shift_period",{data:t}),GetAttendanceConfig:()=>e.request("employee/attendance/attendance_schedules/get_attendance_config",{})}},Banner:{BannerSpaces:{List:t=>e.request("employee/banner/banner_spaces/list",{data:t})}},Bill:{HouseBills:{HouseList:t=>e.request("employee/bill/house_bills/house_list",{data:t}),HouseArrearageAmount:t=>e.request("employee/bill/house_bills/house_arrearage_amount",{data:t}),List:t=>e.request("employee/bill/house_bills/list",{data:t}),MonthBillDetail:t=>e.request("employee/bill/house_bills/month_bill_detail",{data:t}),BillQRCode:t=>e.request("employee/bill/house_bills/bill_q_r_code",{data:t}),GetOccupantArrearageHouses:t=>e.request("employee/bill/house_bills/get_occupant_arrearage_houses",{data:t}),Show:t=>e.request("employee/bill/house_bills/show",{data:t})}},Collection:{HouseCollectionRecords:{List:t=>e.request("employee/collection/house_collection_records/list",{data:t}),Store:t=>e.request("employee/collection/house_collection_records/store",{data:t}),Update:t=>e.request("employee/collection/house_collection_records/update",{data:t}),Show:t=>e.request("employee/collection/house_collection_records/show",{data:t}),GetTaskRecords:t=>e.request("employee/collection/house_collection_records/get_task_records",{data:t})},HouseCollectionTasks:{List:t=>e.request("employee/collection/house_collection_tasks/list",{data:t}),Store:t=>e.request("employee/collection/house_collection_tasks/store",{data:t}),Show:t=>e.request("employee/collection/house_collection_tasks/show",{data:t})}},Company:{CompanyEmployeeBacklogs:{List:t=>e.request("employee/company/company_employee_backlogs/list",{data:t}),Show:t=>e.request("employee/company/company_employee_backlogs/show",{data:t})},CompanyEmployeeCustomers:{List:t=>e.request("employee/company/company_employee_customers/list",{data:t}),Show:t=>e.request("employee/company/company_employee_customers/show",{data:t}),Delete:t=>e.request("employee/company/company_employee_customers/delete",{data:t})},CompanyEmployees:{Select:t=>e.request("employee/company/company_employees/select",{data:t})},CompanyProjectReceiptAccounts:{List:t=>e.request("employee/company/company_project_receipt_accounts/list",{data:t}),GetDefaultReceiptAccounts:t=>e.request("employee/company/company_project_receipt_accounts/get_default_receipt_accounts",{data:t}),Show:t=>e.request("employee/company/company_project_receipt_accounts/show",{data:t})}},Count:{CommonCount:{IndexCount:()=>e.request("employee/count/common_count/index_count",{})}},Customer:{CustomerHouses:{List:t=>e.request("employee/customer/customer_houses/list",{data:t}),Show:t=>e.request("employee/customer/customer_houses/show",{data:t}),HouseDetail:t=>e.request("employee/customer/customer_houses/house_detail",{data:t})},CustomerMomentTasks:{List:t=>e.request("employee/customer/customer_moment_tasks/list",{data:t}),Store:t=>e.request("employee/customer/customer_moment_tasks/store",{data:t}),Show:t=>e.request("employee/customer/customer_moment_tasks/show",{data:t})},CustomerMoments:{Show:t=>e.request("employee/customer/customer_moments/show",{data:t}),UploadMedia:t=>e.request("employee/customer/customer_moments/upload_media",{data:t}),UploadImage:t=>e.request("employee/customer/customer_moments/upload_image",{data:t})},CustomerOpinions:{Store:t=>e.request("employee/customer/customer_opinions/store",{data:t})}},Emergency:{EmergencyEventCategories:{List:t=>e.request("employee/emergency/emergency_event_categories/list",{data:t}),TreeList:t=>e.request("employee/emergency/emergency_event_categories/tree_list",{data:t}),Show:t=>e.request("employee/emergency/emergency_event_categories/show",{data:t}),Select:t=>e.request("employee/emergency/emergency_event_categories/select",{data:t}),SelectTree:t=>e.request("employee/emergency/emergency_event_categories/select_tree",{data:t})},EmergencyEventFollows:{List:t=>e.request("employee/emergency/emergency_event_follows/list",{data:t}),Store:t=>e.request("employee/emergency/emergency_event_follows/store",{data:t}),Show:t=>e.request("employee/emergency/emergency_event_follows/show",{data:t})},EmergencyEventLevels:{List:t=>e.request("employee/emergency/emergency_event_levels/list",{data:t}),Show:t=>e.request("employee/emergency/emergency_event_levels/show",{data:t}),Select:t=>e.request("employee/emergency/emergency_event_levels/select",{data:t})},EmergencyEventTeams:{List:t=>e.request("employee/emergency/emergency_event_teams/list",{data:t}),Show:t=>e.request("employee/emergency/emergency_event_teams/show",{data:t}),GetPermission:t=>e.request("employee/emergency/emergency_event_teams/get_permission",{data:t}),Select:t=>e.request("employee/emergency/emergency_event_teams/select",{data:t})},EmergencyEvents:{List:t=>e.request("employee/emergency/emergency_events/list",{data:t}),Store:t=>e.request("employee/emergency/emergency_events/store",{data:t}),Update:t=>e.request("employee/emergency/emergency_events/update",{data:t}),Show:t=>e.request("employee/emergency/emergency_events/show",{data:t}),ApplyClose:t=>e.request("employee/emergency/emergency_events/apply_close",{data:t}),Select:t=>e.request("employee/emergency/emergency_events/select",{data:t})}},GoodsReleases:{GoodsReleases:{ScanRelease:t=>e.request("employee/goods_releases/goods_releases/scan_release",{data:t}),Show:t=>e.request("employee/goods_releases/goods_releases/show",{data:t})}},Grid:{GridRanges:{List:t=>e.request("employee/grid/grid_ranges/list",{data:t}),Show:t=>e.request("employee/grid/grid_ranges/show",{data:t})},Grids:{List:t=>e.request("employee/grid/grids/list",{data:t}),Show:t=>e.request("employee/grid/grids/show",{data:t}),CountGridHouse:()=>e.request("employee/grid/grids/count_grid_house",{}),GridAssetProject:t=>e.request("employee/grid/grids/grid_asset_project",{data:t}),GridAssetBuilding:t=>e.request("employee/grid/grids/grid_asset_building",{data:t}),GridAssetUnit:t=>e.request("employee/grid/grids/grid_asset_unit",{data:t}),GridAssetHouse:t=>e.request("employee/grid/grids/grid_asset_house",{data:t}),GridSelectHouse:t=>e.request("employee/grid/grids/grid_select_house",{data:t})}},HouseOrder:{HouseOrders:{Store:t=>e.request("employee/house_order/house_orders/store",{data:t}),Show:t=>e.request("employee/house_order/house_orders/show",{data:t}),GetPayQrCode:t=>e.request("employee/house_order/house_orders/get_pay_qr_code",{data:t}),AlipayQrCode:t=>e.request("employee/house_order/house_orders/alipay_qr_code",{data:t})}},Login:{Auth:{Login:t=>e.request("employee/login/auth/login",{data:t}),Logout:()=>e.request("employee/login/auth/logout",{}),Me:()=>e.request("employee/login/auth/me",{}),ChangeAvatar:t=>e.request("employee/login/auth/change_avatar",{data:t}),BindPhoneNumber:t=>e.request("employee/login/auth/bind_phone_number",{data:t}),SendValidateSms:t=>e.request("employee/login/auth/send_validate_sms",{data:t}),GetAccessToken:t=>e.request("employee/login/auth/get_access_token",{data:t}),WorkLogin:t=>e.request("employee/login/auth/work_login",{data:t}),BindWork:t=>e.request("employee/login/auth/bind_work",{data:t}),GetWorkAccessToken:t=>e.request("employee/login/auth/get_work_access_token",{data:t}),PreUpload:t=>e.request("employee/login/auth/pre_upload",{data:t}),TemporaryUrl:t=>e.request("employee/login/auth/temporary_url",{data:t})}},Meter:{HouseMeterReadings:{List:t=>e.request("employee/meter/house_meter_readings/list",{data:t}),GetMeterDetail:t=>e.request("employee/meter/house_meter_readings/get_meter_detail",{data:t}),Store:t=>e.request("employee/meter/house_meter_readings/store",{data:t}),Show:t=>e.request("employee/meter/house_meter_readings/show",{data:t})},HouseMeters:{List:t=>e.request("employee/meter/house_meters/list",{data:t}),Show:t=>e.request("employee/meter/house_meters/show",{data:t})}},Msg:{MsgPropertyAnnouncements:{List:t=>e.request("employee/msg/msg_property_announcements/list",{data:t}),Show:t=>e.request("employee/msg/msg_property_announcements/show",{data:t}),MarkAsRead:t=>e.request("employee/msg/msg_property_announcements/mark_as_read",{data:t}),CountMsg:()=>e.request("employee/msg/msg_property_announcements/count_msg",{})}},Patrol:{PatrolTaskLocations:{GetPatrolTaskList:t=>e.request("employee/patrol/patrol_task_locations/get_patrol_task_list",{data:t}),Store:t=>e.request("employee/patrol/patrol_task_locations/store",{data:t}),GetPatrolTaskLocation:t=>e.request("employee/patrol/patrol_task_locations/get_patrol_task_location",{data:t}),Show:t=>e.request("employee/patrol/patrol_task_locations/show",{data:t})}},Survey:{Surveys:{List:()=>e.request("employee/survey/surveys/list",{}),Questions:t=>e.request("employee/survey/surveys/questions",{data:t}),SubmitResponse:t=>e.request("employee/survey/surveys/submit_response",{data:t})}},Visitor:{VisitorApplies:{Scan:t=>e.request("employee/visitor/visitor_applies/scan",{data:t}),Show:t=>e.request("employee/visitor/visitor_applies/show",{data:t})}},WorkOrder:{HouseWorkLogs:{List:t=>e.request("employee/work_order/house_work_logs/list",{data:t}),Store:t=>e.request("employee/work_order/house_work_logs/store",{data:t}),Show:t=>e.request("employee/work_order/house_work_logs/show",{data:t})},HouseWorkOrders:{List:t=>e.request("employee/work_order/house_work_orders/list",{data:t}),MySubmitList:t=>e.request("employee/work_order/house_work_orders/my_submit_list",{data:t}),GetHouseWorkOrders:t=>e.request("employee/work_order/house_work_orders/get_house_work_orders",{data:t}),Store:t=>e.request("employee/work_order/house_work_orders/store",{data:t}),Show:t=>e.request("employee/work_order/house_work_orders/show",{data:t}),GetWorkOrderPayQrCode:t=>e.request("employee/work_order/house_work_orders/get_work_order_pay_qr_code",{data:t}),GetWorkOrderAlipayQrCode:t=>e.request("employee/work_order/house_work_orders/get_work_order_alipay_qr_code",{data:t}),Accept:t=>e.request("employee/work_order/house_work_orders/accept",{data:t}),Close:t=>e.request("employee/work_order/house_work_orders/close",{data:t}),UnassignedList:t=>e.request("employee/work_order/house_work_orders/unassigned_list",{data:t}),Receive:t=>e.request("employee/work_order/house_work_orders/receive",{data:t}),Assign:t=>e.request("employee/work_order/house_work_orders/assign",{data:t}),GetAssignPermission:t=>e.request("employee/work_order/house_work_orders/get_assign_permission",{data:t})}}};exports.Apis=t; diff --git a/dist/build/mp-weixin/gen/Enums.js b/dist/build/mp-weixin/gen/Enums.js index fd5cc65..6b06c74 100644 --- a/dist/build/mp-weixin/gen/Enums.js +++ b/dist/build/mp-weixin/gen/Enums.js @@ -1 +1 @@ -"use strict";exports.AssetHousesOrientationEnum={East:{text:"东",color:"#007bff",value:"East"},South:{text:"南",color:"#28a745",value:"South"},West:{text:"西",color:"#ffc107",value:"West"},North:{text:"北",color:"#dc3545",value:"North"},Southeast:{text:"东南",color:"#20c997",value:"Southeast"},Northeast:{text:"东北",color:"#6f42c1",value:"Northeast"},Southwest:{text:"西南",color:"#fd7e14",value:"Southwest"},Northwest:{text:"西北",color:"#17a2b8",value:"Northwest"},EastWest:{text:"东西",color:"#6610f2",value:"EastWest"},SouthNorth:{text:"南北",color:"#e83e8c",value:"SouthNorth"}},exports.AssetHousesUsageEnum={Residence:{text:"住宅",color:"#007bff",value:"Residence"},Apartment:{text:"公寓",color:"#28a745",value:"Apartment"},Villa:{text:"别墅",color:"#17a2b8",value:"Villa"},Shop:{text:"商铺",color:"#ffc107",value:"Shop"},ParkingSpace:{text:"车位",color:"#6c757d",value:"ParkingSpace"},Office:{text:"写字楼",color:"#6610f2",value:"Office"},Clubhouse:{text:"会所",color:"#fd7e14",value:"Clubhouse"},PropertyRoom:{text:"物业用房",color:"#dc3545",value:"PropertyRoom"}},exports.CompanyEmployeeBacklogsTypeEnum={WorkOrder:{text:"工单",color:"#FF6600",value:"WorkOrder"},Contract:{text:"合同",color:"#2A82E4",value:"Contract"},MomentTask:{text:"朋友圈任务",color:"#FF6600",value:"MomentTask"}},exports.CustomerMomentsChannelEnum={MomentCorp:{text:"朋友圈(企业)",color:"#1E90FF",value:"MomentCorp"},CustomerDirectCorp:{text:"客户1对1消息群发(企业)",color:"#FFA500",value:"CustomerDirectCorp"},CustomerGroupCorp:{text:"客户群群发(企业)",color:"#FF69B4",value:"CustomerGroupCorp"}},exports.CustomerMomentsContentTypeEnum={Image:{text:"图片消息",color:"#1E90FF",value:"Image"},Link:{text:"转载链接消息",color:"#32CD32",value:"Link"},MiniProgram:{text:"跳小程序",color:"#FFA500",value:"MiniProgram"},Video:{text:"视频消息",color:"#FF69B4",value:"Video"}},exports.GoodsReleasesPassedTypeEnum={Moving:{text:"搬家",color:"#1890ff",value:"Moving"},Delivery:{text:"出货",color:"#52c41a",value:"Delivery"},Other:{text:"其他",color:"#faad14",value:"Other"}},exports.GoodsReleasesStatusEnum={Pending:{text:"待审核",color:"#faad14",value:"Pending"},OwnerApproved:{text:"业主已审",color:"#1890ff",value:"OwnerApproved"},Approved:{text:"已通过",color:"#52c41a",value:"Approved"},Rejected:{text:"已退回",color:"#ff4d4f",value:"Rejected"},Released:{text:"已放行",color:"#722ed1",value:"Released"}},exports.HouseBillsTypeEnum={PropertyFee:{text:"物业费",color:"#3b82f6",value:"PropertyFee"},MaintenanceFund:{text:"维修基金",color:"#10b981",value:"MaintenanceFund"},WaterFee:{text:"水费",color:"#06b6d4",value:"WaterFee"},ElectricityFee:{text:"电费",color:"#f59e0b",value:"ElectricityFee"},SharedWaterFee:{text:"公摊水费",color:"#8b5cf6",value:"SharedWaterFee"},SharedElectricityFee:{text:"公摊电费",color:"#ec4899",value:"SharedElectricityFee"},CarPortFee:{text:"车位费",color:"#f59e0b",value:"CarPortFee"},WorkOrderRepairFee:{text:"工单维修费",color:"#f97316",value:"WorkOrderRepairFee"}},exports.HouseCollectionRecordsCollectionResultEnum={PromiseToPay:{text:"承诺缴费",color:"#4caf50",value:"PromiseToPay"},RefuseToPay:{text:"拒绝缴费",color:"#f44336",value:"RefuseToPay"},NotReached:{text:"未联系到",color:"#9e9e9e",value:"NotReached"},NeedFollowUp:{text:"需要跟进",color:"#ff9800",value:"NeedFollowUp"}},exports.HouseCollectionTasksChannelEnum={SMS:{text:"短信",color:"#1E90FF",value:"SMS"},MiniProgram:{text:"小程序",color:"#00BFFF",value:"MiniProgram"},OfficialAccount:{text:"公众号",color:"#32CD32",value:"OfficialAccount"},PhoneCall:{text:"电话催缴",color:"#FF8C00",value:"PhoneCall"},Visit:{text:"上门催缴",color:"#8B4513",value:"Visit"},WeChat:{text:"微信联系",color:"#20B2AA",value:"WeChat"},WrittenNotice:{text:"书面通知",color:"#708090",value:"WrittenNotice"}},exports.HouseCollectionTasksStatusEnum={Processing:{text:"进行中",color:"#ffcc00",value:"Processing"},Completed:{text:"已完成",color:"#00cc00",value:"Completed"},Failed:{text:"失败",color:"#ff0000",value:"Failed"}},exports.HouseOccupantsHouseRelationEnum={Owner:{text:"产权人",color:"#2db7f5",value:"Owner"},NonOwner:{text:"非产权人",color:"#fa8c16",value:"NonOwner"}},exports.HouseOccupantsResidentialRelationEnum={PropertyOwner:{text:"产权人",color:"#722ed1",value:"PropertyOwner"},Resident:{text:"住户",color:"#2db7f5",value:"Resident"},PrimaryTenant:{text:"主租人",color:"#87d068",value:"PrimaryTenant"},Tenant:{text:"租客",color:"#fa8c16",value:"Tenant"}},exports.HouseRegistersHouseStatusEnum={SelfOccupied:{text:"自住",color:"#28a745",value:"SelfOccupied"},Rented:{text:"出租",color:"#007bff",value:"Rented"},Vacant:{text:"空置",color:"#dc3545",value:"Vacant"}},exports.HouseWorkOrdersLevelEnum={Urgent:{text:"紧急",color:"#ff0000",value:"Urgent"},High:{text:"高",color:"#ff7f00",value:"High"},Medium:{text:"中",color:"#00cc00",value:"Medium"},Low:{text:"低",color:"#999999",value:"Low"}},exports.HouseWorkOrdersLocationEnum={CommonArea:{text:"公共区域",color:"#ff0000",value:"CommonArea"},MyHome:{text:"房屋",color:"#00ff00",value:"MyHome"}},exports.HouseWorkOrdersStatusEnum={Pending:{text:"待处理",color:"#FFA500",value:"Pending"},Processing:{text:"处理中",color:"#1E90FF",value:"Processing"},PendingPayment:{text:"待支付",color:"#FF8C00",value:"PendingPayment"},PendingAcceptance:{text:"待验收",color:"#17A2B8",value:"PendingAcceptance"},Completed:{text:"已完成",color:"#28A745",value:"Completed"},Closed:{text:"已关闭",color:"#6C757D",value:"Closed"}},exports.HouseWorkOrdersTypeEnum={Repair:{text:"报修",color:"#ff0000",value:"Repair"},Incident:{text:"报事",color:"#00aaff",value:"Incident"},Complaint:{text:"投诉",color:"#aa00ff",value:"Complaint"}},exports.VisitorAppliesStatusEnum={Pending:{text:"审核中",color:"#ff9800",value:"Pending"},Approved:{text:"已通过",color:"#4caf50",value:"Approved"},Rejected:{text:"已驳回",color:"#f44336",value:"Rejected"},Expired:{text:"已失效",color:"#9e9e9e",value:"Expired"}}; +"use strict";exports.AssetHousesOrientationEnum={East:{text:"东",color:"#007bff",value:"East"},South:{text:"南",color:"#28a745",value:"South"},West:{text:"西",color:"#ffc107",value:"West"},North:{text:"北",color:"#dc3545",value:"North"},Southeast:{text:"东南",color:"#20c997",value:"Southeast"},Northeast:{text:"东北",color:"#6f42c1",value:"Northeast"},Southwest:{text:"西南",color:"#fd7e14",value:"Southwest"},Northwest:{text:"西北",color:"#17a2b8",value:"Northwest"},EastWest:{text:"东西",color:"#6610f2",value:"EastWest"},SouthNorth:{text:"南北",color:"#e83e8c",value:"SouthNorth"}},exports.AssetHousesUsageEnum={Residence:{text:"住宅",color:"#007bff",value:"Residence"},Apartment:{text:"公寓",color:"#28a745",value:"Apartment"},Villa:{text:"别墅",color:"#17a2b8",value:"Villa"},Shop:{text:"商铺",color:"#ffc107",value:"Shop"},ParkingSpace:{text:"车位",color:"#6c757d",value:"ParkingSpace"},Office:{text:"写字楼",color:"#6610f2",value:"Office"},Clubhouse:{text:"会所",color:"#fd7e14",value:"Clubhouse"},PropertyRoom:{text:"物业用房",color:"#dc3545",value:"PropertyRoom"}},exports.AttendanceRecordsStatusEnum={Normal:{text:"正常",color:"#52c41a",value:"Normal"},Late:{text:"迟到",color:"#faad14",value:"Late"},EarlyLeave:{text:"早退",color:"#fa8c16",value:"EarlyLeave"},OutOfRange:{text:"范围外",color:"#ff4d4f",value:"OutOfRange"},Reissue:{text:"补卡",color:"#1890ff",value:"Reissue"}},exports.CompanyEmployeeBacklogsTypeEnum={WorkOrder:{text:"工单",color:"#FF6600",value:"WorkOrder"},Contract:{text:"合同",color:"#2A82E4",value:"Contract"},MomentTask:{text:"朋友圈任务",color:"#FF6600",value:"MomentTask"}},exports.CustomerMomentsChannelEnum={MomentCorp:{text:"朋友圈(企业)",color:"#1E90FF",value:"MomentCorp"},CustomerDirectCorp:{text:"客户1对1消息群发(企业)",color:"#FFA500",value:"CustomerDirectCorp"},CustomerGroupCorp:{text:"客户群群发(企业)",color:"#FF69B4",value:"CustomerGroupCorp"}},exports.CustomerMomentsContentTypeEnum={Image:{text:"图片消息",color:"#1E90FF",value:"Image"},Link:{text:"转载链接消息",color:"#32CD32",value:"Link"},MiniProgram:{text:"跳小程序",color:"#FFA500",value:"MiniProgram"},Video:{text:"视频消息",color:"#FF69B4",value:"Video"}},exports.EmergencyEventsStatusEnum={PendingFollowUp:{text:"待跟进",color:"#ff9800",value:"PendingFollowUp"},InProgress:{text:"跟进中",color:"#2196f3",value:"InProgress"},PendingReview:{text:"待审核",color:"#9c27b0",value:"PendingReview"},Closed:{text:"已关闭",color:"#9e9e9e",value:"Closed"}},exports.GoodsReleasesPassedTypeEnum={Moving:{text:"搬家",color:"#1890ff",value:"Moving"},Delivery:{text:"出货",color:"#52c41a",value:"Delivery"},Other:{text:"其他",color:"#faad14",value:"Other"}},exports.GoodsReleasesStatusEnum={Pending:{text:"待审核",color:"#faad14",value:"Pending"},OwnerApproved:{text:"业主已审",color:"#1890ff",value:"OwnerApproved"},Approved:{text:"已通过",color:"#52c41a",value:"Approved"},Rejected:{text:"已退回",color:"#ff4d4f",value:"Rejected"},Released:{text:"已放行",color:"#722ed1",value:"Released"}},exports.HouseBillsTypeEnum={PropertyFee:{text:"物业费",color:"#3b82f6",value:"PropertyFee"},MaintenanceFund:{text:"维修基金",color:"#10b981",value:"MaintenanceFund"},WaterFee:{text:"水费",color:"#06b6d4",value:"WaterFee"},ElectricityFee:{text:"电费",color:"#f59e0b",value:"ElectricityFee"},SharedWaterFee:{text:"公摊水费",color:"#8b5cf6",value:"SharedWaterFee"},SharedElectricityFee:{text:"公摊电费",color:"#ec4899",value:"SharedElectricityFee"},CarPortFee:{text:"车位费",color:"#f59e0b",value:"CarPortFee"},WorkOrderRepairFee:{text:"工单维修费",color:"#f97316",value:"WorkOrderRepairFee"}},exports.HouseCollectionRecordsCollectionResultEnum={PromiseToPay:{text:"承诺缴费",color:"#4caf50",value:"PromiseToPay"},RefuseToPay:{text:"拒绝缴费",color:"#f44336",value:"RefuseToPay"},NotReached:{text:"未联系到",color:"#9e9e9e",value:"NotReached"},NeedFollowUp:{text:"需要跟进",color:"#ff9800",value:"NeedFollowUp"}},exports.HouseCollectionTasksChannelEnum={SMS:{text:"短信",color:"#1E90FF",value:"SMS"},MiniProgram:{text:"小程序",color:"#00BFFF",value:"MiniProgram"},OfficialAccount:{text:"公众号",color:"#32CD32",value:"OfficialAccount"},PhoneCall:{text:"电话催缴",color:"#FF8C00",value:"PhoneCall"},Visit:{text:"上门催缴",color:"#8B4513",value:"Visit"},WeChat:{text:"微信联系",color:"#20B2AA",value:"WeChat"},WrittenNotice:{text:"书面通知",color:"#708090",value:"WrittenNotice"}},exports.HouseCollectionTasksStatusEnum={Processing:{text:"进行中",color:"#ffcc00",value:"Processing"},Completed:{text:"已完成",color:"#00cc00",value:"Completed"},Failed:{text:"失败",color:"#ff0000",value:"Failed"}},exports.HouseMetersUsageTypeEnum={WaterMeter:{text:"水表",color:"#2196f3",value:"WaterMeter"},ElectricMeter:{text:"电表",color:"#ff9800",value:"ElectricMeter"},GasMeter:{text:"燃气表",color:"#f44336",value:"GasMeter"},HeatingMeter:{text:"暖气表",color:"#9c27b0",value:"HeatingMeter"}},exports.HouseOccupantsHouseRelationEnum={Owner:{text:"产权人",color:"#2db7f5",value:"Owner"},NonOwner:{text:"非产权人",color:"#fa8c16",value:"NonOwner"}},exports.HouseOccupantsResidentialRelationEnum={PropertyOwner:{text:"产权人",color:"#722ed1",value:"PropertyOwner"},Resident:{text:"住户",color:"#2db7f5",value:"Resident"},PrimaryTenant:{text:"主租人",color:"#87d068",value:"PrimaryTenant"},Tenant:{text:"租客",color:"#fa8c16",value:"Tenant"}},exports.HouseRegistersHouseStatusEnum={SelfOccupied:{text:"自住",color:"#28a745",value:"SelfOccupied"},Rented:{text:"出租",color:"#007bff",value:"Rented"},Vacant:{text:"空置",color:"#dc3545",value:"Vacant"}},exports.HouseWorkOrdersLevelEnum={Urgent:{text:"紧急",color:"#ff0000",value:"Urgent"},High:{text:"高",color:"#ff7f00",value:"High"},Medium:{text:"中",color:"#00cc00",value:"Medium"},Low:{text:"低",color:"#999999",value:"Low"}},exports.HouseWorkOrdersLocationEnum={CommonArea:{text:"公共区域",color:"#ff0000",value:"CommonArea"},MyHome:{text:"房屋",color:"#00ff00",value:"MyHome"}},exports.HouseWorkOrdersStatusEnum={Pending:{text:"待处理",color:"#FFA500",value:"Pending"},Processing:{text:"处理中",color:"#1E90FF",value:"Processing"},PendingPayment:{text:"待支付",color:"#FF8C00",value:"PendingPayment"},PendingAcceptance:{text:"待验收",color:"#17A2B8",value:"PendingAcceptance"},Completed:{text:"已完成",color:"#28A745",value:"Completed"},Closed:{text:"已关闭",color:"#6C757D",value:"Closed"}},exports.HouseWorkOrdersTypeEnum={Repair:{text:"报修",color:"#ff0000",value:"Repair"},Incident:{text:"报事",color:"#00aaff",value:"Incident"},Complaint:{text:"投诉",color:"#aa00ff",value:"Complaint"},QualityCheck:{text:"品质检查",color:"#16a085",value:"QualityCheck"},RenovationInspection:{text:"装修巡检",color:"#8e44ad",value:"RenovationInspection"},RenovationAcceptance:{text:"装修验收",color:"#2980b9",value:"RenovationAcceptance"},SecurityInspection:{text:"安全巡检",color:"#e67e22",value:"SecurityInspection"}},exports.VisitorAppliesStatusEnum={Pending:{text:"审核中",color:"#ff9800",value:"Pending"},Approved:{text:"已通过",color:"#4caf50",value:"Approved"},Rejected:{text:"已驳回",color:"#f44336",value:"Rejected"},Expired:{text:"已失效",color:"#9e9e9e",value:"Expired"}}; diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.js b/dist/build/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.js index 707b98e..94f0777 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.js +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.js @@ -1 +1 @@ -"use strict";const A=require("../../../../common/vendor.js"),t={name:"u-avatar",mixins:[A.mpMixin,A.mixin,A.props],data(){return{colors:["#ffb34b","#f2bba9","#f7a196","#f18080","#88a867","#bfbf39","#89c152","#94d554","#f19ec2","#afaae4","#e1b0df","#c38cc1","#72dcdc","#9acdcb","#77b1cc","#448aca","#86cefa","#98d1ee","#73d1f1","#80a7dc"],avatarUrl:this.src,allowMp:!1}},watch:{src:{immediate:!0,handler(A){this.avatarUrl=A,A||this.errorHandler()}}},computed:{imageStyle:()=>({})},created(){this.init()},emits:["click"],methods:{addStyle:A.addStyle,addUnit:A.addUnit,random:A.random,init(){this.allowMp=!0},isImg(){return-1!==this.src.indexOf("/")},errorHandler(){this.avatarUrl=this.defaultUrl||"data:image/jpg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAA8AAD/4QMraHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjMtYzAxMSA2Ni4xNDU2NjEsIDIwMTIvMDIvMDYtMTQ6NTY6MjcgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzYgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjREMEQwRkY0RjgwNDExRUE5OTY2RDgxODY3NkJFODMxIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjREMEQwRkY1RjgwNDExRUE5OTY2RDgxODY3NkJFODMxIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NEQwRDBGRjJGODA0MTFFQTk5NjZEODE4Njc2QkU4MzEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NEQwRDBGRjNGODA0MTFFQTk5NjZEODE4Njc2QkU4MzEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAAGBAQEBQQGBQUGCQYFBgkLCAYGCAsMCgoLCgoMEAwMDAwMDBAMDg8QDw4MExMUFBMTHBsbGxwfHx8fHx8fHx8fAQcHBw0MDRgQEBgaFREVGh8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx//wAARCADIAMgDAREAAhEBAxEB/8QAcQABAQEAAwEBAAAAAAAAAAAAAAUEAQMGAgcBAQAAAAAAAAAAAAAAAAAAAAAQAAIBAwICBgkDBQAAAAAAAAABAhEDBCEFMVFBYXGREiKBscHRMkJSEyOh4XLxYjNDFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8A/fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHbHFyZ/Dam+yLA+Z2L0Pjtyj2poD4AAAAAAAAAAAAAAAAAAAAAAAAKWFs9y6lcvvwQeqj8z9wFaziY1n/HbUX9XF97A7QAGXI23EvJ1goyfzR0YEfN269jeZ+a03pNe0DIAAAAAAAAAAAAAAAAAAAACvtO3RcVkXlWutuL9YFYAAAAAOJRjKLjJVi9GmB5/csH/mu1h/in8PU+QGMAAAAAAAAAAAAAAAAAAaMDG/6MmMH8C80+xAelSSVFolwQAAAAAAAHVlWI37ErUulaPk+hgeYnCUJuElSUXRrrQHAAAAAAAAAAAAAAAAABa2Oz4bM7r4zdF2ICmAAAAAAAAAg7zZ8GX41wuJP0rRgYAAAAAAAAAAAAAAAAAD0m2R8ODaXU33tsDSAAAAAAAAAlb9HyWZcnJd9PcBHAAAAAAAAAAAAAAAAAPS7e64Vn+KA0AAAAAAAAAJm+v8Ftf3ewCKAAAAAAAAAAAAAAAAAX9muqeGo9NttP06+0DcAAAAAAAAAjb7dTu2ra+VOT9P8AQCWAAAAAAAAAAAAAAAAAUNmyPt5Ltv4bui/kuAF0AAAAAAADiUlGLlJ0SVW+oDzOXfd/Ind6JPRdS0QHSAAAAAAAAAAAAAAAAAE2nVaNcGB6Lbs6OTao9LsF51z60BrAAAAAABJ3jOVHjW3r/sa9QEgAAAAAAAAAAAAAAAAAAAPu1duWriuW34ZR4MC9hbnZyEoy8l36XwfYBsAAADaSq9EuLAlZ+7xSdrGdW9Hc5dgEdtt1erfFgAAAAAAAAAAAAAAAAADVjbblX6NR8MH80tEBRs7HYivyzlN8lovaBPzduvY0m6eK10TXtAyAarO55lpJK54orolr+4GqO/Xaea1FvqbXvA+Z77kNeW3GPbV+4DJfzcm/pcm3H6Vou5AdAFLC2ed2Pjv1txa8sV8T6wOL+yZEKu1JXFy4MDBOE4ScZxcZLinoB8gAAAAAAAAAAAB242LeyJ+C3GvN9C7QLmJtePYpKS+5c+p8F2IDYAANJqj1T4oCfk7Nj3G5Wn9qXJax7gJ93Z82D8sVNc4v30A6Xg5i42Z+iLfqARwcyT0sz9MWvWBps7LlTf5Grce9/oBTxdtxseklHxT+uWr9AGoAB138ezfj4bsFJdD6V2MCPm7RdtJzs1uW1xXzL3gTgAAAAAAAAADRhYc8q74I6RWs5ckB6GxYtWLat21SK731sDsAAAAAAAAAAAAAAAASt021NO/YjrxuQXT1oCOAAAAAAABzGLlJRSq26JAelwsWONYjbXxcZvmwO8AAAAAAAAAAAAAAAAAAef3TEWPkVivx3NY9T6UBiAAAAAABo2+VmGXblddIJ8eivRUD0oAAAAAAAAAAAAAAAAAAAYt4tKeFKVNYNSXfRgefAAAAAAAAr7VuSSWPedKaW5v1MCsAAAAAAAAAAAAAAAAAAIe6bj96Ts2n+JPzSXzP3ATgAAAAAAAAFbbt1UUrOQ9FpC4/UwK6aaqtU+DAAAAAAAAAAAAAAA4lKMIuUmoxWrb4ARNx3R3q2rLpa4Sl0y/YCcAAAAAAAAAAANmFud7G8r89r6X0dgFvGzLGRGtuWvTF6NAdwAAAAAAAAAAAy5W442PVN+K59EePp5ARMvOv5MvO6QXCC4AZwAAAAAAAAAAAAAcxlKLUotprg1owN+PvORborq+7Hnwl3gUbO74VzRydt8pKn68ANcJwmqwkpLmnUDkAAAAfNy9atqtyagut0AxXt5xIV8Fbj6lRd7Am5G65V6qUvtwfyx94GMAAAAAAAAAAAAAAAAAAAOU2nVOj5gdsc3LiqRvTpyqwOxbnnrhdfpSfrQB7pnv/AGvuS9gHXPMy5/Fem1yq0v0A6W29XqwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAf//Z"},clickHandler(A){this.$emit("click",this.name,A)}}};if(!Array){(A.resolveComponent("u-icon")+A.resolveComponent("up-text"))()}Math||((()=>"../u-icon/u-icon.js")+(()=>"../u-text/u-text.js"))();const a=A._export_sfc(t,[["render",function(t,a,e,c,r,i){return A.e({a:t.mpAvatar&&r.allowMp},t.mpAvatar&&r.allowMp?{b:A.s({width:i.addUnit(t.size),height:i.addUnit(t.size)})}:{},{c:t.mpAvatar&&r.allowMp},t.mpAvatar&&r.allowMp?{}:t.icon?{e:A.p({name:t.icon,size:t.fontSize,color:t.color})}:t.text?{g:A.p({text:t.text,size:t.fontSize,color:t.color,align:"center",customStyle:"justify-content: center"})}:{h:A.n(`u-avatar__image--${t.shape}`),i:r.avatarUrl||t.defaultUrl,j:t.mode,k:A.o(((...A)=>i.errorHandler&&i.errorHandler(...A))),l:A.s({width:i.addUnit(t.size),height:i.addUnit(t.size)})},{d:t.icon,f:t.text,m:A.n(`u-avatar--${t.shape}`),n:A.s({backgroundColor:t.text||t.icon?t.randomBgColor?r.colors[""!==t.colorIndex?t.colorIndex:i.random(0,19)]:t.bgColor:"transparent",width:i.addUnit(t.size),height:i.addUnit(t.size)}),o:A.s(i.addStyle(t.customStyle)),p:A.o(((...A)=>i.clickHandler&&i.clickHandler(...A)))})}],["__scopeId","data-v-41347d37"]]);wx.createComponent(a); +"use strict";const A=require("../../../../common/vendor.js"),t={name:"u-avatar",mixins:[A.mpMixin,A.mixin,A.props],data(){return{colors:["#ffb34b","#f2bba9","#f7a196","#f18080","#88a867","#bfbf39","#89c152","#94d554","#f19ec2","#afaae4","#e1b0df","#c38cc1","#72dcdc","#9acdcb","#77b1cc","#448aca","#86cefa","#98d1ee","#73d1f1","#80a7dc"],avatarUrl:this.src,allowMp:!1}},watch:{src:{immediate:!0,handler(A){this.avatarUrl=A,A||this.errorHandler()}}},computed:{imageStyle:()=>({})},created(){this.init()},emits:["click"],methods:{addStyle:A.addStyle,addUnit:A.addUnit,random:A.random,init(){this.allowMp=!0},isImg(){return-1!==this.src.indexOf("/")},errorHandler(){this.avatarUrl=this.defaultUrl||"data:image/jpg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAA8AAD/4QMraHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjMtYzAxMSA2Ni4xNDU2NjEsIDIwMTIvMDIvMDYtMTQ6NTY6MjcgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzYgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjREMEQwRkY0RjgwNDExRUE5OTY2RDgxODY3NkJFODMxIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjREMEQwRkY1RjgwNDExRUE5OTY2RDgxODY3NkJFODMxIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NEQwRDBGRjJGODA0MTFFQTk5NjZEODE4Njc2QkU4MzEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NEQwRDBGRjNGODA0MTFFQTk5NjZEODE4Njc2QkU4MzEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAAGBAQEBQQGBQUGCQYFBgkLCAYGCAsMCgoLCgoMEAwMDAwMDBAMDg8QDw4MExMUFBMTHBsbGxwfHx8fHx8fHx8fAQcHBw0MDRgQEBgaFREVGh8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx//wAARCADIAMgDAREAAhEBAxEB/8QAcQABAQEAAwEBAAAAAAAAAAAAAAUEAQMGAgcBAQAAAAAAAAAAAAAAAAAAAAAQAAIBAwICBgkDBQAAAAAAAAABAhEDBCEFMVFBYXGREiKBscHRMkJSEyOh4XLxYjNDFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8A/fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHbHFyZ/Dam+yLA+Z2L0Pjtyj2poD4AAAAAAAAAAAAAAAAAAAAAAAAKWFs9y6lcvvwQeqj8z9wFaziY1n/HbUX9XF97A7QAGXI23EvJ1goyfzR0YEfN269jeZ+a03pNe0DIAAAAAAAAAAAAAAAAAAAACvtO3RcVkXlWutuL9YFYAAAAAOJRjKLjJVi9GmB5/csH/mu1h/in8PU+QGMAAAAAAAAAAAAAAAAAAaMDG/6MmMH8C80+xAelSSVFolwQAAAAAAAHVlWI37ErUulaPk+hgeYnCUJuElSUXRrrQHAAAAAAAAAAAAAAAAABa2Oz4bM7r4zdF2ICmAAAAAAAAAg7zZ8GX41wuJP0rRgYAAAAAAAAAAAAAAAAAD0m2R8ODaXU33tsDSAAAAAAAAAlb9HyWZcnJd9PcBHAAAAAAAAAAAAAAAAAPS7e64Vn+KA0AAAAAAAAAJm+v8Ftf3ewCKAAAAAAAAAAAAAAAAAX9muqeGo9NttP06+0DcAAAAAAAAAjb7dTu2ra+VOT9P8AQCWAAAAAAAAAAAAAAAAAUNmyPt5Ltv4bui/kuAF0AAAAAAADiUlGLlJ0SVW+oDzOXfd/Ind6JPRdS0QHSAAAAAAAAAAAAAAAAAE2nVaNcGB6Lbs6OTao9LsF51z60BrAAAAAABJ3jOVHjW3r/sa9QEgAAAAAAAAAAAAAAAAAAAPu1duWriuW34ZR4MC9hbnZyEoy8l36XwfYBsAAADaSq9EuLAlZ+7xSdrGdW9Hc5dgEdtt1erfFgAAAAAAAAAAAAAAAAADVjbblX6NR8MH80tEBRs7HYivyzlN8lovaBPzduvY0m6eK10TXtAyAarO55lpJK54orolr+4GqO/Xaea1FvqbXvA+Z77kNeW3GPbV+4DJfzcm/pcm3H6Vou5AdAFLC2ed2Pjv1txa8sV8T6wOL+yZEKu1JXFy4MDBOE4ScZxcZLinoB8gAAAAAAAAAAAB242LeyJ+C3GvN9C7QLmJtePYpKS+5c+p8F2IDYAANJqj1T4oCfk7Nj3G5Wn9qXJax7gJ93Z82D8sVNc4v30A6Xg5i42Z+iLfqARwcyT0sz9MWvWBps7LlTf5Grce9/oBTxdtxseklHxT+uWr9AGoAB138ezfj4bsFJdD6V2MCPm7RdtJzs1uW1xXzL3gTgAAAAAAAAADRhYc8q74I6RWs5ckB6GxYtWLat21SK731sDsAAAAAAAAAAAAAAAASt021NO/YjrxuQXT1oCOAAAAAAABzGLlJRSq26JAelwsWONYjbXxcZvmwO8AAAAAAAAAAAAAAAAAAef3TEWPkVivx3NY9T6UBiAAAAAABo2+VmGXblddIJ8eivRUD0oAAAAAAAAAAAAAAAAAAAYt4tKeFKVNYNSXfRgefAAAAAAAAr7VuSSWPedKaW5v1MCsAAAAAAAAAAAAAAAAAAIe6bj96Ts2n+JPzSXzP3ATgAAAAAAAAFbbt1UUrOQ9FpC4/UwK6aaqtU+DAAAAAAAAAAAAAAA4lKMIuUmoxWrb4ARNx3R3q2rLpa4Sl0y/YCcAAAAAAAAAAANmFud7G8r89r6X0dgFvGzLGRGtuWvTF6NAdwAAAAAAAAAAAy5W442PVN+K59EePp5ARMvOv5MvO6QXCC4AZwAAAAAAAAAAAAAcxlKLUotprg1owN+PvORborq+7Hnwl3gUbO74VzRydt8pKn68ANcJwmqwkpLmnUDkAAAAfNy9atqtyagut0AxXt5xIV8Fbj6lRd7Am5G65V6qUvtwfyx94GMAAAAAAAAAAAAAAAAAAAOU2nVOj5gdsc3LiqRvTpyqwOxbnnrhdfpSfrQB7pnv/AGvuS9gHXPMy5/Fem1yq0v0A6W29XqwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAf//Z"},clickHandler(A){this.$emit("click",this.name,A)}}};if(!Array){(A.resolveComponent("up-icon")+A.resolveComponent("up-text"))()}Math||((()=>"../u-icon/u-icon.js")+(()=>"../u-text/u-text.js"))();const a=A._export_sfc(t,[["render",function(t,a,e,c,r,i){return A.e({a:t.mpAvatar&&r.allowMp},t.mpAvatar&&r.allowMp?{b:A.s({width:i.addUnit(t.size),height:i.addUnit(t.size)})}:{},{c:t.mpAvatar&&r.allowMp},t.mpAvatar&&r.allowMp?{}:t.icon?{e:A.p({name:t.icon,size:t.fontSize,color:t.color})}:t.text?{g:A.p({text:t.text,size:t.fontSize,color:t.color,align:"center",customStyle:"justify-content: center"})}:{h:A.n(`u-avatar__image--${t.shape}`),i:r.avatarUrl||t.defaultUrl,j:t.mode,k:A.o((...A)=>i.errorHandler&&i.errorHandler(...A)),l:A.s({width:i.addUnit(t.size),height:i.addUnit(t.size)})},{d:t.icon,f:t.text,m:A.n(`u-avatar--${t.shape}`),n:A.s({backgroundColor:t.text||t.icon?t.randomBgColor?r.colors[""!==t.colorIndex?t.colorIndex:i.random(0,19)]:t.bgColor:"transparent",width:i.addUnit(t.size),height:i.addUnit(t.size)}),o:A.s(i.addStyle(t.customStyle)),p:A.o((...A)=>i.clickHandler&&i.clickHandler(...A))})}],["__scopeId","data-v-d8fda593"]]);wx.createComponent(a); diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.json b/dist/build/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.json index 3185d42..be56d89 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.json +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.json @@ -1,7 +1,7 @@ { "component": true, "usingComponents": { - "u-icon": "../u-icon/u-icon", + "up-icon": "../u-icon/u-icon", "up-text": "../u-text/u-text" } } \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.wxml b/dist/build/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.wxml index c020664..f069890 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.wxml +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.wxml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.wxss b/dist/build/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.wxss index 749abbb..36013e1 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.wxss +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.wxss @@ -1 +1 @@ -.u-empty.data-v-41347d37,.u-empty__wrap.data-v-41347d37,.u-tabs.data-v-41347d37,.u-tabs__wrapper.data-v-41347d37,.u-tabs__wrapper__scroll-view-wrapper.data-v-41347d37,.u-tabs__wrapper__scroll-view.data-v-41347d37,.u-tabs__wrapper__nav.data-v-41347d37,.u-tabs__wrapper__nav__line.data-v-41347d37,.up-empty.data-v-41347d37,.up-empty__wrap.data-v-41347d37,.up-tabs.data-v-41347d37,.up-tabs__wrapper.data-v-41347d37,.up-tabs__wrapper__scroll-view-wrapper.data-v-41347d37,.up-tabs__wrapper__scroll-view.data-v-41347d37,.up-tabs__wrapper__nav.data-v-41347d37,.up-tabs__wrapper__nav__line.data-v-41347d37{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-avatar.data-v-41347d37{display:flex;flex-direction:row;align-items:center;justify-content:center}.u-avatar--circle.data-v-41347d37{border-radius:100px}.u-avatar--square.data-v-41347d37{border-radius:4px}.u-avatar__image--circle.data-v-41347d37{border-radius:100px;overflow:hidden}.u-avatar__image--square.data-v-41347d37{border-radius:4px} +.u-avatar.data-v-d8fda593{display:flex;flex-direction:row;align-items:center;justify-content:center}.u-avatar--circle.data-v-d8fda593{border-radius:100px}.u-avatar--square.data-v-d8fda593{border-radius:4px}.u-avatar__image--circle.data-v-d8fda593{border-radius:100px;overflow:hidden}.u-avatar__image--square.data-v-d8fda593{border-radius:4px} diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-badge/u-badge.js b/dist/build/mp-weixin/node-modules/uview-plus/components/u-badge/u-badge.js index d90bd11..43ffffd 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-badge/u-badge.js +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-badge/u-badge.js @@ -1 +1 @@ -"use strict";const e=require("../../../../common/vendor.js"),t={name:"u-badge",mixins:[e.mpMixin,e.props$11,e.mixin],computed:{boxStyle:()=>({}),badgeStyle(){const t={};if(this.color&&(t.color=this.color),this.bgColor&&!this.inverted&&(t.backgroundColor=this.bgColor),this.absolute&&(t.position="absolute",this.offset.length)){const o=this.offset[0],s=this.offset[1]||o;t.top=e.addUnit(o),t.right=e.addUnit(s)}return t},showValue(){switch(this.numberType){case"overflow":return Number(this.value)>Number(this.max)?this.max+"+":this.value;case"ellipsis":return Number(this.value)>Number(this.max)?"...":this.value;case"limit":return Number(this.value)>999?Number(this.value)>=9999?Math.floor(this.value/1e4*100)/100+"w":Math.floor(this.value/1e3*100)/100+"k":this.value;default:return Number(this.value)}}},methods:{addStyle:e.addStyle}};const o=e._export_sfc(t,[["render",function(t,o,s,i,r,a){return e.e({a:t.show&&(0!==Number(t.value)||t.showZero||t.isDot)},t.show&&(0!==Number(t.value)||t.showZero||t.isDot)?{b:e.t(t.isDot?"":a.showValue),c:e.n(t.isDot?"u-badge--dot":"u-badge--not-dot"),d:e.n(t.inverted&&"u-badge--inverted"),e:e.n("horn"===t.shape&&"u-badge--horn"),f:e.n(`u-badge--${t.type}${t.inverted?"--inverted":""}`),g:e.s(a.addStyle(t.customStyle)),h:e.s(a.badgeStyle)}:{})}],["__scopeId","data-v-11c87331"]]);wx.createComponent(o); +"use strict";const e=require("../../../../common/vendor.js"),t={name:"u-badge",mixins:[e.mpMixin,e.props$12,e.mixin],computed:{boxStyle:()=>({}),badgeStyle(){const t={};if(this.color&&(t.color=this.color),this.bgColor&&!this.inverted&&(t.backgroundColor=this.bgColor),this.absolute&&(t.position="absolute",this.offset.length)){const o=this.offset[0],s=this.offset[1]||o;t.top=e.addUnit(o),t.right=e.addUnit(s)}return t},showValue(){switch(this.numberType){case"overflow":return Number(this.value)>Number(this.max)?this.max+"+":this.value;case"ellipsis":return Number(this.value)>Number(this.max)?"...":this.value;case"limit":return Number(this.value)>999?Number(this.value)>=9999?Math.floor(this.value/1e4*100)/100+"w":Math.floor(this.value/1e3*100)/100+"k":this.value;default:return Number(this.value)}}},methods:{addStyle:e.addStyle}};const o=e._export_sfc(t,[["render",function(t,o,s,i,r,a){return e.e({a:t.show&&(0!==Number(t.value)||t.showZero||t.isDot)},t.show&&(0!==Number(t.value)||t.showZero||t.isDot)?{b:e.t(t.isDot?"":a.showValue),c:e.n(t.isDot?"u-badge--dot":"u-badge--not-dot"),d:e.n(t.inverted&&"u-badge--inverted"),e:e.n("horn"===t.shape&&"u-badge--horn"),f:e.n(`u-badge--${t.type}${t.inverted?"--inverted":""}`),g:e.s(a.addStyle(t.customStyle)),h:e.s(a.badgeStyle)}:{})}],["__scopeId","data-v-4434d9cd"]]);wx.createComponent(o); diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-badge/u-badge.wxml b/dist/build/mp-weixin/node-modules/uview-plus/components/u-badge/u-badge.wxml index a8c3961..a55fc95 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-badge/u-badge.wxml +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-badge/u-badge.wxml @@ -1 +1 @@ -{{b}} \ No newline at end of file +{{b}} \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-badge/u-badge.wxss b/dist/build/mp-weixin/node-modules/uview-plus/components/u-badge/u-badge.wxss index f017949..728de86 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-badge/u-badge.wxss +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-badge/u-badge.wxss @@ -1 +1 @@ -.u-empty.data-v-11c87331,.u-empty__wrap.data-v-11c87331,.u-tabs.data-v-11c87331,.u-tabs__wrapper.data-v-11c87331,.u-tabs__wrapper__scroll-view-wrapper.data-v-11c87331,.u-tabs__wrapper__scroll-view.data-v-11c87331,.u-tabs__wrapper__nav.data-v-11c87331,.u-tabs__wrapper__nav__line.data-v-11c87331,.up-empty.data-v-11c87331,.up-empty__wrap.data-v-11c87331,.up-tabs.data-v-11c87331,.up-tabs__wrapper.data-v-11c87331,.up-tabs__wrapper__scroll-view-wrapper.data-v-11c87331,.up-tabs__wrapper__scroll-view.data-v-11c87331,.up-tabs__wrapper__nav.data-v-11c87331,.up-tabs__wrapper__nav__line.data-v-11c87331{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-badge.data-v-11c87331{border-radius:100px;display:flex;flex-direction:row;line-height:11px;text-align:center;font-size:11px;color:#fff}.u-badge--dot.data-v-11c87331{height:8px;width:8px}.u-badge--inverted.data-v-11c87331{font-size:13px}.u-badge--not-dot.data-v-11c87331{padding:2px 5px}.u-badge--horn.data-v-11c87331{border-bottom-left-radius:0}.u-badge--primary.data-v-11c87331{background-color:#3c9cff}.u-badge--primary--inverted.data-v-11c87331{color:#3c9cff}.u-badge--error.data-v-11c87331{background-color:#f56c6c}.u-badge--error--inverted.data-v-11c87331{color:#f56c6c}.u-badge--success.data-v-11c87331{background-color:#5ac725}.u-badge--success--inverted.data-v-11c87331{color:#5ac725}.u-badge--info.data-v-11c87331{background-color:#909399}.u-badge--info--inverted.data-v-11c87331{color:#909399}.u-badge--warning.data-v-11c87331{background-color:#f9ae3d}.u-badge--warning--inverted.data-v-11c87331{color:#f9ae3d} +.u-badge.data-v-4434d9cd{border-radius:100px;display:flex;flex-direction:row;line-height:11px;text-align:center;font-size:11px;color:#fff}.u-badge--dot.data-v-4434d9cd{height:8px;width:8px}.u-badge--inverted.data-v-4434d9cd{font-size:13px}.u-badge--not-dot.data-v-4434d9cd{padding:2px 5px}.u-badge--horn.data-v-4434d9cd{border-bottom-left-radius:0}.u-badge--primary.data-v-4434d9cd{background-color:#3c9cff}.u-badge--primary--inverted.data-v-4434d9cd{color:#3c9cff}.u-badge--error.data-v-4434d9cd{background-color:#f56c6c}.u-badge--error--inverted.data-v-4434d9cd{color:#f56c6c}.u-badge--success.data-v-4434d9cd{background-color:#5ac725}.u-badge--success--inverted.data-v-4434d9cd{color:#5ac725}.u-badge--info.data-v-4434d9cd{background-color:#909399}.u-badge--info--inverted.data-v-4434d9cd{color:#909399}.u-badge--warning.data-v-4434d9cd{background-color:#f9ae3d}.u-badge--warning--inverted.data-v-4434d9cd{color:#f9ae3d} diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-button/u-button.js b/dist/build/mp-weixin/node-modules/uview-plus/components/u-button/u-button.js index 44edb4d..b6b392f 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-button/u-button.js +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-button/u-button.js @@ -1 +1 @@ -"use strict";const e=require("../../../../common/vendor.js"),o={name:"u-button",mixins:[e.mpMixin,e.mixin,e.buttonMixin,e.openType,e.props$12],data:()=>({}),computed:{bemClass(){return this.color?this.bem("button",["shape","size"],["disabled","plain","hairline"]):this.bem("button",["type","shape","size"],["disabled","plain","hairline"])},loadingColor(){return this.plain?this.color?this.color:e.color[`u-${this.type}`]:"info"===this.type?"#c9c9c9":"rgb(200, 200, 200)"},iconColorCom(){return this.iconColor?this.iconColor:this.plain?this.color?this.color:this.type:"info"===this.type?"#000000":"#ffffff"},baseColor(){let e={};return this.color&&(e.color=this.plain?this.color:"white",this.plain||(e["background-color"]=this.color),-1!==this.color.indexOf("gradient")?(e.borderTopWidth=0,e.borderRightWidth=0,e.borderBottomWidth=0,e.borderLeftWidth=0,this.plain||(e.backgroundImage=this.color)):(e.borderColor=this.color,e.borderWidth="1px",e.borderStyle="solid")),e},nvueTextStyle(){let e={};return"info"===this.type&&(e.color="#323233"),this.color&&(e.color=this.plain?this.color:"white"),e.fontSize=this.textSize+"px",e},textSize(){let e=14,{size:o}=this;return"large"===o&&(e=16),"normal"===o&&(e=14),"small"===o&&(e=12),"mini"===o&&(e=10),e}},emits:["click","getphonenumber","getuserinfo","error","opensetting","launchapp","agreeprivacyauthorization"],methods:{addStyle:e.addStyle,clickHandler(o){this.disabled||this.loading||e.throttle((()=>{this.$emit("click",o)}),this.throttleTime),this.stop&&this.preventEvent(o)},getphonenumber(e){this.$emit("getphonenumber",e)},getuserinfo(e){this.$emit("getuserinfo",e)},error(e){this.$emit("error",e)},opensetting(e){this.$emit("opensetting",e)},launchapp(e){this.$emit("launchapp",e)},agreeprivacyauthorization(e){this.$emit("agreeprivacyauthorization",e)}}};if(!Array){(e.resolveComponent("u-loading-icon")+e.resolveComponent("u-icon"))()}Math||((()=>"../u-loading-icon/u-loading-icon.js")+(()=>"../u-icon/u-icon.js"))();const t=e._export_sfc(o,[["render",function(o,t,i,r,n,s){return e.e({a:o.loading},o.loading?{b:e.p({mode:o.loadingMode,size:1.15*o.loadingSize,color:s.loadingColor}),c:e.t(o.loadingText||o.text),d:e.s({fontSize:s.textSize+"px"})}:e.e({e:o.icon},o.icon?{f:e.p({name:o.icon,color:s.iconColorCom,size:1.35*s.textSize,customStyle:{marginRight:"2px"}})}:{},{g:e.t(o.text),h:e.s({fontSize:s.textSize+"px"})}),{i:Number(o.hoverStartTime),j:Number(o.hoverStayTime),k:o.formType,l:o.openType,m:o.appParameter,n:o.hoverStopPropagation,o:o.sendMessageTitle,p:o.sendMessagePath,q:o.lang,r:o.dataName,s:o.sessionFrom,t:o.sendMessageImg,v:o.showMessageCard,w:e.o(((...e)=>s.getphonenumber&&s.getphonenumber(...e))),x:e.o(((...e)=>s.getuserinfo&&s.getuserinfo(...e))),y:e.o(((...e)=>s.error&&s.error(...e))),z:e.o(((...e)=>s.opensetting&&s.opensetting(...e))),A:e.o(((...e)=>s.launchapp&&s.launchapp(...e))),B:e.o(((...e)=>s.agreeprivacyauthorization&&s.agreeprivacyauthorization(...e))),C:o.disabled||o.loading?"":"u-button--active",D:e.s(s.baseColor),E:e.s(s.addStyle(o.customStyle)),F:e.o(((...e)=>s.clickHandler&&s.clickHandler(...e))),G:e.n(s.bemClass)})}],["__scopeId","data-v-aa49867e"]]);wx.createComponent(t); +"use strict";const e=require("../../../../common/vendor.js"),o={name:"u-button",mixins:[e.mpMixin,e.mixin,e.buttonMixin,e.openType,e.props$13],data:()=>({}),computed:{bemClass(){return this.color?this.bem("button",["shape","size"],["disabled","plain","hairline"]):this.bem("button",["type","shape","size"],["disabled","plain","hairline"])},loadingColor(){return this.plain?this.color?this.color:e.color[`u-${this.type}`]:"info"===this.type?"#c9c9c9":"rgb(200, 200, 200)"},iconColorCom(){return this.iconColor?this.iconColor:this.plain?this.color?this.color:this.type:"info"===this.type?"#000000":"#ffffff"},baseColor(){let e={};return this.color&&(e.color=this.plain?this.color:"white",this.plain||(e["background-color"]=this.color),-1!==this.color.indexOf("gradient")?(e.borderTopWidth=0,e.borderRightWidth=0,e.borderBottomWidth=0,e.borderLeftWidth=0,this.plain||(e.backgroundImage=this.color)):(e.borderColor=this.color,e.borderWidth="1px",e.borderStyle="solid")),e},nvueTextStyle(){let e={};return"info"===this.type&&(e.color="#323233"),this.color&&(e.color=this.plain?this.color:"white"),e.fontSize=this.textSize+"px",e},textSize(){let e=14,{size:o}=this;return"large"===o&&(e=16),"normal"===o&&(e=14),"small"===o&&(e=12),"mini"===o&&(e=10),e}},emits:["click","getphonenumber","getuserinfo","error","opensetting","launchapp","agreeprivacyauthorization"],methods:{addStyle:e.addStyle,clickHandler(o){this.disabled||this.loading||e.throttle(()=>{this.$emit("click",o)},this.throttleTime),this.stop&&this.preventEvent(o)},getphonenumber(e){this.$emit("getphonenumber",e)},getuserinfo(e){this.$emit("getuserinfo",e)},error(e){this.$emit("error",e)},opensetting(e){this.$emit("opensetting",e)},launchapp(e){this.$emit("launchapp",e)},agreeprivacyauthorization(e){this.$emit("agreeprivacyauthorization",e)}}};if(!Array){(e.resolveComponent("u-loading-icon")+e.resolveComponent("up-icon"))()}Math||((()=>"../u-loading-icon/u-loading-icon.js")+(()=>"../u-icon/u-icon.js"))();const t=e._export_sfc(o,[["render",function(o,t,i,r,n,s){return e.e({a:o.loading},o.loading?{b:e.p({mode:o.loadingMode,size:1.15*o.loadingSize,color:s.loadingColor}),c:e.t(o.loadingText||o.text),d:e.s({fontSize:s.textSize+"px"})}:e.e({e:o.icon},o.icon?{f:e.p({name:o.icon,color:s.iconColorCom,size:1.35*s.textSize,customStyle:{marginRight:"2px"}})}:{},{g:e.t(o.text),h:e.s({fontSize:s.textSize+"px"})}),{i:Number(o.hoverStartTime),j:Number(o.hoverStayTime),k:o.formType,l:o.openType,m:o.appParameter,n:o.hoverStopPropagation,o:o.sendMessageTitle,p:o.sendMessagePath,q:o.lang,r:o.dataName,s:o.sessionFrom,t:o.sendMessageImg,v:o.showMessageCard,w:e.o((...e)=>s.getphonenumber&&s.getphonenumber(...e)),x:e.o((...e)=>s.getuserinfo&&s.getuserinfo(...e)),y:e.o((...e)=>s.error&&s.error(...e)),z:e.o((...e)=>s.opensetting&&s.opensetting(...e)),A:e.o((...e)=>s.launchapp&&s.launchapp(...e)),B:e.o((...e)=>s.agreeprivacyauthorization&&s.agreeprivacyauthorization(...e)),C:o.disabled||o.loading?"":"u-button--active",D:e.s(s.baseColor),E:e.s(s.addStyle(o.customStyle)),F:e.o((...e)=>s.clickHandler&&s.clickHandler(...e)),G:e.n(s.bemClass)})}],["__scopeId","data-v-24289a9d"]]);wx.createComponent(t); diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-button/u-button.json b/dist/build/mp-weixin/node-modules/uview-plus/components/u-button/u-button.json index 9d49dfb..7a7b1c9 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-button/u-button.json +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-button/u-button.json @@ -2,6 +2,6 @@ "component": true, "usingComponents": { "u-loading-icon": "../u-loading-icon/u-loading-icon", - "u-icon": "../u-icon/u-icon" + "up-icon": "../u-icon/u-icon" } } \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-button/u-button.wxml b/dist/build/mp-weixin/node-modules/uview-plus/components/u-button/u-button.wxml index 2365f74..7ae4bac 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-button/u-button.wxml +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-button/u-button.wxml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-button/u-button.wxss b/dist/build/mp-weixin/node-modules/uview-plus/components/u-button/u-button.wxss index 64ba73d..f0b9661 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-button/u-button.wxss +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-button/u-button.wxss @@ -1 +1 @@ -.u-empty.data-v-aa49867e,.u-empty__wrap.data-v-aa49867e,.u-tabs.data-v-aa49867e,.u-tabs__wrapper.data-v-aa49867e,.u-tabs__wrapper__scroll-view-wrapper.data-v-aa49867e,.u-tabs__wrapper__scroll-view.data-v-aa49867e,.u-tabs__wrapper__nav.data-v-aa49867e,.u-tabs__wrapper__nav__line.data-v-aa49867e,.up-empty.data-v-aa49867e,.up-empty__wrap.data-v-aa49867e,.up-tabs.data-v-aa49867e,.up-tabs__wrapper.data-v-aa49867e,.up-tabs__wrapper__scroll-view-wrapper.data-v-aa49867e,.up-tabs__wrapper__scroll-view.data-v-aa49867e,.up-tabs__wrapper__nav.data-v-aa49867e,.up-tabs__wrapper__nav__line.data-v-aa49867e{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-button.data-v-aa49867e{width:100%;white-space:nowrap}.u-button__text.data-v-aa49867e{white-space:nowrap;line-height:1}.u-button.data-v-aa49867e:before{position:absolute;top:50%;left:50%;width:100%;height:100%;border:inherit;border-radius:inherit;transform:translate(-50%,-50%);opacity:0;content:" ";background-color:#000;border-color:#000}.u-button--active.data-v-aa49867e:before{opacity:.15}.u-button__icon+.u-button__text.data-v-aa49867e:not(:empty),.u-button__loading-text.data-v-aa49867e{margin-left:4px}.u-button--plain.u-button--primary.data-v-aa49867e{color:#3c9cff}.u-button--plain.u-button--info.data-v-aa49867e{color:#909399}.u-button--plain.u-button--success.data-v-aa49867e{color:#5ac725}.u-button--plain.u-button--error.data-v-aa49867e{color:#f56c6c}.u-button--plain.u-button--warning.data-v-aa49867e{color:#f9ae3d}.u-button.data-v-aa49867e{height:40px;position:relative;align-items:center;justify-content:center;display:flex;box-sizing:border-box;flex-direction:row}.u-button__text.data-v-aa49867e{font-size:15px}.u-button__loading-text.data-v-aa49867e{font-size:15px;margin-left:4px}.u-button--large.data-v-aa49867e{width:100%;height:50px;padding:0 15px}.u-button--normal.data-v-aa49867e{padding:0 12px;font-size:14px}.u-button--small.data-v-aa49867e{min-width:60px;height:30px;padding:0 8px;font-size:12px}.u-button--mini.data-v-aa49867e{height:22px;font-size:10px;min-width:50px;padding:0 8px}.u-button--disabled.data-v-aa49867e{opacity:.5}.u-button--info.data-v-aa49867e{color:#323233;background-color:#fff;border-color:#ebedf0;border-width:1px;border-style:solid}.u-button--success.data-v-aa49867e{color:#fff;background-color:#5ac725;border-color:#5ac725;border-width:1px;border-style:solid}.u-button--primary.data-v-aa49867e{color:#fff;background-color:#3c9cff;border-color:#3c9cff;border-width:1px;border-style:solid}.u-button--error.data-v-aa49867e{color:#fff;background-color:#f56c6c;border-color:#f56c6c;border-width:1px;border-style:solid}.u-button--warning.data-v-aa49867e{color:#fff;background-color:#f9ae3d;border-color:#f9ae3d;border-width:1px;border-style:solid}.u-button--block.data-v-aa49867e{display:flex;flex-direction:row;width:100%}.u-button--circle.data-v-aa49867e{border-radius:100px}.u-button--square.data-v-aa49867e{border-radius:3px}.u-button__icon.data-v-aa49867e{min-width:1em;line-height:inherit!important;vertical-align:top}.u-button--plain.data-v-aa49867e{background-color:#fff}.u-button--hairline.data-v-aa49867e{border-width:.5px!important} +.u-button.data-v-24289a9d{width:100%;white-space:nowrap}.u-button__text.data-v-24289a9d{white-space:nowrap;line-height:1}.u-button.data-v-24289a9d:before{position:absolute;top:50%;left:50%;width:100%;height:100%;border:inherit;border-radius:inherit;transform:translate(-50%,-50%);opacity:0;content:" ";background-color:#000;border-color:#000}.u-button--active.data-v-24289a9d:before{opacity:.15}.u-button__icon+.u-button__text.data-v-24289a9d:not(:empty),.u-button__loading-text.data-v-24289a9d{margin-left:4px}.u-button--plain.u-button--primary.data-v-24289a9d{color:#3c9cff}.u-button--plain.u-button--info.data-v-24289a9d{color:#909399}.u-button--plain.u-button--success.data-v-24289a9d{color:#5ac725}.u-button--plain.u-button--error.data-v-24289a9d{color:#f56c6c}.u-button--plain.u-button--warning.data-v-24289a9d{color:#f9ae3d}.u-button.data-v-24289a9d{height:40px;position:relative;align-items:center;justify-content:center;display:flex;box-sizing:border-box;flex-direction:row}.u-button__text.data-v-24289a9d{font-size:15px}.u-button__loading-text.data-v-24289a9d{font-size:15px;margin-left:4px}.u-button--large.data-v-24289a9d{width:100%;height:50px;padding:0 15px}.u-button--normal.data-v-24289a9d{padding:0 12px;font-size:14px}.u-button--small.data-v-24289a9d{min-width:60px;height:30px;padding:0 8px;font-size:12px}.u-button--mini.data-v-24289a9d{height:22px;font-size:10px;min-width:50px;padding:0 8px}.u-button--disabled.data-v-24289a9d{opacity:.5}.u-button--info.data-v-24289a9d{color:#323233;background-color:#fff;border-color:#ebedf0;border-width:1px;border-style:solid}.u-button--success.data-v-24289a9d{color:#fff;background-color:#5ac725;border-color:#5ac725;border-width:1px;border-style:solid}.u-button--primary.data-v-24289a9d{color:#fff;background-color:#3c9cff;border-color:#3c9cff;border-width:1px;border-style:solid}.u-button--error.data-v-24289a9d{color:#fff;background-color:#f56c6c;border-color:#f56c6c;border-width:1px;border-style:solid}.u-button--warning.data-v-24289a9d{color:#fff;background-color:#f9ae3d;border-color:#f9ae3d;border-width:1px;border-style:solid}.u-button--block.data-v-24289a9d{display:flex;flex-direction:row;width:100%}.u-button--circle.data-v-24289a9d{border-radius:100px}.u-button--square.data-v-24289a9d{border-radius:3px}.u-button__icon.data-v-24289a9d{min-width:1em;line-height:inherit!important;vertical-align:top}.u-button--plain.data-v-24289a9d{background-color:#fff}.u-button--hairline.data-v-24289a9d{border-width:.5px!important} diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.js b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.js new file mode 100644 index 0000000..66ff683 --- /dev/null +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../../common/vendor.js"),t={name:"up-cascader",props:{show:{type:Boolean,default:!1},data:{type:Array,default:()=>[]},modelValue:{type:Array,default:()=>[]},valueKey:{type:String,default:"value"},labelKey:{type:String,default:"label"},childrenKey:{type:String,default:"children"},maskCloseAble:{type:Boolean,default:!0},zIndex:{type:[String,Number],default:0},autoClose:{type:Boolean,default:!1},headerDirection:{type:String,default:"row"},optionsCols:{type:[Number],default:2},closeable:{type:Boolean,default:!0}},data:()=>({levelList:[],selectedValueIndexs:[],tabsIndex:0,popupShow:!1,confirmValues:[]}),watch:{data:{handler(){this.initLevelList(),this.setDefaultValue()},immediate:!0},show(){this.popupShow=this.show},modelValue:{handler(){this.setDefaultValue()},immediate:!0}},computed:{isChange(){return this.tabsIndex>1},genTabsList(){let e=[{name:"请选择"}];for(let t=0;t0&&e.push({name:"请选择"}))}return e},uZIndex(){return this.zIndex?this.zIndex:this.$u.zIndex.popup}},emits:["update:modelValue","update:show","change","confirm","cancel"],methods:{t:e.t$1,initLevelList(){this.data&&this.data.length>0&&(this.levelList=[this.data],this.selectedValueIndexs=[])},setDefaultValue(){if(!this.data||0==this.data.length)return;if(!this.modelValue||0==this.modelValue.length)return;this.selectedValueIndexs=[],this.levelList=[];let e=this.data;for(let t=0;te[this.valueKey]===s);if(this.levelList[t]=e,-1===l)break;if(this.selectedValueIndexs.push(l),!e[l][this.childrenKey])break;e=e[l][this.childrenKey]}},close(){this.$emit("cancel"),this.$emit("update:show",!1)},tabsChange(e){},levelChange(e,t){this.$set(this.selectedValueIndexs,e,t),this.selectedValueIndexs.splice(e+1),this.tabsIndex=Math.min(this.tabsIndex,e),this.levelList.splice(e+1);const s=this.levelList[e][t];s&&s[this.childrenKey]&&s[this.childrenKey].length>0?(this.levelList.length<=e+1?this.levelList.push(s[this.childrenKey]):this.$set(this.levelList,e+1,s[this.childrenKey]),this.tabsIndex=e+1):this.autoClose?(this.emitChange(),this.handleConfirm()):this.emitChange(!1)},emitChange(e=!0){const t=[];for(let s=0;s"../u-steps-item/u-steps-item.js")+(()=>"../u-steps/u-steps.js")+(()=>"../u-tabs/u-tabs.js")+(()=>"../u-icon/u-icon.js")+(()=>"../u-cell/u-cell.js")+(()=>"../u-cell-group/u-cell-group.js")+(()=>"../u-button/u-button.js")+(()=>"../u-popup/u-popup.js"))();const s=e._export_sfc(t,[["render",function(t,s,l,i,a,n){return e.e({a:"column"==l.headerDirection},"column"==l.headerDirection?e.e({b:a.popupShow},a.popupShow?{c:e.f(n.genTabsList,(t,s,l)=>({a:e.o(e=>a.tabsIndex=s),b:"2b4d73a7-2-"+l+",2b4d73a7-1",c:e.p({title:t.name})})),d:e.o(e=>a.tabsIndex=e),e:e.p({dot:!0,direction:"column",current:a.tabsIndex})}:{}):e.e({f:a.popupShow},a.popupShow?{g:e.sr("tabs","2b4d73a7-3,2b4d73a7-0"),h:e.o(n.tabsChange),i:e.o(e=>a.tabsIndex=e),j:e.p({list:n.genTabsList,scrollable:!0,current:a.tabsIndex})}:{}),{k:e.f(a.levelList,(t,s,i)=>e.e({a:2==l.optionsCols||s==a.tabsIndex},2==l.optionsCols||s==a.tabsIndex?e.e({b:0===s||void 0!==a.selectedValueIndexs[s-1]},0===s||void 0!==a.selectedValueIndexs[s-1]?{c:e.f(t,(t,o,h)=>e.e({a:a.selectedValueIndexs[s]===o},a.selectedValueIndexs[s]===o?{b:"2b4d73a7-6-"+i+"-"+h+",2b4d73a7-5-"+i+"-"+h,c:e.p({size:"17",name:"checkbox-mark"})}:{},{d:o,e:e.o(e=>n.levelChange(s,o),o),f:"2b4d73a7-5-"+i+"-"+h+",2b4d73a7-4-"+i,g:e.p({title:t[l.labelKey],arrow:!1,index:o})})),d:"2b4d73a7-4-"+i+",2b4d73a7-0"}:{},{e:2==l.optionsCols?"33.33333%":"750rpx"}):{},{f:s})),l:n.isChange?1:"",m:2==l.optionsCols&&n.isChange?"translateX(-33.3333333%)":"",n:e.t(n.t("up.common.cancel")),o:e.o(n.handleCancel),p:e.p({type:"default"}),q:e.t(n.t("up.common.confirm")),r:e.o(n.handleConfirm),s:e.p({type:"primary"}),t:e.o(n.close),v:e.p({show:a.popupShow,mode:"bottom",popup:!1,mask:!0,closeable:l.closeable,"safe-area-inset-bottom":!0,"close-icon-color":"#ffffff","z-index":n.uZIndex,maskCloseAble:l.maskCloseAble})})}]]);wx.createComponent(s); diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.json b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.json new file mode 100644 index 0000000..a69aa76 --- /dev/null +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.json @@ -0,0 +1,13 @@ +{ + "component": true, + "usingComponents": { + "up-steps-item": "../u-steps-item/u-steps-item", + "up-steps": "../u-steps/u-steps", + "up-tabs": "../u-tabs/u-tabs", + "up-icon": "../u-icon/u-icon", + "up-cell": "../u-cell/u-cell", + "up-cell-group": "../u-cell-group/u-cell-group", + "up-button": "../u-button/u-button", + "up-popup": "../u-popup/u-popup" + } +} \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.wxml b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.wxml new file mode 100644 index 0000000..560ac27 --- /dev/null +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.wxml @@ -0,0 +1 @@ +{{n}}{{q}} \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.wxss b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.wxss new file mode 100644 index 0000000..5386f18 --- /dev/null +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.wxss @@ -0,0 +1 @@ +.area-box{width:100%;overflow:hidden;height:800rpx}.area-box>view{width:150%;transition:transform .3s ease-in-out 0s;transform:translate(0)}.area-box .area-item{height:800rpx}.u-cascader-action{border-top:1px solid #eee} diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.js b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.js new file mode 100644 index 0000000..d5d9395 --- /dev/null +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../../common/vendor.js"),t={name:"u-cell-group",mixins:[e.mpMixin,e.mixin,e.props$20],methods:{addStyle:e.addStyle}};if(!Array){e.resolveComponent("u-line")()}Math;const o=e._export_sfc(t,[["render",function(t,o,r,n,s,d){return e.e({a:t.title},t.title?{b:e.t(t.title)}:{},{c:t.border},(t.border,{}),{d:e.s(d.addStyle(t.customStyle)),e:e.n(t.customClass)})}],["__scopeId","data-v-30d1a1cf"]]);wx.createComponent(o); diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.json b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.json new file mode 100644 index 0000000..55b89cc --- /dev/null +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.json @@ -0,0 +1,6 @@ +{ + "component": true, + "usingComponents": { + "u-line": "../u-line/u-line" + } +} \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.wxml b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.wxml new file mode 100644 index 0000000..5135732 --- /dev/null +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.wxml @@ -0,0 +1 @@ +{{b}} \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.wxss b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.wxss new file mode 100644 index 0000000..9df66d1 --- /dev/null +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.wxss @@ -0,0 +1 @@ +.u-cell-group.data-v-30d1a1cf{flex:1}.u-cell-group__title.data-v-30d1a1cf{padding:16px 16px 8px}.u-cell-group__title__text.data-v-30d1a1cf{font-size:15px;line-height:16px;color:#303133}.u-cell-group__wrapper.data-v-30d1a1cf{position:relative} diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.js b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.js new file mode 100644 index 0000000..81a8a3e --- /dev/null +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../../common/vendor.js"),t={name:"u-cell",data:()=>({}),mixins:[e.mpMixin,e.mixin,e.props$19],computed:{titleTextStyle(){return e.addStyle(this.titleStyle)}},emits:["click"],methods:{addStyle:e.addStyle,testEmpty:e.test.empty,clickHandler(e){this.disabled||(this.$emit("click",{name:this.name}),this.openPage(),this.stop&&this.preventEvent(e))}}};if(!Array){(e.resolveComponent("up-icon")+e.resolveComponent("u-line"))()}Math||((()=>"../u-icon/u-icon.js")+(()=>"../u-line/u-line.js"))();const l=e._export_sfc(t,[["render",function(t,l,i,s,n,c){return e.e({a:t.$slots.icon||t.icon},t.$slots.icon||t.icon?e.e({b:t.$slots.icon},t.$slots.icon?{}:{c:e.p({name:t.icon,"custom-style":t.iconStyle,size:"large"===t.size?22:18})}):{},{d:t.$slots.title||!t.title},t.$slots.title||!t.title?{}:{e:e.t(t.title),f:e.s(c.titleTextStyle),g:e.n(t.required&&"u-cell--required"),h:e.n(t.disabled&&"u-cell--disabled"),i:e.n("large"===t.size&&"u-cell__title-text--large")},{j:t.label},t.label?{k:e.t(t.label),l:e.n(t.disabled&&"u-cell--disabled"),m:e.n("large"===t.size&&"u-cell__label--large")}:{},{n:!c.testEmpty(t.value)},c.testEmpty(t.value)?{}:{o:e.t(t.value),p:e.n(t.disabled&&"u-cell--disabled"),q:e.n("large"===t.size&&"u-cell__value--large")},{r:t.$slots["right-icon"]||t.isLink},t.$slots["right-icon"]||t.isLink?e.e({s:t.rightIcon&&!t.$slots["right-icon"]},t.rightIcon&&!t.$slots["right-icon"]?{t:e.p({name:t.rightIcon,"custom-style":t.rightIconStyle,color:t.disabled?"#c8c9cc":"info",size:"large"===t.size?18:16})}:{},{v:e.n(`u-cell__right-icon-wrap--${t.arrowDirection}`)}):{},{w:t.$slots.righticon},t.$slots.righticon?{x:e.n(`u-cell__right-icon-wrap--${t.arrowDirection}`)}:{},{y:e.n(t.center&&"u-cell--center"),z:e.n("large"===t.size&&"u-cell__body--large"),A:t.border},(t.border,{}),{B:e.n(t.customClass),C:e.s(c.addStyle(t.customStyle)),D:t.disabled||!t.clickable&&!t.isLink?"":"u-cell--clickable",E:e.o((...e)=>c.clickHandler&&c.clickHandler(...e))})}],["__scopeId","data-v-96e46153"]]);wx.createComponent(l); diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.json b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.json new file mode 100644 index 0000000..0d0f007 --- /dev/null +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.json @@ -0,0 +1,7 @@ +{ + "component": true, + "usingComponents": { + "up-icon": "../u-icon/u-icon", + "u-line": "../u-line/u-line" + } +} \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.wxml b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.wxml new file mode 100644 index 0000000..7e6638d --- /dev/null +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.wxml @@ -0,0 +1 @@ +{{e}}{{k}}{{o}} \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.wxss b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.wxss new file mode 100644 index 0000000..c47421f --- /dev/null +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.wxss @@ -0,0 +1 @@ +.u-cell__body.data-v-96e46153{display:flex;flex-direction:row;box-sizing:border-box;padding:13px 15px;font-size:15px;color:#303133;align-items:center}.u-cell__body__content.data-v-96e46153{display:flex;flex-direction:row;align-items:center;flex:1}.u-cell__body--large.data-v-96e46153{padding-top:13px;padding-bottom:13px}.u-cell__left-icon-wrap.data-v-96e46153,.u-cell__right-icon-wrap.data-v-96e46153{display:flex;flex-direction:row;align-items:center;font-size:16px}.u-cell__left-icon-wrap.data-v-96e46153{margin-right:4px}.u-cell__right-icon-wrap.data-v-96e46153{margin-left:4px;transition:transform .3s}.u-cell__right-icon-wrap--up.data-v-96e46153{transform:rotate(-90deg)}.u-cell__right-icon-wrap--down.data-v-96e46153{transform:rotate(90deg)}.u-cell__title.data-v-96e46153{flex:1;display:flex;flex-direction:column}.u-cell__title-text.data-v-96e46153{font-size:15px;line-height:22px;color:#303133}.u-cell__title-text--large.data-v-96e46153{font-size:16px}.u-cell__label.data-v-96e46153{margin-top:5px;font-size:12px;color:#909193;line-height:18px}.u-cell__label--large.data-v-96e46153{font-size:14px}.u-cell__value.data-v-96e46153{text-align:right;margin-left:auto;font-size:14px;line-height:24px;color:#606266}.u-cell__value--large.data-v-96e46153{font-size:15px}.u-cell--required.data-v-96e46153{overflow:visible;display:flex;flex-direction:row;align-items:center}.u-cell--required.data-v-96e46153:before{position:absolute;content:"*";left:-8px;margin-top:4rpx;font-size:14px;color:#f56c6c}.u-cell--clickable.data-v-96e46153{background-color:#f3f4f6}.u-cell--disabled.data-v-96e46153{color:#c8c9cc;cursor:not-allowed}.u-cell--center.data-v-96e46153{align-items:center} diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.js b/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.js index dd3e875..5fcd215 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.js +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.js @@ -1 +1 @@ -"use strict";const e=require("../../../../common/vendor.js"),t={name:"u-checkbox-group",mixins:[e.mpMixin,e.mixin,e.props$8],computed:{parentData(){return[this.modelValue,this.disabled,this.inactiveColor,this.activeColor,this.size,this.labelDisabled,this.shape,this.iconSize,this.borderBottom,this.placement]},bemClass(){return this.bem("checkbox-group",["placement"])}},watch:{parentData:{handler(){this.children.length&&this.children.map((e=>{"function"==typeof e.init&&e.init()}))},deep:!0}},data:()=>({}),created(){this.children=[]},emits:["update:modelValue","change"],methods:{unCheckedOther(e){const t=[];this.children.map((e=>{e.isChecked&&t.push(e.name)})),this.$emit("change",t),this.$emit("update:modelValue",t)}}};const i=e._export_sfc(t,[["render",function(t,i,s,n,a,h){return{a:e.n(h.bemClass)}}],["__scopeId","data-v-f14a800c"]]);wx.createComponent(i); +"use strict";const e=require("../../../../common/vendor.js"),t={name:"u-checkbox-group",mixins:[e.mpMixin,e.mixin,e.props$9],computed:{parentData(){return[this.modelValue,this.disabled,this.inactiveColor,this.activeColor,this.size,this.labelDisabled,this.shape,this.iconSize,this.borderBottom,this.placement]},bemClass(){return this.bem("checkbox-group",["placement"])}},watch:{parentData:{handler(){this.children.length&&this.children.map(e=>{"function"==typeof e.init&&e.init()})},deep:!0}},data:()=>({}),created(){this.children=[]},emits:["update:modelValue","change"],methods:{unCheckedOther(e){const t=[];this.children.map(e=>{e.isChecked&&t.push(e.name)}),this.$emit("update:modelValue",t),this.$emit("change",t,{isChecked:e.$data.isChecked,name:e.$props.name})}}};const i=e._export_sfc(t,[["render",function(t,i,s,a,n,h){return{a:e.n(h.bemClass)}}],["__scopeId","data-v-bfd10e20"]]);wx.createComponent(i); diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.wxml b/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.wxml index 483279b..99a9181 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.wxml +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.wxml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.wxss b/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.wxss index 5f4ad2b..b0e8d38 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.wxss +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.wxss @@ -1 +1 @@ -.u-empty.data-v-f14a800c,.u-empty__wrap.data-v-f14a800c,.u-tabs.data-v-f14a800c,.u-tabs__wrapper.data-v-f14a800c,.u-tabs__wrapper__scroll-view-wrapper.data-v-f14a800c,.u-tabs__wrapper__scroll-view.data-v-f14a800c,.u-tabs__wrapper__nav.data-v-f14a800c,.u-tabs__wrapper__nav__line.data-v-f14a800c,.up-empty.data-v-f14a800c,.up-empty__wrap.data-v-f14a800c,.up-tabs.data-v-f14a800c,.up-tabs__wrapper.data-v-f14a800c,.up-tabs__wrapper__scroll-view-wrapper.data-v-f14a800c,.up-tabs__wrapper__scroll-view.data-v-f14a800c,.up-tabs__wrapper__nav.data-v-f14a800c,.up-tabs__wrapper__nav__line.data-v-f14a800c{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-checkbox-group--row.data-v-f14a800c{display:flex;flex-flow:row wrap}.u-checkbox-group--column.data-v-f14a800c{display:flex;flex-direction:column} +.u-checkbox-group--row.data-v-bfd10e20{display:flex;flex-flow:row wrap}.u-checkbox-group--column.data-v-bfd10e20{display:flex;flex-direction:column} diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.js b/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.js index 4e48d07..9c951cb 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.js +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.js @@ -1 +1 @@ -"use strict";const e=require("../../../../common/vendor.js"),t={name:"u-checkbox",mixins:[e.mpMixin,e.mixin,e.props$7],data:()=>({isChecked:!1,parentData:{iconSize:12,labelDisabled:null,disabled:null,shape:"square",activeColor:null,inactiveColor:null,size:18,modelValue:null,iconColor:null,placement:"row",borderBottom:!1,iconPlacement:"left"}}),computed:{elDisabled(){return""!==this.disabled?this.disabled:null!==this.parentData.disabled&&this.parentData.disabled},elLabelDisabled(){return""!==this.labelDisabled?this.labelDisabled:null!==this.parentData.labelDisabled&&this.parentData.labelDisabled},elSize(){return this.size?this.size:this.parentData.size?this.parentData.size:21},elIconSize(){return this.iconSize?this.iconSize:this.parentData.iconSize?this.parentData.iconSize:12},elActiveColor(){return this.activeColor?this.activeColor:this.parentData.activeColor?this.parentData.activeColor:"#2979ff"},elInactiveColor(){return this.inactiveColor?this.inactiveColor:this.parentData.inactiveColor?this.parentData.inactiveColor:"#c8c9cc"},elLabelColor(){return this.labelColor?this.labelColor:this.parentData.labelColor?this.parentData.labelColor:"#606266"},elShape(){return this.shape?this.shape:this.parentData.shape?this.parentData.shape:"circle"},elLabelSize(){return e.addUnit(this.labelSize?this.labelSize:this.parentData.labelSize?this.parentData.labelSize:"15")},elIconColor(){const e=this.iconColor?this.iconColor:this.parentData.iconColor?this.parentData.iconColor:"#ffffff";return this.elDisabled?this.isChecked?this.elInactiveColor:"transparent":this.isChecked?e:"transparent"},iconClasses(){let e=[];return e.push("u-checkbox__icon-wrap--"+this.elShape),this.elDisabled&&e.push("u-checkbox__icon-wrap--disabled"),this.isChecked&&this.elDisabled&&e.push("u-checkbox__icon-wrap--disabled--checked"),e},iconWrapStyle(){const t={};return t.backgroundColor=this.isChecked&&!this.elDisabled?this.elActiveColor:"#ffffff",t.borderColor=this.isChecked&&!this.elDisabled?this.elActiveColor:this.elInactiveColor,t.width=e.addUnit(this.elSize),t.height=e.addUnit(this.elSize),this.usedAlone||"right"===this.parentData.iconPlacement&&(t.marginRight=0),t},checkboxStyle(){const t={};return this.usedAlone||(this.parentData.borderBottom&&this.parentData.placement,this.parentData.borderBottom&&"column"===this.parentData.placement&&(t.paddingBottom="8px")),e.deepMerge(t,e.addStyle(this.customStyle))}},mounted(){this.init()},emits:["change","update:checked"],methods:{init(){if(this.usedAlone)this.checked&&(this.isChecked=!0);else{this.updateParentData(),this.parent;const t=this.parentData.modelValue;this.checked?this.isChecked=!0:!this.usedAlone&&e.test.array(t)&&(this.isChecked=t.some((e=>e===this.name)))}},updateParentData(){this.getParentData("u-checkbox-group")},wrapperClickHandler(e){(this.usedAlone||"right"===this.parentData.iconPlacement)&&this.iconClickHandler(e)},iconClickHandler(e){this.preventEvent(e),this.elDisabled||this.setRadioCheckedStatus()},labelClickHandler(e){this.preventEvent(e),this.elLabelDisabled||this.elDisabled||this.setRadioCheckedStatus()},emitEvent(){this.$emit("change",this.isChecked),this.usedAlone&&this.$emit("update:checked",this.isChecked),this.$nextTick((()=>{e.formValidate(this,"change")}))},setRadioCheckedStatus(){this.isChecked=!this.isChecked,this.emitEvent(),this.usedAlone||"function"==typeof this.parent.unCheckedOther&&this.parent.unCheckedOther(this)}},watch:{checked(e,t){e!==this.isChecked&&(this.isChecked=e)}}};if(!Array){e.resolveComponent("u-icon")()}Math;const i=e._export_sfc(t,[["render",function(t,i,a,l,s,n){return{a:e.p({name:"checkbox-mark",size:n.elIconSize,color:n.elIconColor}),b:e.r("icon",{elIconSize:n.elIconSize,elIconColor:n.elIconColor}),c:e.o(((...e)=>n.iconClickHandler&&n.iconClickHandler(...e))),d:e.n(n.iconClasses),e:e.s(n.iconWrapStyle),f:e.t(t.label),g:n.elDisabled?n.elInactiveColor:n.elLabelColor,h:n.elLabelSize,i:n.elLabelSize,j:e.r("label",{label:t.label,elDisabled:n.elDisabled}),k:e.o(((...e)=>n.labelClickHandler&&n.labelClickHandler(...e))),l:e.s(n.checkboxStyle),m:e.o(((...e)=>n.wrapperClickHandler&&n.wrapperClickHandler(...e))),n:e.n(`u-checkbox-label--${s.parentData.iconPlacement}`),o:e.n(s.parentData.borderBottom&&"column"===s.parentData.placement&&"u-border-bottom")}}],["__scopeId","data-v-79f594db"]]);wx.createComponent(i); +"use strict";const e=require("../../../../common/vendor.js"),t={name:"u-checkbox",mixins:[e.mpMixin,e.mixin,e.props$8],data:()=>({isChecked:!1,parentData:{iconSize:12,labelDisabled:null,disabled:null,shape:"square",activeColor:null,inactiveColor:null,size:18,modelValue:null,iconColor:null,placement:"row",borderBottom:!1,iconPlacement:"left"}}),computed:{elDisabled(){return""!==this.disabled?this.disabled:null!==this.parentData.disabled&&this.parentData.disabled},elLabelDisabled(){return""!==this.labelDisabled?this.labelDisabled:null!==this.parentData.labelDisabled&&this.parentData.labelDisabled},elSize(){return this.size?this.size:this.parentData.size?this.parentData.size:21},elIconSize(){return this.iconSize?this.iconSize:this.parentData.iconSize?this.parentData.iconSize:12},elActiveColor(){return this.activeColor?this.activeColor:this.parentData.activeColor?this.parentData.activeColor:"#2979ff"},elInactiveColor(){return this.inactiveColor?this.inactiveColor:this.parentData.inactiveColor?this.parentData.inactiveColor:"#c8c9cc"},elLabelColor(){return this.labelColor?this.labelColor:this.parentData.labelColor?this.parentData.labelColor:"#606266"},elShape(){return this.shape?this.shape:this.parentData.shape?this.parentData.shape:"circle"},elLabelSize(){return e.addUnit(this.labelSize?this.labelSize:this.parentData.labelSize?this.parentData.labelSize:"15")},elIconColor(){const e=this.iconColor?this.iconColor:this.parentData.iconColor?this.parentData.iconColor:"#ffffff";return this.elDisabled?this.isChecked?this.elInactiveColor:"transparent":this.isChecked?e:"transparent"},iconClasses(){let e=[];return e.push("u-checkbox__icon-wrap--"+this.elShape),this.elDisabled&&e.push("u-checkbox__icon-wrap--disabled"),this.isChecked&&this.elDisabled&&e.push("u-checkbox__icon-wrap--disabled--checked"),e},iconWrapStyle(){const t={};return t.backgroundColor=this.isChecked&&!this.elDisabled?this.elActiveColor:"#ffffff",t.borderColor=this.isChecked&&!this.elDisabled?this.elActiveColor:this.elInactiveColor,t.width=e.addUnit(this.elSize),t.height=e.addUnit(this.elSize),this.usedAlone||"right"===this.parentData.iconPlacement&&(t.marginRight=0),t},checkboxStyle(){const t={};return this.usedAlone||(this.parentData.borderBottom&&this.parentData.placement,this.parentData.borderBottom&&"column"===this.parentData.placement&&(t.paddingBottom="8px")),e.deepMerge(t,e.addStyle(this.customStyle))}},mounted(){this.init()},emits:["change","update:checked"],methods:{init(){if(this.usedAlone)this.checked&&(this.isChecked=!0);else{this.updateParentData(),this.parent;let t="";t=this.parentData.modelValue,this.checked?this.isChecked=!0:!this.usedAlone&&e.test.array(t)&&(this.isChecked=t.some(e=>e===this.name))}},updateParentData(){this.getParentData("u-checkbox-group")},wrapperClickHandler(e){(this.usedAlone||"right"===this.parentData.iconPlacement)&&this.iconClickHandler(e)},iconClickHandler(e){this.preventEvent(e),this.elDisabled||this.setRadioCheckedStatus()},labelClickHandler(e){this.preventEvent(e),this.elLabelDisabled||this.elDisabled||this.setRadioCheckedStatus()},emitEvent(){this.$emit("change",this.isChecked,{name:this.name}),this.usedAlone&&this.$emit("update:checked",this.isChecked),this.$nextTick(()=>{e.formValidate(this,"change")})},setRadioCheckedStatus(){this.isChecked=!this.isChecked,this.emitEvent(),this.usedAlone||"function"==typeof this.parent.unCheckedOther&&this.parent.unCheckedOther(this)}},watch:{checked(e,t){e!==this.isChecked&&(this.isChecked=e)}}};if(!Array){e.resolveComponent("up-icon")()}Math;const i=e._export_sfc(t,[["render",function(t,i,a,l,s,n){return{a:e.p({name:"checkbox-mark",size:n.elIconSize,color:n.elIconColor}),b:e.r("icon",{elIconSize:n.elIconSize,elIconColor:n.elIconColor}),c:e.o((...e)=>n.iconClickHandler&&n.iconClickHandler(...e)),d:e.n(n.iconClasses),e:e.s(n.iconWrapStyle),f:e.t(t.label),g:n.elDisabled?n.elInactiveColor:n.elLabelColor,h:n.elLabelSize,i:n.elLabelSize,j:e.r("label",{label:t.label,elDisabled:n.elDisabled}),k:e.o((...e)=>n.labelClickHandler&&n.labelClickHandler(...e)),l:e.s(n.checkboxStyle),m:e.o((...e)=>n.wrapperClickHandler&&n.wrapperClickHandler(...e)),n:e.n(`u-checkbox-label--${s.parentData.iconPlacement}`),o:e.n(s.parentData.borderBottom&&"column"===s.parentData.placement&&"u-border-bottom")}}],["__scopeId","data-v-131e8247"]]);wx.createComponent(i); diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.json b/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.json index fcde44c..e53deb1 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.json +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.json @@ -1,6 +1,6 @@ { "component": true, "usingComponents": { - "u-icon": "../u-icon/u-icon" + "up-icon": "../u-icon/u-icon" } } \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.wxml b/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.wxml index 9f93928..4cdf8fe 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.wxml +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.wxml @@ -1 +1 @@ -{{f}} \ No newline at end of file +{{f}} \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.wxss b/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.wxss index 05294d4..c7545e8 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.wxss +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.wxss @@ -1 +1 @@ -.u-empty.data-v-79f594db,.u-empty__wrap.data-v-79f594db,.u-tabs.data-v-79f594db,.u-tabs__wrapper.data-v-79f594db,.u-tabs__wrapper__scroll-view-wrapper.data-v-79f594db,.u-tabs__wrapper__scroll-view.data-v-79f594db,.u-tabs__wrapper__nav.data-v-79f594db,.u-tabs__wrapper__nav__line.data-v-79f594db,.up-empty.data-v-79f594db,.up-empty__wrap.data-v-79f594db,.up-tabs.data-v-79f594db,.up-tabs__wrapper.data-v-79f594db,.up-tabs__wrapper__scroll-view-wrapper.data-v-79f594db,.up-tabs__wrapper__scroll-view.data-v-79f594db,.up-tabs__wrapper__nav.data-v-79f594db,.up-tabs__wrapper__nav__line.data-v-79f594db{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-checkbox.data-v-79f594db{display:flex;overflow:hidden;flex-direction:row;align-items:center;margin-bottom:5px;margin-top:5px}.u-checkbox-label--left.data-v-79f594db{flex-direction:row}.u-checkbox-label--right.data-v-79f594db{flex-direction:row-reverse;justify-content:space-between}.u-checkbox__icon-wrap.data-v-79f594db{box-sizing:border-box;transition-property:border-color,background-color,color;transition-duration:.2s;color:#606266;display:flex;flex-direction:row;align-items:center;justify-content:center;color:transparent;text-align:center;margin-right:6px;font-size:6px;border-width:1px;border-color:#c8c9cc;border-style:solid}.u-checkbox__icon-wrap--circle.data-v-79f594db{border-radius:100%}.u-checkbox__icon-wrap--square.data-v-79f594db{border-radius:3px}.u-checkbox__icon-wrap--checked.data-v-79f594db{color:#fff;background-color:red;border-color:#2979ff}.u-checkbox__icon-wrap--disabled.data-v-79f594db{background-color:#ebedf0!important}.u-checkbox__icon-wrap--disabled--checked.data-v-79f594db{color:#c8c9cc!important}.u-checkbox__label.data-v-79f594db{word-wrap:break-word;margin-left:5px;margin-right:12px;color:#606266;font-size:15px}.u-checkbox__label--disabled.data-v-79f594db{color:#c8c9cc} +.u-checkbox.data-v-131e8247{display:flex;overflow:hidden;flex-direction:row;align-items:center;margin-bottom:5px;margin-top:5px}.u-checkbox-label--left.data-v-131e8247{flex-direction:row}.u-checkbox-label--right.data-v-131e8247{flex-direction:row-reverse;justify-content:space-between}.u-checkbox__icon-wrap.data-v-131e8247{box-sizing:border-box;transition-property:border-color,background-color,color;transition-duration:.2s;color:#606266;display:flex;flex-direction:row;align-items:center;justify-content:center;color:transparent;text-align:center;margin-right:6px;font-size:6px;border-width:1px;border-color:#c8c9cc;border-style:solid}.u-checkbox__icon-wrap--circle.data-v-131e8247{border-radius:100%}.u-checkbox__icon-wrap--square.data-v-131e8247{border-radius:3px}.u-checkbox__icon-wrap--checked.data-v-131e8247{color:#fff;background-color:red;border-color:#2979ff}.u-checkbox__icon-wrap--disabled.data-v-131e8247{background-color:#ebedf0!important}.u-checkbox__icon-wrap--disabled--checked.data-v-131e8247{color:#c8c9cc!important}.u-checkbox__label.data-v-131e8247{word-wrap:break-word;margin-left:5px;margin-right:12px;color:#606266;font-size:15px}.u-checkbox__label--disabled.data-v-131e8247{color:#c8c9cc} diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-icon/u-icon.js b/dist/build/mp-weixin/node-modules/uview-plus/components/u-icon/u-icon.js index 3b8e648..08314a9 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-icon/u-icon.js +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-icon/u-icon.js @@ -1 +1 @@ -"use strict";const t=require("../../../../common/vendor.js"),i={name:"u-icon",data:()=>({}),emits:["click"],mixins:[t.mpMixin,t.mixin,t.props$1],computed:{uClasses(){let i=[];return i.push(this.customPrefix+"-"+this.name),"uicon"==this.customPrefix?i.push("u-iconfont"):i.push(this.customPrefix),this.color&&t.config.type.includes(this.color)&&i.push("u-icon__icon--"+this.color),i},iconStyle(){let i={};return i={fontSize:t.addUnit(this.size),lineHeight:t.addUnit(this.size),fontWeight:this.bold?"bold":"normal",top:t.addUnit(this.top)},this.color&&!t.config.type.includes(this.color)&&(i.color=this.color),i},isImg(){return-1!==this.name.indexOf("/")},imgStyle(){let i={};return i.width=this.width?t.addUnit(this.width):t.addUnit(this.size),i.height=this.height?t.addUnit(this.height):t.addUnit(this.size),i},icon(){return"uicon"!==this.customPrefix?"":t.icons["uicon-"+this.name]||this.name}},methods:{addStyle:t.addStyle,addUnit:t.addUnit,clickHandler(t){this.$emit("click",this.index,t),this.stop&&this.preventEvent(t)}}};const e=t._export_sfc(i,[["render",function(i,e,s,o,n,l){return t.e({a:l.isImg},l.isImg?{b:i.name,c:i.imgMode,d:t.s(l.imgStyle),e:t.s(l.addStyle(i.customStyle))}:{f:t.t(l.icon),g:t.n(l.uClasses),h:t.s(l.iconStyle),i:t.s(l.addStyle(i.customStyle)),j:i.hoverClass},{k:""!==i.label},""!==i.label?{l:t.t(i.label),m:i.labelColor,n:l.addUnit(i.labelSize),o:"right"==i.labelPos?l.addUnit(i.space):0,p:"bottom"==i.labelPos?l.addUnit(i.space):0,q:"left"==i.labelPos?l.addUnit(i.space):0,r:"top"==i.labelPos?l.addUnit(i.space):0}:{},{s:t.o(((...t)=>l.clickHandler&&l.clickHandler(...t))),t:t.n("u-icon--"+i.labelPos)})}],["__scopeId","data-v-1e5569a0"]]);wx.createComponent(e); +"use strict";const t=require("../../../../common/vendor.js"),i={name:"u-icon",beforeCreate(){t.fontUtil.params.loaded||t.fontUtil.loadFont()},data:()=>({}),emits:["click"],mixins:[t.mpMixin,t.mixin,t.props$2],computed:{uClasses(){let i=[];return i.push(this.customPrefix+"-"+this.name),"uicon"==this.customPrefix?i.push("u-iconfont"):i.push(this.customPrefix),this.color&&t.config.type.includes(this.color)&&i.push("u-icon__icon--"+this.color),i},iconStyle(){let i={};return i={fontSize:t.addUnit(this.size),lineHeight:t.addUnit(this.size),fontWeight:this.bold?"bold":"normal",top:t.addUnit(this.top)},"uicon"!==this.customPrefix&&(i.fontFamily=this.customPrefix),this.color&&!t.config.type.includes(this.color)&&(i.color=this.color),i},isImg(){return-1!==this.name.indexOf("/")},imgStyle(){let i={};return i.width=this.width?t.addUnit(this.width):t.addUnit(this.size),i.height=this.height?t.addUnit(this.height):t.addUnit(this.size),i},icon(){return"uicon"!==this.customPrefix?t.config.customIcons[this.name]||this.name:t.icons["uicon-"+this.name]||this.name}},methods:{addStyle:t.addStyle,addUnit:t.addUnit,clickHandler(t){this.$emit("click",this.index,t),this.stop&&this.preventEvent(t)}}};const e=t._export_sfc(i,[["render",function(i,e,s,o,n,l){return t.e({a:l.isImg},l.isImg?{b:i.name,c:i.imgMode,d:t.s(l.imgStyle),e:t.s(l.addStyle(i.customStyle))}:{f:t.t(l.icon),g:t.n(l.uClasses),h:t.s(l.iconStyle),i:t.s(l.addStyle(i.customStyle)),j:i.hoverClass},{k:""!==i.label},""!==i.label?{l:t.t(i.label),m:i.labelColor,n:l.addUnit(i.labelSize),o:"right"==i.labelPos?l.addUnit(i.space):0,p:"bottom"==i.labelPos?l.addUnit(i.space):0,q:"left"==i.labelPos?l.addUnit(i.space):0,r:"top"==i.labelPos?l.addUnit(i.space):0}:{},{s:t.o((...t)=>l.clickHandler&&l.clickHandler(...t)),t:t.n("u-icon--"+i.labelPos)})}],["__scopeId","data-v-5c5a4f0d"]]);wx.createComponent(e); diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-icon/u-icon.wxml b/dist/build/mp-weixin/node-modules/uview-plus/components/u-icon/u-icon.wxml index b229e3f..711ead4 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-icon/u-icon.wxml +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-icon/u-icon.wxml @@ -1 +1 @@ -{{f}}{{l}} \ No newline at end of file +{{f}}{{l}} \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-icon/u-icon.wxss b/dist/build/mp-weixin/node-modules/uview-plus/components/u-icon/u-icon.wxss index fbb9814..69267a7 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-icon/u-icon.wxss +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-icon/u-icon.wxss @@ -1 +1 @@ -.u-empty.data-v-1e5569a0,.u-empty__wrap.data-v-1e5569a0,.u-tabs.data-v-1e5569a0,.u-tabs__wrapper.data-v-1e5569a0,.u-tabs__wrapper__scroll-view-wrapper.data-v-1e5569a0,.u-tabs__wrapper__scroll-view.data-v-1e5569a0,.u-tabs__wrapper__nav.data-v-1e5569a0,.u-tabs__wrapper__nav__line.data-v-1e5569a0,.up-empty.data-v-1e5569a0,.up-empty__wrap.data-v-1e5569a0,.up-tabs.data-v-1e5569a0,.up-tabs__wrapper.data-v-1e5569a0,.up-tabs__wrapper__scroll-view-wrapper.data-v-1e5569a0,.up-tabs__wrapper__scroll-view.data-v-1e5569a0,.up-tabs__wrapper__nav.data-v-1e5569a0,.up-tabs__wrapper__nav__line.data-v-1e5569a0{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}@font-face{font-family:uicon-iconfont;src:url(https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf) format("truetype")}.u-icon.data-v-1e5569a0{display:flex;align-items:center}.u-icon--left.data-v-1e5569a0{flex-direction:row-reverse;align-items:center}.u-icon--right.data-v-1e5569a0{flex-direction:row;align-items:center}.u-icon--top.data-v-1e5569a0{flex-direction:column-reverse;justify-content:center}.u-icon--bottom.data-v-1e5569a0{flex-direction:column;justify-content:center}.u-icon__icon.data-v-1e5569a0{font-family:uicon-iconfont;position:relative;display:flex;flex-direction:row;align-items:center}.u-icon__icon--primary.data-v-1e5569a0{color:#3c9cff}.u-icon__icon--success.data-v-1e5569a0{color:#5ac725}.u-icon__icon--error.data-v-1e5569a0{color:#f56c6c}.u-icon__icon--warning.data-v-1e5569a0{color:#f9ae3d}.u-icon__icon--info.data-v-1e5569a0{color:#909399}.u-icon__img.data-v-1e5569a0{height:auto;will-change:transform}.u-icon__label.data-v-1e5569a0{line-height:1} +.u-icon.data-v-5c5a4f0d{display:flex;align-items:center}.u-icon--left.data-v-5c5a4f0d{flex-direction:row-reverse;align-items:center}.u-icon--right.data-v-5c5a4f0d{flex-direction:row;align-items:center}.u-icon--top.data-v-5c5a4f0d{flex-direction:column-reverse;justify-content:center}.u-icon--bottom.data-v-5c5a4f0d{flex-direction:column;justify-content:center}.u-icon__icon.data-v-5c5a4f0d{font-family:uicon-iconfont;position:relative;display:flex;flex-direction:row;align-items:center}.u-icon__icon--primary.data-v-5c5a4f0d{color:#3c9cff}.u-icon__icon--success.data-v-5c5a4f0d{color:#5ac725}.u-icon__icon--error.data-v-5c5a4f0d{color:#f56c6c}.u-icon__icon--warning.data-v-5c5a4f0d{color:#f9ae3d}.u-icon__icon--info.data-v-5c5a4f0d{color:#909399}.u-icon__img.data-v-5c5a4f0d{height:auto;will-change:transform}.u-icon__label.data-v-5c5a4f0d{line-height:1} diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-line/u-line.js b/dist/build/mp-weixin/node-modules/uview-plus/components/u-line/u-line.js new file mode 100644 index 0000000..634bea0 --- /dev/null +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-line/u-line.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../../common/vendor.js"),t={name:"u-line",mixins:[e.mpMixin,e.mixin,e.props$21],computed:{lineStyle(){const t={};return t.margin=this.margin,"row"===this.direction?(t.borderBottomWidth="1px",t.borderBottomStyle=this.dashed?"dashed":"solid",t.width=e.addUnit(this.length),this.hairline&&(t.transform="scaleY(0.5)")):(t.borderLeftWidth="1px",t.borderLeftStyle=this.dashed?"dashed":"solid",t.height=e.addUnit(this.length),this.hairline&&(t.transform="scaleX(0.5)")),t.borderColor=this.color,e.deepMerge(t,e.addStyle(this.customStyle))}}};const i=e._export_sfc(t,[["render",function(t,i,r,o,s,d){return{a:e.s(d.lineStyle)}}],["__scopeId","data-v-c646b6a6"]]);wx.createComponent(i); diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-line/u-line.json b/dist/build/mp-weixin/node-modules/uview-plus/components/u-line/u-line.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-line/u-line.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-line/u-line.wxml b/dist/build/mp-weixin/node-modules/uview-plus/components/u-line/u-line.wxml new file mode 100644 index 0000000..cbe99d8 --- /dev/null +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-line/u-line.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-line/u-line.wxss b/dist/build/mp-weixin/node-modules/uview-plus/components/u-line/u-line.wxss new file mode 100644 index 0000000..c34cd5b --- /dev/null +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-line/u-line.wxss @@ -0,0 +1 @@ +.u-line.data-v-c646b6a6{vertical-align:middle} diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-link/u-link.js b/dist/build/mp-weixin/node-modules/uview-plus/components/u-link/u-link.js index 10ced1d..6150678 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-link/u-link.js +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-link/u-link.js @@ -1 +1 @@ -"use strict";const t=require("../../../../common/vendor.js"),e={name:"u-link",mixins:[t.mpMixin,t.mixin,t.props$13],computed:{linkStyle(){return{color:this.color,fontSize:t.addUnit(this.fontSize),lineHeight:t.addUnit(t.getPx(this.fontSize)+2),textDecoration:this.underLine?"underline":"none"}}},emits:["click"],methods:{addStyle:t.addStyle,openLink(){t.index.setClipboardData({data:this.href,success:()=>{t.index.hideToast(),this.$nextTick((()=>{t.toast(this.mpTips)}))}}),this.$emit("click")}}};const i=t._export_sfc(e,[["render",function(e,i,n,o,s,d){return{a:t.t(e.text),b:t.o(((...t)=>d.openLink&&d.openLink(...t))),c:t.s(d.linkStyle),d:t.s(d.addStyle(e.customStyle))}}],["__scopeId","data-v-6b5caab7"]]);wx.createComponent(i); +"use strict";const t=require("../../../../common/vendor.js"),e={name:"u-link",mixins:[t.mpMixin,t.mixin,t.props$14],computed:{linkStyle(){return{color:this.color,fontSize:t.addUnit(this.fontSize),lineHeight:t.addUnit(t.getPx(this.fontSize)+2),textDecoration:this.underLine?"underline":"none"}}},emits:["click"],methods:{addStyle:t.addStyle,openLink(){t.index.setClipboardData({data:this.href,success:()=>{t.index.hideToast(),this.$nextTick(()=>{t.toast(this.mpTips)})}}),this.$emit("click")}}};const i=t._export_sfc(e,[["render",function(e,i,n,o,s,d){return{a:t.t(e.text),b:t.o((...t)=>d.openLink&&d.openLink(...t)),c:t.s(d.linkStyle),d:t.s(d.addStyle(e.customStyle))}}],["__scopeId","data-v-fd3c3d62"]]);wx.createComponent(i); diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-link/u-link.wxml b/dist/build/mp-weixin/node-modules/uview-plus/components/u-link/u-link.wxml index 546768f..e19c221 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-link/u-link.wxml +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-link/u-link.wxml @@ -1 +1 @@ -{{a}} \ No newline at end of file +{{a}} \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-link/u-link.wxss b/dist/build/mp-weixin/node-modules/uview-plus/components/u-link/u-link.wxss index dc2f75c..0345025 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-link/u-link.wxss +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-link/u-link.wxss @@ -1 +1 @@ -.u-empty.data-v-6b5caab7,.u-empty__wrap.data-v-6b5caab7,.u-tabs.data-v-6b5caab7,.u-tabs__wrapper.data-v-6b5caab7,.u-tabs__wrapper__scroll-view-wrapper.data-v-6b5caab7,.u-tabs__wrapper__scroll-view.data-v-6b5caab7,.u-tabs__wrapper__nav.data-v-6b5caab7,.u-tabs__wrapper__nav__line.data-v-6b5caab7,.up-empty.data-v-6b5caab7,.up-empty__wrap.data-v-6b5caab7,.up-tabs.data-v-6b5caab7,.up-tabs__wrapper.data-v-6b5caab7,.up-tabs__wrapper__scroll-view-wrapper.data-v-6b5caab7,.up-tabs__wrapper__scroll-view.data-v-6b5caab7,.up-tabs__wrapper__nav.data-v-6b5caab7,.up-tabs__wrapper__nav__line.data-v-6b5caab7{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-link.data-v-6b5caab7{line-height:1;display:flex;flex-direction:row;flex-wrap:wrap;flex:1} +.u-link.data-v-fd3c3d62{line-height:1;display:flex;flex-direction:row;flex-wrap:wrap;flex:1} diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.js b/dist/build/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.js index 97c43ce..b6aa6a4 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.js +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.js @@ -1 +1 @@ -"use strict";const e=require("../../../../common/vendor.js"),t={name:"u-loading-icon",mixins:[e.mpMixin,e.mixin,e.props$6],data:()=>({array12:Array.from({length:12}),aniAngel:360,webviewHide:!1,loading:!1}),computed:{otherBorderColor(){const t=e.colorGradient(this.color,"#ffffff",100)[80];return"circle"===this.mode?this.inactiveColor?this.inactiveColor:t:"transparent"}},watch:{show(e){}},mounted(){this.init()},methods:{addUnit:e.addUnit,addStyle:e.addStyle,init(){setTimeout((()=>{}),20)},addEventListenerToWebview(){const e=getCurrentPages(),t=e[e.length-1].$getAppWebview();t.addEventListener("hide",(()=>{this.webviewHide=!0})),t.addEventListener("show",(()=>{this.webviewHide=!1}))}}};const i=e._export_sfc(t,[["render",function(t,i,o,n,r,d){return e.e({a:t.show},t.show?e.e({b:!r.webviewHide},r.webviewHide?{}:e.e({c:"spinner"===t.mode},"spinner"===t.mode?{d:e.f(r.array12,((e,t,i)=>({a:t})))}:{},{e:e.n(`u-loading-icon__spinner--${t.mode}`),f:t.color,g:d.addUnit(t.size),h:d.addUnit(t.size),i:t.color,j:d.otherBorderColor,k:d.otherBorderColor,l:d.otherBorderColor,m:`${t.duration}ms`,n:"semicircle"===t.mode||"circle"===t.mode?t.timingFunction:""}),{o:t.text},t.text?{p:e.t(t.text),q:d.addUnit(t.textSize),r:t.textColor}:{},{s:e.s(d.addStyle(t.customStyle)),t:e.n(t.vertical&&"u-loading-icon--vertical")}):{})}],["__scopeId","data-v-95ac3d70"]]);wx.createComponent(i); +"use strict";const e=require("../../../../common/vendor.js"),t={name:"u-loading-icon",mixins:[e.mpMixin,e.mixin,e.props$5],data:()=>({array12:Array.from({length:12}),aniAngel:360,webviewHide:!1,loading:!1}),computed:{otherBorderColor(){const t=e.colorGradient(this.color,"#ffffff",100)[80];return"circle"===this.mode?this.inactiveColor?this.inactiveColor:t:"transparent"}},watch:{show(e){}},mounted(){this.init()},methods:{addUnit:e.addUnit,addStyle:e.addStyle,init(){setTimeout(()=>{},20)},addEventListenerToWebview(){const e=getCurrentPages(),t=e[e.length-1].$getAppWebview();t.addEventListener("hide",()=>{this.webviewHide=!0}),t.addEventListener("show",()=>{this.webviewHide=!1})}}};const i=e._export_sfc(t,[["render",function(t,i,o,n,r,d){return e.e({a:t.show},t.show?e.e({b:!r.webviewHide},r.webviewHide?{}:e.e({c:"spinner"===t.mode},"spinner"===t.mode?{d:e.f(r.array12,(e,t,i)=>({a:t}))}:{},{e:e.n(`u-loading-icon__spinner--${t.mode}`),f:t.color,g:d.addUnit(t.size),h:d.addUnit(t.size),i:t.color,j:d.otherBorderColor,k:d.otherBorderColor,l:d.otherBorderColor,m:`${t.duration}ms`,n:"semicircle"===t.mode||"circle"===t.mode?t.timingFunction:""}),{o:t.text},t.text?{p:e.t(t.text),q:d.addUnit(t.textSize),r:t.textColor}:{},{s:e.s(d.addStyle(t.customStyle)),t:e.n(t.vertical&&"u-loading-icon--vertical")}):{})}],["__scopeId","data-v-882a8a56"]]);wx.createComponent(i); diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.wxml b/dist/build/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.wxml index a70e235..0f36ec8 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.wxml +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.wxml @@ -1 +1 @@ -{{p}} \ No newline at end of file +{{p}} \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.wxss b/dist/build/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.wxss index 31cddde..9fe6beb 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.wxss +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.wxss @@ -1 +1 @@ -.u-empty.data-v-95ac3d70,.u-empty__wrap.data-v-95ac3d70,.u-tabs.data-v-95ac3d70,.u-tabs__wrapper.data-v-95ac3d70,.u-tabs__wrapper__scroll-view-wrapper.data-v-95ac3d70,.u-tabs__wrapper__scroll-view.data-v-95ac3d70,.u-tabs__wrapper__nav.data-v-95ac3d70,.u-tabs__wrapper__nav__line.data-v-95ac3d70,.up-empty.data-v-95ac3d70,.up-empty__wrap.data-v-95ac3d70,.up-tabs.data-v-95ac3d70,.up-tabs__wrapper.data-v-95ac3d70,.up-tabs__wrapper__scroll-view-wrapper.data-v-95ac3d70,.up-tabs__wrapper__scroll-view.data-v-95ac3d70,.up-tabs__wrapper__nav.data-v-95ac3d70,.up-tabs__wrapper__nav__line.data-v-95ac3d70{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-loading-icon.data-v-95ac3d70{display:flex;flex-direction:row;align-items:center;justify-content:center;color:#c8c9cc}.u-loading-icon__text.data-v-95ac3d70{margin-left:4px;color:#606266;font-size:14px;line-height:20px}.u-loading-icon__spinner.data-v-95ac3d70{width:30px;height:30px;position:relative;box-sizing:border-box;max-width:100%;max-height:100%;animation:u-rotate-95ac3d70 1s linear infinite}.u-loading-icon__spinner--semicircle.data-v-95ac3d70{border-width:2px;border-color:transparent;border-radius:100px;border-style:solid}.u-loading-icon__spinner--circle.data-v-95ac3d70{border-radius:100px;border-width:2px;border-top-color:#e5e5e5;border-right-color:#e5e5e5;border-bottom-color:#e5e5e5;border-left-color:#e5e5e5;border-style:solid}.u-loading-icon--vertical.data-v-95ac3d70{flex-direction:column}.data-v-95ac3d70:host{font-size:0px;line-height:1}.u-loading-icon__spinner--spinner.data-v-95ac3d70{animation-timing-function:steps(12)}.u-loading-icon__text.data-v-95ac3d70:empty{display:none}.u-loading-icon--vertical .u-loading-icon__text.data-v-95ac3d70{margin:6px 0 0;color:#606266}.u-loading-icon__dot.data-v-95ac3d70{position:absolute;top:0;left:0;width:100%;height:100%}.u-loading-icon__dot.data-v-95ac3d70:before{display:block;width:2px;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.u-loading-icon__dot.data-v-95ac3d70:nth-of-type(1){transform:rotate(30deg);opacity:1}.u-loading-icon__dot.data-v-95ac3d70:nth-of-type(2){transform:rotate(60deg);opacity:.9375}.u-loading-icon__dot.data-v-95ac3d70:nth-of-type(3){transform:rotate(90deg);opacity:.875}.u-loading-icon__dot.data-v-95ac3d70:nth-of-type(4){transform:rotate(120deg);opacity:.8125}.u-loading-icon__dot.data-v-95ac3d70:nth-of-type(5){transform:rotate(150deg);opacity:.75}.u-loading-icon__dot.data-v-95ac3d70:nth-of-type(6){transform:rotate(180deg);opacity:.6875}.u-loading-icon__dot.data-v-95ac3d70:nth-of-type(7){transform:rotate(210deg);opacity:.625}.u-loading-icon__dot.data-v-95ac3d70:nth-of-type(8){transform:rotate(240deg);opacity:.5625}.u-loading-icon__dot.data-v-95ac3d70:nth-of-type(9){transform:rotate(270deg);opacity:.5}.u-loading-icon__dot.data-v-95ac3d70:nth-of-type(10){transform:rotate(300deg);opacity:.4375}.u-loading-icon__dot.data-v-95ac3d70:nth-of-type(11){transform:rotate(330deg);opacity:.375}.u-loading-icon__dot.data-v-95ac3d70:nth-of-type(12){transform:rotate(360deg);opacity:.3125}@keyframes u-rotate-95ac3d70{0%{transform:rotate(0)}to{transform:rotate(1turn)}} +.u-loading-icon.data-v-882a8a56{display:flex;flex-direction:row;align-items:center;justify-content:center;color:#c8c9cc}.u-loading-icon__text.data-v-882a8a56{margin-left:4px;color:#606266;font-size:14px;line-height:20px}.u-loading-icon__spinner.data-v-882a8a56{width:30px;height:30px;position:relative;box-sizing:border-box;max-width:100%;max-height:100%;animation:u-rotate-882a8a56 1s linear infinite}.u-loading-icon__spinner--semicircle.data-v-882a8a56{border-width:2px;border-color:transparent;border-radius:100px;border-style:solid}.u-loading-icon__spinner--circle.data-v-882a8a56{border-radius:100px;border-width:2px;border-top-color:#e5e5e5;border-right-color:#e5e5e5;border-bottom-color:#e5e5e5;border-left-color:#e5e5e5;border-style:solid}.u-loading-icon--vertical.data-v-882a8a56{flex-direction:column}.data-v-882a8a56:host{font-size:0px;line-height:1}.u-loading-icon__spinner--spinner.data-v-882a8a56{animation-timing-function:steps(12)}.u-loading-icon__text.data-v-882a8a56:empty{display:none}.u-loading-icon--vertical .u-loading-icon__text.data-v-882a8a56{margin:6px 0 0;color:#606266}.u-loading-icon__dot.data-v-882a8a56{position:absolute;top:0;left:0;width:100%;height:100%}.u-loading-icon__dot.data-v-882a8a56:before{display:block;width:2px;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.u-loading-icon__dot.data-v-882a8a56:nth-of-type(1){transform:rotate(30deg);opacity:1}.u-loading-icon__dot.data-v-882a8a56:nth-of-type(2){transform:rotate(60deg);opacity:.9375}.u-loading-icon__dot.data-v-882a8a56:nth-of-type(3){transform:rotate(90deg);opacity:.875}.u-loading-icon__dot.data-v-882a8a56:nth-of-type(4){transform:rotate(120deg);opacity:.8125}.u-loading-icon__dot.data-v-882a8a56:nth-of-type(5){transform:rotate(150deg);opacity:.75}.u-loading-icon__dot.data-v-882a8a56:nth-of-type(6){transform:rotate(180deg);opacity:.6875}.u-loading-icon__dot.data-v-882a8a56:nth-of-type(7){transform:rotate(210deg);opacity:.625}.u-loading-icon__dot.data-v-882a8a56:nth-of-type(8){transform:rotate(240deg);opacity:.5625}.u-loading-icon__dot.data-v-882a8a56:nth-of-type(9){transform:rotate(270deg);opacity:.5}.u-loading-icon__dot.data-v-882a8a56:nth-of-type(10){transform:rotate(300deg);opacity:.4375}.u-loading-icon__dot.data-v-882a8a56:nth-of-type(11){transform:rotate(330deg);opacity:.375}.u-loading-icon__dot.data-v-882a8a56:nth-of-type(12){transform:rotate(360deg);opacity:.3125}@keyframes u-rotate-882a8a56{0%{transform:rotate(0)}to{transform:rotate(1turn)}} diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-overlay/u-overlay.js b/dist/build/mp-weixin/node-modules/uview-plus/components/u-overlay/u-overlay.js index 883255c..ca5c5a2 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-overlay/u-overlay.js +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-overlay/u-overlay.js @@ -1 +1 @@ -"use strict";const e=require("../../../../common/vendor.js"),o={name:"u-overlay",mixins:[e.mpMixin,e.mixin,e.props$14],computed:{overlayStyle(){const o={position:"fixed",top:0,left:0,right:0,zIndex:this.zIndex,bottom:0,"background-color":`rgba(0, 0, 0, ${this.opacity})`};return e.deepMerge(o,e.addStyle(this.customStyle))}},emits:["click"],methods:{clickHandler(){this.$emit("click")}}};if(!Array){e.resolveComponent("u-transition")()}Math;const t=e._export_sfc(o,[["render",function(o,t,r,i,n,s){return{a:e.o(s.clickHandler),b:e.o(o.noop),c:e.p({show:o.show,"custom-class":"u-overlay",duration:o.duration,"custom-style":s.overlayStyle})}}],["__scopeId","data-v-4d0ee6fb"]]);wx.createComponent(t); +"use strict";const o=require("../../../../common/vendor.js"),t={name:"u-overlay",mixins:[o.mpMixin,o.mixin,o.props$15],computed:{overlayStyle(){const t={position:"fixed",top:0,left:0,right:0,zIndex:this.zIndex,bottom:0,"background-color":`rgba(0, 0, 0, ${this.opacity})`};return o.deepMerge(t,o.addStyle(this.customStyle))}},emits:["click"],methods:{clickHandler(){this.$emit("click")}}};if(!Array){o.resolveComponent("u-transition")()}Math;const e=o._export_sfc(t,[["render",function(t,e,r,i,n,s){return{a:o.o(s.clickHandler),b:o.o(t.noop),c:o.p({show:t.show,"custom-class":"u-overlay",duration:t.duration,"custom-style":s.overlayStyle})}}],["__scopeId","data-v-2db51279"]]);wx.createComponent(e); diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-overlay/u-overlay.wxml b/dist/build/mp-weixin/node-modules/uview-plus/components/u-overlay/u-overlay.wxml index e432c95..58da6cd 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-overlay/u-overlay.wxml +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-overlay/u-overlay.wxml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-overlay/u-overlay.wxss b/dist/build/mp-weixin/node-modules/uview-plus/components/u-overlay/u-overlay.wxss index f41ef31..1797f74 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-overlay/u-overlay.wxss +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-overlay/u-overlay.wxss @@ -1 +1 @@ -.u-empty.data-v-4d0ee6fb,.u-empty__wrap.data-v-4d0ee6fb,.u-tabs.data-v-4d0ee6fb,.u-tabs__wrapper.data-v-4d0ee6fb,.u-tabs__wrapper__scroll-view-wrapper.data-v-4d0ee6fb,.u-tabs__wrapper__scroll-view.data-v-4d0ee6fb,.u-tabs__wrapper__nav.data-v-4d0ee6fb,.u-tabs__wrapper__nav__line.data-v-4d0ee6fb,.up-empty.data-v-4d0ee6fb,.up-empty__wrap.data-v-4d0ee6fb,.up-tabs.data-v-4d0ee6fb,.up-tabs__wrapper.data-v-4d0ee6fb,.up-tabs__wrapper__scroll-view-wrapper.data-v-4d0ee6fb,.up-tabs__wrapper__scroll-view.data-v-4d0ee6fb,.up-tabs__wrapper__nav.data-v-4d0ee6fb,.up-tabs__wrapper__nav__line.data-v-4d0ee6fb{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-overlay.data-v-4d0ee6fb{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7)} +.u-overlay.data-v-2db51279{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7)} diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.js b/dist/build/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.js index a832e2a..01273b6 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.js +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.js @@ -1 +1 @@ -"use strict";const e=require("../../../../common/vendor.js"),t={name:"u-popup",mixins:[e.mpMixin,e.mixin,e.props$10],data(){return{overlayDuration:this.duration+50}},watch:{show(e,t){if(!0===e){const e=this.$children;this.retryComputedComponentRect(e)}}},computed:{transitionStyle(){const t={zIndex:this.zIndex,position:"fixed",display:"flex"};return t[this.mode]=0,"left"===this.mode||"right"===this.mode?e.deepMerge(t,{bottom:0,top:0}):"top"===this.mode||"bottom"===this.mode?e.deepMerge(t,{left:0,right:0}):"center"===this.mode?e.deepMerge(t,{alignItems:"center","justify-content":"center",top:0,left:0,right:0,bottom:0}):void 0},contentStyle(){const t={};if(e.getWindowInfo(),"center"!==this.mode&&(t.flex=1),this.bgColor&&(t.backgroundColor=this.bgColor),this.round){const o=e.addUnit(this.round);"top"===this.mode?(t.borderBottomLeftRadius=o,t.borderBottomRightRadius=o):"bottom"===this.mode?(t.borderTopLeftRadius=o,t.borderTopRightRadius=o):"center"===this.mode&&(t.borderRadius=o)}return e.deepMerge(t,e.addStyle(this.customStyle))},position(){return"center"===this.mode?this.zoom?"fade-zoom":"fade":"left"===this.mode?"slide-left":"right"===this.mode?"slide-right":"bottom"===this.mode?"slide-up":"top"===this.mode?"slide-down":void 0}},emits:["open","close","click","update:show"],methods:{overlayClick(){this.closeOnClickOverlay&&(this.$emit("update:show",!1),this.$emit("close"))},close(e){this.$emit("update:show",!1),this.$emit("close")},afterEnter(){this.$emit("open")},clickHandler(){"center"===this.mode&&this.overlayClick(),this.$emit("click")},retryComputedComponentRect(t){const o=["u-calendar-month","u-album","u-collapse-item","u-dropdown","u-index-item","u-index-list","u-line-progress","u-list-item","u-rate","u-read-more","u-row","u-row-notice","u-scroll-list","u-skeleton","u-slider","u-steps-item","u-sticky","u-subsection","u-swipe-action-item","u-tabbar","u-tabs","u-tooltip"];for(let s=0;s{i.init()})),n.length&&this.retryComputedComponentRect(n)}}}};if(!Array){(e.resolveComponent("u-overlay")+e.resolveComponent("u-status-bar")+e.resolveComponent("u-icon")+e.resolveComponent("u-safe-bottom")+e.resolveComponent("u-transition"))()}Math||((()=>"../u-overlay/u-overlay.js")+(()=>"../u-status-bar/u-status-bar.js")+(()=>"../u-icon/u-icon.js")+(()=>"../u-safe-bottom/u-safe-bottom.js")+(()=>"../u-transition/u-transition.js"))();const o=e._export_sfc(t,[["render",function(t,o,s,i,n,r){return e.e({a:t.overlay},t.overlay?{b:e.o(r.overlayClick),c:e.p({show:t.show,zIndex:t.zIndex,duration:n.overlayDuration,customStyle:t.overlayStyle,opacity:t.overlayOpacity})}:{},{d:t.safeAreaInsetTop},(t.safeAreaInsetTop,{}),{e:t.closeable},t.closeable?{f:e.p({name:"close",color:"#909399",size:"18",bold:!0}),g:e.o(((...e)=>r.close&&r.close(...e))),h:e.n("u-popup__content__close--"+t.closeIconPos)}:{},{i:t.safeAreaInsetBottom},(t.safeAreaInsetBottom,{}),{j:e.s(r.contentStyle),k:e.o(((...e)=>t.noop&&t.noop(...e))),l:e.o(((...e)=>t.noop&&t.noop(...e))),m:e.o(r.afterEnter),n:e.o(r.clickHandler),o:e.p({show:t.show,customStyle:r.transitionStyle,mode:r.position,duration:t.duration}),p:e.n(t.customClass)})}],["__scopeId","data-v-c9ac16f0"]]);wx.createComponent(o); +"use strict";const t=require("../../../../common/vendor.js"),o={name:"u-popup",mixins:[t.mpMixin,t.mixin,t.props$11],data(){return{overlayDuration:this.duration+50,touchStartY:0,touchStartHeight:0,isTouching:!1,currentHeight:"auto"}},watch:{show(t,o){if(!0===t){const t=this.$children;this.retryComputedComponentRect(t)}}},computed:{transitionStyle(){const o={display:"flex"};return this.pageInline||(o.zIndex=this.zIndex,o.position="fixed"),o[this.mode]=0,"left"===this.mode||"right"===this.mode?t.deepMerge(o,{bottom:0,top:0}):"top"===this.mode||"bottom"===this.mode?t.deepMerge(o,{left:0,right:0}):"center"===this.mode?t.deepMerge(o,{alignItems:"center","justify-content":"center",top:0,left:0,right:0,bottom:0}):void 0},contentStyleWrap(){const o={};return"bottom"===this.mode&&this.touchable&&("auto"!==this.currentHeight&&(o.height=this.currentHeight),this.maxHeight&&(o.maxHeight=t.addUnit(this.maxHeight)),this.minHeight&&(o.minHeight=t.addUnit(this.minHeight))),o},contentStyle(){const o={};if(t.getWindowInfo(),"center"!==this.mode&&(o.flex=1),o.backgroundColor=this.bgColor,this.round){const e=t.addUnit(this.round);"top"===this.mode?(o.borderBottomLeftRadius=e,o.borderBottomRightRadius=e):"bottom"===this.mode?(o.borderTopLeftRadius=e,o.borderTopRightRadius=e):"center"===this.mode&&(o.borderRadius=e)}return t.deepMerge(o,t.addStyle(this.customStyle))},position(){return"center"===this.mode?this.zoom?"fade-zoom":"fade":"left"===this.mode?"slide-left":"right"===this.mode?"slide-right":"bottom"===this.mode?"slide-up":"top"===this.mode?"slide-down":void 0}},emits:["open","close","click","update:show"],methods:{overlayClick(){this.closeOnClickOverlay&&(this.$emit("update:show",!1),this.$emit("close"))},open(t){this.$emit("update:show",!0)},close(t){this.$emit("update:show",!1),this.$emit("close")},afterEnter(){this.$emit("open")},clickHandler(){"center"===this.mode&&this.overlayClick(),this.$emit("click")},retryComputedComponentRect(o){const e=["u-calendar-month","u-album","u-collapse-item","u-dropdown","u-index-item","u-index-list","u-line-progress","u-list-item","u-rate","u-read-more","u-row","u-row-notice","u-scroll-list","u-skeleton","u-slider","u-steps-item","u-sticky","u-subsection","u-swipe-action-item","u-tabbar","u-tabs","u-tooltip"];for(let i=0;i{n.init()}),s.length&&this.retryComputedComponentRect(s)}},onTouchStart(t){this.touchable&&"bottom"===this.mode&&(this.isTouching=!0,this.touchStartY=t.touches[0].clientY,this.touchStartHeight=this.$el.querySelector(".u-popup__content—transition").offsetHeight)},onTouchMove(o){if(!this.isTouching||!this.touchable||"bottom"!==this.mode)return;const e=o.touches[0].clientY-this.touchStartY;if(0!==e){const o=this.touchStartHeight-e,i=parseFloat(t.addUnit(this.minHeight))||200,n=this.maxHeight?this.maxHeight.toString().includes("%")?t.getWindowInfo().windowHeight*(parseFloat(this.maxHeight)/100):parseFloat(t.addUnit(this.maxHeight)):.8*t.getWindowInfo().windowHeight;o>=i&&o<=n&&(this.currentHeight=o+"px")}o.preventDefault()},onTouchEnd(t){if(!this.isTouching||!this.touchable||"bottom"!==this.mode)return;this.isTouching=!1;const o=t.changedTouches[0].clientY-this.touchStartY,e=Math.abs(o)/(t.timeStamp-t.changedTouches[0].timestamp);(o>100||o>30&&e>.5)&&this.close()}}};if(!Array){(t.resolveComponent("u-overlay")+t.resolveComponent("u-status-bar")+t.resolveComponent("up-icon")+t.resolveComponent("u-safe-bottom")+t.resolveComponent("u-transition"))()}Math||((()=>"../u-overlay/u-overlay.js")+(()=>"../u-status-bar/u-status-bar.js")+(()=>"../u-icon/u-icon.js")+(()=>"../u-safe-bottom/u-safe-bottom.js")+(()=>"../u-transition/u-transition.js"))();const e=t._export_sfc(o,[["render",function(o,e,i,n,s,h){return t.e({a:t.o((...t)=>h.open&&h.open(...t)),b:o.overlay},o.overlay?{c:t.o(h.overlayClick),d:t.p({show:o.show&&0==o.pageInline,zIndex:o.zIndex,duration:s.overlayDuration,customStyle:o.overlayStyle,opacity:o.overlayOpacity})}:{},{e:o.safeAreaInsetTop},(o.safeAreaInsetTop,{}),{f:o.touchable&&"bottom"===o.mode},o.touchable&&"bottom"===o.mode?{g:t.o((...t)=>h.onTouchStart&&h.onTouchStart(...t)),h:t.o((...t)=>h.onTouchMove&&h.onTouchMove(...t)),i:t.o((...t)=>h.onTouchEnd&&h.onTouchEnd(...t)),j:t.o((...t)=>h.onTouchEnd&&h.onTouchEnd(...t))}:{},{k:o.closeable},o.closeable?{l:t.p({name:"close",color:"#909399",size:"18",bold:!0}),m:t.o((...t)=>h.close&&h.close(...t)),n:t.n("u-popup__content__close--"+o.closeIconPos)}:{},{o:o.safeAreaInsetBottom},(o.safeAreaInsetBottom,{}),{p:t.s(h.contentStyle),q:t.o((...t)=>o.noop&&o.noop(...t)),r:t.o((...t)=>o.noop&&o.noop(...t)),s:t.s(h.contentStyleWrap),t:t.o(h.afterEnter),v:t.o(h.clickHandler),w:t.p({show:!!o.pageInline||o.show,customStyle:h.transitionStyle,mode:o.pageInline?"none":h.position,duration:o.duration}),x:t.n(o.customClass),y:0==o.show?"0px":"",z:0==o.show?"0px":""})}],["__scopeId","data-v-37f0266c"]]);wx.createComponent(e); diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.json b/dist/build/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.json index 711f35d..e1fd6d2 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.json +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.json @@ -3,7 +3,7 @@ "usingComponents": { "u-overlay": "../u-overlay/u-overlay", "u-status-bar": "../u-status-bar/u-status-bar", - "u-icon": "../u-icon/u-icon", + "up-icon": "../u-icon/u-icon", "u-safe-bottom": "../u-safe-bottom/u-safe-bottom", "u-transition": "../u-transition/u-transition" } diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.wxml b/dist/build/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.wxml index 75949c5..7152c0e 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.wxml +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.wxml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.wxss b/dist/build/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.wxss index 3051949..52fa068 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.wxss +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.wxss @@ -1 +1 @@ -.u-empty.data-v-c9ac16f0,.u-empty__wrap.data-v-c9ac16f0,.u-tabs.data-v-c9ac16f0,.u-tabs__wrapper.data-v-c9ac16f0,.u-tabs__wrapper__scroll-view-wrapper.data-v-c9ac16f0,.u-tabs__wrapper__scroll-view.data-v-c9ac16f0,.u-tabs__wrapper__nav.data-v-c9ac16f0,.u-tabs__wrapper__nav__line.data-v-c9ac16f0,.up-empty.data-v-c9ac16f0,.up-empty__wrap.data-v-c9ac16f0,.up-tabs.data-v-c9ac16f0,.up-tabs__wrapper.data-v-c9ac16f0,.up-tabs__wrapper__scroll-view-wrapper.data-v-c9ac16f0,.up-tabs__wrapper__scroll-view.data-v-c9ac16f0,.up-tabs__wrapper__nav.data-v-c9ac16f0,.up-tabs__wrapper__nav__line.data-v-c9ac16f0{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-popup.data-v-c9ac16f0{flex:1}.u-popup__content.data-v-c9ac16f0{background-color:#fff;position:relative}.u-popup__content--round-top.data-v-c9ac16f0{border-radius:0 0 10px 10px}.u-popup__content--round-left.data-v-c9ac16f0{border-radius:0 10px 10px 0}.u-popup__content--round-right.data-v-c9ac16f0{border-radius:10px 0 0 10px}.u-popup__content--round-bottom.data-v-c9ac16f0{border-radius:10px 10px 0 0}.u-popup__content--round-center.data-v-c9ac16f0{border-radius:10px}.u-popup__content__close.data-v-c9ac16f0{position:absolute}.u-popup__content__close--hover.data-v-c9ac16f0{opacity:.4}.u-popup__content__close--top-left.data-v-c9ac16f0{top:15px;left:15px}.u-popup__content__close--top-right.data-v-c9ac16f0{top:15px;right:15px}.u-popup__content__close--bottom-left.data-v-c9ac16f0{bottom:15px;left:15px}.u-popup__content__close--bottom-right.data-v-c9ac16f0{right:15px;bottom:15px} +.u-popup.data-v-37f0266c{flex:1}.u-popup__trigger.data-v-37f0266c{position:relative}.u-popup__trigger__cover.data-v-37f0266c{position:absolute;top:0;left:0;right:0;bottom:0}.u-popup__content.data-v-37f0266c{position:relative}.u-popup__content--round-top.data-v-37f0266c{border-radius:0 0 10px 10px}.u-popup__content--round-left.data-v-37f0266c{border-radius:0 10px 10px 0}.u-popup__content--round-right.data-v-37f0266c{border-radius:10px 0 0 10px}.u-popup__content--round-bottom.data-v-37f0266c{border-radius:10px 10px 0 0}.u-popup__content--round-center.data-v-37f0266c{border-radius:10px}.u-popup__content__touch-area.data-v-37f0266c{top:0;left:0;right:0;height:42rpx;z-index:10;display:flex;justify-content:center;align-items:center}.u-popup__content__indicator.data-v-37f0266c{width:100px;height:5px;border-radius:100px;background-color:#c0c4cc}.u-popup__content__close.data-v-37f0266c{position:absolute}.u-popup__content__close--hover.data-v-37f0266c{opacity:.4}.u-popup__content__close--top-left.data-v-37f0266c{top:15px;left:15px}.u-popup__content__close--top-right.data-v-37f0266c{top:15px;right:15px}.u-popup__content__close--bottom-left.data-v-37f0266c{bottom:15px;left:15px}.u-popup__content__close--bottom-right.data-v-37f0266c{right:15px;bottom:15px} diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-safe-bottom/u-safe-bottom.js b/dist/build/mp-weixin/node-modules/uview-plus/components/u-safe-bottom/u-safe-bottom.js index e84dd68..98b6d22 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-safe-bottom/u-safe-bottom.js +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-safe-bottom/u-safe-bottom.js @@ -1 +1 @@ -"use strict";const e=require("../../../../common/vendor.js"),t={name:"u-safe-bottom",mixins:[e.mpMixin,e.mixin,e.props$16],data:()=>({safeAreaBottomHeight:0,isNvue:!1}),computed:{style(){return e.deepMerge({},e.addStyle(this.customStyle))}},mounted(){}};const o=e._export_sfc(t,[["render",function(t,o,s,n,r,a){return{a:e.s(a.style),b:e.n(!r.isNvue&&"u-safe-area-inset-bottom")}}],["__scopeId","data-v-d9413c99"]]);wx.createComponent(o); +"use strict";const e=require("../../../../common/vendor.js"),t={name:"u-safe-bottom",mixins:[e.mpMixin,e.mixin,e.props$17],data:()=>({safeAreaBottomHeight:0,isNvue:!1}),computed:{style(){const t={};return t.height=e.addUnit(e.getWindowInfo().safeAreaInsets.bottom,"px"),e.deepMerge(t,e.addStyle(this.customStyle))}},mounted(){this.isNvue=!0}};const s=e._export_sfc(t,[["render",function(t,s,o,n,a,i){return{a:e.s(i.style),b:e.n(!a.isNvue&&"u-safe-area-inset-bottom")}}],["__scopeId","data-v-5fac2a11"]]);wx.createComponent(s); diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-safe-bottom/u-safe-bottom.wxml b/dist/build/mp-weixin/node-modules/uview-plus/components/u-safe-bottom/u-safe-bottom.wxml index 47ac938..1a78ab6 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-safe-bottom/u-safe-bottom.wxml +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-safe-bottom/u-safe-bottom.wxml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-safe-bottom/u-safe-bottom.wxss b/dist/build/mp-weixin/node-modules/uview-plus/components/u-safe-bottom/u-safe-bottom.wxss index ba2bac3..0c7778c 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-safe-bottom/u-safe-bottom.wxss +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-safe-bottom/u-safe-bottom.wxss @@ -1 +1 @@ -.u-safe-bottom.data-v-d9413c99{width:100%} +.u-safe-bottom.data-v-5fac2a11{width:100%} diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-search/u-search.js b/dist/build/mp-weixin/node-modules/uview-plus/components/u-search/u-search.js index 2296144..c275d78 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-search/u-search.js +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-search/u-search.js @@ -1 +1 @@ -"use strict";const e=require("../../../../common/vendor.js"),o={name:"u-search",mixins:[e.mpMixin,e.mixin,e.props$2],data(){return{keyword:"",showClear:!1,show:!1,focused:this.focus}},watch:{keyword(e){this.$emit("update:modelValue",e),this.$emit("change",e)},modelValue:{immediate:!0,handler(e){this.keyword=e}}},computed:{showActionBtn(){return!this.animation&&this.showAction}},emits:["clear","search","custom","focus","blur","click","clickIcon","update:modelValue","change"],methods:{addStyle:e.addStyle,addUnit:e.addUnit,inputChange(e){this.keyword=e.detail.value},clear(){this.keyword="",this.$nextTick((()=>{this.$emit("clear")}))},search(o){this.$emit("search",o.detail.value);try{e.index.hideKeyboard()}catch(t){}},custom(){this.$emit("custom",this.keyword);try{e.index.hideKeyboard()}catch(o){}},getFocus(){this.focused=!0,this.animation&&this.showAction&&(this.show=!0),this.$emit("focus",this.keyword)},blur(){setTimeout((()=>{this.focused=!1}),100),this.show=!1,this.$emit("blur",this.keyword)},clickHandler(){this.disabled&&this.$emit("click")},clickIcon(o){this.$emit("clickIcon",this.keyword);try{e.index.hideKeyboard()}catch(t){}}}};if(!Array){e.resolveComponent("u-icon")()}Math;const t=e._export_sfc(o,[["render",function(o,t,i,c,s,a){return e.e({a:o.$slots.label||null!==o.label},o.$slots.label||null!==o.label?{b:e.t(o.label)}:{},{c:e.o(a.clickIcon),d:e.p({size:o.searchIconSize,name:o.searchIcon,color:o.searchIconColor?o.searchIconColor:o.color}),e:e.o(((...e)=>a.blur&&a.blur(...e))),f:s.keyword,g:e.o(((...e)=>a.search&&a.search(...e))),h:e.o(((...e)=>a.inputChange&&a.inputChange(...e))),i:o.disabled,j:e.o(((...e)=>a.getFocus&&a.getFocus(...e))),k:o.focus,l:o.maxlength,m:o.adjustPosition,n:o.autoBlur,o:o.placeholder,p:`color: ${o.placeholderColor}`,q:e.s({textAlign:o.inputAlign,color:o.color,backgroundColor:o.bgColor,height:a.addUnit(o.height)}),r:e.s(o.inputStyle),s:s.keyword&&o.clearabled&&s.focused},s.keyword&&o.clearabled&&s.focused?{t:e.p({name:"close",size:"11",color:"#ffffff",customStyle:"line-height: 12px"}),v:e.o(((...e)=>a.clear&&a.clear(...e)))}:{},{w:o.bgColor,x:"round"==o.shape?"100px":"4px",y:o.borderColor,z:e.t(o.actionText),A:e.s(o.actionStyle),B:e.n((a.showActionBtn||s.show)&&"u-search__action--active"),C:e.o(((...e)=>a.custom&&a.custom(...e))),D:e.o(((...e)=>a.clickHandler&&a.clickHandler(...e))),E:e.s({margin:o.margin}),F:e.s(a.addStyle(o.customStyle))})}],["__scopeId","data-v-9c758f09"]]);wx.createComponent(t); +"use strict";const e=require("../../../../common/vendor.js"),o={name:"u-search",mixins:[e.mpMixin,e.mixin,e.props$1],data(){return{keyword:"",show:!1,focused:this.focus}},watch:{keyword(e){this.$emit("update:modelValue",e),this.$emit("change",e)},modelValue:{immediate:!0,handler(e){this.keyword=e}}},computed:{showActionBtn(){return!this.animation&&this.showAction},isShowClear(){const{clearabled:e,focused:o,keyword:t,onlyClearableOnFocused:i}=this;return!!e&&(i?!!o&&""!==t:""!==t)}},emits:["clear","search","custom","focus","blur","click","clickIcon","update:modelValue","change"],methods:{addStyle:e.addStyle,addUnit:e.addUnit,inputChange(e){this.keyword=e.detail.value},clear(){this.keyword="",this.$nextTick(()=>{this.$emit("clear")})},search(o){this.$emit("search",o.detail.value);try{e.index.hideKeyboard()}catch(t){}},custom(){this.$emit("custom",this.keyword);try{e.index.hideKeyboard()}catch(o){}},getFocus(){this.focused=!0,this.animation&&this.showAction&&(this.show=!0),this.$emit("focus",this.keyword)},blurFunc(){setTimeout(()=>{this.focused=!1},100),this.show=!1,this.$emit("blur",this.keyword)},clickHandler(){this.disabled&&this.$emit("click")},clickIcon(o){this.$emit("clickIcon",this.keyword);try{e.index.hideKeyboard()}catch(t){}}}};if(!Array){e.resolveComponent("up-icon")()}Math;const t=e._export_sfc(o,[["render",function(o,t,i,c,s,r){return e.e({a:o.$slots.label||null!==o.label},o.$slots.label||null!==o.label?{b:e.t(o.label)}:{},{c:e.o(r.clickIcon),d:e.p({size:o.searchIconSize,name:o.searchIcon,color:o.searchIconColor?o.searchIconColor:o.color}),e:e.o((...e)=>r.blurFunc&&r.blurFunc(...e)),f:s.keyword,g:e.o((...e)=>r.search&&r.search(...e)),h:e.o((...e)=>r.inputChange&&r.inputChange(...e)),i:o.disabled,j:e.o((...e)=>r.getFocus&&r.getFocus(...e)),k:o.focus,l:o.maxlength,m:o.adjustPosition,n:o.autoBlur,o:o.placeholder,p:`color: ${o.placeholderColor}`,q:e.s({pointerEvents:o.disabled?"none":"auto",textAlign:o.inputAlign,color:o.color,backgroundColor:o.bgColor,height:r.addUnit(o.height)}),r:e.s(o.inputStyle),s:r.isShowClear},r.isShowClear?{t:e.p({name:"close",size:"11",color:"#ffffff",customStyle:"line-height: 12px"}),v:e.o((...e)=>r.clear&&r.clear(...e))}:{},{w:o.bgColor,x:"round"==o.shape?"100px":"4px",y:o.borderColor,z:e.t(o.actionText),A:e.s(o.actionStyle),B:e.n((r.showActionBtn||s.show)&&"u-search__action--active"),C:e.o((...e)=>r.custom&&r.custom(...e)),D:e.n("right"===o.iconPosition&&"u-search__reverse"),E:e.o((...e)=>r.clickHandler&&r.clickHandler(...e)),F:e.s({margin:o.margin}),G:e.s(r.addStyle(o.customStyle))})}],["__scopeId","data-v-cdd8f7ac"]]);wx.createComponent(t); diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-search/u-search.json b/dist/build/mp-weixin/node-modules/uview-plus/components/u-search/u-search.json index fcde44c..e53deb1 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-search/u-search.json +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-search/u-search.json @@ -1,6 +1,6 @@ { "component": true, "usingComponents": { - "u-icon": "../u-icon/u-icon" + "up-icon": "../u-icon/u-icon" } } \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxml b/dist/build/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxml index e54e54a..b92c509 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxml +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxml @@ -1 +1 @@ -{{z}} \ No newline at end of file +{{z}} \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxss b/dist/build/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxss index 0d80d13..68c07f6 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxss +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxss @@ -1 +1 @@ -.u-empty.data-v-9c758f09,.u-empty__wrap.data-v-9c758f09,.u-tabs.data-v-9c758f09,.u-tabs__wrapper.data-v-9c758f09,.u-tabs__wrapper__scroll-view-wrapper.data-v-9c758f09,.u-tabs__wrapper__scroll-view.data-v-9c758f09,.u-tabs__wrapper__nav.data-v-9c758f09,.u-tabs__wrapper__nav__line.data-v-9c758f09,.up-empty.data-v-9c758f09,.up-empty__wrap.data-v-9c758f09,.up-tabs.data-v-9c758f09,.up-tabs__wrapper.data-v-9c758f09,.up-tabs__wrapper__scroll-view-wrapper.data-v-9c758f09,.up-tabs__wrapper__scroll-view.data-v-9c758f09,.up-tabs__wrapper__nav.data-v-9c758f09,.up-tabs__wrapper__nav__line.data-v-9c758f09{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-search.data-v-9c758f09{display:flex;flex-direction:row;align-items:center;flex:1}.u-search__content.data-v-9c758f09{display:flex;flex-direction:row;align-items:center;padding:0 10px;flex:1;justify-content:space-between;border-width:1px;border-color:transparent;border-style:solid;overflow:hidden}.u-search__content__icon.data-v-9c758f09{display:flex;flex-direction:row;align-items:center}.u-search__content__label.data-v-9c758f09{color:#303133;font-size:14px;margin:0 4px}.u-search__content__close.data-v-9c758f09{width:20px;height:20px;border-radius:100px;background-color:#c6c7cb;display:flex;flex-direction:row;align-items:center;justify-content:center;transform:scale(.82)}.u-search__content__input.data-v-9c758f09{flex:1;font-size:14px;line-height:1;margin:0 5px;color:#303133}.u-search__content__input--placeholder.data-v-9c758f09{color:#909193}.u-search__action.data-v-9c758f09{font-size:14px;color:#303133;width:0;overflow:hidden;transition-property:width;transition-duration:.3s;white-space:nowrap;text-align:center}.u-search__action--active.data-v-9c758f09{width:40px;margin-left:5px} +.u-search.data-v-cdd8f7ac{display:flex;flex-direction:row;align-items:center;flex:1}.u-search__content.data-v-cdd8f7ac{display:flex;flex-direction:row;align-items:center;padding:0 10px;flex:1;justify-content:space-between;border-width:1px;border-color:transparent;border-style:solid;overflow:hidden}.u-search__content__icon.data-v-cdd8f7ac{display:flex;flex-direction:row;align-items:center}.u-search__content__label.data-v-cdd8f7ac{color:#303133;font-size:14px;margin:0 4px}.u-search__content__close.data-v-cdd8f7ac{width:20px;height:20px;border-radius:100px;background-color:#c6c7cb;display:flex;flex-direction:row;align-items:center;justify-content:center;transform:scale(.82)}.u-search__content__input.data-v-cdd8f7ac{flex:1;font-size:14px;line-height:1;margin:0 5px;color:#303133}.u-search__content__input--placeholder.data-v-cdd8f7ac{color:#909193}.u-search__action.data-v-cdd8f7ac{font-size:14px;color:#303133;width:0;overflow:hidden;transition-property:width;transition-duration:.3s;white-space:nowrap;text-align:center}.u-search__action--active.data-v-cdd8f7ac{width:40px;margin-left:5px}.u-search__reverse .u-search__content__icon.data-v-cdd8f7ac{order:3}.u-search__reverse .u-search__content__close.data-v-cdd8f7ac{order:2} diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-status-bar/u-status-bar.js b/dist/build/mp-weixin/node-modules/uview-plus/components/u-status-bar/u-status-bar.js index c4799f9..112b8ad 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-status-bar/u-status-bar.js +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-status-bar/u-status-bar.js @@ -1 +1 @@ -"use strict";const e=require("../../../../common/vendor.js"),t={name:"u-status-bar",mixins:[e.mpMixin,e.mixin,e.props$15],data:()=>({isH5:!0}),created(){},computed:{style(){const t={};return t.height=e.addUnit(e.getWindowInfo().statusBarHeight,"px"),t.backgroundColor=this.bgColor,e.deepMerge(t,e.addStyle(this.customStyle))}}};const s=e._export_sfc(t,[["render",function(t,s,n,o,r,a){return{a:e.s(a.style),b:e.n(r.isH5&&"u-safe-area-inset-top")}}],["__scopeId","data-v-028ae47e"]]);wx.createComponent(s); +"use strict";const t=require("../../../../common/vendor.js"),e={name:"u-status-bar",mixins:[t.mpMixin,t.mixin,t.props$16],data:()=>({isH5:!1}),created(){},emits:["update:height"],computed:{style(){const e={};let s=t.getWindowInfo().statusBarHeight;return this.$emit("update:height",s),0==s?this.isH5=!0:e.height=t.addUnit(s,"px"),e.backgroundColor=this.bgColor,t.deepMerge(e,t.addStyle(this.customStyle))}}};const s=t._export_sfc(e,[["render",function(e,s,i,n,o,r){return{a:t.s(r.style),b:t.n(o.isH5&&"u-safe-area-inset-top")}}],["__scopeId","data-v-8560b614"]]);wx.createComponent(s); diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-status-bar/u-status-bar.wxml b/dist/build/mp-weixin/node-modules/uview-plus/components/u-status-bar/u-status-bar.wxml index 0a1842e..a7e3d09 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-status-bar/u-status-bar.wxml +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-status-bar/u-status-bar.wxml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-status-bar/u-status-bar.wxss b/dist/build/mp-weixin/node-modules/uview-plus/components/u-status-bar/u-status-bar.wxss index 211aa78..94959a5 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-status-bar/u-status-bar.wxss +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-status-bar/u-status-bar.wxss @@ -1 +1 @@ -.u-status-bar.data-v-028ae47e{width:100%} +.u-status-bar.data-v-8560b614{width:100%} diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.js b/dist/build/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.js index ffc6292..ff20e1e 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.js +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.js @@ -1 +1 @@ -"use strict";const t=require("../../../../common/vendor.js"),e={name:"u-steps-item",mixins:[t.mpMixin,t.mixin,t.props$4],data:()=>({index:0,childLength:0,showLine:!1,size:{height:0,width:0},parentData:{direction:"row",current:0,activeColor:"",inactiveColor:"",activeIcon:"",inactiveIcon:"",dot:!1}}),watch:{parentData(t,e){}},created(){this.init()},computed:{lineStyle(){var e,a;const r={};return"row"===this.parentData.direction?(r.width=this.size.width+"px",r.left=this.size.width/2+"px"):r.height=this.size.height+"px",r.backgroundColor=(null==(a=null==(e=this.parent.children)?void 0:e[this.index+1])?void 0:a.error)?t.color.error:this.indext?"finish":"wait"},statusColor(){let e="";switch(this.statusClass){case"finish":e=this.parentData.activeColor;break;case"error":e=t.color.error;break;case"process":e=this.parentData.dot?this.parentData.activeColor:"transparent";break;default:e=this.parentData.inactiveColor}return e},contentStyle(){const t={};return"column"===this.parentData.direction?(t.marginLeft=this.parentData.dot?"2px":"6px",t.marginTop=this.parentData.dot?"0px":"6px"):(t.marginTop=this.parentData.dot?"2px":"6px",t.marginLeft=this.parentData.dot?"2px":"6px"),t}},mounted(){this.parent&&this.parent.updateFromChild(),t.sleep().then((()=>{this.getStepsItemRect()}))},methods:{init(){if(this.updateParentData(),!this.parent)return t.error();this.index=this.parent.children.indexOf(this),this.childLength=this.parent.children.length},updateParentData(){this.getParentData("u-steps")},updateFromParent(){this.init()},getStepsItemRect(){this.$uGetRect(".u-steps-item").then((t=>{this.size=t}))}}};if(!Array){(t.resolveComponent("u-icon")+t.resolveComponent("up-text"))()}Math||((()=>"../u-icon/u-icon.js")+(()=>"../u-text/u-text.js"))();const a=t._export_sfc(e,[["render",function(e,a,r,n,i,s){return t.e({a:i.index+1({index:0,childLength:0,showLine:!1,size:{height:0,width:0},parentData:{direction:"row",current:0,activeColor:"",inactiveColor:"",activeIcon:"",inactiveIcon:"",dot:!1}}),watch:{parentData(t,e){}},created(){this.init()},computed:{lineStyle(){var e,a;const n={};return"row"===this.parentData.direction?(n.width=this.size.width+"px",n.left=this.size.width/2+"px"):n.height=this.size.height+"px",n.backgroundColor=(null==(a=null==(e=this.parent.children)?void 0:e[this.index+1])?void 0:a.error)?t.color.error:this.indext?"finish":"wait"},statusColor(){let e="";switch(this.statusClass){case"finish":e=this.parentData.activeColor;break;case"error":e=t.color.error;break;case"process":e=this.parentData.dot?this.parentData.activeColor:"transparent";break;default:e=this.parentData.inactiveColor}return e},contentStyle(){const t={};return"column"===this.parentData.direction?(t.marginLeft=this.parentData.dot?"2px":"6px",t.marginTop=this.parentData.dot?"0px":"6px"):(t.marginTop=this.parentData.dot?"2px":"6px",t.marginLeft=this.parentData.dot?"2px":"6px"),t}},mounted(){this.parent&&this.parent.updateFromChild(),t.sleep().then(()=>{this.getStepsItemRect()})},methods:{init(){if(this.updateParentData(),!this.parent)return t.error();this.index=this.parent.children.indexOf(this),this.childLength=this.parent.children.length},updateParentData(){this.getParentData("u-steps")},updateFromParent(){this.init()},getStepsItemRect(){this.$uGetRect(".u-steps-item").then(t=>{this.size=t})}}};if(!Array){(t.resolveComponent("up-icon")+t.resolveComponent("up-text"))()}Math||((()=>"../u-icon/u-icon.js")+(()=>"../u-text/u-text.js"))();const a=t._export_sfc(e,[["render",function(e,a,n,r,i,s){return t.e({a:i.index+1{{i}} \ No newline at end of file +{{i}} \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.wxss b/dist/build/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.wxss index ab14c53..dfb9030 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.wxss +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.wxss @@ -1 +1 @@ -.u-empty.data-v-9ac34a11,.u-empty__wrap.data-v-9ac34a11,.u-tabs.data-v-9ac34a11,.u-tabs__wrapper.data-v-9ac34a11,.u-tabs__wrapper__scroll-view-wrapper.data-v-9ac34a11,.u-tabs__wrapper__scroll-view.data-v-9ac34a11,.u-tabs__wrapper__nav.data-v-9ac34a11,.u-tabs__wrapper__nav__line.data-v-9ac34a11,.up-empty.data-v-9ac34a11,.up-empty__wrap.data-v-9ac34a11,.up-tabs.data-v-9ac34a11,.up-tabs__wrapper.data-v-9ac34a11,.up-tabs__wrapper__scroll-view-wrapper.data-v-9ac34a11,.up-tabs__wrapper__scroll-view.data-v-9ac34a11,.up-tabs__wrapper__nav.data-v-9ac34a11,.up-tabs__wrapper__nav__line.data-v-9ac34a11{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-steps-item.data-v-9ac34a11{flex:1;display:flex;flex-direction:row}.u-steps-item--row.data-v-9ac34a11{flex-direction:column;align-items:center;position:relative}.u-steps-item--column.data-v-9ac34a11{position:relative;flex-direction:row;justify-content:flex-start;padding-bottom:5px}.u-steps-item__wrapper.data-v-9ac34a11{display:flex;flex-direction:row;justify-content:center;align-items:center;position:relative;background-color:#fff;border-radius:50px}.u-steps-item__wrapper--column.data-v-9ac34a11{width:20px;height:20px}.u-steps-item__wrapper--column--dot.data-v-9ac34a11{height:20px;width:20px}.u-steps-item__wrapper--row.data-v-9ac34a11,.u-steps-item__wrapper--row--dot.data-v-9ac34a11{width:20px;height:20px}.u-steps-item__wrapper__circle.data-v-9ac34a11{width:20px;height:20px;box-sizing:border-box;flex-shrink:0;border-radius:100px;border-width:1px;border-color:#909193;border-style:solid;display:flex;flex-direction:row;align-items:center;justify-content:center;transition:background-color .3s}.u-steps-item__wrapper__circle__text.data-v-9ac34a11{color:#909193;font-size:11px;display:flex;flex-direction:row;align-items:center;justify-content:center;text-align:center;line-height:11px}.u-steps-item__wrapper__dot.data-v-9ac34a11{width:10px;height:10px;border-radius:100px;background-color:#606266}.u-steps-item__content.data-v-9ac34a11{display:flex;flex-direction:row;flex:1}.u-steps-item__content--row.data-v-9ac34a11{flex-direction:column;align-items:center}.u-steps-item__content--column.data-v-9ac34a11{flex-direction:column;margin-left:6px}.u-steps-item__line.data-v-9ac34a11{position:absolute;background:#909193}.u-steps-item__line--row.data-v-9ac34a11{top:10px;height:1px}.u-steps-item__line--column.data-v-9ac34a11{width:1px;left:10px} +.u-steps-item.data-v-f6290bbb{flex:1;display:flex;flex-direction:row}.u-steps-item--row.data-v-f6290bbb{flex-direction:column;align-items:center;position:relative}.u-steps-item--column.data-v-f6290bbb{position:relative;flex-direction:row;justify-content:flex-start;padding-bottom:5px}.u-steps-item__wrapper.data-v-f6290bbb{display:flex;flex-direction:row;justify-content:center;align-items:center;position:relative;background-color:#fff;border-radius:50px}.u-steps-item__wrapper--column.data-v-f6290bbb{width:20px;height:20px}.u-steps-item__wrapper--column--dot.data-v-f6290bbb{height:20px;width:20px}.u-steps-item__wrapper--row.data-v-f6290bbb,.u-steps-item__wrapper--row--dot.data-v-f6290bbb{width:20px;height:20px}.u-steps-item__wrapper__circle.data-v-f6290bbb{width:20px;height:20px;box-sizing:border-box;flex-shrink:0;border-radius:100px;border-width:1px;border-color:#909193;border-style:solid;display:flex;flex-direction:row;align-items:center;justify-content:center;transition:background-color .3s}.u-steps-item__wrapper__circle__text.data-v-f6290bbb{color:#909193;font-size:11px;display:flex;flex-direction:row;align-items:center;justify-content:center;text-align:center;line-height:11px}.u-steps-item__wrapper__dot.data-v-f6290bbb{width:10px;height:10px;border-radius:100px;background-color:#606266}.u-steps-item__content.data-v-f6290bbb{display:flex;flex-direction:row;flex:1}.u-steps-item__content--row.data-v-f6290bbb{flex-direction:column;align-items:center}.u-steps-item__content--column.data-v-f6290bbb{flex-direction:column;margin-left:6px}.u-steps-item__line.data-v-f6290bbb{position:absolute;background:#909193}.u-steps-item__line--row.data-v-f6290bbb{top:10px;height:1px}.u-steps-item__line--column.data-v-f6290bbb{width:1px;left:10px} diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.js b/dist/build/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.js index 8d8891e..8858272 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.js +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.js @@ -1 +1 @@ -"use strict";const t=require("../../../../common/vendor.js"),e={name:"u-steps",mixins:[t.mpMixin,t.mixin,t.props$5],data:()=>({}),watch:{children(){this.updateChildData()},parentData(){this.updateChildData()}},computed:{parentData(){return[this.current,this.direction,this.activeColor,this.inactiveColor,this.activeIcon,this.inactiveIcon,this.dot]}},methods:{updateChildData(){this.children.map((e=>{t.test.func((e||{}).updateFromParent())&&e.updateFromParent()}))},updateFromChild(){this.updateChildData()}},created(){this.children=[]},options:{virtualHost:!1}};const i=t._export_sfc(e,[["render",function(e,i,a,n,r,s){return{a:t.n(`u-steps--${e.direction}`)}}],["__scopeId","data-v-e657ef46"]]);wx.createComponent(i); +"use strict";const t=require("../../../../common/vendor.js"),e={name:"u-steps",mixins:[t.mpMixin,t.mixin,t.props$4],data:()=>({}),watch:{children(){this.updateChildData()},parentDataCpu(){this.updateChildData()}},computed:{parentDataCpu(){return[this.current,this.direction,this.activeColor,this.inactiveColor,this.activeIcon,this.inactiveIcon,this.dot]}},methods:{updateChildData(){this.children.map(e=>{t.test.func((e||{}).updateFromParent())&&e.updateFromParent()})},updateFromChild(){this.updateChildData()}},created(){this.children=[]},options:{virtualHost:!1}};const i=t._export_sfc(e,[["render",function(e,i,a,n,r,s){return{a:t.n(`u-steps--${e.direction}`)}}],["__scopeId","data-v-db0784f9"]]);wx.createComponent(i); diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.wxml b/dist/build/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.wxml index 57d7680..85e4b24 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.wxml +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.wxml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.wxss b/dist/build/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.wxss index 34bafc1..5ecb0ff 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.wxss +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.wxss @@ -1 +1 @@ -.u-empty.data-v-e657ef46,.u-empty__wrap.data-v-e657ef46,.u-tabs.data-v-e657ef46,.u-tabs__wrapper.data-v-e657ef46,.u-tabs__wrapper__scroll-view-wrapper.data-v-e657ef46,.u-tabs__wrapper__scroll-view.data-v-e657ef46,.u-tabs__wrapper__nav.data-v-e657ef46,.u-tabs__wrapper__nav__line.data-v-e657ef46,.up-empty.data-v-e657ef46,.up-empty__wrap.data-v-e657ef46,.up-tabs.data-v-e657ef46,.up-tabs__wrapper.data-v-e657ef46,.up-tabs__wrapper__scroll-view-wrapper.data-v-e657ef46,.up-tabs__wrapper__scroll-view.data-v-e657ef46,.up-tabs__wrapper__nav.data-v-e657ef46,.up-tabs__wrapper__nav__line.data-v-e657ef46{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-steps.data-v-e657ef46{display:flex;flex-direction:row}.u-steps--column.data-v-e657ef46{flex-direction:column}.u-steps--row.data-v-e657ef46{flex-direction:row;flex:1;display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr))} +.u-steps.data-v-db0784f9{display:flex;flex-direction:row}.u-steps--column.data-v-db0784f9{flex-direction:column}.u-steps--row.data-v-db0784f9{flex-direction:row;flex:1;display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));display:flex!important} diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.js b/dist/build/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.js index 687f71a..84ea858 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.js +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.js @@ -1 +1 @@ -"use strict";const e=require("../../../../common/vendor.js"),t={name:"u-tabs",mixins:[e.mpMixin,e.mixin,e.props$3],data:()=>({firstTime:!0,scrollLeft:0,scrollViewWidth:0,lineOffsetLeft:0,tabsRect:{left:0},innerCurrent:0,moving:!1}),watch:{current:{immediate:!0,handler(e,t){e!==this.innerCurrent&&(this.innerCurrent="string"==typeof e?parseInt(e):e,this.$nextTick((()=>{this.resize()})))}},list(){this.$nextTick((()=>{this.resize()}))}},computed:{textStyle(){return t=>{const i={},s=t==this.innerCurrent?e.addStyle(this.activeStyle):e.addStyle(this.inactiveStyle);return this.list[t].disabled&&(i.color="#c8c9cc"),e.deepMerge(s,i)}},propsBadge:()=>e.defProps.badge},async mounted(){this.init()},emits:["click","longPress","change","update:current"],methods:{addStyle:e.addStyle,addUnit:e.addUnit,setLineLeft(){const t=this.list[this.innerCurrent];if(!t)return;let i=this.list.slice(0,this.innerCurrent).reduce(((e,t)=>e+t.rect.width),0);const s=e.getPx(this.lineWidth);this.lineOffsetLeft=i+(t.rect.width-s)/2,this.firstTime&&setTimeout((()=>{this.firstTime=!1}),10)},animation(e,t=0){},clickHandler(e,t){this.$emit("click",{...e,index:t},t),e.disabled||(this.innerCurrent=t,this.resize(),this.$emit("update:current",t),this.$emit("change",{...e,index:t},t))},longPressHandler(e,t){this.$emit("longPress",{...e,index:t})},init(){e.sleep().then((()=>{this.resize()}))},setScrollLeft(){this.innerCurrent<0&&(this.innerCurrent=0);const t=this.list[this.innerCurrent],i=this.list.slice(0,this.innerCurrent).reduce(((e,t)=>e+t.rect.width),0),s=e.getWindowInfo().windowWidth;let r=i-(this.tabsRect.width-t.rect.width)/2-(s-this.tabsRect.right)/2+this.tabsRect.left/2;r=Math.min(r,this.scrollViewWidth-this.tabsRect.width),this.scrollLeft=Math.max(0,r)},resize(){0!==this.list.length&&Promise.all([this.getTabsRect(),this.getAllItemRect()]).then((([e,t=[]])=>{e.left>e.width&&(e.right=e.right-Math.floor(e.left/e.width)*e.width,e.left=e.left%e.width),this.tabsRect=e,this.scrollViewWidth=0,t.map(((e,t)=>{this.scrollViewWidth+=e.width,this.list[t].rect=e})),this.setLineLeft(),this.setScrollLeft()}))},getTabsRect(){return new Promise((e=>{this.queryRect("u-tabs__wrapper__scroll-view").then((t=>e(t)))}))},getAllItemRect(){return new Promise((e=>{const t=this.list.map(((e,t)=>this.queryRect(`u-tabs__wrapper__nav__item-${t}`,!0)));Promise.all(t).then((t=>e(t)))}))},queryRect(e,t){return new Promise((t=>{this.$uGetRect(`.${e}`).then((e=>{t(e)}))}))}}};if(!Array){e.resolveComponent("u-badge")()}Math;const i=e._export_sfc(t,[["render",function(t,i,s,r,n,a){return{a:e.f(t.list,((i,s,r)=>e.e(t.$slots.content?{a:"content-"+r,b:e.r("content",{item:i,keyName:t.keyName,index:s},r)}:t.$slots.content||!t.$slots.default&&!t.$slots.$default?{e:e.t(i[t.keyName]),f:e.n(i.disabled&&"u-tabs__wrapper__nav__item__text--disabled"),g:e.s(a.textStyle(s))}:{c:"d-"+r,d:e.r("d",{item:i,keyName:t.keyName,index:s},r)},{h:"4cd087ae-0-"+r,i:e.p({show:!(!i.badge||!(i.badge.show||i.badge.isDot||i.badge.value)),isDot:i.badge&&i.badge.isDot||a.propsBadge.isDot,value:i.badge&&i.badge.value||a.propsBadge.value,max:i.badge&&i.badge.max||a.propsBadge.max,type:i.badge&&i.badge.type||a.propsBadge.type,showZero:i.badge&&i.badge.showZero||a.propsBadge.showZero,bgColor:i.badge&&i.badge.bgColor||a.propsBadge.bgColor,color:i.badge&&i.badge.color||a.propsBadge.color,shape:i.badge&&i.badge.shape||a.propsBadge.shape,numberType:i.badge&&i.badge.numberType||a.propsBadge.numberType,inverted:i.badge&&i.badge.inverted||a.propsBadge.inverted,customStyle:"margin-left: 4px;"}),j:s,k:e.o((e=>a.clickHandler(i,s)),s),l:e.o((e=>a.longPressHandler(i,s)),s),m:`u-tabs__wrapper__nav__item-${s}`,n:e.n(`u-tabs__wrapper__nav__item-${s}`),o:e.n(i.disabled&&"u-tabs__wrapper__nav__item--disabled"),p:e.n(n.innerCurrent==s?"u-tabs__wrapper__nav__item-active":"")}))),b:t.$slots.content,c:!t.$slots.content&&(t.$slots.default||t.$slots.$default),d:e.s(a.addStyle(t.itemStyle)),e:e.s({flex:t.scrollable?"":1}),f:e.s({width:a.addUnit(t.lineWidth),transform:`translate(${n.lineOffsetLeft}px)`,transitionDuration:`${n.firstTime?0:t.duration}ms`,height:a.addUnit(t.lineHeight),background:t.lineColor,backgroundSize:t.lineBgSize}),g:t.scrollable,h:n.scrollLeft,i:e.n(t.customClass)}}],["__scopeId","data-v-4cd087ae"]]);wx.createComponent(i); +"use strict";const e=require("../../../../common/vendor.js"),t={name:"u-tabs",mixins:[e.mpMixin,e.mixin,e.props$6],data:()=>({tabList:[],scrollLeft:0,scrollViewWidth:0,lineOffsetLeft:0,lineShow:!1,tabsRect:{left:0},innerCurrent:0,moving:!1}),watch:{current:{immediate:!0,handler(e,t){e!==this.innerCurrent&&(this.innerCurrent="string"==typeof e?parseInt(e):e,this.$nextTick(()=>{this.resize()}))}},list:{handler(t,i){this.tabList=e.deepClone(t),this.$nextTick(()=>{this.resize()})},immediate:!0,deep:!0}},computed:{textStyle(){return t=>{const i={},s=t==this.innerCurrent?e.addStyle(this.activeStyle):e.addStyle(this.inactiveStyle);return this.tabList[t].disabled&&(i.color="#c8c9cc"),e.deepMerge(s,i)}},propsBadge:()=>e.props$7.badge},async mounted(){this.init(),this.windowResizeCallback=e=>{this.init()},e.index.onWindowResize(this.windowResizeCallback)},beforeUnmount(){e.index.offWindowResize(this.windowResizeCallback)},emits:["click","longPress","change","update:current"],methods:{addStyle:e.addStyle,addUnit:e.addUnit,setLineLeft(){const t=this.tabList[this.innerCurrent];if(!t)return;let i=this.tabList.slice(0,this.innerCurrent).reduce((e,t)=>e+t.rect.width,0);const s=e.getPx(this.lineWidth);this.lineOffsetLeft=i+(t.rect.width-s)/2,this.lineShow||(this.lineShow=!0)},animation(e,t=0){},clickHandler(e,t){this.$emit("click",{...e,index:t},t),e.disabled||this.innerCurrent!=t&&(this.innerCurrent=t,this.$nextTick(()=>{this.resize()}),this.$emit("update:current",t),this.$emit("change",{...e,index:t},t))},longPressHandler(e,t){this.$emit("longPress",{...e,index:t})},init(){e.sleep().then(()=>{this.resize()})},setScrollLeft(){this.innerCurrent<0&&(this.innerCurrent=0);const t=this.tabList[this.innerCurrent],i=this.tabList.slice(0,this.innerCurrent).reduce((e,t)=>e+t.rect.width,0),s=e.getWindowInfo().windowWidth;let n=i-(this.tabsRect.width-t.rect.width)/2-(s-this.tabsRect.right)/2+this.tabsRect.left/2;n=Math.min(n,this.scrollViewWidth-this.tabsRect.width),this.scrollLeft=Math.max(0,n)},resize(){0!==this.tabList.length&&Promise.all([this.getTabsRect(),this.getAllItemRect()]).then(([e,t=[]])=>{e.left>e.width&&(e.right=e.right-Math.floor(e.left/e.width)*e.width,e.left=e.left%e.width),this.tabsRect=e,this.scrollViewWidth=0,t.map((e,t)=>{this.scrollViewWidth+=e.width,this.tabList[t].rect=e}),this.setLineLeft(),this.setScrollLeft()})},getTabsRect(){return new Promise(e=>{this.queryRect("u-tabs__wrapper__scroll-view").then(t=>e(t))})},getAllItemRect(){return new Promise(e=>{const t=this.tabList.map((e,t)=>this.queryRect(`u-tabs__wrapper__nav__item-${t}`,!0));Promise.all(t).then(t=>e(t))})},queryRect(e,t){return new Promise(t=>{this.$uGetRect(`.${e}`).then(e=>{t(e)})})}}};if(!Array){(e.resolveComponent("up-icon")+e.resolveComponent("u-badge"))()}Math||((()=>"../u-icon/u-icon.js")+(()=>"../u-badge/u-badge.js"))();const i=e._export_sfc(t,[["render",function(t,i,s,n,r,a){return{a:e.f(r.tabList,(i,s,n)=>e.e(t.$slots.icon?{a:"icon-"+n,b:e.r("icon",{item:i,keyName:t.keyName,index:s},n)}:e.e({c:i.icon},i.icon?{d:"d40fa365-0-"+n,e:e.p({name:i.icon,customStyle:a.addStyle(t.iconStyle)})}:{}),t.$slots.content?{f:"content-"+n,g:e.r("content",{item:i,keyName:t.keyName,index:s},n)}:t.$slots.content||!t.$slots.default&&!t.$slots.$default?{j:e.t(i[t.keyName]),k:e.n(i.disabled&&"u-tabs__wrapper__nav__item__text--disabled"),l:e.s(a.textStyle(s))}:{h:"d-"+n,i:e.r("d",{item:i,keyName:t.keyName,index:s},n)},{m:"d40fa365-1-"+n,n:e.p({show:!(!i.badge||!(i.badge.show||i.badge.isDot||i.badge.value)),isDot:i.badge&&i.badge.isDot||a.propsBadge.isDot,value:i.badge&&i.badge.value||a.propsBadge.value,max:i.badge&&i.badge.max||a.propsBadge.max,type:i.badge&&i.badge.type||a.propsBadge.type,showZero:i.badge&&i.badge.showZero||a.propsBadge.showZero,bgColor:i.badge&&i.badge.bgColor||a.propsBadge.bgColor,color:i.badge&&i.badge.color||a.propsBadge.color,shape:i.badge&&i.badge.shape||a.propsBadge.shape,numberType:i.badge&&i.badge.numberType||a.propsBadge.numberType,inverted:i.badge&&i.badge.inverted||a.propsBadge.inverted,customStyle:"margin-left: 4px;"}),o:s,p:e.o(e=>a.clickHandler(i,s),s),q:e.o(e=>a.longPressHandler(i,s),s),r:`u-tabs__wrapper__nav__item-${s}`,s:e.n(`u-tabs__wrapper__nav__item-${s}`),t:e.n(i.disabled&&"u-tabs__wrapper__nav__item--disabled"),v:e.n(r.innerCurrent==s?"u-tabs__wrapper__nav__item-active":"")})),b:t.$slots.icon,c:t.$slots.content,d:!t.$slots.content&&(t.$slots.default||t.$slots.$default),e:e.s(a.addStyle(t.itemStyle)),f:e.s({flex:t.scrollable?"":1}),g:e.s({width:a.addUnit(t.lineWidth),transform:`translate(${r.lineOffsetLeft}px)`,transitionDuration:`${t.duration}ms`,height:a.addUnit(t.lineHeight),background:t.lineColor,backgroundSize:t.lineBgSize,display:r.lineShow?"block":"none"}),h:t.scrollable,i:r.scrollLeft,j:e.n(t.customClass)}}],["__scopeId","data-v-d40fa365"]]);wx.createComponent(i); diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.json b/dist/build/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.json index ac418c8..bab8d82 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.json +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.json @@ -1,6 +1,7 @@ { "component": true, "usingComponents": { + "up-icon": "../u-icon/u-icon", "u-badge": "../u-badge/u-badge" } } \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.wxml b/dist/build/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.wxml index d54cb9a..28256d4 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.wxml +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.wxml @@ -1 +1 @@ -{{item.e}} \ No newline at end of file +{{item.j}} \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.wxss b/dist/build/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.wxss index 2008839..611320f 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.wxss +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.wxss @@ -1 +1 @@ -.u-empty.data-v-4cd087ae,.u-empty__wrap.data-v-4cd087ae,.u-tabs.data-v-4cd087ae,.u-tabs__wrapper.data-v-4cd087ae,.u-tabs__wrapper__scroll-view-wrapper.data-v-4cd087ae,.u-tabs__wrapper__scroll-view.data-v-4cd087ae,.u-tabs__wrapper__nav.data-v-4cd087ae,.u-tabs__wrapper__nav__line.data-v-4cd087ae,.up-empty.data-v-4cd087ae,.up-empty__wrap.data-v-4cd087ae,.up-tabs.data-v-4cd087ae,.up-tabs__wrapper.data-v-4cd087ae,.up-tabs__wrapper__scroll-view-wrapper.data-v-4cd087ae,.up-tabs__wrapper__scroll-view.data-v-4cd087ae,.up-tabs__wrapper__nav.data-v-4cd087ae,.up-tabs__wrapper__nav__line.data-v-4cd087ae{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-tabs__wrapper.data-v-4cd087ae{display:flex;flex-direction:row;align-items:center}.u-tabs__wrapper__scroll-view-wrapper.data-v-4cd087ae{flex:1;overflow:auto hidden}.u-tabs__wrapper__scroll-view.data-v-4cd087ae{display:flex;flex-direction:row;flex:1}.u-tabs__wrapper__nav.data-v-4cd087ae{display:flex;flex-direction:row;position:relative}.u-tabs__wrapper__nav__item.data-v-4cd087ae{padding:0 11px;display:flex;flex-direction:row;align-items:center;justify-content:center}.u-tabs__wrapper__nav__item__text.data-v-4cd087ae{font-size:15px;color:#606266;white-space:nowrap!important}.u-tabs__wrapper__nav__item__text--disabled.data-v-4cd087ae{color:#c8c9cc!important}.u-tabs__wrapper__nav__line.data-v-4cd087ae{height:3px;background:#3c9cff;width:30px;position:absolute;bottom:2px;border-radius:100px;transition-property:transform;transition-duration:.3s} +.u-tabs__wrapper.data-v-d40fa365{display:flex;flex-direction:row;align-items:center}.u-tabs__wrapper__scroll-view-wrapper.data-v-d40fa365{flex:1;overflow:auto hidden}.u-tabs__wrapper__scroll-view.data-v-d40fa365{display:flex;flex-direction:row;flex:1}.u-tabs__wrapper__nav.data-v-d40fa365{display:flex;flex-direction:row;position:relative}.u-tabs__wrapper__nav__item.data-v-d40fa365{padding:0 11px;display:flex;flex-direction:row;align-items:center;justify-content:center}.u-tabs__wrapper__nav__item__text.data-v-d40fa365{font-size:15px;color:#606266;white-space:nowrap!important}.u-tabs__wrapper__nav__item__text--disabled.data-v-d40fa365{color:#c8c9cc!important}.u-tabs__wrapper__nav__line.data-v-d40fa365{height:3px;background:#3c9cff;width:30px;position:absolute;bottom:2px;border-radius:100px;transition-property:transform;transition-duration:.3s} diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-text/u-text.js b/dist/build/mp-weixin/node-modules/uview-plus/components/u-text/u-text.js index ca0fb45..a2a82de 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-text/u-text.js +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-text/u-text.js @@ -1 +1 @@ -"use strict";const e=require("../../../../common/vendor.js"),t={name:"up-text",mixins:[e.mpMixin,e.mixin,e.value,e.buttonMixin,e.openType,e.props$9],emits:["click"],computed:{wrapStyle(){let e={margin:this.margin,justifyContent:"left"===this.align?"flex-start":"center"===this.align?"center":"flex-end"};return this.flex1&&(e.flex=1,e.width="100%"),e},valueStyle(){const t={textDecoration:this.decoration,fontWeight:this.bold?"bold":"normal",wordWrap:this.wordWrap,fontSize:e.addUnit(this.size)};return!this.type&&(t.color=this.color),this.isNvue&&this.lines&&(t.lines=this.lines),this.lineHeight&&(t.lineHeight=e.addUnit(this.lineHeight)),!this.isNvue&&this.block&&(t.display="block"),e.deepMerge(t,e.addStyle(this.customStyle))},isNvue:()=>!1,isMp(){let e=!1;return e=!0,true}},data:()=>({}),methods:{addStyle:e.addStyle,clickHandler(t){this.call&&"phone"===this.mode&&e.index.makePhoneCall({phoneNumber:this.text}),this.$emit("click",t)}}};if(!Array){(e.resolveComponent("u-icon")+e.resolveComponent("u-link"))()}Math||((()=>"../u-icon/u-icon.js")+(()=>"../u-link/u-link.js"))();const n=e._export_sfc(t,[["render",function(t,n,i,o,s,l){return e.e({a:t.show},t.show?e.e({b:"price"===t.mode},"price"===t.mode?{c:e.n(t.type&&`u-text__value--${t.type}`),d:e.s(l.valueStyle)}:{},{e:t.prefixIcon},t.prefixIcon?{f:e.p({name:t.prefixIcon,customStyle:l.addStyle(t.iconStyle)})}:{},{g:"link"===t.mode},"link"===t.mode?{h:l.valueStyle.fontWeight,i:l.valueStyle.wordWrap,j:l.valueStyle.fontSize,k:e.n(t.type&&`u-text__value--${t.type}`),l:e.n(t.lines&&`u-line-${t.lines}`),m:e.p({text:t.value,href:t.href,underLine:!0})}:t.openType&&l.isMp?{o:e.t(t.value),p:e.s(l.valueStyle),q:t.index,r:t.openType,s:e.o(((...e)=>t.onGetUserInfo&&t.onGetUserInfo(...e))),t:e.o(((...e)=>t.onContact&&t.onContact(...e))),v:e.o(((...e)=>t.onGetPhoneNumber&&t.onGetPhoneNumber(...e))),w:e.o(((...e)=>t.onError&&t.onError(...e))),x:e.o(((...e)=>t.onLaunchApp&&t.onLaunchApp(...e))),y:e.o(((...e)=>t.onOpenSetting&&t.onOpenSetting(...e))),z:t.lang,A:t.sessionFrom,B:t.sendMessageTitle,C:t.sendMessagePath,D:t.sendMessageImg,E:t.showMessageCard,F:t.appParameter}:{G:e.t(t.value),H:e.s(l.valueStyle),I:e.n(t.type&&`u-text__value--${t.type}`),J:e.n(t.lines&&`u-line-${t.lines}`)},{n:t.openType&&l.isMp,K:t.suffixIcon},t.suffixIcon?{L:e.p({name:t.suffixIcon,customStyle:l.addStyle(t.iconStyle)})}:{},{M:e.n(t.customClass),N:e.s(l.wrapStyle),O:e.o(((...e)=>l.clickHandler&&l.clickHandler(...e)))}):{})}],["__scopeId","data-v-132e021e"]]);wx.createComponent(n); +"use strict";const e=require("../../../../common/vendor.js"),t={name:"up-text",mixins:[e.mpMixin,e.mixin,e.value,e.buttonMixin,e.openType,e.props$10],emits:["click"],computed:{wrapStyle(){let e={margin:this.margin,justifyContent:"left"===this.align?"flex-start":"center"===this.align?"center":"flex-end"};return this.flex1&&(e.flex=1,e.width="100%"),e},valueStyle(){const t={textDecoration:this.decoration,fontWeight:this.bold?"bold":"normal",wordWrap:this.wordWrap,fontSize:e.addUnit(this.size)};return!this.type&&(t.color=this.color),this.isNvue&&this.lines&&(t.lines=this.lines),this.lineHeight&&(t.lineHeight=e.addUnit(this.lineHeight)),!this.isNvue&&this.block&&(t.display="block"),e.deepMerge(t,e.addStyle(this.customStyle))},isNvue:()=>!1,isMp(){let e=!1;return e=!0,true}},data:()=>({}),methods:{addStyle:e.addStyle,clickHandler(t){this.call&&"phone"===this.mode&&e.index.makePhoneCall({phoneNumber:this.text}),this.$emit("click",t)}}};if(!Array){(e.resolveComponent("up-icon")+e.resolveComponent("u-link"))()}Math||((()=>"../u-icon/u-icon.js")+(()=>"../u-link/u-link.js"))();const n=e._export_sfc(t,[["render",function(t,n,i,o,s,l){return e.e({a:t.show},t.show?e.e({b:"price"===t.mode},"price"===t.mode?{c:e.n(t.type&&`u-text__value--${t.type}`),d:e.s(l.valueStyle)}:{},{e:t.prefixIcon},t.prefixIcon?{f:e.p({name:t.prefixIcon,customStyle:l.addStyle(t.iconStyle)})}:{},{g:"link"===t.mode},"link"===t.mode?{h:l.valueStyle.fontWeight,i:l.valueStyle.wordWrap,j:l.valueStyle.fontSize,k:e.n(t.type&&`u-text__value--${t.type}`),l:e.n(t.lines&&`u-line-${t.lines}`),m:e.p({text:t.value,href:t.href,underLine:!0})}:t.openType&&l.isMp?{o:e.t(t.value),p:e.s(l.valueStyle),q:t.index,r:t.openType,s:e.o((...e)=>t.onGetUserInfo&&t.onGetUserInfo(...e)),t:e.o((...e)=>t.onContact&&t.onContact(...e)),v:e.o((...e)=>t.onGetPhoneNumber&&t.onGetPhoneNumber(...e)),w:e.o((...e)=>t.onError&&t.onError(...e)),x:e.o((...e)=>t.onLaunchApp&&t.onLaunchApp(...e)),y:e.o((...e)=>t.onOpenSetting&&t.onOpenSetting(...e)),z:t.lang,A:t.sessionFrom,B:t.sendMessageTitle,C:t.sendMessagePath,D:t.sendMessageImg,E:t.showMessageCard,F:t.appParameter}:{G:e.t(t.value),H:e.s(l.valueStyle),I:e.n(t.type&&`u-text__value--${t.type}`),J:e.n(t.lines&&`u-line-${t.lines}`)},{n:t.openType&&l.isMp,K:t.suffixIcon},t.suffixIcon?{L:e.p({name:t.suffixIcon,customStyle:l.addStyle(t.iconStyle)})}:{},{M:e.n(t.customClass),N:e.s(l.wrapStyle),O:e.o((...e)=>l.clickHandler&&l.clickHandler(...e))}):{})}],["__scopeId","data-v-e6e5a2b7"]]);wx.createComponent(n); diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-text/u-text.json b/dist/build/mp-weixin/node-modules/uview-plus/components/u-text/u-text.json index 2056454..058cfad 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-text/u-text.json +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-text/u-text.json @@ -1,7 +1,7 @@ { "component": true, "usingComponents": { - "u-icon": "../u-icon/u-icon", + "up-icon": "../u-icon/u-icon", "u-link": "../u-link/u-link" } } \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-text/u-text.wxml b/dist/build/mp-weixin/node-modules/uview-plus/components/u-text/u-text.wxml index dd02643..5f60101 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-text/u-text.wxml +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-text/u-text.wxml @@ -1 +1 @@ -{{G}} \ No newline at end of file +{{G}} \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-text/u-text.wxss b/dist/build/mp-weixin/node-modules/uview-plus/components/u-text/u-text.wxss index 2cda4f4..e837cb5 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-text/u-text.wxss +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-text/u-text.wxss @@ -1 +1 @@ -.u-empty.data-v-132e021e,.u-empty__wrap.data-v-132e021e,.u-tabs.data-v-132e021e,.u-tabs__wrapper.data-v-132e021e,.u-tabs__wrapper__scroll-view-wrapper.data-v-132e021e,.u-tabs__wrapper__scroll-view.data-v-132e021e,.u-tabs__wrapper__nav.data-v-132e021e,.u-tabs__wrapper__nav__line.data-v-132e021e,.up-empty.data-v-132e021e,.up-empty__wrap.data-v-132e021e,.up-tabs.data-v-132e021e,.up-tabs__wrapper.data-v-132e021e,.up-tabs__wrapper__scroll-view-wrapper.data-v-132e021e,.up-tabs__wrapper__scroll-view.data-v-132e021e,.up-tabs__wrapper__nav.data-v-132e021e,.up-tabs__wrapper__nav__line.data-v-132e021e{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-text.data-v-132e021e{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap}.u-text__price.data-v-132e021e{font-size:14px;color:#606266}.u-text__value.data-v-132e021e{font-size:14px;display:flex;flex-direction:row;color:#606266;flex-wrap:wrap;text-overflow:ellipsis;align-items:center}.u-text__value--primary.data-v-132e021e{color:#3c9cff}.u-text__value--warning.data-v-132e021e{color:#f9ae3d}.u-text__value--success.data-v-132e021e{color:#5ac725}.u-text__value--info.data-v-132e021e{color:#909399}.u-text__value--error.data-v-132e021e{color:#f56c6c}.u-text__value--main.data-v-132e021e{color:#303133}.u-text__value--content.data-v-132e021e{color:#606266}.u-text__value--tips.data-v-132e021e{color:#909193}.u-text__value--light.data-v-132e021e{color:#c0c4cc} +.u-text.data-v-e6e5a2b7{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap}.u-text__price.data-v-e6e5a2b7{font-size:14px;color:#606266}.u-text__value.data-v-e6e5a2b7{font-size:14px;display:flex;flex-direction:row;color:#606266;flex-wrap:wrap;text-overflow:ellipsis;align-items:center}.u-text__value--primary.data-v-e6e5a2b7{color:#3c9cff}.u-text__value--warning.data-v-e6e5a2b7{color:#f9ae3d}.u-text__value--success.data-v-e6e5a2b7{color:#5ac725}.u-text__value--info.data-v-e6e5a2b7{color:#909399}.u-text__value--error.data-v-e6e5a2b7{color:#f56c6c}.u-text__value--main.data-v-e6e5a2b7{color:#303133}.u-text__value--content.data-v-e6e5a2b7{color:#606266}.u-text__value--tips.data-v-e6e5a2b7{color:#909193}.u-text__value--light.data-v-e6e5a2b7{color:#c0c4cc} diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.js b/dist/build/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.js index a826677..bed65e4 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.js +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.js @@ -1 +1 @@ -"use strict";const e=require("../../../../common/vendor.js"),t={name:"u-transition",data:()=>({inited:!1,viewStyle:{},status:"",transitionEnded:!1,display:!1,classes:""}),emits:["click","beforeEnter","enter","afterEnter","beforeLeave","leave","afterLeave"],computed:{mergeStyle(){const{viewStyle:t,customStyle:i}=this;return{transitionDuration:`${this.duration}ms`,transitionTimingFunction:this.timingFunction,...e.addStyle(i),...t}}},mixins:[e.mpMixin,e.mixin,e.transitionMixin,e.props$17],watch:{show:{handler(e){e?this.vueEnter():this.vueLeave()},immediate:!0}}};const i=e._export_sfc(t,[["render",function(t,i,n,s,r,o){return e.e({a:r.inited},r.inited?{b:e.o(((...e)=>t.clickHandler&&t.clickHandler(...e))),c:e.n(r.classes),d:e.s(o.mergeStyle),e:e.o(((...e)=>t.noop&&t.noop(...e)))}:{})}],["__scopeId","data-v-a23edd7f"]]);wx.createComponent(i); +"use strict";const e=require("../../../../common/vendor.js"),t={name:"u-transition",data:()=>({inited:!1,viewStyle:{},status:"",transitionEnded:!1,display:!1,classes:""}),emits:["click","beforeEnter","enter","afterEnter","beforeLeave","leave","afterLeave"],computed:{mergeStyle(){const{viewStyle:t,customStyle:i}=this;return{transitionDuration:`${this.duration}ms`,transitionTimingFunction:this.timingFunction,...e.addStyle(i),...t}}},mixins:[e.mpMixin,e.mixin,e.transitionMixin,e.props$18],watch:{show:{handler(e){e?this.vueEnter():this.vueLeave()},immediate:!0}}};const i=e._export_sfc(t,[["render",function(t,i,n,s,r,o){return e.e({a:r.inited},r.inited?{b:e.o((...e)=>t.clickHandler&&t.clickHandler(...e)),c:e.n(r.classes),d:e.s(o.mergeStyle),e:e.o((...e)=>t.noop&&t.noop(...e))}:{})}],["__scopeId","data-v-66823e3c"]]);wx.createComponent(i); diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.wxml b/dist/build/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.wxml index d811285..eae5f81 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.wxml +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.wxml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/dist/build/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.wxss b/dist/build/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.wxss index b1b2795..9f7e9bf 100644 --- a/dist/build/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.wxss +++ b/dist/build/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.wxss @@ -1 +1 @@ -.u-empty.data-v-a23edd7f,.u-empty__wrap.data-v-a23edd7f,.u-tabs.data-v-a23edd7f,.u-tabs__wrapper.data-v-a23edd7f,.u-tabs__wrapper__scroll-view-wrapper.data-v-a23edd7f,.u-tabs__wrapper__scroll-view.data-v-a23edd7f,.u-tabs__wrapper__nav.data-v-a23edd7f,.u-tabs__wrapper__nav__line.data-v-a23edd7f,.up-empty.data-v-a23edd7f,.up-empty__wrap.data-v-a23edd7f,.up-tabs.data-v-a23edd7f,.up-tabs__wrapper.data-v-a23edd7f,.up-tabs__wrapper__scroll-view-wrapper.data-v-a23edd7f,.up-tabs__wrapper__scroll-view.data-v-a23edd7f,.up-tabs__wrapper__nav.data-v-a23edd7f,.up-tabs__wrapper__nav__line.data-v-a23edd7f{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-fade-enter-active.data-v-a23edd7f,.u-fade-leave-active.data-v-a23edd7f{transition-property:opacity}.u-fade-enter.data-v-a23edd7f,.u-fade-leave-to.data-v-a23edd7f{opacity:0}.u-fade-zoom-enter.data-v-a23edd7f,.u-fade-zoom-leave-to.data-v-a23edd7f{transform:scale(.95);opacity:0}.u-fade-zoom-enter-active.data-v-a23edd7f,.u-fade-zoom-leave-active.data-v-a23edd7f{transition-property:transform,opacity}.u-fade-down-enter-active.data-v-a23edd7f,.u-fade-down-leave-active.data-v-a23edd7f,.u-fade-left-enter-active.data-v-a23edd7f,.u-fade-left-leave-active.data-v-a23edd7f,.u-fade-right-enter-active.data-v-a23edd7f,.u-fade-right-leave-active.data-v-a23edd7f,.u-fade-up-enter-active.data-v-a23edd7f,.u-fade-up-leave-active.data-v-a23edd7f{transition-property:opacity,transform}.u-fade-up-enter.data-v-a23edd7f,.u-fade-up-leave-to.data-v-a23edd7f{transform:translate3d(0,100%,0);opacity:0}.u-fade-down-enter.data-v-a23edd7f,.u-fade-down-leave-to.data-v-a23edd7f{transform:translate3d(0,-100%,0);opacity:0}.u-fade-left-enter.data-v-a23edd7f,.u-fade-left-leave-to.data-v-a23edd7f{transform:translate3d(-100%,0,0);opacity:0}.u-fade-right-enter.data-v-a23edd7f,.u-fade-right-leave-to.data-v-a23edd7f{transform:translate3d(100%,0,0);opacity:0}.u-slide-down-enter-active.data-v-a23edd7f,.u-slide-down-leave-active.data-v-a23edd7f,.u-slide-left-enter-active.data-v-a23edd7f,.u-slide-left-leave-active.data-v-a23edd7f,.u-slide-right-enter-active.data-v-a23edd7f,.u-slide-right-leave-active.data-v-a23edd7f,.u-slide-up-enter-active.data-v-a23edd7f,.u-slide-up-leave-active.data-v-a23edd7f{transition-property:transform}.u-slide-up-enter.data-v-a23edd7f,.u-slide-up-leave-to.data-v-a23edd7f{transform:translate3d(0,100%,0)}.u-slide-down-enter.data-v-a23edd7f,.u-slide-down-leave-to.data-v-a23edd7f{transform:translate3d(0,-100%,0)}.u-slide-left-enter.data-v-a23edd7f,.u-slide-left-leave-to.data-v-a23edd7f{transform:translate3d(-100%,0,0)}.u-slide-right-enter.data-v-a23edd7f,.u-slide-right-leave-to.data-v-a23edd7f{transform:translate3d(100%,0,0)}.u-zoom-enter-active.data-v-a23edd7f,.u-zoom-leave-active.data-v-a23edd7f{transition-property:transform}.u-zoom-enter.data-v-a23edd7f,.u-zoom-leave-to.data-v-a23edd7f{transform:scale(.95)} +.u-fade-enter-active.data-v-66823e3c,.u-fade-leave-active.data-v-66823e3c{transition-property:opacity}.u-fade-enter.data-v-66823e3c,.u-fade-leave-to.data-v-66823e3c{opacity:0}.u-fade-zoom-enter.data-v-66823e3c,.u-fade-zoom-leave-to.data-v-66823e3c{transform:scale(.95);opacity:0}.u-fade-zoom-enter-active.data-v-66823e3c,.u-fade-zoom-leave-active.data-v-66823e3c{transition-property:transform,opacity}.u-fade-down-enter-active.data-v-66823e3c,.u-fade-down-leave-active.data-v-66823e3c,.u-fade-left-enter-active.data-v-66823e3c,.u-fade-left-leave-active.data-v-66823e3c,.u-fade-right-enter-active.data-v-66823e3c,.u-fade-right-leave-active.data-v-66823e3c,.u-fade-up-enter-active.data-v-66823e3c,.u-fade-up-leave-active.data-v-66823e3c{transition-property:opacity,transform}.u-fade-up-enter.data-v-66823e3c,.u-fade-up-leave-to.data-v-66823e3c{transform:translate3d(0,100%,0);opacity:0}.u-fade-down-enter.data-v-66823e3c,.u-fade-down-leave-to.data-v-66823e3c{transform:translate3d(0,-100%,0);opacity:0}.u-fade-left-enter.data-v-66823e3c,.u-fade-left-leave-to.data-v-66823e3c{transform:translate3d(-100%,0,0);opacity:0}.u-fade-right-enter.data-v-66823e3c,.u-fade-right-leave-to.data-v-66823e3c{transform:translate3d(100%,0,0);opacity:0}.u-slide-down-enter-active.data-v-66823e3c,.u-slide-down-leave-active.data-v-66823e3c,.u-slide-left-enter-active.data-v-66823e3c,.u-slide-left-leave-active.data-v-66823e3c,.u-slide-right-enter-active.data-v-66823e3c,.u-slide-right-leave-active.data-v-66823e3c,.u-slide-up-enter-active.data-v-66823e3c,.u-slide-up-leave-active.data-v-66823e3c{transition-property:transform}.u-slide-up-enter.data-v-66823e3c,.u-slide-up-leave-to.data-v-66823e3c{transform:translate3d(0,100%,0)}.u-slide-down-enter.data-v-66823e3c,.u-slide-down-leave-to.data-v-66823e3c{transform:translate3d(0,-100%,0)}.u-slide-left-enter.data-v-66823e3c,.u-slide-left-leave-to.data-v-66823e3c{transform:translate3d(-100%,0,0)}.u-slide-right-enter.data-v-66823e3c,.u-slide-right-leave-to.data-v-66823e3c{transform:translate3d(100%,0,0)}.u-zoom-enter-active.data-v-66823e3c,.u-zoom-leave-active.data-v-66823e3c{transition-property:transform}.u-zoom-enter.data-v-66823e3c,.u-zoom-leave-to.data-v-66823e3c{transform:scale(.95)} diff --git a/dist/build/mp-weixin/pages/data_oard/components/charts.js b/dist/build/mp-weixin/pages/data_oard/components/charts.js index f518aab..d023ccd 100644 --- a/dist/build/mp-weixin/pages/data_oard/components/charts.js +++ b/dist/build/mp-weixin/pages/data_oard/components/charts.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js");if(!Array){e.resolveComponent("qiun-data-charts")()}Math;const t=e.defineComponent({__name:"charts",setup(t){const a=e.ref({}),r=e.ref({rotate:!1,rotateLock:!1,title:!1,subtitle:!1,color:["#507AFC","#F56C6C","#FAC858","#ea7ccc","#73C0DE","#3CA272","#FC8452","#9A60B4"],padding:[5,5,5,5],dataLabel:!0,enableScroll:!1,legend:{show:!0,position:"right",lineHeight:25},extra:{ring:{ringWidth:30,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:3,borderColor:"#FFFFFF"}}});return e.onMounted((()=>{setTimeout((()=>{a.value=JSON.parse(JSON.stringify({series:[{data:[{name:"正常缴费",value:50},{name:"预付费用",value:30},{name:"托收",value:20}]}]}))}),500)})),(t,o)=>({a:e.p({type:"ring",opts:r.value,chartData:a.value})})}}),a=e._export_sfc(t,[["__scopeId","data-v-117f8b6b"]]);wx.createComponent(a); +"use strict";const e=require("../../../common/vendor.js");if(!Array){e.resolveComponent("qiun-data-charts")()}Math;const t=e.defineComponent({__name:"charts",setup(t){const a=e.ref({}),r=e.ref({rotate:!1,rotateLock:!1,title:!1,subtitle:!1,color:["#507AFC","#F56C6C","#FAC858","#ea7ccc","#73C0DE","#3CA272","#FC8452","#9A60B4"],padding:[5,5,5,5],dataLabel:!0,enableScroll:!1,legend:{show:!0,position:"right",lineHeight:25},extra:{ring:{ringWidth:30,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:3,borderColor:"#FFFFFF"}}});return e.onMounted(()=>{setTimeout(()=>{a.value=JSON.parse(JSON.stringify({series:[{data:[{name:"正常缴费",value:50},{name:"预付费用",value:30},{name:"托收",value:20}]}]}))},500)}),(t,o)=>({a:e.p({type:"ring",opts:r.value,chartData:a.value})})}}),a=e._export_sfc(t,[["__scopeId","data-v-117f8b6b"]]);wx.createComponent(a); diff --git a/dist/build/mp-weixin/pages/index/components/Classification.js b/dist/build/mp-weixin/pages/index/components/Classification.js index 0355cf0..151bd43 100644 --- a/dist/build/mp-weixin/pages/index/components/Classification.js +++ b/dist/build/mp-weixin/pages/index/components/Classification.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/libraries/userUserLogin.js"),n=require("../model.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../gen/Apis.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/apiLoading.js");const l=e.defineComponent({__name:"Classification",setup(l){const i=[{label:"新增工单",icon:"workorder_icon.svg",url:"/ME/work_order_home/index"},{label:"房屋管理",icon:"house_icon.svg",url:"/CUSTOMER/list_house/index"},{label:"任务中心",icon:"task_icon.svg",url:"/INDEX/task/list/index",key:"houseWorkOrderCount"},{label:"仪表抄表",icon:"meter_reading_icon.svg",url:"/ME/instrument/list/index"},{label:"水印相机",icon:"WatermarkCamera.svg",url:"/INDEX/watermark_camera/index"},{label:"客户管理",icon:"user_icon.svg",url:"/CUSTOMER/list_user/index"},{label:"数据看板",icon:"performance_icon.svg",url:"/pages/data_oard/index"},{label:"住户登记",icon:"household_registration.svg",url:"/CUSTOMER/bind_house_form/index"},{label:"催缴记录",icon:"collection_icon.svg",url:"/BILL/collection_record/index/index"},{label:"公告",icon:"announcement.svg",url:"/ME/announcement/list/index"}];return(l,r)=>({a:e.f(i,((l,i,r)=>{var s,u,t,a,c,d,v,m,_;return e.e({a:`/static/svg/${l.icon}`,b:(null==l?void 0:l.key)&&(null==(t=null==(u=null==(s=e.unref(n.useModel))?void 0:s.IndexCount)?void 0:u.value)?void 0:t[null==l?void 0:l.key])},(null==l?void 0:l.key)&&(null==(d=null==(c=null==(a=e.unref(n.useModel))?void 0:a.IndexCount)?void 0:c.value)?void 0:d[null==l?void 0:l.key])?{c:e.t((null==(_=null==(m=null==(v=e.unref(n.useModel))?void 0:v.IndexCount)?void 0:m.value)?void 0:_[null==l?void 0:l.key])||0)}:{},{d:e.t(l.label),e:`items_${i}`,f:e.o((n=>(n=>{var l;n?e.index.navigateTo({url:(null==(l=o.getUser)?void 0:l.getLoginStatus())?n||"":"/pages/login"}):e.index.showModal({title:"提示",content:"该功能暂未开放,敬请期待",confirmColor:"#0082FA",success:function(e){e.confirm?console.log("用户点击确定"):e.cancel&&console.log("用户点击取消")}})})(null==l?void 0:l.url)),`items_${i}`)})}))})}}),i=e._export_sfc(l,[["__scopeId","data-v-9f61501c"]]);wx.createComponent(i); +"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/libraries/userUserLogin.js"),n=require("../model.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../gen/Apis.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/apiLoading.js");const l=e.defineComponent({__name:"Classification",props:["item"],setup(l){const i=l,r=[{label:"房屋缴费",icon:"house_icon.svg",url:"/CUSTOMER/list_house/index",key:""},{label:"新增工单",icon:"workorder_icon.svg",url:"/ME/work_order_home/index",key:""},{label:"任务中心",icon:"task_icon.svg",url:"/INDEX/task/list/index",key:"houseWorkOrderCount"},{label:"打卡考勤",icon:"CheckInIcon.svg",url:"/ME/attendance/my_schedules/index",key:""},{label:"水印相机",icon:"WatermarkCamera.svg",url:"/INDEX/watermark_camera/index",key:""},{label:"客户管理",icon:"user_icon.svg",url:"/CUSTOMER/list_user/index",key:""},{label:"住户登记",icon:"household_registration.svg",url:"/CUSTOMER/bind_house_form/index",key:""},{label:"仪表抄表",icon:"meter_reading_icon.svg",url:"/pages/public/asset_houses/index?type=meter",key:""},{label:"突发事件",icon:"emergency_icon.svg",url:"/ME/emergency/list/index",key:"emergencyEventCount"},{label:"项目公告",icon:"announcement.svg",url:"/ME/announcement/list/index",key:"unread_count"}],u=e=>r[e];return(l,r)=>({a:e.f(null==i?void 0:i.item,(l,i,r)=>{var s,t,a,d,c,v,m,g,_,k,p,y,b,h;return e.e({a:`/static/svg/${null==(s=u(null==l?void 0:l.path))?void 0:s.icon}`,b:(null==l?void 0:l.key)&&(null==(c=null==(a=null==(t=e.unref(n.useModel))?void 0:t.IndexCount)?void 0:a.value)?void 0:c[null==(d=u(null==l?void 0:l.path))?void 0:d.key])},(null==l?void 0:l.key)&&(null==(_=null==(m=null==(v=e.unref(n.useModel))?void 0:v.IndexCount)?void 0:m.value)?void 0:_[null==(g=u(null==l?void 0:l.path))?void 0:g.key])?{c:e.t((null==(b=null==(p=null==(k=e.unref(n.useModel))?void 0:k.IndexCount)?void 0:p.value)?void 0:b[null==(y=u(null==l?void 0:l.path))?void 0:y.key])||0)}:{},{d:e.t(null==(h=u(null==l?void 0:l.path))?void 0:h.label),e:`items_${i}`,f:e.o(n=>{var i;return(n=>{var l;n?e.index.navigateTo({url:(null==(l=o.getUser)?void 0:l.getLoginStatus())?n||"":"/pages/login"}):e.index.showModal({title:"提示",content:"该功能暂未开放,敬请期待",confirmColor:"#0082FA",success:function(e){e.confirm?console.log("用户点击确定"):e.cancel&&console.log("用户点击取消")}})})(null==(i=u(null==l?void 0:l.path))?void 0:i.url)},`items_${i}`)})})})}}),i=e._export_sfc(l,[["__scopeId","data-v-bc782809"]]);wx.createComponent(i); diff --git a/dist/build/mp-weixin/pages/index/components/Classification.wxml b/dist/build/mp-weixin/pages/index/components/Classification.wxml index 581189c..a6c32eb 100644 --- a/dist/build/mp-weixin/pages/index/components/Classification.wxml +++ b/dist/build/mp-weixin/pages/index/components/Classification.wxml @@ -1 +1 @@ -{{i.c}}{{i.d}} \ No newline at end of file +{{i.c}}{{i.d}} \ No newline at end of file diff --git a/dist/build/mp-weixin/pages/index/components/Classification.wxss b/dist/build/mp-weixin/pages/index/components/Classification.wxss index 11aa021..e37d77e 100644 --- a/dist/build/mp-weixin/pages/index/components/Classification.wxss +++ b/dist/build/mp-weixin/pages/index/components/Classification.wxss @@ -1 +1 @@ -.class_ification.data-v-9f61501c{color:#3d3d3d;padding:0 10rpx;display:flex;flex-wrap:wrap}.class_ification .items.data-v-9f61501c{text-align:center;font-size:22rpx;width:20%;padding-top:30rpx}.class_ification .items .items_icon.data-v-9f61501c{height:100rpx;width:100rpx;display:flex;align-items:center;justify-content:center;margin:0 auto;position:relative}.class_ification .items .items_icon image.data-v-9f61501c{height:100%;width:100%}.class_ification .items .items_icon .badge.data-v-9f61501c{position:absolute;background-color:#f5222d;color:#fff;padding:3rpx;border-radius:100rpx;top:-15rpx;min-width:35rpx;right:-15rpx;font-size:23rpx}.class_ification .items .label.data-v-9f61501c{padding:15rpx 0 0} +.class_ification.data-v-bc782809{color:#3d3d3d;padding:0 10rpx;display:flex;flex-wrap:wrap}.class_ification .items.data-v-bc782809{text-align:center;font-size:24rpx;width:20%;padding-top:30rpx}.class_ification .items .items_icon.data-v-bc782809{height:100rpx;width:100rpx;display:flex;align-items:center;justify-content:center;margin:0 auto;position:relative}.class_ification .items .items_icon image.data-v-bc782809{height:100%;width:100%}.class_ification .items .items_icon .badge.data-v-bc782809{position:absolute;background-color:#f5222d;color:#fff;padding:3rpx;border-radius:100rpx;top:-15rpx;min-width:35rpx;right:-15rpx;font-size:23rpx}.class_ification .items .label.data-v-bc782809{padding:15rpx 0 0} diff --git a/dist/build/mp-weixin/pages/index/components/HeaderTitle.js b/dist/build/mp-weixin/pages/index/components/HeaderTitle.js index 5432846..31d0bbb 100644 --- a/dist/build/mp-weixin/pages/index/components/HeaderTitle.js +++ b/dist/build/mp-weixin/pages/index/components/HeaderTitle.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("../model.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js");const n=require("../../../common/store/useWeAppAuthStore.js");require("../../../common/store/useWorkStore.js");const u=require("../../../common/libraries/userUserLogin.js");if(require("../../../gen/Apis.js"),require("../../../common/libraries/apiLoading.js"),!Array){e.resolveComponent("uni-icons")()}Math;const r=e.defineComponent({__name:"HeaderTitle",props:["title","objStyle"],setup(r){const t=r,l=e.ref("标题"),i=e.ref({}),a=n.useWeAppAuthStore(),s=e.ref({}),d=()=>{var o;e.index.navigateTo({url:(null==(o=u.getUser)?void 0:o.getLoginStatus())?"/ME/update/index":"/pages/login"})};return e.onMounted((()=>{l.value=t.title,i.value=e.index.getMenuButtonBoundingClientRect(),console.log(i.value,"capsuleRect")})),e.onShow((async()=>{var o,n;await(null==(o=e.getCurrentInstance())?void 0:o.appContext.config.globalProperties.$onLaunched),s.value=null==(n=null==a?void 0:a.data)?void 0:n.user,console.log("onShow",s.value)})),(n,u)=>{var r,l,v,c,p,m,g,h,f,j,q;return e.e({a:e.t((null==(l=null==(r=s.value)?void 0:r.company)?void 0:l.name)||"-"),b:e.s(`height:${i.value.height}px;line-height:${i.value.height}px;`),c:null==(c=null==(v=e.unref(a))?void 0:v.data)?void 0:c.user},(null==(m=null==(p=e.unref(a))?void 0:p.data)?void 0:m.user)?{d:e.t((null==(g=s.value)?void 0:g.name)||"-")}:{},{e:e.p({type:"right",size:"19",color:"#666"}),f:e.o(d),g:e.t((null==(f=null==(h=e.unref(o.useModel).userData.value)?void 0:h.position)?void 0:f.name)||"-"),h:e.t((null==(j=e.unref(o.useModel).userData.value)?void 0:j.house_num)?`${(null==(q=e.unref(o.useModel).userData.value)?void 0:q.house_num)||"-"}户房屋`:"-"),i:e.s(`padding-top:${i.value.top+10}px;${null==t?void 0:t.objStyle}`)})}}}),t=e._export_sfc(r,[["__scopeId","data-v-f620272c"]]);wx.createComponent(t); +"use strict";const e=require("../../../common/vendor.js"),o=require("../model.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js");const n=require("../../../common/store/useWeAppAuthStore.js");require("../../../common/store/useWorkStore.js");const u=require("../../../common/libraries/userUserLogin.js");if(require("../../../gen/Apis.js"),require("../../../common/libraries/apiLoading.js"),!Array){e.resolveComponent("uni-icons")()}Math;const r=e.defineComponent({__name:"HeaderTitle",props:["title","objStyle"],setup(r){const t=r,l=e.ref("标题"),i=e.ref({}),a=n.useWeAppAuthStore(),s=e.ref({}),d=()=>{var o;e.index.navigateTo({url:(null==(o=u.getUser)?void 0:o.getLoginStatus())?"/ME/update/index":"/pages/login"})};return e.onMounted(()=>{l.value=t.title,i.value=e.index.getMenuButtonBoundingClientRect(),console.log(i.value,"capsuleRect")}),e.onShow(async()=>{var o,n;await(null==(o=e.getCurrentInstance())?void 0:o.appContext.config.globalProperties.$onLaunched),s.value=null==(n=null==a?void 0:a.data)?void 0:n.user,console.log("onShow",s.value)}),(n,u)=>{var r,l,v,c,p,m,g,h,f,j,q;return e.e({a:e.t((null==(l=null==(r=s.value)?void 0:r.company)?void 0:l.name)||"-"),b:e.s(`height:${i.value.height}px;line-height:${i.value.height}px;`),c:null==(c=null==(v=e.unref(a))?void 0:v.data)?void 0:c.user},(null==(m=null==(p=e.unref(a))?void 0:p.data)?void 0:m.user)?{d:e.t((null==(g=s.value)?void 0:g.name)||"-")}:{},{e:e.p({type:"right",size:"19",color:"#666"}),f:e.o(d),g:e.t((null==(f=null==(h=e.unref(o.useModel).userData.value)?void 0:h.position)?void 0:f.name)||"-"),h:e.t((null==(j=e.unref(o.useModel).userData.value)?void 0:j.house_num)?`${(null==(q=e.unref(o.useModel).userData.value)?void 0:q.house_num)||"-"}户房屋`:"-"),i:e.s(`padding-top:${i.value.top+10}px;${null==t?void 0:t.objStyle}`)})}}}),t=e._export_sfc(r,[["__scopeId","data-v-f620272c"]]);wx.createComponent(t); diff --git a/dist/build/mp-weixin/pages/index/components/ShowData.js b/dist/build/mp-weixin/pages/index/components/ShowData.js index 42ad334..91d4519 100644 --- a/dist/build/mp-weixin/pages/index/components/ShowData.js +++ b/dist/build/mp-weixin/pages/index/components/ShowData.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),r=require("../../../common/libraries/userUserLogin.js"),o=require("../model.js");if(require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../gen/Apis.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/apiLoading.js"),!Array){e.resolveComponent("uni-icons")()}Math;const n=e.defineComponent({__name:"ShowData",setup(n){const t=e.ref(!1),s=["【王三平】8栋1101,已支付10月物业费,987元","【酆志明】7栋1101,已支付10月物业费,123.81元","【滕志勇】8栋2101,已支付10月物业费,378元","【康春芳】7栋1101,已支付10月物业费,322元","【康春芳】5栋0301,已支付10月物业费,322元","【沈妹】5栋1001,已支付10月停车月卡费,600元","【袁小丽】5栋1201,已支付10月物业费,222.21元","【雷海龙】1栋1102,已支付10月物业费,762元","【黄雪松】2栋1202,已支付10月停车月卡费,600元","【孟丽华】1栋0903,已支付10月物业费,882元"],i=o=>{var n;e.index.navigateTo({url:(null==(n=r.getUser)?void 0:n.getLoginStatus())?o||"":"/pages/login"})};return e.onShow((async()=>{var o,n;await(null==(o=e.getCurrentInstance())?void 0:o.appContext.config.globalProperties.$onLaunched),t.value=null==(n=r.getUser)?void 0:n.getLoginStatus()})),(r,n)=>{var a,u;return{a:e.t(t.value?(null==(a=e.unref(o.useModel).userData.value)?void 0:a.arrearage_house_num)||"0":"-"),b:e.o((e=>i("/BILL/outstanding_fee/index/index"))),c:e.t(t.value?(null==(u=e.unref(o.useModel).userData.value)?void 0:u.work_order_num)||"0":"-"),d:e.o((e=>i("/WORKORDER/list/index"))),e:e.p({type:"notification",color:"#0082FA",size:"18"}),f:e.f(s,((r,o,n)=>({a:e.t(r),b:`items_${o}`})))}}}}),t=e._export_sfc(n,[["__scopeId","data-v-dbe49e0c"]]);wx.createComponent(t); +"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/libraries/userUserLogin.js"),r=require("../model.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../gen/Apis.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/apiLoading.js");const n=e.defineComponent({__name:"ShowData",setup(n){const u=e.ref(!1),a=r=>{var n;e.index.navigateTo({url:(null==(n=o.getUser)?void 0:n.getLoginStatus())?r||"":"/pages/login"})};return e.onMounted(async()=>{var n,a,t,l;await(null==(n=e.getCurrentInstance())?void 0:n.appContext.config.globalProperties.$onLaunched),u.value=null==(a=o.getUser)?void 0:a.getLoginStatus(),console.log("useModel?.userData?.value",null==(l=null==(t=r.useModel)?void 0:t.userData)?void 0:l.value)}),e.onShow(async()=>{var n,a,t,l;await(null==(n=e.getCurrentInstance())?void 0:n.appContext.config.globalProperties.$onLaunched),u.value=null==(a=o.getUser)?void 0:a.getLoginStatus(),console.log("useModel?.userData?.value",null==(l=null==(t=r.useModel)?void 0:t.userData)?void 0:l.value)}),(o,n)=>{var t,l,s,i,d,v;return{a:e.t(u.value?(null==(s=null==(l=null==(t=e.unref(r.useModel))?void 0:t.userData)?void 0:l.value)?void 0:s.arrearage_house_num)||"0":"-"),b:e.o(e=>a("/BILL/outstanding_fee/index/index")),c:e.t(u.value?(null==(v=null==(d=null==(i=e.unref(r.useModel))?void 0:i.userData)?void 0:d.value)?void 0:v.work_order_num)||"0":"-"),d:e.o(e=>a("/WORKORDER/list/index"))}}}}),u=e._export_sfc(n,[["__scopeId","data-v-68771633"]]);wx.createComponent(u); diff --git a/dist/build/mp-weixin/pages/index/components/ShowData.json b/dist/build/mp-weixin/pages/index/components/ShowData.json index b513180..e8cfaaf 100644 --- a/dist/build/mp-weixin/pages/index/components/ShowData.json +++ b/dist/build/mp-weixin/pages/index/components/ShowData.json @@ -1,6 +1,4 @@ { "component": true, - "usingComponents": { - "uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons" - } + "usingComponents": {} } \ No newline at end of file diff --git a/dist/build/mp-weixin/pages/index/components/ShowData.wxml b/dist/build/mp-weixin/pages/index/components/ShowData.wxml index a886830..b0e9eea 100644 --- a/dist/build/mp-weixin/pages/index/components/ShowData.wxml +++ b/dist/build/mp-weixin/pages/index/components/ShowData.wxml @@ -1 +1 @@ -{{a}}欠费房屋{{c}}工单任务-托收任务-推送任务{{i.a}} \ No newline at end of file +{{a}}欠费房屋{{c}}工单任务-托收任务-推送任务 \ No newline at end of file diff --git a/dist/build/mp-weixin/pages/index/components/ShowData.wxss b/dist/build/mp-weixin/pages/index/components/ShowData.wxss index cf328cd..4700f85 100644 --- a/dist/build/mp-weixin/pages/index/components/ShowData.wxss +++ b/dist/build/mp-weixin/pages/index/components/ShowData.wxss @@ -1 +1 @@ -.show_data_content.data-v-dbe49e0c{background-color:#fff;margin:30rpx 30rpx 0;border-radius:15rpx}.show_data_card.data-v-dbe49e0c{display:flex;align-items:center;padding:40rpx 0 30rpx;text-align:center}.show_data_card .items.data-v-dbe49e0c{flex:1}.show_data_card .numbers.data-v-dbe49e0c{font-size:36rpx;font-weight:550}.show_data_card .label.data-v-dbe49e0c{font-size:24rpx;color:#666}.notice_bar.data-v-dbe49e0c{border-top:1rpx solid #eee;height:80rpx;line-height:80rpx;color:#333;font-size:24rpx;padding:0 30rpx;display:flex}.notice_bar .notice_content.data-v-dbe49e0c{flex:1;padding-left:5rpx}.notice_bar swiper.data-v-dbe49e0c{height:80rpx} +.show_data_content.data-v-68771633{background-color:#fff;margin:30rpx 30rpx 0;border-radius:15rpx}.show_data_card.data-v-68771633{display:flex;align-items:center;padding:40rpx 0 30rpx;text-align:center}.show_data_card .items.data-v-68771633{flex:1}.show_data_card .numbers.data-v-68771633{font-size:36rpx;font-weight:550}.show_data_card .label.data-v-68771633{font-size:24rpx;color:#666}.notice_bar.data-v-68771633{border-top:1rpx solid #eee;height:80rpx;line-height:80rpx;color:#333;font-size:24rpx;padding:0 30rpx;display:flex}.notice_bar .notice_content.data-v-68771633{flex:1;padding-left:5rpx}.notice_bar swiper.data-v-68771633{height:80rpx} diff --git a/dist/build/mp-weixin/pages/index/components/TemplateWorkorder.js b/dist/build/mp-weixin/pages/index/components/TemplateWorkorder.js index 7525eef..1adaf27 100644 --- a/dist/build/mp-weixin/pages/index/components/TemplateWorkorder.js +++ b/dist/build/mp-weixin/pages/index/components/TemplateWorkorder.js @@ -1 +1 @@ -"use strict";const l=require("../../../common/vendor.js"),e=require("../../../common/libraries/day.js"),o=require("../../../gen/Enums.js");if(!Array){(l.resolveComponent("hs-enum-tag")+l.resolveComponent("hs-level")+l.resolveComponent("up-icon"))()}Math||((()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../components/hs-level/hs-level.js")+(()=>"../../../node-modules/uview-plus/components/u-icon/u-icon.js"))();const n=l.defineComponent({__name:"TemplateWorkorder",props:["item"],setup(n){const i=n;return(n,d)=>{var u,t,v,m,s,r,a,p,c,_,y,g,f,h,k,E,x,T,j,O,W,C,H,M,S,b,q,$,w,P,R,z,A,B,D,I,K,F,G,J,L,N,Q,U,V,X,Y,Z,ll,el;return l.e({a:l.p({value:null==(u=null==i?void 0:i.item)?void 0:u.type,Enums:l.unref(o.CompanyEmployeeBacklogsTypeEnum)}),b:null==(v=null==(t=null==i?void 0:i.item)?void 0:t.model)?void 0:v.type},(null==(s=null==(m=null==i?void 0:i.item)?void 0:m.model)?void 0:s.type)?{c:l.p({value:null==(a=null==(r=null==i?void 0:i.item)?void 0:r.model)?void 0:a.type,Enums:l.unref(o.HouseWorkOrdersTypeEnum)})}:{},{d:null==(c=null==(p=null==i?void 0:i.item)?void 0:p.model)?void 0:c.level},(null==(y=null==(_=null==i?void 0:i.item)?void 0:_.model)?void 0:y.level)?{e:l.p({level:null==(f=null==(g=null==i?void 0:i.item)?void 0:g.model)?void 0:f.level})}:{},{f:l.p({value:null==(h=null==i?void 0:i.item)?void 0:h.status,Enums:l.unref(o.HouseWorkOrdersStatusEnum)}),g:l.n(`btn_status status_${null==(k=null==i?void 0:i.item)?void 0:k.status}`),h:"MyHome"===(null==(x=null==(E=null==i?void 0:i.item)?void 0:E.model)?void 0:x.location)},"MyHome"===(null==(j=null==(T=null==i?void 0:i.item)?void 0:T.model)?void 0:j.location)?{i:l.t(null==(C=null==(W=null==(O=null==i?void 0:i.item)?void 0:O.model)?void 0:W.asset_house)?void 0:C.full_name)}:{},{j:l.t(null==(M=null==(H=null==i?void 0:i.item)?void 0:H.model)?void 0:M.content),k:"WorkOrder"===(null==(S=null==i?void 0:i.item)?void 0:S.type)&&"Pending"===(null==(q=null==(b=null==i?void 0:i.item)?void 0:b.model)?void 0:q.status)&&"MyHome"===(null==(w=null==($=null==i?void 0:i.item)?void 0:$.model)?void 0:w.location)},"WorkOrder"===(null==(P=null==i?void 0:i.item)?void 0:P.type)&&"Pending"===(null==(z=null==(R=null==i?void 0:i.item)?void 0:R.model)?void 0:z.status)&&"MyHome"===(null==(B=null==(A=null==i?void 0:i.item)?void 0:A.model)?void 0:B.location)?{l:l.p({name:"clock",color:(null==(K=l.unref(e.getTimeStatus)(null==(I=null==(D=null==i?void 0:i.item)?void 0:D.model)?void 0:I.expect_end_time))?void 0:K.color)||"#000",size:"14"}),m:l.t(null==(J=l.unref(e.getTimeStatus)(null==(G=null==(F=null==i?void 0:i.item)?void 0:F.model)?void 0:G.expect_end_time))?void 0:J.label),n:l.n(`todo_done_card_footer status_${null==(Q=l.unref(e.getTimeStatus)(null==(N=null==(L=null==i?void 0:i.item)?void 0:L.model)?void 0:N.expect_end_time))?void 0:Q.status}`)}:{},{o:l.t(null==(U=null==i?void 0:i.item)?void 0:U.created_at),p:l.o((e=>(()=>{var e;l.index.navigateTo({url:`/WORKORDER/show/index?id=${null==(e=null==i?void 0:i.item)?void 0:e.model_id}`})})())),q:l.n("todo_done_card "+("WorkOrder"===(null==(V=null==i?void 0:i.item)?void 0:V.type)&&"Pending"===(null==(Y=null==(X=null==i?void 0:i.item)?void 0:X.model)?void 0:Y.status)?`card_status_${null==(el=l.unref(e.getTimeStatus)(null==(ll=null==(Z=null==i?void 0:i.item)?void 0:Z.model)?void 0:ll.expect_end_time))?void 0:el.status}`:""))})}}}),i=l._export_sfc(n,[["__scopeId","data-v-289d39de"]]);wx.createComponent(i); +"use strict";const l=require("../../../common/vendor.js"),e=require("../../../common/libraries/day.js"),o=require("../../../gen/Enums.js");if(!Array){(l.resolveComponent("hs-enum-tag")+l.resolveComponent("hs-level")+l.resolveComponent("up-icon"))()}Math||((()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../components/hs-level/hs-level.js")+(()=>"../../../node-modules/uview-plus/components/u-icon/u-icon.js"))();const n=l.defineComponent({__name:"TemplateWorkorder",props:["item"],setup(n){const i=n;return(n,d)=>{var u,t,v,m,s,r,a,p,c,_,y,g,f,h,k,E,x,T,j,O,W,C,H,M,S,b,q,$,w,P,R,z,A,B,D,I,K,F,G,J,L,N,Q,U,V,X,Y,Z,ll,el;return l.e({a:l.p({value:null==(u=null==i?void 0:i.item)?void 0:u.type,Enums:l.unref(o.CompanyEmployeeBacklogsTypeEnum)}),b:null==(v=null==(t=null==i?void 0:i.item)?void 0:t.model)?void 0:v.type},(null==(s=null==(m=null==i?void 0:i.item)?void 0:m.model)?void 0:s.type)?{c:l.p({value:null==(a=null==(r=null==i?void 0:i.item)?void 0:r.model)?void 0:a.type,Enums:l.unref(o.HouseWorkOrdersTypeEnum)})}:{},{d:null==(c=null==(p=null==i?void 0:i.item)?void 0:p.model)?void 0:c.level},(null==(y=null==(_=null==i?void 0:i.item)?void 0:_.model)?void 0:y.level)?{e:l.p({level:null==(f=null==(g=null==i?void 0:i.item)?void 0:g.model)?void 0:f.level})}:{},{f:l.p({value:null==(h=null==i?void 0:i.item)?void 0:h.status,Enums:l.unref(o.HouseWorkOrdersStatusEnum)}),g:l.n(`btn_status status_${null==(k=null==i?void 0:i.item)?void 0:k.status}`),h:"MyHome"===(null==(x=null==(E=null==i?void 0:i.item)?void 0:E.model)?void 0:x.location)},"MyHome"===(null==(j=null==(T=null==i?void 0:i.item)?void 0:T.model)?void 0:j.location)?{i:l.t(null==(C=null==(W=null==(O=null==i?void 0:i.item)?void 0:O.model)?void 0:W.asset_house)?void 0:C.full_name)}:{},{j:l.t(null==(M=null==(H=null==i?void 0:i.item)?void 0:H.model)?void 0:M.content),k:"WorkOrder"===(null==(S=null==i?void 0:i.item)?void 0:S.type)&&"Pending"===(null==(q=null==(b=null==i?void 0:i.item)?void 0:b.model)?void 0:q.status)&&"MyHome"===(null==(w=null==($=null==i?void 0:i.item)?void 0:$.model)?void 0:w.location)},"WorkOrder"===(null==(P=null==i?void 0:i.item)?void 0:P.type)&&"Pending"===(null==(z=null==(R=null==i?void 0:i.item)?void 0:R.model)?void 0:z.status)&&"MyHome"===(null==(B=null==(A=null==i?void 0:i.item)?void 0:A.model)?void 0:B.location)?{l:l.p({name:"clock",color:(null==(K=l.unref(e.getTimeStatus)(null==(I=null==(D=null==i?void 0:i.item)?void 0:D.model)?void 0:I.expect_end_time))?void 0:K.color)||"#000",size:"14"}),m:l.t(null==(J=l.unref(e.getTimeStatus)(null==(G=null==(F=null==i?void 0:i.item)?void 0:F.model)?void 0:G.expect_end_time))?void 0:J.label),n:l.n(`todo_done_card_footer status_${null==(Q=l.unref(e.getTimeStatus)(null==(N=null==(L=null==i?void 0:i.item)?void 0:L.model)?void 0:N.expect_end_time))?void 0:Q.status}`)}:{},{o:l.t(null==(U=null==i?void 0:i.item)?void 0:U.created_at),p:l.o(e=>(()=>{var e;l.index.navigateTo({url:`/WORKORDER/show/index?id=${null==(e=null==i?void 0:i.item)?void 0:e.model_id}`})})()),q:l.n("todo_done_card "+("WorkOrder"===(null==(V=null==i?void 0:i.item)?void 0:V.type)&&"Pending"===(null==(Y=null==(X=null==i?void 0:i.item)?void 0:X.model)?void 0:Y.status)?`card_status_${null==(el=l.unref(e.getTimeStatus)(null==(ll=null==(Z=null==i?void 0:i.item)?void 0:Z.model)?void 0:ll.expect_end_time))?void 0:el.status}`:""))})}}}),i=l._export_sfc(n,[["__scopeId","data-v-289d39de"]]);wx.createComponent(i); diff --git a/dist/build/mp-weixin/pages/index/components/ToDeDone.js b/dist/build/mp-weixin/pages/index/components/ToDeDone.js index f7fba72..76c8871 100644 --- a/dist/build/mp-weixin/pages/index/components/ToDeDone.js +++ b/dist/build/mp-weixin/pages/index/components/ToDeDone.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),l=require("../model.js");Math||(o+n)();const o=()=>"./TemplateWorkorder.js",n=()=>"./TemplateMomentTask.js",t=e.defineComponent({__name:"ToDeDone",setup:o=>(o,n)=>{var t,u,d,i,a,r,s,v,m,f,p;return e.e({a:null==(d=null==(u=null==(t=e.unref(l.useModel))?void 0:t.listData)?void 0:u.value)?void 0:d.length},(null==(r=null==(a=null==(i=e.unref(l.useModel))?void 0:i.listData)?void 0:a.value)?void 0:r.length)?{b:e.t(null==(m=null==(v=null==(s=e.unref(l.useModel))?void 0:s.listData)?void 0:v.value)?void 0:m.length)}:{},{c:e.f(null==(p=null==(f=e.unref(l.useModel))?void 0:f.listData)?void 0:p.value,((l,o,n)=>e.e({a:"WorkOrder"===(null==l?void 0:l.type)},"WorkOrder"===(null==l?void 0:l.type)?{b:"11f7fa20-0-"+n,c:e.p({item:l})}:{},{d:"MomentTask"===(null==l?void 0:l.type)},"MomentTask"===(null==l?void 0:l.type)?{e:"11f7fa20-1-"+n,f:e.p({item:l})}:{},{g:`items_${o}`})))})}});wx.createComponent(t); +"use strict";const e=require("../../../common/vendor.js"),l=require("../model.js");Math||(n+o)();const o=()=>"./TemplateMomentTask.js",n=()=>"./TemplateWorkorder.js",t=e.defineComponent({__name:"ToDeDone",setup:o=>(o,n)=>{var t,u,d,i,a,r,s,v,m,f,p;return e.e({a:null==(d=null==(u=null==(t=e.unref(l.useModel))?void 0:t.listData)?void 0:u.value)?void 0:d.length},(null==(r=null==(a=null==(i=e.unref(l.useModel))?void 0:i.listData)?void 0:a.value)?void 0:r.length)?{b:e.t(null==(m=null==(v=null==(s=e.unref(l.useModel))?void 0:s.listData)?void 0:v.value)?void 0:m.length)}:{},{c:e.f(null==(p=null==(f=e.unref(l.useModel))?void 0:f.listData)?void 0:p.value,(l,o,n)=>e.e({a:"WorkOrder"===(null==l?void 0:l.type)},"WorkOrder"===(null==l?void 0:l.type)?{b:"11f7fa20-0-"+n,c:e.p({item:l})}:{},{d:"MomentTask"===(null==l?void 0:l.type)},"MomentTask"===(null==l?void 0:l.type)?{e:"11f7fa20-1-"+n,f:e.p({item:l})}:{},{g:`items_${o}`}))})}});wx.createComponent(t); diff --git a/dist/build/mp-weixin/pages/index/components/ToDeDone.json b/dist/build/mp-weixin/pages/index/components/ToDeDone.json index 1bd10d6..03f5f9e 100644 --- a/dist/build/mp-weixin/pages/index/components/ToDeDone.json +++ b/dist/build/mp-weixin/pages/index/components/ToDeDone.json @@ -1,7 +1,7 @@ { "component": true, "usingComponents": { - "my-template-workorder": "./TemplateWorkorder", - "my-template-moment-task": "./TemplateMomentTask" + "my-template-moment-task": "./TemplateMomentTask", + "my-template-workorder": "./TemplateWorkorder" } } \ No newline at end of file diff --git a/dist/build/mp-weixin/pages/index/index.js b/dist/build/mp-weixin/pages/index/index.js index 755ec5d..26331c4 100644 --- a/dist/build/mp-weixin/pages/index/index.js +++ b/dist/build/mp-weixin/pages/index/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/userUserLogin.js"),n=require("./method.js"),t=require("./model.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),!Array){(e.resolveComponent("cc-scroll-loading")+e.resolveComponent("cc-root-view"))()}Math||(s+a+r+i+(()=>"../../common/components/cc-scroll-loading/cc-scroll-loading.js")+(()=>"../../common/components/cc-root-view/cc-root-view.js"))();const r=()=>"./components/Classification.js",s=()=>"./components/HeaderTitle.js",a=()=>"./components/ShowData.js",i=()=>"./components/ToDeDone.js",l=e.defineComponent({__name:"index",setup:r=>(e.onShow((async()=>{var r,s,a,i,l;await(null==(r=e.getCurrentInstance())?void 0:r.appContext.config.globalProperties.$onLaunched),(null==(s=o.getUser)?void 0:s.getLoginStatus())?(t.useModel.formData.value.page=1,t.useModel.listData.value=[],null==(a=n.method)||a.getCountGridHouse(),null==(i=n.method)||i.getCompanyEmployeeBacklogs(),null==(l=n.method)||l.getIndexCount()):(t.useModel.userData.value=void 0,t.useModel.listData.value=[],t.useModel.metaData.value={total:0})})),e.onShareAppMessage((()=>({title:"",path:"/pages/index/index"}))),e.onShareTimeline((()=>({title:"",path:"/pages/index/index"}))),(o,r)=>{var s,a,i;return{a:e.o(null==(s=e.unref(n.method))?void 0:s.loadMore),b:e.p({meta:null==(i=null==(a=e.unref(t.useModel))?void 0:a.metaData)?void 0:i.value})}})});l.__runtimeHooks=6,wx.createPage(l); +"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/userUserLogin.js"),l=require("./method.js"),n=require("./model.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("cc-scroll-loading")+e.resolveComponent("cc-root-view"))()}Math||(t+(()=>"../../components/hs-empty/hs-empty.js")+i+a+u+(()=>"../../common/components/cc-scroll-loading/cc-scroll-loading.js")+(()=>"../../common/components/cc-root-view/cc-root-view.js"))();const a=()=>"./components/Classification.js",t=()=>"./components/HeaderTitle.js",i=()=>"./components/ShowData.js",u=()=>"./components/ToDeDone.js",s=e.defineComponent({__name:"index",setup:a=>(e.onShow(async()=>{var a,t,i,u,s,r;await(null==(a=e.getCurrentInstance())?void 0:a.appContext.config.globalProperties.$onLaunched),null==(t=l.method)||t.getPageRole(),(null==(i=o.getUser)?void 0:i.getLoginStatus())?(n.useModel.formData.value.page=1,n.useModel.listData.value=[],null==(u=l.method)||u.getCountGridHouse(),null==(s=l.method)||s.getCompanyEmployeeBacklogs(),null==(r=l.method)||r.getIndexCount()):(n.useModel.userData.value=void 0,n.useModel.listData.value=[],n.useModel.metaData.value={total:0})}),e.onShareAppMessage(()=>({title:"",path:"/pages/index/index"})),e.onShareTimeline(()=>({title:"",path:"/pages/index/index"})),(o,a)=>{var t,i,u,s,r,d,m,c,v,g,p,h,f,j,y;return e.e({a:(null==(i=null==(t=e.unref(n.useModel))?void 0:t.loadingPage)?void 0:i.value)&&!(null==(r=null==(s=null==(u=e.unref(n.useModel))?void 0:u.pageRole)?void 0:s.value)?void 0:r.length)},(null==(m=null==(d=e.unref(n.useModel))?void 0:d.loadingPage)?void 0:m.value)&&!(null==(g=null==(v=null==(c=e.unref(n.useModel))?void 0:c.pageRole)?void 0:v.value)?void 0:g.length)?{b:e.p({text:"暂无权限",iconName:"no_jurisdictio"})}:{c:e.f((null==(h=null==(p=e.unref(n.useModel))?void 0:p.pageRole)?void 0:h.value)||[],(o,l,n)=>e.e({a:"date"===(null==o?void 0:o.key)},"date"===(null==o?void 0:o.key)?{b:"76f3138a-4-"+n+",76f3138a-3"}:{},{c:"jingangarea"===(null==o?void 0:o.key)},"jingangarea"===(null==o?void 0:o.key)?{d:"76f3138a-5-"+n+",76f3138a-3",e:e.p({item:null==o?void 0:o.children})}:{},{f:"to_do_details"===(null==o?void 0:o.key)},"to_do_details"===(null==o?void 0:o.key)?{g:"76f3138a-6-"+n+",76f3138a-3"}:{},{h:null==o?void 0:o.key})),d:e.o(null==(f=e.unref(l.method))?void 0:f.loadMore),e:e.p({meta:null==(y=null==(j=e.unref(n.useModel))?void 0:j.metaData)?void 0:y.value})})})});s.__runtimeHooks=6,wx.createPage(s); diff --git a/dist/build/mp-weixin/pages/index/index.json b/dist/build/mp-weixin/pages/index/index.json index bddde25..86a2570 100644 --- a/dist/build/mp-weixin/pages/index/index.json +++ b/dist/build/mp-weixin/pages/index/index.json @@ -2,6 +2,7 @@ "navigationBarTitleText": "首页", "navigationStyle": "custom", "usingComponents": { + "hs-empty": "../../components/hs-empty/hs-empty", "cc-scroll-loading": "../../common/components/cc-scroll-loading/cc-scroll-loading", "cc-root-view": "../../common/components/cc-root-view/cc-root-view", "my-class-ification": "./components/Classification", diff --git a/dist/build/mp-weixin/pages/index/index.wxml b/dist/build/mp-weixin/pages/index/index.wxml index 4f605f0..4691153 100644 --- a/dist/build/mp-weixin/pages/index/index.wxml +++ b/dist/build/mp-weixin/pages/index/index.wxml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/dist/build/mp-weixin/pages/index/method.js b/dist/build/mp-weixin/pages/index/method.js index ea24f81..12b1d8e 100644 --- a/dist/build/mp-weixin/pages/index/method.js +++ b/dist/build/mp-weixin/pages/index/method.js @@ -1 +1 @@ -"use strict";require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const e=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const o=require("../../common/libraries/apiLoading.js"),a=require("../../gen/Apis.js"),t=require("./model.js");e.useWeAppAuthStore();const u=()=>{var e,u;o.getApiLoading(a.Apis.Company.CompanyEmployeeBacklogs.List,null==(u=null==(e=t.useModel)?void 0:e.formData)?void 0:u.value).then((e=>{var o,a;t.useModel.listData.value=[...null==(a=null==(o=t.useModel)?void 0:o.listData)?void 0:a.value,...null==e?void 0:e.data],t.useModel.metaData.value=null==e?void 0:e.meta,console.log(t.useModel.metaData.value,"useModel.metaData.value")}))},l={getCountGridHouse(){o.getApiLoading(a.Apis.Grid.Grids.CountGridHouse,{}).then((e=>{t.useModel.userData.value=e.data,console.log(e)}))},getCompanyEmployeeBacklogs:u,loadMore(e){t.useModel.formData.value.page=null==e?void 0:e.page,u()},async uploadMedia(e){let o=await a.Apis.Customer.CustomerMoments.UploadMedia(e);return null==o?void 0:o.data},getIndexCount(){o.getApiLoading(a.Apis.Count.CommonCount.IndexCount,{}).then((e=>{t.useModel.IndexCount.value=e.data,console.log(e)}))}};exports.method=l; +"use strict";require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const e=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const o=require("../../common/libraries/apiLoading.js"),l=require("../../gen/Apis.js"),a=require("./model.js"),u=e.useWeAppAuthStore(),s=()=>{var e,u;o.getApiLoading(l.Apis.Company.CompanyEmployeeBacklogs.List,null==(u=null==(e=a.useModel)?void 0:e.formData)?void 0:u.value).then(e=>{var o,l;a.useModel.listData.value=[...null==(l=null==(o=a.useModel)?void 0:o.listData)?void 0:l.value,...null==e?void 0:e.data],a.useModel.metaData.value=null==e?void 0:e.meta,console.log(a.useModel.metaData.value,"useModel.metaData.value")})},t={getCountGridHouse(){o.getApiLoading(l.Apis.Grid.Grids.CountGridHouse,{}).then(e=>{a.useModel.userData.value=e.data,console.log(e)})},getCompanyEmployeeBacklogs:s,loadMore(e){a.useModel.formData.value.page=null==e?void 0:e.page,s()},async uploadMedia(e){let o=await l.Apis.Customer.CustomerMoments.UploadMedia(e);return null==o?void 0:o.data},getIndexCount(){o.getApiLoading(l.Apis.Count.CommonCount.IndexCount,{}).then(e=>{a.useModel.IndexCount.value=e.data,console.log(e)})},getPageRole(){var e,o,l;a.useModel.loadingPage.value=!0,a.useModel.pageRole.value=(null==(l=null==(o=null==(e=null==u?void 0:u.data)?void 0:e.permissions)?void 0:o.find(e=>"home"===(null==e?void 0:e.key)))?void 0:l.children)||[],console.log(a.useModel.pageRole.value,"useModel.pageRole.value")}};exports.method=t; diff --git a/dist/build/mp-weixin/pages/index/model.js b/dist/build/mp-weixin/pages/index/model.js index be334d4..5fcab9a 100644 --- a/dist/build/mp-weixin/pages/index/model.js +++ b/dist/build/mp-weixin/pages/index/model.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),t={formData:e.ref({page:1,status:"Pending"}),listData:e.ref([]),metaData:e.ref({}),userData:e.ref({}),announcementsData:e.ref([]),IndexCount:e.ref({})};exports.useModel=t; +"use strict";const e=require("../../common/vendor.js"),a={formData:e.ref({page:1,status:"Pending"}),loadingPage:e.ref(!1),listData:e.ref([]),metaData:e.ref({}),userData:e.ref({}),announcementsData:e.ref([]),IndexCount:e.ref({}),pageRole:e.ref([])};exports.useModel=a; diff --git a/dist/build/mp-weixin/pages/loading.js b/dist/build/mp-weixin/pages/loading.js index c7fcb3c..ba5c118 100644 --- a/dist/build/mp-weixin/pages/loading.js +++ b/dist/build/mp-weixin/pages/loading.js @@ -1 +1 @@ -"use strict";const e=require("../common/vendor.js");require("../common/libraries/request.js"),require("../common/store/useWatermarkStore.js"),require("../common/store/useWeAppAuthStore.js"),require("../common/store/useWorkStore.js");const r=require("../common/libraries/userUserLogin.js");require("../gen/Apis.js"),require("../common/libraries/apiLoading.js");const o=e.defineComponent({__name:"loading",setup:o=>(e.onShow((async()=>{var o;e.index.showLoading({title:"加载中...",mask:!0}),await(null==(o=e.getCurrentInstance())?void 0:o.appContext.config.globalProperties.$onLaunched),e.index.hideLoading(),r.getUser.getLoginStatus()?e.index.navigateTo({url:"/pages/index/index"}):e.index.redirectTo({url:"/pages/login"})})),(e,r)=>({}))});wx.createPage(o); +"use strict";const e=require("../common/vendor.js");require("../common/libraries/request.js"),require("../common/store/useWatermarkStore.js"),require("../common/store/useWeAppAuthStore.js"),require("../common/store/useWorkStore.js");const r=require("../common/libraries/userUserLogin.js");require("../gen/Apis.js"),require("../common/libraries/apiLoading.js");const o=e.defineComponent({__name:"loading",setup:o=>(e.onShow(async()=>{var o;e.index.showLoading({title:"加载中...",mask:!0}),await(null==(o=e.getCurrentInstance())?void 0:o.appContext.config.globalProperties.$onLaunched),e.index.hideLoading(),r.getUser.getLoginStatus()?e.index.navigateTo({url:"/pages/index/index"}):e.index.redirectTo({url:"/pages/login"})}),(e,r)=>({}))});wx.createPage(o); diff --git a/dist/build/mp-weixin/pages/login.js b/dist/build/mp-weixin/pages/login.js index 2226cc1..b9cf9a8 100644 --- a/dist/build/mp-weixin/pages/login.js +++ b/dist/build/mp-weixin/pages/login.js @@ -1 +1 @@ -"use strict";const e=require("../common/vendor.js");require("../common/libraries/request.js"),require("../common/store/useWatermarkStore.js");const o=require("../common/store/useWeAppAuthStore.js");if(require("../common/store/useWorkStore.js"),require("../gen/Apis.js"),require("../common/libraries/apiLoading.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-button")+e.resolveComponent("hs-private-policy"))()}Math||((()=>"../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../components/hs-button/hs-button.js")+(()=>"../components/hs-private-policy/hs-private-policy.js"))();const n=e.defineComponent({__name:"login",setup(n){const t=e.ref({}),i=e.ref(""),s=o.useWeAppAuthStore();let r=e.ref(!1);const l=()=>{u()&&(e.index.showLoading({title:"正在登录...",mask:!0}),e.index.qy.getMobile({success:function(o){console.log(o,"res"),"qy__getMobile:ok"===(null==o?void 0:o.errMsg)?null==s||s.handleUserLoginWxwork(o):e.index.showToast({title:"获取手机号失败",icon:"none"})}}))},a=async o=>{if(!r.value)return!1;e.index.showLoading({title:"正在登录...",mask:!0}),null==s||s.handleUserLogin({code:o.detail.code})},u=()=>!!r.value||(e.index.showToast({title:"请阅读并勾选隐私政策!",icon:"none"}),!1),c=()=>{e.index.showLoading({title:"加载中...",mask:!0}),e.index.downloadFile({url:"https://pay-test-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K44N5AP6T246WQWHNB2ERQ9M.pdf",success:function(o){const n=o.tempFilePath;e.index.hideLoading(),e.index.openDocument({filePath:n,showMenu:!0})}})},p=()=>{e.index.navigateBack({delta:1})};return e.onLoad((()=>{try{const o=e.index.getSystemInfoSync();i.value=o.environment}catch(o){}})),e.onShow((()=>{t.value=e.index.getMenuButtonBoundingClientRect()})),(o,n)=>e.e({a:e.p({type:"left",size:"20"}),b:e.s(`height:${t.value.height}px;width:${t.value.height}px;`),c:e.o(p),d:e.s(`padding-top:${t.value.top}px;height:${t.value.height}px;line-height:${t.value.height}px;`),e:"wxwork"===i.value},"wxwork"===i.value?{f:e.o(l),g:e.p({label:"快捷登录",type:"primary",size:"lg"})}:{h:e.o(a),i:e.o(u),j:e.p({type:"primary",size:"lg",label:"快捷登录",openType:e.unref(r)?"getPhoneNumber":""})},{k:e.o(c),l:e.o((o=>e.isRef(r)?r.value=o:r=o)),m:e.p({policyName:"《用户协议》",isAgree:e.unref(r)})})}});wx.createPage(n); +"use strict";const e=require("../common/vendor.js");require("../common/libraries/request.js"),require("../common/store/useWatermarkStore.js");const o=require("../common/store/useWeAppAuthStore.js");if(require("../common/store/useWorkStore.js"),require("../gen/Apis.js"),require("../common/libraries/apiLoading.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-button")+e.resolveComponent("hs-private-policy"))()}Math||((()=>"../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../components/hs-button/hs-button.js")+(()=>"../components/hs-private-policy/hs-private-policy.js"))();const n=e.defineComponent({__name:"login",setup(n){const t=e.ref({}),i=e.ref(""),s=o.useWeAppAuthStore();let r=e.ref(!1);const l=()=>{u()&&(e.index.showLoading({title:"正在登录...",mask:!0}),e.index.qy.getMobile({success:function(o){console.log(o,"res"),"qy__getMobile:ok"===(null==o?void 0:o.errMsg)?null==s||s.handleUserLoginWxwork(o):e.index.showToast({title:"获取手机号失败",icon:"none"})}}))},a=async o=>{if(!r.value)return!1;e.index.showLoading({title:"正在登录...",mask:!0}),null==s||s.handleUserLogin({code:o.detail.code})},u=()=>!!r.value||(e.index.showToast({title:"请阅读并勾选隐私政策!",icon:"none"}),!1),c=()=>{e.index.showLoading({title:"加载中...",mask:!0}),e.index.downloadFile({url:"https://pay-test-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K44N5AP6T246WQWHNB2ERQ9M.pdf",success:function(o){const n=o.tempFilePath;e.index.hideLoading(),e.index.openDocument({filePath:n,showMenu:!0})}})},p=()=>{e.index.navigateBack({delta:1})};return e.onLoad(()=>{try{const o=e.index.getSystemInfoSync();i.value=o.environment}catch(o){}}),e.onShow(()=>{t.value=e.index.getMenuButtonBoundingClientRect()}),(o,n)=>e.e({a:e.p({type:"left",size:"20"}),b:e.s(`height:${t.value.height}px;width:${t.value.height}px;`),c:e.o(p),d:e.s(`padding-top:${t.value.top}px;height:${t.value.height}px;line-height:${t.value.height}px;`),e:"wxwork"===i.value},"wxwork"===i.value?{f:e.o(l),g:e.p({label:"快捷登录",type:"primary",size:"lg"})}:{h:e.o(a),i:e.o(u),j:e.p({type:"primary",size:"lg",label:"快捷登录",openType:e.unref(r)?"getPhoneNumber":""})},{k:e.o(c),l:e.o(o=>e.isRef(r)?r.value=o:r=o),m:e.p({policyName:"《用户协议》",isAgree:e.unref(r)})})}});wx.createPage(n); diff --git a/dist/build/mp-weixin/pages/me/index.js b/dist/build/mp-weixin/pages/me/index.js index ce56522..6497119 100644 --- a/dist/build/mp-weixin/pages/me/index.js +++ b/dist/build/mp-weixin/pages/me/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),u=require("./method.js"),n=require("./model.js"),o=require("../../common/libraries/userUserLogin.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),!Array){(e.resolveComponent("up-avatar")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../node-modules/uview-plus/components/u-avatar/u-avatar.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const r=e.defineComponent({__name:"index",setup:r=>(e.index.getAccountInfoSync(),e.ref(""),e.onShow((async()=>{var n,r,l,i;await(null==(n=e.getCurrentInstance())?void 0:n.appContext.config.globalProperties.$onLaunched),null==(r=u.method)||r.init(),(null==(l=o.getUser)?void 0:l.getLoginStatus())&&(null==(i=u.method)||i.getCountGridHouse())})),(o,r)=>{var l,i,a,s,t,d,v,m,c,p,g,f,h,j,M,q,D,b,x,y,C,S;return e.e({a:null==(i=null==(l=e.unref(n.useModel).userData)?void 0:l.value)?void 0:i.avatar},(null==(s=null==(a=e.unref(n.useModel).userData)?void 0:a.value)?void 0:s.avatar)?{b:e.p({src:null==(v=null==(d=null==(t=e.unref(n.useModel).userData)?void 0:t.value)?void 0:d.avatar[0])?void 0:v.url,size:"120rpx"})}:{c:e.p({size:"120rpx"})},{d:null==(m=e.unref(n.useModel).userData)?void 0:m.value},(null==(c=e.unref(n.useModel).userData)?void 0:c.value)?e.e({e:null==(g=null==(p=e.unref(n.useModel).userData)?void 0:p.value)?void 0:g.name},(null==(h=null==(f=e.unref(n.useModel).userData)?void 0:f.value)?void 0:h.name)?{f:e.t(null==(M=null==(j=e.unref(n.useModel).userData)?void 0:j.value)?void 0:M.name),g:e.p({type:"right",size:"15",color:"#666"})}:{h:e.p({type:"right",size:"15",color:"#666"})},{i:e.o((n=>{var o;return null==(o=e.unref(u.method))?void 0:o.handleJinGang({url:"/ME/update/index"})}))}):{j:e.p({type:"right",size:"15",color:"#666"}),k:e.o((n=>{var o;return null==(o=e.unref(u.method))?void 0:o.handleJinGang({url:"/pages/login"})}))},{l:e.t((null==(x=null==(b=null==(D=null==(q=e.unref(n.useModel))?void 0:q.gridHouseData)?void 0:D.value)?void 0:b.position)?void 0:x.name)||"-"),m:e.t((null==(S=null==(C=null==(y=e.unref(n.useModel))?void 0:y.gridHouseData)?void 0:C.value)?void 0:S.house_num)||"-"),n:e.f(e.unref(n.useModel).list,((n,o,r)=>({a:`/static/svg/${null==n?void 0:n.icon}.svg`,b:e.t(n.label),c:`item_${o}`,d:e.o((o=>{var r;return null==(r=e.unref(u.method))?void 0:r.handleJinGang(n)}),`item_${o}`)})))})})});wx.createPage(r); +"use strict";const e=require("../../common/vendor.js"),u=require("./method.js"),n=require("./model.js"),o=require("../../common/libraries/userUserLogin.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),!Array){(e.resolveComponent("up-avatar")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../node-modules/uview-plus/components/u-avatar/u-avatar.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const r=e.defineComponent({__name:"index",setup:r=>(e.index.getAccountInfoSync(),e.ref(""),e.onShow(async()=>{var n,r,l,i;await(null==(n=e.getCurrentInstance())?void 0:n.appContext.config.globalProperties.$onLaunched),null==(r=u.method)||r.init(),(null==(l=o.getUser)?void 0:l.getLoginStatus())&&(null==(i=u.method)||i.getCountGridHouse())}),(o,r)=>{var l,i,a,s,t,d,v,m,c,p,g,f,h,j,M,q,D,b,x,y,C,S;return e.e({a:null==(i=null==(l=e.unref(n.useModel).userData)?void 0:l.value)?void 0:i.avatar},(null==(s=null==(a=e.unref(n.useModel).userData)?void 0:a.value)?void 0:s.avatar)?{b:e.p({src:null==(v=null==(d=null==(t=e.unref(n.useModel).userData)?void 0:t.value)?void 0:d.avatar[0])?void 0:v.url,size:"120rpx"})}:{c:e.p({size:"120rpx"})},{d:null==(m=e.unref(n.useModel).userData)?void 0:m.value},(null==(c=e.unref(n.useModel).userData)?void 0:c.value)?e.e({e:null==(g=null==(p=e.unref(n.useModel).userData)?void 0:p.value)?void 0:g.name},(null==(h=null==(f=e.unref(n.useModel).userData)?void 0:f.value)?void 0:h.name)?{f:e.t(null==(M=null==(j=e.unref(n.useModel).userData)?void 0:j.value)?void 0:M.name),g:e.p({type:"right",size:"15",color:"#666"})}:{h:e.p({type:"right",size:"15",color:"#666"})},{i:e.o(n=>{var o;return null==(o=e.unref(u.method))?void 0:o.handleJinGang({url:"/ME/update/index"})})}):{j:e.p({type:"right",size:"15",color:"#666"}),k:e.o(n=>{var o;return null==(o=e.unref(u.method))?void 0:o.handleJinGang({url:"/pages/login"})})},{l:e.t((null==(x=null==(b=null==(D=null==(q=e.unref(n.useModel))?void 0:q.gridHouseData)?void 0:D.value)?void 0:b.position)?void 0:x.name)||"-"),m:e.t((null==(S=null==(C=null==(y=e.unref(n.useModel))?void 0:y.gridHouseData)?void 0:C.value)?void 0:S.house_num)||"-"),n:e.f(e.unref(n.useModel).list,(n,o,r)=>({a:`/static/svg/${null==n?void 0:n.icon}.svg`,b:e.t(n.label),c:`item_${o}`,d:e.o(o=>{var r;return null==(r=e.unref(u.method))?void 0:r.handleJinGang(n)},`item_${o}`)}))})})});wx.createPage(r); diff --git a/dist/build/mp-weixin/pages/me/method.js b/dist/build/mp-weixin/pages/me/method.js index e9f370b..4ae5e79 100644 --- a/dist/build/mp-weixin/pages/me/method.js +++ b/dist/build/mp-weixin/pages/me/method.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js");require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const o=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const i=require("../../common/libraries/apiLoading.js"),s=require("./model.js"),n=require("../../gen/Apis.js"),r=require("../../common/libraries/userUserLogin.js"),t=o.useWeAppAuthStore(),u={init(){var e;s.useModel.userData.value=(null==(e=null==t?void 0:t.data)?void 0:e.user)||void 0},getCountGridHouse(){i.getApiLoading(n.Apis.Grid.Grids.CountGridHouse,{}).then((e=>{s.useModel.gridHouseData.value=e.data,console.log(e)}))},handleJinGang(o){var i;(null==o?void 0:o.url)?e.index.navigateTo({url:(null==(i=r.getUser)?void 0:i.getLoginStatus())?(null==o?void 0:o.url)||"":"/pages/login"}):("Permission"===(null==o?void 0:o.icon)&&e.index.openSetting(),"Feedback"===(null==o?void 0:o.icon)&&(e.index.showLoading({title:"加载中...",mask:!0}),e.index.downloadFile({url:"https://pay-test-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K44N5AP6T246WQWHNB2ERQ9M.pdf",success:function(o){const i=o.tempFilePath;e.index.hideLoading(),e.index.openDocument({filePath:i,showMenu:!0})}})),console.log(o,"e"))}};exports.method=u; +"use strict";const e=require("../../common/vendor.js");require("../../common/libraries/request.js"),require("../../common/store/useWatermarkStore.js");const o=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const i=require("../../common/libraries/apiLoading.js"),s=require("./model.js"),n=require("../../gen/Apis.js"),r=require("../../common/libraries/userUserLogin.js"),t=o.useWeAppAuthStore(),u={init(){var e;s.useModel.userData.value=(null==(e=null==t?void 0:t.data)?void 0:e.user)||void 0},getCountGridHouse(){i.getApiLoading(n.Apis.Grid.Grids.CountGridHouse,{}).then(e=>{s.useModel.gridHouseData.value=e.data,console.log(e)})},handleJinGang(o){var i;(null==o?void 0:o.url)?e.index.navigateTo({url:(null==(i=r.getUser)?void 0:i.getLoginStatus())?(null==o?void 0:o.url)||"":"/pages/login"}):("Permission"===(null==o?void 0:o.icon)&&e.index.openSetting(),"Feedback"===(null==o?void 0:o.icon)&&(e.index.showLoading({title:"加载中...",mask:!0}),e.index.downloadFile({url:"https://pay-test-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K44N5AP6T246WQWHNB2ERQ9M.pdf",success:function(o){const i=o.tempFilePath;e.index.hideLoading(),e.index.openDocument({filePath:i,showMenu:!0})}})),console.log(o,"e"))}};exports.method=u; diff --git a/dist/build/mp-weixin/pages/public/asset_houses/components/MeHouseItem.js b/dist/build/mp-weixin/pages/public/asset_houses/components/MeHouseItem.js index f744b51..b342bce 100644 --- a/dist/build/mp-weixin/pages/public/asset_houses/components/MeHouseItem.js +++ b/dist/build/mp-weixin/pages/public/asset_houses/components/MeHouseItem.js @@ -1 +1 @@ -"use strict";const e=require("../../../../common/vendor.js"),o=require("../method.js"),r=require("../model.js");if(require("../../../../common/libraries/apiLoading.js"),require("../../../../gen/Apis.js"),require("../../../../common/libraries/request.js"),require("../../../../common/store/useWeAppAuthStore.js"),require("../../../../common/store/useWatermarkStore.js"),require("../../../../common/store/useWorkStore.js"),require("../../../../common/libraries/naviHelper.js"),require("../../../../common/libraries/userUserLogin.js"),!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../../../components/hs-empty/hs-empty.js")+(()=>"../../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const n=e.defineComponent({__name:"MeHouseItem",setup:n=>(n,u)=>{var l,i,s,t,d,a,m,c;return e.e({a:!(null==(s=null==(i=null==(l=e.unref(r.useModel))?void 0:l.dataList)?void 0:i.value)?void 0:s.length)},(null==(a=null==(d=null==(t=e.unref(r.useModel))?void 0:t.dataList)?void 0:d.value)||a.length,{}),{b:e.f(null==(c=null==(m=e.unref(r.useModel))?void 0:m.dataList)?void 0:c.value,((n,u,l)=>{var i,s;return e.e({a:e.t(null==n?void 0:n.label),b:(null==n?void 0:n.value)===(null==(i=e.unref(r.useModel).selectedHouseEd.value)?void 0:i.id)},(null==n?void 0:n.value)===(null==(s=e.unref(r.useModel).selectedHouseEd.value)?void 0:s.id)?{c:"887947da-1-"+l,d:e.p({type:"checkbox-filled",size:"20",color:"#2A7EFB"})}:{e:"887947da-2-"+l,f:e.p({type:"circle",size:"20",color:"#999"})},{g:e.o((r=>{var u;return null==(u=e.unref(o.method))?void 0:u.handleSelectedHouse(n)}),`item_${u}`),h:`item_${u}`})}))})}});wx.createComponent(n); +"use strict";const e=require("../../../../common/vendor.js"),o=require("../method.js"),r=require("../model.js");if(require("../../../../common/libraries/request.js"),require("../../../../common/store/useWeAppAuthStore.js"),require("../../../../gen/Apis.js"),require("../../../../common/store/useWatermarkStore.js"),require("../../../../common/store/useWorkStore.js"),require("../../../../common/libraries/apiLoading.js"),require("../../../../common/libraries/naviHelper.js"),require("../../../../common/libraries/userUserLogin.js"),!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../../../components/hs-empty/hs-empty.js")+(()=>"../../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const n=e.defineComponent({__name:"MeHouseItem",setup:n=>(n,u)=>{var i,l,s,t,d,m,a,c;return e.e({a:!(null==(s=null==(l=null==(i=e.unref(r.useModel))?void 0:i.dataList)?void 0:l.value)?void 0:s.length)},(null==(m=null==(d=null==(t=e.unref(r.useModel))?void 0:t.dataList)?void 0:d.value)||m.length,{}),{b:e.f(null==(c=null==(a=e.unref(r.useModel))?void 0:a.dataList)?void 0:c.value,(n,u,i)=>{var l,s;return e.e({a:e.t(null==n?void 0:n.full_name),b:(null==n?void 0:n.id)===(null==(l=e.unref(r.useModel).selectedHouseEd.value)?void 0:l.id)},(null==n?void 0:n.id)===(null==(s=e.unref(r.useModel).selectedHouseEd.value)?void 0:s.id)?{c:"887947da-1-"+i,d:e.p({type:"checkbox-filled",size:"20",color:"#2A7EFB"})}:{e:"887947da-2-"+i,f:e.p({type:"circle",size:"20",color:"#999"})},{g:e.o(r=>{var u;return null==(u=e.unref(o.method))?void 0:u.handleSelectedHouse(n)},`item_${u}`),h:`item_${u}`})})})}});wx.createComponent(n); diff --git a/dist/build/mp-weixin/pages/public/asset_houses/components/MeProjectItem.js b/dist/build/mp-weixin/pages/public/asset_houses/components/MeProjectItem.js new file mode 100644 index 0000000..b1c4f71 --- /dev/null +++ b/dist/build/mp-weixin/pages/public/asset_houses/components/MeProjectItem.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../../common/vendor.js"),o=require("../method.js"),r=require("../model.js");if(require("../../../../common/libraries/request.js"),require("../../../../common/store/useWeAppAuthStore.js"),require("../../../../gen/Apis.js"),require("../../../../common/store/useWatermarkStore.js"),require("../../../../common/store/useWorkStore.js"),require("../../../../common/libraries/apiLoading.js"),require("../../../../common/libraries/naviHelper.js"),require("../../../../common/libraries/userUserLogin.js"),!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../../../components/hs-empty/hs-empty.js")+(()=>"../../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const n=e.defineComponent({__name:"MeProjectItem",setup:n=>(n,i)=>{var s,t,u,l,a,m,d,c;return e.e({a:!(null==(u=null==(t=null==(s=e.unref(r.useModel))?void 0:s.dataList)?void 0:t.value)?void 0:u.length)},(null==(m=null==(a=null==(l=e.unref(r.useModel))?void 0:l.dataList)?void 0:a.value)||m.length,{}),{b:e.f(null==(c=null==(d=e.unref(r.useModel))?void 0:d.dataList)?void 0:c.value,(r,n,i)=>({a:e.t(null==r?void 0:r.name),b:e.t(null==r?void 0:r.province),c:e.t(null==r?void 0:r.city),d:e.t(null==r?void 0:r.area),e:e.t(null==r?void 0:r.street),f:e.t(null==r?void 0:r.address),g:"0ae2c476-1-"+i,h:e.o(n=>{var i;return null==(i=e.unref(o.method))?void 0:i.handleSelectedProject(r)},`item_${n}`),i:`item_${n}`})),c:e.p({type:"arrow-right",size:"18",color:"#0082FA"})})}}),i=e._export_sfc(n,[["__scopeId","data-v-0ae2c476"]]);wx.createComponent(i); diff --git a/dist/build/mp-weixin/pages/public/asset_houses/components/MeProjectItem.json b/dist/build/mp-weixin/pages/public/asset_houses/components/MeProjectItem.json new file mode 100644 index 0000000..36346fb --- /dev/null +++ b/dist/build/mp-weixin/pages/public/asset_houses/components/MeProjectItem.json @@ -0,0 +1,7 @@ +{ + "component": true, + "usingComponents": { + "hs-empty": "../../../../components/hs-empty/hs-empty", + "uni-icons": "../../../../uni_modules/uni-icons/components/uni-icons/uni-icons" + } +} \ No newline at end of file diff --git a/dist/build/mp-weixin/pages/public/asset_houses/components/MeProjectItem.wxml b/dist/build/mp-weixin/pages/public/asset_houses/components/MeProjectItem.wxml new file mode 100644 index 0000000..00856f1 --- /dev/null +++ b/dist/build/mp-weixin/pages/public/asset_houses/components/MeProjectItem.wxml @@ -0,0 +1 @@ +{{i.a}}{{i.b}}{{i.c}}{{i.d}}{{i.e}}{{i.f}} 进入该项目抄表 \ No newline at end of file diff --git a/dist/build/mp-weixin/pages/public/asset_houses/components/MeProjectItem.wxss b/dist/build/mp-weixin/pages/public/asset_houses/components/MeProjectItem.wxss new file mode 100644 index 0000000..35d25f6 --- /dev/null +++ b/dist/build/mp-weixin/pages/public/asset_houses/components/MeProjectItem.wxss @@ -0,0 +1 @@ +.asset_project_btn.data-v-0ae2c476{display:flex;align-items:center;justify-content:center;font-size:25rpx;color:#0082fa}.address.data-v-0ae2c476{color:#999;font-size:24rpx} diff --git a/dist/build/mp-weixin/pages/public/asset_houses/index.js b/dist/build/mp-weixin/pages/public/asset_houses/index.js index 356003b..52e77c2 100644 --- a/dist/build/mp-weixin/pages/public/asset_houses/index.js +++ b/dist/build/mp-weixin/pages/public/asset_houses/index.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),r=require("./method.js"),o=require("./model.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js");const s=require("../../../common/store/useWeAppAuthStore.js");require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/naviHelper.js"),require("../../../common/libraries/userUserLogin.js"),Math||i();const i=()=>"./components/MeHouseItem.js",t=e.defineComponent({__name:"index",setup:i=>(s.useWeAppAuthStore(),e.onLoad((e=>{var s;o.useModel.dataList.value=[],o.useModel.selectType.value=null==e?void 0:e.type,null==(s=r.method)||s.handleLoadMore(1)})),(e,r)=>({}))});wx.createPage(t); +"use strict";const e=require("../../../common/vendor.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js");const o=require("../../../common/store/useWeAppAuthStore.js");require("../../../common/store/useWorkStore.js");const r=require("./method.js"),u=require("./model.js");if(require("../../../gen/Apis.js"),require("../../../common/libraries/apiLoading.js"),require("../../../common/libraries/naviHelper.js"),require("../../../common/libraries/userUserLogin.js"),!Array){e.resolveComponent("u-search")()}Math||((()=>"../../../node-modules/uview-plus/components/u-search/u-search.js")+s+l)();const s=()=>"./components/MeHouseItem.js",l=()=>"./components/MeProjectItem.js",n=e.defineComponent({__name:"index",setup:s=>(o.useWeAppAuthStore(),e.onLoad(e=>{var o;u.useModel.dataList.value=[],u.useModel.selectType.value=null==e?void 0:e.type,null==(o=r.method)||o.handleLoadMore(1)}),(o,s)=>{var l,n,t,a,i,m,d,c,p;return e.e({a:e.o(null==(l=e.unref(r.method))?void 0:l.onSearch),b:e.o(o=>e.unref(u.useModel).formData.value.name=o),c:e.p({placeholder:"请输入关键词搜索",showAction:!1,modelValue:e.unref(u.useModel).formData.value.name}),d:"work_add"===(null==(t=null==(n=e.unref(u.useModel))?void 0:n.selectType)?void 0:t.value)},(null==(i=null==(a=e.unref(u.useModel))?void 0:a.selectType)||i.value,{}),{e:"meter"===(null==(d=null==(m=e.unref(u.useModel))?void 0:m.selectType)?void 0:d.value)},(null==(p=null==(c=e.unref(u.useModel))?void 0:c.selectType)||p.value,{}))})});wx.createPage(n); diff --git a/dist/build/mp-weixin/pages/public/asset_houses/index.json b/dist/build/mp-weixin/pages/public/asset_houses/index.json index c2ba4c8..2030eb8 100644 --- a/dist/build/mp-weixin/pages/public/asset_houses/index.json +++ b/dist/build/mp-weixin/pages/public/asset_houses/index.json @@ -1,6 +1,8 @@ { "navigationBarTitleText": "房屋管理", "usingComponents": { - "my-me-house-item": "./components/MeHouseItem" + "u-search": "../../../node-modules/uview-plus/components/u-search/u-search", + "my-me-house-item": "./components/MeHouseItem", + "my-me-project-item": "./components/MeProjectItem" } } \ No newline at end of file diff --git a/dist/build/mp-weixin/pages/public/asset_houses/index.wxml b/dist/build/mp-weixin/pages/public/asset_houses/index.wxml index 9b38a08..b4300bd 100644 --- a/dist/build/mp-weixin/pages/public/asset_houses/index.wxml +++ b/dist/build/mp-weixin/pages/public/asset_houses/index.wxml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/dist/build/mp-weixin/pages/public/asset_houses/index.wxss b/dist/build/mp-weixin/pages/public/asset_houses/index.wxss index 2dcd0a9..a646004 100644 --- a/dist/build/mp-weixin/pages/public/asset_houses/index.wxss +++ b/dist/build/mp-weixin/pages/public/asset_houses/index.wxss @@ -1 +1 @@ -page{background-color:#f8f8f8}.asset_houses{padding-bottom:160rpx}.asset_houses .asset_houses_card{margin:30rpx 30rpx 0;background-color:#fff;border-radius:15rpx;padding:0 30rpx}.asset_houses .asset_houses_card .card_header{padding:30rpx 0}.asset_houses .asset_houses_card .card_header .asset_houses_name{display:flex;align-items:center;justify-content:space-between}.asset_houses .asset_houses_card .card_header .asset_houses_info{display:flex;align-items:center;font-size:24rpx;color:#666;padding:10rpx 0 0}.asset_houses .asset_houses_card .card_header .asset_houses_info .item{height:30rpx;line-height:30rpx;font-size:24rpx}.asset_houses .asset_houses_card .card_header .asset_houses_info .item:last-child{padding-left:20rpx;margin-left:20rpx;border-left:1rpx solid #eee} +page{background-color:#f8f8f8}.header_search_box{position:fixed;top:0;left:0;right:0;z-index:100;background-color:#fff;height:100rpx;padding:0 30rpx;display:flex;align-items:center}.asset_houses{padding-bottom:160rpx;padding-top:100rpx}.asset_houses .asset_houses_card{margin:30rpx 30rpx 0;background-color:#fff;border-radius:15rpx;padding:0 30rpx}.asset_houses .asset_houses_card .card_header{padding:30rpx 0}.asset_houses .asset_houses_card .card_header .asset_houses_name{display:flex;align-items:center;justify-content:space-between}.asset_houses .asset_houses_card .card_header .asset_houses_info{display:flex;align-items:center;font-size:24rpx;color:#666;padding:10rpx 0 0}.asset_houses .asset_houses_card .card_header .asset_houses_info .item{height:30rpx;line-height:30rpx;font-size:24rpx}.asset_houses .asset_houses_card .card_header .asset_houses_info .item:last-child{padding-left:20rpx;margin-left:20rpx;border-left:1rpx solid #eee} diff --git a/dist/build/mp-weixin/pages/public/asset_houses/method.js b/dist/build/mp-weixin/pages/public/asset_houses/method.js index f9fb1e4..8780d67 100644 --- a/dist/build/mp-weixin/pages/public/asset_houses/method.js +++ b/dist/build/mp-weixin/pages/public/asset_houses/method.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/libraries/apiLoading.js"),r=require("../../../gen/Apis.js"),s=require("./model.js"),i=require("../../../common/libraries/naviHelper.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWeAppAuthStore.js");const u=require("../../../common/store/useWorkStore.js"),l=require("../../../common/libraries/userUserLogin.js"),a=u.useWorkStore(),n=()=>{var e,i,u;(null==(e=l.getUser)?void 0:e.getLoginStatus())&&o.getApiLoading(r.Apis.Grid.Grids.GridSelectHouse,null==(u=null==(i=s.useModel)?void 0:i.formData)?void 0:u.value).then((e=>{s.useModel.dataList.value=null==e?void 0:e.data,console.log(e)}))},d={getHouseList:n,handleLoadMore(e){s.useModel.formData.value.page=e,0===s.useModel.currentTabs.value&&n()},handleSelectedHouse(e){var o,r;if(s.useModel.selectedHouseEd.value={id:null==e?void 0:e.value},"work_add"===(null==(r=null==(o=s.useModel)?void 0:o.selectType)?void 0:r.value))return a.selectWorkHouse=e,void i.showToastBack("选择成功!",1,!0)},hadnleNewBindingHouse(){var o;e.index.navigateTo({url:(null==(o=l.getUser)?void 0:o.getLoginStatus())?"/INDEX/binding/index":"/pages/login"})},handleQueryHouseArchives(o){e.index.navigateTo({url:`/INDEX/archive_houses/index?id=${null==o?void 0:o.asset_houses_id}`})}};exports.method=d; +"use strict";const e=require("../../../common/vendor.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWeAppAuthStore.js");const o=require("../../../common/store/useWorkStore.js"),l=require("../../../common/libraries/apiLoading.js"),i=require("../../../common/libraries/naviHelper.js"),s=require("../../../common/libraries/userUserLogin.js"),u=require("../../../gen/Apis.js"),d=require("./model.js"),r=o.useWorkStore(),t=()=>{var e,o,i;(null==(e=s.getUser)?void 0:e.getLoginStatus())&&l.getApiLoading(u.Apis.Asset.AssetHouses.SelectHouse,null==(i=null==(o=d.useModel)?void 0:o.formData)?void 0:i.value).then(e=>{d.useModel.dataList.value=null==e?void 0:e.data,console.log(e)})},a=()=>{var o,i,r;(null==(o=s.getUser)?void 0:o.getLoginStatus())&&l.getApiLoading(u.Apis.Asset.AssetHouses.SelectPermissionProject,null==(r=null==(i=d.useModel)?void 0:i.formData)?void 0:r.value).then(o=>{var l,i,s;d.useModel.dataList.value=null==o?void 0:o.data,1===(null==(l=null==o?void 0:o.data)?void 0:l.length)&&1===d.useModel.formData.value.page&&e.index.navigateTo({url:`/ME/instrument/list/index?id=${null==(s=null==(i=null==o?void 0:o.data)?void 0:i[0])?void 0:s.id}`}),console.log(o)})},n={getHouseList:t,getProjectList:a,handleLoadMore(e){var o,l,i,s;d.useModel.formData.value.page=e,"work_add"===(null==(l=null==(o=d.useModel)?void 0:o.selectType)?void 0:l.value)&&t(),"meter"===(null==(s=null==(i=d.useModel)?void 0:i.selectType)?void 0:s.value)&&a()},onSearch(){var e,o,l,i;d.useModel.formData.value.page=1,"work_add"===(null==(o=null==(e=d.useModel)?void 0:e.selectType)?void 0:o.value)&&t(),"meter"===(null==(i=null==(l=d.useModel)?void 0:l.selectType)?void 0:i.value)&&a()},handleSelectedHouse(e){var o,l;if(d.useModel.selectedHouseEd.value={id:null==e?void 0:e.id},"work_add"===(null==(l=null==(o=d.useModel)?void 0:o.selectType)?void 0:l.value))return r.selectWorkHouse=e,void i.showToastBack("选择成功!",1,!0)},handleSelectedProject(o){e.index.navigateTo({url:`/ME/instrument/list/index?id=${null==o?void 0:o.id}`})},hadnleNewBindingHouse(){var o;e.index.navigateTo({url:(null==(o=s.getUser)?void 0:o.getLoginStatus())?"/INDEX/binding/index":"/pages/login"})},handleQueryHouseArchives(o){e.index.navigateTo({url:`/INDEX/archive_houses/index?id=${null==o?void 0:o.asset_houses_id}`})}};exports.method=n; diff --git a/dist/build/mp-weixin/pages/public/asset_houses/model.js b/dist/build/mp-weixin/pages/public/asset_houses/model.js index 423c11c..67834a7 100644 --- a/dist/build/mp-weixin/pages/public/asset_houses/model.js +++ b/dist/build/mp-weixin/pages/public/asset_houses/model.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),r={formData:e.ref({page:1}),dataList:e.ref([]),meta:e.ref({}),selectedHouseEd:e.ref({id:""}),selectType:e.ref(""),currentTabs:e.ref(0)};exports.useModel=r; +"use strict";const e=require("../../../common/vendor.js"),r={formData:e.ref({page:1,name:""}),dataList:e.ref([]),meta:e.ref({}),selectedHouseEd:e.ref({id:""}),selectType:e.ref(""),currentTabs:e.ref(0)};exports.useModel=r; diff --git a/dist/build/mp-weixin/pages/public/select_project/index.js b/dist/build/mp-weixin/pages/public/select_project/index.js index 74a0d65..33b2b47 100644 --- a/dist/build/mp-weixin/pages/public/select_project/index.js +++ b/dist/build/mp-weixin/pages/public/select_project/index.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("./method.js"),r=require("./model.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/naviHelper.js"),require("../../../common/libraries/userUserLogin.js"),!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("uni-icons"))()}Math||((()=>"../../../components/hs-empty/hs-empty.js")+(()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const l=e.defineComponent({__name:"index",setup:l=>(e.onLoad((e=>{var l;r.useModel.dataList.value=[],r.useModel.source.value=(null==e?void 0:e.source)||"",null==(l=o.method)||l.handleLoadMore(1)})),(l,n)=>{var i,u,s,t,d,a,m,c;return e.e({a:!(null==(s=null==(u=null==(i=e.unref(r.useModel))?void 0:i.dataList)?void 0:u.value)?void 0:s.length)},(null==(a=null==(d=null==(t=e.unref(r.useModel))?void 0:t.dataList)?void 0:d.value)||a.length,{}),{b:e.f(null==(c=null==(m=e.unref(r.useModel))?void 0:m.dataList)?void 0:c.value,((l,n,i)=>{var u,s;return e.e({a:e.t(null==l?void 0:l.name),b:e.t(null==l?void 0:l.province),c:e.t(null==l?void 0:l.city),d:e.t(null==l?void 0:l.area),e:(null==l?void 0:l.id)===(null==(u=e.unref(r.useModel).selectedHouseEd.value)?void 0:u.id)},(null==l?void 0:l.id)===(null==(s=e.unref(r.useModel).selectedHouseEd.value)?void 0:s.id)?{f:"69571fb6-1-"+i,g:e.p({type:"checkbox-filled",size:"20",color:"#2A7EFB"})}:{h:"69571fb6-2-"+i,i:e.p({type:"circle",size:"20",color:"#999"})},{j:e.o((r=>{var n;return null==(n=e.unref(o.method))?void 0:n.handleSelectedProject(l)}),`item_${n}`),k:`item_${n}`})}))})})});wx.createPage(l); +"use strict";const e=require("../../../common/vendor.js"),o=require("./method.js"),r=require("./model.js");if(require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../gen/Apis.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/apiLoading.js"),require("../../../common/libraries/naviHelper.js"),require("../../../common/libraries/userUserLogin.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("cc-scroll-loading"))()}Math||((()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const l=e.defineComponent({__name:"index",setup:l=>(e.onUnload(()=>{r.useModel.formData.value.page=1,r.useModel.dataList.value=[]}),e.onLoad(e=>{var l;r.useModel.dataList.value=[],r.useModel.source.value=(null==e?void 0:e.source)||"",null==(l=o.method)||l.handleLoadMore({page:1})}),(l,n)=>{var i,u,s,d,a;return{a:e.f(null==(u=null==(i=e.unref(r.useModel))?void 0:i.dataList)?void 0:u.value,(l,n,i)=>{var u,s;return e.e({a:e.t(null==l?void 0:l.name),b:e.t(null==l?void 0:l.province),c:e.t(null==l?void 0:l.city),d:e.t(null==l?void 0:l.area),e:(null==l?void 0:l.id)===(null==(u=e.unref(r.useModel).selectedHouseEd.value)?void 0:u.id)},(null==l?void 0:l.id)===(null==(s=e.unref(r.useModel).selectedHouseEd.value)?void 0:s.id)?{f:"69571fb6-1-"+i+",69571fb6-0",g:e.p({type:"checkbox-filled",size:"20",color:"#2A7EFB"})}:{h:"69571fb6-2-"+i+",69571fb6-0",i:e.p({type:"circle",size:"20",color:"#999"})},{j:e.o(r=>{var n;return null==(n=e.unref(o.method))?void 0:n.handleSelectedProject(l)},`item_${n}`),k:`item_${n}`})}),b:e.o(null==(s=e.unref(o.method))?void 0:s.handleLoadMore),c:e.p({meta:null==(a=null==(d=e.unref(r.useModel))?void 0:d.metaData)?void 0:a.value})}})});wx.createPage(l); diff --git a/dist/build/mp-weixin/pages/public/select_project/index.json b/dist/build/mp-weixin/pages/public/select_project/index.json index 4830b6c..96f79eb 100644 --- a/dist/build/mp-weixin/pages/public/select_project/index.json +++ b/dist/build/mp-weixin/pages/public/select_project/index.json @@ -1,7 +1,7 @@ { "navigationBarTitleText": "选择项目", "usingComponents": { - "hs-empty": "../../../components/hs-empty/hs-empty", - "uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons" + "uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons", + "cc-scroll-loading": "../../../common/components/cc-scroll-loading/cc-scroll-loading" } } \ No newline at end of file diff --git a/dist/build/mp-weixin/pages/public/select_project/index.wxml b/dist/build/mp-weixin/pages/public/select_project/index.wxml index a02ca14..b86e8b8 100644 --- a/dist/build/mp-weixin/pages/public/select_project/index.wxml +++ b/dist/build/mp-weixin/pages/public/select_project/index.wxml @@ -1 +1 @@ -{{i.a}}{{i.b}}/{{i.c}}/{{i.d}} \ No newline at end of file +{{i.a}}{{i.b}}/{{i.c}}/{{i.d}} \ No newline at end of file diff --git a/dist/build/mp-weixin/pages/public/select_project/method.js b/dist/build/mp-weixin/pages/public/select_project/method.js index 5e78947..7131e21 100644 --- a/dist/build/mp-weixin/pages/public/select_project/method.js +++ b/dist/build/mp-weixin/pages/public/select_project/method.js @@ -1 +1 @@ -"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/libraries/apiLoading.js"),s=require("../../../gen/Apis.js"),i=require("./model.js"),r=require("../../../common/libraries/naviHelper.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWeAppAuthStore.js");const l=require("../../../common/store/useWorkStore.js"),a=require("../../../common/libraries/userUserLogin.js"),t=l.useWorkStore(),u=()=>{var e,r,l;(null==(e=a.getUser)?void 0:e.getLoginStatus())&&o.getApiLoading(s.Apis.Asset.AssetHouses.SelectProject,null==(l=null==(r=i.useModel)?void 0:r.formData)?void 0:l.value).then((e=>{var o,s;i.useModel.dataList.value=[...null==(s=null==(o=i.useModel)?void 0:o.dataList)?void 0:s.value,...null==e?void 0:e.data],i.useModel.metaData.value=null==e?void 0:e.meta,console.log(e)}))},n={getProjectList:u,handleLoadMore(e){i.useModel.formData.value.page=e,u()},handleSelectedProject(l){var a,u,n;"emergency_add"===(null==(u=null==(a=i.useModel)?void 0:a.source)?void 0:u.value)?(n=l,o.getApiLoading(s.Apis.Emergency.EmergencyEventTeams.GetPermission,{asset_projects_id:null==n?void 0:n.id}).then((o=>{var s;(null==(s=null==o?void 0:o.data)?void 0:s.permission)?(i.useModel.selectedHouseEd.value=n,t.selectWorkProject=n,r.showToastBack("选择成功!",1,!0)):e.index.navigateTo({url:`/pages/public/select_project/pages/permission_show?id=${null==n?void 0:n.id}`}),console.log(o)}))):(i.useModel.selectedHouseEd.value=l,t.selectWorkProject=l,r.showToastBack("选择成功!",1,!0))},hadnleNewBindingHouse(){var o;e.index.navigateTo({url:(null==(o=a.getUser)?void 0:o.getLoginStatus())?"/INDEX/binding/index":"/pages/login"})},handleQueryHouseArchives(o){e.index.navigateTo({url:`/INDEX/archive_houses/index?id=${null==o?void 0:o.asset_houses_id}`})}};exports.method=n; +"use strict";const e=require("../../../common/vendor.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWeAppAuthStore.js");const o=require("../../../common/store/useWorkStore.js"),s=require("../../../common/libraries/apiLoading.js"),i=require("../../../common/libraries/naviHelper.js"),r=require("../../../common/libraries/userUserLogin.js"),l=require("../../../gen/Apis.js"),a=require("./model.js"),t=o.useWorkStore(),u=()=>{var e,o,i;(null==(e=r.getUser)?void 0:e.getLoginStatus())&&s.getApiLoading(l.Apis.Asset.AssetHouses.SelectProject,null==(i=null==(o=a.useModel)?void 0:o.formData)?void 0:i.value).then(e=>{var o,s;a.useModel.dataList.value=[...null==(s=null==(o=a.useModel)?void 0:o.dataList)?void 0:s.value,...null==e?void 0:e.data],a.useModel.metaData.value=null==e?void 0:e.meta,console.log(e)})},n={getProjectList:u,handleLoadMore(e){console.log(e),a.useModel.formData.value.page=e.page,u()},handleSelectedProject(o){var r,u,n;"emergency_add"===(null==(u=null==(r=a.useModel)?void 0:r.source)?void 0:u.value)?(n=o,s.getApiLoading(l.Apis.Emergency.EmergencyEventTeams.GetPermission,{asset_projects_id:null==n?void 0:n.id}).then(o=>{var s;(null==(s=null==o?void 0:o.data)?void 0:s.permission)?(a.useModel.selectedHouseEd.value=n,t.selectWorkProject=n,i.showToastBack("选择成功!",1,!0)):e.index.navigateTo({url:`/pages/public/select_project/pages/permission_show?id=${null==n?void 0:n.id}`}),console.log(o)})):(a.useModel.selectedHouseEd.value=o,t.selectWorkProject=o,i.showToastBack("选择成功!",1,!0))},hadnleNewBindingHouse(){var o;e.index.navigateTo({url:(null==(o=r.getUser)?void 0:o.getLoginStatus())?"/INDEX/binding/index":"/pages/login"})},handleQueryHouseArchives(o){e.index.navigateTo({url:`/INDEX/archive_houses/index?id=${null==o?void 0:o.asset_houses_id}`})}};exports.method=n; diff --git a/dist/build/mp-weixin/pages/public/select_project/pages/permission_show.js b/dist/build/mp-weixin/pages/public/select_project/pages/permission_show.js new file mode 100644 index 0000000..f94771f --- /dev/null +++ b/dist/build/mp-weixin/pages/public/select_project/pages/permission_show.js @@ -0,0 +1 @@ +"use strict";const e=require("../../../../common/vendor.js"),o=require("../../../../common/libraries/apiLoading.js"),n=require("../../../../gen/Apis.js");if(require("../../../../common/libraries/request.js"),require("../../../../common/store/useWeAppAuthStore.js"),require("../../../../common/store/useWatermarkStore.js"),require("../../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("hs-footer"))()}Math||((()=>"../../../../components/hs-empty/hs-empty.js")+(()=>"../../../../components/hs-footer/hs-footer.js"))();const r=e.defineComponent({__name:"permission_show",setup(r){const t=e.ref([]),s=()=>{e.index.navigateBack({delta:1})};return e.onLoad(e=>{var r;r=e,o.getApiLoading(n.Apis.Emergency.EmergencyEventTeams.GetPermission,{asset_projects_id:null==r?void 0:r.id}).then(e=>{var o;t.value=(null==(o=null==e?void 0:e.data)?void 0:o.members)||[],console.log(e)})}),(o,n)=>{var r,i;return e.e({a:!(null==(r=t.value)?void 0:r.length)},(null==(i=t.value)?void 0:i.length)?{}:{b:e.p({height:"20vh"})},{c:e.f(t.value,(o,n,r)=>({a:e.t(null==o?void 0:o.employee_name),b:e.t(null==o?void 0:o.employee_phone),c:e.o(n=>{var r;(r=null==o?void 0:o.employee_phone)?e.index.makePhoneCall({phoneNumber:r}):e.index.showToast({title:"当前人员手机号为空!",icon:"none"})},`item_${n}`),d:`item_${n}`})),d:e.o(s),e:e.p({btnParimaryName:"报其他项目"})})}}});wx.createPage(r); diff --git a/dist/build/mp-weixin/pages/public/select_project/pages/permission_show.json b/dist/build/mp-weixin/pages/public/select_project/pages/permission_show.json new file mode 100644 index 0000000..752115d --- /dev/null +++ b/dist/build/mp-weixin/pages/public/select_project/pages/permission_show.json @@ -0,0 +1,7 @@ +{ + "navigationBarTitleText": "突发事件", + "usingComponents": { + "hs-empty": "../../../../components/hs-empty/hs-empty", + "hs-footer": "../../../../components/hs-footer/hs-footer" + } +} \ No newline at end of file diff --git a/dist/build/mp-weixin/pages/public/select_project/pages/permission_show.wxml b/dist/build/mp-weixin/pages/public/select_project/pages/permission_show.wxml new file mode 100644 index 0000000..47dd739 --- /dev/null +++ b/dist/build/mp-weixin/pages/public/select_project/pages/permission_show.wxml @@ -0,0 +1 @@ + 当前项目您无添加突发事件的权限 可联系以下人员添加 {{i.a}} {{i.b}} 联系TA \ No newline at end of file diff --git a/dist/build/mp-weixin/pages/public/select_project/pages/permission_show.wxss b/dist/build/mp-weixin/pages/public/select_project/pages/permission_show.wxss new file mode 100644 index 0000000..b7bdd6f --- /dev/null +++ b/dist/build/mp-weixin/pages/public/select_project/pages/permission_show.wxss @@ -0,0 +1 @@ +.permission_show_page{padding-bottom:calc(120rpx + constant(safe-area-inset-bottom));padding-bottom:calc(120rpx + env(safe-area-inset-bottom))}.permission_head{color:#3d3d3d;text-align:center}.permission_head_icon{display:flex;justify-content:center;align-items:center}.permission_head_icon image{width:232rpx;height:232rpx}.permission_head_label{font-size:36rpx;padding:10rpx 0 25rpx;font-weight:500}.permission_head_sub_label{font-size:28rpx}.permission_content{padding:20rpx 80rpx 0}.permission_content .permission_item{display:flex;align-items:center;justify-content:space-between;margin-top:30rpx;color:#333;border:1rpx solid #f1f1f1;border-radius:10rpx;padding:30rpx;font-size:28rpx}.permission_content .permission_item text{color:#666}.permission_content .permission_item .item_btn_phone{color:#0082fa} diff --git a/dist/build/mp-weixin/pages/transfer/index.js b/dist/build/mp-weixin/pages/transfer/index.js index fbf50e5..fa18652 100644 --- a/dist/build/mp-weixin/pages/transfer/index.js +++ b/dist/build/mp-weixin/pages/transfer/index.js @@ -1 +1 @@ -"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/userUserLogin.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),!Array){e.resolveComponent("hs-footer")()}Math;const r=e.defineComponent({__name:"index",setup(r){const n=e.ref(!1);return e.onShow((async()=>{var r,i,s;if(await(null==(r=e.getCurrentInstance())?void 0:r.appContext.config.globalProperties.$onLaunched),null==(i=o.getUser)?void 0:i.getLoginStatus()){const o=e.index.getEnterOptionsSync();console.log(o,"getQrcode");let r=null==o?void 0:o.query;if(null==r?void 0:r.scene){let o=null==(s=null==r?void 0:r.scene)?void 0:s.split("_");"1"===o[0]&&e.index.redirectTo({url:`/INDEX/release_items/index?id=${o[1]}`}),"2"===o[0]&&e.index.redirectTo({url:`/INDEX/pass/index?id=${o[1]}`}),"3"===o[0]&&e.index.redirectTo({url:`/INDEX/patrol_task_list/index?id=${o[1]}`})}else n.value=!0}else e.index.showModal({title:"提示",content:"检测到您还未登录,是否去登录?",confirmText:"去登录",cancelText:"返回首页",confirmColor:"#0082FA",success:function(o){o.confirm?(e.index.navigateTo({url:"/pages/login?source=transfer"}),console.log("用户点击确定")):o.cancel&&(e.index.switchTab({url:"/pages/index/index"}),console.log("用户点击取消"))}})})),(o,r)=>e.e({a:!n.value},n.value?{b:e.p({btnParimaryName:"返回首页"})}:{})}});wx.createPage(r); +"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/userUserLogin.js");if(require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),!Array){e.resolveComponent("hs-footer")()}Math;const r=e.defineComponent({__name:"index",setup(r){const n=e.ref(!1);return e.onShow(async()=>{var r,i,s;if(await(null==(r=e.getCurrentInstance())?void 0:r.appContext.config.globalProperties.$onLaunched),null==(i=o.getUser)?void 0:i.getLoginStatus()){const o=e.index.getEnterOptionsSync();console.log(o,"getQrcode");let r=null==o?void 0:o.query;if(null==r?void 0:r.scene){let o=null==(s=null==r?void 0:r.scene)?void 0:s.split("_");"1"===o[0]&&e.index.redirectTo({url:`/INDEX/release_items/index?id=${o[1]}`}),"2"===o[0]&&e.index.redirectTo({url:`/INDEX/pass/index?source=2&id=${o[1]}`}),"3"===o[0]&&e.index.redirectTo({url:`/INDEX/patrol_task_list/index?id=${o[1]}`}),"4"===o[0]&&e.index.redirectTo({url:`/INDEX/pass/index?source=4&customers_id=${o[1]}&asset_houses_id=${o[2]}`})}else n.value=!0}else e.index.showModal({title:"提示",content:"检测到您还未登录,是否去登录?",confirmText:"去登录",cancelText:"返回首页",confirmColor:"#0082FA",success:function(o){o.confirm?(e.index.navigateTo({url:"/pages/login?source=transfer"}),console.log("用户点击确定")):o.cancel&&(e.index.switchTab({url:"/pages/index/index"}),console.log("用户点击取消"))}})}),(o,r)=>e.e({a:!n.value},n.value?{b:e.p({btnParimaryName:"返回首页"})}:{})}});wx.createPage(r); diff --git a/dist/build/mp-weixin/project.config.json b/dist/build/mp-weixin/project.config.json index 375459f..70a80c7 100644 --- a/dist/build/mp-weixin/project.config.json +++ b/dist/build/mp-weixin/project.config.json @@ -32,5 +32,6 @@ "current": -1, "list": [] } - } + }, + "cloudfunctionRoot": "./cloudfunctions/" } \ No newline at end of file diff --git a/dist/build/mp-weixin/static/images/empty_icon.png b/dist/build/mp-weixin/static/images/empty_icon.png new file mode 100644 index 0000000..a449f41 Binary files /dev/null and b/dist/build/mp-weixin/static/images/empty_icon.png differ diff --git a/dist/build/mp-weixin/static/images/no_jurisdictio.png b/dist/build/mp-weixin/static/images/no_jurisdictio.png new file mode 100644 index 0000000..25ccdf4 Binary files /dev/null and b/dist/build/mp-weixin/static/images/no_jurisdictio.png differ diff --git a/dist/build/mp-weixin/static/svg/CheckInIcon.svg b/dist/build/mp-weixin/static/svg/CheckInIcon.svg new file mode 100644 index 0000000..c80b556 --- /dev/null +++ b/dist/build/mp-weixin/static/svg/CheckInIcon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/build/mp-weixin/static/svg/HeatingIcon.svg b/dist/build/mp-weixin/static/svg/HeatingIcon.svg new file mode 100644 index 0000000..3b13cbf --- /dev/null +++ b/dist/build/mp-weixin/static/svg/HeatingIcon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/build/mp-weixin/static/svg/collection_icon.svg b/dist/build/mp-weixin/static/svg/collection_icon.svg deleted file mode 100644 index ae2f720..0000000 --- a/dist/build/mp-weixin/static/svg/collection_icon.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/dist/build/mp-weixin/static/svg/emergency_icon.svg b/dist/build/mp-weixin/static/svg/emergency_icon.svg new file mode 100644 index 0000000..15141d8 --- /dev/null +++ b/dist/build/mp-weixin/static/svg/emergency_icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/build/mp-weixin/static/svg/gas_meter_icon.svg b/dist/build/mp-weixin/static/svg/gas_meter_icon.svg new file mode 100644 index 0000000..83116ee --- /dev/null +++ b/dist/build/mp-weixin/static/svg/gas_meter_icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/build/mp-weixin/static/svg/project_icon.svg b/dist/build/mp-weixin/static/svg/project_icon.svg new file mode 100644 index 0000000..d6e9b3d --- /dev/null +++ b/dist/build/mp-weixin/static/svg/project_icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/build/mp-weixin/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.js b/dist/build/mp-weixin/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.js index 79ed877..83d9319 100644 --- a/dist/build/mp-weixin/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.js +++ b/dist/build/mp-weixin/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.js @@ -1 +1 @@ -"use strict";const t=require("../../../../common/vendor.js"),e=require("../../js_sdk/u-charts/u-charts.js"),i=require("../../js_sdk/u-charts/config-ucharts.js");function o(t={},...e){for(let i in e)for(let a in e[i])e[i].hasOwnProperty(a)&&(t[a]=e[i][a]&&"object"==typeof e[i][a]?o(Array.isArray(e[i][a])?[]:{},t[a],e[i][a]):e[i][a]);return t}function a(t,e){for(let i in t)t.hasOwnProperty(i)&&null!==t[i]&&"object"==typeof t[i]?a(t[i],e):"format"===i&&"string"==typeof t[i]&&(t.formatter=e[t[i]]?e[t[i]]:void 0);return t}var s=null;const n={name:"qiun-data-charts",mixins:[t.Ds.mixinDatacom],props:{type:{type:String,default:null},canvasId:{type:String,default:"uchartsid"},canvas2d:{type:Boolean,default:!1},background:{type:String,default:"rgba(0,0,0,0)"},animation:{type:Boolean,default:!0},chartData:{type:Object,default:()=>({categories:[],series:[]})},opts:{type:Object,default:()=>({})},eopts:{type:Object,default:()=>({})},loadingType:{type:Number,default:2},errorShow:{type:Boolean,default:!0},errorReload:{type:Boolean,default:!0},errorMessage:{type:String,default:null},inScrollView:{type:Boolean,default:!1},reshow:{type:Boolean,default:!1},reload:{type:Boolean,default:!1},disableScroll:{type:Boolean,default:!1},optsWatch:{type:Boolean,default:!0},onzoom:{type:Boolean,default:!1},ontap:{type:Boolean,default:!0},ontouch:{type:Boolean,default:!1},onmouse:{type:Boolean,default:!0},onmovetip:{type:Boolean,default:!1},echartsH5:{type:Boolean,default:!1},echartsApp:{type:Boolean,default:!1},tooltipShow:{type:Boolean,default:!0},tooltipFormat:{type:String,default:void 0},tooltipCustom:{type:Object,default:void 0},startDate:{type:String,default:void 0},endDate:{type:String,default:void 0},textEnum:{type:Array,default:()=>[]},groupEnum:{type:Array,default:()=>[]},pageScrollTop:{type:Number,default:0},directory:{type:String,default:"/"},tapLegend:{type:Boolean,default:!0},menus:{type:Array,default:()=>[]}},data:()=>({cid:"uchartsid",inWx:!1,inAli:!1,inTt:!1,inBd:!1,inH5:!1,inApp:!1,inWin:!1,type2d:!0,disScroll:!1,openmouse:!1,pixel:1,cWidth:375,cHeight:250,showchart:!1,echarts:!1,echartsResize:{state:!1},uchartsOpts:{},echartsOpts:{},drawData:{},lastDrawTime:null}),created(){if(this.cid=this.canvasId,"uchartsid"==this.canvasId||""==this.canvasId){let t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",e=t.length,i="";for(let o=0;o<32;o++)i+=t.charAt(Math.floor(Math.random()*e));this.cid=i}const e=t.index.getSystemInfoSync();"windows"!==e.platform&&"mac"!==e.platform||(this.inWin=!0),this.inWx=!0,!1===this.canvas2d||"windows"===e.platform||"mac"===e.platform?this.type2d=!1:(this.type2d=!0,this.pixel=e.pixelRatio),this.disScroll=this.disableScroll},mounted(){this.$nextTick((()=>{this.beforeInit()}));const e=this.inH5?500:200,i=this;t.index.onWindowResize(function(t,e){let i=!1;return function(){clearTimeout(i),i&&clearTimeout(i),i=setTimeout((()=>{i=!1,t.apply(this,arguments)}),e)}}((function(t){if(1==i.mixinDatacomLoading)return;let e=i.mixinDatacomErrorMessage;null!==e&&"null"!==e&&""!==e||(i.echarts?i.echartsResize.state=!i.echartsResize.state:i.resizeHandler())}),e))},destroyed(){!0===this.echarts?(delete cfe.option[this.cid],delete cfe.instance[this.cid]):(delete i.cfu.option[this.cid],delete i.cfu.instance[this.cid]),t.index.offWindowResize((()=>{}))},watch:{chartDataProps:{handler(t,e){"object"==typeof t?JSON.stringify(t)!==JSON.stringify(e)&&(this._clearChart(),t.series&&t.series.length>0?this.beforeInit():(this.mixinDatacomLoading=!0,this.showchart=!1,this.mixinDatacomErrorMessage=null)):(this.mixinDatacomLoading=!1,this._clearChart(),this.showchart=!1,this.mixinDatacomErrorMessage="参数错误:chartData数据类型错误")},immediate:!1,deep:!0},localdata:{handler(t,e){JSON.stringify(t)!==JSON.stringify(e)&&(t.length>0?this.beforeInit():(this.mixinDatacomLoading=!0,this._clearChart(),this.showchart=!1,this.mixinDatacomErrorMessage=null))},immediate:!1,deep:!0},optsProps:{handler(t,e){"object"==typeof t?JSON.stringify(t)!==JSON.stringify(e)&&!1===this.echarts&&1==this.optsWatch&&this.checkData(this.drawData):(this.mixinDatacomLoading=!1,this._clearChart(),this.showchart=!1,this.mixinDatacomErrorMessage="参数错误:opts数据类型错误")},immediate:!1,deep:!0},eoptsProps:{handler(t,e){"object"==typeof t?JSON.stringify(t)!==JSON.stringify(e)&&!0===this.echarts&&this.checkData(this.drawData):(this.mixinDatacomLoading=!1,this.showchart=!1,this.mixinDatacomErrorMessage="参数错误:eopts数据类型错误")},immediate:!1,deep:!0},reshow(t,e){!0===t&&!1===this.mixinDatacomLoading&&setTimeout((()=>{this.mixinDatacomErrorMessage=null,this.echartsResize.state=!this.echartsResize.state,this.checkData(this.drawData)}),200)},reload(t,e){!0===t&&(this.showchart=!1,this.mixinDatacomErrorMessage=null,this.reloading())},mixinDatacomErrorMessage(t,e){t&&(this.emitMsg({name:"error",params:{type:"error",errorShow:this.errorShow,msg:t,id:this.cid}}),this.errorShow&&console.log("[秋云图表组件]"+t))},errorMessage(t,e){t&&this.errorShow&&null!==t&&"null"!==t&&""!==t?(this.showchart=!1,this.mixinDatacomLoading=!1,this.mixinDatacomErrorMessage=t):(this.showchart=!1,this.mixinDatacomErrorMessage=null,this.reloading())}},computed:{optsProps(){return JSON.parse(JSON.stringify(this.opts))},eoptsProps(){return JSON.parse(JSON.stringify(this.eopts))},chartDataProps(){return JSON.parse(JSON.stringify(this.chartData))}},methods:{beforeInit(){this.mixinDatacomErrorMessage=null,"object"==typeof this.chartData&&null!=this.chartData&&void 0!==this.chartData.series&&this.chartData.series.length>0?(this.drawData=o({},this.chartData),this.mixinDatacomLoading=!1,this.showchart=!0,this.checkData(this.chartData)):this.localdata.length>0?(this.mixinDatacomLoading=!1,this.showchart=!0,this.localdataInit(this.localdata)):""!==this.collection?(this.mixinDatacomLoading=!1,this.getCloudData()):this.mixinDatacomLoading=!0},localdataInit(t){if(this.groupEnum.length>0)for(let i=0;i0)for(let i=0;i0)s=this.chartData.categories;else if(this.startDate&&this.endDate){let t=new Date(this.startDate),e=new Date(this.endDate);for(;t<=e;)s.push((r=void 0,c=void 0,l=void 0,r=(h=t).getFullYear(),c=h.getMonth()+1,l=h.getDate(),c>=1&&c<=9&&(c="0"+c),l>=0&&l<=9&&(l="0"+l),r+"-"+c+"-"+l)),t=t.setDate(t.getDate()+1),t=new Date(t)}else{let e={};t.map((function(t,i){null==t.text||e[t.text]||(s.push(t.text),e[t.text]=!0)}))}a.categories=s}var h,r,c,l;let p={};if(t.map((function(t,e){null==t.group||p[t.group]||(n.push({name:t.group,data:[]}),p[t.group]=!0)})),0==n.length)if(n=[{name:"默认分组",data:[]}],!0===e)for(let i=0;i0)for(let e=0;e0&&(this.mixinDatacomErrorMessage=null,!0===this.echarts?(cfe.option[e].chartData=a,this.$nextTick((()=>{this.init()}))):(i.cfu.option[e].categories=a.categories,i.cfu.option[e].series=a.series,this.$nextTick((()=>{this.init()}))))},resizeHandler(){let e=Date.now();e-(this.lastDrawTime?this.lastDrawTime:e-3e3)<1e3||t.index.createSelectorQuery().in(this).select("#ChartBoxId"+this.cid).boundingClientRect((t=>{this.showchart=!0,t.width>0&&t.height>0&&(t.width===this.cWidth&&t.height===this.cHeight||this.checkData(this.drawData))})).exec()},getCloudData(){1!=this.mixinDatacomLoading&&(this.mixinDatacomLoading=!0,this.mixinDatacomGet().then((t=>{this.mixinDatacomResData=t.result.data,this.localdataInit(this.mixinDatacomResData)})).catch((t=>{this.mixinDatacomLoading=!1,this.showchart=!1,this.mixinDatacomErrorMessage="请求错误:"+t})))},onMixinDatacomPropsChange(t,e){1==t&&""!==this.collection&&(this.showchart=!1,this.mixinDatacomErrorMessage=null,this._clearChart(),this.getCloudData())},_clearChart(){let t=this.cid;if(!0!==this.echarts&&i.cfu.option[t]&&i.cfu.option[t].context){const e=i.cfu.option[t].context;"object"!=typeof e||i.cfu.option[t].update||(e.clearRect(0,0,this.cWidth*this.pixel,this.cHeight*this.pixel),e.draw())}},init(){let e=this.cid;t.index.createSelectorQuery().in(this).select("#ChartBoxId"+e).boundingClientRect((s=>{s.width>0&&s.height>0?(this.mixinDatacomLoading=!1,this.showchart=!0,this.lastDrawTime=Date.now(),this.cWidth=s.width,this.cHeight=s.height,!0!==this.echarts&&(i.cfu.option[e].background="rgba(0,0,0,0)"==this.background?"#FFFFFF":this.background,i.cfu.option[e].canvas2d=this.type2d,i.cfu.option[e].pixelRatio=this.pixel,i.cfu.option[e].animation=this.animation,i.cfu.option[e].width=s.width*this.pixel,i.cfu.option[e].height=s.height*this.pixel,i.cfu.option[e].onzoom=this.onzoom,i.cfu.option[e].ontap=this.ontap,i.cfu.option[e].ontouch=this.ontouch,i.cfu.option[e].onmouse=this.openmouse,i.cfu.option[e].onmovetip=this.onmovetip,i.cfu.option[e].tooltipShow=this.tooltipShow,i.cfu.option[e].tooltipFormat=this.tooltipFormat,i.cfu.option[e].tooltipCustom=this.tooltipCustom,i.cfu.option[e].inScrollView=this.inScrollView,i.cfu.option[e].lastDrawTime=this.lastDrawTime,i.cfu.option[e].tapLegend=this.tapLegend),this.inH5||this.inApp?1==this.echarts?(cfe.option[e].ontap=this.ontap,cfe.option[e].onmouse=this.openmouse,cfe.option[e].tooltipShow=this.tooltipShow,cfe.option[e].tooltipFormat=this.tooltipFormat,cfe.option[e].tooltipCustom=this.tooltipCustom,cfe.option[e].lastDrawTime=this.lastDrawTime,this.echartsOpts=o({},cfe.option[e])):(i.cfu.option[e].rotateLock=i.cfu.option[e].rotate,this.uchartsOpts=o({},i.cfu.option[e])):(i.cfu.option[e]=a(i.cfu.option[e],i.cfu.formatter),this.mixinDatacomErrorMessage=null,this.mixinDatacomLoading=!1,this.showchart=!0,this.$nextTick((()=>{if(!0===this.type2d){t.index.createSelectorQuery().in(this).select("#"+e).fields({node:!0,size:!0}).exec((t=>{if(t[0]){const o=t[0].node,a=o.getContext("2d");i.cfu.option[e].context=a,i.cfu.option[e].rotateLock=i.cfu.option[e].rotate,i.cfu.instance[e]&&i.cfu.option[e]&&!0===i.cfu.option[e].update?this._updataUChart(e):(o.width=s.width*this.pixel,o.height=s.height*this.pixel,o._width=s.width*this.pixel,o._height=s.height*this.pixel,setTimeout((()=>{i.cfu.option[e].context.restore(),i.cfu.option[e].context.save(),this._newChart(e)}),100))}else this.showchart=!1,this.mixinDatacomErrorMessage="参数错误:开启2d模式后,未获取到dom节点,canvas-id:"+e}))}else this.inAli&&(i.cfu.option[e].rotateLock=i.cfu.option[e].rotate),i.cfu.option[e].context=t.index.createCanvasContext(e,this),i.cfu.instance[e]&&i.cfu.option[e]&&!0===i.cfu.option[e].update?this._updataUChart(e):setTimeout((()=>{i.cfu.option[e].context.restore(),i.cfu.option[e].context.save(),this._newChart(e)}),100)})))):(this.mixinDatacomLoading=!1,this.showchart=!1,1==this.reshow&&(this.mixinDatacomErrorMessage="布局错误:未获取到父元素宽高尺寸!canvas-id:"+e))})).exec()},saveImage(){t.index.canvasToTempFilePath({canvasId:this.cid,success:e=>{t.index.saveImageToPhotosAlbum({filePath:e.tempFilePath,success:function(){t.index.showToast({title:"保存成功",duration:2e3})}})}},this)},getImage(){if(0==this.type2d)t.index.canvasToTempFilePath({canvasId:this.cid,success:t=>{this.emitMsg({name:"getImage",params:{type:"getImage",base64:t.tempFilePath}})}},this);else{t.index.createSelectorQuery().in(this).select("#"+this.cid).fields({node:!0,size:!0}).exec((t=>{if(t[0]){const e=t[0].node;this.emitMsg({name:"getImage",params:{type:"getImage",base64:e.toDataURL("image/png")}})}}))}},_newChart(t){1!=this.mixinDatacomLoading&&(this.showchart=!0,i.cfu.instance[t]=new e.uCharts(i.cfu.option[t]),i.cfu.instance[t].addEventListener("renderComplete",(()=>{this.emitMsg({name:"complete",params:{type:"complete",complete:!0,id:t,opts:i.cfu.instance[t].opts}}),i.cfu.instance[t].delEventListener("renderComplete")})),i.cfu.instance[t].addEventListener("scrollLeft",(()=>{this.emitMsg({name:"scrollLeft",params:{type:"scrollLeft",scrollLeft:!0,id:t,opts:i.cfu.instance[t].opts}})})),i.cfu.instance[t].addEventListener("scrollRight",(()=>{this.emitMsg({name:"scrollRight",params:{type:"scrollRight",scrollRight:!0,id:t,opts:i.cfu.instance[t].opts}})})))},_updataUChart(t){i.cfu.instance[t].updateData(i.cfu.option[t])},_tooltipDefault(t,e,i,o){if(e){let i=t.data;return"object"==typeof t.data&&(i=t.data.value),e+" "+t.name+":"+i}return t.properties&&t.properties.name?t.properties.name:t.name+":"+t.data},_showTooltip(t){let e=this.cid,o=i.cfu.option[e].tooltipCustom;if(o&&null!=o){let a;o.x>=0&&o.y>=0&&(a={x:o.x,y:o.y+10}),i.cfu.instance[e].showToolTip(t,{index:o.index,offset:a,textList:o.textList,formatter:(t,o,a,s)=>"string"==typeof i.cfu.option[e].tooltipFormat&&i.cfu.formatter[i.cfu.option[e].tooltipFormat]?i.cfu.formatter[i.cfu.option[e].tooltipFormat](t,o,a,s):this._tooltipDefault(t,o,a,s)})}else i.cfu.instance[e].showToolTip(t,{formatter:(t,o,a,s)=>"string"==typeof i.cfu.option[e].tooltipFormat&&i.cfu.formatter[i.cfu.option[e].tooltipFormat]?i.cfu.formatter[i.cfu.option[e].tooltipFormat](t,o,a,s):this._tooltipDefault(t,o,a,s)})},_tap(e,o){let a=this.cid,s=null,n=null;!0===this.inScrollView||this.inAli?t.index.createSelectorQuery().in(this).select("#ChartBoxId"+a).boundingClientRect((t=>{e.changedTouches=[],this.inAli?e.changedTouches.unshift({x:e.detail.clientX-t.left,y:e.detail.clientY-t.top}):e.changedTouches.unshift({x:e.detail.x-t.left,y:e.detail.y-t.top-this.pageScrollTop}),o?!0===this.tooltipShow&&this._showTooltip(e):(s=i.cfu.instance[a].getCurrentDataIndex(e),n=i.cfu.instance[a].getLegendDataIndex(e),!0===this.tapLegend&&i.cfu.instance[a].touchLegend(e),!0===this.tooltipShow&&this._showTooltip(e),this.emitMsg({name:"getIndex",params:{type:"getIndex",event:{x:e.detail.x-t.left,y:e.detail.y-t.top},currentIndex:s,legendIndex:n,id:a,opts:i.cfu.instance[a].opts}}))})).exec():o?!0===this.tooltipShow&&this._showTooltip(e):(e.changedTouches=[],e.changedTouches.unshift({x:e.detail.x-e.currentTarget.offsetLeft,y:e.detail.y-e.currentTarget.offsetTop}),s=i.cfu.instance[a].getCurrentDataIndex(e),n=i.cfu.instance[a].getLegendDataIndex(e),!0===this.tapLegend&&i.cfu.instance[a].touchLegend(e),!0===this.tooltipShow&&this._showTooltip(e),this.emitMsg({name:"getIndex",params:{type:"getIndex",event:{x:e.detail.x,y:e.detail.y-e.currentTarget.offsetTop},currentIndex:s,legendIndex:n,id:a,opts:i.cfu.instance[a].opts}}))},_touchStart(t){let e=this.cid;s=Date.now(),!0===i.cfu.option[e].enableScroll&&1==t.touches.length&&i.cfu.instance[e].scrollStart(t),this.emitMsg({name:"getTouchStart",params:{type:"touchStart",event:t.changedTouches[0],id:e,opts:i.cfu.instance[e].opts}})},_touchMove(t){let e=this.cid,o=Date.now(),a=o-s,n=i.cfu.option[e].touchMoveLimit||24;a"../qiun-loading/qiun-loading.js")+(()=>"../qiun-error/qiun-error.js"))();const h=t._export_sfc(n,[["render",function(e,i,o,a,s,n){return t.e({a:e.mixinDatacomLoading},e.mixinDatacomLoading?{b:t.p({loadingType:o.loadingType})}:{},{c:e.mixinDatacomErrorMessage&&o.errorShow},e.mixinDatacomErrorMessage&&o.errorShow?{d:t.p({errorMessage:o.errorMessage}),e:t.o(((...t)=>n.reloading&&n.reloading(...t)))}:{},{f:s.type2d},s.type2d?t.e({g:o.ontouch},o.ontouch?{h:s.cid,i:s.cid,j:s.cWidth+"px",k:s.cHeight+"px",l:o.background,m:s.disScroll,n:t.o(((...t)=>n._touchStart&&n._touchStart(...t))),o:t.o(((...t)=>n._touchMove&&n._touchMove(...t))),p:t.o(((...t)=>n._touchEnd&&n._touchEnd(...t))),q:t.o(((...t)=>n._error&&n._error(...t))),r:s.showchart,s:t.o(((...t)=>n._tap&&n._tap(...t)))}:{},{t:!o.ontouch},o.ontouch?{}:{v:s.cid,w:s.cid,x:s.cWidth+"px",y:s.cHeight+"px",z:o.background,A:s.disScroll,B:t.o(((...t)=>n._error&&n._error(...t))),C:s.showchart,D:t.o(((...t)=>n._tap&&n._tap(...t)))}):{},{E:!s.type2d},s.type2d?{}:t.e({F:o.ontouch},o.ontouch?t.e({G:s.showchart},s.showchart?{H:s.cid,I:s.cid,J:s.cWidth+"px",K:s.cHeight+"px",L:o.background,M:t.o(((...t)=>n._touchStart&&n._touchStart(...t))),N:t.o(((...t)=>n._touchMove&&n._touchMove(...t))),O:t.o(((...t)=>n._touchEnd&&n._touchEnd(...t))),P:s.disScroll,Q:t.o(((...t)=>n._error&&n._error(...t)))}:{},{R:t.o(((...t)=>n._tap&&n._tap(...t)))}):{},{S:!o.ontouch},o.ontouch?{}:t.e({T:s.showchart},s.showchart?{U:s.cid,V:s.cid,W:s.cWidth+"px",X:s.cHeight+"px",Y:o.background,Z:s.disScroll,aa:t.o(((...t)=>n._tap&&n._tap(...t))),ab:t.o(((...t)=>n._error&&n._error(...t)))}:{})),{ac:"ChartBoxId"+s.cid})}],["__scopeId","data-v-0770badf"]]);wx.createComponent(h); +"use strict";const t=require("../../../../common/vendor.js"),e=require("../../js_sdk/u-charts/u-charts.js"),i=require("../../js_sdk/u-charts/config-ucharts.js");function o(t={},...e){for(let i in e)for(let a in e[i])e[i].hasOwnProperty(a)&&(t[a]=e[i][a]&&"object"==typeof e[i][a]?o(Array.isArray(e[i][a])?[]:{},t[a],e[i][a]):e[i][a]);return t}function a(t,e){for(let i in t)t.hasOwnProperty(i)&&null!==t[i]&&"object"==typeof t[i]?a(t[i],e):"format"===i&&"string"==typeof t[i]&&(t.formatter=e[t[i]]?e[t[i]]:void 0);return t}function s(t){var e=t.getFullYear(),i=t.getMonth()+1,o=t.getDate();return i>=1&&i<=9&&(i="0"+i),o>=0&&o<=9&&(o="0"+o),e+"-"+i+"-"+o}var n=null;const h={name:"qiun-data-charts",mixins:[t.Ds.mixinDatacom],props:{type:{type:String,default:null},canvasId:{type:String,default:"uchartsid"},canvas2d:{type:Boolean,default:!1},background:{type:String,default:"rgba(0,0,0,0)"},animation:{type:Boolean,default:!0},chartData:{type:Object,default:()=>({categories:[],series:[]})},opts:{type:Object,default:()=>({})},eopts:{type:Object,default:()=>({})},loadingType:{type:Number,default:2},errorShow:{type:Boolean,default:!0},errorReload:{type:Boolean,default:!0},errorMessage:{type:String,default:null},inScrollView:{type:Boolean,default:!1},reshow:{type:Boolean,default:!1},reload:{type:Boolean,default:!1},disableScroll:{type:Boolean,default:!1},optsWatch:{type:Boolean,default:!0},onzoom:{type:Boolean,default:!1},ontap:{type:Boolean,default:!0},ontouch:{type:Boolean,default:!1},onmouse:{type:Boolean,default:!0},onmovetip:{type:Boolean,default:!1},echartsH5:{type:Boolean,default:!1},echartsApp:{type:Boolean,default:!1},tooltipShow:{type:Boolean,default:!0},tooltipFormat:{type:String,default:void 0},tooltipCustom:{type:Object,default:void 0},startDate:{type:String,default:void 0},endDate:{type:String,default:void 0},textEnum:{type:Array,default:()=>[]},groupEnum:{type:Array,default:()=>[]},pageScrollTop:{type:Number,default:0},directory:{type:String,default:"/"},tapLegend:{type:Boolean,default:!0},menus:{type:Array,default:()=>[]}},data:()=>({cid:"uchartsid",inWx:!1,inAli:!1,inTt:!1,inBd:!1,inH5:!1,inApp:!1,inWin:!1,type2d:!0,disScroll:!1,openmouse:!1,pixel:1,cWidth:375,cHeight:250,showchart:!1,echarts:!1,echartsResize:{state:!1},uchartsOpts:{},echartsOpts:{},drawData:{},lastDrawTime:null}),created(){if(this.cid=this.canvasId,"uchartsid"==this.canvasId||""==this.canvasId){let t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",e=t.length,i="";for(let o=0;o<32;o++)i+=t.charAt(Math.floor(Math.random()*e));this.cid=i}const e=t.index.getSystemInfoSync();"windows"!==e.platform&&"mac"!==e.platform||(this.inWin=!0),this.inWx=!0,!1===this.canvas2d||"windows"===e.platform||"mac"===e.platform?this.type2d=!1:(this.type2d=!0,this.pixel=e.pixelRatio),this.disScroll=this.disableScroll},mounted(){this.$nextTick(()=>{this.beforeInit()});const e=this.inH5?500:200,i=this;t.index.onWindowResize(function(t,e){let i=!1;return function(){clearTimeout(i),i&&clearTimeout(i),i=setTimeout(()=>{i=!1,t.apply(this,arguments)},e)}}(function(t){if(1==i.mixinDatacomLoading)return;let e=i.mixinDatacomErrorMessage;null!==e&&"null"!==e&&""!==e||(i.echarts?i.echartsResize.state=!i.echartsResize.state:i.resizeHandler())},e))},destroyed(){!0===this.echarts?(delete cfe.option[this.cid],delete cfe.instance[this.cid]):(delete i.cfu.option[this.cid],delete i.cfu.instance[this.cid]),t.index.offWindowResize(()=>{})},watch:{chartDataProps:{handler(t,e){"object"==typeof t?JSON.stringify(t)!==JSON.stringify(e)&&(this._clearChart(),t.series&&t.series.length>0?this.beforeInit():(this.mixinDatacomLoading=!0,this.showchart=!1,this.mixinDatacomErrorMessage=null)):(this.mixinDatacomLoading=!1,this._clearChart(),this.showchart=!1,this.mixinDatacomErrorMessage="参数错误:chartData数据类型错误")},immediate:!1,deep:!0},localdata:{handler(t,e){JSON.stringify(t)!==JSON.stringify(e)&&(t.length>0?this.beforeInit():(this.mixinDatacomLoading=!0,this._clearChart(),this.showchart=!1,this.mixinDatacomErrorMessage=null))},immediate:!1,deep:!0},optsProps:{handler(t,e){"object"==typeof t?JSON.stringify(t)!==JSON.stringify(e)&&!1===this.echarts&&1==this.optsWatch&&this.checkData(this.drawData):(this.mixinDatacomLoading=!1,this._clearChart(),this.showchart=!1,this.mixinDatacomErrorMessage="参数错误:opts数据类型错误")},immediate:!1,deep:!0},eoptsProps:{handler(t,e){"object"==typeof t?JSON.stringify(t)!==JSON.stringify(e)&&!0===this.echarts&&this.checkData(this.drawData):(this.mixinDatacomLoading=!1,this.showchart=!1,this.mixinDatacomErrorMessage="参数错误:eopts数据类型错误")},immediate:!1,deep:!0},reshow(t,e){!0===t&&!1===this.mixinDatacomLoading&&setTimeout(()=>{this.mixinDatacomErrorMessage=null,this.echartsResize.state=!this.echartsResize.state,this.checkData(this.drawData)},200)},reload(t,e){!0===t&&(this.showchart=!1,this.mixinDatacomErrorMessage=null,this.reloading())},mixinDatacomErrorMessage(t,e){t&&(this.emitMsg({name:"error",params:{type:"error",errorShow:this.errorShow,msg:t,id:this.cid}}),this.errorShow&&console.log("[秋云图表组件]"+t))},errorMessage(t,e){t&&this.errorShow&&null!==t&&"null"!==t&&""!==t?(this.showchart=!1,this.mixinDatacomLoading=!1,this.mixinDatacomErrorMessage=t):(this.showchart=!1,this.mixinDatacomErrorMessage=null,this.reloading())}},computed:{optsProps(){return JSON.parse(JSON.stringify(this.opts))},eoptsProps(){return JSON.parse(JSON.stringify(this.eopts))},chartDataProps(){return JSON.parse(JSON.stringify(this.chartData))}},methods:{beforeInit(){this.mixinDatacomErrorMessage=null,"object"==typeof this.chartData&&null!=this.chartData&&void 0!==this.chartData.series&&this.chartData.series.length>0?(this.drawData=o({},this.chartData),this.mixinDatacomLoading=!1,this.showchart=!0,this.checkData(this.chartData)):this.localdata.length>0?(this.mixinDatacomLoading=!1,this.showchart=!0,this.localdataInit(this.localdata)):""!==this.collection?(this.mixinDatacomLoading=!1,this.getCloudData()):this.mixinDatacomLoading=!0},localdataInit(t){if(this.groupEnum.length>0)for(let i=0;i0)for(let i=0;i0)n=this.chartData.categories;else if(this.startDate&&this.endDate){let t=new Date(this.startDate),e=new Date(this.endDate);for(;t<=e;)n.push(s(t)),t=t.setDate(t.getDate()+1),t=new Date(t)}else{let e={};t.map(function(t,i){null==t.text||e[t.text]||(n.push(t.text),e[t.text]=!0)})}a.categories=n}let r={};if(t.map(function(t,e){null==t.group||r[t.group]||(h.push({name:t.group,data:[]}),r[t.group]=!0)}),0==h.length)if(h=[{name:"默认分组",data:[]}],!0===e)for(let i=0;i0)for(let e=0;e0&&(this.mixinDatacomErrorMessage=null,!0===this.echarts?(cfe.option[e].chartData=a,this.$nextTick(()=>{this.init()})):(i.cfu.option[e].categories=a.categories,i.cfu.option[e].series=a.series,this.$nextTick(()=>{this.init()})))},resizeHandler(){let e=Date.now();e-(this.lastDrawTime?this.lastDrawTime:e-3e3)<1e3||t.index.createSelectorQuery().in(this).select("#ChartBoxId"+this.cid).boundingClientRect(t=>{this.showchart=!0,t.width>0&&t.height>0&&(t.width===this.cWidth&&t.height===this.cHeight||this.checkData(this.drawData))}).exec()},getCloudData(){1!=this.mixinDatacomLoading&&(this.mixinDatacomLoading=!0,this.mixinDatacomGet().then(t=>{this.mixinDatacomResData=t.result.data,this.localdataInit(this.mixinDatacomResData)}).catch(t=>{this.mixinDatacomLoading=!1,this.showchart=!1,this.mixinDatacomErrorMessage="请求错误:"+t}))},onMixinDatacomPropsChange(t,e){1==t&&""!==this.collection&&(this.showchart=!1,this.mixinDatacomErrorMessage=null,this._clearChart(),this.getCloudData())},_clearChart(){let t=this.cid;if(!0!==this.echarts&&i.cfu.option[t]&&i.cfu.option[t].context){const e=i.cfu.option[t].context;"object"!=typeof e||i.cfu.option[t].update||(e.clearRect(0,0,this.cWidth*this.pixel,this.cHeight*this.pixel),e.draw())}},init(){let e=this.cid;t.index.createSelectorQuery().in(this).select("#ChartBoxId"+e).boundingClientRect(s=>{s.width>0&&s.height>0?(this.mixinDatacomLoading=!1,this.showchart=!0,this.lastDrawTime=Date.now(),this.cWidth=s.width,this.cHeight=s.height,!0!==this.echarts&&(i.cfu.option[e].background="rgba(0,0,0,0)"==this.background?"#FFFFFF":this.background,i.cfu.option[e].canvas2d=this.type2d,i.cfu.option[e].pixelRatio=this.pixel,i.cfu.option[e].animation=this.animation,i.cfu.option[e].width=s.width*this.pixel,i.cfu.option[e].height=s.height*this.pixel,i.cfu.option[e].onzoom=this.onzoom,i.cfu.option[e].ontap=this.ontap,i.cfu.option[e].ontouch=this.ontouch,i.cfu.option[e].onmouse=this.openmouse,i.cfu.option[e].onmovetip=this.onmovetip,i.cfu.option[e].tooltipShow=this.tooltipShow,i.cfu.option[e].tooltipFormat=this.tooltipFormat,i.cfu.option[e].tooltipCustom=this.tooltipCustom,i.cfu.option[e].inScrollView=this.inScrollView,i.cfu.option[e].lastDrawTime=this.lastDrawTime,i.cfu.option[e].tapLegend=this.tapLegend),this.inH5||this.inApp?1==this.echarts?(cfe.option[e].ontap=this.ontap,cfe.option[e].onmouse=this.openmouse,cfe.option[e].tooltipShow=this.tooltipShow,cfe.option[e].tooltipFormat=this.tooltipFormat,cfe.option[e].tooltipCustom=this.tooltipCustom,cfe.option[e].lastDrawTime=this.lastDrawTime,this.echartsOpts=o({},cfe.option[e])):(i.cfu.option[e].rotateLock=i.cfu.option[e].rotate,this.uchartsOpts=o({},i.cfu.option[e])):(i.cfu.option[e]=a(i.cfu.option[e],i.cfu.formatter),this.mixinDatacomErrorMessage=null,this.mixinDatacomLoading=!1,this.showchart=!0,this.$nextTick(()=>{if(!0===this.type2d){t.index.createSelectorQuery().in(this).select("#"+e).fields({node:!0,size:!0}).exec(t=>{if(t[0]){const o=t[0].node,a=o.getContext("2d");i.cfu.option[e].context=a,i.cfu.option[e].rotateLock=i.cfu.option[e].rotate,i.cfu.instance[e]&&i.cfu.option[e]&&!0===i.cfu.option[e].update?this._updataUChart(e):(o.width=s.width*this.pixel,o.height=s.height*this.pixel,o._width=s.width*this.pixel,o._height=s.height*this.pixel,setTimeout(()=>{i.cfu.option[e].context.restore(),i.cfu.option[e].context.save(),this._newChart(e)},100))}else this.showchart=!1,this.mixinDatacomErrorMessage="参数错误:开启2d模式后,未获取到dom节点,canvas-id:"+e})}else this.inAli&&(i.cfu.option[e].rotateLock=i.cfu.option[e].rotate),i.cfu.option[e].context=t.index.createCanvasContext(e,this),i.cfu.instance[e]&&i.cfu.option[e]&&!0===i.cfu.option[e].update?this._updataUChart(e):setTimeout(()=>{i.cfu.option[e].context.restore(),i.cfu.option[e].context.save(),this._newChart(e)},100)}))):(this.mixinDatacomLoading=!1,this.showchart=!1,1==this.reshow&&(this.mixinDatacomErrorMessage="布局错误:未获取到父元素宽高尺寸!canvas-id:"+e))}).exec()},saveImage(){t.index.canvasToTempFilePath({canvasId:this.cid,success:e=>{t.index.saveImageToPhotosAlbum({filePath:e.tempFilePath,success:function(){t.index.showToast({title:"保存成功",duration:2e3})}})}},this)},getImage(){if(0==this.type2d)t.index.canvasToTempFilePath({canvasId:this.cid,success:t=>{this.emitMsg({name:"getImage",params:{type:"getImage",base64:t.tempFilePath}})}},this);else{t.index.createSelectorQuery().in(this).select("#"+this.cid).fields({node:!0,size:!0}).exec(t=>{if(t[0]){const e=t[0].node;this.emitMsg({name:"getImage",params:{type:"getImage",base64:e.toDataURL("image/png")}})}})}},_newChart(t){1!=this.mixinDatacomLoading&&(this.showchart=!0,i.cfu.instance[t]=new e.uCharts(i.cfu.option[t]),i.cfu.instance[t].addEventListener("renderComplete",()=>{this.emitMsg({name:"complete",params:{type:"complete",complete:!0,id:t,opts:i.cfu.instance[t].opts}}),i.cfu.instance[t].delEventListener("renderComplete")}),i.cfu.instance[t].addEventListener("scrollLeft",()=>{this.emitMsg({name:"scrollLeft",params:{type:"scrollLeft",scrollLeft:!0,id:t,opts:i.cfu.instance[t].opts}})}),i.cfu.instance[t].addEventListener("scrollRight",()=>{this.emitMsg({name:"scrollRight",params:{type:"scrollRight",scrollRight:!0,id:t,opts:i.cfu.instance[t].opts}})}))},_updataUChart(t){i.cfu.instance[t].updateData(i.cfu.option[t])},_tooltipDefault(t,e,i,o){if(e){let i=t.data;return"object"==typeof t.data&&(i=t.data.value),e+" "+t.name+":"+i}return t.properties&&t.properties.name?t.properties.name:t.name+":"+t.data},_showTooltip(t){let e=this.cid,o=i.cfu.option[e].tooltipCustom;if(o&&null!=o){let a;o.x>=0&&o.y>=0&&(a={x:o.x,y:o.y+10}),i.cfu.instance[e].showToolTip(t,{index:o.index,offset:a,textList:o.textList,formatter:(t,o,a,s)=>"string"==typeof i.cfu.option[e].tooltipFormat&&i.cfu.formatter[i.cfu.option[e].tooltipFormat]?i.cfu.formatter[i.cfu.option[e].tooltipFormat](t,o,a,s):this._tooltipDefault(t,o,a,s)})}else i.cfu.instance[e].showToolTip(t,{formatter:(t,o,a,s)=>"string"==typeof i.cfu.option[e].tooltipFormat&&i.cfu.formatter[i.cfu.option[e].tooltipFormat]?i.cfu.formatter[i.cfu.option[e].tooltipFormat](t,o,a,s):this._tooltipDefault(t,o,a,s)})},_tap(e,o){let a=this.cid,s=null,n=null;!0===this.inScrollView||this.inAli?t.index.createSelectorQuery().in(this).select("#ChartBoxId"+a).boundingClientRect(t=>{e.changedTouches=[],this.inAli?e.changedTouches.unshift({x:e.detail.clientX-t.left,y:e.detail.clientY-t.top}):e.changedTouches.unshift({x:e.detail.x-t.left,y:e.detail.y-t.top-this.pageScrollTop}),o?!0===this.tooltipShow&&this._showTooltip(e):(s=i.cfu.instance[a].getCurrentDataIndex(e),n=i.cfu.instance[a].getLegendDataIndex(e),!0===this.tapLegend&&i.cfu.instance[a].touchLegend(e),!0===this.tooltipShow&&this._showTooltip(e),this.emitMsg({name:"getIndex",params:{type:"getIndex",event:{x:e.detail.x-t.left,y:e.detail.y-t.top},currentIndex:s,legendIndex:n,id:a,opts:i.cfu.instance[a].opts}}))}).exec():o?!0===this.tooltipShow&&this._showTooltip(e):(e.changedTouches=[],e.changedTouches.unshift({x:e.detail.x-e.currentTarget.offsetLeft,y:e.detail.y-e.currentTarget.offsetTop}),s=i.cfu.instance[a].getCurrentDataIndex(e),n=i.cfu.instance[a].getLegendDataIndex(e),!0===this.tapLegend&&i.cfu.instance[a].touchLegend(e),!0===this.tooltipShow&&this._showTooltip(e),this.emitMsg({name:"getIndex",params:{type:"getIndex",event:{x:e.detail.x,y:e.detail.y-e.currentTarget.offsetTop},currentIndex:s,legendIndex:n,id:a,opts:i.cfu.instance[a].opts}}))},_touchStart(t){let e=this.cid;n=Date.now(),!0===i.cfu.option[e].enableScroll&&1==t.touches.length&&i.cfu.instance[e].scrollStart(t),this.emitMsg({name:"getTouchStart",params:{type:"touchStart",event:t.changedTouches[0],id:e,opts:i.cfu.instance[e].opts}})},_touchMove(t){let e=this.cid,o=Date.now(),a=o-n,s=i.cfu.option[e].touchMoveLimit||24;a"../qiun-loading/qiun-loading.js")+(()=>"../qiun-error/qiun-error.js"))();const r=t._export_sfc(h,[["render",function(e,i,o,a,s,n){return t.e({a:e.mixinDatacomLoading},e.mixinDatacomLoading?{b:t.p({loadingType:o.loadingType})}:{},{c:e.mixinDatacomErrorMessage&&o.errorShow},e.mixinDatacomErrorMessage&&o.errorShow?{d:t.p({errorMessage:o.errorMessage}),e:t.o((...t)=>n.reloading&&n.reloading(...t))}:{},{f:s.type2d},s.type2d?t.e({g:o.ontouch},o.ontouch?{h:s.cid,i:s.cid,j:s.cWidth+"px",k:s.cHeight+"px",l:o.background,m:s.disScroll,n:t.o((...t)=>n._touchStart&&n._touchStart(...t)),o:t.o((...t)=>n._touchMove&&n._touchMove(...t)),p:t.o((...t)=>n._touchEnd&&n._touchEnd(...t)),q:t.o((...t)=>n._error&&n._error(...t)),r:s.showchart,s:t.o((...t)=>n._tap&&n._tap(...t))}:{},{t:!o.ontouch},o.ontouch?{}:{v:s.cid,w:s.cid,x:s.cWidth+"px",y:s.cHeight+"px",z:o.background,A:s.disScroll,B:t.o((...t)=>n._error&&n._error(...t)),C:s.showchart,D:t.o((...t)=>n._tap&&n._tap(...t))}):{},{E:!s.type2d},s.type2d?{}:t.e({F:o.ontouch},o.ontouch?t.e({G:s.showchart},s.showchart?{H:s.cid,I:s.cid,J:s.cWidth+"px",K:s.cHeight+"px",L:o.background,M:t.o((...t)=>n._touchStart&&n._touchStart(...t)),N:t.o((...t)=>n._touchMove&&n._touchMove(...t)),O:t.o((...t)=>n._touchEnd&&n._touchEnd(...t)),P:s.disScroll,Q:t.o((...t)=>n._error&&n._error(...t))}:{},{R:t.o((...t)=>n._tap&&n._tap(...t))}):{},{S:!o.ontouch},o.ontouch?{}:t.e({T:s.showchart},s.showchart?{U:s.cid,V:s.cid,W:s.cWidth+"px",X:s.cHeight+"px",Y:o.background,Z:s.disScroll,aa:t.o((...t)=>n._tap&&n._tap(...t)),ab:t.o((...t)=>n._error&&n._error(...t))}:{})),{ac:"ChartBoxId"+s.cid})}],["__scopeId","data-v-0770badf"]]);wx.createComponent(r); diff --git a/dist/build/mp-weixin/uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js b/dist/build/mp-weixin/uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js index 75dc0df..380fa70 100644 --- a/dist/build/mp-weixin/uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js +++ b/dist/build/mp-weixin/uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js @@ -1 +1 @@ -"use strict";var t={version:"v2.5.0-20230101",yAxisWidth:15,xAxisHeight:22,padding:[10,10,10,10],rotate:!1,fontSize:13,fontColor:"#666666",dataPointShape:["circle","circle","circle","circle"],color:["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],linearColor:["#0EE2F8","#2BDCA8","#FA7D8D","#EB88E2","#2AE3A0","#0EE2F8","#EB88E2","#6773E3","#F78A85"],pieChartLinePadding:15,pieChartTextPadding:5,titleFontSize:20,subtitleFontSize:15,radarLabelTextMargin:13},e=function(t,...e){if(null==t)throw new TypeError("[uCharts] Cannot convert undefined or null to object");if(!e||e.length<=0)return t;function i(t,e){for(let a in e)t[a]=t[a]&&"[object Object]"===t[a].toString()?i(t[a],e[a]):t[a]=e[a];return t}return e.forEach((e=>{t=i(t,e)})),t},i={toFixed:function(t,e){return e=e||2,this.isFloat(t)&&(t=t.toFixed(e)),t},isFloat:function(t){return t%1!=0},approximatelyEqual:function(t,e){return Math.abs(t-e)<1e-10},isSameSign:function(t,e){return Math.abs(t)===t&&Math.abs(e)===e||Math.abs(t)!==t&&Math.abs(e)!==e},isSameXCoordinateArea:function(t,e){return this.isSameSign(t.x,e.x)},isCollision:function(t,e){return t.end={},t.end.x=t.start.x+t.width,t.end.y=t.start.y-t.height,e.end={},e.end.x=e.start.x+e.width,e.end.y=e.start.y-e.height,!(e.start.x>t.end.x||e.end.xt.start.y||e.start.y1&&(o.extra.mount.widthRatio>2&&(o.extra.mount.widthRatio=2),n+=(o.extra.mount.widthRatio-1)*i.eachSpacing);var l=e;return e>=0?(l=0,t.uevent.trigger("scrollLeft"),t.scrollOption.position="left",o.xAxis.scrollPosition="left"):Math.abs(e)>=n-r?(l=r-n,t.uevent.trigger("scrollRight"),t.scrollOption.position="right",o.xAxis.scrollPosition="right"):(t.scrollOption.position=e,o.xAxis.scrollPosition=e),l}function n(t,e,i){function a(t){for(;t<0;)t+=2*Math.PI;for(;t>2*Math.PI;)t-=2*Math.PI;return t}return t=a(t),(e=a(e))>(i=a(i))&&(i+=2*Math.PI,t=e&&t<=i}function l(t,e){function i(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].y>=Math.max(t[e-1].y,t[e+1].y)||t[e].y<=Math.min(t[e-1].y,t[e+1].y))}function a(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].x>=Math.max(t[e-1].x,t[e+1].x)||t[e].x<=Math.min(t[e-1].x,t[e+1].x))}var o=.2,r=.2,n=null,l=null,s=null,h=null;if(e<1?(n=t[0].x+(t[1].x-t[0].x)*o,l=t[0].y+(t[1].y-t[0].y)*o):(n=t[e].x+(t[e+1].x-t[e-1].x)*o,l=t[e].y+(t[e+1].y-t[e-1].y)*o),e>t.length-3){var c=t.length-1;s=t[c].x-(t[c].x-t[c-1].x)*r,h=t[c].y-(t[c].y-t[c-1].y)*r}else s=t[e+1].x-(t[e+2].x-t[e].x)*r,h=t[e+1].y-(t[e+2].y-t[e].y)*r;return i(t,e+1)&&(h=t[e+1].y),i(t,e)&&(l=t[e].y),a(t,e+1)&&(s=t[e+1].x),a(t,e)&&(n=t[e].x),(l>=Math.max(t[e].y,t[e+1].y)||l<=Math.min(t[e].y,t[e+1].y))&&(l=t[e].y),(h>=Math.max(t[e].y,t[e+1].y)||h<=Math.min(t[e].y,t[e+1].y))&&(h=t[e+1].y),(n>=Math.max(t[e].x,t[e+1].x)||n<=Math.min(t[e].x,t[e+1].x))&&(n=t[e].x),(s>=Math.max(t[e].x,t[e+1].x)||s<=Math.min(t[e].x,t[e+1].x))&&(s=t[e+1].x),{ctrA:{x:n,y:l},ctrB:{x:s,y:h}}}function s(t,e,i){return{x:i.x+t,y:i.y-e}}function h(t,e){if(e)for(;i.isCollision(t,e);)t.start.x>0?t.start.y--:t.start.x<0||t.start.y>0?t.start.y++:t.start.y--;return t}function c(t,e,i){for(var a=0,o=0;o-1;if(r){let e=m(t);for(var n=0;n5&&void 0!==arguments[5]?arguments[5]:{},n=e.chartData.calPoints?e.chartData.calPoints:[];let l={};if(a.length>0){let t=[];for(let e=0;e0&&(a=o[i]),{text:r.formatter?r.formatter(t,a,i,e):t.name+": "+t.data,color:t.color,legendShape:"auto"==e.extra.tooltip.legendShape?t.legendShape:e.extra.tooltip.legendShape}})),offset:{x:Math.round(l.x),y:Math.round(l.y)}}}function m(t){let e=[];for(let i=0;i=e.area[3]-10&&t.y>=e.area[0]&&t.y<=e.height-e.area[2]}function v(t,e,i){return Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)<=Math.pow(i,2)}function b(t,e){var i=[],a=[];return t.forEach((function(t,o){e.connectNulls?null!==t&&a.push(t):null!==t?a.push(t):(a.length&&i.push(a),a=[])})),a.length&&i.push(a),i}function A(t,e,i,a,o){var r={angle:0,xAxisHeight:e.xAxis.lineHeight*e.pix+e.xAxis.marginTop*e.pix},n=e.xAxis.fontSize*e.pix,l=t.map((function(t,i){var a=e.xAxis.formatter?e.xAxis.formatter(t,i,e):t;return d(String(a),n,o)})),s=Math.max.apply(this,l);if(1==e.xAxis.rotateLabel){r.angle=e.xAxis.rotateAngle*Math.PI/180;let t=e.xAxis.marginTop*e.pix*2+Math.abs(s*Math.sin(r.angle));t=t4&&void 0!==arguments[4]?arguments[4]:-1;o="stack"==a?f(t,e.categories.length):p(t);var n=[];(o=o.filter((function(t){return"object"==typeof t&&null!==t?t.constructor.toString().indexOf("Array")>-1?null!==t:null!==t.value:null!==t}))).map((function(t){"object"==typeof t?t.constructor.toString().indexOf("Array")>-1?"candle"==e.type?t.map((function(t){n.push(t)})):n.push(t[0]):n.push(t.value):n.push(t)}));var l=0,s=0;n.length>0&&(l=Math.min.apply(this,n),s=Math.max.apply(this,n)),r>-1?("number"==typeof e.xAxis.data[r].min&&(l=Math.min(e.xAxis.data[r].min,l)),"number"==typeof e.xAxis.data[r].max&&(s=Math.max(e.xAxis.data[r].max,s))):("number"==typeof e.xAxis.min&&(l=Math.min(e.xAxis.min,l)),"number"==typeof e.xAxis.max&&(s=Math.max(e.xAxis.max,s))),l===s&&(s+=s||10);for(var h=l,c=[],x=(s-h)/e.xAxis.splitNumber,d=0;d<=e.xAxis.splitNumber;d++)c.push(h+x*d);return c}(t,a,o,n.type),l.rangesFormat=l.ranges.map((function(t){return t=i.toFixed(t,2)}));var s=l.ranges.map((function(t){return t=i.toFixed(t,2)}));return(l=Object.assign(l,_(s,a))).eachSpacing,s.map((function(t){return d(t,a.xAxis.fontSize*a.pix,r)})),!0===a.xAxis.disabled&&(l.xAxisHeight=0),l}function P(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=0,o=0;for(let r=0;r4&&void 0!==arguments[4]?arguments[4]:1,r=0,n=0,l=[];for(let x=0;x0&&(t.width=Math.min(t.width,+r.extra.mix.column.width*r.pix)),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),t.width<=0&&(t.width=1),t.x+=(a+.5-i/2)*(t.width+o),t}))}function M(t,e,i,a,o,r){return t.map((function(t){if(null===t)return null;var o=0,n=0;return o=r.extra.bar.seriesGap*r.pix||0,n=r.extra.bar.categoryGap*r.pix||0,o=Math.min(o,e/i),n=Math.min(n,e/i),t.width=Math.ceil((e-2*n-o*(i-1))/i),r.extra.bar&&r.extra.bar.width&&+r.extra.bar.width>0&&(t.width=Math.min(t.width,+r.extra.bar.width*r.pix)),t.width<=0&&(t.width=1),t.y+=(a+.5-i/2)*(t.width+o),t}))}function _(t,e,i){var a=e.width-e.area[1]-e.area[3],o=e.enableScroll?Math.min(e.xAxis.itemCount,t.length):t.length;("line"==e.type||"area"==e.type||"scatter"==e.type||"bubble"==e.type||"bar"==e.type)&&o>1&&"justify"==e.xAxis.boundaryGap&&(o-=1);var r=0;"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),o+=r=e.extra.mount.widthRatio-1);var n=a/o,l=[],s=e.area[3],h=e.width-e.area[1];return t.forEach((function(t,e){l.push(s+r/2*n+e*n)})),"justify"!==e.xAxis.boundaryGap&&(!0===e.enableScroll?l.push(s+r*n+t.length*n):l.push(h)),{xAxisPoints:l,startX:s,endX:h,eachSpacing:n}}function F(t,e,i,a,o,r,n){var l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,s="center";"line"!=r.type&&"area"!=r.type&&"scatter"!=r.type&&"bubble"!=r.type||(s=r.xAxis.boundaryGap);var h=[],c=r.height-r.area[0]-r.area[2],x=r.width-r.area[1]-r.area[3];return t.forEach((function(t,n){if(null===t)h.push(null);else{var d={};d.color=t.color,d.x=a[n];var p=t;if("object"==typeof t&&null!==t)if(t.constructor.toString().indexOf("Array")>-1){let e,i,a;e=[].concat(r.chartData.xAxisData.ranges),i=e.shift(),a=e.pop(),p=t[1],d.x=r.area[3]+x*(t[0]-i)/(a-i),"bubble"==r.type&&(d.r=t[2],d.t=t[3])}else p=t.value;"center"==s&&(d.x+=o/2);var f=c*(p-e)/(i-e);f*=l,d.y=r.height-f-r.area[2],h.push(d)}})),h}function D(t,e,i,a,o,r,n,l,s){s=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1;var h=[],c=r.height-r.area[0]-r.area[2],x=r.width-r.area[1]-r.area[3];return t.forEach((function(t,n){if(null===t)h.push(null);else{var l={};l.color=t.color,l.x=a[n];var d=t;if("object"==typeof t&&null!==t)if(t.constructor.toString().indexOf("Array")>-1){let e,i,a;e=[].concat(r.chartData.xAxisData.ranges),i=e.shift(),a=e.pop(),d=t[1],l.x=r.area[3]+x*(t[0]-i)/(a-i)}else d=t.value;l.x+=o/2;var p=c*(d*s-e)/(i-e);l.y=r.height-p-r.area[2],h.push(l)}})),h}function L(t,e,i,a,o,r,n,l){var s=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1,h=[],c=r.height-r.area[0]-r.area[2];r.width,r.area[1],r.area[3];var x=o*n.widthRatio;return t.forEach((function(t,n){if(null===t)h.push(null);else{var l={};l.color=t.color,l.x=a[n],l.x+=o/2;var d=t.data,p=c*(d*s-e)/(i-e);l.y=r.height-p-r.area[2],l.value=d,l.width=x,h.push(l)}})),h}function k(t,e,i,a,o,r,n){var l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,s=[];r.height,r.area[0],r.area[2];var h=r.width-r.area[1]-r.area[3];return t.forEach((function(t,o){if(null===t)s.push(null);else{var n={};n.color=t.color,n.y=a[o];var c=t;"object"==typeof t&&null!==t&&(c=t.value);var x=h*(c-e)/(i-e);x*=l,n.height=x,n.value=c,n.x=x+r.area[3],s.push(n)}})),s}function I(t,e,i,a,o,r,n,l,s){var h=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,c=[],x=r.height-r.area[0]-r.area[2];return t.forEach((function(t,n){if(null===t)c.push(null);else{var d={};if(d.color=t.color,d.x=a[n]+Math.round(o/2),l>0){var p=0;for(let t=0;t<=l;t++)p+=s[t].data[n];var f=x*(p-e)/(i-e),g=x*(p-t-e)/(i-e)}else{p=t;"object"==typeof t&&null!==t&&(p=t.value);f=x*(p-e)/(i-e),g=0}var u=g;f*=h,u*=h,d.y=r.height-Math.round(f)-r.area[2],d.y0=r.height-Math.round(u)-r.area[2],c.push(d)}})),c}function z(t,e,i,a,o,r,n,l,s){var h=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,c=[],x=r.width-r.area[1]-r.area[3];return t.forEach((function(t,o){if(null===t)c.push(null);else{var n={};if(n.color=t.color,n.y=a[o],l>0){var d=0;for(let t=0;t<=l;t++)d+=s[t].data[o];var p=x*(d-e)/(i-e),f=x*(d-t-e)/(i-e)}else{d=t;"object"==typeof t&&null!==t&&(d=t.value);p=x*(d-e)/(i-e),f=0}var g=f;p*=h,g*=h,n.height=p-g,n.x=r.area[3]+p,n.x0=r.area[3]+g,c.push(n)}})),c}function O(t,e,i,a,r){var n;n="stack"==a?f(t,e.categories.length):p(t);var l=[];(n=n.filter((function(t){return"object"==typeof t&&null!==t?t.constructor.toString().indexOf("Array")>-1?null!==t:null!==t.value:null!==t}))).map((function(t){"object"==typeof t?t.constructor.toString().indexOf("Array")>-1?"candle"==e.type?t.map((function(t){l.push(t)})):l.push(t[1]):l.push(t.value):l.push(t)}));var s=r.min||0,h=r.max||0;l.length>0&&(s=Math.min.apply(this,l),h=Math.max.apply(this,l)),s===h&&(0==h?h=10:s=0);for(var c=function(t,e){var i=0,a=e-t;return{minRange:o(t,"lower",i=a>=1e4?1e3:a>=1e3?100:a>=100?10:a>=10?5:a>=1?1:a>=.1?.1:a>=.01?.01:a>=.001?.001:a>=1e-4?1e-4:a>=1e-5?1e-5:1e-6),maxRange:o(e,"upper",i)}}(s,h),x=void 0===r.min||null===r.min?c.minRange:r.min,d=((void 0===r.max||null===r.max?c.maxRange:r.max)-x)/e.yAxis.splitNumber,g=[],u=0;u<=e.yAxis.splitNumber;u++)g.push(x+d*u);return g.reverse()}function W(t,a,o,r){var n=e({},{type:""},a.extra.column),l=a.yAxis.data.length,s=new Array(l);if(l>0){for(let e=0;et+(e.unit||"")),e.categories=e.categories||a.categories,h[t]=e.categories):(e.formatter||(e.formatter=(t,a,o)=>i.toFixed(t,e.tofix||0)+(e.unit||"")),h[t]=O(s[t],a,0,n.type,e));let l=e.fontSize*a.pix||o.fontSize;x[t]={position:e.position?e.position:"left",width:0},c[t]=h[t].map((function(i,o){return i=e.formatter(i,o,a),x[t].width=Math.max(x[t].width,d(i,l,r)+5),i}));let p=e.calibration?4*a.pix:0;x[t].width+=p+3*a.pix,!0===e.disabled&&(x[t].width=0)}}else{h=new Array(1),c=new Array(1),x=new Array(1);"bar"===a.type?(h[0]=a.categories,a.yAxis.formatter||(a.yAxis.formatter=(t,e,i)=>t+(i.yAxis.unit||""))):(a.yAxis.formatter||(a.yAxis.formatter=(t,e,i)=>t.toFixed(i.yAxis.tofix)+(i.yAxis.unit||"")),h[0]=O(t,a,0,n.type,{})),x[0]={position:"left",width:0};var p=a.yAxis.fontSize*a.pix||o.fontSize;c[0]=h[0].map((function(t,e){return t=a.yAxis.formatter(t,e,a),x[0].width=Math.max(x[0].width,d(t,p,r)+5),t})),x[0].width+=3*a.pix,!0===a.yAxis.disabled?(x[0]={position:"left",width:0},a.yAxis.data[0]={disabled:!0}):(a.yAxis.data[0]={disabled:!1,position:"left",max:a.yAxis.max,min:a.yAxis.min,formatter:a.yAxis.formatter},"bar"===a.type&&(a.yAxis.data[0].categories=a.categories,a.yAxis.data[0].type="categories"))}return{rangesFormat:c,ranges:h,yAxisWidth:x}}function R(t,e){!0!==e.rotateLock?(t.translate(e.height,0),t.rotate(90*Math.PI/180)):!0!==e._rotate_&&(t.translate(e.height,0),t.rotate(90*Math.PI/180),e._rotate_=!0)}function E(t,e,i,a,o){if(a.beginPath(),"hollow"==o.dataPointShapeType?(a.setStrokeStyle(e),a.setFillStyle(o.background),a.setLineWidth(2*o.pix)):(a.setStrokeStyle("#ffffff"),a.setFillStyle(e),a.setLineWidth(1*o.pix)),"diamond"===i)t.forEach((function(t,e){null!==t&&(a.moveTo(t.x,t.y-4.5),a.lineTo(t.x-4.5,t.y),a.lineTo(t.x,t.y+4.5),a.lineTo(t.x+4.5,t.y),a.lineTo(t.x,t.y-4.5))}));else if("circle"===i)t.forEach((function(t,e){null!==t&&(a.moveTo(t.x+2.5*o.pix,t.y),a.arc(t.x,t.y,3*o.pix,0,2*Math.PI,!1))}));else if("square"===i)t.forEach((function(t,e){null!==t&&(a.moveTo(t.x-3.5,t.y-3.5),a.rect(t.x-3.5,t.y-3.5,7,7))}));else if("triangle"===i)t.forEach((function(t,e){null!==t&&(a.moveTo(t.x,t.y-4.5),a.lineTo(t.x-4.5,t.y+4.5),a.lineTo(t.x+4.5,t.y+4.5),a.lineTo(t.x,t.y-4.5))}));else if("none"===i)return;a.closePath(),a.fill(),a.stroke()}function B(t,e,i,a,o,r,n){if(o.tooltip&&!(o.tooltip.group.length>0&&0==o.tooltip.group.includes(n))){var l="number"==typeof o.tooltip.index?o.tooltip.index:o.tooltip.index[o.tooltip.group.indexOf(n)];if(a.beginPath(),"hollow"==r.activeType?(a.setStrokeStyle(e),a.setFillStyle(o.background),a.setLineWidth(2*o.pix)):(a.setStrokeStyle("#ffffff"),a.setFillStyle(e),a.setLineWidth(1*o.pix)),"diamond"===i)t.forEach((function(t,e){null!==t&&l==e&&(a.moveTo(t.x,t.y-4.5),a.lineTo(t.x-4.5,t.y),a.lineTo(t.x,t.y+4.5),a.lineTo(t.x+4.5,t.y),a.lineTo(t.x,t.y-4.5))}));else if("circle"===i)t.forEach((function(t,e){null!==t&&l==e&&(a.moveTo(t.x+2.5*o.pix,t.y),a.arc(t.x,t.y,3*o.pix,0,2*Math.PI,!1))}));else if("square"===i)t.forEach((function(t,e){null!==t&&l==e&&(a.moveTo(t.x-3.5,t.y-3.5),a.rect(t.x-3.5,t.y-3.5,7,7))}));else if("triangle"===i)t.forEach((function(t,e){null!==t&&l==e&&(a.moveTo(t.x,t.y-4.5),a.lineTo(t.x-4.5,t.y+4.5),a.lineTo(t.x+4.5,t.y+4.5),a.lineTo(t.x,t.y-4.5))}));else if("none"===i)return;a.closePath(),a.fill(),a.stroke()}}function G(t,e,i,a){var o=t.title.fontSize||e.titleFontSize,r=t.subtitle.fontSize||e.subtitleFontSize,n=t.title.name||"",l=t.subtitle.name||"",s=t.title.color||t.fontColor,h=t.subtitle.color||t.fontColor,c=n?o:0,x=l?r:0;if(l){var p=d(l,r*t.pix,i),f=a.x-p/2+(t.subtitle.offsetX||0)*t.pix,g=a.y+r*t.pix/2+(t.subtitle.offsetY||0)*t.pix;n&&(g+=(c*t.pix+5)/2),i.beginPath(),i.setFontSize(r*t.pix),i.setFillStyle(h),i.fillText(l,f,g),i.closePath(),i.stroke()}if(n){var u=d(n,o*t.pix,i),y=a.x-u/2+(t.title.offsetX||0),m=a.y+o*t.pix/2+(t.title.offsetY||0)*t.pix;l&&(m-=(x*t.pix+5)/2),i.beginPath(),i.setFontSize(o*t.pix),i.setFillStyle(s),i.fillText(n,y,m),i.closePath(),i.stroke()}}function X(t,e,i,a,o){var r=e.data,n=e.textOffset?e.textOffset:0;t.forEach((function(t,l){if(null!==t){a.beginPath();var s=e.textSize?e.textSize*o.pix:i.fontSize;a.setFontSize(s),a.setFillStyle(e.textColor||o.fontColor);var h=r[l];"object"==typeof r[l]&&null!==r[l]&&(h=r[l].constructor.toString().indexOf("Array")>-1?r[l][1]:r[l].value);var c=e.formatter?e.formatter(h,l,e,o):h;a.setTextAlign("center"),a.fillText(String(c),t.x,t.y-4+n*o.pix),a.closePath(),a.stroke(),a.setTextAlign("left")}}))}function N(t,e,i,a,o){var r=e.data,n=e.textOffset?e.textOffset:0,l=o.extra.column.labelPosition;t.forEach((function(t,s){if(null!==t){a.beginPath();var h=e.textSize?e.textSize*o.pix:i.fontSize;a.setFontSize(h),a.setFillStyle(e.textColor||o.fontColor);var c=r[s];"object"==typeof r[s]&&null!==r[s]&&(c=r[s].constructor.toString().indexOf("Array")>-1?r[s][1]:r[s].value);var x=e.formatter?e.formatter(c,s,e,o):c;a.setTextAlign("center");var d=t.y-4*o.pix+n*o.pix;t.y>e.zeroPoints&&(d=t.y+n*o.pix+h),"insideTop"==l&&(d=t.y+h+n*o.pix,t.y>e.zeroPoints&&(d=t.y-n*o.pix-4*o.pix)),"center"==l&&(d=t.y+n*o.pix+(o.height-o.area[2]-t.y+h)/2,e.zeroPointse.zeroPoints&&(d=t.y-n*o.pix-(t.y-e.zeroPoints-h)/2),"stack"==o.extra.column.type&&(d=t.y+n*o.pix+(t.y0-t.y+h)/2)),"bottom"==l&&(d=o.height-o.area[2]+n*o.pix-4*o.pix,e.zeroPointse.zeroPoints&&(d=e.zeroPoints-n*o.pix+h+2*o.pix),"stack"==o.extra.column.type&&(d=t.y0+n*o.pix-4*o.pix)),a.fillText(String(x),t.x,d),a.closePath(),a.stroke(),a.setTextAlign("left")}}))}function H(t,e,i,a,o){var r=e.data;e.textOffset&&e.textOffset,t.forEach((function(t,n){if(null!==t){a.beginPath();var l=e.textSize?e.textSize*o.pix:i.fontSize;a.setFontSize(l),a.setFillStyle(e.textColor||o.fontColor);var s=r[n];"object"==typeof r[n]&&null!==r[n]&&(s=r[n].value);var h=e.formatter?e.formatter(s,n,e,o):s;a.setTextAlign("left"),a.fillText(String(h),t.x+4*o.pix,t.y+l/2-3),a.closePath(),a.stroke()}}))}function j(t,e,a,o,r,n){var l=a.pieChartLinePadding,c=[],x=null,p=t.map((function(a,o){var r=a.formatter?a.formatter(a,o,t,e):i.toFixed(100*a._proportion_.toFixed(4))+"%";r=a.labelText?a.labelText:r;var n=2*Math.PI-(a._start_+2*Math.PI*a._proportion_/2);return a._rose_proportion_&&(n=2*Math.PI-(a._start_+2*Math.PI*a._rose_proportion_/2)),{arc:n,text:r,color:a.color,radius:a._radius_,textColor:a.textColor,textSize:a.textSize,labelShow:a.labelShow}}));for(let s=0;s=0?r+a.pieChartTextPadding:r-a.pieChartTextPadding,y=n,m=d(t.text,t.textSize*e.pix||a.fontSize,o),S=y;x&&i.isSameXCoordinateArea(x.start,{x:u})&&(S=u>0?Math.min(y,x.start.y):r<0||y>0?Math.max(y,x.start.y):Math.min(y,x.start.y)),u<0&&(u-=m),x=h({lineStart:{x:f,y:g},lineEnd:{x:r,y:n},start:{x:u,y:S},width:m,height:a.fontSize,text:t.text,color:t.color,textColor:t.textColor,textSize:t.textSize},x),c.push(x)}for(let i=0;io.width&&(y=!0),v+i.y>o.height&&(i.y=o.height-v),n.beginPath(),n.setFillStyle(a(h.bgColor,h.bgOpacity)),n.setLineWidth(h.borderWidth*o.pix),n.setStrokeStyle(a(h.borderColor,h.borderOpacity));var b=h.borderRadius;y?(S+u>o.width&&(i.x=o.width+Math.abs(o._scrollDistance_||0)+u+(S-o.width)),S>i.x&&(i.x=o.width+Math.abs(o._scrollDistance_||0)+u+(S-o.width)),h.showArrow&&(n.moveTo(i.x,i.y+10*o.pix),n.lineTo(i.x-u,i.y+10*o.pix+5*o.pix)),n.arc(i.x-u-b,i.y+v-b,b,0,Math.PI/2,!1),n.arc(i.x-u-Math.round(S)+b,i.y+v-b,b,Math.PI/2,Math.PI,!1),n.arc(i.x-u-Math.round(S)+b,i.y+b,b,-Math.PI,-Math.PI/2,!1),n.arc(i.x-u-b,i.y+b,b,-Math.PI/2,0,!1),h.showArrow&&(n.lineTo(i.x-u,i.y+10*o.pix-5*o.pix),n.lineTo(i.x,i.y+10*o.pix))):(h.showArrow&&(n.moveTo(i.x,i.y+10*o.pix),n.lineTo(i.x+u,i.y+10*o.pix-5*o.pix)),n.arc(i.x+u+b,i.y+b,b,-Math.PI,-Math.PI/2,!1),n.arc(i.x+u+Math.round(S)-b,i.y+b,b,-Math.PI/2,0,!1),n.arc(i.x+u+Math.round(S)-b,i.y+v-b,b,0,Math.PI/2,!1),n.arc(i.x+u+b,i.y+v-b,b,Math.PI/2,Math.PI,!1),h.showArrow&&(n.lineTo(i.x+u,i.y+10*o.pix+5*o.pix),n.lineTo(i.x,i.y+10*o.pix))),n.closePath(),n.fill(),h.borderWidth>0&&n.stroke(),h.legendShow&&t.forEach((function(t,e){if(null!==t.color){n.beginPath(),n.setFillStyle(t.color);var a=i.x+u+2*p,r=i.y+(x-c)/2+x*e+p+1;switch(y&&(a=i.x-S-u+2*p),t.legendShape){case"line":n.moveTo(a,r+.5*f-2*o.pix),n.fillRect(a,r+.5*f-2*o.pix,f,4*o.pix);break;case"triangle":n.moveTo(a+7.5*o.pix,r+.5*f-5*o.pix),n.lineTo(a+2.5*o.pix,r+.5*f+5*o.pix),n.lineTo(a+12.5*o.pix,r+.5*f+5*o.pix),n.lineTo(a+7.5*o.pix,r+.5*f-5*o.pix);break;case"diamond":n.moveTo(a+7.5*o.pix,r+.5*f-5*o.pix),n.lineTo(a+2.5*o.pix,r+.5*f),n.lineTo(a+7.5*o.pix,r+.5*f+5*o.pix),n.lineTo(a+12.5*o.pix,r+.5*f),n.lineTo(a+7.5*o.pix,r+.5*f-5*o.pix);break;case"circle":n.moveTo(a+7.5*o.pix,r+.5*f),n.arc(a+7.5*o.pix,r+.5*f,5*o.pix,0,2*Math.PI);break;case"rect":default:n.moveTo(a,r+.5*f-5*o.pix),n.fillRect(a,r+.5*f-5*o.pix,15*o.pix,10*o.pix);break;case"square":n.moveTo(a+2*o.pix,r+.5*f-5*o.pix),n.fillRect(a+2*o.pix,r+.5*f-5*o.pix,10*o.pix,10*o.pix)}n.closePath(),n.fill()}})),t.forEach((function(t,e){var a=i.x+u+2*p+f+g;y&&(a=i.x-S-u+2*p+f+g);var o=i.y+x*e+(x-c)/2-1+p+c;n.beginPath(),n.setFontSize(c),n.setTextBaseline("normal"),n.setFillStyle(h.fontColor),n.fillText(t.text,a,o),n.closePath(),n.stroke()}))}}function Z(t,i,o,r){let n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,l=i.chartData.xAxisData,s=l.xAxisPoints,h=l.eachSpacing,c=e({},{type:"group",width:h/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0,labelPosition:"outside"},i.extra.column),d=[];r.save();let p=-2,f=s.length+2;return i._scrollDistance_&&0!==i._scrollDistance_&&!0===i.enableScroll&&(r.translate(i._scrollDistance_,0),p=Math.floor(-i._scrollDistance_/h)-2,f=p+i.xAxis.itemCount+4),i.tooltip&&i.tooltip.textList&&i.tooltip.textList.length&&1===n&&function(t,i,o,r,n){var l=e({},{activeBgColor:"#000000",activeBgOpacity:.08,activeWidth:n},i.extra.column);l.activeWidth=l.activeWidth>n?n:l.activeWidth;var s=i.area[0],h=i.height-i.area[2];r.beginPath(),r.setFillStyle(a(l.activeBgColor,l.activeBgOpacity)),r.rect(t-l.activeWidth/2,s,l.activeWidth,h-s),r.closePath(),r.fill(),r.setFillStyle("#FFFFFF")}(i.tooltip.offset.x,i,0,r,h),c.customColor=x(c.linearType,c.customColor,t,o),t.forEach((function(e,l){let x,g,u;x=[].concat(i.chartData.yAxisData.ranges[e.index]),g=x.pop(),u=x.shift();let y=(i.height-i.area[0]-i.area[2])*(0-g)/(u-g),m=i.height-Math.round(y)-i.area[2];e.zeroPoints=m;var S=e.data;switch(c.type){case"group":var v=D(S,g,u,s,h,i,o,m,n),b=I(S,g,u,s,h,i,o,l,t,n);d.push(b),v=C(v,h,t.length,l,0,i);for(let t=0;tp&&tm?m:o.y,i=o.width,a=Math.abs(m-o.y);c.barBorderCircle&&(c.barBorderRadius=[i/2,i/2,0,0]),o.y>m&&(c.barBorderRadius=[0,0,i/2,i/2]);let[n,l,s,h]=c.barBorderRadius,x=Math.min(i/2,a/2);n=n>x?x:n,l=l>x?x:l,s=s>x?x:s,h=h>x?x:h,n=n<0?0:n,l=l<0?0:l,s=s<0?0:s,h=h<0?0:h,r.arc(t+n,e+n,n,-Math.PI,-Math.PI/2),r.arc(t+i-l,e+l,l,-Math.PI/2,0),r.arc(t+i-s,e+a-s,s,0,Math.PI/2),r.arc(t+h,e+a-h,h,Math.PI/2,Math.PI)}else r.moveTo(A,o.y),r.lineTo(A+o.width,o.y),r.lineTo(A+o.width,m),r.lineTo(A,m),r.lineTo(A,o.y),r.setLineWidth(1),r.setStrokeStyle(w);r.setFillStyle(P),r.closePath(),r.fill()}}break;case"stack":v=I(S,g,u,s,h,i,o,l,t,n);d.push(v),v=function(t,e,i,a,o,r){var n=r.extra.column.categoryGap*r.pix||0;return t.map((function(t,i){return null===t?null:(t.width=Math.ceil(e-2*n),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),t.width<=0&&(t.width=1),t)}))}(v,h,t.length,0,0,i);for(let t=0;tp&&t0&&(T-=_),r.setFillStyle(P),r.moveTo(A,a.y),r.fillRect(A,a.y,a.width,T),r.closePath(),r.fill()}}break;case"meter":v=F(S,g,u,s,h,i,o,n);d.push(v),v=function(t,e,i,a,o,r,n){var l=r.extra.column.categoryGap*r.pix||0;return t.map((function(t){return null===t?null:(t.width=e-2*l,r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),a>0&&(t.width-=n),t)}))}(v,h,t.length,l,0,i,c.meterBorder);for(let t=0;tp&&t0&&(r.setStrokeStyle(e.color),r.setLineWidth(c.meterBorder*i.pix)),0==l?r.setFillStyle(c.meterFillColor):r.setFillStyle(a.color||e.color);A=a.x-a.width/2,T=i.height-a.y-i.area[2];if(c.barBorderRadius&&4===c.barBorderRadius.length||!0===c.barBorderCircle){const t=A,e=a.y,i=a.width,o=m-a.y;c.barBorderCircle&&(c.barBorderRadius=[i/2,i/2,0,0]);let[n,l,s,h]=c.barBorderRadius,x=Math.min(i/2,o/2);n=n>x?x:n,l=l>x?x:l,s=s>x?x:s,h=h>x?x:h,n=n<0?0:n,l=l<0?0:l,s=s<0?0:s,h=h<0?0:h,r.arc(t+n,e+n,n,-Math.PI,-Math.PI/2),r.arc(t+i-l,e+l,l,-Math.PI/2,0),r.arc(t+i-s,e+o-s,s,0,Math.PI/2),r.arc(t+h,e+o-h,h,Math.PI/2,Math.PI),r.fill()}else r.moveTo(A,a.y),r.lineTo(A+a.width,a.y),r.lineTo(A+a.width,m),r.lineTo(A,m),r.lineTo(A,a.y),r.fill();0==l&&c.meterBorder>0&&(r.closePath(),r.stroke())}}}})),!1!==i.dataLabel&&1===n&&t.forEach((function(e,a){let l,x,d;l=[].concat(i.chartData.yAxisData.ranges[e.index]),x=l.pop(),d=l.shift();var p=e.data;switch(c.type){case"group":N(C(D(p,x,d,s,h,i,o,n),h,t.length,a,0,i),e,o,r,i);break;case"stack":N(I(p,x,d,s,h,i,o,a,t,n),e,o,r,i);break;case"meter":N(F(p,x,d,s,h,i,o,n),e,o,r,i)}})),r.restore(),{xAxisPoints:s,calPoints:d,eachSpacing:h}}function $(t,i,o,r){let n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,l=i.chartData.xAxisData,s=l.xAxisPoints,h=l.eachSpacing,c=e({},{type:"mount",widthRatio:1,borderWidth:1,barBorderCircle:!1,barBorderRadius:[],linearType:"none",linearOpacity:1,customColor:[],colorStop:0},i.extra.mount);c.widthRatio=c.widthRatio<=0?0:c.widthRatio,c.widthRatio=c.widthRatio>=2?2:c.widthRatio,r.save();let d,p,f,g=-2,u=s.length+2;i._scrollDistance_&&0!==i._scrollDistance_&&!0===i.enableScroll&&(r.translate(i._scrollDistance_,0),g=Math.floor(-i._scrollDistance_/h)-2,u=g+i.xAxis.itemCount+4),c.customColor=x(c.linearType,c.customColor,t,o),d=[].concat(i.chartData.yAxisData.ranges[0]),p=d.pop(),f=d.shift();let y=(i.height-i.area[0]-i.area[2])*(0-p)/(f-p),m=i.height-Math.round(y)-i.area[2];var S=L(t,p,f,s,h,i,c,m,n);switch(c.type){case"bar":for(let e=0;eg&&em?m:o.y,i=o.width,a=Math.abs(m-o.y);c.barBorderCircle&&(c.barBorderRadius=[i/2,i/2,0,0]),o.y>m&&(c.barBorderRadius=[0,0,i/2,i/2]);let[n,l,s,h]=c.barBorderRadius,x=Math.min(i/2,a/2);n=n>x?x:n,l=l>x?x:l,s=s>x?x:s,h=h>x?x:h,n=n<0?0:n,l=l<0?0:l,s=s<0?0:s,h=h<0?0:h,r.arc(t+n,e+n,n,-Math.PI,-Math.PI/2),r.arc(t+i-l,e+l,l,-Math.PI/2,0),r.arc(t+i-s,e+a-s,s,0,Math.PI/2),r.arc(t+h,e+a-h,h,Math.PI/2,Math.PI)}else r.moveTo(v,o.y),r.lineTo(v+o.width,o.y),r.lineTo(v+o.width,m),r.lineTo(v,m),r.lineTo(v,o.y);r.setStrokeStyle(T),r.setFillStyle(A),c.borderWidth>0&&(r.setLineWidth(c.borderWidth*i.pix),r.closePath(),r.stroke()),r.fill()}}break;case"triangle":for(let e=0;eg&&e0&&(r.setLineWidth(c.borderWidth*i.pix),r.stroke()),r.fill()}}break;case"mount":for(let e=0;eg&&e0&&(r.setLineWidth(c.borderWidth*i.pix),r.stroke()),r.fill()}}break;case"sharp":for(let e=0;eg&&e0&&(r.setLineWidth(c.borderWidth*i.pix),r.stroke()),r.fill()}}}if(!1!==i.dataLabel&&1===n){let e,a,l;e=[].concat(i.chartData.yAxisData.ranges[0]),a=e.pop(),l=e.shift(),function(t,e,i,a,o,r){e.data;var n=e.textOffset?e.textOffset:0;o.extra.mount.labelPosition,t.forEach((function(t,l){if(null!==t){a.beginPath();var s=e[l].textSize?e[l].textSize*o.pix:i.fontSize;a.setFontSize(s),a.setFillStyle(e[l].textColor||o.fontColor);var h=t.value,c=e[l].formatter?e[l].formatter(h,l,e,o):h;a.setTextAlign("center");var x=t.y-4*o.pix+n*o.pix;t.y>r&&(x=t.y+n*o.pix+s),a.fillText(String(c),t.x,x),a.closePath(),a.stroke(),a.setTextAlign("left")}}))}(S=L(t,a,l,s,h,i,c,m,n),t,o,r,i,m)}return r.restore(),{xAxisPoints:s,calPoints:S,eachSpacing:h}}function K(t,i,o,r){let n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,l=[],s=(i.height-i.area[0]-i.area[2])/i.categories.length;for(let e=0;e-2&&tx?x:n,l=l>x?x:l,s=s>x?x:s,c=c>x?x:c,n=n<0?0:n,l=l<0?0:l,s=s<0?0:s,c=c<0?0:c,r.arc(t+c,i+c,c,-Math.PI,-Math.PI/2),r.arc(o.x-n,i+n,n,-Math.PI/2,0),r.arc(o.x-l,i+e-l,l,0,Math.PI/2),r.arc(t+s,i+e-s,s,Math.PI/2,Math.PI)}else r.moveTo(S,v),r.lineTo(o.x,v),r.lineTo(o.x,v+o.width),r.lineTo(S,v+o.width),r.lineTo(S,v),r.setLineWidth(1),r.setStrokeStyle(A);r.setFillStyle(b),r.closePath(),r.fill()}}break;case"stack":y=z(u,f,g,l,s,i,o,x,t,n);c.push(y),y=function(t,e,i,a,o,r){var n=r.extra.bar.categoryGap*r.pix||0;return t.map((function(t,i){return null===t?null:(t.width=Math.ceil(e-2*n),r.extra.bar&&r.extra.bar.width&&+r.extra.bar.width>0&&(t.width=Math.min(t.width,+r.extra.bar.width*r.pix)),t.width<=0&&(t.width=1),t)}))}(y,s,t.length,0,0,i);for(let t=0;t-2&&t5&&void 0!==arguments[5]?arguments[5]:1,s=e({},{color:{},average:{}},a.extra.candle);s.color=e({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},s.color),s.average=e({},{show:!1,name:[],day:[],color:o.color},s.average),a.extra.candle=s;let h=a.chartData.xAxisData,c=h.xAxisPoints,x=h.eachSpacing,d=[];r.save();let p=-2,f=c.length+2,g=0,u=a.width+x;return a._scrollDistance_&&0!==a._scrollDistance_&&!0===a.enableScroll&&(r.translate(a._scrollDistance_,0),p=Math.floor(-a._scrollDistance_/x)-2,f=p+a.xAxis.itemCount+4,g=-a._scrollDistance_-2*x+a.area[3],u=g+(a.xAxis.itemCount+4)*x),(s.average.show||i)&&i.forEach((function(t,e){let i,s,h;i=[].concat(a.chartData.yAxisData.ranges[t.index]),s=i.pop(),h=i.shift();var d=b(F(t.data,s,h,c,x,a,o,n),t);for(let a=0;ag&&(r.moveTo(a.x,a.y),t=1),i>0&&a.x>g&&a.x7&&void 0!==arguments[7]?arguments[7]:1,s=[],h=r.height-r.area[0]-r.area[2];return t.forEach((function(t,n){if(null===t)s.push(null);else{var c=[];t.forEach((function(t,s){var x={};x.x=a[n]+Math.round(o/2);var d=t.value||t,p=h*(d-e)/(i-e);p*=l,x.y=r.height-Math.round(p)-r.area[2],c.push(x)})),s.push(c)}})),s}(g,l,h,c,x,a,o,n);d.push(u);var y=b(u,t);for(let o=0;op&&o0?(r.setStrokeStyle(s.color.upLine),r.setFillStyle(s.color.upFill),r.setLineWidth(1*a.pix),r.moveTo(t[3].x,t[3].y),r.lineTo(t[1].x,t[1].y),r.lineTo(t[1].x-x/4,t[1].y),r.lineTo(t[0].x-x/4,t[0].y),r.lineTo(t[0].x,t[0].y),r.lineTo(t[2].x,t[2].y),r.lineTo(t[0].x,t[0].y),r.lineTo(t[0].x+x/4,t[0].y),r.lineTo(t[1].x+x/4,t[1].y),r.lineTo(t[1].x,t[1].y),r.moveTo(t[3].x,t[3].y)):(r.setStrokeStyle(s.color.downLine),r.setFillStyle(s.color.downFill),r.setLineWidth(1*a.pix),r.moveTo(t[3].x,t[3].y),r.lineTo(t[0].x,t[0].y),r.lineTo(t[0].x-x/4,t[0].y),r.lineTo(t[1].x-x/4,t[1].y),r.lineTo(t[1].x,t[1].y),r.lineTo(t[2].x,t[2].y),r.lineTo(t[1].x,t[1].y),r.lineTo(t[1].x+x/4,t[1].y),r.lineTo(t[0].x+x/4,t[0].y),r.lineTo(t[0].x,t[0].y),r.moveTo(t[3].x,t[3].y)),r.closePath(),r.fill(),r.stroke()}})),r.restore(),{xAxisPoints:c,calPoints:d,eachSpacing:x}}function U(t,e,i,a,o,r){(t.extra.tooltip||{}).horizentalLine&&t.tooltip&&1===a&&("line"==t.type||"area"==t.type||"column"==t.type||"mount"==t.type||"candle"==t.type||"mix"==t.type)&&q(t,e,i),i.save(),t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&i.translate(t._scrollDistance_,0),t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===a&&J(t.tooltip.textList,t.tooltip.offset,t,e,i),i.restore()}function V(t,e,i,a){let o=e.chartData.xAxisData,r=o.xAxisPoints,n=o.startX,l=o.endX,s=o.eachSpacing;var h="center";"bar"!=e.type&&"line"!=e.type&&"area"!=e.type&&"scatter"!=e.type&&"bubble"!=e.type||(h=e.xAxis.boundaryGap);var c=e.height-e.area[2],x=e.area[0];if(e.enableScroll&&e.xAxis.scrollShow){var p=e.height-e.area[2]+i.xAxisHeight,f=l-n,g=s*(r.length-1);"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),g+=(e.extra.mount.widthRatio-1)*s);var u=f*f/g,y=0;e._scrollDistance_&&(y=-e._scrollDistance_*f/g),a.beginPath(),a.setLineCap("round"),a.setLineWidth(6*e.pix),a.setStrokeStyle(e.xAxis.scrollBackgroundColor||"#EFEBEF"),a.moveTo(n,p),a.lineTo(l,p),a.stroke(),a.closePath(),a.beginPath(),a.setLineCap("round"),a.setLineWidth(6*e.pix),a.setStrokeStyle(e.xAxis.scrollColor||"#A6A6A6"),a.moveTo(n+y,p),a.lineTo(n+y+u,p),a.stroke(),a.closePath(),a.setLineCap("butt")}if(a.save(),e._scrollDistance_&&0!==e._scrollDistance_&&a.translate(e._scrollDistance_,0),!0===e.xAxis.calibration&&(a.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),a.setLineCap("butt"),a.setLineWidth(1*e.pix),r.forEach((function(t,i){i>0&&(a.beginPath(),a.moveTo(t-s/2,c),a.lineTo(t-s/2,c+3*e.pix),a.closePath(),a.stroke())}))),!0!==e.xAxis.disableGrid&&(a.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),a.setLineCap("butt"),a.setLineWidth(1*e.pix),"dash"==e.xAxis.gridType&&a.setLineDash([e.xAxis.dashLength*e.pix,e.xAxis.dashLength*e.pix]),e.xAxis.gridEval=e.xAxis.gridEval||1,r.forEach((function(t,i){i%e.xAxis.gridEval==0&&(a.beginPath(),a.moveTo(t,c),a.lineTo(t,x),a.stroke())})),a.setLineDash([])),!0!==e.xAxis.disabled){let o=t.length;e.xAxis.labelCount&&(o=e.xAxis.itemCount?Math.ceil(t.length/e.xAxis.itemCount*e.xAxis.labelCount):e.xAxis.labelCount,o-=1);let n=Math.ceil(t.length/o),l=[],x=t.length;for(let e=0;e=e.area[3]-1&&x-Math.abs(l)<=e.width-e.area[1]+1&&(a.beginPath(),a.setFontSize(m),a.setFillStyle(e.xAxis.fontColor||e.fontColor),a.fillText(String(o),r[i]+n,c+e.xAxis.marginTop*e.pix+(e.xAxis.lineHeight-e.xAxis.fontSize)*e.pix/2+e.xAxis.fontSize*e.pix),a.closePath(),a.stroke())})):l.forEach((function(t,o){var n=e.xAxis.formatter?e.xAxis.formatter(t):t,l=e._scrollDistance_||0,x="center"==h?r[o]+s/2:r[o];if(x-Math.abs(l)>=e.area[3]-1&&x-Math.abs(l)<=e.width-e.area[1]+1){a.save(),a.beginPath(),a.setFontSize(m),a.setFillStyle(e.xAxis.fontColor||e.fontColor);var p=d(String(n),m,a),f=r[o];"center"==h&&(f=r[o]+s/2),e.xAxis.scrollShow&&e.pix;var g=c+e.xAxis.marginTop*e.pix+m-m*Math.abs(Math.sin(i._xAxisTextAngle_));e.xAxis.rotateAngle<0?(f-=m/2,p=0):(f+=m/2,p=-p),a.translate(f,g),a.rotate(-1*i._xAxisTextAngle_),a.fillText(String(n),p,0),a.closePath(),a.stroke(),a.restore()}}))}a.restore(),e.xAxis.title&&(a.beginPath(),a.setFontSize(e.xAxis.titleFontSize*e.pix),a.setFillStyle(e.xAxis.titleFontColor),a.fillText(String(e.xAxis.title),e.width-e.area[1]+e.xAxis.titleOffsetX*e.pix,e.height-e.area[2]+e.xAxis.marginTop*e.pix+(e.xAxis.lineHeight-e.xAxis.titleFontSize)*e.pix/2+(e.xAxis.titleFontSize+e.xAxis.titleOffsetY)*e.pix),a.closePath(),a.stroke()),e.xAxis.axisLine&&(a.beginPath(),a.setStrokeStyle(e.xAxis.axisLineColor),a.setLineWidth(1*e.pix),a.moveTo(n,e.height-e.area[2]),a.lineTo(l,e.height-e.area[2]),a.stroke())}function tt(t,e,i,a){if(!0===e.yAxis.disableGrid)return;let o=(e.height-e.area[0]-e.area[2])/e.yAxis.splitNumber,r=e.area[3],n=e.chartData.xAxisData.xAxisPoints,l=e.chartData.xAxisData.eachSpacing,s=l*(n.length-1);"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),s+=(e.extra.mount.widthRatio-1)*l);let h=r+s,c=[],x=1;!1===e.xAxis.axisLine&&(x=0);for(let d=x;d4&&void 0!==arguments[4]?arguments[4]:1,l=e({},{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,ringWidth:30,customRadius:0,border:!1,borderWidth:2,borderColor:"#FFFFFF",centerColor:"#FFFFFF",linearType:"none",customColor:[]},"pie"==i.type?i.extra.pie:i.extra.ring),s={x:i.area[3]+(i.width-i.area[1]-i.area[3])/2,y:i.area[0]+(i.height-i.area[0]-i.area[2])/2};0==o.pieChartLinePadding&&(o.pieChartLinePadding=l.activeRadius*i.pix);var h=Math.min((i.width-i.area[1]-i.area[3])/2-o.pieChartLinePadding-o.pieChartTextPadding-o._pieTextMaxLength_,(i.height-i.area[0]-i.area[2])/2-o.pieChartLinePadding-o.pieChartTextPadding);h=h<10?10:h,l.customRadius>0&&(h=l.customRadius*i.pix),t=P(t,h,n);var c=l.activeRadius*i.pix;if(l.customColor=x(l.linearType,l.customColor,t,o),(t=t.map((function(t){return t._start_+=l.offsetAngle*Math.PI/180,t}))).forEach((function(t,e){i.tooltip&&i.tooltip.index==e&&(r.beginPath(),r.setFillStyle(a(t.color,l.activeOpacity||.5)),r.moveTo(s.x,s.y),r.arc(s.x,s.y,t._radius_+c,t._start_,t._start_+2*t._proportion_*Math.PI),r.closePath(),r.fill()),r.beginPath(),r.setLineWidth(l.borderWidth*i.pix),r.lineJoin="round",r.setStrokeStyle(l.borderColor);var o,n=t.color;"custom"==l.linearType&&((o=r.createCircularGradient?r.createCircularGradient(s.x,s.y,t._radius_):r.createRadialGradient(s.x,s.y,0,s.x,s.y,t._radius_)).addColorStop(0,a(l.customColor[t.linearIndex],1)),o.addColorStop(1,a(t.color,1)),n=o);r.setFillStyle(n),r.moveTo(s.x,s.y),r.arc(s.x,s.y,t._radius_,t._start_,t._start_+2*t._proportion_*Math.PI),r.closePath(),r.fill(),1==l.border&&r.stroke()})),"ring"===i.type){var d=.6*h;"number"==typeof l.ringWidth&&l.ringWidth>0&&(d=Math.max(0,h-l.ringWidth*i.pix)),r.beginPath(),r.setFillStyle(l.centerColor),r.moveTo(s.x,s.y),r.arc(s.x,s.y,d,0,2*Math.PI),r.closePath(),r.fill()}return!1!==i.dataLabel&&1===n&&j(t,i,o,r,0,s),1===n&&"ring"===i.type&&G(i,o,r,s),{center:s,radius:h,series:t}}function ot(t,i,o,r,n){var l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,s=e({},{type:"default",startAngle:.75,endAngle:.25,width:15,labelOffset:13,splitLine:{fixRadius:0,splitNumber:10,width:15,color:"#FFFFFF",childNumber:5,childWidth:5},pointer:{width:15,color:"auto"}},o.extra.gauge);null==s.oldAngle&&(s.oldAngle=s.startAngle),null==s.oldData&&(s.oldData=0),t=function(t,e,i){let a;a=i=2&&(t[r]._endAngle_=t[r]._endAngle_%2),o=t[r]._endAngle_;return t}(t,s.startAngle,s.endAngle);var h={x:o.width/2,y:o.height/2},c=Math.min(h.x,h.y);c-=5*o.pix;var x=(c=(c-=s.width/2)<10?10:c)-s.width,p=0;if("progress"==s.type){var f=c-3*s.width;n.beginPath();let t=n.createLinearGradient(h.x,h.y-f,h.x,h.y+f);t.addColorStop("0",a(i[0].color,.3)),t.addColorStop("1.0",a("#FFFFFF",.1)),n.setFillStyle(t),n.arc(h.x,h.y,f,0,2*Math.PI,!1),n.fill(),n.setLineWidth(s.width),n.setStrokeStyle(a(i[0].color,.3)),n.setLineCap("round"),n.beginPath(),n.arc(h.x,h.y,x,s.startAngle*Math.PI,s.endAngle*Math.PI,!1),n.stroke(),p=s.endAnglel/g?n.setStrokeStyle(a(i[0].color,1)):n.setStrokeStyle(a(i[0].color,.3)),n.setLineWidth(3*o.pix),n.moveTo(r,0),n.lineTo(d,0),n.stroke(),n.rotate(e*Math.PI);n.restore(),i=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==i&&(i=.999999);for(let a=0;a=2&&(r._proportion_=r._proportion_%2)}return t}(i,s,l),n.setLineWidth(s.width),n.setStrokeStyle(i[0].color),n.setLineCap("round"),n.beginPath(),n.arc(h.x,h.y,x,s.startAngle*Math.PI,i[0]._proportion_*Math.PI,!1),n.stroke();let y=c-2.5*s.width;n.save(),n.translate(h.x,h.y),n.rotate((i[0]._proportion_-1)*Math.PI),n.beginPath(),n.setLineWidth(s.width/3);let m=n.createLinearGradient(0,.6*-y,0,.6*y);m.addColorStop("0",a("#FFFFFF",0)),m.addColorStop("0.5",a(i[0].color,1)),m.addColorStop("1.0",a("#FFFFFF",0)),n.setStrokeStyle(m),n.arc(0,0,y,.85*Math.PI,1.15*Math.PI,!1),n.stroke(),n.beginPath(),n.setLineWidth(1),n.setStrokeStyle(i[0].color),n.setFillStyle(i[0].color),n.moveTo(-y-s.width/3/2,-4),n.lineTo(-y-s.width/3/2-4,0),n.lineTo(-y-s.width/3/2,4),n.lineTo(-y-s.width/3/2,-4),n.stroke(),n.fill(),n.restore()}else{n.setLineWidth(s.width),n.setLineCap("butt");for(let i=0;i3&&void 0!==arguments[3]?arguments[3]:1;for(let o=0;o=i.oldData?n._proportion_=(n._endAngle_-n._oldAngle_)*a+i.oldAngle:n._proportion_=n._oldAngle_-(n._oldAngle_-n._endAngle_)*a,n._proportion_>=2&&(n._proportion_=n._proportion_%2)}return t}(i,t,s,l);for(let t=0;t=2&&(h%=2),c+=s}}(s,c,h,o,r,n)}return G(o,r,n,h),1===l&&"gauge"===o.type&&(o.extra.gauge.oldAngle=i[0]._proportion_,o.extra.gauge.oldData=i[0].data),{center:h,radius:c,innerRadius:x,categories:t,totalAngle:p}}function rt(t,o,r,n){var l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,h=e({},{gridColor:"#cccccc",gridType:"radar",gridEval:1,axisLabel:!1,axisLabelTofix:0,labelShow:!0,labelColor:"#666666",labelPointShow:!1,labelPointRadius:3,labelPointColor:"#cccccc",opacity:.2,gridCount:3,border:!1,borderWidth:2,linearType:"none",customColor:[]},o.extra.radar),c=function(t){for(var e=2*Math.PI/t,i=[],a=0;a5&&void 0!==arguments[5]?arguments[5]:1,n=o.extra.radar||{};n.max=n.max||0;var l=Math.max(n.max,Math.max.apply(null,p(a))),h=[];for(let c=0;ct[1]&&i[1]>t[1])return!1;if(e[1]t[1])return!1;if(i[1]==t[1]&&e[1]>t[1])return!1;if(e[0]e[r].area[2]||t[1]>e[r].area[3]||t[2]i||t[3]>a){o=!0;break}o=!1}return o}function dt(t,i,a,o){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,n=e({},{type:"normal",autoColors:!0},i.extra.word);i.chartData.wordCloudData||(i.chartData.wordCloudData=function(t,e,i){let a=t.series;switch(e){case"normal":for(let o=0;o.7};for(let o=0;o0&&(i.tooltip&&i.tooltip.index==e?o.strokeText(t,(l[e].areav[0]+5-i.width/2)*r-n*(1-r)/2,(l[e].areav[1]+5+a-i.height/2)*r):o.fillText(t,(l[e].areav[0]+5-i.width/2)*r-n*(1-r)/2,(l[e].areav[1]+5+a-i.height/2)*r)):l[e].area[0]>0&&(i.tooltip&&i.tooltip.index==e?o.strokeText(t,(l[e].area[0]+5-i.width/2)*r-n*(1-r)/2,(l[e].area[1]+5+a-i.height/2)*r):o.fillText(t,(l[e].area[0]+5-i.width/2)*r-n*(1-r)/2,(l[e].area[1]+5+a-i.height/2)*r)),o.stroke(),o.restore()}o.restore()}function pt(t,o,r,n){let l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=e({},{type:"funnel",activeWidth:10,activeOpacity:.3,border:!1,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,minSize:0,labelAlign:"right",linearType:"none",customColor:[]},o.extra.funnel),h=(o.height-o.area[0]-o.area[2])/t.length,c={x:o.area[3]+(o.width-o.area[1]-o.area[3])/2,y:o.height-o.area[2]},p=s.activeWidth*o.pix,f=Math.min((o.width-o.area[1]-o.area[3])/2-p,(o.height-o.area[0]-o.area[2])/2-p),g=function(t,e,i,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;for(let r=0;r0&&t[0].data.constructor.toString().indexOf("Array")>-1){e._pieSeries_=t;let o=t[0].data;for(var a=0;ae.width-e.area[1]-e.area[3]?(i.push(f),p.push(a-e.legend.itemGap*e.pix),a=l,f=[n]):(a+=l,f.push(n))}if(f.length){i.push(f),p.push(a-e.legend.itemGap*e.pix),r.widthArr=p;let t=Math.max.apply(null,p);switch(e.legend.float){case"left":r.area.start.x=e.area[3],r.area.end.x=e.area[3]+t+2*n;break;case"right":r.area.start.x=e.width-e.area[1]-t-2*n,r.area.end.x=e.width-e.area[1];break;default:r.area.start.x=(e.width-t)/2-n,r.area.end.x=(e.width+t)/2+n}r.area.width=t+2*n,r.area.wholeWidth=t+2*n,r.area.height=i.length*x+2*n,r.area.wholeHeight=i.length*x+2*n+2*l,r.points=i}}else{let i=t.length,a=e.height-e.area[0]-e.area[2]-2*l-2*n,p=Math.min(Math.floor(a/x),i);switch(r.area.height=p*x+2*n,r.area.wholeHeight=p*x+2*n,e.legend.float){case"top":r.area.start.y=e.area[0]+l,r.area.end.y=e.area[0]+l+r.area.height;break;case"bottom":r.area.start.y=e.height-e.area[2]-l-r.area.height,r.area.end.y=e.height-e.area[2]-l;break;default:r.area.start.y=(e.height-r.area.height)/2,r.area.end.y=(e.height+r.area.height)/2}let f=i%p==0?i/p:Math.floor(i/p+1),g=[];for(let e=0;ea&&(a=r)}r.widthArr.push(a),r.heightArr.push(t.length*x+2*n)}let t=0;for(let e=0;e0?M[i].width+o.yAxis.padding*o.pix:M[i].width,e+=1):"right"==M[i].position&&(o.area[1]+=t>0?M[i].width+o.yAxis.padding*o.pix:M[i].width,t+=1)}else r.yAxisWidth=M;if(o.chartData.yAxisData=v,o.categories&&o.categories.length&&"radar"!==o.type&&"gauge"!==o.type&&"bar"!==o.type){o.chartData.xAxisData=_(o.categories,o);let t=A(o.categories,o,0,o.chartData.xAxisData.eachSpacing,n),e=t.xAxisHeight,i=t.angle;r.xAxisHeight=e,r._xAxisTextAngle_=i,o.area[2]+=e,o.chartData.categoriesData=t}else if("line"===o.type||"area"===o.type||"scatter"===o.type||"bubble"===o.type||"bar"===o.type){o.chartData.xAxisData=T(h,o,r,n);let t=A(p=o.chartData.xAxisData.rangesFormat,o,0,o.chartData.xAxisData.eachSpacing,n),e=t.xAxisHeight,i=t.angle;r.xAxisHeight=e,r._xAxisTextAngle_=i,o.area[2]+=e,o.chartData.categoriesData=t}else o.chartData.xAxisData={xAxisPoints:[]};if(o.enableScroll&&"right"==o.xAxis.scrollAlign&&void 0===o._scrollDistance_){let t=0,e=o.chartData.xAxisData.xAxisPoints,i=o.chartData.xAxisData.startX;t=o.chartData.xAxisData.endX-i-o.chartData.xAxisData.eachSpacing*(e.length-1),s.scrollOption.currentOffset=t,s.scrollOption.startTouchX=t,s.scrollOption.distance=0,s.scrollOption.lastMoveTime=0,o._scrollDistance_=t}switch("pie"!==t&&"ring"!==t&&"rose"!==t||(r._pieTextMaxLength_=!1===o.dataLabel?0:function(t,e,a,o){t=P(t);let r=0;for(let n=0;nl.x?i.xMax:l.x,i.yMin=i.yMinl.y?i.yMax:l.y}}return i}(h);if(s.mercator){var x=nt(c.xMax,c.yMax),p=nt(c.xMin,c.yMin);c.xMax=x[0],c.yMax=x[1],c.xMin=p[0],c.yMin=p[1]}for(var f=i.width/Math.abs(c.xMax-c.xMin),g=i.height/Math.abs(c.yMax-c.yMin),u=f{this.uevent.trigger("renderComplete")}),50);break;case"funnel":this.animationInstance=new ut({timing:o.timing,duration:f,onProcess:function(t){n.clearRect(0,0,o.width,o.height),o.rotate&&R(n,o),o.chartData.funnelData=pt(h,o,r,n,t),it(o.series,o,r,n,o.chartData),U(o,r,n,t),ft(0,n)},onAnimationFinish:function(){s.uevent.trigger("renderComplete")}});break;case"line":this.animationInstance=new ut({timing:o.timing,duration:f,onProcess:function(t){n.clearRect(0,0,o.width,o.height),o.rotate&&R(n,o),tt(0,o,0,n),V(p,o,r,n);var i=function(t,i,o,r){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=e({},{type:"straight",width:2,activeType:"none",linearType:"none",onShadow:!1,animation:"vertical"},i.extra.line);s.width*=i.pix;let h=i.chartData.xAxisData,c=h.xAxisPoints,x=h.eachSpacing;var d=[];r.save();let p=0,f=i.width+x;return i._scrollDistance_&&0!==i._scrollDistance_&&!0===i.enableScroll&&(r.translate(i._scrollDistance_,0),p=-i._scrollDistance_-2*x+i.area[3],f=p+(i.xAxis.itemCount+4)*x),t.forEach((function(t,e){let h,g,u;r.beginPath(),r.setStrokeStyle(t.color),r.moveTo(-1e4,-1e4),r.lineTo(-10001,-10001),r.stroke(),h=[].concat(i.chartData.yAxisData.ranges[t.index]),g=h.pop(),u=h.shift();var y=function(t,e,i,a,o,r,n,l,s){s=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1;var h=r.xAxis.boundaryGap,c=[],x=r.height-r.area[0]-r.area[2],d=r.width-r.area[1]-r.area[3];return t.forEach((function(t,n){if(null===t)c.push(null);else{var p={};if(p.color=t.color,"vertical"==l.animation){p.x=a[n];var f=t;if("object"==typeof t&&null!==t)if(t.constructor.toString().indexOf("Array")>-1){let e,i,a;e=[].concat(r.chartData.xAxisData.ranges),i=e.shift(),a=e.pop(),f=t[1],p.x=r.area[3]+d*(t[0]-i)/(a-i)}else f=t.value;"center"==h&&(p.x+=o/2);var g=x*(f-e)/(i-e);g*=s,p.y=r.height-g-r.area[2],c.push(p)}else p.x=a[0]+o*n*s,f=t,"center"==h&&(p.x+=o/2),g=x*(f-e)/(i-e),p.y=r.height-g-r.area[2],c.push(p)}})),c}(t.data,g,u,c,x,i,o,s,n);d.push(y);var m=b(y,t);if("dash"==t.lineType){let e=t.dashLength?t.dashLength:8;e*=i.pix,r.setLineDash([e,e])}r.beginPath();var S=t.color;if("none"!==s.linearType&&t.linearColor&&t.linearColor.length>0){for(var v=r.createLinearGradient(i.chartData.xAxisData.startX,i.height/2,i.chartData.xAxisData.endX,i.height/2),A=0;A0?r.setShadow(t.setShadow[0],t.setShadow[1],t.setShadow[2],t.setShadow[3]):r.setShadow(0,0,0,"rgba(0,0,0,0)"),r.setLineWidth(s.width),m.forEach((function(t,e){if(1===t.length)r.moveTo(t[0].x,t[0].y);else{r.moveTo(t[0].x,t[0].y);let e=0;if("curve"===s.type)for(let a=0;ap&&(r.moveTo(o.x,o.y),e=1),a>0&&o.x>p&&o.xp&&(r.moveTo(a.x,a.y),e=1),i>0&&a.x>p&&a.xp&&(r.moveTo(a.x,a.y),e=1),i>0&&a.x>p&&a.x4&&void 0!==arguments[4]?arguments[4]:1;e({},{type:"circle"},i.extra.scatter);let n=i.chartData.xAxisData,l=n.xAxisPoints,s=n.eachSpacing;o.save();let h=0;return i.width,i._scrollDistance_&&0!==i._scrollDistance_&&!0===i.enableScroll&&(o.translate(i._scrollDistance_,0),h=-i._scrollDistance_-2*s+i.area[3],i.xAxis.itemCount),t.forEach((function(t,e){let n,h,c;n=[].concat(i.chartData.yAxisData.ranges[t.index]),h=n.pop(),c=n.shift();var x=F(t.data,h,c,l,s,i,a,r);o.beginPath(),o.setStrokeStyle(t.color),o.setFillStyle(t.color),o.setLineWidth(1*i.pix);var d=t.pointShape;if("diamond"===d)x.forEach((function(t,e){null!==t&&(o.moveTo(t.x,t.y-4.5),o.lineTo(t.x-4.5,t.y),o.lineTo(t.x,t.y+4.5),o.lineTo(t.x+4.5,t.y),o.lineTo(t.x,t.y-4.5))}));else if("circle"===d)x.forEach((function(t,e){null!==t&&(o.moveTo(t.x+2.5*i.pix,t.y),o.arc(t.x,t.y,3*i.pix,0,2*Math.PI,!1))}));else if("square"===d)x.forEach((function(t,e){null!==t&&(o.moveTo(t.x-3.5,t.y-3.5),o.rect(t.x-3.5,t.y-3.5,7,7))}));else if("triangle"===d)x.forEach((function(t,e){null!==t&&(o.moveTo(t.x,t.y-4.5),o.lineTo(t.x-4.5,t.y+4.5),o.lineTo(t.x+4.5,t.y+4.5),o.lineTo(t.x,t.y-4.5))}));else if("triangle"===d)return;o.closePath(),o.fill(),o.stroke()})),!1!==i.dataLabel&&1===r&&t.forEach((function(t,e){let n,h,c;n=[].concat(i.chartData.yAxisData.ranges[t.index]),h=n.pop(),c=n.shift(),X(F(t.data,h,c,l,s,i,a,r),t,a,o,i)})),o.restore(),{xAxisPoints:l,calPoints:[],eachSpacing:s}}(h,o,r,n,t),a=i.xAxisPoints,l=i.calPoints,s=i.eachSpacing;o.chartData.xAxisPoints=a,o.chartData.calPoints=l,o.chartData.eachSpacing=s,et(0,o,r,n),!1!==o.enableMarkLine&&1===t&&Y(o,0,n),it(o.series,o,r,n,o.chartData),U(o,r,n,t),ft(0,n)},onAnimationFinish:function(){s.uevent.trigger("renderComplete")}});break;case"bubble":this.animationInstance=new ut({timing:o.timing,duration:f,onProcess:function(t){n.clearRect(0,0,o.width,o.height),o.rotate&&R(n,o),tt(0,o,0,n),V(p,o,r,n);var i=function(t,i,o,r){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,l=e({},{opacity:1,border:2},i.extra.bubble);let s=i.chartData.xAxisData,h=s.xAxisPoints,c=s.eachSpacing;r.save();let x=0;return i.width,i._scrollDistance_&&0!==i._scrollDistance_&&!0===i.enableScroll&&(r.translate(i._scrollDistance_,0),x=-i._scrollDistance_-2*c+i.area[3],i.xAxis.itemCount),t.forEach((function(t,e){let s,x,d;s=[].concat(i.chartData.yAxisData.ranges[t.index]),x=s.pop(),d=s.shift();var p=F(t.data,x,d,h,c,i,o,n);r.beginPath(),r.setStrokeStyle(t.color),r.setLineWidth(l.border*i.pix),r.setFillStyle(a(t.color,l.opacity)),p.forEach((function(t,e){r.moveTo(t.x+t.r,t.y),r.arc(t.x,t.y,t.r*i.pix,0,2*Math.PI,!1)})),r.closePath(),r.fill(),r.stroke(),!1!==i.dataLabel&&1===n&&p.forEach((function(e,a){r.beginPath();var n=t.textSize*i.pix||o.fontSize;r.setFontSize(n),r.setFillStyle(t.textColor||"#FFFFFF"),r.setTextAlign("center"),r.fillText(String(e.t),e.x,e.y+n/2),r.closePath(),r.stroke(),r.setTextAlign("left")}))})),r.restore(),{xAxisPoints:h,calPoints:[],eachSpacing:c}}(h,o,r,n,t),l=i.xAxisPoints,s=i.calPoints,c=i.eachSpacing;o.chartData.xAxisPoints=l,o.chartData.calPoints=s,o.chartData.eachSpacing=c,et(0,o,r,n),!1!==o.enableMarkLine&&1===t&&Y(o,0,n),it(o.series,o,r,n,o.chartData),U(o,r,n,t),ft(0,n)},onAnimationFinish:function(){s.uevent.trigger("renderComplete")}});break;case"mix":this.animationInstance=new ut({timing:o.timing,duration:f,onProcess:function(t){n.clearRect(0,0,o.width,o.height),o.rotate&&R(n,o),tt(0,o,0,n),V(p,o,r,n);var i=function(t,i,o,r){let n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=i.chartData.xAxisData,h=s.xAxisPoints,c=s.eachSpacing,d=e({},{width:c/2,barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},i.extra.mix.column),p=e({},{opacity:.2,gradient:!1},i.extra.mix.area),f=e({},{width:2},i.extra.mix.line),g=i.height-i.area[2],u=[];var y=0,m=0;t.forEach((function(t,e){"column"==t.type&&(m+=1)})),r.save();let S=-2,v=h.length+2,A=0,T=i.width+c;i._scrollDistance_&&0!==i._scrollDistance_&&!0===i.enableScroll&&(r.translate(i._scrollDistance_,0),S=Math.floor(-i._scrollDistance_/c)-2,v=S+i.xAxis.itemCount+4,A=-i._scrollDistance_-2*c+i.area[3],T=A+(i.xAxis.itemCount+4)*c),d.customColor=x(d.linearType,d.customColor,t,o),t.forEach((function(t,e){let s,x,P;s=[].concat(i.chartData.yAxisData.ranges[t.index]),x=s.pop(),P=s.shift();var w=F(t.data,x,P,h,c,i,o,n);if(u.push(w),"column"==t.type){w=C(w,c,m,y,0,i);for(let e=0;eS&&ex?x:l,s=s>x?x:s,h=h>x?x:h,c=c>x?x:c,l=l<0?0:l,s=s<0?0:s,h=h<0?0:h,c=c<0?0:c,r.arc(t+l,e+l,l,-Math.PI,-Math.PI/2),r.arc(t+a-s,e+s,s,-Math.PI/2,0),r.arc(t+a-h,e+n-h,h,0,Math.PI/2),r.arc(t+c,e+n-c,c,Math.PI/2,Math.PI)}else r.moveTo(M,o.y),r.lineTo(M+o.width,o.y),r.lineTo(M+o.width,i.height-i.area[2]),r.lineTo(M,i.height-i.area[2]),r.lineTo(M,o.y),r.setLineWidth(1),r.setStrokeStyle(D);r.setFillStyle(_),r.closePath(),r.fill()}}y+=1}if("area"==t.type){let e=b(w,t);for(let o=0;o1){var k=n[0];let e=n[n.length-1];r.moveTo(k.x,k.y);let i=0;if("curve"===t.style)for(let t=0;tA&&(r.moveTo(e.x,e.y),i=1),t>0&&e.x>A&&e.xA&&(r.moveTo(e.x,e.y),i=1),t>0&&e.x>A&&e.xA&&(r.moveTo(a.x,a.y),i=1),t>0&&a.x>A&&a.xA&&(r.moveTo(a.x,a.y),i=1),t>0&&a.x>A&&a.x4&&void 0!==arguments[4]?arguments[4]:1,s=e({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1,activeType:"none"},i.extra.area);let h=i.chartData.xAxisData,c=h.xAxisPoints,x=h.eachSpacing,d=i.height-i.area[2],p=[];r.save();let f=0,g=i.width+x;return i._scrollDistance_&&0!==i._scrollDistance_&&!0===i.enableScroll&&(r.translate(i._scrollDistance_,0),f=-i._scrollDistance_-2*x+i.area[3],g=f+(i.xAxis.itemCount+4)*x),t.forEach((function(t,e){let h,u,y;h=[].concat(i.chartData.yAxisData.ranges[t.index]),u=h.pop(),y=h.shift();let m=F(t.data,u,y,c,x,i,o,n);p.push(m);let S=b(m,t);for(let o=0;o1){let t=e[0],i=e[e.length-1];r.moveTo(t.x,t.y);let a=0;if("curve"===s.type)for(let o=0;of&&(r.moveTo(t.x,t.y),a=1),o>0&&t.x>f&&t.xf&&(r.moveTo(t.x,t.y),a=1),o>0&&t.x>f&&t.xf&&(r.moveTo(t.x,t.y),a=1),o>0&&t.x>f&&t.xf&&(r.moveTo(a.x,a.y),t=1),i>0&&a.x>f&&a.xf&&(r.moveTo(a.x,a.y),t=1),i>0&&a.x>f&&a.xf&&(r.moveTo(a.x,a.y),t=1),i>0&&a.x>f&&a.x4&&void 0!==arguments[4]?arguments[4]:1,l=e({},{type:"area",activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF",linearType:"none",customColor:[]},i.extra.rose);0==o.pieChartLinePadding&&(o.pieChartLinePadding=l.activeRadius*i.pix);var s={x:i.area[3]+(i.width-i.area[1]-i.area[3])/2,y:i.area[0]+(i.height-i.area[0]-i.area[2])/2},h=Math.min((i.width-i.area[1]-i.area[3])/2-o.pieChartLinePadding-o.pieChartTextPadding-o._pieTextMaxLength_,(i.height-i.area[0]-i.area[2])/2-o.pieChartLinePadding-o.pieChartTextPadding);h=h<10?10:h;var c=l.minRadius||.5*h;h4&&void 0!==arguments[4]?arguments[4]:1,h=e({},{startAngle:.75,endAngle:.25,type:"default",direction:"cw",lineCap:"round",width:12,gap:2,linearType:"none",customColor:[]},i.extra.arcbar);t=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==i&&(i=.999999);for(let a=0;a=2&&(r._proportion_=r._proportion_%2)}return t}(t,h,s),n=h.centerX||h.centerY?{x:h.centerX?h.centerX:i.width/2,y:h.centerY?h.centerY:i.height/2}:{x:i.width/2,y:i.height/2},h.radius?l=h.radius:(l=Math.min(n.x,n.y),l-=5*i.pix,l-=h.width/2),l=l<10?10:l,h.customColor=x(h.linearType,h.customColor,t,o);for(let e=0;e0&&void 0!==arguments[0]?arguments[0]:{};switch(this.opts=e({},this.opts,t),this.opts.updateData=!0,t.scrollPosition||"current"){case"current":this.opts._scrollDistance_=this.scrollOption.currentOffset;break;case"left":this.opts._scrollDistance_=0,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0};break;case"right":let t=W(this.opts.series,this.opts,this.config,this.context).yAxisWidth;this.config.yAxisWidth=t;let e=0,i=_(this.opts.categories,this.opts,this.config),a=i.xAxisPoints,o=i.startX;e=i.endX-o-i.eachSpacing*(a.length-1),this.scrollOption={currentOffset:e,startTouchX:e,distance:0,lastMoveTime:0},this.opts._scrollDistance_=e}yt.call(this,this.opts.type,this.opts,this.config,this.context)},St.prototype.zoom=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.opts.xAxis.itemCount;if(!0!==this.opts.enableScroll)return void console.log("[uCharts] 请启用滚动条后使用");let e=Math.round(Math.abs(this.scrollOption.currentOffset)/this.opts.chartData.eachSpacing)+Math.round(this.opts.xAxis.itemCount/2);this.opts.animation=!1,this.opts.xAxis.itemCount=t.itemCount;let i=W(this.opts.series,this.opts,this.config,this.context).yAxisWidth;this.config.yAxisWidth=i;let a=0,o=_(this.opts.categories,this.opts,this.config),n=o.xAxisPoints,l=o.startX,s=o.endX,h=o.eachSpacing,c=h*e,x=s-l,d=x-h*(n.length-1);a=x/2-c,a>0&&(a=0),a=this.opts.categories.length?this.opts.categories.length:l,this.opts.animation=!1,this.opts.xAxis.itemCount=l;let s=0,h=_(this.opts.categories,this.opts,this.config),c=h.xAxisPoints,x=h.startX,d=h.endX,p=h.eachSpacing,f=p*this.scrollOption.moveCurrent1,u=d-x-p*(c.length-1);s=-f+Math.min(a[0].x,a[1].x)-this.opts.area[3]-p,s>0&&(s=0),s2*Math.PI&&(t-=2*Math.PI),t},n=Math.atan2(e.center.y-t.y,t.x-e.center.x);(n*=-1)<0&&(n+=2*Math.PI),e.angleList.map((function(t){return r(-1*t)})).forEach((function(t,e){var i=r(t-a/2),l=r(t+a/2);l=i&&n<=l||n+2*Math.PI>=i&&n+2*Math.PI<=l)&&(o=e)}))}return o}({x:i.x,y:i.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?function(t,e){for(var i=-1,a=0,o=e.series.length;ar.funnelArea[0]&&t.xr.funnelArea[1]&&t.yr.area[0]&&t.xr.area[1]&&t.y4&&void 0!==arguments[4]?arguments[4]:0,r={index:-1,group:[]},n=i.chartData.eachSpacing/2;let l=i.chartData.yAxisPoints;return e&&e.length>0&&S(t,i)&&l.forEach((function(e,i){t.y+o+n>e&&(r.index=i)})),r}({x:i.x,y:i.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset)):function(t,e,i,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r={index:-1,group:[]},n=i.chartData.eachSpacing/2;let l=[];if(e&&e.length>0){if(i.categories){for(let t=1;te&&(r.index=i)}));else{let i=Array(e.length);for(let r=0;re.start.x&&t.xe.start.y&&t.ya[0]-0&&t.xa[1]-0&&t.y1&&void 0!==arguments[1]?arguments[1]:{},i=null;if(i=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0]){g(i,this.opts,t);var a=this.getLegendDataIndex(t);a>=0&&("candle"==this.opts.type?this.opts.seriesMA[a].show=!this.opts.seriesMA[a].show:this.opts.series[a].show=!this.opts.series[a].show,this.opts.animation=!!e.animation,this.opts._scrollDistance_=this.scrollOption.currentOffset,yt.call(this,this.opts.type,this.opts,this.config,this.context))}},St.prototype.showToolTip=function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null;(a=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0])||console.log("[uCharts] 未获取到event坐标信息");var o=g(a,this.opts,t),r=this.scrollOption.currentOffset,n=e({},this.opts,{_scrollDistance_:r,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type||"scatter"===this.opts.type||"bubble"===this.opts.type){var l=this.getCurrentDataIndex(t);if((p=null==i.index?l.index:i.index)>-1||p.length>0)if(0!==(h=u(this.opts.series,p,l.group)).length){var s=(d=y(h,this.opts,p,l.group,this.opts.categories,i)).textList;(c=d.offset).y=o.y,n.tooltip={textList:void 0!==i.textList?i.textList:s,offset:void 0!==i.offset?i.offset:c,option:i,index:p,group:l.group}}yt.call(this,n.type,n,this.config,this.context)}if("mount"===this.opts.type){if((p=null==i.index?this.getCurrentDataIndex(t).index:i.index)>-1){n=e({},this.opts,{animation:!1});var h=e({},n._series_[p]),c=(s=[{text:i.formatter?i.formatter(h,void 0,p,n):h.name+": "+h.data,color:h.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?h.legendShape:this.opts.extra.tooltip.legendShape}],{x:n.chartData.calPoints[p].x,y:o.y});n.tooltip={textList:i.textList?i.textList:s,offset:void 0!==i.offset?i.offset:c,option:i,index:p}}yt.call(this,n.type,n,this.config,this.context)}if("bar"===this.opts.type){l=this.getCurrentDataIndex(t);if((p=null==i.index?l.index:i.index)>-1||p.length>0)if(0!==(h=u(this.opts.series,p,l.group)).length){s=(d=y(h,this.opts,p,l.group,this.opts.categories,i)).textList;(c=d.offset).x=o.x,n.tooltip={textList:void 0!==i.textList?i.textList:s,offset:void 0!==i.offset?i.offset:c,option:i,index:p}}yt.call(this,n.type,n,this.config,this.context)}if("mix"===this.opts.type){l=this.getCurrentDataIndex(t);if((p=null==i.index?l.index:i.index)>-1){r=this.scrollOption.currentOffset,n=e({},this.opts,{_scrollDistance_:r,animation:!1});if(0!==(h=u(this.opts.series,p)).length){var x=function(t,e,i,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=e.chartData.xAxisPoints[i]+e.chartData.eachSpacing/2,n=t.map((function(t){return{text:o.formatter?o.formatter(t,a[i],i,e):t.name+": "+t.data,color:t.color,disableLegend:!!t.disableLegend,legendShape:"auto"==e.extra.tooltip.legendShape?t.legendShape:e.extra.tooltip.legendShape}}));return{textList:n=n.filter((function(t){if(!0!==t.disableLegend)return t})),offset:{x:Math.round(r),y:0}}}(h,this.opts,p,this.opts.categories,i);s=x.textList;(c=x.offset).y=o.y,n.tooltip={textList:i.textList?i.textList:s,offset:void 0!==i.offset?i.offset:c,option:i,index:p}}}yt.call(this,n.type,n,this.config,this.context)}if("candle"===this.opts.type){l=this.getCurrentDataIndex(t);if((p=null==i.index?l.index:i.index)>-1){r=this.scrollOption.currentOffset,n=e({},this.opts,{_scrollDistance_:r,animation:!1});if(0!==(h=u(this.opts.series,p)).length){var d=function(t,e,i,a,o,r){var n=i.chartData.calPoints;let l=r.color.upFill,s=r.color.downFill,h=[l,l,s,l];var c=[];e.map((function(e){0==a?e.data[1]-e.data[0]<0?h[1]=s:h[1]=l:(e.data[0]t[a-1][1]&&(h[2]=l),e.data[3]-1){n=e({},this.opts,{animation:!1}),h=e({},n._series_[p]),s=[{text:i.formatter?i.formatter(h,void 0,p,n):h.name+": "+h.data,color:h.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?h.legendShape:this.opts.extra.tooltip.legendShape}],c={x:o.x,y:o.y};n.tooltip={textList:i.textList?i.textList:s,offset:void 0!==i.offset?i.offset:c,option:i,index:p}}yt.call(this,n.type,n,this.config,this.context)}if("map"===this.opts.type){if((p=null==i.index?this.getCurrentDataIndex(t):i.index)>-1){n=e({},this.opts,{animation:!1});(h=e({},this.opts.series[p])).name=h.properties.name;s=[{text:i.formatter?i.formatter(h,void 0,p,this.opts):h.name,color:h.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?h.legendShape:this.opts.extra.tooltip.legendShape}],c={x:o.x,y:o.y};n.tooltip={textList:i.textList?i.textList:s,offset:void 0!==i.offset?i.offset:c,option:i,index:p}}n.updateData=!1,yt.call(this,n.type,n,this.config,this.context)}if("word"===this.opts.type){if((p=null==i.index?this.getCurrentDataIndex(t):i.index)>-1){n=e({},this.opts,{animation:!1}),h=e({},this.opts.series[p]),s=[{text:i.formatter?i.formatter(h,void 0,p,this.opts):h.name,color:h.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?h.legendShape:this.opts.extra.tooltip.legendShape}],c={x:o.x,y:o.y};n.tooltip={textList:i.textList?i.textList:s,offset:void 0!==i.offset?i.offset:c,option:i,index:p}}n.updateData=!1,yt.call(this,n.type,n,this.config,this.context)}if("radar"===this.opts.type){var p;if((p=null==i.index?this.getCurrentDataIndex(t):i.index)>-1){n=e({},this.opts,{animation:!1});if(0!==(h=u(this.opts.series,p)).length){s=h.map((t=>({text:i.formatter?i.formatter(t,this.opts.categories[p],p,this.opts):t.name+": "+t.data,color:t.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?t.legendShape:this.opts.extra.tooltip.legendShape}))),c={x:o.x,y:o.y};n.tooltip={textList:i.textList?i.textList:s,offset:void 0!==i.offset?i.offset:c,option:i,index:p}}}yt.call(this,n.type,n,this.config,this.context)}},St.prototype.translate=function(t){this.scrollOption={currentOffset:t,startTouchX:t,distance:0,lastMoveTime:0};let i=e({},this.opts,{_scrollDistance_:t,animation:!1});yt.call(this,this.opts.type,i,this.config,this.context)},St.prototype.scrollStart=function(t){var e=null,i=g(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],this.opts,t);e&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=i.x)},St.prototype.scroll=function(t){0===this.scrollOption.lastMoveTime&&(this.scrollOption.lastMoveTime=Date.now());let i=this.opts.touchMoveLimit||60,a=Date.now();if(!(a-this.scrollOption.lastMoveTime{t=i(t,e)}),t},i={toFixed:function(t,e){return e=e||2,this.isFloat(t)&&(t=t.toFixed(e)),t},isFloat:function(t){return t%1!=0},approximatelyEqual:function(t,e){return Math.abs(t-e)<1e-10},isSameSign:function(t,e){return Math.abs(t)===t&&Math.abs(e)===e||Math.abs(t)!==t&&Math.abs(e)!==e},isSameXCoordinateArea:function(t,e){return this.isSameSign(t.x,e.x)},isCollision:function(t,e){return t.end={},t.end.x=t.start.x+t.width,t.end.y=t.start.y-t.height,e.end={},e.end.x=e.start.x+e.width,e.end.y=e.start.y-e.height,!(e.start.x>t.end.x||e.end.xt.start.y||e.start.y1&&(o.extra.mount.widthRatio>2&&(o.extra.mount.widthRatio=2),n+=(o.extra.mount.widthRatio-1)*i.eachSpacing);var l=e;return e>=0?(l=0,t.uevent.trigger("scrollLeft"),t.scrollOption.position="left",o.xAxis.scrollPosition="left"):Math.abs(e)>=n-r?(l=r-n,t.uevent.trigger("scrollRight"),t.scrollOption.position="right",o.xAxis.scrollPosition="right"):(t.scrollOption.position=e,o.xAxis.scrollPosition=e),l}function n(t,e,i){function a(t){for(;t<0;)t+=2*Math.PI;for(;t>2*Math.PI;)t-=2*Math.PI;return t}return t=a(t),(e=a(e))>(i=a(i))&&(i+=2*Math.PI,t=e&&t<=i}function l(t,e){function i(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].y>=Math.max(t[e-1].y,t[e+1].y)||t[e].y<=Math.min(t[e-1].y,t[e+1].y))}function a(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].x>=Math.max(t[e-1].x,t[e+1].x)||t[e].x<=Math.min(t[e-1].x,t[e+1].x))}var o=.2,r=.2,n=null,l=null,s=null,h=null;if(e<1?(n=t[0].x+(t[1].x-t[0].x)*o,l=t[0].y+(t[1].y-t[0].y)*o):(n=t[e].x+(t[e+1].x-t[e-1].x)*o,l=t[e].y+(t[e+1].y-t[e-1].y)*o),e>t.length-3){var c=t.length-1;s=t[c].x-(t[c].x-t[c-1].x)*r,h=t[c].y-(t[c].y-t[c-1].y)*r}else s=t[e+1].x-(t[e+2].x-t[e].x)*r,h=t[e+1].y-(t[e+2].y-t[e].y)*r;return i(t,e+1)&&(h=t[e+1].y),i(t,e)&&(l=t[e].y),a(t,e+1)&&(s=t[e+1].x),a(t,e)&&(n=t[e].x),(l>=Math.max(t[e].y,t[e+1].y)||l<=Math.min(t[e].y,t[e+1].y))&&(l=t[e].y),(h>=Math.max(t[e].y,t[e+1].y)||h<=Math.min(t[e].y,t[e+1].y))&&(h=t[e+1].y),(n>=Math.max(t[e].x,t[e+1].x)||n<=Math.min(t[e].x,t[e+1].x))&&(n=t[e].x),(s>=Math.max(t[e].x,t[e+1].x)||s<=Math.min(t[e].x,t[e+1].x))&&(s=t[e+1].x),{ctrA:{x:n,y:l},ctrB:{x:s,y:h}}}function s(t,e,i){return{x:i.x+t,y:i.y-e}}function h(t,e){if(e)for(;i.isCollision(t,e);)t.start.x>0?t.start.y--:t.start.x<0||t.start.y>0?t.start.y++:t.start.y--;return t}function c(t,e,i){for(var a=0,o=0;o-1;if(r){let e=m(t);for(var n=0;n5&&void 0!==arguments[5]?arguments[5]:{},n=e.chartData.calPoints?e.chartData.calPoints:[];let l={};if(a.length>0){let t=[];for(let e=0;e0&&(a=o[i]),{text:r.formatter?r.formatter(t,a,i,e):t.name+": "+t.data,color:t.color,legendShape:"auto"==e.extra.tooltip.legendShape?t.legendShape:e.extra.tooltip.legendShape}}),offset:{x:Math.round(l.x),y:Math.round(l.y)}}}function m(t){let e=[];for(let i=0;i=e.area[3]-10&&t.y>=e.area[0]&&t.y<=e.height-e.area[2]}function v(t,e,i){return Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)<=Math.pow(i,2)}function b(t,e){var i=[],a=[];return t.forEach(function(t,o){e.connectNulls?null!==t&&a.push(t):null!==t?a.push(t):(a.length&&i.push(a),a=[])}),a.length&&i.push(a),i}function A(t,e,i,a,o){var r={angle:0,xAxisHeight:e.xAxis.lineHeight*e.pix+e.xAxis.marginTop*e.pix},n=e.xAxis.fontSize*e.pix,l=t.map(function(t,i){var a=e.xAxis.formatter?e.xAxis.formatter(t,i,e):t;return d(String(a),n,o)}),s=Math.max.apply(this,l);if(1==e.xAxis.rotateLabel){r.angle=e.xAxis.rotateAngle*Math.PI/180;let t=e.xAxis.marginTop*e.pix*2+Math.abs(s*Math.sin(r.angle));t=t4&&void 0!==arguments[4]?arguments[4]:-1;o="stack"==a?f(t,e.categories.length):p(t);var n=[];(o=o.filter(function(t){return"object"==typeof t&&null!==t?t.constructor.toString().indexOf("Array")>-1?null!==t:null!==t.value:null!==t})).map(function(t){"object"==typeof t?t.constructor.toString().indexOf("Array")>-1?"candle"==e.type?t.map(function(t){n.push(t)}):n.push(t[0]):n.push(t.value):n.push(t)});var l=0,s=0;n.length>0&&(l=Math.min.apply(this,n),s=Math.max.apply(this,n)),r>-1?("number"==typeof e.xAxis.data[r].min&&(l=Math.min(e.xAxis.data[r].min,l)),"number"==typeof e.xAxis.data[r].max&&(s=Math.max(e.xAxis.data[r].max,s))):("number"==typeof e.xAxis.min&&(l=Math.min(e.xAxis.min,l)),"number"==typeof e.xAxis.max&&(s=Math.max(e.xAxis.max,s))),l===s&&(s+=s||10);for(var h=l,c=[],x=(s-h)/e.xAxis.splitNumber,d=0;d<=e.xAxis.splitNumber;d++)c.push(h+x*d);return c}(t,a,o,n.type),l.rangesFormat=l.ranges.map(function(t){return t=i.toFixed(t,2)});var s=l.ranges.map(function(t){return t=i.toFixed(t,2)});return(l=Object.assign(l,_(s,a))).eachSpacing,s.map(function(t){return d(t,a.xAxis.fontSize*a.pix,r)}),!0===a.xAxis.disabled&&(l.xAxisHeight=0),l}function P(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=0,o=0;for(let r=0;r4&&void 0!==arguments[4]?arguments[4]:1,r=0,n=0,l=[];for(let x=0;x0&&(t.width=Math.min(t.width,+r.extra.mix.column.width*r.pix)),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),t.width<=0&&(t.width=1),t.x+=(a+.5-i/2)*(t.width+o),t})}function M(t,e,i,a,o,r){return t.map(function(t){if(null===t)return null;var o=0,n=0;return o=r.extra.bar.seriesGap*r.pix||0,n=r.extra.bar.categoryGap*r.pix||0,o=Math.min(o,e/i),n=Math.min(n,e/i),t.width=Math.ceil((e-2*n-o*(i-1))/i),r.extra.bar&&r.extra.bar.width&&+r.extra.bar.width>0&&(t.width=Math.min(t.width,+r.extra.bar.width*r.pix)),t.width<=0&&(t.width=1),t.y+=(a+.5-i/2)*(t.width+o),t})}function _(t,e,i){var a=e.width-e.area[1]-e.area[3],o=e.enableScroll?Math.min(e.xAxis.itemCount,t.length):t.length;("line"==e.type||"area"==e.type||"scatter"==e.type||"bubble"==e.type||"bar"==e.type)&&o>1&&"justify"==e.xAxis.boundaryGap&&(o-=1);var r=0;"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),o+=r=e.extra.mount.widthRatio-1);var n=a/o,l=[],s=e.area[3],h=e.width-e.area[1];return t.forEach(function(t,e){l.push(s+r/2*n+e*n)}),"justify"!==e.xAxis.boundaryGap&&(!0===e.enableScroll?l.push(s+r*n+t.length*n):l.push(h)),{xAxisPoints:l,startX:s,endX:h,eachSpacing:n}}function F(t,e,i,a,o,r,n){var l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,s="center";"line"!=r.type&&"area"!=r.type&&"scatter"!=r.type&&"bubble"!=r.type||(s=r.xAxis.boundaryGap);var h=[],c=r.height-r.area[0]-r.area[2],x=r.width-r.area[1]-r.area[3];return t.forEach(function(t,n){if(null===t)h.push(null);else{var d={};d.color=t.color,d.x=a[n];var p=t;if("object"==typeof t&&null!==t)if(t.constructor.toString().indexOf("Array")>-1){let e,i,a;e=[].concat(r.chartData.xAxisData.ranges),i=e.shift(),a=e.pop(),p=t[1],d.x=r.area[3]+x*(t[0]-i)/(a-i),"bubble"==r.type&&(d.r=t[2],d.t=t[3])}else p=t.value;"center"==s&&(d.x+=o/2);var f=c*(p-e)/(i-e);f*=l,d.y=r.height-f-r.area[2],h.push(d)}}),h}function D(t,e,i,a,o,r,n,l,s){s=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1;var h=[],c=r.height-r.area[0]-r.area[2],x=r.width-r.area[1]-r.area[3];return t.forEach(function(t,n){if(null===t)h.push(null);else{var l={};l.color=t.color,l.x=a[n];var d=t;if("object"==typeof t&&null!==t)if(t.constructor.toString().indexOf("Array")>-1){let e,i,a;e=[].concat(r.chartData.xAxisData.ranges),i=e.shift(),a=e.pop(),d=t[1],l.x=r.area[3]+x*(t[0]-i)/(a-i)}else d=t.value;l.x+=o/2;var p=c*(d*s-e)/(i-e);l.y=r.height-p-r.area[2],h.push(l)}}),h}function L(t,e,i,a,o,r,n,l){var s=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1,h=[],c=r.height-r.area[0]-r.area[2];r.width,r.area[1],r.area[3];var x=o*n.widthRatio;return t.forEach(function(t,n){if(null===t)h.push(null);else{var l={};l.color=t.color,l.x=a[n],l.x+=o/2;var d=t.data,p=c*(d*s-e)/(i-e);l.y=r.height-p-r.area[2],l.value=d,l.width=x,h.push(l)}}),h}function k(t,e,i,a,o,r,n){var l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,s=[];r.height,r.area[0],r.area[2];var h=r.width-r.area[1]-r.area[3];return t.forEach(function(t,o){if(null===t)s.push(null);else{var n={};n.color=t.color,n.y=a[o];var c=t;"object"==typeof t&&null!==t&&(c=t.value);var x=h*(c-e)/(i-e);x*=l,n.height=x,n.value=c,n.x=x+r.area[3],s.push(n)}}),s}function I(t,e,i,a,o,r,n,l,s){var h=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,c=[],x=r.height-r.area[0]-r.area[2];return t.forEach(function(t,n){if(null===t)c.push(null);else{var d={};if(d.color=t.color,d.x=a[n]+Math.round(o/2),l>0){var p=0;for(let t=0;t<=l;t++)p+=s[t].data[n];var f=x*(p-e)/(i-e),g=x*(p-t-e)/(i-e)}else{p=t;"object"==typeof t&&null!==t&&(p=t.value);f=x*(p-e)/(i-e),g=0}var u=g;f*=h,u*=h,d.y=r.height-Math.round(f)-r.area[2],d.y0=r.height-Math.round(u)-r.area[2],c.push(d)}}),c}function z(t,e,i,a,o,r,n,l,s){var h=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,c=[],x=r.width-r.area[1]-r.area[3];return t.forEach(function(t,o){if(null===t)c.push(null);else{var n={};if(n.color=t.color,n.y=a[o],l>0){var d=0;for(let t=0;t<=l;t++)d+=s[t].data[o];var p=x*(d-e)/(i-e),f=x*(d-t-e)/(i-e)}else{d=t;"object"==typeof t&&null!==t&&(d=t.value);p=x*(d-e)/(i-e),f=0}var g=f;p*=h,g*=h,n.height=p-g,n.x=r.area[3]+p,n.x0=r.area[3]+g,c.push(n)}}),c}function O(t,e,i,a,r){var n;n="stack"==a?f(t,e.categories.length):p(t);var l=[];(n=n.filter(function(t){return"object"==typeof t&&null!==t?t.constructor.toString().indexOf("Array")>-1?null!==t:null!==t.value:null!==t})).map(function(t){"object"==typeof t?t.constructor.toString().indexOf("Array")>-1?"candle"==e.type?t.map(function(t){l.push(t)}):l.push(t[1]):l.push(t.value):l.push(t)});var s=r.min||0,h=r.max||0;l.length>0&&(s=Math.min.apply(this,l),h=Math.max.apply(this,l)),s===h&&(0==h?h=10:s=0);for(var c=function(t,e){var i=0,a=e-t;return{minRange:o(t,"lower",i=a>=1e4?1e3:a>=1e3?100:a>=100?10:a>=10?5:a>=1?1:a>=.1?.1:a>=.01?.01:a>=.001?.001:a>=1e-4?1e-4:a>=1e-5?1e-5:1e-6),maxRange:o(e,"upper",i)}}(s,h),x=void 0===r.min||null===r.min?c.minRange:r.min,d=((void 0===r.max||null===r.max?c.maxRange:r.max)-x)/e.yAxis.splitNumber,g=[],u=0;u<=e.yAxis.splitNumber;u++)g.push(x+d*u);return g.reverse()}function W(t,a,o,r){var n=e({},{type:""},a.extra.column),l=a.yAxis.data.length,s=new Array(l);if(l>0){for(let e=0;et+(e.unit||"")),e.categories=e.categories||a.categories,h[t]=e.categories):(e.formatter||(e.formatter=(t,a,o)=>i.toFixed(t,e.tofix||0)+(e.unit||"")),h[t]=O(s[t],a,0,n.type,e));let l=e.fontSize*a.pix||o.fontSize;x[t]={position:e.position?e.position:"left",width:0},c[t]=h[t].map(function(i,o){return i=e.formatter(i,o,a),x[t].width=Math.max(x[t].width,d(i,l,r)+5),i});let p=e.calibration?4*a.pix:0;x[t].width+=p+3*a.pix,!0===e.disabled&&(x[t].width=0)}}else{h=new Array(1),c=new Array(1),x=new Array(1);"bar"===a.type?(h[0]=a.categories,a.yAxis.formatter||(a.yAxis.formatter=(t,e,i)=>t+(i.yAxis.unit||""))):(a.yAxis.formatter||(a.yAxis.formatter=(t,e,i)=>t.toFixed(i.yAxis.tofix)+(i.yAxis.unit||"")),h[0]=O(t,a,0,n.type,{})),x[0]={position:"left",width:0};var p=a.yAxis.fontSize*a.pix||o.fontSize;c[0]=h[0].map(function(t,e){return t=a.yAxis.formatter(t,e,a),x[0].width=Math.max(x[0].width,d(t,p,r)+5),t}),x[0].width+=3*a.pix,!0===a.yAxis.disabled?(x[0]={position:"left",width:0},a.yAxis.data[0]={disabled:!0}):(a.yAxis.data[0]={disabled:!1,position:"left",max:a.yAxis.max,min:a.yAxis.min,formatter:a.yAxis.formatter},"bar"===a.type&&(a.yAxis.data[0].categories=a.categories,a.yAxis.data[0].type="categories"))}return{rangesFormat:c,ranges:h,yAxisWidth:x}}function R(t,e){!0!==e.rotateLock?(t.translate(e.height,0),t.rotate(90*Math.PI/180)):!0!==e._rotate_&&(t.translate(e.height,0),t.rotate(90*Math.PI/180),e._rotate_=!0)}function E(t,e,i,a,o){if(a.beginPath(),"hollow"==o.dataPointShapeType?(a.setStrokeStyle(e),a.setFillStyle(o.background),a.setLineWidth(2*o.pix)):(a.setStrokeStyle("#ffffff"),a.setFillStyle(e),a.setLineWidth(1*o.pix)),"diamond"===i)t.forEach(function(t,e){null!==t&&(a.moveTo(t.x,t.y-4.5),a.lineTo(t.x-4.5,t.y),a.lineTo(t.x,t.y+4.5),a.lineTo(t.x+4.5,t.y),a.lineTo(t.x,t.y-4.5))});else if("circle"===i)t.forEach(function(t,e){null!==t&&(a.moveTo(t.x+2.5*o.pix,t.y),a.arc(t.x,t.y,3*o.pix,0,2*Math.PI,!1))});else if("square"===i)t.forEach(function(t,e){null!==t&&(a.moveTo(t.x-3.5,t.y-3.5),a.rect(t.x-3.5,t.y-3.5,7,7))});else if("triangle"===i)t.forEach(function(t,e){null!==t&&(a.moveTo(t.x,t.y-4.5),a.lineTo(t.x-4.5,t.y+4.5),a.lineTo(t.x+4.5,t.y+4.5),a.lineTo(t.x,t.y-4.5))});else if("none"===i)return;a.closePath(),a.fill(),a.stroke()}function B(t,e,i,a,o,r,n){if(o.tooltip&&!(o.tooltip.group.length>0&&0==o.tooltip.group.includes(n))){var l="number"==typeof o.tooltip.index?o.tooltip.index:o.tooltip.index[o.tooltip.group.indexOf(n)];if(a.beginPath(),"hollow"==r.activeType?(a.setStrokeStyle(e),a.setFillStyle(o.background),a.setLineWidth(2*o.pix)):(a.setStrokeStyle("#ffffff"),a.setFillStyle(e),a.setLineWidth(1*o.pix)),"diamond"===i)t.forEach(function(t,e){null!==t&&l==e&&(a.moveTo(t.x,t.y-4.5),a.lineTo(t.x-4.5,t.y),a.lineTo(t.x,t.y+4.5),a.lineTo(t.x+4.5,t.y),a.lineTo(t.x,t.y-4.5))});else if("circle"===i)t.forEach(function(t,e){null!==t&&l==e&&(a.moveTo(t.x+2.5*o.pix,t.y),a.arc(t.x,t.y,3*o.pix,0,2*Math.PI,!1))});else if("square"===i)t.forEach(function(t,e){null!==t&&l==e&&(a.moveTo(t.x-3.5,t.y-3.5),a.rect(t.x-3.5,t.y-3.5,7,7))});else if("triangle"===i)t.forEach(function(t,e){null!==t&&l==e&&(a.moveTo(t.x,t.y-4.5),a.lineTo(t.x-4.5,t.y+4.5),a.lineTo(t.x+4.5,t.y+4.5),a.lineTo(t.x,t.y-4.5))});else if("none"===i)return;a.closePath(),a.fill(),a.stroke()}}function G(t,e,i,a){var o=t.title.fontSize||e.titleFontSize,r=t.subtitle.fontSize||e.subtitleFontSize,n=t.title.name||"",l=t.subtitle.name||"",s=t.title.color||t.fontColor,h=t.subtitle.color||t.fontColor,c=n?o:0,x=l?r:0;if(l){var p=d(l,r*t.pix,i),f=a.x-p/2+(t.subtitle.offsetX||0)*t.pix,g=a.y+r*t.pix/2+(t.subtitle.offsetY||0)*t.pix;n&&(g+=(c*t.pix+5)/2),i.beginPath(),i.setFontSize(r*t.pix),i.setFillStyle(h),i.fillText(l,f,g),i.closePath(),i.stroke()}if(n){var u=d(n,o*t.pix,i),y=a.x-u/2+(t.title.offsetX||0),m=a.y+o*t.pix/2+(t.title.offsetY||0)*t.pix;l&&(m-=(x*t.pix+5)/2),i.beginPath(),i.setFontSize(o*t.pix),i.setFillStyle(s),i.fillText(n,y,m),i.closePath(),i.stroke()}}function X(t,e,i,a,o){var r=e.data,n=e.textOffset?e.textOffset:0;t.forEach(function(t,l){if(null!==t){a.beginPath();var s=e.textSize?e.textSize*o.pix:i.fontSize;a.setFontSize(s),a.setFillStyle(e.textColor||o.fontColor);var h=r[l];"object"==typeof r[l]&&null!==r[l]&&(h=r[l].constructor.toString().indexOf("Array")>-1?r[l][1]:r[l].value);var c=e.formatter?e.formatter(h,l,e,o):h;a.setTextAlign("center"),a.fillText(String(c),t.x,t.y-4+n*o.pix),a.closePath(),a.stroke(),a.setTextAlign("left")}})}function N(t,e,i,a,o){var r=e.data,n=e.textOffset?e.textOffset:0,l=o.extra.column.labelPosition;t.forEach(function(t,s){if(null!==t){a.beginPath();var h=e.textSize?e.textSize*o.pix:i.fontSize;a.setFontSize(h),a.setFillStyle(e.textColor||o.fontColor);var c=r[s];"object"==typeof r[s]&&null!==r[s]&&(c=r[s].constructor.toString().indexOf("Array")>-1?r[s][1]:r[s].value);var x=e.formatter?e.formatter(c,s,e,o):c;a.setTextAlign("center");var d=t.y-4*o.pix+n*o.pix;t.y>e.zeroPoints&&(d=t.y+n*o.pix+h),"insideTop"==l&&(d=t.y+h+n*o.pix,t.y>e.zeroPoints&&(d=t.y-n*o.pix-4*o.pix)),"center"==l&&(d=t.y+n*o.pix+(o.height-o.area[2]-t.y+h)/2,e.zeroPointse.zeroPoints&&(d=t.y-n*o.pix-(t.y-e.zeroPoints-h)/2),"stack"==o.extra.column.type&&(d=t.y+n*o.pix+(t.y0-t.y+h)/2)),"bottom"==l&&(d=o.height-o.area[2]+n*o.pix-4*o.pix,e.zeroPointse.zeroPoints&&(d=e.zeroPoints-n*o.pix+h+2*o.pix),"stack"==o.extra.column.type&&(d=t.y0+n*o.pix-4*o.pix)),a.fillText(String(x),t.x,d),a.closePath(),a.stroke(),a.setTextAlign("left")}})}function H(t,e,i,a,o){var r=e.data;e.textOffset&&e.textOffset,t.forEach(function(t,n){if(null!==t){a.beginPath();var l=e.textSize?e.textSize*o.pix:i.fontSize;a.setFontSize(l),a.setFillStyle(e.textColor||o.fontColor);var s=r[n];"object"==typeof r[n]&&null!==r[n]&&(s=r[n].value);var h=e.formatter?e.formatter(s,n,e,o):s;a.setTextAlign("left"),a.fillText(String(h),t.x+4*o.pix,t.y+l/2-3),a.closePath(),a.stroke()}})}function j(t,e,a,o,r,n){var l=a.pieChartLinePadding,c=[],x=null,p=t.map(function(a,o){var r=a.formatter?a.formatter(a,o,t,e):i.toFixed(100*a._proportion_.toFixed(4))+"%";r=a.labelText?a.labelText:r;var n=2*Math.PI-(a._start_+2*Math.PI*a._proportion_/2);return a._rose_proportion_&&(n=2*Math.PI-(a._start_+2*Math.PI*a._rose_proportion_/2)),{arc:n,text:r,color:a.color,radius:a._radius_,textColor:a.textColor,textSize:a.textSize,labelShow:a.labelShow}});for(let s=0;s=0?r+a.pieChartTextPadding:r-a.pieChartTextPadding,y=n,m=d(t.text,t.textSize*e.pix||a.fontSize,o),S=y;x&&i.isSameXCoordinateArea(x.start,{x:u})&&(S=u>0?Math.min(y,x.start.y):r<0||y>0?Math.max(y,x.start.y):Math.min(y,x.start.y)),u<0&&(u-=m),x=h({lineStart:{x:f,y:g},lineEnd:{x:r,y:n},start:{x:u,y:S},width:m,height:a.fontSize,text:t.text,color:t.color,textColor:t.textColor,textSize:t.textSize},x),c.push(x)}for(let i=0;io.width&&(y=!0),v+i.y>o.height&&(i.y=o.height-v),n.beginPath(),n.setFillStyle(a(h.bgColor,h.bgOpacity)),n.setLineWidth(h.borderWidth*o.pix),n.setStrokeStyle(a(h.borderColor,h.borderOpacity));var b=h.borderRadius;y?(S+u>o.width&&(i.x=o.width+Math.abs(o._scrollDistance_||0)+u+(S-o.width)),S>i.x&&(i.x=o.width+Math.abs(o._scrollDistance_||0)+u+(S-o.width)),h.showArrow&&(n.moveTo(i.x,i.y+10*o.pix),n.lineTo(i.x-u,i.y+10*o.pix+5*o.pix)),n.arc(i.x-u-b,i.y+v-b,b,0,Math.PI/2,!1),n.arc(i.x-u-Math.round(S)+b,i.y+v-b,b,Math.PI/2,Math.PI,!1),n.arc(i.x-u-Math.round(S)+b,i.y+b,b,-Math.PI,-Math.PI/2,!1),n.arc(i.x-u-b,i.y+b,b,-Math.PI/2,0,!1),h.showArrow&&(n.lineTo(i.x-u,i.y+10*o.pix-5*o.pix),n.lineTo(i.x,i.y+10*o.pix))):(h.showArrow&&(n.moveTo(i.x,i.y+10*o.pix),n.lineTo(i.x+u,i.y+10*o.pix-5*o.pix)),n.arc(i.x+u+b,i.y+b,b,-Math.PI,-Math.PI/2,!1),n.arc(i.x+u+Math.round(S)-b,i.y+b,b,-Math.PI/2,0,!1),n.arc(i.x+u+Math.round(S)-b,i.y+v-b,b,0,Math.PI/2,!1),n.arc(i.x+u+b,i.y+v-b,b,Math.PI/2,Math.PI,!1),h.showArrow&&(n.lineTo(i.x+u,i.y+10*o.pix+5*o.pix),n.lineTo(i.x,i.y+10*o.pix))),n.closePath(),n.fill(),h.borderWidth>0&&n.stroke(),h.legendShow&&t.forEach(function(t,e){if(null!==t.color){n.beginPath(),n.setFillStyle(t.color);var a=i.x+u+2*p,r=i.y+(x-c)/2+x*e+p+1;switch(y&&(a=i.x-S-u+2*p),t.legendShape){case"line":n.moveTo(a,r+.5*f-2*o.pix),n.fillRect(a,r+.5*f-2*o.pix,f,4*o.pix);break;case"triangle":n.moveTo(a+7.5*o.pix,r+.5*f-5*o.pix),n.lineTo(a+2.5*o.pix,r+.5*f+5*o.pix),n.lineTo(a+12.5*o.pix,r+.5*f+5*o.pix),n.lineTo(a+7.5*o.pix,r+.5*f-5*o.pix);break;case"diamond":n.moveTo(a+7.5*o.pix,r+.5*f-5*o.pix),n.lineTo(a+2.5*o.pix,r+.5*f),n.lineTo(a+7.5*o.pix,r+.5*f+5*o.pix),n.lineTo(a+12.5*o.pix,r+.5*f),n.lineTo(a+7.5*o.pix,r+.5*f-5*o.pix);break;case"circle":n.moveTo(a+7.5*o.pix,r+.5*f),n.arc(a+7.5*o.pix,r+.5*f,5*o.pix,0,2*Math.PI);break;case"rect":default:n.moveTo(a,r+.5*f-5*o.pix),n.fillRect(a,r+.5*f-5*o.pix,15*o.pix,10*o.pix);break;case"square":n.moveTo(a+2*o.pix,r+.5*f-5*o.pix),n.fillRect(a+2*o.pix,r+.5*f-5*o.pix,10*o.pix,10*o.pix)}n.closePath(),n.fill()}}),t.forEach(function(t,e){var a=i.x+u+2*p+f+g;y&&(a=i.x-S-u+2*p+f+g);var o=i.y+x*e+(x-c)/2-1+p+c;n.beginPath(),n.setFontSize(c),n.setTextBaseline("normal"),n.setFillStyle(h.fontColor),n.fillText(t.text,a,o),n.closePath(),n.stroke()})}}function Z(t,i,o,r){let n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,l=i.chartData.xAxisData,s=l.xAxisPoints,h=l.eachSpacing,c=e({},{type:"group",width:h/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0,labelPosition:"outside"},i.extra.column),d=[];r.save();let p=-2,f=s.length+2;return i._scrollDistance_&&0!==i._scrollDistance_&&!0===i.enableScroll&&(r.translate(i._scrollDistance_,0),p=Math.floor(-i._scrollDistance_/h)-2,f=p+i.xAxis.itemCount+4),i.tooltip&&i.tooltip.textList&&i.tooltip.textList.length&&1===n&&function(t,i,o,r,n){var l=e({},{activeBgColor:"#000000",activeBgOpacity:.08,activeWidth:n},i.extra.column);l.activeWidth=l.activeWidth>n?n:l.activeWidth;var s=i.area[0],h=i.height-i.area[2];r.beginPath(),r.setFillStyle(a(l.activeBgColor,l.activeBgOpacity)),r.rect(t-l.activeWidth/2,s,l.activeWidth,h-s),r.closePath(),r.fill(),r.setFillStyle("#FFFFFF")}(i.tooltip.offset.x,i,0,r,h),c.customColor=x(c.linearType,c.customColor,t,o),t.forEach(function(e,l){let x,g,u;x=[].concat(i.chartData.yAxisData.ranges[e.index]),g=x.pop(),u=x.shift();let y=(i.height-i.area[0]-i.area[2])*(0-g)/(u-g),m=i.height-Math.round(y)-i.area[2];e.zeroPoints=m;var S=e.data;switch(c.type){case"group":var v=D(S,g,u,s,h,i,o,m,n),b=I(S,g,u,s,h,i,o,l,t,n);d.push(b),v=C(v,h,t.length,l,0,i);for(let t=0;tp&&tm?m:o.y,i=o.width,a=Math.abs(m-o.y);c.barBorderCircle&&(c.barBorderRadius=[i/2,i/2,0,0]),o.y>m&&(c.barBorderRadius=[0,0,i/2,i/2]);let[n,l,s,h]=c.barBorderRadius,x=Math.min(i/2,a/2);n=n>x?x:n,l=l>x?x:l,s=s>x?x:s,h=h>x?x:h,n=n<0?0:n,l=l<0?0:l,s=s<0?0:s,h=h<0?0:h,r.arc(t+n,e+n,n,-Math.PI,-Math.PI/2),r.arc(t+i-l,e+l,l,-Math.PI/2,0),r.arc(t+i-s,e+a-s,s,0,Math.PI/2),r.arc(t+h,e+a-h,h,Math.PI/2,Math.PI)}else r.moveTo(A,o.y),r.lineTo(A+o.width,o.y),r.lineTo(A+o.width,m),r.lineTo(A,m),r.lineTo(A,o.y),r.setLineWidth(1),r.setStrokeStyle(w);r.setFillStyle(P),r.closePath(),r.fill()}}break;case"stack":v=I(S,g,u,s,h,i,o,l,t,n);d.push(v),v=function(t,e,i,a,o,r){var n=r.extra.column.categoryGap*r.pix||0;return t.map(function(t,i){return null===t?null:(t.width=Math.ceil(e-2*n),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),t.width<=0&&(t.width=1),t)})}(v,h,t.length,0,0,i);for(let t=0;tp&&t0&&(T-=_),r.setFillStyle(P),r.moveTo(A,a.y),r.fillRect(A,a.y,a.width,T),r.closePath(),r.fill()}}break;case"meter":v=F(S,g,u,s,h,i,o,n);d.push(v),v=function(t,e,i,a,o,r,n){var l=r.extra.column.categoryGap*r.pix||0;return t.map(function(t){return null===t?null:(t.width=e-2*l,r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),a>0&&(t.width-=n),t)})}(v,h,t.length,l,0,i,c.meterBorder);for(let t=0;tp&&t0&&(r.setStrokeStyle(e.color),r.setLineWidth(c.meterBorder*i.pix)),0==l?r.setFillStyle(c.meterFillColor):r.setFillStyle(a.color||e.color);A=a.x-a.width/2,T=i.height-a.y-i.area[2];if(c.barBorderRadius&&4===c.barBorderRadius.length||!0===c.barBorderCircle){const t=A,e=a.y,i=a.width,o=m-a.y;c.barBorderCircle&&(c.barBorderRadius=[i/2,i/2,0,0]);let[n,l,s,h]=c.barBorderRadius,x=Math.min(i/2,o/2);n=n>x?x:n,l=l>x?x:l,s=s>x?x:s,h=h>x?x:h,n=n<0?0:n,l=l<0?0:l,s=s<0?0:s,h=h<0?0:h,r.arc(t+n,e+n,n,-Math.PI,-Math.PI/2),r.arc(t+i-l,e+l,l,-Math.PI/2,0),r.arc(t+i-s,e+o-s,s,0,Math.PI/2),r.arc(t+h,e+o-h,h,Math.PI/2,Math.PI),r.fill()}else r.moveTo(A,a.y),r.lineTo(A+a.width,a.y),r.lineTo(A+a.width,m),r.lineTo(A,m),r.lineTo(A,a.y),r.fill();0==l&&c.meterBorder>0&&(r.closePath(),r.stroke())}}}}),!1!==i.dataLabel&&1===n&&t.forEach(function(e,a){let l,x,d;l=[].concat(i.chartData.yAxisData.ranges[e.index]),x=l.pop(),d=l.shift();var p=e.data;switch(c.type){case"group":N(C(D(p,x,d,s,h,i,o,n),h,t.length,a,0,i),e,o,r,i);break;case"stack":N(I(p,x,d,s,h,i,o,a,t,n),e,o,r,i);break;case"meter":N(F(p,x,d,s,h,i,o,n),e,o,r,i)}}),r.restore(),{xAxisPoints:s,calPoints:d,eachSpacing:h}}function $(t,i,o,r){let n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,l=i.chartData.xAxisData,s=l.xAxisPoints,h=l.eachSpacing,c=e({},{type:"mount",widthRatio:1,borderWidth:1,barBorderCircle:!1,barBorderRadius:[],linearType:"none",linearOpacity:1,customColor:[],colorStop:0},i.extra.mount);c.widthRatio=c.widthRatio<=0?0:c.widthRatio,c.widthRatio=c.widthRatio>=2?2:c.widthRatio,r.save();let d,p,f,g=-2,u=s.length+2;i._scrollDistance_&&0!==i._scrollDistance_&&!0===i.enableScroll&&(r.translate(i._scrollDistance_,0),g=Math.floor(-i._scrollDistance_/h)-2,u=g+i.xAxis.itemCount+4),c.customColor=x(c.linearType,c.customColor,t,o),d=[].concat(i.chartData.yAxisData.ranges[0]),p=d.pop(),f=d.shift();let y=(i.height-i.area[0]-i.area[2])*(0-p)/(f-p),m=i.height-Math.round(y)-i.area[2];var S=L(t,p,f,s,h,i,c,m,n);switch(c.type){case"bar":for(let e=0;eg&&em?m:o.y,i=o.width,a=Math.abs(m-o.y);c.barBorderCircle&&(c.barBorderRadius=[i/2,i/2,0,0]),o.y>m&&(c.barBorderRadius=[0,0,i/2,i/2]);let[n,l,s,h]=c.barBorderRadius,x=Math.min(i/2,a/2);n=n>x?x:n,l=l>x?x:l,s=s>x?x:s,h=h>x?x:h,n=n<0?0:n,l=l<0?0:l,s=s<0?0:s,h=h<0?0:h,r.arc(t+n,e+n,n,-Math.PI,-Math.PI/2),r.arc(t+i-l,e+l,l,-Math.PI/2,0),r.arc(t+i-s,e+a-s,s,0,Math.PI/2),r.arc(t+h,e+a-h,h,Math.PI/2,Math.PI)}else r.moveTo(v,o.y),r.lineTo(v+o.width,o.y),r.lineTo(v+o.width,m),r.lineTo(v,m),r.lineTo(v,o.y);r.setStrokeStyle(T),r.setFillStyle(A),c.borderWidth>0&&(r.setLineWidth(c.borderWidth*i.pix),r.closePath(),r.stroke()),r.fill()}}break;case"triangle":for(let e=0;eg&&e0&&(r.setLineWidth(c.borderWidth*i.pix),r.stroke()),r.fill()}}break;case"mount":for(let e=0;eg&&e0&&(r.setLineWidth(c.borderWidth*i.pix),r.stroke()),r.fill()}}break;case"sharp":for(let e=0;eg&&e0&&(r.setLineWidth(c.borderWidth*i.pix),r.stroke()),r.fill()}}}if(!1!==i.dataLabel&&1===n){let e,a,l;e=[].concat(i.chartData.yAxisData.ranges[0]),a=e.pop(),l=e.shift(),function(t,e,i,a,o,r){e.data;var n=e.textOffset?e.textOffset:0;o.extra.mount.labelPosition,t.forEach(function(t,l){if(null!==t){a.beginPath();var s=e[l].textSize?e[l].textSize*o.pix:i.fontSize;a.setFontSize(s),a.setFillStyle(e[l].textColor||o.fontColor);var h=t.value,c=e[l].formatter?e[l].formatter(h,l,e,o):h;a.setTextAlign("center");var x=t.y-4*o.pix+n*o.pix;t.y>r&&(x=t.y+n*o.pix+s),a.fillText(String(c),t.x,x),a.closePath(),a.stroke(),a.setTextAlign("left")}})}(S=L(t,a,l,s,h,i,c,m,n),t,o,r,i,m)}return r.restore(),{xAxisPoints:s,calPoints:S,eachSpacing:h}}function K(t,i,o,r){let n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,l=[],s=(i.height-i.area[0]-i.area[2])/i.categories.length;for(let e=0;e-2&&tx?x:n,l=l>x?x:l,s=s>x?x:s,c=c>x?x:c,n=n<0?0:n,l=l<0?0:l,s=s<0?0:s,c=c<0?0:c,r.arc(t+c,i+c,c,-Math.PI,-Math.PI/2),r.arc(o.x-n,i+n,n,-Math.PI/2,0),r.arc(o.x-l,i+e-l,l,0,Math.PI/2),r.arc(t+s,i+e-s,s,Math.PI/2,Math.PI)}else r.moveTo(S,v),r.lineTo(o.x,v),r.lineTo(o.x,v+o.width),r.lineTo(S,v+o.width),r.lineTo(S,v),r.setLineWidth(1),r.setStrokeStyle(A);r.setFillStyle(b),r.closePath(),r.fill()}}break;case"stack":y=z(u,f,g,l,s,i,o,x,t,n);c.push(y),y=function(t,e,i,a,o,r){var n=r.extra.bar.categoryGap*r.pix||0;return t.map(function(t,i){return null===t?null:(t.width=Math.ceil(e-2*n),r.extra.bar&&r.extra.bar.width&&+r.extra.bar.width>0&&(t.width=Math.min(t.width,+r.extra.bar.width*r.pix)),t.width<=0&&(t.width=1),t)})}(y,s,t.length,0,0,i);for(let t=0;t-2&&t5&&void 0!==arguments[5]?arguments[5]:1,s=e({},{color:{},average:{}},a.extra.candle);s.color=e({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},s.color),s.average=e({},{show:!1,name:[],day:[],color:o.color},s.average),a.extra.candle=s;let h=a.chartData.xAxisData,c=h.xAxisPoints,x=h.eachSpacing,d=[];r.save();let p=-2,f=c.length+2,g=0,u=a.width+x;return a._scrollDistance_&&0!==a._scrollDistance_&&!0===a.enableScroll&&(r.translate(a._scrollDistance_,0),p=Math.floor(-a._scrollDistance_/x)-2,f=p+a.xAxis.itemCount+4,g=-a._scrollDistance_-2*x+a.area[3],u=g+(a.xAxis.itemCount+4)*x),(s.average.show||i)&&i.forEach(function(t,e){let i,s,h;i=[].concat(a.chartData.yAxisData.ranges[t.index]),s=i.pop(),h=i.shift();var d=b(F(t.data,s,h,c,x,a,o,n),t);for(let a=0;ag&&(r.moveTo(a.x,a.y),t=1),i>0&&a.x>g&&a.x7&&void 0!==arguments[7]?arguments[7]:1,s=[],h=r.height-r.area[0]-r.area[2];return t.forEach(function(t,n){if(null===t)s.push(null);else{var c=[];t.forEach(function(t,s){var x={};x.x=a[n]+Math.round(o/2);var d=t.value||t,p=h*(d-e)/(i-e);p*=l,x.y=r.height-Math.round(p)-r.area[2],c.push(x)}),s.push(c)}}),s}(g,l,h,c,x,a,o,n);d.push(u);var y=b(u,t);for(let o=0;op&&o0?(r.setStrokeStyle(s.color.upLine),r.setFillStyle(s.color.upFill),r.setLineWidth(1*a.pix),r.moveTo(t[3].x,t[3].y),r.lineTo(t[1].x,t[1].y),r.lineTo(t[1].x-x/4,t[1].y),r.lineTo(t[0].x-x/4,t[0].y),r.lineTo(t[0].x,t[0].y),r.lineTo(t[2].x,t[2].y),r.lineTo(t[0].x,t[0].y),r.lineTo(t[0].x+x/4,t[0].y),r.lineTo(t[1].x+x/4,t[1].y),r.lineTo(t[1].x,t[1].y),r.moveTo(t[3].x,t[3].y)):(r.setStrokeStyle(s.color.downLine),r.setFillStyle(s.color.downFill),r.setLineWidth(1*a.pix),r.moveTo(t[3].x,t[3].y),r.lineTo(t[0].x,t[0].y),r.lineTo(t[0].x-x/4,t[0].y),r.lineTo(t[1].x-x/4,t[1].y),r.lineTo(t[1].x,t[1].y),r.lineTo(t[2].x,t[2].y),r.lineTo(t[1].x,t[1].y),r.lineTo(t[1].x+x/4,t[1].y),r.lineTo(t[0].x+x/4,t[0].y),r.lineTo(t[0].x,t[0].y),r.moveTo(t[3].x,t[3].y)),r.closePath(),r.fill(),r.stroke()}}),r.restore(),{xAxisPoints:c,calPoints:d,eachSpacing:x}}function U(t,e,i,a,o,r){(t.extra.tooltip||{}).horizentalLine&&t.tooltip&&1===a&&("line"==t.type||"area"==t.type||"column"==t.type||"mount"==t.type||"candle"==t.type||"mix"==t.type)&&q(t,e,i),i.save(),t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&i.translate(t._scrollDistance_,0),t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===a&&J(t.tooltip.textList,t.tooltip.offset,t,e,i),i.restore()}function V(t,e,i,a){let o=e.chartData.xAxisData,r=o.xAxisPoints,n=o.startX,l=o.endX,s=o.eachSpacing;var h="center";"bar"!=e.type&&"line"!=e.type&&"area"!=e.type&&"scatter"!=e.type&&"bubble"!=e.type||(h=e.xAxis.boundaryGap);var c=e.height-e.area[2],x=e.area[0];if(e.enableScroll&&e.xAxis.scrollShow){var p=e.height-e.area[2]+i.xAxisHeight,f=l-n,g=s*(r.length-1);"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),g+=(e.extra.mount.widthRatio-1)*s);var u=f*f/g,y=0;e._scrollDistance_&&(y=-e._scrollDistance_*f/g),a.beginPath(),a.setLineCap("round"),a.setLineWidth(6*e.pix),a.setStrokeStyle(e.xAxis.scrollBackgroundColor||"#EFEBEF"),a.moveTo(n,p),a.lineTo(l,p),a.stroke(),a.closePath(),a.beginPath(),a.setLineCap("round"),a.setLineWidth(6*e.pix),a.setStrokeStyle(e.xAxis.scrollColor||"#A6A6A6"),a.moveTo(n+y,p),a.lineTo(n+y+u,p),a.stroke(),a.closePath(),a.setLineCap("butt")}if(a.save(),e._scrollDistance_&&0!==e._scrollDistance_&&a.translate(e._scrollDistance_,0),!0===e.xAxis.calibration&&(a.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),a.setLineCap("butt"),a.setLineWidth(1*e.pix),r.forEach(function(t,i){i>0&&(a.beginPath(),a.moveTo(t-s/2,c),a.lineTo(t-s/2,c+3*e.pix),a.closePath(),a.stroke())})),!0!==e.xAxis.disableGrid&&(a.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),a.setLineCap("butt"),a.setLineWidth(1*e.pix),"dash"==e.xAxis.gridType&&a.setLineDash([e.xAxis.dashLength*e.pix,e.xAxis.dashLength*e.pix]),e.xAxis.gridEval=e.xAxis.gridEval||1,r.forEach(function(t,i){i%e.xAxis.gridEval==0&&(a.beginPath(),a.moveTo(t,c),a.lineTo(t,x),a.stroke())}),a.setLineDash([])),!0!==e.xAxis.disabled){let o=t.length;e.xAxis.labelCount&&(o=e.xAxis.itemCount?Math.ceil(t.length/e.xAxis.itemCount*e.xAxis.labelCount):e.xAxis.labelCount,o-=1);let n=Math.ceil(t.length/o),l=[],x=t.length;for(let e=0;e=e.area[3]-1&&x-Math.abs(l)<=e.width-e.area[1]+1&&(a.beginPath(),a.setFontSize(m),a.setFillStyle(e.xAxis.fontColor||e.fontColor),a.fillText(String(o),r[i]+n,c+e.xAxis.marginTop*e.pix+(e.xAxis.lineHeight-e.xAxis.fontSize)*e.pix/2+e.xAxis.fontSize*e.pix),a.closePath(),a.stroke())}):l.forEach(function(t,o){var n=e.xAxis.formatter?e.xAxis.formatter(t):t,l=e._scrollDistance_||0,x="center"==h?r[o]+s/2:r[o];if(x-Math.abs(l)>=e.area[3]-1&&x-Math.abs(l)<=e.width-e.area[1]+1){a.save(),a.beginPath(),a.setFontSize(m),a.setFillStyle(e.xAxis.fontColor||e.fontColor);var p=d(String(n),m,a),f=r[o];"center"==h&&(f=r[o]+s/2),e.xAxis.scrollShow&&e.pix;var g=c+e.xAxis.marginTop*e.pix+m-m*Math.abs(Math.sin(i._xAxisTextAngle_));e.xAxis.rotateAngle<0?(f-=m/2,p=0):(f+=m/2,p=-p),a.translate(f,g),a.rotate(-1*i._xAxisTextAngle_),a.fillText(String(n),p,0),a.closePath(),a.stroke(),a.restore()}})}a.restore(),e.xAxis.title&&(a.beginPath(),a.setFontSize(e.xAxis.titleFontSize*e.pix),a.setFillStyle(e.xAxis.titleFontColor),a.fillText(String(e.xAxis.title),e.width-e.area[1]+e.xAxis.titleOffsetX*e.pix,e.height-e.area[2]+e.xAxis.marginTop*e.pix+(e.xAxis.lineHeight-e.xAxis.titleFontSize)*e.pix/2+(e.xAxis.titleFontSize+e.xAxis.titleOffsetY)*e.pix),a.closePath(),a.stroke()),e.xAxis.axisLine&&(a.beginPath(),a.setStrokeStyle(e.xAxis.axisLineColor),a.setLineWidth(1*e.pix),a.moveTo(n,e.height-e.area[2]),a.lineTo(l,e.height-e.area[2]),a.stroke())}function tt(t,e,i,a){if(!0===e.yAxis.disableGrid)return;let o=(e.height-e.area[0]-e.area[2])/e.yAxis.splitNumber,r=e.area[3],n=e.chartData.xAxisData.xAxisPoints,l=e.chartData.xAxisData.eachSpacing,s=l*(n.length-1);"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),s+=(e.extra.mount.widthRatio-1)*l);let h=r+s,c=[],x=1;!1===e.xAxis.axisLine&&(x=0);for(let d=x;d4&&void 0!==arguments[4]?arguments[4]:1,l=e({},{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,ringWidth:30,customRadius:0,border:!1,borderWidth:2,borderColor:"#FFFFFF",centerColor:"#FFFFFF",linearType:"none",customColor:[]},"pie"==i.type?i.extra.pie:i.extra.ring),s={x:i.area[3]+(i.width-i.area[1]-i.area[3])/2,y:i.area[0]+(i.height-i.area[0]-i.area[2])/2};0==o.pieChartLinePadding&&(o.pieChartLinePadding=l.activeRadius*i.pix);var h=Math.min((i.width-i.area[1]-i.area[3])/2-o.pieChartLinePadding-o.pieChartTextPadding-o._pieTextMaxLength_,(i.height-i.area[0]-i.area[2])/2-o.pieChartLinePadding-o.pieChartTextPadding);h=h<10?10:h,l.customRadius>0&&(h=l.customRadius*i.pix),t=P(t,h,n);var c=l.activeRadius*i.pix;if(l.customColor=x(l.linearType,l.customColor,t,o),(t=t.map(function(t){return t._start_+=l.offsetAngle*Math.PI/180,t})).forEach(function(t,e){i.tooltip&&i.tooltip.index==e&&(r.beginPath(),r.setFillStyle(a(t.color,l.activeOpacity||.5)),r.moveTo(s.x,s.y),r.arc(s.x,s.y,t._radius_+c,t._start_,t._start_+2*t._proportion_*Math.PI),r.closePath(),r.fill()),r.beginPath(),r.setLineWidth(l.borderWidth*i.pix),r.lineJoin="round",r.setStrokeStyle(l.borderColor);var o,n=t.color;"custom"==l.linearType&&((o=r.createCircularGradient?r.createCircularGradient(s.x,s.y,t._radius_):r.createRadialGradient(s.x,s.y,0,s.x,s.y,t._radius_)).addColorStop(0,a(l.customColor[t.linearIndex],1)),o.addColorStop(1,a(t.color,1)),n=o);r.setFillStyle(n),r.moveTo(s.x,s.y),r.arc(s.x,s.y,t._radius_,t._start_,t._start_+2*t._proportion_*Math.PI),r.closePath(),r.fill(),1==l.border&&r.stroke()}),"ring"===i.type){var d=.6*h;"number"==typeof l.ringWidth&&l.ringWidth>0&&(d=Math.max(0,h-l.ringWidth*i.pix)),r.beginPath(),r.setFillStyle(l.centerColor),r.moveTo(s.x,s.y),r.arc(s.x,s.y,d,0,2*Math.PI),r.closePath(),r.fill()}return!1!==i.dataLabel&&1===n&&j(t,i,o,r,0,s),1===n&&"ring"===i.type&&G(i,o,r,s),{center:s,radius:h,series:t}}function ot(t,i,o,r,n){var l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,s=e({},{type:"default",startAngle:.75,endAngle:.25,width:15,labelOffset:13,splitLine:{fixRadius:0,splitNumber:10,width:15,color:"#FFFFFF",childNumber:5,childWidth:5},pointer:{width:15,color:"auto"}},o.extra.gauge);null==s.oldAngle&&(s.oldAngle=s.startAngle),null==s.oldData&&(s.oldData=0),t=function(t,e,i){let a;a=i=2&&(t[r]._endAngle_=t[r]._endAngle_%2),o=t[r]._endAngle_;return t}(t,s.startAngle,s.endAngle);var h={x:o.width/2,y:o.height/2},c=Math.min(h.x,h.y);c-=5*o.pix;var x=(c=(c-=s.width/2)<10?10:c)-s.width,p=0;if("progress"==s.type){var f=c-3*s.width;n.beginPath();let t=n.createLinearGradient(h.x,h.y-f,h.x,h.y+f);t.addColorStop("0",a(i[0].color,.3)),t.addColorStop("1.0",a("#FFFFFF",.1)),n.setFillStyle(t),n.arc(h.x,h.y,f,0,2*Math.PI,!1),n.fill(),n.setLineWidth(s.width),n.setStrokeStyle(a(i[0].color,.3)),n.setLineCap("round"),n.beginPath(),n.arc(h.x,h.y,x,s.startAngle*Math.PI,s.endAngle*Math.PI,!1),n.stroke(),p=s.endAnglel/g?n.setStrokeStyle(a(i[0].color,1)):n.setStrokeStyle(a(i[0].color,.3)),n.setLineWidth(3*o.pix),n.moveTo(r,0),n.lineTo(d,0),n.stroke(),n.rotate(e*Math.PI);n.restore(),i=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==i&&(i=.999999);for(let a=0;a=2&&(r._proportion_=r._proportion_%2)}return t}(i,s,l),n.setLineWidth(s.width),n.setStrokeStyle(i[0].color),n.setLineCap("round"),n.beginPath(),n.arc(h.x,h.y,x,s.startAngle*Math.PI,i[0]._proportion_*Math.PI,!1),n.stroke();let y=c-2.5*s.width;n.save(),n.translate(h.x,h.y),n.rotate((i[0]._proportion_-1)*Math.PI),n.beginPath(),n.setLineWidth(s.width/3);let m=n.createLinearGradient(0,.6*-y,0,.6*y);m.addColorStop("0",a("#FFFFFF",0)),m.addColorStop("0.5",a(i[0].color,1)),m.addColorStop("1.0",a("#FFFFFF",0)),n.setStrokeStyle(m),n.arc(0,0,y,.85*Math.PI,1.15*Math.PI,!1),n.stroke(),n.beginPath(),n.setLineWidth(1),n.setStrokeStyle(i[0].color),n.setFillStyle(i[0].color),n.moveTo(-y-s.width/3/2,-4),n.lineTo(-y-s.width/3/2-4,0),n.lineTo(-y-s.width/3/2,4),n.lineTo(-y-s.width/3/2,-4),n.stroke(),n.fill(),n.restore()}else{n.setLineWidth(s.width),n.setLineCap("butt");for(let i=0;i3&&void 0!==arguments[3]?arguments[3]:1;for(let o=0;o=i.oldData?n._proportion_=(n._endAngle_-n._oldAngle_)*a+i.oldAngle:n._proportion_=n._oldAngle_-(n._oldAngle_-n._endAngle_)*a,n._proportion_>=2&&(n._proportion_=n._proportion_%2)}return t}(i,t,s,l);for(let t=0;t=2&&(h%=2),c+=s}}(s,c,h,o,r,n)}return G(o,r,n,h),1===l&&"gauge"===o.type&&(o.extra.gauge.oldAngle=i[0]._proportion_,o.extra.gauge.oldData=i[0].data),{center:h,radius:c,innerRadius:x,categories:t,totalAngle:p}}function rt(t,o,r,n){var l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,h=e({},{gridColor:"#cccccc",gridType:"radar",gridEval:1,axisLabel:!1,axisLabelTofix:0,labelShow:!0,labelColor:"#666666",labelPointShow:!1,labelPointRadius:3,labelPointColor:"#cccccc",opacity:.2,gridCount:3,border:!1,borderWidth:2,linearType:"none",customColor:[]},o.extra.radar),c=function(t){for(var e=2*Math.PI/t,i=[],a=0;a5&&void 0!==arguments[5]?arguments[5]:1,n=o.extra.radar||{};n.max=n.max||0;var l=Math.max(n.max,Math.max.apply(null,p(a))),h=[];for(let c=0;ct[1]&&i[1]>t[1])return!1;if(e[1]t[1])return!1;if(i[1]==t[1]&&e[1]>t[1])return!1;if(e[0]e[r].area[2]||t[1]>e[r].area[3]||t[2]i||t[3]>a){o=!0;break}o=!1}return o}function dt(t,i,a,o){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,n=e({},{type:"normal",autoColors:!0},i.extra.word);i.chartData.wordCloudData||(i.chartData.wordCloudData=function(t,e,i){let a=t.series;switch(e){case"normal":for(let o=0;o.7};for(let o=0;o0&&(i.tooltip&&i.tooltip.index==e?o.strokeText(t,(l[e].areav[0]+5-i.width/2)*r-n*(1-r)/2,(l[e].areav[1]+5+a-i.height/2)*r):o.fillText(t,(l[e].areav[0]+5-i.width/2)*r-n*(1-r)/2,(l[e].areav[1]+5+a-i.height/2)*r)):l[e].area[0]>0&&(i.tooltip&&i.tooltip.index==e?o.strokeText(t,(l[e].area[0]+5-i.width/2)*r-n*(1-r)/2,(l[e].area[1]+5+a-i.height/2)*r):o.fillText(t,(l[e].area[0]+5-i.width/2)*r-n*(1-r)/2,(l[e].area[1]+5+a-i.height/2)*r)),o.stroke(),o.restore()}o.restore()}function pt(t,o,r,n){let l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=e({},{type:"funnel",activeWidth:10,activeOpacity:.3,border:!1,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,minSize:0,labelAlign:"right",linearType:"none",customColor:[]},o.extra.funnel),h=(o.height-o.area[0]-o.area[2])/t.length,c={x:o.area[3]+(o.width-o.area[1]-o.area[3])/2,y:o.height-o.area[2]},p=s.activeWidth*o.pix,f=Math.min((o.width-o.area[1]-o.area[3])/2-p,(o.height-o.area[0]-o.area[2])/2-p),g=function(t,e,i,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;for(let r=0;r0&&t[0].data.constructor.toString().indexOf("Array")>-1){e._pieSeries_=t;let o=t[0].data;for(var a=0;ae.width-e.area[1]-e.area[3]?(i.push(f),p.push(a-e.legend.itemGap*e.pix),a=l,f=[n]):(a+=l,f.push(n))}if(f.length){i.push(f),p.push(a-e.legend.itemGap*e.pix),r.widthArr=p;let t=Math.max.apply(null,p);switch(e.legend.float){case"left":r.area.start.x=e.area[3],r.area.end.x=e.area[3]+t+2*n;break;case"right":r.area.start.x=e.width-e.area[1]-t-2*n,r.area.end.x=e.width-e.area[1];break;default:r.area.start.x=(e.width-t)/2-n,r.area.end.x=(e.width+t)/2+n}r.area.width=t+2*n,r.area.wholeWidth=t+2*n,r.area.height=i.length*x+2*n,r.area.wholeHeight=i.length*x+2*n+2*l,r.points=i}}else{let i=t.length,a=e.height-e.area[0]-e.area[2]-2*l-2*n,p=Math.min(Math.floor(a/x),i);switch(r.area.height=p*x+2*n,r.area.wholeHeight=p*x+2*n,e.legend.float){case"top":r.area.start.y=e.area[0]+l,r.area.end.y=e.area[0]+l+r.area.height;break;case"bottom":r.area.start.y=e.height-e.area[2]-l-r.area.height,r.area.end.y=e.height-e.area[2]-l;break;default:r.area.start.y=(e.height-r.area.height)/2,r.area.end.y=(e.height+r.area.height)/2}let f=i%p===0?i/p:Math.floor(i/p+1),g=[];for(let e=0;ea&&(a=r)}r.widthArr.push(a),r.heightArr.push(t.length*x+2*n)}let t=0;for(let e=0;e0?M[i].width+o.yAxis.padding*o.pix:M[i].width,e+=1):"right"==M[i].position&&(o.area[1]+=t>0?M[i].width+o.yAxis.padding*o.pix:M[i].width,t+=1)}else r.yAxisWidth=M;if(o.chartData.yAxisData=v,o.categories&&o.categories.length&&"radar"!==o.type&&"gauge"!==o.type&&"bar"!==o.type){o.chartData.xAxisData=_(o.categories,o);let t=A(o.categories,o,0,o.chartData.xAxisData.eachSpacing,n),e=t.xAxisHeight,i=t.angle;r.xAxisHeight=e,r._xAxisTextAngle_=i,o.area[2]+=e,o.chartData.categoriesData=t}else if("line"===o.type||"area"===o.type||"scatter"===o.type||"bubble"===o.type||"bar"===o.type){o.chartData.xAxisData=T(h,o,r,n);let t=A(p=o.chartData.xAxisData.rangesFormat,o,0,o.chartData.xAxisData.eachSpacing,n),e=t.xAxisHeight,i=t.angle;r.xAxisHeight=e,r._xAxisTextAngle_=i,o.area[2]+=e,o.chartData.categoriesData=t}else o.chartData.xAxisData={xAxisPoints:[]};if(o.enableScroll&&"right"==o.xAxis.scrollAlign&&void 0===o._scrollDistance_){let t=0,e=o.chartData.xAxisData.xAxisPoints,i=o.chartData.xAxisData.startX;t=o.chartData.xAxisData.endX-i-o.chartData.xAxisData.eachSpacing*(e.length-1),s.scrollOption.currentOffset=t,s.scrollOption.startTouchX=t,s.scrollOption.distance=0,s.scrollOption.lastMoveTime=0,o._scrollDistance_=t}switch("pie"!==t&&"ring"!==t&&"rose"!==t||(r._pieTextMaxLength_=!1===o.dataLabel?0:function(t,e,a,o){t=P(t);let r=0;for(let n=0;nl.x?i.xMax:l.x,i.yMin=i.yMinl.y?i.yMax:l.y}}return i}(h);if(s.mercator){var x=nt(c.xMax,c.yMax),p=nt(c.xMin,c.yMin);c.xMax=x[0],c.yMax=x[1],c.xMin=p[0],c.yMin=p[1]}for(var f=i.width/Math.abs(c.xMax-c.xMin),g=i.height/Math.abs(c.yMax-c.yMin),u=f{this.uevent.trigger("renderComplete")},50);break;case"funnel":this.animationInstance=new ut({timing:o.timing,duration:f,onProcess:function(t){n.clearRect(0,0,o.width,o.height),o.rotate&&R(n,o),o.chartData.funnelData=pt(h,o,r,n,t),it(o.series,o,r,n,o.chartData),U(o,r,n,t),ft(0,n)},onAnimationFinish:function(){s.uevent.trigger("renderComplete")}});break;case"line":this.animationInstance=new ut({timing:o.timing,duration:f,onProcess:function(t){n.clearRect(0,0,o.width,o.height),o.rotate&&R(n,o),tt(0,o,0,n),V(p,o,r,n);var i=function(t,i,o,r){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=e({},{type:"straight",width:2,activeType:"none",linearType:"none",onShadow:!1,animation:"vertical"},i.extra.line);s.width*=i.pix;let h=i.chartData.xAxisData,c=h.xAxisPoints,x=h.eachSpacing;var d=[];r.save();let p=0,f=i.width+x;return i._scrollDistance_&&0!==i._scrollDistance_&&!0===i.enableScroll&&(r.translate(i._scrollDistance_,0),p=-i._scrollDistance_-2*x+i.area[3],f=p+(i.xAxis.itemCount+4)*x),t.forEach(function(t,e){let h,g,u;r.beginPath(),r.setStrokeStyle(t.color),r.moveTo(-1e4,-1e4),r.lineTo(-10001,-10001),r.stroke(),h=[].concat(i.chartData.yAxisData.ranges[t.index]),g=h.pop(),u=h.shift();var y=function(t,e,i,a,o,r,n,l,s){s=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1;var h=r.xAxis.boundaryGap,c=[],x=r.height-r.area[0]-r.area[2],d=r.width-r.area[1]-r.area[3];return t.forEach(function(t,n){if(null===t)c.push(null);else{var p={};if(p.color=t.color,"vertical"==l.animation){p.x=a[n];var f=t;if("object"==typeof t&&null!==t)if(t.constructor.toString().indexOf("Array")>-1){let e,i,a;e=[].concat(r.chartData.xAxisData.ranges),i=e.shift(),a=e.pop(),f=t[1],p.x=r.area[3]+d*(t[0]-i)/(a-i)}else f=t.value;"center"==h&&(p.x+=o/2);var g=x*(f-e)/(i-e);g*=s,p.y=r.height-g-r.area[2],c.push(p)}else p.x=a[0]+o*n*s,f=t,"center"==h&&(p.x+=o/2),g=x*(f-e)/(i-e),p.y=r.height-g-r.area[2],c.push(p)}}),c}(t.data,g,u,c,x,i,o,s,n);d.push(y);var m=b(y,t);if("dash"==t.lineType){let e=t.dashLength?t.dashLength:8;e*=i.pix,r.setLineDash([e,e])}r.beginPath();var S=t.color;if("none"!==s.linearType&&t.linearColor&&t.linearColor.length>0){for(var v=r.createLinearGradient(i.chartData.xAxisData.startX,i.height/2,i.chartData.xAxisData.endX,i.height/2),A=0;A0?r.setShadow(t.setShadow[0],t.setShadow[1],t.setShadow[2],t.setShadow[3]):r.setShadow(0,0,0,"rgba(0,0,0,0)"),r.setLineWidth(s.width),m.forEach(function(t,e){if(1===t.length)r.moveTo(t[0].x,t[0].y);else{r.moveTo(t[0].x,t[0].y);let e=0;if("curve"===s.type)for(let a=0;ap&&(r.moveTo(o.x,o.y),e=1),a>0&&o.x>p&&o.xp&&(r.moveTo(a.x,a.y),e=1),i>0&&a.x>p&&a.xp&&(r.moveTo(a.x,a.y),e=1),i>0&&a.x>p&&a.x4&&void 0!==arguments[4]?arguments[4]:1;e({},{type:"circle"},i.extra.scatter);let n=i.chartData.xAxisData,l=n.xAxisPoints,s=n.eachSpacing;o.save();let h=0;return i.width,i._scrollDistance_&&0!==i._scrollDistance_&&!0===i.enableScroll&&(o.translate(i._scrollDistance_,0),h=-i._scrollDistance_-2*s+i.area[3],i.xAxis.itemCount),t.forEach(function(t,e){let n,h,c;n=[].concat(i.chartData.yAxisData.ranges[t.index]),h=n.pop(),c=n.shift();var x=F(t.data,h,c,l,s,i,a,r);o.beginPath(),o.setStrokeStyle(t.color),o.setFillStyle(t.color),o.setLineWidth(1*i.pix);var d=t.pointShape;if("diamond"===d)x.forEach(function(t,e){null!==t&&(o.moveTo(t.x,t.y-4.5),o.lineTo(t.x-4.5,t.y),o.lineTo(t.x,t.y+4.5),o.lineTo(t.x+4.5,t.y),o.lineTo(t.x,t.y-4.5))});else if("circle"===d)x.forEach(function(t,e){null!==t&&(o.moveTo(t.x+2.5*i.pix,t.y),o.arc(t.x,t.y,3*i.pix,0,2*Math.PI,!1))});else if("square"===d)x.forEach(function(t,e){null!==t&&(o.moveTo(t.x-3.5,t.y-3.5),o.rect(t.x-3.5,t.y-3.5,7,7))});else if("triangle"===d)x.forEach(function(t,e){null!==t&&(o.moveTo(t.x,t.y-4.5),o.lineTo(t.x-4.5,t.y+4.5),o.lineTo(t.x+4.5,t.y+4.5),o.lineTo(t.x,t.y-4.5))});else if("triangle"===d)return;o.closePath(),o.fill(),o.stroke()}),!1!==i.dataLabel&&1===r&&t.forEach(function(t,e){let n,h,c;n=[].concat(i.chartData.yAxisData.ranges[t.index]),h=n.pop(),c=n.shift(),X(F(t.data,h,c,l,s,i,a,r),t,a,o,i)}),o.restore(),{xAxisPoints:l,calPoints:[],eachSpacing:s}}(h,o,r,n,t),a=i.xAxisPoints,l=i.calPoints,s=i.eachSpacing;o.chartData.xAxisPoints=a,o.chartData.calPoints=l,o.chartData.eachSpacing=s,et(0,o,r,n),!1!==o.enableMarkLine&&1===t&&Y(o,0,n),it(o.series,o,r,n,o.chartData),U(o,r,n,t),ft(0,n)},onAnimationFinish:function(){s.uevent.trigger("renderComplete")}});break;case"bubble":this.animationInstance=new ut({timing:o.timing,duration:f,onProcess:function(t){n.clearRect(0,0,o.width,o.height),o.rotate&&R(n,o),tt(0,o,0,n),V(p,o,r,n);var i=function(t,i,o,r){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,l=e({},{opacity:1,border:2},i.extra.bubble);let s=i.chartData.xAxisData,h=s.xAxisPoints,c=s.eachSpacing;r.save();let x=0;return i.width,i._scrollDistance_&&0!==i._scrollDistance_&&!0===i.enableScroll&&(r.translate(i._scrollDistance_,0),x=-i._scrollDistance_-2*c+i.area[3],i.xAxis.itemCount),t.forEach(function(t,e){let s,x,d;s=[].concat(i.chartData.yAxisData.ranges[t.index]),x=s.pop(),d=s.shift();var p=F(t.data,x,d,h,c,i,o,n);r.beginPath(),r.setStrokeStyle(t.color),r.setLineWidth(l.border*i.pix),r.setFillStyle(a(t.color,l.opacity)),p.forEach(function(t,e){r.moveTo(t.x+t.r,t.y),r.arc(t.x,t.y,t.r*i.pix,0,2*Math.PI,!1)}),r.closePath(),r.fill(),r.stroke(),!1!==i.dataLabel&&1===n&&p.forEach(function(e,a){r.beginPath();var n=t.textSize*i.pix||o.fontSize;r.setFontSize(n),r.setFillStyle(t.textColor||"#FFFFFF"),r.setTextAlign("center"),r.fillText(String(e.t),e.x,e.y+n/2),r.closePath(),r.stroke(),r.setTextAlign("left")})}),r.restore(),{xAxisPoints:h,calPoints:[],eachSpacing:c}}(h,o,r,n,t),l=i.xAxisPoints,s=i.calPoints,c=i.eachSpacing;o.chartData.xAxisPoints=l,o.chartData.calPoints=s,o.chartData.eachSpacing=c,et(0,o,r,n),!1!==o.enableMarkLine&&1===t&&Y(o,0,n),it(o.series,o,r,n,o.chartData),U(o,r,n,t),ft(0,n)},onAnimationFinish:function(){s.uevent.trigger("renderComplete")}});break;case"mix":this.animationInstance=new ut({timing:o.timing,duration:f,onProcess:function(t){n.clearRect(0,0,o.width,o.height),o.rotate&&R(n,o),tt(0,o,0,n),V(p,o,r,n);var i=function(t,i,o,r){let n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=i.chartData.xAxisData,h=s.xAxisPoints,c=s.eachSpacing,d=e({},{width:c/2,barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},i.extra.mix.column),p=e({},{opacity:.2,gradient:!1},i.extra.mix.area),f=e({},{width:2},i.extra.mix.line),g=i.height-i.area[2],u=[];var y=0,m=0;t.forEach(function(t,e){"column"==t.type&&(m+=1)}),r.save();let S=-2,v=h.length+2,A=0,T=i.width+c;i._scrollDistance_&&0!==i._scrollDistance_&&!0===i.enableScroll&&(r.translate(i._scrollDistance_,0),S=Math.floor(-i._scrollDistance_/c)-2,v=S+i.xAxis.itemCount+4,A=-i._scrollDistance_-2*c+i.area[3],T=A+(i.xAxis.itemCount+4)*c),d.customColor=x(d.linearType,d.customColor,t,o),t.forEach(function(t,e){let s,x,P;s=[].concat(i.chartData.yAxisData.ranges[t.index]),x=s.pop(),P=s.shift();var w=F(t.data,x,P,h,c,i,o,n);if(u.push(w),"column"==t.type){w=C(w,c,m,y,0,i);for(let e=0;eS&&ex?x:l,s=s>x?x:s,h=h>x?x:h,c=c>x?x:c,l=l<0?0:l,s=s<0?0:s,h=h<0?0:h,c=c<0?0:c,r.arc(t+l,e+l,l,-Math.PI,-Math.PI/2),r.arc(t+a-s,e+s,s,-Math.PI/2,0),r.arc(t+a-h,e+n-h,h,0,Math.PI/2),r.arc(t+c,e+n-c,c,Math.PI/2,Math.PI)}else r.moveTo(M,o.y),r.lineTo(M+o.width,o.y),r.lineTo(M+o.width,i.height-i.area[2]),r.lineTo(M,i.height-i.area[2]),r.lineTo(M,o.y),r.setLineWidth(1),r.setStrokeStyle(D);r.setFillStyle(_),r.closePath(),r.fill()}}y+=1}if("area"==t.type){let e=b(w,t);for(let o=0;o1){var k=n[0];let e=n[n.length-1];r.moveTo(k.x,k.y);let i=0;if("curve"===t.style)for(let t=0;tA&&(r.moveTo(e.x,e.y),i=1),t>0&&e.x>A&&e.xA&&(r.moveTo(e.x,e.y),i=1),t>0&&e.x>A&&e.xA&&(r.moveTo(a.x,a.y),i=1),t>0&&a.x>A&&a.xA&&(r.moveTo(a.x,a.y),i=1),t>0&&a.x>A&&a.x4&&void 0!==arguments[4]?arguments[4]:1,s=e({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1,activeType:"none"},i.extra.area);let h=i.chartData.xAxisData,c=h.xAxisPoints,x=h.eachSpacing,d=i.height-i.area[2],p=[];r.save();let f=0,g=i.width+x;return i._scrollDistance_&&0!==i._scrollDistance_&&!0===i.enableScroll&&(r.translate(i._scrollDistance_,0),f=-i._scrollDistance_-2*x+i.area[3],g=f+(i.xAxis.itemCount+4)*x),t.forEach(function(t,e){let h,u,y;h=[].concat(i.chartData.yAxisData.ranges[t.index]),u=h.pop(),y=h.shift();let m=F(t.data,u,y,c,x,i,o,n);p.push(m);let S=b(m,t);for(let o=0;o1){let t=e[0],i=e[e.length-1];r.moveTo(t.x,t.y);let a=0;if("curve"===s.type)for(let o=0;of&&(r.moveTo(t.x,t.y),a=1),o>0&&t.x>f&&t.xf&&(r.moveTo(t.x,t.y),a=1),o>0&&t.x>f&&t.xf&&(r.moveTo(t.x,t.y),a=1),o>0&&t.x>f&&t.xf&&(r.moveTo(a.x,a.y),t=1),i>0&&a.x>f&&a.xf&&(r.moveTo(a.x,a.y),t=1),i>0&&a.x>f&&a.xf&&(r.moveTo(a.x,a.y),t=1),i>0&&a.x>f&&a.x4&&void 0!==arguments[4]?arguments[4]:1,l=e({},{type:"area",activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF",linearType:"none",customColor:[]},i.extra.rose);0==o.pieChartLinePadding&&(o.pieChartLinePadding=l.activeRadius*i.pix);var s={x:i.area[3]+(i.width-i.area[1]-i.area[3])/2,y:i.area[0]+(i.height-i.area[0]-i.area[2])/2},h=Math.min((i.width-i.area[1]-i.area[3])/2-o.pieChartLinePadding-o.pieChartTextPadding-o._pieTextMaxLength_,(i.height-i.area[0]-i.area[2])/2-o.pieChartLinePadding-o.pieChartTextPadding);h=h<10?10:h;var c=l.minRadius||.5*h;h4&&void 0!==arguments[4]?arguments[4]:1,h=e({},{startAngle:.75,endAngle:.25,type:"default",direction:"cw",lineCap:"round",width:12,gap:2,linearType:"none",customColor:[]},i.extra.arcbar);t=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==i&&(i=.999999);for(let a=0;a=2&&(r._proportion_=r._proportion_%2)}return t}(t,h,s),n=h.centerX||h.centerY?{x:h.centerX?h.centerX:i.width/2,y:h.centerY?h.centerY:i.height/2}:{x:i.width/2,y:i.height/2},h.radius?l=h.radius:(l=Math.min(n.x,n.y),l-=5*i.pix,l-=h.width/2),l=l<10?10:l,h.customColor=x(h.linearType,h.customColor,t,o);for(let e=0;e0&&void 0!==arguments[0]?arguments[0]:{};switch(this.opts=e({},this.opts,t),this.opts.updateData=!0,t.scrollPosition||"current"){case"current":this.opts._scrollDistance_=this.scrollOption.currentOffset;break;case"left":this.opts._scrollDistance_=0,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0};break;case"right":let t=W(this.opts.series,this.opts,this.config,this.context).yAxisWidth;this.config.yAxisWidth=t;let e=0,i=_(this.opts.categories,this.opts,this.config),a=i.xAxisPoints,o=i.startX;e=i.endX-o-i.eachSpacing*(a.length-1),this.scrollOption={currentOffset:e,startTouchX:e,distance:0,lastMoveTime:0},this.opts._scrollDistance_=e}yt.call(this,this.opts.type,this.opts,this.config,this.context)},St.prototype.zoom=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.opts.xAxis.itemCount;if(!0!==this.opts.enableScroll)return void console.log("[uCharts] 请启用滚动条后使用");let e=Math.round(Math.abs(this.scrollOption.currentOffset)/this.opts.chartData.eachSpacing)+Math.round(this.opts.xAxis.itemCount/2);this.opts.animation=!1,this.opts.xAxis.itemCount=t.itemCount;let i=W(this.opts.series,this.opts,this.config,this.context).yAxisWidth;this.config.yAxisWidth=i;let a=0,o=_(this.opts.categories,this.opts,this.config),n=o.xAxisPoints,l=o.startX,s=o.endX,h=o.eachSpacing,c=h*e,x=s-l,d=x-h*(n.length-1);a=x/2-c,a>0&&(a=0),a=this.opts.categories.length?this.opts.categories.length:l,this.opts.animation=!1,this.opts.xAxis.itemCount=l;let s=0,h=_(this.opts.categories,this.opts,this.config),c=h.xAxisPoints,x=h.startX,d=h.endX,p=h.eachSpacing,f=p*this.scrollOption.moveCurrent1,u=d-x-p*(c.length-1);s=-f+Math.min(a[0].x,a[1].x)-this.opts.area[3]-p,s>0&&(s=0),s2*Math.PI&&(t-=2*Math.PI),t},n=Math.atan2(e.center.y-t.y,t.x-e.center.x);(n*=-1)<0&&(n+=2*Math.PI),e.angleList.map(function(t){return r(-1*t)}).forEach(function(t,e){var i=r(t-a/2),l=r(t+a/2);l=i&&n<=l||n+2*Math.PI>=i&&n+2*Math.PI<=l)&&(o=e)})}return o}({x:i.x,y:i.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?function(t,e){for(var i=-1,a=0,o=e.series.length;ar.funnelArea[0]&&t.xr.funnelArea[1]&&t.yr.area[0]&&t.xr.area[1]&&t.y4&&void 0!==arguments[4]?arguments[4]:0,r={index:-1,group:[]},n=i.chartData.eachSpacing/2;let l=i.chartData.yAxisPoints;return e&&e.length>0&&S(t,i)&&l.forEach(function(e,i){t.y+o+n>e&&(r.index=i)}),r}({x:i.x,y:i.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset)):function(t,e,i,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r={index:-1,group:[]},n=i.chartData.eachSpacing/2;let l=[];if(e&&e.length>0){if(i.categories){for(let t=1;te&&(r.index=i)});else{let i=Array(e.length);for(let r=0;re.start.x&&t.xe.start.y&&t.ya[0]-0&&t.xa[1]-0&&t.y1&&void 0!==arguments[1]?arguments[1]:{},i=null;if(i=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0]){g(i,this.opts,t);var a=this.getLegendDataIndex(t);a>=0&&("candle"==this.opts.type?this.opts.seriesMA[a].show=!this.opts.seriesMA[a].show:this.opts.series[a].show=!this.opts.series[a].show,this.opts.animation=!!e.animation,this.opts._scrollDistance_=this.scrollOption.currentOffset,yt.call(this,this.opts.type,this.opts,this.config,this.context))}},St.prototype.showToolTip=function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null;(a=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0])||console.log("[uCharts] 未获取到event坐标信息");var o=g(a,this.opts,t),r=this.scrollOption.currentOffset,n=e({},this.opts,{_scrollDistance_:r,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type||"scatter"===this.opts.type||"bubble"===this.opts.type){var l=this.getCurrentDataIndex(t);if((p=null==i.index?l.index:i.index)>-1||p.length>0)if(0!==(h=u(this.opts.series,p,l.group)).length){var s=(d=y(h,this.opts,p,l.group,this.opts.categories,i)).textList;(c=d.offset).y=o.y,n.tooltip={textList:void 0!==i.textList?i.textList:s,offset:void 0!==i.offset?i.offset:c,option:i,index:p,group:l.group}}yt.call(this,n.type,n,this.config,this.context)}if("mount"===this.opts.type){if((p=null==i.index?this.getCurrentDataIndex(t).index:i.index)>-1){n=e({},this.opts,{animation:!1});var h=e({},n._series_[p]),c=(s=[{text:i.formatter?i.formatter(h,void 0,p,n):h.name+": "+h.data,color:h.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?h.legendShape:this.opts.extra.tooltip.legendShape}],{x:n.chartData.calPoints[p].x,y:o.y});n.tooltip={textList:i.textList?i.textList:s,offset:void 0!==i.offset?i.offset:c,option:i,index:p}}yt.call(this,n.type,n,this.config,this.context)}if("bar"===this.opts.type){l=this.getCurrentDataIndex(t);if((p=null==i.index?l.index:i.index)>-1||p.length>0)if(0!==(h=u(this.opts.series,p,l.group)).length){s=(d=y(h,this.opts,p,l.group,this.opts.categories,i)).textList;(c=d.offset).x=o.x,n.tooltip={textList:void 0!==i.textList?i.textList:s,offset:void 0!==i.offset?i.offset:c,option:i,index:p}}yt.call(this,n.type,n,this.config,this.context)}if("mix"===this.opts.type){l=this.getCurrentDataIndex(t);if((p=null==i.index?l.index:i.index)>-1){r=this.scrollOption.currentOffset,n=e({},this.opts,{_scrollDistance_:r,animation:!1});if(0!==(h=u(this.opts.series,p)).length){var x=function(t,e,i,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=e.chartData.xAxisPoints[i]+e.chartData.eachSpacing/2,n=t.map(function(t){return{text:o.formatter?o.formatter(t,a[i],i,e):t.name+": "+t.data,color:t.color,disableLegend:!!t.disableLegend,legendShape:"auto"==e.extra.tooltip.legendShape?t.legendShape:e.extra.tooltip.legendShape}});return{textList:n=n.filter(function(t){if(!0!==t.disableLegend)return t}),offset:{x:Math.round(r),y:0}}}(h,this.opts,p,this.opts.categories,i);s=x.textList;(c=x.offset).y=o.y,n.tooltip={textList:i.textList?i.textList:s,offset:void 0!==i.offset?i.offset:c,option:i,index:p}}}yt.call(this,n.type,n,this.config,this.context)}if("candle"===this.opts.type){l=this.getCurrentDataIndex(t);if((p=null==i.index?l.index:i.index)>-1){r=this.scrollOption.currentOffset,n=e({},this.opts,{_scrollDistance_:r,animation:!1});if(0!==(h=u(this.opts.series,p)).length){var d=function(t,e,i,a,o,r){var n=i.chartData.calPoints;let l=r.color.upFill,s=r.color.downFill,h=[l,l,s,l];var c=[];e.map(function(e){0==a?e.data[1]-e.data[0]<0?h[1]=s:h[1]=l:(e.data[0]t[a-1][1]&&(h[2]=l),e.data[3]-1){n=e({},this.opts,{animation:!1}),h=e({},n._series_[p]),s=[{text:i.formatter?i.formatter(h,void 0,p,n):h.name+": "+h.data,color:h.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?h.legendShape:this.opts.extra.tooltip.legendShape}],c={x:o.x,y:o.y};n.tooltip={textList:i.textList?i.textList:s,offset:void 0!==i.offset?i.offset:c,option:i,index:p}}yt.call(this,n.type,n,this.config,this.context)}if("map"===this.opts.type){if((p=null==i.index?this.getCurrentDataIndex(t):i.index)>-1){n=e({},this.opts,{animation:!1});(h=e({},this.opts.series[p])).name=h.properties.name;s=[{text:i.formatter?i.formatter(h,void 0,p,this.opts):h.name,color:h.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?h.legendShape:this.opts.extra.tooltip.legendShape}],c={x:o.x,y:o.y};n.tooltip={textList:i.textList?i.textList:s,offset:void 0!==i.offset?i.offset:c,option:i,index:p}}n.updateData=!1,yt.call(this,n.type,n,this.config,this.context)}if("word"===this.opts.type){if((p=null==i.index?this.getCurrentDataIndex(t):i.index)>-1){n=e({},this.opts,{animation:!1}),h=e({},this.opts.series[p]),s=[{text:i.formatter?i.formatter(h,void 0,p,this.opts):h.name,color:h.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?h.legendShape:this.opts.extra.tooltip.legendShape}],c={x:o.x,y:o.y};n.tooltip={textList:i.textList?i.textList:s,offset:void 0!==i.offset?i.offset:c,option:i,index:p}}n.updateData=!1,yt.call(this,n.type,n,this.config,this.context)}if("radar"===this.opts.type){var p;if((p=null==i.index?this.getCurrentDataIndex(t):i.index)>-1){n=e({},this.opts,{animation:!1});if(0!==(h=u(this.opts.series,p)).length){s=h.map(t=>({text:i.formatter?i.formatter(t,this.opts.categories[p],p,this.opts):t.name+": "+t.data,color:t.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?t.legendShape:this.opts.extra.tooltip.legendShape})),c={x:o.x,y:o.y};n.tooltip={textList:i.textList?i.textList:s,offset:void 0!==i.offset?i.offset:c,option:i,index:p}}}yt.call(this,n.type,n,this.config,this.context)}},St.prototype.translate=function(t){this.scrollOption={currentOffset:t,startTouchX:t,distance:0,lastMoveTime:0};let i=e({},this.opts,{_scrollDistance_:t,animation:!1});yt.call(this,this.opts.type,i,this.config,this.context)},St.prototype.scrollStart=function(t){var e=null,i=g(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],this.opts,t);e&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=i.x)},St.prototype.scroll=function(t){0===this.scrollOption.lastMoveTime&&(this.scrollOption.lastMoveTime=Date.now());let i=this.opts.touchMoveLimit||60,a=Date.now();if(!(a-this.scrollOption.lastMoveTime({icons:t.fontData}),computed:{unicode(){let t=this.icons.find((t=>t.font_class===this.type));return t?t.unicode:""},iconSize(){return"number"==typeof(t=this.size)||/^[0-9]*$/g.test(t)?t+"px":t;var t},styleObj(){return""!==this.fontFamily?`color: ${this.color}; font-size: ${this.iconSize}; font-family: ${this.fontFamily};`:`color: ${this.color}; font-size: ${this.iconSize};`}},methods:{_onClick(){this.$emit("click")}}};const n=e._export_sfc(i,[["render",function(t,i,n,o,s,r){return{a:e.s(r.styleObj),b:e.n("uniui-"+n.type),c:e.n(n.customPrefix),d:e.n(n.customPrefix?n.type:""),e:e.o(((...t)=>r._onClick&&r._onClick(...t)))}}]]);wx.createComponent(n); +"use strict";const t=require("./uniicons_file_vue.js"),e=require("../../../../common/vendor.js"),i={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},customPrefix:{type:String,default:""},fontFamily:{type:String,default:""}},data:()=>({icons:t.fontData}),computed:{unicode(){let t=this.icons.find(t=>t.font_class===this.type);return t?t.unicode:""},iconSize(){return"number"==typeof(t=this.size)||/^[0-9]*$/g.test(t)?t+"px":t;var t},styleObj(){return""!==this.fontFamily?`color: ${this.color}; font-size: ${this.iconSize}; font-family: ${this.fontFamily};`:`color: ${this.color}; font-size: ${this.iconSize};`}},methods:{_onClick(){this.$emit("click")}}};const n=e._export_sfc(i,[["render",function(t,i,n,o,s,r){return{a:e.s(r.styleObj),b:e.n("uniui-"+n.type),c:e.n(n.customPrefix),d:e.n(n.customPrefix?n.type:""),e:e.o((...t)=>r._onClick&&r._onClick(...t))}}]]);wx.createComponent(n); diff --git a/dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.js b/dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.js index ab1eeb8..e4ca3fa 100644 --- a/dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.js +++ b/dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.js @@ -44,18 +44,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ size: "md", label: "分享账单" }) - } : { - i: common_vendor.p({ - label: "分享托收", - size: "md", - type: "ghost" - }), - j: common_vendor.p({ - type: "primary", - size: "md", - label: "分享预缴" - }) - }) : {}) : {}); + } : {}) : {}) : {}); }; } }); diff --git a/dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.wxml b/dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.wxml index 93fecd2..141a10c 100644 --- a/dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.wxml +++ b/dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PageFooter.wxml @@ -1 +1 @@ - 您已选待缴金额: ¥{{d}} \ No newline at end of file + 您已选待缴金额: ¥{{d}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.js b/dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.js index ae726f0..4fc5148 100644 --- a/dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.js +++ b/dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.js @@ -1,7 +1,16 @@ "use strict"; const common_vendor = require("../../../../common/vendor.js"); const gen_Enums = require("../../../../gen/Enums.js"); +const BILL_outstanding_fee_show_method = require("../method.js"); const BILL_outstanding_fee_show_model = require("../model.js"); +require("../../../../common/libraries/request.js"); +require("../../../../common/store/useWeAppAuthStore.js"); +require("../../../../gen/Apis.js"); +require("../../../../common/store/useWatermarkStore.js"); +require("../../../../common/store/useWorkStore.js"); +require("../../../../common/libraries/apiLoading.js"); +require("../../../../common/libraries/naviHelper.js"); +require("../../../../common/libraries/sendWxWork.js"); require("../../../../common/libraries/day.js"); if (!Array) { const _easycom_hs_enum_tag2 = common_vendor.resolveComponent("hs-enum-tag"); @@ -63,24 +72,24 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ }) }, { f: "04f66b1b-1-" + i0 + "-" + i1, - g: common_vendor.o(($event) => { + g: common_vendor.p({ + type: "star-filled", + size: "20", + color: (j == null ? void 0 : j.is_contact) ? "#FFD666" : "#DCDFE6" + }), + h: common_vendor.t((j == null ? void 0 : j.is_contact) ? "常用联系人" : "设为常用"), + i: common_vendor.o(($event) => { var _a2; - return (_a2 = _ctx.method) == null ? void 0 : _a2.handleSetContact(j); + return (_a2 = common_vendor.unref(BILL_outstanding_fee_show_method.method)) == null ? void 0 : _a2.handleSetContact(j); }, `personnel_${index2}`), - h: common_vendor.o(($event) => handleCopyPhone(j == null ? void 0 : j.phone), `personnel_${index2}`), - i: common_vendor.o(($event) => handleNavigateToAddCustomer(j == null ? void 0 : j.phone), `personnel_${index2}`), - j: common_vendor.o(($event) => handleNavigateToDetail(j == null ? void 0 : j.id), `personnel_${index2}`), - k: `personnel_${index2}` + j: common_vendor.o(($event) => handleCopyPhone(j == null ? void 0 : j.phone), `personnel_${index2}`), + k: common_vendor.o(($event) => handleNavigateToAddCustomer(j == null ? void 0 : j.phone), `personnel_${index2}`), + l: common_vendor.o(($event) => handleNavigateToDetail(j == null ? void 0 : j.id), `personnel_${index2}`), + m: `personnel_${index2}` }); - }), - d: common_vendor.p({ - type: "star-filled", - size: "20", - color: (i == null ? void 0 : i.is_contact) ? "#FFD666" : "#DCDFE6" - }), - e: common_vendor.t((i == null ? void 0 : i.is_contact) ? "常用联系人" : "设为常用") + }) } : {}, { - f: `item_${index}` + d: `item_${index}` }); }) }; diff --git a/dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxml b/dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxml index e94f1a4..edead24 100644 --- a/dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxml +++ b/dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxml @@ -1 +1 @@ -{{i.b}}{{j.a}}{{j.b}} 产权人 {{i.e}} 拨打电话 +微信 查看详情 \ No newline at end of file +{{i.b}}{{j.a}}{{j.b}} 产权人 {{j.h}} 拨打电话 +微信 查看详情 \ No newline at end of file diff --git a/dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxss b/dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxss index 401c1f9..47551a2 100644 --- a/dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxss +++ b/dist/dev/mp-weixin/BILL/outstanding_fee/show/components/PersonnelList.wxss @@ -5,11 +5,12 @@ font-size: 28rpx; font-weight: 500; color: #333; - padding: 30rpx 0; + padding: 30rpx 0 0 0; } .personnel_list .personnel_item.data-v-04f66b1b { background-color: #f9fafb; border-radius: 20rpx; + margin-top: 30rpx; } .personnel_list .personnel_item .personnel_item_type.data-v-04f66b1b { color: #606266; diff --git a/dist/dev/mp-weixin/BILL/poster/index.js b/dist/dev/mp-weixin/BILL/poster/index.js index 404dbee..b4b23aa 100644 --- a/dist/dev/mp-weixin/BILL/poster/index.js +++ b/dist/dev/mp-weixin/BILL/poster/index.js @@ -1,22 +1,48 @@ "use strict"; const common_vendor = require("../../common/vendor.js"); const BILL_poster_method = require("./method.js"); -require("./model.js"); +const BILL_poster_model = require("./model.js"); +require("../../common/libraries/apiLoading.js"); +require("../../common/libraries/naviHelper.js"); require("../../gen/Apis.js"); require("../../common/libraries/request.js"); require("../../common/store/useWeAppAuthStore.js"); -require("../../common/libraries/apiLoading.js"); require("../../common/store/useWatermarkStore.js"); require("../../common/store/useWorkStore.js"); +if (!Array) { + const _easycom_hs_tabs2 = common_vendor.resolveComponent("hs-tabs"); + _easycom_hs_tabs2(); +} +const _easycom_hs_tabs = () => "../../components/hs-tabs/hs-tabs.js"; +if (!Math) { + _easycom_hs_tabs(); +} const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ __name: "index", setup(__props) { + const tablist = [ + { label: "客户端", value: "wechat" }, + { label: "其他", value: "alipay" } + ]; + common_vendor.onUnload(() => { + BILL_poster_model.useModel.alipayQrCode.value = {}; + }); common_vendor.onLoad((e) => { + BILL_poster_model.useModel.alipayQrCode.value = {}; + BILL_poster_model.useModel.tabCurrent.value = 0; + BILL_poster_model.useModel.orderInfo.value = e; + console.log(e, "订单信息"); BILL_poster_method.method.setCanvas(e); }); return (_ctx, _cache) => { + var _a, _b, _c; return { - a: common_vendor.o( + a: common_vendor.o((_a = common_vendor.unref(BILL_poster_method.method)) == null ? void 0 : _a.changeTab), + b: common_vendor.p({ + list: tablist, + current: (_c = (_b = common_vendor.unref(BILL_poster_model.useModel)) == null ? void 0 : _b.tabCurrent) == null ? void 0 : _c.value + }), + c: common_vendor.o( //@ts-ignore (...args) => common_vendor.unref(BILL_poster_method.method).onDownloadPosters && common_vendor.unref(BILL_poster_method.method).onDownloadPosters(...args) ) diff --git a/dist/dev/mp-weixin/BILL/poster/index.json b/dist/dev/mp-weixin/BILL/poster/index.json index 31d4724..699a7ff 100644 --- a/dist/dev/mp-weixin/BILL/poster/index.json +++ b/dist/dev/mp-weixin/BILL/poster/index.json @@ -1,4 +1,6 @@ { "navigationBarTitleText": "二维码收款", - "usingComponents": {} + "usingComponents": { + "hs-tabs": "../../components/hs-tabs/hs-tabs" + } } \ No newline at end of file diff --git a/dist/dev/mp-weixin/BILL/poster/index.wxml b/dist/dev/mp-weixin/BILL/poster/index.wxml index 01960a3..0c3dd2e 100644 --- a/dist/dev/mp-weixin/BILL/poster/index.wxml +++ b/dist/dev/mp-weixin/BILL/poster/index.wxml @@ -1 +1 @@ -下载海报 \ No newline at end of file +下载海报 \ No newline at end of file diff --git a/dist/dev/mp-weixin/BILL/poster/index.wxss b/dist/dev/mp-weixin/BILL/poster/index.wxss index b03b933..e989472 100644 --- a/dist/dev/mp-weixin/BILL/poster/index.wxss +++ b/dist/dev/mp-weixin/BILL/poster/index.wxss @@ -7,7 +7,7 @@ padding-top: 30rpx; height: 534px; } -#firstCanvas.data-v-9912baa1 { +#poster_firstCanvas.data-v-9912baa1 { margin: 0 auto; } .poster_func.data-v-9912baa1 { @@ -64,4 +64,8 @@ .image_popup_card_swiper_image.data-v-9912baa1 { width: 480rpx; height: 320rpx; +} +.poster_qrcode.data-v-9912baa1 { + position: absolute; + left: -1000rpx; } \ No newline at end of file diff --git a/dist/dev/mp-weixin/BILL/poster/method.js b/dist/dev/mp-weixin/BILL/poster/method.js index d4ae2ff..a7c1bf7 100644 --- a/dist/dev/mp-weixin/BILL/poster/method.js +++ b/dist/dev/mp-weixin/BILL/poster/method.js @@ -1,16 +1,17 @@ "use strict"; const common_vendor = require("../../common/vendor.js"); +const common_libraries_apiLoading = require("../../common/libraries/apiLoading.js"); +const common_libraries_naviHelper = require("../../common/libraries/naviHelper.js"); const gen_Apis = require("../../gen/Apis.js"); const BILL_poster_model = require("./model.js"); -const common_libraries_apiLoading = require("../../common/libraries/apiLoading.js"); const getQrCode = (data, fun) => { common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.HouseOrder.HouseOrders.GetPayQrCode, { id: data == null ? void 0 : data.order_id }).then((res) => { var _a; const fs = common_vendor.index.getFileSystemManager(); - var times = new Date().getTime(); - var codeimg = common_vendor.wx$1.env.USER_DATA_PATH + "/" + times + ".png"; + let times = new Date().getTime(); + let codeimg = common_vendor.wx$1.env.USER_DATA_PATH + "/" + times + ".png"; fs.writeFile({ filePath: codeimg, data: (_a = res == null ? void 0 : res.data) == null ? void 0 : _a.qr_code.slice(22), @@ -21,37 +22,109 @@ const getQrCode = (data, fun) => { }); }); }; -const method = { - //method - getHouseDetail(id) { - }, - updateCoverInfo() { - this.setCanvas(BILL_poster_model.useModel.houseDetail.value); - }, - setCanvas(data) { - const context = common_vendor.index.createCanvasContext("firstCanvas"); - getQrCode(data, (url) => { +const GetAndSetAlipayQrcode = () => { + console.log("进来:"); + const context = common_vendor.index.createCanvasContext("poster_firstCanvas"); + common_vendor.index.canvasToTempFilePath({ + canvasId: "alipay_qrcode", + x: 0, + y: 0, + width: 170, + height: 170, + destWidth: 170, + destHeight: 170, + success: (json) => { + context.clearRect(0, 0, 345, 504); common_vendor.index.downloadFile({ - url: "https://jyw-dev-1322946948.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K2GQ7CEB6DJ9BN8HMRV8SSWE.png", + url: "https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01KP2XJ54TN4DVMCCJJ0AVNJK8.png", success(res) { + var _a, _b, _c, _d, _e; context.drawImage(res.tempFilePath, 0, 0, 345, 504); context.font = "bold 18px Arial"; context.setTextAlign("center"); - context.fillText((data == null ? void 0 : data.name) || "-", 345 / 2, 45); + context.fillText(((_a = BILL_poster_model.useModel.orderInfo.value) == null ? void 0 : _a.name) || "-", 345 / 2, 45); context.font = "bold 16px Arial"; context.fillStyle = "#DF3600"; - context.fillText(`缴费金额:${data == null ? void 0 : data.amount}元`, 345 / 2, 78); + context.fillText(`缴费金额:¥${(_b = BILL_poster_model.useModel.orderInfo.value) == null ? void 0 : _b.amount}元`, 345 / 2, 78); context.font = "14px Arial"; context.fillStyle = "#333"; - context.fillText("请使用微信扫码支付", 345 / 2, 450); + context.fillText("请使用支付宝扫码支付", 345 / 2, 450); context.font = "12px Arial"; context.fillStyle = "#666"; - context.fillText(`生成时间:${data == null ? void 0 : data.time}`, 345 / 2, 475); - context.drawImage(url, 72.5, 150, 200, 200); + context.fillText(`生成时间:${(_e = (_d = (_c = BILL_poster_model.useModel) == null ? void 0 : _c.alipayQrCode) == null ? void 0 : _d.value) == null ? void 0 : _e.time} 有效时间30分钟`, 345 / 2, 475); + context.drawImage(json.tempFilePath, 72.5, 150, 200, 200); context.restore(); context.draw(); } }); + console.log(json, "支付宝二维码路径"); + }, + fail: (err) => { + console.log(err, "支付宝二维码路径失败"); + } + }); +}; +const GetAlipayQrcode = () => { + var _a, _b, _c, _d; + if ((_c = (_b = (_a = BILL_poster_model.useModel) == null ? void 0 : _a.alipayQrCode) == null ? void 0 : _b.value) == null ? void 0 : _c.payinfo) { + GetAndSetAlipayQrcode(); + return; + } + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.HouseOrder.HouseOrders.AlipayQrCode, { + id: (_d = BILL_poster_model.useModel.orderInfo.value) == null ? void 0 : _d.order_id, + pay_type: "Alipay" + }).then((res) => { + BILL_poster_model.useModel.alipayQrCode.value = { ...res == null ? void 0 : res.data, time: common_vendor.dayjs().format("YYYY-MM-DD HH:mm") }; + SetAlipayQrcode(); + }); +}; +const SetAlipayQrcode = () => { + var _a, _b, _c; + const qr = new common_vendor.UQRCode(); + qr.data = (_c = (_b = (_a = BILL_poster_model.useModel) == null ? void 0 : _a.alipayQrCode) == null ? void 0 : _b.value) == null ? void 0 : _c.payinfo; + qr.size = 170; + qr.make(); + const canvasContext = common_vendor.index.createCanvasContext("alipay_qrcode"); + qr.canvasContext = canvasContext; + qr.drawCanvas(); + setTimeout(() => { + GetAndSetAlipayQrcode(); + }, 300); +}; +const SetCustQrcode = () => { + const context = common_vendor.index.createCanvasContext("poster_firstCanvas"); + common_vendor.index.downloadFile({ + url: "https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01KP2XJ54TN4DVMCCJJ0AVNJK8.png", + success(res) { + var _a, _b, _c, _d; + context.clearRect(0, 0, 345, 504); + context.drawImage(res.tempFilePath, 0, 0, 345, 504); + context.font = "bold 18px Arial"; + context.setTextAlign("center"); + context.fillText(((_a = BILL_poster_model.useModel.custQrcodeInfo.value) == null ? void 0 : _a.name) || "-", 345 / 2, 45); + context.font = "bold 16px Arial"; + context.fillStyle = "#DF3600"; + context.fillText(`缴费金额:¥${(_b = BILL_poster_model.useModel.custQrcodeInfo.value) == null ? void 0 : _b.amount}元`, 345 / 2, 78); + context.font = "14px Arial"; + context.fillStyle = "#333"; + context.fillText("请使用微信扫码支付", 345 / 2, 450); + context.font = "12px Arial"; + context.fillStyle = "#666"; + context.fillText(`生成时间:${(_c = BILL_poster_model.useModel.custQrcodeInfo.value) == null ? void 0 : _c.time}`, 345 / 2, 475); + context.drawImage((_d = BILL_poster_model.useModel.custQrcodeInfo.value) == null ? void 0 : _d.url, 72.5, 150, 200, 200); + context.restore(); + context.draw(); + } + }); +}; +const method = { + //method + getHouseDetail(id) { + }, + setCanvas(data) { + getQrCode(data, (url) => { + BILL_poster_model.useModel.custQrcodeInfo.value = { ...data, url }; + SetCustQrcode(); console.log(url, "二维码路径"); }); }, @@ -66,14 +139,14 @@ const method = { height: 504, destWidth: 345 * 4, destHeight: 504 * 4, - canvasId: "firstCanvas", + canvasId: "poster_firstCanvas", success: function(res) { common_vendor.index.hideLoading(); common_vendor.index.saveImageToPhotosAlbum({ filePath: res.tempFilePath, success: function() { console.log("save success"); - common_vendor.index.hideLoading(); + common_libraries_naviHelper.showToast("保存成功!"); }, fail() { common_vendor.index.hideLoading(); @@ -93,6 +166,14 @@ const method = { this.initActualImages((_a = BILL_poster_model.useModel.houseDetail.value) == null ? void 0 : _a.id); }, copyLink() { + }, + changeTab(idx) { + BILL_poster_model.useModel.tabCurrent.value = idx; + if (idx) { + GetAlipayQrcode(); + } else { + SetCustQrcode(); + } } }; exports.method = method; diff --git a/dist/dev/mp-weixin/BILL/poster/model.js b/dist/dev/mp-weixin/BILL/poster/model.js index e829716..60a6e5b 100644 --- a/dist/dev/mp-weixin/BILL/poster/model.js +++ b/dist/dev/mp-weixin/BILL/poster/model.js @@ -14,6 +14,11 @@ const useModel = { padding: "30rpx" }, houseActualImages: common_vendor.ref([]), - posterImage: common_vendor.ref("") + posterImage: common_vendor.ref(""), + tabCurrent: common_vendor.ref(0), + orderInfo: common_vendor.ref({}), + alipayQrCode: common_vendor.ref({}), + alipayQrCodeShow: common_vendor.ref(false), + custQrcodeInfo: common_vendor.ref({}) }; exports.useModel = useModel; diff --git a/dist/dev/mp-weixin/CUSTOMER/bind_house_form/index.js b/dist/dev/mp-weixin/CUSTOMER/bind_house_form/index.js index 8754ecc..64be860 100644 --- a/dist/dev/mp-weixin/CUSTOMER/bind_house_form/index.js +++ b/dist/dev/mp-weixin/CUSTOMER/bind_house_form/index.js @@ -2,30 +2,32 @@ const common_vendor = require("../../common/vendor.js"); const CUSTOMER_bind_house_form_method = require("./method.js"); const CUSTOMER_bind_house_form_model = require("./model.js"); -require("../../common/libraries/naviHelper.js"); -require("../../gen/Apis.js"); require("../../common/libraries/request.js"); require("../../common/store/useWeAppAuthStore.js"); -require("../../common/libraries/apiLoading.js"); +require("../../gen/Apis.js"); require("../../common/store/useWatermarkStore.js"); require("../../common/store/useWorkStore.js"); +require("../../common/libraries/apiLoading.js"); +require("../../common/libraries/naviHelper.js"); if (!Array) { - const _easycom_hs_cell2 = common_vendor.resolveComponent("hs-cell"); + const _easycom_hs_popup_project_houer2 = common_vendor.resolveComponent("hs-popup-project-houer"); const _easycom_hs_radio_cell_picker2 = common_vendor.resolveComponent("hs-radio-cell-picker"); const _easycom_hs_input2 = common_vendor.resolveComponent("hs-input"); + const _easycom_hs_cell2 = common_vendor.resolveComponent("hs-cell"); const _easycom_hs_upload_id_card2 = common_vendor.resolveComponent("hs-upload-id-card"); const _easycom_hs_upload2 = common_vendor.resolveComponent("hs-upload"); const _easycom_hs_footer2 = common_vendor.resolveComponent("hs-footer"); - (_easycom_hs_cell2 + _easycom_hs_radio_cell_picker2 + _easycom_hs_input2 + _easycom_hs_upload_id_card2 + _easycom_hs_upload2 + _easycom_hs_footer2)(); + (_easycom_hs_popup_project_houer2 + _easycom_hs_radio_cell_picker2 + _easycom_hs_input2 + _easycom_hs_cell2 + _easycom_hs_upload_id_card2 + _easycom_hs_upload2 + _easycom_hs_footer2)(); } -const _easycom_hs_cell = () => "../../components/hs-cell/hs-cell.js"; +const _easycom_hs_popup_project_houer = () => "../../components/hs-popup-project-houer/hs-popup-project-houer.js"; const _easycom_hs_radio_cell_picker = () => "../../components/hs-radio-cell-picker/hs-radio-cell-picker.js"; const _easycom_hs_input = () => "../../components/hs-input/hs-input.js"; +const _easycom_hs_cell = () => "../../components/hs-cell/hs-cell.js"; const _easycom_hs_upload_id_card = () => "../../components/hs-upload-id-card/hs-upload-id-card.js"; const _easycom_hs_upload = () => "../../components/hs-upload/hs-upload.js"; const _easycom_hs_footer = () => "../../components/hs-footer/hs-footer.js"; if (!Math) { - (_easycom_hs_cell + _easycom_hs_radio_cell_picker + _easycom_hs_input + _easycom_hs_upload_id_card + _easycom_hs_upload + _easycom_hs_footer)(); + (_easycom_hs_popup_project_houer + _easycom_hs_radio_cell_picker + _easycom_hs_input + _easycom_hs_cell + _easycom_hs_upload_id_card + _easycom_hs_upload + _easycom_hs_footer)(); } const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ __name: "index", @@ -53,14 +55,10 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ return (_ctx, _cache) => { var _a, _b, _c, _d, _e, _f, _g; return common_vendor.e({ - a: common_vendor.o((_a = common_vendor.unref(CUSTOMER_bind_house_form_method.method)) == null ? void 0 : _a.handleToSelectHouse), + a: common_vendor.o((_a = common_vendor.unref(CUSTOMER_bind_house_form_method.method)) == null ? void 0 : _a.handleSelectProject), b: common_vendor.p({ title: "选择房屋", - required: true, - borderTop: true, - isLink: true, - value: (_d = (_c = (_b = common_vendor.unref(CUSTOMER_bind_house_form_model.useModel)) == null ? void 0 : _b.formData) == null ? void 0 : _c.value) == null ? void 0 : _d.full_name, - isPlaceholder: "请选择房屋" + defaultValueName: (_d = (_c = (_b = common_vendor.unref(CUSTOMER_bind_house_form_model.useModel)) == null ? void 0 : _b.formData) == null ? void 0 : _c.value) == null ? void 0 : _d.full_name }), c: common_vendor.o(($event) => common_vendor.unref(CUSTOMER_bind_house_form_model.useModel).formData.value.type = $event), d: common_vendor.p({ diff --git a/dist/dev/mp-weixin/CUSTOMER/bind_house_form/index.json b/dist/dev/mp-weixin/CUSTOMER/bind_house_form/index.json index 0aa558a..a736d4a 100644 --- a/dist/dev/mp-weixin/CUSTOMER/bind_house_form/index.json +++ b/dist/dev/mp-weixin/CUSTOMER/bind_house_form/index.json @@ -1,9 +1,10 @@ { "navigationBarTitleText": "绑定产权人", "usingComponents": { - "hs-cell": "../../components/hs-cell/hs-cell", + "hs-popup-project-houer": "../../components/hs-popup-project-houer/hs-popup-project-houer", "hs-radio-cell-picker": "../../components/hs-radio-cell-picker/hs-radio-cell-picker", "hs-input": "../../components/hs-input/hs-input", + "hs-cell": "../../components/hs-cell/hs-cell", "hs-upload-id-card": "../../components/hs-upload-id-card/hs-upload-id-card", "hs-upload": "../../components/hs-upload/hs-upload", "hs-footer": "../../components/hs-footer/hs-footer" diff --git a/dist/dev/mp-weixin/CUSTOMER/bind_house_form/index.wxml b/dist/dev/mp-weixin/CUSTOMER/bind_house_form/index.wxml index c5d7180..3c2882f 100644 --- a/dist/dev/mp-weixin/CUSTOMER/bind_house_form/index.wxml +++ b/dist/dev/mp-weixin/CUSTOMER/bind_house_form/index.wxml @@ -1 +1 @@ - 个人信息 \ No newline at end of file + 个人信息 \ No newline at end of file diff --git a/dist/dev/mp-weixin/CUSTOMER/bind_house_form/method.js b/dist/dev/mp-weixin/CUSTOMER/bind_house_form/method.js index 1fbb9d4..7f8d7b9 100644 --- a/dist/dev/mp-weixin/CUSTOMER/bind_house_form/method.js +++ b/dist/dev/mp-weixin/CUSTOMER/bind_house_form/method.js @@ -1,13 +1,13 @@ "use strict"; const common_vendor = require("../../common/vendor.js"); -const common_libraries_naviHelper = require("../../common/libraries/naviHelper.js"); -const CUSTOMER_bind_house_form_model = require("./model.js"); -const gen_Apis = require("../../gen/Apis.js"); -const common_libraries_apiLoading = require("../../common/libraries/apiLoading.js"); require("../../common/libraries/request.js"); require("../../common/store/useWatermarkStore.js"); require("../../common/store/useWeAppAuthStore.js"); const common_store_useWorkStore = require("../../common/store/useWorkStore.js"); +const common_libraries_apiLoading = require("../../common/libraries/apiLoading.js"); +const common_libraries_naviHelper = require("../../common/libraries/naviHelper.js"); +const gen_Apis = require("../../gen/Apis.js"); +const CUSTOMER_bind_house_form_model = require("./model.js"); const work = common_store_useWorkStore.useWorkStore(); const method = { init() { @@ -16,14 +16,24 @@ const method = { CUSTOMER_bind_house_form_model.useModel.formData.value = { ...CUSTOMER_bind_house_form_model.useModel.formData.value }; - if ((_a = work == null ? void 0 : work.selectWorkHouse) == null ? void 0 : _a.value) { + if ((_a = work == null ? void 0 : work.selectWorkHouse) == null ? void 0 : _a.id) { CUSTOMER_bind_house_form_model.useModel.formData.value = { ...CUSTOMER_bind_house_form_model.useModel.formData.value, - asset_houses_id: (_b = work == null ? void 0 : work.selectWorkHouse) == null ? void 0 : _b.value, - full_name: (_c = work == null ? void 0 : work.selectWorkHouse) == null ? void 0 : _c.label + asset_houses_id: (_b = work == null ? void 0 : work.selectWorkHouse) == null ? void 0 : _b.id, + full_name: (_c = work == null ? void 0 : work.selectWorkHouse) == null ? void 0 : _c.full_name }; } }, + handleSelectProject(data) { + var _a, _b; + let obj = data[3]; + CUSTOMER_bind_house_form_model.useModel.formData.value = { + ...(_b = (_a = CUSTOMER_bind_house_form_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value, + asset_houses_id: obj == null ? void 0 : obj.id, + full_name: obj == null ? void 0 : obj.full_name + }; + console.log(data, "data"); + }, handleSubmit() { var _a, _b, _c, _d, _e; let data = (_b = (_a = CUSTOMER_bind_house_form_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value; diff --git a/dist/dev/mp-weixin/CUSTOMER/list_bill/index.js b/dist/dev/mp-weixin/CUSTOMER/list_bill/index.js index d75c922..2fbcd60 100644 --- a/dist/dev/mp-weixin/CUSTOMER/list_bill/index.js +++ b/dist/dev/mp-weixin/CUSTOMER/list_bill/index.js @@ -2,64 +2,61 @@ const common_vendor = require("../../common/vendor.js"); const CUSTOMER_list_bill_method = require("./method.js"); const CUSTOMER_list_bill_model = require("./model.js"); -const gen_Enums = require("../../gen/Enums.js"); const common_libraries_userUserLogin = require("../../common/libraries/userUserLogin.js"); -require("../../common/libraries/apiLoading.js"); -require("../../gen/Apis.js"); +const gen_Enums = require("../../gen/Enums.js"); require("../../common/libraries/request.js"); require("../../common/store/useWeAppAuthStore.js"); +require("../../gen/Apis.js"); require("../../common/store/useWatermarkStore.js"); require("../../common/store/useWorkStore.js"); -require("../../common/libraries/sendWxWork.js"); +require("../../common/libraries/apiLoading.js"); require("../../common/libraries/naviHelper.js"); +require("../../common/libraries/sendWxWork.js"); if (!Array) { - const _easycom_hs_empty2 = common_vendor.resolveComponent("hs-empty"); const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons"); const _easycom_hs_enum_tag2 = common_vendor.resolveComponent("hs-enum-tag"); + const _easycom_cc_scroll_loading2 = common_vendor.resolveComponent("cc-scroll-loading"); const _easycom_hs_button2 = common_vendor.resolveComponent("hs-button"); - (_easycom_hs_empty2 + _easycom_uni_icons2 + _easycom_hs_enum_tag2 + _easycom_hs_button2)(); + (_easycom_uni_icons2 + _easycom_hs_enum_tag2 + _easycom_cc_scroll_loading2 + _easycom_hs_button2)(); } -const _easycom_hs_empty = () => "../../components/hs-empty/hs-empty.js"; const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"; const _easycom_hs_enum_tag = () => "../../components/hs-enum-tag/hs-enum-tag.js"; +const _easycom_cc_scroll_loading = () => "../../common/components/cc-scroll-loading/cc-scroll-loading.js"; const _easycom_hs_button = () => "../../components/hs-button/hs-button.js"; if (!Math) { - (_easycom_hs_empty + _easycom_uni_icons + _easycom_hs_enum_tag + _easycom_hs_button)(); + (_easycom_uni_icons + _easycom_hs_enum_tag + _easycom_cc_scroll_loading + _easycom_hs_button)(); } const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ __name: "index", setup(__props) { + common_vendor.onUnload(() => { + CUSTOMER_list_bill_model.useModel.items.value = []; + CUSTOMER_list_bill_model.useModel.formData.value.page = 1; + }); common_vendor.onLoad(async (e) => { var _a, _b, _c; await ((_a = common_vendor.getCurrentInstance()) == null ? void 0 : _a.appContext.config.globalProperties.$onLaunched); CUSTOMER_list_bill_model.useModel.formData.value = e; if ((_b = common_libraries_userUserLogin.getUser) == null ? void 0 : _b.getLoginStatus()) { - CUSTOMER_list_bill_model.useModel.items.value = []; (_c = CUSTOMER_list_bill_method.method) == null ? void 0 : _c.handleGetList(); } }); return (_ctx, _cache) => { - var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m; - return common_vendor.e({ + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j; + return { a: common_vendor.t((_c = (_b = (_a = common_vendor.unref(CUSTOMER_list_bill_model.useModel)) == null ? void 0 : _a.formData) == null ? void 0 : _b.value) == null ? void 0 : _c.name), - b: !((_f = (_e = (_d = common_vendor.unref(CUSTOMER_list_bill_model.useModel)) == null ? void 0 : _d.items) == null ? void 0 : _e.value) == null ? void 0 : _f.length) - }, !((_i = (_h = (_g = common_vendor.unref(CUSTOMER_list_bill_model.useModel)) == null ? void 0 : _g.items) == null ? void 0 : _h.value) == null ? void 0 : _i.length) ? { - c: common_vendor.p({ - text: "无账单" - }) - } : {}, { - d: common_vendor.f((_k = (_j = common_vendor.unref(CUSTOMER_list_bill_model.useModel)) == null ? void 0 : _j.items) == null ? void 0 : _k.value, (i, index, i0) => { + b: common_vendor.f((_e = (_d = common_vendor.unref(CUSTOMER_list_bill_model.useModel)) == null ? void 0 : _d.items) == null ? void 0 : _e.value, (i, index, i0) => { return common_vendor.e({ a: i == null ? void 0 : i.checked }, (i == null ? void 0 : i.checked) ? { - b: "1712258e-1-" + i0, + b: "1712258e-1-" + i0 + ",1712258e-0", c: common_vendor.p({ type: "checkbox-filled", size: "20", color: "#2A7EFB" }) } : { - d: "1712258e-2-" + i0, + d: "1712258e-2-" + i0 + ",1712258e-0", e: common_vendor.p({ type: "circle", size: "20", @@ -72,7 +69,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ return (_a2 = common_vendor.unref(CUSTOMER_list_bill_method.method)) == null ? void 0 : _a2.handleCollapseAllCheckedBtn(index, i); }, `items_${index}`), h: common_vendor.t((i == null ? void 0 : i.pending_amount) || "0.00"), - i: "1712258e-3-" + i0, + i: "1712258e-3-" + i0 + ",1712258e-0", j: common_vendor.o(($event) => { var _a2; return (_a2 = common_vendor.unref(CUSTOMER_list_bill_method.method)) == null ? void 0 : _a2.handleCollapseClick(index, i); @@ -83,21 +80,21 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ return common_vendor.e({ a: k == null ? void 0 : k.checked }, (k == null ? void 0 : k.checked) ? { - b: "1712258e-4-" + i0 + "-" + i1, + b: "1712258e-4-" + i0 + "-" + i1 + ",1712258e-0", c: common_vendor.p({ type: "checkbox-filled", size: "20", color: "#2A7EFB" }) } : { - d: "1712258e-5-" + i0 + "-" + i1, + d: "1712258e-5-" + i0 + "-" + i1 + ",1712258e-0", e: common_vendor.p({ type: "circle", size: "20", color: "#888" }) }, { - f: "1712258e-6-" + i0 + "-" + i1, + f: "1712258e-6-" + i0 + "-" + i1 + ",1712258e-0", g: common_vendor.p({ Enums: common_vendor.unref(gen_Enums.HouseBillsTypeEnum), value: k == null ? void 0 : k.type, @@ -118,24 +115,28 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ m: `items_${index}` }); }), - e: common_vendor.p({ + c: common_vendor.p({ type: "down", size: "15", color: "#999" }), - f: common_vendor.o((_l = common_vendor.unref(CUSTOMER_list_bill_method.method)) == null ? void 0 : _l.handleQRCode), + d: common_vendor.o((_f = common_vendor.unref(CUSTOMER_list_bill_method.method)) == null ? void 0 : _f.handleLoadMore), + e: common_vendor.p({ + meta: (_h = (_g = common_vendor.unref(CUSTOMER_list_bill_model.useModel)) == null ? void 0 : _g.metaData) == null ? void 0 : _h.value + }), + f: common_vendor.o((_i = common_vendor.unref(CUSTOMER_list_bill_method.method)) == null ? void 0 : _i.handleQRCode), g: common_vendor.p({ label: "二维码收款", size: "md", type: "ghost" }), - h: common_vendor.o((_m = common_vendor.unref(CUSTOMER_list_bill_method.method)) == null ? void 0 : _m.handleSelectExternalContact), + h: common_vendor.o((_j = common_vendor.unref(CUSTOMER_list_bill_method.method)) == null ? void 0 : _j.handleSelectExternalContact), i: common_vendor.p({ type: "primary", size: "md", label: "分享账单" }) - }); + }; }; } }); diff --git a/dist/dev/mp-weixin/CUSTOMER/list_bill/index.json b/dist/dev/mp-weixin/CUSTOMER/list_bill/index.json index 9fc5aa3..1ed1279 100644 --- a/dist/dev/mp-weixin/CUSTOMER/list_bill/index.json +++ b/dist/dev/mp-weixin/CUSTOMER/list_bill/index.json @@ -1,9 +1,9 @@ { "navigationBarTitleText": "发送账单", "usingComponents": { - "hs-empty": "../../components/hs-empty/hs-empty", "uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons", "hs-enum-tag": "../../components/hs-enum-tag/hs-enum-tag", + "cc-scroll-loading": "../../common/components/cc-scroll-loading/cc-scroll-loading", "hs-button": "../../components/hs-button/hs-button" } } \ No newline at end of file diff --git a/dist/dev/mp-weixin/CUSTOMER/list_bill/index.wxml b/dist/dev/mp-weixin/CUSTOMER/list_bill/index.wxml index bbe85e9..4ba7399 100644 --- a/dist/dev/mp-weixin/CUSTOMER/list_bill/index.wxml +++ b/dist/dev/mp-weixin/CUSTOMER/list_bill/index.wxml @@ -1 +1 @@ -{{a}}{{i.f}}账单 ¥{{i.h}}¥{{k.h}} \ No newline at end of file +{{a}}{{i.f}}账单 ¥{{i.h}}¥{{k.h}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/CUSTOMER/list_bill/index.wxss b/dist/dev/mp-weixin/CUSTOMER/list_bill/index.wxss index 99faf3d..8c6b5b3 100644 --- a/dist/dev/mp-weixin/CUSTOMER/list_bill/index.wxss +++ b/dist/dev/mp-weixin/CUSTOMER/list_bill/index.wxss @@ -16,8 +16,8 @@ page { } .bill_content { padding: 20rpx 30rpx 0 30rpx; - padding-bottom: calc(210rpx + constant(safe-area-inset-bottom)); - padding-bottom: calc(210rpx + env(safe-area-inset-bottom)); + padding-bottom: calc(120rpx + constant(safe-area-inset-bottom)); + padding-bottom: calc(120rpx + env(safe-area-inset-bottom)); } .bill_content .item_content { padding: 0 0 30rpx 0; diff --git a/dist/dev/mp-weixin/CUSTOMER/list_bill/method.js b/dist/dev/mp-weixin/CUSTOMER/list_bill/method.js index 68f9bc5..167c7fe 100644 --- a/dist/dev/mp-weixin/CUSTOMER/list_bill/method.js +++ b/dist/dev/mp-weixin/CUSTOMER/list_bill/method.js @@ -1,14 +1,14 @@ "use strict"; const common_vendor = require("../../common/vendor.js"); -const CUSTOMER_list_bill_model = require("./model.js"); -const common_libraries_apiLoading = require("../../common/libraries/apiLoading.js"); -const gen_Apis = require("../../gen/Apis.js"); -const common_libraries_sendWxWork = require("../../common/libraries/sendWxWork.js"); require("../../common/libraries/request.js"); require("../../common/store/useWatermarkStore.js"); const common_store_useWeAppAuthStore = require("../../common/store/useWeAppAuthStore.js"); require("../../common/store/useWorkStore.js"); +const common_libraries_apiLoading = require("../../common/libraries/apiLoading.js"); const common_libraries_naviHelper = require("../../common/libraries/naviHelper.js"); +const common_libraries_sendWxWork = require("../../common/libraries/sendWxWork.js"); +const gen_Apis = require("../../gen/Apis.js"); +const CUSTOMER_list_bill_model = require("./model.js"); const auth = common_store_useWeAppAuthStore.useWeAppAuthStore(); const handleGetList = () => { var _a, _b; @@ -22,6 +22,7 @@ const handleGetList = () => { }); }); CUSTOMER_list_bill_model.useModel.items.value = [...CUSTOMER_list_bill_model.useModel.items.value, ...res == null ? void 0 : res.data]; + CUSTOMER_list_bill_model.useModel.metaData.value = res == null ? void 0 : res.meta; }); }; const getBillIds = () => { @@ -70,6 +71,10 @@ const method = { CUSTOMER_list_bill_model.useModel.formData.value = { ...(_b = (_a = CUSTOMER_list_bill_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value, ...res, page: 1 }; handleGetList(); }, + handleLoadMore(params) { + CUSTOMER_list_bill_model.useModel.formData.value.page = params == null ? void 0 : params.page; + handleGetList(); + }, handleCalculatePrice(index, idx, res) { var _a; let checked = res == null ? void 0 : res.checked; diff --git a/dist/dev/mp-weixin/CUSTOMER/list_bill/model.js b/dist/dev/mp-weixin/CUSTOMER/list_bill/model.js index de66c3a..0780f6b 100644 --- a/dist/dev/mp-weixin/CUSTOMER/list_bill/model.js +++ b/dist/dev/mp-weixin/CUSTOMER/list_bill/model.js @@ -4,6 +4,7 @@ const useModel = { items: common_vendor.ref([]), currentTabs: common_vendor.ref(0), total_amount: common_vendor.ref(0), + metaData: common_vendor.ref({}), formData: common_vendor.ref({ page: 1 }) diff --git a/dist/dev/mp-weixin/INDEX/pass/index.js b/dist/dev/mp-weixin/INDEX/pass/index.js index 609e247..9e7501c 100644 --- a/dist/dev/mp-weixin/INDEX/pass/index.js +++ b/dist/dev/mp-weixin/INDEX/pass/index.js @@ -28,50 +28,77 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ setup(__props) { common_vendor.onLoad((e) => { var _a; - (_a = INDEX_pass_method.method) == null ? void 0 : _a.getShow(e); + (_a = INDEX_pass_method.method) == null ? void 0 : _a.init(e); console.log(e); }); return (_ctx, _cache) => { - var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea; + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na, _oa, _pa, _qa, _ra, _sa, _ta, _ua, _va, _wa, _xa, _ya, _za, _Aa, _Ba, _Ca, _Da, _Ea, _Fa, _Ga, _Ha, _Ia, _Ja; return common_vendor.e({ - a: (_b = (_a = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _a.isExpired) == null ? void 0 : _b.value - }, ((_d = (_c = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _c.isExpired) == null ? void 0 : _d.value) ? { - b: common_vendor.p({ + a: ((_c = (_b = (_a = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _a.formData) == null ? void 0 : _b.value) == null ? void 0 : _c.source) === "2" + }, ((_f = (_e = (_d = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _d.formData) == null ? void 0 : _e.value) == null ? void 0 : _f.source) === "2" ? common_vendor.e({ + b: (_h = (_g = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _g.isExpired) == null ? void 0 : _h.value + }, ((_j = (_i = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _i.isExpired) == null ? void 0 : _j.value) ? { + c: common_vendor.p({ type: "info", size: "50", color: "#FF4D4F" }) } : { - c: common_vendor.p({ - src: ((_g = (_f = (_e = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _e.userInfo) == null ? void 0 : _f.value) == null ? void 0 : _g.worker_photo) && ((_k = (_j = (_i = (_h = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _h.userInfo) == null ? void 0 : _i.value) == null ? void 0 : _j.worker_photo[0]) == null ? void 0 : _k.url), + d: common_vendor.p({ + src: ((_m = (_l = (_k = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _k.userInfo) == null ? void 0 : _l.value) == null ? void 0 : _m.worker_photo) && ((_q = (_p = (_o = (_n = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _n.userInfo) == null ? void 0 : _o.value) == null ? void 0 : _p.worker_photo[0]) == null ? void 0 : _q.url), size: "70" }), - d: common_vendor.t(((_n = (_m = (_l = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _l.showData) == null ? void 0 : _m.value) == null ? void 0 : _n.visitor_name) || "-"), - e: common_vendor.t(((_q = (_p = (_o = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _o.showData) == null ? void 0 : _p.value) == null ? void 0 : _q.visitor_phone) || "-") + e: common_vendor.t(((_t = (_s = (_r = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _r.showData) == null ? void 0 : _s.value) == null ? void 0 : _t.visitor_name) || "-"), + f: common_vendor.t(((_w = (_v = (_u = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _u.showData) == null ? void 0 : _v.value) == null ? void 0 : _w.visitor_phone) || "-") }, { - f: common_vendor.t(((_u = (_t = (_s = (_r = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _r.showData) == null ? void 0 : _s.value) == null ? void 0 : _t.asset_house) == null ? void 0 : _u.full_name) || "-"), - g: (_w = (_v = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _v.isExpired) == null ? void 0 : _w.value - }, ((_y = (_x = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _x.isExpired) == null ? void 0 : _y.value) ? {} : { - h: common_vendor.t((_C = common_vendor.unref(gen_Enums.VisitorAppliesStatusEnum)[(_B = (_A = (_z = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _z.showData) == null ? void 0 : _A.value) == null ? void 0 : _B.status]) == null ? void 0 : _C.text), - i: common_vendor.n(`value status_${(_F = (_E = (_D = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _D.showData) == null ? void 0 : _E.value) == null ? void 0 : _F.status}`) + g: common_vendor.t(((_A = (_z = (_y = (_x = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _x.showData) == null ? void 0 : _y.value) == null ? void 0 : _z.asset_house) == null ? void 0 : _A.full_name) || "-"), + h: (_C = (_B = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _B.isExpired) == null ? void 0 : _C.value + }, ((_E = (_D = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _D.isExpired) == null ? void 0 : _E.value) ? {} : { + i: common_vendor.t((_I = common_vendor.unref(gen_Enums.VisitorAppliesStatusEnum)[(_H = (_G = (_F = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _F.showData) == null ? void 0 : _G.value) == null ? void 0 : _H.status]) == null ? void 0 : _I.text), + j: common_vendor.n(`value status_${(_L = (_K = (_J = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _J.showData) == null ? void 0 : _K.value) == null ? void 0 : _L.status}`) }, { - j: (_I = (_H = (_G = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _G.showData) == null ? void 0 : _H.value) == null ? void 0 : _I.remark - }, ((_L = (_K = (_J = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _J.showData) == null ? void 0 : _K.value) == null ? void 0 : _L.remark) ? { - k: common_vendor.t(((_O = (_N = (_M = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _M.showData) == null ? void 0 : _N.value) == null ? void 0 : _O.remark) || "-") + k: (_O = (_N = (_M = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _M.showData) == null ? void 0 : _N.value) == null ? void 0 : _O.remark + }, ((_R = (_Q = (_P = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _P.showData) == null ? void 0 : _Q.value) == null ? void 0 : _R.remark) ? { + l: common_vendor.t(((_U = (_T = (_S = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _S.showData) == null ? void 0 : _T.value) == null ? void 0 : _U.remark) || "-") } : {}, { - l: common_vendor.t(((_S = (_R = (_Q = (_P = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _P.showData) == null ? void 0 : _Q.value) == null ? void 0 : _R.last_enter_record) == null ? void 0 : _S.enter_time) || "-"), - m: common_vendor.t(((_W = (_V = (_U = (_T = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _T.showData) == null ? void 0 : _U.value) == null ? void 0 : _V.last_exit_record) == null ? void 0 : _W.exit_time) || "-"), - n: ((_Z = (_Y = (_X = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _X.showData) == null ? void 0 : _Y.value) == null ? void 0 : _Z.status) === "Approved" && !((_$ = (__ = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : __.isExpired) == null ? void 0 : _$.value) - }, ((_ca = (_ba = (_aa = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _aa.showData) == null ? void 0 : _ba.value) == null ? void 0 : _ca.status) === "Approved" && !((_ea = (_da = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _da.isExpired) == null ? void 0 : _ea.value) ? { - o: common_vendor.o(($event) => { + m: common_vendor.t(((_Y = (_X = (_W = (_V = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _V.showData) == null ? void 0 : _W.value) == null ? void 0 : _X.last_enter_record) == null ? void 0 : _Y.enter_time) || "-"), + n: common_vendor.t(((_aa = (_$ = (__ = (_Z = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _Z.showData) == null ? void 0 : __.value) == null ? void 0 : _$.last_exit_record) == null ? void 0 : _aa.exit_time) || "-") + }) : {}, { + o: ((_da = (_ca = (_ba = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _ba.formData) == null ? void 0 : _ca.value) == null ? void 0 : _da.source) === "4" + }, ((_ga = (_fa = (_ea = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _ea.formData) == null ? void 0 : _fa.value) == null ? void 0 : _ga.source) === "4" ? { + p: common_vendor.p({ + size: "70" + }), + q: common_vendor.t(((_ka = (_ja = (_ia = (_ha = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _ha.showData) == null ? void 0 : _ia.value) == null ? void 0 : _ja.house) == null ? void 0 : _ka.full_name) || "-"), + r: common_vendor.t(((_na = (_ma = (_la = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _la.showData) == null ? void 0 : _ma.value) == null ? void 0 : _na.occupant_name) || "-") + } : {}, { + s: ((_qa = (_pa = (_oa = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _oa.showData) == null ? void 0 : _pa.value) == null ? void 0 : _qa.status) === "Approved" && !((_sa = (_ra = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _ra.isExpired) == null ? void 0 : _sa.value) && ((_va = (_ua = (_ta = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _ta.formData) == null ? void 0 : _ua.value) == null ? void 0 : _va.source) === "2" + }, ((_ya = (_xa = (_wa = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _wa.showData) == null ? void 0 : _xa.value) == null ? void 0 : _ya.status) === "Approved" && !((_Aa = (_za = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _za.isExpired) == null ? void 0 : _Aa.value) && ((_Da = (_Ca = (_Ba = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _Ba.formData) == null ? void 0 : _Ca.value) == null ? void 0 : _Da.source) === "2" ? { + t: common_vendor.o(($event) => { var _a2; return (_a2 = common_vendor.unref(INDEX_pass_method.method)) == null ? void 0 : _a2.handleSubmit("enter"); }), - p: common_vendor.o(($event) => { + v: common_vendor.o(($event) => { var _a2; return (_a2 = common_vendor.unref(INDEX_pass_method.method)) == null ? void 0 : _a2.handleSubmit("exit"); }), - q: common_vendor.p({ + w: common_vendor.p({ + btnParimaryName: "进入小区", + btnOtherShow: true, + btnOtherName: "离开小区" + }) + } : {}, { + x: ((_Ga = (_Fa = (_Ea = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _Ea.formData) == null ? void 0 : _Fa.value) == null ? void 0 : _Ga.source) === "4" + }, ((_Ja = (_Ia = (_Ha = common_vendor.unref(INDEX_pass_model.useModel)) == null ? void 0 : _Ha.formData) == null ? void 0 : _Ia.value) == null ? void 0 : _Ja.source) === "4" ? { + y: common_vendor.o(($event) => { + var _a2; + return (_a2 = common_vendor.unref(INDEX_pass_method.method)) == null ? void 0 : _a2.handleSubmit("enter"); + }), + z: common_vendor.o(($event) => { + var _a2; + return (_a2 = common_vendor.unref(INDEX_pass_method.method)) == null ? void 0 : _a2.handleSubmit("exit"); + }), + A: common_vendor.p({ btnParimaryName: "进入小区", btnOtherShow: true, btnOtherName: "离开小区" diff --git a/dist/dev/mp-weixin/INDEX/pass/index.wxml b/dist/dev/mp-weixin/INDEX/pass/index.wxml index 61a5893..8ee2477 100644 --- a/dist/dev/mp-weixin/INDEX/pass/index.wxml +++ b/dist/dev/mp-weixin/INDEX/pass/index.wxml @@ -1 +1 @@ - 通行证已失效 该二维码已失效,请和客户确认出入信息 关联房屋 {{f}} 状态 已失效 {{h}} 事项 {{k}} 上次进入时间 {{l}} 上次离开时间 {{m}} \ No newline at end of file + 通行证已失效 该二维码已失效,请和客户确认出入信息 关联房屋 {{g}} 状态 已失效 {{i}} 事项 {{l}} 上次进入时间 {{m}} 上次离开时间 {{n}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/INDEX/pass/index.wxss b/dist/dev/mp-weixin/INDEX/pass/index.wxss index a07e730..8c6c858 100644 --- a/dist/dev/mp-weixin/INDEX/pass/index.wxss +++ b/dist/dev/mp-weixin/INDEX/pass/index.wxss @@ -23,7 +23,7 @@ page { border-radius: 20rpx; margin: 0 30rpx; overflow: hidden; - padding: 50rpx 0 30rpx 0; + padding: 50rpx 0; } .release_content .user_info { color: #3d3d3d; diff --git a/dist/dev/mp-weixin/INDEX/pass/method.js b/dist/dev/mp-weixin/INDEX/pass/method.js index ac6c9d7..63a24fb 100644 --- a/dist/dev/mp-weixin/INDEX/pass/method.js +++ b/dist/dev/mp-weixin/INDEX/pass/method.js @@ -4,7 +4,7 @@ const common_libraries_day = require("../../common/libraries/day.js"); const common_libraries_naviHelper = require("../../common/libraries/naviHelper.js"); const gen_Apis = require("../../gen/Apis.js"); const INDEX_pass_model = require("./model.js"); -const getShow = (data) => { +const getFitmentShow = (data) => { common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Visitor.VisitorApplies.Show, data).then((res) => { var _a, _b, _c, _d, _e, _f; INDEX_pass_model.useModel.showData.value = res == null ? void 0 : res.data; @@ -18,16 +18,20 @@ const getShow = (data) => { }); }; const method = { - getShow, + init(e) { + INDEX_pass_model.useModel.formData.value = e; + console.log(e, INDEX_pass_model.useModel.formData.value, "sncd"); + getFitmentShow(e); + }, handleSubmit(val) { - var _a, _b, _c; + var _a, _b, _c, _d, _e; common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Visitor.VisitorApplies.Scan, { code: (_c = (_b = (_a = INDEX_pass_model.useModel) == null ? void 0 : _a.showData) == null ? void 0 : _b.value) == null ? void 0 : _c.visitor_code, - scan_type: val + scan_type: val, + ...(_e = (_d = INDEX_pass_model.useModel) == null ? void 0 : _d.formData) == null ? void 0 : _e.value }).then((res) => { common_libraries_naviHelper.showToast("操作成功!", () => { - var _a2, _b2, _c2; - getShow({ id: (_c2 = (_b2 = (_a2 = INDEX_pass_model.useModel) == null ? void 0 : _a2.showData) == null ? void 0 : _b2.value) == null ? void 0 : _c2.id }); + getFitmentShow(INDEX_pass_model.useModel.formData.value); }); console.log(res); }); diff --git a/dist/dev/mp-weixin/INDEX/watermark_camera/index.js b/dist/dev/mp-weixin/INDEX/watermark_camera/index.js index 0c8a4c0..de7b94b 100644 --- a/dist/dev/mp-weixin/INDEX/watermark_camera/index.js +++ b/dist/dev/mp-weixin/INDEX/watermark_camera/index.js @@ -16,7 +16,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ __name: "index", setup(__props) { common_vendor.onLoad((e) => { - let address = common_libraries_map.getMapAddress(); + let address = common_libraries_map.getMapLbs(); INDEX_watermark_camera_model.useModel.source.value = (e == null ? void 0 : e.source) || "save"; address.then((res) => { INDEX_watermark_camera_model.useModel.address.value = res; @@ -24,14 +24,14 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ }); }); return (_ctx, _cache) => { - var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n; + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q; return { a: common_vendor.t((_b = (_a = common_vendor.unref(INDEX_watermark_camera_model.useModel)) == null ? void 0 : _a.time) == null ? void 0 : _b.value), b: common_vendor.t(((_e = (_d = (_c = common_vendor.unref(INDEX_watermark_camera_model.useModel)) == null ? void 0 : _c.userInfo) == null ? void 0 : _d.value) == null ? void 0 : _e.name) || ""), c: common_vendor.t((_g = (_f = common_vendor.unref(INDEX_watermark_camera_model.useModel)) == null ? void 0 : _f.day) == null ? void 0 : _g.value), d: common_vendor.t((_i = (_h = common_vendor.unref(INDEX_watermark_camera_model.useModel)) == null ? void 0 : _h.weekDay) == null ? void 0 : _i.value), - e: common_vendor.t(((_l = (_k = (_j = common_vendor.unref(INDEX_watermark_camera_model.useModel)) == null ? void 0 : _j.address) == null ? void 0 : _k.value) == null ? void 0 : _l.address) || ""), - f: (_n = (_m = common_vendor.unref(INDEX_watermark_camera_model.useModel)) == null ? void 0 : _m.devicePosition) == null ? void 0 : _n.value, + e: common_vendor.t(((_l = (_k = (_j = common_vendor.unref(INDEX_watermark_camera_model.useModel)) == null ? void 0 : _j.address) == null ? void 0 : _k.value) == null ? void 0 : _l.address) || ((_o = (_n = (_m = common_vendor.unref(INDEX_watermark_camera_model.useModel)) == null ? void 0 : _m.address) == null ? void 0 : _n.value) == null ? void 0 : _o.formatted_address) || ""), + f: (_q = (_p = common_vendor.unref(INDEX_watermark_camera_model.useModel)) == null ? void 0 : _p.devicePosition) == null ? void 0 : _q.value, g: common_vendor.o( //@ts-ignore (...args) => { diff --git a/dist/dev/mp-weixin/INDEX/watermark_camera/index.wxss b/dist/dev/mp-weixin/INDEX/watermark_camera/index.wxss index 23be262..dab8f8e 100644 --- a/dist/dev/mp-weixin/INDEX/watermark_camera/index.wxss +++ b/dist/dev/mp-weixin/INDEX/watermark_camera/index.wxss @@ -55,7 +55,7 @@ page { .watermark_preview .watermark_address { color: #fff; font-size: 26rpx; - padding: 20rpx 0 25rpx 0; + padding: 20rpx 20rpx 25rpx 0; } .watermark_camera_witch_btn { position: absolute; diff --git a/dist/dev/mp-weixin/INDEX/watermark_camera/method.js b/dist/dev/mp-weixin/INDEX/watermark_camera/method.js index a8c4c95..e60b10f 100644 --- a/dist/dev/mp-weixin/INDEX/watermark_camera/method.js +++ b/dist/dev/mp-weixin/INDEX/watermark_camera/method.js @@ -30,7 +30,7 @@ const method = { common_vendor.index.getImageInfo({ src: res == null ? void 0 : res.tempImagePath, success: (img) => { - var _a2, _b2, _c, _d, _e, _f, _g, _h, _i, _j; + var _a2, _b2, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m; const { width, height } = img; console.log(img, "img"); const canvasWidth = 430; @@ -43,19 +43,19 @@ const method = { ctx2.fillRect(131, canvasTop - 75, 2, 28); ctx2.fillStyle = "#fff"; ctx2.font = "500 16px Arial"; - ctx2.fillText(((_c = (_b2 = (_a2 = INDEX_watermark_camera_model.useModel) == null ? void 0 : _a2.address) == null ? void 0 : _b2.value) == null ? void 0 : _c.address) || "", 15, canvasTop - 17); - ctx2.fillText(((_f = (_e = (_d = INDEX_watermark_camera_model.useModel) == null ? void 0 : _d.userInfo) == null ? void 0 : _e.value) == null ? void 0 : _f.name) || "没有登录", 141, canvasTop - 64); + ctx2.fillText(((_c = (_b2 = (_a2 = INDEX_watermark_camera_model.useModel) == null ? void 0 : _a2.address) == null ? void 0 : _b2.value) == null ? void 0 : _c.address) || ((_f = (_e = (_d = INDEX_watermark_camera_model.useModel) == null ? void 0 : _d.address) == null ? void 0 : _e.value) == null ? void 0 : _f.formatted_address) || "", 15, canvasTop - 17); + ctx2.fillText(((_i = (_h = (_g = INDEX_watermark_camera_model.useModel) == null ? void 0 : _g.userInfo) == null ? void 0 : _h.value) == null ? void 0 : _i.name) || "没有登录", 141, canvasTop - 64); ctx2.font = "500 12px Arial"; ctx2.fillText( - `${((_g = INDEX_watermark_camera_model.useModel) == null ? void 0 : _g.day.value) || ""} ${((_h = INDEX_watermark_camera_model.useModel) == null ? void 0 : _h.weekDay.value) || ""}`, + `${((_j = INDEX_watermark_camera_model.useModel) == null ? void 0 : _j.day.value) || ""} ${((_k = INDEX_watermark_camera_model.useModel) == null ? void 0 : _k.weekDay.value) || ""}`, 141, canvasTop - 49 ); ctx2.setLineWidth(3); ctx2.setStrokeStyle("#fff"); ctx2.font = "900 45px Arial"; - ctx2.fillText(((_i = INDEX_watermark_camera_model.useModel) == null ? void 0 : _i.time.value) || "", 12, canvasTop - 45); - ctx2.strokeText(((_j = INDEX_watermark_camera_model.useModel) == null ? void 0 : _j.time.value) || "", 12, canvasTop - 45); + ctx2.fillText(((_l = INDEX_watermark_camera_model.useModel) == null ? void 0 : _l.time.value) || "", 12, canvasTop - 45); + ctx2.strokeText(((_m = INDEX_watermark_camera_model.useModel) == null ? void 0 : _m.time.value) || "", 12, canvasTop - 45); ctx2.stroke(); ctx2.draw(false, () => { common_vendor.index.canvasToTempFilePath({ diff --git a/dist/dev/mp-weixin/INDEX/watermark_camera/model.js b/dist/dev/mp-weixin/INDEX/watermark_camera/model.js index 0a6d289..7b60b07 100644 --- a/dist/dev/mp-weixin/INDEX/watermark_camera/model.js +++ b/dist/dev/mp-weixin/INDEX/watermark_camera/model.js @@ -12,7 +12,7 @@ const useModel = { time: common_vendor.ref(common_libraries_day.showCurrentTime()), day: common_vendor.ref(common_libraries_day.getDay()), weekDay: common_vendor.ref(common_libraries_day.showWeekDay()), - address: common_vendor.ref({ address: "暂无地址" }), + address: common_vendor.ref({ address: "暂无地址", formatted_address: "暂无地址" }), userInfo: common_vendor.ref((_a = auth == null ? void 0 : auth.data) == null ? void 0 : _a.user), source: common_vendor.ref("save") }; diff --git a/dist/dev/mp-weixin/ME/announcement/show/index.js b/dist/dev/mp-weixin/ME/announcement/show/index.js index b6b344e..68d6e38 100644 --- a/dist/dev/mp-weixin/ME/announcement/show/index.js +++ b/dist/dev/mp-weixin/ME/announcement/show/index.js @@ -3,12 +3,12 @@ const common_vendor = require("../../../common/vendor.js"); const ME_announcement_show_model = require("./model.js"); const ME_announcement_show_method = require("./method.js"); const common_libraries_day = require("../../../common/libraries/day.js"); -require("../../../common/libraries/apiLoading.js"); -require("../../../gen/Apis.js"); require("../../../common/libraries/request.js"); require("../../../common/store/useWeAppAuthStore.js"); +require("../../../gen/Apis.js"); require("../../../common/store/useWatermarkStore.js"); require("../../../common/store/useWorkStore.js"); +require("../../../common/libraries/apiLoading.js"); const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ __name: "index", setup(__props) { diff --git a/dist/dev/mp-weixin/ME/announcement/show/method.js b/dist/dev/mp-weixin/ME/announcement/show/method.js index fb8eade..79238ee 100644 --- a/dist/dev/mp-weixin/ME/announcement/show/method.js +++ b/dist/dev/mp-weixin/ME/announcement/show/method.js @@ -1,16 +1,20 @@ "use strict"; -const common_libraries_apiLoading = require("../../../common/libraries/apiLoading.js"); -const gen_Apis = require("../../../gen/Apis.js"); -const ME_announcement_show_model = require("./model.js"); require("../../../common/libraries/request.js"); require("../../../common/store/useWatermarkStore.js"); const common_store_useWeAppAuthStore = require("../../../common/store/useWeAppAuthStore.js"); require("../../../common/store/useWorkStore.js"); +const common_libraries_apiLoading = require("../../../common/libraries/apiLoading.js"); +const gen_Apis = require("../../../gen/Apis.js"); +const ME_announcement_show_model = require("./model.js"); common_store_useWeAppAuthStore.useWeAppAuthStore(); const method = { getShow(id) { common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Msg.MsgPropertyAnnouncements.Show, { id }).then((res) => { + var _a; ME_announcement_show_model.useModel.showData.value = res == null ? void 0 : res.data; + if (!((_a = res == null ? void 0 : res.data) == null ? void 0 : _a.is_read)) { + gen_Apis.Apis.Msg.MsgPropertyAnnouncements.MarkAsRead({ id }); + } console.log(res); }); } diff --git a/dist/dev/mp-weixin/ME/attendance/my_schedules/index.js b/dist/dev/mp-weixin/ME/attendance/my_schedules/index.js new file mode 100644 index 0000000..1337a9c --- /dev/null +++ b/dist/dev/mp-weixin/ME/attendance/my_schedules/index.js @@ -0,0 +1,135 @@ +"use strict"; +const common_vendor = require("../../../common/vendor.js"); +const common_libraries_day = require("../../../common/libraries/day.js"); +const ME_attendance_my_schedules_model = require("./model.js"); +const gen_Enums = require("../../../gen/Enums.js"); +const ME_attendance_my_schedules_method = require("./method.js"); +require("../../../common/libraries/request.js"); +require("../../../common/store/useWeAppAuthStore.js"); +require("../../../gen/Apis.js"); +require("../../../common/store/useWatermarkStore.js"); +require("../../../common/store/useWorkStore.js"); +require("../../../common/libraries/apiLoading.js"); +if (!Array) { + const _easycom_hs_empty2 = common_vendor.resolveComponent("hs-empty"); + const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons"); + const _easycom_u_steps_item2 = common_vendor.resolveComponent("u-steps-item"); + const _easycom_u_steps2 = common_vendor.resolveComponent("u-steps"); + (_easycom_hs_empty2 + _easycom_uni_icons2 + _easycom_u_steps_item2 + _easycom_u_steps2)(); +} +const _easycom_hs_empty = () => "../../../components/hs-empty/hs-empty.js"; +const _easycom_uni_icons = () => "../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"; +const _easycom_u_steps_item = () => "../../../node-modules/uview-plus/components/u-steps-item/u-steps-item.js"; +const _easycom_u_steps = () => "../../../node-modules/uview-plus/components/u-steps/u-steps.js"; +if (!Math) { + (_easycom_hs_empty + _easycom_uni_icons + _easycom_u_steps_item + _easycom_u_steps)(); +} +const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ + __name: "index", + setup(__props) { + common_vendor.onShow(() => { + var _a; + (_a = ME_attendance_my_schedules_method.method) == null ? void 0 : _a.getList(); + }); + return (_ctx, _cache) => { + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o; + return common_vendor.e({ + a: !((_b = (_a = common_vendor.unref(ME_attendance_my_schedules_model.useModel)) == null ? void 0 : _a.showData) == null ? void 0 : _b.value) + }, !((_d = (_c = common_vendor.unref(ME_attendance_my_schedules_model.useModel)) == null ? void 0 : _c.showData) == null ? void 0 : _d.value) ? {} : {}, { + b: common_vendor.f((_h = (_g = (_f = (_e = common_vendor.unref(ME_attendance_my_schedules_model.useModel)) == null ? void 0 : _e.showData) == null ? void 0 : _f.value) == null ? void 0 : _g.shift) == null ? void 0 : _h.periods, (i, index, i0) => { + var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2, _l2, _m2, _n2, _o2, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga; + return common_vendor.e({ + a: common_vendor.t(common_vendor.unref(common_libraries_day.showTime)(`${(_c2 = (_b2 = (_a2 = common_vendor.unref(ME_attendance_my_schedules_model.useModel)) == null ? void 0 : _a2.showData) == null ? void 0 : _b2.value) == null ? void 0 : _c2.schedule_date} ${i == null ? void 0 : i.work_start_time}`)), + b: (_e2 = (_d2 = i == null ? void 0 : i.checkin_status) == null ? void 0 : _d2.start) == null ? void 0 : _e2.checked + }, ((_g2 = (_f2 = i == null ? void 0 : i.checkin_status) == null ? void 0 : _f2.start) == null ? void 0 : _g2.checked) ? { + c: common_vendor.t((_j2 = common_vendor.unref(gen_Enums.AttendanceRecordsStatusEnum)[(_i2 = (_h2 = i == null ? void 0 : i.checkin_status) == null ? void 0 : _h2.start) == null ? void 0 : _i2.status]) == null ? void 0 : _j2.text), + d: common_vendor.n(`status status_${(_l2 = (_k2 = i == null ? void 0 : i.checkin_status) == null ? void 0 : _k2.start) == null ? void 0 : _l2.status}`) + } : common_vendor.e({ + e: common_vendor.unref(common_libraries_day.isOverHalfHourPast)(`${(_o2 = (_n2 = (_m2 = common_vendor.unref(ME_attendance_my_schedules_model.useModel)) == null ? void 0 : _m2.showData) == null ? void 0 : _n2.value) == null ? void 0 : _o2.schedule_date} ${i == null ? void 0 : i.work_start_time}`) + }, common_vendor.unref(common_libraries_day.isOverHalfHourPast)(`${(_r = (_q = (_p = common_vendor.unref(ME_attendance_my_schedules_model.useModel)) == null ? void 0 : _p.showData) == null ? void 0 : _q.value) == null ? void 0 : _r.schedule_date} ${i == null ? void 0 : i.work_start_time}`) ? {} : {}), { + f: !((_t = (_s = i == null ? void 0 : i.checkin_status) == null ? void 0 : _s.start) == null ? void 0 : _t.checked) + // && + // !isOverHalfHourPast( + // `${useModel?.showData?.value?.schedule_date} ${i?.work_start_time}` + // ) && + // isCanCheckIn( + // `${useModel?.showData?.value?.schedule_date} ${useModel?.showData?.value?.shift?.allow_checkin_start}`, + // `${useModel?.showData?.value?.schedule_date} ${useModel?.showData?.value?.shift?.allow_checkin_end}` + // ) + }, !((_v = (_u = i == null ? void 0 : i.checkin_status) == null ? void 0 : _u.start) == null ? void 0 : _v.checked) ? { + g: "5673da8c-3-" + i0 + "," + ("5673da8c-2-" + i0), + h: common_vendor.p({ + type: "right", + size: "14", + color: "#0082FA" + }), + i: common_vendor.o(($event) => { + var _a3; + return (_a3 = common_vendor.unref(ME_attendance_my_schedules_method.method)) == null ? void 0 : _a3.toDetaile({ + ...i, + type: "CheckIn" + }); + }, `periods_${index}`) + } : {}, { + j: (_x = (_w = i == null ? void 0 : i.checkin_status) == null ? void 0 : _w.start) == null ? void 0 : _x.time + }, ((_z = (_y = i == null ? void 0 : i.checkin_status) == null ? void 0 : _y.start) == null ? void 0 : _z.time) ? { + k: common_vendor.t(common_vendor.unref(common_libraries_day.showTime)((_B = (_A = i == null ? void 0 : i.checkin_status) == null ? void 0 : _A.start) == null ? void 0 : _B.time)), + l: common_vendor.n(`schedules_steps_check schedules_steps_${(_D = (_C = i == null ? void 0 : i.checkin_status) == null ? void 0 : _C.start) == null ? void 0 : _D.status}`) + } : {}, { + m: "5673da8c-2-" + i0 + "," + ("5673da8c-1-" + i0), + n: common_vendor.t(common_vendor.unref(common_libraries_day.showTime)(`${(_G = (_F = (_E = common_vendor.unref(ME_attendance_my_schedules_model.useModel)) == null ? void 0 : _E.showData) == null ? void 0 : _F.value) == null ? void 0 : _G.schedule_date} ${i == null ? void 0 : i.work_end_time}`)), + o: (_I = (_H = i == null ? void 0 : i.checkin_status) == null ? void 0 : _H.end) == null ? void 0 : _I.checked + }, ((_K = (_J = i == null ? void 0 : i.checkin_status) == null ? void 0 : _J.end) == null ? void 0 : _K.checked) ? { + p: common_vendor.t((_N = common_vendor.unref(gen_Enums.AttendanceRecordsStatusEnum)[(_M = (_L = i == null ? void 0 : i.checkin_status) == null ? void 0 : _L.end) == null ? void 0 : _M.status]) == null ? void 0 : _N.text), + q: common_vendor.n(`status status_${(_P = (_O = i == null ? void 0 : i.checkin_status) == null ? void 0 : _O.end) == null ? void 0 : _P.status}`) + } : common_vendor.e({ + r: common_vendor.unref(common_libraries_day.isOverHalfHourPast)(`${(_S = (_R = (_Q = common_vendor.unref(ME_attendance_my_schedules_model.useModel)) == null ? void 0 : _Q.showData) == null ? void 0 : _R.value) == null ? void 0 : _S.schedule_date} ${i == null ? void 0 : i.work_end_time}`) + }, common_vendor.unref(common_libraries_day.isOverHalfHourPast)(`${(_V = (_U = (_T = common_vendor.unref(ME_attendance_my_schedules_model.useModel)) == null ? void 0 : _T.showData) == null ? void 0 : _U.value) == null ? void 0 : _V.schedule_date} ${i == null ? void 0 : i.work_end_time}`) ? {} : {}), { + s: !((_X = (_W = i == null ? void 0 : i.checkin_status) == null ? void 0 : _W.end) == null ? void 0 : _X.checked) + //&& + // !isOverHalfHourPast( + // `${useModel?.showData?.value?.schedule_date} ${i?.work_end_time}` + // ) && + // isCanCheckIn( + // `${useModel?.showData?.value?.schedule_date} ${useModel?.showData?.value?.shift?.allow_checkin_start}`, + // `${useModel?.showData?.value?.schedule_date} ${useModel?.showData?.value?.shift?.allow_checkin_end}` + // ) + }, !((_Z = (_Y = i == null ? void 0 : i.checkin_status) == null ? void 0 : _Y.end) == null ? void 0 : _Z.checked) ? { + t: "5673da8c-5-" + i0 + "," + ("5673da8c-4-" + i0), + v: common_vendor.p({ + type: "right", + size: "14", + color: "#0082FA" + }), + w: common_vendor.o(($event) => { + var _a3; + return (_a3 = common_vendor.unref(ME_attendance_my_schedules_method.method)) == null ? void 0 : _a3.toDetaile({ + ...i, + type: "CheckOut" + }); + }, `periods_${index}`) + } : {}, { + x: (_$ = (__ = i == null ? void 0 : i.checkin_status) == null ? void 0 : __.end) == null ? void 0 : _$.time + }, ((_ba = (_aa = i == null ? void 0 : i.checkin_status) == null ? void 0 : _aa.end) == null ? void 0 : _ba.time) ? { + y: common_vendor.t(common_vendor.unref(common_libraries_day.showTime)((_da = (_ca = i == null ? void 0 : i.checkin_status) == null ? void 0 : _ca.end) == null ? void 0 : _da.time)), + z: common_vendor.n(`schedules_steps_check schedules_steps_${(_fa = (_ea = i == null ? void 0 : i.checkin_status) == null ? void 0 : _ea.end) == null ? void 0 : _fa.status}`) + } : {}, { + A: "5673da8c-4-" + i0 + "," + ("5673da8c-1-" + i0), + B: "5673da8c-1-" + i0, + C: common_vendor.p({ + current: (_ga = common_vendor.unref(ME_attendance_my_schedules_method.method)) == null ? void 0 : _ga.calculationCurrent(i), + direction: "column", + activeColor: "#52C41A", + inactiveColor: "#CBCBCB" + }), + D: `periods_${index}` + }); + }), + c: common_vendor.t((_l = (_k = (_j = (_i = common_vendor.unref(ME_attendance_my_schedules_model.useModel)) == null ? void 0 : _i.showData) == null ? void 0 : _j.value) == null ? void 0 : _k.shift) == null ? void 0 : _l.name), + d: common_vendor.t(common_vendor.unref(common_libraries_day.getShowDay)((_o = (_n = (_m = common_vendor.unref(ME_attendance_my_schedules_model.useModel)) == null ? void 0 : _m.showData) == null ? void 0 : _n.value) == null ? void 0 : _o.schedule_date)) + }); + }; + } +}); +const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/ME/attendance/my_schedules/index.vue"]]); +wx.createPage(MiniProgramPage); diff --git a/dist/dev/mp-weixin/ME/attendance/my_schedules/index.json b/dist/dev/mp-weixin/ME/attendance/my_schedules/index.json new file mode 100644 index 0000000..646895c --- /dev/null +++ b/dist/dev/mp-weixin/ME/attendance/my_schedules/index.json @@ -0,0 +1,9 @@ +{ + "navigationBarTitleText": "签到打卡", + "usingComponents": { + "hs-empty": "../../../components/hs-empty/hs-empty", + "uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons", + "u-steps-item": "../../../node-modules/uview-plus/components/u-steps-item/u-steps-item", + "u-steps": "../../../node-modules/uview-plus/components/u-steps/u-steps" + } +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/attendance/my_schedules/index.wxml b/dist/dev/mp-weixin/ME/attendance/my_schedules/index.wxml new file mode 100644 index 0000000..9468d98 --- /dev/null +++ b/dist/dev/mp-weixin/ME/attendance/my_schedules/index.wxml @@ -0,0 +1 @@ + 打卡任务-{{c}}({{d}}) 上班卡:{{i.a}}前{{i.c}} 缺卡 前往打卡{{i.k}}已打卡 下班卡:{{i.n}}前{{i.p}} 缺卡 前往打卡{{i.y}}已打卡 \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/attendance/my_schedules/index.wxss b/dist/dev/mp-weixin/ME/attendance/my_schedules/index.wxss new file mode 100644 index 0000000..48ad55e --- /dev/null +++ b/dist/dev/mp-weixin/ME/attendance/my_schedules/index.wxss @@ -0,0 +1,52 @@ +page { + background-color: #f8f8f8; +} +.schedules_item { + border-radius: 20rpx; + background-color: #fff; + padding: 0 30rpx; + margin: 30rpx; +} +.schedules_item_header { + padding: 30rpx 0; + font-size: 28rpx; + display: flex; + align-items: center; + justify-content: space-between; + color: #3d3d3d; + font-size: 29rpx; + font-weight: 500; +} +.schedules_item .schedules_steps { + display: flex; + align-items: center; + justify-content: space-between; + padding-bottom: 26rpx; + color: #3d3d3d; + font-size: 26rpx; +} +.schedules_item .schedules_steps_day_info { + display: flex; + align-items: center; +} +.schedules_item .schedules_steps_day_info .status { + padding: 4rpx 10rpx; + border-radius: 6rpx; + margin-left: 10rpx; + font-size: 24rpx; + color: #ff4d4f; + background-color: #ffeded; +} +.schedules_item .schedules_steps_day_info .status_Normal { + color: #55c51d; + background-color: #f0ffe8; +} +.schedules_item .schedules_steps_check { + color: #ff4d4f; +} +.schedules_item .schedules_steps_Normal { + color: #55c51d; +} +.schedules_item .schedules_steps .to_check { + color: #0082fa; +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/attendance/my_schedules/method.js b/dist/dev/mp-weixin/ME/attendance/my_schedules/method.js new file mode 100644 index 0000000..924e263 --- /dev/null +++ b/dist/dev/mp-weixin/ME/attendance/my_schedules/method.js @@ -0,0 +1,43 @@ +"use strict"; +const common_vendor = require("../../../common/vendor.js"); +require("../../../common/libraries/request.js"); +require("../../../common/store/useWatermarkStore.js"); +const common_store_useWeAppAuthStore = require("../../../common/store/useWeAppAuthStore.js"); +require("../../../common/store/useWorkStore.js"); +const common_libraries_apiLoading = require("../../../common/libraries/apiLoading.js"); +const gen_Apis = require("../../../gen/Apis.js"); +const ME_attendance_my_schedules_model = require("./model.js"); +common_store_useWeAppAuthStore.useWeAppAuthStore(); +const getList = () => { + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Attendance.AttendanceSchedules.GetAttendanceSchedules, {}).then((res) => { + ME_attendance_my_schedules_model.useModel.showData.value = (res == null ? void 0 : res.data) || void 0; + }); +}; +const method = { + getList, + loadMore(res) { + ME_attendance_my_schedules_model.useModel.formData.value.page = res == null ? void 0 : res.page; + getList(); + }, + async uploadMedia(data) { + let res = await gen_Apis.Apis.Customer.CustomerMoments.UploadMedia(data); + return res == null ? void 0 : res.data; + }, + calculationCurrent(res) { + var _a, _b, _c, _d, _e, _f; + if (((_b = (_a = res == null ? void 0 : res.checkin_status) == null ? void 0 : _a.start) == null ? void 0 : _b.checked) && ((_d = (_c = res == null ? void 0 : res.checkin_status) == null ? void 0 : _c.end) == null ? void 0 : _d.checked)) { + return 3; + } + if ((_f = (_e = res == null ? void 0 : res.checkin_status) == null ? void 0 : _e.start) == null ? void 0 : _f.checked) { + return 1; + } + return null; + }, + toDetaile(res) { + var _a, _b, _c, _d, _e, _f; + common_vendor.index.navigateTo({ + url: `/ME/attendance/sign_clock_in/index?attendance_schedules_id=${(_c = (_b = (_a = ME_attendance_my_schedules_model.useModel) == null ? void 0 : _a.showData) == null ? void 0 : _b.value) == null ? void 0 : _c.schedule_id}&attendance_shift_periods_id=${res == null ? void 0 : res.id}&checkin_type=${res == null ? void 0 : res.type}&date=${(_f = (_e = (_d = ME_attendance_my_schedules_model.useModel) == null ? void 0 : _d.showData) == null ? void 0 : _e.value) == null ? void 0 : _f.schedule_date}` + }); + } +}; +exports.method = method; diff --git a/dist/dev/mp-weixin/ME/attendance/my_schedules/model.js b/dist/dev/mp-weixin/ME/attendance/my_schedules/model.js new file mode 100644 index 0000000..3d8e0df --- /dev/null +++ b/dist/dev/mp-weixin/ME/attendance/my_schedules/model.js @@ -0,0 +1,10 @@ +"use strict"; +const common_vendor = require("../../../common/vendor.js"); +const common_libraries_day = require("../../../common/libraries/day.js"); +const useModel = { + formData: common_vendor.ref({ page: 1, start_date: common_libraries_day.getDay(), end_date: common_libraries_day.getDay() }), + showData: common_vendor.ref({}), + metaData: common_vendor.ref({}), + userData: common_vendor.ref({}) +}; +exports.useModel = useModel; diff --git a/dist/dev/mp-weixin/ME/attendance/sign_clock_in/index.js b/dist/dev/mp-weixin/ME/attendance/sign_clock_in/index.js new file mode 100644 index 0000000..ffbeba3 --- /dev/null +++ b/dist/dev/mp-weixin/ME/attendance/sign_clock_in/index.js @@ -0,0 +1,163 @@ +"use strict"; +const common_vendor = require("../../../common/vendor.js"); +const common_libraries_day = require("../../../common/libraries/day.js"); +const gen_Enums = require("../../../gen/Enums.js"); +const ME_attendance_sign_clock_in_method = require("./method.js"); +const ME_attendance_sign_clock_in_model = require("./model.js"); +require("../../../common/libraries/apiLoading.js"); +require("../../../gen/Apis.js"); +require("../../../common/libraries/request.js"); +require("../../../common/store/useWeAppAuthStore.js"); +require("../../../common/store/useWatermarkStore.js"); +require("../../../common/store/useWorkStore.js"); +require("../../../common/libraries/naviHelper.js"); +require("../../../common/libraries/mapDistance.js"); +require("../../../common/libraries/tools.js"); +if (!Array) { + const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons"); + const _easycom_u_steps_item2 = common_vendor.resolveComponent("u-steps-item"); + const _easycom_u_steps2 = common_vendor.resolveComponent("u-steps"); + const _easycom_hs_button2 = common_vendor.resolveComponent("hs-button"); + const _easycom_u_loading_icon2 = common_vendor.resolveComponent("u-loading-icon"); + (_easycom_uni_icons2 + _easycom_u_steps_item2 + _easycom_u_steps2 + _easycom_hs_button2 + _easycom_u_loading_icon2)(); +} +const _easycom_uni_icons = () => "../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"; +const _easycom_u_steps_item = () => "../../../node-modules/uview-plus/components/u-steps-item/u-steps-item.js"; +const _easycom_u_steps = () => "../../../node-modules/uview-plus/components/u-steps/u-steps.js"; +const _easycom_hs_button = () => "../../../components/hs-button/hs-button.js"; +const _easycom_u_loading_icon = () => "../../../node-modules/uview-plus/components/u-loading-icon/u-loading-icon.js"; +if (!Math) { + (_easycom_uni_icons + _easycom_u_steps_item + _easycom_u_steps + _easycom_hs_button + _easycom_u_loading_icon)(); +} +const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ + __name: "index", + setup(__props) { + common_vendor.onLoad((e) => { + var _a, _b; + console.log(e, "e"); + ME_attendance_sign_clock_in_model.useModel.formData.value = e; + (_a = ME_attendance_sign_clock_in_method.method) == null ? void 0 : _a.getLocation(e); + (_b = ME_attendance_sign_clock_in_method.method) == null ? void 0 : _b.getAttendanceConfig(); + }); + common_vendor.onShow(() => { + var _a; + (_a = ME_attendance_sign_clock_in_method.method) == null ? void 0 : _a.init(); + }); + common_vendor.onUnload(() => { + ME_attendance_sign_clock_in_model.useModel.mapNumber.value = 0; + ME_attendance_sign_clock_in_model.useModel.loading.value = false; + }); + return (_ctx, _cache) => { + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na, _oa, _pa, _qa, _ra, _sa, _ta, _ua, _va, _wa, _xa, _ya, _za, _Aa, _Ba, _Ca, _Da, _Ea, _Fa, _Ga, _Ha, _Ia, _Ja, _Ka, _La, _Ma, _Na, _Oa, _Pa, _Qa, _Ra, _Sa, _Ta, _Ua, _Va, _Wa, _Xa, _Ya, _Za, __a, _$a, _ab, _bb, _cb, _db, _eb, _fb, _gb, _hb, _ib, _jb, _kb, _lb, _mb, _nb, _ob, _pb, _qb, _rb, _sb, _tb, _ub, _vb, _wb, _xb, _yb, _zb, _Ab, _Bb, _Cb, _Db, _Eb, _Fb, _Gb, _Hb, _Ib, _Jb, _Kb, _Lb, _Mb, _Nb, _Ob, _Pb, _Qb, _Rb, _Sb, _Tb, _Ub, _Vb, _Wb, _Xb, _Yb, _Zb, __b, _$b, _ac, _bc, _cc, _dc, _ec, _fc, _gc, _hc, _ic, _jc, _kc, _lc, _mc, _nc, _oc, _pc, _qc, _rc, _sc, _tc, _uc, _vc, _wc, _xc, _yc, _zc, _Ac, _Bc, _Cc, _Dc, _Ec, _Fc, _Gc, _Hc, _Ic, _Jc, _Kc, _Lc, _Mc, _Nc, _Oc, _Pc, _Qc, _Rc, _Sc, _Tc, _Uc, _Vc, _Wc, _Xc, _Yc, _Zc, __c, _$c, _ad, _bd, _cd, _dd, _ed, _fd, _gd, _hd, _id, _jd, _kd, _ld, _md, _nd, _od, _pd, _qd, _rd, _sd, _td, _ud, _vd, _wd, _xd, _yd, _zd, _Ad, _Bd, _Cd, _Dd, _Ed, _Fd, _Gd, _Hd, _Id, _Jd, _Kd, _Ld, _Md, _Nd, _Od; + return common_vendor.e({ + a: (_b = (_a = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _a.loading) == null ? void 0 : _b.value + }, ((_d = (_c = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _c.loading) == null ? void 0 : _d.value) ? common_vendor.e({ + b: common_vendor.t(common_vendor.unref(common_libraries_day.getShowDay)((_g = (_f = (_e = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _e.formData) == null ? void 0 : _f.value) == null ? void 0 : _g.date)), + c: common_vendor.t(((_i = (_h = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _h.distanceNumber) == null ? void 0 : _i.value) > ((_l = (_k = (_j = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _j.attendanceConfigData) == null ? void 0 : _k.value) == null ? void 0 : _l.check_in_range) ? "不在" : "已在"), + d: common_vendor.p({ + color: ((_n = (_m = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _m.distanceNumber) == null ? void 0 : _n.value) > ((_q = (_p = (_o = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _o.attendanceConfigData) == null ? void 0 : _p.value) == null ? void 0 : _q.check_in_range) ? "#767676" : "#0082FA", + type: "location-filled", + size: "16" + }), + e: common_vendor.t(((_u = (_t = (_s = (_r = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _r.showData) == null ? void 0 : _s.value) == null ? void 0 : _t.project) == null ? void 0 : _u.name) || "-"), + f: ((_w = (_v = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _v.distanceNumber) == null ? void 0 : _w.value) > ((_z = (_y = (_x = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _x.attendanceConfigData) == null ? void 0 : _y.value) == null ? void 0 : _z.check_in_range) + }, ((_B = (_A = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _A.distanceNumber) == null ? void 0 : _B.value) > ((_E = (_D = (_C = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _C.attendanceConfigData) == null ? void 0 : _D.value) == null ? void 0 : _E.check_in_range) ? { + g: common_vendor.o( + //@ts-ignore + (...args) => { + var _a2, _b2; + return ((_a2 = common_vendor.unref(ME_attendance_sign_clock_in_method.method)) == null ? void 0 : _a2.handleUpdateLocation) && ((_b2 = common_vendor.unref(ME_attendance_sign_clock_in_method.method)) == null ? void 0 : _b2.handleUpdateLocation(...args)); + } + ) + } : {}, { + h: common_vendor.n(`sign_clock_in_page_map ${((_G = (_F = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _F.distanceNumber) == null ? void 0 : _G.value) > ((_J = (_I = (_H = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _H.attendanceConfigData) == null ? void 0 : _I.value) == null ? void 0 : _J.check_in_range) ? "sign_clock_in_page_map_opacity" : ""}`), + i: common_vendor.t(common_vendor.unref(common_libraries_day.showTime)(`${(_M = (_L = (_K = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _K.formData) == null ? void 0 : _L.value) == null ? void 0 : _M.date} ${(_Q = (_P = (_O = (_N = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _N.showData) == null ? void 0 : _O.value) == null ? void 0 : _P.period) == null ? void 0 : _Q.work_start_time}`)), + j: (_V = (_U = (_T = (_S = (_R = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _R.showData) == null ? void 0 : _S.value) == null ? void 0 : _T.checkin_status) == null ? void 0 : _U.start) == null ? void 0 : _V.checked + }, ((__ = (_Z = (_Y = (_X = (_W = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _W.showData) == null ? void 0 : _X.value) == null ? void 0 : _Y.checkin_status) == null ? void 0 : _Z.start) == null ? void 0 : __.checked) ? { + k: common_vendor.t((_ea = common_vendor.unref(gen_Enums.AttendanceRecordsStatusEnum)[(_da = (_ca = (_ba = (_aa = (_$ = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _$.showData) == null ? void 0 : _aa.value) == null ? void 0 : _ba.checkin_status) == null ? void 0 : _ca.start) == null ? void 0 : _da.status]) == null ? void 0 : _ea.text) + } : common_vendor.e({ + l: common_vendor.unref(common_libraries_day.isOverHalfHourPast)(`${(_ha = (_ga = (_fa = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _fa.formData) == null ? void 0 : _ga.value) == null ? void 0 : _ha.date} ${(_la = (_ka = (_ja = (_ia = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _ia.showData) == null ? void 0 : _ja.value) == null ? void 0 : _ka.period) == null ? void 0 : _la.work_start_time}`) + }, common_vendor.unref(common_libraries_day.isOverHalfHourPast)(`${(_oa = (_na = (_ma = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _ma.formData) == null ? void 0 : _na.value) == null ? void 0 : _oa.date} ${(_sa = (_ra = (_qa = (_pa = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _pa.showData) == null ? void 0 : _qa.value) == null ? void 0 : _ra.period) == null ? void 0 : _sa.work_start_time}`) ? {} : {}), { + m: (_xa = (_wa = (_va = (_ua = (_ta = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _ta.showData) == null ? void 0 : _ua.value) == null ? void 0 : _va.checkin_status) == null ? void 0 : _wa.start) == null ? void 0 : _xa.checked + }, ((_Ca = (_Ba = (_Aa = (_za = (_ya = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _ya.showData) == null ? void 0 : _za.value) == null ? void 0 : _Aa.checkin_status) == null ? void 0 : _Ba.start) == null ? void 0 : _Ca.checked) ? { + n: common_vendor.t(common_vendor.unref(common_libraries_day.showTime)((_Ha = (_Ga = (_Fa = (_Ea = (_Da = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Da.showData) == null ? void 0 : _Ea.value) == null ? void 0 : _Fa.checkin_status) == null ? void 0 : _Ga.start) == null ? void 0 : _Ha.time)), + o: common_vendor.n(`schedules_steps_check schedules_steps_${(_Ma = (_La = (_Ka = (_Ja = (_Ia = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Ia.showData) == null ? void 0 : _Ja.value) == null ? void 0 : _Ka.checkin_status) == null ? void 0 : _La.start) == null ? void 0 : _Ma.status}`) + } : {}, { + p: common_vendor.t(common_vendor.unref(common_libraries_day.showTime)(`${(_Pa = (_Oa = (_Na = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Na.formData) == null ? void 0 : _Oa.value) == null ? void 0 : _Pa.date} ${(_Ta = (_Sa = (_Ra = (_Qa = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Qa.showData) == null ? void 0 : _Ra.value) == null ? void 0 : _Sa.period) == null ? void 0 : _Ta.work_end_time}`)), + q: (_Ya = (_Xa = (_Wa = (_Va = (_Ua = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Ua.showData) == null ? void 0 : _Va.value) == null ? void 0 : _Wa.checkin_status) == null ? void 0 : _Xa.end) == null ? void 0 : _Ya.checked + }, ((_bb = (_ab = (_$a = (__a = (_Za = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Za.showData) == null ? void 0 : __a.value) == null ? void 0 : _$a.checkin_status) == null ? void 0 : _ab.end) == null ? void 0 : _bb.checked) ? { + r: common_vendor.t((_hb = common_vendor.unref(gen_Enums.AttendanceRecordsStatusEnum)[(_gb = (_fb = (_eb = (_db = (_cb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _cb.showData) == null ? void 0 : _db.value) == null ? void 0 : _eb.checkin_status) == null ? void 0 : _fb.end) == null ? void 0 : _gb.status]) == null ? void 0 : _hb.text) + } : common_vendor.e({ + s: common_vendor.unref(common_libraries_day.isOverHalfHourPast)(`${(_kb = (_jb = (_ib = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _ib.formData) == null ? void 0 : _jb.value) == null ? void 0 : _kb.date} ${(_ob = (_nb = (_mb = (_lb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _lb.showData) == null ? void 0 : _mb.value) == null ? void 0 : _nb.period) == null ? void 0 : _ob.work_end_time}`) + }, common_vendor.unref(common_libraries_day.isOverHalfHourPast)(`${(_rb = (_qb = (_pb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _pb.formData) == null ? void 0 : _qb.value) == null ? void 0 : _rb.date} ${(_vb = (_ub = (_tb = (_sb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _sb.showData) == null ? void 0 : _tb.value) == null ? void 0 : _ub.period) == null ? void 0 : _vb.work_end_time}`) ? {} : {}), { + t: (_Ab = (_zb = (_yb = (_xb = (_wb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _wb.showData) == null ? void 0 : _xb.value) == null ? void 0 : _yb.checkin_status) == null ? void 0 : _zb.end) == null ? void 0 : _Ab.checked + }, ((_Fb = (_Eb = (_Db = (_Cb = (_Bb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Bb.showData) == null ? void 0 : _Cb.value) == null ? void 0 : _Db.checkin_status) == null ? void 0 : _Eb.end) == null ? void 0 : _Fb.checked) ? { + v: common_vendor.t(common_vendor.unref(common_libraries_day.showTime)((_Kb = (_Jb = (_Ib = (_Hb = (_Gb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Gb.showData) == null ? void 0 : _Hb.value) == null ? void 0 : _Ib.checkin_status) == null ? void 0 : _Jb.end) == null ? void 0 : _Kb.time)), + w: common_vendor.n(`schedules_steps_check schedules_steps_${(_Pb = (_Ob = (_Nb = (_Mb = (_Lb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Lb.showData) == null ? void 0 : _Mb.value) == null ? void 0 : _Nb.checkin_status) == null ? void 0 : _Ob.end) == null ? void 0 : _Pb.status}`) + } : {}, { + x: common_vendor.p({ + current: (_Rb = (_Qb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Qb.current) == null ? void 0 : _Rb.value, + direction: "column", + activeColor: "#52C41A", + inactiveColor: "#CBCBCB" + }), + y: (_Ub = (_Tb = (_Sb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Sb.attendanceConfigData) == null ? void 0 : _Tb.value) == null ? void 0 : _Ub.require_photo + }, ((_Xb = (_Wb = (_Vb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Vb.attendanceConfigData) == null ? void 0 : _Wb.value) == null ? void 0 : _Xb.require_photo) ? common_vendor.e({ + z: (_$b = (__b = (_Zb = (_Yb = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Yb.formData) == null ? void 0 : _Zb.value) == null ? void 0 : __b.photo) == null ? void 0 : _$b.length + }, ((_dc = (_cc = (_bc = (_ac = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _ac.formData) == null ? void 0 : _bc.value) == null ? void 0 : _cc.photo) == null ? void 0 : _dc.length) ? { + A: common_vendor.f((_gc = (_fc = (_ec = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _ec.formData) == null ? void 0 : _fc.value) == null ? void 0 : _gc.photo, (i, index, i0) => { + return { + a: i == null ? void 0 : i.url, + b: common_vendor.o(($event) => { + var _a2; + return (_a2 = common_vendor.unref(ME_attendance_sign_clock_in_method.method)) == null ? void 0 : _a2.onPreviewMedia(i == null ? void 0 : i.url); + }, `img_${index}`), + c: "47899bc6-4-" + i0, + d: common_vendor.o(($event) => { + var _a2; + return (_a2 = common_vendor.unref(ME_attendance_sign_clock_in_method.method)) == null ? void 0 : _a2.handleDelete(); + }, `img_${index}`), + e: `img_${index}` + }; + }), + B: common_vendor.p({ + type: "clear", + color: "#f00", + size: "25" + }) + } : { + C: common_vendor.o(($event) => { + var _a2; + return (_a2 = common_vendor.unref(ME_attendance_sign_clock_in_method.method)) == null ? void 0 : _a2.toUpload(); + }), + D: common_vendor.p({ + label: "点击拍照", + type: "ghost", + size: "large" + }) + }) : {}, { + E: ((_ic = (_hc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _hc.distanceNumber) == null ? void 0 : _ic.value) <= ((_lc = (_kc = (_jc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _jc.attendanceConfigData) == null ? void 0 : _kc.value) == null ? void 0 : _lc.check_in_range) && common_vendor.unref(common_libraries_day.isWithinTimeRange)(`${(_oc = (_nc = (_mc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _mc.formData) == null ? void 0 : _nc.value) == null ? void 0 : _oc.date} ${((_rc = (_qc = (_pc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _pc.formData) == null ? void 0 : _qc.value) == null ? void 0 : _rc.checkin_type) === "CheckOut" ? (_vc = (_uc = (_tc = (_sc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _sc.showData) == null ? void 0 : _tc.value) == null ? void 0 : _uc.period) == null ? void 0 : _vc.work_end_time : (_zc = (_yc = (_xc = (_wc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _wc.showData) == null ? void 0 : _xc.value) == null ? void 0 : _yc.period) == null ? void 0 : _zc.work_start_time}`) && ((_Ac = common_vendor.unref(ME_attendance_sign_clock_in_method.method)) == null ? void 0 : _Ac.YesNoCheckinStatus()) + }, ((_Cc = (_Bc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Bc.distanceNumber) == null ? void 0 : _Cc.value) <= ((_Fc = (_Ec = (_Dc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Dc.attendanceConfigData) == null ? void 0 : _Ec.value) == null ? void 0 : _Fc.check_in_range) && common_vendor.unref(common_libraries_day.isWithinTimeRange)(`${(_Ic = (_Hc = (_Gc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Gc.formData) == null ? void 0 : _Hc.value) == null ? void 0 : _Ic.date} ${((_Lc = (_Kc = (_Jc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Jc.formData) == null ? void 0 : _Kc.value) == null ? void 0 : _Lc.checkin_type) === "CheckOut" ? (_Pc = (_Oc = (_Nc = (_Mc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Mc.showData) == null ? void 0 : _Nc.value) == null ? void 0 : _Oc.period) == null ? void 0 : _Pc.work_end_time : (_Tc = (_Sc = (_Rc = (_Qc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Qc.showData) == null ? void 0 : _Rc.value) == null ? void 0 : _Sc.period) == null ? void 0 : _Tc.work_start_time}`) && ((_Uc = common_vendor.unref(ME_attendance_sign_clock_in_method.method)) == null ? void 0 : _Uc.YesNoCheckinStatus()) ? common_vendor.e({ + F: common_vendor.t(common_vendor.unref(common_libraries_day.showTime)(`${(_Xc = (_Wc = (_Vc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Vc.formData) == null ? void 0 : _Wc.value) == null ? void 0 : _Xc.date} ${((__c = (_Zc = (_Yc = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Yc.formData) == null ? void 0 : _Zc.value) == null ? void 0 : __c.checkin_type) === "CheckOut" ? (_cd = (_bd = (_ad = (_$c = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _$c.showData) == null ? void 0 : _ad.value) == null ? void 0 : _bd.period) == null ? void 0 : _cd.work_end_time : (_gd = (_fd = (_ed = (_dd = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _dd.showData) == null ? void 0 : _ed.value) == null ? void 0 : _fd.period) == null ? void 0 : _gd.work_start_time}`)), + G: common_vendor.o(($event) => { + var _a2; + return (_a2 = common_vendor.unref(ME_attendance_sign_clock_in_method.method)) == null ? void 0 : _a2.handleCheckin(); + }), + H: (_jd = (_id = (_hd = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _hd.attendanceConfigData) == null ? void 0 : _id.value) == null ? void 0 : _jd.require_photo + }, ((_md = (_ld = (_kd = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _kd.attendanceConfigData) == null ? void 0 : _ld.value) == null ? void 0 : _md.require_photo) ? {} : {}) : common_vendor.e({ + I: common_vendor.t(common_vendor.unref(common_libraries_day.showTime)(`${(_pd = (_od = (_nd = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _nd.formData) == null ? void 0 : _od.value) == null ? void 0 : _pd.date} ${((_sd = (_rd = (_qd = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _qd.formData) == null ? void 0 : _rd.value) == null ? void 0 : _sd.checkin_type) === "CheckOut" ? (_wd = (_vd = (_ud = (_td = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _td.showData) == null ? void 0 : _ud.value) == null ? void 0 : _vd.period) == null ? void 0 : _wd.work_end_time : (_Ad = (_zd = (_yd = (_xd = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _xd.showData) == null ? void 0 : _yd.value) == null ? void 0 : _zd.period) == null ? void 0 : _Ad.work_start_time}`)), + J: ((_Cd = (_Bd = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Bd.distanceNumber) == null ? void 0 : _Cd.value) > ((_Fd = (_Ed = (_Dd = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Dd.attendanceConfigData) == null ? void 0 : _Ed.value) == null ? void 0 : _Fd.check_in_range) + }, ((_Hd = (_Gd = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Gd.distanceNumber) == null ? void 0 : _Hd.value) > ((_Kd = (_Jd = (_Id = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Id.attendanceConfigData) == null ? void 0 : _Jd.value) == null ? void 0 : _Kd.check_in_range) ? { + K: common_vendor.t(((_Od = (_Nd = (_Md = (_Ld = common_vendor.unref(ME_attendance_sign_clock_in_model.useModel)) == null ? void 0 : _Ld.showData) == null ? void 0 : _Md.value) == null ? void 0 : _Nd.project) == null ? void 0 : _Od.name) || "-") + } : {})) : { + L: common_vendor.p({ + text: "努力加载中", + size: "36", + vertical: true + }) + }); + }; + } +}); +const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/ME/attendance/sign_clock_in/index.vue"]]); +wx.createPage(MiniProgramPage); diff --git a/dist/dev/mp-weixin/ME/attendance/sign_clock_in/index.json b/dist/dev/mp-weixin/ME/attendance/sign_clock_in/index.json new file mode 100644 index 0000000..4106576 --- /dev/null +++ b/dist/dev/mp-weixin/ME/attendance/sign_clock_in/index.json @@ -0,0 +1,10 @@ +{ + "navigationBarTitleText": "签到打卡", + "usingComponents": { + "uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons", + "u-steps-item": "../../../node-modules/uview-plus/components/u-steps-item/u-steps-item", + "u-steps": "../../../node-modules/uview-plus/components/u-steps/u-steps", + "hs-button": "../../../components/hs-button/hs-button", + "u-loading-icon": "../../../node-modules/uview-plus/components/u-loading-icon/u-loading-icon" + } +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/attendance/sign_clock_in/index.wxml b/dist/dev/mp-weixin/ME/attendance/sign_clock_in/index.wxml new file mode 100644 index 0000000..85f2a19 --- /dev/null +++ b/dist/dev/mp-weixin/ME/attendance/sign_clock_in/index.wxml @@ -0,0 +1 @@ + 打卡地点 ({{b}}) 你{{c}}打卡范围内 {{e}} 更新位置 上班卡:{{i}}前 {{k}} 缺卡 打卡时间:{{n}}下班卡: {{p}}前{{r}} 缺卡 打卡时间:{{v}} 打卡2 {{F}} 请先上传打卡照,再点击打卡按钮 打卡1{{I}} 当前不在打卡范围内 前往{{K}}即可完成打卡签到。 \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/attendance/sign_clock_in/index.wxss b/dist/dev/mp-weixin/ME/attendance/sign_clock_in/index.wxss new file mode 100644 index 0000000..3b1cff1 --- /dev/null +++ b/dist/dev/mp-weixin/ME/attendance/sign_clock_in/index.wxss @@ -0,0 +1,154 @@ +page { + background-color: #f8f8f8; +} +.sign_clock_in_page { + background-color: #fff; + margin: 30rpx; + border-radius: 20rpx; + padding: 0 30rpx 60rpx 30rpx; +} +.sign_clock_in_page_title { + padding: 30rpx 0; + font-size: 30rpx; + color: #3d3d3d; + font-weight: 500; +} +.sign_clock_in_page_map { + height: 140rpx; + position: relative; +} +.sign_clock_in_page_map image { + width: 100%; + height: 140rpx; +} +.sign_clock_in_page_map_content { + position: absolute; + top: 0; + left: 0; + right: 0; + height: 140rpx; + padding: 0 25rpx; + z-index: 100; + color: #0082fa; + display: flex; + align-items: center; + justify-content: space-between; +} +.sign_clock_in_page_map_content .label { + font-size: 30rpx; + font-weight: 500; + padding-top: 3rpx; +} +.sign_clock_in_page_map_content .address_name { + font-size: 26rpx; + display: flex; + align-items: center; + padding-top: 15rpx; +} +.sign_clock_in_page_map_content .address_name text { + padding-right: 8rpx; +} +.steps_item { + padding: 50rpx 0 30rpx 0; +} +.steps_item .schedules_steps { + padding-bottom: 26rpx; + color: #3d3d3d; + font-size: 26rpx; +} +.steps_item .schedules_steps_day_info { + display: flex; + align-items: center; +} +.steps_item .schedules_steps_day_info .status { + padding: 4rpx 10rpx; + border-radius: 6rpx; + margin-left: 10rpx; + color: #ff4d4f; + background-color: #ffeded; +} +.steps_item .schedules_steps_day_info .status_Normal { + color: #55c51d; + font-size: 24rpx; + background-color: #f0ffe8; +} +.steps_item .schedules_steps_check { + color: #ff4d4f; +} +.steps_item .schedules_steps_Normal { + color: #55c51d; +} +.TakePhotoCheckIn { + display: flex; + justify-content: center; + align-items: center; + padding: 30rpx 0; +} +.TakePhotoCheckIn .btn { + color: #fff; + background-color: #0082fa; + width: 240rpx; + height: 240rpx; + border-radius: 100%; + border: 20rpx solid #96ccff; + display: flex; + justify-content: center; + align-items: center; + text-align: center; + margin: 0 auto; +} +.TakePhotoCheckIn .btn .btn_label { + padding-bottom: 5rpx; +} +.TakePhotoCheckIn .no_distance { + background-color: #fff; + border: 20rpx solid #f1f1f1; + color: #999999; + margin: 0 auto; +} +.TakePhotoCheckIn .no_distance_des { + text-align: center; + color: #666666; + font-size: 24rpx; + padding-top: 30rpx; +} +.sign_clock_in_page_map_opacity { + opacity: 0.8; +} +.sign_clock_in_page_map_opacity .sign_clock_in_page_map_content { + color: #333; +} +.update_location { + background-color: #fff; + border-radius: 100rpx; + padding: 8rpx 20rpx; + font-size: 28rpx; + color: #0082fa; +} +.loading { + padding-top: 50rpx; +} +.watermark_info { + padding-bottom: 40rpx; +} +.watermark_info .update_photo { + width: 200rpx; +} +.watermark_info .upload_item_img { + width: 200rpx; + height: 200rpx; + position: relative; +} +.watermark_info .upload_item_img image { + width: 100%; + height: 100%; + border-radius: 10rpx; +} +.watermark_info .upload_item_delete { + position: absolute; + top: -20rpx; + right: -5rpx; + width: 40rpx; + height: 40rpx; + z-index: 10; +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/attendance/sign_clock_in/method.js b/dist/dev/mp-weixin/ME/attendance/sign_clock_in/method.js new file mode 100644 index 0000000..0a5339e --- /dev/null +++ b/dist/dev/mp-weixin/ME/attendance/sign_clock_in/method.js @@ -0,0 +1,188 @@ +"use strict"; +const common_vendor = require("../../../common/vendor.js"); +const common_libraries_apiLoading = require("../../../common/libraries/apiLoading.js"); +const gen_Apis = require("../../../gen/Apis.js"); +const ME_attendance_sign_clock_in_model = require("./model.js"); +const common_libraries_naviHelper = require("../../../common/libraries/naviHelper.js"); +require("../../../common/libraries/request.js"); +const common_store_useWatermarkStore = require("../../../common/store/useWatermarkStore.js"); +const common_store_useWeAppAuthStore = require("../../../common/store/useWeAppAuthStore.js"); +require("../../../common/store/useWorkStore.js"); +const common_libraries_mapDistance = require("../../../common/libraries/mapDistance.js"); +const common_libraries_day = require("../../../common/libraries/day.js"); +const common_libraries_tools = require("../../../common/libraries/tools.js"); +common_store_useWeAppAuthStore.useWeAppAuthStore(); +const watermark = common_store_useWatermarkStore.useWatermarkStore(); +const getShow = (data, mapData) => { + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Attendance.AttendanceSchedules.GetAttendanceShiftPeriod, data).then((res) => { + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j; + ME_attendance_sign_clock_in_model.useModel.showData.value = res == null ? void 0 : res.data; + ME_attendance_sign_clock_in_model.useModel.distanceNumber.value = common_libraries_mapDistance.CalculateDistance(mapData, (_a = res == null ? void 0 : res.data) == null ? void 0 : _a.project); + if ((_d = (_c = (_b = res == null ? void 0 : res.data) == null ? void 0 : _b.checkin_status) == null ? void 0 : _c.start) == null ? void 0 : _d.checked) { + ME_attendance_sign_clock_in_model.useModel.current.value = 1; + } + if (((_g = (_f = (_e = res == null ? void 0 : res.data) == null ? void 0 : _e.checkin_status) == null ? void 0 : _f.start) == null ? void 0 : _g.checked) && ((_j = (_i = (_h = res == null ? void 0 : res.data) == null ? void 0 : _h.checkin_status) == null ? void 0 : _i.end) == null ? void 0 : _j.checked)) { + ME_attendance_sign_clock_in_model.useModel.current.value = 3; + } + setTimeout(() => { + ME_attendance_sign_clock_in_model.useModel.loading.value = true; + }, 300); + console.log(ME_attendance_sign_clock_in_model.useModel.metaData.value, "useModel.metaData.value"); + }); +}; +let checkInDebounceTimer = null; +let isCheckInSubmitting = false; +const getLocationMap = (fun) => { + common_vendor.index.getLocation({ + type: "wgs84", + altitude: true, + isHighAccuracy: true, + success(res) { + console.log(res, "经纬度"); + ME_attendance_sign_clock_in_model.useModel.currentLocation.value = { latitude: res.latitude, longitude: res.longitude }; + common_vendor.index.hideLoading(); + return fun == null ? void 0 : fun(res); + }, + fail(res) { + common_vendor.index.hideLoading(); + common_vendor.index.showModal({ + title: "提示", + content: "请先允许定位!", + success: function(res2) { + if (res2.confirm) { + common_vendor.index.openSetting(); + console.log("用户点击确定"); + } else if (res2.cancel) { + console.log("用户点击取消"); + } + } + }); + console.log(res, "获取经纬度失败"); + } + }); +}; +const debouncedUpdateLocation = common_libraries_tools.debounce(function(callback) { + getLocationMap(callback); +}, 1200); +const method = { + handleUpdateLocation() { + if (ME_attendance_sign_clock_in_model.useModel.mapNumber.value > 3) { + return common_libraries_naviHelper.showToast("操作太频繁!"); + } + common_vendor.index.showLoading({ + title: "加载中...", + mask: true + }); + debouncedUpdateLocation((res) => { + var _a, _b, _c, _d, _e; + ME_attendance_sign_clock_in_model.useModel.mapNumber.value += 1; + common_vendor.index.hideLoading(); + ME_attendance_sign_clock_in_model.useModel.distanceNumber.value = common_libraries_mapDistance.CalculateDistance( + (_b = (_a = ME_attendance_sign_clock_in_model.useModel) == null ? void 0 : _a.currentLocation) == null ? void 0 : _b.value, + (_e = (_d = (_c = ME_attendance_sign_clock_in_model.useModel) == null ? void 0 : _c.showData) == null ? void 0 : _d.value) == null ? void 0 : _e.project + ); + }); + }, + init() { + var _a; + let watermarkInfo = (_a = watermark == null ? void 0 : watermark.watermarkInfo) == null ? void 0 : _a.value; + if (watermarkInfo == null ? void 0 : watermarkInfo.length) { + ME_attendance_sign_clock_in_model.useModel.formData.value.photo = JSON.parse(JSON.stringify(watermarkInfo)); + watermark.watermarkInfo.value = []; + console.log(watermarkInfo, "watermarkInfo"); + } + }, + getLocation(data) { + getLocationMap((res) => { + getShow(data, res); + }); + }, + onPreviewMedia(url) { + console.log(url, "url1"); + if (url) { + common_vendor.index.previewMedia({ + sources: [ + { + url, + type: "image" + } + ], + current: 0 + }); + } + }, + handleDelete() { + ME_attendance_sign_clock_in_model.useModel.formData.value.photo = []; + }, + handleCheckin() { + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u; + if (isCheckInSubmitting) { + return common_libraries_naviHelper.showToast("请勿重复点击"); + } + if (!common_libraries_day.isWithinTimeRange( + `${(_c = (_b = (_a = ME_attendance_sign_clock_in_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value) == null ? void 0 : _c.date} ${((_f = (_e = (_d = ME_attendance_sign_clock_in_model.useModel) == null ? void 0 : _d.formData) == null ? void 0 : _e.value) == null ? void 0 : _f.checkin_type) === "CheckOut" ? (_j = (_i = (_h = (_g = ME_attendance_sign_clock_in_model.useModel) == null ? void 0 : _g.showData) == null ? void 0 : _h.value) == null ? void 0 : _i.period) == null ? void 0 : _j.work_end_time : (_n = (_m = (_l = (_k = ME_attendance_sign_clock_in_model.useModel) == null ? void 0 : _k.showData) == null ? void 0 : _l.value) == null ? void 0 : _m.period) == null ? void 0 : _n.work_start_time}` + )) { + return common_libraries_naviHelper.showToast("不在打卡时间内!"); + } + if (((_q = (_p = (_o = ME_attendance_sign_clock_in_model.useModel) == null ? void 0 : _o.attendanceConfigData) == null ? void 0 : _p.value) == null ? void 0 : _q.require_photo) && !((_u = (_t = (_s = (_r = ME_attendance_sign_clock_in_model.useModel) == null ? void 0 : _r.formData) == null ? void 0 : _s.value) == null ? void 0 : _t.photo) == null ? void 0 : _u.length)) { + return common_libraries_naviHelper.showToast("请上传拍照!"); + } + getLocationMap(() => { + var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2; + let distanceNumber = common_libraries_mapDistance.CalculateDistance( + (_b2 = (_a2 = ME_attendance_sign_clock_in_model.useModel) == null ? void 0 : _a2.currentLocation) == null ? void 0 : _b2.value, + (_e2 = (_d2 = (_c2 = ME_attendance_sign_clock_in_model.useModel) == null ? void 0 : _c2.showData) == null ? void 0 : _d2.value) == null ? void 0 : _e2.project + ); + ME_attendance_sign_clock_in_model.useModel.distanceNumber.value = distanceNumber; + if (distanceNumber > ((_h2 = (_g2 = (_f2 = ME_attendance_sign_clock_in_model.useModel) == null ? void 0 : _f2.attendanceConfigData) == null ? void 0 : _g2.value) == null ? void 0 : _h2.check_in_range)) { + return common_libraries_naviHelper.showToast("打卡距离超出范围!"); + } + if (checkInDebounceTimer) { + clearTimeout(checkInDebounceTimer); + } + isCheckInSubmitting = true; + checkInDebounceTimer = setTimeout(() => { + var _a3, _b3; + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Attendance.AttendanceRecords.Checkin, { + ...ME_attendance_sign_clock_in_model.useModel.formData.value, + ...(_b3 = (_a3 = ME_attendance_sign_clock_in_model.useModel) == null ? void 0 : _a3.currentLocation) == null ? void 0 : _b3.value + }).then((res) => { + var _a4, _b4, _c3, _d3; + getShow((_b4 = (_a4 = ME_attendance_sign_clock_in_model.useModel) == null ? void 0 : _a4.formData) == null ? void 0 : _b4.value, (_d3 = (_c3 = ME_attendance_sign_clock_in_model.useModel) == null ? void 0 : _c3.currentLocation) == null ? void 0 : _d3.value); + common_vendor.index.showToast({ + title: "打卡成功", + icon: "success" + }); + }).catch((error) => { + console.error("打卡失败:", error); + common_libraries_naviHelper.showToast("打卡失败,请重试"); + }).finally(() => { + setTimeout(() => { + isCheckInSubmitting = false; + }, 1e3); + }); + }, 500); + }); + }, + YesNoCheckinStatus() { + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p; + if (((_c = (_b = (_a = ME_attendance_sign_clock_in_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value) == null ? void 0 : _c.checkin_type) === "CheckOut" && !((_h = (_g = (_f = (_e = (_d = ME_attendance_sign_clock_in_model.useModel) == null ? void 0 : _d.showData) == null ? void 0 : _e.value) == null ? void 0 : _f.checkin_status) == null ? void 0 : _g.end) == null ? void 0 : _h.checked)) { + return true; + } + if (((_k = (_j = (_i = ME_attendance_sign_clock_in_model.useModel) == null ? void 0 : _i.formData) == null ? void 0 : _j.value) == null ? void 0 : _k.checkin_type) === "CheckIn" && !((_p = (_o = (_n = (_m = (_l = ME_attendance_sign_clock_in_model.useModel) == null ? void 0 : _l.showData) == null ? void 0 : _m.value) == null ? void 0 : _n.checkin_status) == null ? void 0 : _o.start) == null ? void 0 : _p.checked)) { + return true; + } + return false; + }, + getAttendanceConfig() { + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Attendance.AttendanceSchedules.GetAttendanceConfig, {}).then((res) => { + ME_attendance_sign_clock_in_model.useModel.attendanceConfigData.value = res == null ? void 0 : res.data; + }); + }, + toUpload() { + common_vendor.index.navigateTo({ + url: "/INDEX/watermark_camera/index?source=current" + }); + } +}; +exports.method = method; diff --git a/dist/dev/mp-weixin/ME/attendance/sign_clock_in/model.js b/dist/dev/mp-weixin/ME/attendance/sign_clock_in/model.js new file mode 100644 index 0000000..bb73634 --- /dev/null +++ b/dist/dev/mp-weixin/ME/attendance/sign_clock_in/model.js @@ -0,0 +1,15 @@ +"use strict"; +const common_vendor = require("../../../common/vendor.js"); +require("../../../common/libraries/day.js"); +const useModel = { + formData: common_vendor.ref({}), + showData: common_vendor.ref({}), + metaData: common_vendor.ref({}), + attendanceConfigData: common_vendor.ref({}), + current: common_vendor.ref(-1), + currentLocation: common_vendor.ref({}), + distanceNumber: common_vendor.ref(0), + loading: common_vendor.ref(false), + mapNumber: common_vendor.ref(0) +}; +exports.useModel = useModel; diff --git a/dist/dev/mp-weixin/ME/emergency/add/index.js b/dist/dev/mp-weixin/ME/emergency/add/index.js new file mode 100644 index 0000000..c76451c --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/add/index.js @@ -0,0 +1,144 @@ +"use strict"; +const common_vendor = require("../../../common/vendor.js"); +const ME_emergency_add_method = require("./method.js"); +const ME_emergency_add_model = require("./model.js"); +require("../../../common/libraries/request.js"); +require("../../../common/store/useWeAppAuthStore.js"); +require("../../../gen/Apis.js"); +require("../../../common/store/useWatermarkStore.js"); +require("../../../common/store/useWorkStore.js"); +require("../../../common/libraries/apiLoading.js"); +require("../../../common/libraries/naviHelper.js"); +if (!Array) { + const _easycom_hs_cell2 = common_vendor.resolveComponent("hs-cell"); + const _easycom_hs_input2 = common_vendor.resolveComponent("hs-input"); + const _easycom_hs_radio_picker_categories_tree2 = common_vendor.resolveComponent("hs-radio-picker-categories-tree"); + const _easycom_hs_radio_picker_levels2 = common_vendor.resolveComponent("hs-radio-picker-levels"); + const _easycom_hs_date_picker2 = common_vendor.resolveComponent("hs-date-picker"); + const _easycom_hs_cell_textarea2 = common_vendor.resolveComponent("hs-cell-textarea"); + const _easycom_hs_upload2 = common_vendor.resolveComponent("hs-upload"); + const _easycom_hs_footer2 = common_vendor.resolveComponent("hs-footer"); + (_easycom_hs_cell2 + _easycom_hs_input2 + _easycom_hs_radio_picker_categories_tree2 + _easycom_hs_radio_picker_levels2 + _easycom_hs_date_picker2 + _easycom_hs_cell_textarea2 + _easycom_hs_upload2 + _easycom_hs_footer2)(); +} +const _easycom_hs_cell = () => "../../../components/hs-cell/hs-cell.js"; +const _easycom_hs_input = () => "../../../components/hs-input/hs-input.js"; +const _easycom_hs_radio_picker_categories_tree = () => "../../../components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.js"; +const _easycom_hs_radio_picker_levels = () => "../../../components/hs-radio-picker-levels/hs-radio-picker-levels.js"; +const _easycom_hs_date_picker = () => "../../../components/hs-date-picker/hs-date-picker.js"; +const _easycom_hs_cell_textarea = () => "../../../components/hs-cell-textarea/hs-cell-textarea.js"; +const _easycom_hs_upload = () => "../../../components/hs-upload/hs-upload.js"; +const _easycom_hs_footer = () => "../../../components/hs-footer/hs-footer.js"; +if (!Math) { + (_easycom_hs_cell + _easycom_hs_input + _easycom_hs_radio_picker_categories_tree + _easycom_hs_radio_picker_levels + _easycom_hs_date_picker + _easycom_hs_cell_textarea + _easycom_hs_upload + _easycom_hs_footer)(); +} +const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ + __name: "index", + setup(__props) { + common_vendor.onShow(() => { + var _a; + (_a = ME_emergency_add_method.method) == null ? void 0 : _a.init(); + }); + common_vendor.onUnload(() => { + ME_emergency_add_model.useModel.formData.value = {}; + }); + return (_ctx, _cache) => { + var _a, _b, _c, _d; + return { + a: common_vendor.p({ + title: "选择项目", + required: true, + borderTop: true, + isLink: true, + value: (_c = (_b = (_a = common_vendor.unref(ME_emergency_add_model.useModel)) == null ? void 0 : _a.formData) == null ? void 0 : _b.value) == null ? void 0 : _c.project_name, + isPlaceholder: "请选择项目", + url: "/pages/public/select_project/index?source=emergency_add" + }), + b: common_vendor.o(($event) => common_vendor.unref(ME_emergency_add_model.useModel).formData.value.name = $event), + c: common_vendor.p({ + placeholder: "请输入事件名称", + textAlign: "right", + valueModel: common_vendor.unref(ME_emergency_add_model.useModel).formData.value.name + }), + d: common_vendor.p({ + title: "事件名称", + required: true, + borderTop: true + }), + e: common_vendor.o(($event) => common_vendor.unref(ME_emergency_add_model.useModel).formData.value.two_emergency_categories_id = $event), + f: common_vendor.p({ + title: "事件分类", + required: true, + borderTop: true, + valueModel: common_vendor.unref(ME_emergency_add_model.useModel).formData.value.two_emergency_categories_id + }), + g: common_vendor.o(($event) => common_vendor.unref(ME_emergency_add_model.useModel).formData.value.emergency_event_levels_id = $event), + h: common_vendor.p({ + title: "事件等级", + required: true, + borderTop: true, + valueModel: common_vendor.unref(ME_emergency_add_model.useModel).formData.value.emergency_event_levels_id + }), + i: common_vendor.o(($event) => common_vendor.unref(ME_emergency_add_model.useModel).formData.value.emergency_time = $event), + j: common_vendor.p({ + title: "发生时间", + required: true, + borderTop: true, + valueModel: common_vendor.unref(ME_emergency_add_model.useModel).formData.value.emergency_time + }), + k: common_vendor.o(($event) => common_vendor.unref(ME_emergency_add_model.useModel).formData.value.emergency_location = $event), + l: common_vendor.p({ + required: true, + title: "事发地点", + placeholder: "请详细描述问题情况,包括具体位置现象等", + valueModel: common_vendor.unref(ME_emergency_add_model.useModel).formData.value.emergency_location + }), + m: common_vendor.o(($event) => common_vendor.unref(ME_emergency_add_model.useModel).formData.value.emergency_description = $event), + n: common_vendor.p({ + required: true, + title: "事件描述", + placeholder: "请详细描述问题情况,包括具体位置现象等", + valueModel: common_vendor.unref(ME_emergency_add_model.useModel).formData.value.emergency_description + }), + o: common_vendor.o(($event) => common_vendor.unref(ME_emergency_add_model.useModel).formData.value.emergency_cause = $event), + p: common_vendor.p({ + required: true, + title: "发生原因", + placeholder: "请详细描述问题情况,包括具体位置现象等", + valueModel: common_vendor.unref(ME_emergency_add_model.useModel).formData.value.emergency_cause + }), + q: common_vendor.o(($event) => common_vendor.unref(ME_emergency_add_model.useModel).formData.value.cause_result = $event), + r: common_vendor.p({ + required: true, + title: "造成结果", + placeholder: "请详细描述问题情况,包括具体位置现象等", + valueModel: common_vendor.unref(ME_emergency_add_model.useModel).formData.value.cause_result + }), + s: common_vendor.o(($event) => common_vendor.unref(ME_emergency_add_model.useModel).formData.value.emergency_images = $event), + t: common_vendor.p({ + title: "事件相关图片", + count: 10, + borderTop: true, + valueModel: common_vendor.unref(ME_emergency_add_model.useModel).formData.value.emergency_images + }), + v: common_vendor.o(($event) => common_vendor.unref(ME_emergency_add_model.useModel).formData.value.related_person = $event), + w: common_vendor.p({ + title: "相关人物", + placeholder: "请详细描述问题情况,包括具体位置现象等", + valueModel: common_vendor.unref(ME_emergency_add_model.useModel).formData.value.related_person + }), + x: common_vendor.o(($event) => common_vendor.unref(ME_emergency_add_model.useModel).formData.value.supplement = $event), + y: common_vendor.p({ + title: "补充信息", + placeholder: "请详细描述问题情况,包括具体位置现象等", + valueModel: common_vendor.unref(ME_emergency_add_model.useModel).formData.value.supplement + }), + z: common_vendor.o((_d = common_vendor.unref(ME_emergency_add_method.method)) == null ? void 0 : _d.handleSubmit), + A: common_vendor.p({ + btnParimaryName: "提交" + }) + }; + }; + } +}); +const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/ME/emergency/add/index.vue"]]); +wx.createPage(MiniProgramPage); diff --git a/dist/dev/mp-weixin/ME/emergency/add/index.json b/dist/dev/mp-weixin/ME/emergency/add/index.json new file mode 100644 index 0000000..2aa1285 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/add/index.json @@ -0,0 +1,13 @@ +{ + "navigationBarTitleText": "突发事件添加", + "usingComponents": { + "hs-cell": "../../../components/hs-cell/hs-cell", + "hs-input": "../../../components/hs-input/hs-input", + "hs-radio-picker-categories-tree": "../../../components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree", + "hs-radio-picker-levels": "../../../components/hs-radio-picker-levels/hs-radio-picker-levels", + "hs-date-picker": "../../../components/hs-date-picker/hs-date-picker", + "hs-cell-textarea": "../../../components/hs-cell-textarea/hs-cell-textarea", + "hs-upload": "../../../components/hs-upload/hs-upload", + "hs-footer": "../../../components/hs-footer/hs-footer" + } +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/emergency/add/index.wxml b/dist/dev/mp-weixin/ME/emergency/add/index.wxml new file mode 100644 index 0000000..abdc46a --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/add/index.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/emergency/add/index.wxss b/dist/dev/mp-weixin/ME/emergency/add/index.wxss new file mode 100644 index 0000000..82bf821 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/add/index.wxss @@ -0,0 +1,12 @@ +page { + background-color: #f8f8f8; +} +.emergency_add_page { + padding-bottom: calc(130rpx + constant(safe-area-inset-bottom)); + padding-bottom: calc(130rpx + env(safe-area-inset-bottom)); +} +.card_form { + background-color: #fff; + padding: 0 30rpx; + margin-bottom: 30rpx; +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/emergency/add/method.js b/dist/dev/mp-weixin/ME/emergency/add/method.js new file mode 100644 index 0000000..1387f9c --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/add/method.js @@ -0,0 +1,74 @@ +"use strict"; +const ME_emergency_add_model = require("./model.js"); +require("../../../common/libraries/request.js"); +require("../../../common/store/useWatermarkStore.js"); +require("../../../common/store/useWeAppAuthStore.js"); +const common_store_useWorkStore = require("../../../common/store/useWorkStore.js"); +const common_libraries_apiLoading = require("../../../common/libraries/apiLoading.js"); +const gen_Apis = require("../../../gen/Apis.js"); +const common_libraries_naviHelper = require("../../../common/libraries/naviHelper.js"); +const work = common_store_useWorkStore.useWorkStore(); +const getList = () => { + var _a, _b; + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.WorkOrder.HouseWorkOrders.List, (_b = (_a = ME_emergency_add_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value).then((res) => { + ME_emergency_add_model.useModel.listData.value = [...ME_emergency_add_model.useModel.listData.value, ...res == null ? void 0 : res.data]; + ME_emergency_add_model.useModel.metaData.value = res == null ? void 0 : res.meta; + }); +}; +const method = { + getList, + init() { + var _a, _b, _c, _d, _e; + console.log("init", work == null ? void 0 : work.selectWorkProject); + if ((_a = work == null ? void 0 : work.selectWorkProject) == null ? void 0 : _a.id) { + ME_emergency_add_model.useModel.formData.value = { + ...(_c = (_b = ME_emergency_add_model.useModel) == null ? void 0 : _b.formData) == null ? void 0 : _c.value, + project_name: (_d = work == null ? void 0 : work.selectWorkProject) == null ? void 0 : _d.name, + asset_projects_id: (_e = work == null ? void 0 : work.selectWorkProject) == null ? void 0 : _e.id + }; + } + }, + handleSubmit() { + var _a, _b, _c, _d; + let data = (_b = (_a = ME_emergency_add_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value; + if (!(data == null ? void 0 : data.asset_projects_id)) { + return common_libraries_naviHelper.showToast("请选择项目!"); + } + if (!(data == null ? void 0 : data.name)) { + return common_libraries_naviHelper.showToast("请输入事件名称!"); + } + if (!(data == null ? void 0 : data.two_emergency_categories_id)) { + return common_libraries_naviHelper.showToast("请选择分类!"); + } + if (((_c = data == null ? void 0 : data.two_emergency_categories_id) == null ? void 0 : _c.length) === 1) { + return common_libraries_naviHelper.showToast("请选择2级分类!"); + } + if (!(data == null ? void 0 : data.emergency_event_levels_id)) { + return common_libraries_naviHelper.showToast("请选择等级!"); + } + if (!(data == null ? void 0 : data.emergency_event_levels_id)) { + return common_libraries_naviHelper.showToast("请选择等级!"); + } + if (!(data == null ? void 0 : data.emergency_time)) { + return common_libraries_naviHelper.showToast("请选择发生时间!"); + } + if (!(data == null ? void 0 : data.emergency_location)) { + return common_libraries_naviHelper.showToast("请输入事发地点!"); + } + if (!(data == null ? void 0 : data.emergency_description)) { + return common_libraries_naviHelper.showToast("请输入事件描述!"); + } + if (!(data == null ? void 0 : data.emergency_cause)) { + return common_libraries_naviHelper.showToast("请输入原因!"); + } + if (!(data == null ? void 0 : data.cause_result)) { + return common_libraries_naviHelper.showToast("请设置结果!"); + } + data.two_emergency_categories_id = (_d = data == null ? void 0 : data.two_emergency_categories_id) == null ? void 0 : _d[1]; + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Emergency.EmergencyEvents.Store, data).then((res) => { + common_libraries_naviHelper.showToastBack("提交成功!", 1, true); + console.log(res); + }); + } +}; +exports.method = method; diff --git a/dist/dev/mp-weixin/ME/emergency/add/model.js b/dist/dev/mp-weixin/ME/emergency/add/model.js new file mode 100644 index 0000000..3b42193 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/add/model.js @@ -0,0 +1,9 @@ +"use strict"; +const common_vendor = require("../../../common/vendor.js"); +const useModel = { + currentTabs: common_vendor.ref(0), + formData: common_vendor.ref({}), + listData: common_vendor.ref([]), + metaData: common_vendor.ref({}) +}; +exports.useModel = useModel; diff --git a/dist/dev/mp-weixin/ME/emergency/change/index.js b/dist/dev/mp-weixin/ME/emergency/change/index.js new file mode 100644 index 0000000..3a11da9 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/change/index.js @@ -0,0 +1,149 @@ +"use strict"; +const common_vendor = require("../../../common/vendor.js"); +const ME_emergency_change_model = require("./model.js"); +const ME_emergency_change_method = require("./method.js"); +require("../../../common/libraries/request.js"); +require("../../../common/store/useWeAppAuthStore.js"); +require("../../../gen/Apis.js"); +require("../../../common/store/useWatermarkStore.js"); +require("../../../common/store/useWorkStore.js"); +require("../../../common/libraries/apiLoading.js"); +require("../../../common/libraries/day.js"); +require("../../../common/libraries/naviHelper.js"); +if (!Array) { + const _easycom_hs_cell2 = common_vendor.resolveComponent("hs-cell"); + const _easycom_hs_input2 = common_vendor.resolveComponent("hs-input"); + const _easycom_hs_radio_picker_categories_tree2 = common_vendor.resolveComponent("hs-radio-picker-categories-tree"); + const _easycom_hs_radio_picker_levels2 = common_vendor.resolveComponent("hs-radio-picker-levels"); + const _easycom_hs_date_picker2 = common_vendor.resolveComponent("hs-date-picker"); + const _easycom_hs_cell_textarea2 = common_vendor.resolveComponent("hs-cell-textarea"); + const _easycom_hs_upload2 = common_vendor.resolveComponent("hs-upload"); + const _easycom_hs_footer2 = common_vendor.resolveComponent("hs-footer"); + (_easycom_hs_cell2 + _easycom_hs_input2 + _easycom_hs_radio_picker_categories_tree2 + _easycom_hs_radio_picker_levels2 + _easycom_hs_date_picker2 + _easycom_hs_cell_textarea2 + _easycom_hs_upload2 + _easycom_hs_footer2)(); +} +const _easycom_hs_cell = () => "../../../components/hs-cell/hs-cell.js"; +const _easycom_hs_input = () => "../../../components/hs-input/hs-input.js"; +const _easycom_hs_radio_picker_categories_tree = () => "../../../components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.js"; +const _easycom_hs_radio_picker_levels = () => "../../../components/hs-radio-picker-levels/hs-radio-picker-levels.js"; +const _easycom_hs_date_picker = () => "../../../components/hs-date-picker/hs-date-picker.js"; +const _easycom_hs_cell_textarea = () => "../../../components/hs-cell-textarea/hs-cell-textarea.js"; +const _easycom_hs_upload = () => "../../../components/hs-upload/hs-upload.js"; +const _easycom_hs_footer = () => "../../../components/hs-footer/hs-footer.js"; +if (!Math) { + (_easycom_hs_cell + _easycom_hs_input + _easycom_hs_radio_picker_categories_tree + _easycom_hs_radio_picker_levels + _easycom_hs_date_picker + _easycom_hs_cell_textarea + _easycom_hs_upload + _easycom_hs_footer)(); +} +const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ + __name: "index", + setup(__props) { + common_vendor.onLoad((e) => { + var _a; + ME_emergency_change_model.useModel.formData.value = { id: e == null ? void 0 : e.id }; + (_a = ME_emergency_change_method.method) == null ? void 0 : _a.getShow(); + }); + common_vendor.onShow(() => { + var _a; + (_a = ME_emergency_change_method.method) == null ? void 0 : _a.init(); + }); + return (_ctx, _cache) => { + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m; + return { + a: common_vendor.p({ + title: "选择项目", + required: true, + borderTop: true, + isLink: true, + value: (_c = (_b = (_a = common_vendor.unref(ME_emergency_change_model.useModel)) == null ? void 0 : _a.formData) == null ? void 0 : _b.value) == null ? void 0 : _c.project_name, + isPlaceholder: "请选择项目", + url: "/pages/public/select_project/index?source=emergency_add" + }), + b: common_vendor.o(($event) => common_vendor.unref(ME_emergency_change_model.useModel).formData.value.name = $event), + c: common_vendor.p({ + maxLength: "11", + textAlign: "right", + valueModel: common_vendor.unref(ME_emergency_change_model.useModel).formData.value.name + }), + d: common_vendor.p({ + title: "事件名称", + required: true, + borderTop: true + }), + e: common_vendor.o(($event) => common_vendor.unref(ME_emergency_change_model.useModel).formData.value.two_emergency_categories_id = $event), + f: common_vendor.p({ + title: "事件分类", + required: true, + borderTop: true, + defaultValue: `${(_f = (_e = (_d = common_vendor.unref(ME_emergency_change_model.useModel)) == null ? void 0 : _d.formData) == null ? void 0 : _e.value) == null ? void 0 : _f.one_emergency_categories_name}/${(_i = (_h = (_g = common_vendor.unref(ME_emergency_change_model.useModel)) == null ? void 0 : _g.formData) == null ? void 0 : _h.value) == null ? void 0 : _i.two_emergency_categories_name}`, + valueModel: common_vendor.unref(ME_emergency_change_model.useModel).formData.value.two_emergency_categories_id + }), + g: common_vendor.o(($event) => common_vendor.unref(ME_emergency_change_model.useModel).formData.value.emergency_event_levels_id = $event), + h: common_vendor.p({ + title: "事件等级", + required: true, + borderTop: true, + defaultValue: (_l = (_k = (_j = common_vendor.unref(ME_emergency_change_model.useModel)) == null ? void 0 : _j.formData) == null ? void 0 : _k.value) == null ? void 0 : _l.emergency_event_levels_name, + valueModel: common_vendor.unref(ME_emergency_change_model.useModel).formData.value.emergency_event_levels_id + }), + i: common_vendor.o(($event) => common_vendor.unref(ME_emergency_change_model.useModel).formData.value.emergency_time = $event), + j: common_vendor.p({ + title: "发生时间", + required: true, + borderTop: true, + valueModel: common_vendor.unref(ME_emergency_change_model.useModel).formData.value.emergency_time + }), + k: common_vendor.o(($event) => common_vendor.unref(ME_emergency_change_model.useModel).formData.value.emergency_location = $event), + l: common_vendor.p({ + required: true, + title: "事发地点", + placeholder: "请详细描述问题情况,包括具体位置现象等", + valueModel: common_vendor.unref(ME_emergency_change_model.useModel).formData.value.emergency_location + }), + m: common_vendor.o(($event) => common_vendor.unref(ME_emergency_change_model.useModel).formData.value.emergency_description = $event), + n: common_vendor.p({ + required: true, + title: "事件描述", + placeholder: "请详细描述问题情况,包括具体位置现象等", + valueModel: common_vendor.unref(ME_emergency_change_model.useModel).formData.value.emergency_description + }), + o: common_vendor.o(($event) => common_vendor.unref(ME_emergency_change_model.useModel).formData.value.emergency_cause = $event), + p: common_vendor.p({ + required: true, + title: "发生原因", + placeholder: "请详细描述问题情况,包括具体位置现象等", + valueModel: common_vendor.unref(ME_emergency_change_model.useModel).formData.value.emergency_cause + }), + q: common_vendor.o(($event) => common_vendor.unref(ME_emergency_change_model.useModel).formData.value.cause_result = $event), + r: common_vendor.p({ + required: true, + title: "造成结果", + placeholder: "请详细描述问题情况,包括具体位置现象等", + valueModel: common_vendor.unref(ME_emergency_change_model.useModel).formData.value.cause_result + }), + s: common_vendor.o(($event) => common_vendor.unref(ME_emergency_change_model.useModel).formData.value.emergency_images = $event), + t: common_vendor.p({ + title: "事件相关图片", + count: 10, + borderTop: true, + valueModel: common_vendor.unref(ME_emergency_change_model.useModel).formData.value.emergency_images + }), + v: common_vendor.o(($event) => common_vendor.unref(ME_emergency_change_model.useModel).formData.value.related_person = $event), + w: common_vendor.p({ + title: "相关人物", + placeholder: "请详细描述问题情况,包括具体位置现象等", + valueModel: common_vendor.unref(ME_emergency_change_model.useModel).formData.value.related_person + }), + x: common_vendor.o(($event) => common_vendor.unref(ME_emergency_change_model.useModel).formData.value.supplement = $event), + y: common_vendor.p({ + title: "补充信息", + placeholder: "请详细描述问题情况,包括具体位置现象等", + valueModel: common_vendor.unref(ME_emergency_change_model.useModel).formData.value.supplement + }), + z: common_vendor.o((_m = common_vendor.unref(ME_emergency_change_method.method)) == null ? void 0 : _m.handleSubmit), + A: common_vendor.p({ + btnParimaryName: "提交" + }) + }; + }; + } +}); +const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/ME/emergency/change/index.vue"]]); +wx.createPage(MiniProgramPage); diff --git a/dist/dev/mp-weixin/ME/emergency/change/index.json b/dist/dev/mp-weixin/ME/emergency/change/index.json new file mode 100644 index 0000000..46a4af6 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/change/index.json @@ -0,0 +1,13 @@ +{ + "navigationBarTitleText": "变更突发事件", + "usingComponents": { + "hs-cell": "../../../components/hs-cell/hs-cell", + "hs-input": "../../../components/hs-input/hs-input", + "hs-radio-picker-categories-tree": "../../../components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree", + "hs-radio-picker-levels": "../../../components/hs-radio-picker-levels/hs-radio-picker-levels", + "hs-date-picker": "../../../components/hs-date-picker/hs-date-picker", + "hs-cell-textarea": "../../../components/hs-cell-textarea/hs-cell-textarea", + "hs-upload": "../../../components/hs-upload/hs-upload", + "hs-footer": "../../../components/hs-footer/hs-footer" + } +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/emergency/change/index.wxml b/dist/dev/mp-weixin/ME/emergency/change/index.wxml new file mode 100644 index 0000000..422d42d --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/change/index.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/emergency/change/index.wxss b/dist/dev/mp-weixin/ME/emergency/change/index.wxss new file mode 100644 index 0000000..004cdc4 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/change/index.wxss @@ -0,0 +1,7 @@ +page { + background-color: #f8f8f8; +} +.emergency_add_page { + padding-bottom: calc(130rpx + constant(safe-area-inset-bottom)); + padding-bottom: calc(130rpx + env(safe-area-inset-bottom)); +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/emergency/change/method.js b/dist/dev/mp-weixin/ME/emergency/change/method.js new file mode 100644 index 0000000..c72d41e --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/change/method.js @@ -0,0 +1,79 @@ +"use strict"; +const ME_emergency_change_model = require("./model.js"); +require("../../../common/libraries/request.js"); +require("../../../common/store/useWatermarkStore.js"); +require("../../../common/store/useWeAppAuthStore.js"); +const common_store_useWorkStore = require("../../../common/store/useWorkStore.js"); +const common_libraries_day = require("../../../common/libraries/day.js"); +const common_libraries_apiLoading = require("../../../common/libraries/apiLoading.js"); +const gen_Apis = require("../../../gen/Apis.js"); +const common_libraries_naviHelper = require("../../../common/libraries/naviHelper.js"); +const work = common_store_useWorkStore.useWorkStore(); +const getShow = () => { + var _a, _b; + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Emergency.EmergencyEvents.Show, (_b = (_a = ME_emergency_change_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value).then((res) => { + var _a2, _b2, _c; + ME_emergency_change_model.useModel.formData.value = { + ...res == null ? void 0 : res.data, + project_name: (_b2 = (_a2 = res == null ? void 0 : res.data) == null ? void 0 : _a2.asset_project) == null ? void 0 : _b2.name, + emergency_time: common_libraries_day.showDay((_c = res == null ? void 0 : res.data) == null ? void 0 : _c.emergency_time) + }; + }); +}; +const method = { + getShow, + init() { + var _a, _b, _c, _d, _e; + console.log("init", work == null ? void 0 : work.selectWorkProject); + if ((_a = work == null ? void 0 : work.selectWorkProject) == null ? void 0 : _a.id) { + ME_emergency_change_model.useModel.formData.value = { + ...(_c = (_b = ME_emergency_change_model.useModel) == null ? void 0 : _b.formData) == null ? void 0 : _c.value, + project_name: (_d = work == null ? void 0 : work.selectWorkProject) == null ? void 0 : _d.name, + asset_projects_id: (_e = work == null ? void 0 : work.selectWorkProject) == null ? void 0 : _e.id + }; + } + }, + handleSubmit() { + var _a, _b, _c, _d, _e; + let data = (_b = (_a = ME_emergency_change_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value; + if (!(data == null ? void 0 : data.asset_projects_id)) { + return common_libraries_naviHelper.showToast("请选择项目!"); + } + if (!(data == null ? void 0 : data.name)) { + return common_libraries_naviHelper.showToast("请输入事件名称!"); + } + if (!(data == null ? void 0 : data.two_emergency_categories_id)) { + return common_libraries_naviHelper.showToast("请选择分类!"); + } + if (!(data == null ? void 0 : data.two_emergency_categories_id) || ((_c = data == null ? void 0 : data.two_emergency_categories_id) == null ? void 0 : _c.length) === 1) { + return common_libraries_naviHelper.showToast("请选择2级分类!"); + } + if (!(data == null ? void 0 : data.emergency_event_levels_id)) { + return common_libraries_naviHelper.showToast("请选择等级!"); + } + if (!(data == null ? void 0 : data.emergency_event_levels_id)) { + return common_libraries_naviHelper.showToast("请选择等级!"); + } + if (!(data == null ? void 0 : data.emergency_time)) { + return common_libraries_naviHelper.showToast("请选择发生时间!"); + } + if (!(data == null ? void 0 : data.emergency_location)) { + return common_libraries_naviHelper.showToast("请输入事发地点!"); + } + if (!(data == null ? void 0 : data.emergency_description)) { + return common_libraries_naviHelper.showToast("请输入事件描述!"); + } + if (!(data == null ? void 0 : data.emergency_cause)) { + return common_libraries_naviHelper.showToast("请输入原因!"); + } + if (!(data == null ? void 0 : data.cause_result)) { + return common_libraries_naviHelper.showToast("请设置结果!"); + } + data.two_emergency_categories_id = ((_d = data == null ? void 0 : data.two_emergency_categories_id) == null ? void 0 : _d.length) ? (_e = data == null ? void 0 : data.two_emergency_categories_id) == null ? void 0 : _e[1] : data == null ? void 0 : data.two_emergency_categories_id; + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Emergency.EmergencyEvents.Update, data).then((res) => { + common_libraries_naviHelper.showToastBack("提交成功!", 1, true); + console.log(res); + }); + } +}; +exports.method = method; diff --git a/dist/dev/mp-weixin/ME/emergency/change/model.js b/dist/dev/mp-weixin/ME/emergency/change/model.js new file mode 100644 index 0000000..3b42193 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/change/model.js @@ -0,0 +1,9 @@ +"use strict"; +const common_vendor = require("../../../common/vendor.js"); +const useModel = { + currentTabs: common_vendor.ref(0), + formData: common_vendor.ref({}), + listData: common_vendor.ref([]), + metaData: common_vendor.ref({}) +}; +exports.useModel = useModel; diff --git a/dist/dev/mp-weixin/ME/emergency/list/index.js b/dist/dev/mp-weixin/ME/emergency/list/index.js new file mode 100644 index 0000000..4c5e028 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/list/index.js @@ -0,0 +1,84 @@ +"use strict"; +const common_vendor = require("../../../common/vendor.js"); +const ME_emergency_list_model = require("./model.js"); +const ME_emergency_list_method = require("./method.js"); +const gen_Enums = require("../../../gen/Enums.js"); +require("../../../common/libraries/apiLoading.js"); +require("../../../gen/Apis.js"); +require("../../../common/libraries/request.js"); +require("../../../common/store/useWeAppAuthStore.js"); +require("../../../common/store/useWatermarkStore.js"); +require("../../../common/store/useWorkStore.js"); +if (!Array) { + const _easycom_u_search2 = common_vendor.resolveComponent("u-search"); + const _easycom_hs_enum_tag2 = common_vendor.resolveComponent("hs-enum-tag"); + const _easycom_cc_scroll_loading2 = common_vendor.resolveComponent("cc-scroll-loading"); + const _easycom_hs_footer2 = common_vendor.resolveComponent("hs-footer"); + (_easycom_u_search2 + _easycom_hs_enum_tag2 + _easycom_cc_scroll_loading2 + _easycom_hs_footer2)(); +} +const _easycom_u_search = () => "../../../node-modules/uview-plus/components/u-search/u-search.js"; +const _easycom_hs_enum_tag = () => "../../../components/hs-enum-tag/hs-enum-tag.js"; +const _easycom_cc_scroll_loading = () => "../../../common/components/cc-scroll-loading/cc-scroll-loading.js"; +const _easycom_hs_footer = () => "../../../components/hs-footer/hs-footer.js"; +if (!Math) { + (_easycom_u_search + _easycom_hs_enum_tag + _easycom_cc_scroll_loading + _easycom_hs_footer)(); +} +const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ + __name: "index", + setup(__props) { + common_vendor.onShow(() => { + var _a; + ME_emergency_list_model.useModel.formData.value.page = 1; + ME_emergency_list_model.useModel.listData.value = []; + (_a = ME_emergency_list_method.method) == null ? void 0 : _a.getList(); + }); + common_vendor.onUnload(() => { + ME_emergency_list_model.useModel.formData.value.name = ""; + ME_emergency_list_model.useModel.formData.value.page = 1; + ME_emergency_list_model.useModel.listData.value = []; + }); + return (_ctx, _cache) => { + var _a, _b, _c, _d, _e; + return { + a: common_vendor.o((_a = common_vendor.unref(ME_emergency_list_method.method)) == null ? void 0 : _a.onSearch), + b: common_vendor.o(($event) => common_vendor.unref(ME_emergency_list_model.useModel).formData.value.name = $event), + c: common_vendor.p({ + placeholder: "请输入关键词搜索", + showAction: false, + modelValue: common_vendor.unref(ME_emergency_list_model.useModel).formData.value.name + }), + d: common_vendor.f(common_vendor.unref(ME_emergency_list_model.useModel).listData.value, (i, index, i0) => { + var _a2, _b2, _c2; + return { + a: common_vendor.t(i == null ? void 0 : i.emergency_event_levels_name), + b: "35e31d32-2-" + i0 + ",35e31d32-1", + c: common_vendor.p({ + value: i == null ? void 0 : i.status, + Enums: common_vendor.unref(gen_Enums.EmergencyEventsStatusEnum) + }), + d: common_vendor.n(`status status_${i == null ? void 0 : i.status}`), + e: common_vendor.t(i == null ? void 0 : i.name), + f: common_vendor.t((_a2 = i == null ? void 0 : i.asset_project) == null ? void 0 : _a2.name), + g: common_vendor.t(i == null ? void 0 : i.created_at), + h: common_vendor.t(((_c2 = (_b2 = i == null ? void 0 : i.emergency_event_follows) == null ? void 0 : _b2[0]) == null ? void 0 : _c2.created_at) || "-"), + i: `item_${index}`, + j: common_vendor.o(($event) => { + var _a3; + return (_a3 = common_vendor.unref(ME_emergency_list_method.method)) == null ? void 0 : _a3.handleDetail(i); + }, `item_${index}`) + }; + }), + e: common_vendor.o((_b = common_vendor.unref(ME_emergency_list_method.method)) == null ? void 0 : _b.handleLoad), + f: common_vendor.p({ + meta: (_d = (_c = common_vendor.unref(ME_emergency_list_model.useModel)) == null ? void 0 : _c.metaData) == null ? void 0 : _d.value + }), + g: common_vendor.o((_e = common_vendor.unref(ME_emergency_list_method.method)) == null ? void 0 : _e.handleAdd), + h: common_vendor.p({ + btnParimaryName: "新增突发事件" + }) + }; + }; + } +}); +const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/ME/emergency/list/index.vue"]]); +wx.createPage(MiniProgramPage); diff --git a/dist/dev/mp-weixin/ME/emergency/list/index.json b/dist/dev/mp-weixin/ME/emergency/list/index.json new file mode 100644 index 0000000..4f4448b --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/list/index.json @@ -0,0 +1,9 @@ +{ + "navigationBarTitleText": "突发事件", + "usingComponents": { + "u-search": "../../../node-modules/uview-plus/components/u-search/u-search", + "hs-enum-tag": "../../../components/hs-enum-tag/hs-enum-tag", + "cc-scroll-loading": "../../../common/components/cc-scroll-loading/cc-scroll-loading", + "hs-footer": "../../../components/hs-footer/hs-footer" + } +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/emergency/list/index.wxml b/dist/dev/mp-weixin/ME/emergency/list/index.wxml new file mode 100644 index 0000000..8609796 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/list/index.wxml @@ -0,0 +1 @@ +{{i.a}}{{i.e}}{{i.f}} 提报时间:{{i.g}} 上次跟进:{{i.h}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/emergency/list/index.wxss b/dist/dev/mp-weixin/ME/emergency/list/index.wxss new file mode 100644 index 0000000..03ef1e4 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/list/index.wxss @@ -0,0 +1,79 @@ +page { + background-color: #f8f8f8; +} +.header_search_box { + position: fixed; + top: 0; + left: 0; + right: 0; + z-index: 100; + background-color: #fff; + height: 100rpx; + padding: 0 30rpx; + display: flex; + align-items: center; +} +.emergency_list_page { + padding-bottom: calc(120rpx + constant(safe-area-inset-bottom)); + padding-bottom: calc(120rpx + env(safe-area-inset-bottom)); +} +.emergency_contents { + padding-top: 100rpx; +} +.emergency_contents .emergency_items { + margin: 30rpx 30rpx 0 30rpx; + padding: 0 30rpx 20rpx 30rpx; + background-color: #fff; + border-radius: 20rpx; +} +.emergency_contents .emergency_items_header { + display: flex; + align-items: center; + justify-content: space-between; + padding: 30rpx 0 0 0; +} +.emergency_contents .emergency_items_header .status { + background-color: #edf4ff; + color: #0082fa; + font-size: 24rpx; + font-weight: 500; + padding: 8rpx 20rpx; + border-radius: 100rpx; +} +.emergency_contents .emergency_items_header .status_Closed { + background-color: #f3f3f4; + color: #909399; +} +.emergency_contents .emergency_items_header .status_InProgress { + background-color: #fff9e6; + color: #ff9900; +} +.emergency_contents .emergency_items_level { + background-color: #ffdcdc; + color: #ef4444; + font-size: 24rpx; + font-weight: 500; + padding: 8rpx 20rpx; + min-width: 70rpx; + text-align: center; + border-radius: 100rpx; +} +.emergency_contents .emergency_items_cell { + display: flex; + align-items: center; + color: #666666; + font-size: 28rpx; + padding: 0 0 10rpx 0; +} +.emergency_contents .emergency_items_cell .label { + padding-left: 10rpx; +} +.emergency_contents .emergency_items_cell image { + width: 27rpx; + height: 27rpx; +} +.emergency_contents .emergency_items_content { + font-size: 28rpx; + font-weight: 600; + padding: 25rpx 0; +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/emergency/list/method.js b/dist/dev/mp-weixin/ME/emergency/list/method.js new file mode 100644 index 0000000..81da722 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/list/method.js @@ -0,0 +1,41 @@ +"use strict"; +const common_vendor = require("../../../common/vendor.js"); +const common_libraries_apiLoading = require("../../../common/libraries/apiLoading.js"); +const gen_Apis = require("../../../gen/Apis.js"); +const ME_emergency_list_model = require("./model.js"); +const getList = () => { + var _a, _b; + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Emergency.EmergencyEvents.List, (_b = (_a = ME_emergency_list_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value).then((res) => { + ME_emergency_list_model.useModel.listData.value = [...ME_emergency_list_model.useModel.listData.value, ...res == null ? void 0 : res.data]; + ME_emergency_list_model.useModel.metaData.value = res == null ? void 0 : res.meta; + }); +}; +const handleSearch = () => { + ME_emergency_list_model.useModel.formData.value.page = 1; + ME_emergency_list_model.useModel.listData.value = []; + getList(); +}; +const method = { + getList, + handleChangeTabs(idx, e) { + handleSearch(); + }, + handleLoad(res) { + ME_emergency_list_model.useModel.formData.value.page = res == null ? void 0 : res.page; + getList(); + }, + handleAdd() { + common_vendor.index.navigateTo({ + url: "/ME/emergency/add/index" + }); + }, + onSearch() { + handleSearch(); + }, + handleDetail(e) { + common_vendor.index.navigateTo({ + url: `/ME/emergency/show/index?id=${e == null ? void 0 : e.id}` + }); + } +}; +exports.method = method; diff --git a/dist/dev/mp-weixin/ME/emergency/list/model.js b/dist/dev/mp-weixin/ME/emergency/list/model.js new file mode 100644 index 0000000..d6f9b1d --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/list/model.js @@ -0,0 +1,9 @@ +"use strict"; +const common_vendor = require("../../../common/vendor.js"); +const useModel = { + currentTabs: common_vendor.ref(0), + formData: common_vendor.ref({ page: 1, name: "" }), + listData: common_vendor.ref([]), + metaData: common_vendor.ref({}) +}; +exports.useModel = useModel; diff --git a/dist/dev/mp-weixin/ME/emergency/show/components/ModalShow.js b/dist/dev/mp-weixin/ME/emergency/show/components/ModalShow.js new file mode 100644 index 0000000..69a57f4 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/show/components/ModalShow.js @@ -0,0 +1,87 @@ +"use strict"; +const common_vendor = require("../../../../common/vendor.js"); +require("../model.js"); +require("../../../../common/libraries/request.js"); +require("../../../../common/store/useWatermarkStore.js"); +require("../../../../common/store/useWeAppAuthStore.js"); +require("../../../../common/store/useWorkStore.js"); +require("../../../../gen/Apis.js"); +require("../../../../common/libraries/apiLoading.js"); +if (!Array) { + const _easycom_hs_button2 = common_vendor.resolveComponent("hs-button"); + const _easycom_up_popup2 = common_vendor.resolveComponent("up-popup"); + (_easycom_hs_button2 + _easycom_up_popup2)(); +} +const _easycom_hs_button = () => "../../../../components/hs-button/hs-button.js"; +const _easycom_up_popup = () => "../../../../node-modules/uview-plus/components/u-popup/u-popup.js"; +if (!Math) { + (_easycom_hs_button + _easycom_up_popup)(); +} +const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ + __name: "ModalShow", + props: ["data"], + setup(__props) { + const props = __props; + const show = common_vendor.ref(false); + const onClose = () => { + }; + return (_ctx, _cache) => { + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y; + return common_vendor.e({ + a: common_vendor.o(($event) => show.value = true), + b: common_vendor.t((_a = props == null ? void 0 : props.data) == null ? void 0 : _a.emergency_description), + c: common_vendor.t((_b = props == null ? void 0 : props.data) == null ? void 0 : _b.one_emergency_categories_name), + d: common_vendor.t((_c = props == null ? void 0 : props.data) == null ? void 0 : _c.two_emergency_categories_name), + e: common_vendor.t(((_e = (_d = props == null ? void 0 : props.data) == null ? void 0 : _d.asset_project) == null ? void 0 : _e.name) || "-"), + f: common_vendor.t(((_f = props == null ? void 0 : props.data) == null ? void 0 : _f.created_at) || ""), + g: (_g = props == null ? void 0 : props.data) == null ? void 0 : _g.emergency_location + }, ((_h = props == null ? void 0 : props.data) == null ? void 0 : _h.emergency_location) ? { + h: common_vendor.t((_i = props == null ? void 0 : props.data) == null ? void 0 : _i.emergency_location) + } : {}, { + i: (_j = props == null ? void 0 : props.data) == null ? void 0 : _j.emergency_description + }, ((_k = props == null ? void 0 : props.data) == null ? void 0 : _k.emergency_description) ? { + j: common_vendor.t((_l = props == null ? void 0 : props.data) == null ? void 0 : _l.emergency_description) + } : {}, { + k: (_m = props == null ? void 0 : props.data) == null ? void 0 : _m.emergency_cause + }, ((_n = props == null ? void 0 : props.data) == null ? void 0 : _n.emergency_cause) ? { + l: common_vendor.t((_o = props == null ? void 0 : props.data) == null ? void 0 : _o.emergency_cause) + } : {}, { + m: (_p = props == null ? void 0 : props.data) == null ? void 0 : _p.cause_result + }, ((_q = props == null ? void 0 : props.data) == null ? void 0 : _q.cause_result) ? { + n: common_vendor.t((_r = props == null ? void 0 : props.data) == null ? void 0 : _r.cause_result) + } : {}, { + o: (_s = props == null ? void 0 : props.data) == null ? void 0 : _s.supplement + }, ((_t = props == null ? void 0 : props.data) == null ? void 0 : _t.supplement) ? { + p: common_vendor.t((_u = props == null ? void 0 : props.data) == null ? void 0 : _u.supplement) + } : {}, { + q: (_v = props == null ? void 0 : props.data) == null ? void 0 : _v.related_person + }, ((_w = props == null ? void 0 : props.data) == null ? void 0 : _w.related_person) ? { + r: common_vendor.t((_x = props == null ? void 0 : props.data) == null ? void 0 : _x.related_person) + } : {}, { + s: common_vendor.f((_y = props == null ? void 0 : props.data) == null ? void 0 : _y.emergency_images, (i, index, i0) => { + return { + a: i == null ? void 0 : i.url, + b: `item_${index}` + }; + }), + t: common_vendor.o(($event) => show.value = false), + v: common_vendor.p({ + label: "我已知晓", + type: "primary", + size: "large" + }), + w: common_vendor.o(onClose), + x: common_vendor.p({ + customStyle: {}, + overlayStyle: {}, + show: show.value, + mode: "center", + round: 20, + closeable: false + }) + }); + }; + } +}); +const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-bb598c7f"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/ME/emergency/show/components/ModalShow.vue"]]); +wx.createComponent(Component); diff --git a/dist/dev/mp-weixin/ME/emergency/show/components/ModalShow.json b/dist/dev/mp-weixin/ME/emergency/show/components/ModalShow.json new file mode 100644 index 0000000..1f96078 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/show/components/ModalShow.json @@ -0,0 +1,7 @@ +{ + "component": true, + "usingComponents": { + "hs-button": "../../../../components/hs-button/hs-button", + "up-popup": "../../../../node-modules/uview-plus/components/u-popup/u-popup" + } +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/emergency/show/components/ModalShow.wxml b/dist/dev/mp-weixin/ME/emergency/show/components/ModalShow.wxml new file mode 100644 index 0000000..6e19690 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/show/components/ModalShow.wxml @@ -0,0 +1 @@ + 查看变更前内容 {{b}}{{c}}/{{d}}所属项目: {{e}}提报时间: {{f}}事发地点: {{h}}事件描述: {{j}}事件原因: {{l}}造成结果: {{n}}补充信息: {{p}}关联人物: {{r}} 事件相关图片: \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/emergency/show/components/ModalShow.wxss b/dist/dev/mp-weixin/ME/emergency/show/components/ModalShow.wxss new file mode 100644 index 0000000..9780c79 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/show/components/ModalShow.wxss @@ -0,0 +1,15 @@ +.popup_content.data-v-bb598c7f { + width: 90vw; + padding: 10rpx 0 0 0; +} +.popup_content .emergency_card.data-v-bb598c7f { + padding: 0; +} +.modal_show_btn.data-v-bb598c7f { + color: #0082fa; + font-size: 26rpx; + padding: 10rpx 0 0 0; +} +.popup_footer.data-v-bb598c7f { + padding: 30rpx 30rpx 0rpx 30rpx; +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/emergency/show/components/ProcessLogs.js b/dist/dev/mp-weixin/ME/emergency/show/components/ProcessLogs.js new file mode 100644 index 0000000..9df0b80 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/show/components/ProcessLogs.js @@ -0,0 +1,75 @@ +"use strict"; +const common_vendor = require("../../../../common/vendor.js"); +const ME_emergency_show_model = require("../model.js"); +if (!Array) { + const _easycom_hs_empty2 = common_vendor.resolveComponent("hs-empty"); + const _easycom_up_steps_item2 = common_vendor.resolveComponent("up-steps-item"); + const _easycom_up_steps2 = common_vendor.resolveComponent("up-steps"); + (_easycom_hs_empty2 + _easycom_up_steps_item2 + _easycom_up_steps2)(); +} +const _easycom_hs_empty = () => "../../../../components/hs-empty/hs-empty.js"; +const _easycom_up_steps_item = () => "../../../../node-modules/uview-plus/components/u-steps-item/u-steps-item.js"; +const _easycom_up_steps = () => "../../../../node-modules/uview-plus/components/u-steps/u-steps.js"; +if (!Math) { + (_easycom_hs_empty + MyModalShow + _easycom_up_steps_item + _easycom_up_steps)(); +} +const MyModalShow = () => "./ModalShow.js"; +const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ + __name: "ProcessLogs", + setup(__props) { + const handlePreview = (index, list) => { + common_vendor.index.previewImage({ + urls: list == null ? void 0 : list.map((i) => (i == null ? void 0 : i.url) || ""), + current: index + }); + }; + return (_ctx, _cache) => { + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k; + return common_vendor.e({ + a: !((_c = (_b = (_a = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _a.logsData) == null ? void 0 : _b.value) == null ? void 0 : _c.length) + }, !((_f = (_e = (_d = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _d.logsData) == null ? void 0 : _e.value) == null ? void 0 : _f.length) ? { + b: common_vendor.p({ + height: "20vh" + }) + } : {}, { + c: common_vendor.f((_h = (_g = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _g.logsData) == null ? void 0 : _h.value, (i, index, i0) => { + return common_vendor.e({ + a: common_vendor.t(i == null ? void 0 : i.node_name), + b: (i == null ? void 0 : i.content) || (i == null ? void 0 : i.handled_result) + }, (i == null ? void 0 : i.content) || (i == null ? void 0 : i.handled_result) ? { + c: common_vendor.t((i == null ? void 0 : i.content) || (i == null ? void 0 : i.handled_result) || "-") + } : {}, { + d: i == null ? void 0 : i.introspection + }, (i == null ? void 0 : i.introspection) ? { + e: common_vendor.t(i == null ? void 0 : i.introspection) + } : {}, { + f: i == null ? void 0 : i.old_data + }, (i == null ? void 0 : i.old_data) ? { + g: "37b5e05d-3-" + i0 + "," + ("37b5e05d-2-" + i0), + h: common_vendor.p({ + data: i == null ? void 0 : i.old_data + }) + } : {}, { + i: common_vendor.f(i == null ? void 0 : i.attachments, (k, index2, i1) => { + return { + a: k == null ? void 0 : k.url, + b: `attachment_${index2}`, + c: common_vendor.o(($event) => handlePreview(index2, i == null ? void 0 : i.attachments), `attachment_${index2}`) + }; + }), + j: common_vendor.t(i == null ? void 0 : i.created_at), + k: `log_item_${index}`, + l: "37b5e05d-2-" + i0 + ",37b5e05d-1" + }); + }), + d: common_vendor.p({ + direction: "column", + dot: true, + current: ((_k = (_j = (_i = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _i.logsData) == null ? void 0 : _j.value) == null ? void 0 : _k.length) - 1 + }) + }); + }; + } +}); +const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-37b5e05d"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/ME/emergency/show/components/ProcessLogs.vue"]]); +wx.createComponent(Component); diff --git a/dist/dev/mp-weixin/ME/emergency/show/components/ProcessLogs.json b/dist/dev/mp-weixin/ME/emergency/show/components/ProcessLogs.json new file mode 100644 index 0000000..98ea4e6 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/show/components/ProcessLogs.json @@ -0,0 +1,9 @@ +{ + "component": true, + "usingComponents": { + "hs-empty": "../../../../components/hs-empty/hs-empty", + "up-steps-item": "../../../../node-modules/uview-plus/components/u-steps-item/u-steps-item", + "up-steps": "../../../../node-modules/uview-plus/components/u-steps/u-steps", + "my-modal-show": "./ModalShow" + } +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/emergency/show/components/ProcessLogs.wxml b/dist/dev/mp-weixin/ME/emergency/show/components/ProcessLogs.wxml new file mode 100644 index 0000000..475e398 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/show/components/ProcessLogs.wxml @@ -0,0 +1 @@ + 跟进记录 {{i.a}} 内容:{{i.c}} 总结与反思:{{i.e}}{{i.j}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/emergency/show/components/ProcessLogs.wxss b/dist/dev/mp-weixin/ME/emergency/show/components/ProcessLogs.wxss new file mode 100644 index 0000000..16697de --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/show/components/ProcessLogs.wxss @@ -0,0 +1,33 @@ +.desc_title.data-v-37b5e05d { + color: #333333; + font-size: 28rpx; + display: flex; + align-items: center; + justify-content: space-between; +} +.desc_content.data-v-37b5e05d { + color: #666; + font-size: 28rpx; + padding: 10rpx 0 0 0; +} +.attachments.data-v-37b5e05d { + display: flex; + align-items: center; + flex-wrap: wrap; + padding: 20rpx 0 0 0; +} +.attachments .attachment_item.data-v-37b5e05d { + width: 80rpx; + height: 80rpx; + overflow: hidden; + padding-right: 10rpx; +} +.attachments image.data-v-37b5e05d { + width: 100%; + height: 100%; +} +.created_at.data-v-37b5e05d { + padding: 10rpx 0 30rpx 0; + color: #999; + font-size: 24rpx; +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/emergency/show/index.js b/dist/dev/mp-weixin/ME/emergency/show/index.js new file mode 100644 index 0000000..8647946 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/show/index.js @@ -0,0 +1,138 @@ +"use strict"; +const common_vendor = require("../../../common/vendor.js"); +const ME_emergency_show_model = require("./model.js"); +const ME_emergency_show_method = require("./method.js"); +const gen_Enums = require("../../../gen/Enums.js"); +require("../../../common/libraries/apiLoading.js"); +require("../../../gen/Apis.js"); +require("../../../common/libraries/request.js"); +require("../../../common/store/useWeAppAuthStore.js"); +require("../../../common/store/useWatermarkStore.js"); +require("../../../common/store/useWorkStore.js"); +if (!Array) { + const _easycom_hs_enum_tag2 = common_vendor.resolveComponent("hs-enum-tag"); + const _easycom_cc_scroll_loading2 = common_vendor.resolveComponent("cc-scroll-loading"); + const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons"); + const _easycom_hs_footer2 = common_vendor.resolveComponent("hs-footer"); + (_easycom_hs_enum_tag2 + _easycom_cc_scroll_loading2 + _easycom_uni_icons2 + _easycom_hs_footer2)(); +} +const _easycom_hs_enum_tag = () => "../../../components/hs-enum-tag/hs-enum-tag.js"; +const _easycom_cc_scroll_loading = () => "../../../common/components/cc-scroll-loading/cc-scroll-loading.js"; +const _easycom_uni_icons = () => "../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"; +const _easycom_hs_footer = () => "../../../components/hs-footer/hs-footer.js"; +if (!Math) { + (_easycom_hs_enum_tag + MyProcessLogs + _easycom_cc_scroll_loading + _easycom_uni_icons + _easycom_hs_footer)(); +} +const MyProcessLogs = () => "./components/ProcessLogs.js"; +const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ + __name: "index", + setup(__props) { + common_vendor.onLoad((e) => { + var _a; + ME_emergency_show_model.useModel.logsData.value = []; + ME_emergency_show_model.useModel.formData.value = { id: e == null ? void 0 : e.id }; + (_a = ME_emergency_show_method.method) == null ? void 0 : _a.getShow(); + }); + common_vendor.onShow(() => { + var _a, _b, _c, _d; + if ((_c = (_b = (_a = ME_emergency_show_model.useModel) == null ? void 0 : _a.showData) == null ? void 0 : _b.value) == null ? void 0 : _c.id) { + ME_emergency_show_model.useModel.logsData.value = []; + ME_emergency_show_model.useModel.formDataLogs.value.page = 1; + (_d = ME_emergency_show_method.method) == null ? void 0 : _d.getShow(); + } + }); + common_vendor.onUnload(() => { + ME_emergency_show_model.useModel.showData.value = {}; + ME_emergency_show_model.useModel.formData.value = {}; + ME_emergency_show_model.useModel.metaData.value = {}; + ME_emergency_show_model.useModel.logsData.value = []; + ME_emergency_show_model.useModel.formDataLogs.value = {}; + }); + return (_ctx, _cache) => { + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na, _oa, _pa, _qa, _ra, _sa, _ta, _ua, _va, _wa, _xa, _ya, _za, _Aa, _Ba, _Ca, _Da, _Ea, _Fa, _Ga, _Ha, _Ia, _Ja, _Ka, _La, _Ma, _Na, _Oa, _Pa, _Qa, _Ra, _Sa, _Ta, _Ua, _Va, _Wa; + return common_vendor.e({ + a: common_vendor.t((_c = (_b = (_a = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _a.showData) == null ? void 0 : _b.value) == null ? void 0 : _c.emergency_event_levels_name), + b: common_vendor.p({ + value: (_f = (_e = (_d = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _d.showData) == null ? void 0 : _e.value) == null ? void 0 : _f.status, + Enums: common_vendor.unref(gen_Enums.EmergencyEventsStatusEnum) + }), + c: common_vendor.n(`status status_${(_i = (_h = (_g = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _g.showData) == null ? void 0 : _h.value) == null ? void 0 : _i.status}`), + d: common_vendor.t((_l = (_k = (_j = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _j.showData) == null ? void 0 : _k.value) == null ? void 0 : _l.name), + e: common_vendor.t((_o = (_n = (_m = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _m.showData) == null ? void 0 : _n.value) == null ? void 0 : _o.one_emergency_categories_name), + f: common_vendor.t((_r = (_q = (_p = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _p.showData) == null ? void 0 : _q.value) == null ? void 0 : _r.two_emergency_categories_name), + g: common_vendor.t(((_v = (_u = (_t = (_s = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _s.showData) == null ? void 0 : _t.value) == null ? void 0 : _u.asset_project) == null ? void 0 : _v.name) || ""), + h: common_vendor.t(((_y = (_x = (_w = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _w.showData) == null ? void 0 : _x.value) == null ? void 0 : _y.created_at) || ""), + i: (_B = (_A = (_z = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _z.showData) == null ? void 0 : _A.value) == null ? void 0 : _B.emergency_location + }, ((_E = (_D = (_C = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _C.showData) == null ? void 0 : _D.value) == null ? void 0 : _E.emergency_location) ? { + j: common_vendor.t((_H = (_G = (_F = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _F.showData) == null ? void 0 : _G.value) == null ? void 0 : _H.emergency_location) + } : {}, { + k: (_K = (_J = (_I = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _I.showData) == null ? void 0 : _J.value) == null ? void 0 : _K.emergency_description + }, ((_N = (_M = (_L = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _L.showData) == null ? void 0 : _M.value) == null ? void 0 : _N.emergency_description) ? { + l: common_vendor.t((_Q = (_P = (_O = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _O.showData) == null ? void 0 : _P.value) == null ? void 0 : _Q.emergency_description) + } : {}, { + m: (_T = (_S = (_R = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _R.showData) == null ? void 0 : _S.value) == null ? void 0 : _T.emergency_cause + }, ((_W = (_V = (_U = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _U.showData) == null ? void 0 : _V.value) == null ? void 0 : _W.emergency_cause) ? { + n: common_vendor.t((_Z = (_Y = (_X = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _X.showData) == null ? void 0 : _Y.value) == null ? void 0 : _Z.emergency_cause) + } : {}, { + o: (_aa = (_$ = (__ = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : __.showData) == null ? void 0 : _$.value) == null ? void 0 : _aa.cause_result + }, ((_da = (_ca = (_ba = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _ba.showData) == null ? void 0 : _ca.value) == null ? void 0 : _da.cause_result) ? { + p: common_vendor.t((_ga = (_fa = (_ea = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _ea.showData) == null ? void 0 : _fa.value) == null ? void 0 : _ga.cause_result) + } : {}, { + q: (_ja = (_ia = (_ha = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _ha.showData) == null ? void 0 : _ia.value) == null ? void 0 : _ja.supplement + }, ((_ma = (_la = (_ka = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _ka.showData) == null ? void 0 : _la.value) == null ? void 0 : _ma.supplement) ? { + r: common_vendor.t((_pa = (_oa = (_na = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _na.showData) == null ? void 0 : _oa.value) == null ? void 0 : _pa.supplement) + } : {}, { + s: (_sa = (_ra = (_qa = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _qa.showData) == null ? void 0 : _ra.value) == null ? void 0 : _sa.related_person + }, ((_va = (_ua = (_ta = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _ta.showData) == null ? void 0 : _ua.value) == null ? void 0 : _va.related_person) ? { + t: common_vendor.t((_ya = (_xa = (_wa = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _wa.showData) == null ? void 0 : _xa.value) == null ? void 0 : _ya.related_person) + } : {}, { + v: common_vendor.f((_Ba = (_Aa = (_za = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _za.showData) == null ? void 0 : _Aa.value) == null ? void 0 : _Ba.emergency_images, (i, index, i0) => { + return { + a: i == null ? void 0 : i.url, + b: `item_${index}`, + c: common_vendor.o(($event) => { + var _a2; + return (_a2 = common_vendor.unref(ME_emergency_show_method.method)) == null ? void 0 : _a2.handlePreview(index); + }, `item_${index}`) + }; + }), + w: common_vendor.o((_Ca = common_vendor.unref(ME_emergency_show_method.method)) == null ? void 0 : _Ca.handleLoad), + x: common_vendor.p({ + meta: (_Ea = (_Da = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _Da.metaData) == null ? void 0 : _Ea.value, + emptyShow: false + }), + y: ((_Ha = (_Ga = (_Fa = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _Fa.showData) == null ? void 0 : _Ga.value) == null ? void 0 : _Ha.status) === "PendingFollowUp" || ((_Ka = (_Ja = (_Ia = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _Ia.showData) == null ? void 0 : _Ja.value) == null ? void 0 : _Ka.status) === "InProgress" + }, ((_Na = (_Ma = (_La = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _La.showData) == null ? void 0 : _Ma.value) == null ? void 0 : _Na.status) === "PendingFollowUp" || ((_Qa = (_Pa = (_Oa = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _Oa.showData) == null ? void 0 : _Pa.value) == null ? void 0 : _Qa.status) === "InProgress" ? { + z: common_vendor.p({ + type: "compose", + size: "24" + }), + A: common_vendor.o( + //@ts-ignore + (...args) => { + var _a2, _b2; + return ((_a2 = common_vendor.unref(ME_emergency_show_method.method)) == null ? void 0 : _a2.handleUpdateFollow) && ((_b2 = common_vendor.unref(ME_emergency_show_method.method)) == null ? void 0 : _b2.handleUpdateFollow(...args)); + } + ), + B: common_vendor.o( + //@ts-ignore + (...args) => { + var _a2, _b2; + return ((_a2 = common_vendor.unref(ME_emergency_show_method.method)) == null ? void 0 : _a2.handleClose) && ((_b2 = common_vendor.unref(ME_emergency_show_method.method)) == null ? void 0 : _b2.handleClose(...args)); + } + ), + C: common_vendor.o( + //@ts-ignore + (...args) => { + var _a2, _b2; + return ((_a2 = common_vendor.unref(ME_emergency_show_method.method)) == null ? void 0 : _a2.handleUpdate) && ((_b2 = common_vendor.unref(ME_emergency_show_method.method)) == null ? void 0 : _b2.handleUpdate(...args)); + } + ) + } : {}, { + D: common_vendor.n(((_Ta = (_Sa = (_Ra = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _Ra.showData) == null ? void 0 : _Sa.value) == null ? void 0 : _Ta.status) === "PendingFollowUp" || ((_Wa = (_Va = (_Ua = common_vendor.unref(ME_emergency_show_model.useModel)) == null ? void 0 : _Ua.showData) == null ? void 0 : _Va.value) == null ? void 0 : _Wa.status) === "InProgress" ? "emergency_show" : "") + }); + }; + } +}); +const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/ME/emergency/show/index.vue"]]); +wx.createPage(MiniProgramPage); diff --git a/dist/dev/mp-weixin/ME/emergency/show/index.json b/dist/dev/mp-weixin/ME/emergency/show/index.json new file mode 100644 index 0000000..e005f6f --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/show/index.json @@ -0,0 +1,10 @@ +{ + "navigationBarTitleText": "突发事件详情", + "usingComponents": { + "hs-enum-tag": "../../../components/hs-enum-tag/hs-enum-tag", + "cc-scroll-loading": "../../../common/components/cc-scroll-loading/cc-scroll-loading", + "uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons", + "hs-footer": "../../../components/hs-footer/hs-footer", + "my-process-logs": "./components/ProcessLogs" + } +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/emergency/show/index.wxml b/dist/dev/mp-weixin/ME/emergency/show/index.wxml new file mode 100644 index 0000000..53577b4 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/show/index.wxml @@ -0,0 +1 @@ +{{a}}{{d}}{{e}}/{{f}}所属项目: {{g}}提报时间: {{h}}事发地点: {{j}}事件描述: {{l}}事件原因: {{n}}造成结果: {{p}}补充信息: {{r}}关联人物: {{t}} 事件相关图片: 事件变更 申请关闭 更新进度 \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/emergency/show/index.wxss b/dist/dev/mp-weixin/ME/emergency/show/index.wxss new file mode 100644 index 0000000..5135b77 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/show/index.wxss @@ -0,0 +1,120 @@ +page { + background-color: #f8f8f8; +} +.emergency_show { + padding-bottom: calc(130rpx + constant(safe-area-inset-bottom)); + padding-bottom: calc(130rpx + env(safe-area-inset-bottom)); +} +.emergency_card { + margin: 30rpx 30rpx 0 30rpx; + background-color: #fff; + border-radius: 20rpx; + padding: 0 30rpx; +} +.emergency_card .emergency_item_head { + display: flex; + align-items: center; + justify-content: space-between; + padding: 30rpx 0; +} +.emergency_card .emergency_item_head .level { + background-color: #ffdcdc; + color: #ef4444; + font-size: 24rpx; + min-width: 60rpx; + padding: 6rpx 15rpx; + font-weight: 500; + text-align: center; + border-radius: 100rpx; +} +.emergency_card .emergency_item_head .status { + background-color: #edf4ff; + color: #0082fa; + font-size: 24rpx; + font-weight: 500; + padding: 8rpx 20rpx; + border-radius: 100rpx; +} +.emergency_card .emergency_item_head .status_Closed { + background-color: #f3f3f4; + color: #909399; +} +.emergency_card .emergency_item_head .status_InProgress { + background-color: #fff9e6; + color: #ff9900; +} +.emergency_card .emergency_content { + font-size: 28rpx; + font-weight: 600; +} +.emergency_card .emergency_cell { + color: #666666; + font-size: 28rpx; + line-height: 36rpx; + padding-top: 20rpx; +} +.emergency_card .emergency_cell text { + color: #000; +} +.emergency_card .emergency_label { + color: #333333; + font-size: 28rpx; + padding: 25rpx 0 20rpx 0; +} +.emergency_card .emergency_images_content { + display: flex; + align-items: center; + flex-wrap: wrap; + padding-bottom: 25rpx; +} +.emergency_card .emergency_images_content .emergency_images_item { + width: 120rpx; + height: 120rpx; + overflow: hidden; + padding-right: 10rpx; +} +.emergency_card .emergency_images_content .emergency_images_item image { + width: 100%; + height: 100%; +} +.emergency_card_title { + font-size: 28rpx; + padding: 30rpx 0; + font-weight: 500; +} +.footer_page { + display: flex; + align-items: center; + justify-content: space-between; +} +.footer_page .update_btn { + text-align: center; + color: #3d3d3d; + font-size: 22rpx; + padding-right: 30rpx; +} +.footer_group_btn { + display: flex; + align-items: center; + justify-content: space-between; + font-size: 28rpx; + flex: 1; +} +.footer_group_btn .btn { + color: #333333; + background-color: #f3f3f4; + border-radius: 100rpx; + height: 88rpx; + line-height: 88rpx; + width: 50%; + text-align: center; + padding: 0 30rpx; +} +.footer_group_btn .btn:last-child { + margin-left: 30rpx; + background-color: #0082fa; + color: #fff; +} +.process_logs { + padding: 0 30rpx; +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/emergency/show/method.js b/dist/dev/mp-weixin/ME/emergency/show/method.js new file mode 100644 index 0000000..76bee1f --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/show/method.js @@ -0,0 +1,58 @@ +"use strict"; +const common_vendor = require("../../../common/vendor.js"); +const ME_emergency_show_model = require("./model.js"); +const common_libraries_apiLoading = require("../../../common/libraries/apiLoading.js"); +const gen_Apis = require("../../../gen/Apis.js"); +const getShow = () => { + var _a, _b; + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Emergency.EmergencyEvents.Show, (_b = (_a = ME_emergency_show_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value).then((res) => { + var _a2; + ME_emergency_show_model.useModel.showData.value = res == null ? void 0 : res.data; + ME_emergency_show_model.useModel.formDataLogs.value = { emergency_events_id: (_a2 = res == null ? void 0 : res.data) == null ? void 0 : _a2.id, page: 1 }; + getLogs(); + }); +}; +const getLogs = () => { + var _a, _b; + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Emergency.EmergencyEventFollows.List, (_b = (_a = ME_emergency_show_model.useModel) == null ? void 0 : _a.formDataLogs) == null ? void 0 : _b.value).then( + (res) => { + var _a2, _b2; + ME_emergency_show_model.useModel.logsData.value = [...(_b2 = (_a2 = ME_emergency_show_model.useModel) == null ? void 0 : _a2.logsData) == null ? void 0 : _b2.value, ...res == null ? void 0 : res.data]; + ME_emergency_show_model.useModel.metaData.value = res == null ? void 0 : res.meta; + } + ); +}; +const method = { + getShow, + handlePreview(index) { + var _a, _b, _c, _d; + common_vendor.index.previewImage({ + urls: (_d = (_c = (_b = (_a = ME_emergency_show_model.useModel) == null ? void 0 : _a.showData) == null ? void 0 : _b.value) == null ? void 0 : _c.emergency_images) == null ? void 0 : _d.map((i) => (i == null ? void 0 : i.url) || ""), + current: index + }); + }, + handleLoad(page) { + console.log(page); + ME_emergency_show_model.useModel.formDataLogs.value.page = page; + getLogs(); + }, + handleClose() { + var _a, _b, _c; + common_vendor.index.navigateTo({ + url: `/ME/emergency/update/index?id=${(_c = (_b = (_a = ME_emergency_show_model.useModel) == null ? void 0 : _a.showData) == null ? void 0 : _b.value) == null ? void 0 : _c.id}&type=申请关闭` + }); + }, + handleUpdate() { + var _a, _b, _c; + common_vendor.index.navigateTo({ + url: `/ME/emergency/update/index?id=${(_c = (_b = (_a = ME_emergency_show_model.useModel) == null ? void 0 : _a.showData) == null ? void 0 : _b.value) == null ? void 0 : _c.id}&type=更新进度` + }); + }, + handleUpdateFollow() { + var _a, _b, _c; + common_vendor.index.navigateTo({ + url: `/ME/emergency/change/index?id=${(_c = (_b = (_a = ME_emergency_show_model.useModel) == null ? void 0 : _a.showData) == null ? void 0 : _b.value) == null ? void 0 : _c.id}` + }); + } +}; +exports.method = method; diff --git a/dist/dev/mp-weixin/ME/emergency/show/model.js b/dist/dev/mp-weixin/ME/emergency/show/model.js new file mode 100644 index 0000000..59e65df --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/show/model.js @@ -0,0 +1,11 @@ +"use strict"; +const common_vendor = require("../../../common/vendor.js"); +const useModel = { + currentTabs: common_vendor.ref(0), + formData: common_vendor.ref({}), + formDataLogs: common_vendor.ref({ page: 1, emergency_events_id: "" }), + showData: common_vendor.ref([]), + logsData: common_vendor.ref([]), + metaData: common_vendor.ref({}) +}; +exports.useModel = useModel; diff --git a/dist/dev/mp-weixin/ME/emergency/update/index.js b/dist/dev/mp-weixin/ME/emergency/update/index.js new file mode 100644 index 0000000..4294607 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/update/index.js @@ -0,0 +1,83 @@ +"use strict"; +const common_vendor = require("../../../common/vendor.js"); +const ME_emergency_update_model = require("./model.js"); +const ME_emergency_update_method = require("./method.js"); +require("../../../common/libraries/request.js"); +require("../../../common/store/useWeAppAuthStore.js"); +require("../../../gen/Apis.js"); +require("../../../common/store/useWatermarkStore.js"); +require("../../../common/store/useWorkStore.js"); +require("../../../common/libraries/apiLoading.js"); +require("../../../common/libraries/naviHelper.js"); +if (!Array) { + const _easycom_hs_cell_textarea2 = common_vendor.resolveComponent("hs-cell-textarea"); + const _easycom_hs_upload2 = common_vendor.resolveComponent("hs-upload"); + const _easycom_hs_footer2 = common_vendor.resolveComponent("hs-footer"); + (_easycom_hs_cell_textarea2 + _easycom_hs_upload2 + _easycom_hs_footer2)(); +} +const _easycom_hs_cell_textarea = () => "../../../components/hs-cell-textarea/hs-cell-textarea.js"; +const _easycom_hs_upload = () => "../../../components/hs-upload/hs-upload.js"; +const _easycom_hs_footer = () => "../../../components/hs-footer/hs-footer.js"; +if (!Math) { + (_easycom_hs_cell_textarea + _easycom_hs_upload + _easycom_hs_footer)(); +} +const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ + __name: "index", + setup(__props) { + common_vendor.onLoad((e) => { + ME_emergency_update_model.useModel.formData.value = { type: e == null ? void 0 : e.type, id: e == null ? void 0 : e.id, emergency_events_id: e == null ? void 0 : e.id }; + common_vendor.index.setNavigationBarTitle({ + title: e == null ? void 0 : e.type + }); + }); + common_vendor.onShow(() => { + var _a; + (_a = ME_emergency_update_method.method) == null ? void 0 : _a.init(); + }); + return (_ctx, _cache) => { + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m; + return common_vendor.e({ + a: ((_c = (_b = (_a = common_vendor.unref(ME_emergency_update_model.useModel)) == null ? void 0 : _a.formData) == null ? void 0 : _b.value) == null ? void 0 : _c.type) === "申请关闭" + }, ((_f = (_e = (_d = common_vendor.unref(ME_emergency_update_model.useModel)) == null ? void 0 : _d.formData) == null ? void 0 : _e.value) == null ? void 0 : _f.type) === "申请关闭" ? { + b: common_vendor.o(($event) => common_vendor.unref(ME_emergency_update_model.useModel).formData.value.handled_result = $event), + c: common_vendor.p({ + required: true, + title: "处理结果", + placeholder: "请输入处理结果", + valueModel: common_vendor.unref(ME_emergency_update_model.useModel).formData.value.handled_result + }), + d: common_vendor.o(($event) => common_vendor.unref(ME_emergency_update_model.useModel).formData.value.introspection = $event), + e: common_vendor.p({ + borderTop: true, + title: "反思与总结", + placeholder: "请输入反思与总结", + valueModel: common_vendor.unref(ME_emergency_update_model.useModel).formData.value.introspection + }) + } : {}, { + f: ((_i = (_h = (_g = common_vendor.unref(ME_emergency_update_model.useModel)) == null ? void 0 : _g.formData) == null ? void 0 : _h.value) == null ? void 0 : _i.type) === "更新进度" + }, ((_l = (_k = (_j = common_vendor.unref(ME_emergency_update_model.useModel)) == null ? void 0 : _j.formData) == null ? void 0 : _k.value) == null ? void 0 : _l.type) === "更新进度" ? { + g: common_vendor.o(($event) => common_vendor.unref(ME_emergency_update_model.useModel).formData.value.content = $event), + h: common_vendor.p({ + required: true, + title: "跟进内容", + placeholder: "请输入跟进内容", + valueModel: common_vendor.unref(ME_emergency_update_model.useModel).formData.value.content + }), + i: common_vendor.o(($event) => common_vendor.unref(ME_emergency_update_model.useModel).formData.value.attachments = $event), + j: common_vendor.p({ + title: "上传图片", + count: 10, + borderTop: true, + valueModel: common_vendor.unref(ME_emergency_update_model.useModel).formData.value.attachments + }) + } : {}, { + k: common_vendor.o((_m = common_vendor.unref(ME_emergency_update_method.method)) == null ? void 0 : _m.handleSubmit), + l: common_vendor.p({ + btnParimaryName: "提交" + }) + }); + }; + } +}); +const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/ME/emergency/update/index.vue"]]); +wx.createPage(MiniProgramPage); diff --git a/dist/dev/mp-weixin/ME/emergency/update/index.json b/dist/dev/mp-weixin/ME/emergency/update/index.json new file mode 100644 index 0000000..d37b96e --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/update/index.json @@ -0,0 +1,8 @@ +{ + "navigationBarTitleText": "更新进度", + "usingComponents": { + "hs-cell-textarea": "../../../components/hs-cell-textarea/hs-cell-textarea", + "hs-upload": "../../../components/hs-upload/hs-upload", + "hs-footer": "../../../components/hs-footer/hs-footer" + } +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/emergency/update/index.wxml b/dist/dev/mp-weixin/ME/emergency/update/index.wxml new file mode 100644 index 0000000..1105323 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/update/index.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/emergency/update/index.wxss b/dist/dev/mp-weixin/ME/emergency/update/index.wxss new file mode 100644 index 0000000..004cdc4 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/update/index.wxss @@ -0,0 +1,7 @@ +page { + background-color: #f8f8f8; +} +.emergency_add_page { + padding-bottom: calc(130rpx + constant(safe-area-inset-bottom)); + padding-bottom: calc(130rpx + env(safe-area-inset-bottom)); +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/emergency/update/method.js b/dist/dev/mp-weixin/ME/emergency/update/method.js new file mode 100644 index 0000000..bd27fff --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/update/method.js @@ -0,0 +1,72 @@ +"use strict"; +const common_vendor = require("../../../common/vendor.js"); +const ME_emergency_update_model = require("./model.js"); +require("../../../common/libraries/request.js"); +require("../../../common/store/useWatermarkStore.js"); +require("../../../common/store/useWeAppAuthStore.js"); +const common_store_useWorkStore = require("../../../common/store/useWorkStore.js"); +const common_libraries_apiLoading = require("../../../common/libraries/apiLoading.js"); +const gen_Apis = require("../../../gen/Apis.js"); +const common_libraries_naviHelper = require("../../../common/libraries/naviHelper.js"); +const work = common_store_useWorkStore.useWorkStore(); +const getList = () => { + var _a, _b; + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.WorkOrder.HouseWorkOrders.List, (_b = (_a = ME_emergency_update_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value).then((res) => { + ME_emergency_update_model.useModel.listData.value = [...ME_emergency_update_model.useModel.listData.value, ...res == null ? void 0 : res.data]; + ME_emergency_update_model.useModel.metaData.value = res == null ? void 0 : res.meta; + }); +}; +const method = { + getList, + init() { + var _a, _b, _c, _d, _e; + console.log("init", work == null ? void 0 : work.selectWorkProject); + if ((_a = work == null ? void 0 : work.selectWorkProject) == null ? void 0 : _a.id) { + ME_emergency_update_model.useModel.formData.value = { + ...(_c = (_b = ME_emergency_update_model.useModel) == null ? void 0 : _b.formData) == null ? void 0 : _c.value, + project_name: (_d = work == null ? void 0 : work.selectWorkProject) == null ? void 0 : _d.name, + asset_projects_id: (_e = work == null ? void 0 : work.selectWorkProject) == null ? void 0 : _e.id + }; + } + }, + handleSubmit() { + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j; + let data = (_b = (_a = ME_emergency_update_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value; + if (((_e = (_d = (_c = ME_emergency_update_model.useModel) == null ? void 0 : _c.formData) == null ? void 0 : _d.value) == null ? void 0 : _e.type) === "申请关闭") { + if (!(data == null ? void 0 : data.handled_result)) { + return common_libraries_naviHelper.showToast("请输入处理结果!"); + } + common_vendor.index.showModal({ + title: "提示", + content: "确定要申请关闭?", + success: function(res) { + var _a2, _b2; + if (res.confirm) { + common_libraries_apiLoading.getApiLoading( + gen_Apis.Apis.Emergency.EmergencyEvents.ApplyClose, + (_b2 = (_a2 = ME_emergency_update_model.useModel) == null ? void 0 : _a2.formData) == null ? void 0 : _b2.value + ).then((res2) => { + common_libraries_naviHelper.showToastBack("提交成功!", 1, true); + console.log(res2); + }); + console.log("用户点击确定"); + } else if (res.cancel) { + console.log("用户点击取消"); + } + } + }); + } + if (((_h = (_g = (_f = ME_emergency_update_model.useModel) == null ? void 0 : _f.formData) == null ? void 0 : _g.value) == null ? void 0 : _h.type) === "更新进度") { + if (!(data == null ? void 0 : data.content)) { + return common_libraries_naviHelper.showToast("请输入跟进内容!"); + } + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Emergency.EmergencyEventFollows.Store, (_j = (_i = ME_emergency_update_model.useModel) == null ? void 0 : _i.formData) == null ? void 0 : _j.value).then( + (res) => { + common_libraries_naviHelper.showToastBack("提交成功!", 1, true); + console.log(res); + } + ); + } + } +}; +exports.method = method; diff --git a/dist/dev/mp-weixin/ME/emergency/update/model.js b/dist/dev/mp-weixin/ME/emergency/update/model.js new file mode 100644 index 0000000..3b42193 --- /dev/null +++ b/dist/dev/mp-weixin/ME/emergency/update/model.js @@ -0,0 +1,9 @@ +"use strict"; +const common_vendor = require("../../../common/vendor.js"); +const useModel = { + currentTabs: common_vendor.ref(0), + formData: common_vendor.ref({}), + listData: common_vendor.ref([]), + metaData: common_vendor.ref({}) +}; +exports.useModel = useModel; diff --git a/dist/dev/mp-weixin/ME/instrument/add/index.js b/dist/dev/mp-weixin/ME/instrument/add/index.js index d6ca28f..6e78f81 100644 --- a/dist/dev/mp-weixin/ME/instrument/add/index.js +++ b/dist/dev/mp-weixin/ME/instrument/add/index.js @@ -34,39 +34,43 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ ME_instrument_add_model.useModel.formData.value = { is_anonymous: false }; }); return (_ctx, _cache) => { - var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y; + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K; return common_vendor.e({ a: ((_c = (_b = (_a = common_vendor.unref(ME_instrument_add_model.useModel)) == null ? void 0 : _a.showData) == null ? void 0 : _b.value) == null ? void 0 : _c.usage_type) === "WaterMeter" }, ((_f = (_e = (_d = common_vendor.unref(ME_instrument_add_model.useModel)) == null ? void 0 : _d.showData) == null ? void 0 : _e.value) == null ? void 0 : _f.usage_type) === "WaterMeter" ? {} : {}, { b: ((_i = (_h = (_g = common_vendor.unref(ME_instrument_add_model.useModel)) == null ? void 0 : _g.showData) == null ? void 0 : _h.value) == null ? void 0 : _i.usage_type) === "ElectricMeter" }, ((_l = (_k = (_j = common_vendor.unref(ME_instrument_add_model.useModel)) == null ? void 0 : _j.showData) == null ? void 0 : _k.value) == null ? void 0 : _l.usage_type) === "ElectricMeter" ? {} : {}, { - c: common_vendor.f((_o = (_n = (_m = common_vendor.unref(ME_instrument_add_model.useModel)) == null ? void 0 : _m.showData) == null ? void 0 : _n.value) == null ? void 0 : _o.house_meter_has_houses, (res, index, i0) => { + c: ((_o = (_n = (_m = common_vendor.unref(ME_instrument_add_model.useModel)) == null ? void 0 : _m.showData) == null ? void 0 : _n.value) == null ? void 0 : _o.usage_type) === "GasMeter" + }, ((_r = (_q = (_p = common_vendor.unref(ME_instrument_add_model.useModel)) == null ? void 0 : _p.showData) == null ? void 0 : _q.value) == null ? void 0 : _r.usage_type) === "GasMeter" ? {} : {}, { + d: ((_u = (_t = (_s = common_vendor.unref(ME_instrument_add_model.useModel)) == null ? void 0 : _s.showData) == null ? void 0 : _t.value) == null ? void 0 : _u.usage_type) === "HeatingMeter" + }, ((_x = (_w = (_v = common_vendor.unref(ME_instrument_add_model.useModel)) == null ? void 0 : _v.showData) == null ? void 0 : _w.value) == null ? void 0 : _x.usage_type) === "HeatingMeter" ? {} : {}, { + e: common_vendor.f((_A = (_z = (_y = common_vendor.unref(ME_instrument_add_model.useModel)) == null ? void 0 : _y.showData) == null ? void 0 : _z.value) == null ? void 0 : _A.house_meter_has_houses, (res, index, i0) => { return { a: common_vendor.t(res == null ? void 0 : res.full_name), b: `house_${index}` }; }), - d: common_vendor.t(((_r = (_q = (_p = common_vendor.unref(ME_instrument_add_model.useModel)) == null ? void 0 : _p.showData) == null ? void 0 : _q.value) == null ? void 0 : _r.name) || "-"), - e: common_vendor.t(((_u = (_t = (_s = common_vendor.unref(ME_instrument_add_model.useModel)) == null ? void 0 : _s.showData) == null ? void 0 : _t.value) == null ? void 0 : _u.latest_value) || "-"), - f: common_vendor.t(common_vendor.unref(common_libraries_day.showDay)((_x = (_w = (_v = common_vendor.unref(ME_instrument_add_model.useModel)) == null ? void 0 : _v.showData) == null ? void 0 : _w.value) == null ? void 0 : _x.latest_time)), - g: common_vendor.t(common_vendor.unref(common_libraries_day.getDay)()), - h: common_vendor.unref(ME_instrument_add_model.useModel).formData.value.current_reading, - i: common_vendor.o(($event) => common_vendor.unref(ME_instrument_add_model.useModel).formData.value.current_reading = $event.detail.value), - j: common_vendor.o(($event) => common_vendor.unref(ME_instrument_add_model.useModel).formData.value.image = $event), - k: common_vendor.p({ + f: common_vendor.t(((_D = (_C = (_B = common_vendor.unref(ME_instrument_add_model.useModel)) == null ? void 0 : _B.showData) == null ? void 0 : _C.value) == null ? void 0 : _D.name) || "-"), + g: common_vendor.t(((_G = (_F = (_E = common_vendor.unref(ME_instrument_add_model.useModel)) == null ? void 0 : _E.showData) == null ? void 0 : _F.value) == null ? void 0 : _G.latest_value) || "-"), + h: common_vendor.t(common_vendor.unref(common_libraries_day.showDay)((_J = (_I = (_H = common_vendor.unref(ME_instrument_add_model.useModel)) == null ? void 0 : _H.showData) == null ? void 0 : _I.value) == null ? void 0 : _J.latest_time)), + i: common_vendor.t(common_vendor.unref(common_libraries_day.getDay)()), + j: common_vendor.unref(ME_instrument_add_model.useModel).formData.value.current_reading, + k: common_vendor.o(($event) => common_vendor.unref(ME_instrument_add_model.useModel).formData.value.current_reading = $event.detail.value), + l: common_vendor.o(($event) => common_vendor.unref(ME_instrument_add_model.useModel).formData.value.image = $event), + m: common_vendor.p({ title: "上传图片", count: 6, valueModel: common_vendor.unref(ME_instrument_add_model.useModel).formData.value.image }), - l: common_vendor.o(($event) => common_vendor.unref(ME_instrument_add_model.useModel).formData.value.remark = $event), - m: common_vendor.p({ + n: common_vendor.o(($event) => common_vendor.unref(ME_instrument_add_model.useModel).formData.value.remark = $event), + o: common_vendor.p({ borderTop: true, title: "备注(选填)", placeholder: "请输入此次抄表的备注,选填", valueModel: common_vendor.unref(ME_instrument_add_model.useModel).formData.value.remark }), - n: common_vendor.o((_y = common_vendor.unref(ME_instrument_add_method.method)) == null ? void 0 : _y.handleSubmit), - o: common_vendor.p({ + p: common_vendor.o((_K = common_vendor.unref(ME_instrument_add_method.method)) == null ? void 0 : _K.handleSubmit), + q: common_vendor.p({ btnParimaryName: "提交" }) }); diff --git a/dist/dev/mp-weixin/ME/instrument/add/index.wxml b/dist/dev/mp-weixin/ME/instrument/add/index.wxml index 35ef4a6..634ccb1 100644 --- a/dist/dev/mp-weixin/ME/instrument/add/index.wxml +++ b/dist/dev/mp-weixin/ME/instrument/add/index.wxml @@ -1 +1 @@ - 水表 电表{{res.a}} 仪表名称:{{d}} 上次读数:{{e}} 上次抄表:{{f}} 本期读数 更新时间:{{g}} \ No newline at end of file + 水表 电表 燃气表 暖气表{{res.a}} 仪表名称:{{f}} 上次读数:{{g}} 上次抄表:{{h}} 本期读数 更新时间:{{i}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/instrument/add/index.wxss b/dist/dev/mp-weixin/ME/instrument/add/index.wxss index ee214ec..1ba04c3 100644 --- a/dist/dev/mp-weixin/ME/instrument/add/index.wxss +++ b/dist/dev/mp-weixin/ME/instrument/add/index.wxss @@ -18,13 +18,14 @@ page { } .hande_name_info { display: flex; - align-items: center; + align-items: self-start; } .hande_name_info .name { color: #333333; font-size: 28rpx; font-weight: 500; padding: 0 30rpx 0 0; + flex: 1; } .hande_name_info .name text { padding-left: 20rpx; diff --git a/dist/dev/mp-weixin/ME/instrument/list/components/HouseAreaList.js b/dist/dev/mp-weixin/ME/instrument/list/components/HouseAreaList.js new file mode 100644 index 0000000..0d44b53 --- /dev/null +++ b/dist/dev/mp-weixin/ME/instrument/list/components/HouseAreaList.js @@ -0,0 +1,52 @@ +"use strict"; +const common_vendor = require("../../../../common/vendor.js"); +const common_libraries_day = require("../../../../common/libraries/day.js"); +const ME_instrument_list_method = require("../method.js"); +const ME_instrument_list_model = require("../model.js"); +require("../../../../common/libraries/apiLoading.js"); +require("../../../../gen/Apis.js"); +require("../../../../common/libraries/request.js"); +require("../../../../common/store/useWeAppAuthStore.js"); +require("../../../../common/store/useWatermarkStore.js"); +require("../../../../common/store/useWorkStore.js"); +const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ + __name: "HouseAreaList", + setup(__props) { + return (_ctx, _cache) => { + var _a, _b, _c, _d; + return { + a: common_vendor.f((_b = (_a = common_vendor.unref(ME_instrument_list_model.useModel)) == null ? void 0 : _a.listData) == null ? void 0 : _b.value, (i, index, i0) => { + var _a2, _b2, _c2, _d2; + return common_vendor.e(((_b2 = (_a2 = common_vendor.unref(ME_instrument_list_model.useModel)) == null ? void 0 : _a2.activeColor) == null ? void 0 : _b2.value) ? { + a: (_d2 = (_c2 = common_vendor.unref(ME_instrument_list_model.useModel)) == null ? void 0 : _c2.activeColor) == null ? void 0 : _d2.value + } : {}, { + b: common_vendor.f(i == null ? void 0 : i.house_meter_has_houses, (res, index2, i1) => { + return { + a: common_vendor.t(res == null ? void 0 : res.name), + b: `house_${index2}` + }; + }), + c: (i == null ? void 0 : i.usage_type) === "WaterMeter" + }, (i == null ? void 0 : i.usage_type) === "WaterMeter" ? {} : {}, { + d: (i == null ? void 0 : i.usage_type) === "ElectricMeter" + }, (i == null ? void 0 : i.usage_type) === "ElectricMeter" ? {} : {}, { + e: (i == null ? void 0 : i.usage_type) === "GasMeter" + }, (i == null ? void 0 : i.usage_type) === "GasMeter" ? {} : {}, { + f: (i == null ? void 0 : i.usage_type) === "HeatingMeter" + }, (i == null ? void 0 : i.usage_type) === "HeatingMeter" ? {} : {}, { + g: common_vendor.t(i == null ? void 0 : i.name), + h: common_vendor.t(common_vendor.unref(common_libraries_day.ShowLastTime)(i == null ? void 0 : i.latest_time)), + i: common_vendor.o(($event) => { + var _a3; + return (_a3 = common_vendor.unref(ME_instrument_list_method.method)) == null ? void 0 : _a3.handleToAdd(i); + }, `items_${index}`), + j: `items_${index}` + }); + }), + b: (_d = (_c = common_vendor.unref(ME_instrument_list_model.useModel)) == null ? void 0 : _c.activeColor) == null ? void 0 : _d.value + }; + }; + } +}); +const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-fdeb1d46"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/ME/instrument/list/components/HouseAreaList.vue"]]); +wx.createComponent(Component); diff --git a/dist/dev/mp-weixin/ME/instrument/list/components/HouseAreaList.json b/dist/dev/mp-weixin/ME/instrument/list/components/HouseAreaList.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/dist/dev/mp-weixin/ME/instrument/list/components/HouseAreaList.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/instrument/list/components/HouseAreaList.wxml b/dist/dev/mp-weixin/ME/instrument/list/components/HouseAreaList.wxml new file mode 100644 index 0000000..a4e2579 --- /dev/null +++ b/dist/dev/mp-weixin/ME/instrument/list/components/HouseAreaList.wxml @@ -0,0 +1 @@ +{{res.a}} 水表 电表 燃气表 暖气表 仪表名称:{{i.g}} 上次抄表:{{i.h}} 抄表 \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/instrument/list/components/HouseAreaList.wxss b/dist/dev/mp-weixin/ME/instrument/list/components/HouseAreaList.wxss new file mode 100644 index 0000000..ad58f06 --- /dev/null +++ b/dist/dev/mp-weixin/ME/instrument/list/components/HouseAreaList.wxss @@ -0,0 +1,58 @@ +.work_item_list.data-v-fdeb1d46 { + display: flex; + flex-wrap: wrap; + padding: 20rpx 20rpx 20rpx 0; +} +.work_item.data-v-fdeb1d46 { + background-color: #fff; + border-radius: 10rpx; + border-radius: 15rpx; + width: 46%; + margin-left: 20rpx; + margin-bottom: 20rpx; +} +.work_item .work_item_header.data-v-fdeb1d46 { + display: flex; + align-items: flex-start; + padding: 25rpx 15rpx; +} +.work_item .work_item_header .name_item.data-v-fdeb1d46 { + width: 10rpx; + height: 10rpx; + border-radius: 100rpx; +} +.work_item .work_item_header .name.data-v-fdeb1d46 { + color: #333333; + font-size: 28rpx; + font-weight: 500; + flex: 1; + display: flex; + align-items: center; +} +.work_item .work_item_header .name text.data-v-fdeb1d46 { + padding-right: 20rpx; +} +.work_item .work_item_header .name_text.data-v-fdeb1d46 { + display: flex; + align-items: flex-start; + flex-wrap: wrap; + padding-left: 10rpx; +} +.work_item .work_item_cell.data-v-fdeb1d46 { + display: flex; + align-items: center; + justify-content: space-between; + font-size: 24rpx; + color: #666; + padding: 0 15rpx 15rpx 15rpx; +} +.work_item .work_item_cell text.data-v-fdeb1d46 { + color: #333; +} +.work_item .footer_item .meter_reading_btn.data-v-fdeb1d46 { + text-align: center; + color: #0082fa; + border-top: 1rpx solid #ededed; + padding: 20rpx 0; + font-size: 25rpx; +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/instrument/list/components/SharedAreaList.js b/dist/dev/mp-weixin/ME/instrument/list/components/SharedAreaList.js new file mode 100644 index 0000000..ec50521 --- /dev/null +++ b/dist/dev/mp-weixin/ME/instrument/list/components/SharedAreaList.js @@ -0,0 +1,50 @@ +"use strict"; +const common_vendor = require("../../../../common/vendor.js"); +const common_libraries_day = require("../../../../common/libraries/day.js"); +const ME_instrument_list_method = require("../method.js"); +const ME_instrument_list_model = require("../model.js"); +require("../../../../common/libraries/apiLoading.js"); +require("../../../../gen/Apis.js"); +require("../../../../common/libraries/request.js"); +require("../../../../common/store/useWeAppAuthStore.js"); +require("../../../../common/store/useWatermarkStore.js"); +require("../../../../common/store/useWorkStore.js"); +const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ + __name: "SharedAreaList", + setup(__props) { + return (_ctx, _cache) => { + var _a, _b; + return { + a: common_vendor.f((_b = (_a = common_vendor.unref(ME_instrument_list_model.useModel)) == null ? void 0 : _a.listData) == null ? void 0 : _b.value, (i, index, i0) => { + return common_vendor.e({ + a: common_vendor.t(i == null ? void 0 : i.name), + b: (i == null ? void 0 : i.usage_type) === "WaterMeter" + }, (i == null ? void 0 : i.usage_type) === "WaterMeter" ? {} : {}, { + c: (i == null ? void 0 : i.usage_type) === "ElectricMeter" + }, (i == null ? void 0 : i.usage_type) === "ElectricMeter" ? {} : {}, { + d: (i == null ? void 0 : i.usage_type) === "GasMeter" + }, (i == null ? void 0 : i.usage_type) === "GasMeter" ? {} : {}, { + e: (i == null ? void 0 : i.usage_type) === "HeatingMeter" + }, (i == null ? void 0 : i.usage_type) === "HeatingMeter" ? {} : {}, { + f: common_vendor.f(i == null ? void 0 : i.house_meter_has_houses, (item, index2, i1) => { + return { + a: common_vendor.t(item == null ? void 0 : item.full_name), + b: `item_${index2}` + }; + }), + g: common_vendor.t(i == null ? void 0 : i.remark), + h: common_vendor.t(i == null ? void 0 : i.latest_value), + i: common_vendor.t(common_vendor.unref(common_libraries_day.ShowLastTime)(i == null ? void 0 : i.latest_time)), + j: common_vendor.o(($event) => { + var _a2; + return (_a2 = common_vendor.unref(ME_instrument_list_method.method)) == null ? void 0 : _a2.handleToAdd(i); + }, `items_${index}`), + k: `items_${index}` + }); + }) + }; + }; + } +}); +const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-13c3768e"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/ME/instrument/list/components/SharedAreaList.vue"]]); +wx.createComponent(Component); diff --git a/dist/dev/mp-weixin/ME/instrument/list/components/SharedAreaList.json b/dist/dev/mp-weixin/ME/instrument/list/components/SharedAreaList.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/dist/dev/mp-weixin/ME/instrument/list/components/SharedAreaList.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/instrument/list/components/SharedAreaList.wxml b/dist/dev/mp-weixin/ME/instrument/list/components/SharedAreaList.wxml new file mode 100644 index 0000000..3cdd22b --- /dev/null +++ b/dist/dev/mp-weixin/ME/instrument/list/components/SharedAreaList.wxml @@ -0,0 +1 @@ +{{i.a}} 水表 电表 燃气表 暖气表 备注:{{item.a}} {{i.g}} 上次读数:{{i.h}} 上次抄表:{{i.i}} 抄表 \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/instrument/list/components/SharedAreaList.wxss b/dist/dev/mp-weixin/ME/instrument/list/components/SharedAreaList.wxss new file mode 100644 index 0000000..feedfce --- /dev/null +++ b/dist/dev/mp-weixin/ME/instrument/list/components/SharedAreaList.wxss @@ -0,0 +1,34 @@ +.shared_area_item.data-v-13c3768e { + background-color: #fff; + border-radius: 10rpx; + margin: 30rpx; + padding: 25rpx; +} +.shared_area_item .item_header.data-v-13c3768e { + display: flex; + align-items: center; + justify-content: space-between; +} +.shared_area_item .title.data-v-13c3768e { + font-size: 30rpx; + font-weight: 500; + color: #333; +} +.shared_area_item .remark.data-v-13c3768e { + font-size: 24rpx; + color: #333; + padding: 10rpx 0 0 0; +} +.shared_area_item .remark text.data-v-13c3768e { + padding-right: 10rpx; +} +.shared_area_item .last_read_cell.data-v-13c3768e { + font-size: 24rpx; + color: #666; + display: flex; + align-items: center; + justify-content: space-between; +} +.shared_area_item .last_read_cell_first_child.data-v-13c3768e { + padding-top: 10rpx; +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/instrument/list/index.js b/dist/dev/mp-weixin/ME/instrument/list/index.js index f6db49c..661c8b5 100644 --- a/dist/dev/mp-weixin/ME/instrument/list/index.js +++ b/dist/dev/mp-weixin/ME/instrument/list/index.js @@ -1,5 +1,6 @@ "use strict"; const common_vendor = require("../../../common/vendor.js"); +const gen_Enums = require("../../../gen/Enums.js"); const ME_instrument_list_method = require("./method.js"); const ME_instrument_list_model = require("./model.js"); require("../../../common/libraries/apiLoading.js"); @@ -12,57 +13,69 @@ if (!Array) { const _easycom_hs_tabs2 = common_vendor.resolveComponent("hs-tabs"); const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons"); const _easycom_up_search2 = common_vendor.resolveComponent("up-search"); - const _easycom_hs_popup_project2 = common_vendor.resolveComponent("hs-popup-project"); - const _easycom_hs_popup_building2 = common_vendor.resolveComponent("hs-popup-building"); - const _easycom_hs_radio_picker_enum2 = common_vendor.resolveComponent("hs-radio-picker-enum"); - const _easycom_hs_button2 = common_vendor.resolveComponent("hs-button"); + const _easycom_hs_radio2 = common_vendor.resolveComponent("hs-radio"); const _easycom_cc_scroll_loading2 = common_vendor.resolveComponent("cc-scroll-loading"); - (_easycom_hs_tabs2 + _easycom_uni_icons2 + _easycom_up_search2 + _easycom_hs_popup_project2 + _easycom_hs_popup_building2 + _easycom_hs_radio_picker_enum2 + _easycom_hs_button2 + _easycom_cc_scroll_loading2)(); + (_easycom_hs_tabs2 + _easycom_uni_icons2 + _easycom_up_search2 + _easycom_hs_radio2 + _easycom_cc_scroll_loading2)(); } const _easycom_hs_tabs = () => "../../../components/hs-tabs/hs-tabs.js"; const _easycom_uni_icons = () => "../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"; const _easycom_up_search = () => "../../../node-modules/uview-plus/components/u-search/u-search.js"; -const _easycom_hs_popup_project = () => "../../../components/hs-popup-project/hs-popup-project.js"; -const _easycom_hs_popup_building = () => "../../../components/hs-popup-building/hs-popup-building.js"; -const _easycom_hs_radio_picker_enum = () => "../../../components/hs-radio-picker-enum/hs-radio-picker-enum.js"; -const _easycom_hs_button = () => "../../../components/hs-button/hs-button.js"; +const _easycom_hs_radio = () => "../../../components/hs-radio/hs-radio.js"; const _easycom_cc_scroll_loading = () => "../../../common/components/cc-scroll-loading/cc-scroll-loading.js"; if (!Math) { - (_easycom_hs_tabs + _easycom_uni_icons + _easycom_up_search + _easycom_hs_popup_project + _easycom_hs_popup_building + _easycom_hs_radio_picker_enum + _easycom_hs_button + _easycom_cc_scroll_loading)(); + (_easycom_hs_tabs + _easycom_uni_icons + _easycom_up_search + _easycom_hs_radio + HouseAreaList + SharedAreaList + _easycom_cc_scroll_loading)(); } +const HouseAreaList = () => "./components/HouseAreaList.js"; +const SharedAreaList = () => "./components/SharedAreaList.js"; const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ __name: "index", setup(__props) { const tablist = [ - { label: "住户仪表", value: "HouseMeter" }, - { label: "公共仪表", value: "CommonMeter" } + { label: "房屋表", value: "HouseMeter" }, + { label: "公摊表", value: "CommonMeter" } ]; - const meterTypes = [ + const instrument_day_num = [ { - name: "全部", - value: void 0 + label: "超30天未抄表", + value: "30", + color: "#0082FA" }, { - name: "已抄表", - value: "read" + label: "超60天未抄表", + value: "60", + color: "#FF8F26" }, { - name: "未抄表", - value: "unread" + label: "超90天未抄表", + value: "90", + color: "#DF3600" } ]; + const HouseMetersUsageTypeEnumList = { + all: { + text: "全部", + value: "" + }, + ...gen_Enums.HouseMetersUsageTypeEnum + }; + common_vendor.onLoad((e) => { + ME_instrument_list_model.useModel.formData.value.asset_projects_id = e == null ? void 0 : e.id; + }); common_vendor.onShow(() => { - var _a; + var _a, _b, _c, _d; ME_instrument_list_model.useModel.formData.value.page = 1; - ME_instrument_list_model.useModel.listData.value = []; - (_a = ME_instrument_list_method.method) == null ? void 0 : _a.getList(); + if (!((_c = (_b = (_a = ME_instrument_list_model.useModel) == null ? void 0 : _a.listData) == null ? void 0 : _b.value) == null ? void 0 : _c.length)) { + (_d = ME_instrument_list_method.method) == null ? void 0 : _d.getMenuList(); + } }); common_vendor.onUnload(() => { + ME_instrument_list_model.useModel.currentTabs.value = 0; + ME_instrument_list_model.useModel.listData.value = []; ME_instrument_list_model.useModel.formData.value = { page: 1, keyword: "", meter_type: "HouseMeter" }; }); return (_ctx, _cache) => { - var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l; - return { + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B; + return common_vendor.e({ a: common_vendor.o((_a = common_vendor.unref(ME_instrument_list_method.method)) == null ? void 0 : _a.handleChangeTabs), b: common_vendor.p({ list: tablist, @@ -77,55 +90,63 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ var _a2; return (_a2 = common_vendor.unref(ME_instrument_list_method.method)) == null ? void 0 : _a2.handleToLog(); }), - e: common_vendor.o((_d = common_vendor.unref(ME_instrument_list_method.method)) == null ? void 0 : _d.handleSearch), - f: common_vendor.o(($event) => common_vendor.unref(ME_instrument_list_model.useModel).formData.value.keyword = $event), - g: common_vendor.p({ + e: (_e = (_d = common_vendor.unref(ME_instrument_list_model.useModel)) == null ? void 0 : _d.currentTabs) == null ? void 0 : _e.value + }, ((_g = (_f = common_vendor.unref(ME_instrument_list_model.useModel)) == null ? void 0 : _f.currentTabs) == null ? void 0 : _g.value) ? { + f: common_vendor.o((_h = common_vendor.unref(ME_instrument_list_method.method)) == null ? void 0 : _h.handleSearch), + g: common_vendor.o(($event) => common_vendor.unref(ME_instrument_list_model.useModel).formData.value.keyword = $event), + h: common_vendor.p({ ["show-action"]: false, - placeholder: "搜索房屋名称/仪表名称", + placeholder: "仪表名称", modelValue: common_vendor.unref(ME_instrument_list_model.useModel).formData.value.keyword - }), - h: common_vendor.o((_e = common_vendor.unref(ME_instrument_list_method.method)) == null ? void 0 : _e.handleChangeFilter), - i: common_vendor.o((_f = common_vendor.unref(ME_instrument_list_method.method)) == null ? void 0 : _f.handleChangeFilter), - j: common_vendor.p({ - params: common_vendor.unref(ME_instrument_list_model.useModel).formData.value - }), - k: common_vendor.o((_g = common_vendor.unref(ME_instrument_list_method.method)) == null ? void 0 : _g.handleChangeFilterReadingStatus), - l: common_vendor.p({ - Enums: meterTypes, - title: "抄表状态" - }), - m: common_vendor.f((_i = (_h = common_vendor.unref(ME_instrument_list_model.useModel)) == null ? void 0 : _h.listData) == null ? void 0 : _i.value, (i, index, i0) => { - return common_vendor.e({ - a: (i == null ? void 0 : i.usage_type) === "WaterMeter" - }, (i == null ? void 0 : i.usage_type) === "WaterMeter" ? {} : {}, { - b: (i == null ? void 0 : i.usage_type) === "ElectricMeter" - }, (i == null ? void 0 : i.usage_type) === "ElectricMeter" ? {} : {}, { - c: common_vendor.f(i == null ? void 0 : i.house_meter_has_houses, (res, index2, i1) => { - return { - a: common_vendor.t(res == null ? void 0 : res.full_name), - b: `house_${index2}` - }; - }), - d: common_vendor.t(i == null ? void 0 : i.name), - e: common_vendor.t(i == null ? void 0 : i.latest_value), - f: common_vendor.t(i == null ? void 0 : i.latest_time), - g: common_vendor.o(($event) => { - var _a2; - return (_a2 = common_vendor.unref(ME_instrument_list_method.method)) == null ? void 0 : _a2.handleToAdd(i); - }, `items_${index}`), - h: "7f08fc71-7-" + i0 + ",7f08fc71-6", - i: `items_${index}` - }); - }), - n: common_vendor.p({ - type: "primary", - label: "抄表" - }), - o: common_vendor.o((_j = common_vendor.unref(ME_instrument_list_method.method)) == null ? void 0 : _j.handleLoad), - p: common_vendor.p({ - meta: (_l = (_k = common_vendor.unref(ME_instrument_list_model.useModel)) == null ? void 0 : _k.metaData) == null ? void 0 : _l.value }) - }; + } : {}, { + i: common_vendor.o((_i = common_vendor.unref(ME_instrument_list_method.method)) == null ? void 0 : _i.handleChangeUsageTypeFilter), + j: common_vendor.o(($event) => common_vendor.unref(ME_instrument_list_model.useModel).formData.value.usage_type = $event), + k: common_vendor.p({ + Enums: HouseMetersUsageTypeEnumList, + modelValue: common_vendor.unref(ME_instrument_list_model.useModel).formData.value.usage_type + }), + l: common_vendor.f(instrument_day_num, (i, index, i0) => { + var _a2, _b2, _c2; + return { + a: i == null ? void 0 : i.color, + b: common_vendor.t(i == null ? void 0 : i.label), + c: `instrument_day_num_${index}`, + d: common_vendor.n(`filter_day_item ${((_c2 = (_b2 = (_a2 = common_vendor.unref(ME_instrument_list_model.useModel)) == null ? void 0 : _a2.formData) == null ? void 0 : _b2.value) == null ? void 0 : _c2.overdue_days) === (i == null ? void 0 : i.value) ? "filter_day_item_active" : ""}`), + e: common_vendor.o(($event) => { + var _a3; + return (_a3 = common_vendor.unref(ME_instrument_list_method.method)) == null ? void 0 : _a3.handleChangeOverdueDaysFilter(i); + }, `instrument_day_num_${index}`) + }; + }), + m: common_vendor.n(`header ${!((_k = (_j = common_vendor.unref(ME_instrument_list_model.useModel)) == null ? void 0 : _j.currentTabs) == null ? void 0 : _k.value) ? "header_two" : ""}`), + n: !((_m = (_l = common_vendor.unref(ME_instrument_list_model.useModel)) == null ? void 0 : _l.currentTabs) == null ? void 0 : _m.value) + }, !((_o = (_n = common_vendor.unref(ME_instrument_list_model.useModel)) == null ? void 0 : _n.currentTabs) == null ? void 0 : _o.value) ? { + o: common_vendor.f((_q = (_p = common_vendor.unref(ME_instrument_list_model.useModel)) == null ? void 0 : _p.listMenuData) == null ? void 0 : _q.value, (i, index, i0) => { + var _a2, _b2, _c2; + return { + a: common_vendor.t(i == null ? void 0 : i.asset_buildings_name), + b: common_vendor.t(i == null ? void 0 : i.name), + c: `menu_item_${index}`, + d: common_vendor.n(`menu_item ${((_c2 = (_b2 = (_a2 = common_vendor.unref(ME_instrument_list_model.useModel)) == null ? void 0 : _a2.formData) == null ? void 0 : _b2.value) == null ? void 0 : _c2.asset_units_id) === (i == null ? void 0 : i.id) ? "menu_item_active" : ""}`), + e: common_vendor.o(($event) => { + var _a3; + return (_a3 = common_vendor.unref(ME_instrument_list_method.method)) == null ? void 0 : _a3.handleChangeFilter({ + asset_units_id: i == null ? void 0 : i.id + }); + }, `menu_item_${index}`) + }; + }) + } : {}, { + p: !((_s = (_r = common_vendor.unref(ME_instrument_list_model.useModel)) == null ? void 0 : _r.currentTabs) == null ? void 0 : _s.value) + }, !((_u = (_t = common_vendor.unref(ME_instrument_list_model.useModel)) == null ? void 0 : _t.currentTabs) == null ? void 0 : _u.value) ? {} : {}, { + q: common_vendor.o((_v = common_vendor.unref(ME_instrument_list_method.method)) == null ? void 0 : _v.handleLoad), + r: common_vendor.p({ + meta: (_x = (_w = common_vendor.unref(ME_instrument_list_model.useModel)) == null ? void 0 : _w.metaData) == null ? void 0 : _x.value + }), + s: common_vendor.n(`${!((_z = (_y = common_vendor.unref(ME_instrument_list_model.useModel)) == null ? void 0 : _y.currentTabs) == null ? void 0 : _z.value) ? "work_item_content" : ""}`), + t: common_vendor.n(`work_contents ${!((_B = (_A = common_vendor.unref(ME_instrument_list_model.useModel)) == null ? void 0 : _A.currentTabs) == null ? void 0 : _B.value) ? "work_contents_two" : ""}`) + }); }; } }); diff --git a/dist/dev/mp-weixin/ME/instrument/list/index.json b/dist/dev/mp-weixin/ME/instrument/list/index.json index 0a05626..d621e27 100644 --- a/dist/dev/mp-weixin/ME/instrument/list/index.json +++ b/dist/dev/mp-weixin/ME/instrument/list/index.json @@ -4,10 +4,9 @@ "hs-tabs": "../../../components/hs-tabs/hs-tabs", "uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons", "up-search": "../../../node-modules/uview-plus/components/u-search/u-search", - "hs-popup-project": "../../../components/hs-popup-project/hs-popup-project", - "hs-popup-building": "../../../components/hs-popup-building/hs-popup-building", - "hs-radio-picker-enum": "../../../components/hs-radio-picker-enum/hs-radio-picker-enum", - "hs-button": "../../../components/hs-button/hs-button", - "cc-scroll-loading": "../../../common/components/cc-scroll-loading/cc-scroll-loading" + "hs-radio": "../../../components/hs-radio/hs-radio", + "cc-scroll-loading": "../../../common/components/cc-scroll-loading/cc-scroll-loading", + "house-area-list": "./components/HouseAreaList", + "shared-area-list": "./components/SharedAreaList" } } \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/instrument/list/index.wxml b/dist/dev/mp-weixin/ME/instrument/list/index.wxml index 3645062..d8bca24 100644 --- a/dist/dev/mp-weixin/ME/instrument/list/index.wxml +++ b/dist/dev/mp-weixin/ME/instrument/list/index.wxml @@ -1 +1 @@ - 抄表记录 水表 电表{{res.a}} 仪表名称:{{i.d}} 上次读数:{{i.e}} 更新时间:{{i.f}} \ No newline at end of file + 抄表记录 {{i.b}}{{i.a}}{{i.b}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/instrument/list/index.wxss b/dist/dev/mp-weixin/ME/instrument/list/index.wxss index 4676fd0..35a799e 100644 --- a/dist/dev/mp-weixin/ME/instrument/list/index.wxss +++ b/dist/dev/mp-weixin/ME/instrument/list/index.wxss @@ -7,7 +7,7 @@ page { left: 0; top: 0; right: 0; - height: 280rpx; + height: 385rpx; z-index: 100; box-shadow: 0px 3px 7px rgba(206, 206, 206, 0.25); } @@ -16,6 +16,7 @@ page { align-items: center; justify-content: space-between; padding: 0 30rpx; + border-bottom: 1rpx solid #eee; } .header .header_tabs .meter_reading_record { color: #333333; @@ -24,7 +25,8 @@ page { align-items: center; } .header .search { - padding: 20rpx 30rpx 0 30rpx; + padding: 20rpx 30rpx; + border-bottom: 1rpx solid #eee; } .header .filter { display: flex; @@ -32,65 +34,99 @@ page { justify-content: space-between; padding: 16rpx 30rpx 0 30rpx; } +.header .filter_content { + padding: 20rpx 30rpx; +} +.header .filter_day_content { + display: flex; + align-items: center; + padding-top: 18rpx; +} +.header .filter_day_content .filter_day_item { + padding: 8rpx 20rpx; + border-radius: 100rpx; + font-size: 24rpx; + color: #666; + border: 1px solid #cacaca; + margin-right: 10rpx; +} +.header .filter_day_content .filter_day_item text { + width: 14rpx; + height: 14rpx; + border-radius: 100rpx; + display: inline-block; +} +.header .filter_day_content .filter_day_item_active { + border: 1rpx solid #0082fa; + color: #0082fa; +} +.header_two { + height: 280rpx; +} .work_contents { + padding: 385rpx 0 30rpx 0; + position: relative; +} +.work_contents .menu_list_content { + position: fixed; + left: 0; + bottom: 0; + top: 280rpx; + width: 170rpx; + background-color: #fff; + z-index: 10; +} +.work_contents .menu_list_content .menu_item { + height: 75rpx; + line-height: 75rpx; + text-align: center; + font-size: 25rpx; + color: #333333; + overflow: hidden; + ellipsis: 1; + white-space: nowrap; +} +.work_contents .menu_list_content .menu_item_active { + background-color: #f8f8f8; + border-left: 5rpx solid #0082fa; +} +.work_contents .work_item_content { + padding-left: 170rpx; +} +.work_contents_two { padding: 280rpx 0 30rpx 0; } -.work_contents .work_item { - background-color: #fff; - border-radius: 10rpx; - margin: 30rpx 30rpx 0 30rpx; - border-radius: 15rpx; - padding: 0 30rpx 10rpx 30rpx; +.card_status_4 { + border-top: 6px solid #ef4444; } -.work_contents .work_item .work_item_header { - display: flex; - align-items: self-start; - padding: 25rpx 0; -} -.work_contents .work_item .work_item_header .name { - color: #333333; +.meter_btn_primary { + background-color: #0082fa; + color: #fff; + padding: 15rpx 30rpx; + border-radius: 8rpx; font-size: 28rpx; - font-weight: 500; - padding: 0 30rpx 0 20rpx; - flex: 1; } -.work_contents .work_item .work_item_header .name text { - padding-right: 20rpx; -} -.work_contents .work_item .work_item_header .table_tab { +.tag_group .table_tab { display: flex; align-items: center; padding: 6rpx 16rpx; border-radius: 8rpx; font-size: 24rpx; } -.work_contents .work_item .work_item_header .table_tab image { +.tag_group .table_tab image { width: 18rpx; height: 24rpx; margin-right: 5rpx; } -.work_contents .work_item .work_item_header .water { - background-color: #F0F8FF; - color: #0082FA; +.tag_group .water { + background-color: #f0f8ff; + color: #0082fa; } -.work_contents .work_item .work_item_header .electricity { - background-color: #FFF8F0; - color: #FFB30F; +.tag_group .electricity { + background-color: #fff8f0; + color: #ffb30f; } -.work_contents .work_item .work_item_cell { - display: flex; - align-items: center; - justify-content: space-between; - font-size: 30rpx; - color: #666; - padding-bottom: 20rpx; -} -.work_contents .work_item .work_item_cell text { - color: #333; -} -.work_contents .work_item .footer_item { - padding: 0 0 20rpx 0; -} -.card_status_4 { - border-top: 6px solid #ef4444; +.tag_group .gas { + background-color: #fff0f0; + color: #f53f3f; } \ No newline at end of file diff --git a/dist/dev/mp-weixin/ME/instrument/list/method.js b/dist/dev/mp-weixin/ME/instrument/list/method.js index 9b0a125..5dee347 100644 --- a/dist/dev/mp-weixin/ME/instrument/list/method.js +++ b/dist/dev/mp-weixin/ME/instrument/list/method.js @@ -10,6 +10,19 @@ const getList = () => { ME_instrument_list_model.useModel.metaData.value = res == null ? void 0 : res.meta; }); }; +const getMenuList = () => { + var _a, _b; + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Asset.AssetHouses.SelectPermissionUnit, (_b = (_a = ME_instrument_list_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value).then((res) => { + var _a2, _b2, _c, _d, _e; + ME_instrument_list_model.useModel.listMenuData.value = res == null ? void 0 : res.data; + if ((_a2 = res == null ? void 0 : res.data) == null ? void 0 : _a2.length) { + if (!((_c = (_b2 = ME_instrument_list_model.useModel) == null ? void 0 : _b2.currentTabs) == null ? void 0 : _c.value)) { + ME_instrument_list_model.useModel.formData.value.asset_units_id = (_e = (_d = res == null ? void 0 : res.data) == null ? void 0 : _d[0]) == null ? void 0 : _e.id; + } + handleTabSearch(); + } + }); +}; const handleTabSearch = () => { ME_instrument_list_model.useModel.formData.value.page = 1; ME_instrument_list_model.useModel.listData.value = []; @@ -17,14 +30,31 @@ const handleTabSearch = () => { }; const method = { getList, + getMenuList, handleSearch() { handleTabSearch(); }, + handleChangeUsageTypeFilter(e) { + ME_instrument_list_model.useModel.formData.value.usage_type = (e == null ? void 0 : e.value) || void 0; + handleTabSearch(); + console.log("e", e); + }, + handleChangeOverdueDaysFilter(e) { + var _a, _b, _c; + if (((_c = (_b = (_a = ME_instrument_list_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value) == null ? void 0 : _c.overdue_days) === (e == null ? void 0 : e.value)) { + ME_instrument_list_model.useModel.formData.value.overdue_days = void 0; + ME_instrument_list_model.useModel.activeColor.value = ""; + } else { + ME_instrument_list_model.useModel.formData.value.overdue_days = e == null ? void 0 : e.value; + ME_instrument_list_model.useModel.activeColor.value = e == null ? void 0 : e.color; + } + handleTabSearch(); + }, handleChangeFilter(e) { ME_instrument_list_model.useModel.formData.value = { ...ME_instrument_list_model.useModel.formData.value, ...e, - pahe: 1 + page: 1 }; ME_instrument_list_model.useModel.listData.value = []; getList(); @@ -38,12 +68,24 @@ const method = { getList(); }, handleChangeTabs(idx, e) { + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j; ME_instrument_list_model.useModel.currentTabs.value = idx; - ME_instrument_list_model.useModel.formData.value.meter_type = e == null ? void 0 : e.value; + if (idx) { + ME_instrument_list_model.useModel.formData.value = { + meter_type: e == null ? void 0 : e.value, + asset_projects_id: (_c = (_b = (_a = ME_instrument_list_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value) == null ? void 0 : _c.asset_projects_id + }; + } else { + ME_instrument_list_model.useModel.formData.value = { + meter_type: e == null ? void 0 : e.value, + asset_projects_id: (_f = (_e = (_d = ME_instrument_list_model.useModel) == null ? void 0 : _d.formData) == null ? void 0 : _e.value) == null ? void 0 : _f.asset_projects_id, + asset_units_id: (_j = (_i = (_h = (_g = ME_instrument_list_model.useModel) == null ? void 0 : _g.listMenuData) == null ? void 0 : _h.value) == null ? void 0 : _i[0]) == null ? void 0 : _j.id + }; + } handleTabSearch(); }, - handleLoad(page) { - ME_instrument_list_model.useModel.formData.value.page = page; + handleLoad(res) { + ME_instrument_list_model.useModel.formData.value.page = res == null ? void 0 : res.page; getList(); }, handleToAdd(i) { diff --git a/dist/dev/mp-weixin/ME/instrument/list/model.js b/dist/dev/mp-weixin/ME/instrument/list/model.js index 5e5da4d..81fa353 100644 --- a/dist/dev/mp-weixin/ME/instrument/list/model.js +++ b/dist/dev/mp-weixin/ME/instrument/list/model.js @@ -2,8 +2,10 @@ const common_vendor = require("../../../common/vendor.js"); const useModel = { currentTabs: common_vendor.ref(0), - formData: common_vendor.ref({ page: 1, keyword: "", meter_type: "HouseMeter" }), + listMenuData: common_vendor.ref([]), + formData: common_vendor.ref({ page: 1, keyword: "", meter_type: "HouseMeter", overdue_days: void 0 }), listData: common_vendor.ref([]), - metaData: common_vendor.ref({}) + metaData: common_vendor.ref({}), + activeColor: common_vendor.ref("") }; exports.useModel = useModel; diff --git a/dist/dev/mp-weixin/ME/instrument/log_show/index.wxss b/dist/dev/mp-weixin/ME/instrument/log_show/index.wxss index a1f5d0b..03132cf 100644 --- a/dist/dev/mp-weixin/ME/instrument/log_show/index.wxss +++ b/dist/dev/mp-weixin/ME/instrument/log_show/index.wxss @@ -66,7 +66,12 @@ page { padding-top: 20rpx; } .attachment_img .img_list .attachment_img_item { + height: 160rpx; margin-right: 20rpx; + background-color: #f5f5f5; + display: flex; + align-items: center; + justify-content: center; } .attachment_img .img_list .attachment_img_item:last-child { margin-right: 0; diff --git a/dist/dev/mp-weixin/WORKORDER/acceptance/index.js b/dist/dev/mp-weixin/WORKORDER/acceptance/index.js new file mode 100644 index 0000000..9500a6f --- /dev/null +++ b/dist/dev/mp-weixin/WORKORDER/acceptance/index.js @@ -0,0 +1,65 @@ +"use strict"; +const common_vendor = require("../../common/vendor.js"); +const WORKORDER_acceptance_method = require("./method.js"); +const WORKORDER_acceptance_model = require("./model.js"); +require("../../common/libraries/request.js"); +require("../../common/store/useWatermarkStore.js"); +require("../../common/store/useWeAppAuthStore.js"); +require("../../common/store/useWorkStore.js"); +require("../../gen/Apis.js"); +require("../../common/libraries/apiLoading.js"); +require("../../common/libraries/naviHelper.js"); +if (!Array) { + const _easycom_hs_radio2 = common_vendor.resolveComponent("hs-radio"); + const _easycom_hs_cell2 = common_vendor.resolveComponent("hs-cell"); + const _easycom_hs_cell_textarea2 = common_vendor.resolveComponent("hs-cell-textarea"); + const _easycom_hs_footer2 = common_vendor.resolveComponent("hs-footer"); + (_easycom_hs_radio2 + _easycom_hs_cell2 + _easycom_hs_cell_textarea2 + _easycom_hs_footer2)(); +} +const _easycom_hs_radio = () => "../../components/hs-radio/hs-radio.js"; +const _easycom_hs_cell = () => "../../components/hs-cell/hs-cell.js"; +const _easycom_hs_cell_textarea = () => "../../components/hs-cell-textarea/hs-cell-textarea.js"; +const _easycom_hs_footer = () => "../../components/hs-footer/hs-footer.js"; +if (!Math) { + (_easycom_hs_radio + _easycom_hs_cell + _easycom_hs_cell_textarea + _easycom_hs_footer)(); +} +const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ + __name: "index", + setup(__props) { + common_vendor.onLoad((e) => { + var _a; + (_a = WORKORDER_acceptance_method.method) == null ? void 0 : _a.init(e); + }); + return (_ctx, _cache) => { + var _a, _b, _c, _d, _e, _f, _g, _h, _i; + return common_vendor.e({ + a: common_vendor.o(($event) => common_vendor.unref(WORKORDER_acceptance_model.useModel).formData.value.is_completed = $event), + b: common_vendor.p({ + Enums: (_b = (_a = common_vendor.unref(WORKORDER_acceptance_model.useModel)) == null ? void 0 : _a.HouseWorkOrdersAcceptResultEnum) == null ? void 0 : _b.value, + valueModel: common_vendor.unref(WORKORDER_acceptance_model.useModel).formData.value.is_completed + }), + c: common_vendor.p({ + title: "是否确认完工", + required: true, + borderTop: true + }), + d: ((_e = (_d = (_c = common_vendor.unref(WORKORDER_acceptance_model.useModel)) == null ? void 0 : _c.formData) == null ? void 0 : _d.value) == null ? void 0 : _e.is_completed) === "0" + }, ((_h = (_g = (_f = common_vendor.unref(WORKORDER_acceptance_model.useModel)) == null ? void 0 : _f.formData) == null ? void 0 : _g.value) == null ? void 0 : _h.is_completed) === "0" ? { + e: common_vendor.o(($event) => common_vendor.unref(WORKORDER_acceptance_model.useModel).formData.value.accept_remark = $event), + f: common_vendor.p({ + title: "填写原因", + required: true, + placeholder: "请详细描述情况,包括具体位置现象等 ", + valueModel: common_vendor.unref(WORKORDER_acceptance_model.useModel).formData.value.accept_remark + }) + } : {}, { + g: common_vendor.o((_i = common_vendor.unref(WORKORDER_acceptance_method.method)) == null ? void 0 : _i.handleSubmit), + h: common_vendor.p({ + btnParimaryName: "提交" + }) + }); + }; + } +}); +const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/WORKORDER/acceptance/index.vue"]]); +wx.createPage(MiniProgramPage); diff --git a/dist/dev/mp-weixin/WORKORDER/acceptance/index.json b/dist/dev/mp-weixin/WORKORDER/acceptance/index.json new file mode 100644 index 0000000..e751689 --- /dev/null +++ b/dist/dev/mp-weixin/WORKORDER/acceptance/index.json @@ -0,0 +1,9 @@ +{ + "navigationBarTitleText": "验收工单", + "usingComponents": { + "hs-radio": "../../components/hs-radio/hs-radio", + "hs-cell": "../../components/hs-cell/hs-cell", + "hs-cell-textarea": "../../components/hs-cell-textarea/hs-cell-textarea", + "hs-footer": "../../components/hs-footer/hs-footer" + } +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/WORKORDER/acceptance/index.wxml b/dist/dev/mp-weixin/WORKORDER/acceptance/index.wxml new file mode 100644 index 0000000..50aeeba --- /dev/null +++ b/dist/dev/mp-weixin/WORKORDER/acceptance/index.wxml @@ -0,0 +1 @@ + 您选择 “否” 后,这个工单会重新回到处理中,我们会安排工作人员再次处理。 \ No newline at end of file diff --git a/dist/dev/mp-weixin/WORKORDER/acceptance/index.wxss b/dist/dev/mp-weixin/WORKORDER/acceptance/index.wxss new file mode 100644 index 0000000..3aa8ba0 --- /dev/null +++ b/dist/dev/mp-weixin/WORKORDER/acceptance/index.wxss @@ -0,0 +1,14 @@ +page { + background-color: #f8f8f8; +} +.card_form { + background-color: #fff; + padding: 0 30rpx; + margin-bottom: 30rpx; +} +.text_gray { + font-size: 24rpx; + color: #666; + padding: 25rpx 0 30rpx 0; + border-top: 1rpx solid #eee; +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/WORKORDER/acceptance/method.js b/dist/dev/mp-weixin/WORKORDER/acceptance/method.js new file mode 100644 index 0000000..94cc718 --- /dev/null +++ b/dist/dev/mp-weixin/WORKORDER/acceptance/method.js @@ -0,0 +1,39 @@ +"use strict"; +require("../../common/libraries/request.js"); +require("../../common/store/useWatermarkStore.js"); +const common_store_useWeAppAuthStore = require("../../common/store/useWeAppAuthStore.js"); +require("../../common/store/useWorkStore.js"); +const WORKORDER_acceptance_model = require("./model.js"); +const gen_Apis = require("../../gen/Apis.js"); +const common_libraries_apiLoading = require("../../common/libraries/apiLoading.js"); +const common_libraries_naviHelper = require("../../common/libraries/naviHelper.js"); +common_store_useWeAppAuthStore.useWeAppAuthStore(); +const method = { + init(data) { + WORKORDER_acceptance_model.useModel.HouseWorkOrdersAcceptResultEnum.value = { + Processing2: { text: "是", value: "1" }, + Processing1: { text: "否", value: "0" } + }; + WORKORDER_acceptance_model.useModel.formData.value = { + ...data + }; + }, + handleSubmit() { + var _a, _b; + let data = (_b = (_a = WORKORDER_acceptance_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value; + if (!(data == null ? void 0 : data.is_completed)) { + return common_libraries_naviHelper.showToast("请选择是否已经完工!"); + } + if ((data == null ? void 0 : data.is_completed) === "0" && !(data == null ? void 0 : data.accept_remark)) { + return common_libraries_naviHelper.showToast("请先输入原因!"); + } + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.WorkOrder.HouseWorkOrders.Accept, { + ...data, + is_completed: (data == null ? void 0 : data.is_completed) === "1" ? true : false + }).then((res) => { + common_libraries_naviHelper.showToastBack("提交成功!", 1, true); + console.log(res); + }); + } +}; +exports.method = method; diff --git a/dist/dev/mp-weixin/WORKORDER/acceptance/model.js b/dist/dev/mp-weixin/WORKORDER/acceptance/model.js new file mode 100644 index 0000000..371f5fb --- /dev/null +++ b/dist/dev/mp-weixin/WORKORDER/acceptance/model.js @@ -0,0 +1,7 @@ +"use strict"; +const common_vendor = require("../../common/vendor.js"); +const useModel = { + formData: common_vendor.ref({}), + HouseWorkOrdersAcceptResultEnum: common_vendor.ref() +}; +exports.useModel = useModel; diff --git a/dist/dev/mp-weixin/WORKORDER/add/index.js b/dist/dev/mp-weixin/WORKORDER/add/index.js index f7ed0df..e0fc1ea 100644 --- a/dist/dev/mp-weixin/WORKORDER/add/index.js +++ b/dist/dev/mp-weixin/WORKORDER/add/index.js @@ -12,21 +12,21 @@ require("../../common/libraries/apiLoading.js"); require("../../common/libraries/naviHelper.js"); if (!Array) { const _easycom_hs_cell2 = common_vendor.resolveComponent("hs-cell"); + const _easycom_hs_popup_project_houer2 = common_vendor.resolveComponent("hs-popup-project-houer"); const _easycom_hs_input2 = common_vendor.resolveComponent("hs-input"); const _easycom_hs_cell_textarea2 = common_vendor.resolveComponent("hs-cell-textarea"); const _easycom_hs_upload2 = common_vendor.resolveComponent("hs-upload"); - const _easycom_hs_reservation_picker2 = common_vendor.resolveComponent("hs-reservation-picker"); const _easycom_hs_footer2 = common_vendor.resolveComponent("hs-footer"); - (_easycom_hs_cell2 + _easycom_hs_input2 + _easycom_hs_cell_textarea2 + _easycom_hs_upload2 + _easycom_hs_reservation_picker2 + _easycom_hs_footer2)(); + (_easycom_hs_cell2 + _easycom_hs_popup_project_houer2 + _easycom_hs_input2 + _easycom_hs_cell_textarea2 + _easycom_hs_upload2 + _easycom_hs_footer2)(); } const _easycom_hs_cell = () => "../../components/hs-cell/hs-cell.js"; +const _easycom_hs_popup_project_houer = () => "../../components/hs-popup-project-houer/hs-popup-project-houer.js"; const _easycom_hs_input = () => "../../components/hs-input/hs-input.js"; const _easycom_hs_cell_textarea = () => "../../components/hs-cell-textarea/hs-cell-textarea.js"; const _easycom_hs_upload = () => "../../components/hs-upload/hs-upload.js"; -const _easycom_hs_reservation_picker = () => "../../components/hs-reservation-picker/hs-reservation-picker.js"; const _easycom_hs_footer = () => "../../components/hs-footer/hs-footer.js"; if (!Math) { - (_easycom_hs_cell + _easycom_hs_input + _easycom_hs_cell_textarea + _easycom_hs_upload + _easycom_hs_reservation_picker + _easycom_hs_footer)(); + (_easycom_hs_cell + _easycom_hs_popup_project_houer + _easycom_hs_input + _easycom_hs_cell_textarea + _easycom_hs_upload + _easycom_hs_footer)(); } const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ __name: "index", @@ -46,10 +46,11 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ (_a = WORKORDER_add_method.method) == null ? void 0 : _a.init(); }); common_vendor.onUnload(() => { - WORKORDER_add_model.useModel.formData.value = { is_anonymous: false }; + var _a; + (_a = WORKORDER_add_method.method) == null ? void 0 : _a.unInit(); }); return (_ctx, _cache) => { - var _a, _b, _c, _d, _e, _f, _g; + var _a, _b, _c, _d, _e, _f, _g, _h; return common_vendor.e({ a: common_vendor.unref(WORKORDER_add_model.useModel).formData.value.location !== "MyHome" }, common_vendor.unref(WORKORDER_add_model.useModel).formData.value.location !== "MyHome" ? { @@ -65,75 +66,60 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ } : {}, { c: common_vendor.unref(WORKORDER_add_model.useModel).formData.value.location === "MyHome" }, common_vendor.unref(WORKORDER_add_model.useModel).formData.value.location === "MyHome" ? { - d: common_vendor.p({ - title: "房屋信息", - required: true, - borderTop: true, - isLink: true, - value: (_f = (_e = (_d = common_vendor.unref(WORKORDER_add_model.useModel)) == null ? void 0 : _d.formData) == null ? void 0 : _e.value) == null ? void 0 : _f.full_name, - isPlaceholder: "请选择房屋", - url: "/pages/public/asset_houses/index?type=work_add" + d: common_vendor.o((_d = common_vendor.unref(WORKORDER_add_method.method)) == null ? void 0 : _d.handleSelectProject), + e: common_vendor.p({ + title: "选择房屋", + defaultValueName: (_g = (_f = (_e = common_vendor.unref(WORKORDER_add_model.useModel)) == null ? void 0 : _e.formData) == null ? void 0 : _f.value) == null ? void 0 : _g.full_name }), - e: common_vendor.o(($event) => common_vendor.unref(WORKORDER_add_model.useModel).formData.value.reporter_name = $event), - f: common_vendor.p({ + f: common_vendor.o(($event) => common_vendor.unref(WORKORDER_add_model.useModel).formData.value.reporter_name = $event), + g: common_vendor.p({ textAlign: "right", valueModel: common_vendor.unref(WORKORDER_add_model.useModel).formData.value.reporter_name }), - g: common_vendor.p({ + h: common_vendor.p({ title: "客户姓名", required: true, borderTop: true }), - h: common_vendor.o(($event) => common_vendor.unref(WORKORDER_add_model.useModel).formData.value.reporter_phone = $event), - i: common_vendor.p({ + i: common_vendor.o(($event) => common_vendor.unref(WORKORDER_add_model.useModel).formData.value.reporter_phone = $event), + j: common_vendor.p({ maxLength: "11", textAlign: "right", valueModel: common_vendor.unref(WORKORDER_add_model.useModel).formData.value.reporter_phone }), - j: common_vendor.p({ + k: common_vendor.p({ title: "客户电话", required: true, borderTop: true }), - k: common_vendor.o(($event) => common_vendor.unref(WORKORDER_add_model.useModel).formData.value.contact_phone = $event), - l: common_vendor.p({ + l: common_vendor.o(($event) => common_vendor.unref(WORKORDER_add_model.useModel).formData.value.contact_phone = $event), + m: common_vendor.p({ maxLength: "11", textAlign: "right", valueModel: common_vendor.unref(WORKORDER_add_model.useModel).formData.value.contact_phone }), - m: common_vendor.p({ + n: common_vendor.p({ title: "备用联系电话", borderTop: true }) } : {}, { - n: common_vendor.o(($event) => common_vendor.unref(WORKORDER_add_model.useModel).formData.value.content = $event), - o: common_vendor.p({ + o: common_vendor.o(($event) => common_vendor.unref(WORKORDER_add_model.useModel).formData.value.content = $event), + p: common_vendor.p({ borderTop: true, required: true, title: "问题描述", placeholder: "请详细描述问题情况,包括具体位置现象等", valueModel: common_vendor.unref(WORKORDER_add_model.useModel).formData.value.content }), - p: common_vendor.o(($event) => common_vendor.unref(WORKORDER_add_model.useModel).formData.value.attachments = $event), - q: common_vendor.p({ + q: common_vendor.o(($event) => common_vendor.unref(WORKORDER_add_model.useModel).formData.value.attachments = $event), + r: common_vendor.p({ borderTop: true, title: "上传图片", count: 6, valueModel: common_vendor.unref(WORKORDER_add_model.useModel).formData.value.attachments }), - r: common_vendor.unref(WORKORDER_add_model.useModel).formData.value.location === "MyHome" - }, common_vendor.unref(WORKORDER_add_model.useModel).formData.value.location === "MyHome" ? { - s: common_vendor.o(($event) => common_vendor.unref(WORKORDER_add_model.useModel).formData.value.expect_start_time = $event), - t: common_vendor.o(($event) => common_vendor.unref(WORKORDER_add_model.useModel).formData.value.expect_end_time = $event), - v: common_vendor.p({ - title: "期望上门时间", - required: true, - valueExpectStartTime: common_vendor.unref(WORKORDER_add_model.useModel).formData.value.expect_start_time, - valueExpectEndTime: common_vendor.unref(WORKORDER_add_model.useModel).formData.value.expect_end_time - }) - } : {}, { - w: common_vendor.o((_g = common_vendor.unref(WORKORDER_add_method.method)) == null ? void 0 : _g.handleSubmit), - x: common_vendor.p({ + s: common_vendor.o((_h = common_vendor.unref(WORKORDER_add_method.method)) == null ? void 0 : _h.handleSubmit), + t: common_vendor.p({ btnParimaryName: "提交" }) }); diff --git a/dist/dev/mp-weixin/WORKORDER/add/index.json b/dist/dev/mp-weixin/WORKORDER/add/index.json index 7436305..c7267d8 100644 --- a/dist/dev/mp-weixin/WORKORDER/add/index.json +++ b/dist/dev/mp-weixin/WORKORDER/add/index.json @@ -2,10 +2,10 @@ "navigationBarTitleText": "新增工单", "usingComponents": { "hs-cell": "../../components/hs-cell/hs-cell", + "hs-popup-project-houer": "../../components/hs-popup-project-houer/hs-popup-project-houer", "hs-input": "../../components/hs-input/hs-input", "hs-cell-textarea": "../../components/hs-cell-textarea/hs-cell-textarea", "hs-upload": "../../components/hs-upload/hs-upload", - "hs-reservation-picker": "../../components/hs-reservation-picker/hs-reservation-picker", "hs-footer": "../../components/hs-footer/hs-footer" } } \ No newline at end of file diff --git a/dist/dev/mp-weixin/WORKORDER/add/index.wxml b/dist/dev/mp-weixin/WORKORDER/add/index.wxml index 2914e5f..72b00b3 100644 --- a/dist/dev/mp-weixin/WORKORDER/add/index.wxml +++ b/dist/dev/mp-weixin/WORKORDER/add/index.wxml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/dist/dev/mp-weixin/WORKORDER/add/index.wxss b/dist/dev/mp-weixin/WORKORDER/add/index.wxss index e9c205a..403928e 100644 --- a/dist/dev/mp-weixin/WORKORDER/add/index.wxss +++ b/dist/dev/mp-weixin/WORKORDER/add/index.wxss @@ -13,4 +13,10 @@ page { .report_repair { padding: 10rpx 0; color: #999; +} +.text_gray { + font-size: 22rpx; + color: #666; + padding: 25rpx 0 30rpx 0; + border-top: 1rpx solid #eee; } \ No newline at end of file diff --git a/dist/dev/mp-weixin/WORKORDER/add/method.js b/dist/dev/mp-weixin/WORKORDER/add/method.js index 9750e89..9bc1a3b 100644 --- a/dist/dev/mp-weixin/WORKORDER/add/method.js +++ b/dist/dev/mp-weixin/WORKORDER/add/method.js @@ -10,17 +10,21 @@ const WORKORDER_add_model = require("./model.js"); common_store_useWeAppAuthStore.useWeAppAuthStore(); const work = common_store_useWorkStore.useWorkStore(); const method = { + unInit() { + WORKORDER_add_model.useModel.formData.value = { is_anonymous: false, is_self: "0" }; + work.selectWorkHouse = {}; + }, init() { var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l; console.log("init", work == null ? void 0 : work.selectWorkProject); WORKORDER_add_model.useModel.formData.value = { ...(_b = (_a = WORKORDER_add_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value }; - if ((_c = work == null ? void 0 : work.selectWorkHouse) == null ? void 0 : _c.value) { + if ((_c = work == null ? void 0 : work.selectWorkHouse) == null ? void 0 : _c.id) { WORKORDER_add_model.useModel.formData.value = { ...(_e = (_d = WORKORDER_add_model.useModel) == null ? void 0 : _d.formData) == null ? void 0 : _e.value, - asset_houses_id: (_f = work == null ? void 0 : work.selectWorkHouse) == null ? void 0 : _f.value, - full_name: (_g = work == null ? void 0 : work.selectWorkHouse) == null ? void 0 : _g.label + asset_houses_id: (_f = work == null ? void 0 : work.selectWorkHouse) == null ? void 0 : _f.id, + full_name: (_g = work == null ? void 0 : work.selectWorkHouse) == null ? void 0 : _g.full_name }; } if ((_h = work == null ? void 0 : work.selectWorkProject) == null ? void 0 : _h.id) { @@ -31,8 +35,18 @@ const method = { }; } }, + handleSelectProject(data) { + var _a, _b; + let obj = data[3]; + WORKORDER_add_model.useModel.formData.value = { + ...(_b = (_a = WORKORDER_add_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value, + asset_houses_id: obj == null ? void 0 : obj.id, + full_name: obj == null ? void 0 : obj.full_name + }; + console.log(data, "data"); + }, handleSubmit() { - var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t; + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q; console.log("handleSubmit", WORKORDER_add_model.useModel.formData.value); if (!((_c = (_b = (_a = WORKORDER_add_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value) == null ? void 0 : _c.type)) { return common_libraries_naviHelper.showToast("请选择工单类型!"); @@ -49,9 +63,6 @@ const method = { if (!((_q = (_p = (_o = WORKORDER_add_model.useModel) == null ? void 0 : _o.formData) == null ? void 0 : _p.value) == null ? void 0 : _q.content)) { return common_libraries_naviHelper.showToast("请输入问题描述!"); } - if (((_t = (_s = (_r = WORKORDER_add_model.useModel) == null ? void 0 : _r.formData) == null ? void 0 : _s.value) == null ? void 0 : _t.location) === "MyHome" && !WORKORDER_add_model.useModel.formData.value.expect_start_time) { - return common_libraries_naviHelper.showToast("请选择上门时间!"); - } common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.WorkOrder.HouseWorkOrders.Store, WORKORDER_add_model.useModel.formData.value).then((res) => { common_libraries_naviHelper.showToastBack("提交成功!", 1, true); console.log(res); diff --git a/dist/dev/mp-weixin/WORKORDER/patrol_update/index.js b/dist/dev/mp-weixin/WORKORDER/patrol_update/index.js new file mode 100644 index 0000000..a186498 --- /dev/null +++ b/dist/dev/mp-weixin/WORKORDER/patrol_update/index.js @@ -0,0 +1,75 @@ +"use strict"; +const common_vendor = require("../../common/vendor.js"); +const WORKORDER_patrol_update_method = require("./method.js"); +const WORKORDER_patrol_update_model = require("./model.js"); +require("../../common/libraries/request.js"); +require("../../common/store/useWeAppAuthStore.js"); +require("../../gen/Apis.js"); +require("../../common/store/useWatermarkStore.js"); +require("../../common/store/useWorkStore.js"); +require("../../common/libraries/apiLoading.js"); +require("../../common/libraries/naviHelper.js"); +if (!Array) { + const _easycom_hs_radio2 = common_vendor.resolveComponent("hs-radio"); + const _easycom_hs_cell2 = common_vendor.resolveComponent("hs-cell"); + const _easycom_hs_cell_textarea2 = common_vendor.resolveComponent("hs-cell-textarea"); + const _easycom_hs_upload2 = common_vendor.resolveComponent("hs-upload"); + const _easycom_hs_footer2 = common_vendor.resolveComponent("hs-footer"); + (_easycom_hs_radio2 + _easycom_hs_cell2 + _easycom_hs_cell_textarea2 + _easycom_hs_upload2 + _easycom_hs_footer2)(); +} +const _easycom_hs_radio = () => "../../components/hs-radio/hs-radio.js"; +const _easycom_hs_cell = () => "../../components/hs-cell/hs-cell.js"; +const _easycom_hs_cell_textarea = () => "../../components/hs-cell-textarea/hs-cell-textarea.js"; +const _easycom_hs_upload = () => "../../components/hs-upload/hs-upload.js"; +const _easycom_hs_footer = () => "../../components/hs-footer/hs-footer.js"; +if (!Math) { + (_easycom_hs_radio + _easycom_hs_cell + _easycom_hs_cell_textarea + _easycom_hs_upload + _easycom_hs_footer)(); +} +const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ + __name: "index", + setup(__props) { + common_vendor.onLoad((e) => { + var _a; + (_a = WORKORDER_patrol_update_method.method) == null ? void 0 : _a.init(e); + }); + return (_ctx, _cache) => { + var _a, _b, _c; + return common_vendor.e({ + a: common_vendor.unref(WORKORDER_patrol_update_model.useModel).formData.value.type === "RenovationAcceptance" + }, common_vendor.unref(WORKORDER_patrol_update_model.useModel).formData.value.type === "RenovationAcceptance" ? { + b: common_vendor.o(($event) => common_vendor.unref(WORKORDER_patrol_update_model.useModel).formData.value.is_passed = $event), + c: common_vendor.p({ + Enums: (_b = (_a = common_vendor.unref(WORKORDER_patrol_update_model.useModel)) == null ? void 0 : _a.HouseWorkOrdersStatusItemEnum) == null ? void 0 : _b.value, + valueModel: common_vendor.unref(WORKORDER_patrol_update_model.useModel).formData.value.is_passed + }), + d: common_vendor.p({ + title: "验收结果", + borderTop: true, + required: true + }) + } : {}, { + e: common_vendor.o(($event) => common_vendor.unref(WORKORDER_patrol_update_model.useModel).formData.value.description = $event), + f: common_vendor.p({ + title: common_vendor.unref(WORKORDER_patrol_update_model.useModel).formData.value.type === "RenovationInspection" ? "巡检备注" : "验收说明", + required: common_vendor.unref(WORKORDER_patrol_update_model.useModel).formData.value.type === "RenovationAcceptance", + placeholder: "请详细描述情况,包括具体位置现象等", + valueModel: common_vendor.unref(WORKORDER_patrol_update_model.useModel).formData.value.description + }), + g: common_vendor.o(($event) => common_vendor.unref(WORKORDER_patrol_update_model.useModel).formData.value.attachments = $event), + h: common_vendor.p({ + borderTop: true, + title: "上传图片", + required: true, + count: 6, + valueModel: common_vendor.unref(WORKORDER_patrol_update_model.useModel).formData.value.attachments + }), + i: common_vendor.o((_c = common_vendor.unref(WORKORDER_patrol_update_method.method)) == null ? void 0 : _c.handleSubmit), + j: common_vendor.p({ + btnParimaryName: "提交" + }) + }); + }; + } +}); +const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/WORKORDER/patrol_update/index.vue"]]); +wx.createPage(MiniProgramPage); diff --git a/dist/dev/mp-weixin/WORKORDER/patrol_update/index.json b/dist/dev/mp-weixin/WORKORDER/patrol_update/index.json new file mode 100644 index 0000000..52adbd5 --- /dev/null +++ b/dist/dev/mp-weixin/WORKORDER/patrol_update/index.json @@ -0,0 +1,10 @@ +{ + "navigationBarTitleText": "巡查更新", + "usingComponents": { + "hs-radio": "../../components/hs-radio/hs-radio", + "hs-cell": "../../components/hs-cell/hs-cell", + "hs-cell-textarea": "../../components/hs-cell-textarea/hs-cell-textarea", + "hs-upload": "../../components/hs-upload/hs-upload", + "hs-footer": "../../components/hs-footer/hs-footer" + } +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/WORKORDER/patrol_update/index.wxml b/dist/dev/mp-weixin/WORKORDER/patrol_update/index.wxml new file mode 100644 index 0000000..8aa904c --- /dev/null +++ b/dist/dev/mp-weixin/WORKORDER/patrol_update/index.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/dev/mp-weixin/WORKORDER/patrol_update/index.wxss b/dist/dev/mp-weixin/WORKORDER/patrol_update/index.wxss new file mode 100644 index 0000000..1490af2 --- /dev/null +++ b/dist/dev/mp-weixin/WORKORDER/patrol_update/index.wxss @@ -0,0 +1,8 @@ +page { + background-color: #f8f8f8; +} +.card_form { + background-color: #fff; + padding: 0 30rpx; + margin-bottom: 30rpx; +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/WORKORDER/patrol_update/method.js b/dist/dev/mp-weixin/WORKORDER/patrol_update/method.js new file mode 100644 index 0000000..a7533eb --- /dev/null +++ b/dist/dev/mp-weixin/WORKORDER/patrol_update/method.js @@ -0,0 +1,49 @@ +"use strict"; +require("../../common/libraries/request.js"); +require("../../common/store/useWatermarkStore.js"); +const common_store_useWeAppAuthStore = require("../../common/store/useWeAppAuthStore.js"); +require("../../common/store/useWorkStore.js"); +const WORKORDER_patrol_update_model = require("./model.js"); +const gen_Apis = require("../../gen/Apis.js"); +const common_libraries_apiLoading = require("../../common/libraries/apiLoading.js"); +const common_libraries_naviHelper = require("../../common/libraries/naviHelper.js"); +common_store_useWeAppAuthStore.useWeAppAuthStore(); +const method = { + init(data) { + WORKORDER_patrol_update_model.useModel.HouseWorkOrdersStatusItemEnum.value = { + Processing0: { text: "不合格", value: "0" }, + Processing1: { text: "合格", value: "1" } + }; + WORKORDER_patrol_update_model.useModel.formData.value = { + ...data, + house_work_orders_id: data == null ? void 0 : data.id + }; + }, + handleSubmit() { + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t; + console.log("handleSubmit", WORKORDER_patrol_update_model.useModel.formData.value); + if (((_c = (_b = (_a = WORKORDER_patrol_update_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value) == null ? void 0 : _c.type) === "RenovationInspection" && !((_g = (_f = (_e = (_d = WORKORDER_patrol_update_model.useModel) == null ? void 0 : _d.formData) == null ? void 0 : _e.value) == null ? void 0 : _f.attachments) == null ? void 0 : _g.length)) { + return common_libraries_naviHelper.showToast("请上传巡检图片!"); + } + if (((_j = (_i = (_h = WORKORDER_patrol_update_model.useModel) == null ? void 0 : _h.formData) == null ? void 0 : _i.value) == null ? void 0 : _j.type) === "RenovationAcceptance") { + if (!((_m = (_l = (_k = WORKORDER_patrol_update_model.useModel) == null ? void 0 : _k.formData) == null ? void 0 : _l.value) == null ? void 0 : _m.is_passed)) { + return common_libraries_naviHelper.showToast("请选择验收结果!"); + } + if (!((_p = (_o = (_n = WORKORDER_patrol_update_model.useModel) == null ? void 0 : _n.formData) == null ? void 0 : _o.value) == null ? void 0 : _p.description)) { + return common_libraries_naviHelper.showToast("请输入验收说明!"); + } + if (!((_t = (_s = (_r = (_q = WORKORDER_patrol_update_model.useModel) == null ? void 0 : _q.formData) == null ? void 0 : _r.value) == null ? void 0 : _s.attachments) == null ? void 0 : _t.length)) { + return common_libraries_naviHelper.showToast("请上传验收图片!"); + } + } + console.log("useModel.formData.value", WORKORDER_patrol_update_model.useModel.formData.value); + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.WorkOrder.HouseWorkLogs.Store, { + ...WORKORDER_patrol_update_model.useModel.formData.value, + status: "Completed" + }).then((res) => { + common_libraries_naviHelper.showToastBack("提交成功!", 1, true); + console.log(res); + }); + } +}; +exports.method = method; diff --git a/dist/dev/mp-weixin/WORKORDER/patrol_update/model.js b/dist/dev/mp-weixin/WORKORDER/patrol_update/model.js new file mode 100644 index 0000000..73e3a80 --- /dev/null +++ b/dist/dev/mp-weixin/WORKORDER/patrol_update/model.js @@ -0,0 +1,8 @@ +"use strict"; +const common_vendor = require("../../common/vendor.js"); +const useModel = { + formData: common_vendor.ref({}), + HouseWorkOrdersStatusItemEnum: common_vendor.ref(), + HouseWorkOrdersCostEnum: common_vendor.ref() +}; +exports.useModel = useModel; diff --git a/dist/dev/mp-weixin/WORKORDER/show/components/ProcessLogs.js b/dist/dev/mp-weixin/WORKORDER/show/components/ProcessLogs.js index 9e5da83..a597c28 100644 --- a/dist/dev/mp-weixin/WORKORDER/show/components/ProcessLogs.js +++ b/dist/dev/mp-weixin/WORKORDER/show/components/ProcessLogs.js @@ -19,6 +19,13 @@ if (!Math) { const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ __name: "ProcessLogs", setup(__props) { + const handlePreviewImage = (list, idx) => { + let urlList = (list == null ? void 0 : list.map((item) => item == null ? void 0 : item.url)) || []; + common_vendor.index.previewImage({ + urls: urlList, + current: idx + }); + }; return (_ctx, _cache) => { var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k; return common_vendor.e({ @@ -35,7 +42,8 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ d: common_vendor.f(i == null ? void 0 : i.attachments, (k, index2, i1) => { return { a: k == null ? void 0 : k.url, - b: `attachment_${index2}` + b: common_vendor.o(($event) => handlePreviewImage(i == null ? void 0 : i.attachments, index2), `attachment_${index2}`), + c: `attachment_${index2}` }; }), e: common_vendor.t(i == null ? void 0 : i.created_at), diff --git a/dist/dev/mp-weixin/WORKORDER/show/components/ProcessLogs.wxml b/dist/dev/mp-weixin/WORKORDER/show/components/ProcessLogs.wxml index c9b8825..ec1d197 100644 --- a/dist/dev/mp-weixin/WORKORDER/show/components/ProcessLogs.wxml +++ b/dist/dev/mp-weixin/WORKORDER/show/components/ProcessLogs.wxml @@ -1 +1 @@ - 处理日志 工单进度:{{i.c}}{{i.e}} \ No newline at end of file + 处理日志 工单进度:{{i.c}}{{i.e}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/WORKORDER/show/components/ProcessLogs.wxss b/dist/dev/mp-weixin/WORKORDER/show/components/ProcessLogs.wxss index 18d9113..7dfca02 100644 --- a/dist/dev/mp-weixin/WORKORDER/show/components/ProcessLogs.wxss +++ b/dist/dev/mp-weixin/WORKORDER/show/components/ProcessLogs.wxss @@ -21,6 +21,14 @@ height: 140rpx; overflow: hidden; border-radius: 15rpx; + display: flex; + align-items: center; + justify-content: center; + background-color: #f5f5f5; + margin-right: 20rpx; +} +.attachments .attachment_item.data-v-c8bc8d18:last-child { + margin-right: 0; } .attachments image.data-v-c8bc8d18 { width: 140rpx; diff --git a/dist/dev/mp-weixin/app.js b/dist/dev/mp-weixin/app.js index b7ef08a..9c2ed35 100644 --- a/dist/dev/mp-weixin/app.js +++ b/dist/dev/mp-weixin/app.js @@ -14,6 +14,7 @@ if (!Math) { "./pages/login.js"; "./pages/data_oard/index.js"; "./pages/public/select_project/index.js"; + "./pages/public/select_project/pages/permission_show.js"; "./pages/me/index.js"; "./pages/public/asset_houses/index.js"; "./pages/transfer/index.js"; @@ -24,7 +25,16 @@ if (!Math) { "./WORKORDER/show/index.js"; "./WORKORDER/add/index.js"; "./WORKORDER/poster/index.js"; + "./WORKORDER/acceptance/index.js"; + "./WORKORDER/patrol_update/index.js"; "./ME/work_order_home/index.js"; + "./ME/attendance/my_schedules/index.js"; + "./ME/attendance/sign_clock_in/index.js"; + "./ME/emergency/list/index.js"; + "./ME/emergency/add/index.js"; + "./ME/emergency/update/index.js"; + "./ME/emergency/change/index.js"; + "./ME/emergency/show/index.js"; "./ME/update/index.js"; "./ME/announcement/list/index.js"; "./ME/announcement/show/index.js"; diff --git a/dist/dev/mp-weixin/app.json b/dist/dev/mp-weixin/app.json index a8f31eb..d4b8216 100644 --- a/dist/dev/mp-weixin/app.json +++ b/dist/dev/mp-weixin/app.json @@ -5,6 +5,7 @@ "pages/login", "pages/data_oard/index", "pages/public/select_project/index", + "pages/public/select_project/pages/permission_show", "pages/me/index", "pages/public/asset_houses/index", "pages/transfer/index" @@ -19,13 +20,22 @@ "update/index", "show/index", "add/index", - "poster/index" + "poster/index", + "acceptance/index", + "patrol_update/index" ] }, { "root": "ME", "pages": [ "work_order_home/index", + "attendance/my_schedules/index", + "attendance/sign_clock_in/index", + "emergency/list/index", + "emergency/add/index", + "emergency/update/index", + "emergency/change/index", + "emergency/show/index", "update/index", "announcement/list/index", "announcement/show/index", diff --git a/dist/dev/mp-weixin/app.wxss b/dist/dev/mp-weixin/app.wxss index 86c8a6a..5f2549f 100644 --- a/dist/dev/mp-weixin/app.wxss +++ b/dist/dev/mp-weixin/app.wxss @@ -1,10 +1,7 @@ .u-line-1, .up-line-1 { - display: -webkit-box !important; overflow: hidden; + white-space: nowrap; text-overflow: ellipsis; - word-break: break-all; - -webkit-line-clamp: 1; - -webkit-box-orient: vertical !important; } .u-line-2, .up-line-2 { display: -webkit-box !important; @@ -123,48 +120,61 @@ .u-hover-class, .up-hover-class { opacity: 0.7; } +.u-empty, .u-empty__wrap, .u-transition, .u-tabs, .u-tabs__wrapper, .u-tabs__wrapper__scroll-view-wrapper, .u-tabs__wrapper__scroll-view, .u-tabs__wrapper__nav, .u-tabs__wrapper__nav__line, .up-empty, .up-empty__wrap, .up-transition, .up-tabs, .up-tabs__wrapper, .up-tabs__wrapper__scroll-view-wrapper, .up-tabs__wrapper__scroll-view, .up-tabs__wrapper__nav, .up-tabs__wrapper__nav__line { + display: flex; + flex-direction: column; + flex-shrink: 0; + flex-grow: 0; + flex-basis: auto; + align-items: stretch; + align-content: flex-start; +} .u-flex, .u-flex-row, .u-flex-x, .up-flex, .up-flex-row, .up-flex-x { display: flex; flex-direction: row; + display: flex !important; + flex-direction: row !important; } .u-flex-y, .u-flex-column, .up-flex-y, .up-flex-column { display: flex; flex-direction: column; + display: flex !important; + flex-direction: column !important; } .u-flex-x-center, .up-flex-x-center { display: flex; flex-direction: row; - justify-content: center; + justify-content: center !important; } .u-flex-xy-center, .up-flex-xy-center { display: flex; flex-direction: row; - justify-content: center; - align-items: center; + justify-content: center !important; + align-items: center !important; } .u-flex-y-center, .up-flex-y-center { display: flex; flex-direction: row; - align-items: center; + align-items: center !important; } .u-flex-x-left, .up-flex-x-left { display: flex; flex-direction: row; } .u-flex-x-reverse, .u-flex-row-reverse, .up-flex-x-reverse, .up-flex-row-reverse { - flex-direction: row-reverse; + flex-direction: row-reverse !important; } .u-flex-y-reverse, .u-flex-column-reverse, .up-flex-y-reverse, .up-flex-column-reverse { - flex-direction: column-reverse; + flex-direction: column-reverse !important; } .u-flex.u-flex-reverse, .u-flex-row.u-flex-reverse, .u-flex-x.u-flex-reverse, .up-flex.up-flex-reverse, .up-flex-row.up-flex-reverse, .up-flex-x.up-flex-reverse { - flex-direction: row-reverse; + flex-direction: row-reverse !important; } .u-flex-column.u-flex-reverse, .u-flex-y.u-flex-reverse, .up-flex-column.up-flex-reverse, .up-flex-y.up-flex-reverse { - flex-direction: column-reverse; + flex-direction: column-reverse !important; } .u-flex-fill, .up-flex-fill { - flex: 1 1 auto; + flex: 1 1 auto !important; } .u-margin-top-auto, .u-m-t-auto, .up-margin-top-auto, .up-m-t-auto { margin-top: auto !important; @@ -187,82 +197,82 @@ margin-bottom: auto !important; } .u-flex-wrap, .up-flex-wrap { - flex-wrap: wrap; + flex-wrap: wrap !important; } .u-flex-wrap-reverse, .up-flex-wrap-reverse { - flex-wrap: wrap-reverse; + flex-wrap: wrap-reverse !important; } .u-flex-start, .up-flex-start { - justify-content: flex-start; + justify-content: flex-start !important; } .u-flex-center, .up-flex-center { - justify-content: center; + justify-content: center !important; } .u-flex-end, .up-flex-end { - justify-content: flex-end; + justify-content: flex-end !important; } .u-flex-between, .up-flex-between { - justify-content: space-between; + justify-content: space-between !important; } .u-flex-around, .up-flex-around { - justify-content: space-around; + justify-content: space-around !important; } .u-flex-items-start, .up-flex-items-start { - align-items: flex-start; + align-items: flex-start !important; } .u-flex-items-center, .up-flex-items-center { - align-items: center; + align-items: center !important; } .u-flex-items-end, .up-flex-items-end { - align-items: flex-end; + align-items: flex-end !important; } .u-flex-items-baseline, .up-flex-items-baseline { - align-items: baseline; + align-items: baseline !important; } .u-flex-items-stretch, .up-flex-items-stretch { - align-items: stretch; + align-items: stretch !important; } .u-flex-self-start, .up-flex-self-start { - align-self: flex-start; + align-self: flex-start !important; } .u-flex-self-center, .up-flex-self-center { - align-self: center; + align-self: center !important; } .u-flex-self-end, .up-flex-self-end { - align-self: flex-end; + align-self: flex-end !important; } .u-flex-self-baseline, .up-flex-self-baseline { - align-self: baseline; + align-self: baseline !important; } .u-flex-self-stretch, .up-flex-self-stretch { - align-self: stretch; + align-self: stretch !important; } .u-flex-content-start, .up-flex-content-start { - align-content: flex-start; + align-content: flex-start !important; } .u-flex-content-center, .up-flex-content-center { - align-content: center; + align-content: center !important; } .u-flex-content-end, .up-flex-content-end { - align-content: flex-end; + align-content: flex-end !important; } .u-flex-content-between, .up-flex-content-between { - align-content: space-between; + align-content: space-between !important; } .u-flex-content-around, .up-flex-content-around { - align-content: space-around; + align-content: space-around !important; } .u-flex-middle, .up-flex-middle { - justify-content: center; - align-items: center; - align-self: center; - align-content: center; + justify-content: center !important; + align-items: center !important; + align-self: center !important; + align-content: center !important; } .u-flex-grow, .up-flex-grow { - flex-grow: 1; + flex-grow: 1 !important; } .u-flex-shrink, .up-flex-shrink { - flex-shrink: 1; + flex-shrink: 1 !important; } .u-margin-0, .u-m-0, .up-margin-0, .up-m-0 { margin: 0rpx !important; @@ -3188,4 +3198,9 @@ wx-swiper .wx-swiper-dot { justify-content: center; background: #f5f5f5; text-align: center !important; +} +.card_form { + background-color: #fff; + padding: 0 30rpx; + margin-bottom: 30rpx; }page{--status-bar-height:25px;--top-window-height:0px;--window-top:0px;--window-bottom:0px;--window-left:0px;--window-right:0px;--window-magin:0px}[data-c-h="true"]{display: none !important;} \ No newline at end of file diff --git a/dist/dev/mp-weixin/assets/empty_icon.c11822f3.svg b/dist/dev/mp-weixin/assets/empty_icon.c11822f3.svg deleted file mode 100644 index cbb1cf6..0000000 --- a/dist/dev/mp-weixin/assets/empty_icon.c11822f3.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/dist/dev/mp-weixin/common/assets.js b/dist/dev/mp-weixin/common/assets.js index a7ef4ac..0c97c08 100644 --- a/dist/dev/mp-weixin/common/assets.js +++ b/dist/dev/mp-weixin/common/assets.js @@ -1,7 +1,5 @@ "use strict"; -const _imports_0$1 = "/assets/empty_icon.c11822f3.svg"; const _imports_0 = "/assets/IdCard1.49557d44.png"; const _imports_1 = "/assets/IdCard2.c526cb3a.png"; -exports._imports_0 = _imports_0$1; -exports._imports_0$1 = _imports_0; +exports._imports_0 = _imports_0; exports._imports_1 = _imports_1; diff --git a/dist/dev/mp-weixin/common/libraries/day.js b/dist/dev/mp-weixin/common/libraries/day.js index c3b86fb..f4f4bfc 100644 --- a/dist/dev/mp-weixin/common/libraries/day.js +++ b/dist/dev/mp-weixin/common/libraries/day.js @@ -2,6 +2,31 @@ const common_vendor = require("../vendor.js"); common_vendor.dayjs.locale("zh-cn"); common_vendor.dayjs.extend(common_vendor.relativeTime); +const getShowDay = (day) => { + const weekMap = { + 0: "星期日", + 1: "星期一", + 2: "星期二", + 3: "星期三", + 4: "星期四", + 5: "星期五", + 6: "星期六" + }; + const targetDate = common_vendor.dayjs(day).startOf("day"); + const today = common_vendor.dayjs().startOf("day"); + const yesterday = today.subtract(1, "day"); + const tomorrow = today.add(1, "day"); + const weekDay = weekMap[targetDate.day()]; + if (targetDate.isSame(today, "day")) { + return `今天 ${weekDay}`; + } else if (targetDate.isSame(yesterday, "day")) { + return `昨天 ${weekDay}`; + } else if (targetDate.isSame(tomorrow, "day")) { + return `明天 ${weekDay}`; + } else { + return `${day} ${weekDay}`; + } +}; function ShowLastTime(time) { return time ? common_vendor.dayjs(time).fromNow() : "-"; } @@ -71,49 +96,6 @@ function getTimeStatus(endTime) { }; } } -function generateTimeSlots(externalDate = null) { - const baseDate = externalDate ? common_vendor.dayjs(externalDate) : common_vendor.dayjs(); - const now = externalDate ? common_vendor.dayjs(externalDate) : common_vendor.dayjs(); - const startHour = 8; - const endHour = 18; - const interval = 2; - const currentTime = now.valueOf(); - const slots = []; - let currentStart = startHour; - while (currentStart < endHour) { - const currentEnd = Math.min(currentStart + interval, endHour); - const startTime = baseDate.hour(currentStart).minute(0).second(0); - const endTime = baseDate.hour(currentEnd).minute(0).second(0); - const startStr = startTime.format("HH:mm"); - const endStr = endTime.format("HH:mm"); - const isCurrentPeriod = currentTime >= startTime.valueOf() && currentTime < endTime.valueOf(); - if (endTime.valueOf() > currentTime) { - slots.push({ - label: isCurrentPeriod ? "两个小时内" : `${startStr}-${endStr}`, - str: startStr, - end: endStr, - isCurrent: isCurrentPeriod, - date: baseDate.format("YYYY-MM-DD"), - startTimestamp: startTime.valueOf(), - endTimestamp: endTime.valueOf() - }); - } - currentStart = currentEnd; - } - console.log("slots", slots); - return slots; -} -function getCurrentHour() { - const now = new Date(); - const currentHour = now.getHours(); - const currentMinute = now.getMinutes(); - console.log(currentHour, currentMinute, "dayjs().hour()"); - return { currentHour, currentMinute }; -} -function getTheFutureDay(num = 1) { - const pastFifteenDays = common_vendor.dayjs().add(num, "day"); - return pastFifteenDays.format("YYYY-MM-DD"); -} function showCurrentTime() { return common_vendor.dayjs().format("HH:mm"); } @@ -149,16 +131,37 @@ function specificTime(targetTime) { console.log(hoursDiff, "hoursDiff"); return hoursDiff; } +function isOverHalfHourPast(targetTime) { + let dataTime = targetTime == null ? void 0 : targetTime.replace(/-/g, "/"); + const now = common_vendor.dayjs(); + const target = common_vendor.dayjs(dataTime); + const diffInMinutes = now.diff(target, "minute"); + return diffInMinutes > 30; +} +function isWithinTimeRange(targetTime, minutesRange = 30) { + let dataTime = targetTime == null ? void 0 : targetTime.replace(/-/g, "/"); + console.log(targetTime, dataTime, "targetTime"); + const now = common_vendor.dayjs(); + const checkTime = common_vendor.dayjs(dataTime); + const startTime = checkTime.startOf("day"); + const endTime = checkTime.endOf("day"); + return now.isAfter(startTime) && now.isBefore(endTime); +} +function showTime(time) { + let dataTime = time == null ? void 0 : time.replace(/-/g, "/"); + return dataTime ? common_vendor.dayjs(dataTime).format("HH:mm") : ""; +} exports.ShowLastTime = ShowLastTime; -exports.generateTimeSlots = generateTimeSlots; -exports.getCurrentHour = getCurrentHour; exports.getDay = getDay; exports.getDayTime = getDayTime; -exports.getTheFutureDay = getTheFutureDay; +exports.getShowDay = getShowDay; exports.getTime = getTime; exports.getTimeStatus = getTimeStatus; exports.isDatePassed = isDatePassed; +exports.isOverHalfHourPast = isOverHalfHourPast; +exports.isWithinTimeRange = isWithinTimeRange; exports.showCurrentTime = showCurrentTime; exports.showDay = showDay; +exports.showTime = showTime; exports.showWeekDay = showWeekDay; exports.specificTime = specificTime; diff --git a/dist/dev/mp-weixin/common/libraries/map.js b/dist/dev/mp-weixin/common/libraries/map.js index c7134cc..3980e46 100644 --- a/dist/dev/mp-weixin/common/libraries/map.js +++ b/dist/dev/mp-weixin/common/libraries/map.js @@ -1,22 +1,22 @@ "use strict"; const common_vendor = require("../vendor.js"); -function getMapAddress() { - const TIANDITU_KEY = "4ce26ecef55ae1ec47910a72a098efc0"; +function getMapLbs() { + const AMAP_KEY = "be262c006216c542747fce766130cee3"; return new Promise((resolve, reject) => { common_vendor.index.getLocation({ - type: "wgs84", + type: "gcj02", altitude: true, isHighAccuracy: true, success(res) { console.log(res, "经纬度"); - const url = `https://api.tianditu.gov.cn/geocoder?postStr={'lon':${res.longitude},'lat':${res.latitude},'ver':2}&type=geocode&tk=${TIANDITU_KEY}`; + const url = `https://restapi.amap.com/v3/geocode/regeo?location=${res.longitude},${res.latitude}&key=${AMAP_KEY}`; common_vendor.index.request({ url, method: "GET", success(res2) { - var _a, _b; - resolve({ address: ((_b = (_a = res2 == null ? void 0 : res2.data) == null ? void 0 : _a.result) == null ? void 0 : _b.formatted_address) || "" }); + var _a; console.log(res2, "address"); + resolve((_a = res2 == null ? void 0 : res2.data) == null ? void 0 : _a.regeocode); }, fail(res2) { resolve({ address: "拒绝定位" }); @@ -42,4 +42,4 @@ function getMapAddress() { }); }); } -exports.getMapAddress = getMapAddress; +exports.getMapLbs = getMapLbs; diff --git a/dist/dev/mp-weixin/common/libraries/mapDistance.js b/dist/dev/mp-weixin/common/libraries/mapDistance.js new file mode 100644 index 0000000..12c06be --- /dev/null +++ b/dist/dev/mp-weixin/common/libraries/mapDistance.js @@ -0,0 +1,36 @@ +"use strict"; +function CalculateDistance(point1, point2) { + if (!point1 || !point2) { + console.error("坐标点不能为空"); + return 0; + } + console.log("point1", point1); + console.log("point2", point2); + const lat1 = Number(point1.latitude); + const lng1 = Number(point1.longitude); + const lat2 = Number(point2.latitude); + const lng2 = Number(point2.longitude); + if (isNaN(lat1) || isNaN(lng1) || isNaN(lat2) || isNaN(lng2) || lat1 < -90 || lat1 > 90 || lat2 < -90 || lat2 > 90 || lng1 < -180 || lng1 > 180 || lng2 < -180 || lng2 > 180) { + console.error("无效的坐标值", { lat1, lng1, lat2, lng2 }); + return 0; + } + if (lat1 === lat2 && lng1 === lng2) { + return 0; + } + const R = 63710087714e-4; + const toRadians = (degree) => degree * (Math.PI / 180); + const φ1 = toRadians(lat1); + const φ2 = toRadians(lat2); + const Δφ = toRadians(lat2 - lat1); + const Δλ = toRadians(lng2 - lng1); + const sinHalfΔφ = Math.sin(Δφ / 2); + const sinHalfΔλ = Math.sin(Δλ / 2); + const a = sinHalfΔφ * sinHalfΔφ + Math.cos(φ1) * Math.cos(φ2) * sinHalfΔλ * sinHalfΔλ; + const aClamped = Math.min(Math.max(a, 0), 1); + const c = 2 * Math.atan2(Math.sqrt(aClamped), Math.sqrt(1 - aClamped)); + const distance = R * c; + let s = Math.round(distance * 100) / 100; + console.log("distancew误差", s); + return s; +} +exports.CalculateDistance = CalculateDistance; diff --git a/dist/dev/mp-weixin/common/libraries/request.js b/dist/dev/mp-weixin/common/libraries/request.js index e8175b2..a3f4133 100644 --- a/dist/dev/mp-weixin/common/libraries/request.js +++ b/dist/dev/mp-weixin/common/libraries/request.js @@ -3,7 +3,7 @@ const common_vendor = require("../vendor.js"); const common_store_useWeAppAuthStore = require("../store/useWeAppAuthStore.js"); const http = new common_vendor.Request(); http.setConfig((config) => { - config.baseURL = "http://10.39.13.78:8001/api/"; + config.baseURL = "https://weapp-api.linyikj.com.cn/api/"; config.header = { ...config.header }; diff --git a/dist/dev/mp-weixin/common/libraries/tools.js b/dist/dev/mp-weixin/common/libraries/tools.js new file mode 100644 index 0000000..a55cf88 --- /dev/null +++ b/dist/dev/mp-weixin/common/libraries/tools.js @@ -0,0 +1,14 @@ +"use strict"; +require("../vendor.js"); +function debounce(fn, delay) { + let timer = null; + return (...args) => { + if (timer) { + clearTimeout(timer); + } + timer = setTimeout(() => { + fn(...args); + }, delay); + }; +} +exports.debounce = debounce; diff --git a/dist/dev/mp-weixin/common/store/useWeAppAuthStore.js b/dist/dev/mp-weixin/common/store/useWeAppAuthStore.js index 1224fe8..ecd0086 100644 --- a/dist/dev/mp-weixin/common/store/useWeAppAuthStore.js +++ b/dist/dev/mp-weixin/common/store/useWeAppAuthStore.js @@ -10,14 +10,52 @@ const useWeAppAuthStore = common_vendor.defineStore("we_app_auth", () => { const data = common_vendor.ref({ user: { id: 0, name: "", phone: "" }, work_info: { session_key: "", openid: "" }, + permissions: [], environment: "" }); + const trackTimer = common_vendor.ref(null); + const startTrackTimer = () => { + if (trackTimer.value) { + clearInterval(trackTimer.value); + trackTimer.value = null; + } + trackTimer.value = setInterval(() => { + setTrack(); + }, 5 * 60 * 1e3); + }; + const setTrack = () => { + common_vendor.index.getLocation({ + type: "wgs84", + altitude: true, + isHighAccuracy: true, + success(res) { + gen_Apis.Apis.Attendance.AttendanceEmployeeTracks.Track({ latitude: res.latitude, longitude: res.longitude }); + console.log(res, "经纬度"); + }, + fail(res) { + common_vendor.index.hideLoading(); + common_vendor.index.showModal({ + title: "提示", + content: "定位失败,员工轨迹失效!请打开定位!", + success: function(res2) { + if (res2.confirm) { + common_vendor.index.openSetting(); + console.log("用户点击确定"); + } else if (res2.cancel) { + console.log("用户点击取消"); + } + } + }); + console.log(res, "获取经纬度失败"); + } + }); + }; function login(app) { const res = common_vendor.index.getSystemInfoSync(); data.value.environment = res == null ? void 0 : res.environment; console.log(res == null ? void 0 : res.environment, "res?.environment"); if ((res == null ? void 0 : res.environment) === "wxwork") { - common_vendor.index.qy.login({ + common_vendor.wx$1.qy.login({ success: function(res2) { console.log(res2); getWorkToken(app, res2.code); @@ -36,12 +74,17 @@ const useWeAppAuthStore = common_vendor.defineStore("we_app_auth", () => { } const getWorkToken = (app, code) => { gen_Apis.Apis.Login.Auth.WorkLogin({ code, app_id: wxworkId }).then((res) => { - var _a, _b, _c, _d; + var _a, _b, _c, _d, _e, _f, _g, _h; console.log("企业微信登录", res == null ? void 0 : res.data); data.value.user = (_a = res.data) == null ? void 0 : _a.user; data.value.work_info = (_b = res.data) == null ? void 0 : _b.work_info; + data.value.permissions = (_d = (_c = res.data) == null ? void 0 : _c.permissions[0]) == null ? void 0 : _d.children; loading.value = false; - common_vendor.index.setStorageSync("ACCESS_TOKEN_CUSTOMER", (_d = (_c = res == null ? void 0 : res.data) == null ? void 0 : _c.token) == null ? void 0 : _d.token); + common_vendor.index.setStorageSync("ACCESS_TOKEN_CUSTOMER", (_f = (_e = res == null ? void 0 : res.data) == null ? void 0 : _e.token) == null ? void 0 : _f.token); + if ((_h = (_g = res == null ? void 0 : res.data) == null ? void 0 : _g.user) == null ? void 0 : _h.phone) { + setTrack(); + startTrackTimer(); + } app == null ? void 0 : app.appContext.config.globalProperties.$isResolve(); }).catch(() => { loading.value = false; @@ -50,11 +93,16 @@ const useWeAppAuthStore = common_vendor.defineStore("we_app_auth", () => { }; const getWXToken = (app, code) => { gen_Apis.Apis.Login.Auth.Login({ code, app_id: wxAppId }).then((res) => { - var _a, _b, _c; + var _a, _b, _c, _d, _e, _f, _g; console.log("登录", res == null ? void 0 : res.data); data.value.user = (_a = res.data) == null ? void 0 : _a.user; + data.value.permissions = (_c = (_b = res.data) == null ? void 0 : _b.permissions[0]) == null ? void 0 : _c.children; loading.value = false; - common_vendor.index.setStorageSync("ACCESS_TOKEN_CUSTOMER", (_c = (_b = res == null ? void 0 : res.data) == null ? void 0 : _b.token) == null ? void 0 : _c.token); + common_vendor.index.setStorageSync("ACCESS_TOKEN_CUSTOMER", (_e = (_d = res == null ? void 0 : res.data) == null ? void 0 : _d.token) == null ? void 0 : _e.token); + if ((_g = (_f = res == null ? void 0 : res.data) == null ? void 0 : _f.user) == null ? void 0 : _g.phone) { + setTrack(); + startTrackTimer(); + } app == null ? void 0 : app.appContext.config.globalProperties.$isResolve(); }).catch(() => { loading.value = false; @@ -63,7 +111,9 @@ const useWeAppAuthStore = common_vendor.defineStore("we_app_auth", () => { }; function me(fun) { common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Login.Auth.Me, {}).then((res) => { + var _a, _b; data.value.user = res.data.user; + data.value.permissions = (_b = (_a = res.data) == null ? void 0 : _a.permissions[0]) == null ? void 0 : _b.children; console.log("me", res.data); loading.value = false; hasError.value = false; diff --git a/dist/dev/mp-weixin/common/vendor.js b/dist/dev/mp-weixin/common/vendor.js index 914d445..2cb3a92 100644 --- a/dist/dev/mp-weixin/common/vendor.js +++ b/dist/dev/mp-weixin/common/vendor.js @@ -415,15 +415,15 @@ function parse(format, [startDelimiter, endDelimiter]) { tokens.push({ type: "text", value: text }); } text = ""; - let sub = ""; + let sub2 = ""; char = format[position++]; while (char !== void 0 && char !== endDelimiter) { - sub += char; + sub2 += char; char = format[position++]; } const isClosed = char === endDelimiter; - const type = RE_TOKEN_LIST_VALUE.test(sub) ? "list" : isClosed && RE_TOKEN_NAMED_VALUE.test(sub) ? "named" : "unknown"; - tokens.push({ value: sub, type }); + const type = RE_TOKEN_LIST_VALUE.test(sub2) ? "list" : isClosed && RE_TOKEN_NAMED_VALUE.test(sub2) ? "named" : "unknown"; + tokens.push({ value: sub2, type }); } else { text += char; } @@ -869,19 +869,19 @@ const HOOK_FAIL = "fail"; const HOOK_COMPLETE = "complete"; const globalInterceptors = {}; const scopedInterceptors = {}; -function wrapperHook(hook, params) { +function wrapperHook(hook, params2) { return function(data) { - return hook(data, params) || data; + return hook(data, params2) || data; }; } -function queue$1(hooks, data, params) { +function queue$1(hooks, data, params2) { let promise2 = false; for (let i2 = 0; i2 < hooks.length; i2++) { const hook = hooks[i2]; if (promise2) { - promise2 = Promise.resolve(wrapperHook(hook, params)); + promise2 = Promise.resolve(wrapperHook(hook, params2)); } else { - const res = hook(data, params); + const res = hook(data, params2); if (isPromise(res)) { promise2 = Promise.resolve(res); } @@ -949,19 +949,19 @@ function getApiInterceptorHooks(method) { } return interceptor; } -function invokeApi(method, api, options, params) { +function invokeApi(method, api, options, params2) { const interceptor = getApiInterceptorHooks(method); if (interceptor && Object.keys(interceptor).length) { if (isArray$2(interceptor.invoke)) { const res = queue$1(interceptor.invoke, options); return res.then((options2) => { - return api(wrapperOptions(getApiInterceptorHooks(method), options2), ...params); + return api(wrapperOptions(getApiInterceptorHooks(method), options2), ...params2); }); } else { - return api(wrapperOptions(interceptor, options), ...params); + return api(wrapperOptions(interceptor, options), ...params2); } } - return api(options, ...params); + return api(options, ...params2); } function hasCallback(args) { if (isPlainObject$3(args) && [API_SUCCESS, API_FAIL, API_COMPLETE].find((cb) => isFunction(args[cb]))) { @@ -983,8 +983,8 @@ function promisify$1(name, fn) { }; } function formatApiArgs(args, options) { - const params = args[0]; - if (!options || !isPlainObject$3(options.formatArgs) && isPlainObject$3(params)) { + const params2 = args[0]; + if (!options || !isPlainObject$3(options.formatArgs) && isPlainObject$3(params2)) { return; } const formatArgs = options.formatArgs; @@ -993,13 +993,13 @@ function formatApiArgs(args, options) { const name = keys[i2]; const formatterOrDefaultValue = formatArgs[name]; if (isFunction(formatterOrDefaultValue)) { - const errMsg = formatterOrDefaultValue(args[0][name], params); + const errMsg = formatterOrDefaultValue(args[0][name], params2); if (isString(errMsg)) { return errMsg; } } else { - if (!hasOwn$1(params, name)) { - params[name] = formatterOrDefaultValue; + if (!hasOwn$1(params2, name)) { + params2[name] = formatterOrDefaultValue; } } } @@ -2356,7 +2356,7 @@ function size(target, isReadonly2 = false) { !isReadonly2 && track(toRaw(target), "iterate", ITERATE_KEY); return Reflect.get(target, "size", target); } -function add(value2) { +function add$1(value2) { value2 = toRaw(value2); const target = toRaw(this); const proto = getProto(target); @@ -2476,7 +2476,7 @@ function createInstrumentations() { return size(this); }, has, - add, + add: add$1, set: set$2, delete: deleteEntry, clear, @@ -2490,7 +2490,7 @@ function createInstrumentations() { return size(this); }, has, - add, + add: add$1, set: set$2, delete: deleteEntry, clear, @@ -3402,8 +3402,8 @@ function createDevtoolsPerformanceHook(hook) { emit$1(hook, component.appContext.app, component.uid, component, type, time); }; } -function devtoolsComponentEmit(component, event, params) { - emit$1("component:emit", component.appContext.app, component, event, params); +function devtoolsComponentEmit(component, event, params2) { + emit$1("component:emit", component.appContext.app, component, event, params2); } function emit(instance, event, ...rawArgs) { if (instance.isUnmounted) @@ -6315,14 +6315,19 @@ function stringify(styles) { } return ret; } +function setRef(ref2, id, opts = {}) { + const { $templateRefs } = getCurrentInstance(); + $templateRefs.push({ i: id, r: ref2, k: opts.k, f: opts.f }); +} const o$1 = (value2, key) => vOn(value2, key); const f$1 = (source, renderItem) => vFor(source, renderItem); const r$1 = (name, props2, key) => renderSlot(name, props2, key); const s$1 = (value2) => stringifyStyle(value2); const e = (target, ...sources) => extend(target, ...sources); const n$1 = (value2) => normalizeClass(value2); -const t$1 = (val) => toDisplayString(val); +const t$2 = (val) => toDisplayString(val); const p$1 = (props2) => renderProps(props2); +const sr = (ref2, id, opts) => setRef(ref2, id, opts); function createApp$1(rootComponent, rootProps = null) { rootComponent && (rootComponent.mpType = "app"); return createVueApp(rootComponent, rootProps).use(plugin); @@ -8063,6 +8068,9 @@ function array(value2) { function object(value2) { return Object.prototype.toString.call(value2) === "[object Object]"; } +function objectPromise(value2) { + return Object.prototype.toString.call(value2) === "[object Promise]"; +} function code(value2, len = 6) { return new RegExp(`^\\d{${len}}$`).test(value2); } @@ -8070,7 +8078,7 @@ function func(value2) { return typeof value2 === "function"; } function promise(value2) { - return object(value2) && func(value2.then) && func(value2.catch); + return objectPromise(value2) && func(value2.then) && func(value2.catch); } function image(value2) { const newValue = value2.split("?")[0]; @@ -8179,7 +8187,7 @@ function round(num, ratio) { const version = "3"; { console.log(` - %c uview-plus V${version} %c https://ijry.github.io/uview-plus/ + %c uview-plus V${version} %c https://uview-plus.jiangruyi.com/ `, "color: #ffffff; background: #3c9cff; padding:5px 0;", "color: #3c9cff;background: #ffffff; padding:5px 0;"); } @@ -8215,8 +8223,23 @@ const config = { "up-tips-color": "#909399", "up-light-color": "#c0c4cc" }, + // 字体图标地址 + iconUrl: "https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf", + // 自定义图标 + customIcon: { + family: "", + url: "" + }, + customIcons: {}, + // 自定义图标与unicode对应关系 // 默认单位,可以通过配置为rpx,那么在用于传入组件大小参数为数值时,就默认为rpx - unit: "px" + unit: "px", + // 拦截器 + interceptor: { + navbarLeftClick: null + }, + // 只加载一次字体 + loadFontOnce: false }; function range(min = 0, max = 0, value2 = 0) { return Math.max(min, Math.min(max, Number(value2))); @@ -8230,6 +8253,9 @@ function getPx(value2, unit = false) { } return unit ? `${parseInt(value2)}px` : parseInt(value2); } +function rpx2px(value2) { + return index$1.rpx2px(value2); +} function sleep(value2 = 30) { return new Promise((resolve2) => { setTimeout(() => { @@ -8282,8 +8308,13 @@ function guid(len = 32, firstU = true, radix = null) { function $parent(name = void 0) { let parent = this.$parent; while (parent) { - name = name.replace(/up-([a-zA-Z0-9-_]+)/g, "u-$1"); - if (parent.$options && parent.$options.name !== name) { + let name2 = ""; + if (name.startsWith("up-")) { + name2 = name.replace(/up-([a-zA-Z0-9-_]+)/g, "u-$1"); + } else if (name.startsWith("u-")) { + name2 = name.replace(/u-([a-zA-Z0-9-_]+)/g, "up-$1"); + } + if (parent.$options && parent.$options.name !== name && parent.$options.name !== name2) { parent = parent.$parent; } else { return parent; @@ -8426,6 +8457,8 @@ function timeFormat(dateTime = null, formatStr = "yyyy-mm-dd") { date2 = new Date(dateTime * 1e3); } else if (typeof dateTime === "string" && /^\d+$/.test(dateTime.trim())) { date2 = new Date(Number(dateTime)); + } else if (typeof dateTime === "string" && /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/.test(dateTime)) { + date2 = new Date(dateTime); } else { date2 = new Date( typeof dateTime === "string" ? dateTime.replace(/-/g, "/") : dateTime @@ -8620,8 +8653,8 @@ function padZero(value2) { return `00${value2}`.slice(-2); } function formValidate(instance, event) { - const formItem = $parent.call(instance, "u-form-item"); - const form = $parent.call(instance, "u-form"); + const formItem = $parent.call(instance, "up-form-item"); + const form = $parent.call(instance, "up-form"); if (formItem && form) { form.validateField(formItem.prop, () => { }, event); @@ -8687,6 +8720,71 @@ function getValueByPath(obj, path) { return acc && acc[curr] !== void 0 ? acc[curr] : void 0; }, obj); } +function genLightColor(textColor, lightness = 95) { + const rgb = parseColorWithoutDOM(textColor); + const hsl = rgbToHsl(rgb.r, rgb.g, rgb.b); + const bgHsl = { + h: hsl.h, + s: hsl.s, + l: Math.min(lightness, 95) + }; + return hslToHex(bgHsl.h, bgHsl.s, bgHsl.l); +} +function parseColorWithoutDOM(colorStr) { + const str = colorStr.toLowerCase().trim(); + if (str.startsWith("#")) { + const hex = str.replace("#", ""); + const fullHex = hex.length === 3 ? hex.split("").map((c2) => c2 + c2).join("") : hex; + return { + r: parseInt(fullHex.substring(0, 2), 16), + g: parseInt(fullHex.substring(2, 4), 16), + b: parseInt(fullHex.substring(4, 6), 16) + }; + } + const rgbMatch = str.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/); + if (rgbMatch) { + return { + r: +rgbMatch[1], + g: +rgbMatch[2], + b: +rgbMatch[3] + }; + } + throw new Error("Invalid color format"); +} +function rgbToHsl(r2, g2, b2) { + r2 /= 255, g2 /= 255, b2 /= 255; + const max = Math.max(r2, g2, b2), min = Math.min(r2, g2, b2); + let h2, s2, l2 = (max + min) / 2; + if (max === min) { + h2 = s2 = 0; + } else { + const d2 = max - min; + s2 = l2 > 0.5 ? d2 / (2 - max - min) : d2 / (max + min); + switch (max) { + case r2: + h2 = (g2 - b2) / d2 + (g2 < b2 ? 6 : 0); + break; + case g2: + h2 = (b2 - r2) / d2 + 2; + break; + case b2: + h2 = (r2 - g2) / d2 + 4; + break; + } + h2 = (h2 * 60).toFixed(1); + } + return { h: +h2, s: +(s2 * 100).toFixed(1), l: +(l2 * 100).toFixed(1) }; +} +function hslToHex(h2, s2, l2) { + l2 /= 100; + const a2 = s2 * Math.min(l2, 1 - l2) / 100; + const f2 = (n2) => { + const k2 = (n2 + h2 / 30) % 12; + const color2 = l2 - a2 * Math.max(Math.min(k2 - 3, 9 - k2, 1), -1); + return Math.round(255 * color2).toString(16).padStart(2, "0"); + }; + return `#${f2(0)}${f2(8)}${f2(4)}`; +} const index = { range, getPx, @@ -8718,8 +8816,9 @@ const index = { setProperty, page, pages: pages$1, - getValueByPath - // setConfig + getValueByPath, + genLightColor, + rpx2px }; class Router { constructor() { @@ -8744,21 +8843,21 @@ class Router { return url2[0] === "/" ? url2 : `/${url2}`; } // 整合路由参数 - mixinParam(url2, params) { + mixinParam(url2, params2) { url2 = url2 && this.addRootPath(url2); let query = ""; if (/.*\/.*\?.*=.*/.test(url2)) { - query = queryParams(params, false); + query = queryParams(params2, false); return url2 += `&${query}`; } - query = queryParams(params); + query = queryParams(params2); return url2 += query; } // 对外的方法名称 - async route(options = {}, params = {}) { + async route(options = {}, params2 = {}) { let mergeConfig2 = {}; if (typeof options === "string") { - mergeConfig2.url = this.mixinParam(options, params); + mergeConfig2.url = this.mixinParam(options, params2); mergeConfig2.type = "navigateTo"; } else { mergeConfig2 = deepMerge$2(this.config, options); @@ -8766,10 +8865,10 @@ class Router { } if (mergeConfig2.url === page()) return; - if (params.intercept) { - this.config.intercept = params.intercept; + if (params2.intercept) { + this.config.intercept = params2.intercept; } - mergeConfig2.params = params; + mergeConfig2.params = params2; mergeConfig2 = deepMerge$2(this.config, mergeConfig2); if (typeof index$1.$u.routeIntercept === "function") { const isNext = await new Promise((resolve2, reject) => { @@ -8957,6 +9056,236 @@ const mpMixin = defineMixin({ virtualHost: true } }); +function colorGradient(startColor = "rgb(0, 0, 0)", endColor = "rgb(255, 255, 255)", step = 10) { + const startRGB = hexToRgb(startColor, false); + const startR = startRGB[0]; + const startG = startRGB[1]; + const startB = startRGB[2]; + const endRGB = hexToRgb(endColor, false); + const endR = endRGB[0]; + const endG = endRGB[1]; + const endB = endRGB[2]; + const sR = (endR - startR) / step; + const sG = (endG - startG) / step; + const sB = (endB - startB) / step; + const colorArr = []; + for (let i2 = 0; i2 < step; i2++) { + let hex = rgbToHex(`rgb(${Math.round(sR * i2 + startR)},${Math.round(sG * i2 + startG)},${Math.round(sB * i2 + startB)})`); + if (i2 === 0) + hex = rgbToHex(startColor); + if (i2 === step - 1) + hex = rgbToHex(endColor); + colorArr.push(hex); + } + return colorArr; +} +function hexToRgb(sColor, str = true) { + const reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/; + sColor = String(sColor).toLowerCase(); + if (sColor && reg.test(sColor)) { + if (sColor.length === 4) { + let sColorNew = "#"; + for (let i2 = 1; i2 < 4; i2 += 1) { + sColorNew += sColor.slice(i2, i2 + 1).concat(sColor.slice(i2, i2 + 1)); + } + sColor = sColorNew; + } + const sColorChange = []; + for (let i2 = 1; i2 < 7; i2 += 2) { + sColorChange.push(parseInt(`0x${sColor.slice(i2, i2 + 2)}`)); + } + if (!str) { + return sColorChange; + } + return `rgb(${sColorChange[0]},${sColorChange[1]},${sColorChange[2]})`; + } + if (/^(rgb|RGB)/.test(sColor)) { + const arr = sColor.replace(/(?:\(|\)|rgb|RGB)*/g, "").split(","); + return arr.map((val) => Number(val)); + } + return sColor; +} +function rgbToHex(rgb) { + const _this = rgb; + const reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/; + if (/^(rgb|RGB)/.test(_this)) { + const aColor = _this.replace(/(?:\(|\)|rgb|RGB)*/g, "").split(","); + let strHex = "#"; + for (let i2 = 0; i2 < aColor.length; i2++) { + let hex = Number(aColor[i2]).toString(16); + hex = String(hex).length == 1 ? `${0}${hex}` : hex; + if (hex === "0") { + hex += hex; + } + strHex += hex; + } + if (strHex.length !== 7) { + strHex = _this; + } + return strHex; + } + if (reg.test(_this)) { + const aNum = _this.replace(/#/, "").split(""); + if (aNum.length === 6) { + return _this; + } + if (aNum.length === 3) { + let numHex = "#"; + for (let i2 = 0; i2 < aNum.length; i2 += 1) { + numHex += aNum[i2] + aNum[i2]; + } + return numHex; + } + } else { + return _this; + } +} +function colorToRgba(color2, alpha) { + color2 = rgbToHex(color2); + const reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/; + let sColor = String(color2).toLowerCase(); + if (sColor && reg.test(sColor)) { + if (sColor.length === 4) { + let sColorNew = "#"; + for (let i2 = 1; i2 < 4; i2 += 1) { + sColorNew += sColor.slice(i2, i2 + 1).concat(sColor.slice(i2, i2 + 1)); + } + sColor = sColorNew; + } + const sColorChange = []; + for (let i2 = 1; i2 < 7; i2 += 2) { + sColorChange.push(parseInt(`0x${sColor.slice(i2, i2 + 2)}`)); + } + return `rgba(${sColorChange.join(",")},${alpha})`; + } + return sColor; +} +const colorGradient$1 = { + colorGradient, + hexToRgb, + rgbToHex, + colorToRgba +}; +let timeout = null; +function debounce(func2, wait = 500, immediate = false) { + if (timeout !== null) + clearTimeout(timeout); + if (immediate) { + const callNow = !timeout; + timeout = setTimeout(() => { + timeout = null; + }, wait); + if (callNow) + typeof func2 === "function" && func2(); + } else { + timeout = setTimeout(() => { + typeof func2 === "function" && func2(); + }, wait); + } +} +let flag; +function throttle(func2, wait = 500, immediate = true) { + if (immediate) { + if (!flag) { + flag = true; + typeof func2 === "function" && func2(); + setTimeout(() => { + flag = false; + }, wait); + } + } else if (!flag) { + flag = true; + setTimeout(() => { + flag = false; + typeof func2 === "function" && func2(); + }, wait); + } +} +function add(arg1, arg2) { + var r1, r2, m2; + try { + r1 = arg1.toString().split(".")[1].length; + } catch (e2) { + r1 = 0; + } + try { + r2 = arg2.toString().split(".")[1].length; + } catch (e2) { + r2 = 0; + } + m2 = Math.pow(10, Math.max(r1, r2)); + return (arg1 * m2 + arg2 * m2) / m2; +} +function sub(arg1, arg2) { + var r1, r2, m2, n2; + try { + r1 = arg1.toString().split(".")[1].length; + } catch (e2) { + r1 = 0; + } + try { + r2 = arg2.toString().split(".")[1].length; + } catch (e2) { + r2 = 0; + } + m2 = Math.pow(10, Math.max(r1, r2)); + n2 = r1 >= r2 ? r1 : r2; + return Math.abs(((arg1 * m2 - arg2 * m2) / m2).toFixed(n2)); +} +function mul(a2, b2) { + var c2 = 0, d2 = a2.toString(), e2 = b2.toString(); + try { + c2 += d2.split(".")[1].length; + } catch (f2) { + } + try { + c2 += e2.split(".")[1].length; + } catch (f2) { + } + return Number(d2.replace(".", "")) * Number(e2.replace(".", "")) / Math.pow(10, c2); +} +function div(a2, b2) { + var c2, d2, e2 = 0, f2 = 0; + try { + e2 = a2.toString().split(".")[1].length; + } catch (g2) { + } + try { + f2 = b2.toString().split(".")[1].length; + } catch (g2) { + } + return c2 = Number(a2.toString().replace(".", "")), d2 = Number(b2.toString().replace(".", "")), xyutil.mul(c2 / d2, Math.pow(10, f2 - e2)); +} +const calc = { + add, + sub, + mul, + div +}; +const zIndex = { + toast: 10090, + noNetwork: 10080, + // popup包含popup,actionsheet,keyboard,picker的值 + popup: 10075, + mask: 10070, + navbar: 980, + topTips: 975, + sticky: 970, + indexListSticky: 965 +}; +const color$3 = { + primary: "#3c9cff", + info: "#909399", + default: "#909399", + warning: "#f9ae3d", + error: "#f56c6c", + success: "#5ac725", + mainColor: "#303133", + contentColor: "#606266", + tipsColor: "#909399", + lightColor: "#c0c4cc", + borderColor: "#e4e7ed" +}; const { toString: toString$1 } = Object.prototype; function isArray$1(val) { return toString$1.call(val) === "[object Array]"; @@ -9014,16 +9343,16 @@ function isUndefined$1(val) { function encode$1(val) { return encodeURIComponent(val).replace(/%40/gi, "@").replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]"); } -function buildURL$1(url2, params) { - if (!params) { +function buildURL$1(url2, params2) { + if (!params2) { return url2; } let serializedParams; - if (isURLSearchParams$1(params)) { - serializedParams = params.toString(); + if (isURLSearchParams$1(params2)) { + serializedParams = params2.toString(); } else { const parts = []; - forEach$1(params, (val, key) => { + forEach$1(params2, (val, key) => { if (val === null || typeof val === "undefined") { return; } @@ -9540,151 +9869,7 @@ let Request$1 = class Request { return this.middleware(config2); } }; -function colorGradient(startColor = "rgb(0, 0, 0)", endColor = "rgb(255, 255, 255)", step = 10) { - const startRGB = hexToRgb(startColor, false); - const startR = startRGB[0]; - const startG = startRGB[1]; - const startB = startRGB[2]; - const endRGB = hexToRgb(endColor, false); - const endR = endRGB[0]; - const endG = endRGB[1]; - const endB = endRGB[2]; - const sR = (endR - startR) / step; - const sG = (endG - startG) / step; - const sB = (endB - startB) / step; - const colorArr = []; - for (let i2 = 0; i2 < step; i2++) { - let hex = rgbToHex(`rgb(${Math.round(sR * i2 + startR)},${Math.round(sG * i2 + startG)},${Math.round(sB * i2 + startB)})`); - if (i2 === 0) - hex = rgbToHex(startColor); - if (i2 === step - 1) - hex = rgbToHex(endColor); - colorArr.push(hex); - } - return colorArr; -} -function hexToRgb(sColor, str = true) { - const reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/; - sColor = String(sColor).toLowerCase(); - if (sColor && reg.test(sColor)) { - if (sColor.length === 4) { - let sColorNew = "#"; - for (let i2 = 1; i2 < 4; i2 += 1) { - sColorNew += sColor.slice(i2, i2 + 1).concat(sColor.slice(i2, i2 + 1)); - } - sColor = sColorNew; - } - const sColorChange = []; - for (let i2 = 1; i2 < 7; i2 += 2) { - sColorChange.push(parseInt(`0x${sColor.slice(i2, i2 + 2)}`)); - } - if (!str) { - return sColorChange; - } - return `rgb(${sColorChange[0]},${sColorChange[1]},${sColorChange[2]})`; - } - if (/^(rgb|RGB)/.test(sColor)) { - const arr = sColor.replace(/(?:\(|\)|rgb|RGB)*/g, "").split(","); - return arr.map((val) => Number(val)); - } - return sColor; -} -function rgbToHex(rgb) { - const _this = rgb; - const reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/; - if (/^(rgb|RGB)/.test(_this)) { - const aColor = _this.replace(/(?:\(|\)|rgb|RGB)*/g, "").split(","); - let strHex = "#"; - for (let i2 = 0; i2 < aColor.length; i2++) { - let hex = Number(aColor[i2]).toString(16); - hex = String(hex).length == 1 ? `${0}${hex}` : hex; - if (hex === "0") { - hex += hex; - } - strHex += hex; - } - if (strHex.length !== 7) { - strHex = _this; - } - return strHex; - } - if (reg.test(_this)) { - const aNum = _this.replace(/#/, "").split(""); - if (aNum.length === 6) { - return _this; - } - if (aNum.length === 3) { - let numHex = "#"; - for (let i2 = 0; i2 < aNum.length; i2 += 1) { - numHex += aNum[i2] + aNum[i2]; - } - return numHex; - } - } else { - return _this; - } -} -function colorToRgba(color2, alpha) { - color2 = rgbToHex(color2); - const reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/; - let sColor = String(color2).toLowerCase(); - if (sColor && reg.test(sColor)) { - if (sColor.length === 4) { - let sColorNew = "#"; - for (let i2 = 1; i2 < 4; i2 += 1) { - sColorNew += sColor.slice(i2, i2 + 1).concat(sColor.slice(i2, i2 + 1)); - } - sColor = sColorNew; - } - const sColorChange = []; - for (let i2 = 1; i2 < 7; i2 += 2) { - sColorChange.push(parseInt(`0x${sColor.slice(i2, i2 + 2)}`)); - } - return `rgba(${sColorChange.join(",")},${alpha})`; - } - return sColor; -} -const colorGradient$1 = { - colorGradient, - hexToRgb, - rgbToHex, - colorToRgba -}; -let timeout = null; -function debounce(func2, wait = 500, immediate = false) { - if (timeout !== null) - clearTimeout(timeout); - if (immediate) { - const callNow = !timeout; - timeout = setTimeout(() => { - timeout = null; - }, wait); - if (callNow) - typeof func2 === "function" && func2(); - } else { - timeout = setTimeout(() => { - typeof func2 === "function" && func2(); - }, wait); - } -} -let flag; -function throttle(func2, wait = 500, immediate = true) { - if (immediate) { - if (!flag) { - flag = true; - typeof func2 === "function" && func2(); - setTimeout(() => { - flag = false; - }, wait); - } - } else if (!flag) { - flag = true; - setTimeout(() => { - flag = false; - typeof func2 === "function" && func2(); - }, wait); - } -} +const http = new Request$1(); const ActionSheet = { // action-sheet组件 actionSheet: { @@ -9692,6 +9877,8 @@ const ActionSheet = { title: "", description: "", actions: [], + nameKey: "name", + subnameKey: "subnameKey", index: "", cancelText: "", closeOnClickAction: true, @@ -9731,7 +9918,11 @@ const Alert = { showIcon: false, effect: "light", center: false, - fontSize: 14 + fontSize: 14, + transitionMode: "fade", + duration: 0, + icon: "", + value: true } }; const Avatar = { @@ -9837,15 +10028,813 @@ const Button = { stop: true } }; +const zhHans = { + "up.common.cancel": "取消", + "up.common.confirm": "确定", + "up.common.start": "开始", + "up.common.end": "结束", + "up.common.stop": "停止", + "up.common.copy": "复制", + "up.common.none": "暂无", + "up.common.tip": "提示", + "up.common.success": "成功", + "up.common.fail": "失败", + "up.common.close": "关闭", + "up.common.preview": "预览", + "up.common.re-select": "重选", + "up.common.rotate": "旋转", + "up.common.pleaseChoose": "请选择", + "up.common.loading": "加载中", + "up.common.loading2": "正在加载", + "up.common.inOperation": "操作中", + "up.common.settings": "设置", + "up.common.retry": "重试", + "up.common.search": "搜索", + "up.common.more": "更多", + "up.common.video": "视频", + "up.common.file": "文件", + "up.week.one": "一", + "up.week.two": "二", + "up.week.three": "三", + "up.week.four": "四", + "up.week.five": "五", + "up.week.six": "六", + "up.week.seven": "日", + "up.barcode.error": "生成条码失败", + "up.calendar.chooseDates": "日期选择", + "up.calendar.disabled": "该日期已禁用", + "up.calendar.daysExceed": "选择天数不能超过{days}天", + "up.cityLocate.locateCity": "定位城市", + "up.cityLocate.fail": "定位失败,请点击重试。", + "up.cityLocate.locating": "定位中", + "up.code.send": "获取验证码", + "up.code.resendAfter": "X秒重新获取", + "up.code.resend": "重新获取", + "up.cropper.emptyWidhtOrHeight": "裁剪框的宽或高没有设置", + "up.empty.car": "购物车为空", + "up.empty.page": "页面不存在", + "up.empty.search": "没有搜索结果", + "up.empty.address": "没有收货地址", + "up.empty.wifi": "没有WiFi", + "up.empty.order": "订单为空", + "up.empty.coupon": "没有优惠券", + "up.empty.favor": "暂无收藏", + "up.empty.permission": "无权限", + "up.empty.history": "无历史记录", + "up.empty.news": "无新闻列表", + "up.empty.message": "消息列表为空", + "up.empty.list": "列表为空", + "up.empty.data": "数据为空", + "up.empty.comment": "暂无评论", + "up.link.copyed": "链接已复制,请在浏览器打开", + "up.loadmoe.loadmore": "加载更多", + "up.loadmoe.nomore": "没有更多了", + "up.noNetwork.text": "哎呀,网络信号丢失", + "up.noNetwork.pleaseCheck": "请检查网络,或前往", + "up.noNetwork.connect": "网络已连接", + "up.noNetwork.disconnect": "无网络连接", + "up.pagination.previous": "上一页", + "up.pagination.next": "下一页", + "up.pullRefresh.pull": "下拉刷新", + "up.pullRefresh.release": "释放刷新", + "up.pullRefresh.refreshing": "正在刷新", + "up.readMore.expand": "展开阅读全文", + "up.readMore.fold": "收起", + "up.search.placeholder": "请输入关键字", + "up.signature.penSize": "笔画大小", + "up.signature.penColor": "笔画颜色", + "up.upload.sizeExceed": "超过大小限制", + "up.upload.uploading": "上传中", + "up.upload.previewImageFail": "预览图片失败", + "up.upload.previewVideoFail": "预览视频失败", + "up.goodsSku.stock": "库存", + "up.goodsSku.price": "价格", + "up.goodsSku.amount": "件", + "up.goodsSku.choosed": "已选", + "up.goodsSku.buyAmount": "购买数量" +}; +const zhHant = { + "up.common.cancel": "取消", + "up.common.confirm": "確定", + "up.common.start": "開始", + "up.common.end": "結束", + "up.common.stop": "停止", + "up.common.copy": "複製", + "up.common.none": "暫無", + "up.common.tip": "提示", + "up.common.success": "成功", + "up.common.fail": "失敗", + "up.common.close": "關閉", + "up.common.preview": "預覽", + "up.common.re-select": "重選", + "up.common.rotate": "旋轉", + "up.common.pleaseChoose": "請選擇", + "up.common.loading": "加載中", + "up.common.loading2": "正在加載", + "up.common.inOperation": "操作中", + "up.common.settings": "設置", + "up.common.retry": "重試", + "up.common.search": "搜索", + "up.common.more": "更多", + "up.common.video": "視頻", + "up.common.file": "文件", + "up.week.one": "一", + "up.week.two": "二", + "up.week.three": "三", + "up.week.four": "四", + "up.week.five": "五", + "up.week.six": "六", + "up.week.seven": "日", + "up.barcode.error": "生成條碼失敗", + "up.calendar.chooseDates": "日期選擇", + "up.calendar.disabled": "該日期已禁用", + "up.calendar.daysExceed": "選擇天數不能超過{days}天", + "up.cityLocate.locateCity": "定位城市", + "up.cityLocate.fail": "定位失敗,請點擊重試。", + "up.cityLocate.locating": "定位中", + "up.code.send": "獲取驗證碼", + "up.code.resendAfter": "X秒重新獲取", + "up.code.resend": "重新獲取", + "up.cropper.emptyWidhtOrHeight": "裁剪框的寬或高沒有設置", + "up.empty.car": "購物車為空", + "up.empty.page": "頁面不存在", + "up.empty.search": "沒有搜索結果", + "up.empty.address": "沒有收貨地址", + "up.empty.wifi": "沒有WiFi", + "up.empty.order": "訂單為空", + "up.empty.coupon": "沒有優惠券", + "up.empty.favor": "暫無收藏", + "up.empty.permission": "無權限", + "up.empty.history": "無歷史記錄", + "up.empty.news": "無新聞列表", + "up.empty.message": "消息列表為空", + "up.empty.list": "列表為空", + "up.empty.data": "數據為空", + "up.empty.comment": "暫無評論", + "up.link.copyed": "鏈接已複製,請在瀏覽器打開", + "up.loadmoe.loadmore": "加載更多", + "up.loadmoe.nomore": "沒有更多了", + "up.noNetwork.text": "哎呀,網絡信號丟失", + "up.noNetwork.pleaseCheck": "請檢查網絡,或前往", + "up.noNetwork.connect": "網絡已連接", + "up.noNetwork.disconnect": "無網絡連接", + "up.pagination.previous": "上一頁", + "up.pagination.next": "下一頁", + "up.pullRefresh.pull": "下拉刷新", + "up.pullRefresh.release": "釋放刷新", + "up.pullRefresh.refreshing": "正在刷新", + "up.readMore.expand": "展開閱讀全文", + "up.readMore.fold": "收起", + "up.search.placeholder": "請輸入關鍵字", + "up.signature.penSize": "筆畫大小", + "up.signature.penColor": "筆畫顏色", + "up.upload.sizeExceed": "超過大小限制", + "up.upload.uploading": "上傳中", + "up.upload.previewImageFail": "預覽圖片失敗", + "up.upload.previewVideoFail": "預覽視頻失敗", + "up.goodsSku.stock": "庫存", + "up.goodsSku.price": "價格", + "up.goodsSku.amount": "件", + "up.goodsSku.choosed": "已選", + "up.goodsSku.buyAmount": "購買數量" +}; +const en = { + "up.common.cancel": "Cancel", + "up.common.confirm": "Confirm", + "up.common.start": "Start", + "up.common.end": "End", + "up.common.stop": "Stop", + "up.common.copy": "Copy", + "up.common.none": "None", + "up.common.tip": "Tip", + "up.common.success": "Success", + "up.common.fail": "Fail", + "up.common.close": "Close", + "up.common.preview": "Preview", + "up.common.re-select": "Re-select", + "up.common.rotate": "Rotate", + "up.common.pleaseChoose": "Please choose", + "up.common.loading": "Loading", + "up.common.loading2": "Loading", + "up.common.inOperation": "In operation", + "up.common.settings": "Settings", + "up.common.retry": "Retry", + "up.common.search": "Search", + "up.common.more": "More", + "up.common.video": "Video", + "up.common.file": "File", + "up.week.one": "Mon", + "up.week.two": "Tue", + "up.week.three": "Wed", + "up.week.four": "Thu", + "up.week.five": "Fri", + "up.week.six": "Sat", + "up.week.seven": "Sun", + "up.barcode.error": "Failed to generate barcode", + "up.calendar.chooseDates": "Date selection", + "up.calendar.disabled": "This date is disabled", + "up.calendar.daysExceed": "The number of selected days cannot exceed {days} days", + "up.cityLocate.locateCity": "Locate city", + "up.cityLocate.fail": "Location failed, please click to retry.", + "up.cityLocate.locating": "Locating", + "up.code.send": "Get verification code", + "up.code.resendAfter": "Resend after X seconds", + "up.code.resend": "Resend", + "up.cropper.emptyWidhtOrHeight": "The width or height of the cropping box is not set", + "up.empty.car": "Shopping cart is empty", + "up.empty.page": "Page not found", + "up.empty.search": "No search results", + "up.empty.address": "No shipping address", + "up.empty.wifi": "No WiFi", + "up.empty.order": "Order is empty", + "up.empty.coupon": "No coupons", + "up.empty.favor": "No favorites", + "up.empty.permission": "No permission", + "up.empty.history": "No history", + "up.empty.news": "No news list", + "up.empty.message": "Message list is empty", + "up.empty.list": "List is empty", + "up.empty.data": "Data is empty", + "up.empty.comment": "No comments", + "up.link.copyed": "Link copied, please open in browser", + "up.loadmoe.loadmore": "Load more", + "up.loadmoe.nomore": "No more", + "up.noNetwork.text": "Oops, network signal lost", + "up.noNetwork.pleaseCheck": "Please check the network, or go to", + "up.noNetwork.connect": "Network connected", + "up.noNetwork.disconnect": "No network connection", + "up.pagination.previous": "Previous", + "up.pagination.next": "Next", + "up.pullRefresh.pull": "Pull to refresh", + "up.pullRefresh.release": "Release to refresh", + "up.pullRefresh.refreshing": "Refreshing", + "up.readMore.expand": "Expand to read more", + "up.readMore.fold": "Collapse", + "up.search.placeholder": "Please enter keywords", + "up.signature.penSize": "Stroke size", + "up.signature.penColor": "Stroke color", + "up.upload.sizeExceed": "Size limit exceeded", + "up.upload.uploading": "Uploading", + "up.upload.previewImageFail": "Failed to preview image", + "up.upload.previewVideoFail": "Failed to preview video", + "up.goodsSku.stock": "Stock", + "up.goodsSku.price": "Price", + "up.goodsSku.amount": "Items", + "up.goodsSku.choosed": "Selected", + "up.goodsSku.buyAmount": "Quantity" +}; +const es$1 = { + "up.common.cancel": "Cancelar", + "up.common.confirm": "Confirmar", + "up.common.start": "Iniciar", + "up.common.end": "Finalizar", + "up.common.stop": "Detener", + "up.common.copy": "Copiar", + "up.common.none": "Ninguno", + "up.common.tip": "Consejo", + "up.common.success": "Éxito", + "up.common.fail": "Fallido", + "up.common.close": "Cerrar", + "up.common.preview": "Vista previa", + "up.common.re-select": "Re seleccionar", + "up.common.rotate": "Rotar", + "up.common.pleaseChoose": "Por favor seleccione", + "up.common.loading": "Cargando", + "up.common.loading2": "Cargando", + "up.common.inOperation": "En operación", + "up.common.settings": "Configuración", + "up.common.retry": "Reintentar", + "up.common.search": "Buscar", + "up.common.more": "Más", + "up.common.video": "Vídeo", + "up.common.file": "Archivo", + "up.week.one": "Lun", + "up.week.two": "Mar", + "up.week.three": "Mié", + "up.week.four": "Jue", + "up.week.five": "Vie", + "up.week.six": "Sáb", + "up.week.seven": "Dom", + "up.barcode.error": "Error al generar código de barras", + "up.calendar.chooseDates": "Selección de fecha", + "up.calendar.disabled": "Esta fecha está deshabilitada", + "up.calendar.daysExceed": "Los días seleccionados no pueden exceder {days} días", + "up.cityLocate.locateCity": "Localizar ciudad", + "up.cityLocate.fail": "Error de localización, haga clic para reintentar.", + "up.cityLocate.locating": "Localizando", + "up.code.send": "Obtener código de verificación", + "up.code.resendAfter": "Reenviar en X segundos", + "up.code.resend": "Reenviar", + "up.cropper.emptyWidhtOrHeight": "El ancho o alto del recorte no está configurado", + "up.empty.car": "Carrito de compras vacío", + "up.empty.page": "Página no encontrada", + "up.empty.search": "Sin resultados de búsqueda", + "up.empty.address": "Sin dirección de envío", + "up.empty.wifi": "Sin WiFi", + "up.empty.order": "Pedido vacío", + "up.empty.coupon": "Sin cupones", + "up.empty.favor": "Sin favoritos", + "up.empty.permission": "Sin permisos", + "up.empty.history": "Sin historial", + "up.empty.news": "Sin noticias", + "up.empty.message": "Lista de mensajes vacía", + "up.empty.list": "Lista vacía", + "up.empty.data": "Datos vacíos", + "up.empty.comment": "Sin comentarios", + "up.link.copyed": "Enlace copiado, por favor abra en el navegador", + "up.loadmoe.loadmore": "Cargar más", + "up.loadmoe.nomore": "No hay más", + "up.noNetwork.text": "¡Ups! Se perdió la señal de red", + "up.noNetwork.pleaseCheck": "Por favor verifique la red, o vaya a", + "up.noNetwork.connect": "Red conectada", + "up.noNetwork.disconnect": "Sin conexión a internet", + "up.pagination.previous": "Página anterior", + "up.pagination.next": "Página siguiente", + "up.pullRefresh.pull": "Deslizar hacia abajo para actualizar", + "up.pullRefresh.release": "Soltar para actualizar", + "up.pullRefresh.refreshing": "Actualizando", + "up.readMore.expand": "Expandir para leer más", + "up.readMore.fold": "Contraer", + "up.search.placeholder": "Ingrese palabra clave", + "up.signature.penSize": "Tamaño del trazo", + "up.signature.penColor": "Color del trazo", + "up.upload.sizeExceed": "Excede el límite de tamaño", + "up.upload.uploading": "Subiendo", + "up.upload.previewImageFail": "Error al previsualizar imagen", + "up.upload.previewVideoFail": "Error al previsualizar vídeo", + "up.goodsSku.stock": "Inventario", + "up.goodsSku.price": "Precio", + "up.goodsSku.amount": "Piezas", + "up.goodsSku.choosed": "Seleccionado", + "up.goodsSku.buyAmount": "Cantidad" +}; +const fr = { + "up.common.cancel": "Annuler", + "up.common.confirm": "Confirmer", + "up.common.start": "Démarrer", + "up.common.end": "Terminer", + "up.common.stop": "Arrêter", + "up.common.copy": "Copier", + "up.common.none": "Aucun", + "up.common.tip": "Conseil", + "up.common.success": "Succès", + "up.common.fail": "Échec", + "up.common.close": "Fermer", + "up.common.preview": "Aperçu", + "up.common.re-select": "Resélectionner", + "up.common.rotate": "Rotation", + "up.common.pleaseChoose": "Veuillez choisir", + "up.common.loading": "Chargement", + "up.common.loading2": "Chargement en cours", + "up.common.inOperation": "En cours d'opération", + "up.common.settings": "Paramètres", + "up.common.retry": "Réessayer", + "up.common.search": "Rechercher", + "up.common.more": "Plus", + "up.common.video": "Vidéo", + "up.common.file": "Fichier", + "up.week.one": "Lun", + "up.week.two": "Mar", + "up.week.three": "Mer", + "up.week.four": "Jeu", + "up.week.five": "Ven", + "up.week.six": "Sam", + "up.week.seven": "Dim", + "up.barcode.error": "Échec de génération du code-barres", + "up.calendar.chooseDates": "Sélection de dates", + "up.calendar.disabled": "Cette date est désactivée", + "up.calendar.daysExceed": "Le nombre de jours sélectionnés ne peut pas dépasser {days} jours", + "up.cityLocate.locateCity": "Localiser la ville", + "up.cityLocate.fail": "Échec de localisation, veuillez cliquer pour réessayer.", + "up.cityLocate.locating": "Localisation en cours", + "up.code.send": "Obtenir le code de vérification", + "up.code.resendAfter": "Renvoyer dans X secondes", + "up.code.resend": "Renvoyer", + "up.cropper.emptyWidhtOrHeight": "La largeur ou la hauteur de recadrage n'est pas définie", + "up.empty.car": "Panier vide", + "up.empty.page": "Page introuvable", + "up.empty.search": "Aucun résultat de recherche", + "up.empty.address": "Aucune adresse de livraison", + "up.empty.wifi": "Aucun Wi-Fi", + "up.empty.order": "Commande vide", + "up.empty.coupon": "Aucun coupon", + "up.empty.favor": "Aucun favori", + "up.empty.permission": "Aucune autorisation", + "up.empty.history": "Aucun historique", + "up.empty.news": "Aucune actualité", + "up.empty.message": "Liste de messages vide", + "up.empty.list": "Liste vide", + "up.empty.data": "Données vides", + "up.empty.comment": "Aucun commentaire", + "up.link.copyed": "Lien copié, veuillez ouvrir dans le navigateur", + "up.loadmoe.loadmore": "Charger plus", + "up.loadmoe.nomore": "Plus de contenu", + "up.noNetwork.text": "Oups, le signal réseau est perdu", + "up.noNetwork.pleaseCheck": "Veuillez vérifier le réseau, ou aller à", + "up.noNetwork.connect": "Réseau connecté", + "up.noNetwork.disconnect": "Aucune connexion réseau", + "up.pagination.previous": "Page précédente", + "up.pagination.next": "Page suivante", + "up.pullRefresh.pull": "Tirer pour actualiser", + "up.pullRefresh.release": "Relâcher pour actualiser", + "up.pullRefresh.refreshing": "Actualisation en cours", + "up.readMore.expand": "Développer pour lire la suite", + "up.readMore.fold": "Réduire", + "up.search.placeholder": "Veuillez saisir un mot-clé", + "up.signature.penSize": "Taille du trait", + "up.signature.penColor": "Couleur du trait", + "up.upload.sizeExceed": "Dépassement de la limite de taille", + "up.upload.uploading": "Téléchargement en cours", + "up.upload.previewImageFail": "Échec de l'aperçu de l'image", + "up.upload.previewVideoFail": "Échec de l'aperçu de la vidéo", + "up.goodsSku.stock": "Stock", + "up.goodsSku.price": "Prix", + "up.goodsSku.amount": "Pièces", + "up.goodsSku.choosed": "Sélectionné", + "up.goodsSku.buyAmount": "Quantité" +}; +const de$1 = { + "up.common.cancel": "Abbrechen", + "up.common.confirm": "Bestätigen", + "up.common.start": "Start", + "up.common.end": "Ende", + "up.common.stop": "Stopp", + "up.common.copy": "Kopieren", + "up.common.none": "Keine", + "up.common.tip": "Hinweis", + "up.common.success": "Erfolg", + "up.common.fail": "Fehlgeschlagen", + "up.common.close": "Schließen", + "up.common.preview": "Vorschau", + "up.common.re-select": "Erneut auswählen", + "up.common.rotate": "Drehen", + "up.common.pleaseChoose": "Bitte wählen", + "up.common.loading": "Laden", + "up.common.loading2": "Wird geladen", + "up.common.inOperation": "In Bearbeitung", + "up.common.settings": "Einstellungen", + "up.common.retry": "Wiederholen", + "up.common.search": "Suchen", + "up.common.more": "Mehr", + "up.common.video": "Video", + "up.common.file": "Datei", + "up.week.one": "Mo", + "up.week.two": "Di", + "up.week.three": "Mi", + "up.week.four": "Do", + "up.week.five": "Fr", + "up.week.six": "Sa", + "up.week.seven": "So", + "up.barcode.error": "Barcode-Generierung fehlgeschlagen", + "up.calendar.chooseDates": "Datumsauswahl", + "up.calendar.disabled": "Dieses Datum ist deaktiviert", + "up.calendar.daysExceed": "Die Anzahl der ausgewählten Tage darf {days} Tage nicht überschreiten", + "up.cityLocate.locateCity": "Stadt lokalisieren", + "up.cityLocate.fail": "Lokalisierung fehlgeschlagen, bitte klicken Sie zum Wiederholen.", + "up.cityLocate.locating": "Lokalisierung läuft", + "up.code.send": "Bestätigungscode erhalten", + "up.code.resendAfter": "Erneut senden in X Sekunden", + "up.code.resend": "Erneut senden", + "up.cropper.emptyWidhtOrHeight": "Breite oder Höhe des Zuschneidebereichs nicht festgelegt", + "up.empty.car": "Warenkorb ist leer", + "up.empty.page": "Seite existiert nicht", + "up.empty.search": "Keine Suchergebnisse", + "up.empty.address": "Keine Lieferadresse", + "up.empty.wifi": "Kein WLAN", + "up.empty.order": "Bestellungen sind leer", + "up.empty.coupon": "Keine Gutscheine", + "up.empty.favor": "Keine Favoriten", + "up.empty.permission": "Keine Berechtigung", + "up.empty.history": "Kein Verlauf", + "up.empty.news": "Keine Nachrichtenliste", + "up.empty.message": "Nachrichtenliste ist leer", + "up.empty.list": "Liste ist leer", + "up.empty.data": "Daten sind leer", + "up.empty.comment": "Keine Kommentare", + "up.link.copyed": "Link kopiert, bitte im Browser öffnen", + "up.loadmoe.loadmore": "Mehr laden", + "up.loadmoe.nomore": "Keine weiteren Daten", + "up.noNetwork.text": "Ups, Netzwerksignal verloren", + "up.noNetwork.pleaseCheck": "Bitte überprüfen Sie das Netzwerk oder gehen Sie zu", + "up.noNetwork.connect": "Netzwerk verbunden", + "up.noNetwork.disconnect": "Keine Netzwerkverbindung", + "up.pagination.previous": "Vorherige Seite", + "up.pagination.next": "Nächste Seite", + "up.pullRefresh.pull": "Zum Aktualisieren nach unten ziehen", + "up.pullRefresh.release": "Loslassen zum Aktualisieren", + "up.pullRefresh.refreshing": "Aktualisierung läuft", + "up.readMore.expand": "Erweitern zum vollständigen Lesen", + "up.readMore.fold": "Einklappen", + "up.search.placeholder": "Bitte Schlüsselwort eingeben", + "up.signature.penSize": "Strichstärke", + "up.signature.penColor": "Strichfarbe", + "up.upload.sizeExceed": "Größenbegrenzung überschritten", + "up.upload.uploading": "Upload läuft", + "up.upload.previewImageFail": "Bildvorschau fehlgeschlagen", + "up.upload.previewVideoFail": "Videovorschau fehlgeschlagen", + "up.goodsSku.stock": "Lagerbestand", + "up.goodsSku.price": "Preis", + "up.goodsSku.amount": "Stück", + "up.goodsSku.choosed": "Ausgewählt", + "up.goodsSku.buyAmount": "Anzahl" +}; +const ko = { + "up.common.cancel": "취소", + "up.common.confirm": "확인", + "up.common.start": "시작", + "up.common.end": "종료", + "up.common.stop": "정지", + "up.common.copy": "복사", + "up.common.none": "없음", + "up.common.tip": "팁", + "up.common.success": "성공", + "up.common.fail": "실패", + "up.common.close": "닫기", + "up.common.preview": "미리보기", + "up.common.re-select": "재선택", + "up.common.rotate": "회전", + "up.common.pleaseChoose": "선택해주세요", + "up.common.loading": "로딩중", + "up.common.loading2": "로딩중", + "up.common.inOperation": "작업중", + "up.common.settings": "설정", + "up.common.retry": "재시도", + "up.common.search": "검색", + "up.common.more": "더보기", + "up.common.video": "비디오", + "up.common.file": "파일", + "up.week.one": "월", + "up.week.two": "화", + "up.week.three": "수", + "up.week.four": "목", + "up.week.five": "금", + "up.week.six": "토", + "up.week.seven": "일", + "up.barcode.error": "바코드 생성 실패", + "up.calendar.chooseDates": "날짜 선택", + "up.calendar.disabled": "해당 날짜는 사용할 수 없습니다", + "up.calendar.daysExceed": "선택한 날짜 수가 {days}일을 초과할 수 없습니다", + "up.cityLocate.locateCity": "도시 위치 찾기", + "up.cityLocate.fail": "위치 찾기 실패, 다시 시도하려면 클릭하세요.", + "up.cityLocate.locating": "위치 찾는 중", + "up.code.send": "인증코드 받기", + "up.code.resendAfter": "X초 후 재전송", + "up.code.resend": "재전송", + "up.cropper.emptyWidhtOrHeight": "자르기 영역의 너비 또는 높이가 설정되지 않았습니다", + "up.empty.car": "장바구니가 비어 있습니다", + "up.empty.page": "페이지가 존재하지 않습니다", + "up.empty.search": "검색 결과가 없습니다", + "up.empty.address": "배송 주소가 없습니다", + "up.empty.wifi": "Wi-Fi가 없습니다", + "up.empty.order": "주문이 없습니다", + "up.empty.coupon": "쿠폰이 없습니다", + "up.empty.favor": "즐겨찾기가 없습니다", + "up.empty.permission": "권한이 없습니다", + "up.empty.history": "기록이 없습니다", + "up.empty.news": "뉴스가 없습니다", + "up.empty.message": "메시지가 없습니다", + "up.empty.list": "목록이 비어 있습니다", + "up.empty.data": "데이터가 없습니다", + "up.empty.comment": "댓글이 없습니다", + "up.link.copyed": "링크가 복사되었습니다. 브라우저에서 열어주세요", + "up.loadmoe.loadmore": "더 불러오기", + "up.loadmoe.nomore": "더 이상 데이터가 없습니다", + "up.noNetwork.text": "네트워크 신호가 없습니다", + "up.noNetwork.pleaseCheck": "네트워크를 확인하거나 이동하세요", + "up.noNetwork.connect": "네트워크 연결됨", + "up.noNetwork.disconnect": "네트워크 연결 끊김", + "up.pagination.previous": "이전 페이지", + "up.pagination.next": "다음 페이지", + "up.pullRefresh.pull": "당겨서 새로고침", + "up.pullRefresh.release": "놓아서 새로고침", + "up.pullRefresh.refreshing": "새로고침 중", + "up.readMore.expand": "펼쳐서 전체 보기", + "up.readMore.fold": "접기", + "up.search.placeholder": "키워드를 입력하세요", + "up.signature.penSize": "선 굵기", + "up.signature.penColor": "선 색상", + "up.upload.sizeExceed": "용량 제한 초과", + "up.upload.uploading": "업로드 중", + "up.upload.previewImageFail": "이미지 미리보기 실패", + "up.upload.previewVideoFail": "비디오 미리보기 실패", + "up.goodsSku.stock": "재고", + "up.goodsSku.price": "가격", + "up.goodsSku.amount": "개", + "up.goodsSku.choosed": "선택됨", + "up.goodsSku.buyAmount": "구매 수량" +}; +const ja = { + "up.common.cancel": "キャンセル", + "up.common.confirm": "確認", + "up.common.start": "開始", + "up.common.end": "終了", + "up.common.stop": "停止", + "up.common.copy": "コピー", + "up.common.none": "なし", + "up.common.tip": "ヒント", + "up.common.success": "成功", + "up.common.fail": "失敗", + "up.common.close": "閉じる", + "up.common.preview": "プレビュー", + "up.common.re-select": "再選択", + "up.common.rotate": "回転", + "up.common.pleaseChoose": "選択してください", + "up.common.loading": "読み込み中", + "up.common.loading2": "読み込み中", + "up.common.inOperation": "操作中", + "up.common.settings": "設定", + "up.common.retry": "再試行", + "up.common.search": "検索", + "up.common.more": "もっと見る", + "up.common.video": "ビデオ", + "up.common.file": "ファイル", + "up.week.one": "月", + "up.week.two": "火", + "up.week.three": "水", + "up.week.four": "木", + "up.week.five": "金", + "up.week.six": "土", + "up.week.seven": "日", + "up.barcode.error": "バーコードの生成に失敗しました", + "up.calendar.chooseDates": "日付選択", + "up.calendar.disabled": "この日付は無効です", + "up.calendar.daysExceed": "選択日数は{days}日を超えることはできません", + "up.cityLocate.locateCity": "都市の位置を特定", + "up.cityLocate.fail": "位置特定に失敗しました。再試行するにはクリックしてください。", + "up.cityLocate.locating": "位置特定中", + "up.code.send": "認証コードを取得", + "up.code.resendAfter": "X秒後に再送信", + "up.code.resend": "再送信", + "up.cropper.emptyWidhtOrHeight": "切り抜き枠の幅または高さが設定されていません", + "up.empty.car": "ショッピングカートは空です", + "up.empty.page": "ページが存在しません", + "up.empty.search": "検索結果がありません", + "up.empty.address": "配送先住所がありません", + "up.empty.wifi": "Wi-Fiがありません", + "up.empty.order": "注文がありません", + "up.empty.coupon": "クーポンがありません", + "up.empty.favor": "お気に入りがありません", + "up.empty.permission": "権限がありません", + "up.empty.history": "履歴がありません", + "up.empty.news": "ニュースがありません", + "up.empty.message": "メッセージがありません", + "up.empty.list": "リストが空です", + "up.empty.data": "データがありません", + "up.empty.comment": "コメントがありません", + "up.link.copyed": "リンクがコピーされました。ブラウザで開いてください", + "up.loadmoe.loadmore": "さらに読み込む", + "up.loadmoe.nomore": "これ以上データがありません", + "up.noNetwork.text": "ネットワーク信号が失われました", + "up.noNetwork.pleaseCheck": "ネットワークを確認するか、移動してください", + "up.noNetwork.connect": "ネットワーク接続済み", + "up.noNetwork.disconnect": "ネットワーク未接続", + "up.pagination.previous": "前へ", + "up.pagination.next": "次へ", + "up.pullRefresh.pull": "引き下げて更新", + "up.pullRefresh.release": "指を離して更新", + "up.pullRefresh.refreshing": "更新中", + "up.readMore.expand": "全文表示", + "up.readMore.fold": "折りたたむ", + "up.search.placeholder": "キーワードを入力してください", + "up.signature.penSize": "線の太さ", + "up.signature.penColor": "線の色", + "up.upload.sizeExceed": "サイズ制限を超えています", + "up.upload.uploading": "アップロード中", + "up.upload.previewImageFail": "画像プレビュー失敗", + "up.upload.previewVideoFail": "ビデオプレビュー失敗", + "up.goodsSku.stock": "在庫", + "up.goodsSku.price": "価格", + "up.goodsSku.amount": "個", + "up.goodsSku.choosed": "選択済み", + "up.goodsSku.buyAmount": "購入数量" +}; +const ru = { + "up.common.cancel": "Отмена", + "up.common.confirm": "Подтвердить", + "up.common.start": "Начало", + "up.common.end": "Конец", + "up.common.stop": "Стоп", + "up.common.copy": "Копировать", + "up.common.none": "Нет", + "up.common.tip": "Подсказка", + "up.common.success": "Успех", + "up.common.fail": "Ошибка", + "up.common.close": "Закрыть", + "up.common.preview": "Предпросмотр", + "up.common.re-select": "Выбрать снова", + "up.common.rotate": "Повернуть", + "up.common.pleaseChoose": "Пожалуйста, выберите", + "up.common.loading": "Загрузка", + "up.common.loading2": "Загружается", + "up.common.inOperation": "В процессе", + "up.common.settings": "Настройки", + "up.common.retry": "Повторить", + "up.common.search": "Поиск", + "up.common.more": "Больше", + "up.common.video": "Видео", + "up.common.file": "Файл", + "up.week.one": "Пн", + "up.week.two": "Вт", + "up.week.three": "Ср", + "up.week.four": "Чт", + "up.week.five": "Пт", + "up.week.six": "Сб", + "up.week.seven": "Вс", + "up.barcode.error": "Ошибка генерации штрихкода", + "up.calendar.chooseDates": "Выбор даты", + "up.calendar.disabled": "Эта дата отключена", + "up.calendar.daysExceed": "Количество выбранных дней не может превышать {days} дней", + "up.cityLocate.locateCity": "Определение города", + "up.cityLocate.fail": "Ошибка определения местоположения, нажмите для повтора.", + "up.cityLocate.locating": "Определение местоположения", + "up.code.send": "Получить код подтверждения", + "up.code.resendAfter": "Повторная отправка через X секунд", + "up.code.resend": "Отправить снова", + "up.cropper.emptyWidhtOrHeight": "Ширина или высота области обрезки не задана", + "up.empty.car": "Корзина пуста", + "up.empty.page": "Страница не существует", + "up.empty.search": "Нет результатов поиска", + "up.empty.address": "Нет адреса доставки", + "up.empty.wifi": "Нет Wi-Fi", + "up.empty.order": "Заказы отсутствуют", + "up.empty.coupon": "Нет купонов", + "up.empty.favor": "Нет избранного", + "up.empty.permission": "Нет разрешения", + "up.empty.history": "Нет истории", + "up.empty.news": "Нет новостей", + "up.empty.message": "Список сообщений пуст", + "up.empty.list": "Список пуст", + "up.empty.data": "Нет данных", + "up.empty.comment": "Нет комментариев", + "up.link.copyed": "Ссылка скопирована, откройте в браузере", + "up.loadmoe.loadmore": "Загрузить еще", + "up.loadmoe.nomore": "Больше нет данных", + "up.noNetwork.text": "Ой, потеряно сетевое соединение", + "up.noNetwork.pleaseCheck": "Проверьте сеть или перейдите к", + "up.noNetwork.connect": "Сеть подключена", + "up.noNetwork.disconnect": "Нет сетевого подключения", + "up.pagination.previous": "Предыдущая страница", + "up.pagination.next": "Следующая страница", + "up.pullRefresh.pull": "Потяните вниз для обновления", + "up.pullRefresh.release": "Отпустите для обновления", + "up.pullRefresh.refreshing": "Обновление", + "up.readMore.expand": "Развернуть для полного чтения", + "up.readMore.fold": "Свернуть", + "up.search.placeholder": "Введите ключевое слово", + "up.signature.penSize": "Размер штриха", + "up.signature.penColor": "Цвет штриха", + "up.upload.sizeExceed": "Превышен лимит размера", + "up.upload.uploading": "Загрузка", + "up.upload.previewImageFail": "Ошибка предпросмотра изображения", + "up.upload.previewVideoFail": "Ошибка предпросмотра видео", + "up.goodsSku.stock": "Запас", + "up.goodsSku.price": "Цена", + "up.goodsSku.amount": "Штук", + "up.goodsSku.choosed": "Выбрано", + "up.goodsSku.buyAmount": "Количество" +}; +let settings = { + lang: index$1.getLocale(), + locales: { + en, + es: es$1, + fr, + de: de$1, + ko, + ja, + ru, + "zh-Hant": zhHant, + "zh-Hans": zhHans + } +}; +index$1.onLocaleChange((locale) => { + settings.lang = locale; +}); +function t$1(value2, params2 = {}) { + if (value2) { + let lang = settings.lang; + if (!settings.locales[settings.lang]) { + lang = "zh-Hans"; + } + let result = settings.locales[lang][value2] || value2; + Object.keys(params2).forEach((key) => { + const reg = new RegExp(`{${key}}`, "g"); + result = result.replace(reg, params2[key]); + }); + return result; + } else { + return value2; + } +} const Calendar = { // calendar 组件 calendar: { - title: "日期选择", + title: t$1("up.calendar.chooseDates"), showTitle: true, showSubtitle: true, mode: "single", - startText: "开始", - endText: "结束", + startText: t$1("up.common.start"), + endText: t$1("up.common.end"), customList: [], color: "#3c9cff", minDate: 0, @@ -9857,8 +10846,8 @@ const Calendar = { formatter: null, showLunar: false, showMark: true, - confirmText: "确定", - confirmDisabledText: "确定", + confirmText: t$1("up.common.confirm"), + confirmDisabledText: t$1("up.common.confirm"), show: false, closeOnClickOverlay: false, readonly: false, @@ -9869,7 +10858,12 @@ const Calendar = { showRangePrompt: true, allowSameDay: false, round: 0, - monthNum: 3 + monthNum: 3, + weekText: [t$1("up.week.one"), t$1("up.week.two"), t$1("up.week.three"), t$1("up.week.four"), t$1("up.week.five"), t$1("up.week.six"), t$1("up.week.seven")], + forbidDays: [], + forbidDaysToast: t$1("up.calendar.disabled"), + monthFormat: "", + pageInline: false } }; const CarKeyboard = { @@ -9878,6 +10872,37 @@ const CarKeyboard = { random: false } }; +const Card = { + // card组件的props + card: { + full: false, + title: "", + titleColor: "#303133", + titleSize: "15px", + subTitle: "", + subTitleColor: "#909399", + subTitleSize: "13px", + border: true, + index: "", + margin: "15px", + borderRadius: "8px", + headStyle: {}, + bodyStyle: {}, + footStyle: {}, + headBorderBottom: true, + footBorderTop: true, + thumb: "", + thumbWidth: "30px", + thumbCircle: false, + padding: "15px", + paddingHead: "", + paddingBody: "", + paddingFoot: "", + showHead: true, + showFoot: true, + boxShadow: "none" + } +}; const Cell = { // cell组件的props cell: { @@ -9960,9 +10985,9 @@ const Code = { // code 组件 code: { seconds: 60, - startText: "获取验证码", - changeText: "X秒重新获取", - endText: "重新获取", + startText: t$1("up.code.send"), + changeText: t$1("up.code.resendAfter"), + endText: t$1("up.code.resend"), keepRunning: false, uniqueKey: "" } @@ -10019,7 +11044,12 @@ const CollapseItem = { name: "", icon: "", duration: 300, - showRight: true + showRight: true, + titleStyle: {}, + iconStyle: {}, + rightIconStyle: {}, + cellCustomStyle: {}, + cellCustomClass: "" } }; const ColumnNotice = { @@ -10082,13 +11112,19 @@ const DatetimePicker = { formatter: null, loading: false, itemHeight: 44, - cancelText: "取消", - confirmText: "确认", + cancelText: t$1("up.common.cancel"), + confirmText: t$1("up.common.confirm"), cancelColor: "#909193", confirmColor: "#3c9cff", visibleItemCount: 5, closeOnClickOverlay: false, - defaultIndex: [] + defaultIndex: [], + inputBorder: "surround", + disabled: false, + disabledColor: "", + placeholder: t$1("up.common.pleaseChoose"), + inputProps: {}, + pageInline: false } }; const Divider = { @@ -10133,7 +11169,7 @@ const Form = { labelStyle: {} } }; -const GormItem = { +const FormItem = { // formItem 组件 formItem: { label: "", @@ -10174,13 +11210,13 @@ const GridItem = { } }; const { - color: color$3 + color: color$2 } = config; const Icon = { // icon组件 icon: { name: "", - color: color$3["u-content-color"], + color: color$2["u-content-color"], size: "16px", bold: false, index: "", @@ -10189,7 +11225,7 @@ const Icon = { label: "", labelPos: "right", labelSize: "15px", - labelColor: color$3["u-content-color"], + labelColor: color$2["u-content-color"], space: "3px", imgMode: "", width: "", @@ -10225,7 +11261,7 @@ const IndexAnchor = { text: "", color: "#606266", size: 14, - bgColor: "#dedede", + bgColor: "#f1f1f1", height: 32 } }; @@ -10237,7 +11273,8 @@ const IndexList = { indexList: [], sticky: true, customNavHeight: 0, - safeBottomFix: false + safeBottomFix: false, + itemMargin: "0rpx" } }; const Input = { @@ -10276,7 +11313,9 @@ const Input = { border: "surround", readonly: false, shape: "square", - formatter: null + formatter: null, + cursorColor: "#53c21d", + passwordVisibilityToggle: true } }; const Keyboard = { @@ -10295,8 +11334,8 @@ const Keyboard = { show: false, overlay: true, zIndex: 10075, - cancelText: "取消", - confirmText: "确定", + cancelText: t$1("up.common.cancel"), + confirmText: t$1("up.common.confirm"), autoChange: false } }; @@ -10318,20 +11357,21 @@ const LineProgress = { inactiveColor: "#ececec", percentage: 0, showText: true, - height: 12 + height: 12, + fromRight: false } }; const { - color: color$2 + color: color$1 } = config; const Link = { // link超链接组件props参数 link: { - color: color$2["u-primary"], + color: color$1["u-primary"], fontSize: 15, underLine: false, href: "", - mpTips: "链接已复制,请在浏览器打开", + mpTips: t$1("up.link.copyed"), lineColor: "", text: "" } @@ -10362,14 +11402,14 @@ const ListItem = { } }; const { - color: color$1 + color } = config; const LoadingIcon = { // loading-icon加载中图标组件 loadingIcon: { show: true, - color: color$1["u-tips-color"], - textColor: color$1["u-tips-color"], + color: color["u-tips-color"], + textColor: color["u-tips-color"], vertical: false, mode: "spinner", size: 24, @@ -10383,7 +11423,7 @@ const LoadingIcon = { const LoadingPage = { // loading-page组件 loadingPage: { - loadingText: "正在加载", + loadingText: t$1("up.common.loading2"), image: "", loadingMode: "circle", loading: false, @@ -10405,9 +11445,9 @@ const Loadmore = { iconSize: 17, color: "#606266", loadingIcon: "spinner", - loadmoreText: "加载更多", - loadingText: "正在加载...", - nomoreText: "没有更多了", + loadmoreText: t$1("up.loadmoe.loadmore"), + loadingText: t$1("up.common.loading2") + "...", + nomoreText: t$1("up.loadmoe.nomore"), isDot: false, iconColor: "#b7b7b7", marginTop: 10, @@ -10424,8 +11464,8 @@ const Modal = { show: false, title: "", content: "", - confirmText: "确认", - cancelText: "取消", + confirmText: t$1("up.common.confirm"), + cancelText: t$1("up.common.cancel"), showConfirmButton: true, showCancelButton: false, confirmColor: "#2979ff", @@ -10437,22 +11477,13 @@ const Modal = { negativeTop: 0, width: "650rpx", confirmButtonShape: "", - contentTextAlign: "left" + duration: 400, + contentTextAlign: "left", + asyncCloseTip: t$1("up.common.inOperation") + "...", + asyncCancelClose: false, + contentStyle: {} } }; -const color = { - primary: "#3c9cff", - info: "#909399", - default: "#909399", - warning: "#f9ae3d", - error: "#f56c6c", - success: "#5ac725", - mainColor: "#303133", - contentColor: "#606266", - tipsColor: "#909399", - lightColor: "#c0c4cc", - borderColor: "#e4e7ed" -}; const Navbar = { // navbar 组件 navbar: { @@ -10470,7 +11501,7 @@ const Navbar = { titleWidth: "400rpx", height: "44px", leftIconSize: 20, - leftIconColor: color.mainColor, + leftIconColor: color$3.mainColor, autoBack: false, titleStyle: "" } @@ -10478,7 +11509,7 @@ const Navbar = { const NoNetwork = { // noNetwork noNetwork: { - tips: "哎呀,网络信号丢失", + tips: t$1("up.noNetwork.text"), zIndex: "", image: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQAAAABAAABLAAAAADYYILnAABAAElEQVR4Ae29CZhkV3kefNeq6m2W7tn3nl0aCbHIAgmQPGB+sLCNzSID9g9PYrAf57d/+4+DiW0cy8QBJ06c2In/PLFDHJ78+MGCGNsYgyxwIwktwEijAc1ohtmnZ+2Z7p5eq6vu9r/vuXWrq25VdVV1V3dXVX9Hmj73nv285963vvOd75yraeIEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQaD8E9PbrkvRopSMwMBBYRs+5O/yJS68cPnzYXel4tFP/jXbqjPRFEAiCQNe6Bw/6gdFn9Oy9Q90LLG2DgBBW2wyldIQIPPPCte2a5q3jtR+4ff/4wuBuXotrDwSEsNpjHKUXQODppy+udYJMEUEZgbd94DvnNwlA7YGAEFZ7jOOK78Xp06eTTkq7sxwQhmXuf/754VXl4iSstRAQwmqt8ZLWlkHg0UcD49qYfUjXfLtMtOZ7npExJu4iqZWLl7DWQUAIq3XGSlpaAYHD77q8xwuCOSUoXw8Sl0eMux977DGzQjES3AIICGG1wCBJEysj8PXnz230XXdr5RQFMYbRvWnv6w8UhMhliyGwYghr4Pjg3oEXL34ey9zyC9tiD2ml5h47dr1LN7S6CMjz/A3PvHh1Z6UyJby5EVgRhKUe7Kz/JU0LfvrJo5f+Y3MPibSuFgQGBgasYSd9l6GDsup0WS/T/9RTp9fXmU2SNwECdQ92E7S57iaMeJnPQLK6ixkDLfjlb7546RfrLkQyNBcC3dsP6oHWMd9G+V3JgwPHh7rnm1/yLQ8CbU9Y33zp0j+nZFUMb/DHmB7+SHGY3LUKAk8cObtD00xlHDrfNge+Z2ozU3c9dvx4Yr5lSL6lR6CtCWvg6OAPw9z538ZhhZRl6XrwhW8du1KX/iNejtwvPQIDR8+vSRqJ/obU7GupjdNdh2gW0ZDypJBFR6BtB2rg2OVtuub9JcmpHIpBoK1xfffLzx4f7C0XL2HNiYDp6bs9z23Ypn1fC1Y/9PCFDc3ZW2lVHIG2JKzTp4Ok7nv/G6Q054MIvda+bNb74pEgKGtwGAdL7pcfAa8vOKEZ2kyjWuLr7uDh+/qvN6o8KWdxEWhLwroyeek/g4zuqwU6kNrhyZcu/UktaSXN8iNwuL9/RuvVXtJ9PbPQ1vhmcP6t9+47u9ByJP/SIdB2hDVw9MJHQFYfrQdCph84evFX68kjaZcPAZJWwjMXRFpJ2zr91tfuvrh8vZCa54NA2xGWrunvmg8QWCJ/N4ir7fCYDxatkOeBB7an501agXbygVdvv9IK/ZQ2FiPQdi9osGbH+zRNf7y4m9Xu9Me7N9nv0HXdr5ZS4psHgXpJC9P/wDRTx0Vn1TxjWG9LGrbaUm/Fi5meSvcrkxf/Cg/ow9XqAUk91v3qHT97r6471dJKfHMi8Oyzgx1Z03t1YAQVT2MwgsC3u+yXHzi0faQ5eyGtqgWBtpOw2Ol9+/TM+sTOn8L08MtzgQCy+tOHXr3jA0JWc6HU/HF5Scssr4jXcYqfP6V/T8iq+ceyWgvbUsKKOn38eJAYyl56TAuCEr2WYei//9Crd/5GlFb81kdASVopSFrerKRlaoZj9HR+700H10+0fg+lB21NWBxe2lhNHsUpDZr27mi4dV379R9+za4/iO7Fbx8ECknLCPTsTDJ17O33bJpqnx6u7J60PWFxeAcCbMV56dJfQKf1bkMLfuGh1+76zMoe9vbuPUnLsb2DtmOe5HSxvXsrvWtLBEhaTx29+Ma27Jx0ShAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQaEsEVoQdVluO3BJ06ptHL34b1XRjp4Ch6Rq24+kmjG4Nwwg+9uA9u/73EjRBqhAEihAoe3xwUQq5WTYEzp0b3ZnV/Ncf6O/9AvY9wlh/6dy3X7ncN512Zw9BVLXjuAP4np44vnQtkZoEgVkEhLBmsWiKqwsXpjbPBOn3gRfenwnc+7GBe+zsjclvonFDS9nA9Iy/u3x9+vAP3735VPk4CRUEFhcBIazFxbfm0k9fHD7k+v4nQFaPQIrx8Gmyx/GJ0J/t7ez7mw0b9MmaC2pQQgh0/ZSm4g5TwueWWtqLt0HuVy4CQljLPPYnB0depTn+b3t+8B4t0AdBUv93h2H9xc6da0aXs2m+r1WQsLRnl7NdUvfKRkAIa5nG//r1oGtsZvjTgev/kqYHF/TA+AXoqv4npJemOEiQU1Eo2l+G0movBK1UBBPU7s9E1+ILAkuNgKwSLjXiqO/khVtvARH8dxDBRkMzPrF/V+9/BlG5y9CUqlXinHv9mRPXtvuus88L9H3JPv2zD2yXExCqAicJBIFWRwAvv3Xqwq0/Pnn+lv/K+ZvfPH3p9p5W75O0fxaBp793ce3AwIDMWmYhafiVgNtwSMsXeHp4eNXJC8Nf0PAdRCiuf/XgrnWUqsqotcvnl9DmRkCdweX4b9N7+m/ih+mbMraLM14yJVwcXItKpT1VRve+ArC3Qqn+3gM7132jKEGZm6tXg86J7OhDfuA/iHwPUpfUZSfu2L59tXxEoQxeyxkEgjKeOnLxHb4RqC+NY5H3+2953d4XlrNN7Vq3ENYij+yZwbG9jpt9GkBPQ5H9zgP9607OVeWp87cOQtn9zwJf+xDMNFfj+jryPqXpxj8c2Nn7P+SXey70lidu4IXzb0DNB4tr9751+HV7zxSHyd1CERDCWiiCc+QPjUCnsaqmZ62O5IN7N/VUNP48ee7mAZDTf4Tt049iUG4Guv4ZfNLos9UIbo7qJWoJEHjy+bP7fNsoOcnW0A0/aacef8PdG28sQTNWTBVCWIs01OfPj66BpfqTmq732UnjgT1bei+Vq4pTv7HM8Ceg2/o1qLQug7T+FaaM3IqTLZdewpoHgYEjV9fphvOj+OShWa5V+CxvZtpzv/LwG/aNl4uXsPoRwI+4uEYjAJ2GmdG8L0FK2mYa+tsrkdXZy+P7x2ZuHdW14P+BLdank9q6Qwd3rf+ckFWjR6Tx5Q2cP58K9Jm3VCIr1ogt48lO237r3//96YofeG18y9q7RFklXITxPXV+5DchKb3ZDMy37Nu5tuxG4R9cHH6b42QfAzlds+3EPXu2rfrBIjRFilwkBIIR7SHoJDurFU89ZOd680Gke6JaWomvjoBIWNUxqivFD87fej0e0n8Fwvr0/t1rnyqX+QfnRz7g+8FX8Rv8vL3auF/IqhxKzR2WCPxXqKeq3krDTdj2ierpJEUtCIgOqxaUakwzNBR0D09yiqePHOjveyOkpxLr9VMXb73V97S/h3nDXx7Y2fdPkAYbncW1IgIDxy5vM7LZt/hgrnLtxyaBrJNxv/72N+6tuNhSLp+EVUZACKsyNnXHvHL+1qcgNf2KbSXu2bt9dcmS9qlzo/fARgcmCtpzB3b1/Vg5QiuslLowENyDWDn8cSjl98PgdBviu03N+rl9/WufLEwr18uDwLdevLTF1YK3xnVZ2HI1bUxrT7z5zTuXdRP78qCyeLUKYTUI25OXbm4JPO00TBj+6I7+db8ZL3ZwMOiYdG4dA1lN9HWte2iuI2NAVPapC8O/CGPR34Ip/AZIbIMo7yX8G9QMbcS09P+2b1vf5XgdrXaPfiYns9oeLLEd8D1/B7Dp0E1jGP042pXQj7RKf546cmGzp+tv1TRf6YQD35/QO3seP3xow5IfC9QqmM23naJ0ny9ysXwgq98BWc0kVhv/Nhalbqe8kd/Fr8MOSEr3zEVWrwyO3I29hl+E9LUHGf+nAXI6sGPdd8uV2YphIKnE5IyL6bLxk7cn3bdkHHefrpvJAExMZ1uBZmqeNzXtfzUzk/m/ens7LjV7Px+8d9e1579/44l0duZtge+Np5zEEw8c2pBu9na3YvtEwmrAqNE8IZvNHsep5//yjl3r/0O8yFOXbv0QCO05gP0JGIL+fjw+uj91YeRh/Dp/PtCDM7Zpfmjvjt6Xo7hW9ycmJjaYduf7Hdf/8HTGfa3rG9rYxLSWnsloPg7fijZV8oFM2Ja2a9t6EJd7bCztvHP7us4rrdD/r3/7ct9I99jEI4cOiQ3dIg2YEFYDgOUJDFj1e8TqX7cT4kImXuQr5279A4DeBEX8ayvprU4N3rovcALot/TH13T0fXDTJn0qXk4r3k9OTm4y7a6PzjjORzOOvn1kbEqbnEprPhRzwAKzwFLHk05hv6Yd6N+o3R6beG50aPSdr3qV6IJKkVp5ITIlXOCYn4Yexr0w/DO6YXymHFlR0e5r7tsM3fxgJbI6fW1ivTeT+SsYmr54cFff+5Cu5X+hb94Merp6/J/PusGvTE6724eGJ7RpSFOkKPCUZvBPBccoHBet3Rwe13rX9tw/PjXzZ5hKvr8SfhWKkeA2REAIa4GD6p0feRdWBnvxjv2PckVhVfBf4A29uG/X2i+Ui2eYn8n8NryuDr3jPfWSFV5k44UT137eshIP2K7/64cObbheqZ6lCp+Ydt8TBO7vTM5od1+/NR4SFVhoLpKKt410lnE8LTMzo3V2dLznxLkhYgQ9obiVjEDln7mVjEodfYcpw+MAsftg/7qSDbAnb97sCSb0Yei2fqOcbovVqKNnNO8HmAE9Cv3Wp+uoWjt27HpXNqH9WTKR+kBHKqEFbvo5y3N/avfu4g23R45f3WGa1k9ZicTd0zPTf/f6O7f8dT311Jp2fHzmgJlI/N70jPPe4bEZ6Kg4qw0lqlrLiNKBiLWerpTW25PUbkPXZViW62ecHz+4d8PXojTirzwEyhq8rTwYFtRjvpX/rlwJ+iSXugPbMuyKBOHo3geRJtuT7PujcmVUCuPJlhnL/9NUqvMD2eyM5sxMaIlE4n7XML907tyNjcxHQjty4sZv66Z1xEok/xNW5n4uZSf+8sT5m++vVO58wkEu5sR09pd9w/rWyET2vReujiqygrSopn/zKZN5qMeirotKeTyolm7p/+X06Wvr51ue5Gt9BISwFjiGsLl6N6SrvylXDNTK70D4mX071pwtF88w6Jd/DG/1E1u26NOV0pQL71y3/8PJVOcHMzPTWkcCH2YGOaTTaS2RTN6f1fQvvvDK1bdnbO2JZCr1SeRfn05Pa1PTU0gXJBKW+ecnzlxvCGndhFQ1NRP8bcY1/vjS9bF1V26MwHwsVKiXa3etYVw1TNhYJ3TDjQCO42jJVMcez7J+t9YyJF37ISCEtahjGjxkGDr2DJZ31D8h5vUQJL5RPkXlUMM07u3qSGidICvkzzuSlmlZb0olrK9hD9v9JCrPC196JoPMAolFg6CV+PPj54YeyWecx8Vk2v1Q0rSfhFT18LnBmzBRyNalp5qrSuq7kiAsh4SFa7oZ9M0wzI+cPHOjZPo9V1kS1z4ICGEt4lhiCvZrSa2jol7qzPXJPk6nIGbVbWfUvcr7hO9MP97ZVXpggOu6ajplYStj7l1XvbRMXbPAbp6HzSSBlkraNknrvfVCcPt2sHYi7f3pTDb47KUbYxuvKqkKpYBXKBnV869c3WgbDEixAck0FGFFfEzJzbIsO9C1TyrcymWWsLZGIHoW2rqTzdo5dXyykz0NC8l779i5vu4zwM+eHVntGP5jqVTq/6AkVc5NZ3wNH2lVxNWZNIukMSjiNd9z0+CHp5DXAdX4SAg203w8GB5IATtODHzdK8C15kEjhXvNS9rWA11dnfcMDY9prscss48RySakrOLWqODCoIKAgkuVgsS0urtD60haeV1YYVbbtjUn6/74HXvW/11huFy3PwKzT1r797Upe3jq4sib9u9Y+wxe+vh7W1N7jx49v6ZzbffnQD4/Cj1Pfjx54XiBls6GVuTUc9mQsOIO9mPQFdkIRlz4fy5JLm2ZMOqTcJaXIqpcqnixVe+rdbZ3dbc2OT0D0wZIibHSksmklslknvx+//q3PiKnXcTQae/b+LPQ3r1t0969cOL6G7o6E09qgZegdMJBpVQ1DbKCpyUt6oPKz/4NEJalCAuZFIuEVBJd+jgLh4rvAiFqUVGkhJZMWFp3Z0obGSu/d5gSnWmavuO6h+/cvYHSobgVgoAYjrb4QPMUiGtj1/79jBMkLBwiTlMASlYzTkhWCJyTrGAyMOFkst/BoYMmuIIyGJYcMXMMdNwHPhYN1qWS1t6ZLGaKZL8yzFXTr15BooLLMugHMBRNKgW+It8y9TEcJGt4rvcRFCCEVQbFdg0Swmrxkb0+cf2XOzq73kgdFieEXF2jdEUJKQH6SVWQrNjtZDKlpTPp38U58iUbthk/Ph7sN6zg/xudSGvD4xkq6otcnnjyF0XRRTflkyC0IIJE1JG0QbqGNpMNp5xFhRTcZDNoj66988SFm5vv3LX+WkGUXLYxAuXnCW3c4XbqGs9hwjv+a9lsuN+ahOJSCoLjNDAFvVUll0p1aNPp6adTweSflEszPO48oFn+4yOTmR+6enOshKyYhzWpf/jDuuf6x2aV/qNRaPG/1d0gUXWCA0uu7GhMmkqmerEc8KOVU0lMuyFQ+Ylut562YX9Sncmf7Ojo3BDZWbGLtMkiUVXSWTFNuMqWuYG530f7+/tnGFboxsfdd9mm8XdDo9O7rg6NFq0CFqZr5DWlK9qV0fZqGvZchSuPlevB2VmG/hOV4yWm3RAQwmrhEcW64qu4ykfJho52Vp3J8quBYQooqWDKADftBd6HD+5efyoKj/zR8ew/hWXY56/cnFh7a3RCTTGjuMX0SVB9qzu1qfQM+jO3dBW1g6uVSHv/qVNX10Vh4rc3AkJYLTy+WA/8ou9kJjo7bOh+DLVFZ64TEbCyBktxI5PJZj56R//Gx+NdH5vM4vuI+p8NXh9LjU1iw3EZhXc8TyPuuV9wDaaCfBjTM06N0hVWQmHBDzvSDZ5tvqYR7ZAymh8BIazmH6OKLbzv0KZvJEz3ZzEFnEolaEtV2XEaCLKadrIz//TQnk1/EU85NuH8th8Yf4j9gMZUOrNkZEVZCnsbtTU9KW18GqcKFyjh420sd2+j33pg3F8uTsLaDwEhrBYf04O7N/2t7/o/C2FoGnsIy/YGlvAwSfCvZzLOe+8oR1ZT3u/5uvHJC9dGtJlMrfqjslXVHwjpat2aLi2rjFFLjUSrFUjlO0juddXSSXx7ICCE1QbjiHO0/hofbPgwpnDTOR2V6hWNQqGUx34890noet5yaO+Gko3Y45PO7/uB/lvnrwxrWdha1absbgxo1FWtwplXqYSJY5Nn5lU3bLHQmGA/yko0plVSSjMjIITVzKNTR9sO7dv8RSeb/T9BWmMkKv4D+YzBXuljV7yxd+zfte6VeHGKrHTz4+cv38JWmyUmKzSGG5z7VndoE7kz3uPtq+Welvhwm39weVjOyaoFsBZPI4TV4gNY2Pw79mz8KyebeRIH+VEZTaX0sf27+v794TKmCxNTzr/2NOPj5wZBVjjdYSklq6jN69dyKuhqmWztivYob+RTSkPbe/xMdlMUJn77IiCE1W5jq+s4dYEO6mzsYAmvi/+CrH7LDYxPcBq4HGTFVcG1ULLT5orS1ULIkoSFI2cMHKG8obiXcteOCAhhtdmo6gaOh4EWWlkyYU9gvHswXfgV19d/7+LVkSWfBrItJJhObL/p7elQR8fUZnEV70XxPc01sM+xrzhU7toRgZIHuh07uZL6xA3LBaYB+Ar8rBsfz34YX1j+D5eu317QNGy2xPquSE4mDuXb2IujY2AgytNE67RiKFshzuwCR5s9ZSMlsK0QEMJqq+GkBKOF5yFzRoidK5BoFCeMjM/8mG+a//Xy0Li55KYLBRiTrGjwOQ1br4VMBQuKVJeQKVPxMLlvPwSEsNpsTEECmBLSgbHUpwD1YGwse59l2p+9fmuig4fiNZIowrqq/6Xeqm9Vh9JbjcOKvqFtACX7gV8kTVZvkaRoRQSEsFpx1OZoM2iKxxuHLtDcsZlgLzYZfv7m7XSv+r7fIm234XSP/8o5ktWqzqSyZr89PoXPYDTYkZvziw0NLluKayoEyq4iNVULpTF1IaDjHHZmoAW4aep9geN8fiLt998cGYdtVp7K6iqzXGJFUCAi7jdkuapsBJKcPBwgyP8YRyV7B04Q3dDbpY3jg6gupoMNla5U41BbUN9n0sr1ScKaHwEhrOYfo7paCAW0WiWknihhW/0Tabf/6tDtxpIVSIhGnz1dSXUkDL8fSHKi4/lWPId9Kp3Vxqegp8J/m9f14D6DQ/nmb281FwgkZ1Dj7bnSSFx7ICCE1R7jmO8FJJr8jCvjeNrIxFjDJBpKVaSlXhwDw384MyucBoLAGEfHI5ptO6n1YAq4FjorH9IWjUOnFlF3pj62aui3whbI33ZGQAir/UY3XCVEvzgdw/8NcSyGUhSlpVWQrFg2p39xp0JYLyIohaXxdZ2FGofG6yi85/QS32F0Asu8URgu1+2JgCjd22xcsVElPC85169Gaa1YTkRWJKpSqooBiQQzONvq9sRULKKxtzzAEJw1api2EFZjoW3K0oSwmnJY5tcoSD09HanEDztubnfO/IopyUWC6sUmZUpW5aSqkgwgK04DxxaZrFivacCaIdAuH9zaM1rSDgloOwSEsNpoSMenvU93dXb+EE5taFivKElRqd67qrNmsqIF+yjMF/i56MV2JqadYKxXMDXM6+4Wu04pf/kQEMJaPuwbWvPticwj4Il/NnTrdl7JrqaDC5wTUle1GmdWWVCw1+JotjA6PgnThsIdQrXknF8arkJi/+R355dbcrUaArU9ha3WqxXW3tHR9C5dN//T9eEJ3aGdUwP7T0V7F86Mr0VW4mF6o2NTS/ilaB2HDmb8wA2+08AuS1FNjIAQVhMPTi1NgwRkGKbxRxMz3uaJSRzVUkumOtLwo6Zc7aOkVdEhynN9NQ1cyuNqeEqD67mX9TXGyxXbJhFthYAQVosP58S0909czfqJqzdGODVqaG/IUbCWr2p0yukfp4FUtDfeir1yl8IPUGjPHFy/fqJyKolpJwSEsFp4NEfT6Z3YBvOp8MvMc0hAi9hHNQ1cBrJil5TUZxhfXsTuSdFNhoAQVpMNSD3NMTzzU1PZYAM/ProYkg3UV5rHT8lXmA7SwnwEq4FLLVkRI04HM+n0LdvzvlEPZpK2tREQwmrR8ZucCd7hePr7rw2N5PfxLUZXON1zHKz4kb0KnIttP6Njk8tyaimbwXPrsW/yq3v3bhoqaJZctjkCQlgtOMCYCnU4GedTI+NpQ32XbxH7QOmKG5nzdIWZJz8HNkKygqI9TmSL2JSiovGVn0A39c8WBcpN2yMghNWCQ4zPc0HRbr6GEs6chJFnmfl3knZO4/hmII1B6fiFG9br0s6qAeXPp2WUrhzHeXH/jr6n5pNf8rQuAkJYLTZ2kK7Wul7w6zeGx9DyUsZovOodOizosTg1TM9k1Wogpa7lIisOF+w48E/7E5B1Y/cgtdizsBKbK6c1tNioT6X9n3MDcyePOo7OoJqrC6S0+ZIYV+GSOHxvc18PJCxXG4ed13I727axqTp9yk9rX1jutkj9S4+ASFhLj/m8axwdDdbgELxfGsLpoZyqVXPVU1QugVJUV0dC27p+FaaBWWxknq6ceAljTNMiAf/BoUMbJpewWqmqSRAQCatJBqKWZpgJ731Zx9pJM4aK0hXe5vlKVFEbKFlxs3PvqpSSqpbzKztRm+gnEkktnU6/2GFMfa4wXK5XDgJCWC0y1iAR6/Z49iOjY7C5qkG6mk+3SFQGlEP8FFdnygrNFqBsn1OxP5+K5pGHbcBhqhT8fqu/v39mHkVIljZAQAirRQYx7Wj3Zj3tddQjVVJ4l50CMjHe8mqOTJCCvmoTyIrENXx7Uinbm4Gs2PZUqkObnp76i0N7N36tWl8kvn0RaGnCGhgILKPn3B3+xKVXDh8+nPseX3sOlpt13+P4uonv71WeDqLr1ampFB8S1JrulNaHc9rTMxltcpofOeWns0rTLkeIZUHRnpm5YibMf7kc9UudzYNAyyrd8ZLpWvfgQT8w+oyevXeo++bBtaEtQd9s1/ffRsV3I6eDJCp+nourgH04UZQnhIYfWm1o8xdUGCU8/E/bil89sH3dlQUVJplbHoGWJaxnXri2HTvd1nEEcCBS3z++MLi75UejQgcmJjL92ax/gNJPo6QekhVXAbdvXI3D+XQ1Bcxiu02zTAEjKFIdHTQS/S8Hd2/4YhQm/spFoCUJ6+mnL651gkwRQRmBt33gO+c3teNQYin/oG6aKX5rcKEukqqoWN+Ij5vy81v8UATDG0WGC21jlJ96K6wKPpWd8H8jChN/ZSPQcoR1+vTppJPS7iw3bIZl7n/++eFV5eJaOczX9Z2YvM1LPxWpocBHKv8qHHdMqSphGUqqahaThfj40ITBcbLnsDj6oXvu2bS4n96JVy73TYtASxHWo48GxrUx+5Cu+XY5RH3PMzLGxF0ktXLxrRoGNVPPfNtOolIrgElLGYH2wbZqcipdIFVFlDbfGhqfj9bskCaHHS/7gTt3r73Y+BqkxFZFoKUI6/C7Lu/Bl1jmlKB8PUhcHjHufuyxx/g5lbZw+BL7bX4EoiZqyS0T0uM0j1+82QSl+ua+bhxj7GjD2LicwWkLzaarigbKsmDJ7gcTmezMBw/t3ixntUfAiK8QaBmzhq8/f26j77pbaxo3w+jetPf1B5D2RE3pmzyR4/nH+Mti4Wx1dUrCHO0lSVGqskFUnakkpn6mhu086jgYHkWTW3Wbo4Tli6L5gqYHE47vfeDufVv+YflaIjU3KwItIWEdO3a9Szc0ElDNDqcLbHjmxas7a87QxAnX9ljfxcr+Mzs29ykpi1O8iJjoR/cm5o7dnUl89LRLW93dyWmVIip+Kp7pmlWqIvQ8Mga9Gslm3Efu3LX+K008HNK0ZUSgplnGMrZPGxgYsIKeXa/TA61jPu0w0+7xBx/cd3M+eZspD0wbDgWm+RXP13cODY/jWGKuGAb48jG+agNpilbqlKZoWDqDY2AyjtNUlupzYZlKpXgaxIVMNv0zd+/d+uxcaSVuZSPQ/IT13TN34QRvZW81n6HSDdMLUqmjh9tgd//Fi8OHEl3JL3Z2dh3MzGA7XU664llVWRz/QhLjNYmsmaWp/DjCjqIDdlaZTOZZ1/A+fGj7hjP5OLkQBMog0NSE9cSRszuswNhdpt31BRnazM3U9IuPHDrUuG+419eChqU+cvzqjp7u5P9KJpMPpqc51Zv9QntLkFQBEqZluVCw/7nhaP9i376+8YIouRQEyiLQtIQ1cPT8GjOw7vE8tyFtxBrb2MBXdh579FF99g0vC0nzB548ebNHT2l/aFmJj1BPBYyav9EFLaQ+jdPAVNL8/pZ13a8qiJLLOhAAjvrTRy/d0enbF+69d0tzHFhWR/vnk7Rple6mp+9uFFkRGF8LVj/08IUN8wGp2fIcPLh+4sCu9R+F3ucj0MLf4vaVVnChqYWmdaQS2jpY2vd0djh86Vqh7c3Yxm8dudTPxaW0lrn7yJEjZW0Tm7HdC2lT0xKW1xecgHE3FDWNcb7uDh6+r/96Y0prjlIO7ur7TOD5b3ayzt9ylY0Gl83qKFXZsCXrXdOlrV3djf2LBr556JOshLDmMWhPPXV6vav5O5jVxYLUhNl3iIbV8yiqpbI0bQcP85C2Xu0l3dczC0XUN4Pzb71339mFltOM+Q/0rzu5f2fvu1zH+QDOt3uZ0pbVRMRFouJK5qqeTkhVqyBdtdUmhGV5JI4cudrpd5kHiyp3tTU/8s6r+4rC2vCmaQmLWJO0Ep65INJK2tbpt75298U2HLuiLh3oX/95L+0/kHUyvwTieiUJHVEimVzy1UKeWMqv2pCoKEVFRNXT1aHawnBx80eAZj7TwcxdAc5Gi5fiaNnNT37nCk4xaV/X1IRF2B94YHt63qQVaCcfePX2K+07fMU9U7qtHev+xE/7r3cc70O+6w1gxuV0dHZiusgvJS/O7IskRXLs6KCxqj+B26t9a3uUREWi4plbQlTFYzXvu+7tB3EIUGel/L6e3TNw5NS8zYAqldss4YvzBC9C7559drAja3qvDoyg6pwCP+KBZaVOPPjazS1vMLpQKE9fuPnawDB+EqehPwzWuAuSl8LPg90WVxhJJPWQCUmPBAWTBEz1TFUGpqO3wYYvIPgr2az35a2b1/50V6f1e1NTlVcvEzB0xRekj67usu5FmS2/crvQcaol/zeeObfTSOj91dIq28PxiaOHDx9quy8LtQxhcZBqIS0Dhkl2l/3yA4e2j1Qb2JUUD1Iyz1waOQib0vsxKXsAFvH3wMB0JySwtZC+DBPTN5BOCEnhrI1BuKe9l6tIzsVCiD6E0DOabrwI2elZ09aP7N3aNxjheXvK+a1OENa0EFYEyYL9rz072Ju03ZpNQKj7Xd899cKhNrA9LASvZTY/s9GcHoK0XsrakLS8UklLxyl+/rj+/Qfu2367sJNyTS7SuZfneO7ffweBGScu3NwAqWgrTvTc5jjBZmw87tMCfRXYKQWOgula4OiBOQUZ7DZuhrAGdQXxV0zPuCaGnkv3VPGHOpPw7+QPR62OM5HhdNddGOeX2kmCbSnC4mDlSStVTFr4eLljdHV+702vWz9R66Cu5HS5h5hmHvz3QiOxwJTRo2BGgY06dm7OVhewYGAY6s75oD+ZDs4JPY9JyqSCQ7ABqftd5VFM3/j2Ja4mtsWpJQSq6ZXu5UZTKeJnsHpohiYPRqBn04nkS2+CQWW59BK2dAjwS0Y4IHDz2ERWG8Gnwm7iK9W3sFmbvrqGPzw6gW8eTmvTM07XmTPX28KYd7EQ3rjnvv1QFHbPt3zT9DcMPHd+13zzN1s+/hC2rKOo7NjeQdsxT5LEWrYjbdLw05eHtwWe9jl0542u62HZHZIVpalY/yIlP5X3MHYddLLZfy4fmYiBhNuB509vw+rG3tKY+kOwGHLi7W/cS91jS7v4s9TSnZHGLx8CICH9lXNDX+zpWfXuycnaBV2e3e567nAm4973qv0bzy1fD5qr5oEB7KXt0u7B3Loh7yhWVfypbOalh9+wr6U3mbfklLC5Hi1pDRE4ef7Wj+EEiZ+amqpvJT2bzWjJRLIPR3n9riA5i4DZg720DSIrlsrvHXSZ9p7ZGlrzSgirNcetqVp9/vz5FJTqj6JRejTdq6eBMzNpHP9s//QrF4bvrydfO6f1JrCX1mvcXlo98Kembjotr3wXwmrnp36J+pYNeh5JdqRem83O77gxkpxtW3bgOZ/g1HKJmt3U1Rw+3D+zrc89aunagnWzpq6PdxujLz388L4F78tdbtCEsJZ7BFq8/sHBoMPX/I9hyrGgnuDUUZzrnnz7yQu3HlxQQW2Ued++fZmJ1e5LoPB5k5ZpWCPXz+08du+99zrtAI0QVjuM4jL2YcIZeh+2+9wF49MFtYJSlgmHE0g/JlLWLJQPg7RmhtyXsJ18eja0tivsXhj6xy9ve/mRR5TRcG2ZmjyViN9NPkDN3Dz1FW5z9XM4i+s1ME1YcFNpUIrVLHzJzHnwjl0bn1twgW1UwPHjxxPXpztejR0HFTc+F3YXRwxdfdM9W08D0zrs4wtLaM5rkbCac1xaolWOvurhZIPIih0OdVm2haNTfqUlAFjCRnJP4HBn+iUqz6tVa2nGpTe/etsP2o2s2G8hrGqjL/FlEQC5GHghfplSUSMdvwaEA/9+4vjpa3c2stx2KIsfUek2dr+EuXNF2xEjSJx98w/tbFt7NiGsdniSl6EPp84O3W/Z1oPzXRms1GRKWdCJdeCIlJ+vlGYlh997r+70+EPH8NHJEtLCauCph+7bmj81ox1xEsJqx1Fdij4Zxi9AT2KSYBrtslgxhOD2gWOyz7AstFzx6zFHj1mGobYUYAgC9cHge3ddK5uhjQKFsNpoMJeqK6+8cm0X6noXiWUxHA8WxAdWNyQM45HFKL8dyiRpueM7jllmMGpnjO+1w9fNaxmXxiogaqlR0jQdAkeOBPjczrnOiQ6jw88ESSOA6KT7iQzOHEvavu1pZsLQg4QPP/DdZG9Xx/vWrOr+mfR03SvtNffdxleAQIgvTzjBT0w409Mpu2faufZy+vDhw5WPMa25dEnYqggIYbXqyNXY7i/jCyvdfmaVb5hdVsLp9LJGp43j1/1A7/RdvdMwPRzEboRnLVHe9vEvL3eXBOB4ZMta22H+TiqV2LJQ26u5u6Bju44Z3J7O/Lvp6cwPmBanOwQ4uNHRTWMK21bSvh1Mm642nTWCtKkH07rnTE72aOO0XZq7bIltVQSEsFp15HLthg5J/+aJE12m3tVjOPYq1/dW4cTjHnwMYhXOce8xDd3y/PJW6OpMdsTRVy4iK/rKMR/jwvz825VIHFzT3fkx13UW/dnhRy3GJyeeHEs7n1XNibUPFvY6vtGDw5vV9w0Vofn81qGhZfDhi3HX8SfQ/3HPMse9CWcCX0gel2OIFJIt+2fRH7qWRaYJG85NxldGzV4tGayFSLQ24+q9ULyu9gJfMU5ELTn6wUISTl03NHz1KzyiJLqmX657OLLdSJgoXTO7cBxyN172blier4YCvBsFdSNXV2dC35tKJrbzfPfFdjwvC/qs9MSMxxNRsSqmT6LhUDQHE+jUBE7UnATXTuLsrRn01K2l/x6+qItiR3TNG8V59KNB0DGSfNXGUXwJY2Gm+osNhpSvEBDCasIHgVLTt75/aQ0MnXpBNb2QgNYEntfr4wu/nBYpKQLtxtdwAh0SBX3VDe7nM/Ha5vf1Fb/CURS2bCTAWWuxR229qRsbQQQbUed61LfW14JVKKsTJ5sk8WUcHbtlNANyTOhgcmAGKH7p3m1FWpqtuZCu+LByVdKHVMjpKEQrBwIW9tnpXOIH+QTDSH/D9f0bmCLewDn1I4HmwtAypPDZ/oe9oXKf/aMPsWxSs/RR13FHrURiZE1gDR86tKHEdCDMKX+XCwEhrOVCvqBeHNaW6ui11/mWDtLQ1kEiWodXE4rwYgepAPssTPCMOjIdAk94TZ8pMZjch8HjDorGFUTUAwlkh64be0A9/ZCatiDZWtOyE7ClQmIdJICJFYhA+TRV4Fo5/QIHiUvrTEbkVRCxiJfsSBbfYk87OTExXxdazY5yUgiRKfpHQ1YSkONmAZY+gV4NIeVFfCXoLNA5h/Plb5LzWAyzF+IVXdNnvO/6GcsyhjC1vmWZ7s2pO3fdOqzriy9asnJxZREoerDLppDAhiIAEtCfO3F5rW0a6z1PX4/nf53nG5RqqrpieSnULEVh8cx4E7ugH78H8tG9eP/24oVezY+pkpA8b/abhPF8le75BqdsXUtaFeaTlTI2IByEoU1l8oq1mkokcZHElIRoWmpejMMCMyCvQXyy7JjjuUcgOl4tLCzCMpTHgFpcgkViX/dH/ax2Szf8m2Yqc/MN+1r7BM/C/rfCtRDWEozSkbMjq7NTY5t13dqE6dhG3wsSqlp+C9DDi0ifLrqmT1f6BgUaPjiHN0lJAGAfvpWcI4XjiHIMF6ocO/EjmMa9HeelQ1LT1PRpoce/sJwOTCQtc+kfGQp6Uxl+9JWtmL+jNEaJ0gKBgbsygR58B4sHfwV5aliVWg3vCHv6ymHcdG868IzrVsK6pnd71+/dsmXxbD3m3/W2ybn0T1/bQFe5I8euX+9ybuqbXMPbDA7ZCKV4uMOecyz+9OfmWvj9x9zEw6JW+JuOX298WhE6qtwLEV3TL1tb/AWj7sqwfqaro/sdmcyM+vBp2XzzDEzaBiQsNH+e+eeTjQ+ohwqnG0BYhfVzNYKrkOmpyauYYH8KvD8G6RPBszrC6Jq+ystl0ghzXEZjR5+O4+iZwTh+eG7Yqa5rq/3hGzzTSkXKn4YgIITVABjBP+ZzP7i8ydasrZCetuCHvIvFRs92SEdlpnCYE2LOQi12OA7RNf1yjrphHIyE9yOXPnfNMDg70DpdTf8DWDKs5rRvMVwChAWrUgh21HzllD0NrigqlxKVC7bKQuOOWeGiuI7OTkhb6T8C/Xw3xkel9cXxj6eIxiY3Hhx3X9dHsWJwDaa3l1+zd9Mt/F4tUk/ijWnP+/DBb8++LWqvnh0c7NDGta0pO7kl6zpb8AJzEUr91kYEFdeBRCt69Nm4+AsSl6jwjVGckY6VwPwUpLhLURx9xliWvxFHi/w+zB0SWCnLsVpxnoXesSI2ngp4zmRJXPgf/0IleGH51R6uwjeX5MR76qtITh7+8N9Cp4GF7Sm8Zl1s35pVXVomm/5c1vG+Wm284njHJeJq44/FjixUAld8w7uijW6+xo3MhW2S6+oIVHumqpewglJ87+LFtcFUcqur+1vxwPcZJqYPMOyhXw6GKI4+4/GwQpjCBhe+6XDIpFb06PM+np5hhS5eXzw9bLJ2pBLGv4Fe36BU4kA6IQGw8MUY6MJywVeqDs54Z69zrWdY7jI3G1ZtUiSV6zzDI3IqLLew/wu9jspl+yywrA1pEed5QceXPT3jBb/DLrA5ua5UHZ/4eMTbFx+fwvE3DJO8fANrjlctL7giJhRx9MrfR89R+VgJ1Y6currONuwd0FNsxwtV02mPlWGLy1TxlPHf6Hh8PH9xesvw9yRM+5PIRT2ZIgVKKZxWUY/PT8aTFPji0i3m4Ed1hDWV/7uY9bNGtiGqAyorJRWSqCgdkrQiR5KddrwPlsq8xfhG6efvx8dvtiQczDdmmPaldDBxSVYeZ3GJXxUMWzxq5d4fPz7Ym7X1HTAL2A7NqtJHEQ3qtCPjw3LoxB/v+OMZ5VVzR5aHWRuErYA+y4uu6fM+Xl9J/lh7bFvbY+vmv0bWos9tsXAWSLIiaSnyApHxJz6SbFSFuXTw8i86r5vVRW1m+6IHmUREAuI0lcREP5q2ztWPrO9/YK54xsXHI56+cePvj3qBfimZNS+J5FWMcrjptThsRd4dPX9+DcwEd5iQphwozfkCwJKaLv9ewHYKeicfSudwShcnJDBBOD3MTwGRO0cqLIj73jQTaejDBYaPHTBgJ/i5+HyYijd95sFhRzkzB7yL2IrCtGwezj9nOQVTUlfPwiicifnu5J0qHHd8mXHIG6ZD7JQqIk9kJK6QwAokMWRUhMaSeJ0vcfaiXNhs7PyuwpYV51Vh+EM/Pu2M9GckpyiOuZm2Wvtom+Y4me8xPbvIIujzPu6Wbvyt1ejL3U7Sv/v754ZHsORwaX3KGdwiJhO5pzY+Mivk/urVq52jTnIXlEc78LKu8qAMx/G8kHhyOicosz0ovM3IrIDKb15HSvDoOoqv+hMLYCOWI8ash0vmufryZVcqLz4u8fym3ov1xT/EVp4UDUTn4/iS0xW+sZTMojASmLqGp64iH4FRXJQ2TKj+lv7JVRTVxwQkm9APyaboGnGMzSVR6VR87ipsVT645ovOzi5tamb6zzB1/nqzjz+s9YetwLioZW5C8jq08K9+1IxS8yQsfF6ap1WL2BK8VOaJc6NbPcPrx7wJ++hmHQUPvOaQgMJ3ETtVlERDP0wVsQ19uPgcLQyt/Dc+p4jlL6k/1xa2qVyh5ApEzEoErm/DsPOTXV3de6anq36roFyRdYWVbVSshHJEMt98saIXfIu9koplYZL6m/hUz7kS/Jt0/PE8+Jj6X/Y6k+fv2tA1BKIvB/OC8WnGAmp5dpqx3XW36fjgYK/upXbhFd+BrRlqn16MfkrspkoC4hnirYjbUVWzs4rHx8uL3cerjwt0TA4RcBcsuX8Rn97q54okVsCKJJ9YkSvy1gJR4aOtnAr6OJP+L13d+BKBKMEzHhAfgDh6yzD+vqHjTDDvYpAxLqwEfVdbE9bpIEi6V27tdLP+LnzPrWS/XrRTnz5d4e79+LNY7r4kP+Z7Jv7z1LyPL0B4Tb+ci9cXLy+eJ54e8Rw//rqqcUR+HOrgYVprJbBl5E2w63oI64J7k8mUDZLGhmAXs19ucVkxP8gKQu4ptCxbMy2TW3KAGI4u1P207ztH3CDx/7bL+Cdse8h1Zy5ev7Dp8uHD7blJuy0J69TV8XW6l92Dl3cbLG6g98idbhDgdANcY1ZY9o2N4mpNr96GRf1Da3Wui0RW69F1bWslvp81LD2xDTOGu9DhQzBc7AcYfYlkAqo6A6ozqHNBYJTESGitTGShsp0qQSxT4AcoPJQw0LBlEPhBFakHDjoLvY+XgVIyg7WK77tG8n9pvpHXBbXL+OMBd7FN6KLu+uf27esbX9RHdIkLbxvCGhgYsDb3v2a7obt7YHakpKmYiqgE2ioqJbzIOszXcSov/DAzRRNehyJKvPx4+igv/ZLKEaCkoZxUFMYXE1I8f7Xyq/UHp9CkAlfbCF3NdlhS7IQguA0N2wiJYy1ktC5IISb1Okr5jSYruy2SGlYkIkKLSC3yy/WrUWGzSnjaTUX/QEhYQuNewLCdwBFKRkpOuAfr4sBnwwfDg6B0MHagORhBHNqHw5WxTwYav6lAt/42MBLfrYZXHO9w3Ftr/B0Hp0pY+tkD29ddAz5ln8NGjddSlNPyhHV8aKjbzAS7Dd3egRcvgRHJWyrHASw9Pyp+vlSxEluH0jWAGQF9VVZMpxHVRZ/xSKQU4PR5Xy0+/sLQZCFS9DN/XKtSeh5WrL2x+sMyZv+W67+vwz5eC7oDx12rm9pakNg639B68XL3Qh+2Bm94DySxHhg0daBHSQhiCbyyyMS9SDi8RhEHyYP1qD9qak0S4VGn5VYrSTRKEkKHWYYiHuQmCYb/YKYLqS+3H5LYckxJmz6qhSYJ5yNgzgtuclESpncBfN8Fj3lgJdCSGpHcGECoxrouMoHjzO+4evLLMB1VKxJV8Wyj8Q80Ix043jnTu32hlTdkh08Yn7UWcnio9Qs3pzZm0lN7LCOxIdIZxbuQ1+lAVFFxJB7aMeUIiPkiPRPjo2v6dPF4FVjHnxi/oQK0Az/bymf5uI7ayGLj6eM63nrbF5VNXzV7nv3HViQL3JAEaSV1z0iBNJIgJBCYkSKJYbdjEiSHw7a0BI5s6QBBbINUswMUsQ6E11UojZGccA9dcZDBdQY+TgyFTgkiEKYyIBvstAQzIRk8cBJ+A2j4gZFDFWAqjAp3V5IhQYYwwUJ57ByS0QINzMYK8FyrRxt3KNbXb2qG/UVNT5wDyCt6/A0boGbdqzPA4tD21SPquWihPy1FWHjQzYs3xnZkM95ePIZd8RccBx1xez/UPowp46I4+uVcLD9/8Plq0Gfy6Jp+uez5uqPyY+UtNN5DuVQc06drpv4bIDXsjtsMpdkOSC79QK4Xog3PzwF4IBNCBiIhpBSpoE8jioqWaM2KCRuOqwLXgIQItKIe0lCYD/lZjoqgGIo0+J++SsmMKA8eqQ21qHuUh2PfzQHN6vgG6vVK8GfmQhcbr3Yff+AEi3rtdCtNF8u/eIWD2ATXx4Mg0XH1Vr/hm7sDQw8PvyvTrriKWocEE0C6oM/kJRJHrAykgj6WGlq+JUifu6YfS6pu4/UVa6AgQcXKi78ApekhcWFBwMstEkTX9MvVHw+Lt2ex+4+Pg62CxgsHEwZbAdgWIJfA+ICkfDRYtyAwWWB7Ay8F8VT/KB0bOJ4Gx/CQfUKSwZGrJJs8iZHYgB0zMB+zk8hopQ8hEcEog2ERASIBAOL5fIrVIKLxXKtzKPZLgZUckvGf+/nH5HsK0+Uz3316zeAjj3D23Lwu90w0ZwNpiZ72UnvwfO/AXIFnXfLBxLOsHn6yiLqmr3oQ04LHX9hq6TFHI6txrlYWkHj98UT1lh8vryR/rIKq6aO204drdP8hRWF3itmLUw42QnW1CSTSA2IAIXkWOBYKLWw8wjVqNkEaFqjFwLQNJhWI4ZiFoiq6QX0SbsEo6HMoWVFCYprwjw6FP65BXCSoXJwiOwpnFK9A6yiWkQhRDwA9XAfpwLS/AqnqSKP7jwapquiznXFXMn6x8Yg/X/HySvLHKqiaPlZfvf0H6BloAM/v3tpzHkJwUx59Uxb4GE5Lfnt2ZGS16SX3+F5mq4llfegtwnaSR6J5EC8hPUV6IDaS6aDnoZ5DpYe6AtdgOr4pyhXLNPH0KKCo/DDP7N+S+mI6qHzbQr7AbdgW+iylWn0l5cf6E29ftfSN6L9lGl04x30tOtMHklmLhxpClW9BL4S1T+i2uNPRp+0FflD0AN9A9LHnmHGBBfJCE3QL9ALiguoJqiu+64gDzWGIIAlhzhaSDsMV/yjJi3BxyY9khP9BXBSzEMY/AFORGMmM1yyKZfmm+ZKuJf4uMHV1THEj+o+S864E7zYd/8Dliqp2MamvPbt9uw4dY/M4DnXTuMuXx/scK9iHLcbryzfKwvOJBSGNPl10Tb8WV0xYyMFymDdXXv46Kq+ueChJQI4WlSUqf8StOf5CNdXqr9afxe8/Gm6AoLAqGKyCGLSG350ACFzKM2FvaeOseEhFOsjItdQ2S6wYYmkOdl2+CfLBvmpIV55vYY2Qn6uAxAWC40zbhxSmWArcQj0TSIiSU37mx0kgVesgLereOSz8E5EWJa6Qzyh1hZEcO7xY4Ct9WLfNvwa+5xA2h6uGP6vMPxMsZ8WNf0Gf+cOCw9usq51a5+kNG9Sn1IjJsjoO0LI7EpVra/vxhPdFs7JyjYriohlbTAKGxO1C6oJEljseOLqmTxfPX66OucJK66OUNzuDjK7p05UIbGwX25I/vrj4BYrnD0uZ/Rtvfzz9fPsPIkgkbL0DZNMFRVEHFEY2ZCBTcwMLdfCsCCVN4SwpE9YG+ARNgD24IDHYSYB1yNCYDkLRFoC8oOUG40AKQx5IYyAmlQ6SF7dDoSof0hbJiApzqLs43aPc5UG+AvVQ/4T7nGQFQiJ5kdbAkmgH2Sz0FaWB4gLrad22v4nmuvPt/yzCc1+V4t0e4z93r8PYwDCvNANxLSthkai0jmCf5+jq6y6Y4SkjTfoKprgWufj9Dg3AozBmiK7pl3H8WDH3u0YfLY6u6c/HVS2vSvsxoygyTF2q/qNenEyjJ5NJPYGPRidME1M1/JYqwyoNq32Ihu4J0z5M+WA2DoqwEI9wfmEaEhQJzPNsKNOh0jJwrfRVJqbnNOrC6IGwQFzgHiKrpCuq2kE+FizrMXWE7IWCEKemg7hSiimOQchNIC3EchqpHlBO95TshQThkwF5TL9k+Mm/MZLGzVo3AlQdLzagDle1vCYd/wU9/5Z5ZcyZPnNow/J8ZHZZCGtsbKw3rdn7nIzTx42o0WfP1cPKuYJ6XPFs5q7p8zmKx5v8cdcxDeMPOR1fj+gh4X10TV/dukiC+nJPeLy8eH1hrtm/UVvpKxcrP2oL/dlcs1eQ9PCeo73wGcp+R2Xyvlp74vH19B9EkoA2CYKUlcQqJCQj6vkoyBjh/IurcJiy4Zxy2FMptRBO7sK3kClR0UYUZAX+wMqfC1ICiYHMYBsKSQsSFKaAUEqZLoiK00ASFsgpN0UEUWE6yOkiiArE6NmUb91OWwAAEuNJREFUszCNxA0c/uBoF04W86YOarWQAYjGmHBBEIkUiXEqib025hNmInWknv6zKo77Sh3/RvcfSx5Xl4O4yr5Y7NxiuEEQFT4uvs8yrF5VvosX28LLS185vsiRHkc9YPiJtrCbJIzHyx3gJdfpl80flZWPR6qIxJghus7xjSqj4E9UNn2VvN76Csqq6XIR+48OYEeGlcAaXhLfQwxNQcgQEI9IErOOxBUuCuDLz9Arm5iyOTaYy7Jty8hAb2VCm43ZmwnwQTbgFpAWyA4SGEKhaMdgYNpngKAcpeMCAfFjYGE4yAqco3RZ0LorUqOkxVkf6AgzvFBPFbISSsOUD+WRrWijpcwbmI4Gomj4yxAIv4bPVU+q9sfxk/EP36UlfP49N3vNWr/m9CZdX/zzjDDofAoW3XHVr9NPHdB8p2+uORl/mjFLUktMbBTtkSJbpLCRxYyD5OpJps/4+DJuvq5IIgoLqfi3pLzcRuloM7QSzKImsBSWG80LVKkxkSvOkFHaCjL5QvrPN9rwvaSVtEg2ICmQCNRQkGjwnlOpNktMxdds+GxcRFrIyCmhTQMEUJjl4qwtzPbAOVC8o0DUZroGiMmBpEUfRBZ4DvRUJC4/1GOpij1ML9XU0PJdFxIZGsOpJkkOQ0YdFh5CPodKl0WfRqQkVUhTIEf1iN4GkdJU4Rx/xsJfHkpfMv4cd+IAUJb1+YdkfSU7NXp6+/bti7qquKiEdfVq0Gl2TO2DonYzAcUTCv0slCB8FuGia/q8j7iAPl30aNIPHVKq55w+00MvjFLo05WmV8H5P9XLzydVF/H0xbGl9UGfjm226B98po2u6fO+0f3H9M7SbT1h+FoS00ybSmm+5/RZHxzbwWvVHtSvNuLRR4BKl0vPtHRhWh1SESUsNBkH0qjvNiAx4MA1JDBc4yBmTPmwJArJCFM+dA1SE5XsmFIqRTzKUrZYkMio78IUkauFoW6Mcbin1GWrOR8nqOEUEUQFmuK3ZdEw6NFg92s9j3XLp0CIsAuS8VdPkcKhCZ9/KAc81x/c3NdzFjy6KHZc0YPNh7VhDg9jYnh4co9n2dvx1nLalys7Rimx2xLGigfEJBQ0Xr149FkBVb04BQiTlPAFbTiDxRGKM1pJf5AgarPKG0sQu413N07hkCANO5m0fSebtCwziW5DqMISHTRMJCDF23inYbmsauNCHq+Vn1ta5dErzKN8psP/RiIXVpAegKJQ30Y06AQSEXdAIpdL0wbTNsLpoSIeCwRJHZYBpTusIFAIlPC0iqL5AxoCcmLPQkkLdITRCc0dSFqQD1A51g4pLOXmhZCwDMO2BpH9q6ZtDoU4oKQIy5yEynFnv+mzw+0+/q3Sf5yT4aYs89zq1alLIK7wYeQANcCpgW5AOaqIARzxcudrXrMTz+cuFAxBI1Rw06eLKz3xsnDikt+Mmr9mWBlXrbySeJAlTt8MXJImXHRNv0zx2GpWZ3r0KKqzXHlRHH26+fQf+mkbg56ADjppUuihMJl7BEhGtmnj+4Phj1lEUAzjaQcgJkzcqPPmlI/yjdJV8Trf/+hbeYyP0uMS0zSVF8SEaSELxkhR6a7IC1IVHkNMBWEkCljxYQ7YXgWKrDCHw2ohJDDKSkr5Tst3TANBp7DdgkTFKSOpxYMtV2i3hXQoJjwbBo3L4oibAajdXmSbCl01PEvi6x3PetMvwfi3cv+xHpPRk8GZvo6Oq5y5FvZlvtfqQZ5v5igfH7iRdHqrn/H24McyEb6ejCUxkCwqEATi8JDNKtWRIxI6wrLj+aOyQgIqLT/KTZ+OLYnCFGHE60PdSgzIgVmcfrbt5evjYkB97VeNyv8plx/UYoChElhYgB7KtD3PAUWRpejIVNzNAjNzyDuYRqnrMF5dIx4CkTrlAJQRps2FhZIX5lqYwfFLOygTBeSmkUhDEgNvIC7MR5ML6JhozoCpn+858G1utbH4j7BRT0Z9VlZzbTyOKJCKeCjkqYbkFBJh+DXCPVcKuXKIFURlm8WBoZSFOBCYmk6i33ioT+Kw1CegEMspcFfe+M8+rRySNum/YUwm9I7TPT04NWOBDg/nwtz16xMbEp3mPswIOuI6G7wBSlynz1pQWZEIP0smIcEEWN3QsfJDn+nj9FFSPh73wilgdE2f+eOumo4pPqWI2kI/LKu4RVXLq7H/kJopRUFhnkj4joNT9KC/BlZgAIVD1I+cwASVUBgCIsF1KEQxJLpGPKHGP5LYrAs5ikREnmJ61KF4K5cG1+REVS6HC1JauGroYYcOrLWUEp6MSF0UpoZgK5hV2dgEzeNLYbMBnRQZEUPnOwGMT6GOp57Kg/0WTCMYjnsQHpDmlJFTR5IcNt/alvV1PdF5NsKcLSpGG03L6QcjnWDpeIXqgFYb//A9wGi1+fMPDeqY7nae6uvT530KKp+JebkhHJyX6Fqz33X83tCgRr1d6gXBH+XnFtEwDmEVMBfAtbK7UvHxVTb1gGLQokbFVBZMDtUJHmT+dsPxmqSRU2nkrxkWxhfbOfEVwLov4sIaonSRr1qZy6vy8xliPbn+qPjYHxSm6mJwdB357DfaVtJ/BMLeW0/ayVQSR6TA5AB7h8kwmFeRrFBUSFYkJk7GsM+F5SuiCQmFBEriCskHYcxfEM9ozBjBS/yaKD//rBzndjD3BHswAcmqwFdhOWGugCw5owwpEt9sxMlVGWQEK4GlcAOi1XAcL6eLICfdcMFmNDnH7xdO/YTCHTkxM2B6EiSPbuXmHrZO5eJy4Iu6lfo2Gu8orFfA+PM9UMjnHpBIx9v+/Q9Wm8nMfcMTE1d7u7vP4Ec6fzy1wqOGP3xI63JHjgT2/rsy/boTbMP0pe78dVUWS5wjK0VUjIqNN3kA62ZYeIcfxofXDFNFUZBTT4W6m71mWBlXrb4yWSoEYWh0jVIUdJEmzA6o18mRDN7dCplCEkK8IiP4WRAU9OO8j5wimZB3SAhKYlJEphLkJCaSEP7PEdxsfVG5UWFxP6qPPngTlvBED6IWLN8dTPmg8ocFPPRXWBdlFWqqCEmLlhAgLRtKdLaAkpQNfRUM6DUQGOUiTimNEaT7FvRVw/F6K91XG4/mHf9KPaovvJ36jzfSS1mpc6mUdhnvhZL4a0GjZsKBKK+n0+kt0AHvztCAsIzjeeAeUKVPF1l101cBWCICxcGmcPalUeHRnyguIsJYej79fFnpKxdjrKhu+spVK69Ke+OW6SXlh7Xk/8b7D5umJKY6nUiQAEmp5ZKoD5Ay8kTFzcAsJIrL+ZREYCWAaU4ubXRNP8wfpuSuGubHMwCJhSuGPCiYJIMw5GV6xkfY0Wd+WoPiBAlEhvnzNluw3SKZYTkQHIQ5J1RQDg7Lw/QQGUIdFp4wcC9KgQ/7KkxjucEHROVmc3ZaCFfEjMxUvlPvBZ0WhT1Q1zG06hQKyGPA9qEh4bPRJuO/0p//WvoPyXpa77BPr9L1mn64QiJRT0vlP3jg1oyn0/th1dnN6VOkQyh8wVRuPpLUH9GHi+sckD4vLaj43NSHLwfv8cKjbGxdgc97JUpFpIRbpovKYHTUltkpHYkyEqNYf1gWfZU+Vn+JiMZERS4qKyTAMv1hmwoItLT/aL6OL9cn8A4mknhDkR5CUuh43ExhAXjnIQVxRQ9UwnU1JM73meHISINzlY/1Ir3jwNQBtui5IpU3K2mFZbEUEhgJiHlZhkqI8rws7hPFxBHlZ5romu1CGRSv2HyQEQiLPkwefJcSk2o0mU+F8Z46KswbKd8qvRUWiq7BsuoYlF/q+Jd839p4/KNnFHhw+Fbc819r/y3dHO7qsk9D2lLPBvEq59SLXC6CYSCq1OTk5F48g+FxLyQSvvyzhFK8taaYL1ACiYdkkSOg/HVO4irmAySLlR8+yHy5wnaWysTF7YmnRxdyecMXFDcxx3KjNCUEGUtb2r4Iixwh5qebxEG58v2Hkh0ERqlLp5kClNLkngLSyF8XExrZi089SYbFm9DRg1FCbEKyoxQE8sqFkTOgTwrDVIPCP/k8qpRcGrxMEXmxnpwjUeXbhjpgA2bBNsp0HPQWOiwNOnddw5YcNIdSFyzTlUKehEbrLDxDNn7osjCXPw5FO22qgPfKHn/pf8XxxxetvSvYlX8BxBVKCdGDmPPDhz0W+Oijjxof//jHt+Hh2oko/qKqFx4l0BJQmQIwS3RNn/fxZXqGFbq4nQzimI9tKFs+S1S1KJ9XoQkEfUQwtKg98fSzefMMwmx5F28/IqK2RLjM2b54/gX0H0v6+IiDZSVgHJogfYWNzDMUpCtsUkKg4pKIUJAsnNTlkjNWzfBCPMOhi8JAiCSqPBmyMFVQ1OdctQwLywNZ5cPCpDl80D6IhjzBASQF0sUeREpSJCyE4ceSpJXbEO2612AHepaTSRn/YrtEAD3n8xV/ntv4+S96nyGRO9gccQZmEPiBK3bRi5kPHcG+v2T32n2+53bxNY8oQyWIB0SR9OmqxMeTh5lm/8azx8srEbCQNSqTpUTX+eagwCiPqiWeQAXO/olHV2tPaYUFjWCxsQJjt7MV564K6iOB2Xj1adNGa3PqDMFl4XwSSnAQCUIibqFPlwtTwbiOkoSR+JvLx3KYv9BXaSrlLyifSegQBNMFTAWhiIeFArRZnoX+8Y2EzKhbnuNlYO9wFpZXkwoH5Kmj/6qOFTz+0n8+Y4Y/2pVIcJqY35+YJ6wjEN33ZzL9kPY3hWjx6Sv+RcByLIQAZZYQJSn2C944FRF/QkvjQ31XZDcV04GVPOGl+WdJEhVGbaNPV3d7Va7ZP83U/1ACgzTjkg4gjUFvHhGWkrPAPnnBLNeFSEKKfAbzOu9yBAUdVj6cZURpZuU3XOUILioD93x2IEnxxFGc9c6M+M93cHSNZVzHquBQDeMn4x898wQ2us7pgGvAbyU8/z5e5EupVEqtJirCgp4KHxVI7sbrQIYKHyKF3+yvIvEEX8FsQNk9qXwgBpgQwNo7p9OKrukzfdzF08+WTmYrV35YF+tU8bEpYImInGtLVH+8PkzZ8iQcVpjrawXCLOHH5uo/9JmWjbXHJMQcNhVW8bOklbsumnJw7Q+cgtVK2mJxAUNNKKncp54KHuzAwnjCE01B1UIHA1A80ik/IkdIfTj6mE8MXh2sSKZhdHUd+IcDykwFLj4eMv7Fv+il75c8/xEmeHaojD+jZ4LgbsPVVvO5iutg4oSAFCCiAqVp/jrUKRU8mzVexsube05ff3tiD0Q1wkP/ojrYgeiaftiheHsjLKL4GrudTxYvb0H9h94bpzeAwCD4cAqJf5SmlBjFH5D8ChVC1Q8KyIkrjtgbE64y4lqtINJHel5Hq4q4ZdsYzsWBWaU+rkFWtFzQbiNNnWciNbT/qD4+Hitq/FdE/3mWzmvQU+W4hZZPenQuRHRNfylcvfVjpUqz0Tj6dNE1/fm4euufTx1z5am3/hr6z6lj9A9ElneKwPJ3IYEVEpqKys0YFeUhoDBP4TV/+bjVIkfqKuu8/ixC/+tqR73111V4DYnrrb+G8a+h1tkk9dY/m7MxV7XUzwdP3ApBgCYG6Co+L6/+kcB4X0g0ERFFzwXjojBc5q8ZhqOKtWEoROmLEwSWBIHowVySyqSS5kIABEYhisRFEov8SgRWGD6K9OMgq8IwBIkTBBYXASGsxcW3pUoHgfF5iIiLPv9x+03kuLxMqaqsUj1KJL4gsFgICGEtFrJtUG6OwDhtJHHhqLOl+dBAG0AnXRAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBIGVhMD/D0fV/fpMMM+gAAAAAElFTkSuQmCC" } @@ -10533,12 +11564,17 @@ const NumberBox = { decimalLength: null, longPress: true, color: "#323233", + buttonWidth: 30, buttonSize: 30, + buttonRadius: "0px", bgColor: "#EBECEE", + disabledBgColor: "#f7f8fa", + inputBgColor: "#EBECEE", cursorSpacing: 100, disableMinus: false, disablePlus: false, - iconStyle: "" + iconStyle: "", + miniMode: false } }; const NumberKeyboard = { @@ -10581,16 +11617,26 @@ const Picker = { columns: [], loading: false, itemHeight: 44, - cancelText: "取消", - confirmText: "确定", + cancelText: t$1("up.common.cancel"), + confirmText: t$1("up.common.confirm"), cancelColor: "#909193", - confirmColor: "#3c9cff", + confirmColor: "", visibleItemCount: 5, keyName: "text", + valueName: "value", closeOnClickOverlay: false, defaultIndex: [], immediateChange: true, - zIndex: 10076 + zIndex: 10076, + disabled: false, + disabledColor: "", + placeholder: t$1("up.common.pleaseChoose"), + inputProps: {}, + bgColor: "", + round: 0, + duration: 300, + overlayOpacity: 0.5, + pageInline: false } }; const Popup = { @@ -10607,10 +11653,14 @@ const Popup = { safeAreaInsetBottom: true, safeAreaInsetTop: false, closeIconPos: "top-right", - round: 0, + round: "20px", zoom: true, - bgColor: "", - overlayOpacity: 0.5 + bgColor: "#fff", + overlayOpacity: 0.5, + pageInline: false, + touchable: false, + minHeight: "200px", + maxHeight: "600px" } }; const Radio = { @@ -10675,8 +11725,8 @@ const ReadMore = { readMore: { showHeight: 400, toggle: false, - closeText: "展开阅读全文", - openText: "收起", + closeText: t$1("up.readMore.expand"), + openText: t$1("up.readMore.fold"), color: "#2979ff", fontSize: 14, textIndent: "2em", @@ -10719,12 +11769,12 @@ const Search = { search: { shape: "round", bgColor: "#f2f2f2", - placeholder: "请输入关键字", + placeholder: t$1("up.search.placeholder"), clearabled: true, focus: false, showAction: true, actionStyle: {}, - actionText: "搜索", + actionText: t$1("up.common.search"), inputAlign: "left", inputStyle: {}, disabled: false, @@ -10734,19 +11784,22 @@ const Search = { color: "#606266", placeholderColor: "#909399", searchIcon: "search", + iconPosition: "left", margin: "0", animation: false, value: "", maxlength: "-1", height: 32, - label: null + label: null, + adjustPosition: true, + autoBlur: true } }; const Section = { // u-section组件 section: { title: "", - subTitle: "更多", + subTitle: t$1("up.common.more"), right: true, fontSize: 15, bold: true, @@ -10788,13 +11841,18 @@ const Slider = { disabled: false, blockStyle: {}, useNative: false, - height: "2px" + height: "", + innerStyle: {}, + vertical: false, + size: "2px", + length: "auto" } }; const StatusBar = { // statusBar statusBar: { - bgColor: "transparent" + bgColor: "transparent", + height: 0 } }; const Steps = { @@ -10840,7 +11898,10 @@ const Subsection = { fontSize: 12, bold: true, bgColor: "#eeeeef", - keyName: "name" + keyName: "name", + activeColorKeyName: "activeColorKey", + inactiveColorKeyName: "inactiveColorKey", + disabled: false } }; const SwipeAction = { @@ -10909,6 +11970,8 @@ const Switch = { size: 25, activeColor: "#2979ff", inactiveColor: "#ffffff", + dotActiveColor: "#ffffff", + dotInactiveColor: "#ffffff", value: false, activeValue: true, inactiveValue: false, @@ -10926,7 +11989,9 @@ const Tabbar = { activeColor: "#1989fa", inactiveColor: "#7d7e80", fixed: true, - placeholder: true + placeholder: true, + borderColor: "", + backgroundColor: "" } }; const TabbarItem = { @@ -10937,7 +12002,8 @@ const TabbarItem = { badge: null, dot: false, text: "", - badgeStyle: "top: 6px;right:2px;" + badgeStyle: "top: 6px;right:2px;", + mode: "" } }; const Tabs = { @@ -10945,7 +12011,7 @@ const Tabs = { tabs: { duration: 300, list: [], - lineColor: "#3c9cff", + lineColor: "", activeStyle: { color: "#303133" }, @@ -10960,7 +12026,8 @@ const Tabs = { }, scrollable: true, current: 0, - keyName: "name" + keyName: "name", + iconStyle: {} } }; const Tag = { @@ -10981,7 +12048,12 @@ const Tag = { closable: false, show: true, icon: "", - iconColor: "" + iconColor: "", + textSize: "", + height: "", + padding: "", + borderRadius: "", + autoBgColor: 0 } }; const Text = { @@ -11045,7 +12117,7 @@ const Toast = { toast: { zIndex: 10090, loading: false, - text: "", + message: "", icon: "", type: "", loadingMode: "", @@ -11064,10 +12136,10 @@ const Toolbar = { // toolbar 组件 toolbar: { show: true, - cancelText: "取消", - confirmText: "确认", + cancelText: t$1("up.common.cancel"), + confirmText: t$1("up.common.confirm"), cancelColor: "#909193", - confirmColor: "#3c9cff", + confirmColor: "", title: "" } }; @@ -11084,7 +12156,10 @@ const Tooltip = { showCopy: true, buttons: [], overlay: true, - showToast: true + showToast: true, + popupBgColor: "", + triggerMode: "longpress", + forcePosition: {} } }; const Transition = { @@ -11121,10 +12196,19 @@ const Upload = { uploadText: "", width: 80, height: 80, - previewImage: true + previewImage: true, + autoDelete: false, + autoUpload: false, + autoUploadApi: "", + autoUploadAuthUrl: "", + autoUploadDriver: "", + autoUploadHeader: {}, + getVideoThumb: false, + customAfterAutoUpload: false, + videoPreviewObjectFit: "cover" } }; -const defProps = { +const props$l = { ...ActionSheet, ...Album, ...Alert, @@ -11135,6 +12219,7 @@ const defProps = { ...Button, ...Calendar, ...CarKeyboard, + ...Card, ...Cell, ...CellGroup, ...Checkbox, @@ -11152,7 +12237,7 @@ const defProps = { ...Divider, ...Empty, ...Form, - ...GormItem, + ...FormItem, ...Gap, ...Grid, ...GridItem, @@ -11214,28 +12299,67 @@ const defProps = { ...Transition, ...Upload }; -const zIndex = { - toast: 10090, - noNetwork: 10080, - // popup包含popup,actionsheet,keyboard,picker的值 - popup: 10075, - mask: 10070, - navbar: 980, - topTips: 975, - sticky: 970, - indexListSticky: 965 -}; +function setConfig$1(configs) { + shallowMerge(config, configs.config || {}); + shallowMerge(props$l, configs.props || {}); + shallowMerge(color$3, configs.color || {}); + shallowMerge(zIndex, configs.zIndex || {}); +} +if (index$1 && index$1.upuiParams) { + console.log("setting uview-plus"); + let temp = index$1.upuiParams(); + if (temp.httpIns) { + temp.httpIns(http); + } + if (temp.options) { + setConfig$1(temp.options); + } +} let platform = "none"; platform = "vue3"; platform = "mp"; platform = "weixin"; const platform$1 = platform; -const http = new Request$1(); +let params = { + loaded: false +}; +const loadFont = () => { + if (config.loadFontOnce) { + params.loaded = true; + } + index$1.loadFontFace({ + global: true, + // 是否全局生效。微信小程序 '2.10.0'起支持全局生效,需在 app.vue 中调用。 + family: "uicon-iconfont", + source: 'url("' + config.iconUrl + '")', + success() { + }, + fail() { + } + }); + if (config.customIcon.family) { + index$1.loadFontFace({ + global: true, + // 是否全局生效。微信小程序 '2.10.0'起支持全局生效,需在 app.vue 中调用。 + family: config.customIcon.family, + source: 'url("' + config.customIcon.url + '")', + success() { + }, + fail() { + } + }); + } + return true; +}; +const fontUtil = { + params, + loadFont +}; let themeType = ["primary", "success", "error", "warning", "info"]; function setConfig(configs) { index.shallowMerge(config, configs.config || {}); - index.shallowMerge(defProps, configs.props || {}); - index.shallowMerge(color, configs.color || {}); + index.shallowMerge(props$l, configs.props || {}); + index.shallowMerge(color$3, configs.color || {}); index.shallowMerge(zIndex, configs.zIndex || {}); } index.setConfig = setConfig; @@ -11255,14 +12379,25 @@ const $u = { zIndex, debounce, throttle, + calc, mixin, mpMixin, - props: defProps, + // props, ...index, - color, + color: color$3, platform: platform$1 }; -const install = (Vue) => { +const install = (Vue, upuiParams = "") => { + if (upuiParams) { + index$1.upuiParams = upuiParams; + let temp = upuiParams(); + if (temp.httpIns) { + temp.httpIns(http); + } + if (temp.options) { + setConfig(temp.options); + } + } index$1.$u = $u; Vue.config.globalProperties.$u = $u; Vue.mixin(mixin); @@ -11338,18 +12473,18 @@ function isUndefined(val) { function encode(val) { return encodeURIComponent(val).replace(/%40/gi, "@").replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]"); } -function buildURL(url2, params, paramsSerializer) { - if (!params) { +function buildURL(url2, params2, paramsSerializer) { + if (!params2) { return url2; } var serializedParams; if (paramsSerializer) { - serializedParams = paramsSerializer(params); - } else if (isURLSearchParams(params)) { - serializedParams = params.toString(); + serializedParams = paramsSerializer(params2); + } else if (isURLSearchParams(params2)) { + serializedParams = params2.toString(); } else { var parts = []; - forEach2(params, function serialize(val, key) { + forEach2(params2, function serialize(val, key) { if (val === null || typeof val === "undefined") { return; } @@ -12289,67 +13424,734 @@ var relativeTime$1 = { }); })(relativeTime$1); const relativeTime = relativeTimeExports; -const props$h = defineMixin({ +var uqrcodeExports = {}; +var uqrcode = { + get exports() { + return uqrcodeExports; + }, + set exports(v2) { + uqrcodeExports = v2; + } +}; +(function(module2, exports2) { + !function(o2, e2) { + module2.exports = e2(); + }(typeof window !== "undefined" ? window : commonjsGlobal, function() { + function o2(o3) { + this.mode = r2.MODE_8BIT_BYTE, this.data = o3; + } + function e2(o3, e3) { + this.typeNumber = o3, this.errorCorrectLevel = e3, this.modules = null, this.moduleCount = 0, this.dataCache = null, this.dataList = new Array(); + } + o2.prototype = { getLength: function(o3) { + return this.data.length; + }, write: function(o3) { + for (var e3 = 0; e3 < this.data.length; e3++) + o3.put(this.data.charCodeAt(e3), 8); + } }, e2.prototype = { addData: function(e3) { + var r3 = new o2(e3); + this.dataList.push(r3), this.dataCache = null; + }, isDark: function(o3, e3) { + if (o3 < 0 || this.moduleCount <= o3 || e3 < 0 || this.moduleCount <= e3) + throw new Error(o3 + "," + e3); + return this.modules[o3][e3]; + }, getModuleCount: function() { + return this.moduleCount; + }, make: function() { + if (this.typeNumber < 1) { + var o3 = 1; + for (o3 = 1; o3 < 40; o3++) { + for (var e3 = v2.getRSBlocks(o3, this.errorCorrectLevel), r3 = new p2(), t3 = 0, i3 = 0; i3 < e3.length; i3++) + t3 += e3[i3].dataCount; + for (i3 = 0; i3 < this.dataList.length; i3++) { + var n3 = this.dataList[i3]; + r3.put(n3.mode, 4), r3.put(n3.getLength(), h2.getLengthInBits(n3.mode, o3)), n3.write(r3); + } + if (r3.getLengthInBits() <= 8 * t3) + break; + } + this.typeNumber = o3; + } + this.makeImpl(false, this.getBestMaskPattern()); + }, makeImpl: function(o3, r3) { + this.moduleCount = 4 * this.typeNumber + 17, this.modules = new Array(this.moduleCount); + for (var t3 = 0; t3 < this.moduleCount; t3++) { + this.modules[t3] = new Array(this.moduleCount); + for (var i3 = 0; i3 < this.moduleCount; i3++) + this.modules[t3][i3] = null; + } + this.setupPositionProbePattern(0, 0), this.setupPositionProbePattern(this.moduleCount - 7, 0), this.setupPositionProbePattern(0, this.moduleCount - 7), this.setupPositionAdjustPattern(), this.setupTimingPattern(), this.setupTypeInfo(o3, r3), this.typeNumber >= 7 && this.setupTypeNumber(o3), null == this.dataCache && (this.dataCache = e2.createData(this.typeNumber, this.errorCorrectLevel, this.dataList)), this.mapData(this.dataCache, r3); + }, setupPositionProbePattern: function(o3, e3) { + for (var r3 = -1; r3 <= 7; r3++) + if (!(o3 + r3 <= -1 || this.moduleCount <= o3 + r3)) + for (var t3 = -1; t3 <= 7; t3++) + e3 + t3 <= -1 || this.moduleCount <= e3 + t3 || (this.modules[o3 + r3][e3 + t3] = 0 <= r3 && r3 <= 6 && (0 == t3 || 6 == t3) || 0 <= t3 && t3 <= 6 && (0 == r3 || 6 == r3) || 2 <= r3 && r3 <= 4 && 2 <= t3 && t3 <= 4); + }, getBestMaskPattern: function() { + for (var o3 = 0, e3 = 0, r3 = 0; r3 < 8; r3++) { + this.makeImpl(true, r3); + var t3 = h2.getLostPoint(this); + (0 == r3 || o3 > t3) && (o3 = t3, e3 = r3); + } + return e3; + }, createMovieClip: function(o3, e3, r3) { + var t3 = o3.createEmptyMovieClip(e3, r3); + this.make(); + for (var i3 = 0; i3 < this.modules.length; i3++) + for (var n3 = 1 * i3, a3 = 0; a3 < this.modules[i3].length; a3++) { + var d3 = 1 * a3; + this.modules[i3][a3] && (t3.beginFill(0, 100), t3.moveTo(d3, n3), t3.lineTo(d3 + 1, n3), t3.lineTo(d3 + 1, n3 + 1), t3.lineTo(d3, n3 + 1), t3.endFill()); + } + return t3; + }, setupTimingPattern: function() { + for (var o3 = 8; o3 < this.moduleCount - 8; o3++) + null == this.modules[o3][6] && (this.modules[o3][6] = o3 % 2 == 0); + for (var e3 = 8; e3 < this.moduleCount - 8; e3++) + null == this.modules[6][e3] && (this.modules[6][e3] = e3 % 2 == 0); + }, setupPositionAdjustPattern: function() { + for (var o3 = h2.getPatternPosition(this.typeNumber), e3 = 0; e3 < o3.length; e3++) + for (var r3 = 0; r3 < o3.length; r3++) { + var t3 = o3[e3], i3 = o3[r3]; + if (null == this.modules[t3][i3]) + for (var n3 = -2; n3 <= 2; n3++) + for (var a3 = -2; a3 <= 2; a3++) + this.modules[t3 + n3][i3 + a3] = -2 == n3 || 2 == n3 || -2 == a3 || 2 == a3 || 0 == n3 && 0 == a3; + } + }, setupTypeNumber: function(o3) { + for (var e3 = h2.getBCHTypeNumber(this.typeNumber), r3 = 0; r3 < 18; r3++) { + var t3 = !o3 && 1 == (e3 >> r3 & 1); + this.modules[Math.floor(r3 / 3)][r3 % 3 + this.moduleCount - 8 - 3] = t3; + } + for (r3 = 0; r3 < 18; r3++) { + t3 = !o3 && 1 == (e3 >> r3 & 1); + this.modules[r3 % 3 + this.moduleCount - 8 - 3][Math.floor(r3 / 3)] = t3; + } + }, setupTypeInfo: function(o3, e3) { + for (var r3 = this.errorCorrectLevel << 3 | e3, t3 = h2.getBCHTypeInfo(r3), i3 = 0; i3 < 15; i3++) { + var n3 = !o3 && 1 == (t3 >> i3 & 1); + i3 < 6 ? this.modules[i3][8] = n3 : i3 < 8 ? this.modules[i3 + 1][8] = n3 : this.modules[this.moduleCount - 15 + i3][8] = n3; + } + for (i3 = 0; i3 < 15; i3++) { + n3 = !o3 && 1 == (t3 >> i3 & 1); + i3 < 8 ? this.modules[8][this.moduleCount - i3 - 1] = n3 : i3 < 9 ? this.modules[8][15 - i3 - 1 + 1] = n3 : this.modules[8][15 - i3 - 1] = n3; + } + this.modules[this.moduleCount - 8][8] = !o3; + }, mapData: function(o3, e3) { + for (var r3 = -1, t3 = this.moduleCount - 1, i3 = 7, n3 = 0, a3 = this.moduleCount - 1; a3 > 0; a3 -= 2) + for (6 == a3 && a3--; ; ) { + for (var d3 = 0; d3 < 2; d3++) + if (null == this.modules[t3][a3 - d3]) { + var u3 = false; + n3 < o3.length && (u3 = 1 == (o3[n3] >>> i3 & 1)), h2.getMask(e3, t3, a3 - d3) && (u3 = !u3), this.modules[t3][a3 - d3] = u3, -1 == --i3 && (n3++, i3 = 7); + } + if ((t3 += r3) < 0 || this.moduleCount <= t3) { + t3 -= r3, r3 = -r3; + break; + } + } + } }, e2.PAD0 = 236, e2.PAD1 = 17, e2.createData = function(o3, r3, t3) { + for (var i3 = v2.getRSBlocks(o3, r3), n3 = new p2(), a3 = 0; a3 < t3.length; a3++) { + var d3 = t3[a3]; + n3.put(d3.mode, 4), n3.put(d3.getLength(), h2.getLengthInBits(d3.mode, o3)), d3.write(n3); + } + var u3 = 0; + for (a3 = 0; a3 < i3.length; a3++) + u3 += i3[a3].dataCount; + if (n3.getLengthInBits() > 8 * u3) + throw new Error("code length overflow. (" + n3.getLengthInBits() + ">" + 8 * u3 + ")"); + for (n3.getLengthInBits() + 4 <= 8 * u3 && n3.put(0, 4); n3.getLengthInBits() % 8 != 0; ) + n3.putBit(false); + for (; !(n3.getLengthInBits() >= 8 * u3 || (n3.put(e2.PAD0, 8), n3.getLengthInBits() >= 8 * u3)); ) + n3.put(e2.PAD1, 8); + return e2.createBytes(n3, i3); + }, e2.createBytes = function(o3, e3) { + for (var r3 = 0, t3 = 0, i3 = 0, n3 = new Array(e3.length), a3 = new Array(e3.length), d3 = 0; d3 < e3.length; d3++) { + var u3 = e3[d3].dataCount, s3 = e3[d3].totalCount - u3; + t3 = Math.max(t3, u3), i3 = Math.max(i3, s3), n3[d3] = new Array(u3); + for (var g3 = 0; g3 < n3[d3].length; g3++) + n3[d3][g3] = 255 & o3.buffer[g3 + r3]; + r3 += u3; + var l3 = h2.getErrorCorrectPolynomial(s3), c3 = new f2(n3[d3], l3.getLength() - 1).mod(l3); + a3[d3] = new Array(l3.getLength() - 1); + for (g3 = 0; g3 < a3[d3].length; g3++) { + var m3 = g3 + c3.getLength() - a3[d3].length; + a3[d3][g3] = m3 >= 0 ? c3.get(m3) : 0; + } + } + var v3 = 0; + for (g3 = 0; g3 < e3.length; g3++) + v3 += e3[g3].totalCount; + var p3 = new Array(v3), C2 = 0; + for (g3 = 0; g3 < t3; g3++) + for (d3 = 0; d3 < e3.length; d3++) + g3 < n3[d3].length && (p3[C2++] = n3[d3][g3]); + for (g3 = 0; g3 < i3; g3++) + for (d3 = 0; d3 < e3.length; d3++) + g3 < a3[d3].length && (p3[C2++] = a3[d3][g3]); + return p3; + }; + for (var r2 = { MODE_NUMBER: 1, MODE_ALPHA_NUM: 2, MODE_8BIT_BYTE: 4, MODE_KANJI: 8 }, t2 = { L: 1, M: 0, Q: 3, H: 2 }, i2 = 0, n2 = 1, a2 = 2, d2 = 3, u2 = 4, s2 = 5, g2 = 6, l2 = 7, h2 = { PATTERN_POSITION_TABLE: [[], [6, 18], [6, 22], [6, 26], [6, 30], [6, 34], [6, 22, 38], [6, 24, 42], [6, 26, 46], [6, 28, 50], [6, 30, 54], [6, 32, 58], [6, 34, 62], [6, 26, 46, 66], [6, 26, 48, 70], [6, 26, 50, 74], [6, 30, 54, 78], [6, 30, 56, 82], [6, 30, 58, 86], [6, 34, 62, 90], [6, 28, 50, 72, 94], [6, 26, 50, 74, 98], [6, 30, 54, 78, 102], [6, 28, 54, 80, 106], [6, 32, 58, 84, 110], [6, 30, 58, 86, 114], [6, 34, 62, 90, 118], [6, 26, 50, 74, 98, 122], [6, 30, 54, 78, 102, 126], [6, 26, 52, 78, 104, 130], [6, 30, 56, 82, 108, 134], [6, 34, 60, 86, 112, 138], [6, 30, 58, 86, 114, 142], [6, 34, 62, 90, 118, 146], [6, 30, 54, 78, 102, 126, 150], [6, 24, 50, 76, 102, 128, 154], [6, 28, 54, 80, 106, 132, 158], [6, 32, 58, 84, 110, 136, 162], [6, 26, 54, 82, 110, 138, 166], [6, 30, 58, 86, 114, 142, 170]], G15: 1335, G18: 7973, G15_MASK: 21522, getBCHTypeInfo: function(o3) { + for (var e3 = o3 << 10; h2.getBCHDigit(e3) - h2.getBCHDigit(h2.G15) >= 0; ) + e3 ^= h2.G15 << h2.getBCHDigit(e3) - h2.getBCHDigit(h2.G15); + return (o3 << 10 | e3) ^ h2.G15_MASK; + }, getBCHTypeNumber: function(o3) { + for (var e3 = o3 << 12; h2.getBCHDigit(e3) - h2.getBCHDigit(h2.G18) >= 0; ) + e3 ^= h2.G18 << h2.getBCHDigit(e3) - h2.getBCHDigit(h2.G18); + return o3 << 12 | e3; + }, getBCHDigit: function(o3) { + for (var e3 = 0; 0 != o3; ) + e3++, o3 >>>= 1; + return e3; + }, getPatternPosition: function(o3) { + return h2.PATTERN_POSITION_TABLE[o3 - 1]; + }, getMask: function(o3, e3, r3) { + switch (o3) { + case i2: + return (e3 + r3) % 2 == 0; + case n2: + return e3 % 2 == 0; + case a2: + return r3 % 3 == 0; + case d2: + return (e3 + r3) % 3 == 0; + case u2: + return (Math.floor(e3 / 2) + Math.floor(r3 / 3)) % 2 == 0; + case s2: + return e3 * r3 % 2 + e3 * r3 % 3 == 0; + case g2: + return (e3 * r3 % 2 + e3 * r3 % 3) % 2 == 0; + case l2: + return (e3 * r3 % 3 + (e3 + r3) % 2) % 2 == 0; + default: + throw new Error("bad maskPattern:" + o3); + } + }, getErrorCorrectPolynomial: function(o3) { + for (var e3 = new f2([1], 0), r3 = 0; r3 < o3; r3++) + e3 = e3.multiply(new f2([1, c2.gexp(r3)], 0)); + return e3; + }, getLengthInBits: function(o3, e3) { + if (1 <= e3 && e3 < 10) + switch (o3) { + case r2.MODE_NUMBER: + return 10; + case r2.MODE_ALPHA_NUM: + return 9; + case r2.MODE_8BIT_BYTE: + case r2.MODE_KANJI: + return 8; + default: + throw new Error("mode:" + o3); + } + else if (e3 < 27) + switch (o3) { + case r2.MODE_NUMBER: + return 12; + case r2.MODE_ALPHA_NUM: + return 11; + case r2.MODE_8BIT_BYTE: + return 16; + case r2.MODE_KANJI: + return 10; + default: + throw new Error("mode:" + o3); + } + else { + if (!(e3 < 41)) + throw new Error("type:" + e3); + switch (o3) { + case r2.MODE_NUMBER: + return 14; + case r2.MODE_ALPHA_NUM: + return 13; + case r2.MODE_8BIT_BYTE: + return 16; + case r2.MODE_KANJI: + return 12; + default: + throw new Error("mode:" + o3); + } + } + }, getLostPoint: function(o3) { + for (var e3 = o3.getModuleCount(), r3 = 0, t3 = 0; t3 < e3; t3++) + for (var i3 = 0; i3 < e3; i3++) { + for (var n3 = 0, a3 = o3.isDark(t3, i3), d3 = -1; d3 <= 1; d3++) + if (!(t3 + d3 < 0 || e3 <= t3 + d3)) + for (var u3 = -1; u3 <= 1; u3++) + i3 + u3 < 0 || e3 <= i3 + u3 || 0 == d3 && 0 == u3 || a3 == o3.isDark(t3 + d3, i3 + u3) && n3++; + n3 > 5 && (r3 += 3 + n3 - 5); + } + for (t3 = 0; t3 < e3 - 1; t3++) + for (i3 = 0; i3 < e3 - 1; i3++) { + var s3 = 0; + o3.isDark(t3, i3) && s3++, o3.isDark(t3 + 1, i3) && s3++, o3.isDark(t3, i3 + 1) && s3++, o3.isDark(t3 + 1, i3 + 1) && s3++, 0 != s3 && 4 != s3 || (r3 += 3); + } + for (t3 = 0; t3 < e3; t3++) + for (i3 = 0; i3 < e3 - 6; i3++) + o3.isDark(t3, i3) && !o3.isDark(t3, i3 + 1) && o3.isDark(t3, i3 + 2) && o3.isDark(t3, i3 + 3) && o3.isDark(t3, i3 + 4) && !o3.isDark(t3, i3 + 5) && o3.isDark(t3, i3 + 6) && (r3 += 40); + for (i3 = 0; i3 < e3; i3++) + for (t3 = 0; t3 < e3 - 6; t3++) + o3.isDark(t3, i3) && !o3.isDark(t3 + 1, i3) && o3.isDark(t3 + 2, i3) && o3.isDark(t3 + 3, i3) && o3.isDark(t3 + 4, i3) && !o3.isDark(t3 + 5, i3) && o3.isDark(t3 + 6, i3) && (r3 += 40); + var g3 = 0; + for (i3 = 0; i3 < e3; i3++) + for (t3 = 0; t3 < e3; t3++) + o3.isDark(t3, i3) && g3++; + return r3 += 10 * (Math.abs(100 * g3 / e3 / e3 - 50) / 5); + } }, c2 = { glog: function(o3) { + if (o3 < 1) + throw new Error("glog(" + o3 + ")"); + return c2.LOG_TABLE[o3]; + }, gexp: function(o3) { + for (; o3 < 0; ) + o3 += 255; + for (; o3 >= 256; ) + o3 -= 255; + return c2.EXP_TABLE[o3]; + }, EXP_TABLE: new Array(256), LOG_TABLE: new Array(256) }, m2 = 0; m2 < 8; m2++) + c2.EXP_TABLE[m2] = 1 << m2; + for (m2 = 8; m2 < 256; m2++) + c2.EXP_TABLE[m2] = c2.EXP_TABLE[m2 - 4] ^ c2.EXP_TABLE[m2 - 5] ^ c2.EXP_TABLE[m2 - 6] ^ c2.EXP_TABLE[m2 - 8]; + for (m2 = 0; m2 < 255; m2++) + c2.LOG_TABLE[c2.EXP_TABLE[m2]] = m2; + function f2(o3, e3) { + if (null == o3.length) + throw new Error(o3.length + "/" + e3); + for (var r3 = 0; r3 < o3.length && 0 == o3[r3]; ) + r3++; + this.num = new Array(o3.length - r3 + e3); + for (var t3 = 0; t3 < o3.length - r3; t3++) + this.num[t3] = o3[t3 + r3]; + } + function v2(o3, e3) { + this.totalCount = o3, this.dataCount = e3; + } + function p2() { + this.buffer = new Array(), this.length = 0; + } + function C(o3) { + return o3.setFillStyle = o3.setFillStyle || function(e3) { + o3.fillStyle = e3; + }, o3.setFontSize = o3.setFontSize || function(e3) { + o3.font = `${e3}px`; + }, o3.setTextAlign = o3.setTextAlign || function(e3) { + o3.textAlign = e3; + }, o3.setTextBaseline = o3.setTextBaseline || function(e3) { + o3.textBaseline = e3; + }, o3.setGlobalAlpha = o3.setGlobalAlpha || function(e3) { + o3.globalAlpha = e3; + }, o3.setStrokeStyle = o3.setStrokeStyle || function(e3) { + o3.strokeStyle = e3; + }, o3.setShadow = o3.setShadow || function(e3, r3, t3, i3) { + o3.shadowOffsetX = e3, o3.shadowOffsetY = r3, o3.shadowBlur = t3, o3.shadowColor = i3; + }, o3.draw = o3.draw || function(o4, e3) { + e3 && e3(); + }, o3; + } + function b2(o3, e3) { + var r3 = this.data = ""; + this.dataEncode = true; + var t3 = this.size = 200; + this.useDynamicSize = false, this.dynamicSize = t3; + var i3 = this.typeNumber = -1; + this.errorCorrectLevel = b2.errorCorrectLevel.H; + var n3 = this.margin = 0; + this.areaColor = "#FFFFFF", this.backgroundColor = "rgba(255,255,255,0)", this.backgroundImageSrc = void 0; + var a3 = this.backgroundImageWidth = void 0, d3 = this.backgroundImageHeight = void 0, u3 = this.backgroundImageX = void 0, s3 = this.backgroundImageY = void 0; + this.backgroundImageAlpha = 1, this.backgroundImageBorderRadius = 0; + var g3 = this.backgroundPadding = 0; + this.foregroundColor = "#000000", this.foregroundImageSrc = void 0; + var l3 = this.foregroundImageWidth = void 0, h3 = this.foregroundImageHeight = void 0, c3 = this.foregroundImageX = void 0, m3 = this.foregroundImageY = void 0, f3 = this.foregroundImagePadding = 0; + this.foregroundImageBackgroundColor = "#FFFFFF"; + var v3 = this.foregroundImageBorderRadius = 0, p3 = this.foregroundImageShadowOffsetX = 0, y2 = this.foregroundImageShadowOffsetY = 0, k2 = this.foregroundImageShadowBlur = 0; + this.foregroundImageShadowColor = "#808080"; + var w2 = this.foregroundPadding = 0, I2 = this.positionProbeBackgroundColor = void 0, B2 = this.positionProbeForegroundColor = void 0, S2 = this.separatorColor = void 0, P2 = this.positionAdjustBackgroundColor = void 0, E2 = this.positionAdjustForegroundColor = void 0, L2 = this.timingBackgroundColor = void 0, D2 = this.timingForegroundColor = void 0, T2 = this.typeNumberBackgroundColor = void 0, A2 = this.typeNumberForegroundColor = void 0, N2 = this.darkBlockColor = void 0; + this.base = void 0, this.modules = [], this.moduleCount = 0, this.drawModules = []; + var M2 = this.canvasContext = void 0; + this.loadImage, this.drawReserve = false, this.isMaked = false, Object.defineProperties(this, { data: { get() { + if ("" === r3 || void 0 === r3) + throw console.error("[uQRCode]: data must be set!"), new b2.Error("data must be set!"); + return r3; + }, set(o4) { + r3 = String(o4); + } }, size: { get: () => t3, set(o4) { + t3 = Number(o4); + } }, typeNumber: { get: () => i3, set(o4) { + i3 = Number(o4); + } }, margin: { get: () => n3, set(o4) { + n3 = Number(o4); + } }, backgroundImageWidth: { get() { + return void 0 === a3 ? this.dynamicSize : this.useDynamicSize ? this.dynamicSize / this.size * a3 : a3; + }, set(o4) { + a3 = Number(o4); + } }, backgroundImageHeight: { get() { + return void 0 === d3 ? this.dynamicSize : this.useDynamicSize ? this.dynamicSize / this.size * d3 : d3; + }, set(o4) { + d3 = Number(o4); + } }, backgroundImageX: { get() { + return void 0 === u3 ? 0 : this.useDynamicSize ? this.dynamicSize / this.size * u3 : u3; + }, set(o4) { + u3 = Number(o4); + } }, backgroundImageY: { get() { + return void 0 === s3 ? 0 : this.useDynamicSize ? this.dynamicSize / this.size * s3 : s3; + }, set(o4) { + s3 = Number(o4); + } }, backgroundPadding: { get: () => g3, set(o4) { + g3 = o4 > 1 ? 1 : o4 < 0 ? 0 : o4; + } }, foregroundImageWidth: { get() { + return void 0 === l3 ? (this.dynamicSize - 2 * this.margin) / 4 : this.useDynamicSize ? this.dynamicSize / this.size * l3 : l3; + }, set(o4) { + l3 = Number(o4); + } }, foregroundImageHeight: { get() { + return void 0 === h3 ? (this.dynamicSize - 2 * this.margin) / 4 : this.useDynamicSize ? this.dynamicSize / this.size * h3 : h3; + }, set(o4) { + h3 = Number(o4); + } }, foregroundImageX: { get() { + return void 0 === c3 ? this.dynamicSize / 2 - this.foregroundImageWidth / 2 : this.useDynamicSize ? this.dynamicSize / this.size * c3 : c3; + }, set(o4) { + c3 = Number(o4); + } }, foregroundImageY: { get() { + return void 0 === m3 ? this.dynamicSize / 2 - this.foregroundImageHeight / 2 : this.useDynamicSize ? this.dynamicSize / this.size * m3 : m3; + }, set(o4) { + m3 = Number(o4); + } }, foregroundImagePadding: { get() { + return this.useDynamicSize ? this.dynamicSize / this.size * f3 : f3; + }, set(o4) { + f3 = Number(o4); + } }, foregroundImageBorderRadius: { get() { + return this.useDynamicSize ? this.dynamicSize / this.size * v3 : v3; + }, set(o4) { + v3 = Number(o4); + } }, foregroundImageShadowOffsetX: { get() { + return this.useDynamicSize ? this.dynamicSize / this.size * p3 : p3; + }, set(o4) { + p3 = Number(o4); + } }, foregroundImageShadowOffsetY: { get() { + return this.useDynamicSize ? this.dynamicSize / this.size * y2 : y2; + }, set(o4) { + y2 = Number(o4); + } }, foregroundImageShadowBlur: { get() { + return this.useDynamicSize ? this.dynamicSize / this.size * k2 : k2; + }, set(o4) { + k2 = Number(o4); + } }, foregroundPadding: { get: () => w2, set(o4) { + w2 = o4 > 1 ? 1 : o4 < 0 ? 0 : o4; + } }, positionProbeBackgroundColor: { get() { + return I2 || this.backgroundColor; + }, set(o4) { + I2 = o4; + } }, positionProbeForegroundColor: { get() { + return B2 || this.foregroundColor; + }, set(o4) { + B2 = o4; + } }, separatorColor: { get() { + return S2 || this.backgroundColor; + }, set(o4) { + S2 = o4; + } }, positionAdjustBackgroundColor: { get() { + return P2 || this.backgroundColor; + }, set(o4) { + P2 = o4; + } }, positionAdjustForegroundColor: { get() { + return E2 || this.foregroundColor; + }, set(o4) { + E2 = o4; + } }, timingBackgroundColor: { get() { + return L2 || this.backgroundColor; + }, set(o4) { + L2 = o4; + } }, timingForegroundColor: { get() { + return D2 || this.foregroundColor; + }, set(o4) { + D2 = o4; + } }, typeNumberBackgroundColor: { get() { + return T2 || this.backgroundColor; + }, set(o4) { + T2 = o4; + } }, typeNumberForegroundColor: { get() { + return A2 || this.foregroundColor; + }, set(o4) { + A2 = o4; + } }, darkBlockColor: { get() { + return N2 || this.foregroundColor; + }, set(o4) { + N2 = o4; + } }, canvasContext: { get() { + if (void 0 === M2) + throw console.error("[uQRCode]: use drawCanvas, you need to set the canvasContext!"), new b2.Error("use drawCanvas, you need to set the canvasContext!"); + return M2; + }, set(o4) { + M2 = C(o4); + } } }), b2.plugins.forEach((o4) => o4(b2, this, false)), o3 && this.setOptions(o3), e3 && (this.canvasContext = C(e3)); + } + return f2.prototype = { get: function(o3) { + return this.num[o3]; + }, getLength: function() { + return this.num.length; + }, multiply: function(o3) { + for (var e3 = new Array(this.getLength() + o3.getLength() - 1), r3 = 0; r3 < this.getLength(); r3++) + for (var t3 = 0; t3 < o3.getLength(); t3++) + e3[r3 + t3] ^= c2.gexp(c2.glog(this.get(r3)) + c2.glog(o3.get(t3))); + return new f2(e3, 0); + }, mod: function(o3) { + if (this.getLength() - o3.getLength() < 0) + return this; + for (var e3 = c2.glog(this.get(0)) - c2.glog(o3.get(0)), r3 = new Array(this.getLength()), t3 = 0; t3 < this.getLength(); t3++) + r3[t3] = this.get(t3); + for (t3 = 0; t3 < o3.getLength(); t3++) + r3[t3] ^= c2.gexp(c2.glog(o3.get(t3)) + e3); + return new f2(r3, 0).mod(o3); + } }, v2.RS_BLOCK_TABLE = [[1, 26, 19], [1, 26, 16], [1, 26, 13], [1, 26, 9], [1, 44, 34], [1, 44, 28], [1, 44, 22], [1, 44, 16], [1, 70, 55], [1, 70, 44], [2, 35, 17], [2, 35, 13], [1, 100, 80], [2, 50, 32], [2, 50, 24], [4, 25, 9], [1, 134, 108], [2, 67, 43], [2, 33, 15, 2, 34, 16], [2, 33, 11, 2, 34, 12], [2, 86, 68], [4, 43, 27], [4, 43, 19], [4, 43, 15], [2, 98, 78], [4, 49, 31], [2, 32, 14, 4, 33, 15], [4, 39, 13, 1, 40, 14], [2, 121, 97], [2, 60, 38, 2, 61, 39], [4, 40, 18, 2, 41, 19], [4, 40, 14, 2, 41, 15], [2, 146, 116], [3, 58, 36, 2, 59, 37], [4, 36, 16, 4, 37, 17], [4, 36, 12, 4, 37, 13], [2, 86, 68, 2, 87, 69], [4, 69, 43, 1, 70, 44], [6, 43, 19, 2, 44, 20], [6, 43, 15, 2, 44, 16], [4, 101, 81], [1, 80, 50, 4, 81, 51], [4, 50, 22, 4, 51, 23], [3, 36, 12, 8, 37, 13], [2, 116, 92, 2, 117, 93], [6, 58, 36, 2, 59, 37], [4, 46, 20, 6, 47, 21], [7, 42, 14, 4, 43, 15], [4, 133, 107], [8, 59, 37, 1, 60, 38], [8, 44, 20, 4, 45, 21], [12, 33, 11, 4, 34, 12], [3, 145, 115, 1, 146, 116], [4, 64, 40, 5, 65, 41], [11, 36, 16, 5, 37, 17], [11, 36, 12, 5, 37, 13], [5, 109, 87, 1, 110, 88], [5, 65, 41, 5, 66, 42], [5, 54, 24, 7, 55, 25], [11, 36, 12], [5, 122, 98, 1, 123, 99], [7, 73, 45, 3, 74, 46], [15, 43, 19, 2, 44, 20], [3, 45, 15, 13, 46, 16], [1, 135, 107, 5, 136, 108], [10, 74, 46, 1, 75, 47], [1, 50, 22, 15, 51, 23], [2, 42, 14, 17, 43, 15], [5, 150, 120, 1, 151, 121], [9, 69, 43, 4, 70, 44], [17, 50, 22, 1, 51, 23], [2, 42, 14, 19, 43, 15], [3, 141, 113, 4, 142, 114], [3, 70, 44, 11, 71, 45], [17, 47, 21, 4, 48, 22], [9, 39, 13, 16, 40, 14], [3, 135, 107, 5, 136, 108], [3, 67, 41, 13, 68, 42], [15, 54, 24, 5, 55, 25], [15, 43, 15, 10, 44, 16], [4, 144, 116, 4, 145, 117], [17, 68, 42], [17, 50, 22, 6, 51, 23], [19, 46, 16, 6, 47, 17], [2, 139, 111, 7, 140, 112], [17, 74, 46], [7, 54, 24, 16, 55, 25], [34, 37, 13], [4, 151, 121, 5, 152, 122], [4, 75, 47, 14, 76, 48], [11, 54, 24, 14, 55, 25], [16, 45, 15, 14, 46, 16], [6, 147, 117, 4, 148, 118], [6, 73, 45, 14, 74, 46], [11, 54, 24, 16, 55, 25], [30, 46, 16, 2, 47, 17], [8, 132, 106, 4, 133, 107], [8, 75, 47, 13, 76, 48], [7, 54, 24, 22, 55, 25], [22, 45, 15, 13, 46, 16], [10, 142, 114, 2, 143, 115], [19, 74, 46, 4, 75, 47], [28, 50, 22, 6, 51, 23], [33, 46, 16, 4, 47, 17], [8, 152, 122, 4, 153, 123], [22, 73, 45, 3, 74, 46], [8, 53, 23, 26, 54, 24], [12, 45, 15, 28, 46, 16], [3, 147, 117, 10, 148, 118], [3, 73, 45, 23, 74, 46], [4, 54, 24, 31, 55, 25], [11, 45, 15, 31, 46, 16], [7, 146, 116, 7, 147, 117], [21, 73, 45, 7, 74, 46], [1, 53, 23, 37, 54, 24], [19, 45, 15, 26, 46, 16], [5, 145, 115, 10, 146, 116], [19, 75, 47, 10, 76, 48], [15, 54, 24, 25, 55, 25], [23, 45, 15, 25, 46, 16], [13, 145, 115, 3, 146, 116], [2, 74, 46, 29, 75, 47], [42, 54, 24, 1, 55, 25], [23, 45, 15, 28, 46, 16], [17, 145, 115], [10, 74, 46, 23, 75, 47], [10, 54, 24, 35, 55, 25], [19, 45, 15, 35, 46, 16], [17, 145, 115, 1, 146, 116], [14, 74, 46, 21, 75, 47], [29, 54, 24, 19, 55, 25], [11, 45, 15, 46, 46, 16], [13, 145, 115, 6, 146, 116], [14, 74, 46, 23, 75, 47], [44, 54, 24, 7, 55, 25], [59, 46, 16, 1, 47, 17], [12, 151, 121, 7, 152, 122], [12, 75, 47, 26, 76, 48], [39, 54, 24, 14, 55, 25], [22, 45, 15, 41, 46, 16], [6, 151, 121, 14, 152, 122], [6, 75, 47, 34, 76, 48], [46, 54, 24, 10, 55, 25], [2, 45, 15, 64, 46, 16], [17, 152, 122, 4, 153, 123], [29, 74, 46, 14, 75, 47], [49, 54, 24, 10, 55, 25], [24, 45, 15, 46, 46, 16], [4, 152, 122, 18, 153, 123], [13, 74, 46, 32, 75, 47], [48, 54, 24, 14, 55, 25], [42, 45, 15, 32, 46, 16], [20, 147, 117, 4, 148, 118], [40, 75, 47, 7, 76, 48], [43, 54, 24, 22, 55, 25], [10, 45, 15, 67, 46, 16], [19, 148, 118, 6, 149, 119], [18, 75, 47, 31, 76, 48], [34, 54, 24, 34, 55, 25], [20, 45, 15, 61, 46, 16]], v2.getRSBlocks = function(o3, e3) { + var r3 = v2.getRsBlockTable(o3, e3); + if (null == r3) + throw new Error("bad rs block @ typeNumber:" + o3 + "/errorCorrectLevel:" + e3); + for (var t3 = r3.length / 3, i3 = new Array(), n3 = 0; n3 < t3; n3++) + for (var a3 = r3[3 * n3 + 0], d3 = r3[3 * n3 + 1], u3 = r3[3 * n3 + 2], s3 = 0; s3 < a3; s3++) + i3.push(new v2(d3, u3)); + return i3; + }, v2.getRsBlockTable = function(o3, e3) { + switch (e3) { + case t2.L: + return v2.RS_BLOCK_TABLE[4 * (o3 - 1) + 0]; + case t2.M: + return v2.RS_BLOCK_TABLE[4 * (o3 - 1) + 1]; + case t2.Q: + return v2.RS_BLOCK_TABLE[4 * (o3 - 1) + 2]; + case t2.H: + return v2.RS_BLOCK_TABLE[4 * (o3 - 1) + 3]; + default: + return; + } + }, p2.prototype = { get: function(o3) { + var e3 = Math.floor(o3 / 8); + return 1 == (this.buffer[e3] >>> 7 - o3 % 8 & 1); + }, put: function(o3, e3) { + for (var r3 = 0; r3 < e3; r3++) + this.putBit(1 == (o3 >>> e3 - r3 - 1 & 1)); + }, getLengthInBits: function() { + return this.length; + }, putBit: function(o3) { + var e3 = Math.floor(this.length / 8); + this.buffer.length <= e3 && this.buffer.push(0), o3 && (this.buffer[e3] |= 128 >>> this.length % 8), this.length++; + } }, e2.errorCorrectLevel = t2, b2.errorCorrectLevel = e2.errorCorrectLevel, b2.Error = function(o3) { + this.errMsg = "[uQRCode]: " + o3; + }, b2.plugins = [], b2.use = function(o3) { + "function" == typeof o3 && b2.plugins.push(o3); + }, b2.prototype.loadImage = function(o3) { + return Promise.resolve(o3); + }, b2.prototype.setOptions = function(o3) { + var e3, r3, t3, i3, n3, a3, d3, u3, s3, g3, l3, h3, c3, m3, f3, v3, p3, C2, b3, y2, k2, w2, I2, B2, S2, P2, E2, L2, D2, T2, A2, N2, M2, z2, _2, O, R2, x2, F2, H2, X2, Y2, j2, W2, G2, K2, Q2, U2, $2, J2, q2, V2, Z2, oo, eo, ro; + o3 && (Object.keys(o3).forEach((e4) => { + this[e4] = o3[e4]; + }), function(o4 = {}, e4 = {}, r4 = false) { + let t4; + for (var i4 in t4 = r4 ? o4 : { ...o4 }, e4) { + var n4 = e4[i4]; + null != n4 && (n4.constructor == Object ? t4[i4] = this.deepReplace(t4[i4], n4) : n4.constructor != String || n4 ? t4[i4] = n4 : t4[i4] = t4[i4]); + } + }(this, { data: o3.data || o3.text, dataEncode: o3.dataEncode, size: o3.size, useDynamicSize: o3.useDynamicSize, typeNumber: o3.typeNumber, errorCorrectLevel: o3.errorCorrectLevel, margin: o3.margin, areaColor: o3.areaColor, backgroundColor: o3.backgroundColor || (null === (e3 = o3.background) || void 0 === e3 ? void 0 : e3.color), backgroundImageSrc: o3.backgroundImageSrc || (null === (r3 = o3.background) || void 0 === r3 || null === (t3 = r3.image) || void 0 === t3 ? void 0 : t3.src), backgroundImageWidth: o3.backgroundImageWidth || (null === (i3 = o3.background) || void 0 === i3 || null === (n3 = i3.image) || void 0 === n3 ? void 0 : n3.width), backgroundImageHeight: o3.backgroundImageHeight || (null === (a3 = o3.background) || void 0 === a3 || null === (d3 = a3.image) || void 0 === d3 ? void 0 : d3.height), backgroundImageX: o3.backgroundImageX || (null === (u3 = o3.background) || void 0 === u3 || null === (s3 = u3.image) || void 0 === s3 ? void 0 : s3.x), backgroundImageY: o3.backgroundImageY || (null === (g3 = o3.background) || void 0 === g3 || null === (l3 = g3.image) || void 0 === l3 ? void 0 : l3.y), backgroundImageAlpha: o3.backgroundImageAlpha || (null === (h3 = o3.background) || void 0 === h3 || null === (c3 = h3.image) || void 0 === c3 ? void 0 : c3.alpha), backgroundImageBorderRadius: o3.backgroundImageBorderRadius || (null === (m3 = o3.background) || void 0 === m3 || null === (f3 = m3.image) || void 0 === f3 ? void 0 : f3.borderRadius), backgroundPadding: o3.backgroundPadding, foregroundColor: o3.foregroundColor || (null === (v3 = o3.foreground) || void 0 === v3 ? void 0 : v3.color), foregroundImageSrc: o3.foregroundImageSrc || (null === (p3 = o3.foreground) || void 0 === p3 || null === (C2 = p3.image) || void 0 === C2 ? void 0 : C2.src), foregroundImageWidth: o3.foregroundImageWidth || (null === (b3 = o3.foreground) || void 0 === b3 || null === (y2 = b3.image) || void 0 === y2 ? void 0 : y2.width), foregroundImageHeight: o3.foregroundImageHeight || (null === (k2 = o3.foreground) || void 0 === k2 || null === (w2 = k2.image) || void 0 === w2 ? void 0 : w2.height), foregroundImageX: o3.foregroundImageX || (null === (I2 = o3.foreground) || void 0 === I2 || null === (B2 = I2.image) || void 0 === B2 ? void 0 : B2.x), foregroundImageY: o3.foregroundImageY || (null === (S2 = o3.foreground) || void 0 === S2 || null === (P2 = S2.image) || void 0 === P2 ? void 0 : P2.y), foregroundImagePadding: o3.foregroundImagePadding || (null === (E2 = o3.foreground) || void 0 === E2 || null === (L2 = E2.image) || void 0 === L2 ? void 0 : L2.padding), foregroundImageBackgroundColor: o3.foregroundImageBackgroundColor || (null === (D2 = o3.foreground) || void 0 === D2 || null === (T2 = D2.image) || void 0 === T2 ? void 0 : T2.backgroundColor), foregroundImageBorderRadius: o3.foregroundImageBorderRadius || (null === (A2 = o3.foreground) || void 0 === A2 || null === (N2 = A2.image) || void 0 === N2 ? void 0 : N2.borderRadius), foregroundImageShadowOffsetX: o3.foregroundImageShadowOffsetX || (null === (M2 = o3.foreground) || void 0 === M2 || null === (z2 = M2.image) || void 0 === z2 ? void 0 : z2.shadowOffsetX), foregroundImageShadowOffsetY: o3.foregroundImageShadowOffsetY || (null === (_2 = o3.foreground) || void 0 === _2 || null === (O = _2.image) || void 0 === O ? void 0 : O.shadowOffsetY), foregroundImageShadowBlur: o3.foregroundImageShadowBlur || (null === (R2 = o3.foreground) || void 0 === R2 || null === (x2 = R2.image) || void 0 === x2 ? void 0 : x2.shadowBlur), foregroundImageShadowColor: o3.foregroundImageShadowColor || (null === (F2 = o3.foreground) || void 0 === F2 || null === (H2 = F2.image) || void 0 === H2 ? void 0 : H2.shadowColor), foregroundPadding: o3.foregroundPadding, positionProbeBackgroundColor: o3.positionProbeBackgroundColor || (null === (X2 = o3.positionProbe) || void 0 === X2 ? void 0 : X2.backgroundColor) || (null === (Y2 = o3.positionDetection) || void 0 === Y2 ? void 0 : Y2.backgroundColor), positionProbeForegroundColor: o3.positionProbeForegroundColor || (null === (j2 = o3.positionProbe) || void 0 === j2 ? void 0 : j2.foregroundColor) || (null === (W2 = o3.positionDetection) || void 0 === W2 ? void 0 : W2.foregroundColor), separatorColor: o3.separatorColor || (null === (G2 = o3.separator) || void 0 === G2 ? void 0 : G2.color), positionAdjustBackgroundColor: o3.positionAdjustBackgroundColor || (null === (K2 = o3.positionAdjust) || void 0 === K2 ? void 0 : K2.backgroundColor) || (null === (Q2 = o3.alignment) || void 0 === Q2 ? void 0 : Q2.backgroundColor), positionAdjustForegroundColor: o3.positionAdjustForegroundColor || (null === (U2 = o3.positionAdjust) || void 0 === U2 ? void 0 : U2.foregroundColor) || (null === ($2 = o3.alignment) || void 0 === $2 ? void 0 : $2.foregroundColor), timingBackgroundColor: o3.timingBackgroundColor || (null === (J2 = o3.timing) || void 0 === J2 ? void 0 : J2.backgroundColor), timingForegroundColor: o3.timingForegroundColor || (null === (q2 = o3.timing) || void 0 === q2 ? void 0 : q2.foregroundColor), typeNumberBackgroundColor: o3.typeNumberBackgroundColor || (null === (V2 = o3.typeNumber) || void 0 === V2 ? void 0 : V2.backgroundColor) || (null === (Z2 = o3.versionInformation) || void 0 === Z2 ? void 0 : Z2.backgroundColor), typeNumberForegroundColor: o3.typeNumberForegroundColor || (null === (oo = o3.typeNumber) || void 0 === oo ? void 0 : oo.foregroundColor) || (null === (eo = o3.versionInformation) || void 0 === eo ? void 0 : eo.foregroundColor), darkBlockColor: o3.darkBlockColor || (null === (ro = o3.darkBlock) || void 0 === ro ? void 0 : ro.color) }, true)); + }, b2.prototype.make = function() { + let { foregroundColor: o3, backgroundColor: r3, typeNumber: t3, errorCorrectLevel: i3, data: n3, dataEncode: a3, size: d3, margin: u3, useDynamicSize: s3 } = this; + if (o3 === r3) + throw console.error("[uQRCode]: foregroundColor and backgroundColor cannot be the same!"), new b2.Error("foregroundColor and backgroundColor cannot be the same!"); + a3 && (n3 = function(o4) { + o4 = o4.toString(); + for (var e3, r4 = "", t4 = 0; t4 < o4.length; t4++) + (e3 = o4.charCodeAt(t4)) >= 1 && e3 <= 127 ? r4 += o4.charAt(t4) : e3 > 2047 ? (r4 += String.fromCharCode(224 | e3 >> 12 & 15), r4 += String.fromCharCode(128 | e3 >> 6 & 63), r4 += String.fromCharCode(128 | e3 >> 0 & 63)) : (r4 += String.fromCharCode(192 | e3 >> 6 & 31), r4 += String.fromCharCode(128 | e3 >> 0 & 63)); + return r4; + }(n3)); + var g3 = new e2(t3, i3); + g3.addData(n3), g3.make(), this.base = g3, this.typeNumber = g3.typeNumber, this.modules = g3.modules, this.moduleCount = g3.moduleCount, this.dynamicSize = s3 ? Math.ceil((d3 - 2 * u3) / g3.moduleCount) * g3.moduleCount + 2 * u3 : d3, function(o4) { + let { dynamicSize: e3, margin: r4, backgroundColor: t4, backgroundPadding: i4, foregroundColor: n4, foregroundPadding: a4, modules: d4, moduleCount: u4 } = o4; + var s4 = (e3 - 2 * r4) / u4, g4 = s4, l3 = 0; + i4 > 0 && (g4 -= 2 * (l3 = g4 * i4 / 2)); + var h3 = s4, c3 = 0; + a4 > 0 && (h3 -= 2 * (c3 = h3 * a4 / 2)); + for (var m3 = 0; m3 < u4; m3++) + for (var f3 = 0; f3 < u4; f3++) { + var v3 = f3 * s4 + r4, p3 = m3 * s4 + r4; + if (d4[m3][f3]) { + var C2 = c3, b3 = v3 + c3, y2 = p3 + c3, k2 = h3, w2 = h3; + d4[m3][f3] = { type: ["foreground"], color: n4, isBlack: true, isDrawn: false, destX: v3, destY: p3, destWidth: s4, destHeight: s4, x: b3, y: y2, width: k2, height: w2, paddingTop: C2, paddingRight: C2, paddingBottom: C2, paddingLeft: C2 }; + } else + C2 = l3, b3 = v3 + l3, y2 = p3 + l3, k2 = g4, w2 = g4, d4[m3][f3] = { type: ["background"], color: t4, isBlack: false, isDrawn: false, destX: v3, destY: p3, destWidth: s4, destHeight: s4, x: b3, y: y2, width: k2, height: w2, paddingTop: C2, paddingRight: C2, paddingBottom: C2, paddingLeft: C2 }; + } + }(this), function(o4) { + let { modules: e3, moduleCount: r4, positionProbeBackgroundColor: t4, positionProbeForegroundColor: i4 } = o4; + var n4 = r4 - 7; + [[0, 0, 1], [1, 0, 1], [2, 0, 1], [3, 0, 1], [4, 0, 1], [5, 0, 1], [6, 0, 1], [0, 1, 1], [1, 1, 0], [2, 1, 0], [3, 1, 0], [4, 1, 0], [5, 1, 0], [6, 1, 1], [0, 2, 1], [1, 2, 0], [2, 2, 1], [3, 2, 1], [4, 2, 1], [5, 2, 0], [6, 2, 1], [0, 3, 1], [1, 3, 0], [2, 3, 1], [3, 3, 1], [4, 3, 1], [5, 3, 0], [6, 3, 1], [0, 4, 1], [1, 4, 0], [2, 4, 1], [3, 4, 1], [4, 4, 1], [5, 4, 0], [6, 4, 1], [0, 5, 1], [1, 5, 0], [2, 5, 0], [3, 5, 0], [4, 5, 0], [5, 5, 0], [6, 5, 1], [0, 6, 1], [1, 6, 1], [2, 6, 1], [3, 6, 1], [4, 6, 1], [5, 6, 1], [6, 6, 1]].forEach((o5) => { + var r5 = e3[o5[0]][o5[1]], a4 = e3[o5[0] + n4][o5[1]], d4 = e3[o5[0]][o5[1] + n4]; + d4.type.push("positionProbe"), a4.type.push("positionProbe"), r5.type.push("positionProbe"), r5.color = 1 == o5[2] ? i4 : t4, a4.color = 1 == o5[2] ? i4 : t4, d4.color = 1 == o5[2] ? i4 : t4; + }); + }(this), function(o4) { + let { modules: e3, moduleCount: r4, separatorColor: t4 } = o4; + [[7, 0], [7, 1], [7, 2], [7, 3], [7, 4], [7, 5], [7, 6], [7, 7], [0, 7], [1, 7], [2, 7], [3, 7], [4, 7], [5, 7], [6, 7]].forEach((o5) => { + var i4 = e3[o5[0]][o5[1]], n4 = e3[r4 - o5[0] - 1][o5[1]], a4 = e3[o5[0]][r4 - o5[1] - 1]; + a4.type.push("separator"), n4.type.push("separator"), i4.type.push("separator"), i4.color = t4, n4.color = t4, a4.color = t4; + }); + }(this), function(o4) { + let { typeNumber: e3, modules: r4, moduleCount: t4, foregroundColor: i4, backgroundColor: n4, positionAdjustForegroundColor: a4, positionAdjustBackgroundColor: d4, timingForegroundColor: u4, timingBackgroundColor: s4 } = o4; + var g4 = [[], [6, 18], [6, 22], [6, 26], [6, 30], [6, 34], [6, 22, 38], [6, 24, 42], [6, 26, 46], [6, 28, 50], [6, 30, 54], [6, 32, 58], [6, 34, 62], [6, 26, 46, 66], [6, 26, 48, 70], [6, 26, 50, 74], [6, 30, 54, 78], [6, 30, 56, 82], [6, 30, 58, 86], [6, 34, 62, 90], [6, 28, 50, 72, 94], [6, 26, 50, 74, 98], [6, 30, 54, 78, 102], [6, 28, 54, 80, 106], [6, 32, 58, 84, 110], [6, 30, 58, 86, 114], [6, 34, 62, 90, 118], [6, 26, 50, 74, 98, 122], [6, 30, 54, 78, 102, 126], [6, 26, 52, 78, 104, 130], [6, 30, 56, 82, 108, 134], [6, 34, 60, 86, 112, 138], [6, 30, 58, 86, 114, 142], [6, 34, 62, 90, 118, 146], [6, 30, 54, 78, 102, 126, 150], [6, 24, 50, 76, 102, 128, 154], [6, 28, 54, 80, 106, 132, 158], [6, 32, 58, 84, 110, 136, 162], [6, 26, 54, 82, 110, 138, 166], [6, 30, 58, 86, 114, 142, 170]][e3 - 1]; + if (g4) + for (var l3 = [[-2, -2, 1], [-1, -2, 1], [0, -2, 1], [1, -2, 1], [2, -2, 1], [-2, -1, 1], [-1, -1, 0], [0, -1, 0], [1, -1, 0], [2, -1, 1], [-2, 0, 1], [-1, 0, 0], [0, 0, 1], [1, 0, 0], [2, 0, 1], [-2, 1, 1], [-1, 1, 0], [0, 1, 0], [1, 1, 0], [2, 1, 1], [-2, 2, 1], [-1, 2, 1], [0, 2, 1], [1, 2, 1], [2, 2, 1]], h3 = g4.length, c3 = 0; c3 < h3; c3++) + for (var m3 = 0; m3 < h3; m3++) { + var { x: f3, y: v3 } = { x: g4[c3], y: g4[m3] }; + f3 < 9 && v3 < 9 || f3 > t4 - 9 - 1 && v3 < 9 || v3 > t4 - 9 - 1 && f3 < 9 || l3.forEach((o5) => { + var e4 = r4[f3 + o5[0]][v3 + o5[1]]; + e4.type.push("positionAdjust"), e4.type.includes("timing") ? 1 == o5[2] ? e4.color = a4 == i4 ? u4 : a4 : e4.color = a4 == i4 && d4 == n4 ? s4 : d4 : e4.color = 1 == o5[2] ? a4 : d4; + }); + } + }(this), function(o4) { + let { modules: e3, moduleCount: r4, timingForegroundColor: t4, timingBackgroundColor: i4 } = o4; + for (var n4 = r4 - 16, a4 = 0; a4 < n4; a4++) { + var d4 = e3[6][8 + a4], u4 = e3[8 + a4][6]; + d4.type.push("timing"), u4.type.push("timing"), d4.color = 1 & a4 ^ 1 ? t4 : i4, u4.color = 1 & a4 ^ 1 ? t4 : i4; + } + }(this), function(o4) { + let { modules: e3, moduleCount: r4, darkBlockColor: t4 } = o4; + var i4 = e3[r4 - 7 - 1][8]; + i4.type.push("darkBlock"), i4.color = t4; + }(this), function(o4) { + let { typeNumber: e3, modules: r4, moduleCount: t4, typeNumberBackgroundColor: i4, typeNumberForegroundColor: n4 } = o4; + if (e3 < 7) + return r4; + var a4 = [0, 0, 0, 0, 0, 0, 0, "000111110010010100", "001000010110111100", "001001101010011001", "001010010011010011", "001011101111110110", "001100011101100010", "001101100001000111", "001110011000001101", "001111100100101000", "010000101101111000", "010001010001011101", "010010101000010111", "010011010100110010", "010100100110100110", "010101011010000011", "010110100011001001", "010111011111101100", "011000111011000100", "011001000111100001", "011010111110101011", "011011000010001110", "011100110000011010", "011101001100111111", "011110110101110101", "011111001001010000", "100000100111010101", "100001011011110000", "100010100010111010", "100011011110011111", "100100101100001011", "100101010000101110", "100110101001100100", "100111010101000001", "101000110001101001"], d4 = a4[e3] + a4[e3], u4 = [t4 - 11, t4 - 10, t4 - 9]; + [[5, u4[2]], [5, u4[1]], [5, u4[0]], [4, u4[2]], [4, u4[1]], [4, u4[0]], [3, u4[2]], [3, u4[1]], [3, u4[0]], [2, u4[2]], [2, u4[1]], [2, u4[0]], [1, u4[2]], [1, u4[1]], [1, u4[0]], [0, u4[2]], [0, u4[1]], [0, u4[0]], [u4[2], 5], [u4[1], 5], [u4[0], 5], [u4[2], 4], [u4[1], 4], [u4[0], 4], [u4[2], 3], [u4[1], 3], [u4[0], 3], [u4[2], 2], [u4[1], 2], [u4[0], 2], [u4[2], 1], [u4[1], 1], [u4[0], 1], [u4[2], 0], [u4[1], 0], [u4[0], 0]].forEach((o5, e4) => { + var t5 = r4[o5[0]][o5[1]]; + t5.type.push("typeNumber"), t5.color = "1" == d4[e4] ? n4 : i4; + }); + }(this), this.isMaked = true, this.drawModules = []; + }, b2.prototype.getDrawModules = function() { + if (this.drawModules && this.drawModules.length > 0) + return this.drawModules; + let o3 = this.drawModules = [], { modules: e3, moduleCount: r3, dynamicSize: t3, areaColor: i3, backgroundImageSrc: n3, backgroundImageX: a3, backgroundImageY: d3, backgroundImageWidth: u3, backgroundImageHeight: s3, backgroundImageAlpha: g3, backgroundImageBorderRadius: l3, foregroundImageSrc: h3, foregroundImageX: c3, foregroundImageY: m3, foregroundImageWidth: f3, foregroundImageHeight: v3, foregroundImagePadding: p3, foregroundImageBackgroundColor: C2, foregroundImageBorderRadius: b3, foregroundImageShadowOffsetX: y2, foregroundImageShadowOffsetY: k2, foregroundImageShadowBlur: w2, foregroundImageShadowColor: I2 } = this; + i3 && o3.push({ name: "area", type: "area", color: i3, x: 0, y: 0, width: t3, height: t3 }), n3 && o3.push({ name: "backgroundImage", type: "image", imageSrc: n3, mappingName: "backgroundImageSrc", x: a3, y: d3, width: u3, height: s3, alpha: g3, borderRadius: l3 }); + for (var B2 = 0; B2 < r3; B2++) + for (var S2 = 0; S2 < r3; S2++) { + var P2 = e3[B2][S2]; + P2.isDrawn || (P2.type.includes("foreground") ? o3.push({ name: "foreground", type: "tile", color: P2.color, destX: P2.destX, destY: P2.destY, destWidth: P2.destWidth, destHeight: P2.destHeight, x: P2.x, y: P2.y, width: P2.width, height: P2.height, paddingTop: P2.paddingTop, paddingRight: P2.paddingRight, paddingBottom: P2.paddingBottom, paddingLeft: P2.paddingLeft, rowIndex: B2, colIndex: S2 }) : o3.push({ name: "background", type: "tile", color: P2.color, destX: P2.destX, destY: P2.destY, destWidth: P2.destWidth, destHeight: P2.destHeight, x: P2.x, y: P2.y, width: P2.width, height: P2.height, paddingTop: P2.paddingTop, paddingRight: P2.paddingRight, paddingBottom: P2.paddingBottom, paddingLeft: P2.paddingLeft, rowIndex: B2, colIndex: S2 }), P2.isDrawn = true); + } + return h3 && o3.push({ name: "foregroundImage", type: "image", imageSrc: h3, mappingName: "foregroundImageSrc", x: c3, y: m3, width: f3, height: v3, padding: p3, backgroundColor: C2, borderRadius: b3, shadowOffsetX: y2, shadowOffsetY: k2, shadowBlur: w2, shadowColor: I2 }), o3; + }, b2.prototype.isBlack = function(o3, e3) { + var r3 = this.moduleCount; + return !(0 > o3 || 0 > e3 || o3 >= r3 || e3 >= r3) && this.modules[o3][e3].isBlack; + }, b2.prototype.drawCanvas = function(o3) { + let { isMaked: e3, canvasContext: r3, useDynamicSize: t3, dynamicSize: i3, foregroundColor: n3, foregroundPadding: a3, backgroundColor: d3, backgroundPadding: u3, drawReserve: s3, margin: g3 } = this; + if (!e3) + return console.error("[uQRCode]: please execute the make method first!"), Promise.reject(new b2.Error("please execute the make method first!")); + let l3 = this.getDrawModules(), h3 = async (e4, t4) => { + try { + r3.draw(o3); + for (var i4 = 0; i4 < l3.length; i4++) { + var n4 = l3[i4]; + switch (r3.save(), n4.type) { + case "area": + r3.setFillStyle(n4.color), r3.fillRect(n4.x, n4.y, n4.width, n4.height); + break; + case "tile": + var a4 = n4.x, d4 = n4.y, u4 = n4.width, g4 = n4.height; + r3.setFillStyle(n4.color), r3.fillRect(a4, d4, u4, g4); + break; + case "image": + if ("backgroundImage" === n4.name) { + a4 = Math.round(n4.x), d4 = Math.round(n4.y), u4 = Math.round(n4.width), g4 = Math.round(n4.height); + u4 < 2 * (c3 = Math.round(n4.borderRadius)) && (c3 = u4 / 2), g4 < 2 * c3 && (c3 = g4 / 2), r3.setGlobalAlpha(n4.alpha), c3 > 0 && (r3.beginPath(), r3.moveTo(a4 + c3, d4), r3.arcTo(a4 + u4, d4, a4 + u4, d4 + g4, c3), r3.arcTo(a4 + u4, d4 + g4, a4, d4 + g4, c3), r3.arcTo(a4, d4 + g4, a4, d4, c3), r3.arcTo(a4, d4, a4 + u4, d4, c3), r3.closePath(), r3.setStrokeStyle("rgba(0,0,0,0)"), r3.stroke(), r3.clip()); + try { + var h4 = await this.loadImage(n4.imageSrc); + r3.drawImage(h4, a4, d4, u4, g4); + } catch (o4) { + throw console.error(`[uQRCode]: ${n4.mappingName} invalid!`), new b2.Error(`${n4.mappingName} invalid!`); + } + } else if ("foregroundImage" === n4.name) { + a4 = Math.round(n4.x), d4 = Math.round(n4.y), u4 = Math.round(n4.width), g4 = Math.round(n4.height); + var c3, m3 = Math.round(n4.padding); + u4 < 2 * (c3 = Math.round(n4.borderRadius)) && (c3 = u4 / 2), g4 < 2 * c3 && (c3 = g4 / 2); + var f3 = a4 - m3, v3 = d4 - m3, p3 = u4 + 2 * m3, C2 = g4 + 2 * m3, y2 = Math.round(p3 / u4 * c3); + p3 < 2 * y2 && (y2 = p3 / 2), C2 < 2 * y2 && (y2 = C2 / 2), r3.save(), r3.setShadow(n4.shadowOffsetX, n4.shadowOffsetY, n4.shadowBlur, n4.shadowColor), y2 > 0 ? (r3.beginPath(), r3.moveTo(f3 + y2, v3), r3.arcTo(f3 + p3, v3, f3 + p3, v3 + C2, y2), r3.arcTo(f3 + p3, v3 + C2, f3, v3 + C2, y2), r3.arcTo(f3, v3 + C2, f3, v3, y2), r3.arcTo(f3, v3, f3 + p3, v3, y2), r3.closePath(), r3.setFillStyle(n4.backgroundColor), r3.fill()) : (r3.setFillStyle(n4.backgroundColor), r3.fillRect(f3, v3, p3, C2)), r3.restore(), r3.save(), y2 > 0 ? (r3.beginPath(), r3.moveTo(f3 + y2, v3), r3.arcTo(f3 + p3, v3, f3 + p3, v3 + C2, y2), r3.arcTo(f3 + p3, v3 + C2, f3, v3 + C2, y2), r3.arcTo(f3, v3 + C2, f3, v3, y2), r3.arcTo(f3, v3, f3 + p3, v3, y2), r3.closePath(), r3.setFillStyle(m3 > 0 ? n4.backgroundColor : "rgba(0,0,0,0)"), r3.fill()) : (r3.setFillStyle(m3 > 0 ? n4.backgroundColor : "rgba(0,0,0,0)"), r3.fillRect(f3, v3, p3, C2)), r3.restore(), c3 > 0 && (r3.beginPath(), r3.moveTo(a4 + c3, d4), r3.arcTo(a4 + u4, d4, a4 + u4, d4 + g4, c3), r3.arcTo(a4 + u4, d4 + g4, a4, d4 + g4, c3), r3.arcTo(a4, d4 + g4, a4, d4, c3), r3.arcTo(a4, d4, a4 + u4, d4, c3), r3.closePath(), r3.setStrokeStyle("rgba(0,0,0,0)"), r3.stroke(), r3.clip()); + try { + h4 = await this.loadImage(n4.imageSrc); + r3.drawImage(h4, a4, d4, u4, g4); + } catch (o4) { + throw console.error(`[uQRCode]: ${n4.mappingName} invalid!`), new b2.Error(`${n4.mappingName} invalid!`); + } + } + } + s3 && r3.draw(true), r3.restore(); + } + r3.draw(true), setTimeout(e4, 150); + } catch (o4) { + t4(o4); + } + }; + return new Promise((o4, e4) => { + h3(o4, e4); + }); + }, b2.prototype.draw = function(o3) { + return this.drawCanvas(o3); + }, b2.prototype.register = function(o3) { + o3 && o3(b2, this, true); + }, b2; + }); +})(uqrcode); +const UQRCode = uqrcodeExports; +const props$k = defineMixin({ props: { // 头像图片路径(不能为相对路径) src: { type: String, - default: () => defProps.avatar.src + default: () => props$l.avatar.src }, // 头像形状,circle-圆形,square-方形 shape: { type: String, - default: () => defProps.avatar.shape + default: () => props$l.avatar.shape }, // 头像尺寸 size: { type: [String, Number], - default: () => defProps.avatar.size + default: () => props$l.avatar.size }, // 裁剪模式 mode: { type: String, - default: () => defProps.avatar.mode + default: () => props$l.avatar.mode }, // 显示的文字 text: { type: String, - default: () => defProps.avatar.text + default: () => props$l.avatar.text }, // 背景色 bgColor: { type: String, - default: () => defProps.avatar.bgColor + default: () => props$l.avatar.bgColor }, // 文字颜色 color: { type: String, - default: () => defProps.avatar.color + default: () => props$l.avatar.color }, // 文字大小 fontSize: { type: [String, Number], - default: () => defProps.avatar.fontSize + default: () => props$l.avatar.fontSize }, // 显示的图标 icon: { type: String, - default: () => defProps.avatar.icon + default: () => props$l.avatar.icon }, // 显示小程序头像,只对百度,微信,QQ小程序有效 mpAvatar: { type: Boolean, - default: () => defProps.avatar.mpAvatar + default: () => props$l.avatar.mpAvatar }, // 是否使用随机背景色 randomBgColor: { type: Boolean, - default: () => defProps.avatar.randomBgColor + default: () => props$l.avatar.randomBgColor }, // 加载失败的默认头像(组件有内置默认图片) defaultUrl: { type: String, - default: () => defProps.avatar.defaultUrl + default: () => props$l.avatar.defaultUrl }, // 如果配置了randomBgColor为true,且配置了此值,则从默认的背景色数组中取出对应索引的颜色值,取值0-19之间 colorIndex: { @@ -12358,12 +14160,156 @@ const props$h = defineMixin({ validator(n2) { return test.range(n2, [0, 19]) || n2 === ""; }, - default: () => defProps.avatar.colorIndex + default: () => props$l.avatar.colorIndex }, // 组件标识符 name: { type: String, - default: () => defProps.avatar.name + default: () => props$l.avatar.name + } + } +}); +const props$j = defineMixin({ + props: { + // 绑定的值 + modelValue: { + type: [String, Number], + default: () => props$l.search.value + }, + // 搜索框形状,round-圆形,square-方形 + shape: { + type: String, + default: () => props$l.search.shape + }, + // 搜索框背景色 + bgColor: { + type: String, + default: () => props$l.search.bgColor + }, + // 占位提示文字 + placeholder: { + type: String, + default: () => props$l.search.placeholder + }, + // 是否启用清除控件 + clearabled: { + type: Boolean, + default: () => props$l.search.clearabled + }, + // 是否仅聚焦时显示清除控件 + onlyClearableOnFocused: { + type: Boolean, + default: true + }, + // 是否自动聚焦 + focus: { + type: Boolean, + default: () => props$l.search.focus + }, + // 是否在搜索框右侧显示取消按钮 + showAction: { + type: Boolean, + default: () => props$l.search.showAction + }, + // 右侧取消按钮文字 + actionText: { + type: String, + default: () => props$l.search.actionText + }, + // 搜索框左侧文本 + label: { + type: [String, Number, null], + default: () => props$l.search.label + }, + // 输入框内容对齐方式,可选值为:left|center|right + inputAlign: { + type: String, + default: () => props$l.search.inputAlign + }, + // 是否启用输入框 + disabled: { + type: Boolean, + default: () => props$l.search.disabled + }, + // 开启showAction时,是否在input获取焦点时才显示 + animation: { + type: Boolean, + default: () => props$l.search.animation + }, + // 边框颜色,只要配置了颜色,才会有边框 + borderColor: { + type: String, + default: () => props$l.search.borderColor + }, + // 搜索图标的颜色,默认同输入框字体颜色 + searchIconColor: { + type: String, + default: () => props$l.search.searchIconColor + }, + // 搜索图标的大小 + searchIconSize: { + type: [Number, String], + default: () => props$l.search.searchIconSize + }, + // 输入框字体颜色 + color: { + type: String, + default: () => props$l.search.color + }, + // placeholder的颜色 + placeholderColor: { + type: String, + default: () => props$l.search.placeholderColor + }, + // 左边输入框的图标,可以为uView图标名称或图片路径 + searchIcon: { + type: String, + default: () => props$l.search.searchIcon + }, + // 组件与其他上下左右元素之间的距离,带单位的字符串形式,如"30px" + margin: { + type: String, + default: () => props$l.search.margin + }, + // 应该是uView-plus版本新增的,用于控制搜索图标的插槽位置 + iconPosition: { + type: String, + default: () => props$l.search.iconPosition + }, + // 输入框最大能输入的长度,-1为不限制长度 + maxlength: { + type: [String, Number], + default: () => props$l.search.maxlength + }, + // 输入框高度,单位px + height: { + type: [String, Number], + default: () => props$l.search.height + }, + // 键盘弹起时,是否自动上推页面 + adjustPosition: { + type: Boolean, + default: () => props$l.search.adjustPosition + }, + // 键盘收起时,是否自动失去焦点 + autoBlur: { + type: Boolean, + default: () => props$l.search.autoBlur + }, + // 输入框的样式,对象形式 + inputStyle: { + type: Object, + default: () => props$l.search.inputStyle + }, + // 右侧控件的样式,对象形式 + actionStyle: { + type: Object, + default: () => props$l.search.actionStyle + }, + // 自定义样式,对象形式 + customStyle: { + type: Object, + default: () => props$l.search.customStyle } } }); @@ -12572,6 +14518,7 @@ const icons = { "uicon-empty-list": "", "uicon-empty-page": "", "uicon-empty-order": "", + "uicon-empty-wifi": "", "uicon-man": "", "uicon-woman": "", "uicon-man-add": "", @@ -12581,312 +14528,116 @@ const icons = { "uicon-zh": "", "uicon-en": "" }; -const props$g = defineMixin({ +const props$i = defineMixin({ props: { // 图标类名 name: { type: String, - default: () => defProps.icon.name + default: () => props$l.icon.name }, // 图标颜色,可接受主题色 color: { type: String, - default: () => defProps.icon.color + default: () => props$l.icon.color }, // 字体大小,单位px size: { type: [String, Number], - default: () => defProps.icon.size + default: () => props$l.icon.size }, // 是否显示粗体 bold: { type: Boolean, - default: () => defProps.icon.bold + default: () => props$l.icon.bold }, // 点击图标的时候传递事件出去的index(用于区分点击了哪一个) index: { type: [String, Number], - default: () => defProps.icon.index + default: () => props$l.icon.index }, // 触摸图标时的类名 hoverClass: { type: String, - default: () => defProps.icon.hoverClass + default: () => props$l.icon.hoverClass }, // 自定义扩展前缀,方便用户扩展自己的图标库 customPrefix: { type: String, - default: () => defProps.icon.customPrefix + default: () => props$l.icon.customPrefix }, // 图标右边或者下面的文字 label: { type: [String, Number], - default: () => defProps.icon.label + default: () => props$l.icon.label }, // label的位置,只能右边或者下边 labelPos: { type: String, - default: () => defProps.icon.labelPos + default: () => props$l.icon.labelPos }, // label的大小 labelSize: { type: [String, Number], - default: () => defProps.icon.labelSize + default: () => props$l.icon.labelSize }, // label的颜色 labelColor: { type: String, - default: () => defProps.icon.labelColor + default: () => props$l.icon.labelColor }, // label与图标的距离 space: { type: [String, Number], - default: () => defProps.icon.space + default: () => props$l.icon.space }, // 图片的mode imgMode: { type: String, - default: () => defProps.icon.imgMode + default: () => props$l.icon.imgMode }, // 用于显示图片小图标时,图片的宽度 width: { type: [String, Number], - default: () => defProps.icon.width + default: () => props$l.icon.width }, // 用于显示图片小图标时,图片的高度 height: { type: [String, Number], - default: () => defProps.icon.height + default: () => props$l.icon.height }, // 用于解决某些情况下,让图标垂直居中的用途 top: { type: [String, Number], - default: () => defProps.icon.top + default: () => props$l.icon.top }, // 是否阻止事件传播 stop: { type: Boolean, - default: () => defProps.icon.stop + default: () => props$l.icon.stop } } }); -const props$f = defineMixin({ - props: { - // 搜索框形状,round-圆形,square-方形 - shape: { - type: String, - default: () => defProps.search.shape - }, - // 搜索框背景色,默认值#f2f2f2 - bgColor: { - type: String, - default: () => defProps.search.bgColor - }, - // 占位提示文字 - placeholder: { - type: String, - default: () => defProps.search.placeholder - }, - // 是否启用清除控件 - clearabled: { - type: Boolean, - default: () => defProps.search.clearabled - }, - // 是否自动聚焦 - focus: { - type: Boolean, - default: () => defProps.search.focus - }, - // 是否在搜索框右侧显示取消按钮 - showAction: { - type: Boolean, - default: () => defProps.search.showAction - }, - // 右边控件的样式 - actionStyle: { - type: Object, - default: () => defProps.search.actionStyle - }, - // 取消按钮文字 - actionText: { - type: String, - default: () => defProps.search.actionText - }, - // 输入框内容对齐方式,可选值为 left|center|right - inputAlign: { - type: String, - default: () => defProps.search.inputAlign - }, - // input输入框的样式,可以定义文字颜色,大小等,对象形式 - inputStyle: { - type: Object, - default: () => defProps.search.inputStyle - }, - // 是否启用输入框 - disabled: { - type: Boolean, - default: () => defProps.search.disabled - }, - // 边框颜色 - borderColor: { - type: String, - default: () => defProps.search.borderColor - }, - // 搜索图标的颜色,默认同输入框字体颜色 - searchIconColor: { - type: String, - default: () => defProps.search.searchIconColor - }, - // 输入框字体颜色 - color: { - type: String, - default: () => defProps.search.color - }, - // placeholder的颜色 - placeholderColor: { - type: String, - default: () => defProps.search.placeholderColor - }, - // 左边输入框的图标,可以为uView图标名称或图片路径 - searchIcon: { - type: String, - default: () => defProps.search.searchIcon - }, - searchIconSize: { - type: [Number, String], - default: () => defProps.search.searchIconSize - }, - // 组件与其他上下左右元素之间的距离,带单位的字符串形式,如"30px"、"30px 20px"等写法 - margin: { - type: String, - default: () => defProps.search.margin - }, - // 开启showAction时,是否在input获取焦点时才显示 - animation: { - type: Boolean, - default: () => defProps.search.animation - }, - // 输入框的初始化内容 - modelValue: { - type: String, - default: () => defProps.search.value - }, - value: { - type: String, - default: () => defProps.search.value - }, - // 输入框最大能输入的长度,-1为不限制长度(来自uniapp文档) - maxlength: { - type: [String, Number], - default: () => defProps.search.maxlength - }, - // 搜索框高度,单位px - height: { - type: [String, Number], - default: () => defProps.search.height - }, - // 搜索框左侧文本 - label: { - type: [String, Number, null], - default: () => defProps.search.label - }, - // 键盘弹起时,是否自动上推页面 - adjustPosition: { - type: Boolean, - default: () => true - }, - // 键盘收起时,是否自动失去焦点 - autoBlur: { - type: Boolean, - default: () => false - } - } -}); -const props$e = defineMixin({ - props: { - // 滑块的移动过渡时间,单位ms - duration: { - type: Number, - default: () => defProps.tabs.duration - }, - // tabs标签数组 - list: { - type: Array, - default: () => defProps.tabs.list - }, - // 滑块颜色 - lineColor: { - type: String, - default: () => defProps.tabs.lineColor - }, - // 菜单选择中时的样式 - activeStyle: { - type: [String, Object], - default: () => defProps.tabs.activeStyle - }, - // 菜单非选中时的样式 - inactiveStyle: { - type: [String, Object], - default: () => defProps.tabs.inactiveStyle - }, - // 滑块长度 - lineWidth: { - type: [String, Number], - default: () => defProps.tabs.lineWidth - }, - // 滑块高度 - lineHeight: { - type: [String, Number], - default: () => defProps.tabs.lineHeight - }, - // 滑块背景显示大小,当滑块背景设置为图片时使用 - lineBgSize: { - type: String, - default: () => defProps.tabs.lineBgSize - }, - // 菜单item的样式 - itemStyle: { - type: [String, Object], - default: () => defProps.tabs.itemStyle - }, - // 菜单是否可滚动 - scrollable: { - type: Boolean, - default: () => defProps.tabs.scrollable - }, - // 当前选中标签的索引 - current: { - type: [Number, String], - default: () => defProps.tabs.current - }, - // 默认读取的键名 - keyName: { - type: String, - default: () => defProps.tabs.keyName - } - } -}); -const props$d = defineMixin({ +const props$h = defineMixin({ props: { // 标题 title: { type: [String, Number], - default: () => defProps.stepsItem.title + default: () => props$l.stepsItem.title }, // 描述文本 desc: { type: [String, Number], - default: () => defProps.stepsItem.desc + default: () => props$l.stepsItem.desc }, // 图标大小 iconSize: { type: [String, Number], - default: () => defProps.stepsItem.iconSize + default: () => props$l.stepsItem.iconSize }, // 当前步骤是否处于失败状态 error: { type: Boolean, - default: () => defProps.stepsItem.error + default: () => props$l.stepsItem.error }, // 自定义样式 itemStyle: { @@ -12895,170 +14646,239 @@ const props$d = defineMixin({ } } }); -const props$c = defineMixin({ +const props$g = defineMixin({ props: { // 排列方向 direction: { type: String, - default: () => defProps.steps.direction + default: () => props$l.steps.direction }, // 设置第几个步骤 current: { type: [String, Number], - default: () => defProps.steps.current + default: () => props$l.steps.current }, // 激活状态颜色 activeColor: { type: String, - default: () => defProps.steps.activeColor + default: () => props$l.steps.activeColor }, // 未激活状态颜色 inactiveColor: { type: String, - default: () => defProps.steps.inactiveColor + default: () => props$l.steps.inactiveColor }, // 激活状态的图标 activeIcon: { type: String, - default: () => defProps.steps.activeIcon + default: () => props$l.steps.activeIcon }, // 未激活状态图标 inactiveIcon: { type: String, - default: () => defProps.steps.inactiveIcon + default: () => props$l.steps.inactiveIcon }, // 是否显示点类型 dot: { type: Boolean, - default: () => defProps.steps.dot + default: () => props$l.steps.dot } } }); -const props$b = defineMixin({ +const props$f = defineMixin({ props: { // 是否显示组件 show: { type: Boolean, - default: () => defProps.loadingIcon.show + default: () => props$l.loadingIcon.show }, // 颜色 color: { type: String, - default: () => defProps.loadingIcon.color + default: () => props$l.loadingIcon.color }, // 提示文字颜色 textColor: { type: String, - default: () => defProps.loadingIcon.textColor + default: () => props$l.loadingIcon.textColor }, // 文字和图标是否垂直排列 vertical: { type: Boolean, - default: () => defProps.loadingIcon.vertical + default: () => props$l.loadingIcon.vertical }, // 模式选择,circle-圆形,spinner-花朵形,semicircle-半圆形 mode: { type: String, - default: () => defProps.loadingIcon.mode + default: () => props$l.loadingIcon.mode }, // 图标大小,单位默认px size: { type: [String, Number], - default: () => defProps.loadingIcon.size + default: () => props$l.loadingIcon.size }, // 文字大小 textSize: { type: [String, Number], - default: () => defProps.loadingIcon.textSize + default: () => props$l.loadingIcon.textSize }, // 文字内容 text: { type: [String, Number], - default: () => defProps.loadingIcon.text + default: () => props$l.loadingIcon.text }, // 动画模式 timingFunction: { type: String, - default: () => defProps.loadingIcon.timingFunction + default: () => props$l.loadingIcon.timingFunction }, // 动画执行周期时间 duration: { type: [String, Number], - default: () => defProps.loadingIcon.duration + default: () => props$l.loadingIcon.duration }, // mode=circle时的暗边颜色 inactiveColor: { type: String, - default: () => defProps.loadingIcon.inactiveColor + default: () => props$l.loadingIcon.inactiveColor } } }); -const props$a = defineMixin({ +const props$e = defineMixin({ + props: { + // 滑块的移动过渡时间,单位ms + duration: { + type: Number, + default: () => props$l.tabs.duration + }, + // tabs标签数组 + list: { + type: Array, + default: () => props$l.tabs.list + }, + // 滑块颜色 + lineColor: { + type: String, + default: () => props$l.tabs.lineColor + }, + // 菜单选择中时的样式 + activeStyle: { + type: [String, Object], + default: () => props$l.tabs.activeStyle + }, + // 菜单非选中时的样式 + inactiveStyle: { + type: [String, Object], + default: () => props$l.tabs.inactiveStyle + }, + // 滑块长度 + lineWidth: { + type: [String, Number], + default: () => props$l.tabs.lineWidth + }, + // 滑块高度 + lineHeight: { + type: [String, Number], + default: () => props$l.tabs.lineHeight + }, + // 滑块背景显示大小,当滑块背景设置为图片时使用 + lineBgSize: { + type: String, + default: () => props$l.tabs.lineBgSize + }, + // 菜单item的样式 + itemStyle: { + type: [String, Object], + default: () => props$l.tabs.itemStyle + }, + // 菜单是否可滚动 + scrollable: { + type: Boolean, + default: () => props$l.tabs.scrollable + }, + // 当前选中标签的索引 + current: { + type: [Number, String], + default: () => props$l.tabs.current + }, + // 默认读取的键名 + keyName: { + type: String, + default: () => props$l.tabs.keyName + }, + // 左侧图标样式 + iconStyle: { + type: [String, Object], + default: () => props$l.tabs.iconStyle + } + } +}); +const props$d = defineMixin({ props: { // checkbox的名称 name: { type: [String, Number, Boolean], - default: () => defProps.checkbox.name + default: () => props$l.checkbox.name }, // 形状,square为方形,circle为圆型 shape: { type: String, - default: () => defProps.checkbox.shape + default: () => props$l.checkbox.shape }, // 整体的大小 size: { type: [String, Number], - default: () => defProps.checkbox.size + default: () => props$l.checkbox.size }, // 是否默认选中 checked: { type: Boolean, - default: () => defProps.checkbox.checked + default: () => props$l.checkbox.checked }, // 是否禁用 disabled: { type: [String, Boolean], - default: () => defProps.checkbox.disabled + default: () => props$l.checkbox.disabled }, // 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值 activeColor: { type: String, - default: () => defProps.checkbox.activeColor + default: () => props$l.checkbox.activeColor }, // 未选中的颜色 inactiveColor: { type: String, - default: () => defProps.checkbox.inactiveColor + default: () => props$l.checkbox.inactiveColor }, // 图标的大小,单位px iconSize: { type: [String, Number], - default: () => defProps.checkbox.iconSize + default: () => props$l.checkbox.iconSize }, // 图标颜色 iconColor: { type: String, - default: () => defProps.checkbox.iconColor + default: () => props$l.checkbox.iconColor }, // label提示文字,因为nvue下,直接slot进来的文字,由于特殊的结构,无法修改样式 label: { type: [String, Number], - default: () => defProps.checkbox.label + default: () => props$l.checkbox.label }, // label的字体大小,px单位 labelSize: { type: [String, Number], - default: () => defProps.checkbox.labelSize + default: () => props$l.checkbox.labelSize }, // label的颜色 labelColor: { type: String, - default: () => defProps.checkbox.labelColor + default: () => props$l.checkbox.labelColor }, // 是否禁止点击提示语选中复选框 labelDisabled: { type: [String, Boolean], - default: () => defProps.checkbox.labelDisabled + default: () => props$l.checkbox.labelDisabled }, // 是否独立使用 usedAlone: { @@ -13067,82 +14887,82 @@ const props$a = defineMixin({ } } }); -const props$9 = defineMixin({ +const props$c = defineMixin({ props: { // 标识符 name: { type: String, - default: () => defProps.checkboxGroup.name + default: () => props$l.checkboxGroup.name }, // 绑定的值 modelValue: { type: Array, - default: () => defProps.checkboxGroup.value + default: () => props$l.checkboxGroup.value }, // 形状,circle-圆形,square-方形 shape: { type: String, - default: () => defProps.checkboxGroup.shape + default: () => props$l.checkboxGroup.shape }, // 是否禁用全部checkbox disabled: { type: Boolean, - default: () => defProps.checkboxGroup.disabled + default: () => props$l.checkboxGroup.disabled }, // 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值 activeColor: { type: String, - default: () => defProps.checkboxGroup.activeColor + default: () => props$l.checkboxGroup.activeColor }, // 未选中的颜色 inactiveColor: { type: String, - default: () => defProps.checkboxGroup.inactiveColor + default: () => props$l.checkboxGroup.inactiveColor }, // 整个组件的尺寸,默认px size: { type: [String, Number], - default: () => defProps.checkboxGroup.size + default: () => props$l.checkboxGroup.size }, // 布局方式,row-横向,column-纵向 placement: { type: String, - default: () => defProps.checkboxGroup.placement + default: () => props$l.checkboxGroup.placement }, // label的字体大小,px单位 labelSize: { type: [String, Number], - default: () => defProps.checkboxGroup.labelSize + default: () => props$l.checkboxGroup.labelSize }, // label的字体颜色 labelColor: { type: [String], - default: () => defProps.checkboxGroup.labelColor + default: () => props$l.checkboxGroup.labelColor }, // 是否禁止点击文本操作 labelDisabled: { type: Boolean, - default: () => defProps.checkboxGroup.labelDisabled + default: () => props$l.checkboxGroup.labelDisabled }, // 图标颜色 iconColor: { type: String, - default: () => defProps.checkboxGroup.iconColor + default: () => props$l.checkboxGroup.iconColor }, // 图标的大小,单位px iconSize: { type: [String, Number], - default: () => defProps.checkboxGroup.iconSize + default: () => props$l.checkboxGroup.iconSize }, // 勾选图标的对齐方式,left-左边,right-右边 iconPlacement: { type: String, - default: () => defProps.checkboxGroup.iconPlacement + default: () => props$l.checkboxGroup.iconPlacement }, // 竖向配列时,是否显示下划线 borderBottom: { type: Boolean, - default: () => defProps.checkboxGroup.borderBottom + default: () => props$l.checkboxGroup.borderBottom } } }); @@ -13179,6 +14999,12 @@ const pages = [ navigationBarTitleText: "选择项目" } }, + { + path: "pages/public/select_project/pages/permission_show", + style: { + navigationBarTitleText: "突发事件" + } + }, { path: "pages/me/index", style: { @@ -13244,6 +15070,18 @@ const subPackages = [ style: { navigationBarTitleText: "工单收款码" } + }, + { + path: "acceptance/index", + style: { + navigationBarTitleText: "验收工单" + } + }, + { + path: "patrol_update/index", + style: { + navigationBarTitleText: "巡查更新" + } } ] }, @@ -13256,6 +15094,48 @@ const subPackages = [ navigationBarTitleText: "工单提报" } }, + { + path: "attendance/my_schedules/index", + style: { + navigationBarTitleText: "签到打卡" + } + }, + { + path: "attendance/sign_clock_in/index", + style: { + navigationBarTitleText: "签到打卡" + } + }, + { + path: "emergency/list/index", + style: { + navigationBarTitleText: "突发事件" + } + }, + { + path: "emergency/add/index", + style: { + navigationBarTitleText: "突发事件添加" + } + }, + { + path: "emergency/update/index", + style: { + navigationBarTitleText: "更新进度" + } + }, + { + path: "emergency/change/index", + style: { + navigationBarTitleText: "变更突发事件" + } + }, + { + path: "emergency/show/index", + style: { + navigationBarTitleText: "突发事件详情" + } + }, { path: "update/index", style: { @@ -16075,118 +17955,118 @@ let Ns = new class { } }), gs(Ns), Ns.addInterceptor = D, Ns.removeInterceptor = F, Ns.interceptObject = K; })(); var Ds = Ns; -const props$8 = defineMixin({ +const props$b = defineMixin({ props: { // 主题颜色 type: { type: String, - default: () => defProps.text.type + default: () => props$l.text.type }, // 是否显示 show: { type: Boolean, - default: () => defProps.text.show + default: () => props$l.text.show }, // 显示的值 text: { type: [String, Number], - default: () => defProps.text.text + default: () => props$l.text.text }, // 前置图标 prefixIcon: { type: String, - default: () => defProps.text.prefixIcon + default: () => props$l.text.prefixIcon }, // 后置图标 suffixIcon: { type: String, - default: () => defProps.text.suffixIcon + default: () => props$l.text.suffixIcon }, // 文本处理的匹配模式 // text-普通文本,price-价格,phone-手机号,name-姓名,date-日期,link-超链接 mode: { type: String, - default: () => defProps.text.mode + default: () => props$l.text.mode }, // mode=link下,配置的链接 href: { type: String, - default: () => defProps.text.href + default: () => props$l.text.href }, // 格式化规则 format: { type: [String, Function], - default: () => defProps.text.format + default: () => props$l.text.format }, // mode=phone时,点击文本是否拨打电话 call: { type: Boolean, - default: () => defProps.text.call + default: () => props$l.text.call }, // 小程序的打开方式 openType: { type: String, - default: () => defProps.text.openType + default: () => props$l.text.openType }, // 是否粗体,默认normal bold: { type: Boolean, - default: () => defProps.text.bold + default: () => props$l.text.bold }, // 是否块状 block: { type: Boolean, - default: () => defProps.text.block + default: () => props$l.text.block }, // 文本显示的行数,如果设置,超出此行数,将会显示省略号 lines: { type: [String, Number], - default: () => defProps.text.lines + default: () => props$l.text.lines }, // 文本颜色 color: { type: String, - default: () => defProps.text.color + default: () => props$l.text.color }, // 字体大小 size: { type: [String, Number], - default: () => defProps.text.size + default: () => props$l.text.size }, // 图标的样式 iconStyle: { type: [Object, String], - default: () => defProps.text.iconStyle + default: () => props$l.text.iconStyle }, // 文字装饰,下划线,中划线等,可选值 none|underline|line-through decoration: { tepe: String, - default: () => defProps.text.decoration + default: () => props$l.text.decoration }, // 外边距,对象、字符串,数值形式均可 margin: { type: [Object, String, Number], - default: () => defProps.text.margin + default: () => props$l.text.margin }, // 文本行高 lineHeight: { type: [String, Number], - default: () => defProps.text.lineHeight + default: () => props$l.text.lineHeight }, // 文本对齐方式,可选值left|center|right align: { type: String, - default: () => defProps.text.align + default: () => props$l.text.align }, // 文字换行,可选值break-word|normal|anywhere wordWrap: { type: String, - default: () => defProps.text.wordWrap + default: () => props$l.text.wordWrap }, // 占满剩余空间 flex1: { type: Boolean, - default: () => defProps.text.flex1 + default: () => props$l.text.flex1 } } }); @@ -16302,136 +18182,156 @@ const openType = defineMixin({ } } }); -const props$7 = defineMixin({ +const props$a = defineMixin({ props: { // 是否展示弹窗 show: { type: Boolean, - default: () => defProps.popup.show + default: () => props$l.popup.show }, // 是否显示遮罩 overlay: { type: Boolean, - default: () => defProps.popup.overlay + default: () => props$l.popup.overlay }, // 弹出的方向,可选值为 top bottom right left center mode: { type: String, - default: () => defProps.popup.mode + default: () => props$l.popup.mode }, // 动画时长,单位ms duration: { type: [String, Number], - default: () => defProps.popup.duration + default: () => props$l.popup.duration }, // 是否显示关闭图标 closeable: { type: Boolean, - default: () => defProps.popup.closeable + default: () => props$l.popup.closeable }, // 自定义遮罩的样式 overlayStyle: { type: [Object, String], - default: () => defProps.popup.overlayStyle + default: () => props$l.popup.overlayStyle }, // 点击遮罩是否关闭弹窗 closeOnClickOverlay: { type: Boolean, - default: () => defProps.popup.closeOnClickOverlay + default: () => props$l.popup.closeOnClickOverlay }, // 层级 zIndex: { type: [String, Number], - default: () => defProps.popup.zIndex + default: () => props$l.popup.zIndex }, // 是否为iPhoneX留出底部安全距离 safeAreaInsetBottom: { type: Boolean, - default: () => defProps.popup.safeAreaInsetBottom + default: () => props$l.popup.safeAreaInsetBottom }, // 是否留出顶部安全距离(状态栏高度) safeAreaInsetTop: { type: Boolean, - default: () => defProps.popup.safeAreaInsetTop + default: () => props$l.popup.safeAreaInsetTop }, // 自定义关闭图标位置,top-left为左上角,top-right为右上角,bottom-left为左下角,bottom-right为右下角 closeIconPos: { type: String, - default: () => defProps.popup.closeIconPos + default: () => props$l.popup.closeIconPos }, // 是否显示圆角 round: { type: [Boolean, String, Number], - default: () => defProps.popup.round + default: () => props$l.popup.round }, // mode=center,也即中部弹出时,是否使用缩放模式 zoom: { type: Boolean, - default: () => defProps.popup.zoom + default: () => props$l.popup.zoom }, // 弹窗背景色,设置为transparent可去除白色背景 bgColor: { type: String, - default: () => defProps.popup.bgColor + default: () => props$l.popup.bgColor }, // 遮罩的透明度,0-1之间 overlayOpacity: { type: [Number, String], - default: () => defProps.popup.overlayOpacity + default: () => props$l.popup.overlayOpacity + }, + // 是否页面内展示 + pageInline: { + type: Boolean, + default: () => props$l.popup.pageInline + }, + // 是否页开启手势滑动 + touchable: { + type: Boolean, + default: () => props$l.popup.touchable + }, + // 手势滑动最小高度 + minHeight: { + type: [String], + default: () => props$l.popup.minHeight + }, + // 手势滑动最大高度 + maxHeight: { + type: [String], + default: () => props$l.popup.maxHeight } } }); -const props$6 = defineMixin({ +const props$9 = defineMixin({ props: { // 是否显示圆点 isDot: { type: Boolean, - default: () => defProps.badge.isDot + default: () => props$l.badge.isDot }, // 显示的内容 value: { type: [Number, String], - default: () => defProps.badge.value + default: () => props$l.badge.value }, // 显示的内容 modelValue: { type: [Number, String], - default: () => defProps.badge.modelValue + default: () => props$l.badge.modelValue }, // 是否显示 show: { type: Boolean, - default: () => defProps.badge.show + default: () => props$l.badge.show }, // 最大值,超过最大值会显示 '{max}+' max: { type: [Number, String], - default: () => defProps.badge.max + default: () => props$l.badge.max }, // 主题类型,error|warning|success|primary type: { type: String, - default: () => defProps.badge.type + default: () => props$l.badge.type }, // 当数值为 0 时,是否展示 Badge showZero: { type: Boolean, - default: () => defProps.badge.showZero + default: () => props$l.badge.showZero }, // 背景颜色,优先级比type高,如设置,type参数会失效 bgColor: { type: [String, null], - default: () => defProps.badge.bgColor + default: () => props$l.badge.bgColor }, // 字体颜色 color: { type: [String, null], - default: () => defProps.badge.color + default: () => props$l.badge.color }, // 徽标形状,circle-四角均为圆角,horn-左下角为直角 shape: { type: String, - default: () => defProps.badge.shape + default: () => props$l.badge.shape }, // 设置数字的显示方式,overflow|ellipsis|limit // overflow会根据max字段判断,超出显示`${max}+` @@ -16439,277 +18339,282 @@ const props$6 = defineMixin({ // limit会依据1000作为判断条件,超出1000,显示`${value/1000}K`,比如2.2k、3.34w,最多保留2位小数 numberType: { type: String, - default: () => defProps.badge.numberType + default: () => props$l.badge.numberType }, // 设置badge的位置偏移,格式为 [x, y],也即设置的为top和right的值,absolute为true时有效 offset: { type: Array, - default: () => defProps.badge.offset + default: () => props$l.badge.offset }, // 是否反转背景和字体颜色 inverted: { type: Boolean, - default: () => defProps.badge.inverted + default: () => props$l.badge.inverted }, // 是否绝对定位 absolute: { type: Boolean, - default: () => defProps.badge.absolute + default: () => props$l.badge.absolute } } }); -const props$5 = defineMixin({ +const props$8 = defineMixin({ props: { // 是否细边框 hairline: { type: Boolean, - default: () => defProps.button.hairline + default: () => props$l.button.hairline }, // 按钮的预置样式,info,primary,error,warning,success type: { type: String, - default: () => defProps.button.type + default: () => props$l.button.type }, // 按钮尺寸,large,normal,small,mini size: { type: String, - default: () => defProps.button.size + default: () => props$l.button.size }, // 按钮形状,circle(两边为半圆),square(带圆角) shape: { type: String, - default: () => defProps.button.shape + default: () => props$l.button.shape }, // 按钮是否镂空 plain: { type: Boolean, - default: () => defProps.button.plain + default: () => props$l.button.plain }, // 是否禁止状态 disabled: { type: Boolean, - default: () => defProps.button.disabled + default: () => props$l.button.disabled }, // 是否加载中 loading: { type: Boolean, - default: () => defProps.button.loading + default: () => props$l.button.loading }, // 加载中提示文字 loadingText: { type: [String, Number], - default: () => defProps.button.loadingText + default: () => props$l.button.loadingText }, // 加载状态图标类型 loadingMode: { type: String, - default: () => defProps.button.loadingMode + default: () => props$l.button.loadingMode }, // 加载图标大小 loadingSize: { type: [String, Number], - default: () => defProps.button.loadingSize + default: () => props$l.button.loadingSize }, // 开放能力,具体请看uniapp稳定关于button组件部分说明 // https://uniapp.dcloud.io/component/button openType: { type: String, - default: () => defProps.button.openType + default: () => props$l.button.openType }, // 用于
组件,点击分别会触发 组件的 submit/reset 事件 // 取值为submit(提交表单),reset(重置表单) formType: { type: String, - default: () => defProps.button.formType + default: () => props$l.button.formType }, // 打开 APP 时,向 APP 传递的参数,open-type=launchApp时有效 // 只微信小程序、QQ小程序有效 appParameter: { type: String, - default: () => defProps.button.appParameter + default: () => props$l.button.appParameter }, // 指定是否阻止本节点的祖先节点出现点击态,微信小程序有效 hoverStopPropagation: { type: Boolean, - default: () => defProps.button.hoverStopPropagation + default: () => props$l.button.hoverStopPropagation }, // 指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文。只微信小程序有效 lang: { type: String, - default: () => defProps.button.lang + default: () => props$l.button.lang }, // 会话来源,open-type="contact"时有效。只微信小程序有效 sessionFrom: { type: String, - default: () => defProps.button.sessionFrom + default: () => props$l.button.sessionFrom }, // 会话内消息卡片标题,open-type="contact"时有效 // 默认当前标题,只微信小程序有效 sendMessageTitle: { type: String, - default: () => defProps.button.sendMessageTitle + default: () => props$l.button.sendMessageTitle }, // 会话内消息卡片点击跳转小程序路径,open-type="contact"时有效 // 默认当前分享路径,只微信小程序有效 sendMessagePath: { type: String, - default: () => defProps.button.sendMessagePath + default: () => props$l.button.sendMessagePath }, // 会话内消息卡片图片,open-type="contact"时有效 // 默认当前页面截图,只微信小程序有效 sendMessageImg: { type: String, - default: () => defProps.button.sendMessageImg + default: () => props$l.button.sendMessageImg }, // 是否显示会话内消息卡片,设置此参数为 true,用户进入客服会话会在右下角显示"可能要发送的小程序"提示, // 用户点击后可以快速发送小程序消息,open-type="contact"时有效 showMessageCard: { type: Boolean, - default: () => defProps.button.showMessageCard + default: () => props$l.button.showMessageCard }, // 额外传参参数,用于小程序的data-xxx属性,通过target.dataset.name获取 dataName: { type: String, - default: () => defProps.button.dataName + default: () => props$l.button.dataName }, // 节流,一定时间内只能触发一次 throttleTime: { type: [String, Number], - default: () => defProps.button.throttleTime + default: () => props$l.button.throttleTime }, // 按住后多久出现点击态,单位毫秒 hoverStartTime: { type: [String, Number], - default: () => defProps.button.hoverStartTime + default: () => props$l.button.hoverStartTime }, // 手指松开后点击态保留时间,单位毫秒 hoverStayTime: { type: [String, Number], - default: () => defProps.button.hoverStayTime + default: () => props$l.button.hoverStayTime }, // 按钮文字,之所以通过props传入,是因为slot传入的话 // nvue中无法控制文字的样式 text: { type: [String, Number], - default: () => defProps.button.text + default: () => props$l.button.text }, // 按钮图标 icon: { type: String, - default: () => defProps.button.icon + default: () => props$l.button.icon }, // 按钮图标 iconColor: { type: String, - default: () => defProps.button.icon + default: () => props$l.button.icon }, // 按钮颜色,支持传入linear-gradient渐变色 color: { type: String, - default: () => defProps.button.color + default: () => props$l.button.color }, // 停止冒泡 stop: { type: Boolean, - default: () => defProps.button.stop + default: () => props$l.button.stop } } }); -const props$4 = defineMixin({ +const props$7 = defineMixin({ props: { // 文字颜色 color: { type: String, - default: () => defProps.link.color + default: () => props$l.link.color }, // 字体大小,单位px fontSize: { type: [String, Number], - default: () => defProps.link.fontSize + default: () => props$l.link.fontSize }, // 是否显示下划线 underLine: { type: Boolean, - default: () => defProps.link.underLine + default: () => props$l.link.underLine }, // 要跳转的链接 href: { type: String, - default: () => defProps.link.href + default: () => props$l.link.href }, // 小程序中复制到粘贴板的提示语 mpTips: { type: String, - default: () => defProps.link.mpTips + default: () => props$l.link.mpTips }, // 下划线颜色 lineColor: { type: String, - default: () => defProps.link.lineColor + default: () => props$l.link.lineColor }, // 超链接的问题,不使用slot形式传入,是因为nvue下无法修改颜色 text: { type: String, - default: () => defProps.link.text + default: () => props$l.link.text } } }); -const props$3 = defineMixin({ +const props$6 = defineMixin({ props: { // 是否显示遮罩 show: { type: Boolean, - default: () => defProps.overlay.show + default: () => props$l.overlay.show }, // 层级z-index zIndex: { type: [String, Number], - default: () => defProps.overlay.zIndex + default: () => props$l.overlay.zIndex }, // 遮罩的过渡时间,单位为ms duration: { type: [String, Number], - default: () => defProps.overlay.duration + default: () => props$l.overlay.duration }, // 不透明度值,当做rgba的第四个参数 opacity: { type: [String, Number], - default: () => defProps.overlay.opacity + default: () => props$l.overlay.opacity } } }); -const props$2 = defineMixin({ +const props$5 = defineMixin({ props: { bgColor: { type: String, - default: () => defProps.statusBar.bgColor + default: () => props$l.statusBar.bgColor + }, + // 状态栏获取得高度 + height: { + type: Number, + default: () => props$l.statusBar.height } } }); -const props$1 = defineMixin({ +const props$4 = defineMixin({ props: {} }); -const props = defineMixin({ +const props$3 = defineMixin({ props: { // 是否展示组件 show: { type: Boolean, - default: () => defProps.transition.show + default: () => props$l.transition.show }, // 使用的动画模式 mode: { type: String, - default: () => defProps.transition.mode + default: () => props$l.transition.mode }, // 动画的执行时间,单位ms duration: { type: [String, Number], - default: () => defProps.transition.duration + default: () => props$l.transition.duration }, // 使用的动画过渡函数 timingFunction: { type: String, - default: () => defProps.transition.timingFunction + default: () => props$l.transition.timingFunction } } }); @@ -16771,26 +18676,185 @@ const transitionMixin = { } } }; +const props$2 = defineMixin({ + props: { + // 标题 + title: { + type: [String, Number], + default: () => props$l.cell.title + }, + // 标题下方的描述信息 + label: { + type: [String, Number], + default: () => props$l.cell.label + }, + // 右侧的内容 + value: { + type: [String, Number], + default: () => props$l.cell.value + }, + // 左侧图标名称,或者图片链接(本地文件建议使用绝对地址) + icon: { + type: String, + default: () => props$l.cell.icon + }, + // 是否禁用cell + disabled: { + type: Boolean, + default: () => props$l.cell.disabled + }, + // 是否显示下边框 + border: { + type: Boolean, + default: () => props$l.cell.border + }, + // 内容是否垂直居中(主要是针对右侧的value部分) + center: { + type: Boolean, + default: () => props$l.cell.center + }, + // 点击后跳转的URL地址 + url: { + type: String, + default: () => props$l.cell.url + }, + // 链接跳转的方式,内部使用的是uView封装的route方法,可能会进行拦截操作 + linkType: { + type: String, + default: () => props$l.cell.linkType + }, + // 是否开启点击反馈(表现为点击时加上灰色背景) + clickable: { + type: Boolean, + default: () => props$l.cell.clickable + }, + // 是否展示右侧箭头并开启点击反馈 + isLink: { + type: Boolean, + default: () => props$l.cell.isLink + }, + // 是否显示表单状态下的必填星号(此组件可能会内嵌入input组件) + required: { + type: Boolean, + default: () => props$l.cell.required + }, + // 右侧的图标箭头 + rightIcon: { + type: String, + default: () => props$l.cell.rightIcon + }, + // 右侧箭头的方向,可选值为:left,up,down + arrowDirection: { + type: String, + default: () => props$l.cell.arrowDirection + }, + // 左侧图标样式 + iconStyle: { + type: [Object, String], + default: () => { + return props$l.cell.iconStyle; + } + }, + // 右侧箭头图标的样式 + rightIconStyle: { + type: [Object, String], + default: () => { + return props$l.cell.rightIconStyle; + } + }, + // 标题的样式 + titleStyle: { + type: [Object, String], + default: () => { + return props$l.cell.titleStyle; + } + }, + // 单位元的大小,可选值为large + size: { + type: String, + default: () => props$l.cell.size + }, + // 点击cell是否阻止事件传播 + stop: { + type: Boolean, + default: () => props$l.cell.stop + }, + // 标识符,cell被点击时返回 + name: { + type: [Number, String], + default: () => props$l.cell.name + } + } +}); +const props$1 = defineMixin({ + props: { + // 分组标题 + title: { + type: String, + default: () => props$l.cellGroup.title + }, + // 是否显示外边框 + border: { + type: Boolean, + default: () => props$l.cellGroup.border + } + } +}); +const props = defineMixin({ + props: { + color: { + type: String, + default: () => props$l.line.color + }, + // 长度,竖向时表现为高度,横向时表现为长度,可以为百分比,带px单位的值等 + length: { + type: [String, Number], + default: () => props$l.line.length + }, + // 线条方向,col-竖向,row-横向 + direction: { + type: String, + default: () => props$l.line.direction + }, + // 是否显示细边框 + hairline: { + type: Boolean, + default: () => props$l.line.hairline + }, + // 线条与上下左右元素的间距,字符串形式,如"30px"、"20px 30px" + margin: { + type: [String, Number], + default: () => props$l.line.margin + }, + // 是否虚线,true-虚线,false-实线 + dashed: { + type: Boolean, + default: () => props$l.line.dashed + } + } +}); exports.Ds = Ds; exports.Pinia = Pinia; exports.Request = Request2; +exports.UQRCode = UQRCode; exports._export_sfc = _export_sfc; exports.addStyle = addStyle; exports.addUnit = addUnit; exports.buttonMixin = buttonMixin; -exports.color = color; +exports.color = color$3; exports.colorGradient = colorGradient; exports.config = config; exports.createPinia = createPinia; exports.createSSRApp = createSSRApp; exports.dayjs = dayjs; +exports.deepClone = deepClone; exports.deepMerge = deepMerge$2; -exports.defProps = defProps; exports.defineComponent = defineComponent; exports.defineStore = defineStore; exports.e = e; exports.error = error; exports.f = f$1; +exports.fontUtil = fontUtil; exports.formValidate = formValidate; exports.getCurrentInstance = getCurrentInstance; exports.getPx = getPx; @@ -16813,24 +18877,28 @@ exports.onShow = onShow; exports.onUnload = onUnload; exports.openType = openType; exports.p = p$1; -exports.props = props$h; -exports.props$1 = props$g; -exports.props$10 = props$7; -exports.props$11 = props$6; -exports.props$12 = props$5; -exports.props$13 = props$4; -exports.props$14 = props$3; -exports.props$15 = props$2; -exports.props$16 = props$1; -exports.props$17 = props; -exports.props$2 = props$f; -exports.props$3 = props$e; -exports.props$4 = props$d; -exports.props$5 = props$c; -exports.props$6 = props$b; -exports.props$7 = props$a; -exports.props$8 = props$9; -exports.props$9 = props$8; +exports.props = props$k; +exports.props$1 = props$j; +exports.props$10 = props$b; +exports.props$11 = props$a; +exports.props$12 = props$9; +exports.props$13 = props$8; +exports.props$14 = props$7; +exports.props$15 = props$6; +exports.props$16 = props$5; +exports.props$17 = props$4; +exports.props$18 = props$3; +exports.props$19 = props$2; +exports.props$2 = props$i; +exports.props$20 = props$1; +exports.props$21 = props; +exports.props$3 = props$h; +exports.props$4 = props$g; +exports.props$5 = props$f; +exports.props$6 = props$e; +exports.props$7 = props$l; +exports.props$8 = props$d; +exports.props$9 = props$c; exports.r = r$1; exports.random = random; exports.ref = ref; @@ -16838,7 +18906,9 @@ exports.relativeTime = relativeTime; exports.resolveComponent = resolveComponent; exports.s = s$1; exports.sleep = sleep; -exports.t = t$1; +exports.sr = sr; +exports.t = t$2; +exports.t$1 = t$1; exports.test = test; exports.throttle = throttle; exports.toast = toast; diff --git a/dist/dev/mp-weixin/components/hs-date-picker/hs-date-picker.js b/dist/dev/mp-weixin/components/hs-date-picker/hs-date-picker.js new file mode 100644 index 0000000..bc234c5 --- /dev/null +++ b/dist/dev/mp-weixin/components/hs-date-picker/hs-date-picker.js @@ -0,0 +1,75 @@ +"use strict"; +const common_vendor = require("../../common/vendor.js"); +if (!Array) { + const _easycom_hs_cell2 = common_vendor.resolveComponent("hs-cell"); + _easycom_hs_cell2(); +} +const _easycom_hs_cell = () => "../hs-cell/hs-cell.js"; +if (!Math) { + _easycom_hs_cell(); +} +const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ + __name: "hs-date-picker", + props: [ + "valueModel", + "required", + "tip", + "title", + "hasFutureDate", + "borderTop", + "isLink", + "mode" + ], + emits: ["change", "update:valueModel"], + setup(__props, { emit }) { + const props = __props; + const dateValue = common_vendor.ref(""); + const startDate = common_vendor.ref(""); + const endDate = common_vendor.ref(""); + const onChange = (e) => { + dateValue.value = e == null ? void 0 : e.detail.value; + emit("update:valueModel", e == null ? void 0 : e.detail.value); + emit("change", e == null ? void 0 : e.detail.value); + }; + common_vendor.onMounted(() => { + const date = new Date(); + let year = date.getFullYear(); + let month = date.getMonth() + 1; + let day = date.getDate(); + month = month > 9 ? month : "0" + month; + day = day > 9 ? day : "0" + day; + startDate.value = (props == null ? void 0 : props.hasFutureDate) ? `${year}-${month}-${day}` : `${year - 60}-${month}-${day}`; + endDate.value = `${year + 60}-${month}-${day}`; + if (props == null ? void 0 : props.valueModel) { + dateValue.value = props == null ? void 0 : props.valueModel; + } + }); + common_vendor.watch( + () => props == null ? void 0 : props.valueModel, + (newVal) => { + console.log(newVal, "newVal"); + dateValue.value = props == null ? void 0 : props.valueModel; + } + ); + return (_ctx, _cache) => { + return { + a: common_vendor.p({ + title: (props == null ? void 0 : props.title) || "选择日期", + required: props == null ? void 0 : props.required, + borderTop: props == null ? void 0 : props.borderTop, + value: dateValue.value, + isLink: true, + isLabelRight: true, + isPlaceholder: "请选择日期" + }), + b: (props == null ? void 0 : props.mode) || "date", + c: props.valueModel, + d: common_vendor.o(onChange), + e: startDate.value, + f: endDate.value + }; + }; + } +}); +const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/components/hs-date-picker/hs-date-picker.vue"]]); +wx.createComponent(Component); diff --git a/dist/dev/mp-weixin/components/hs-date-picker/hs-date-picker.json b/dist/dev/mp-weixin/components/hs-date-picker/hs-date-picker.json new file mode 100644 index 0000000..c78427c --- /dev/null +++ b/dist/dev/mp-weixin/components/hs-date-picker/hs-date-picker.json @@ -0,0 +1,6 @@ +{ + "component": true, + "usingComponents": { + "hs-cell": "../hs-cell/hs-cell" + } +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/components/hs-date-picker/hs-date-picker.wxml b/dist/dev/mp-weixin/components/hs-date-picker/hs-date-picker.wxml new file mode 100644 index 0000000..8060c5e --- /dev/null +++ b/dist/dev/mp-weixin/components/hs-date-picker/hs-date-picker.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/dev/mp-weixin/components/hs-date-picker/hs-date-picker.wxss b/dist/dev/mp-weixin/components/hs-date-picker/hs-date-picker.wxss new file mode 100644 index 0000000..e69de29 diff --git a/dist/dev/mp-weixin/components/hs-empty/hs-empty.js b/dist/dev/mp-weixin/components/hs-empty/hs-empty.js index ab7642b..c796e6e 100644 --- a/dist/dev/mp-weixin/components/hs-empty/hs-empty.js +++ b/dist/dev/mp-weixin/components/hs-empty/hs-empty.js @@ -1,6 +1,5 @@ "use strict"; const common_vendor = require("../../common/vendor.js"); -const common_assets = require("../../common/assets.js"); const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ __name: "hs-empty", props: { @@ -9,7 +8,8 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ height: null, iconSize: null, textSize: null, - baseStyle: null + baseStyle: null, + iconName: null }, setup(__props) { const props = __props; @@ -19,7 +19,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ }; return (_ctx, _cache) => { return { - a: common_assets._imports_0, + a: `/static/images/${(props == null ? void 0 : props.iconName) || "empty_icon"}.png`, b: common_vendor.t((props == null ? void 0 : props.text) || "暂无数据"), c: common_vendor.s(baseStyle) }; diff --git a/dist/dev/mp-weixin/components/hs-empty/hs-empty.wxml b/dist/dev/mp-weixin/components/hs-empty/hs-empty.wxml index e02033d..2d35545 100644 --- a/dist/dev/mp-weixin/components/hs-empty/hs-empty.wxml +++ b/dist/dev/mp-weixin/components/hs-empty/hs-empty.wxml @@ -1 +1 @@ -{{b}} \ No newline at end of file +{{b}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/components/hs-empty/hs-empty.wxss b/dist/dev/mp-weixin/components/hs-empty/hs-empty.wxss index 4401045..93578c9 100644 --- a/dist/dev/mp-weixin/components/hs-empty/hs-empty.wxss +++ b/dist/dev/mp-weixin/components/hs-empty/hs-empty.wxss @@ -3,8 +3,8 @@ text-align: center; } .wl-empty .empty_icon.data-v-9e2a467e { + width: 310rpx; height: 155rpx; - margin-left: 27rpx; } .wl-empty .label.data-v-9e2a467e { font-size: 25rpx; diff --git a/dist/dev/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.js b/dist/dev/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.js new file mode 100644 index 0000000..4e92523 --- /dev/null +++ b/dist/dev/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.js @@ -0,0 +1,293 @@ +"use strict"; +const common_vendor = require("../../common/vendor.js"); +const common_libraries_apiLoading = require("../../common/libraries/apiLoading.js"); +const common_libraries_tools = require("../../common/libraries/tools.js"); +const gen_Apis = require("../../gen/Apis.js"); +require("../../common/libraries/request.js"); +require("../../common/store/useWeAppAuthStore.js"); +require("../../common/store/useWatermarkStore.js"); +require("../../common/store/useWorkStore.js"); +if (!Array) { + const _easycom_hs_cell2 = common_vendor.resolveComponent("hs-cell"); + const _easycom_up_tabs2 = common_vendor.resolveComponent("up-tabs"); + const _easycom_hs_empty2 = common_vendor.resolveComponent("hs-empty"); + const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons"); + const _easycom_hs_popup2 = common_vendor.resolveComponent("hs-popup"); + (_easycom_hs_cell2 + _easycom_up_tabs2 + _easycom_hs_empty2 + _easycom_uni_icons2 + _easycom_hs_popup2)(); +} +const _easycom_hs_cell = () => "../hs-cell/hs-cell.js"; +const _easycom_up_tabs = () => "../../node-modules/uview-plus/components/u-tabs/u-tabs.js"; +const _easycom_hs_empty = () => "../hs-empty/hs-empty.js"; +const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"; +const _easycom_hs_popup = () => "../hs-popup/hs-popup.js"; +if (!Math) { + (_easycom_hs_cell + _easycom_up_tabs + _easycom_hs_empty + _easycom_uni_icons + _easycom_hs_popup)(); +} +const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ + __name: "hs-popup-project-houer", + props: ["title", "defaultValueName"], + emits: ["close", "change"], + setup(__props, { emit }) { + const props = __props; + let keywordStore = ""; + const formData = common_vendor.ref({ page: 1 }); + const searchValue = common_vendor.ref(""); + const selectEd = common_vendor.ref({ name: "", id: 0 }); + const pickerList = common_vendor.ref([]); + const pickerListProject = common_vendor.ref([]); + const pickerListBuilding = common_vendor.ref([]); + const pickerListUnit = common_vendor.ref([]); + const pickerListHouse = common_vendor.ref([]); + const showProjectName = common_vendor.ref(""); + const popupShow = common_vendor.ref(false); + const currentValue = common_vendor.ref(0); + const itemsList = common_vendor.ref([{ name: "小区" }]); + const selectValueEd = common_vendor.ref([]); + common_vendor.watch( + () => props == null ? void 0 : props.defaultValueName, + () => { + showProjectName.value = props == null ? void 0 : props.defaultValueName; + } + ); + const handleSearch = common_libraries_tools.debounce((e) => { + if (e === keywordStore) { + return; + } + keywordStore = e; + formData.value.page = 1; + pickerListProject.value = []; + handleTransfer(currentValue.value); + }, 500); + const onPopupShow = () => { + popupShow.value = !popupShow.value; + if (popupShow.value) { + setTimeout(() => { + currentValue.value = 0; + pickerListProject.value = []; + getPickerList(); + }, 300); + } + }; + const handleSwitchClick = (e) => { + searchValue.value = ""; + currentValue.value = e == null ? void 0 : e.index; + console.log(e, "eee"); + }; + common_vendor.watch( + () => currentValue.value, + (e) => { + handleTransfer(e); + } + ); + const handleTransfer = (idx) => { + if (idx === 0) { + getPickerList(); + } + if (idx === 1) { + handleGetBuilding(selectValueEd.value[0]); + } + if (idx === 2) { + handleGetUnit(selectValueEd.value[1]); + } + if (idx === 3) { + handleGetHouse(selectValueEd.value[2]); + } + }; + const getPickerList = () => { + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Asset.AssetHouses.SelectProject, { + name: searchValue.value, + ...formData.value + }).then((res) => { + pickerListProject.value = res == null ? void 0 : res.data; + pickerList.value = res == null ? void 0 : res.data; + console.log(res); + }); + }; + const onSelectMerchant = (i) => { + searchValue.value = ""; + currentValue.value = 1; + itemsList.value = [{ name: "小区" }, { name: "楼栋" }]; + selectValueEd.value[0] = i; + }; + const handleGetBuilding = (data) => { + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Asset.AssetHouses.SelectBuilding, { + asset_projects_id: data == null ? void 0 : data.id, + name: searchValue.value, + ...formData.value + }).then((res) => { + pickerListBuilding.value = res == null ? void 0 : res.data; + pickerList.value = res == null ? void 0 : res.data; + console.log(res); + }); + }; + const onSelectBuildingt = (i) => { + searchValue.value = ""; + currentValue.value = 2; + itemsList.value = [{ name: "小区" }, { name: "楼栋" }, { name: "单元" }]; + selectValueEd.value[1] = i; + }; + const handleGetUnit = (data) => { + var _a; + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Asset.AssetHouses.SelectUnit, { + asset_projects_id: (_a = selectValueEd.value[0]) == null ? void 0 : _a.id, + asset_buildings_id: data == null ? void 0 : data.id, + name: searchValue.value, + ...formData.value + }).then((res) => { + pickerListUnit.value = res == null ? void 0 : res.data; + pickerList.value = res == null ? void 0 : res.data; + console.log(res); + }); + }; + const onSelectUnit = (i) => { + searchValue.value = ""; + currentValue.value = 3; + itemsList.value = [{ name: "小区" }, { name: "楼栋" }, { name: "单元" }, { name: "房屋" }]; + selectValueEd.value[2] = i; + }; + const handleGetHouse = (data) => { + var _a, _b; + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Asset.AssetHouses.SelectHouse, { + asset_projects_id: (_a = selectValueEd.value[0]) == null ? void 0 : _a.id, + asset_buildings_id: (_b = selectValueEd.value[1]) == null ? void 0 : _b.id, + asset_units_id: data == null ? void 0 : data.id, + name: searchValue.value, + ...formData.value + }).then((res) => { + pickerListHouse.value = res == null ? void 0 : res.data; + pickerList.value = res == null ? void 0 : res.data; + console.log(res); + }); + }; + const onSelectHouse = (i) => { + searchValue.value = ""; + selectValueEd.value[3] = i; + showProjectName.value = selectValueEd == null ? void 0 : selectValueEd.value.map((res) => res == null ? void 0 : res.name).join(""); + emit("change", selectValueEd.value); + onPopupShow(); + }; + return (_ctx, _cache) => { + var _a, _b; + return common_vendor.e({ + a: common_vendor.o(onPopupShow), + b: common_vendor.p({ + title: props == null ? void 0 : props.title, + isLink: true, + isPlaceholder: true, + required: true, + borderTop: true, + value: showProjectName.value + }), + c: common_vendor.o([ + ($event) => searchValue.value = $event.detail.value, + //@ts-ignore + (...args) => common_vendor.unref(handleSearch) && common_vendor.unref(handleSearch)(...args) + ]), + d: common_vendor.o( + //@ts-ignore + (...args) => common_vendor.unref(handleSearch) && common_vendor.unref(handleSearch)(...args) + ), + e: searchValue.value, + f: popupShow.value + }, popupShow.value ? { + g: common_vendor.o(handleSwitchClick), + h: common_vendor.p({ + list: itemsList.value, + current: currentValue.value || 0 + }) + } : {}, { + i: !((_a = pickerList.value) == null ? void 0 : _a.length) + }, !((_b = pickerList.value) == null ? void 0 : _b.length) ? {} : {}, { + j: currentValue.value === 0 + }, currentValue.value === 0 ? { + k: common_vendor.f(pickerListProject.value, (i, index, i0) => { + var _a2, _b2; + return common_vendor.e({ + a: common_vendor.t(i == null ? void 0 : i.name), + b: ((_a2 = selectEd.value) == null ? void 0 : _a2.id) === (i == null ? void 0 : i.id) + }, ((_b2 = selectEd.value) == null ? void 0 : _b2.id) === (i == null ? void 0 : i.id) ? { + c: "da3aad6e-4-" + i0 + ",da3aad6e-1", + d: common_vendor.p({ + type: "checkmarkempty", + size: "20", + color: "#FBA60D" + }) + } : {}, { + e: `key_${index}`, + f: common_vendor.o(($event) => onSelectMerchant(i), `key_${index}`) + }); + }) + } : {}, { + l: currentValue.value === 1 + }, currentValue.value === 1 ? { + m: common_vendor.f(pickerListBuilding.value, (i, index, i0) => { + var _a2, _b2; + return common_vendor.e({ + a: common_vendor.t(i == null ? void 0 : i.name), + b: ((_a2 = selectEd.value) == null ? void 0 : _a2.id) === (i == null ? void 0 : i.id) + }, ((_b2 = selectEd.value) == null ? void 0 : _b2.id) === (i == null ? void 0 : i.id) ? { + c: "da3aad6e-5-" + i0 + ",da3aad6e-1", + d: common_vendor.p({ + type: "checkmarkempty", + size: "20", + color: "#FBA60D" + }) + } : {}, { + e: `key_${index}`, + f: common_vendor.o(($event) => onSelectBuildingt(i), `key_${index}`) + }); + }) + } : {}, { + n: currentValue.value === 2 + }, currentValue.value === 2 ? { + o: common_vendor.f(pickerListUnit.value, (i, index, i0) => { + var _a2, _b2; + return common_vendor.e({ + a: common_vendor.t(i == null ? void 0 : i.name), + b: ((_a2 = selectEd.value) == null ? void 0 : _a2.id) === (i == null ? void 0 : i.id) + }, ((_b2 = selectEd.value) == null ? void 0 : _b2.id) === (i == null ? void 0 : i.id) ? { + c: "da3aad6e-6-" + i0 + ",da3aad6e-1", + d: common_vendor.p({ + type: "checkmarkempty", + size: "20", + color: "#FBA60D" + }) + } : {}, { + e: `key_${index}`, + f: common_vendor.o(($event) => onSelectUnit(i), `key_${index}`) + }); + }) + } : {}, { + p: currentValue.value === 3 + }, currentValue.value === 3 ? { + q: common_vendor.f(pickerListHouse.value, (i, index, i0) => { + var _a2, _b2; + return common_vendor.e({ + a: common_vendor.t(i == null ? void 0 : i.name), + b: ((_a2 = selectEd.value) == null ? void 0 : _a2.id) === (i == null ? void 0 : i.id) + }, ((_b2 = selectEd.value) == null ? void 0 : _b2.id) === (i == null ? void 0 : i.id) ? { + c: "da3aad6e-7-" + i0 + ",da3aad6e-1", + d: common_vendor.p({ + type: "checkmarkempty", + size: "20", + color: "#FBA60D" + }) + } : {}, { + e: `key_${index}`, + f: common_vendor.o(($event) => onSelectHouse(i), `key_${index}`) + }); + }) + } : {}, { + r: common_vendor.o(onPopupShow), + s: common_vendor.p({ + show: popupShow.value, + mode: "bottom", + closeable: true, + round: 20 + }) + }); + }; + } +}); +const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-da3aad6e"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/components/hs-popup-project-houer/hs-popup-project-houer.vue"]]); +wx.createComponent(Component); diff --git a/dist/dev/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.json b/dist/dev/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.json new file mode 100644 index 0000000..473f195 --- /dev/null +++ b/dist/dev/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.json @@ -0,0 +1,10 @@ +{ + "component": true, + "usingComponents": { + "hs-cell": "../hs-cell/hs-cell", + "up-tabs": "../../node-modules/uview-plus/components/u-tabs/u-tabs", + "hs-empty": "../hs-empty/hs-empty", + "uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons", + "hs-popup": "../hs-popup/hs-popup" + } +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.wxml b/dist/dev/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.wxml new file mode 100644 index 0000000..ba40625 --- /dev/null +++ b/dist/dev/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.wxml @@ -0,0 +1 @@ + 选择房屋 {{i.a}}{{i.a}}{{i.a}}{{i.a}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.wxss b/dist/dev/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.wxss new file mode 100644 index 0000000..6d4c7a8 --- /dev/null +++ b/dist/dev/mp-weixin/components/hs-popup-project-houer/hs-popup-project-houer.wxss @@ -0,0 +1,37 @@ +.popup_merchant_select_body.data-v-da3aad6e { + background-color: #fff; + padding-bottom: calc(48px + constant(safe-area-inset-bottom)); + padding-bottom: calc(48px + env(safe-area-inset-bottom)); + border-top-left-radius: 20rpx; + border-top-right-radius: 20rpx; + overflow: hidden; +} +.popup_merchant_select_body .popup_merchant_select_title.data-v-da3aad6e { + text-align: center; + padding: 30rpx 0; + font-size: 30rpx; + background-color: #f8f8f8; + border-bottom: 1rpx solid #eee; +} +.popup_merchant_select_body .scroll-Y.data-v-da3aad6e { + width: 100%; + height: 860rpx; +} +.popup_merchant_select_body .popup_merchant_body.data-v-da3aad6e { + font-size: 30rpx; + color: #333; + border-top: 1rpx solid #f8f8f8; +} +.popup_merchant_select_body .popup_merchant_body .merchant_item.data-v-da3aad6e { + padding: 30rpx; + border-bottom: 1rpx solid #f8f8f8; + display: flex; + justify-content: space-between; + align-items: center; +} +.popup_search_input.data-v-da3aad6e { + padding: 15rpx 20rpx; + margin: 20rpx 30rpx 0 30rpx; + border-radius: 100rpx; + border: 1rpx solid #eee; +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/components/hs-popup-project/hs-popup-project.js b/dist/dev/mp-weixin/components/hs-popup-project/hs-popup-project.js index fed4a2a..e20a02c 100644 --- a/dist/dev/mp-weixin/components/hs-popup-project/hs-popup-project.js +++ b/dist/dev/mp-weixin/components/hs-popup-project/hs-popup-project.js @@ -43,7 +43,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ }; const getPickerList = () => { var _a, _b, _c; - common_libraries_apiLoading.getApiLoading((_c = (_b = (_a = gen_Apis.Apis) == null ? void 0 : _a.Asset) == null ? void 0 : _b.AssetHouses) == null ? void 0 : _c.SelectProject, formData.value).then((res) => { + common_libraries_apiLoading.getApiLoading((_c = (_b = (_a = gen_Apis.Apis) == null ? void 0 : _a.Asset) == null ? void 0 : _b.AssetHouses) == null ? void 0 : _c.SelectPermissionProject, formData.value).then((res) => { pickerList.value = [...pickerList.value, ...res == null ? void 0 : res.data]; meta.value = res == null ? void 0 : res.meta; console.log(res); diff --git a/dist/dev/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.js b/dist/dev/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.js new file mode 100644 index 0000000..a51b1ac --- /dev/null +++ b/dist/dev/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.js @@ -0,0 +1,118 @@ +"use strict"; +const common_vendor = require("../../common/vendor.js"); +const common_libraries_apiLoading = require("../../common/libraries/apiLoading.js"); +const gen_Apis = require("../../gen/Apis.js"); +require("../../common/libraries/request.js"); +require("../../common/store/useWeAppAuthStore.js"); +require("../../common/store/useWatermarkStore.js"); +require("../../common/store/useWorkStore.js"); +if (!Array) { + const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons"); + const _easycom_up_cascader2 = common_vendor.resolveComponent("up-cascader"); + const _component_veiw = common_vendor.resolveComponent("veiw"); + (_easycom_uni_icons2 + _easycom_up_cascader2 + _component_veiw)(); +} +const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"; +const _easycom_up_cascader = () => "../../node-modules/uview-plus/components/u-cascader/u-cascader.js"; +if (!Math) { + (_easycom_uni_icons + _easycom_up_cascader)(); +} +const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ + __name: "hs-radio-picker-categories-tree", + props: [ + "Enums", + "title", + "pickerIndex", + "value", + "borderTop", + "required", + "disabled", + "tip", + "key", + "des", + "padding", + "valueModel", + "placeholder", + "titleStyle", + "rightStyle", + "defaultValue" + ], + emits: ["change", "update:valueModel"], + setup(__props, { emit }) { + const props = __props; + const borderStyle = "1rpx solid #eee"; + const paddingStyle = "15rpx 0"; + const show = common_vendor.ref(false); + const pickerList = common_vendor.ref([]); + const selectValue = common_vendor.ref(""); + const selectValueModel = common_vendor.ref([]); + const onConfirm = (e) => { + var _a; + (_a = pickerList.value) == null ? void 0 : _a.map((res) => { + var _a2; + if ((res == null ? void 0 : res.id) === (e == null ? void 0 : e[0])) { + selectValue.value = res == null ? void 0 : res.name; + (_a2 = res == null ? void 0 : res.children) == null ? void 0 : _a2.map((child) => { + if ((child == null ? void 0 : child.id) === (e == null ? void 0 : e[1])) { + selectValue.value += `/${child == null ? void 0 : child.name}`; + } + }); + } + }); + emit("update:valueModel", e); + emit("change", e); + }; + common_vendor.watch( + () => props.defaultValue, + (newVal) => { + selectValue.value = newVal; + } + ); + const getPickerList = () => { + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Emergency.EmergencyEventCategories.SelectTree, {}).then((res) => { + pickerList.value = res == null ? void 0 : res.data; + console.log(res); + }); + }; + common_vendor.onMounted(() => { + getPickerList(); + }); + return (_ctx, _cache) => { + return common_vendor.e({ + a: common_vendor.t((props == null ? void 0 : props.title) || "标题"), + b: __props.required + }, __props.required ? {} : {}, { + c: common_vendor.s(props.titleStyle), + d: selectValue.value + }, selectValue.value ? { + e: common_vendor.t(selectValue.value) + } : { + f: common_vendor.t((props == null ? void 0 : props.placeholder) || "请选择") + }, { + g: common_vendor.p({ + type: "right", + color: "#333", + size: "12" + }), + h: common_vendor.s(props.rightStyle), + i: props.borderTop ? borderStyle : "", + j: (props == null ? void 0 : props.padding) || paddingStyle, + k: common_vendor.o(($event) => show.value = true), + l: common_vendor.o(onConfirm), + m: common_vendor.o(($event) => show.value = $event), + n: common_vendor.o(($event) => selectValueModel.value = $event), + o: common_vendor.p({ + mode: "mutil-column-auto", + data: pickerList.value, + ["label-key"]: "name", + ["value-key"]: "id", + ["children-key"]: "children", + show: show.value, + modelValue: selectValueModel.value + }) + }); + }; + } +}); +const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-d4e228cc"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.vue"]]); +wx.createComponent(Component); diff --git a/dist/dev/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.json b/dist/dev/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.json similarity index 53% rename from dist/dev/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.json rename to dist/dev/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.json index 2caa312..4679511 100644 --- a/dist/dev/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.json +++ b/dist/dev/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.json @@ -1,6 +1,7 @@ { "component": true, "usingComponents": { - "uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons" + "uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons", + "up-cascader": "../../node-modules/uview-plus/components/u-cascader/u-cascader" } } \ No newline at end of file diff --git a/dist/dev/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.wxml b/dist/dev/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.wxml new file mode 100644 index 0000000..487a322 --- /dev/null +++ b/dist/dev/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.wxml @@ -0,0 +1 @@ +{{a}} * {{e}}{{f}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.wxss b/dist/dev/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.wxss new file mode 100644 index 0000000..e6ea97d --- /dev/null +++ b/dist/dev/mp-weixin/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.wxss @@ -0,0 +1,25 @@ +.picker_select_btn.data-v-d4e228cc { + display: flex; + align-items: center; + justify-content: space-between; + font-size: 28rpx; + color: #333; +} +.picker_select_btn .title.data-v-d4e228cc { + color: #333; + font-size: 30rpx; +} +.picker_select_btn .title text.data-v-d4e228cc { + color: #f00; +} +.picker_select_btn .right_value.data-v-d4e228cc { + flex: 1; + display: flex; + align-items: center; + justify-content: flex-end; + padding: 15rpx 0 15rpx 10rpx; + font-size: 28rpx; +} +.picker_select_btn .right_value .placeholder_style.data-v-d4e228cc { + color: #ccc; +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.js b/dist/dev/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.js deleted file mode 100644 index 1c96e42..0000000 --- a/dist/dev/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.js +++ /dev/null @@ -1,56 +0,0 @@ -"use strict"; -const common_vendor = require("../../common/vendor.js"); -if (!Array) { - const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons"); - _easycom_uni_icons2(); -} -const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"; -if (!Math) { - _easycom_uni_icons(); -} -const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ - __name: "hs-radio-picker-enum", - props: [ - "Enums", - "title", - "pickerIndex", - "value", - "borderTop", - "required", - "disabled", - "tip", - "key", - "des", - "padding", - "valueModel", - "placeholder" - ], - emits: ["change", "update:valueModel"], - setup(__props, { emit }) { - const props = __props; - const selectValue = common_vendor.ref(""); - const onChange = (e) => { - console.log("e", e, props == null ? void 0 : props.Enums); - let selectData = props == null ? void 0 : props.Enums[e == null ? void 0 : e.detail.value]; - selectValue.value = selectData == null ? void 0 : selectData.name; - emit("update:valueModel", (selectData == null ? void 0 : selectData.value) || ""); - emit("change", selectData); - }; - return (_ctx, _cache) => { - return { - a: common_vendor.t(selectValue.value || (props == null ? void 0 : props.title)), - b: common_vendor.p({ - type: "down", - color: "#333", - size: "12" - }), - c: props == null ? void 0 : props.Enums, - d: (props == null ? void 0 : props.key) || "name", - e: props == null ? void 0 : props.disabled, - f: common_vendor.o(onChange) - }; - }; - } -}); -const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-7dd7deb4"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/components/hs-radio-picker-enum/hs-radio-picker-enum.vue"]]); -wx.createComponent(Component); diff --git a/dist/dev/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.wxml b/dist/dev/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.wxml deleted file mode 100644 index 89a42a8..0000000 --- a/dist/dev/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.wxml +++ /dev/null @@ -1 +0,0 @@ -{{a}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.wxss b/dist/dev/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.wxss deleted file mode 100644 index 83006b3..0000000 --- a/dist/dev/mp-weixin/components/hs-radio-picker-enum/hs-radio-picker-enum.wxss +++ /dev/null @@ -1,20 +0,0 @@ -.picker_select_btn.data-v-7dd7deb4 { - padding: 14rpx 20rpx; - border-radius: 100rpx; - text-align: center; - font-size: 28rpx; - display: flex; - align-items: center; - color: #666; - margin-left: 30rpx; -} -.picker_select_btn text.data-v-7dd7deb4 { - padding-right: 10rpx; -} -.picker_select_btn .label.data-v-7dd7deb4 { - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - min-width: 100rpx; - max-width: 200rpx; -} \ No newline at end of file diff --git a/dist/dev/mp-weixin/components/hs-radio-picker-levels/hs-radio-picker-levels.js b/dist/dev/mp-weixin/components/hs-radio-picker-levels/hs-radio-picker-levels.js new file mode 100644 index 0000000..dc35f06 --- /dev/null +++ b/dist/dev/mp-weixin/components/hs-radio-picker-levels/hs-radio-picker-levels.js @@ -0,0 +1,94 @@ +"use strict"; +const common_vendor = require("../../common/vendor.js"); +const common_libraries_apiLoading = require("../../common/libraries/apiLoading.js"); +const gen_Apis = require("../../gen/Apis.js"); +require("../../common/libraries/request.js"); +require("../../common/store/useWeAppAuthStore.js"); +require("../../common/store/useWatermarkStore.js"); +require("../../common/store/useWorkStore.js"); +if (!Array) { + const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons"); + _easycom_uni_icons2(); +} +const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"; +if (!Math) { + _easycom_uni_icons(); +} +const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ + __name: "hs-radio-picker-levels", + props: [ + "Enums", + "title", + "pickerIndex", + "value", + "borderTop", + "required", + "disabled", + "tip", + "key", + "des", + "padding", + "valueModel", + "placeholder", + "titleStyle", + "rightStyle", + "defaultValue" + ], + emits: ["change", "update:valueModel"], + setup(__props, { emit }) { + const props = __props; + const borderStyle = "1rpx solid #eee"; + const paddingStyle = "15rpx 0"; + const pickerList = common_vendor.ref([]); + const selectValue = common_vendor.ref(""); + const onChange = (e) => { + let selectData = pickerList.value[e == null ? void 0 : e.detail.value]; + selectValue.value = selectData == null ? void 0 : selectData.label; + emit("update:valueModel", (selectData == null ? void 0 : selectData.value) || ""); + emit("change", selectData); + }; + common_vendor.watch( + () => props.defaultValue, + (newVal) => { + selectValue.value = newVal; + } + ); + const getPickerList = () => { + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Emergency.EmergencyEventLevels.Select, {}).then((res) => { + pickerList.value = res == null ? void 0 : res.data; + console.log(res); + }); + }; + common_vendor.onMounted(() => { + getPickerList(); + }); + return (_ctx, _cache) => { + return common_vendor.e({ + a: common_vendor.t((props == null ? void 0 : props.title) || "标题"), + b: __props.required + }, __props.required ? {} : {}, { + c: common_vendor.s(props.titleStyle), + d: selectValue.value + }, selectValue.value ? { + e: common_vendor.t(selectValue.value) + } : { + f: common_vendor.t((props == null ? void 0 : props.placeholder) || "请选择") + }, { + g: common_vendor.p({ + type: "right", + color: "#333", + size: "12" + }), + h: common_vendor.s(props.rightStyle), + i: props.borderTop ? borderStyle : "", + j: (props == null ? void 0 : props.padding) || paddingStyle, + k: pickerList.value, + l: (props == null ? void 0 : props.key) || "label", + m: props == null ? void 0 : props.disabled, + n: common_vendor.o(onChange) + }); + }; + } +}); +const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-c0acef32"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/components/hs-radio-picker-levels/hs-radio-picker-levels.vue"]]); +wx.createComponent(Component); diff --git a/dist/build/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.json b/dist/dev/mp-weixin/components/hs-radio-picker-levels/hs-radio-picker-levels.json similarity index 100% rename from dist/build/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.json rename to dist/dev/mp-weixin/components/hs-radio-picker-levels/hs-radio-picker-levels.json diff --git a/dist/dev/mp-weixin/components/hs-radio-picker-levels/hs-radio-picker-levels.wxml b/dist/dev/mp-weixin/components/hs-radio-picker-levels/hs-radio-picker-levels.wxml new file mode 100644 index 0000000..d3f68b0 --- /dev/null +++ b/dist/dev/mp-weixin/components/hs-radio-picker-levels/hs-radio-picker-levels.wxml @@ -0,0 +1 @@ +{{a}} * {{e}}{{f}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/components/hs-radio-picker-levels/hs-radio-picker-levels.wxss b/dist/dev/mp-weixin/components/hs-radio-picker-levels/hs-radio-picker-levels.wxss new file mode 100644 index 0000000..7fe8574 --- /dev/null +++ b/dist/dev/mp-weixin/components/hs-radio-picker-levels/hs-radio-picker-levels.wxss @@ -0,0 +1,25 @@ +.picker_select_btn.data-v-c0acef32 { + display: flex; + align-items: center; + justify-content: space-between; + font-size: 28rpx; + color: #333; +} +.picker_select_btn .title.data-v-c0acef32 { + color: #333; + font-size: 30rpx; +} +.picker_select_btn .title text.data-v-c0acef32 { + color: #f00; +} +.picker_select_btn .right_value.data-v-c0acef32 { + flex: 1; + display: flex; + align-items: center; + justify-content: flex-end; + padding: 15rpx 0 15rpx 10rpx; + font-size: 28rpx; +} +.picker_select_btn .right_value .placeholder_style.data-v-c0acef32 { + color: #ccc; +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.js b/dist/dev/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.js deleted file mode 100644 index 8ecd488..0000000 --- a/dist/dev/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.js +++ /dev/null @@ -1,105 +0,0 @@ -"use strict"; -const common_vendor = require("../../common/vendor.js"); -const common_libraries_day = require("../../common/libraries/day.js"); -if (!Array) { - const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons"); - _easycom_uni_icons2(); -} -const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"; -if (!Math) { - _easycom_uni_icons(); -} -const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ - __name: "hs-reservation-picker", - props: [ - "Enums", - "title", - "pickerIndex", - "value", - "borderTop", - "required", - "valueExpectStartTime", - "valueExpectEndTime", - "icon", - "iconSize" - ], - emits: ["change", "update:valueExpectStartTime", "update:valueExpectEndTime"], - setup(__props, { emit }) { - const props = __props; - const borderStyle = "1rpx solid #eee"; - const placeholder = "请选择"; - const listData = common_vendor.ref([]); - const selectValue = common_vendor.ref(""); - const onChange = (e) => { - var _a; - let res = (_a = e == null ? void 0 : e.detail) == null ? void 0 : _a.value; - let label_str = listData.value[0][res[0]]; - let label_end = listData.value[1][res[1]]; - console.log(e, "e"); - let str_time = `${label_str == null ? void 0 : label_str.value} ${label_end == null ? void 0 : label_end.str}`; - let end_time = `${label_str == null ? void 0 : label_str.value} ${label_end == null ? void 0 : label_end.end}`; - selectValue.value = `${label_str == null ? void 0 : label_str.label}(${label_end == null ? void 0 : label_end.label})`; - emit("update:valueExpectStartTime", str_time); - emit("update:valueExpectEndTime", end_time); - emit("change", { - str_time, - end_time - }); - }; - const setDayList = () => { - let dayInfo = common_libraries_day.getCurrentHour(); - let day0 = common_libraries_day.getTheFutureDay(0); - let day1 = common_libraries_day.getTheFutureDay(1); - let day2 = common_libraries_day.getTheFutureDay(2); - let timeSlots = common_libraries_day.generateTimeSlots(); - listData.value = [ - [ - { label: "今天", value: day0 }, - { label: "明天", value: day1 }, - { label: "后天", value: day2 } - ], - timeSlots - ]; - console.log(dayInfo, "day1"); - }; - const onColumnchange = (e) => { - var _a, _b, _c, _d, _e; - if (((_a = e == null ? void 0 : e.detail) == null ? void 0 : _a.column) === 0) { - if ((_b = e == null ? void 0 : e.detail) == null ? void 0 : _b.value) { - let val = (_e = listData.value[(_c = e == null ? void 0 : e.detail) == null ? void 0 : _c.column][(_d = e == null ? void 0 : e.detail) == null ? void 0 : _d.value]) == null ? void 0 : _e.value; - let timeSlots = common_libraries_day.generateTimeSlots(val); - listData.value[1] = timeSlots; - console.log(timeSlots, "timeSlots"); - } else { - let timeSlots = common_libraries_day.generateTimeSlots(); - listData.value[1] = timeSlots; - console.log(timeSlots, "timeSlots"); - } - } - console.log(e, "e"); - }; - common_vendor.onMounted(() => { - setDayList(); - }); - return (_ctx, _cache) => { - return common_vendor.e({ - a: common_vendor.t((props == null ? void 0 : props.title) || "标题"), - b: __props.required - }, __props.required ? {} : {}, { - c: common_vendor.t(selectValue.value || placeholder), - d: common_vendor.p({ - type: "right", - size: "15", - color: "#999" - }), - e: common_vendor.n(selectValue.value ? "valueStyle" : "valueStyle placeholderStyle"), - f: props.borderTop ? borderStyle : "", - g: listData.value, - h: common_vendor.o(onChange), - i: common_vendor.o(onColumnchange) - }); - }; - } -}); -const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-1a4ad8b9"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/components/hs-reservation-picker/hs-reservation-picker.vue"]]); -wx.createComponent(Component); diff --git a/dist/dev/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.wxml b/dist/dev/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.wxml deleted file mode 100644 index 0e505fe..0000000 --- a/dist/dev/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.wxml +++ /dev/null @@ -1 +0,0 @@ -{{a}} * {{c}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.wxss b/dist/dev/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.wxss deleted file mode 100644 index f377963..0000000 --- a/dist/dev/mp-weixin/components/hs-reservation-picker/hs-reservation-picker.wxss +++ /dev/null @@ -1,20 +0,0 @@ -.cell_content.data-v-1a4ad8b9 { - padding: 16rpx 0; - display: flex; - align-items: center; - justify-content: space-between; -} -.cell_content .title.data-v-1a4ad8b9 { - color: #333333; - font-size: 29rpx; - padding: 25rpx 0; -} -.cell_content .title text.data-v-1a4ad8b9 { - color: #f00; -} -.cell_content .valueStyle.data-v-1a4ad8b9 { - font-size: 28rpx; -} -.cell_content .placeholderStyle.data-v-1a4ad8b9 { - color: #ccc; -} \ No newline at end of file diff --git a/dist/dev/mp-weixin/components/hs-upload-id-card/hs-upload-id-card.js b/dist/dev/mp-weixin/components/hs-upload-id-card/hs-upload-id-card.js index b2bd8c0..fe1f82a 100644 --- a/dist/dev/mp-weixin/components/hs-upload-id-card/hs-upload-id-card.js +++ b/dist/dev/mp-weixin/components/hs-upload-id-card/hs-upload-id-card.js @@ -50,7 +50,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ }, (props == null ? void 0 : props.required) ? {} : {}, { b: !((_a = frontImg.value) == null ? void 0 : _a.url) }, !((_b = frontImg.value) == null ? void 0 : _b.url) ? { - c: common_assets._imports_0$1 + c: common_assets._imports_0 } : { d: (_c = frontImg.value) == null ? void 0 : _c.url }, { diff --git a/dist/dev/mp-weixin/gen/Apis.js b/dist/dev/mp-weixin/gen/Apis.js index 84be634..0f0ea25 100644 --- a/dist/dev/mp-weixin/gen/Apis.js +++ b/dist/dev/mp-weixin/gen/Apis.js @@ -20,6 +20,9 @@ const Apis = { }, GetHouseOccupantsByPhone(data) { return common_libraries_request.request("employee/archive/house_occupants/get_house_occupants_by_phone", { data }); + }, + ChangeContact(data) { + return common_libraries_request.request("employee/archive/house_occupants/change_contact", { data }); } }, HouseRegisters: { @@ -45,12 +48,21 @@ const Apis = { SelectProject(data) { return common_libraries_request.request("employee/asset/asset_houses/select_project", { data }); }, + SelectPermissionProject(data) { + return common_libraries_request.request("employee/asset/asset_houses/select_permission_project", { data }); + }, SelectBuilding(data) { return common_libraries_request.request("employee/asset/asset_houses/select_building", { data }); }, + SelectPermissionBuilding(data) { + return common_libraries_request.request("employee/asset/asset_houses/select_permission_building", { data }); + }, SelectUnit(data) { return common_libraries_request.request("employee/asset/asset_houses/select_unit", { data }); }, + SelectPermissionUnit(data) { + return common_libraries_request.request("employee/asset/asset_houses/select_permission_unit", { data }); + }, SelectHouse(data) { return common_libraries_request.request("employee/asset/asset_houses/select_house", { data }); }, @@ -67,6 +79,44 @@ const Apis = { } } }, + Attendance: { + AttendanceEmployeeTracks: { + MyTracks(data) { + return common_libraries_request.request("employee/attendance/attendance_employee_tracks/my_tracks", { data }); + }, + Track(data) { + return common_libraries_request.request("employee/attendance/attendance_employee_tracks/track", { data }); + } + }, + AttendanceRecords: { + Checkin(data) { + return common_libraries_request.request("employee/attendance/attendance_records/checkin", { data }); + }, + Makeup(data) { + return common_libraries_request.request("employee/attendance/attendance_records/makeup", { data }); + }, + MyRecords(data) { + return common_libraries_request.request("employee/attendance/attendance_records/my_records", { data }); + }, + RecordDetail(data) { + return common_libraries_request.request("employee/attendance/attendance_records/record_detail", { data }); + } + }, + AttendanceSchedules: { + MySchedules(data) { + return common_libraries_request.request("employee/attendance/attendance_schedules/my_schedules", { data }); + }, + GetAttendanceSchedules() { + return common_libraries_request.request("employee/attendance/attendance_schedules/get_attendance_schedules", {}); + }, + GetAttendanceShiftPeriod(data) { + return common_libraries_request.request("employee/attendance/attendance_schedules/get_attendance_shift_period", { data }); + }, + GetAttendanceConfig() { + return common_libraries_request.request("employee/attendance/attendance_schedules/get_attendance_config", {}); + } + } + }, Banner: { BannerSpaces: { List(data) { @@ -213,6 +263,81 @@ const Apis = { } } }, + Emergency: { + EmergencyEventCategories: { + List(data) { + return common_libraries_request.request("employee/emergency/emergency_event_categories/list", { data }); + }, + TreeList(data) { + return common_libraries_request.request("employee/emergency/emergency_event_categories/tree_list", { data }); + }, + Show(data) { + return common_libraries_request.request("employee/emergency/emergency_event_categories/show", { data }); + }, + Select(data) { + return common_libraries_request.request("employee/emergency/emergency_event_categories/select", { data }); + }, + SelectTree(data) { + return common_libraries_request.request("employee/emergency/emergency_event_categories/select_tree", { data }); + } + }, + EmergencyEventFollows: { + List(data) { + return common_libraries_request.request("employee/emergency/emergency_event_follows/list", { data }); + }, + Store(data) { + return common_libraries_request.request("employee/emergency/emergency_event_follows/store", { data }); + }, + Show(data) { + return common_libraries_request.request("employee/emergency/emergency_event_follows/show", { data }); + } + }, + EmergencyEventLevels: { + List(data) { + return common_libraries_request.request("employee/emergency/emergency_event_levels/list", { data }); + }, + Show(data) { + return common_libraries_request.request("employee/emergency/emergency_event_levels/show", { data }); + }, + Select(data) { + return common_libraries_request.request("employee/emergency/emergency_event_levels/select", { data }); + } + }, + EmergencyEventTeams: { + List(data) { + return common_libraries_request.request("employee/emergency/emergency_event_teams/list", { data }); + }, + Show(data) { + return common_libraries_request.request("employee/emergency/emergency_event_teams/show", { data }); + }, + GetPermission(data) { + return common_libraries_request.request("employee/emergency/emergency_event_teams/get_permission", { data }); + }, + Select(data) { + return common_libraries_request.request("employee/emergency/emergency_event_teams/select", { data }); + } + }, + EmergencyEvents: { + List(data) { + return common_libraries_request.request("employee/emergency/emergency_events/list", { data }); + }, + Store(data) { + return common_libraries_request.request("employee/emergency/emergency_events/store", { data }); + }, + Update(data) { + return common_libraries_request.request("employee/emergency/emergency_events/update", { data }); + }, + Show(data) { + return common_libraries_request.request("employee/emergency/emergency_events/show", { data }); + }, + ApplyClose(data) { + return common_libraries_request.request("employee/emergency/emergency_events/apply_close", { data }); + }, + Select(data) { + return common_libraries_request.request("employee/emergency/emergency_events/select", { data }); + } + } + }, GoodsReleases: { GoodsReleases: { ScanRelease(data) { @@ -269,6 +394,9 @@ const Apis = { }, GetPayQrCode(data) { return common_libraries_request.request("employee/house_order/house_orders/get_pay_qr_code", { data }); + }, + AlipayQrCode(data) { + return common_libraries_request.request("employee/house_order/house_orders/alipay_qr_code", { data }); } } }, @@ -343,6 +471,41 @@ const Apis = { }, Show(data) { return common_libraries_request.request("employee/msg/msg_property_announcements/show", { data }); + }, + MarkAsRead(data) { + return common_libraries_request.request("employee/msg/msg_property_announcements/mark_as_read", { data }); + }, + CountMsg() { + return common_libraries_request.request("employee/msg/msg_property_announcements/count_msg", {}); + } + } + }, + Patrol: { + PatrolTaskLocations: { + GetPatrolTaskList(data) { + return common_libraries_request.request("employee/patrol/patrol_task_locations/get_patrol_task_list", { data }); + }, + Store(data) { + return common_libraries_request.request("employee/patrol/patrol_task_locations/store", { data }); + }, + GetPatrolTaskLocation(data) { + return common_libraries_request.request("employee/patrol/patrol_task_locations/get_patrol_task_location", { data }); + }, + Show(data) { + return common_libraries_request.request("employee/patrol/patrol_task_locations/show", { data }); + } + } + }, + Survey: { + Surveys: { + List() { + return common_libraries_request.request("employee/survey/surveys/list", {}); + }, + Questions(data) { + return common_libraries_request.request("employee/survey/surveys/questions", { data }); + }, + SubmitResponse(data) { + return common_libraries_request.request("employee/survey/surveys/submit_response", { data }); } } }, @@ -387,6 +550,9 @@ const Apis = { GetWorkOrderPayQrCode(data) { return common_libraries_request.request("employee/work_order/house_work_orders/get_work_order_pay_qr_code", { data }); }, + GetWorkOrderAlipayQrCode(data) { + return common_libraries_request.request("employee/work_order/house_work_orders/get_work_order_alipay_qr_code", { data }); + }, Accept(data) { return common_libraries_request.request("employee/work_order/house_work_orders/accept", { data }); }, diff --git a/dist/dev/mp-weixin/gen/Enums.js b/dist/dev/mp-weixin/gen/Enums.js index 1e1af5a..521ad3c 100644 --- a/dist/dev/mp-weixin/gen/Enums.js +++ b/dist/dev/mp-weixin/gen/Enums.js @@ -21,6 +21,13 @@ const AssetHousesUsageEnum = { "Clubhouse": { "text": "会所", "color": "#fd7e14", "value": "Clubhouse" }, "PropertyRoom": { "text": "物业用房", "color": "#dc3545", "value": "PropertyRoom" } }; +const AttendanceRecordsStatusEnum = { + "Normal": { "text": "正常", "color": "#52c41a", "value": "Normal" }, + "Late": { "text": "迟到", "color": "#faad14", "value": "Late" }, + "EarlyLeave": { "text": "早退", "color": "#fa8c16", "value": "EarlyLeave" }, + "OutOfRange": { "text": "范围外", "color": "#ff4d4f", "value": "OutOfRange" }, + "Reissue": { "text": "补卡", "color": "#1890ff", "value": "Reissue" } +}; const CompanyEmployeeBacklogsTypeEnum = { "WorkOrder": { "text": "工单", "color": "#FF6600", "value": "WorkOrder" }, "Contract": { "text": "合同", "color": "#2A82E4", "value": "Contract" }, @@ -37,6 +44,12 @@ const CustomerMomentsContentTypeEnum = { "MiniProgram": { "text": "跳小程序", "color": "#FFA500", "value": "MiniProgram" }, "Video": { "text": "视频消息", "color": "#FF69B4", "value": "Video" } }; +const EmergencyEventsStatusEnum = { + "PendingFollowUp": { "text": "待跟进", "color": "#ff9800", "value": "PendingFollowUp" }, + "InProgress": { "text": "跟进中", "color": "#2196f3", "value": "InProgress" }, + "PendingReview": { "text": "待审核", "color": "#9c27b0", "value": "PendingReview" }, + "Closed": { "text": "已关闭", "color": "#9e9e9e", "value": "Closed" } +}; const GoodsReleasesPassedTypeEnum = { "Moving": { "text": "搬家", "color": "#1890ff", "value": "Moving" }, "Delivery": { "text": "出货", "color": "#52c41a", "value": "Delivery" }, @@ -79,6 +92,12 @@ const HouseCollectionTasksStatusEnum = { "Completed": { "text": "已完成", "color": "#00cc00", "value": "Completed" }, "Failed": { "text": "失败", "color": "#ff0000", "value": "Failed" } }; +const HouseMetersUsageTypeEnum = { + "WaterMeter": { "text": "水表", "color": "#2196f3", "value": "WaterMeter" }, + "ElectricMeter": { "text": "电表", "color": "#ff9800", "value": "ElectricMeter" }, + "GasMeter": { "text": "燃气表", "color": "#f44336", "value": "GasMeter" }, + "HeatingMeter": { "text": "暖气表", "color": "#9c27b0", "value": "HeatingMeter" } +}; const HouseOccupantsHouseRelationEnum = { "Owner": { "text": "产权人", "color": "#2db7f5", "value": "Owner" }, "NonOwner": { "text": "非产权人", "color": "#fa8c16", "value": "NonOwner" } @@ -115,7 +134,11 @@ const HouseWorkOrdersStatusEnum = { const HouseWorkOrdersTypeEnum = { "Repair": { "text": "报修", "color": "#ff0000", "value": "Repair" }, "Incident": { "text": "报事", "color": "#00aaff", "value": "Incident" }, - "Complaint": { "text": "投诉", "color": "#aa00ff", "value": "Complaint" } + "Complaint": { "text": "投诉", "color": "#aa00ff", "value": "Complaint" }, + "QualityCheck": { "text": "品质检查", "color": "#16a085", "value": "QualityCheck" }, + "RenovationInspection": { "text": "装修巡检", "color": "#8e44ad", "value": "RenovationInspection" }, + "RenovationAcceptance": { "text": "装修验收", "color": "#2980b9", "value": "RenovationAcceptance" }, + "SecurityInspection": { "text": "安全巡检", "color": "#e67e22", "value": "SecurityInspection" } }; const VisitorAppliesStatusEnum = { "Pending": { "text": "审核中", "color": "#ff9800", "value": "Pending" }, @@ -125,15 +148,18 @@ const VisitorAppliesStatusEnum = { }; exports.AssetHousesOrientationEnum = AssetHousesOrientationEnum; exports.AssetHousesUsageEnum = AssetHousesUsageEnum; +exports.AttendanceRecordsStatusEnum = AttendanceRecordsStatusEnum; exports.CompanyEmployeeBacklogsTypeEnum = CompanyEmployeeBacklogsTypeEnum; exports.CustomerMomentsChannelEnum = CustomerMomentsChannelEnum; exports.CustomerMomentsContentTypeEnum = CustomerMomentsContentTypeEnum; +exports.EmergencyEventsStatusEnum = EmergencyEventsStatusEnum; exports.GoodsReleasesPassedTypeEnum = GoodsReleasesPassedTypeEnum; exports.GoodsReleasesStatusEnum = GoodsReleasesStatusEnum; exports.HouseBillsTypeEnum = HouseBillsTypeEnum; exports.HouseCollectionRecordsCollectionResultEnum = HouseCollectionRecordsCollectionResultEnum; exports.HouseCollectionTasksChannelEnum = HouseCollectionTasksChannelEnum; exports.HouseCollectionTasksStatusEnum = HouseCollectionTasksStatusEnum; +exports.HouseMetersUsageTypeEnum = HouseMetersUsageTypeEnum; exports.HouseOccupantsHouseRelationEnum = HouseOccupantsHouseRelationEnum; exports.HouseOccupantsResidentialRelationEnum = HouseOccupantsResidentialRelationEnum; exports.HouseRegistersHouseStatusEnum = HouseRegistersHouseStatusEnum; diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.js b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.js index 323bd4d..b6e108d 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.js +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.js @@ -77,14 +77,14 @@ const _sfc_main = { } }; if (!Array) { - const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon"); + const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon"); const _easycom_up_text2 = common_vendor.resolveComponent("up-text"); - (_easycom_u_icon2 + _easycom_up_text2)(); + (_easycom_up_icon2 + _easycom_up_text2)(); } -const _easycom_u_icon = () => "../u-icon/u-icon.js"; +const _easycom_up_icon = () => "../u-icon/u-icon.js"; const _easycom_up_text = () => "../u-text/u-text.js"; if (!Math) { - (_easycom_u_icon + _easycom_up_text)(); + (_easycom_up_icon + _easycom_up_text)(); } function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return common_vendor.e({ diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.json b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.json index 3185d42..be56d89 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.json +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.json @@ -1,7 +1,7 @@ { "component": true, "usingComponents": { - "u-icon": "../u-icon/u-icon", + "up-icon": "../u-icon/u-icon", "up-text": "../u-text/u-text" } } \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.wxml b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.wxml index 1340ba8..9e5d257 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.wxml +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.wxml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.wxss b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.wxss index 45299b1..c5868d1 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.wxss +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-avatar/u-avatar.wxss @@ -23,34 +23,8 @@ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ -.u-empty.data-v-14a988f2, -.u-empty__wrap.data-v-14a988f2, -.u-tabs.data-v-14a988f2, -.u-tabs__wrapper.data-v-14a988f2, -.u-tabs__wrapper__scroll-view-wrapper.data-v-14a988f2, -.u-tabs__wrapper__scroll-view.data-v-14a988f2, -.u-tabs__wrapper__nav.data-v-14a988f2, -.u-tabs__wrapper__nav__line.data-v-14a988f2, -.up-empty.data-v-14a988f2, -.up-empty__wrap.data-v-14a988f2, -.up-tabs.data-v-14a988f2, -.up-tabs__wrapper.data-v-14a988f2, -.up-tabs__wrapper__scroll-view-wrapper.data-v-14a988f2, -.up-tabs__wrapper__scroll-view.data-v-14a988f2, -.up-tabs__wrapper__nav.data-v-14a988f2, -.up-tabs__wrapper__nav__line.data-v-14a988f2 { - display: flex; - flex-direction: column; - flex-shrink: 0; - flex-grow: 0; - flex-basis: auto; - align-items: stretch; - align-content: flex-start; -} .u-avatar.data-v-14a988f2 { - display: flex; - flex-direction: row; align-items: center; justify-content: center; diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-badge/u-badge.js b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-badge/u-badge.js index 016f5fa..f885d2f 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-badge/u-badge.js +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-badge/u-badge.js @@ -2,7 +2,7 @@ const common_vendor = require("../../../../common/vendor.js"); const _sfc_main = { name: "u-badge", - mixins: [common_vendor.mpMixin, common_vendor.props$11, common_vendor.mixin], + mixins: [common_vendor.mpMixin, common_vendor.props$12, common_vendor.mixin], computed: { // 是否将badge中心与父组件右上角重合 boxStyle() { diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-badge/u-badge.wxss b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-badge/u-badge.wxss index c52890a..db95448 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-badge/u-badge.wxss +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-badge/u-badge.wxss @@ -23,38 +23,12 @@ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ -.u-empty.data-v-aa9883b1, -.u-empty__wrap.data-v-aa9883b1, -.u-tabs.data-v-aa9883b1, -.u-tabs__wrapper.data-v-aa9883b1, -.u-tabs__wrapper__scroll-view-wrapper.data-v-aa9883b1, -.u-tabs__wrapper__scroll-view.data-v-aa9883b1, -.u-tabs__wrapper__nav.data-v-aa9883b1, -.u-tabs__wrapper__nav__line.data-v-aa9883b1, -.up-empty.data-v-aa9883b1, -.up-empty__wrap.data-v-aa9883b1, -.up-tabs.data-v-aa9883b1, -.up-tabs__wrapper.data-v-aa9883b1, -.up-tabs__wrapper__scroll-view-wrapper.data-v-aa9883b1, -.up-tabs__wrapper__scroll-view.data-v-aa9883b1, -.up-tabs__wrapper__nav.data-v-aa9883b1, -.up-tabs__wrapper__nav__line.data-v-aa9883b1 { - display: flex; - flex-direction: column; - flex-shrink: 0; - flex-grow: 0; - flex-basis: auto; - align-items: stretch; - align-content: flex-start; -} .u-badge.data-v-aa9883b1 { border-top-right-radius: 100px; border-top-left-radius: 100px; border-bottom-left-radius: 100px; border-bottom-right-radius: 100px; - display: flex; - flex-direction: row; line-height: 11px; text-align: center; diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-button/u-button.js b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-button/u-button.js index fec6fb0..78c20c7 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-button/u-button.js +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-button/u-button.js @@ -2,7 +2,7 @@ const common_vendor = require("../../../../common/vendor.js"); const _sfc_main = { name: "u-button", - mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.buttonMixin, common_vendor.openType, common_vendor.props$12], + mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.buttonMixin, common_vendor.openType, common_vendor.props$13], data() { return {}; }, @@ -132,13 +132,13 @@ const _sfc_main = { }; if (!Array) { const _easycom_u_loading_icon2 = common_vendor.resolveComponent("u-loading-icon"); - const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon"); - (_easycom_u_loading_icon2 + _easycom_u_icon2)(); + const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon"); + (_easycom_u_loading_icon2 + _easycom_up_icon2)(); } const _easycom_u_loading_icon = () => "../u-loading-icon/u-loading-icon.js"; -const _easycom_u_icon = () => "../u-icon/u-icon.js"; +const _easycom_up_icon = () => "../u-icon/u-icon.js"; if (!Math) { - (_easycom_u_loading_icon + _easycom_u_icon)(); + (_easycom_u_loading_icon + _easycom_up_icon)(); } function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return common_vendor.e({ diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-button/u-button.json b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-button/u-button.json index 9d49dfb..7a7b1c9 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-button/u-button.json +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-button/u-button.json @@ -2,6 +2,6 @@ "component": true, "usingComponents": { "u-loading-icon": "../u-loading-icon/u-loading-icon", - "u-icon": "../u-icon/u-icon" + "up-icon": "../u-icon/u-icon" } } \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-button/u-button.wxml b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-button/u-button.wxml index fc2a9b8..038a7ae 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-button/u-button.wxml +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-button/u-button.wxml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-button/u-button.wxss b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-button/u-button.wxss index 78efea1..085ec9e 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-button/u-button.wxss +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-button/u-button.wxss @@ -23,30 +23,6 @@ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ -.u-empty.data-v-461e713c, -.u-empty__wrap.data-v-461e713c, -.u-tabs.data-v-461e713c, -.u-tabs__wrapper.data-v-461e713c, -.u-tabs__wrapper__scroll-view-wrapper.data-v-461e713c, -.u-tabs__wrapper__scroll-view.data-v-461e713c, -.u-tabs__wrapper__nav.data-v-461e713c, -.u-tabs__wrapper__nav__line.data-v-461e713c, -.up-empty.data-v-461e713c, -.up-empty__wrap.data-v-461e713c, -.up-tabs.data-v-461e713c, -.up-tabs__wrapper.data-v-461e713c, -.up-tabs__wrapper__scroll-view-wrapper.data-v-461e713c, -.up-tabs__wrapper__scroll-view.data-v-461e713c, -.up-tabs__wrapper__nav.data-v-461e713c, -.up-tabs__wrapper__nav__line.data-v-461e713c { - display: flex; - flex-direction: column; - flex-shrink: 0; - flex-grow: 0; - flex-basis: auto; - align-items: stretch; - align-content: flex-start; -} .u-button.data-v-461e713c { width: 100%; white-space: nowrap; @@ -95,9 +71,7 @@ position: relative; align-items: center; justify-content: center; - display: flex; - flex-direction: row; box-sizing: border-box; flex-direction: row; @@ -169,9 +143,7 @@ border-style: solid; } .u-button--block.data-v-461e713c { - display: flex; - flex-direction: row; width: 100%; } diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.js b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.js new file mode 100644 index 0000000..c6dfa51 --- /dev/null +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.js @@ -0,0 +1,331 @@ +"use strict"; +const common_vendor = require("../../../../common/vendor.js"); +const _sfc_main = { + name: "up-cascader", + props: { + // 通过双向绑定控制组件的弹出与收起 + show: { + type: Boolean, + default: false + }, + // 级联数据 + data: { + type: Array, + default() { + return []; + } + }, + // 默认选中的值 + modelValue: { + type: Array, + default() { + return []; + } + }, + // 指定选项的值为选项对象中的哪个属性值 + valueKey: { + type: String, + default: "value" + }, + // 指定选项标签为选项对象中的哪个属性值 + labelKey: { + type: String, + default: "label" + }, + // 指定选项的子选项为选项对象中的哪个属性值 + childrenKey: { + type: String, + default: "children" + }, + // 是否允许通过点击遮罩关闭Picker + maskCloseAble: { + type: Boolean, + default: true + }, + // 弹出的z-index值 + zIndex: { + type: [String, Number], + default: 0 + }, + // 是否在选择最后一级时自动关闭并触发confirm + autoClose: { + type: Boolean, + default: false + }, + // 选中项目的展示方向direction垂直方向适合文字长度过长 + headerDirection: { + type: String, + default: "row" + }, + // 选项区域列数,支持1列和2列,默认为2列 + optionsCols: { + type: [Number], + default: 2 + }, + // 是否显示关闭图标 + closeable: { + type: Boolean, + default: true + } + }, + data() { + return { + // 存储每一级的数据 + levelList: [], + // 存储每一级选中的索引 + selectedValueIndexs: [], + tabsIndex: 0, + popupShow: false, + // 新增confirmValues用于存储确认的值 + confirmValues: [] + }; + }, + watch: { + data: { + handler() { + this.initLevelList(); + this.setDefaultValue(); + }, + immediate: true + }, + show() { + this.popupShow = this.show; + }, + modelValue: { + handler() { + this.setDefaultValue(); + }, + immediate: true + } + }, + computed: { + isChange() { + return this.tabsIndex > 1; + }, + genTabsList() { + let tabsList = [{ + name: "请选择" + }]; + for (let i = 0; i < this.selectedValueIndexs.length; i++) { + if (this.selectedValueIndexs[i] !== void 0 && this.levelList[i]) { + const selectedItem = this.levelList[i][this.selectedValueIndexs[i]]; + if (selectedItem) { + tabsList[i] = { + name: selectedItem[this.labelKey] + }; + if (i === this.selectedValueIndexs.length - 1 && selectedItem[this.childrenKey] && selectedItem[this.childrenKey].length > 0) { + tabsList.push({ + name: "请选择" + }); + } + } + } + } + return tabsList; + }, + uZIndex() { + return this.zIndex ? this.zIndex : this.$u.zIndex.popup; + } + }, + // 新增confirm事件 + emits: ["update:modelValue", "update:show", "change", "confirm", "cancel"], + methods: { + t: common_vendor.t$1, + initLevelList() { + if (this.data && this.data.length > 0) { + this.levelList = [this.data]; + this.selectedValueIndexs = []; + } + }, + setDefaultValue() { + if (!this.data || this.data.length == 0) + return; + if (!this.modelValue || this.modelValue.length == 0) + return; + this.selectedValueIndexs = []; + this.levelList = []; + let currentLevelData = this.data; + for (let i = 0; i < this.modelValue.length; i++) { + const value = this.modelValue[i]; + const index = currentLevelData.findIndex((item) => item[this.valueKey] === value); + this.levelList[i] = currentLevelData; + if (index !== -1) { + this.selectedValueIndexs.push(index); + if (currentLevelData[index][this.childrenKey]) { + currentLevelData = currentLevelData[index][this.childrenKey]; + } else { + break; + } + } else { + break; + } + } + }, + close() { + this.$emit("cancel"); + this.$emit("update:show", false); + }, + tabsChange(item) { + }, + levelChange(levelIndex, index) { + this.$set(this.selectedValueIndexs, levelIndex, index); + this.selectedValueIndexs.splice(levelIndex + 1); + this.tabsIndex = Math.min(this.tabsIndex, levelIndex); + this.levelList.splice(levelIndex + 1); + const currentItem = this.levelList[levelIndex][index]; + if (currentItem && currentItem[this.childrenKey] && currentItem[this.childrenKey].length > 0) { + if (this.levelList.length <= levelIndex + 1) { + this.levelList.push(currentItem[this.childrenKey]); + } else { + this.$set(this.levelList, levelIndex + 1, currentItem[this.childrenKey]); + } + this.tabsIndex = levelIndex + 1; + } else { + if (this.autoClose) { + this.emitChange(); + this.handleConfirm(); + } else { + this.emitChange(false); + } + } + }, + // 修改emitChange方法,增加closePopup参数 + emitChange(closePopup = true) { + const result = []; + for (let i = 0; i < this.selectedValueIndexs.length; i++) { + if (this.selectedValueIndexs[i] !== void 0 && this.levelList[i]) { + result.push(this.levelList[i][this.selectedValueIndexs[i]][this.valueKey]); + } + } + this.confirmValues = [...result]; + this.$emit("change", this.confirmValues); + if (closePopup) { + this.close(); + } + }, + handleCancel() { + this.close(); + }, + handleConfirm() { + this.$emit("update:modelValue", this.confirmValues); + this.$emit("confirm", this.confirmValues); + this.close(); + } + } +}; +if (!Array) { + const _easycom_up_steps_item2 = common_vendor.resolveComponent("up-steps-item"); + const _easycom_up_steps2 = common_vendor.resolveComponent("up-steps"); + const _easycom_up_tabs2 = common_vendor.resolveComponent("up-tabs"); + const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon"); + const _easycom_up_cell2 = common_vendor.resolveComponent("up-cell"); + const _easycom_up_cell_group2 = common_vendor.resolveComponent("up-cell-group"); + const _easycom_up_button2 = common_vendor.resolveComponent("up-button"); + const _easycom_up_popup2 = common_vendor.resolveComponent("up-popup"); + (_easycom_up_steps_item2 + _easycom_up_steps2 + _easycom_up_tabs2 + _easycom_up_icon2 + _easycom_up_cell2 + _easycom_up_cell_group2 + _easycom_up_button2 + _easycom_up_popup2)(); +} +const _easycom_up_steps_item = () => "../u-steps-item/u-steps-item.js"; +const _easycom_up_steps = () => "../u-steps/u-steps.js"; +const _easycom_up_tabs = () => "../u-tabs/u-tabs.js"; +const _easycom_up_icon = () => "../u-icon/u-icon.js"; +const _easycom_up_cell = () => "../u-cell/u-cell.js"; +const _easycom_up_cell_group = () => "../u-cell-group/u-cell-group.js"; +const _easycom_up_button = () => "../u-button/u-button.js"; +const _easycom_up_popup = () => "../u-popup/u-popup.js"; +if (!Math) { + (_easycom_up_steps_item + _easycom_up_steps + _easycom_up_tabs + _easycom_up_icon + _easycom_up_cell + _easycom_up_cell_group + _easycom_up_button + _easycom_up_popup)(); +} +function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { + return common_vendor.e({ + a: $props.headerDirection == "column" + }, $props.headerDirection == "column" ? common_vendor.e({ + b: $data.popupShow + }, $data.popupShow ? { + c: common_vendor.f($options.genTabsList, (item, index, i0) => { + return { + a: common_vendor.o(($event) => $data.tabsIndex = index), + b: "2b4d73a7-2-" + i0 + ",2b4d73a7-1", + c: common_vendor.p({ + title: item.name + }) + }; + }), + d: common_vendor.o(($event) => $data.tabsIndex = $event), + e: common_vendor.p({ + dot: true, + direction: "column", + current: $data.tabsIndex + }) + } : {}) : common_vendor.e({ + f: $data.popupShow + }, $data.popupShow ? { + g: common_vendor.sr("tabs", "2b4d73a7-3,2b4d73a7-0"), + h: common_vendor.o($options.tabsChange), + i: common_vendor.o(($event) => $data.tabsIndex = $event), + j: common_vendor.p({ + list: $options.genTabsList, + scrollable: true, + current: $data.tabsIndex + }) + } : {}), { + k: common_vendor.f($data.levelList, (levelData, levelIndex, i0) => { + return common_vendor.e({ + a: $props.optionsCols == 2 || levelIndex == $data.tabsIndex + }, $props.optionsCols == 2 || levelIndex == $data.tabsIndex ? common_vendor.e({ + b: levelIndex === 0 || $data.selectedValueIndexs[levelIndex - 1] !== void 0 + }, levelIndex === 0 || $data.selectedValueIndexs[levelIndex - 1] !== void 0 ? { + c: common_vendor.f(levelData, (item, index, i1) => { + return common_vendor.e({ + a: $data.selectedValueIndexs[levelIndex] === index + }, $data.selectedValueIndexs[levelIndex] === index ? { + b: "2b4d73a7-6-" + i0 + "-" + i1 + "," + ("2b4d73a7-5-" + i0 + "-" + i1), + c: common_vendor.p({ + size: "17", + name: "checkbox-mark" + }) + } : {}, { + d: index, + e: common_vendor.o(($event) => $options.levelChange(levelIndex, index), index), + f: "2b4d73a7-5-" + i0 + "-" + i1 + "," + ("2b4d73a7-4-" + i0), + g: common_vendor.p({ + title: item[$props.labelKey], + arrow: false, + index + }) + }); + }), + d: "2b4d73a7-4-" + i0 + ",2b4d73a7-0" + } : {}, { + e: $props.optionsCols == 2 ? "33.33333%" : "750rpx" + }) : {}, { + f: levelIndex + }); + }), + l: $options.isChange ? 1 : "", + m: $props.optionsCols == 2 && $options.isChange ? "translateX(-33.3333333%)" : "", + n: common_vendor.t($options.t("up.common.cancel")), + o: common_vendor.o($options.handleCancel), + p: common_vendor.p({ + type: "default" + }), + q: common_vendor.t($options.t("up.common.confirm")), + r: common_vendor.o($options.handleConfirm), + s: common_vendor.p({ + type: "primary" + }), + t: common_vendor.o($options.close), + v: common_vendor.p({ + show: $data.popupShow, + mode: "bottom", + popup: false, + mask: true, + closeable: $props.closeable, + ["safe-area-inset-bottom"]: true, + ["close-icon-color"]: "#ffffff", + ["z-index"]: $options.uZIndex, + maskCloseAble: $props.maskCloseAble + }) + }); +} +const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/node_modules/uview-plus/components/u-cascader/u-cascader.vue"]]); +wx.createComponent(Component); diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.json b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.json new file mode 100644 index 0000000..a69aa76 --- /dev/null +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.json @@ -0,0 +1,13 @@ +{ + "component": true, + "usingComponents": { + "up-steps-item": "../u-steps-item/u-steps-item", + "up-steps": "../u-steps/u-steps", + "up-tabs": "../u-tabs/u-tabs", + "up-icon": "../u-icon/u-icon", + "up-cell": "../u-cell/u-cell", + "up-cell-group": "../u-cell-group/u-cell-group", + "up-button": "../u-button/u-button", + "up-popup": "../u-popup/u-popup" + } +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.wxml b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.wxml new file mode 100644 index 0000000..560ac27 --- /dev/null +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.wxml @@ -0,0 +1 @@ +{{n}}{{q}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.wxss b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.wxss new file mode 100644 index 0000000..413d399 --- /dev/null +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cascader/u-cascader.wxss @@ -0,0 +1,41 @@ +/** + * 这里是uni-app内置的常用样式变量 + * + * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 + * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App + * + */ +/** + * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 + * + * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 + */ +/* 颜色变量 */ +/* 行为相关颜色 */ +/* 文字基本颜色 */ +/* 背景颜色 */ +/* 边框颜色 */ +/* 尺寸变量 */ +/* 文字尺寸 */ +/* 图片尺寸 */ +/* Border Radius */ +/* 水平间距 */ +/* 垂直间距 */ +/* 透明度 */ +/* 文章场景相关 */ +.area-box { + width: 100%; + overflow: hidden; + height: 800rpx; +} +.area-box > view { + width: 150%; + transition: transform 0.3s ease-in-out 0s; + transform: translateX(0); +} +.area-box .area-item { + height: 800rpx; +} +.u-cascader-action { + border-top: 1px solid #eee; +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.js b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.js new file mode 100644 index 0000000..c731961 --- /dev/null +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.js @@ -0,0 +1,31 @@ +"use strict"; +const common_vendor = require("../../../../common/vendor.js"); +const _sfc_main = { + name: "u-cell-group", + mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$20], + methods: { + addStyle: common_vendor.addStyle + } +}; +if (!Array) { + const _easycom_u_line2 = common_vendor.resolveComponent("u-line"); + _easycom_u_line2(); +} +const _easycom_u_line = () => "../u-line/u-line.js"; +if (!Math) { + _easycom_u_line(); +} +function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { + return common_vendor.e({ + a: _ctx.title + }, _ctx.title ? { + b: common_vendor.t(_ctx.title) + } : {}, { + c: _ctx.border + }, _ctx.border ? {} : {}, { + d: common_vendor.s($options.addStyle(_ctx.customStyle)), + e: common_vendor.n(_ctx.customClass) + }); +} +const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-30c8e4c7"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/node_modules/uview-plus/components/u-cell-group/u-cell-group.vue"]]); +wx.createComponent(Component); diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.json b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.json new file mode 100644 index 0000000..55b89cc --- /dev/null +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.json @@ -0,0 +1,6 @@ +{ + "component": true, + "usingComponents": { + "u-line": "../u-line/u-line" + } +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.wxml b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.wxml new file mode 100644 index 0000000..2d0ec63 --- /dev/null +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.wxml @@ -0,0 +1 @@ +{{b}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.wxss b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.wxss new file mode 100644 index 0000000..494f75a --- /dev/null +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell-group/u-cell-group.wxss @@ -0,0 +1,39 @@ +/** + * 这里是uni-app内置的常用样式变量 + * + * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 + * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App + * + */ +/** + * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 + * + * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 + */ +/* 颜色变量 */ +/* 行为相关颜色 */ +/* 文字基本颜色 */ +/* 背景颜色 */ +/* 边框颜色 */ +/* 尺寸变量 */ +/* 文字尺寸 */ +/* 图片尺寸 */ +/* Border Radius */ +/* 水平间距 */ +/* 垂直间距 */ +/* 透明度 */ +/* 文章场景相关 */ +.u-cell-group.data-v-30c8e4c7 { + flex: 1; +} +.u-cell-group__title.data-v-30c8e4c7 { + padding: 16px 16px 8px; +} +.u-cell-group__title__text.data-v-30c8e4c7 { + font-size: 15px; + line-height: 16px; + color: #303133; +} +.u-cell-group__wrapper.data-v-30c8e4c7 { + position: relative; +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.js b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.js new file mode 100644 index 0000000..b2046ec --- /dev/null +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.js @@ -0,0 +1,100 @@ +"use strict"; +const common_vendor = require("../../../../common/vendor.js"); +const _sfc_main = { + name: "u-cell", + data() { + return {}; + }, + mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$19], + computed: { + titleTextStyle() { + return common_vendor.addStyle(this.titleStyle); + } + }, + emits: ["click"], + methods: { + addStyle: common_vendor.addStyle, + testEmpty: common_vendor.test.empty, + // 点击cell + clickHandler(e) { + if (this.disabled) + return; + this.$emit("click", { + name: this.name + }); + this.openPage(); + this.stop && this.preventEvent(e); + } + } +}; +if (!Array) { + const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon"); + const _easycom_u_line2 = common_vendor.resolveComponent("u-line"); + (_easycom_up_icon2 + _easycom_u_line2)(); +} +const _easycom_up_icon = () => "../u-icon/u-icon.js"; +const _easycom_u_line = () => "../u-line/u-line.js"; +if (!Math) { + (_easycom_up_icon + _easycom_u_line)(); +} +function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { + return common_vendor.e({ + a: _ctx.$slots.icon || _ctx.icon + }, _ctx.$slots.icon || _ctx.icon ? common_vendor.e({ + b: _ctx.$slots.icon + }, _ctx.$slots.icon ? {} : { + c: common_vendor.p({ + name: _ctx.icon, + ["custom-style"]: _ctx.iconStyle, + size: _ctx.size === "large" ? 22 : 18 + }) + }) : {}, { + d: _ctx.$slots.title || !_ctx.title + }, _ctx.$slots.title || !_ctx.title ? {} : { + e: common_vendor.t(_ctx.title), + f: common_vendor.s($options.titleTextStyle), + g: common_vendor.n(_ctx.required && "u-cell--required"), + h: common_vendor.n(_ctx.disabled && "u-cell--disabled"), + i: common_vendor.n(_ctx.size === "large" && "u-cell__title-text--large") + }, { + j: _ctx.label + }, _ctx.label ? { + k: common_vendor.t(_ctx.label), + l: common_vendor.n(_ctx.disabled && "u-cell--disabled"), + m: common_vendor.n(_ctx.size === "large" && "u-cell__label--large") + } : {}, { + n: !$options.testEmpty(_ctx.value) + }, !$options.testEmpty(_ctx.value) ? { + o: common_vendor.t(_ctx.value), + p: common_vendor.n(_ctx.disabled && "u-cell--disabled"), + q: common_vendor.n(_ctx.size === "large" && "u-cell__value--large") + } : {}, { + r: _ctx.$slots["right-icon"] || _ctx.isLink + }, _ctx.$slots["right-icon"] || _ctx.isLink ? common_vendor.e({ + s: _ctx.rightIcon && !_ctx.$slots["right-icon"] + }, _ctx.rightIcon && !_ctx.$slots["right-icon"] ? { + t: common_vendor.p({ + name: _ctx.rightIcon, + ["custom-style"]: _ctx.rightIconStyle, + color: _ctx.disabled ? "#c8c9cc" : "info", + size: _ctx.size === "large" ? 18 : 16 + }) + } : {}, { + v: common_vendor.n(`u-cell__right-icon-wrap--${_ctx.arrowDirection}`) + }) : {}, { + w: _ctx.$slots["righticon"] + }, _ctx.$slots["righticon"] ? { + x: common_vendor.n(`u-cell__right-icon-wrap--${_ctx.arrowDirection}`) + } : {}, { + y: common_vendor.n(_ctx.center && "u-cell--center"), + z: common_vendor.n(_ctx.size === "large" && "u-cell__body--large"), + A: _ctx.border + }, _ctx.border ? {} : {}, { + B: common_vendor.n(_ctx.customClass), + C: common_vendor.s($options.addStyle(_ctx.customStyle)), + D: !_ctx.disabled && (_ctx.clickable || _ctx.isLink) ? "u-cell--clickable" : "", + E: common_vendor.o((...args) => $options.clickHandler && $options.clickHandler(...args)) + }); +} +const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-b4243719"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/node_modules/uview-plus/components/u-cell/u-cell.vue"]]); +wx.createComponent(Component); diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.json b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.json new file mode 100644 index 0000000..0d0f007 --- /dev/null +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.json @@ -0,0 +1,7 @@ +{ + "component": true, + "usingComponents": { + "up-icon": "../u-icon/u-icon", + "u-line": "../u-line/u-line" + } +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.wxml b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.wxml new file mode 100644 index 0000000..050e521 --- /dev/null +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.wxml @@ -0,0 +1 @@ +{{e}}{{k}}{{o}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.wxss b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.wxss new file mode 100644 index 0000000..ac46418 --- /dev/null +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-cell/u-cell.wxss @@ -0,0 +1,119 @@ +/** + * 这里是uni-app内置的常用样式变量 + * + * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 + * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App + * + */ +/** + * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 + * + * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 + */ +/* 颜色变量 */ +/* 行为相关颜色 */ +/* 文字基本颜色 */ +/* 背景颜色 */ +/* 边框颜色 */ +/* 尺寸变量 */ +/* 文字尺寸 */ +/* 图片尺寸 */ +/* Border Radius */ +/* 水平间距 */ +/* 垂直间距 */ +/* 透明度 */ +/* 文章场景相关 */ +.u-cell__body.data-v-b4243719 { + display: flex; + flex-direction: row; + box-sizing: border-box; + padding: 13px 15px; + font-size: 15px; + color: #303133; + align-items: center; +} +.u-cell__body__content.data-v-b4243719 { + display: flex; + flex-direction: row; + align-items: center; + flex: 1; +} +.u-cell__body--large.data-v-b4243719 { + padding-top: 13px; + padding-bottom: 13px; +} +.u-cell__left-icon-wrap.data-v-b4243719, .u-cell__right-icon-wrap.data-v-b4243719 { + display: flex; + flex-direction: row; + align-items: center; + font-size: 16px; +} +.u-cell__left-icon-wrap.data-v-b4243719 { + margin-right: 4px; +} +.u-cell__right-icon-wrap.data-v-b4243719 { + margin-left: 4px; + transition: transform 0.3s; +} +.u-cell__right-icon-wrap--up.data-v-b4243719 { + transform: rotate(-90deg); +} +.u-cell__right-icon-wrap--down.data-v-b4243719 { + transform: rotate(90deg); +} +.u-cell__title.data-v-b4243719 { + flex: 1; + display: flex; + flex-direction: column; +} +.u-cell__title-text.data-v-b4243719 { + font-size: 15px; + line-height: 22px; + color: #303133; +} +.u-cell__title-text--large.data-v-b4243719 { + font-size: 16px; +} +.u-cell__label.data-v-b4243719 { + margin-top: 5px; + font-size: 12px; + color: #909193; + line-height: 18px; +} +.u-cell__label--large.data-v-b4243719 { + font-size: 14px; +} +.u-cell__value.data-v-b4243719 { + text-align: right; + margin-left: auto; + font-size: 14px; + line-height: 24px; + color: #606266; +} +.u-cell__value--large.data-v-b4243719 { + font-size: 15px; +} +.u-cell--required.data-v-b4243719 { + overflow: visible; + display: flex; + flex-direction: row; + align-items: center; +} +.u-cell--required.data-v-b4243719:before { + position: absolute; + content: "*"; + left: -8px; + margin-top: 4rpx; + font-size: 14px; + color: #f56c6c; +} +.u-cell--clickable.data-v-b4243719 { + background-color: #f3f4f6; +} +.u-cell--disabled.data-v-b4243719 { + color: #c8c9cc; + cursor: not-allowed; +} +.u-cell--center.data-v-b4243719 { + align-items: center; +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.js b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.js index aa29b9d..da8b43f 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.js +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.js @@ -2,7 +2,7 @@ const common_vendor = require("../../../../common/vendor.js"); const _sfc_main = { name: "u-checkbox-group", - mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$8], + mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$9], computed: { // 这里computed的变量,都是子组件u-checkbox需要用到的,由于头条小程序的兼容性差异,子组件无法实时监听父组件参数的变化 // 所以需要手动通知子组件,这里返回一个parentData变量,供watch监听,在其中去通知每一个子组件重新从父组件(u-checkbox-group) @@ -54,8 +54,12 @@ const _sfc_main = { values.push(child.name); } }); - this.$emit("change", values); this.$emit("update:modelValue", values); + this.$emit("change", values, { + isChecked: childInstance.$data["isChecked"], + name: childInstance.$props["name"] + // 当前变动的checkbox的name值 + }); } } }; diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.wxss b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.wxss index 61b9287..fce28cc 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.wxss +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox-group/u-checkbox-group.wxss @@ -23,37 +23,11 @@ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ -.u-empty.data-v-504cd728, -.u-empty__wrap.data-v-504cd728, -.u-tabs.data-v-504cd728, -.u-tabs__wrapper.data-v-504cd728, -.u-tabs__wrapper__scroll-view-wrapper.data-v-504cd728, -.u-tabs__wrapper__scroll-view.data-v-504cd728, -.u-tabs__wrapper__nav.data-v-504cd728, -.u-tabs__wrapper__nav__line.data-v-504cd728, -.up-empty.data-v-504cd728, -.up-empty__wrap.data-v-504cd728, -.up-tabs.data-v-504cd728, -.up-tabs__wrapper.data-v-504cd728, -.up-tabs__wrapper__scroll-view-wrapper.data-v-504cd728, -.up-tabs__wrapper__scroll-view.data-v-504cd728, -.up-tabs__wrapper__nav.data-v-504cd728, -.up-tabs__wrapper__nav__line.data-v-504cd728 { - display: flex; - flex-direction: column; - flex-shrink: 0; - flex-grow: 0; - flex-basis: auto; - align-items: stretch; - align-content: flex-start; -} .u-checkbox-group--row.data-v-504cd728 { display: flex; flex-flow: row wrap; } .u-checkbox-group--column.data-v-504cd728 { - display: flex; - flex-direction: column; } \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.js b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.js index 83af1a0..c4b0bed 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.js +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.js @@ -2,7 +2,7 @@ const common_vendor = require("../../../../common/vendor.js"); const _sfc_main = { name: "u-checkbox", - mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$7], + mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$8], data() { return { isChecked: false, @@ -97,7 +97,7 @@ const _sfc_main = { const style = {}; if (!this.usedAlone) { if (this.parentData.borderBottom && this.parentData.placement === "row") { - common_vendor.error("检测到您将borderBottom设置为true,需要同时将u-checkbox-group的placement设置为column才有效"); + common_vendor.error("检测到您将borderBottom设置为true,需要同时将up-checkbox-group的placement设置为column才有效"); } if (this.parentData.borderBottom && this.parentData.placement === "column") { style.paddingBottom = "8px"; @@ -115,9 +115,10 @@ const _sfc_main = { if (!this.usedAlone) { this.updateParentData(); if (!this.parent) { - common_vendor.error("u-checkbox必须搭配u-checkbox-group组件使用"); + common_vendor.error("up-checkbox必须搭配up-checkbox-group组件使用"); } - const value = this.parentData.modelValue; + let value = ""; + value = this.parentData.modelValue; if (this.checked) { this.isChecked = true; } else if (!this.usedAlone && common_vendor.test.array(value)) { @@ -157,7 +158,9 @@ const _sfc_main = { } }, emitEvent() { - this.$emit("change", this.isChecked); + this.$emit("change", this.isChecked, { + name: this.name + }); if (this.usedAlone) { this.$emit("update:checked", this.isChecked); } @@ -185,12 +188,12 @@ const _sfc_main = { } }; if (!Array) { - const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon"); - _easycom_u_icon2(); + const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon"); + _easycom_up_icon2(); } -const _easycom_u_icon = () => "../u-icon/u-icon.js"; +const _easycom_up_icon = () => "../u-icon/u-icon.js"; if (!Math) { - _easycom_u_icon(); + _easycom_up_icon(); } function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return { diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.json b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.json index fcde44c..e53deb1 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.json +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.json @@ -1,6 +1,6 @@ { "component": true, "usingComponents": { - "u-icon": "../u-icon/u-icon" + "up-icon": "../u-icon/u-icon" } } \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.wxml b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.wxml index d42aab8..14da238 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.wxml +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.wxml @@ -1 +1 @@ -{{f}} \ No newline at end of file +{{f}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.wxss b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.wxss index 82106e8..54d9323 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.wxss +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-checkbox/u-checkbox.wxss @@ -23,34 +23,8 @@ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ -.u-empty.data-v-abd63d8e, -.u-empty__wrap.data-v-abd63d8e, -.u-tabs.data-v-abd63d8e, -.u-tabs__wrapper.data-v-abd63d8e, -.u-tabs__wrapper__scroll-view-wrapper.data-v-abd63d8e, -.u-tabs__wrapper__scroll-view.data-v-abd63d8e, -.u-tabs__wrapper__nav.data-v-abd63d8e, -.u-tabs__wrapper__nav__line.data-v-abd63d8e, -.up-empty.data-v-abd63d8e, -.up-empty__wrap.data-v-abd63d8e, -.up-tabs.data-v-abd63d8e, -.up-tabs__wrapper.data-v-abd63d8e, -.up-tabs__wrapper__scroll-view-wrapper.data-v-abd63d8e, -.up-tabs__wrapper__scroll-view.data-v-abd63d8e, -.up-tabs__wrapper__nav.data-v-abd63d8e, -.up-tabs__wrapper__nav__line.data-v-abd63d8e { - display: flex; - flex-direction: column; - flex-shrink: 0; - flex-grow: 0; - flex-basis: auto; - align-items: stretch; - align-content: flex-start; -} .u-checkbox.data-v-abd63d8e { - display: flex; - flex-direction: row; overflow: hidden; flex-direction: row; @@ -70,9 +44,7 @@ transition-property: border-color, background-color, color; transition-duration: 0.2s; color: #606266; - display: flex; - flex-direction: row; align-items: center; justify-content: center; diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-icon/u-icon.js b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-icon/u-icon.js index b202504..f84d405 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-icon/u-icon.js +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-icon/u-icon.js @@ -2,11 +2,16 @@ const common_vendor = require("../../../../common/vendor.js"); const _sfc_main = { name: "u-icon", + beforeCreate() { + if (!common_vendor.fontUtil.params.loaded) { + common_vendor.fontUtil.loadFont(); + } + }, data() { return {}; }, emits: ["click"], - mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$1], + mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$2], computed: { uClasses() { let classes = []; @@ -29,6 +34,9 @@ const _sfc_main = { // 某些特殊情况需要设置一个到顶部的距离,才能更好的垂直居中 top: common_vendor.addUnit(this.top) }; + if (this.customPrefix !== "uicon") { + style.fontFamily = this.customPrefix; + } if (this.color && !common_vendor.config.type.includes(this.color)) style.color = this.color; return style; @@ -45,8 +53,9 @@ const _sfc_main = { }, // 通过图标名,查找对应的图标 icon() { - if (this.customPrefix !== "uicon") - return ""; + if (this.customPrefix !== "uicon") { + return common_vendor.config.customIcons[this.name] || this.name; + } return common_vendor.icons["uicon-" + this.name] || this.name; } }, diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-icon/u-icon.wxss b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-icon/u-icon.wxss index f33f2b2..0813478 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-icon/u-icon.wxss +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-icon/u-icon.wxss @@ -23,34 +23,6 @@ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ -.u-empty.data-v-1c933a9a, -.u-empty__wrap.data-v-1c933a9a, -.u-tabs.data-v-1c933a9a, -.u-tabs__wrapper.data-v-1c933a9a, -.u-tabs__wrapper__scroll-view-wrapper.data-v-1c933a9a, -.u-tabs__wrapper__scroll-view.data-v-1c933a9a, -.u-tabs__wrapper__nav.data-v-1c933a9a, -.u-tabs__wrapper__nav__line.data-v-1c933a9a, -.up-empty.data-v-1c933a9a, -.up-empty__wrap.data-v-1c933a9a, -.up-tabs.data-v-1c933a9a, -.up-tabs__wrapper.data-v-1c933a9a, -.up-tabs__wrapper__scroll-view-wrapper.data-v-1c933a9a, -.up-tabs__wrapper__scroll-view.data-v-1c933a9a, -.up-tabs__wrapper__nav.data-v-1c933a9a, -.up-tabs__wrapper__nav__line.data-v-1c933a9a { - display: flex; - flex-direction: column; - flex-shrink: 0; - flex-grow: 0; - flex-basis: auto; - align-items: stretch; - align-content: flex-start; -} -@font-face { - font-family: "uicon-iconfont"; - src: url("https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf") format("truetype"); -} .u-icon.data-v-1c933a9a { display: flex; align-items: center; @@ -74,9 +46,7 @@ .u-icon__icon.data-v-1c933a9a { font-family: uicon-iconfont; position: relative; - display: flex; - flex-direction: row; align-items: center; } diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-line/u-line.js b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-line/u-line.js new file mode 100644 index 0000000..b340185 --- /dev/null +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-line/u-line.js @@ -0,0 +1,34 @@ +"use strict"; +const common_vendor = require("../../../../common/vendor.js"); +const _sfc_main = { + name: "u-line", + mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$21], + computed: { + lineStyle() { + const style = {}; + style.margin = this.margin; + if (this.direction === "row") { + style.borderBottomWidth = "1px"; + style.borderBottomStyle = this.dashed ? "dashed" : "solid"; + style.width = common_vendor.addUnit(this.length); + if (this.hairline) + style.transform = "scaleY(0.5)"; + } else { + style.borderLeftWidth = "1px"; + style.borderLeftStyle = this.dashed ? "dashed" : "solid"; + style.height = common_vendor.addUnit(this.length); + if (this.hairline) + style.transform = "scaleX(0.5)"; + } + style.borderColor = this.color; + return common_vendor.deepMerge(style, common_vendor.addStyle(this.customStyle)); + } + } +}; +function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { + return { + a: common_vendor.s($options.lineStyle) + }; +} +const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-bbd9963c"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/node_modules/uview-plus/components/u-line/u-line.vue"]]); +wx.createComponent(Component); diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-line/u-line.json b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-line/u-line.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-line/u-line.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-line/u-line.wxml b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-line/u-line.wxml new file mode 100644 index 0000000..5ed941a --- /dev/null +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-line/u-line.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-line/u-line.wxss b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-line/u-line.wxss new file mode 100644 index 0000000..0f8709e --- /dev/null +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-line/u-line.wxss @@ -0,0 +1,28 @@ +/** + * 这里是uni-app内置的常用样式变量 + * + * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 + * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App + * + */ +/** + * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 + * + * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 + */ +/* 颜色变量 */ +/* 行为相关颜色 */ +/* 文字基本颜色 */ +/* 背景颜色 */ +/* 边框颜色 */ +/* 尺寸变量 */ +/* 文字尺寸 */ +/* 图片尺寸 */ +/* Border Radius */ +/* 水平间距 */ +/* 垂直间距 */ +/* 透明度 */ +/* 文章场景相关 */ +.u-line.data-v-bbd9963c { + vertical-align: middle; +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-link/u-link.js b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-link/u-link.js index 7ec03f7..d037fa8 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-link/u-link.js +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-link/u-link.js @@ -2,7 +2,7 @@ const common_vendor = require("../../../../common/vendor.js"); const _sfc_main = { name: "u-link", - mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$13], + mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$14], computed: { linkStyle() { const style = { diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-link/u-link.wxss b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-link/u-link.wxss index f5b0fd6..7b5be91 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-link/u-link.wxss +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-link/u-link.wxss @@ -23,35 +23,9 @@ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ -.u-empty.data-v-dedad317, -.u-empty__wrap.data-v-dedad317, -.u-tabs.data-v-dedad317, -.u-tabs__wrapper.data-v-dedad317, -.u-tabs__wrapper__scroll-view-wrapper.data-v-dedad317, -.u-tabs__wrapper__scroll-view.data-v-dedad317, -.u-tabs__wrapper__nav.data-v-dedad317, -.u-tabs__wrapper__nav__line.data-v-dedad317, -.up-empty.data-v-dedad317, -.up-empty__wrap.data-v-dedad317, -.up-tabs.data-v-dedad317, -.up-tabs__wrapper.data-v-dedad317, -.up-tabs__wrapper__scroll-view-wrapper.data-v-dedad317, -.up-tabs__wrapper__scroll-view.data-v-dedad317, -.up-tabs__wrapper__nav.data-v-dedad317, -.up-tabs__wrapper__nav__line.data-v-dedad317 { - display: flex; - flex-direction: column; - flex-shrink: 0; - flex-grow: 0; - flex-basis: auto; - align-items: stretch; - align-content: flex-start; -} .u-link.data-v-dedad317 { line-height: 1; - display: flex; - flex-direction: row; flex-wrap: wrap; flex: 1; diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.js b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.js index 642e159..e7c0a63 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.js +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.js @@ -2,7 +2,7 @@ const common_vendor = require("../../../../common/vendor.js"); const _sfc_main = { name: "u-loading-icon", - mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$6], + mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$5], data() { return { // Array.form可以通过一个伪数组对象创建指定长度的数组 diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.wxss b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.wxss index beb1a6d..a735e0d 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.wxss +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-loading-icon/u-loading-icon.wxss @@ -23,30 +23,6 @@ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ -.u-empty.data-v-00752c6d, -.u-empty__wrap.data-v-00752c6d, -.u-tabs.data-v-00752c6d, -.u-tabs__wrapper.data-v-00752c6d, -.u-tabs__wrapper__scroll-view-wrapper.data-v-00752c6d, -.u-tabs__wrapper__scroll-view.data-v-00752c6d, -.u-tabs__wrapper__nav.data-v-00752c6d, -.u-tabs__wrapper__nav__line.data-v-00752c6d, -.up-empty.data-v-00752c6d, -.up-empty__wrap.data-v-00752c6d, -.up-tabs.data-v-00752c6d, -.up-tabs__wrapper.data-v-00752c6d, -.up-tabs__wrapper__scroll-view-wrapper.data-v-00752c6d, -.up-tabs__wrapper__scroll-view.data-v-00752c6d, -.up-tabs__wrapper__nav.data-v-00752c6d, -.up-tabs__wrapper__nav__line.data-v-00752c6d { - display: flex; - flex-direction: column; - flex-shrink: 0; - flex-grow: 0; - flex-basis: auto; - align-items: stretch; - align-content: flex-start; -} .u-loading-icon.data-v-00752c6d { display: flex; flex-direction: row; diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-overlay/u-overlay.js b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-overlay/u-overlay.js index 92b6b79..517c429 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-overlay/u-overlay.js +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-overlay/u-overlay.js @@ -2,7 +2,7 @@ const common_vendor = require("../../../../common/vendor.js"); const _sfc_main = { name: "u-overlay", - mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$14], + mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$15], computed: { overlayStyle() { const style = { diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-overlay/u-overlay.wxss b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-overlay/u-overlay.wxss index 2b33634..7665db1 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-overlay/u-overlay.wxss +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-overlay/u-overlay.wxss @@ -23,30 +23,6 @@ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ -.u-empty.data-v-35f7c3e5, -.u-empty__wrap.data-v-35f7c3e5, -.u-tabs.data-v-35f7c3e5, -.u-tabs__wrapper.data-v-35f7c3e5, -.u-tabs__wrapper__scroll-view-wrapper.data-v-35f7c3e5, -.u-tabs__wrapper__scroll-view.data-v-35f7c3e5, -.u-tabs__wrapper__nav.data-v-35f7c3e5, -.u-tabs__wrapper__nav__line.data-v-35f7c3e5, -.up-empty.data-v-35f7c3e5, -.up-empty__wrap.data-v-35f7c3e5, -.up-tabs.data-v-35f7c3e5, -.up-tabs__wrapper.data-v-35f7c3e5, -.up-tabs__wrapper__scroll-view-wrapper.data-v-35f7c3e5, -.up-tabs__wrapper__scroll-view.data-v-35f7c3e5, -.up-tabs__wrapper__nav.data-v-35f7c3e5, -.up-tabs__wrapper__nav__line.data-v-35f7c3e5 { - display: flex; - flex-direction: column; - flex-shrink: 0; - flex-grow: 0; - flex-basis: auto; - align-items: stretch; - align-content: flex-start; -} .u-overlay.data-v-35f7c3e5 { position: fixed; top: 0; diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.js b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.js index db2b6e1..f3ef034 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.js +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.js @@ -2,10 +2,16 @@ const common_vendor = require("../../../../common/vendor.js"); const _sfc_main = { name: "u-popup", - mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$10], + mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$11], data() { return { - overlayDuration: this.duration + 50 + overlayDuration: this.duration + 50, + // 触摸相关数据 + touchStartY: 0, + touchStartHeight: 0, + isTouching: false, + // 当前弹窗高度 + currentHeight: "auto" }; }, watch: { @@ -19,10 +25,12 @@ const _sfc_main = { computed: { transitionStyle() { const style = { - zIndex: this.zIndex, - position: "fixed", display: "flex" }; + if (!this.pageInline) { + style.zIndex = this.zIndex; + style.position = "fixed"; + } style[this.mode] = 0; if (this.mode === "left") { return common_vendor.deepMerge(style, { @@ -55,15 +63,28 @@ const _sfc_main = { }); } }, + contentStyleWrap() { + const style = {}; + if (this.mode === "bottom" && this.touchable) { + if (this.currentHeight !== "auto") { + style.height = this.currentHeight; + } + if (this.maxHeight) { + style.maxHeight = common_vendor.addUnit(this.maxHeight); + } + if (this.minHeight) { + style.minHeight = common_vendor.addUnit(this.minHeight); + } + } + return style; + }, contentStyle() { const style = {}; common_vendor.getWindowInfo(); if (this.mode !== "center") { style.flex = 1; } - if (this.bgColor) { - style.backgroundColor = this.bgColor; - } + style.backgroundColor = this.bgColor; if (this.round) { const value = common_vendor.addUnit(this.round); if (this.mode === "top") { @@ -105,6 +126,9 @@ const _sfc_main = { this.$emit("close"); } }, + open(e) { + this.$emit("update:show", true); + }, close(e) { this.$emit("update:show", false); this.$emit("close"); @@ -155,65 +179,112 @@ const _sfc_main = { this.retryComputedComponentRect(grandChild); } } + }, + // 触摸开始 + onTouchStart(e) { + if (!this.touchable || this.mode !== "bottom") + return; + this.isTouching = true; + this.touchStartY = e.touches[0].clientY; + this.touchStartHeight = this.$el.querySelector(".u-popup__content—transition").offsetHeight; + }, + // 触摸移动 + onTouchMove(e) { + if (!this.isTouching || !this.touchable || this.mode !== "bottom") + return; + const touchY = e.touches[0].clientY; + const deltaY = touchY - this.touchStartY; + if (deltaY !== 0) { + const newHeight = this.touchStartHeight - deltaY; + const minHeight = parseFloat(common_vendor.addUnit(this.minHeight)) || 200; + const maxHeight = this.maxHeight ? this.maxHeight.toString().includes("%") ? common_vendor.getWindowInfo().windowHeight * (parseFloat(this.maxHeight) / 100) : parseFloat(common_vendor.addUnit(this.maxHeight)) : common_vendor.getWindowInfo().windowHeight * 0.8; + if (newHeight >= minHeight && newHeight <= maxHeight) { + this.currentHeight = newHeight + "px"; + } + } + e.preventDefault(); + }, + // 触摸结束 + onTouchEnd(e) { + if (!this.isTouching || !this.touchable || this.mode !== "bottom") + return; + this.isTouching = false; + const touchY = e.changedTouches[0].clientY; + const deltaY = touchY - this.touchStartY; + const velocity = Math.abs(deltaY) / (e.timeStamp - e.changedTouches[0].timestamp); + if (deltaY > 100 || deltaY > 30 && velocity > 0.5) { + this.close(); + } } } }; if (!Array) { const _easycom_u_overlay2 = common_vendor.resolveComponent("u-overlay"); const _easycom_u_status_bar2 = common_vendor.resolveComponent("u-status-bar"); - const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon"); + const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon"); const _easycom_u_safe_bottom2 = common_vendor.resolveComponent("u-safe-bottom"); const _easycom_u_transition2 = common_vendor.resolveComponent("u-transition"); - (_easycom_u_overlay2 + _easycom_u_status_bar2 + _easycom_u_icon2 + _easycom_u_safe_bottom2 + _easycom_u_transition2)(); + (_easycom_u_overlay2 + _easycom_u_status_bar2 + _easycom_up_icon2 + _easycom_u_safe_bottom2 + _easycom_u_transition2)(); } const _easycom_u_overlay = () => "../u-overlay/u-overlay.js"; const _easycom_u_status_bar = () => "../u-status-bar/u-status-bar.js"; -const _easycom_u_icon = () => "../u-icon/u-icon.js"; +const _easycom_up_icon = () => "../u-icon/u-icon.js"; const _easycom_u_safe_bottom = () => "../u-safe-bottom/u-safe-bottom.js"; const _easycom_u_transition = () => "../u-transition/u-transition.js"; if (!Math) { - (_easycom_u_overlay + _easycom_u_status_bar + _easycom_u_icon + _easycom_u_safe_bottom + _easycom_u_transition)(); + (_easycom_u_overlay + _easycom_u_status_bar + _easycom_up_icon + _easycom_u_safe_bottom + _easycom_u_transition)(); } function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return common_vendor.e({ - a: _ctx.overlay + a: common_vendor.o((...args) => $options.open && $options.open(...args)), + b: _ctx.overlay }, _ctx.overlay ? { - b: common_vendor.o($options.overlayClick), - c: common_vendor.p({ - show: _ctx.show, + c: common_vendor.o($options.overlayClick), + d: common_vendor.p({ + show: _ctx.show && _ctx.pageInline == false, zIndex: _ctx.zIndex, duration: $data.overlayDuration, customStyle: _ctx.overlayStyle, opacity: _ctx.overlayOpacity }) } : {}, { - d: _ctx.safeAreaInsetTop + e: _ctx.safeAreaInsetTop }, _ctx.safeAreaInsetTop ? {} : {}, { - e: _ctx.closeable + f: _ctx.touchable && _ctx.mode === "bottom" + }, _ctx.touchable && _ctx.mode === "bottom" ? { + g: common_vendor.o((...args) => $options.onTouchStart && $options.onTouchStart(...args)), + h: common_vendor.o((...args) => $options.onTouchMove && $options.onTouchMove(...args)), + i: common_vendor.o((...args) => $options.onTouchEnd && $options.onTouchEnd(...args)), + j: common_vendor.o((...args) => $options.onTouchEnd && $options.onTouchEnd(...args)) + } : {}, { + k: _ctx.closeable }, _ctx.closeable ? { - f: common_vendor.p({ + l: common_vendor.p({ name: "close", color: "#909399", size: "18", bold: true }), - g: common_vendor.o((...args) => $options.close && $options.close(...args)), - h: common_vendor.n("u-popup__content__close--" + _ctx.closeIconPos) + m: common_vendor.o((...args) => $options.close && $options.close(...args)), + n: common_vendor.n("u-popup__content__close--" + _ctx.closeIconPos) } : {}, { - i: _ctx.safeAreaInsetBottom + o: _ctx.safeAreaInsetBottom }, _ctx.safeAreaInsetBottom ? {} : {}, { - j: common_vendor.s($options.contentStyle), - k: common_vendor.o((...args) => _ctx.noop && _ctx.noop(...args)), - l: common_vendor.o((...args) => _ctx.noop && _ctx.noop(...args)), - m: common_vendor.o($options.afterEnter), - n: common_vendor.o($options.clickHandler), - o: common_vendor.p({ - show: _ctx.show, + p: common_vendor.s($options.contentStyle), + q: common_vendor.o((...args) => _ctx.noop && _ctx.noop(...args)), + r: common_vendor.o((...args) => _ctx.noop && _ctx.noop(...args)), + s: common_vendor.s($options.contentStyleWrap), + t: common_vendor.o($options.afterEnter), + v: common_vendor.o($options.clickHandler), + w: common_vendor.p({ + show: _ctx.pageInline ? true : _ctx.show, customStyle: $options.transitionStyle, - mode: $options.position, + mode: _ctx.pageInline ? "none" : $options.position, duration: _ctx.duration }), - p: common_vendor.n(_ctx.customClass) + x: common_vendor.n(_ctx.customClass), + y: _ctx.show == false ? "0px" : "", + z: _ctx.show == false ? "0px" : "" }); } const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-74921bef"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/node_modules/uview-plus/components/u-popup/u-popup.vue"]]); diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.json b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.json index 711f35d..e1fd6d2 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.json +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.json @@ -3,7 +3,7 @@ "usingComponents": { "u-overlay": "../u-overlay/u-overlay", "u-status-bar": "../u-status-bar/u-status-bar", - "u-icon": "../u-icon/u-icon", + "up-icon": "../u-icon/u-icon", "u-safe-bottom": "../u-safe-bottom/u-safe-bottom", "u-transition": "../u-transition/u-transition" } diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.wxml b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.wxml index eb70a3f..3daca51 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.wxml +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.wxml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.wxss b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.wxss index b9f4cc1..558ba3c 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.wxss +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-popup/u-popup.wxss @@ -23,35 +23,20 @@ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ -.u-empty.data-v-74921bef, -.u-empty__wrap.data-v-74921bef, -.u-tabs.data-v-74921bef, -.u-tabs__wrapper.data-v-74921bef, -.u-tabs__wrapper__scroll-view-wrapper.data-v-74921bef, -.u-tabs__wrapper__scroll-view.data-v-74921bef, -.u-tabs__wrapper__nav.data-v-74921bef, -.u-tabs__wrapper__nav__line.data-v-74921bef, -.up-empty.data-v-74921bef, -.up-empty__wrap.data-v-74921bef, -.up-tabs.data-v-74921bef, -.up-tabs__wrapper.data-v-74921bef, -.up-tabs__wrapper__scroll-view-wrapper.data-v-74921bef, -.up-tabs__wrapper__scroll-view.data-v-74921bef, -.up-tabs__wrapper__nav.data-v-74921bef, -.up-tabs__wrapper__nav__line.data-v-74921bef { - display: flex; - flex-direction: column; - flex-shrink: 0; - flex-grow: 0; - flex-basis: auto; - align-items: stretch; - align-content: flex-start; -} .u-popup.data-v-74921bef { flex: 1; } +.u-popup__trigger.data-v-74921bef { + position: relative; +} +.u-popup__trigger__cover.data-v-74921bef { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; +} .u-popup__content.data-v-74921bef { - background-color: #fff; position: relative; } .u-popup__content--round-top.data-v-74921bef { @@ -84,6 +69,22 @@ border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; } +.u-popup__content__touch-area.data-v-74921bef { + top: 0; + left: 0; + right: 0; + height: 42rpx; + z-index: 10; + display: flex; + justify-content: center; + align-items: center; +} +.u-popup__content__indicator.data-v-74921bef { + width: 100px; + height: 5px; + border-radius: 100px; + background-color: #c0c4cc; +} .u-popup__content__close.data-v-74921bef { position: absolute; } diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-safe-bottom/u-safe-bottom.js b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-safe-bottom/u-safe-bottom.js index e4f91ab..71c7281 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-safe-bottom/u-safe-bottom.js +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-safe-bottom/u-safe-bottom.js @@ -2,7 +2,7 @@ const common_vendor = require("../../../../common/vendor.js"); const _sfc_main = { name: "u-safe-bottom", - mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$16], + mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$17], data() { return { safeAreaBottomHeight: 0, @@ -12,10 +12,12 @@ const _sfc_main = { computed: { style() { const style = {}; + style.height = common_vendor.addUnit(common_vendor.getWindowInfo().safeAreaInsets.bottom, "px"); return common_vendor.deepMerge(style, common_vendor.addStyle(this.customStyle)); } }, mounted() { + this.isNvue = true; } }; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.js b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.js index 170f696..3b503bd 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.js +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.js @@ -2,12 +2,10 @@ const common_vendor = require("../../../../common/vendor.js"); const _sfc_main = { name: "u-search", - mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$2], + mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$1], data() { return { keyword: "", - showClear: false, - // 是否显示右边的清除图标 show: false, // 标记input当前状态是否处于聚焦中,如果是,才会显示右侧的清除控件 focused: this.focus @@ -30,6 +28,18 @@ const _sfc_main = { computed: { showActionBtn() { return !this.animation && this.showAction; + }, + // 是否显示清除控件 + isShowClear() { + const { clearabled, focused, keyword, onlyClearableOnFocused } = this; + if (!clearabled) { + return false; + } + if (onlyClearableOnFocused) { + return !!focused && keyword !== ""; + } else { + return keyword !== ""; + } } }, emits: ["clear", "search", "custom", "focus", "blur", "click", "clickIcon", "update:modelValue", "change"], @@ -72,7 +82,7 @@ const _sfc_main = { this.$emit("focus", this.keyword); }, // 失去焦点 - blur() { + blurFunc() { setTimeout(() => { this.focused = false; }, 100); @@ -95,12 +105,12 @@ const _sfc_main = { } }; if (!Array) { - const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon"); - _easycom_u_icon2(); + const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon"); + _easycom_up_icon2(); } -const _easycom_u_icon = () => "../u-icon/u-icon.js"; +const _easycom_up_icon = () => "../u-icon/u-icon.js"; if (!Math) { - _easycom_u_icon(); + _easycom_up_icon(); } function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return common_vendor.e({ @@ -114,7 +124,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { name: _ctx.searchIcon, color: _ctx.searchIconColor ? _ctx.searchIconColor : _ctx.color }), - e: common_vendor.o((...args) => $options.blur && $options.blur(...args)), + e: common_vendor.o((...args) => $options.blurFunc && $options.blurFunc(...args)), f: $data.keyword, g: common_vendor.o((...args) => $options.search && $options.search(...args)), h: common_vendor.o((...args) => $options.inputChange && $options.inputChange(...args)), @@ -127,14 +137,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { o: _ctx.placeholder, p: `color: ${_ctx.placeholderColor}`, q: common_vendor.s({ + pointerEvents: _ctx.disabled ? "none" : "auto", textAlign: _ctx.inputAlign, color: _ctx.color, backgroundColor: _ctx.bgColor, height: $options.addUnit(_ctx.height) }), r: common_vendor.s(_ctx.inputStyle), - s: $data.keyword && _ctx.clearabled && $data.focused - }, $data.keyword && _ctx.clearabled && $data.focused ? { + s: $options.isShowClear + }, $options.isShowClear ? { t: common_vendor.p({ name: "close", size: "11", @@ -150,11 +161,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { A: common_vendor.s(_ctx.actionStyle), B: common_vendor.n(($options.showActionBtn || $data.show) && "u-search__action--active"), C: common_vendor.o((...args) => $options.custom && $options.custom(...args)), - D: common_vendor.o((...args) => $options.clickHandler && $options.clickHandler(...args)), - E: common_vendor.s({ + D: common_vendor.n(_ctx.iconPosition === "right" && "u-search__reverse"), + E: common_vendor.o((...args) => $options.clickHandler && $options.clickHandler(...args)), + F: common_vendor.s({ margin: _ctx.margin }), - F: common_vendor.s($options.addStyle(_ctx.customStyle)) + G: common_vendor.s($options.addStyle(_ctx.customStyle)) }); } const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ed789780"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/node_modules/uview-plus/components/u-search/u-search.vue"]]); diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.json b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.json index fcde44c..e53deb1 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.json +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.json @@ -1,6 +1,6 @@ { "component": true, "usingComponents": { - "u-icon": "../u-icon/u-icon" + "up-icon": "../u-icon/u-icon" } } \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxml b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxml index 7e970c0..424789a 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxml +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxml @@ -1 +1 @@ -{{z}} \ No newline at end of file +{{z}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxss b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxss index 7f6f83c..9ef33b4 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxss +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-search/u-search.wxss @@ -23,42 +23,14 @@ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ -.u-empty.data-v-ed789780, -.u-empty__wrap.data-v-ed789780, -.u-tabs.data-v-ed789780, -.u-tabs__wrapper.data-v-ed789780, -.u-tabs__wrapper__scroll-view-wrapper.data-v-ed789780, -.u-tabs__wrapper__scroll-view.data-v-ed789780, -.u-tabs__wrapper__nav.data-v-ed789780, -.u-tabs__wrapper__nav__line.data-v-ed789780, -.up-empty.data-v-ed789780, -.up-empty__wrap.data-v-ed789780, -.up-tabs.data-v-ed789780, -.up-tabs__wrapper.data-v-ed789780, -.up-tabs__wrapper__scroll-view-wrapper.data-v-ed789780, -.up-tabs__wrapper__scroll-view.data-v-ed789780, -.up-tabs__wrapper__nav.data-v-ed789780, -.up-tabs__wrapper__nav__line.data-v-ed789780 { - display: flex; - flex-direction: column; - flex-shrink: 0; - flex-grow: 0; - flex-basis: auto; - align-items: stretch; - align-content: flex-start; -} .u-search.data-v-ed789780 { - display: flex; - flex-direction: row; align-items: center; flex: 1; } .u-search__content.data-v-ed789780 { - display: flex; - flex-direction: row; align-items: center; padding: 0 10px; @@ -70,9 +42,7 @@ overflow: hidden; } .u-search__content__icon.data-v-ed789780 { - display: flex; - flex-direction: row; align-items: center; } @@ -89,9 +59,7 @@ border-bottom-left-radius: 100px; border-bottom-right-radius: 100px; background-color: #C6C7CB; - display: flex; - flex-direction: row; align-items: center; justify-content: center; @@ -120,4 +88,10 @@ .u-search__action--active.data-v-ed789780 { width: 40px; margin-left: 5px; +} +.u-search__reverse .u-search__content__icon.data-v-ed789780 { + order: 3; +} +.u-search__reverse .u-search__content__close.data-v-ed789780 { + order: 2; } \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-status-bar/u-status-bar.js b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-status-bar/u-status-bar.js index 0d66935..d852779 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-status-bar/u-status-bar.js +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-status-bar/u-status-bar.js @@ -2,18 +2,25 @@ const common_vendor = require("../../../../common/vendor.js"); const _sfc_main = { name: "u-status-bar", - mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$15], + mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$16], data() { return { - isH5: true + isH5: false }; }, created() { }, + emits: ["update:height"], computed: { style() { const style = {}; - style.height = common_vendor.addUnit(common_vendor.getWindowInfo().statusBarHeight, "px"); + let sheight = common_vendor.getWindowInfo().statusBarHeight; + this.$emit("update:height", sheight); + if (sheight == 0) { + this.isH5 = true; + } else { + style.height = common_vendor.addUnit(sheight, "px"); + } style.backgroundColor = this.bgColor; return common_vendor.deepMerge(style, common_vendor.addStyle(this.customStyle)); } diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.js b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.js index e07a393..9e4b62e 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.js +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.js @@ -2,7 +2,7 @@ const common_vendor = require("../../../../common/vendor.js"); const _sfc_main = { name: "u-steps-item", - mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$4], + mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$3], data() { return { index: 0, @@ -127,14 +127,14 @@ const _sfc_main = { } }; if (!Array) { - const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon"); + const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon"); const _easycom_up_text2 = common_vendor.resolveComponent("up-text"); - (_easycom_u_icon2 + _easycom_up_text2)(); + (_easycom_up_icon2 + _easycom_up_text2)(); } -const _easycom_u_icon = () => "../u-icon/u-icon.js"; +const _easycom_up_icon = () => "../u-icon/u-icon.js"; const _easycom_up_text = () => "../u-text/u-text.js"; if (!Math) { - (_easycom_u_icon + _easycom_up_text)(); + (_easycom_up_icon + _easycom_up_text)(); } function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return common_vendor.e({ @@ -171,20 +171,32 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { n: common_vendor.n(`u-steps-item__wrapper--${$data.parentData.direction}`), o: common_vendor.n($data.parentData.dot && `u-steps-item__wrapper--${$data.parentData.direction}--dot`), p: common_vendor.s($options.itemStyleInner), - q: common_vendor.p({ - text: _ctx.title, - type: $data.parentData.current == $data.index ? "main" : "content", - lineHeight: "20px", - size: $data.parentData.current == $data.index ? 14 : 13 + q: common_vendor.r("content", { + index: $data.index }), - r: common_vendor.p({ + r: !_ctx.$slots["content"] + }, !_ctx.$slots["content"] ? common_vendor.e({ + s: !_ctx.$slots["title"] + }, !_ctx.$slots["title"] ? { + t: common_vendor.p({ + text: _ctx.title, + lineHeight: "20px", + type: $data.parentData.current == $data.index ? "main" : "content", + size: $data.parentData.current == $data.index ? 14 : 13 + }) + } : {}, { + v: !_ctx.$slots["desc"] + }, !_ctx.$slots["desc"] ? { + w: common_vendor.p({ text: _ctx.desc, type: "tips", size: "12" - }), - s: common_vendor.n(`u-steps-item__content--${$data.parentData.direction}`), - t: common_vendor.s($options.contentStyle), - v: common_vendor.n(`u-steps-item--${$data.parentData.direction}`) + }) + } : {}) : {}, { + x: common_vendor.n(`u-steps-item__content--${$data.parentData.direction}`), + y: common_vendor.n($data.parentData.current == $data.index ? "u-steps-item__content--current" : ""), + z: common_vendor.s($options.contentStyle), + A: common_vendor.n(`u-steps-item--${$data.parentData.direction}`) }); } const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-9f07ce7c"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/node_modules/uview-plus/components/u-steps-item/u-steps-item.vue"]]); diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.json b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.json index 3185d42..be56d89 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.json +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.json @@ -1,7 +1,7 @@ { "component": true, "usingComponents": { - "u-icon": "../u-icon/u-icon", + "up-icon": "../u-icon/u-icon", "up-text": "../u-text/u-text" } } \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.wxml b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.wxml index 2c8cc29..0edf3c7 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.wxml +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.wxml @@ -1 +1 @@ -{{i}} \ No newline at end of file +{{i}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.wxss b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.wxss index 153874f..bcd954b 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.wxss +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.wxss @@ -23,35 +23,9 @@ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ -.u-empty.data-v-9f07ce7c, -.u-empty__wrap.data-v-9f07ce7c, -.u-tabs.data-v-9f07ce7c, -.u-tabs__wrapper.data-v-9f07ce7c, -.u-tabs__wrapper__scroll-view-wrapper.data-v-9f07ce7c, -.u-tabs__wrapper__scroll-view.data-v-9f07ce7c, -.u-tabs__wrapper__nav.data-v-9f07ce7c, -.u-tabs__wrapper__nav__line.data-v-9f07ce7c, -.up-empty.data-v-9f07ce7c, -.up-empty__wrap.data-v-9f07ce7c, -.up-tabs.data-v-9f07ce7c, -.up-tabs__wrapper.data-v-9f07ce7c, -.up-tabs__wrapper__scroll-view-wrapper.data-v-9f07ce7c, -.up-tabs__wrapper__scroll-view.data-v-9f07ce7c, -.up-tabs__wrapper__nav.data-v-9f07ce7c, -.up-tabs__wrapper__nav__line.data-v-9f07ce7c { - display: flex; - flex-direction: column; - flex-shrink: 0; - flex-grow: 0; - flex-basis: auto; - align-items: stretch; - align-content: flex-start; -} .u-steps-item.data-v-9f07ce7c { flex: 1; - display: flex; - flex-direction: row; } .u-steps-item--row.data-v-9f07ce7c { @@ -66,9 +40,7 @@ padding-bottom: 5px; } .u-steps-item__wrapper.data-v-9f07ce7c { - display: flex; - flex-direction: row; justify-content: center; align-items: center; @@ -101,9 +73,7 @@ border-width: 1px; border-color: #909193; border-style: solid; - display: flex; - flex-direction: row; align-items: center; justify-content: center; @@ -112,9 +82,7 @@ .u-steps-item__wrapper__circle__text.data-v-9f07ce7c { color: #909193; font-size: 11px; - display: flex; - flex-direction: row; align-items: center; justify-content: center; @@ -128,9 +96,7 @@ background-color: #606266; } .u-steps-item__content.data-v-9f07ce7c { - display: flex; - flex-direction: row; flex: 1; } diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.js b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.js index 907699d..567ad18 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.js +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.js @@ -2,7 +2,7 @@ const common_vendor = require("../../../../common/vendor.js"); const _sfc_main = { name: "u-steps", - mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$5], + mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$4], data() { return {}; }, @@ -10,13 +10,13 @@ const _sfc_main = { children() { this.updateChildData(); }, - parentData() { + parentDataCpu() { this.updateChildData(); } }, computed: { // 监听参数的变化,通过watch中,手动去更新子组件的数据,否则子组件不会自动变化 - parentData() { + parentDataCpu() { return [this.current, this.direction, this.activeColor, this.inactiveColor, this.activeIcon, this.inactiveIcon, this.dot]; } }, diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.wxss b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.wxss index dc1e7e1..ed3614c 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.wxss +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.wxss @@ -23,34 +23,8 @@ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ -.u-empty.data-v-30d91cab, -.u-empty__wrap.data-v-30d91cab, -.u-tabs.data-v-30d91cab, -.u-tabs__wrapper.data-v-30d91cab, -.u-tabs__wrapper__scroll-view-wrapper.data-v-30d91cab, -.u-tabs__wrapper__scroll-view.data-v-30d91cab, -.u-tabs__wrapper__nav.data-v-30d91cab, -.u-tabs__wrapper__nav__line.data-v-30d91cab, -.up-empty.data-v-30d91cab, -.up-empty__wrap.data-v-30d91cab, -.up-tabs.data-v-30d91cab, -.up-tabs__wrapper.data-v-30d91cab, -.up-tabs__wrapper__scroll-view-wrapper.data-v-30d91cab, -.up-tabs__wrapper__scroll-view.data-v-30d91cab, -.up-tabs__wrapper__nav.data-v-30d91cab, -.up-tabs__wrapper__nav__line.data-v-30d91cab { - display: flex; - flex-direction: column; - flex-shrink: 0; - flex-grow: 0; - flex-basis: auto; - align-items: stretch; - align-content: flex-start; -} .u-steps.data-v-30d91cab { - display: flex; - flex-direction: row; } .u-steps--column.data-v-30d91cab { @@ -61,4 +35,5 @@ flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); + display: flex !important; } \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.js b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.js index 8ae8a6f..5f12c4c 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.js +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.js @@ -2,13 +2,14 @@ const common_vendor = require("../../../../common/vendor.js"); const _sfc_main = { name: "u-tabs", - mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$3], + mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$6], data() { return { - firstTime: true, + tabList: [], scrollLeft: 0, scrollViewWidth: 0, lineOffsetLeft: 0, + lineShow: false, tabsRect: { left: 0 }, @@ -33,10 +34,15 @@ const _sfc_main = { } }, // list变化时,重新渲染list各项信息 - list() { - this.$nextTick(() => { - this.resize(); - }); + list: { + handler(newValue, oldValue) { + this.tabList = common_vendor.deepClone(newValue); + this.$nextTick(() => { + this.resize(); + }); + }, + immediate: true, + deep: true } }, computed: { @@ -44,36 +50,40 @@ const _sfc_main = { return (index) => { const style = {}; const customeStyle = index == this.innerCurrent ? common_vendor.addStyle(this.activeStyle) : common_vendor.addStyle(this.inactiveStyle); - if (this.list[index].disabled) { + if (this.tabList[index].disabled) { style.color = "#c8c9cc"; } return common_vendor.deepMerge(customeStyle, style); }; }, propsBadge() { - return common_vendor.defProps.badge; + return common_vendor.props$7.badge; } }, async mounted() { this.init(); + this.windowResizeCallback = (res) => { + this.init(); + }; + common_vendor.index.onWindowResize(this.windowResizeCallback); + }, + beforeUnmount() { + common_vendor.index.offWindowResize(this.windowResizeCallback); }, emits: ["click", "longPress", "change", "update:current"], methods: { addStyle: common_vendor.addStyle, addUnit: common_vendor.addUnit, setLineLeft() { - const tabItem = this.list[this.innerCurrent]; + const tabItem = this.tabList[this.innerCurrent]; if (!tabItem) { return; } - let lineOffsetLeft = this.list.slice(0, this.innerCurrent).reduce((total, curr) => total + curr.rect.width, 0); + let lineOffsetLeft = this.tabList.slice(0, this.innerCurrent).reduce((total, curr) => total + curr.rect.width, 0); const lineWidth = common_vendor.getPx(this.lineWidth); this.lineOffsetLeft = lineOffsetLeft + (tabItem.rect.width - lineWidth) / 2; - if (this.firstTime) { - setTimeout(() => { - this.firstTime = false; - }, 10); - } + if (!this.lineShow) + this.lineShow = true; }, // nvue下设置滑块的位置 animation(x, duration = 0) { @@ -86,8 +96,12 @@ const _sfc_main = { }, index); if (item.disabled) return; + if (this.innerCurrent == index) + return; this.innerCurrent = index; - this.resize(); + this.$nextTick(() => { + this.resize(); + }); this.$emit("update:current", index); this.$emit("change", { ...item, @@ -110,8 +124,8 @@ const _sfc_main = { if (this.innerCurrent < 0) { this.innerCurrent = 0; } - const tabRect = this.list[this.innerCurrent]; - const offsetLeft = this.list.slice(0, this.innerCurrent).reduce((total, curr) => { + const tabRect = this.tabList[this.innerCurrent]; + const offsetLeft = this.tabList.slice(0, this.innerCurrent).reduce((total, curr) => { return total + curr.rect.width; }, 0); const windowWidth = common_vendor.getWindowInfo().windowWidth; @@ -121,7 +135,7 @@ const _sfc_main = { }, // 获取所有标签的尺寸 resize() { - if (this.list.length === 0) { + if (this.tabList.length === 0) { return; } Promise.all([this.getTabsRect(), this.getAllItemRect()]).then(([tabsRect, itemRect = []]) => { @@ -133,7 +147,7 @@ const _sfc_main = { this.scrollViewWidth = 0; itemRect.map((item, index) => { this.scrollViewWidth += item.width; - this.list[index].rect = item; + this.tabList[index].rect = item; }); this.setLineLeft(); this.setScrollLeft(); @@ -148,7 +162,7 @@ const _sfc_main = { // 获取所有标签的尺寸 getAllItemRect() { return new Promise((resolve) => { - const promiseAllArr = this.list.map((item, index) => this.queryRect( + const promiseAllArr = this.tabList.map((item, index) => this.queryRect( `u-tabs__wrapper__nav__item-${index}`, true )); @@ -166,37 +180,54 @@ const _sfc_main = { } }; if (!Array) { + const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon"); const _easycom_u_badge2 = common_vendor.resolveComponent("u-badge"); - _easycom_u_badge2(); + (_easycom_up_icon2 + _easycom_u_badge2)(); } +const _easycom_up_icon = () => "../u-icon/u-icon.js"; const _easycom_u_badge = () => "../u-badge/u-badge.js"; if (!Math) { - _easycom_u_badge(); + (_easycom_up_icon + _easycom_u_badge)(); } function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return { - a: common_vendor.f(_ctx.list, (item, index, i0) => { - return common_vendor.e(_ctx.$slots.content ? { - a: "content-" + i0, - b: common_vendor.r("content", { + a: common_vendor.f($data.tabList, (item, index, i0) => { + return common_vendor.e(_ctx.$slots.icon ? { + a: "icon-" + i0, + b: common_vendor.r("icon", { + item, + keyName: _ctx.keyName, + index + }, i0) + } : common_vendor.e({ + c: item.icon + }, item.icon ? { + d: "0546c3e4-0-" + i0, + e: common_vendor.p({ + name: item.icon, + customStyle: $options.addStyle(_ctx.iconStyle) + }) + } : {}), _ctx.$slots.content ? { + f: "content-" + i0, + g: common_vendor.r("content", { item, keyName: _ctx.keyName, index }, i0) } : !_ctx.$slots.content && (_ctx.$slots.default || _ctx.$slots.$default) ? { - c: "d-" + i0, - d: common_vendor.r("d", { + h: "d-" + i0, + i: common_vendor.r("d", { item, keyName: _ctx.keyName, index }, i0) } : { - e: common_vendor.t(item[_ctx.keyName]), - f: common_vendor.n(item.disabled && "u-tabs__wrapper__nav__item__text--disabled"), - g: common_vendor.s($options.textStyle(index)) + j: common_vendor.t(item[_ctx.keyName]), + k: common_vendor.n(item.disabled && "u-tabs__wrapper__nav__item__text--disabled"), + l: common_vendor.s($options.textStyle(index)) }, { - h: "0546c3e4-0-" + i0, - i: common_vendor.p({ + m: "0546c3e4-1-" + i0, + n: common_vendor.p({ show: !!(item.badge && (item.badge.show || item.badge.isDot || item.badge.value)), isDot: item.badge && item.badge.isDot || $options.propsBadge.isDot, value: item.badge && item.badge.value || $options.propsBadge.value, @@ -210,32 +241,34 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { inverted: item.badge && item.badge.inverted || $options.propsBadge.inverted, customStyle: "margin-left: 4px;" }), - j: index, - k: common_vendor.o(($event) => $options.clickHandler(item, index), index), - l: common_vendor.o(($event) => $options.longPressHandler(item, index), index), - m: `u-tabs__wrapper__nav__item-${index}`, - n: common_vendor.n(`u-tabs__wrapper__nav__item-${index}`), - o: common_vendor.n(item.disabled && "u-tabs__wrapper__nav__item--disabled"), - p: common_vendor.n($data.innerCurrent == index ? "u-tabs__wrapper__nav__item-active" : "") + o: index, + p: common_vendor.o(($event) => $options.clickHandler(item, index), index), + q: common_vendor.o(($event) => $options.longPressHandler(item, index), index), + r: `u-tabs__wrapper__nav__item-${index}`, + s: common_vendor.n(`u-tabs__wrapper__nav__item-${index}`), + t: common_vendor.n(item.disabled && "u-tabs__wrapper__nav__item--disabled"), + v: common_vendor.n($data.innerCurrent == index ? "u-tabs__wrapper__nav__item-active" : "") }); }), - b: _ctx.$slots.content, - c: !_ctx.$slots.content && (_ctx.$slots.default || _ctx.$slots.$default), - d: common_vendor.s($options.addStyle(_ctx.itemStyle)), - e: common_vendor.s({ + b: _ctx.$slots.icon, + c: _ctx.$slots.content, + d: !_ctx.$slots.content && (_ctx.$slots.default || _ctx.$slots.$default), + e: common_vendor.s($options.addStyle(_ctx.itemStyle)), + f: common_vendor.s({ flex: _ctx.scrollable ? "" : 1 }), - f: common_vendor.s({ + g: common_vendor.s({ width: $options.addUnit(_ctx.lineWidth), transform: `translate(${$data.lineOffsetLeft}px)`, - transitionDuration: `${$data.firstTime ? 0 : _ctx.duration}ms`, + transitionDuration: `${_ctx.duration}ms`, height: $options.addUnit(_ctx.lineHeight), background: _ctx.lineColor, - backgroundSize: _ctx.lineBgSize + backgroundSize: _ctx.lineBgSize, + display: $data.lineShow ? "block" : "none" }), - g: _ctx.scrollable, - h: $data.scrollLeft, - i: common_vendor.n(_ctx.customClass) + h: _ctx.scrollable, + i: $data.scrollLeft, + j: common_vendor.n(_ctx.customClass) }; } const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-0546c3e4"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/node_modules/uview-plus/components/u-tabs/u-tabs.vue"]]); diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.json b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.json index ac418c8..bab8d82 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.json +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.json @@ -1,6 +1,7 @@ { "component": true, "usingComponents": { + "up-icon": "../u-icon/u-icon", "u-badge": "../u-badge/u-badge" } } \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.wxml b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.wxml index 798259e..a37eae0 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.wxml +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.wxml @@ -1 +1 @@ -{{item.e}} \ No newline at end of file +{{item.j}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.wxss b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.wxss index befd9f3..ecf6d51 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.wxss +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-tabs/u-tabs.wxss @@ -23,34 +23,8 @@ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ -.u-empty.data-v-0546c3e4, -.u-empty__wrap.data-v-0546c3e4, -.u-tabs.data-v-0546c3e4, -.u-tabs__wrapper.data-v-0546c3e4, -.u-tabs__wrapper__scroll-view-wrapper.data-v-0546c3e4, -.u-tabs__wrapper__scroll-view.data-v-0546c3e4, -.u-tabs__wrapper__nav.data-v-0546c3e4, -.u-tabs__wrapper__nav__line.data-v-0546c3e4, -.up-empty.data-v-0546c3e4, -.up-empty__wrap.data-v-0546c3e4, -.up-tabs.data-v-0546c3e4, -.up-tabs__wrapper.data-v-0546c3e4, -.up-tabs__wrapper__scroll-view-wrapper.data-v-0546c3e4, -.up-tabs__wrapper__scroll-view.data-v-0546c3e4, -.up-tabs__wrapper__nav.data-v-0546c3e4, -.up-tabs__wrapper__nav__line.data-v-0546c3e4 { - display: flex; - flex-direction: column; - flex-shrink: 0; - flex-grow: 0; - flex-basis: auto; - align-items: stretch; - align-content: flex-start; -} .u-tabs__wrapper.data-v-0546c3e4 { - display: flex; - flex-direction: row; align-items: center; } @@ -59,24 +33,18 @@ overflow: auto hidden; } .u-tabs__wrapper__scroll-view.data-v-0546c3e4 { - display: flex; - flex-direction: row; flex: 1; } .u-tabs__wrapper__nav.data-v-0546c3e4 { - display: flex; - flex-direction: row; position: relative; } .u-tabs__wrapper__nav__item.data-v-0546c3e4 { padding: 0 11px; - display: flex; - flex-direction: row; align-items: center; justify-content: center; diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-text/u-text.js b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-text/u-text.js index ab10ce2..1244965 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-text/u-text.js +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-text/u-text.js @@ -2,7 +2,7 @@ const common_vendor = require("../../../../common/vendor.js"); const _sfc_main = { name: "up-text", - mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.value, common_vendor.buttonMixin, common_vendor.openType, common_vendor.props$9], + mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.value, common_vendor.buttonMixin, common_vendor.openType, common_vendor.props$10], emits: ["click"], computed: { wrapStyle() { @@ -55,14 +55,14 @@ const _sfc_main = { } }; if (!Array) { - const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon"); + const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon"); const _easycom_u_link2 = common_vendor.resolveComponent("u-link"); - (_easycom_u_icon2 + _easycom_u_link2)(); + (_easycom_up_icon2 + _easycom_u_link2)(); } -const _easycom_u_icon = () => "../u-icon/u-icon.js"; +const _easycom_up_icon = () => "../u-icon/u-icon.js"; const _easycom_u_link = () => "../u-link/u-link.js"; if (!Math) { - (_easycom_u_icon + _easycom_u_link)(); + (_easycom_up_icon + _easycom_u_link)(); } function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return common_vendor.e({ diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-text/u-text.json b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-text/u-text.json index 2056454..058cfad 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-text/u-text.json +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-text/u-text.json @@ -1,7 +1,7 @@ { "component": true, "usingComponents": { - "u-icon": "../u-icon/u-icon", + "up-icon": "../u-icon/u-icon", "u-link": "../u-link/u-link" } } \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-text/u-text.wxml b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-text/u-text.wxml index 0b39b76..e8e64f9 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-text/u-text.wxml +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-text/u-text.wxml @@ -1 +1 @@ -{{G}} \ No newline at end of file +{{G}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-text/u-text.wxss b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-text/u-text.wxss index 93437ef..8ef062d 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-text/u-text.wxss +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-text/u-text.wxss @@ -23,34 +23,8 @@ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ -.u-empty.data-v-5fec1d8b, -.u-empty__wrap.data-v-5fec1d8b, -.u-tabs.data-v-5fec1d8b, -.u-tabs__wrapper.data-v-5fec1d8b, -.u-tabs__wrapper__scroll-view-wrapper.data-v-5fec1d8b, -.u-tabs__wrapper__scroll-view.data-v-5fec1d8b, -.u-tabs__wrapper__nav.data-v-5fec1d8b, -.u-tabs__wrapper__nav__line.data-v-5fec1d8b, -.up-empty.data-v-5fec1d8b, -.up-empty__wrap.data-v-5fec1d8b, -.up-tabs.data-v-5fec1d8b, -.up-tabs__wrapper.data-v-5fec1d8b, -.up-tabs__wrapper__scroll-view-wrapper.data-v-5fec1d8b, -.up-tabs__wrapper__scroll-view.data-v-5fec1d8b, -.up-tabs__wrapper__nav.data-v-5fec1d8b, -.up-tabs__wrapper__nav__line.data-v-5fec1d8b { - display: flex; - flex-direction: column; - flex-shrink: 0; - flex-grow: 0; - flex-basis: auto; - align-items: stretch; - align-content: flex-start; -} .u-text.data-v-5fec1d8b { - display: flex; - flex-direction: row; align-items: center; flex-wrap: nowrap; @@ -61,9 +35,7 @@ } .u-text__value.data-v-5fec1d8b { font-size: 14px; - display: flex; - flex-direction: row; color: #606266; flex-wrap: wrap; diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.js b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.js index 9523b7b..38889fd 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.js +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.js @@ -33,7 +33,7 @@ const _sfc_main = { } }, // 将mixin挂在到组件中,实际上为一个vue格式对象。 - mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.transitionMixin, common_vendor.props$17], + mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.transitionMixin, common_vendor.props$18], watch: { show: { handler(newVal) { diff --git a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.wxss b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.wxss index 9d50a93..a3c45d1 100644 --- a/dist/dev/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.wxss +++ b/dist/dev/mp-weixin/node-modules/uview-plus/components/u-transition/u-transition.wxss @@ -23,31 +23,6 @@ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ -.u-empty.data-v-0573594d, -.u-empty__wrap.data-v-0573594d, -.u-tabs.data-v-0573594d, -.u-tabs__wrapper.data-v-0573594d, -.u-tabs__wrapper__scroll-view-wrapper.data-v-0573594d, -.u-tabs__wrapper__scroll-view.data-v-0573594d, -.u-tabs__wrapper__nav.data-v-0573594d, -.u-tabs__wrapper__nav__line.data-v-0573594d, -.up-empty.data-v-0573594d, -.up-empty__wrap.data-v-0573594d, -.up-tabs.data-v-0573594d, -.up-tabs__wrapper.data-v-0573594d, -.up-tabs__wrapper__scroll-view-wrapper.data-v-0573594d, -.up-tabs__wrapper__scroll-view.data-v-0573594d, -.up-tabs__wrapper__nav.data-v-0573594d, -.up-tabs__wrapper__nav__line.data-v-0573594d { - display: flex; - flex-direction: column; - flex-shrink: 0; - flex-grow: 0; - flex-basis: auto; - align-items: stretch; - align-content: flex-start; -} - /** * vue版本动画内置的动画模式有如下: * fade:淡入 diff --git a/dist/dev/mp-weixin/pages/index/components/Classification.js b/dist/dev/mp-weixin/pages/index/components/Classification.js index eeee61b..116a570 100644 --- a/dist/dev/mp-weixin/pages/index/components/Classification.js +++ b/dist/dev/mp-weixin/pages/index/components/Classification.js @@ -10,7 +10,11 @@ require("../../../common/store/useWorkStore.js"); require("../../../common/libraries/apiLoading.js"); const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ __name: "Classification", + props: [ + "item" + ], setup(__props) { + const props = __props; const goToPage = (url) => { var _a; if (url) { @@ -34,14 +38,16 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ }; const list = [ { - label: "新增工单", - icon: "workorder_icon.svg", - url: "/ME/work_order_home/index" + label: "房屋缴费", + icon: "house_icon.svg", + url: "/CUSTOMER/list_house/index", + key: "" }, { - label: "房屋管理", - icon: "house_icon.svg", - url: "/CUSTOMER/list_house/index" + label: "新增工单", + icon: "workorder_icon.svg", + url: "/ME/work_order_home/index", + key: "" }, { label: "任务中心", @@ -50,59 +56,78 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ key: "houseWorkOrderCount" }, { - label: "仪表抄表", - icon: "meter_reading_icon.svg", - url: "/ME/instrument/list/index" + label: "打卡考勤", + icon: "CheckInIcon.svg", + url: "/ME/attendance/my_schedules/index", + key: "" }, { label: "水印相机", icon: "WatermarkCamera.svg", - url: "/INDEX/watermark_camera/index" + url: "/INDEX/watermark_camera/index", + key: "" }, { label: "客户管理", icon: "user_icon.svg", - url: "/CUSTOMER/list_user/index" + url: "/CUSTOMER/list_user/index", + key: "" }, { - label: "数据看板", - icon: "performance_icon.svg", - url: "/pages/data_oard/index" + label: "住户登记", + icon: "household_registration.svg", + url: "/CUSTOMER/bind_house_form/index", + key: "" }, + { + label: "仪表抄表", + icon: "meter_reading_icon.svg", + url: "/pages/public/asset_houses/index?type=meter", + key: "" + // url: '/ME/instrument/list/index' + }, + // { + // label: '数据看板', + // icon: 'performance_icon.svg', + // url: '/pages/data_oard/index' + // }, // { // label: '知识问答', // icon: 'knowledge_icon.svg', // url: '/ME/knowledge_qa/index' // }, { - label: "住户登记", - icon: "household_registration.svg", - url: "/CUSTOMER/bind_house_form/index" + label: "突发事件", + icon: "emergency_icon.svg", + url: "/ME/emergency/list/index", + key: "emergencyEventCount" }, { - label: "催缴记录", - icon: "collection_icon.svg", - url: "/BILL/collection_record/index/index" - }, - { - label: "公告", + label: "项目公告", icon: "announcement.svg", - url: "/ME/announcement/list/index" + url: "/ME/announcement/list/index", + key: "unread_count" } ]; + const getJingangArea = (idx) => { + return list[idx]; + }; return (_ctx, _cache) => { return { - a: common_vendor.f(list, (i, index, i0) => { - var _a, _b, _c, _d, _e, _f, _g, _h, _i; + a: common_vendor.f(props == null ? void 0 : props.item, (i, index, i0) => { + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n; return common_vendor.e({ - a: `/static/svg/${i.icon}`, - b: (i == null ? void 0 : i.key) && ((_c = (_b = (_a = common_vendor.unref(pages_index_model.useModel)) == null ? void 0 : _a.IndexCount) == null ? void 0 : _b.value) == null ? void 0 : _c[i == null ? void 0 : i.key]) - }, (i == null ? void 0 : i.key) && ((_f = (_e = (_d = common_vendor.unref(pages_index_model.useModel)) == null ? void 0 : _d.IndexCount) == null ? void 0 : _e.value) == null ? void 0 : _f[i == null ? void 0 : i.key]) ? { - c: common_vendor.t(((_i = (_h = (_g = common_vendor.unref(pages_index_model.useModel)) == null ? void 0 : _g.IndexCount) == null ? void 0 : _h.value) == null ? void 0 : _i[i == null ? void 0 : i.key]) || 0) + a: `/static/svg/${(_a = getJingangArea(i == null ? void 0 : i.path)) == null ? void 0 : _a.icon}`, + b: (i == null ? void 0 : i.key) && ((_e = (_c = (_b = common_vendor.unref(pages_index_model.useModel)) == null ? void 0 : _b.IndexCount) == null ? void 0 : _c.value) == null ? void 0 : _e[(_d = getJingangArea(i == null ? void 0 : i.path)) == null ? void 0 : _d.key]) + }, (i == null ? void 0 : i.key) && ((_i = (_g = (_f = common_vendor.unref(pages_index_model.useModel)) == null ? void 0 : _f.IndexCount) == null ? void 0 : _g.value) == null ? void 0 : _i[(_h = getJingangArea(i == null ? void 0 : i.path)) == null ? void 0 : _h.key]) ? { + c: common_vendor.t(((_m = (_k = (_j = common_vendor.unref(pages_index_model.useModel)) == null ? void 0 : _j.IndexCount) == null ? void 0 : _k.value) == null ? void 0 : _m[(_l = getJingangArea(i == null ? void 0 : i.path)) == null ? void 0 : _l.key]) || 0) } : {}, { - d: common_vendor.t(i.label), + d: common_vendor.t((_n = getJingangArea(i == null ? void 0 : i.path)) == null ? void 0 : _n.label), e: `items_${index}`, - f: common_vendor.o(($event) => goToPage(i == null ? void 0 : i.url), `items_${index}`) + f: common_vendor.o(($event) => { + var _a2; + return goToPage((_a2 = getJingangArea(i == null ? void 0 : i.path)) == null ? void 0 : _a2.url); + }, `items_${index}`) }); }) }; diff --git a/dist/dev/mp-weixin/pages/index/components/Classification.wxss b/dist/dev/mp-weixin/pages/index/components/Classification.wxss index 8da1580..dd2cd71 100644 --- a/dist/dev/mp-weixin/pages/index/components/Classification.wxss +++ b/dist/dev/mp-weixin/pages/index/components/Classification.wxss @@ -6,7 +6,7 @@ } .class_ification .items.data-v-1833569a { text-align: center; - font-size: 22rpx; + font-size: 24rpx; width: 20%; padding-top: 30rpx; } diff --git a/dist/dev/mp-weixin/pages/index/components/ShowData.js b/dist/dev/mp-weixin/pages/index/components/ShowData.js index 8bb026a..bf98c2c 100644 --- a/dist/dev/mp-weixin/pages/index/components/ShowData.js +++ b/dist/dev/mp-weixin/pages/index/components/ShowData.js @@ -8,59 +8,35 @@ require("../../../gen/Apis.js"); require("../../../common/store/useWatermarkStore.js"); require("../../../common/store/useWorkStore.js"); require("../../../common/libraries/apiLoading.js"); -if (!Array) { - const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons"); - _easycom_uni_icons2(); -} -const _easycom_uni_icons = () => "../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"; -if (!Math) { - _easycom_uni_icons(); -} const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ __name: "ShowData", setup(__props) { const userLoginStatus = common_vendor.ref(false); - const newsData = [ - "【王三平】8栋1101,已支付10月物业费,987元", - "【酆志明】7栋1101,已支付10月物业费,123.81元", - "【滕志勇】8栋2101,已支付10月物业费,378元", - "【康春芳】7栋1101,已支付10月物业费,322元", - "【康春芳】5栋0301,已支付10月物业费,322元", - "【沈妹】5栋1001,已支付10月停车月卡费,600元", - "【袁小丽】5栋1201,已支付10月物业费,222.21元", - "【雷海龙】1栋1102,已支付10月物业费,762元", - "【黄雪松】2栋1202,已支付10月停车月卡费,600元", - "【孟丽华】1栋0903,已支付10月物业费,882元" - ]; const toPage = (url) => { var _a; common_vendor.index.navigateTo({ url: !((_a = common_libraries_userUserLogin.getUser) == null ? void 0 : _a.getLoginStatus()) ? "/pages/login" : url || "" }); }; - common_vendor.onShow(async () => { - var _a, _b; + common_vendor.onMounted(async () => { + var _a, _b, _c, _d; await ((_a = common_vendor.getCurrentInstance()) == null ? void 0 : _a.appContext.config.globalProperties.$onLaunched); userLoginStatus.value = (_b = common_libraries_userUserLogin.getUser) == null ? void 0 : _b.getLoginStatus(); + console.log("useModel?.userData?.value", (_d = (_c = pages_index_model.useModel) == null ? void 0 : _c.userData) == null ? void 0 : _d.value); + }); + common_vendor.onShow(async () => { + var _a, _b, _c, _d; + await ((_a = common_vendor.getCurrentInstance()) == null ? void 0 : _a.appContext.config.globalProperties.$onLaunched); + userLoginStatus.value = (_b = common_libraries_userUserLogin.getUser) == null ? void 0 : _b.getLoginStatus(); + console.log("useModel?.userData?.value", (_d = (_c = pages_index_model.useModel) == null ? void 0 : _c.userData) == null ? void 0 : _d.value); }); return (_ctx, _cache) => { - var _a, _b; + var _a, _b, _c, _d, _e, _f; return { - a: common_vendor.t(userLoginStatus.value ? ((_a = common_vendor.unref(pages_index_model.useModel).userData.value) == null ? void 0 : _a.arrearage_house_num) || "0" : "-"), + a: common_vendor.t(userLoginStatus.value ? ((_c = (_b = (_a = common_vendor.unref(pages_index_model.useModel)) == null ? void 0 : _a.userData) == null ? void 0 : _b.value) == null ? void 0 : _c.arrearage_house_num) || "0" : "-"), b: common_vendor.o(($event) => toPage("/BILL/outstanding_fee/index/index")), - c: common_vendor.t(userLoginStatus.value ? ((_b = common_vendor.unref(pages_index_model.useModel).userData.value) == null ? void 0 : _b.work_order_num) || "0" : "-"), - d: common_vendor.o(($event) => toPage("/WORKORDER/list/index")), - e: common_vendor.p({ - type: "notification", - color: "#0082FA", - size: "18" - }), - f: common_vendor.f(newsData, (i, index, i0) => { - return { - a: common_vendor.t(i), - b: `items_${index}` - }; - }) + c: common_vendor.t(userLoginStatus.value ? ((_f = (_e = (_d = common_vendor.unref(pages_index_model.useModel)) == null ? void 0 : _d.userData) == null ? void 0 : _e.value) == null ? void 0 : _f.work_order_num) || "0" : "-"), + d: common_vendor.o(($event) => toPage("/WORKORDER/list/index")) }; }; } diff --git a/dist/dev/mp-weixin/pages/index/components/ShowData.json b/dist/dev/mp-weixin/pages/index/components/ShowData.json index b513180..e8cfaaf 100644 --- a/dist/dev/mp-weixin/pages/index/components/ShowData.json +++ b/dist/dev/mp-weixin/pages/index/components/ShowData.json @@ -1,6 +1,4 @@ { "component": true, - "usingComponents": { - "uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons" - } + "usingComponents": {} } \ No newline at end of file diff --git a/dist/dev/mp-weixin/pages/index/components/ShowData.wxml b/dist/dev/mp-weixin/pages/index/components/ShowData.wxml index 1df45ec..5610ef4 100644 --- a/dist/dev/mp-weixin/pages/index/components/ShowData.wxml +++ b/dist/dev/mp-weixin/pages/index/components/ShowData.wxml @@ -1 +1 @@ -{{a}}欠费房屋{{c}}工单任务-托收任务-推送任务{{i.a}} \ No newline at end of file +{{a}}欠费房屋{{c}}工单任务-托收任务-推送任务 \ No newline at end of file diff --git a/dist/dev/mp-weixin/pages/index/components/ToDeDone.js b/dist/dev/mp-weixin/pages/index/components/ToDeDone.js index ea8e79c..1e6b4ae 100644 --- a/dist/dev/mp-weixin/pages/index/components/ToDeDone.js +++ b/dist/dev/mp-weixin/pages/index/components/ToDeDone.js @@ -4,8 +4,8 @@ const pages_index_model = require("../model.js"); if (!Math) { (MyTemplateWorkorder + MyTemplateMomentTask)(); } -const MyTemplateWorkorder = () => "./TemplateWorkorder.js"; const MyTemplateMomentTask = () => "./TemplateMomentTask.js"; +const MyTemplateWorkorder = () => "./TemplateWorkorder.js"; const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ __name: "ToDeDone", setup(__props) { diff --git a/dist/dev/mp-weixin/pages/index/components/ToDeDone.json b/dist/dev/mp-weixin/pages/index/components/ToDeDone.json index 1bd10d6..03f5f9e 100644 --- a/dist/dev/mp-weixin/pages/index/components/ToDeDone.json +++ b/dist/dev/mp-weixin/pages/index/components/ToDeDone.json @@ -1,7 +1,7 @@ { "component": true, "usingComponents": { - "my-template-workorder": "./TemplateWorkorder", - "my-template-moment-task": "./TemplateMomentTask" + "my-template-moment-task": "./TemplateMomentTask", + "my-template-workorder": "./TemplateWorkorder" } } \ No newline at end of file diff --git a/dist/dev/mp-weixin/pages/index/index.js b/dist/dev/mp-weixin/pages/index/index.js index 8a83c19..a643f6d 100644 --- a/dist/dev/mp-weixin/pages/index/index.js +++ b/dist/dev/mp-weixin/pages/index/index.js @@ -10,14 +10,16 @@ require("../../common/store/useWatermarkStore.js"); require("../../common/store/useWorkStore.js"); require("../../common/libraries/apiLoading.js"); if (!Array) { + const _easycom_hs_empty2 = common_vendor.resolveComponent("hs-empty"); const _easycom_cc_scroll_loading2 = common_vendor.resolveComponent("cc-scroll-loading"); const _easycom_cc_root_view2 = common_vendor.resolveComponent("cc-root-view"); - (_easycom_cc_scroll_loading2 + _easycom_cc_root_view2)(); + (_easycom_hs_empty2 + _easycom_cc_scroll_loading2 + _easycom_cc_root_view2)(); } +const _easycom_hs_empty = () => "../../components/hs-empty/hs-empty.js"; const _easycom_cc_scroll_loading = () => "../../common/components/cc-scroll-loading/cc-scroll-loading.js"; const _easycom_cc_root_view = () => "../../common/components/cc-root-view/cc-root-view.js"; if (!Math) { - (MyHeaderTitle + MyShowData + MyClassIfication + MyToDeDone + _easycom_cc_scroll_loading + _easycom_cc_root_view)(); + (MyHeaderTitle + _easycom_hs_empty + MyShowData + MyClassIfication + MyToDeDone + _easycom_cc_scroll_loading + _easycom_cc_root_view)(); } const MyClassIfication = () => "./components/Classification.js"; const MyHeaderTitle = () => "./components/HeaderTitle.js"; @@ -27,14 +29,15 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({ __name: "index", setup(__props) { common_vendor.onShow(async () => { - var _a, _b, _c, _d, _e; + var _a, _b, _c, _d, _e, _f; await ((_a = common_vendor.getCurrentInstance()) == null ? void 0 : _a.appContext.config.globalProperties.$onLaunched); - if ((_b = common_libraries_userUserLogin.getUser) == null ? void 0 : _b.getLoginStatus()) { + (_b = pages_index_method.method) == null ? void 0 : _b.getPageRole(); + if ((_c = common_libraries_userUserLogin.getUser) == null ? void 0 : _c.getLoginStatus()) { pages_index_model.useModel.formData.value.page = 1; pages_index_model.useModel.listData.value = []; - (_c = pages_index_method.method) == null ? void 0 : _c.getCountGridHouse(); - (_d = pages_index_method.method) == null ? void 0 : _d.getCompanyEmployeeBacklogs(); - (_e = pages_index_method.method) == null ? void 0 : _e.getIndexCount(); + (_d = pages_index_method.method) == null ? void 0 : _d.getCountGridHouse(); + (_e = pages_index_method.method) == null ? void 0 : _e.getCompanyEmployeeBacklogs(); + (_f = pages_index_method.method) == null ? void 0 : _f.getIndexCount(); } else { pages_index_model.useModel.userData.value = void 0; pages_index_model.useModel.listData.value = []; @@ -54,13 +57,40 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({ }; }); return (_ctx, _cache) => { - var _a, _b, _c; - return { - a: common_vendor.o((_a = common_vendor.unref(pages_index_method.method)) == null ? void 0 : _a.loadMore), + var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o; + return common_vendor.e({ + a: ((_b = (_a = common_vendor.unref(pages_index_model.useModel)) == null ? void 0 : _a.loadingPage) == null ? void 0 : _b.value) && !((_e = (_d = (_c = common_vendor.unref(pages_index_model.useModel)) == null ? void 0 : _c.pageRole) == null ? void 0 : _d.value) == null ? void 0 : _e.length) + }, ((_g = (_f = common_vendor.unref(pages_index_model.useModel)) == null ? void 0 : _f.loadingPage) == null ? void 0 : _g.value) && !((_j = (_i = (_h = common_vendor.unref(pages_index_model.useModel)) == null ? void 0 : _h.pageRole) == null ? void 0 : _i.value) == null ? void 0 : _j.length) ? { b: common_vendor.p({ - meta: (_c = (_b = common_vendor.unref(pages_index_model.useModel)) == null ? void 0 : _b.metaData) == null ? void 0 : _c.value + text: "暂无权限", + iconName: "no_jurisdictio" }) - }; + } : { + c: common_vendor.f(((_l = (_k = common_vendor.unref(pages_index_model.useModel)) == null ? void 0 : _k.pageRole) == null ? void 0 : _l.value) || [], (i, k0, i0) => { + return common_vendor.e({ + a: (i == null ? void 0 : i.key) === "date" + }, (i == null ? void 0 : i.key) === "date" ? { + b: "76f3138a-4-" + i0 + ",76f3138a-3" + } : {}, { + c: (i == null ? void 0 : i.key) === "jingangarea" + }, (i == null ? void 0 : i.key) === "jingangarea" ? { + d: "76f3138a-5-" + i0 + ",76f3138a-3", + e: common_vendor.p({ + item: i == null ? void 0 : i.children + }) + } : {}, { + f: (i == null ? void 0 : i.key) === "to_do_details" + }, (i == null ? void 0 : i.key) === "to_do_details" ? { + g: "76f3138a-6-" + i0 + ",76f3138a-3" + } : {}, { + h: i == null ? void 0 : i.key + }); + }), + d: common_vendor.o((_m = common_vendor.unref(pages_index_method.method)) == null ? void 0 : _m.loadMore), + e: common_vendor.p({ + meta: (_o = (_n = common_vendor.unref(pages_index_model.useModel)) == null ? void 0 : _n.metaData) == null ? void 0 : _o.value + }) + }); }; } }); diff --git a/dist/dev/mp-weixin/pages/index/index.json b/dist/dev/mp-weixin/pages/index/index.json index bddde25..86a2570 100644 --- a/dist/dev/mp-weixin/pages/index/index.json +++ b/dist/dev/mp-weixin/pages/index/index.json @@ -2,6 +2,7 @@ "navigationBarTitleText": "首页", "navigationStyle": "custom", "usingComponents": { + "hs-empty": "../../components/hs-empty/hs-empty", "cc-scroll-loading": "../../common/components/cc-scroll-loading/cc-scroll-loading", "cc-root-view": "../../common/components/cc-root-view/cc-root-view", "my-class-ification": "./components/Classification", diff --git a/dist/dev/mp-weixin/pages/index/index.wxml b/dist/dev/mp-weixin/pages/index/index.wxml index 4f605f0..4691153 100644 --- a/dist/dev/mp-weixin/pages/index/index.wxml +++ b/dist/dev/mp-weixin/pages/index/index.wxml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/dist/dev/mp-weixin/pages/index/method.js b/dist/dev/mp-weixin/pages/index/method.js index 2d676ce..6b13678 100644 --- a/dist/dev/mp-weixin/pages/index/method.js +++ b/dist/dev/mp-weixin/pages/index/method.js @@ -6,7 +6,7 @@ require("../../common/store/useWorkStore.js"); const common_libraries_apiLoading = require("../../common/libraries/apiLoading.js"); const gen_Apis = require("../../gen/Apis.js"); const pages_index_model = require("./model.js"); -common_store_useWeAppAuthStore.useWeAppAuthStore(); +const auth = common_store_useWeAppAuthStore.useWeAppAuthStore(); const getCompanyEmployeeBacklogs = () => { var _a, _b; common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Company.CompanyEmployeeBacklogs.List, (_b = (_a = pages_index_model.useModel) == null ? void 0 : _a.formData) == null ? void 0 : _b.value).then((res) => { @@ -37,6 +37,12 @@ const method = { pages_index_model.useModel.IndexCount.value = res.data; console.log(res); }); + }, + getPageRole() { + var _a, _b, _c; + pages_index_model.useModel.loadingPage.value = true; + pages_index_model.useModel.pageRole.value = ((_c = (_b = (_a = auth == null ? void 0 : auth.data) == null ? void 0 : _a.permissions) == null ? void 0 : _b.find((item) => (item == null ? void 0 : item.key) === "home")) == null ? void 0 : _c.children) || []; + console.log(pages_index_model.useModel.pageRole.value, "useModel.pageRole.value"); } }; exports.method = method; diff --git a/dist/dev/mp-weixin/pages/index/model.js b/dist/dev/mp-weixin/pages/index/model.js index 75f66ba..278af6e 100644 --- a/dist/dev/mp-weixin/pages/index/model.js +++ b/dist/dev/mp-weixin/pages/index/model.js @@ -2,10 +2,12 @@ const common_vendor = require("../../common/vendor.js"); const useModel = { formData: common_vendor.ref({ page: 1, status: "Pending" }), + loadingPage: common_vendor.ref(false), listData: common_vendor.ref([]), metaData: common_vendor.ref({}), userData: common_vendor.ref({}), announcementsData: common_vendor.ref([]), - IndexCount: common_vendor.ref({}) + IndexCount: common_vendor.ref({}), + pageRole: common_vendor.ref([]) }; exports.useModel = useModel; diff --git a/dist/dev/mp-weixin/pages/public/asset_houses/components/MeHouseItem.js b/dist/dev/mp-weixin/pages/public/asset_houses/components/MeHouseItem.js index 7a85dab..48661f5 100644 --- a/dist/dev/mp-weixin/pages/public/asset_houses/components/MeHouseItem.js +++ b/dist/dev/mp-weixin/pages/public/asset_houses/components/MeHouseItem.js @@ -2,12 +2,12 @@ const common_vendor = require("../../../../common/vendor.js"); const pages_public_asset_houses_method = require("../method.js"); const pages_public_asset_houses_model = require("../model.js"); -require("../../../../common/libraries/apiLoading.js"); -require("../../../../gen/Apis.js"); require("../../../../common/libraries/request.js"); require("../../../../common/store/useWeAppAuthStore.js"); +require("../../../../gen/Apis.js"); require("../../../../common/store/useWatermarkStore.js"); require("../../../../common/store/useWorkStore.js"); +require("../../../../common/libraries/apiLoading.js"); require("../../../../common/libraries/naviHelper.js"); require("../../../../common/libraries/userUserLogin.js"); if (!Array) { @@ -31,9 +31,9 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ b: common_vendor.f((_h = (_g = common_vendor.unref(pages_public_asset_houses_model.useModel)) == null ? void 0 : _g.dataList) == null ? void 0 : _h.value, (i, index, i0) => { var _a2, _b2; return common_vendor.e({ - a: common_vendor.t(i == null ? void 0 : i.label), - b: (i == null ? void 0 : i.value) === ((_a2 = common_vendor.unref(pages_public_asset_houses_model.useModel).selectedHouseEd.value) == null ? void 0 : _a2.id) - }, (i == null ? void 0 : i.value) === ((_b2 = common_vendor.unref(pages_public_asset_houses_model.useModel).selectedHouseEd.value) == null ? void 0 : _b2.id) ? { + a: common_vendor.t(i == null ? void 0 : i.full_name), + b: (i == null ? void 0 : i.id) === ((_a2 = common_vendor.unref(pages_public_asset_houses_model.useModel).selectedHouseEd.value) == null ? void 0 : _a2.id) + }, (i == null ? void 0 : i.id) === ((_b2 = common_vendor.unref(pages_public_asset_houses_model.useModel).selectedHouseEd.value) == null ? void 0 : _b2.id) ? { c: "887947da-1-" + i0, d: common_vendor.p({ type: "checkbox-filled", diff --git a/dist/dev/mp-weixin/pages/public/asset_houses/components/MeProjectItem.js b/dist/dev/mp-weixin/pages/public/asset_houses/components/MeProjectItem.js new file mode 100644 index 0000000..fea8d94 --- /dev/null +++ b/dist/dev/mp-weixin/pages/public/asset_houses/components/MeProjectItem.js @@ -0,0 +1,57 @@ +"use strict"; +const common_vendor = require("../../../../common/vendor.js"); +const pages_public_asset_houses_method = require("../method.js"); +const pages_public_asset_houses_model = require("../model.js"); +require("../../../../common/libraries/request.js"); +require("../../../../common/store/useWeAppAuthStore.js"); +require("../../../../gen/Apis.js"); +require("../../../../common/store/useWatermarkStore.js"); +require("../../../../common/store/useWorkStore.js"); +require("../../../../common/libraries/apiLoading.js"); +require("../../../../common/libraries/naviHelper.js"); +require("../../../../common/libraries/userUserLogin.js"); +if (!Array) { + const _easycom_hs_empty2 = common_vendor.resolveComponent("hs-empty"); + const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons"); + (_easycom_hs_empty2 + _easycom_uni_icons2)(); +} +const _easycom_hs_empty = () => "../../../../components/hs-empty/hs-empty.js"; +const _easycom_uni_icons = () => "../../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"; +if (!Math) { + (_easycom_hs_empty + _easycom_uni_icons)(); +} +const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ + __name: "MeProjectItem", + setup(__props) { + return (_ctx, _cache) => { + var _a, _b, _c, _d, _e, _f, _g, _h; + return common_vendor.e({ + a: !((_c = (_b = (_a = common_vendor.unref(pages_public_asset_houses_model.useModel)) == null ? void 0 : _a.dataList) == null ? void 0 : _b.value) == null ? void 0 : _c.length) + }, !((_f = (_e = (_d = common_vendor.unref(pages_public_asset_houses_model.useModel)) == null ? void 0 : _d.dataList) == null ? void 0 : _e.value) == null ? void 0 : _f.length) ? {} : {}, { + b: common_vendor.f((_h = (_g = common_vendor.unref(pages_public_asset_houses_model.useModel)) == null ? void 0 : _g.dataList) == null ? void 0 : _h.value, (i, index, i0) => { + return { + a: common_vendor.t(i == null ? void 0 : i.name), + b: common_vendor.t(i == null ? void 0 : i.province), + c: common_vendor.t(i == null ? void 0 : i.city), + d: common_vendor.t(i == null ? void 0 : i.area), + e: common_vendor.t(i == null ? void 0 : i.street), + f: common_vendor.t(i == null ? void 0 : i.address), + g: "3e14d908-1-" + i0, + h: common_vendor.o(($event) => { + var _a2; + return (_a2 = common_vendor.unref(pages_public_asset_houses_method.method)) == null ? void 0 : _a2.handleSelectedProject(i); + }, `item_${index}`), + i: `item_${index}` + }; + }), + c: common_vendor.p({ + type: "arrow-right", + size: "18", + color: "#0082FA" + }) + }); + }; + } +}); +const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-3e14d908"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/pages/public/asset_houses/components/MeProjectItem.vue"]]); +wx.createComponent(Component); diff --git a/dist/dev/mp-weixin/pages/public/asset_houses/components/MeProjectItem.json b/dist/dev/mp-weixin/pages/public/asset_houses/components/MeProjectItem.json new file mode 100644 index 0000000..36346fb --- /dev/null +++ b/dist/dev/mp-weixin/pages/public/asset_houses/components/MeProjectItem.json @@ -0,0 +1,7 @@ +{ + "component": true, + "usingComponents": { + "hs-empty": "../../../../components/hs-empty/hs-empty", + "uni-icons": "../../../../uni_modules/uni-icons/components/uni-icons/uni-icons" + } +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/pages/public/asset_houses/components/MeProjectItem.wxml b/dist/dev/mp-weixin/pages/public/asset_houses/components/MeProjectItem.wxml new file mode 100644 index 0000000..9fc9417 --- /dev/null +++ b/dist/dev/mp-weixin/pages/public/asset_houses/components/MeProjectItem.wxml @@ -0,0 +1 @@ +{{i.a}}{{i.b}}{{i.c}}{{i.d}}{{i.e}}{{i.f}} 进入该项目抄表 \ No newline at end of file diff --git a/dist/dev/mp-weixin/pages/public/asset_houses/components/MeProjectItem.wxss b/dist/dev/mp-weixin/pages/public/asset_houses/components/MeProjectItem.wxss new file mode 100644 index 0000000..3d517e4 --- /dev/null +++ b/dist/dev/mp-weixin/pages/public/asset_houses/components/MeProjectItem.wxss @@ -0,0 +1,11 @@ +.asset_project_btn.data-v-3e14d908 { + display: flex; + align-items: center; + justify-content: center; + font-size: 25rpx; + color: #0082FA; +} +.address.data-v-3e14d908 { + color: #999; + font-size: 24rpx; +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/pages/public/asset_houses/index.js b/dist/dev/mp-weixin/pages/public/asset_houses/index.js index bb3f7d0..f5a5065 100644 --- a/dist/dev/mp-weixin/pages/public/asset_houses/index.js +++ b/dist/dev/mp-weixin/pages/public/asset_houses/index.js @@ -1,19 +1,25 @@ "use strict"; const common_vendor = require("../../../common/vendor.js"); -const pages_public_asset_houses_method = require("./method.js"); -const pages_public_asset_houses_model = require("./model.js"); require("../../../common/libraries/request.js"); require("../../../common/store/useWatermarkStore.js"); const common_store_useWeAppAuthStore = require("../../../common/store/useWeAppAuthStore.js"); require("../../../common/store/useWorkStore.js"); -require("../../../common/libraries/apiLoading.js"); +const pages_public_asset_houses_method = require("./method.js"); +const pages_public_asset_houses_model = require("./model.js"); require("../../../gen/Apis.js"); +require("../../../common/libraries/apiLoading.js"); require("../../../common/libraries/naviHelper.js"); require("../../../common/libraries/userUserLogin.js"); +if (!Array) { + const _easycom_u_search2 = common_vendor.resolveComponent("u-search"); + _easycom_u_search2(); +} +const _easycom_u_search = () => "../../../node-modules/uview-plus/components/u-search/u-search.js"; if (!Math) { - MyMeHouseItem(); + (_easycom_u_search + MyMeHouseItem + MyMeProjectItem)(); } const MyMeHouseItem = () => "./components/MeHouseItem.js"; +const MyMeProjectItem = () => "./components/MeProjectItem.js"; const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ __name: "index", setup(__props) { @@ -25,7 +31,19 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ (_a = pages_public_asset_houses_method.method) == null ? void 0 : _a.handleLoadMore(1); }); return (_ctx, _cache) => { - return {}; + var _a, _b, _c, _d, _e, _f, _g, _h, _i; + return common_vendor.e({ + a: common_vendor.o((_a = common_vendor.unref(pages_public_asset_houses_method.method)) == null ? void 0 : _a.onSearch), + b: common_vendor.o(($event) => common_vendor.unref(pages_public_asset_houses_model.useModel).formData.value.name = $event), + c: common_vendor.p({ + placeholder: "请输入关键词搜索", + showAction: false, + modelValue: common_vendor.unref(pages_public_asset_houses_model.useModel).formData.value.name + }), + d: ((_c = (_b = common_vendor.unref(pages_public_asset_houses_model.useModel)) == null ? void 0 : _b.selectType) == null ? void 0 : _c.value) === "work_add" + }, ((_e = (_d = common_vendor.unref(pages_public_asset_houses_model.useModel)) == null ? void 0 : _d.selectType) == null ? void 0 : _e.value) === "work_add" ? {} : {}, { + e: ((_g = (_f = common_vendor.unref(pages_public_asset_houses_model.useModel)) == null ? void 0 : _f.selectType) == null ? void 0 : _g.value) === "meter" + }, ((_i = (_h = common_vendor.unref(pages_public_asset_houses_model.useModel)) == null ? void 0 : _h.selectType) == null ? void 0 : _i.value) === "meter" ? {} : {}); }; } }); diff --git a/dist/dev/mp-weixin/pages/public/asset_houses/index.json b/dist/dev/mp-weixin/pages/public/asset_houses/index.json index c2ba4c8..2030eb8 100644 --- a/dist/dev/mp-weixin/pages/public/asset_houses/index.json +++ b/dist/dev/mp-weixin/pages/public/asset_houses/index.json @@ -1,6 +1,8 @@ { "navigationBarTitleText": "房屋管理", "usingComponents": { - "my-me-house-item": "./components/MeHouseItem" + "u-search": "../../../node-modules/uview-plus/components/u-search/u-search", + "my-me-house-item": "./components/MeHouseItem", + "my-me-project-item": "./components/MeProjectItem" } } \ No newline at end of file diff --git a/dist/dev/mp-weixin/pages/public/asset_houses/index.wxml b/dist/dev/mp-weixin/pages/public/asset_houses/index.wxml index 9b38a08..b4300bd 100644 --- a/dist/dev/mp-weixin/pages/public/asset_houses/index.wxml +++ b/dist/dev/mp-weixin/pages/public/asset_houses/index.wxml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/dist/dev/mp-weixin/pages/public/asset_houses/index.wxss b/dist/dev/mp-weixin/pages/public/asset_houses/index.wxss index 4954fb6..65450e1 100644 --- a/dist/dev/mp-weixin/pages/public/asset_houses/index.wxss +++ b/dist/dev/mp-weixin/pages/public/asset_houses/index.wxss @@ -1,8 +1,21 @@ page { background-color: #f8f8f8; } +.header_search_box { + position: fixed; + top: 0; + left: 0; + right: 0; + z-index: 100; + background-color: #fff; + height: 100rpx; + padding: 0 30rpx; + display: flex; + align-items: center; +} .asset_houses { padding-bottom: 160rpx; + padding-top: 100rpx; } .asset_houses .asset_houses_card { margin: 30rpx 30rpx 0 30rpx; diff --git a/dist/dev/mp-weixin/pages/public/asset_houses/method.js b/dist/dev/mp-weixin/pages/public/asset_houses/method.js index 063d45f..c72b4c6 100644 --- a/dist/dev/mp-weixin/pages/public/asset_houses/method.js +++ b/dist/dev/mp-weixin/pages/public/asset_houses/method.js @@ -1,42 +1,77 @@ "use strict"; const common_vendor = require("../../../common/vendor.js"); -const common_libraries_apiLoading = require("../../../common/libraries/apiLoading.js"); -const gen_Apis = require("../../../gen/Apis.js"); -const pages_public_asset_houses_model = require("./model.js"); -const common_libraries_naviHelper = require("../../../common/libraries/naviHelper.js"); require("../../../common/libraries/request.js"); require("../../../common/store/useWatermarkStore.js"); require("../../../common/store/useWeAppAuthStore.js"); const common_store_useWorkStore = require("../../../common/store/useWorkStore.js"); +const common_libraries_apiLoading = require("../../../common/libraries/apiLoading.js"); +const common_libraries_naviHelper = require("../../../common/libraries/naviHelper.js"); const common_libraries_userUserLogin = require("../../../common/libraries/userUserLogin.js"); +const gen_Apis = require("../../../gen/Apis.js"); +const pages_public_asset_houses_model = require("./model.js"); const work = common_store_useWorkStore.useWorkStore(); const getHouseList = () => { var _a, _b, _c; if (!((_a = common_libraries_userUserLogin.getUser) == null ? void 0 : _a.getLoginStatus())) return; - common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Grid.Grids.GridSelectHouse, (_c = (_b = pages_public_asset_houses_model.useModel) == null ? void 0 : _b.formData) == null ? void 0 : _c.value).then((res) => { + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Asset.AssetHouses.SelectHouse, (_c = (_b = pages_public_asset_houses_model.useModel) == null ? void 0 : _b.formData) == null ? void 0 : _c.value).then((res) => { pages_public_asset_houses_model.useModel.dataList.value = res == null ? void 0 : res.data; console.log(res); }); }; +const getProjectList = () => { + var _a, _b, _c; + if (!((_a = common_libraries_userUserLogin.getUser) == null ? void 0 : _a.getLoginStatus())) + return; + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Asset.AssetHouses.SelectPermissionProject, (_c = (_b = pages_public_asset_houses_model.useModel) == null ? void 0 : _b.formData) == null ? void 0 : _c.value).then((res) => { + var _a2, _b2, _c2; + pages_public_asset_houses_model.useModel.dataList.value = res == null ? void 0 : res.data; + if (((_a2 = res == null ? void 0 : res.data) == null ? void 0 : _a2.length) === 1 && pages_public_asset_houses_model.useModel.formData.value.page === 1) { + common_vendor.index.navigateTo({ + url: `/ME/instrument/list/index?id=${(_c2 = (_b2 = res == null ? void 0 : res.data) == null ? void 0 : _b2[0]) == null ? void 0 : _c2.id}` + }); + } + console.log(res); + }); +}; const method = { getHouseList, + getProjectList, // getHouseRegistersList, handleLoadMore(page) { + var _a, _b, _c, _d; pages_public_asset_houses_model.useModel.formData.value.page = page; - if (pages_public_asset_houses_model.useModel.currentTabs.value === 0) { + if (((_b = (_a = pages_public_asset_houses_model.useModel) == null ? void 0 : _a.selectType) == null ? void 0 : _b.value) === "work_add") { getHouseList(); } + if (((_d = (_c = pages_public_asset_houses_model.useModel) == null ? void 0 : _c.selectType) == null ? void 0 : _d.value) === "meter") { + getProjectList(); + } + }, + onSearch() { + var _a, _b, _c, _d; + pages_public_asset_houses_model.useModel.formData.value.page = 1; + if (((_b = (_a = pages_public_asset_houses_model.useModel) == null ? void 0 : _a.selectType) == null ? void 0 : _b.value) === "work_add") { + getHouseList(); + } + if (((_d = (_c = pages_public_asset_houses_model.useModel) == null ? void 0 : _c.selectType) == null ? void 0 : _d.value) === "meter") { + getProjectList(); + } }, handleSelectedHouse(e) { var _a, _b; - pages_public_asset_houses_model.useModel.selectedHouseEd.value = { id: e == null ? void 0 : e.value }; + pages_public_asset_houses_model.useModel.selectedHouseEd.value = { id: e == null ? void 0 : e.id }; if (((_b = (_a = pages_public_asset_houses_model.useModel) == null ? void 0 : _a.selectType) == null ? void 0 : _b.value) === "work_add") { work.selectWorkHouse = e; common_libraries_naviHelper.showToastBack("选择成功!", 1, true); return; } }, + handleSelectedProject(e) { + common_vendor.index.navigateTo({ + url: `/ME/instrument/list/index?id=${e == null ? void 0 : e.id}` + }); + }, hadnleNewBindingHouse() { var _a; common_vendor.index.navigateTo({ diff --git a/dist/dev/mp-weixin/pages/public/asset_houses/model.js b/dist/dev/mp-weixin/pages/public/asset_houses/model.js index 23c27fa..c3d55c0 100644 --- a/dist/dev/mp-weixin/pages/public/asset_houses/model.js +++ b/dist/dev/mp-weixin/pages/public/asset_houses/model.js @@ -1,7 +1,7 @@ "use strict"; const common_vendor = require("../../../common/vendor.js"); const useModel = { - formData: common_vendor.ref({ page: 1 }), + formData: common_vendor.ref({ page: 1, name: "" }), dataList: common_vendor.ref([]), meta: common_vendor.ref({}), selectedHouseEd: common_vendor.ref({ id: "" }), diff --git a/dist/dev/mp-weixin/pages/public/select_project/index.js b/dist/dev/mp-weixin/pages/public/select_project/index.js index d4b6639..2c6bddb 100644 --- a/dist/dev/mp-weixin/pages/public/select_project/index.js +++ b/dist/dev/mp-weixin/pages/public/select_project/index.js @@ -2,39 +2,41 @@ const common_vendor = require("../../../common/vendor.js"); const pages_public_select_project_method = require("./method.js"); const pages_public_select_project_model = require("./model.js"); -require("../../../common/libraries/apiLoading.js"); -require("../../../gen/Apis.js"); require("../../../common/libraries/request.js"); require("../../../common/store/useWeAppAuthStore.js"); +require("../../../gen/Apis.js"); require("../../../common/store/useWatermarkStore.js"); require("../../../common/store/useWorkStore.js"); +require("../../../common/libraries/apiLoading.js"); require("../../../common/libraries/naviHelper.js"); require("../../../common/libraries/userUserLogin.js"); if (!Array) { - const _easycom_hs_empty2 = common_vendor.resolveComponent("hs-empty"); const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons"); - (_easycom_hs_empty2 + _easycom_uni_icons2)(); + const _easycom_cc_scroll_loading2 = common_vendor.resolveComponent("cc-scroll-loading"); + (_easycom_uni_icons2 + _easycom_cc_scroll_loading2)(); } -const _easycom_hs_empty = () => "../../../components/hs-empty/hs-empty.js"; const _easycom_uni_icons = () => "../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"; +const _easycom_cc_scroll_loading = () => "../../../common/components/cc-scroll-loading/cc-scroll-loading.js"; if (!Math) { - (_easycom_hs_empty + _easycom_uni_icons)(); + (_easycom_uni_icons + _easycom_cc_scroll_loading)(); } const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ __name: "index", setup(__props) { + common_vendor.onUnload(() => { + pages_public_select_project_model.useModel.formData.value.page = 1; + pages_public_select_project_model.useModel.dataList.value = []; + }); common_vendor.onLoad((e) => { var _a; pages_public_select_project_model.useModel.dataList.value = []; pages_public_select_project_model.useModel.source.value = (e == null ? void 0 : e.source) || ""; - (_a = pages_public_select_project_method.method) == null ? void 0 : _a.handleLoadMore(1); + (_a = pages_public_select_project_method.method) == null ? void 0 : _a.handleLoadMore({ page: 1 }); }); return (_ctx, _cache) => { - var _a, _b, _c, _d, _e, _f, _g, _h; - return common_vendor.e({ - a: !((_c = (_b = (_a = common_vendor.unref(pages_public_select_project_model.useModel)) == null ? void 0 : _a.dataList) == null ? void 0 : _b.value) == null ? void 0 : _c.length) - }, !((_f = (_e = (_d = common_vendor.unref(pages_public_select_project_model.useModel)) == null ? void 0 : _d.dataList) == null ? void 0 : _e.value) == null ? void 0 : _f.length) ? {} : {}, { - b: common_vendor.f((_h = (_g = common_vendor.unref(pages_public_select_project_model.useModel)) == null ? void 0 : _g.dataList) == null ? void 0 : _h.value, (i, index, i0) => { + var _a, _b, _c, _d, _e; + return { + a: common_vendor.f((_b = (_a = common_vendor.unref(pages_public_select_project_model.useModel)) == null ? void 0 : _a.dataList) == null ? void 0 : _b.value, (i, index, i0) => { var _a2, _b2; return common_vendor.e({ a: common_vendor.t(i == null ? void 0 : i.name), @@ -43,14 +45,14 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ d: common_vendor.t(i == null ? void 0 : i.area), e: (i == null ? void 0 : i.id) === ((_a2 = common_vendor.unref(pages_public_select_project_model.useModel).selectedHouseEd.value) == null ? void 0 : _a2.id) }, (i == null ? void 0 : i.id) === ((_b2 = common_vendor.unref(pages_public_select_project_model.useModel).selectedHouseEd.value) == null ? void 0 : _b2.id) ? { - f: "69571fb6-1-" + i0, + f: "69571fb6-1-" + i0 + ",69571fb6-0", g: common_vendor.p({ type: "checkbox-filled", size: "20", color: "#2A7EFB" }) } : { - h: "69571fb6-2-" + i0, + h: "69571fb6-2-" + i0 + ",69571fb6-0", i: common_vendor.p({ type: "circle", size: "20", @@ -63,8 +65,12 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ }, `item_${index}`), k: `item_${index}` }); + }), + b: common_vendor.o((_c = common_vendor.unref(pages_public_select_project_method.method)) == null ? void 0 : _c.handleLoadMore), + c: common_vendor.p({ + meta: (_e = (_d = common_vendor.unref(pages_public_select_project_model.useModel)) == null ? void 0 : _d.metaData) == null ? void 0 : _e.value }) - }); + }; }; } }); diff --git a/dist/dev/mp-weixin/pages/public/select_project/index.json b/dist/dev/mp-weixin/pages/public/select_project/index.json index 4830b6c..96f79eb 100644 --- a/dist/dev/mp-weixin/pages/public/select_project/index.json +++ b/dist/dev/mp-weixin/pages/public/select_project/index.json @@ -1,7 +1,7 @@ { "navigationBarTitleText": "选择项目", "usingComponents": { - "hs-empty": "../../../components/hs-empty/hs-empty", - "uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons" + "uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons", + "cc-scroll-loading": "../../../common/components/cc-scroll-loading/cc-scroll-loading" } } \ No newline at end of file diff --git a/dist/dev/mp-weixin/pages/public/select_project/index.wxml b/dist/dev/mp-weixin/pages/public/select_project/index.wxml index a02ca14..b86e8b8 100644 --- a/dist/dev/mp-weixin/pages/public/select_project/index.wxml +++ b/dist/dev/mp-weixin/pages/public/select_project/index.wxml @@ -1 +1 @@ -{{i.a}}{{i.b}}/{{i.c}}/{{i.d}} \ No newline at end of file +{{i.a}}{{i.b}}/{{i.c}}/{{i.d}} \ No newline at end of file diff --git a/dist/dev/mp-weixin/pages/public/select_project/method.js b/dist/dev/mp-weixin/pages/public/select_project/method.js index 7904153..ddb836e 100644 --- a/dist/dev/mp-weixin/pages/public/select_project/method.js +++ b/dist/dev/mp-weixin/pages/public/select_project/method.js @@ -1,14 +1,14 @@ "use strict"; const common_vendor = require("../../../common/vendor.js"); -const common_libraries_apiLoading = require("../../../common/libraries/apiLoading.js"); -const gen_Apis = require("../../../gen/Apis.js"); -const pages_public_select_project_model = require("./model.js"); -const common_libraries_naviHelper = require("../../../common/libraries/naviHelper.js"); require("../../../common/libraries/request.js"); require("../../../common/store/useWatermarkStore.js"); require("../../../common/store/useWeAppAuthStore.js"); const common_store_useWorkStore = require("../../../common/store/useWorkStore.js"); +const common_libraries_apiLoading = require("../../../common/libraries/apiLoading.js"); +const common_libraries_naviHelper = require("../../../common/libraries/naviHelper.js"); const common_libraries_userUserLogin = require("../../../common/libraries/userUserLogin.js"); +const gen_Apis = require("../../../gen/Apis.js"); +const pages_public_select_project_model = require("./model.js"); const work = common_store_useWorkStore.useWorkStore(); const getProjectList = () => { var _a, _b, _c; @@ -41,8 +41,9 @@ const getPermission = (data) => { const method = { getProjectList, // getHouseRegistersList, - handleLoadMore(page) { - pages_public_select_project_model.useModel.formData.value.page = page; + handleLoadMore(params) { + console.log(params); + pages_public_select_project_model.useModel.formData.value.page = params.page; getProjectList(); }, handleSelectedProject(e) { diff --git a/dist/dev/mp-weixin/pages/public/select_project/pages/permission_show.js b/dist/dev/mp-weixin/pages/public/select_project/pages/permission_show.js new file mode 100644 index 0000000..ede528a --- /dev/null +++ b/dist/dev/mp-weixin/pages/public/select_project/pages/permission_show.js @@ -0,0 +1,78 @@ +"use strict"; +const common_vendor = require("../../../../common/vendor.js"); +const common_libraries_apiLoading = require("../../../../common/libraries/apiLoading.js"); +const gen_Apis = require("../../../../gen/Apis.js"); +require("../../../../common/libraries/request.js"); +require("../../../../common/store/useWeAppAuthStore.js"); +require("../../../../common/store/useWatermarkStore.js"); +require("../../../../common/store/useWorkStore.js"); +if (!Array) { + const _easycom_hs_empty2 = common_vendor.resolveComponent("hs-empty"); + const _easycom_hs_footer2 = common_vendor.resolveComponent("hs-footer"); + (_easycom_hs_empty2 + _easycom_hs_footer2)(); +} +const _easycom_hs_empty = () => "../../../../components/hs-empty/hs-empty.js"; +const _easycom_hs_footer = () => "../../../../components/hs-footer/hs-footer.js"; +if (!Math) { + (_easycom_hs_empty + _easycom_hs_footer)(); +} +const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ + __name: "permission_show", + setup(__props) { + const listData = common_vendor.ref([]); + const handleSubmit = () => { + common_vendor.index.navigateBack({ + delta: 1 + }); + }; + const handleMakePhoneCall = (phone) => { + if (phone) { + common_vendor.index.makePhoneCall({ + phoneNumber: phone + }); + } else { + common_vendor.index.showToast({ + title: "当前人员手机号为空!", + icon: "none" + }); + } + }; + const getPermission = (data) => { + common_libraries_apiLoading.getApiLoading(gen_Apis.Apis.Emergency.EmergencyEventTeams.GetPermission, { + asset_projects_id: data == null ? void 0 : data.id + }).then((res) => { + var _a; + listData.value = ((_a = res == null ? void 0 : res.data) == null ? void 0 : _a.members) || []; + console.log(res); + }); + }; + common_vendor.onLoad((e) => { + getPermission(e); + }); + return (_ctx, _cache) => { + var _a, _b; + return common_vendor.e({ + a: !((_a = listData.value) == null ? void 0 : _a.length) + }, !((_b = listData.value) == null ? void 0 : _b.length) ? { + b: common_vendor.p({ + height: "20vh" + }) + } : {}, { + c: common_vendor.f(listData.value, (i, index, i0) => { + return { + a: common_vendor.t(i == null ? void 0 : i.employee_name), + b: common_vendor.t(i == null ? void 0 : i.employee_phone), + c: common_vendor.o(($event) => handleMakePhoneCall(i == null ? void 0 : i.employee_phone), `item_${index}`), + d: `item_${index}` + }; + }), + d: common_vendor.o(handleSubmit), + e: common_vendor.p({ + btnParimaryName: "报其他项目" + }) + }); + }; + } +}); +const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-employee/src/pages/public/select_project/pages/permission_show.vue"]]); +wx.createPage(MiniProgramPage); diff --git a/dist/dev/mp-weixin/pages/public/select_project/pages/permission_show.json b/dist/dev/mp-weixin/pages/public/select_project/pages/permission_show.json new file mode 100644 index 0000000..752115d --- /dev/null +++ b/dist/dev/mp-weixin/pages/public/select_project/pages/permission_show.json @@ -0,0 +1,7 @@ +{ + "navigationBarTitleText": "突发事件", + "usingComponents": { + "hs-empty": "../../../../components/hs-empty/hs-empty", + "hs-footer": "../../../../components/hs-footer/hs-footer" + } +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/pages/public/select_project/pages/permission_show.wxml b/dist/dev/mp-weixin/pages/public/select_project/pages/permission_show.wxml new file mode 100644 index 0000000..47dd739 --- /dev/null +++ b/dist/dev/mp-weixin/pages/public/select_project/pages/permission_show.wxml @@ -0,0 +1 @@ + 当前项目您无添加突发事件的权限 可联系以下人员添加 {{i.a}} {{i.b}} 联系TA \ No newline at end of file diff --git a/dist/dev/mp-weixin/pages/public/select_project/pages/permission_show.wxss b/dist/dev/mp-weixin/pages/public/select_project/pages/permission_show.wxss new file mode 100644 index 0000000..889a373 --- /dev/null +++ b/dist/dev/mp-weixin/pages/public/select_project/pages/permission_show.wxss @@ -0,0 +1,45 @@ +.permission_show_page { + padding-bottom: calc(120rpx + constant(safe-area-inset-bottom)); + padding-bottom: calc(120rpx + env(safe-area-inset-bottom)); +} +.permission_head { + color: #3d3d3d; + text-align: center; +} +.permission_head_icon { + display: flex; + justify-content: center; + align-items: center; +} +.permission_head_icon image { + width: 232rpx; + height: 232rpx; +} +.permission_head_label { + font-size: 36rpx; + padding: 10rpx 0 25rpx 0; + font-weight: 500; +} +.permission_head_sub_label { + font-size: 28rpx; +} +.permission_content { + padding: 20rpx 80rpx 0 80rpx; +} +.permission_content .permission_item { + display: flex; + align-items: center; + justify-content: space-between; + margin-top: 30rpx; + color: #333333; + border: 1rpx solid #f1f1f1; + border-radius: 10rpx; + padding: 30rpx; + font-size: 28rpx; +} +.permission_content .permission_item text { + color: #666; +} +.permission_content .permission_item .item_btn_phone { + color: #0082fa; +} \ No newline at end of file diff --git a/dist/dev/mp-weixin/pages/transfer/index.js b/dist/dev/mp-weixin/pages/transfer/index.js index 4a0b569..500e4b4 100644 --- a/dist/dev/mp-weixin/pages/transfer/index.js +++ b/dist/dev/mp-weixin/pages/transfer/index.js @@ -37,7 +37,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ } if (data[0] === "2") { common_vendor.index.redirectTo({ - url: `/INDEX/pass/index?id=${data[1]}` + url: `/INDEX/pass/index?source=2&id=${data[1]}` }); } if (data[0] === "3") { @@ -45,6 +45,11 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ url: `/INDEX/patrol_task_list/index?id=${data[1]}` }); } + if (data[0] === "4") { + common_vendor.index.redirectTo({ + url: `/INDEX/pass/index?source=4&customers_id=${data[1]}&asset_houses_id=${data[2]}` + }); + } } } else { common_vendor.index.showModal({ diff --git a/dist/dev/mp-weixin/project.config.json b/dist/dev/mp-weixin/project.config.json index 375459f..70a80c7 100644 --- a/dist/dev/mp-weixin/project.config.json +++ b/dist/dev/mp-weixin/project.config.json @@ -32,5 +32,6 @@ "current": -1, "list": [] } - } + }, + "cloudfunctionRoot": "./cloudfunctions/" } \ No newline at end of file diff --git a/dist/dev/mp-weixin/static/images/empty_icon.png b/dist/dev/mp-weixin/static/images/empty_icon.png new file mode 100644 index 0000000..a449f41 Binary files /dev/null and b/dist/dev/mp-weixin/static/images/empty_icon.png differ diff --git a/dist/dev/mp-weixin/static/images/no_jurisdictio.png b/dist/dev/mp-weixin/static/images/no_jurisdictio.png new file mode 100644 index 0000000..25ccdf4 Binary files /dev/null and b/dist/dev/mp-weixin/static/images/no_jurisdictio.png differ diff --git a/dist/dev/mp-weixin/static/svg/CheckInIcon.svg b/dist/dev/mp-weixin/static/svg/CheckInIcon.svg new file mode 100644 index 0000000..c80b556 --- /dev/null +++ b/dist/dev/mp-weixin/static/svg/CheckInIcon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/dev/mp-weixin/static/svg/HeatingIcon.svg b/dist/dev/mp-weixin/static/svg/HeatingIcon.svg new file mode 100644 index 0000000..3b13cbf --- /dev/null +++ b/dist/dev/mp-weixin/static/svg/HeatingIcon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/dev/mp-weixin/static/svg/collection_icon.svg b/dist/dev/mp-weixin/static/svg/collection_icon.svg deleted file mode 100644 index ae2f720..0000000 --- a/dist/dev/mp-weixin/static/svg/collection_icon.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/dist/dev/mp-weixin/static/svg/emergency_icon.svg b/dist/dev/mp-weixin/static/svg/emergency_icon.svg new file mode 100644 index 0000000..15141d8 --- /dev/null +++ b/dist/dev/mp-weixin/static/svg/emergency_icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/dev/mp-weixin/static/svg/gas_meter_icon.svg b/dist/dev/mp-weixin/static/svg/gas_meter_icon.svg new file mode 100644 index 0000000..83116ee --- /dev/null +++ b/dist/dev/mp-weixin/static/svg/gas_meter_icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/dev/mp-weixin/static/svg/project_icon.svg b/dist/dev/mp-weixin/static/svg/project_icon.svg new file mode 100644 index 0000000..d6e9b3d --- /dev/null +++ b/dist/dev/mp-weixin/static/svg/project_icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/gencode.json b/gencode.json index d6e89cc..0eedb16 100644 --- a/gencode.json +++ b/gencode.json @@ -1,5 +1,5 @@ { - "url": "http://10.39.13.78:8001/api/docs/openapi", + "url": "http://10.39.13.78:8002/api/docs/openapi", "module": "Employee", "outPath": "./src/gen/", "apis": { diff --git a/package-lock.json b/package-lock.json index 42e478a..7d4347b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,7 +30,8 @@ "tim-upload-plugin": "^1.4.1", "uview-plus": "^3.3.61", "vue": "^3.2.45", - "vue-i18n": "^9.1.9" + "vue-i18n": "^9.1.9", + "wx-server-sdk": "^3.0.4" }, "devDependencies": { "@dcloudio/types": "^3.3.2", @@ -41,11 +42,13 @@ "@nichozuo/gencode-ts-cli": "^1.0.2", "@vue/runtime-core": "^3.2.45", "@vue/tsconfig": "^0.1.3", + "copy-webpack-plugin": "^5.0.3", "prettier": "^3.6.2", "sass": "1.63.2", "sass-loader": "10.4.1", "typescript": "^4.9.4", "vite": "4.1.4", + "vite-plugin-copy": "^0.1.6", "vite-plugin-windicss": "^1.9.3", "vue-tsc": "^1.0.24", "windicss": "^3.5.6" @@ -2551,6 +2554,57 @@ "license": "MIT", "peer": true }, + "node_modules/@cloudbase/database": { + "version": "1.4.1", + "resolved": "https://registry.npmmirror.com/@cloudbase/database/-/database-1.4.1.tgz", + "integrity": "sha512-BYLXHS6c+WhxAvvdak8Z3W+heScqBBPu/CQ76gC8v1Scuy5qf4qxuPWNzyoxde/eZsmc+BRRCFyIq4xUnIot8g==", + "license": "ISC", + "dependencies": { + "bson": "^4.0.3", + "lodash.clonedeep": "4.5.0", + "lodash.set": "4.3.2", + "lodash.unset": "4.5.2" + } + }, + "node_modules/@cloudbase/node-sdk": { + "version": "2.10.0", + "resolved": "https://registry.npmmirror.com/@cloudbase/node-sdk/-/node-sdk-2.10.0.tgz", + "integrity": "sha512-P9loxdwN6qG3iIzjx2Z3uBk/4iyn9+KoiWYGi9ZwhWP1toijpQu0+eLSAaMupNJecJopS21IWUmmGSetlZh8UA==", + "license": "MIT", + "dependencies": { + "@cloudbase/database": "1.4.1", + "@cloudbase/signature-nodejs": "1.0.0-beta.0", + "agentkeepalive": "^4.3.0", + "axios": "^0.21.1", + "jsonwebtoken": "^8.5.1", + "request": "^2.87.0", + "retry": "^0.13.1", + "xml2js": "^0.5.0" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/@cloudbase/signature-nodejs": { + "version": "1.0.0-beta.0", + "resolved": "https://registry.npmmirror.com/@cloudbase/signature-nodejs/-/signature-nodejs-1.0.0-beta.0.tgz", + "integrity": "sha512-gpKqwsVk/D2PzvFamYNReymXSdvRSY90eZ1ARf+1wZ8oT6OpK9kr6nmevGykMxN1n17Gn92hBbWqAxU9o3+kAQ==", + "dependencies": { + "@types/clone": "^0.1.30", + "clone": "^2.1.2", + "is-stream": "^2.0.0", + "url": "^0.11.0" + } + }, + "node_modules/@cloudbase/signature-nodejs/node_modules/clone": { + "version": "2.1.2", + "resolved": "https://registry.npmmirror.com/clone/-/clone-2.1.2.tgz", + "integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==", + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, "node_modules/@cronvel/get-pixels": { "version": "3.4.1", "resolved": "https://registry.npmmirror.com/@cronvel/get-pixels/-/get-pixels-3.4.1.tgz", @@ -5151,37 +5205,11 @@ "@babel/types": "^7.20.7" } }, - "node_modules/@types/eslint": { - "version": "9.6.1", - "resolved": "https://registry.npmmirror.com/@types/eslint/-/eslint-9.6.1.tgz", - "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "@types/estree": "*", - "@types/json-schema": "*" - } - }, - "node_modules/@types/eslint-scope": { - "version": "3.7.7", - "resolved": "https://registry.npmmirror.com/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", - "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "@types/eslint": "*", - "@types/estree": "*" - } - }, - "node_modules/@types/estree": { - "version": "1.0.8", - "resolved": "https://registry.npmmirror.com/@types/estree/-/estree-1.0.8.tgz", - "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", - "dev": true, - "license": "MIT", - "peer": true + "node_modules/@types/clone": { + "version": "0.1.30", + "resolved": "https://registry.npmmirror.com/@types/clone/-/clone-0.1.30.tgz", + "integrity": "sha512-vcxBr+ybljeSiasmdke1cQ9ICxoEwaBgM1OQ/P5h4MPj/kRyLcDl5L8PrftlbyV1kBbJIs3M3x1A1+rcWd4mEA==", + "license": "MIT" }, "node_modules/@types/graceful-fs": { "version": "4.1.9", @@ -5728,80 +5756,98 @@ } }, "node_modules/@webassemblyjs/ast": { - "version": "1.14.1", - "resolved": "https://registry.npmmirror.com/@webassemblyjs/ast/-/ast-1.14.1.tgz", - "integrity": "sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==", + "version": "1.9.0", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/ast/-/ast-1.9.0.tgz", + "integrity": "sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@webassemblyjs/helper-numbers": "1.13.2", - "@webassemblyjs/helper-wasm-bytecode": "1.13.2" + "@webassemblyjs/helper-module-context": "1.9.0", + "@webassemblyjs/helper-wasm-bytecode": "1.9.0", + "@webassemblyjs/wast-parser": "1.9.0" } }, "node_modules/@webassemblyjs/floating-point-hex-parser": { - "version": "1.13.2", - "resolved": "https://registry.npmmirror.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.13.2.tgz", - "integrity": "sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==", + "version": "1.9.0", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.9.0.tgz", + "integrity": "sha512-TG5qcFsS8QB4g4MhrxK5TqfdNe7Ey/7YL/xN+36rRjl/BlGE/NcBvJcqsRgCP6Z92mRE+7N50pRIi8SmKUbcQA==", "dev": true, "license": "MIT", "peer": true }, "node_modules/@webassemblyjs/helper-api-error": { - "version": "1.13.2", - "resolved": "https://registry.npmmirror.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.13.2.tgz", - "integrity": "sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==", + "version": "1.9.0", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz", + "integrity": "sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw==", "dev": true, "license": "MIT", "peer": true }, "node_modules/@webassemblyjs/helper-buffer": { - "version": "1.14.1", - "resolved": "https://registry.npmmirror.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.14.1.tgz", - "integrity": "sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==", + "version": "1.9.0", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.0.tgz", + "integrity": "sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA==", "dev": true, "license": "MIT", "peer": true }, - "node_modules/@webassemblyjs/helper-numbers": { - "version": "1.13.2", - "resolved": "https://registry.npmmirror.com/@webassemblyjs/helper-numbers/-/helper-numbers-1.13.2.tgz", - "integrity": "sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==", + "node_modules/@webassemblyjs/helper-code-frame": { + "version": "1.9.0", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.9.0.tgz", + "integrity": "sha512-ERCYdJBkD9Vu4vtjUYe8LZruWuNIToYq/ME22igL+2vj2dQ2OOujIZr3MEFvfEaqKoVqpsFKAGsRdBSBjrIvZA==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@webassemblyjs/floating-point-hex-parser": "1.13.2", - "@webassemblyjs/helper-api-error": "1.13.2", - "@xtuc/long": "4.2.2" + "@webassemblyjs/wast-printer": "1.9.0" + } + }, + "node_modules/@webassemblyjs/helper-fsm": { + "version": "1.9.0", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.9.0.tgz", + "integrity": "sha512-OPRowhGbshCb5PxJ8LocpdX9Kl0uB4XsAjl6jH/dWKlk/mzsANvhwbiULsaiqT5GZGT9qinTICdj6PLuM5gslw==", + "dev": true, + "license": "ISC", + "peer": true + }, + "node_modules/@webassemblyjs/helper-module-context": { + "version": "1.9.0", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/helper-module-context/-/helper-module-context-1.9.0.tgz", + "integrity": "sha512-MJCW8iGC08tMk2enck1aPW+BE5Cw8/7ph/VGZxwyvGbJwjktKkDK7vy7gAmMDx88D7mhDTCNKAW5tED+gZ0W8g==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@webassemblyjs/ast": "1.9.0" } }, "node_modules/@webassemblyjs/helper-wasm-bytecode": { - "version": "1.13.2", - "resolved": "https://registry.npmmirror.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.13.2.tgz", - "integrity": "sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==", + "version": "1.9.0", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz", + "integrity": "sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw==", "dev": true, "license": "MIT", "peer": true }, "node_modules/@webassemblyjs/helper-wasm-section": { - "version": "1.14.1", - "resolved": "https://registry.npmmirror.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.14.1.tgz", - "integrity": "sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==", + "version": "1.9.0", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.0.tgz", + "integrity": "sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@webassemblyjs/helper-buffer": "1.14.1", - "@webassemblyjs/helper-wasm-bytecode": "1.13.2", - "@webassemblyjs/wasm-gen": "1.14.1" + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-buffer": "1.9.0", + "@webassemblyjs/helper-wasm-bytecode": "1.9.0", + "@webassemblyjs/wasm-gen": "1.9.0" } }, "node_modules/@webassemblyjs/ieee754": { - "version": "1.13.2", - "resolved": "https://registry.npmmirror.com/@webassemblyjs/ieee754/-/ieee754-1.13.2.tgz", - "integrity": "sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==", + "version": "1.9.0", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/ieee754/-/ieee754-1.9.0.tgz", + "integrity": "sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg==", "dev": true, "license": "MIT", "peer": true, @@ -5810,96 +5856,113 @@ } }, "node_modules/@webassemblyjs/leb128": { - "version": "1.13.2", - "resolved": "https://registry.npmmirror.com/@webassemblyjs/leb128/-/leb128-1.13.2.tgz", - "integrity": "sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==", + "version": "1.9.0", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/leb128/-/leb128-1.9.0.tgz", + "integrity": "sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw==", "dev": true, - "license": "Apache-2.0", + "license": "MIT", "peer": true, "dependencies": { "@xtuc/long": "4.2.2" } }, "node_modules/@webassemblyjs/utf8": { - "version": "1.13.2", - "resolved": "https://registry.npmmirror.com/@webassemblyjs/utf8/-/utf8-1.13.2.tgz", - "integrity": "sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==", + "version": "1.9.0", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/utf8/-/utf8-1.9.0.tgz", + "integrity": "sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w==", "dev": true, "license": "MIT", "peer": true }, "node_modules/@webassemblyjs/wasm-edit": { - "version": "1.14.1", - "resolved": "https://registry.npmmirror.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.14.1.tgz", - "integrity": "sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==", + "version": "1.9.0", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.0.tgz", + "integrity": "sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@webassemblyjs/helper-buffer": "1.14.1", - "@webassemblyjs/helper-wasm-bytecode": "1.13.2", - "@webassemblyjs/helper-wasm-section": "1.14.1", - "@webassemblyjs/wasm-gen": "1.14.1", - "@webassemblyjs/wasm-opt": "1.14.1", - "@webassemblyjs/wasm-parser": "1.14.1", - "@webassemblyjs/wast-printer": "1.14.1" + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-buffer": "1.9.0", + "@webassemblyjs/helper-wasm-bytecode": "1.9.0", + "@webassemblyjs/helper-wasm-section": "1.9.0", + "@webassemblyjs/wasm-gen": "1.9.0", + "@webassemblyjs/wasm-opt": "1.9.0", + "@webassemblyjs/wasm-parser": "1.9.0", + "@webassemblyjs/wast-printer": "1.9.0" } }, "node_modules/@webassemblyjs/wasm-gen": { - "version": "1.14.1", - "resolved": "https://registry.npmmirror.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.14.1.tgz", - "integrity": "sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==", + "version": "1.9.0", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.0.tgz", + "integrity": "sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@webassemblyjs/helper-wasm-bytecode": "1.13.2", - "@webassemblyjs/ieee754": "1.13.2", - "@webassemblyjs/leb128": "1.13.2", - "@webassemblyjs/utf8": "1.13.2" + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-wasm-bytecode": "1.9.0", + "@webassemblyjs/ieee754": "1.9.0", + "@webassemblyjs/leb128": "1.9.0", + "@webassemblyjs/utf8": "1.9.0" } }, "node_modules/@webassemblyjs/wasm-opt": { - "version": "1.14.1", - "resolved": "https://registry.npmmirror.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.14.1.tgz", - "integrity": "sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==", + "version": "1.9.0", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.0.tgz", + "integrity": "sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@webassemblyjs/helper-buffer": "1.14.1", - "@webassemblyjs/wasm-gen": "1.14.1", - "@webassemblyjs/wasm-parser": "1.14.1" + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-buffer": "1.9.0", + "@webassemblyjs/wasm-gen": "1.9.0", + "@webassemblyjs/wasm-parser": "1.9.0" } }, "node_modules/@webassemblyjs/wasm-parser": { - "version": "1.14.1", - "resolved": "https://registry.npmmirror.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.14.1.tgz", - "integrity": "sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==", + "version": "1.9.0", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.0.tgz", + "integrity": "sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@webassemblyjs/helper-api-error": "1.13.2", - "@webassemblyjs/helper-wasm-bytecode": "1.13.2", - "@webassemblyjs/ieee754": "1.13.2", - "@webassemblyjs/leb128": "1.13.2", - "@webassemblyjs/utf8": "1.13.2" + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-api-error": "1.9.0", + "@webassemblyjs/helper-wasm-bytecode": "1.9.0", + "@webassemblyjs/ieee754": "1.9.0", + "@webassemblyjs/leb128": "1.9.0", + "@webassemblyjs/utf8": "1.9.0" + } + }, + "node_modules/@webassemblyjs/wast-parser": { + "version": "1.9.0", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/wast-parser/-/wast-parser-1.9.0.tgz", + "integrity": "sha512-qsqSAP3QQ3LyZjNC/0jBJ/ToSxfYJ8kYyuiGvtn/8MK89VrNEfwj7BPQzJVHi0jGTRK2dGdJ5PRqhtjzoww+bw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/floating-point-hex-parser": "1.9.0", + "@webassemblyjs/helper-api-error": "1.9.0", + "@webassemblyjs/helper-code-frame": "1.9.0", + "@webassemblyjs/helper-fsm": "1.9.0", + "@xtuc/long": "4.2.2" } }, "node_modules/@webassemblyjs/wast-printer": { - "version": "1.14.1", - "resolved": "https://registry.npmmirror.com/@webassemblyjs/wast-printer/-/wast-printer-1.14.1.tgz", - "integrity": "sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==", + "version": "1.9.0", + "resolved": "https://registry.npmmirror.com/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz", + "integrity": "sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/wast-parser": "1.9.0", "@xtuc/long": "4.2.2" } }, @@ -6083,6 +6146,18 @@ "node": ">= 14" } }, + "node_modules/agentkeepalive": { + "version": "4.6.0", + "resolved": "https://registry.npmmirror.com/agentkeepalive/-/agentkeepalive-4.6.0.tgz", + "integrity": "sha512-kja8j7PjmncONqaTsB8fQ+wE2mSU2DJ9D4XKoJ5PFWIdRMa6SLSN1ff4mOr4jCbfRSsxR4keIiySJU0N9T5hIQ==", + "license": "MIT", + "dependencies": { + "humanize-ms": "^1.2.1" + }, + "engines": { + "node": ">= 8.0.0" + } + }, "node_modules/ajv": { "version": "6.12.6", "resolved": "https://registry.npmmirror.com/ajv/-/ajv-6.12.6.tgz", @@ -6099,6 +6174,16 @@ "url": "https://github.com/sponsors/epoberezkin" } }, + "node_modules/ajv-errors": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/ajv-errors/-/ajv-errors-1.0.1.tgz", + "integrity": "sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "ajv": ">=5.0.0" + } + }, "node_modules/ajv-formats": { "version": "1.6.1", "resolved": "https://registry.npmmirror.com/ajv-formats/-/ajv-formats-1.6.1.tgz", @@ -6239,6 +6324,13 @@ "node": ">= 8" } }, + "node_modules/aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", + "dev": true, + "license": "ISC" + }, "node_modules/archive-type": { "version": "4.0.0", "resolved": "https://registry.npmmirror.com/archive-type/-/archive-type-4.0.0.tgz", @@ -6335,6 +6427,39 @@ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "license": "Python-2.0" }, + "node_modules/arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/arr-union": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/arr-union/-/arr-union-3.1.0.tgz", + "integrity": "sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/array-flatten": { "version": "1.1.1", "resolved": "https://registry.npmmirror.com/array-flatten/-/array-flatten-1.1.1.tgz", @@ -6342,6 +6467,40 @@ "dev": true, "license": "MIT" }, + "node_modules/array-union": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/array-union/-/array-union-1.0.2.tgz", + "integrity": "sha512-Dxr6QJj/RdU/hCaBjOfxW+q6lyuVE6JFWIrAUpuOOhoJJoQ99cUn3igRaHVB5P9WrgFVN0FfArM3x0cueOU8ng==", + "dev": true, + "license": "MIT", + "dependencies": { + "array-uniq": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/array-uniq": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/array-uniq/-/array-uniq-1.0.3.tgz", + "integrity": "sha512-MNha4BWQ6JbwhFhj03YK552f7cb3AzoE8SzeljgChvL1dl3IcvggXVz1DilzySZkCja+CXuZbdW7yATchWn8/Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmmirror.com/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/asap": { "version": "2.0.6", "resolved": "https://registry.npmmirror.com/asap/-/asap-2.0.6.tgz", @@ -6357,6 +6516,39 @@ "safer-buffer": "~2.1.0" } }, + "node_modules/asn1.js": { + "version": "4.10.1", + "resolved": "https://registry.npmmirror.com/asn1.js/-/asn1.js-4.10.1.tgz", + "integrity": "sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "node_modules/asn1.js/node_modules/bn.js": { + "version": "4.12.3", + "resolved": "https://registry.npmmirror.com/bn.js/-/bn.js-4.12.3.tgz", + "integrity": "sha512-fGTi3gxV/23FTYdAoUtLYp6qySe2KE3teyZitipKNRuVYcBkoP/bB3guXN/XVKUe9mxCHXnc9C4ocyz8OmgN0g==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/assert": { + "version": "1.5.1", + "resolved": "https://registry.npmmirror.com/assert/-/assert-1.5.1.tgz", + "integrity": "sha512-zzw1uCAgLbsKwBfFc8CX78DDg+xZeBksSO3vwVIDDN5i94eOrPsSSyiVhmsSABFDM/OcpE2aagCat9dnWQLG1A==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "object.assign": "^4.1.4", + "util": "^0.10.4" + } + }, "node_modules/assert-plus": { "version": "1.0.0", "resolved": "https://registry.npmmirror.com/assert-plus/-/assert-plus-1.0.0.tgz", @@ -6366,12 +6558,57 @@ "node": ">=0.8" } }, + "node_modules/assert/node_modules/inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==", + "dev": true, + "license": "ISC", + "peer": true + }, + "node_modules/assert/node_modules/util": { + "version": "0.10.4", + "resolved": "https://registry.npmmirror.com/util/-/util-0.10.4.tgz", + "integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "inherits": "2.0.3" + } + }, + "node_modules/assign-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/assign-symbols/-/assign-symbols-1.0.0.tgz", + "integrity": "sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/async": { "version": "3.2.6", "resolved": "https://registry.npmmirror.com/async/-/async-3.2.6.tgz", "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", "license": "MIT" }, + "node_modules/async-each": { + "version": "1.0.6", + "resolved": "https://registry.npmmirror.com/async-each/-/async-each-1.0.6.tgz", + "integrity": "sha512-c646jH1avxr+aVpndVMeAfYw7wAa6idufrlN3LPA4PmKS0QEGp6PIC9nwz0WQkkvBGAMEki3pFdtxaF39J9vvg==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT", + "optional": true, + "peer": true + }, "node_modules/async-limiter": { "version": "1.0.1", "resolved": "https://registry.npmmirror.com/async-limiter/-/async-limiter-1.0.1.tgz", @@ -6385,6 +6622,20 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", "license": "MIT" }, + "node_modules/atob": { + "version": "2.1.2", + "resolved": "https://registry.npmmirror.com/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "dev": true, + "license": "(MIT OR Apache-2.0)", + "peer": true, + "bin": { + "atob": "bin/atob.js" + }, + "engines": { + "node": ">= 4.5.0" + } + }, "node_modules/atomically": { "version": "1.7.0", "resolved": "https://registry.npmmirror.com/atomically/-/atomically-1.7.0.tgz", @@ -6461,6 +6712,15 @@ "integrity": "sha512-lHe62zvbTB5eEABUVi/AwVh0ZKY9rMMDhmm+eeyuuUQbQ3+J+fONVQOZyj+DdrvD4BY33uYniyRJ4UJIaSKAfw==", "license": "MIT" }, + "node_modules/axios": { + "version": "0.21.4", + "resolved": "https://registry.npmmirror.com/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.14.0" + } + }, "node_modules/babel-code-frame": { "version": "6.26.0", "resolved": "https://registry.npmmirror.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz", @@ -7714,6 +7974,55 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "license": "MIT" }, + "node_modules/base": { + "version": "0.11.2", + "resolved": "https://registry.npmmirror.com/base/-/base-0.11.2.tgz", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/base/node_modules/define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/base/node_modules/is-descriptor": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/is-descriptor/-/is-descriptor-1.0.3.tgz", + "integrity": "sha512-JCNNGbwWZEVaSPtS45mdtrneRWJFp07LLmykxeFV5F6oBvNF8vHSfJuJgoT472pSfk+Mf8VnlrspaFBHWM8JAw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-accessor-descriptor": "^1.0.1", + "is-data-descriptor": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/base64-js": { "version": "1.5.1", "resolved": "https://registry.npmmirror.com/base64-js/-/base64-js-1.5.1.tgz", @@ -7771,6 +8080,15 @@ "node": "*" } }, + "node_modules/bignumber.js": { + "version": "9.3.1", + "resolved": "https://registry.npmmirror.com/bignumber.js/-/bignumber.js-9.3.1.tgz", + "integrity": "sha512-Ko0uX15oIUS7wJ3Rb30Fs6SkVbLmPBAKdlm7q9+ak9bbIeFf0MwuBsQV6z7+X768/cHsfg+WlysDWJcmthjsjQ==", + "license": "MIT", + "engines": { + "node": "*" + } + }, "node_modules/binary-extensions": { "version": "2.3.0", "resolved": "https://registry.npmmirror.com/binary-extensions/-/binary-extensions-2.3.0.tgz", @@ -7783,6 +8101,18 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/bindings": { + "version": "1.5.0", + "resolved": "https://registry.npmmirror.com/bindings/-/bindings-1.5.0.tgz", + "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "file-uri-to-path": "1.0.0" + } + }, "node_modules/bl": { "version": "5.1.0", "resolved": "https://registry.npmmirror.com/bl/-/bl-5.1.0.tgz", @@ -7818,12 +8148,27 @@ "ieee754": "^1.2.1" } }, + "node_modules/bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmmirror.com/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "dev": true, + "license": "MIT" + }, "node_modules/bmp-js": { "version": "0.1.0", "resolved": "https://registry.npmmirror.com/bmp-js/-/bmp-js-0.1.0.tgz", "integrity": "sha512-vHdS19CnY3hwiNdkaqk93DvjVLfbEcI8mys4UjuWrlX1haDmroo8o4xCzh4wD6DGV6HxRCyauwhHRqMTfERtjw==", "license": "MIT" }, + "node_modules/bn.js": { + "version": "5.2.3", + "resolved": "https://registry.npmmirror.com/bn.js/-/bn.js-5.2.3.tgz", + "integrity": "sha512-EAcmnPkxpntVL+DS7bO1zhcZNvCkxqtkd0ZY53h06GNQ3DEkkGZ/gKgmDv6DdZQGj9BgfSPKtJJ7Dp1GPP8f7w==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/body-parser": { "version": "1.20.3", "resolved": "https://registry.npmmirror.com/body-parser/-/body-parser-1.20.3.tgz", @@ -7914,6 +8259,14 @@ "node": ">=8" } }, + "node_modules/brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/browser-process-hrtime": { "version": "1.0.0", "resolved": "https://registry.npmmirror.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz", @@ -7922,6 +8275,142 @@ "license": "BSD-2-Clause", "peer": true }, + "node_modules/browserify-aes": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/browserify-aes/-/browserify-aes-1.2.0.tgz", + "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/browserify-cipher": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/browserify-cipher/-/browserify-cipher-1.0.1.tgz", + "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" + } + }, + "node_modules/browserify-des": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/browserify-des/-/browserify-des-1.0.2.tgz", + "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/browserify-rsa": { + "version": "4.1.1", + "resolved": "https://registry.npmmirror.com/browserify-rsa/-/browserify-rsa-4.1.1.tgz", + "integrity": "sha512-YBjSAiTqM04ZVei6sXighu679a3SqWORA3qZTEqZImnlkDIFtKc6pNutpjyZ8RJTjQtuYfeetkxM11GwoYXMIQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "bn.js": "^5.2.1", + "randombytes": "^2.1.0", + "safe-buffer": "^5.2.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/browserify-sign": { + "version": "4.2.5", + "resolved": "https://registry.npmmirror.com/browserify-sign/-/browserify-sign-4.2.5.tgz", + "integrity": "sha512-C2AUdAJg6rlM2W5QMp2Q4KGQMVBwR1lIimTsUnutJ8bMpW5B52pGpR2gEnNBNwijumDo5FojQ0L9JrXA8m4YEw==", + "dev": true, + "license": "ISC", + "peer": true, + "dependencies": { + "bn.js": "^5.2.2", + "browserify-rsa": "^4.1.1", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "elliptic": "^6.6.1", + "inherits": "^2.0.4", + "parse-asn1": "^5.1.9", + "readable-stream": "^2.3.8", + "safe-buffer": "^5.2.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/browserify-sign/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/browserify-sign/node_modules/readable-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/browserify-sign/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/browserify-sign/node_modules/string_decoder/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/browserify-zlib": { + "version": "0.2.0", + "resolved": "https://registry.npmmirror.com/browserify-zlib/-/browserify-zlib-0.2.0.tgz", + "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "pako": "~1.0.5" + } + }, "node_modules/browserslist": { "version": "4.24.4", "resolved": "https://registry.npmmirror.com/browserslist/-/browserslist-4.24.4.tgz", @@ -7964,6 +8453,18 @@ "node-int64": "^0.4.0" } }, + "node_modules/bson": { + "version": "4.7.2", + "resolved": "https://registry.npmmirror.com/bson/-/bson-4.7.2.tgz", + "integrity": "sha512-Ry9wCtIZ5kGqkJoi6aD8KjxFZEx78guTQDnpXWiNthsxzrxAK/i8E6pCHAIZTbaEFWcOCvbecMukfK7XUvyLpQ==", + "license": "Apache-2.0", + "dependencies": { + "buffer": "^5.6.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/buffer": { "version": "5.7.1", "resolved": "https://registry.npmmirror.com/buffer/-/buffer-5.7.1.tgz", @@ -8022,6 +8523,12 @@ "node": ">=0.4.0" } }, + "node_modules/buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==", + "license": "BSD-3-Clause" + }, "node_modules/buffer-fill": { "version": "1.0.0", "resolved": "https://registry.npmmirror.com/buffer-fill/-/buffer-fill-1.0.0.tgz", @@ -8034,6 +8541,22 @@ "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", "license": "MIT" }, + "node_modules/buffer-xor": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/buffer-xor/-/buffer-xor-1.0.3.tgz", + "integrity": "sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/builtin-status-codes": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", + "integrity": "sha512-HpGFw18DgFWlncDfjTa2rcQ4W88O1mC8e8yZ2AvQY5KDaktSTwo+KRf6nHK6FRI5FyRyb/5T6+TSxfP7QyGsmQ==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/bytes": { "version": "3.1.2", "resolved": "https://registry.npmmirror.com/bytes/-/bytes-3.1.2.tgz", @@ -8054,6 +8577,72 @@ "node": ">=8" } }, + "node_modules/cacache": { + "version": "11.3.3", + "resolved": "https://registry.npmmirror.com/cacache/-/cacache-11.3.3.tgz", + "integrity": "sha512-p8WcneCytvzPxhDvYp31PD039vi77I12W+/KfR9S8AZbaiARFBCpsPJS+9uhWfeBfeAtW7o/4vt3MUqLkbY6nA==", + "dev": true, + "license": "ISC", + "dependencies": { + "bluebird": "^3.5.5", + "chownr": "^1.1.1", + "figgy-pudding": "^3.5.1", + "glob": "^7.1.4", + "graceful-fs": "^4.1.15", + "lru-cache": "^5.1.1", + "mississippi": "^3.0.0", + "mkdirp": "^0.5.1", + "move-concurrently": "^1.0.1", + "promise-inflight": "^1.0.1", + "rimraf": "^2.6.3", + "ssri": "^6.0.1", + "unique-filename": "^1.1.1", + "y18n": "^4.0.0" + } + }, + "node_modules/cacache/node_modules/rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmmirror.com/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "node_modules/cacache/node_modules/y18n": { + "version": "4.0.3", + "resolved": "https://registry.npmmirror.com/y18n/-/y18n-4.0.3.tgz", + "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/cache-base": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/cache-base/-/cache-base-1.0.1.tgz", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/cacheable-request": { "version": "2.1.4", "resolved": "https://registry.npmmirror.com/cacheable-request/-/cacheable-request-2.1.4.tgz", @@ -8331,6 +8920,13 @@ "fsevents": "~2.3.2" } }, + "node_modules/chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", + "dev": true, + "license": "ISC" + }, "node_modules/chroma-js": { "version": "2.6.0", "resolved": "https://registry.npmmirror.com/chroma-js/-/chroma-js-2.6.0.tgz", @@ -8411,6 +9007,22 @@ "node": ">=8" } }, + "node_modules/cipher-base": { + "version": "1.0.7", + "resolved": "https://registry.npmmirror.com/cipher-base/-/cipher-base-1.0.7.tgz", + "integrity": "sha512-Mz9QMT5fJe7bKI7MH31UilT5cEK5EHHRCccw/YRFsRY47AuNgaV6HY3rscp0/I4Q+tTW/5zoqpSeRRI54TkDWA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "inherits": "^2.0.4", + "safe-buffer": "^5.2.1", + "to-buffer": "^1.2.2" + }, + "engines": { + "node": ">= 0.10" + } + }, "node_modules/cjs-module-lexer": { "version": "1.4.3", "resolved": "https://registry.npmmirror.com/cjs-module-lexer/-/cjs-module-lexer-1.4.3.tgz", @@ -8419,6 +9031,23 @@ "license": "MIT", "peer": true }, + "node_modules/class-utils": { + "version": "0.3.6", + "resolved": "https://registry.npmmirror.com/class-utils/-/class-utils-0.3.6.tgz", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/clean-css": { "version": "4.2.4", "resolved": "https://registry.npmmirror.com/clean-css/-/clean-css-4.2.4.tgz", @@ -8520,6 +9149,21 @@ "license": "MIT", "peer": true }, + "node_modules/collection-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/collection-visit/-/collection-visit-1.0.0.tgz", + "integrity": "sha512-lNkKvzEeMBBjUGHZ+q6z9pSJla0KWAQPvtzhEV9+iGyQYG+pBpl7xKDhxoNSOZH2hhv0v5k0y2yAM4o4SjoSkw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", @@ -8573,12 +9217,30 @@ "node": ">=16" } }, + "node_modules/commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==", + "dev": true, + "license": "MIT" + }, "node_modules/compare-versions": { "version": "3.6.0", "resolved": "https://registry.npmmirror.com/compare-versions/-/compare-versions-3.6.0.tgz", "integrity": "sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA==", "license": "MIT" }, + "node_modules/component-emitter": { + "version": "1.3.1", + "resolved": "https://registry.npmmirror.com/component-emitter/-/component-emitter-1.3.1.tgz", + "integrity": "sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ==", + "dev": true, + "license": "MIT", + "peer": true, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/compress-commons": { "version": "4.1.2", "resolved": "https://registry.npmmirror.com/compress-commons/-/compress-commons-4.1.2.tgz", @@ -8607,6 +9269,55 @@ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", "license": "MIT" }, + "node_modules/concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmmirror.com/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "dev": true, + "engines": [ + "node >= 0.8" + ], + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "node_modules/concat-stream/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/concat-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "license": "MIT" + }, + "node_modules/concat-stream/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, "node_modules/conf": { "version": "9.0.2", "resolved": "https://registry.npmmirror.com/conf/-/conf-9.0.2.tgz", @@ -8785,6 +9496,21 @@ "node": ">= 0.6" } }, + "node_modules/console-browserify": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/console-browserify/-/console-browserify-1.2.0.tgz", + "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==", + "dev": true, + "peer": true + }, + "node_modules/constants-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/constants-browserify/-/constants-browserify-1.0.0.tgz", + "integrity": "sha512-xFxOwqIzR/e1k1gLiWEophSCMqXcwVHIH7akf7b/vxcUeGunlj3hvZaaqxwHsTgn+IndtkQJgSztIDWeumWJDQ==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/content-disposition": { "version": "0.5.4", "resolved": "https://registry.npmmirror.com/content-disposition/-/content-disposition-0.5.4.tgz", @@ -8842,6 +9568,165 @@ "url": "https://github.com/sponsors/mesqueeb" } }, + "node_modules/copy-concurrently": { + "version": "1.0.5", + "resolved": "https://registry.npmmirror.com/copy-concurrently/-/copy-concurrently-1.0.5.tgz", + "integrity": "sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A==", + "deprecated": "This package is no longer supported.", + "dev": true, + "license": "ISC", + "dependencies": { + "aproba": "^1.1.1", + "fs-write-stream-atomic": "^1.0.8", + "iferr": "^0.1.5", + "mkdirp": "^0.5.1", + "rimraf": "^2.5.4", + "run-queue": "^1.0.0" + } + }, + "node_modules/copy-concurrently/node_modules/rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmmirror.com/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "node_modules/copy-descriptor": { + "version": "0.1.1", + "resolved": "https://registry.npmmirror.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz", + "integrity": "sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/copy-webpack-plugin": { + "version": "5.0.3", + "resolved": "https://registry.npmmirror.com/copy-webpack-plugin/-/copy-webpack-plugin-5.0.3.tgz", + "integrity": "sha512-PlZRs9CUMnAVylZq+vg2Juew662jWtwOXOqH4lbQD9ZFhRG9R7tVStOgHt21CBGVq7k5yIJaz8TXDLSjV+Lj8Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "cacache": "^11.3.2", + "find-cache-dir": "^2.1.0", + "glob-parent": "^3.1.0", + "globby": "^7.1.1", + "is-glob": "^4.0.1", + "loader-utils": "^1.2.3", + "minimatch": "^3.0.4", + "normalize-path": "^3.0.0", + "p-limit": "^2.2.0", + "schema-utils": "^1.0.0", + "serialize-javascript": "^1.7.0", + "webpack-log": "^2.0.0" + }, + "engines": { + "node": ">= 6.9.0" + }, + "peerDependencies": { + "webpack": "^4.0.0" + } + }, + "node_modules/copy-webpack-plugin/node_modules/brace-expansion": { + "version": "1.1.13", + "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.13.tgz", + "integrity": "sha512-9ZLprWS6EENmhEOpjCYW2c8VkmOvckIJZfkr7rBW6dObmfgJ/L1GpSYW5Hpo9lDz4D1+n0Ckz8rU7FwHDQiG/w==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/copy-webpack-plugin/node_modules/glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha512-E8Ak/2+dZY6fnzlR7+ueWvhsH1SjHr4jjss4YS/h4py44jY9MhK/VFdaZJAWDz6BbL21KeteKxFSFpq8OS5gVA==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" + } + }, + "node_modules/copy-webpack-plugin/node_modules/glob-parent/node_modules/is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha512-UFpDDrPgM6qpnFNI+rh/p3bUaq9hKLZN8bMUWzxmcnZVS3omf4IPK+BrewlnWjO1WmUsMYuSjKh4UJuV4+Lqmw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/copy-webpack-plugin/node_modules/json5": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/json5/-/json5-1.0.2.tgz", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/copy-webpack-plugin/node_modules/loader-utils": { + "version": "1.4.2", + "resolved": "https://registry.npmmirror.com/loader-utils/-/loader-utils-1.4.2.tgz", + "integrity": "sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==", + "dev": true, + "license": "MIT", + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^1.0.1" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/copy-webpack-plugin/node_modules/minimatch": { + "version": "3.1.5", + "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/copy-webpack-plugin/node_modules/schema-utils": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/schema-utils/-/schema-utils-1.0.0.tgz", + "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^6.1.0", + "ajv-errors": "^1.0.0", + "ajv-keywords": "^3.1.0" + }, + "engines": { + "node": ">= 4" + } + }, "node_modules/core-js": { "version": "3.40.0", "resolved": "https://registry.npmmirror.com/core-js/-/core-js-3.40.0.tgz", @@ -9021,6 +9906,57 @@ "node": ">= 10" } }, + "node_modules/create-ecdh": { + "version": "4.0.4", + "resolved": "https://registry.npmmirror.com/create-ecdh/-/create-ecdh-4.0.4.tgz", + "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "bn.js": "^4.1.0", + "elliptic": "^6.5.3" + } + }, + "node_modules/create-ecdh/node_modules/bn.js": { + "version": "4.12.3", + "resolved": "https://registry.npmmirror.com/bn.js/-/bn.js-4.12.3.tgz", + "integrity": "sha512-fGTi3gxV/23FTYdAoUtLYp6qySe2KE3teyZitipKNRuVYcBkoP/bB3guXN/XVKUe9mxCHXnc9C4ocyz8OmgN0g==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/create-hash": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/create-hash/-/create-hash-1.2.0.tgz", + "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "node_modules/create-hmac": { + "version": "1.1.7", + "resolved": "https://registry.npmmirror.com/create-hmac/-/create-hmac-1.1.7.tgz", + "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, "node_modules/cross-env": { "version": "7.0.3", "resolved": "https://registry.npmmirror.com/cross-env/-/cross-env-7.0.3.tgz", @@ -9054,6 +9990,34 @@ "node": ">= 8" } }, + "node_modules/crypto-browserify": { + "version": "3.12.1", + "resolved": "https://registry.npmmirror.com/crypto-browserify/-/crypto-browserify-3.12.1.tgz", + "integrity": "sha512-r4ESw/IlusD17lgQi1O20Fa3qNnsckR126TdUuBgAu7GBYSIPvdNyONd3Zrxh0xCwA4+6w/TDArBPsMvhur+KQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "browserify-cipher": "^1.0.1", + "browserify-sign": "^4.2.3", + "create-ecdh": "^4.0.4", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "diffie-hellman": "^5.0.3", + "hash-base": "~3.0.4", + "inherits": "^2.0.4", + "pbkdf2": "^3.1.2", + "public-encrypt": "^4.0.3", + "randombytes": "^2.1.0", + "randomfill": "^1.0.4" + }, + "engines": { + "node": ">= 0.10" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/css-declaration-sorter": { "version": "6.4.1", "resolved": "https://registry.npmmirror.com/css-declaration-sorter/-/css-declaration-sorter-6.4.1.tgz", @@ -9288,6 +10252,13 @@ "uniq": "^1.0.0" } }, + "node_modules/cyclist": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/cyclist/-/cyclist-1.0.2.tgz", + "integrity": "sha512-0sVXIohTfLqVIW3kb/0n6IiWF3Ifj5nm2XaSrLq2DI6fKIGa2fYAZdk917rUneaeLVpYfFcyXE2ft0fe3remsA==", + "dev": true, + "license": "MIT" + }, "node_modules/dashdash": { "version": "1.14.1", "resolved": "https://registry.npmmirror.com/dashdash/-/dashdash-1.14.1.tgz", @@ -9729,6 +10700,39 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/define-properties": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/define-properties/-/define-properties-1.2.1.tgz", + "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "define-data-property": "^1.0.1", + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmmirror.com/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmmirror.com/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -9753,6 +10757,18 @@ "node": ">= 0.8" } }, + "node_modules/des.js": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/des.js/-/des.js-1.1.0.tgz", + "integrity": "sha512-r17GxjhUCjSRy8aiJpr8/UadFIzMzJGexI3Nmz4ADi9LYSFx4gTBp80+NaX/YsXWWLhpZ7v/v/ubEc/bCNfKwg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, "node_modules/destroy": { "version": "1.2.0", "resolved": "https://registry.npmmirror.com/destroy/-/destroy-1.2.0.tgz", @@ -9807,6 +10823,40 @@ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, + "node_modules/diffie-hellman": { + "version": "5.0.3", + "resolved": "https://registry.npmmirror.com/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" + } + }, + "node_modules/diffie-hellman/node_modules/bn.js": { + "version": "4.12.3", + "resolved": "https://registry.npmmirror.com/bn.js/-/bn.js-4.12.3.tgz", + "integrity": "sha512-fGTi3gxV/23FTYdAoUtLYp6qySe2KE3teyZitipKNRuVYcBkoP/bB3guXN/XVKUe9mxCHXnc9C4ocyz8OmgN0g==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/dir-glob": { + "version": "2.2.2", + "resolved": "https://registry.npmmirror.com/dir-glob/-/dir-glob-2.2.2.tgz", + "integrity": "sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-type": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/doctrine": { "version": "3.0.0", "resolved": "https://registry.npmmirror.com/doctrine/-/doctrine-3.0.0.tgz", @@ -9848,6 +10898,18 @@ "resolved": "https://registry.npmmirror.com/dom-walk/-/dom-walk-0.1.2.tgz", "integrity": "sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==" }, + "node_modules/domain-browser": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/domain-browser/-/domain-browser-1.2.0.tgz", + "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.4", + "npm": ">=1.2" + } + }, "node_modules/domelementtype": { "version": "2.3.0", "resolved": "https://registry.npmmirror.com/domelementtype/-/domelementtype-2.3.0.tgz", @@ -10024,6 +11086,52 @@ "integrity": "sha512-1A8za6ws41LQgv9HrE/66jyC5yuSjQ3L/KOpFtoBilsAK2iA2wuS5rTt1OCzIvtS2V7nVmedsUU+DGRcjBmOYA==", "license": "BSD-3-Clause" }, + "node_modules/duplexify": { + "version": "3.7.1", + "resolved": "https://registry.npmmirror.com/duplexify/-/duplexify-3.7.1.tgz", + "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==", + "dev": true, + "license": "MIT", + "dependencies": { + "end-of-stream": "^1.0.0", + "inherits": "^2.0.1", + "readable-stream": "^2.0.0", + "stream-shift": "^1.0.0" + } + }, + "node_modules/duplexify/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/duplexify/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "license": "MIT" + }, + "node_modules/duplexify/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, "node_modules/ecc-jsbn": { "version": "0.1.2", "resolved": "https://registry.npmmirror.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", @@ -10034,6 +11142,15 @@ "safer-buffer": "^2.1.0" } }, + "node_modules/ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmmirror.com/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, "node_modules/ee-first": { "version": "1.1.1", "resolved": "https://registry.npmmirror.com/ee-first/-/ee-first-1.1.1.tgz", @@ -10046,6 +11163,31 @@ "integrity": "sha512-nYOxJNxQ9Om4EC88BE4pPoNI8xwSFf8pU/BAeOl4Hh/b/i6V4biTAzwV7pXi3ARKeoYO5JZKMIXTryXSVer5RA==", "license": "ISC" }, + "node_modules/elliptic": { + "version": "6.6.1", + "resolved": "https://registry.npmmirror.com/elliptic/-/elliptic-6.6.1.tgz", + "integrity": "sha512-RaddvvMatK2LJHqFJ+YA4WysVN5Ita9E35botqIYspQ4TkRAlCicdzKOjlyv/1Za5RyTNn7di//eEV0uTAfe3g==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/elliptic/node_modules/bn.js": { + "version": "4.12.3", + "resolved": "https://registry.npmmirror.com/bn.js/-/bn.js-4.12.3.tgz", + "integrity": "sha512-fGTi3gxV/23FTYdAoUtLYp6qySe2KE3teyZitipKNRuVYcBkoP/bB3guXN/XVKUe9mxCHXnc9C4ocyz8OmgN0g==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/emittery": { "version": "0.8.1", "resolved": "https://registry.npmmirror.com/emittery/-/emittery-0.8.1.tgz", @@ -10095,18 +11237,29 @@ } }, "node_modules/enhanced-resolve": { - "version": "5.18.1", - "resolved": "https://registry.npmmirror.com/enhanced-resolve/-/enhanced-resolve-5.18.1.tgz", - "integrity": "sha512-ZSW3ma5GkcQBIpwZTSRAI8N71Uuwgs93IezB7mf7R60tC8ZbJideoDNKjHn2O9KIlx6rkGTTEk1xUCK2E1Y2Yg==", + "version": "4.5.0", + "resolved": "https://registry.npmmirror.com/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz", + "integrity": "sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg==", + "dev": true, + "peer": true, + "dependencies": { + "graceful-fs": "^4.1.2", + "memory-fs": "^0.5.0", + "tapable": "^1.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/enhanced-resolve/node_modules/tapable": { + "version": "1.1.3", + "resolved": "https://registry.npmmirror.com/tapable/-/tapable-1.1.3.tgz", + "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==", "dev": true, "license": "MIT", "peer": true, - "dependencies": { - "graceful-fs": "^4.2.4", - "tapable": "^2.2.0" - }, "engines": { - "node": ">=10.13.0" + "node": ">=6" } }, "node_modules/entities": { @@ -10680,6 +11833,18 @@ "node": ">=0.8.x" } }, + "node_modules/evp_bytestokey": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, "node_modules/execa": { "version": "5.1.1", "resolved": "https://registry.npmmirror.com/execa/-/execa-5.1.1.tgz", @@ -10718,6 +11883,45 @@ "node": ">= 0.8.0" } }, + "node_modules/expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmmirror.com/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha512-w/ozOKR9Obk3qoWeY/WDi6MFta9AoMR+zud60mdnbniMcBxRuFJyDt2LdX/14A1UABeqk+Uk+LDfUpvoGKppZA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmmirror.com/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/expand-brackets/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/expect": { "version": "27.5.1", "resolved": "https://registry.npmmirror.com/expect/-/expect-27.5.1.tgz", @@ -10837,6 +12041,70 @@ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", "license": "MIT" }, + "node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmmirror.com/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extglob/node_modules/define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extglob/node_modules/is-descriptor": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/is-descriptor/-/is-descriptor-1.0.3.tgz", + "integrity": "sha512-JCNNGbwWZEVaSPtS45mdtrneRWJFp07LLmykxeFV5F6oBvNF8vHSfJuJgoT472pSfk+Mf8VnlrspaFBHWM8JAw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-accessor-descriptor": "^1.0.1", + "is-data-descriptor": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/extsprintf": { "version": "1.3.0", "resolved": "https://registry.npmmirror.com/extsprintf/-/extsprintf-1.3.0.tgz", @@ -10881,24 +12149,6 @@ "license": "MIT", "peer": true }, - "node_modules/fast-uri": { - "version": "3.0.6", - "resolved": "https://registry.npmmirror.com/fast-uri/-/fast-uri-3.0.6.tgz", - "integrity": "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fastify" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fastify" - } - ], - "license": "BSD-3-Clause", - "peer": true - }, "node_modules/fast-xml-parser": { "version": "4.5.3", "resolved": "https://registry.npmmirror.com/fast-xml-parser/-/fast-xml-parser-4.5.3.tgz", @@ -10969,6 +12219,14 @@ "node": "^12.20 || >= 14.13" } }, + "node_modules/figgy-pudding": { + "version": "3.5.2", + "resolved": "https://registry.npmmirror.com/figgy-pudding/-/figgy-pudding-3.5.2.tgz", + "integrity": "sha512-0btnI/H8f2pavGMN8w40mlSKOfTK2SVJmBfBeVIj3kNw0swwgzyRq0d5TJVOwodFmtvpPeWPN/MCcfuWF0Ezbw==", + "deprecated": "This module is no longer supported.", + "dev": true, + "license": "ISC" + }, "node_modules/file-entry-cache": { "version": "6.0.1", "resolved": "https://registry.npmmirror.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz", @@ -10991,6 +12249,15 @@ "node": ">=6" } }, + "node_modules/file-uri-to-path": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", + "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true + }, "node_modules/filename-reserved-regex": { "version": "2.0.0", "resolved": "https://registry.npmmirror.com/filename-reserved-regex/-/filename-reserved-regex-2.0.0.tgz", @@ -11062,6 +12329,118 @@ "dev": true, "license": "MIT" }, + "node_modules/find-cache-dir": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/find-cache-dir/-/find-cache-dir-2.1.0.tgz", + "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "commondir": "^1.0.1", + "make-dir": "^2.0.0", + "pkg-dir": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/find-cache-dir/node_modules/find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/find-cache-dir/node_modules/locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/find-cache-dir/node_modules/make-dir": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/make-dir/-/make-dir-2.1.0.tgz", + "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "pify": "^4.0.1", + "semver": "^5.6.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/find-cache-dir/node_modules/p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/find-cache-dir/node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/find-cache-dir/node_modules/pify": { + "version": "4.0.1", + "resolved": "https://registry.npmmirror.com/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/find-cache-dir/node_modules/pkg-dir": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/pkg-dir/-/pkg-dir-3.0.0.tgz", + "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/find-cache-dir/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmmirror.com/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver" + } + }, "node_modules/find-up": { "version": "4.1.0", "resolved": "https://registry.npmmirror.com/find-up/-/find-up-4.1.0.tgz", @@ -11104,6 +12483,50 @@ "license": "MIT", "peer": true }, + "node_modules/flush-write-stream": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/flush-write-stream/-/flush-write-stream-1.1.1.tgz", + "integrity": "sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w==", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "readable-stream": "^2.3.6" + } + }, + "node_modules/flush-write-stream/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/flush-write-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "license": "MIT" + }, + "node_modules/flush-write-stream/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, "node_modules/follow-redirects": { "version": "1.15.9", "resolved": "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.9.tgz", @@ -11139,6 +12562,17 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/forever-agent": { "version": "0.6.1", "resolved": "https://registry.npmmirror.com/forever-agent/-/forever-agent-0.6.1.tgz", @@ -11201,6 +12635,20 @@ "url": "https://github.com/sponsors/rawify" } }, + "node_modules/fragment-cache": { + "version": "0.2.1", + "resolved": "https://registry.npmmirror.com/fragment-cache/-/fragment-cache-0.2.1.tgz", + "integrity": "sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "map-cache": "^0.2.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/fresh": { "version": "0.5.2", "resolved": "https://registry.npmmirror.com/fresh/-/fresh-0.5.2.tgz", @@ -11270,6 +12718,53 @@ "node": ">=12" } }, + "node_modules/fs-write-stream-atomic": { + "version": "1.0.10", + "resolved": "https://registry.npmmirror.com/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz", + "integrity": "sha512-gehEzmPn2nAwr39eay+x3X34Ra+M2QlVUTLhkXPjWdeO8RF9kszk116avgBJM3ZyNHgHXBNx+VmPaFC36k0PzA==", + "deprecated": "This package is no longer supported.", + "dev": true, + "license": "ISC", + "dependencies": { + "graceful-fs": "^4.1.2", + "iferr": "^0.1.5", + "imurmurhash": "^0.1.4", + "readable-stream": "1 || 2" + } + }, + "node_modules/fs-write-stream-atomic/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/fs-write-stream-atomic/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "license": "MIT" + }, + "node_modules/fs-write-stream-atomic/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmmirror.com/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -11405,6 +12900,17 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/get-value": { + "version": "2.0.6", + "resolved": "https://registry.npmmirror.com/get-value/-/get-value-2.0.6.tgz", + "integrity": "sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/getpass": { "version": "0.1.7", "resolved": "https://registry.npmmirror.com/getpass/-/getpass-0.1.7.tgz", @@ -11457,14 +12963,6 @@ "node": ">= 6" } }, - "node_modules/glob-to-regexp": { - "version": "0.4.1", - "resolved": "https://registry.npmmirror.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", - "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", - "dev": true, - "license": "BSD-2-Clause", - "peer": true - }, "node_modules/glob/node_modules/brace-expansion": { "version": "1.1.12", "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.12.tgz", @@ -11506,6 +13004,51 @@ "node": ">=4" } }, + "node_modules/globby": { + "version": "7.1.1", + "resolved": "https://registry.npmmirror.com/globby/-/globby-7.1.1.tgz", + "integrity": "sha512-yANWAN2DUcBtuus5Cpd+SKROzXHs2iVXFZt/Ykrfz6SAXqacLX25NZpltE+39ceMexYF4TtEadjuSTw8+3wX4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "array-union": "^1.0.1", + "dir-glob": "^2.0.0", + "glob": "^7.1.2", + "ignore": "^3.3.5", + "pify": "^3.0.0", + "slash": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/globby/node_modules/ignore": { + "version": "3.3.10", + "resolved": "https://registry.npmmirror.com/ignore/-/ignore-3.3.10.tgz", + "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==", + "dev": true, + "license": "MIT" + }, + "node_modules/globby/node_modules/pify": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/pify/-/pify-3.0.0.tgz", + "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/globby/node_modules/slash": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/slash/-/slash-1.0.0.tgz", + "integrity": "sha512-3TYDR7xWt4dIqV2JauJr+EJeW356RXijHeUlO+8djJ+uBXPn8/2dpzBc8yQhh583sVvc9CvFAeQVgijsH+PNNg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/good-listener": { "version": "1.2.2", "resolved": "https://registry.npmmirror.com/good-listener/-/good-listener-1.2.2.tgz", @@ -11699,12 +13242,98 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/has-value": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/has-value/-/has-value-1.0.0.tgz", + "integrity": "sha512-IBXk4GTsLYdQ7Rvt+GRBrFSVEkmuOUy4re0Xjd9kJSUQpnTrWR4/y9RpfexN9vkAPMFuQoeWKwqzPozRTlasGw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "get-value": "^2.0.6", + "has-values": "^1.0.0", + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-values": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/has-values/-/has-values-1.0.0.tgz", + "integrity": "sha512-ODYZC64uqzmtfGMEAX/FvZiRyWLpAC3vYnNunURUnkGVTS+mI0smVsWaPydRBsE3g+ok7h960jChO8mFcWlHaQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-number": "^3.0.0", + "kind-of": "^4.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-values/node_modules/is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-values/node_modules/is-number/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/hash-base": { + "version": "3.0.5", + "resolved": "https://registry.npmmirror.com/hash-base/-/hash-base-3.0.5.tgz", + "integrity": "sha512-vXm0l45VbcHEVlTCzs8M+s0VeYsB2lnlAaThoLKGXr3bE/VWDOelNUnycUPEhKEaXARL2TEFjBOyUiM6+55KBg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "inherits": "^2.0.4", + "safe-buffer": "^5.2.1" + }, + "engines": { + "node": ">= 0.10" + } + }, "node_modules/hash-sum": { "version": "2.0.0", "resolved": "https://registry.npmmirror.com/hash-sum/-/hash-sum-2.0.0.tgz", "integrity": "sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg==", "license": "MIT" }, + "node_modules/hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmmirror.com/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, "node_modules/hasown": { "version": "2.0.2", "resolved": "https://registry.npmmirror.com/hasown/-/hasown-2.0.2.tgz", @@ -11743,6 +13372,19 @@ "hermes-estree": "0.28.1" } }, + "node_modules/hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, "node_modules/home-or-tmp": { "version": "2.0.0", "resolved": "https://registry.npmmirror.com/home-or-tmp/-/home-or-tmp-2.0.0.tgz", @@ -11903,6 +13545,14 @@ "npm": ">=1.3.7" } }, + "node_modules/https-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/https-browserify/-/https-browserify-1.0.0.tgz", + "integrity": "sha512-J+FkSdyD+0mA0N+81tMotaRMfSL9SGi+xpD3T6YApKsc3bGSXJlfXri3VyFOeYkfLRQisDk1W+jIFFKBeUBbBg==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/https-proxy-agent": { "version": "7.0.6", "resolved": "https://registry.npmmirror.com/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", @@ -11925,6 +13575,15 @@ "node": ">=10.17.0" } }, + "node_modules/humanize-ms": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/humanize-ms/-/humanize-ms-1.2.1.tgz", + "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", + "license": "MIT", + "dependencies": { + "ms": "^2.0.0" + } + }, "node_modules/iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmmirror.com/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -11976,6 +13635,13 @@ ], "license": "BSD-3-Clause" }, + "node_modules/iferr": { + "version": "0.1.5", + "resolved": "https://registry.npmmirror.com/iferr/-/iferr-0.1.5.tgz", + "integrity": "sha512-DUNFN5j7Tln0D+TxzloUjKB+CtVu6myn0JEFak6dG18mNt9YkQ6lzGCdafwofISZ1lLF3xRHJ98VKy9ynkcFaA==", + "dev": true, + "license": "MIT" + }, "node_modules/ignore": { "version": "5.3.2", "resolved": "https://registry.npmmirror.com/ignore/-/ignore-5.3.2.tgz", @@ -12081,7 +13747,6 @@ "resolved": "https://registry.npmmirror.com/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", "license": "MIT", - "peer": true, "engines": { "node": ">=0.8.19" } @@ -12099,6 +13764,14 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/infer-owner": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/infer-owner/-/infer-owner-1.0.4.tgz", + "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==", + "dev": true, + "license": "ISC", + "peer": true + }, "node_modules/inflight": { "version": "1.0.6", "resolved": "https://registry.npmmirror.com/inflight/-/inflight-1.0.6.tgz", @@ -12172,6 +13845,20 @@ "node": ">= 0.10" } }, + "node_modules/is-accessor-descriptor": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.1.tgz", + "integrity": "sha512-YBUanLI8Yoihw923YeFUS5fs0fF2f5TSFTNiYAAzhhDscDa3lEqYuz1pDOEP5KvX94I9ey3vsqjJcLVFVU+3QA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.10" + } + }, "node_modules/is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmmirror.com/is-arrayish/-/is-arrayish-0.2.1.tgz", @@ -12224,6 +13911,35 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-data-descriptor": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/is-data-descriptor/-/is-data-descriptor-1.0.1.tgz", + "integrity": "sha512-bc4NlCDiCr28U4aEsQ3Qs2491gVq4V8G7MQyws968ImqjKuYtTJXrl7Vq7jsN7Ly/C3xj5KWFrY7sHNeDkAzXw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/is-descriptor": { + "version": "0.1.7", + "resolved": "https://registry.npmmirror.com/is-descriptor/-/is-descriptor-0.1.7.tgz", + "integrity": "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-accessor-descriptor": "^1.0.1", + "is-data-descriptor": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/is-directory": { "version": "0.3.1", "resolved": "https://registry.npmmirror.com/is-directory/-/is-directory-0.3.1.tgz", @@ -12250,6 +13966,17 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmmirror.com/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmmirror.com/is-extglob/-/is-extglob-2.1.1.tgz", @@ -12373,6 +14100,20 @@ "node": ">=0.10.0" } }, + "node_modules/is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmmirror.com/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-potential-custom-element-name": { "version": "1.0.1", "resolved": "https://registry.npmmirror.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", @@ -12441,6 +14182,17 @@ "integrity": "sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==", "license": "MIT" }, + "node_modules/is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-wsl": { "version": "2.2.0", "resolved": "https://registry.npmmirror.com/is-wsl/-/is-wsl-2.2.0.tgz", @@ -12466,6 +14218,17 @@ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", "license": "ISC" }, + "node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/isstream": { "version": "0.1.2", "resolved": "https://registry.npmmirror.com/isstream/-/isstream-0.1.2.tgz", @@ -13471,6 +15234,15 @@ "node": ">=6" } }, + "node_modules/json-bigint": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/json-bigint/-/json-bigint-1.0.0.tgz", + "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==", + "license": "MIT", + "dependencies": { + "bignumber.js": "^9.0.0" + } + }, "node_modules/json-buffer": { "version": "3.0.1", "resolved": "https://registry.npmmirror.com/json-buffer/-/json-buffer-3.0.1.tgz", @@ -13561,6 +15333,37 @@ "node": "*" } }, + "node_modules/jsonwebtoken": { + "version": "8.5.1", + "resolved": "https://registry.npmmirror.com/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", + "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", + "license": "MIT", + "dependencies": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^5.6.0" + }, + "engines": { + "node": ">=4", + "npm": ">=1.4.28" + } + }, + "node_modules/jsonwebtoken/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmmirror.com/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "license": "ISC", + "bin": { + "semver": "bin/semver" + } + }, "node_modules/jsprim": { "version": "1.4.2", "resolved": "https://registry.npmmirror.com/jsprim/-/jsprim-1.4.2.tgz", @@ -13618,6 +15421,27 @@ "safe-buffer": "~5.1.0" } }, + "node_modules/jwa": { + "version": "1.4.2", + "resolved": "https://registry.npmmirror.com/jwa/-/jwa-1.4.2.tgz", + "integrity": "sha512-eeH5JO+21J78qMvTIDdBXidBd6nG2kZjg5Ohz/1fpa28Z4CcsWUzJ1ZZyFq/3z3N17aZy+ZuBoHljASbL1WfOw==", + "license": "MIT", + "dependencies": { + "buffer-equal-constant-time": "^1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/jws": { + "version": "3.2.3", + "resolved": "https://registry.npmmirror.com/jws/-/jws-3.2.3.tgz", + "integrity": "sha512-byiJ0FLRdLdSVSReO/U4E7RoEyOCKnEnEPMjq3HxWtvzLsV08/i5RQKsFVNkCldrCaPr2vDNAOMsfs8T/Hze7g==", + "license": "MIT", + "dependencies": { + "jwa": "^1.4.2", + "safe-buffer": "^5.0.1" + } + }, "node_modules/keyv": { "version": "4.5.4", "resolved": "https://registry.npmmirror.com/keyv/-/keyv-4.5.4.tgz", @@ -13628,6 +15452,20 @@ "json-buffer": "3.0.1" } }, + "node_modules/kind-of": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-4.0.0.tgz", + "integrity": "sha512-24XsCxmEbRwEDbz/qz3stgin8TTzZ1ESR56OMCN0ujYg+vRutNSiOj9bHH9u85DKgXguraugV5sFuvbD4FW/hw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmmirror.com/kleur/-/kleur-3.0.3.tgz", @@ -13905,14 +15743,14 @@ } }, "node_modules/loader-runner": { - "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/loader-runner/-/loader-runner-4.3.0.tgz", - "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", + "version": "2.4.0", + "resolved": "https://registry.npmmirror.com/loader-runner/-/loader-runner-2.4.0.tgz", + "integrity": "sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==", "dev": true, "license": "MIT", "peer": true, "engines": { - "node": ">=6.11.5" + "node": ">=4.3.0 <5.0.0 || >=5.10" } }, "node_modules/loader-utils": { @@ -13963,6 +15801,12 @@ "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==", "license": "MIT" }, + "node_modules/lodash.clonedeep": { + "version": "4.5.0", + "resolved": "https://registry.npmmirror.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", + "integrity": "sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==", + "license": "MIT" + }, "node_modules/lodash.debounce": { "version": "4.0.8", "resolved": "https://registry.npmmirror.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz", @@ -13987,12 +15831,42 @@ "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==", "license": "MIT" }, + "node_modules/lodash.includes": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/lodash.includes/-/lodash.includes-4.3.0.tgz", + "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==", + "license": "MIT" + }, + "node_modules/lodash.isboolean": { + "version": "3.0.3", + "resolved": "https://registry.npmmirror.com/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", + "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==", + "license": "MIT" + }, + "node_modules/lodash.isinteger": { + "version": "4.0.4", + "resolved": "https://registry.npmmirror.com/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", + "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==", + "license": "MIT" + }, + "node_modules/lodash.isnumber": { + "version": "3.0.3", + "resolved": "https://registry.npmmirror.com/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", + "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==", + "license": "MIT" + }, "node_modules/lodash.isplainobject": { "version": "4.0.6", "resolved": "https://registry.npmmirror.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", "license": "MIT" }, + "node_modules/lodash.isstring": { + "version": "4.0.1", + "resolved": "https://registry.npmmirror.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz", + "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==", + "license": "MIT" + }, "node_modules/lodash.memoize": { "version": "4.1.2", "resolved": "https://registry.npmmirror.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz", @@ -14006,6 +15880,18 @@ "license": "MIT", "peer": true }, + "node_modules/lodash.once": { + "version": "4.1.1", + "resolved": "https://registry.npmmirror.com/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==", + "license": "MIT" + }, + "node_modules/lodash.set": { + "version": "4.3.2", + "resolved": "https://registry.npmmirror.com/lodash.set/-/lodash.set-4.3.2.tgz", + "integrity": "sha512-4hNPN5jlm/N/HLMCO43v8BXKq9Z7QdAGc/VGrRD61w8gN9g/6jF9A4L1pbUgBLCffi0w9VsXfTOij5x8iTyFvg==", + "license": "MIT" + }, "node_modules/lodash.throttle": { "version": "4.1.1", "resolved": "https://registry.npmmirror.com/lodash.throttle/-/lodash.throttle-4.1.1.tgz", @@ -14025,6 +15911,12 @@ "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==", "license": "MIT" }, + "node_modules/lodash.unset": { + "version": "4.5.2", + "resolved": "https://registry.npmmirror.com/lodash.unset/-/lodash.unset-4.5.2.tgz", + "integrity": "sha512-bwKX88k2JhCV9D1vtE8+naDKlLiGrSmf8zi/Y9ivFHwbmRfA8RxS/aVJ+sIht2XOwqoNr4xUPUkGZpc1sHFEKg==", + "license": "MIT" + }, "node_modules/log-symbols": { "version": "5.1.0", "resolved": "https://registry.npmmirror.com/log-symbols/-/log-symbols-5.1.0.tgz", @@ -14160,6 +16052,31 @@ "tmpl": "1.0.5" } }, + "node_modules/map-cache": { + "version": "0.2.2", + "resolved": "https://registry.npmmirror.com/map-cache/-/map-cache-0.2.2.tgz", + "integrity": "sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/map-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/map-visit/-/map-visit-1.0.0.tgz", + "integrity": "sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "object-visit": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/marky": { "version": "1.3.0", "resolved": "https://registry.npmmirror.com/marky/-/marky-1.3.0.tgz", @@ -14176,6 +16093,19 @@ "node": ">= 0.4" } }, + "node_modules/md5.js": { + "version": "1.3.5", + "resolved": "https://registry.npmmirror.com/md5.js/-/md5.js-1.3.5.tgz", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, "node_modules/mdn-data": { "version": "2.0.14", "resolved": "https://registry.npmmirror.com/mdn-data/-/mdn-data-2.0.14.tgz", @@ -14955,6 +16885,29 @@ "node": ">=8.6" } }, + "node_modules/miller-rabin": { + "version": "4.0.1", + "resolved": "https://registry.npmmirror.com/miller-rabin/-/miller-rabin-4.0.1.tgz", + "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + }, + "bin": { + "miller-rabin": "bin/miller-rabin" + } + }, + "node_modules/miller-rabin/node_modules/bn.js": { + "version": "4.12.3", + "resolved": "https://registry.npmmirror.com/bn.js/-/bn.js-4.12.3.tgz", + "integrity": "sha512-fGTi3gxV/23FTYdAoUtLYp6qySe2KE3teyZitipKNRuVYcBkoP/bB3guXN/XVKUe9mxCHXnc9C4ocyz8OmgN0g==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/mime": { "version": "1.6.0", "resolved": "https://registry.npmmirror.com/mime/-/mime-1.6.0.tgz", @@ -15014,6 +16967,22 @@ "dom-walk": "^0.1.0" } }, + "node_modules/minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", + "dev": true, + "license": "ISC", + "peer": true + }, + "node_modules/minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/minimatch": { "version": "9.0.5", "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-9.0.5.tgz", @@ -17622,6 +19591,57 @@ "node": ">=6" } }, + "node_modules/mississippi": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/mississippi/-/mississippi-3.0.0.tgz", + "integrity": "sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "concat-stream": "^1.5.0", + "duplexify": "^3.4.2", + "end-of-stream": "^1.1.0", + "flush-write-stream": "^1.0.0", + "from2": "^2.1.0", + "parallel-transform": "^1.1.0", + "pump": "^3.0.0", + "pumpify": "^1.3.3", + "stream-each": "^1.1.0", + "through2": "^2.0.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/mixin-deep": { + "version": "1.3.2", + "resolved": "https://registry.npmmirror.com/mixin-deep/-/mixin-deep-1.3.2.tgz", + "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "for-in": "^1.0.2", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/mixin-deep/node_modules/is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/mkdir-p": { "version": "0.0.7", "resolved": "https://registry.npmmirror.com/mkdir-p/-/mkdir-p-0.0.7.tgz", @@ -17667,6 +19687,36 @@ "node": "*" } }, + "node_modules/move-concurrently": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/move-concurrently/-/move-concurrently-1.0.1.tgz", + "integrity": "sha512-hdrFxZOycD/g6A6SoI2bB5NA/5NEqD0569+S47WZhPvm46sD50ZHdYaFmnua5lndde9rCHGjmfK7Z8BuCt/PcQ==", + "deprecated": "This package is no longer supported.", + "dev": true, + "license": "ISC", + "dependencies": { + "aproba": "^1.1.1", + "copy-concurrently": "^1.0.0", + "fs-write-stream-atomic": "^1.0.8", + "mkdirp": "^0.5.1", + "rimraf": "^2.5.4", + "run-queue": "^1.0.3" + } + }, + "node_modules/move-concurrently/node_modules/rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmmirror.com/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, "node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmmirror.com/ms/-/ms-2.1.3.tgz", @@ -17680,6 +19730,15 @@ "dev": true, "license": "MIT" }, + "node_modules/nan": { + "version": "2.26.2", + "resolved": "https://registry.npmmirror.com/nan/-/nan-2.26.2.tgz", + "integrity": "sha512-0tTvBTYkt3tdGw22nrAy50x7gpbGCCFH3AFcyS5WiUu7Eu4vWlri1woE6qHBSfy11vksDqkiwjOnlR7WV8G1Hw==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true + }, "node_modules/nanoid": { "version": "3.3.8", "resolved": "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.8.tgz", @@ -17698,6 +19757,100 @@ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" } }, + "node_modules/nanomatch": { + "version": "1.2.13", + "resolved": "https://registry.npmmirror.com/nanomatch/-/nanomatch-1.2.13.tgz", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "fragment-cache": "^0.2.1", + "is-windows": "^1.0.2", + "kind-of": "^6.0.2", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/nanomatch/node_modules/define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/nanomatch/node_modules/extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/nanomatch/node_modules/is-descriptor": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/is-descriptor/-/is-descriptor-1.0.3.tgz", + "integrity": "sha512-JCNNGbwWZEVaSPtS45mdtrneRWJFp07LLmykxeFV5F6oBvNF8vHSfJuJgoT472pSfk+Mf8VnlrspaFBHWM8JAw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-accessor-descriptor": "^1.0.1", + "is-data-descriptor": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/nanomatch/node_modules/is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/nanomatch/node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmmirror.com/natural-compare/-/natural-compare-1.4.0.tgz", @@ -17843,6 +19996,104 @@ "license": "MIT", "peer": true }, + "node_modules/node-libs-browser": { + "version": "2.2.1", + "resolved": "https://registry.npmmirror.com/node-libs-browser/-/node-libs-browser-2.2.1.tgz", + "integrity": "sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "assert": "^1.1.1", + "browserify-zlib": "^0.2.0", + "buffer": "^4.3.0", + "console-browserify": "^1.1.0", + "constants-browserify": "^1.0.0", + "crypto-browserify": "^3.11.0", + "domain-browser": "^1.1.1", + "events": "^3.0.0", + "https-browserify": "^1.0.0", + "os-browserify": "^0.3.0", + "path-browserify": "0.0.1", + "process": "^0.11.10", + "punycode": "^1.2.4", + "querystring-es3": "^0.2.0", + "readable-stream": "^2.3.3", + "stream-browserify": "^2.0.1", + "stream-http": "^2.7.2", + "string_decoder": "^1.0.0", + "timers-browserify": "^2.0.4", + "tty-browserify": "0.0.0", + "url": "^0.11.0", + "util": "^0.11.0", + "vm-browserify": "^1.0.1" + } + }, + "node_modules/node-libs-browser/node_modules/buffer": { + "version": "4.9.2", + "resolved": "https://registry.npmmirror.com/buffer/-/buffer-4.9.2.tgz", + "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4", + "isarray": "^1.0.0" + } + }, + "node_modules/node-libs-browser/node_modules/path-browserify": { + "version": "0.0.1", + "resolved": "https://registry.npmmirror.com/path-browserify/-/path-browserify-0.0.1.tgz", + "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/node-libs-browser/node_modules/punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmmirror.com/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/node-libs-browser/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/node-libs-browser/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/node-libs-browser/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, "node_modules/node-releases": { "version": "2.0.19", "resolved": "https://registry.npmmirror.com/node-releases/-/node-releases-2.0.19.tgz", @@ -18000,11 +20251,40 @@ "node": ">=0.10.0" } }, + "node_modules/object-copy": { + "version": "0.1.0", + "resolved": "https://registry.npmmirror.com/object-copy/-/object-copy-0.1.0.tgz", + "integrity": "sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-copy/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/object-inspect": { "version": "1.13.3", "resolved": "https://registry.npmmirror.com/object-inspect/-/object-inspect-1.13.3.tgz", "integrity": "sha512-kDCGIbxkDSXE3euJZZXzc6to7fCrKHNI/hSRQnRuQ+BWjFNzZwiFF8fj/6o2t2G9/jTj8PSIYTfCLelLZEeRpA==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -18013,6 +20293,67 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object-visit": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/object-visit/-/object-visit-1.0.1.tgz", + "integrity": "sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object.assign": { + "version": "4.1.7", + "resolved": "https://registry.npmmirror.com/object.assign/-/object.assign-4.1.7.tgz", + "integrity": "sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0", + "has-symbols": "^1.1.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.pick": { + "version": "1.3.0", + "resolved": "https://registry.npmmirror.com/object.pick/-/object.pick-1.3.0.tgz", + "integrity": "sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/omggif": { "version": "1.0.10", "resolved": "https://registry.npmmirror.com/omggif/-/omggif-1.0.10.tgz", @@ -18173,6 +20514,14 @@ "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, + "node_modules/os-browserify": { + "version": "0.3.0", + "resolved": "https://registry.npmmirror.com/os-browserify/-/os-browserify-0.3.0.tgz", + "integrity": "sha512-gjcpUc3clBf9+210TRaDWbf+rZZZEshZ+DlXMRCeAjp0xhTrnQsKHypIy1J3d5hKdUzj69t708EHtU8P6bUn0A==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/os-homedir": { "version": "1.0.2", "resolved": "https://registry.npmmirror.com/os-homedir/-/os-homedir-1.0.2.tgz", @@ -18297,6 +20646,51 @@ "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", "license": "(MIT AND Zlib)" }, + "node_modules/parallel-transform": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/parallel-transform/-/parallel-transform-1.2.0.tgz", + "integrity": "sha512-P2vSmIu38uIlvdcU7fDkyrxj33gTUy/ABO5ZUbGowxNCopBq/OoD42bP4UmMrJoPyk4Uqf0mu3mtWBhHCZD8yg==", + "dev": true, + "license": "MIT", + "dependencies": { + "cyclist": "^1.0.1", + "inherits": "^2.0.3", + "readable-stream": "^2.1.5" + } + }, + "node_modules/parallel-transform/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/parallel-transform/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "license": "MIT" + }, + "node_modules/parallel-transform/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, "node_modules/param-case": { "version": "2.1.1", "resolved": "https://registry.npmmirror.com/param-case/-/param-case-2.1.1.tgz", @@ -18319,6 +20713,24 @@ "node": ">=6" } }, + "node_modules/parse-asn1": { + "version": "5.1.9", + "resolved": "https://registry.npmmirror.com/parse-asn1/-/parse-asn1-5.1.9.tgz", + "integrity": "sha512-fIYNuZ/HastSb80baGOuPRo1O9cf4baWw5WsAp7dBuUzeTD/BoaG8sVTdlPFksBE2lF21dN+A1AnrpIjSWqHHg==", + "dev": true, + "license": "ISC", + "peer": true, + "dependencies": { + "asn1.js": "^4.10.1", + "browserify-aes": "^1.2.0", + "evp_bytestokey": "^1.0.3", + "pbkdf2": "^3.1.5", + "safe-buffer": "^5.2.1" + }, + "engines": { + "node": ">= 0.10" + } + }, "node_modules/parse-bmfont-ascii": { "version": "1.0.6", "resolved": "https://registry.npmmirror.com/parse-bmfont-ascii/-/parse-bmfont-ascii-1.0.6.tgz", @@ -18406,6 +20818,17 @@ "node": ">= 0.8" } }, + "node_modules/pascalcase": { + "version": "0.1.1", + "resolved": "https://registry.npmmirror.com/pascalcase/-/pascalcase-0.1.1.tgz", + "integrity": "sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/path-browserify": { "version": "1.0.1", "resolved": "https://registry.npmmirror.com/path-browserify/-/path-browserify-1.0.1.tgz", @@ -18413,6 +20836,13 @@ "dev": true, "license": "MIT" }, + "node_modules/path-dirname": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/path-dirname/-/path-dirname-1.0.2.tgz", + "integrity": "sha512-ALzNPpyNq9AqXMBjeymIjFDAkAFH06mHJH/cSBHAgU0s4vfpBn6b2nf8tiRLvagKD8RbTpq2FKTBg7cl9l3c7Q==", + "dev": true, + "license": "MIT" + }, "node_modules/path-exists": { "version": "4.0.0", "resolved": "https://registry.npmmirror.com/path-exists/-/path-exists-4.0.0.tgz", @@ -18453,6 +20883,48 @@ "dev": true, "license": "MIT" }, + "node_modules/path-type": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "dev": true, + "license": "MIT", + "dependencies": { + "pify": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/path-type/node_modules/pify": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/pify/-/pify-3.0.0.tgz", + "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/pbkdf2": { + "version": "3.1.5", + "resolved": "https://registry.npmmirror.com/pbkdf2/-/pbkdf2-3.1.5.tgz", + "integrity": "sha512-Q3CG/cYvCO1ye4QKkuH7EXxs3VC/rI1/trd+qX2+PolbaKG0H+bgcZzrTt96mMyRtejk+JMCiLUn3y29W8qmFQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "ripemd160": "^2.0.3", + "safe-buffer": "^5.2.1", + "sha.js": "^2.4.12", + "to-buffer": "^1.2.1" + }, + "engines": { + "node": ">= 0.10" + } + }, "node_modules/peek-readable": { "version": "4.1.0", "resolved": "https://registry.npmmirror.com/peek-readable/-/peek-readable-4.1.0.tgz", @@ -18694,6 +21166,17 @@ "node": ">=4.0.0" } }, + "node_modules/posix-character-classes": { + "version": "0.1.1", + "resolved": "https://registry.npmmirror.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz", + "integrity": "sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/possible-typed-array-names": { "version": "1.1.0", "resolved": "https://registry.npmmirror.com/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz", @@ -19416,6 +21899,13 @@ "asap": "~2.0.6" } }, + "node_modules/promise-inflight": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/promise-inflight/-/promise-inflight-1.0.1.tgz", + "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==", + "dev": true, + "license": "ISC" + }, "node_modules/prompts": { "version": "2.4.2", "resolved": "https://registry.npmmirror.com/prompts/-/prompts-2.4.2.tgz", @@ -19495,6 +21985,30 @@ "url": "https://github.com/sponsors/lupomontero" } }, + "node_modules/public-encrypt": { + "version": "4.0.3", + "resolved": "https://registry.npmmirror.com/public-encrypt/-/public-encrypt-4.0.3.tgz", + "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/public-encrypt/node_modules/bn.js": { + "version": "4.12.3", + "resolved": "https://registry.npmmirror.com/bn.js/-/bn.js-4.12.3.tgz", + "integrity": "sha512-fGTi3gxV/23FTYdAoUtLYp6qySe2KE3teyZitipKNRuVYcBkoP/bB3guXN/XVKUe9mxCHXnc9C4ocyz8OmgN0g==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/pump": { "version": "3.0.3", "resolved": "https://registry.npmmirror.com/pump/-/pump-3.0.3.tgz", @@ -19505,6 +22019,29 @@ "once": "^1.3.1" } }, + "node_modules/pumpify": { + "version": "1.5.1", + "resolved": "https://registry.npmmirror.com/pumpify/-/pumpify-1.5.1.tgz", + "integrity": "sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "duplexify": "^3.6.0", + "inherits": "^2.0.3", + "pump": "^2.0.0" + } + }, + "node_modules/pumpify/node_modules/pump": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/pump/-/pump-2.0.1.tgz", + "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", + "dev": true, + "license": "MIT", + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, "node_modules/punycode": { "version": "2.3.1", "resolved": "https://registry.npmmirror.com/punycode/-/punycode-2.3.1.tgz", @@ -19532,7 +22069,6 @@ "version": "6.13.0", "resolved": "https://registry.npmmirror.com/qs/-/qs-6.13.0.tgz", "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", - "dev": true, "license": "BSD-3-Clause", "dependencies": { "side-channel": "^1.0.6" @@ -19568,6 +22104,16 @@ "node": ">=0.4.x" } }, + "node_modules/querystring-es3": { + "version": "0.2.1", + "resolved": "https://registry.npmmirror.com/querystring-es3/-/querystring-es3-0.2.1.tgz", + "integrity": "sha512-773xhDQnZBMFobEiztv8LIl70ch5MSF/jUQVlhwFyBILqq96anmoctVIYz+ZRp0qbCKATTn6ev02M3r7Ga5vqA==", + "dev": true, + "peer": true, + "engines": { + "node": ">=0.4.x" + } + }, "node_modules/querystringify": { "version": "2.2.0", "resolved": "https://registry.npmmirror.com/querystringify/-/querystringify-2.2.0.tgz", @@ -19626,6 +22172,18 @@ "safe-buffer": "^5.1.0" } }, + "node_modules/randomfill": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/randomfill/-/randomfill-1.0.4.tgz", + "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "randombytes": "^2.0.5", + "safe-buffer": "^5.1.0" + } + }, "node_modules/range-parser": { "version": "1.2.1", "resolved": "https://registry.npmmirror.com/range-parser/-/range-parser-1.2.1.tgz", @@ -20376,6 +22934,50 @@ "@babel/runtime": "^7.8.4" } }, + "node_modules/regex-not": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/regex-not/-/regex-not-1.0.2.tgz", + "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "extend-shallow": "^3.0.2", + "safe-regex": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/regex-not/node_modules/extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/regex-not/node_modules/is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/regexpu-core": { "version": "6.2.0", "resolved": "https://registry.npmmirror.com/regexpu-core/-/regexpu-core-6.2.0.tgz", @@ -20432,6 +23034,37 @@ "node": ">= 0.10" } }, + "node_modules/remove-trailing-separator": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", + "integrity": "sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw==", + "dev": true, + "license": "ISC", + "optional": true, + "peer": true + }, + "node_modules/repeat-element": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/repeat-element/-/repeat-element-1.1.4.tgz", + "integrity": "sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmmirror.com/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10" + } + }, "node_modules/repeating": { "version": "2.0.1", "resolved": "https://registry.npmmirror.com/repeating/-/repeating-2.0.1.tgz", @@ -20588,6 +23221,15 @@ "node": ">=8" } }, + "node_modules/resolve-url": { + "version": "0.2.1", + "resolved": "https://registry.npmmirror.com/resolve-url/-/resolve-url-0.2.1.tgz", + "integrity": "sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg==", + "deprecated": "https://github.com/lydell/resolve-url#deprecated", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/resolve.exports": { "version": "1.1.1", "resolved": "https://registry.npmmirror.com/resolve.exports/-/resolve.exports-1.1.1.tgz", @@ -20624,6 +23266,26 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/ret": { + "version": "0.1.15", + "resolved": "https://registry.npmmirror.com/ret/-/ret-0.1.15.tgz", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/retry": { + "version": "0.13.1", + "resolved": "https://registry.npmmirror.com/retry/-/retry-0.13.1.tgz", + "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, "node_modules/reusify": { "version": "1.0.4", "resolved": "https://registry.npmmirror.com/reusify/-/reusify-1.0.4.tgz", @@ -20650,6 +23312,82 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/ripemd160": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/ripemd160/-/ripemd160-2.0.3.tgz", + "integrity": "sha512-5Di9UC0+8h1L6ZD2d7awM7E/T4uA1fJRlx6zk/NvdCCVEoAnFqvHmCuNeIKoCeIixBX/q8uM+6ycDvF8woqosA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "hash-base": "^3.1.2", + "inherits": "^2.0.4" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/ripemd160/node_modules/hash-base": { + "version": "3.1.2", + "resolved": "https://registry.npmmirror.com/hash-base/-/hash-base-3.1.2.tgz", + "integrity": "sha512-Bb33KbowVTIj5s7Ked1OsqHUeCpz//tPwR+E2zJgJKo9Z5XolZ9b6bdUgjmYlwnWhoOQKoTd1TYToZGn5mAYOg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "inherits": "^2.0.4", + "readable-stream": "^2.3.8", + "safe-buffer": "^5.2.1", + "to-buffer": "^1.2.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/ripemd160/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/ripemd160/node_modules/readable-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/ripemd160/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/ripemd160/node_modules/string_decoder/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/rollup": { "version": "3.29.5", "resolved": "https://registry.npmmirror.com/rollup/-/rollup-3.29.5.tgz", @@ -20689,6 +23427,16 @@ "queue-microtask": "^1.2.2" } }, + "node_modules/run-queue": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/run-queue/-/run-queue-1.0.3.tgz", + "integrity": "sha512-ntymy489o0/QQplUDnpYAYUsO50K9SBrIVaKCWDOJzYJts0f9WH9RFJkyagebkw5+y1oi00R7ynNW/d12GBumg==", + "dev": true, + "license": "ISC", + "dependencies": { + "aproba": "^1.1.1" + } + }, "node_modules/safe-area-insets": { "version": "1.4.1", "resolved": "https://registry.npmmirror.com/safe-area-insets/-/safe-area-insets-1.4.1.tgz", @@ -20715,6 +23463,17 @@ ], "license": "MIT" }, + "node_modules/safe-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/safe-regex/-/safe-regex-1.1.0.tgz", + "integrity": "sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "ret": "~0.1.10" + } + }, "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmmirror.com/safer-buffer/-/safer-buffer-2.1.2.tgz", @@ -20928,15 +23687,11 @@ } }, "node_modules/serialize-javascript": { - "version": "6.0.2", - "resolved": "https://registry.npmmirror.com/serialize-javascript/-/serialize-javascript-6.0.2.tgz", - "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", + "version": "1.9.1", + "resolved": "https://registry.npmmirror.com/serialize-javascript/-/serialize-javascript-1.9.1.tgz", + "integrity": "sha512-0Vb/54WJ6k5v8sSWN09S0ora+Hnr+cX40r9F170nT+mSkaxltoE/7R3OrIdBSUv1OoiobH1QoWQbCnAO+e8J1A==", "dev": true, - "license": "BSD-3-Clause", - "peer": true, - "dependencies": { - "randombytes": "^2.1.0" - } + "license": "BSD-3-Clause" }, "node_modules/serve-static": { "version": "1.16.2", @@ -20976,6 +23731,23 @@ "node": ">= 0.4" } }, + "node_modules/set-value": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/set-value/-/set-value-2.0.1.tgz", + "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.3", + "split-string": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/setimmediate": { "version": "1.0.5", "resolved": "https://registry.npmmirror.com/setimmediate/-/setimmediate-1.0.5.tgz", @@ -21000,6 +23772,28 @@ "node": ">=7.6.0" } }, + "node_modules/sha.js": { + "version": "2.4.12", + "resolved": "https://registry.npmmirror.com/sha.js/-/sha.js-2.4.12.tgz", + "integrity": "sha512-8LzC5+bvI45BjpfXU8V5fdU2mfeKiQe1D1gIMn7XUlF3OTUrpdJpPPH4EMAnF0DsHHdSZqCdSss5qCmJKuiO3w==", + "dev": true, + "license": "(MIT AND BSD-3-Clause)", + "peer": true, + "dependencies": { + "inherits": "^2.0.4", + "safe-buffer": "^5.2.1", + "to-buffer": "^1.2.0" + }, + "bin": { + "sha.js": "bin.js" + }, + "engines": { + "node": ">= 0.10" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmmirror.com/shebang-command/-/shebang-command-2.0.0.tgz", @@ -21038,7 +23832,6 @@ "version": "1.1.0", "resolved": "https://registry.npmmirror.com/side-channel/-/side-channel-1.1.0.tgz", "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", - "dev": true, "license": "MIT", "dependencies": { "es-errors": "^1.3.0", @@ -21058,7 +23851,6 @@ "version": "1.0.0", "resolved": "https://registry.npmmirror.com/side-channel-list/-/side-channel-list-1.0.0.tgz", "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", - "dev": true, "license": "MIT", "dependencies": { "es-errors": "^1.3.0", @@ -21075,7 +23867,6 @@ "version": "1.0.1", "resolved": "https://registry.npmmirror.com/side-channel-map/-/side-channel-map-1.0.1.tgz", "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", - "dev": true, "license": "MIT", "dependencies": { "call-bound": "^1.0.2", @@ -21094,7 +23885,6 @@ "version": "1.0.2", "resolved": "https://registry.npmmirror.com/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", - "dev": true, "license": "MIT", "dependencies": { "call-bound": "^1.0.2", @@ -21145,6 +23935,130 @@ "node": ">=8" } }, + "node_modules/snapdragon": { + "version": "0.8.2", + "resolved": "https://registry.npmmirror.com/snapdragon/-/snapdragon-0.8.2.tgz", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-node": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-node/node_modules/define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-node/node_modules/is-descriptor": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/is-descriptor/-/is-descriptor-1.0.3.tgz", + "integrity": "sha512-JCNNGbwWZEVaSPtS45mdtrneRWJFp07LLmykxeFV5F6oBvNF8vHSfJuJgoT472pSfk+Mf8VnlrspaFBHWM8JAw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-accessor-descriptor": "^1.0.1", + "is-data-descriptor": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/snapdragon-util": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/snapdragon-util/-/snapdragon-util-3.0.1.tgz", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "kind-of": "^3.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-util/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmmirror.com/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/snapdragon/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/snapdragon/node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", + "dev": true, + "license": "BSD-3-Clause", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/sort-keys": { "version": "2.0.0", "resolved": "https://registry.npmmirror.com/sort-keys/-/sort-keys-2.0.0.tgz", @@ -21181,6 +24095,14 @@ "node": ">=0.10.0" } }, + "node_modules/source-list-map": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/source-list-map/-/source-list-map-2.0.1.tgz", + "integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz", @@ -21199,6 +24121,22 @@ "node": ">=0.10.0" } }, + "node_modules/source-map-resolve": { + "version": "0.5.3", + "resolved": "https://registry.npmmirror.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz", + "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", + "deprecated": "See https://github.com/lydell/source-map-resolve#deprecated", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "atob": "^2.1.2", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, "node_modules/source-map-support": { "version": "0.5.21", "resolved": "https://registry.npmmirror.com/source-map-support/-/source-map-support-0.5.21.tgz", @@ -21209,6 +24147,15 @@ "source-map": "^0.6.0" } }, + "node_modules/source-map-url": { + "version": "0.4.1", + "resolved": "https://registry.npmmirror.com/source-map-url/-/source-map-url-0.4.1.tgz", + "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==", + "deprecated": "See https://github.com/lydell/source-map-url#deprecated", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/sourcemap-codec": { "version": "1.4.8", "resolved": "https://registry.npmmirror.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", @@ -21247,6 +24194,49 @@ "integrity": "sha512-Bvg/8F5XephndSK3JffaRqdT+gyhfqIPwDHpX80tJrF8QQRYMo8sNMeaZ2Dp5+jhwKnUmIOyFFQfHRkjJm5nXg==", "license": "CC0-1.0" }, + "node_modules/split-string": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/split-string/-/split-string-3.1.0.tgz", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "extend-shallow": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/split-string/node_modules/extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/split-string/node_modules/is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmmirror.com/sprintf-js/-/sprintf-js-1.0.3.tgz", @@ -21279,6 +24269,16 @@ "node": ">=0.10.0" } }, + "node_modules/ssri": { + "version": "6.0.2", + "resolved": "https://registry.npmmirror.com/ssri/-/ssri-6.0.2.tgz", + "integrity": "sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==", + "dev": true, + "license": "ISC", + "dependencies": { + "figgy-pudding": "^3.5.1" + } + }, "node_modules/stable": { "version": "0.1.8", "resolved": "https://registry.npmmirror.com/stable/-/stable-0.1.8.tgz", @@ -21339,6 +24339,21 @@ "node": ">=8" } }, + "node_modules/static-extend": { + "version": "0.1.2", + "resolved": "https://registry.npmmirror.com/static-extend/-/static-extend-0.1.2.tgz", + "integrity": "sha512-72E9+uLc27Mt718pMHt9VMNiAL4LMsmDbBva8mxWUCkT07fSzEGMYUCk0XWY6lp0j6RBAG4cJ3mWuZv2OE3s0g==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "define-property": "^0.2.5", + "object-copy": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/statuses": { "version": "2.0.1", "resolved": "https://registry.npmmirror.com/statuses/-/statuses-2.0.1.tgz", @@ -21363,6 +24378,54 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/stream-browserify": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/stream-browserify/-/stream-browserify-2.0.2.tgz", + "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "inherits": "~2.0.1", + "readable-stream": "^2.0.2" + } + }, + "node_modules/stream-browserify/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/stream-browserify/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/stream-browserify/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, "node_modules/stream-buffers": { "version": "2.2.0", "resolved": "https://registry.npmmirror.com/stream-buffers/-/stream-buffers-2.2.0.tgz", @@ -21372,6 +24435,75 @@ "node": ">= 0.10.0" } }, + "node_modules/stream-each": { + "version": "1.2.3", + "resolved": "https://registry.npmmirror.com/stream-each/-/stream-each-1.2.3.tgz", + "integrity": "sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==", + "dev": true, + "license": "MIT", + "dependencies": { + "end-of-stream": "^1.1.0", + "stream-shift": "^1.0.0" + } + }, + "node_modules/stream-http": { + "version": "2.8.3", + "resolved": "https://registry.npmmirror.com/stream-http/-/stream-http-2.8.3.tgz", + "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "builtin-status-codes": "^3.0.0", + "inherits": "^2.0.1", + "readable-stream": "^2.3.6", + "to-arraybuffer": "^1.0.0", + "xtend": "^4.0.0" + } + }, + "node_modules/stream-http/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/stream-http/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/stream-http/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/stream-shift": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/stream-shift/-/stream-shift-1.0.3.tgz", + "integrity": "sha512-76ORR0DO1o1hlKwTbi/DM3EXWGf3ZJYO8cXX5RJwnul2DEg2oyoZyjLNoQM8WsvZiFKCRfC1O0J7iCvie3RZmQ==", + "dev": true, + "license": "MIT" + }, "node_modules/strict-uri-encode": { "version": "1.1.0", "resolved": "https://registry.npmmirror.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz", @@ -21757,121 +24889,143 @@ } }, "node_modules/terser-webpack-plugin": { - "version": "5.3.14", - "resolved": "https://registry.npmmirror.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.14.tgz", - "integrity": "sha512-vkZjpUjb6OMS7dhV+tILUW6BhpDR7P2L/aQSAv+Uwk+m8KATX9EccViHTJR2qDtACKPIYndLGCyl3FMo+r2LMw==", + "version": "1.4.6", + "resolved": "https://registry.npmmirror.com/terser-webpack-plugin/-/terser-webpack-plugin-1.4.6.tgz", + "integrity": "sha512-2lBVf/VMVIddjSn3GqbT90GvIJ/eYXJkt8cTzU7NbjKqK8fwv18Ftr4PlbF46b/e88743iZFL5Dtr/rC4hjIeA==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@jridgewell/trace-mapping": "^0.3.25", - "jest-worker": "^27.4.5", - "schema-utils": "^4.3.0", - "serialize-javascript": "^6.0.2", - "terser": "^5.31.1" + "cacache": "^12.0.2", + "find-cache-dir": "^2.1.0", + "is-wsl": "^1.1.0", + "schema-utils": "^1.0.0", + "serialize-javascript": "^4.0.0", + "source-map": "^0.6.1", + "terser": "^4.1.2", + "webpack-sources": "^1.4.0", + "worker-farm": "^1.7.0" }, "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" + "node": ">= 6.9.0" }, "peerDependencies": { - "webpack": "^5.1.0" - }, - "peerDependenciesMeta": { - "@swc/core": { - "optional": true - }, - "esbuild": { - "optional": true - }, - "uglify-js": { - "optional": true - } + "webpack": "^4.0.0" } }, - "node_modules/terser-webpack-plugin/node_modules/ajv": { - "version": "8.17.1", - "resolved": "https://registry.npmmirror.com/ajv/-/ajv-8.17.1.tgz", - "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "node_modules/terser-webpack-plugin/node_modules/cacache": { + "version": "12.0.4", + "resolved": "https://registry.npmmirror.com/cacache/-/cacache-12.0.4.tgz", + "integrity": "sha512-a0tMB40oefvuInr4Cwb3GerbL9xTj1D5yg0T5xrjGCGyfvbxseIXX7BAO/u/hIXdafzOI5JC3wDwHyf24buOAQ==", "dev": true, - "license": "MIT", + "license": "ISC", "peer": true, "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" + "bluebird": "^3.5.5", + "chownr": "^1.1.1", + "figgy-pudding": "^3.5.1", + "glob": "^7.1.4", + "graceful-fs": "^4.1.15", + "infer-owner": "^1.0.3", + "lru-cache": "^5.1.1", + "mississippi": "^3.0.0", + "mkdirp": "^0.5.1", + "move-concurrently": "^1.0.1", + "promise-inflight": "^1.0.1", + "rimraf": "^2.6.3", + "ssri": "^6.0.1", + "unique-filename": "^1.1.1", + "y18n": "^4.0.0" } }, - "node_modules/terser-webpack-plugin/node_modules/ajv-formats": { - "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/ajv-formats/-/ajv-formats-2.1.1.tgz", - "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "ajv": "^8.0.0" - }, - "peerDependencies": { - "ajv": "^8.0.0" - }, - "peerDependenciesMeta": { - "ajv": { - "optional": true - } - } - }, - "node_modules/terser-webpack-plugin/node_modules/ajv-keywords": { - "version": "5.1.0", - "resolved": "https://registry.npmmirror.com/ajv-keywords/-/ajv-keywords-5.1.0.tgz", - "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "fast-deep-equal": "^3.1.3" - }, - "peerDependencies": { - "ajv": "^8.8.2" - } - }, - "node_modules/terser-webpack-plugin/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "node_modules/terser-webpack-plugin/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmmirror.com/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", "dev": true, "license": "MIT", "peer": true }, + "node_modules/terser-webpack-plugin/node_modules/is-wsl": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/is-wsl/-/is-wsl-1.1.0.tgz", + "integrity": "sha512-gfygJYZ2gLTDlmbWMI0CE2MwnFzSN/2SZfkMlItC4K/JBlsWVDB0bO6XhqcY13YXE7iMcAJnzTCJjPiTeJJ0Mw==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/terser-webpack-plugin/node_modules/rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmmirror.com/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "dev": true, + "license": "ISC", + "peer": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, "node_modules/terser-webpack-plugin/node_modules/schema-utils": { - "version": "4.3.2", - "resolved": "https://registry.npmmirror.com/schema-utils/-/schema-utils-4.3.2.tgz", - "integrity": "sha512-Gn/JaSk/Mt9gYubxTtSn/QCV4em9mpAPiR1rqy/Ocu19u/G9J5WWdNoUT4SiV6mFC3y6cxyFcFwdzPM3FgxGAQ==", + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/schema-utils/-/schema-utils-1.0.0.tgz", + "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@types/json-schema": "^7.0.9", - "ajv": "^8.9.0", - "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.1.0" + "ajv": "^6.1.0", + "ajv-errors": "^1.0.0", + "ajv-keywords": "^3.1.0" }, "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" + "node": ">= 4" } }, + "node_modules/terser-webpack-plugin/node_modules/serialize-javascript": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/serialize-javascript/-/serialize-javascript-4.0.0.tgz", + "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", + "dev": true, + "license": "BSD-3-Clause", + "peer": true, + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/terser-webpack-plugin/node_modules/terser": { + "version": "4.8.1", + "resolved": "https://registry.npmmirror.com/terser/-/terser-4.8.1.tgz", + "integrity": "sha512-4GnLC0x667eJG0ewJTa6z/yXrbLGv80D9Ru6HIpCQmO+Q4PfEtBFi0ObSckqwL6VyQv/7ENJieXHo2ANmdQwgw==", + "dev": true, + "license": "BSD-2-Clause", + "peer": true, + "dependencies": { + "commander": "^2.20.0", + "source-map": "~0.6.1", + "source-map-support": "~0.5.12" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/terser-webpack-plugin/node_modules/y18n": { + "version": "4.0.3", + "resolved": "https://registry.npmmirror.com/y18n/-/y18n-4.0.3.tgz", + "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", + "dev": true, + "license": "ISC", + "peer": true + }, "node_modules/terser/node_modules/commander": { "version": "2.20.3", "resolved": "https://registry.npmmirror.com/commander/-/commander-2.20.3.tgz", @@ -21938,6 +25092,50 @@ "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", "license": "MIT" }, + "node_modules/through2": { + "version": "2.0.5", + "resolved": "https://registry.npmmirror.com/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "node_modules/through2/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/through2/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "license": "MIT" + }, + "node_modules/through2/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, "node_modules/tim-upload-plugin": { "version": "1.4.2", "resolved": "https://registry.npmmirror.com/tim-upload-plugin/-/tim-upload-plugin-1.4.2.tgz", @@ -21953,6 +25151,20 @@ "node": ">=0.10.0" } }, + "node_modules/timers-browserify": { + "version": "2.0.12", + "resolved": "https://registry.npmmirror.com/timers-browserify/-/timers-browserify-2.0.12.tgz", + "integrity": "sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "setimmediate": "^1.0.4" + }, + "engines": { + "node": ">=0.6.0" + } + }, "node_modules/timm": { "version": "1.7.1", "resolved": "https://registry.npmmirror.com/timm/-/timm-1.7.1.tgz", @@ -21990,10 +25202,18 @@ "license": "BSD-3-Clause", "peer": true }, + "node_modules/to-arraybuffer": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", + "integrity": "sha512-okFlQcoGTi4LQBG/PgSYblw9VOyptsz2KJZqc6qtgGdes8VktzUQkj4BI2blit072iS8VODNcMA+tvnS9dnuMA==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/to-buffer": { - "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/to-buffer/-/to-buffer-1.2.1.tgz", - "integrity": "sha512-tB82LpAIWjhLYbqjx3X4zEeHN6M8CiuOEy2JY8SEQVdYRe3CCHOFaqrBW1doLDrfpWhplcW7BL+bO3/6S3pcDQ==", + "version": "1.2.2", + "resolved": "https://registry.npmmirror.com/to-buffer/-/to-buffer-1.2.2.tgz", + "integrity": "sha512-db0E3UJjcFhpDhAF4tLo03oli3pwl3dbnzXOUIlRKrp+ldk/VUxzpWYZENsw2SZiuBjHAk7DfB0VU7NKdpb6sw==", "license": "MIT", "dependencies": { "isarray": "^2.0.5", @@ -22019,6 +25239,51 @@ "node": ">=0.10.0" } }, + "node_modules/to-object-path": { + "version": "0.3.0", + "resolved": "https://registry.npmmirror.com/to-object-path/-/to-object-path-0.3.0.tgz", + "integrity": "sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/to-object-path/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/to-regex": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/to-regex/-/to-regex-3.0.2.tgz", + "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "regex-not": "^1.0.2", + "safe-regex": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmmirror.com/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -22031,6 +25296,65 @@ "node": ">=8.0" } }, + "node_modules/to-regex/node_modules/define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/to-regex/node_modules/extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/to-regex/node_modules/is-descriptor": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/is-descriptor/-/is-descriptor-1.0.3.tgz", + "integrity": "sha512-JCNNGbwWZEVaSPtS45mdtrneRWJFp07LLmykxeFV5F6oBvNF8vHSfJuJgoT472pSfk+Mf8VnlrspaFBHWM8JAw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-accessor-descriptor": "^1.0.1", + "is-data-descriptor": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/to-regex/node_modules/is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/toidentifier": { "version": "1.0.1", "resolved": "https://registry.npmmirror.com/toidentifier/-/toidentifier-1.0.1.tgz", @@ -22141,6 +25465,14 @@ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", "license": "0BSD" }, + "node_modules/tty-browserify": { + "version": "0.0.0", + "resolved": "https://registry.npmmirror.com/tty-browserify/-/tty-browserify-0.0.0.tgz", + "integrity": "sha512-JVa5ijo+j/sOoHGjw0sxw734b1LhBkQ3bvUGNdxnVXDCX81Yx7TFgnZygxrIIWn23hbfTaMYLwRmAxFyDuFmIw==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/tunnel-agent": { "version": "0.6.0", "resolved": "https://registry.npmmirror.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz", @@ -22223,6 +25555,13 @@ "node": ">= 0.4" } }, + "node_modules/typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmmirror.com/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==", + "dev": true, + "license": "MIT" + }, "node_modules/typedarray-to-buffer": { "version": "3.1.5", "resolved": "https://registry.npmmirror.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", @@ -22335,12 +25674,49 @@ "node": ">=4" } }, + "node_modules/union-value": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/union-value/-/union-value-1.0.1.tgz", + "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "arr-union": "^3.1.0", + "get-value": "^2.0.6", + "is-extendable": "^0.1.1", + "set-value": "^2.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/uniq": { "version": "1.0.1", "resolved": "https://registry.npmmirror.com/uniq/-/uniq-1.0.1.tgz", "integrity": "sha512-Gw+zz50YNKPDKXs+9d+aKAjVwpjNwqzvNpLigIruT4HA9lMZNdMqs9x07kKHB/L9WRzqp4+DlTU5s4wG2esdoA==", "license": "MIT" }, + "node_modules/unique-filename": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/unique-filename/-/unique-filename-1.1.1.tgz", + "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "unique-slug": "^2.0.0" + } + }, + "node_modules/unique-slug": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/unique-slug/-/unique-slug-2.0.2.tgz", + "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==", + "dev": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4" + } + }, "node_modules/universalify": { "version": "2.0.1", "resolved": "https://registry.npmmirror.com/universalify/-/universalify-2.0.1.tgz", @@ -22365,6 +25741,75 @@ "integrity": "sha512-vRCqFv6UhXpWxZPyGDh/F3ZpNv8/qo7w6iufLpQg9aKnQ71qM4B5KiI7Mia9COcjEhrO9LueHpMYjYzsWH3OIg==", "license": "MIT" }, + "node_modules/unset-value": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/unset-value/-/unset-value-1.0.0.tgz", + "integrity": "sha512-PcA2tsuGSF9cnySLHTLSh2qrQiJ70mn+r+Glzxv2TWZblxsxCC52BDlZoPCsz7STd9pN7EZetkWZBAvk4cgZdQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "has-value": "^0.3.1", + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unset-value/node_modules/has-value": { + "version": "0.3.1", + "resolved": "https://registry.npmmirror.com/has-value/-/has-value-0.3.1.tgz", + "integrity": "sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "get-value": "^2.0.3", + "has-values": "^0.1.4", + "isobject": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unset-value/node_modules/has-value/node_modules/isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "isarray": "1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unset-value/node_modules/has-values": { + "version": "0.1.4", + "resolved": "https://registry.npmmirror.com/has-values/-/has-values-0.1.4.tgz", + "integrity": "sha512-J8S0cEdWuQbqD9//tlZxiMuMNmxB8PlEwvYwuxsTmR1G5RXUePEX/SJn7aD0GMLieuZYSwNH0cQuJGwnYunXRQ==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/upath": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/upath/-/upath-1.2.0.tgz", + "integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "engines": { + "node": ">=4", + "yarn": "*" + } + }, "node_modules/update-browserslist-db": { "version": "1.1.2", "resolved": "https://registry.npmmirror.com/update-browserslist-db/-/update-browserslist-db-1.1.2.tgz", @@ -22417,6 +25862,28 @@ "dev": true, "license": "MIT" }, + "node_modules/urix": { + "version": "0.1.0", + "resolved": "https://registry.npmmirror.com/urix/-/urix-0.1.0.tgz", + "integrity": "sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg==", + "deprecated": "Please see https://github.com/lydell/urix#deprecated", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/url": { + "version": "0.11.4", + "resolved": "https://registry.npmmirror.com/url/-/url-0.11.4.tgz", + "integrity": "sha512-oCwdVC7mTuWiPyjLUz/COz5TLk6wgp0RCsN+wHZ2Ekneac9w8uuV0njcbbie2ME+Vs+d6duwmYuR3HgQXs1fOg==", + "license": "MIT", + "dependencies": { + "punycode": "^1.4.1", + "qs": "^6.12.3" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/url-parse": { "version": "1.5.10", "resolved": "https://registry.npmmirror.com/url-parse/-/url-parse-1.5.10.tgz", @@ -22450,6 +25917,23 @@ "node": ">= 4" } }, + "node_modules/url/node_modules/punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmmirror.com/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==", + "license": "MIT" + }, + "node_modules/use": { + "version": "3.1.1", + "resolved": "https://registry.npmmirror.com/use/-/use-3.1.1.tgz", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/utif": { "version": "2.0.1", "resolved": "https://registry.npmmirror.com/utif/-/utif-2.0.1.tgz", @@ -22459,12 +25943,31 @@ "pako": "^1.0.5" } }, + "node_modules/util": { + "version": "0.11.1", + "resolved": "https://registry.npmmirror.com/util/-/util-0.11.1.tgz", + "integrity": "sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "inherits": "2.0.3" + } + }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmmirror.com/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", "license": "MIT" }, + "node_modules/util/node_modules/inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==", + "dev": true, + "license": "ISC", + "peer": true + }, "node_modules/utils-merge": { "version": "1.0.1", "resolved": "https://registry.npmmirror.com/utils-merge/-/utils-merge-1.0.1.tgz", @@ -22614,6 +26117,19 @@ } } }, + "node_modules/vite-plugin-copy": { + "version": "0.1.6", + "resolved": "https://registry.npmmirror.com/vite-plugin-copy/-/vite-plugin-copy-0.1.6.tgz", + "integrity": "sha512-bqIaefZOE2Jx8P5wJuHKL5GzCERa/pcwdUQWaocyTNXgalN2xkxXH7LmqRJ34V2OlKF2F9E/zj0zITS7U6PpUg==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-glob": "^3.2.7" + }, + "engines": { + "node": ">=14.8.0" + } + }, "node_modules/vite-plugin-windicss": { "version": "1.9.4", "resolved": "https://registry.npmmirror.com/vite-plugin-windicss/-/vite-plugin-windicss-1.9.4.tgz", @@ -22640,6 +26156,14 @@ "license": "MIT", "peer": true }, + "node_modules/vm-browserify": { + "version": "1.1.2", + "resolved": "https://registry.npmmirror.com/vm-browserify/-/vm-browserify-1.1.2.tgz", + "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/vue": { "version": "3.2.47", "resolved": "https://registry.npmmirror.com/vue/-/vue-3.2.47.tgz", @@ -22837,18 +26361,406 @@ } }, "node_modules/watchpack": { - "version": "2.4.4", - "resolved": "https://registry.npmmirror.com/watchpack/-/watchpack-2.4.4.tgz", - "integrity": "sha512-c5EGNOiyxxV5qmTtAB7rbiXxi1ooX1pQKMLX/MIabJjRA0SJBQOjKF+KSVfHkr9U1cADPon0mRiVe/riyaiDUA==", + "version": "1.7.5", + "resolved": "https://registry.npmmirror.com/watchpack/-/watchpack-1.7.5.tgz", + "integrity": "sha512-9P3MWk6SrKjHsGkLT2KHXdQ/9SNkyoJbabxnKOoJepsvJjJG8uYTR3yTPxPQvNDI3w4Nz1xnE0TLHK4RIVe/MQ==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.1.2" + "graceful-fs": "^4.1.2", + "neo-async": "^2.5.0" + }, + "optionalDependencies": { + "chokidar": "^3.4.1", + "watchpack-chokidar2": "^2.0.1" + } + }, + "node_modules/watchpack-chokidar2": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/watchpack-chokidar2/-/watchpack-chokidar2-2.0.1.tgz", + "integrity": "sha512-nCFfBIPKr5Sh61s4LPpy1Wtfi0HE8isJ3d2Yb5/Ppw2P2B/3eVSEBjKfN0fmHJSK14+31KwMKmcrzs2GM4P0Ww==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "chokidar": "^2.1.8" + } + }, + "node_modules/watchpack-chokidar2/node_modules/anymatch": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/anymatch/-/anymatch-2.0.0.tgz", + "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", + "dev": true, + "license": "ISC", + "optional": true, + "peer": true, + "dependencies": { + "micromatch": "^3.1.4", + "normalize-path": "^2.1.1" + } + }, + "node_modules/watchpack-chokidar2/node_modules/anymatch/node_modules/normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "remove-trailing-separator": "^1.0.1" }, "engines": { - "node": ">=10.13.0" + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/binary-extensions": { + "version": "1.13.1", + "resolved": "https://registry.npmmirror.com/binary-extensions/-/binary-extensions-1.13.1.tgz", + "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/braces": { + "version": "2.3.2", + "resolved": "https://registry.npmmirror.com/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/chokidar": { + "version": "2.1.8", + "resolved": "https://registry.npmmirror.com/chokidar/-/chokidar-2.1.8.tgz", + "integrity": "sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "anymatch": "^2.0.0", + "async-each": "^1.0.1", + "braces": "^2.3.2", + "glob-parent": "^3.1.0", + "inherits": "^2.0.3", + "is-binary-path": "^1.0.0", + "is-glob": "^4.0.0", + "normalize-path": "^3.0.0", + "path-is-absolute": "^1.0.0", + "readdirp": "^2.2.1", + "upath": "^1.1.1" + }, + "optionalDependencies": { + "fsevents": "^1.2.7" + } + }, + "node_modules/watchpack-chokidar2/node_modules/define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/fsevents": { + "version": "1.2.13", + "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-1.2.13.tgz", + "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", + "deprecated": "Upgrade to fsevents v2 to mitigate potential security issues", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "peer": true, + "dependencies": { + "bindings": "^1.5.0", + "nan": "^2.12.1" + }, + "engines": { + "node": ">= 4.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha512-E8Ak/2+dZY6fnzlR7+ueWvhsH1SjHr4jjss4YS/h4py44jY9MhK/VFdaZJAWDz6BbL21KeteKxFSFpq8OS5gVA==", + "dev": true, + "license": "ISC", + "optional": true, + "peer": true, + "dependencies": { + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/glob-parent/node_modules/is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha512-UFpDDrPgM6qpnFNI+rh/p3bUaq9hKLZN8bMUWzxmcnZVS3omf4IPK+BrewlnWjO1WmUsMYuSjKh4UJuV4+Lqmw==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "is-extglob": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/is-binary-path": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/is-binary-path/-/is-binary-path-1.0.1.tgz", + "integrity": "sha512-9fRVlXc0uCxEDj1nQzaWONSpbTfx0FmJfzHF7pwlI8DkWGoHBBea4Pg5Ky0ojwwxQmnSifgbKkI06Qv0Ljgj+Q==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "binary-extensions": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/is-descriptor": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/is-descriptor/-/is-descriptor-1.0.3.tgz", + "integrity": "sha512-JCNNGbwWZEVaSPtS45mdtrneRWJFp07LLmykxeFV5F6oBvNF8vHSfJuJgoT472pSfk+Mf8VnlrspaFBHWM8JAw==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "is-accessor-descriptor": "^1.0.1", + "is-data-descriptor": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/watchpack-chokidar2/node_modules/is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmmirror.com/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/micromatch/node_modules/extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/micromatch/node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/watchpack-chokidar2/node_modules/readdirp": { + "version": "2.2.1", + "resolved": "https://registry.npmmirror.com/readdirp/-/readdirp-2.2.1.tgz", + "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "graceful-fs": "^4.1.11", + "micromatch": "^3.1.10", + "readable-stream": "^2.0.2" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/watchpack-chokidar2/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true + }, + "node_modules/watchpack-chokidar2/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + }, + "engines": { + "node": ">=0.10.0" } }, "node_modules/wcwidth": { @@ -22882,43 +26794,42 @@ } }, "node_modules/webpack": { - "version": "5.99.9", - "resolved": "https://registry.npmmirror.com/webpack/-/webpack-5.99.9.tgz", - "integrity": "sha512-brOPwM3JnmOa+7kd3NsmOUOwbDAj8FT9xDsG3IW0MgbN9yZV7Oi/s/+MNQ/EcSMqw7qfoRyXPoeEWT8zLVdVGg==", + "version": "4.47.0", + "resolved": "https://registry.npmmirror.com/webpack/-/webpack-4.47.0.tgz", + "integrity": "sha512-td7fYwgLSrky3fI1EuU5cneU4+pbH6GgOfuKNS1tNPcfdGinGELAqsb/BP4nnvZyKSG2i/xFGU7+n2PvZA8HJQ==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@types/eslint-scope": "^3.7.7", - "@types/estree": "^1.0.6", - "@types/json-schema": "^7.0.15", - "@webassemblyjs/ast": "^1.14.1", - "@webassemblyjs/wasm-edit": "^1.14.1", - "@webassemblyjs/wasm-parser": "^1.14.1", - "acorn": "^8.14.0", - "browserslist": "^4.24.0", + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-module-context": "1.9.0", + "@webassemblyjs/wasm-edit": "1.9.0", + "@webassemblyjs/wasm-parser": "1.9.0", + "acorn": "^6.4.1", + "ajv": "^6.10.2", + "ajv-keywords": "^3.4.1", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.17.1", - "es-module-lexer": "^1.2.1", - "eslint-scope": "5.1.1", - "events": "^3.2.0", - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.2.11", - "json-parse-even-better-errors": "^2.3.1", - "loader-runner": "^4.2.0", - "mime-types": "^2.1.27", - "neo-async": "^2.6.2", - "schema-utils": "^4.3.2", - "tapable": "^2.1.1", - "terser-webpack-plugin": "^5.3.11", - "watchpack": "^2.4.1", - "webpack-sources": "^3.2.3" + "enhanced-resolve": "^4.5.0", + "eslint-scope": "^4.0.3", + "json-parse-better-errors": "^1.0.2", + "loader-runner": "^2.4.0", + "loader-utils": "^1.2.3", + "memory-fs": "^0.4.1", + "micromatch": "^3.1.10", + "mkdirp": "^0.5.3", + "neo-async": "^2.6.1", + "node-libs-browser": "^2.2.1", + "schema-utils": "^1.0.0", + "tapable": "^1.1.3", + "terser-webpack-plugin": "^1.4.3", + "watchpack": "^1.7.4", + "webpack-sources": "^1.4.1" }, "bin": { "webpack": "bin/webpack.js" }, "engines": { - "node": ">=10.13.0" + "node": ">=6.11.5" }, "funding": { "type": "opencollective", @@ -22927,98 +26838,370 @@ "peerDependenciesMeta": { "webpack-cli": { "optional": true - } - } - }, - "node_modules/webpack-sources": { - "version": "3.3.3", - "resolved": "https://registry.npmmirror.com/webpack-sources/-/webpack-sources-3.3.3.tgz", - "integrity": "sha512-yd1RBzSGanHkitROoPFd6qsrxt+oFhg/129YzheDGqeustzX0vTZJZsSsQjVQC4yzBQ56K55XU8gaNCtIzOnTg==", - "dev": true, - "license": "MIT", - "peer": true, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/webpack/node_modules/ajv": { - "version": "8.17.1", - "resolved": "https://registry.npmmirror.com/ajv/-/ajv-8.17.1.tgz", - "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/webpack/node_modules/ajv-formats": { - "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/ajv-formats/-/ajv-formats-2.1.1.tgz", - "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "ajv": "^8.0.0" - }, - "peerDependencies": { - "ajv": "^8.0.0" - }, - "peerDependenciesMeta": { - "ajv": { + }, + "webpack-command": { "optional": true } } }, - "node_modules/webpack/node_modules/ajv-keywords": { - "version": "5.1.0", - "resolved": "https://registry.npmmirror.com/ajv-keywords/-/ajv-keywords-5.1.0.tgz", - "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "node_modules/webpack-log": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/webpack-log/-/webpack-log-2.0.0.tgz", + "integrity": "sha512-cX8G2vR/85UYG59FgkoMamwHUIkSSlV3bBMRsbxVXVUk2j6NleCKjQ/WE9eYg9WY4w25O9w8wKP4rzNZFmUcUg==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-colors": "^3.0.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/webpack-log/node_modules/ansi-colors": { + "version": "3.2.4", + "resolved": "https://registry.npmmirror.com/ansi-colors/-/ansi-colors-3.2.4.tgz", + "integrity": "sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/webpack-sources": { + "version": "1.4.3", + "resolved": "https://registry.npmmirror.com/webpack-sources/-/webpack-sources-1.4.3.tgz", + "integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "fast-deep-equal": "^3.1.3" - }, - "peerDependencies": { - "ajv": "^8.8.2" + "source-list-map": "^2.0.0", + "source-map": "~0.6.1" } }, - "node_modules/webpack/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "node_modules/webpack/node_modules/acorn": { + "version": "6.4.2", + "resolved": "https://registry.npmmirror.com/acorn/-/acorn-6.4.2.tgz", + "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", + "dev": true, + "license": "MIT", + "peer": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/webpack/node_modules/braces": { + "version": "2.3.2", + "resolved": "https://registry.npmmirror.com/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/webpack/node_modules/define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/webpack/node_modules/eslint-scope": { + "version": "4.0.3", + "resolved": "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-4.0.3.tgz", + "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==", + "dev": true, + "license": "BSD-2-Clause", + "peer": true, + "dependencies": { + "esrecurse": "^4.1.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/webpack/node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true, + "license": "BSD-2-Clause", + "peer": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/webpack/node_modules/fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/webpack/node_modules/is-descriptor": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/is-descriptor/-/is-descriptor-1.0.3.tgz", + "integrity": "sha512-JCNNGbwWZEVaSPtS45mdtrneRWJFp07LLmykxeFV5F6oBvNF8vHSfJuJgoT472pSfk+Mf8VnlrspaFBHWM8JAw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-accessor-descriptor": "^1.0.1", + "is-data-descriptor": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/webpack/node_modules/is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/webpack/node_modules/is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/webpack/node_modules/is-number/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/webpack/node_modules/json5": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/json5/-/json5-1.0.2.tgz", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/webpack/node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmmirror.com/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/webpack/node_modules/loader-utils": { + "version": "1.4.2", + "resolved": "https://registry.npmmirror.com/loader-utils/-/loader-utils-1.4.2.tgz", + "integrity": "sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^1.0.1" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/webpack/node_modules/memory-fs": { + "version": "0.4.1", + "resolved": "https://registry.npmmirror.com/memory-fs/-/memory-fs-0.4.1.tgz", + "integrity": "sha512-cda4JKCxReDXFXRqOHPQscuIYg1PvxbE2S2GP45rnwfEK+vZaXC8C1OFvdHIbgw0DLzowXGVoxLaAmlgRy14GQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "errno": "^0.1.3", + "readable-stream": "^2.0.1" + } + }, + "node_modules/webpack/node_modules/micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmmirror.com/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/webpack/node_modules/micromatch/node_modules/extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/webpack/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/webpack/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "dev": true, "license": "MIT", "peer": true }, "node_modules/webpack/node_modules/schema-utils": { - "version": "4.3.2", - "resolved": "https://registry.npmmirror.com/schema-utils/-/schema-utils-4.3.2.tgz", - "integrity": "sha512-Gn/JaSk/Mt9gYubxTtSn/QCV4em9mpAPiR1rqy/Ocu19u/G9J5WWdNoUT4SiV6mFC3y6cxyFcFwdzPM3FgxGAQ==", + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/schema-utils/-/schema-utils-1.0.0.tgz", + "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@types/json-schema": "^7.0.9", - "ajv": "^8.9.0", - "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.1.0" + "ajv": "^6.1.0", + "ajv-errors": "^1.0.0", + "ajv-keywords": "^3.1.0" }, "engines": { - "node": ">= 10.13.0" + "node": ">= 4" + } + }, + "node_modules/webpack/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/webpack/node_modules/tapable": { + "version": "1.1.3", + "resolved": "https://registry.npmmirror.com/tapable/-/tapable-1.1.3.tgz", + "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/webpack/node_modules/to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" + "engines": { + "node": ">=0.10.0" } }, "node_modules/whatwg-encoding": { @@ -23128,6 +27311,17 @@ "node": ">=0.10.0" } }, + "node_modules/worker-farm": { + "version": "1.7.0", + "resolved": "https://registry.npmmirror.com/worker-farm/-/worker-farm-1.7.0.tgz", + "integrity": "sha512-rvw3QTZc8lAxyVrqcSGVm5yP/IJ2UcB3U0graE3LCFoZ0Yn2x4EoVSqJKdB/T5M+FLcRPjz4TDacRf3OCfNUzw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "errno": "~0.1.7" + } + }, "node_modules/wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz", @@ -23187,6 +27381,54 @@ } } }, + "node_modules/wx-server-sdk": { + "version": "3.0.4", + "resolved": "https://registry.npmmirror.com/wx-server-sdk/-/wx-server-sdk-3.0.4.tgz", + "integrity": "sha512-kXKfWM+6FVVNiLfBVvZ07ddNVe2ez9q7WgatIHukzQhGjj4VaaBrnQfl7mXCa9n/XnPBNUG4K7zWP5o/Nx/s2A==", + "license": "MIT", + "dependencies": { + "@cloudbase/node-sdk": "2.10.0", + "json-bigint": "^1.0.0", + "protobufjs": "^7.2.4", + "tslib": "^1.9.3" + } + }, + "node_modules/wx-server-sdk/node_modules/long": { + "version": "5.3.2", + "resolved": "https://registry.npmmirror.com/long/-/long-5.3.2.tgz", + "integrity": "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==", + "license": "Apache-2.0" + }, + "node_modules/wx-server-sdk/node_modules/protobufjs": { + "version": "7.5.4", + "resolved": "https://registry.npmmirror.com/protobufjs/-/protobufjs-7.5.4.tgz", + "integrity": "sha512-CvexbZtbov6jW2eXAvLukXjXUW1TzFaivC46BpWc/3BpcCysb5Vffu+B3XHMm8lVEuy2Mm4XGex8hBSg1yapPg==", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/wx-server-sdk/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmmirror.com/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "license": "0BSD" + }, "node_modules/wxml-minifier": { "version": "0.0.1", "resolved": "https://registry.npmmirror.com/wxml-minifier/-/wxml-minifier-0.0.1.tgz", diff --git a/package.json b/package.json index a622bff..87e420e 100644 --- a/package.json +++ b/package.json @@ -35,9 +35,11 @@ "miniprogram-ci": "^2.1.14", "pinia": "2.0.33", "tim-upload-plugin": "^1.4.1", + "uqrcodejs": "^4.0.7", "uview-plus": "^3.3.61", "vue": "^3.2.45", - "vue-i18n": "^9.1.9" + "vue-i18n": "^9.1.9", + "wx-server-sdk": "^3.0.4" }, "devDependencies": { "@dcloudio/types": "^3.3.2", @@ -48,11 +50,13 @@ "@nichozuo/gencode-ts-cli": "^1.0.2", "@vue/runtime-core": "^3.2.45", "@vue/tsconfig": "^0.1.3", + "copy-webpack-plugin": "^5.0.3", "prettier": "^3.6.2", "sass": "1.63.2", "sass-loader": "10.4.1", "typescript": "^4.9.4", "vite": "4.1.4", + "vite-plugin-copy": "^0.1.6", "vite-plugin-windicss": "^1.9.3", "vue-tsc": "^1.0.24", "windicss": "^3.5.6" diff --git a/src/BILL/outstanding_fee/show/components/PageFooter.vue b/src/BILL/outstanding_fee/show/components/PageFooter.vue index 6b0b61f..5e372c4 100644 --- a/src/BILL/outstanding_fee/show/components/PageFooter.vue +++ b/src/BILL/outstanding_fee/show/components/PageFooter.vue @@ -11,16 +11,11 @@ - + - diff --git a/src/ME/attendance/my_schedules/method.ts b/src/ME/attendance/my_schedules/method.ts new file mode 100644 index 0000000..7f82e86 --- /dev/null +++ b/src/ME/attendance/my_schedules/method.ts @@ -0,0 +1,37 @@ +import { useWeAppAuthStore } from '@/common' +import { getApiLoading } from '@/common/libraries/apiLoading' +import { Apis } from '@/gen/Apis' +import useModel from './model' +const auth = useWeAppAuthStore() + +const getList = () => { + getApiLoading(Apis.Attendance.AttendanceSchedules.GetAttendanceSchedules, {}).then(res => { + useModel.showData.value = res?.data || undefined + }) +} + +export default { + getList, + loadMore(res: any) { + useModel.formData.value.page = res?.page + getList() + }, + async uploadMedia(data: any) { + let res = await Apis.Customer.CustomerMoments.UploadMedia(data) + return res?.data + }, + calculationCurrent(res: any) { + if (res?.checkin_status?.start?.checked && res?.checkin_status?.end?.checked) { + return 3 + } + if (res?.checkin_status?.start?.checked) { + return 1 + } + return null + }, + toDetaile(res: any) { + uni.navigateTo({ + url: `/ME/attendance/sign_clock_in/index?attendance_schedules_id=${useModel?.showData?.value?.schedule_id}&attendance_shift_periods_id=${res?.id}&checkin_type=${res?.type}&date=${useModel?.showData?.value?.schedule_date}` + }) + } +} diff --git a/src/ME/attendance/my_schedules/model.ts b/src/ME/attendance/my_schedules/model.ts new file mode 100644 index 0000000..750bdc9 --- /dev/null +++ b/src/ME/attendance/my_schedules/model.ts @@ -0,0 +1,8 @@ +import { reactive, ref } from 'vue' +import { getDay } from '@/common/libraries/day' +export default { + formData: ref({ page: 1, start_date: getDay(), end_date: getDay() }), + showData: ref({}), + metaData: ref({}), + userData: ref({}) +} diff --git a/src/ME/attendance/my_schedules/style.scss b/src/ME/attendance/my_schedules/style.scss new file mode 100644 index 0000000..7040e76 --- /dev/null +++ b/src/ME/attendance/my_schedules/style.scss @@ -0,0 +1,53 @@ +page { + background-color: #f8f8f8; +} +.schedules_item { + border-radius: 20rpx; + background-color: #fff; + padding: 0 30rpx; + margin: 30rpx; + &_header { + padding: 30rpx 0; + font-size: 28rpx; + display: flex; + align-items: center; + justify-content: space-between; + color: #3d3d3d; + font-size: 29rpx; + font-weight: 500; + } + + .schedules_steps { + display: flex; + align-items: center; + justify-content: space-between; + padding-bottom: 26rpx; + color: #3d3d3d; + font-size: 26rpx; + &_day_info { + display: flex; + align-items: center; + .status { + padding: 4rpx 10rpx; + border-radius: 6rpx; + margin-left: 10rpx; + font-size: 24rpx; + color: #ff4d4f; + background-color: #ffeded; + } + .status_Normal { + color: #55c51d; + background-color: #f0ffe8; + } + } + &_check { + color: #ff4d4f; + } + &_Normal { + color: #55c51d; + } + .to_check { + color: #0082fa; + } + } +} diff --git a/src/ME/attendance/sign_clock_in/index.vue b/src/ME/attendance/sign_clock_in/index.vue new file mode 100644 index 0000000..22d8d4b --- /dev/null +++ b/src/ME/attendance/sign_clock_in/index.vue @@ -0,0 +1,240 @@ + + + + diff --git a/src/ME/attendance/sign_clock_in/method.ts b/src/ME/attendance/sign_clock_in/method.ts new file mode 100644 index 0000000..63d35e6 --- /dev/null +++ b/src/ME/attendance/sign_clock_in/method.ts @@ -0,0 +1,210 @@ +import { getApiLoading } from '@/common/libraries/apiLoading' +import { Apis } from '@/gen/Apis' +import useModel from './model' +import { showToastBack, showToast } from '@/common/libraries/naviHelper' +import { useWeAppAuthStore, useWatermarkStore } from '@/common' +import { CalculateDistance } from '@/common/libraries/mapDistance' +const auth = useWeAppAuthStore() +const watermark = useWatermarkStore() +import { isWithinTimeRange } from '@/common/libraries/day' +import { debounce } from '@/common/libraries/tools' + +const getShow = (data: any, mapData: any) => { + getApiLoading(Apis.Attendance.AttendanceSchedules.GetAttendanceShiftPeriod, data).then(res => { + useModel.showData.value = res?.data + useModel.distanceNumber.value = CalculateDistance(mapData, res?.data?.project) + if (res?.data?.checkin_status?.start?.checked) { + useModel.current.value = 1 + } + if (res?.data?.checkin_status?.start?.checked && res?.data?.checkin_status?.end?.checked) { + useModel.current.value = 3 + } + setTimeout(() => { + useModel.loading.value = true + }, 300) + console.log(useModel.metaData.value, 'useModel.metaData.value') + }) +} + +let checkInDebounceTimer: any = null +let isCheckInSubmitting = false + +const getLocationMap = (fun?: (res: any) => void) => { + uni.getLocation({ + type: 'wgs84', + altitude: true, + isHighAccuracy: true, + success(res) { + console.log(res, '经纬度') + useModel.currentLocation.value = { latitude: res.latitude, longitude: res.longitude } + uni.hideLoading() + return fun?.(res) + }, + fail(res) { + uni.hideLoading() + uni.showModal({ + title: '提示', + content: '请先允许定位!', + success: function (res) { + if (res.confirm) { + uni.openSetting() + console.log('用户点击确定') + } else if (res.cancel) { + console.log('用户点击取消') + } + } + }) + console.log(res, '获取经纬度失败') + } + }) +} + +const debouncedUpdateLocation = debounce(function (callback) { + getLocationMap(callback) +}, 1200) + +export default { + handleUpdateLocation() { + if (useModel.mapNumber.value > 3) { + return showToast('操作太频繁!') + } + uni.showLoading({ + title: '加载中...', + mask: true + }) + debouncedUpdateLocation((res: any) => { + useModel.mapNumber.value += 1 + uni.hideLoading() + useModel.distanceNumber.value = CalculateDistance( + useModel?.currentLocation?.value, + useModel?.showData?.value?.project + ) + // getShow(useModel?.formData?.value, res) + }) + }, + init() { + let watermarkInfo = watermark?.watermarkInfo?.value + if (watermarkInfo?.length) { + // 有水印信息,赋值给formData + useModel.formData.value.photo = JSON.parse(JSON.stringify(watermarkInfo)) + watermark.watermarkInfo.value = [] // 赋值完成后,清空水印信息 + console.log(watermarkInfo, 'watermarkInfo') + } + }, + getLocation(data: any) { + getLocationMap((res: any) => { + getShow(data, res) + }) + }, + onPreviewMedia(url?: string) { + console.log(url, 'url1') + if (url) { + uni.previewMedia({ + sources: [ + { + url: url, + type: 'image' + } + ], + current: 0 + }) + } + }, + handleDelete() { + useModel.formData.value.photo = [] + }, + handleCheckin() { + // 防抖:如果正在提交中,直接返回 + if (isCheckInSubmitting) { + return showToast('请勿重复点击') + } + if ( + !isWithinTimeRange( + `${useModel?.formData?.value?.date} ${ + useModel?.formData?.value?.checkin_type === 'CheckOut' + ? useModel?.showData?.value?.period?.work_end_time + : useModel?.showData?.value?.period?.work_start_time + }` + ) + ) { + return showToast('不在打卡时间内!') + } + + if ( + useModel?.attendanceConfigData?.value?.require_photo && + !useModel?.formData?.value?.photo?.length + ) { + return showToast('请上传拍照!') + } + + getLocationMap(() => { + let distanceNumber = CalculateDistance( + useModel?.currentLocation?.value, + useModel?.showData?.value?.project + ) + useModel.distanceNumber.value = distanceNumber + if (distanceNumber > useModel?.attendanceConfigData?.value?.check_in_range) { + return showToast('打卡距离超出范围!') + } + + // 清除之前的防抖定时器 + if (checkInDebounceTimer) { + clearTimeout(checkInDebounceTimer) + } + + // 设置提交状态为 true + isCheckInSubmitting = true + + // 设置防抖定时器 + checkInDebounceTimer = setTimeout(() => { + getApiLoading(Apis.Attendance.AttendanceRecords.Checkin, { + ...useModel.formData.value, + ...useModel?.currentLocation?.value + }) + .then(res => { + getShow(useModel?.formData?.value, useModel?.currentLocation?.value) + uni.showToast({ + title: '打卡成功', + icon: 'success' + }) + }) + .catch(error => { + // 错误处理 + console.error('打卡失败:', error) + showToast('打卡失败,请重试') + }) + .finally(() => { + // 请求结束后重置提交状态(延迟1秒,防止快速重复点击) + setTimeout(() => { + isCheckInSubmitting = false + }, 1000) + }) + }, 500) // 500ms防抖延迟 + }) + }, + YesNoCheckinStatus() { + if ( + useModel?.formData?.value?.checkin_type === 'CheckOut' && + !useModel?.showData?.value?.checkin_status?.end?.checked + ) { + return true + } + if ( + useModel?.formData?.value?.checkin_type === 'CheckIn' && + !useModel?.showData?.value?.checkin_status?.start?.checked + ) { + return true + } + return false + }, + getAttendanceConfig() { + getApiLoading(Apis.Attendance.AttendanceSchedules.GetAttendanceConfig, {}).then(res => { + useModel.attendanceConfigData.value = res?.data + }) + }, + toUpload() { + uni.navigateTo({ + url: '/INDEX/watermark_camera/index?source=current' + }) + } +} diff --git a/src/ME/attendance/sign_clock_in/model.ts b/src/ME/attendance/sign_clock_in/model.ts new file mode 100644 index 0000000..fdbdc81 --- /dev/null +++ b/src/ME/attendance/sign_clock_in/model.ts @@ -0,0 +1,13 @@ +import { reactive, ref } from 'vue' +import { getDay } from '@/common/libraries/day' +export default { + formData: ref({}), + showData: ref({}), + metaData: ref({}), + attendanceConfigData: ref({}), + current: ref(-1), + currentLocation: ref({}), + distanceNumber: ref(0), + loading: ref(false), + mapNumber: ref(0) +} diff --git a/src/ME/attendance/sign_clock_in/style.scss b/src/ME/attendance/sign_clock_in/style.scss new file mode 100644 index 0000000..cb574d9 --- /dev/null +++ b/src/ME/attendance/sign_clock_in/style.scss @@ -0,0 +1,161 @@ +page { + background-color: #f8f8f8; +} +.sign_clock_in_page { + background-color: #fff; + margin: 30rpx; + border-radius: 20rpx; + padding: 0 30rpx 60rpx 30rpx; + &_title { + padding: 30rpx 0; + font-size: 30rpx; + color: #3d3d3d; + font-weight: 500; + } + &_map { + height: 140rpx; + position: relative; + image { + width: 100%; + height: 140rpx; + } + } + &_map_content { + position: absolute; + top: 0; + left: 0; + right: 0; + height: 140rpx; + padding: 0 25rpx; + z-index: 100; + color: #0082fa; + display: flex; + align-items: center; + justify-content: space-between; + .label { + font-size: 30rpx; + font-weight: 500; + padding-top: 3rpx; + } + .address_name { + font-size: 26rpx; + display: flex; + align-items: center; + padding-top: 15rpx; + text { + padding-right: 8rpx; + } + } + } +} + +.steps_item { + padding: 50rpx 0 30rpx 0; + .schedules_steps { + padding-bottom: 26rpx; + color: #3d3d3d; + font-size: 26rpx; + &_day_info { + display: flex; + align-items: center; + .status { + padding: 4rpx 10rpx; + border-radius: 6rpx; + margin-left: 10rpx; + color: #ff4d4f; + background-color: #ffeded; + } + .status_Normal { + color: #55c51d; + font-size: 24rpx; + background-color: #f0ffe8; + } + } + &_check { + color: #ff4d4f; + } + &_Normal { + color: #55c51d; + } + } +} + +.TakePhotoCheckIn { + display: flex; + justify-content: center; + align-items: center; + padding: 30rpx 0; + .btn { + color: #fff; + background-color: #0082fa; + width: 240rpx; + height: 240rpx; + border-radius: 100%; + border: 20rpx solid #96ccff; + display: flex; + justify-content: center; + align-items: center; + text-align: center; + margin: 0 auto; + .btn_label { + padding-bottom: 5rpx; + } + } + .no_distance { + background-color: #fff; + border: 20rpx solid #f1f1f1; + color: #999999; + margin: 0 auto; + } + .no_distance_des { + text-align: center; + color: #666666; + font-size: 24rpx; + padding-top: 30rpx; + } +} +.sign_clock_in_page_map_opacity { + opacity: 0.8; + .sign_clock_in_page_map_content { + color: #333; + } +} + +.update_location { + background-color: #fff; + border-radius: 100rpx; + padding: 8rpx 20rpx; + font-size: 28rpx; + color: #0082fa; +} + +.loading { + padding-top: 50rpx; +} + +.watermark_info { + padding-bottom: 40rpx; + .update_photo { + width: 200rpx; + } + + .upload_item_img { + width: 200rpx; + height: 200rpx; + position: relative; + image { + width: 100%; + height: 100%; + border-radius: 10rpx; + } + } + + .upload_item_delete { + position: absolute; + top: -20rpx; + right: -5rpx; + width: 40rpx; + height: 40rpx; + z-index: 10; + } +} diff --git a/src/ME/emergency/add/index.vue b/src/ME/emergency/add/index.vue new file mode 100644 index 0000000..4b025e9 --- /dev/null +++ b/src/ME/emergency/add/index.vue @@ -0,0 +1,83 @@ + + + diff --git a/src/ME/emergency/add/method.ts b/src/ME/emergency/add/method.ts new file mode 100644 index 0000000..508d6e5 --- /dev/null +++ b/src/ME/emergency/add/method.ts @@ -0,0 +1,67 @@ +import useModel from './model' +import { useWeAppAuthStore, useWorkStore } from '@/common' +import { getApiLoading } from '@/common/libraries/apiLoading' +import { Apis } from '@/gen/Apis' +import { showToastBack, showToast } from '@/common/libraries/naviHelper' +const work = useWorkStore() +const getList = () => { + getApiLoading(Apis.WorkOrder.HouseWorkOrders.List, useModel?.formData?.value).then(res => { + useModel.listData.value = [...useModel.listData.value, ...res?.data] + useModel.metaData.value = res?.meta + }) +} + +export default { + getList, + init() { + console.log('init', work?.selectWorkProject) + if (work?.selectWorkProject?.id) { + useModel.formData.value = { + ...useModel?.formData?.value, + project_name: work?.selectWorkProject?.name, + asset_projects_id: work?.selectWorkProject?.id + } + } + }, + handleSubmit() { + let data = useModel?.formData?.value + if (!data?.asset_projects_id) { + return showToast('请选择项目!') + } + if (!data?.name) { + return showToast('请输入事件名称!') + } + if (!data?.two_emergency_categories_id) { + return showToast('请选择分类!') + } + if (data?.two_emergency_categories_id?.length === 1) { + return showToast('请选择2级分类!') + } + if (!data?.emergency_event_levels_id) { + return showToast('请选择等级!') + } + if (!data?.emergency_event_levels_id) { + return showToast('请选择等级!') + } + if (!data?.emergency_time) { + return showToast('请选择发生时间!') + } + if (!data?.emergency_location) { + return showToast('请输入事发地点!') + } + if (!data?.emergency_description) { + return showToast('请输入事件描述!') + } + if (!data?.emergency_cause) { + return showToast('请输入原因!') + } + if (!data?.cause_result) { + return showToast('请设置结果!') + } + data.two_emergency_categories_id = data?.two_emergency_categories_id?.[1] + getApiLoading(Apis.Emergency.EmergencyEvents.Store, data).then(res => { + showToastBack('提交成功!', 1, true) + console.log(res) + }) + } +} diff --git a/src/ME/emergency/add/model.ts b/src/ME/emergency/add/model.ts new file mode 100644 index 0000000..9d2128b --- /dev/null +++ b/src/ME/emergency/add/model.ts @@ -0,0 +1,7 @@ +import { reactive, ref } from 'vue' +export default { + currentTabs: ref(0), + formData: ref({}), + listData: ref([]), + metaData: ref({}) +} diff --git a/src/ME/emergency/add/style.scss b/src/ME/emergency/add/style.scss new file mode 100644 index 0000000..44be8ca --- /dev/null +++ b/src/ME/emergency/add/style.scss @@ -0,0 +1,12 @@ +page { + background-color: #f8f8f8; +} +.emergency_add_page { + padding-bottom: calc(130rpx + constant(safe-area-inset-bottom)); + padding-bottom: calc(130rpx + env(safe-area-inset-bottom)); +} +.card_form { + background-color: #fff; + padding: 0 30rpx; + margin-bottom: 30rpx; +} diff --git a/src/ME/emergency/change/index.vue b/src/ME/emergency/change/index.vue new file mode 100644 index 0000000..83b0b06 --- /dev/null +++ b/src/ME/emergency/change/index.vue @@ -0,0 +1,139 @@ + + + diff --git a/src/ME/emergency/change/method.ts b/src/ME/emergency/change/method.ts new file mode 100644 index 0000000..ebc4fdd --- /dev/null +++ b/src/ME/emergency/change/method.ts @@ -0,0 +1,75 @@ +import useModel from './model' +import { useWeAppAuthStore, useWorkStore } from '@/common' +import { showDay } from '@/common/libraries/day' +import { getApiLoading } from '@/common/libraries/apiLoading' +import { Apis } from '@/gen/Apis' +import { showToastBack, showToast } from '@/common/libraries/naviHelper' +const work = useWorkStore() +const getShow = () => { + getApiLoading(Apis.Emergency.EmergencyEvents.Show, useModel?.formData?.value).then(res => { + useModel.formData.value = { + ...res?.data, + project_name: res?.data?.asset_project?.name, + emergency_time: showDay(res?.data?.emergency_time) + } + }) +} + +export default { + getShow, + init() { + console.log('init', work?.selectWorkProject) + if (work?.selectWorkProject?.id) { + useModel.formData.value = { + ...useModel?.formData?.value, + project_name: work?.selectWorkProject?.name, + asset_projects_id: work?.selectWorkProject?.id + } + } + }, + handleSubmit() { + let data = useModel?.formData?.value + if (!data?.asset_projects_id) { + return showToast('请选择项目!') + } + if (!data?.name) { + return showToast('请输入事件名称!') + } + if (!data?.two_emergency_categories_id) { + return showToast('请选择分类!') + } + // let type = typeof data?.two_emergency_categories_id + // console.log(type, 'type') + if (!data?.two_emergency_categories_id || data?.two_emergency_categories_id?.length === 1) { + return showToast('请选择2级分类!') + } + if (!data?.emergency_event_levels_id) { + return showToast('请选择等级!') + } + if (!data?.emergency_event_levels_id) { + return showToast('请选择等级!') + } + if (!data?.emergency_time) { + return showToast('请选择发生时间!') + } + if (!data?.emergency_location) { + return showToast('请输入事发地点!') + } + if (!data?.emergency_description) { + return showToast('请输入事件描述!') + } + if (!data?.emergency_cause) { + return showToast('请输入原因!') + } + if (!data?.cause_result) { + return showToast('请设置结果!') + } + data.two_emergency_categories_id = data?.two_emergency_categories_id?.length + ? data?.two_emergency_categories_id?.[1] + : data?.two_emergency_categories_id + getApiLoading(Apis.Emergency.EmergencyEvents.Update, data).then(res => { + showToastBack('提交成功!', 1, true) + console.log(res) + }) + } +} diff --git a/src/ME/emergency/change/model.ts b/src/ME/emergency/change/model.ts new file mode 100644 index 0000000..9d2128b --- /dev/null +++ b/src/ME/emergency/change/model.ts @@ -0,0 +1,7 @@ +import { reactive, ref } from 'vue' +export default { + currentTabs: ref(0), + formData: ref({}), + listData: ref([]), + metaData: ref({}) +} diff --git a/src/ME/emergency/change/style.scss b/src/ME/emergency/change/style.scss new file mode 100644 index 0000000..3b7b872 --- /dev/null +++ b/src/ME/emergency/change/style.scss @@ -0,0 +1,7 @@ +page { + background-color: #f8f8f8; +} +.emergency_add_page { + padding-bottom: calc(130rpx + constant(safe-area-inset-bottom)); + padding-bottom: calc(130rpx + env(safe-area-inset-bottom)); +} diff --git a/src/ME/emergency/list/index.vue b/src/ME/emergency/list/index.vue new file mode 100644 index 0000000..2f8ebe7 --- /dev/null +++ b/src/ME/emergency/list/index.vue @@ -0,0 +1,61 @@ + + + diff --git a/src/ME/emergency/list/method.ts b/src/ME/emergency/list/method.ts new file mode 100644 index 0000000..4c3e6c6 --- /dev/null +++ b/src/ME/emergency/list/method.ts @@ -0,0 +1,38 @@ +import { getApiLoading } from '@/common/libraries/apiLoading' +import { Apis } from '@/gen/Apis' +import useModel from './model' + +const getList = () => { + getApiLoading(Apis.Emergency.EmergencyEvents.List, useModel?.formData?.value).then(res => { + useModel.listData.value = [...useModel.listData.value, ...res?.data] + useModel.metaData.value = res?.meta + }) +} +const handleSearch = () => { + useModel.formData.value.page = 1 + useModel.listData.value = [] + getList() +} +export default { + getList, + handleChangeTabs(idx: number, e: any) { + handleSearch() + }, + handleLoad(res: any) { + useModel.formData.value.page = res?.page + getList() + }, + handleAdd() { + uni.navigateTo({ + url: '/ME/emergency/add/index' + }) + }, + onSearch() { + handleSearch() + }, + handleDetail(e: { id: string }) { + uni.navigateTo({ + url: `/ME/emergency/show/index?id=${e?.id}` + }) + } +} diff --git a/src/ME/emergency/list/model.ts b/src/ME/emergency/list/model.ts new file mode 100644 index 0000000..27d59dc --- /dev/null +++ b/src/ME/emergency/list/model.ts @@ -0,0 +1,7 @@ +import { reactive, ref } from 'vue' +export default { + currentTabs: ref(0), + formData: ref({ page: 1, name: '' }), + listData: ref([]), + metaData: ref({}) +} diff --git a/src/ME/emergency/list/style.scss b/src/ME/emergency/list/style.scss new file mode 100644 index 0000000..fbf6585 --- /dev/null +++ b/src/ME/emergency/list/style.scss @@ -0,0 +1,82 @@ +page { + background-color: #f8f8f8; +} +.header_search_box { + position: fixed; + top: 0; + left: 0; + right: 0; + z-index: 100; + background-color: #fff; + height: 100rpx; + padding: 0 30rpx; + display: flex; + align-items: center; +} + +.emergency_list_page { + padding-bottom: calc(120rpx + constant(safe-area-inset-bottom)); + padding-bottom: calc(120rpx + env(safe-area-inset-bottom)); +} + +.emergency_contents { + padding-top: 100rpx; + .emergency_items { + margin: 30rpx 30rpx 0 30rpx; + padding: 0 30rpx 20rpx 30rpx; + background-color: #fff; + border-radius: 20rpx; + &_header { + display: flex; + align-items: center; + justify-content: space-between; + padding: 30rpx 0 0 0; + .status { + background-color: #edf4ff; + color: #0082fa; + font-size: 24rpx; + font-weight: 500; + padding: 8rpx 20rpx; + border-radius: 100rpx; + } + .status_Closed { + background-color: #f3f3f4; + color: #909399; + } + .status_InProgress { + background-color: #fff9e6; + color: #ff9900; + } + } + &_level { + background-color: #ffdcdc; + color: #ef4444; + font-size: 24rpx; + font-weight: 500; + padding: 8rpx 20rpx; + min-width: 70rpx; + text-align: center; + border-radius: 100rpx; + } + &_cell { + display: flex; + align-items: center; + color: #666666; + font-size: 28rpx; + padding: 0 0 10rpx 0; + .label { + padding-left: 10rpx; + } + image { + width: 27rpx; + height: 27rpx; + } + } + } + + .emergency_items_content { + font-size: 28rpx; + font-weight: 600; + padding: 25rpx 0; + } +} diff --git a/src/ME/emergency/show/components/ModalShow.vue b/src/ME/emergency/show/components/ModalShow.vue new file mode 100644 index 0000000..2a73cdb --- /dev/null +++ b/src/ME/emergency/show/components/ModalShow.vue @@ -0,0 +1,82 @@ + + + diff --git a/src/ME/emergency/show/components/ProcessLogs.vue b/src/ME/emergency/show/components/ProcessLogs.vue new file mode 100644 index 0000000..aecc5e8 --- /dev/null +++ b/src/ME/emergency/show/components/ProcessLogs.vue @@ -0,0 +1,83 @@ + + + diff --git a/src/ME/emergency/show/index.vue b/src/ME/emergency/show/index.vue new file mode 100644 index 0000000..16533ce --- /dev/null +++ b/src/ME/emergency/show/index.vue @@ -0,0 +1,117 @@ + + + + diff --git a/src/ME/emergency/show/method.ts b/src/ME/emergency/show/method.ts new file mode 100644 index 0000000..153bab2 --- /dev/null +++ b/src/ME/emergency/show/method.ts @@ -0,0 +1,50 @@ +import useModel from './model' +import { getApiLoading } from '@/common/libraries/apiLoading' +import { Apis } from '@/gen/Apis' + +const getShow = () => { + getApiLoading(Apis.Emergency.EmergencyEvents.Show, useModel?.formData?.value).then(res => { + useModel.showData.value = res?.data + useModel.formDataLogs.value = { emergency_events_id: res?.data?.id, page: 1 } + getLogs() + }) +} + +const getLogs = () => { + getApiLoading(Apis.Emergency.EmergencyEventFollows.List, useModel?.formDataLogs?.value).then( + res => { + useModel.logsData.value = [...useModel?.logsData?.value, ...res?.data] + useModel.metaData.value = res?.meta + } + ) +} + +export default { + getShow, + handlePreview(index?: number | string) { + uni.previewImage({ + urls: useModel?.showData?.value?.emergency_images?.map((i: { url: string }) => i?.url || ''), + current: index + }) + }, + handleLoad(page: number) { + console.log(page) + useModel.formDataLogs.value.page = page + getLogs() + }, + handleClose() { + uni.navigateTo({ + url: `/ME/emergency/update/index?id=${useModel?.showData?.value?.id}&type=申请关闭` + }) + }, + handleUpdate() { + uni.navigateTo({ + url: `/ME/emergency/update/index?id=${useModel?.showData?.value?.id}&type=更新进度` + }) + }, + handleUpdateFollow() { + uni.navigateTo({ + url: `/ME/emergency/change/index?id=${useModel?.showData?.value?.id}` + }) + } +} diff --git a/src/ME/emergency/show/model.ts b/src/ME/emergency/show/model.ts new file mode 100644 index 0000000..d662cfe --- /dev/null +++ b/src/ME/emergency/show/model.ts @@ -0,0 +1,9 @@ +import { reactive, ref } from 'vue' +export default { + currentTabs: ref(0), + formData: ref({}), + formDataLogs: ref({ page: 1, emergency_events_id: '' }), + showData: ref([]), + logsData: ref([]), + metaData: ref({}) +} diff --git a/src/ME/emergency/show/style.scss b/src/ME/emergency/show/style.scss new file mode 100644 index 0000000..ad04148 --- /dev/null +++ b/src/ME/emergency/show/style.scss @@ -0,0 +1,122 @@ +page { + background-color: #f8f8f8; +} +.emergency_show { + padding-bottom: calc(130rpx + constant(safe-area-inset-bottom)); + padding-bottom: calc(130rpx + env(safe-area-inset-bottom)); +} +.emergency_card { + margin: 30rpx 30rpx 0 30rpx; + background-color: #fff; + border-radius: 20rpx; + padding: 0 30rpx; + .emergency_item_head { + display: flex; + align-items: center; + justify-content: space-between; + padding: 30rpx 0; + .level { + background-color: #ffdcdc; + color: #ef4444; + font-size: 24rpx; + min-width: 60rpx; + padding: 6rpx 15rpx; + font-weight: 500; + text-align: center; + border-radius: 100rpx; + } + .status { + background-color: #edf4ff; + color: #0082fa; + font-size: 24rpx; + font-weight: 500; + padding: 8rpx 20rpx; + border-radius: 100rpx; + } + .status_Closed { + background-color: #f3f3f4; + color: #909399; + } + .status_InProgress { + background-color: #fff9e6; + color: #ff9900; + } + } + .emergency_content { + font-size: 28rpx; + font-weight: 600; + } + .emergency_cell { + color: #666666; + font-size: 28rpx; + line-height: 36rpx; + padding-top: 20rpx; + text { + color: #000; + } + } + .emergency_label { + color: #333333; + font-size: 28rpx; + padding: 25rpx 0 20rpx 0; + } + .emergency_images_content { + display: flex; + align-items: center; + flex-wrap: wrap; + padding-bottom: 25rpx; + .emergency_images_item { + width: 120rpx; + height: 120rpx; + overflow: hidden; + padding-right: 10rpx; + image { + width: 100%; + height: 100%; + } + } + } + &_title { + font-size: 28rpx; + padding: 30rpx 0; + font-weight: 500; + } +} + +.footer_page { + display: flex; + align-items: center; + justify-content: space-between; + .update_btn { + text-align: center; + color: #3d3d3d; + font-size: 22rpx; + padding-right: 30rpx; + } +} +.footer_group_btn { + display: flex; + align-items: center; + justify-content: space-between; + font-size: 28rpx; + flex: 1; + .btn { + color: #333333; + background-color: #f3f3f4; + border-radius: 100rpx; + height: 88rpx; + line-height: 88rpx; + width: 50%; + text-align: center; + padding: 0 30rpx; + &:last-child { + margin-left: 30rpx; + background-color: #0082fa; + color: #fff; + } + } +} + +.process_logs { + padding: 0 30rpx; +} diff --git a/src/ME/emergency/update/index.vue b/src/ME/emergency/update/index.vue new file mode 100644 index 0000000..2d148a1 --- /dev/null +++ b/src/ME/emergency/update/index.vue @@ -0,0 +1,53 @@ + + + diff --git a/src/ME/emergency/update/method.ts b/src/ME/emergency/update/method.ts new file mode 100644 index 0000000..1cca898 --- /dev/null +++ b/src/ME/emergency/update/method.ts @@ -0,0 +1,63 @@ +import useModel from './model' +import { useWeAppAuthStore, useWorkStore } from '@/common' +import { getApiLoading } from '@/common/libraries/apiLoading' +import { Apis } from '@/gen/Apis' +import { showToastBack, showToast } from '@/common/libraries/naviHelper' +const work = useWorkStore() +const getList = () => { + getApiLoading(Apis.WorkOrder.HouseWorkOrders.List, useModel?.formData?.value).then(res => { + useModel.listData.value = [...useModel.listData.value, ...res?.data] + useModel.metaData.value = res?.meta + }) +} + +export default { + getList, + init() { + console.log('init', work?.selectWorkProject) + if (work?.selectWorkProject?.id) { + useModel.formData.value = { + ...useModel?.formData?.value, + project_name: work?.selectWorkProject?.name, + asset_projects_id: work?.selectWorkProject?.id + } + } + }, + handleSubmit() { + let data = useModel?.formData?.value + if (useModel?.formData?.value?.type === '申请关闭') { + if (!data?.handled_result) { + return showToast('请输入处理结果!') + } + uni.showModal({ + title: '提示', + content: '确定要申请关闭?', + success: function (res) { + if (res.confirm) { + getApiLoading( + Apis.Emergency.EmergencyEvents.ApplyClose, + useModel?.formData?.value + ).then(res => { + showToastBack('提交成功!', 1, true) + console.log(res) + }) + console.log('用户点击确定') + } else if (res.cancel) { + console.log('用户点击取消') + } + } + }) + } + if (useModel?.formData?.value?.type === '更新进度') { + if (!data?.content) { + return showToast('请输入跟进内容!') + } + getApiLoading(Apis.Emergency.EmergencyEventFollows.Store, useModel?.formData?.value).then( + res => { + showToastBack('提交成功!', 1, true) + console.log(res) + } + ) + } + } +} diff --git a/src/ME/emergency/update/model.ts b/src/ME/emergency/update/model.ts new file mode 100644 index 0000000..9d2128b --- /dev/null +++ b/src/ME/emergency/update/model.ts @@ -0,0 +1,7 @@ +import { reactive, ref } from 'vue' +export default { + currentTabs: ref(0), + formData: ref({}), + listData: ref([]), + metaData: ref({}) +} diff --git a/src/ME/emergency/update/style.scss b/src/ME/emergency/update/style.scss new file mode 100644 index 0000000..3b7b872 --- /dev/null +++ b/src/ME/emergency/update/style.scss @@ -0,0 +1,7 @@ +page { + background-color: #f8f8f8; +} +.emergency_add_page { + padding-bottom: calc(130rpx + constant(safe-area-inset-bottom)); + padding-bottom: calc(130rpx + env(safe-area-inset-bottom)); +} diff --git a/src/ME/instrument/add/index.vue b/src/ME/instrument/add/index.vue index ffd064f..20e12bc 100644 --- a/src/ME/instrument/add/index.vue +++ b/src/ME/instrument/add/index.vue @@ -8,6 +8,14 @@ 电表 + + 燃气表 + + + + 暖气表 + + {{ res?.full_name }} diff --git a/src/ME/instrument/add/style.scss b/src/ME/instrument/add/style.scss index 654bab8..fea1468 100644 --- a/src/ME/instrument/add/style.scss +++ b/src/ME/instrument/add/style.scss @@ -19,12 +19,13 @@ page { } .hande_name_info{ display: flex; - align-items: center; + align-items: self-start; .name{ color:#333333; font-size: 28rpx; font-weight: 500; padding:0 30rpx 0 0; + flex:1; text{ padding-left: 20rpx; } diff --git a/src/ME/instrument/list/components/HouseAreaList.vue b/src/ME/instrument/list/components/HouseAreaList.vue new file mode 100644 index 0000000..85b911c --- /dev/null +++ b/src/ME/instrument/list/components/HouseAreaList.vue @@ -0,0 +1,128 @@ + + + diff --git a/src/ME/instrument/list/components/SharedAreaList.vue b/src/ME/instrument/list/components/SharedAreaList.vue new file mode 100644 index 0000000..b5e70e3 --- /dev/null +++ b/src/ME/instrument/list/components/SharedAreaList.vue @@ -0,0 +1,86 @@ + + + + + diff --git a/src/ME/instrument/list/index.vue b/src/ME/instrument/list/index.vue index bb21f54..f957ea4 100644 --- a/src/ME/instrument/list/index.vue +++ b/src/ME/instrument/list/index.vue @@ -1,6 +1,6 @@ diff --git a/src/WORKORDER/patrol_update/method.ts b/src/WORKORDER/patrol_update/method.ts new file mode 100644 index 0000000..68f4f49 --- /dev/null +++ b/src/WORKORDER/patrol_update/method.ts @@ -0,0 +1,46 @@ +import { useWeAppAuthStore } from '@/common' +import useModel from './model' +import { Apis } from '@/gen/Apis' +import { getApiLoading } from '@/common/libraries/apiLoading' +const auth = useWeAppAuthStore() +import { showToastBack, showToast } from '@/common/libraries/naviHelper' +export default { + init(data: any) { + useModel.HouseWorkOrdersStatusItemEnum.value = { + Processing0: { text: '不合格', value: '0' }, + Processing1: { text: '合格', value: '1' } + } + useModel.formData.value = { + ...data, + house_work_orders_id: data?.id + } + }, + handleSubmit() { + console.log('handleSubmit', useModel.formData.value) + if ( + useModel?.formData?.value?.type === 'RenovationInspection' && + !useModel?.formData?.value?.attachments?.length + ) { + return showToast('请上传巡检图片!') + } + if (useModel?.formData?.value?.type === 'RenovationAcceptance') { + if (!useModel?.formData?.value?.is_passed) { + return showToast('请选择验收结果!') + } + if (!useModel?.formData?.value?.description) { + return showToast('请输入验收说明!') + } + if (!useModel?.formData?.value?.attachments?.length) { + return showToast('请上传验收图片!') + } + } + console.log('useModel.formData.value', useModel.formData.value) + getApiLoading(Apis.WorkOrder.HouseWorkLogs.Store, { + ...useModel.formData.value, + status: 'Completed' + }).then(res => { + showToastBack('提交成功!', 1, true) + console.log(res) + }) + } +} diff --git a/src/WORKORDER/patrol_update/model.ts b/src/WORKORDER/patrol_update/model.ts new file mode 100644 index 0000000..b85bf74 --- /dev/null +++ b/src/WORKORDER/patrol_update/model.ts @@ -0,0 +1,6 @@ +import { reactive, ref } from 'vue' +export default { + formData: ref({}), + HouseWorkOrdersStatusItemEnum: ref(), + HouseWorkOrdersCostEnum: ref() +} diff --git a/src/WORKORDER/patrol_update/style.scss b/src/WORKORDER/patrol_update/style.scss new file mode 100644 index 0000000..8ef22b8 --- /dev/null +++ b/src/WORKORDER/patrol_update/style.scss @@ -0,0 +1,8 @@ +page { + background-color: #f8f8f8; +} +.card_form { + background-color: #fff; + padding: 0 30rpx; + margin-bottom: 30rpx; +} diff --git a/src/WORKORDER/show/components/ProcessLogs.vue b/src/WORKORDER/show/components/ProcessLogs.vue index 777170f..18e1ee8 100644 --- a/src/WORKORDER/show/components/ProcessLogs.vue +++ b/src/WORKORDER/show/components/ProcessLogs.vue @@ -16,12 +16,8 @@ {{ i?.description }} - - + + {{ i?.created_at }} @@ -32,8 +28,15 @@ diff --git a/src/components/hs-popup-project/hs-popup-project.vue b/src/components/hs-popup-project/hs-popup-project.vue index 6f7caea..2965655 100644 --- a/src/components/hs-popup-project/hs-popup-project.vue +++ b/src/components/hs-popup-project/hs-popup-project.vue @@ -58,7 +58,7 @@ const handleScrollLower = (e: { page: number }) => { } const getPickerList = () => { - getApiLoading(Apis?.Asset?.AssetHouses?.SelectProject, formData.value).then(res => { + getApiLoading(Apis?.Asset?.AssetHouses?.SelectPermissionProject, formData.value).then(res => { pickerList.value = [...pickerList.value, ...res?.data] meta.value = res?.meta console.log(res) diff --git a/src/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.vue b/src/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.vue new file mode 100644 index 0000000..be36820 --- /dev/null +++ b/src/components/hs-radio-picker-categories-tree/hs-radio-picker-categories-tree.vue @@ -0,0 +1,124 @@ + + + + diff --git a/src/components/hs-radio-picker-levels/hs-radio-picker-levels.vue b/src/components/hs-radio-picker-levels/hs-radio-picker-levels.vue new file mode 100644 index 0000000..7320057 --- /dev/null +++ b/src/components/hs-radio-picker-levels/hs-radio-picker-levels.vue @@ -0,0 +1,108 @@ + + + + diff --git a/src/gen/ApiTypes.d.ts b/src/gen/ApiTypes.d.ts index dac1058..39c94f3 100644 --- a/src/gen/ApiTypes.d.ts +++ b/src/gen/ApiTypes.d.ts @@ -17,6 +17,10 @@ declare namespace ApiTypes { type GetHouseOccupantsByPhone = { "phone": string; // 手机号 }; + type ChangeContact = { + "house_occupants_id": number; // 住户的id + "is_contact": boolean; // 是否常用联系人 + }; } namespace HouseRegisters { type Store = { @@ -65,15 +69,29 @@ declare namespace ApiTypes { "city"?: string; // 城市名称 "city_id"?: string; // 城市id }; + type SelectPermissionProject = { + "name"?: string; // 项目名称 + "city"?: string; // 城市名称 + "city_id"?: string; // 城市id + }; type SelectBuilding = { "asset_projects_id": number; // 所属项目ID "name"?: string; // 名称 }; + type SelectPermissionBuilding = { + "asset_projects_id": number; // 所属项目ID + "name"?: string; // 名称 + }; type SelectUnit = { "asset_projects_id"?: number; // 所属项目ID "asset_buildings_id": number; // 所属楼栋ID "name"?: string; // 名称 }; + type SelectPermissionUnit = { + "asset_projects_id": number; // 所属项目ID + "asset_buildings_id"?: number; // 所属楼栋ID + "name"?: string; // 名称 + }; type SelectHouse = { "asset_projects_id"?: number; // 所属项目ID "asset_buildings_id"?: number; // 所属楼栋ID @@ -94,6 +112,65 @@ declare namespace ApiTypes { }; } } + namespace Attendance { + namespace AttendanceEmployeeTracks { + type MyTracks = { + "start_date"?: Date; // 开始日期 + "end_date"?: Date; // 结束日期 + "asset_projects_id"?: number; // 项目ID + }; + type Track = { + "asset_projects_id"?: number; // 项目ID(可选) + "longitude": number; // 经度 + "latitude": number; // 纬度 + "address"?: string; // 地址 + }; + } + namespace AttendanceRecords { + type Checkin = { + "attendance_schedules_id": number; // 排班记录ID + "attendance_shift_periods_id": number; // 班次时段ID + "checkin_type": in:CheckIn,CheckOut; // 打卡类型(上班/下班) + "longitude": number; // 经度 + "latitude": number; // 纬度 + "asset_projects_id"?: number; // 项目ID(可选,默认使用排班项目) + "address"?: string; // 地址 + "photo"?: string[]; // 照片 + "device_info"?: string[]; // 设备信息 + "remark"?: string; // 备注 + }; + type Makeup = { + "attendance_schedules_id": number; // 排班记录ID + "attendance_shift_periods_id": number; // 班次时段ID + "checkin_type": in:CheckIn,CheckOut; // 打卡类型 + "checkin_time": Date; // 补卡时间 + "longitude"?: number; // 经度 + "latitude"?: number; // 纬度 + "asset_projects_id"?: number; // 项目ID + "address"?: string; // 地址 + "photo"?: string[]; // 照片 + "device_info"?: string[]; // 设备信息 + "remark"?: string; // 备注 + }; + type MyRecords = { + "start_date": Date; // 开始日期 + "end_date": Date; // 结束日期 + }; + type RecordDetail = { + "id": number; // 打卡记录ID + }; + } + namespace AttendanceSchedules { + type MySchedules = { + "start_date": Date; // 开始日期 + "end_date": Date; // 结束日期 + }; + type GetAttendanceShiftPeriod = { + "attendance_schedules_id": number; // 班次id + "attendance_shift_periods_id": number; // 打卡时段id + }; + } + } namespace Banner { namespace BannerSpaces { type List = { @@ -162,7 +239,7 @@ declare namespace ApiTypes { "status"?: string; // 状态,[enum:HouseCollectionTasksStatusEnum] }; type Store = { - "channel": string[]; // 通知渠道 + "channel": string[]; // 通知渠道 SMS,MiniProgram,OfficialAccount "houses": string[]; // 通知房屋信息 }; type Show = { @@ -258,6 +335,134 @@ declare namespace ApiTypes { }; } } + namespace Emergency { + namespace EmergencyEventCategories { + type List = { + "name"?: string; // 模糊搜索:名称 + "parent_id"?: number; // 父级ID + }; + type TreeList = { + "name"?: string; // 模糊搜索:名称 + "parent_id"?: number; // 父级ID + }; + type Show = { + "id": number; // id + }; + type Select = { + "keywords"?: string; // 关键词 + }; + type SelectTree = { + "keywords"?: string; // 关键词 + "type"?: string; // 类型 + "parent_id"?: number; // 父级ID + }; + } + namespace EmergencyEventFollows { + type List = { + "emergency_events_id": number; // 突发事件ID,[ref:emergency_events] + "content"?: string; // 跟进内容 + }; + type Store = { + "emergency_events_id": number; // 突发事件ID,[ref:emergency_events] + "content": string; // 跟进内容 + "attachments"?: string[]; // 附件 + }; + type Show = { + "id": number; // id + }; + } + namespace EmergencyEventLevels { + type List = { + "name"?: string; // 模糊搜索:名称 + }; + type Show = { + "id": number; // id + }; + type Select = { + "name"?: string; // 名称 + }; + } + namespace EmergencyEventTeams { + type List = { + "name"?: string; // 模糊搜索:名称 + "leader_name"?: string; // 队长名称 + }; + type Show = { + "id": number; // id + }; + type GetPermission = { + "asset_projects_id": number; // 项目ID,[ref:asset_projects] + }; + type Select = { + "name"?: string; // 模糊搜索:名称 + "leader_name"?: string; // 队长名称 + }; + } + namespace EmergencyEvents { + type List = { + "name"?: string; // 模糊搜索:事件名称 + "asset_projects_id"?: number; // 事发项目ID + "asset_projects_name"?: string; // 事发项目名称 + "emergency_event_employees_id"?: number; // 报事人ID + "reporter_name"?: string; // 报事人名称 + "emergency_time"?: string[]; // 事发时间范围 + "status"?: string; // 状态,[enum:EmergencyEventsStatusEnum] + "audit_status"?: string; // 审核状态,[enum:EmergencyEventsAuditStatusEnum] + }; + type Store = { + "name": string; // 事件名称 + "two_emergency_categories_id": number; // 二级分类ID,[ref:emergency_event_categories] + "emergency_event_levels_id": number; // 事件等级ID,[ref:emergency_event_levels] + "asset_projects_id": number; // 项目ID,[ref:asset_projects] + "emergency_time": Date; // 事件发生时间 + "emergency_location": string; // 事件发生地点 + "emergency_description": string; // 事件描述 + "emergency_cause": string; // 事件原因 + "cause_result": string; // 造成结果 + "emergency_images"?: string[]; // 事件图片 + "emergency_events_id"?: number; // 关联事件ID,[ref:emergency_events] + "related_person"?: string; // 关联人物 + "supplement"?: string; // 补充信息 + "compensation_type"?: string; // 赔偿类型,[enum:EmergencyEventsCompensationTypeEnum] + "compensation_rate"?: number; // 赔偿比例 + "compensation_amount"?: number; // 赔偿金额 + "compensation_paid_amount"?: number; // 已支付赔偿金额 + }; + type Update = { + "id": number; // id + "name": string; // 事件名称 + "two_emergency_categories_id": number; // 二级分类ID,[ref:emergency_event_categories] + "emergency_event_levels_id": number; // 事件等级ID,[ref:emergency_event_levels] + "emergency_event_levels_name"?: string; // 事件等级名称 + "asset_projects_id": number; // 项目ID,[ref:asset_projects] + "emergency_time": Date; // 事件发生时间 + "emergency_location": string; // 事件发生地点 + "emergency_description": string; // 事件描述 + "emergency_cause": string; // 事件原因 + "cause_result": string; // 造成结果 + "emergency_images"?: string[]; // 事件图片 + "emergency_events_id"?: number; // 关联事件ID,[ref:emergency_events] + "related_person"?: string; // 关联人物 + "supplement"?: string; // 补充信息 + "compensation_type"?: string; // 赔偿类型,[enum:EmergencyEventsCompensationTypeEnum] + "compensation_rate"?: number; // 赔偿比例 + "compensation_amount"?: number; // 赔偿金额 + "compensation_paid_amount"?: number; // 已支付赔偿金额 + }; + type Show = { + "id": number; // id + }; + type ApplyClose = { + "id": number; // id + "handled_result"?: string; // 处理结果 + "introspection"?: string; // 反思与总结 + }; + type Select = { + "keywords"?: string; // 关键词 + "asset_projects_id"?: number; // 项目ID + }; + } + } namespace GoodsReleases { namespace GoodsReleases { type ScanRelease = { @@ -329,6 +534,9 @@ declare namespace ApiTypes { type GetPayQrCode = { "id": number; // id }; + type AlipayQrCode = { + "id": number; // id 订单ID + }; } } namespace Login { @@ -410,8 +618,10 @@ declare namespace ApiTypes { "usage_type"?: string; // 使用类型,[enum:HouseMetersUsageTypeEnum] WaterMeter=水表,ElectricMeter=电表 "asset_projects_id"?: number; // 项目id,[ref:asset_projects] "asset_buildings_id"?: number; // 楼栋id,[ref:asset_buildings] + "asset_units_id"?: number; // 单元id,[ref:asset_units] "keyword"?: string; // 搜索关键词(房屋名称/仪表名称) "reading_status"?: string; // 抄表状态: read=已抄表, unread=未抄表 + "overdue_days"?: string; // 未抄表天数筛选: 30=超过30天(31-60天), 60=超过60天(61-90天), 90=超过90天(91天及以上) }; type Show = { "id": number; // 仪表id @@ -427,12 +637,52 @@ declare namespace ApiTypes { type Show = { "id": number; // id }; + type MarkAsRead = { + "id": number; // 公告ID + }; + } + } + namespace Patrol { + namespace PatrolTaskLocations { + type GetPatrolTaskList = { + "id": number; // 巡逻位置ID + }; + type Store = { + "patrol_tasks_id": number; // 巡逻任务ID + "patrol_locations_id": number; // 巡逻位置ID + "longitude"?: number; // 经度 + "latitude"?: number; // 纬度 + "images"?: string[]; // 巡逻图片 + "remark"?: string; // 巡逻备注 + }; + type GetPatrolTaskLocation = { + "patrol_tasks_id": number; // 巡逻任务ID + "patrol_locations_id": number; // 巡逻位置ID + }; + type Show = { + "id": number; // id + }; + } + } + namespace Survey { + namespace Surveys { + type Questions = { + "surveyId": number; // - + "release_id"?: number; // - + }; + type SubmitResponse = { + "surveyId": number; // - + "release_id"?: number; // - + "answers": string[]; // - + }; } } namespace Visitor { namespace VisitorApplies { type Scan = { - "code": string; // 通行码 + "code"?: string; // 通行码(访客二维码) + "customers_id"?: number; // 客户ID(住户二维码) + "asset_houses_id"?: number; // 房屋ID(住户二维码) "scan_type": string; // 扫码类型:[enum:VisitorScanTypeEnum] }; type Show = { @@ -494,6 +744,9 @@ declare namespace ApiTypes { type GetWorkOrderPayQrCode = { "id": number; // id }; + type GetWorkOrderAlipayQrCode = { + "id": number; // 工单ID + }; type Accept = { "id": number; // 工单id "is_completed": boolean; // 是否完工:0否,1是 diff --git a/src/gen/Apis.ts b/src/gen/Apis.ts index 740ac8c..161d313 100644 --- a/src/gen/Apis.ts +++ b/src/gen/Apis.ts @@ -18,6 +18,9 @@ export const Apis = { GetHouseOccupantsByPhone(data: ApiTypes.Archive.HouseOccupants.GetHouseOccupantsByPhone): Promise { return request('employee/archive/house_occupants/get_house_occupants_by_phone', { data }); }, + ChangeContact(data: ApiTypes.Archive.HouseOccupants.ChangeContact): Promise { + return request('employee/archive/house_occupants/change_contact', { data }); + }, }, HouseRegisters: { Store(data: ApiTypes.Archive.HouseRegisters.Store): Promise { @@ -42,12 +45,21 @@ export const Apis = { SelectProject(data?: ApiTypes.Asset.AssetHouses.SelectProject): Promise { return request('employee/asset/asset_houses/select_project', { data }); }, + SelectPermissionProject(data?: ApiTypes.Asset.AssetHouses.SelectPermissionProject): Promise { + return request('employee/asset/asset_houses/select_permission_project', { data }); + }, SelectBuilding(data: ApiTypes.Asset.AssetHouses.SelectBuilding): Promise { return request('employee/asset/asset_houses/select_building', { data }); }, + SelectPermissionBuilding(data: ApiTypes.Asset.AssetHouses.SelectPermissionBuilding): Promise { + return request('employee/asset/asset_houses/select_permission_building', { data }); + }, SelectUnit(data: ApiTypes.Asset.AssetHouses.SelectUnit): Promise { return request('employee/asset/asset_houses/select_unit', { data }); }, + SelectPermissionUnit(data: ApiTypes.Asset.AssetHouses.SelectPermissionUnit): Promise { + return request('employee/asset/asset_houses/select_permission_unit', { data }); + }, SelectHouse(data?: ApiTypes.Asset.AssetHouses.SelectHouse): Promise { return request('employee/asset/asset_houses/select_house', { data }); }, @@ -64,6 +76,44 @@ export const Apis = { }, }, }, + Attendance: { + AttendanceEmployeeTracks: { + MyTracks(data?: ApiTypes.Attendance.AttendanceEmployeeTracks.MyTracks): Promise { + return request('employee/attendance/attendance_employee_tracks/my_tracks', { data }); + }, + Track(data: ApiTypes.Attendance.AttendanceEmployeeTracks.Track): Promise { + return request('employee/attendance/attendance_employee_tracks/track', { data }); + }, + }, + AttendanceRecords: { + Checkin(data: ApiTypes.Attendance.AttendanceRecords.Checkin): Promise { + return request('employee/attendance/attendance_records/checkin', { data }); + }, + Makeup(data: ApiTypes.Attendance.AttendanceRecords.Makeup): Promise { + return request('employee/attendance/attendance_records/makeup', { data }); + }, + MyRecords(data: ApiTypes.Attendance.AttendanceRecords.MyRecords): Promise { + return request('employee/attendance/attendance_records/my_records', { data }); + }, + RecordDetail(data: ApiTypes.Attendance.AttendanceRecords.RecordDetail): Promise { + return request('employee/attendance/attendance_records/record_detail', { data }); + }, + }, + AttendanceSchedules: { + MySchedules(data: ApiTypes.Attendance.AttendanceSchedules.MySchedules): Promise { + return request('employee/attendance/attendance_schedules/my_schedules', { data }); + }, + GetAttendanceSchedules(): Promise { + return request('employee/attendance/attendance_schedules/get_attendance_schedules', {}); + }, + GetAttendanceShiftPeriod(data: ApiTypes.Attendance.AttendanceSchedules.GetAttendanceShiftPeriod): Promise { + return request('employee/attendance/attendance_schedules/get_attendance_shift_period', { data }); + }, + GetAttendanceConfig(): Promise { + return request('employee/attendance/attendance_schedules/get_attendance_config', {}); + }, + }, + }, Banner: { BannerSpaces: { List(data: ApiTypes.Banner.BannerSpaces.List): Promise { @@ -210,6 +260,81 @@ export const Apis = { }, }, }, + Emergency: { + EmergencyEventCategories: { + List(data?: ApiTypes.Emergency.EmergencyEventCategories.List): Promise { + return request('employee/emergency/emergency_event_categories/list', { data }); + }, + TreeList(data?: ApiTypes.Emergency.EmergencyEventCategories.TreeList): Promise { + return request('employee/emergency/emergency_event_categories/tree_list', { data }); + }, + Show(data: ApiTypes.Emergency.EmergencyEventCategories.Show): Promise { + return request('employee/emergency/emergency_event_categories/show', { data }); + }, + Select(data?: ApiTypes.Emergency.EmergencyEventCategories.Select): Promise { + return request('employee/emergency/emergency_event_categories/select', { data }); + }, + SelectTree(data?: ApiTypes.Emergency.EmergencyEventCategories.SelectTree): Promise { + return request('employee/emergency/emergency_event_categories/select_tree', { data }); + }, + }, + EmergencyEventFollows: { + List(data: ApiTypes.Emergency.EmergencyEventFollows.List): Promise { + return request('employee/emergency/emergency_event_follows/list', { data }); + }, + Store(data: ApiTypes.Emergency.EmergencyEventFollows.Store): Promise { + return request('employee/emergency/emergency_event_follows/store', { data }); + }, + Show(data: ApiTypes.Emergency.EmergencyEventFollows.Show): Promise { + return request('employee/emergency/emergency_event_follows/show', { data }); + }, + }, + EmergencyEventLevels: { + List(data?: ApiTypes.Emergency.EmergencyEventLevels.List): Promise { + return request('employee/emergency/emergency_event_levels/list', { data }); + }, + Show(data: ApiTypes.Emergency.EmergencyEventLevels.Show): Promise { + return request('employee/emergency/emergency_event_levels/show', { data }); + }, + Select(data?: ApiTypes.Emergency.EmergencyEventLevels.Select): Promise { + return request('employee/emergency/emergency_event_levels/select', { data }); + }, + }, + EmergencyEventTeams: { + List(data?: ApiTypes.Emergency.EmergencyEventTeams.List): Promise { + return request('employee/emergency/emergency_event_teams/list', { data }); + }, + Show(data: ApiTypes.Emergency.EmergencyEventTeams.Show): Promise { + return request('employee/emergency/emergency_event_teams/show', { data }); + }, + GetPermission(data: ApiTypes.Emergency.EmergencyEventTeams.GetPermission): Promise { + return request('employee/emergency/emergency_event_teams/get_permission', { data }); + }, + Select(data?: ApiTypes.Emergency.EmergencyEventTeams.Select): Promise { + return request('employee/emergency/emergency_event_teams/select', { data }); + }, + }, + EmergencyEvents: { + List(data?: ApiTypes.Emergency.EmergencyEvents.List): Promise { + return request('employee/emergency/emergency_events/list', { data }); + }, + Store(data: ApiTypes.Emergency.EmergencyEvents.Store): Promise { + return request('employee/emergency/emergency_events/store', { data }); + }, + Update(data: ApiTypes.Emergency.EmergencyEvents.Update): Promise { + return request('employee/emergency/emergency_events/update', { data }); + }, + Show(data: ApiTypes.Emergency.EmergencyEvents.Show): Promise { + return request('employee/emergency/emergency_events/show', { data }); + }, + ApplyClose(data: ApiTypes.Emergency.EmergencyEvents.ApplyClose): Promise { + return request('employee/emergency/emergency_events/apply_close', { data }); + }, + Select(data?: ApiTypes.Emergency.EmergencyEvents.Select): Promise { + return request('employee/emergency/emergency_events/select', { data }); + }, + }, + }, GoodsReleases: { GoodsReleases: { ScanRelease(data: ApiTypes.GoodsReleases.GoodsReleases.ScanRelease): Promise { @@ -267,6 +392,9 @@ export const Apis = { GetPayQrCode(data: ApiTypes.HouseOrder.HouseOrders.GetPayQrCode): Promise { return request('employee/house_order/house_orders/get_pay_qr_code', { data }); }, + AlipayQrCode(data: ApiTypes.HouseOrder.HouseOrders.AlipayQrCode): Promise { + return request('employee/house_order/house_orders/alipay_qr_code', { data }); + }, }, }, Login: { @@ -341,6 +469,41 @@ export const Apis = { Show(data: ApiTypes.Msg.MsgPropertyAnnouncements.Show): Promise { return request('employee/msg/msg_property_announcements/show', { data }); }, + MarkAsRead(data: ApiTypes.Msg.MsgPropertyAnnouncements.MarkAsRead): Promise { + return request('employee/msg/msg_property_announcements/mark_as_read', { data }); + }, + CountMsg(): Promise { + return request('employee/msg/msg_property_announcements/count_msg', {}); + }, + }, + }, + Patrol: { + PatrolTaskLocations: { + GetPatrolTaskList(data: ApiTypes.Patrol.PatrolTaskLocations.GetPatrolTaskList): Promise { + return request('employee/patrol/patrol_task_locations/get_patrol_task_list', { data }); + }, + Store(data: ApiTypes.Patrol.PatrolTaskLocations.Store): Promise { + return request('employee/patrol/patrol_task_locations/store', { data }); + }, + GetPatrolTaskLocation(data: ApiTypes.Patrol.PatrolTaskLocations.GetPatrolTaskLocation): Promise { + return request('employee/patrol/patrol_task_locations/get_patrol_task_location', { data }); + }, + Show(data: ApiTypes.Patrol.PatrolTaskLocations.Show): Promise { + return request('employee/patrol/patrol_task_locations/show', { data }); + }, + }, + }, + Survey: { + Surveys: { + List(): Promise { + return request('employee/survey/surveys/list', {}); + }, + Questions(data: ApiTypes.Survey.Surveys.Questions): Promise { + return request('employee/survey/surveys/questions', { data }); + }, + SubmitResponse(data: ApiTypes.Survey.Surveys.SubmitResponse): Promise { + return request('employee/survey/surveys/submit_response', { data }); + }, }, }, Visitor: { @@ -384,6 +547,9 @@ export const Apis = { GetWorkOrderPayQrCode(data: ApiTypes.WorkOrder.HouseWorkOrders.GetWorkOrderPayQrCode): Promise { return request('employee/work_order/house_work_orders/get_work_order_pay_qr_code', { data }); }, + GetWorkOrderAlipayQrCode(data: ApiTypes.WorkOrder.HouseWorkOrders.GetWorkOrderAlipayQrCode): Promise { + return request('employee/work_order/house_work_orders/get_work_order_alipay_qr_code', { data }); + }, Accept(data: ApiTypes.WorkOrder.HouseWorkOrders.Accept): Promise { return request('employee/work_order/house_work_orders/accept', { data }); }, diff --git a/src/gen/Enums.ts b/src/gen/Enums.ts index 6aef689..41972a9 100644 --- a/src/gen/Enums.ts +++ b/src/gen/Enums.ts @@ -1,871 +1,1343 @@ // ActivitiesPublishStatusEnum export const ActivitiesPublishStatusEnum = { - 'Unpublished': {"text":"未发布","color":"#9e9e9e","value":"Unpublished"}, - 'Published': {"text":"已发布","color":"#00c853","value":"Published"}, - 'Unlisted': {"text":"已下架","color":"#d32f2f","value":"Unlisted"}, + 'Unpublished': {'text':'未发布','color':'#9e9e9e','value':'Unpublished'}, + 'Published': {'text':'已发布','color':'#00c853','value':'Published'}, + 'Unlisted': {'text':'已下架','color':'#d32f2f','value':'Unlisted'}, }; // ActivitiesPublishTypeEnum export const ActivitiesPublishTypeEnum = { - 'Manual': {"text":"手动","color":"#4caf50","value":"Manual"}, - 'Schedule': {"text":"定时","color":"#2196f3","value":"Schedule"}, + 'Manual': {'text':'手动','color':'#4caf50','value':'Manual'}, + 'Schedule': {'text':'定时','color':'#2196f3','value':'Schedule'}, }; // ActivitiesStatusEnum export const ActivitiesStatusEnum = { - 'NotStarted': {"text":"未开始","color":"#9e9e9e","value":"NotStarted"}, - 'InProgress': {"text":"进行中","color":"#00c853","value":"InProgress"}, - 'Finished': {"text":"已结束","color":"#d32f2f","value":"Finished"}, + 'NotStarted': {'text':'未开始','color':'#9e9e9e','value':'NotStarted'}, + 'InProgress': {'text':'进行中','color':'#00c853','value':'InProgress'}, + 'Finished': {'text':'已结束','color':'#d32f2f','value':'Finished'}, }; // ActivityEnrollsStatusEnum export const ActivityEnrollsStatusEnum = { - 'PendingReview': {"text":"待审核","color":"#2196f3","value":"PendingReview"}, - 'Success': {"text":"成功","color":"#00c853","value":"Success"}, - 'Failed': {"text":"失败","color":"#d32f2f","value":"Failed"}, - 'Cancelled': {"text":"取消","color":"#ff9800","value":"Cancelled"}, + 'PendingReview': {'text':'待审核','color':'#2196f3','value':'PendingReview'}, + 'Success': {'text':'成功','color':'#00c853','value':'Success'}, + 'Failed': {'text':'失败','color':'#d32f2f','value':'Failed'}, + 'Cancelled': {'text':'取消','color':'#ff9800','value':'Cancelled'}, +}; + +// API凭证状态枚举 +export const ApiCredentialStatusEnum = { + 'Active': {'text':'启用','color':'#28A745','value':'Active'}, + 'Inactive': {'text':'禁用','color':'#6C757D','value':'Inactive'}, + 'Expired': {'text':'已过期','color':'#DC3545','value':'Expired'}, }; // 审批实例状态枚举 export const ApprovalInstancesStatusEnum = { - 'Pending': {"text":"待审批","color":"#ff9800","value":"Pending"}, - 'Approved': {"text":"已通过","color":"#4caf50","value":"Approved"}, - 'Rejected': {"text":"已拒绝","color":"#f44336","value":"Rejected"}, - 'Cancelled': {"text":"已取消","color":"#9e9e9e","value":"Cancelled"}, + 'Pending': {'text':'待审批','color':'#ff9800','value':'Pending'}, + 'Approved': {'text':'已通过','color':'#4caf50','value':'Approved'}, + 'Rejected': {'text':'已拒绝','color':'#f44336','value':'Rejected'}, + 'Cancelled': {'text':'已取消','color':'#9e9e9e','value':'Cancelled'}, }; // 审批记录状态枚举 export const ApprovalRecordsStatusEnum = { - 'Pending': {"text":"待审批","color":"#ff9800","value":"Pending"}, - 'Approved': {"text":"同意","color":"#4caf50","value":"Approved"}, - 'Rejected': {"text":"拒绝","color":"#f44336","value":"Rejected"}, - 'Transferred': {"text":"转交","color":"#9c27b0","value":"Transferred"}, + 'Pending': {'text':'待审批','color':'#ff9800','value':'Pending'}, + 'Approved': {'text':'同意','color':'#4caf50','value':'Approved'}, + 'Rejected': {'text':'拒绝','color':'#f44336','value':'Rejected'}, + 'Transferred': {'text':'转交','color':'#9c27b0','value':'Transferred'}, }; // 审批方式枚举 export const ApprovalTemplateNodesApproveTypeEnum = { - 'And': {"text":"会签","color":"#4caf50","value":"And"}, - 'Or': {"text":"或签","color":"#ff9800","value":"Or"}, + 'And': {'text':'会签','color':'#4caf50','value':'And'}, + 'Or': {'text':'或签','color':'#ff9800','value':'Or'}, }; // 审批节点类型枚举 export const ApprovalTemplateNodesNodeTypeEnum = { - 'Approver': {"text":"审批人","color":"#2196f3","value":"Approver"}, - 'CC': {"text":"抄送人","color":"#9e9e9e","value":"CC"}, + 'Approver': {'text':'审批人','color':'#2196f3','value':'Approver'}, + 'CC': {'text':'抄送人','color':'#9e9e9e','value':'CC'}, }; // 审批业务类型枚举 export const ApprovalTemplatesTypeEnum = { - 'Contract': {"text":"合同","color":"#2196f3","value":"Contract"}, - 'Finance': {"text":"财务","color":"#4caf50","value":"Finance"}, - 'Refund': {"text":"退款","color":"#f44336","value":"Refund"}, + 'Contract': {'text':'合同','color':'#2196f3','value':'Contract'}, + 'Finance': {'text':'财务','color':'#4caf50','value':'Finance'}, + 'Refund': {'text':'退款','color':'#f44336','value':'Refund'}, + 'ContractTermination': {'text':'合同终止','color':'#ff9800','value':'ContractTermination'}, + 'ContractBorrow': {'text':'合同借用','color':'#9c27b0','value':'ContractBorrow'}, + 'ContractPayment': {'text':'合同支付','color':'#00bcd4','value':'ContractPayment'}, + 'OtherContractSeal': {'text':'其它合同用印','color':'#795548','value':'OtherContractSeal'}, + 'HouseBillUpdate': {'text':'物业账单修改','color':'#607d8b','value':'HouseBillUpdate'}, + 'BillUpdate': {'text':'账单修改','color':'#795548','value':'BillUpdate'}, }; // 车位产权类型 export const AssetCarPortsPropertyTypeEnum = { - 'Ownership': {"text":"产权车位","color":"#1e90ff","value":"Ownership"}, - 'CivilDefense': {"text":"人防车位","color":"#32cd32","value":"CivilDefense"}, - 'Public': {"text":"公共车位","color":"#ff8c00","value":"Public"}, - 'Temporary': {"text":"临时车位","color":"#ba55d3","value":"Temporary"}, - 'Other': {"text":"其他","color":"#a9a9a9","value":"Other"}, + 'Ownership': {'text':'产权车位','color':'#1e90ff','value':'Ownership'}, + 'CivilDefense': {'text':'人防车位','color':'#32cd32','value':'CivilDefense'}, + 'Public': {'text':'公共车位','color':'#ff8c00','value':'Public'}, + 'Temporary': {'text':'临时车位','color':'#ba55d3','value':'Temporary'}, + 'Other': {'text':'其他','color':'#a9a9a9','value':'Other'}, }; // 车位状态 export const AssetCarPortsStatusEnum = { - 'Unsold': {"text":"未售","color":"#6b7280","value":"Unsold"}, - 'Sold': {"text":"已售","color":"#10b981","value":"Sold"}, - 'Rented': {"text":"已租","color":"#3b82f6","value":"Rented"}, - 'Unrented': {"text":"未租","color":"#f59e0b","value":"Unrented"}, - 'Other': {"text":"其他","color":"#9ca3af","value":"Other"}, + 'Unsold': {'text':'未售','color':'#6b7280','value':'Unsold'}, + 'Sold': {'text':'已售','color':'#10b981','value':'Sold'}, + 'Rented': {'text':'已租','color':'#3b82f6','value':'Rented'}, + 'Unrented': {'text':'未租','color':'#f59e0b','value':'Unrented'}, + 'Other': {'text':'其他','color':'#9ca3af','value':'Other'}, }; // 车位类型 export const AssetCarPortsTypeEnum = { - 'Standard': {"text":"标准车位","color":"#1e90ff","value":"Standard"}, - 'Mini': {"text":"微型车位","color":"#32cd32","value":"Mini"}, - 'Accessible': {"text":"无障碍车位","color":"#ff8c00","value":"Accessible"}, - 'Tandem': {"text":"子母车位","color":"#ba55d3","value":"Tandem"}, - 'Mechanical': {"text":"机械车位","color":"#20b2aa","value":"Mechanical"}, - 'Other': {"text":"其他","color":"#a9a9a9","value":"Other"}, + 'Standard': {'text':'标准车位','color':'#1e90ff','value':'Standard'}, + 'Mini': {'text':'微型车位','color':'#32cd32','value':'Mini'}, + 'Accessible': {'text':'无障碍车位','color':'#ff8c00','value':'Accessible'}, + 'Tandem': {'text':'子母车位','color':'#ba55d3','value':'Tandem'}, + 'Mechanical': {'text':'机械车位','color':'#20b2aa','value':'Mechanical'}, + 'Other': {'text':'其他','color':'#a9a9a9','value':'Other'}, }; // AssetHousesOrientationEnum export const AssetHousesOrientationEnum = { - 'East': {"text":"东","color":"#007bff","value":"East"}, - 'South': {"text":"南","color":"#28a745","value":"South"}, - 'West': {"text":"西","color":"#ffc107","value":"West"}, - 'North': {"text":"北","color":"#dc3545","value":"North"}, - 'Southeast': {"text":"东南","color":"#20c997","value":"Southeast"}, - 'Northeast': {"text":"东北","color":"#6f42c1","value":"Northeast"}, - 'Southwest': {"text":"西南","color":"#fd7e14","value":"Southwest"}, - 'Northwest': {"text":"西北","color":"#17a2b8","value":"Northwest"}, - 'EastWest': {"text":"东西","color":"#6610f2","value":"EastWest"}, - 'SouthNorth': {"text":"南北","color":"#e83e8c","value":"SouthNorth"}, + 'East': {'text':'东','color':'#007bff','value':'East'}, + 'South': {'text':'南','color':'#28a745','value':'South'}, + 'West': {'text':'西','color':'#ffc107','value':'West'}, + 'North': {'text':'北','color':'#dc3545','value':'North'}, + 'Southeast': {'text':'东南','color':'#20c997','value':'Southeast'}, + 'Northeast': {'text':'东北','color':'#6f42c1','value':'Northeast'}, + 'Southwest': {'text':'西南','color':'#fd7e14','value':'Southwest'}, + 'Northwest': {'text':'西北','color':'#17a2b8','value':'Northwest'}, + 'EastWest': {'text':'东西','color':'#6610f2','value':'EastWest'}, + 'SouthNorth': {'text':'南北','color':'#e83e8c','value':'SouthNorth'}, }; // AssetHousesOwnershipTypeEnum export const AssetHousesOwnershipTypeEnum = { - 'CommodityHousing': {"text":"商品房","color":"#007bff","value":"CommodityHousing"}, - 'FundedHousing': {"text":"集资房","color":"#28a745","value":"FundedHousing"}, - 'MilitaryHousing': {"text":"军产房","color":"#17a2b8","value":"MilitaryHousing"}, - 'AffordableHousing': {"text":"保障房","color":"#ffc107","value":"AffordableHousing"}, - 'RuralHousing': {"text":"农民房","color":"#6f42c1","value":"RuralHousing"}, - 'CommercialOffice': {"text":"商业写字楼","color":"#fd7e14","value":"CommercialOffice"}, - 'CommercialComplex': {"text":"商业综合体","color":"#dc3545","value":"CommercialComplex"}, - 'ResettlementHousing': {"text":"回迁房","color":"#20c997","value":"ResettlementHousing"}, + 'CommodityHousing': {'text':'商品房','color':'#007bff','value':'CommodityHousing'}, + 'FundedHousing': {'text':'集资房','color':'#28a745','value':'FundedHousing'}, + 'MilitaryHousing': {'text':'军产房','color':'#17a2b8','value':'MilitaryHousing'}, + 'AffordableHousing': {'text':'保障房','color':'#ffc107','value':'AffordableHousing'}, + 'RuralHousing': {'text':'农民房','color':'#6f42c1','value':'RuralHousing'}, + 'CommercialOffice': {'text':'商业写字楼','color':'#fd7e14','value':'CommercialOffice'}, + 'CommercialComplex': {'text':'商业综合体','color':'#dc3545','value':'CommercialComplex'}, + 'ResettlementHousing': {'text':'回迁房','color':'#20c997','value':'ResettlementHousing'}, }; // AssetHousesPropertyOwnershipEnum export const AssetHousesPropertyOwnershipEnum = { - 'Individual': {"text":"个人","color":"#2db7f5","value":"Individual"}, - 'Enterprise': {"text":"企业","color":"#87d068","value":"Enterprise"}, - 'Developer': {"text":"开发商","color":"#fa8c16","value":"Developer"}, - 'Government': {"text":"政府","color":"#f5222d","value":"Government"}, + 'Individual': {'text':'个人','color':'#2db7f5','value':'Individual'}, + 'Enterprise': {'text':'企业','color':'#87d068','value':'Enterprise'}, + 'Developer': {'text':'开发商','color':'#fa8c16','value':'Developer'}, + 'Government': {'text':'政府','color':'#f5222d','value':'Government'}, }; // AssetHousesStatusEnum export const AssetHousesStatusEnum = { - 'Unsold': {"text":"未售","color":"#6c757d","value":"Unsold"}, - 'SoldNotDelivered': {"text":"已售未交房","color":"#ffc107","value":"SoldNotDelivered"}, - 'SelfOccupied': {"text":"自住","color":"#28a745","value":"SelfOccupied"}, - 'Rented': {"text":"出租","color":"#007bff","value":"Rented"}, - 'Vacant': {"text":"空置","color":"#dc3545","value":"Vacant"}, + 'Unsold': {'text':'未售','color':'#6c757d','value':'Unsold'}, + 'SoldNotDelivered': {'text':'已售未交房','color':'#ffc107','value':'SoldNotDelivered'}, + 'SelfOccupied': {'text':'自住','color':'#28a745','value':'SelfOccupied'}, + 'Rented': {'text':'出租','color':'#007bff','value':'Rented'}, + 'Vacant': {'text':'空置','color':'#dc3545','value':'Vacant'}, }; // AssetHousesUsageEnum export const AssetHousesUsageEnum = { - 'Residence': {"text":"住宅","color":"#007bff","value":"Residence"}, - 'Apartment': {"text":"公寓","color":"#28a745","value":"Apartment"}, - 'Villa': {"text":"别墅","color":"#17a2b8","value":"Villa"}, - 'Shop': {"text":"商铺","color":"#ffc107","value":"Shop"}, - 'ParkingSpace': {"text":"车位","color":"#6c757d","value":"ParkingSpace"}, - 'Office': {"text":"写字楼","color":"#6610f2","value":"Office"}, - 'Clubhouse': {"text":"会所","color":"#fd7e14","value":"Clubhouse"}, - 'PropertyRoom': {"text":"物业用房","color":"#dc3545","value":"PropertyRoom"}, + 'Residence': {'text':'住宅','color':'#007bff','value':'Residence'}, + 'Apartment': {'text':'公寓','color':'#28a745','value':'Apartment'}, + 'Villa': {'text':'别墅','color':'#17a2b8','value':'Villa'}, + 'Shop': {'text':'商铺','color':'#ffc107','value':'Shop'}, + 'ParkingSpace': {'text':'车位','color':'#6c757d','value':'ParkingSpace'}, + 'Office': {'text':'写字楼','color':'#6610f2','value':'Office'}, + 'Clubhouse': {'text':'会所','color':'#fd7e14','value':'Clubhouse'}, + 'PropertyRoom': {'text':'物业用房','color':'#dc3545','value':'PropertyRoom'}, }; // 车场收费类型 export const AssetParkingPlacesChargeTypeEnum = { - 'Free': {"text":"免费","color":"#32cd32","value":"Free"}, - 'TemporaryCharge': {"text":"临停收费","color":"#1e90ff","value":"TemporaryCharge"}, - 'MonthlyCharge': {"text":"月卡收费","color":"#ff8c00","value":"MonthlyCharge"}, - 'MixedCharge': {"text":"混合收费","color":"#ba55d3","value":"MixedCharge"}, + 'Free': {'text':'免费','color':'#32cd32','value':'Free'}, + 'TemporaryCharge': {'text':'临停收费','color':'#1e90ff','value':'TemporaryCharge'}, + 'MonthlyCharge': {'text':'月卡收费','color':'#ff8c00','value':'MonthlyCharge'}, + 'MixedCharge': {'text':'混合收费','color':'#ba55d3','value':'MixedCharge'}, }; // 车场位置类型 export const AssetParkingPlacesLocationTypeEnum = { - 'GroundParking': {"text":"地面车场","color":"#ffa500","value":"GroundParking"}, - 'UndergroundParking': {"text":"地下车场","color":"#4682b4","value":"UndergroundParking"}, + 'GroundParking': {'text':'地面车场','color':'#ffa500','value':'GroundParking'}, + 'UndergroundParking': {'text':'地下车场','color':'#4682b4','value':'UndergroundParking'}, }; // 车场产权类型 export const AssetParkingPlacesPropertyTypeEnum = { - 'DispersedOwnership': {"text":"分散产权","color":"#ff7f50","value":"DispersedOwnership"}, - 'SingleOwnership': {"text":"单一产权","color":"#1e90ff","value":"SingleOwnership"}, - 'SharedOwnership': {"text":"共有产权","color":"#32cd32","value":"SharedOwnership"}, + 'DispersedOwnership': {'text':'分散产权','color':'#ff7f50','value':'DispersedOwnership'}, + 'SingleOwnership': {'text':'单一产权','color':'#1e90ff','value':'SingleOwnership'}, + 'SharedOwnership': {'text':'共有产权','color':'#32cd32','value':'SharedOwnership'}, }; // 车场类型 export const AssetParkingPlacesTypeEnum = { - 'ResidentialSupporting': {"text":"住宅配套车场","color":"#ff8c00","value":"ResidentialSupporting"}, - 'Commercial': {"text":"商业车场","color":"#1e90ff","value":"Commercial"}, - 'Mixed': {"text":"混合车场","color":"#32cd32","value":"Mixed"}, + 'ResidentialSupporting': {'text':'住宅配套车场','color':'#ff8c00','value':'ResidentialSupporting'}, + 'Commercial': {'text':'商业车场','color':'#1e90ff','value':'Commercial'}, + 'Mixed': {'text':'混合车场','color':'#32cd32','value':'Mixed'}, }; // AssetProjectsChargeEnum export const AssetProjectsChargeEnum = { - 'Contract': {"text":"包干制","color":"#007bff","value":"Contract"}, - 'Commission': {"text":"酬金制","color":"#28a745","value":"Commission"}, + 'Contract': {'text':'包干制','color':'#007bff','value':'Contract'}, + 'Commission': {'text':'酬金制','color':'#28a745','value':'Commission'}, }; // AssetProjectsEntrustTypeEnum export const AssetProjectsEntrustTypeEnum = { - 'DeveloperJointEntrust': {"text":"开发商全委","color":"#007bff","value":"DeveloperJointEntrust"}, - 'OwnersFullEntrust': {"text":"业委会全委","color":"#28a745","value":"OwnersFullEntrust"}, - 'GovernmentFullEntrust': {"text":"政府类全委","color":"#ffc107","value":"GovernmentFullEntrust"}, + 'DeveloperJointEntrust': {'text':'开发商全委','color':'#007bff','value':'DeveloperJointEntrust'}, + 'OwnersFullEntrust': {'text':'业委会全委','color':'#28a745','value':'OwnersFullEntrust'}, + 'GovernmentFullEntrust': {'text':'政府类全委','color':'#ffc107','value':'GovernmentFullEntrust'}, }; // 业权类型 export const AssetProjectsOwnershipTypeEnum = { - 'SingleOwnership': {"text":"单业权","color":"#00cc66","value":"SingleOwnership"}, - 'MultipleOwnership': {"text":"多业权","color":"#0099ff","value":"MultipleOwnership"}, + 'SingleOwnership': {'text':'单业权','color':'#00cc66','value':'SingleOwnership'}, + 'MultipleOwnership': {'text':'多业权','color':'#0099ff','value':'MultipleOwnership'}, }; // AssetProjectsPropertyTypeEnum export const AssetProjectsPropertyTypeEnum = { - 'Residence': {"text":"住宅","color":"#ff0000","value":"Residence"}, - 'Commercial': {"text":"商业","color":"#ff6600","value":"Commercial"}, - 'Office': {"text":"办公","color":"#ffcc00","value":"Office"}, - 'IndustrialPark': {"text":"产业园","color":"#00cc66","value":"IndustrialPark"}, - 'Complex': {"text":"综合体","color":"#0099ff","value":"Complex"}, - 'Municipal': {"text":"市政设施","color":"#6633cc","value":"Municipal"}, - 'Venue': {"text":"场馆","color":"#9966ff","value":"Venue"}, - 'Education': {"text":"教育","color":"#339999","value":"Education"}, - 'Medical': {"text":"医疗","color":"#cc3366","value":"Medical"}, + 'Residence': {'text':'住宅','color':'#ff0000','value':'Residence'}, + 'Commercial': {'text':'商业','color':'#ff6600','value':'Commercial'}, + 'Office': {'text':'办公','color':'#ffcc00','value':'Office'}, + 'IndustrialPark': {'text':'产业园','color':'#00cc66','value':'IndustrialPark'}, + 'Complex': {'text':'综合体','color':'#0099ff','value':'Complex'}, + 'Municipal': {'text':'市政设施','color':'#6633cc','value':'Municipal'}, + 'Venue': {'text':'场馆','color':'#9966ff','value':'Venue'}, + 'Education': {'text':'教育','color':'#339999','value':'Education'}, + 'Medical': {'text':'医疗','color':'#cc3366','value':'Medical'}, }; // AssetProjectsStatusEnum export const AssetProjectsStatusEnum = { - 'SignedNotDelivered': {"text":"签约未交付","color":"#6c757d","value":"SignedNotDelivered"}, - 'RollingDevelopment': {"text":"滚动开发","color":"#007bff","value":"RollingDevelopment"}, - 'ManagedAndClosed': {"text":"在管封园","color":"#ffc107","value":"ManagedAndClosed"}, - 'Exited': {"text":"退出","color":"#dc3545","value":"Exited"}, + 'SignedNotDelivered': {'text':'签约未交付','color':'#6c757d','value':'SignedNotDelivered'}, + 'RollingDevelopment': {'text':'滚动开发','color':'#007bff','value':'RollingDevelopment'}, + 'ManagedAndClosed': {'text':'在管封园','color':'#ffc107','value':'ManagedAndClosed'}, + 'Exited': {'text':'退出','color':'#dc3545','value':'Exited'}, }; // AssetUnitsBuildingStructureEnum export const AssetUnitsBuildingStructureEnum = { - 'SteelConcrete': {"text":"钢混","color":"#007bff","value":"SteelConcrete"}, - 'SteelStructure': {"text":"钢结构","color":"#28a745","value":"SteelStructure"}, - 'BrickConcrete': {"text":"砖混","color":"#ffc107","value":"BrickConcrete"}, - 'BrickWood': {"text":"砖木","color":"#dc3545","value":"BrickWood"}, + 'SteelConcrete': {'text':'钢混','color':'#007bff','value':'SteelConcrete'}, + 'SteelStructure': {'text':'钢结构','color':'#28a745','value':'SteelStructure'}, + 'BrickConcrete': {'text':'砖混','color':'#ffc107','value':'BrickConcrete'}, + 'BrickWood': {'text':'砖木','color':'#dc3545','value':'BrickWood'}, }; // AssetUnitsBuildingTypeEnum export const AssetUnitsBuildingTypeEnum = { - 'SlabAndTower': {"text":"板塔结合","color":"#007bff","value":"SlabAndTower"}, - 'Slab': {"text":"板楼","color":"#28a745","value":"Slab"}, - 'Tower': {"text":"塔楼","color":"#ffc107","value":"Tower"}, + 'SlabAndTower': {'text':'板塔结合','color':'#007bff','value':'SlabAndTower'}, + 'Slab': {'text':'板楼','color':'#28a745','value':'Slab'}, + 'Tower': {'text':'塔楼','color':'#ffc107','value':'Tower'}, +}; + +// AttendanceRecordsCheckinTypeEnum +export const AttendanceRecordsCheckinTypeEnum = { + 'CheckIn': {'text':'上班','color':'#1890ff','value':'CheckIn'}, + 'CheckOut': {'text':'下班','color':'#52c41a','value':'CheckOut'}, +}; + +// AttendanceRecordsStatusEnum +export const AttendanceRecordsStatusEnum = { + 'Normal': {'text':'正常','color':'#52c41a','value':'Normal'}, + 'Late': {'text':'迟到','color':'#faad14','value':'Late'}, + 'EarlyLeave': {'text':'早退','color':'#fa8c16','value':'EarlyLeave'}, + 'OutOfRange': {'text':'范围外','color':'#ff4d4f','value':'OutOfRange'}, + 'Reissue': {'text':'补卡','color':'#1890ff','value':'Reissue'}, +}; + +// AttendanceSchedulesStatusEnum +export const AttendanceSchedulesStatusEnum = { + 'Pending': {'text':'待生效','color':'#faad14','value':'Pending'}, + 'Active': {'text':'生效中','color':'#52c41a','value':'Active'}, + 'Cancelled': {'text':'已取消','color':'#ff4d4f','value':'Cancelled'}, +}; + +// 打卡状态枚举 +export const AttendanceStatusEnum = { + 'Normal': {'text':'正常','color':'#52c41a','value':'Normal'}, + 'Late': {'text':'迟到','color':'#faad14','value':'Late'}, + 'Early': {'text':'早退','color':'#faad14','value':'Early'}, + 'OutOfRange': {'text':'范围外','color':'#ff4d4f','value':'OutOfRange'}, + 'MakeUp': {'text':'补卡','color':'#722ed1','value':'MakeUp'}, }; // BannerSpacesTypeEnum export const BannerSpacesTypeEnum = { - 'Popup': {"text":"弹窗","color":"#ff0000","value":"Popup"}, - 'Banner': {"text":"横幅广告","color":"#00ff00","value":"Banner"}, - 'FloatingButton': {"text":"悬浮按钮","color":"#0000ff","value":"FloatingButton"}, + 'Popup': {'text':'弹窗','color':'#ff0000','value':'Popup'}, + 'Banner': {'text':'横幅广告','color':'#00ff00','value':'Banner'}, + 'FloatingButton': {'text':'悬浮按钮','color':'#0000ff','value':'FloatingButton'}, }; // BannersRedirectTypeEnum export const BannersRedirectTypeEnum = { - 'InnerPage': {"text":"跳内页","color":"#ff0000","value":"InnerPage"}, - 'H5': {"text":"跳H5","color":"#00ff00","value":"H5"}, - 'MiniProgramHome': {"text":"跳小程序首屏","color":"#0000ff","value":"MiniProgramHome"}, - 'AnotherMiniProgram': {"text":"跳另一个小程序","color":"#ffa500","value":"AnotherMiniProgram"}, + 'InnerPage': {'text':'跳内页','color':'#ff0000','value':'InnerPage'}, + 'H5': {'text':'跳H5','color':'#00ff00','value':'H5'}, + 'MiniProgramHome': {'text':'跳小程序首屏','color':'#0000ff','value':'MiniProgramHome'}, + 'AnotherMiniProgram': {'text':'跳另一个小程序','color':'#ffa500','value':'AnotherMiniProgram'}, }; // BannersTypeEnum export const BannersTypeEnum = { - 'Image': {"text":"图片","color":"#ff0000","value":"Image"}, - 'Video': {"text":"视频","color":"#00ff00","value":"Video"}, - 'Text': {"text":"文本","color":"#0000ff","value":"Text"}, + 'Image': {'text':'图片','color':'#ff0000','value':'Image'}, + 'Video': {'text':'视频','color':'#00ff00','value':'Video'}, + 'Text': {'text':'文本','color':'#0000ff','value':'Text'}, }; // 缓存类型 export const CacheTypeEnum = { - 'MobilePhoneVerificationCode': {"text":"手机验证码","color":"#1fa005","value":"MobilePhoneVerificationCode"}, + 'MobilePhoneVerificationCode': {'text':'手机验证码','color':'#78b93d','value':'MobilePhoneVerificationCode'}, }; // CompaniesMerchantTypeEnum export const CompaniesMerchantTypeEnum = { - 'PropertyManagement': {"text":"物业公司","color":"#007bff","value":"PropertyManagement"}, - 'ServiceProvider': {"text":"服务商","color":"#28a745","value":"ServiceProvider"}, + 'PropertyManagement': {'text':'物业公司','color':'#007bff','value':'PropertyManagement'}, + 'ServiceProvider': {'text':'服务商','color':'#28a745','value':'ServiceProvider'}, }; // CompanyAppsAppTypeEnum export const CompanyAppsAppTypeEnum = { - 'MiniProgram': {"text":"微信小程序","color":"#3b82f6","value":"MiniProgram"}, - 'MpOfficial': {"text":"微信公众号","color":"#22c55e","value":"MpOfficial"}, - 'WorkWechat': {"text":"企业微信","color":"#6366f1","value":"WorkWechat"}, + 'MiniProgram': {'text':'微信小程序','color':'#3b82f6','value':'MiniProgram'}, + 'MpOfficial': {'text':'微信公众号','color':'#22c55e','value':'MpOfficial'}, + 'WorkWechat': {'text':'企业微信','color':'#6366f1','value':'WorkWechat'}, }; // CompanyAppsModuleEnum export const CompanyAppsModuleEnum = { - 'Employee': {"text":"员工端","color":"#3b82f6","value":"Employee"}, - 'Customer': {"text":"客户端","color":"#10b981","value":"Customer"}, + 'Employee': {'text':'员工端','color':'#3b82f6','value':'Employee'}, + 'Customer': {'text':'客户端','color':'#10b981','value':'Customer'}, }; // CompanyAppsWorkTypeEnum export const CompanyAppsWorkTypeEnum = { - 'WorkWechatApp': {"text":"企微应用","color":"#00c853","value":"WorkWechatApp"}, - 'WorkWechat': {"text":"企微","color":"#0091ea","value":"WorkWechat"}, + 'WorkWechatApp': {'text':'企微应用','color':'#00c853','value':'WorkWechatApp'}, + 'WorkWechat': {'text':'企微','color':'#0091ea','value':'WorkWechat'}, }; // CompanyConfigsConfigKeyEnum export const CompanyConfigsConfigKeyEnum = { - 'Theme': {"text":"主题色","color":"#3b82f6","value":"Theme"}, + 'Theme': {'text':'主题色','color':'#3b82f6','value':'Theme'}, }; // CompanyEmployeeBacklogsStatusEnum export const CompanyEmployeeBacklogsStatusEnum = { - 'Pending': {"text":"待办","color":"#FF6600","value":"Pending"}, - 'Completed': {"text":"已办","color":"#2A82E4","value":"Completed"}, + 'Pending': {'text':'待办','color':'#FF6600','value':'Pending'}, + 'Completed': {'text':'已办','color':'#2A82E4','value':'Completed'}, }; // CompanyEmployeeBacklogsTypeEnum export const CompanyEmployeeBacklogsTypeEnum = { - 'WorkOrder': {"text":"工单","color":"#FF6600","value":"WorkOrder"}, - 'Contract': {"text":"合同","color":"#2A82E4","value":"Contract"}, - 'MomentTask': {"text":"朋友圈任务","color":"#FF6600","value":"MomentTask"}, + 'WorkOrder': {'text':'工单','color':'#FF6600','value':'WorkOrder'}, + 'Contract': {'text':'合同','color':'#2A82E4','value':'Contract'}, + 'MomentTask': {'text':'朋友圈任务','color':'#FF6600','value':'MomentTask'}, +}; + +// CompanyEmployeesTypeEnum +export const CompanyEmployeesTypeEnum = { + 'Staff': {'text':'员工','color':'#1890ff','value':'Staff'}, + 'WeCom': {'text':'企微','color':'#2196f3','value':'WeCom'}, + 'External': {'text':'外部','color':'#4caf50','value':'External'}, }; // CompanyReceiptAccountsPayChannelEnum export const CompanyReceiptAccountsPayChannelEnum = { - 'WeChat': {"text":"微信","color":"#07c160","value":"WeChat"}, - 'Alipay': {"text":"支付宝","color":"#1677ff","value":"Alipay"}, - 'BankTransfer': {"text":"银行转账","color":"#6c757d","value":"BankTransfer"}, - 'TongLian': {"text":"通联支付","color":"#ff9f0a","value":"TongLian"}, + 'WeChat': {'text':'微信','color':'#07c160','value':'WeChat'}, + 'Alipay': {'text':'支付宝','color':'#1677ff','value':'Alipay'}, + 'BankTransfer': {'text':'银行转账','color':'#6c757d','value':'BankTransfer'}, + 'TongLian': {'text':'通联支付','color':'#ff9f0a','value':'TongLian'}, + 'CCB': {'text':'建行惠市宝','color':'#003da5','value':'CCB'}, +}; + +// 公司印章类型枚举 +export const CompanySealsTypeEnum = { + 'OfficialSeal': {'text':'公章','color':'#007bff','value':'OfficialSeal'}, + 'FinanceSeal': {'text':'财务专用章','color':'#28a745','value':'FinanceSeal'}, + 'ContractSeal': {'text':'合同专用章','color':'#17a2b8','value':'ContractSeal'}, + 'LegalRepresentativeSeal': {'text':'法定代表人章','color':'#ffc107','value':'LegalRepresentativeSeal'}, + 'InvoiceSeal': {'text':'发票专用章','color':'#dc3545','value':'InvoiceSeal'}, + 'HRSeal': {'text':'人事专用章','color':'#6f42c1','value':'HRSeal'}, +}; + +// CompanySuppliersCertificateTypeEnum +export const CompanySuppliersCertificateTypeEnum = { + 'IdCard': {'text':'身份证','color':'#1e90ff','value':'IdCard'}, + 'BusinessLicense': {'text':'营业执照','color':'#32cd32','value':'BusinessLicense'}, +}; + +// CompanySuppliersCounterpartyEnum +export const CompanySuppliersCounterpartyEnum = { + 'Supplier': {'text':'供应商','color':'#1e90ff','value':'Supplier'}, + 'InternalCompany': {'text':'内部企业','color':'#32cd32','value':'InternalCompany'}, + 'CustomerCompany': {'text':'客户单位','color':'#ff8c00','value':'CustomerCompany'}, + 'Other': {'text':'其他','color':'#808080','value':'Other'}, +}; + +// CompanySuppliersGradeEnum +export const CompanySuppliersGradeEnum = { + 'Excellent': {'text':'优秀','color':'#10b981','value':'Excellent'}, + 'Qualified': {'text':'合格','color':'#3b82f6','value':'Qualified'}, + 'ToImprove': {'text':'待整改','color':'#f59e0b','value':'ToImprove'}, + 'Eliminated': {'text':'淘汰','color':'#ef4444','value':'Eliminated'}, +}; + +// CompanySuppliersSupplierTypeEnum +export const CompanySuppliersSupplierTypeEnum = { + 'Individual': {'text':'个人','color':'#1e90ff','value':'Individual'}, + 'Enterprise': {'text':'企业','color':'#32cd32','value':'Enterprise'}, +}; + +// 合同归档借用状态枚举 +export const ContractArchiveBorrowStatusEnum = { + 'Pending': {'text':'审批中','color':'#f59e0b','value':'Pending'}, + 'Approved': {'text':'已通过','color':'#10b981','value':'Approved'}, + 'Rejected': {'text':'已驳回','color':'#ef4444','value':'Rejected'}, + 'Borrowing': {'text':'借用中','color':'#007bff','value':'Borrowing'}, + 'Returned': {'text':'已归还','color':'#28a745','value':'Returned'}, + 'Overdue': {'text':'已逾期','color':'#dc3545','value':'Overdue'}, +}; + +// 合同归档文件归还状态枚举 +export const ContractArchiveFileReturnStatusEnum = { + 'NotReturned': {'text':'未归还','color':'#6c757d','value':'NotReturned'}, + 'Intact': {'text':'完好','color':'#28a745','value':'Intact'}, + 'PartialLost': {'text':'部分遗失','color':'#ffc107','value':'PartialLost'}, + 'AllLost': {'text':'全部遗失','color':'#dc3545','value':'AllLost'}, + 'AllDamaged': {'text':'全部损毁','color':'#dc3545','value':'AllDamaged'}, + 'PartialDamaged': {'text':'部分损毁','color':'#fd7e14','value':'PartialDamaged'}, + 'NoNeedReturn': {'text':'无需归还','color':'#17a2b8','value':'NoNeedReturn'}, +}; + +// 合同归档归还状态枚举 +export const ContractArchiveReturnStatusEnum = { + 'NotReturned': {'text':'未归还','color':'#6c757d','value':'NotReturned'}, + 'Returned': {'text':'已归还','color':'#28a745','value':'Returned'}, +}; + +// ContractArchivesConfidentialityLevelEnum +export const ContractArchivesConfidentialityLevelEnum = { + 'TopSecret': {'text':'绝密','color':'#dc3545','value':'TopSecret'}, + 'Confidential': {'text':'机密','color':'#fd7e14','value':'Confidential'}, + 'Secret': {'text':'保密','color':'#ffc107','value':'Secret'}, + 'Internal': {'text':'内部公开','color':'#17a2b8','value':'Internal'}, + 'Public': {'text':'公开','color':'#28a745','value':'Public'}, +}; + +// ContractArchivesFileStatusEnum +export const ContractArchivesFileStatusEnum = { + 'Intact': {'text':'完好','color':'#28a745','value':'Intact'}, + 'SlightDamage': {'text':'轻度损伤','color':'#ffc107','value':'SlightDamage'}, + 'ModerateDamage': {'text':'中度损伤','color':'#fd7e14','value':'ModerateDamage'}, + 'SevereDamage': {'text':'重度损伤','color':'#dc3545','value':'SevereDamage'}, +}; + +// ContractArchivesFileTypeEnum +export const ContractArchivesFileTypeEnum = { + 'PaperOriginal': {'text':'纸质原件','color':'#007bff','value':'PaperOriginal'}, + 'ElectronicOriginal': {'text':'电子原件','color':'#28a745','value':'ElectronicOriginal'}, + 'Copy': {'text':'复印件','color':'#ffc107','value':'Copy'}, +}; + +// ContractArchivesPeriodTypeEnum +export const ContractArchivesPeriodTypeEnum = { + 'FixedTerm': {'text':'定期','color':'#007bff','value':'FixedTerm'}, + 'Permanent': {'text':'永久','color':'#28a745','value':'Permanent'}, +}; + +// ContractBillObjectsAuditStatusEnum +export const ContractBillObjectsAuditStatusEnum = { + 'Pending': {'text':'审批中','color':'#f59e0b','value':'Pending'}, + 'Approved': {'text':'已通过','color':'#10b981','value':'Approved'}, + 'Rejected': {'text':'已驳回','color':'#ef4444','value':'Rejected'}, +}; + +// ContractBillObjectsStatusEnum +export const ContractBillObjectsStatusEnum = { + 'Pending': {'text':'待执行','color':'#6c757d','value':'Pending'}, + 'InProgress': {'text':'执行中','color':'#007bff','value':'InProgress'}, + 'Completed': {'text':'已完成','color':'#28a745','value':'Completed'}, + 'Cancelled': {'text':'已取消','color':'#dc3545','value':'Cancelled'}, +}; + +// ContractBillPaymentsStatusEnum +export const ContractBillPaymentsStatusEnum = { + 'Pending': {'text':'待审','color':'#faad14','value':'Pending'}, + 'Approved': {'text':'已审','color':'#52c41a','value':'Approved'}, + 'Rejected': {'text':'驳回','color':'#f5222d','value':'Rejected'}, +}; + +// ContractBillsAuditStatusEnum +export const ContractBillsAuditStatusEnum = { + 'NotApplied': {'text':'未申请','color':'#9ca3af','value':'NotApplied'}, + 'Pending': {'text':'审批中','color':'#f59e0b','value':'Pending'}, + 'Approved': {'text':'已通过','color':'#10b981','value':'Approved'}, + 'Rejected': {'text':'已驳回','color':'#ef4444','value':'Rejected'}, +}; + +// ContractBillsCostTypeEnum +export const ContractBillsCostTypeEnum = { + 'Income': {'text':'收入','color':'#52c41a','value':'Income'}, + 'Expense': {'text':'支出','color':'#f5222d','value':'Expense'}, +}; + +// ContractBillsIncomeExpenseTypeEnum +export const ContractBillsIncomeExpenseTypeEnum = { + 'Increase': {'text':'增加','color':'#10b981','value':'Increase'}, + 'Decrease': {'text':'减少','color':'#ef4444','value':'Decrease'}, + 'Neutral': {'text':'不变','color':'#9ca3af','value':'Neutral'}, +}; + +// ContractOthersStatusEnum +export const ContractOthersStatusEnum = { + 'Pending': {'text':'审批中','color':'#f59e0b','value':'Pending'}, + 'Approved': {'text':'已通过','color':'#10b981','value':'Approved'}, + 'Rejected': {'text':'已驳回','color':'#ef4444','value':'Rejected'}, +}; + +// ContractPeoplesSignPartyEnum +export const ContractPeoplesSignPartyEnum = { + 'PartyA': {'text':'甲方','color':'#007bff','value':'PartyA'}, + 'PartyB': {'text':'乙方','color':'#28a745','value':'PartyB'}, + 'PartyC': {'text':'丙方','color':'#ffc107','value':'PartyC'}, + 'PartyD': {'text':'丁方','color':'#dc3545','value':'PartyD'}, +}; + +// ContractTemplatesIncomeExpenseTypeEnum +export const ContractTemplatesIncomeExpenseTypeEnum = { + 'Income': {'text':'收入类','color':'#32cd32','value':'Income'}, + 'Expense': {'text':'支出类','color':'#ff4500','value':'Expense'}, + 'None': {'text':'无收无支','color':'#808080','value':'None'}, +}; + +// ContractTemplatesSourceEnum +export const ContractTemplatesSourceEnum = { + 'Internal': {'text':'内部','color':'#1e90ff','value':'Internal'}, + 'External': {'text':'外部','color':'#32cd32','value':'External'}, +}; + +// ContractsContractNatureEnum +export const ContractsContractNatureEnum = { + 'RegularContract': {'text':'常规合同','color':'#007bff','value':'RegularContract'}, + 'FrameworkAgreement': {'text':'框架协议','color':'#28a745','value':'FrameworkAgreement'}, + 'Other': {'text':'其它','color':'#28a745','value':'Other'}, +}; + +// ContractsSettlementModeEnum +export const ContractsSettlementModeEnum = { + 'LumpSumContract': {'text':'总价合同','color':'#007bff','value':'LumpSumContract'}, + 'OpenContract': {'text':'开口合同','color':'#28a745','value':'OpenContract'}, +}; + +// ContractsStatusEnum +export const ContractsStatusEnum = { + 'TemporaryStorage': {'text':'暂存','color':'#6c757d','value':'TemporaryStorage'}, + 'UnderApproval': {'text':'审核中','color':'#007bff','value':'UnderApproval'}, + 'Approved': {'text':'已通过','color':'#28a745','value':'Approved'}, + 'Rejected': {'text':'已退回','color':'#dc3545','value':'Rejected'}, + 'Signed': {'text':'已签约','color':'#17a2b8','value':'Signed'}, + 'Archived': {'text':'已归档','color':'#20c997','value':'Archived'}, + 'Terminating': {'text':'解除中','color':'#ffc107','value':'Terminating'}, + 'Terminated': {'text':'已解除','color':'#fd7e14','value':'Terminated'}, + 'Closed': {'text':'已终止','color':'#343a40','value':'Closed'}, + 'Voided': {'text':'已撤销','color':'#6610f2','value':'Voided'}, + 'Cancelled': {'text':'已取消','color':'#e83e8c','value':'Cancelled'}, }; // ConvenienceServicesTypeEnum export const ConvenienceServicesTypeEnum = { - 'PropertyExclusive': {"text":"物业专属","color":"#8b5cf6","value":"PropertyExclusive"}, - 'EmergencyRepair': {"text":"紧急抢修","color":"#ef4444","value":"EmergencyRepair"}, - 'LifeService': {"text":"生活服务","color":"#3b82f6","value":"LifeService"}, - 'GovernmentConsulting': {"text":"政务咨询","color":"#10b981","value":"GovernmentConsulting"}, + 'PropertyExclusive': {'text':'物业专属','color':'#8b5cf6','value':'PropertyExclusive'}, + 'EmergencyRepair': {'text':'紧急抢修','color':'#ef4444','value':'EmergencyRepair'}, + 'LifeService': {'text':'生活服务','color':'#3b82f6','value':'LifeService'}, + 'GovernmentConsulting': {'text':'政务咨询','color':'#10b981','value':'GovernmentConsulting'}, }; // CustomerBacklogsStatusEnum export const CustomerBacklogsStatusEnum = { - 'Pending': {"text":"待办","color":"#faad14","value":"Pending"}, - 'Completed': {"text":"已办","color":"#2A82E4","value":"Completed"}, + 'Pending': {'text':'待办','color':'#faad14','value':'Pending'}, + 'Completed': {'text':'已办','color':'#2A82E4','value':'Completed'}, }; // CustomerBacklogsTypeEnum export const CustomerBacklogsTypeEnum = { - 'RegisterApply': {"text":"登记申请","color":"#2db7f5","value":"RegisterApply"}, - 'PaymentPending': {"text":"费用待缴","color":"#faad14","value":"PaymentPending"}, - 'ContractTodo': {"text":"合同待办","color":"#722ed1","value":"ContractTodo"}, + 'RegisterApply': {'text':'登记申请','color':'#2db7f5','value':'RegisterApply'}, + 'PaymentPending': {'text':'费用待缴','color':'#faad14','value':'PaymentPending'}, + 'ContractTodo': {'text':'合同待办','color':'#722ed1','value':'ContractTodo'}, }; // CustomerMomentTasksStatusEnum export const CustomerMomentTasksStatusEnum = { - 'NotSent': {"text":"未发","color":"#FF4500","value":"NotSent"}, - 'Sent': {"text":"已发","color":"#32CD32","value":"Sent"}, + 'NotSent': {'text':'未发','color':'#FF4500','value':'NotSent'}, + 'Sent': {'text':'已发','color':'#32CD32','value':'Sent'}, }; // CustomerMomentsChannelEnum export const CustomerMomentsChannelEnum = { - 'MomentCorp': {"text":"朋友圈(企业)","color":"#1E90FF","value":"MomentCorp"}, - 'CustomerDirectCorp': {"text":"客户1对1消息群发(企业)","color":"#FFA500","value":"CustomerDirectCorp"}, - 'CustomerGroupCorp': {"text":"客户群群发(企业)","color":"#FF69B4","value":"CustomerGroupCorp"}, + 'MomentCorp': {'text':'朋友圈(企业)','color':'#1E90FF','value':'MomentCorp'}, + 'CustomerDirectCorp': {'text':'客户1对1消息群发(企业)','color':'#FFA500','value':'CustomerDirectCorp'}, + 'CustomerGroupCorp': {'text':'客户群群发(企业)','color':'#FF69B4','value':'CustomerGroupCorp'}, }; // CustomerMomentsContentTypeEnum export const CustomerMomentsContentTypeEnum = { - 'Image': {"text":"图片消息","color":"#1E90FF","value":"Image"}, - 'Link': {"text":"转载链接消息","color":"#32CD32","value":"Link"}, - 'MiniProgram': {"text":"跳小程序","color":"#FFA500","value":"MiniProgram"}, - 'Video': {"text":"视频消息","color":"#FF69B4","value":"Video"}, + 'Image': {'text':'图片消息','color':'#1E90FF','value':'Image'}, + 'Link': {'text':'转载链接消息','color':'#32CD32','value':'Link'}, + 'MiniProgram': {'text':'跳小程序','color':'#FFA500','value':'MiniProgram'}, + 'Video': {'text':'视频消息','color':'#FF69B4','value':'Video'}, }; // CustomerMomentsPushStatusEnum export const CustomerMomentsPushStatusEnum = { - 'NotPushed': {"text":"未推送","color":"#FF4500","value":"NotPushed"}, - 'Pushed': {"text":"已推送","color":"#32CD32","value":"Pushed"}, + 'NotPushed': {'text':'未推送','color':'#FF4500','value':'NotPushed'}, + 'Pushed': {'text':'已推送','color':'#32CD32','value':'Pushed'}, }; // CustomerMomentsPushTypeEnum export const CustomerMomentsPushTypeEnum = { - 'ManualPush': {"text":"手动推送","color":"#1E90FF","value":"ManualPush"}, - 'ScheduledPush': {"text":"定时推送","color":"#32CD32","value":"ScheduledPush"}, + 'ManualPush': {'text':'手动推送','color':'#1E90FF','value':'ManualPush'}, + 'ScheduledPush': {'text':'定时推送','color':'#32CD32','value':'ScheduledPush'}, }; // CustomerMomentsRangeTypeEnum export const CustomerMomentsRangeTypeEnum = { - 'Project': {"text":"按项目推送","color":"#1E90FF","value":"Project"}, + 'Project': {'text':'按项目推送','color':'#1E90FF','value':'Project'}, }; // CustomerMomentsSkipTypeEnum export const CustomerMomentsSkipTypeEnum = { - 'H5': {"text":"H5","color":"#1E90FF","value":"H5"}, + 'H5': {'text':'H5','color':'#1E90FF','value':'H5'}, }; // CustomerMomentsTaskEndTypeEnum export const CustomerMomentsTaskEndTypeEnum = { - 'AfterNDays': {"text":"发送后N天","color":"#1E90FF","value":"AfterNDays"}, - 'ScheduledEnd': {"text":"定时结束","color":"#32CD32","value":"ScheduledEnd"}, + 'AfterNDays': {'text':'发送后N天','color':'#1E90FF','value':'AfterNDays'}, + 'ScheduledEnd': {'text':'定时结束','color':'#32CD32','value':'ScheduledEnd'}, }; // CustomerOpinionsTypeEnum export const CustomerOpinionsTypeEnum = { - 'FeatureException': {"text":"功能异常","color":"#ff0000","value":"FeatureException"}, - 'FeatureSuggestion': {"text":"新功能建议","color":"#00bfff","value":"FeatureSuggestion"}, + 'FeatureException': {'text':'功能异常','color':'#ff0000','value':'FeatureException'}, + 'FeatureSuggestion': {'text':'新功能建议','color':'#00bfff','value':'FeatureSuggestion'}, +}; + +// 突发事件账单收支类型 +export const EmergencyEventBillsCostTypeEnum = { + 'Income': {'text':'收入','color':'#4caf50','value':'Income'}, + 'Expense': {'text':'支出','color':'#f44336','value':'Expense'}, +}; + +// 突发事件账单费用类型 +export const EmergencyEventBillsFeeTypeEnum = { + 'Compensation': {'text':'赔偿','color':'#f44336','value':'Compensation'}, + 'Penalty': {'text':'罚款','color':'#ff9800','value':'Penalty'}, +}; + +// 突发事件账单支付方式 +export const EmergencyEventBillsPaymentMethodEnum = { + 'WeChat': {'text':'微信支付','color':'#07c160','value':'WeChat'}, + 'Alipay': {'text':'支付宝','color':'#1677ff','value':'Alipay'}, + 'BankTransfer': {'text':'银行转账','color':'#2196f3','value':'BankTransfer'}, + 'TongLian': {'text':'通联支付','color':'#ff9800','value':'TongLian'}, + 'Prepayment': {'text':'预付款','color':'#9c27b0','value':'Prepayment'}, + 'POS': {'text':'POS机','color':'#607d8b','value':'POS'}, + 'Cash': {'text':'现金','color':'#4caf50','value':'Cash'}, +}; + +// 突发事件账单支付状态 +export const EmergencyEventBillsPaymentStatusEnum = { + 'Pending': {'text':'待支付','color':'#ff9800','value':'Pending'}, + 'ToBeConfirmed': {'text':'待确认','color':'#2196f3','value':'ToBeConfirmed'}, + 'Paid': {'text':'已支付','color':'#4caf50','value':'Paid'}, + 'Refunded': {'text':'已退款','color':'#9c27b0','value':'Refunded'}, + 'Cancelled': {'text':'已取消','color':'#9e9e9e','value':'Cancelled'}, + 'Failed': {'text':'支付失败','color':'#f44336','value':'Failed'}, +}; + +// 突发事件审核状态 +export const EmergencyEventsAuditStatusEnum = { + 'Pending': {'text':'待审','color':'#ff9800','value':'Pending'}, + 'Approved': {'text':'通过','color':'#4caf50','value':'Approved'}, + 'Rejected': {'text':'驳回','color':'#f44336','value':'Rejected'}, +}; + +// 突发事件赔偿类型 +export const EmergencyEventsCompensationTypeEnum = { + 'Ours': {'text':'我方','color':'#2196f3','value':'Ours'}, + 'Others': {'text':'他方','color':'#9c27b0','value':'Others'}, +}; + +// 突发事件状态 +export const EmergencyEventsStatusEnum = { + 'PendingFollowUp': {'text':'待跟进','color':'#ff9800','value':'PendingFollowUp'}, + 'InProgress': {'text':'跟进中','color':'#2196f3','value':'InProgress'}, + 'PendingReview': {'text':'待审核','color':'#9c27b0','value':'PendingReview'}, + 'Closed': {'text':'已关闭','color':'#9e9e9e','value':'Closed'}, +}; + +// 突发事件行动组成员职位 +export const EmergencyTeamMembersPositionEnum = { + 'Leader': {'text':'应急组长','color':'#f44336','value':'Leader'}, + 'Member': {'text':'现场处置员','color':'#2196f3','value':'Member'}, + 'Liaison': {'text':'信息联络员','color':'#ffeb3b','value':'Liaison'}, + 'Support': {'text':'后勤保障员','color':'#4caf50','value':'Support'}, + 'Reserve': {'text':'机动预备员','color':'#9c27b0','value':'Reserve'}, }; // 物品放行审核状态 export const GoodsReleasesAuditStatusEnum = { - 'Pending': {"text":"待审核","color":"#faad14","value":"Pending"}, - 'Approved': {"text":"已通过","color":"#52c41a","value":"Approved"}, - 'Rejected': {"text":"已退回","color":"#ff4d4f","value":"Rejected"}, + 'Pending': {'text':'待审核','color':'#faad14','value':'Pending'}, + 'Approved': {'text':'已通过','color':'#52c41a','value':'Approved'}, + 'Rejected': {'text':'已退回','color':'#ff4d4f','value':'Rejected'}, }; // 物品放行通行类型 export const GoodsReleasesPassedTypeEnum = { - 'Moving': {"text":"搬家","color":"#1890ff","value":"Moving"}, - 'Delivery': {"text":"出货","color":"#52c41a","value":"Delivery"}, - 'Other': {"text":"其他","color":"#faad14","value":"Other"}, + 'Moving': {'text':'搬家','color':'#1890ff','value':'Moving'}, + 'Delivery': {'text':'出货','color':'#52c41a','value':'Delivery'}, + 'Other': {'text':'其他','color':'#faad14','value':'Other'}, }; // 物品放行状态 export const GoodsReleasesStatusEnum = { - 'Pending': {"text":"待审核","color":"#faad14","value":"Pending"}, - 'OwnerApproved': {"text":"业主已审","color":"#1890ff","value":"OwnerApproved"}, - 'Approved': {"text":"已通过","color":"#52c41a","value":"Approved"}, - 'Rejected': {"text":"已退回","color":"#ff4d4f","value":"Rejected"}, - 'Released': {"text":"已放行","color":"#722ed1","value":"Released"}, + 'Pending': {'text':'待审核','color':'#faad14','value':'Pending'}, + 'OwnerApproved': {'text':'业主已审','color':'#1890ff','value':'OwnerApproved'}, + 'Approved': {'text':'已通过','color':'#52c41a','value':'Approved'}, + 'Rejected': {'text':'已退回','color':'#ff4d4f','value':'Rejected'}, + 'Released': {'text':'已放行','color':'#722ed1','value':'Released'}, }; // 账单状态枚举 export const HouseBillsBillStatusEnum = { - 'PendingPayment': {"text":"待支付","color":"#facc15","value":"PendingPayment"}, - 'PartiallyPaid': {"text":"部分支付","color":"#60a5fa","value":"PartiallyPaid"}, - 'Paid': {"text":"已支付","color":"#10b981","value":"Paid"}, - 'Overdue': {"text":"已逾期","color":"#ef4444","value":"Overdue"}, - 'Cancelled': {"text":"已取消","color":"#9ca3af","value":"Cancelled"}, + 'PendingPayment': {'text':'待收款','color':'#facc15','value':'PendingPayment'}, + 'ToBeConfirmed': {'text':'待确认','color':'#fb923c','value':'ToBeConfirmed'}, + 'PartiallyPaid': {'text':'部分收款','color':'#60a5fa','value':'PartiallyPaid'}, + 'Paid': {'text':'已收款','color':'#10b981','value':'Paid'}, + 'Overdue': {'text':'已逾期','color':'#ef4444','value':'Overdue'}, + 'UnderApproval': {'text':'审批中','color':'#8b5cf6','value':'UnderApproval'}, + 'Cancelled': {'text':'已取消','color':'#9ca3af','value':'Cancelled'}, }; // 房屋账单类型枚举 export const HouseBillsTypeEnum = { - 'PropertyFee': {"text":"物业费","color":"#3b82f6","value":"PropertyFee"}, - 'MaintenanceFund': {"text":"维修基金","color":"#10b981","value":"MaintenanceFund"}, - 'WaterFee': {"text":"水费","color":"#06b6d4","value":"WaterFee"}, - 'ElectricityFee': {"text":"电费","color":"#f59e0b","value":"ElectricityFee"}, - 'SharedWaterFee': {"text":"公摊水费","color":"#8b5cf6","value":"SharedWaterFee"}, - 'SharedElectricityFee': {"text":"公摊电费","color":"#ec4899","value":"SharedElectricityFee"}, - 'CarPortFee': {"text":"车位费","color":"#f59e0b","value":"CarPortFee"}, - 'WorkOrderRepairFee': {"text":"工单维修费","color":"#f97316","value":"WorkOrderRepairFee"}, + 'PropertyFee': {'text':'物业费','color':'#3b82f6','value':'PropertyFee'}, + 'MaintenanceFund': {'text':'维修基金','color':'#10b981','value':'MaintenanceFund'}, + 'WaterFee': {'text':'水费','color':'#06b6d4','value':'WaterFee'}, + 'ElectricityFee': {'text':'电费','color':'#f59e0b','value':'ElectricityFee'}, + 'SharedWaterFee': {'text':'公摊水费','color':'#8b5cf6','value':'SharedWaterFee'}, + 'SharedElectricityFee': {'text':'公摊电费','color':'#ec4899','value':'SharedElectricityFee'}, + 'CarPortFee': {'text':'车位费','color':'#f59e0b','value':'CarPortFee'}, + 'WorkOrderRepairFee': {'text':'工单维修费','color':'#f97316','value':'WorkOrderRepairFee'}, }; // HouseChargeStandardsApportionmentMethodEnum export const HouseChargeStandardsApportionmentMethodEnum = { - 'HouseCount': {"text":"房屋数分摊","color":"#3b82f6","value":"HouseCount"}, - 'AreaProportion': {"text":"房屋计费面积分摊","color":"#10b981","value":"AreaProportion"}, - 'FixedRatio': {"text":"按固定比例分摊","color":"#f59e0b","value":"FixedRatio"}, + 'HouseCount': {'text':'房屋数分摊','color':'#3b82f6','value':'HouseCount'}, + 'AreaProportion': {'text':'房屋计费面积分摊','color':'#10b981','value':'AreaProportion'}, + 'FixedRatio': {'text':'按固定比例分摊','color':'#f59e0b','value':'FixedRatio'}, }; // HouseChargeStandardsCalculationMethodEnum export const HouseChargeStandardsCalculationMethodEnum = { - 'ChargeableArea': {"text":"计费面积","color":"#3b82f6","value":"ChargeableArea"}, - 'BuiltArea': {"text":"建筑面积","color":"#10b981","value":"BuiltArea"}, - 'InsideArea': {"text":"套内面积","color":"#f59e0b","value":"InsideArea"}, - 'PerUnit': {"text":"按套","color":"#06b6d4","value":"PerUnit"}, - 'ElectricityUsage': {"text":"用电量","color":"#8b5cf6","value":"ElectricityUsage"}, - 'WaterUsage': {"text":"用水量","color":"#ec4899","value":"WaterUsage"}, + 'ChargeableArea': {'text':'计费面积','color':'#3b82f6','value':'ChargeableArea'}, + 'BuiltArea': {'text':'建筑面积','color':'#10b981','value':'BuiltArea'}, + 'InsideArea': {'text':'套内面积','color':'#f59e0b','value':'InsideArea'}, + 'PerUnit': {'text':'按套','color':'#06b6d4','value':'PerUnit'}, + 'ElectricityUsage': {'text':'用电量','color':'#8b5cf6','value':'ElectricityUsage'}, + 'WaterUsage': {'text':'用水量','color':'#ec4899','value':'WaterUsage'}, }; // HouseChargeStandardsCalculationModeEnum export const HouseChargeStandardsCalculationModeEnum = { - 'FixedAmount': {"text":"固定金额","color":"#3b82f6","value":"FixedAmount"}, - 'QuantityPrice': {"text":"数量*单价","color":"#10b981","value":"QuantityPrice"}, + 'FixedAmount': {'text':'固定金额','color':'#3b82f6','value':'FixedAmount'}, + 'QuantityPrice': {'text':'数量*单价','color':'#10b981','value':'QuantityPrice'}, }; // HouseChargeStandardsCalculationPeriodEnum export const HouseChargeStandardsCalculationPeriodEnum = { - 'PerTime': {"text":"按次","color":"#3b82f6","value":"PerTime"}, - 'PerDay': {"text":"按日","color":"#10b981","value":"PerDay"}, - 'PerMonth': {"text":"按月","color":"#f59e0b","value":"PerMonth"}, - 'PerYear': {"text":"按年","color":"#8b5cf6","value":"PerYear"}, + 'PerTime': {'text':'按次','color':'#3b82f6','value':'PerTime'}, + 'PerDay': {'text':'按日','color':'#10b981','value':'PerDay'}, + 'PerMonth': {'text':'按月','color':'#f59e0b','value':'PerMonth'}, + 'PerYear': {'text':'按年','color':'#8b5cf6','value':'PerYear'}, }; // HouseChargeStandardsPriceAlgorithmEnum export const HouseChargeStandardsPriceAlgorithmEnum = { - 'Fixed': {"text":"固定","color":"#4caf50","value":"Fixed"}, - 'Tiered': {"text":"分级价阶梯","color":"#2196f3","value":"Tiered"}, - 'Peak': {"text":"最高价阶梯","color":"#ff9800","value":"Peak"}, + 'Fixed': {'text':'固定','color':'#4caf50','value':'Fixed'}, + 'Tiered': {'text':'分级价阶梯','color':'#2196f3','value':'Tiered'}, + 'Peak': {'text':'最高价阶梯','color':'#ff9800','value':'Peak'}, }; // HouseChargeStandardsStatusEnum export const HouseChargeStandardsStatusEnum = { - 'Active': {"text":"启用","color":"#3b82f6","value":"Active"}, - 'Inactive': {"text":"禁用","color":"#ef4444","value":"Inactive"}, + 'Active': {'text':'启用','color':'#3b82f6','value':'Active'}, + 'Inactive': {'text':'禁用','color':'#ef4444','value':'Inactive'}, }; // HouseChargeStandardsTypeEnum export const HouseChargeStandardsTypeEnum = { - 'House': {"text":"房屋","color":"#3b82f6","value":"House"}, - 'Meter': {"text":"仪表","color":"#10b981","value":"Meter"}, - 'CarPort': {"text":"车位","color":"#f59e0b","value":"CarPort"}, + 'House': {'text':'房屋','color':'#3b82f6','value':'House'}, + 'Meter': {'text':'仪表','color':'#10b981','value':'Meter'}, + 'CarPort': {'text':'车位','color':'#f59e0b','value':'CarPort'}, }; // HouseChargeTaskDetailsStatusEnum export const HouseChargeTaskDetailsStatusEnum = { - 'Pending': {"text":"待处理","color":"#f59e0b","value":"Pending"}, - 'Success': {"text":"成功","color":"#22c55e","value":"Success"}, - 'Failed': {"text":"失败","color":"#ef4444","value":"Failed"}, + 'Pending': {'text':'待处理','color':'#f59e0b','value':'Pending'}, + 'Success': {'text':'成功','color':'#22c55e','value':'Success'}, + 'Failed': {'text':'失败','color':'#ef4444','value':'Failed'}, }; // HouseChargeTaskDetailsTargetTypeEnum export const HouseChargeTaskDetailsTargetTypeEnum = { - 'House': {"text":"房屋","color":"#3b82f6","value":"House"}, - 'CarPort': {"text":"车位","color":"#f59e0b","value":"CarPort"}, + 'House': {'text':'房屋','color':'#3b82f6','value':'House'}, + 'CarPort': {'text':'车位','color':'#f59e0b','value':'CarPort'}, }; // HouseChargeTasksStatusEnum export const HouseChargeTasksStatusEnum = { - 'Pending': {"text":"待执行","color":"#f59e0b","value":"Pending"}, - 'InProgress': {"text":"执行中","color":"#3b82f6","value":"InProgress"}, - 'Completed': {"text":"已完成","color":"#10b981","value":"Completed"}, - 'Failed': {"text":"失败","color":"#ef4444","value":"Failed"}, + 'Pending': {'text':'待执行','color':'#f59e0b','value':'Pending'}, + 'InProgress': {'text':'执行中','color':'#3b82f6','value':'InProgress'}, + 'Completed': {'text':'已完成','color':'#10b981','value':'Completed'}, + 'Failed': {'text':'失败','color':'#ef4444','value':'Failed'}, }; // HouseChargeTasksTypeEnum export const HouseChargeTasksTypeEnum = { - 'Scheduled': {"text":"定时创建","color":"#3b82f6","value":"Scheduled"}, - 'Manual': {"text":"手动创建","color":"#10b981","value":"Manual"}, + 'Scheduled': {'text':'定时创建','color':'#3b82f6','value':'Scheduled'}, + 'Manual': {'text':'手动创建','color':'#10b981','value':'Manual'}, }; // HouseCollectionRecordsCollectionResultEnum export const HouseCollectionRecordsCollectionResultEnum = { - 'PromiseToPay': {"text":"承诺缴费","color":"#4caf50","value":"PromiseToPay"}, - 'RefuseToPay': {"text":"拒绝缴费","color":"#f44336","value":"RefuseToPay"}, - 'NotReached': {"text":"未联系到","color":"#9e9e9e","value":"NotReached"}, - 'NeedFollowUp': {"text":"需要跟进","color":"#ff9800","value":"NeedFollowUp"}, + 'PromiseToPay': {'text':'承诺缴费','color':'#4caf50','value':'PromiseToPay'}, + 'RefuseToPay': {'text':'拒绝缴费','color':'#f44336','value':'RefuseToPay'}, + 'NotReached': {'text':'未联系到','color':'#9e9e9e','value':'NotReached'}, + 'NeedFollowUp': {'text':'需要跟进','color':'#ff9800','value':'NeedFollowUp'}, }; // HouseCollectionRecordsSmsStatusEnum export const HouseCollectionRecordsStatusEnum = { - 'NotNotified': {"text":"未通知","color":"#808080","value":"NotNotified"}, - 'Notified': {"text":"已通知","color":"#00cc00","value":"Notified"}, - 'Failed': {"text":"失败","color":"#ff0000","value":"Failed"}, + 'NotNotified': {'text':'未通知','color':'#808080','value':'NotNotified'}, + 'Notified': {'text':'已通知','color':'#00cc00','value':'Notified'}, + 'Failed': {'text':'失败','color':'#ff0000','value':'Failed'}, }; // HouseCollectionTasksChannelEnum export const HouseCollectionTasksChannelEnum = { - 'SMS': {"text":"短信","color":"#1E90FF","value":"SMS"}, - 'MiniProgram': {"text":"小程序","color":"#00BFFF","value":"MiniProgram"}, - 'OfficialAccount': {"text":"公众号","color":"#32CD32","value":"OfficialAccount"}, - 'PhoneCall': {"text":"电话催缴","color":"#FF8C00","value":"PhoneCall"}, - 'Visit': {"text":"上门催缴","color":"#8B4513","value":"Visit"}, - 'WeChat': {"text":"微信联系","color":"#20B2AA","value":"WeChat"}, - 'WrittenNotice': {"text":"书面通知","color":"#708090","value":"WrittenNotice"}, + 'SMS': {'text':'短信','color':'#1E90FF','value':'SMS'}, + 'MiniProgram': {'text':'小程序','color':'#00BFFF','value':'MiniProgram'}, + 'OfficialAccount': {'text':'公众号','color':'#32CD32','value':'OfficialAccount'}, + 'PhoneCall': {'text':'电话催缴','color':'#FF8C00','value':'PhoneCall'}, + 'Visit': {'text':'上门催缴','color':'#8B4513','value':'Visit'}, + 'WeChat': {'text':'微信联系','color':'#20B2AA','value':'WeChat'}, + 'WrittenNotice': {'text':'书面通知','color':'#708090','value':'WrittenNotice'}, }; // HouseCollectionTasksStatusEnum export const HouseCollectionTasksStatusEnum = { - 'Processing': {"text":"进行中","color":"#ffcc00","value":"Processing"}, - 'Completed': {"text":"已完成","color":"#00cc00","value":"Completed"}, - 'Failed': {"text":"失败","color":"#ff0000","value":"Failed"}, + 'Processing': {'text':'进行中','color':'#ffcc00','value':'Processing'}, + 'Completed': {'text':'已完成','color':'#00cc00','value':'Completed'}, + 'Failed': {'text':'失败','color':'#ff0000','value':'Failed'}, }; // HouseMeterReadingsOperationTypeEnum export const HouseMeterReadingsOperationTypeEnum = { - 'NormalReading': {"text":"正常抄表","color":"#4caf50","value":"NormalReading"}, - 'ResetReading': {"text":"重置读数","color":"#f44336","value":"ResetReading"}, - 'CorrectReading': {"text":"修正读数","color":"#ff9800","value":"CorrectReading"}, + 'NormalReading': {'text':'正常抄表','color':'#4caf50','value':'NormalReading'}, + 'ResetReading': {'text':'重置读数','color':'#f44336','value':'ResetReading'}, + 'CorrectReading': {'text':'修正读数','color':'#ff9800','value':'CorrectReading'}, }; // HouseMeterTasksGenerationMethodEnum export const HouseMeterTasksGenerationMethodEnum = { - 'Building': {"text":"按楼栋","color":"#4caf50","value":"Building"}, - 'Unit': {"text":"按单元","color":"#2196f3","value":"Unit"}, - 'Meter': {"text":"按仪表","color":"#ff9800","value":"Meter"}, + 'Building': {'text':'按楼栋','color':'#4caf50','value':'Building'}, + 'Unit': {'text':'按单元','color':'#2196f3','value':'Unit'}, + 'Meter': {'text':'按仪表','color':'#ff9800','value':'Meter'}, }; // HouseMetersMeterTypeEnum export const HouseMetersMeterTypeEnum = { - 'HouseMeter': {"text":"房屋表","color":"#4caf50","value":"HouseMeter"}, - 'CommonMeter': {"text":"公摊表","color":"#2196f3","value":"CommonMeter"}, + 'HouseMeter': {'text':'房屋表','color':'#4caf50','value':'HouseMeter'}, + 'CommonMeter': {'text':'公摊表','color':'#2196f3','value':'CommonMeter'}, }; // HouseMetersUsageTypeEnum export const HouseMetersUsageTypeEnum = { - 'WaterMeter': {"text":"水表","color":"#2196f3","value":"WaterMeter"}, - 'ElectricMeter': {"text":"电表","color":"#ff9800","value":"ElectricMeter"}, - 'GasMeter': {"text":"燃气表","color":"#f44336","value":"GasMeter"}, - 'HeatingMeter': {"text":"暖气表","color":"#9c27b0","value":"HeatingMeter"}, + 'WaterMeter': {'text':'水表','color':'#2196f3','value':'WaterMeter'}, + 'ElectricMeter': {'text':'电表','color':'#ff9800','value':'ElectricMeter'}, + 'GasMeter': {'text':'燃气表','color':'#f44336','value':'GasMeter'}, + 'HeatingMeter': {'text':'暖气表','color':'#9c27b0','value':'HeatingMeter'}, }; // HouseOccupantsCardTypeEnum export const HouseOccupantsCardTypeEnum = { - 'MainlandID': {"text":"中国大陆居民身份证","color":"#2db7f5","value":"MainlandID"}, - 'HKPermit': {"text":"香港来往大陆通行证(回乡证)","color":"#fa8c16","value":"HKPermit"}, - 'MOPermit': {"text":"澳门来往大陆通行证(回乡证)","color":"#faad14","value":"MOPermit"}, - 'TWPermit': {"text":"台湾来往大陆通行证(台胞证)","color":"#87d068","value":"TWPermit"}, - 'Passport': {"text":"护照","color":"#108ee9","value":"Passport"}, - 'BusinessLicense': {"text":"营业执照","color":"#f5222d","value":"BusinessLicense"}, + 'MainlandID': {'text':'中国大陆居民身份证','color':'#2db7f5','value':'MainlandID'}, + 'HKPermit': {'text':'香港来往大陆通行证(回乡证)','color':'#fa8c16','value':'HKPermit'}, + 'MOPermit': {'text':'澳门来往大陆通行证(回乡证)','color':'#faad14','value':'MOPermit'}, + 'TWPermit': {'text':'台湾来往大陆通行证(台胞证)','color':'#87d068','value':'TWPermit'}, + 'Passport': {'text':'护照','color':'#108ee9','value':'Passport'}, + 'BusinessLicense': {'text':'营业执照','color':'#f5222d','value':'BusinessLicense'}, }; // HouseOccupantsHouseRelationEnum export const HouseOccupantsHouseRelationEnum = { - 'Owner': {"text":"产权人","color":"#2db7f5","value":"Owner"}, - 'NonOwner': {"text":"非产权人","color":"#fa8c16","value":"NonOwner"}, + 'Owner': {'text':'产权人','color':'#2db7f5','value':'Owner'}, + 'NonOwner': {'text':'非产权人','color':'#fa8c16','value':'NonOwner'}, }; // HouseOccupantsRelationWithOwnerEnum export const HouseOccupantsRelationWithOwnerEnum = { - 'Self': {"text":"本人","color":"#52c41a","value":"Self"}, - 'Spouse': {"text":"配偶","color":"#2db7f5","value":"Spouse"}, - 'Children': {"text":"子女","color":"#87d068","value":"Children"}, - 'Parents': {"text":"父母","color":"#faad14","value":"Parents"}, - 'Siblings': {"text":"兄弟姐妹","color":"#fa8c16","value":"Siblings"}, - 'OtherRelatives': {"text":"其他","color":"#f5222d","value":"OtherRelatives"}, - 'PrimaryTenant': {"text":"主租客","color":"#722ed1","value":"PrimaryTenant"}, - 'Tenant': {"text":"租客","color":"#1890ff","value":"Tenant"}, + 'Self': {'text':'本人','color':'#52c41a','value':'Self'}, + 'Spouse': {'text':'配偶','color':'#2db7f5','value':'Spouse'}, + 'Children': {'text':'子女','color':'#87d068','value':'Children'}, + 'Parents': {'text':'父母','color':'#faad14','value':'Parents'}, + 'Siblings': {'text':'兄弟姐妹','color':'#fa8c16','value':'Siblings'}, + 'OtherRelatives': {'text':'其他','color':'#f5222d','value':'OtherRelatives'}, + 'PrimaryTenant': {'text':'主租客','color':'#722ed1','value':'PrimaryTenant'}, + 'Tenant': {'text':'租客','color':'#1890ff','value':'Tenant'}, }; // HouseOccupantsResidentialRelationEnum export const HouseOccupantsResidentialRelationEnum = { - 'PropertyOwner': {"text":"产权人","color":"#722ed1","value":"PropertyOwner"}, - 'Resident': {"text":"住户","color":"#2db7f5","value":"Resident"}, - 'PrimaryTenant': {"text":"主租人","color":"#87d068","value":"PrimaryTenant"}, - 'Tenant': {"text":"租客","color":"#fa8c16","value":"Tenant"}, + 'PropertyOwner': {'text':'产权人','color':'#722ed1','value':'PropertyOwner'}, + 'Resident': {'text':'住户','color':'#2db7f5','value':'Resident'}, + 'PrimaryTenant': {'text':'主租人','color':'#87d068','value':'PrimaryTenant'}, + 'Tenant': {'text':'租客','color':'#fa8c16','value':'Tenant'}, }; // HouseOccupantsStatusEnum export const HouseOccupantsStatusEnum = { - 'Normal': {"text":"绑定","color":"#52c41a","value":"Normal"}, - 'Unbound': {"text":"解绑","color":"#f5222d","value":"Unbound"}, + 'Normal': {'text':'绑定','color':'#52c41a','value':'Normal'}, + 'Unbound': {'text':'解绑','color':'#f5222d','value':'Unbound'}, }; // HouseOrderRefundsRefundStatusEnum export const HouseOrderRefundsRefundStatusEnum = { - 'Requested': {"text":"已申请","color":"#2196f3","value":"Requested"}, - 'Reviewing': {"text":"审核中","color":"#ff9800","value":"Reviewing"}, - 'Rejected': {"text":"已拒绝","color":"#f44336","value":"Rejected"}, - 'Processing': {"text":"退款中","color":"#9c27b0","value":"Processing"}, - 'Refunded': {"text":"已退款","color":"#4caf50","value":"Refunded"}, - 'Failed': {"text":"退款失败","color":"#e91e63","value":"Failed"}, + 'Requested': {'text':'已申请','color':'#2196f3','value':'Requested'}, + 'Reviewing': {'text':'审核中','color':'#ff9800','value':'Reviewing'}, + 'Rejected': {'text':'已拒绝','color':'#f44336','value':'Rejected'}, + 'Processing': {'text':'退款中','color':'#9c27b0','value':'Processing'}, + 'Refunded': {'text':'已退款','color':'#4caf50','value':'Refunded'}, + 'Failed': {'text':'退款失败','color':'#e91e63','value':'Failed'}, }; // 订单审核状态枚举 export const HouseOrdersAuditStatusEnum = { - 'Pending': {"text":"待审核","color":"#f59e0b","value":"Pending"}, - 'Approved': {"text":"已通过","color":"#10b981","value":"Approved"}, - 'Rejected': {"text":"已驳回","color":"#ef4444","value":"Rejected"}, + 'Pending': {'text':'待审核','color':'#f59e0b','value':'Pending'}, + 'Approved': {'text':'已通过','color':'#10b981','value':'Approved'}, + 'Rejected': {'text':'已驳回','color':'#ef4444','value':'Rejected'}, }; // 订单状态枚举 export const HouseOrdersOrderStatusEnum = { - 'Pending': {"text":"待支付","color":"#facc15","value":"Pending"}, - 'Paid': {"text":"已支付","color":"#10b981","value":"Paid"}, - 'Refunded': {"text":"已退款","color":"#60a5fa","value":"Refunded"}, - 'Cancelled': {"text":"已取消","color":"#9ca3af","value":"Cancelled"}, - 'Failed': {"text":"支付失败","color":"#ef4444","value":"Failed"}, + 'Pending': {'text':'待支付','color':'#facc15','value':'Pending'}, + 'ToBeConfirmed': {'text':'待确认','color':'#fb923c','value':'ToBeConfirmed'}, + 'Paid': {'text':'已支付','color':'#10b981','value':'Paid'}, + 'Refunded': {'text':'已退款','color':'#60a5fa','value':'Refunded'}, + 'Cancelled': {'text':'已取消','color':'#9ca3af','value':'Cancelled'}, + 'Failed': {'text':'支付失败','color':'#ef4444','value':'Failed'}, }; // HouseOrdersPaymentMethodEnum export const HouseOrdersPaymentMethodEnum = { - 'WeChat': {"text":"微信","color":"#07c160","value":"WeChat"}, - 'Alipay': {"text":"支付宝","color":"#1677ff","value":"Alipay"}, - 'BankTransfer': {"text":"银行转账","color":"#6c757d","value":"BankTransfer"}, - 'TongLian': {"text":"通联支付","color":"#ff9f0a","value":"TongLian"}, - 'Prepayment': {"text":"预缴支付","color":"#f59e0b","value":"Prepayment"}, - 'POS': {"text":"POS机","color":"#8b5cf6","value":"POS"}, - 'Cash': {"text":"现金","color":"#dc2626","value":"Cash"}, + 'WeChat': {'text':'微信','color':'#07c160','value':'WeChat'}, + 'Alipay': {'text':'支付宝','color':'#1677ff','value':'Alipay'}, + 'BankTransfer': {'text':'银行转账','color':'#6c757d','value':'BankTransfer'}, + 'TongLian': {'text':'通联支付','color':'#ff9f0a','value':'TongLian'}, + 'Prepayment': {'text':'预缴支付','color':'#f59e0b','value':'Prepayment'}, + 'POS': {'text':'POS机','color':'#8b5cf6','value':'POS'}, + 'Cash': {'text':'现金','color':'#dc2626','value':'Cash'}, + 'CCB': {'text':'建行惠市宝','color':'#003da5','value':'CCB'}, }; // HousePrepaymentLogsTypeEnum export const HousePrepaymentLogsTypeEnum = { - 'Add': {"text":"加","color":"#52c41a","value":"Add"}, - 'Subtract': {"text":"减","color":"#f5222d","value":"Subtract"}, + 'Add': {'text':'加','color':'#52c41a','value':'Add'}, + 'Subtract': {'text':'减','color':'#f5222d','value':'Subtract'}, }; // HouseRegistersCustomerTypeEnum export const HouseRegistersCustomerTypeEnum = { - 'Individual': {"text":"个人客户","color":"#2db7f5","value":"Individual"}, - 'Enterprise': {"text":"普通企业","color":"#87d068","value":"Enterprise"}, - 'Developer': {"text":"开发企业","color":"#fa8c16","value":"Developer"}, - 'Government': {"text":"政府组织","color":"#f5222d","value":"Government"}, + 'Individual': {'text':'个人客户','color':'#2db7f5','value':'Individual'}, + 'Enterprise': {'text':'普通企业','color':'#87d068','value':'Enterprise'}, + 'Developer': {'text':'开发企业','color':'#fa8c16','value':'Developer'}, + 'Government': {'text':'政府组织','color':'#f5222d','value':'Government'}, }; // HouseRegistersHouseStatusEnum export const HouseRegistersHouseStatusEnum = { - 'SelfOccupied': {"text":"自住","color":"#28a745","value":"SelfOccupied"}, - 'Rented': {"text":"出租","color":"#007bff","value":"Rented"}, - 'Vacant': {"text":"空置","color":"#dc3545","value":"Vacant"}, + 'SelfOccupied': {'text':'自住','color':'#28a745','value':'SelfOccupied'}, + 'Rented': {'text':'出租','color':'#007bff','value':'Rented'}, + 'Vacant': {'text':'空置','color':'#dc3545','value':'Vacant'}, }; // 房屋登记身份类型 export const HouseRegistersIdentityTypeEnum = { - 'Owner': {"text":"产权人","color":"#2db7f5","value":"Owner"}, - 'Tenant': {"text":"租客","color":"#87d068","value":"Tenant"}, - 'CoResident': {"text":"同住人(亲属)","color":"#108ee9","value":"CoResident"}, + 'Owner': {'text':'产权人','color':'#2db7f5','value':'Owner'}, + 'Tenant': {'text':'租客','color':'#87d068','value':'Tenant'}, + 'CoResident': {'text':'同住人(亲属)','color':'#108ee9','value':'CoResident'}, }; // HouseRegistersStatusEnum export const HouseRegistersStatusEnum = { - 'Pending': {"text":"待审","color":"#faad14","value":"Pending"}, - 'Approved': {"text":"通过","color":"#52c41a","value":"Approved"}, - 'Rejected': {"text":"驳回","color":"#f5222d","value":"Rejected"}, + 'Pending': {'text':'待审','color':'#faad14','value':'Pending'}, + 'Approved': {'text':'通过','color':'#52c41a','value':'Approved'}, + 'Rejected': {'text':'驳回','color':'#f5222d','value':'Rejected'}, }; // HouseRegistersTypeEnum export const HouseRegistersTypeEnum = { - 'AddOwner': {"text":"添加产权人","color":"#52c41a","value":"AddOwner"}, - 'RemoveOwner': {"text":"减少产权人","color":"#d9363e","value":"RemoveOwner"}, - 'AddOccupant': {"text":"添加住户","color":"#108ee9","value":"AddOccupant"}, - 'RemoveOccupant': {"text":"移除住户","color":"#fa8c16","value":"RemoveOccupant"}, - 'MoveOut': {"text":"搬离登记","color":"#f50","value":"MoveOut"}, - 'MoveIn': {"text":"搬入登记","color":"#ffc53d","value":"MoveIn"}, - 'UpdateInfo': {"text":"修改信息","color":"#722ed1","value":"UpdateInfo"}, - 'UpdatePhone': {"text":"修改电话","color":"#13c2c2","value":"UpdatePhone"}, - 'GoodsRelease': {"text":"物品放行","color":"#a0d911","value":"GoodsRelease"}, + 'AddOwner': {'text':'添加产权人','color':'#52c41a','value':'AddOwner'}, + 'RemoveOwner': {'text':'减少产权人','color':'#d9363e','value':'RemoveOwner'}, + 'AddOccupant': {'text':'添加住户','color':'#108ee9','value':'AddOccupant'}, + 'RemoveOccupant': {'text':'移除住户','color':'#fa8c16','value':'RemoveOccupant'}, + 'MoveOut': {'text':'搬离登记','color':'#f50','value':'MoveOut'}, + 'MoveIn': {'text':'搬入登记','color':'#ffc53d','value':'MoveIn'}, + 'UpdateInfo': {'text':'修改信息','color':'#722ed1','value':'UpdateInfo'}, + 'UpdatePhone': {'text':'修改电话','color':'#13c2c2','value':'UpdatePhone'}, + 'GoodsRelease': {'text':'物品放行','color':'#a0d911','value':'GoodsRelease'}, + 'VisitorApplies': {'text':'来访申请','color':'#a0d911','value':'VisitorApplies'}, + 'Transfer': {'text':'过户','color':'#1890ff','value':'Transfer'}, }; // HouseRegistersUsagePlanEnum export const HouseRegistersUsagePlanEnum = { - 'Permanent': {"text":"常住","color":"#52c41a","value":"Permanent"}, - 'Vacation': {"text":"度假","color":"#faad14","value":"Vacation"}, - 'Rental': {"text":"出租","color":"#2db7f5","value":"Rental"}, - 'Commercial': {"text":"商用","color":"#f5222d","value":"Commercial"}, + 'Permanent': {'text':'常住','color':'#52c41a','value':'Permanent'}, + 'Vacation': {'text':'度假','color':'#faad14','value':'Vacation'}, + 'Rental': {'text':'出租','color':'#2db7f5','value':'Rental'}, + 'Commercial': {'text':'商用','color':'#f5222d','value':'Commercial'}, }; // HouseWorkOrdersAcceptResultEnum export const HouseWorkOrdersAcceptResultEnum = { - 'Satisfied': {"text":"满意","color":"#28A745","value":"Satisfied"}, - 'Unsatisfied': {"text":"不满意","color":"#DC3545","value":"Unsatisfied"}, + 'Satisfied': {'text':'满意','color':'#28A745','value':'Satisfied'}, + 'Unsatisfied': {'text':'不满意','color':'#DC3545','value':'Unsatisfied'}, }; // HouseWorkOrdersAssignStatusEnum export const HouseWorkOrdersAssignStatusEnum = { - 'Unassigned': {"text":"未指派","color":"#ff0000","value":"Unassigned"}, - 'Assigned': {"text":"已指派","color":"#00ff00","value":"Assigned"}, + 'Unassigned': {'text':'未指派','color':'#ff0000','value':'Unassigned'}, + 'Assigned': {'text':'已指派','color':'#00ff00','value':'Assigned'}, }; // HouseWorkOrdersComplaintTypeEnum export const HouseWorkOrdersComplaintTypeEnum = { - 'Hygiene': {"text":"卫生环境","color":"#ff0000","value":"Hygiene"}, - 'Greening': {"text":"绿植绿化","color":"#00aaff","value":"Greening"}, - 'Safety': {"text":"安全问题","color":"#ffaa00","value":"Safety"}, - 'Maintenance': {"text":"维修问题","color":"#aa00ff","value":"Maintenance"}, - 'PropertyService': {"text":"物业服务","color":"#00aa55","value":"PropertyService"}, - 'Staff': {"text":"工作人员","color":"#ff00aa","value":"Staff"}, - 'Other': {"text":"其他","color":"#aaaaaa","value":"Other"}, + 'Hygiene': {'text':'卫生环境','color':'#ff0000','value':'Hygiene'}, + 'Greening': {'text':'绿植绿化','color':'#00aaff','value':'Greening'}, + 'Safety': {'text':'安全问题','color':'#ffaa00','value':'Safety'}, + 'Maintenance': {'text':'维修问题','color':'#aa00ff','value':'Maintenance'}, + 'PropertyService': {'text':'物业服务','color':'#00aa55','value':'PropertyService'}, + 'Staff': {'text':'工作人员','color':'#ff00aa','value':'Staff'}, + 'Other': {'text':'其他','color':'#aaaaaa','value':'Other'}, }; // HouseWorkOrdersLevelEnum export const HouseWorkOrdersLevelEnum = { - 'Urgent': {"text":"紧急","color":"#ff0000","value":"Urgent"}, - 'High': {"text":"高","color":"#ff7f00","value":"High"}, - 'Medium': {"text":"中","color":"#00cc00","value":"Medium"}, - 'Low': {"text":"低","color":"#999999","value":"Low"}, + 'Urgent': {'text':'紧急','color':'#ff0000','value':'Urgent'}, + 'High': {'text':'高','color':'#ff7f00','value':'High'}, + 'Medium': {'text':'中','color':'#00cc00','value':'Medium'}, + 'Low': {'text':'低','color':'#999999','value':'Low'}, }; // HouseWorkOrdersLocationEnum export const HouseWorkOrdersLocationEnum = { - 'CommonArea': {"text":"公共区域","color":"#ff0000","value":"CommonArea"}, - 'MyHome': {"text":"房屋","color":"#00ff00","value":"MyHome"}, + 'CommonArea': {'text':'公共区域','color':'#ff0000','value':'CommonArea'}, + 'MyHome': {'text':'房屋','color':'#00ff00','value':'MyHome'}, }; // HouseWorkOrdersRefundStatusEnum export const HouseWorkOrdersRefundStatusEnum = { - 'Refunding': {"text":"退款中","color":"#FFA500","value":"Refunding"}, - 'Refunded': {"text":"已退款","color":"#28A745","value":"Refunded"}, - 'PartialRefund': {"text":"部分退款","color":"#17A2B8","value":"PartialRefund"}, + 'Refunding': {'text':'退款中','color':'#FFA500','value':'Refunding'}, + 'Refunded': {'text':'已退款','color':'#28A745','value':'Refunded'}, + 'PartialRefund': {'text':'部分退款','color':'#17A2B8','value':'PartialRefund'}, }; // HouseWorkOrdersStatusEnum export const HouseWorkOrdersStatusEnum = { - 'Pending': {"text":"待处理","color":"#FFA500","value":"Pending"}, - 'Processing': {"text":"处理中","color":"#1E90FF","value":"Processing"}, - 'PendingPayment': {"text":"待支付","color":"#FF8C00","value":"PendingPayment"}, - 'PendingAcceptance': {"text":"待验收","color":"#17A2B8","value":"PendingAcceptance"}, - 'Completed': {"text":"已完成","color":"#28A745","value":"Completed"}, - 'Closed': {"text":"已关闭","color":"#6C757D","value":"Closed"}, + 'Pending': {'text':'待处理','color':'#FFA500','value':'Pending'}, + 'Processing': {'text':'处理中','color':'#1E90FF','value':'Processing'}, + 'PendingPayment': {'text':'待支付','color':'#FF8C00','value':'PendingPayment'}, + 'PendingAcceptance': {'text':'待验收','color':'#17A2B8','value':'PendingAcceptance'}, + 'Completed': {'text':'已完成','color':'#28A745','value':'Completed'}, + 'Closed': {'text':'已关闭','color':'#6C757D','value':'Closed'}, }; // HouseWorkOrdersTypeEnum export const HouseWorkOrdersTypeEnum = { - 'Repair': {"text":"报修","color":"#ff0000","value":"Repair"}, - 'Incident': {"text":"报事","color":"#00aaff","value":"Incident"}, - 'Complaint': {"text":"投诉","color":"#aa00ff","value":"Complaint"}, + 'Repair': {'text':'报修','color':'#ff0000','value':'Repair'}, + 'Incident': {'text':'报事','color':'#00aaff','value':'Incident'}, + 'Complaint': {'text':'投诉','color':'#aa00ff','value':'Complaint'}, + 'QualityCheck': {'text':'品质检查','color':'#16a085','value':'QualityCheck'}, + 'RenovationInspection': {'text':'装修巡检','color':'#8e44ad','value':'RenovationInspection'}, + 'RenovationAcceptance': {'text':'装修验收','color':'#2980b9','value':'RenovationAcceptance'}, + 'SecurityInspection': {'text':'安全巡检','color':'#e67e22','value':'SecurityInspection'}, +}; + +// 公告阅读者类型 +export const MsgPropertyAnnouncementReadsReaderTypeEnum = { + 'Customer': {'text':'客户','color':'#3b82f6','value':'Customer'}, + 'Employee': {'text':'员工','color':'#10b981','value':'Employee'}, }; // 公告接收对象 export const MsgPropertyAnnouncementsObjectEnum = { - 'Customer': {"text":"客户","color":"#3b82f6","value":"Customer"}, - 'Employee': {"text":"员工","color":"#10b981","value":"Employee"}, + 'Customer': {'text':'客户','color':'#3b82f6','value':'Customer'}, + 'Employee': {'text':'员工','color':'#10b981','value':'Employee'}, }; // MsgPropertyAnnouncementsPublishTypeEnum export const MsgPropertyAnnouncementsPublishTypeEnum = { - 'Manual': {"text":"手动","color":"#4caf50","value":"Manual"}, - 'Schedule': {"text":"定时","color":"#2196f3","value":"Schedule"}, + 'Manual': {'text':'手动','color':'#4caf50','value':'Manual'}, + 'Schedule': {'text':'定时','color':'#2196f3','value':'Schedule'}, }; // OrganizationsTypeEnum export const OrganizationsTypeEnum = { - 'Group': {"text":"集团","color":"#007bff","value":"Group"}, - 'Company': {"text":"公司","color":"#28a745","value":"Company"}, - 'ManagementOffice': {"text":"管理处","color":"#ffc107","value":"ManagementOffice"}, - 'Department': {"text":"部门","color":"#dc3545","value":"Department"}, + 'Group': {'text':'集团','color':'#007bff','value':'Group'}, + 'Company': {'text':'公司','color':'#28a745','value':'Company'}, + 'ManagementOffice': {'text':'管理处','color':'#ffc107','value':'ManagementOffice'}, + 'Department': {'text':'部门','color':'#dc3545','value':'Department'}, +}; + +// 巡逻路线生成方式 +export const PatrolRoutesGenerationMethodEnum = { + 'Daily': {'text':'按天','color':'#007bff','value':'Daily'}, + 'Weekly': {'text':'按周','color':'#28a745','value':'Weekly'}, + 'Monthly': {'text':'按月','color':'#ffc107','value':'Monthly'}, +}; + +// 巡逻任务地点状态 +export const PatrolTaskLocationsStatusEnum = { + 'Incomplete': {'text':'未完成','color':'#ff9800','value':'Incomplete'}, + 'Completed': {'text':'已完成','color':'#4caf50','value':'Completed'}, +}; + +// 巡逻任务创建方式 +export const PatrolTasksCreateTypeEnum = { + 'Auto': {'text':'定时生成','color':'#2196f3','value':'Auto'}, + 'Manual': {'text':'手动创建','color':'#4caf50','value':'Manual'}, +}; + +// 巡逻任务状态 +export const PatrolTasksStatusEnum = { + 'Unassigned': {'text':'未分配','color':'#9e9e9e','value':'Unassigned'}, + 'Pending': {'text':'待执行','color':'#ff9800','value':'Pending'}, + 'InProgress': {'text':'进行中','color':'#2196f3','value':'InProgress'}, + 'Completed': {'text':'已完成','color':'#4caf50','value':'Completed'}, + 'Canceled': {'text':'已取消','color':'#f44336','value':'Canceled'}, + 'Overdue': {'text':'已超期','color':'#e91e63','value':'Overdue'}, +}; + +// PayTypeEnum +export const PayTypeEnum = { + 'WeChat': {'text':'微信','color':'#07c160','value':'WeChat'}, + 'Alipay': {'text':'支付宝','color':'#1677ff','value':'Alipay'}, +}; + +// 题目类型枚举 +export const QuestionsTypeEnum = { + 'Score': {'text':'评分题','color':'#4caf50','value':'Score'}, + 'Fill': {'text':'填空题','color':'#2196f3','value':'Fill'}, }; // 退款状态枚举 export const RefundsStatusEnum = { - 'Pending': {"text":"待审批","color":"#ff9800","value":"Pending"}, - 'Reviewing': {"text":"审核中","color":"#2196f3","value":"Reviewing"}, - 'Approved': {"text":"已审批","color":"#9c27b0","value":"Approved"}, - 'Processing': {"text":"退款中","color":"#00bcd4","value":"Processing"}, - 'Completed': {"text":"已退款","color":"#4caf50","value":"Completed"}, - 'PartialRefund': {"text":"部分退款","color":"#8bc34a","value":"PartialRefund"}, - 'Rejected': {"text":"已拒绝","color":"#f44336","value":"Rejected"}, - 'Failed': {"text":"退款失败","color":"#e91e63","value":"Failed"}, - 'Cancelled': {"text":"已取消","color":"#9e9e9e","value":"Cancelled"}, + 'Pending': {'text':'待审批','color':'#ff9800','value':'Pending'}, + 'Reviewing': {'text':'审核中','color':'#2196f3','value':'Reviewing'}, + 'Approved': {'text':'已审批','color':'#9c27b0','value':'Approved'}, + 'Processing': {'text':'退款中','color':'#00bcd4','value':'Processing'}, + 'Completed': {'text':'已退款','color':'#4caf50','value':'Completed'}, + 'PartialRefund': {'text':'部分退款','color':'#8bc34a','value':'PartialRefund'}, + 'Rejected': {'text':'已拒绝','color':'#f44336','value':'Rejected'}, + 'Failed': {'text':'退款失败','color':'#e91e63','value':'Failed'}, + 'Cancelled': {'text':'已取消','color':'#9e9e9e','value':'Cancelled'}, }; // 退款类型枚举 export const RefundsTypeEnum = { - 'HouseBill': {"text":"物业费退款","color":"#2196f3","value":"HouseBill"}, - 'Bill': {"text":"账单退款","color":"#4caf50","value":"Bill"}, - 'ContractBill': {"text":"合同退款","color":"#ff9800","value":"ContractBill"}, - 'RenovationApply': {"text":"退保证金","color":"#86aac3ff","value":"RenovationApply"}, - 'HouseDoorCard': {"text":"门禁退款","color":"#9c27b0","value":"HouseDoorCard"}, - 'HouseWorkOrder': {"text":"工单退款","color":"#00bcd4","value":"HouseWorkOrder"}, - 'Other': {"text":"其他退款","color":"#607d8b","value":"Other"}, + 'HouseBill': {'text':'物业费退款','color':'#2196f3','value':'HouseBill'}, + 'Bill': {'text':'账单退款','color':'#4caf50','value':'Bill'}, + 'ContractBill': {'text':'合同退款','color':'#ff9800','value':'ContractBill'}, + 'RenovationApply': {'text':'退保证金','color':'#86aac3ff','value':'RenovationApply'}, + 'HouseDoorCard': {'text':'门禁退款','color':'#9c27b0','value':'HouseDoorCard'}, + 'HouseWorkOrder': {'text':'工单退款','color':'#00bcd4','value':'HouseWorkOrder'}, + 'Other': {'text':'其他退款','color':'#607d8b','value':'Other'}, +}; + +// 装修验收状态 +export const RenovationAppliesAcceptanceStatusEnum = { + 'PendingAcceptance': {'text':'待验收','color':'#f1c40f','value':'PendingAcceptance'}, + 'Accepted': {'text':'验收合格','color':'#2ecc71','value':'Accepted'}, + 'Rejected': {'text':'验收不合格','color':'#e74c3c','value':'Rejected'}, + 'Cancelled': {'text':'已取消','color':'#95a5a6','value':'Cancelled'}, +}; + +// 装修施工状态 +export const RenovationAppliesConstructionStatusEnum = { + 'PendingConstruction': {'text':'待施工','color':'#f1c40f','value':'PendingConstruction'}, + 'NormalConstruction': {'text':'正常施工','color':'#2ecc71','value':'NormalConstruction'}, + 'StoppedConstruction': {'text':'已停工','color':'#e74c3c','value':'StoppedConstruction'}, + 'CompletedConstruction': {'text':'已竣工','color':'#3498db','value':'CompletedConstruction'}, +}; + +// 装修办理类型 +export const RenovationAppliesProcessTypeEnum = { + 'OwnerProcess': {'text':'业主办理','color':'#3498db','value':'OwnerProcess'}, + 'AgentProcess': {'text':'代理人办理','color':'#9b59b6','value':'AgentProcess'}, +}; + +// 装修内容 +export const RenovationAppliesRenovationContentEnum = { + 'PartialRenovation': {'text':'局部装修','color':'#f39c12','value':'PartialRenovation'}, + 'FullHouseRenovation': {'text':'全屋装修','color':'#2ecc71','value':'FullHouseRenovation'}, + 'PartialRefurbishment': {'text':'部分翻新','color':'#3498db','value':'PartialRefurbishment'}, +}; + +// 装修申请状态 +export const RenovationAppliesStatusEnum = { + 'Draft': {'text':'暂存','color':'#f39c12','value':'Draft'}, + 'Pending': {'text':'审核中','color':'#faad14','value':'Pending'}, + 'Approved': {'text':'已完成','color':'#52c41a','value':'Approved'}, + 'Rejected': {'text':'驳回','color':'#f5222d','value':'Rejected'}, + 'Cancelled': {'text':'作废','color':'#9b59b6','value':'Cancelled'}, +}; + +// 装修类型 +export const RenovationAppliesTypeEnum = { + 'SelfRenovation': {'text':'自装','color':'#1abc9c','value':'SelfRenovation'}, + 'RenovationCompany': {'text':'装修公司','color':'#e67e22','value':'RenovationCompany'}, +}; + +// ResourceOrdersPaymentStatusEnum +export const ResourceOrdersPaymentStatusEnum = { + 'Unpaid': {'text':'未支付','color':'#f59e0b','value':'Unpaid'}, + 'Paid': {'text':'已支付','color':'#10b981','value':'Paid'}, + 'Refunded': {'text':'已退款','color':'#3b82f6','value':'Refunded'}, +}; + +// ResourceOrdersStatusEnum +export const ResourceOrdersStatusEnum = { + 'Locked': {'text':'已锁定','color':'#8b5cf6','value':'Locked'}, + 'Reserved': {'text':'已预约','color':'#3b82f6','value':'Reserved'}, + 'Used': {'text':'已使用','color':'#10b981','value':'Used'}, + 'Overed': {'text':'已结束','color':'#fca5a5','value':'Overed'}, + 'Refunding': {'text':'退订中','color':'#f59e0b','value':'Refunding'}, + 'Refunded': {'text':'已退订','color':'#ef4444','value':'Refunded'}, + 'Closed': {'text':'已关闭','color':'#6b7280','value':'Closed'}, +}; + +// ResourceTypesTypeEnum +export const ResourceTypesCategoryEnum = { + 'Advertising': {'text':'广告','color':'#ff9800','value':'Advertising'}, + 'Venue': {'text':'场地','color':'#4caf50','value':'Venue'}, +}; + +// ResourcesChannelEnum +export const ResourcesChannelEnum = { + 'Consumer': {'text':'ToC','color':'#3b82f6','value':'Consumer'}, + 'Business': {'text':'ToB','color':'#10b981','value':'Business'}, +}; + +// ResourcesOpenDaysEnum +export const ResourcesOpenDaysEnum = { + 'Monday': {'text':'星期一','color':'#3b82f6','value':'Monday'}, + 'Tuesday': {'text':'星期二','color':'#3b82f6','value':'Tuesday'}, + 'Wednesday': {'text':'星期三','color':'#3b82f6','value':'Wednesday'}, + 'Thursday': {'text':'星期四','color':'#3b82f6','value':'Thursday'}, + 'Friday': {'text':'星期五','color':'#3b82f6','value':'Friday'}, + 'Saturday': {'text':'星期六','color':'#10b981','value':'Saturday'}, + 'Sunday': {'text':'星期日','color':'#ef4444','value':'Sunday'}, +}; + +// ResourcesReservationRuleEnum +export const ResourcesReservationRuleEnum = { + 'ByDay': {'text':'按天','color':'#3b82f6','value':'ByDay'}, + 'BySession': {'text':'按场次','color':'#10b981','value':'BySession'}, +}; + +// ResourcesReservationStatusEnum +export const ResourcesReservationStatusEnum = { + 'Fully': {'text':'全部预约','color':'#4caf50','value':'Fully'}, + 'Partially': {'text':'部分预约','color':'#ff9800','value':'Partially'}, + 'Not': {'text':'无预约','color':'#f44336','value':'Not'}, }; // 性别 export const SexEnum = { - 'Male': {"text":"男","color":"#0000ff","value":"Male"}, - 'FeMale': {"text":"女","color":"#ff0000","value":"FeMale"}, + 'Male': {'text':'男','color':'#0000ff','value':'Male'}, + 'FeMale': {'text':'女','color':'#ff0000','value':'FeMale'}, +}; + +// 问卷发布方式枚举 +export const SurveyReleasesTypeEnum = { + 'Manual': {'text':'手动发布','color':'#4caf50','value':'Manual'}, + 'Timing': {'text':'定时发布','color':'#2196f3','value':'Timing'}, }; // SysModuleEnum export const SysModuleEnum = { - 'Admin': {"text":"管理员","color":"#cf1322","value":"Admin"}, - 'Customer': {"text":"客户","color":"#d4b106","value":"Customer"}, - 'Company': {"text":"机构","color":"#1890ff","value":"Company"}, + 'Admin': {'text':'管理员','color':'#cf1322','value':'Admin'}, + 'Company': {'text':'机构','color':'#1890ff','value':'Company'}, + 'Employee': {'text':'员工','color':'#1890ff','value':'Employee'}, }; // SysPermissionsTypeEnum export const SysPermissionsTypeEnum = { - 'Directory': {"text":"目录","color":"#6d7e14","value":"Directory"}, - 'Page': {"text":"页面","color":"#4d9a13","value":"Page"}, - 'Button': {"text":"按钮","color":"#97224f","value":"Button"}, + 'Directory': {'text':'目录','color':'#6d7e14','value':'Directory'}, + 'Page': {'text':'页面','color':'#4d9a13','value':'Page'}, + 'Button': {'text':'按钮','color':'#97224f','value':'Button'}, + 'QuickAction': {'text':'金刚区','color':'#2563eb','value':'QuickAction'}, + 'Module': {'text':'模块','color':'#0d9488','value':'Module'}, }; // 来访事由 export const VisitReasonEnum = { - 'Visit': {"text":"拜访","color":"#2196f3","value":"Visit"}, - 'Business': {"text":"商务","color":"#3f51b5","value":"Business"}, - 'Interview': {"text":"面试","color":"#9c27b0","value":"Interview"}, - 'Private': {"text":"私人","color":"#e91e63","value":"Private"}, - 'Express': {"text":"快递","color":"#00bcd4","value":"Express"}, - 'Renovation': {"text":"装修","color":"#ff5722","value":"Renovation"}, - 'Other': {"text":"其他","color":"#607d8b","value":"Other"}, + 'Visit': {'text':'拜访','color':'#2196f3','value':'Visit'}, + 'Business': {'text':'商务','color':'#3f51b5','value':'Business'}, + 'Interview': {'text':'面试','color':'#9c27b0','value':'Interview'}, + 'Private': {'text':'私人','color':'#e91e63','value':'Private'}, + 'Express': {'text':'快递','color':'#00bcd4','value':'Express'}, + 'Renovation': {'text':'装修','color':'#ff5722','value':'Renovation'}, + 'Other': {'text':'其他','color':'#607d8b','value':'Other'}, }; // 访客申请状态 export const VisitorAppliesStatusEnum = { - 'Pending': {"text":"审核中","color":"#ff9800","value":"Pending"}, - 'Approved': {"text":"已通过","color":"#4caf50","value":"Approved"}, - 'Rejected': {"text":"已驳回","color":"#f44336","value":"Rejected"}, - 'Expired': {"text":"已失效","color":"#9e9e9e","value":"Expired"}, + 'Pending': {'text':'审核中','color':'#ff9800','value':'Pending'}, + 'Approved': {'text':'已通过','color':'#4caf50','value':'Approved'}, + 'Rejected': {'text':'已驳回','color':'#f44336','value':'Rejected'}, + 'Expired': {'text':'已失效','color':'#9e9e9e','value':'Expired'}, }; // 访客申请类型 export const VisitorApplyTypeEnum = { - 'invite': {"text":"业主邀请","color":"#2196f3","value":"invite"}, - 'register': {"text":"访客登记","color":"#ff9800","value":"register"}, + 'invite': {'text':'业主邀请','color':'#2196f3','value':'invite'}, + 'register': {'text':'访客登记','color':'#ff9800','value':'register'}, }; // 通行码状态 export const VisitorCodeStatusEnum = { - 'unused': {"text":"未使用","color":"#2196f3","value":"unused"}, - 'used': {"text":"已使用","color":"#4caf50","value":"used"}, - 'expired': {"text":"已过期","color":"#f44336","value":"expired"}, + 'unused': {'text':'未使用','color':'#2196f3','value':'unused'}, + 'used': {'text':'已使用','color':'#4caf50','value':'used'}, + 'expired': {'text':'已过期','color':'#f44336','value':'expired'}, }; // 访客扫码类型 export const VisitorScanTypeEnum = { - 'enter': {"text":"进入","color":"#4caf50","value":"enter"}, - 'exit': {"text":"离开","color":"#f44336","value":"exit"}, + 'enter': {'text':'进入','color':'#4caf50','value':'enter'}, + 'exit': {'text':'离开','color':'#f44336','value':'exit'}, }; // WechatAuthsPlatformEnum export const WechatAuthsPlatformEnum = { - 'MiniProgram': {"text":"微信小程序","color":"#3b82f6","value":"MiniProgram"}, - 'MpOfficial': {"text":"微信公众号","color":"#22c55e","value":"MpOfficial"}, - 'WorkWechat': {"text":"企业微信","color":"#6366f1","value":"WorkWechat"}, + 'MiniProgram': {'text':'微信小程序','color':'#3b82f6','value':'MiniProgram'}, + 'MpOfficial': {'text':'微信公众号','color':'#22c55e','value':'MpOfficial'}, + 'WorkWechat': {'text':'企业微信','color':'#6366f1','value':'WorkWechat'}, }; diff --git a/src/manifest.json b/src/manifest.json index c641267..d4710de 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -51,6 +51,7 @@ /* 小程序特有相关 */ "mp-weixin": { "appid": "wx04d2d27ca198367b", + "cloudfunctionRoot": "./cloudfunctions/", "setting": { "urlCheck": false }, diff --git a/src/pages.json b/src/pages.json index 9ff61b6..3fa4b56 100644 --- a/src/pages.json +++ b/src/pages.json @@ -31,6 +31,12 @@ "style": { "navigationBarTitleText": "选择项目" } + }, + { + "path": "pages/public/select_project/pages/permission_show", + "style": { + "navigationBarTitleText": "突发事件" + } }, { "path": "pages/me/index", @@ -97,6 +103,17 @@ "style": { "navigationBarTitleText": "工单收款码" } + },{ + "path": "acceptance/index", + "style": { + "navigationBarTitleText": "验收工单" + } + }, + { + "path": "patrol_update/index", + "style": { + "navigationBarTitleText": "巡查更新" + } } ] }, @@ -109,6 +126,48 @@ "navigationBarTitleText": "工单提报" } }, + { + "path": "attendance/my_schedules/index", + "style": { + "navigationBarTitleText": "签到打卡" + } + }, + { + "path": "attendance/sign_clock_in/index", + "style": { + "navigationBarTitleText": "签到打卡" + } + }, + { + "path": "emergency/list/index", + "style": { + "navigationBarTitleText": "突发事件" + } + }, + { + "path": "emergency/add/index", + "style": { + "navigationBarTitleText": "突发事件添加" + } + }, + { + "path": "emergency/update/index", + "style": { + "navigationBarTitleText": "更新进度" + } + }, + { + "path": "emergency/change/index", + "style": { + "navigationBarTitleText": "变更突发事件" + } + }, + { + "path": "emergency/show/index", + "style": { + "navigationBarTitleText": "突发事件详情" + } + }, { "path": "update/index", "style": { diff --git a/src/pages/index/components/Classification.vue b/src/pages/index/components/Classification.vue index ee449e0..5622976 100644 --- a/src/pages/index/components/Classification.vue +++ b/src/pages/index/components/Classification.vue @@ -1,13 +1,14 @@ -