Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web
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
中汽测评-信息安全测评系统
web
Commits
5eab100a
Commit
5eab100a
authored
Mar 12, 2024
by
jiaxu.yan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into developer/yanjiaxu
parents
c461c29f
934f05e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
index.vue
src/views/task/new/index.vue
+9
-0
No files found.
src/views/task/new/index.vue
View file @
5eab100a
...
@@ -1074,6 +1074,13 @@ export default {
...
@@ -1074,6 +1074,13 @@ export default {
closeOnClickModal
:
false
,
closeOnClickModal
:
false
,
confirmButtonClass
:
'queryBtn'
confirmButtonClass
:
'queryBtn'
}).
then
(()
=>
{
}).
then
(()
=>
{
// loading
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
'Loading'
,
spinner
:
'el-icon-loading'
,
background
:
'rgba(255, 255, 255, 0.8)'
})
// 开始窜数据
// 开始窜数据
for
(
const
key
in
this
.
model
)
{
for
(
const
key
in
this
.
model
)
{
// eslint-disable-next-line no-prototype-builtins
// eslint-disable-next-line no-prototype-builtins
...
@@ -1104,6 +1111,7 @@ export default {
...
@@ -1104,6 +1111,7 @@ export default {
if
(
this
.
taskId
===
undefined
)
{
if
(
this
.
taskId
===
undefined
)
{
createTask
(
this
.
taskCreateRequest
).
then
(
response
=>
{
createTask
(
this
.
taskCreateRequest
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
if
(
response
.
code
===
200
)
{
loading
.
close
()
this
.
$modal
.
msgSuccess
(
'发布成功'
)
this
.
$modal
.
msgSuccess
(
'发布成功'
)
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/task/on'
path
:
'/task/on'
...
@@ -1121,6 +1129,7 @@ export default {
...
@@ -1121,6 +1129,7 @@ export default {
})
})
updateTask
(
this
.
taskCreateRequest
).
then
(
response
=>
{
updateTask
(
this
.
taskCreateRequest
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
if
(
response
.
code
===
200
)
{
loading
.
close
()
this
.
$modal
.
msgSuccess
(
'修改成功'
)
this
.
$modal
.
msgSuccess
(
'修改成功'
)
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/task/on'
path
:
'/task/on'
...
...
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