Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-task
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 e6d3e25d
authored
Oct 20, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
高度调整
1 parent
31320453
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
19 deletions
src/views/task/addTask/index.vue
src/views/task/taskList/index.vue
src/views/task/addTask/index.vue
View file @
e6d3e25
...
@@ -307,7 +307,7 @@ export default {
...
@@ -307,7 +307,7 @@ export default {
merchantName
:
''
,
merchantName
:
''
,
activityId
:
''
,
activityId
:
''
,
activityName
:
''
,
activityName
:
''
,
crowd
:
[
'
4
'
],
crowd
:
[
'
3
'
],
channel
:
1
,
channel
:
1
,
remark
:
''
,
remark
:
''
,
},
},
...
@@ -457,7 +457,7 @@ export default {
...
@@ -457,7 +457,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
$root
.
eventBus
.
$on
(
'params'
,
(
params
)
=>
{
this
.
$root
.
eventBus
.
$on
(
'params'
,
(
params
)
=>
{
console
.
log
(
params
)
console
.
log
(
params
,
'000'
)
// 判断是否是编辑
// 判断是否是编辑
if
(
params
&&
params
.
type
)
{
if
(
params
&&
params
.
type
)
{
this
.
isEditor
=
true
this
.
isEditor
=
true
...
@@ -822,7 +822,7 @@ export default {
...
@@ -822,7 +822,7 @@ export default {
'任务模板管理'
,
'任务模板管理'
,
'任务管理列表'
,
'任务管理列表'
,
])
])
this
.
$root
.
close
(
'*添加任务模板'
)
//
this.$root.close('*添加任务模板')
}
}
})
})
return
return
...
@@ -830,6 +830,7 @@ export default {
...
@@ -830,6 +830,7 @@ export default {
// 编辑
// 编辑
taskApi
.
updateMission
(
params
).
then
((
res
)
=>
{
taskApi
.
updateMission
(
params
).
then
((
res
)
=>
{
if
(
res
&&
res
.
code
==
0
)
{
if
(
res
&&
res
.
code
==
0
)
{
this
.
$root
.
close
(
'*添加任务模板'
)
this
.
$root
.
to
([
this
.
$root
.
to
([
'任务中心'
,
'任务中心'
,
'任务平台'
,
'任务平台'
,
...
@@ -837,12 +838,12 @@ export default {
...
@@ -837,12 +838,12 @@ export default {
'任务模板管理'
,
'任务模板管理'
,
'任务管理列表'
,
'任务管理列表'
,
])
])
this
.
$root
.
close
(
'*添加任务模板'
)
}
}
})
})
},
},
// 取消
// 取消
cancelSubmit
()
{
cancelSubmit
()
{
this
.
$root
.
close
(
'*添加任务模板'
)
this
.
$root
.
to
([
this
.
$root
.
to
([
'任务中心'
,
'任务中心'
,
'任务平台'
,
'任务平台'
,
...
@@ -850,7 +851,6 @@ export default {
...
@@ -850,7 +851,6 @@ export default {
'任务模板管理'
,
'任务模板管理'
,
'任务管理列表'
,
'任务管理列表'
,
])
])
this
.
$root
.
close
(
'*添加任务模板'
)
},
},
},
},
}
}
...
@@ -860,7 +860,7 @@ export default {
...
@@ -860,7 +860,7 @@ export default {
.task-box
{
.task-box
{
padding
:
0
20px
;
padding
:
0
20px
;
.task-content
{
.task-content
{
margin-bottom
:
6
0px
;
margin-bottom
:
12
0px
;
}
}
}
}
.task-title
{
.task-title
{
...
...
src/views/task/taskList/index.vue
View file @
e6d3e25
...
@@ -258,18 +258,6 @@ export default {
...
@@ -258,18 +258,6 @@ export default {
this
.
$refs
.
taskTable
.
refreshTable
()
this
.
$refs
.
taskTable
.
refreshTable
()
})
})
},
},
handleObserve
()
{
this
.
$root
.
to
(
[
'任务中心'
,
'任务平台'
,
'任务管理'
,
'任务模板管理'
,
'*查看任务'
],
{
taskId
:
scope
.
id
}
)
},
handleAnalyse
()
{
this
.
$root
.
to
(
[
'任务中心'
,
'任务平台'
,
'任务管理'
,
'任务模板管理'
,
'*任务分析'
],
{
taskId
:
scope
.
id
}
)
},
// 编辑
// 编辑
handleEdit
(
item
,
type
)
{
handleEdit
(
item
,
type
)
{
this
.
status
=
true
this
.
status
=
true
...
@@ -317,7 +305,7 @@ export default {
...
@@ -317,7 +305,7 @@ export default {
[
'任务中心'
,
'任务平台'
,
'任务管理'
,
'任务模板管理'
,
'*添加任务模板'
],
[
'任务中心'
,
'任务平台'
,
'任务管理'
,
'任务模板管理'
,
'*添加任务模板'
],
scope
scope
)
)
this
.
$root
.
close
(
'任务
模板
管理列表'
)
this
.
$root
.
close
(
'任务管理列表'
)
},
},
// 跳转查看详情
// 跳转查看详情
handleViewDetail
(
scope
)
{
handleViewDetail
(
scope
)
{
...
...
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