Commit 8fe6193b by 无尘

fix: 修改会员分组编辑状态判断错误

parent 3ea112ad
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.b2f954806d47f5ed110421d244bd842c.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.83ad662c89d75539338d.js></script><script type=text/javascript src=./static/js/vendor.fe4f9863882480bf679b.js></script><script type=text/javascript src=./static/js/app.d06fd989e757882beb87.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.d6acecd637025aee7faa6d70b7e49a35.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.6fabcadca6cac01c90e9.js></script><script type=text/javascript src=./static/js/vendor.fe4f9863882480bf679b.js></script><script type=text/javascript src=./static/js/app.360e625c5a9d602fc8e0.js></script></body></html>
\ No newline at end of file
webpackJsonp([20],{"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=20.5edeab301229712ae055.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
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.
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(n,f,o){for(var a,d,i,u=0,b=[];u<n.length;u++)d=n[u],r[d]&&b.push(r[d][0]),r[d]=0;for(a in f)Object.prototype.hasOwnProperty.call(f,a)&&(e[a]=f[a]);for(c&&c(n,f,o);b.length;)b.shift()();if(o)for(u=0;u<o.length;u++)i=t(t.s=o[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 f=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,t.nc&&o.setAttribute("nonce",t.nc),o.src=t.p+"static/js/"+e+"."+{0:"f0efb6cf1edf8e3d6289",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"0106258f51de87a40b57",6:"0a7ae2c3a63f3c273c84",7:"7d4ec3d94f146d4f8211",8:"740be8826411a62bfb4f",9:"f27e1b404e3ff1651f80",10:"c71c26ffe9e929740644",11:"e85b90356083e5b3e250",12:"eab64c32b90535e29d75",13:"592dc8df338448632db8",14:"e3674474da8a18925ba8",15:"6bff0bcecd6f1ce1319d",16:"f4036a24000959bd38c8",17:"022c9fbbc20807dfcca3",18:"7a971724ceedf92fdfcc",19:"4f681127cc3b6c7e3765",20:"fdf530ecd11756ef66ba",21:"cc4b11f9d593442a0878",22:"e284424cd3ebe6f21d26",25:"9ceafa4ee79176c87d81"}[e]+".js";var a=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(a);var c=r[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),r[e]=void 0)}return o.onerror=o.onload=d,f.appendChild(o),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.6fabcadca6cac01c90e9.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,f,o){for(var a,d,b,i=0,u=[];i<r.length;i++)d=r[i],t[d]&&u.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);u.length;)u.shift()();if(o)for(i=0;i<o.length;i++)b=c(c.s=o[i]);return b};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:"f0efb6cf1edf8e3d6289",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"0106258f51de87a40b57",6:"3004bd848377078afd45",7:"62b29fa48e68a71bc2b0",8:"740be8826411a62bfb4f",9:"f27e1b404e3ff1651f80",10:"c71c26ffe9e929740644",11:"e85b90356083e5b3e250",12:"eab64c32b90535e29d75",13:"592dc8df338448632db8",14:"e3674474da8a18925ba8",15:"6bff0bcecd6f1ce1319d",16:"f4036a24000959bd38c8",17:"022c9fbbc20807dfcca3",18:"7a971724ceedf92fdfcc",19:"edf29dcffb061d49ffea",20:"5edeab301229712ae055",21:"cc4b11f9d593442a0878",22:"6603002d07c6911180b9",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.83ad662c89d75539338d.js.map
\ No newline at end of file
......@@ -483,24 +483,28 @@
const that = this
console.log("删除id:",that.selTagData,delTagId)
if (!!that.selTagData.length) {
let temData = null;
that.temporaryData.forEach(function(ele,index){
if (ele.tagId == delTagId) {
temData = ele
that.temporaryData.splice(index,1)
}
})
let selTagArrData = that.selTagData.map(item=>item.tagId)
console.log('已选 items:',that.selTagData)
that.temporaryData.forEach(function(ele,index){
if (selTagArrData.indexOf(ele.tagId) != -1) {
that.$refs.templateTable.toggleRowSelection(ele,true)
console.log('已选 :')
}
})
console.log(temData)
that.temporaryData.push(JSON.parse(JSON.stringify(temData)))
that.$forceUpdate()
let existIds = that.temporaryData.map(item=>item.tagId)
if (existIds.includes(delTagId)) {
let temData = null;
that.temporaryData.forEach(function(ele,index){
if (ele.tagId == delTagId) {
temData = ele
that.temporaryData.splice(index,1)
}
})
let selTagArrData = that.selTagData.map(item=>item.tagId)
console.log('已选 items:',that.selTagData)
that.temporaryData.forEach(function(ele,index){
if (selTagArrData.indexOf(ele.tagId) != -1) {
that.$refs.templateTable.toggleRowSelection(ele,true)
console.log('已选 :')
}
})
console.log(temData)
that.temporaryData.push(JSON.parse(JSON.stringify(temData)))
that.$forceUpdate()
}
}else{
that.$refs.templateTable.clearSelection();
......
......@@ -35,7 +35,7 @@
<el-table-column
prop="tagName"
label="标签名称"
>
show-overflow-tooltip>
<!-- <template slot-scope="scope">{{ scope.row.name }}</template> -->
</el-table-column>
<el-table-column
......
......@@ -35,13 +35,13 @@
</el-table-column> -->
<el-table-column
label="标签名称"
>
show-overflow-tooltip>
<template slot-scope="scope"><span class="pointer" @click="addTemporary(scope.row.tagId)">{{ scope.row.tagName }}</span></template>
</el-table-column>
<el-table-column
prop="tagDescribe"
label="标签描述"
>
show-overflow-tooltip>
</el-table-column>
<el-table-column
label="是否实时"
......
......@@ -33,7 +33,7 @@
<el-table-column
prop="tagName"
label="标签名称"
>
show-overflow-tooltip>
<!-- <template slot-scope="scope">{{ scope.row.name }}</template> -->
</el-table-column>
<el-table-column
......
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