|
|
@@ -3,10 +3,20 @@
|
|
|
<basic-container v-show="show" class="page-crad">
|
|
|
<el-row>
|
|
|
<el-col :span="4">
|
|
|
- <avue-tree :option="treeOption" :data="treeData" @node-click="nodeClick" style="height:73vh;" @save="corpTypeVisible = true">
|
|
|
+ <avue-tree
|
|
|
+ :option="treeOption"
|
|
|
+ :data="treeData"
|
|
|
+ @node-click="nodeClick"
|
|
|
+ style="height: 73vh"
|
|
|
+ @save="corpTypeVisible = true"
|
|
|
+ >
|
|
|
<template slot="addBtn">
|
|
|
<el-tooltip class="item" effect="dark" content="新建分类" placement="top">
|
|
|
- <i class="el-icon-setting" style="font-size:18px;line-height: 30px;width: 20px;padding: 0 10px;" @click="corpTypeVisible = true"></i>
|
|
|
+ <i
|
|
|
+ class="el-icon-setting"
|
|
|
+ style="font-size: 18px; line-height: 30px; width: 20px; padding: 0 10px"
|
|
|
+ @click="corpTypeVisible = true"
|
|
|
+ ></i>
|
|
|
</el-tooltip>
|
|
|
</template>
|
|
|
</avue-tree>
|
|
|
@@ -28,7 +38,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">
|
|
|
@@ -40,7 +50,7 @@
|
|
|
<div v-else style="color: red">禁用</div>
|
|
|
</template>
|
|
|
<template slot-scope="{ row, index }" slot="cname">
|
|
|
- <span style="color: #409EFF;cursor: pointer" @click.stop="editOpen(row, 2)">{{ row.cname }}</span>
|
|
|
+ <span style="color: #409eff; cursor: pointer" @click.stop="editOpen(row, 2)">{{ row.cname }}</span>
|
|
|
</template>
|
|
|
<template slot="dateSearch">
|
|
|
<el-date-picker
|
|
|
@@ -70,7 +80,11 @@
|
|
|
@click.stop="passThrough(row, '驳回')"
|
|
|
>驳回
|
|
|
</el-button> -->
|
|
|
- <el-button :size="size" :type="type" :disabled="!(row.checkStatus == '录入' || row.checkStatus == '审核驳回')||row.enableOrNot==1" @click.stop="rowDel(row)"
|
|
|
+ <el-button
|
|
|
+ :size="size"
|
|
|
+ :type="type"
|
|
|
+ :disabled="row.enableOrNot == 1"
|
|
|
+ @click.stop="rowDel(row)"
|
|
|
>删除
|
|
|
</el-button>
|
|
|
</template>
|
|
|
@@ -96,26 +110,52 @@
|
|
|
<el-button @click="addCorpType" type="primary" size="mini">确 定</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
- <el-dialog title="导入客户" append-to-body :visible.sync="excelBox" width="555px" :close-on-click-modal="false" v-dialog-drag>
|
|
|
- <avue-form :option="excelOption" v-model="excelForm" table-loading="excelLoading" :upload-before="uploadBefore" :upload-after="uploadAfter">
|
|
|
+ <el-dialog
|
|
|
+ title="导入客户"
|
|
|
+ append-to-body
|
|
|
+ :visible.sync="excelBox"
|
|
|
+ width="555px"
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ v-dialog-drag
|
|
|
+ >
|
|
|
+ <avue-form
|
|
|
+ :option="excelOption"
|
|
|
+ v-model="excelForm"
|
|
|
+ table-loading="excelLoading"
|
|
|
+ :upload-before="uploadBefore"
|
|
|
+ :upload-after="uploadAfter"
|
|
|
+ >
|
|
|
<template slot="excelTemplate">
|
|
|
- <el-button type="primary" @click="derivation"> 点击下载<i class="el-icon-download el-icon--right"></i> </el-button>
|
|
|
+ <el-button type="primary" @click="derivation">
|
|
|
+ 点击下载<i class="el-icon-download el-icon--right"></i>
|
|
|
+ </el-button>
|
|
|
</template>
|
|
|
</avue-form>
|
|
|
- <p style="text-align: center;color: #DC0505">
|
|
|
- 温馨提示 第一次导入时请先下载模板
|
|
|
- </p>
|
|
|
+ <p style="text-align: center; color: #dc0505">温馨提示 第一次导入时请先下载模板</p>
|
|
|
</el-dialog>
|
|
|
<!--更新品牌按钮-->
|
|
|
- <el-dialog title="更新品牌" append-to-body :visible.sync="brandBox" width="555px" :close-on-click-modal="false" v-dialog-drag>
|
|
|
- <avue-form :option="brandExcel" v-model="brandExcelForm" table-loading="excelLoading" :upload-before="uploadBefore" :upload-after="brandAfter">
|
|
|
+ <el-dialog
|
|
|
+ title="更新品牌"
|
|
|
+ append-to-body
|
|
|
+ :visible.sync="brandBox"
|
|
|
+ width="555px"
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ v-dialog-drag
|
|
|
+ >
|
|
|
+ <avue-form
|
|
|
+ :option="brandExcel"
|
|
|
+ v-model="brandExcelForm"
|
|
|
+ table-loading="excelLoading"
|
|
|
+ :upload-before="uploadBefore"
|
|
|
+ :upload-after="brandAfter"
|
|
|
+ >
|
|
|
<template slot="brandTemplate">
|
|
|
- <el-button type="primary" @click="brandDerive"> 点击下载<i class="el-icon-download el-icon--right"></i> </el-button>
|
|
|
+ <el-button type="primary" @click="brandDerive">
|
|
|
+ 点击下载<i class="el-icon-download el-icon--right"></i>
|
|
|
+ </el-button>
|
|
|
</template>
|
|
|
</avue-form>
|
|
|
- <p style="text-align: center;color: #DC0505">
|
|
|
- 温馨提示 第一次导入时请先下载模板
|
|
|
- </p>
|
|
|
+ <p style="text-align: center; color: #dc0505">温馨提示 第一次导入时请先下载模板</p>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -143,7 +183,7 @@ export default {
|
|
|
label: "模板下载",
|
|
|
prop: "excelTemplate",
|
|
|
formslot: true,
|
|
|
- span: 24
|
|
|
+ span: 24,
|
|
|
},
|
|
|
{
|
|
|
label: "导入客户",
|
|
|
@@ -154,12 +194,12 @@ export default {
|
|
|
accept: ".xls,.xlsx",
|
|
|
span: 24,
|
|
|
propsHttp: {
|
|
|
- res: "data"
|
|
|
+ res: "data",
|
|
|
},
|
|
|
tip: "请上传 .xls,.xlsx 标准格式文件",
|
|
|
- action: "/api/gubersail-admin/corpsDesc/corpsImport"
|
|
|
- }
|
|
|
- ]
|
|
|
+ action: "/api/gubersail-admin/corpsDesc/corpsImport",
|
|
|
+ },
|
|
|
+ ],
|
|
|
},
|
|
|
brandExcel: {
|
|
|
submitBtn: false,
|
|
|
@@ -169,7 +209,7 @@ export default {
|
|
|
label: "模版下载",
|
|
|
prop: "brandTemplate",
|
|
|
formslot: true,
|
|
|
- span: 24
|
|
|
+ span: 24,
|
|
|
},
|
|
|
{
|
|
|
label: "导入品牌",
|
|
|
@@ -180,12 +220,12 @@ export default {
|
|
|
accept: ".xls,.xlsx",
|
|
|
span: 24,
|
|
|
propsHttp: {
|
|
|
- res: "data"
|
|
|
+ res: "data",
|
|
|
},
|
|
|
tip: "请上传 .xls,.xlsx 标准格式文件",
|
|
|
- action: "/api/gubersail-admin/corpsDesc/importBrand"
|
|
|
- }
|
|
|
- ]
|
|
|
+ action: "/api/gubersail-admin/corpsDesc/importBrand",
|
|
|
+ },
|
|
|
+ ],
|
|
|
},
|
|
|
src: "",
|
|
|
show: true,
|
|
|
@@ -200,14 +240,14 @@ export default {
|
|
|
pageSize: 20,
|
|
|
currentPage: 1,
|
|
|
total: 0,
|
|
|
- pageSizes: [10, 20, 30, 40, 50, 100, 200, 300, 400, 500]
|
|
|
+ pageSizes: [10, 20, 30, 40, 50, 100, 200, 300, 400, 500],
|
|
|
},
|
|
|
form: {
|
|
|
debitAmount: 0,
|
|
|
deliveringAmount: 0,
|
|
|
advancePayment: 0,
|
|
|
balanceAmount: 0,
|
|
|
- settlmentAmount: 0
|
|
|
+ settlmentAmount: 0,
|
|
|
},
|
|
|
formSerach: {},
|
|
|
pickerOptions: {
|
|
|
@@ -219,7 +259,7 @@ export default {
|
|
|
const start = new Date(date.getFullYear(), date.getMonth(), date.getDate(), 0, 0, 0);
|
|
|
const end = new Date(date.getFullYear(), date.getMonth(), date.getDate(), 23, 59, 59);
|
|
|
picker.$emit("pick", [start, end]);
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
text: "昨天",
|
|
|
@@ -228,7 +268,7 @@ export default {
|
|
|
const start = new Date(date.getFullYear(), date.getMonth(), date.getDate() - 1, 0, 0, 0);
|
|
|
const end = new Date(date.getFullYear(), date.getMonth(), date.getDate() - 1, 23, 59, 59);
|
|
|
picker.$emit("pick", [start, end]);
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
text: "当月",
|
|
|
@@ -237,7 +277,7 @@ export default {
|
|
|
const start = new Date(date.getFullYear(), date.getMonth(), 1, 0, 0, 0);
|
|
|
const end = new Date(date.getFullYear(), date.getMonth() + 1, 0, 23, 59, 59);
|
|
|
picker.$emit("pick", [start, end]);
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
text: "当季",
|
|
|
@@ -246,7 +286,7 @@ export default {
|
|
|
const start = new Date(date.getFullYear(), parseInt(date.getMonth() / 3) * 3, 1, 0, 0, 0);
|
|
|
const end = new Date(date.getFullYear(), parseInt(date.getMonth() / 3) * 3 + 3, 0, 23, 59, 59);
|
|
|
picker.$emit("pick", [start, end]);
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
text: "当年",
|
|
|
@@ -255,7 +295,7 @@ export default {
|
|
|
const start = new Date(date.getFullYear(), date.getMonth(), 1, 0, 0, 0);
|
|
|
const end = new Date(date.getFullYear() + 1, 0, 0, 23, 59, 59);
|
|
|
picker.$emit("pick", [start, end]);
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
text: "最近一周",
|
|
|
@@ -264,7 +304,7 @@ export default {
|
|
|
const start = new Date(date.getFullYear(), date.getMonth(), date.getDate() - 7, 0, 0, 0);
|
|
|
const end = new Date(date.getFullYear(), date.getMonth(), date.getDate(), 23, 59, 59);
|
|
|
picker.$emit("pick", [start, end]);
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
text: "最近二周",
|
|
|
@@ -273,7 +313,7 @@ export default {
|
|
|
const start = new Date(date.getFullYear(), date.getMonth(), date.getDate() - 7 * 2, 0, 0, 0);
|
|
|
const end = new Date(date.getFullYear(), date.getMonth(), date.getDate(), 23, 59, 59);
|
|
|
picker.$emit("pick", [start, end]);
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
text: "最近三周",
|
|
|
@@ -282,9 +322,9 @@ export default {
|
|
|
const start = new Date(date.getFullYear(), date.getMonth(), date.getDate() - 7 * 3, 0, 0, 0);
|
|
|
const end = new Date(date.getFullYear(), date.getMonth(), date.getDate(), 23, 59, 59);
|
|
|
picker.$emit("pick", [start, end]);
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
},
|
|
|
treeOption: {
|
|
|
addBtn: false,
|
|
|
@@ -293,8 +333,8 @@ export default {
|
|
|
props: {
|
|
|
labelText: "标题",
|
|
|
label: "title",
|
|
|
- value: "value"
|
|
|
- }
|
|
|
+ value: "value",
|
|
|
+ },
|
|
|
},
|
|
|
treeData: [],
|
|
|
form4: {},
|
|
|
@@ -309,10 +349,10 @@ export default {
|
|
|
{
|
|
|
required: true,
|
|
|
message: "",
|
|
|
- trigger: "blur"
|
|
|
- }
|
|
|
+ trigger: "blur",
|
|
|
+ },
|
|
|
],
|
|
|
- span: 24
|
|
|
+ span: 24,
|
|
|
},
|
|
|
{
|
|
|
label: "上级类型",
|
|
|
@@ -322,11 +362,11 @@ export default {
|
|
|
props: {
|
|
|
label: "cname",
|
|
|
value: "id",
|
|
|
- res: "data.records"
|
|
|
+ res: "data.records",
|
|
|
},
|
|
|
- span: 24
|
|
|
- }
|
|
|
- ]
|
|
|
+ span: 24,
|
|
|
+ },
|
|
|
+ ],
|
|
|
},
|
|
|
hostUrl: "",
|
|
|
option: {
|
|
|
@@ -355,35 +395,36 @@ export default {
|
|
|
prop: "cname",
|
|
|
overHidden: true,
|
|
|
width: 140,
|
|
|
- search: true
|
|
|
+ search: true,
|
|
|
},
|
|
|
{
|
|
|
label: "电话",
|
|
|
prop: "tel",
|
|
|
overHidden: true,
|
|
|
- search: true
|
|
|
+ search: true,
|
|
|
},
|
|
|
{
|
|
|
label: "商城价格",
|
|
|
prop: "priceSystem",
|
|
|
- overHidden: true
|
|
|
+ overHidden: true,
|
|
|
},
|
|
|
{
|
|
|
label: "客户分类",
|
|
|
prop: "corpsTypeName",
|
|
|
- overHidden: true
|
|
|
+ overHidden: true,
|
|
|
},
|
|
|
{
|
|
|
label: "业务员",
|
|
|
- prop: "salesmanId",
|
|
|
+ prop: "salesmanName",
|
|
|
overHidden: true,
|
|
|
type: "select",
|
|
|
props: {
|
|
|
label: "name",
|
|
|
- value: "id"
|
|
|
+ value: "name",
|
|
|
},
|
|
|
- dicUrl: "/api/blade-user/factoryUserList",
|
|
|
- search: true
|
|
|
+ dicUrl: "/api/blade-user/salerList",
|
|
|
+ filterable: true,
|
|
|
+ search: true,
|
|
|
},
|
|
|
|
|
|
{
|
|
|
@@ -396,13 +437,13 @@ export default {
|
|
|
dicData: [
|
|
|
{
|
|
|
label: "启用",
|
|
|
- value: 1
|
|
|
+ value: 1,
|
|
|
},
|
|
|
{
|
|
|
label: "禁用",
|
|
|
- value: 0
|
|
|
- }
|
|
|
- ]
|
|
|
+ value: 0,
|
|
|
+ },
|
|
|
+ ],
|
|
|
},
|
|
|
{
|
|
|
label: "审核状态",
|
|
|
@@ -414,25 +455,37 @@ export default {
|
|
|
type: "select",
|
|
|
dicData: [
|
|
|
{
|
|
|
+ label: "录入",
|
|
|
+ value: "录入",
|
|
|
+ },
|
|
|
+ {
|
|
|
label: "提交",
|
|
|
- value: "提交"
|
|
|
+ value: "提交",
|
|
|
},
|
|
|
{
|
|
|
- label: "通过",
|
|
|
- value: "通过"
|
|
|
+ label: "审核通过",
|
|
|
+ value: "审核通过",
|
|
|
},
|
|
|
{
|
|
|
- label: "驳回",
|
|
|
- value: "驳回"
|
|
|
- }
|
|
|
- ]
|
|
|
+ label: "审核驳回",
|
|
|
+ value: "审核驳回",
|
|
|
+ },
|
|
|
+ ],
|
|
|
},
|
|
|
{
|
|
|
label: "品牌",
|
|
|
prop: "brandName",
|
|
|
overHidden: true,
|
|
|
- // hide: true,
|
|
|
- search: true
|
|
|
+ type: "select",
|
|
|
+ dicUrl: "/api/gubersail-admin/brandDesc/list?type=PP¤t=1&size=20&cname={{key}}",
|
|
|
+ props: {
|
|
|
+ label: "cname",
|
|
|
+ value: "cname",
|
|
|
+ res: "data.records",
|
|
|
+ },
|
|
|
+ filterable: true,
|
|
|
+ remote: true,
|
|
|
+ search: true,
|
|
|
},
|
|
|
{
|
|
|
label: "创建人",
|
|
|
@@ -441,10 +494,10 @@ export default {
|
|
|
type: "select",
|
|
|
props: {
|
|
|
label: "name",
|
|
|
- value: "id"
|
|
|
+ value: "id",
|
|
|
},
|
|
|
dicUrl: "/api/blade-user/userListAll",
|
|
|
- width: 100
|
|
|
+ width: 100,
|
|
|
},
|
|
|
{
|
|
|
label: "创建时间",
|
|
|
@@ -458,42 +511,42 @@ export default {
|
|
|
format: "yyyy-MM-dd",
|
|
|
valueFormat: "yyyy-MM-dd HH:mm:ss",
|
|
|
width: 100,
|
|
|
- searchDefaultTime: ["00:00:00", "23:59:59"]
|
|
|
+ searchDefaultTime: ["00:00:00", "23:59:59"],
|
|
|
},
|
|
|
{
|
|
|
label: "合同金额",
|
|
|
prop: "debitAmount",
|
|
|
overHidden: true,
|
|
|
hide: true,
|
|
|
- showColumn: false
|
|
|
+ showColumn: false,
|
|
|
},
|
|
|
{
|
|
|
label: "已送货",
|
|
|
prop: "deliveringAmount",
|
|
|
overHidden: true,
|
|
|
hide: true,
|
|
|
- showColumn: false
|
|
|
+ showColumn: false,
|
|
|
},
|
|
|
{
|
|
|
label: "预收款",
|
|
|
prop: "advancePayment",
|
|
|
overHidden: true,
|
|
|
hide: true,
|
|
|
- showColumn: false
|
|
|
+ showColumn: false,
|
|
|
},
|
|
|
{
|
|
|
label: "未收款",
|
|
|
prop: "balanceAmount",
|
|
|
overHidden: true,
|
|
|
hide: true,
|
|
|
- showColumn: false
|
|
|
+ showColumn: false,
|
|
|
},
|
|
|
{
|
|
|
label: "已收款",
|
|
|
prop: "settlmentAmount",
|
|
|
overHidden: true,
|
|
|
hide: true,
|
|
|
- showColumn: false
|
|
|
+ showColumn: false,
|
|
|
},
|
|
|
{
|
|
|
label: "状态",
|
|
|
@@ -501,28 +554,28 @@ export default {
|
|
|
type: "select",
|
|
|
props: {
|
|
|
label: "dictValue",
|
|
|
- value: "dictKey"
|
|
|
+ value: "dictKey",
|
|
|
},
|
|
|
dicUrl: "/api/blade-system/dict-biz/dictionary?code=client_status",
|
|
|
hide: true,
|
|
|
showColumn: false,
|
|
|
- overHidden: true
|
|
|
+ overHidden: true,
|
|
|
},
|
|
|
{
|
|
|
label: "日期",
|
|
|
prop: "date",
|
|
|
hide: true,
|
|
|
showColumn: false,
|
|
|
- overHidden: true
|
|
|
- }
|
|
|
- ]
|
|
|
+ overHidden: true,
|
|
|
+ },
|
|
|
+ ],
|
|
|
},
|
|
|
- roleName: null
|
|
|
+ roleName: null,
|
|
|
};
|
|
|
},
|
|
|
components: {
|
|
|
detailsPage,
|
|
|
- corpType
|
|
|
+ corpType,
|
|
|
},
|
|
|
activated() {
|
|
|
setTimeout(() => {
|
|
|
@@ -573,8 +626,8 @@ export default {
|
|
|
path: "/api/gubersail-admin/corpsDesc/pjCorpsExport", //跳转目标窗口的地址
|
|
|
query: {
|
|
|
...config.params, //括号内是要传递给新窗口的参数
|
|
|
- identification: this.url
|
|
|
- }
|
|
|
+ identification: this.url,
|
|
|
+ },
|
|
|
});
|
|
|
window.open(routeData.href.slice(1, routeData.href.length) + "&" + `${this.website.tokenHeader}=${getToken()}`);
|
|
|
},
|
|
|
@@ -614,10 +667,10 @@ export default {
|
|
|
this.onLoad(this.page, this.search);
|
|
|
},
|
|
|
getAllWorkDicts() {
|
|
|
- getCorpType({ corpType: "KH" }).then(res => {
|
|
|
+ getCorpType({ corpType: "KH" }).then((res) => {
|
|
|
this.treeData = res.data.data;
|
|
|
});
|
|
|
- customerList({ corpType: "KH" }).then(res => {
|
|
|
+ customerList({ corpType: "KH" }).then((res) => {
|
|
|
this.findObject(this.option4.column, "parentId").dicData = res.data.data.records;
|
|
|
});
|
|
|
this.$refs.crud.init();
|
|
|
@@ -657,9 +710,9 @@ export default {
|
|
|
current: page.currentPage,
|
|
|
size: page.pageSize,
|
|
|
// ...page.pageSize,
|
|
|
- ...data
|
|
|
+ ...data,
|
|
|
})
|
|
|
- .then(res => {
|
|
|
+ .then((res) => {
|
|
|
this.dataList = res.data.data.records ? res.data.data.records : [];
|
|
|
this.page.total = res.data.data.total;
|
|
|
})
|
|
|
@@ -682,7 +735,7 @@ export default {
|
|
|
this.showInfo = true;
|
|
|
this.detailData = {
|
|
|
id: row.id,
|
|
|
- status: status
|
|
|
+ status: status,
|
|
|
};
|
|
|
this.show = false;
|
|
|
},
|
|
|
@@ -698,13 +751,13 @@ export default {
|
|
|
this.$confirm(`确定${type}数据?`, {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
- type: "warning"
|
|
|
+ type: "warning",
|
|
|
}).then(() => {
|
|
|
row.checkStatus = type;
|
|
|
- submit(row).then(res => {
|
|
|
+ submit(row).then((res) => {
|
|
|
this.$message({
|
|
|
type: "success",
|
|
|
- message: `${type}成功!`
|
|
|
+ message: `${type}成功!`,
|
|
|
});
|
|
|
this.onLoad(this.page, this.search);
|
|
|
});
|
|
|
@@ -714,13 +767,13 @@ export default {
|
|
|
this.$confirm("确定删除数据?", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
- type: "warning"
|
|
|
+ type: "warning",
|
|
|
}).then(() => {
|
|
|
- remove({ id: row.id, corpType: "KH" }).then(res => {
|
|
|
+ remove({ id: row.id, corpType: "KH" }).then((res) => {
|
|
|
if (res.data.code == 200) {
|
|
|
this.$message({
|
|
|
type: "success",
|
|
|
- message: "删除成功!"
|
|
|
+ message: "删除成功!",
|
|
|
});
|
|
|
this.onLoad(this.page, this.search);
|
|
|
}
|
|
|
@@ -737,8 +790,8 @@ export default {
|
|
|
this.$refs.crud.doLayout();
|
|
|
this.$refs.crud.refreshTable();
|
|
|
});
|
|
|
- }
|
|
|
- }
|
|
|
+ },
|
|
|
+ },
|
|
|
};
|
|
|
</script>
|
|
|
|