Resolve "Управление приоритетами задач" - [merged]
frylock34 opened this issue · 22 comments
In GitLab by @frylock34 on Apr 30, 2020, 14:19
Commented on store/printJobsState.ts line 116
вот тут кидаем не payload
, а payload.job
In GitLab by @frylock34 on Apr 30, 2020, 14:21
Commented on components/dashboard/Queue.vue line 43
- в
v-if
должно быть"job.priority!=2"
, так как это кнопки в списке задач, соответственно действия должны выполняться для кожной задачи отдельно - по клику выполняем вот это
https://gitlab.com/stereotech/steapp/ste-app-client/-/merge_requests/20/diffs#efa601f7d64a8bb5d5ae5da83b2fee3995043682_99_113async changePriority
In GitLab by @Kate8954 on Apr 30, 2020, 20:39
Commented on store/printJobsState.ts line 116
changed this line in version 2 of the diff
In GitLab by @Kate8954 on Apr 30, 2020, 20:39
Commented on components/dashboard/Queue.vue line 43
changed this line in version 2 of the diff
In GitLab by @Kate8954 on Apr 30, 2020, 20:39
added 1 commit
- 9b333d90 - jobs list depends on priority
In GitLab by @Kate8954 on Apr 30, 2020, 21:06
added 1 commit
- b5018710 - change v-model in PrioritySettingsDialog.vue
In GitLab by @frylock34 on May 1, 2020, 09:31
Commented on components/dashboard/Queue.vue line 297
Убери обработчики кликов они здесь не нужны. У тебя уже есть привязка v-btn-toggle к модели editedJob.priority, а по умолчанию у всех кнопок в нем значения идут в соответствии с индексом (от 0 до 2), что совпадает со значением приоритета
In GitLab by @frylock34 on May 1, 2020, 09:34
Commented on components/dashboard/Queue.vue line 168
а вот тут замении PrintJobPriority.High
, PrintJobPriority.Normal
, PrintJobPriority.Low
, на соответствующие числа (enum не поддерживается в разметке, т.к. это часть Typescript, а в разметке может быть только JS)
In GitLab by @frylock34 on May 1, 2020, 09:47
Commented on components/dashboard/Queue.vue line 297
changed this line in version 5 of the diff
In GitLab by @frylock34 on May 1, 2020, 09:47
Commented on components/dashboard/Queue.vue line 168
changed this line in version 5 of the diff
In GitLab by @frylock34 on May 1, 2020, 09:49
Commented on components/dashboard/Queue.vue line 95
Добавь остальные иконки к подзаголовкам как вот тут
In GitLab by @frylock34 on May 1, 2020, 10:08
Commented on components/dashboard/Queue.vue line 15
добавь свойство subheader
In GitLab by @Kate8954 on May 1, 2020, 12:08
added 1 commit
- 4214bb81 - added icons to subheaders, removed unnecessary event hadlers, digits instead...
In GitLab by @frylock34 on May 4, 2020, 14:46
resolved all threads
In GitLab by @frylock34 on May 4, 2020, 14:47
mentioned in commit 40c0d0b
In GitLab by @frylock34 on May 4, 2020, 14:47
merged