Commit c6fc4070 by 无尘

fix: 修改内购券

parent 2f3093d3
<!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.be233918e5cb5fa51e0cc0de056fc408.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>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.9746811450cc2dcf48cf.js></script><script type=text/javascript src=./static/js/vendor.694f8850ed5112713591.js></script><script type=text/javascript src=./static/js/app.d9dfdafae5d50d37e6dc.js></script></body></html> <!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.d0a45a863c85ac3a3dd0c38b4741bbd1.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>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.b23ed1ebab9d13f58888.js></script><script type=text/javascript src=./static/js/vendor.694f8850ed5112713591.js></script><script type=text/javascript src=./static/js/app.cf2c71ef6518800db02b.js></script></body></html>
\ No newline at end of file \ 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([57],{"/XIA":function(t,e){},"8dpP":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"image-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"image-com flex"},[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),i("div",{staticClass:"must"},[t._v(t._s(t.childItem.isMust?"(必填)":""))]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"draged-item-show"},[e("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e("i",{staticClass:"iconfont icon-icon"})])])}]};var c=i("VU/8")(s,a,!1,function(t){i("/XIA")},"data-v-2858c829",null);e.default=c.exports}}); webpackJsonp([56],{"/XIA":function(t,e){},"8dpP":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"image-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"image-com flex"},[i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),i("div",{staticClass:"must"},[t._v(t._s(t.childItem.isMust?"(必填)":""))]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"draged-item-show"},[e("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e("i",{staticClass:"iconfont icon-icon"})])])}]};var c=i("VU/8")(s,a,!1,function(t){i("/XIA")},"data-v-2858c829",null);e.default=c.exports}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([60],{c7iB:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Xxa5"),r=a.n(n),s=a("exGp"),o=a.n(s),i=a("Ch4/"),l=a("3E4D"),c=a("PI0u"),u=a("P9l9"),p={components:{},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",searchInput:"",tableData:[],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(t){t&&this.getTableList()}},methods:{toDel:function(t,e){var a=this;a.$confirm("是否要删除选中的卡券模板?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(e.templateId)}).catch(function(){})},delCardList:function(t){var e=this,a={templateId:t};Object(u.d)("/haoban-app-customer-web/inner/delete-template",a).then(function(t){var a=t.data;if(1==a.errorCode)return l.a.showmsg("删除成功","success"),void e.getTableList();i.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/newCardTemp?templateId="+e.templateId)},toInput:Object(c.a)(function(t,e){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},toNewCard:function(){this.$router.push("/newCardTemp")},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},changeYear:function(){this.currentPage=1,this.getTableList()},getTableList:function(){var t=this;return o()(r.a.mark(function e(){var a,n;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n={wxEnterpriseId:(a=t).wxEnterpriseId,search:a.searchInput||""},Object(u.d)("/haoban-app-customer-web/inner/list-template",n).then(function(t){var e=t.data;1!=e.errorCode?i.a.errorMsg(e):a.tableData=e.result||[]}).catch(function(t){a.$message.error({duration:1e3,message:t.message})});case 3:case"end":return e.stop()}},e,t)}))()}},mounted:function(){this.$emit("showTab","1"),this.getTableList()}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"flex flex-space-between m-b-20"},[a("div",[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入模板名称",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.searchInput,callback:function(e){t.searchInput=e},expression:"searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("span",{staticClass:"font-14 color-909399 p-l-10"},[t._v("内购券是选取GIC中针对企业内部员工发下的,最多创建20个模板")])],1),t._v(" "),t.tableData.length<20?a("el-button",{attrs:{type:"primary"},on:{click:t.toNewCard}},[t._v("新增模板")]):t._e()],1),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 3px)"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"卡券模板名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.templateName)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券类型"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.cardType?a("span",[t._v("抵金券")]):t._e(),t._v(" "),1==e.row.cardType?a("span",[t._v("折扣券")]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.commitName||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"最近编辑时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.updateTime)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.updateTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toEdit(e.$index,e.row)}}},[t._v("编辑")]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDel(e.$index,e.row)}}},[t._v("删除")])]}}])})],1)],1)])},staticRenderFns:[]};var f=a("VU/8")(p,d,!1,function(t){a("uaH6")},"data-v-1a358de8",null);e.default=f.exports},uaH6:function(t,e){}}); webpackJsonp([59],{c7iB:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Xxa5"),r=a.n(n),s=a("exGp"),o=a.n(s),i=a("Ch4/"),l=a("3E4D"),c=a("PI0u"),u=a("P9l9"),p={components:{},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",searchInput:"",tableData:[],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(t){t&&this.getTableList()}},methods:{toDel:function(t,e){var a=this;a.$confirm("是否要删除选中的卡券模板?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(e.templateId)}).catch(function(){})},delCardList:function(t){var e=this,a={templateId:t};Object(u.d)("/haoban-app-customer-web/inner/delete-template",a).then(function(t){var a=t.data;if(1==a.errorCode)return l.a.showmsg("删除成功","success"),void e.getTableList();i.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/newCardTemp?templateId="+e.templateId)},toInput:Object(c.a)(function(t,e){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},toNewCard:function(){this.$router.push("/newCardTemp")},handleSizeChange:function(t){this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},changeYear:function(){this.currentPage=1,this.getTableList()},getTableList:function(){var t=this;return o()(r.a.mark(function e(){var a,n;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n={wxEnterpriseId:(a=t).wxEnterpriseId,search:a.searchInput||""},Object(u.d)("/haoban-app-customer-web/inner/list-template",n).then(function(t){var e=t.data;1!=e.errorCode?i.a.errorMsg(e):a.tableData=e.result||[]}).catch(function(t){a.$message.error({duration:1e3,message:t.message})});case 3:case"end":return e.stop()}},e,t)}))()}},mounted:function(){this.$emit("showTab","1"),this.getTableList()}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"flex flex-space-between m-b-20"},[a("div",[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入模板名称",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.searchInput,callback:function(e){t.searchInput=e},expression:"searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("span",{staticClass:"font-14 color-909399 p-l-10"},[t._v("内购券是选取GIC中针对企业内部员工发下的,最多创建20个模板")])],1),t._v(" "),t.tableData.length<20?a("el-button",{attrs:{type:"primary"},on:{click:t.toNewCard}},[t._v("新增模板")]):t._e()],1),t._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 3px)"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"卡券模板名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.templateName)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券类型"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.cardType?a("span",[t._v("抵金券")]):t._e(),t._v(" "),1==e.row.cardType?a("span",[t._v("折扣券")]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.commitName||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"最近编辑时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.updateTime)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.updateTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toEdit(e.$index,e.row)}}},[t._v("编辑")]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDel(e.$index,e.row)}}},[t._v("删除")])]}}])})],1)],1)])},staticRenderFns:[]};var f=a("VU/8")(p,d,!1,function(t){a("uaH6")},"data-v-1a358de8",null);e.default=f.exports},uaH6:function(t,e){}});
\ No newline at end of file \ No newline at end of file
!function(c){var e=window.webpackJsonp;window.webpackJsonp=function(f,b,n){for(var r,t,o,i=0,u=[];i<f.length;i++)t=f[i],a[t]&&u.push(a[t][0]),a[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(c[r]=b[r]);for(e&&e(f,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var f={},a={72:0};function d(e){if(f[e])return f[e].exports;var a=f[e]={i:e,l:!1,exports:{}};return c[e].call(a.exports,a,a.exports,d),a.l=!0,a.exports}d.e=function(c){var e=a[c];if(0===e)return new Promise(function(c){c()});if(e)return e[2];var f=new Promise(function(f,d){e=a[c]=[f,d]});e[2]=f;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+c+"."+{0:"db7fcfd49071bf8a7e4e",1:"06c4e42e62c1f75191f0",2:"3527d92b4250c040f53c",3:"fec7a03a688935ae1aac",4:"34a0831d6f83448c6ac9",5:"bf21cfa1832c94ed8d4c",6:"81dd32d27e6e6fd6c17b",7:"3482bda06551f7bc359e",8:"933cf3d674b5cb025afa",9:"f7c875c7689ffc18fc21",10:"281523c91e7ee89296cb",11:"59c87174f09911b8256b",12:"e8cd784bf481f550c766",13:"2b65cdb3d875eca1b6fd",14:"2c29119d13dc5fff8f2b",15:"b646de33eca64e94b02c",16:"5e81daf3550937d71920",17:"a315ec3bb42a1a5f0ab3",18:"aac9552544b8aaf4d59f",19:"5c01b5259828e3c1889f",20:"0f96177cb5fd1bb77419",21:"fffb077a531bceb1b14d",22:"f8e0114834358a5de162",23:"587c2e5a1989c5e482ea",24:"58c7c6c2d8897eb7c474",25:"9e5733792c18c643ff3a",26:"dba4d3332f3dbc9d7649",27:"8c00b479947588ae7b2c",28:"110ab7e5f64abacf9778",29:"cebf604cf1225f47e634",30:"00da5d6c69db35a7d4aa",31:"cf36baf02e3e24a5f053",32:"4de4968d6e57140dee2d",33:"4d3acec09b21e4bb12c9",34:"9c430f40b3a0c2122fd9",35:"9d2f169ffce85f2b33c0",36:"cf397756c40d6f8c1420",37:"f43da4e4e894a104b34e",38:"5f4ce05b4c8050e7ac44",39:"63dc54f1a6b7a04b4d41",40:"cda2471a85245dcfc0da",41:"323d5f1c2fbe72c50184",42:"6b570b5f9aa128436f6c",43:"9d8e65affd568de30a3f",44:"e0ddfc31839e7984dba3",45:"7ed750c4b7a52ade71ec",46:"37c5b811c39fa9e76a9f",47:"62855f543ccd4d38280c",48:"c3f2c22b2043b0927337",49:"cc5f227c95037a1381f0",50:"8214f85f5a021a3f163b",51:"f132501d1c80d64a4ce2",52:"7be3b5dbb03cde949150",53:"8dc6d1f1f166a704db4a",54:"4c49723130a02a35341c",55:"0ce2a3ce079eebf47aa8",56:"62ab6c7a18c0285d1817",57:"34f1fdd5840aff40d709",58:"9ba4ff48fdfefaa3d203",59:"847f5018f1c53ac6fd9b",60:"1909362f66171978f945",61:"c8bf83503933dbb0d3a7",62:"c150bd9c93df08960929",63:"ab752ec3ccf9371f123b",64:"3b820a9237f2357ff5ae",65:"2a89e7c8655aaad5fdfb",66:"d83b81ba889c535b2569",67:"5fb5009212972df8959b",68:"83851f59efe48e8d85fd",69:"a85af8948bfc87b0850f"}[c]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var e=a[c];0!==e&&(e&&e[1](new Error("Loading chunk "+c+" failed.")),a[c]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),f},d.m=c,d.c=f,d.d=function(c,e,f){d.o(c,e)||Object.defineProperty(c,e,{configurable:!1,enumerable:!0,get:f})},d.n=function(c){var e=c&&c.__esModule?function(){return c.default}:function(){return c};return d.d(e,"a",e),e},d.o=function(c,e){return Object.prototype.hasOwnProperty.call(c,e)},d.p="./",d.oe=function(c){throw console.error(c),c}}([]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,d,n){for(var r,t,o,i=0,u=[];i<f.length;i++)t=f[i],a[t]&&u.push(a[t][0]),a[t]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(c&&c(f,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var f={},a={72:0};function b(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,b),a.l=!0,a.exports}b.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,b){c=a[e]=[f,b]});c[2]=f;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:"db7fcfd49071bf8a7e4e",1:"06c4e42e62c1f75191f0",2:"3527d92b4250c040f53c",3:"fec7a03a688935ae1aac",4:"e7a8e7e9a5c3bad45ceb",5:"bf21cfa1832c94ed8d4c",6:"443ff22d14f9eda4f017",7:"5d132969c6654e478c3c",8:"5cbeb9fde8d49bf97a09",9:"f7c875c7689ffc18fc21",10:"281523c91e7ee89296cb",11:"59c87174f09911b8256b",12:"e8cd784bf481f550c766",13:"2b65cdb3d875eca1b6fd",14:"2c29119d13dc5fff8f2b",15:"b646de33eca64e94b02c",16:"5e81daf3550937d71920",17:"a315ec3bb42a1a5f0ab3",18:"aac9552544b8aaf4d59f",19:"5c01b5259828e3c1889f",20:"0f96177cb5fd1bb77419",21:"fffb077a531bceb1b14d",22:"f8e0114834358a5de162",23:"587c2e5a1989c5e482ea",24:"58c7c6c2d8897eb7c474",25:"9e5733792c18c643ff3a",26:"dba4d3332f3dbc9d7649",27:"8c00b479947588ae7b2c",28:"110ab7e5f64abacf9778",29:"cebf604cf1225f47e634",30:"00da5d6c69db35a7d4aa",31:"cf36baf02e3e24a5f053",32:"4de4968d6e57140dee2d",33:"4d3acec09b21e4bb12c9",34:"9c430f40b3a0c2122fd9",35:"9d2f169ffce85f2b33c0",36:"cf397756c40d6f8c1420",37:"f43da4e4e894a104b34e",38:"5f4ce05b4c8050e7ac44",39:"63dc54f1a6b7a04b4d41",40:"cda2471a85245dcfc0da",41:"323d5f1c2fbe72c50184",42:"6b570b5f9aa128436f6c",43:"9d8e65affd568de30a3f",44:"e0ddfc31839e7984dba3",45:"7ed750c4b7a52ade71ec",46:"37c5b811c39fa9e76a9f",47:"62855f543ccd4d38280c",48:"c3f2c22b2043b0927337",49:"cc5f227c95037a1381f0",50:"8214f85f5a021a3f163b",51:"f132501d1c80d64a4ce2",52:"7be3b5dbb03cde949150",53:"bc9bca10fda8dbf20f18",54:"970ceeb62d370bb046f9",55:"a59eb69795468eaccdab",56:"44a19541b1d9d5510256",57:"bb35aa59b73ea983662f",58:"f4362bcb70641f953b1a",59:"e06f1a78a8006e5612fe",60:"adcbe5095883589abda8",61:"c8bf83503933dbb0d3a7",62:"c150bd9c93df08960929",63:"ab752ec3ccf9371f123b",64:"3b820a9237f2357ff5ae",65:"2a89e7c8655aaad5fdfb",66:"d83b81ba889c535b2569",67:"5fb5009212972df8959b",68:"83851f59efe48e8d85fd",69:"a85af8948bfc87b0850f"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),f},b.m=e,b.c=f,b.d=function(e,c,f){b.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},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
...@@ -90,6 +90,10 @@ export default { ...@@ -90,6 +90,10 @@ export default {
submitForm() { submitForm() {
const that = this; const that = this;
if (!that.multipleSelection.length) { if (!that.multipleSelection.length) {
that.$message.error({
duration: 1000,
message: '请选择模板'
});
return false; return false;
} }
if (that.multipleSelection.length > 20) { if (that.multipleSelection.length > 20) {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author : 无尘 * @Author : 无尘
* @Date : 2020-02-13 16:13:59 * @Date : 2020-02-13 16:13:59
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-04-27 09:29:00 * @LastEditTime: 2020-04-27 10:10:37
--> -->
<!-- <!--
...@@ -155,6 +155,10 @@ export default { ...@@ -155,6 +155,10 @@ export default {
submitForm(form) { submitForm(form) {
const that = this; const that = this;
if (!that.selDepart.length) { if (!that.selDepart.length) {
that.$message.error({
duration: 1000,
message: '请选择部门'
});
return false; return false;
} }
if (that.selDepart.length > 50) { if (that.selDepart.length > 50) {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-04-12 17:56:45 * @Date: 2019-04-12 17:56:45
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-04-26 17:56:00 * @LastEditTime: 2020-04-27 10:09:09
--> -->
<template> <template>
<section class="common-right-wrap"> <section class="common-right-wrap">
...@@ -249,7 +249,7 @@ export default { ...@@ -249,7 +249,7 @@ export default {
that.conditionObj.useDateRange = []; that.conditionObj.useDateRange = [];
} }
let para = { let para = {
queryType: 1, queryType: 2,
wxEnterpriseId: that.wxEnterpriseId, wxEnterpriseId: that.wxEnterpriseId,
receiveStartDate: that.conditionObj.getDateRange[0], receiveStartDate: that.conditionObj.getDateRange[0],
receiveEndDate: that.conditionObj.getDateRange[1], receiveEndDate: that.conditionObj.getDateRange[1],
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-04-12 17:56:45 * @Date: 2019-04-12 17:56:45
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-04-26 17:55:28 * @LastEditTime: 2020-04-27 10:08:58
--> -->
<template> <template>
<section class="common-right-wrap"> <section class="common-right-wrap">
...@@ -227,7 +227,7 @@ export default { ...@@ -227,7 +227,7 @@ export default {
let para = { let para = {
wxEnterpriseId: that.wxEnterpriseId, wxEnterpriseId: that.wxEnterpriseId,
search: that.conditionObj.searchInput, // 搜索字段 search: that.conditionObj.searchInput, // 搜索字段
queryType: 2, queryType: 1,
sendStartDate: that.conditionObj.postDateRange[0], sendStartDate: that.conditionObj.postDateRange[0],
sendEndDate: that.conditionObj.postDateRange[1], sendEndDate: that.conditionObj.postDateRange[1],
pageNum: that.currentPage, pageNum: that.currentPage,
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-04-13 15:27:46 * @Date: 2020-04-13 15:27:46
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-04-27 09:50:52 * @LastEditTime: 2020-04-27 10:12:05
--> -->
<template> <template>
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
</label> </label>
<div class="el-form-item__content" style="margin-left: 120px;"> <div class="el-form-item__content" style="margin-left: 120px;">
<el-radio v-model="formData.fixdType" label="0">定时发送</el-radio> <el-radio v-model="formData.fixdType" label="0">定时发送</el-radio>
<div class="date-valid"><el-input-number :disabled="$route.query.repairId ? true : false" class="w-100" v-model="formData.fixdTimes" controls-position="right" :min="1" :max="9999"></el-input-number><span class="font-14 color-303133 p-l-10">分钟后</span></div> <div class="date-valid"><el-input-number :disabled="$route.query.repairId ? true : false" class="w-100" v-model="formData.fixdTimes" controls-position="right" :step="15" :min="15" :max="9999"></el-input-number><span class="font-14 color-303133 p-l-10">分钟后</span></div>
</div> </div>
</div> </div>
<el-form-item> <el-form-item>
...@@ -154,7 +154,7 @@ export default { ...@@ -154,7 +154,7 @@ export default {
positionNames: [], positionNames: [],
departmentJson: [], departmentJson: [],
fixdType: '0', fixdType: '0',
fixdTimes: '' fixdTimes: '15'
}, },
cardErr: false, cardErr: false,
rules: { rules: {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-04-13 15:27:46 * @Date: 2020-04-13 15:27:46
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-04-27 09:45:33 * @LastEditTime: 2020-04-27 10:07:35
--> -->
<template> <template>
...@@ -144,33 +144,6 @@ export default { ...@@ -144,33 +144,6 @@ export default {
selectWxDepart selectWxDepart
}, },
data() { data() {
/* const validateRange = (rule, value, callback) => {
if (value == '') {
return callback(new Error('请选择发送范围'));
} else if ((value == '1' || value == '2') && !this.formData.selectList.length) {
return callback(new Error('请选择发送范围'));
} else {
callback();
}
};
const validateSendType = (rule, value, callback) => {
if (value == '') {
return callback(new Error('请选择券发放总数'));
} else if (value == '1' && !this.formData.totalSendTimes) {
return callback(new Error('请选择券发放总数'));
} else {
callback();
}
}; */
/* const validateReceiveType = (rule, value, callback) => {
if (value == '') {
return callback(new Error('请选择券领取总数'));
} else if (value == '1' && !this.formData.totallReceiveTimes) {
return callback(new Error('请选择券领取总数'));
} else {
callback();
}
}; */
return { return {
activeBrand: this.brandId, // 商户(品牌) id activeBrand: this.brandId, // 商户(品牌) id
activeGroup: this.activeGroupId, // 商户(品牌) groupId activeGroup: this.activeGroupId, // 商户(品牌) groupId
......
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