|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div>
|
|
<div>
|
|
|
<el-button :disabled="data.status == '已完成'" :type="data.status == '已完成'?'':'primary'" size="mini" @click="onFinish" >完成任务</el-button>
|
|
<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">
|
|
<div style="display: flex;justify-content: space-between">
|
|
|
<span>完成说明</span>
|
|
<span>完成说明</span>
|
|
|
<el-button type="primary" size="mini" @click="$refs.followRef.dialogTableVisible = true;$refs.followRef.listData()" :disabled="followParam.content.ownerid === ''">同步跟进内容</el-button>
|
|
<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-item>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
<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>
|
|
<el-button type="primary" @click="completeTask" size="small">确 定</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
@@ -77,7 +77,7 @@ export default {
|
|
|
})
|
|
})
|
|
|
this.form.finishnotes = '跟进类型:'+type+'\n'+ '跟进对象:'+obj+'\n' + content
|
|
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
|
|
this.form.finishnotes = '跟进类型:'+ data.followupmode+'\n'+ content
|
|
|
} else {
|
|
} else {
|
|
|
this.form.finishnotes = content
|
|
this.form.finishnotes = content
|