|
|
@@ -338,6 +338,7 @@ export default {
|
|
|
loading: true,
|
|
|
// 选中数组
|
|
|
ids: [],
|
|
|
+ idsName: [],
|
|
|
// 非单个禁用
|
|
|
single: true,
|
|
|
// 非多个禁用
|
|
|
@@ -483,6 +484,9 @@ export default {
|
|
|
// 多选框选中数据
|
|
|
handleSelectionChange(selection) {
|
|
|
this.ids = selection.map((item) => item.id);
|
|
|
+ this.idsName = selection.map(
|
|
|
+ (item) => item.upPerson + "(跟进时间:" + item.realityUpDate + ")"
|
|
|
+ );
|
|
|
this.single = selection.length !== 1;
|
|
|
this.multiple = !selection.length;
|
|
|
},
|
|
|
@@ -491,7 +495,7 @@ export default {
|
|
|
let that = this;
|
|
|
this.reset();
|
|
|
// 直接绑定好项目
|
|
|
- if (projectId && typeof projectId === "string" ) {
|
|
|
+ if (projectId && typeof projectId === "string") {
|
|
|
this.pageType = "1";
|
|
|
}
|
|
|
if (this.pageType === "1") {
|
|
|
@@ -546,8 +550,11 @@ export default {
|
|
|
/** 删除按钮操作 */
|
|
|
handleDelete(row) {
|
|
|
const ids = row.id || this.ids;
|
|
|
+ const idsName = row.upPerson
|
|
|
+ ? row.upPerson + "(跟进日期:" + row.realityUpDate + ")"
|
|
|
+ : this.idsName;
|
|
|
this.$modal
|
|
|
- .confirm("是否确认删除该跟进记录?")
|
|
|
+ .confirm("是否确认删除“" + idsName + "”的跟进记录?")
|
|
|
.then(function () {
|
|
|
return delRecord(ids);
|
|
|
})
|