Commit 37be33f8 by 无尘

fix:修改首页

parent db659d46
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.30d284e446d170d9849a05afc05af474.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.41237f0be1f0d919a9a6.js></script><script type=text/javascript src=./static/js/vendor.c134cb6e17d0133dfae4.js></script><script type=text/javascript src=./static/js/app.c67e01e1adf7b18005e0.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.92260098b027ea12b1150fbe6970482d.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.d41487fc87e846a5cc21.js></script><script type=text/javascript src=./static/js/vendor.c134cb6e17d0133dfae4.js></script><script type=text/javascript src=./static/js/app.c67e01e1adf7b18005e0.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([11],{"5f47":function(t,e){},DyFh:function(t,e){},JXTs:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("Xxa5"),n=a.n(o),s=a("exGp"),i=a.n(s),r=a("//Fk"),c=a.n(r),l=a("mvHQ"),p=a.n(l),u=a("c9no"),d=a("NKg7"),f=a("P9l9"),g=a("Ch4/"),v=a("3E4D"),h={name:"index",data:function(){return{checkShow:!0,tipText:"请先完成商户初始化设置后,再进行其他操作",projectName:"haoban-manage-web",contentHeight:"0px",collapseFlag:!1,showCustomDialog:!1,customType:"",customTitle:"",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",purchaseApp:[],weeks:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],noPurchaseApp:[],versionData:{id:1,version:"免费版",name:"达摩网络",date:(new Date).getTime(),storeNum:100,storeAllNum:150},helpList:[{id:1,name:"测试帮助中心",src:""}]}},methods:{goUdesk:function(){window.open("https://demogic.udesk.cn/hc/categories/96671?api_name=")},getLunarDay:function(t,e,a){var o=[2635,333387,1701,1748,267701,694,2391,133423,1175,396438,3402,3749,331177,1453,694,201326,2350,465197,3221,3402,400202,2901,1386,267611,605,2349,137515,2709,464533,1738,2901,330421,1242,2651,199255,1323,529706,3733,1706,398762,2741,1206,267438,2647,1318,204070,3477,461653,1386,2413,330077,1197,2637,268877,3365,531109,2900,2922,398042,2395,1179,267415,2635,661067,1701,1748,398772,2742,2391,330031,1175,1611,200010,3749,527717,1452,2742,332397,2350,3222,268949,3402,3493,133973,1386,464219,605,2349,334123,2709,2890,267946,2773,592565,1210,2651,395863,1323,2707,265877];if(!(t<1921||t>2100)){var n=[t,e=parseInt(e)>0?e-1:11,a],s=3!==n.length?new Date:new Date(n[0],n[1],n[2]),i=void 0,r=void 0,c=void 0,l=void 0,p=!1,u=s.getFullYear();for(i=365*(u-1921)+Math.floor((u-1921)/4)+[0,31,59,90,120,151,181,212,243,273,304,334][s.getMonth()]+s.getDate()-38,u%4==0&&s.getMonth()>1&&i++,r=0;;r++){for(c=l=o[r]<4095?11:12;c>=0;c--){if(i<=this.getBit(o[r],c)){p=!0;break}i-=this.getBit(o[r],c)}if(p)break}var d,f=void 0;f=l-c+1,d=i,12===l&&(f===Math.floor(o[r]/65536)+1&&(f=1-f),f>Math.floor(o[r]/65536)+1&&f--);var g="一二三四五六七八九十".charAt(d-1);return d%10==0&&10!==d||(g="一二三四五六七八九十".charAt((d-1)%10)),console.log(),1===d?"正二三四五六七八九十冬腊".charAt(f-1)+"月初一":"正二三四五六七八九十冬腊".charAt(f-1)+"月"+(d<11?"初":d<20?"十":d<30?"廿":"三十")+g}},getBit:function(t,e){return 29+(t>>e&1)},toRedirect:function(t){if(!t.src)return!1;window.open(t.src)},changeRoute:function(t){this.$router.push(t)},toOverStore:function(){this.changeRoute("/overStoreList")},toAppView:function(t){if(!t.applicationPath)return v.a.showmsg("无更多设置项,不可进入!","warning"),!1;this.changeRoute(""+t.applicationPath)},goShopping:function(t){this.changeRoute("/")},toRouterView:function(t){this.$router.push({path:t.path})},changeSwitch:function(t){var e=this,a=1==t.openFlag?"关闭":"开启";e.$confirm("确认"+a+"【"+t.applicationName+"】应用吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.postSwitch(t)}).catch(function(){t.openFlag})},postSwitch:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId||localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",applicationId:t.applicationId,openFlag:1==t.openFlag?0:1};Object(f.a)("/haoban-manage3-web/open-or-close",a).then(function(t){var a=t.data;if(1==a.errorCode)return v.a.showmsg("操作成功","success"),void e.getAppData(1);g.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeAppSwitch:function(t,e){var a=this;a.$confirm("确定要"+(1==t?"启用":"停用")+"【"+e.applicationName+"】?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postAppSwitch(e)}).catch(function(){e.openFlag=!1})},postAppSwitch:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId||localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",applicationId:t.applicationId,openFlag:t.openFlag?1:0};Object(f.a)("/haoban-manage3-web/open-or-close",a).then(function(t){var a=t.data;if(1==a.errorCode)return v.a.showmsg("启用成功","success"),void e.getAppData(1);g.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},collapseTag:function(t){this.collapseFlag=t},toAlert:function(){this.$confirm("您所在企业尚未订购好办 ,请前往升级版本后继续使用。","提示",{confirmButtonText:"立即前往订购",cancelButtonText:"取消",type:"warning"}).then(function(){window.open("")})},toTip:function(){this.$confirm("您没有该功能的使用权限,请联系管理员授权后继续使用。","提示",{confirmButtonText:"知道了",type:"warning"}).then(function(){window.open("")})},getHelpData:function(){var t=this;Object(f.a)("/haoban-manage3-web/emp/get-user-info",{}).then(function(e){var a=e.data;1!=a.errorCode?t.$message.error({duration:1e3,message:a.message}):t.helpList=a.result||[]}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getAppData:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId||localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",type:t};Object(f.a)("/haoban-manage3-web/application-open-close-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.open.forEach(function(t){t.openFlag=1}),e.purchaseApp=JSON.parse(p()(a.result.open))||[],a.result.close.forEach(function(t){t.openFlag=!1}),void(e.noPurchaseApp=JSON.parse(p()(a.result.close))||[]);g.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getBindData:function(){var t=this;Object(f.a)("/haoban-manage3-web/has-bind-contract",{}).then(function(e){var a=e.data;1!=a.errorCode?g.a.errorMsg(a):a.result||t.getBindUrl()}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getBindUrl:function(){var t=this;Object(f.a)("/haoban-manage3-web/get-auth-url",{}).then(function(t){var e=t.data;1!=e.errorCode?g.a.errorMsg(e):window.location.href=""+e.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toLogin:function(){var t=this;return new c.a(function(e,a){Object(f.a)("/haoban-manage3-web/get-login-info",{}).then(function(t){var a=t.data;if(1==a.errorCode)return localStorage.setItem("userInfos",p()(a.result)),void e(a.result);g.a.errorMsg(a),e({wxEnterpriseId:""})}).catch(function(a){e({wxEnterpriseId:""}),t.$message.error({duration:1e3,message:a.message})})})}},mounted:function(){var t=this;return i()(n.a.mark(function e(){var a;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return(a=t).getBindData(),e.next=4,a.toLogin();case 4:a.wxEnterpriseId=e.sent,a.getAppData(1),a.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-92+"px";case 7:case"end":return e.stop()}},e,t)}))()},components:{vueOfficeHeader:d.a,setTip:u.a}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"index"}},[a("vue-office-header",{ref:"headerMenu",attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body border-box",staticStyle:{"min-height":"calc(100vh - 46px)"}},[a("div",{staticClass:"index-body flex flex-row"},[a("div",{staticClass:"index-body-left"},[a("div",{staticClass:"index-body-left_top border-box"},[a("div",{staticClass:"app-title font-16 color-303133 flex flex-space-between"},[a("span",{staticClass:"font-16 color-303133 font-w-600 line-h-32"},[t._v("已使用")]),t._v(" "),t.checkShow?a("set-tip",{attrs:{tipText:t.tipText}}):t._e()],1),t._v(" "),a("ul",t._l(t.purchaseApp,function(e,o){return a("li",{key:o+"app",staticClass:"border-box",on:{click:function(a){t.toAppView(e)}}},[a("div",{staticClass:"app-li-cell border-box flex"},[a("div",{staticClass:"app-cell-left"},[a("img",{attrs:{src:e.applicationUrl,alt:"img"}})]),t._v(" "),a("div",{staticClass:"app-cell-right flex flex-column flex-align-center flex-pack-center"},[a("div",{staticClass:"app-name font-14 color-303133"},[t._v(t._s(e.applicationName))]),t._v(" "),e.applicationPath?t._e():a("div",{staticClass:"app-info"},[a("span",{staticClass:"font-14 color-909399"},[t._v("里面为空~")])])]),t._v(" "),a("div",{staticClass:"app-cell-arrow"},[a("el-dropdown",{staticClass:"app-cell-dropdown",attrs:{trigger:"hover"}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-more el-icon--right color-606266",staticStyle:{cursor:"pointer"}})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{staticClass:"p-0"},[a("span",{on:{click:function(a){a.stopPropagation(),t.changeSwitch(e)}}},[t._v(t._s(1==e.openFlag?"停用":"启用"))])])],1)],1)],1)])])}))]),t._v(" "),a("div",{staticClass:"bg-space"}),t._v(" "),a("div",{staticClass:"index-body-left_bottom border-box"},[a("div",{staticClass:"app-title font-16 color-303133"},[t._v("已停用")]),t._v(" "),a("ul",t._l(t.noPurchaseApp,function(e,o){return a("li",{key:o+"appno",staticClass:"border-box"},[a("div",{staticClass:"app-li-cell border-box flex"},[a("div",{staticClass:"app-cell-left"},[a("img",{attrs:{src:e.applicationUrl,alt:"img"}})]),t._v(" "),a("div",{staticClass:"app-cell-right"},[a("div",{staticClass:"app-name stop-app-name font-14 color-303133"},[t._v(t._s(e.applicationName))]),t._v(" "),a("div",{staticClass:"app-info stop-app-info"},[a("el-switch",{attrs:{"active-text":"","inactive-text":""},on:{change:function(a){t.changeAppSwitch(a,e)}},model:{value:e.openFlag,callback:function(a){t.$set(e,"openFlag",a)},expression:"item.openFlag"}})],1)])])])}))])]),t._v(" "),a("div",{staticClass:"index-body-right"},[a("div",{staticClass:"index-body-right_top border-box"},[a("div",{staticClass:"serve-info"},[a("div",{staticClass:"serve-date-info"},[a("div",{staticClass:"font-14 color-909399 p-t-10 m-b-5"},[t._v(t._s(t._f("timeStampToYm")((new Date).getTime())))]),t._v(" "),a("div",{staticClass:"font-12 color-909399"},[t._v("农历"+t._s(t.getLunarDay((new Date).getFullYear(),(new Date).getMonth()+1,(new Date).getDate())))]),t._v(" "),a("div",{staticClass:"serve-date-day"},[a("div",{staticClass:"serve-date-day_inner "},[a("div",{staticClass:"color-fff font-26 p-t-10"},[t._v(t._s((new Date).getDate()))]),t._v(" "),a("div",{staticClass:"color-fff font-12"},[t._v(t._s(t.weeks[(new Date).getDay()]))])])])]),t._v(" "),a("div",{staticClass:"serve-version flex"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("企业")]),t._v(" "),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.versionData.name))])]),t._v(" "),a("div",{staticClass:"serve-date flex m-t-20"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("版本")]),t._v(" "),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.versionData.version))])]),t._v(" "),a("div",{staticClass:"serve-store flex m-t-20"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("门店总数")]),t._v(" "),a("span",{staticClass:"font-14 color-303133 "},[t._v(t._s(t.versionData.storeAllNum))])])])]),t._v(" "),a("div",{staticClass:"bg-margin-10"}),t._v(" "),a("div",{staticClass:"index-body-right_bottom border-box"},[a("div",{staticClass:"help-title font-16 color-303133 font-w-600"},[t._v("帮助中心")]),t._v(" "),a("ul",{staticClass:"help-list"},[t._l(t.helpList,function(e,o){return a("li",{key:o+"help",staticClass:"cursor-pointer font-14 color-606266",on:{click:function(a){t.toRedirect(e)}}},[t._v("\n "+t._s(e.name)+"\n ")])}),t._v(" "),a("li",{staticClass:"text-center"},[a("el-button",{attrs:{type:"text"},on:{click:t.goUdesk}},[t._v("更多")])],1)],2)])])])])])],1)},staticRenderFns:[]};var w=a("VU/8")(h,m,!1,function(t){a("5f47")},"data-v-19f8b90e",null);e.default=w.exports},c9no:function(t,e,a){"use strict";var o={name:"set-tip",props:{tipText:{type:String,default:function(){return""}}},data:function(){return{setTipShow:!0}},methods:{toClose:function(){this.setTipShow=!1},toSet:function(){if(this.$route.path.includes("enterpriseSet"))return!1;this.$router.push("enterpriseSet?/adminList")}}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.setTipShow?a("div",{staticClass:"set-tip-body flex flex-align-center border-box"},[a("span",{staticClass:" font-13 el-icon-info color-2f54eb"}),a("span",{staticClass:"m-l-10 font-13 color-606266"},[t._v(t._s(t.tipText))]),a("el-button",{staticClass:"m-l-10",attrs:{type:"text"},on:{click:t.toClose}},[t._v("忽略")]),a("el-button",{staticClass:"m-l-10",attrs:{type:"text"},on:{click:t.toSet}},[t._v("去完成")])],1):t._e()},staticRenderFns:[]};var s=a("VU/8")(o,n,!1,function(t){a("DyFh")},"data-v-51e28415",null);e.a=s.exports}});
\ No newline at end of file
webpackJsonp([11],{CGK2:function(t,e){},HYKl:function(t,e){},JXTs:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("Xxa5"),n=a.n(o),s=a("exGp"),i=a.n(s),r=a("//Fk"),c=a.n(r),l=a("mvHQ"),p=a.n(l),u=a("c9no"),d=a("NKg7"),f=a("P9l9"),g=a("Ch4/"),v=a("3E4D"),h={name:"index",data:function(){return{checkShow:!0,tipText:"请先完成商户初始化设置后,再进行其他操作",projectName:"haoban-manage-web",contentHeight:"0px",collapseFlag:!1,showCustomDialog:!1,customType:"",customTitle:"",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",purchaseApp:[],weeks:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],noPurchaseApp:[],versionData:{id:1,version:"免费版",name:"达摩网络",date:(new Date).getTime(),storeNum:100,storeAllNum:150},helpList:[{id:1,name:"测试帮助中心",src:""}]}},methods:{goUdesk:function(){window.open("https://demogic.udesk.cn/hc/categories/96671?api_name=")},getLunarDay:function(t,e,a){var o=[2635,333387,1701,1748,267701,694,2391,133423,1175,396438,3402,3749,331177,1453,694,201326,2350,465197,3221,3402,400202,2901,1386,267611,605,2349,137515,2709,464533,1738,2901,330421,1242,2651,199255,1323,529706,3733,1706,398762,2741,1206,267438,2647,1318,204070,3477,461653,1386,2413,330077,1197,2637,268877,3365,531109,2900,2922,398042,2395,1179,267415,2635,661067,1701,1748,398772,2742,2391,330031,1175,1611,200010,3749,527717,1452,2742,332397,2350,3222,268949,3402,3493,133973,1386,464219,605,2349,334123,2709,2890,267946,2773,592565,1210,2651,395863,1323,2707,265877];if(!(t<1921||t>2100)){var n=[t,e=parseInt(e)>0?e-1:11,a],s=3!==n.length?new Date:new Date(n[0],n[1],n[2]),i=void 0,r=void 0,c=void 0,l=void 0,p=!1,u=s.getFullYear();for(i=365*(u-1921)+Math.floor((u-1921)/4)+[0,31,59,90,120,151,181,212,243,273,304,334][s.getMonth()]+s.getDate()-38,u%4==0&&s.getMonth()>1&&i++,r=0;;r++){for(c=l=o[r]<4095?11:12;c>=0;c--){if(i<=this.getBit(o[r],c)){p=!0;break}i-=this.getBit(o[r],c)}if(p)break}var d,f=void 0;f=l-c+1,d=i,12===l&&(f===Math.floor(o[r]/65536)+1&&(f=1-f),f>Math.floor(o[r]/65536)+1&&f--);var g="一二三四五六七八九十".charAt(d-1);return d%10==0&&10!==d||(g="一二三四五六七八九十".charAt((d-1)%10)),console.log(),1===d?"正二三四五六七八九十冬腊".charAt(f-1)+"月初一":"正二三四五六七八九十冬腊".charAt(f-1)+"月"+(d<11?"初":d<20?"十":d<30?"廿":"三十")+g}},getBit:function(t,e){return 29+(t>>e&1)},toRedirect:function(t){if(!t.src)return!1;window.open(t.src)},changeRoute:function(t){this.$router.push(t)},toOverStore:function(){this.changeRoute("/overStoreList")},toAppView:function(t){if(!t.applicationPath)return v.a.showmsg("无更多设置项,不可进入!","warning"),!1;this.changeRoute(""+t.applicationPath)},goShopping:function(t){this.changeRoute("/")},toRouterView:function(t){this.$router.push({path:t.path})},changeSwitch:function(t){var e=this,a=1==t.openFlag?"关闭":"开启";e.$confirm("确认"+a+"【"+t.applicationName+"】应用吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.postSwitch(t)}).catch(function(){t.openFlag})},postSwitch:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId||localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",applicationId:t.applicationId,openFlag:1==t.openFlag?0:1};Object(f.a)("/haoban-manage3-web/open-or-close",a).then(function(t){var a=t.data;if(1==a.errorCode)return v.a.showmsg("操作成功","success"),void e.getAppData(1);g.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeAppSwitch:function(t,e){var a=this;a.$confirm("确定要"+(1==t?"启用":"停用")+"【"+e.applicationName+"】?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.postAppSwitch(e)}).catch(function(){e.openFlag=!1})},postAppSwitch:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId||localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",applicationId:t.applicationId,openFlag:t.openFlag?1:0};Object(f.a)("/haoban-manage3-web/open-or-close",a).then(function(t){var a=t.data;if(1==a.errorCode)return v.a.showmsg("启用成功","success"),void e.getAppData(1);g.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},collapseTag:function(t){this.collapseFlag=t},toAlert:function(){this.$confirm("您所在企业尚未订购好办 ,请前往升级版本后继续使用。","提示",{confirmButtonText:"立即前往订购",cancelButtonText:"取消",type:"warning"}).then(function(){window.open("")})},toTip:function(){this.$confirm("您没有该功能的使用权限,请联系管理员授权后继续使用。","提示",{confirmButtonText:"知道了",type:"warning"}).then(function(){window.open("")})},getHelpData:function(){var t=this;Object(f.a)("/haoban-manage3-web/emp/get-user-info",{}).then(function(e){var a=e.data;1!=a.errorCode?t.$message.error({duration:1e3,message:a.message}):t.helpList=a.result||[]}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getAppData:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId||localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",type:t};Object(f.a)("/haoban-manage3-web/application-open-close-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return a.result.open.forEach(function(t){t.openFlag=1}),e.purchaseApp=JSON.parse(p()(a.result.open))||[],a.result.close.forEach(function(t){t.openFlag=!1}),void(e.noPurchaseApp=JSON.parse(p()(a.result.close))||[]);g.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getBindData:function(){var t=this;Object(f.a)("/haoban-manage3-web/has-bind-contract",{}).then(function(e){var a=e.data;1!=a.errorCode?g.a.errorMsg(a):a.result||t.getBindUrl()}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getBindUrl:function(){var t=this;Object(f.a)("/haoban-manage3-web/get-auth-url",{}).then(function(t){var e=t.data;1!=e.errorCode?g.a.errorMsg(e):window.location.href=""+e.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},toLogin:function(){var t=this;return new c.a(function(e,a){Object(f.a)("/haoban-manage3-web/get-login-info",{}).then(function(t){var a=t.data;if(1==a.errorCode)return localStorage.setItem("userInfos",p()(a.result)),void e(a.result);g.a.errorMsg(a),e({wxEnterpriseId:""})}).catch(function(a){e({wxEnterpriseId:""}),t.$message.error({duration:1e3,message:a.message})})})}},mounted:function(){var t=this;return i()(n.a.mark(function e(){var a;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return(a=t).getBindData(),e.next=4,a.toLogin();case 4:a.wxEnterpriseId=e.sent,a.getAppData(1),a.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-92+"px";case 7:case"end":return e.stop()}},e,t)}))()},components:{vueOfficeHeader:d.a,setTip:u.a}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"index"}},[a("vue-office-header",{ref:"headerMenu",attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body border-box",staticStyle:{"min-height":"calc(100vh - 46px)"}},[a("div",{staticClass:"index-body flex flex-row"},[a("div",{staticClass:"index-body-left"},[a("div",{staticClass:"index-body-left_top border-box"},[a("div",{staticClass:"app-title font-16 color-303133 flex flex-space-between"},[a("span",[t._v("已使用")]),t._v(" "),t.checkShow?a("set-tip",{attrs:{tipText:t.tipText}}):t._e()],1),t._v(" "),a("ul",t._l(t.purchaseApp,function(e,o){return a("li",{key:o+"app",staticClass:"border-box",on:{click:function(a){t.toAppView(e)}}},[a("div",{staticClass:"app-li-cell border-box flex"},[a("div",{staticClass:"app-cell-left"},[a("img",{attrs:{src:e.applicationUrl,alt:"img"}})]),t._v(" "),a("div",{staticClass:"app-cell-right flex flex-column flex-align-center flex-pack-center"},[a("div",{staticClass:"app-name font-14 color-303133"},[t._v(t._s(e.applicationName))]),t._v(" "),e.applicationPath?t._e():a("div",{staticClass:"app-info"},[a("span",{staticClass:"font-14 color-909399"},[t._v("里面为空~")])])]),t._v(" "),a("div",{staticClass:"app-cell-arrow"},[a("el-dropdown",{staticClass:"app-cell-dropdown",attrs:{trigger:"hover"}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-more el-icon--right color-606266",staticStyle:{cursor:"pointer"}})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{staticClass:"p-0"},[a("span",{on:{click:function(a){a.stopPropagation(),t.changeSwitch(e)}}},[t._v(t._s(1==e.openFlag?"停用":"启用"))])])],1)],1)],1)])])}))]),t._v(" "),a("div",{staticClass:"bg-space"}),t._v(" "),a("div",{staticClass:"index-body-left_bottom border-box"},[a("div",{staticClass:"app-title font-16 color-303133"},[t._v("已停用")]),t._v(" "),a("ul",t._l(t.noPurchaseApp,function(e,o){return a("li",{key:o+"appno",staticClass:"border-box"},[a("div",{staticClass:"app-li-cell border-box flex"},[a("div",{staticClass:"app-cell-left"},[a("img",{attrs:{src:e.applicationUrl,alt:"img"}})]),t._v(" "),a("div",{staticClass:"app-cell-right"},[a("div",{staticClass:"app-name stop-app-name font-14 color-303133"},[t._v(t._s(e.applicationName))]),t._v(" "),a("div",{staticClass:"app-info stop-app-info"},[a("el-switch",{attrs:{"active-text":"","inactive-text":""},on:{change:function(a){t.changeAppSwitch(a,e)}},model:{value:e.openFlag,callback:function(a){t.$set(e,"openFlag",a)},expression:"item.openFlag"}})],1)])])])}))])]),t._v(" "),a("div",{staticClass:"index-body-right"},[a("div",{staticClass:"index-body-right_top border-box"},[a("div",{staticClass:"serve-info"},[a("div",{staticClass:"serve-date-info"},[a("div",{staticClass:"font-14 color-909399 p-t-10 m-b-5"},[t._v(t._s(t._f("timeStampToYm")((new Date).getTime())))]),t._v(" "),a("div",{staticClass:"font-12 color-909399"},[t._v("农历"+t._s(t.getLunarDay((new Date).getFullYear(),(new Date).getMonth()+1,(new Date).getDate())))]),t._v(" "),a("div",{staticClass:"serve-date-day"},[a("div",{staticClass:"serve-date-day_inner "},[a("div",{staticClass:"color-fff font-26 p-t-10"},[t._v(t._s((new Date).getDate()))]),t._v(" "),a("div",{staticClass:"color-fff font-12"},[t._v(t._s(t.weeks[(new Date).getDay()]))])])])]),t._v(" "),a("div",{staticClass:"serve-version flex"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("企业")]),t._v(" "),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.versionData.name))])]),t._v(" "),a("div",{staticClass:"serve-date flex m-t-20"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("版本")]),t._v(" "),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.versionData.version))])]),t._v(" "),a("div",{staticClass:"serve-store flex m-t-20"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("门店总数")]),t._v(" "),a("span",{staticClass:"font-14 color-303133 "},[t._v(t._s(t.versionData.storeAllNum))])])])]),t._v(" "),a("div",{staticClass:"bg-margin-10"}),t._v(" "),a("div",{staticClass:"index-body-right_bottom border-box"},[a("div",{staticClass:"help-title font-16 color-303133 font-w-600"},[t._v("帮助中心")]),t._v(" "),a("ul",{staticClass:"help-list"},[t._l(t.helpList,function(e,o){return a("li",{key:o+"help",staticClass:"cursor-pointer font-14 color-606266",on:{click:function(a){t.toRedirect(e)}}},[t._v("\n "+t._s(e.name)+"\n ")])}),t._v(" "),a("li",{staticClass:"text-center"},[a("el-button",{attrs:{type:"text"},on:{click:t.goUdesk}},[t._v("更多")])],1)],2)])])])])])],1)},staticRenderFns:[]};var w=a("VU/8")(h,m,!1,function(t){a("HYKl")},"data-v-2ee8d98a",null);e.default=w.exports},c9no:function(t,e,a){"use strict";var o={name:"set-tip",props:{tipText:{type:String,default:function(){return""}}},data:function(){return{setTipShow:!0}},methods:{toClose:function(){this.setTipShow=!1},toSet:function(){if(this.$route.path.includes("enterpriseSet"))return!1;this.$router.push("enterpriseSet?/adminList")}}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.setTipShow?a("div",{staticClass:"set-tip-body flex flex-align-center border-box"},[a("span",{staticClass:" font-13 el-icon-info color-2f54eb"}),a("span",{staticClass:"m-l-10 font-13 color-606266"},[t._v(t._s(t.tipText))]),a("el-button",{staticClass:"m-l-10",attrs:{type:"text"},on:{click:t.toClose}},[t._v("忽略")]),a("el-button",{staticClass:"m-l-10",attrs:{type:"text"},on:{click:t.toSet}},[t._v("去完成")])],1):t._e()},staticRenderFns:[]};var s=a("VU/8")(o,n,!1,function(t){a("CGK2")},"data-v-af7df396",null);e.a=s.exports}});
\ No newline at end of file
webpackJsonp([7],{CGK2:function(t,e){},CbEq:function(t,e){},c9no:function(t,e,s){"use strict";var a={name:"set-tip",props:{tipText:{type:String,default:function(){return""}}},data:function(){return{setTipShow:!0}},methods:{toClose:function(){this.setTipShow=!1},toSet:function(){if(this.$route.path.includes("enterpriseSet"))return!1;this.$router.push("enterpriseSet?/adminList")}}},c={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return t.setTipShow?s("div",{staticClass:"set-tip-body flex flex-align-center border-box"},[s("span",{staticClass:" font-13 el-icon-info color-2f54eb"}),s("span",{staticClass:"m-l-10 font-13 color-606266"},[t._v(t._s(t.tipText))]),s("el-button",{staticClass:"m-l-10",attrs:{type:"text"},on:{click:t.toClose}},[t._v("忽略")]),s("el-button",{staticClass:"m-l-10",attrs:{type:"text"},on:{click:t.toSet}},[t._v("去完成")])],1):t._e()},staticRenderFns:[]};var o=s("VU/8")(a,c,!1,function(t){s("CGK2")},"data-v-af7df396",null);e.a=o.exports},x5Fx:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("c9no"),c=s("P9l9"),o=s("Ch4/"),r={props:{},data:function(){return{checkShow:!1,tipText:"请在企业密钥维护中输入对应的secret",tableH:window.screen.availHeight-464-126,wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",companyObj:{smallVersion:"",corpName:"",corpid:"",contactFlag:!1,verifiedEndTime:"",corpIndustry:"",corpSubIndustry:"",corpUserMax:"",location:""},secrets:{customerSecret:"",customerSaveDate:"",customerCheck:!0,contactSecret:"",contactSaveDate:"",contactCheck:!0,appSecret:"",appSaveDate:"",appCheck:!1}}},computed:{},methods:{saveSecret:function(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId};Object(c.d)("/haoban-manage3-web/",e).then(function(e){var s=e.data;if(1==s.errorCode)return t.secrets=s.result,!1;o.a.errorMsg(s)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},refeshData:function(){this.refreshData()},refreshData:function(t){var e=this,s={wxEnterpriseId:e.wxEnterpriseId};Object(c.a)("/haoban-manage3-web/wxEnterprise-refresh",s).then(function(t){var s=t.data;if(1==s.errorCode)return e.companyObj=s.result,!1;o.a.errorMsg(s)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getData:function(t){var e=this,s={wxEnterpriseId:e.wxEnterpriseId};Object(c.a)("/haoban-manage3-web/wxEnterprise-detail",s).then(function(t){var s=t.data;if(1==s.errorCode)return e.companyObj=s.result,!1;o.a.errorMsg(s)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{},mounted:function(){this.$emit("showTab",1),document.documentElement.style.backgroundColor="#f0f2f5",this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{setTip:a.a}},n={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"daily-set-wrap "},[s("div",{staticClass:"daily-set-content border-box"},[s("div",{staticClass:"company-title m-b-20 flex flex-space-between"},[s("div",{staticClass:"line-h-32"},[s("span",{staticClass:"color-303133 font-14 font-w-600"},[t._v("企业微信基本信息")]),s("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:t.refeshData}},[t._v("同步刷新 ")])],1),t._v(" "),s("div",[t.checkShow?s("set-tip",{attrs:{tipText:t.tipText}}):t._e()],1)]),t._v(" "),s("div",{staticClass:"company-info-body"},[s("el-form",{ref:"form",attrs:{model:t.form,"label-width":"105px"}},[s("el-form-item",{attrs:{label:"企业名称"}},[s("span",{staticClass:"font-14 color-303133 p-r-10"},[t._v(t._s(t.companyObj.corpName))]),t._v(" "),s("el-tag",[t._v(" "+t._s(1==t.companyObj.contactFlag?"已认证":"未认证"))]),1==t.companyObj.contactFlag?s("span",{staticClass:"p-l-10 font-12 color-909399"},[t._v("认证到期 "+t._s(t._f("timeStampToYmd")(t.companyObj.verifiedEndTime)))]):t._e()],1),t._v(" "),s("el-form-item",{attrs:{label:"企业ID"}},[s("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.companyObj.corpid))])]),t._v(" "),s("el-form-item",{attrs:{label:"行业类型"}},[s("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.companyObj.corpIndustry)+" / "+t._s(t.companyObj.corpSubIndustry))])]),t._v(" "),s("el-form-item",{attrs:{label:"人员规模"}},[s("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.companyObj.corpScale))])]),t._v(" "),s("el-form-item",{attrs:{label:"地址"}},[s("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.companyObj.location))])])],1)],1),t._v(" "),t._m(0),t._v(" "),s("div",{staticClass:"company-info-body secret-body"},[s("div",{staticClass:"m-b-20"},[s("span",{staticClass:"inline-block w-127"},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"企业微信中【客户联系】API中若更新secret,请复制后更新至此处。首次使用好办请输入。",placement:"top-start"}},[s("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("客户联系secret:")])])],1),s("el-input",{staticClass:"m-l-10 w-399",attrs:{placeholder:""},model:{value:t.secrets.customerSecret,callback:function(e){t.$set(t.secrets,"customerSecret",e)},expression:"secrets.customerSecret"}}),s("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:function(e){t.saveSecret("")}}},[t._v("保存")]),s("span",{staticClass:"m-l-20 font-12 color-909399"},[t._v("最后一次保存:"+t._s(t.secrets.customerSaveDate||t.formatTimeStamp))]),s("span",{staticClass:"m-l-37 font-14 color-303133"},[s("span",{class:[t.secrets.customerCheck?"color-49c958 el-icon-circle-check":"color-f83431 el-icon-circle-close"]}),s("span",{staticClass:"p-l-10"},[t._v(t._s(t.secrets.customerCheck?"校验成功":"校验失败"))])])],1),t._v(" "),s("div",{staticClass:"m-b-20"},[s("span",{staticClass:"inline-block w-127"},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start"}},[s("div",{attrs:{slot:"content"},slot:"content"},[t._v("企业微信中通讯录同步若更新secret,请复制后更新至此处。"),s("br"),t._v("因获取Secret而获取通讯录的相关信息。首次使用好办请输入。"),s("br"),t._v("若发生相关变更,与企业微信无关,特此告知!")]),t._v(" "),s("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("通讯录secret:")])])],1),s("el-input",{staticClass:"m-l-10 w-399",attrs:{placeholder:""},model:{value:t.secrets.contactSecret,callback:function(e){t.$set(t.secrets,"contactSecret",e)},expression:"secrets.contactSecret"}}),s("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:function(e){t.saveSecret("")}}},[t._v("保存")]),s("span",{staticClass:"m-l-20 font-12 color-909399"},[t._v("最后一次保存:"+t._s(t.secrets.contactSaveDate||t.formatTimeStamp))]),s("span",{staticClass:"m-l-37 font-14 color-303133"},[s("span",{class:[t.secrets.contactCheck?"color-49c958 el-icon-circle-check":"color-f83431 el-icon-circle-close"]}),s("span",{staticClass:"p-l-10"},[t._v(t._s(t.secrets.contactCheck?"校验成功":"校验失败"))])])],1),t._v(" "),s("div",[s("span",{staticClass:"inline-block w-127"},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"企业微信中【应用管理】关联的会员小程序secret,请复制后更新至此处。首次使用好办请输入。",placement:"top-start"}},[s("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("会员小程序secret:")])])],1),s("el-input",{staticClass:"m-l-10 w-399",attrs:{placeholder:""},model:{value:t.secrets.appSecret,callback:function(e){t.$set(t.secrets,"appSecret",e)},expression:"secrets.appSecret"}}),s("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:function(e){t.saveSecret("")}}},[t._v("保存")]),s("span",{staticClass:"m-l-20 font-12 color-909399"},[t._v("最后一次保存:"+t._s(t.secrets.appSaveDate||t.formatTimeStamp))]),s("span",{staticClass:"m-l-37 font-14 color-303133"},[s("span",{class:[t.secrets.appCheck?"color-49c958 el-icon-circle-check":"color-f83431 el-icon-circle-close"]}),s("span",{staticClass:"p-l-10"},[t._v(t._s(t.secrets.appCheck?"校验成功":"校验失败"))])])],1)])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"company-title m-b-20 m-t-30"},[e("span",{staticClass:"color-303133 font-14 font-w-600"},[this._v("客户密钥维护")])])}]};var l=s("VU/8")(r,n,!1,function(t){s("CbEq")},"data-v-62721102",null);e.default=l.exports}}); webpackJsonp([7],{CbEq:function(t,e){},DyFh:function(t,e){},c9no:function(t,e,s){"use strict";var a={name:"set-tip",props:{tipText:{type:String,default:function(){return""}}},data:function(){return{setTipShow:!0}},methods:{toClose:function(){this.setTipShow=!1},toSet:function(){if(this.$route.path.includes("enterpriseSet"))return!1;this.$router.push("enterpriseSet?/adminList")}}},c={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return t.setTipShow?s("div",{staticClass:"set-tip-body flex flex-align-center border-box"},[s("span",{staticClass:" font-13 el-icon-info color-2f54eb"}),s("span",{staticClass:"m-l-10 font-13 color-606266"},[t._v(t._s(t.tipText))]),s("el-button",{staticClass:"m-l-10",attrs:{type:"text"},on:{click:t.toClose}},[t._v("忽略")]),s("el-button",{staticClass:"m-l-10",attrs:{type:"text"},on:{click:t.toSet}},[t._v("去完成")])],1):t._e()},staticRenderFns:[]};var o=s("VU/8")(a,c,!1,function(t){s("DyFh")},"data-v-51e28415",null);e.a=o.exports},x5Fx:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("c9no"),c=s("P9l9"),o=s("Ch4/"),r={props:{},data:function(){return{checkShow:!1,tipText:"请在企业密钥维护中输入对应的secret",tableH:window.screen.availHeight-464-126,wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",companyObj:{smallVersion:"",corpName:"",corpid:"",contactFlag:!1,verifiedEndTime:"",corpIndustry:"",corpSubIndustry:"",corpUserMax:"",location:""},secrets:{customerSecret:"",customerSaveDate:"",customerCheck:!0,contactSecret:"",contactSaveDate:"",contactCheck:!0,appSecret:"",appSaveDate:"",appCheck:!1}}},computed:{},methods:{saveSecret:function(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId};Object(c.d)("/haoban-manage3-web/",e).then(function(e){var s=e.data;if(1==s.errorCode)return t.secrets=s.result,!1;o.a.errorMsg(s)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},refeshData:function(){this.refreshData()},refreshData:function(t){var e=this,s={wxEnterpriseId:e.wxEnterpriseId};Object(c.a)("/haoban-manage3-web/wxEnterprise-refresh",s).then(function(t){var s=t.data;if(1==s.errorCode)return e.companyObj=s.result,!1;o.a.errorMsg(s)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getData:function(t){var e=this,s={wxEnterpriseId:e.wxEnterpriseId};Object(c.a)("/haoban-manage3-web/wxEnterprise-detail",s).then(function(t){var s=t.data;if(1==s.errorCode)return e.companyObj=s.result,!1;o.a.errorMsg(s)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{},mounted:function(){this.$emit("showTab",1),document.documentElement.style.backgroundColor="#f0f2f5",this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{setTip:a.a}},n={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"daily-set-wrap "},[s("div",{staticClass:"daily-set-content border-box"},[s("div",{staticClass:"company-title m-b-20 flex flex-space-between"},[s("div",{staticClass:"line-h-32"},[s("span",{staticClass:"color-303133 font-14 font-w-600"},[t._v("企业微信基本信息")]),s("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:t.refeshData}},[t._v("同步刷新 ")])],1),t._v(" "),s("div",[t.checkShow?s("set-tip",{attrs:{tipText:t.tipText}}):t._e()],1)]),t._v(" "),s("div",{staticClass:"company-info-body"},[s("el-form",{ref:"form",attrs:{model:t.form,"label-width":"105px"}},[s("el-form-item",{attrs:{label:"企业名称"}},[s("span",{staticClass:"font-14 color-303133 p-r-10"},[t._v(t._s(t.companyObj.corpName))]),t._v(" "),s("el-tag",[t._v(" "+t._s(1==t.companyObj.contactFlag?"已认证":"未认证"))]),1==t.companyObj.contactFlag?s("span",{staticClass:"p-l-10 font-12 color-909399"},[t._v("认证到期 "+t._s(t._f("timeStampToYmd")(t.companyObj.verifiedEndTime)))]):t._e()],1),t._v(" "),s("el-form-item",{attrs:{label:"企业ID"}},[s("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.companyObj.corpid))])]),t._v(" "),s("el-form-item",{attrs:{label:"行业类型"}},[s("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.companyObj.corpIndustry)+" / "+t._s(t.companyObj.corpSubIndustry))])]),t._v(" "),s("el-form-item",{attrs:{label:"人员规模"}},[s("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.companyObj.corpScale))])]),t._v(" "),s("el-form-item",{attrs:{label:"地址"}},[s("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.companyObj.location))])])],1)],1),t._v(" "),t._m(0),t._v(" "),s("div",{staticClass:"company-info-body secret-body"},[s("div",{staticClass:"m-b-20"},[s("span",{staticClass:"inline-block w-127"},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"企业微信中【客户联系】API中若更新secret,请复制后更新至此处。首次使用好办请输入。",placement:"top-start"}},[s("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("客户联系secret:")])])],1),s("el-input",{staticClass:"m-l-10 w-399",attrs:{placeholder:""},model:{value:t.secrets.customerSecret,callback:function(e){t.$set(t.secrets,"customerSecret",e)},expression:"secrets.customerSecret"}}),s("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:function(e){t.saveSecret("")}}},[t._v("保存")]),s("span",{staticClass:"m-l-20 font-12 color-909399"},[t._v("最后一次保存:"+t._s(t.secrets.customerSaveDate||t.formatTimeStamp))]),s("span",{staticClass:"m-l-37 font-14 color-303133"},[s("span",{class:[t.secrets.customerCheck?"color-49c958 el-icon-circle-check":"color-f83431 el-icon-circle-close"]}),s("span",{staticClass:"p-l-10"},[t._v(t._s(t.secrets.customerCheck?"校验成功":"校验失败"))])])],1),t._v(" "),s("div",{staticClass:"m-b-20"},[s("span",{staticClass:"inline-block w-127"},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start"}},[s("div",{attrs:{slot:"content"},slot:"content"},[t._v("企业微信中通讯录同步若更新secret,请复制后更新至此处。"),s("br"),t._v("因获取Secret而获取通讯录的相关信息。首次使用好办请输入。"),s("br"),t._v("若发生相关变更,与企业微信无关,特此告知!")]),t._v(" "),s("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("通讯录secret:")])])],1),s("el-input",{staticClass:"m-l-10 w-399",attrs:{placeholder:""},model:{value:t.secrets.contactSecret,callback:function(e){t.$set(t.secrets,"contactSecret",e)},expression:"secrets.contactSecret"}}),s("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:function(e){t.saveSecret("")}}},[t._v("保存")]),s("span",{staticClass:"m-l-20 font-12 color-909399"},[t._v("最后一次保存:"+t._s(t.secrets.contactSaveDate||t.formatTimeStamp))]),s("span",{staticClass:"m-l-37 font-14 color-303133"},[s("span",{class:[t.secrets.contactCheck?"color-49c958 el-icon-circle-check":"color-f83431 el-icon-circle-close"]}),s("span",{staticClass:"p-l-10"},[t._v(t._s(t.secrets.contactCheck?"校验成功":"校验失败"))])])],1),t._v(" "),s("div",[s("span",{staticClass:"inline-block w-127"},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"企业微信中【应用管理】关联的会员小程序secret,请复制后更新至此处。首次使用好办请输入。",placement:"top-start"}},[s("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("会员小程序secret:")])])],1),s("el-input",{staticClass:"m-l-10 w-399",attrs:{placeholder:""},model:{value:t.secrets.appSecret,callback:function(e){t.$set(t.secrets,"appSecret",e)},expression:"secrets.appSecret"}}),s("el-button",{staticClass:"m-l-20",attrs:{type:"text"},on:{click:function(e){t.saveSecret("")}}},[t._v("保存")]),s("span",{staticClass:"m-l-20 font-12 color-909399"},[t._v("最后一次保存:"+t._s(t.secrets.appSaveDate||t.formatTimeStamp))]),s("span",{staticClass:"m-l-37 font-14 color-303133"},[s("span",{class:[t.secrets.appCheck?"color-49c958 el-icon-circle-check":"color-f83431 el-icon-circle-close"]}),s("span",{staticClass:"p-l-10"},[t._v(t._s(t.secrets.appCheck?"校验成功":"校验失败"))])])],1)])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"company-title m-b-20 m-t-30"},[e("span",{staticClass:"color-303133 font-14 font-w-600"},[this._v("客户密钥维护")])])}]};var l=s("VU/8")(r,n,!1,function(t){s("CbEq")},"data-v-62721102",null);e.default=l.exports}});
\ No newline at end of file \ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,f,n){for(var r,t,o,i=0,u=[];i<c.length;i++)t=c[i],b[t]&&u.push(b[t][0]),b[t]=0;for(r in f)Object.prototype.hasOwnProperty.call(f,r)&&(e[r]=f[r]);for(a&&a(c,f,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var c={},b={62:0};function d(a){if(c[a])return c[a].exports;var b=c[a]={i:a,l:!1,exports:{}};return e[a].call(b.exports,b,b.exports,d),b.l=!0,b.exports}d.e=function(e){var a=b[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,d){a=b[e]=[c,d]});a[2]=c;var f=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"937e457e590c16cf534f",1:"06c4e42e62c1f75191f0",2:"d0482081f50b38af525e",3:"b2cc94a09469925585d4",4:"48683e240d33007103ef",5:"69f69ddcc8519956eb16",6:"1a60341f4d0987cb67c1",7:"e632b28d8abcc77b2a5b",8:"18888ec41d7229d0e75b",9:"aa16369ac132fab2a89c",10:"935a69797af3baaa97b8",11:"7e738b7e2b3113875cf2",12:"648616d45073b016f484",13:"ac53de44b96fbf140876",14:"b5eeff543d3ba3834034",15:"b896c9c17bab0a1046da",16:"ae1bc177056bb581e594",17:"a4114d51ee72cb7240b5",18:"725f4abf98b87b94bcc2",19:"29b77aeee47c1edc7818",20:"5e99d586c2a3f95de2da",21:"0bbb0276efb392542a9c",22:"fbfa41557bb84135d0d6",23:"651b185e2044c2807304",24:"2eda35461eaa66a95420",25:"7549e1d07154cb68ad21",26:"4a9b3d64a1064ee4d046",27:"db4da52504dc5a56b7ca",28:"e87e178de592c4a24589",29:"aca75882170e5a5945be",30:"82e87aae7d3295d12883",31:"032c054ea5ca1ae95138",32:"c1c0d91f0f5cea383f92",33:"17b587ea836e40e85f6c",34:"fe5fa10071f728bce540",35:"58646980a26370faba20",36:"11a1a313d8ff29508d13",37:"4eb8995550564944b43d",38:"ac6e21ea5cd441ae16e1",39:"aaba1f49ea8d5a1de7a1",40:"5c88eb3d24b8c0c5c765",41:"754895d6e8968f855a79",42:"43bbedbec5d68a86dac1",43:"87c1782754b0b05f7608",44:"aa371b07acf3ccb8cf7b",45:"67d74a26606b9aaaaf36",46:"8d36bd32cd547dbfb19f",47:"6cbd1422c407e5e5bb55",48:"2e7b654e43cd44a49642",49:"952d05eb6e168261a3ff",50:"cd442f3ed8acba6f25b5",51:"fc84a6ee6fc1d9500cea",52:"2ba0810a01676a362ab7",53:"d27ba78b3162a86701a6",54:"7b4474d269d938b3a51b",55:"be25aa4e49d3d192a680",56:"3ad96239e6b5a38612bf",57:"7b6836579092420fa925",58:"a5bc5744383b8ec98b4a",59:"d09df13cb208c48a0801"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=b[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),b[e]=void 0)}return n.onerror=n.onload=t,f.appendChild(n),c},d.m=e,d.c=c,d.d=function(e,a,c){d.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},d.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(a,"a",a),a},d.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]); !function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,f,n){for(var r,t,o,i=0,u=[];i<c.length;i++)t=c[i],b[t]&&u.push(b[t][0]),b[t]=0;for(r in f)Object.prototype.hasOwnProperty.call(f,r)&&(e[r]=f[r]);for(a&&a(c,f,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var c={},b={62:0};function d(a){if(c[a])return c[a].exports;var b=c[a]={i:a,l:!1,exports:{}};return e[a].call(b.exports,b,b.exports,d),b.l=!0,b.exports}d.e=function(e){var a=b[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,d){a=b[e]=[c,d]});a[2]=c;var f=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"937e457e590c16cf534f",1:"06c4e42e62c1f75191f0",2:"d0482081f50b38af525e",3:"b2cc94a09469925585d4",4:"48683e240d33007103ef",5:"69f69ddcc8519956eb16",6:"1a60341f4d0987cb67c1",7:"6355d8ed403e672c300e",8:"18888ec41d7229d0e75b",9:"aa16369ac132fab2a89c",10:"935a69797af3baaa97b8",11:"77b318dc92663077a314",12:"648616d45073b016f484",13:"ac53de44b96fbf140876",14:"b5eeff543d3ba3834034",15:"b896c9c17bab0a1046da",16:"ae1bc177056bb581e594",17:"a4114d51ee72cb7240b5",18:"725f4abf98b87b94bcc2",19:"29b77aeee47c1edc7818",20:"5e99d586c2a3f95de2da",21:"0bbb0276efb392542a9c",22:"fbfa41557bb84135d0d6",23:"651b185e2044c2807304",24:"2eda35461eaa66a95420",25:"7549e1d07154cb68ad21",26:"4a9b3d64a1064ee4d046",27:"db4da52504dc5a56b7ca",28:"e87e178de592c4a24589",29:"aca75882170e5a5945be",30:"82e87aae7d3295d12883",31:"032c054ea5ca1ae95138",32:"c1c0d91f0f5cea383f92",33:"17b587ea836e40e85f6c",34:"fe5fa10071f728bce540",35:"58646980a26370faba20",36:"11a1a313d8ff29508d13",37:"4eb8995550564944b43d",38:"ac6e21ea5cd441ae16e1",39:"aaba1f49ea8d5a1de7a1",40:"5c88eb3d24b8c0c5c765",41:"754895d6e8968f855a79",42:"43bbedbec5d68a86dac1",43:"87c1782754b0b05f7608",44:"aa371b07acf3ccb8cf7b",45:"67d74a26606b9aaaaf36",46:"8d36bd32cd547dbfb19f",47:"6cbd1422c407e5e5bb55",48:"2e7b654e43cd44a49642",49:"952d05eb6e168261a3ff",50:"cd442f3ed8acba6f25b5",51:"fc84a6ee6fc1d9500cea",52:"2ba0810a01676a362ab7",53:"d27ba78b3162a86701a6",54:"7b4474d269d938b3a51b",55:"be25aa4e49d3d192a680",56:"3ad96239e6b5a38612bf",57:"7b6836579092420fa925",58:"a5bc5744383b8ec98b4a",59:"d09df13cb208c48a0801"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=b[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),b[e]=void 0)}return n.onerror=n.onload=t,f.appendChild(n),c},d.m=e,d.c=c,d.d=function(e,a,c){d.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},d.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(a,"a",a),a},d.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-04-13 16:15:31 * @Date: 2020-04-13 16:15:31
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-04-13 16:37:36 * @LastEditTime: 2020-04-13 17:04:45
--> -->
<!-- <!--
<set-tip :tipText="tipText"></set-tip> <set-tip :tipText="tipText"></set-tip>
...@@ -49,7 +49,7 @@ export default { ...@@ -49,7 +49,7 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.set-tip-body { .set-tip-body {
width: 400px; width: 412px;
height: 32px; height: 32px;
background: rgba(240, 245, 255, 1); background: rgba(240, 245, 255, 1);
border-radius: 2px; border-radius: 2px;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2018-10-10 14:44:45 * @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-04-13 17:00:43 * @LastEditTime: 2020-04-13 17:06:10
--> -->
<template> <template>
<div id="index"> <div id="index">
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<div class="index-body-left"> <div class="index-body-left">
<div class="index-body-left_top border-box"> <div class="index-body-left_top border-box">
<div class="app-title font-16 color-303133 flex flex-space-between"> <div class="app-title font-16 color-303133 flex flex-space-between">
<span>已使用</span> <span class="font-16 color-303133 font-w-600 line-h-32">已使用</span>
<set-tip v-if="checkShow" :tipText="tipText"></set-tip> <set-tip v-if="checkShow" :tipText="tipText"></set-tip>
</div> </div>
<ul> <ul>
...@@ -575,6 +575,10 @@ export default { ...@@ -575,6 +575,10 @@ export default {
color: #f5222d; color: #f5222d;
} }
.line-h-32 {
line-height: 32px;
}
.font-26 { .font-26 {
font-size: 26px; font-size: 26px;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment