Issue #125: Done.
This commit is contained in:
@@ -423,7 +423,7 @@ export default {
|
||||
case 'Activity sequence': // Rule Type 選 Activity sequence 的行為
|
||||
switch (this.selectedActivitySequence) {
|
||||
case 'Start & End': // Activity Sequence 選 Start & End 的行為
|
||||
if(this.selectCfmSeqStart === null || this.selectCfmSeqEnd === null) return this.$toast.error('Both Start and End must be selected.');
|
||||
if(this.selectCfmSeqStart === null || this.selectCfmSeqEnd === null) return this.$toast.error('Start and End activity must be selected.');
|
||||
else {
|
||||
data = {
|
||||
type: 'start-end',
|
||||
@@ -535,7 +535,7 @@ export default {
|
||||
}
|
||||
break;
|
||||
case 'Start & End':
|
||||
if(!this.selectCfmPtEteSEStart || !this.selectCfmPtEteSEEnd) return this.$toast.error('Both Start and End must be selected.');
|
||||
if(!this.selectCfmPtEteSEStart || !this.selectCfmPtEteSEEnd) return this.$toast.error('Start and End activity must be selected.');
|
||||
else {
|
||||
data = {
|
||||
start: this.selectCfmPtEteSEStart,
|
||||
@@ -664,7 +664,7 @@ export default {
|
||||
}
|
||||
break;
|
||||
case 'Start & End':
|
||||
if(!this.selectCfmWtEteSEStart || !this.selectCfmWtEteSEEnd) return this.$toast.error('Both Start and End must be selected.');
|
||||
if(!this.selectCfmWtEteSEStart || !this.selectCfmWtEteSEEnd) return this.$toast.error('Start and End activity must be selected.');
|
||||
else {
|
||||
data = {
|
||||
start: this.selectCfmWtEteSEStart,
|
||||
@@ -789,7 +789,7 @@ export default {
|
||||
}
|
||||
break;
|
||||
case 'Start & End':
|
||||
if(!this.selectCfmCtEteSEStart || !this.selectCfmCtEteSEEnd) return this.$toast.error('Both Start and End must be selected.');
|
||||
if(!this.selectCfmCtEteSEStart || !this.selectCfmCtEteSEEnd) return this.$toast.error('Start and End activity must be selected.');
|
||||
else {
|
||||
data = {
|
||||
start: this.selectCfmCtEteSEStart,
|
||||
|
||||
Reference in New Issue
Block a user