Commit a8fc1bc8 by 无尘

feat: 增加公共分类

parent 0198e981
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.84e36005a4e602ad7472902f7156c9ee.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.1b4f8252b875fbc2d9b2.js></script><script type=text/javascript src=./static/js/vendor.928b68e48614c700460c.js></script><script type=text/javascript src=./static/js/app.5f56b3d2cef579f70e75.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.434f45cc966f3fd42fd29332752c0af6.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.de5831b860663a98c541.js></script><script type=text/javascript src=./static/js/vendor.928b68e48614c700460c.js></script><script type=text/javascript src=./static/js/app.4829cd62b645b96be9c9.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -432,6 +432,10 @@ input:focus { ...@@ -432,6 +432,10 @@ input:focus {
padding-left: 10px; padding-left: 10px;
} }
.p-l-12 {
padding-left: 12px;
}
.p-l-14 { .p-l-14 {
padding-left: 14px; padding-left: 14px;
} }
...@@ -468,6 +472,10 @@ input:focus { ...@@ -468,6 +472,10 @@ input:focus {
padding-right: 10px; padding-right: 10px;
} }
.p-r-20 {
padding-right: 20px;
}
.p-t-12 { .p-t-12 {
padding-top: 12px; padding-top: 12px;
} }
...@@ -566,6 +574,10 @@ input:focus { ...@@ -566,6 +574,10 @@ input:focus {
font-size: 0; font-size: 0;
} }
.font-8 {
font-size: 8px;
}
.font-12 { .font-12 {
font-size: 12px; font-size: 12px;
} }
...@@ -1054,6 +1066,10 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill { ...@@ -1054,6 +1066,10 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
content: "\e60f"; content: "\e60f";
} }
.notice-list .app-detail-top .el-tabs__header {
margin: 0 !important;
}
/* 登录 */ /* 登录 */
.loginForm .el-input__inner { .loginForm .el-input__inner {
...@@ -1114,3 +1130,20 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill { ...@@ -1114,3 +1130,20 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
.el-popover.notice-img-popover { .el-popover.notice-img-popover {
padding: 5px; padding: 5px;
} }
.classify-list-pop.el-popover {
min-width: 99px;
padding: 7px 0 0;
}
.classify-list-pop .classify-oprate-cell {
height: 34px;
line-height: 34px;
font-size: 14px;
color: #606266;
cursor: pointer;
}
.classify-oprate-cell:hover {
color: #1890FF;
background: #F5F7FA;
}
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([18],{"71JE":function(t,e){},CLYF:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),i=a("Zx22"),s=a("Ch4/"),o=a("PI0u"),l=a("P9l9"),r={name:"reviewed",data:function(){return{tableH:window.screen.availHeight-464-126+"px",navpath:[{name:"首页",path:"/index"},{name:"审核中心",path:"/unreview"},{name:"已审核",path:""}],filterValue:"99",filterOptions:[{label:"已同意",value:"1"},{label:"已拒绝",value:"2"},{label:"已审核",value:"99"}],searchValue:"",tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,applyInfo:{},showStoreDialog:!1,storeChangeData:{}}},filters:{formatTimeYMD:function(t){return"--"!=t?t.split(" ")[0]:"--"},formatTimeHMS:function(t){return"--"!=t?t.split(" ")[1]:"--"},formatNum:function(t){return(t+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")}},computed:{},methods:{clearSearch:function(){this.currentPage=1,this.getTableList()},searchEnterFun:function(t){if(!String(t.target.value).trim())return!1;this.currentPage=1,this.getTableList()},toggleReason:function(t){t.visible=!0,this.tableData.forEach(function(e,a){e.enterpriseAuditingId!=t.enterpriseAuditingId&&(e.visible=!1)})},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showSingleInfo:function(t){},showStoreChange:function(t){this.storeChangeData={beforeContent:[],afterContent:[]},this.showStoreDialog=!0,this.storeChangeData={beforeContent:""!=t.beforeContent?JSON.parse(t.beforeContent):[],afterContent:""!=t.afterContent?JSON.parse(t.afterContent):[]}},getTableList:function(t){var e=this;t&&(e.currentPage=1);var a={auditingType:"",auditingStatus:e.filterValue,search:e.searchValue||"",pageNum:e.currentPage,pageSize:e.pageSize};Object(l.a)("/haoban-manage-web/audit/auditing-list.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return a.result&&a.result.list&&a.result.list.forEach(function(t,e){t.createTime&&(t.createTime=Object(o.c)(t.createTime))}),e.tableData=a.result.list,void(e.total=a.result.total);s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getTableList()},components:{navCrumb:n.a,storeChange:i.a}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"reviewed-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":t.$store.state.bgHeight}},[a("div",{staticClass:"reviewed-body-head"},[a("el-select",{staticClass:"w-130",attrs:{placeholder:"全部状态"},on:{change:t.getTableList},model:{value:t.filterValue,callback:function(e){t.filterValue=e},expression:"filterValue"}},t._l(t.filterOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),a("el-input",{staticClass:"w-250 m-l-10",attrs:{placeholder:"请输入提交人姓名或门店名称","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.searchEnterFun(e):null}},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}})],1),t._v(" "),a("div",{staticClass:"reviewed-body-content"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(0==e.row.auditingType?"门店信息变更":1==e.row.auditingType?"新增成员":"成员离职")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},[a("el-popover",{attrs:{placement:"top-start",width:"400",trigger:"hover"},on:{show:function(a){t.showSingleInfo(e.row.applyId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[t._v("\n "+t._s(e.row.applyName)+"\n "),a("i",{class:[2==e.row.sex?"icon-xingbienv color-FF585C":"icon-xingbienan color-508CEE","iconfont"]})]),t._v(" "),a("div",{staticClass:"apply-info-code"},[a("span",{staticClass:"w-80"},[t._v("员工代码:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.code))])]),t._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[t._v("手机号:")]),a("span",{staticClass:"w-130"},[t._v(t._s("86"==e.row.nationcode?e.row.phoneNumber:"+"+e.row.nationcode+"-"+e.row.phoneNumber))])]),t._v(" "),a("div",{staticClass:"apply-info-job"},[a("span",{staticClass:"w-80"},[t._v("职位:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.positionName))])]),t._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[t._v("所属门店:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.storeName))])])])])]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info"},[a("span",[t._v(t._s(e.row.applyName))]),t._v(" "),a("span",{staticClass:"font-13"},[t._v(t._s(e.row.storeName))])])],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[0!=e.row.auditingType||0==e.row.auditingType&&1!=e.row.auditingUpdateType?a("span",[t._v(t._s(e.row.detail))]):t._e(),t._v(" "),1==e.row.auditingUpdateType?a("div",{staticClass:"line-hidden-2"},[a("span",[t._v(t._s(e.row.detail))]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){t.showStoreChange(e.row)}}},[t._v("查看详情")])],1):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("formatTimeYMD")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("formatTimeHMS")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:[2==e.row.auditingStatus?"color-FF585C":""]},[t._v(t._s(1==e.row.auditingStatus?"超级管理员已同意":"超级管理员已拒绝"))]),t._v(" "),a("el-popover",{staticClass:"inline-block",attrs:{placement:"top",width:"150",trigger:"hover"}},[a("div",{staticClass:"tooltip-text"},[t._v(t._s(e.row.refuseReason))]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[2==e.row.auditingStatus?a("i",{staticClass:"el-icon-question",on:{click:function(a){t.toggleReason(e.row)}}}):t._e()])])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("storeChange",{attrs:{storeChangeData:t.storeChangeData},model:{value:t.showStoreDialog,callback:function(e){t.showStoreDialog=e},expression:"showStoreDialog"}})],1)},staticRenderFns:[]};var u=a("VU/8")(r,c,!1,function(t){a("aayb")},"data-v-44a1979f",null);e.default=u.exports},Zx22:function(t,e,a){"use strict";var n={name:"custom-dialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:[Object,Array]}},data:function(){return{repProjectName:"gic-web",customDialog:this.value,leftData:[],rightData:[]}},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("input",this.customDialog)},formatDate:function(t,e){function a(t){return t>9?""+t:"0"+t}var n=new Date(t),i=n.getFullYear(),s=n.getMonth()+1,o=n.getDate();return i+e+a(s)+e+a(o)+e},handleData:function(){}},watch:{value:function(t,e){this.customDialog=t},storeChangeData:function(t,e){this.leftData=t.beforeContent,this.rightData=t.afterContent}},mounted:function(){this.leftData=this.storeChangeData.beforeContent,this.rightData=this.storeChangeData.afterContent}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店图片变更",visible:t.customDialog,width:"600px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更前\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.leftData,function(t,e){return[a("img",{key:"img"+e,attrs:{src:t,alt:""}})]})],2)])]),t._v(" "),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更后\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.rightData,function(t,e){return[a("img",{key:"img0"+e,attrs:{src:t,alt:""}})]})],2)])])],1)],1)])],1)},staticRenderFns:[]};var s=a("VU/8")(n,i,!1,function(t){a("71JE")},"data-v-709a6f08",null);e.a=s.exports},aayb:function(t,e){}});
\ No newline at end of file
webpackJsonp([18],{"71JE":function(t,e){},CLYF:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),i=a("Zx22"),s=a("Ch4/"),o=a("PI0u"),l=a("P9l9"),r={name:"reviewed",data:function(){return{tableH:window.screen.availHeight-464-126+"px",navpath:[{name:"首页",path:"/index"},{name:"审核中心",path:"/unreview"},{name:"已审核",path:""}],filterValue:"99",filterOptions:[{label:"已同意",value:"1"},{label:"已拒绝",value:"2"},{label:"已审核",value:"99"}],searchValue:"",tableData:[],multipleSelection:[],currentPage:1,pageSize:20,total:0,applyInfo:{},showStoreDialog:!1,storeChangeData:{}}},filters:{formatTimeYMD:function(t){return"--"!=t?t.split(" ")[0]:"--"},formatTimeHMS:function(t){return"--"!=t?t.split(" ")[1]:"--"},formatNum:function(t){return(t+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")}},computed:{},methods:{clearSearch:function(){this.currentPage=1,this.getTableList()},searchEnterFun:function(t){if(!String(t.target.value).trim())return!1;this.currentPage=1,this.getTableList()},toggleReason:function(t){t.visible=!0,this.tableData.forEach(function(e,a){e.enterpriseAuditingId!=t.enterpriseAuditingId&&(e.visible=!1)})},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},showSingleInfo:function(t){},showStoreChange:function(t){this.storeChangeData={beforeContent:[],afterContent:[]},this.showStoreDialog=!0,this.storeChangeData={beforeContent:""!=t.beforeContent?JSON.parse(t.beforeContent):[],afterContent:""!=t.afterContent?JSON.parse(t.afterContent):[]}},getTableList:function(t){var e=this;t&&(e.currentPage=1);var a={auditingType:"",auditingStatus:e.filterValue,search:e.searchValue||"",pageNum:e.currentPage,pageSize:e.pageSize};Object(l.a)("/haoban-manage-web/audit/auditing-list.json",a).then(function(t){var a=t.data;if(1==a.errorCode)return a.result&&a.result.list&&a.result.list.forEach(function(t,e){t.createTime&&(t.createTime=Object(o.c)(t.createTime))}),e.tableData=a.result.list,void(e.total=a.result.total);s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getTableList()},components:{navCrumb:n.a,storeChange:i.a}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"reviewed-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":t.$store.state.bgHeight}},[a("div",{staticClass:"reviewed-body-head"},[a("el-select",{staticClass:"w-130",attrs:{placeholder:"全部状态"},on:{change:t.getTableList},model:{value:t.filterValue,callback:function(e){t.filterValue=e},expression:"filterValue"}},t._l(t.filterOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),a("el-input",{staticClass:"w-250 m-l-10",attrs:{placeholder:"请输入提交人姓名或门店名称","prefix-icon":"el-icon-search",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.searchEnterFun(e):null}},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}})],1),t._v(" "),a("div",{staticClass:"reviewed-body-content"},[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"审核事项"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(0==e.row.auditingType?"门店信息变更":1==e.row.auditingType?"新增成员":2==e.row.auditingType?"成员离职":"转移成员")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},[a("el-popover",{attrs:{placement:"top-start",width:"400",trigger:"hover"},on:{show:function(a){t.showSingleInfo(e.row.applyId)}}},[a("div",{staticClass:"apply-info-detail"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"apply-info-img flex-align-center flex-pack-center bg-82C5FF "},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info-right flex-space-between"},[a("div",{staticClass:"apply-info-name"},[t._v("\n "+t._s(e.row.applyName)+"\n "),a("i",{class:[2==e.row.sex?"icon-xingbienv color-FF585C":"icon-xingbienan color-508CEE","iconfont"]})]),t._v(" "),a("div",{staticClass:"apply-info-code"},[a("span",{staticClass:"w-80"},[t._v("员工代码:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.code))])]),t._v(" "),a("div",{staticClass:"apply-info-phone"},[a("span",{staticClass:"w-80"},[t._v("手机号:")]),a("span",{staticClass:"w-130"},[t._v(t._s("86"==e.row.nationcode?e.row.phoneNumber:"+"+e.row.nationcode+"-"+e.row.phoneNumber))])]),t._v(" "),a("div",{staticClass:"apply-info-job"},[a("span",{staticClass:"w-80"},[t._v("职位:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.positionName))])]),t._v(" "),a("div",{staticClass:"apply-info-store"},[a("span",{staticClass:"w-80"},[t._v("所属门店:")]),a("span",{staticClass:"w-130"},[t._v(t._s(e.row.storeName))])])])])]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[e.row.headPic?a("img",{attrs:{src:e.row.headPic,alt:"img"}}):a("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})])])]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info"},[a("span",[t._v(t._s(e.row.applyName))]),t._v(" "),a("span",{staticClass:"font-13"},[t._v(t._s(e.row.storeName))])])],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"详情","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[0!=e.row.auditingType||0==e.row.auditingType&&1!=e.row.auditingUpdateType?a("span",[t._v(t._s(e.row.detail))]):t._e(),t._v(" "),1==e.row.auditingUpdateType?a("div",{staticClass:"line-hidden-2"},[a("span",[t._v(t._s(e.row.detail))]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){t.showStoreChange(e.row)}}},[t._v("查看详情")])],1):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"提交时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("formatTimeYMD")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"line-h-18"},[t._v(t._s(t._f("formatTimeHMS")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:[2==e.row.auditingStatus?"color-FF585C":""]},[t._v(t._s(1==e.row.auditingStatus?"超级管理员已同意":"超级管理员已拒绝"))]),t._v(" "),a("el-popover",{staticClass:"inline-block",attrs:{placement:"top",width:"150",trigger:"hover"}},[a("div",{staticClass:"tooltip-text"},[t._v(t._s(e.row.refuseReason))]),t._v(" "),a("div",{attrs:{slot:"reference"},slot:"reference"},[2==e.row.auditingStatus?a("i",{staticClass:"el-icon-question",on:{click:function(a){t.toggleReason(e.row)}}}):t._e()])])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right"},[a("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])]),t._v(" "),a("vue-gic-footer"),t._v(" "),a("storeChange",{attrs:{storeChangeData:t.storeChangeData},model:{value:t.showStoreDialog,callback:function(e){t.showStoreDialog=e},expression:"showStoreDialog"}})],1)},staticRenderFns:[]};var u=a("VU/8")(r,c,!1,function(t){a("udZG")},"data-v-69b9b35a",null);e.default=u.exports},Zx22:function(t,e,a){"use strict";var n={name:"custom-dialog",props:{value:{type:Boolean,default:!1},storeChangeData:{type:[Object,Array]}},data:function(){return{repProjectName:"gic-web",customDialog:this.value,leftData:[],rightData:[]}},methods:{handleCardClose:function(){this.customCancel()},customCancel:function(){this.customDialog=!1,this.$emit("input",this.customDialog)},formatDate:function(t,e){function a(t){return t>9?""+t:"0"+t}var n=new Date(t),i=n.getFullYear(),s=n.getMonth()+1,o=n.getDate();return i+e+a(s)+e+a(o)+e},handleData:function(){}},watch:{value:function(t,e){this.customDialog=t},storeChangeData:function(t,e){this.leftData=t.beforeContent,this.rightData=t.afterContent}},mounted:function(){this.leftData=this.storeChangeData.beforeContent,this.rightData=this.storeChangeData.afterContent}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-dialog-wrap"},[a("el-dialog",{attrs:{title:"门店图片变更",visible:t.customDialog,width:"600px","before-close":t.handleCardClose},on:{"update:visible":function(e){t.customDialog=e}}},[a("div",{staticClass:"dialog-content"},[a("el-row",[a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更前\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.leftData,function(t,e){return[a("img",{key:"img"+e,attrs:{src:t,alt:""}})]})],2)])]),t._v(" "),a("el-col",{attrs:{span:11}},[a("div",{staticClass:"grid-content bg-purple-dark"},[t._v("\n 变更后\n ")]),t._v(" "),a("div",{staticClass:"data-body"},[a("div",{staticClass:"data-body-content flex flex-column"},[t._l(t.rightData,function(t,e){return[a("img",{key:"img0"+e,attrs:{src:t,alt:""}})]})],2)])])],1)],1)])],1)},staticRenderFns:[]};var s=a("VU/8")(n,i,!1,function(t){a("71JE")},"data-v-709a6f08",null);e.a=s.exports},udZG:function(t,e){}});
\ No newline at end of file
webpackJsonp([22],{"2X9c":function(t,s,i){t.exports=i.p+"static/img/error_500.ed0cba4.svg"},FskK:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=i("2X9c"),e=i.n(a),n={name:"page500",data:function(){return{img_500:e.a}},computed:{message:function(){return"抱歉,服务器出错了"}}},c={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_500,alt:"500"}})]),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 r=i("VU/8")(n,c,!1,function(t){i("wJ+N")},"data-v-d1f21788",null);s.default=r.exports},"wJ+N":function(t,s){}}); webpackJsonp([23],{"2X9c":function(t,s,i){t.exports=i.p+"static/img/error_500.ed0cba4.svg"},FskK:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=i("2X9c"),e=i.n(a),n={name:"page500",data:function(){return{img_500:e.a}},computed:{message:function(){return"抱歉,服务器出错了"}}},c={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_500,alt:"500"}})]),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 r=i("VU/8")(n,c,!1,function(t){i("wJ+N")},"data-v-d1f21788",null);s.default=r.exports},"wJ+N":function(t,s){}});
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,b,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 b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(a&&a(c,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var c={},f={81:0};function d(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,d),f.l=!0,f.exports}d.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,d){a=f[e]=[c,d]});a[2]=c;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:"13576cb5ca820f8123e6",1:"0ebe3ead93207dc78a78",2:"6c502a930cfc2e54a0d0",3:"3282d88c1532d0ca9c9e",4:"f2c2a60310f4374d2a71",5:"bf058fa04f7b2b11b1bc",6:"46dc7fc29e82e6e6c6e8",7:"8f462a353a2ce9c0c116",8:"e5372980f04518fa84ec",9:"860dbe8cf83334f9e3c0",10:"28e14270d70d6a29f157",11:"2d0a192288361dd95250",12:"3d3797e96dc9e8cc5bd4",13:"02c1f318efb8ad51c2f2",14:"5ab25e4baf23ecce8d73",15:"360a92075d219ac84088",16:"bdc37aea4c14db4484c6",17:"d6313ef16f830db583d4",18:"b449ba7c70672ea4973e",19:"6f5aade00968760961de",20:"6be27d5ec89f8a1c293b",21:"1a1981dd4903fb775437",22:"dec9447a8c45f2a2c7bb",23:"de8e6a57ce35a9c8335d",24:"4637a4566383d6e864cf",25:"4f9db49437ea94436d03",26:"8bbfb062166705f83d11",27:"acda88d3c2aa77c9f51c",28:"e1b3c97634b8203082e4",29:"0d3db47f464a37be4a3e",30:"c6439b279653a45ce256",31:"8baa6bca929d1c9a38f6",32:"ec0bbd85e6d55909453d",33:"a93521846789130a144e",34:"d7271b9c0396e2e0b343",35:"32cae9a3f9ba6b187945",36:"d31850464ea8bdf6593f",37:"31c143858551cadfe3a9",38:"7da020455236ec9cc0e6",39:"8d8a3b88d85b3220e296",40:"f4fd9d68a9e906649040",41:"9fcb9feb2cab7a8a2cbe",42:"47c4c30ceefa4af03de5",43:"2689bc2d619a26183b90",44:"deb9f07fde1e218414cf",45:"feeb9dd78b7b12f700d2",46:"a2f306cec3cdc3c685d3",47:"ad1d3e7f3e13e438bcbf",48:"ef7f29a451f2754469b0",49:"f6871122a1fa7e18f158",50:"07c4baa205f7e23b698d",51:"7fc0ff7b08a3b083ca59",52:"1d2a5ba0923414f73e06",53:"8802335b18fef4b4450b",54:"97a5f9645e47c9a491fd",55:"5af32707cdbeae957afc",56:"98caf4e5ee697f98808f",57:"a12e3dac3c8f19bf20ab",58:"4eca8a1ed0c691766a4e",59:"d90b9f9627f3c3832c23",60:"aeab9555497ec6593f72",61:"2f37d96bc91f0a637cad",62:"59294e07de6b496244cf",63:"6077852270b0c59eff8a",64:"071bad1248843a633c76",65:"a36bf94fdaed1ee1ee50",66:"3ba7e89277d851279c4d",67:"54211f408298416c6536",68:"510e6b0aa6ffadff566b",69:"518fa345263ef1bb9abc",70:"5d2e33dad1088489e653",71:"e51a1b885d499897baff",72:"bfd2694c02bae17c273e",73:"7751e4d66fee99c15a39",74:"646f1b9348d1bb8cfbf7",75:"6b82dfb7f160db815f54",76:"5d50222646fc31640f30",77:"9f7ea81c191a5e1bbaa2",80:"0c2c95196d96c729cec5"}[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,b.appendChild(n),c},d.m=e,d.c=c,d.d=function(e,a,c){d.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},d.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(a,"a",a),a},d.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(f,d,n){for(var r,t,o,i=0,u=[];i<f.length;i++)t=f[i],c[t]&&u.push(c[t][0]),c[t]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(a&&a(f,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var f={},c={81:0};function b(a){if(f[a])return f[a].exports;var c=f[a]={i:a,l:!1,exports:{}};return e[a].call(c.exports,c,c.exports,b),c.l=!0,c.exports}b.e=function(e){var a=c[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var f=new Promise(function(f,b){a=c[e]=[f,b]});a[2]=f;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:"7eff119752216e94190e",1:"0ebe3ead93207dc78a78",2:"6c502a930cfc2e54a0d0",3:"8be8bea0c00bf0c22a54",4:"f2c2a60310f4374d2a71",5:"bf058fa04f7b2b11b1bc",6:"46dc7fc29e82e6e6c6e8",7:"8f462a353a2ce9c0c116",8:"e5372980f04518fa84ec",9:"860dbe8cf83334f9e3c0",10:"28e14270d70d6a29f157",11:"2d0a192288361dd95250",12:"3d3797e96dc9e8cc5bd4",13:"02c1f318efb8ad51c2f2",14:"ac6aff539f273ccb76b0",15:"b9ac3428fbf05e58374e",16:"c4ebe5ae46670e5c0754",17:"fa12cc3bf2181d16ef8c",18:"d56ca44284feb601117a",19:"6f5045aa6067b477873d",20:"75e0997b94e5d6294ec8",21:"6bd871faff9520219f01",22:"43ab9b5bfdc74ce6b20e",23:"9efbbc6dd315a676ce09",24:"4637a4566383d6e864cf",25:"4f9db49437ea94436d03",26:"8bbfb062166705f83d11",27:"acda88d3c2aa77c9f51c",28:"0635cfc88ef2b2920961",29:"0d3db47f464a37be4a3e",30:"c6439b279653a45ce256",31:"8baa6bca929d1c9a38f6",32:"ec0bbd85e6d55909453d",33:"a93521846789130a144e",34:"d7271b9c0396e2e0b343",35:"32cae9a3f9ba6b187945",36:"d31850464ea8bdf6593f",37:"31c143858551cadfe3a9",38:"7da020455236ec9cc0e6",39:"8d8a3b88d85b3220e296",40:"f4fd9d68a9e906649040",41:"9fcb9feb2cab7a8a2cbe",42:"47c4c30ceefa4af03de5",43:"2689bc2d619a26183b90",44:"deb9f07fde1e218414cf",45:"feeb9dd78b7b12f700d2",46:"a2f306cec3cdc3c685d3",47:"ad1d3e7f3e13e438bcbf",48:"ef7f29a451f2754469b0",49:"f6871122a1fa7e18f158",50:"07c4baa205f7e23b698d",51:"7fc0ff7b08a3b083ca59",52:"1d2a5ba0923414f73e06",53:"8802335b18fef4b4450b",54:"97a5f9645e47c9a491fd",55:"5af32707cdbeae957afc",56:"98caf4e5ee697f98808f",57:"a12e3dac3c8f19bf20ab",58:"4eca8a1ed0c691766a4e",59:"d90b9f9627f3c3832c23",60:"aeab9555497ec6593f72",61:"2f37d96bc91f0a637cad",62:"59294e07de6b496244cf",63:"6077852270b0c59eff8a",64:"071bad1248843a633c76",65:"a36bf94fdaed1ee1ee50",66:"3ba7e89277d851279c4d",67:"54211f408298416c6536",68:"510e6b0aa6ffadff566b",69:"518fa345263ef1bb9abc",70:"5d2e33dad1088489e653",71:"e51a1b885d499897baff",72:"bfd2694c02bae17c273e",73:"7751e4d66fee99c15a39",74:"646f1b9348d1bb8cfbf7",75:"6b82dfb7f160db815f54",76:"5d50222646fc31640f30",77:"9f7ea81c191a5e1bbaa2",80:"c4a24f0beb29dbd2892a"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=c[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),f},b.m=e,b.c=f,b.d=function(e,a,f){b.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:f})},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
...@@ -19,10 +19,10 @@ ...@@ -19,10 +19,10 @@
</div> </div>
</div> </div>
<div v-if="activeName == 'second'" class="app-detail-pane border-box p-45"> <div v-if="activeName == 'second'" class="app-detail-pane border-box p-45">
<div class="m-b-20"><el-checkbox v-model="myCustomData.mainStoreFlag">是否展示服务门店会员</el-checkbox></div> <div class="m-b-20"><el-checkbox v-model="myCustomData.mainStoreFlag">展示服务门店会员</el-checkbox></div>
<div class="m-b-20"><el-checkbox v-model="myCustomData.minorStoreFlag">是否展示协管门店会员</el-checkbox></div> <div class="m-b-20"><el-checkbox v-model="myCustomData.minorStoreFlag">展示协管门店会员</el-checkbox></div>
<div class="m-b-20"><el-checkbox v-model="myCustomData.openCardStoreFlag">是否展示开卡门店会员</el-checkbox></div> <div class="m-b-20"><el-checkbox v-model="myCustomData.openCardStoreFlag">展示开卡门店会员</el-checkbox></div>
<div><el-checkbox v-model="myCustomData.clerkSeeOtherFlag">是否允许导购查看其他导购会员</el-checkbox></div> <div><el-checkbox v-model="myCustomData.clerkSeeOtherFlag">允许导购查看其他导购会员</el-checkbox></div>
<div class="m-t-46"> <div class="m-t-46">
<el-button type="primary" @click="submit('showFlag')">保 存</el-button> <el-button type="primary" @click="submit('showFlag')">保 存</el-button>
</div> </div>
......
<!--
<create-classify
:classifyName="classifyName"
:classifyId="classifyId"
:showDialog="showDialog"
@hideDialog="hideDialog">
</create-classify>
-->
<template>
<div v-show="customDialog">
<el-dialog class="app-dialog" :title="classifyName == '' ? '新增分类' : '编辑分类'" :visible.sync="customDialog" width="600px" :before-close="handleClose">
<div class="app-dialog-body">
<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>
<el-form ref="form" :model="formData" label-width="94px">
<el-form-item label="分类名称:">
<limitInput :inputWidth="440" :inputValue.sync="formData.classifyName" :holder="'请输入分类名称'" :getByType="'word'" :maxLength="10"> </limitInput>
</el-form-item>
</el-form>
</div>
<div slot="footer" class="dialog-footer" style="padding-bottom: 10px;">
<el-button @click="customCancel">取 消</el-button>
<el-button type="primary" @click="customConfirm">新 建</el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import limitInput from '@/components/limit-input.vue';
export default {
name: 'create-classify',
props: {
showDialog: {
type: Boolean,
default: false
},
classifyName: {
type: String,
default: ''
},
classifyId: {
type: String,
default: ''
},
appName: {
type: String,
default: ''
}
},
components: {
limitInput
},
data() {
return {
repProjectName: 'haoban-manage-web', // 项目名
customDialog: false, // 弹框显示
formData: {
classifyName: '',
classifyId: this.classifyId
}
};
},
methods: {
/**
* 关闭
*/
handleClose(done) {
const that = this;
done();
that.hideDialog();
},
/**
* 取消
*/
customCancel() {
const that = this;
that.hideDialog();
},
hideDialog() {
const that = this;
that.customDialog = false;
that.setData();
},
/**
* 确定
*/
customConfirm() {
const that = this;
if (that.formData.classifyName) {
that.setData();
} else {
that.$message.error({
duration: 1000,
message: '请填写分类名称'
});
}
},
/**
* 提交数据
*/
setData(list) {
const that = this;
that.$emit('hideDialog', that.formData.classifyName, that.formData.classifyId);
that.$nextTick(() => {
that.formData.classifyName = '';
});
}
},
watch: {
showDialog: function(newData, oldData) {
const that = this;
that.customDialog = newData;
},
classifyName: function(newData, oldData) {
const that = this;
that.formData.classifyName = newData;
}
},
/* 接收数据 */
mounted() {
const that = this;
that.customDialog = that.showDialog;
that.formData.classifyName = that.classifyName;
}
};
</script>
<style lang="scss" scoped>
.app-dialog {
/deep/ .el-dialog__body {
padding: 7px 20px 0 20px;
}
&-wrap {
}
&__title {
width: 100%;
height: 38px;
padding: 12px 15px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
background: rgba(235, 238, 245, 1);
}
.el-alert--info {
width: 400px;
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;
}
.el-form {
margin-top: 40px;
}
}
</style>
...@@ -168,6 +168,6 @@ export default { ...@@ -168,6 +168,6 @@ export default {
line-height: 32px; line-height: 32px;
text-align: right; text-align: right;
font-size: 12px; font-size: 12px;
color: #909399; color: #c0c4cc;
} }
</style> </style>
...@@ -22,6 +22,9 @@ ...@@ -22,6 +22,9 @@
</div> </div>
<div v-show="defaultStoreBool && defaultStoreList.length < 1" class="el-form-item__error">请选择发送范围</div> <div v-show="defaultStoreBool && defaultStoreList.length < 1" class="el-form-item__error">请选择发送范围</div>
</el-form-item> </el-form-item>
<el-form-item label="选择分类" prop="receiveType">
<el-select v-model="ruleFormData.classify" placeholder="请选择" style="width:560px"> <el-option v-for="item in classifyOptions" :key="item.value" :label="item.label" :value="item.value"> </el-option> </el-select><el-button class="p-l-20" type="text" @click="newClassify">新建分类</el-button>
</el-form-item>
<el-form-item label="发送对象" prop="receiveType"> <el-form-item label="发送对象" prop="receiveType">
<el-radio-group v-model="ruleFormData.receiveType"> <el-radio-group v-model="ruleFormData.receiveType">
<el-radio label="0">仅店长</el-radio> <el-radio label="0">仅店长</el-radio>
...@@ -64,6 +67,7 @@ ...@@ -64,6 +67,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<create-classify :classifyName="classifyName" :showDialog="showDialog" @hideDialog="hideDialog"> </create-classify>
<!-- 发送范围的门店选择 --> <!-- 发送范围的门店选择 -->
<vue-select-store ref="storeSelector" :currentBrand="activeGroup" :appScene="appScene" :treeSet="storeTreeSet" :selectType="'group-store'" :defaultList="defaultStoreList" @handleSelectedList="handleSelectedList"> </vue-select-store> <vue-select-store ref="storeSelector" :currentBrand="activeGroup" :appScene="appScene" :treeSet="storeTreeSet" :selectType="'group-store'" :defaultList="defaultStoreList" @handleSelectedList="handleSelectedList"> </vue-select-store>
</div> </div>
...@@ -74,7 +78,10 @@ import limitInput from '@/components/limit-input.vue'; ...@@ -74,7 +78,10 @@ import limitInput from '@/components/limit-input.vue';
import vueSelectStore from 'components/common/vueSelectStore'; import vueSelectStore from 'components/common/vueSelectStore';
import limitTextarea from '@/components/limit-textarea.vue'; import limitTextarea from '@/components/limit-textarea.vue';
import tinymceEdit from 'components/tinymce-edit'; import tinymceEdit from 'components/tinymce-edit';
import { postRequest } from '@/api/api'; import createClassify from '@/components/app/create-classify.vue';
import { getRequest, postRequest } from '@/api/api';
import showMsg from '@/common/js/showmsg';
import errMsg from '@/common/js/error';
export default { export default {
name: 'addNotice', name: 'addNotice',
props: { props: {
...@@ -106,6 +113,7 @@ export default { ...@@ -106,6 +113,7 @@ export default {
path: '' path: ''
} }
], ],
classifyOptions: [], // 分类列表
activeId: '2', // 详情头部选中 id activeId: '2', // 详情头部选中 id
activeBrand: this.brandId, // 商户(品牌) id activeBrand: this.brandId, // 商户(品牌) id
activeGroup: this.activeGroupId, // 商户(品牌) groupId activeGroup: this.activeGroupId, // 商户(品牌) groupId
...@@ -113,6 +121,7 @@ export default { ...@@ -113,6 +121,7 @@ export default {
userId: JSON.parse(localStorage.getItem('userInfo')).userId, userId: JSON.parse(localStorage.getItem('userInfo')).userId,
ruleFormData: { ruleFormData: {
receiveType: '0', receiveType: '0',
classify: '',
title: '', title: '',
img: '', img: '',
content: '', content: '',
...@@ -141,11 +150,47 @@ export default { ...@@ -141,11 +150,47 @@ export default {
defaultStoreBool: false, defaultStoreBool: false,
// 是否保存的标识 // 是否保存的标识
saveDataBool: true, saveDataBool: true,
fileDatas: [] fileDatas: [],
// 分类
classifyName: '',
showDialog: false
}; };
}, },
methods: { methods: {
/**
* 新建分类
*/
newClassify() {
const that = this;
that.classifyName = '';
that.showDialog = true;
},
/**
* 确定新增分类
*
*/
hideDialog(name) {
const that = this;
that.showDialog = false;
that.classifyName = '';
let para = {};
getRequest('/haoban-app-tel-task-web/', 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
});
});
},
// 返回 的 brandId // 返回 的 brandId
selectBrandId(id, groupId) { selectBrandId(id, groupId) {
this.brandId = id; this.brandId = id;
...@@ -403,7 +448,8 @@ export default { ...@@ -403,7 +448,8 @@ export default {
limitInput, limitInput,
limitTextarea, limitTextarea,
vueSelectStore, vueSelectStore,
tinymceEdit tinymceEdit,
createClassify
} }
}; };
</script> </script>
...@@ -456,6 +502,15 @@ export default { ...@@ -456,6 +502,15 @@ export default {
.btn-wrap { .btn-wrap {
font-size: 0; font-size: 0;
} }
.el-button {
&.p-l-20 {
padding-left: 20px;
-webkit-transform: translateY(2px);
-moz-transform: translateY(2px);
-ms-transform: translateY(2px);
transform: translateY(2px);
}
}
// 发送范围 // 发送范围
.depart-item-content { .depart-item-content {
width: 100%; width: 100%;
......
...@@ -49,9 +49,9 @@ ...@@ -49,9 +49,9 @@
</li> </li>
</ul> </ul>
<ul class="p-t-12"> <ul class="p-t-12">
<li class="flex flex-between"> <!-- <li class="flex flex-between">
<span>账户余额</span><span class="color-303133 font-16">{{ companyObj.balance }}</span> <span>账户余额</span><span class="color-303133 font-16">{{ companyObj.balance }}</span>
</li> </li> -->
<li class="flex flex-between"> <li class="flex flex-between">
<span>企业编码</span><span class="color-303133 font-16">{{ companyObj.enterpriseCode || '--' }}</span> <span>企业编码</span><span class="color-303133 font-16">{{ companyObj.enterpriseCode || '--' }}</span>
</li> </li>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<el-table ref="multipleTable" :data="tableData" tooltip-effect="dark" style="width: 100%"> <el-table ref="multipleTable" :data="tableData" tooltip-effect="dark" style="width: 100%">
<el-table-column label="审核事项"> <el-table-column label="审核事项">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.auditingType == 0 ? '门店信息变更' : scope.row.auditingType == 1 ? '新增成员' : '成员离职' }} {{ scope.row.auditingType == 0 ? '门店信息变更' : scope.row.auditingType == 1 ? '新增成员' : scope.row.auditingType == 2 ? '成员离职' : '转移成员' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="提交人" show-overflow-tooltip> <el-table-column label="提交人" show-overflow-tooltip>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<el-table-column type="selection" width="55"> </el-table-column> <el-table-column type="selection" width="55"> </el-table-column>
<el-table-column label="审核事项"> <el-table-column label="审核事项">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.auditingType == 0 ? '门店信息变更' : scope.row.auditingType == 1 ? '新增成员' : '成员离职' }} {{ scope.row.auditingType == 0 ? '门店信息变更' : scope.row.auditingType == 1 ? '新增成员' : scope.row.auditingType == 2 ? '成员离职' : '转移成员' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="提交人" show-overflow-tooltip> <el-table-column label="提交人" show-overflow-tooltip>
......
...@@ -432,6 +432,10 @@ input:focus { ...@@ -432,6 +432,10 @@ input:focus {
padding-left: 10px; padding-left: 10px;
} }
.p-l-12 {
padding-left: 12px;
}
.p-l-14 { .p-l-14 {
padding-left: 14px; padding-left: 14px;
} }
...@@ -468,6 +472,10 @@ input:focus { ...@@ -468,6 +472,10 @@ input:focus {
padding-right: 10px; padding-right: 10px;
} }
.p-r-20 {
padding-right: 20px;
}
.p-t-12 { .p-t-12 {
padding-top: 12px; padding-top: 12px;
} }
...@@ -566,6 +574,10 @@ input:focus { ...@@ -566,6 +574,10 @@ input:focus {
font-size: 0; font-size: 0;
} }
.font-8 {
font-size: 8px;
}
.font-12 { .font-12 {
font-size: 12px; font-size: 12px;
} }
...@@ -1054,6 +1066,10 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill { ...@@ -1054,6 +1066,10 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
content: "\e60f"; content: "\e60f";
} }
.notice-list .app-detail-top .el-tabs__header {
margin: 0 !important;
}
/* 登录 */ /* 登录 */
.loginForm .el-input__inner { .loginForm .el-input__inner {
...@@ -1114,3 +1130,20 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill { ...@@ -1114,3 +1130,20 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
.el-popover.notice-img-popover { .el-popover.notice-img-popover {
padding: 5px; padding: 5px;
} }
.classify-list-pop.el-popover {
min-width: 99px;
padding: 7px 0 0;
}
.classify-list-pop .classify-oprate-cell {
height: 34px;
line-height: 34px;
font-size: 14px;
color: #606266;
cursor: pointer;
}
.classify-oprate-cell:hover {
color: #1890FF;
background: #F5F7FA;
}
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