|
@ -46599,6 +46599,10 @@ module.exports = { |
|
|
status: 'unclaimed' |
|
|
status: 'unclaimed' |
|
|
}, function (response) {}); |
|
|
}, function (response) {}); |
|
|
|
|
|
|
|
|
|
|
|
this.tweet = {}; |
|
|
|
|
|
this.show = false; |
|
|
|
|
|
}, |
|
|
|
|
|
rejectTweet: function rejectTweet() { |
|
|
this.tweet = {}; |
|
|
this.tweet = {}; |
|
|
this.show = false; |
|
|
this.show = false; |
|
|
} |
|
|
} |
|
@ -46657,7 +46661,8 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c |
|
|
"update:show": function($event) { |
|
|
"update:show": function($event) { |
|
|
_vm.show = $event |
|
|
_vm.show = $event |
|
|
}, |
|
|
}, |
|
|
"dismiss": _vm.dismissTweet |
|
|
|
|
|
|
|
|
"dismiss": _vm.dismissTweet, |
|
|
|
|
|
"reject": _vm.rejectTweet |
|
|
} |
|
|
} |
|
|
})], 1)])]) |
|
|
})], 1)])]) |
|
|
},staticRenderFns: []} |
|
|
},staticRenderFns: []} |
|
@ -46815,6 +46820,9 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c |
|
|
staticClass: "btn btn-danger", |
|
|
staticClass: "btn btn-danger", |
|
|
attrs: { |
|
|
attrs: { |
|
|
"type": "button" |
|
|
"type": "button" |
|
|
|
|
|
}, |
|
|
|
|
|
on: { |
|
|
|
|
|
"click": _vm.rejectTweet |
|
|
} |
|
|
} |
|
|
}, [_vm._v("Reject")])])]), _vm._v(" "), _c('div', { |
|
|
}, [_vm._v("Reject")])])]), _vm._v(" "), _c('div', { |
|
|
staticClass: "col-md-4" |
|
|
staticClass: "col-md-4" |
|
@ -47271,14 +47279,25 @@ module.exports = { |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
dismiss: function dismiss() { |
|
|
|
|
|
this.$emit('dismiss'); |
|
|
|
|
|
|
|
|
clearState: function clearState() { |
|
|
this.selectedDocument = false; |
|
|
this.selectedDocument = false; |
|
|
this.selectedTransitCenter = false; |
|
|
this.selectedTransitCenter = false; |
|
|
this.selectedTransitLine = false; |
|
|
this.selectedTransitLine = false; |
|
|
this.selectedNonTrimetLine = ''; |
|
|
this.selectedNonTrimetLine = ''; |
|
|
this.selectedPhotoHasAnotherTeam = false; |
|
|
this.selectedPhotoHasAnotherTeam = false; |
|
|
this.replyText = ''; |
|
|
this.replyText = ''; |
|
|
|
|
|
}, |
|
|
|
|
|
dismiss: function dismiss() { |
|
|
|
|
|
this.clearState(); |
|
|
|
|
|
this.$emit('dismiss'); |
|
|
|
|
|
}, |
|
|
|
|
|
rejectTweet: function rejectTweet() { |
|
|
|
|
|
$.post("/dashboard/reject-tweet", { |
|
|
|
|
|
tweet_id: this.tweet.tweet_id |
|
|
|
|
|
}, function () { |
|
|
|
|
|
this.clearState(); |
|
|
|
|
|
this.$emit('reject'); |
|
|
|
|
|
}.bind(this)); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
watch: { |
|
|
watch: { |
|
|