-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #610 from ota-hiroko/ota-kamonohashi-#607
学習のコピー実行時にもデータセットのデータパス一覧を表示するように修正
- Loading branch information
Showing
4 changed files
with
109 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<template> | ||
<span v-if="Object.keys(dataSet).length !== 0"> | ||
<el-row style="margin-bottom:5px; padding-left:15px; font-size:0.8em;"> | ||
参考:選択したデータセット【{{ dataSet.name }}】のデータパス、データ名一覧 | ||
</el-row> | ||
<el-row class="data-list"> | ||
<el-col | ||
v-if="dataSet.flatEntries == null || dataSet.flatEntries.length == 0" | ||
:span="24" | ||
> | ||
<ul v-for="(datalist, index) in dataSet.entries" :key="index"> | ||
<li style="padding-top:5px; list-style-type:none">{{ index }}:</li> | ||
<li | ||
v-for="data in datalist" | ||
:key="data.id" | ||
style="padding-top:5px; padding-left:15px; list-style-type:none" | ||
> | ||
/kqi/input/{{ index }}/{{ data.id }} 【{{ data.name }}】 | ||
</li> | ||
</ul> | ||
</el-col> | ||
<el-col v-else :span="24"> | ||
<ul> | ||
<li | ||
v-for="data in dataSet.flatEntries" | ||
:key="data.id" | ||
style="padding-top:5px; list-style-type:none" | ||
> | ||
/kqi/input/{{ data.id }} 【{{ data.name }}】 | ||
</li> | ||
</ul> | ||
</el-col> | ||
</el-row> | ||
</span> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'PathInfo', | ||
props: { | ||
dataSet: { | ||
type: Object, | ||
default: () => {}, | ||
}, | ||
}, | ||
} | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
.data-list { | ||
overflow: auto; | ||
height: 120px; | ||
padding: 3px 15px 8px 15px; | ||
border: 1px solid #e4e7ed; | ||
border-radius: 5px; | ||
background-color: #f5f7fa; | ||
color: #999; | ||
margin-left: 10px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters