This commit is contained in:
@@ -60,17 +60,17 @@
|
||||
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<gz-date-time-picker
|
||||
:label="$ay.t('ReviewDueDate')"
|
||||
:rules="[form().required(this, 'dueDate')]"
|
||||
v-model="obj.dueDate"
|
||||
:label="$ay.t('ReviewDate')"
|
||||
:rules="[form().required(this, 'reviewDate')]"
|
||||
v-model="obj.reviewDate"
|
||||
:readonly="
|
||||
formState.readOnly ||
|
||||
(!selfAssigned && !currentUserIsASupervisor)
|
||||
"
|
||||
ref="dueDate"
|
||||
data-cy="dueDate"
|
||||
:error-messages="form().serverErrors(this, 'dueDate')"
|
||||
@input="fieldValueChanged('dueDate')"
|
||||
ref="reviewDate"
|
||||
data-cy="reviewDate"
|
||||
:error-messages="form().serverErrors(this, 'reviewDate')"
|
||||
@input="fieldValueChanged('reviewDate')"
|
||||
></gz-date-time-picker>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
@@ -262,7 +262,7 @@ export default {
|
||||
//I.E. Serial, usertype fields, ACTIVE
|
||||
//Also, if it's a non-nullable Enum backed field then it should have a valid selection i.e. not zero if there is no zero
|
||||
//{"data":{"id":2,"concurrency":1257740,"name":"Follow up on this unit","notes":"Additional text about this unit","wiki":null,"customFields":null,"tags":["completed.review","v8-migrate"],
|
||||
//"dueDate":"2019-03-21T22:00:00Z","completedDate":"2019-03-21T22:00:00Z","completionNotes":null,"userId":2,"assignedByUserId":1,"objectId":9,"aType":31,"overDue":false}}
|
||||
//"reviewDate":"2019-03-21T22:00:00Z","completedDate":"2019-03-21T22:00:00Z","completionNotes":null,"userId":2,"assignedByUserId":1,"objectId":9,"aType":31,"overDue":false}}
|
||||
{
|
||||
id: 0,
|
||||
concurrency: 0,
|
||||
@@ -271,7 +271,7 @@ export default {
|
||||
wiki: null,
|
||||
customFields: "{}",
|
||||
tags: [],
|
||||
dueDate: null,
|
||||
reviewDate: null,
|
||||
completedDate: null,
|
||||
completionNotes: null,
|
||||
userId: window.$gz.store.state.userId,
|
||||
@@ -709,7 +709,7 @@ async function fetchTranslatedText(vm) {
|
||||
"Review",
|
||||
"ReviewName",
|
||||
"ReviewNotes",
|
||||
"ReviewDueDate",
|
||||
"ReviewDate",
|
||||
"ReviewCompletedDate",
|
||||
"ReviewCompletionNotes",
|
||||
"ReviewUserId",
|
||||
|
||||
@@ -766,7 +766,7 @@ export default {
|
||||
window.$gz.form.deleteAllErrorBoxErrors(this);
|
||||
let res = await window.$gz.api.post("schedule/personal", {
|
||||
view: window.$gz.util.calendarViewToAyaNovaEnum(this.viewType),
|
||||
darkMode: this.$store.state.darkMode,
|
||||
dark: this.$store.state.darkMode,
|
||||
start: window.$gz.locale.localTimeDateStringToUTC8601String(
|
||||
`${start.date}T00:00:00`,
|
||||
this.timeZoneName
|
||||
|
||||
Reference in New Issue
Block a user