|
@@ -14,11 +14,11 @@
|
|
<el-table-column v-if="isStatus" width="55">
|
|
<el-table-column v-if="isStatus" width="55">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div class="tableStatus">
|
|
<div class="tableStatus">
|
|
- <div v-if="filteredTableData[scope.$index].runState == '运行'" class="status0">
|
|
|
|
|
|
+ <div v-if="filteredTableData[scope.$index].nodeState == '运行'" class="status0">
|
|
<span class="icon"></span>
|
|
<span class="icon"></span>
|
|
</div>
|
|
</div>
|
|
<div v-else-if="
|
|
<div v-else-if="
|
|
- filteredTableData[scope.$index].runState == '停止'
|
|
|
|
|
|
+ filteredTableData[scope.$index].nodeState == '停止'
|
|
" class="status1">
|
|
" class="status1">
|
|
<span class="icon"></span>
|
|
<span class="icon"></span>
|
|
</div>
|
|
</div>
|
|
@@ -60,8 +60,8 @@
|
|
<template v-if="isStatus">
|
|
<template v-if="isStatus">
|
|
<el-button type="text" @click="handleLook(scope.row)" size="small" class="rmScs">查看</el-button>
|
|
<el-button type="text" @click="handleLook(scope.row)" size="small" class="rmScs">查看</el-button>
|
|
<template v-if="scope.row.serviceTypeCode == 2 || scope.row.serviceTypeCode == 4">
|
|
<template v-if="scope.row.serviceTypeCode == 2 || scope.row.serviceTypeCode == 4">
|
|
- <el-button type="text" v-if="scope.row.runState == '停止'" @click="stateChangeHandler(scope.row)" size="small" class="rmScs">启动</el-button>
|
|
|
|
- <el-button type="text" v-if="scope.row.runState == '运行'" @click="stateChangeHandler(scope.row)" size="small" class="rmScs">停止</el-button>
|
|
|
|
|
|
+ <el-button type="text" v-if="scope.row.nodeState == '停止'" @click="stateChangeHandler(scope.row)" size="small" class="rmScs">启动</el-button>
|
|
|
|
+ <el-button type="text" v-if="scope.row.nodeState == '运行'" @click="stateChangeHandler(scope.row)" size="small" class="rmScs">停止</el-button>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
<!-- <el-button class="hrefBtn" type="text" @click="handleHerf(scope.row)" size="small">跳转</el-button> -->
|
|
<!-- <el-button class="hrefBtn" type="text" @click="handleHerf(scope.row)" size="small">跳转</el-button> -->
|