Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 687f0bd6
authored
Aug 18, 2026
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(venus-usedcar-quality): 新增线索提交修改
1 parent
a3ee5ae9
Pipeline
#224
for
687f0bd6
failed
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
apps/web/venus-usedcar-quality/src/views/add-clue/index.vue
apps/web/venus-usedcar-quality/src/views/add-clue/index.vue
View file @
687f0bd
...
@@ -6,7 +6,7 @@ import { useRoute, useRouter } from "vue-router";
...
@@ -6,7 +6,7 @@ import { useRoute, useRouter } from "vue-router";
import
{
addClueApi
,
getStoreConsultants
,
getStoreEmployeesByMerchantId
}
from
"@/api/modules/clueManage/index"
;
import
{
addClueApi
,
getStoreConsultants
,
getStoreEmployeesByMerchantId
}
from
"@/api/modules/clueManage/index"
;
import
{
formatDate
}
from
"@utils/index"
;
import
{
formatDate
}
from
"@utils/index"
;
import
{
showToast
}
from
"vant"
;
import
{
show
LoadingToast
,
show
Toast
}
from
"vant"
;
import
ConversionPicker
from
"./components/ConversionPicker.vue"
;
import
ConversionPicker
from
"./components/ConversionPicker.vue"
;
import
LevelPicker
from
"./components/LevelPicker.vue"
;
import
LevelPicker
from
"./components/LevelPicker.vue"
;
...
@@ -248,7 +248,7 @@ function validateForm(): boolean {
...
@@ -248,7 +248,7 @@ function validateForm(): boolean {
}
}
async
function
onSubmit
()
{
async
function
onSubmit
()
{
if
(
!
validateForm
())
return
;
if
(
!
validateForm
()
||
submitLoading
.
value
)
return
;
submitLoading
.
value
=
true
;
submitLoading
.
value
=
true
;
try
{
try
{
const
params
=
{
const
params
=
{
...
@@ -275,6 +275,7 @@ async function onSubmit() {
...
@@ -275,6 +275,7 @@ async function onSubmit() {
conversionMerchantId
:
conversionMerchantId
.
value
,
conversionMerchantId
:
conversionMerchantId
.
value
,
conversionMerchantName
:
conversionMerchantName
.
value
,
conversionMerchantName
:
conversionMerchantName
.
value
,
};
};
showLoadingToast
({
message
:
"加载中"
,
forbidClick
:
true
,
duration
:
0
});
console
.
log
(
"Submitting new clue with params:"
,
params
);
console
.
log
(
"Submitting new clue with params:"
,
params
);
addClueApi
(
params
).
then
(
res
=>
{
addClueApi
(
params
).
then
(
res
=>
{
const
{
code
,
msg
}
=
res
;
const
{
code
,
msg
}
=
res
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment