fix(DetailedDataTable): 修复选中行逻辑并移除调试注释
修复表格行选中逻辑,现在支持通过sale_name或leader_name匹配选中状态 移除topone.vue中无用的调试注释和多余空行
This commit is contained in:
@@ -1022,56 +1022,6 @@ async function getDetailData(params) {
|
||||
try {
|
||||
const res = await getDetailedDataTable()
|
||||
console.log('详细数据表格:', res)
|
||||
/**
|
||||
* data
|
||||
:
|
||||
[{leader_name: "郭可英", conversion_rate: "0.00%", total_deals: 0, plus_v_rate: "59.75%",…},…]
|
||||
0
|
||||
:
|
||||
{leader_name: "郭可英", conversion_rate: "0.00%", total_deals: 0, plus_v_rate: "59.75%",…}
|
||||
conversion_rate
|
||||
:
|
||||
"0.00%"
|
||||
form_filling_rate
|
||||
:
|
||||
"59.75%"
|
||||
group_rate
|
||||
:
|
||||
"54.09%"
|
||||
leader_name
|
||||
:
|
||||
"郭可英"
|
||||
plus_v_rate
|
||||
:
|
||||
"59.75%"
|
||||
total_deals
|
||||
:
|
||||
0
|
||||
1
|
||||
:
|
||||
{leader_name: "刘瑞", conversion_rate: "1.32%", total_deals: 7, plus_v_rate: "47.17%",…}
|
||||
conversion_rate
|
||||
:
|
||||
"1.32%"
|
||||
form_filling_rate
|
||||
:
|
||||
"47.17%"
|
||||
group_rate
|
||||
:
|
||||
"39.25%"
|
||||
leader_name
|
||||
:
|
||||
"刘瑞"
|
||||
plus_v_rate
|
||||
:
|
||||
"47.17%"
|
||||
total_deals
|
||||
:
|
||||
7
|
||||
message
|
||||
:
|
||||
"获取详细数据表格成功"
|
||||
*/
|
||||
detailData.value = res.data
|
||||
} catch (error) {
|
||||
console.error("获取详细数据表格失败:", error);
|
||||
@@ -1095,10 +1045,8 @@ onMounted(async() => {
|
||||
// await getCenterSalesRank('periods')
|
||||
// await getCustomerTypeRatio('child_education')
|
||||
// await getCustomerUrgency()
|
||||
await CusotomGetLevelTree()
|
||||
await getDetailData()
|
||||
|
||||
|
||||
await CusotomGetLevelTree()
|
||||
await getDetailData()
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user