功能調整
This commit is contained in:
@@ -8,13 +8,14 @@
|
|||||||
<LastUsedPlatform>Any CPU</LastUsedPlatform>
|
<LastUsedPlatform>Any CPU</LastUsedPlatform>
|
||||||
<LaunchSiteAfterPublish>true</LaunchSiteAfterPublish>
|
<LaunchSiteAfterPublish>true</LaunchSiteAfterPublish>
|
||||||
<PublishProvider>FileSystem</PublishProvider>
|
<PublishProvider>FileSystem</PublishProvider>
|
||||||
<PublishUrl>C:\17168web</PublishUrl>
|
<PublishUrl>D:\17168web</PublishUrl>
|
||||||
<WebPublishMethod>FileSystem</WebPublishMethod>
|
<WebPublishMethod>FileSystem</WebPublishMethod>
|
||||||
<_TargetId>Folder</_TargetId>
|
<_TargetId>Folder</_TargetId>
|
||||||
<SiteUrlToLaunchAfterPublish />
|
<SiteUrlToLaunchAfterPublish />
|
||||||
<PrecompileBeforePublish>true</PrecompileBeforePublish>
|
<PrecompileBeforePublish>true</PrecompileBeforePublish>
|
||||||
<EnableUpdateable>true</EnableUpdateable>
|
<EnableUpdateable>true</EnableUpdateable>
|
||||||
<DebugSymbols>false</DebugSymbols>
|
<DebugSymbols>false</DebugSymbols>
|
||||||
<WDPMergeOption>DonotMerge</WDPMergeOption>
|
<WDPMergeOption>CreateSeparateAssembly</WDPMergeOption>
|
||||||
|
<UseFixedNames>true</UseFixedNames>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -942,7 +942,7 @@
|
|||||||
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="subject" runat="server" ErrorMessage="必填!" Display="Dynamic" SetFocusOnError="true"></asp:RequiredFieldValidator>
|
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="subject" runat="server" ErrorMessage="必填!" Display="Dynamic" SetFocusOnError="true"></asp:RequiredFieldValidator>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<label class="col-sm-2 col-lg-1 col-form-label">活動主類型 *</label>
|
<%-- <label class="col-sm-2 col-lg-1 col-form-label">活動主類型 *</label>
|
||||||
<div class="col-sm-10 col-lg-3" >
|
<div class="col-sm-10 col-lg-3" >
|
||||||
<div class="input-group mb-3" data-search-control="search4" @click="search_show(search_dialog.controls.search4)" >
|
<div class="input-group mb-3" data-search-control="search4" @click="search_show(search_dialog.controls.search4)" >
|
||||||
<input class="form-control search-text" type="text" readonly
|
<input class="form-control search-text" type="text" readonly
|
||||||
@@ -953,7 +953,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" ControlToValidate="category_kind_txt" runat="server" ErrorMessage="必填!" Display="Dynamic" SetFocusOnError="true"></asp:RequiredFieldValidator>
|
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" ControlToValidate="category_kind_txt" runat="server" ErrorMessage="必填!" Display="Dynamic" SetFocusOnError="true"></asp:RequiredFieldValidator>
|
||||||
</div>
|
</div>--%>
|
||||||
|
|
||||||
<label class="col-sm-2 col-lg-1 col-form-label">活動詳細分類 *</label>
|
<label class="col-sm-2 col-lg-1 col-form-label">活動詳細分類 *</label>
|
||||||
<div class="col-sm-10 col-lg-3">
|
<div class="col-sm-10 col-lg-3">
|
||||||
|
|||||||
@@ -78,8 +78,8 @@ public partial class admin_activity_reg : MyWeb.config
|
|||||||
if (prod.category_kind.HasValue)
|
if (prod.category_kind.HasValue)
|
||||||
{
|
{
|
||||||
_category_kindTxt = prod.activity_category_kind.kind;
|
_category_kindTxt = prod.activity_category_kind.kind;
|
||||||
category_kind_txt.Value = prod.activity_category_kind.kind;
|
//category_kind_txt.Value = prod.activity_category_kind.kind;
|
||||||
category_kind.Value = prod.category_kind.Value.ToString();
|
//category_kind.Value = prod.category_kind.Value.ToString();
|
||||||
}
|
}
|
||||||
if (prod.startDate_solar.HasValue)
|
if (prod.startDate_solar.HasValue)
|
||||||
{
|
{
|
||||||
@@ -289,7 +289,7 @@ public partial class admin_activity_reg : MyWeb.config
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
activity.kind = Val(kind.Value);
|
activity.kind = Val(kind.Value);
|
||||||
activity.category_kind = Val(category_kind.Value);
|
//activity.category_kind = Val(category_kind.Value);
|
||||||
activity.reg_time = DateTime.Now;
|
activity.reg_time = DateTime.Now;
|
||||||
_db.activities.Add(activity);
|
_db.activities.Add(activity);
|
||||||
_db.SaveChanges();
|
_db.SaveChanges();
|
||||||
@@ -377,7 +377,7 @@ public partial class admin_activity_reg : MyWeb.config
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
activity.category_kind = Val(category_kind.Value);
|
//activity.category_kind = Val(category_kind.Value);
|
||||||
_db.SaveChanges();
|
_db.SaveChanges();
|
||||||
|
|
||||||
Model.admin_log admin_log = new Model.admin_log();
|
Model.admin_log admin_log = new Model.admin_log();
|
||||||
|
|||||||
@@ -111,7 +111,7 @@
|
|||||||
</v-row>
|
</v-row>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:no-data>
|
<template v-slot:no-data>
|
||||||
<v-alert :value="true" color="error" icon="warning">
|
<v-alert :value="value" color="error" icon="warning">
|
||||||
無資料可顯示,可能此信眾未曾參加過任何法會。
|
無資料可顯示,可能此信眾未曾參加過任何法會。
|
||||||
</v-alert>
|
</v-alert>
|
||||||
</template>
|
</template>
|
||||||
@@ -135,6 +135,19 @@
|
|||||||
</template>
|
</template>
|
||||||
</v-dialog>
|
</v-dialog>
|
||||||
|
|
||||||
|
<v-dialog v-model="none_dialog.show" class="dialog_width">
|
||||||
|
<template>
|
||||||
|
<v-card>
|
||||||
|
<v-card-title>
|
||||||
|
{{ none_dialog.message }}
|
||||||
|
</v-card-title>
|
||||||
|
<v-card-text>
|
||||||
|
<v-btn @click.prevent="none_dialog.show=false">關閉</v-btn>
|
||||||
|
<v-btn @click.prevent="gotoOldSign()">前往傳統報名</v-btn>
|
||||||
|
</v-card-text>
|
||||||
|
</v-card>
|
||||||
|
</template>
|
||||||
|
</v-dialog>
|
||||||
|
|
||||||
<v-dialog v-model="transfer_dialog.show" class="dialog_width">
|
<v-dialog v-model="transfer_dialog.show" class="dialog_width">
|
||||||
<template>
|
<template>
|
||||||
@@ -164,7 +177,8 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
transfer_dialog: { show: false, message: "" },
|
transfer_dialog: { show: false, message: "" },
|
||||||
message_dialog: { show: false,show_confirm:false, message: "" },
|
message_dialog: { show: false, show_confirm: false, message: "" },
|
||||||
|
none_dialog: { show: false, message: "" },
|
||||||
idNo: "",
|
idNo: "",
|
||||||
phoneNum: "",
|
phoneNum: "",
|
||||||
name: "",
|
name: "",
|
||||||
@@ -173,6 +187,7 @@
|
|||||||
tablet_list: [],
|
tablet_list: [],
|
||||||
act_items: [],
|
act_items: [],
|
||||||
search: {},
|
search: {},
|
||||||
|
value:false,
|
||||||
query: {
|
query: {
|
||||||
id_code: { type: String }, cellphone: { type: String }
|
id_code: { type: String }, cellphone: { type: String }
|
||||||
},
|
},
|
||||||
@@ -184,10 +199,22 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
activated() {
|
activated() {
|
||||||
|
this.tablet_show = false
|
||||||
|
this.value=true
|
||||||
//this.getFollower()
|
//this.getFollower()
|
||||||
|
//先清資料
|
||||||
|
this.follower = {}
|
||||||
|
this.orders = []
|
||||||
|
this.tablet_list = []
|
||||||
|
this.idNo = ""
|
||||||
|
this.phoneNum = ""
|
||||||
|
this.name=""
|
||||||
this.getActItem()
|
this.getActItem()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
gotoOldSign() {
|
||||||
|
this.$emit('custom-event', { action: 'oldSign', item: this.num });
|
||||||
|
},
|
||||||
back01() {
|
back01() {
|
||||||
this.$emit('custom-event', { action: 'signup1', item: this.num });
|
this.$emit('custom-event', { action: 'signup1', item: this.num });
|
||||||
},
|
},
|
||||||
@@ -278,11 +305,13 @@
|
|||||||
.then(response => {
|
.then(response => {
|
||||||
if (response.data.list && response.data.list.length > 0) {
|
if (response.data.list && response.data.list.length > 0) {
|
||||||
this.orders = response.data.list
|
this.orders = response.data.list
|
||||||
|
|
||||||
|
|
||||||
//先確定是否有報名過
|
//先確定是否有報名過
|
||||||
let o = this.orders.find(x => x.activity_num === this.num)
|
let o = this.orders.find(x => x.activity_num === this.num)
|
||||||
if (o != null && o != undefined) {
|
if (o != null && o != undefined) {
|
||||||
this.message_dialog.show = true
|
this.message_dialog.show = true
|
||||||
this.message_dialog.message="此人已有報名資料,請勿重複報名"
|
this.message_dialog.message = "此人已有報名資料,請勿重複報名"
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.orders = this.orders.filter(x => x.activity_num !== this.num)
|
this.orders = this.orders.filter(x => x.activity_num !== this.num)
|
||||||
@@ -292,8 +321,13 @@
|
|||||||
this.getOrderDetail()
|
this.getOrderDetail()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
|
|
||||||
|
this.none_dialog.show = true
|
||||||
|
this.none_dialog.message = "尚未參加任何法會活動"
|
||||||
console.log("getOrder 查無資料");
|
console.log("getOrder 查無資料");
|
||||||
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
.catch(error => console.log(error))
|
.catch(error => console.log(error))
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -111,7 +111,7 @@
|
|||||||
this.twoData = item.item.num
|
this.twoData = item.item.num
|
||||||
this.currentView = "fastSignUp2-component"
|
this.currentView = "fastSignUp2-component"
|
||||||
} else if (item.action === "add") {
|
} else if (item.action === "add") {
|
||||||
this.twoData=item.item.num
|
this.twoData = item.item.num
|
||||||
this.currentView = "fastSignUp3-component"
|
this.currentView = "fastSignUp3-component"
|
||||||
} else if (item.action === "signup4") {
|
} else if (item.action === "signup4") {
|
||||||
this.twoData = item.item
|
this.twoData = item.item
|
||||||
@@ -119,6 +119,8 @@
|
|||||||
} else if (item.action === "signup1") {
|
} else if (item.action === "signup1") {
|
||||||
this.twoData = item.item
|
this.twoData = item.item
|
||||||
this.currentView = "fastSignUp-component"
|
this.currentView = "fastSignUp-component"
|
||||||
|
} else if (item.action === "oldSign") {
|
||||||
|
location.href="~/admin/order/index.aspx"
|
||||||
}
|
}
|
||||||
//console.log("item.action:",this.twoData)
|
//console.log("item.action:",this.twoData)
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user