Commit e0a3739d by 无尘

fix: 修改卡券

parent 6b56b763
<!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.0f6254df58039491228495cac8d99117.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.a29b0c315f9dface9c75.js></script><script type=text/javascript src=./static/js/vendor.014a23eec35e9d02ede3.js></script><script type=text/javascript src=./static/js/app.6c2c0becd13a9ea0832b.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.00c404838c84243e8aba096849a94cd4.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.64ddd80cc19dac190ffd.js></script><script type=text/javascript src=./static/js/vendor.014a23eec35e9d02ede3.js></script><script type=text/javascript src=./static/js/app.68f0c965110ac5c6ab7e.js></script></body></html>
\ No newline at end of file \ No newline at end of file
webpackJsonp([16],{"2X9c":function(t,s,i){t.exports=i.p+"static/img/error_500.ed0cba4.svg"},FskK:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=i("2X9c"),e=i.n(a),c={name:"page500",data:function(){return{img_500:e.a}},computed:{message:function(){return"抱歉,服务器出错了"}}},n={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_500,alt:"500"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var r=i("VU/8")(c,n,!1,function(t){i("wc9b")},"data-v-a27616c0",null);s.default=r.exports},wc9b:function(t,s){}}); webpackJsonp([17],{"2X9c":function(t,s,i){t.exports=i.p+"static/img/error_500.ed0cba4.svg"},FskK:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=i("2X9c"),e=i.n(a),c={name:"page500",data:function(){return{img_500:e.a}},computed:{message:function(){return"抱歉,服务器出错了"}}},n={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_500,alt:"500"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var r=i("VU/8")(c,n,!1,function(t){i("wc9b")},"data-v-a27616c0",null);s.default=r.exports},wc9b:function(t,s){}});
\ No newline at end of file \ No newline at end of file
webpackJsonp([18],{B9Yg:function(t,s,e){t.exports=e.p+"static/img/gic-error.8aba914.png"},"Q3j/":function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e("B9Yg"),a=e.n(i),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"登录遇到错误啦!请确认您是否已是好办管理员,如不是,请联系管理员。"}},mounted:function(){}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/login",rel:"noopener noreferrer"}},[this._v("返回好办登录页")])])])])},staticRenderFns:[]};var c=e("VU/8")(n,r,!1,function(t){e("g7Oy")},"data-v-602fa05d",null);s.default=c.exports},g7Oy:function(t,s){}}); webpackJsonp([19],{B9Yg:function(t,s,e){t.exports=e.p+"static/img/gic-error.8aba914.png"},"Q3j/":function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e("B9Yg"),a=e.n(i),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"登录遇到错误啦!请确认您是否已是好办管理员,如不是,请联系管理员。"}},mounted:function(){}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/login",rel:"noopener noreferrer"}},[this._v("返回好办登录页")])])])])},staticRenderFns:[]};var c=e("VU/8")(n,r,!1,function(t){e("g7Oy")},"data-v-602fa05d",null);s.default=c.exports},g7Oy:function(t,s){}});
\ No newline at end of file \ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,n,r){for(var d,t,o,i=0,u=[];i<a.length;i++)t=a[i],f[t]&&u.push(f[t][0]),f[t]=0;for(d in n)Object.prototype.hasOwnProperty.call(n,d)&&(e[d]=n[d]);for(c&&c(a,n,r);u.length;)u.shift()();if(r)for(i=0;i<r.length;i++)o=b(b.s=r[i]);return o};var a={},f={63:0};function b(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,b),f.l=!0,f.exports}b.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,b){c=f[e]=[a,b]});c[2]=a;var n=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.timeout=12e4,b.nc&&r.setAttribute("nonce",b.nc),r.src=b.p+"static/js/"+e+"."+{0:"937e457e590c16cf534f",1:"06c4e42e62c1f75191f0",2:"b9a53975232d84191423",3:"0755b95c1358fcc0e5e6",4:"7c0ee5c1aecb96896f6c",5:"bf21cfa1832c94ed8d4c",6:"aadb949ab3bea612d805",7:"c9ccf52380a5efb8720c",8:"872afc6f0c6c0be091e8",9:"aa16369ac132fab2a89c",10:"935a69797af3baaa97b8",11:"73a9b934417c9bc16fc6",12:"59db86ef512a3a65e1ce",13:"ebba5b82c2826c9ba6e1",14:"a49fd9e52a864dbd5831",15:"3719b48003ce60ac35cf",16:"880047853fa23da0e4eb",17:"fca3406ba0423dbc034e",18:"31d8270b74259075ac18",19:"7a53269ddf9f15768789",20:"f4ca923a45be4e175087",21:"74f47c5356eedd43a1e4",22:"4657c811baa7a2a81fa8",23:"b696c3789461b84413c4",24:"58c7c6c2d8897eb7c474",25:"9e5733792c18c643ff3a",26:"dba4d3332f3dbc9d7649",27:"8c00b479947588ae7b2c",28:"110ab7e5f64abacf9778",29:"cebf604cf1225f47e634",30:"7c1e52b5c0d36e8632c1",31:"3c38b82373fa7e0a809a",32:"d68d3e9c2138e9b0b094",33:"17b587ea836e40e85f6c",34:"fe5fa10071f728bce540",35:"58646980a26370faba20",36:"11a1a313d8ff29508d13",37:"4eb8995550564944b43d",38:"2b9cdeede733af9be322",39:"9aa77e3defecaceb244e",40:"5c88eb3d24b8c0c5c765",41:"754895d6e8968f855a79",42:"43bbedbec5d68a86dac1",43:"87c1782754b0b05f7608",44:"aa371b07acf3ccb8cf7b",45:"67d74a26606b9aaaaf36",46:"533788c46e1defe672d3",47:"12481e6bfc90de853c84",48:"31977b1cfef3f8807123",49:"15bc78cea887de215d32",50:"c2932bcd17cb7bb00ef7",51:"6ecd1c76f129643c28a8",52:"763413fcd4e918278c7c",53:"63a56532e0b00a60682a",54:"5953756da77aa423a0f0",55:"507e3a26f9dc9383df97",56:"0c71414a670bc8546178",57:"1a7102c508e3c1a0a222",58:"a7fa96edb1538ed5b7ff",59:"c71bd5036dd611ea623a",60:"775007688f0115e168fb"}[e]+".js";var d=setTimeout(t,12e4);function t(){r.onerror=r.onload=null,clearTimeout(d);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return r.onerror=r.onload=t,n.appendChild(r),a},b.m=e,b.c=a,b.d=function(e,c,a){b.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},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}}([]); !function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,n,r){for(var t,d,o,i=0,u=[];i<a.length;i++)d=a[i],b[d]&&u.push(b[d][0]),b[d]=0;for(t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);for(c&&c(a,n,r);u.length;)u.shift()();if(r)for(i=0;i<r.length;i++)o=f(f.s=r[i]);return o};var a={},b={63:0};function f(c){if(a[c])return a[c].exports;var b=a[c]={i:c,l:!1,exports:{}};return e[c].call(b.exports,b,b.exports,f),b.l=!0,b.exports}f.e=function(e){var c=b[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,f){c=b[e]=[a,f]});c[2]=a;var n=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.timeout=12e4,f.nc&&r.setAttribute("nonce",f.nc),r.src=f.p+"static/js/"+e+"."+{0:"937e457e590c16cf534f",1:"06c4e42e62c1f75191f0",2:"b9a53975232d84191423",3:"0755b95c1358fcc0e5e6",4:"7c0ee5c1aecb96896f6c",5:"bf21cfa1832c94ed8d4c",6:"aadb949ab3bea612d805",7:"c9ccf52380a5efb8720c",8:"872afc6f0c6c0be091e8",9:"aa16369ac132fab2a89c",10:"935a69797af3baaa97b8",11:"73a9b934417c9bc16fc6",12:"59db86ef512a3a65e1ce",13:"ebba5b82c2826c9ba6e1",14:"a49fd9e52a864dbd5831",15:"09a62423fd79266e1908",16:"bc276325eab50b4b86c0",17:"edf42ec3b001b6cfe65e",18:"ce09420316169619b0c7",19:"379162e017a8b5beee8b",20:"ba2e2bd0823422a4de6c",21:"9e35f4bb567c79f900c4",22:"4657c811baa7a2a81fa8",23:"b696c3789461b84413c4",24:"58c7c6c2d8897eb7c474",25:"9e5733792c18c643ff3a",26:"dba4d3332f3dbc9d7649",27:"8c00b479947588ae7b2c",28:"110ab7e5f64abacf9778",29:"cebf604cf1225f47e634",30:"7c1e52b5c0d36e8632c1",31:"3c38b82373fa7e0a809a",32:"d68d3e9c2138e9b0b094",33:"17b587ea836e40e85f6c",34:"fe5fa10071f728bce540",35:"58646980a26370faba20",36:"11a1a313d8ff29508d13",37:"4eb8995550564944b43d",38:"2b9cdeede733af9be322",39:"9aa77e3defecaceb244e",40:"5c88eb3d24b8c0c5c765",41:"754895d6e8968f855a79",42:"43bbedbec5d68a86dac1",43:"87c1782754b0b05f7608",44:"aa371b07acf3ccb8cf7b",45:"67d74a26606b9aaaaf36",46:"533788c46e1defe672d3",47:"12481e6bfc90de853c84",48:"31977b1cfef3f8807123",49:"15bc78cea887de215d32",50:"c2932bcd17cb7bb00ef7",51:"6ecd1c76f129643c28a8",52:"763413fcd4e918278c7c",53:"63a56532e0b00a60682a",54:"5953756da77aa423a0f0",55:"507e3a26f9dc9383df97",56:"0c71414a670bc8546178",57:"1a7102c508e3c1a0a222",58:"a7fa96edb1538ed5b7ff",59:"c71bd5036dd611ea623a",60:"775007688f0115e168fb"}[e]+".js";var t=setTimeout(d,12e4);function d(){r.onerror=r.onload=null,clearTimeout(t);var c=b[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),b[e]=void 0)}return r.onerror=r.onload=d,n.appendChild(r),a},f.m=e,f.c=a,f.d=function(e,c,a){f.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},f.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(c,"a",c),c},f.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},f.p="./",f.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
...@@ -52,7 +52,12 @@ export default { ...@@ -52,7 +52,12 @@ export default {
data() { data() {
return { return {
dialogVisible: true, dialogVisible: true,
selectCoupCardId: '' selectCoupCardId: '',
tableData: [],
// 分页参数
currentPage: 1,
pageSize: 6,
total: 0
}; };
}, },
methods: { methods: {
...@@ -109,9 +114,7 @@ export default { ...@@ -109,9 +114,7 @@ export default {
if (resData.errorCode == 1) { if (resData.errorCode == 1) {
that.tableData = resData.result.list || []; that.tableData = resData.result.list || [];
that.total = resData.result.pageInfo.total; that.total = resData.result.pageInfo.total;
if (that.$route.query.coupCardId) {
that.getCardData();
}
return false; return false;
} }
errMsg.errorMsg(resData); errMsg.errorMsg(resData);
...@@ -128,7 +131,6 @@ export default { ...@@ -128,7 +131,6 @@ export default {
brandId: function(newData, oldData) { brandId: function(newData, oldData) {
const that = this; const that = this;
if (!!newData) { if (!!newData) {
that.activeBrand = newData;
that.getTableList(); that.getTableList();
} }
} }
......
...@@ -4,14 +4,14 @@ ...@@ -4,14 +4,14 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-04-13 15:27:46 * @Date: 2020-04-13 15:27:46
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-04-15 10:23:16 * @LastEditTime: 2020-04-15 10:27:34
--> -->
<template> <template>
<section class="common-right-wrap"> <section class="common-right-wrap">
<el-form :model="formData" :rules="rules" ref="ruleForm" label-width="120px" class="demo-ruleForm"> <el-form :model="formData" :rules="rules" ref="ruleForm" label-width="120px" class="demo-ruleForm">
<el-form-item label="选择卡券" prop="coupCardId"> <el-form-item label="选择卡券" prop="coupCardId">
<div class="card-add-btn text-center" @click="showCard"><span class="el-icon-plus font-12 color-909399"></span><span class="font-14 color-909399">添加卡券</span></div> <div class="card-add-btn text-center cursor-pointer" @click="showCard"><span class="el-icon-plus font-12 color-909399"></span><span class="font-14 color-909399">添加卡券</span></div>
</el-form-item> </el-form-item>
<div class="el-form-item el-form-item--large"> <div class="el-form-item el-form-item--large">
<label for="name" class="el-form-item__label" style="width: 120px; cursor: pointer;"> <label for="name" class="el-form-item__label" style="width: 120px; cursor: pointer;">
...@@ -171,10 +171,6 @@ export default { ...@@ -171,10 +171,6 @@ export default {
isSingle: false // 是否单选 isSingle: false // 是否单选
}, },
// 分页参数
currentPage: 1,
pageSize: 6,
total: 0,
formData: { formData: {
id: '', id: '',
coupCardId: '', coupCardId: '',
......
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