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 0bbd31fb
authored
Dec 15, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
3.3.1代码
1 parent
d2baf242
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
45 additions
and
7 deletions
src/views/sop/editSop.vue
src/views/sop/editSop/baseInfo.vue
src/views/sop/editSop/components/selectCustomer.vue
src/views/sop/editSop/editEvent.vue
src/views/sop/sopList.vue
src/views/sop/editSop.vue
View file @
0bbd31f
...
@@ -66,6 +66,7 @@ export default {
...
@@ -66,6 +66,7 @@ export default {
jumpEvent
(
obj
)
{
jumpEvent
(
obj
)
{
this
.
$set
(
this
.
eventObj
,
'addOrEdit'
,
obj
.
addOrEdit
)
this
.
$set
(
this
.
eventObj
,
'addOrEdit'
,
obj
.
addOrEdit
)
delete
obj
.
info
.
eventStartDate
this
.
$set
(
this
.
eventObj
,
'info'
,
obj
.
info
)
this
.
$set
(
this
.
eventObj
,
'info'
,
obj
.
info
)
this
.
parentCustomerObj
=
obj
.
parentCustomerObj
this
.
parentCustomerObj
=
obj
.
parentCustomerObj
this
.
eventIndex
=
obj
.
eventIndex
this
.
eventIndex
=
obj
.
eventIndex
...
...
src/views/sop/editSop/baseInfo.vue
View file @
0bbd31f
This diff is collapsed.
Click to expand it.
src/views/sop/editSop/components/selectCustomer.vue
View file @
0bbd31f
...
@@ -57,6 +57,13 @@ export default {
...
@@ -57,6 +57,13 @@ export default {
type
:
'input'
,
type
:
'input'
,
isClear
:
true
,
isClear
:
true
,
maxlength
:
11
maxlength
:
11
},
{
label
:
'企微名称'
,
name
:
'customerPhone'
,
type
:
'input'
,
isClear
:
true
,
maxlength
:
50
}
}
],
],
// 表格
// 表格
...
...
src/views/sop/editSop/editEvent.vue
View file @
0bbd31f
...
@@ -3,11 +3,16 @@
...
@@ -3,11 +3,16 @@
<div
class=
"edit-event marketing edit-box"
>
<div
class=
"edit-event marketing edit-box"
>
<!-- 营销时间 -->
<!-- 营销时间 -->
<div
class=
"container m-b-20"
>
<div
class=
"container m-b-20"
>
<p
class=
"edit-title"
>
营销时间
</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
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"
>
<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"
>
<div
slot=
"eventStartDate"
slot-scope=
"scope"
>
<el-date-picker
class=
"m-r-20"
v-model=
"editForm[scope.scope.name]"
:placeholder=
"scope.scope.placeholder"
:value-format=
"scope.scope.valueFormat"
:clearable=
"scope.scope.isClear"
:picker-options=
"scope.scope.customPickerOptions"
@
change=
"scope.scope.change"
></el-date-picker>
<el-date-picker
class=
"m-r-20"
v-model=
"editForm[scope.scope.name]"
:placeholder=
"scope.scope.placeholder"
:value-format=
"scope.scope.valueFormat"
:clearable=
"scope.scope.isClear"
:picker-options=
"scope.scope.customPickerOptions"
@
change=
"scope.scope.change"
></el-date-picker>
</div>
</div>
<div
slot=
"eventTime"
slot-scope=
"scope"
>
<div
slot=
"eventTime"
slot-scope=
"scope"
>
<el-time-picker
v-model=
"editForm[scope.scope.name]"
value-format=
"HH:mm"
format=
"HH:mm"
:placeholder=
"scope.scope.placeholder"
></el-time-picker>
<el-time-picker
v-model=
"editForm[scope.scope.name]"
value-format=
"HH:mm"
format=
"HH:mm"
:placeholder=
"scope.scope.placeholder"
></el-time-picker>
...
@@ -538,7 +543,7 @@ export default {
...
@@ -538,7 +543,7 @@ export default {
},
},
getInfo
()
{
getInfo
()
{
this
.
editForm
.
eventStartDate
=
moment
(
this
.
editForm
.
eventStartDate
).
format
(
'YYYY-MM-DD'
)
this
.
editForm
.
eventStartDate
=
this
.
editForm
.
eventStartDate
?
moment
(
this
.
editForm
.
eventStartDate
).
format
(
'YYYY-MM-DD'
)
:
''
this
.
editForm
.
eventEndDate
=
this
.
editForm
.
eventEndDate
?
moment
(
this
.
editForm
.
eventEndDate
).
format
(
'YYYY-MM-DD'
)
:
''
this
.
editForm
.
eventEndDate
=
this
.
editForm
.
eventEndDate
?
moment
(
this
.
editForm
.
eventEndDate
).
format
(
'YYYY-MM-DD'
)
:
''
this
.
previewList
=
this
.
editForm
.
object
?
[{
attContent
:
JSON
.
parse
(
JSON
.
stringify
(
this
.
editForm
.
object
)),
additionalType
:
this
.
editForm
.
object
.
additionalType
}]
:
[]
this
.
previewList
=
this
.
editForm
.
object
?
[{
attContent
:
JSON
.
parse
(
JSON
.
stringify
(
this
.
editForm
.
object
)),
additionalType
:
this
.
editForm
.
object
.
additionalType
}]
:
[]
this
.
recoveryRepeat
()
this
.
recoveryRepeat
()
...
@@ -686,7 +691,8 @@ export default {
...
@@ -686,7 +691,8 @@ export default {
},
},
handleConfirm
()
{
handleConfirm
()
{
var
countParams
=
{
console
.
log
(
this
.
editForm
.
eventStartDate
)
let
countParams
=
{
eventStartDate
:
this
.
editForm
.
eventStartDate
,
eventStartDate
:
this
.
editForm
.
eventStartDate
,
eventEndDate
:
this
.
editForm
.
eventEndDate
,
eventEndDate
:
this
.
editForm
.
eventEndDate
,
eventTime
:
this
.
editForm
.
eventTime
,
eventTime
:
this
.
editForm
.
eventTime
,
...
@@ -694,6 +700,7 @@ export default {
...
@@ -694,6 +700,7 @@ export default {
repeatMode
:
this
.
editForm
.
repeatMode
,
repeatMode
:
this
.
editForm
.
repeatMode
,
repeatTime
:
this
.
editForm
.
repeatTime
repeatTime
:
this
.
editForm
.
repeatTime
}
}
console
.
log
(
countParams
)
if
(
this
.
submit
)
{
if
(
this
.
submit
)
{
return
true
return
true
}
}
...
@@ -849,4 +856,4 @@ export default {
...
@@ -849,4 +856,4 @@ export default {
}
}
}
}
}
}
</
style
>
\ No newline at end of file
\ No newline at end of file
</
style
>
src/views/sop/sopList.vue
View file @
0bbd31f
...
@@ -81,6 +81,29 @@ export default {
...
@@ -81,6 +81,29 @@ export default {
},
},
{
{
type
:
'el-button'
,
type
:
'el-button'
,
name
:
'查看'
,
attrs
:
{
type
:
'text'
},
condition
:
row
=>
{
return
row
.
sopStatus
==
3
},
listeners
:
{
click
:
this
.
handleEnd
}
},
{
type
:
'el-button'
,
name
:
'复制'
,
attrs
:
{
type
:
'text'
},
listeners
:
{
click
:
row
=>
this
.
handleEdit
(
'copy'
,
row
)
}
},
{
type
:
'el-button'
,
name
:
'编辑'
,
name
:
'编辑'
,
attrs
:
{
attrs
:
{
type
:
'text'
type
:
'text'
...
@@ -115,7 +138,7 @@ export default {
...
@@ -115,7 +138,7 @@ export default {
{
{
label
:
'SOP名称'
,
label
:
'SOP名称'
,
prop
:
'sopName'
,
prop
:
'sopName'
,
width
:
2
6
0
,
width
:
2
4
0
,
line
:
1
line
:
1
},
},
{
{
...
...
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