批次報名移除排序功能·移除一些console.log

This commit is contained in:
2026-06-23 07:56:12 +08:00
parent 5fa147f960
commit 7db39117b4
13 changed files with 47 additions and 54 deletions
+2 -2
View File
@@ -99,7 +99,7 @@
.catch(error => console.log(error))
},
editItem(item) {
console.log("edit", item);
},
copyItem(item) {
@@ -132,7 +132,7 @@
axios
.delete(HTTP_HOST + 'api/activity/' + item.num)
.then(response => {
console.log("del", item);
this.data_table.list.splice(index, 1);
this.data_table.count = this.data_table.list.length
})
+3 -3
View File
@@ -107,7 +107,7 @@
select(t, data) {
data.search.kind = t.num;
data.btn_search()
console.log("select search1", t);
}
}
},
@@ -215,7 +215,7 @@
},
editItem(item) {
console.log("edit", item);
},
deleteItem(item) {
@@ -306,7 +306,7 @@
search[t.id] = t.value;
});
console.log("search_get", api_url, search, params, this.options);
this.search_dialog.loading = true
axios.post(api_url, search, { params: params })
.then(response => {
+4 -4
View File
@@ -46,7 +46,7 @@
],
selected: {},
select(item, t) {
console.log("select search1", t);
}
},
search2: {
@@ -63,7 +63,7 @@
],
selected: {},
select(item, t) {
console.log("select search2", t);
item.files_num_selected.text = t.subject //=====?
item.files_num_selected.val = t.num //=====?
@@ -85,7 +85,7 @@
],
selected: {},
select(item, t) {
console.log("select search3", item, t);
//debugger;
item.actItem.subject = t.subject
item.actItem.num = t.num
@@ -371,7 +371,7 @@
axios
.delete(HTTP_HOST + 'api/activity/DeleteFilesItem/' + item.num)
.then(response => {
console.log("del", item);
this.desserts.splice(index, 1)
this.desserts_count = this.desserts_count - 1;
})
+6 -8
View File
@@ -10,7 +10,7 @@
el: '#app',
vuetify: new Vuetify(vuetify_options),
data() {
console.log("yes",<%= _this_id %>);
return {
this_id: '<%= _this_id %>',
options: {},
@@ -33,9 +33,7 @@
],
selected: {},
select(item,t) {
console.log("select search1", t);
item.actItem_num.text = t.subject
item.actItem_num.val = t.num
item.price = t.price
@@ -114,7 +112,7 @@
handler() {
//console.log("watch1", this.search_dialog, this.search_dialog.page);
this.search_get()
console.log("watch2", this.search_dialog, this.search_dialog.page);
},
deep: true,
},
@@ -154,7 +152,7 @@
if (this.search_dialog.current.id == 'search1') {
search['categorys'] = "1,2,4";//報名,掛單,贊助
}
console.log("search_get", api_url, search, params, this.options);
this.search_dialog.loading = true
axios.post(api_url, search, { params: params })
.then(response => {
@@ -233,7 +231,7 @@
axios
.delete(HTTP_HOST + 'api/activity/DeleteActKindDetail/' + item.num)
.then(response => {
console.log("del", item);
this.desserts.splice(index, 1)
this.desserts_count = this.desserts_count - 1;
})
@@ -321,7 +319,7 @@
}
}, customSearch(value, item) {
console.log(value, item)
},
searchData(event) {
this.desserts = this.desserts.filter(item => item.actItem_num.text.toLowerCase().includes(event));
+10 -14
View File
@@ -24,11 +24,11 @@
if (data.isOk) {
$(btn).parents('.row.label-sm-right').find('.lunar').text(data.cDate);
} else {
console.log(data.msg);
}
});
}
console.log(_date);
}
let VueApp = new Vue({
@@ -58,12 +58,12 @@
],
selected: {},
select(item, t) {
console.log("select search1", t);
//帶入預設日期
axios
.get(HTTP_HOST + 'api/activity/GetKindDate/' + t.num)
.then(response => {
console.log(response.data.startDate_solar);
$('#<%= startDate_solar.ClientID%>').val(response.data.startDate_solar);
$('#<%= endDate_solar.ClientID%>').val(response.data.endDate_solar);
$('#<%= startDate_lunar.ClientID%>').val(response.data.startDate_lunar);
@@ -91,8 +91,6 @@
],
selected: {},
select(item, t) {
console.log("select search2", t);
item.act_item_selected.text = t.subject
item.act_item_selected.val = t.num
item.price = t.price
@@ -115,8 +113,7 @@
],
selected: {},
select(item, t) {
console.log("select search3", t);
item.act_item_selected.text = t.subject
item.act_item_selected.val = t.num
@@ -136,8 +133,7 @@
],
selected: {},
select(item, t) {
console.log("select search4", t);
}
},
},
@@ -304,7 +300,7 @@
handler() {
//console.log("watch1", this.search_dialog, this.search_dialog.page);
this.search_get()
console.log("watch2", this.search_dialog, this.search_dialog.page);
},
deep: true,
},
@@ -350,7 +346,7 @@
if (this.search_dialog.current.id == 'search3') {
search['category'] = "3";//備品
}
console.log("search_get", api_url, search, params, this.options);
this.search_dialog.loading = true
axios.post(api_url, search, { params: params })
.then(response => {
@@ -442,7 +438,7 @@
axios
.delete(HTTP_HOST + 'api/activity/DeleteRelatingData/' + item.num)
.then(response => {
console.log("del", item);
this.desserts.splice(index, 1)
this.desserts_count = this.desserts_count - 1;
})
@@ -742,7 +738,7 @@
};
// Add form fields
console.log(this.thisItemSelected.val, this.thisFilesSelected.val,JSON.stringify(list));
addHiddenField("item", this.thisItemSelected.val);
addHiddenField("file", this.thisFilesSelected.val);
addHiddenField("list", JSON.stringify(list));
+2 -3
View File
@@ -110,7 +110,7 @@
.then(res => {
this.activity_statistics.items = res.data.items;
this.activity_statistics.totalItems = res.data.count;
console.log(this.activity_statistics.options)
})
.catch(error => {
@@ -123,8 +123,7 @@
watch: {
selected_activity: {
handler(newvalue, oldvalue) {
console.log('新值:', newvalue);
console.log('舊值:', oldvalue);
},
deep: true
},