eztech-core-components 1.0.50 → 1.0.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eztech-core-components",
3
- "version": "1.0.50",
3
+ "version": "1.0.52",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -869,7 +869,7 @@ export const tableMethods = {
869
869
  const link = document.createElement('a')
870
870
  link.href = href
871
871
  // link.target = '_blank'
872
- link.setAttribute('download', `profile_${this.$moment().format('YYYYMMDD_HHmmss')}.pdf`)
872
+ link.setAttribute('download', `cv_${this.temp.surname}_${this.temp.given_name}_${this.$moment().format('YYYYMMDD_HHmmss')}.pdf`)
873
873
  document.body.appendChild(link)
874
874
  link.click()
875
875
  document.body.removeChild(link)
@@ -1618,6 +1618,7 @@ export const getAsyncData = async ({
1618
1618
  }
1619
1619
  const showColumns = getColumns(columns, [], fields)
1620
1620
  const isDetail = showColumns.some(c => c.col_field.includes('html_') && !c.col_field.includes('mini')) || config_group_fields?.some(c => ['SUB_TABLE', 'CUSTOM', 'SUB_TABLE_LOG'].includes(c.group_type))
1621
+ const isRegYear = columns.some(c => c.col_field === 'year' && c.col_default === 'current_reg_year')
1621
1622
  return {
1622
1623
  configProjectId: project._id,
1623
1624
  project,
@@ -1648,6 +1649,7 @@ export const getAsyncData = async ({
1648
1649
  isXypLog,
1649
1650
  customExtraFields,
1650
1651
  statuses,
1651
- filters
1652
+ filters,
1653
+ isRegYear
1652
1654
  }
1653
1655
  }