}, confirmAssociation() { if(this.selected!="") { putAction(this.url.put + '/' + this.task_id + '/bound', {content_id: this.selected}).then(res => { this.$message.success("绑定成功"); this.$emit("ok") this.$refs["dialog"].close(); }) }else{ this.$message.success("数据没有绑定成功"); this.$refs["dialog"].close(); } } }