Commit 72a06b60 by xuyl

fn

2 parents 461c68fb f7139785
<template> <template>
<div> <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" <!-- :modal-append-to-body="false"
:append-to-body="true"--> :append-to-body="true"-->
<div class="container"> <div class="container">
...@@ -31,6 +31,10 @@ export default { ...@@ -31,6 +31,10 @@ export default {
type: Boolean, type: Boolean,
default: false default: false
}, },
isDestroyClose: {
type: Boolean,
default: false
},
isShowThirdBtn: { isShowThirdBtn: {
type: Boolean, type: Boolean,
default: false default: false
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
全部客户 全部客户
<span class="main-container-head-number font-14">{{ totalCount }}个</span> <span class="main-container-head-number font-14">{{ totalCount }}个</span>
</div> </div>
<div class="export font-14 color-6" @click="handleExport()">导出</div> <el-button type="primary" class="export flex" @click="handleExport()">导出</el-button>
</div> </div>
<GLTable ref="groupRef" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :noDataImg="url" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun"> <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"> <span slot="customerName" class="flex-center" slot-scope="scope">
...@@ -232,13 +232,14 @@ export default { ...@@ -232,13 +232,14 @@ export default {
line-height: 20px; line-height: 20px;
} }
.export { .export {
font-weight: 400; width:74px;
height:32px;
box-sizing: border-box;
// font-weight: 400;
padding: 6px 23px; padding: 6px 23px;
line-height: 20px; // background: #ffffff;
background: #ffffff; // border-radius: 4px;
border-radius: 4px; // border: 1px solid rgba(105, 105, 105, 0.3);
border: 1px solid rgba(105, 105, 105, 0.3);
cursor: pointer;
} }
} }
} }
......
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
</div> </div>
</div> </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> <slot>
<p class="hint-text color-6"> <p class="hint-text color-6">
<span class="color-3">说明:</span> <span class="color-3">说明:</span>
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<div class="clientNumText">{{ tableTotal }}个</div> <div class="clientNumText">{{ tableTotal }}个</div>
</div> </div>
</div> </div>
<div class="export" @click="handleExport">导出</div> <el-button class="export" size="small" type="primary" @click="handleExport">导出</el-button>
</div> </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"> <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"> <span slot="qiweimingcheng" slot-scope="scope">
...@@ -146,7 +146,7 @@ export default { ...@@ -146,7 +146,7 @@ export default {
searchForm3: {}, searchForm3: {},
searchFormTable: {}, searchFormTable: {},
boxHeight: 200, boxHeight: 200,
exportParams:{}, exportParams: {},
clientGroupFormList: [ clientGroupFormList: [
{ {
type: 'input', type: 'input',
...@@ -453,7 +453,6 @@ export default { ...@@ -453,7 +453,6 @@ export default {
// this.$refs.viewCustomers.page.pageSize = 10 // this.$refs.viewCustomers.page.pageSize = 10
// this.getCustomersListData() // this.getCustomersListData()
// this.dialogVisible = false // this.dialogVisible = false
}, },
filterNode(val, labelData) { filterNode(val, labelData) {
if (!val) return true if (!val) return true
...@@ -488,7 +487,7 @@ export default { ...@@ -488,7 +487,7 @@ export default {
//导出 //导出
handleExport() { handleExport() {
const params = { const params = {
...JSON.parse(JSON.stringify(this.exportParams)), ...JSON.parse(JSON.stringify(this.exportParams))
} }
console.log(params) console.log(params)
exportLabelList(params).then(res => { exportLabelList(params).then(res => {
...@@ -589,16 +588,6 @@ export default { ...@@ -589,16 +588,6 @@ export default {
} }
} }
.export { .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 { ::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!