Commit a178cf55 authored by looker's avatar looker

aap

parent 341d2ade
...@@ -57,6 +57,36 @@ ...@@ -57,6 +57,36 @@
</el-table> </el-table>
</div> </div>
<cus-info v-if="customerInfo!=null"></cus-info> <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"> <!-- <el-card class="box-card">
<div slot="header" class="clearfix"> <div slot="header" class="clearfix">
<span>售前咨询</span> <span>售前咨询</span>
...@@ -79,6 +109,7 @@ export default{ ...@@ -79,6 +109,7 @@ export default{
centerDialogVisible:false, centerDialogVisible:false,
speechContext:'13906025858', speechContext:'13906025858',
activeName:'second', activeName:'second',
obs:[],
baseInfo:[ baseInfo:[
{ {
label:'微信昵称', label:'微信昵称',
...@@ -115,6 +146,9 @@ export default{ ...@@ -115,6 +146,9 @@ export default{
mounted() { mounted() {
this.$refs.text&&this.$refs.text.focus() this.$refs.text&&this.$refs.text.focus()
this.setCustomerInfo() this.setCustomerInfo()
this.unDeliveryOut().then((data)=>{
this.obs = data
})
}, },
watch:{ watch:{
selectedChat(val){ selectedChat(val){
...@@ -122,6 +156,9 @@ export default{ ...@@ -122,6 +156,9 @@ export default{
this.baseInfo[1].value = val.user.username this.baseInfo[1].value = val.user.username
this.baseInfo[2].value = val.user.conRemark this.baseInfo[2].value = val.user.conRemark
this.setCustomerInfo() this.setCustomerInfo()
this.unDeliveryOut().then((data)=>{
this.obs = data
})
console.log(333) console.log(333)
} }
}, },
...@@ -129,13 +166,12 @@ export default{ ...@@ -129,13 +166,12 @@ export default{
...mapActions('baozheng',[ ...mapActions('baozheng',[
'setCustomerInfo', 'setCustomerInfo',
'findByMobile', 'findByMobile',
'bindChatUser' 'bindChatUser',
'unDeliveryOut'
]), ]),
goSearch(){ goSearch(){
let mobile = this.speechContext let mobile = this.speechContext
this.findByMobile({mobile}).then((data)=>{ this.findByMobile({mobile}).then((data)=>{
console.log('---------')
console.log(data)
this.tableData = [data] this.tableData = [data]
}) })
}, },
......
...@@ -23,7 +23,9 @@ baozheng.teamTodo = `${process.env.API_URL}nice-wechat-service/v1/statistics/tea ...@@ -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.searchBiaoqingbao = `${process.env.API_URL}p/api/images`
baozheng.getScriptTags = `${process.env.API_URL}p/api/speech/label` baozheng.getScriptTags = `${process.env.API_URL}p/api/speech/label`
baozheng.getScriptCatgary = `${process.env.API_URL}p/api/speech/sort` 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 = "" baozheng.getScripts = ""
url.baozheng = baozheng url.baozheng = baozheng
// url.wsUrl = process.env.API_URL // url.wsUrl = process.env.API_URL
......
...@@ -62,6 +62,7 @@ const apis = [ ...@@ -62,6 +62,7 @@ const apis = [
[apiUrl.baozheng.personTodo], [apiUrl.baozheng.personTodo],
[apiUrl.baozheng.getScriptTags], [apiUrl.baozheng.getScriptTags],
[apiUrl.baozheng.searchBiaoqingbao], [apiUrl.baozheng.searchBiaoqingbao],
[apiUrl.baozheng.unDeliveryOut],
[apiUrl.baozheng.teamTodo], [apiUrl.baozheng.teamTodo],
[apiUrl.baozheng.getScriptCatgary], [apiUrl.baozheng.getScriptCatgary],
[apiUrl.baozheng.bindChatUser,'post'], [apiUrl.baozheng.bindChatUser,'post'],
......
...@@ -146,6 +146,11 @@ const baozheng = { ...@@ -146,6 +146,11 @@ const baozheng = {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
chenzhenService.get(baozhengApi.speechSort)({resolve, reject,param,isComplete:true}) 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