Commit c5494ca2 authored by zhangyi's avatar zhangyi

Merge remote-tracking branch 'origin/master'

parents b751c17c 0c3a98f6
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</div> </div>
<div class="app-container"> <div class="app-container">
<gjjl types="gjdt" :data="datas"></gjjl> <gjjl types="gjdt" :data="datas" isDisabled=false></gjjl>
</div> </div>
</div> </div>
</template> </template>
......
...@@ -100,6 +100,7 @@ ...@@ -100,6 +100,7 @@
<div><strong>{{item.nickName}}</strong> <span v-if="item.visitWay">({{item.visitWay}})</span></div> <div><strong>{{item.nickName}}</strong> <span v-if="item.visitWay">({{item.visitWay}})</span></div>
<div><span>{{item.recordInfo}}</span></div> <div><span>{{item.recordInfo}}</span></div>
<div class="rec_text"> <div class="rec_text">
<span v-if="item.projectName && showtype == 'projectgjdt'">关联项目:{{item.projectName||'--'}}</span>
<span v-if="item.visitPerson">拜访对象:{{item.visitPerson||'--'}}</span> <span v-if="item.visitPerson">拜访对象:{{item.visitPerson||'--'}}</span>
<span v-if="item.position">职位:{{item.position||'--'}}</span> <span v-if="item.position">职位:{{item.position||'--'}}</span>
<span v-if="item.creatTime">拜访时间:{{item.creatTime}}</span> <span v-if="item.creatTime">拜访时间:{{item.creatTime}}</span>
...@@ -178,7 +179,6 @@ ...@@ -178,7 +179,6 @@
computed: { computed: {
}, },
created(){ created(){
console.log(this.isDisabled)
//获取拜访方式 //获取拜访方式
getDictType('visit_mode_type').then(result=>{ getDictType('visit_mode_type').then(result=>{
this.bffslist = result.code == 200 ? result.data:[] this.bffslist = result.code == 200 ? result.data:[]
...@@ -225,6 +225,7 @@ ...@@ -225,6 +225,7 @@
this.$message.success(result.msg) this.$message.success(result.msg)
this.handleCurrentChange(1) this.handleCurrentChange(1)
this.isEdit = false this.isEdit = false
this.resetForm()
}else{ }else{
this.$message.error(result.msg) this.$message.error(result.msg)
} }
...@@ -245,12 +246,24 @@ ...@@ -245,12 +246,24 @@
this.$message.success(result.msg) this.$message.success(result.msg)
this.handleCurrentChange(1) this.handleCurrentChange(1)
this.isEdit = false this.isEdit = false
this.resetForm()
}else{ }else{
this.$message.error(result.msg) this.$message.error(result.msg)
} }
}) })
} }
}, },
resetForm(){
this.addParam={
customerId:'', //客户id
visitMode:'',//拜访方式
nextVisitTime:'',//下次拜访时间
name:'',//拜访对象姓名
position:'',//拜访对象职务
content:'',//拜访内容
}
},
//删除跟进动态 //删除跟进动态
delRecord(id){ delRecord(id){
this.isdel = true this.isdel = true
......
<template> <template>
<div class="app-container"> <div class="app-container">
<gjjl types="projectgjdt"></gjjl> <gjjl types="projectgjdt" isDisabled=false></gjjl>
</div> </div>
</template> </template>
......
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