客堂報名
This commit is contained in:
@@ -99,6 +99,7 @@ namespace Model
|
|||||||
public virtual DbSet<receipt_master> receipt_master { get; set; }
|
public virtual DbSet<receipt_master> receipt_master { get; set; }
|
||||||
public virtual DbSet<receipt_style> receipt_style { get; set; }
|
public virtual DbSet<receipt_style> receipt_style { get; set; }
|
||||||
public virtual DbSet<receipt_style_d> receipt_style_d { get; set; }
|
public virtual DbSet<receipt_style_d> receipt_style_d { get; set; }
|
||||||
|
public virtual DbSet<pre_order> pre_order { get; set; }
|
||||||
|
|
||||||
public virtual int pager_eztrust(Nullable<int> startRowIndex, Nullable<int> pageSize, string tableName, string columnName, string sqlWhere, string orderBy, ObjectParameter rowCount)
|
public virtual int pager_eztrust(Nullable<int> startRowIndex, Nullable<int> pageSize, string tableName, string columnName, string sqlWhere, string orderBy, ObjectParameter rowCount)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1355,6 +1355,24 @@ namespace Model
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
public partial class pre_order
|
||||||
|
{
|
||||||
|
public int num { get; set; }
|
||||||
|
public Nullable<int> f_num { get; set; }
|
||||||
|
public string order_no { get; set; }
|
||||||
|
public Nullable<int> item_count { get; set; }
|
||||||
|
public Nullable<int> total_amt { get; set; }
|
||||||
|
public Nullable<int> act_num { get; set; }
|
||||||
|
public Nullable<int> admin_num { get; set; }
|
||||||
|
public Nullable<System.DateTime> reg_time { get; set; }
|
||||||
|
public Nullable<int> receipt_num { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
public partial class pro_order
|
public partial class pro_order
|
||||||
{
|
{
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||||
|
|||||||
@@ -699,6 +699,20 @@
|
|||||||
<Property Name="City" Type="nvarchar" MaxLength="255" />
|
<Property Name="City" Type="nvarchar" MaxLength="255" />
|
||||||
<Property Name="Area" Type="nvarchar" MaxLength="255" />
|
<Property Name="Area" Type="nvarchar" MaxLength="255" />
|
||||||
</EntityType>
|
</EntityType>
|
||||||
|
<EntityType Name="pre_order">
|
||||||
|
<Key>
|
||||||
|
<PropertyRef Name="num" />
|
||||||
|
</Key>
|
||||||
|
<Property Name="num" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||||||
|
<Property Name="f_num" Type="int" />
|
||||||
|
<Property Name="order_no" Type="nvarchar" MaxLength="20" />
|
||||||
|
<Property Name="item_count" Type="int" />
|
||||||
|
<Property Name="total_amt" Type="int" />
|
||||||
|
<Property Name="act_num" Type="int" />
|
||||||
|
<Property Name="admin_num" Type="int" />
|
||||||
|
<Property Name="reg_time" Type="datetime" />
|
||||||
|
<Property Name="receipt_num" Type="int" />
|
||||||
|
</EntityType>
|
||||||
<EntityType Name="pro_order">
|
<EntityType Name="pro_order">
|
||||||
<Key>
|
<Key>
|
||||||
<PropertyRef Name="order_no" />
|
<PropertyRef Name="order_no" />
|
||||||
@@ -812,8 +826,8 @@
|
|||||||
<Property Name="u_date" Type="varchar" MaxLength="10" />
|
<Property Name="u_date" Type="varchar" MaxLength="10" />
|
||||||
<Property Name="u_time" Type="varchar" MaxLength="6" />
|
<Property Name="u_time" Type="varchar" MaxLength="6" />
|
||||||
<Property Name="addr" Type="nvarchar" MaxLength="255" />
|
<Property Name="addr" Type="nvarchar" MaxLength="255" />
|
||||||
<Property Name="receipt_date" Type="varchar" MaxLength="10" />
|
<Property Name="receipt_date" Type="varchar" MaxLength="10" />
|
||||||
<Property Name="receipt_item" Type="nvarchar" MaxLength="100" />
|
<Property Name="receipt_item" Type="nvarchar" MaxLength="100" />
|
||||||
</EntityType>
|
</EntityType>
|
||||||
<EntityType Name="receipt_master">
|
<EntityType Name="receipt_master">
|
||||||
<Key>
|
<Key>
|
||||||
@@ -2247,6 +2261,7 @@
|
|||||||
<EntitySet Name="news_kind" EntityType="Self.news_kind" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="news_kind" EntityType="Self.news_kind" Schema="dbo" store:Type="Tables" />
|
||||||
<EntitySet Name="PostCity" EntityType="Self.PostCity" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="PostCity" EntityType="Self.PostCity" Schema="dbo" store:Type="Tables" />
|
||||||
<EntitySet Name="PostNumber" EntityType="Self.PostNumber" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="PostNumber" EntityType="Self.PostNumber" Schema="dbo" store:Type="Tables" />
|
||||||
|
<EntitySet Name="pre_order" EntityType="Self.pre_order" Schema="dbo" store:Type="Tables" />
|
||||||
<EntitySet Name="pro_order" EntityType="Self.pro_order" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="pro_order" EntityType="Self.pro_order" Schema="dbo" store:Type="Tables" />
|
||||||
<EntitySet Name="pro_order_detail" EntityType="Self.pro_order_detail" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="pro_order_detail" EntityType="Self.pro_order_detail" Schema="dbo" store:Type="Tables" />
|
||||||
<EntitySet Name="pro_order_record" EntityType="Self.pro_order_record" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="pro_order_record" EntityType="Self.pro_order_record" Schema="dbo" store:Type="Tables" />
|
||||||
@@ -4693,6 +4708,7 @@
|
|||||||
<EntitySet Name="receipt_master" EntityType="Model.receipt_master" />
|
<EntitySet Name="receipt_master" EntityType="Model.receipt_master" />
|
||||||
<EntitySet Name="receipt_style" EntityType="Model.receipt_style" />
|
<EntitySet Name="receipt_style" EntityType="Model.receipt_style" />
|
||||||
<EntitySet Name="receipt_style_d" EntityType="Model.receipt_style_d" />
|
<EntitySet Name="receipt_style_d" EntityType="Model.receipt_style_d" />
|
||||||
|
<EntitySet Name="pre_order" EntityType="Model.pre_order" />
|
||||||
</EntityContainer>
|
</EntityContainer>
|
||||||
<ComplexType Name="sp_helpdiagramdefinition_Result">
|
<ComplexType Name="sp_helpdiagramdefinition_Result">
|
||||||
<Property Type="Int32" Name="version" Nullable="true" />
|
<Property Type="Int32" Name="version" Nullable="true" />
|
||||||
@@ -5466,7 +5482,7 @@
|
|||||||
<Property Name="u_date" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
|
<Property Name="u_date" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
|
||||||
<Property Name="u_time" Type="String" MaxLength="6" FixedLength="false" Unicode="false" />
|
<Property Name="u_time" Type="String" MaxLength="6" FixedLength="false" Unicode="false" />
|
||||||
<Property Name="addr" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
<Property Name="addr" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
||||||
<Property Name="receipt_date" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
|
<Property Name="receipt_date" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
|
||||||
<Property Name="receipt_item" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
|
<Property Name="receipt_item" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
|
||||||
</EntityType>
|
</EntityType>
|
||||||
<EntityType Name="receipt_master">
|
<EntityType Name="receipt_master">
|
||||||
@@ -5514,6 +5530,20 @@
|
|||||||
<Property Name="u_date" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
|
<Property Name="u_date" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
|
||||||
<Property Name="u_time" Type="String" MaxLength="6" FixedLength="false" Unicode="false" />
|
<Property Name="u_time" Type="String" MaxLength="6" FixedLength="false" Unicode="false" />
|
||||||
</EntityType>
|
</EntityType>
|
||||||
|
<EntityType Name="pre_order">
|
||||||
|
<Key>
|
||||||
|
<PropertyRef Name="num" />
|
||||||
|
</Key>
|
||||||
|
<Property Name="num" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||||||
|
<Property Name="f_num" Type="Int32" />
|
||||||
|
<Property Name="order_no" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
|
||||||
|
<Property Name="item_count" Type="Int32" />
|
||||||
|
<Property Name="total_amt" Type="Int32" />
|
||||||
|
<Property Name="act_num" Type="Int32" />
|
||||||
|
<Property Name="admin_num" Type="Int32" />
|
||||||
|
<Property Name="reg_time" Type="DateTime" Precision="3" />
|
||||||
|
<Property Name="receipt_num" Type="Int32" />
|
||||||
|
</EntityType>
|
||||||
</Schema>
|
</Schema>
|
||||||
</edmx:ConceptualModels>
|
</edmx:ConceptualModels>
|
||||||
<!-- C-S mapping content -->
|
<!-- C-S mapping content -->
|
||||||
@@ -6654,6 +6684,21 @@
|
|||||||
</MappingFragment>
|
</MappingFragment>
|
||||||
</EntityTypeMapping>
|
</EntityTypeMapping>
|
||||||
</EntitySetMapping>
|
</EntitySetMapping>
|
||||||
|
<EntitySetMapping Name="pre_order">
|
||||||
|
<EntityTypeMapping TypeName="Model.pre_order">
|
||||||
|
<MappingFragment StoreEntitySet="pre_order">
|
||||||
|
<ScalarProperty Name="receipt_num" ColumnName="receipt_num" />
|
||||||
|
<ScalarProperty Name="reg_time" ColumnName="reg_time" />
|
||||||
|
<ScalarProperty Name="admin_num" ColumnName="admin_num" />
|
||||||
|
<ScalarProperty Name="act_num" ColumnName="act_num" />
|
||||||
|
<ScalarProperty Name="total_amt" ColumnName="total_amt" />
|
||||||
|
<ScalarProperty Name="item_count" ColumnName="item_count" />
|
||||||
|
<ScalarProperty Name="order_no" ColumnName="order_no" />
|
||||||
|
<ScalarProperty Name="f_num" ColumnName="f_num" />
|
||||||
|
<ScalarProperty Name="num" ColumnName="num" />
|
||||||
|
</MappingFragment>
|
||||||
|
</EntityTypeMapping>
|
||||||
|
</EntitySetMapping>
|
||||||
</EntityContainerMapping>
|
</EntityContainerMapping>
|
||||||
</Mapping>
|
</Mapping>
|
||||||
</edmx:Mappings>
|
</edmx:Mappings>
|
||||||
|
|||||||
@@ -169,6 +169,7 @@
|
|||||||
<EntityTypeShape EntityType="Model.receipt_master" Width="1.5" PointX="25.375" PointY="7.75" />
|
<EntityTypeShape EntityType="Model.receipt_master" Width="1.5" PointX="25.375" PointY="7.75" />
|
||||||
<EntityTypeShape EntityType="Model.receipt_style" Width="1.5" PointX="19.375" PointY="25.75" />
|
<EntityTypeShape EntityType="Model.receipt_style" Width="1.5" PointX="19.375" PointY="25.75" />
|
||||||
<EntityTypeShape EntityType="Model.receipt_style_d" Width="1.5" PointX="26.375" PointY="0.75" />
|
<EntityTypeShape EntityType="Model.receipt_style_d" Width="1.5" PointX="26.375" PointY="0.75" />
|
||||||
|
<EntityTypeShape EntityType="Model.pre_order" Width="1.5" PointX="0.75" PointY="26.75" />
|
||||||
</Diagram>
|
</Diagram>
|
||||||
</edmx:Diagrams>
|
</edmx:Diagrams>
|
||||||
</edmx:Designer>
|
</edmx:Designer>
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Web;
|
||||||
|
using System.Web.Http;
|
||||||
|
|
||||||
|
// api/pre_order
|
||||||
|
//[ezAuthorize(Roles = "admin")]//群組:*
|
||||||
|
//[ezAuthorize]
|
||||||
|
public class preOrderController: ApiController
|
||||||
|
{
|
||||||
|
|
||||||
|
private Model.ezEntities _db = new Model.ezEntities();
|
||||||
|
public preOrderController()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
// TODO: 在這裡新增建構函式邏輯
|
||||||
|
//
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,266 @@
|
|||||||
|
<%@ Page Title="" Language="C#" MasterPageFile="~/admin/Templates/TBS5ADM001/MasterPage.master" AutoEventWireup="true" CodeFile="pre_index.aspx.cs" Inherits="admin_order_pre_index" %>
|
||||||
|
<%@ Register Src="~/admin/_uc/alert.ascx" TagPrefix="uc1" TagName="alert" %>
|
||||||
|
<asp:Content ID="Content1" ContentPlaceHolderID="page_header" Runat="Server">
|
||||||
|
|
||||||
|
</asp:Content>
|
||||||
|
<asp:Content ID="Content2" ContentPlaceHolderID="page_nav" Runat="Server">
|
||||||
|
<div class="mb-2 mb-sm-0">
|
||||||
|
<a href="reg.aspx" class="btn btn-primary">
|
||||||
|
<i class="mdi mdi-plus"></i>新增
|
||||||
|
</a>
|
||||||
|
<%--<a @click="deleteAll" class="btn btn-outline-danger" title="刪除勾選的資料" ><i class="mdi mdi-trash-can"></i> 刪除勾選</a>--%>
|
||||||
|
</div>
|
||||||
|
<div class="">
|
||||||
|
<%--<a @click="print_dialog.show=true" class="btn btn-outline-primary btn-print" target="_blank">
|
||||||
|
<i class="mdi mdi-printer"></i>列印管理報表
|
||||||
|
</a>
|
||||||
|
<div :style="data_table.list.length === 0 ? 'pointer-events: none; opacity: 0.5;' : ''" style="display:inline-block;">
|
||||||
|
<div class="dropdown d-inline-block">
|
||||||
|
<a class="btn btn-outline-primary btn-print dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false"><i class="mdi mdi-printer"></i>列印查詢資料</a>
|
||||||
|
<ul class="dropdown-menu ps-0 w-100" aria-labelledby="dropdownPrintLink">
|
||||||
|
<li><a @click="search.hasPrice='Y';goPrint()" class="dropdown-item"><i class="mdi mdi-printer me-1"></i>有金額</a></li>
|
||||||
|
<li><a @click="search.hasPrice='N';goPrint()" class="dropdown-item"><i class="mdi mdi-printer me-1"></i>無金額</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div :style="data_table.list.length === 0 ? 'pointer-events: none; opacity: 0.5;' : ''" style="display:inline-block;">
|
||||||
|
<asp:LinkButton ID="excel" runat="server" CssClass="btn btn-outline-success" OnClick="excel_Click"><span class="fa-solid fa-file-excel"></span> 匯出查詢資料(Excel)</asp:LinkButton>
|
||||||
|
</div>--%>
|
||||||
|
</div>
|
||||||
|
</asp:Content>
|
||||||
|
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
|
||||||
|
<div id="content" class="container-fluid">
|
||||||
|
<v-data-table
|
||||||
|
v-model="data_table.selected"
|
||||||
|
:items="data_table.list"
|
||||||
|
:search-props="search"
|
||||||
|
item-key="order_no"
|
||||||
|
:options.sync="options"
|
||||||
|
:headers="data_table.header"
|
||||||
|
:footer-props="data_table.footer"
|
||||||
|
:server-items-length="data_table.count"
|
||||||
|
:loading="data_table.loading"
|
||||||
|
:single-select="data_table.singleSelect"
|
||||||
|
show-select
|
||||||
|
hide-default-footer
|
||||||
|
:page.sync="data_table.page"
|
||||||
|
:items-per-page.sync="data_table.pageSize"
|
||||||
|
class="elevation-1">
|
||||||
|
<template #item.up_time="{ item }" >
|
||||||
|
{{ item.up_time|timeString('YYYY/MM/DD') }}
|
||||||
|
</template>
|
||||||
|
<template #item.u_name="{ item }" >
|
||||||
|
{{ item.u_name }}
|
||||||
|
</template>
|
||||||
|
<template #item.slot_btn="{ item }">
|
||||||
|
<a :href="'reg.aspx?order_no='+item.order_no" class="btn btn-outline-secondary btn-sm"><i class="mdi mdi-pencil-box-outline"></i>編輯</a>
|
||||||
|
<a @click="deleteItem(item)" class="btn btn-outline-secondary btn-sm"><i class="mdi mdi-trash-can"></i>刪除</a>
|
||||||
|
</template>
|
||||||
|
</v-data-table>
|
||||||
|
<v-container>
|
||||||
|
<v-row class="align-baseline" wrap>
|
||||||
|
<v-col cols="12" md="9">
|
||||||
|
<v-pagination
|
||||||
|
v-model="data_table.page"
|
||||||
|
:length="pageCount">
|
||||||
|
</v-pagination>
|
||||||
|
</v-col>
|
||||||
|
<v-col class="text-truncate text-right" cols="12" md="2">
|
||||||
|
共 {{ data_table.count }} 筆, 頁數:
|
||||||
|
</v-col>
|
||||||
|
<v-col cols="6" md="1">
|
||||||
|
<v-text-field
|
||||||
|
v-model="data_table.page"
|
||||||
|
type="number"
|
||||||
|
hide-details
|
||||||
|
dense
|
||||||
|
min="1"
|
||||||
|
:max="pageCount"
|
||||||
|
@input="data_table.page = parseInt($event, 10)"
|
||||||
|
></v-text-field>
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
|
</v-container>
|
||||||
|
|
||||||
|
<v-dialog v-model="search_dialog.show" max-width="500px">
|
||||||
|
<v-card>
|
||||||
|
<v-card-title class="justify-space-between grey lighten-2">
|
||||||
|
查詢:{{search_dialog.current.title}}
|
||||||
|
<v-btn icon @click="search_dialog.show=false"><v-icon>mdi-close</v-icon></v-btn>
|
||||||
|
</v-card-title>
|
||||||
|
<v-card-text >
|
||||||
|
<v-row>
|
||||||
|
<v-col v-for="item in search_dialog.current.keys"
|
||||||
|
:cols="search_dialog.current.keys.length>1?6:12" v-bind:key="item.value">
|
||||||
|
<v-text-field v-model="item.value" :label="item.title" v-if="item.visible===undefined || item.visible==true "></v-text-field>
|
||||||
|
</v-col>
|
||||||
|
<v-col cols="12" class="text-end">
|
||||||
|
<v-btn color="primary" elevation="0" @click="search_get()">查詢</v-btn>
|
||||||
|
<v-btn elevation="0" @click="search_clear()">清除條件</v-btn>
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
|
<v-data-table
|
||||||
|
:headers="search_headers()"
|
||||||
|
:items="search_dialog.list"
|
||||||
|
:footer-props="search_dialog.footer"
|
||||||
|
:items-per-page="10"
|
||||||
|
:server-items-length="search_dialog.count"
|
||||||
|
:page.sync="search_dialog.page"
|
||||||
|
:options.sync="search_options"
|
||||||
|
@click:row="search_select"
|
||||||
|
></v-data-table>
|
||||||
|
</v-card-text>
|
||||||
|
<v-card-actions>
|
||||||
|
</v-card-actions>
|
||||||
|
</v-card>
|
||||||
|
</v-dialog>
|
||||||
|
</div>
|
||||||
|
</asp:Content>
|
||||||
|
<asp:Content ID="Content4" ContentPlaceHolderID="offCanvasRight" Runat="Server">
|
||||||
|
</asp:Content>
|
||||||
|
<asp:Content ID="Content5" ContentPlaceHolderID="footer_script" Runat="Server">
|
||||||
|
<script>
|
||||||
|
Vue.filter('timeString', function (value, myFormat) {
|
||||||
|
return value == null || value == "" ? "" : moment(value).format(myFormat || 'YYYY-MM-DD, HH:mm:ss');
|
||||||
|
});
|
||||||
|
|
||||||
|
let VueApp = new Vue({
|
||||||
|
el: '#app',
|
||||||
|
vuetify: new Vuetify(vuetify_options),
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
options: { multiSort: false },
|
||||||
|
search_options: { multiSort: false },
|
||||||
|
data_table: {
|
||||||
|
loading: true,
|
||||||
|
list: [],
|
||||||
|
selected: [],
|
||||||
|
singleSelect: false,
|
||||||
|
count: 0,
|
||||||
|
page: 1,
|
||||||
|
pageSize: 10,
|
||||||
|
header: [
|
||||||
|
{ text: '信眾', value: 'f_num' },
|
||||||
|
{ text: '訂單編號', value: 'order_no' },
|
||||||
|
{ text: '收據號碼', value: 'receipt_num' },
|
||||||
|
{ text: '活動', value: 'act_num', align: 'start' },
|
||||||
|
{ text: '功德項目數量', value: 'item_count' },
|
||||||
|
{ text: '總金額', value: 'total_amt' },
|
||||||
|
{ text: '登錄人員', value: 'admin_num' },
|
||||||
|
{ text: '登錄時間', value: 'reg_time' },
|
||||||
|
{ text: '', value: 'slot_btn', sortable: false, align: 'end' }
|
||||||
|
],
|
||||||
|
footer: {
|
||||||
|
showFirstLastPage: true,
|
||||||
|
itemsPerPageOptions: [5, 10, 20, 30],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
search_dialog: {
|
||||||
|
controls: {
|
||||||
|
search1: {
|
||||||
|
id: 'search1',
|
||||||
|
title: '國籍',
|
||||||
|
text_prop: 'name_zh',
|
||||||
|
value_prop: 'id',
|
||||||
|
keys: [
|
||||||
|
{ id: 'keyword', title: '關鍵字' },
|
||||||
|
],
|
||||||
|
api_url: HTTP_HOST + 'api/country/GetList',
|
||||||
|
columns: [
|
||||||
|
{ id: 'id', title: '代碼' },
|
||||||
|
{ id: 'name_en', title: '英文短名稱' },
|
||||||
|
{ id: 'name_zh', title: '中文名稱' },
|
||||||
|
],
|
||||||
|
selected: {},
|
||||||
|
select(item, t) {
|
||||||
|
t.search.country = item.id;
|
||||||
|
t.search.country2 = '';
|
||||||
|
}
|
||||||
|
},
|
||||||
|
search2: {
|
||||||
|
id: 'search2',
|
||||||
|
title: '報名活動',
|
||||||
|
text_prop: 'subject',
|
||||||
|
value_prop: 'num',
|
||||||
|
keys: [
|
||||||
|
{ id: 'subject', title: '活動名稱', value: '' },
|
||||||
|
{ id: 'kindTxt', title: '活動分類' },
|
||||||
|
],
|
||||||
|
api_url: HTTP_HOST + 'api/activity/GetList',
|
||||||
|
columns: [
|
||||||
|
{ id: 'subject', title: '活動名稱' },
|
||||||
|
{ id: 'kindTxt', title: '活動分類' },
|
||||||
|
],
|
||||||
|
selected: {},
|
||||||
|
select(item, t) {
|
||||||
|
t.print_search.select_act = item.num;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
search3: {
|
||||||
|
id: 'search3',
|
||||||
|
title: '活動品項',
|
||||||
|
text_prop: 'subject',
|
||||||
|
value_prop: 'num',
|
||||||
|
keys: [
|
||||||
|
{ id: 'subject', title: '項目名稱', value: '' },
|
||||||
|
{ id: 'kindTxt', title: '項目分類' },
|
||||||
|
{ id: 'num', visible: false },
|
||||||
|
],
|
||||||
|
api_url: HTTP_HOST + 'api/activity/GetOrderList',
|
||||||
|
columns: [
|
||||||
|
{ id: 'subject', title: '項目名稱' },
|
||||||
|
{ id: 'kindTxt', title: '項目分類' },
|
||||||
|
],
|
||||||
|
selected: {},
|
||||||
|
select(item, t) {
|
||||||
|
t.print_search.select_actitem = item.num;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}, show: false,
|
||||||
|
current: {},
|
||||||
|
list: [],
|
||||||
|
count: 0,
|
||||||
|
page: 1,
|
||||||
|
loading: false,
|
||||||
|
footer: {
|
||||||
|
showFirstLastPage: true,
|
||||||
|
disableItemsPerPage: true,
|
||||||
|
itemsPerPageAllText: '',
|
||||||
|
itemsPerPageText: '',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
search: {
|
||||||
|
keyin1: '',
|
||||||
|
order_no: '',
|
||||||
|
subject: '',
|
||||||
|
u_name: '',
|
||||||
|
up_time1: '',
|
||||||
|
up_time2: '',
|
||||||
|
actItemTxt: '',
|
||||||
|
introducerTxt: '',
|
||||||
|
activity_num: '',
|
||||||
|
country: '',
|
||||||
|
country2: '',
|
||||||
|
hasPrice: '',
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
|
||||||
|
},
|
||||||
|
watch: {
|
||||||
|
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
pageCount() {
|
||||||
|
return Math.ceil(this.data_table.count / this.data_table.pageSize)
|
||||||
|
},
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</asp:Content>
|
||||||
|
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Web;
|
||||||
|
using System.Web.UI;
|
||||||
|
using System.Web.UI.WebControls;
|
||||||
|
|
||||||
|
public partial class admin_order_pre_index : System.Web.UI.Page
|
||||||
|
{
|
||||||
|
protected void Page_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -40,6 +40,7 @@
|
|||||||
<package id="System.Security.Cryptography.Xml" version="8.0.2" targetFramework="net48" />
|
<package id="System.Security.Cryptography.Xml" version="8.0.2" targetFramework="net48" />
|
||||||
<package id="System.Text.Encoding.CodePages" version="8.0.0" targetFramework="net48" />
|
<package id="System.Text.Encoding.CodePages" version="8.0.0" targetFramework="net48" />
|
||||||
<package id="System.Threading.Tasks.Extensions" version="4.5.2" targetFramework="net48" />
|
<package id="System.Threading.Tasks.Extensions" version="4.5.2" targetFramework="net48" />
|
||||||
|
<package id="vue" version="2.6.11" targetFramework="net48" />
|
||||||
<package id="WebGrease" version="1.6.0" targetFramework="net48" />
|
<package id="WebGrease" version="1.6.0" targetFramework="net48" />
|
||||||
<package id="ZString" version="2.6.0" targetFramework="net48" />
|
<package id="ZString" version="2.6.0" targetFramework="net48" />
|
||||||
</packages>
|
</packages>
|
||||||
Reference in New Issue
Block a user