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

perf: 修改窗口关联事项

parent 371022cd
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
}" }"
:columns="matterColumns" :columns="matterColumns"
:data-source="siteMatterData" :data-source="siteMatterData"
:rowKey="(record) => record.id" :rowKey="(record) => record.matterId"
:row-selection="{ :row-selection="{
selectedRowKeys: matterKeys, selectedRowKeys: matterKeys,
onChange: handleChange, onChange: handleChange,
...@@ -392,7 +392,7 @@ export default { ...@@ -392,7 +392,7 @@ export default {
return { return {
windowId: this.windowInfo.id, windowId: this.windowInfo.id,
windowName: this.windowInfo.name, windowName: this.windowInfo.name,
siteMatterId: v.id, siteMatterId: v.matterId,
matterName: v.matterName, matterName: v.matterName,
deptId: v.deptId, deptId: v.deptId,
deptName: v.deptName, deptName: v.deptName,
...@@ -427,7 +427,7 @@ export default { ...@@ -427,7 +427,7 @@ export default {
this.matterKeys = keys; this.matterKeys = keys;
this.matterRows = [...new Set([...this.matterRows, ...rows])]; this.matterRows = [...new Set([...this.matterRows, ...rows])];
this.matterRows = this.matterRows.filter((v) => { 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