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
07e3a6e6
Commit
07e3a6e6
authored
Mar 03, 2025
by
honghy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
需求116 后台-集运-包裹列表-操作-跟进
parent
4dc7f2ef
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
155 additions
and
119 deletions
+155
-119
SpecialNeedsCons.vue
src/views/ecw/cons/components/SpecialNeedsCons.vue
+0
-3
index.vue
src/views/ecw/cons/index.vue
+1
-1
ConsFollowupEdit.vue
src/views/ecw/consFollowup/components/ConsFollowupEdit.vue
+71
-23
index.vue
src/views/ecw/consFollowup/index.vue
+83
-92
No files found.
src/views/ecw/cons/components/SpecialNeedsCons.vue
View file @
07e3a6e6
...
@@ -70,11 +70,8 @@ export default {
...
@@ -70,11 +70,8 @@ export default {
})
})
let
p
=
this
.
specialNeedsList
.
filter
(
i
=>
this
.
advanceType
.
indexOf
(
i
.
advanceType
)
>
-
1
)
let
p
=
this
.
specialNeedsList
.
filter
(
i
=>
this
.
advanceType
.
indexOf
(
i
.
advanceType
)
>
-
1
)
let
p1
=
[]
let
p1
=
[]
console
.
log
(
111111111111111111111111111111111111
)
console
.
log
(
this
.
echoList
)
console
.
log
(
this
.
echoList
)
console
.
log
(
p
)
console
.
log
(
this
.
specialNeedsList
)
console
.
log
(
this
.
specialNeedsList
)
console
.
log
(
111111111111111111111111111111111111
)
//获取新增的和修改的
//获取新增的和修改的
p
.
forEach
(
item
=>
{
p
.
forEach
(
item
=>
{
...
...
src/views/ecw/cons/index.vue
View file @
07e3a6e6
...
@@ -282,7 +282,7 @@
...
@@ -282,7 +282,7 @@
<SpecialNeedsCons
:showSpecialNeedsCons.sync=
"showSpecialNeedsCons"
:currency=
"JSON.stringify(currencyList)"
:consId=
"id"
:consNum=
"consNum"
@
determine=
"getList"
></SpecialNeedsCons>
<SpecialNeedsCons
:showSpecialNeedsCons.sync=
"showSpecialNeedsCons"
:currency=
"JSON.stringify(currencyList)"
:consId=
"id"
:consNum=
"consNum"
@
determine=
"getList"
></SpecialNeedsCons>
<SpecialNeedsConsLook
:showSpecialNeedsConsLook.sync=
"showSpecialNeedsConsLook"
:consNum=
"consNum"
:consId=
"id"
></SpecialNeedsConsLook>
<SpecialNeedsConsLook
:showSpecialNeedsConsLook.sync=
"showSpecialNeedsConsLook"
:consNum=
"consNum"
:consId=
"id"
></SpecialNeedsConsLook>
<fee-application-cons
v-if=
"feeApplicationBol"
:consId=
"id"
:currencys=
"JSON.stringify(currencyList)"
:dialog-visible.sync=
"feeApplicationBol "
@
refresh=
"getList"
></fee-application-cons>
<fee-application-cons
v-if=
"feeApplicationBol"
:consId=
"id"
:currencys=
"JSON.stringify(currencyList)"
:dialog-visible.sync=
"feeApplicationBol "
@
refresh=
"getList"
></fee-application-cons>
<ConsFollowupEdit
:showConsFollowupEdit.sync=
"showConsFollowupEdit"
:
i
d=
"id"
@
determine=
"getList"
></ConsFollowupEdit>
<ConsFollowupEdit
:showConsFollowupEdit.sync=
"showConsFollowupEdit"
:
consI
d=
"id"
@
determine=
"getList"
></ConsFollowupEdit>
<batch-sign-off
:showConsBatchSignOff.sync=
"showConsBatchSignOff"
@
determine=
"getList"
:consIds=
"consIds"
></batch-sign-off>
<batch-sign-off
:showConsBatchSignOff.sync=
"showConsBatchSignOff"
@
determine=
"getList"
:consIds=
"consIds"
></batch-sign-off>
</div>
</div>
</template>
</template>
...
...
src/views/ecw/consFollowup/components/ConsFollowupEdit.vue
View file @
07e3a6e6
<
template
>
<
template
>
<el-dialog
:title=
"cons.consNum+'-'+cons.customerNumber+'-'+$t('跟进记录')"
:before-close=
"()=>
{$emit('update:showConsFollowupEdit',false)}"
<el-dialog
:title=
"cons.consNum+'-'+cons.customerNumber+'-'+$t('跟进记录')"
:before-close=
"()=>
{$emit('update:showConsFollowupEdit',false)}"
:visible.sync="showConsFollowupEdit">
:visible.sync="showConsFollowupEdit">
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"120px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"120px"
>
<el-form-item
label=
"状态"
prop=
"status"
>
<el-form-item
label=
"状态"
prop=
"status"
>
<dict-selector
:placeholder=
"$t('请选择状态')"
v-model=
"form.status"
<dict-selector
:placeholder=
"$t('请选择状态')"
v-model=
"form.status"
:type=
"DICT_TYPE.ECW_CONS_FOLLOWUP_STATUS"
></dict-selector>
:type=
"DICT_TYPE.ECW_CONS_FOLLOWUP_STATUS"
></dict-selector>
</el-form-item>
</el-form-item>
<el-form-item
label=
"跟进内容"
>
<el-form-item
label=
"跟进内容"
prop=
"followContent"
>
<el-input
type=
"textarea"
v-model=
"form.followContent"
:rows=
"
6
"
/>
<el-input
type=
"textarea"
v-model=
"form.followContent"
:rows=
"
3
"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"下次跟进时间"
prop=
"nextFollowTime"
>
<el-form-item
label=
"下次跟进时间"
prop=
"nextFollowTime"
>
<el-date-picker
clearable
v-model=
"form.nextFollowTime"
type=
"date"
value-format=
"yyyy-MM-dd"
<el-date-picker
clearable
v-model=
"form.nextFollowTime"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
"选择下次跟进时间"
/>
placeholder=
"选择下次跟进时间"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"下次跟进内容"
>
<el-form-item
label=
"下次跟进内容"
prop=
"nextFollowContent"
>
<el-input
type=
"textarea"
v-model=
"form.nextFollowContent"
:rows=
"
6
"
/>
<el-input
type=
"textarea"
v-model=
"form.nextFollowContent"
:rows=
"
3
"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('图片')"
>
<el-form-item
:label=
"$t('图片')"
>
...
@@ -50,20 +51,24 @@
...
@@ -50,20 +51,24 @@
<el-row>
<el-row>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"创建人"
>
<el-form-item
label=
"创建人"
>
{{
form
.
creatorName
}}
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"创建时间"
>
<el-form-item
label=
"创建时间"
>
{{
form
.
createTime
}}
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"最后更新人"
>
<el-form-item
label=
"最后更新人"
>
{{
form
.
updaterName
}}
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"最后更新时间"
>
<el-form-item
label=
"最后更新时间"
>
{{
form
.
updateTime
}}
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -80,24 +85,31 @@
...
@@ -80,24 +85,31 @@
import
imageUpload
from
"
@/components/ImageUpload/index.vue
"
import
imageUpload
from
"
@/components/ImageUpload/index.vue
"
import
Editor
from
"
@/components/Editor/index.vue
"
import
Editor
from
"
@/components/Editor/index.vue
"
import
{
getCons
}
from
"
@/api/ecw/cons
"
import
{
getCons
}
from
"
@/api/ecw/cons
"
import
{
listSimpleUsers
}
from
"
@/api/system/user
"
import
{
listSimpleUsers
}
from
"
@/api/system/user
"
import
{
createConsFollowup
}
from
"
@/api/ecw/consFollowup
"
import
{
createConsFollowup
,
getConsFollowup
,
updateConsFollowup
}
from
"
@/api/ecw/consFollowup
"
export
default
{
export
default
{
name
:
"
consFollowupEdit
"
,
name
:
"
consFollowupEdit
"
,
components
:
{
Editor
,
imageUpload
},
components
:
{
Editor
,
imageUpload
},
props
:
{
props
:
{
id
:
Number
,
id
:
Number
,
showConsFollowupEdit
:
Boolean
showConsFollowupEdit
:
Boolean
,
consId
:
Number
},
},
data
()
{
data
()
{
return
{
return
{
form
:
{
form
:
{
exceptionUrls
:
[]
,
exceptionUrls
:
[]
},
},
rules
:
{
rules
:
{
status
:
[
status
:
[
{
required
:
true
,
message
:
"
请选择状态
"
,
trigger
:
"
blur
"
}
{
required
:
true
,
message
:
"
请选择状态
"
,
trigger
:
"
blur
"
}
],
followContent
:
[
{
max
:
500
,
message
:
"
500max
"
,
trigger
:
"
blur
"
}
],
nextFollowContent
:
[
{
max
:
500
,
message
:
"
500max
"
,
trigger
:
"
blur
"
}
]
]
},
},
cons
:
{},
cons
:
{},
...
@@ -108,13 +120,25 @@ export default {
...
@@ -108,13 +120,25 @@ export default {
submitForm
()
{
submitForm
()
{
this
.
$refs
.
form
.
validate
(
validate
=>
{
this
.
$refs
.
form
.
validate
(
validate
=>
{
if
(
validate
)
{
if
(
validate
)
{
this
.
form
.
exceptionUrls
=
this
.
params
.
exceptionUrls
.
length
?
this
.
params
.
exceptionUrls
.
split
(
"
,
"
)
:
[]
if
(
this
.
consId
)
{
this
.
form
.
mediaBusinessType
=
2
var
parmas
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
))
createConsFollowup
(
this
.
form
).
then
(
response
=>
{
parmas
.
exceptionUrls
=
parmas
.
exceptionUrls
.
length
?
parmas
.
exceptionUrls
.
split
(
"
,
"
)
:
[]
this
.
showConsFollowupEdit
=
false
parmas
.
mediaBusinessType
=
2
this
.
$emit
(
"
determine
"
)
createConsFollowup
(
parmas
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
"
新增成功
"
)
this
.
$emit
(
"
update:showConsFollowupEdit
"
,
false
)
})
this
.
$emit
(
"
determine
"
)
this
.
$modal
.
msgSuccess
(
"
新增成功
"
)
})
}
else
{
var
parmas
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
))
parmas
.
exceptionUrls
=
parmas
.
exceptionUrls
.
length
?
parmas
.
exceptionUrls
.
split
(
"
,
"
)
:
[]
parmas
.
mediaBusinessType
=
2
updateConsFollowup
(
parmas
).
then
(
response
=>
{
this
.
$emit
(
"
update:showConsFollowupEdit
"
,
false
)
this
.
$emit
(
"
determine
"
)
this
.
$modal
.
msgSuccess
(
"
修改成功
"
)
})
}
}
}
})
})
}
}
...
@@ -122,15 +146,39 @@ export default {
...
@@ -122,15 +146,39 @@ export default {
watch
:
{
watch
:
{
showConsFollowupEdit
(
val
)
{
showConsFollowupEdit
(
val
)
{
if
(
val
)
{
if
(
val
)
{
getCons
(
this
.
id
).
then
(
res
=>
{
this
.
cons
=
res
.
data
})
listSimpleUsers
().
then
((
r
)
=>
{
listSimpleUsers
().
then
((
r
)
=>
{
this
.
userServiceList
=
r
.
data
;
this
.
userServiceList
=
r
.
data
});
})
if
(
this
.
consId
)
{
getCons
(
this
.
consId
).
then
(
res
=>
{
this
.
cons
=
res
.
data
})
// 获取当前时间精确至[年、月、日、时、分、秒]
var
now
=
new
Date
()
var
year
=
now
.
getFullYear
()
var
month
=
now
.
getMonth
()
var
date
=
now
.
getDate
()
month
=
month
+
1
month
=
month
.
toString
().
padStart
(
2
,
'
0
'
)
date
=
date
.
toString
().
padStart
(
2
,
'
0
'
)
var
defaultDate
=
`
${
year
}
-
${
month
}
-
${
date
}
`
this
.
$set
(
this
.
form
,
"
followTime
"
,
defaultDate
)
this
.
$set
(
this
.
form
,
"
consId
"
,
this
.
consId
)
this
.
$set
(
this
.
form
,
"
followUserId
"
,
this
.
$store
.
state
.
user
.
id
)
}
else
if
(
this
.
id
)
{
getConsFollowup
(
this
.
id
).
then
(
res
=>
{
var
data
=
res
.
data
data
.
exceptionUrls
=
data
.
exceptionUrls
&&
data
.
exceptionUrls
.
length
>
0
?
data
.
exceptionUrls
.
join
(
'
,
'
)
:
''
;
this
.
form
=
data
this
.
$set
(
this
.
form
,
"
status
"
,
data
.
status
+
''
)
this
.
cons
.
consNum
=
data
.
consNum
this
.
cons
.
customerNumber
=
data
.
customerNumber
})
}
}
else
{
}
else
{
this
.
exceptionUrls
=
[]
this
.
form
=
{
this
.
form
=
{}
exceptionUrls
:
[]
}
}
}
}
}
}
}
...
...
src/views/ecw/consFollowup/index.vue
View file @
07e3a6e6
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