Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
chart-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
zhangzhaowei
chart-web
Commits
a178cf55
Commit
a178cf55
authored
Jun 05, 2019
by
looker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aap
parent
341d2ade
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
48 additions
and
4 deletions
+48
-4
index.vue
src/page/main/right-panel/baozheng/cus-service/index.vue
+39
-3
api.js
src/service/api.js
+3
-1
baozheng.js
src/service/baozheng.js
+1
-0
baozheng.js
src/store/modules/baozheng.js
+5
-0
No files found.
src/page/main/right-panel/baozheng/cus-service/index.vue
View file @
a178cf55
...
...
@@ -57,6 +57,36 @@
</el-table>
</div>
<cus-info
v-if=
"customerInfo!=null"
></cus-info>
<div>
<el-card
class=
"box-card"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
商品信息
</span>
</div>
<div
class=
"box-body"
v-for=
"item in obs"
>
<el-row>
<el-col
:span=
"8"
><div
class=
"grid-content bg-purple"
>
<img
height=
"100px"
width=
"100px;"
src=
"https://god-image.oss-cn-beijing.aliyuncs.com/2019/01/24/71591229-4fb0-4e62-b233-00e029541e59.jpg"
alt=
""
>
</div>
</el-col>
<el-col
:span=
"16"
><div
class=
"grid-content bg-purple-light"
>
<div
style=
""
>
<span
style=
"text-align: left"
>
商品编号:
</span>
<span>
{{item.goodsCode}}
</span>
</div>
<div
style=
"margin-top:20px "
>
<span
style=
"text-align: left"
>
状态:
</span>
<span>
{{item.statusValue}}
</span>
</div>
<div
style=
"margin-top:20px "
>
<span
style=
"text-align: left"
>
预计完工时间:
</span>
<span>
{{item.expectEndDate}}
</span>
</div>
</div></el-col>
</el-row>
</div>
</el-card>
</div>
<!-- <el-card class="box-card">
<div slot="header" class="clearfix">
<span>售前咨询</span>
...
...
@@ -79,6 +109,7 @@ export default{
centerDialogVisible
:
false
,
speechContext
:
'13906025858'
,
activeName
:
'second'
,
obs
:[],
baseInfo
:[
{
label
:
'微信昵称'
,
...
...
@@ -115,6 +146,9 @@ export default{
mounted
()
{
this
.
$refs
.
text
&&
this
.
$refs
.
text
.
focus
()
this
.
setCustomerInfo
()
this
.
unDeliveryOut
().
then
((
data
)
=>
{
this
.
obs
=
data
})
},
watch
:{
selectedChat
(
val
){
...
...
@@ -122,6 +156,9 @@ export default{
this
.
baseInfo
[
1
].
value
=
val
.
user
.
username
this
.
baseInfo
[
2
].
value
=
val
.
user
.
conRemark
this
.
setCustomerInfo
()
this
.
unDeliveryOut
().
then
((
data
)
=>
{
this
.
obs
=
data
})
console
.
log
(
333
)
}
},
...
...
@@ -129,13 +166,12 @@ export default{
...
mapActions
(
'baozheng'
,[
'setCustomerInfo'
,
'findByMobile'
,
'bindChatUser'
'bindChatUser'
,
'unDeliveryOut'
]),
goSearch
(){
let
mobile
=
this
.
speechContext
this
.
findByMobile
({
mobile
}).
then
((
data
)
=>
{
console
.
log
(
'---------'
)
console
.
log
(
data
)
this
.
tableData
=
[
data
]
})
},
...
...
src/service/api.js
View file @
a178cf55
...
...
@@ -24,6 +24,8 @@ baozheng.searchBiaoqingbao = `${process.env.API_URL}p/api/images`
baozheng
.
getScriptTags
=
`
${
process
.
env
.
API_URL
}
p/api/speech/label`
baozheng
.
getScriptCatgary
=
`
${
process
.
env
.
API_URL
}
p/api/speech/sort`
baozheng
.
bindChatUser
=
`
${
process
.
env
.
API_URL
}
nice-wechat-service/v1/customer/bindChatUser`
baozheng
.
unDeliveryOut
=
`
${
process
.
env
.
API_URL
}
nice-wechat-service/v1/goods/unDeliveryOut`
baozheng
.
getScripts
=
""
url
.
baozheng
=
baozheng
// url.wsUrl = process.env.API_URL
...
...
src/service/baozheng.js
View file @
a178cf55
...
...
@@ -62,6 +62,7 @@ const apis = [
[
apiUrl
.
baozheng
.
personTodo
],
[
apiUrl
.
baozheng
.
getScriptTags
],
[
apiUrl
.
baozheng
.
searchBiaoqingbao
],
[
apiUrl
.
baozheng
.
unDeliveryOut
],
[
apiUrl
.
baozheng
.
teamTodo
],
[
apiUrl
.
baozheng
.
getScriptCatgary
],
[
apiUrl
.
baozheng
.
bindChatUser
,
'post'
],
...
...
src/store/modules/baozheng.js
View file @
a178cf55
...
...
@@ -146,6 +146,11 @@ const baozheng = {
return
new
Promise
((
resolve
,
reject
)
=>
{
chenzhenService
.
get
(
baozhengApi
.
speechSort
)({
resolve
,
reject
,
param
,
isComplete
:
true
})
})
},
unDeliveryOut
:({
dispatch
,
commit
},
param
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
chenzhenService
.
get
(
baozhengApi
.
unDeliveryOut
)({
resolve
,
reject
,
param
,
isComplete
:
true
})
})
}
}
}
...
...
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