Commit b9d6a483 by 无尘

feat: 增加日报配置

parent 56a7f5ba
<!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.24.css><link href=./static/css/app.dd8c31f3602322a7adc052c997095337.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.c0b160335f03e1b6a611.js></script><script type=text/javascript src=./static/js/vendor.e7e9e4c6cb5d0ab86fb8.js></script><script type=text/javascript src=./static/js/app.6e586389250fa782ecc1.js></script></body></html>
\ No newline at end of file
<!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.24.css><link href=./static/css/app.61334a3476360332141b091483c040aa.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.34cfc49a690c4faea1cf.js></script><script type=text/javascript src=./static/js/vendor.e7e9e4c6cb5d0ab86fb8.js></script><script type=text/javascript src=./static/js/app.96bc4b1503e37bfcd031.js></script></body></html>
\ 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.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([38],{"4QyY":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("bzW+"),i=e("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"云日报",appIcon:window.unescape(this.$route.query.appIcon),activeSelTab:"11",activeTab:"11",navpath:[{name:"首页",path:"/index"},{name:"指标管理",path:""}],tabListData:[{tabId:"1",tabName:"云日报",icon:"iconribao",onlyIconActive:!1,children:[{tabId:"11",tabName:"云日报记录",icon:""},{tabId:"12",tabName:"云日报导出",icon:""}]},{tabId:"2",tabName:"任务下发设置",icon:""},{tabId:"3",tabName:"云日报设置",icon:"iconribaoshezhi",onlyIconActive:!1,children:[{tabId:"31",tabName:"系统报表",icon:""},{tabId:"32",tabName:"自定义报表",icon:""}]}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"11":this.changeRoute("dailyRecord");break;case"12":this.changeRoute("dailyExport");break;case"2":this.changeRoute("taskAssign");break;case"31":this.changeRoute("systemReport");break;case"32":this.changeRoute("customReport")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a}},o={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[e("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[e("div",{staticClass:"apps-content-left w-157",style:{"min-height":t.bgHeight}},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var s=e("VU/8")(c,o,!1,function(t){e("y28s")},"data-v-2db3102a",null);a.default=s.exports},y28s:function(t,a){}});
\ No newline at end of file
webpackJsonp([39],{dojt:function(t,a){},qSX4:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("bzW+"),i=e("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"指标管理",appIcon:"icon-ribao",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"指标管理",path:""}],tabListData:[{tabId:"1",tabName:"月指标",icon:"iconzhibiao",onlyIconActive:!1},{tabId:"2",tabName:"月指标任务",icon:"iconrenwu"}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("monthList");break;case"2":this.changeRoute("monthTask")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a}},o={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[e("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[t.$route.meta.keepAlive?e("keep-alive",[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1):e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var s=e("VU/8")(c,o,!1,function(t){e("dojt")},"data-v-26083a76",null);a.default=s.exports}});
\ No newline at end of file
webpackJsonp([38],{dojt:function(t,a){},qSX4:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("bzW+"),i=e("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"指标管理",appIcon:"icon-ribao",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"指标管理",path:""}],tabListData:[{tabId:"1",tabName:"月指标",icon:"iconzhibiao",onlyIconActive:!1},{tabId:"2",tabName:"月指标任务",icon:"iconrenwu"}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("monthList");break;case"2":this.changeRoute("monthTask")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a}},o={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[e("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[t.$route.meta.keepAlive?e("keep-alive",[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1):e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var s=e("VU/8")(c,o,!1,function(t){e("dojt")},"data-v-26083a76",null);a.default=s.exports}});
\ No newline at end of file
webpackJsonp([43],{"/5Rh":function(t,a){},"4QyY":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("bzW+"),i=e("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"云日报",appIcon:window.unescape(this.$route.query.appIcon),activeSelTab:"11",activeTab:"11",navpath:[{name:"首页",path:"/index"},{name:"指标管理",path:""}],tabListData:[{tabId:"1",tabName:"云日报",icon:"iconribao",onlyIconActive:!1,children:[{tabId:"11",tabName:"云日报记录",icon:""},{tabId:"12",tabName:"云日报导出",icon:""}]},{tabId:"2",tabName:"任务下发设置",icon:"iconxiafa"},{tabId:"3",tabName:"云日报设置",icon:"iconribaoshezhi",onlyIconActive:!1,children:[{tabId:"31",tabName:"系统报表",icon:""},{tabId:"32",tabName:"自定义报表",icon:""}]}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"11":this.changeRoute("dailyRecord");break;case"12":this.changeRoute("dailyExport");break;case"2":this.changeRoute("taskAssign");break;case"31":this.changeRoute("systemReport");break;case"32":this.changeRoute("customReport")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})}},watch:{activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){var t=this.$route.query.appIcon;t&&(this.appIcon=window.unescape(t)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a}},o={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[e("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[e("div",{staticClass:"apps-content-left w-157",style:{"min-height":t.bgHeight}},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var s=e("VU/8")(c,o,!1,function(t){e("/5Rh")},"data-v-13512ffe",null);a.default=s.exports}});
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,b,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var a={},f={48:0};function d(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,d){c=f[e]=[a,d]});c[2]=a;var b=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:"865734d129e29daf0598",1:"fe9dec1f31b04053fd7e",2:"56df8d5c9fa2d863722b",3:"1b8150cfef9146c668a4",4:"045ac85e15b9174df01f",5:"2219f2c412ac776ee557",6:"029fe416d38d9c2d8bda",7:"f43bcb21b3f30bc46d21",8:"5e787f5eb2f4bd7cfb7b",9:"24b60dcd1aeb52838879",10:"5209a7ebb76cc3d5f762",11:"d0feaf79e893058f9bc2",12:"3b9c756b15cf547445f5",13:"d847d9cd9013c7382389",14:"071b211ba196f13111e6",15:"e780a9302ed89095559c",16:"5a94160368e5d5d00b5b",17:"d2ac6b4cd96a4dbc86b6",18:"ea1283a54e850000965b",19:"adab2f41327ff81c34fe",20:"1dd29ff5956cf49cdb65",21:"4bb9ed17846fbb68e603",22:"5a9caac2d7368202522a",23:"df4c4bbba60adc0f2781",24:"9d83643350c6cae4dd7a",25:"a381531cb74bf5303ea7",26:"498a02592c68c493cba8",27:"dd47b03d785ffb210328",28:"c04e08d1a947bf1abd8a",29:"5e108a1868d87fb9be95",30:"1536ac1fc4e6d726ba52",31:"728a83f751bc16f1d4ab",32:"03a120d725c24c583a8a",33:"5f02ea6315d648fe0f6c",34:"6cfbb247fbb23212e1ea",35:"621c9ed3412b3718ad64",36:"d6570cbece87b4f8745a",37:"1145a4a2c5b1fcff9f42",38:"d055bbe2bd315da878e2",39:"7547d57049b7735e7972",40:"25e427e09c6cf1d7fb2e",41:"18c083a6e7a17b876e70",42:"16954dd7c38e63a5005c",43:"71f1d5c783f31bd6c0c7",44:"ca2941a1117f702bbc30",45:"a232b2d8c8341d822a71"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),a},d.m=e,d.c=a,d.d=function(e,c,a){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,d,n){for(var r,t,o,i=0,u=[];i<c.length;i++)t=c[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(a&&a(c,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var c={},f={48:0};function b(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,b),f.l=!0,f.exports}b.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,b){a=f[e]=[c,b]});a[2]=c;var d=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,b.nc&&n.setAttribute("nonce",b.nc),n.src=b.p+"static/js/"+e+"."+{0:"f6ddd98948c1a40488db",1:"fe9dec1f31b04053fd7e",2:"56df8d5c9fa2d863722b",3:"ede6a63338e11b19a676",4:"045ac85e15b9174df01f",5:"2219f2c412ac776ee557",6:"029fe416d38d9c2d8bda",7:"f43bcb21b3f30bc46d21",8:"5e787f5eb2f4bd7cfb7b",9:"24b60dcd1aeb52838879",10:"5209a7ebb76cc3d5f762",11:"d0feaf79e893058f9bc2",12:"3b9c756b15cf547445f5",13:"d847d9cd9013c7382389",14:"071b211ba196f13111e6",15:"e780a9302ed89095559c",16:"5a94160368e5d5d00b5b",17:"d2ac6b4cd96a4dbc86b6",18:"ea1283a54e850000965b",19:"adab2f41327ff81c34fe",20:"1dd29ff5956cf49cdb65",21:"4bb9ed17846fbb68e603",22:"5a9caac2d7368202522a",23:"df4c4bbba60adc0f2781",24:"9d83643350c6cae4dd7a",25:"a381531cb74bf5303ea7",26:"498a02592c68c493cba8",27:"dd47b03d785ffb210328",28:"c04e08d1a947bf1abd8a",29:"5e108a1868d87fb9be95",30:"1536ac1fc4e6d726ba52",31:"728a83f751bc16f1d4ab",32:"03a120d725c24c583a8a",33:"5f02ea6315d648fe0f6c",34:"6cfbb247fbb23212e1ea",35:"621c9ed3412b3718ad64",36:"d6570cbece87b4f8745a",37:"1145a4a2c5b1fcff9f42",38:"cb7f30b1b6c882ab6636",39:"aa1c00b19f586a4e7047",40:"067f96dfbaaeed37707d",41:"e8b25a66282a8649fccf",42:"8a935069677ebb91e485",43:"89cd4018c02f383606af",44:"ca2941a1117f702bbc30",45:"a232b2d8c8341d822a71"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),c},b.m=e,b.c=c,b.d=function(e,a,c){b.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},b.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(a,"a",a),a},b.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},b.p="./",b.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
src/assets/iphone.png

15.1 KB | W: | H:

src/assets/iphone.png

14.6 KB | W: | H:

src/assets/iphone.png
src/assets/iphone.png
src/assets/iphone.png
src/assets/iphone.png
  • 2-up
  • Swipe
  • Onion skin
<!--
* @Descripttion: 当前组件信息
* @version: 1.0.0
* @Author: 无尘
* @Date: 2020-02-05 10:50:57
* @LastEditors : 无尘
* @LastEditTime : 2020-03-02 10:55:50
-->
<!--
系统模板设置
<system-set v-if="setVisible" @closeSet="closeSet"></system-set>
import systemSet from '@/components/system-set.vue';
-->
<template>
<el-dialog width="600px" title="模板设置" :visible.sync="setVisible" append-to-body :before-close="handleClose">
<div class="m-t-20">
<el-radio v-model="selectId" label="0">定义在日报自定义上报模板上面</el-radio>
<el-radio class="m-l-40" v-model="selectId" label="1">定义在日报自定义上报模板下面</el-radio>
</div>
<div slot="footer" class="dialog-footer">
<el-button @click="cancel">取消</el-button>
<el-button type="primary" @click="submitForm">确定</el-button>
</div>
</el-dialog>
</template>
<script>
/* eslint-disable */
export default {
props: {
setting: {
type: [Number, String],
default () {
return '0';
}
}
},
data() {
return {
setVisible: true,
selectId: '0',
};
},
computed: {},
watch: {
setting(val) {
this.selectId = val;
}
},
methods: {
/**
* 关闭弹窗
*/
handleClose(done) {
const that = this;
done();
that.$emit('closeSet','close');
that.selectId = '';
},
cancel() {
const that = this;
that.$emit('closeSet','close');
that.selectId = '';
},
/**
* 确定
*/
submitForm() {
const that = this;
that.$emit('closeSet', that.selectId);
}
},
components: {},
mounted() {
this.selectId = this.setting;
}
};
</script>
<style scoped>
.m-t-5 {
margin-top: 5px;
}
.m-l-40 {
margin-left: 40px;
}
.dialog-top {
margin-bottom: 20px;
}
.dialog-top img {
width: 40px;
height: 40px;
border: 1px solid #e4e7ed;
border-radius: 50%;
vertical-align: middle;
margin-right: 10px;
}
.dialog-top span {
font-size: 14px;
font-weight: 600;
color: #303133;
}
.select-info {
display: inline-block;
vertical-align: middle;
}
.dialog-operate {
display: flex;
align-items: center;
justify-content: space-between;
}
.pagination-content {
text-align: right;
}
.dialog-form {
width: 430px;
padding-top: 20px;
}
.w-215 {
width: 215px;
}
.w-115 {
width: 115px;
}
.select-tree-wrap {
height: 445px;
overflow-y: auto;
border: 1px solid #e4e7ed;
}
</style>
......@@ -27,7 +27,7 @@
<span class="font-14 color-606266" style="cursor: pointer;padding-bottom: 2px; border-bottom: 1px dashed #2F54EB;">授权商户名称 </span>
</el-tooltip>
<el-select class="p-l-10" v-model="activeBrand" placeholder="请选择" @change="changeSelect">
<el-option v-for="item in brandListData" :key="item.brandId" :label="item.name" :value="item.brandId"> </el-option>
<el-option v-for="item in brandListData" :key="item.enterpriseId" :label="item.enterpriseName" :value="item.enterpriseId"> </el-option>
</el-select>
</div>
</div>
......@@ -85,13 +85,13 @@ export default {
*/
changeSelect(val) {
let that = this;
let groupId = '';
let enterpriseId = '';
that.brandListData.forEach(ele => {
if (ele.brandId == val) {
groupId = ele.groupId;
if (ele.enterpriseId == val) {
enterpriseId = ele.enterpriseId;
}
});
that.$emit('selectBrandId', val, groupId);
that.$emit('selectBrandId', val, enterpriseId);
},
/**
......@@ -99,20 +99,20 @@ export default {
*/
getBrandData() {
const that = this;
postRequest('/haoban-manage-web/application-brand-list', {})
postRequest('/haoban-manage3-web/wx-enterprise-list', {})
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
if (!!resData.result && !!resData.result.length) {
that.brandListData = resData.result;
if (!!that.$route.query.brandId) {
that.activeBrand = that.$route.query.brandId;
that.$emit('selectBrandId', that.$route.query.brandId);
if (!!that.$route.query.enterpriseId) {
that.activeBrand = that.$route.query.enterpriseId;
that.$emit('selectBrandId', that.$route.query.enterpriseId);
return false;
}
that.activeBrand = that.brandListData[0].brandId;
that.activeBrand = that.brandListData[0].enterpriseId;
// 由于门店选择组件中没有品牌id ,只有 groupId
that.$emit('selectBrandId', that.brandListData[0].brandId, that.brandListData[0].groupId);
that.$emit('selectBrandId', that.brandListData[0].enterpriseId, that.brandListData[0].enterpriseId);
}
return;
}
......
......@@ -72,7 +72,7 @@ export default {
{
tabId: '2',
tabName: '任务下发设置',
icon: ''
icon: 'iconxiafa'
},
{
tabId: '3',
......
......@@ -12,12 +12,16 @@
<!-- 头部标题 -->
<div class="template-head">
<div class="template-title flex-1">
<img src="../../../assets/logo45_45.png" alt="logo" />
<span class="template-title-span">系统报表设置</span>
<div role="alert" class="el-alert el-alert--info">
<i class="el-alert__icon el-icon-info"></i>
<div class="el-alert__content">
<span class="el-alert__title">云日报系统报表:提供系统能够智能识别的指标(例如:销售额、达成率等),配置成报表融入云日报上报模板中。</span>
</div>
</div>
</div>
<div class="template-btns flex-1 flex-r">
<el-button type="primary" plain @click="saveAndBack('preview')">预 览</el-button>
<el-button type="primary" plain @click="returnBack">返 回</el-button>
<el-button type="primary" plain @click="templateSet">模板设置</el-button>
<el-button type="primary" plain @click="saveAndBack('preview')">预览</el-button>
<el-button type="primary" @click="saveAndBack('save')">保存并启用</el-button>
</div>
</div>
......@@ -106,26 +110,12 @@
</div>
</div>
</div>
<!-- 右侧 -->
<div class="template-cell template-cell-r">
<el-tabs v-model="rightName">
<el-tab-pane label="控件设置" name="first">
<div id="edit-box">
<div class="edit-view baby-info-flag baby-info">
<div>
<el-radio v-model="setting" label="0">定义在日报自定义上报模板上面</el-radio>
</div>
<div class="margin-t-15">
<el-radio v-model="setting" label="1">定义在日报自定义上报模板下面</el-radio>
</div>
</div>
</div>
</el-tab-pane>
</el-tabs>
</div>
<!-- end -->
</div>
</div>
<qrcode-dialog ref="qrcodePreview" v-model="dialogVisible"></qrcode-dialog>
<system-set v-if="setVisible" :setting="setting" @closeSet="closeSet"></system-set>
<!-- <vue-gic-footer></vue-gic-footer> -->
</div>
</template>
......@@ -140,6 +130,7 @@ import errorMointor from '@/components/app/cloudDaily/error-mointor.vue';
import oldCustomerData from '@/components/app/cloudDaily/old-customer-data.vue';
import birthdayMembershipData from '@/components/app/cloudDaily/birthday-membership-data.vue';
import qrcodeDialog from '@/components/app/qrcode-dialog.vue';
import systemSet from '@/components/app/cloudDaily/system-set.vue';
import showMsg from '@/common/js/showmsg';
import errMsg from '@/common/js/error';
// import strLength from '@/common/js/strlen';
......@@ -154,7 +145,7 @@ export default {
// right tab
rightName: 'first',
dialogVisible: false,
bodyHeight: (document.documentElement.clientHeight || document.body.clientHeight) + 'px',
bodyHeight: (document.documentElement.clientHeight || document.body.clientHeight) - 277 + 'px',
// option
isDragging: false,
delayedDragging: false,
......@@ -182,7 +173,8 @@ export default {
currentIndex: 0, //当前选择的 item
tempaletDataList: [],
// 已经选择的字段集合
setParent: []
setParent: [],
setVisible: false
};
},
created() {
......@@ -190,11 +182,19 @@ export default {
},
methods: {
/**
* 返回
* 模板设置
*/
returnBack() {
let that = this;
that.changeRoute(`/systemReport?brandId=${that.brandId}&appIcon=${that.$route.query.appIcon}`);
templateSet() {
const that = this;
that.setVisible = true;
},
closeSet(res) {
const that = this;
that.setVisible = false;
if (res == 'close') {
return false;
}
that.setting = res;
},
/**
* 点击左侧字段 item
......@@ -555,7 +555,8 @@ export default {
membershipData,
oldCustomerData,
birthdayMembershipData,
qrcodeDialog
qrcodeDialog,
systemSet
},
mounted() {
const that = this;
......@@ -578,22 +579,32 @@ export default {
};
</script>
<style type="text/less" lang="less" scoped>
.el-alert--info {
width: 730px;
font-size: 14px;
color: #606266;
background: #e6f7ff;
border: 1px solid rgba(145, 213, 255, 1);
}
.el-icon-info {
width: 12px;
font-size: 12px;
color: #1890ff;
}
.template-wrap {
width: 100%;
/*height: 100%;*/
min-height: 860px;
min-height: 560px;
padding: 0;
margin: 0;
background: url('../../../assets/template-bg.jpg') no-repeat center center;
background-size: 100% 100%;
background: #fff;
.b-t-1 {
border-top: 1px solid #e4e7ed;
}
.template-contain {
width: 1200px;
margin: 0 auto;
min-width: 1200px;
}
.template-head {
......@@ -601,8 +612,9 @@ export default {
display: -webkit-flex;
display: flex;
justify-content: space-between;
height: 80px;
height: 60px;
align-items: center;
border-bottom: 1px solid #E4E7ED;
.flex-1 {
-webkit-flex: 1;
......@@ -796,7 +808,7 @@ export default {
}
.templet-null-img {
width: 249px;
width: 200px;
position: absolute;
top: 50%;
left: 50%;
......@@ -808,7 +820,7 @@ export default {
}
.drag-wrap {
min-height: 530px;
min-height: 463px;
overflow-x: hidden;
overflow-y: auto;
}
......@@ -818,18 +830,18 @@ export default {
.phone-view {
background: url(../../../assets/iphone.png) no-repeat;
background-size: 100%;
width: 410px;
height: 740px;
width: 268px;
height: 579px;
/*margin: 0 20px;*/
position: relative;
}
.phone-show-content {
width: 330px;
height: 537px;
width: 230px;
height: 463px;
position: absolute;
left: 41px;
top: 83px;
left: 19px;
top: 49px;
overflow-y: auto;
}
......
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