adapt changes to golang api

This commit is contained in:
Marvin Zhang
2019-07-21 16:48:58 +08:00
parent 95d30691a0
commit ece3659155
40 changed files with 263 additions and 2004 deletions

View File

@@ -57,9 +57,6 @@ export default {
// get node basic info
this.$store.dispatch('node/getNodeData', this.$route.params.id)
// get node deploy list
this.$store.dispatch('node/getDeployList', this.$route.params.id)
// get node task list
this.$store.dispatch('node/getTaskList', this.$route.params.id)
}

View File

@@ -41,7 +41,7 @@
:property="col.name"
:label="$t(col.label)"
:sortable="col.sortable"
align="center"
:align="col.align || 'left'"
:width="col.width">
</el-table-column>
</template>
@@ -50,9 +50,6 @@
<el-tooltip :content="$t('View')" placement="top">
<el-button type="primary" icon="el-icon-search" size="mini" @click="onView(scope.row)"></el-button>
</el-tooltip>
<!--<el-tooltip :content="$t('Edit')" placement="top">-->
<!--<el-button type="warning" icon="el-icon-edit" size="mini" @click="onView(scope.row)"></el-button>-->
<!--</el-tooltip>-->
<el-tooltip :content="$t('Remove')" placement="top">
<el-button type="danger" icon="el-icon-delete" size="mini" @click="onRemove(scope.row)"></el-button>
</el-tooltip>
@@ -95,7 +92,7 @@ export default {
columns: [
{ name: 'name', label: 'Name', width: '220' },
{ name: 'ip', label: 'IP', width: '160' },
{ name: 'port', label: 'Port', width: '80' },
// { name: 'port', label: 'Port', width: '80' },
{ name: 'status', label: 'Status', width: '120', sortable: true },
{ name: 'description', label: 'Description', width: 'auto' }
],