(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0b88aa52"],{"02df":function(t,e,n){},"057f":function(t,e,n){var i=n("fc6a"),r=n("241c").f,s={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return r(t)}catch(e){return o.slice()}};t.exports.f=function(t){return o&&"[object Window]"==s.call(t)?a(t):r(i(t))}},1364:function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("van-empty",{staticClass:"custom-image",attrs:{image:t.emptyImage,description:t.description}})},r=[],s={data:function(){return{emptyImage:n("377b")}},props:{description:{type:String,default:""}}},o=s,a=(n("9090"),n("2877")),c=Object(a["a"])(o,i,r,!1,null,"ecf5875c",null);e["a"]=c.exports},"377b":function(t,e,n){t.exports=n.p+"static/img/empty-image.276c05f0.png"},"746f":function(t,e,n){var i=n("428f"),r=n("5135"),s=n("e538"),o=n("9bf2").f;t.exports=function(t){var e=i.Symbol||(i.Symbol={});r(e,t)||o(e,t,{value:s.f(t)})}},"88b5":function(t,e,n){"use strict";n("02df")},9090:function(t,e,n){"use strict";n("eada")},a4d3:function(t,e,n){"use strict";var i=n("23e7"),r=n("da84"),s=n("d066"),o=n("c430"),a=n("83ab"),c=n("4930"),u=n("fdbf"),f=n("d039"),l=n("5135"),d=n("e8b5"),h=n("861d"),p=n("825a"),m=n("7b0b"),v=n("fc6a"),g=n("c04e"),b=n("5c6c"),y=n("7c73"),_=n("df75"),C=n("241c"),O=n("057f"),k=n("7418"),w=n("06cf"),P=n("9bf2"),S=n("d1e7"),I=n("9112"),N=n("6eeb"),$=n("5692"),E=n("f772"),x=n("d012"),L=n("90e3"),j=n("b622"),A=n("e538"),R=n("746f"),T=n("d44e"),Q=n("69f3"),U=n("b727").forEach,V=E("hidden"),D="Symbol",q="prototype",G=j("toPrimitive"),Y=Q.set,z=Q.getterFor(D),F=Object[q],H=r.Symbol,J=s("JSON","stringify"),M=w.f,W=P.f,K=O.f,B=S.f,Z=$("symbols"),X=$("op-symbols"),tt=$("string-to-symbol-registry"),et=$("symbol-to-string-registry"),nt=$("wks"),it=r.QObject,rt=!it||!it[q]||!it[q].findChild,st=a&&f((function(){return 7!=y(W({},"a",{get:function(){return W(this,"a",{value:7}).a}})).a}))?function(t,e,n){var i=M(F,e);i&&delete F[e],W(t,e,n),i&&t!==F&&W(F,e,i)}:W,ot=function(t,e){var n=Z[t]=y(H[q]);return Y(n,{type:D,tag:t,description:e}),a||(n.description=e),n},at=u?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof H},ct=function(t,e,n){t===F&&ct(X,e,n),p(t);var i=g(e,!0);return p(n),l(Z,i)?(n.enumerable?(l(t,V)&&t[V][i]&&(t[V][i]=!1),n=y(n,{enumerable:b(0,!1)})):(l(t,V)||W(t,V,b(1,{})),t[V][i]=!0),st(t,i,n)):W(t,i,n)},ut=function(t,e){p(t);var n=v(e),i=_(n).concat(pt(n));return U(i,(function(e){a&&!lt.call(n,e)||ct(t,e,n[e])})),t},ft=function(t,e){return void 0===e?y(t):ut(y(t),e)},lt=function(t){var e=g(t,!0),n=B.call(this,e);return!(this===F&&l(Z,e)&&!l(X,e))&&(!(n||!l(this,e)||!l(Z,e)||l(this,V)&&this[V][e])||n)},dt=function(t,e){var n=v(t),i=g(e,!0);if(n!==F||!l(Z,i)||l(X,i)){var r=M(n,i);return!r||!l(Z,i)||l(n,V)&&n[V][i]||(r.enumerable=!0),r}},ht=function(t){var e=K(v(t)),n=[];return U(e,(function(t){l(Z,t)||l(x,t)||n.push(t)})),n},pt=function(t){var e=t===F,n=K(e?X:v(t)),i=[];return U(n,(function(t){!l(Z,t)||e&&!l(F,t)||i.push(Z[t])})),i};if(c||(H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=L(t),n=function(t){this===F&&n.call(X,t),l(this,V)&&l(this[V],e)&&(this[V][e]=!1),st(this,e,b(1,t))};return a&&rt&&st(F,e,{configurable:!0,set:n}),ot(e,t)},N(H[q],"toString",(function(){return z(this).tag})),N(H,"withoutSetter",(function(t){return ot(L(t),t)})),S.f=lt,P.f=ct,w.f=dt,C.f=O.f=ht,k.f=pt,A.f=function(t){return ot(j(t),t)},a&&(W(H[q],"description",{configurable:!0,get:function(){return z(this).description}}),o||N(F,"propertyIsEnumerable",lt,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:H}),U(_(nt),(function(t){R(t)})),i({target:D,stat:!0,forced:!c},{for:function(t){var e=String(t);if(l(tt,e))return tt[e];var n=H(e);return tt[e]=n,et[n]=e,n},keyFor:function(t){if(!at(t))throw TypeError(t+" is not a symbol");if(l(et,t))return et[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),i({target:"Object",stat:!0,forced:!c,sham:!a},{create:ft,defineProperty:ct,defineProperties:ut,getOwnPropertyDescriptor:dt}),i({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ht,getOwnPropertySymbols:pt}),i({target:"Object",stat:!0,forced:f((function(){k.f(1)}))},{getOwnPropertySymbols:function(t){return k.f(m(t))}}),J){var mt=!c||f((function(){var t=H();return"[null]"!=J([t])||"{}"!=J({a:t})||"{}"!=J(Object(t))}));i({target:"JSON",stat:!0,forced:mt},{stringify:function(t,e,n){var i,r=[t],s=1;while(arguments.length>s)r.push(arguments[s++]);if(i=e,(h(e)||void 0!==t)&&!at(t))return d(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!at(e))return e}),r[1]=e,J.apply(null,r)}})}H[q][G]||I(H[q],G,H[q].valueOf),T(H,D),x[V]=!0},b612:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"myOrder"},[n("div",{staticClass:"myOrder-wrapper"},[n("van-field",{staticClass:"search",attrs:{clearable:"",placeholder:t.$t("info.348")},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.onSearch(e)}},scopedSlots:t._u([{key:"label",fn:function(){return[n("span",[t._v(t._s(t.title))]),n("van-icon",{attrs:{name:"search"}})]},proxy:!0},{key:"button",fn:function(){return[n("van-button",{staticClass:"btn",attrs:{color:"#5251e3",size:"small",type:"primary"},on:{click:t.onSearch}},[t._v(t._s(t.$t("info.225")))])]},proxy:!0}]),model:{value:t.condition,callback:function(e){t.condition=e},expression:"condition"}}),n("div",{staticClass:"main"},[n("div",{staticClass:"title"},[t._v(t._s(t.$t("info.349")))]),n("ul",{staticClass:"tabs"},[n("li",{class:{active:-1===t.state},on:{click:function(e){return t.clickTabs(-1)}}},[n("span",[t._v(t._s(t.$t("info.218"))+"("+t._s(t.totalQty)+")")])]),n("li",{class:{active:1===t.state},on:{click:function(e){return t.clickTabs(1)}}},[n("span",[t._v(t._s(t.$t("info.235"))+"("+t._s(t.confirmQty)+")")])]),n("li",{class:{active:0===t.state},on:{click:function(e){return t.clickTabs(0)}}},[n("span",[t._v(t._s(t.$t("info.234"))+"("+t._s(t.totalQty-t.confirmQty)+")")])])]),t.orderList.length>0?n("div",{staticClass:"list-wrapper"},[n("van-pull-refresh",{on:{refresh:t.onRefresh},model:{value:t.refreshing,callback:function(e){t.refreshing=e},expression:"refreshing"}},[n("van-list",{attrs:{offset:150,finished:t.finished,"finished-text":t.finishedText},on:{load:t.onLoad},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},[n("ul",{staticClass:"list-content"},t._l(t.orderList,(function(e,i){return n("li",{key:i,on:{click:function(n){return t.navToHomePage(e)}}},[n("div",{staticClass:"left"},[n("div",{staticClass:"img"},[n("i",{staticClass:"iconfont icongoutong"})])]),n("div",{staticClass:"right"},[n("div",{staticClass:"row"},[n("div",{staticClass:"customer"},[t._v(t._s(e.Customer))]),n("div",{staticClass:"state"},[e.State?n("span",{staticClass:"confirmed"},[t._v(t._s(t.$t("info.235")))]):n("span",{staticClass:"unconfirmed"},[t._v(t._s(t.$t("info.234")))])])]),n("div",{staticClass:"row"},[n("div",{staticClass:"phone"},[t._v(t._s(e.CustomerPhone))]),n("div",{staticClass:"qty"},[n("span",{staticClass:"num"},[t._v(t._s(e.ConfirmedNumber))]),t._v("/"),n("span",{staticClass:"num"},[t._v(t._s(e.Qty))]),n("span",{staticClass:"unit"},[t._v(t._s(t.$t("info.350")))])])]),n("div",{staticClass:"row"},[n("div",{staticClass:"address"},[t._v(" "+t._s(e.InstallAddress)+" ")]),e.Confirmed?n("div",{staticClass:"more-detail",on:{click:function(n){return n.stopPropagation(),t.viewDetails(e)}}},[n("i",{staticClass:"iconchakan iconfont"})]):t._e()])])])})),0)])],1)],1):n("div",{staticClass:"empty-wrapper"},[n("my-empty",{staticClass:"empty",attrs:{description:t.description}})],1)]),n("router-view")],1)])},r=[],s=(n("a4d3"),n("e01a"),n("99af"),n("4160"),n("ac1f"),n("5319"),n("159b"),n("96cf"),n("1da1")),o=n("1364"),a=n("e04d"),c={data:function(){return{title:"",loading:!1,finished:!1,finishedText:this.$t("info.199"),refreshing:!1,pageSize:10,pageIndex:1,totalQty:0,confirmQty:0,state:-1,description:this.$t("info.351"),condition:"",orderList:[]}},components:{"my-empty":o["a"]},mounted:function(){var t=Object({NODE_ENV:"production",VUE_APP_LANGUAGE_KEY:"en",VUE_APP_NEW_COMPANY:"false",VUE_APP_VERSION:"6.3.1",BASE_URL:"./"}),e=t.VUE_APP_NEW_COMPANY,n=t.VUE_APP_LANGUAGE_KEY,i=t.VUE_APP_VERSION;this.title="true"===e||"en"===n?"".concat(this.$t("info.183"),"v").concat(i):"宏光千里眼v".concat(i);var r=!0;this.getOrderList(r)},methods:{clickTabs:function(t){switch(t){case-1:this.description=this.$t("info.244");break;case 0:this.description=this.$t("info.352");break;case 1:this.description=this.$t("info.353");break}this.resetRequestInfo(),this.state=t;var e=!0;this.getOrderList(e)},onLoad:function(){this.getOrderList()},onRefresh:function(){var t=!0;this.resetRequestInfo(),this.getOrderList(t)},resetRequestInfo:function(){this.pageIndex=1,this.loading=!1,this.finished=!1,this.orderList=[]},getOrderList:function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(){var e,n,i,r,s,o,a,c,u,f,l,d,h,p,m,v,g=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=g.length>0&&void 0!==g[0]&&g[0],n={loading:e},i=this.$store.state.loginInfo,r=i.isLoggedIn,s=i.phone,o=i.email,a=i.lockNum,c=i.projectNum,r){t.next=6;break}return this.$router.replace({name:"login"}),t.abrupt("return");case 6:return u={url:this.$Api1Proxy,params:{url:"".concat(this.$QLY_API,"/api/hgsoftapi.aspx?method=getordercategroy&phone=").concat(s,"&email=").concat(o,"&locknum=").concat(a,"&projectcode=").concat(c)},data:{PageIndex:this.pageIndex,PageSize:this.pageSize,Phone:s,Email:o,Condition:this.condition,LockNum:"",Customer:"",CustomerPhone:"",InstallAddress:"",State:this.state}},t.next=9,this.$Api.post(u,{},n);case 9:if(f=t.sent,f.Result){t.next=13;break}return this.$toast(f.Message),t.abrupt("return");case 13:l=f.Data,d=l.Total,h=l.TotalQty,p=l.ConfirmQty,m=l.List,v=l.Url,this.totalQty=h,this.confirmQty=p,this.finishedText=d<=5&&d>=0?"":this.$t("info.199"),m.forEach((function(t){var e=!1,n=[];t.List.forEach((function(t){t.IsConfirm&&(e=!0,n.push(t))})),t.Url=v,t.Confirmed=e,t.ConfirmedNumber=n.length})),this.orderList=this.orderList.concat(m),this.pageIndex++,this.loading=!1,this.orderList.length>=d&&(this.finished=!0);case 22:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),onSearch:function(){var t=!0;this.resetRequestInfo(),this.getOrderList(t)},navToHomePage:function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(e){var n,i,r,s,o,c,u,f,l,d,h,p,m,v;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.Url,i=e.List,r=e.Customer,s=e.CustomerPhone,o=e.InstallAddress,c=i[0],u=c.HouseId,f=c.Qid,l=c.LockNum,d=c.ProjectNum,h={api:n,form:"myOrder"},f?h.qid=f:h.h=u,p=this.$store.state.loginInfo,p.lockNum||p.projectNum||!u){t.next=21;break}return m={url:"".concat(this.$AZT_API,"/data/House_").concat(u,"/house.json"),params2:{getjson:!0}},t.prev=7,t.next=10,this.$Api.get(m);case 10:v=t.sent,d=v.ProjectNum,p.lockNum=l,p.projectNum=d,Object(a["c"])("hg-user","loginInfo",p),this.$store.commit("UPDATE_LOGIN_INFO",p),t.next=21;break;case 18:t.prev=18,t.t0=t["catch"](7),console.log(t.t0);case 21:this.$store.commit("VISITING_TOURIST_ORDERS",!1),this.$store.commit("TARGET_ORDER_INFO",{Customer:r,CustomerPhone:s,InstallAddress:o,LockNum:l,ProjectNum:d}),Object(a["c"])("hg-user","targetOrderInfo",{Customer:r,CustomerPhone:s,InstallAddress:o,LockNum:l,ProjectNum:d}),this.$store.commit("SCROLL_POSITION_3D",0),this.$router.push({name:"home",query:h});case 26:case"end":return t.stop()}}),t,this,[[7,18]])})));function e(e){return t.apply(this,arguments)}return e}(),viewDetails:function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(e){var n,i,r,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:n=e.Customer,i=e.CustomerPhone,r=e.Email,s=e.InstallAddress,this.$router.push({name:"o-detail",params:{Customer:n,CustomerPhone:i,Email:r,InstallAddress:s}});case 2:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()}},u=c,f=(n("88b5"),n("2877")),l=Object(f["a"])(u,i,r,!1,null,"9b2c1526",null);e["default"]=l.exports},e01a:function(t,e,n){"use strict";var i=n("23e7"),r=n("83ab"),s=n("da84"),o=n("5135"),a=n("861d"),c=n("9bf2").f,u=n("e893"),f=s.Symbol;if(r&&"function"==typeof f&&(!("description"in f.prototype)||void 0!==f().description)){var l={},d=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof d?new f(t):void 0===t?f():f(t);return""===t&&(l[e]=!0),e};u(d,f);var h=d.prototype=f.prototype;h.constructor=d;var p=h.toString,m="Symbol(test)"==String(f("test")),v=/^Symbol\((.*)\)[^)]+$/;c(h,"description",{configurable:!0,get:function(){var t=a(this)?this.valueOf():this,e=p.call(t);if(o(l,t))return"";var n=m?e.slice(7,-1):e.replace(v,"$1");return""===n?void 0:n}}),i({global:!0,forced:!0},{Symbol:d})}},e538:function(t,e,n){var i=n("b622");e.f=i},eada:function(t,e,n){}}]);