Commit 60ac1ee5 authored by huangjie's avatar huangjie

*

parent e76fd182
...@@ -210,6 +210,8 @@ ...@@ -210,6 +210,8 @@
methods:{ methods:{
//添加跟进动态 //添加跟进动态
addFollow(){ addFollow(){
if(this.addParam.content == '')
return false
if(this.types == 'projectgjdt'){ if(this.types == 'projectgjdt'){
if(this.projectId == "" || this.projectId == null){ if(this.projectId == "" || this.projectId == null){
this.$message.error('请选择关联项目!') this.$message.error('请选择关联项目!')
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<el-input v-model="queryParam.target" placeholder="拜访对象" style="width: 100px;"> <el-input v-model="queryParam.target" placeholder="拜访对象" style="width: 100px;">
</el-input> </el-input>
</div> </div>
<div class="btn btn_primary h32 wc" @click="add" :disabled="queryParam.task == ''" :class="{'btn_disabled':queryParam.task == ''}">完成</div> <div class="btn btn_primary h32 wc" @click="add" :class="{'btn_disabled':queryParam.task == ''}">完成</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -109,6 +109,8 @@ ...@@ -109,6 +109,8 @@
this.value = "" this.value = ""
}, },
add(){ add(){
if(this.queryParam.task == '')
return false
addGZDB(this.queryParam).then(result=>{ addGZDB(this.queryParam).then(result=>{
if(result.code == 200){ if(result.code == 200){
this.$message.success("添加成功!") this.$message.success("添加成功!")
......
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