Commit 72a06b60 by xuyl

fn

2 parents 461c68fb f7139785
<template>
<div>
<el-dialog :title="title" :visible.sync="isVisible" :before-close="handleClose" :close-on-click-modal="false" :width="width" :show-close="isShowCloseBtn" :destroy-on-close="true" class="app-dialog">
<el-dialog :title="title" :visible.sync="isVisible" :before-close="handleClose" :close-on-click-modal="false" :width="width" :show-close="isShowCloseBtn" :destroy-on-close="isDestroyClose" class="app-dialog">
<!-- :modal-append-to-body="false"
:append-to-body="true"-->
<div class="container">
......@@ -31,6 +31,10 @@ export default {
type: Boolean,
default: false
},
isDestroyClose: {
type: Boolean,
default: false
},
isShowThirdBtn: {
type: Boolean,
default: false
......
......@@ -12,7 +12,7 @@
全部客户
<span class="main-container-head-number font-14">{{ totalCount }}个</span>
</div>
<div class="export font-14 color-6" @click="handleExport()">导出</div>
<el-button type="primary" class="export flex" @click="handleExport()">导出</el-button>
</div>
<GLTable ref="groupRef" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :noDataImg="url" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
<span slot="customerName" class="flex-center" slot-scope="scope">
......@@ -232,13 +232,14 @@ export default {
line-height: 20px;
}
.export {
font-weight: 400;
width:74px;
height:32px;
box-sizing: border-box;
// font-weight: 400;
padding: 6px 23px;
line-height: 20px;
background: #ffffff;
border-radius: 4px;
border: 1px solid rgba(105, 105, 105, 0.3);
cursor: pointer;
// background: #ffffff;
// border-radius: 4px;
// border: 1px solid rgba(105, 105, 105, 0.3);
}
}
}
......
......@@ -176,7 +176,7 @@
</div>
</div>
</div>
<basic-dialog class="tags" :title="tagsDialogTitle" :width="'712px'" :btnLoading="sloading" :isShowThirdBtn="true" @btnEvent="goNewTag" :isVisible="tagsVisible" @confirmDialog="handleConfirm" @closeDialog="handleClose">
<basic-dialog class="tags" :title="tagsDialogTitle" :width="'712px'" :isDestroyClose="true" :btnLoading="sloading" :isShowThirdBtn="true" :isShowCloseBtn="true" @btnEvent="goNewTag" :isVisible="tagsVisible" @confirmDialog="handleConfirm" @closeDialog="handleClose">
<slot>
<p class="hint-text color-6">
<span class="color-3">说明:</span>
......
......@@ -41,7 +41,7 @@
<div class="clientNumText">{{ tableTotal }}个</div>
</div>
</div>
<div class="export" @click="handleExport">导出</div>
<el-button class="export" size="small" type="primary" @click="handleExport">导出</el-button>
</div>
<GLTable @setTableFinishFun="setTableFinishFun" v-if="isReload" ref="viewCustomers" :layout="layout" :hasNum="true" :tableData="tableData" :tableTotal="tableTotal" :noDataImg="url" :pageConf="pageConf" :searchForm="searchFormTable" @refreshTable="getCustomersListData" :tableParams="tableParams">
<span slot="qiweimingcheng" slot-scope="scope">
......@@ -146,7 +146,7 @@ export default {
searchForm3: {},
searchFormTable: {},
boxHeight: 200,
exportParams:{},
exportParams: {},
clientGroupFormList: [
{
type: 'input',
......@@ -453,7 +453,6 @@ export default {
// this.$refs.viewCustomers.page.pageSize = 10
// this.getCustomersListData()
// this.dialogVisible = false
},
filterNode(val, labelData) {
if (!val) return true
......@@ -488,7 +487,7 @@ export default {
//导出
handleExport() {
const params = {
...JSON.parse(JSON.stringify(this.exportParams)),
...JSON.parse(JSON.stringify(this.exportParams))
}
console.log(params)
exportLabelList(params).then(res => {
......@@ -589,16 +588,6 @@ export default {
}
}
.export {
width: 74px;
height: 32px;
font-size: 14px;
color: #666666;
line-height: 32px;
background: #ffffff;
border-radius: 4px;
text-align: center;
border: 1px solid rgba(105, 105, 105, 0.3);
cursor: pointer;
}
}
::v-deep .el-dialog {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!