diff --git a/ci/project.config.json b/ci/project.config.json
index 750c083..bb04a43 100644
--- a/ci/project.config.json
+++ b/ci/project.config.json
@@ -1,3 +1,3 @@
{
- "version": "0.0.84"
+ "version": "0.0.93"
}
\ No newline at end of file
diff --git a/dist/build/mp-weixin/INDEX/activities_show/index.js b/dist/build/mp-weixin/INDEX/activities_show/index.js
index 4eaed8e..38b420b 100644
--- a/dist/build/mp-weixin/INDEX/activities_show/index.js
+++ b/dist/build/mp-weixin/INDEX/activities_show/index.js
@@ -1 +1 @@
-"use strict";const l=require("../../common/vendor.js"),e=require("./method.js"),u=require("./model.js"),o=require("../../common/libraries/day.js"),n=require("../../gen/Enums.js");if(require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/setTabBar.js"),require("../../common/libraries/apiLoading.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/userUserLogin.js"),require("../../common/libraries/naviHelper.js"),!Array){(l.resolveComponent("hs-enum-tag")+l.resolveComponent("up-parse")+l.resolveComponent("hs-button"))()}Math||((()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../node-modules/uview-plus/components/u-parse/u-parse.js")+(()=>"../../components/hs-button/hs-button.js"))();const i=l.defineComponent({__name:"index",setup:i=>(l.onLoad((l=>{var u;null==(u=e.method)||u.getShow(null==l?void 0:l.id)})),l.onShareAppMessage((()=>{var l,e,o,n,i,s,a,d,v,t;return{title:`您的好友邀请你报名${null==(o=null==(e=null==(l=u.useModel)?void 0:l.showData)?void 0:e.value)?void 0:o.title}`,path:`/INDEX/activities_show/index?id=${null==(s=null==(i=null==(n=u.useModel)?void 0:n.showData)?void 0:i.value)?void 0:s.id}`,imageUrl:null==(t=null==(v=null==(d=null==(a=u.useModel)?void 0:a.showData)?void 0:d.value)?void 0:v.cover_image[0])?void 0:t.url}})),l.onShareTimeline((()=>{var l,e,o,n,i,s,a,d,v,t;return{title:`您的好友邀请你报名${null==(o=null==(e=null==(l=u.useModel)?void 0:l.showData)?void 0:e.value)?void 0:o.title}`,path:`/INDEX/activities_show/index?id=${null==(s=null==(i=null==(n=u.useModel)?void 0:n.showData)?void 0:i.value)?void 0:s.id}`,imageUrl:null==(t=null==(v=null==(d=null==(a=u.useModel)?void 0:a.showData)?void 0:d.value)?void 0:v.cover_image[0])?void 0:t.url}})),(i,s)=>{var a,d,v,t,r,m,h,p,c,f,w,D,M,g,_,b,j,y,q,I,S,C,A,U,z,E,$,x,R,T,k,L,H,N,W,X,B,P,F,G,J,K,O,Q,V,Y,Z,ll,el,ul,ol,nl,il,sl,al,dl,vl,tl,rl,ml,hl,pl,cl,fl,wl,Dl,Ml,gl,_l,bl,jl,yl,ql,Il,Sl,Cl,Al;return l.e({a:l.t(null==(v=null==(d=null==(a=l.unref(u.useModel))?void 0:a.showData)?void 0:d.value)?void 0:v.title),b:l.t(l.unref(o.showDay)(null==(m=null==(r=null==(t=l.unref(u.useModel))?void 0:t.showData)?void 0:r.value)?void 0:m.start_time)),c:l.t(l.unref(o.showDay)(null==(c=null==(p=null==(h=l.unref(u.useModel))?void 0:h.showData)?void 0:p.value)?void 0:c.end_time)),d:l.p({value:null==(D=null==(w=null==(f=l.unref(u.useModel))?void 0:f.showData)?void 0:w.value)?void 0:D.status,Enums:l.unref(n.ActivitiesStatusEnum)}),e:l.n(`status event_status_${null==(_=null==(g=null==(M=l.unref(u.useModel))?void 0:M.showData)?void 0:g.value)?void 0:_.status}`),f:l.p({content:null==(y=null==(j=null==(b=l.unref(u.useModel))?void 0:b.showData)?void 0:j.value)?void 0:y.content}),g:!(null==(S=null==(I=null==(q=l.unref(u.useModel))?void 0:q.showData)?void 0:I.value)?void 0:S.result)},(null==(U=null==(A=null==(C=l.unref(u.useModel))?void 0:C.showData)?void 0:A.value)?void 0:U.result)?l.e({l:"Cancelled"===(null==(J=null==(G=null==(F=null==(P=l.unref(u.useModel))?void 0:P.showData)?void 0:F.value)?void 0:G.result)?void 0:J.status)&&(null==(Q=null==(O=null==(K=l.unref(u.useModel))?void 0:K.showData)?void 0:O.value)?void 0:Q.is_enroll)&&l.unref(o.getIsInRangeInclusive)(null==(Z=null==(Y=null==(V=l.unref(u.useModel))?void 0:V.showData)?void 0:Y.value)?void 0:Z.start_time,null==(ul=null==(el=null==(ll=l.unref(u.useModel))?void 0:ll.showData)?void 0:el.value)?void 0:ul.end_time)},"Cancelled"===(null==(sl=null==(il=null==(nl=null==(ol=l.unref(u.useModel))?void 0:ol.showData)?void 0:nl.value)?void 0:il.result)?void 0:sl.status)&&(null==(vl=null==(dl=null==(al=l.unref(u.useModel))?void 0:al.showData)?void 0:dl.value)?void 0:vl.is_enroll)&&l.unref(o.getIsInRangeInclusive)(null==(ml=null==(rl=null==(tl=l.unref(u.useModel))?void 0:tl.showData)?void 0:rl.value)?void 0:ml.start_time,null==(cl=null==(pl=null==(hl=l.unref(u.useModel))?void 0:hl.showData)?void 0:pl.value)?void 0:cl.end_time)?{m:l.o((u=>{var o;return null==(o=l.unref(e.method))?void 0:o.handleCancelSignUp("Success")})),n:l.p({size:"md",type:"display",label:"重新报名"})}:{},{o:"Success"===(null==(Ml=null==(Dl=null==(wl=null==(fl=l.unref(u.useModel))?void 0:fl.showData)?void 0:wl.value)?void 0:Dl.result)?void 0:Ml.status)},"Success"===(null==(jl=null==(bl=null==(_l=null==(gl=l.unref(u.useModel))?void 0:gl.showData)?void 0:_l.value)?void 0:bl.result)?void 0:jl.status)?{p:l.o((u=>{var o;return null==(o=l.unref(e.method))?void 0:o.handleCancelSignUp("Cancelled")})),q:l.p({size:"md",type:"display",disabled:!l.unref(o.getIsInRangeInclusive)(null==(Il=null==(ql=null==(yl=l.unref(u.useModel))?void 0:yl.showData)?void 0:ql.value)?void 0:Il.start_time,null==(Al=null==(Cl=null==(Sl=l.unref(u.useModel))?void 0:Sl.showData)?void 0:Cl.value)?void 0:Al.end_time),label:"取消报名"})}:{},{r:l.p({size:"md",type:"primary",label:"分享活动",openType:"share"})}):l.e({h:l.p({size:"md",type:"display",label:"分享活动",openType:"share"}),i:null==($=null==(E=null==(z=l.unref(u.useModel))?void 0:z.showData)?void 0:E.value)?void 0:$.is_enroll},(null==(T=null==(R=null==(x=l.unref(u.useModel))?void 0:x.showData)?void 0:R.value)?void 0:T.is_enroll)?{j:l.o(null==(k=l.unref(e.method))?void 0:k.handleSignUp),k:l.p({size:"md",type:"primary",disabled:!l.unref(o.getIsInRangeInclusive)(null==(N=null==(H=null==(L=l.unref(u.useModel))?void 0:L.showData)?void 0:H.value)?void 0:N.start_time,null==(B=null==(X=null==(W=l.unref(u.useModel))?void 0:W.showData)?void 0:X.value)?void 0:B.end_time),label:"立即报名"})}:{}))})});i.__runtimeHooks=6,wx.createPage(i);
+"use strict";const l=require("../../common/vendor.js"),e=require("./method.js"),u=require("./model.js"),o=require("../../common/libraries/day.js"),n=require("../../gen/Enums.js");if(require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/setTabBar.js"),require("../../common/libraries/apiLoading.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/userUserLogin.js"),require("../../common/libraries/naviHelper.js"),!Array){(l.resolveComponent("hs-enum-tag")+l.resolveComponent("up-parse")+l.resolveComponent("hs-button"))()}Math||((()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../node-modules/uview-plus/components/u-parse/u-parse.js")+(()=>"../../components/hs-button/hs-button.js"))();const i=l.defineComponent({__name:"index",setup:i=>(l.onLoad((l=>{var u;null==(u=e.method)||u.getShow(null==l?void 0:l.id)})),l.onShareAppMessage((()=>{var l,e,o,n,i,s,d,a,v,t;return{title:`您的好友邀请你报名${null==(o=null==(e=null==(l=u.useModel)?void 0:l.showData)?void 0:e.value)?void 0:o.title}`,path:`/INDEX/activities_show/index?id=${null==(s=null==(i=null==(n=u.useModel)?void 0:n.showData)?void 0:i.value)?void 0:s.id}`,imageUrl:null==(t=null==(v=null==(a=null==(d=u.useModel)?void 0:d.showData)?void 0:a.value)?void 0:v.cover_image[0])?void 0:t.url}})),l.onShareTimeline((()=>{var l,e,o,n,i,s,d,a,v,t;return{title:`您的好友邀请你报名${null==(o=null==(e=null==(l=u.useModel)?void 0:l.showData)?void 0:e.value)?void 0:o.title}`,path:`/INDEX/activities_show/index?id=${null==(s=null==(i=null==(n=u.useModel)?void 0:n.showData)?void 0:i.value)?void 0:s.id}`,imageUrl:null==(t=null==(v=null==(a=null==(d=u.useModel)?void 0:d.showData)?void 0:a.value)?void 0:v.cover_image[0])?void 0:t.url}})),(i,s)=>{var d,a,v,t,r,m,h,p,c,f,w,D,M,g,_,b,j,y,q,I,S,C,A,U,z,E,$,x,R,T,k,L,F,H,N,W,X,B,P,G,J,K,O,Q,V,Y,Z,ll,el,ul,ol,nl,il,sl,dl,al,vl,tl,rl,ml,hl,pl,cl,fl,wl,Dl,Ml,gl,_l,bl,jl,yl,ql,Il,Sl,Cl,Al,Ul,zl,El,$l,xl,Rl;return l.e({a:l.t(null==(v=null==(a=null==(d=l.unref(u.useModel))?void 0:d.showData)?void 0:a.value)?void 0:v.title),b:l.t(l.unref(o.showDay)(null==(m=null==(r=null==(t=l.unref(u.useModel))?void 0:t.showData)?void 0:r.value)?void 0:m.start_time)),c:l.t(l.unref(o.showDay)(null==(c=null==(p=null==(h=l.unref(u.useModel))?void 0:h.showData)?void 0:p.value)?void 0:c.end_time)),d:l.p({value:null==(D=null==(w=null==(f=l.unref(u.useModel))?void 0:f.showData)?void 0:w.value)?void 0:D.status,Enums:l.unref(n.ActivitiesStatusEnum)}),e:l.n(`status event_status_${null==(_=null==(g=null==(M=l.unref(u.useModel))?void 0:M.showData)?void 0:g.value)?void 0:_.status}`),f:l.p({content:null==(y=null==(j=null==(b=l.unref(u.useModel))?void 0:b.showData)?void 0:j.value)?void 0:y.content}),g:"Finished"!==(null==(S=null==(I=null==(q=l.unref(u.useModel))?void 0:q.showData)?void 0:I.value)?void 0:S.status)},"Finished"!==(null==(U=null==(A=null==(C=l.unref(u.useModel))?void 0:C.showData)?void 0:A.value)?void 0:U.status)?l.e({h:!(null==($=null==(E=null==(z=l.unref(u.useModel))?void 0:z.showData)?void 0:E.value)?void 0:$.result)},(null==(T=null==(R=null==(x=l.unref(u.useModel))?void 0:x.showData)?void 0:R.value)?void 0:T.result)?l.e({m:"Cancelled"===(null==(Z=null==(Y=null==(V=null==(Q=l.unref(u.useModel))?void 0:Q.showData)?void 0:V.value)?void 0:Y.result)?void 0:Z.status)&&(null==(ul=null==(el=null==(ll=l.unref(u.useModel))?void 0:ll.showData)?void 0:el.value)?void 0:ul.is_enroll)&&l.unref(o.getIsInRangeInclusive)(null==(il=null==(nl=null==(ol=l.unref(u.useModel))?void 0:ol.showData)?void 0:nl.value)?void 0:il.start_time,null==(al=null==(dl=null==(sl=l.unref(u.useModel))?void 0:sl.showData)?void 0:dl.value)?void 0:al.end_time)},"Cancelled"===(null==(ml=null==(rl=null==(tl=null==(vl=l.unref(u.useModel))?void 0:vl.showData)?void 0:tl.value)?void 0:rl.result)?void 0:ml.status)&&(null==(cl=null==(pl=null==(hl=l.unref(u.useModel))?void 0:hl.showData)?void 0:pl.value)?void 0:cl.is_enroll)&&l.unref(o.getIsInRangeInclusive)(null==(Dl=null==(wl=null==(fl=l.unref(u.useModel))?void 0:fl.showData)?void 0:wl.value)?void 0:Dl.start_time,null==(_l=null==(gl=null==(Ml=l.unref(u.useModel))?void 0:Ml.showData)?void 0:gl.value)?void 0:_l.end_time)?{n:l.o((u=>{var o;return null==(o=l.unref(e.method))?void 0:o.handleCancelSignUp("Success")})),o:l.p({size:"md",type:"display",label:"重新报名"})}:{},{p:"Success"===(null==(ql=null==(yl=null==(jl=null==(bl=l.unref(u.useModel))?void 0:bl.showData)?void 0:jl.value)?void 0:yl.result)?void 0:ql.status)},"Success"===(null==(Al=null==(Cl=null==(Sl=null==(Il=l.unref(u.useModel))?void 0:Il.showData)?void 0:Sl.value)?void 0:Cl.result)?void 0:Al.status)?{q:l.o((u=>{var o;return null==(o=l.unref(e.method))?void 0:o.handleCancelSignUp("Cancelled")})),r:l.p({size:"md",type:"display",disabled:!l.unref(o.getIsInRangeInclusive)(null==(El=null==(zl=null==(Ul=l.unref(u.useModel))?void 0:Ul.showData)?void 0:zl.value)?void 0:El.start_time,null==(Rl=null==(xl=null==($l=l.unref(u.useModel))?void 0:$l.showData)?void 0:xl.value)?void 0:Rl.end_time),label:"取消报名"})}:{},{s:l.p({size:"md",type:"primary",label:"分享活动",openType:"share"})}):l.e({i:l.p({size:"md",type:"display",label:"分享活动",openType:"share"}),j:null==(F=null==(L=null==(k=l.unref(u.useModel))?void 0:k.showData)?void 0:L.value)?void 0:F.is_enroll},(null==(W=null==(N=null==(H=l.unref(u.useModel))?void 0:H.showData)?void 0:N.value)?void 0:W.is_enroll)?{k:l.o(null==(X=l.unref(e.method))?void 0:X.handleSignUp),l:l.p({size:"md",type:"primary",disabled:!l.unref(o.getIsInRangeInclusive)(null==(G=null==(P=null==(B=l.unref(u.useModel))?void 0:B.showData)?void 0:P.value)?void 0:G.start_time,null==(O=null==(K=null==(J=l.unref(u.useModel))?void 0:J.showData)?void 0:K.value)?void 0:O.end_time),label:"立即报名"})}:{})):{})})});i.__runtimeHooks=6,wx.createPage(i);
diff --git a/dist/build/mp-weixin/INDEX/activities_show/index.wxml b/dist/build/mp-weixin/INDEX/activities_show/index.wxml
index a075a71..a9c94bb 100644
--- a/dist/build/mp-weixin/INDEX/activities_show/index.wxml
+++ b/dist/build/mp-weixin/INDEX/activities_show/index.wxml
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/dist/build/mp-weixin/INDEX/archive_houses/index.js b/dist/build/mp-weixin/INDEX/archive_houses/index.js
index e593f3d..f6da81c 100644
--- a/dist/build/mp-weixin/INDEX/archive_houses/index.js
+++ b/dist/build/mp-weixin/INDEX/archive_houses/index.js
@@ -1 +1 @@
-"use strict";const e=require("../../common/vendor.js"),o=require("./model.js"),n=require("./method.js");require("../../common/libraries/request.js");const l=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const s=require("../../gen/Enums.js");if(require("../../common/libraries/apiLoading.js"),require("../../gen/Apis.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/userUserLogin.js"),require("../../common/libraries/setTabBar.js"),!Array){(e.resolveComponent("hs-collection")+e.resolveComponent("hs-empty")+e.resolveComponent("up-avatar")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("hs-popup-switch-house"))()}Math||((()=>"../../components/hs-collection/hs-collection.js")+(()=>"../../components/hs-empty/hs-empty.js")+(()=>"../../node-modules/uview-plus/components/u-avatar/u-avatar.js")+(()=>"../../components/hs-enum-tag/hs-enum-tag.js")+u+(()=>"../../components/hs-popup-switch-house/hs-popup-switch-house.js"))();const u=()=>"./components/CreateHousehold.js",a=e.defineComponent({__name:"index",setup(u){const a=e.ref(!1),r=l.useWeAppAuthStore(),t=e=>{var l;console.log(e,"sss"),o.useModel.formData.value.asset_houses_id=null==e?void 0:e.asset_houses_id,null==(l=n.method)||l.handleSearch(),a.value=!1};return e.onHide((()=>{a.value=!1})),e.onLoad((()=>{var e,l,s;o.useModel.formData.value.asset_houses_id=(null==(l=null==(e=null==r?void 0:r.data)?void 0:e.selected_house)?void 0:l.id)||"",null==(s=n.method)||s.handleSearch()})),e.onShareAppMessage((()=>({title:"邀请您加入我的房屋",path:"/pages/index/index",imageUrl:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K5B5RY2TQQAJ1GT2RZSK426V.jpg"}))),e.onShareTimeline((()=>({title:"邀请您加入我的房屋",path:"/pages/index/index",imageUrl:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K5B5RY2TQQAJ1GT2RZSK426V.jpg"}))),(l,u)=>{var r,i,d,h,v,p,m,c,_,g;return{a:e.t((null==(v=null==(h=null==(d=null==(i=null==(r=e.unref(o.useModel))?void 0:r.showData)?void 0:i.value)?void 0:d.house_relation)?void 0:h.asset_house)?void 0:v.full_name)||""),b:e.o((e=>a.value=!0)),c:e.t(null==(c=null==(m=null==(p=e.unref(o.useModel))?void 0:p.showData)?void 0:m.value)?void 0:c.house_occupants_num),d:e.f(null==(g=null==(_=e.unref(o.useModel))?void 0:_.listData)?void 0:g.value,((l,u,a)=>{var r,t;return e.e({a:e.t(null==l?void 0:l.label),b:!(null==(r=l.list)?void 0:r.length)},(null==(t=l.list)?void 0:t.length)?{}:{c:"afe28dc2-1-"+a},{d:e.f(l.list,((l,u,r)=>{var t,i,d,h,v,p,m,c;return e.e({a:"afe28dc2-2-"+a+"-"+r,b:e.t(null==l?void 0:l.name),c:"Owner"===(null==l?void 0:l.house_relation)},"Owner"===(null==l?void 0:l.house_relation)?{d:"afe28dc2-3-"+a+"-"+r,e:e.p({value:null==l?void 0:l.house_relation,Enums:e.unref(s.HouseOccupantsHouseRelationEnum),type:"primary"})}:{},{f:"NonOwner"===(null==l?void 0:l.house_relation)},"NonOwner"===(null==l?void 0:l.house_relation)?{g:"afe28dc2-4-"+a+"-"+r,h:e.p({value:null==l?void 0:l.residential_relation,Enums:e.unref(s.HouseOccupantsResidentialRelationEnum),type:"orange"})}:{},{i:"NonOwner"===(null==l?void 0:l.house_relation)&&"Owner"===(null==(h=null==(d=null==(i=null==(t=e.unref(o.useModel))?void 0:t.showData)?void 0:i.value)?void 0:d.house_relation)?void 0:h.house_relation)},"NonOwner"===(null==l?void 0:l.house_relation)&&"Owner"===(null==(c=null==(m=null==(p=null==(v=e.unref(o.useModel))?void 0:v.showData)?void 0:p.value)?void 0:m.house_relation)?void 0:c.house_relation)?{j:e.o((o=>{var s;return null==(s=e.unref(n.method))?void 0:s.handleRemove(l)}),u)}:{},{k:u})})),e:`item_${u}`})})),e:e.p({text:"U",fontSize:"18",bgColor:"#ffeade",color:"#333"}),f:e.o((e=>a.value=!1)),g:e.o(t),h:e.p({show:a.value,pageSource:"archive_houses"})}}}});a.__runtimeHooks=6,wx.createPage(a);
+"use strict";const e=require("../../common/vendor.js"),o=require("./model.js"),l=require("./method.js");require("../../common/libraries/request.js");const n=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const u=require("../../gen/Enums.js");if(require("../../common/libraries/apiLoading.js"),require("../../gen/Apis.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/userUserLogin.js"),require("../../common/libraries/setTabBar.js"),!Array){(e.resolveComponent("hs-collection")+e.resolveComponent("hs-empty")+e.resolveComponent("up-avatar")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("hs-popup-switch-house"))()}Math||((()=>"../../components/hs-collection/hs-collection.js")+(()=>"../../components/hs-empty/hs-empty.js")+(()=>"../../node-modules/uview-plus/components/u-avatar/u-avatar.js")+(()=>"../../components/hs-enum-tag/hs-enum-tag.js")+s+(()=>"../../components/hs-popup-switch-house/hs-popup-switch-house.js"))();const s=()=>"./components/CreateHousehold.js",a=e.defineComponent({__name:"index",setup(s){const a=e.ref(!1),r=n.useWeAppAuthStore(),t=e=>{var n;console.log(e,"sss"),o.useModel.formData.value.asset_houses_id=null==e?void 0:e.asset_houses_id,null==(n=l.method)||n.handleSearch(),a.value=!1};return e.onHide((()=>{a.value=!1})),e.onLoad((()=>{var e,n,u;o.useModel.formData.value.asset_houses_id=(null==(n=null==(e=null==r?void 0:r.data)?void 0:e.selected_house)?void 0:n.id)||"",null==(u=l.method)||u.handleSearch()})),e.onShareAppMessage((()=>({title:"邀请您加入我的房屋",path:"/pages/index/index",imageUrl:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K5B5RY2TQQAJ1GT2RZSK426V.jpg"}))),e.onShareTimeline((()=>({title:"邀请您加入我的房屋",path:"/pages/index/index",imageUrl:"https://pay-prod-1369486729.cos.ap-guangzhou.myqcloud.com/uploads/cs-test/01K5B5RY2TQQAJ1GT2RZSK426V.jpg"}))),(n,s)=>{var r,i,d,v,h,p,m,c,_,g,f,j,w,q,b,y;return e.e({a:e.t((null==(h=null==(v=null==(d=null==(i=null==(r=e.unref(o.useModel))?void 0:r.showData)?void 0:i.value)?void 0:d.house_relation)?void 0:v.asset_house)?void 0:h.full_name)||""),b:e.o((e=>a.value=!0)),c:e.t(null==(c=null==(m=null==(p=e.unref(o.useModel))?void 0:p.showData)?void 0:m.value)?void 0:c.house_occupants_num),d:!(null==(f=null==(g=null==(_=e.unref(o.useModel))?void 0:_.listData)?void 0:g.value)?void 0:f.length)},(null==(q=null==(w=null==(j=e.unref(o.useModel))?void 0:j.listData)?void 0:w.value)||q.length,{}),{e:e.f(null==(y=null==(b=e.unref(o.useModel))?void 0:b.listData)?void 0:y.value,((n,s,a)=>{var r,t;return e.e({a:e.t(null==n?void 0:n.label),b:!(null==(r=n.list)?void 0:r.length)},(null==(t=n.list)?void 0:t.length)?{}:{c:"afe28dc2-2-"+a},{d:e.f(n.list,((n,s,r)=>{var t,i,d,v,h,p,m,c;return e.e({a:"afe28dc2-3-"+a+"-"+r,b:e.t(null==n?void 0:n.name),c:"Owner"===(null==n?void 0:n.house_relation)},"Owner"===(null==n?void 0:n.house_relation)?{d:"afe28dc2-4-"+a+"-"+r,e:e.p({value:null==n?void 0:n.house_relation,Enums:e.unref(u.HouseOccupantsHouseRelationEnum),type:"primary"})}:{},{f:"NonOwner"===(null==n?void 0:n.house_relation)},"NonOwner"===(null==n?void 0:n.house_relation)?{g:"afe28dc2-5-"+a+"-"+r,h:e.p({value:null==n?void 0:n.residential_relation,Enums:e.unref(u.HouseOccupantsResidentialRelationEnum),type:"orange"})}:{},{i:"NonOwner"===(null==n?void 0:n.house_relation)&&"Owner"===(null==(v=null==(d=null==(i=null==(t=e.unref(o.useModel))?void 0:t.showData)?void 0:i.value)?void 0:d.house_relation)?void 0:v.house_relation)},"NonOwner"===(null==n?void 0:n.house_relation)&&"Owner"===(null==(c=null==(m=null==(p=null==(h=e.unref(o.useModel))?void 0:h.showData)?void 0:p.value)?void 0:m.house_relation)?void 0:c.house_relation)?{j:e.o((o=>{var u;return null==(u=e.unref(l.method))?void 0:u.handleRemove(n)}),s)}:{},{k:s})})),e:`item_${s}`})})),f:e.p({text:"U",fontSize:"18",bgColor:"#ffeade",color:"#333"}),g:e.o((e=>a.value=!1)),h:e.o(t),i:e.p({show:a.value,pageSource:"archive_houses"})})}}});a.__runtimeHooks=6,wx.createPage(a);
diff --git a/dist/build/mp-weixin/INDEX/archive_houses/index.wxml b/dist/build/mp-weixin/INDEX/archive_houses/index.wxml
index b188599..4ed3ba0 100644
--- a/dist/build/mp-weixin/INDEX/archive_houses/index.wxml
+++ b/dist/build/mp-weixin/INDEX/archive_houses/index.wxml
@@ -1 +1 @@
-{{i.b}} 移除该住户
\ No newline at end of file
+{{i.b}} 移除该住户
\ No newline at end of file
diff --git a/dist/build/mp-weixin/INDEX/archive_houses/method.js b/dist/build/mp-weixin/INDEX/archive_houses/method.js
index a86a2f6..36b20ab 100644
--- a/dist/build/mp-weixin/INDEX/archive_houses/method.js
+++ b/dist/build/mp-weixin/INDEX/archive_houses/method.js
@@ -1 +1 @@
-"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/apiLoading.js"),l=require("../../gen/Apis.js"),s=require("./model.js"),n=require("../../common/libraries/naviHelper.js");require("../../common/libraries/request.js");const i=require("../../common/store/useWeAppAuthStore.js"),u=require("../../common/store/useWorkStore.js"),a=require("../../common/libraries/userUserLogin.js");u.useWorkStore();const t=i.useWeAppAuthStore(),r=()=>{var e,n,i;if(!(null==(e=a.getUserLogin)?void 0:e.getLoginStatus()))return;console.log("getList",null==t?void 0:t.data);let u=[],r=[];o.getApiLoading(l.Apis.Archive.HouseOccupants.GetHouseOccupants,{...null==(i=null==(n=s.useModel)?void 0:n.formData)?void 0:i.value}).then((e=>{var o,l;s.useModel.showData.value=null==e?void 0:e.data,null==(l=null==(o=null==e?void 0:e.data)?void 0:o.list)||l.map((e=>{"Owner"===(null==e?void 0:e.house_relation)&&(null==u||u.push(e)),"NonOwner"===(null==e?void 0:e.house_relation)&&(null==r||r.push(e))})),s.useModel.listData.value=[{label:"产权人",list:u||[]},{label:"非产权人",list:r||[]}],console.log(e)}))},d={getList:r,handleSearch:()=>{s.useModel.showData.value={},s.useModel.formData.value.page=1,r()},handleLoadMore(e){s.useModel.formData.value.page=e,r()},handleUnbind(){var i,u,a,t;o.getApiLoading(l.Apis.Archive.HouseOccupants.Unbind,{asset_houses_id:null==(t=null==(a=null==(u=null==(i=s.useModel)?void 0:i.showData)?void 0:u.value)?void 0:a.house_relation)?void 0:t.asset_houses_id}).then((o=>{n.showToast("解绑成功!"),e.index.switchTab({url:"/pages/index/index"}),console.log(o)}))},hadnleNewBindingHouse(){var o;e.index.navigateTo({url:(null==(o=a.getUserLogin)?void 0:o.getLoginStatus())?"/INDEX/binding/index":"/pages/login"})},handleRemove(i){e.index.showModal({title:"提示",content:"确定要移除当前人员!",confirmColor:"#2A7EFB",success:function(e){var u,a,t,d;e.confirm?(o.getApiLoading(l.Apis.Archive.HouseOccupants.DeleteOccupant,{asset_houses_id:null==(d=null==(t=null==(a=null==(u=s.useModel)?void 0:u.showData)?void 0:a.value)?void 0:t.house_relation)?void 0:d.asset_houses_id,house_occupants_id:null==i?void 0:i.id}).then((e=>{r(),n.showToast("移除成功!"),console.log(e)})),console.log("用户点击确定")):e.cancel&&console.log("用户点击取消")}})}};exports.method=d;
+"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/apiLoading.js"),l=require("../../gen/Apis.js"),s=require("./model.js"),i=require("../../common/libraries/naviHelper.js");require("../../common/libraries/request.js");const n=require("../../common/store/useWeAppAuthStore.js"),u=require("../../common/store/useWorkStore.js"),a=require("../../common/libraries/userUserLogin.js");u.useWorkStore();const t=n.useWeAppAuthStore(),r=()=>{var e,i,n;if(!(null==(e=a.getUserLogin)?void 0:e.getLoginStatus()))return;console.log("getList",null==t?void 0:t.data);let u=[],r=[];o.getApiLoading(l.Apis.Archive.HouseOccupants.GetHouseOccupants,{...null==(n=null==(i=s.useModel)?void 0:i.formData)?void 0:n.value}).then((e=>{var o,l;s.useModel.showData.value=null==e?void 0:e.data,null==(l=null==(o=null==e?void 0:e.data)?void 0:o.list)||l.map((e=>{"Owner"===(null==e?void 0:e.house_relation)&&(null==u||u.push(e)),"NonOwner"===(null==e?void 0:e.house_relation)&&(null==r||r.push(e))})),s.useModel.listData.value=[{label:"产权人",list:u||[]},{label:"非产权人",list:r||[]}],console.log(e)}))},d={getList:r,handleSearch:()=>{var e,o,l;s.useModel.showData.value={},s.useModel.formData.value.page=1,(null==(l=null==(o=null==(e=s.useModel)?void 0:e.formData)?void 0:o.value)?void 0:l.asset_houses_id)&&r()},handleLoadMore(e){s.useModel.formData.value.page=e,r()},handleUnbind(){var n,u,a,t;o.getApiLoading(l.Apis.Archive.HouseOccupants.Unbind,{asset_houses_id:null==(t=null==(a=null==(u=null==(n=s.useModel)?void 0:n.showData)?void 0:u.value)?void 0:a.house_relation)?void 0:t.asset_houses_id}).then((o=>{i.showToast("解绑成功!"),e.index.switchTab({url:"/pages/index/index"}),console.log(o)}))},hadnleNewBindingHouse(){var o;e.index.navigateTo({url:(null==(o=a.getUserLogin)?void 0:o.getLoginStatus())?"/INDEX/binding/index":"/pages/login"})},handleRemove(n){e.index.showModal({title:"提示",content:"确定要移除当前人员!",confirmColor:"#2A7EFB",success:function(e){var u,a,t,d;e.confirm?(o.getApiLoading(l.Apis.Archive.HouseOccupants.DeleteOccupant,{asset_houses_id:null==(d=null==(t=null==(a=null==(u=s.useModel)?void 0:u.showData)?void 0:a.value)?void 0:t.house_relation)?void 0:d.asset_houses_id,house_occupants_id:null==n?void 0:n.id}).then((e=>{r(),i.showToast("移除成功!"),console.log(e)})),console.log("用户点击确定")):e.cancel&&console.log("用户点击取消")}})}};exports.method=d;
diff --git a/dist/build/mp-weixin/INDEX/binding/index.js b/dist/build/mp-weixin/INDEX/binding/index.js
index b726217..6d615c4 100644
--- a/dist/build/mp-weixin/INDEX/binding/index.js
+++ b/dist/build/mp-weixin/INDEX/binding/index.js
@@ -1 +1 @@
-"use strict";const e=require("../../common/vendor.js"),o=require("../../gen/Enums.js"),l=require("./method.js"),r=require("./model.js"),u=require("../../common/libraries/getPageConfig.js");if(require("../../common/libraries/apiLoading.js"),require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/setTabBar.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/userUserLogin.js"),!Array){(e.resolveComponent("hs-popup-project")+e.resolveComponent("hs-radio")+e.resolveComponent("hs-cell")+e.resolveComponent("hs-input")+e.resolveComponent("hs-upload-id-card")+e.resolveComponent("hs-upload")+e.resolveComponent("hs-radio-cell-picker-select")+e.resolveComponent("hs-radio-cell-picker")+e.resolveComponent("hs-footer")+e.resolveComponent("hs-button")+e.resolveComponent("hs-popup-custom"))()}Math||((()=>"../../components/hs-popup-project/hs-popup-project.js")+(()=>"../../components/hs-radio/hs-radio.js")+(()=>"../../components/hs-cell/hs-cell.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-radio-cell-picker-select/hs-radio-cell-picker-select.js")+(()=>"../../components/hs-radio-cell-picker/hs-radio-cell-picker.js")+(()=>"../../components/hs-footer/hs-footer.js")+(()=>"../../components/hs-button/hs-button.js")+(()=>"../../components/hs-popup-custom/hs-popup-custom.js"))();const n=e.defineComponent({__name:"index",setup(n){const a={AddOwner:{text:"产权人",color:"#52c41a",value:"AddOwner"},AddOccupant:{text:"非产权人",color:"#108ee9",value:"AddOccupant"}},t={Resident:"【住户】指的是产权人的亲属",PrimaryTenant:"【主租人】与产权人签订租赁合同的租户",Tenant:"【租客】由主租人带入、共同居住的租户"};return e.watch((()=>{var e,o,l;return null==(l=null==(o=null==(e=r.useModel)?void 0:e.formData)?void 0:o.value)?void 0:l.asset_houses_id}),(()=>{var e;null==(e=l.method)||e.handleSelectResidentialRelation()})),e.onUnload((()=>{r.useModel.defaultHouseValueName.value=""})),e.onLoad((e=>{var o;console.log("绑定",e),null==(o=l.method)||o.init(e)})),(n,d)=>{var s,i,p,m,f,v,c,h,M,D,b,_,j,g,q,y,w,C,A,S,T,x,O,k,R,L,E,V,H;return e.e({a:e.s(`border-left: 3px solid ${e.unref(u.getStyleColorValueInfo)()}`),b:e.o(null==(s=e.unref(l.method))?void 0:s.handleSelectProject),c:e.p({title:"选择房屋",defaultValueName:null==(p=null==(i=e.unref(r.useModel))?void 0:i.defaultHouseValueName)?void 0:p.value}),d:null==(v=null==(f=null==(m=e.unref(r.useModel))?void 0:m.formData)?void 0:f.value)?void 0:v.asset_houses_id},(null==(M=null==(h=null==(c=e.unref(r.useModel))?void 0:c.formData)?void 0:h.value)?void 0:M.asset_houses_id)?e.e({e:e.s(`border-left: 3px solid ${e.unref(u.getStyleColorValueInfo)()}`),f:e.o(null==(D=e.unref(l.method))?void 0:D.handleSelectType),g:e.o((o=>e.unref(r.useModel).formData.value.type=o)),h:e.p({Enums:a,required:!0,borderTop:!0,valueModel:e.unref(r.useModel).formData.value.type}),i:e.p({title:"身份",required:!0,borderTop:!0}),j:"AddOccupant"===(null==(j=null==(_=null==(b=e.unref(r.useModel))?void 0:b.formData)?void 0:_.value)?void 0:j.type)},"AddOccupant"===(null==(y=null==(q=null==(g=e.unref(r.useModel))?void 0:g.formData)?void 0:q.value)?void 0:y.type)?{k:e.o((o=>e.unref(r.useModel).formData.value.residential_relation=o)),l:e.p({Enums:e.unref(o.HouseOccupantsResidentialRelationEnum),required:!0,borderTop:!0,valueModel:e.unref(r.useModel).formData.value.residential_relation}),m:e.p({title:"居住身份",required:!0,borderTop:!0,des:t[null==(A=null==(C=null==(w=e.unref(r.useModel))?void 0:w.formData)?void 0:C.value)?void 0:A.residential_relation]})}:{}):{},{n:e.unref(r.useModel).formData.value.type},e.unref(r.useModel).formData.value.type?{o:e.s(`border-left: 3px solid ${e.unref(u.getStyleColorValueInfo)()}`),p:e.o((o=>e.unref(r.useModel).formData.value.name=o)),q:e.p({textAlign:"right",valueModel:e.unref(r.useModel).formData.value.name}),r:e.p({title:"真实姓名",required:!0,borderTop:!0}),s:e.o((o=>e.unref(r.useModel).formData.value.phone=o)),t:e.p({maxLength:"11",textAlign:"right",valueModel:e.unref(r.useModel).formData.value.phone}),v:e.p({title:"手机号",required:!0,borderTop:!0}),w:e.o((o=>e.unref(r.useModel).formData.value.id_card=o)),x:e.p({maxLength:"18",textAlign:"right",valueModel:e.unref(r.useModel).formData.value.id_card}),y:e.p({title:"身份证号",required:!0,borderTop:!0})}:{},{z:e.unref(r.useModel).formData.value.type},e.unref(r.useModel).formData.value.type?e.e({A:e.o((o=>e.unref(r.useModel).formData.value.card_front_image=o)),B:e.o((o=>e.unref(r.useModel).formData.value.card_back_image=o)),C:e.p({required:!0,valueFrontModel:e.unref(r.useModel).formData.value.card_front_image,valueBackModel:e.unref(r.useModel).formData.value.card_back_image}),D:"AddOwner"===e.unref(r.useModel).formData.value.type},"AddOwner"===e.unref(r.useModel).formData.value.type?{E:e.o((o=>e.unref(r.useModel).formData.value.ownership_info=o)),F:e.p({title:"上传房产证",count:10,size:4,required:!0,borderTop:!0,valueModel:e.unref(r.useModel).formData.value.ownership_info})}:{}):{},{G:"Resident"===e.unref(r.useModel).formData.value.residential_relation},"Resident"===e.unref(r.useModel).formData.value.residential_relation?{H:e.s(`border-left: 3px solid ${e.unref(u.getStyleColorValueInfo)()}`),I:e.o((o=>e.unref(r.useModel).formData.value.owners_id=o)),J:e.p({title:"房屋产权人",List:null==(T=null==(S=e.unref(r.useModel))?void 0:S.ownerList)?void 0:T.value,borderTop:!0,valueModel:e.unref(r.useModel).formData.value.owners_id}),K:e.o((o=>e.unref(r.useModel).formData.value.relation_with_owner=o)),L:e.p({Enums:e.unref(o.HouseOccupantsRelationWithOwnerEnum),title:"与产权人关系",borderTop:!0,valueModel:e.unref(r.useModel).formData.value.relation_with_owner})}:{},{M:e.o(null==(x=e.unref(l.method))?void 0:x.handleSubmit),N:e.p({btnParimaryName:"绑定房屋",loading:null==(k=null==(O=e.unref(r.useModel))?void 0:O.loading)?void 0:k.value}),O:e.o(null==(R=e.unref(l.method))?void 0:R.handleSubmitStore),P:e.p({label:"我也是产权人之一",size:"md",type:"primary"}),Q:e.o(null==(L=e.unref(l.method))?void 0:L.handleSubmitStore),R:e.p({label:"我是新产权人(房屋已过户)",size:"md",type:"display"}),S:e.o(null==(E=e.unref(l.method))?void 0:E.handleClose),T:e.p({label:"重选房屋",size:"md",type:"default"}),U:e.p({title:"该房屋已有产权人",show:null==(H=null==(V=e.unref(r.useModel))?void 0:V.show)?void 0:H.value,mode:"center"})})}}});wx.createPage(n);
+"use strict";const e=require("../../common/vendor.js"),o=require("../../gen/Enums.js"),l=require("./method.js"),r=require("./model.js"),u=require("../../common/libraries/getPageConfig.js");if(require("../../common/libraries/apiLoading.js"),require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/setTabBar.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/userUserLogin.js"),!Array){(e.resolveComponent("hs-popup-project")+e.resolveComponent("hs-radio")+e.resolveComponent("hs-cell")+e.resolveComponent("hs-input")+e.resolveComponent("hs-upload-id-card")+e.resolveComponent("hs-upload")+e.resolveComponent("hs-radio-cell-picker-select")+e.resolveComponent("hs-radio-cell-picker")+e.resolveComponent("hs-footer")+e.resolveComponent("hs-button")+e.resolveComponent("hs-popup-custom"))()}Math||((()=>"../../components/hs-popup-project/hs-popup-project.js")+(()=>"../../components/hs-radio/hs-radio.js")+(()=>"../../components/hs-cell/hs-cell.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-radio-cell-picker-select/hs-radio-cell-picker-select.js")+(()=>"../../components/hs-radio-cell-picker/hs-radio-cell-picker.js")+(()=>"../../components/hs-footer/hs-footer.js")+(()=>"../../components/hs-button/hs-button.js")+(()=>"../../components/hs-popup-custom/hs-popup-custom.js"))();const n=e.defineComponent({__name:"index",setup(n){const a={AddOwner:{text:"产权人",color:"#52c41a",value:"AddOwner"},AddOccupant:{text:"非产权人",color:"#108ee9",value:"AddOccupant"}},t={Resident:"【住户】指的是产权人的亲属",PrimaryTenant:"【主租人】与产权人签订租赁合同的租户",Tenant:"【租客】由主租人带入、共同居住的租户"};return e.watch((()=>{var e,o,l;return null==(l=null==(o=null==(e=r.useModel)?void 0:e.formData)?void 0:o.value)?void 0:l.asset_houses_id}),(()=>{var e;null==(e=l.method)||e.handleSelectResidentialRelation()})),e.onUnload((()=>{r.useModel.defaultHouseValueName.value=""})),e.onLoad((e=>{var o;console.log("绑定",e),null==(o=l.method)||o.init(e)})),(n,d)=>{var s,i,p,m,f,v,c,h,M,D,b,_,j,g,q,y,w,C,A,S,T,x,O,k,L,E,R,V,H;return e.e({a:e.s(`border-left: 3px solid ${e.unref(u.getStyleColorValueInfo)()}`),b:e.o(null==(s=e.unref(l.method))?void 0:s.handleSelectProject),c:e.p({title:"选择房屋",defaultValueName:null==(p=null==(i=e.unref(r.useModel))?void 0:i.defaultHouseValueName)?void 0:p.value}),d:null==(v=null==(f=null==(m=e.unref(r.useModel))?void 0:m.formData)?void 0:f.value)?void 0:v.asset_houses_id},(null==(M=null==(h=null==(c=e.unref(r.useModel))?void 0:c.formData)?void 0:h.value)?void 0:M.asset_houses_id)?e.e({e:e.s(`border-left: 3px solid ${e.unref(u.getStyleColorValueInfo)()}`),f:e.o(null==(D=e.unref(l.method))?void 0:D.handleSelectType),g:e.o((o=>e.unref(r.useModel).formData.value.type=o)),h:e.p({Enums:a,required:!0,borderTop:!0,valueModel:e.unref(r.useModel).formData.value.type}),i:e.p({title:"身份",required:!0,borderTop:!0}),j:"AddOccupant"===(null==(j=null==(_=null==(b=e.unref(r.useModel))?void 0:b.formData)?void 0:_.value)?void 0:j.type)},"AddOccupant"===(null==(y=null==(q=null==(g=e.unref(r.useModel))?void 0:g.formData)?void 0:q.value)?void 0:y.type)?{k:e.o((o=>e.unref(r.useModel).formData.value.residential_relation=o)),l:e.p({Enums:e.unref(r.useModel).HouseOccupantsEnum.value,required:!0,borderTop:!0,valueModel:e.unref(r.useModel).formData.value.residential_relation}),m:e.p({title:"居住身份",required:!0,borderTop:!0,des:t[null==(A=null==(C=null==(w=e.unref(r.useModel))?void 0:w.formData)?void 0:C.value)?void 0:A.residential_relation]})}:{}):{},{n:e.unref(r.useModel).formData.value.type},e.unref(r.useModel).formData.value.type?{o:e.s(`border-left: 3px solid ${e.unref(u.getStyleColorValueInfo)()}`),p:e.o((o=>e.unref(r.useModel).formData.value.name=o)),q:e.p({textAlign:"right",valueModel:e.unref(r.useModel).formData.value.name}),r:e.p({title:"真实姓名",required:!0,borderTop:!0}),s:e.o((o=>e.unref(r.useModel).formData.value.phone=o)),t:e.p({maxLength:"11",textAlign:"right",valueModel:e.unref(r.useModel).formData.value.phone}),v:e.p({title:"手机号",required:!0,borderTop:!0}),w:e.o((o=>e.unref(r.useModel).formData.value.id_card=o)),x:e.p({maxLength:"18",textAlign:"right",valueModel:e.unref(r.useModel).formData.value.id_card}),y:e.p({title:"身份证号",required:!0,borderTop:!0})}:{},{z:e.unref(r.useModel).formData.value.type},e.unref(r.useModel).formData.value.type?e.e({A:e.o((o=>e.unref(r.useModel).formData.value.card_front_image=o)),B:e.o((o=>e.unref(r.useModel).formData.value.card_back_image=o)),C:e.p({required:!0,valueFrontModel:e.unref(r.useModel).formData.value.card_front_image,valueBackModel:e.unref(r.useModel).formData.value.card_back_image}),D:"AddOwner"===e.unref(r.useModel).formData.value.type},"AddOwner"===e.unref(r.useModel).formData.value.type?{E:e.o((o=>e.unref(r.useModel).formData.value.ownership_info=o)),F:e.p({title:"上传房产证",count:10,size:4,required:!0,borderTop:!0,valueModel:e.unref(r.useModel).formData.value.ownership_info})}:{}):{},{G:"Resident"===e.unref(r.useModel).formData.value.residential_relation},"Resident"===e.unref(r.useModel).formData.value.residential_relation?{H:e.s(`border-left: 3px solid ${e.unref(u.getStyleColorValueInfo)()}`),I:e.o((o=>e.unref(r.useModel).formData.value.owners_id=o)),J:e.p({title:"房屋产权人",List:null==(T=null==(S=e.unref(r.useModel))?void 0:S.ownerList)?void 0:T.value,borderTop:!0,valueModel:e.unref(r.useModel).formData.value.owners_id}),K:e.o((o=>e.unref(r.useModel).formData.value.relation_with_owner=o)),L:e.p({Enums:e.unref(o.HouseOccupantsRelationWithOwnerEnum),title:"与产权人关系",borderTop:!0,valueModel:e.unref(r.useModel).formData.value.relation_with_owner})}:{},{M:e.o(null==(x=e.unref(l.method))?void 0:x.handleSubmit),N:e.p({btnParimaryName:"绑定房屋",loading:null==(k=null==(O=e.unref(r.useModel))?void 0:O.loading)?void 0:k.value}),O:e.o(null==(L=e.unref(l.method))?void 0:L.handleSubmitStore),P:e.p({label:"我也是产权人之一",size:"md",type:"primary"}),Q:e.o(null==(E=e.unref(l.method))?void 0:E.handleSubmitStore),R:e.p({label:"我是新产权人(房屋已过户)",size:"md",type:"display"}),S:e.o(null==(R=e.unref(l.method))?void 0:R.handleClose),T:e.p({label:"重选房屋",size:"md",type:"default"}),U:e.p({title:"该房屋已有产权人",show:null==(H=null==(V=e.unref(r.useModel))?void 0:V.show)?void 0:H.value,mode:"center"})})}}});wx.createPage(n);
diff --git a/dist/build/mp-weixin/INDEX/binding/method.js b/dist/build/mp-weixin/INDEX/binding/method.js
index 992e92e..3808712 100644
--- a/dist/build/mp-weixin/INDEX/binding/method.js
+++ b/dist/build/mp-weixin/INDEX/binding/method.js
@@ -1 +1 @@
-"use strict";const e=require("../../common/vendor.js"),o=require("./model.js"),l=require("../../common/libraries/apiLoading.js"),s=require("../../gen/Apis.js");require("../../common/libraries/request.js");const a=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const u=require("../../common/libraries/naviHelper.js"),i=require("../../common/libraries/userUserLogin.js"),n=a.useWeAppAuthStore(),d=()=>{var a,u,i;l.getApiLoading(s.Apis.Archive.HouseRegisters.Store,{...o.useModel.formData.value,is_live_in:(null==(i=null==(u=null==(a=o.useModel)?void 0:a.formData)?void 0:u.value)?void 0:i.is_live_in)?1:0,customer_info:[o.useModel.formData.value]}).then((l=>{o.useModel.loading.value=!1,o.useModel.show.value=!1,e.index.redirectTo({url:"/INDEX/binding/success"}),null==n||n.getIsHouseExist(),console.log(l)})).catch((e=>{o.useModel.loading.value=!1,o.useModel.show.value=!1}))},r={handleSubmitStore:d,handleSelectProject:e=>{var l;e[3]?o.useModel.formData.value.asset_houses_id=null==(l=e[3])?void 0:l.id:o.useModel.formData.value.asset_houses_id="",console.log(e,"e")},init(e){var l,s;o.useModel.defaultHouseValueName.value=(null==e?void 0:e.houseName)||"",o.useModel.formData.value={asset_houses_id:(null==e?void 0:e.id)||"",type:"",customer_info:[],name:"",phone:(null==(s=null==(l=null==n?void 0:n.data)?void 0:l.user)?void 0:s.phone)||"",card_front_image:[],card_back_image:[],house_relation:"",card_type:"MainlandID",relation_with_owner:"",ownership_info:[],id_card:"",move_in_date:"",is_live_in:!0}},handleIsLiveIn(e){var l;o.useModel.formData.value.is_live_in=null==(l=null==e?void 0:e.detail)?void 0:l.value,console.log(e,"e")},handleSubmit:l=>{var s,a,n,r,t,v,m,c,h;return!!(null==(s=i.getUserLogin)?void 0:s.onBindPhone())&&(o.useModel.formData.value.asset_houses_id?o.useModel.formData.value.type?o.useModel.formData.value.name&&o.useModel.formData.value.phone?o.useModel.formData.value.id_card?(null==(a=o.useModel.formData.value.card_front_image)?void 0:a.length)&&(null==(n=o.useModel.formData.value.card_back_image)?void 0:n.length)?"AddOwner"!==o.useModel.formData.value.type||(null==(t=null==(r=o.useModel.formData.value)?void 0:r.ownership_info)?void 0:t.length)?void("AddOwner"===o.useModel.formData.value.type&&(null==(c=null==(m=null==(v=o.useModel)?void 0:v.ownerList)?void 0:m.value)?void 0:c.length)?o.useModel.show.value=!0:(o.useModel.loading.value=!0,console.log(null==(h=o.useModel)?void 0:h.formData.value,"formData"),e.index.requestSubscribeMessage({tmplIds:["0nIVHQNvIco7zeTWv-W3_MbZFR9ibIXejLxh2OFo5mg"],success(e){console.log(e),d()},fail(e){d(),console.log(e,"res定远失败")}}))):u.showToast("请先上传房产证!"):u.showToast("请先上传身份证正反面!"):u.showToast("请设置身份证号!"):u.showToast("请设置姓名和手机号!"):u.showToast("请先选择身份!"):u.showToast("请先选择房屋!"))},handleClose(){o.useModel.show.value=!1},handleSelectType(e){o.useModel.formData.value.house_relation="AddOwner"===(null==e?void 0:e.value)?"Owner":"NonOwner",console.log(e)},handleSelectResidentialRelation(){var e,a,u,i,n,d;(null==(u=null==(a=null==(e=o.useModel)?void 0:e.formData)?void 0:a.value)?void 0:u.asset_houses_id)&&l.getApiLoading(s.Apis.Archive.HouseOccupants.GetOwner,{asset_houses_id:null==(d=null==(n=null==(i=o.useModel)?void 0:i.formData)?void 0:n.value)?void 0:d.asset_houses_id}).then((e=>{o.useModel.ownerList.value=(null==e?void 0:e.data)||[],console.log(e)}))}};exports.method=r;
+"use strict";const e=require("../../common/vendor.js"),o=require("./model.js"),l=require("../../common/libraries/apiLoading.js"),s=require("../../gen/Apis.js");require("../../common/libraries/request.js");const a=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const u=require("../../common/libraries/naviHelper.js"),i=require("../../common/libraries/userUserLogin.js"),n=require("../../gen/Enums.js"),d=a.useWeAppAuthStore(),r=()=>{var a,u,i;l.getApiLoading(s.Apis.Archive.HouseRegisters.Store,{...o.useModel.formData.value,is_live_in:(null==(i=null==(u=null==(a=o.useModel)?void 0:a.formData)?void 0:u.value)?void 0:i.is_live_in)?1:0,customer_info:[o.useModel.formData.value]}).then((l=>{o.useModel.loading.value=!1,o.useModel.show.value=!1,e.index.redirectTo({url:"/INDEX/binding/success"}),null==d||d.getIsHouseExist(),console.log(l)})).catch((e=>{o.useModel.loading.value=!1,o.useModel.show.value=!1}))},t={handleSubmitStore:r,handleSelectProject:e=>{var l;e[3]?o.useModel.formData.value.asset_houses_id=null==(l=e[3])?void 0:l.id:o.useModel.formData.value.asset_houses_id="",console.log(e,"e")},init(e){var l,s;let a=n.HouseOccupantsResidentialRelationEnum;delete a.PropertyOwner,o.useModel.HouseOccupantsEnum.value=a,o.useModel.defaultHouseValueName.value=(null==e?void 0:e.houseName)||"",o.useModel.formData.value={asset_houses_id:(null==e?void 0:e.id)||"",type:"",customer_info:[],name:"",phone:(null==(s=null==(l=null==d?void 0:d.data)?void 0:l.user)?void 0:s.phone)||"",card_front_image:[],card_back_image:[],house_relation:"",card_type:"MainlandID",relation_with_owner:"",ownership_info:[],id_card:"",move_in_date:"",is_live_in:!0}},handleIsLiveIn(e){var l;o.useModel.formData.value.is_live_in=null==(l=null==e?void 0:e.detail)?void 0:l.value,console.log(e,"e")},handleSubmit:l=>{var s,a,n,d,t,v,m,c,h;return!!(null==(s=i.getUserLogin)?void 0:s.onBindPhone())&&(o.useModel.formData.value.asset_houses_id?o.useModel.formData.value.type?o.useModel.formData.value.name&&o.useModel.formData.value.phone?o.useModel.formData.value.id_card?(null==(a=o.useModel.formData.value.card_front_image)?void 0:a.length)&&(null==(n=o.useModel.formData.value.card_back_image)?void 0:n.length)?"AddOwner"!==o.useModel.formData.value.type||(null==(t=null==(d=o.useModel.formData.value)?void 0:d.ownership_info)?void 0:t.length)?void("AddOwner"===o.useModel.formData.value.type&&(null==(c=null==(m=null==(v=o.useModel)?void 0:v.ownerList)?void 0:m.value)?void 0:c.length)?o.useModel.show.value=!0:(o.useModel.loading.value=!0,console.log(null==(h=o.useModel)?void 0:h.formData.value,"formData"),e.index.requestSubscribeMessage({tmplIds:["0nIVHQNvIco7zeTWv-W3_MbZFR9ibIXejLxh2OFo5mg"],success(e){console.log(e),r()},fail(e){r(),console.log(e,"res定远失败")}}))):u.showToast("请先上传房产证!"):u.showToast("请先上传身份证正反面!"):u.showToast("请设置身份证号!"):u.showToast("请设置姓名和手机号!"):u.showToast("请先选择身份!"):u.showToast("请先选择房屋!"))},handleClose(){o.useModel.show.value=!1},handleSelectType(e){o.useModel.formData.value.house_relation="AddOwner"===(null==e?void 0:e.value)?"Owner":"NonOwner",console.log(e)},handleSelectResidentialRelation(){var e,a,u,i,n,d;(null==(u=null==(a=null==(e=o.useModel)?void 0:e.formData)?void 0:a.value)?void 0:u.asset_houses_id)&&l.getApiLoading(s.Apis.Archive.HouseOccupants.GetOwner,{asset_houses_id:null==(d=null==(n=null==(i=o.useModel)?void 0:i.formData)?void 0:n.value)?void 0:d.asset_houses_id}).then((e=>{o.useModel.ownerList.value=(null==e?void 0:e.data)||[],console.log(e)}))}};exports.method=t;
diff --git a/dist/build/mp-weixin/INDEX/binding/model.js b/dist/build/mp-weixin/INDEX/binding/model.js
index 3d9540d..19b58a6 100644
--- a/dist/build/mp-weixin/INDEX/binding/model.js
+++ b/dist/build/mp-weixin/INDEX/binding/model.js
@@ -1 +1 @@
-"use strict";const e=require("../../common/vendor.js"),r={formData:e.ref({}),ownerList:e.ref([]),show:e.ref(!1),defaultHouseValueName:e.ref(""),loading:e.ref(!1)};exports.useModel=r;
+"use strict";const e=require("../../common/vendor.js"),r={formData:e.ref({}),ownerList:e.ref([]),show:e.ref(!1),defaultHouseValueName:e.ref(""),loading:e.ref(!1),HouseOccupantsEnum:e.ref({})};exports.useModel=r;
diff --git a/dist/build/mp-weixin/ME/payment_pre_stored/index.wxml b/dist/build/mp-weixin/ME/payment_pre_stored/index.wxml
index 13a74e6..c65561b 100644
--- a/dist/build/mp-weixin/ME/payment_pre_stored/index.wxml
+++ b/dist/build/mp-weixin/ME/payment_pre_stored/index.wxml
@@ -1 +1 @@
-{{i.e}} 预缴余额(元) 收支记录 不可开通预缴房屋({{g}}) {{i.e}} 预缴余额(元) 收支记录
\ No newline at end of file
+{{i.e}} 预缴余额(元) 收支记录 不可开通预缴房屋({{g}}) {{i.e}} 预缴余额(元) 收支记录
\ No newline at end of file
diff --git a/dist/build/mp-weixin/WORKORDER/show/index.js b/dist/build/mp-weixin/WORKORDER/show/index.js
index 84e6edb..e227d56 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("./method.js"),o=require("./model.js"),u=require("../../common/libraries/getPageConfig.js"),n=require("../../gen/Enums.js"),d=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/libraries/setTabBar.js"),require("../../common/store/useWorkStore.js"),!Array){(l.resolveComponent("hs-enum-tag")+l.resolveComponent("hs-up-rate")+l.resolveComponent("up-icon")+l.resolveComponent("uni-icons")+l.resolveComponent("hs-popup-evaluate"))()}Math||((()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../components/hs-up-rate/hs-up-rate.js")+a+(()=>"../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-popup-evaluate/hs-popup-evaluate.js"))();const a=()=>"./components/ProcessLogs.js",v=l.defineComponent({__name:"index",setup:a=>(l.onLoad((l=>{var o;e.method.getShow(null==l?void 0:l.id),null==(o=e.method)||o.getHouseWorkLogs(null==l?void 0:l.id)})),l.onShow((()=>{var l,u,n,d,a,v,i,t,s,r,h;(null==(n=null==(u=null==(l=o.useModel)?void 0:l.dataShow)?void 0:u.value)?void 0:n.id)&&(null==(i=e.method)||i.getShow(null==(v=null==(a=null==(d=o.useModel)?void 0:d.dataShow)?void 0:a.value)?void 0:v.id),null==(h=e.method)||h.getHouseWorkLogs(null==(r=null==(s=null==(t=o.useModel)?void 0:t.dataShow)?void 0:s.value)?void 0:r.id))})),l.onUnload((()=>{o.useModel.dataShow.value=void 0,o.useModel.logsData.value=[]})),(a,v)=>{var i,t,s,r,h,f,m,c,w,p,S,M,g,C,_,P,j,q,y,A,b,k,E,L,W,x,B,H,R,I,T,O,z,D,F,U,$,G,J,K,N,Q,V,X,Y,Z,ll,el,ol,ul,nl,dl,al,vl,il,tl,sl,rl,hl,fl,ml,cl,wl,pl,Sl,Ml,gl,Cl,_l,Pl,jl,ql,yl,Al,bl,kl,El,Ll,Wl,xl,Bl,Hl,Rl,Il,Tl,Ol,zl,Dl,Fl,Ul,$l,Gl,Jl,Kl,Nl,Ql,Vl,Xl,Yl,Zl,le,ee,oe,ue,ne,de,ae,ve,ie,te,se,re,he,fe,me,ce,we,pe,Se,Me,ge,Ce,_e,Pe,je,qe,ye,Ae,be,ke,Ee,Le,We,xe,Be,He,Re,Ie,Te,Oe,ze,De,Fe,Ue,$e,Ge,Je,Ke,Ne,Qe,Ve,Xe,Ye,Ze,lo,eo,oo,uo,no,ao;return l.e({a:l.p({value:null==(s=null==(t=null==(i=l.unref(o.useModel))?void 0:i.dataShow)?void 0:t.value)?void 0:s.type,Enums:l.unref(n.HouseWorkOrdersTypeEnum)}),b:null==(f=null==(h=null==(r=l.unref(o.useModel))?void 0:r.dataShow)?void 0:h.value)?void 0:f.location},(null==(w=null==(c=null==(m=l.unref(o.useModel))?void 0:m.dataShow)?void 0:c.value)?void 0:w.location)?{c:l.p({value:null==(M=null==(S=null==(p=l.unref(o.useModel))?void 0:p.dataShow)?void 0:S.value)?void 0:M.location,Enums:l.unref(n.HouseWorkOrdersLocationEnum)})}:{},{d:l.p({value:null==(_=null==(C=null==(g=l.unref(o.useModel))?void 0:g.dataShow)?void 0:C.value)?void 0:_.status,Enums:l.unref(n.HouseWorkOrdersStatusEnum)}),e:l.n(`btn_status btn_status_${null==(q=null==(j=null==(P=l.unref(o.useModel))?void 0:P.dataShow)?void 0:j.value)?void 0:q.status}`),f:l.t(null==(k=null==(b=null==(A=null==(y=l.unref(o.useModel))?void 0:y.dataShow)?void 0:A.value)?void 0:b.asset_house)?void 0:k.full_name),g:l.t(null==(W=null==(L=null==(E=l.unref(o.useModel))?void 0:E.dataShow)?void 0:L.value)?void 0:W.title),h:l.t(null==(H=null==(B=null==(x=l.unref(o.useModel))?void 0:x.dataShow)?void 0:B.value)?void 0:H.content),i:l.f(null==(T=null==(I=null==(R=l.unref(o.useModel))?void 0:R.dataShow)?void 0:I.value)?void 0:T.attachments,((l,e,o)=>({a:null==l?void 0:l.url,b:`img_${e}`}))),j:l.t(null==(D=null==(z=null==(O=l.unref(o.useModel))?void 0:O.dataShow)?void 0:z.value)?void 0:D.code),k:l.t(l.unref(d.getTimeRangeDisplay)(null==($=null==(U=null==(F=l.unref(o.useModel))?void 0:F.dataShow)?void 0:U.value)?void 0:$.expect_start_time,null==(K=null==(J=null==(G=l.unref(o.useModel))?void 0:G.dataShow)?void 0:J.value)?void 0:K.expect_end_time)),l:l.t(null==(V=null==(Q=null==(N=l.unref(o.useModel))?void 0:N.dataShow)?void 0:Q.value)?void 0:V.created_at),m:null==(Z=null==(Y=null==(X=l.unref(o.useModel))?void 0:X.dataShow)?void 0:Y.value)?void 0:Z.evaluation_score},(null==(ol=null==(el=null==(ll=l.unref(o.useModel))?void 0:ll.dataShow)?void 0:el.value)?void 0:ol.evaluation_score)?{n:l.p({valueModel:null==(dl=null==(nl=null==(ul=l.unref(o.useModel))?void 0:ul.dataShow)?void 0:nl.value)?void 0:dl.evaluation_score})}:{},{o:parseFloat(null==(il=null==(vl=null==(al=l.unref(o.useModel))?void 0:al.dataShow)?void 0:vl.value)?void 0:il.amount)>0},parseFloat(null==(rl=null==(sl=null==(tl=l.unref(o.useModel))?void 0:tl.dataShow)?void 0:sl.value)?void 0:rl.amount)>0?{p:l.t(null==(ml=null==(fl=null==(hl=l.unref(o.useModel))?void 0:hl.dataShow)?void 0:fl.value)?void 0:ml.amount)}:{},{q:"Closed"!==(null==(pl=null==(wl=null==(cl=l.unref(o.useModel))?void 0:cl.dataShow)?void 0:wl.value)?void 0:pl.status)},"Closed"!==(null==(gl=null==(Ml=null==(Sl=l.unref(o.useModel))?void 0:Sl.dataShow)?void 0:Ml.value)?void 0:gl.status)?l.e({r:"Pending"===(null==(Pl=null==(_l=null==(Cl=l.unref(o.useModel))?void 0:Cl.dataShow)?void 0:_l.value)?void 0:Pl.status)},"Pending"===(null==(yl=null==(ql=null==(jl=l.unref(o.useModel))?void 0:jl.dataShow)?void 0:ql.value)?void 0:yl.status)?{s:l.o(((...o)=>{var u,n;return(null==(u=l.unref(e.method))?void 0:u.handleClosed)&&(null==(n=l.unref(e.method))?void 0:n.handleClosed(...o))}))}:{},{t:"Processing"===(null==(kl=null==(bl=null==(Al=l.unref(o.useModel))?void 0:Al.dataShow)?void 0:bl.value)?void 0:kl.status)},"Processing"===(null==(Wl=null==(Ll=null==(El=l.unref(o.useModel))?void 0:El.dataShow)?void 0:Ll.value)?void 0:Wl.status)?{v:l.p({name:"file-text",size:"28"}),w:l.o(((...o)=>{var u,n;return(null==(u=l.unref(e.method))?void 0:u.handleClosed)&&(null==(n=l.unref(e.method))?void 0:n.handleClosed(...o))}))}:{},{x:"Completed"===(null==(Hl=null==(Bl=null==(xl=l.unref(o.useModel))?void 0:xl.dataShow)?void 0:Bl.value)?void 0:Hl.status)&&!(null==(Tl=null==(Il=null==(Rl=l.unref(o.useModel))?void 0:Rl.dataShow)?void 0:Il.value)?void 0:Tl.evaluation_score)},"Completed"!==(null==(Dl=null==(zl=null==(Ol=l.unref(o.useModel))?void 0:Ol.dataShow)?void 0:zl.value)?void 0:Dl.status)||(null==($l=null==(Ul=null==(Fl=l.unref(o.useModel))?void 0:Fl.dataShow)?void 0:Ul.value)?void 0:$l.evaluation_score)?{}:{y:l.p({type:"undo-filled",color:"#333",size:"26"}),z:l.o(((...o)=>{var u,n;return(null==(u=l.unref(e.method))?void 0:u.handleRework)&&(null==(n=l.unref(e.method))?void 0:n.handleRework(...o))}))},{A:"Completed"===(null==(Kl=null==(Jl=null==(Gl=l.unref(o.useModel))?void 0:Gl.dataShow)?void 0:Jl.value)?void 0:Kl.status)&&(null==(Vl=null==(Ql=null==(Nl=l.unref(o.useModel))?void 0:Nl.dataShow)?void 0:Ql.value)?void 0:Vl.evaluation_score)},"Completed"===(null==(Zl=null==(Yl=null==(Xl=l.unref(o.useModel))?void 0:Xl.dataShow)?void 0:Yl.value)?void 0:Zl.status)&&(null==(oe=null==(ee=null==(le=l.unref(o.useModel))?void 0:le.dataShow)?void 0:ee.value)?void 0:oe.evaluation_score)?{B:l.o(((...o)=>{var u,n;return(null==(u=l.unref(e.method))?void 0:u.handleRework)&&(null==(n=l.unref(e.method))?void 0:n.handleRework(...o))}))}:{},{C:"Pending"!==(null==(de=null==(ne=null==(ue=l.unref(o.useModel))?void 0:ue.dataShow)?void 0:ne.value)?void 0:de.status)&&"Completed"!==(null==(ie=null==(ve=null==(ae=l.unref(o.useModel))?void 0:ae.dataShow)?void 0:ve.value)?void 0:ie.status)&&"Closed"!==(null==(re=null==(se=null==(te=l.unref(o.useModel))?void 0:te.dataShow)?void 0:se.value)?void 0:re.status)},"Pending"!==(null==(me=null==(fe=null==(he=l.unref(o.useModel))?void 0:he.dataShow)?void 0:fe.value)?void 0:me.status)&&"Completed"!==(null==(pe=null==(we=null==(ce=l.unref(o.useModel))?void 0:ce.dataShow)?void 0:we.value)?void 0:pe.status)&&"Closed"!==(null==(ge=null==(Me=null==(Se=l.unref(o.useModel))?void 0:Se.dataShow)?void 0:Me.value)?void 0:ge.status)?{D:l.o(((...o)=>{var u,n;return(null==(u=l.unref(e.method))?void 0:u.handlePhoneCall)&&(null==(n=l.unref(e.method))?void 0:n.handlePhoneCall(...o))}))}:{},{E:"Pending"===(null==(Pe=null==(_e=null==(Ce=l.unref(o.useModel))?void 0:Ce.dataShow)?void 0:_e.value)?void 0:Pe.status)||"Processing"===(null==(ye=null==(qe=null==(je=l.unref(o.useModel))?void 0:je.dataShow)?void 0:qe.value)?void 0:ye.status)},"Pending"===(null==(ke=null==(be=null==(Ae=l.unref(o.useModel))?void 0:Ae.dataShow)?void 0:be.value)?void 0:ke.status)||"Processing"===(null==(We=null==(Le=null==(Ee=l.unref(o.useModel))?void 0:Ee.dataShow)?void 0:Le.value)?void 0:We.status)?{F:l.o(((...o)=>{var u,n;return(null==(u=l.unref(e.method))?void 0:u.hadnleUpdateTime)&&(null==(n=l.unref(e.method))?void 0:n.hadnleUpdateTime(...o))})),G:l.s(l.unref(u.getStyleBgInfo)())}:{},{H:"PendingAcceptance"===(null==(He=null==(Be=null==(xe=l.unref(o.useModel))?void 0:xe.dataShow)?void 0:Be.value)?void 0:He.status)},"PendingAcceptance"===(null==(Te=null==(Ie=null==(Re=l.unref(o.useModel))?void 0:Re.dataShow)?void 0:Ie.value)?void 0:Te.status)?{I:l.o(((...o)=>{var u,n;return(null==(u=l.unref(e.method))?void 0:u.handleAcceptance)&&(null==(n=l.unref(e.method))?void 0:n.handleAcceptance(...o))})),J:l.s(l.unref(u.getStyleBgInfo)())}:{},{K:"PendingPayment"===(null==(De=null==(ze=null==(Oe=l.unref(o.useModel))?void 0:Oe.dataShow)?void 0:ze.value)?void 0:De.status)},"PendingPayment"===(null==($e=null==(Ue=null==(Fe=l.unref(o.useModel))?void 0:Fe.dataShow)?void 0:Ue.value)?void 0:$e.status)?{L:l.o(((...o)=>{var u,n;return(null==(u=l.unref(e.method))?void 0:u.handleAcceptance)&&(null==(n=l.unref(e.method))?void 0:n.handleAcceptance(...o))})),M:l.s(l.unref(u.getStyleBgInfo)())}:{},{N:"Completed"===(null==(Ke=null==(Je=null==(Ge=l.unref(o.useModel))?void 0:Ge.dataShow)?void 0:Je.value)?void 0:Ke.status)&&!(null==(Ve=null==(Qe=null==(Ne=l.unref(o.useModel))?void 0:Ne.dataShow)?void 0:Qe.value)?void 0:Ve.evaluation_score)},"Completed"!==(null==(Ze=null==(Ye=null==(Xe=l.unref(o.useModel))?void 0:Xe.dataShow)?void 0:Ye.value)?void 0:Ze.status)||(null==(oo=null==(eo=null==(lo=l.unref(o.useModel))?void 0:lo.dataShow)?void 0:eo.value)?void 0:oo.evaluation_score)?{}:{O:l.s(l.unref(u.getStyleBgInfo)()),P:l.o(((...o)=>{var u,n;return(null==(u=l.unref(e.method))?void 0:u.handleAcceptance)&&(null==(n=l.unref(e.method))?void 0:n.handleAcceptance(...o))}))}):{},{Q:l.o(null==(uo=l.unref(e.method))?void 0:uo.handlepopupClose),R:l.o((e=>l.unref(o.useModel).showEvaluate.value=!1)),S:l.p({show:null==(ao=null==(no=l.unref(o.useModel))?void 0:no.showEvaluate)?void 0:ao.value,mode:"bottom",closeable:!0,round:20})})})});wx.createPage(v);
+"use strict";const l=require("../../common/vendor.js"),e=require("./method.js"),u=require("./model.js"),o=require("../../common/libraries/getPageConfig.js"),n=require("../../gen/Enums.js"),d=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/libraries/setTabBar.js"),require("../../common/store/useWorkStore.js"),!Array){(l.resolveComponent("hs-enum-tag")+l.resolveComponent("hs-up-rate")+l.resolveComponent("up-icon")+l.resolveComponent("uni-icons")+l.resolveComponent("hs-popup-evaluate"))()}Math||((()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../components/hs-up-rate/hs-up-rate.js")+a+(()=>"../../node-modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-popup-evaluate/hs-popup-evaluate.js"))();const a=()=>"./components/ProcessLogs.js",v=l.defineComponent({__name:"index",setup:a=>(l.onLoad((l=>{var u;e.method.getShow(null==l?void 0:l.id),null==(u=e.method)||u.getHouseWorkLogs(null==l?void 0:l.id)})),l.onShow((()=>{var l,o,n,d,a,v,i,t,s,r,h;(null==(n=null==(o=null==(l=u.useModel)?void 0:l.dataShow)?void 0:o.value)?void 0:n.id)&&(null==(i=e.method)||i.getShow(null==(v=null==(a=null==(d=u.useModel)?void 0:d.dataShow)?void 0:a.value)?void 0:v.id),null==(h=e.method)||h.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.dataShow.value=void 0,u.useModel.logsData.value=[]})),(a,v)=>{var i,t,s,r,h,f,m,c,w,p,S,M,g,C,_,P,j,q,y,A,b,k,E,x,L,W,B,H,R,T,I,O,z,D,F,U,$,G,J,K,N,Q,V,X,Y,Z,ll,el,ul,ol,nl,dl,al,vl,il,tl,sl,rl,hl,fl,ml,cl,wl,pl,Sl,Ml,gl,Cl,_l,Pl,jl,ql,yl,Al,bl,kl,El,xl,Ll,Wl,Bl,Hl,Rl,Tl,Il,Ol,zl,Dl,Fl,Ul,$l,Gl,Jl,Kl,Nl,Ql,Vl,Xl,Yl,Zl,le,ee,ue,oe,ne,de,ae,ve,ie,te,se,re,he,fe,me,ce,we,pe,Se,Me,ge,Ce,_e,Pe,je,qe,ye,Ae,be,ke,Ee,xe,Le,We,Be,He,Re,Te,Ie,Oe,ze,De,Fe,Ue,$e,Ge,Je,Ke,Ne,Qe,Ve,Xe,Ye,Ze,lu,eu,uu,ou,nu,du,au,vu,iu,tu,su,ru;return l.e({a:l.p({value:null==(s=null==(t=null==(i=l.unref(u.useModel))?void 0:i.dataShow)?void 0:t.value)?void 0:s.type,Enums:l.unref(n.HouseWorkOrdersTypeEnum)}),b:null==(f=null==(h=null==(r=l.unref(u.useModel))?void 0:r.dataShow)?void 0:h.value)?void 0:f.location},(null==(w=null==(c=null==(m=l.unref(u.useModel))?void 0:m.dataShow)?void 0:c.value)?void 0:w.location)?{c:l.p({value:null==(M=null==(S=null==(p=l.unref(u.useModel))?void 0:p.dataShow)?void 0:S.value)?void 0:M.location,Enums:l.unref(n.HouseWorkOrdersLocationEnum)})}:{},{d:l.p({value:null==(_=null==(C=null==(g=l.unref(u.useModel))?void 0:g.dataShow)?void 0:C.value)?void 0:_.status,Enums:l.unref(n.HouseWorkOrdersStatusEnum)}),e:l.n(`btn_status btn_status_${null==(q=null==(j=null==(P=l.unref(u.useModel))?void 0:P.dataShow)?void 0:j.value)?void 0:q.status}`),f:l.t(null==(k=null==(b=null==(A=null==(y=l.unref(u.useModel))?void 0:y.dataShow)?void 0:A.value)?void 0:b.asset_house)?void 0:k.full_name),g:l.t(null==(L=null==(x=null==(E=l.unref(u.useModel))?void 0:E.dataShow)?void 0:x.value)?void 0:L.title),h:l.t(null==(H=null==(B=null==(W=l.unref(u.useModel))?void 0:W.dataShow)?void 0:B.value)?void 0:H.content),i:l.f(null==(I=null==(T=null==(R=l.unref(u.useModel))?void 0:R.dataShow)?void 0:T.value)?void 0:I.attachments,((l,e,u)=>({a:null==l?void 0:l.url,b:`img_${e}`}))),j:l.t(null==(D=null==(z=null==(O=l.unref(u.useModel))?void 0:O.dataShow)?void 0:z.value)?void 0:D.code),k:null==($=null==(U=null==(F=l.unref(u.useModel))?void 0:F.dataShow)?void 0:U.value)?void 0:$.expect_start_time},(null==(K=null==(J=null==(G=l.unref(u.useModel))?void 0:G.dataShow)?void 0:J.value)?void 0:K.expect_start_time)?{l:l.t(l.unref(d.getTimeRangeDisplay)(null==(V=null==(Q=null==(N=l.unref(u.useModel))?void 0:N.dataShow)?void 0:Q.value)?void 0:V.expect_start_time,null==(Z=null==(Y=null==(X=l.unref(u.useModel))?void 0:X.dataShow)?void 0:Y.value)?void 0:Z.expect_end_time))}:{},{m:l.t(null==(ul=null==(el=null==(ll=l.unref(u.useModel))?void 0:ll.dataShow)?void 0:el.value)?void 0:ul.created_at),n:null==(dl=null==(nl=null==(ol=l.unref(u.useModel))?void 0:ol.dataShow)?void 0:nl.value)?void 0:dl.evaluation_score},(null==(il=null==(vl=null==(al=l.unref(u.useModel))?void 0:al.dataShow)?void 0:vl.value)?void 0:il.evaluation_score)?{o:l.p({valueModel:null==(rl=null==(sl=null==(tl=l.unref(u.useModel))?void 0:tl.dataShow)?void 0:sl.value)?void 0:rl.evaluation_score})}:{},{p:parseFloat(null==(ml=null==(fl=null==(hl=l.unref(u.useModel))?void 0:hl.dataShow)?void 0:fl.value)?void 0:ml.amount)>0},parseFloat(null==(pl=null==(wl=null==(cl=l.unref(u.useModel))?void 0:cl.dataShow)?void 0:wl.value)?void 0:pl.amount)>0?{q:l.t(null==(gl=null==(Ml=null==(Sl=l.unref(u.useModel))?void 0:Sl.dataShow)?void 0:Ml.value)?void 0:gl.amount)}:{},{r:"Closed"!==(null==(Pl=null==(_l=null==(Cl=l.unref(u.useModel))?void 0:Cl.dataShow)?void 0:_l.value)?void 0:Pl.status)},"Closed"!==(null==(yl=null==(ql=null==(jl=l.unref(u.useModel))?void 0:jl.dataShow)?void 0:ql.value)?void 0:yl.status)?l.e({s:"Pending"===(null==(kl=null==(bl=null==(Al=l.unref(u.useModel))?void 0:Al.dataShow)?void 0:bl.value)?void 0:kl.status)},"Pending"===(null==(Ll=null==(xl=null==(El=l.unref(u.useModel))?void 0:El.dataShow)?void 0:xl.value)?void 0:Ll.status)?{t:l.o(((...u)=>{var o,n;return(null==(o=l.unref(e.method))?void 0:o.handleClosed)&&(null==(n=l.unref(e.method))?void 0:n.handleClosed(...u))}))}:{},{v:"Processing"===(null==(Hl=null==(Bl=null==(Wl=l.unref(u.useModel))?void 0:Wl.dataShow)?void 0:Bl.value)?void 0:Hl.status)},"Processing"===(null==(Il=null==(Tl=null==(Rl=l.unref(u.useModel))?void 0:Rl.dataShow)?void 0:Tl.value)?void 0:Il.status)?{w:l.p({name:"file-text",size:"28"}),x:l.o(((...u)=>{var o,n;return(null==(o=l.unref(e.method))?void 0:o.handleClosed)&&(null==(n=l.unref(e.method))?void 0:n.handleClosed(...u))}))}:{},{y:"Completed"===(null==(Dl=null==(zl=null==(Ol=l.unref(u.useModel))?void 0:Ol.dataShow)?void 0:zl.value)?void 0:Dl.status)&&!(null==($l=null==(Ul=null==(Fl=l.unref(u.useModel))?void 0:Fl.dataShow)?void 0:Ul.value)?void 0:$l.evaluation_score)},"Completed"!==(null==(Kl=null==(Jl=null==(Gl=l.unref(u.useModel))?void 0:Gl.dataShow)?void 0:Jl.value)?void 0:Kl.status)||(null==(Vl=null==(Ql=null==(Nl=l.unref(u.useModel))?void 0:Nl.dataShow)?void 0:Ql.value)?void 0:Vl.evaluation_score)?{}:{z:l.p({type:"undo-filled",color:"#333",size:"26"}),A:l.o(((...u)=>{var o,n;return(null==(o=l.unref(e.method))?void 0:o.handleRework)&&(null==(n=l.unref(e.method))?void 0:n.handleRework(...u))}))},{B:"Completed"===(null==(Zl=null==(Yl=null==(Xl=l.unref(u.useModel))?void 0:Xl.dataShow)?void 0:Yl.value)?void 0:Zl.status)&&(null==(ue=null==(ee=null==(le=l.unref(u.useModel))?void 0:le.dataShow)?void 0:ee.value)?void 0:ue.evaluation_score)},"Completed"===(null==(de=null==(ne=null==(oe=l.unref(u.useModel))?void 0:oe.dataShow)?void 0:ne.value)?void 0:de.status)&&(null==(ie=null==(ve=null==(ae=l.unref(u.useModel))?void 0:ae.dataShow)?void 0:ve.value)?void 0:ie.evaluation_score)?{C:l.o(((...u)=>{var o,n;return(null==(o=l.unref(e.method))?void 0:o.handleRework)&&(null==(n=l.unref(e.method))?void 0:n.handleRework(...u))}))}:{},{D:"Pending"!==(null==(re=null==(se=null==(te=l.unref(u.useModel))?void 0:te.dataShow)?void 0:se.value)?void 0:re.status)&&"Completed"!==(null==(me=null==(fe=null==(he=l.unref(u.useModel))?void 0:he.dataShow)?void 0:fe.value)?void 0:me.status)&&"Closed"!==(null==(pe=null==(we=null==(ce=l.unref(u.useModel))?void 0:ce.dataShow)?void 0:we.value)?void 0:pe.status)},"Pending"!==(null==(ge=null==(Me=null==(Se=l.unref(u.useModel))?void 0:Se.dataShow)?void 0:Me.value)?void 0:ge.status)&&"Completed"!==(null==(Pe=null==(_e=null==(Ce=l.unref(u.useModel))?void 0:Ce.dataShow)?void 0:_e.value)?void 0:Pe.status)&&"Closed"!==(null==(ye=null==(qe=null==(je=l.unref(u.useModel))?void 0:je.dataShow)?void 0:qe.value)?void 0:ye.status)?{E:l.o(((...u)=>{var o,n;return(null==(o=l.unref(e.method))?void 0:o.handlePhoneCall)&&(null==(n=l.unref(e.method))?void 0:n.handlePhoneCall(...u))}))}:{},{F:"Pending"===(null==(ke=null==(be=null==(Ae=l.unref(u.useModel))?void 0:Ae.dataShow)?void 0:be.value)?void 0:ke.status)||"Processing"===(null==(Le=null==(xe=null==(Ee=l.unref(u.useModel))?void 0:Ee.dataShow)?void 0:xe.value)?void 0:Le.status)},"Pending"===(null==(He=null==(Be=null==(We=l.unref(u.useModel))?void 0:We.dataShow)?void 0:Be.value)?void 0:He.status)||"Processing"===(null==(Ie=null==(Te=null==(Re=l.unref(u.useModel))?void 0:Re.dataShow)?void 0:Te.value)?void 0:Ie.status)?{G:l.o(((...u)=>{var o,n;return(null==(o=l.unref(e.method))?void 0:o.hadnleUpdateTime)&&(null==(n=l.unref(e.method))?void 0:n.hadnleUpdateTime(...u))})),H:l.s(l.unref(o.getStyleBgInfo)())}:{},{I:"PendingAcceptance"===(null==(De=null==(ze=null==(Oe=l.unref(u.useModel))?void 0:Oe.dataShow)?void 0:ze.value)?void 0:De.status)},"PendingAcceptance"===(null==($e=null==(Ue=null==(Fe=l.unref(u.useModel))?void 0:Fe.dataShow)?void 0:Ue.value)?void 0:$e.status)?{J:l.o(((...u)=>{var o,n;return(null==(o=l.unref(e.method))?void 0:o.handleAcceptance)&&(null==(n=l.unref(e.method))?void 0:n.handleAcceptance(...u))})),K:l.s(l.unref(o.getStyleBgInfo)())}:{},{L:"PendingPayment"===(null==(Ke=null==(Je=null==(Ge=l.unref(u.useModel))?void 0:Ge.dataShow)?void 0:Je.value)?void 0:Ke.status)},"PendingPayment"===(null==(Ve=null==(Qe=null==(Ne=l.unref(u.useModel))?void 0:Ne.dataShow)?void 0:Qe.value)?void 0:Ve.status)?{M:l.o(((...u)=>{var o,n;return(null==(o=l.unref(e.method))?void 0:o.handleAcceptance)&&(null==(n=l.unref(e.method))?void 0:n.handleAcceptance(...u))})),N:l.s(l.unref(o.getStyleBgInfo)())}:{},{O:"Completed"===(null==(Ze=null==(Ye=null==(Xe=l.unref(u.useModel))?void 0:Xe.dataShow)?void 0:Ye.value)?void 0:Ze.status)&&!(null==(uu=null==(eu=null==(lu=l.unref(u.useModel))?void 0:lu.dataShow)?void 0:eu.value)?void 0:uu.evaluation_score)},"Completed"!==(null==(du=null==(nu=null==(ou=l.unref(u.useModel))?void 0:ou.dataShow)?void 0:nu.value)?void 0:du.status)||(null==(iu=null==(vu=null==(au=l.unref(u.useModel))?void 0:au.dataShow)?void 0:vu.value)?void 0:iu.evaluation_score)?{}:{P:l.s(l.unref(o.getStyleBgInfo)()),Q:l.o(((...u)=>{var o,n;return(null==(o=l.unref(e.method))?void 0:o.handleAcceptance)&&(null==(n=l.unref(e.method))?void 0:n.handleAcceptance(...u))}))}):{},{R:l.o(null==(tu=l.unref(e.method))?void 0:tu.handlepopupClose),S:l.o((e=>l.unref(u.useModel).showEvaluate.value=!1)),T:l.p({show:null==(ru=null==(su=l.unref(u.useModel))?void 0:su.showEvaluate)?void 0:ru.value,mode:"bottom",closeable:!0,round:20})})})});wx.createPage(v);
diff --git a/dist/build/mp-weixin/WORKORDER/show/index.wxml b/dist/build/mp-weixin/WORKORDER/show/index.wxml
index f8994fd..dee8f52 100644
--- a/dist/build/mp-weixin/WORKORDER/show/index.wxml
+++ b/dist/build/mp-weixin/WORKORDER/show/index.wxml
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/dist/build/mp-weixin/common/libraries/day.js b/dist/build/mp-weixin/common/libraries/day.js
index b9c8f95..7ec8153 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.checkWorkStatus=function(){const e=t.dayjs().hour();return e>=8&&e<18?{status:"在线",value:"Online"}:{status:"已休息",value:"Offline"}},exports.generateTimeSlots=function(e=null){const r=e?t.dayjs(e):t.dayjs(),s=(e?t.dayjs(e):t.dayjs()).valueOf(),o=[];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"),i=a.format("HH:mm"),f=s>=e.valueOf()&&ss&&o.push({label:f?"两个小时内":`${u}-${i}`,str:u,end:i,isCurrent:f,date:r.format("YYYY-MM-DD"),startTimestamp:e.valueOf(),endTimestamp:a.valueOf()}),n=t}return console.log("slots",o),o},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.getDate=function(e){return e?t.dayjs(e).format("YYYY-MM-DD"):""},exports.getFromNow=function(e){return e?t.dayjs(e).fromNow():""},exports.getIsInRangeInclusive=function(e,r){const s=t.dayjs(),o=t.dayjs(e),n=t.dayjs(r);return s.isAfter(o)&&s.isBefore(n)},exports.getTheFutureDay=function(e=1){return t.dayjs().add(e,"day").format("YYYY-MM-DD")},exports.getTimeRangeDisplay=function(e,r,s=null){try{const o=t.dayjs(e),n=t.dayjs(r),a=s?t.dayjs(s):t.dayjs();if(!o.isValid()||!n.isValid())return"时间格式错误";if(o.isAfter(n))return"时间顺序错误";if(a.isAfter(o)&&a.isBefore(n))return"两个小时内";return o.isSame(n,"day")?`${o.format("YYYY-MM-DD")} ${o.format("HH:mm")}-${n.format("HH:mm")}`:`${o.format("YYYY-MM-DD HH:mm")} - ${n.format("YYYY-MM-DD HH:mm")}`}catch(o){return"时间格式错误"}},exports.showCurrentTime=function(){const e=t.dayjs().format("HH:mm");return console.log(e),e},exports.showDay=function(e){return t.dayjs(e).format("YYYY-MM-DD")},exports.specificTime=function(e){const r=t.dayjs(),s=t.dayjs(e);let o=Math.abs(s.diff(r,"hour",!0))<=2||s.isBefore(r);return console.log(o,"hoursDiff"),o};
+"use strict";const t=require("../vendor.js");t.dayjs.locale("zh-cn"),t.dayjs.extend(t.relativeTime),exports.checkWorkStatus=function(){const e=t.dayjs().hour();return e>=8&&e<18?{status:"在线",value:"Online"}:{status:"已休息",value:"Offline"}},exports.generateTimeSlots=function(e=null){const r=e?t.dayjs(e):t.dayjs(),s=(e?t.dayjs(e):t.dayjs()).valueOf(),o=[];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"),i=a.format("HH:mm"),f=s>=e.valueOf()&&ss&&o.push({label:f?"两个小时内":`${u}-${i}`,str:u,end:i,isCurrent:f,date:r.format("YYYY-MM-DD"),startTimestamp:e.valueOf(),endTimestamp:a.valueOf()}),n=t}return console.log("slots",o),o},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.getDate=function(e){return e?t.dayjs(e).format("YYYY-MM-DD"):""},exports.getFromNow=function(e){return e?t.dayjs(e).fromNow():""},exports.getIsInRangeInclusive=function(e,r){const s=t.dayjs(),o=t.dayjs(e),n=t.dayjs(r);return s.isAfter(o)&&s.isBefore(n)},exports.getTheFutureDay=function(e=1){return t.dayjs().add(e,"day").format("YYYY-MM-DD")},exports.getTimeRangeDisplay=function(e,r,s=null){try{const o=t.dayjs(e),n=t.dayjs(r),a=s?t.dayjs(s):t.dayjs();if(!o.isValid()||!n.isValid())return"";if(o.isAfter(n))return"时间顺序错误";if(a.isAfter(o)&&a.isBefore(n))return"两个小时内";return o.isSame(n,"day")?`${o.format("YYYY-MM-DD")} ${o.format("HH:mm")}-${n.format("HH:mm")}`:`${o.format("YYYY-MM-DD HH:mm")} - ${n.format("YYYY-MM-DD HH:mm")}`}catch(o){return"时间格式错误"}},exports.showCurrentTime=function(){return t.dayjs().format("HH:mm:ss")},exports.showDay=function(e){return t.dayjs(e).format("YYYY-MM-DD")},exports.specificTime=function(e){const r=t.dayjs(),s=t.dayjs(e);let o=Math.abs(s.diff(r,"hour",!0))<=2||s.isBefore(r);return console.log(o,"hoursDiff"),o};
diff --git a/dist/build/mp-weixin/common/libraries/request.js b/dist/build/mp-weixin/common/libraries/request.js
index bfbc15a..f43e9dd 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_TEST_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/store/useWeAppAuthStore.js b/dist/build/mp-weixin/common/store/useWeAppAuthStore.js
index abd42ef..3988a39 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"),o=require("../../gen/Apis.js"),i=require("../libraries/setTabBar.js"),u=require("../libraries/apiLoading.js"),a="wx31500e871924b903",n=e.defineStore("we_app_auth",(()=>{const n=e.ref(!1),s=e.ref(!1),t=e.ref(0),l=e.ref({user:{id:0,name:""},work_info:{session_key:"",openid:""},selected_house:{},environment:"",house_occupant:!1,house_register:!1,is_house_exist:0,config:{}});const r=(u,t)=>{o.Apis.Login.Auth.Login({code:t,app_id:a}).then((o=>{var a,t,r,v,c,g;console.log("登录",null==o?void 0:o.data),e.index.setStorageSync("NCHL_PROD_ACCESS_TOKEN_CUSTOMER",null==(t=null==(a=null==o?void 0:o.data)?void 0:a.token)?void 0:t.token),null==u||u.appContext.config.globalProperties.$isResolve(),setTimeout((()=>{n.value=!1,s.value=!1}),300),l.value.selected_house=null==(r=o.data)?void 0:r.selected_house,l.value.user=null==(v=o.data)?void 0:v.user,l.value.config=null==(c=o.data)?void 0:c.config,i.setTabBar(null==(g=null==o?void 0:o.data)?void 0:g.config),l.value.user&&d()})).catch((()=>{n.value=!1,s.value=!0}))},d=()=>{o.Apis.Archive.HouseOccupants.GetCustomerHouseIsExist().then((e=>{var o,i;l.value.house_occupant=(null==(o=e.data)?void 0:o.house_occupant)||!1,l.value.house_register=(null==(i=e.data)?void 0:i.house_register)||!1,l.value.is_house_exist=t.value+1}))};function v(e){u.getApiLoading(o.Apis.Login.Auth.Me,{}).then((o=>{var u,a,t;return l.value.user=o.data.user,l.value.config=null==(u=o.data)?void 0:u.config,l.value.selected_house=null==(a=o.data)?void 0:a.selected_house,console.log("me",o.data),l.value.user&&d(),setTimeout((()=>{n.value=!1,s.value=!1}),300),i.setTabBar(null==(t=null==o?void 0:o.data)?void 0:t.config),null==e?void 0:e()}))}return{loading:n,hasError:s,data:l,login:function(o){e.index.login({provider:"weixin",success:function(e){console.log(e),r(o,e.code)}})},me:v,handleUserLogin:async i=>{u.getApiLoading(o.Apis.Login.Auth.BindPhoneNumber,{app_id:a,...i}).then((o=>{v((()=>{e.index.navigateBack({delta:1})}))}))},getIsHouseExist:d}}));exports.useWeAppAuthStore=n;
+"use strict";const e=require("../vendor.js"),o=require("../../gen/Apis.js"),i=require("../libraries/setTabBar.js"),u=require("../libraries/apiLoading.js"),a="wx31500e871924b903",n=e.defineStore("we_app_auth",(()=>{const n=e.ref(!1),s=e.ref(!1),t=e.ref(0),l=e.ref({user:{id:0,name:""},work_info:{session_key:"",openid:""},selected_house:{},environment:"",house_occupant:!1,house_register:!1,is_house_exist:0,config:{}});const r=(u,t)=>{o.Apis.Login.Auth.Login({code:t,app_id:a}).then((o=>{var a,t,r,v,c,g;console.log("登录",null==o?void 0:o.data),e.index.setStorageSync("NCHL_TEST_ACCESS_TOKEN_CUSTOMER",null==(t=null==(a=null==o?void 0:o.data)?void 0:a.token)?void 0:t.token),null==u||u.appContext.config.globalProperties.$isResolve(),setTimeout((()=>{n.value=!1,s.value=!1}),300),l.value.selected_house=null==(r=o.data)?void 0:r.selected_house,l.value.user=null==(v=o.data)?void 0:v.user,l.value.config=null==(c=o.data)?void 0:c.config,i.setTabBar(null==(g=null==o?void 0:o.data)?void 0:g.config),l.value.user&&d()})).catch((()=>{n.value=!1,s.value=!0}))},d=()=>{o.Apis.Archive.HouseOccupants.GetCustomerHouseIsExist().then((e=>{var o,i;l.value.house_occupant=(null==(o=e.data)?void 0:o.house_occupant)||!1,l.value.house_register=(null==(i=e.data)?void 0:i.house_register)||!1,l.value.is_house_exist=t.value+1}))};function v(e){u.getApiLoading(o.Apis.Login.Auth.Me,{}).then((o=>{var u,a,t;return l.value.user=o.data.user,l.value.config=null==(u=o.data)?void 0:u.config,l.value.selected_house=null==(a=o.data)?void 0:a.selected_house,console.log("me",o.data),l.value.user&&d(),setTimeout((()=>{n.value=!1,s.value=!1}),300),i.setTabBar(null==(t=null==o?void 0:o.data)?void 0:t.config),null==e?void 0:e()}))}return{loading:n,hasError:s,data:l,login:function(o){e.index.login({provider:"weixin",success:function(e){console.log(e),r(o,e.code)}})},me:v,handleUserLogin:async i=>{u.getApiLoading(o.Apis.Login.Auth.BindPhoneNumber,{app_id:a,...i}).then((o=>{v((()=>{e.index.navigateBack({delta:1})}))}))},getIsHouseExist:d}}));exports.useWeAppAuthStore=n;
diff --git a/dist/build/mp-weixin/components/hs-collection/hs-collection.js b/dist/build/mp-weixin/components/hs-collection/hs-collection.js
index e38b4c7..61ffdaa 100644
--- a/dist/build/mp-weixin/components/hs-collection/hs-collection.js
+++ b/dist/build/mp-weixin/components/hs-collection/hs-collection.js
@@ -1 +1 @@
-"use strict";const e=require("../../common/vendor.js");if(!Array){e.resolveComponent("uni-icons")()}Math;const o=e.defineComponent({__name:"hs-collection",setup(o){const n=()=>{e.index.navigateTo({url:"/INDEX/collection/index"})};return(o,t)=>({a:e.p({type:"right",size:"12",color:"#fff"}),b:e.o(n)})}});wx.createComponent(o);
+"use strict";const e=require("../../common/vendor.js").defineComponent({__name:"hs-collection",setup:e=>(e,n)=>({})});wx.createComponent(e);
diff --git a/dist/build/mp-weixin/components/hs-collection/hs-collection.json b/dist/build/mp-weixin/components/hs-collection/hs-collection.json
index 2caa312..e8cfaaf 100644
--- a/dist/build/mp-weixin/components/hs-collection/hs-collection.json
+++ b/dist/build/mp-weixin/components/hs-collection/hs-collection.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/components/hs-collection/hs-collection.wxml b/dist/build/mp-weixin/components/hs-collection/hs-collection.wxml
index 9b909f1..e69de29 100644
--- a/dist/build/mp-weixin/components/hs-collection/hs-collection.wxml
+++ b/dist/build/mp-weixin/components/hs-collection/hs-collection.wxml
@@ -1 +0,0 @@
- 一键开通自动托收,无需担心忘记缴费 立即开通
\ No newline at end of file
diff --git a/dist/build/mp-weixin/pages/ai/chat.js b/dist/build/mp-weixin/pages/ai/chat.js
index a1abb6a..b716cf5 100644
--- a/dist/build/mp-weixin/pages/ai/chat.js
+++ b/dist/build/mp-weixin/pages/ai/chat.js
@@ -1 +1 @@
-"use strict";const e=require("../../common/vendor.js");require("../../common/libraries/request.js");const t=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const o=require("./method.js"),a=require("./model.js"),n=require("../../common/libraries/userUserLogin.js");if(require("../../gen/Apis.js"),require("../../common/libraries/setTabBar.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/upload.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-empty")+e.resolveComponent("hs-button"))()}Math||(s+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-empty/hs-empty.js")+(()=>"../../components/hs-button/hs-button.js"))();const s=()=>"./components/HeaderPrologue.js",l=e.defineComponent({__name:"chat",setup(s){e.dayjs.extend(e.relativeTime),e.dayjs.locale("zh-cn");const l=t.useWeAppAuthStore(),r=e.ref(!1),i=e.ref(""),u=e.ref(!1),c=e.ref([]),m=e.ref(!1),d=e.ref("正在输入中...");let g=null,v=e.ref(!1);const p=e.ref(1),_=e.ref(10),f=e.ref(!0),y=e.ref(!1),h=e.ref(""),S=e.ref(0),k=e.ref({}),q=e.ref(""),C=()=>{e.index.navigateTo({url:"/pages/login"})},A=()=>{e.nextTick$1((()=>{e.index.pageScrollTo({scrollTop:999999,duration:300})}))},w=async(e=1)=>{var t,a,n;const s=null==(a=null==(t=l.data)?void 0:t.user)?void 0:a.phone;if(s){if(!y.value)try{y.value=!0;const t=(e-1)*_.value;S.value=t;const a=await(null==(n=o.method)?void 0:n.customRequest("public/customer/init",{platform:"property",platform_user_id:s,limit:_.value,offset:t}));if(200===a.statusCode){const t=a.data;let o=[];t.conversation&&t.conversation.id?(h.value=t.conversation.id,console.log("获取到会话ID:",h.value)):t.conversation_id?(h.value=t.conversation_id,console.log("获取到会话ID:",h.value)):t.conversations&&t.conversations.id&&(h.value=t.conversations.id,console.log("获取到会话ID:",h.value)),t.messages&&Array.isArray(t.messages)?(o=t.messages.map((e=>{const t={role:"customer"===e.sender_type?"user":"ai",content:e.message||e.content||"",created_at:e.created_at||e.timestamp||(new Date).toISOString()};e.message_type&&(t.message_type=e.message_type);let o=null;return e.image_url&&Array.isArray(e.image_url)?o=e.image_url:e.images&&Array.isArray(e.images)?o=e.images:e.metadata&&e.metadata.image_url&&Array.isArray(e.metadata.image_url)&&(o=e.metadata.image_url),o&&(t.image_url=o,t.images=o),e.metadata&&(t.metadata=e.metadata),t})),console.log("从messages字段获取到历史记录:",o.length)):t.data&&Array.isArray(t.data)?(o=t.data.map((e=>{const t={role:"customer"===e.sender_type?"user":"ai",content:e.message||e.content||"",created_at:e.created_at||e.timestamp||(new Date).toISOString()};e.message_type&&(t.message_type=e.message_type);let o=null;return e.image_url&&Array.isArray(e.image_url)?o=e.image_url:e.images&&Array.isArray(e.images)?o=e.images:e.metadata&&e.metadata.image_url&&Array.isArray(e.metadata.image_url)&&(o=e.metadata.image_url),o&&(t.image_url=o,t.images=o),e.metadata&&(t.metadata=e.metadata),t})),console.log("从data字段获取到历史记录:",o.length)):t.list&&Array.isArray(t.list)&&(o=t.list.map((e=>{const t={role:"customer"===e.sender_type?"user":"ai",content:e.message||e.content||"",created_at:e.created_at||e.timestamp||(new Date).toISOString()};e.message_type&&(t.message_type=e.message_type);let o=null;return e.image_url&&Array.isArray(e.image_url)?o=e.image_url:e.images&&Array.isArray(e.images)?o=e.images:e.metadata&&e.metadata.image_url&&Array.isArray(e.metadata.image_url)&&(o=e.metadata.image_url),o&&(t.image_url=o,t.images=o),e.metadata&&(t.metadata=e.metadata),t})),console.log("从list字段获取到历史记录:",o.length)),1===e?o.length>0?(c.value=o,console.log("第一页历史记录已加载,总共",o.length,"条消息")):(console.log("没有历史记录"),c.value=[]):o.length>0&&setTimeout((()=>{c.value.unshift(...o),console.log("加载更多历史记录,新增",o.length,"条消息,总共",c.value.length,"条")}),300);const n=t.total||t.count||t.total_count||0;f.value=n>c.value.length,p.value=e,1===e&&(setTimeout((()=>{A()}),100),console.log("[Customer] 历史记录加载完成,开始建立WebSocket连接"),I())}else console.error("获取历史记录失败,状态码:",a.statusCode)}catch(r){console.error("获取历史记录异常:",r)}finally{y.value=!1}}else console.log("用户未登录,无法获取历史记录")};e.onPullDownRefresh((async()=>{if(y.value||!f.value)return console.log("正在加载或没有更多数据"),void e.index.stopPullDownRefresh();console.log("触发下拉分页,加载更多历史记录");const t=p.value+1;try{await w(t),await new Promise((e=>setTimeout(e,500)))}catch(o){console.error("加载历史记录失败:",o)}finally{e.index.stopPullDownRefresh()}}));const I=()=>{var t;if(!g)try{const o=`${null==(t=a.useModel)?void 0:t.WS_BASE_URL}/ws/socket.io/?EIO=4&transport=websocket`;g=e.index.connectSocket({url:o,header:{"content-type":"application/json"}}),e.index.onSocketOpen((t=>{v.value=!0;e.index.sendSocketMessage({data:'40/customer,{"jwt":""}',success:()=>{h.value&&setTimeout((()=>{const t=`42/customer,["join_conversation",{"conversation_id":"${h.value}"}]`;console.log("[Customer] 加入会话房间:",t),e.index.sendSocketMessage({data:t,success:()=>{console.log("[Customer] 成功加入会话房间")},fail:e=>{console.error("[Customer] 加入会话房间失败:",e)}})}),200)},fail:e=>{console.error("[Customer] Socket.IO连接包发送失败:",e)}})})),e.index.onSocketError((e=>{console.error("[Customer] WebSocket error:",e),v.value=!1,g=null})),e.index.onSocketClose((e=>{console.log("[Customer] WebSocket disconnected",e),v.value=!1,g=null})),e.index.onSocketMessage((t=>{const o=t.data;if("string"==typeof o)if(o.startsWith("42/customer,")){const e=o.substring(12);try{const t=JSON.parse(e);console.log("解析Socket.IO事件:",t),b(t)}catch(a){console.error("解析Socket.IO数据失败:",a,"原始数据:",e)}}else if(o.startsWith("40/customer"))console.log("Socket.IO连接确认");else if(o.startsWith("2"))e.index.sendSocketMessage({data:"3"});else if(o.startsWith("0"))console.log("Socket.IO握手成功");else try{const e=JSON.parse(o);console.log("解析JSON消息:",e),x(e)}catch(a){console.log("非JSON格式的字符串消息:",o)}else"object"==typeof o?(console.log("收到对象类型消息:",o),j(o)):console.log("收到其他类型消息,类型:",typeof o)}))}catch(o){console.error("初始化Socket.IO异常:",o),v.value=!1,g=null}},b=e=>{if(Array.isArray(e)&&e.length>=2){const t=e[0],o=e[1];console.log("[Customer] Socket.IO事件类型:",t,"事件数据:",o),"new_message"===t?O(o):"join_conversation_response"===t?console.log("[Customer] Joined room:",o):"message"===t?O(o):"typing"===t?T(o):console.log("[Customer] 未处理的Socket.IO事件类型:",t)}},x=e=>{console.log("[Customer] 处理JSON消息:",e),"message"===e.type||"new_message"===e.event?O(e.data||e):"typing"===e.type||"typing"===e.event?T(e.data||e):e.message||e.content?O(e):console.log("[Customer] 未识别的JSON消息结构:",e)},j=e=>{console.log("[Customer] 处理对象消息:",e),e.message||e.content||e.text?O(e):void 0!==e.is_typing?T(e):console.log("[Customer] 未识别的对象消息结构:",e)},T=e=>{e.is_typing&&"staff"===e.user_type?(m.value=!0,d.value="客服正在输入..."):m.value=!1},O=e=>{if("customer"===e.sender_type||"user"===e.role)return;let t="";if(t="string"==typeof e?e:e.message||e.content||e.text||e.body||"收到回复","string"==typeof t&&(t=t.replace(/↵/g,"\n").replace(/\\n/g,"\n")),console.log("[Customer] 收到新消息内容:",t),t===q.value)return console.log("[Customer] 消息与HTTP返回的消息相同,跳过显示"),void(q.value="");m.value=!1;const o={role:"ai",content:t,created_at:e.created_at||e.timestamp||e.time||(new Date).toISOString()};e.suggested_questions&&Array.isArray(e.suggested_questions)&&e.suggested_questions.length>0?o.quickQuestions=e.suggested_questions:e.quickQuestions&&Array.isArray(e.quickQuestions)&&e.quickQuestions.length>0&&(o.quickQuestions=e.quickQuestions),void 0!==e.need_confirmation&&(o.needConfirmation=e.need_confirmation),void 0!==e.confirmation_type&&(o.confirmationType=e.confirmation_type),c.value.push(o),A()},M=e=>{Q({message:e})},Q=e=>{i.value=e.message,W()},D=(e,t)=>{void 0===e.selectedConfirmation&&(e.selectedConfirmation=t,setTimeout((()=>{i.value=t,W()}),300))},W=async()=>{var t,n,s,r,u,g,p,_,f,y,S,k;const C=i.value.trim(),w=(null==(s=null==(n=null==(t=a.useModel)?void 0:t.selectedImages)?void 0:n.value)?void 0:s.length)>0;if(!C&&!w||m.value)return;const b=null==(u=null==(r=l.data)?void 0:r.user)?void 0:u.phone,x=null==(p=null==(g=l.data)?void 0:g.selected_house)?void 0:p.asset_projects_id,j=null==(f=null==(_=l.data)?void 0:_.selected_house)?void 0:f.full_name;if(!b||!x)return void e.index.showToast({title:"请先登录并绑定房屋",icon:"none"});v.value||(I(),await new Promise((e=>setTimeout(e,1e3))));const T=(null==(S=null==(y=a.useModel)?void 0:y.selectedImages)?void 0:S.value)||[];let O="text";w&&C?O="mixed":w&&!C&&(O="image");const M={role:"user",content:C||"",created_at:(new Date).toISOString(),message_type:O,image_url:T.length>0?T:void 0,images:T.length>0?T:void 0};c.value.push(M),i.value="",a.useModel.selectedImages.value=[],A(),C&&C.includes("查询")?d.value="正在查询中请稍后...":d.value="正在输入中...",m.value=!0;try{const e=await(null==(k=o.method)?void 0:k.customRequest("public/chat",{platform:"property",message:C||"",tenant_project_id:x,message_type:O,tenant_project_name:j||"",conversation_id:h.value,image_url:T.length>0?T:void 0}));if(200!==e.statusCode)throw new Error("请求失败");{const t=e.data;console.log("[Customer] HTTP接口响应数据:",t);let o=null,a=[],n=!1,s=null;if(t.reply&&"string"==typeof t.reply?(o=t.reply,a=t.suggested_questions||[],n=t.need_confirmation||!1,s=t.confirmation_type||null):t.reply&&t.reply.message?(o=t.reply.message,a=t.reply.suggested_questions||t.suggested_questions||[],n=t.reply.need_confirmation||t.need_confirmation||!1,s=t.reply.confirmation_type||t.confirmation_type||null):t.reply&&t.reply.content?(o=t.reply.content,a=t.reply.suggested_questions||t.suggested_questions||[],n=t.reply.need_confirmation||t.need_confirmation||!1,s=t.reply.confirmation_type||t.confirmation_type||null):t.message?(o=t.message,a=t.suggested_questions||[],n=t.need_confirmation||!1,s=t.confirmation_type||null):t.content?(o=t.content,a=t.suggested_questions||[],n=t.need_confirmation||!1,s=t.confirmation_type||null):t.answer?(o=t.answer,a=t.suggested_questions||[],n=t.need_confirmation||!1,s=t.confirmation_type||null):t.response?(o=t.response,a=t.suggested_questions||[],n=t.need_confirmation||!1,s=t.confirmation_type||null):"string"==typeof t&&(o=t),o){console.log("[Customer] HTTP接口返回回答消息:",o),console.log("[Customer] 建议问题:",a),console.log("[Customer] 需要确认:",n,"确认类型:",s);let e=o;"string"==typeof e&&(e=e.replace(/↵/g,"\n").replace(/\\n/g,"\n")),q.value=e,m.value=!1,c.value.push({role:"ai",content:e,created_at:(new Date).toISOString(),quickQuestions:a.length>0?a:void 0,needConfirmation:n,confirmationType:s}),A()}else console.log("[Customer] 消息发送成功,等待WebSocket回复")}}catch(Q){console.error("发送消息失败:",Q),e.index.showToast({title:"发送失败,请稍后重试",icon:"none"}),c.value.push({role:"ai",content:"抱歉,网络连接出现问题,请稍后再试。"}),m.value=!1,A()}};return e.onUnmounted((()=>{(g||v.value)&&(e.index.closeSocket(),g=null,v.value=!1,console.log("页面卸载,WebSocket连接已关闭"))})),e.onLoad((async t=>{var a,s,l;await(null==(a=e.getCurrentInstance())?void 0:a.appContext.config.globalProperties.$onLaunched),(null==(s=n.getUserLogin)?void 0:s.getLoginStatus())?(r.value=!0,k.value=await(null==(l=o.method)?void 0:l.getQuickQuestions()),w(1),(null==t?void 0:t.message)&&Q(t)):(r.value=!1,c.value=[])})),(t,n)=>{var s,l,g,v,p,_,f,y,h,S,k,q,A,w,I,b,x,j,T,O,Q,P,z,F,J,L;return e.e({a:r.value},r.value?e.e({b:e.o(M),c:e.f(c.value,((t,a,n)=>{var s,l;return e.e({a:"ai"===t.role},(t.role,{}),{b:t.image_url&&t.image_url.length>0},t.image_url&&t.image_url.length>0?{c:e.f(t.image_url,((a,n,s)=>({a:a,b:e.o((n=>{var s;return null==(s=e.unref(o.method))?void 0:s.previewImage(a,t.image_url)}),n),c:n}))),d:1===t.image_url.length?"widthFix":"aspectFill",e:1===t.image_url.length?1:""}:t.images&&t.images.length>0?{g:e.f(t.images,((a,n,s)=>({a:a,b:e.o((n=>{var s;return null==(s=e.unref(o.method))?void 0:s.previewImage(a,t.images)}),n),c:n}))),h:1===t.images.length?"widthFix":"aspectFill",i:1===t.images.length?1:""}:t.metadata&&t.metadata.image_url&&t.metadata.image_url.length>0?{k:e.f(t.metadata.image_url,((a,n,s)=>({a:a,b:e.o((n=>{var s;return null==(s=e.unref(o.method))?void 0:s.previewImage(a,t.metadata.image_url)}),n),c:n}))),l:1===t.metadata.image_url.length?"widthFix":"aspectFill",m:1===t.metadata.image_url.length?1:""}:{},{f:t.images&&t.images.length>0,j:t.metadata&&t.metadata.image_url&&t.metadata.image_url.length>0,n:t.content&&t.content.trim()},t.content&&t.content.trim()?{o:e.f(null==(s=e.unref(o.method))?void 0:s.formatMessageContent(t.content),((t,o,a)=>({a:e.t(t),b:"text-"+o})))}:{},{p:t.quickQuestions&&t.quickQuestions.length>0},t.quickQuestions&&t.quickQuestions.length>0?{q:e.f(t.quickQuestions,((t,o,a)=>({a:e.t(t),b:o,c:e.o((e=>(e=>{i.value=e,W()})(t)),o)})))}:{},{r:t.needConfirmation},t.needConfirmation?{s:"是"===t.selectedConfirmation?1:"",t:void 0!==t.selectedConfirmation?1:"",v:e.o((e=>D(t,"是")),a),w:"否"===t.selectedConfirmation?1:"",x:void 0!==t.selectedConfirmation?1:"",y:e.o((e=>D(t,"否")),a)}:{},{z:t.created_at&&!t.quickQuestions},t.created_at&&!t.quickQuestions?e.e({A:"ai"===t.role},"ai"===t.role?{B:e.o((a=>{var n;return null==(n=e.unref(o.method))?void 0:n.copyMessage(t.content)}),a)}:{},{C:e.t(null==(l=e.unref(o.method))?void 0:l.formatTime(t.created_at)),D:"user"===t.role},"user"===t.role?{E:e.o((a=>{var n;return null==(n=e.unref(o.method))?void 0:n.copyMessage(t.content)}),a)}:{}):{},{F:a,G:`msg-${a}`,H:e.n("user"===t.role?"user-message":"ai-message")})})),d:m.value},m.value?{e:e.t(d.value)}:{},{f:(null==(g=null==(l=null==(s=e.unref(a.useModel))?void 0:s.selectedImages)?void 0:l.value)?void 0:g.length)>0},(null==(_=null==(p=null==(v=e.unref(a.useModel))?void 0:v.selectedImages)?void 0:p.value)?void 0:_.length)>0?e.e({g:e.f(null==(y=null==(f=e.unref(a.useModel))?void 0:f.selectedImages)?void 0:y.value,((t,a,n)=>({a:t,b:"25c36616-1-"+n,c:e.o((t=>{var n;return null==(n=e.unref(o.method))?void 0:n.removeImage(a)}),a),d:a}))),h:e.p({type:"closeempty",size:"14",color:"#fff"}),i:(null==(k=null==(S=null==(h=e.unref(a.useModel))?void 0:h.selectedImages)?void 0:S.value)?void 0:k.length)<9},(null==(w=null==(A=null==(q=e.unref(a.useModel))?void 0:q.selectedImages)?void 0:A.value)?void 0:w.length)<9?{j:e.p({type:"plus",size:"30",color:"#999"}),k:e.o((t=>{var a;return null==(a=e.unref(o.method))?void 0:a.chooseImage()}))}:{}):{},{l:e.o((e=>u.value=!0)),m:e.o((e=>u.value=!1)),n:e.o(W),o:i.value,p:e.o((e=>i.value=e.detail.value)),q:!i.value.trim()&&!u.value&&0===(null==(x=null==(b=null==(I=e.unref(a.useModel))?void 0:I.selectedImages)?void 0:b.value)?void 0:x.length)},i.value.trim()||u.value||0!==(null==(O=null==(T=null==(j=e.unref(a.useModel))?void 0:j.selectedImages)?void 0:T.value)?void 0:O.length)?{}:{r:e.p({type:"camera",size:"24",color:"#666"}),s:e.o((t=>{var a;return null==(a=e.unref(o.method))?void 0:a.chooseImage()}))},{t:(i.value.trim()||u.value||(null==(z=null==(P=null==(Q=e.unref(a.useModel))?void 0:Q.selectedImages)?void 0:P.value)?void 0:z.length)>0)&&!m.value},(i.value.trim()||u.value||(null==(L=null==(J=null==(F=e.unref(a.useModel))?void 0:F.selectedImages)?void 0:J.value)?void 0:L.length)>0)&&!m.value?{v:e.p({type:"paperplane-filled",size:"20",color:"#fff"}),w:e.o(W)}:{},{x:m.value},m.value?{y:e.p({type:"spinner-cycle",size:"20",color:"#ccc"})}:{}):{z:e.p({height:"20vh",baseStyle:{paddingTop:"35%"},text:"登录体验更多功能"}),A:e.o(C),B:e.p({label:"去登录",size:"md",type:"primary"})})}}});l.__runtimeHooks=1,wx.createPage(l);
+"use strict";const e=require("../../common/vendor.js");require("../../common/libraries/request.js");const t=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const o=require("./method.js"),n=require("./model.js"),a=require("../../common/libraries/userUserLogin.js");if(require("../../gen/Apis.js"),require("../../common/libraries/setTabBar.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/upload.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-empty")+e.resolveComponent("hs-button"))()}Math||(s+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-empty/hs-empty.js")+(()=>"../../components/hs-button/hs-button.js"))();const s=()=>"./components/HeaderPrologue.js",l=e.defineComponent({__name:"chat",setup(s){e.dayjs.extend(e.relativeTime),e.dayjs.locale("zh-cn");const l=t.useWeAppAuthStore(),r=e.ref(!1),i=e.ref(""),u=e.ref(!1),c=e.ref([]),m=e.ref(!1),d=e.ref("正在输入中...");let g=null,v=e.ref(!1);const p=e.ref(1),_=e.ref(10),f=e.ref(!0),y=e.ref(!1),h=e.ref(""),S=e.ref(0),k=e.ref({}),q=e.ref(""),C=()=>{e.index.navigateTo({url:"/pages/login"})},A=()=>{e.nextTick$1((()=>{e.index.pageScrollTo({scrollTop:999999,duration:300})}))},w=async(e=1)=>{var t,n,a;const s=null==(n=null==(t=l.data)?void 0:t.user)?void 0:n.phone;if(s){if(!y.value)try{y.value=!0;const t=(e-1)*_.value;S.value=t;const n=await(null==(a=o.method)?void 0:a.customRequest("public/customer/init",{platform:"property",platform_user_id:s,limit:_.value,offset:t}));if(200===n.statusCode){const t=n.data;let o=[];t.conversation&&t.conversation.id?(h.value=t.conversation.id,console.log("获取到会话ID:",h.value)):t.conversation_id?(h.value=t.conversation_id,console.log("获取到会话ID:",h.value)):t.conversations&&t.conversations.id&&(h.value=t.conversations.id,console.log("获取到会话ID:",h.value)),t.messages&&Array.isArray(t.messages)?(o=t.messages.map((e=>{const t={role:"customer"===e.sender_type?"user":"ai",content:e.message||e.content||"",actions:e.actions||[],created_at:e.created_at||e.timestamp||(new Date).toISOString()};e.message_type&&(t.message_type=e.message_type);let o=null;return e.image_url&&Array.isArray(e.image_url)?o=e.image_url:e.images&&Array.isArray(e.images)?o=e.images:e.metadata&&e.metadata.image_url&&Array.isArray(e.metadata.image_url)&&(o=e.metadata.image_url),o&&(t.image_url=o,t.images=o),e.metadata&&(t.metadata=e.metadata),t})),console.log("从messages字段获取到历史记录:",o.length)):t.data&&Array.isArray(t.data)?(o=t.data.map((e=>{const t={role:"customer"===e.sender_type?"user":"ai",content:e.message||e.content||"",actions:e.actions||[],created_at:e.created_at||e.timestamp||(new Date).toISOString()};e.message_type&&(t.message_type=e.message_type);let o=null;return e.image_url&&Array.isArray(e.image_url)?o=e.image_url:e.images&&Array.isArray(e.images)?o=e.images:e.metadata&&e.metadata.image_url&&Array.isArray(e.metadata.image_url)&&(o=e.metadata.image_url),o&&(t.image_url=o,t.images=o),e.metadata&&(t.metadata=e.metadata),t})),console.log("从data字段获取到历史记录:",o.length)):t.list&&Array.isArray(t.list)&&(o=t.list.map((e=>{const t={role:"customer"===e.sender_type?"user":"ai",content:e.message||e.content||"",actions:e.actions||[],created_at:e.created_at||e.timestamp||(new Date).toISOString()};e.message_type&&(t.message_type=e.message_type);let o=null;return e.image_url&&Array.isArray(e.image_url)?o=e.image_url:e.images&&Array.isArray(e.images)?o=e.images:e.metadata&&e.metadata.image_url&&Array.isArray(e.metadata.image_url)&&(o=e.metadata.image_url),o&&(t.image_url=o,t.images=o),e.metadata&&(t.metadata=e.metadata),t})),console.log("从list字段获取到历史记录:",o.length)),1===e?o.length>0?(c.value=o,console.log("第一页历史记录已加载,总共",o.length,"条消息")):(console.log("没有历史记录"),c.value=[]):o.length>0&&setTimeout((()=>{c.value.unshift(...o),console.log("加载更多历史记录,新增",o.length,"条消息,总共",c.value.length,"条")}),300);const a=t.total||t.count||t.total_count||0;f.value=a>c.value.length,p.value=e,1===e&&(setTimeout((()=>{A()}),100),console.log("[Customer] 历史记录加载完成,开始建立WebSocket连接"),I())}else console.error("获取历史记录失败,状态码:",n.statusCode)}catch(r){console.error("获取历史记录异常:",r)}finally{y.value=!1}}else console.log("用户未登录,无法获取历史记录")};e.onPullDownRefresh((async()=>{if(y.value||!f.value)return console.log("正在加载或没有更多数据"),void e.index.stopPullDownRefresh();console.log("触发下拉分页,加载更多历史记录");const t=p.value+1;try{await w(t),await new Promise((e=>setTimeout(e,500)))}catch(o){console.error("加载历史记录失败:",o)}finally{e.index.stopPullDownRefresh()}}));const I=()=>{var t;if(!g)try{const o=`${null==(t=n.useModel)?void 0:t.WS_BASE_URL}/ws/socket.io/?EIO=4&transport=websocket`;g=e.index.connectSocket({url:o,header:{"content-type":"application/json"}}),e.index.onSocketOpen((t=>{v.value=!0;e.index.sendSocketMessage({data:'40/customer,{"jwt":""}',success:()=>{h.value&&setTimeout((()=>{const t=`42/customer,["join_conversation",{"conversation_id":"${h.value}"}]`;console.log("[Customer] 加入会话房间:",t),e.index.sendSocketMessage({data:t,success:()=>{console.log("[Customer] 成功加入会话房间")},fail:e=>{console.error("[Customer] 加入会话房间失败:",e)}})}),200)},fail:e=>{console.error("[Customer] Socket.IO连接包发送失败:",e)}})})),e.index.onSocketError((e=>{console.error("[Customer] WebSocket error:",e),v.value=!1,g=null})),e.index.onSocketClose((e=>{console.log("[Customer] WebSocket disconnected",e),v.value=!1,g=null})),e.index.onSocketMessage((t=>{const o=t.data;if("string"==typeof o)if(o.startsWith("42/customer,")){const e=o.substring(12);try{const t=JSON.parse(e);console.log("解析Socket.IO事件:",t),b(t)}catch(n){console.error("解析Socket.IO数据失败:",n,"原始数据:",e)}}else if(o.startsWith("40/customer"))console.log("Socket.IO连接确认");else if(o.startsWith("2"))e.index.sendSocketMessage({data:"3"});else if(o.startsWith("0"))console.log("Socket.IO握手成功");else try{const e=JSON.parse(o);console.log("解析JSON消息:",e),x(e)}catch(n){console.log("非JSON格式的字符串消息:",o)}else"object"==typeof o?(console.log("收到对象类型消息:",o),j(o)):console.log("收到其他类型消息,类型:",typeof o)}))}catch(o){console.error("初始化Socket.IO异常:",o),v.value=!1,g=null}},b=e=>{if(Array.isArray(e)&&e.length>=2){const t=e[0],o=e[1];console.log("[Customer] Socket.IO事件类型:",t,"事件数据:",o),"new_message"===t?O(o):"join_conversation_response"===t?console.log("[Customer] Joined room:",o):"message"===t?O(o):"typing"===t?T(o):console.log("[Customer] 未处理的Socket.IO事件类型:",t)}},x=e=>{console.log("[Customer] 处理JSON消息:",e),"message"===e.type||"new_message"===e.event?O(e.data||e):"typing"===e.type||"typing"===e.event?T(e.data||e):e.message||e.content?O(e):console.log("[Customer] 未识别的JSON消息结构:",e)},j=e=>{console.log("[Customer] 处理对象消息:",e),e.message||e.content||e.text?O(e):void 0!==e.is_typing?T(e):console.log("[Customer] 未识别的对象消息结构:",e)},T=e=>{e.is_typing&&"staff"===e.user_type?(m.value=!0,d.value="客服正在输入..."):m.value=!1},O=e=>{if("customer"===e.sender_type||"user"===e.role)return;let t="";if(t="string"==typeof e?e:e.message||e.content||e.text||e.body||"收到回复","string"==typeof t&&(t=t.replace(/↵/g,"\n").replace(/\\n/g,"\n")),console.log("[Customer] 收到新消息内容:",t),t===q.value)return console.log("[Customer] 消息与HTTP返回的消息相同,跳过显示"),void(q.value="");m.value=!1;const o={role:"ai",content:t,created_at:e.created_at||e.timestamp||e.time||(new Date).toISOString()};e.suggested_questions&&Array.isArray(e.suggested_questions)&&e.suggested_questions.length>0?o.quickQuestions=e.suggested_questions:e.quickQuestions&&Array.isArray(e.quickQuestions)&&e.quickQuestions.length>0&&(o.quickQuestions=e.quickQuestions),void 0!==e.need_confirmation&&(o.needConfirmation=e.need_confirmation),void 0!==e.confirmation_type&&(o.confirmationType=e.confirmation_type),c.value.push(o),A()},M=e=>{Q({message:e})},Q=e=>{i.value=e.message,W()},D=(e,t)=>{void 0===e.selectedConfirmation&&(e.selectedConfirmation=t,setTimeout((()=>{i.value=t,W()}),300))},W=async()=>{var t,a,s,r,u,g,p,_,f,y,S,k;const C=i.value.trim(),w=(null==(s=null==(a=null==(t=n.useModel)?void 0:t.selectedImages)?void 0:a.value)?void 0:s.length)>0;if(!C&&!w||m.value)return;const b=null==(u=null==(r=l.data)?void 0:r.user)?void 0:u.phone,x=null==(p=null==(g=l.data)?void 0:g.selected_house)?void 0:p.asset_projects_id,j=null==(f=null==(_=l.data)?void 0:_.selected_house)?void 0:f.full_name;if(!b||!x)return void e.index.showToast({title:"请先登录并绑定房屋",icon:"none"});v.value||(I(),await new Promise((e=>setTimeout(e,1e3))));const T=(null==(S=null==(y=n.useModel)?void 0:y.selectedImages)?void 0:S.value)||[];let O="text";w&&C?O="mixed":w&&!C&&(O="image");const M={role:"user",content:C||"",created_at:(new Date).toISOString(),message_type:O,image_url:T.length>0?T:void 0,images:T.length>0?T:void 0};c.value.push(M),i.value="",n.useModel.selectedImages.value=[],A(),C&&C.includes("查询")?d.value="正在查询中请稍后...":d.value="正在输入中...",m.value=!0;try{const e=await(null==(k=o.method)?void 0:k.customRequest("public/chat",{platform:"property",message:C||"",tenant_project_id:x,message_type:O,tenant_project_name:j||"",conversation_id:h.value,image_url:T.length>0?T:void 0}));if(200!==e.statusCode)throw new Error("请求失败");{const t=e.data;console.log("[Customer] HTTP接口响应数据:",t);let o=null,n=[],a=!1,s=null;if(t.reply&&"string"==typeof t.reply?(o=t.reply,n=t.suggested_questions||[],a=t.need_confirmation||!1,s=t.confirmation_type||null):t.reply&&t.reply.message?(o=t.reply.message,n=t.reply.suggested_questions||t.suggested_questions||[],a=t.reply.need_confirmation||t.need_confirmation||!1,s=t.reply.confirmation_type||t.confirmation_type||null):t.reply&&t.reply.content?(o=t.reply.content,n=t.reply.suggested_questions||t.suggested_questions||[],a=t.reply.need_confirmation||t.need_confirmation||!1,s=t.reply.confirmation_type||t.confirmation_type||null):t.message?(o=t.message,n=t.suggested_questions||[],a=t.need_confirmation||!1,s=t.confirmation_type||null):t.content?(o=t.content,n=t.suggested_questions||[],a=t.need_confirmation||!1,s=t.confirmation_type||null):t.answer?(o=t.answer,n=t.suggested_questions||[],a=t.need_confirmation||!1,s=t.confirmation_type||null):t.response?(o=t.response,n=t.suggested_questions||[],a=t.need_confirmation||!1,s=t.confirmation_type||null):"string"==typeof t&&(o=t),o){console.log("[Customer] HTTP接口返回回答消息:",o),console.log("[Customer] 建议问题:",n),console.log("[Customer] 需要确认:",a,"确认类型:",s);let e=o;"string"==typeof e&&(e=e.replace(/↵/g,"\n").replace(/\\n/g,"\n")),q.value=e,m.value=!1,c.value.push({role:"ai",content:e,created_at:(new Date).toISOString(),quickQuestions:n.length>0?n:void 0,needConfirmation:a,confirmationType:s,...t}),A()}else console.log("[Customer] 消息发送成功,等待WebSocket回复")}}catch(Q){console.error("发送消息失败:",Q),e.index.showToast({title:"发送失败,请稍后重试",icon:"none"}),c.value.push({role:"ai",content:"抱歉,网络连接出现问题,请稍后再试。"}),m.value=!1,A()}};return e.onUnmounted((()=>{(g||v.value)&&(e.index.closeSocket(),g=null,v.value=!1,console.log("页面卸载,WebSocket连接已关闭"))})),e.onLoad((async t=>{var n,s,l;await(null==(n=e.getCurrentInstance())?void 0:n.appContext.config.globalProperties.$onLaunched),(null==(s=a.getUserLogin)?void 0:s.getLoginStatus())?(r.value=!0,k.value=await(null==(l=o.method)?void 0:l.getQuickQuestions()),w(1),(null==t?void 0:t.message)&&Q(t)):(r.value=!1,c.value=[])})),(t,a)=>{var s,l,g,v,p,_,f,y,h,S,k,q,A,w,I,b,x,j,T,O,Q,P,z,J,F,L;return e.e({a:r.value},r.value?e.e({b:e.o(M),c:e.f(c.value,((t,n,a)=>{var s,l;return e.e({a:"ai"===t.role},(t.role,{}),{b:t.image_url&&t.image_url.length>0},t.image_url&&t.image_url.length>0?{c:e.f(t.image_url,((n,a,s)=>({a:n,b:e.o((a=>{var s;return null==(s=e.unref(o.method))?void 0:s.previewImage(n,t.image_url)}),a),c:a}))),d:1===t.image_url.length?"widthFix":"aspectFill",e:1===t.image_url.length?1:""}:t.images&&t.images.length>0?{g:e.f(t.images,((n,a,s)=>({a:n,b:e.o((a=>{var s;return null==(s=e.unref(o.method))?void 0:s.previewImage(n,t.images)}),a),c:a}))),h:1===t.images.length?"widthFix":"aspectFill",i:1===t.images.length?1:""}:t.metadata&&t.metadata.image_url&&t.metadata.image_url.length>0?{k:e.f(t.metadata.image_url,((n,a,s)=>({a:n,b:e.o((a=>{var s;return null==(s=e.unref(o.method))?void 0:s.previewImage(n,t.metadata.image_url)}),a),c:a}))),l:1===t.metadata.image_url.length?"widthFix":"aspectFill",m:1===t.metadata.image_url.length?1:""}:{},{f:t.images&&t.images.length>0,j:t.metadata&&t.metadata.image_url&&t.metadata.image_url.length>0,n:t.content&&t.content.trim()},t.content&&t.content.trim()?{o:e.f(null==(s=e.unref(o.method))?void 0:s.formatMessageContent(t.content),((t,o,n)=>({a:e.t(t),b:"text-"+o})))}:{},{p:t.actions&&t.actions.length>0},t.actions&&t.actions.length>0?{q:e.f(t.actions,((t,n,a)=>({a:e.t(null==t?void 0:t.label),b:`items_${n}`,c:e.o((n=>{var a;return null==(a=e.unref(o.method))?void 0:a.GoToPage(null==t?void 0:t.url)}),`items_${n}`)})))}:{},{r:!t.actions&&t.quickQuestions&&t.quickQuestions.length>0},!t.actions&&t.quickQuestions&&t.quickQuestions.length>0?{s:e.f(t.quickQuestions,((t,o,n)=>({a:e.t(t),b:o,c:e.o((e=>(e=>{i.value=e,W()})(t)),o)})))}:{},{t:t.needConfirmation},t.needConfirmation?{v:"是"===t.selectedConfirmation?1:"",w:void 0!==t.selectedConfirmation?1:"",x:e.o((e=>D(t,"是")),n),y:"否"===t.selectedConfirmation?1:"",z:void 0!==t.selectedConfirmation?1:"",A:e.o((e=>D(t,"否")),n)}:{},{B:t.created_at&&!t.quickQuestions},t.created_at&&!t.quickQuestions?e.e({C:"ai"===t.role},"ai"===t.role?{D:e.o((n=>{var a;return null==(a=e.unref(o.method))?void 0:a.copyMessage(t.content)}),n)}:{},{E:e.t(null==(l=e.unref(o.method))?void 0:l.formatTime(t.created_at)),F:"user"===t.role},"user"===t.role?{G:e.o((n=>{var a;return null==(a=e.unref(o.method))?void 0:a.copyMessage(t.content)}),n)}:{}):{},{H:n,I:`msg-${n}`,J:e.n("user"===t.role?"user-message":"ai-message")})})),d:m.value},m.value?{e:e.t(d.value)}:{},{f:(null==(g=null==(l=null==(s=e.unref(n.useModel))?void 0:s.selectedImages)?void 0:l.value)?void 0:g.length)>0},(null==(_=null==(p=null==(v=e.unref(n.useModel))?void 0:v.selectedImages)?void 0:p.value)?void 0:_.length)>0?e.e({g:e.f(null==(y=null==(f=e.unref(n.useModel))?void 0:f.selectedImages)?void 0:y.value,((t,n,a)=>({a:t,b:"25c36616-1-"+a,c:e.o((t=>{var a;return null==(a=e.unref(o.method))?void 0:a.removeImage(n)}),n),d:n}))),h:e.p({type:"closeempty",size:"14",color:"#fff"}),i:(null==(k=null==(S=null==(h=e.unref(n.useModel))?void 0:h.selectedImages)?void 0:S.value)?void 0:k.length)<9},(null==(w=null==(A=null==(q=e.unref(n.useModel))?void 0:q.selectedImages)?void 0:A.value)?void 0:w.length)<9?{j:e.p({type:"plus",size:"30",color:"#999"}),k:e.o((t=>{var n;return null==(n=e.unref(o.method))?void 0:n.chooseImage()}))}:{}):{},{l:e.o((e=>u.value=!0)),m:e.o((e=>u.value=!1)),n:e.o(W),o:i.value,p:e.o((e=>i.value=e.detail.value)),q:!i.value.trim()&&!u.value&&0===(null==(x=null==(b=null==(I=e.unref(n.useModel))?void 0:I.selectedImages)?void 0:b.value)?void 0:x.length)},i.value.trim()||u.value||0!==(null==(O=null==(T=null==(j=e.unref(n.useModel))?void 0:j.selectedImages)?void 0:T.value)?void 0:O.length)?{}:{r:e.p({type:"camera",size:"24",color:"#666"}),s:e.o((t=>{var n;return null==(n=e.unref(o.method))?void 0:n.chooseImage()}))},{t:(i.value.trim()||u.value||(null==(z=null==(P=null==(Q=e.unref(n.useModel))?void 0:Q.selectedImages)?void 0:P.value)?void 0:z.length)>0)&&!m.value},(i.value.trim()||u.value||(null==(L=null==(F=null==(J=e.unref(n.useModel))?void 0:J.selectedImages)?void 0:F.value)?void 0:L.length)>0)&&!m.value?{v:e.p({type:"paperplane-filled",size:"20",color:"#fff"}),w:e.o(W)}:{},{x:m.value},m.value?{y:e.p({type:"spinner-cycle",size:"20",color:"#ccc"})}:{}):{z:e.p({height:"20vh",baseStyle:{paddingTop:"35%"},text:"登录体验更多功能"}),A:e.o(C),B:e.p({label:"去登录",size:"md",type:"primary"})})}}});l.__runtimeHooks=1,wx.createPage(l);
diff --git a/dist/build/mp-weixin/pages/ai/chat.wxml b/dist/build/mp-weixin/pages/ai/chat.wxml
index d27ba9d..727898e 100644
--- a/dist/build/mp-weixin/pages/ai/chat.wxml
+++ b/dist/build/mp-weixin/pages/ai/chat.wxml
@@ -1 +1 @@
-{{line.a}}{{question.a}}是否{{message.C}}{{e}}添加图片
\ No newline at end of file
+{{line.a}}{{i.a}}{{question.a}}是否{{message.E}}{{e}}添加图片
\ No newline at end of file
diff --git a/dist/build/mp-weixin/pages/ai/chat.wxss b/dist/build/mp-weixin/pages/ai/chat.wxss
index e59ad3d..63b1613 100644
--- a/dist/build/mp-weixin/pages/ai/chat.wxss
+++ b/dist/build/mp-weixin/pages/ai/chat.wxss
@@ -1 +1 @@
-.chat_container_linear_gradient{position:fixed;z-index:1;top:0;left:0;width:100%;height:100vh;background:linear-gradient(180deg,rgba(208,229,255,.44) 0%,rgba(255,255,255,0) 300rpx),linear-gradient(159deg,#d3d7ff 0%,rgba(255,255,255,0) 150rpx),linear-gradient(188deg,#dffff3 -8%,#f7f7f7 300rpx);background-repeat:no-repeat}.chat_messages_body{position:relative;z-index:100}.chat_messages_body .login_btn{padding:0 50rpx}.chat-container{display:flex;flex-direction:column;min-height:100vh;width:100vw}.chat-messages{width:100%;padding:314rpx 30rpx 0;padding-bottom:calc(260rpx + env(safe-area-inset-bottom));box-sizing:border-box;flex:1}.chat-messages-chat{padding-bottom:calc(160rpx + env(safe-area-inset-bottom))}.message-item{display:flex;width:100%;box-sizing:border-box;margin-bottom:30rpx;animation:fadeIn .3s ease-in}.ai-message,.ai-message .message-content-wrapper{align-items:flex-start}.ai-message .message-content{background-color:#fff;color:#333;margin-left:12rpx;margin-right:0;flex-shrink:0}.ai-message .message-time{color:#999;font-size:22rpx;min-width:80rpx}.ai-message .message-meta{display:flex;align-items:center;justify-content:flex-start;margin-top:6rpx;gap:8rpx;margin-left:12rpx;flex-direction:row}.ai-message .message-avatar{margin-right:0;flex-shrink:0}.user-message{justify-content:flex-end;align-items:flex-start}.user-message .message-content-wrapper{align-items:flex-end}.user-message .message-content{background-color:#1c64f2;color:#fff;margin-right:0;flex-shrink:0}.user-message .message-content .message-images{margin-bottom:20rpx}.user-message .message-content .message-images .message-image-item{border-radius:8rpx}.user-message .message-time{color:#999;font-size:22rpx;margin-top:6rpx;text-align:right;min-width:80rpx}.user-message .message-meta{display:flex;align-items:center;justify-content:flex-end;margin-top:6rpx;gap:8rpx;flex-direction:row}@keyframes fadeIn{0%{opacity:0;transform:translateY(10rpx)}to{opacity:1;transform:translateY(0)}}.message-avatar{width:80rpx;height:80rpx;border-radius:50%;overflow:hidden;flex-shrink:0}.message-avatar image{width:100%;height:100%}.message-avatar .user-avatar-image{width:100%;height:100%;border-radius:50%}.message-avatar .user-avatar{width:100%;height:100%;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);display:flex;align-items:center;justify-content:center;color:#fff;font-size:24rpx;font-weight:500}.message-content-wrapper{display:flex;flex-direction:column;max-width:calc(100vw - 100rpx)}.message-content{padding:20rpx 24rpx;border-radius:16rpx;font-size:28rpx;line-height:1.5;word-wrap:break-word;word-break:break-all;box-sizing:border-box;background-color:#1c64f2}.message-content.loading{opacity:.7}.message-content:has(.message-images){padding:12rpx}.user-message .message-content:has(.message-images){padding:8rpx}.message-content view{display:block;width:100%;word-wrap:break-word;word-break:break-all}.message-content view:not(:last-child){margin-bottom:8rpx}.message-content text{display:inline;word-wrap:break-word;word-break:break-all}.quick-questions{margin-top:16rpx;display:flex;flex-direction:column;gap:12rpx;padding-left:12rpx}.question-btn{background-color:#f0f7ff;border:1px solid #d0e3ff;border-radius:12rpx;padding:16rpx 20rpx;font-size:26rpx;color:#1c64f2;line-height:1.4;transition:all .2s ease}.question-btn:active{background-color:#e6f2ff;transform:scale(.98)}.question-btn text{display:block;word-wrap:break-word;word-break:break-all}.confirmation-buttons{margin-top:16rpx;display:flex;gap:16rpx;justify-content:flex-start;padding-left:12rpx}.confirmation-btn{width:38rpx;border-radius:10rpx;padding:16rpx 22rpx;font-size:24rpx;line-height:1.4;text-align:center;transition:all .2s ease;background-color:#fff;color:#000;border:1px solid #e5e5e5}.confirmation-btn:active:not(.disabled){transform:scale(.98)}.confirmation-btn.selected{background-color:#1c64f2;color:#fff;border-color:#1c64f2}.confirmation-btn.disabled{opacity:.6;cursor:not-allowed}.confirmation-btn text{display:block;font-weight:500}.chat-input-area{position:fixed;bottom:0;left:0;right:0;background-color:#fff;border-top:1px solid #f8f8f8;padding:20rpx;padding-bottom:calc(155rpx + env(safe-area-inset-bottom));z-index:100}.chat-input-area-chat{padding-bottom:calc(30rpx + env(safe-area-inset-bottom))}.input-container{display:flex;align-items:center;background-color:#f7f7f7;border-radius:50rpx;padding:10rpx 20rpx}.message-input{flex:1;height:70rpx;font-size:28rpx;padding:0 20rpx;background-color:transparent}.send-button{width:70rpx;height:70rpx;background:linear-gradient(135deg,#1c64f2 0%,#0e4aa7 100%);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-left:20rpx}.send-button.disabled{opacity:.5;pointer-events:none}.upload-button{width:70rpx;height:70rpx;background-color:#f7f7f7;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-left:20rpx}.image-preview-area{margin-bottom:20rpx}.quick-actions-bar{display:flex;flex-wrap:wrap;gap:16rpx;padding:0 0 16rpx}.quick-action-btn{height:60rpx;padding:0 24rpx;background-color:#fff;border:1px solid #e5e5e5;border-radius:100rpx;font-size:23rpx;color:#333;display:flex;align-items:center;justify-content:center;transition:all .2s ease;white-space:nowrap}.quick-action-btn:active{transform:scale(.98);background-color:#f8f8f8}.quick-action-btn text{display:block}.image-preview-list{display:flex;flex-wrap:wrap;gap:16rpx}.image-preview-item{position:relative;width:120rpx;height:120rpx;border-radius:12rpx;overflow:hidden}.image-preview-item.add-more-button{background-color:#f5f5f5;border:2rpx dashed #ddd;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer}.image-preview-item.add-more-button:active{background-color:#e8e8e8}.preview-image{width:100%;height:100%}.add-more-text{font-size:22rpx;color:#999;margin-top:8rpx}.remove-image{position:absolute;top:8rpx;right:8rpx;width:40rpx;height:40rpx;background-color:rgba(0,0,0,.6);border-radius:50%;display:flex;align-items:center;justify-content:center}.message-images{display:flex;flex-wrap:wrap;gap:12rpx;margin-bottom:12rpx;max-width:500rpx}.user-message .message-images{margin-bottom:0}.message-image-item{border-radius:12rpx;overflow:hidden}.message-image-item.single-image{max-width:500rpx;width:500rpx!important;height:auto!important}.user-message .message-image-item.single-image{max-width:450rpx;width:450rpx!important}.message-image-item:not(.single-image){width:200rpx;height:200rpx}.message-image{width:100%;height:100%;display:block}.message-text-line{margin-bottom:4rpx}.message-text-line:last-child{margin-bottom:0}.copy-button{width:32rpx;height:32rpx;display:flex;align-items:center;justify-content:center;border-radius:4rpx;transition:background-color .2s ease}.copy-button:active{background-color:rgba(0,0,0,.05)}.copy-button .copy-icon{width:26rpx;height:26rpx;opacity:.7}.opening_remarks{padding:30rpx 30rpx 10rpx;z-index:1000;position:fixed;top:0;left:0;right:0;background:linear-gradient(180deg,rgba(208,229,255,.44) 0%,rgba(255,255,255,0) 300rpx),linear-gradient(159deg,#d3d7ff 0%,rgba(255,255,255,0) 150rpx),linear-gradient(188deg,#dffff3 -8%,#f7f7f7 300rpx);background-repeat:no-repeat}.opening_remarks .opening_remarks_body{height:254rpx;border-radius:20rpx;border:1px solid #ffffff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;background:linear-gradient(58deg,#e3faff 1%,rgba(255,255,255,0) 24%),linear-gradient(221deg,#dbe3ff 0%,rgba(255,255,255,0) 19%),rgba(255,255,255,.5)}.opening_remarks .opening_remarks_body .opening_remarks_server_img{width:56rpx;height:224rpx;margin:0 40rpx}.opening_remarks .opening_remarks_body .opening_remarks_server_img image{width:56rpx;height:224rpx}.opening_remarks .opening_remarks_body .opening_remarks_server_info{flex:1;padding-right:30rpx}.opening_remarks .opening_remarks_body .label{font-size:28rpx;color:#333;overflow:hidden;white-space:nowrap;width:0;display:inline-block;animation:typing 3s steps(30,end) forwards,blink .75s step-end infinite}.opening_remarks .opening_remarks_body .group_btn{display:flex;align-items:center;flex-wrap:wrap;overflow:hidden;height:160rpx}.opening_remarks .opening_remarks_body .group_btn_item{background-color:#fff;border-radius:100rpx;font-size:24rpx;color:#333;padding:15rpx 25rpx;margin-top:15rpx;margin-right:30rpx}.opening_remarks .opening_remarks_body .group_btn_item:nth-child(3n){margin-right:0}@keyframes typing{0%{width:0}to{width:100%}}
+.chat_container_linear_gradient{position:fixed;z-index:1;top:0;left:0;width:100%;height:100vh;background:linear-gradient(180deg,rgba(208,229,255,.44) 0%,rgba(255,255,255,0) 300rpx),linear-gradient(159deg,#d3d7ff 0%,rgba(255,255,255,0) 150rpx),linear-gradient(188deg,#dffff3 -8%,#f7f7f7 300rpx);background-repeat:no-repeat}.chat_messages_body{position:relative;z-index:100}.chat_messages_body .login_btn{padding:0 50rpx}.chat-container{display:flex;flex-direction:column;min-height:100vh;width:100vw}.chat-messages{width:100%;padding:314rpx 30rpx 0;padding-bottom:calc(260rpx + env(safe-area-inset-bottom));box-sizing:border-box;flex:1}.chat-messages-chat{padding-bottom:calc(160rpx + env(safe-area-inset-bottom))}.message-item{display:flex;width:100%;box-sizing:border-box;margin-bottom:30rpx;animation:fadeIn .3s ease-in}.ai-message,.ai-message .message-content-wrapper{align-items:flex-start}.ai-message .message-content{background-color:#fff;color:#333;margin-left:12rpx;margin-right:0;flex-shrink:0}.ai-message .message-time{color:#999;font-size:22rpx;min-width:80rpx}.ai-message .message-meta{display:flex;align-items:center;justify-content:flex-start;margin-top:6rpx;gap:8rpx;margin-left:12rpx;flex-direction:row}.ai-message .message-avatar{margin-right:0;flex-shrink:0}.user-message{justify-content:flex-end;align-items:flex-start}.user-message .message-content-wrapper{align-items:flex-end}.user-message .message-content{background-color:#1c64f2;color:#fff;margin-right:0;flex-shrink:0}.user-message .message-content .message-images{margin-bottom:20rpx}.user-message .message-content .message-images .message-image-item{border-radius:8rpx}.user-message .message-time{color:#999;font-size:22rpx;margin-top:6rpx;text-align:right;min-width:80rpx}.user-message .message-meta{display:flex;align-items:center;justify-content:flex-end;margin-top:6rpx;gap:8rpx;flex-direction:row}@keyframes fadeIn{0%{opacity:0;transform:translateY(10rpx)}to{opacity:1;transform:translateY(0)}}.message-avatar{width:80rpx;height:80rpx;border-radius:50%;overflow:hidden;flex-shrink:0}.message-avatar image{width:100%;height:100%}.message-avatar .user-avatar-image{width:100%;height:100%;border-radius:50%}.message-avatar .user-avatar{width:100%;height:100%;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);display:flex;align-items:center;justify-content:center;color:#fff;font-size:24rpx;font-weight:500}.message-content-wrapper{display:flex;flex-direction:column;max-width:calc(100vw - 100rpx)}.message-content{padding:20rpx 24rpx;border-radius:16rpx;font-size:28rpx;line-height:1.5;word-wrap:break-word;word-break:break-all;box-sizing:border-box;background-color:#1c64f2}.message-content.loading{opacity:.7}.message-content:has(.message-images){padding:12rpx}.user-message .message-content:has(.message-images){padding:8rpx}.message-content view{display:block;word-wrap:break-word;word-break:break-all}.message-content view:not(:last-child){margin-bottom:8rpx}.message-content text{display:inline;word-wrap:break-word;word-break:break-all}.quick-questions{margin-top:16rpx;display:flex;flex-direction:column;gap:12rpx;padding-left:12rpx}.question-btn{background-color:#f0f7ff;border:1px solid #d0e3ff;border-radius:12rpx;padding:16rpx 20rpx;font-size:26rpx;color:#1c64f2;line-height:1.4;transition:all .2s ease}.question-btn:active{background-color:#e6f2ff;transform:scale(.98)}.question-btn text{display:block;word-wrap:break-word;word-break:break-all}.confirmation-buttons{margin-top:16rpx;display:flex;gap:16rpx;justify-content:flex-start;padding-left:12rpx}.confirmation-btn{width:38rpx;border-radius:10rpx;padding:16rpx 22rpx;font-size:24rpx;line-height:1.4;text-align:center;transition:all .2s ease;background-color:#fff;color:#000;border:1px solid #e5e5e5}.confirmation-btn:active:not(.disabled){transform:scale(.98)}.confirmation-btn.selected{background-color:#1c64f2;color:#fff;border-color:#1c64f2}.confirmation-btn.disabled{opacity:.6;cursor:not-allowed}.confirmation-btn text{display:block;font-weight:500}.chat-input-area{position:fixed;bottom:0;left:0;right:0;background-color:#fff;border-top:1px solid #f8f8f8;padding:20rpx;padding-bottom:calc(155rpx + env(safe-area-inset-bottom));z-index:100}.chat-input-area-chat{padding-bottom:calc(30rpx + env(safe-area-inset-bottom))}.input-container{display:flex;align-items:center;background-color:#f7f7f7;border-radius:50rpx;padding:10rpx 20rpx}.message-input{flex:1;height:70rpx;font-size:28rpx;padding:0 20rpx;background-color:transparent}.send-button{width:70rpx;height:70rpx;background:linear-gradient(135deg,#1c64f2 0%,#0e4aa7 100%);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-left:20rpx}.send-button.disabled{opacity:.5;pointer-events:none}.upload-button{width:70rpx;height:70rpx;background-color:#f7f7f7;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-left:20rpx}.image-preview-area{margin-bottom:20rpx}.quick-actions-bar{display:flex;flex-wrap:wrap;gap:16rpx;padding:0 0 16rpx}.quick-action-btn{height:60rpx;padding:0 24rpx;background-color:#fff;border:1px solid #e5e5e5;border-radius:100rpx;font-size:23rpx;color:#333;display:flex;align-items:center;justify-content:center;transition:all .2s ease;white-space:nowrap}.quick-action-btn:active{transform:scale(.98);background-color:#f8f8f8}.quick-action-btn text{display:block}.image-preview-list{display:flex;flex-wrap:wrap;gap:16rpx}.image-preview-item{position:relative;width:120rpx;height:120rpx;border-radius:12rpx;overflow:hidden}.image-preview-item.add-more-button{background-color:#f5f5f5;border:2rpx dashed #ddd;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer}.image-preview-item.add-more-button:active{background-color:#e8e8e8}.preview-image{width:100%;height:100%}.add-more-text{font-size:22rpx;color:#999;margin-top:8rpx}.remove-image{position:absolute;top:8rpx;right:8rpx;width:40rpx;height:40rpx;background-color:rgba(0,0,0,.6);border-radius:50%;display:flex;align-items:center;justify-content:center}.message-images{display:flex;flex-wrap:wrap;gap:12rpx;margin-bottom:12rpx;max-width:500rpx}.user-message .message-images{margin-bottom:0}.message-image-item{border-radius:12rpx;overflow:hidden}.message-image-item.single-image{max-width:500rpx;width:500rpx!important;height:auto!important}.user-message .message-image-item.single-image{max-width:450rpx;width:450rpx!important}.message-image-item:not(.single-image){width:200rpx;height:200rpx}.message-image{width:100%;height:100%;display:block}.message-text-line{margin-bottom:4rpx}.message-text-line:last-child{margin-bottom:0}.copy-button{width:32rpx;height:32rpx;display:flex;align-items:center;justify-content:center;border-radius:4rpx;transition:background-color .2s ease}.copy-button:active{background-color:rgba(0,0,0,.05)}.copy-button .copy-icon{width:26rpx;height:26rpx;opacity:.7}.opening_remarks{padding:30rpx 30rpx 10rpx;z-index:1000;position:fixed;top:0;left:0;right:0;background:linear-gradient(180deg,rgba(208,229,255,.44) 0%,rgba(255,255,255,0) 300rpx),linear-gradient(159deg,#d3d7ff 0%,rgba(255,255,255,0) 150rpx),linear-gradient(188deg,#dffff3 -8%,#f7f7f7 300rpx);background-repeat:no-repeat}.opening_remarks .opening_remarks_body{height:254rpx;border-radius:20rpx;border:1px solid #ffffff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;background:linear-gradient(58deg,#e3faff 1%,rgba(255,255,255,0) 24%),linear-gradient(221deg,#dbe3ff 0%,rgba(255,255,255,0) 19%),rgba(255,255,255,.5)}.opening_remarks .opening_remarks_body .opening_remarks_server_img{width:56rpx;height:224rpx;margin:0 40rpx}.opening_remarks .opening_remarks_body .opening_remarks_server_img image{width:56rpx;height:224rpx}.opening_remarks .opening_remarks_body .opening_remarks_server_info{flex:1;padding-right:30rpx}.opening_remarks .opening_remarks_body .label{font-size:28rpx;color:#333;overflow:hidden;white-space:nowrap;width:0;display:inline-block;animation:typing 3s steps(30,end) forwards,blink .75s step-end infinite}.opening_remarks .opening_remarks_body .group_btn{display:flex;align-items:center;flex-wrap:wrap;overflow:hidden;height:160rpx}.opening_remarks .opening_remarks_body .group_btn_item{background-color:#fff;border-radius:100rpx;font-size:24rpx;color:#333;padding:15rpx 25rpx;margin-top:15rpx;margin-right:30rpx}.opening_remarks .opening_remarks_body .group_btn_item:nth-child(3n){margin-right:0}@keyframes typing{0%{width:0}to{width:100%}}.message-content .quick-questions-actions{width:auto;padding:20rpx 0 10rpx;display:flex;align-items:center}.query-go-to-btn{background-color:#1c64f2;color:#fff;border-color:#1c64f2;text-align:center;width:100%;margin-right:30rpx}.query-go-to-btn:last-child{margin-right:0;margin-bottom:0rpx}
diff --git a/dist/build/mp-weixin/pages/index/index.wxss b/dist/build/mp-weixin/pages/index/index.wxss
index a5113f4..6dc6e70 100644
--- a/dist/build/mp-weixin/pages/index/index.wxss
+++ b/dist/build/mp-weixin/pages/index/index.wxss
@@ -1 +1 @@
-page{background-color:#f8f8f8}.home_page{padding-bottom:68px}.home_page_content{position:relative;z-index:10}button:after{border:none;padding:0;margin:0}
+page{background-color:#f8f8f8}.home_page{padding-bottom:78px}.home_page_content{position:relative;z-index:10}button:after{border:none;padding:0;margin:0}
diff --git a/dist/dev/mp-weixin/INDEX/activities_show/index.js b/dist/dev/mp-weixin/INDEX/activities_show/index.js
index 602eeec..690d99d 100644
--- a/dist/dev/mp-weixin/INDEX/activities_show/index.js
+++ b/dist/dev/mp-weixin/INDEX/activities_show/index.js
@@ -48,7 +48,7 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
};
});
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;
+ 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;
return common_vendor.e({
a: common_vendor.t((_c = (_b = (_a = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _a.showData) == null ? void 0 : _b.value) == null ? void 0 : _c.title),
b: common_vendor.t(common_vendor.unref(common_libraries_day.showDay)((_f = (_e = (_d = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _d.showData) == null ? void 0 : _e.value) == null ? void 0 : _f.start_time)),
@@ -61,56 +61,58 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
f: common_vendor.p({
content: (_r = (_q = (_p = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _p.showData) == null ? void 0 : _q.value) == null ? void 0 : _r.content
}),
- g: !((_u = (_t = (_s = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _s.showData) == null ? void 0 : _t.value) == null ? void 0 : _u.result)
- }, !((_x = (_w = (_v = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _v.showData) == null ? void 0 : _w.value) == null ? void 0 : _x.result) ? common_vendor.e({
- h: common_vendor.p({
+ g: ((_u = (_t = (_s = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _s.showData) == null ? void 0 : _t.value) == null ? void 0 : _u.status) !== "Finished"
+ }, ((_x = (_w = (_v = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _v.showData) == null ? void 0 : _w.value) == null ? void 0 : _x.status) !== "Finished" ? common_vendor.e({
+ h: !((_A = (_z = (_y = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _y.showData) == null ? void 0 : _z.value) == null ? void 0 : _A.result)
+ }, !((_D = (_C = (_B = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _B.showData) == null ? void 0 : _C.value) == null ? void 0 : _D.result) ? common_vendor.e({
+ i: common_vendor.p({
size: "md",
type: "display",
label: "分享活动",
openType: "share"
}),
- i: (_A = (_z = (_y = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _y.showData) == null ? void 0 : _z.value) == null ? void 0 : _A.is_enroll
- }, ((_D = (_C = (_B = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _B.showData) == null ? void 0 : _C.value) == null ? void 0 : _D.is_enroll) ? {
- j: common_vendor.o((_E = common_vendor.unref(INDEX_activities_show_method.method)) == null ? void 0 : _E.handleSignUp),
- k: common_vendor.p({
+ j: (_G = (_F = (_E = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _E.showData) == null ? void 0 : _F.value) == null ? void 0 : _G.is_enroll
+ }, ((_J = (_I = (_H = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _H.showData) == null ? void 0 : _I.value) == null ? void 0 : _J.is_enroll) ? {
+ k: common_vendor.o((_K = common_vendor.unref(INDEX_activities_show_method.method)) == null ? void 0 : _K.handleSignUp),
+ l: common_vendor.p({
size: "md",
type: "primary",
- disabled: !common_vendor.unref(common_libraries_day.getIsInRangeInclusive)((_H = (_G = (_F = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _F.showData) == null ? void 0 : _G.value) == null ? void 0 : _H.start_time, (_K = (_J = (_I = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _I.showData) == null ? void 0 : _J.value) == null ? void 0 : _K.end_time),
+ disabled: !common_vendor.unref(common_libraries_day.getIsInRangeInclusive)((_N = (_M = (_L = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _L.showData) == null ? void 0 : _M.value) == null ? void 0 : _N.start_time, (_Q = (_P = (_O = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _O.showData) == null ? void 0 : _P.value) == null ? void 0 : _Q.end_time),
label: "立即报名"
})
} : {}) : common_vendor.e({
- l: ((_O = (_N = (_M = (_L = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _L.showData) == null ? void 0 : _M.value) == null ? void 0 : _N.result) == null ? void 0 : _O.status) === "Cancelled" && ((_R = (_Q = (_P = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _P.showData) == null ? void 0 : _Q.value) == null ? void 0 : _R.is_enroll) && common_vendor.unref(common_libraries_day.getIsInRangeInclusive)((_U = (_T = (_S = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _S.showData) == null ? void 0 : _T.value) == null ? void 0 : _U.start_time, (_X = (_W = (_V = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _V.showData) == null ? void 0 : _W.value) == null ? void 0 : _X.end_time)
- }, ((_$ = (__ = (_Z = (_Y = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _Y.showData) == null ? void 0 : _Z.value) == null ? void 0 : __.result) == null ? void 0 : _$.status) === "Cancelled" && ((_ca = (_ba = (_aa = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _aa.showData) == null ? void 0 : _ba.value) == null ? void 0 : _ca.is_enroll) && common_vendor.unref(common_libraries_day.getIsInRangeInclusive)((_fa = (_ea = (_da = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _da.showData) == null ? void 0 : _ea.value) == null ? void 0 : _fa.start_time, (_ia = (_ha = (_ga = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _ga.showData) == null ? void 0 : _ha.value) == null ? void 0 : _ia.end_time) ? {
- m: common_vendor.o(($event) => {
+ m: ((_U = (_T = (_S = (_R = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _R.showData) == null ? void 0 : _S.value) == null ? void 0 : _T.result) == null ? void 0 : _U.status) === "Cancelled" && ((_X = (_W = (_V = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _V.showData) == null ? void 0 : _W.value) == null ? void 0 : _X.is_enroll) && common_vendor.unref(common_libraries_day.getIsInRangeInclusive)((__ = (_Z = (_Y = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _Y.showData) == null ? void 0 : _Z.value) == null ? void 0 : __.start_time, (_ba = (_aa = (_$ = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _$.showData) == null ? void 0 : _aa.value) == null ? void 0 : _ba.end_time)
+ }, ((_fa = (_ea = (_da = (_ca = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _ca.showData) == null ? void 0 : _da.value) == null ? void 0 : _ea.result) == null ? void 0 : _fa.status) === "Cancelled" && ((_ia = (_ha = (_ga = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _ga.showData) == null ? void 0 : _ha.value) == null ? void 0 : _ia.is_enroll) && common_vendor.unref(common_libraries_day.getIsInRangeInclusive)((_la = (_ka = (_ja = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _ja.showData) == null ? void 0 : _ka.value) == null ? void 0 : _la.start_time, (_oa = (_na = (_ma = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _ma.showData) == null ? void 0 : _na.value) == null ? void 0 : _oa.end_time) ? {
+ n: common_vendor.o(($event) => {
var _a2;
return (_a2 = common_vendor.unref(INDEX_activities_show_method.method)) == null ? void 0 : _a2.handleCancelSignUp("Success");
}),
- n: common_vendor.p({
+ o: common_vendor.p({
size: "md",
type: "display",
label: "重新报名"
})
} : {}, {
- o: ((_ma = (_la = (_ka = (_ja = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _ja.showData) == null ? void 0 : _ka.value) == null ? void 0 : _la.result) == null ? void 0 : _ma.status) === "Success"
- }, ((_qa = (_pa = (_oa = (_na = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _na.showData) == null ? void 0 : _oa.value) == null ? void 0 : _pa.result) == null ? void 0 : _qa.status) === "Success" ? {
- p: common_vendor.o(($event) => {
+ p: ((_sa = (_ra = (_qa = (_pa = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _pa.showData) == null ? void 0 : _qa.value) == null ? void 0 : _ra.result) == null ? void 0 : _sa.status) === "Success"
+ }, ((_wa = (_va = (_ua = (_ta = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _ta.showData) == null ? void 0 : _ua.value) == null ? void 0 : _va.result) == null ? void 0 : _wa.status) === "Success" ? {
+ q: common_vendor.o(($event) => {
var _a2;
return (_a2 = common_vendor.unref(INDEX_activities_show_method.method)) == null ? void 0 : _a2.handleCancelSignUp("Cancelled");
}),
- q: common_vendor.p({
+ r: common_vendor.p({
size: "md",
type: "display",
- disabled: !common_vendor.unref(common_libraries_day.getIsInRangeInclusive)((_ta = (_sa = (_ra = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _ra.showData) == null ? void 0 : _sa.value) == null ? void 0 : _ta.start_time, (_wa = (_va = (_ua = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _ua.showData) == null ? void 0 : _va.value) == null ? void 0 : _wa.end_time),
+ disabled: !common_vendor.unref(common_libraries_day.getIsInRangeInclusive)((_za = (_ya = (_xa = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _xa.showData) == null ? void 0 : _ya.value) == null ? void 0 : _za.start_time, (_Ca = (_Ba = (_Aa = common_vendor.unref(INDEX_activities_show_model.useModel)) == null ? void 0 : _Aa.showData) == null ? void 0 : _Ba.value) == null ? void 0 : _Ca.end_time),
label: "取消报名"
})
} : {}, {
- r: common_vendor.p({
+ s: common_vendor.p({
size: "md",
type: "primary",
label: "分享活动",
openType: "share"
})
- }));
+ })) : {});
};
}
});
diff --git a/dist/dev/mp-weixin/INDEX/activities_show/index.wxml b/dist/dev/mp-weixin/INDEX/activities_show/index.wxml
index a075a71..a9c94bb 100644
--- a/dist/dev/mp-weixin/INDEX/activities_show/index.wxml
+++ b/dist/dev/mp-weixin/INDEX/activities_show/index.wxml
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/dist/dev/mp-weixin/INDEX/archive_houses/index.js b/dist/dev/mp-weixin/INDEX/archive_houses/index.js
index 7257008..bc119ba 100644
--- a/dist/dev/mp-weixin/INDEX/archive_houses/index.js
+++ b/dist/dev/mp-weixin/INDEX/archive_houses/index.js
@@ -63,27 +63,29 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
};
});
return (_ctx, _cache) => {
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
- return {
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
+ return common_vendor.e({
a: common_vendor.t(((_e = (_d = (_c = (_b = (_a = common_vendor.unref(INDEX_archive_houses_model.useModel)) == null ? void 0 : _a.showData) == null ? void 0 : _b.value) == null ? void 0 : _c.house_relation) == null ? void 0 : _d.asset_house) == null ? void 0 : _e.full_name) || ""),
b: common_vendor.o(($event) => show.value = true),
c: common_vendor.t((_h = (_g = (_f = common_vendor.unref(INDEX_archive_houses_model.useModel)) == null ? void 0 : _f.showData) == null ? void 0 : _g.value) == null ? void 0 : _h.house_occupants_num),
- d: common_vendor.f((_j = (_i = common_vendor.unref(INDEX_archive_houses_model.useModel)) == null ? void 0 : _i.listData) == null ? void 0 : _j.value, (k, index, i0) => {
+ d: !((_k = (_j = (_i = common_vendor.unref(INDEX_archive_houses_model.useModel)) == null ? void 0 : _i.listData) == null ? void 0 : _j.value) == null ? void 0 : _k.length)
+ }, !((_n = (_m = (_l = common_vendor.unref(INDEX_archive_houses_model.useModel)) == null ? void 0 : _l.listData) == null ? void 0 : _m.value) == null ? void 0 : _n.length) ? {} : {}, {
+ e: common_vendor.f((_p = (_o = common_vendor.unref(INDEX_archive_houses_model.useModel)) == null ? void 0 : _o.listData) == null ? void 0 : _p.value, (k, index, i0) => {
var _a2, _b2;
return common_vendor.e({
a: common_vendor.t(k == null ? void 0 : k.label),
b: !((_a2 = k.list) == null ? void 0 : _a2.length)
}, !((_b2 = k.list) == null ? void 0 : _b2.length) ? {
- c: "afe28dc2-1-" + i0
+ c: "afe28dc2-2-" + i0
} : {}, {
d: common_vendor.f(k.list, (i, index2, i1) => {
var _a3, _b3, _c2, _d2, _e2, _f2, _g2, _h2;
return common_vendor.e({
- a: "afe28dc2-2-" + i0 + "-" + i1,
+ a: "afe28dc2-3-" + i0 + "-" + i1,
b: common_vendor.t(i == null ? void 0 : i.name),
c: (i == null ? void 0 : i.house_relation) === "Owner"
}, (i == null ? void 0 : i.house_relation) === "Owner" ? {
- d: "afe28dc2-3-" + i0 + "-" + i1,
+ d: "afe28dc2-4-" + i0 + "-" + i1,
e: common_vendor.p({
value: i == null ? void 0 : i.house_relation,
Enums: common_vendor.unref(gen_Enums.HouseOccupantsHouseRelationEnum),
@@ -92,7 +94,7 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
} : {}, {
f: (i == null ? void 0 : i.house_relation) === "NonOwner"
}, (i == null ? void 0 : i.house_relation) === "NonOwner" ? {
- g: "afe28dc2-4-" + i0 + "-" + i1,
+ g: "afe28dc2-5-" + i0 + "-" + i1,
h: common_vendor.p({
value: i == null ? void 0 : i.residential_relation,
Enums: common_vendor.unref(gen_Enums.HouseOccupantsResidentialRelationEnum),
@@ -112,19 +114,19 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
e: `item_${index}`
});
}),
- e: common_vendor.p({
+ f: common_vendor.p({
text: "U",
fontSize: "18",
bgColor: "#ffeade",
color: "#333"
}),
- f: common_vendor.o(($event) => show.value = false),
- g: common_vendor.o(handleSelectedHouse),
- h: common_vendor.p({
+ g: common_vendor.o(($event) => show.value = false),
+ h: common_vendor.o(handleSelectedHouse),
+ i: common_vendor.p({
show: show.value,
pageSource: "archive_houses"
})
- };
+ });
};
}
});
diff --git a/dist/dev/mp-weixin/INDEX/archive_houses/index.wxml b/dist/dev/mp-weixin/INDEX/archive_houses/index.wxml
index b188599..4ed3ba0 100644
--- a/dist/dev/mp-weixin/INDEX/archive_houses/index.wxml
+++ b/dist/dev/mp-weixin/INDEX/archive_houses/index.wxml
@@ -1 +1 @@
-{{i.b}} 移除该住户
\ No newline at end of file
+{{i.b}} 移除该住户
\ No newline at end of file
diff --git a/dist/dev/mp-weixin/INDEX/binding/index.js b/dist/dev/mp-weixin/INDEX/binding/index.js
index 2c5148c..2a1d5e3 100644
--- a/dist/dev/mp-weixin/INDEX/binding/index.js
+++ b/dist/dev/mp-weixin/INDEX/binding/index.js
@@ -99,7 +99,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}, ((_p = (_o = (_n = common_vendor.unref(INDEX_binding_model.useModel)) == null ? void 0 : _n.formData) == null ? void 0 : _o.value) == null ? void 0 : _p.type) === "AddOccupant" ? {
k: common_vendor.o(($event) => common_vendor.unref(INDEX_binding_model.useModel).formData.value.residential_relation = $event),
l: common_vendor.p({
- Enums: common_vendor.unref(gen_Enums.HouseOccupantsResidentialRelationEnum),
+ Enums: common_vendor.unref(INDEX_binding_model.useModel).HouseOccupantsEnum.value,
required: true,
borderTop: true,
valueModel: common_vendor.unref(INDEX_binding_model.useModel).formData.value.residential_relation
diff --git a/dist/dev/mp-weixin/INDEX/binding/method.js b/dist/dev/mp-weixin/INDEX/binding/method.js
index d71a65d..556dc58 100644
--- a/dist/dev/mp-weixin/INDEX/binding/method.js
+++ b/dist/dev/mp-weixin/INDEX/binding/method.js
@@ -8,6 +8,7 @@ const common_store_useWeAppAuthStore = require("../../common/store/useWeAppAuthS
require("../../common/store/useWorkStore.js");
const common_libraries_naviHelper = require("../../common/libraries/naviHelper.js");
const common_libraries_userUserLogin = require("../../common/libraries/userUserLogin.js");
+const gen_Enums = require("../../gen/Enums.js");
const auth = common_store_useWeAppAuthStore.useWeAppAuthStore();
const handleSubmitStore = () => {
var _a, _b, _c;
@@ -39,6 +40,9 @@ const method = {
},
init(e) {
var _a, _b;
+ let obj = gen_Enums.HouseOccupantsResidentialRelationEnum;
+ delete obj["PropertyOwner"];
+ INDEX_binding_model.useModel.HouseOccupantsEnum.value = obj;
INDEX_binding_model.useModel.defaultHouseValueName.value = (e == null ? void 0 : e.houseName) || "";
INDEX_binding_model.useModel.formData.value = {
asset_houses_id: (e == null ? void 0 : e.id) || "",
diff --git a/dist/dev/mp-weixin/INDEX/binding/model.js b/dist/dev/mp-weixin/INDEX/binding/model.js
index 9d93de2..5a63c34 100644
--- a/dist/dev/mp-weixin/INDEX/binding/model.js
+++ b/dist/dev/mp-weixin/INDEX/binding/model.js
@@ -5,6 +5,7 @@ const useModel = {
ownerList: common_vendor.ref([]),
show: common_vendor.ref(false),
defaultHouseValueName: common_vendor.ref(""),
- loading: common_vendor.ref(false)
+ loading: common_vendor.ref(false),
+ HouseOccupantsEnum: common_vendor.ref({})
};
exports.useModel = useModel;
diff --git a/dist/dev/mp-weixin/ME/payment_pre_stored/index.wxml b/dist/dev/mp-weixin/ME/payment_pre_stored/index.wxml
index 13a74e6..c65561b 100644
--- a/dist/dev/mp-weixin/ME/payment_pre_stored/index.wxml
+++ b/dist/dev/mp-weixin/ME/payment_pre_stored/index.wxml
@@ -1 +1 @@
-{{i.e}} 预缴余额(元) 收支记录 不可开通预缴房屋({{g}}) {{i.e}} 预缴余额(元) 收支记录
\ No newline at end of file
+{{i.e}} 预缴余额(元) 收支记录 不可开通预缴房屋({{g}}) {{i.e}} 预缴余额(元) 收支记录
\ No newline at end of file
diff --git a/dist/dev/mp-weixin/WORKORDER/show/index.js b/dist/dev/mp-weixin/WORKORDER/show/index.js
index 2fed4fa..46f206e 100644
--- a/dist/dev/mp-weixin/WORKORDER/show/index.js
+++ b/dist/dev/mp-weixin/WORKORDER/show/index.js
@@ -48,7 +48,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
WORKORDER_show_model.useModel.logsData.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, _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;
+ 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;
return common_vendor.e({
a: common_vendor.p({
value: (_c = (_b = (_a = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _a.dataShow) == null ? void 0 : _b.value) == null ? void 0 : _c.type,
@@ -76,23 +76,26 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
};
}),
j: common_vendor.t((_H = (_G = (_F = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _F.dataShow) == null ? void 0 : _G.value) == null ? void 0 : _H.code),
- k: common_vendor.t(common_vendor.unref(common_libraries_day.getTimeRangeDisplay)((_K = (_J = (_I = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _I.dataShow) == null ? void 0 : _J.value) == null ? void 0 : _K.expect_start_time, (_N = (_M = (_L = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _L.dataShow) == null ? void 0 : _M.value) == null ? void 0 : _N.expect_end_time)),
- l: common_vendor.t((_Q = (_P = (_O = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _O.dataShow) == null ? void 0 : _P.value) == null ? void 0 : _Q.created_at),
- m: (_T = (_S = (_R = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _R.dataShow) == null ? void 0 : _S.value) == null ? void 0 : _T.evaluation_score
- }, ((_W = (_V = (_U = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _U.dataShow) == null ? void 0 : _V.value) == null ? void 0 : _W.evaluation_score) ? {
- n: common_vendor.p({
- valueModel: (_Z = (_Y = (_X = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _X.dataShow) == null ? void 0 : _Y.value) == null ? void 0 : _Z.evaluation_score
+ k: (_K = (_J = (_I = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _I.dataShow) == null ? void 0 : _J.value) == null ? void 0 : _K.expect_start_time
+ }, ((_N = (_M = (_L = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _L.dataShow) == null ? void 0 : _M.value) == null ? void 0 : _N.expect_start_time) ? {
+ l: common_vendor.t(common_vendor.unref(common_libraries_day.getTimeRangeDisplay)((_Q = (_P = (_O = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _O.dataShow) == null ? void 0 : _P.value) == null ? void 0 : _Q.expect_start_time, (_T = (_S = (_R = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _R.dataShow) == null ? void 0 : _S.value) == null ? void 0 : _T.expect_end_time))
+ } : {}, {
+ m: common_vendor.t((_W = (_V = (_U = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _U.dataShow) == null ? void 0 : _V.value) == null ? void 0 : _W.created_at),
+ n: (_Z = (_Y = (_X = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _X.dataShow) == null ? void 0 : _Y.value) == null ? void 0 : _Z.evaluation_score
+ }, ((_aa = (_$ = (__ = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : __.dataShow) == null ? void 0 : _$.value) == null ? void 0 : _aa.evaluation_score) ? {
+ o: common_vendor.p({
+ valueModel: (_da = (_ca = (_ba = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _ba.dataShow) == null ? void 0 : _ca.value) == null ? void 0 : _da.evaluation_score
})
} : {}, {
- o: parseFloat((_aa = (_$ = (__ = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : __.dataShow) == null ? void 0 : _$.value) == null ? void 0 : _aa.amount) > 0
- }, parseFloat((_da = (_ca = (_ba = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _ba.dataShow) == null ? void 0 : _ca.value) == null ? void 0 : _da.amount) > 0 ? {
- p: common_vendor.t((_ga = (_fa = (_ea = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _ea.dataShow) == null ? void 0 : _fa.value) == null ? void 0 : _ga.amount)
+ p: parseFloat((_ga = (_fa = (_ea = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _ea.dataShow) == null ? void 0 : _fa.value) == null ? void 0 : _ga.amount) > 0
+ }, parseFloat((_ja = (_ia = (_ha = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _ha.dataShow) == null ? void 0 : _ia.value) == null ? void 0 : _ja.amount) > 0 ? {
+ q: common_vendor.t((_ma = (_la = (_ka = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _ka.dataShow) == null ? void 0 : _la.value) == null ? void 0 : _ma.amount)
} : {}, {
- q: ((_ja = (_ia = (_ha = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _ha.dataShow) == null ? void 0 : _ia.value) == null ? void 0 : _ja.status) !== "Closed"
- }, ((_ma = (_la = (_ka = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _ka.dataShow) == null ? void 0 : _la.value) == null ? void 0 : _ma.status) !== "Closed" ? common_vendor.e({
- r: ((_pa = (_oa = (_na = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _na.dataShow) == null ? void 0 : _oa.value) == null ? void 0 : _pa.status) === "Pending"
- }, ((_sa = (_ra = (_qa = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _qa.dataShow) == null ? void 0 : _ra.value) == null ? void 0 : _sa.status) === "Pending" ? {
- s: common_vendor.o(
+ r: ((_pa = (_oa = (_na = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _na.dataShow) == null ? void 0 : _oa.value) == null ? void 0 : _pa.status) !== "Closed"
+ }, ((_sa = (_ra = (_qa = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _qa.dataShow) == null ? void 0 : _ra.value) == null ? void 0 : _sa.status) !== "Closed" ? common_vendor.e({
+ s: ((_va = (_ua = (_ta = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _ta.dataShow) == null ? void 0 : _ua.value) == null ? void 0 : _va.status) === "Pending"
+ }, ((_ya = (_xa = (_wa = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _wa.dataShow) == null ? void 0 : _xa.value) == null ? void 0 : _ya.status) === "Pending" ? {
+ t: common_vendor.o(
//@ts-ignore
(...args) => {
var _a2, _b2;
@@ -100,13 +103,13 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}
)
} : {}, {
- t: ((_va = (_ua = (_ta = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _ta.dataShow) == null ? void 0 : _ua.value) == null ? void 0 : _va.status) === "Processing"
- }, ((_ya = (_xa = (_wa = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _wa.dataShow) == null ? void 0 : _xa.value) == null ? void 0 : _ya.status) === "Processing" ? {
- v: common_vendor.p({
+ v: ((_Ba = (_Aa = (_za = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _za.dataShow) == null ? void 0 : _Aa.value) == null ? void 0 : _Ba.status) === "Processing"
+ }, ((_Ea = (_Da = (_Ca = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Ca.dataShow) == null ? void 0 : _Da.value) == null ? void 0 : _Ea.status) === "Processing" ? {
+ w: common_vendor.p({
name: "file-text",
size: "28"
}),
- w: common_vendor.o(
+ x: common_vendor.o(
//@ts-ignore
(...args) => {
var _a2, _b2;
@@ -114,14 +117,14 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}
)
} : {}, {
- x: ((_Ba = (_Aa = (_za = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _za.dataShow) == null ? void 0 : _Aa.value) == null ? void 0 : _Ba.status) === "Completed" && !((_Ea = (_Da = (_Ca = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Ca.dataShow) == null ? void 0 : _Da.value) == null ? void 0 : _Ea.evaluation_score)
- }, ((_Ha = (_Ga = (_Fa = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Fa.dataShow) == null ? void 0 : _Ga.value) == null ? void 0 : _Ha.status) === "Completed" && !((_Ka = (_Ja = (_Ia = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Ia.dataShow) == null ? void 0 : _Ja.value) == null ? void 0 : _Ka.evaluation_score) ? {
- y: common_vendor.p({
+ y: ((_Ha = (_Ga = (_Fa = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Fa.dataShow) == null ? void 0 : _Ga.value) == null ? void 0 : _Ha.status) === "Completed" && !((_Ka = (_Ja = (_Ia = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Ia.dataShow) == null ? void 0 : _Ja.value) == null ? void 0 : _Ka.evaluation_score)
+ }, ((_Na = (_Ma = (_La = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _La.dataShow) == null ? void 0 : _Ma.value) == null ? void 0 : _Na.status) === "Completed" && !((_Qa = (_Pa = (_Oa = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Oa.dataShow) == null ? void 0 : _Pa.value) == null ? void 0 : _Qa.evaluation_score) ? {
+ z: common_vendor.p({
type: "undo-filled",
color: "#333",
size: "26"
}),
- z: common_vendor.o(
+ A: common_vendor.o(
//@ts-ignore
(...args) => {
var _a2, _b2;
@@ -129,9 +132,9 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}
)
} : {}, {
- A: ((_Na = (_Ma = (_La = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _La.dataShow) == null ? void 0 : _Ma.value) == null ? void 0 : _Na.status) === "Completed" && ((_Qa = (_Pa = (_Oa = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Oa.dataShow) == null ? void 0 : _Pa.value) == null ? void 0 : _Qa.evaluation_score)
- }, ((_Ta = (_Sa = (_Ra = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Ra.dataShow) == null ? void 0 : _Sa.value) == null ? void 0 : _Ta.status) === "Completed" && ((_Wa = (_Va = (_Ua = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Ua.dataShow) == null ? void 0 : _Va.value) == null ? void 0 : _Wa.evaluation_score) ? {
- B: common_vendor.o(
+ B: ((_Ta = (_Sa = (_Ra = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Ra.dataShow) == null ? void 0 : _Sa.value) == null ? void 0 : _Ta.status) === "Completed" && ((_Wa = (_Va = (_Ua = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Ua.dataShow) == null ? void 0 : _Va.value) == null ? void 0 : _Wa.evaluation_score)
+ }, ((_Za = (_Ya = (_Xa = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Xa.dataShow) == null ? void 0 : _Ya.value) == null ? void 0 : _Za.status) === "Completed" && ((_ab = (_$a = (__a = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : __a.dataShow) == null ? void 0 : _$a.value) == null ? void 0 : _ab.evaluation_score) ? {
+ C: common_vendor.o(
//@ts-ignore
(...args) => {
var _a2, _b2;
@@ -139,9 +142,9 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}
)
} : {}, {
- C: ((_Za = (_Ya = (_Xa = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Xa.dataShow) == null ? void 0 : _Ya.value) == null ? void 0 : _Za.status) !== "Pending" && ((_ab = (_$a = (__a = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : __a.dataShow) == null ? void 0 : _$a.value) == null ? void 0 : _ab.status) !== "Completed" && ((_db = (_cb = (_bb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _bb.dataShow) == null ? void 0 : _cb.value) == null ? void 0 : _db.status) !== "Closed"
- }, ((_gb = (_fb = (_eb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _eb.dataShow) == null ? void 0 : _fb.value) == null ? void 0 : _gb.status) !== "Pending" && ((_jb = (_ib = (_hb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _hb.dataShow) == null ? void 0 : _ib.value) == null ? void 0 : _jb.status) !== "Completed" && ((_mb = (_lb = (_kb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _kb.dataShow) == null ? void 0 : _lb.value) == null ? void 0 : _mb.status) !== "Closed" ? {
- D: common_vendor.o(
+ D: ((_db = (_cb = (_bb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _bb.dataShow) == null ? void 0 : _cb.value) == null ? void 0 : _db.status) !== "Pending" && ((_gb = (_fb = (_eb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _eb.dataShow) == null ? void 0 : _fb.value) == null ? void 0 : _gb.status) !== "Completed" && ((_jb = (_ib = (_hb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _hb.dataShow) == null ? void 0 : _ib.value) == null ? void 0 : _jb.status) !== "Closed"
+ }, ((_mb = (_lb = (_kb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _kb.dataShow) == null ? void 0 : _lb.value) == null ? void 0 : _mb.status) !== "Pending" && ((_pb = (_ob = (_nb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _nb.dataShow) == null ? void 0 : _ob.value) == null ? void 0 : _pb.status) !== "Completed" && ((_sb = (_rb = (_qb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _qb.dataShow) == null ? void 0 : _rb.value) == null ? void 0 : _sb.status) !== "Closed" ? {
+ E: common_vendor.o(
//@ts-ignore
(...args) => {
var _a2, _b2;
@@ -149,43 +152,43 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}
)
} : {}, {
- E: ((_pb = (_ob = (_nb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _nb.dataShow) == null ? void 0 : _ob.value) == null ? void 0 : _pb.status) === "Pending" || ((_sb = (_rb = (_qb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _qb.dataShow) == null ? void 0 : _rb.value) == null ? void 0 : _sb.status) === "Processing"
- }, ((_vb = (_ub = (_tb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _tb.dataShow) == null ? void 0 : _ub.value) == null ? void 0 : _vb.status) === "Pending" || ((_yb = (_xb = (_wb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _wb.dataShow) == null ? void 0 : _xb.value) == null ? void 0 : _yb.status) === "Processing" ? {
- F: common_vendor.o(
+ F: ((_vb = (_ub = (_tb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _tb.dataShow) == null ? void 0 : _ub.value) == null ? void 0 : _vb.status) === "Pending" || ((_yb = (_xb = (_wb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _wb.dataShow) == null ? void 0 : _xb.value) == null ? void 0 : _yb.status) === "Processing"
+ }, ((_Bb = (_Ab = (_zb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _zb.dataShow) == null ? void 0 : _Ab.value) == null ? void 0 : _Bb.status) === "Pending" || ((_Eb = (_Db = (_Cb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Cb.dataShow) == null ? void 0 : _Db.value) == null ? void 0 : _Eb.status) === "Processing" ? {
+ G: common_vendor.o(
//@ts-ignore
(...args) => {
var _a2, _b2;
return ((_a2 = common_vendor.unref(WORKORDER_show_method.method)) == null ? void 0 : _a2.hadnleUpdateTime) && ((_b2 = common_vendor.unref(WORKORDER_show_method.method)) == null ? void 0 : _b2.hadnleUpdateTime(...args));
}
),
- G: common_vendor.s(common_vendor.unref(common_libraries_getPageConfig.getStyleBgInfo)())
+ H: common_vendor.s(common_vendor.unref(common_libraries_getPageConfig.getStyleBgInfo)())
} : {}, {
- H: ((_Bb = (_Ab = (_zb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _zb.dataShow) == null ? void 0 : _Ab.value) == null ? void 0 : _Bb.status) === "PendingAcceptance"
- }, ((_Eb = (_Db = (_Cb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Cb.dataShow) == null ? void 0 : _Db.value) == null ? void 0 : _Eb.status) === "PendingAcceptance" ? {
- I: common_vendor.o(
+ I: ((_Hb = (_Gb = (_Fb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Fb.dataShow) == null ? void 0 : _Gb.value) == null ? void 0 : _Hb.status) === "PendingAcceptance"
+ }, ((_Kb = (_Jb = (_Ib = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Ib.dataShow) == null ? void 0 : _Jb.value) == null ? void 0 : _Kb.status) === "PendingAcceptance" ? {
+ J: common_vendor.o(
//@ts-ignore
(...args) => {
var _a2, _b2;
return ((_a2 = common_vendor.unref(WORKORDER_show_method.method)) == null ? void 0 : _a2.handleAcceptance) && ((_b2 = common_vendor.unref(WORKORDER_show_method.method)) == null ? void 0 : _b2.handleAcceptance(...args));
}
),
- J: common_vendor.s(common_vendor.unref(common_libraries_getPageConfig.getStyleBgInfo)())
+ K: common_vendor.s(common_vendor.unref(common_libraries_getPageConfig.getStyleBgInfo)())
} : {}, {
- K: ((_Hb = (_Gb = (_Fb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Fb.dataShow) == null ? void 0 : _Gb.value) == null ? void 0 : _Hb.status) === "PendingPayment"
- }, ((_Kb = (_Jb = (_Ib = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Ib.dataShow) == null ? void 0 : _Jb.value) == null ? void 0 : _Kb.status) === "PendingPayment" ? {
- L: common_vendor.o(
+ L: ((_Nb = (_Mb = (_Lb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Lb.dataShow) == null ? void 0 : _Mb.value) == null ? void 0 : _Nb.status) === "PendingPayment"
+ }, ((_Qb = (_Pb = (_Ob = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Ob.dataShow) == null ? void 0 : _Pb.value) == null ? void 0 : _Qb.status) === "PendingPayment" ? {
+ M: common_vendor.o(
//@ts-ignore
(...args) => {
var _a2, _b2;
return ((_a2 = common_vendor.unref(WORKORDER_show_method.method)) == null ? void 0 : _a2.handleAcceptance) && ((_b2 = common_vendor.unref(WORKORDER_show_method.method)) == null ? void 0 : _b2.handleAcceptance(...args));
}
),
- M: common_vendor.s(common_vendor.unref(common_libraries_getPageConfig.getStyleBgInfo)())
+ N: common_vendor.s(common_vendor.unref(common_libraries_getPageConfig.getStyleBgInfo)())
} : {}, {
- N: ((_Nb = (_Mb = (_Lb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Lb.dataShow) == null ? void 0 : _Mb.value) == null ? void 0 : _Nb.status) === "Completed" && !((_Qb = (_Pb = (_Ob = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Ob.dataShow) == null ? void 0 : _Pb.value) == null ? void 0 : _Qb.evaluation_score)
- }, ((_Tb = (_Sb = (_Rb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Rb.dataShow) == null ? void 0 : _Sb.value) == null ? void 0 : _Tb.status) === "Completed" && !((_Wb = (_Vb = (_Ub = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Ub.dataShow) == null ? void 0 : _Vb.value) == null ? void 0 : _Wb.evaluation_score) ? {
- O: common_vendor.s(common_vendor.unref(common_libraries_getPageConfig.getStyleBgInfo)()),
- P: common_vendor.o(
+ O: ((_Tb = (_Sb = (_Rb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Rb.dataShow) == null ? void 0 : _Sb.value) == null ? void 0 : _Tb.status) === "Completed" && !((_Wb = (_Vb = (_Ub = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Ub.dataShow) == null ? void 0 : _Vb.value) == null ? void 0 : _Wb.evaluation_score)
+ }, ((_Zb = (_Yb = (_Xb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Xb.dataShow) == null ? void 0 : _Yb.value) == null ? void 0 : _Zb.status) === "Completed" && !((_ac = (_$b = (__b = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : __b.dataShow) == null ? void 0 : _$b.value) == null ? void 0 : _ac.evaluation_score) ? {
+ P: common_vendor.s(common_vendor.unref(common_libraries_getPageConfig.getStyleBgInfo)()),
+ Q: common_vendor.o(
//@ts-ignore
(...args) => {
var _a2, _b2;
@@ -193,10 +196,10 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}
)
} : {}) : {}, {
- Q: common_vendor.o((_Xb = common_vendor.unref(WORKORDER_show_method.method)) == null ? void 0 : _Xb.handlepopupClose),
- R: common_vendor.o(($event) => common_vendor.unref(WORKORDER_show_model.useModel).showEvaluate.value = false),
- S: common_vendor.p({
- show: (_Zb = (_Yb = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _Yb.showEvaluate) == null ? void 0 : _Zb.value,
+ R: common_vendor.o((_bc = common_vendor.unref(WORKORDER_show_method.method)) == null ? void 0 : _bc.handlepopupClose),
+ S: common_vendor.o(($event) => common_vendor.unref(WORKORDER_show_model.useModel).showEvaluate.value = false),
+ T: common_vendor.p({
+ show: (_dc = (_cc = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _cc.showEvaluate) == null ? void 0 : _dc.value,
mode: "bottom",
closeable: true,
round: 20
diff --git a/dist/dev/mp-weixin/WORKORDER/show/index.wxml b/dist/dev/mp-weixin/WORKORDER/show/index.wxml
index f8994fd..dee8f52 100644
--- a/dist/dev/mp-weixin/WORKORDER/show/index.wxml
+++ b/dist/dev/mp-weixin/WORKORDER/show/index.wxml
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/dist/dev/mp-weixin/common/libraries/day.js b/dist/dev/mp-weixin/common/libraries/day.js
index 98b5908..ec69a07 100644
--- a/dist/dev/mp-weixin/common/libraries/day.js
+++ b/dist/dev/mp-weixin/common/libraries/day.js
@@ -54,7 +54,7 @@ function getTimeRangeDisplay(startTime, endTime, currentTime = null) {
const end = common_vendor.dayjs(endTime);
const now = currentTime ? common_vendor.dayjs(currentTime) : common_vendor.dayjs();
if (!start.isValid() || !end.isValid()) {
- return "时间格式错误";
+ return "";
}
if (start.isAfter(end)) {
return "时间顺序错误";
@@ -92,8 +92,7 @@ function specificTime(targetTime) {
return hoursDiff;
}
function showCurrentTime() {
- const timeString = common_vendor.dayjs().format("HH:mm");
- console.log(timeString);
+ const timeString = common_vendor.dayjs().format("HH:mm:ss");
return timeString;
}
function checkWorkStatus() {
diff --git a/dist/dev/mp-weixin/common/vendor.js b/dist/dev/mp-weixin/common/vendor.js
index d0a79b6..4a194b1 100644
--- a/dist/dev/mp-weixin/common/vendor.js
+++ b/dist/dev/mp-weixin/common/vendor.js
@@ -11680,305 +11680,316 @@ class Request2 {
}
}
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
-var dayjs_minExports = {};
+function getDefaultExportFromCjs(x) {
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
+}
+var dayjs_minExports$1 = {};
var dayjs_min = {
get exports() {
- return dayjs_minExports;
+ return dayjs_minExports$1;
},
set exports(v) {
- dayjs_minExports = v;
+ dayjs_minExports$1 = v;
}
};
-(function(module2, exports2) {
- !function(t2, e2) {
- module2.exports = e2();
- }(commonjsGlobal, function() {
- var t2 = 1e3, e2 = 6e4, n2 = 36e5, r2 = "millisecond", i = "second", s2 = "minute", u = "hour", a = "day", o2 = "week", c = "month", f2 = "quarter", h = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t3) {
- var e3 = ["th", "st", "nd", "rd"], n3 = t3 % 100;
- return "[" + t3 + (e3[(n3 - 20) % 10] || e3[n3] || e3[0]) + "]";
- } }, m = function(t3, e3, n3) {
- var r3 = String(t3);
- return !r3 || r3.length >= e3 ? t3 : "" + Array(e3 + 1 - r3.length).join(n3) + t3;
- }, v = { s: m, z: function(t3) {
- var e3 = -t3.utcOffset(), n3 = Math.abs(e3), r3 = Math.floor(n3 / 60), i2 = n3 % 60;
- return (e3 <= 0 ? "+" : "-") + m(r3, 2, "0") + ":" + m(i2, 2, "0");
- }, m: function t3(e3, n3) {
- if (e3.date() < n3.date())
- return -t3(n3, e3);
- var r3 = 12 * (n3.year() - e3.year()) + (n3.month() - e3.month()), i2 = e3.clone().add(r3, c), s3 = n3 - i2 < 0, u2 = e3.clone().add(r3 + (s3 ? -1 : 1), c);
- return +(-(r3 + (n3 - i2) / (s3 ? i2 - u2 : u2 - i2)) || 0);
- }, a: function(t3) {
- return t3 < 0 ? Math.ceil(t3) || 0 : Math.floor(t3);
- }, p: function(t3) {
- return { M: c, y: h, w: o2, d: a, D: d, h: u, m: s2, s: i, ms: r2, Q: f2 }[t3] || String(t3 || "").toLowerCase().replace(/s$/, "");
- }, u: function(t3) {
- return void 0 === t3;
- } }, g = "en", D = {};
- D[g] = M;
- var p2 = "$isDayjsObject", S = function(t3) {
- return t3 instanceof _ || !(!t3 || !t3[p2]);
- }, w = function t3(e3, n3, r3) {
- var i2;
- if (!e3)
- return g;
- if ("string" == typeof e3) {
- var s3 = e3.toLowerCase();
- D[s3] && (i2 = s3), n3 && (D[s3] = n3, i2 = s3);
- var u2 = e3.split("-");
- if (!i2 && u2.length > 1)
- return t3(u2[0]);
- } else {
- var a2 = e3.name;
- D[a2] = e3, i2 = a2;
- }
- return !r3 && i2 && (g = i2), i2 || !r3 && g;
- }, O = function(t3, e3) {
- if (S(t3))
- return t3.clone();
- var n3 = "object" == typeof e3 ? e3 : {};
- return n3.date = t3, n3.args = arguments, new _(n3);
- }, b = v;
- b.l = w, b.i = S, b.w = function(t3, e3) {
- return O(t3, { locale: e3.$L, utc: e3.$u, x: e3.$x, $offset: e3.$offset });
- };
- var _ = function() {
- function M2(t3) {
- this.$L = w(t3.locale, null, true), this.parse(t3), this.$x = this.$x || t3.x || {}, this[p2] = true;
- }
- var m2 = M2.prototype;
- return m2.parse = function(t3) {
- this.$d = function(t4) {
- var e3 = t4.date, n3 = t4.utc;
- if (null === e3)
- return new Date(NaN);
- if (b.u(e3))
- return new Date();
- if (e3 instanceof Date)
- return new Date(e3);
- if ("string" == typeof e3 && !/Z$/i.test(e3)) {
- var r3 = e3.match($);
- if (r3) {
- var i2 = r3[2] - 1 || 0, s3 = (r3[7] || "0").substring(0, 3);
- return n3 ? new Date(Date.UTC(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3)) : new Date(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3);
- }
- }
- return new Date(e3);
- }(t3), this.init();
- }, m2.init = function() {
- var t3 = this.$d;
- this.$y = t3.getFullYear(), this.$M = t3.getMonth(), this.$D = t3.getDate(), this.$W = t3.getDay(), this.$H = t3.getHours(), this.$m = t3.getMinutes(), this.$s = t3.getSeconds(), this.$ms = t3.getMilliseconds();
- }, m2.$utils = function() {
- return b;
- }, m2.isValid = function() {
- return !(this.$d.toString() === l);
- }, m2.isSame = function(t3, e3) {
- var n3 = O(t3);
- return this.startOf(e3) <= n3 && n3 <= this.endOf(e3);
- }, m2.isAfter = function(t3, e3) {
- return O(t3) < this.startOf(e3);
- }, m2.isBefore = function(t3, e3) {
- return this.endOf(e3) < O(t3);
- }, m2.$g = function(t3, e3, n3) {
- return b.u(t3) ? this[e3] : this.set(n3, t3);
- }, m2.unix = function() {
- return Math.floor(this.valueOf() / 1e3);
- }, m2.valueOf = function() {
- return this.$d.getTime();
- }, m2.startOf = function(t3, e3) {
- var n3 = this, r3 = !!b.u(e3) || e3, f3 = b.p(t3), l2 = function(t4, e4) {
- var i2 = b.w(n3.$u ? Date.UTC(n3.$y, e4, t4) : new Date(n3.$y, e4, t4), n3);
- return r3 ? i2 : i2.endOf(a);
- }, $2 = function(t4, e4) {
- return b.w(n3.toDate()[t4].apply(n3.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e4)), n3);
- }, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
- switch (f3) {
- case h:
- return r3 ? l2(1, 0) : l2(31, 11);
- case c:
- return r3 ? l2(1, M3) : l2(0, M3 + 1);
- case o2:
- var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
- return l2(r3 ? m3 - D2 : m3 + (6 - D2), M3);
- case a:
- case d:
- return $2(v2 + "Hours", 0);
- case u:
- return $2(v2 + "Minutes", 1);
- case s2:
- return $2(v2 + "Seconds", 2);
- case i:
- return $2(v2 + "Milliseconds", 3);
- default:
- return this.clone();
+var hasRequiredDayjs_min;
+function requireDayjs_min() {
+ if (hasRequiredDayjs_min)
+ return dayjs_minExports$1;
+ hasRequiredDayjs_min = 1;
+ (function(module2, exports2) {
+ !function(t2, e2) {
+ module2.exports = e2();
+ }(commonjsGlobal, function() {
+ var t2 = 1e3, e2 = 6e4, n2 = 36e5, r2 = "millisecond", i = "second", s2 = "minute", u = "hour", a = "day", o2 = "week", c = "month", f2 = "quarter", h = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t3) {
+ var e3 = ["th", "st", "nd", "rd"], n3 = t3 % 100;
+ return "[" + t3 + (e3[(n3 - 20) % 10] || e3[n3] || e3[0]) + "]";
+ } }, m = function(t3, e3, n3) {
+ var r3 = String(t3);
+ return !r3 || r3.length >= e3 ? t3 : "" + Array(e3 + 1 - r3.length).join(n3) + t3;
+ }, v = { s: m, z: function(t3) {
+ var e3 = -t3.utcOffset(), n3 = Math.abs(e3), r3 = Math.floor(n3 / 60), i2 = n3 % 60;
+ return (e3 <= 0 ? "+" : "-") + m(r3, 2, "0") + ":" + m(i2, 2, "0");
+ }, m: function t3(e3, n3) {
+ if (e3.date() < n3.date())
+ return -t3(n3, e3);
+ var r3 = 12 * (n3.year() - e3.year()) + (n3.month() - e3.month()), i2 = e3.clone().add(r3, c), s3 = n3 - i2 < 0, u2 = e3.clone().add(r3 + (s3 ? -1 : 1), c);
+ return +(-(r3 + (n3 - i2) / (s3 ? i2 - u2 : u2 - i2)) || 0);
+ }, a: function(t3) {
+ return t3 < 0 ? Math.ceil(t3) || 0 : Math.floor(t3);
+ }, p: function(t3) {
+ return { M: c, y: h, w: o2, d: a, D: d, h: u, m: s2, s: i, ms: r2, Q: f2 }[t3] || String(t3 || "").toLowerCase().replace(/s$/, "");
+ }, u: function(t3) {
+ return void 0 === t3;
+ } }, g = "en", D = {};
+ D[g] = M;
+ var p2 = "$isDayjsObject", S = function(t3) {
+ return t3 instanceof _ || !(!t3 || !t3[p2]);
+ }, w = function t3(e3, n3, r3) {
+ var i2;
+ if (!e3)
+ return g;
+ if ("string" == typeof e3) {
+ var s3 = e3.toLowerCase();
+ D[s3] && (i2 = s3), n3 && (D[s3] = n3, i2 = s3);
+ var u2 = e3.split("-");
+ if (!i2 && u2.length > 1)
+ return t3(u2[0]);
+ } else {
+ var a2 = e3.name;
+ D[a2] = e3, i2 = a2;
}
- }, m2.endOf = function(t3) {
- return this.startOf(t3, false);
- }, m2.$set = function(t3, e3) {
- var n3, o3 = b.p(t3), f3 = "set" + (this.$u ? "UTC" : ""), l2 = (n3 = {}, n3[a] = f3 + "Date", n3[d] = f3 + "Date", n3[c] = f3 + "Month", n3[h] = f3 + "FullYear", n3[u] = f3 + "Hours", n3[s2] = f3 + "Minutes", n3[i] = f3 + "Seconds", n3[r2] = f3 + "Milliseconds", n3)[o3], $2 = o3 === a ? this.$D + (e3 - this.$W) : e3;
- if (o3 === c || o3 === h) {
- var y2 = this.clone().set(d, 1);
- y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
- } else
- l2 && this.$d[l2]($2);
- return this.init(), this;
- }, m2.set = function(t3, e3) {
- return this.clone().$set(t3, e3);
- }, m2.get = function(t3) {
- return this[b.p(t3)]();
- }, m2.add = function(r3, f3) {
- var d2, l2 = this;
- r3 = Number(r3);
- var $2 = b.p(f3), y2 = function(t3) {
- var e3 = O(l2);
- return b.w(e3.date(e3.date() + Math.round(t3 * r3)), l2);
- };
- if ($2 === c)
- return this.set(c, this.$M + r3);
- if ($2 === h)
- return this.set(h, this.$y + r3);
- if ($2 === a)
- return y2(1);
- if ($2 === o2)
- return y2(7);
- var M3 = (d2 = {}, d2[s2] = e2, d2[u] = n2, d2[i] = t2, d2)[$2] || 1, m3 = this.$d.getTime() + r3 * M3;
- return b.w(m3, this);
- }, m2.subtract = function(t3, e3) {
- return this.add(-1 * t3, e3);
- }, m2.format = function(t3) {
- var e3 = this, n3 = this.$locale();
- if (!this.isValid())
- return n3.invalidDate || l;
- var r3 = t3 || "YYYY-MM-DDTHH:mm:ssZ", i2 = b.z(this), s3 = this.$H, u2 = this.$m, a2 = this.$M, o3 = n3.weekdays, c2 = n3.months, f3 = n3.meridiem, h2 = function(t4, n4, i3, s4) {
- return t4 && (t4[n4] || t4(e3, r3)) || i3[n4].slice(0, s4);
- }, d2 = function(t4) {
- return b.s(s3 % 12 || 12, t4, "0");
- }, $2 = f3 || function(t4, e4, n4) {
- var r4 = t4 < 12 ? "AM" : "PM";
- return n4 ? r4.toLowerCase() : r4;
- };
- return r3.replace(y, function(t4, r4) {
- return r4 || function(t5) {
- switch (t5) {
- case "YY":
- return String(e3.$y).slice(-2);
- case "YYYY":
- return b.s(e3.$y, 4, "0");
- case "M":
- return a2 + 1;
- case "MM":
- return b.s(a2 + 1, 2, "0");
- case "MMM":
- return h2(n3.monthsShort, a2, c2, 3);
- case "MMMM":
- return h2(c2, a2);
- case "D":
- return e3.$D;
- case "DD":
- return b.s(e3.$D, 2, "0");
- case "d":
- return String(e3.$W);
- case "dd":
- return h2(n3.weekdaysMin, e3.$W, o3, 2);
- case "ddd":
- return h2(n3.weekdaysShort, e3.$W, o3, 3);
- case "dddd":
- return o3[e3.$W];
- case "H":
- return String(s3);
- case "HH":
- return b.s(s3, 2, "0");
- case "h":
- return d2(1);
- case "hh":
- return d2(2);
- case "a":
- return $2(s3, u2, true);
- case "A":
- return $2(s3, u2, false);
- case "m":
- return String(u2);
- case "mm":
- return b.s(u2, 2, "0");
- case "s":
- return String(e3.$s);
- case "ss":
- return b.s(e3.$s, 2, "0");
- case "SSS":
- return b.s(e3.$ms, 3, "0");
- case "Z":
- return i2;
- }
- return null;
- }(t4) || i2.replace(":", "");
- });
- }, m2.utcOffset = function() {
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
- }, m2.diff = function(r3, d2, l2) {
- var $2, y2 = this, M3 = b.p(d2), m3 = O(r3), v2 = (m3.utcOffset() - this.utcOffset()) * e2, g2 = this - m3, D2 = function() {
- return b.m(y2, m3);
- };
- switch (M3) {
- case h:
- $2 = D2() / 12;
- break;
- case c:
- $2 = D2();
- break;
- case f2:
- $2 = D2() / 3;
- break;
- case o2:
- $2 = (g2 - v2) / 6048e5;
- break;
- case a:
- $2 = (g2 - v2) / 864e5;
- break;
- case u:
- $2 = g2 / n2;
- break;
- case s2:
- $2 = g2 / e2;
- break;
- case i:
- $2 = g2 / t2;
- break;
- default:
- $2 = g2;
- }
- return l2 ? $2 : b.a($2);
- }, m2.daysInMonth = function() {
- return this.endOf(c).$D;
- }, m2.$locale = function() {
- return D[this.$L];
- }, m2.locale = function(t3, e3) {
- if (!t3)
- return this.$L;
- var n3 = this.clone(), r3 = w(t3, e3, true);
- return r3 && (n3.$L = r3), n3;
- }, m2.clone = function() {
- return b.w(this.$d, this);
- }, m2.toDate = function() {
- return new Date(this.valueOf());
- }, m2.toJSON = function() {
- return this.isValid() ? this.toISOString() : null;
- }, m2.toISOString = function() {
- return this.$d.toISOString();
- }, m2.toString = function() {
- return this.$d.toUTCString();
- }, M2;
- }(), k = _.prototype;
- return O.prototype = k, [["$ms", r2], ["$s", i], ["$m", s2], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function(t3) {
- k[t3[1]] = function(e3) {
- return this.$g(e3, t3[0], t3[1]);
+ return !r3 && i2 && (g = i2), i2 || !r3 && g;
+ }, O = function(t3, e3) {
+ if (S(t3))
+ return t3.clone();
+ var n3 = "object" == typeof e3 ? e3 : {};
+ return n3.date = t3, n3.args = arguments, new _(n3);
+ }, b = v;
+ b.l = w, b.i = S, b.w = function(t3, e3) {
+ return O(t3, { locale: e3.$L, utc: e3.$u, x: e3.$x, $offset: e3.$offset });
};
- }), O.extend = function(t3, e3) {
- return t3.$i || (t3(e3, _, O), t3.$i = true), O;
- }, O.locale = w, O.isDayjs = S, O.unix = function(t3) {
- return O(1e3 * t3);
- }, O.en = D[g], O.Ls = D, O.p = {}, O;
- });
-})(dayjs_min);
-const dayjs = dayjs_minExports;
+ var _ = function() {
+ function M2(t3) {
+ this.$L = w(t3.locale, null, true), this.parse(t3), this.$x = this.$x || t3.x || {}, this[p2] = true;
+ }
+ var m2 = M2.prototype;
+ return m2.parse = function(t3) {
+ this.$d = function(t4) {
+ var e3 = t4.date, n3 = t4.utc;
+ if (null === e3)
+ return new Date(NaN);
+ if (b.u(e3))
+ return new Date();
+ if (e3 instanceof Date)
+ return new Date(e3);
+ if ("string" == typeof e3 && !/Z$/i.test(e3)) {
+ var r3 = e3.match($);
+ if (r3) {
+ var i2 = r3[2] - 1 || 0, s3 = (r3[7] || "0").substring(0, 3);
+ return n3 ? new Date(Date.UTC(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3)) : new Date(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3);
+ }
+ }
+ return new Date(e3);
+ }(t3), this.init();
+ }, m2.init = function() {
+ var t3 = this.$d;
+ this.$y = t3.getFullYear(), this.$M = t3.getMonth(), this.$D = t3.getDate(), this.$W = t3.getDay(), this.$H = t3.getHours(), this.$m = t3.getMinutes(), this.$s = t3.getSeconds(), this.$ms = t3.getMilliseconds();
+ }, m2.$utils = function() {
+ return b;
+ }, m2.isValid = function() {
+ return !(this.$d.toString() === l);
+ }, m2.isSame = function(t3, e3) {
+ var n3 = O(t3);
+ return this.startOf(e3) <= n3 && n3 <= this.endOf(e3);
+ }, m2.isAfter = function(t3, e3) {
+ return O(t3) < this.startOf(e3);
+ }, m2.isBefore = function(t3, e3) {
+ return this.endOf(e3) < O(t3);
+ }, m2.$g = function(t3, e3, n3) {
+ return b.u(t3) ? this[e3] : this.set(n3, t3);
+ }, m2.unix = function() {
+ return Math.floor(this.valueOf() / 1e3);
+ }, m2.valueOf = function() {
+ return this.$d.getTime();
+ }, m2.startOf = function(t3, e3) {
+ var n3 = this, r3 = !!b.u(e3) || e3, f3 = b.p(t3), l2 = function(t4, e4) {
+ var i2 = b.w(n3.$u ? Date.UTC(n3.$y, e4, t4) : new Date(n3.$y, e4, t4), n3);
+ return r3 ? i2 : i2.endOf(a);
+ }, $2 = function(t4, e4) {
+ return b.w(n3.toDate()[t4].apply(n3.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e4)), n3);
+ }, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
+ switch (f3) {
+ case h:
+ return r3 ? l2(1, 0) : l2(31, 11);
+ case c:
+ return r3 ? l2(1, M3) : l2(0, M3 + 1);
+ case o2:
+ var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
+ return l2(r3 ? m3 - D2 : m3 + (6 - D2), M3);
+ case a:
+ case d:
+ return $2(v2 + "Hours", 0);
+ case u:
+ return $2(v2 + "Minutes", 1);
+ case s2:
+ return $2(v2 + "Seconds", 2);
+ case i:
+ return $2(v2 + "Milliseconds", 3);
+ default:
+ return this.clone();
+ }
+ }, m2.endOf = function(t3) {
+ return this.startOf(t3, false);
+ }, m2.$set = function(t3, e3) {
+ var n3, o3 = b.p(t3), f3 = "set" + (this.$u ? "UTC" : ""), l2 = (n3 = {}, n3[a] = f3 + "Date", n3[d] = f3 + "Date", n3[c] = f3 + "Month", n3[h] = f3 + "FullYear", n3[u] = f3 + "Hours", n3[s2] = f3 + "Minutes", n3[i] = f3 + "Seconds", n3[r2] = f3 + "Milliseconds", n3)[o3], $2 = o3 === a ? this.$D + (e3 - this.$W) : e3;
+ if (o3 === c || o3 === h) {
+ var y2 = this.clone().set(d, 1);
+ y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
+ } else
+ l2 && this.$d[l2]($2);
+ return this.init(), this;
+ }, m2.set = function(t3, e3) {
+ return this.clone().$set(t3, e3);
+ }, m2.get = function(t3) {
+ return this[b.p(t3)]();
+ }, m2.add = function(r3, f3) {
+ var d2, l2 = this;
+ r3 = Number(r3);
+ var $2 = b.p(f3), y2 = function(t3) {
+ var e3 = O(l2);
+ return b.w(e3.date(e3.date() + Math.round(t3 * r3)), l2);
+ };
+ if ($2 === c)
+ return this.set(c, this.$M + r3);
+ if ($2 === h)
+ return this.set(h, this.$y + r3);
+ if ($2 === a)
+ return y2(1);
+ if ($2 === o2)
+ return y2(7);
+ var M3 = (d2 = {}, d2[s2] = e2, d2[u] = n2, d2[i] = t2, d2)[$2] || 1, m3 = this.$d.getTime() + r3 * M3;
+ return b.w(m3, this);
+ }, m2.subtract = function(t3, e3) {
+ return this.add(-1 * t3, e3);
+ }, m2.format = function(t3) {
+ var e3 = this, n3 = this.$locale();
+ if (!this.isValid())
+ return n3.invalidDate || l;
+ var r3 = t3 || "YYYY-MM-DDTHH:mm:ssZ", i2 = b.z(this), s3 = this.$H, u2 = this.$m, a2 = this.$M, o3 = n3.weekdays, c2 = n3.months, f3 = n3.meridiem, h2 = function(t4, n4, i3, s4) {
+ return t4 && (t4[n4] || t4(e3, r3)) || i3[n4].slice(0, s4);
+ }, d2 = function(t4) {
+ return b.s(s3 % 12 || 12, t4, "0");
+ }, $2 = f3 || function(t4, e4, n4) {
+ var r4 = t4 < 12 ? "AM" : "PM";
+ return n4 ? r4.toLowerCase() : r4;
+ };
+ return r3.replace(y, function(t4, r4) {
+ return r4 || function(t5) {
+ switch (t5) {
+ case "YY":
+ return String(e3.$y).slice(-2);
+ case "YYYY":
+ return b.s(e3.$y, 4, "0");
+ case "M":
+ return a2 + 1;
+ case "MM":
+ return b.s(a2 + 1, 2, "0");
+ case "MMM":
+ return h2(n3.monthsShort, a2, c2, 3);
+ case "MMMM":
+ return h2(c2, a2);
+ case "D":
+ return e3.$D;
+ case "DD":
+ return b.s(e3.$D, 2, "0");
+ case "d":
+ return String(e3.$W);
+ case "dd":
+ return h2(n3.weekdaysMin, e3.$W, o3, 2);
+ case "ddd":
+ return h2(n3.weekdaysShort, e3.$W, o3, 3);
+ case "dddd":
+ return o3[e3.$W];
+ case "H":
+ return String(s3);
+ case "HH":
+ return b.s(s3, 2, "0");
+ case "h":
+ return d2(1);
+ case "hh":
+ return d2(2);
+ case "a":
+ return $2(s3, u2, true);
+ case "A":
+ return $2(s3, u2, false);
+ case "m":
+ return String(u2);
+ case "mm":
+ return b.s(u2, 2, "0");
+ case "s":
+ return String(e3.$s);
+ case "ss":
+ return b.s(e3.$s, 2, "0");
+ case "SSS":
+ return b.s(e3.$ms, 3, "0");
+ case "Z":
+ return i2;
+ }
+ return null;
+ }(t4) || i2.replace(":", "");
+ });
+ }, m2.utcOffset = function() {
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
+ }, m2.diff = function(r3, d2, l2) {
+ var $2, y2 = this, M3 = b.p(d2), m3 = O(r3), v2 = (m3.utcOffset() - this.utcOffset()) * e2, g2 = this - m3, D2 = function() {
+ return b.m(y2, m3);
+ };
+ switch (M3) {
+ case h:
+ $2 = D2() / 12;
+ break;
+ case c:
+ $2 = D2();
+ break;
+ case f2:
+ $2 = D2() / 3;
+ break;
+ case o2:
+ $2 = (g2 - v2) / 6048e5;
+ break;
+ case a:
+ $2 = (g2 - v2) / 864e5;
+ break;
+ case u:
+ $2 = g2 / n2;
+ break;
+ case s2:
+ $2 = g2 / e2;
+ break;
+ case i:
+ $2 = g2 / t2;
+ break;
+ default:
+ $2 = g2;
+ }
+ return l2 ? $2 : b.a($2);
+ }, m2.daysInMonth = function() {
+ return this.endOf(c).$D;
+ }, m2.$locale = function() {
+ return D[this.$L];
+ }, m2.locale = function(t3, e3) {
+ if (!t3)
+ return this.$L;
+ var n3 = this.clone(), r3 = w(t3, e3, true);
+ return r3 && (n3.$L = r3), n3;
+ }, m2.clone = function() {
+ return b.w(this.$d, this);
+ }, m2.toDate = function() {
+ return new Date(this.valueOf());
+ }, m2.toJSON = function() {
+ return this.isValid() ? this.toISOString() : null;
+ }, m2.toISOString = function() {
+ return this.$d.toISOString();
+ }, m2.toString = function() {
+ return this.$d.toUTCString();
+ }, M2;
+ }(), k = _.prototype;
+ return O.prototype = k, [["$ms", r2], ["$s", i], ["$m", s2], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function(t3) {
+ k[t3[1]] = function(e3) {
+ return this.$g(e3, t3[0], t3[1]);
+ };
+ }), O.extend = function(t3, e3) {
+ return t3.$i || (t3(e3, _, O), t3.$i = true), O;
+ }, O.locale = w, O.isDayjs = S, O.unix = function(t3) {
+ return O(1e3 * t3);
+ }, O.en = D[g], O.Ls = D, O.p = {}, O;
+ });
+ })(dayjs_min);
+ return dayjs_minExports$1;
+}
+var dayjs_minExports = requireDayjs_min();
+const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
var relativeTimeExports = {};
var relativeTime$1 = {
get exports() {
@@ -12042,7 +12053,7 @@ var zhCn = {
};
(function(module2, exports2) {
!function(e2, _) {
- module2.exports = _(dayjs_minExports);
+ module2.exports = _(requireDayjs_min());
}(commonjsGlobal, function(e2) {
function _(e3) {
return e3 && "object" == typeof e3 && "default" in e3 ? e3 : { default: e3 };
diff --git a/dist/dev/mp-weixin/components/hs-collection/hs-collection.js b/dist/dev/mp-weixin/components/hs-collection/hs-collection.js
index 5cd584f..4306279 100644
--- a/dist/dev/mp-weixin/components/hs-collection/hs-collection.js
+++ b/dist/dev/mp-weixin/components/hs-collection/hs-collection.js
@@ -1,30 +1,10 @@
"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-collection",
setup(__props) {
- const toCollectionPage = () => {
- common_vendor.index.navigateTo({
- url: "/INDEX/collection/index"
- });
- };
return (_ctx, _cache) => {
- return {
- a: common_vendor.p({
- type: "right",
- size: "12",
- color: "#fff"
- }),
- b: common_vendor.o(toCollectionPage)
- };
+ return {};
};
}
});
diff --git a/dist/dev/mp-weixin/components/hs-collection/hs-collection.json b/dist/dev/mp-weixin/components/hs-collection/hs-collection.json
index 2caa312..e8cfaaf 100644
--- a/dist/dev/mp-weixin/components/hs-collection/hs-collection.json
+++ b/dist/dev/mp-weixin/components/hs-collection/hs-collection.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/components/hs-collection/hs-collection.wxml b/dist/dev/mp-weixin/components/hs-collection/hs-collection.wxml
index 9b909f1..e69de29 100644
--- a/dist/dev/mp-weixin/components/hs-collection/hs-collection.wxml
+++ b/dist/dev/mp-weixin/components/hs-collection/hs-collection.wxml
@@ -1 +0,0 @@
- 一键开通自动托收,无需担心忘记缴费 立即开通
\ No newline at end of file
diff --git a/dist/dev/mp-weixin/pages/ai/chat.js b/dist/dev/mp-weixin/pages/ai/chat.js
index 7014b41..724fa8a 100644
--- a/dist/dev/mp-weixin/pages/ai/chat.js
+++ b/dist/dev/mp-weixin/pages/ai/chat.js
@@ -37,6 +37,7 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
const loadingText = common_vendor.ref("正在输入中...");
let socketTask = null;
let isConnected = common_vendor.ref(false);
+ const showOpeningRemarks = common_vendor.ref(false);
const currentPage = common_vendor.ref(1);
const pageSize = common_vendor.ref(10);
const hasMore = common_vendor.ref(true);
@@ -97,6 +98,7 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
const message = {
role: item.sender_type === "customer" ? "user" : "ai",
content: item.message || item.content || "",
+ actions: item.actions || [],
created_at: item.created_at || item.timestamp || new Date().toISOString()
};
if (item.message_type) {
@@ -125,6 +127,7 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
const message = {
role: item.sender_type === "customer" ? "user" : "ai",
content: item.message || item.content || "",
+ actions: item.actions || [],
created_at: item.created_at || item.timestamp || new Date().toISOString()
};
if (item.message_type) {
@@ -153,6 +156,7 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
const message = {
role: item.sender_type === "customer" ? "user" : "ai",
content: item.message || item.content || "",
+ actions: item.actions || [],
created_at: item.created_at || item.timestamp || new Date().toISOString()
};
if (item.message_type) {
@@ -475,6 +479,10 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
inputMessage.value = "";
pages_ai_model.useModel.selectedImages.value = [];
scrollToBottom();
+ console.log("发送消息时隐藏开场白3", showOpeningRemarks.value);
+ if (!showOpeningRemarks.value) {
+ showOpeningRemarks.value = true;
+ }
if (message && message.includes("查询")) {
loadingText.value = "正在查询中请稍后...";
} else {
@@ -553,7 +561,8 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
created_at: new Date().toISOString(),
quickQuestions: suggestedQuestions.length > 0 ? suggestedQuestions : void 0,
needConfirmation,
- confirmationType
+ confirmationType,
+ ...result
});
scrollToBottom();
} else {
@@ -584,6 +593,19 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
console.log("页面卸载,WebSocket连接已关闭");
}
});
+ common_vendor.onPageScroll((e) => {
+ if (e.scrollTop > pages_ai_model.useModel.scrollTopNumber.value) {
+ pages_ai_model.useModel.scrollTopNumber.value = e.scrollTop;
+ return;
+ }
+ if (pages_ai_model.useModel.scrollTopNumber.value - e.scrollTop > 60 && !showOpeningRemarks.value) {
+ showOpeningRemarks.value = true;
+ }
+ });
+ common_vendor.onShow(() => {
+ showOpeningRemarks.value = false;
+ pages_ai_model.useModel.scrollTopNumber.value = 0;
+ });
common_vendor.onLoad(async (op) => {
var _a, _b, _c;
await ((_a = common_vendor.getCurrentInstance()) == null ? void 0 : _a.appContext.config.globalProperties.$onLaunched);
@@ -605,7 +627,8 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
a: userLoginStatus.value
}, userLoginStatus.value ? common_vendor.e({
b: common_vendor.o(handleQuickFast),
- c: common_vendor.f(messages.value, (message, index, i0) => {
+ c: common_vendor.n(showOpeningRemarks.value ? "hide-opening-remarks" : ""),
+ d: common_vendor.f(messages.value, (message, index, i0) => {
var _a2, _b2;
return common_vendor.e({
a: message.role === "ai"
@@ -662,9 +685,22 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
};
})
} : {}, {
- p: message.quickQuestions && message.quickQuestions.length > 0
- }, message.quickQuestions && message.quickQuestions.length > 0 ? {
- q: common_vendor.f(message.quickQuestions, (question, qIndex, i1) => {
+ p: message.actions && message.actions.length > 0
+ }, message.actions && message.actions.length > 0 ? {
+ q: common_vendor.f(message.actions, (i, aIndex, i1) => {
+ return {
+ a: common_vendor.t(i == null ? void 0 : i.label),
+ b: `items_${aIndex}`,
+ c: common_vendor.o(($event) => {
+ var _a3;
+ return (_a3 = common_vendor.unref(pages_ai_method.method)) == null ? void 0 : _a3.GoToPage(i == null ? void 0 : i.url);
+ }, `items_${aIndex}`)
+ };
+ })
+ } : {}, {
+ r: !message.actions && message.quickQuestions && message.quickQuestions.length > 0
+ }, !message.actions && message.quickQuestions && message.quickQuestions.length > 0 ? {
+ s: common_vendor.f(message.quickQuestions, (question, qIndex, i1) => {
return {
a: common_vendor.t(question),
b: qIndex,
@@ -672,44 +708,45 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
};
})
} : {}, {
- r: message.needConfirmation
+ t: message.needConfirmation
}, message.needConfirmation ? {
- s: message.selectedConfirmation === "是" ? 1 : "",
- t: message.selectedConfirmation !== void 0 ? 1 : "",
- v: common_vendor.o(($event) => handleConfirmation(message, "是"), index),
- w: message.selectedConfirmation === "否" ? 1 : "",
- x: message.selectedConfirmation !== void 0 ? 1 : "",
- y: common_vendor.o(($event) => handleConfirmation(message, "否"), index)
+ v: message.selectedConfirmation === "是" ? 1 : "",
+ w: message.selectedConfirmation !== void 0 ? 1 : "",
+ x: common_vendor.o(($event) => handleConfirmation(message, "是"), index),
+ y: message.selectedConfirmation === "否" ? 1 : "",
+ z: message.selectedConfirmation !== void 0 ? 1 : "",
+ A: common_vendor.o(($event) => handleConfirmation(message, "否"), index)
} : {}, {
- z: message.created_at && !message.quickQuestions
+ B: message.created_at && !message.quickQuestions
}, message.created_at && !message.quickQuestions ? common_vendor.e({
- A: message.role === "ai"
+ C: message.role === "ai"
}, message.role === "ai" ? {
- B: common_vendor.o(($event) => {
+ D: common_vendor.o(($event) => {
var _a3;
return (_a3 = common_vendor.unref(pages_ai_method.method)) == null ? void 0 : _a3.copyMessage(message.content);
}, index)
} : {}, {
- C: common_vendor.t((_b2 = common_vendor.unref(pages_ai_method.method)) == null ? void 0 : _b2.formatTime(message.created_at)),
- D: message.role === "user"
+ E: common_vendor.t((_b2 = common_vendor.unref(pages_ai_method.method)) == null ? void 0 : _b2.formatTime(message.created_at)),
+ F: message.role === "user"
}, message.role === "user" ? {
- E: common_vendor.o(($event) => {
+ G: common_vendor.o(($event) => {
var _a3;
return (_a3 = common_vendor.unref(pages_ai_method.method)) == null ? void 0 : _a3.copyMessage(message.content);
}, index)
} : {}) : {}, {
- F: index,
- G: `msg-${index}`,
- H: common_vendor.n(message.role === "user" ? "user-message" : "ai-message")
+ H: index,
+ I: `msg-${index}`,
+ J: common_vendor.n(message.role === "user" ? "user-message" : "ai-message")
});
}),
- d: loading.value
+ e: loading.value
}, loading.value ? {
- e: common_vendor.t(loadingText.value)
+ f: common_vendor.t(loadingText.value)
} : {}, {
- f: ((_c = (_b = (_a = common_vendor.unref(pages_ai_model.useModel)) == null ? void 0 : _a.selectedImages) == null ? void 0 : _b.value) == null ? void 0 : _c.length) > 0
+ g: common_vendor.n(`chat-messages chat-messages-chat ${showOpeningRemarks.value ? "chat-messages-update-top" : ""}`),
+ h: ((_c = (_b = (_a = common_vendor.unref(pages_ai_model.useModel)) == null ? void 0 : _a.selectedImages) == null ? void 0 : _b.value) == null ? void 0 : _c.length) > 0
}, ((_f = (_e = (_d = common_vendor.unref(pages_ai_model.useModel)) == null ? void 0 : _d.selectedImages) == null ? void 0 : _e.value) == null ? void 0 : _f.length) > 0 ? common_vendor.e({
- g: common_vendor.f((_h = (_g = common_vendor.unref(pages_ai_model.useModel)) == null ? void 0 : _g.selectedImages) == null ? void 0 : _h.value, (image, index, i0) => {
+ i: common_vendor.f((_h = (_g = common_vendor.unref(pages_ai_model.useModel)) == null ? void 0 : _g.selectedImages) == null ? void 0 : _h.value, (image, index, i0) => {
return {
a: image,
b: "25c36616-1-" + i0,
@@ -720,66 +757,66 @@ const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
d: index
};
}),
- h: common_vendor.p({
+ j: common_vendor.p({
type: "closeempty",
size: "14",
color: "#fff"
}),
- i: ((_k = (_j = (_i = common_vendor.unref(pages_ai_model.useModel)) == null ? void 0 : _i.selectedImages) == null ? void 0 : _j.value) == null ? void 0 : _k.length) < 9
+ k: ((_k = (_j = (_i = common_vendor.unref(pages_ai_model.useModel)) == null ? void 0 : _i.selectedImages) == null ? void 0 : _j.value) == null ? void 0 : _k.length) < 9
}, ((_n = (_m = (_l = common_vendor.unref(pages_ai_model.useModel)) == null ? void 0 : _l.selectedImages) == null ? void 0 : _m.value) == null ? void 0 : _n.length) < 9 ? {
- j: common_vendor.p({
+ l: common_vendor.p({
type: "plus",
size: "30",
color: "#999"
}),
- k: common_vendor.o(($event) => {
+ m: common_vendor.o(($event) => {
var _a2;
return (_a2 = common_vendor.unref(pages_ai_method.method)) == null ? void 0 : _a2.chooseImage();
})
} : {}) : {}, {
- l: common_vendor.o(($event) => isInputFocused.value = true),
- m: common_vendor.o(($event) => isInputFocused.value = false),
- n: common_vendor.o(handleSendMessage),
- o: inputMessage.value,
- p: common_vendor.o(($event) => inputMessage.value = $event.detail.value),
- q: !inputMessage.value.trim() && !isInputFocused.value && ((_q = (_p = (_o = common_vendor.unref(pages_ai_model.useModel)) == null ? void 0 : _o.selectedImages) == null ? void 0 : _p.value) == null ? void 0 : _q.length) === 0
+ n: common_vendor.o(($event) => isInputFocused.value = true),
+ o: common_vendor.o(($event) => isInputFocused.value = false),
+ p: common_vendor.o(handleSendMessage),
+ q: inputMessage.value,
+ r: common_vendor.o(($event) => inputMessage.value = $event.detail.value),
+ s: !inputMessage.value.trim() && !isInputFocused.value && ((_q = (_p = (_o = common_vendor.unref(pages_ai_model.useModel)) == null ? void 0 : _o.selectedImages) == null ? void 0 : _p.value) == null ? void 0 : _q.length) === 0
}, !inputMessage.value.trim() && !isInputFocused.value && ((_t = (_s = (_r = common_vendor.unref(pages_ai_model.useModel)) == null ? void 0 : _r.selectedImages) == null ? void 0 : _s.value) == null ? void 0 : _t.length) === 0 ? {
- r: common_vendor.p({
+ t: common_vendor.p({
type: "camera",
size: "24",
color: "#666"
}),
- s: common_vendor.o(($event) => {
+ v: common_vendor.o(($event) => {
var _a2;
return (_a2 = common_vendor.unref(pages_ai_method.method)) == null ? void 0 : _a2.chooseImage();
})
} : {}, {
- t: (inputMessage.value.trim() || isInputFocused.value || ((_w = (_v = (_u = common_vendor.unref(pages_ai_model.useModel)) == null ? void 0 : _u.selectedImages) == null ? void 0 : _v.value) == null ? void 0 : _w.length) > 0) && !loading.value
+ w: (inputMessage.value.trim() || isInputFocused.value || ((_w = (_v = (_u = common_vendor.unref(pages_ai_model.useModel)) == null ? void 0 : _u.selectedImages) == null ? void 0 : _v.value) == null ? void 0 : _w.length) > 0) && !loading.value
}, (inputMessage.value.trim() || isInputFocused.value || ((_z = (_y = (_x = common_vendor.unref(pages_ai_model.useModel)) == null ? void 0 : _x.selectedImages) == null ? void 0 : _y.value) == null ? void 0 : _z.length) > 0) && !loading.value ? {
- v: common_vendor.p({
+ x: common_vendor.p({
type: "paperplane-filled",
size: "20",
color: "#fff"
}),
- w: common_vendor.o(handleSendMessage)
+ y: common_vendor.o(handleSendMessage)
} : {}, {
- x: loading.value
+ z: loading.value
}, loading.value ? {
- y: common_vendor.p({
+ A: common_vendor.p({
type: "spinner-cycle",
size: "20",
color: "#ccc"
})
} : {}) : {
- z: common_vendor.p({
+ B: common_vendor.p({
height: "20vh",
baseStyle: {
paddingTop: "35%"
},
text: "登录体验更多功能"
}),
- A: common_vendor.o(goToPageLogin),
- B: common_vendor.p({
+ C: common_vendor.o(goToPageLogin),
+ D: common_vendor.p({
label: "去登录",
size: "md",
type: "primary"
diff --git a/dist/dev/mp-weixin/pages/ai/chat.wxml b/dist/dev/mp-weixin/pages/ai/chat.wxml
index d27ba9d..8f80ee1 100644
--- a/dist/dev/mp-weixin/pages/ai/chat.wxml
+++ b/dist/dev/mp-weixin/pages/ai/chat.wxml
@@ -1 +1 @@
-{{line.a}}{{question.a}}是否{{message.C}}{{e}}添加图片
\ No newline at end of file
+{{line.a}}{{i.a}}{{question.a}}是否{{message.E}}{{f}}添加图片
\ No newline at end of file
diff --git a/dist/dev/mp-weixin/pages/ai/chat.wxss b/dist/dev/mp-weixin/pages/ai/chat.wxss
index 8b369cb..de5b5ef 100644
--- a/dist/dev/mp-weixin/pages/ai/chat.wxss
+++ b/dist/dev/mp-weixin/pages/ai/chat.wxss
@@ -32,6 +32,9 @@
.chat-messages-chat {
padding-bottom: calc(160rpx + env(safe-area-inset-bottom));
}
+.chat-messages-update-top {
+ padding-top: 30rpx;
+}
.message-item {
display: flex;
width: 100%;
@@ -167,7 +170,6 @@ to {
}
.message-content view {
display: block;
- width: 100%;
word-wrap: break-word;
word-break: break-all;
}
@@ -484,6 +486,17 @@ to {
.opening_remarks .opening_remarks_body .group_btn_item:nth-child(3n) {
margin-right: 0;
}
+.hide-opening-remarks {
+ animation: slideUpFadeOut 1s forwards;
+}
+@keyframes slideUpFadeOut {
+from {
+ opacity: 1;
+}
+to {
+ opacity: 0;
+}
+}
@keyframes typing {
from {
width: 0;
@@ -491,4 +504,22 @@ from {
to {
width: 100%;
}
+}
+.message-content .quick-questions-actions {
+ width: auto;
+ padding: 20rpx 0 10rpx 0;
+ display: flex;
+ align-items: center;
+}
+.query-go-to-btn {
+ background-color: #1c64f2;
+ color: #fff;
+ border-color: #1c64f2;
+ text-align: center;
+ width: 100%;
+ margin-right: 30rpx;
+}
+.query-go-to-btn:last-child {
+ margin-right: 0;
+ margin-bottom: 0rpx;
}
\ No newline at end of file
diff --git a/dist/dev/mp-weixin/pages/index/index.wxss b/dist/dev/mp-weixin/pages/index/index.wxss
index c528b00..0ac953d 100644
--- a/dist/dev/mp-weixin/pages/index/index.wxss
+++ b/dist/dev/mp-weixin/pages/index/index.wxss
@@ -2,7 +2,7 @@ page {
background-color: #f8f8f8;
}
.home_page {
- padding-bottom: 68px;
+ padding-bottom: 78px;
}
.home_page_content {
position: relative;
diff --git a/src/INDEX/activities_show/index.vue b/src/INDEX/activities_show/index.vue
index 719c310..054e8da 100644
--- a/src/INDEX/activities_show/index.vue
+++ b/src/INDEX/activities_show/index.vue
@@ -18,6 +18,11 @@
+
+
+
+
+
+
diff --git a/src/INDEX/archive_houses/index.vue b/src/INDEX/archive_houses/index.vue
index 1eb28d8..d98bfd6 100644
--- a/src/INDEX/archive_houses/index.vue
+++ b/src/INDEX/archive_houses/index.vue
@@ -15,6 +15,7 @@
+
- 房屋信息
+
+ 房屋信息
+
- 选择身份
+
+ 选择身份
+
- 个人信息
+
+ 个人信息
+
@@ -76,7 +82,9 @@
- 与产权人关系
+
+ 与产权人关系
+
{
@@ -12,17 +13,19 @@ const handleSubmitStore = () => {
...useModel.formData.value,
is_live_in: useModel?.formData?.value?.is_live_in ? 1 : 0,
customer_info: [useModel.formData.value]
- }).then(res => {
- useModel.loading.value = false
- useModel.show.value = false
- uni.redirectTo({ url: '/INDEX/binding/success' })
- auth?.getIsHouseExist()
- // showToastBack('提交成功,等待审核!', 1, true)
- console.log(res)
- }).catch(e =>{
- useModel.loading.value = false
- useModel.show.value = false
})
+ .then(res => {
+ useModel.loading.value = false
+ useModel.show.value = false
+ uni.redirectTo({ url: '/INDEX/binding/success' })
+ auth?.getIsHouseExist()
+ // showToastBack('提交成功,等待审核!', 1, true)
+ console.log(res)
+ })
+ .catch(e => {
+ useModel.loading.value = false
+ useModel.show.value = false
+ })
}
export default {
@@ -36,6 +39,9 @@ export default {
console.log(e, 'e')
},
init(e: any) {
+ let obj = HouseOccupantsResidentialRelationEnum as any
+ delete obj['PropertyOwner']
+ useModel.HouseOccupantsEnum.value = obj
useModel.defaultHouseValueName.value = e?.houseName || ''
useModel.formData.value = {
asset_houses_id: e?.id || '',
diff --git a/src/INDEX/binding/model.ts b/src/INDEX/binding/model.ts
index ce11b81..6f5f39b 100644
--- a/src/INDEX/binding/model.ts
+++ b/src/INDEX/binding/model.ts
@@ -4,5 +4,6 @@ export default {
ownerList: ref([]),
show: ref(false),
defaultHouseValueName: ref(''),
- loading: ref(false)
+ loading: ref(false),
+ HouseOccupantsEnum: ref({})
}
diff --git a/src/ME/payment_pre_stored/index.vue b/src/ME/payment_pre_stored/index.vue
index 9377081..d458025 100644
--- a/src/ME/payment_pre_stored/index.vue
+++ b/src/ME/payment_pre_stored/index.vue
@@ -21,7 +21,7 @@
预缴
欠费
- 清欠
+ 结清
@@ -41,7 +41,11 @@
size="md"
/>
-
+
收支记录
@@ -61,7 +65,7 @@
预缴
欠费
- 清欠
+ 结清
@@ -79,7 +83,11 @@
size="md"
/>
-
+
收支记录
@@ -94,7 +102,7 @@
import { getStyleColorInfo } from '@/common/libraries/getPageConfig'
import method from './method'
import useModel from './model'
-import { onShow } from '@dcloudio/uni-app'
+import { onShow } from '@dcloudio/uni-app'
onShow(() => {
useModel.listData.value = []
diff --git a/src/WORKORDER/show/index.vue b/src/WORKORDER/show/index.vue
index f5e591b..f23bc53 100644
--- a/src/WORKORDER/show/index.vue
+++ b/src/WORKORDER/show/index.vue
@@ -44,7 +44,7 @@
工单编号: {{ useModel?.dataShow?.value?.code }}
-
+
期望上门处理时间:
{{
getTimeRangeDisplay(
diff --git a/src/common/libraries/day.ts b/src/common/libraries/day.ts
index f09a37f..4fbac9e 100644
--- a/src/common/libraries/day.ts
+++ b/src/common/libraries/day.ts
@@ -120,7 +120,7 @@ export function getTimeRangeDisplay(startTime: string, endTime: string, currentT
const now = currentTime ? dayjs(currentTime) : dayjs()
if (!start.isValid() || !end.isValid()) {
- return '时间格式错误'
+ return ''
}
if (start.isAfter(end)) {
@@ -180,8 +180,7 @@ export function specificTime(targetTime: string) {
}
export function showCurrentTime() {
- const timeString = dayjs().format('HH:mm')
- console.log(timeString)
+ const timeString = dayjs().format('HH:mm:ss')
return timeString
}
diff --git a/src/components/hs-collection/hs-collection.vue b/src/components/hs-collection/hs-collection.vue
index ac043d3..48b527b 100644
--- a/src/components/hs-collection/hs-collection.vue
+++ b/src/components/hs-collection/hs-collection.vue
@@ -1,10 +1,10 @@
-
+