diff --git a/web/App_Data/PublishProfiles/FolderProfile.pubxml b/web/App_Data/PublishProfiles/FolderProfile.pubxml
index fee02e2..144bcda 100644
--- a/web/App_Data/PublishProfiles/FolderProfile.pubxml
+++ b/web/App_Data/PublishProfiles/FolderProfile.pubxml
@@ -8,13 +8,14 @@
Any CPU
true
FileSystem
- C:\17168web
+ D:\17168web
FileSystem
<_TargetId>Folder
true
true
false
- DonotMerge
+ CreateSeparateAssembly
+ true
\ No newline at end of file
diff --git a/web/admin/activity/reg.aspx b/web/admin/activity/reg.aspx
index 168ad32..94be567 100644
--- a/web/admin/activity/reg.aspx
+++ b/web/admin/activity/reg.aspx
@@ -942,7 +942,7 @@
-
+ <%--
+ --%>
diff --git a/web/admin/activity/reg.aspx.cs b/web/admin/activity/reg.aspx.cs
index f38d801..7d37de7 100644
--- a/web/admin/activity/reg.aspx.cs
+++ b/web/admin/activity/reg.aspx.cs
@@ -78,8 +78,8 @@ public partial class admin_activity_reg : MyWeb.config
if (prod.category_kind.HasValue)
{
_category_kindTxt = prod.activity_category_kind.kind;
- category_kind_txt.Value = prod.activity_category_kind.kind;
- category_kind.Value = prod.category_kind.Value.ToString();
+ //category_kind_txt.Value = prod.activity_category_kind.kind;
+ //category_kind.Value = prod.category_kind.Value.ToString();
}
if (prod.startDate_solar.HasValue)
{
@@ -289,7 +289,7 @@ public partial class admin_activity_reg : MyWeb.config
else
{
activity.kind = Val(kind.Value);
- activity.category_kind = Val(category_kind.Value);
+ //activity.category_kind = Val(category_kind.Value);
activity.reg_time = DateTime.Now;
_db.activities.Add(activity);
_db.SaveChanges();
@@ -377,7 +377,7 @@ public partial class admin_activity_reg : MyWeb.config
}
else
{
- activity.category_kind = Val(category_kind.Value);
+ //activity.category_kind = Val(category_kind.Value);
_db.SaveChanges();
Model.admin_log admin_log = new Model.admin_log();
diff --git a/web/admin/order/fastSignUp3.vue b/web/admin/order/fastSignUp3.vue
index e4801cb..b3f725a 100644
--- a/web/admin/order/fastSignUp3.vue
+++ b/web/admin/order/fastSignUp3.vue
@@ -4,7 +4,7 @@
快速報名
- 儲存
+ 儲存
返回
@@ -63,9 +63,9 @@
-
+
-
@@ -93,14 +93,14 @@
複製為
-
-
-
-
-
+
+
+
+
+
@@ -111,7 +111,7 @@
-
+
無資料可顯示,可能此信眾未曾參加過任何法會。
@@ -135,6 +135,19 @@
+
+
+
+
+ {{ none_dialog.message }}
+
+
+ 關閉
+ 前往傳統報名
+
+
+
+
@@ -164,7 +177,8 @@
data() {
return {
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: "",
phoneNum: "",
name: "",
@@ -173,6 +187,7 @@
tablet_list: [],
act_items: [],
search: {},
+ value:false,
query: {
id_code: { type: String }, cellphone: { type: String }
},
@@ -184,10 +199,22 @@
}
},
activated() {
+ this.tablet_show = false
+ this.value=true
//this.getFollower()
+ //先清資料
+ this.follower = {}
+ this.orders = []
+ this.tablet_list = []
+ this.idNo = ""
+ this.phoneNum = ""
+ this.name=""
this.getActItem()
},
methods: {
+ gotoOldSign() {
+ this.$emit('custom-event', { action: 'oldSign', item: this.num });
+ },
back01() {
this.$emit('custom-event', { action: 'signup1', item: this.num });
},
@@ -278,22 +305,29 @@
.then(response => {
if (response.data.list && response.data.list.length > 0) {
this.orders = response.data.list
+
+
//先確定是否有報名過
let o = this.orders.find(x => x.activity_num === this.num)
if (o != null && o != undefined) {
this.message_dialog.show = true
- this.message_dialog.message="此人已有報名資料,請勿重複報名"
- return
+ this.message_dialog.message = "此人已有報名資料,請勿重複報名"
+ return
}
this.orders = this.orders.filter(x => x.activity_num !== this.num)
//console.log("orders",this.orders)
if (this.orders && this.orders.length > 0) {
-
+
this.getOrderDetail()
}
}
- else
+ else {
+
+ this.none_dialog.show = true
+ this.none_dialog.message = "尚未參加任何法會活動"
console.log("getOrder 查無資料");
+ }
+
})
.catch(error => console.log(error))
},
diff --git a/web/admin/order/index4.aspx b/web/admin/order/index4.aspx
index ae41889..d707916 100644
--- a/web/admin/order/index4.aspx
+++ b/web/admin/order/index4.aspx
@@ -111,7 +111,7 @@
this.twoData = item.item.num
this.currentView = "fastSignUp2-component"
} else if (item.action === "add") {
- this.twoData=item.item.num
+ this.twoData = item.item.num
this.currentView = "fastSignUp3-component"
} else if (item.action === "signup4") {
this.twoData = item.item
@@ -119,6 +119,8 @@
} else if (item.action === "signup1") {
this.twoData = item.item
this.currentView = "fastSignUp-component"
+ } else if (item.action === "oldSign") {
+ location.href="~/admin/order/index.aspx"
}
//console.log("item.action:",this.twoData)
},