Commit 77e83fb2 by 无尘

feat: 增加档案编辑禁用字段

parent d4a548c3
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.11e629a1c443043cd69175a81bfff641.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.3c98c204cf319997ab64.js></script><script type=text/javascript src=./static/js/vendor.fe563ee1a7b37e2ffba9.js></script><script type=text/javascript src=./static/js/app.8de60b688b03db735b1a.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.cd72a6e60d034f4cca20d6cf098dbf5c.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.d6c6ea00ef77d7c833c2.js></script><script type=text/javascript src=./static/js/vendor.fe563ee1a7b37e2ffba9.js></script><script type=text/javascript src=./static/js/app.6e6f12bb6786ade45689.js></script></body></html>
\ No newline at end of file \ No newline at end of file
webpackJsonp([45],{"7Wlc":function(t,a){},cuIN:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("2eFk"),c=e("fvdr"),i=e("Qie6"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"我的顾客",appIcon:"",activeTab:"1",tabListData:[{tabId:"1",tabName:"会员基础设置",icon:"icon-sousuoshezhi"},{tabId:"2",tabName:"在线沟通设置",icon:"icon-zaixiangoutong"}],activeBrand:"1",activeGroup:""}},computed:{},methods:{selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a},setSelectTab:function(t){this.activeTab=t.tabId}},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:{appDetail:n.a,commonAppTop:c.a,commonDetailLeft:i.a}},s={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("div",{staticClass:"right-content"},[e("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-box"},[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},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("app-detail",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab}})],1)])])],1),t._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var r=e("VU/8")(o,s,!1,function(t){e("7Wlc")},"data-v-7ddf1a12",null);a.default=r.exports}}); webpackJsonp([46],{"7Wlc":function(t,a){},cuIN:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("2eFk"),c=e("fvdr"),i=e("Qie6"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"我的顾客",appIcon:"",activeTab:"1",tabListData:[{tabId:"1",tabName:"会员基础设置",icon:"icon-sousuoshezhi"},{tabId:"2",tabName:"在线沟通设置",icon:"icon-zaixiangoutong"}],activeBrand:"1",activeGroup:""}},computed:{},methods:{selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a},setSelectTab:function(t){this.activeTab=t.tabId}},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:{appDetail:n.a,commonAppTop:c.a,commonDetailLeft:i.a}},s={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("div",{staticClass:"right-content"},[e("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-box"},[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},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("app-detail",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab}})],1)])])],1),t._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var r=e("VU/8")(o,s,!1,function(t){e("7Wlc")},"data-v-7ddf1a12",null);a.default=r.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([47],{"8lts":function(e,a){},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"),d=t("P9l9"),c={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(d.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(d.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")(c,p,!1,function(e){t("8lts")},null,null);a.default=u.exports}}); webpackJsonp([48],{"8lts":function(e,a){},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"),d=t("P9l9"),c={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(d.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(d.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")(c,p,!1,function(e){t("8lts")},null,null);a.default=u.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([48],{"av/3":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),o=a("fvdr"),i=a("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"企业公告",appIcon:"icon-gonggao",activeSelTab:"1",activeTab:"1",tabListData:[{id:"1",name:"企业公告列表",icon:"",onlyIconActive:!1},{id:"2",name:"新建公告",icon:"",onlyIconActive:!1}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){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:{appDetail:n.a,commonAppTop:o.a,commonDetailLeft:i.a}},r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=a("VU/8")(c,r,!1,function(t){a("ebGx")},"data-v-7769b0e5",null);e.default=s.exports},ebGx:function(t,e){}}); webpackJsonp([49],{"av/3":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("2eFk"),o=a("fvdr"),i=a("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"企业公告",appIcon:"icon-gonggao",activeSelTab:"1",activeTab:"1",tabListData:[{id:"1",name:"企业公告列表",icon:"",onlyIconActive:!1},{id:"2",name:"新建公告",icon:"",onlyIconActive:!1}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){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:{appDetail:n.a,commonAppTop:o.a,commonDetailLeft:i.a}},r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("common-app-top",{attrs:{appName:t.appName,appIcon:t.appIcon},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup}})],1)],1)])])],1),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=a("VU/8")(c,r,!1,function(t){a("ebGx")},"data-v-7769b0e5",null);e.default=s.exports},ebGx:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([49],{"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){}}); webpackJsonp([50],{"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 \ No newline at end of file
webpackJsonp([50],{da9f:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("lxEU")},"data-v-5a283aba",null);e.default=o.exports},lxEU:function(t,e){}}); webpackJsonp([51],{da9f:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("lxEU")},"data-v-5a283aba",null);e.default=o.exports},lxEU:function(t,e){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([52],{"6zFj":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("3Xzz"),c=e("3E4D"),s=e("Ch4/"),o=e("PI0u"),i=e("P9l9"),r={name:"contactPermission",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"通讯录信息",path:"/staffDetails"},{name:"通讯录控制",path:""}],contactHideFlag:!1}},methods:{saveSet:Object(o.a)(function(){var t=this,a={contactHideFlag:t.contactHideFlag?"1":"0"};Object(i.e)("/haoban-manage-web/contact/save-contact-setting",a).then(function(t){var a=t.data;1!=a.errorCode?s.a.errorMsg(a):c.a.showmsg("保存成功","success")}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},300),getSetData:function(){var t=this;Object(i.e)("/haoban-manage-web/contact/find-contact-setting",{}).then(function(a){var e=a.data;1!=e.errorCode?s.a.errorMsg(e):t.contactHideFlag=1==e.result.contactHideFlag}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})}},mounted:function(){this.getSetData()},components:{navCrumb:n.a}},d={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"storePermission-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box"},[e("div",{},[e("div",{staticClass:"check-box-wrap inline-block vertical-top"},[e("el-checkbox",{model:{value:t.contactHideFlag,callback:function(a){t.contactHideFlag=a},expression:"contactHideFlag"}},[t._v("隐藏通讯录模块")])],1),t._v(" "),e("div",{staticClass:"tip-text-wrap w-440 inline-block vertical-top"},[t._v("注:隐藏后,APP将不展示通讯录,通讯录仍可用,但无法进行通讯录及门店管理,以及添加员工操作。所有通讯录内容仅可在PC管理后台进行操作和管理。")])]),t._v(" "),e("div",[e("el-button",{attrs:{type:"primary"},on:{click:t.saveSet}},[t._v("保 存")])],1)])]),t._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var l=e("VU/8")(r,d,!1,function(t){e("n3Px")},"data-v-56714d1a",null);a.default=l.exports},n3Px:function(t,a){}}); webpackJsonp([53],{"6zFj":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("3Xzz"),c=e("3E4D"),s=e("Ch4/"),o=e("PI0u"),i=e("P9l9"),r={name:"contactPermission",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"通讯录信息",path:"/staffDetails"},{name:"通讯录控制",path:""}],contactHideFlag:!1}},methods:{saveSet:Object(o.a)(function(){var t=this,a={contactHideFlag:t.contactHideFlag?"1":"0"};Object(i.e)("/haoban-manage-web/contact/save-contact-setting",a).then(function(t){var a=t.data;1!=a.errorCode?s.a.errorMsg(a):c.a.showmsg("保存成功","success")}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},300),getSetData:function(){var t=this;Object(i.e)("/haoban-manage-web/contact/find-contact-setting",{}).then(function(a){var e=a.data;1!=e.errorCode?s.a.errorMsg(e):t.contactHideFlag=1==e.result.contactHideFlag}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})}},mounted:function(){this.getSetData()},components:{navCrumb:n.a}},d={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"storePermission-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box"},[e("div",{},[e("div",{staticClass:"check-box-wrap inline-block vertical-top"},[e("el-checkbox",{model:{value:t.contactHideFlag,callback:function(a){t.contactHideFlag=a},expression:"contactHideFlag"}},[t._v("隐藏通讯录模块")])],1),t._v(" "),e("div",{staticClass:"tip-text-wrap w-440 inline-block vertical-top"},[t._v("注:隐藏后,APP将不展示通讯录,通讯录仍可用,但无法进行通讯录及门店管理,以及添加员工操作。所有通讯录内容仅可在PC管理后台进行操作和管理。")])]),t._v(" "),e("div",[e("el-button",{attrs:{type:"primary"},on:{click:t.saveSet}},[t._v("保 存")])],1)])]),t._v(" "),e("vue-gic-footer")],1)},staticRenderFns:[]};var l=e("VU/8")(r,d,!1,function(t){e("n3Px")},"data-v-56714d1a",null);a.default=l.exports},n3Px:function(t,a){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([55],{"+lem":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"reviewed",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:"0px"}},computed:{},methods:{toRouterView:function(e){this.$router.push({path:e.path})},collapseTag:function(e){this.collapseFlag=e}},watch:{$route:{handler:function(e,t){this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},o={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"review-wrap"},[n("vue-office-header",{attrs:{projectName:e.projectName},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),n("div",{staticClass:"setting-wrap__body"},[n("div",{staticClass:"content",attrs:{id:"content"}},[n("div",{staticClass:"content-body",style:{height:e.contentHeight}},[n("div",{staticClass:"left-menu",style:{height:e.contentHeight}},[n("vue-office-aside",{ref:"asideMenu",attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag}})],1),e._v(" "),n("transition",{attrs:{name:"fade",mode:"out-in"}},[n("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(a,o,!1,function(e){n("wrIu")},null,null);t.default=i.exports},wrIu:function(e,t){}}); webpackJsonp([56],{"+lem":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"reviewed",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:"0px"}},computed:{},methods:{toRouterView:function(e){this.$router.push({path:e.path})},collapseTag:function(e){this.collapseFlag=e}},watch:{$route:{handler:function(e,t){this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},o={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"review-wrap"},[n("vue-office-header",{attrs:{projectName:e.projectName},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),n("div",{staticClass:"setting-wrap__body"},[n("div",{staticClass:"content",attrs:{id:"content"}},[n("div",{staticClass:"content-body",style:{height:e.contentHeight}},[n("div",{staticClass:"left-menu",style:{height:e.contentHeight}},[n("vue-office-aside",{ref:"asideMenu",attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag}})],1),e._v(" "),n("transition",{attrs:{name:"fade",mode:"out-in"}},[n("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(a,o,!1,function(e){n("wrIu")},null,null);t.default=i.exports},wrIu:function(e,t){}});
\ No newline at end of file \ 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={82: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:"df2ab3013f7273b6480b",1:"0ebe3ead93207dc78a78",2:"d3c62c00c91d9891f916",3:"a43577b9e52a5719a124",4:"82103d2b04b685deeb5c",5:"96197fd99d3e41d25916",6:"465489570e6deff515b7",7:"8f462a353a2ce9c0c116",8:"e5372980f04518fa84ec",9:"860dbe8cf83334f9e3c0",10:"a2aa031ae677b8acbf17",11:"e34a64dea1b7a059dcfd",12:"bdcf26a1bcccf7e0239b",13:"6c87f5cefdf77374932d",14:"3cc9ab5f11dd33f60648",15:"b9ac3428fbf05e58374e",16:"c4ebe5ae46670e5c0754",17:"43a28ed857836d70649f",18:"ca2eb072a4ce38f9e487",19:"7971a9a5d92fefa82083",20:"75e0997b94e5d6294ec8",21:"58c0c6a374fc0ec6158e",22:"047f5bba500bca0d62fe",23:"9efbbc6dd315a676ce09",24:"4637a4566383d6e864cf",25:"4f9db49437ea94436d03",26:"b549610764e2236c48ce",27:"acda88d3c2aa77c9f51c",28:"0635cfc88ef2b2920961",29:"cee3a5494960c70238fb",30:"c6439b279653a45ce256",31:"8baa6bca929d1c9a38f6",32:"836f4d0e323c721473e9",33:"7b62b2ff369669fe322c",34:"f9d53c31059aaff9b360",35:"c75699cc6fe47597f200",36:"61a1c2681f78e1fd7e80",37:"689fab1090c35b38ed8e",38:"401ecfbced781ca109ff",39:"45d0c177c91108351c01",40:"18605687ea6ee1539453",41:"78d64ae1581e8ea232cc",42:"61ae052e4f4fc3284000",43:"9d05f4d2f06b9c6bba0e",44:"96d0b6e88fc87f60bac7",45:"0fe24e1d16072c526787",46:"d3a9c6eba924ac8207b3",47:"c8b46666a5089512baa4",48:"854c6c054adb5cba1f06",49:"33530ea069fc872b0d5f",50:"331006123edd2049b7d9",51:"244dc6f576a64b7c174b",52:"43d3ca00e0c9087e4956",53:"d51883fd06aa5546dcf5",54:"270a5268743397a22307",55:"f17ab600dad59c0971a4",56:"a166c7d72f4274903e5a",57:"a572a9ffb3ed29596ba0",58:"88114ae6c2e3c68d65da",59:"808f888c43092f5783e0",60:"aeab9555497ec6593f72",61:"2f37d96bc91f0a637cad",62:"59294e07de6b496244cf",63:"6077852270b0c59eff8a",64:"071bad1248843a633c76",65:"f4f7e3f4ecb0250e9119",66:"d8e2dce37c7df6e611a6",67:"dd430b5802c68f5ac5d2",68:"ba49712f562eff6edbc3",69:"6262c1a9179f86d6e8cc",70:"d5759f121e5783b4c558",71:"95b66215f468ac6aa391",72:"b9aea07ebd1f712eee71",73:"820fe71d89d973ff8cf7",74:"a9dae9c87c825ba65aa1",75:"29e0d3d537fd9fa5eabc",76:"5d50222646fc31640f30",77:"9f7ea81c191a5e1bbaa2",78:"51dbc832d510b2a1c0a3",81:"be325ddaae712f760e1a"}[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}}([]); !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={82: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:"df2ab3013f7273b6480b",1:"0ebe3ead93207dc78a78",2:"d3c62c00c91d9891f916",3:"a43577b9e52a5719a124",4:"82103d2b04b685deeb5c",5:"96197fd99d3e41d25916",6:"465489570e6deff515b7",7:"8f462a353a2ce9c0c116",8:"e5372980f04518fa84ec",9:"860dbe8cf83334f9e3c0",10:"a2aa031ae677b8acbf17",11:"e34a64dea1b7a059dcfd",12:"bdcf26a1bcccf7e0239b",13:"6c87f5cefdf77374932d",14:"8a2d85b6cc3b95b868d9",15:"b9ac3428fbf05e58374e",16:"c4ebe5ae46670e5c0754",17:"43a28ed857836d70649f",18:"ca2eb072a4ce38f9e487",19:"7971a9a5d92fefa82083",20:"75e0997b94e5d6294ec8",21:"58c0c6a374fc0ec6158e",22:"047f5bba500bca0d62fe",23:"9efbbc6dd315a676ce09",24:"4637a4566383d6e864cf",25:"4f9db49437ea94436d03",26:"b549610764e2236c48ce",27:"acda88d3c2aa77c9f51c",28:"0635cfc88ef2b2920961",29:"cee3a5494960c70238fb",30:"c6439b279653a45ce256",31:"8baa6bca929d1c9a38f6",32:"836f4d0e323c721473e9",33:"7b62b2ff369669fe322c",34:"f9d53c31059aaff9b360",35:"c75699cc6fe47597f200",36:"61a1c2681f78e1fd7e80",37:"689fab1090c35b38ed8e",38:"401ecfbced781ca109ff",39:"45d0c177c91108351c01",40:"18605687ea6ee1539453",41:"78d64ae1581e8ea232cc",42:"61ae052e4f4fc3284000",43:"9d05f4d2f06b9c6bba0e",44:"96d0b6e88fc87f60bac7",45:"59087ce06e533b1bd959",46:"319059c73e318e00633c",47:"ad1d3e7f3e13e438bcbf",48:"ef7f29a451f2754469b0",49:"3efdd0d9701067fdc2be",50:"e5949157657b1cebdc40",51:"3af7210dfb262608914c",52:"172810668e9fdae29993",53:"0f46974fb11fd2925928",54:"12a5dc7743303d2d2e10",55:"5af32707cdbeae957afc",56:"98caf4e5ee697f98808f",57:"a572a9ffb3ed29596ba0",58:"88114ae6c2e3c68d65da",59:"808f888c43092f5783e0",60:"aeab9555497ec6593f72",61:"2f37d96bc91f0a637cad",62:"59294e07de6b496244cf",63:"6077852270b0c59eff8a",64:"071bad1248843a633c76",65:"f4f7e3f4ecb0250e9119",66:"d8e2dce37c7df6e611a6",67:"dd430b5802c68f5ac5d2",68:"ba49712f562eff6edbc3",69:"6262c1a9179f86d6e8cc",70:"d5759f121e5783b4c558",71:"95b66215f468ac6aa391",72:"b9aea07ebd1f712eee71",73:"820fe71d89d973ff8cf7",74:"a9dae9c87c825ba65aa1",75:"29e0d3d537fd9fa5eabc",76:"5d50222646fc31640f30",77:"9f7ea81c191a5e1bbaa2",78:"51dbc832d510b2a1c0a3",81:"be325ddaae712f760e1a"}[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 \ No newline at end of file
...@@ -9,13 +9,13 @@ ...@@ -9,13 +9,13 @@
<template v-for="(item, idx) in fieldList"> <template v-for="(item, idx) in fieldList">
<el-form-item :label="item.title + ':'" class="item-width" :key="item.fieldCode + '_' + idx" :prop="item.fieldCode"> <el-form-item :label="item.title + ':'" class="item-width" :key="item.fieldCode + '_' + idx" :prop="item.fieldCode">
<template v-if="showEdit"> <template v-if="showEdit">
<el-input class="edit-infor-input" v-model="fieldsInfo[item.fieldCode]" v-if="item.fieldType == 0" :placeholder="item.fieldDescription" :disabled="item.fieldEdited != '1' || item.fieldCode == 'clerkName' || item.fieldCode == 'groupName' || item.fieldCode == 'clerkCode' || item.fieldCode == 'positionName'"> </el-input> <el-input class="edit-infor-input" v-model="fieldsInfo[item.fieldCode]" v-if="item.fieldType == 0" :placeholder="item.fieldDescription" :disabled="item.fieldEdited != '1'"> </el-input>
<el-input class="edit-infor-input" v-model="fieldsInfo[item.fieldCode]" v-if="item.fieldType == 6 && item.fieldCode != 'clerkPhone'" :placeholder="item.fieldDescription" :disabled="item.fieldEdited != '1'"> </el-input> <el-input class="edit-infor-input" v-model="fieldsInfo[item.fieldCode]" v-if="item.fieldType == 6 && item.fieldCode != 'clerkPhone'" :placeholder="item.fieldDescription" :disabled="item.fieldEdited != '1'"> </el-input>
<countryMobile v-if="item.fieldType == 6 && item.fieldCode == 'clerkPhone'" :inputWidth="350" :nationCode.sync="fieldsInfo.nationcode" v-model="fieldsInfo[item.fieldCode]" :holder="item.fieldDescription" :disflag="item.fieldEdited != '1'"> </countryMobile> <countryMobile v-if="item.fieldType == 6 && item.fieldCode == 'clerkPhone'" :inputWidth="350" :nationCode.sync="fieldsInfo.nationcode" v-model="fieldsInfo[item.fieldCode]" :holder="item.fieldDescription" :disflag="item.fieldEdited != '1'"> </countryMobile>
<el-input class="edit-infor-input" v-model="fieldsInfo[item.fieldCode]" v-else-if="item.fieldType == 1" type="textarea" autosize :disabled="item.fieldEdited != '1'"> </el-input> <el-input class="edit-infor-input" v-model="fieldsInfo[item.fieldCode]" v-else-if="item.fieldType == 1" type="textarea" autosize :disabled="item.fieldEdited != '1'"> </el-input>
<template v-else-if="item.fieldType == 2 || item.fieldType == 3" <template v-else-if="item.fieldType == 2 || item.fieldType == 3"
><!-- 针对员工状态做特殊处理 --> ><!-- 针对员工状态做特殊处理 -->
<el-select v-if="item.systemFlag == 1" v-model="fieldsInfo[item.fieldCode]" :disabled="item.fieldEdited != '1' || (item.fieldCode == 'clerkStatus' && fieldsInfo[item.fieldCode] == 3) || item.fieldCode == 'sex' || item.fieldCode == 'clerkType' || item.fieldCode == 'clerkStatus'" :multiple="item.fieldType == 3" :collapse-tags="item.fieldType == 3" :placeholder="item.fieldDescription"> <el-select v-if="item.systemFlag == 1" v-model="fieldsInfo[item.fieldCode]" :disabled="item.fieldEdited != '1' || (item.fieldCode == 'clerkStatus' && fieldsInfo[item.fieldCode] == 3)" :multiple="item.fieldType == 3" :collapse-tags="item.fieldType == 3" :placeholder="item.fieldDescription">
<el-option v-for="cho in item.fieldOperations.fieldContent" :key="cho.key" :label="cho.name" :value="cho.key" :disabled="item.fieldCode == 'clerkStatus' && cho.key == 3"> </el-option> <el-option v-for="cho in item.fieldOperations.fieldContent" :key="cho.key" :label="cho.name" :value="cho.key" :disabled="item.fieldCode == 'clerkStatus' && cho.key == 3"> </el-option>
</el-select> </el-select>
<el-select v-else v-model="fieldsInfo[item.fieldCode]" :disabled="item.fieldEdited != '1'" :multiple="item.fieldType == 3" :collapse-tags="item.fieldType == 3" :placeholder="item.fieldDescription"> <el-select v-else v-model="fieldsInfo[item.fieldCode]" :disabled="item.fieldEdited != '1'" :multiple="item.fieldType == 3" :collapse-tags="item.fieldType == 3" :placeholder="item.fieldDescription">
......
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
<draggable :options="{ group: { name: 'people', pull: false, put: true }, sort: true }" v-model="item.children" :class="['drag-wrap', 'block-wrap', item.fieldCode]" @add="addDragItem"> <draggable :options="{ group: { name: 'people', pull: false, put: true }, sort: true }" v-model="item.children" :class="['drag-wrap', 'block-wrap', item.fieldCode]" @add="addDragItem">
<li :class="['filed-item', 'child-filed-item', currentChildKey == childItem.fieldCode && currentChildIndex == ind ? 'active-item' : '']" v-for="(childItem, ind) in item.children" :key="'li' + ind" @click.stop="selectChildItem(childItem.fieldCode, index, ind, item.children)"> <li :class="['filed-item', 'child-filed-item', currentChildKey == childItem.fieldCode && currentChildIndex == ind ? 'active-item' : '']" v-for="(childItem, ind) in item.children" :key="'li' + ind" @click.stop="selectChildItem(childItem.fieldCode, index, ind, item.children)">
<!-- 删除 --> <!-- 删除 -->
<span class="item-close child-item-close" @click.stop="deleteChildItem(childItem.fieldCode, index, ind, item.children, childItem)" v-if="childItem.fieldCode != 'clerkPhone' && childItem.fieldCode != 'clerkName' && childItem.fieldCode != 'groupName' && childItem.fieldCode != 'clerkCode' && childItem.fieldCode != 'positionName' && childItem.fieldCode != 'clerkType' && childItem.fieldCode != 'clerkStatus' && childItem.fieldCode != 'sex'" <span class="item-close child-item-close" @click.stop="deleteChildItem(childItem.fieldCode, index, ind, item.children, childItem)" v-if="childItem.fieldCode != 'clerkPhone' && childItem.fieldCode != 'clerkName' && childItem.fieldCode != 'groupName' && childItem.fieldCode != 'clerkCode' && childItem.fieldCode != 'positionName' && childItem.fieldCode != 'clerkType' && childItem.fieldCode != 'clerkStatus' && childItem.fieldCode != 'sex' && childItem.fieldCode != 'hireDate' && childItem.fieldCode != 'nation'"
><!--手机号禁止删除--> ><!--手机号禁止删除-->
<i class="el-icon-close"></i> <i class="el-icon-close"></i>
</span> </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