Commit 3ee267ba by 无尘

fix: 修改设置模板

parent 63e6da4c
<!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.245739051650c1a4de0474deefc9e484.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.6cca099138aa20eb08e1.js></script><script type=text/javascript src=./static/js/vendor.04714449d6ef1a8af053.js></script><script type=text/javascript src=./static/js/app.cd136ef3e594f1bd9450.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.f1f69d9e7edebcd0fc4c629b5c9845a7.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.2515510e7b73061eb118.js></script><script type=text/javascript src=./static/js/vendor.04714449d6ef1a8af053.js></script><script type=text/javascript src=./static/js/app.51ef6a831d7b38feae4e.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([54],{O3gZ:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",t.childItem.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))])]),t._v(" "),i("ul",{staticClass:"view-content"},t._l(t.childItem.list,function(e,l){return i("li",{key:"performance"+l,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[t._v(t._s(e.placeholder)+" "+t._s(e.isMust?"(必填)":""))])])])})),t._v(" "),"competitorInfo"==t.childItem.name?i("div",{staticClass:"compete-add"},[t._v("\n +竞品信息\n ")]):t._e()])},staticRenderFns:[]};var a=i("VU/8")(l,s,!1,function(t){i("gqXI")},"data-v-530ad580",null);e.default=a.exports},gqXI:function(t,e){}});
\ No newline at end of file
webpackJsonp([55],{O3gZ:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"block-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"block block-field"},[i("div",{staticClass:"block-head"},[i("div",{class:["opencard-item-title",t.childItem.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))])]),t._v(" "),i("ul",{staticClass:"view-content"},t._l(t.childItem.list,function(e,l){return i("li",{key:"performance"+l,staticClass:"block-filed-item border-bottom-1"},[i("div",{class:["opencard-item-title",e.title.length>=6?"title-pre-wrap":""]},[t._v(t._s(e.title))]),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag "},[t._v(t._s(e.placeholder)+" "+t._s(e.isMust?"(必填)":""))])])])})),t._v(" "),"competitorInfo"==t.childItem.name?i("div",{staticClass:"compete-add"},[t._v("\n +竞品信息\n ")]):t._e()])},staticRenderFns:[]};var a=i("VU/8")(l,s,!1,function(t){i("gqXI")},"data-v-530ad580",null);e.default=a.exports},gqXI:function(t,e){}});
\ No newline at end of file
webpackJsonp([55],{"2WGr":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"date-range-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,s=0;s<t.length;s++){null!=t.charAt(s).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},i={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.startTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.startTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")),s("i",{staticClass:"el-icon-arrow-right"})])])]),t._v(" "),s("div",{staticClass:"b-t-1 flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.endTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.endTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),s("i",{staticClass:"el-icon-arrow-right"})])])])])},staticRenderFns:[]};var l=s("VU/8")(a,i,!1,function(t){s("JXCd")},"data-v-5106f326",null);e.default=l.exports},JXCd:function(t,e){}});
\ No newline at end of file
webpackJsonp([56],{"2WGr":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"date-range-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,s=0;s<t.length;s++){null!=t.charAt(s).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},i={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.startTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.startTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")),s("i",{staticClass:"el-icon-arrow-right"})])])]),t._v(" "),s("div",{staticClass:"b-t-1 flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.endTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.endTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),s("i",{staticClass:"el-icon-arrow-right"})])])])])},staticRenderFns:[]};var l=s("VU/8")(a,i,!1,function(t){s("JXCd")},"data-v-5106f326",null);e.default=l.exports},JXCd:function(t,e){}});
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,d,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 d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(a&&a(c,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var c={},f={82:0};function b(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,b),f.l=!0,f.exports}b.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,b){a=f[e]=[c,b]});a[2]=c;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:"cbedb09f8527f7df9eb0",1:"954a8a70c5f1171933ac",2:"a280cacc2b4b43a244e1",3:"385dffa722bffe6b4b04",4:"7fb54b0d6edc84c910b5",5:"3c335bf1dd72ca957262",6:"987ab930d70320e9de11",7:"32c3458a147e64da242e",8:"990e6fcff10d77217764",9:"4c87b59db1c88ddd3ced",10:"72fccf60a68381f76d55",11:"931f12c564ff8f7e5f81",12:"bd4b4eb96215d3ff63eb",13:"b528a7bfbf239c6b01df",14:"d136c49a12c4ecf6ca43",15:"d7aab003f9662d3c8f47",16:"3ab0f4fe7faa5e521a76",17:"770b18ce8b116b017976",18:"96baa73f6f02ed43eb8e",19:"f36008a4491a333b3887",20:"3739332a7b56b9610431",21:"b9552ac568217b38c707",22:"b44793a857945857aadf",23:"da634068aad0d43b1782",24:"e6e26238b6c26901a084",25:"7acdc043c849eba78ef2",26:"131de4aa19cded3e450a",27:"fb8fb618015fae7bcfa6",28:"87049d73048403debd2d",29:"29d767b9b57b7b477a1e",30:"c1de2f4576abf4469703",31:"be3308967cc19afa234d",32:"55c47cf4b7b63a259239",33:"a5d240bbf17fabc32267",34:"0d984ccb2e42da5924f7",35:"9e75b4e42a0d26a7436e",36:"e9756fb4a91bc2c5d182",37:"1b5ed61134b909a92c84",38:"e974eb2b0071fc939ca5",39:"17ea73c5352156f25f5a",40:"86d063d5621228eff837",41:"19c89dc42386611fd352",42:"58113ea95a9ed345c1cd",43:"1a2a5e909950b94e1679",44:"e0a3c98dc6912e2002a1",45:"ea77600af5dfaba7e122",46:"b799f1004b7641f2312d",47:"ec55a75b65a98e3479d6",48:"d063499fc53f109861e6",49:"335a1ee0f127917485a9",50:"a613c9b52259eb192c68",51:"cef48bb077d7adfd0393",52:"e201923c185c46bbad64",53:"8511a52e731f88850f56",54:"20d1fa1d7197fb03f561",55:"66d6bebca2c9ad8be9e1",56:"ef2722d4122f46013211",57:"d7cdeb146f361ecfd628",58:"59f47a2641c61318c868",59:"1620e8d917f055bd096c",60:"980a2a1cac0bc4235e7c",61:"0f485bc0cd6ffbf37912",62:"2c9efd39ab9c002347f2",63:"1cf4bbb0d08c6125bef5",64:"20e3786634c58a5bee56",65:"b40435989b3f5e631db3",66:"fbfcf9c3f5f2671adf5c",67:"5a529b8e08d60bbcc9b7",68:"f9aa6ba5fbb418b22098",69:"01bd57d9c359690c6e46",70:"f6eaf95fe1dd65e2f900",71:"e2beb82951019a68bfe4",72:"b8f92cf89077d32971ce",73:"a89d7704c4c88aeb343c",74:"61f8d00f7b5daf9b315a",75:"db3fed59d5479f7a0e68",76:"17e932433f889bef98c9",77:"1ca8827ee674c2bf8322",78:"925a2c05ec6516adf1e6",79:"a059cde671ec44316e79"}[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,d.appendChild(n),c},b.m=e,b.c=c,b.d=function(e,a,c){b.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},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
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,d,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 d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(c&&c(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={},f={82:0};function b(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,b),f.l=!0,f.exports}b.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,b){c=f[e]=[a,b]});c[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:"cbedb09f8527f7df9eb0",1:"954a8a70c5f1171933ac",2:"a280cacc2b4b43a244e1",3:"4d4d8a92cf845d526f35",4:"7fb54b0d6edc84c910b5",5:"3c335bf1dd72ca957262",6:"987ab930d70320e9de11",7:"32c3458a147e64da242e",8:"990e6fcff10d77217764",9:"4c87b59db1c88ddd3ced",10:"72fccf60a68381f76d55",11:"931f12c564ff8f7e5f81",12:"bd4b4eb96215d3ff63eb",13:"12be93d0db44fde31c23",14:"d136c49a12c4ecf6ca43",15:"d7aab003f9662d3c8f47",16:"3ab0f4fe7faa5e521a76",17:"770b18ce8b116b017976",18:"96baa73f6f02ed43eb8e",19:"f36008a4491a333b3887",20:"3739332a7b56b9610431",21:"b9552ac568217b38c707",22:"86510b5146ab2b9518fb",23:"da634068aad0d43b1782",24:"e6e26238b6c26901a084",25:"7acdc043c849eba78ef2",26:"131de4aa19cded3e450a",27:"fb8fb618015fae7bcfa6",28:"87049d73048403debd2d",29:"29d767b9b57b7b477a1e",30:"c1de2f4576abf4469703",31:"be3308967cc19afa234d",32:"55c47cf4b7b63a259239",33:"a5d240bbf17fabc32267",34:"0d984ccb2e42da5924f7",35:"9e75b4e42a0d26a7436e",36:"e9756fb4a91bc2c5d182",37:"1b5ed61134b909a92c84",38:"e974eb2b0071fc939ca5",39:"17ea73c5352156f25f5a",40:"86d063d5621228eff837",41:"19c89dc42386611fd352",42:"58113ea95a9ed345c1cd",43:"1a2a5e909950b94e1679",44:"e0a3c98dc6912e2002a1",45:"ea77600af5dfaba7e122",46:"b799f1004b7641f2312d",47:"ec55a75b65a98e3479d6",48:"d063499fc53f109861e6",49:"335a1ee0f127917485a9",50:"a613c9b52259eb192c68",51:"cef48bb077d7adfd0393",52:"e201923c185c46bbad64",53:"8511a52e731f88850f56",54:"1df9992cb5ede1bf834f",55:"bc866da078f51b6ce995",56:"c5ddcc6eace690ee3eec",57:"f87843745cd8e1505453",58:"59f47a2641c61318c868",59:"1620e8d917f055bd096c",60:"980a2a1cac0bc4235e7c",61:"0f485bc0cd6ffbf37912",62:"2c9efd39ab9c002347f2",63:"1cf4bbb0d08c6125bef5",64:"20e3786634c58a5bee56",65:"b40435989b3f5e631db3",66:"fbfcf9c3f5f2671adf5c",67:"5a529b8e08d60bbcc9b7",68:"f9aa6ba5fbb418b22098",69:"01bd57d9c359690c6e46",70:"f6eaf95fe1dd65e2f900",71:"e2beb82951019a68bfe4",72:"b8f92cf89077d32971ce",73:"a89d7704c4c88aeb343c",74:"61f8d00f7b5daf9b315a",75:"db3fed59d5479f7a0e68",76:"17e932433f889bef98c9",77:"1ca8827ee674c2bf8322",78:"925a2c05ec6516adf1e6",79:"a059cde671ec44316e79"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),a},b.m=e,b.c=a,b.d=function(e,c,a){b.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},b.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(c,"a",c),c},b.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},b.p="./",b.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-06-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-06-23 17:20:23
* @LastEditTime: 2020-06-24 10:55:56
-->
<template>
<div class="app-detail-wrap">
......@@ -242,16 +242,21 @@ export default {
/**
* 获取数据
*/
getCustomerSet(brandId) {
getTemplateSet(brandId) {
const that = this;
let para = {
templateId: that.$route.query.templateId,
enterpriseId: that.brandId,
wxEnterpriseRelatedId: that.wxEnterpriseRelatedId
};
postRequest('/haoban-app-customer-web/customer/find-customer-setting', para)
postRequest('/haoban-app-customer-web/find-customer-setting', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
if (resData.result) {
that.formData = resData.result;
}
return;
}
errMsg.errorMsg(resData);
......@@ -267,13 +272,17 @@ export default {
watch: {
brandId: function(newData, oldData) {
const that = this;
that.getCustomerSet(that.brandId);
if (newData) {
that.getTemplateSet(that.brandId);
}
}
},
mounted() {
const that = this;
that.$emit('showTab', '12');
that.getCustomerSet(that.brandId);
if (that.brandId) {
that.getTemplateSet(that.brandId);
}
},
components: { selectGroup, limitInput }
};
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-06-23 11:36:20
* @LastEditTime: 2020-06-24 10:28:02
-->
<!--
......@@ -264,7 +264,7 @@ export default {
enterpriseId: that.brandId,
wxEnterpriseRelatedId: that.wxEnterpriseRelatedId
};
postRequest('/haoban-app-customer-web/memberGroup/get-template-list', para)
postRequest('/haoban-app-customer-web/get-template-list', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-06-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-06-23 15:10:14
* @LastEditTime: 2020-06-24 10:56:30
-->
<template>
<div class="app-detail-wrap">
......@@ -230,9 +230,10 @@ export default {
/**
* 获取全品牌搜索设置数据
*/
getCustomerSet(brandId) {
getStoreSet(brandId) {
const that = this;
let para = {
templateId: that.$route.query.templateId,
enterpriseId: that.brandId,
wxEnterpriseRelatedId: that.wxEnterpriseRelatedId
};
......@@ -258,13 +259,17 @@ export default {
watch: {
brandId: function(newData, oldData) {
const that = this;
that.getCustomerSet(that.brandId);
if (newData) {
that.getStoreSet(that.brandId);
}
}
},
mounted() {
const that = this;
that.$emit('showTab', '12');
that.getCustomerSet(that.brandId);
if (that.brandId) {
that.getStoreSet(that.brandId);
}
},
components: { setVisiable }
};
......
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