Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 8440ed2f
authored
Jun 01, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
参与次数验证交互
1 parent
11453487
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
src/views/sop/editSop/editEvent.vue
src/views/sop/editSop/editEvent.vue
View file @
8440ed2
...
@@ -18,20 +18,20 @@
...
@@ -18,20 +18,20 @@
<div
class=
"flex-default m-r-20"
slot=
"repeatTime"
slot-scope=
"scope"
>
<div
class=
"flex-default m-r-20"
slot=
"repeatTime"
slot-scope=
"scope"
>
<div
class=
"flex-default m-r-20"
v-if=
"editForm.repeatMode == 2"
>
<div
class=
"flex-default m-r-20"
v-if=
"editForm.repeatMode == 2"
>
<p
style=
"width: 50px"
>
每周
</p>
<p
style=
"width: 50px"
>
每周
</p>
<el-select
:size=
"size"
v-model=
"editForm[scope.scope.name]"
placeholder=
"请选择每周指定日期"
>
<el-select
:size=
"size"
v-model=
"editForm[scope.scope.name]"
placeholder=
"请选择每周指定日期"
@
change=
"handleResetMaxSet"
>
<el-option
v-for=
"item in baseData.weekList"
:key=
"item.confId"
:label=
"item.confName"
:value=
"item.confId"
></el-option>
<el-option
v-for=
"item in baseData.weekList"
:key=
"item.confId"
:label=
"item.confName"
:value=
"item.confId"
></el-option>
</el-select>
</el-select>
</div>
</div>
<div
class=
"flex-default m-r-20"
v-if=
"editForm.repeatMode == 3"
>
<div
class=
"flex-default m-r-20"
v-if=
"editForm.repeatMode == 3"
>
<p
style=
"width: 50px"
>
每月
</p>
<p
style=
"width: 50px"
>
每月
</p>
<el-select
:size=
"size"
v-model=
"editForm[scope.scope.name]"
placeholder=
"请选择每月指定日期"
>
<el-select
:size=
"size"
v-model=
"editForm[scope.scope.name]"
placeholder=
"请选择每月指定日期"
@
change=
"handleResetMaxSet"
>
<el-option
v-for=
"item in baseData.monthList"
:key=
"item.confId"
:label=
"item.confName"
:value=
"item.confId"
></el-option>
<el-option
v-for=
"item in baseData.monthList"
:key=
"item.confId"
:label=
"item.confName"
:value=
"item.confId"
></el-option>
</el-select>
</el-select>
</div>
</div>
<div>
重复循环至
</div>
<div>
重复循环至
</div>
</div>
</div>
<div
slot=
"eventEndDate"
slot-scope=
"scope"
>
<div
slot=
"eventEndDate"
slot-scope=
"scope"
>
<el-date-picker
v-model=
"editForm[scope.scope.name]"
:disabled=
"!editForm.eventStartDate"
:placeholder=
"scope.scope.placeholder"
:value-format=
"scope.scope.valueFormat"
:clearable=
"scope.scope.isClear"
:picker-options=
"scope.scope.customPickerOptions"
></el-date-picker>
<el-date-picker
v-model=
"editForm[scope.scope.name]"
:disabled=
"!editForm.eventStartDate"
:placeholder=
"scope.scope.placeholder"
:value-format=
"scope.scope.valueFormat"
:clearable=
"scope.scope.isClear"
:picker-options=
"scope.scope.customPickerOptions"
@
change=
"handleResetMaxSet"
></el-date-picker>
</div>
</div>
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
...
@@ -86,8 +86,10 @@
...
@@ -86,8 +86,10 @@
同一用户最多参与
同一用户最多参与
<el-form-item
prop=
"reachesTypeSet"
>
<el-form-item
prop=
"reachesTypeSet"
>
<el-input
v-model=
"editForm.reachesTypeSet"
></el-input>
<el-input
v-model=
"editForm.reachesTypeSet"
></el-input>
<span
class=
"txt-red"
v-if=
"+maxReachesTypeSet
< editForm
.
reachesTypeSet
"
>
该用户最多能参与
{{
maxReachesTypeSet
}}
次
</span>
<div
v-show=
"editForm.reachesTypeSet && maxReachesTypeSet"
>
<span
class=
"txt-red"
v-else-if=
"editForm.reachesTypeSet
< 2
"
>
只能输入2及以上的数字
</span>
<span
class=
"txt-red"
v-if=
"+maxReachesTypeSet
< editForm
.
reachesTypeSet
"
>
该用户最多能参与
{{
maxReachesTypeSet
}}
次
</span>
<span
class=
"txt-red"
v-else-if=
"editForm.reachesTypeSet
< 2
"
>
只能输入2及以上的数字
</span>
</div>
</el-form-item>
</el-form-item>
次
次
</span>
</span>
...
@@ -294,6 +296,7 @@ export default {
...
@@ -294,6 +296,7 @@ export default {
handleRadioChange
:
val
=>
{
handleRadioChange
:
val
=>
{
this
.
editForm
.
repeatTime
=
''
this
.
editForm
.
repeatTime
=
''
this
.
editForm
.
eventEndDate
=
''
this
.
editForm
.
eventEndDate
=
''
this
.
maxReachesTypeSet
=
''
}
}
}
}
],
],
...
@@ -488,6 +491,10 @@ export default {
...
@@ -488,6 +491,10 @@ export default {
}
}
},
},
handleResetMaxSet
()
{
this
.
maxReachesTypeSet
=
''
},
getStaffTypeList
()
{
getStaffTypeList
()
{
this
.
$apis
.
common
.
getStaffFollowerListApi
({}).
then
(
res
=>
{
this
.
$apis
.
common
.
getStaffFollowerListApi
({}).
then
(
res
=>
{
this
.
baseData
.
staffTypeList
=
res
this
.
baseData
.
staffTypeList
=
res
...
...
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