|
@@ -153,7 +153,11 @@
|
|
|
@cell-dblclick="enterDetails"
|
|
|
>
|
|
|
<el-table-column type="selection" align="center" />
|
|
|
- <el-table-column label="编号" align="center" prop="boCode" />
|
|
|
+ <el-table-column
|
|
|
+ label="编号"
|
|
|
+ align="center"
|
|
|
+ prop="boCode"
|
|
|
+ />
|
|
|
<el-table-column label="商机名称" align="center" prop="boName" />
|
|
|
<el-table-column label="商机类型" align="center" prop="boType">
|
|
|
<template slot-scope="scope">
|
|
@@ -211,6 +215,7 @@
|
|
|
fixed="right"
|
|
|
align="center"
|
|
|
class-name="small-padding fixed-width"
|
|
|
+ width="250"
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
@@ -603,33 +608,35 @@ export default {
|
|
|
/** 查询商机基础信息列表 */
|
|
|
getList() {
|
|
|
this.loading = true;
|
|
|
- listBasic(this.addDateRange(this.queryParams, this.dateRange)).then((response) => {
|
|
|
- this.basicList = response.rows;
|
|
|
- //对商机名称进行加*
|
|
|
- console.log(this.basicList);
|
|
|
- for (var i = 0; i < this.basicList.length; i++) {
|
|
|
- var arr = this.basicList[i].boName.split("-");
|
|
|
- this.basicList[i].boName =
|
|
|
- arr[0] +
|
|
|
- "-" +
|
|
|
- arr[1].substring(0, 2) +
|
|
|
- "******" +
|
|
|
- arr[1].substring(arr[1].length - 2, arr[1].length) +
|
|
|
- "-" +
|
|
|
- arr[2];
|
|
|
+ listBasic(this.addDateRange(this.queryParams, this.dateRange)).then(
|
|
|
+ (response) => {
|
|
|
+ this.basicList = response.rows;
|
|
|
+ //对商机名称进行加*
|
|
|
+ console.log(this.basicList);
|
|
|
+ for (var i = 0; i < this.basicList.length; i++) {
|
|
|
+ var arr = this.basicList[i].boName.split("-");
|
|
|
+ this.basicList[i].boName =
|
|
|
+ arr[0] +
|
|
|
+ "-" +
|
|
|
+ arr[1].substring(0, 2) +
|
|
|
+ "******" +
|
|
|
+ arr[1].substring(arr[1].length - 2, arr[1].length) +
|
|
|
+ "-" +
|
|
|
+ arr[2];
|
|
|
|
|
|
- var customerName = this.basicList[i].customerName;
|
|
|
- this.basicList[i].customerName =
|
|
|
- customerName.substring(0, 2) +
|
|
|
- "******" +
|
|
|
- customerName.substring(
|
|
|
- customerName.length - 2,
|
|
|
- customerName.length
|
|
|
- );
|
|
|
+ var customerName = this.basicList[i].customerName;
|
|
|
+ this.basicList[i].customerName =
|
|
|
+ customerName.substring(0, 2) +
|
|
|
+ "******" +
|
|
|
+ customerName.substring(
|
|
|
+ customerName.length - 2,
|
|
|
+ customerName.length
|
|
|
+ );
|
|
|
+ }
|
|
|
+ this.total = response.total;
|
|
|
+ this.loading = false;
|
|
|
}
|
|
|
- this.total = response.total;
|
|
|
- this.loading = false;
|
|
|
- });
|
|
|
+ );
|
|
|
},
|
|
|
// 取消按钮
|
|
|
cancel() {
|