=n[a].value)return(e/n[a].value).toFixed(t).replace(/\.0+$|(\.[0-9]*[1-9])0+$/,"$1")+n[a].symbol;return e.toString()}function X(e){return(+e||0).toString().replace(/^-?\d+/g,(function(e){return e.replace(/(?=(?!\b)(\d{3})+$)/g,",")}))}function Z(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Y=n("4b0f"),ee=Y.mockXHR;ee(),i["default"].use(r.a,{size:c.a.get("size")||"medium"}),i["default"].use(m),Object.keys(a).forEach((function(e){i["default"].filter(e,a[e])})),i["default"].config.productionTip=!1,i["default"].prototype.$axios=_["a"],i["default"].use(g);t["default"]=new i["default"]({el:"#app",router:V["c"],store:l["a"],render:function(e){return e(k)}})},"5a3d":function(e,t,n){},"5efb":function(e,t,n){},"5f87":function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return r}));var a=n("a78e"),i=n.n(a),o="AdminToken";function c(){return i.a.get(o)}function s(e){return i.a.set(o,e)}function r(){return i.a.remove(o)}},"61f7":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c}));n("d3b7"),n("ac1f"),n("00b4"),n("25f0");function a(e){return/^(https?:|mailto:|tel:)/.test(e)}function i(e){return e.length>=2}function o(e){return"string"===typeof e||e instanceof String}function c(e){return"undefined"===typeof Array.isArray?"[object Array]"===Object.prototype.toString.call(e):Array.isArray(e)}},6599:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},6683:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},"6e46":function(e,t,n){"use strict";n("5a3d")},"6f1a":function(e,t,n){"use strict";n("5415")},"708a":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},7509:function(e,t,n){"use strict";n.r(t);var a=n("2909"),i=n("3835"),o=n("b85c"),c=(n("4de4"),n("caad"),n("fb6a"),n("a434"),n("b0c0"),n("d3b7"),n("2532"),n("ddb0"),{visitedViews:[],cachedViews:[]}),s={ADD_VISITED_VIEW:function(e,t){e.visitedViews.some((function(e){return e.path===t.path}))||e.visitedViews.push(Object.assign({},t,{title:t.meta.title||"no-name"}))},ADD_CACHED_VIEW:function(e,t){e.cachedViews.includes(t.name)||t.meta.noCache||e.cachedViews.push(t.name)},DEL_VISITED_VIEW:function(e,t){var n,a=Object(o["a"])(e.visitedViews.entries());try{for(a.s();!(n=a.n()).done;){var c=Object(i["a"])(n.value,2),s=c[0],r=c[1];if(r.path===t.path){e.visitedViews.splice(s,1);break}}}catch(l){a.e(l)}finally{a.f()}},DEL_CACHED_VIEW:function(e,t){var n=e.cachedViews.indexOf(t.name);n>-1&&e.cachedViews.splice(n,1)},DEL_OTHERS_VISITED_VIEWS:function(e,t){e.visitedViews=e.visitedViews.filter((function(e){return e.meta.affix||e.path===t.path}))},DEL_OTHERS_CACHED_VIEWS:function(e,t){var n=e.cachedViews.indexOf(t.name);e.cachedViews=n>-1?e.cachedViews.slice(n,n+1):[]},DEL_ALL_VISITED_VIEWS:function(e){var t=e.visitedViews.filter((function(e){return e.meta.affix}));e.visitedViews=t},DEL_ALL_CACHED_VIEWS:function(e){e.cachedViews=[]},UPDATE_VISITED_VIEW:function(e,t){var n,a=Object(o["a"])(e.visitedViews);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i.path===t.path){i=Object.assign(i,t);break}}}catch(c){a.e(c)}finally{a.f()}}},r={addView:function(e,t){var n=e.dispatch;n("addVisitedView",t),n("addCachedView",t)},addVisitedView:function(e,t){var n=e.commit;n("ADD_VISITED_VIEW",t)},addCachedView:function(e,t){var n=e.commit;n("ADD_CACHED_VIEW",t)},delView:function(e,t){var n=e.dispatch,i=e.state;return new Promise((function(e){n("delVisitedView",t),n("delCachedView",t),e({visitedViews:Object(a["a"])(i.visitedViews),cachedViews:Object(a["a"])(i.cachedViews)})}))},delVisitedView:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_VISITED_VIEW",t),e(Object(a["a"])(i.visitedViews))}))},delCachedView:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_CACHED_VIEW",t),e(Object(a["a"])(i.cachedViews))}))},delOthersViews:function(e,t){var n=e.dispatch,i=e.state;return new Promise((function(e){n("delOthersVisitedViews",t),n("delOthersCachedViews",t),e({visitedViews:Object(a["a"])(i.visitedViews),cachedViews:Object(a["a"])(i.cachedViews)})}))},delOthersVisitedViews:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_OTHERS_VISITED_VIEWS",t),e(Object(a["a"])(i.visitedViews))}))},delOthersCachedViews:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_OTHERS_CACHED_VIEWS",t),e(Object(a["a"])(i.cachedViews))}))},delAllViews:function(e,t){var n=e.dispatch,i=e.state;return new Promise((function(e){n("delAllVisitedViews",t),n("delAllCachedViews",t),e({visitedViews:Object(a["a"])(i.visitedViews),cachedViews:Object(a["a"])(i.cachedViews)})}))},delAllVisitedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_VISITED_VIEWS"),e(Object(a["a"])(n.visitedViews))}))},delAllCachedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_CACHED_VIEWS"),e(Object(a["a"])(n.cachedViews))}))},updateVisitedView:function(e,t){var n=e.commit;n("UPDATE_VISITED_VIEW",t)}};t["default"]={namespaced:!0,state:c,mutations:s,actions:r}},"80da":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});c.a.add(s);t["default"]=s},"83d6":function(e,t){e.exports={title:"Vue Element Admin",showSettings:!0,tagsView:!0,fixedHeader:!1,sidebarLogo:!1,errorLog:"production"}},"85a8":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var a=n("b775");function i(e){return Object(a["a"])({url:"/admin/qa/getQaList",method:"get",params:e})}function o(e){return Object(a["a"])({url:"/admin/qa/getQaCityList",method:"get"})}},8644:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},"8a60":function(e,t,n){var a=n("7037").default;function i(e){var t=decodeURIComponent(e.split("?")[1]).replace(/\+/g," ");if(!t)return{};var n={},a=t.split("&");return a.forEach((function(e){var t=e.indexOf("=");if(-1!==t){var a=e.substring(0,t),i=e.substring(t+1,e.length);n[a]=i}})),n}function o(e){if(!e&&"object"!==a(e))throw new Error("error arguments","deepClone");var t=e.constructor===Array?[]:{};return Object.keys(e).forEach((function(n){e[n]&&"object"===a(e[n])?t[n]=o(e[n]):t[n]=e[n]})),t}n("b64b"),n("d3b7"),n("ac1f"),n("5319"),n("159b"),e.exports={param2Obj:i,deepClone:o}},"8aa6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},"8dd0":function(e,t,n){"use strict";n("c459")},"8e8d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},"8fb7":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},"90fb":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},"93cd":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},"97bb":function(e,t,n){},9921:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},"9bbf":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},"9d91":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},a109:function(e,t,n){n("4de4"),n("4e82"),n("d3b7");for(var a=n("96eb"),i=[],o=100,c='I am testing data, I am testing data.
',s="https://wpimg.wallstcn.com/e4558086-631c-425c-9430-56ffb46e70b3",r=0;r=l*(s-1)}));return{code:2e4,data:{total:d.length,items:h}}}},{url:"/vue-element-admin/article/detail",type:"get",response:function(e){for(var t=e.query.id,n=0,a=i;n'});c.a.add(s);t["default"]=s},a187:function(e,t,n){},a18c:function(e,t,n){"use strict";n.d(t,"b",(function(){return jt})),n.d(t,"a",(function(){return Pt})),n.d(t,"d",(function(){return Wt}));n("d3b7"),n("3ca3"),n("ddb0");var a,i,o=n("2b0e"),c=n("8c4f"),s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-wrapper",class:e.classObj},["mobile"===e.device&&e.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),n("sidebar",{staticClass:"sidebar-container"}),n("div",{staticClass:"main-container",class:{hasTagsView:e.needTagsView}},[n("div",{class:{"fixed-header":e.fixedHeader}},[n("navbar",{attrs:{appointment_num:e.appointment_num}}),e.needTagsView?n("tags-view"):e._e()],1),n("app-main")],1)],1)},r=[],l=n("5530"),u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"rightPanel",staticClass:"rightPanel-container",class:{show:e.show}},[n("div",{staticClass:"rightPanel-background"}),n("div",{staticClass:"rightPanel"},[n("div",{staticClass:"handle-button",style:{top:e.buttonTop+"px","background-color":e.theme},on:{click:function(t){e.show=!e.show}}},[n("i",{class:e.show?"el-icon-close":"el-icon-setting"})]),n("div",{staticClass:"rightPanel-items"},[e._t("default")],2)])])},d=[],h=(n("a9e3"),n("ed08")),m={name:"RightPanel",props:{clickNotClose:{default:!1,type:Boolean},buttonTop:{default:250,type:Number}},data:function(){return{show:!1}},computed:{theme:function(){return this.$store.state.settings.theme}},watch:{show:function(e){e&&!this.clickNotClose&&this.addEventClick(),e?Object(h["a"])(document.body,"showRightPanel"):Object(h["e"])(document.body,"showRightPanel")}},mounted:function(){this.insertToBody()},beforeDestroy:function(){var e=this.$refs.rightPanel;e.remove()},methods:{addEventClick:function(){window.addEventListener("click",this.closeSidebar)},closeSidebar:function(e){var t=e.target.closest(".rightPanel");t||(this.show=!1,window.removeEventListener("click",this.closeSidebar))},insertToBody:function(){var e=this.$refs.rightPanel,t=document.querySelector("body");t.insertBefore(e,t.firstChild)}}},f=m,p=(n("3a82"),n("e4d6"),n("2877")),v=Object(p["a"])(f,u,d,!1,null,"7ce91d5a",null),g=v.exports,w=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"app-main"},[n("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[n("keep-alive",{attrs:{include:e.cachedViews}},[n("router-view",{key:e.key})],1)],1)],1)},b=[],x={name:"AppMain",computed:{cachedViews:function(){return this.$store.state.tagsView.cachedViews},key:function(){return this.$route.path}}},y=x,k=(n("3dde"),n("bf48"),Object(p["a"])(y,w,b,!1,null,"92459f82",null)),V=k.exports,_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navbar"},[n("hamburger",{staticClass:"hamburger-container",attrs:{id:"hamburger-container","is-active":e.sidebar.opened},on:{toggleClick:e.toggleSideBar}}),n("breadcrumb",{staticClass:"breadcrumb-container",attrs:{id:"breadcrumb-container"}}),n("div",{staticClass:"right-menu"},["mobile"!==e.device?void 0:e._e(),e.appointment_num?n("div",{staticClass:"right-menu-item hover-effect"},[n("el-button",{staticStyle:{color:"red"},on:{click:function(t){return e.handleAppointemnet()}}},[e._v("预约待处理("+e._s(e.appointment_num)+")")])],1):e._e(),e.$store.getters.is_anchor?n("div",{staticClass:"right-menu-item hover-effect"},[n("el-button",{on:{click:function(t){e.dialogWorks=!0}}},[e._v("排班"+e._s(e.$store.getters.name))])],1):e._e(),n("div",{staticClass:"right-menu-item hover-effect"},[n("el-button",{style:{backgroundColor:e.workstatus?"#fff":"#409EFF",color:e.workstatus?"#979797":"#fff"},on:{click:e.startWorks}},[e._v(e._s(e.workstatus?"上班":"上班中"))]),n("el-button",{style:{backgroundColor:e.workstatus?"#409EFF":"#fff",color:e.workstatus?"#fff":"#979797"},on:{click:e.endWorks}},[e._v(e._s(e.workstatus?"下班中":"下班"))])],1),n("el-dropdown",{staticClass:"avatar-container right-menu-item hover-effect",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:e.avatar+"?imageView2/1/w/80/h/80",alt:""}}),n("i",{staticClass:"el-icon-camera",staticStyle:{position:"absolute"},on:{click:function(t){t.stopPropagation(),e.showAvatar=!0}}}),n("i",{staticClass:"el-icon-caret-bottom"})]),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{attrs:{to:"/"}},[n("el-dropdown-item",[e._v("系统面板")])],1),n("div",{on:{click:function(t){e.dialogPWD=!0}}},[n("el-dropdown-item",[e._v("修改密码")])],1),n("el-dropdown-item",{attrs:{divided:""},nativeOn:{click:function(t){return e.logout.apply(null,arguments)}}},[n("span",{staticStyle:{display:"block"}},[e._v("退出登录")])])],1)],1)],2),n("el-dialog",{attrs:{title:"提示",visible:e.showAvatar,width:"30%",center:""},on:{"update:visible":function(t){e.showAvatar=t}}},[n("el-upload",{staticClass:"avatar-uploader",attrs:{action:"/admin/index/avatar","show-file-list":!1,"on-success":e.handleAvatarSuccess,"before-upload":e.beforeAvatarUpload}},[e.imageUrl?n("img",{staticClass:"avatar",attrs:{src:e.imageUrl,alt:""}}):n("i",{staticClass:"el-icon-plus avatar-uploader-icon"})])],1),n("el-dialog",{attrs:{title:"修改密码",visible:e.dialogPWD},on:{"update:visible":function(t){e.dialogPWD=t}}},[n("el-form",{attrs:{rules:e.rules,model:e.form}},[n("el-form-item",{attrs:{label:"旧密码",prop:"oldpwd"}},[n("el-input",{attrs:{autocomplete:"off"},model:{value:e.form.oldpwd,callback:function(t){e.$set(e.form,"oldpwd",t)},expression:"form.oldpwd"}})],1),n("el-form-item",{attrs:{label:"新密码",prop:"pwd"}},[n("el-input",{attrs:{autocomplete:"off"},model:{value:e.form.pwd,callback:function(t){e.$set(e.form,"pwd",t)},expression:"form.pwd"}})],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.dialogPWD=!1}}},[e._v("取 消")]),n("el-button",{attrs:{type:"primary"},on:{click:e.pwd}},[e._v("确 定")])],1)],1),n("el-dialog",{attrs:{title:"排班",width:"90%",visible:e.dialogWorks},on:{"update:visible":function(t){e.dialogWorks=t}}},[n("el-form",{attrs:{rules:e.rules}},[n("el-row",{staticStyle:{"margin-bottom":"10px"}},[n("el-col",{attrs:{span:24}},[n("el-date-picker",{attrs:{placeholder:"选择开始时间","default-time":"07:00:00",type:"datetime"},model:{value:e.times[0],callback:function(t){e.$set(e.times,0,t)},expression:"times[0]"}})],1)],1),n("el-row",{staticStyle:{"margin-bottom":"10px"}},[n("el-col",{attrs:{span:24}},[n("el-date-picker",{attrs:{placeholder:"选择结束时间","default-time":"07:59:59",type:"datetime"},model:{value:e.times[1],callback:function(t){e.$set(e.times,1,t)},expression:"times[1]"}})],1)],1),n("el-row",{staticStyle:{"margin-bottom":"10px"}},[n("el-col",{attrs:{span:24}},[n("el-checkbox-group",{model:{value:e.os,callback:function(t){e.os=t},expression:"os"}},e._l(e.$store.getters.oss,(function(t,a,i){return n("el-checkbox",{key:i,attrs:{label:a}},[e._v(e._s(t))])})),1)],1)],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.dialogWorks=!1}}},[e._v("取 消")]),n("el-button",{attrs:{type:"primary"},on:{click:e.saveWork}},[e._v("确 定")])],1)],1),n("el-drawer",{attrs:{"with-header":!1,visible:e.drawer,size:"800px",direction:"rtl",modal:!1},on:{"update:visible":function(t){e.drawer=t}}},[n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],staticClass:"drawer"},[e.QaShow?n("el-button",{attrs:{type:"success"},on:{click:function(t){e.drawer=!1}}},[e._v("关 闭")]):e._e(),e.QaShow?e._e():n("el-button",{attrs:{type:"success"},on:{click:function(t){e.QaShow=!0}}},[e._v("返 回")]),e.QaShow?n("div",{staticClass:"mod"},e._l(e.getQaCityList,(function(t){return n("el-button",{key:t.city_id,staticStyle:{width:"150px"},attrs:{size:"medium",type:"primary"},on:{click:function(n){return e.clickQaList(t)}}},[e._v(" "+e._s(t.city_name)+" ")])})),1):e._e(),e.QaInfo&&!e.QaShow?n("div",{staticClass:"ver"},e._l(e.getQaLists,(function(t){return n("div",[n("div",{staticClass:"ver_title"},[e._v(e._s(t.title))]),n("div",{staticClass:"ver_content"},[e._v(e._s(t.content))])])})),0):e._e()],1)])],1)},C=[],S=n("c7eb"),z=n("1da1"),E=(n("e9c4"),n("2b3d"),n("bf19"),n("9861"),n("2f62")),L=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,(function(t,a){return n("el-breadcrumb-item",{key:t.path},["noRedirect"===t.redirect||a==e.levelList.length-1?n("span",{staticClass:"no-redirect"},[e._v(e._s(t.meta.title))]):n("a",{on:{click:function(n){return n.preventDefault(),e.handleLink(t)}}},[e._v(e._s(t.meta.title))])])})),1)],1)},O=[],M=(n("99af"),n("4de4"),n("b0c0"),n("2ca0"),n("498a"),n("bd11")),T=n.n(M),H={data:function(){return{levelList:null}},watch:{$route:function(e){e.path.startsWith("/redirect/")||this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var e=this.$route.matched.filter((function(e){return e.meta&&e.meta.title})),t=e[0];this.isDashboard(t)||(e=[{path:"/dashboard",meta:{title:"Dashboard"}}].concat(e)),this.levelList=e.filter((function(e){return e.meta&&e.meta.title&&!1!==e.meta.breadcrumb}))},isDashboard:function(e){var t=e&&e.name;return!!t&&t.trim().toLocaleLowerCase()==="Dashboard".toLocaleLowerCase()},pathCompile:function(e){var t=this.$route.params,n=T.a.compile(e);return n(t)},handleLink:function(e){var t=e.redirect,n=e.path;t?this.$router.push(t):this.$router.push(this.pathCompile(n))}}},$=H,B=(n("6e46"),Object(p["a"])($,L,O,!1,null,"5e0508f8",null)),D=B.exports,A=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{padding:"0 15px"},on:{click:e.toggleClick}},[n("svg",{staticClass:"hamburger",class:{"is-active":e.isActive},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64"}},[n("path",{attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"}})])])},j=[],P={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},I=P,R=(n("8dd0"),Object(p["a"])(I,A,j,!1,null,"49e15297",null)),W=R.exports,N=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg-icon",{attrs:{"icon-class":e.isFullscreen?"exit-fullscreen":"fullscreen"},on:{click:e.click}})],1)},q=[],U=n("93bf"),F=n.n(U),Q={name:"Screenfull",data:function(){return{isFullscreen:!1}},mounted:function(){this.init()},beforeDestroy:function(){this.destroy()},methods:{click:function(){if(!F.a.enabled)return this.$message({message:"you browser can not work",type:"warning"}),!1;F.a.toggle()},change:function(){this.isFullscreen=F.a.isFullscreen},init:function(){F.a.enabled&&F.a.on("change",this.change)},destroy:function(){F.a.enabled&&F.a.off("change",this.change)}}},G=Q,J=(n("2abb"),Object(p["a"])(G,N,q,!1,null,"1d75d652",null)),K=J.exports,X=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleSetSize}},[n("div",[n("svg-icon",{attrs:{"class-name":"size-icon","icon-class":"size"}})],1),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},e._l(e.sizeOptions,(function(t){return n("el-dropdown-item",{key:t.value,attrs:{disabled:e.size===t.value,command:t.value}},[e._v(" "+e._s(t.label)+" ")])})),1)],1)},Z=[],Y=(n("ac1f"),n("5319"),{data:function(){return{sizeOptions:[{label:"Default",value:"default"},{label:"Medium",value:"medium"},{label:"Small",value:"small"},{label:"Mini",value:"mini"}]}},computed:{size:function(){return this.$store.getters.size}},methods:{handleSetSize:function(e){this.$ELEMENT.size=e,this.$store.dispatch("app/setSize",e),this.refreshView(),this.$message({message:"Switch Size Success",type:"success"})},refreshView:function(){var e=this;this.$store.dispatch("tagsView/delAllCachedViews",this.$route);var t=this.$route.fullPath;this.$nextTick((function(){e.$router.replace({path:"/redirect"+t})}))}}}),ee=Y,te=Object(p["a"])(ee,X,Z,!1,null,null,null),ne=te.exports,ae=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"header-search",class:{show:e.show}},[n("svg-icon",{attrs:{"class-name":"search-icon","icon-class":"search"},on:{click:function(t){return t.stopPropagation(),e.click.apply(null,arguments)}}}),n("el-select",{ref:"headerSearchSelect",staticClass:"header-search-select",attrs:{"remote-method":e.querySearch,filterable:"","default-first-option":"",remote:"",placeholder:"Search"},on:{change:e.change},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}},e._l(e.options,(function(e){return n("el-option",{key:e.path,attrs:{value:e,label:e.title.join(" > ")}})})),1)],1)},ie=[],oe=n("2909"),ce=n("b85c"),se=(n("841c"),n("ffe7")),re=n.n(se),le=n("df7c"),ue=n.n(le),de={name:"HeaderSearch",data:function(){return{search:"",options:[],searchPool:[],show:!1,fuse:void 0}},computed:{routes:function(){return this.$store.getters.permission_routes}},watch:{routes:function(){this.searchPool=this.generateRoutes(this.routes)},searchPool:function(e){this.initFuse(e)},show:function(e){e?document.body.addEventListener("click",this.close):document.body.removeEventListener("click",this.close)}},mounted:function(){this.searchPool=this.generateRoutes(this.routes)},methods:{click:function(){this.show=!this.show,this.show&&this.$refs.headerSearchSelect&&this.$refs.headerSearchSelect.focus()},close:function(){this.$refs.headerSearchSelect&&this.$refs.headerSearchSelect.blur(),this.options=[],this.show=!1},change:function(e){var t=this;this.$router.push(e.path),this.search="",this.options=[],this.$nextTick((function(){t.show=!1}))},initFuse:function(e){this.fuse=new re.a(e,{shouldSort:!0,threshold:.4,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"title",weight:.7},{name:"path",weight:.3}]})},generateRoutes:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=[],o=Object(ce["a"])(e);try{for(o.s();!(t=o.n()).done;){var c=t.value;if(!c.hidden){var s={path:ue.a.resolve(n,c.path),title:Object(oe["a"])(a)};if(c.meta&&c.meta.title&&(s.title=[].concat(Object(oe["a"])(s.title),[c.meta.title]),"noRedirect"!==c.redirect&&i.push(s)),c.children){var r=this.generateRoutes(c.children,s.path,s.title);r.length>=1&&(i=[].concat(Object(oe["a"])(i),Object(oe["a"])(r)))}}}}catch(l){o.e(l)}finally{o.f()}return i},querySearch:function(e){this.options=""!==e?this.fuse.search(e):[]}}},he=de,me=(n("0185"),Object(p["a"])(he,ae,ie,!1,null,"7633dc5e",null)),fe=me.exports,pe=n("b719"),ve=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"has-logo":e.showLogo}},[e.showLogo?n("logo",{attrs:{collapse:e.isCollapse}}):e._e(),n("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[n("el-menu",{attrs:{"default-active":e.activeMenu,collapse:e.isCollapse,"background-color":e.variables.menuBg,"text-color":e.variables.menuText,"unique-opened":!1,"active-text-color":e.variables.menuActiveText,"collapse-transition":!1,mode:"vertical"}},e._l(e.permission_routes,(function(e){return n("sidebar-item",{key:e.path,attrs:{item:e,"base-path":e.path}})})),1)],1)],1)},ge=[],we=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sidebar-logo-container",class:{collapse:e.collapse}},[n("transition",{attrs:{name:"sidebarLogoFade"}},[e.collapse?n("router-link",{key:"collapse",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):n("h1",{staticClass:"sidebar-title"},[e._v(e._s(e.title)+" ")])]):n("router-link",{key:"expand",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):e._e(),n("h1",{staticClass:"sidebar-title"},[e._v(e._s(e.title)+" ")])])],1)],1)},be=[],xe={name:"SidebarLogo",props:{collapse:{type:Boolean,required:!0}},data:function(){return{title:"Vue Element Admin",logo:"https://wpimg.wallstcn.com/69a1c46c-eb1c-4b46-8bd4-e9e686ef5251.png"}}},ye=xe,ke=(n("f060"),Object(p["a"])(ye,we,be,!1,null,"c28012ce",null)),Ve=ke.exports,_e=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.item.hidden?e._e():n("div",[!e.hasOneShowingChild(e.item.children,e.item)||e.onlyOneChild.children&&!e.onlyOneChild.noShowingChildren||e.item.alwaysShow?n("el-submenu",{ref:"subMenu",attrs:{index:e.resolvePath(e.item.path),"popper-append-to-body":""}},[n("template",{slot:"title"},[e.item.meta?n("item",{attrs:{icon:e.item.meta&&e.item.meta.icon,title:e.item.meta.title}}):e._e()],1),e._l(e.item.children,(function(t){return n("sidebar-item",{key:t.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:t,"base-path":e.resolvePath(t.path)}})}))],2):[e.onlyOneChild.meta&&!e.onlyOneChild.meta.hidden?n("app-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[n("item",{attrs:{icon:e.onlyOneChild.meta.icon||e.item.meta&&e.item.meta.icon,title:e.onlyOneChild.meta.title}})],1)],1):e._e()]],2)},Ce=[],Se=n("61f7"),ze=(n("caad"),n("2532"),{name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props,a=n.icon,i=n.title,o=[];return a&&(a.includes("el-icon")?o.push(e("i",{class:[a,"sub-el-icon"]})):o.push(e("svg-icon",{attrs:{"icon-class":a}}))),i&&o.push(e("span",{slot:"title"},[i])),o}}),Ee=ze,Le=(n("f87e"),Object(p["a"])(Ee,a,i,!1,null,"18eeea00",null)),Oe=Le.exports,Me=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.type,e._b({tag:"component"},"component",e.linkProps(e.to),!1),[e._t("default")],2)},Te=[],He={props:{to:{type:String,required:!0}},computed:{isExternal:function(){return Object(Se["b"])(this.to)},type:function(){return this.isExternal?"a":"router-link"}},methods:{linkProps:function(e){return this.isExternal?{href:e,target:"_blank",rel:"noopener"}:{to:e}}}},$e=He,Be=Object(p["a"])($e,Me,Te,!1,null,null,null),De=Be.exports,Ae={computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var e=this,t=this.$refs.subMenu;if(t){var n=t.handleMouseleave;t.handleMouseleave=function(t){"mobile"!==e.device&&n(t)}}}}},je={name:"SidebarItem",components:{Item:Oe,AppLink:De},mixins:[Ae],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},methods:{hasOneShowingChild:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,a=t.filter((function(t){return!t.hidden&&(e.onlyOneChild=t,!0)}));return 1===a.length||0===a.length&&(this.onlyOneChild=Object(l["a"])(Object(l["a"])({},n),{},{path:"",noShowingChildren:!0}),!0)},resolvePath:function(e){return e=e.replace(/\/:[a-zA-Z]+/g,""),Object(Se["b"])(e)?e:Object(Se["b"])(this.basePath)?this.basePath:ue.a.resolve(this.basePath,e)}}},Pe=je,Ie=Object(p["a"])(Pe,_e,Ce,!1,null,null,null),Re=Ie.exports,We=n("cf1e"),Ne=n.n(We),qe={components:{SidebarItem:Re,Logo:Ve},computed:Object(l["a"])(Object(l["a"])({},Object(E["b"])(["permission_routes","sidebar"])),{},{activeMenu:function(){var e=this.$route,t=e.meta,n=e.path;return t.activeMenu?t.activeMenu:n},showLogo:function(){return this.$store.state.settings.sidebarLogo},variables:function(){return Ne.a},isCollapse:function(){return!this.sidebar.opened}})},Ue=qe,Fe=Object(p["a"])(Ue,ve,ge,!1,null,null,null),Qe=Fe.exports,Ge=n("5b23"),Je=n("85a8"),Ke=n("9169"),Xe={directives:{clickoutside:Ke["a"]},components:{Breadcrumb:D,Hamburger:W,Screenfull:K,SizeSelect:ne,Search:fe},props:{appointment_num:{type:Number,default:0}},computed:Object(l["a"])({avatar:function(){return Ge["a"]},sidebar:function(){return Qe}},Object(E["b"])(["sidebar","avatar","device"])),data:function(){return{workstatus:!1,drawer:!1,showAvatar:!1,dialogPWD:!1,dialogWorks:!1,centerDialogVisible:!1,imageUrl:!1,QaShow:!0,os:[],getQaCityList:[],getQaLists:[],times:[],form:{oldpwd:"",pwd:""},QaInfo:{title:"",content:""},rules:{oldpwd:[{required:!0,message:"请输入旧密码",trigger:"blur"},{min:6,max:20,message:"长度在 6 到 20 个字符",trigger:"blur"}],pwd:[{required:!0,message:"请输入密码",trigger:"blur"},{min:6,max:20,message:"长度在 6 到 20 个字符",trigger:"blur"}]}}},created:function(){var e=this;this.getworkstatus(),Object(Je["a"])().then((function(t){e.getQaCityList=t.data}))},methods:{color:pe["color"],toggleSideBar:function(){this.$store.dispatch("app/toggleSideBar")},handleClose:function(){this.drawer=!1,this.QaShow=!0},clickQaList:function(e){var t=this;if(Object(Je["b"])(e.city_id).then((function(e){t.getQaLists=e.data})),console.log(JSON.stringify(this.getQaLists)),!this.getQaLists)return this.$message({message:"暂无QA问题",type:"warning",duration:1500});this.QaShow=!1},logout:function(){var e=this;return Object(z["a"])(Object(S["a"])().mark((function t(){return Object(S["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$store.dispatch("user/logout");case 2:e.$router.push("/login?redirect=".concat(e.$route.fullPath));case 3:case"end":return t.stop()}}),t)})))()},handleAvatarSuccess:function(e,t){this.imageUrl=URL.createObjectURL(t.raw)},pwd:function(){var e=this;this.$axios.post("/admin/admin/pwd",this.form).then((function(t){e.dialogPWD=!1,e.form={}})).catch((function(e){console.log(e)}))},saveWork:function(){var e=this;this.$axios.post("/admin/work/save2",{times:this.times,os:this.os}).then((function(t){console.log(t),e.$message({showClose:!0,message:"添加成功"}),e.dialogWorks=!1})).catch((function(e){console.log(e)}))},startWorks:function(){var e=this;this.$axios.post("/admin/admin/editInfo",{is_order:1}).then((function(t){console.log(t),e.$message({showClose:!0,message:"上班成功"}),e.getworkstatus()})).catch((function(e){console.log(e)}))},endWorks:function(){var e=this;this.$axios.post("/admin/admin/editInfo",{is_order:0}).then((function(t){console.log(t),e.$message({showClose:!0,message:"下班成功"}),e.getworkstatus()})).catch((function(e){console.log(e)}))},getworkstatus:function(){var e=this;this.$axios.post("/admin/work/getworkstatus",{id:this.id}).then((function(t){console.log(t),e.workstatus=t.data})).catch((function(e){console.log(e)}))},handleAppointemnet:function(){this.$router.push({path:"/order/index/",query:{appointment_status:"1",refresh:Date.now()}})},beforeAvatarUpload:function(e){}}},Ze=Xe,Ye=(n("ca36"),Object(p["a"])(Ze,_,C,!1,null,"130f892e",null)),et=Ye.exports,tt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"drawer-container"},[n("div",[n("h3",{staticClass:"drawer-title"},[e._v("Page style setting")]),n("div",{staticClass:"drawer-item"},[n("span",[e._v("Theme Color")]),n("theme-picker",{staticStyle:{float:"right",height:"26px",margin:"-3px 8px 0 0"},on:{change:e.themeChange}})],1),n("div",{staticClass:"drawer-item"},[n("span",[e._v("Open Tags-View")]),n("el-switch",{staticClass:"drawer-switch",model:{value:e.tagsView,callback:function(t){e.tagsView=t},expression:"tagsView"}})],1),n("div",{staticClass:"drawer-item"},[n("span",[e._v("Fixed Header")]),n("el-switch",{staticClass:"drawer-switch",model:{value:e.fixedHeader,callback:function(t){e.fixedHeader=t},expression:"fixedHeader"}})],1),n("div",{staticClass:"drawer-item"},[n("span",[e._v("Sidebar Logo")]),n("el-switch",{staticClass:"drawer-switch",model:{value:e.sidebarLogo,callback:function(t){e.sidebarLogo=t},expression:"sidebarLogo"}})],1)])])},nt=[],at=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-color-picker",{staticClass:"theme-picker",attrs:{predefine:["#409EFF","#1890ff","#304156","#212121","#11a983","#13c2c2","#6959CD","#f5222d"],"popper-class":"theme-picker-dropdown"},model:{value:e.theme,callback:function(t){e.theme=t},expression:"theme"}})},it=[],ot=(n("a15b"),n("fb6a"),n("b680"),n("4d63"),n("2c3e"),n("00b4"),n("25f0"),n("159b"),n("f6f8").version),ct="#409EFF",st={data:function(){return{chalk:"",theme:""}},computed:{defaultTheme:function(){return this.$store.state.settings.theme}},watch:{defaultTheme:{handler:function(e,t){this.theme=e},immediate:!0},theme:function(e){var t=this;return Object(z["a"])(Object(S["a"])().mark((function n(){var a,i,o,c,s,r,l,u;return Object(S["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(a=t.chalk?t.theme:ct,"string"===typeof e){n.next=3;break}return n.abrupt("return");case 3:if(i=t.getThemeCluster(e.replace("#","")),o=t.getThemeCluster(a.replace("#","")),console.log(i,o),c=t.$message({message:" Compiling the theme",customClass:"theme-message",type:"success",duration:0,iconClass:"el-icon-loading"}),s=function(e,n){return function(){var a=t.getThemeCluster(ct.replace("#","")),o=t.updateStyle(t[e],a,i),c=document.getElementById(n);c||(c=document.createElement("style"),c.setAttribute("id",n),document.head.appendChild(c)),c.innerText=o}},t.chalk){n.next=12;break}return r="https://unpkg.com/element-ui@".concat(ot,"/lib/theme-chalk/index.css"),n.next=12,t.getCSSString(r,"chalk");case 12:l=s("chalk","chalk-style"),l(),u=[].slice.call(document.querySelectorAll("style")).filter((function(e){var t=e.innerText;return new RegExp(a,"i").test(t)&&!/Chalk Variables/.test(t)})),u.forEach((function(e){var n=e.innerText;"string"===typeof n&&(e.innerText=t.updateStyle(n,o,i))})),t.$emit("change",e),c.close();case 18:case"end":return n.stop()}}),n)})))()}},methods:{updateStyle:function(e,t,n){var a=e;return t.forEach((function(e,t){a=a.replace(new RegExp(e,"ig"),n[t])})),a},getCSSString:function(e,t){var n=this;return new Promise((function(a){var i=new XMLHttpRequest;i.onreadystatechange=function(){4===i.readyState&&200===i.status&&(n[t]=i.responseText.replace(/@font-face{[^}]+}/,""),a())},i.open("GET",e),i.send()}))},getThemeCluster:function(e){for(var t=function(e,t){var n=parseInt(e.slice(0,2),16),a=parseInt(e.slice(2,4),16),i=parseInt(e.slice(4,6),16);return 0===t?[n,a,i].join(","):(n+=Math.round(t*(255-n)),a+=Math.round(t*(255-a)),i+=Math.round(t*(255-i)),n=n.toString(16),a=a.toString(16),i=i.toString(16),"#".concat(n).concat(a).concat(i))},n=function(e,t){var n=parseInt(e.slice(0,2),16),a=parseInt(e.slice(2,4),16),i=parseInt(e.slice(4,6),16);return n=Math.round((1-t)*n),a=Math.round((1-t)*a),i=Math.round((1-t)*i),n=n.toString(16),a=a.toString(16),i=i.toString(16),"#".concat(n).concat(a).concat(i)},a=[e],i=0;i<=9;i++)a.push(t(e,Number((i/10).toFixed(2))));return a.push(n(e,.1)),a}}},rt=st,lt=(n("f26d"),Object(p["a"])(rt,at,it,!1,null,null,null)),ut=lt.exports,dt={components:{ThemePicker:ut},data:function(){return{}},computed:{fixedHeader:{get:function(){return this.$store.state.settings.fixedHeader},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"fixedHeader",value:e})}},tagsView:{get:function(){return this.$store.state.settings.tagsView},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"tagsView",value:e})}},sidebarLogo:{get:function(){return this.$store.state.settings.sidebarLogo},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"sidebarLogo",value:e})}}},methods:{themeChange:function(e){this.$store.dispatch("settings/changeSetting",{key:"theme",value:e})}}},ht=dt,mt=(n("4d27"),Object(p["a"])(ht,tt,nt,!1,null,"5d274279",null)),ft=mt.exports,pt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tags-view-container",attrs:{id:"tags-view-container"}},[n("scroll-pane",{ref:"scrollPane",staticClass:"tags-view-wrapper",on:{scroll:e.handleScroll}},e._l(e.visitedViews,(function(t){return n("router-link",{key:t.path,ref:"tag",refInFor:!0,staticClass:"tags-view-item",class:e.isActive(t)?"active":"",attrs:{to:{path:t.path,query:t.query,fullPath:t.fullPath},tag:"span"},nativeOn:{mouseup:function(n){if("button"in n&&1!==n.button)return null;!e.isAffix(t)&&e.closeSelectedTag(t)},contextmenu:function(n){return n.preventDefault(),e.openMenu(t,n)}}},[e._v(" "+e._s(t.title)+" "),e.isAffix(t)?e._e():n("span",{staticClass:"el-icon-close",on:{click:function(n){return n.preventDefault(),n.stopPropagation(),e.closeSelectedTag(t)}}})])})),1),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"contextmenu",style:{left:e.left+"px",top:e.top+"px"}},[n("li",{on:{click:function(t){return e.refreshSelectedTag(e.selectedTag)}}},[e._v("刷新")]),e.isAffix(e.selectedTag)?e._e():n("li",{on:{click:function(t){return e.closeSelectedTag(e.selectedTag)}}},[e._v("关闭")]),n("li",{on:{click:e.closeOthersTags}},[e._v("关闭其他")]),n("li",{on:{click:function(t){return e.closeAllTags(e.selectedTag)}}},[e._v("关闭所有")])])],1)},vt=[],gt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-scrollbar",{ref:"scrollContainer",staticClass:"scroll-container",attrs:{vertical:!1},nativeOn:{wheel:function(t){return t.preventDefault(),e.handleScroll.apply(null,arguments)}}},[e._t("default")],2)},wt=[],bt=(n("c740"),4),xt={name:"ScrollPane",data:function(){return{left:0}},computed:{scrollWrapper:function(){return this.$refs.scrollContainer.$refs.wrap}},mounted:function(){this.scrollWrapper.addEventListener("scroll",this.emitScroll,!0)},beforeDestroy:function(){this.scrollWrapper.removeEventListener("scroll",this.emitScroll)},methods:{handleScroll:function(e){var t=e.wheelDelta||40*-e.deltaY,n=this.scrollWrapper;n.scrollLeft=n.scrollLeft+t/4},emitScroll:function(){this.$emit("scroll")},moveToTarget:function(e){var t=this.$refs.scrollContainer.$el,n=t.offsetWidth,a=this.scrollWrapper,i=this.$parent.$refs.tag,o=null,c=null;if(i.length>0&&(o=i[0],c=i[i.length-1]),o===e)a.scrollLeft=0;else if(c===e)a.scrollLeft=a.scrollWidth-n;else{var s=i.findIndex((function(t){return t===e})),r=i[s-1],l=i[s+1],u=l.$el.offsetLeft+l.$el.offsetWidth+bt,d=r.$el.offsetLeft-bt;u>a.scrollLeft+n?a.scrollLeft=u-n:d1&&void 0!==arguments[1]?arguments[1]:"/",a=[];return e.forEach((function(e){if(e.meta&&e.meta.affix){var i=ue.a.resolve(n,e.path);a.push({fullPath:i,path:i,name:e.name,meta:Object(l["a"])({},e.meta)})}if(e.children){var o=t.filterAffixTags(e.children,e.path);o.length>=1&&(a=[].concat(Object(oe["a"])(a),Object(oe["a"])(o)))}})),a},initTags:function(){var e,t=this.affixTags=this.filterAffixTags(this.routes),n=Object(ce["a"])(t);try{for(n.s();!(e=n.n()).done;){var a=e.value;a.name&&this.$store.dispatch("tagsView/addVisitedView",a)}}catch(i){n.e(i)}finally{n.f()}},addTags:function(){var e=this.$route.name;return e&&this.$store.dispatch("tagsView/addView",this.$route),!1},moveToCurrentTag:function(){var e=this,t=this.$refs.tag;this.$nextTick((function(){var n,a=Object(ce["a"])(t);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i.to.path===e.$route.path){e.$refs.scrollPane.moveToTarget(i),i.to.fullPath!==e.$route.fullPath&&e.$store.dispatch("tagsView/updateVisitedView",e.$route);break}}}catch(o){a.e(o)}finally{a.f()}}))},refreshSelectedTag:function(e){var t=this;this.$store.dispatch("tagsView/delCachedView",e).then((function(){var n=e.fullPath;t.$nextTick((function(){t.$router.replace({path:"/redirect"+n})}))}))},closeSelectedTag:function(e){var t=this;this.$store.dispatch("tagsView/delView",e).then((function(n){var a=n.visitedViews;t.isActive(e)&&t.toLastView(a,e)}))},closeOthersTags:function(){var e=this;this.$router.push(this.selectedTag),this.$store.dispatch("tagsView/delOthersViews",this.selectedTag).then((function(){e.moveToCurrentTag()}))},closeAllTags:function(e){var t=this;this.$store.dispatch("tagsView/delAllViews").then((function(n){var a=n.visitedViews;t.affixTags.some((function(t){return t.path===e.path}))||t.toLastView(a,e)}))},toLastView:function(e,t){var n=e.slice(-1)[0];n?this.$router.push(n.fullPath):"Dashboard"===t.name?this.$router.replace({path:"/redirect"+t.fullPath}):this.$router.push("/")},openMenu:function(e,t){var n=105,a=this.$el.getBoundingClientRect().left,i=this.$el.offsetWidth,o=i-n,c=t.clientX-a+15;this.left=c>o?o:c,this.top=t.clientY,this.visible=!0,this.selectedTag=e},closeMenu:function(){this.visible=!1},handleScroll:function(){this.closeMenu()}}},Ct=_t,St=(n("48da"),n("6f1a"),Object(p["a"])(Ct,pt,vt,!1,null,"079ac08e",null)),zt=St.exports,Et=n("4360"),Lt=document,Ot=Lt.body,Mt=992,Tt={watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&&Et["a"].dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){var e=this.$_isMobile();e&&(Et["a"].dispatch("app/toggleDevice","mobile"),Et["a"].dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){var e=Ot.getBoundingClientRect();return e.width-10&&e.$notify({title:"新的订单提醒",duration:0,dangerouslyUseHTMLString:!0,message:"你有("+t.data.new+")个新的订单,需要处理"}),t&&t.data.follow>0&&e.$notify({title:"新的跟进提醒",duration:1e4,dangerouslyUseHTMLString:!0,message:"你有("+t.data.follow+")个跟进订单,需要处理"}),t&&t.data.back>0&&e.$notify({title:"转单申请",duration:1e4,dangerouslyUseHTMLString:!0,message:"你有("+t.data.back+")个转单订单,需要处理"}),t&&t.data.order_write_off>0&&e.$notify({title:"订单核销",duration:1e4,dangerouslyUseHTMLString:!0,message:"你有("+t.data.order_write_off+")个核销订单"}),t&&t.data.follow_message>0&&e.$notify({title:"跟进提醒",duration:5e4,dangerouslyUseHTMLString:!0,message:"你有("+t.data.follow_message+")个跟进提醒",onClick:function(){e.$router.push({path:"/order/index/",query:{id:t.data.follow_order_id,refresh:Date.now()}})}})})).catch((function(e){console.log(e)}))}),3e4)},methods:{handleClickOutside:function(){this.$store.dispatch("app/closeSideBar",{withoutAnimation:!1})},followDetail:function(e){console.log(e)},onInfo:function(e){var t=this;this.value=null,this.next_follow=null,this.$set(e,"next_follow",null),this.item=e,this.active="follow",this.$axios.get("/admin/order/info",{params:{id:e.id}}).then((function(e){t.item=e.data,t.dialogVisible=!0})).catch((function(e){}))}}},Bt=$t,Dt=(n("dfe2"),Object(p["a"])(Bt,s,r,!1,null,"ef5ecd66",null)),At=Dt.exports;o["default"].use(c["a"]);var jt=[{path:"/redirect",component:At,hidden:!0,children:[{path:"/redirect/:path(.*)",component:function(){return n.e("chunk-2d230fe7").then(n.bind(null,"ef3c"))}}]},{path:"/login",component:function(){return n.e("chunk-5b015b61").then(n.bind(null,"9ed6"))},hidden:!0},{path:"/home",component:function(){return n.e("chunk-120ad319").then(n.bind(null,"7abe"))},hidden:!0},{path:"/line_on_sale",component:function(){return n.e("chunk-5d3a368d").then(n.bind(null,"dae2"))},hidden:!0},{path:"/auth-redirect",component:function(){return n.e("chunk-2d2105d3").then(n.bind(null,"b829"))},hidden:!0},{path:"/404",component:function(){return n.e("chunk-169fa71c").then(n.bind(null,"1db4"))},hidden:!0},{path:"/401",component:function(){return n.e("chunk-023b2e94").then(n.bind(null,"24e2"))},hidden:!0},{path:"/",component:At,redirect:"/dashboard",children:[{path:"dashboard",component:function(){return Promise.all([n.e("chunk-91a3134e"),n.e("chunk-0bfa76a9")]).then(n.bind(null,"9406"))},name:"Dashboard",meta:{title:"系统面板",icon:"dashboard",affix:!0}}]}],Pt=[{path:"/system",component:At,redirect:"/system",alwaysShow:!0,name:"System",meta:{title:"系统管理",icon:"el-icon-s-home",roles:["admin"]},children:[{path:"admin",component:function(){return n.e("chunk-737f3001").then(n.bind(null,"2953"))},name:"Admin",meta:{title:"管理员",roles:["admin"]}},{path:"works",component:function(){return n.e("chunk-f00febf4").then(n.bind(null,"da0f"))},name:"Works",meta:{title:"排班表",roles:["admin"]}},{path:"scheduling",component:function(){return n.e("chunk-3050cccd").then(n.bind(null,"deb2"))},name:"scheduling",meta:{title:"直播排班",roles:["admin"]}},{path:"onlines",component:function(){return n.e("chunk-27f79c9e").then(n.bind(null,"5c7c"))},name:"onlines",meta:{title:"在线客服",roles:["admin"]}},{path:"proManagement",component:function(){return n.e("chunk-f0c16dc4").then(n.bind(null,"bf50"))},name:"ProManagement",meta:{title:"商品管理",roles:["admin"]}},{path:"contract",component:function(){return n.e("chunk-8eb7ee56").then(n.bind(null,"8233"))},name:"ProManagementContract",meta:{title:"合同管理",roles:["admin"]}},{path:"proScheduling",component:function(){return n.e("chunk-31cf3465").then(n.bind(null,"005a"))},name:"ProScheduling",meta:{title:"排班管理",roles:["admin"],hidden:!0}}]},{path:"/order",component:At,redirect:"/order/index",alwaysShow:!0,name:"Orders",meta:{title:"订单管理",icon:"money",roles:["order_index","editor"]},children:[{path:"index",component:function(){return n.e("chunk-581d57b4").then(n.bind(null,"634a"))},name:"OrderList",meta:{title:"订单列表",roles:["order_pub","editor"]}},{path:"back",component:function(){return n.e("chunk-03e0c360").then(n.bind(null,"d0fc"))},name:"OrderBack",meta:{title:"流转订单",roles:["order_back","editor"]}},{path:"abandoned",component:function(){return n.e("chunk-da706e80").then(n.bind(null,"b1c4"))},name:"OrderBack",meta:{title:"已放弃订单",roles:["order_back","editor"]}},{path:"used",component:function(){return n.e("chunk-293e9b38").then(n.bind(null,"3413"))},name:"OrderBack",meta:{title:"已使用订单",roles:["order_back","editor"]}},{path:"refunded",component:function(){return n.e("chunk-71f57504").then(n.bind(null,"a29f"))},name:"OrderBack",meta:{title:"已退款订单",roles:["order_back","editor"]}},{path:"appointment",component:function(){return n.e("chunk-6c9be1a1").then(n.bind(null,"0e8c"))},name:"appointment",meta:{title:"预约记录",roles:["order_back","editor"]}}]},{path:"/qa",component:At,redirect:"/qa/qa",alwaysShow:!0,name:"Qa",meta:{title:"QA管理",icon:"el-icon-question",roles:["order_index","editor","franchisee"]},children:[{path:"problem",component:function(){return n.e("chunk-65aac34a").then(n.bind(null,"e132"))},name:"problem",meta:{title:"QA常见问题",roles:["order_pub","editor","franchisee"]}},{path:"qa",component:function(){return Promise.all([n.e("chunk-6fb398b6"),n.e("chunk-66551050")]).then(n.bind(null,"4c7f"))},name:"qa",meta:{title:"QA管理列表",roles:["admin"]}},{path:"city",component:function(){return n.e("chunk-630c52ac").then(n.bind(null,"948d"))},name:"city",meta:{title:"城市管理列表",roles:["admin"]}}]},{path:"/data",component:At,redirect:"/data/index",alwaysShow:!0,name:"Data",meta:{title:"数据统计",icon:"chart",roles:["data_index"]},children:[{path:"product",component:function(){return n.e("chunk-87abe4ec").then(n.bind(null,"a25c"))},name:"productNameList",meta:{title:"产品统计",roles:["order_pub","editor"]}},{path:"index",component:function(){return n.e("chunk-2d0de3a1").then(n.bind(null,"856d"))},name:"Index",meta:{title:"跟进统计",roles:["data_index"]}},{path:"sale",component:function(){return n.e("chunk-2d21a050").then(n.bind(null,"ba72"))},name:"Sale",meta:{title:"销售统计",roles:["data_sale"]}}]},{path:"/log",component:At,redirect:"/log/index",alwaysShow:!0,name:"Log",meta:{title:"日志记录",icon:"nested",roles:["follow_index","log_index","editor","franchisee"]},children:[{path:"follow",component:function(){return n.e("chunk-46a84215").then(n.bind(null,"16eb"))},name:"Follow",meta:{title:"跟进记录",roles:["follow_index","editor","franchisee"]}},{path:"index",component:function(){return n.e("chunk-6e1eea3c").then(n.bind(null,"5905"))},name:"LogIndex",meta:{title:"日志记录",roles:["log_index"]}}]},{path:"/announcements",component:At,redirect:"/announcements/index",alwaysShow:!0,name:"announcements",meta:{title:"公告管理",icon:"el-icon-s-promotion",roles:["admin"]},children:[{path:"list",component:function(){return n.e("chunk-2b905db8").then(n.bind(null,"5c84"))},name:"list",meta:{title:"公告列表",roles:["admin"]}}]},{path:"/icon",component:At,children:[{path:"index",component:function(){return n.e("chunk-bc86863a").then(n.bind(null,"105d"))},name:"Icons",meta:{title:"Icons",icon:"icon",noCache:!0}}]},{path:"*",redirect:"/404",hidden:!0}],It=function(){return new c["a"]({scrollBehavior:function(){return{y:0}},routes:jt})},Rt=It();function Wt(){var e=It();Rt.matcher=e.matcher}t["c"]=Rt},a22e:function(e,t,n){},aa46:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},ab00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},ad1c:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},b20f:function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},b3b5:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});c.a.add(s);t["default"]=s},b747:function(e,t,n){},b775:function(e,t,n){"use strict";n("d3b7");var a=n("bc3a"),i=n.n(a),o=n("5c96"),c=n("4360"),s=n("5f87"),r=i.a.create({baseURL:"/",timeout:1e4});r.interceptors.request.use((function(e){return c["a"].getters.token&&(e.headers["X-Token"]=Object(s["a"])()),e}),(function(e){return Promise.reject(e)})),r.interceptors.response.use((function(e){var t=e.data;return 0!==t.error?(Object(o["Message"])({message:t.msg||"Error",type:"error",duration:5e3}),50008!==t.code&&50012!==t.code&&50014!==t.code||o["MessageBox"].confirm("You have been logged out, you can cancel to stay on this page, or log in again","Confirm logout",{confirmButtonText:"Re-Login",cancelButtonText:"Cancel",type:"warning"}).then((function(){c["a"].dispatch("user/resetToken").then((function(){location.reload()}))})),400==t.code&&Object(s["b"])(),Promise.reject(new Error(t.message||"Error"))):t}),(function(e){return console.log("err"+e),Object(o["Message"])({message:e.message,type:"error",duration:5e3}),Promise.reject(e)})),t["a"]=r},bae7:function(e,t,n){},bc35:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},bf48:function(e,t,n){"use strict";n("97bb")},c459:function(e,t,n){},c469:function(e,t,n){},c653:function(e,t,n){var a={"./app.js":"d9cd","./errorLog.js":"4d49","./permission.js":"31c2","./settings.js":"0781","./tagsView.js":"7509","./user.js":"0f9a"};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=o,e.exports=i,i.id="c653"},c829:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},ca36:function(e,t,n){"use strict";n("3f22")},cbb7:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});c.a.add(s);t["default"]=s},cf1e:function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},d056:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},d450:function(e,t,n){},d7ec:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);t["default"]=s},d9cd:function(e,t,n){"use strict";n.r(t);var a=n("a78e"),i=n.n(a),o={sidebar:{opened:!i.a.get("sidebarStatus")||!!+i.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop",size:i.a.get("size")||"medium"},c={TOGGLE_SIDEBAR:function(e){e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1,e.sidebar.opened?i.a.set("sidebarStatus",1):i.a.set("sidebarStatus",0)},CLOSE_SIDEBAR:function(e,t){i.a.set("sidebarStatus",0),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t},SET_SIZE:function(e,t){e.size=t,i.a.set("size",t)}},s={toggleSideBar:function(e){var t=e.commit;t("TOGGLE_SIDEBAR")},closeSideBar:function(e,t){var n=e.commit,a=t.withoutAnimation;n("CLOSE_SIDEBAR",a)},toggleDevice:function(e,t){var n=e.commit;n("TOGGLE_DEVICE",t)},setSize:function(e,t){var n=e.commit;n("SET_SIZE",t)}};t["default"]={namespaced:!0,state:o,mutations:c,actions:s}},daba:function(e,t,n){},dad3:function(e,t,n){},dbc7:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-exit-fullscreen",use:"icon-exit-fullscreen-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},dcf8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},dfe2:function(e,t,n){"use strict";n("dad3")},e298:function(e,t,n){},e4d6:function(e,t,n){"use strict";n("5efb")},e534:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},e7c8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},eb1b:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t["default"]=s},ed08:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return r})),n.d(t,"e",(function(){return l}));var a=n("53ca");n("a630"),n("a15b"),n("d81d"),n("fb6a"),n("b64b"),n("d3b7"),n("4d63"),n("ac1f"),n("2c3e"),n("00b4"),n("25f0"),n("6062"),n("3ca3"),n("466d"),n("4d90"),n("5319"),n("159b"),n("ddb0");function i(e,t){if(0===arguments.length||!e)return null;var n,i=t||"{y}-{m}-{d} {h}:{i}:{s}";"object"===Object(a["a"])(e)?n=e:("string"===typeof e&&(e=/^[0-9]+$/.test(e)?parseInt(e):e.replace(new RegExp(/-/gm),"/")),"number"===typeof e&&10===e.toString().length&&(e*=1e3),n=new Date(e));var o={y:n.getFullYear(),m:n.getMonth()+1,d:n.getDate(),h:n.getHours(),i:n.getMinutes(),s:n.getSeconds(),a:n.getDay()},c=i.replace(/{([ymdhisa])+}/g,(function(e,t){var n=o[t];return"a"===t?["日","一","二","三","四","五","六"][n]:n.toString().padStart(2,"0")}));return c}function o(e,t){e=10===(""+e).length?1e3*parseInt(e):+e;var n=new Date(e),a=Date.now(),o=(a-n)/1e3;return o<30?"刚刚":o<3600?Math.ceil(o/60)+"分钟前":o<86400?Math.ceil(o/3600)+"小时前":o<172800?"1天前":t?i(e,t):n.getMonth()+1+"月"+n.getDate()+"日"+n.getHours()+"时"+n.getMinutes()+"分"}function c(e,t,n){var a,i,o,c,s,r=function r(){var l=+new Date-c;l0?a=setTimeout(r,t-l):(a=null,n||(s=e.apply(o,i),a||(o=i=null)))};return function(){for(var i=arguments.length,l=new Array(i),u=0;u'});c.a.add(s);t["default"]=s},f819:function(e,t,n){},f87e:function(e,t,n){"use strict";n("279e")},f96b:function(e,t){var n=[{path:"/redirect",component:"layout/Layout",hidden:!0,children:[{path:"/redirect/:path*",component:"views/redirect/index"}]},{path:"/login",component:"views/login/index",hidden:!0},{path:"/auth-redirect",component:"views/login/auth-redirect",hidden:!0},{path:"/404",component:"views/error-page/404",hidden:!0},{path:"/401",component:"views/error-page/401",hidden:!0},{path:"",component:"layout/Layout",redirect:"dashboard",children:[{path:"dashboard",component:"views/dashboard/index",name:"Dashboard",meta:{title:"Dashboard",icon:"dashboard",affix:!0}}]},{path:"/documentation",component:"layout/Layout",children:[{path:"index",component:"views/documentation/index",name:"Documentation",meta:{title:"Documentation",icon:"documentation",affix:!0}}]},{path:"/guide",component:"layout/Layout",redirect:"/guide/index",children:[{path:"index",component:"views/guide/index",name:"Guide",meta:{title:"Guide",icon:"guide",noCache:!0}}]}],a=[{path:"/permission",component:"layout/Layout",redirect:"/permission/index",alwaysShow:!0,meta:{title:"Permission",icon:"lock",roles:["admin","editor"]},children:[{path:"page",component:"views/permission/page",name:"PagePermission",meta:{title:"Page Permission",roles:["admin"]}},{path:"directive",component:"views/permission/directive",name:"DirectivePermission",meta:{title:"Directive Permission"}},{path:"role",component:"views/permission/role",name:"RolePermission",meta:{title:"Role Permission",roles:["admin"]}}]},{path:"/icon",component:"layout/Layout",children:[{path:"index",component:"views/icons/index",name:"Icons",meta:{title:"Icons",icon:"icon",noCache:!0}}]},{path:"/Wangeditor",component:"layout/Layout",redirect:"noRedirect",name:"ComponentDemo",meta:{title:"Components",icon:"component"},children:[{path:"tinymce",component:"views/Wangeditor-demo/tinymce",name:"TinymceDemo",meta:{title:"Tinymce"}},{path:"markdown",component:"views/Wangeditor-demo/markdown",name:"MarkdownDemo",meta:{title:"Markdown"}},{path:"json-editor",component:"views/Wangeditor-demo/json-editor",name:"JsonEditorDemo",meta:{title:"Json Editor"}},{path:"split-pane",component:"views/Wangeditor-demo/split-pane",name:"SplitpaneDemo",meta:{title:"SplitPane"}},{path:"avatar-upload",component:"views/Wangeditor-demo/avatar-upload",name:"AvatarUploadDemo",meta:{title:"Avatar Upload"}},{path:"dropzone",component:"views/Wangeditor-demo/dropzone",name:"DropzoneDemo",meta:{title:"Dropzone"}},{path:"sticky",component:"views/Wangeditor-demo/sticky",name:"StickyDemo",meta:{title:"Sticky"}},{path:"count-to",component:"views/Wangeditor-demo/count-to",name:"CountToDemo",meta:{title:"Count To"}},{path:"mixin",component:"views/Wangeditor-demo/mixin",name:"ComponentMixinDemo",meta:{title:"componentMixin"}},{path:"back-to-top",component:"views/Wangeditor-demo/back-to-top",name:"BackToTopDemo",meta:{title:"Back To Top"}},{path:"drag-dialog",component:"views/Wangeditor-demo/drag-dialog",name:"DragDialogDemo",meta:{title:"Drag Dialog"}},{path:"drag-select",component:"views/Wangeditor-demo/drag-select",name:"DragSelectDemo",meta:{title:"Drag Select"}},{path:"dnd-list",component:"views/Wangeditor-demo/dnd-list",name:"DndListDemo",meta:{title:"Dnd List"}},{path:"drag-kanban",component:"views/Wangeditor-demo/drag-kanban",name:"DragKanbanDemo",meta:{title:"Drag Kanban"}}]},{path:"/charts",component:"layout/Layout",redirect:"noRedirect",name:"Charts",meta:{title:"Charts",icon:"chart"},children:[{path:"keyboard",component:"views/charts/keyboard",name:"KeyboardChart",meta:{title:"Keyboard Chart",noCache:!0}},{path:"line",component:"views/charts/line",name:"LineChart",meta:{title:"Line Chart",noCache:!0}},{path:"mixchart",component:"views/charts/mixChart",name:"MixChart",meta:{title:"Mix Chart",noCache:!0}}]},{path:"/nested",component:"layout/Layout",redirect:"/nested/menu1/menu1-1",name:"Nested",meta:{title:"Nested",icon:"nested"},children:[{path:"menu1",component:"views/nested/menu1/index",name:"Menu1",meta:{title:"Menu1"},redirect:"/nested/menu1/menu1-1",children:[{path:"menu1-1",component:"views/nested/menu1/menu1-1",name:"Menu1-1",meta:{title:"Menu1-1"}},{path:"menu1-2",component:"views/nested/menu1/menu1-2",name:"Menu1-2",redirect:"/nested/menu1/menu1-2/menu1-2-1",meta:{title:"Menu1-2"},children:[{path:"menu1-2-1",component:"views/nested/menu1/menu1-2/menu1-2-1",name:"Menu1-2-1",meta:{title:"Menu1-2-1"}},{path:"menu1-2-2",component:"views/nested/menu1/menu1-2/menu1-2-2",name:"Menu1-2-2",meta:{title:"Menu1-2-2"}}]},{path:"menu1-3",component:"views/nested/menu1/menu1-3",name:"Menu1-3",meta:{title:"Menu1-3"}}]},{path:"menu2",name:"Menu2",component:"views/nested/menu2/index",meta:{title:"Menu2"}}]},{path:"/example",component:"layout/Layout",redirect:"/example/list",name:"Example",meta:{title:"Example",icon:"example"},children:[{path:"create",component:"views/example/create",name:"CreateArticle",meta:{title:"Create Article",icon:"edit"}},{path:"edit/:id(\\d+)",component:"views/example/edit",name:"EditArticle",meta:{title:"Edit Article",noCache:!0},hidden:!0},{path:"list",component:"views/example/list",name:"ArticleList",meta:{title:"Article List",icon:"list"}}]},{path:"/tab",component:"layout/Layout",children:[{path:"index",component:"views/tab/index",name:"Tab",meta:{title:"Tab",icon:"tab"}}]},{path:"/error",component:"layout/Layout",redirect:"noRedirect",name:"ErrorPages",meta:{title:"Error Pages",icon:"404"},children:[{path:"401",component:"views/error-page/401",name:"Page401",meta:{title:"Page 401",noCache:!0}},{path:"404",component:"views/error-page/404",name:"Page404",meta:{title:"Page 404",noCache:!0}}]},{path:"/error-log",component:"layout/Layout",redirect:"noRedirect",children:[{path:"log",component:"views/error-log/index",name:"ErrorLog",meta:{title:"Error Log",icon:"bug"}}]},{path:"/excel",component:"layout/Layout",redirect:"/excel/export-excel",name:"Excel",meta:{title:"Excel",icon:"excel"},children:[{path:"export-excel",component:"views/excel/export-excel",name:"ExportExcel",meta:{title:"Export Excel"}},{path:"export-selected-excel",component:"views/excel/select-excel",name:"SelectExcel",meta:{title:"Select Excel"}},{path:"export-merge-header",component:"views/excel/merge-header",name:"MergeHeader",meta:{title:"Merge Header"}},{path:"upload-excel",component:"views/excel/upload-excel",name:"UploadExcel",meta:{title:"Upload Excel"}}]},{path:"/zip",component:"layout/Layout",redirect:"/zip/download",alwaysShow:!0,meta:{title:"Zip",icon:"zip"},children:[{path:"download",component:"views/zip/index",name:"ExportZip",meta:{title:"Export Zip"}}]},{path:"/pdf",component:"layout/Layout",redirect:"/pdf/index",children:[{path:"index",component:"views/pdf/index",name:"PDF",meta:{title:"PDF",icon:"pdf"}}]},{path:"/pdf/download",component:"views/pdf/download",hidden:!0},{path:"/theme",component:"layout/Layout",redirect:"noRedirect",children:[{path:"index",component:"views/theme/index",name:"Theme",meta:{title:"Theme",icon:"theme"}}]},{path:"/clipboard",component:"layout/Layout",redirect:"noRedirect",children:[{path:"index",component:"views/clipboard/index",name:"ClipboardDemo",meta:{title:"Clipboard Demo",icon:"clipboard"}}]},{path:"/i18n",component:"layout/Layout",children:[{path:"index",component:"views/i18n-demo/index",name:"I18n",meta:{title:"I18n",icon:"international"}}]},{path:"external-link",component:"layout/Layout",children:[{path:"https://github.com/PanJiaChen/vue-element-admin",meta:{title:"External Link",icon:"link"}}]},{path:"*",redirect:"/404",hidden:!0}];e.exports={constantRoutes:n,asyncRoutes:a}},f9a1:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),c=n.n(o),s=new i.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);t["default"]=s}},[[0,"runtime","chunk-elementUI","chunk-libs"]]]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-023b2e94.a0caa4bd.js b/service/public/static/js/chunk-023b2e94.a0caa4bd.js
new file mode 100644
index 00000000..e49f777d
--- /dev/null
+++ b/service/public/static/js/chunk-023b2e94.a0caa4bd.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-023b2e94"],{"24e2":function(t,a,i){"use strict";i.r(a);var e=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"errPage-container"},[i("el-button",{staticClass:"pan-back-btn",attrs:{icon:"el-icon-arrow-left"},on:{click:t.back}},[t._v(" 返回 ")]),i("el-row",[i("el-col",{attrs:{span:12}},[i("h1",{staticClass:"text-jumbo text-ginormous"},[t._v(" Oops! ")]),t._v(" gif来源"),i("a",{attrs:{href:"https://zh.airbnb.com/",target:"_blank"}},[t._v("airbnb")]),t._v(" 页面 "),i("h2",[t._v("你没有权限去该页面")]),i("h6",[t._v("如有不满请联系你领导")]),i("ul",{staticClass:"list-unstyled"},[i("li",[t._v("或者你可以去:")]),i("li",{staticClass:"link-type"},[i("router-link",{attrs:{to:"/dashboard"}},[t._v(" 回首页 ")])],1),i("li",{staticClass:"link-type"},[i("a",{attrs:{href:"https://www.taobao.com/"}},[t._v("随便看看")])]),i("li",[i("a",{attrs:{href:"#"},on:{click:function(a){a.preventDefault(),t.dialogVisible=!0}}},[t._v("点我看图")])])])]),i("el-col",{attrs:{span:12}},[i("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1),i("el-dialog",{attrs:{visible:t.dialogVisible,title:"随便看"},on:{"update:visible":function(a){t.dialogVisible=a}}},[i("img",{staticClass:"pan-img",attrs:{src:t.ewizardClap}})])],1)},s=[],r=i("cc6c"),l=i.n(r),n={name:"Page401",data:function(){return{errGif:l.a+"?"+ +new Date,ewizardClap:"https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646",dialogVisible:!1}},methods:{back:function(){this.$route.query.noGoBack?this.$router.push({path:"/dashboard"}):this.$router.go(-1)}}},c=n,o=(i("fa66"),i("2877")),u=Object(o["a"])(c,e,s,!1,null,"35ca77fc",null);a["default"]=u.exports},5633:function(t,a,i){},cc6c:function(t,a,i){t.exports=i.p+"static/img/401.089007e7.gif"},fa66:function(t,a,i){"use strict";i("5633")}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-03e0c360.bcd4845d.js b/service/public/static/js/chunk-03e0c360.bcd4845d.js
new file mode 100644
index 00000000..12f361ba
--- /dev/null
+++ b/service/public/static/js/chunk-03e0c360.bcd4845d.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-03e0c360"],{"09f4":function(t,e,i){"use strict";i.d(e,"a",(function(){return l})),Math.easeInOutQuad=function(t,e,i,n){return t/=n/2,t<1?i/2*t*t+e:(t--,-i/2*(t*(t-2)-1)+e)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function a(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function l(t,e,i){var l=o(),s=t-l,r=20,u=0;e="undefined"===typeof e?500:e;var c=function t(){u+=r;var o=Math.easeInOutQuad(u,l,s,e);a(o),u0,expression:"total>0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}}),i("el-dialog",{attrs:{title:"申请转入订单",visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[i("el-form",{attrs:{"label-width":"160px",model:t.item}},[i("el-form-item",{attrs:{label:"订单号"}},[i("el-input",{attrs:{name:"check_sn",placeholder:"请输入订单号"},model:{value:t.item.sn,callback:function(e){t.$set(t.item,"sn",e)},expression:"item.sn"}})],1),i("el-form-item",{attrs:{label:"平台"}},t._l(t.oss,(function(e,n){return i("el-radio",{key:t.item.os,attrs:{label:n},model:{value:t.item.os,callback:function(e){t.$set(t.item,"os",e)},expression:"item.os"}},[t._v(t._s(e))])})),1)],1),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.onBack()}}},[t._v("确 认")])],1)],1)],1)},a=[],o=i("67f2"),l={name:"Orderlist",components:{Pagination:o["a"]},filters:{statusFilter:function(t){var e={1:"同意",0:"申请中",2:"拒绝",3:"取消"};return e[t]}},data:function(){return{list:[],total:0,listLoading:!0,listQuery:{page:1,limit:10},oss:{},item:{},dialogVisible:!1}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.$axios.get("/admin/order/backlist",{params:this.listQuery}).then((function(e){t.list=e.data.data,t.total=e.data.total,t.oss=e.ext,t.listLoading=!1}))},onBack:function(){var t=this;this.$axios.post("/admin/order/back",this.item).then((function(e){t.dialogVisible=!1,t.item={},t.getList()})).catch((function(t){}))},onPass:function(t){var e=this;this.$axios.post("/admin/order/backpass",{id:t.id}).then((function(t){e.dialogVisible=!1,e.item={},e.getList()})).catch((function(t){}))},onRefuse:function(t){var e=this;this.$axios.post("/admin/order/backrefuse",{id:t.id}).then((function(t){e.dialogVisible=!1,e.item={},e.getList()})).catch((function(t){}))},onCancel:function(t){var e=this;this.$axios.post("/admin/order/backcancel",{id:t.id}).then((function(t){e.dialogVisible=!1,e.item={},e.getList()})).catch((function(t){}))}}},s=l,r=(i("e0f7"),i("2877")),u=Object(r["a"])(s,n,a,!1,null,"3c1250e6",null);e["default"]=u.exports},e0f7:function(t,e,i){"use strict";i("7972")}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-0bfa76a9.ef5b3e9b.js b/service/public/static/js/chunk-0bfa76a9.ef5b3e9b.js
new file mode 100644
index 00000000..6bde5561
--- /dev/null
+++ b/service/public/static/js/chunk-0bfa76a9.ef5b3e9b.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0bfa76a9"],{3738:function(t,e,a){"use strict";a("8992")},"47b5":function(t,e,a){},"511b":function(t,e,a){},5183:function(t,e,a){"use strict";a("829f")},6537:function(t,e,a){},"6de6":function(t,e,a){},"721a":function(t,e,a){"use strict";a("511b")},"7b14":function(t,e,a){"use strict";a("c303")},"829f":function(t,e,a){},8992:function(t,e,a){},9224:function(t){t.exports=JSON.parse('{"name":"vue-element-admin","version":"4.4.0","description":"A magical vue admin. An out-of-box UI solution for enterprise applications. Newest development stack of vue. Lots of awesome features","author":"Pan ","scripts":{"dev":"vue-cli-service serve","lint":"eslint --ext .js,.vue src","build:prod":"vue-cli-service build","build:stage":"vue-cli-service build --mode staging","preview":"node build/index.js --preview","new":"plop","svgo":"svgo -f src/icons/svg --config=src/icons/svgo.yml","test:unit":"jest --clearCache && vue-cli-service test:unit","test:ci":"npm run lint && npm run test:unit"},"dependencies":{"@fullcalendar/core":"^6.1.15","@fullcalendar/daygrid":"^6.1.15","@fullcalendar/interaction":"^6.1.15","@fullcalendar/list":"^6.1.15","@fullcalendar/timegrid":"^6.1.15","@fullcalendar/vue":"^6.1.15","@wangeditor/editor":"^5.1.23","@wangeditor/editor-for-vue":"^1.0.2","axios":"0.18.1","clipboard":"2.0.4","codemirror":"5.45.0","core-js":"3.6.5","driver.js":"0.9.5","dropzone":"5.5.1","echarts":"4.2.1","element-ui":"2.13.2","file-saver":"2.0.1","fuse.js":"3.4.4","js-cookie":"2.2.0","jsonlint":"1.6.3","jszip":"3.2.1","left-pad":"^1.3.0","moment":"^2.30.1","normalize.css":"7.0.0","nprogress":"0.2.0","path-to-regexp":"2.4.0","quill":"^1.3.6","regenerator-runtime":"^0.14.1","screenfull":"4.2.0","script-loader":"0.7.2","sortablejs":"1.8.4","svg-baker-runtime":"^1.4.7","tui-editor":"1.3.3","vue":"2.6.14","vue-count-to":"1.0.13","vue-quill-editor":"^3.0.6","vue-router":"3.0.2","vue-splitpane":"1.0.4","vue-style-loader":"^4.1.3","vuedraggable":"2.20.0","vuex":"3.1.0","xlsx":"0.14.1","yarn":"^1.22.22"},"devDependencies":{"@vue/cli-plugin-babel":"4.4.4","@vue/cli-plugin-eslint":"4.4.4","@vue/cli-plugin-unit-jest":"4.4.4","@vue/cli-service":"4.4.4","@vue/test-utils":"1.0.0-beta.29","autoprefixer":"9.5.1","babel-eslint":"10.1.0","babel-jest":"23.6.0","babel-plugin-dynamic-import-node":"2.3.3","chalk":"2.4.2","chokidar":"2.1.5","connect":"3.6.6","eslint":"6.7.2","eslint-plugin-vue":"6.2.2","html-webpack-plugin":"3.2.0","husky":"1.3.1","lint-staged":"8.1.5","mockjs":"1.0.1-beta3","plop":"2.3.0","runjs":"4.3.2","sass":"1.26.2","sass-loader":"8.0.2","script-ext-html-webpack-plugin":"2.1.3","serve-static":"1.13.2","svg-sprite-loader":"4.1.3","svgo":"1.2.0","vue-template-compiler":"2.6.14"},"browserslist":["> 1%","last 2 versions"],"bugs":{"url":"https://github.com/PanJiaChen/vue-element-admin/issues"},"engines":{"node":">=8.9","npm":">= 3.0.0"},"keywords":["vue","admin","dashboard","element-ui","boilerplate","admin-template","management-system"],"license":"MIT","lint-staged":{"src/**/*.{js,vue}":["eslint --fix","git add"]},"husky":{"hooks":{"pre-commit":"lint-staged"}},"repository":{"type":"git","url":"git+https://github.com/PanJiaChen/vue-element-admin.git"}}')},9406:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"dashboard-container"},[a(t.currentRole,{tag:"component"})],1)},n=[],i=a("5530"),r=a("2f62"),o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"dashboard-editor-container"},[a("panel-group",{on:{handleSetLineChartData:t.handleSetLineChartData}}),t.lineChartData?a("el-row",{staticStyle:{background:"#fff",padding:"16px 16px 0","margin-bottom":"32px"}},[a("line-chart",{attrs:{"chart-data":t.lineChartData}})],1):t._e(),a("el-row",{attrs:{gutter:32}},[a("el-col",{attrs:{xs:24,sm:24,lg:8}},[a("div",{staticClass:"chart-wrapper"},[a("pie-chart")],1)])],1)],1)},l=[],c=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-row",{staticClass:"panel-group",attrs:{gutter:40}},[a("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[a("div",{staticClass:"card-panel",on:{click:function(e){return t.handleOrder()}}},[a("div",{staticClass:"card-panel-icon-wrapper icon-shopping"},[a("svg-icon",{attrs:{"icon-class":"shopping","class-name":"card-panel-icon"}})],1),a("div",{staticClass:"card-panel-description"},[a("div",{staticClass:"card-panel-text"},[a("span",[t._v("订单")])]),a("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.all,duration:1}})],1)])]),a("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[a("div",{staticClass:"card-panel",on:{click:function(e){return t.handleOrder()}}},[a("div",{staticClass:"card-panel-icon-wrapper icon-money3"},[a("svg-icon",{attrs:{"icon-class":"money","class-name":"card-panel-icon"}})],1),a("div",{staticClass:"card-panel-description"},[a("div",{staticClass:"card-panel-text"},[t._v(" 订单总额 ")]),a("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.total,duration:10}})],1)])]),a("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[a("div",{staticClass:"card-panel",on:{click:function(e){return t.handleOrder({status:0})}}},[a("div",{staticClass:"card-panel-icon-wrapper icon-message2"},[a("svg-icon",{attrs:{"icon-class":"message","class-name":"card-panel-icon"}})],1),a("div",{staticClass:"card-panel-description"},[a("div",{staticClass:"card-panel-text"},[a("span",{attrs:{to:"/order/index?"}},[t._v("待跟进")])]),a("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.wait,duration:1}})],1)])]),a("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[a("div",{staticClass:"card-panel",on:{click:function(e){return t.handleOrder({status:1})}}},[a("div",{staticClass:"card-panel-icon-wrapper icon-message"},[a("svg-icon",{attrs:{"icon-class":"message","class-name":"card-panel-icon"}})],1),a("div",{staticClass:"card-panel-description"},[a("div",{staticClass:"card-panel-text"},[a("span",{attrs:{to:"/order/index?status=1"}},[t._v("跟进中")])]),a("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.doing,duration:1}})],1)])]),a("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[a("div",{staticClass:"card-panel",on:{click:function(e){return t.handleOrder({os_status:[4,2]})}}},[a("div",{staticClass:"card-panel-icon-wrapper icon-skill"},[a("svg-icon",{attrs:{"icon-class":"skill","class-name":"card-panel-icon"}})],1),a("div",{staticClass:"card-panel-description"},[a("div",{staticClass:"card-panel-text"},[t._v(" 核销订单数 ")]),a("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.asset,duration:1}})],1)])]),a("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[a("div",{staticClass:"card-panel",on:{click:function(e){return t.handleOrder({os_status:[4,2]})}}},[a("div",{staticClass:"card-panel-icon-wrapper icon-money2"},[a("svg-icon",{attrs:{"icon-class":"money","class-name":"card-panel-icon"}})],1),a("div",{staticClass:"card-panel-description"},[a("div",{staticClass:"card-panel-text"},[t._v(" 核销订单金额 ")]),a("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.asset_price,duration:10}})],1)])]),a("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[a("div",{staticClass:"card-panel",on:{click:function(e){return t.handleOrder({os_status:[4,3]})}}},[a("div",{staticClass:"card-panel-icon-wrapper icon-documentation"},[a("svg-icon",{attrs:{"icon-class":"documentation","class-name":"card-panel-icon"}})],1),a("div",{staticClass:"card-panel-description"},[a("div",{staticClass:"card-panel-text"},[t._v(" 退款订单数 ")]),a("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.refund,duration:10}})],1)])]),a("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[a("div",{staticClass:"card-panel",on:{click:function(e){return t.handleOrder({os_status:[4,3]})}}},[a("div",{staticClass:"card-panel-icon-wrapper icon-money"},[a("svg-icon",{attrs:{"icon-class":"money","class-name":"card-panel-icon"}})],1),a("div",{staticClass:"card-panel-description"},[a("div",{staticClass:"card-panel-text"},[t._v(" 退款订单金额 ")]),a("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.refund_price,duration:10}})],1)])]),a("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[a("div",{staticClass:"card-panel",on:{click:function(e){t.handleOrder({os_status:[4,1],times:[t.handleGetStartTime(30),t.handleEndTime()]})}}},[a("div",{staticClass:"card-panel-icon-wrapper icon-camellia"},[a("svg-icon",{attrs:{"icon-class":"money","class-name":"card-panel-icon"}})],1),a("div",{staticClass:"card-panel-description"},[a("div",{staticClass:"card-panel-text"},[t._v(" 待使用订单数30天 "),a("count-to",{staticClass:"card-panel-num",staticStyle:{color:"#ea517f"},attrs:{"start-val":0,"end-val":t.tobeused_30,duration:10}})],1),a("div",{staticClass:"card-panel-text"},[t._v(" 待使用订单金额30天 "),a("count-to",{staticClass:"card-panel-num",staticStyle:{color:"#ea517f"},attrs:{"start-val":0,"end-val":t.tobeused_price_30,duration:10}})],1)])])]),a("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[a("div",{staticClass:"card-panel",on:{click:function(e){t.handleOrder({os_status:[4,1],times:[t.handleGetStartTime(60),t.handleEndTime()]})}}},[a("div",{staticClass:"card-panel-icon-wrapper icon-camellia-sixty"},[a("svg-icon",{attrs:{"icon-class":"money","class-name":"card-panel-icon"}})],1),a("div",{staticClass:"card-panel-description"},[a("div",{staticClass:"card-panel-text"},[t._v(" 待使用订单数60天 "),a("count-to",{staticClass:"card-panel-num",staticStyle:{color:"#ea517f"},attrs:{"start-val":0,"end-val":t.tobeused_60,duration:10}})],1),a("div",{staticClass:"card-panel-text"},[t._v(" 待使用订单金额60天 "),a("count-to",{staticClass:"card-panel-num",staticStyle:{color:"#ea517f"},attrs:{"start-val":0,"end-val":t.tobeused_price_60,duration:10}})],1)])])]),a("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[a("div",{staticClass:"card-panel",on:{click:function(e){t.handleOrder({os_status:[4,1],times:[t.handleGetStartTime(80),t.handleEndTime()]})}}},[a("div",{staticClass:"card-panel-icon-wrapper icon-camellia-fourscore"},[a("svg-icon",{attrs:{"icon-class":"money","class-name":"card-panel-icon"}})],1),a("div",{staticClass:"card-panel-description"},[a("div",{staticClass:"card-panel-text"},[t._v(" 待使用订单数80天 "),a("count-to",{staticClass:"card-panel-num",staticStyle:{color:"#ea517f"},attrs:{"start-val":0,"end-val":t.tobeused_80,duration:10}})],1),a("div",{staticClass:"card-panel-text"},[t._v(" 待使用订单金额80天 "),a("count-to",{staticClass:"card-panel-num",staticStyle:{color:"#ea517f"},attrs:{"start-val":0,"end-val":t.tobeused_price_80,duration:10}})],1)])])])],1)},d=[],u=a("ec1b"),p=a.n(u),h={components:{CountTo:p.a},data:function(){return{wait:0,doing:0,all:0,total:0,asset:0,asset_price:0,refund:0,refund_price:0,tobeused_30:0,tobeused_60:0,tobeused_80:0,tobeused_price_30:0,tobeused_price_60:0,tobeused_price_80:0}},mounted:function(){var t=this;this.$nextTick((function(){t.$axios.get("/admin/index/orders").then((function(e){t.wait=parseFloat(e.data.wait),t.doing=parseFloat(e.data.doing),t.all=parseFloat(e.data.all),t.total=parseFloat(e.data.total)/100,t.asset=parseFloat(e.data.asset),t.asset_price=parseFloat(e.data.asset_price)/100,t.refund=parseFloat(e.data.refund),t.refund_price=parseFloat(e.data.refund_price)/100,t.tobeused_30=parseFloat(e.data.tobeused_30),t.tobeused_price_30=parseFloat(e.data.tobeused_price_30)/100,t.tobeused_60=parseFloat(e.data.tobeused_60),t.tobeused_price_60=parseFloat(e.data.tobeused_price_60)/100,t.tobeused_80=parseFloat(e.data.tobeused_80),t.tobeused_price_80=parseFloat(e.data.tobeused_price_80)/100})).catch((function(t){console.log(t)}))}))},methods:{handleGetStartTime:function(t){return new Date((new Date).setHours(0,0,0)-864e5*t).getTime()},handleEndTime:function(){return new Date((new Date).setHours(23,59,59,999)).getTime()},handleSetLineChartData:function(t){this.$emit("handleSetLineChartData",t)},handleOrder:function(t){this.$router.push({path:"/order/index",query:t})}}},m=h,f=(a("b27d"),a("2877")),v=Object(f["a"])(m,c,d,!1,null,"5a9b0e7a",null),g=v.exports,b=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:t.className,style:{height:t.height,width:t.width}})},_=[],x=a("313e"),C=a.n(x),y=a("ed08"),w={data:function(){return{$_sidebarElm:null,$_resizeHandler:null}},mounted:function(){var t=this;this.$_resizeHandler=Object(y["b"])((function(){t.chart&&t.chart.resize()}),100),this.$_initResizeEvent(),this.$_initSidebarResizeEvent()},beforeDestroy:function(){this.$_destroyResizeEvent(),this.$_destroySidebarResizeEvent()},activated:function(){this.$_initResizeEvent(),this.$_initSidebarResizeEvent()},deactivated:function(){this.$_destroyResizeEvent(),this.$_destroySidebarResizeEvent()},methods:{$_initResizeEvent:function(){window.addEventListener("resize",this.$_resizeHandler)},$_destroyResizeEvent:function(){window.removeEventListener("resize",this.$_resizeHandler)},$_sidebarResizeHandler:function(t){"width"===t.propertyName&&this.$_resizeHandler()},$_initSidebarResizeEvent:function(){this.$_sidebarElm=document.getElementsByClassName("sidebar-container")[0],this.$_sidebarElm&&this.$_sidebarElm.addEventListener("transitionend",this.$_sidebarResizeHandler)},$_destroySidebarResizeEvent:function(){this.$_sidebarElm&&this.$_sidebarElm.removeEventListener("transitionend",this.$_sidebarResizeHandler)}}};a("817d");var k={mixins:[w],props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"350px"},autoResize:{type:Boolean,default:!0},chartData:{type:Object,required:!0}},data:function(){return{chart:null}},watch:{chartData:{deep:!0,handler:function(t){this.setOptions(t)}}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=C.a.init(this.$el,"macarons"),this.setOptions(this.chartData)},setOptions:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.total,a=t.refund,s=t.title;this.chart.setOption({xAxis:{data:s,boundaryGap:!1,axisTick:{show:!1}},grid:{left:10,right:10,bottom:20,top:30,containLabel:!0},tooltip:{trigger:"axis",axisPointer:{type:"cross"},padding:[5,10]},yAxis:{axisTick:{show:!1}},legend:{data:["核销额","退款额"]},series:[{name:"核销额",itemStyle:{normal:{color:"#FF005A",lineStyle:{color:"#FF005A",width:2}}},smooth:!0,type:"line",data:e,animationDuration:2800,animationEasing:"cubicInOut"},{name:"退款额",smooth:!0,type:"line",itemStyle:{normal:{color:"#3888fa",lineStyle:{color:"#3888fa",width:2},areaStyle:{color:"#f3f8ff"}}},data:a,animationDuration:2800,animationEasing:"quadraticOut"}]})}}},S=k,T=Object(f["a"])(S,b,_,!1,null,null,null),E=T.exports,$=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:t.className,style:{height:t.height,width:t.width}})},O=[];a("817d");var D=3e3,j={mixins:[w],props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"300px"}},data:function(){return{chart:null}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=C.a.init(this.$el,"macarons"),this.chart.setOption({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},radar:{radius:"66%",center:["50%","42%"],splitNumber:8,splitArea:{areaStyle:{color:"rgba(127,95,132,.3)",opacity:1,shadowBlur:45,shadowColor:"rgba(0,0,0,.5)",shadowOffsetX:0,shadowOffsetY:15}},indicator:[{name:"Sales",max:1e4},{name:"Administration",max:2e4},{name:"Information Technology",max:2e4},{name:"Customer Support",max:2e4},{name:"Development",max:2e4},{name:"Marketing",max:2e4}]},legend:{left:"center",bottom:"10",data:["Allocated Budget","Expected Spending","Actual Spending"]},series:[{type:"radar",symbolSize:0,areaStyle:{normal:{shadowBlur:13,shadowColor:"rgba(0,0,0,.2)",shadowOffsetX:0,shadowOffsetY:10,opacity:1}},data:[{value:[5e3,7e3,12e3,11e3,15e3,14e3],name:"Allocated Budget"},{value:[4e3,9e3,15e3,15e3,13e3,11e3],name:"Expected Spending"},{value:[5500,11e3,12e3,15e3,12e3,12e3],name:"Actual Spending"}],animationDuration:D}]})}}},z=j,F=Object(f["a"])(z,$,O,!1,null,null,null),L=F.exports,N=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:t.className,style:{height:t.height,width:t.width}})},A=[];a("b0c0"),a("d3b7"),a("159b");a("817d");var R={mixins:[w],props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"300px"}},data:function(){return{chart:null}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){var t=this;this.chart=C.a.init(this.$el,"macarons"),this.$axios.get("/admin/index/pie").then((function(e){var a=[];e.data.forEach((function(t){a.push(t.name)})),t.chart.setOption({tooltip:{trigger:"item",formatter:"{a}
{b} : {c} ({d}%)"},legend:{left:"center",bottom:"10",data:a},series:[{name:"10 天改进情况",type:"pie",roseType:"radius",radius:[15,95],data:e.data,animationEasing:"cubicInOut",animationDuration:2600}]})}))}}},P=R,B=Object(f["a"])(P,N,A,!1,null,null,null),H=B.exports,I=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:t.className,style:{height:t.height,width:t.width}})},G=[];a("817d");var J=6e3,q={mixins:[w],props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"300px"}},data:function(){return{chart:null}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=C.a.init(this.$el,"macarons"),this.chart.setOption({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{top:10,left:"2%",right:"2%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],axisTick:{alignWithLabel:!0}}],yAxis:[{type:"value",axisTick:{show:!1}}],series:[{name:"pageA",type:"bar",stack:"vistors",barWidth:"60%",data:[79,52,200,334,390,330,220],animationDuration:J},{name:"pageB",type:"bar",stack:"vistors",barWidth:"60%",data:[80,52,200,334,390,330,220],animationDuration:J},{name:"pageC",type:"bar",stack:"vistors",barWidth:"60%",data:[30,52,200,334,390,330,220],animationDuration:J}]})}}},W=q,M=Object(f["a"])(W,I,G,!1,null,null,null),Y=M.exports,U=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-table",{staticStyle:{width:"100%","padding-top":"15px"},attrs:{data:t.list}},[a("el-table-column",{attrs:{label:"Order_No","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t._f("orderNoFilter")(e.row.order_no))+" ")]}}])}),a("el-table-column",{attrs:{label:"Price",width:"195",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" ¥"+t._s(t._f("toThousandFilter")(e.row.price))+" ")]}}])}),a("el-table-column",{attrs:{label:"Status",width:"100",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var s=e.row;return[a("el-tag",{attrs:{type:t._f("statusFilter")(s.status)}},[t._v(" "+t._s(s.status)+" ")])]}}])})],1)},V=[],X=(a("fb6a"),a("b775"));function Q(t){return Object(X["a"])({url:"/vue-element-admin/transaction/list",method:"get",params:t})}var K={filters:{statusFilter:function(t){var e={success:"success",pending:"danger"};return e[t]},orderNoFilter:function(t){return t.substring(0,30)}},data:function(){return{list:null}},created:function(){this.fetchData()},methods:{fetchData:function(){var t=this;Q().then((function(e){t.list=e.data.items.slice(0,8)}))}}},Z=K,tt=Object(f["a"])(Z,U,V,!1,null,null,null),et=tt.exports,at=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"todoapp"},[a("header",{staticClass:"header"},[a("input",{staticClass:"new-todo",attrs:{autocomplete:"off",placeholder:"Todo List"},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.addTodo.apply(null,arguments)}}})]),a("section",{directives:[{name:"show",rawName:"v-show",value:t.todos.length,expression:"todos.length"}],staticClass:"main"},[a("input",{staticClass:"toggle-all",attrs:{id:"toggle-all",type:"checkbox"},domProps:{checked:t.allChecked},on:{change:function(e){return t.toggleAll({done:!t.allChecked})}}}),a("label",{attrs:{for:"toggle-all"}}),a("ul",{staticClass:"todo-list"},t._l(t.filteredTodos,(function(e,s){return a("todo",{key:s,attrs:{todo:e},on:{toggleTodo:t.toggleTodo,editTodo:t.editTodo,deleteTodo:t.deleteTodo}})})),1)]),a("footer",{directives:[{name:"show",rawName:"v-show",value:t.todos.length,expression:"todos.length"}],staticClass:"footer"},[a("span",{staticClass:"todo-count"},[a("strong",[t._v(t._s(t.remaining))]),t._v(" "+t._s(t._f("pluralize")(t.remaining,"item"))+" left ")]),a("ul",{staticClass:"filters"},t._l(t.filters,(function(e,s){return a("li",{key:s},[a("a",{class:{selected:t.visibility===s},on:{click:function(e){e.preventDefault(),t.visibility=s}}},[t._v(t._s(t._f("capitalize")(s)))])])})),0)])])},st=[],nt=(a("4de4"),a("a434"),a("e9c4"),a("498a"),function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("li",{staticClass:"todo",class:{completed:t.todo.done,editing:t.editing}},[a("div",{staticClass:"view"},[a("input",{staticClass:"toggle",attrs:{type:"checkbox"},domProps:{checked:t.todo.done},on:{change:function(e){return t.toggleTodo(t.todo)}}}),a("label",{domProps:{textContent:t._s(t.todo.text)},on:{dblclick:function(e){t.editing=!0}}}),a("button",{staticClass:"destroy",on:{click:function(e){return t.deleteTodo(t.todo)}}})]),a("input",{directives:[{name:"show",rawName:"v-show",value:t.editing,expression:"editing"},{name:"focus",rawName:"v-focus",value:t.editing,expression:"editing"}],staticClass:"edit",domProps:{value:t.todo.text},on:{keyup:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.doneEdit.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.cancelEdit.apply(null,arguments)}],blur:t.doneEdit}})])}),it=[],rt={name:"Todo",directives:{focus:function(t,e,a){var s=e.value,n=a.context;s&&n.$nextTick((function(){t.focus()}))}},props:{todo:{type:Object,default:function(){return{}}}},data:function(){return{editing:!1}},methods:{deleteTodo:function(t){this.$emit("deleteTodo",t)},editTodo:function(t){var e=t.todo,a=t.value;this.$emit("editTodo",{todo:e,value:a})},toggleTodo:function(t){this.$emit("toggleTodo",t)},doneEdit:function(t){var e=t.target.value.trim(),a=this.todo;e?this.editing&&(this.editTodo({todo:a,value:e}),this.editing=!1):this.deleteTodo({todo:a})},cancelEdit:function(t){t.target.value=this.todo.text,this.editing=!1}}},ot=rt,lt=Object(f["a"])(ot,nt,it,!1,null,null,null),ct=lt.exports,dt="todos",ut={all:function(t){return t},active:function(t){return t.filter((function(t){return!t.done}))},completed:function(t){return t.filter((function(t){return t.done}))}},pt=[{text:"star this repository",done:!1},{text:"fork this repository",done:!1},{text:"follow author",done:!1},{text:"vue-element-admin",done:!0},{text:"vue",done:!0},{text:"element-ui",done:!0},{text:"axios",done:!0},{text:"webpack",done:!0}],ht={components:{Todo:ct},filters:{pluralize:function(t,e){return 1===t?e:e+"s"},capitalize:function(t){return t.charAt(0).toUpperCase()+t.slice(1)}},data:function(){return{visibility:"all",filters:ut,todos:pt}},computed:{allChecked:function(){return this.todos.every((function(t){return t.done}))},filteredTodos:function(){return ut[this.visibility](this.todos)},remaining:function(){return this.todos.filter((function(t){return!t.done})).length}},methods:{setLocalStorage:function(){window.localStorage.setItem(dt,JSON.stringify(this.todos))},addTodo:function(t){var e=t.target.value;e.trim()&&(this.todos.push({text:e,done:!1}),this.setLocalStorage()),t.target.value=""},toggleTodo:function(t){t.done=!t.done,this.setLocalStorage()},deleteTodo:function(t){this.todos.splice(this.todos.indexOf(t),1),this.setLocalStorage()},editTodo:function(t){var e=t.todo,a=t.value;e.text=a,this.setLocalStorage()},clearCompleted:function(){this.todos=this.todos.filter((function(t){return!t.done})),this.setLocalStorage()},toggleAll:function(t){var e=this,a=t.done;this.todos.forEach((function(t){t.done=a,e.setLocalStorage()}))}}},mt=ht,ft=(a("721a"),Object(f["a"])(mt,at,st,!1,null,null,null)),vt=ft.exports,gt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-card",{staticClass:"box-card-component",staticStyle:{"margin-left":"8px"}},[a("div",{staticClass:"box-card-header",attrs:{slot:"header"},slot:"header"},[a("img",{attrs:{src:"https://wpimg.wallstcn.com/e7d23d71-cf19-4b90-a1cc-f56af8c0903d.png"}})]),a("div",{staticStyle:{position:"relative"}},[a("pan-thumb",{staticClass:"panThumb",attrs:{image:t.avatar}}),a("mallki",{attrs:{"class-name":"mallki-text",text:"vue-element-admin"}}),a("div",{staticClass:"progress-item",staticStyle:{"padding-top":"35px"}},[a("span",[t._v("Vue")]),a("el-progress",{attrs:{percentage:70}})],1),a("div",{staticClass:"progress-item"},[a("span",[t._v("JavaScript")]),a("el-progress",{attrs:{percentage:18}})],1),a("div",{staticClass:"progress-item"},[a("span",[t._v("CSS")]),a("el-progress",{attrs:{percentage:12}})],1),a("div",{staticClass:"progress-item"},[a("span",[t._v("ESLint")]),a("el-progress",{attrs:{percentage:100,status:"success"}})],1)],1)])},bt=[],_t=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"pan-item",style:{zIndex:t.zIndex,height:t.height,width:t.width}},[a("div",{staticClass:"pan-info"},[a("div",{staticClass:"pan-info-roles-container"},[t._t("default")],2)]),a("div",{staticClass:"pan-thumb",style:{backgroundImage:"url("+t.image+")"}})])},xt=[],Ct=(a("a9e3"),{name:"PanThumb",props:{image:{type:String,required:!0},zIndex:{type:Number,default:1},width:{type:String,default:"150px"},height:{type:String,default:"150px"}}}),yt=Ct,wt=(a("c0c1"),Object(f["a"])(yt,_t,xt,!1,null,"799537af",null)),kt=wt.exports,St=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("a",{staticClass:"link--mallki",class:t.className,attrs:{href:"#"}},[t._v(" "+t._s(t.text)+" "),a("span",{attrs:{"data-letters":t.text}}),a("span",{attrs:{"data-letters":t.text}})])},Tt=[],Et={props:{className:{type:String,default:""},text:{type:String,default:"vue-element-admin"}}},$t=Et,Ot=(a("c3d5"),Object(f["a"])($t,St,Tt,!1,null,null,null)),Dt=Ot.exports,jt={components:{PanThumb:kt,Mallki:Dt},filters:{statusFilter:function(t){var e={success:"success",pending:"danger"};return e[t]}},data:function(){return{statisticsData:{article_count:1024,pageviews_count:1024}}},computed:Object(i["a"])({},Object(r["b"])(["name","avatar","roles"]))},zt=jt,Ft=(a("5183"),a("7b14"),Object(f["a"])(zt,gt,bt,!1,null,"192b5bd4",null)),Lt=Ft.exports,Nt=(a("99af"),a("b64b"),a("9224"),{newVisitis:{expectedData:[100,120,161,134,105,160,165],actualData:[120,82,91,154,162,140,145]},messages:{expectedData:[200,192,120,144,160,130,140],actualData:[180,160,151,106,145,150,130]},purchases:{expectedData:[80,100,121,104,105,90,100],actualData:[120,90,100,138,142,130,130]},shoppings:{expectedData:[130,140,141,142,145,150,160],actualData:[120,82,91,154,162,140,130]}}),At={name:"DashboardAdmin",components:{PanelGroup:g,LineChart:E,RaddarChart:L,PieChart:H,BarChart:Y,TransactionTable:et,TodoList:vt,BoxCard:Lt},data:function(){return{lineChartData:null}},created:function(){var t=this;this.$axios.get("/admin/index/line",{params:this.listQuery}).then((function(e){t.lineChartData=e.data})),this.$axios.get("/admin/announcements/getLast").then((function(e){t.$alert(e.data.content,e.data.title,{confirmButtonText:"确定",customClass:"opening-announcement",callback:function(t){}})}))},methods:{handleSetLineChartData:function(t){this.lineChartData=Nt[t]}}},Rt=At,Pt=(a("9410"),Object(f["a"])(Rt,o,l,!1,null,"f05c6f6a",null)),Bt=Pt.exports,Ht=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"dashboard-editor-container"},[a("div",{staticClass:" clearfix"},[a("pan-thumb",{staticStyle:{float:"left"},attrs:{image:t.avatar}},[t._v(" Your roles: "),t._l(t.roles,(function(e){return a("span",{key:e,staticClass:"pan-info-roles"},[t._v(t._s(e))])}))],2),a("div",{staticClass:"info-container"},[a("span",{staticClass:"display_name"},[t._v(t._s(t.name))]),a("span",{staticStyle:{"font-size":"20px","padding-top":"20px",display:"inline-block"}},[t._v("Editor's Dashboard")])])],1),a("div",[a("img",{staticClass:"emptyGif",attrs:{src:t.emptyGif}})])])},It=[],Gt={name:"DashboardEditor",components:{PanThumb:kt},data:function(){return{emptyGif:"https://wpimg.wallstcn.com/0e03b7da-db9e-4819-ba10-9016ddfdaed3"}},computed:Object(i["a"])({},Object(r["b"])(["name","avatar","roles"]))},Jt=Gt,qt=(a("3738"),Object(f["a"])(Jt,Ht,It,!1,null,"25b93ad7",null)),Wt=qt.exports,Mt={name:"Dashboard",components:{adminDashboard:Bt,editorDashboard:Wt},data:function(){return{currentRole:"adminDashboard"}},computed:Object(i["a"])({},Object(r["b"])(["roles"]))},Yt=Mt,Ut=Object(f["a"])(Yt,s,n,!1,null,null,null);e["default"]=Ut.exports},9410:function(t,e,a){"use strict";a("47b5")},b27d:function(t,e,a){"use strict";a("b59a")},b59a:function(t,e,a){},c0c1:function(t,e,a){"use strict";a("6de6")},c303:function(t,e,a){},c3d5:function(t,e,a){"use strict";a("6537")}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-120ad319.82d88e37.js b/service/public/static/js/chunk-120ad319.82d88e37.js
new file mode 100644
index 00000000..4a9f3f53
--- /dev/null
+++ b/service/public/static/js/chunk-120ad319.82d88e37.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-120ad319"],{"5cc6":function(t,i,s){t.exports=s.p+"static/img/route.326dc4fd.png"},"7abe":function(t,i,s){"use strict";s.r(i);var n=function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"title"},[t._v("新国旅内部管系统")]),n("div",{staticClass:"content"},[n("div",{staticClass:"content_box"},[n("div",{staticClass:"item",on:{click:function(i){return t.$router.push("/login")}}},[n("img",{attrs:{src:s("89e5"),alt:""}}),n("p",[t._v("订单核销系统")])]),n("div",{staticClass:"item",on:{click:function(i){return t.$router.push("/line_on_sale")}}},[n("img",{attrs:{src:s("5cc6"),alt:""}}),n("p",[t._v("售卖中线路")])]),t._m(0)])]),n("div",{staticClass:"bottom"},[t._v("新国旅 版权所有 粤ICP备 xsiks545454号 粤公网安备 xsiks545454号")])])},e=[function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("div",{staticClass:"item"},[n("img",{attrs:{src:s("bb8b"),alt:""}}),n("p",[t._v("签证系统")])])}],c={name:"home",data:function(){return{driver:null}},mounted:function(){},methods:{}},a=c,o=(s("eede"),s("2877")),r=Object(o["a"])(a,n,e,!1,null,"910383ac",null);i["default"]=r.exports},"89e5":function(t,i,s){t.exports=s.p+"static/img/verification.fd3c06fc.png"},"9fae":function(t,i,s){},bb8b:function(t,i,s){t.exports=s.p+"static/img/visa.608100ba.png"},eede:function(t,i,s){"use strict";s("9fae")}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-169fa71c.01694c7f.js b/service/public/static/js/chunk-169fa71c.01694c7f.js
new file mode 100644
index 00000000..2ba6b791
--- /dev/null
+++ b/service/public/static/js/chunk-169fa71c.01694c7f.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-169fa71c"],{"1db4":function(t,s,a){"use strict";a.r(s);var c=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"wscn-http404-container"},[a("div",{staticClass:"wscn-http404"},[t._m(0),a("div",{staticClass:"bullshit"},[a("div",{staticClass:"bullshit__oops"},[t._v("OOPS!")]),t._m(1),a("div",{staticClass:"bullshit__headline"},[t._v(t._s(t.message))]),a("div",{staticClass:"bullshit__info"},[t._v("Please check that the URL you entered is correct, or click the button below to return to the homepage.")]),a("a",{staticClass:"bullshit__return-home",attrs:{href:""}},[t._v("Back to home")])])])])},e=[function(){var t=this,s=t.$createElement,c=t._self._c||s;return c("div",{staticClass:"pic-404"},[c("img",{staticClass:"pic-404__parent",attrs:{src:a("a36b"),alt:"404"}}),c("img",{staticClass:"pic-404__child left",attrs:{src:a("26fc"),alt:"404"}}),c("img",{staticClass:"pic-404__child mid",attrs:{src:a("26fc"),alt:"404"}}),c("img",{staticClass:"pic-404__child right",attrs:{src:a("26fc"),alt:"404"}})])},function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"bullshit__info"},[t._v("All rights reserved "),a("a",{staticStyle:{color:"#20a0ff"},attrs:{href:"https://wallstreetcn.com",target:"_blank"}},[t._v("wallstreetcn")])])}],i={name:"Page404",computed:{message:function(){return"The webmaster said that you can not enter this page..."}}},l=i,n=(a("207f"),a("2877")),r=Object(n["a"])(l,c,e,!1,null,"26fcd89f",null);s["default"]=r.exports},"207f":function(t,s,a){"use strict";a("c0d9")},"26fc":function(t,s,a){t.exports=a.p+"static/img/404_cloud.0f4bc32b.png"},a36b:function(t,s,a){t.exports=a.p+"static/img/404.a57b6f31.png"},c0d9:function(t,s,a){}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-27f79c9e.430c9305.js b/service/public/static/js/chunk-27f79c9e.430c9305.js
new file mode 100644
index 00000000..1bcf4d8c
--- /dev/null
+++ b/service/public/static/js/chunk-27f79c9e.430c9305.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-27f79c9e"],{"5c7c":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:"app-container"},[n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.list,border:"",fit:"","highlight-current-row":""}},[n("el-table-column",{attrs:{align:"center",label:"ID",width:"60",prop:"id"}}),n("el-table-column",{attrs:{align:"center",label:"姓名",width:"80",prop:"username"}}),n("el-table-column",{attrs:{align:"center",label:"状态",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[0===e.row.isOnline?n("el-tag",{attrs:{type:"border-card"}},[t._v("下线")]):t._e(),1===e.row.isOnline?n("el-tag",{attrs:{type:"success"}},[t._v("在线")]):t._e(),2===e.row.isOnline?n("el-tag",{attrs:{type:"info"}},[t._v("没上线")]):t._e()]}}])}),n("el-table-column",{attrs:{align:"center",label:"是否分单",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-switch",{attrs:{"active-value":1,"inactive-value":0},on:{change:function(n){return t.updateStatus(e.row)}},model:{value:e.row.isEndWork,callback:function(n){t.$set(e.row,"isEndWork",n)},expression:"scope.row.isEndWork"}})]}}])}),n("el-table-column",{attrs:{align:"center",label:"在线时长",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(Math.floor((e.row.data?e.row.data.onlineTime:e.row.onlineTime)/60)||"--")+" 分钟 ")]}}])}),n("el-table-column",{attrs:{width:"138px",align:"center",label:"上线时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("parseTime")(e.row.start_work_time,"{y}-{m}-{d} {h}:{i}")))])]}}])}),n("el-table-column",{attrs:{width:"138px",align:"center",label:"停止分单时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("parseTime")(e.row.end_work_time,"{y}-{m}-{d} {h}:{i}")))])]}}])}),n("el-table-column",{attrs:{width:"138px",align:"center",label:"下线时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("parseTime")(e.row.last_work_time,"{y}-{m}-{d} {h}:{i}")))])]}}])})],1)],1)},a=[],l={name:"GetOnlineList",components:{},data:function(){return{statusArr:{0:"禁用",1:"启用"},list:[],total:0,loading:!1,listLoading:!0,listQuery:{page:1,limit:10,status:null,content:""},dialogCreate:!1,dialogEdit:!1,item:{},anchors:{}}},created:function(){this.listQuery.status=this.$route.query.status||null,this.listQuery.content=this.$route.query.content||null,this.getOnlineList()},methods:{getOnlineList:function(){var t=this;this.listLoading=!0,this.$axios.get("/admin/admin/getOnlineList",{params:this.listQuery}).then((function(e){t.list=e.data,t.listLoading=!1})).catch((function(){t.listLoading=!1}))},updateStatus:function(t){var e=this;this.$axios.post("/admin/admin/editInfo",{id:t.id,order_num:t.order_num,is_order:t.isEndWork}).then((function(){e.getOnlineList()})).catch((function(){}))}}},s=l,o=(n("d8ad"),n("2877")),r=Object(o["a"])(s,i,a,!1,null,"7aa35cbf",null);e["default"]=r.exports},a659:function(t,e,n){},d8ad:function(t,e,n){"use strict";n("a659")}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-293e9b38.841c8424.js b/service/public/static/js/chunk-293e9b38.841c8424.js
new file mode 100644
index 00000000..459ef824
--- /dev/null
+++ b/service/public/static/js/chunk-293e9b38.841c8424.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-293e9b38"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return n})),Math.easeInOutQuad=function(t,e,a,l){return t/=l/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var l=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function i(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function s(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function n(t,e,a){var n=s(),o=t-n,r=20,c=0;e="undefined"===typeof e?500:e;var u=function t(){c+=r;var s=Math.easeInOutQuad(c,n,o,e);i(s),c0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}}),a("el-dialog",{attrs:{title:"订单跟进",visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("el-form",{attrs:{"label-width":"130px",model:t.item}},[a("el-form-item",{attrs:{label:"产品名称"}},[t._v(" "+t._s(t.item.product_name)+" ")]),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"产品状态"}},[t._v(" "+t._s(t.item.order_status_name)+" ")]),a("el-form-item",{attrs:{label:"数量"}},[t._v(" "+t._s(t.item.quantity)+" ")]),a("el-form-item",{attrs:{label:"联系人"}},[t._v(" "+t._s(t.item.contact)+" ")]),a("el-form-item",{attrs:{label:"手机"}},[t._v(" "+t._s(t.item.mobile)+" ")]),a("el-form-item",{attrs:{label:"下单时间"}},[t._v(" "+t._s(t._f("parseTime")(t.item.create_at,"{y}-{m}-{d} {h}:{i}"))+" ")])],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"人员"}},[a("el-row",[a("el-col",{attrs:{span:3}},[t._v("大人")]),a("el-col",{attrs:{span:5}},[a("el-input",{attrs:{name:"adult",placeholder:"大人"},model:{value:t.item.personnel.adult,callback:function(e){t.$set(t.item.personnel,"adult",e)},expression:"item.personnel.adult"}})],1),a("el-col",{attrs:{span:3}},[t._v("老人")]),a("el-col",{attrs:{span:5}},[a("el-input",{attrs:{name:"old",placeholder:"老人"},model:{value:t.item.personnel.old,callback:function(e){t.$set(t.item.personnel,"old",e)},expression:"item.personnel.old"}})],1),a("el-col",{attrs:{span:3}},[t._v("小孩")]),a("el-col",{attrs:{span:5}},[a("el-input",{attrs:{name:"child",placeholder:"小孩"},model:{value:t.item.personnel.child,callback:function(e){t.$set(t.item.personnel,"child",e)},expression:"item.personnel.child"}})],1)],1)],1),1!==t.item.status?a("el-form-item",{attrs:{label:"核销码"}},[a("el-input",{attrs:{name:"check_sn",placeholder:"请输入平台核销码"},model:{value:t.item.check_sn,callback:function(e){t.$set(t.item,"check_sn",e)},expression:"item.check_sn"}})],1):t._e(),2!==t.item.status?a("el-form-item",{attrs:{label:"加微信"}},[a("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:t.item.is_wechat,callback:function(e){t.$set(t.item,"is_wechat",e)},expression:"item.is_wechat"}},[t._v("已加微信")])],1):t._e(),a("el-form-item",{attrs:{label:"出游日期"}},[a("el-date-picker",{attrs:{type:"date",placeholder:"选择日期时间"},model:{value:t.item.travel_date,callback:function(e){t.$set(t.item,"travel_date",e)},expression:"item.travel_date"}})],1),1!==t.item.status?a("el-form-item",{attrs:{label:"返回日期"}},[a("el-date-picker",{attrs:{type:"date",placeholder:"选择日期时间"},model:{value:t.item.travel_end,callback:function(e){t.$set(t.item,"travel_end",e)},expression:"item.travel_end"}})],1):t._e(),2!==t.item.status?a("el-form-item",{attrs:{label:"下次跟进时间"}},[a("el-date-picker",{attrs:{type:"datetime",placeholder:"选择日期时间"},model:{value:t.next_follow,callback:function(e){t.next_follow=e},expression:"next_follow"}})],1):t._e()],1)],1),a("el-form-item",{attrs:{label:"跟进状态"}},[t._l(t.status_arr,(function(e,l){return[l>0?a("el-radio",{attrs:{label:l,border:""},model:{value:t.item.status,callback:function(e){t.$set(t.item,"status",e)},expression:"item.status"}},[t._v(t._s(e))]):t._e()]}))],2),a("el-form-item",{attrs:{label:"跟进说明"}},[a("el-input",{attrs:{type:"textarea"},model:{value:t.item.desc,callback:function(e){t.$set(t.item,"desc",e)},expression:"item.desc"}})],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.onSave(t.item)}}},[t._v("保 存")])],1),a("el-tabs",{attrs:{type:"border-card"},model:{value:t.active,callback:function(e){t.active=e},expression:"active"}},[a("el-tab-pane",{attrs:{name:"follow",label:"跟进记录"}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.item.follow}},[a("el-table-column",{attrs:{label:"日期",width:"138"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t._f("parseTime")(e.row.create_time,"{y}-{m}-{d} {h}:{i}")))])]}}])}),a("el-table-column",{attrs:{label:"跟进人",width:"110",prop:"name"}}),a("el-table-column",{attrs:{label:"状态",width:"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.status_arr[e.row.status]))])]}}])}),a("el-table-column",{attrs:{prop:"desc",label:"跟进说明"}})],1)],1),a("el-tab-pane",{attrs:{name:"finance",label:"财务记录"}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.item.finance}},[a("el-table-column",{attrs:{label:"日期"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t._f("parseTime")(e.row.create_time,"{y}-{m}-{d} {h}:{i}")))])]}}])}),a("el-table-column",{attrs:{label:"类型",width:"110"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.type_arr[e.row.type]))])]}}])}),a("el-table-column",{attrs:{label:"状态",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.total/100))])]}}])})],1)],1)],1)],1),a("el-dialog",{attrs:{title:"纯核销",visible:t.dialog2Visible},on:{"update:visible":function(e){t.dialog2Visible=e}}},[a("el-form",{attrs:{"label-width":"160px",model:t.form}},[a("el-form-item",{attrs:{label:"平台"}},[a("el-radio",{attrs:{label:"1"},model:{value:t.form.os,callback:function(e){t.$set(t.form,"os",e)},expression:"form.os"}},[t._v("美团")])],1),a("el-form-item",{attrs:{label:"核销码"}},[a("el-input",{attrs:{placeholder:"请输入平台核销码"},model:{value:t.form.check_sn,callback:function(e){t.$set(t.form,"check_sn",e)},expression:"form.check_sn"}})],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.onPass(t.form)}}},[t._v("保 存")])],1)],1),a("el-dialog",{attrs:{title:"申请转出订单",visible:t.applyVisible},on:{"update:visible":function(e){t.applyVisible=e}}},[a("el-form",{ref:"ruleForm",attrs:{"label-width":"160px",model:t.item3,rules:t.rules}},[a("el-form-item",{attrs:{label:"标题:"}},[a("el-input",{attrs:{disabled:""},model:{value:t.item3.product_name,callback:function(e){t.$set(t.item3,"product_name",e)},expression:"item3.product_name"}})],1),a("el-form-item",{attrs:{label:"订单号:"}},[a("el-input",{attrs:{disabled:""},model:{value:t.item3.sn,callback:function(e){t.$set(t.item3,"sn",e)},expression:"item3.sn"}})],1),a("el-form-item",{staticStyle:{width:"600px"},attrs:{label:"流转对象:",prop:"flowObj"}},[a("el-select",{attrs:{placeholder:"请选择"},on:{change:t.onChange2},model:{value:t.item3.flowObj,callback:function(e){t.$set(t.item3,"flowObj",e)},expression:"item3.flowObj"}},[a("el-form-item",{staticStyle:{display:"inline-flex","text-align":"left",width:"770px"}},t._l(t.adminList,(function(t){return a("el-option",{key:t.value,staticStyle:{width:"250px",display:"inline-flex","word-break":"break-all"},attrs:{label:t.username,value:t.id}})})),1)],1)],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t.item3.backs&&0==t.item3.backs.status?a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.onCancel(t.item3.flowObj)}}},[t._v("取 消")]):a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.onCirculationSave(t.item3.flowObj)}}},[t._v("确 认")])],1)],1)],1)},i=[],s=a("b85c"),n=a("5530"),o=(a("a15b"),a("d81d"),a("a9e3"),a("b64b"),a("67f2")),r=a("f8b7"),c={name:"Orderlist",components:{Pagination:o["a"]},data:function(){return{active:"follow",types:{0:"",1:"",2:"",3:"primary",4:"success",5:"warning",6:"danger",7:"info"},types2:{1:"primary",2:"success",3:"warning"},status_arr:["待跟进","跟进中","已核销","核销失败","放弃跟单"],type_arr:["-","收益","支出"],timetype_arr:{},order_status:["#9e9f9c","#04bcd9","#fc9904","#1193f4","#48b14b","#eb1662","#9d1cb5"],follow_status:["#9e9f9c","#04bcd9","#fc9904","#1193f4","#48b14b","#eb1662"],options:[],value:null,next_follow:null,list:[],total:0,listLoading:!0,listQuery:{page:1,limit:10,times:[],status:null,admin:null,zhubo:null,os_status:[]},item:{next_follow:"",personnel:{}},follow:[],dialogVisible:!1,dialog2Visible:!1,applyVisible:!1,oss:[],item3:{sn:null,backs:null,flowObj:"",os:null},os_arr:{1:"美团",2:"快手",3:"抖音(甄选)",5:"抖音(新国旅)"},adminList:[],form:{},rules:{flowObj:[{required:!0,message:"请选择流转对象",trigger:"change"}]}}},created:function(){this.listQuery.zhubo=this.$route.query.zhubo||null,this.$route.query.start&&this.$route.query.end&&(this.listQuery.times=[this.$route.query.start,this.$route.query.end]),this.setQuery("status"),this.setQuery("os_status"),this.setQuery("times"),this.getList(),this.getShortcutContent(),this.getAdminList()},methods:{setQuery:function(t){this.$route.query.hasOwnProperty(t)?this.listQuery[t]=this.$route.query[t]:this.listQuery[t]=""},getList:function(t){var e=this;if(this.listQuery.excel=null,1!=t)this.listQuery.os_status=[4,2],this.$axios.get("/admin/order/index",{params:this.listQuery}).then((function(t){e.list=t.data.data,e.total=t.data.total,e.timetype_arr=t.ext.timetype,e.oss=t.ext.oss,e.listLoading=!1}));else{this.listQuery.excel=1;var a=this.listQuery.times[0]instanceof Date,l=Object(n["a"])(Object(n["a"])({},this.listQuery),{},{times:[a?this.listQuery.times[0].toISOString():"",a?this.listQuery.times[1].toISOString():""]});window.open("/admin/order/index?"+this.objectToQuery(l))}},objectToQuery:function(t){return Object.keys(t).map((function(e){var a=t[e];return void 0==a||null==a?"":encodeURIComponent(e)+"="+encodeURIComponent(a)})).join("&")},onInfo:function(t){var e=this;this.value=null,this.next_follow=null,this.$set(t,"next_follow",null),this.item=t,this.active="follow",this.$axios.get("/admin/order/info",{params:{id:t.id}}).then((function(t){e.item=t.data,e.dialogVisible=!0})).catch((function(t){}))},resetForm:function(t){this.$refs[t].resetFields()},getAdminList:function(){var t=this;this.$axios.get("/admin/admin/index",{params:{limit:100,status:1,is_order:1}}).then((function(e){t.adminList=e.data.data,t.listLoading=!1})).catch((function(t){}))},onCirculation:function(t){this.applyVisible=!0,this.item3=Object(n["a"])(Object(n["a"])({},t),{},{os:Number(t.os)}),console.log(this.item3),this.item3.backs&&this.item3.backs.admin_id?this.item3.flowObj=this.item3.backs.admin_id:this.resetForm("ruleForm")},onCirculationSave:function(t){var e=this;this.$refs.ruleForm.validate((function(a){if(!a)return!1;Object(r["a"])({sn:e.item3.sn,os:e.item3.os,to_admin_id:t}).then((function(t){e.applyVisible=!1,e.getList()}))}))},onCancel:function(){var t=this;this.$refs.ruleForm.validate((function(e){if(!e)return!1;t.$axios.post("/admin/order/backcancel",{id:t.item3.id}).then((function(e){t.applyVisible=!1,t.getList()})).catch((function(t){console.log(t)}))}))},onBack:function(){var t=this;this.$axios.post("/admin/order/back",this.item).then((function(e){t.dialogVisible=!1,t.item={},t.getList()})).catch((function(t){}))},onSave:function(t){var e=this;console.log(this.next_follow),this.$axios.post("/admin/order/save",{id:t.id,check_sn:t.check_sn,is_wechat:t.is_wechat,travel_end:t.travel_end,travel_date:t.travel_date,desc:t.desc,status:t.status,next_follow:this.next_follow,personnel:this.item.personnel}).then((function(t){e.dialogVisible=!1,e.item={next_follow:"",personnel:{}}})).catch((function(t){}))},onPass:function(t){var e=this;this.$axios.post("/admin/order/pass",{check_sn:t.check_sn}).then((function(t){e.dialog2Visible=!1,e.form={}})).catch((function(t){}))},onChange:function(t){this.$set(this.item,"desc",t+(void 0!=this.item.desc?this.item.desc:""))},onChange2:function(t){this.$set(this.item,"to_admin_id",t+(void 0!=this.item.admin_id?this.item.admin_id:""))},handleChange:function(t){console.log(t)},getShortcutContent:function(){var t=this;this.listLoading=!0,this.$axios.get("/admin/shortcutContent/list",{params:{page:1,limit:50,status:1}}).then((function(e){var a,l=Object(s["a"])(e.data.data);try{for(l.s();!(a=l.n()).done;){var i=a.value;t.options.push({value:i.id,label:i.content})}}catch(n){l.e(n)}finally{l.f()}})).catch((function(){}))}}},u=c,d=(a("f923"),a("2877")),m=Object(d["a"])(u,l,i,!1,null,"6226c3ab",null);e["default"]=m.exports},4197:function(t,e,a){},"67f2":function(t,e,a){"use strict";var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"pagination-container",class:{hidden:t.hidden}},[a("el-pagination",t._b({attrs:{background:t.background,"current-page":t.currentPage,"page-size":t.pageSize,layout:t.layout,"page-sizes":t.pageSizes,total:t.total},on:{"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e},"update:pageSize":function(e){t.pageSize=e},"update:page-size":function(e){t.pageSize=e},"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}},"el-pagination",t.$attrs,!1))],1)},i=[],s=(a("a9e3"),a("09f4")),n={name:"Pagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:20},pageSizes:{type:Array,default:function(){return[10,20,30,50]}},layout:{type:String,default:"total, sizes, prev, pager, next, jumper"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{currentPage:{get:function(){return this.page},set:function(t){this.$emit("update:page",t)}},pageSize:{get:function(){return this.limit},set:function(t){this.$emit("update:limit",t)}}},methods:{handleSizeChange:function(t){this.$emit("pagination",{page:this.currentPage,limit:t}),this.autoScroll&&Object(s["a"])(0,800)},handleCurrentChange:function(t){this.$emit("pagination",{page:t,limit:this.pageSize}),this.autoScroll&&Object(s["a"])(0,800)}}},o=n,r=(a("7d30"),a("2877")),c=Object(r["a"])(o,l,i,!1,null,"28fdfbeb",null);e["a"]=c.exports},"7a17":function(t,e,a){},"7d30":function(t,e,a){"use strict";a("7a17")},f8b7:function(t,e,a){"use strict";a.d(e,"a",(function(){return i})),a.d(e,"b",(function(){return s}));var l=a("b775");function i(t){return Object(l["a"])({url:"/admin/order/back",method:"post",data:t})}function s(t){return Object(l["a"])({url:"admin/order/backBatch",method:"post",data:t})}},f923:function(t,e,a){"use strict";a("4197")}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-2b905db8.981de16b.js b/service/public/static/js/chunk-2b905db8.981de16b.js
new file mode 100644
index 00000000..f098e2b4
--- /dev/null
+++ b/service/public/static/js/chunk-2b905db8.981de16b.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2b905db8"],{"09f4":function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),Math.easeInOutQuad=function(t,e,n,i){return t/=i/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function a(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function l(t,e,n){var l=o(),r=t-l,s=20,u=0;e="undefined"===typeof e?500:e;var c=function t(){u+=s;var o=Math.easeInOutQuad(u,l,r,e);a(o),u0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}}),n("el-dialog",{attrs:{title:t.dialogTitle,visible:t.dialog2Visible},on:{"update:visible":function(e){t.dialog2Visible=e}}},[n("el-form",{ref:"addForm",attrs:{"label-width":"160px",model:t.form,rules:t.rules}},[n("el-form-item",{attrs:{label:"标题",prop:"title"}},[n("el-input",{attrs:{placeholder:"请输入标题"},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)},expression:"form.title"}})],1),n("el-form-item",{attrs:{label:"内容",prop:"content"}},[n("el-input",{attrs:{placeholder:"请输入内容"},model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}})],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.onPass(t.form)}}},[t._v("保 存")])],1)],1)],1)},a=[],o=n("67f2"),l={name:"Announlist",components:{Pagination:o["a"]},data:function(){return{active:"follow",order_status:["#9e9f9c","#04bcd9","#fc9904","#1193f4","#48b14b","#eb1662","#9d1cb5"],follow_status:["#9e9f9c","#04bcd9","#fc9904","#1193f4","#48b14b","#eb1662"],options:[],value:null,next_follow:null,list:[],total:0,listLoading:!0,listQuery:{page:1,limit:10,times:[],status:null,admin:null,zhubo:null,os_status:[]},item:{next_follow:"",personnel:{}},follow:[],dialog2Visible:!1,oss:[],dialogTitle:"添加",adminList:[],form:{title:"",content:""},rules:{title:[{required:!0,message:"请输入标题",trigger:"change"}]}}},created:function(){this.listQuery.zhubo=this.$route.query.zhubo||null,this.$route.query.start&&this.$route.query.end&&(this.listQuery.times=[this.$route.query.start,this.$route.query.end]),this.getList()},methods:{getList:function(t){var e=this;this.$axios.get("/admin/announcements/index",{params:this.listQuery}).then((function(t){e.list=t.data.data,e.total=t.data.total,e.listLoading=!1}))},handleAdd:function(t){var e=this;this.dialog2Visible=!0,this.$nextTick((function(){e.$refs["addForm"].resetFields(),t&&(e.dialogTitle="编辑",e.form={title:t.title,content:t.content,id:t.id})}))},onPass:function(){var t=this;this.$refs.addForm.validate((function(e){if(!e)return!1;t.$axios.post("编辑"==t.dialogTitle?"/admin/announcements/edit":"/admin/announcements/add",t.form).then((function(e){t.$message({message:"编辑"==t.dialogTitle?"编辑成功":"添加成功",type:"success"}),t.dialog2Visible=!1,t.getList()}))}))},resetForm:function(t){this.$refs[t].resetFields()}}},r=l,s=(n("0c30"),n("2877")),u=Object(s["a"])(r,i,a,!1,null,"463422f0",null);e["default"]=u.exports},"67f2":function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pagination-container",class:{hidden:t.hidden}},[n("el-pagination",t._b({attrs:{background:t.background,"current-page":t.currentPage,"page-size":t.pageSize,layout:t.layout,"page-sizes":t.pageSizes,total:t.total},on:{"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e},"update:pageSize":function(e){t.pageSize=e},"update:page-size":function(e){t.pageSize=e},"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}},"el-pagination",t.$attrs,!1))],1)},a=[],o=(n("a9e3"),n("09f4")),l={name:"Pagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:20},pageSizes:{type:Array,default:function(){return[10,20,30,50]}},layout:{type:String,default:"total, sizes, prev, pager, next, jumper"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{currentPage:{get:function(){return this.page},set:function(t){this.$emit("update:page",t)}},pageSize:{get:function(){return this.limit},set:function(t){this.$emit("update:limit",t)}}},methods:{handleSizeChange:function(t){this.$emit("pagination",{page:this.currentPage,limit:t}),this.autoScroll&&Object(o["a"])(0,800)},handleCurrentChange:function(t){this.$emit("pagination",{page:t,limit:this.pageSize}),this.autoScroll&&Object(o["a"])(0,800)}}},r=l,s=(n("7d30"),n("2877")),u=Object(s["a"])(r,i,a,!1,null,"28fdfbeb",null);e["a"]=u.exports},"7a17":function(t,e,n){},"7d30":function(t,e,n){"use strict";n("7a17")}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-2d0de3a1.2641cb67.js b/service/public/static/js/chunk-2d0de3a1.2641cb67.js
new file mode 100644
index 00000000..017bf18b
--- /dev/null
+++ b/service/public/static/js/chunk-2d0de3a1.2641cb67.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0de3a1"],{"856d":function(t,e,l){"use strict";l.r(e);var i=function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("div",{staticClass:"app-container"},[l("div",{staticClass:"filter-container"},[l("el-date-picker",{staticClass:"filter-item",attrs:{type:"datetimerange","default-time":["00:00:00","23:59:59"],"range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:t.listQuery.times,callback:function(e){t.$set(t.listQuery,"times",e)},expression:"listQuery.times"}}),l("el-select",{staticClass:"filter-item",attrs:{filterable:"",placeholder:"请选择"},model:{value:t.listQuery.os,callback:function(e){t.$set(t.listQuery,"os",e)},expression:"listQuery.os"}},[l("el-option",{key:"",attrs:{label:"请选择",value:""}}),t._l(t.oss,(function(t,e){return l("el-option",{key:e,attrs:{label:t,value:e}})}))],2),l("el-button",{staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.getList}},[t._v(" 搜索 ")]),l("el-button",{staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:function(e){return t.getList(1)}}},[t._v(" 导出 ")])],1),l("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.list,border:"",fit:"","highlight-current-row":""}},[l("el-table-column",{attrs:{align:"center",fixed:"",label:"姓名",width:"120",prop:"admin.name"}}),l("el-table-column",{attrs:{align:"center",label:"订单数",width:"120",prop:"orders"}}),l("el-table-column",{attrs:{align:"center",label:"订单总金额"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.total_price/100)+" ")]}}])}),l("el-table-column",{attrs:{align:"center",label:"核销数",width:"120",prop:"assets"}}),l("el-table-column",{attrs:{align:"center",label:"核销金额"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.asset_price/100)+" ")]}}])}),l("el-table-column",{attrs:{align:"center",label:"未付款订单",width:"120",prop:"nopays"}}),l("el-table-column",{attrs:{align:"center",label:"未付款金额"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.nopay_price/100)+" ")]}}])}),l("el-table-column",{attrs:{align:"center",label:"核销率(按订单)",width:"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.write_rate)+"% ")]}}])}),l("el-table-column",{attrs:{align:"center",width:"180",label:"核销率(按销售额)"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.write_rate_price)+"% ")]}}])}),l("el-table-column",{attrs:{align:"center",label:"当月核销率(按订单)",width:"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.month_write_rate)+"% ")]}}])}),l("el-table-column",{attrs:{align:"center",width:"180",label:"当月核销率(按销售额)"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.month_write_rate_price)+"% ")]}}])})],1)],1)},a=[],n=l("5530"),s=(l("a15b"),l("d81d"),l("b64b"),{name:"Datalist",data:function(){return{oss:null,list:[],listLoading:!0,listQuery:{}}},created:function(){this.getList()},methods:{getList:function(t){var e=this;if(1!=t)this.listQuery.excel=0,this.$axios.get("/admin/data/index",{params:this.listQuery}).then((function(t){e.list=t.data,e.oss=t.ext.oss,e.listLoading=!1}));else{if(this.listQuery.excel=1,!this.listQuery.times)return void this.$message({message:"请选择日期",type:"warning"});var l=this.listQuery.times[0]instanceof Date,i=Object(n["a"])(Object(n["a"])({},this.listQuery),{},{times:[l?this.listQuery.times[0].toISOString():"",l?this.listQuery.times[1].toISOString():""]});window.open("/admin/data/index?"+this.objectToQuery(i))}},objectToQuery:function(t){return Object.keys(t).map((function(e){var l=t[e];return void 0==l||null==l?"":encodeURIComponent(e)+"="+encodeURIComponent(l)})).join("&")}}}),r=s,o=l("2877"),c=Object(o["a"])(r,i,a,!1,null,null,null);e["default"]=c.exports}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-2d21a050.0d310740.js b/service/public/static/js/chunk-2d21a050.0d310740.js
new file mode 100644
index 00000000..ac6e1f95
--- /dev/null
+++ b/service/public/static/js/chunk-2d21a050.0d310740.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d21a050"],{ba72:function(t,e,a){"use strict";a.r(e);var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-container"},[a("div",{staticClass:"filter-container"},[a("el-input",{staticClass:"filter-item",staticStyle:{width:"200px","margin-right":"10px"},attrs:{placeholder:"管理员用户名"},model:{value:t.listQuery.admin,callback:function(e){t.$set(t.listQuery,"admin",e)},expression:"listQuery.admin"}}),a("el-date-picker",{staticClass:"filter-item",attrs:{type:"datetimerange","default-time":["00:00:00","23:59:59"],"range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:t.listQuery.times,callback:function(e){t.$set(t.listQuery,"times",e)},expression:"listQuery.times"}}),a("el-button",{staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.getList}},[t._v(" 搜索 ")])],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.list,border:"",fit:"","highlight-current-row":""}},[a("el-table-column",{attrs:{fixed:"",label:"日期",width:"120",prop:"date"}}),a("el-table-column",{attrs:{fixed:"",label:"姓名",width:"120",prop:"admin.name"}}),a("el-table-column",{attrs:{label:"管理员",width:"120",prop:"admin.username"}}),a("el-table-column",{attrs:{label:"订单数",width:"120",prop:"orders"}}),a("el-table-column",{attrs:{label:"订单总金额"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.order_amount/100)+" ")]}}])}),a("el-table-column",{attrs:{label:"核销数",width:"120",prop:"assets"}}),a("el-table-column",{attrs:{label:"核销金额"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.asset_amount/100)+" ")]}}])}),a("el-table-column",{attrs:{label:"退款订单",width:"120",prop:"refunds"}}),a("el-table-column",{attrs:{label:"退款金额"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.refund_amount/100)+" ")]}}])}),a("el-table-column",{attrs:{label:"已出行订单",width:"120",prop:"travels"}}),a("el-table-column",{attrs:{label:"已出行金额"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.travel_amount/100)+" ")]}}])})],1)],1)},s=[],i={name:"Datalist",data:function(){return{oss:null,list:[],listLoading:!0,listQuery:{}}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.$axios.get("/admin/data/sale",{params:this.listQuery}).then((function(e){t.list=e.data.data,t.listLoading=!1}))}}},n=i,r=a("2877"),o=Object(r["a"])(n,l,s,!1,null,null,null);e["default"]=o.exports}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-3050cccd.e13bba0a.js b/service/public/static/js/chunk-3050cccd.e13bba0a.js
new file mode 100644
index 00000000..8b28b0bc
--- /dev/null
+++ b/service/public/static/js/chunk-3050cccd.e13bba0a.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3050cccd"],{"16c2":function(t,e,i){},b58d:function(t,e,i){"use strict";i("16c2")},deb2:function(t,e,i){"use strict";i.r(e);var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"app-container"},[i("div",{staticClass:"scheduling_head"},[i("div",{staticClass:"head_lable"},[t._v("产品编号:")]),t._l(t.liveroomList,(function(e,o){return i("div",{key:o,staticClass:"scheduling_tab",class:t.activeName==e.id?"active":"",on:{click:function(e){return t.handleClick(o)}}},[t._v(" "+t._s(e.name)+" ")])})),i("el-button",{staticStyle:{"margin-left":"210px"},attrs:{type:"primary"},on:{click:t.handleEdit}},[t._v("编辑")])],2),i("div",{staticClass:"scheduling_tab_pana"},t._l(t.roomWorksList,(function(e){return i("div",{staticClass:"table-list"},[i("div",{staticClass:"table-list_item"},[i("div",{staticClass:"tit"},[t._v(" "+t._s(e.date)+" ")])]),i("div",{staticClass:"table-list_item"},[i("div",{staticClass:"tit"},[t._v(" "+t._s(e.date_name)),i("i",{staticClass:"el-icon-circle-plus",on:{click:function(i){return t.handleAdds("",e.date)}}})])]),t._l(e.work,(function(o){return i("div",{staticClass:"table-list-box"},[i("div",{staticClass:"border",on:{dblclick:function(i){return t.handleAdds(o,e.date)}}},[i("div",{staticStyle:{"margin-bottom":"10px"}},[t._v(" AM "+t._s(t.extractTime(o.start))+"~"+t._s(t.extractTime(o.end))+" ")]),i("div",[t._v("主播:"+t._s(o.zhubo.name))]),i("div",[t._v("中控:"+t._s(o.zhongkong.name))]),i("div",[t._v("路线:"+t._s(o.route?o.route:"无"))])])])}))],2)})),0),t.addOrUpdateVisible?i("liveroom-update",{ref:"addOrUpdate",on:{update:t.saveProducts}}):t._e(),t.roomVisible?i("roomWorksUpdate",{ref:"roomUpdate",attrs:{title:t.title},on:{update:t.saveRoomWorks}}):t._e()],1)},r=[],a=i("5530"),s=i("c7eb"),n=i("1da1"),l=(i("99af"),i("ac1f"),i("466d"),i("b775"));function c(){return Object(l["a"])({url:"/admin/liveroom/index",method:"get"})}function d(t){return Object(l["a"])({url:"/admin/liveroom/roomWorks",method:"get",params:{live_room_id:t}})}function u(t){return Object(l["a"])({url:"/admin/liveroom/availableZhubo",method:"get",params:t})}function m(t){return Object(l["a"])({url:"/admin/liveroom/saveProducts",method:"post",data:t})}function f(t){return Object(l["a"])({url:"/admin/liveroom/saveRoomWorks",method:"post",data:t})}var h=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("el-dialog",{attrs:{title:"编辑直播间",visible:t.dialogVisible,width:"30%","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[i("el-form",{ref:"form",attrs:{model:t.form,"label-width":"80px"}},[i("el-form-item",{attrs:{label:"直播间id",prop:"product_ids"}},[i("el-input",{model:{value:t.form.product_ids,callback:function(e){t.$set(t.form,"product_ids",e)},expression:"form.product_ids"}})],1)],1),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v("取 消")]),i("el-button",{attrs:{type:"primary"},on:{click:t.handleEdit}},[t._v("确 定")])],1)],1)},v=[],p={props:{},data:function(){return{dialogVisible:!1,form:{product_ids:"",live_room_id:""}}},methods:{init:function(t,e){this.dialogVisible=!0,this.form.product_ids=e,this.form.live_room_id=t,console.log(this.form)},handleClose:function(){this.dialogVisible=!1},handleEdit:function(){this.dialogVisible=!1,this.$emit("update",this.form)}}},b=p,_=i("2877"),g=Object(_["a"])(b,h,v,!1,null,"545e3cb5",null),k=g.exports,x=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("el-dialog",{attrs:{title:t.title,visible:t.dialogVisible,width:"30%","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[i("el-form",{ref:"form",attrs:{rules:t.rules,model:t.form,"label-width":"80px"}},[i("el-form-item",{attrs:{label:"直播间",prop:"live_room_id"}},[i("el-select",{attrs:{placeholder:"请选择直播间"},model:{value:t.form.live_room_id,callback:function(e){t.$set(t.form,"live_room_id",e)},expression:"form.live_room_id"}},t._l(t.liveroomList,(function(t){return i("el-option",{attrs:{label:t.name,value:t.id}})})),1)],1),i("el-form-item",{attrs:{label:"时间"}},[i("el-time-select",{attrs:{placeholder:"起始时间","picker-options":{start:"08:00",step:"00:15",end:"24:00"}},model:{value:t.startTime,callback:function(e){t.startTime=e},expression:"startTime"}}),i("el-time-select",{attrs:{placeholder:"结束时间","picker-options":{start:"08:00",step:"00:15",end:"24:00",minTime:t.startTime}},on:{change:t.handleDate},model:{value:t.endTime,callback:function(e){t.endTime=e},expression:"endTime"}})],1),i("el-form-item",{attrs:{label:"主播",prop:"zhubo_id"}},[i("el-select",{attrs:{placeholder:"请选择主播"},model:{value:t.form.zhubo_id,callback:function(e){t.$set(t.form,"zhubo_id",e)},expression:"form.zhubo_id"}},t._l(t.zhuboList,(function(t){return i("el-option",{attrs:{label:t.name,value:t.id,disabled:t.disabled}})})),1)],1),i("el-form-item",{attrs:{label:"中控",prop:"zhongkong_id"}},[i("el-select",{attrs:{placeholder:"请选择中控"},model:{value:t.form.zhongkong_id,callback:function(e){t.$set(t.form,"zhongkong_id",e)},expression:"form.zhongkong_id"}},t._l(t.zhongkongList,(function(t){return i("el-option",{attrs:{label:t.name,value:t.id,disabled:t.disabled}})})),1)],1),i("el-form-item",{attrs:{label:"路线"}},[i("el-input",{model:{value:t.form.route,callback:function(e){t.$set(t.form,"route",e)},expression:"form.route"}})],1)],1),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v("取 消")]),i("el-button",{attrs:{type:"primary"},on:{click:t.handleEdit}},[t._v("确 定")])],1)],1)},w=[],O={props:{title:{type:String,default:"添加排班"}},data:function(){return{dialogVisible:!1,startTime:"",endTime:"",form:{live_room_id:"",start:"",end:"",zhubo_id:"",zhongkong_id:"",route:""},zhuboList:[],zhongkongList:[],liveroomList:[],dayDate:"",rules:{live_room_id:[{required:!0,message:"请选择直播间",trigger:"change"}],zhongkong_id:[{required:!0,message:"请选择中控",trigger:"change"}],zhubo_id:[{required:!0,message:"请选择主播",trigger:"change"}]}}},watch:{form:function(){this.handleDate()}},methods:{extractTime:function(t){var e=/^(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})$/,i=t.match(e);if(!i)throw new Error("不匹配");return"".concat(i[4],":").concat(i[5])},init:function(t,e,i){var o=this;this.dialogVisible=!0,this.$nextTick((function(r){o.$refs["form"].resetFields(),o.dayDate=i,o.form=e.id?e:{live_room_id:"",start:"",end:"",zhubo_id:"",zhongkong_id:""},o.form.live_room_id=t,o.startTime=e.id?o.extractTime(o.form.start):"",o.endTime=e.id?o.extractTime(o.form.end):"",console.log(o.startTime),console.log(o.endTime)})),this.liveroom()},liveroom:function(){var t=this;return Object(n["a"])(Object(s["a"])().mark((function e(){var i,o;return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c();case 3:i=e.sent,o=i.data,t.liveroomList=o,e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),console.log(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})))()},handleClose:function(){this.dialogVisible=!1},handleDate:function(){var t=this;this.form.end="".concat(this.dayDate," ").concat(this.endTime,":00"),this.form.start="".concat(this.dayDate," ").concat(this.startTime,":00"),this.form.end&&this.form.start&&(u(Object(a["a"])(Object(a["a"])({},this.form),{},{type:2})).then((function(e){t.zhuboList=e.data})),u(Object(a["a"])(Object(a["a"])({},this.form),{},{type:3})).then((function(e){t.zhongkongList=e.data})))},handleEdit:function(){this.dialogVisible=!1,this.$emit("update",this.form)}}},T=O,j=Object(_["a"])(T,x,w,!1,null,"e99f666c",null),C=j.exports,z={name:"Scheduling",data:function(){return{list:[],activeName:"",listLoading:!0,title:"添加排班",listQuery:{page:1,limit:20,title:"",status:""},total:0,dialogVisible:!1,dialogType:"new",liveroomList:[],roomWorksList:[],product_ids:"",live_room_id:"",addOrUpdateVisible:!1,roomVisible:!1}},components:{liveroomUpdate:k,roomWorksUpdate:C},mounted:function(){var t=this;return Object(n["a"])(Object(s["a"])().mark((function e(){return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.liveroom();case 2:t.roomWorks();case 3:case"end":return e.stop()}}),e)})))()},methods:{extractTime:function(t){var e=/^(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})$/,i=t.match(e);if(!i)throw new Error("不匹配");return"".concat(i[4],":").concat(i[5],":").concat(i[6])},isCurrentTimeAfter:function(t){var e=new Date(t),i=new Date;return i>=e},liveroom:function(){var t=this;return Object(n["a"])(Object(s["a"])().mark((function e(){var i,o;return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c();case 3:i=e.sent,o=i.data,t.liveroomList=o,t.activeName=t.liveroomList[0].id+"",t.live_room_id=t.liveroomList[0].id,t.product_ids=t.liveroomList[0].product_ids,e.next=14;break;case 11:e.prev=11,e.t0=e["catch"](0),console.log(e.t0);case 14:case"end":return e.stop()}}),e,null,[[0,11]])})))()},roomWorks:function(){var t=this;return Object(n["a"])(Object(s["a"])().mark((function e(){var i,o;return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,d(t.live_room_id);case 3:i=e.sent,o=i.data,t.roomWorksList=o,e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),console.log(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})))()},handleClick:function(t){var e=this.liveroomList[t],i=e.id,o=e.product_ids;this.live_room_id=i,this.product_ids=o,this.activeName=i+"",this.roomWorks()},handleEdit:function(){var t=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){t.$refs["addOrUpdate"].init(t.live_room_id,t.product_ids)}))},handleAdds:function(t,e){var i=this;if(console.log(t),this.title=t.id?"编辑排班":"添加排班",t.id&&this.isCurrentTimeAfter(t.start))return this.$message.error("当前时间无法编辑");this.roomVisible=!0,this.$nextTick((function(){i.$refs["roomUpdate"].init(i.live_room_id,Object(a["a"])({},t),e)}))},saveProducts:function(t){var e=this;this.liveroom(),m(t).then((function(t){e.$message({message:"直播间编辑成功",type:"success"})}))},saveRoomWorks:function(t){var e=this;f(t).then((function(t){e.roomWorks(),e.$message({message:"添加排班成功",type:"success"})}))},handleAdd:function(){}}},V=z,$=(i("b58d"),Object(_["a"])(V,o,r,!1,null,"97931c7e",null));e["default"]=$.exports}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-31cf3465.8ef88b4f.js b/service/public/static/js/chunk-31cf3465.8ef88b4f.js
new file mode 100644
index 00000000..761da625
--- /dev/null
+++ b/service/public/static/js/chunk-31cf3465.8ef88b4f.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-31cf3465"],{"005a":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pro_scheduling"},[n("el-calendar",{scopedSlots:t._u([{key:"dateCell",fn:function(e){var a=e.date;return[n("div",[n("div",[t._v(t._s(a.getDate()))]),t.isDateAvailable(a)?n("div",[n("el-button",{attrs:{type:"primary",disabled:!t.isDateAvailable(a)},on:{click:function(e){return t.bookDate(a)}}},[t._v(" 可预约 ")]),n("div",{staticClass:"yy"},[t._v("已约 "+t._s(t.bookedCount(a)))]),n("div",{staticClass:"yy"},[t._v("剩余 "+t._s(t.availableCount(a)))])],1):n("div",[n("el-button",{attrs:{disabled:""}},[t._v("不可预约")]),n("div",{staticClass:"test"},[t._v("已约 "+t._s(t.bookedCount(a)))]),n("div",{staticClass:"test"},[t._v("剩余 0")])],1)])]}}]),model:{value:t.value,callback:function(e){t.value=e},expression:"value"}}),n("el-dialog",{attrs:{visible:t.dialogVisible,title:"预约行程"},on:{"update:visible":function(e){t.dialogVisible=e},open:t.onOpen,close:t.onClose}},[n("el-form",{ref:"elForm",attrs:{model:t.formData,rules:t.rules,size:"medium","label-width":"100px"}},[n("el-form-item",{attrs:{label:"出行日期",prop:"date"}},[n("el-input",{style:{width:"100%"},attrs:{placeholder:"请输入单行文本单行文本",disabled:!0,clearable:""},model:{value:t.formData.date,callback:function(e){t.$set(t.formData,"date",e)},expression:"formData.date"}})],1),n("el-form-item",{attrs:{label:"可预约数量",prop:"num"}},[n("el-input",{style:{width:"100%"},attrs:{type:"number",placeholder:"请输入可预约数量",clearable:""},model:{value:t.formData.num,callback:function(e){t.$set(t.formData,"num",e)},expression:"formData.num"}})],1)],1),n("div",{attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:t.close}},[t._v("取消")]),n("el-button",{attrs:{type:"primary"},on:{click:t.handelConfirm}},[t._v("确定")])],1)],1)],1)},r=[],o=n("c7eb"),i=n("1da1"),u=(n("d3b7"),n("159b"),n("50fc")),s={data:function(){return{dialogVisible:!1,value:new Date,appointments:{},formData:{date:"",num:"",id:""},rules:{num:[{required:!0,message:"请输入可预约数量",trigger:"blur"}]}}},created:function(){this.formData.id=this.$route.query.id,this.getList()},methods:{getList:function(){var t=this;return Object(i["a"])(Object(o["a"])().mark((function e(){var n;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["d"])(t.formData.id);case 2:n=e.sent,n&&0===n.error&&n.data.forEach((function(e){t.$set(t.appointments,e.date,{books_num:e.books_num,left_num:e.left_num})}));case 4:case"end":return e.stop()}}),e)})))()},isDateAvailable:function(t){var e=new Date;return e.setHours(0,0,0,0),t>=e},bookDate:function(t){console.log("预约日期: ".concat(t.toLocaleDateString())),this.dialogVisible=!0,this.formData.date=t.toLocaleDateString()},onOpen:function(){},onClose:function(){this.$refs["elForm"].resetFields()},close:function(){this.dialogVisible=!1},handelConfirm:function(){var t=this;this.$refs["elForm"].validate(function(){var e=Object(i["a"])(Object(o["a"])().mark((function e(n){var a;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Object(u["a"])(t.formData);case 4:a=e.sent,0===a.error&&(t.$message.success("预约成功"),t.getList()),t.close();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}},computed:{availableCount:function(){var t=this;return function(e){var n,a=e.toISOString().split("T")[0];return(null===(n=t.appointments[a])||void 0===n?void 0:n.left_num)||0}},bookedCount:function(){var t=this;return function(e){var n,a=e.toISOString().split("T")[0];return(null===(n=t.appointments[a])||void 0===n?void 0:n.books_num)||0}}}},c=s,l=(n("47df"),n("2877")),d=Object(l["a"])(c,a,r,!1,null,"21d88d0c",null);e["default"]=d.exports},4576:function(t,e,n){},"47df":function(t,e,n){"use strict";n("4576")},"50fc":function(t,e,n){"use strict";n.d(e,"e",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"f",(function(){return i})),n.d(e,"g",(function(){return u})),n.d(e,"d",(function(){return s})),n.d(e,"a",(function(){return c})),n.d(e,"c",(function(){return l})),n.d(e,"i",(function(){return d})),n.d(e,"h",(function(){return f}));n("99af");var a=n("b775");function r(){return Object(a["a"])({url:"admin/products/list",method:"get"})}function o(t){return Object(a["a"])({url:"/admin/products/add",method:"post",data:t})}function i(t){return Object(a["a"])({url:"/admin/products/list?page=".concat(t.page,"&limit=").concat(t.limit),method:"get"})}function u(t){return Object(a["a"])({url:"/admin/products/add",method:"post",data:t})}function s(t){return Object(a["a"])({url:"/admin/products/productschedules?id=".concat(t),method:"get"})}function c(t){return Object(a["a"])({url:"/admin/products/addproductschedules",method:"post",data:t})}function l(){return Object(a["a"])({url:"/admin/setting/getContractSetting",method:"get"})}function d(t){return Object(a["a"])({url:"/admin/setting/savecontractsetting",method:"post",data:t})}function f(){return Object(a["a"])({url:"/admin/setting/getContractSetting",method:"get"})}}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-46a84215.2dd3a1fe.js b/service/public/static/js/chunk-46a84215.2dd3a1fe.js
new file mode 100644
index 00000000..efcf0fd1
--- /dev/null
+++ b/service/public/static/js/chunk-46a84215.2dd3a1fe.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-46a84215"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return l})),Math.easeInOutQuad=function(t,e,a,n){return t/=n/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function i(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function l(t,e,a){var l=r(),o=t-l,s=20,u=0;e="undefined"===typeof e?500:e;var c=function t(){u+=s;var r=Math.easeInOutQuad(u,l,o,e);i(r),u0,expression:"total>0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}})],1)},i=[],r=a("333d"),l={name:"Orderlist",components:{Pagination:r["a"]},filters:{statusFilter:function(t){var e={1:"success",0:"danger"};return e[t]}},data:function(){return{list:[],total:0,listLoading:!0,listQuery:{page:1,limit:10}}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.$axios.get("/admin/follow/index",{params:this.listQuery}).then((function(e){t.list=e.data.data,t.total=e.data.total,t.listLoading=!1}))}}},o=l,s=a("2877"),u=Object(s["a"])(o,n,i,!1,null,null,null);e["default"]=u.exports},"2cbf":function(t,e,a){"use strict";a("73e0")},"333d":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"pagination-container",class:{hidden:t.hidden}},[a("el-pagination",t._b({attrs:{background:t.background,"current-page":t.currentPage,"page-size":t.pageSize,layout:t.layout,"page-sizes":t.pageSizes,total:t.total},on:{"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e},"update:pageSize":function(e){t.pageSize=e},"update:page-size":function(e){t.pageSize=e},"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}},"el-pagination",t.$attrs,!1))],1)},i=[],r=(a("a9e3"),a("09f4")),l={name:"Pagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:20},pageSizes:{type:Array,default:function(){return[10,20,30,50]}},layout:{type:String,default:"total, sizes, prev, pager, next, jumper"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{currentPage:{get:function(){return this.page},set:function(t){this.$emit("update:page",t)}},pageSize:{get:function(){return this.limit},set:function(t){this.$emit("update:limit",t)}}},methods:{handleSizeChange:function(t){this.$emit("pagination",{page:this.currentPage,limit:t}),this.autoScroll&&Object(r["a"])(0,800)},handleCurrentChange:function(t){this.$emit("pagination",{page:t,limit:this.pageSize}),this.autoScroll&&Object(r["a"])(0,800)}}},o=l,s=(a("2cbf"),a("2877")),u=Object(s["a"])(o,n,i,!1,null,"6af373ef",null);e["a"]=u.exports},"73e0":function(t,e,a){}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-581d57b4.808b7ee5.js b/service/public/static/js/chunk-581d57b4.808b7ee5.js
new file mode 100644
index 00000000..808fa558
--- /dev/null
+++ b/service/public/static/js/chunk-581d57b4.808b7ee5.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-581d57b4"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return s})),Math.easeInOutQuad=function(t,e,a,i){return t/=i/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function l(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function n(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function s(t,e,a){var s=n(),r=t-s,o=20,c=0;e="undefined"===typeof e?500:e;var u=function t(){c+=o;var n=Math.easeInOutQuad(c,s,r,e);l(n),c0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.setMode}}),a("el-dialog",{attrs:{title:"订单跟进",visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("el-form",{attrs:{"label-width":"130px",model:t.item}},[a("el-form-item",{attrs:{label:"产品名称"}},[t._v(" "+t._s(t.item.product_name)+" ")]),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"产品状态"}},[t._v(" "+t._s(t.item.order_status_name)+" ")]),a("el-form-item",{attrs:{label:"数量"}},[t._v(" "+t._s(t.item.quantity)+" ")]),a("el-form-item",{attrs:{label:"联系人"}},[t._v(" "+t._s(t.item.contact)+" ")]),a("el-form-item",{attrs:{label:"手机"}},[t._v(" "+t._s(t.item.mobile)+" ")]),a("el-form-item",{attrs:{label:"下单时间"}},[t._v(" "+t._s(t._f("parseTime")(t.item.create_at,"{y}-{m}-{d} {h}:{i}"))+" ")])],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"人员"}},[a("el-row",[a("el-col",{attrs:{span:3}},[t._v("大人")]),a("el-col",{attrs:{span:5}},[a("el-input",{attrs:{name:"adult",placeholder:"大人"},model:{value:t.item.personnel.adult,callback:function(e){t.$set(t.item.personnel,"adult",e)},expression:"item.personnel.adult"}})],1),a("el-col",{attrs:{span:3}},[t._v("老人")]),a("el-col",{attrs:{span:5}},[a("el-input",{attrs:{name:"old",placeholder:"老人"},model:{value:t.item.personnel.old,callback:function(e){t.$set(t.item.personnel,"old",e)},expression:"item.personnel.old"}})],1),a("el-col",{attrs:{span:3}},[t._v("小孩")]),a("el-col",{attrs:{span:5}},[a("el-input",{attrs:{name:"child",placeholder:"小孩"},model:{value:t.item.personnel.child,callback:function(e){t.$set(t.item.personnel,"child",e)},expression:"item.personnel.child"}})],1)],1)],1),1!==t.item.status?a("el-form-item",{attrs:{label:"核销码"}},[a("el-input",{attrs:{name:"check_sn",placeholder:"请输入平台核销码"},model:{value:t.item.check_sn,callback:function(e){t.$set(t.item,"check_sn",e)},expression:"item.check_sn"}})],1):t._e(),2!==t.item.status?a("el-form-item",{attrs:{label:"加微信"}},[a("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:t.item.is_wechat,callback:function(e){t.$set(t.item,"is_wechat",e)},expression:"item.is_wechat"}},[t._v("已加微信")])],1):t._e(),a("el-form-item",{attrs:{required:"",pros:"travel_date",label:"出游日期"}},[a("el-date-picker",{attrs:{type:"date",placeholder:"选择日期时间"},model:{value:t.item.travel_date,callback:function(e){t.$set(t.item,"travel_date",e)},expression:"item.travel_date"}})],1),1!==t.item.status?a("el-form-item",{attrs:{label:"返回日期"}},[a("el-date-picker",{attrs:{type:"date",placeholder:"选择日期时间"},model:{value:t.item.travel_end,callback:function(e){t.$set(t.item,"travel_end",e)},expression:"item.travel_end"}})],1):t._e(),2!==t.item.status?a("el-form-item",{attrs:{required:"",pros:"next_follow",label:"下次跟进时间"}},[a("el-date-picker",{attrs:{type:"datetime",placeholder:"选择日期时间"},model:{value:t.next_follow,callback:function(e){t.next_follow=e},expression:"next_follow"}})],1):t._e()],1)],1),a("el-form-item",{attrs:{label:"跟进状态"}},[t._l(t.status_arr,(function(e,i){return[i>0?a("el-radio",{attrs:{label:i,border:""},model:{value:t.item.status,callback:function(e){t.$set(t.item,"status",e)},expression:"item.status"}},[t._v(t._s(e))]):t._e()]}))],2),a("el-form-item",{attrs:{required:"",pros:"desc",label:"跟进说明"}},[a("el-input",{attrs:{type:"textarea"},model:{value:t.item.desc,callback:function(e){t.$set(t.item,"desc",e)},expression:"item.desc"}})],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.onSave(t.item)}}},[t._v("保 存")])],1),a("el-tabs",{attrs:{type:"border-card"},model:{value:t.active,callback:function(e){t.active=e},expression:"active"}},[a("el-tab-pane",{attrs:{name:"follow",label:"跟进记录"}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.item.follow}},[a("el-table-column",{attrs:{label:"日期",width:"138"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t._f("parseTime")(e.row.create_time,"{y}-{m}-{d} {h}:{i}")))])]}}])}),a("el-table-column",{attrs:{label:"跟进人",width:"110",prop:"name"}}),a("el-table-column",{attrs:{label:"状态",width:"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.status_arr[e.row.status]))])]}}])}),a("el-table-column",{attrs:{prop:"desc",label:"跟进说明"}})],1)],1),a("el-tab-pane",{attrs:{name:"finance",label:"财务记录"}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.item.finance}},[a("el-table-column",{attrs:{label:"日期"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t._f("parseTime")(e.row.create_time,"{y}-{m}-{d} {h}:{i}")))])]}}])}),a("el-table-column",{attrs:{label:"类型",width:"110"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.type_arr[e.row.type]))])]}}])}),a("el-table-column",{attrs:{label:"状态",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.total/100))])]}}])})],1)],1)],1)],1),a("el-dialog",{attrs:{title:"纯核销",visible:t.dialog2Visible},on:{"update:visible":function(e){t.dialog2Visible=e}}},[a("el-form",{attrs:{"label-width":"160px",model:t.form}},[a("el-form-item",{attrs:{label:"平台"}},[a("el-radio",{attrs:{label:"1"},model:{value:t.form.os,callback:function(e){t.$set(t.form,"os",e)},expression:"form.os"}},[t._v("美团")])],1),a("el-form-item",{attrs:{label:"核销码"}},[a("el-input",{attrs:{placeholder:"请输入平台核销码"},model:{value:t.form.check_sn,callback:function(e){t.$set(t.form,"check_sn",e)},expression:"form.check_sn"}})],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.onPass(t.form)}}},[t._v("保 存")])],1)],1),a("el-dialog",{attrs:{title:"申请转出订单",visible:t.applyVisible},on:{"update:visible":function(e){t.applyVisible=e}}},[a("el-form",{ref:"ruleForm",attrs:{"label-width":"160px",model:t.item3,rules:t.rules}},[t.isAll?t._e():a("el-form-item",{attrs:{label:"标题:"}},[a("el-input",{attrs:{disabled:""},model:{value:t.item3.product_name,callback:function(e){t.$set(t.item3,"product_name",e)},expression:"item3.product_name"}})],1),t.isAll?t._e():a("el-form-item",{attrs:{label:"订单号:"}},[a("el-input",{attrs:{disabled:""},model:{value:t.item3.sn,callback:function(e){t.$set(t.item3,"sn",e)},expression:"item3.sn"}})],1),a("el-form-item",{staticStyle:{width:"600px"},attrs:{label:"流转对象:",prop:"flowObj"}},[a("el-select",{attrs:{placeholder:"请选择"},on:{change:t.onChange2},model:{value:t.item3.flowObj,callback:function(e){t.$set(t.item3,"flowObj",e)},expression:"item3.flowObj"}},[a("el-form-item",{staticStyle:{display:"inline-flex","text-align":"left",width:"770px"}},t._l(t.adminList,(function(t){return a("el-option",{key:t.value,staticStyle:{width:"250px",display:"inline-flex","word-break":"break-all"},attrs:{label:t.username,value:t.id}})})),1)],1)],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t.item3.backs&&0==t.item3.backs.status?a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.onCancel(t.item3.flowObj)}}},[t._v("取 消")]):a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.onCirculationSave(t.item3.flowObj)}}},[t._v("确 认")])],1)],1)],1)},l=[],n=a("b85c"),s=a("5530"),r=a("c7eb"),o=a("1da1"),c=(a("a15b"),a("d81d"),a("a9e3"),a("b64b"),a("67f2")),u=a("f8b7"),d={name:"Orderlist",components:{Pagination:c["a"]},data:function(){return{active:"follow",types:{0:"",1:"",2:"",3:"primary",4:"success",5:"warning",6:"danger",7:"info"},types2:{1:"primary",2:"success",3:"warning"},status_arr:["待跟进","跟进中","已核销","核销失败","放弃跟单"],type_arr:["-","收益","支出"],timetype_arr:{},order_status:["#9e9f9c","#04bcd9","#fc9904","#1193f4","#48b14b","#eb1662","#9d1cb5"],follow_status:["#9e9f9c","#04bcd9","#fc9904","#1193f4","#48b14b","#eb1662"],options:[],value:null,next_follow:null,list:[],total:0,listLoading:!0,listQuery:{page:1,limit:10,times:[],status:null,admin:null,zhubo:null,os_status:[],appointment_status:""},item:{next_follow:"",personnel:{adult:""}},follow:[],dialogVisible:!1,dialog2Visible:!1,applyVisible:!1,oss:[],isSynchronization:!1,item3:{sn:null,backs:null,flowObj:"",os:null},os_arr:{1:"美团",2:"快手",3:"抖音(甄选)",5:"抖音(新国旅)"},multipleSelection:[],sn:[],adminList:[],form:{},isAll:!1,rules:{flowObj:[{required:!0,message:"请选择流转对象",trigger:"change"}]}}},created:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.listQuery.zhubo=t.$route.query.zhubo||null,t.$route.query.start&&t.$route.query.end&&(t.listQuery.times=[t.$route.query.start,t.$route.query.end]),t.setQuery("status"),t.setQuery("os_status"),t.setQuery("times"),t.setQuery("appointment_status"),t.getShortcutContent(),t.getAdminList();case 8:case"end":return e.stop()}}),e)})))()},mounted:function(){console.log(this.$route.query),this.setMode(),this.$route.query.id&&this.onInfo({id:this.$route.query.id})},computed:{tableMaxHeight:function(){return window.innerHeight-320+"px"}},watch:{$route:function(t,e){this.onInfo({id:this.$route.query.id})}},methods:{handleSelectionChange:function(t){this.multipleSelection=t;var e=[];this.multipleSelection.map((function(t){e.push(t.sn)})),this.sn=e},setQuery:function(t){this.$route.query.hasOwnProperty(t)?this.listQuery[t]=this.$route.query[t]:this.listQuery[t]=""},setMode:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.getList();case 2:return e.next=4,t.setOneClickRepair();case 4:return e.next=6,t.getList();case 6:case"end":return e.stop()}}),e)})))()},setOneClickRepair:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){var a;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=t.list.map((function(t){return t.id})),e.next=3,t.onOneClickRepair({id:a.join()});case 3:case"end":return e.stop()}}),e)})))()},getList:function(t){var e=this;return Object(o["a"])(Object(r["a"])().mark((function a(){var i,l;return Object(r["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(e.listQuery.excel=null,1!=t){a.next=7;break}return e.listQuery.excel=1,i=e.listQuery.times[0]instanceof Date,l=Object(s["a"])(Object(s["a"])({},e.listQuery),{},{times:[i?e.listQuery.times[0].toISOString():"",i?e.listQuery.times[1].toISOString():""]}),window.open("/admin/order/index?"+e.objectToQuery(l)),a.abrupt("return");case 7:return a.next=9,e.$axios.get("/admin/order/index",{params:e.listQuery}).then((function(t){e.list=t.data.data,e.total=t.data.total,e.timetype_arr=t.ext.timetype,e.oss=t.ext.oss,e.listLoading=!1,e.isSynchronization=!0}));case 9:case"end":return a.stop()}}),a)})))()},objectToQuery:function(t){return Object.keys(t).map((function(e){var a=t[e];return void 0==a||null==a?"":encodeURIComponent(e)+"="+encodeURIComponent(a)})).join("&")},onInfo:function(t){var e=this;this.value=null,this.next_follow=null,this.$set(t,"next_follow",null),this.active="follow",this.$axios.get("/admin/order/info",{params:{id:t.id}}).then((function(t){e.item=t.data,e.dialogVisible=!0})).catch((function(t){}))},resetForm:function(t){this.$refs[t].resetFields()},getAdminList:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.$axios.get("/admin/admin/index",{params:{limit:100,status:1,is_order:1,type_desc:e}}).then((function(e){t.adminList=e.data.data,t.listLoading=!1})).catch((function(t){}))},onCirculation:function(t){this.getAdminList(t.category_desc),this.applyVisible=!0,this.isAll=!1,this.item3=Object(s["a"])(Object(s["a"])({},t),{},{os:Number(t.os)}),console.log(this.item3),this.item3.backs&&this.item3.backs.admin_id?this.item3.flowObj=this.item3.backs.admin_id:this.resetForm("ruleForm")},onCirculationAll:function(){this.applyVisible=!0,this.isAll=!0},onCirculationSave:function(t){var e=this;this.$refs.ruleForm.validate(function(){var a=Object(o["a"])(Object(r["a"])().mark((function a(i){var l;return Object(r["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(!i){a.next=11;break}if(!e.isAll){a.next=5;break}e.$confirm("是否批量流转订单","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(o["a"])(Object(r["a"])().mark((function a(){return Object(r["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(u["b"])({sn:e.sn,to_admin_id:t});case 2:l=a.sent,l.data&&(e.$message({message:"批量流转订单成功",type:"success"}),e.applyVisible=!1,e.isAll=!1,e.getList());case 4:case"end":return a.stop()}}),a)})))),a.next=9;break;case 5:return a.next=7,Object(u["a"])({sn:e.item3.sn,os:e.item3.os,to_admin_id:t});case 7:l=a.sent,l.data&&(e.$message({message:"流转订单成功",type:"success"}),e.applyVisible=!1,e.isAll=!1,e.getList());case 9:a.next=12;break;case 11:return a.abrupt("return",!1);case 12:case"end":return a.stop()}}),a)})));return function(t){return a.apply(this,arguments)}}())},onCancel:function(){var t=this;this.$refs.ruleForm.validate((function(e){if(!e)return!1;t.$axios.post("/admin/order/backcancel",{id:t.item3.id}).then((function(e){t.applyVisible=!1,t.isAll=!1,t.getList()})).catch((function(t){console.log(t)}))}))},onBack:function(){var t=this;this.$axios.post("/admin/order/back",this.item).then((function(e){t.dialogVisible=!1,t.item={},t.getList()})).catch((function(t){}))},onSave:function(t){var e=this;this.$axios.post("/admin/order/save",{id:t.id,check_sn:t.check_sn,is_wechat:t.is_wechat,travel_end:t.travel_end,travel_date:t.travel_date,desc:t.desc,status:t.status,next_follow:this.next_follow,personnel:this.item.personnel}).then((function(t){e.dialogVisible=!1,e.item={next_follow:"",personnel:{adult:""}},e.$router.push({path:"/order/index"})})).catch((function(t){}))},onPass:function(t){var e=this;this.$axios.post("/admin/order/pass",{check_sn:t.check_sn}).then((function(t){e.dialog2Visible=!1,e.form={}})).catch((function(t){}))},onChange:function(t){this.$set(this.item,"desc",t+(void 0!=this.item.desc?this.item.desc:""))},onChange2:function(t){this.$set(this.item,"to_admin_id",t+(void 0!=this.item.admin_id?this.item.admin_id:""))},handleChange:function(t){console.log(t)},getShortcutContent:function(){var t=this;this.listLoading=!0,this.$axios.get("/admin/shortcutContent/list",{params:{page:1,limit:50,status:1}}).then((function(e){var a,i=Object(n["a"])(e.data.data);try{for(i.s();!(a=i.n()).done;){var l=a.value;t.options.push({value:l.id,label:l.content})}}catch(s){i.e(s)}finally{i.f()}})).catch((function(){}))},onOneClickRepair:function(t){var e=this;this.$axios.post("/admin/order/oneClickRepair",{id:t.id}).then((function(t){e.$notify({title:"成功",message:"同步完成",type:"success"})})).catch((function(t){e.$notify.error({title:"同步失败",message:t})}))},onOneClickYyHandle:function(t){var e=this;this.$axios.post("/admin/order/changeAppointmentStatus",{id:t.id}).then((function(t){e.dialogVisible=!1,e.$notify({title:"成功",message:"已处理",type:"success"})})).catch((function(t){e.$notify.error({title:"错误",message:t})}))}}},p=d,m=(a("513f"),a("2877")),f=Object(m["a"])(p,i,l,!1,null,"4d8f2a06",null);e["default"]=f.exports},"67f2":function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"pagination-container",class:{hidden:t.hidden}},[a("el-pagination",t._b({attrs:{background:t.background,"current-page":t.currentPage,"page-size":t.pageSize,layout:t.layout,"page-sizes":t.pageSizes,total:t.total},on:{"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e},"update:pageSize":function(e){t.pageSize=e},"update:page-size":function(e){t.pageSize=e},"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}},"el-pagination",t.$attrs,!1))],1)},l=[],n=(a("a9e3"),a("09f4")),s={name:"Pagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:20},pageSizes:{type:Array,default:function(){return[10,20,30,50]}},layout:{type:String,default:"total, sizes, prev, pager, next, jumper"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{currentPage:{get:function(){return this.page},set:function(t){this.$emit("update:page",t)}},pageSize:{get:function(){return this.limit},set:function(t){this.$emit("update:limit",t)}}},methods:{handleSizeChange:function(t){this.$emit("pagination",{page:this.currentPage,limit:t}),this.autoScroll&&Object(n["a"])(0,800)},handleCurrentChange:function(t){this.$emit("pagination",{page:t,limit:this.pageSize}),this.autoScroll&&Object(n["a"])(0,800)}}},r=s,o=(a("7d30"),a("2877")),c=Object(o["a"])(r,i,l,!1,null,"28fdfbeb",null);e["a"]=c.exports},"7a17":function(t,e,a){},"7d30":function(t,e,a){"use strict";a("7a17")},c1c0:function(t,e,a){},f8b7:function(t,e,a){"use strict";a.d(e,"a",(function(){return l})),a.d(e,"b",(function(){return n}));var i=a("b775");function l(t){return Object(i["a"])({url:"/admin/order/back",method:"post",data:t})}function n(t){return Object(i["a"])({url:"admin/order/backBatch",method:"post",data:t})}}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-5b015b61.d69fa659.js b/service/public/static/js/chunk-5b015b61.d69fa659.js
new file mode 100644
index 00000000..e95a9f69
--- /dev/null
+++ b/service/public/static/js/chunk-5b015b61.d69fa659.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5b015b61"],{"41bf":function(t,e,n){},"565d":function(t,e,n){},5779:function(t,e,n){"use strict";n("41bf")},"5e07":function(t,e,n){"use strict";n("ce52")},"9ed6":function(t,e,n){"use strict";n.r(e);var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"login-container"},[n("el-form",{ref:"loginForm",staticClass:"login-form",attrs:{model:t.loginForm,rules:t.loginRules,autocomplete:"on","label-position":"left"}},[n("div",{staticClass:"title-container"},[n("h3",{staticClass:"title"},[t._v("登陆订单中心")])]),n("el-form-item",{attrs:{prop:"username"}},[n("span",{staticClass:"svg-container"},[n("svg-icon",{attrs:{"icon-class":"user"}})],1),n("el-input",{ref:"username",attrs:{placeholder:"Username",name:"username",type:"text",tabindex:"1",autocomplete:"on"},model:{value:t.loginForm.username,callback:function(e){t.$set(t.loginForm,"username",e)},expression:"loginForm.username"}})],1),n("el-tooltip",{attrs:{content:"Caps lock is On",placement:"right",manual:""},model:{value:t.capsTooltip,callback:function(e){t.capsTooltip=e},expression:"capsTooltip"}},[n("el-form-item",{attrs:{prop:"password"}},[n("span",{staticClass:"svg-container"},[n("svg-icon",{attrs:{"icon-class":"password"}})],1),n("el-input",{key:t.passwordType,ref:"password",attrs:{type:t.passwordType,placeholder:"Password",name:"password",tabindex:"2",autocomplete:"on"},on:{blur:function(e){t.capsTooltip=!1}},nativeOn:{keyup:[function(e){return t.checkCapslock.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleLogin.apply(null,arguments)}]},model:{value:t.loginForm.password,callback:function(e){t.$set(t.loginForm,"password",e)},expression:"loginForm.password"}}),n("span",{staticClass:"show-pwd",on:{click:t.showPwd}},[n("svg-icon",{attrs:{"icon-class":"password"===t.passwordType?"eye":"eye-open"}})],1)],1)],1),n("el-button",{staticStyle:{width:"100%","margin-bottom":"30px"},attrs:{loading:t.loading,type:"primary"},nativeOn:{click:function(e){return e.preventDefault(),t.handleLogin.apply(null,arguments)}}},[t._v("登录")])],1)],1)},o=[],i=(n("13d5"),n("b64b"),n("d3b7"),n("61f7")),a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"social-signup-container"},[n("div",{staticClass:"sign-btn",on:{click:function(e){return t.wechatHandleClick("wechat")}}},[n("span",{staticClass:"wx-svg-container"},[n("svg-icon",{staticClass:"icon",attrs:{"icon-class":"wechat"}})],1),t._v(" WeChat ")]),n("div",{staticClass:"sign-btn",on:{click:function(e){return t.tencentHandleClick("tencent")}}},[n("span",{staticClass:"qq-svg-container"},[n("svg-icon",{staticClass:"icon",attrs:{"icon-class":"qq"}})],1),t._v(" QQ ")])])},r=[],c={name:"SocialSignin",methods:{wechatHandleClick:function(t){alert("ok")},tencentHandleClick:function(t){alert("ok")}}},l=c,u=(n("aa05"),n("2877")),p=Object(u["a"])(l,a,r,!1,null,"7309fbbb",null),d=p.exports,f={name:"Login",components:{SocialSign:d},data:function(){var t=function(t,e,n){Object(i["d"])(e)?n():n(new Error("请输入用户名"))},e=function(t,e,n){e.length<6?n(new Error("请输入密码")):n()};return{loginForm:{},loginRules:{username:[{required:!0,trigger:"blur",validator:t}],password:[{required:!0,trigger:"blur",validator:e}]},passwordType:"password",capsTooltip:!1,loading:!1,redirect:void 0,otherQuery:{}}},watch:{$route:{handler:function(t){var e=t.query;e&&(this.redirect=e.redirect,this.otherQuery=this.getOtherQuery(e))},immediate:!0}},created:function(){},mounted:function(){""===this.loginForm.username?this.$refs.username.focus():""===this.loginForm.password&&this.$refs.password.focus()},destroyed:function(){},methods:{checkCapslock:function(t){var e=t.key;this.capsTooltip=e&&1===e.length&&e>="A"&&e<="Z"},showPwd:function(){var t=this;"password"===this.passwordType?this.passwordType="":this.passwordType="password",this.$nextTick((function(){t.$refs.password.focus()}))},handleLogin:function(){var t=this;this.$refs.loginForm.validate((function(e){if(!e)return console.log("error submit!!"),!1;t.loading=!0,t.$store.dispatch("user/login",t.loginForm).then((function(){t.$router.push({path:t.redirect||"/",query:t.otherQuery}),t.loading=!1})).catch((function(){t.loading=!1}))}))},getOtherQuery:function(t){return Object.keys(t).reduce((function(e,n){return"redirect"!==n&&(e[n]=t[n]),e}),{})}}},m=f,g=(n("5779"),n("5e07"),Object(u["a"])(m,s,o,!1,null,"ef34595e",null));e["default"]=g.exports},aa05:function(t,e,n){"use strict";n("565d")},ce52:function(t,e,n){}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-5d3a368d.1f11cbed.js b/service/public/static/js/chunk-5d3a368d.1f11cbed.js
new file mode 100644
index 00000000..c761a27b
--- /dev/null
+++ b/service/public/static/js/chunk-5d3a368d.1f11cbed.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5d3a368d"],{"0483":function(t,e,n){"use strict";n("4bd5")},"17eb":function(t,e,n){"use strict";n("48aa")},"48aa":function(t,e,n){},"4bd5":function(t,e,n){},dae2:function(t,e,n){"use strict";n.r(e);var s=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"lineOnSale"},[s("div",{staticClass:"lineOnSale_list"},[s("img",{attrs:{src:n("eef5"),alt:""}}),s("div",{staticClass:"lineOnSale_centent"},[s("div",{staticClass:"lineOnSale_title"},[t._v("天上人间—马尔代夫7日自由行7天")]),s("div",{staticClass:"lineOnSale_price"},[s("div",{staticClass:"desc"},[s("p",[t._v("行程天数:")]),s("overflowConcealment",{attrs:{content:"天上人间—马尔代夫7日自尔代夫7日自由行7天天上人间—马尔代夫7夫7日自由日自由行7天"}})],1),s("div",{staticClass:"desc"},[s("p",[t._v("购物店:")]),s("overflowConcealment",{attrs:{content:"马尔代夫"}})],1)]),s("div",{staticClass:"lineOnSale_price"},[s("div",{staticClass:"desc"},[s("p",[t._v("是否含大交通:")]),s("overflowConcealment",{attrs:{content:"否"}})],1),s("div",{staticClass:"desc"},[s("p",[t._v("可售卖平台:")]),s("overflowConcealment",{attrs:{content:"否"}})],1)]),s("div",{staticClass:"lineOnSale_price"},[s("div",{staticClass:"desc"},[s("p",[t._v("卖点:")]),s("overflowConcealment",{attrs:{content:"誉为印度洋的珍珠"}})],1),s("div",{staticClass:"desc"},[s("p",[t._v("佣金:")]),s("overflowConcealment",{attrs:{content:"6521615"}})],1)]),s("div",{staticClass:"lineOnSale_price"},[s("div",{staticClass:"desc"},[s("p",[t._v("赠送项目:")]),s("overflowConcealment",{attrs:{content:"沙巴岛一日游"}})],1),s("div",{staticClass:"desc"},[s("p",[t._v("卖价:")]),s("overflowConcealment",{attrs:{content:"6546466"}})],1)])]),s("div",{staticClass:"lineOnSale_right"},[s("div",{staticClass:"lineOnSale_btn"},[s("el-button",{staticClass:"btn",attrs:{type:"primary"}},[t._v("下载行程")]),s("el-button",{staticClass:"btn",attrs:{type:"primary"}},[t._v("下载话术")]),s("el-button",{staticClass:"btn",attrs:{type:"primary"}},[t._v("下载图片")]),s("el-button",{staticClass:"btn",attrs:{type:"primary"}},[t._v("下载视频")])],1)])])])},a=[],i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("p",{ref:"desc_conten",staticClass:"desc_conten"},[t._v(t._s(t.content)),n("el-button",{directives:[{name:"show",rawName:"v-show",value:t.isTruncated,expression:"isTruncated"}],staticClass:"desc_btn",attrs:{type:"primary"},on:{click:function(e){return t.open(t.content)}}},[t._v("查看")])],1)},c=[],o={name:"overflowConcealment",data:function(){return{isTruncated:!1}},props:{content:{type:String,default:""}},mounted:function(){this.checkTruncation(),window.addEventListener("resize",this.checkTruncation)},destroyed:function(){window.removeEventListener("resize",this.checkTruncation)},methods:{open:function(t){this.$alert(t,"内容",{confirmButtonText:"确定"})},checkTruncation:function(){this.isTruncated=this.$refs["desc_conten"].offsetWidth0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getQaCityList}}),i("el-dialog",{attrs:{title:"添加城市",visible:t.dialogCreate},on:{"update:visible":function(e){t.dialogCreate=e}}},[i("el-form",{attrs:{"label-width":"120px",model:t.anchors}},[i("el-form-item",{attrs:{label:"城市"}},[i("el-input",{attrs:{type:"text",placeholder:"请输入城市"},model:{value:t.anchors.city_name,callback:function(e){t.$set(t.anchors,"city_name",e)},expression:"anchors.city_name"}})],1),i("el-form-item",{attrs:{label:"排序"}},[i("el-input-number",{attrs:{max:9999,min:0,"controls-position":"right"},model:{value:t.anchors.sort,callback:function(e){t.$set(t.anchors,"sort",e)},expression:"anchors.sort"}})],1)],1),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{type:"primary"},on:{click:t.onSave}},[t._v("保 存")])],1)],1),i("el-dialog",{attrs:{title:"编辑城市",visible:t.dialogEdit},on:{"update:visible":function(e){t.dialogEdit=e}}},[i("el-form",{attrs:{"label-width":"120px",model:t.anchors}},[i("el-form-item",{attrs:{label:"城市"}},[i("el-input",{attrs:{type:"text",placeholder:"请输入城市"},model:{value:t.anchors.city_name,callback:function(e){t.$set(t.anchors,"city_name",e)},expression:"anchors.city_name"}})],1),i("el-form-item",{attrs:{label:"排序"}},[i("el-input-number",{attrs:{max:9999,min:0,"controls-position":"right"},model:{value:t.anchors.sort,callback:function(e){t.$set(t.anchors,"sort",e)},expression:"anchors.sort"}})],1)],1),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{type:"primary"},on:{click:t.onSave}},[t._v("保 存")])],1)],1)],1)},n=[],o=i("5530"),s=(i("4e82"),i("67f2")),r={name:"GetQa",components:{Pagination:s["a"]},data:function(){return{statusArr:{0:"禁用",1:"启用"},list:[],total:0,loading:!1,listLoading:!0,listQuery:{page:1,limit:10,status:null,city_name:"",title:"",content:""},dialogCreate:!1,dialogEdit:!1,item:{},anchors:{}}},created:function(){this.listQuery.status=this.$route.query.status||null,this.listQuery.content=this.$route.query.content||null,this.getQaCityList()},methods:{getQaCityList:function(){var t=this;this.listLoading=!0,this.$axios.get("/admin/qacity/getQaCityList",{params:this.listQuery}).then((function(e){t.list=e.data.data,t.total=e.data.total,t.listLoading=!1})).catch((function(){t.listLoading=!1}))},onAdd:function(){this.anchors={sort:0},this.dialogCreate=!0},onEdit:function(t){this.anchors=Object(o["a"])({},t),this.dialogEdit=!0},onSave:function(){var t=this;if(!this.loading){this.loading=!0;var e=this.dialogCreate?"/admin/qacity/addQaCity":"/admin/qacity/editQaCity";this.$axios.post(e,this.anchors).then((function(){t.dialogCreate=!1,t.dialogEdit=!1,t.loading=!1,t.getQaCityList()})).catch((function(){t.loading=!1}))}},onDel:function(t){var e=this;this.$axios.post("/admin/qacity/delQaCity",{city_id:t.city_id}).then((function(){e.getQaCityList()})).catch((function(){}))},updateSort:function(t){var e=this;this.$axios.post("/admin/qacity/editQaCity",{city_id:t.city_id,sort:t.sort}).then((function(){e.getQaCityList()})).catch((function(){}))},updateStatus:function(t){var e=this;this.$axios.post("/admin/qacity/editQaCity",{city_id:t.city_id,status:t.status}).then((function(){e.getQaCityList()})).catch((function(){}))}}},l=r,c=(i("a41c"),i("2877")),u=Object(c["a"])(l,a,n,!1,null,"47215198",null);e["default"]=u.exports},a41c:function(t,e,i){"use strict";i("4dea")}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-65aac34a.1fcccdbf.js b/service/public/static/js/chunk-65aac34a.1fcccdbf.js
new file mode 100644
index 00000000..218bd7b4
--- /dev/null
+++ b/service/public/static/js/chunk-65aac34a.1fcccdbf.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-65aac34a"],{7868:function(t,e,i){},e0c5:function(t,e,i){"use strict";i("7868")},e132:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"problem"},[i("el-row",[i("el-col",{attrs:{span:24}},[i("div",{staticClass:"problem_form"},[i("el-form",{ref:"form",attrs:{inline:!0,model:t.dataForm,"label-width":"60px"}},[i("el-form-item",{attrs:{label:"关键字:"}},[i("el-input",{staticClass:"filter-item",staticStyle:{width:"400px"},attrs:{placeholder:"请输入搜索关键字"},model:{value:t.dataForm.keyword,callback:function(e){t.$set(t.dataForm,"keyword",e)},expression:"dataForm.keyword"}})],1),i("el-form-item",[i("el-button",{attrs:{type:"success"},on:{click:t.onSubmit}},[t._v("查询")])],1)],1)],1)])],1),i("div",{staticClass:"problem_container"},[i("div",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:t.load,expression:"load"}],staticClass:"problem_left",staticStyle:{overflow:"auto",padding:"10px"},attrs:{"infinite-scroll-immediate":!1}},t._l(t.getQaCityList,(function(e){return i("div",{staticClass:"btn",on:{click:function(i){return t.handleQacityl(e.city_id)}}},[t._v(" "+t._s(e.city_name)+" ")])})),0),i("div",{staticClass:"problem_right"},[i("ul",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:t.load,expression:"load"}],staticClass:"infinite-list",staticStyle:{overflow:"auto"},attrs:{"infinite-scroll-immediate":!1}},t._l(t.getQaLists,(function(e){return i("li",{staticClass:"problem_right_container"},[i("div",{staticClass:"title"},[i("span",{domProps:{innerHTML:t._s(t.handleprant(e.title))}}),i("el-button",{attrs:{type:"primary"},on:{click:function(i){return t.showImgDialog(e.img_zip)}}},[t._v("下载图片")]),i("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary"},on:{click:function(i){return t.showFileList(e.trip_zip)}}},[t._v("下载行程")])],1),t._l(e.qaQuestions,(function(e){return i("div",{staticClass:"desc_container"},[i("span",{staticClass:"desc",staticStyle:{"font-weight":"700",color:"#46a6ff"},domProps:{innerHTML:t._s(t.handleprant(e.title))}}),i("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary",size:"mini"},on:{click:function(i){return t.copyToClipboard(e.content)}}},[t._v("复制")]),i("div",{staticClass:"desc",domProps:{innerHTML:t._s(t.handleprantHtml(e.content))}})],1)}))],2)})),0)])]),i("el-dialog",{attrs:{title:"图片列表",visible:t.dialogImage,width:"80%"},on:{"update:visible":function(e){t.dialogImage=e}}},[i("div",{staticClass:"image-list"},t._l(t.imageList,(function(e,a){return i("el-card",{key:a,staticClass:"image-card",attrs:{"body-style":{padding:"10px"}}},[i("div",{staticStyle:{"text-align":"center"}},[t._v(t._s(e.desc))]),i("img",{staticClass:"image-preview",attrs:{src:e.file}}),i("div",{staticClass:"image-footer"},[i("el-button",{attrs:{size:"mini"},on:{click:function(i){return t.handlePreview(e.file)}}},[t._v("查看")]),i("el-button",{attrs:{type:"success",size:"mini"},on:{click:function(i){return t.handleDownload(e.file)}}},[t._v("下载")])],1)])})),1),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){t.dialogImage=!1}}},[t._v("关闭")])],1)]),i("el-dialog",{attrs:{title:"文件列表",visible:t.dialogFile,width:"80%"},on:{"update:visible":function(e){t.dialogFile=e}}},[i("div",{staticClass:"file-list-horizontal"},t._l(t.fileList,(function(e,a){return i("el-card",{key:a,staticClass:"file-card",attrs:{"body-style":{padding:"10px"}}},[i("div",{staticClass:"file-info"},[i("el-icon",{staticClass:"file-icon"},[i("i",{class:t.getFileIcon(e.file)})]),i("span",{staticClass:"file-name",staticStyle:{display:"block"}},[t._v(t._s(t.getFileName(e.file)))])],1),i("div",{staticClass:"file-info"},[i("span",{staticClass:"file-name"},[t._v(t._s(e.desc))])]),i("div",{staticClass:"file-footer"},[i("el-button",{attrs:{type:"success",size:"mini"},on:{click:function(i){return t.handleDownload(e.file)}}},[t._v("下载")])],1)])})),1),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){t.dialogFile=!1}}},[t._v("关闭")])],1)]),i("el-dialog",{attrs:{visible:t.previewVisible,title:t.previewTitle,width:"60%"},on:{"update:visible":function(e){t.previewVisible=e}}},[i("img",{staticClass:"image-preview-full",attrs:{src:t.previewImageUrl}}),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){t.previewVisible=!1}}},[t._v("关闭")])],1)])],1)},n=[],o=(i("a434"),i("d3b7"),i("4d63"),i("ac1f"),i("2c3e"),i("25f0"),i("3ca3"),i("5319"),i("ddb0"),i("2b3d"),i("bf19"),i("9861"),i("85a8")),s={data:function(){return{getQaCityList:[],getQaLists:[],dataForm:{keyword:"",city_id:""},dialogImage:!1,previewVisible:!1,previewImageUrl:"",previewTitle:"",imageList:[],fileList:[],dialogFile:!1}},created:function(){var t=this;Object(o["a"])().then((function(e){t.getQaCityList=e.data}))},watch:{"dataForm.keyword":function(t){t&&this.onSubmit()}},methods:{showFileList:function(t){t.length&&(this.fileList=t),this.dialogFile=!0},getFileIcon:function(t){var e=t.split(".").pop().toLowerCase();switch(console.log("ext:"+e),e){case"pdf":return"el-icon-file-pdf";case"docx":return"el-icon-file-word";case"pptx":return"el-icon-file-ppt";case"xlsx":return"el-icon-file-excel";default:return"el-icon-file"}},getFileName:function(t){return t.substring(t.lastIndexOf("/")+1)},handleQacityl:function(t){var e=this;Object(o["b"])({city_id:t}).then((function(t){e.getQaLists=t.data.data}))},handleZip:function(t){var e=this;t?fetch(t).then((function(t){return t.blob()})).then((function(e){var i=document.createElement("a"),a=URL.createObjectURL(e);i.href=a,i.download=t.split("/").pop(),document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(a)})).catch((function(t){e.$message({showClose:!0,message:"下载失败",type:"error"}),console.error("Download error:",t)})):this.$message({showClose:!0,message:"暂无下载链接",type:"warning"})},load:function(){console.log("load")},handleprant:function(t){if(!t)return"";var e=new RegExp(this.dataForm.keyword,"ig"),i=''.concat(this.dataForm.keyword,"");return t.replace(e,i)},handleprantHtml:function(t){if(!t)return"";var e=this.dataForm.keyword,i=new RegExp(e,"g"),a=t.replace(/(?<=>)[^>]+(?=<[/]?\w+.*>)/g,(function(t){return t.replace(i,"".concat(e,""))}));return a===t?this.handleprant(t):a},onSubmit:function(){var t=this;Object(o["b"])(this.dataForm).then((function(e){t.getQaLists=e.data.data}))},copyToClipboard:function(t){var e=this.stripHtml(t),i=document.createElement("textarea");i.value=e,document.body.appendChild(i),i.select(),document.execCommand("copy"),document.body.removeChild(i),this.$message({showClose:!0,message:"内容已复制"})},stripHtml:function(t){var e=document.createElement("div");return e.innerHTML=t,e.textContent||e.innerText||""},showImgDialog:function(t){t.length&&(this.imageList=t),this.dialogImage=!0},handlePreview:function(t){this.previewImageUrl=t,this.previewTitle="图片预览",this.previewVisible=!0},handleRemove:function(t){this.imageList.splice(t,1)},handleDownload:function(t){var e=this;t?fetch(t).then((function(t){return t.blob()})).then((function(e){var i=document.createElement("a"),a=URL.createObjectURL(e);i.href=a,i.download=t.split("/").pop(),document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(a)})).catch((function(t){e.$message({showClose:!0,message:"下载失败",type:"error"}),console.error("Download error:",t)})):this.$message({showClose:!0,message:"暂无下载链接",type:"warning"})}}},l=s,r=(i("e0c5"),i("2877")),c=Object(r["a"])(l,a,n,!1,null,"2a6e779e",null);e["default"]=c.exports}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-66551050.32c4b3d9.js b/service/public/static/js/chunk-66551050.32c4b3d9.js
new file mode 100644
index 00000000..0426e4e6
--- /dev/null
+++ b/service/public/static/js/chunk-66551050.32c4b3d9.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-66551050"],{"058d":function(t,e,i){"use strict";i("34d8")},"09f4":function(t,e,i){"use strict";i.d(e,"a",(function(){return o})),Math.easeInOutQuad=function(t,e,i,a){return t/=a/2,t<1?i/2*t*t+e:(t--,-i/2*(t*(t-2)-1)+e)};var a=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function n(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function s(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(t,e,i){var o=s(),l=t-o,r=20,c=0;e="undefined"===typeof e?500:e;var u=function t(){c+=r;var s=Math.easeInOutQuad(c,o,l,e);n(s),c0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}}),t.dialogCreate?i("el-dialog",{ref:"dialog",attrs:{title:t.title,visible:t.dialogCreate},on:{"update:visible":function(e){t.dialogCreate=e}}},[i("div",{staticStyle:{display:"flex","justify-content":"flex-end","margin-bottom":"10px"}},[i("el-button",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{type:"primary"},on:{click:t.onSave}},[t._v("保 存")])],1),i("el-scrollbar",{ref:"scrollbar",staticClass:"scrollable-container"},[i("el-form",{ref:"addForm",attrs:{"label-width":"120px",model:t.anchors}},[i("el-form-item",{attrs:{label:"城市",prop:"city_id"}},[i("el-select",{attrs:{placeholder:"请选择"},model:{value:t.anchors.city_id,callback:function(e){t.$set(t.anchors,"city_id",e)},expression:"anchors.city_id"}},[i("el-form-item",{staticStyle:{display:"inline-flex","text-align":"left",width:"770px"}},t._l(t.getQaCitys,(function(t){return i("el-option",{key:t.city_id,staticStyle:{display:"inline-flex","word-break":"break-all"},attrs:{label:t.city_name,value:t.city_id}})})),1)],1)],1),i("el-form-item",{attrs:{label:"旅游路线",prop:"title"}},[i("el-input",{attrs:{type:"text",placeholder:"请输入旅游路线"},model:{value:t.anchors.title,callback:function(e){t.$set(t.anchors,"title",e)},expression:"anchors.title"}})],1),i("el-form-item",{attrs:{label:"QA内容"}},[t._l(t.anchors.qaQuestions,(function(e,a){return i("div",{staticClass:"mistake-content"},[i("div",{staticClass:"mistake-left"},[i("div",[t._v("副标题")]),i("div",{staticClass:"qa-desc"},[i("el-input",{staticStyle:{width:"100px","margin-right":"10px"},attrs:{type:"text",placeholder:"序号"},model:{value:e.sort,callback:function(i){t.$set(e,"sort",i)},expression:"item.sort"}}),i("el-input",{attrs:{type:"text",placeholder:"请输入副标题"},model:{value:e.title,callback:function(i){t.$set(e,"title",i)},expression:"item.title"}})],1),i("div",[t._v("内容")]),i("div",{staticStyle:{border:"1px solid #ccc"}},[i("myEditor",{model:{value:e.content,callback:function(i){t.$set(e,"content",i)},expression:"item.content"}})],1)]),i("div",{staticClass:"mistake-right"},[i("el-button",{attrs:{type:"danger"},on:{click:function(e){return t.handleDel(a)}}},[t._v("删除")])],1)])})),i("div",{staticClass:"mistake-btn"},[i("el-button",{attrs:{type:"primary"},on:{click:t.handleAdd}},[t._v("添加")])],1)],2),i("el-form-item",{attrs:{label:"状态"}},[i("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:t.anchors.status,callback:function(e){t.$set(t.anchors,"status",e)},expression:"anchors.status"}})],1),i("div",{staticStyle:{display:"flex","justify-content":"flex-end","margin-bottom":"10px"}},[i("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.onAddImg()}}},[t._v("添加图片")])],1),i("el-form-item",{attrs:{label:"上传图片"}},[i("div",{staticClass:"upload-list"},t._l(t.anchors.img_zip,(function(e,a){return i("div",{staticClass:"wu-yu"},[i("i",{staticClass:"close el-icon-close",on:{click:function(e){return e.stopPropagation(),t.handleClose("img_zip",a)}}}),i("el-upload",{staticClass:"avatar-uploader",attrs:{action:"","show-file-list":!1,"http-request":t.handlesAvatarSuccess,"on-success":function(e,i,n){return t.handleAvatarSuccess(e,i,n,a)}}},[e.file?i("div",{staticClass:"img-box"},[t.checkIfUrlContainsImage(e.file)?i("img",{staticClass:"avatar",staticStyle:{width:"100px",height:"100px"},attrs:{src:e.file,alt:""}}):i("i",{staticClass:"el-icon-folder"}),i("div",{staticClass:"desc"},[t._v(t._s(t.handleRegex(e.file)))])]):i("i",{staticClass:"el-icon-plus avatar-uploader-icon"})]),i("el-input",{attrs:{placeholder:"图片说明"},model:{value:e.desc,callback:function(i){t.$set(e,"desc",i)},expression:"item.desc"}})],1)})),0),i("div",{staticStyle:{color:"red"}},[t._v("(请上传.jpg, png的图片)")])]),i("div",{staticStyle:{display:"flex","justify-content":"flex-end","margin-bottom":"10px"}},[i("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.onAddtrip()}}},[t._v("添加行程")])],1),i("el-form-item",{attrs:{label:"上传行程"}},[i("div",{staticClass:"upload-list"},t._l(t.anchors.trip_zip,(function(e,a){return i("div",{staticClass:"wu-yu"},[i("i",{staticClass:"close el-icon-close",on:{click:function(e){return e.stopPropagation(),t.handleClose("trip_zip",a)}}}),i("el-upload",{staticClass:"avatar-uploader",attrs:{action:"","http-request":t.handlesAvatarSuccess,"show-file-list":!1,"on-success":function(e,i,n){return t.handleSuccess(e,i,n,a)}}},[e.file?i("div",{staticClass:"img-box"},[t.checkIfUrlContainsImage(e.file)?i("img",{staticClass:"avatar",staticStyle:{width:"100px",height:"100px"},attrs:{src:e.file,alt:""}}):i("i",{staticClass:"el-icon-folder"}),i("div",{staticClass:"desc"},[t._v(t._s(t.handleRegex(e.file)))])]):i("i",{staticClass:"el-icon-plus avatar-uploader-icon"})]),i("el-input",{attrs:{placeholder:"行程说明"},model:{value:e.desc,callback:function(i){t.$set(e,"desc",i)},expression:"item.desc"}})],1)})),0),i("span",{staticStyle:{color:"red"}},[t._v("(本行程请上传,ppt,word,pdf格式的文件)")])])],1)],1)],1):t._e()],1)},n=[],s=i("5530"),o=i("c7eb"),l=i("1da1"),r=(i("99af"),i("4de4"),i("4e82"),i("a434"),i("d3b7"),i("ac1f"),i("8a79"),i("466d"),i("67f2")),c=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"relative",staticStyle:{border:"1px solid #ccc"}},[t.disabled?i("div",{staticClass:"disable-layer"}):t._e(),i("Toolbar",{ref:"toolbar",staticStyle:{"border-bottom":"1px solid #ccc"},attrs:{editor:t.editor,"default-config":t.toolbarConfig,mode:t.mode}}),i("Editor",{staticStyle:{height:"300px","overflow-y":"hidden"},attrs:{value:t.value,"default-config":t.editorConfig,mode:t.mode},on:{input:t.handleInput,onCreated:t.onCreated}})],1)},u=[],d=(i("af93"),i("4e15")),p=(i("560e"),{name:"WangEditor",components:{Editor:d["a"],Toolbar:d["b"]},props:{value:String,disabled:Boolean,cusHeight:{type:String,default:"250px"}},data:function(){return{editor:null,html:"",toolbarConfig:{toolbarKeys:["headerSelect","blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink","insertTable"]},editorConfig:{placeholder:"请输入内容..."},mode:"default"}},mounted:function(){},created:function(){},beforeDestroy:function(){var t=this.editor;null!=t&&t.destroy()},methods:{onCreated:function(t){this.editor=Object.seal(t)},handleInput:function(t){this.$emit("input",t)}}}),h=p,f=(i("058d"),i("2877")),g=Object(f["a"])(h,c,u,!1,null,"25113710",null),m=g.exports,v=i("5f87"),y={name:"getQa",components:{Pagination:r["a"],myEditor:m},data:function(){return{statusArr:{0:"禁用",1:"启用"},title:"",list:[],total:0,loading:!1,listLoading:!0,listQuery:{page:1,limit:10,status:null,city_name:"",title:"",content:"",img_zip:[],trip_zip:[]},dialogCreate:!1,dialogEdit:!1,item:{},anchors:{qaQuestions:[],img_zip:[{desc:"",file:""}],trip_zip:[{desc:"",file:""}]},getQaCitys:{}}},created:function(){this.listQuery.status=this.$route.query.status||null,this.listQuery.content=this.$route.query.content||null,this.getList(),this.getQaCity()},methods:{checkIfUrlContainsImage:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=[".jpg",".jpeg",".png",".gif",".bmp",".svg",".webp"];return e.some((function(e){return t.toLowerCase().endsWith(e)}))},handlesAvatarSuccess:function(t){var e=this;return Object(l["a"])(Object(o["a"])().mark((function i(){var a,n;return Object(o["a"])().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.prev=0,a=new FormData,a.append("file",t.file),e.upLoading=!0,e,i.next=7,e.$axios.post("/admin/upload/index",a,{headers:{"Content-type":"multipart/form-data","X-Token":Object(v["a"])()}});case 7:n=i.sent,t.onSuccess(n),i.next=14;break;case 11:i.prev=11,i.t0=i["catch"](0),console.error(i.t0);case 14:case"end":return i.stop()}}),i,null,[[0,11]])})))()},handleClose:function(t,e){1!=this.anchors[t].length?(console.log("i===",e),this.anchors[t].splice(e,1)):this.$message({message:"至少保留一条",type:"warning"})},handleAdd:function(){this.anchors.qaQuestions.push({sort:this.anchors.qaQuestions[this.anchors.qaQuestions.length-1].sort+1,title:"",content:""})},handleDel:function(t){1!=this.anchors.qaQuestions.length?this.anchors.qaQuestions=this.anchors.qaQuestions.filter((function(e,i){return i!==t})):this.$message({message:"至少保留一条",type:"warning"})},getList:function(){var t=this;this.listLoading=!0,this.$axios.get("/admin/qa/getQa",{params:this.listQuery}).then((function(e){t.list=e.data.data,t.total=e.data.total,t.listLoading=!1})).catch((function(){t.listLoading=!1}))},onAddImg:function(){this.anchors.img_zip.push({desc:"",file:""})},onAddtrip:function(){this.anchors.trip_zip.push({desc:"",file:""})},handleAvatarSuccess:function(t,e,i,a){t.data&&(this.anchors.img_zip[a].file="".concat(window.location.protocol,"//").concat(window.location.host).concat(t.data))},handleSuccess:function(t,e,i,a){console.log(t,e,i),t.data&&(this.anchors.trip_zip[a].file="".concat(window.location.protocol,"//").concat(window.location.host).concat(t.data))},handleRegex:function(t){var e=/\/([^\/]+)$/,i=t.match(e);return i?i[1]:t},handleFilter:function(){this.listQuery.page=1,this.getList()},onAdd:function(t){this.dialogCreate=!0,t.id?(this.title="编辑QA",t.qaQuestions.length?this.anchors=Object(s["a"])({},t):this.anchors=Object(s["a"])(Object(s["a"])({},t),{},{qaQuestions:[{sort:1,title:"",content:""}]}),this.anchors.img_zip=t.img_zip?t.img_zip:[{desc:"",file:""}],this.anchors.trip_zip=t.trip_zip?t.trip_zip:[{desc:"",file:""}]):(this.title="添加QA",this.anchors.qaQuestions=[{sort:1,title:"",content:""}],this.anchors.img_zip=[{desc:"",file:""}],this.anchors.trip_zip=[{desc:"",file:""}])},onSave:function(){var t=this;if(!this.loading){this.loading=!0;var e="添加QA"==this.title?"/admin/qa/addQa":"/admin/qa/editQa";this.$axios.post(e,this.anchors).then((function(){t.dialogCreate=!1,t.loading=!1,t.getList()})).catch((function(){t.loading=!1}))}},onDel:function(t){var e=this;this.$axios.post("/admin/qa/delQa",{id:t.id}).then((function(){e.getList()})).catch((function(){}))},getQaCity:function(){var t=this;this.$axios.post("/admin/qacity/getQaCity").then((function(e){t.getQaCitys=e.data,t.getList()})).catch((function(){}))},updateSort:function(t){var e=this;this.$axios.post("/admin/qa/editQa",{id:t.id,sort:t.sort}).then((function(){e.getList()})).catch((function(){}))},updateStatus:function(t){var e=this;this.$axios.post("/admin/qa/editQa",{id:t.id,status:t.status}).then((function(){e.getList()})).catch((function(){}))}},mounted:function(){var t=this;setTimeout((function(){t.html="模拟 Ajax 异步设置内容 HTML
"}),1500)},beforeDestroy:function(){var t=this.editor;null!=t&&t.destroy()}},b=y,C=(i("50ec"),i("593b"),Object(f["a"])(b,a,n,!1,null,"c506adf8",null));e["default"]=C.exports},"50ec":function(t,e,i){"use strict";i("1890")},"67f2":function(t,e,i){"use strict";var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"pagination-container",class:{hidden:t.hidden}},[i("el-pagination",t._b({attrs:{background:t.background,"current-page":t.currentPage,"page-size":t.pageSize,layout:t.layout,"page-sizes":t.pageSizes,total:t.total},on:{"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e},"update:pageSize":function(e){t.pageSize=e},"update:page-size":function(e){t.pageSize=e},"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}},"el-pagination",t.$attrs,!1))],1)},n=[],s=(i("a9e3"),i("09f4")),o={name:"Pagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:20},pageSizes:{type:Array,default:function(){return[10,20,30,50]}},layout:{type:String,default:"total, sizes, prev, pager, next, jumper"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{currentPage:{get:function(){return this.page},set:function(t){this.$emit("update:page",t)}},pageSize:{get:function(){return this.limit},set:function(t){this.$emit("update:limit",t)}}},methods:{handleSizeChange:function(t){this.$emit("pagination",{page:this.currentPage,limit:t}),this.autoScroll&&Object(s["a"])(0,800)},handleCurrentChange:function(t){this.$emit("pagination",{page:t,limit:this.pageSize}),this.autoScroll&&Object(s["a"])(0,800)}}},l=o,r=(i("7d30"),i("2877")),c=Object(r["a"])(l,a,n,!1,null,"28fdfbeb",null);e["a"]=c.exports},"7a17":function(t,e,i){},"7d30":function(t,e,i){"use strict";i("7a17")}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-6c9be1a1.371868d8.js b/service/public/static/js/chunk-6c9be1a1.371868d8.js
new file mode 100644
index 00000000..f7008d47
--- /dev/null
+++ b/service/public/static/js/chunk-6c9be1a1.371868d8.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6c9be1a1"],{"09f4":function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),Math.easeInOutQuad=function(t,e,n,a){return t/=a/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var a=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function i(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function l(t,e,n){var l=o(),r=t-l,s=20,u=0;e="undefined"===typeof e?500:e;var c=function t(){u+=s;var o=Math.easeInOutQuad(u,l,r,e);i(o),u0,expression:"total>0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}})],1)},i=[],o=n("67f2"),l={name:"Orderlist",components:{Pagination:o["a"]},filters:{},data:function(){return{list:[],total:0,listLoading:!0,listQuery:{page:1,limit:10},oss:{},item:{},dialogVisible:!1}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.$axios.get("/admin/orderbooks/list",{params:this.listQuery}).then((function(e){t.list=e.data.data,t.total=e.data.total,t.oss=e.ext,t.listLoading=!1}))},onBack:function(){var t=this;this.$axios.post("/admin/order/back",this.item).then((function(e){t.dialogVisible=!1,t.item={},t.getList()})).catch((function(t){}))},onPass:function(t){var e=this;this.$axios.post("/admin/orderbooks/updateStatus",{id:t.id}).then((function(t){e.dialogVisible=!1,e.item={},e.getList()})).catch((function(t){}))}}},r=l,s=(n("f9e7"),n("2877")),u=Object(s["a"])(r,a,i,!1,null,"3c40dbf0",null);e["default"]=u.exports},"67f2":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pagination-container",class:{hidden:t.hidden}},[n("el-pagination",t._b({attrs:{background:t.background,"current-page":t.currentPage,"page-size":t.pageSize,layout:t.layout,"page-sizes":t.pageSizes,total:t.total},on:{"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e},"update:pageSize":function(e){t.pageSize=e},"update:page-size":function(e){t.pageSize=e},"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}},"el-pagination",t.$attrs,!1))],1)},i=[],o=(n("a9e3"),n("09f4")),l={name:"Pagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:20},pageSizes:{type:Array,default:function(){return[10,20,30,50]}},layout:{type:String,default:"total, sizes, prev, pager, next, jumper"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{currentPage:{get:function(){return this.page},set:function(t){this.$emit("update:page",t)}},pageSize:{get:function(){return this.limit},set:function(t){this.$emit("update:limit",t)}}},methods:{handleSizeChange:function(t){this.$emit("pagination",{page:this.currentPage,limit:t}),this.autoScroll&&Object(o["a"])(0,800)},handleCurrentChange:function(t){this.$emit("pagination",{page:t,limit:this.pageSize}),this.autoScroll&&Object(o["a"])(0,800)}}},r=l,s=(n("7d30"),n("2877")),u=Object(s["a"])(r,a,i,!1,null,"28fdfbeb",null);e["a"]=u.exports},"7a17":function(t,e,n){},"7d30":function(t,e,n){"use strict";n("7a17")},f9e7:function(t,e,n){"use strict";n("ff84")},ff84:function(t,e,n){}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-6e1eea3c.16cbc044.js b/service/public/static/js/chunk-6e1eea3c.16cbc044.js
new file mode 100644
index 00000000..fc640290
--- /dev/null
+++ b/service/public/static/js/chunk-6e1eea3c.16cbc044.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6e1eea3c"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return l})),Math.easeInOutQuad=function(t,e,a,i){return t/=i/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function n(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function l(t,e,a){var l=r(),o=t-l,s=20,u=0;e="undefined"===typeof e?500:e;var c=function t(){u+=s;var r=Math.easeInOutQuad(u,l,o,e);n(r),u0,expression:"total>0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}})],1)},n=[],r=a("333d"),l={name:"Orderlist",components:{Pagination:r["a"]},filters:{statusFilter:function(t){var e={1:"success",0:"danger"};return e[t]}},data:function(){return{list:[],total:0,listLoading:!0,listQuery:{page:1,limit:10},item:{},dialogVisible:!1,dialog2Visible:!1,form:{}}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.$axios.get("/admin/log/index",{params:this.listQuery}).then((function(e){t.list=e.data.data,t.total=e.data.total,t.listLoading=!1}))}}},o=l,s=a("2877"),u=Object(s["a"])(o,i,n,!1,null,null,null);e["default"]=u.exports},"73e0":function(t,e,a){}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-71f57504.e85673bc.js b/service/public/static/js/chunk-71f57504.e85673bc.js
new file mode 100644
index 00000000..2d2fed94
--- /dev/null
+++ b/service/public/static/js/chunk-71f57504.e85673bc.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-71f57504"],{"0081":function(t,e,a){"use strict";a("17a6")},"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return s})),Math.easeInOutQuad=function(t,e,a,i){return t/=i/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function l(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function n(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function s(t,e,a){var s=n(),r=t-s,o=20,c=0;e="undefined"===typeof e?500:e;var u=function t(){c+=o;var n=Math.easeInOutQuad(c,s,r,e);l(n),c0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.setMode}}),a("el-dialog",{attrs:{title:"订单跟进",visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("el-form",{attrs:{"label-width":"130px",model:t.item}},[a("el-form-item",{attrs:{label:"产品名称"}},[t._v(" "+t._s(t.item.product_name)+" ")]),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"产品状态"}},[t._v(" "+t._s(t.item.order_status_name)+" ")]),a("el-form-item",{attrs:{label:"数量"}},[t._v(" "+t._s(t.item.quantity)+" ")]),a("el-form-item",{attrs:{label:"联系人"}},[t._v(" "+t._s(t.item.contact)+" ")]),a("el-form-item",{attrs:{label:"手机"}},[t._v(" "+t._s(t.item.mobile)+" ")]),a("el-form-item",{attrs:{label:"下单时间"}},[t._v(" "+t._s(t._f("parseTime")(t.item.create_at,"{y}-{m}-{d} {h}:{i}"))+" ")])],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"人员"}},[a("el-row",[a("el-col",{attrs:{span:3}},[t._v("大人")]),a("el-col",{attrs:{span:5}},[a("el-input",{attrs:{name:"adult",placeholder:"大人"},model:{value:t.item.personnel.adult,callback:function(e){t.$set(t.item.personnel,"adult",e)},expression:"item.personnel.adult"}})],1),a("el-col",{attrs:{span:3}},[t._v("老人")]),a("el-col",{attrs:{span:5}},[a("el-input",{attrs:{name:"old",placeholder:"老人"},model:{value:t.item.personnel.old,callback:function(e){t.$set(t.item.personnel,"old",e)},expression:"item.personnel.old"}})],1),a("el-col",{attrs:{span:3}},[t._v("小孩")]),a("el-col",{attrs:{span:5}},[a("el-input",{attrs:{name:"child",placeholder:"小孩"},model:{value:t.item.personnel.child,callback:function(e){t.$set(t.item.personnel,"child",e)},expression:"item.personnel.child"}})],1)],1)],1),1!==t.item.status?a("el-form-item",{attrs:{label:"核销码"}},[a("el-input",{attrs:{name:"check_sn",placeholder:"请输入平台核销码"},model:{value:t.item.check_sn,callback:function(e){t.$set(t.item,"check_sn",e)},expression:"item.check_sn"}})],1):t._e(),2!==t.item.status?a("el-form-item",{attrs:{label:"加微信"}},[a("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:t.item.is_wechat,callback:function(e){t.$set(t.item,"is_wechat",e)},expression:"item.is_wechat"}},[t._v("已加微信")])],1):t._e(),a("el-form-item",{attrs:{required:"",pros:"travel_date",label:"出游日期"}},[a("el-date-picker",{attrs:{type:"date",placeholder:"选择日期时间"},model:{value:t.item.travel_date,callback:function(e){t.$set(t.item,"travel_date",e)},expression:"item.travel_date"}})],1),1!==t.item.status?a("el-form-item",{attrs:{label:"返回日期"}},[a("el-date-picker",{attrs:{type:"date",placeholder:"选择日期时间"},model:{value:t.item.travel_end,callback:function(e){t.$set(t.item,"travel_end",e)},expression:"item.travel_end"}})],1):t._e(),2!==t.item.status?a("el-form-item",{attrs:{required:"",pros:"next_follow",label:"下次跟进时间"}},[a("el-date-picker",{attrs:{type:"datetime",placeholder:"选择日期时间"},model:{value:t.next_follow,callback:function(e){t.next_follow=e},expression:"next_follow"}})],1):t._e()],1)],1),a("el-form-item",{attrs:{label:"跟进状态"}},[t._l(t.status_arr,(function(e,i){return[i>0?a("el-radio",{attrs:{label:i,border:""},model:{value:t.item.status,callback:function(e){t.$set(t.item,"status",e)},expression:"item.status"}},[t._v(t._s(e))]):t._e()]}))],2),a("el-form-item",{attrs:{required:"",pros:"desc",label:"跟进说明"}},[a("el-input",{attrs:{type:"textarea"},model:{value:t.item.desc,callback:function(e){t.$set(t.item,"desc",e)},expression:"item.desc"}})],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.onSave(t.item)}}},[t._v("保 存")])],1),a("el-tabs",{attrs:{type:"border-card"},model:{value:t.active,callback:function(e){t.active=e},expression:"active"}},[a("el-tab-pane",{attrs:{name:"follow",label:"跟进记录"}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.item.follow}},[a("el-table-column",{attrs:{label:"日期",width:"138"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t._f("parseTime")(e.row.create_time,"{y}-{m}-{d} {h}:{i}")))])]}}])}),a("el-table-column",{attrs:{label:"跟进人",width:"110",prop:"name"}}),a("el-table-column",{attrs:{label:"状态",width:"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.status_arr[e.row.status]))])]}}])}),a("el-table-column",{attrs:{prop:"desc",label:"跟进说明"}})],1)],1),a("el-tab-pane",{attrs:{name:"finance",label:"财务记录"}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.item.finance}},[a("el-table-column",{attrs:{label:"日期"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t._f("parseTime")(e.row.create_time,"{y}-{m}-{d} {h}:{i}")))])]}}])}),a("el-table-column",{attrs:{label:"类型",width:"110"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.type_arr[e.row.type]))])]}}])}),a("el-table-column",{attrs:{label:"状态",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.total/100))])]}}])})],1)],1)],1)],1),a("el-dialog",{attrs:{title:"纯核销",visible:t.dialog2Visible},on:{"update:visible":function(e){t.dialog2Visible=e}}},[a("el-form",{attrs:{"label-width":"160px",model:t.form}},[a("el-form-item",{attrs:{label:"平台"}},[a("el-radio",{attrs:{label:"1"},model:{value:t.form.os,callback:function(e){t.$set(t.form,"os",e)},expression:"form.os"}},[t._v("美团")])],1),a("el-form-item",{attrs:{label:"核销码"}},[a("el-input",{attrs:{placeholder:"请输入平台核销码"},model:{value:t.form.check_sn,callback:function(e){t.$set(t.form,"check_sn",e)},expression:"form.check_sn"}})],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.onPass(t.form)}}},[t._v("保 存")])],1)],1),a("el-dialog",{attrs:{title:"申请转出订单",visible:t.applyVisible},on:{"update:visible":function(e){t.applyVisible=e}}},[a("el-form",{ref:"ruleForm",attrs:{"label-width":"160px",model:t.item3,rules:t.rules}},[t.isAll?t._e():a("el-form-item",{attrs:{label:"标题:"}},[a("el-input",{attrs:{disabled:""},model:{value:t.item3.product_name,callback:function(e){t.$set(t.item3,"product_name",e)},expression:"item3.product_name"}})],1),t.isAll?t._e():a("el-form-item",{attrs:{label:"订单号:"}},[a("el-input",{attrs:{disabled:""},model:{value:t.item3.sn,callback:function(e){t.$set(t.item3,"sn",e)},expression:"item3.sn"}})],1),a("el-form-item",{staticStyle:{width:"600px"},attrs:{label:"流转对象:",prop:"flowObj"}},[a("el-select",{attrs:{placeholder:"请选择"},on:{change:t.onChange2},model:{value:t.item3.flowObj,callback:function(e){t.$set(t.item3,"flowObj",e)},expression:"item3.flowObj"}},[a("el-form-item",{staticStyle:{display:"inline-flex","text-align":"left",width:"770px"}},t._l(t.adminList,(function(t){return a("el-option",{key:t.value,staticStyle:{width:"250px",display:"inline-flex","word-break":"break-all"},attrs:{label:t.username,value:t.id}})})),1)],1)],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t.item3.backs&&0==t.item3.backs.status?a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.onCancel(t.item3.flowObj)}}},[t._v("取 消")]):a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.onCirculationSave(t.item3.flowObj)}}},[t._v("确 认")])],1)],1)],1)},l=[],n=a("b85c"),s=a("5530"),r=a("c7eb"),o=a("1da1"),c=(a("a15b"),a("d81d"),a("a9e3"),a("b64b"),a("67f2")),u=a("f8b7"),d={name:"Orderlist",components:{Pagination:c["a"]},data:function(){return{active:"follow",types:{0:"",1:"",2:"",3:"primary",4:"success",5:"warning",6:"danger",7:"info"},types2:{1:"primary",2:"success",3:"warning"},status_arr:["待跟进","跟进中","已核销","核销失败","放弃跟单"],type_arr:["-","收益","支出"],timetype_arr:{},order_status:["#9e9f9c","#04bcd9","#fc9904","#1193f4","#48b14b","#eb1662","#9d1cb5"],follow_status:["#9e9f9c","#04bcd9","#fc9904","#1193f4","#48b14b","#eb1662"],options:[],value:null,next_follow:null,list:[],total:0,listLoading:!0,listQuery:{page:1,limit:10,times:[],status:null,admin:null,zhubo:null,os_status:[],appointment_status:""},item:{next_follow:"",personnel:{adult:""}},follow:[],dialogVisible:!1,dialog2Visible:!1,applyVisible:!1,oss:[],isSynchronization:!1,item3:{sn:null,backs:null,flowObj:"",os:null},os_arr:{1:"美团",2:"快手",3:"抖音(甄选)",5:"抖音(新国旅)"},multipleSelection:[],sn:[],adminList:[],form:{},isAll:!1,rules:{flowObj:[{required:!0,message:"请选择流转对象",trigger:"change"}]}}},created:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.listQuery.zhubo=t.$route.query.zhubo||null,t.$route.query.start&&t.$route.query.end&&(t.listQuery.times=[t.$route.query.start,t.$route.query.end]),t.setQuery("status"),t.setQuery("os_status"),t.setQuery("times"),t.setQuery("appointment_status"),t.getShortcutContent(),t.getAdminList();case 8:case"end":return e.stop()}}),e)})))()},mounted:function(){console.log(this.$route.query),this.setMode(),this.$route.query.id&&this.onInfo({id:this.$route.query.id})},computed:{tableMaxHeight:function(){return window.innerHeight-320+"px"}},watch:{$route:function(t,e){this.onInfo({id:this.$route.query.id})}},methods:{handleSelectionChange:function(t){this.multipleSelection=t;var e=[];this.multipleSelection.map((function(t){e.push(t.sn)})),this.sn=e},setQuery:function(t){this.$route.query.hasOwnProperty(t)?this.listQuery[t]=this.$route.query[t]:this.listQuery[t]=""},setMode:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.getList();case 2:case"end":return e.stop()}}),e)})))()},setOneClickRepair:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){var a;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=t.list.map((function(t){return t.id})),e.next=3,t.onOneClickRepair({id:a.join()});case 3:case"end":return e.stop()}}),e)})))()},getList:function(t){var e=this;return Object(o["a"])(Object(r["a"])().mark((function a(){var i,l;return Object(r["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(e.listQuery.excel=null,e.listQuery.is_refunded=1,1!=t){a.next=8;break}return e.listQuery.excel=1,i=e.listQuery.times[0]instanceof Date,l=Object(s["a"])(Object(s["a"])({},e.listQuery),{},{times:[i?e.listQuery.times[0].toISOString():"",i?e.listQuery.times[1].toISOString():""]}),window.open("/admin/order/index?"+e.objectToQuery(l)),a.abrupt("return");case 8:return a.next=10,e.$axios.get("/admin/order/index",{params:e.listQuery}).then((function(t){e.list=t.data.data,e.total=t.data.total,e.timetype_arr=t.ext.timetype,e.oss=t.ext.oss,e.listLoading=!1,e.isSynchronization=!0}));case 10:case"end":return a.stop()}}),a)})))()},objectToQuery:function(t){return Object.keys(t).map((function(e){var a=t[e];return void 0==a||null==a?"":encodeURIComponent(e)+"="+encodeURIComponent(a)})).join("&")},onInfo:function(t){var e=this;this.value=null,this.next_follow=null,this.$set(t,"next_follow",null),this.active="follow",this.$axios.get("/admin/order/info",{params:{id:t.id}}).then((function(t){e.item=t.data,e.dialogVisible=!0})).catch((function(t){}))},resetForm:function(t){this.$refs[t].resetFields()},getAdminList:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.$axios.get("/admin/admin/index",{params:{limit:100,status:1,is_order:1,type_desc:e}}).then((function(e){t.adminList=e.data.data,t.listLoading=!1})).catch((function(t){}))},onCirculation:function(t){this.getAdminList(t.category_desc),this.applyVisible=!0,this.isAll=!1,this.item3=Object(s["a"])(Object(s["a"])({},t),{},{os:Number(t.os)}),console.log(this.item3),this.item3.backs&&this.item3.backs.admin_id?this.item3.flowObj=this.item3.backs.admin_id:this.resetForm("ruleForm")},onCirculationAll:function(){this.applyVisible=!0,this.isAll=!0},onCirculationSave:function(t){var e=this;this.$refs.ruleForm.validate(function(){var a=Object(o["a"])(Object(r["a"])().mark((function a(i){var l;return Object(r["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(!i){a.next=11;break}if(!e.isAll){a.next=5;break}e.$confirm("是否批量流转订单","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(o["a"])(Object(r["a"])().mark((function a(){return Object(r["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(u["b"])({sn:e.sn,to_admin_id:t});case 2:l=a.sent,l.data&&(e.$message({message:"批量流转订单成功",type:"success"}),e.applyVisible=!1,e.isAll=!1,e.getList());case 4:case"end":return a.stop()}}),a)})))),a.next=9;break;case 5:return a.next=7,Object(u["a"])({sn:e.item3.sn,os:e.item3.os,to_admin_id:t});case 7:l=a.sent,l.data&&(e.$message({message:"流转订单成功",type:"success"}),e.applyVisible=!1,e.isAll=!1,e.getList());case 9:a.next=12;break;case 11:return a.abrupt("return",!1);case 12:case"end":return a.stop()}}),a)})));return function(t){return a.apply(this,arguments)}}())},onCancel:function(){var t=this;this.$refs.ruleForm.validate((function(e){if(!e)return!1;t.$axios.post("/admin/order/backcancel",{id:t.item3.id}).then((function(e){t.applyVisible=!1,t.isAll=!1,t.getList()})).catch((function(t){console.log(t)}))}))},onBack:function(){var t=this;this.$axios.post("/admin/order/back",this.item).then((function(e){t.dialogVisible=!1,t.item={},t.getList()})).catch((function(t){}))},onSave:function(t){var e=this;this.$axios.post("/admin/order/save",{id:t.id,check_sn:t.check_sn,is_wechat:t.is_wechat,travel_end:t.travel_end,travel_date:t.travel_date,desc:t.desc,status:t.status,next_follow:this.next_follow,personnel:this.item.personnel}).then((function(t){e.dialogVisible=!1,e.item={next_follow:"",personnel:{adult:""}},e.$router.push({path:"/order/index"})})).catch((function(t){}))},onPass:function(t){var e=this;this.$axios.post("/admin/order/pass",{check_sn:t.check_sn}).then((function(t){e.dialog2Visible=!1,e.form={}})).catch((function(t){}))},onChange:function(t){this.$set(this.item,"desc",t+(void 0!=this.item.desc?this.item.desc:""))},onChange2:function(t){this.$set(this.item,"to_admin_id",t+(void 0!=this.item.admin_id?this.item.admin_id:""))},handleChange:function(t){console.log(t)},getShortcutContent:function(){var t=this;this.listLoading=!0,this.$axios.get("/admin/shortcutContent/list",{params:{page:1,limit:50,status:1}}).then((function(e){var a,i=Object(n["a"])(e.data.data);try{for(i.s();!(a=i.n()).done;){var l=a.value;t.options.push({value:l.id,label:l.content})}}catch(s){i.e(s)}finally{i.f()}})).catch((function(){}))},onOneClickRepair:function(t){},onOneClickYyHandle:function(t){var e=this;this.$axios.post("/admin/order/changeAppointmentStatus",{id:t.id}).then((function(t){e.dialogVisible=!1,e.$notify({title:"成功",message:"已处理",type:"success"})})).catch((function(t){e.$notify.error({title:"错误",message:t})}))}}},p=d,m=(a("0081"),a("2877")),f=Object(m["a"])(p,i,l,!1,null,"79892438",null);e["default"]=f.exports},f8b7:function(t,e,a){"use strict";a.d(e,"a",(function(){return l})),a.d(e,"b",(function(){return n}));var i=a("b775");function l(t){return Object(i["a"])({url:"/admin/order/back",method:"post",data:t})}function n(t){return Object(i["a"])({url:"admin/order/backBatch",method:"post",data:t})}}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-737f3001.8ad73dc3.js b/service/public/static/js/chunk-737f3001.8ad73dc3.js
new file mode 100644
index 00000000..d57abced
--- /dev/null
+++ b/service/public/static/js/chunk-737f3001.8ad73dc3.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-737f3001"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return r})),Math.easeInOutQuad=function(t,e,a,i){return t/=i/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function n(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function r(t,e,a){var r=o(),s=t-r,l=20,c=0;e="undefined"===typeof e?500:e;var u=function t(){c+=l;var o=Math.easeInOutQuad(c,r,s,e);n(o),c0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}}),a("el-dialog",{attrs:{title:"修改管理员",visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("el-form",{attrs:{"label-width":"120px",model:t.item}},[a("el-form-item",{attrs:{label:"用户名"}},[a("el-input",{attrs:{name:"username",placeholder:"管理员的用户名"},model:{value:t.item.username,callback:function(e){t.$set(t.item,"username",e)},expression:"item.username"}})],1),a("el-form-item",{attrs:{label:"姓名"}},[a("el-input",{attrs:{name:"name",placeholder:"管理员的姓名"},model:{value:t.item.name,callback:function(e){t.$set(t.item,"name",e)},expression:"item.name"}})],1),a("el-form-item",{attrs:{label:"手机"}},[a("el-input",{attrs:{name:"name",placeholder:"发送短时的时候会用到这个手机"},model:{value:t.item.mobile,callback:function(e){t.$set(t.item,"mobile",e)},expression:"item.mobile"}})],1),a("el-form-item",{attrs:{label:"微信"}},[a("el-input",{attrs:{name:"wechat",placeholder:"微信号"},model:{value:t.item.wechat,callback:function(e){t.$set(t.item,"wechat",e)},expression:"item.wechat"}})],1),a("el-form-item",{attrs:{label:"微信图片"}},[a("el-upload",{attrs:{action:"","list-type":"picture-card","multiple:false":"","show-file-list":!1,"http-request":t.handlesAvatarSuccess,"on-success":function(e,a,i){return t.handleSuccess(e,a,i,1)}}},[t.item.wechat_pic?a("img",{staticStyle:{width:"120px",height:"120px","margin-top":"14px"},attrs:{src:t.item.wechat_pic}}):t._e(),a("i",{staticClass:"el-icon-plus",attrs:{slot:"default"},slot:"default"})])],1),a("el-form-item",{attrs:{label:"密码"}},[a("el-input",{attrs:{type:"password",name:"password",placeholder:"管理员的新密码"},model:{value:t.item.password,callback:function(e){t.$set(t.item,"password",e)},expression:"item.password"}})],1),a("el-form-item",{attrs:{label:"是否分配"}},[a("el-switch",{attrs:{"active-text":"分配","active-value":1,"inactive-text":"不分配","inactive-value":0},model:{value:t.item.is_order,callback:function(e){t.$set(t.item,"is_order",e)},expression:"item.is_order"}})],1),a("el-form-item",{attrs:{label:"是否主播"}},[a("el-switch",{attrs:{"active-text":"主播","active-value":1,"inactive-text":"","inactive-value":0},model:{value:t.item.is_anchor,callback:function(e){t.$set(t.item,"is_anchor",e)},expression:"item.is_anchor"}})],1),a("el-form-item",{attrs:{label:"是否加盟商"}},[a("el-switch",{attrs:{"active-text":"加盟商","active-value":1,"inactive-text":"","inactive-value":0},model:{value:t.item.is_franchisee,callback:function(e){t.$set(t.item,"is_franchisee",e)},expression:"item.is_franchisee"}})],1),a("el-form-item",{attrs:{label:"线路"}},[a("el-select",{attrs:{filterable:"",multiple:"",placeholder:"请选择"},model:{value:t.item.product_ids,callback:function(e){t.$set(t.item,"product_ids",e)},expression:"item.product_ids"}},t._l(t.options,(function(t){return a("el-option",{key:t.id,attrs:{label:t.product_name,value:t.id}})})),1)],1),a("div",{staticClass:"addRoutes"},[a("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-circle-plus"},on:{click:t.handleAddRoutes}},[t._v("添加线路")])],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.onSave(t.item)}}},[t._v("保 存")])],1)],1),a("el-dialog",{attrs:{title:"添加排班",visible:t.dialogWork},on:{"update:visible":function(e){t.dialogWork=e}}},[a("el-form",{attrs:{"label-width":"120px",model:t.from}},[a("el-form-item",{attrs:{label:"上班日期"}},[a("el-date-picker",{staticStyle:{"margin-right":"10px"},attrs:{type:"dates",placeholder:"选择一个或多个日期"},model:{value:t.from.dates,callback:function(e){t.$set(t.from,"dates",e)},expression:"from.dates"}})],1),a("el-form-item",{attrs:{label:"上班时间段"}},[a("el-time-picker",{attrs:{"is-range":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",placeholder:"选择时间范围"},model:{value:t.from.time,callback:function(e){t.$set(t.from,"time",e)},expression:"from.time"}})],1),a("el-form-item",{attrs:{label:"渠道"}},[a("el-checkbox-group",{model:{value:t.from.oss,callback:function(e){t.$set(t.from,"oss",e)},expression:"from.oss"}},t._l(t.oss,(function(e,i,n){return a("el-checkbox",{key:n,attrs:{label:i}},[t._v(t._s(e))])})),1)],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.onWork()}}},[t._v("保 存")])],1)],1),a("el-dialog",{attrs:{title:"添加线路",visible:t.isAddRouters,width:"30%"},on:{"update:visible":function(e){t.isAddRouters=e}}},[a("el-form",{ref:"AddRoutersForm",attrs:{rules:t.addRoutes,model:t.AddRoutersForm,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"平台",prop:"os"}},[a("el-select",{attrs:{placeholder:"请选择平台"},model:{value:t.AddRoutersForm.os,callback:function(e){t.$set(t.AddRoutersForm,"os",e)},expression:"AddRoutersForm.os"}},t._l(t.platformList,(function(t){return a("el-option",{attrs:{label:t.os,value:t.id}})})),1)],1),a("el-form-item",{attrs:{label:"线路名称",prop:"product_name"}},[a("el-input",{attrs:{placeholder:"请输入线路名称"},model:{value:t.AddRoutersForm.product_name,callback:function(e){t.$set(t.AddRoutersForm,"product_name",e)},expression:"AddRoutersForm.product_name"}})],1),a("el-form-item",{attrs:{label:"线路id",prop:"third_product_id"}},[a("el-input",{attrs:{placeholder:"请输入线路id"},model:{value:t.AddRoutersForm.third_product_id,callback:function(e){t.$set(t.AddRoutersForm,"third_product_id",e)},expression:"AddRoutersForm.third_product_id"}})],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.isAddRouters=!1}}},[t._v("取 消")]),a("el-button",{attrs:{type:"primary"},on:{click:t.handleAddRouters}},[t._v("确 定")])],1)],1)],1)},n=[],o=a("5530"),r=a("c7eb"),s=a("1da1"),l=(a("99af"),a("a15b"),a("d81d"),a("a9e3"),a("d3b7"),a("8a79"),a("333d")),c=a("50fc"),u=a("5f87"),d={name:"Adminlist",components:{Pagination:l["a"]},data:function(){return{list:[],ids:"",oss:[],platformList:[],isAddRouters:!1,AddRoutersForm:{third_product_id:"",product_name:"",os:""},from:{oss:[]},total:0,listLoading:!0,listQuery:{page:1,limit:20},dialogVisible:!1,dialogWork:!1,item:{btn:[],product_ids:[]},route_type:"",options:[],addRoutes:{third_product_id:[{required:!0,message:"请输入线路id",trigger:"blur"}],os:[{required:!0,message:"请选择平台",trigger:"change"}],product_name:[{required:!0,message:"请输入线路名称",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.$axios.get("/admin/admin/index",{params:this.listQuery}).then((function(e){t.list=e.data.data,t.total=e.data.total,t.oss=e.ext.oss,console.log(t.oss),t.listLoading=!1})).catch((function(t){}))},checkIfUrlContainsImage:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=[".jpg",".jpeg",".png",".gif",".bmp",".svg",".webp"];return e.some((function(e){return t.toLowerCase().endsWith(e)}))},handleAddRoutes:function(){this.isAddRouters=!0},handlesAvatarSuccess:function(t){var e=this;return Object(s["a"])(Object(r["a"])().mark((function a(){var i,n;return Object(r["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,i=new FormData,i.append("file",t.file),e.upLoading=!0,e,a.next=7,e.$axios.post("/admin/upload/index",i,{headers:{"Content-type":"multipart/form-data","X-Token":Object(u["a"])()}});case 7:n=a.sent,e.item.wechat_pic="".concat(window.location.protocol,"//").concat(window.location.host).concat(n.data),t.onSuccess(n),a.next=15;break;case 12:a.prev=12,a.t0=a["catch"](0),console.error("error:",a.t0);case 15:case"end":return a.stop()}}),a,null,[[0,12]])})))()},handleSuccess:function(t,e,a){console.log(t,e,a),t.data&&(this.item.wechat_pic="".concat(window.location.protocol,"//").concat(window.location.host).concat(t.data))},handleAddRouters:function(){var t=this;this.$refs["AddRoutersForm"].validate(function(){var e=Object(s["a"])(Object(r["a"])().mark((function e(a){var i,n;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=14;break}return e.next=3,Object(c["b"])(t.AddRoutersForm);case 3:if(i=e.sent,t.isAddRouters=!1,"ok"!=i.msg){e.next=12;break}return t.$message({message:"线路添加成功",type:"success"}),e.next=9,Object(c["e"])();case 9:n=e.sent,t.options=n.data.data,t.platformList=n.ext.oss;case 12:e.next=15;break;case 14:return e.abrupt("return",!1);case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},setStatus:function(t){var e=this;console.log(t),this.$axios.post("/admin/admin/disabled",t).then((function(t){e.$notify({title:"成功",message:"修改成功",type:"success",duration:2e3})})).catch((function(t){e.$notify({title:"成功",message:"修改失败",type:"error",duration:2e3})}))},handleCreate:function(t){var e=this;return Object(s["a"])(Object(r["a"])().mark((function a(){var i;return Object(r["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return e.dialogVisible=!0,a.next=3,Object(c["e"])();case 3:i=a.sent,e.options=i.data.data,e.platformList=i.ext.oss,e.item=Object(o["a"])({},t),e.item.product_ids=t.product_ids.split(",").map((function(t){return Number(t)}));case 8:case"end":return a.stop()}}),a)})))()},onSave:function(t){var e=this;this.$axios.post("/admin/admin/save",Object(o["a"])(Object(o["a"])({},t),{},{product_ids:t.product_ids.join()})).then((function(t){e.$message({message:"成功",type:"success"}),e.item={},e.dialogVisible=!1,e.getList()})).catch((function(t){}))},onWork:function(t){var e=this;if(t)return this.item=t,this.from={oss:[]},void(this.dialogWork=!0);this.from.admin_id=this.item.id,this.$axios.post("/admin/work/saves",this.from).then((function(t){e.item={},e.dialogWork=!1})).catch((function(t){}))},setTime:function(t){console.log(t)}}},m=d,p=(a("f1b8"),a("2877")),f=Object(p["a"])(m,i,n,!1,null,"c49a2ed6",null);e["default"]=f.exports},"2cbf":function(t,e,a){"use strict";a("73e0")},"333d":function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"pagination-container",class:{hidden:t.hidden}},[a("el-pagination",t._b({attrs:{background:t.background,"current-page":t.currentPage,"page-size":t.pageSize,layout:t.layout,"page-sizes":t.pageSizes,total:t.total},on:{"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e},"update:pageSize":function(e){t.pageSize=e},"update:page-size":function(e){t.pageSize=e},"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}},"el-pagination",t.$attrs,!1))],1)},n=[],o=(a("a9e3"),a("09f4")),r={name:"Pagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:20},pageSizes:{type:Array,default:function(){return[10,20,30,50]}},layout:{type:String,default:"total, sizes, prev, pager, next, jumper"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{currentPage:{get:function(){return this.page},set:function(t){this.$emit("update:page",t)}},pageSize:{get:function(){return this.limit},set:function(t){this.$emit("update:limit",t)}}},methods:{handleSizeChange:function(t){this.$emit("pagination",{page:this.currentPage,limit:t}),this.autoScroll&&Object(o["a"])(0,800)},handleCurrentChange:function(t){this.$emit("pagination",{page:t,limit:this.pageSize}),this.autoScroll&&Object(o["a"])(0,800)}}},s=r,l=(a("2cbf"),a("2877")),c=Object(l["a"])(s,i,n,!1,null,"6af373ef",null);e["a"]=c.exports},"364a":function(t,e,a){},"50fc":function(t,e,a){"use strict";a.d(e,"e",(function(){return n})),a.d(e,"b",(function(){return o})),a.d(e,"f",(function(){return r})),a.d(e,"g",(function(){return s})),a.d(e,"d",(function(){return l})),a.d(e,"a",(function(){return c})),a.d(e,"c",(function(){return u})),a.d(e,"i",(function(){return d})),a.d(e,"h",(function(){return m}));a("99af");var i=a("b775");function n(){return Object(i["a"])({url:"admin/products/list",method:"get"})}function o(t){return Object(i["a"])({url:"/admin/products/add",method:"post",data:t})}function r(t){return Object(i["a"])({url:"/admin/products/list?page=".concat(t.page,"&limit=").concat(t.limit),method:"get"})}function s(t){return Object(i["a"])({url:"/admin/products/add",method:"post",data:t})}function l(t){return Object(i["a"])({url:"/admin/products/productschedules?id=".concat(t),method:"get"})}function c(t){return Object(i["a"])({url:"/admin/products/addproductschedules",method:"post",data:t})}function u(){return Object(i["a"])({url:"/admin/setting/getContractSetting",method:"get"})}function d(t){return Object(i["a"])({url:"/admin/setting/savecontractsetting",method:"post",data:t})}function m(){return Object(i["a"])({url:"/admin/setting/getContractSetting",method:"get"})}},"73e0":function(t,e,a){},"8a79":function(t,e,a){"use strict";var i=a("23e7"),n=a("06cf").f,o=a("50c4"),r=a("5a34"),s=a("1d80"),l=a("ab13"),c=a("c430"),u="".endsWith,d=Math.min,m=l("endsWith"),p=!c&&!m&&!!function(){var t=n(String.prototype,"endsWith");return t&&!t.writable}();i({target:"String",proto:!0,forced:!p&&!m},{endsWith:function(t){var e=String(s(this));r(t);var a=arguments.length>1?arguments[1]:void 0,i=o(e.length),n=void 0===a?i:d(o(a),i),l=String(t);return u?u.call(e,l,n):e.slice(n-l.length,n)===l}})},f1b8:function(t,e,a){"use strict";a("364a")}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-87abe4ec.533adf9f.js b/service/public/static/js/chunk-87abe4ec.533adf9f.js
new file mode 100644
index 00000000..6a793fd5
--- /dev/null
+++ b/service/public/static/js/chunk-87abe4ec.533adf9f.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-87abe4ec"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return s})),Math.easeInOutQuad=function(t,e,a,i){return t/=i/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function n(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function s(t,e,a){var s=r(),l=t-s,o=20,u=0;e="undefined"===typeof e?500:e;var c=function t(){u+=o;var r=Math.easeInOutQuad(u,s,l,e);n(r),u0,expression:"total>0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}})],1)},n=[],r=a("5530"),s=(a("a15b"),a("d81d"),a("b64b"),a("67f2")),l={name:"productNameList",components:{Pagination:s["a"]},data:function(){return{active:"follow",types:{0:"",1:"",2:"",3:"primary",4:"success",5:"warning"},types2:{1:"primary",2:"success",3:"warning"},status_arr:["待跟进","跟进中","已核销","核销失败","放弃跟单"],type_arr:["-","收益","支出"],timetype_arr:{},order_status:["#9e9f9c","#04bcd9","#fc9904","#1193f4","#48b14b","#eb1662","#9d1cb5"],follow_status:["#9e9f9c","#04bcd9","#fc9904","#1193f4","#48b14b","#eb1662"],options:[],list:[],total:0,listLoading:!0,listQuery:{page:1,limit:10,product_name:""},os_arr:[{value:"1",label:"美团"},{value:"2",label:"快手"},{value:"3",label:"抖音"},{value:"5",label:"抖音(新国旅)"}],form:{}}},mounted:function(){this.listQuery.status=this.$route.query.status||null,this.listQuery.zhubo=this.$route.query.zhubo||null,this.$route.query.start&&this.$route.query.end&&(this.listQuery.times=[this.$route.query.start,this.$route.query.end]),this.getList()},activated:function(){this.listQuery.status=this.$route.query.status||null,this.listQuery.zhubo=this.$route.query.zhubo||null,this.$route.query.start&&this.$route.query.end&&(this.listQuery.times=[this.$route.query.start,this.$route.query.end]),this.getList()},methods:{getList:function(t){var e=this;if(1!=t)this.listQuery.excel=0,this.$axios.get("/admin/index/productNameList",{params:this.listQuery}).then((function(t){e.listLoading=!1,console.log(e.listLoading),e.list=t.data.data,e.total=t.data.total,e.timetype_arr=t.ext.timetype,e.oss=t.ext.oss})).catch((function(){}));else{if(this.listQuery.excel=1,console.log("l:"+this.listQuery.times),!this.listQuery.times)return void this.$message({message:"请选择日期",type:"warning"});var a=this.listQuery.times[0]instanceof Date,i=Object(r["a"])(Object(r["a"])({},this.listQuery),{},{times:[a?this.listQuery.times[0].toISOString():"",a?this.listQuery.times[1].toISOString():""]});window.open("/admin/index/productNameList?"+this.objectToQuery(i))}},objectToQuery:function(t){return Object.keys(t).map((function(e){var a=t[e];return void 0==a||null==a?"":encodeURIComponent(e)+"="+encodeURIComponent(a)})).join("&")}}},o=l,u=(a("7d6b"),a("2877")),c=Object(u["a"])(o,i,n,!1,null,"4c275e32",null);e["default"]=c.exports},c762:function(t,e,a){}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-8eb7ee56.3f505444.js b/service/public/static/js/chunk-8eb7ee56.3f505444.js
new file mode 100644
index 00000000..40bf1dad
--- /dev/null
+++ b/service/public/static/js/chunk-8eb7ee56.3f505444.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8eb7ee56"],{"50fc":function(t,e,n){"use strict";n.d(e,"e",(function(){return i})),n.d(e,"b",(function(){return a})),n.d(e,"f",(function(){return r})),n.d(e,"g",(function(){return c})),n.d(e,"d",(function(){return s})),n.d(e,"a",(function(){return l})),n.d(e,"c",(function(){return d})),n.d(e,"i",(function(){return u})),n.d(e,"h",(function(){return f}));n("99af");var o=n("b775");function i(){return Object(o["a"])({url:"admin/products/list",method:"get"})}function a(t){return Object(o["a"])({url:"/admin/products/add",method:"post",data:t})}function r(t){return Object(o["a"])({url:"/admin/products/list?page=".concat(t.page,"&limit=").concat(t.limit),method:"get"})}function c(t){return Object(o["a"])({url:"/admin/products/add",method:"post",data:t})}function s(t){return Object(o["a"])({url:"/admin/products/productschedules?id=".concat(t),method:"get"})}function l(t){return Object(o["a"])({url:"/admin/products/addproductschedules",method:"post",data:t})}function d(){return Object(o["a"])({url:"/admin/setting/getContractSetting",method:"get"})}function u(t){return Object(o["a"])({url:"/admin/setting/savecontractsetting",method:"post",data:t})}function f(){return Object(o["a"])({url:"/admin/setting/getContractSetting",method:"get"})}},8233:function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"contract"},[n("div",{staticClass:"lay"},[n("div",{staticClass:"flex"},[n("el-button",{attrs:{type:"text"}},[t._v("境内合同:")]),n("el-button",{attrs:{type:"primary",icon:"el-icon-upload "},on:{click:function(e){return t.openDialog(1)}}},[t._v(" 上传境内合同 ")]),t.contractObj.domestic?n("el-button",{attrs:{type:"success"},on:{click:function(e){return t.downloadWord(1)}}},[t._v(" 下载境内合同 ")]):t._e()],1),n("div",{staticClass:"flex"},[n("el-button",{attrs:{type:"text"}},[t._v("境外合同:")]),n("el-button",{attrs:{type:"danger",icon:"el-icon-s-promotion"},on:{click:function(e){return t.openDialog(2)}}},[t._v(" 上传境外合同 ")]),t.contractObj.abroad?n("el-button",{attrs:{type:"success"},on:{click:function(e){return t.downloadWord(2)}}},[t._v(" 下载境外合同 ")]):t._e()],1)]),n("el-dialog",{attrs:{visible:t.dialogVisible,title:t.dialogTitle},on:{"update:visible":function(e){t.dialogVisible=e},open:t.onOpen,close:t.onClose}},[n("el-form",{ref:"elForm",attrs:{model:t.formData,size:"medium","label-width":"120px"}},[n("el-form-item",{attrs:{label:"上传",prop:"trip_info",required:""}},[n("el-upload",{ref:"field105",attrs:{action:"","before-upload":t.wordBeforeUpload,"http-request":t.handlesAvatarSuccess,"on-success":t.handleWordSuccess,"on-error":t.handleUploadError,"on-remove":t.handleRemove,"before-remove":t.beforeRemove,limit:1,"file-list":t.fieldFileList,accept:".pdf,.docx,.xlsx"}},[n("el-button",{attrs:{size:"small",type:"primary",icon:"el-icon-upload"}},[t._v("点击上传")])],1)],1)],1),n("div",{attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:t.close}},[t._v("取消")]),n("el-button",{attrs:{type:"primary"},on:{click:t.handelConfirm}},[t._v("确定")])],1)],1)],1)},i=[],a=n("c7eb"),r=n("1da1"),c=(n("99af"),n("c740"),n("caad"),n("d81d"),n("a434"),n("b0c0"),n("d3b7"),n("3ca3"),n("ddb0"),n("2b3d"),n("bf19"),n("9861"),n("50fc")),s=n("5f87"),l={data:function(){return{contractObj:{},dialogVisible:!1,dialogTitle:"",fieldFileList:[],formData:{domestic:"",abroad:""},uploadPercent:0}},created:function(){this.getList()},methods:{getList:function(){var t=this;return Object(r["a"])(Object(a["a"])().mark((function e(){var n;return Object(a["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(c["c"])();case 2:n=e.sent,t.contractObj=n.data;case 4:case"end":return e.stop()}}),e)})))()},downloadWord:function(t){return Object(r["a"])(Object(a["a"])().mark((function e(){var n,o,i,r,s,l;return Object(a["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(c["h"])();case 2:n=e.sent,0===n.error&&(o=1===t?n.data.domestic:n.data.abroad,i=o.substring(o.lastIndexOf(".")),r=(1===t?"境内合同":"境外合同")+i,s=window.URL.createObjectURL(new Blob([o])),l=document.createElement("a"),l.style.display="none",l.href=s,l.setAttribute("download",r),document.body.appendChild(l),l.click()),console.log(n,"下载合同");case 5:case"end":return e.stop()}}),e)})))()},onOpen:function(){},onClose:function(){this.$refs["elForm"].resetFields(),this.$refs.field105.uploadFiles=[],this.fieldFileList=[],this.formData={domestic:"",abroad:""}},close:function(){console.log("1111",this.$refs.field105.uploadFiles),this.dialogVisible=!1,this.$refs.field105.uploadFiles=[]},openDialog:function(t){this.dialogTitle=1===t?"境内合同":"境外合同",this.dialogVisible=!0},handelConfirm:function(){var t=this;return Object(r["a"])(Object(a["a"])().mark((function e(){var n,o,i,r;return Object(a["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n="境内合同"===t.dialogTitle,o=n?"domestic":"abroad",i="请上传".concat(n?"境内":"境外","合同"),t.formData[o]){e.next=5;break}return e.abrupt("return",t.$message.error(i));case 5:return e.next=7,Object(c["i"])(t.formData);case 7:r=e.sent,0===r.error&&(t.$message.success("上传成功"),t.getList()),t.close(),console.log(r,"wwww");case 11:case"end":return e.stop()}}),e)})))()},handlesAvatarSuccess:function(t){var e=this;return Object(r["a"])(Object(a["a"])().mark((function n(){var o,i,r,c;return Object(a["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,o=new FormData,o.append("file",t.file),n.next=5,e.$axios.post("/admin/upload/index",o,{headers:{"Content-type":"multipart/form-data","X-Token":Object(s["a"])()}});case 5:i=n.sent,console.log(i,"收拾收拾"),0===i.error&&t.onSuccess(i),n.next=17;break;case 10:n.prev=10,n.t0=n["catch"](0),console.log(t,"error--handlesAvatarSuccess"),r=t.file.uid,c=e.$refs.field105.uploadFiles.findIndex((function(t){return t.uid===r})),e.$refs.field105.uploadFiles.splice(c,1),e.$message.error("上传失败");case 17:case"end":return n.stop()}}),n,null,[[0,10]])})))()},handleWordSuccess:function(t,e,n,o){if(console.log(t,e,n,"成功了"),t){var i="境内合同"===this.dialogTitle,a="".concat(window.location.protocol,"//").concat(window.location.host).concat(t.data);i?this.formData.domestic=a:this.formData.abroad=a,this.fieldFileList=[{name:e.name,uid:e.uid,url:a}],this.$message.success("上传成功")}},beforeRemove:function(t,e){return this.$confirm("确定移除 ".concat(t.name,"?"))},handleRemove:function(t,e){var n=this;console.log(t,e,"handleRemove"),this.formData.abroad="",this.formData.domestic="",this.fieldFileList.map((function(e,o){e.uid===t.uid&&n.fieldFileList.splice(o,1)}))},handleUploadError:function(t,e){var n=this;this.$message.error("上传失败: ".concat(e.name)),console.log(this.fieldFileList,"失败了"),this.fieldFileList.map((function(t,o){t.uid===e.uid&&n.fieldFileList.splice(o,1)}))},wordBeforeUpload:function(t){var e=["application/pdf","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"].includes(t.type),n=t.size/1024/1024<2;return e||this.$message.error("只允许上传 PDF、DOCX、XLSX 格式的文件"),n||this.$message.error("文件大小超过 2MB"),e&&n}}},d=l,u=(n("a7c3"),n("2877")),f=Object(u["a"])(d,o,i,!1,null,"c53fc720",null);e["default"]=f.exports},a7c3:function(t,e,n){"use strict";n("c75d")},c75d:function(t,e,n){}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-bc86863a.7ac14dcf.js b/service/public/static/js/chunk-bc86863a.7ac14dcf.js
new file mode 100644
index 00000000..815239d1
--- /dev/null
+++ b/service/public/static/js/chunk-bc86863a.7ac14dcf.js
@@ -0,0 +1,8 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-bc86863a"],{"0ae26":function(e,t,n){"use strict";n("87c4")},"105d":function(e,t,n){"use strict";n.r(t);var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"icons-container"},[e._m(0),n("el-tabs",{attrs:{type:"border-card"}},[n("el-tab-pane",{attrs:{label:"Icons"}},[n("div",{staticClass:"grid"},e._l(e.svgIcons,(function(t){return n("div",{key:t,on:{click:function(n){e.handleClipboard(e.generateIconCode(t),n)}}},[n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[e._v(" "+e._s(e.generateIconCode(t))+" ")]),n("div",{staticClass:"icon-item"},[n("svg-icon",{attrs:{"icon-class":t,"class-name":"disabled"}}),n("span",[e._v(e._s(t))])],1)])],1)})),0)]),n("el-tab-pane",{attrs:{label:"Element-UI Icons"}},[n("div",{staticClass:"grid"},e._l(e.elementIcons,(function(t){return n("div",{key:t,on:{click:function(n){e.handleClipboard(e.generateElementIconCode(t),n)}}},[n("el-tooltip",{attrs:{placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[e._v(" "+e._s(e.generateElementIconCode(t))+" ")]),n("div",{staticClass:"icon-item"},[n("i",{class:"el-icon-"+t}),n("span",[e._v(e._s(t))])])])],1)})),0)])],1)],1)},r=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("aside",[n("a",{attrs:{href:"https://panjiachen.github.io/vue-element-admin-site/guide/advanced/icon.html",target:"_blank"}},[e._v("Add and use ")])])}],i=n("2b0e"),a=n("b311"),c=n.n(a);function s(){i["default"].prototype.$message({message:"Copy successfully",type:"success",duration:1500})}function l(){i["default"].prototype.$message({message:"Copy failed",type:"error"})}function u(e,t){var n=new c.a(t.target,{text:function(){return e}});n.on("success",(function(){s(),n.destroy()})),n.on("error",(function(){l(),n.destroy()})),n.onClick(t)}n("d81d"),n("d3b7"),n("ac1f"),n("466d"),n("ddb0");var f=n("51ff"),d=function(e){return e.keys()},p=/\.\/(.*)\.svg/,h=d(f).map((function(e){return e.match(p)[1]})),m=h,y=["platform-eleme","eleme","delete-solid","delete","s-tools","setting","user-solid","user","phone","phone-outline","more","more-outline","star-on","star-off","s-goods","goods","warning","warning-outline","question","info","remove","circle-plus","success","error","zoom-in","zoom-out","remove-outline","circle-plus-outline","circle-check","circle-close","s-help","help","minus","plus","check","close","picture","picture-outline","picture-outline-round","upload","upload2","download","camera-solid","camera","video-camera-solid","video-camera","message-solid","bell","s-cooperation","s-order","s-platform","s-fold","s-unfold","s-operation","s-promotion","s-home","s-release","s-ticket","s-management","s-open","s-shop","s-marketing","s-flag","s-comment","s-finance","s-claim","s-custom","s-opportunity","s-data","s-check","s-grid","menu","share","d-caret","caret-left","caret-right","caret-bottom","caret-top","bottom-left","bottom-right","back","right","bottom","top","top-left","top-right","arrow-left","arrow-right","arrow-down","arrow-up","d-arrow-left","d-arrow-right","video-pause","video-play","refresh","refresh-right","refresh-left","finished","sort","sort-up","sort-down","rank","loading","view","c-scale-to-original","date","edit","edit-outline","folder","folder-opened","folder-add","folder-remove","folder-delete","folder-checked","tickets","document-remove","document-delete","document-copy","document-checked","document","document-add","printer","paperclip","takeaway-box","search","monitor","attract","mobile","scissors","umbrella","headset","brush","mouse","coordinate","magic-stick","reading","data-line","data-board","pie-chart","data-analysis","collection-tag","film","suitcase","suitcase-1","receiving","collection","files","notebook-1","notebook-2","toilet-paper","office-building","school","table-lamp","house","no-smoking","smoking","shopping-cart-full","shopping-cart-1","shopping-cart-2","shopping-bag-1","shopping-bag-2","sold-out","sell","present","box","bank-card","money","coin","wallet","discount","price-tag","news","guide","male","female","thumb","cpu","link","connection","open","turn-off","set-up","chat-round","chat-line-round","chat-square","chat-dot-round","chat-dot-square","chat-line-square","message","postcard","position","turn-off-microphone","microphone","close-notification","bangzhu","time","odometer","crop","aim","switch-button","full-screen","copy-document","mic","stopwatch","medal-1","medal","trophy","trophy-1","first-aid-kit","discover","place","location","location-outline","location-information","add-location","delete-location","map-location","alarm-clock","timer","watch-1","watch","lock","unlock","key","service","mobile-phone","bicycle","truck","ship","basketball","football","soccer","baseball","wind-power","light-rain","lightning","heavy-rain","sunrise","sunrise-1","sunset","sunny","cloudy","partly-cloudy","cloudy-and-sunny","moon","moon-night","dish","dish-1","food","chicken","fork-spoon","knife-fork","burger","tableware","sugar","dessert","ice-cream","hot-water","water-cup","coffee-cup","cold-drink","goblet","goblet-full","goblet-square","goblet-square-full","refrigerator","grape","watermelon","cherry","apple","pear","orange","coffee","ice-tea","ice-drink","milk-tea","potato-strips","lollipop","ice-cream-square","ice-cream-round"],g=y,b={name:"Icons",data:function(){return{svgIcons:m,elementIcons:g}},methods:{generateIconCode:function(e){return'')},generateElementIconCode:function(e){return'')},handleClipboard:function(e,t){u(e,t)}}},v=b,k=(n("0ae26"),n("2877")),w=Object(k["a"])(v,o,r,!1,null,"0454c005",null);t["default"]=w.exports},"87c4":function(e,t,n){},b311:function(e,t,n){
+/*!
+ * clipboard.js v2.0.4
+ * https://zenorocha.github.io/clipboard.js
+ *
+ * Licensed MIT © Zeno Rocha
+ */
+(function(t,n){e.exports=n()})(0,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"===typeof e.action?e.action:this.defaultAction,this.target="function"===typeof e.target?e.target:this.defaultTarget,this.text="function"===typeof e.text?e.text:this.defaultText,this.container="object"===o(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,u.default)(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new a.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return y("action",e)}},{key:"defaultTarget",value:function(e){var t=y("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return y("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"===typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}]),t}(s.default);function y(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=m},function(e,t,n){"use strict";var o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,a.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,a.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==("undefined"===typeof e?"undefined":o(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=l},function(e,t){function n(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var o=window.getSelection(),r=document.createRange();r.selectNodeContents(e),o.removeAllRanges(),o.addRange(r),t=o.toString()}return t}e.exports=n},function(e,t){function n(){}n.prototype={on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;for(o;o0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}}),a("el-dialog",{attrs:{title:"订单跟进",visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("el-form",{attrs:{"label-width":"130px",model:t.item}},[a("el-form-item",{attrs:{label:"产品名称"}},[t._v(" "+t._s(t.item.product_name)+" ")]),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"产品状态"}},[t._v(" "+t._s(t.item.order_status_name)+" ")]),a("el-form-item",{attrs:{label:"数量"}},[t._v(" "+t._s(t.item.quantity)+" ")]),a("el-form-item",{attrs:{label:"联系人"}},[t._v(" "+t._s(t.item.contact)+" ")]),a("el-form-item",{attrs:{label:"手机"}},[t._v(" "+t._s(t.item.mobile)+" ")]),a("el-form-item",{attrs:{label:"下单时间"}},[t._v(" "+t._s(t._f("parseTime")(t.item.create_at,"{y}-{m}-{d} {h}:{i}"))+" ")])],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"人员"}},[a("el-row",[a("el-col",{attrs:{span:3}},[t._v("大人")]),a("el-col",{attrs:{span:5}},[a("el-input",{attrs:{name:"adult",placeholder:"大人"},model:{value:t.item.personnel.adult,callback:function(e){t.$set(t.item.personnel,"adult",e)},expression:"item.personnel.adult"}})],1),a("el-col",{attrs:{span:3}},[t._v("老人")]),a("el-col",{attrs:{span:5}},[a("el-input",{attrs:{name:"old",placeholder:"老人"},model:{value:t.item.personnel.old,callback:function(e){t.$set(t.item.personnel,"old",e)},expression:"item.personnel.old"}})],1),a("el-col",{attrs:{span:3}},[t._v("小孩")]),a("el-col",{attrs:{span:5}},[a("el-input",{attrs:{name:"child",placeholder:"小孩"},model:{value:t.item.personnel.child,callback:function(e){t.$set(t.item.personnel,"child",e)},expression:"item.personnel.child"}})],1)],1)],1),1!==t.item.status?a("el-form-item",{attrs:{label:"核销码"}},[a("el-input",{attrs:{name:"check_sn",placeholder:"请输入平台核销码"},model:{value:t.item.check_sn,callback:function(e){t.$set(t.item,"check_sn",e)},expression:"item.check_sn"}})],1):t._e(),2!==t.item.status?a("el-form-item",{attrs:{label:"加微信"}},[a("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:t.item.is_wechat,callback:function(e){t.$set(t.item,"is_wechat",e)},expression:"item.is_wechat"}},[t._v("已加微信")])],1):t._e(),a("el-form-item",{attrs:{label:"出游日期"}},[a("el-date-picker",{attrs:{type:"date",placeholder:"选择日期时间"},model:{value:t.item.travel_date,callback:function(e){t.$set(t.item,"travel_date",e)},expression:"item.travel_date"}})],1),1!==t.item.status?a("el-form-item",{attrs:{label:"返回日期"}},[a("el-date-picker",{attrs:{type:"date",placeholder:"选择日期时间"},model:{value:t.item.travel_end,callback:function(e){t.$set(t.item,"travel_end",e)},expression:"item.travel_end"}})],1):t._e(),2!==t.item.status?a("el-form-item",{attrs:{label:"下次跟进时间"}},[a("el-date-picker",{attrs:{type:"datetime",placeholder:"选择日期时间"},model:{value:t.next_follow,callback:function(e){t.next_follow=e},expression:"next_follow"}})],1):t._e()],1)],1),a("el-form-item",{attrs:{label:"跟进状态"}},[t._l(t.status_arr,(function(e,l){return[l>0?a("el-radio",{attrs:{label:l,border:""},model:{value:t.item.status,callback:function(e){t.$set(t.item,"status",e)},expression:"item.status"}},[t._v(t._s(e))]):t._e()]}))],2),a("el-form-item",{attrs:{label:"跟进说明"}},[a("el-input",{attrs:{type:"textarea"},model:{value:t.item.desc,callback:function(e){t.$set(t.item,"desc",e)},expression:"item.desc"}})],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.onSave(t.item)}}},[t._v("保 存")])],1),a("el-tabs",{attrs:{type:"border-card"},model:{value:t.active,callback:function(e){t.active=e},expression:"active"}},[a("el-tab-pane",{attrs:{name:"follow",label:"跟进记录"}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.item.follow}},[a("el-table-column",{attrs:{label:"日期",width:"138"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t._f("parseTime")(e.row.create_time,"{y}-{m}-{d} {h}:{i}")))])]}}])}),a("el-table-column",{attrs:{label:"跟进人",width:"110",prop:"name"}}),a("el-table-column",{attrs:{label:"状态",width:"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.status_arr[e.row.status]))])]}}])}),a("el-table-column",{attrs:{prop:"desc",label:"跟进说明"}})],1)],1),a("el-tab-pane",{attrs:{name:"finance",label:"财务记录"}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.item.finance}},[a("el-table-column",{attrs:{label:"日期"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t._f("parseTime")(e.row.create_time,"{y}-{m}-{d} {h}:{i}")))])]}}])}),a("el-table-column",{attrs:{label:"类型",width:"110"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.type_arr[e.row.type]))])]}}])}),a("el-table-column",{attrs:{label:"状态",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.total/100))])]}}])})],1)],1)],1)],1),a("el-dialog",{attrs:{title:"纯核销",visible:t.dialog2Visible},on:{"update:visible":function(e){t.dialog2Visible=e}}},[a("el-form",{attrs:{"label-width":"160px",model:t.form}},[a("el-form-item",{attrs:{label:"平台"}},[a("el-radio",{attrs:{label:"1"},model:{value:t.form.os,callback:function(e){t.$set(t.form,"os",e)},expression:"form.os"}},[t._v("美团")])],1),a("el-form-item",{attrs:{label:"核销码"}},[a("el-input",{attrs:{placeholder:"请输入平台核销码"},model:{value:t.form.check_sn,callback:function(e){t.$set(t.form,"check_sn",e)},expression:"form.check_sn"}})],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.onPass(t.form)}}},[t._v("保 存")])],1)],1),a("el-dialog",{attrs:{title:"申请转出订单",visible:t.applyVisible},on:{"update:visible":function(e){t.applyVisible=e}}},[a("el-form",{ref:"ruleForm",attrs:{"label-width":"160px",model:t.item3,rules:t.rules}},[a("el-form-item",{attrs:{label:"标题:"}},[a("el-input",{attrs:{disabled:""},model:{value:t.item3.product_name,callback:function(e){t.$set(t.item3,"product_name",e)},expression:"item3.product_name"}})],1),a("el-form-item",{attrs:{label:"订单号:"}},[a("el-input",{attrs:{disabled:""},model:{value:t.item3.sn,callback:function(e){t.$set(t.item3,"sn",e)},expression:"item3.sn"}})],1),a("el-form-item",{staticStyle:{width:"600px"},attrs:{label:"流转对象:",prop:"flowObj"}},[a("el-select",{attrs:{placeholder:"请选择"},on:{change:t.onChange2},model:{value:t.item3.flowObj,callback:function(e){t.$set(t.item3,"flowObj",e)},expression:"item3.flowObj"}},[a("el-form-item",{staticStyle:{display:"inline-flex","text-align":"left",width:"770px"}},t._l(t.adminList,(function(t){return a("el-option",{key:t.value,staticStyle:{width:"250px",display:"inline-flex","word-break":"break-all"},attrs:{label:t.username,value:t.id}})})),1)],1)],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t.item3.backs&&0==t.item3.backs.status?a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.onCancel(t.item3.flowObj)}}},[t._v("取 消")]):a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.onCirculationSave(t.item3.flowObj)}}},[t._v("确 认")])],1)],1)],1)},i=[],s=a("b85c"),n=a("5530"),o=(a("a15b"),a("d81d"),a("a9e3"),a("b64b"),a("67f2")),r=a("f8b7"),c={name:"Orderlist",components:{Pagination:o["a"]},data:function(){return{active:"follow",types:{0:"",1:"",2:"",3:"primary",4:"success",5:"warning",6:"danger",7:"info"},types2:{1:"primary",2:"success",3:"warning"},status_arr:["待跟进","跟进中","已核销","核销失败","放弃跟单"],type_arr:["-","收益","支出"],timetype_arr:{},order_status:["#9e9f9c","#04bcd9","#fc9904","#1193f4","#48b14b","#eb1662","#9d1cb5"],follow_status:["#9e9f9c","#04bcd9","#fc9904","#1193f4","#48b14b","#eb1662"],options:[],value:null,next_follow:null,list:[],total:0,listLoading:!0,listQuery:{page:1,limit:10,times:[],status:null,admin:null,zhubo:null,os_status:[]},item:{next_follow:"",personnel:{}},follow:[],dialogVisible:!1,dialog2Visible:!1,applyVisible:!1,oss:[],item3:{sn:null,backs:null,flowObj:"",os:null},os_arr:{1:"美团",2:"快手",3:"抖音(甄选)",4:"全平台",5:"抖音(新国旅)"},adminList:[],form:{},rules:{flowObj:[{required:!0,message:"请选择流转对象",trigger:"change"}]}}},created:function(){this.listQuery.zhubo=this.$route.query.zhubo||null,this.$route.query.start&&this.$route.query.end&&(this.listQuery.times=[this.$route.query.start,this.$route.query.end]),this.setQuery("status"),this.setQuery("os_status"),this.setQuery("times"),this.getList(),this.getShortcutContent(),this.getAdminList()},methods:{setQuery:function(t){this.$route.query.hasOwnProperty(t)?this.listQuery[t]=this.$route.query[t]:this.listQuery[t]=""},getList:function(t){var e=this;if(this.listQuery.excel=null,1!=t)this.listQuery.status=4,this.$axios.get("/admin/order/index",{params:this.listQuery}).then((function(t){console.log(t),e.list=t.data.data,e.total=t.data.total,e.timetype_arr=t.ext.timetype,e.oss=t.ext.oss,e.listLoading=!1}));else{this.listQuery.excel=1;var a=this.listQuery.times[0]instanceof Date,l=Object(n["a"])(Object(n["a"])({},this.listQuery),{},{times:[a?this.listQuery.times[0].toISOString():"",a?this.listQuery.times[1].toISOString():""]});window.open("/admin/order/index?"+this.objectToQuery(l))}},objectToQuery:function(t){return Object.keys(t).map((function(e){var a=t[e];return void 0==a||null==a?"":encodeURIComponent(e)+"="+encodeURIComponent(a)})).join("&")},onInfo:function(t){var e=this;this.value=null,this.next_follow=null,this.$set(t,"next_follow",null),this.item=t,this.active="follow",this.$axios.get("/admin/order/info",{params:{id:t.id}}).then((function(t){e.item=t.data,e.dialogVisible=!0})).catch((function(t){}))},resetForm:function(t){this.$refs[t].resetFields()},getAdminList:function(){var t=this;this.$axios.get("/admin/admin/index",{params:{limit:100,status:1,is_order:1}}).then((function(e){t.adminList=e.data.data,t.listLoading=!1})).catch((function(t){}))},onCirculation:function(t){this.applyVisible=!0,this.item3=Object(n["a"])(Object(n["a"])({},t),{},{os:Number(t.os)}),console.log(this.item3),this.item3.backs&&this.item3.backs.admin_id?this.item3.flowObj=this.item3.backs.admin_id:this.resetForm("ruleForm")},onCirculationSave:function(t){var e=this;this.$refs.ruleForm.validate((function(a){if(!a)return!1;Object(r["a"])({sn:e.item3.sn,os:e.item3.os,to_admin_id:t}).then((function(t){e.applyVisible=!1,e.getList()}))}))},onCancel:function(){var t=this;this.$refs.ruleForm.validate((function(e){if(!e)return!1;t.$axios.post("/admin/order/backcancel",{id:t.item3.id}).then((function(e){t.applyVisible=!1,t.getList()})).catch((function(t){console.log(t)}))}))},onBack:function(){var t=this;this.$axios.post("/admin/order/back",this.item).then((function(e){t.dialogVisible=!1,t.item={},t.getList()})).catch((function(t){}))},onSave:function(t){var e=this;console.log(this.next_follow),this.$axios.post("/admin/order/save",{id:t.id,check_sn:t.check_sn,is_wechat:t.is_wechat,travel_end:t.travel_end,travel_date:t.travel_date,desc:t.desc,status:t.status,next_follow:this.next_follow,personnel:this.item.personnel}).then((function(t){e.dialogVisible=!1,e.item={next_follow:"",personnel:{}}})).catch((function(t){}))},onPass:function(t){var e=this;this.$axios.post("/admin/order/pass",{check_sn:t.check_sn}).then((function(t){e.dialog2Visible=!1,e.form={}})).catch((function(t){}))},onChange:function(t){this.$set(this.item,"desc",t+(void 0!=this.item.desc?this.item.desc:""))},onChange2:function(t){this.$set(this.item,"to_admin_id",t+(void 0!=this.item.admin_id?this.item.admin_id:""))},handleChange:function(t){console.log(t)},getShortcutContent:function(){var t=this;this.listLoading=!0,this.$axios.get("/admin/shortcutContent/list",{params:{page:1,limit:50,status:1}}).then((function(e){var a,l=Object(s["a"])(e.data.data);try{for(l.s();!(a=l.n()).done;){var i=a.value;t.options.push({value:i.id,label:i.content})}}catch(n){l.e(n)}finally{l.f()}})).catch((function(){}))}}},u=c,d=(a("7040"),a("2877")),m=Object(d["a"])(u,l,i,!1,null,"78a03c33",null);e["default"]=m.exports},f8b7:function(t,e,a){"use strict";a.d(e,"a",(function(){return i})),a.d(e,"b",(function(){return s}));var l=a("b775");function i(t){return Object(l["a"])({url:"/admin/order/back",method:"post",data:t})}function s(t){return Object(l["a"])({url:"admin/order/backBatch",method:"post",data:t})}}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-f00febf4.bd04dbd7.js b/service/public/static/js/chunk-f00febf4.bd04dbd7.js
new file mode 100644
index 00000000..9704671c
--- /dev/null
+++ b/service/public/static/js/chunk-f00febf4.bd04dbd7.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f00febf4"],{"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return l})),Math.easeInOutQuad=function(e,t,a,n){return e/=n/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function i(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function l(e,t,a){var l=o(),r=e-l,s=20,u=0;t="undefined"===typeof t?500:t;var c=function e(){u+=s;var o=Math.easeInOutQuad(u,l,r,t);i(o),u0,expression:"total > 0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}}),a("el-dialog",{attrs:{title:e.title,visible:e.dialogCreate},on:{"update:visible":function(t){e.dialogCreate=t}}},[a("el-form",{ref:"form",attrs:{model:e.form,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"用户名",prop:"username"}},[a("el-input",{attrs:{placeholder:"用户名"},model:{value:e.form.username,callback:function(t){e.$set(e.form,"username",t)},expression:"form.username"}})],1),a("el-form-item",{attrs:{label:"姓名",prop:"name"}},[a("el-input",{attrs:{placeholder:"姓名"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1),a("el-form-item",{attrs:{label:"手机号",prop:"mobile"}},[a("el-input",{attrs:{placeholder:"请输入手机号"},model:{value:e.form.mobile,callback:function(t){e.$set(e.form,"mobile",t)},expression:"form.mobile"}})],1),a("el-form-item",{attrs:{label:"岗位",prop:"type"}},[a("el-radio-group",{model:{value:e.form.type,callback:function(t){e.$set(e.form,"type",t)},expression:"form.type"}},[a("el-radio",{attrs:{label:2}},[e._v("主播")]),a("el-radio",{attrs:{label:3}},[e._v("中控")])],1)],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{type:"primary"},on:{click:function(t){return e.onSaves(e.form)}}},[e._v("保 存")])],1)],1)],1)},i=[],o=a("5530"),l=a("333d"),r={name:"Works",components:{Pagination:l["a"]},data:function(){return{oss:{},list:null,title:"",total:0,listLoading:!0,loading:!1,listQuery:{page:1,limit:20},form:{username:"",name:"",mobile:"",type:2},dialogWork:!1,dialogCreate:!1,item:{},anchors:[]}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.$axios.get("/admin/liveroom/zhuboStatistics",{params:this.listQuery}).then((function(t){e.list=t.data.data,e.total=t.data.total,e.listLoading=!1})).catch((function(e){}))},onDel:function(e){var t=this;this.$axios.post("/admin/work/del",{id:e.id}).then((function(e){t.dialogVisible=!1,t.getList()})).catch((function(e){}))},onAdd:function(e){var t=this;this.dialogCreate=!0,this.$nextTick((function(a){t.$refs["form"].resetFields(),t.title=e.id?"编辑":"添加",t.form=e.id?Object(o["a"])({},e):{username:"",name:"",mobile:"",type:2}}))},onSaves:function(){var e=this;this.$axios.post("/admin/admin/save",this.form).then((function(t){e.$message({message:"成功",type:"success"}),e.dialogCreate=!1,e.getList()})).catch((function(e){}))}}},s=r,u=a("2877"),c=Object(u["a"])(s,n,i,!1,null,null,null);t["default"]=c.exports}}]);
\ No newline at end of file
diff --git a/service/public/static/js/chunk-f0c16dc4.0504a557.js b/service/public/static/js/chunk-f0c16dc4.0504a557.js
new file mode 100644
index 00000000..6caa9c4f
--- /dev/null
+++ b/service/public/static/js/chunk-f0c16dc4.0504a557.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f0c16dc4"],{"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return o})),Math.easeInOutQuad=function(e,t,a,n){return e/=n/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function i(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(e,t,a){var o=r(),l=e-o,s=20,c=0;t="undefined"===typeof t?500:t;var u=function e(){c+=s;var r=Math.easeInOutQuad(c,o,l,t);i(r),c0,expression:"total > 0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}}),a("el-dialog",{attrs:{visible:e.dialogVisible,title:e.dialogTitle},on:{"update:visible":function(t){e.dialogVisible=t},open:e.onOpen,close:e.onClose}},[a("el-form",{ref:"elForm",attrs:{model:e.formData,rules:e.rules,size:"medium","label-width":"120px"}},[a("el-form-item",{attrs:{label:"请选择平台",prop:"os"}},[a("el-select",{attrs:{placeholder:"请选择平台",clearable:""},model:{value:e.formData.os,callback:function(t){e.$set(e.formData,"os",t)},expression:"formData.os"}},e._l(e.ossArr,(function(e,t){return a("el-option",{key:e.id,attrs:{label:e.os,value:e.id}})})),1)],1),a("el-form-item",{attrs:{label:"产品名称",prop:"product_name"}},[a("el-input",{attrs:{placeholder:"请输入产品名称",clearable:""},model:{value:e.formData.product_name,callback:function(t){e.$set(e.formData,"product_name",t)},expression:"formData.product_name"}})],1),a("el-form-item",{attrs:{label:"第三方产品编号",prop:"third_product_id"}},[a("el-input",{attrs:{placeholder:"请输入第三方产品编号",clearable:""},model:{value:e.formData.third_product_id,callback:function(t){e.$set(e.formData,"third_product_id",t)},expression:"formData.third_product_id"}})],1),a("el-form-item",{attrs:{label:"天数",prop:"day"}},[a("el-input",{attrs:{placeholder:"请输入天数",clearable:""},model:{value:e.formData.day,callback:function(t){e.$set(e.formData,"day",t)},expression:"formData.day"}})],1),a("el-form-item",{attrs:{label:"晚数",prop:"night"}},[a("el-input",{attrs:{placeholder:"请输入晚数",clearable:""},model:{value:e.formData.night,callback:function(t){e.$set(e.formData,"night",t)},expression:"formData.night"}})],1),a("el-form-item",{attrs:{label:"出游类型",prop:"type"}},[a("el-radio-group",{attrs:{size:"medium"},model:{value:e.formData.type,callback:function(t){e.$set(e.formData,"type",t)},expression:"formData.type"}},e._l(e.fieldTypeOptions,(function(t,n){return a("el-radio",{key:t.value,attrs:{label:t.value}},[e._v(e._s(t.label))])})),1)],1),a("el-form-item",{attrs:{label:"上传",prop:"trip_info",required:""}},[a("el-upload",{ref:"field105",attrs:{action:"","before-upload":e.wordBeforeUpload,"http-request":e.handlesAvatarSuccess,"on-success":e.handleWordSuccess,"on-error":e.handleUploadError,"on-remove":e.handleRemove,"on-change":e.handleChange,"before-remove":e.beforeRemove,limit:1,"file-list":e.fieldFileList,accept:".pdf,.docx,.xlsx"}},[a("el-button",{attrs:{size:"small",type:"primary",icon:"el-icon-upload"}},[e._v("点击上传")])],1)],1)],1),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.close}},[e._v("取消")]),a("el-button",{attrs:{type:"primary"},on:{click:e.handelConfirm}},[e._v("确定")])],1)],1)],1)},i=[],r=a("c7eb"),o=a("1da1"),l=a("5530"),s=(a("99af"),a("c740"),a("caad"),a("d81d"),a("fb6a"),a("a434"),a("b0c0"),a("333d")),c=a("50fc"),u=a("5f87"),d={name:"ProManagement",components:{Pagination:s["a"]},data:function(){return{listQuery:{page:1,limit:20},total:0,listLoading:!0,list:[],ossArr:[],dialogVisible:!1,dialogTitle:"新增商品",fieldFileList:[],formData:{os:"",product_name:"",type:"",day:"",night:"",third_product_id:"",trip_info:""},fieldAction:"//admin/upload/index",fieldTypeOptions:[{label:"境内",value:1},{label:"境外",value:2}],rules:{os:[{required:!0,message:"请选择平台",trigger:"change"}],product_name:[{required:!0,message:"请输入线路名称",trigger:"blur"}],day:[{required:!0,message:"请输入天数",trigger:"blur"}],night:[{required:!0,message:"请输入晚数",trigger:"blur"}],third_product_id:[{required:!0,message:"请输入第三方产品编号",trigger:"blur"}],type:[{required:!0,message:"请选择出游类型",trigger:"change"}]},editType:""}},created:function(){this.getList()},methods:{handleCreate:function(e,t){this.editType=e,"add"===e?this.AddProduct():this.editProduct(t)},AddProduct:function(){this.dialogTitle="新增商品",this.dialogVisible=!0},editProduct:function(e){console.log(e,"row"),this.formData=Object(l["a"])({},e),this.dialogTitle="编辑商品",this.dialogVisible=!0},getList:function(){var e=this;return Object(o["a"])(Object(r["a"])().mark((function t(){var a;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(c["f"])(e.listQuery);case 2:a=t.sent,console.log(a,"我我我"),0===a.error&&(e.listLoading=!1,e.total=a.data.total,e.list=a.data.data,e.ossArr=a.ext.oss);case 5:case"end":return t.stop()}}),t)})))()},onWork:function(e){this.$router.push("/system/proScheduling?id=".concat(e))},handleChange:function(e,t){this.fileList=t.slice(-1)},handlesAvatarSuccess:function(e){var t=this;return Object(o["a"])(Object(r["a"])().mark((function a(){var n,i,o,l;return Object(r["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,n=new FormData,n.append("file",e.file),a.next=5,t.$axios.post("/admin/upload/index",n,{headers:{"Content-type":"multipart/form-data","X-Token":Object(u["a"])()}});case 5:i=a.sent,console.log(i,"收拾收拾"),0===i.error&&e.onSuccess(i),a.next=17;break;case 10:a.prev=10,a.t0=a["catch"](0),console.log(e,"error--handlesAvatarSuccess"),o=e.file.uid,l=t.$refs.field105.uploadFiles.findIndex((function(e){return e.uid===o})),t.$refs.field105.uploadFiles.splice(l,1),t.$message.error("上传失败");case 17:case"end":return a.stop()}}),a,null,[[0,10]])})))()},handleWordSuccess:function(e,t,a,n){console.log(e,t,a,"成功了"),e&&(this.formData.trip_info="".concat(window.location.protocol,"//").concat(window.location.host).concat(e.data),this.fieldFileList=[{name:t.name,uid:t.uid,url:this.formData.trip_info}],this.$message.success("上传成功"))},beforeRemove:function(e,t){return this.$confirm("确定移除 ".concat(e.name,"?"))},handleRemove:function(e,t){var a=this;console.log(e,t,"handleRemove"),this.formData.trip_info="",this.fieldFileList.map((function(t,n){t.uid===e.uid&&a.fieldFileList.splice(n,1)}))},handleUploadError:function(e,t){var a=this;this.$message.error("上传失败: ".concat(t.name)),console.log(this.fieldFileList,"失败了"),this.fieldFileList.map((function(e,n){e.uid===t.uid&&a.fieldFileList.splice(n,1)}))},wordBeforeUpload:function(e){var t=["application/pdf","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"].includes(e.type),a=e.size/1024/1024<2;return t||this.$message.error("只允许上传 PDF、DOCX、XLSX 格式的文件"),a||this.$message.error("文件大小超过 2MB"),t&&a},openLink:function(e){window.open(e)},onOpen:function(){},onClose:function(){this.$refs["elForm"].resetFields(),this.$refs.field105.uploadFiles=[]},close:function(){console.log("1111",this.$refs.field105.uploadFiles),this.dialogVisible=!1,this.$refs.field105.uploadFiles=[]},handelConfirm:function(){var e=this;this.$refs["elForm"].validate(function(){var t=Object(o["a"])(Object(r["a"])().mark((function t(a){var n;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,Object(c["g"])(e.formData);case 4:n=t.sent,0===n.error&&(e.getList(),e.$message({message:"add"===e.editType?"商品添加成功":"商品编辑成功",type:"success"})),e.close();case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())}}},p=d,f=(a("7d12"),a("2877")),m=Object(f["a"])(p,n,i,!1,null,"1383312c",null);t["default"]=m.exports}}]);
\ No newline at end of file
diff --git a/service/ss.txt b/service/ss.txt
index 492d9be2..67ecccc2 100644
--- a/service/ss.txt
+++ b/service/ss.txt
@@ -25,4 +25,49 @@ update
`orders`
set is_refunded = 1
WHERE
- (`os` IN ( '3', '5' ) and order_status = 4)
\ No newline at end of file
+ (`os` IN ( '3', '5' ) and order_status = 4)
+
+
+2024/10/19
+ALTER TABLE `products`
+ADD COLUMN `type` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0-未设置,1-境内,2-境外' AFTER `os`,
+ADD COLUMN `day` int NOT NULL DEFAULT 0 COMMENT '天' AFTER `type`,
+ADD COLUMN `night` int NOT NULL DEFAULT 0 COMMENT '晚' AFTER `day`,
+ADD COLUMN `trip_info` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL DEFAULT '' COMMENT '详细行程' AFTER `night`;
+
+ALTER TABLE `orders`
+ADD COLUMN `is_apply_appointment` tinyint(1) NOT NULL DEFAULT 0 COMMENT '是否已申请预约' AFTER `is_refunded`
+
+// 班期表
+CREATE TABLE `product_schedules` (
+ `id` int NOT NULL AUTO_INCREMENT,
+ `day` varchar(10) NOT NULL DEFAULT '' COMMENT '日期',
+ `num` int(10) DEFAULT 0 COMMENT '可预约人数',
+ `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间',
+ `updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='商品班期表';
+
+// 客服表
+ALTER TABLE `admins`
+ADD COLUMN `wechat` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '微信号' AFTER `type`,
+ADD COLUMN `wechat_pic` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '微信图片' AFTER `wechat`,
+ADD COLUMN `job` tinyint(1) NOT NULL DEFAULT 0 COMMENT '职位' AFTER `wechat_pic`,
+ADD COLUMN `service_promise` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '服务承诺' AFTER `job`;
+
+// 预约表
+CREATE TABLE `order_books` (
+ `id` int NOT NULL AUTO_INCREMENT,
+ `order_id` int DEFAULT '0' COMMENT '订单号',
+ `travel_date` varchar(10) NOT NULL DEFAULT '' COMMENT '出游日期',
+ `num` int NOT NULL DEFAULT '0' COMMENT '出游人数',
+ `name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '出行人名称',
+ `mobile` char(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '联系电话',
+ `code_pic` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '券码图片',
+ `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '状态(0-未处理,1-已处理)',
+ `note` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '备注',
+ `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间',
+ `updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='订单预约表';
+