|
|
<cm-dialog :title="titleName" width="90%" :showDialogVisible="applicationMonitorVisible" @hidedialog="closeDialog" >
|
|
|
<template v-slot>
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
<el-dialog v-model="applicationMonitorVisible" :title="titleName" width="90%" @close="closeDialog" top="3vh">
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
|
|
|
<div class="set-add-div">
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
<div class="flex-div-start margin-top-bottom-10">
|
|
|
<div class="set-add-div">
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
<div class="flex-div-start margin-top-bottom-10">
|
|
|
|
|
|
<!-- <el-select class="margin-right-10" v-model="busTypeArr" filterable clearable collapse-tags placeholder="请选择业务">
|
|
|
<el-option
|
|
|
v-for="item in busTypeList"
|
|
|
:label="item.busTypeName" :value="item.busId"></el-option>
|
|
|
</el-select>
|
|
|
-->
|
|
|
<!-- <el-dropdown class="margin-right-10">
|
|
|
<cm-res-type-tree-input multiple clearable collapseTags @callback="getResType"/>
|
|
|
</el-dropdown>
|
|
|
<!-- <el-select class="margin-right-10" v-model="busTypeArr" filterable clearable collapse-tags placeholder="请选择业务">
|
|
|
<el-option
|
|
|
v-for="item in busTypeList"
|
|
|
:label="item.busTypeName" :value="item.busId"></el-option>
|
|
|
</el-select>
|
|
|
-->
|
|
|
<!-- <el-dropdown class="margin-right-10">
|
|
|
<cm-res-type-tree-input multiple clearable collapseTags @callback="getResType"/>
|
|
|
</el-dropdown>
|
|
|
|
|
|
|
|
|
<el-select class="margin-right-10" v-model="kpiTypeArr" multiple filterable clearable collapse-tags placeholder="请选择指标">
|
|
|
<el-option
|
|
|
v-for="item in kpiList"
|
|
|
:label="item.kpiName" :value="item.kpiId"></el-option>
|
|
|
</el-select>-->
|
|
|
<el-select class="margin-right-10" v-model="kpiTypeArr" multiple filterable clearable collapse-tags placeholder="请选择指标">
|
|
|
<el-option
|
|
|
v-for="item in kpiList"
|
|
|
:label="item.kpiName" :value="item.kpiId"></el-option>
|
|
|
</el-select>-->
|
|
|
|
|
|
<el-input style="width:160px;" class="margin-right-10" v-model="keyWords" placeholder="输入关键字" />
|
|
|
<el-input style="width:160px;" class="margin-right-10" v-model="keyWords" placeholder="输入关键字" />
|
|
|
|
|
|
<div class="flex-div-start">
|
|
|
<el-button type="primary" @click="onReset()">重置</el-button>
|
|
|
<el-button type="primary" @click="onBtnSearch()" style="margin-left: 10px">查询</el-button>
|
|
|
<el-button type="primary" :disabled="isLoading" @click="saveAll()" style="margin-left: 10px">添加选中</el-button>
|
|
|
<el-button type="primary" :disabled="isLoading" @click="saveAlldata()" style="margin-left: 10px">全部添加</el-button>
|
|
|
</div>
|
|
|
<div class="flex-div-start">
|
|
|
<el-button type="primary" @click="onReset()">重置</el-button>
|
|
|
<el-button type="primary" @click="onBtnSearch()" style="margin-left: 10px">查询</el-button>
|
|
|
<el-button type="primary" :disabled="isLoading" @click="saveAll()" style="margin-left: 10px">批量添加</el-button>
|
|
|
<el-button type="primary" :disabled="isLoading" @click="saveAlldata()" style="margin-left: 10px">全部添加</el-button>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row class="margin-bottom-50">
|
|
|
<el-col :span="24" class="table-height">
|
|
|
<cm-table-page :columns="columns" :dataList="tableDataList" @loaddata="loadTableDataList"
|
|
|
:showIndex="true" :total="count" :showSelection="true" @selectionChange="selectionChange"
|
|
|
:showBorder="true" :loading="false" :pageSize="pageSize"
|
|
|
:showPage="true" :showTools="true" :height="(height - 500)">
|
|
|
<template #default="{row,prop,column}">
|
|
|
<div v-if="prop == 'url'" class="text-overflow" :title="row.url">
|
|
|
<span class="">{{row.url }}</span>
|
|
|
|
|
|
</div>
|
|
|
</template>
|
|
|
<template #tools="{scope}">
|
|
|
<el-button type="text" size="small" @click.prevent="addRes(scope.row,scope.$index)">
|
|
|
<i class="el-icon-plus"/> 添加
|
|
|
</el-button>
|
|
|
</template>
|
|
|
</cm-table-page>
|
|
|
</el-col>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row class="margin-bottom-50">
|
|
|
<el-col :span="24" class="table-height">
|
|
|
<cm-table-page v-if="tableDataList" :columns="columns" :dataList="tableDataList" @loaddata="loadTableDataList" :multipleSelection="applicationMonitorListChecked"
|
|
|
:showIndex="true" :total="count" :showSelection="true" @selectionChange="selectionChange"
|
|
|
:showBorder="true" :loading="false" :pageSize="pageSize"
|
|
|
:showPage="true" :showTools="true" :height="(height - 500)">
|
|
|
<template #default="{row,prop,column}">
|
|
|
<div v-if="prop == 'url'" class="text-overflow" :title="row.url">
|
|
|
<span class="">{{row.url }}</span>
|
|
|
|
|
|
</el-row>
|
|
|
</div>
|
|
|
</template>
|
|
|
<template #tools="{scope}">
|
|
|
<el-button type="text" size="small" @click.prevent="addRes(scope.row,scope.$index)">
|
|
|
<i class="el-icon-plus"/> 添加
|
|
|
</el-button>
|
|
|
</template>
|
|
|
</cm-table-page>
|
|
|
</el-col>
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
</el-row>
|
|
|
<div class="margin-top flex-center position-bottom">
|
|
|
<el-button @click="cancleList">取消</el-button>
|
|
|
<!-- <el-button @click="saveList" type="primary">保存</el-button>-->
|
|
|
</div>
|
|
|
</template>
|
|
|
</cm-dialog>
|
|
|
<!--<el-dialog v-model="applicationMonitorVisible" :title="titleName" width="90%" @close="closeDialog" top="3vh">
|
|
|
|
|
|
</el-dialog>--> |
|
|
</el-row>
|
|
|
<div class="margin-top flex-center position-bottom">
|
|
|
<el-button @click="cancleList">取消</el-button>
|
|
|
<!-- <el-button @click="saveList" type="primary">保存</el-button>-->
|
|
|
</div>
|
|
|
</el-dialog> |
...
|
...
|
|