快速報名,功德內容設定調整:只要選擇預設版型

This commit is contained in:
2026-05-25 17:41:32 +08:00
parent 889e5679aa
commit a58e6ac7ac
7 changed files with 291 additions and 149 deletions
+48 -7
View File
@@ -12,19 +12,54 @@
</v-text-field>
</v-col>
<v-col cols="2" md="2">
<v-text-field label="法會名稱">
<v-text-field label="法會名稱" v-model="search.subject">
</v-text-field>
</v-col>
<v-col cols="2" md="2">
<v-text-field label="開始日期">
<!--<v-text-field label="開始日期" v-model="search.uptime1">
</v-text-field>
</v-text-field>-->
<v-menu v-model="startmenu"
:close-on-content-click="false"
:nudge-right="40"
transition="scale-transition"
offset-y
min-width="auto">
<template v-slot:activator="{ on, attrs }">
<v-text-field v-model="search.up_time1"
label="法會日期"
prepend-icon="mdi-calendar"
readonly
v-bind="attrs"
v-on="on"></v-text-field>
</template>
<v-date-picker v-model="search.up_time1"
@input="startmenu = false"></v-date-picker>
</v-menu>
</v-col>
<!--<v-col cols="2" md="2">
<v-menu v-model="endmenu"
:close-on-content-click="false"
:nudge-right="40"
transition="scale-transition"
offset-y
min-width="auto">
<template v-slot:activator="{ on, attrs }">
<v-text-field v-model="search.up_time2"
label="結束日期"
prepend-icon="mdi-calendar"
readonly
v-bind="attrs"
v-on="on"></v-text-field>
</template>
<v-date-picker v-model="search.up_time2"
@input="endmenu = false"></v-date-picker>
</v-menu>
</v-col>-->
<v-col cols="2" md="2">
<v-text-field label="結束日期">
</v-text-field>
<v-btn @click.prevent="getDefault()">查詢</v-btn>
<v-btn @click.prevent="clearSearch()">清空條件</v-btn>
</v-col>
</v-row>
</v-expansion-panel-content>
@@ -91,6 +126,8 @@
this_act:'',
options: { multiSort: false },
search_options: { multiSort: false },
startmenu: false,
endmenu: false,
data_table: {
loading: true,
list: [],
@@ -270,6 +307,10 @@
},
},
methods: {
clearSearch() {
this.search.subject = ""
this.search.up_time1=""
},
gotoSignup(item) {
this.$emit('custom-event', { action: 'add', item: item });
},
@@ -305,7 +346,7 @@
sessionStorage.setItem('orderpage', clearpage ? '1' : page);
axios
//.post(HTTP_HOST + 'api/order/GetList', this.search, { params: params })
.post(HTTP_HOST + 'api/activity/GetList', this.search, { params: params })
.post(HTTP_HOST + 'api/activity/GetListNew', this.search, { params: params })
.then(response => {
this.data_table.list = response.data.list
this.data_table.count = response.data.count;