优化
This commit is contained in:
parent
740a395b36
commit
2479f91f7c
@ -387,7 +387,8 @@ export default {
|
|||||||
const str = this.staffList.list.map(i => i.staffId).join(',')
|
const str = this.staffList.list.map(i => i.staffId).join(',')
|
||||||
let params = {}
|
let params = {}
|
||||||
// debugger
|
// debugger
|
||||||
if (!this.form.content) return
|
if (!this.form.content.replace(/(^\s*)|(\s*$)/g, '')) return
|
||||||
|
this.form.content = this.form.content.replace(/(^\s*)|(\s*$)/g, '')
|
||||||
params.content = this.form.content
|
params.content = this.form.content
|
||||||
if (str) params.atStaffIds = str
|
if (str) params.atStaffIds = str
|
||||||
params[this.pinglunForm.id ? 'taskId' : 'detailId'] = this.pinglunForm.id ? this.pinglunForm.id : this.taskInfo.detailId
|
params[this.pinglunForm.id ? 'taskId' : 'detailId'] = this.pinglunForm.id ? this.pinglunForm.id : this.taskInfo.detailId
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user