|
|
@@ -154,7 +154,7 @@
|
|
|
</el-col>
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
</el-row>
|
|
|
-
|
|
|
+
|
|
|
<el-table height="500" border v-loading="loading" :data="customerList" @selection-change="handleSelectionChange">
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
<el-table-column label="客户编码" align="center" prop="customerCode" />
|
|
|
@@ -220,7 +220,7 @@
|
|
|
v-hasPermi="['crm:customer:recover']"
|
|
|
>回收公海</el-button>
|
|
|
<!-- <el-button
|
|
|
-
|
|
|
+
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
@click="handleAssign(scope.row)"
|
|
|
@@ -242,13 +242,13 @@
|
|
|
<el-dialog :title="addSms.title" :visible.sync="addSms.open" width="1000px" append-to-body>
|
|
|
<add-batch-sms ref="sms" @close="closeSms()"></add-batch-sms>
|
|
|
</el-dialog>
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
<el-dialog :title="source.title" :visible.sync="source.open" width="1000px" append-to-body>
|
|
|
<edit-source ref="editSource" @close="closeSource()"></edit-source>
|
|
|
</el-dialog>
|
|
|
-
|
|
|
- <el-dialog :title="visit.title" :visible.sync="visit.open" width="600px" append-to-body>
|
|
|
+
|
|
|
+ <el-dialog :title="visit.title" :visible.sync="visit.open" width="600px" append-to-body>
|
|
|
<add-visit @closeVisit="closeVisit" ref="addVisit" />
|
|
|
</el-dialog>
|
|
|
<el-dialog :title="customer.title" :visible.sync="customer.open" width="1000px" append-to-body>
|
|
|
@@ -462,7 +462,7 @@ export default {
|
|
|
setTimeout(() => {
|
|
|
that.$refs.visitStatus.reset(row);
|
|
|
}, 500);
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
closeCustomerType(){
|
|
|
this.addCustomerType.open=false;
|
|
|
@@ -474,7 +474,7 @@ export default {
|
|
|
setTimeout(() => {
|
|
|
that.$refs.customerType.reset(row);
|
|
|
}, 500);
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
closeRemark(){
|
|
|
this.addRemark.open=false;
|
|
|
@@ -486,7 +486,7 @@ export default {
|
|
|
setTimeout(() => {
|
|
|
that.$refs.remark.reset(row);
|
|
|
}, 500);
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
closeTag(){
|
|
|
this.addTag.open=false;
|
|
|
@@ -498,7 +498,7 @@ export default {
|
|
|
setTimeout(() => {
|
|
|
that.$refs.tag.reset(row);
|
|
|
}, 500);
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
handleShow(row){
|
|
|
this.show.open=true;
|
|
|
@@ -549,7 +549,7 @@ export default {
|
|
|
setTimeout(() => {
|
|
|
that.$refs.editSource.handleEdit(that.ids);
|
|
|
}, 200);
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
closeSource(){
|
|
|
this.source.open=false;
|
|
|
@@ -593,7 +593,7 @@ export default {
|
|
|
this.citys=res.data;
|
|
|
})
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
/** 查询客户列表 */
|
|
|
getList() {
|
|
|
this.loading = true;
|
|
|
@@ -649,6 +649,12 @@ export default {
|
|
|
/** 重置按钮操作 */
|
|
|
resetQuery() {
|
|
|
this.resetForm("queryForm");
|
|
|
+ this.statusArr=[];
|
|
|
+ this.ctsTypeArr=[];
|
|
|
+ this.tagIds=[];
|
|
|
+ this.sourceArr=[];
|
|
|
+ this.createTimeRange=null;
|
|
|
+ this.dateRange = null;
|
|
|
this.handleQuery();
|
|
|
},
|
|
|
// 多选框选中数据
|
|
|
@@ -657,9 +663,9 @@ export default {
|
|
|
this.single = selection.length!==1
|
|
|
this.multiple = !selection.length
|
|
|
},
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
/** 删除按钮操作 */
|
|
|
handleDelete(row) {
|
|
|
const customerIds = row.customerId || this.ids;
|