更新数据

This commit is contained in:
2025-07-24 17:59:32 +08:00
parent a961f32d93
commit 73fc5e2a00
2 changed files with 23 additions and 46 deletions

View File

@ -12,6 +12,7 @@
:tableConfiger="pageData.tableConfiger"
@chooseData="chooseData">
<template #sjly="{row}">
{{ row.id }}
<DictTag :tag="false" :value="row.sjly" :options="props.dic.D_GS_RQFJ_LX" />
</template>
<template #sffj="{row}">
@ -60,6 +61,7 @@ const pageData = reactive({
tableConfiger: {
rowHieght: 61,
showSelectType: "radio",
rowKey:'id',
haveControls: false,
loading: false,
},
@ -70,7 +72,6 @@ const pageData = reactive({
},
tableColumn: [
{ label: "数据来源", prop: "sjly",showSolt:true},
{ label: "数据类型", prop: "sjlx"},
{ label: "是否发掘", prop: "sffj",showSolt:true},
{ label: "数据时间", prop: "sj", showOverflowTooltip: true,},
{ label: "指向地点", prop: "dd", showOverflowTooltip: true,},
@ -104,7 +105,6 @@ const getList = () =>{
let arr = res.records || [];
pageData.tableData = arr.map((item,idex)=>{
item.sjly = dm.value ;
item.id = idex;
return item;
});
pageData.pageConfiger.total = res.total;