|
|
|
|
@ -662,27 +662,32 @@
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template #node-staticData="staticDataNodeProps">
|
|
|
|
|
<StaticDataNode :colors="pageSettingForm.colors" v-bind="staticDataNodeProps" :inputData="getInputData(staticDataNodeProps.id)"
|
|
|
|
|
<StaticDataNode :colors="pageSettingForm.colors" v-bind="staticDataNodeProps"
|
|
|
|
|
:inputData="getInputData(staticDataNodeProps.id)"
|
|
|
|
|
@resize="(e) => handleResizeStop(e, staticDataNodeProps)" />
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template #node-table="tableNodeProps">
|
|
|
|
|
<TableNode :colors="pageSettingForm.colors" v-bind="tableNodeProps" :inputData="getInputData(tableNodeProps.id)"
|
|
|
|
|
<TableNode :colors="pageSettingForm.colors" v-bind="tableNodeProps"
|
|
|
|
|
:inputData="getInputData(tableNodeProps.id)"
|
|
|
|
|
@resize="(e) => handleResizeStop(e, tableNodeProps)" />
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template #node-scrollTable="scrollTableNodeProps">
|
|
|
|
|
<ScrollTableNode :colors="pageSettingForm.colors" v-bind="scrollTableNodeProps" :inputData="getInputData(scrollTableNodeProps.id)"
|
|
|
|
|
<ScrollTableNode :colors="pageSettingForm.colors" v-bind="scrollTableNodeProps"
|
|
|
|
|
:inputData="getInputData(scrollTableNodeProps.id)"
|
|
|
|
|
@resize="(e) => handleResizeStop(e, scrollTableNodeProps)" />
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template #node-background="backgroundNodeProps">
|
|
|
|
|
<BackgroundNode :colors="pageSettingForm.colors" v-bind="backgroundNodeProps" :inputData="getInputData(backgroundNodeProps.id)"
|
|
|
|
|
<BackgroundNode :colors="pageSettingForm.colors" v-bind="backgroundNodeProps"
|
|
|
|
|
:inputData="getInputData(backgroundNodeProps.id)"
|
|
|
|
|
@resize="(e) => handleResizeStop(e, backgroundNodeProps)" />
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template #node-pagination="paginationNodeProps">
|
|
|
|
|
<PaginationNode :colors="pageSettingForm.colors" v-bind="paginationNodeProps" :inputData="getInputData(paginationNodeProps.id)"
|
|
|
|
|
<PaginationNode :colors="pageSettingForm.colors" v-bind="paginationNodeProps"
|
|
|
|
|
:inputData="getInputData(paginationNodeProps.id)"
|
|
|
|
|
@resize="(e) => handleResizeStop(e, paginationNodeProps)" />
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
@ -733,8 +738,8 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="颜色库" v-if="!Object.keys(nodeAttrForm).length>0">
|
|
|
|
|
<el-badge value="99" class="item" :offset="[-8,0]"
|
|
|
|
|
v-for="(i,k) in pageSettingForm.colors">
|
|
|
|
|
<el-color-picker style="margin-right: 8px;"
|
|
|
|
|
v-for="(i,k) in pageSettingForm.colors" style="margin-bottom: 12px;padding: 0">
|
|
|
|
|
<el-color-picker style="margin-right: 8px;padding:0"
|
|
|
|
|
v-model="pageSettingForm.colors[k]" show-alpha />
|
|
|
|
|
<template #content>
|
|
|
|
|
<div class="custom-content" @click="pageSettingForm.colors.splice(k, 1)">
|
|
|
|
|
@ -744,10 +749,10 @@
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-badge>
|
|
|
|
|
<el-button :icon="Plus" @click="pageSettingForm.colors.push('#fff')" />
|
|
|
|
|
<el-button style="width: 32px;height: 32px; margin-bottom: 14px; " :icon="Plus"
|
|
|
|
|
@click="pageSettingForm.colors.push('#fff')" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="颜色库切换" v-if="!Object.keys(nodeAttrForm).length>0">
|
|
|
|
|
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="colorType"
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
@ -1990,7 +1995,7 @@ const logEvent = async (eventname, event) => {
|
|
|
|
|
case 'paneClick':
|
|
|
|
|
nodeAttrForm.value = {};
|
|
|
|
|
nodeDataForm.value = {};
|
|
|
|
|
tabs.value = 0
|
|
|
|
|
tabs.value = 0;
|
|
|
|
|
break;
|
|
|
|
|
case 'click':
|
|
|
|
|
nodeAttrForm.value = event.node.data.options;
|
|
|
|
|
@ -2004,8 +2009,8 @@ const logEvent = async (eventname, event) => {
|
|
|
|
|
key.value += 1;
|
|
|
|
|
} else {
|
|
|
|
|
nodeAttrForm.value = {};
|
|
|
|
|
tabs,value = 0
|
|
|
|
|
nodeDataForm.value = { };
|
|
|
|
|
tabs, value = 0;
|
|
|
|
|
nodeDataForm.value = {};
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
case 'contextmenu':
|
|
|
|
|
@ -2321,12 +2326,27 @@ const setText = (value, row, formula) => {
|
|
|
|
|
pointer-events: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:deep(.el-color-picker__icon) {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.custom-content {
|
|
|
|
|
width: 10px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
|
|
|
|
.el-icon {
|
|
|
|
|
width: 12px;
|
|
|
|
|
height: 12px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:deep(.el-badge__content) {
|
|
|
|
|
padding: 0;
|
|
|
|
|
height: 14px;
|
|
|
|
|
width: 14px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.boardGenerate {
|
|
|
|
|
|