This commit is contained in:
@@ -901,6 +901,9 @@ BUILD 8.0.0-beta.0.14 CHANGES OF NOTE
|
|||||||
now ensures non ops api routes are disabled will return validation error, so user can do nothing until server open again then continue working
|
now ensures non ops api routes are disabled will return validation error, so user can do nothing until server open again then continue working
|
||||||
non ops users can not login during ops only state.
|
non ops users can not login during ops only state.
|
||||||
Ops users can do ops things during ops state but no business object stuff even if they ahve the role as that's controlled in each api route individually
|
Ops users can do ops things during ops state but no business object stuff even if they ahve the role as that's controlled in each api route individually
|
||||||
|
- Changed Material date picker to show adjacent months days
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
<v-date-picker
|
<v-date-picker
|
||||||
:value="dateValue"
|
:value="dateValue"
|
||||||
:locale="languageName"
|
:locale="languageName"
|
||||||
|
show-adjacent-months
|
||||||
@input="updateDateValue"
|
@input="updateDateValue"
|
||||||
>
|
>
|
||||||
<v-btn text color="primary" @click="$emit('input', null)">{{
|
<v-btn text color="primary" @click="$emit('input', null)">{{
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
<v-date-picker
|
<v-date-picker
|
||||||
:value="dateValue"
|
:value="dateValue"
|
||||||
:locale="languageName"
|
:locale="languageName"
|
||||||
|
show-adjacent-months
|
||||||
@input="updateDateValue"
|
@input="updateDateValue"
|
||||||
>
|
>
|
||||||
<v-btn text color="primary" @click="$emit('input', null)">{{
|
<v-btn text color="primary" @click="$emit('input', null)">{{
|
||||||
@@ -157,14 +158,31 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
setToday() {
|
setToday() {
|
||||||
|
var tmp = window.$gz.DateTime.local()
|
||||||
|
.setZone(this.timeZoneName)
|
||||||
|
.toUTC()
|
||||||
|
.toString();
|
||||||
|
console.log(tmp);
|
||||||
|
|
||||||
|
// console.log("setToday", {
|
||||||
|
// tz: this.timeZoneName,
|
||||||
|
// now: window.$gz.locale.nowUTC8601String(this.timeZoneName)
|
||||||
|
// });
|
||||||
const v = window.$gz.locale
|
const v = window.$gz.locale
|
||||||
.nowUTC8601String(this.timeZoneName)
|
.nowUTC8601String(this.timeZoneName)
|
||||||
.split("T")[0];
|
.split("T")[0];
|
||||||
|
|
||||||
|
//console.log("end result:", v);
|
||||||
this.updateDateValue(v);
|
this.updateDateValue(v);
|
||||||
this.dlgdate = false;
|
this.dlgdate = false;
|
||||||
},
|
},
|
||||||
setNow() {
|
setNow() {
|
||||||
|
// console.log("setNow", {
|
||||||
|
// tz: this.timeZoneName,
|
||||||
|
// now: window.$gz.locale.nowUTC8601String(this.timeZoneName)
|
||||||
|
// });
|
||||||
const v = window.$gz.locale.nowUTC8601String().split("T")[1];
|
const v = window.$gz.locale.nowUTC8601String().split("T")[1];
|
||||||
|
//console.log("end result:", v);
|
||||||
this.updateTimeValue(v);
|
this.updateTimeValue(v);
|
||||||
this.dlgtime = false;
|
this.dlgtime = false;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user