Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
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 974183a8
authored
Jul 19, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
判断用户是否填写逻辑调整
1 parent
a37c5532
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
vue3-lw-pc/src/views/drainageCode/smartForms/build/formsDetail.vue
vue3-lw-pc/src/views/drainageCode/smartForms/build/formsDetail.vue
View file @
974183a
...
...
@@ -718,19 +718,19 @@ export default {
data
.
createTime
=
new
Date
()
}
isCompleteSurvey
(
data
).
then
((
res
ponse
)
=>
{
console
.
log
(
'判断用户是否填写'
,
response
)
if
(
response
.
code
==
200
)
{
}
else
{
// this.toast(response.data)
this
.
fromList
=
''
showDialog
({
title
:
'提示'
,
message
:
'当前问卷您已填写完毕,暂时无法填写。'
,
confirmButtonText
:
'我知道了'
,
}).
then
(()
=>
{
// on close
})
isCompleteSurvey
(
data
).
then
((
res
)
=>
{
// console.log('判断用户是否填写', res
)
// res.data = true / false
if
(
res
?.
data
==
true
)
{
this
.
ifEnd
=
true
//
this.fromList = ''
//
showDialog({
//
title: '提示',
//
message: '当前问卷您已填写完毕,暂时无法填写。',
//
confirmButtonText: '我知道了',
//
}).then(() => {
//
// on close
//
})
}
})
},
...
...
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