添加节点详情教程

This commit is contained in:
marvzhang
2020-02-01 13:05:54 +08:00
parent eb802c1cda
commit 8bea3f62cf
4 changed files with 84 additions and 14 deletions

View File

@@ -1,16 +1,20 @@
<template>
<div class="node-installation">
<el-form inline>
<el-form class="search-form" inline>
<el-form-item>
<el-autocomplete size="small" clearable @clear="onSearch"
v-if="activeLang.executable_name === 'python'"
v-model="depName"
style="width: 240px"
:placeholder="$t('Search Dependencies')"
:fetchSuggestions="fetchAllDepList"
:minlength="2"
@select="onSearch"
></el-autocomplete>
<el-autocomplete
class="search-box"
size="small"
clearable
v-if="activeLang.executable_name === 'python'"
v-model="depName"
style="width: 240px"
:placeholder="$t('Search Dependencies')"
:fetchSuggestions="fetchAllDepList"
:minlength="2"
@select="onSearch"
@clear="onSearch"
/>
<el-input
v-else
v-model="depName"

View File

@@ -2,14 +2,16 @@
<el-row>
<el-col :span="12">
<!--last tasks-->
<el-row>
<el-row class="latest-tasks-wrapper">
<task-table-view :title="$t('Latest Tasks')"/>
</el-row>
</el-col>
<el-col :span="12">
<!--basic info-->
<node-info-view/>
<el-row class="node-info-view-wrapper">
<!--basic info-->
<node-info-view/>
</el-row>
</el-col>
</el-row>
</template>