style: 调整编码查询详情显示字段
This commit is contained in:
parent
88e65e112f
commit
3f6d261e4c
@ -89,6 +89,26 @@ export const useIndex = (tableRef: Ref) => {
|
|||||||
label: "查询文本",
|
label: "查询文本",
|
||||||
prop: "query_text"
|
prop: "query_text"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: "匹配编码",
|
||||||
|
prop: "result_text",
|
||||||
|
formatter: ({ result_text }) => {
|
||||||
|
if (result_text.length > 0) {
|
||||||
|
return result_text[0]["code"];
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: "编码描述",
|
||||||
|
prop: "result_text",
|
||||||
|
formatter: ({ result_text }) => {
|
||||||
|
if (result_text.length > 0) {
|
||||||
|
return result_text[0]["description"];
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: "操作",
|
label: "操作",
|
||||||
fixed: "right",
|
fixed: "right",
|
||||||
|
@ -220,6 +220,26 @@ const columns: TableColumnList = [
|
|||||||
label: "查询文本",
|
label: "查询文本",
|
||||||
prop: "query_text"
|
prop: "query_text"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: "匹配编码",
|
||||||
|
prop: "result_text",
|
||||||
|
formatter: ({ result_text }) => {
|
||||||
|
if (result_text.length > 0) {
|
||||||
|
return result_text[0]["code"];
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: "编码描述",
|
||||||
|
prop: "result_text",
|
||||||
|
formatter: ({ result_text }) => {
|
||||||
|
if (result_text.length > 0) {
|
||||||
|
return result_text[0]["description"];
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: "操作",
|
label: "操作",
|
||||||
fixed: "right",
|
fixed: "right",
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<PureTableBar title="操作日志" :columns="columns" @refresh="onSearch">
|
<PureTableBar title="查询日志" :columns="columns" @refresh="onSearch">
|
||||||
<template #buttons>
|
<template #buttons>
|
||||||
<el-popconfirm
|
<el-popconfirm
|
||||||
title="确定要导出所有日志数据吗?"
|
title="确定要导出所有日志数据吗?"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user