Commit 160089b4 by 匡雅琴

Merge branch 'kuangyq_dev_2.1.0' of http://192.168.3.233:8090/saas/scrm-micro-se…

…ttings into kuangyq_dev_2.1.0
2 parents 3a7eb9bb aae287a0
......@@ -9,3 +9,29 @@
.align-right {
text-align: right;
}
.table-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 10px;
}
.header-text {
font-size: 16px;
color: #333333;
font-weight: 500;
}
.el-button--primary.is-plain {
color: #5850FF;
border-color: #5850FF;
}
.emptyBg {
width: 100%;
img {
width: 64px;
}
}
\ No newline at end of file
......@@ -25,7 +25,8 @@ export default {
return {
input: '',
address: '',
lnglat: []
lnglat: [],
geocoderAddress: {}
}
},
......@@ -56,7 +57,7 @@ export default {
if (status === 'complete' && result.poiList.pois.length) {
let lnglat = result.poiList.pois[0].location
_this.getAddress(lnglat)
}
}
})
},
addMarker(lnglat) {
......@@ -76,8 +77,8 @@ export default {
position: position,
offset: new AMap.Pixel(-10, -10)
})
map.add(marker);
map.setFitView();
map.add(marker)
map.setFitView()
},
getAddress(e) {
console.log(e)
......@@ -99,6 +100,11 @@ export default {
geocoder.getAddress(lnglat, (status, result) => {
self.lnglat = lnglat
self.address = result.regeocode.formattedAddress
geocoder.getLocation(self.address, (status, result) => {
if (status === 'complete' && result.info === 'OK') {
this.geocoderAddress = result.geocodes[0]
}
})
})
})
},
......
/*
* @Author: your name
* @Date: 2022-03-02 15:56:07
* @LastEditTime: 2022-04-12 11:09:56
* @LastEditTime: 2022-04-12 16:36:12
* @LastEditors: huyue
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \scrm-micro-settings\src\setup\qiankun.js
......@@ -10,13 +10,14 @@ import Vue from 'vue'
// import { message } from '@/plugins/element.js'
import { fetchConfig } from '@/config'
import ElementUI from 'element-ui'
import { GLButton, GLTable, GLFooter, GLCombiForm } from 'glsx-components' //权限按钮 (根据权限动态创建)
import { GLButton, GLTable, GLFooter, GLCombiForm, GLTableButton } from 'glsx-components' //权限按钮 (根据权限动态创建)
import { getRoutes } from '@/router'
import render from './render'
Vue.use(ElementUI)
Vue.use(GLTable)
Vue.use(GLFooter)
Vue.use(GLCombiForm)
Vue.use(GLTableButton)
// import GLTable from '@/components/glsx-table/index'
// Vue.component('GLTable', GLTable)
import 'glsx-components/dist/glsx-components.css'
......
......@@ -302,13 +302,11 @@ export default {
},
{
label: '操作人',
prop: 'userName',
width: 180
prop: 'userName'
},
{
label: '操作时间',
prop: 'createdTime',
width: 180
prop: 'createdTime'
}
]
},
......
......@@ -10,12 +10,22 @@
<GLCombiForm :formObj="searchForm" :searchSelectObj="searchSelectObj" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<GLTable ref="table" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams" @refreshTable="handleSearch">
<div slot="accountTypeNames" slot-scope="scope">
<div class="accountType-row" v-for="(item, index) in scope.scope.accountTypeNames.split(',')" :key="index">{{ item }}</div>
<!-- <div class="accountType-row" v-for="(item, index) in scope.scope.accountTypeNames.split(',')" :key="index">{{ item }}</div> -->
<span v-for="(item, index) in scope.scope.accountTypeNames.split(',')" :key="index">
<span class="account-type" v-if="index < 3">{{ item }}</span>
<span class="account-type" v-if="scope.scope.accountTypeNames.split(',').length > 3 && index == 3">
<el-popover placement="top" width="300" trigger="hover">
<span slot="reference">...({{ scope.scope.accountTypeNames.split(',').length }})</span>
<span class="account-type m-b-8" v-for="(i, ids) in scope.scope.accountTypeNames.split(',')" :key="ids" :disable-transitions="false">{{ i }}</span>
</el-popover>
</span>
</span>
</div>
<template slot="auth-button" slot-scope="scope" :data="scope.scope">
<GLButton type="text" @click="handleLook(scope.scope)" fn="查看">查看</GLButton>
<GLTableButton :buttonList="buttonList" :buttonItem="scope.scope"></GLTableButton>
<!-- <GLButton type="text" @click="handleLook(scope.scope)" fn="查看">查看</GLButton>
<GLButton type="text" @click="handleEdit(scope.scope)" v-if="$globalState.session.merchantId != scope.scope.merchantNo" fn="修改" mode="el-button">修改</GLButton>
<GLButton type="text" @click="handleAdd(scope.scope)" v-if="scope.scope.status == 2 && scope.scope.merchantAccountLevel != 4" fn="创建子商户/门店" mode="el-button">创建子商户/门店</GLButton>
<GLButton type="text" @click="handleAdd(scope.scope)" v-if="scope.scope.status == 2 && scope.scope.merchantAccountLevel != 4" fn="创建子商户/门店" mode="el-button">创建商户</GLButton> -->
<!-- <el-button type="text" @click="handleLook(scope.scope)">查看</el-button> -->
<!-- <el-button type="text" @click="handleEdit(scope.scope)" v-if="$globalState.session.merchantId != scope.scope.merchantNo">修改</el-button>
<el-button type="text" @click="handleAdd(scope.scope)" v-if="scope.scope.status == 2 && scope.scope.merchantAccountLevel != 4">创建子商户/门店</el-button>-->
......@@ -50,18 +60,22 @@ export default {
// 表格参数
tableParams: {
tableOption: {
width: '150px'
width: '170px'
},
mutiSelectName: 'merchant',
btnId: new Date().getTime() + parseInt(Math.random() * 1000),
tableColumns: [
{
label: '商户名',
prop: 'merchantName'
prop: 'merchantName',
width: '200',
line: 1
},
{
label: '关联的企业微信',
prop: 'entmicroName',
width: '140',
line: 1,
formatter: cellValue => {
return cellValue.entmicroName ? cellValue.entmicroName : '-'
}
......@@ -69,20 +83,25 @@ export default {
{
label: '账户类型',
prop: 'accountTypeNames',
addHtml: 'accountTypeNames'
addHtml: 'accountTypeNames',
width: '300'
},
{
label: '登录账户',
prop: 'merchantLoginAccount'
prop: 'merchantLoginAccount',
width: '200',
line: 1
},
{
label: '账户等级',
prop: 'accountLevelName',
width: '80px'
width: '100'
},
{
label: '上级商户',
prop: 'parentMerchant',
width: '180',
line: 1,
formatter: cellValue => {
return cellValue.parentMerchant ? cellValue.parentMerchant : '-'
}
......@@ -90,11 +109,14 @@ export default {
{
label: '账户状态',
prop: 'statusName',
width: '80px'
width: '100',
line: 1
},
{
label: '联系人',
prop: 'merchantLegalPerson',
width: '150',
line: 1,
formatter: cellValue => {
return cellValue.merchantLegalPerson ? cellValue.merchantLegalPerson : '-'
}
......@@ -102,14 +124,65 @@ export default {
{
label: '手机号',
prop: 'merchantLegalPersonPhone',
width: '120px'
width: '130'
},
{
label: '更新时间',
prop: 'updatedTime'
prop: 'updatedTime',
width: '180'
}
]
},
buttonList: [
{
type: 'GLButton',
name: row => {
return '查看'
},
attrs: {
type: 'text',
fn: '查看'
},
condition: row => {
return true
},
listeners: {
click: this.handleLook
}
},
{
type: 'GLButton',
name: row => {
return '修改'
},
condition: row => {
return this.$globalState.session.merchantId != row.merchantNo
},
attrs: {
type: 'text',
fn: '修改'
},
listeners: {
click: this.handleEdit
}
},
{
type: 'GLButton',
name: row => {
return '创建商户'
},
condition: row => {
return row.status == 2 && row.merchantAccountLevel != 4
},
attrs: {
type: 'text',
fn: '创建子商户/门店'
},
listeners: {
click: this.handleAdd
}
}
],
layout: 'sizes, prev, pager, next, jumper, ->, total',
tableData: [],
tableTotal: 0,
......@@ -174,7 +247,7 @@ export default {
type: 'input'
},
{
label: '',
label: '名称',
name: 'merchantName',
type: 'input',
placeholder: '请输入商户名称/关联的企业微信名'
......@@ -349,6 +422,17 @@ export default {
top: 5px;
}
}
.account-type {
display: inline-block;
padding: 4px 8px;
background-color: #e9ecf7;
color: #666;
margin-right: 8px;
margin-bottom: 4px;
}
.m-b-8 {
margin-bottom: 8px;
}
.merchant-row {
margin-left: 20px;
&-input {
......
......@@ -9,19 +9,23 @@
<div>
<GLCombiForm :formObj="searchForm" :searchSelectObj="searchSelectObj" :formData="searchFormData" @handleOk="handleSearch" @handleRest="reSetFindData"></GLCombiForm>
</div>
<GLButton @click="handleExport" fn="导出" :size="size" type="primary" mode="el-button">导出</GLButton>
<div class="table-btn">
<el-button @click="handleExport" :size="size" type="primary" mode="el-button">导出</el-button>
<div class="table-header">
<div class="header-text">员工列表</div>
<div class="table-btn">
<el-button @click="handleExport" :size="size" type="primary" plain mode="el-button">导出</el-button>
<GLButton @click="handleExport" fn="导出" :size="size" type="primary" mode="el-button">导出</GLButton>
</div>
</div>
<!-- 表格区域 开始 -->
<GLTable ref="employeeRef" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
<div class="table-btns" slot="optionBtns" slot-scope="scope">
<div slot="optionBtns" slot-scope="scope">
<GLTableButton :buttonList="buttonList" :buttonItem="scope.scope"></GLTableButton>
<!-- <el-button type="text" @click="handleDetail(scope.scope)">查看</el-button> -->
<!-- <el-button type="text" @click="handleEdit(2, scope.scope)">修改</el-button>
<el-button type="text" @click="handleDelete(scope.scope)">删除</el-button> -->
<GLButton type="text" @click="handleDetail(scope.scope)" fn="查看" mode="el-button">查看</GLButton>
<!-- <GLButton type="text" @click="handleDetail(scope.scope)" fn="查看" mode="el-button">查看</GLButton>
<GLButton type="text" @click="handleEdit(2, scope.scope)" fn="修改" mode="el-button">修改</GLButton>
<el-button type="text" @click="handleDelete(scope.scope)">删除</el-button>
<el-button type="text" @click="handleDelete(scope.scope)">删除</el-button> -->
</div>
<template slot="otherOptions" slot-scope="scope">
......@@ -36,9 +40,10 @@
<p>启用前,你可先为该员工创建角色,配置其所需的功能权限。如下所示:</p>
<p>1. 角色管理-创建角色</p>
<p>2. 选择员工账户-修改角色</p>
<GLButton mode="el-switch" fn="开关" :size="size" slot="reference" v-model="scope.scope.statusName" active-value="启用" inactive-value="禁用" @change="e => handleSwitchChange(e, scope.scope)"></GLButton>
<GLButton mode="el-switch" fn="开关" size="mini" slot="reference" v-model="scope.scope.statusName" active-value="启用" inactive-value="禁用" @change="e => handleSwitchChange(e, scope.scope)"></GLButton>
</el-popover>
<GLButton mode="el-switch" fn="开关" v-else :size="size" slot="reference" v-model="scope.scope.statusName" active-value="启用" inactive-value="禁用" @change="e => handleSwitchChange(e, scope.scope)"></GLButton>
<GLButton mode="el-switch" fn="开关" v-else size="mini" slot="reference" v-model="scope.scope.statusName" active-value="启用" inactive-value="禁用" @change="e => handleSwitchChange(e, scope.scope)"></GLButton>
<span style="margin-left: 8px">{{ scope.scope.statusName }}</span>
</GLButton>
</template>
</GLTable>
......@@ -137,13 +142,15 @@ export default {
tableColumns: [
{
label: '员工姓名',
prop: 'staffName'
prop: 'staffName',
width: '100',
line: 1
},
{
label: '员工企微号',
prop: 'entmicroName',
line: 2,
minWidth: '100px',
line: 1,
width: '120',
formatter: cellValue => {
return cellValue.entmicroName || '-'
}
......@@ -151,7 +158,8 @@ export default {
{
label: '角色',
prop: 'roleName',
line: 2,
width: '200',
line: 1,
formatter: cellValue => {
return cellValue.roleName || '-'
}
......@@ -159,45 +167,94 @@ export default {
{
label: '登录手机号',
prop: 'staffPhone',
width: '130px'
width: '130'
},
{
label: '所属门店',
prop: 'merchantName',
line: 2
width: '300',
line: 1
},
{
label: '所属企微',
prop: 'belongingEntmicroName',
line: 2
},
{
label: '状态',
prop: 'statusName',
width: '80px'
width: '200',
line: 1
},
// {
// label: '状态',
// prop: 'statusName',
// width: '80px'
// },
{
label: '更新时间',
prop: 'updatedTime',
line: 2,
minWidth: '88px'
},
{
label: '操作',
prop: 'optionBtns',
width: '140px',
addHtml: 'optionBtns',
fixed: 'right'
line: 1,
minWidth: '180'
},
{
label: '启用开关',
prop: 'otherOptions',
width: '80px',
width: '120',
addHtml: 'otherOptions',
fixed: 'right'
},
{
label: '操作',
prop: 'optionBtns',
width: '150',
addHtml: 'optionBtns',
fixed: 'right'
}
]
},
buttonList: [
{
type: 'GLButton',
name: row => {
return '查看'
},
attrs: {
type: 'text',
fn: '查看'
},
condition: row => {
return true
},
listeners: {
click: this.handleDetail
}
},
{
type: 'GLButton',
name: '修改',
condition: row => {
return true
},
attrs: {
type: 'text',
fn: '修改'
},
listeners: {
click: this.handleModify
}
},
{
type: 'el-button',
name: row => {
return '删除'
},
condition: row => {
return true
},
attrs: {
type: 'text'
},
listeners: {
click: this.handleDelete
}
}
],
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'count' },
baseData: {
allMerchantList: [],
......@@ -306,6 +363,10 @@ export default {
addOrEdit == 1 ? this.$router.push('/employee/editEmployee/' + addOrEdit) : this.$router.push('/employee/editEmployee/' + addOrEdit + '/' + row.id)
},
handleModify(row, config) {
this.handleEdit(2, row)
},
handleSwitchChange(val, row) {
if (!row.roleName) {
const h = this.$createElement
......
......@@ -10,32 +10,16 @@
</p>
</div>
<div class="follow-form" :style="{ 'min-height': formHeight + 'px' }">
<!-- <el-form :inline="true" :model="searchForm" class="follow-form-item">
<el-form-item label="跟进专员类型">
<el-select size="small" v-model="searchForm.followerTypeId" placeholder="请选择">
<el-option v-for="item in optionsType" :key="item.id" :label="item.followName" :value="item.id"></el-option>
</el-select>
</el-form-item>
<el-form-item label="员工搜索">
<el-input size="small" v-model="searchForm.staffName" placeholder="请输入员工姓名"></el-input>
</el-form-item>
<el-form-item>
<el-button @click="handleReset" size="small">重置</el-button>
<el-button type="primary" @click="handleSearch" size="small">查询</el-button>
</el-form-item>
<el-form-item class="follow-form-jump"> -->
<!-- <GLButton fn="新增" size="small" icon="el-icon-plus" type="primary" @click="openDrawer">跟进专员</GLButton> -->
<!-- <el-button size="small" icon="el-icon-plus" type="primary" @click="openDrawer">跟进专员</el-button>
</el-form-item>
</el-form> -->
<GLCombiForm ref="showSearch" :formObj="searchForm" :searchSelectObj="searchSelectObj" :formData="searchFormData" :inline="true" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<div class="follow-btn">
<!-- <GLButton fn="新增" size="small" icon="el-icon-plus" type="primary" @click="openDrawer">跟进专员</GLButton> -->
<GLButton fn="新增" size="small" icon="el-icon-plus" type="primary" @click="openDrawer">跟进专员</GLButton>
<el-button size="small" icon="el-icon-plus" type="primary" @click="openDrawer">跟进专员</el-button>
</div>
<GLTable ref="table" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams" @refreshTable="handleSearch">
<template slot="auth-button" slot-scope="scope" :data="scope.scope">
<GLButton fn="删除" type="text" @click="handleDele(scope.scope)">删除</GLButton>
<GLTableButton :buttonList="buttonList" :buttonItem="scope.scope"></GLTableButton>
<!-- <GLButton fn="删除" type="text" @click="handleDele(scope.scope)">删除</GLButton>
<el-button fn="删除" type="text" @click="handleDele(scope.scope)">删除</el-button> -->
</template>
</GLTable>
</div>
......@@ -87,7 +71,9 @@ export default {
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' },
// 表格参数
tableParams: {
tableOption: true,
tableOption: {
width: 80
},
mutiSelectName: 'user',
btnId: new Date().getTime() + parseInt(Math.random() * 1000),
tableColumns: [
......@@ -97,23 +83,28 @@ export default {
},
{
label: '部门',
prop: 'departmentName'
prop: 'departmentName',
minWidth: 100
},
{
label: '跟进专员类型',
prop: 'followerTypeName'
prop: 'followerTypeName',
minWidth: 150
},
{
label: '手机号',
prop: 'staffPhone'
prop: 'staffPhone',
minWidth: 150
},
{
label: '首次开通时间',
prop: 'followerCreatedTime'
prop: 'followerCreatedTime',
minWidth: 150
},
{
label: '是否有外部联系人权限',
prop: 'isAddOutsider',
width: '200',
formatter: cellValue => {
return {
0: '是',
......@@ -123,6 +114,24 @@ export default {
}
]
},
buttonList: [
{
type: 'el-button',
name: row => {
return '删除'
},
attrs: {
type: 'text',
fn: '删除'
},
condition: row => {
return true
},
listeners: {
click: this.handleDele
}
}
],
layout: 'sizes, prev, pager, next, jumper, ->, total',
tableData: [],
tableTotal: 0
......
<template>
<div class="role-home-page">
<div class="top_widget">
<GLButton size="small" fn="创建角色" icon="el-icon-plus" type="primary" @click="toCreatePage">创建角色</GLButton>
<!-- <el-button size="small" icon="el-icon-plus" type="primary" @click="toCreatePage">创建角色</el-button> -->
<!-- <GLButton size="small" fn="创建角色" icon="el-icon-plus" type="primary" @click="toCreatePage">创建角色</GLButton> -->
<el-button size="small" icon="el-icon-plus" type="primary" @click="toCreatePage">创建角色</el-button>
</div>
<div class="table_widget">
<div>
<!-- <div class="left_wrap"> -->
<!-- <div v-if="accountLevel != 4" class="top_select">
<span class="select_label">商户名称</span>
<el-select size="small" clearable filterable v-model="searchForm.merchantId" placeholder="请选择">
<el-option v-for="item in merchantList" :key="item.id" :label="item.merchantName" :value="item.id"></el-option>
</el-select>
</div>
<div class="top_select">
<span class="select_label">状态</span>
<el-select size="small" v-model="searchForm.delFlag" placeholder="请选择">
<el-option v-for="item in optionData" :key="item.value" :label="item.label" :value="item.value"></el-option>
</el-select>
</div>
<div class="top_select">
<span class="select_label">角色名称</span>
<el-input style="width: 76%" size="small" v-model="searchForm.roleName" clearable placeholder="请输入"></el-input>
</div>
</div>
<div class="btn_wrapper">
<el-button size="small" @click="reSetFindData">重置</el-button>
<el-button type="primary" size="small" @click="toFindData">查询</el-button>
</div> -->
<GLCombiForm ref="showSearch" :formObj="searchForm" :searchSelectObj="searchSelectObj" :formData="searchFormData" :inline="true" @handleOk="toFindData" @handleRest="reSetFindData"></GLCombiForm>
</div>
<GLTable v-if="distoryTable" ref="table" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams" @refreshTable="getTableData">
<GLTable v-if="distoryTable" ref="table" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams" @refreshTable="getTableData">
<template slot="auth-button" slot-scope="scope" :data="scope.scope">
<GLButton type="text" @click="toLookPage(scope.scope)" fn="查看">查看</GLButton>
<GLButton v-if="!scope.scope.defalutRole" fn="修改" type="text" @click="toEditPage(scope.scope)">修改</GLButton>
<GLTableButton :buttonList="buttonList" :buttonItem="scope.scope"></GLTableButton>
<!-- <GLButton type="text" @click="toLookPage(scope.scope)" fn="查看">查看</GLButton>
<GLButton v-if="!scope.scope.defalutRole" fn="修改" type="text" @click="toEditPage(scope.scope)">修改</GLButton> -->
<!-- <el-button type="text" @click="toLookPage(scope.scope)">查看</el-button>
<el-button v-if="scope.scope.roleName!='超级管理员'" type="text" @click="toEditPage(scope.scope)">修改</el-button> -->
<el-button v-if="scope.scope.delFlag" type="text" @click="todelete(scope.scope)">删除</el-button>
<el-button v-if="scope.scope.roleName != '超级管理员'" type="text" @click="toEditPage(scope.scope)">修改</el-button>
<el-button v-if="scope.scope.delFlag" type="text" @click="todelete(scope.scope)">删除</el-button> -->
</template>
</GLTable>
</div>
......@@ -95,49 +74,38 @@ export default {
type: 'input'
}
],
// optionData: [
// {
// value: 2,
// label: '全部'
// },
// {
// value: 1,
// label: '草稿'
// },
// {
// value: 0,
// label: '启用'
// }
// ],
//表格配置
layout: 'sizes, prev, pager, next, jumper, ->, total',
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' },
tableParams: {
tableOption: true,
tableOption: {
width: '150'
},
btnId: new Date().getTime() + parseInt(Math.random() * 1000),
tableColumns: [
{
label: '角色名称',
prop: 'roleName'
prop: 'roleName',
minWidth: '200'
},
{
label: '角色号',
prop: 'roleCode'
prop: 'roleCode',
minWidth: '200'
},
{
label: '状态',
prop: 'statusName',
width: '100px'
prop: 'statusName'
},
{
label: '创建时间',
prop: 'createdTime',
width: '160px'
width: '180'
},
{
label: '更新时间',
prop: 'updatedTime',
width: '160px',
width: '180',
formatter: val => {
if (!val.updatedTime) {
return '--'
......@@ -148,6 +116,55 @@ export default {
}
]
},
buttonList: [
{
type: 'GLButton',
name: row => {
return '查看'
},
attrs: {
type: 'text',
fn: '查看'
},
condition: row => {
return true
},
listeners: {
click: this.toLookPage
}
},
{
type: 'GLButton',
name: row => {
return '修改'
},
condition: row => {
return !row.defalutRole
},
attrs: {
type: 'text',
fn: '修改'
},
listeners: {
click: this.toEditPage
}
},
{
type: 'el-button',
name: row => {
return '删除'
},
condition: row => {
return row.delFlag
},
attrs: {
type: 'text'
},
listeners: {
click: this.todelete
}
}
],
tableData: [],
merchantList: [],
tableTotal: 0,
......@@ -272,7 +289,7 @@ export default {
let accountLevel = session.accountLevel
console.log(accountLevel)
if (accountLevel != 4) {
this.tableParams.tableColumns.splice(2, 0, { label: '所属商户名', prop: 'merchantName' })
this.tableParams.tableColumns.splice(2, 0, { label: '所属商户名', prop: 'merchantName', width: '300', line: 1 })
this.getMerchantName()
let idx = this.searchFormData.findIndex(item => item.name == 'merchantId')
this.searchFormData[idx].isHide = false
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!