Conformance: Have activity & Activity sequence done.
This commit is contained in:
@@ -236,7 +236,6 @@ export default {
|
||||
max: this.selectTimeRangeMax
|
||||
};
|
||||
this.$emitter.emit('timeRangeMaxMin', this.selectDurationTime);
|
||||
console.log('this.selectDurationTime', this.selectDurationTime);
|
||||
|
||||
switch (this.selectedRuleType) {
|
||||
case 'Have activity': // Rule Type 選 Have activity 的行為
|
||||
@@ -255,17 +254,17 @@ export default {
|
||||
case 'Activity sequence': // Rule Type 選 Activity sequence 的行為
|
||||
switch (this.selectedActivitySequence) {
|
||||
case 'Start & End': // Activity Sequence 選 Start & End 的行為
|
||||
if(this.selectConformanceStartAndEnd === null || this.selectConformanceStartAndEnd.length === 0) return this.$toast.error('Both Start and End must be selected.');
|
||||
if(this.selectCfmSeqStart === null || this.selectCfmSeqEnd === null) return this.$toast.error('Both Start and End must be selected.');
|
||||
else {
|
||||
data = {
|
||||
type: 'start-end',
|
||||
starts_with: this.selectConformanceStartAndEnd[0],
|
||||
ends_with: this.selectConformanceStartAndEnd[1],
|
||||
starts_with: this.selectCfmSeqStart,
|
||||
ends_with: this.selectCfmSeqEnd,
|
||||
};
|
||||
this.isSubmitReset();
|
||||
this.isSubmitStartAndEnd = [
|
||||
{category: 'Start', task: this.selectConformanceStartAndEnd[0]},
|
||||
{category: 'End', task: this.selectConformanceStartAndEnd[1]},
|
||||
{category: 'Start', task: this.selectCfmSeqStart},
|
||||
{category: 'End', task: this.selectCfmSeqEnd},
|
||||
];
|
||||
};
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user