Skip to content
Snippets Groups Projects
Commit ed2dff6c authored by fz2907's avatar fz2907
Browse files

WishListPage and OfferPage service done. Now move to backend service.

parent b834a36a
No related branches found
No related tags found
3 merge requests!27Sprint 1 done,!20WishListPage and OfferPage UI done.,!14Offer page frontend + backend + DB connection done
......@@ -112,7 +112,6 @@
import { reactive, ref } from "vue";
import type { FormInstance, FormRules } from "element-plus";
import { WishlistItemModel } from "@/models/WishlistItemModel";
import { defineComponent } from "vue";
const formSize = ref("default");
const ruleFormRef = ref<FormInstance>();
......@@ -207,40 +206,6 @@ const options = Array.from({ length: 10000 }).map((_, idx) => ({
value: `${idx + 1}`,
label: `${idx + 1}`,
}));
// export default defineComponent({
// data() {
// return {
// wishlistItem: new WishlistItemModel(),
// wishlistList,
// rules,
// };
// },
// methods: {
// selectItem(idx: number) {
// console.log("Selected wishlist Item: " + idx);
// this.wishlistItem = wishlistList[idx];
// },
// addNewWishlistItem() {
// console.log("addNewWishlistItem");
// this.wishlistItem = new WishlistItemModel();
// },
// async submitForm(formEl: FormInstance | undefined) {
// if (!formEl) return;
// await formEl.validate((valid, fields) => {
// if (valid) {
// console.log("submit!");
// } else {
// console.log("error submit!", fields);
// }
// });
// },
// resetForm(formEl: FormInstance | undefined) {
// if (!formEl) return;
// formEl.resetFields();
// },
// },
// });
</script>
<style scoped>
......@@ -261,6 +226,6 @@ const options = Array.from({ length: 10000 }).map((_, idx) => ({
}
.main-card {
padding: 0px 0px 0px 20px;
padding: 0 0 0 20px;
}
</style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment