Fix typos: createfilterId, sidevarFilterRef, selecteName, namber
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
<SidebarTraces v-model:visible="sidebarTraces" :cases="cases" @switch-Trace-Id="switchTraceId" ref="tracesView"></SidebarTraces>
|
||||
<SidebarFilter v-model:visible="sidebarFilter" :filterTasks="filterTasks" :filterStartToEnd="filterStartToEnd"
|
||||
:filterEndToStart="filterEndToStart" :filterTimeframe="filterTimeframe" :filterTrace="filterTrace"
|
||||
@submit-all="createCy(mapType)" @switch-Trace-Id="switchTraceId" ref="sidevarFilterRef"></SidebarFilter>
|
||||
@submit-all="createCy(mapType)" @switch-Trace-Id="switchTraceId" ref="sidebarFilterRef"></SidebarFilter>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -476,7 +476,7 @@
|
||||
// 取得 logID 和上次儲存的 Funnel
|
||||
await this.allMapDataStore.fetchFunnel(this.createFilterId);
|
||||
this.isRuleData = await Array.from(this.temporaryData);
|
||||
this.ruleData = await this.isRuleData.map(e => this.$refs.sidevarFilterRef.setRule(e));
|
||||
this.ruleData = await this.isRuleData.map(e => this.$refs.sidebarFilterRef.setRule(e));
|
||||
break;
|
||||
}
|
||||
// 取得 logId 後才 call api
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
</SidebarTraces>
|
||||
<SidebarFilter v-model:visible="sidebarFilter" :filterTasks="filterTasks" :filterStartToEnd="filterStartToEnd"
|
||||
:filterEndToStart="filterEndToStart" :filterTimeframe="filterTimeframe" :filterTrace="filterTrace"
|
||||
@submit-all="createCy(mapType)" @switch-Trace-Id="switchTraceId" ref="sidevarFilterRef"></SidebarFilter>
|
||||
@submit-all="createCy(mapType)" @switch-Trace-Id="switchTraceId" ref="sidebarFilterRef"></SidebarFilter>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -494,7 +494,7 @@ export default {
|
||||
// 取得 logID 和上次儲存的 Funnel
|
||||
await this.allMapDataStore.fetchFunnel(this.createFilterId);
|
||||
this.isRuleData = await Array.from(this.temporaryData);
|
||||
this.ruleData = await this.isRuleData.map(e => this.$refs.sidevarFilterRef.setRule(e));
|
||||
this.ruleData = await this.isRuleData.map(e => this.$refs.sidebarFilterRef.setRule(e));
|
||||
break;
|
||||
}
|
||||
// 取得 logId 後才 call api
|
||||
|
||||
@@ -248,7 +248,7 @@
|
||||
selectedFile: null, // 右鍵選單 item
|
||||
selectedType: null,
|
||||
selectedId: null,
|
||||
selecteName: null,
|
||||
selectedName: null,
|
||||
items: [
|
||||
{
|
||||
label: 'Rename',
|
||||
@@ -429,7 +429,7 @@
|
||||
onRightClick(event, file) {
|
||||
this.selectedType = file.type;
|
||||
this.selectedId = file.id;
|
||||
this.selecteName = file.name;
|
||||
this.selectedName = file.name;
|
||||
this.$refs.fileRightMenu.show(event)
|
||||
},
|
||||
/**
|
||||
@@ -439,7 +439,7 @@
|
||||
onRightClickTable(event) {
|
||||
this.selectedType = event.data.type;
|
||||
this.selectedId = event.data.id;
|
||||
this.selecteName = event.data.name;
|
||||
this.selectedName = event.data.name;
|
||||
this.$refs.fileRightMenu.show(event.originalEvent)
|
||||
},
|
||||
/**
|
||||
@@ -450,7 +450,7 @@
|
||||
onGridCardClick(file, index) {
|
||||
this.selectedType = file.type;
|
||||
this.selectedId = file.id;
|
||||
this.selecteName = file.name;
|
||||
this.selectedName = file.name;
|
||||
this.isActive = index;
|
||||
},
|
||||
/**
|
||||
@@ -464,9 +464,9 @@
|
||||
if(type && id && source === 'list-hover') {
|
||||
this.selectedType = type;
|
||||
this.selectedId = id;
|
||||
this.selecteName = fileName;
|
||||
this.selectedName = fileName;
|
||||
}
|
||||
renameModal(this.store.rename, this.selectedType, this.selectedId, this.selecteName);
|
||||
renameModal(this.store.rename, this.selectedType, this.selectedId, this.selectedName);
|
||||
},
|
||||
/**
|
||||
* Delete file
|
||||
@@ -481,7 +481,7 @@
|
||||
if(type && id && name && source === 'list-hover') {
|
||||
this.selectedType = type;
|
||||
this.selectedId = id;
|
||||
this.selecteName = name;
|
||||
this.selectedName = name;
|
||||
}
|
||||
// 取得相依性檔案
|
||||
await this.store.getDependents(this.selectedType, this.selectedId);
|
||||
@@ -502,7 +502,7 @@
|
||||
srt += content;
|
||||
});
|
||||
}
|
||||
deleteFileModal(srt, this.selectedType, this.selectedId, this.selecteName);
|
||||
deleteFileModal(srt, this.selectedType, this.selectedId, this.selectedName);
|
||||
srt = '';
|
||||
},
|
||||
/**
|
||||
@@ -538,9 +538,9 @@
|
||||
if(type && id && source === 'list-hover' && name) {
|
||||
this.selectedType = type;
|
||||
this.selectedId = id;
|
||||
this.selecteName = name;
|
||||
this.selectedName = name;
|
||||
}
|
||||
this.store.downloadFileCSV(this.selectedType, this.selectedId, this.selecteName);
|
||||
this.store.downloadFileCSV(this.selectedType, this.selectedId, this.selectedName);
|
||||
},
|
||||
/**
|
||||
* Delete Compare Primary log
|
||||
|
||||
Reference in New Issue
Block a user