zhengyiming
3 天以前 9c2cb0c24dabf68ca5f4703340ed2b1f13ddf969
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<template>
  <ContentScrollView>
    <Cell title="岗位经历">
      <nut-steps
        v-if="taskInfoUsers.length > 0"
        direction="vertical"
        progress-dot
        :current="3"
        class="job-detail-content-steps"
      >
        <nut-step
          v-for="(taskInfoUser, index) in taskInfoUsers"
          :key="index"
          :title="taskInfoUser.signContractTime"
        >
          <template #content>
            <p>在{{ taskInfoUser.enterpriseName }}:</p>
            <p>做过{{ taskInfoUser.name }}</p>
          </template>
        </nut-step>
      </nut-steps>
      <NoData v-else />
    </Cell>
  </ContentScrollView>
</template>
 
<script setup lang="ts">
import NoData from '../../NoData/NoData.vue';
 
defineOptions({
  name: 'experienceView',
});
 
type Props = {
  taskInfoUsers?: API.GetUserResumeQueryResultExperience[];
};
 
const props = withDefaults(defineProps<Props>(), {
  taskInfoUsers: () => [],
});
</script>
 
<style lang="scss">
@import '@/styles/common.scss';
 
.job-detail-content-tabs {
  .job-detail-content-steps {
    .nut-step-main {
      margin-bottom: 40px;
    }
 
    .nut-step:last-child {
      .nut-step-main {
        margin-bottom: 0;
      }
    }
  }
}
</style>