|
|
|
|
@ -319,6 +319,7 @@ defineExpose({
|
|
|
|
|
:rules="rules"
|
|
|
|
|
require-mark-placement="left"
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
<n-form-item path="name" label="标题">
|
|
|
|
|
<n-input
|
|
|
|
|
v-model:value="formValue.name"
|
|
|
|
|
@ -342,6 +343,7 @@ defineExpose({
|
|
|
|
|
:options="logicOptions"
|
|
|
|
|
/>
|
|
|
|
|
</n-form-item>
|
|
|
|
|
<div class="sssscroll">
|
|
|
|
|
<n-form-item
|
|
|
|
|
v-for="(item, index) in formValue.conditions"
|
|
|
|
|
:key="index"
|
|
|
|
|
@ -385,7 +387,7 @@ defineExpose({
|
|
|
|
|
<n-button
|
|
|
|
|
:style="noBorderInput"
|
|
|
|
|
icon-placement="right"
|
|
|
|
|
@click="removeCondition(index)"
|
|
|
|
|
@click="index==0?()=>{}:removeCondition(index)"
|
|
|
|
|
style=" padding: 0;
|
|
|
|
|
margin-left: 17px;"
|
|
|
|
|
>
|
|
|
|
|
@ -393,7 +395,7 @@ defineExpose({
|
|
|
|
|
<!-- <SvgIcon size="24" name="close" color="#F00"/>
|
|
|
|
|
-->
|
|
|
|
|
<svg
|
|
|
|
|
|
|
|
|
|
:style="index==0?'cursor: not-allowed':''"
|
|
|
|
|
width="24px"
|
|
|
|
|
height="24px"
|
|
|
|
|
viewBox="0 0 64 64"
|
|
|
|
|
@ -442,12 +444,14 @@ defineExpose({
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</n-form-item>
|
|
|
|
|
</n-form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="wrapper-new" @click="createCondition">
|
|
|
|
|
<SvgIcon size="16" name="addicon" style="margin-top: 3px;"/>
|
|
|
|
|
<span style="margin-left: 8px">添加筛选条件</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</n-form>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="bottomline"></div>
|
|
|
|
|
<template #footer>
|
|
|
|
|
@ -544,6 +548,39 @@ defineExpose({
|
|
|
|
|
.modal_wrapper {
|
|
|
|
|
padding: 14px 14px 0 14px !important;
|
|
|
|
|
}
|
|
|
|
|
.sssscroll{
|
|
|
|
|
height: 145px;
|
|
|
|
|
overflow: auto;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
/* 定义滚动条的宽度及背景颜色 */
|
|
|
|
|
::-webkit-scrollbar {
|
|
|
|
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
width: 2px; /* for vertical scrollbars */
|
|
|
|
|
height: 10px; /* for horizontal scrollbars */
|
|
|
|
|
background: #f1f1f1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 定义滚动条轨道的样式 */
|
|
|
|
|
::-webkit-scrollbar-track {
|
|
|
|
|
|
|
|
|
|
background-color: #e1e1e1;
|
|
|
|
|
border-radius: 10px; /* 圆角 */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 定义滚动条滑块的样式 */
|
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
|
|
|
|
|
|
|
|
background-color: #888;
|
|
|
|
|
border-radius: 10px; /* 圆角 */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 滑块hover时的样式 */
|
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
|
|
|
|
|
|
|
|
background-color: #555;
|
|
|
|
|
}
|
|
|
|
|
::v-deep(.n-form-item .n-form-item-label) {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: #666666;
|
|
|
|
|
|