【招生小程序】 优化# 按钮冒泡事件无效

master
kaeery 2025-02-28 12:37:36 +08:00
parent 86dd65acb3
commit 46ba82e344
3 changed files with 10 additions and 7 deletions

View File

@ -35,9 +35,9 @@
:labelWidth="120"
/>
</TFormItem>
<TFormItem prop="recruitTeacherName">
<TFormItem prop="telemarketingTeacherName">
<TInputField
v-model="form.recruitTeacherName"
v-model="form.telemarketingTeacherName"
label="电销老师"
placeholder=""
inputAlign="left"
@ -132,11 +132,12 @@ const form = ref({
studentName: '',
phone: '',
basicInformation: '',
state: 1,
state: null,
isConversion: 0,
remark: '',
accomplishTime: '',
followUpTime: ''
followUpTime: '',
telemarketingTeacherName: ''
})
const parseStatusText = computed(
() => optionsMap.stateOptions.find(item => item.value == form.value.state)?.label
@ -159,6 +160,7 @@ const setFormData = () => {
form.value[key] = clueDetailInfo.value[key]
}
}
console.log(form.value)
}
</script>

View File

@ -1,11 +1,12 @@
<template>
<view class="flex flex-col bg-white rounded-[16rpx] mb-[20rpx]" @click.stop="handleCardClick">
<view class="flex flex-col bg-white rounded-[16rpx] mb-[20rpx]">
<view
class="flex justify-between px-[24rpx] py-[12rpx] border-b border-solid border-[#F3F3F3]"
@click="handleCardClick"
>
<slot name="title" />
</view>
<view class="px-[24rpx] py-[16rpx] flex flex-col gap-[16rpx]">
<view class="px-[24rpx] py-[16rpx] flex flex-col gap-[16rpx]" @click="handleCardClick">
<slot name="content" />
</view>
<slot name="action" v-if="isSlotAction" />

View File

@ -140,7 +140,7 @@ const showAction = computed(() => {
)
})
//
const handleGet = async () => {
const handleGet = async e => {
const {
item: { id }
} = props