|
@@ -40,15 +40,15 @@
|
|
zIndex:hindex<=columnFixed-1?9:'unset',
|
|
zIndex:hindex<=columnFixed-1?9:'unset',
|
|
backgroundColor:'inherit'}">
|
|
backgroundColor:'inherit'}">
|
|
<template v-if="header.key == 'source'">
|
|
<template v-if="header.key == 'source'">
|
|
- <text>{{content[header.key] === 0 ? '本地站控':'云端'}}</text>
|
|
|
|
|
|
+ <text>{{content[header.key] === 0 ? '站控':'云端'}}</text>
|
|
</template>
|
|
</template>
|
|
- <template v-else-if="header.key == 'state'">
|
|
|
|
|
|
+ <!-- <template v-else-if="header.key == 'state'">
|
|
<text>{{content[header.key] === 0 ? '停用':'启用'}}</text>
|
|
<text>{{content[header.key] === 0 ? '停用':'启用'}}</text>
|
|
- </template>
|
|
|
|
|
|
+ </template> -->
|
|
<template v-else>
|
|
<template v-else>
|
|
<view v-if="header.label == '操作'" class="editColor">
|
|
<view v-if="header.label == '操作'" class="editColor">
|
|
- <view @click="EditBacisData(content)">编辑</view>
|
|
|
|
- <view @click="DelBacisData(content)">删除</view>
|
|
|
|
|
|
+ <!-- <view @click="EditBacisData(content)">编辑</view> -->
|
|
|
|
+ <view @click="DelBacisData(content)" v-if="content['source']==0">删除</view>
|
|
</view>
|
|
</view>
|
|
<text v-else>{{content[header.key]||emptyString}}</text>
|
|
<text v-else>{{content[header.key]||emptyString}}</text>
|
|
</template>
|
|
</template>
|
|
@@ -430,15 +430,6 @@
|
|
|
|
|
|
.editColor {
|
|
.editColor {
|
|
color: #55B693;
|
|
color: #55B693;
|
|
- font-weight: bold;
|
|
|
|
- display: flex;
|
|
|
|
- width: 100%;
|
|
|
|
- justify-items: center;
|
|
|
|
-
|
|
|
|
- view {
|
|
|
|
- width: 50%;
|
|
|
|
- text-align: center;
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
|
|
|
|
.container {
|
|
.container {
|