Commit 123b9272 authored by “yiyousong”'s avatar “yiyousong”

pref:修改工作人员窗口显示

parent 5e069882
......@@ -238,8 +238,8 @@
<span v-else>--</span>
</template>
<!-- 所属窗口 -->
<template slot="windowName" slot-scope="text">
{{ text.windowName ? text.windowName : "--" }}
<template slot="windowId" slot-scope="text">
{{ text.windowId ? filterWindow(text.windowId) : "--" }}
</template>
<!-- 创建时间 -->
<template slot="time" slot-scope="text">
......@@ -357,7 +357,7 @@ const columns = [
{
title: "所属窗口",
scopedSlots: {
customRender: "windowName",
customRender: "windowId",
},
},
{
......@@ -637,6 +637,10 @@ export default {
});
return name;
},
// 过滤窗口
filterWindow(id) {
return this.windowData.find((v) => v.id == id).fromnum;
},
},
};
</script>
......
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