Commit 1c049dde by 无尘

fix: 修改标签模板判断

parent 53d28984
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.c740d76e166dc2507cdb5c894de636bd.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.e493efd4b90fd871080b.js></script><script type=text/javascript src=./static/js/vendor.274807a88ce08a681b75.js></script><script type=text/javascript src=./static/js/app.ba337f1a8f88b0fa95e1.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>GIC-会员标签</title><link href=./static/css/app.cdb2dd5ce48d04130b95d54f914ae1ca.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.32c25bbd3ca4059cd01d.js></script><script type=text/javascript src=./static/js/vendor.274807a88ce08a681b75.js></script><script type=text/javascript src=./static/js/app.ba337f1a8f88b0fa95e1.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.
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.
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,o){for(var f,d,i,u=0,b=[];u<r.length;u++)d=r[u],t[d]&&b.push(t[d][0]),t[d]=0;for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e[f]=a[f]);for(n&&n(r,a,o);b.length;)b.shift()();if(o)for(u=0;u<o.length;u++)i=c(c.s=o[u]);return i};var r={},t={26:0};function c(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,c){n=t[e]=[r,c]});n[2]=r;var a=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,c.nc&&o.setAttribute("nonce",c.nc),o.src=c.p+"static/js/"+e+"."+{0:"603e24b6249496bff8d6",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"0106258f51de87a40b57",6:"147ea2f2a455a59e22d6",7:"d28fde8b05d6bee77f4c",8:"24eeef980ff8ffe24d42",9:"6284684f59ae2a7586a8",10:"c71c26ffe9e929740644",11:"e85b90356083e5b3e250",12:"dece2fedb495aa36c9a6",13:"e29aa5893a93a16c34bc",14:"92199267df3426ee7901",15:"9f61f06d1572f1265cc0",16:"843a47923cc77fa59466",17:"83e469d672229c638715",18:"6ed416399616407ccde9",19:"bfcaf83a5268b922dc57",20:"747937511d9761d173a2",21:"3dba0a38816e1f1717fb",22:"22f63d81db79c0c78098",25:"9ceafa4ee79176c87d81"}[e]+".js";var f=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return o.onerror=o.onload=d,a.appendChild(o),r},c.m=e,c.c=r,c.d=function(e,n,r){c.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},c.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="./",c.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.e493efd4b90fd871080b.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,o){for(var f,d,i,u=0,b=[];u<r.length;u++)d=r[u],t[d]&&b.push(t[d][0]),t[d]=0;for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e[f]=a[f]);for(n&&n(r,a,o);b.length;)b.shift()();if(o)for(u=0;u<o.length;u++)i=c(c.s=o[u]);return i};var r={},t={26:0};function c(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,c){n=t[e]=[r,c]});n[2]=r;var a=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,c.nc&&o.setAttribute("nonce",c.nc),o.src=c.p+"static/js/"+e+"."+{0:"603e24b6249496bff8d6",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"0106258f51de87a40b57",6:"b5a20dd616d7bd808cb9",7:"5fc2f6a405314b13d71a",8:"24eeef980ff8ffe24d42",9:"6284684f59ae2a7586a8",10:"c71c26ffe9e929740644",11:"e85b90356083e5b3e250",12:"dece2fedb495aa36c9a6",13:"e29aa5893a93a16c34bc",14:"92199267df3426ee7901",15:"9f61f06d1572f1265cc0",16:"843a47923cc77fa59466",17:"83e469d672229c638715",18:"6ed416399616407ccde9",19:"bfcaf83a5268b922dc57",20:"747937511d9761d173a2",21:"3dba0a38816e1f1717fb",22:"22f63d81db79c0c78098",25:"9ceafa4ee79176c87d81"}[e]+".js";var f=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return o.onerror=o.onload=d,a.appendChild(o),r},c.m=e,c.c=r,c.d=function(e,n,r){c.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},c.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="./",c.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.32c25bbd3ca4059cd01d.js.map
\ No newline at end of file
......@@ -271,11 +271,11 @@
</template>
<!-- 11.门店选择器 -->
<template v-if="parent.templateCode == 'tag011'">
<div>
<div v-if="parent.templateCode == 'tag011'">
<div class="m-t-18">
<vue-gic-store-new :options="parent.uuidOptions" :uuid.sync="parent.uuid" ref="storeNew"></vue-gic-store-new>
</div>
</template>
</div>
<!-- 12.多选项( 全部选项/已选选项 ) -->
<template v-if="parent.templateCode == 'tag009'">
......@@ -1249,14 +1249,14 @@
if (ele.fixedRecentRadio == 1 && !ele.fixedRecentRangeValue.length) { returnFlag = false }
if (ele.fixedRecentRadio == 2 && !ele.fixedRecentTimeRecent) { returnFlag = false }
if (ele.fixedRecentRadio == 1) {
tagValue.val[0].time.type = 'between';
tagValue.val[0].time.value = ele.fixedRecentRangeValue.join(',')
tagValue.time[0].type = 'between';
tagValue.time[0].value = ele.fixedRecentRangeValue.join(',')
that.postTemplateData.selectedVal.push(ele.fixedRecentRangeValue);
}
// tagValue.val[0].data.compute = ele.postCompute;
if (ele.fixedRecentRadio == 2) {
tagValue.val[0].time.type = 'lastday';
tagValue.val[0].time.value = ele.fixedRecentTimeRecent;
tagValue.time[0].type = 'lastday';
tagValue.time[0].value = ele.fixedRecentTimeRecent;
that.postTemplateData.selectedVal.push(`最近 ${ele.fixedRecentTimeRecent} 天`);
}
......@@ -1295,7 +1295,6 @@
that.$refs.storeNew[0].isStoreSave().then(flag => {
//do something
if (!flag) { returnFlag = false }
console.log(flag,returnFlag)
})
// if (!ele.checkeditems.length) { returnFlag = false };
tagValue.val[0].data.value = '';
......@@ -1339,8 +1338,6 @@
return false;
}
/* 数字区间 + 之后 几天 */
that.postTemplateData.template = that.templateData
tagParams = that.postTemplateData;
that.addToTemp(tagValue,tagParams);
......
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