Commit a178cf55 authored by looker's avatar looker

aap

parent 341d2ade
......@@ -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]
})
},
......
......@@ -23,7 +23,9 @@ baozheng.teamTodo = `${process.env.API_URL}nice-wechat-service/v1/statistics/tea
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.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
......
......@@ -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'],
......
......@@ -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})
})
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment