Commit 802420ee by 无尘

fix: 修改审核

parent 63d1d324
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.f252735c27c389ef43d02c3a8e5c3e67.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.8d9bc92286fb2dd350ce.js></script><script type=text/javascript src=./static/js/vendor.edfe69b49db0b6363a08.js></script><script type=text/javascript src=./static/js/app.15b3bd750c9287efa723.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.ede1ed43a41196269e442c3167fba82c.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.6ba0f67c2c7802d66da5.js></script><script type=text/javascript src=./static/js/vendor.edfe69b49db0b6363a08.js></script><script type=text/javascript src=./static/js/app.54cdb9a025f17f114787.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([61],{"8kVC":function(e,t){},ZxDn:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("Xxa5"),n=a.n(r),o=a("exGp"),s=a.n(o),i=a("Ke24"),c=a("Ch4/"),l=a("PI0u"),u=a("P9l9"),p={components:{commonDetailTop:i.a},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",topMenuData:[{id:"1",name:"指标管理",path:"/quota?appIcon="+this.$route.query.appIcon},{id:"2",name:"月指标",path:""}],yearList:[],year:"",tableList:[],tabelHeader:[{prop:"yearMonth",label:"月份"},{prop:"totalPerformance",label:"月指标累计"},{prop:"totalStore",label:"门店总数"},{prop:"totalComplete",label:"门店指标完善数"}],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(e){e&&this.getYearList()}},methods:{handleSizeChange:function(e){this.pageSize=e,this.apiMonthPerformanceList()},handleCurrentChange:function(e){this.currentPage=e,this.apiMonthPerformanceList()},changeYear:function(){this.currentPage=1,this.apiMonthPerformanceList()},getYearList:function(){var e=this;return s()(n.a.mark(function t(){var a,r,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e,t.next=3,n={brandId:a.brandId},Object(u.a)("/haoban-app-performance-web/performance/get-years",n);case 3:r=t.sent,1==(o=r.data).errorCode?(a.yearList=[],o.result&&o.result.length&&(o.result.forEach(function(e){a.yearList.push({id:e,label:e+"年"})}),a.year=o.result[0],a.apiMonthPerformanceList())):c.a.errorMsg(o);case 6:case"end":return t.stop()}var n},t,e)}))()},apiMonthPerformanceList:function(){var e=this;return s()(n.a.mark(function t(){var a,r,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e,t.next=3,n={brandId:e.brandId,year:e.year},Object(u.a)("/haoban-app-performance-web/performance/query-month-performance",n);case 3:r=t.sent,1==(o=r.data).errorCode&&(o.result.length&&o.result.forEach(function(e){e.totalPerformance=Object(l.d)(Number(e.totalPerformance).toFixed(2))}),a.tableList=o.result||[]);case 6:case"end":return t.stop()}var n},t,e)}))()}},mounted:function(){this.$emit("showTab","11"),this.brandId&&this.getYearList()}},h={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"common-right-wrap"},[a("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),a("div",{staticClass:"m-20"},[a("el-select",{staticClass:"m-b-23 w-123",on:{change:e.changeYear},model:{value:e.year,callback:function(t){e.year=t},expression:"year"}},[a("i",{staticClass:"el-input__icon el-icon-date",attrs:{slot:"prefix"},slot:"prefix"}),e._v(" "),e._l(e.yearList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.label}})})],2),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableList}},[e._l(e.tabelHeader,function(e,t){return a("el-table-column",{key:t,attrs:{label:e.label,prop:e.prop}})}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.settingStatus?a("el-button",{attrs:{type:"text"},on:{click:function(a){e.$router.push("/storeMonthTask?yearMonth="+t.row.yearMonth+"&appIcon="+e.$route.query.appIcon+" ")}}},[e._v("门店月指标")]):e._e(),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.$router.push("/companyDaySet?yearMonth="+t.row.yearMonth+"&appIcon="+e.$route.query.appIcon)}}},[e._v("商户日权重")])]}}])})],2),e._v(" "),0!=e.tableList.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)],1)},staticRenderFns:[]};var d=a("VU/8")(p,h,!1,function(e){a("8kVC")},"data-v-46bca8a6",null);t.default=d.exports}}); webpackJsonp([61],{"8kVC":function(e,t){},ZxDn:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("Xxa5"),n=a.n(r),o=a("exGp"),s=a.n(o),i=a("Ke24"),c=a("Ch4/"),l=a("PI0u"),u=a("P9l9"),p={components:{commonDetailTop:i.a},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",topMenuData:[{id:"1",name:"指标管理",path:"/quota?appIcon="+this.$route.query.appIcon},{id:"2",name:"月指标",path:""}],yearList:[],year:"",tableList:[],tabelHeader:[{prop:"yearMonth",label:"月份"},{prop:"totalPerformance",label:"月指标累计"},{prop:"totalStore",label:"门店总数"},{prop:"totalComplete",label:"门店指标完善数"}],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(e){e&&this.getYearList()}},methods:{handleSizeChange:function(e){this.pageSize=e,this.apiMonthPerformanceList()},handleCurrentChange:function(e){this.currentPage=e,this.apiMonthPerformanceList()},changeYear:function(){this.currentPage=1,this.apiMonthPerformanceList()},getYearList:function(){var e=this;return s()(n.a.mark(function t(){var a,r,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e,t.next=3,n={brandId:a.brandId},Object(u.a)("/haoban-app-performance-web/performance/get-years",n);case 3:r=t.sent,1==(o=r.data).errorCode?(a.yearList=[],o.result&&o.result.length&&(o.result.forEach(function(e){a.yearList.push({id:e,label:e+"年"})}),a.year=o.result[0],a.apiMonthPerformanceList())):c.a.errorMsg(o);case 6:case"end":return t.stop()}var n},t,e)}))()},apiMonthPerformanceList:function(){var e=this;return s()(n.a.mark(function t(){var a,r,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e,t.next=3,n={brandId:e.brandId,year:e.year},Object(u.a)("/haoban-app-performance-web/performance/query-month-performance",n);case 3:r=t.sent,1==(o=r.data).errorCode&&(o.result.length&&o.result.forEach(function(e){e.totalPerformance=Object(l.c)(Number(e.totalPerformance).toFixed(2))}),a.tableList=o.result||[]);case 6:case"end":return t.stop()}var n},t,e)}))()}},mounted:function(){this.$emit("showTab","11"),this.brandId&&this.getYearList()}},h={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"common-right-wrap"},[a("common-detail-top",{attrs:{topMenuData:e.topMenuData,activeId:e.activeId}}),e._v(" "),a("div",{staticClass:"m-20"},[a("el-select",{staticClass:"m-b-23 w-123",on:{change:e.changeYear},model:{value:e.year,callback:function(t){e.year=t},expression:"year"}},[a("i",{staticClass:"el-input__icon el-icon-date",attrs:{slot:"prefix"},slot:"prefix"}),e._v(" "),e._l(e.yearList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.label}})})],2),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableList}},[e._l(e.tabelHeader,function(e,t){return a("el-table-column",{key:t,attrs:{label:e.label,prop:e.prop}})}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.settingStatus?a("el-button",{attrs:{type:"text"},on:{click:function(a){e.$router.push("/storeMonthTask?yearMonth="+t.row.yearMonth+"&appIcon="+e.$route.query.appIcon+" ")}}},[e._v("门店月指标")]):e._e(),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.$router.push("/companyDaySet?yearMonth="+t.row.yearMonth+"&appIcon="+e.$route.query.appIcon)}}},[e._v("商户日权重")])]}}])})],2),e._v(" "),0!=e.tableList.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)],1)},staticRenderFns:[]};var d=a("VU/8")(p,h,!1,function(e){a("8kVC")},"data-v-46bca8a6",null);t.default=d.exports}});
\ No newline at end of file \ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,b,n){for(var r,t,o,i=0,u=[];i<f.length;i++)t=f[i],a[t]&&u.push(a[t][0]),a[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(f,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var f={},a={82:0};function d(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,d),a.l=!0,a.exports}d.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,d){c=a[e]=[f,d]});c[2]=f;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:"4f66fda81afbbea2f5a7",1:"fe9dec1f31b04053fd7e",2:"b31856e6a091b3fba584",3:"b7e6d57d97174b75b050",4:"11254d7e3a102121b8ec",5:"ff7b7e4bbc83cba901a2",6:"124ad8222f7b043b44ae",7:"01a48e1fc7ad8bd7ff25",8:"f1c9fb5c9212483138d8",9:"b5aae16b3951516573ad",10:"b464ce524178ebd7f37e",11:"0d00bc33c08020213be6",12:"e9d92e324cd82f5f898c",13:"700f97ec041b69f28e12",14:"e40c52ec7a8e611b5044",15:"dc1ca8ebc6cc47b86e2d",16:"2ee1cd09e02cae2867cf",17:"78c6d10043e3245cbd2a",18:"392fbc7b206e00262f59",19:"d857e84723b588b3f07f",20:"2c088b315d9e6d3e38df",21:"c50987389f9771604c9c",22:"a900938021677f9f022b",23:"9efbbc6dd315a676ce09",24:"585dd3423e19dfc09967",25:"4f9db49437ea94436d03",26:"e84283c3a6efdbdd121d",27:"eed48feabd4d0f510879",28:"140ad99228544036c969",29:"8dbb56ba55a9a1a39b4a",30:"e1d13557e082904beab3",31:"d81ddf1fefcc1d3a47a7",32:"703e6cead57d8645a1e8",33:"a005885d35e6836f2cff",34:"dffd4954b4fa7cd23cdc",35:"662c4c8f830469ed9eec",36:"cd9960391bdc89961cf8",37:"8016d3ac07df8acaf73d",38:"b47a47139aff7916772e",39:"2040c0c013c3eef699d0",40:"eb2dd485d7eadf099b28",41:"e91808df67777c6cc863",42:"19933214b960cfd36ed5",43:"55738932ffd0c022e68c",44:"87cac8c0770b90cd75ee",45:"5e37827888b66626cf85",46:"5aeb03736f9bb392fd10",47:"4121f50e30cb5bc2cd5b",48:"0d589c156ef44f69e93e",49:"439b0ac568be33334a7f",50:"0751cc82e1cc384c6e24",51:"74c0bb09c0857770523b",52:"0a4a9cb858cf549b943a",53:"907862ef77ecfa6b9bc2",54:"b52caceb1e8e07e360e6",55:"5e0f5c0bf2e37a0fa90e",56:"24fde879e5b6780ed28b",57:"3fff1432dca83f8d4d83",58:"1de4f978c8a34845bb5d",59:"7786b76803c11967b291",60:"4f9030e3af3934cbac98",61:"7046893480e334bd3be1",62:"cc90a53b37d9921579d1",63:"381d21d79f828f5fddaf",64:"71eda650970f1218845e",65:"a571e51a93be459cb498",66:"816d8317222c86df6557",67:"21052ca4b0e34b7f094a",68:"bad812977f20be800fbd",69:"043a9ff888724ef485e5",70:"9ffcb72c8aefa5c915ca",71:"358f6a4b1e11fff4f86b",72:"fc7ac55b38abde3b998b",73:"34ecad0968f6bfde9506",74:"b59dd56e7fc8a428c6ff",75:"dfa5e44e866b0ede9d07",76:"f5d66643d3f751a20797",77:"a7085591a8256fc5abef",78:"e0c61a4d30aa1232772c",81:"be325ddaae712f760e1a"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),f},d.m=e,d.c=f,d.d=function(e,c,f){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var 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:"1fea5797850d693a9c21",1:"fe9dec1f31b04053fd7e",2:"b31856e6a091b3fba584",3:"b7e6d57d97174b75b050",4:"11254d7e3a102121b8ec",5:"6a87891e37d2a5ba7c7a",6:"124ad8222f7b043b44ae",7:"ebad93a8c5bffffd9e98",8:"f1c9fb5c9212483138d8",9:"b5aae16b3951516573ad",10:"ebbed2d956a1376f014a",11:"59c7813cc972f62b1d18",12:"6ef9d18a1d3b8e72f4a6",13:"c2a8c3f846f25822ca33",14:"354e10af70665365afca",15:"0b0d85c57e5b2968a45e",16:"2ee1cd09e02cae2867cf",17:"78c6d10043e3245cbd2a",18:"392fbc7b206e00262f59",19:"d857e84723b588b3f07f",20:"641f715dd76416608684",21:"1aa6bc5390d968d5982f",22:"f08c872fb1b9438d09ff",23:"9efbbc6dd315a676ce09",24:"6cacb2ce8b746af3e668",25:"4f9db49437ea94436d03",26:"e84283c3a6efdbdd121d",27:"f9eb8425e9bc9c62cc23",28:"140ad99228544036c969",29:"8dbb56ba55a9a1a39b4a",30:"6e2da48a6aaee90e7b58",31:"d81ddf1fefcc1d3a47a7",32:"703e6cead57d8645a1e8",33:"a005885d35e6836f2cff",34:"c2b31f09ecae60447e9c",35:"6eb8644b657d22563a2c",36:"cd9960391bdc89961cf8",37:"8016d3ac07df8acaf73d",38:"b47a47139aff7916772e",39:"3f8eedf5c702b56e0cdf",40:"eb2dd485d7eadf099b28",41:"fb519491e3821bbca3d5",42:"19933214b960cfd36ed5",43:"55738932ffd0c022e68c",44:"87cac8c0770b90cd75ee",45:"5e37827888b66626cf85",46:"5aeb03736f9bb392fd10",47:"d6561113701bc694c86c",48:"b80b01dc7d1aec1dbc63",49:"439b0ac568be33334a7f",50:"0751cc82e1cc384c6e24",51:"74c0bb09c0857770523b",52:"0a4a9cb858cf549b943a",53:"907862ef77ecfa6b9bc2",54:"b52caceb1e8e07e360e6",55:"5e0f5c0bf2e37a0fa90e",56:"1f49c86ffaddb73ba61c",57:"7580dd2339bd6108c8fd",58:"1de4f978c8a34845bb5d",59:"97c0928ecf7d700fac50",60:"4f9030e3af3934cbac98",61:"ce5cc85910d90395ac98",62:"bc0ef8af781d2f3dccf4",63:"381d21d79f828f5fddaf",64:"8b5fc1c8c05aa1919bc1",65:"a571e51a93be459cb498",66:"300208375cdaa5f37ae1",67:"d15b34d21a04863a7254",68:"bad812977f20be800fbd",69:"043a9ff888724ef485e5",70:"9ffcb72c8aefa5c915ca",71:"a38c486f70c59aa0a9a9",72:"1431b2e1d9e1729c7db1",73:"34ecad0968f6bfde9506",74:"b59dd56e7fc8a428c6ff",75:"dfa5e44e866b0ede9d07",76:"bb2c379aaf0457df7d9d",77:"a7085591a8256fc5abef",78:"e0c61a4d30aa1232772c",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
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-03-20 14:36:37 * @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2019-10-21 14:04:16 * @LastEditTime: 2019-10-21 17:56:57
--> -->
<!-- <!--
...@@ -42,6 +42,10 @@ ...@@ -42,6 +42,10 @@
<span class="font-14 color-909399">注:保存勾选项后,门店导购和店长可查看本门店作为开卡门店名下会员</span> <span class="font-14 color-909399">注:保存勾选项后,门店导购和店长可查看本门店作为开卡门店名下会员</span>
</div> </div>
<div class="m-b-20"> <div class="m-b-20">
<el-checkbox class="w-195" v-model="myCustomData.openCardStoreFlag">展示已认证会员</el-checkbox>
<span class="font-14 color-909399">注:保存勾选项后,门店导购和店长可查看本门店已认证会员</span>
</div>
<div class="m-b-20">
<el-checkbox class="w-195" v-model="myCustomData.clerkSeeOtherFlag">允许导购查看其他导购会员</el-checkbox> <el-checkbox class="w-195" v-model="myCustomData.clerkSeeOtherFlag">允许导购查看其他导购会员</el-checkbox>
<span class="font-14 color-909399">注:保存勾选项后,门店导购可查看本门店其他导购名下会员</span> <span class="font-14 color-909399">注:保存勾选项后,门店导购可查看本门店其他导购名下会员</span>
</div> </div>
...@@ -51,10 +55,6 @@ ...@@ -51,10 +55,6 @@
<el-checkbox v-model="myCustomData.allowGuideMessage" @change="changeContact">短信</el-checkbox> <el-checkbox v-model="myCustomData.allowGuideMessage" @change="changeContact">短信</el-checkbox>
<el-checkbox v-model="myCustomData.allowGuideOnlineChat" @change="changeContact">消息</el-checkbox> <el-checkbox v-model="myCustomData.allowGuideOnlineChat" @change="changeContact">消息</el-checkbox>
</div> </div>
<div class="m-b-20">
<el-checkbox class="w-195" v-model="myCustomData.openCardStoreFlag">展示已认证会员</el-checkbox>
<span class="font-14 color-909399">注:保存勾选项后,门店导购和店长可查看本门店已认证会员</span>
</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>
......
...@@ -4,13 +4,13 @@ ...@@ -4,13 +4,13 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-10-21 14:27:29 * @Date: 2019-10-21 14:27:29
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2019-10-21 15:25:02 * @LastEditTime: 2019-10-21 16:30:48
--> -->
<!-- <!--
<review-result-detail <review-result-detail
:detailShow="detailShow" :detailShow="detailShow"
@hideRecordDialog="hideRecordDialog"> @hideDetailDialog="hideDetailDialog">
</review-result-detail> </review-result-detail>
import reviewResultDetail from '@/components/review/review-result-detail.vue' import reviewResultDetail from '@/components/review/review-result-detail.vue'
...@@ -168,7 +168,7 @@ export default { ...@@ -168,7 +168,7 @@ export default {
/* 接收数据 */ /* 接收数据 */
mounted() { mounted() {
const that = this; const that = this;
that.customDialog = that.publishShow; that.customDialog = that.detailShow;
} }
}; };
</script> </script>
......
<!--
* @Descripttion: 当前组件信息
* @version: 1.0.0
* @Author: 无尘
* @Date: 2019-10-21 14:27:29
* @LastEditors: 无尘
* @LastEditTime: 2019-10-21 17:41:19
-->
<!--
<review-result
:resultShow="resultShow"
@showResultDetail="showResultDetail"
@hideResultDialog="hideResultDialog">
</review-result>
import reviewResult from '@/components/review/review-result.vue'
-->
<template>
<div v-show="customDialog">
<el-dialog class="edit-dialog" title="提示" :visible.sync="customDialog" width="600px" :before-close="handleClose">
<div class="edit-dialog-body">
<div class="result-content"><span>2条审核成功,1条审核失败</span> <el-button type="text" @click="showDetail">查看详情</el-button></div>
</div>
</el-dialog>
</div>
</template>
<script>
import { getRequest } from '@/api/api';
import errMsg from '@/common/js/error';
export default {
name: 'record-list',
props: {
resultShow: {
type: Boolean,
default: false
}
},
data() {
return {
customDialog: this.resultShow, // 弹框显示
tableData: [
/* {
interfaceVersionId: '1',
version: '测试',
remark: '描述内容',
createTime: 1564455643252
} */
],
pageSize: 5,
currentPage: 1,
totalCount: 0
};
},
methods: {
/**
* 关闭
*/
handleClose(done) {
const that = this;
done();
that.hideDialog();
},
/**
* 取消
*/
customCancel() {
const that = this;
that.hideDialog();
},
hideDialog() {
const that = this;
that.customDialog = false;
that.$emit('hideResultDialog');
},
/**
* 显示详情
*/
showDetail() {
const that = this;
that.$emit('showResultDetail');
},
/**
* 获取数据
*/
getData() {
const that = this;
let para = {
pageNum: that.currentPage,
pageSize: that.pageSize,
version: that.formData.version,
sceneCode: that.formData.sceneCode,
interfaceId: that.formData.interfaceId
};
getRequest('/gateway-manage/page-api-publish-record', para)
.then(res => {
let resData = res.data;
if (resData.code == '0000') {
that.tableData = resData.result.result || [];
that.totalCount = resData.result.totalCount;
return;
}
errMsg.errorMsg(resData);
})
.catch(function(error) {
that.$message.error({
duration: 1000,
message: error.message
});
});
}
},
watch: {
resultShow: function(newData, oldData) {
const that = this;
that.customDialog = newData;
}
},
/* 接收数据 */
mounted() {
const that = this;
that.customDialog = that.resultShow;
}
};
</script>
<style lang="less" scoped>
.bg-82C5FF {
background: #82c5ff;
}
.edit-dialog {
/deep/ .el-dialog__body {
padding: 25px 20px 17px 20px;
min-height: 102px;
}
/deep/ .el-dialog__footer {
border: none;
padding-top: 3px;
}
&__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>
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2018-10-10 14:44:45 * @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2019-10-21 14:22:44 * @LastEditTime: 2019-10-21 17:53:54
--> -->
<template> <template>
<div class="reviewed-wrap common-set-wrap"> <div class="reviewed-wrap common-set-wrap">
...@@ -86,14 +86,14 @@ ...@@ -86,14 +86,14 @@
</el-table-column> </el-table-column>
<el-table-column label="提交时间" show-overflow-tooltip> <el-table-column label="提交时间" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<div class="line-h-18">{{ scope.row.createTime | formatTimeYMD }}</div> <div class="line-h-18">{{ scope.row.createTime | timeStampToYmd }}</div>
<div class="line-h-18">{{ scope.row.createTime | formatTimeHMS }}</div> <div class="line-h-18">{{ scope.row.createTime | timeStampToHms }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="审核时间" show-overflow-tooltip> <el-table-column label="审核时间" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<div class="line-h-18">{{ scope.row.createTime | formatTimeYMD }}</div> <div class="line-h-18">{{ scope.row.updateTime | timeStampToYmd }}</div>
<div class="line-h-18">{{ scope.row.createTime | formatTimeHMS }}</div> <div class="line-h-18">{{ scope.row.updateTime | timeStampToHms }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="状态"> <el-table-column label="状态">
...@@ -123,7 +123,6 @@ ...@@ -123,7 +123,6 @@
import navCrumb from '@/components/nav/nav.vue'; import navCrumb from '@/components/nav/nav.vue';
import storeChange from '@/components/review/store-change.vue'; import storeChange from '@/components/review/store-change.vue';
import errMsg from '@/common/js/error'; import errMsg from '@/common/js/error';
import { formatDate } from '@/common/js/public';
import { getRequest, postRequest } from '@/api/api'; import { getRequest, postRequest } from '@/api/api';
export default { export default {
name: 'reviewed', name: 'reviewed',
...@@ -205,18 +204,6 @@ export default { ...@@ -205,18 +204,6 @@ export default {
storeChangeData: {} storeChangeData: {}
}; };
}, },
filters: {
formatTimeYMD(data) {
return data != '--' ? data.split(' ')[0] : '--';
},
formatTimeHMS(data) {
return data != '--' ? data.split(' ')[1] : '--';
},
formatNum(data) {
const reg = /\d{1,3}(?=(\d{3})+$)/g;
return (data + '').replace(reg, '$&,');
}
},
computed: {}, computed: {},
methods: { methods: {
/** /**
...@@ -342,14 +329,7 @@ export default { ...@@ -342,14 +329,7 @@ export default {
.then(res => { .then(res => {
let resData = res.data; let resData = res.data;
if (resData.errorCode == 1) { if (resData.errorCode == 1) {
if (!!resData.result && !!resData.result.list) { that.tableData = resData.result.list || [];
resData.result.list.forEach(function(ele, index) {
if (!!ele.createTime) {
ele.createTime = formatDate(ele.createTime);
}
});
}
that.tableData = resData.result.list;
that.total = resData.result.total; that.total = resData.result.total;
return; return;
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2018-10-10 14:44:45 * @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2019-10-21 15:15:32 * @LastEditTime: 2019-10-21 17:54:24
--> -->
<template> <template>
<div class="unreview-wrap common-set-wrap"> <div class="unreview-wrap common-set-wrap">
...@@ -90,8 +90,8 @@ ...@@ -90,8 +90,8 @@
</el-table-column> </el-table-column>
<el-table-column label="提交时间" show-overflow-tooltip> <el-table-column label="提交时间" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<div class="line-h-18">{{ scope.row.createTime | formatTimeYMD }}</div> <div class="line-h-18">{{ scope.row.createTime | timeStampToYmd }}</div>
<div class="line-h-18">{{ scope.row.createTime | formatTimeHMS }}</div> <div class="line-h-18">{{ scope.row.createTime | timeStampToHms }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" width="100"> <el-table-column label="操作" width="100">
...@@ -137,15 +137,17 @@ ...@@ -137,15 +137,17 @@
</div> </div>
</el-dialog> </el-dialog>
<review-result-detail :detailShow="detailShow" @hideDetailDialog="hideDetailDialog"> </review-result-detail> <review-result-detail :detailShow="detailShow" @hideDetailDialog="hideDetailDialog"> </review-result-detail>
<review-result :resultShow="resultShow" @showResultDetail="showResultDetail" @hideResultDialog="hideResultDialog"> </review-result>
</div> </div>
</template> </template>
<script> <script>
import navCrumb from '@/components/nav/nav.vue'; import navCrumb from '@/components/nav/nav.vue';
import storeChange from '@/components/review/store-change.vue'; import storeChange from '@/components/review/store-change.vue';
import reviewResultDetail from '@/components/review/review-result-detail.vue'; import reviewResultDetail from '@/components/review/review-result-detail.vue';
import reviewResult from '@/components/review/review-result.vue';
import showMsg from '@/common/js/showmsg'; import showMsg from '@/common/js/showmsg';
import errMsg from '@/common/js/error'; import errMsg from '@/common/js/error';
import { formatDate, _debounce } from '@/common/js/public'; import { _debounce } from '@/common/js/public';
import { getRequest, postRequest } from '@/api/api'; import { getRequest, postRequest } from '@/api/api';
export default { export default {
name: 'unreview', name: 'unreview',
...@@ -235,21 +237,10 @@ export default { ...@@ -235,21 +237,10 @@ export default {
approveVisible: false, approveVisible: false,
refuseVisible: false, refuseVisible: false,
detailShow: false detailShow: false,
resultShow: false
}; };
}, },
filters: {
formatTimeYMD(data) {
return data != '--' ? data.split(' ')[0] : '--';
},
formatTimeHMS(data) {
return data != '--' ? data.split(' ')[1] : '--';
},
formatNum(data) {
const reg = /\d{1,3}(?=(\d{3})+$)/g;
return (data + '').replace(reg, '$&,');
}
},
computed: {}, computed: {},
methods: { methods: {
/** /**
...@@ -258,6 +249,22 @@ export default { ...@@ -258,6 +249,22 @@ export default {
*/ */
hideDetailDialog() { hideDetailDialog() {
const that = this; const that = this;
that.detailShow = false;
},
/**
* 关闭结果
*
*/
hideResultDialog() {
const that = this;
that.resultShow = false;
},
/**
* 显示详情
*
*/
showResultDetail() {
const that = this;
that.detailShow = true; that.detailShow = true;
}, },
/** /**
...@@ -306,7 +313,7 @@ export default { ...@@ -306,7 +313,7 @@ export default {
/** /**
* 批量同意 * 批量同意
*/ */
approveAll: _debounce(function() { approveAll: function() {
const that = this; const that = this;
let ids = !!that.multipleSelection.length ? that.multipleSelection.map(item => item.enterpriseAuditingId) : ''; let ids = !!that.multipleSelection.length ? that.multipleSelection.map(item => item.enterpriseAuditingId) : '';
if (!ids) { if (!ids) {
...@@ -316,8 +323,16 @@ export default { ...@@ -316,8 +323,16 @@ export default {
}); });
return false; return false;
} }
that.postAllApprove(ids); that
}, 500), .$confirm('是否批量同意?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
})
.then(() => {
that.postAllApprove(ids);
});
},
postApprove(ids) { postApprove(ids) {
const that = this; const that = this;
...@@ -331,6 +346,7 @@ export default { ...@@ -331,6 +346,7 @@ export default {
showMsg.showmsg('操作成功', 'success'); showMsg.showmsg('操作成功', 'success');
that.approveVisible = false; that.approveVisible = false;
that.getTableList(); that.getTableList();
that.$forceUpdate();
return; return;
} }
errMsg.errorMsg(resData); errMsg.errorMsg(resData);
...@@ -353,6 +369,7 @@ export default { ...@@ -353,6 +369,7 @@ export default {
let resData = res.data; let resData = res.data;
if (resData.errorCode == 1) { if (resData.errorCode == 1) {
showMsg.showmsg('操作成功', 'success'); showMsg.showmsg('操作成功', 'success');
that.resultShow = true;
that.getTableList(); that.getTableList();
return; return;
} }
...@@ -479,14 +496,7 @@ export default { ...@@ -479,14 +496,7 @@ export default {
.then(res => { .then(res => {
let resData = res.data; let resData = res.data;
if (resData.errorCode == 1) { if (resData.errorCode == 1) {
if (!!resData.result && !!resData.result.list) { that.tableData = resData.result.list || [];
resData.result.list.forEach(function(ele, index) {
if (!!ele.createTime) {
ele.createTime = formatDate(ele.createTime);
}
});
}
that.tableData = resData.result.list;
that.total = resData.result.total; that.total = resData.result.total;
return; return;
} }
...@@ -507,7 +517,8 @@ export default { ...@@ -507,7 +517,8 @@ export default {
components: { components: {
navCrumb, navCrumb,
storeChange, storeChange,
reviewResultDetail reviewResultDetail,
reviewResult
} }
}; };
</script> </script>
......
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