Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gavel-oa-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李苏
gavel-oa-app
Commits
3f82e231
Commit
3f82e231
authored
Dec 03, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整逻辑为继续提交
parent
b72c1a89
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
32 deletions
+14
-32
pages.json
pages.json
+1
-7
index.vue
pages/kqgl/gzrb/xjgzrb/index.vue
+13
-25
No files found.
pages.json
View file @
3f82e231
...
...
@@ -65,14 +65,8 @@
"style"
:
{
"navigationBarTitleText"
:
""
}
},
/*
测试页面
*/
{
"path"
:
"node_modules/appcommon/src/pages/test/index"
,
"style"
:
{
"navigationBarTitleText"
:
""
}
}
...
...
pages/kqgl/gzrb/xjgzrb/index.vue
View file @
3f82e231
...
...
@@ -52,7 +52,7 @@
<ac-upload
accept=
'video'
ref=
"uploadvideo"
/>
-->
<u-button
@
tap=
'submit'
type=
"primary"
style=
"width: 60vw;height: 40px;margin-top: 15px;"
text=
"提交日报
"
></u-button>
:text=
"btext
"
></u-button>
...
...
@@ -90,6 +90,7 @@
},
data
()
{
return
{
btext
:
'提交日报'
,
/* 表单信息 */
form
:
{
xmName
:
''
,
...
...
@@ -97,7 +98,7 @@
sjwhName
:
''
,
ywrq
:
new
Date
().
getTime
(),
qzkhid
:
''
,
type
:
''
,
type
:
'
N
'
,
xmid
:
''
,
ycgzid
:
''
,
sjwhSjms
:
''
,
...
...
@@ -128,11 +129,7 @@
gznr
:
[{
required
:
true
,
message
:
'请填写工作内容'
,
}],
gzjh
:
[{
required
:
true
,
message
:
'请填写下一步计划'
,
}],
}]
}
...
...
@@ -151,18 +148,12 @@
})
},
back
(){
eventBus
.
$emit
(
'save'
)
uni
.
navigateBack
({
delta
:
1
,
})
},
submit
()
{
this
.
$refs
.
form
.
validate
().
then
(
res
=>
{
uni
.
showModal
({
title
:
'提示'
,
content
:
'是否继续操作。'
,
...
...
@@ -180,8 +171,7 @@
})
const
wfdata
=
addres
.
data
.
records
[
0
]
wfdata
.
wfoperate
=
'1'
let
userres
=
await
this
.
$post
(
'kqgl/gzrb/wfnextinfo'
,
wfdata
)
let
userres
=
await
this
.
$post
(
'kqgl/gzrb/wfnextinfo'
,
wfdata
)
const
tjlist
=
userres
.
data
.
records
[
0
]
this
.
$post
(
'kqgl/gzrb/wfgo'
,
{
nextinfo
:
tjlist
,
...
...
@@ -189,16 +179,14 @@
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
btext
=
'继续提交'
this
.
$tip
.
toast
(
'提交成功'
)
this
.
back
()
this
.
form
.
gznr
=
''
this
.
form
.
gzjh
=
''
}
})
/* 直接提交工作流 */
}
else
{
this
.
$tip
.
toast
(
'提交失败'
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment