✨ feat: 优惠券新增筛选条件
This commit is contained in:
parent
aed318242c
commit
c544910f2a
|
@ -8,11 +8,11 @@
|
|||
"static/js/3.60540aad.chunk.js": "/static/js/3.60540aad.chunk.js",
|
||||
"main.css": "/static/css/main.b0e33980.chunk.css",
|
||||
"main.js": "/static/js/main.4bf14af3.chunk.js",
|
||||
"runtime-main.js": "/static/js/runtime-main.1c2de438.js",
|
||||
"static/css/6.be3a93c4.chunk.css": "/static/css/6.be3a93c4.chunk.css",
|
||||
"static/js/6.f1e9eb97.chunk.js": "/static/js/6.f1e9eb97.chunk.js",
|
||||
"static/css/7.42199da9.chunk.css": "/static/css/7.42199da9.chunk.css",
|
||||
"static/js/7.4437c98c.chunk.js": "/static/js/7.4437c98c.chunk.js",
|
||||
"runtime-main.js": "/static/js/runtime-main.5f888b4d.js",
|
||||
"static/css/6.5c7ed5c9.chunk.css": "/static/css/6.5c7ed5c9.chunk.css",
|
||||
"static/js/6.1e85dda5.chunk.js": "/static/js/6.1e85dda5.chunk.js",
|
||||
"static/css/7.21cfdb24.chunk.css": "/static/css/7.21cfdb24.chunk.css",
|
||||
"static/js/7.976736e1.chunk.js": "/static/js/7.976736e1.chunk.js",
|
||||
"static/css/8.9a9b6f5c.chunk.css": "/static/css/8.9a9b6f5c.chunk.css",
|
||||
"static/js/8.751f6ff7.chunk.js": "/static/js/8.751f6ff7.chunk.js",
|
||||
"static/css/9.4e156c5f.chunk.css": "/static/css/9.4e156c5f.chunk.css",
|
||||
|
@ -26,13 +26,13 @@
|
|||
"static/js/1.c838a238.chunk.js.LICENSE.txt": "/static/js/1.c838a238.chunk.js.LICENSE.txt",
|
||||
"static/js/10.f012a795.chunk.js.LICENSE.txt": "/static/js/10.f012a795.chunk.js.LICENSE.txt",
|
||||
"static/js/3.60540aad.chunk.js.LICENSE.txt": "/static/js/3.60540aad.chunk.js.LICENSE.txt",
|
||||
"static/js/6.f1e9eb97.chunk.js.LICENSE.txt": "/static/js/6.f1e9eb97.chunk.js.LICENSE.txt",
|
||||
"static/js/7.4437c98c.chunk.js.LICENSE.txt": "/static/js/7.4437c98c.chunk.js.LICENSE.txt",
|
||||
"static/js/6.1e85dda5.chunk.js.LICENSE.txt": "/static/js/6.1e85dda5.chunk.js.LICENSE.txt",
|
||||
"static/js/7.976736e1.chunk.js.LICENSE.txt": "/static/js/7.976736e1.chunk.js.LICENSE.txt",
|
||||
"static/js/8.751f6ff7.chunk.js.LICENSE.txt": "/static/js/8.751f6ff7.chunk.js.LICENSE.txt",
|
||||
"static/js/9.5da69cf7.chunk.js.LICENSE.txt": "/static/js/9.5da69cf7.chunk.js.LICENSE.txt"
|
||||
},
|
||||
"entrypoints": [
|
||||
"static/js/runtime-main.1c2de438.js",
|
||||
"static/js/runtime-main.5f888b4d.js",
|
||||
"static/css/8.9a9b6f5c.chunk.css",
|
||||
"static/js/8.751f6ff7.chunk.js",
|
||||
"static/css/main.b0e33980.chunk.css",
|
||||
|
|
|
@ -1 +1 @@
|
|||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/commonproductlogo/goods_new_v3.js?v3"></script><title>营销管理系统</title><style>#root,body,html{width:100%;height:100%;padding:0;margin:0;font-size:14px;overflow:hidden}</style><link href="/static/css/8.9a9b6f5c.chunk.css" rel="stylesheet"><link href="/static/css/main.b0e33980.chunk.css" rel="stylesheet"></head><body><script type="text/javascript">window.goods=product</script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,o,c=t[0],i=t[1],f=t[2],s=0,d=[];s<c.length;s++)o=c[s],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&d.push(a[o][0]),a[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(l&&l(t);d.length;)d.shift()();return u.push.apply(u,f||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==a[i]&&(n=!1)}n&&(u.splice(t--,1),e=c(c.s=r[0]))}return e}var n={},o={5:0},a={5:0},u=[];function c(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,c),r.l=!0,r.exports}c.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{2:1,3:1,6:1,7:1,9:1,11:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"74e9175c",3:"75be5fa1",6:"be3a93c4",7:"42199da9",9:"4e156c5f",10:"31d6cfe0",11:"b1da7569",12:"31d6cfe0"}[e]+".chunk.css",a=c.p+n,u=document.getElementsByTagName("link"),i=0;i<u.length;i++){var f=(l=u[i]).getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(f===n||f===a))return t()}var s=document.getElementsByTagName("style");for(i=0;i<s.length;i++){var l;if((f=(l=s[i]).getAttribute("data-href"))===n||f===a)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var n=t&&t.target&&t.target.src||a,u=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=n,delete o[e],d.parentNode.removeChild(d),r(u)},d.href=a,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,c.nc&&i.setAttribute("nonce",c.nc),i.src=function(e){return c.p+"static/js/"+({}[e]||e)+"."+{0:"1d62adab",1:"c838a238",2:"245112ca",3:"60540aad",6:"f1e9eb97",7:"4437c98c",9:"5da69cf7",10:"f012a795",11:"6dd129c8",12:"5d12f291"}[e]+".chunk.js"}(e);var f=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(s);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}a[e]=void 0}};var s=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},c.m=e,c.c=n,c.d=function(e,t,r){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(c.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)c.d(r,n,function(t){return e[t]}.bind(null,n));return r},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="/",c.oe=function(e){throw e};var i=this.webpackJsonpmarketingsystem=this.webpackJsonpmarketingsystem||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var s=0;s<i.length;s++)t(i[s]);var l=f;r()}([])</script><script src="/static/js/8.751f6ff7.chunk.js"></script><script src="/static/js/main.4bf14af3.chunk.js"></script></body></html>
|
||||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/commonproductlogo/goods_new_v3.js?v3"></script><title>营销管理系统</title><style>#root,body,html{width:100%;height:100%;padding:0;margin:0;font-size:14px;overflow:hidden}</style><link href="/static/css/8.9a9b6f5c.chunk.css" rel="stylesheet"><link href="/static/css/main.b0e33980.chunk.css" rel="stylesheet"></head><body><script type="text/javascript">window.goods=product</script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,o,c=t[0],i=t[1],f=t[2],s=0,d=[];s<c.length;s++)o=c[s],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&d.push(a[o][0]),a[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(l&&l(t);d.length;)d.shift()();return u.push.apply(u,f||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==a[i]&&(n=!1)}n&&(u.splice(t--,1),e=c(c.s=r[0]))}return e}var n={},o={5:0},a={5:0},u=[];function c(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,c),r.l=!0,r.exports}c.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{2:1,3:1,6:1,7:1,9:1,11:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"74e9175c",3:"75be5fa1",6:"5c7ed5c9",7:"21cfdb24",9:"4e156c5f",10:"31d6cfe0",11:"b1da7569",12:"31d6cfe0"}[e]+".chunk.css",a=c.p+n,u=document.getElementsByTagName("link"),i=0;i<u.length;i++){var f=(l=u[i]).getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(f===n||f===a))return t()}var s=document.getElementsByTagName("style");for(i=0;i<s.length;i++){var l;if((f=(l=s[i]).getAttribute("data-href"))===n||f===a)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var n=t&&t.target&&t.target.src||a,u=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=n,delete o[e],d.parentNode.removeChild(d),r(u)},d.href=a,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,c.nc&&i.setAttribute("nonce",c.nc),i.src=function(e){return c.p+"static/js/"+({}[e]||e)+"."+{0:"1d62adab",1:"c838a238",2:"245112ca",3:"60540aad",6:"1e85dda5",7:"976736e1",9:"5da69cf7",10:"f012a795",11:"6dd129c8",12:"5d12f291"}[e]+".chunk.js"}(e);var f=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(s);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}a[e]=void 0}};var s=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},c.m=e,c.c=n,c.d=function(e,t,r){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(c.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)c.d(r,n,function(t){return e[t]}.bind(null,n));return r},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="/",c.oe=function(e){throw e};var i=this.webpackJsonpmarketingsystem=this.webpackJsonpmarketingsystem||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var s=0;s<i.length;s++)t(i[s]);var l=f;r()}([])</script><script src="/static/js/8.751f6ff7.chunk.js"></script><script src="/static/js/main.4bf14af3.chunk.js"></script></body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
!function(e){function t(t){for(var n,o,c=t[0],i=t[1],f=t[2],s=0,d=[];s<c.length;s++)o=c[s],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&d.push(a[o][0]),a[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(l&&l(t);d.length;)d.shift()();return u.push.apply(u,f||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==a[i]&&(n=!1)}n&&(u.splice(t--,1),e=c(c.s=r[0]))}return e}var n={},o={5:0},a={5:0},u=[];function c(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,c),r.l=!0,r.exports}c.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{2:1,3:1,6:1,7:1,9:1,11:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"74e9175c",3:"75be5fa1",6:"be3a93c4",7:"42199da9",9:"4e156c5f",10:"31d6cfe0",11:"b1da7569",12:"31d6cfe0"}[e]+".chunk.css",a=c.p+n,u=document.getElementsByTagName("link"),i=0;i<u.length;i++){var f=(l=u[i]).getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(f===n||f===a))return t()}var s=document.getElementsByTagName("style");for(i=0;i<s.length;i++){var l;if((f=(l=s[i]).getAttribute("data-href"))===n||f===a)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var n=t&&t.target&&t.target.src||a,u=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=n,delete o[e],d.parentNode.removeChild(d),r(u)},d.href=a,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,c.nc&&i.setAttribute("nonce",c.nc),i.src=function(e){return c.p+"static/js/"+({}[e]||e)+"."+{0:"1d62adab",1:"c838a238",2:"245112ca",3:"60540aad",6:"f1e9eb97",7:"4437c98c",9:"5da69cf7",10:"f012a795",11:"6dd129c8",12:"5d12f291"}[e]+".chunk.js"}(e);var f=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(s);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}a[e]=void 0}};var s=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},c.m=e,c.c=n,c.d=function(e,t,r){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(c.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)c.d(r,n,function(t){return e[t]}.bind(null,n));return r},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="/",c.oe=function(e){throw e};var i=this.webpackJsonpmarketingsystem=this.webpackJsonpmarketingsystem||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var s=0;s<i.length;s++)t(i[s]);var l=f;r()}([]);
|
||||
!function(e){function t(t){for(var n,o,c=t[0],i=t[1],f=t[2],s=0,d=[];s<c.length;s++)o=c[s],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&d.push(a[o][0]),a[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(l&&l(t);d.length;)d.shift()();return u.push.apply(u,f||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==a[i]&&(n=!1)}n&&(u.splice(t--,1),e=c(c.s=r[0]))}return e}var n={},o={5:0},a={5:0},u=[];function c(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,c),r.l=!0,r.exports}c.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{2:1,3:1,6:1,7:1,9:1,11:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"74e9175c",3:"75be5fa1",6:"5c7ed5c9",7:"21cfdb24",9:"4e156c5f",10:"31d6cfe0",11:"b1da7569",12:"31d6cfe0"}[e]+".chunk.css",a=c.p+n,u=document.getElementsByTagName("link"),i=0;i<u.length;i++){var f=(l=u[i]).getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(f===n||f===a))return t()}var s=document.getElementsByTagName("style");for(i=0;i<s.length;i++){var l;if((f=(l=s[i]).getAttribute("data-href"))===n||f===a)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var n=t&&t.target&&t.target.src||a,u=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=n,delete o[e],d.parentNode.removeChild(d),r(u)},d.href=a,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,c.nc&&i.setAttribute("nonce",c.nc),i.src=function(e){return c.p+"static/js/"+({}[e]||e)+"."+{0:"1d62adab",1:"c838a238",2:"245112ca",3:"60540aad",6:"1e85dda5",7:"976736e1",9:"5da69cf7",10:"f012a795",11:"6dd129c8",12:"5d12f291"}[e]+".chunk.js"}(e);var f=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(s);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}a[e]=void 0}};var s=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},c.m=e,c.c=n,c.d=function(e,t,r){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(c.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)c.d(r,n,function(t){return e[t]}.bind(null,n));return r},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="/",c.oe=function(e){throw e};var i=this.webpackJsonpmarketingsystem=this.webpackJsonpmarketingsystem||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var s=0;s<i.length;s++)t(i[s]);var l=f;r()}([]);
|
|
@ -5,18 +5,21 @@ import {
|
|||
getCouponList,
|
||||
handelResponse,
|
||||
putCouponStatus,
|
||||
terminateApprovals
|
||||
terminateApprovals,
|
||||
getPlanChoseOption
|
||||
} from "@/assets/api.js"
|
||||
import menu from "@/assets/enum.js"
|
||||
import Grid from "@/components/gird/main.js"
|
||||
import Ipt from "@/components/input/main"
|
||||
import Form from "@/components/form/main"
|
||||
import FormItem from "@/components/form-item/main"
|
||||
import TabPage from "@/components/tabPage/main.js"
|
||||
import { useSetState } from "ahooks"
|
||||
import { isNaN, isNil, omitBy } from "lodash-es"
|
||||
import { cloneDeep, isNaN, isNil, omitBy } from "lodash-es"
|
||||
import moment from "moment"
|
||||
import React, { useEffect, useRef } from "react"
|
||||
import { useHistory } from "react-router-dom"
|
||||
import { Button, CombinedDateRangePicker, Notify, Sweetalert, Switch } from "zent"
|
||||
import { Button, CombinedDateRangePicker, Notify, Sweetalert, Switch, Select } from "zent"
|
||||
import "./style.less"
|
||||
import { commonSearchOrder } from "@/tools/apiTools.js" // 公用接口函数
|
||||
|
||||
|
@ -137,8 +140,9 @@ const UseCouponList = () => {
|
|||
tableData: [],
|
||||
tableHeight: 500,
|
||||
lodgingTable: true,
|
||||
search: initSearch(),
|
||||
planOptions: [],
|
||||
combinedValue: [],
|
||||
key_word: "",
|
||||
begin_time: "",
|
||||
end_time: "",
|
||||
status: "",
|
||||
|
@ -154,8 +158,10 @@ const UseCouponList = () => {
|
|||
* @returns 返回参数
|
||||
*/
|
||||
const getParam = () => {
|
||||
const search = cloneDeep(state.search)
|
||||
search.plan_title = search.plan_title?.text || ""
|
||||
let param = {
|
||||
key_word: state.key_word || null,
|
||||
...search,
|
||||
begin_time: state.begin_time || null,
|
||||
end_time: state.end_time || null,
|
||||
status: state.status !== 999 && state.status !== "" ? state.status : null,
|
||||
|
@ -182,14 +188,45 @@ const UseCouponList = () => {
|
|||
})
|
||||
}
|
||||
|
||||
function initSearch() {
|
||||
return {
|
||||
plan_title: "",
|
||||
key_batch_id: "",
|
||||
code_batch_id: "",
|
||||
code_batch_name: ""
|
||||
}
|
||||
}
|
||||
|
||||
function searchChange(key, va) {
|
||||
const search = state.search
|
||||
search[key] = va
|
||||
setState({ search })
|
||||
}
|
||||
|
||||
/* 获取营销计划 */
|
||||
function getPlan() {
|
||||
getPlanChoseOption().then((res) =>
|
||||
handelResponse(
|
||||
res,
|
||||
(req, msg) => {
|
||||
const planOptions = req.map((item) => ({
|
||||
key: item.id,
|
||||
text: item.title
|
||||
}))
|
||||
setState({ planOptions })
|
||||
},
|
||||
(err) => {}
|
||||
)
|
||||
)
|
||||
}
|
||||
useEffect(() => {
|
||||
getPlan()
|
||||
}, [])
|
||||
|
||||
useEffect(() => {
|
||||
getTable()
|
||||
}, [state.isQuery])
|
||||
|
||||
const searchCallback = () => {
|
||||
setState({ page: 1, limit: 10, isQuery: !state.isQuery })
|
||||
}
|
||||
|
||||
const onPageChange = (data) => {
|
||||
setState({ page: data, isQuery: !state.isQuery })
|
||||
}
|
||||
|
@ -606,18 +643,80 @@ const UseCouponList = () => {
|
|||
<Button type="primary" icon="plus" onClick={() => addCodeFunction()}>
|
||||
新增优惠券
|
||||
</Button>
|
||||
<Ipt
|
||||
onChange={(e) => setState({ key_word: e })}
|
||||
value={state.key_word}
|
||||
wordSearch={() => searchCallback()}
|
||||
icon="search"
|
||||
placeholder={"请输入关键字进行匹配查询"}
|
||||
countShow={false}
|
||||
height={"36px"}
|
||||
width={"260px"}
|
||||
onClearItem={(e) => setState({ key_word: "", isQuery: !state.isQuery })}
|
||||
alignment={"left"}
|
||||
/>
|
||||
<div className="codesFind">
|
||||
<Form>
|
||||
<FormItem labelname="计划名称:" required="" labelwidth="90px">
|
||||
<Select
|
||||
name="state"
|
||||
value={state.search.plan_title}
|
||||
options={state.planOptions}
|
||||
placeholder="请输入"
|
||||
width={204}
|
||||
clearable
|
||||
onChange={(va) => {
|
||||
searchChange("plan_title", va)
|
||||
}}
|
||||
/>
|
||||
</FormItem>
|
||||
<FormItem labelname="key批次ID:" required="" labelwidth="100px">
|
||||
<Ipt
|
||||
value={state.search.key_batch_id}
|
||||
countShow={false}
|
||||
labelWidth="0px"
|
||||
placeholder="请输入"
|
||||
width={204}
|
||||
onChange={(va) => {
|
||||
searchChange("key_batch_id", va)
|
||||
}}
|
||||
onClearItem={(va) => {
|
||||
searchChange("key_batch_id", "")
|
||||
}}
|
||||
/>
|
||||
</FormItem>
|
||||
<FormItem labelname="优惠券批次名称:" required="" labelwidth="155px">
|
||||
<Ipt
|
||||
value={state.search.code_batch_name}
|
||||
countShow={false}
|
||||
labelWidth="0px"
|
||||
placeholder="请输入"
|
||||
width={204}
|
||||
onChange={(va) => {
|
||||
searchChange("code_batch_name", va)
|
||||
}}
|
||||
onClearItem={(va) => {
|
||||
searchChange("code_batch_name", "")
|
||||
}}
|
||||
/>
|
||||
</FormItem>
|
||||
<FormItem labelname="优惠券批次ID:" required="" labelwidth="130px">
|
||||
<Ipt
|
||||
value={state.search.code_batch_id}
|
||||
countShow={false}
|
||||
labelWidth="0px"
|
||||
placeholder="请输入"
|
||||
width={204}
|
||||
onChange={(va) => {
|
||||
searchChange("code_batch_id", va)
|
||||
}}
|
||||
onClearItem={(va) => {
|
||||
searchChange("code_batch_id", "")
|
||||
}}
|
||||
/>
|
||||
</FormItem>
|
||||
<div className="button_box">
|
||||
<Button type="primary" onClick={() => getTable()}>
|
||||
查询
|
||||
</Button>
|
||||
<Button
|
||||
onClick={() => {
|
||||
setState({ search: initSearch(), isQuery: !state.isQuery })
|
||||
}}
|
||||
>
|
||||
重置
|
||||
</Button>
|
||||
</div>
|
||||
</Form>
|
||||
</div>
|
||||
</div>
|
||||
<Grid
|
||||
spliteColor={"#fff"}
|
||||
|
|
|
@ -8,4 +8,57 @@
|
|||
color: #d8dbdd;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.codesFind {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: auto;
|
||||
|
||||
.form-label {
|
||||
height: 80% !important;
|
||||
}
|
||||
|
||||
.form-compontent {
|
||||
padding-top: 0px !important;
|
||||
height: 65% !important;
|
||||
|
||||
|
||||
.iptfillself:not(:last-child) {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.keep-ipt {
|
||||
height: 32px !important;
|
||||
}
|
||||
}
|
||||
|
||||
.form {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.form-Item {
|
||||
width: auto;
|
||||
margin-right: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.button_box {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.zent-input-wrapper {
|
||||
border-top: 0 !important;
|
||||
border-left: 0 !important;
|
||||
border-right: 0 !important;
|
||||
}
|
||||
|
||||
.zent-input-wrapper:hover {
|
||||
border-color: #296BEF !important;
|
||||
|
||||
.zent-input {
|
||||
background-color: #F7F9FC;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue