提交 02e5f915 authored 作者: lidongxu's avatar lidongxu

Merge branch 'ldx' into dev

...@@ -834,7 +834,6 @@ const getPlanList = async (arg) => { ...@@ -834,7 +834,6 @@ const getPlanList = async (arg) => {
tableList.value = res.data.records tableList.value = res.data.records
total.value = res.data.totalRecord total.value = res.data.totalRecord
} }
getPlanList()
// 归属人列表 // 归属人列表
const belongPerList = ref([]) const belongPerList = ref([])
......
...@@ -269,13 +269,15 @@ const getBelongPerList = async () => { ...@@ -269,13 +269,15 @@ const getBelongPerList = async () => {
}) })
// 城市经理,设置默认归属人 // 城市经理,设置默认归属人
isCityManager && (queryParams.employeeId = belongPerList.value.find(item => item.employeeNo === empInfo.empNo)?.value) isCityManager && (queryParams.employeeId = belongPerList.value.find(item => item.employeeNo === empInfo.empNo)?.value)
} }
onMounted(async () => { onMounted(async () => {
// 给城市经理设置默认选中战区,需要确保归属人列表数据有值 // 给城市经理设置默认选中战区,需要确保归属人列表数据有值
await getBelongPerList() await getBelongPerList()
getWarZoneList() await getWarZoneList()
getPlanList()
}) })
/************ 数据列表管理 ************/ /************ 数据列表管理 ************/
......
...@@ -225,7 +225,6 @@ const getPlanList = async (arg) => { ...@@ -225,7 +225,6 @@ const getPlanList = async (arg) => {
tableList.value = res.data.records tableList.value = res.data.records
total.value = res.data.totalRecord total.value = res.data.totalRecord
} }
getPlanList()
defineExpose({ defineExpose({
getPlanList getPlanList
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论