Commit 9a8c8f5d authored by “yiyousong”'s avatar “yiyousong”

perf: 修改窗口关联事项

parent 371022cd
......@@ -149,7 +149,7 @@
}"
:columns="matterColumns"
:data-source="siteMatterData"
:rowKey="(record) => record.id"
:rowKey="(record) => record.matterId"
:row-selection="{
selectedRowKeys: matterKeys,
onChange: handleChange,
......@@ -392,7 +392,7 @@ export default {
return {
windowId: this.windowInfo.id,
windowName: this.windowInfo.name,
siteMatterId: v.id,
siteMatterId: v.matterId,
matterName: v.matterName,
deptId: v.deptId,
deptName: v.deptName,
......@@ -427,7 +427,7 @@ export default {
this.matterKeys = keys;
this.matterRows = [...new Set([...this.matterRows, ...rows])];
this.matterRows = this.matterRows.filter((v) => {
return this.matterKeys.some((val) => val == v.id);
return this.matterKeys.some((val) => val == v.matterId);
});
},
// 关闭添加窗口
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment