feat: 清除选中的转账对象
This commit is contained in:
parent
66de070e54
commit
332036ea28
@ -311,6 +311,7 @@ import MobileHeader from '../components/MobileHeader.vue'
|
|||||||
import { usePageInitializationWithConfig } from '@/utils/pageConfig.js'
|
import { usePageInitializationWithConfig } from '@/utils/pageConfig.js'
|
||||||
import { getTeamId, getUserId } from '@/utils/userStore.js'
|
import { getTeamId, getUserId } from '@/utils/userStore.js'
|
||||||
import { getTeamMemberCount, getTeamBill, getTeamMemberWork } from '@/api/teamBill.js'
|
import { getTeamMemberCount, getTeamBill, getTeamMemberWork } from '@/api/teamBill.js'
|
||||||
|
import { clearSelectedPayee } from '../utils/payeeStore.js'
|
||||||
import workReportBox from '@/components/HostCenter/workReportBox.vue'
|
import workReportBox from '@/components/HostCenter/workReportBox.vue'
|
||||||
|
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
@ -562,6 +563,7 @@ const { userInfo, salaryInfo, taskInfo, handleImageError, getAvatarPlaceholder }
|
|||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
underlineStyle.value // 触发计算属性更新
|
underlineStyle.value // 触发计算属性更新
|
||||||
|
clearSelectedPayee() //清除选中的收款人
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -79,13 +79,14 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref } from 'vue'
|
import { onMounted, ref } from 'vue'
|
||||||
import { useRouter } from 'vue-router'
|
import { useRouter } from 'vue-router'
|
||||||
import MobileHeader from '../components/MobileHeader.vue'
|
import MobileHeader from '../components/MobileHeader.vue'
|
||||||
import { getAgentMonthLastTarget, getAgentMonthTarget, getBdAgentList } from '../api/teamBill.js'
|
import { getAgentMonthLastTarget, getAgentMonthTarget, getBdAgentList } from '../api/teamBill.js'
|
||||||
import { getTeamId } from '@/utils/userStore.js'
|
import { getTeamId } from '@/utils/userStore.js'
|
||||||
import { usePageInitializationWithConfig } from '@/utils/pageConfig.js'
|
import { usePageInitializationWithConfig } from '@/utils/pageConfig.js'
|
||||||
import { isInApp } from '@/utils/appBridge.js'
|
import { isInApp } from '@/utils/appBridge.js'
|
||||||
|
import { clearSelectedPayee } from '../utils/payeeStore.js'
|
||||||
|
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
|
|
||||||
@ -128,6 +129,10 @@ const { appConnected, userInfo, salaryInfo, handleImageError, getAvatarPlacehold
|
|||||||
getAgentMonth()
|
getAgentMonth()
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
clearSelectedPayee() //清除选中的收款人
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|||||||
@ -195,6 +195,7 @@ import { usePageInitializationWithConfig } from '@/utils/pageConfig.js'
|
|||||||
import { isInApp } from '@/utils/appBridge.js'
|
import { isInApp } from '@/utils/appBridge.js'
|
||||||
import { getTeamMemberWork } from '@/api/teamBill.js'
|
import { getTeamMemberWork } from '@/api/teamBill.js'
|
||||||
import { getUserId } from '@/utils/userStore.js'
|
import { getUserId } from '@/utils/userStore.js'
|
||||||
|
import { clearSelectedPayee } from '../utils/payeeStore.js'
|
||||||
import workReportBox from '@/components/HostCenter/workReportBox.vue'
|
import workReportBox from '@/components/HostCenter/workReportBox.vue'
|
||||||
|
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
@ -302,9 +303,7 @@ const { appConnected, userInfo, salaryInfo, taskInfo, handleImageError, getAvata
|
|||||||
})
|
})
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
console.log('userInfo:', userInfo)
|
clearSelectedPayee() //清除选中的收款人
|
||||||
console.log('salaryInfo:', salaryInfo)
|
|
||||||
console.log('userInfo:', userInfo)
|
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user