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 3c2f1993
authored
Jun 01, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
跳转sop
1 parent
23f0b138
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
src/views/sop/editSop.vue
src/views/sop/editSop/editEvent.vue
src/views/sop/editSop.vue
View file @
3c2f199
...
@@ -43,8 +43,13 @@ export default {
...
@@ -43,8 +43,13 @@ export default {
editEvent
editEvent
},
},
beforeRouteLeave
(
to
,
from
,
next
)
{
this
.
$common
.
utils
.
storage
.
get
(
'sopInfo'
)
&&
this
.
$common
.
utils
.
storage
.
remove
(
'sopInfo'
)
next
()
},
created
()
{
created
()
{
this
.
routeInfo
=
this
.
$route
.
query
this
.
routeInfo
=
Object
.
keys
(
this
.
$route
.
query
).
length
?
this
.
$route
.
query
:
this
.
$common
.
utils
.
storage
.
get
(
'sopInfo'
)
},
},
methods
:
{
methods
:
{
...
...
src/views/sop/editSop/editEvent.vue
View file @
3c2f199
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
<div
class=
"container edit-container"
>
<div
class=
"container edit-container"
>
<p
class=
"edit-title"
>
营销渠道
</p>
<p
class=
"edit-title"
>
营销渠道
</p>
<glsx-combi-form
class=
"edit-form-container m-r-20"
ref=
"editFormRefChannel"
:isEdit=
"isEdit"
:labelWidth=
"labelWidth"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormDataChannel"
:formRules=
"editRule"
>
<glsx-combi-form
class=
"edit-form-container m-r-20"
ref=
"editFormRefChannel"
:isEdit=
"isEdit"
:labelWidth=
"labelWidth"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormDataChannel"
:formRules=
"editRule"
>
<div
v-show=
"editForm.pushChannelType"
slot=
"channelSuffix"
class=
"edit-tips m-t-8"
>
预估受众用户总数:{{ editForm.pushChannelType == 2 ? predictCountObj.phone : predictCountObj.qiwei }} /{{ predictCountObj.total }}
</div>
<div
v-show=
"editForm.pushChannelType"
slot=
"channelSuffix"
class=
"edit-tips m-t-8"
>
预估受众用户总数:{{ editForm.pushChannelType == 2 ? predictCountObj.phone : predictCountObj.qiwei }} /
{{ predictCountObj.total }}
</div>
<
template
slot=
"reachesType"
slot-scope=
"scope"
>
<
template
slot=
"reachesType"
slot-scope=
"scope"
>
<el-radio-group
v-model=
"editForm[scope.scope.name]"
@
change=
"handleReachesType"
:disabled=
"editForm.repeatFlag == 'N'"
>
<el-radio-group
v-model=
"editForm[scope.scope.name]"
@
change=
"handleReachesType"
:disabled=
"editForm.repeatFlag == 'N'"
>
<el-radio
v-for=
"(item, index) in scope.scope.optionList"
:key=
"index"
:label=
"item[scope.scope.optionId]"
>
{{
item
[
scope
.
scope
.
optionLabel
]
}}
</el-radio>
<el-radio
v-for=
"(item, index) in scope.scope.optionList"
:key=
"index"
:label=
"item[scope.scope.optionId]"
>
{{
item
[
scope
.
scope
.
optionLabel
]
}}
</el-radio>
...
...
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