设计系统运行图样式调整

This commit is contained in:
joylink_cuiweidong 2019-10-22 16:10:39 +08:00
parent 6f314ba150
commit 2282f27239

View File

@ -1,6 +1,6 @@
<template> <template>
<el-card :style="{height: height+'px'}"> <el-card :style="{height: height+'px'}">
<div class="runPlanHeader"> <div class="runPlanHeader" style="width: 90%;margin-left:5%;margin-top:20px;display: inline-block;">
<div class="runPlanList">{{$t('planMonitor.openRunPlan.runPlanList')}}</div> <div class="runPlanList">{{$t('planMonitor.openRunPlan.runPlanList')}}</div>
<el-button size="small" type="primary" @click="handleCreate" class="createRunPlan" v-if="isCreate">{{$t('planMonitor.createRunningDiagram')}}</el-button> <el-button size="small" type="primary" @click="handleCreate" class="createRunPlan" v-if="isCreate">{{$t('planMonitor.createRunningDiagram')}}</el-button>
</div> </div>
@ -8,7 +8,7 @@
border border
style="width: 90%;margin-left:5%;margin-top:20px;display: inline-block;"> style="width: 90%;margin-left:5%;margin-top:20px;display: inline-block;">
<el-table-column prop="name" :label="this.$t('planMonitor.runGraphName')" /> <el-table-column prop="name" :label="this.$t('planMonitor.runGraphName')" />
<el-table-column :label="this.$t('global.status')"> <el-table-column :label="this.$t('global.status')" v-if="!(/^\/design\/userlist/.test(this.$route.fullPath))">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag>{{handlerStatus(scope.row)}}</el-tag> <el-tag>{{handlerStatus(scope.row)}}</el-tag>
</template> </template>
@ -16,6 +16,7 @@
<el-table-column <el-table-column
prop="explanation" prop="explanation"
show-overflow-tooltip show-overflow-tooltip
v-if="!(/^\/design\/userlist/.test(this.$route.fullPath))"
:label="this.$t('planMonitor.explanation')"> :label="this.$t('planMonitor.explanation')">
</el-table-column> </el-table-column>
<el-table-column :label="this.$t('planMonitor.creationDate')"> <el-table-column :label="this.$t('planMonitor.creationDate')">