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 40073744
authored
Nov 11, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
浏览、成单支持配置物料
1 parent
b49ec841
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
src/views/task/addTask/index.vue
src/views/task/addTask/index.vue
View file @
4007374
...
@@ -169,7 +169,7 @@
...
@@ -169,7 +169,7 @@
<el-form-item
<el-form-item
:prop=
"'missionList.' + index1 + '.missionMaterialList'"
:prop=
"'missionList.' + index1 + '.missionMaterialList'"
:rules=
"taskFormRules.attachmentList"
:rules=
"taskFormRules.attachmentList"
v-if=
"itm.missonType && itm.missonType
== 2
"
v-if=
"itm.missonType && itm.missonType
!= 1
"
>
>
<label
slot=
"label"
class=
"required"
>
分享素材:
</label>
<label
slot=
"label"
class=
"required"
>
分享素材:
</label>
<GLEditor
<GLEditor
...
@@ -469,7 +469,7 @@ export default {
...
@@ -469,7 +469,7 @@ export default {
},
},
// 浏览指标任务类型
// 浏览指标任务类型
browseObj
:
{
browseObj
:
{
//
missionMaterialList: [],
missionMaterialList
:
[],
rewardType
:
''
,
rewardType
:
''
,
rewardCount
:
''
,
rewardCount
:
''
,
repeatCount
:
''
,
repeatCount
:
''
,
...
@@ -478,14 +478,14 @@ export default {
...
@@ -478,14 +478,14 @@ export default {
},
},
// 访客指标任务类型
// 访客指标任务类型
visitorObj
:
{
visitorObj
:
{
//
missionMaterialList: [],
missionMaterialList
:
[],
rewardType
:
''
,
rewardType
:
''
,
triggerValue
:
''
,
triggerValue
:
''
,
minTriggerValue
:
''
,
minTriggerValue
:
''
,
},
},
// 成单指标任务类型
// 成单指标任务类型
orderObj
:
{
orderObj
:
{
//
missionMaterialList: [],
missionMaterialList
:
[],
rewardType
:
''
,
rewardType
:
''
,
triggerValue
:
''
,
triggerValue
:
''
,
minTriggerValue
:
''
,
minTriggerValue
:
''
,
...
@@ -695,8 +695,8 @@ export default {
...
@@ -695,8 +695,8 @@ export default {
if
(
this
.
isEditor
||
(
this
.
isClone
&&
!
this
.
basicForm
.
activityName
))
if
(
this
.
isEditor
||
(
this
.
isClone
&&
!
this
.
basicForm
.
activityName
))
this
.
dealEcho
()
this
.
dealEcho
()
if
(
this
.
isClone
&&
this
.
basicForm
.
activityName
)
this
.
dealEcho
(
1
)
if
(
this
.
isClone
&&
this
.
basicForm
.
activityName
)
this
.
dealEcho
(
1
)
//
如果是如果是编辑/新建页面,还需
处理当前日期之前是否可编辑处理
// 处理当前日期之前是否可编辑处理
if
(
!
this
.
isClone
)
this
.
getEditTaskList
()
this
.
getEditTaskList
()
// 如果是克隆,还需处理克隆时间
// 如果是克隆,还需处理克隆时间
if
(
this
.
isClone
&&
!
this
.
basicForm
.
activityName
)
this
.
getCloneTaskList
()
if
(
this
.
isClone
&&
!
this
.
basicForm
.
activityName
)
this
.
getCloneTaskList
()
this
.
cloneList
=
this
.
taskList
this
.
cloneList
=
this
.
taskList
...
...
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