Skip to content

Commit 5f51e96

Browse files
committed
Update required fields in [id].vue and add new columns in index.vue
1 parent 27feb99 commit 5f51e96

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

src/pages/agents/[id].vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const schema = ref({
5050
"description": "Common name of the inetOrgPerson."
5151
},
5252
},
53-
"required": ["cn", "sn", "uid"]
53+
"required": ["cn", "sn", "uid", "employeeNumber"]
5454
})
5555
const uischema = ref({
5656
"type": "Group",

src/pages/identities/index.vue

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,13 @@ const columns = ref<QTableProps['columns']>([
132132
align: 'left',
133133
sortable: true,
134134
},
135+
{
136+
name: 'inetOrgPerson.employeeNumber',
137+
label: 'EmployeeNumber',
138+
field: (row: Identity) => row.inetOrgPerson.employeeNumber,
139+
align: 'left',
140+
sortable: true,
141+
},
135142
{
136143
name: 'additionalFields.attributes.supann.supannTypeEntiteAffectation',
137144
label: 'Affectation',
@@ -178,6 +185,7 @@ const columns = ref<QTableProps['columns']>([
178185
])
179186
const visibleColumns = ref<QTableProps['visibleColumns']>([
180187
'inetOrgPerson.uid',
188+
'inetOrgPerson.employeeNumber',
181189
'additionalFields.attributes.supann.supannTypeEntiteAffectation',
182190
'envelope.observers.name',
183191
'envelope.assigned.name',
@@ -190,6 +198,7 @@ const visibleColumns = ref<QTableProps['visibleColumns']>([
190198
])
191199
const columnsType = ref([
192200
{ name: 'inetOrgPerson.uid', type: 'text' },
201+
{ name: 'inetOrgPerson.employeeNumber', type: 'text' },
193202
{ name: 'additionalFields.attributes.supann.supannTypeEntiteAffectation', type: 'text' },
194203
{ name: 'envelope.observers.name', type: 'text' },
195204
{ name: 'envelope.assigned.name', type: 'text' },

src/pages/jobs/index.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ div.fit
77
q-timeline-entry(heading) November, 2017
88
q-timeline-entry(
99
v-for="(job, key) in jobs.data" :key="key"
10-
:title="job.jobId" :subtitle="job.action" icon="mdi-account" color="orange"
10+
icon="mdi-account" color="orange"
1111
)
12+
template(#title) Titre
13+
template(#subtitle) Titre
1214
div
1315
pre(v-html="JSON.stringify(job, null, 2)")
1416
</template>

0 commit comments

Comments
 (0)