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 acb1b244
authored
Mar 10, 2022
by
chenwq
Committed by
杨北旺
Mar 19, 2022
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
编辑sop-添加事件
1 parent
cf2141e5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
src/views/sop/editSop/baseInfo.vue
src/views/sop/editSop/editEvent.vue
src/views/sop/editSop/baseInfo.vue
View file @
acb1b24
...
...
@@ -23,7 +23,11 @@
<div
class=
"container edit-container"
>
<div
class=
"edit-title flex"
style=
"align-items: center;"
>
<p>
营销事件设置
</p>
<el-button
class=
"m-r-20"
:disabled=
"!editForm.customerList.length"
:size=
"size"
type=
"primary"
@
click=
"handleEventEdit('add')"
>
添加事件
</el-button>
<el-tooltip
:disabled=
"!(!editForm.customerList.length || !editForm.sopName)"
effect=
"dark"
content=
"请先完善sop名称和营销对象"
placement=
"top"
>
<div>
<el-button
class=
"m-r-20"
:disabled=
"!editForm.customerList.length || !editForm.sopName"
:size=
"size"
type=
"primary"
@
click=
"handleEventEdit('add')"
>
添加事件
</el-button>
</div>
</el-tooltip>
</div>
<div
v-show=
"!editForm.eventList.length"
class=
"event-empty"
>
<img
class=
"empty-img"
:src=
"url"
/>
...
...
src/views/sop/editSop/editEvent.vue
View file @
acb1b24
...
...
@@ -3,7 +3,7 @@
<div
class=
"edit-event marketing p-t-20 edit-box"
>
<!-- 营销时间 -->
<div
class=
"container m-b-20"
>
<p
class=
"edit-title"
>
营销时间
{{
editForm
.
sopName
}}
</p>
<p
class=
"edit-title"
>
营销时间
</p>
<glsx-combi-form
class=
"edit-form-container m-r-20"
:isEdit=
"isEdit"
:labelWidth=
"labelWidth"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"sopNameFormData"
:formRules=
"editRule"
></glsx-combi-form>
<glsx-combi-form
ref=
"editFormRefDate"
:isEdit=
"isEdit"
:labelWidth=
"labelWidth"
defaultWidth=
"320px"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormDataDate"
:formRules=
"editRule"
>
<div
slot=
"eventStartDate"
slot-scope=
"scope"
>
...
...
@@ -18,13 +18,13 @@
<div
class=
"flex-default m-r-20"
slot=
"repeatTime"
slot-scope=
"scope"
>
<div
class=
"flex-default m-r-20"
v-if=
"editForm.repeatMode == '2'"
>
<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=
"请选择
每周指定日期
"
>
<el-option
v-for=
"item in baseData.weekList"
:key=
"item.confId"
:label=
"item.confName"
:value=
"item.confId"
></el-option>
</el-select>
</div>
<div
class=
"flex-default m-r-20"
v-if=
"editForm.repeatMode == '3'"
>
<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=
"请选择
每月指定日期
"
>
<el-option
v-for=
"item in baseData.monthList"
:key=
"item.confId"
:label=
"item.confName"
:value=
"item.confId"
></el-option>
</el-select>
</div>
...
...
@@ -37,7 +37,7 @@
</div>
<!-- 营销内容 -->
<div
class=
"container m-b-20"
>
<p
class=
"edit-title"
>
营销内容
{{
editForm
.
sopName
}}
</p>
<p
class=
"edit-title"
>
营销内容
</p>
<glsx-combi-form
class=
"edit-form-container m-r-20"
ref=
"editFormRefContent"
:isEdit=
"isEdit"
:labelWidth=
"labelWidth"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormDataContent"
:formRules=
"editRule"
>
<div
slot=
"eventContent"
class=
"content"
>
<div
class=
"content-bg"
>
...
...
@@ -82,7 +82,7 @@
</div>
<!-- 营销渠道 -->
<div
class=
"container edit-container"
>
<p
class=
"edit-title"
>
营销渠道
{{ editForm.sopName }}
</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>
</div>
<div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
...
...
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