refs #5334 fix hasToSendMail
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
ceaaece007
commit
3aa5ce6208
|
@ -5,7 +5,7 @@ class Controller extends ModuleCard {
|
||||||
reload() {
|
reload() {
|
||||||
const filter = {
|
const filter = {
|
||||||
fields: ['id', 'name', 'code', 'workerFk', 'isProduction', 'chatName',
|
fields: ['id', 'name', 'code', 'workerFk', 'isProduction', 'chatName',
|
||||||
'isTeleworking', 'notificationEmail', 'hasToRefill', 'hasToSendMai', 'hasToMistake', 'clientFk'],
|
'isTeleworking', 'notificationEmail', 'hasToRefill', 'hasToSendMail', 'hasToMistake', 'clientFk'],
|
||||||
include: [
|
include: [
|
||||||
{
|
{
|
||||||
relation: 'client',
|
relation: 'client',
|
||||||
|
|
|
@ -17,7 +17,7 @@ class Controller extends Descriptor {
|
||||||
loadData() {
|
loadData() {
|
||||||
const filter = {
|
const filter = {
|
||||||
fields: ['id', 'name', 'code', 'workerFk', 'isProduction', 'chatName',
|
fields: ['id', 'name', 'code', 'workerFk', 'isProduction', 'chatName',
|
||||||
'isTeleworking', 'notificationEmail', 'hasToRefill', 'hasToSendMai', 'hasToMistake', 'clientFk'],
|
'isTeleworking', 'notificationEmail', 'hasToRefill', 'hasToSendMail', 'hasToMistake', 'clientFk'],
|
||||||
include: [
|
include: [
|
||||||
{
|
{
|
||||||
relation: 'client',
|
relation: 'client',
|
||||||
|
|
|
@ -14,7 +14,7 @@ class Controller extends Summary {
|
||||||
const query = `Departments/${value.id}`;
|
const query = `Departments/${value.id}`;
|
||||||
const filter = {
|
const filter = {
|
||||||
fields: ['id', 'name', 'code', 'workerFk', 'isProduction', 'chatName',
|
fields: ['id', 'name', 'code', 'workerFk', 'isProduction', 'chatName',
|
||||||
'isTeleworking', 'notificationEmail', 'hasToRefill', 'hasToSendMai', 'hasToMistake', 'clientFk'],
|
'isTeleworking', 'notificationEmail', 'hasToRefill', 'hasToSendMail', 'hasToMistake', 'clientFk'],
|
||||||
include: [
|
include: [
|
||||||
{
|
{
|
||||||
relation: 'client',
|
relation: 'client',
|
||||||
|
@ -30,9 +30,10 @@ class Controller extends Summary {
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
this.$http.get(query, {params: {filter}}).then(res => {
|
this.$http.get(query, {params: {filter}})
|
||||||
this.$.worker = res.data;
|
.then(res => {
|
||||||
});
|
this.$.department = res.data;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
get isHr() {
|
get isHr() {
|
||||||
|
|
Loading…
Reference in New Issue