Component({ mixins: [], data: { show: false }, props: { isCanEdit: true }, didMount() { }, didUpdate() { }, didUnmount() { }, methods: { showPop(e) { if (this.props.isCanEdit) { this.props.onShowPop(e); this.props.onSetCurrentTask(e.target.dataset.task); } }, closePop() { this.setData({ show: false }); }, checkChange(e) { let { status, taskId, commentId, meetingId } = e.target.dataset; if (status == "success") { status = "undetermined"; } else { status = "success"; } this.props.onChangeTaskStatusOnList({ status, taskId, commentId, meetingId }); } } });