提交 cb08dd16 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 2d2860bd
...@@ -90,7 +90,8 @@ watch( ...@@ -90,7 +90,8 @@ watch(
} else { } else {
attrId && fetchUserAttrRange(attrId) attrId && fetchUserAttrRange(attrId)
} }
} },
{ immediate: true }
) )
watch( watch(
...@@ -98,7 +99,8 @@ watch( ...@@ -98,7 +99,8 @@ watch(
() => { () => {
let type = form.value.rule === '102' ? 1 : 2 let type = form.value.rule === '102' ? 1 : 2
form.value.basis === '1' ? fetchUserAttrList(type) : fetchMetaEventList(type) form.value.basis === '1' ? fetchUserAttrList(type) : fetchMetaEventList(type)
} },
{ immediate: true }
) )
</script> </script>
......
...@@ -82,7 +82,13 @@ const listOptions = computed(() => { ...@@ -82,7 +82,13 @@ const listOptions = computed(() => {
return `<span style="color: ${color}">${getNameByValue(row.status, statusList)}</span>` return `<span style="color: ${color}">${getNameByValue(row.status, statusList)}</span>`
} }
}, },
{ label: '更新人', prop: 'updated_operator.real_name' }, {
label: '更新人',
prop: 'updated_operator.real_name',
computed({ row }: any) {
return row.updated_operator?.real_name || row.updated_operator?.nickname
}
},
{ label: '更新时间', prop: 'updated_time' }, { label: '更新时间', prop: 'updated_time' },
{ label: '操作', slots: 'table-x', width: 320 } { label: '操作', slots: 'table-x', width: 320 }
] ]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论