Skip to content

Commit

Permalink
CA message for examples, fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dragos-eu committed Jun 7, 2024
1 parent 2e53c9d commit 7341813
Show file tree
Hide file tree
Showing 15 changed files with 228 additions and 215 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/1 - question.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ body:
## Full description of the expected behaviour (optional)
## Link to existing ESDP service, if applicable
## Link to existing ESPD service, if applicable
## Reference to the ANNEX 2 of Regulation (EU) 2016/7, if applicable
Expand Down
14 changes: 7 additions & 7 deletions ESPD/codelists/external_code_list.json
Original file line number Diff line number Diff line change
Expand Up @@ -517,37 +517,37 @@
{
"folder": "v3.3.0",
"filename": "BooleanGUIControlType.gc",
"uri": "https://github.com/OP-TED/ESDP-EDM/tree/v3.3.0/codelists/gc/BooleanGUIControlType.gc"
"uri": "https://github.com/OP-TED/ESPD-EDM/tree/v3.3.0/codelists/gc/BooleanGUIControlType.gc"
},
{
"folder": "v3.3.0",
"filename": "CriterionElementType.gc",
"uri": "https://github.com/OP-TED/ESDP-EDM/tree/v3.3.0/codelists/gc/CriterionElementType.gc"
"uri": "https://github.com/OP-TED/ESPD-EDM/tree/v3.3.0/codelists/gc/CriterionElementType.gc"
},
{
"folder": "v3.3.0",
"filename": "EOIDType.gc",
"uri": "https://github.com/OP-TED/ESDP-EDM/tree/v3.3.0/codelists/gc/EOIDType.gc"
"uri": "https://github.com/OP-TED/ESPD-EDM/tree/v3.3.0/codelists/gc/EOIDType.gc"
},
{
"folder": "v3.3.0",
"filename": "FinancialRatioType.gc",
"uri": "https://github.com/OP-TED/ESDP-EDM/tree/v3.3.0/codelists/gc/FinancialRatioType.gc"
"uri": "https://github.com/OP-TED/ESPD-EDM/tree/v3.3.0/codelists/gc/FinancialRatioType.gc"
},
{
"folder": "v3.3.0",
"filename": "ProfileExecutionID.gc",
"uri": "https://github.com/OP-TED/ESDP-EDM/tree/v3.3.0/codelists/gc/ProfileExecutionID.gc"
"uri": "https://github.com/OP-TED/ESPD-EDM/tree/v3.3.0/codelists/gc/ProfileExecutionID.gc"
},
{
"folder": "v3.3.0",
"filename": "PropertyGroupType.gc",
"uri": "https://github.com/OP-TED/ESDP-EDM/tree/v3.3.0/codelists/gc/PropertyGroupType.gc"
"uri": "https://github.com/OP-TED/ESPD-EDM/tree/v3.3.0/codelists/gc/PropertyGroupType.gc"
},
{
"folder": "v3.3.0",
"filename": "ResponseDataType.gc",
"uri": "https://github.com/OP-TED/ESDP-EDM/tree/v3.3.0/codelists/gc/ResponseDataType.gc"
"uri": "https://github.com/OP-TED/ESPD-EDM/tree/v3.3.0/codelists/gc/ResponseDataType.gc"
},
{
"folder": "v3.3.0",
Expand Down
17 changes: 4 additions & 13 deletions ESPD/examples/ESPDdownload.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,6 @@ Vue.component('ESPDdownload',{
}
},

emits: ['updateESPDDoc'],

methods: {
updateESPDDoc() {
this.$emit('updateESPDDoc',{
})
}
},

template: `
<template>
<b-conatiner>
Expand All @@ -29,11 +20,11 @@ Vue.component('ESPDdownload',{
<div class="accordion" role="tablist">
<b-card no-body class="mb-1">
<b-card-header header-tag="header" class="p-1" role="tab">
<b-button block v-b-toggle.accordion-1 variant="info">A. Save ESPD</b-button>
<b-button block v-b-toggle.accordion-fn1 variant="info">A. Save ESPD</b-button>
</b-card-header>
<b-collapse id="accordion-1" accordion="my-accordion" role="tabpanel">
<b-card-body>
<b-collapse id="accordion-fn1" accordion="my-accordion" role="tabpanel">
<b-card-body class='text-center'>
<b-button variant="warning">Download ESPD {{ window.espd_doc.role=='ca'?'Request':'Response'}}</b-button>
</b-card-body>
</b-collapse>
</b-card>
Expand Down
31 changes: 30 additions & 1 deletion ESPD/examples/espd.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,40 @@
"economic_financial_standing":["finan-rat", "indem-insu", "finan-requ"]
},
"technical_professional_ability":{
"references":["work-perform", "supply-perform", "service=perform"],
"references":["work-perform", "supply-perform", "service-perform"],
"technical": ["qual-cont-tech", "work-tech", "qual-facil", "research-fac", "chain-manage", "qualification", "envir-measure", "tech-equip", "spec-req-check"],
"management": ["manage-staff", "year-manpower", "suncont-port", "wo-authent", "w-autent"],
"certificates": ["qa-cerif-inst", "qu-certif-indep", "envir-certif-indep"]
}
},
"model":{
"source": "ESPD/model/espd_edm_v3.3.0.json"
},
"partI":{
"A": [],
"B": [],
"C": []
},
"partII":{
"A":["C65", "C57", "C58", "C59"],
"B": [],
"C": ["C60"],
"D": ["C61"]
},
"partIII":{
"A": ["C1", "C2", "C3", "C4", "C5", "C6"],
"B": ["C7", "C8"],
"C": ["C9", "C10", "C11", "C12", "C12", "C13", "C14", "C15", "C16", "C17", "C18", "C19", "C20", "C21", "C22", "C23"],
"D": ["C24"]
},
"partIV":{
"A": ["C25", "C26", "C27", "C28"],
"B": ["C29", "C30", "C31", "C32", "C34", "C35", "C36"],
"C": ["C37", "C38", "C39", "C40", "C41", "C42", "C43", "C44", "C45", "C46", "C47", "C48", "C49", "C50", "C51", "C52", "C53", "C54"],
"D": ["C55", "C56"]
},
"partV":{
"A": ["C63"]
}
}
}
Expand Down
47 changes: 24 additions & 23 deletions ESPD/examples/exclusionGrounds.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
Vue.component('exclusionGrounds', {
data(){
return {
meta_espd_doc: window.raw_data[window.espd_doc.espd_version],
espd_model: window.espd_model,
show: true
}
},

emits: ['updateESPDDoc'],

methods: {
updateESPDDoc() {
this.$emit('updateESPDDoc',{
})
}
created(){
console.log('exclusion grounds')
},

template: `
Expand All @@ -29,44 +26,48 @@ Vue.component('exclusionGrounds', {
<div class="accordion" role="tablist">
<b-card no-body class="mb-1">
<b-card-header header-tag="header" class="p-1" role="tab">
<b-button block v-b-toggle.accordion-1 variant="info">A: Grounds relating to criminal convictions</b-button>
<b-button block v-b-toggle.accordion-e1 variant="info">A: Grounds relating to criminal convictions</b-button>
</b-card-header>
<b-collapse id="accordion-1" accordion="my-accordion" role="tabpanel">
<b-card-body>
<b-collapse id="accordion-e1" accordion="my-accordion" role="tabpanel">
<b-card-body v-for="item in meta_espd_doc['partIII']['A']">
<strong>{{ espd_model[item].name }}</strong>
<p>{{ espd_model[item].description }}</p>
</b-card-body>
</b-collapse>
</b-card>
<b-card no-body class="mb-1">
<b-card-header header-tag="header" class="p-1" role="tab">
<b-button block v-b-toggle.accordion-2 variant="info">B: Grounds relating to the payment of taxes or social security contributions </b-button>
<b-button block v-b-toggle.accordion-e2 variant="info">B: Grounds relating to the payment of taxes or social security contributions </b-button>
</b-card-header>
<b-collapse id="accordion-2" accordion="my-accordion" role="tabpanel">
<b-card-body>
<b-collapse id="accordion-e2" accordion="my-accordion" role="tabpanel">
<b-card-body v-for="item in meta_espd_doc['partIII']['B']">
<strong>{{ espd_model[item].name }}</strong>
<p>{{ espd_model[item].description }}</p>
</b-card-body>
</b-collapse>
</b-card>
<b-card no-body class="mb-1">
<b-card-header header-tag="header" class="p-1" role="tab">
<b-button block v-b-toggle.accordion-3 variant="info">C: Grounds relating to insolvency, conflicts of interests or professional misconduct</b-button>
<b-button block v-b-toggle.accordion-e3 variant="info">C: Grounds relating to insolvency, conflicts of interests or professional misconduct</b-button>
</b-card-header>
<b-collapse id="accordion-3" accordion="my-accordion" role="tabpanel">
<b-card-body>
<b-collapse id="accordion-e3" accordion="my-accordion" role="tabpanel">
<b-card-body v-for="item in meta_espd_doc['partIII']['C']">
<strong>{{ espd_model[item].name }}</strong>
<p>{{ espd_model[item].description }}</p>
</b-card-body>
</b-collapse>
</b-card>
<b-card no-body class="mb-1">
<b-card-header header-tag="header" class="p-1" role="tab">
<b-button block v-b-toggle.accordion-4 variant="info">D: Purely national exclusion grounds</b-button>
<b-button block v-b-toggle.accordion-e4 variant="info">D: Purely national exclusion grounds</b-button>
</b-card-header>
<b-collapse id="accordion-4" accordion="my-accordion" role="tabpanel">
<b-card-body>
<b-collapse id="accordion-e4" accordion="my-accordion" role="tabpanel">
<b-card-body v-for="item in meta_espd_doc['partIII']['D']">
<strong>{{ espd_model[item].name }}</strong>
<p>{{ espd_model[item].description }}</p>
</b-card-body>
</b-collapse>
</b-card>
Expand Down
36 changes: 19 additions & 17 deletions ESPD/examples/procedureComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,22 @@ Vue.component('procedureComponent',{
show: true
}
},
emits: ['updateESPDDoc'],

methods: {
updateESPDDoc() {
this.$emit('updateESPDDoc',{
received_notice_number: this.received_notice_number,
OJS_notice_number: this.OJS_notice_number,
OJS_URL: this.OJS_URL,
national_official_journal: this.national_official_journal,
procurer: this.procurer,
procedure: this.procedure
})
created(){
const getData = async () => {
try {
let thecall = await fetch(`${window.raw_data[window.espd_doc.espd_version].model.source}`)
let data = await thecall.json()
if (thecall.ok) {
window.espd_model = data
}
} catch (error) {
console.log("Error!", error);
}
}
getData()
},

template: `
<template>
<b-conatiner>
Expand All @@ -57,9 +59,9 @@ Vue.component('procedureComponent',{
<div class="accordion" role="tablist">
<b-card no-body class="mb-1">
<b-card-header header-tag="header" class="p-1" role="tab">
<b-button block v-b-toggle.accordion-1 variant="info">A. Information about publication</b-button>
<b-button block v-b-toggle.accordion-p1 variant="info">A. Information about publication</b-button>
</b-card-header>
<b-collapse id="accordion-1" accordion="my-accordion" role="tabpanel">
<b-collapse id="accordion-p1" accordion="my-accordion" role="tabpanel">
<b-card-body>
<b-form-group id="flds-ron" label-cols-sm="4" label-cols-lg="3" description="Please specify the received notice number." label="Received notice number" label-for="inp-received_notice_number">
<b-form-input id="inp-received_notice_number" v-model="received_notice_number"></b-form-input>
Expand All @@ -79,9 +81,9 @@ Vue.component('procedureComponent',{
<b-card no-body class="mb-1">
<b-card-header header-tag="header" class="p-1" role="tab">
<b-button block v-b-toggle.accordion-2 variant="info">B. Identity of the procurer</b-button>
<b-button block v-b-toggle.accordion-p2 variant="info">B. Identity of the procurer</b-button>
</b-card-header>
<b-collapse id="accordion-2" accordion="my-accordion" role="tabpanel">
<b-collapse id="accordion-p2" accordion="my-accordion" role="tabpanel">
<b-card-body>
<b-form-group id="flds-caname" label-cols-sm="4" label-cols-lg="3" description="Please specify Procurer's name" label="Official name" label-for="inp-caname">
<b-form-input id="inp-caname" v-model="procurer.name"></b-form-input>
Expand Down Expand Up @@ -123,9 +125,9 @@ Vue.component('procedureComponent',{
<b-card no-body class="mb-1">
<b-card-header header-tag="header" class="p-1" role="tab">
<b-button block v-b-toggle.accordion-3 variant="info">C. Information about the procurement procedure</b-button>
<b-button block v-b-toggle.accordion-p3 variant="info">C. Information about the procurement procedure</b-button>
</b-card-header>
<b-collapse id="accordion-3" accordion="my-accordion" role="tabpanel">
<b-collapse id="accordion-p3" accordion="my-accordion" role="tabpanel">
<b-card-body>
<b-form-group id="flds-ptype" label-cols-sm="4" label-cols-lg="3" description="Select the Type of procedure." label="Type of procedure" label-for="inp-ptype">
<b-form-input id="inp-ptype" v-model="procedure.type"></b-form-input>
Expand Down
49 changes: 23 additions & 26 deletions ESPD/examples/selectionCriteria.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
Vue.component('selectionCriteria',{
data(){
return {
meta_espd_doc: window.raw_data[window.espd_doc.espd_version],
espd_model: window.espd_model,
show: true
}
},

emits: ['updateESPDDoc'],

methods: {
updateESPDDoc() {
this.$emit('updateESPDDoc',{
})
}
},

template: `
<template>
<b-conatiner>
Expand All @@ -29,44 +22,48 @@ Vue.component('selectionCriteria',{
<div class="accordion" role="tablist">
<b-card no-body class="mb-1">
<b-card-header header-tag="header" class="p-1" role="tab">
<b-button block v-b-toggle.accordion-1 variant="info">A: Suitability</b-button>
<b-button block v-b-toggle.accordion-s1 variant="info">A: Suitability</b-button>
</b-card-header>
<b-collapse id="accordion-1" accordion="my-accordion" role="tabpanel">
<b-card-body>
</b-card-body>
<b-collapse id="accordion-s1" accordion="my-accordion" role="tabpanel">
<b-card-body v-for="item in meta_espd_doc['partIV']['A']">
<strong>{{ espd_model[item].name }}</strong>
<p>{{ espd_model[item].description }}</p>
</b-card-body>
</b-collapse>
</b-card>
<b-card no-body class="mb-1">
<b-card-header header-tag="header" class="p-1" role="tab">
<b-button block v-b-toggle.accordion-2 variant="info">B: Economic and financial standing</b-button>
<b-button block v-b-toggle.accordion-s2 variant="info">B: Economic and financial standing</b-button>
</b-card-header>
<b-collapse id="accordion-2" accordion="my-accordion" role="tabpanel">
<b-card-body>
<b-collapse id="accordion-s2" accordion="my-accordion" role="tabpanel">
<b-card-body v-for="item in meta_espd_doc['partIV']['B']">
<strong>{{ espd_model[item].name }}</strong>
<p>{{ espd_model[item].description }}</p>
</b-card-body>
</b-collapse>
</b-card>
<b-card no-body class="mb-1">
<b-card-header header-tag="header" class="p-1" role="tab">
<b-button block v-b-toggle.accordion-3 variant="info">C: Technical and professional ability</b-button>
<b-button block v-b-toggle.accordion-s3 variant="info">C: Technical and professional ability</b-button>
</b-card-header>
<b-collapse id="accordion-3" accordion="my-accordion" role="tabpanel">
<b-card-body>
<b-collapse id="accordion-s3" accordion="my-accordion" role="tabpanel">
<b-card-body v-for="item in meta_espd_doc['partIV']['C']">
<strong>{{ espd_model[item].name }}</strong>
<p>{{ espd_model[item].description }}</p>
</b-card-body>
</b-collapse>
</b-card>
<b-card no-body class="mb-1">
<b-card-header header-tag="header" class="p-1" role="tab">
<b-button block v-b-toggle.accordion-4 variant="info">D: Quality assurance schemes and environmental management standards</b-button>
<b-button block v-b-toggle.accordion-s4 variant="info">D: Quality assurance schemes and environmental management standards</b-button>
</b-card-header>
<b-collapse id="accordion-4" accordion="my-accordion" role="tabpanel">
<b-card-body>
<b-collapse id="accordion-s4" accordion="my-accordion" role="tabpanel">
<b-card-body v-for="item in meta_espd_doc['partIV']['D']">
<strong>{{ espd_model[item].name }}</strong>
<p>{{ espd_model[item].description }}</p>
</b-card-body>
</b-collapse>
</b-card>
Expand Down
Loading

0 comments on commit 7341813

Please sign in to comment.