Commit 799a038b by 无尘

fix: 修改

parent bed22fee
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.a75029f4c21f0aaee09a9d296678362b.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.e299a20d6bdd702283ed.js></script><script type=text/javascript src=./static/js/vendor.c9b2df17ceb0429de99c.js></script><script type=text/javascript src=./static/js/app.3b7a0f97a46338a97901.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.a75029f4c21f0aaee09a9d296678362b.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.8355fd3b47625321f3db.js></script><script type=text/javascript src=./static/js/vendor.c9b2df17ceb0429de99c.js></script><script type=text/javascript src=./static/js/app.3b7a0f97a46338a97901.js></script></body></html>
\ No newline at end of file
webpackJsonp([69],{XrL3:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=e("3E4D"),o=e("Ch4/"),n=e("PI0u"),r=e("P9l9"),l={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",myCustomData:{salesGoodsFlag:!1,notSalesGoodsFlag:!1,showPriceFlag:!1},activeId:"1",loading:!1}},methods:{submit:Object(n.a)(function(t){this.loading=!0,this.setData(t)},500),setData:function(t){var a=this,e={enterpriseId:a.brandId,salesGoodsFlag:a.myCustomData.salesGoodsFlag?1:"0",notSalesGoodsFlag:a.myCustomData.notSalesGoodsFlag?1:"0",showPriceFlag:a.myCustomData.showPriceFlag?1:"0"};Object(r.d)("/haoban-app-aggregation-web/save-goods-setting",e).then(function(t){var e=t.data;a.loading=!1,a.getCustomerSet(),1!=e.errorCode?o.a.errorMsg(e):s.a.showmsg("保存成功","success")}).catch(function(t){a.loading=!1,a.$message.error({duration:1e3,message:t.message})})},getCustomerSet:function(t){var a=this,e={enterpriseId:a.brandId,wxEnterpriseRelatedId:a.wxEnterpriseRelatedId};Object(r.d)("/haoban-app-aggregation-web/find-goods-setting",e).then(function(t){var e=t.data;1!=e.errorCode?o.a.errorMsg(e):e.result&&(a.myCustomData.salesGoodsFlag=1==e.result.salesGoodsFlag,a.myCustomData.notSalesGoodsFlag=1==e.result.notSalesGoodsFlag,a.myCustomData.showPriceFlag=1==e.result.showPriceFlag)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,a){t&&this.getCustomerSet(this.brandId)}},mounted:function(){this.$emit("showTab","1"),this.brandId&&this.getCustomerSet(this.brandId)},components:{}},i={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"app-detail-wrap"},[e("div",{staticClass:"app-detail-pane border-box p-20"},[e("div",{staticClass:"m-b-20"},[e("span",{staticClass:"font-14 p-r-10"},[t._v("商品展示:")]),t._v(" "),e("el-checkbox",{model:{value:t.myCustomData.salesGoodsFlag,callback:function(a){t.$set(t.myCustomData,"salesGoodsFlag",a)},expression:"myCustomData.salesGoodsFlag"}},[t._v("已上架商品")]),e("el-checkbox",{model:{value:t.myCustomData.notSalesGoodsFlag,callback:function(a){t.$set(t.myCustomData,"notSalesGoodsFlag",a)},expression:"myCustomData.notSalesGoodsFlag"}},[t._v("未上架商品")])],1),t._v(" "),e("div",[e("el-switch",{model:{value:t.myCustomData.showPriceFlag,callback:function(a){t.$set(t.myCustomData,"showPriceFlag",a)},expression:"myCustomData.showPriceFlag"}}),e("span",{staticClass:"font-14 color-303133 p-l-10"},[t._v("商品详情屏蔽价格")]),e("span",{staticClass:"font-12 color-909399 p-l-10"},[t._v("注:开启后,商品列表及商品详情中会屏蔽价格字段。关闭后显示价格。")])],1),t._v(" "),e("div",{staticClass:"m-t-46"},[e("el-button",{attrs:{type:"primary",loading:t.loading},on:{click:function(a){t.submit("searchFlag")}}},[t._v("保 存")])],1)])])},staticRenderFns:[]};var d=e("VU/8")(l,i,!1,function(t){e("gdJW")},"data-v-303dd4bc",null);a.default=d.exports},gdJW:function(t,a){}});
\ No newline at end of file
webpackJsonp([69],{XrL3:function(a,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=e("3E4D"),o=e("Ch4/"),n=e("PI0u"),r=e("P9l9"),l={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",myCustomData:{salesGoodsFlag:!1,notSalesGoodsFlag:!1,showPriceFlag:!1},activeId:"1",loading:!1}},methods:{submit:Object(n.a)(function(a){this.loading=!0,this.setData(a)},500),setData:function(a){var t=this,e={enterpriseId:t.brandId,salesGoodsFlag:t.myCustomData.salesGoodsFlag?1:"0",notSalesGoodsFlag:t.myCustomData.notSalesGoodsFlag?1:"0",showPriceFlag:t.myCustomData.showPriceFlag?1:"0"};Object(r.d)("/haoban-app-aggregation-web/save-goods-setting",e).then(function(a){var e=a.data;t.loading=!1,1!=e.errorCode?o.a.errorMsg(e):s.a.showmsg("保存成功","success")}).catch(function(a){t.loading=!1,t.$message.error({duration:1e3,message:a.message})})},getCustomerSet:function(a){var t=this,e={enterpriseId:t.brandId,wxEnterpriseRelatedId:t.wxEnterpriseRelatedId};Object(r.d)("/haoban-app-aggregation-web/find-goods-setting",e).then(function(a){var e=a.data;1!=e.errorCode?o.a.errorMsg(e):e.result&&(t.myCustomData.salesGoodsFlag=1==e.result.salesGoodsFlag,t.myCustomData.notSalesGoodsFlag=1==e.result.notSalesGoodsFlag,t.myCustomData.showPriceFlag=1==e.result.showPriceFlag)}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})}},watch:{brandId:function(a,t){a&&this.getCustomerSet(this.brandId)}},mounted:function(){this.$emit("showTab","1"),this.brandId&&this.getCustomerSet(this.brandId)},components:{}},i={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"app-detail-wrap"},[e("div",{staticClass:"app-detail-pane border-box p-20"},[e("div",{staticClass:"m-b-20"},[e("span",{staticClass:"font-14 p-r-10"},[a._v("商品展示:")]),a._v(" "),e("el-checkbox",{model:{value:a.myCustomData.salesGoodsFlag,callback:function(t){a.$set(a.myCustomData,"salesGoodsFlag",t)},expression:"myCustomData.salesGoodsFlag"}},[a._v("已上架商品")]),e("el-checkbox",{model:{value:a.myCustomData.notSalesGoodsFlag,callback:function(t){a.$set(a.myCustomData,"notSalesGoodsFlag",t)},expression:"myCustomData.notSalesGoodsFlag"}},[a._v("未上架商品")])],1),a._v(" "),e("div",[e("el-switch",{model:{value:a.myCustomData.showPriceFlag,callback:function(t){a.$set(a.myCustomData,"showPriceFlag",t)},expression:"myCustomData.showPriceFlag"}}),e("span",{staticClass:"font-14 color-303133 p-l-10"},[a._v("商品详情屏蔽价格")]),e("span",{staticClass:"font-12 color-909399 p-l-10"},[a._v("注:开启后,商品列表及商品详情中会屏蔽价格字段。关闭后显示价格。")])],1),a._v(" "),e("div",{staticClass:"m-t-46"},[e("el-button",{attrs:{type:"primary",loading:a.loading},on:{click:function(t){a.submit("searchFlag")}}},[a._v("保 存")])],1)])])},staticRenderFns:[]};var d=e("VU/8")(l,i,!1,function(a){e("gdJW")},"data-v-303dd4bc",null);t.default=d.exports},gdJW:function(a,t){}});
\ No newline at end of file
!function(e){var f=window.webpackJsonp;window.webpackJsonp=function(a,d,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[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(f&&f(a,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var a={},c={88:0};function b(f){if(a[f])return a[f].exports;var c=a[f]={i:f,l:!1,exports:{}};return e[f].call(c.exports,c,c.exports,b),c.l=!0,c.exports}b.e=function(e){var f=c[e];if(0===f)return new Promise(function(e){e()});if(f)return f[2];var a=new Promise(function(a,b){f=c[e]=[a,b]});f[2]=a;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:"ba129d3b4f512eeaa1b6",1:"2fe1fea28b338647500e",2:"1ee388c2d99a13efc1ce",3:"e3e5cb80f2284b3190be",4:"d9188c5ef11d148a9172",5:"6bd713bbe91578b02083",6:"3014e775749d7f5b55f5",7:"c7a7f149b9bda67ba206",8:"44ef777174215bae215b",9:"a62fb8970e3ef30127ce",10:"546b16617e8d45a97acd",11:"fce5fcc498c4ce97d798",12:"6858196070975fac87ef",13:"acdad5e4c434690dabb4",14:"0515ff16e22ad1985252",15:"3ae840fa1929846688ff",16:"7400088166b56885fd23",17:"df7d17412a0cb4c4d42f",18:"09b98776fa678846481e",19:"f11c386818436323fde4",20:"e3adbfd3e776cf2e8f9f",21:"d78352462bc271cf6c69",22:"b775cd5a3407a1f4c844",23:"ed8ffa7851cf7b93d55d",24:"76079e07f55c773e8ebe",25:"755d295db713955f70d0",26:"033c6e723fba9da08a93",27:"8ae3986881568fb833a3",28:"a016b66e25f9c11fca32",29:"9fc187d28f0558e31cb3",30:"a383e23152f401e14903",31:"a81d5594ab762bad1101",32:"18695c9f2b46cc400c85",33:"0a4442de53039502010e",34:"e1c92d68f0bd271d5f80",35:"ea6b99a3057b0b403906",36:"47f03b8472e95e8be943",37:"e3388332c83433feb21d",38:"c26f420ff1a672b85fee",39:"deafa9cdc10a89021017",40:"abdef089ceb3bd63a0c5",41:"fc79fa1242ad11717288",42:"649eb602c3c2bdb4bc57",43:"a447bba03751452b5565",44:"0906f80f7e95924674b9",45:"c94e711a21b4d65d30a8",46:"ae8570220fc779bbd1d5",47:"0401741d9e48cc3f8706",48:"77fa4dbb806cca2b4bbb",49:"5ed2afdca5e082bcd5b7",50:"1a8bef21670320094f7b",51:"63c76b027ea9deeab75d",52:"588e6a501727512ff125",53:"76703df56e38ac027cc1",54:"7adecbdc09bf73921e73",55:"68e06904bb295863e369",56:"3ef8e1768cf748f5bf8d",57:"7d9334062856fbe3a1f1",58:"1a2afdbe94416be140fb",59:"ec266b89f6f61f3a6088",60:"bdbfd640dea49c35d168",61:"269f3510c533a0e67067",62:"03bed41d8e38604c1b54",63:"a698e6564f5d3cebf0f4",64:"1620250b23cfa763a9c3",65:"d41f2d2b941e095185d2",66:"6afd6ec06206d5b8a521",67:"0afabbdd1d7bb710d7e4",68:"5ff3f98baf8880c05da3",69:"7a38a5276e8e1b869fe0",70:"37af3cee1717e313fd51",71:"8d17bb653be063ab471a",72:"ac26d9c97757be3fb0f6",73:"24e38b4db5635ab5479f",74:"ed219bdfce8bcaaba02d",75:"0046b7cfac5a91d4e35e",76:"189f705b050fd637351a",77:"7ac4f8a44031fa1b17f7",78:"f2456e2bd3974453d8e3",79:"cad7e7028f946d585b99",80:"1f635392ccbdf9f1e3dd",81:"e74908cd5cfe8fa29870",82:"60e8ef88a5631daceff9",83:"26ec5f0666918217e67d",84:"a6953ebd87c2db8ecfd9",85:"edc07c8d4e5f0e535386"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var f=c[e];0!==f&&(f&&f[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),a},b.m=e,b.c=a,b.d=function(e,f,a){b.o(e,f)||Object.defineProperty(e,f,{configurable:!1,enumerable:!0,get:a})},b.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(f,"a",f),f},b.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},b.p="./",b.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var f=window.webpackJsonp;window.webpackJsonp=function(a,d,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[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(f&&f(a,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var a={},c={88:0};function b(f){if(a[f])return a[f].exports;var c=a[f]={i:f,l:!1,exports:{}};return e[f].call(c.exports,c,c.exports,b),c.l=!0,c.exports}b.e=function(e){var f=c[e];if(0===f)return new Promise(function(e){e()});if(f)return f[2];var a=new Promise(function(a,b){f=c[e]=[a,b]});f[2]=a;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:"ba129d3b4f512eeaa1b6",1:"2fe1fea28b338647500e",2:"1ee388c2d99a13efc1ce",3:"e3e5cb80f2284b3190be",4:"d9188c5ef11d148a9172",5:"6bd713bbe91578b02083",6:"3014e775749d7f5b55f5",7:"c7a7f149b9bda67ba206",8:"44ef777174215bae215b",9:"a62fb8970e3ef30127ce",10:"546b16617e8d45a97acd",11:"fce5fcc498c4ce97d798",12:"6858196070975fac87ef",13:"acdad5e4c434690dabb4",14:"0515ff16e22ad1985252",15:"3ae840fa1929846688ff",16:"7400088166b56885fd23",17:"df7d17412a0cb4c4d42f",18:"09b98776fa678846481e",19:"f11c386818436323fde4",20:"e3adbfd3e776cf2e8f9f",21:"d78352462bc271cf6c69",22:"b775cd5a3407a1f4c844",23:"ed8ffa7851cf7b93d55d",24:"76079e07f55c773e8ebe",25:"755d295db713955f70d0",26:"033c6e723fba9da08a93",27:"8ae3986881568fb833a3",28:"a016b66e25f9c11fca32",29:"9fc187d28f0558e31cb3",30:"a383e23152f401e14903",31:"a81d5594ab762bad1101",32:"18695c9f2b46cc400c85",33:"0a4442de53039502010e",34:"e1c92d68f0bd271d5f80",35:"ea6b99a3057b0b403906",36:"47f03b8472e95e8be943",37:"e3388332c83433feb21d",38:"c26f420ff1a672b85fee",39:"deafa9cdc10a89021017",40:"abdef089ceb3bd63a0c5",41:"fc79fa1242ad11717288",42:"649eb602c3c2bdb4bc57",43:"a447bba03751452b5565",44:"0906f80f7e95924674b9",45:"c94e711a21b4d65d30a8",46:"ae8570220fc779bbd1d5",47:"0401741d9e48cc3f8706",48:"77fa4dbb806cca2b4bbb",49:"5ed2afdca5e082bcd5b7",50:"1a8bef21670320094f7b",51:"63c76b027ea9deeab75d",52:"588e6a501727512ff125",53:"76703df56e38ac027cc1",54:"7adecbdc09bf73921e73",55:"68e06904bb295863e369",56:"3ef8e1768cf748f5bf8d",57:"7d9334062856fbe3a1f1",58:"1a2afdbe94416be140fb",59:"ec266b89f6f61f3a6088",60:"bdbfd640dea49c35d168",61:"269f3510c533a0e67067",62:"03bed41d8e38604c1b54",63:"a698e6564f5d3cebf0f4",64:"1620250b23cfa763a9c3",65:"d41f2d2b941e095185d2",66:"6afd6ec06206d5b8a521",67:"0afabbdd1d7bb710d7e4",68:"5ff3f98baf8880c05da3",69:"6cbef6b5b52c84b7b396",70:"37af3cee1717e313fd51",71:"8d17bb653be063ab471a",72:"ac26d9c97757be3fb0f6",73:"24e38b4db5635ab5479f",74:"ed219bdfce8bcaaba02d",75:"0046b7cfac5a91d4e35e",76:"189f705b050fd637351a",77:"7ac4f8a44031fa1b17f7",78:"f2456e2bd3974453d8e3",79:"cad7e7028f946d585b99",80:"1f635392ccbdf9f1e3dd",81:"e74908cd5cfe8fa29870",82:"60e8ef88a5631daceff9",83:"26ec5f0666918217e67d",84:"a6953ebd87c2db8ecfd9",85:"edc07c8d4e5f0e535386"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var f=c[e];0!==f&&(f&&f[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),a},b.m=e,b.c=a,b.d=function(e,f,a){b.o(e,f)||Object.defineProperty(e,f,{configurable:!1,enumerable:!0,get:a})},b.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(f,"a",f),f},b.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},b.p="./",b.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-11-16 10:25:45
* @LastEditTime: 2020-11-16 10:33:43
-->
<template>
......@@ -88,6 +88,7 @@ export default {
.then(res => {
let resData = res.data;
that.loading = false;
that.getCustomerSet();
if (resData.errorCode == 1) {
showMsg.showmsg('保存成功', 'success');
return;
......
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