perf: 增强列表提醒、增加asset列表中dc弹框
1.所有列表中可操作的列文字颜色都调整为蓝色 2.增加asset搜索项:state 3.asset列表中的dc项可以点开编辑了
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<template slot-scope="scope" :column="item">
|
||||
<span v-if="item.prop == 'asset' && scope.row[item.prop]" class="content-right-option" @click="viewAsset(scope.row[item.prop].id)">{{scope.row[item.prop].host}}</span>
|
||||
<span v-if="item.prop == 'asset' && scope.row[item.prop]" class="link" @click="viewAsset(scope.row[item.prop].id)">{{scope.row[item.prop].host}}</span>
|
||||
<span v-else-if="item.prop == 'param'">
|
||||
<span v-for="p in scope.row.paramObj">{{p.key}}={{p.value}},</span>
|
||||
</span>
|
||||
@@ -414,6 +414,7 @@
|
||||
//搜索
|
||||
endpointSearch: function(searchObj) {
|
||||
this.endpointSearchLabel = {};
|
||||
this.endpointPageObj.pageNo = 1;
|
||||
for (let item in searchObj) {
|
||||
if (searchObj[item]) {
|
||||
this.$set(this.endpointSearchLabel, item, searchObj[item]);
|
||||
@@ -424,6 +425,7 @@
|
||||
//搜索
|
||||
metricSearch: function(searchObj) {
|
||||
this.metricSearchLabel = {};
|
||||
this.metricPageObj.pageNo = 1;
|
||||
for (let item in searchObj) {
|
||||
if (searchObj[item]) {
|
||||
this.$set(this.metricSearchLabel, item, searchObj[item]);
|
||||
|
||||
Reference in New Issue
Block a user