|
@@ -526,13 +526,14 @@
|
|
<vxe-button v-if="columnData.tableRefreshFlag === undefined ? true : columnData.tableRefreshFlag" title="刷新" style="margin-right: 12px" circle icon="el-icon-refresh" @click="refreshTableLayout()"></vxe-button>
|
|
<vxe-button v-if="columnData.tableRefreshFlag === undefined ? true : columnData.tableRefreshFlag" title="刷新" style="margin-right: 12px" circle icon="el-icon-refresh" @click="refreshTableLayout()"></vxe-button>
|
|
</template>
|
|
</template>
|
|
<template #top>
|
|
<template #top>
|
|
- <div style="padding: 0 0 10px 0; background: #ffffff" v-if="permLabelList.length">
|
|
|
|
- <el-button
|
|
|
|
- :style="{
|
|
|
|
|
|
+ <div :style="{ height: permLabelList && permLabelList.length ? 'auto' : '42px'}" v-if="permLabelList.length">
|
|
|
|
+ <div style="padding: 0 0 10px 0; background: #ffffff" >
|
|
|
|
+ <el-button
|
|
|
|
+ :style="{
|
|
color: permLabelList[0].labelCss && JSON.parse(permLabelList[0].labelCss).defaultBgColor ? '#ffffff' : '',
|
|
color: permLabelList[0].labelCss && JSON.parse(permLabelList[0].labelCss).defaultBgColor ? '#ffffff' : '',
|
|
background: !paramLabelId && permLabelList[0].labelCss ? JSON.parse(permLabelList[0].labelCss).actionBgColor : JSON.parse(permLabelList[0].labelCss).defaultBgColor
|
|
background: !paramLabelId && permLabelList[0].labelCss ? JSON.parse(permLabelList[0].labelCss).actionBgColor : JSON.parse(permLabelList[0].labelCss).defaultBgColor
|
|
}"
|
|
}"
|
|
- @click="
|
|
|
|
|
|
+ @click="
|
|
permLabelList.forEach((item) => {
|
|
permLabelList.forEach((item) => {
|
|
item.active = false
|
|
item.active = false
|
|
})
|
|
})
|
|
@@ -540,19 +541,20 @@
|
|
search()
|
|
search()
|
|
"
|
|
"
|
|
>全部
|
|
>全部
|
|
- </el-button>
|
|
|
|
- <template v-for="(item, index) in permLabelList">
|
|
|
|
- <el-button
|
|
|
|
- v-if="item.labelStatus !== 1"
|
|
|
|
- :key="item.id"
|
|
|
|
- :style="{
|
|
|
|
|
|
+ </el-button>
|
|
|
|
+ <template v-for="(item, index) in permLabelList">
|
|
|
|
+ <el-button
|
|
|
|
+ v-if="item.labelStatus !== 1"
|
|
|
|
+ :key="item.id"
|
|
|
|
+ :style="{
|
|
color: JSON.parse(item.labelCss).defaultBgColor ? '#ffffff' : '',
|
|
color: JSON.parse(item.labelCss).defaultBgColor ? '#ffffff' : '',
|
|
background: item.active ? JSON.parse(item.labelCss).actionBgColor : JSON.parse(item.labelCss).defaultBgColor
|
|
background: item.active ? JSON.parse(item.labelCss).actionBgColor : JSON.parse(item.labelCss).defaultBgColor
|
|
}"
|
|
}"
|
|
- @click="permLabelSeach(item)"
|
|
|
|
|
|
+ @click="permLabelSeach(item)"
|
|
>{{ item.visualdevPermName }}
|
|
>{{ item.visualdevPermName }}
|
|
- </el-button>
|
|
|
|
- </template>
|
|
|
|
|
|
+ </el-button>
|
|
|
|
+ </template>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<template v-slot:pager>
|
|
<template v-slot:pager>
|