Commit ea9d370d by 无尘

add: 增加会员分组值删除提示

parent b2a866b3
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-会员标签</title><link href=./static/css/app.1d603ffaa538d4ff1e1c6436b9b90ce6.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.99455abb39ce6539fb10.js></script><script type=text/javascript src=./static/js/vendor.0af28a078a21b203fb55.js></script><script type=text/javascript src=./static/js/app.01717ba99300340d537f.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.d8898d609777c0f9899657da2318efc4.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.4abaece2fdd40702ac51.js></script><script type=text/javascript src=./static/js/vendor.0af28a078a21b203fb55.js></script><script type=text/javascript src=./static/js/app.01717ba99300340d537f.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.
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,o){for(var d,f,b,i=0,u=[];i<r.length;i++)f=r[i],c[f]&&u.push(c[f][0]),c[f]=0;for(d in a)Object.prototype.hasOwnProperty.call(a,d)&&(e[d]=a[d]);for(n&&n(r,a,o);u.length;)u.shift()();if(o)for(i=0;i<o.length;i++)b=t(t.s=o[i]);return b};var r={},c={27:0};function t(n){if(r[n])return r[n].exports;var c=r[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,t),c.l=!0,c.exports}t.e=function(e){var n=c[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,t){n=c[e]=[r,t]});n[2]=r;var a=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:"8895abfb40621c3b6b09",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"4b37957ccfef76b92e1a",6:"d5cbcd4abc30ba4d9808",7:"8b1e0354d230b16b0389",8:"e19b3ce2ffcde52958e6",9:"7fabdae546de371ca486",10:"c71c26ffe9e929740644",11:"e85b90356083e5b3e250",12:"cd5795695183c2acddb4",13:"e29aa5893a93a16c34bc",14:"9e2a6743137628654ca9",15:"97d59dbdfe6437962e40",16:"f4036a24000959bd38c8",17:"83e469d672229c638715",18:"8561361dededf909c152",19:"a5a9911b9e791693a0b1",20:"5edeab301229712ae055",21:"cafd61d1500edc38a50a",22:"88ed2e003202e1c062ba",23:"b2acb3bb8ecced067752",26:"52359959d210204efba3"}[e]+".js";var d=setTimeout(f,12e4);function f(){o.onerror=o.onload=null,clearTimeout(d);var n=c[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return o.onerror=o.onload=f,a.appendChild(o),r},t.m=e,t.c=r,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="./",t.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.4abaece2fdd40702ac51.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,o){for(var d,f,b,i=0,u=[];i<r.length;i++)f=r[i],t[f]&&u.push(t[f][0]),t[f]=0;for(d in a)Object.prototype.hasOwnProperty.call(a,d)&&(e[d]=a[d]);for(n&&n(r,a,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={27: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 a=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:"8895abfb40621c3b6b09",1:"d1b66d4bf3d45b2621dd",2:"344d5c61c44868322e7e",3:"88a303fc10feb8b51091",4:"f6a8f25f4e8cc458879d",5:"644195d9611959b299c7",6:"d5cbcd4abc30ba4d9808",7:"8b1e0354d230b16b0389",8:"e19b3ce2ffcde52958e6",9:"7fabdae546de371ca486",10:"c71c26ffe9e929740644",11:"e85b90356083e5b3e250",12:"cd5795695183c2acddb4",13:"e29aa5893a93a16c34bc",14:"9e2a6743137628654ca9",15:"97d59dbdfe6437962e40",16:"f4036a24000959bd38c8",17:"83e469d672229c638715",18:"8561361dededf909c152",19:"a5a9911b9e791693a0b1",20:"5edeab301229712ae055",21:"cafd61d1500edc38a50a",22:"88ed2e003202e1c062ba",23:"b2acb3bb8ecced067752",26:"52359959d210204efba3"}[e]+".js";var d=setTimeout(f,12e4);function f(){o.onerror=o.onload=null,clearTimeout(d);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return o.onerror=o.onload=f,a.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.99455abb39ce6539fb10.js.map
\ No newline at end of file
......@@ -93,7 +93,22 @@
<el-table-column label="操作" width="150px">
<template slot-scope="scope" >
<el-button v-if="!scope.row.editAble && scope.row.status != 4" type="text" size="small" class="" @click="toEditTag(scope.$index,scope.row)">编辑</el-button>
<el-button v-if="!scope.row.editAble && scope.row.status != 4" type="text" size="small" class="" @click="toDelTag(scope.$index,scope.row)">删除</el-button>
<!-- <el-button v-if="!scope.row.editAble && scope.row.status != 4" type="text" size="small" class="" @click="toDelTag(scope.$index,scope.row)">删除</el-button> -->
<el-popover
v-if="!scope.row.editAble && scope.row.status != 4"
placement="top"
width="160"
v-model="scope.row.popVisible">
<p style="line-height: 1.5; padding: 10px 10px 20px;">确认删除吗?</p>
<div style="text-align: right; margin: 0">
<el-button size="mini" type="text" @click="cancelDelTag(scope.$index,scope.row)">取消</el-button>
<el-button type="primary" size="mini" @click="toDelTag(scope.$index,scope.row)">确定</el-button>
</div>
<!-- <el-button slot="reference" class="p-l-20" type="text">
删除
</el-button> -->
<el-button slot="reference" type="text" size="small" class="">删除</el-button>
</el-popover>
<el-button v-if="scope.row.status == 4" type="text" size="small" class="" >删除中</el-button>
<el-button v-if="scope.row.editAble" type="text" @click.stop="confirmEdit(scope.$index,scope.row)">确认</el-button>
......@@ -124,7 +139,24 @@
<div class="flex excel-upload-content">
<i class="iconfont icon-CSV "></i>
<div class="flex flex-row p-l-8">
<div class="flex-1"><span class="p-r-8 color-303133">{{currentExcelName}}</span><span class="p-l-8 border-l-dcdfe6 color-1890ff excel-upload__del" @click.stop="clearOldData(scope.$index,scope.row)">删除</span></div>
<div class="flex-1">
<span class="p-r-8 color-303133">{{currentExcelName}}</span><span class="p-l-8 border-l-dcdfe6 color-1890ff excel-upload__del" @click.stop="clearOldData(scope.$index,scope.row)">删除</span>
<!-- <el-popover
v-if="!scope.row.editAble"
placement="top"
width="160"
v-model="scope.row.popVisible">
<p style="line-height: 1.5; padding: 10px 10px 20px;">确认删除吗?</p>
<div style="text-align: right; margin: 0">
<el-button size="mini" type="text" @click="cancelDelTag(scope.$index,scope.row)">取消</el-button>
<el-button type="primary" size="mini" @click="toDelCate(scope.$index,scope.row)">确定</el-button>
</div>
<el-button slot="reference" class="p-l-20" type="text">
删除
</el-button>
<el-button slot="reference" type="text" size="small" :disabled="!scope.row.enterpriseId? true: false" class="">删除</el-button>
</el-popover> -->
</div>
<div class="flex-1 color-909399 font-12 m-t-05">已导入会员 {{ currentExcelData.length }}</div>
</div>
</div>
......@@ -264,6 +296,7 @@
// editAble: false, // 是否在编辑
// optType: true, // 是否选择清空已有标签
// status: 0, // 记录上传的状态
// popVisible: false
// },
],
......@@ -493,6 +526,14 @@
},
/**
* 取消
*/
cancelDelTag(index,item) {
const that = this
item.popVisible = false
},
/**
* 删除值
*/
toDelTag(index,item) {
......@@ -554,6 +595,7 @@
ele.inputValue = ''; // 编辑输入框的值
ele.editAble = false; // 是否在编辑
ele.optType = false; // 是否选择清空已有标签
ele.popVisible = false; // 是否显示 popover
})
that.tagValTableData = resData.result
......
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