Commit 8e2e147d by 无尘

add: 增加标签编辑状态判断新

parent a32458d0
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.3c9c115756a7cd3c2ae922fcd3e5fe36.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.7d58a4e0be9a6712f137.js></script><script type=text/javascript src=./static/js/vendor.4e8e1ad254ac3b9caa18.js></script><script type=text/javascript src=./static/js/app.49274dac1131f7fdfae1.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.822c0822be87d81555e466fd3a8df060.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.4cf60cd2d97fc4f57138.js></script><script type=text/javascript src=./static/js/vendor.c0034a7b125cfc06ce44.js></script><script type=text/javascript src=./static/js/app.e8c1030f622b9d8e6943.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.
webpackJsonp([20],{eNXc:function(t,a){},twLH:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("3Xzz"),i=e("BdFv"),r=(e("Mk6G"),e("3E4D"),e("Ch4/"),e("PI0u"),e("P9l9"),{name:"myTagLib",data:function(){return{navpath:[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"我的标签库",path:""}],tagCategory:"myTagList"}},methods:{toAddMyTagLib:function(){}},mounted:function(){},components:{navCrumb:n.a,tagLib:i.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"myTagLib-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 s=e("VU/8")(r,o,!1,function(t){e("eNXc")},"data-v-4763dd3a",null);a.default=s.exports}});
//# sourceMappingURL=20.3d26bb4503e7e9f2e788.js.map
\ No newline at end of file
webpackJsonp([19],{eNXc:function(t,a){},twLH:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("3Xzz"),i=e("BdFv"),r=(e("Mk6G"),e("3E4D"),e("Ch4/"),e("PI0u"),e("P9l9"),{name:"myTagLib",data:function(){return{navpath:[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"我的标签库",path:""}],tagCategory:"myTagList"}},methods:{toAddMyTagLib:function(){}},mounted:function(){},components:{navCrumb:n.a,tagLib:i.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"myTagLib-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 s=e("VU/8")(r,o,!1,function(t){e("eNXc")},"data-v-4763dd3a",null);a.default=s.exports}});
//# sourceMappingURL=19.c64b53861326d1f5df43.js.map
\ No newline at end of file
webpackJsonp([21],{Gy5W:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o("bOdI"),i=o.n(n),a=o("5reh"),s={name:"App",data:function(){var t;return t={projectName:"member-tag",contentHeight:"0px",collapseFlag:!1},i()(t,"collapseFlag",!1),i()(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(a.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:{}},l={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"index"}},[e("vue-gic-header",{attrs:{projectName:this.projectName,collapseFlag:this.collapseFlag},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])],1)},staticRenderFns:[]};var c=o("VU/8")(s,l,!1,function(t){o("i1gJ")},null,null);e.default=c.exports},i1gJ:function(t,e){}});
//# sourceMappingURL=21.cafd61d1500edc38a50a.js.map
\ No newline at end of file
webpackJsonp([20],{Gy5W:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o("bOdI"),i=o.n(n),a=o("5reh"),s={name:"App",data:function(){var t;return t={projectName:"member-tag",contentHeight:"0px",collapseFlag:!1},i()(t,"collapseFlag",!1),i()(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(a.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:{}},l={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"index"}},[e("vue-gic-header",{attrs:{projectName:this.projectName,collapseFlag:this.collapseFlag},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])],1)},staticRenderFns:[]};var c=o("VU/8")(s,l,!1,function(t){o("i1gJ")},null,null);e.default=c.exports},i1gJ:function(t,e){}});
//# sourceMappingURL=20.0bef46bf128efff99a1a.js.map
\ No newline at end of file
webpackJsonp([22],{"3PJM":function(t,a){},puJc:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("3Xzz"),r=e("BdFv"),i=(e("Mk6G"),e("3E4D"),e("Ch4/"),e("PI0u"),e("P9l9"),{name:"platformTagLib",data:function(){return{navpath:[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"平台标签库",path:""}],tagCategory:"platformTagList"}},methods:{},mounted:function(){},components:{navCrumb:n.a,tagLib:r.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"platformTagLib-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 s=e("VU/8")(i,o,!1,function(t){e("3PJM")},"data-v-2cbababa",null);a.default=s.exports}});
//# sourceMappingURL=22.6fa2e5eec68626176108.js.map
\ No newline at end of file
webpackJsonp([21],{"3PJM":function(t,a){},puJc:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("3Xzz"),r=e("BdFv"),i=(e("Mk6G"),e("3E4D"),e("Ch4/"),e("PI0u"),e("P9l9"),{name:"platformTagLib",data:function(){return{navpath:[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"平台标签库",path:""}],tagCategory:"platformTagList"}},methods:{},mounted:function(){},components:{navCrumb:n.a,tagLib:r.a}}),o={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"platformTagLib-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 s=e("VU/8")(i,o,!1,function(t){e("3PJM")},"data-v-2cbababa",null);a.default=s.exports}});
//# sourceMappingURL=21.fce3d8ad3d06890dda32.js.map
\ No newline at end of file
webpackJsonp([24],{KuVV:function(t,a){},q490:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),r=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"manualTagLib",data:function(){return{navpath:[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"手工标签库",path:""}],tagCategory:"manualTagList"}},methods:{},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),o={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 s=n("VU/8")(r,o,!1,function(t){n("KuVV")},"data-v-1b7deaf2",null);a.default=s.exports}});
//# sourceMappingURL=24.d8ebf9b105c3079a42bd.js.map
\ No newline at end of file
webpackJsonp([23],{KuVV:function(t,a){},q490:function(t,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=n("3Xzz"),i=n("BdFv"),r=(n("Mk6G"),n("3E4D"),n("Ch4/"),n("PI0u"),n("P9l9"),{name:"manualTagLib",data:function(){return{navpath:[{name:"首页",path:window.origin+"/report/#/memberSummary",relocation:!0},{name:"会员管理",path:""},{name:"会员标签",path:""},{name:"手工标签库",path:""}],tagCategory:"manualTagList"}},methods:{},mounted:function(){},components:{navCrumb:e.a,tagLib:i.a}}),o={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 s=n("VU/8")(r,o,!1,function(t){n("KuVV")},"data-v-1b7deaf2",null);a.default=s.exports}});
//# sourceMappingURL=23.012fa9b9212b0d170c6d.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.
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(n,t,f){for(var o,d,b,i=0,u=[];i<n.length;i++)d=n[i],r[d]&&u.push(r[d][0]),r[d]=0;for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);for(a&&a(n,t,f);u.length;)u.shift()();if(f)for(i=0;i<f.length;i++)b=c(c.s=f[i]);return b};var n={},r={28:0};function c(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,c),r.l=!0,r.exports}c.e=function(e){var a=r[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var n=new Promise(function(n,c){a=r[e]=[n,c]});a[2]=n;var t=document.getElementsByTagName("head")[0],f=document.createElement("script");f.type="text/javascript",f.charset="utf-8",f.async=!0,f.timeout=12e4,c.nc&&f.setAttribute("nonce",c.nc),f.src=c.p+"static/js/"+e+"."+{0:"6301e59b41e85ae317d5",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"2216e0f582a81416afef",6:"b0cb233c0275527bf061",7:"571d8139a39270a9c596",8:"32a9313e421e70390499",9:"bd6886217341a2ac6364",10:"bda2f0473989f24cfd79",11:"d02aea8830b64fa15254",12:"9ecfc05b1317eae5aceb",13:"e29aa5893a93a16c34bc",14:"352dad5ae4a83a4cb845",15:"d5c5df25a4f4dcfb8bbf",16:"9f01549142162cddd10f",17:"c8a47b8d501bd5430967",18:"7a971724ceedf92fdfcc",19:"c64b53861326d1f5df43",20:"0bef46bf128efff99a1a",21:"fce3d8ad3d06890dda32",22:"9a5d9875aeaf5c53aec2",23:"012fa9b9212b0d170c6d",24:"bdec250e7ccf5a8888ce",27:"02b5e0be03d9340bd130"}[e]+".js";var o=setTimeout(d,12e4);function d(){f.onerror=f.onload=null,clearTimeout(o);var a=r[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),r[e]=void 0)}return f.onerror=f.onload=d,t.appendChild(f),n},c.m=e,c.c=n,c.d=function(e,a,n){c.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:n})},c.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(a,"a",a),a},c.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},c.p="./",c.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.4cf60cd2d97fc4f57138.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,o){for(var f,d,b,i=0,u=[];i<r.length;i++)d=r[i],t[d]&&u.push(t[d][0]),t[d]=0;for(f in c)Object.prototype.hasOwnProperty.call(c,f)&&(e[f]=c[f]);for(n&&n(r,c,o);u.length;)u.shift()();if(o)for(i=0;i<o.length;i++)b=a(a.s=o[i]);return b};var r={},t={28:0};function a(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,a),t.l=!0,t.exports}a.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,a){n=t[e]=[r,a]});n[2]=r;var c=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,a.nc&&o.setAttribute("nonce",a.nc),o.src=a.p+"static/js/"+e+"."+{0:"6301e59b41e85ae317d5",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"88fed4018e30b1fe5f28",6:"b0cb233c0275527bf061",7:"571d8139a39270a9c596",8:"32a9313e421e70390499",9:"bd6886217341a2ac6364",10:"bda2f0473989f24cfd79",11:"d02aea8830b64fa15254",12:"9ecfc05b1317eae5aceb",13:"e29aa5893a93a16c34bc",14:"352dad5ae4a83a4cb845",15:"d5c5df25a4f4dcfb8bbf",16:"9f01549142162cddd10f",17:"c8a47b8d501bd5430967",18:"7a971724ceedf92fdfcc",19:"5e189ff7a83716b9b3e5",20:"3d26bb4503e7e9f2e788",21:"cafd61d1500edc38a50a",22:"6fa2e5eec68626176108",23:"8d9024391ef085f99b5a",24:"d8ebf9b105c3079a42bd",27:"02b5e0be03d9340bd130"}[e]+".js";var f=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(f);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,c.appendChild(o),r},a.m=e,a.c=r,a.d=function(e,n,r){a.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},a.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(n,"a",n),n},a.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},a.p="./",a.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.7d58a4e0be9a6712f137.js.map
\ No newline at end of file
......@@ -131,9 +131,9 @@
}
},
"@gic-test/vue-gic-footer": {
"version": "1.0.8",
"resolved": "http://www.gicdev.com:7001/@gic-test/vue-gic-footer/download/@gic-test/vue-gic-footer-1.0.8.tgz",
"integrity": "sha1-HBAOBjNKUnr8ic92Zxsxqtgt/IY=",
"version": "1.0.9",
"resolved": "http://www.gicdev.com:7001/@gic-test/vue-gic-footer/download/@gic-test/vue-gic-footer-1.0.9.tgz",
"integrity": "sha1-rFQTTFVAiLmiYQIU8ghi6LCjSSs=",
"requires": {
"axios": "^0.18.0",
"vue": "^2.5.11"
......
......@@ -2,7 +2,12 @@
<div>
<input id="excel-upload-input" :ref="'excel-upload-input'+currentIndex" type="file" accept=".xlsx, .xls, .csv" class="c-hide excel-upload-input" @change="handkeFileChange">
<div id="drop">
<el-button style="margin-left:16px;" size="mini" type="text" ><span class="p-r-8" @click="handleUpload">点击导入会员</span><span class="p-l-8 border-l-dcdfe6 color-e55858" v-if="tagItemStatus == 8" @click.stop="handleDownload">上传完成,下载失败会员清单</span></el-button>
<el-button
style="margin-left:16px;"
size="mini" type="text"
:disabled="(tagItemStatus==2 ||tagItemStatus==4 ||tagItemStatus ==5 ||tagItemStatus==6) ? true: false">
<span class="p-r-8" @click="handleUpload">点击导入会员</span><span class="p-l-8 border-l-dcdfe6 color-e55858" v-if="tagItemStatus == 8" @click.stop="handleDownload">上传完成,下载失败会员清单</span>
</el-button>
<div class="excel-upload__tip">只能上传一个excle文件(2003版本以上),且数据不超过5000条</div>
</div>
</div>
......
......@@ -94,8 +94,24 @@
</el-table-column>
<el-table-column label="操作" width="200px">
<template slot-scope="scope" >
<el-button v-if="!scope.row.editAble && scope.row.status != 5" type="text" size="small" class="" @click="toEditTag(scope.$index,scope.row)">编辑</el-button>
<el-button v-if="!scope.row.editAble && scope.row.status != 5" type="text" size="small" class="" @click="confirmDel(scope.$index,scope.row)">删除</el-button>
<el-button
v-if="!scope.row.editAble && scope.row.status != 5"
type="text"
size="small"
class=""
:disabled="(scope.row.status==2 ||scope.row.status==4 ||scope.row.status ==5 ||scope.row.status==6) ? true: false"
@click="toEditTag(scope.$index,scope.row)">
编辑
</el-button>
<el-button
v-if="!scope.row.editAble && scope.row.status != 5"
type="text"
size="small"
class=""
:disabled="(scope.row.status==2 ||scope.row.status==4 ||scope.row.status ==5 ||scope.row.status==6) ? true: false"
@click="confirmDel(scope.$index,scope.row)">
删除
</el-button>
<!-- <el-popover
v-if="!scope.row.editAble && scope.row.status != 5"
placement="top"
......@@ -182,8 +198,8 @@
type="primary"
:disabled="scope.$index != excelExistIndex"
@click.stop="toUploadFile(scope.$index,scope.row)">
{{ scope.row.status == 1 || scope.row.status == 3 || scope.row.status == 4|| scope.row.status == 5|| scope.row.status == 7 || scope.row.status == 8 ? '上传':'' }}
{{ scope.row.status == 2 || scope.row.status == 6? '上传中':'' }}
{{ scope.row.status == 1 || scope.row.status == 3 || scope.row.status == 7 || scope.row.status == 8 ? '上传':'' }}
{{ scope.row.status == 2 || scope.row.status == 4 || scope.row.status == 5 || scope.row.status == 6? '处理中':'' }}
</el-button>
</template>
</el-table-column>
......
......@@ -16,7 +16,7 @@
<el-select
v-model="statusSelect"
@change="searchByStatus"
placeholder="请选择"
placeholder="请选择"
class="w-220 m-l-20">
<el-option
:key="0"
......@@ -142,7 +142,8 @@
</template>
</el-table-column>
<el-table-column
label="操作">
label="操作"
width="257px">
<template slot-scope="scope">
<el-button type="text" size="small" class="p-r-20" v-if="scope.row.effectiveStatus == 1" @click="toInvalid(scope.row)">失效</el-button>
<router-link :to="{path:'/memberGroupDetail',query:{memberTagGroupId:scope.row.memberTagGroupId}}" class="edit-btn el-button--text p-r-20">详情</router-link>
......@@ -257,7 +258,7 @@
// console.log(row, rowIndex);
},
/**
*
*
*/
showGroupSet() {
const that = this;
......
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