Merge pull request #202 from InfinityPacer/dev

This commit is contained in:
jxxghp
2024-10-18 11:56:13 +08:00
committed by GitHub
9 changed files with 22 additions and 2 deletions

View File

@@ -94,6 +94,7 @@ onMounted(() => {
chips chips
label="" label=""
multiple multiple
clearable
@update:modelValue="filtersChanged" @update:modelValue="filtersChanged"
/> />
</VCol> </VCol>

View File

@@ -330,6 +330,7 @@ onMounted(() => {
:items="librariesOptions" :items="librariesOptions"
chips chips
multiple multiple
clearable
hint="只有选中的媒体库才会被同步" hint="只有选中的媒体库才会被同步"
persistent-hint persistent-hint
active active

View File

@@ -79,7 +79,7 @@ function saveNotificationInfo() {
return return
} }
// 重名判断 // 重名判断
if (props.notifications.some(item => item.name === notificationName.value && item!== props.notification)) { if (props.notifications.some(item => item.name === notificationName.value && item !== props.notification)) {
$toast.error(`${notificationName.value}】已存在,请替换为其他名称`) $toast.error(`${notificationName.value}】已存在,请替换为其他名称`)
return return
} }
@@ -129,7 +129,7 @@ function onClose() {
<VImg :src="getIcon" cover class="mt-5 me-7" max-width="3rem" /> <VImg :src="getIcon" cover class="mt-5 me-7" max-width="3rem" />
</VCardText> </VCardText>
</VCard> </VCard>
<VDialog v-model="notificationInfoDialog" scrollable max-width="40rem" persistent > <VDialog v-model="notificationInfoDialog" scrollable max-width="40rem" persistent>
<VCard :title="`${props.notification.name} - 配置`" class="rounded-t"> <VCard :title="`${props.notification.name} - 配置`" class="rounded-t">
<DialogCloseBtn v-model="notificationInfoDialog" /> <DialogCloseBtn v-model="notificationInfoDialog" />
<VDivider /> <VDivider />
@@ -146,6 +146,7 @@ function onClose() {
label="消息类型" label="消息类型"
hint="开启通知的消息类型" hint="开启通知的消息类型"
multiple multiple
clearable
chips chips
persistent-hint persistent-hint
/> />

View File

@@ -387,6 +387,7 @@ onMounted(() => {
chips chips
label="订阅站点" label="订阅站点"
multiple multiple
clearable
hint="订阅的站点范围,不选使用系统设置" hint="订阅的站点范围,不选使用系统设置"
persistent-hint persistent-hint
/> />
@@ -447,6 +448,7 @@ onMounted(() => {
:items="filterRuleGroupOptions" :items="filterRuleGroupOptions"
chips chips
multiple multiple
clearable
label="优先级规则组" label="优先级规则组"
hint="按选定的过滤规则组对订阅进行过滤" hint="按选定的过滤规则组对订阅进行过滤"
persistent-hint persistent-hint

View File

@@ -277,6 +277,7 @@ function loadMore({ done }: { done: any }) {
chips chips
label="站点" label="站点"
multiple multiple
clearable
/> />
</VCol> </VCol>
<VCol v-if="seasonFilterOptions.length > 0" cols="6" md=""> <VCol v-if="seasonFilterOptions.length > 0" cols="6" md="">
@@ -288,6 +289,7 @@ function loadMore({ done }: { done: any }) {
chips chips
label="季集" label="季集"
multiple multiple
clearable
/> />
</VCol> </VCol>
<VCol v-if="releaseGroupFilterOptions.length > 0" cols="6" md=""> <VCol v-if="releaseGroupFilterOptions.length > 0" cols="6" md="">
@@ -299,6 +301,7 @@ function loadMore({ done }: { done: any }) {
chips chips
label="制作组" label="制作组"
multiple multiple
clearable
/> />
</VCol> </VCol>
<VCol v-if="editionFilterOptions.length > 0" cols="6" md=""> <VCol v-if="editionFilterOptions.length > 0" cols="6" md="">
@@ -310,6 +313,7 @@ function loadMore({ done }: { done: any }) {
chips chips
label="质量" label="质量"
multiple multiple
clearable
/> />
</VCol> </VCol>
<VCol v-if="resolutionFilterOptions.length > 0" cols="6" md=""> <VCol v-if="resolutionFilterOptions.length > 0" cols="6" md="">
@@ -321,6 +325,7 @@ function loadMore({ done }: { done: any }) {
chips chips
label="分辨率" label="分辨率"
multiple multiple
clearable
/> />
</VCol> </VCol>
<VCol v-if="videoCodeFilterOptions.length > 0" cols="6" md=""> <VCol v-if="videoCodeFilterOptions.length > 0" cols="6" md="">
@@ -332,6 +337,7 @@ function loadMore({ done }: { done: any }) {
chips chips
label="视频编码" label="视频编码"
multiple multiple
clearable
/> />
</VCol> </VCol>
<VCol v-if="freeStateFilterOptions.length > 0" cols="6" md=""> <VCol v-if="freeStateFilterOptions.length > 0" cols="6" md="">
@@ -343,6 +349,7 @@ function loadMore({ done }: { done: any }) {
chips chips
label="促销状态" label="促销状态"
multiple multiple
clearable
/> />
</VCol> </VCol>
</VRow> </VRow>

View File

@@ -388,6 +388,7 @@ onBeforeMount(async () => {
chips chips
label="作者" label="作者"
multiple multiple
clearable
/> />
</VCol> </VCol>
<VCol v-if="labelFilterOptions.length > 0" cols="6" md=""> <VCol v-if="labelFilterOptions.length > 0" cols="6" md="">
@@ -399,6 +400,7 @@ onBeforeMount(async () => {
chips chips
label="标签" label="标签"
multiple multiple
clearable
/> />
</VCol> </VCol>
<VCol v-if="repoFilterOptions.length > 0" cols="6" md=""> <VCol v-if="repoFilterOptions.length > 0" cols="6" md="">
@@ -410,6 +412,7 @@ onBeforeMount(async () => {
chips chips
label="插件库" label="插件库"
multiple multiple
clearable
/> />
</VCol> </VCol>
<VCol v-if="repoFilterOptions.length > 0" cols="6" md=""> <VCol v-if="repoFilterOptions.length > 0" cols="6" md="">

View File

@@ -256,6 +256,7 @@ onMounted(() => {
v-model="selectedTorrentPriority" v-model="selectedTorrentPriority"
:items="TorrentPriorityItems" :items="TorrentPriorityItems"
multiple multiple
clearable
chips chips
label="当前使用下载优先规则" label="当前使用下载优先规则"
hint="排在前面的优先级越高,未选择的项不纳入排序" hint="排在前面的优先级越高,未选择的项不纳入排序"

View File

@@ -148,6 +148,7 @@ onMounted(() => {
<VSelect <VSelect
v-model="selectedMediaSource" v-model="selectedMediaSource"
multiple multiple
clearable
chips chips
:items="mediaSourcesDict" :items="mediaSourcesDict"
label="媒体数据源" label="媒体数据源"
@@ -159,6 +160,7 @@ onMounted(() => {
<VSelect <VSelect
v-model="selectedFilterGroup" v-model="selectedFilterGroup"
multiple multiple
clearable
chips chips
:items="filterRuleGroupOptions" :items="filterRuleGroupOptions"
label="优先级规则组" label="优先级规则组"

View File

@@ -199,6 +199,7 @@ onMounted(() => {
:items="filterRuleGroupOptions" :items="filterRuleGroupOptions"
chips chips
multiple multiple
clearable
label="订阅优先级规则组" label="订阅优先级规则组"
hint="按选定的过滤规则组对订阅进行过滤" hint="按选定的过滤规则组对订阅进行过滤"
persistent-hint persistent-hint
@@ -210,6 +211,7 @@ onMounted(() => {
:items="filterRuleGroupOptions" :items="filterRuleGroupOptions"
chips chips
multiple multiple
clearable
label="洗版优先级规则组" label="洗版优先级规则组"
hint="按选定的过滤规则组对洗版订阅进行过滤" hint="按选定的过滤规则组对洗版订阅进行过滤"
persistent-hint persistent-hint