Commit 60ac1ee5 authored by huangjie's avatar huangjie

*

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