46 lines
1.2 KiB
Vue
46 lines
1.2 KiB
Vue
|
|
<template>
|
||
|
|
<el-form :model="form" ref="formRef" label-width="auto">
|
||
|
|
<el-form-item>
|
||
|
|
<template #label>
|
||
|
|
<Tooltip message="请联系客服开通或关闭,客服电话:15955599959" />使用外呼
|
||
|
|
</template>
|
||
|
|
<el-radio-group v-model="form.callEnable" disabled>
|
||
|
|
<el-radio :label="1"> 使用 </el-radio>
|
||
|
|
<el-radio :label="0"> 不使用 </el-radio>
|
||
|
|
</el-radio-group>
|
||
|
|
</el-form-item>
|
||
|
|
<el-form-item label="跟进信息">
|
||
|
|
<el-radio-group v-model="form.followType">
|
||
|
|
<el-radio :label="1"> 展示所有 </el-radio>
|
||
|
|
<el-radio :label="2"> 仅展示本人 </el-radio>
|
||
|
|
</el-radio-group>
|
||
|
|
</el-form-item>
|
||
|
|
<el-form-item>
|
||
|
|
<el-button type="primary" @click="onSubmit">保存</el-button>
|
||
|
|
<el-button @click="getData">刷新</el-button>
|
||
|
|
</el-form-item>
|
||
|
|
</el-form>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script setup name="BasicSettingClue">
|
||
|
|
const message = useMessage()
|
||
|
|
|
||
|
|
const form = ref({
|
||
|
|
followType: 1,
|
||
|
|
callEnable: 1
|
||
|
|
})
|
||
|
|
|
||
|
|
function getData() {
|
||
|
|
form.value = {
|
||
|
|
followType: 1,
|
||
|
|
callEnable: 1
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
function onSubmit() {
|
||
|
|
message.success('保存成功')
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style lang="scss" scoped></style>
|