This commit is contained in:
2019-01-07 22:45:41 +00:00
parent d2b8f0b985
commit 0b7e54bcb5
2 changed files with 5 additions and 7 deletions

View File

@@ -24,8 +24,7 @@ TODO CLIENT STUFF
- In main list? - In main list?
- Only in detail? - Only in detail?
- Check the rights to the list before it gets the data - Check the rights to the list before it gets the data
- Edit / Trash buttons in grid are too small on a phone with fat fingers - Edit / Trash buttons in grid are too small on a phone with fat fingers
- TWO api calls are made when list is opened, sb one only.
- Should list or any widgets fetch data automatically on display or should they have some way of requesting it to save bandwidth? (TTM CADILLAC PROBLEM?) - Should list or any widgets fetch data automatically on display or should they have some way of requesting it to save bandwidth? (TTM CADILLAC PROBLEM?)
- Should the list be narrow to start and expand on demand?(TTM CADILLAC PROBLEM?) - Should the list be narrow to start and expand on demand?(TTM CADILLAC PROBLEM?)
- Login needs to scroll higher or logo smaller on sm so that the keyboard doesn't obscure the login lines - Login needs to scroll higher or logo smaller on sm so that the keyboard doesn't obscure the login lines

View File

@@ -42,7 +42,7 @@
<td class="text-xs-left">{{ props.item.startDate | shortdate}}</td> <td class="text-xs-left">{{ props.item.startDate | shortdate}}</td>
<td class="text-xs-left">{{ props.item.endDate | shortdate }}</td> <td class="text-xs-left">{{ props.item.endDate | shortdate }}</td>
<td class="justify-center layout px-0"> <td class="justify-center layout px-0">
<v-icon small class="mr-3" @click="editItem(props.item)">fa-pencil-alt</v-icon> <v-icon class="mr-3" @click="editItem(props.item)">fa-pencil-alt</v-icon>
</td> </td>
</template> </template>
</v-data-table> </v-data-table>
@@ -52,7 +52,7 @@
<script> <script>
/* xeslint-disable */ /* eslint-disable */
import localeText from "../api/locale"; import localeText from "../api/locale";
import api from "../api/apiutil"; import api from "../api/apiutil";
import WidgetEdit from "../components/inventorywidgetedit"; import WidgetEdit from "../components/inventorywidgetedit";
@@ -118,8 +118,7 @@ export default {
} }
}, },
mounted() { mounted() {
this.rowsPerPageText = this.lt("RowsPerPage"); this.rowsPerPageText = this.lt("RowsPerPage");
this.getDataFromApi();
}, },
computed: {}, computed: {},
methods: { methods: {
@@ -131,7 +130,7 @@ export default {
this.dialogdata.showeditdialog = true; this.dialogdata.showeditdialog = true;
}, },
getDataFromApi() { getDataFromApi() {
// debugger; //debugger;
var listOptions = { var listOptions = {
offset: 0, offset: 0,
limit: 5, limit: 5,