Commit 2f0c3e44 by 无尘

fix: 修复会员分组编辑问题

parent 3f724211
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.dd22237647e9ac42b0e9ae48f87fe33f.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.c2bfab7606894c96894e.js></script><script type=text/javascript src=./static/js/vendor.fe4f9863882480bf679b.js></script><script type=text/javascript src=./static/js/app.062438838c311a6b1db4.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.1f0db3c2cef3b81b55e87e1d2aab5bd8.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.7a0134704b1f0403ec2a.js></script><script type=text/javascript src=./static/js/vendor.fe4f9863882480bf679b.js></script><script type=text/javascript src=./static/js/app.062438838c311a6b1db4.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.
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(n,o,a){for(var f,d,i,u=0,b=[];u<n.length;u++)d=n[u],r[d]&&b.push(r[d][0]),r[d]=0;for(f in o)Object.prototype.hasOwnProperty.call(o,f)&&(e[f]=o[f]);for(c&&c(n,o,a);b.length;)b.shift()();if(a)for(u=0;u<a.length;u++)i=t(t.s=a[u]);return i};var n={},r={26:0};function t(c){if(n[c])return n[c].exports;var r=n[c]={i:c,l:!1,exports:{}};return e[c].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.e=function(e){var c=r[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var n=new Promise(function(n,t){c=r[e]=[n,t]});c[2]=n;var o=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,t.nc&&a.setAttribute("nonce",t.nc),a.src=t.p+"static/js/"+e+"."+{0:"614be5bb3c6547f794fb",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"135a90a5ad22491cb78e",6:"ed82e4b142c33f0fd90c",7:"1399fe85b7c2d9bfe292",8:"14eb237ce844ba68b7cf",9:"be9610a42eda7bb18bc4",10:"c71c26ffe9e929740644",11:"e85b90356083e5b3e250",12:"fe84366a46765f7cea52",13:"e29aa5893a93a16c34bc",14:"9e2a6743137628654ca9",15:"9f61f06d1572f1265cc0",16:"2f5942e91ee9b162d882",17:"1995a96876cc6fe1f34f",18:"6ed416399616407ccde9",19:"5f2c77406fa38ece8f12",20:"747937511d9761d173a2",21:"22b0c21d9e5185c3c7a3",22:"e91d8f3111c8c501ab9d",25:"9ceafa4ee79176c87d81"}[e]+".js";var f=setTimeout(d,12e4);function d(){a.onerror=a.onload=null,clearTimeout(f);var c=r[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),r[e]=void 0)}return a.onerror=a.onload=d,o.appendChild(a),n},t.m=e,t.c=n,t.d=function(e,c,n){t.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(c,"a",c),c},t.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},t.p="./",t.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.7a0134704b1f0403ec2a.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],c[d]&&b.push(c[d][0]),c[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=t(t.s=o[u]);return i};var r={},c={26:0};function t(n){if(r[n])return r[n].exports;var c=r[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,t),c.l=!0,c.exports}t.e=function(e){var n=c[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,t){n=c[e]=[r,t]});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,t.nc&&o.setAttribute("nonce",t.nc),o.src=t.p+"static/js/"+e+"."+{0:"614be5bb3c6547f794fb",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"135a90a5ad22491cb78e",6:"5a53f19aa962e5a9ba7a",7:"1399fe85b7c2d9bfe292",8:"14eb237ce844ba68b7cf",9:"be9610a42eda7bb18bc4",10:"c71c26ffe9e929740644",11:"e85b90356083e5b3e250",12:"fe84366a46765f7cea52",13:"e29aa5893a93a16c34bc",14:"9e2a6743137628654ca9",15:"9f61f06d1572f1265cc0",16:"2f5942e91ee9b162d882",17:"1995a96876cc6fe1f34f",18:"6ed416399616407ccde9",19:"5f2c77406fa38ece8f12",20:"747937511d9761d173a2",21:"22b0c21d9e5185c3c7a3",22:"e91d8f3111c8c501ab9d",25:"9ceafa4ee79176c87d81"}[e]+".js";var f=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(f);var n=c[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return o.onerror=o.onload=d,a.appendChild(o),r},t.m=e,t.c=r,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="./",t.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.c2bfab7606894c96894e.js.map
\ No newline at end of file
......@@ -29,7 +29,7 @@
<div class="memberGroupEdit-wrap__item__title">分组有效期</div>
<el-date-picker
v-model="ruleForm.effectiveDateTmp"
type="datetime"
type="date"
:editable="false"
format="yyyyMMdd"
value-format="yyyy-MM-dd HH:mm:ss"
......@@ -193,14 +193,14 @@
// 频率
rateOptions:[
{
value: '0',
label: '周一'
},
{
value: '1',
label: '周二'
},
// {
// value: '0',
// label: '周一'
// },
// {
// value: '1',
// label: '周二'
// },
],
showTagFlag: false, //是否显示需要添加的标签层
......@@ -273,17 +273,17 @@
/**
* 更新频率
*/
changeRate(rate) {
changeRate(rate,day) {
const that = this
console.log(rate)
that.ruleForm.updateDay = '';
console.log(rate,day)
that.ruleForm.updateDay = !!day? String(day): '';
if (rate == 1) {
that.rateOptions = [];
let week = ['一','二','三','四','五','六','日'];
for (var i = 0; i <7; i++) {
that.rateOptions.push(
{
value: i,
value: String(i+1),
label: `周${week[i]}`
}
)
......@@ -296,7 +296,7 @@
for (var i = 1; i <29; i++) {
that.rateOptions.push(
{
value: i,
value: ''+i,
label: `${i} 号`
}
)
......@@ -630,14 +630,19 @@
if (resData.errorCode == 1) {
let tagGroupDto = resData.result.tagGroupDto;
if (!!tagGroupDto && !!tagGroupDto.length) {
if (!!tagGroupDto) {
that.ruleForm.groupName = tagGroupDto.groupName;
that.ruleForm.isRealTime = tagGroupDto.isRealTime;
that.ruleForm.isActive = tagGroupDto.isRealTime;
that.ruleForm.effectiveStatus = tagGroupDto.effectiveStatus;
that.ruleForm.describle = tagGroupDto.describle;
that.ruleForm.effectiveDateTmp = tagGroupDto.effectiveDate;
that.ruleForm.updateType = tagGroupDto.updateType;
that.ruleForm.updateDay = tagGroupDto.updateDay;
that.ruleForm.updateType = String(tagGroupDto.updateType);
that.ruleForm.updateDay = String(tagGroupDto.updateDay);
that.inputNumObj['groupName'] = strLength.getZhLen(that.ruleForm['groupName']);
if (that.ruleForm.updateType != 0) {
that.changeRate(that.ruleForm.updateType,that.ruleForm.updateDay)
}
}
let tagValueDtoList = resData.result.tagValueDtoList;
......
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