提交
This commit is contained in:
@@ -5,11 +5,13 @@
|
||||
class="info_bg"
|
||||
style="overflow: hidden; white-space: nowrap; text-overflow: ellipsis"
|
||||
>
|
||||
当前标签:<span style="color: #17b3a3; font-weight: 600">{{
|
||||
当前{{currentNode&&['wait','false','all','success'].includes(currentNode.data.id)?'状态':'标签' }}:<span style="color: #17b3a3; font-weight: 600"
|
||||
:style="`${currentNode&¤tNode.data.color?`color: ${currentNode.data.color}`:''}`"
|
||||
>{{
|
||||
currentNode ? currentNode.data.title : ""
|
||||
}}</span>
|
||||
</p>
|
||||
<el-button
|
||||
<el-button v-if="currentNode&&!['wait','false','all'].includes(currentNode.data.id)"
|
||||
type="primary"
|
||||
@click="addOrUpdateHandle()"
|
||||
style="float: right"
|
||||
@@ -55,8 +57,9 @@
|
||||
slot-scope="{ node, data }"
|
||||
@click="source == 'tags' ? handleClickNodes(node, data, 'edit') : ''"
|
||||
:class="
|
||||
`${currentNode && currentNode.data.id == data.id ? 'isSelect' : ''}`
|
||||
`${currentNode && currentNode.data.id == data.id ? `isSelect` : ''}`
|
||||
"
|
||||
:style="`${currentNode && currentNode.data.id == data.id&&data.bgcolor ? `background-image: linear-gradient(-45deg, #fff, ${data.bgcolor});` : ''}`"
|
||||
style=" padding-left: 5px;
|
||||
box-sizing: border-box;"
|
||||
>
|
||||
@@ -68,7 +71,7 @@
|
||||
v-if="data.isLast == 1 && source == 'shop'"
|
||||
style="margin-right: 10px"
|
||||
></el-checkbox
|
||||
>{{ node.label }}</span
|
||||
><span :style="`${data.color?`color:${data.color};font-weight:bold`:''}`">{{ node.label }}</span></span
|
||||
>
|
||||
<span v-if="source == 'tags'">
|
||||
<!-- v-if="node.level <= 1" -->
|
||||
@@ -76,7 +79,7 @@
|
||||
type="text"
|
||||
size="mini"
|
||||
@click.stop="handleClickNodes(node, data, 'addChildren')"
|
||||
v-if="data.isLast != 1&&!disableAddChild"
|
||||
v-if="data.isLast != 1&&!disableAddChild&&!data.isDisableAddChild"
|
||||
>
|
||||
添加下级
|
||||
</el-button>
|
||||
|
||||
Reference in New Issue
Block a user