@burh/nuxt-core 1.0.277 → 1.0.279

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.
@@ -22,7 +22,6 @@
22
22
  {{ userData.user_address.region_code }}
23
23
  </span>
24
24
  <br>
25
- <span>Data de atualização: {{ $moment(userData.updated_at).format('DD/MM/YYYY H:mm')}}</span><br>
26
25
  <span v-if="userData.user_complementary_information.wage_pretension > 1">Pretenção salarial: R$ {{userData.user_complementary_information.wage_pretension}}</span>
27
26
  </div>
28
27
 
@@ -175,20 +174,42 @@
175
174
  class="border qr-code"
176
175
  ></vue-qrcode>
177
176
  <p class="mb-0">Código BURH</p>
178
- <span class="qr-id">{{ userData.id }}</span>
177
+ <span class="qr-id">{{ userData.id }}</span><br>
178
+ <div class="teste-block">
179
+ <span
180
+ class="font-weight-normal mt-2 d-block"
181
+ @click="$emit('open-contact', isLocked)"
182
+ >Data de atualização:
183
+ <template v-if="isLocked">
184
+ <i class="fa fa-lock"></i>
185
+ </template>
186
+ <template v-else>
187
+ {{$moment(userData.updated_at).format('DD/MM/YYYY H:mm')}}
188
+ </template>
189
+ </span>
190
+ <!-- isLocked ? (<i class="fa fa-lock"></i>) : $moment(userData.updated_at).format('DD/MM/YYYY H:mm') -->
191
+ </div>
179
192
  </div>
193
+
180
194
  </div>
181
195
  </template>
182
196
 
183
197
  <script>
184
198
  import getPrefixes from '~/util/getPrefixes.js';
185
199
  import VueQrcode from '@chenfengyuan/vue-qrcode';
200
+ import swal from 'sweetalert2';
186
201
 
187
202
  export default {
188
203
  name: 'user-cv-left-side',
189
204
  components: {
190
- VueQrcode
191
- },
205
+ VueQrcode,
206
+
207
+ },
208
+ computed: {
209
+ currentCompany() {
210
+ return this.$store.state.company.currentCompany;
211
+ },
212
+ },
192
213
  props: {
193
214
  userData: Object,
194
215
  baseUrl: String,
@@ -197,8 +218,12 @@ export default {
197
218
  default: ''
198
219
  }
199
220
  },
200
- mounted() {
201
- console.log(this.userData);
221
+ data() {
222
+ return {
223
+ isLocked: !this.companyHasProduct(
224
+ this.$store.state.loja.showableProducts['BUSCA_AVANCADA']
225
+ ),
226
+ };
202
227
  },
203
228
  methods: {
204
229
  highlightText(search, text) {
@@ -314,6 +339,9 @@ export default {
314
339
  color: #000;
315
340
  }
316
341
 
342
+ .teste-block{
343
+ display: inline !important;
344
+ }
317
345
  .qr-id {
318
346
  color: #32325d !important;
319
347
  }
@@ -2,10 +2,10 @@
2
2
  <div class="bg-white content-right tabs ">
3
3
  <el-tabs
4
4
  :class="active"
5
- class="mt-3 ml-4 handle-icon-color"
5
+ class="mt-3 handle-icon-color"
6
6
  v-model="active"
7
7
  >
8
- <el-tab-pane class="history" name="history">
8
+ <el-tab-pane class="history ml-2" name="history">
9
9
  <span class="tab__icon-pane" slot="label">
10
10
  <img
11
11
  class="img__icon-pane img__icon--history"
@@ -31,7 +31,7 @@
31
31
  </p>
32
32
  </el-tab-pane>
33
33
 
34
- <el-tab-pane name="notes" v-if="isNotesActived">
34
+ <el-tab-pane name="notes" class="ml-2" v-if="isNotesActived">
35
35
  <span class="tab__icon-pane" slot="label">
36
36
  <img
37
37
  class="img__icon-pane img__icon--notes"
@@ -96,7 +96,7 @@
96
96
  </div>
97
97
  </el-tab-pane>
98
98
 
99
- <el-tab-pane name="documents">
99
+ <el-tab-pane name="documents" class="ml-2">
100
100
  <span class="tab__icon-pane" slot="label">
101
101
  <img
102
102
  class="img__icon-pane img__icon--documents"
@@ -491,6 +491,11 @@ export default {
491
491
  }
492
492
  }
493
493
 
494
+ /deep/ .el-tabs__nav-scroll {
495
+ display: flex;
496
+ justify-content: space-around;
497
+ }
498
+
494
499
  .readmore {
495
500
  overflow: hidden;
496
501
  text-overflow: ellipsis;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.0.277",
3
+ "version": "1.0.279",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "scripts": {