Commit e7c8ce24 by 无尘

add: 增加手工标签描述字符判断

parent 4bf75097
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.18501f753098c6d2606f166841f13e4f.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.94486bb6656b6b4c4579.js></script><script type=text/javascript src=./static/js/vendor.4ac54fd03099c45beefc.js></script><script type=text/javascript src=./static/js/app.13188b5eb28255af8cd5.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.875a8e273d557818ef92802e165ee46c.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.45e4aa858af481911340.js></script><script type=text/javascript src=./static/js/vendor.4ac54fd03099c45beefc.js></script><script type=text/javascript src=./static/js/app.14fef913b281f0291303.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.
webpackJsonp([16],{"6Qob":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i("mvHQ"),n=i.n(s),o=i("5reh"),a=i("zL8q");function r(t){return t?(a.Message.warning(t),!1):(a.Message.warning("操作失败"),!1)}function l(t){return"cancel"==t?(a.Message.info(t||"cancel"),!1):t.hasOwnProperty("response")?401==t.response.status?(a.Message.error("登录过期"),!1):500==t.response.status?(a.Message.error("服务器错误500"),!1):void 0:(a.Message.error(t),!1)}var c=i("mw3O"),u={name:"login",data:function(){return{redirect:this.$route.query.redirect,token:"",form:{loginName:"damogic",password:"1",eid:"ff808081593917d90159398ec6340012"}}},computed:{imgHeight:function(){return document.body.clientHeight},imgWidth:function(){return document.body.clientWidth}},methods:{loginAnimate:function(){new LoginAnimate(loginwrap,{length:90,LineWeight:.1,clicked:!0,moveon:!0}).Run()},submitLogin:function(){var t=this;this.axios.post("/api-auth/do-login",c.stringify({loginName:this.form.loginName,password:this.form.password,eid:"ff808081593917d90159398ec6340012"})).then(function(e){if(e.data.success){(s=e.data.message)?a.Message.success(s):a.Message.success("操作成功");var i=decodeURIComponent(t.$route.query.redirect||"/index");t.$router.push({path:i})}else r(e.data.message);var s}).catch(function(t){l(t)})},getMenu:function(){var t=this;this.axios.get("/gic/get-menu").then(function(e){if(e.data.success){t.menuList=e.data.list,sessionStorage.setItem("menuList",n()(t.menuList));var i=t.$route.query.redirect||"/index";t.$router.push({path:i})}else r(e.data.errorMessage)}).catch(function(t){l(t)})}},mounted:function(){this.$store.commit(o.d,"login"),document.title=this.$store.state.title,this.loginAnimate()}},m={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"loginwrap",style:{height:t.imgHeight+"px"}},[i("div",{staticStyle:{position:"absolute",left:"0",height:"0",width:"100%"}},[i("canvas",{attrs:{id:"loginwrap",width:t.imgWidth,height:t.imgHeight}})]),t._v(" "),t._m(0),t._v(" "),i("div",{staticClass:"login_contetnt"},[i("h3",{staticClass:"login-top"},[t._v("让信息连接一切")]),t._v(" "),i("h4",{staticClass:"login-bottom"},[t._v("GIC商户后台")]),t._v(" "),i("div",{staticClass:"formlogin"},[i("el-form",{ref:"form",attrs:{model:t.form,"label-width":""}},[i("el-form-item",{attrs:{label:""}},[i("el-input",{staticClass:"forminput",attrs:{placeholder:"账号"},model:{value:t.form.loginName,callback:function(e){t.$set(t.form,"loginName",e)},expression:"form.loginName"}})],1),t._v(" "),i("el-form-item",{attrs:{label:""}},[i("el-input",{attrs:{type:"password",placeholder:"密码"},nativeOn:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.submitLogin("form")}},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),t._v(" "),i("el-form-item",[i("button",{staticClass:"submit",on:{click:function(e){e.preventDefault(),t.submitLogin("form")}}},[t._v("立即登录")])])],1)],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"logintop"},[e("div",{staticClass:"fl loginlogo"},[e("a",{staticClass:"fr logo",attrs:{href:"#"}},[this._v("login_logo.png")])]),this._v(" "),e("a",{staticClass:"home-link fr",attrs:{href:"http://www.demogic.com/"}},[this._v("返回首页")])])}]};var d=i("VU/8")(u,m,!1,function(t){i("OWNH")},null,null);e.default=d.exports},OWNH:function(t,e){}});
//# sourceMappingURL=16.f4036a24000959bd38c8.js.map
\ No newline at end of file
webpackJsonp([15],{"6Qob":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i("mvHQ"),n=i.n(s),o=i("5reh"),a=i("zL8q");function r(t){return t?(a.Message.warning(t),!1):(a.Message.warning("操作失败"),!1)}function l(t){return"cancel"==t?(a.Message.info(t||"cancel"),!1):t.hasOwnProperty("response")?401==t.response.status?(a.Message.error("登录过期"),!1):500==t.response.status?(a.Message.error("服务器错误500"),!1):void 0:(a.Message.error(t),!1)}var c=i("mw3O"),u={name:"login",data:function(){return{redirect:this.$route.query.redirect,token:"",form:{loginName:"damogic",password:"1",eid:"ff808081593917d90159398ec6340012"}}},computed:{imgHeight:function(){return document.body.clientHeight},imgWidth:function(){return document.body.clientWidth}},methods:{loginAnimate:function(){new LoginAnimate(loginwrap,{length:90,LineWeight:.1,clicked:!0,moveon:!0}).Run()},submitLogin:function(){var t=this;this.axios.post("/api-auth/do-login",c.stringify({loginName:this.form.loginName,password:this.form.password,eid:"ff808081593917d90159398ec6340012"})).then(function(e){if(e.data.success){(s=e.data.message)?a.Message.success(s):a.Message.success("操作成功");var i=decodeURIComponent(t.$route.query.redirect||"/index");t.$router.push({path:i})}else r(e.data.message);var s}).catch(function(t){l(t)})},getMenu:function(){var t=this;this.axios.get("/gic/get-menu").then(function(e){if(e.data.success){t.menuList=e.data.list,sessionStorage.setItem("menuList",n()(t.menuList));var i=t.$route.query.redirect||"/index";t.$router.push({path:i})}else r(e.data.errorMessage)}).catch(function(t){l(t)})}},mounted:function(){this.$store.commit(o.d,"login"),document.title=this.$store.state.title,this.loginAnimate()}},m={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"loginwrap",style:{height:t.imgHeight+"px"}},[i("div",{staticStyle:{position:"absolute",left:"0",height:"0",width:"100%"}},[i("canvas",{attrs:{id:"loginwrap",width:t.imgWidth,height:t.imgHeight}})]),t._v(" "),t._m(0),t._v(" "),i("div",{staticClass:"login_contetnt"},[i("h3",{staticClass:"login-top"},[t._v("让信息连接一切")]),t._v(" "),i("h4",{staticClass:"login-bottom"},[t._v("GIC商户后台")]),t._v(" "),i("div",{staticClass:"formlogin"},[i("el-form",{ref:"form",attrs:{model:t.form,"label-width":""}},[i("el-form-item",{attrs:{label:""}},[i("el-input",{staticClass:"forminput",attrs:{placeholder:"账号"},model:{value:t.form.loginName,callback:function(e){t.$set(t.form,"loginName",e)},expression:"form.loginName"}})],1),t._v(" "),i("el-form-item",{attrs:{label:""}},[i("el-input",{attrs:{type:"password",placeholder:"密码"},nativeOn:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.submitLogin("form")}},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),t._v(" "),i("el-form-item",[i("button",{staticClass:"submit",on:{click:function(e){e.preventDefault(),t.submitLogin("form")}}},[t._v("立即登录")])])],1)],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"logintop"},[e("div",{staticClass:"fl loginlogo"},[e("a",{staticClass:"fr logo",attrs:{href:"#"}},[this._v("login_logo.png")])]),this._v(" "),e("a",{staticClass:"home-link fr",attrs:{href:"http://www.demogic.com/"}},[this._v("返回首页")])])}]};var d=i("VU/8")(u,m,!1,function(t){i("OWNH")},null,null);e.default=d.exports},OWNH:function(t,e){}});
//# sourceMappingURL=15.9f61f06d1572f1265cc0.js.map
\ No newline at end of file
webpackJsonp([15],{ggAW:function(e,t){},oVck:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("3Xzz"),o=(r("Mk6G"),r("3E4D"),r("Ch4/")),n=function(e,t){function r(e){return(e=e.toString())[1]?e:"0"+e}if(null!=e){var a=new Date(e),o=a.getFullYear(),n=a.getMonth()+1,i=a.getDate(),u=a.getHours(),s=a.getMinutes(),l=a.getSeconds();return[o,n,i].map(r).join(t||"-")+" "+[u,s,l].map(r).join(":")}return"--"},i=(r("PI0u"),r("P9l9")),u={name:"memberGroupList",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""},{name:"会员分组列表",path:""}],tagSearch:"",groupTableData:[],currentPage:1,pageSize:20,total:0,groupSetShow:!1,loading:!1}},created:function(){this.loading=!0},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"},formatNum:function(e){return(e+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")},formatUpdateFrequency:function(e,t){switch(e){case 1:return"每天一次";case 2:return t?"每周"+["一","二","三","四","五","六","日"][t-1]:"每周一次";case 3:return t?"每月"+t+"号":"每月一次";default:return"--"}}},methods:{setRowClassName:function(e){var t=e.row,r=e.rowIndex;console.log(t,r)},showGroupSet:function(){this.groupSetShow=!0},changeRoute:function(e){this.$router.push(e)},toAddGroup:function(){this.changeRoute("/memberGroupEdit")},clearSearch:function(){this.currentPage=1,this.getGroupList()},searchEnterFun:function(e){this.currentPage=1,this.getGroupList()},handleSizeChange:function(e){this.getGroupList()},handleCurrentChange:function(e){this.getGroupList()},toInvalid:function(e){var t=this;t.$confirm("该分组失效后,不再更新数据,确认要失效吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.loading=!0;var r={effectiveStatus:"0",memberTagGroupId:e.memberTagGroupId};t.updateGroup(r,e)}).catch(function(){})},refreshGroup:function(e){var t=this;t.loading=!0;var r=e.memberTagGroupId,a={memberTagGroupId:r};Object(i.a)("/member-tag-member/findMemberList.json",a).then(function(a){var o={memberTagGroupId:r,memberCount:a.data.result.page.totalCount};t.updateGroup(o,e)}).catch(function(e){t.loading=!1})},updateGroup:function(e,t){var r=this;Object(i.a)("/member-tag-group/simpleUpdate.json",e).then(function(a){t.effectiveStatus=e.effectiveStatus||t.effectiveStatus,t.memberCount=e.memberCount||0==e.memberCount?e.memberCount:t.memberCount,r.loading=!1,r.$message.success({duration:1e3,message:"操作成功!"}),r.loading=!1}).catch(function(e){r.loading=!1})},cancelDelTag:function(e,t){t.popVisible=!1},toDelTag:function(e,t){var r=this;r.$confirm("该分组覆盖"+r.$options.filters.formatNum(e.memberCount)+"人,一旦删除无法恢复,确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){r.loading=!0,r.delGroup(e.memberTagGroupId,t)}).catch(function(){})},delGroup:function(e,t){var r=this,a={memberTagGroupId:e};Object(i.a)("/member-tag-group/delete.json",a).then(function(e){var a=e.data;if(r.loading=!1,1==a.errorCode)return r.groupTableData.splice(t,1),void r.$message.success({duration:1e3,message:"删除成功!"});200003!=a.errorCode?o.a.errorMsg(a):r.$confirm("该分组正在被活动使用,无法删除!","提示",{confirmButtonText:"确定",type:"warning"})}).catch(function(e){r.loading=!1,r.$message.error({duration:1e3,message:e.message})})},getGroupList:function(){var e=this,t={groupName:e.tagSearch,pageSize:e.pageSize,pageNum:e.currentPage};Object(i.a)("/member-tag-group/findList.json",t).then(function(t){var r=t.data;if(1==r.errorCode)return e.total=r.result.totalCount,r.result.result.forEach(function(e,t){e.latestUpdateTime||(e.latestUpdateTime="- -"),e.createTime&&(e.createTime=n(e.createTime))}),e.groupTableData=r.result.result,void(e.loading=!1);e.loading=!1,o.a.errorMsg(r)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getGroupList()},components:{navCrumb:a.a}},s={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"memberGroupList-wrap common-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box"},[r("div",{staticClass:"common-wrap__opt"},[r("el-input",{staticClass:"w-220",attrs:{placeholder:"请输入关键字搜索人群","prefix-icon":"el-icon-search",clearable:""},on:{clear:e.clearSearch},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.searchEnterFun(t):null}},model:{value:e.tagSearch,callback:function(t){e.tagSearch=t},expression:"tagSearch"}}),e._v(" "),r("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:e.toAddGroup}},[e._v("新增分组")])],1),e._v(" "),r("div",{staticClass:"common-wrap__table m-t-20"},[r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{"row-class-name":e.setRowClassName,data:e.groupTableData,"tooltip-effect":"dark"}},[r("el-table-column",{attrs:{label:"分组名称",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-popover",{attrs:{placement:"top-start",width:"200",trigger:"hover"}},[r("span",[e._v(e._s(t.row.describle))]),e._v(" "),r("a",{staticClass:"pointer",attrs:{slot:"reference",href:"#/memberGroupDetail?memberTagGroupId="+t.row.memberTagGroupId},slot:"reference"},[e._v(e._s(t.row.groupName))])])]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"是否实时",width:"100px"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.isRealTime?"实时":"非实时")+"\n ")]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"最近更新时间",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatTimeYMD")(t.row.latestUpdateTime))+"\n "),r("p",[e._v(e._s(e._f("formatTimeHMS")(t.row.latestUpdateTime)))])]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"更新频率",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.isRealTime?[e._v("\n "+e._s(e._f("formatUpdateFrequency")(t.row.updateType,t.row.updateDay))+"\n ")]:[e._v("\n --\n ")]]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"state",label:"状态",width:"50px"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.effectiveStatus?"有效":"失效")+"\n ")]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"peopleCover",label:"覆盖人数",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatNum")(t.row.memberCount||0))+" 人\n ")]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"createTime",label:"创建时间",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatTimeYMD")(t.row.createTime))+"\n "),r("p",[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"recentUpdateDate",label:"到期时间",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatTimeYMD")(t.row.effectiveDate))+"\n "),r("p",[e._v(e._s(e._f("formatTimeHMS")(t.row.effectiveDate)))])]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.effectiveStatus?r("el-button",{staticClass:"p-r-20",attrs:{type:"text",size:"small"},on:{click:function(r){e.toInvalid(t.row)}}},[e._v("失效")]):e._e(),e._v(" "),r("router-link",{staticClass:"edit-btn el-button--text p-r-20",attrs:{to:{path:"/memberGroupDetail",query:{memberTagGroupId:t.row.memberTagGroupId}}}},[e._v("详情")]),e._v(" "),r("router-link",{staticClass:"edit-btn el-button--text p-r-20",attrs:{to:{path:"/memberGroupEdit",query:{memberTagGroupId:t.row.memberTagGroupId}}}},[e._v("编辑")]),e._v(" "),r("el-button",{staticClass:"p-r-12",attrs:{type:"text",size:"small"},on:{click:function(r){e.toDelTag(t.row,t.$index)}}},[e._v("删除")]),e._v(" "),r("el-popover",{attrs:{placement:"top-start",trigger:"hover"}},[r("span",[e._v("刷新覆盖人数")]),e._v(" "),r("el-button",{attrs:{slot:"reference",type:"text",size:"small"},on:{click:function(r){e.refreshGroup(t.row)}},slot:"reference"},[e._v("刷新")])],1)]}}])})],1)],1),e._v(" "),0!=e.groupTableData.length?r("div",{staticClass:"block common-wrap__page text-right"},[r("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()])]),e._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[]};var l=r("VU/8")(u,s,!1,function(e){r("ggAW")},null,null);t.default=l.exports}});
//# sourceMappingURL=15.a5f8fe67451ebd4858dc.js.map
\ No newline at end of file
webpackJsonp([18],{gq45:function(t,a){},q490:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),s=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"manualTagLib",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""},{name:"手工标签库",path:""}],tagCategory:"manualTagList"}},methods:{},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),r={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var o=n("VU/8")(s,r,!1,function(t){n("gq45")},"data-v-5728d0a7",null);a.default=o.exports}});
//# sourceMappingURL=18.129d150ebd1fce6ee6e0.js.map
\ No newline at end of file
webpackJsonp([17],{gq45:function(t,a){},q490:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),s=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"manualTagLib",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""},{name:"手工标签库",path:""}],tagCategory:"manualTagList"}},methods:{},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),r={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagLib-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("tag-lib",{attrs:{tagCategory:this.tagCategory}})],1)]),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var o=n("VU/8")(s,r,!1,function(t){n("gq45")},"data-v-5728d0a7",null);a.default=o.exports}});
//# sourceMappingURL=17.1995a96876cc6fe1f34f.js.map
\ No newline at end of file
webpackJsonp([19],{"8fha":function(t,a){},KN59:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"manualTagEdit",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}]}},methods:{},mounted:function(){},components:{navCrumb:e.a}}),s={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagEdit-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),this._m(0),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"})])}]};var r=n("VU/8")(i,s,!1,function(t){n("8fha")},"data-v-564f4d34",null);a.default=r.exports}});
//# sourceMappingURL=19.4f681127cc3b6c7e3765.js.map
\ No newline at end of file
webpackJsonp([18],{"8fha":function(t,a){},KN59:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"manualTagEdit",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""}]}},methods:{},mounted:function(){},components:{navCrumb:e.a}}),s={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"manualTagEdit-wrap common-wrap"},[a("nav-crumb",{attrs:{navpath:this.navpath}}),this._v(" "),this._m(0),this._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"})])}]};var r=n("VU/8")(i,s,!1,function(t){n("8fha")},"data-v-564f4d34",null);a.default=r.exports}});
//# sourceMappingURL=18.6ed416399616407ccde9.js.map
\ No newline at end of file
webpackJsonp([21],{"P+hO":function(t,e){},YPWR:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=o("bOdI"),n=o.n(a),l=o("5reh"),s={name:"App",data:function(){var t;return t={projectName:"member-tag",contentHeight:"0px",collapseFlag:!1},n()(t,"collapseFlag",!1),n()(t,"leftModulesName","会员标签"),t},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},mounted:function(){this.$store.commit(l.d,"达摩GIC"),document.title=this.$store.state.title,this.pathName=window.location.hash.split("/")[1],console.log("pathname:",this.pathName,this.$route.path),this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"},components:{}},i={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{attrs:{id:"index"}},[o("vue-gic-header",{attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),o("div",{staticClass:"content",attrs:{id:"content"}},[o("div",{staticClass:"content-body",style:{height:t.contentHeight}},[o("div",{staticClass:"left-menu",style:{height:t.contentHeight}},[o("vue-gic-aside-menu",{attrs:{projectName:t.projectName,leftModulesName:t.leftModulesName,collapseFlag:t.collapseFlag}})],1),t._v(" "),o("transition",{attrs:{name:"fade",mode:"out-in"}},[o("router-view")],1)],1)])],1)},staticRenderFns:[]};var c=o("VU/8")(s,i,!1,function(t){o("P+hO")},null,null);e.default=c.exports}});
//# sourceMappingURL=21.6c5db9df3cbb982e0364.js.map
\ No newline at end of file
webpackJsonp([20],{"P+hO":function(t,e){},YPWR:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=o("bOdI"),n=o.n(a),l=o("5reh"),s={name:"App",data:function(){var t;return t={projectName:"member-tag",contentHeight:"0px",collapseFlag:!1},n()(t,"collapseFlag",!1),n()(t,"leftModulesName","会员标签"),t},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},mounted:function(){this.$store.commit(l.d,"达摩GIC"),document.title=this.$store.state.title,this.pathName=window.location.hash.split("/")[1],console.log("pathname:",this.pathName,this.$route.path),this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"},components:{}},i={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{attrs:{id:"index"}},[o("vue-gic-header",{attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),o("div",{staticClass:"content",attrs:{id:"content"}},[o("div",{staticClass:"content-body",style:{height:t.contentHeight}},[o("div",{staticClass:"left-menu",style:{height:t.contentHeight}},[o("vue-gic-aside-menu",{attrs:{projectName:t.projectName,leftModulesName:t.leftModulesName,collapseFlag:t.collapseFlag}})],1),t._v(" "),o("transition",{attrs:{name:"fade",mode:"out-in"}},[o("router-view")],1)],1)])],1)},staticRenderFns:[]};var c=o("VU/8")(s,i,!1,function(t){o("P+hO")},null,null);e.default=c.exports}});
//# sourceMappingURL=20.37b3cf0d9a6daea9fe30.js.map
\ No newline at end of file
webpackJsonp([21],{"OZr/":function(e,t){},oVck:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("3Xzz"),o=(r("Mk6G"),r("3E4D"),r("Ch4/")),n=function(e,t){function r(e){return(e=e.toString())[1]?e:"0"+e}if(null!=e){var a=new Date(e),o=a.getFullYear(),n=a.getMonth()+1,i=a.getDate(),u=a.getHours(),s=a.getMinutes(),l=a.getSeconds();return[o,n,i].map(r).join(t||"-")+" "+[u,s,l].map(r).join(":")}return"--"},i=(r("PI0u"),r("P9l9")),u={name:"memberGroupList",data:function(){return{navpath:[{name:"首页",path:""},{name:"会员标签",path:""},{name:"会员分组列表",path:""}],tagSearch:"",groupTableData:[],currentPage:1,pageSize:20,total:0,groupSetShow:!1,loading:!1}},created:function(){this.loading=!0},filters:{formatTimeYMD:function(e){return e&&"- -"!=e?e.split(" ")[0]:"--"},formatTimeHMS:function(e){return e&&"- -"!=e?e.split(" ")[1]:"--"},formatNum:function(e){return(e+"").replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")},formatUpdateFrequency:function(e,t){switch(e){case 1:return"每天一次";case 2:return t?"每周"+["一","二","三","四","五","六","日"][t-1]:"每周一次";case 3:return t?"每月"+t+"号":"每月一次";default:return"--"}}},methods:{setRowClassName:function(e){var t=e.row,r=e.rowIndex;console.log(t,r)},showGroupSet:function(){this.groupSetShow=!0},changeRoute:function(e){this.$router.push(e)},toAddGroup:function(){this.changeRoute("/memberGroupEdit")},clearSearch:function(){this.currentPage=1,this.getGroupList()},searchEnterFun:function(e){this.currentPage=1,this.getGroupList()},handleSizeChange:function(e){this.getGroupList()},handleCurrentChange:function(e){this.getGroupList()},toInvalid:function(e){var t=this;t.$confirm("该分组失效后,不再更新数据,确认要失效吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.loading=!0;var r={effectiveStatus:"0",memberTagGroupId:e.memberTagGroupId};t.updateGroup(r,e)}).catch(function(){})},refreshGroup:function(e){var t=this;t.loading=!0;var r=e.memberTagGroupId,a={memberTagGroupId:r};Object(i.a)("/member-tag-member/findMemberList.json",a).then(function(a){var o={memberTagGroupId:r,memberCount:a.data.result.page.totalCount};t.updateGroup(o,e)}).catch(function(e){t.loading=!1})},updateGroup:function(e,t){var r=this;Object(i.a)("/member-tag-group/simpleUpdate.json",e).then(function(a){t.effectiveStatus=e.effectiveStatus||t.effectiveStatus,t.memberCount=e.memberCount||0==e.memberCount?e.memberCount:t.memberCount,r.loading=!1,r.$message.success({duration:1e3,message:"操作成功!"}),r.loading=!1}).catch(function(e){r.loading=!1})},cancelDelTag:function(e,t){t.popVisible=!1},toDelTag:function(e,t){var r=this;r.$confirm("该分组覆盖"+r.$options.filters.formatNum(e.memberCount)+"人,一旦删除无法恢复,确认要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){r.loading=!0,r.delGroup(e.memberTagGroupId,t)}).catch(function(){})},delGroup:function(e,t){var r=this,a={memberTagGroupId:e};Object(i.a)("/member-tag-group/delete.json",a).then(function(e){var a=e.data;if(r.loading=!1,1==a.errorCode)return r.groupTableData.splice(t,1),void r.$message.success({duration:1e3,message:"删除成功!"});200003!=a.errorCode?o.a.errorMsg(a):r.$confirm("该分组正在被活动使用,无法删除!","提示",{confirmButtonText:"确定",type:"warning"})}).catch(function(e){r.loading=!1,r.$message.error({duration:1e3,message:e.message})})},getGroupList:function(){var e=this,t={groupName:e.tagSearch,pageSize:e.pageSize,pageNum:e.currentPage};Object(i.a)("/member-tag-group/findList.json",t).then(function(t){var r=t.data;if(1==r.errorCode)return e.total=r.result.totalCount,r.result.result.forEach(function(e,t){e.latestUpdateTime||(e.latestUpdateTime="- -"),e.createTime&&(e.createTime=n(e.createTime))}),e.groupTableData=r.result.result,void(e.loading=!1);e.loading=!1,o.a.errorMsg(r)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getGroupList()},components:{navCrumb:a.a}},s={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"memberGroupList-wrap common-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box"},[r("div",{staticClass:"common-wrap__opt"},[r("el-input",{staticClass:"w-220",attrs:{placeholder:"请输入关键字搜索人群","prefix-icon":"el-icon-search",clearable:""},on:{clear:e.clearSearch},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.searchEnterFun(t):null}},model:{value:e.tagSearch,callback:function(t){e.tagSearch=t},expression:"tagSearch"}}),e._v(" "),r("el-button",{staticClass:"fr",attrs:{type:"primary"},on:{click:e.toAddGroup}},[e._v("新增分组")])],1),e._v(" "),r("div",{staticClass:"common-wrap__table m-t-20"},[r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{"row-class-name":e.setRowClassName,data:e.groupTableData,"tooltip-effect":"dark"}},[r("el-table-column",{attrs:{label:"分组名称",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-popover",{attrs:{placement:"top-start",width:"200",trigger:"hover"}},[r("span",[e._v(e._s(t.row.describle))]),e._v(" "),r("a",{staticClass:"pointer",attrs:{slot:"reference",href:"#/memberGroupDetail?memberTagGroupId="+t.row.memberTagGroupId},slot:"reference"},[e._v(e._s(t.row.groupName))])])]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"是否实时",width:"100px"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.isRealTime?"实时":"非实时")+"\n ")]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"最近更新时间",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatTimeYMD")(t.row.latestUpdateTime))+"\n "),r("p",[e._v(e._s(e._f("formatTimeHMS")(t.row.latestUpdateTime)))])]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"更新频率",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.isRealTime?[e._v("\n "+e._s(e._f("formatUpdateFrequency")(t.row.updateType,t.row.updateDay))+"\n ")]:[e._v("\n --\n ")]]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"state",label:"状态",width:"50px"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.effectiveStatus?"有效":"失效")+"\n ")]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"peopleCover",label:"覆盖人数",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatNum")(t.row.memberCount||0))+" 人\n ")]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"createTime",label:"创建时间",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatTimeYMD")(t.row.createTime))+"\n "),r("p",[e._v(e._s(e._f("formatTimeHMS")(t.row.createTime)))])]}}])}),e._v(" "),r("el-table-column",{attrs:{prop:"recentUpdateDate",label:"到期时间",width:"150px","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatTimeYMD")(t.row.effectiveDate))+"\n "),r("p",[e._v(e._s(e._f("formatTimeHMS")(t.row.effectiveDate)))])]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.effectiveStatus?r("el-button",{staticClass:"p-r-20",attrs:{type:"text",size:"small"},on:{click:function(r){e.toInvalid(t.row)}}},[e._v("失效")]):e._e(),e._v(" "),r("router-link",{staticClass:"edit-btn el-button--text p-r-20",attrs:{to:{path:"/memberGroupDetail",query:{memberTagGroupId:t.row.memberTagGroupId}}}},[e._v("详情")]),e._v(" "),r("router-link",{staticClass:"edit-btn el-button--text p-r-20",attrs:{to:{path:"/memberGroupEdit",query:{memberTagGroupId:t.row.memberTagGroupId}}}},[e._v("编辑")]),e._v(" "),r("el-button",{staticClass:"p-r-12",attrs:{type:"text",size:"small"},on:{click:function(r){e.toDelTag(t.row,t.$index)}}},[e._v("删除")]),e._v(" "),r("el-popover",{attrs:{placement:"top-start",trigger:"hover"}},[r("span",[e._v("刷新覆盖人数")]),e._v(" "),r("el-button",{attrs:{slot:"reference",type:"text",size:"small"},on:{click:function(r){e.refreshGroup(t.row)}},slot:"reference"},[e._v("刷新")])],1)]}}])})],1)],1),e._v(" "),0!=e.groupTableData.length?r("div",{staticClass:"block common-wrap__page text-right"},[r("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[10,20,30,40],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()])]),e._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[]};var l=r("VU/8")(u,s,!1,function(e){r("OZr/")},null,null);t.default=l.exports}});
//# sourceMappingURL=21.3176d131bd779122af0b.js.map
\ 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.
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,f,o){for(var a,d,i,u=0,b=[];u<r.length;u++)d=r[u],t[d]&&b.push(t[d][0]),t[d]=0;for(a in f)Object.prototype.hasOwnProperty.call(f,a)&&(e[a]=f[a]);for(n&&n(r,f,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 f=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:"54e2fcd34d9735921821",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"f9ba00b62234e5507544",6:"0e39cb4d1c98468ff156",7:"6df68771b9da55fafefe",8:"e19b3ce2ffcde52958e6",9:"2779fa348bf9cd5ae6e1",10:"c71c26ffe9e929740644",11:"e85b90356083e5b3e250",12:"cd5795695183c2acddb4",13:"e29aa5893a93a16c34bc",14:"9e2a6743137628654ca9",15:"9f61f06d1572f1265cc0",16:"2f5942e91ee9b162d882",17:"1995a96876cc6fe1f34f",18:"6ed416399616407ccde9",19:"d3796f1f0fe89f2d7bfa",20:"37b3cf0d9a6daea9fe30",21:"3176d131bd779122af0b",22:"e91d8f3111c8c501ab9d",25:"9ceafa4ee79176c87d81"}[e]+".js";var a=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(a);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,f.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.45e4aa858af481911340.js.map
\ No newline at end of file
!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:"54e2fcd34d9735921821",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"1a256372cf611e55ba61",6:"0e39cb4d1c98468ff156",7:"6df68771b9da55fafefe",8:"745680b2aeb6a7fd61ad",9:"13bfcb94c19bc4aad614",10:"c71c26ffe9e929740644",11:"e85b90356083e5b3e250",12:"cd5795695183c2acddb4",13:"e29aa5893a93a16c34bc",14:"9e2a6743137628654ca9",15:"a5f8fe67451ebd4858dc",16:"f4036a24000959bd38c8",17:"83e469d672229c638715",18:"129d150ebd1fce6ee6e0",19:"4f681127cc3b6c7e3765",20:"7276b34cf6271ef66d17",21:"6c5db9df3cbb982e0364",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.94486bb6656b6b4c4579.js.map
\ No newline at end of file
......@@ -358,6 +358,15 @@
console.log(value);
let temp = '';
if (that.inputFlag == 'tagDescribe') {
temp = strLength.getCharVal(value.target.value,that.inputFlagNum);
that.ruleForm[that.inputFlag] = temp.trim();
that.inputNumObj[that.inputFlag] = strLength.getByteLen(that.ruleForm[that.inputFlag]);
return false;
}
temp = strLength.getByteVal(value.target.value,that.inputFlagNum);
console.log(temp)
......@@ -859,7 +868,7 @@
that.inputNumObj.tagName = strLength.getZhLen(that.ruleForm.tagName);
}
if (that.ruleForm.tagDescribe) {
that.inputNumObj.tagDescribe = strLength.getZhLen(that.ruleForm.tagDescribe);
that.inputNumObj.tagDescribe = strLength.getByteLen(that.ruleForm.tagDescribe);
}
// 根据已选二级 id 获取三级列表
......
......@@ -2046,14 +2046,14 @@ import qs from 'qs';
if (resData.errorCode == 0) {
data.options = resData.result;
that.templateData.push(data)
that.getExistData(that.tagData.tagId)
that.getExistData(that.tagData.tagId,data.options)
return;
}
}else {
if (resData.errorCode == 1) {
data.options = resData.result;
that.templateData.push(data)
that.getExistData(that.tagData.tagId)
that.getExistData(that.tagData.tagId,data.options)
return;
}
}
......@@ -2076,7 +2076,7 @@ import qs from 'qs';
/**
* 获取当前标签已存数据 --- api
*/
getExistData(tagId) {
getExistData(tagId,newOptions) {
const that = this
const para = {
tagId: tagId
......@@ -2093,7 +2093,16 @@ import qs from 'qs';
}
// 查看该标签是否在暂存架中
that.addTempFlag = true;
that.templateData = JSON.parse(resData.result.tagParams).template
let items = JSON.parse(resData.result.tagParams).template
if (!!newOptions) {
items.forEach(function(ele,index){
if (ele.templateCode == 'tag013') {
ele.options = newOptions;
}
})
}
that.templateData = items;
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