Commit 07242294 by 无尘

fix: 修改显示配置

parent 0ac6c39e
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.0b7a02bfc0fdb35d58110a38cc43f0f6.css rel=stylesheet></head><body style="min-width: 1400px;"><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>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.53ac4aa304aaf0d9d29a.js></script><script type=text/javascript src=./static/js/vendor.2be08ecde5c9eaaad9c2.js></script><script type=text/javascript src=./static/js/app.6740e9091844769a3c23.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 href=./static/css/app.c32418401dffeb23f2cb0d92f4f7a708.css rel=stylesheet></head><body style="min-width: 1400px;"><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>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.ff063f9dad5743ed62b2.js></script><script type=text/javascript src=./static/js/vendor.2be08ecde5c9eaaad9c2.js></script><script type=text/javascript src=./static/js/app.1c49498f854f5e0c5673.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([31],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var c=i("VU/8")(n,r,!1,function(t){i("AsY3")},"data-v-18a2f51c",null);s.default=c.exports},AsY3:function(t,s){},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"}});
\ No newline at end of file
webpackJsonp([32],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var c=i("VU/8")(n,r,!1,function(t){i("AsY3")},"data-v-18a2f51c",null);s.default=c.exports},AsY3:function(t,s){},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"}});
\ No newline at end of file
webpackJsonp([51],{AdJp:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=t("Xxa5"),o=t.n(n),r=t("exGp"),s=t.n(r),m=t("3Xzz"),i=t("WSbm"),c=t("P9l9"),d={name:"employeeDetail",components:{navCrumb:m.a,employeeInfo:i.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:"/administrativeFrame"},{name:"添加员工",path:""}],navpathEdit:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:"/administrativeFrame"},{name:"编辑员工",path:""}],managerMode:!1}},methods:{save:function(e){var a=this;return s()(o.a.mark(function t(){var n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.$refs.emmployInfo.submitForm("employeeForm");case 2:t.sent&&(n=a.$refs.emmployInfo.info,a.isNew?a.addEmployee(n,e):a.saveEmployeeInfo(n));case 4:case"end":return t.stop()}},t,a)}))()},addEmployee:function(e,a){var t=this,n={name:e.name,isClerk:0,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,managerMode:1*e.managerMode,nationcode:e.nationcode};Object(c.a)("/haoban-manage-web/emp/add",n).then(function(e){1==e.data.errorCode?(t.$message.success({message:"操作成功"}),1==a?(t.$refs.emmployInfo.info={name:"",phoneNumber:"",departmentId:"",departmentName:"",managerMode:!1,nationcode:"86"},t.$refs.emmployInfo.defaultSelection=[],t.$refs.emmployInfo.resetForm("employeeForm")):window.history.go(-1)):t.$message.error({message:e.data.message})}).catch(function(e){})},saveEmployeeInfo:function(e){var a=this,t={name:e.name,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,employeeClerkId:a.$route.query.employeeClerkId,managerMode:1*e.managerMode,nationcode:e.nationcode};Object(c.a)("/haoban-manage-web/emp/update",t).then(function(e){1==e.data.errorCode?(a.$message.success({message:"操作成功"}),window.history.go(-1)):a.$message.error({message:e.data.message})}).catch(function(e){a.$message.error({message:e.message})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){})}},computed:{isNew:function(){return 1==!!this.$route.query.addnew}},mounted:function(){this.$route.query.addnew||(this.navpath=this.navpathEdit)}},p={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"common-set-wrap"},[t("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),t("div",{staticClass:"right-content"},[t("div",{staticClass:"right-box"},[t("div",{staticClass:"employee-detail",style:{height:e.$store.state.bgHeight}},[t("employee-info",{ref:"emmployInfo",attrs:{isNew:e.isNew}}),e._v(" "),e.$route.query.readOnly?e._e():t("div",{staticClass:"btn-boxs"},[t("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")]),e._v(" "),e.isNew?t("el-button",{attrs:{type:"primary"},on:{click:function(a){e.save(1)}}},[e._v("保存并继续添加")]):e._e(),e._v(" "),t("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1)],1)])])],1)},staticRenderFns:[]};var u=t("VU/8")(d,p,!1,function(e){t("XqOc")},null,null);a.default=u.exports},XqOc:function(e,a){}});
\ No newline at end of file
webpackJsonp([50],{AdJp:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=t("Xxa5"),o=t.n(n),r=t("exGp"),s=t.n(r),m=t("3Xzz"),i=t("WSbm"),c=t("P9l9"),d={name:"employeeDetail",components:{navCrumb:m.a,employeeInfo:i.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:"/administrativeFrame"},{name:"添加员工",path:""}],navpathEdit:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"行政架构",path:"/administrativeFrame"},{name:"编辑员工",path:""}],managerMode:!1}},methods:{save:function(e){var a=this;return s()(o.a.mark(function t(){var n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.$refs.emmployInfo.submitForm("employeeForm");case 2:t.sent&&(n=a.$refs.emmployInfo.info,a.isNew?a.addEmployee(n,e):a.saveEmployeeInfo(n));case 4:case"end":return t.stop()}},t,a)}))()},addEmployee:function(e,a){var t=this,n={name:e.name,isClerk:0,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,managerMode:1*e.managerMode,nationcode:e.nationcode};Object(c.a)("/haoban-manage-web/emp/add",n).then(function(e){1==e.data.errorCode?(t.$message.success({message:"操作成功"}),1==a?(t.$refs.emmployInfo.info={name:"",phoneNumber:"",departmentId:"",departmentName:"",managerMode:!1,nationcode:"86"},t.$refs.emmployInfo.defaultSelection=[],t.$refs.emmployInfo.resetForm("employeeForm")):window.history.go(-1)):t.$message.error({message:e.data.message})}).catch(function(e){})},saveEmployeeInfo:function(e){var a=this,t={name:e.name,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,employeeClerkId:a.$route.query.employeeClerkId,managerMode:1*e.managerMode,nationcode:e.nationcode};Object(c.a)("/haoban-manage-web/emp/update",t).then(function(e){1==e.data.errorCode?(a.$message.success({message:"操作成功"}),window.history.go(-1)):a.$message.error({message:e.data.message})}).catch(function(e){a.$message.error({message:e.message})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){})}},computed:{isNew:function(){return 1==!!this.$route.query.addnew}},mounted:function(){this.$route.query.addnew||(this.navpath=this.navpathEdit)}},p={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"common-set-wrap"},[t("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),t("div",{staticClass:"right-content"},[t("div",{staticClass:"right-box"},[t("div",{staticClass:"employee-detail",style:{height:e.$store.state.bgHeight}},[t("employee-info",{ref:"emmployInfo",attrs:{isNew:e.isNew}}),e._v(" "),e.$route.query.readOnly?e._e():t("div",{staticClass:"btn-boxs"},[t("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")]),e._v(" "),e.isNew?t("el-button",{attrs:{type:"primary"},on:{click:function(a){e.save(1)}}},[e._v("保存并继续添加")]):e._e(),e._v(" "),t("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1)],1)])])],1)},staticRenderFns:[]};var u=t("VU/8")(d,p,!1,function(e){t("XqOc")},null,null);a.default=u.exports},XqOc:function(e,a){}});
\ No newline at end of file
webpackJsonp([52],{"00Sv":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={render:function(){var e=this.$createElement;return(this._self._c||e)("div")},staticRenderFns:[]};var u=t("VU/8")({name:"add-employee"},r,!1,function(e){t("yw/n")},null,null);n.default=u.exports},"yw/n":function(e,n){}});
\ No newline at end of file
webpackJsonp([51],{"00Sv":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={render:function(){var e=this.$createElement;return(this._self._c||e)("div")},staticRenderFns:[]};var u=t("VU/8")({name:"add-employee"},r,!1,function(e){t("yw/n")},null,null);n.default=u.exports},"yw/n":function(e,n){}});
\ No newline at end of file
webpackJsonp([53],{FdYP:function(t,e){},H8Kg:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"image-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"image-com flex"},[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),i("div",{staticClass:"must"},[t._v(t._s(t.childItem.isMust?"(必填)":""))]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"draged-item-show"},[e("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e("i",{staticClass:"iconfont icon-icon"})])])}]};var c=i("VU/8")(s,a,!1,function(t){i("FdYP")},"data-v-6c75d59f",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([52],{FdYP:function(t,e){},H8Kg:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"image-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"image-com flex"},[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),i("div",{staticClass:"must"},[t._v(t._s(t.childItem.isMust?"(必填)":""))]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"draged-item-show"},[e("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e("i",{staticClass:"iconfont icon-icon"})])])}]};var c=i("VU/8")(s,a,!1,function(t){i("FdYP")},"data-v-6c75d59f",null);e.default=c.exports}});
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(b,d,n){for(var r,t,o,i=0,u=[];i<b.length;i++)t=b[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(c&&c(b,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=a(a.s=n[i]);return o};var b={},f={94:0};function a(c){if(b[c])return b[c].exports;var f=b[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,a),f.l=!0,f.exports}a.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var b=new Promise(function(b,a){c=f[e]=[b,a]});c[2]=b;var d=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,a.nc&&n.setAttribute("nonce",a.nc),n.src=a.p+"static/js/"+e+"."+{0:"845573fc4d1cf39f6e5f",1:"fe9dec1f31b04053fd7e",2:"9cbf1ecc94e317558a32",3:"b7e6d57d97174b75b050",4:"11254d7e3a102121b8ec",5:"e09a2e326af7febf25e6",6:"124ad8222f7b043b44ae",7:"ebad93a8c5bffffd9e98",8:"f1c9fb5c9212483138d8",9:"b5aae16b3951516573ad",10:"ebbed2d956a1376f014a",11:"59c7813cc972f62b1d18",12:"879536ae7ce46f0c54ec",13:"2502e450d1f12cb280d2",14:"906484db655680062129",15:"dc1ca8ebc6cc47b86e2d",16:"2ee1cd09e02cae2867cf",17:"78c6d10043e3245cbd2a",18:"4b5e4ee96f2607285a8a",19:"87254c3ea737cf4a3a52",20:"3b3584307ac3ff46beef",21:"c50987389f9771604c9c",22:"f08c872fb1b9438d09ff",23:"5436bc66295808882704",24:"9d547e5255fc6330d24b",25:"eec22b32acb05418f905",26:"d898666a33f9f66c7e10",27:"afae934958ae5b71b9bf",28:"6a37c0d8bd425ec79cb7",29:"08f743a4cbfcc2c25c59",30:"e5670f38e863b827565e",31:"0152758bf0eba4ffa971",32:"5936cc24287e30071f19",33:"be4c1b8d954b7a0dfcbd",34:"3072610dd40c9bc22a0a",35:"e9723ab5e67c6f46abe7",36:"d269a4c027b9923c8f0b",37:"032b04ab3168d233c759",38:"f269dae801787747180c",39:"f20dd6d71ebc39700f39",40:"3548050450854d3f79b7",41:"d1a01c481b63fe169fc8",42:"eec975c417c042a14578",43:"e386ed64995ca06996f1",44:"ebf089cd236f952c4ed5",45:"67c57cfc14847ad350df",46:"7fe51c0f71cfaec33913",47:"3e6826374ecefce69c18",48:"3385623254be90e6cdb4",49:"8d435792cb4f96b39c86",50:"97bfabc741af04439409",51:"255edf9edd96daa860bb",52:"b107eee70ea68c43c909",53:"c51a40cbf12e84ae59ad",54:"1eedcc8a2ca81c7faba7",55:"c0163e3368ab1e90e0c7",56:"d2c81446cfcbc93dd6bf",57:"2501a20b61201f56dc56",58:"1b7cb6a215c43472b34a",59:"6692b1c65ee9871115a3",60:"ebe002fa906bb34ed644",61:"ec8f2dd38d665784752e",62:"38bb5f56afa8e07c1d8d",63:"ba0e409d551f280b8347",64:"6b10e9463ae74778cab4",65:"8d5e39df7c9345d6be58",66:"2326bfba0f3bb9687d4b",67:"ec64054836d24d69d770",68:"be228ce7e1705d45d921",69:"7c0d219f199de7a5aa08",70:"40949db65dde54d20563",71:"88c61f6808601aa94619",72:"fc9124a2742130a58dd5",73:"90c8570de7549c40e059",74:"e6cb1e6e66639bb9eae0",75:"e33b8312c981514cb576",76:"55fdeb4c208665576c2e",77:"0b7caafe8eb01d917eee",78:"0ff2525f65d5301b1885",79:"a52d9e17e23daa6ca67b",80:"6c4a35948b55bb20867c",81:"1d07c71ce77a84631f29",82:"ba8c6bfcc229cd575bd1",83:"c38972b6190154b3d0d0",84:"c1450a8881d7cff8480b",85:"56e5bfa61707b0db1ef0",86:"8c8bb30a423586d7ef97",87:"9beb2ffaabf2854a2f6b",88:"abf95430e8a950680b13",89:"911695626dd8f017cc55",90:"f7b006894387acfdd5cc",93:"083cbc673f1bbd390b27"}[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,d.appendChild(n),b},a.m=e,a.c=b,a.d=function(e,c,b){a.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:b})},a.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(c,"a",c),c},a.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},a.p="./",a.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,f,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[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(c&&c(a,f,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var a={},b={94:0};function d(c){if(a[c])return a[c].exports;var b=a[c]={i:c,l:!1,exports:{}};return e[c].call(b.exports,b,b.exports,d),b.l=!0,b.exports}d.e=function(e){var c=b[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,d){c=b[e]=[a,d]});c[2]=a;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:"e662b44c67d69782b048",1:"fe9dec1f31b04053fd7e",2:"d53cc4c133089a8df84b",3:"b7e6d57d97174b75b050",4:"11254d7e3a102121b8ec",5:"d927d679c894b8852c12",6:"124ad8222f7b043b44ae",7:"ebad93a8c5bffffd9e98",8:"f1c9fb5c9212483138d8",9:"b5aae16b3951516573ad",10:"ebbed2d956a1376f014a",11:"59c7813cc972f62b1d18",12:"879536ae7ce46f0c54ec",13:"2502e450d1f12cb280d2",14:"906484db655680062129",15:"dc1ca8ebc6cc47b86e2d",16:"2ee1cd09e02cae2867cf",17:"78c6d10043e3245cbd2a",18:"4b5e4ee96f2607285a8a",19:"87254c3ea737cf4a3a52",20:"3b3584307ac3ff46beef",21:"c50987389f9771604c9c",22:"f08c872fb1b9438d09ff",23:"5436bc66295808882704",24:"9d547e5255fc6330d24b",25:"eec22b32acb05418f905",26:"d898666a33f9f66c7e10",27:"afae934958ae5b71b9bf",28:"6a37c0d8bd425ec79cb7",29:"642e4d1568a9ae55c66a",30:"edefacaf87ff01399d2b",31:"f5995e97021a541fab69",32:"0a78ac901bb244b3a211",33:"be4c1b8d954b7a0dfcbd",34:"3072610dd40c9bc22a0a",35:"e9723ab5e67c6f46abe7",36:"d269a4c027b9923c8f0b",37:"032b04ab3168d233c759",38:"f269dae801787747180c",39:"f20dd6d71ebc39700f39",40:"3548050450854d3f79b7",41:"d1a01c481b63fe169fc8",42:"eec975c417c042a14578",43:"e386ed64995ca06996f1",44:"ebf089cd236f952c4ed5",45:"67c57cfc14847ad350df",46:"7fe51c0f71cfaec33913",47:"3e6826374ecefce69c18",48:"d6ccd29f5cd5515fe3c8",49:"a506c08b27c8706990e4",50:"43b4530ad8b72c54ecc4",51:"7fc0ff7b08a3b083ca59",52:"32f90b9a69e582931b38",53:"2419cbc2f0880d51da48",54:"1eedcc8a2ca81c7faba7",55:"c0163e3368ab1e90e0c7",56:"d2c81446cfcbc93dd6bf",57:"2501a20b61201f56dc56",58:"1b7cb6a215c43472b34a",59:"6692b1c65ee9871115a3",60:"ebe002fa906bb34ed644",61:"ec8f2dd38d665784752e",62:"38bb5f56afa8e07c1d8d",63:"ba0e409d551f280b8347",64:"6b10e9463ae74778cab4",65:"8d5e39df7c9345d6be58",66:"2326bfba0f3bb9687d4b",67:"ec64054836d24d69d770",68:"be228ce7e1705d45d921",69:"7c0d219f199de7a5aa08",70:"40949db65dde54d20563",71:"88c61f6808601aa94619",72:"fc9124a2742130a58dd5",73:"90c8570de7549c40e059",74:"e6cb1e6e66639bb9eae0",75:"e33b8312c981514cb576",76:"55fdeb4c208665576c2e",77:"0b7caafe8eb01d917eee",78:"0ff2525f65d5301b1885",79:"a52d9e17e23daa6ca67b",80:"6c4a35948b55bb20867c",81:"1d07c71ce77a84631f29",82:"ba8c6bfcc229cd575bd1",83:"c38972b6190154b3d0d0",84:"c1450a8881d7cff8480b",85:"56e5bfa61707b0db1ef0",86:"8c8bb30a423586d7ef97",87:"9beb2ffaabf2854a2f6b",88:"abf95430e8a950680b13",89:"911695626dd8f017cc55",90:"f7b006894387acfdd5cc",93:"e411b5ea8357bd76cdac"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=b[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),b[e]=void 0)}return n.onerror=n.onload=t,f.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
......@@ -25,6 +25,7 @@
"awesome-phonenumber": "^2.12.0",
"babel-polyfill": "^6.26.0",
"element-ui": "^2.10.1",
"exif-js": "^2.3.0",
"file-saver": "^1.3.8",
"html2canvas": "^1.0.0-alpha.12",
"jspdf": "^1.5.3",
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-09-19 10:44:47
* @LastEditors: 无尘
* @LastEditTime: 2019-09-26 16:23:14
* @LastEditTime: 2019-11-12 19:27:53
-->
<!--
<chat-log-list :brandId="brandId" :itemRow="itemRow" :showFlag='showFlag' @hideDetail="hideDetail"></chat-log-list>
......@@ -55,6 +55,7 @@ components: {
</div>
</template>
<script>
import EXIF from 'exif-js';
import { postRequest } from '@/api/api';
import errMsg from '@/common/js/error';
export default {
......@@ -132,9 +133,31 @@ export default {
let resData = res.data;
if (resData.errorCode == 1) {
if (resData.result && resData.result.length) {
resData.result.forEach(ele => {
that.chatDetailData.push(ele);
});
// resData.result.forEach(ele => {
for (let i = 0; i < resData.result.length; i++) {
if (resData.result[i].msgType == 'image') {
let img = new Image();
let orientation;
img.src = 'http://gicdev.demogic.com/middle-ground/static/img/icon2.8dd02cb.png';
img.setAttribute('crossOrigin', 'Anonymous');
let canvas = document.createElement('canvas');
let ctx = canvas.getContext('2d');
img.onload = function() {
console.log(img, img.width);
ctx.drawImage(img, 0, 0);
let baseUrl = canvas.toDataURL('image/png');
console.log(baseUrl);
EXIF.getData(img, function() {
//获取图片原数据orientation
orientation = EXIF.getTag(img, 'Orientation');
});
console.log(orientation);
};
}
that.chatDetailData.push(resData.result[i]);
}
// });
}
return;
}
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-11-07 17:30:04
* @LastEditors: 无尘
* @LastEditTime: 2019-11-08 03:56:59
* @LastEditTime: 2019-11-11 18:36:34
-->
<!--
......@@ -45,7 +45,7 @@
<li>
<div class="day-item-title" title="从该天开始周期排班至月底">从该天开始周期排班至月底</div>
<ul>
<li class="day-class-item p-lr-20">
<li class="day-class-item p-lr-20" @click.stop="dayWeekSet">
<p class="class-item day-tag-blue">{{ cycleData[0].cycleName }} {{ cycleData[0].itemList.map(item => item.className).join('-') }}</p>
</li>
</ul>
......@@ -75,6 +75,12 @@ export default {
return [];
}
},
dates: {
type: [Array, Object],
default() {
return [];
}
},
workDate: {
type: Number,
default() {
......@@ -122,10 +128,8 @@ export default {
// console.log(item);
if (that.itemSchedule.schedules && that.itemSchedule.schedules.length) {
let arr = that.itemSchedule.schedules.map(ele => ele.workDate);
// console.log(arr, arr.includes(that.workDate));
if (arr.includes(that.workDate)) {
that.itemSchedule.schedules.forEach(ele => {
// console.log('schedules.forEach', ele.workDate, that.workDate);
if (ele.workDate == that.workDate) {
ele.serial = item.serial;
ele.classes = {
......@@ -133,10 +137,8 @@ export default {
serial: item.serial
};
ele.isRest = true;
// console.log('ele:', ele);
}
});
// console.log('includes: true', that.itemSchedule);
that.$forceUpdate();
} else {
let newData = JSON.parse(JSON.stringify(that.itemSchedule.schedules));
......@@ -150,7 +152,7 @@ export default {
workDate: that.workDate
});
that.itemSchedule.schedules = JSON.parse(JSON.stringify(newData));
// console.log('includes: false', that.itemSchedule);
console.log('false:', that.itemSchedule);
}
} else {
// console.log('null', that.itemSchedule);
......@@ -165,7 +167,51 @@ export default {
workDate: that.workDate
});
}
// console.log('all:[]', that.itemSchedule);
// 根据时间戳排序
that.itemSchedule.schedules.sort(function(a, b) {
return a.workDate - b.workDate;
});
console.log('all:[]', that.itemSchedule);
that.$forceUpdate();
},
/**
* 周期
*/
dayWeekSet() {
const that = this;
// 当前选择的几号,还有轮询排班周期
let today = new Date(that.workDate).getDate();
let newDates = []; // 当前成员 新的需要重新设置的日期数据
for (let index = today - 1; index < that.dates.length; index++) {
newDates.push(that.dates[index]);
}
let cycleLength = that.cycleData[0].itemList.length; // 排班有几个班次,相当于一个周期是几天
// 然后在这个日期区间内按照排班周期设置
newDates.forEach((date, index) => {
date.serial = that.cycleData[0].itemList[index % cycleLength].className;
date.classes = {
id: that.cycleData[0].itemList[index % cycleLength].classId,
serial: that.cycleData[0].itemList[index % cycleLength].className
};
date.isRest = true;
date.workDate = date.timeStamp;
});
// 把小于当前日期已经设置的排班全部添加到周期设置的数据中(newDates)
if (!that.itemSchedule.hasOwnProperty('schedules')) {
that.$set(that.itemSchedule, 'schedules', []);
}
that.itemSchedule.schedules.forEach((ele, key) => {
if (ele.workDate < that.workDate) {
newDates.push(ele);
}
});
// 重新根据时间戳排序
newDates.sort(function(a, b) {
return a.workDate - b.workDate;
});
that.itemSchedule.schedules = JSON.parse(JSON.stringify(newDates));
that.$set(that.itemSchedule, 'schedules', JSON.parse(JSON.stringify(newDates)));
console.log(that.itemSchedule, newDates);
that.$forceUpdate();
}
}
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-09-18 15:25:12
* @LastEditors: 无尘
* @LastEditTime: 2019-11-08 01:09:07
* @LastEditTime: 2019-11-11 19:03:00
-->
<template>
......@@ -41,18 +41,18 @@
<div class="day-work">
<el-popover placement="bottom" width="231" trigger="click">
<!-- 当前员工当天排版设置 -->
<people-day-class :itemSchedule="scope.row" :workDate="item.timeStamp" :classData="classes" :cycleData="cycleData"></people-day-class>
<people-day-class :dates="dates" :itemSchedule="scope.row" :workDate="item.timeStamp" :classData="classes" :cycleData="cycleData" @refreshData="refreshData"></people-day-class>
<div class="tool-tip-body" slot="reference">
<div class="day-work-cell schedule_del_class">
{{ scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp ? scope.row.schedules[index].serial + '6' : '' }}
<el-tooltip v-if="scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp" class="item" effect="dark" :content="scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp ? scope.row.schedules[index].classes.serial : ''" placement="top-start">
<!-- {{ scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp ? scope.row.schedules[index].serial + '6' : '' }} -->
<!-- <el-tooltip v-if="scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp" class="item" effect="dark" :content="scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp ? scope.row.schedules[index].serial : ''" placement="top-start">
<div class="day-work-cell_text">{{ scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp ? scope.row.schedules[index].serial : '清空' }}</div>
<div v-if="scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp && scope.row.schedules[index].isRest" class="day-work-cell_icon"></div>
</el-tooltip>
<div v-if="!scope.row.schedules || !scope.row.schedules[index]">
<div class="day-work-cell_text">{{ scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp ? scope.row.schedules[index].serial : '清空' }}</div>
<div v-if="scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp && scope.row.schedules[index].isRest" class="day-work-cell_icon"></div>
</div>
</el-tooltip> -->
<!-- <div v-if="!scope.row.schedules || !scope.row.schedules[index]"> -->
<div class="day-work-cell_text">{{ scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp ? scope.row.schedules[index].serial : '清空' }}</div>
<div v-if="scope.row.schedules && scope.row.schedules[index] && scope.row.schedules[index].workDate == item.timeStamp && scope.row.schedules[index].isRest" class="day-work-cell_icon"></div>
<!-- </div> -->
</div>
</div>
</el-popover>
......@@ -125,7 +125,7 @@ export default {
cycleName: '555555',
id: 287955018,
isValid: true,
itemList: [{ classId: 468770499, className: '默认班次', isValid: true }, { classId: 468770499, className: '默认班次', isValid: true }, { classId: 468770499, className: '默认班次', isValid: true }, { classId: 468770499, className: '默认班次', isValid: true }, { classId: 468770499, className: '默认班次', isValid: true }]
itemList: [{ classId: 468090517, className: '3', isValid: true }, { classId: 468770499, className: '默认班次', isValid: true }, { classId: 468770499, className: '默认班次', isValid: true }, { classId: 468770499, className: '默认班次', isValid: true }, { classId: 468770499, className: '默认班次', isValid: true }]
}
],
// 班次
......@@ -229,6 +229,7 @@ export default {
{ dayOfWeek: 1, timeStamp: 1577635200000 },
{ dayOfWeek: 2, timeStamp: 1577721600000 }
],
// 表格数据必须要有,不能空,获取数据的时候就要处理
tableData: [
{
user: {
......@@ -287,13 +288,28 @@ export default {
name: '黄芝文',
uid: 276048440,
userId: '113456291040121422'
}
},
schedules: [
{
classes: {
id: 468090517,
serial: '3'
},
serial: '3',
isRest: false,
workDate: 1575129600000
}
]
}
]
};
},
methods: {
/**
* 刷新数据
*/
// refreshData() {},
/**
* 获取列表数据
*/
getTableList(val) {
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2019-10-24 15:20:19
* @LastEditTime: 2019-11-12 16:06:26
-->
<!--
......@@ -77,11 +77,18 @@
<i class="el-alert__icon el-icon-info font-12 color-1890ff"></i>
<div class="el-alert__content"><span class="el-alert__title color-606266 font-14">注:GIC设置分组后,好办会员分组列表次日刷新,每日刷新一次,仅展示GIC中开启【好办展示】的会员分组</span></div>
</div>
</div>
<div class="m-t-20 m-b-20">
<div class="switch-wrap m-t-20">
<el-switch v-model="overTimeSeeFlag" active-text="" inactive-text="" @change="saveGroupSet"> </el-switch>
<el-tooltip class="item" effect="dark" content="开启后,GIC中设置的好办端会员分组到期后,好办移动端将不再展示该条分组" placement="top-start">
<span style="cursor: pointer;">会员分组到期后不展示<span class="el-icon-info font-12 color-909399"></span> </span
></el-tooltip>
<div class="flex flex-space-between">
<div class="flex flex-align-center">
<el-switch v-model="overTimeSeeFlag" active-text="" inactive-text="" @change="saveGroupSet"> </el-switch>
<el-tooltip class="item" effect="dark" content="开启后,GIC中设置的好办端会员分组到期后,好办移动端将不再展示该条分组" placement="top-start">
<span style="cursor: pointer;" class="font-14 color-606266">会员分组到期后不展示<span class="el-icon-info font-12 color-909399"></span> </span
></el-tooltip>
</div>
<div><span class="font-14 color-606266">最近一次同步时间:</span><el-button type="primary" @click="toSync">立即同步</el-button></div>
</div>
</div>
</div>
<div>
......@@ -240,6 +247,30 @@ export default {
}
},
methods: {
/**
* 立即同步
*/
toSync: _debounce(function() {
const that = this;
let para = {
brandId: that.brandId
};
postRequest('/haoban-app-member-web/memberGroup/get-member-group-setting', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
showMsg.showmsg('同步成功', 'success');
return;
}
errMsg.errorMsg(resData);
})
.catch(function(error) {
that.$message.error({
duration: 1000,
message: error.message
});
});
}, 500),
/* eslint-disable */
async handleTabClick(tab, event) {
const that = this;
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-04-12 17:56:45
* @LastEditors: 无尘
* @LastEditTime: 2019-11-05 11:45:10
* @LastEditTime: 2019-11-11 16:36:34
-->
<template>
<div class="notice-list-wrap">
......@@ -94,7 +94,7 @@
<el-form-item label="附件" prop="attachment" class="w-680">
<el-upload :disabled="$route.query.announcementId ? true : false" class="upload-demo notice-upload-file" action="/haoban-manage-web/upload-file?fileType=report" :before-upload="beforeFileUpload" :on-success="handleFileSuccess" :on-change="handleFileChange" :on-remove="handleRemove" multiple :limit="3" :on-exceed="handleExceed" :file-list="fileDatas">
<el-button :disabled="$route.query.announcementId ? true : false" size="small" type="primary">点击上传</el-button>
<div slot="tip" class="el-upload__tip">支持.doc,.docx,.pdf,.xls,.xlsx,.ppt,.pptx类型文件,单个附件大小不超过5M,最多添加3个附件</div>
<div slot="tip" class="el-upload__tip">支持.doc,.docx,.pdf,.xls,.xlsx,.ppt,.pptx类型文件,单个附件大小不超过20M,最多添加3个附件</div>
</el-upload>
<div v-if="$route.query.announcementId" class="file-list">
<ul class="el-upload-list el-upload-list--text">
......@@ -391,7 +391,7 @@ export default {
beforeFileUpload(file) {
let that = this;
const isFiles = file.name.includes('pdf') || file.name.includes('doc') || file.name.includes('xls') || file.name.includes('ppt');
const isLt20M = file.size / 1024 / 1024 <= 5;
const isLt20M = file.size / 1024 / 1024 <= 20;
if (!isLt20M) {
that.$message.error('文件大小超出限制,无法上传');
}
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘
* @LastEditTime: 2019-10-25 16:07:57
* @LastEditTime: 2019-11-12 15:49:09
-->
<template>
<div id="index">
......@@ -41,7 +41,7 @@
</li>
<li class="flex flex-between">
<span
>门店架构部门
>门店架构门店总
<el-tooltip class="item" effect="light" content="企业门店总数,每日刷新一次" placement="right">
<i class="iconfont icon-xinxixianshi"></i>
</el-tooltip> </span
......
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