Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
22618891
Commit
22618891
authored
3 weeks ago
by
honghy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
需求116 后台-集运-包裹列表-操作-跟进
parent
3aa8e58a
jd_cons
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
24 deletions
+61
-24
index.vue
src/views/ecw/cons/index.vue
+7
-1
ConsFollowupEdit.vue
src/views/ecw/consFollowup/components/ConsFollowupEdit.vue
+54
-23
No files found.
src/views/ecw/cons/index.vue
View file @
22618891
...
...
@@ -178,6 +178,7 @@
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"specialNeedsCons(scope.row)"
>
{{
$t
(
'
特需
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"specialNeedsConsLook(scope.row)"
>
{{
$t
(
'
特需查看
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"feeApplication(scope.row)"
>
{{
$t
(
'
费用申请
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"consFollowup(scope.row)"
>
{{
$t
(
'
跟进
'
)
}}
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -356,7 +357,7 @@ export default {
showException
:
false
,
showSpecialNeedsCons
:
false
,
showSpecialNeedsConsLook
:
false
,
showConsFollowupEdit
:
tru
e
,
showConsFollowupEdit
:
fals
e
,
id
:
null
,
currencyList
:
[],
consNum
:
null
,
...
...
@@ -607,6 +608,11 @@ export default {
this
.
id
=
row
.
id
this
.
consNum
=
row
.
consNum
this
.
feeApplicationBol
=
true
},
//跟进记录
consFollowup
(
row
)
{
this
.
id
=
row
.
id
this
.
showConsFollowupEdit
=
true
}
}
};
...
...
This diff is collapsed.
Click to expand it.
src/views/ecw/consFollowup/components/ConsFollowupEdit.vue
View file @
22618891
<
template
>
<el-dialog
:title=
"$t('跟进记录')"
:before-close=
"()=>
{$emit('update:showConsFollowupEdit',false)}"
<el-dialog
:title=
"
cons.consNum+'-'+cons.customerNumber+'-'+
$t('跟进记录')"
:before-close=
"()=>
{$emit('update:showConsFollowupEdit',false)}"
:visible.sync="showConsFollowupEdit">
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"120px"
>
<el-form-item
label=
"状态"
prop=
"status"
>
...
...
@@ -7,7 +7,7 @@
:type=
"DICT_TYPE.ECW_CONS_FOLLOWUP_STATUS"
></dict-selector>
</el-form-item>
<el-form-item
label=
"跟进内容"
>
<el-input
type=
"textarea"
v-model=
"form.followContent"
:rows=
"6"
/>
<el-input
type=
"textarea"
v-model=
"form.followContent"
:rows=
"6"
/>
</el-form-item>
<el-form-item
label=
"下次跟进时间"
prop=
"nextFollowTime"
>
...
...
@@ -15,17 +15,29 @@
placeholder=
"选择下次跟进时间"
/>
</el-form-item>
<el-form-item
label=
"下次跟进内容"
>
<el-input
type=
"textarea"
v-model=
"form.nextFollowContent"
:rows=
"6"
/>
<el-input
type=
"textarea"
v-model=
"form.nextFollowContent"
:rows=
"6"
/>
</el-form-item>
<el-form-item
:label=
"$t('图片')"
>
<image-upload
v-model=
"exceptionUrls"
></image-upload>
<image-upload
v-model=
"
form.
exceptionUrls"
></image-upload>
</el-form-item>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"跟进人"
prop=
"followUserId"
>
<el-input
v-model=
"form.followUserId"
placeholder=
"请输入跟进人"
/>
<el-select
v-model=
"form.followUserId"
:placeholder=
"$t('请选择客户经理')"
clearable
size=
"small"
>
<el-option
v-for=
"dict in userServiceList"
:key=
"dict.id"
:label=
"dict.nickname"
:value=
"dict.id"
/>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
...
...
@@ -37,25 +49,21 @@
</el-row>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"创建人"
prop=
"followUserId"
>
<el-input
v-model=
"form.followUserId"
placeholder=
"请输入跟进人"
/>
<el-form-item
label=
"创建人"
>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"创建时间"
prop=
"followUserId"
>
<el-input
v-model=
"form.followUserId"
placeholder=
"请输入跟进人"
/>
<el-form-item
label=
"创建时间"
>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"最后更新人"
prop=
"followUserId"
>
<el-input
v-model=
"form.followUserId"
placeholder=
"请输入跟进人"
/>
<el-form-item
label=
"最后更新人"
>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"最后更新时间"
prop=
"followUserId"
>
<el-input
v-model=
"form.followUserId"
placeholder=
"请输入跟进人"
/>
<el-form-item
label=
"最后更新时间"
>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -70,38 +78,61 @@
<
script
>
import
imageUpload
from
"
@/components/ImageUpload/index.vue
"
import
{
createConsException
}
from
"
@/api/ecw/consException
"
import
Editor
from
"
@/components/Editor/index.vue
"
import
{
getCons
}
from
"
@/api/ecw/cons
"
import
{
listSimpleUsers
}
from
"
@/api/system/user
"
import
{
createConsFollowup
}
from
"
@/api/ecw/consFollowup
"
export
default
{
name
:
"
consFollowupEdit
"
,
components
:
{
Editor
,
imageUpload
},
props
:
{
id
:
[
Number
],
showConsFollowupEdit
:
{
type
:
Boolean
,
default
:
false
}
id
:
Number
,
showConsFollowupEdit
:
Boolean
},
data
()
{
return
{
form
:
{},
exceptionUrls
:
[],
form
:
{
exceptionUrls
:
[],
},
rules
:
{
status
:
[
{
required
:
true
,
message
:
"
请选择状态
"
,
trigger
:
"
blur
"
}
]
}
},
cons
:
{},
userServiceList
:
[]
}
},
methods
:
{
submitForm
()
{
this
.
$refs
.
form
.
validate
(
validate
=>
{
if
(
validate
)
{
this
.
form
.
exceptionUrls
=
this
.
params
.
exceptionUrls
.
length
?
this
.
params
.
exceptionUrls
.
split
(
"
,
"
)
:
[]
this
.
form
.
mediaBusinessType
=
2
createConsFollowup
(
this
.
form
).
then
(
response
=>
{
this
.
showConsFollowupEdit
=
false
this
.
$emit
(
"
determine
"
)
this
.
$modal
.
msgSuccess
(
"
新增成功
"
)
})
}
})
}
},
watch
:
{
showConsFollowupEdit
(
val
)
{
if
(
val
)
{
getCons
(
this
.
id
).
then
(
res
=>
{
this
.
cons
=
res
.
data
})
listSimpleUsers
().
then
((
r
)
=>
{
this
.
userServiceList
=
r
.
data
;
});
}
else
{
this
.
exceptionUrls
=
[]
this
.
form
=
{}
}
}
}
}
</
script
>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment