This commit is contained in:
@@ -12,6 +12,7 @@ import NProgress from "nprogress";
|
||||
import "nprogress/nprogress.css";
|
||||
import dayjs from "dayjs";
|
||||
import gzdatepicker from "./components/gzdatepicker.vue";
|
||||
import gztimepicker from "./components/gztimepicker.vue";
|
||||
|
||||
/////////////////////////////////////////////////////////////////
|
||||
// FORM VALIDATION
|
||||
@@ -102,51 +103,11 @@ Vue.filter("boolastext", function(value) {
|
||||
return value ? "Yes" : "Nope";
|
||||
});
|
||||
|
||||
//COMPONENT DATE TEST
|
||||
/////////////////////////////////////////////////////////////
|
||||
//GZ COMPONENTS
|
||||
//
|
||||
|
||||
Vue.component("gz-date-picker", gzdatepicker);
|
||||
|
||||
// Vue.component("GzDatePicker", {
|
||||
// props: {
|
||||
// value: Date
|
||||
// },
|
||||
// render() {
|
||||
// return this.$createElement("v-date-picker", {
|
||||
// props: {
|
||||
// ...this.$attrs,
|
||||
// value: this.value ? this.value.toISOString().substr(0, 10) : null
|
||||
// },
|
||||
// on: {
|
||||
// ...this.$listeners,
|
||||
// input: date => this.$emit("input", new Date(date))
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
// });
|
||||
|
||||
// Vue.component("AltGzDatePicker", {
|
||||
// props: {
|
||||
// value: String
|
||||
// },
|
||||
// data: function() {
|
||||
// return {
|
||||
// ogdate: ""
|
||||
// };
|
||||
// },
|
||||
// render() {
|
||||
// return this.$createElement("v-date-picker", {
|
||||
// props: {
|
||||
// ...this.$attrs,
|
||||
// value: this.value ? this.value.substr(0, 10) : null
|
||||
// },
|
||||
// on: {
|
||||
// ...this.$listeners,
|
||||
// input: date => this.$emit("input", new Date(date).toISOString())
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
// });
|
||||
Vue.component("gz-time-picker", gztimepicker);
|
||||
|
||||
/////////////////////////////////////////////////////////////////
|
||||
// INSTANTIATE
|
||||
|
||||
Reference in New Issue
Block a user