更新数据
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user