浏览代码

任务调整

qymljy 2 年之前
父节点
当前提交
e26d111be9
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/HManagement/task/modules/completeTask.vue

+ 3 - 3
src/HManagement/task/modules/completeTask.vue

@@ -1,7 +1,7 @@
 <template>
   <div>
     <el-button :disabled="data.status == '已完成'" :type="data.status == '已完成'?'':'primary'" size="mini" @click="onFinish" >完成任务</el-button>
-    <el-dialog title="完成任务" :visible.sync="dialogFormVisible" append-to-body width="450px">
+    <el-dialog title="完成任务" :visible.sync="dialogFormVisible" append-to-body width="450px" @close="dialogFormVisible = false;form.finishnotes = ''">
       <div style="display: flex;justify-content: space-between">
         <span>完成说明</span>
         <el-button type="primary" size="mini" @click="$refs.followRef.dialogTableVisible = true;$refs.followRef.listData()" :disabled="followParam.content.ownerid === ''">同步跟进内容</el-button>
@@ -12,7 +12,7 @@
         </el-form-item>
       </el-form>
       <div slot="footer" class="dialog-footer">
-        <el-button @click="dialogFormVisible = false" size="small">取 消</el-button>
+        <el-button @click="dialogFormVisible = false;form.finishnotes = ''" size="small">取 消</el-button>
         <el-button type="primary" @click="completeTask" size="small">确 定</el-button>
       </div>
     </el-dialog>
@@ -77,7 +77,7 @@ export default {
           })
           this.form.finishnotes = '跟进类型:'+type+'\n'+ '跟进对象:'+obj+'\n' + content
         }
-      }else if (this.followParam.content.ownertable === 'sa_customers'){
+      }else if (this.followParam.content.ownertable === 'sat_orderclue'){
         this.form.finishnotes = '跟进类型:'+ data.followupmode+'\n'+ content
       } else {
         this.form.finishnotes =  content