This commit is contained in:
@@ -14,6 +14,7 @@ TODO CLIENT STUFF
|
||||
|
||||
TODO NEXT
|
||||
|
||||
Figure out why custom fields don't exist in widgets test data and put it there so can code it.
|
||||
Put all the widget fields on the form
|
||||
Check rights when navigating to the form
|
||||
Fetch the record when the form opens
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
</v-flex>
|
||||
<v-flex xs12 sm6 lg4 xl3 px-2>
|
||||
<v-text-field
|
||||
v-model="email"
|
||||
v-model="obj.dollarAmount"
|
||||
v-validate="'required|email'"
|
||||
:error-messages="errors.collect('email')"
|
||||
label="E-mail"
|
||||
@@ -93,11 +93,23 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
obj: {
|
||||
name: "",
|
||||
email: "",
|
||||
active: false
|
||||
id: 100,
|
||||
concurrencyToken: 2675248,
|
||||
ownerId: 1,
|
||||
name: "Fantastic Wooden Chips 122",
|
||||
serial: 100,
|
||||
dollarAmount: 584.83,
|
||||
active: true,
|
||||
roles: 8212,
|
||||
startDate: "2019-02-12T10:12:39.594206",
|
||||
endDate: "2019-02-12T13:40:59.986405",
|
||||
notes:
|
||||
"Eum optio incidunt blanditiis laboriosam. Sed ipsam occaecati minus corrupti repudiandae delectus. Culpa nostrum est ullam assumenda animi ut. Velit sunt ex ipsum. Temporibus cum quaerat at omnis at quas. Commodi dolor molestiae beatae.",
|
||||
count: 10,
|
||||
customFields: null,
|
||||
tags: ["brown", "red"]
|
||||
}
|
||||
};
|
||||
};
|
||||
},
|
||||
beforeRouteEnter(to, from, next) {
|
||||
//Cache all required lt keys
|
||||
@@ -146,3 +158,28 @@ export default {
|
||||
|
||||
<style>
|
||||
</style>
|
||||
|
||||
/*
|
||||
Sample widget record api v8
|
||||
{
|
||||
"data": {
|
||||
"id": 100,
|
||||
"concurrencyToken": 2675248,
|
||||
"ownerId": 1,
|
||||
"name": "Fantastic Wooden Chips 122",
|
||||
"serial": 100,
|
||||
"dollarAmount": 584.83,
|
||||
"active": true,
|
||||
"roles": 8212,
|
||||
"startDate": "2019-02-12T10:12:39.594206",
|
||||
"endDate": "2019-02-12T13:40:59.986405",
|
||||
"notes": "Eum optio incidunt blanditiis laboriosam. Sed ipsam occaecati minus corrupti repudiandae delectus. Culpa nostrum est ullam assumenda animi ut. Velit sunt ex ipsum. Temporibus cum quaerat at omnis at quas. Commodi dolor molestiae beatae.",
|
||||
"count": 0,
|
||||
"customFields": null,
|
||||
"tags": [
|
||||
"brown",
|
||||
"red"
|
||||
]
|
||||
}
|
||||
}
|
||||
*/
|
||||
@@ -16,7 +16,7 @@ import lt from "../api/locale";
|
||||
import _ from "../utils/libs/lodash.js";
|
||||
export default {
|
||||
data() {
|
||||
return { logText: "" };
|
||||
return { logText: "", blah: 2 };
|
||||
},
|
||||
beforeRouteEnter(to, from, next) {
|
||||
lt.fetch(["Log"]).then(() => {
|
||||
|
||||
Reference in New Issue
Block a user