|
@@ -195,6 +195,7 @@
|
|
|
trigger="click"
|
|
trigger="click"
|
|
|
@command="handleCommand($event, scope.row)"
|
|
@command="handleCommand($event, scope.row)"
|
|
|
>
|
|
>
|
|
|
|
|
+ <!-- class="custom-blue-color" -->
|
|
|
<span class="el-dropdown-link" @click="getButtonItem(scope.row)">
|
|
<span class="el-dropdown-link" @click="getButtonItem(scope.row)">
|
|
|
<el-button size="mini" type="text" icon="el-icon-d-arrow-right"
|
|
<el-button size="mini" type="text" icon="el-icon-d-arrow-right"
|
|
|
>更多</el-button
|
|
>更多</el-button
|
|
@@ -486,8 +487,10 @@ export default {
|
|
|
deptId: "",
|
|
deptId: "",
|
|
|
// 遮罩层
|
|
// 遮罩层
|
|
|
loading: true,
|
|
loading: true,
|
|
|
|
|
+
|
|
|
// 选中数组
|
|
// 选中数组
|
|
|
ids: [],
|
|
ids: [],
|
|
|
|
|
+ idsName: [],
|
|
|
// 非单个禁用
|
|
// 非单个禁用
|
|
|
single: true,
|
|
single: true,
|
|
|
// 非多个禁用
|
|
// 非多个禁用
|
|
@@ -752,6 +755,7 @@ export default {
|
|
|
// 多选框选中数据
|
|
// 多选框选中数据
|
|
|
handleSelectionChange(selection) {
|
|
handleSelectionChange(selection) {
|
|
|
this.ids = selection.map((item) => item.id);
|
|
this.ids = selection.map((item) => item.id);
|
|
|
|
|
+ this.idsName = selection.map((item) => item.meetingTheme);
|
|
|
this.single = selection.length !== 1;
|
|
this.single = selection.length !== 1;
|
|
|
this.multiple = !selection.length;
|
|
this.multiple = !selection.length;
|
|
|
},
|
|
},
|
|
@@ -829,8 +833,9 @@ export default {
|
|
|
/** 删除按钮操作 */
|
|
/** 删除按钮操作 */
|
|
|
handleDelete(row) {
|
|
handleDelete(row) {
|
|
|
const ids = row.id || this.ids;
|
|
const ids = row.id || this.ids;
|
|
|
|
|
+ const idsName = row.meetingTheme ? row.meetingTheme : this.idsName;
|
|
|
this.$modal
|
|
this.$modal
|
|
|
- .confirm('是否确认删除会议记录编号为"' + ids + '"的数据项?')
|
|
|
|
|
|
|
+ .confirm('是否确认删除"' + idsName + '"?')
|
|
|
.then(function () {
|
|
.then(function () {
|
|
|
return delMeeting(ids);
|
|
return delMeeting(ids);
|
|
|
})
|
|
})
|