|
@@ -28,7 +28,7 @@
|
|
|
@search-criteria-switch="searchCriteriaSwitch"
|
|
|
>
|
|
|
<template slot="menuLeft">
|
|
|
- <el-button type="primary" size="mini" @click.stop="newAdd()">新建客户 </el-button>
|
|
|
+ <el-button type="primary" size="mini" icon="el-icon-plus" @click.stop="newAdd()">新建客户 </el-button>
|
|
|
<!-- <el-button type="primary" size="mini" icon="el-icon-bottom" @click="excelBox = true">导入 </el-button>
|
|
|
<el-button type="primary" size="mini" icon="el-icon-top" @click="outExport">导出 </el-button>
|
|
|
<el-button type="primary" size="mini" icon="el-icon-download" @click="brandBox = true">
|
|
@@ -70,7 +70,7 @@
|
|
|
@click.stop="passThrough(row, '驳回')"
|
|
|
>驳回
|
|
|
</el-button> -->
|
|
|
- <el-button :size="size" :type="type" :disabled="row.enableOrNot || !roleName.includes('基础资料')" @click.stop="rowDel(row)"
|
|
|
+ <el-button :size="size" :type="type" :disabled="row.enableOrNot && row.enableOrNot == 1" @click.stop="rowDel(row)"
|
|
|
>删除
|
|
|
</el-button>
|
|
|
</template>
|
|
@@ -122,7 +122,7 @@
|
|
|
|
|
|
<script>
|
|
|
import detailsPage from "./detailsPage.vue";
|
|
|
-import { getList, getCorpType, remove, customerList, submit } from "@/api/fc/customerInformation";
|
|
|
+import {getList, getCorpType, remove, customerList, submit, delCustomer} from "@/api/fc/customerInformation";
|
|
|
import corpType from "./components/index.vue";
|
|
|
import { getToken } from "@/util/auth";
|
|
|
|
|
@@ -715,7 +715,7 @@ export default {
|
|
|
cancelButtonText: "取消",
|
|
|
type: "warning"
|
|
|
}).then(() => {
|
|
|
- remove({ id: row.id, corpType: "KH" }).then(res => {
|
|
|
+ delCustomer([row.id]).then(res => {
|
|
|
if (res.data.code == 200) {
|
|
|
this.$message({
|
|
|
type: "success",
|