xiangpei
2024-06-04 c87c4fe5aa3987d61b10d57208232a94eec83d7c
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<template>
  <div class="c">
    <div class="bg">
      <div class="main">
        <SingleItem
          :data-source="paperData"
          :type='type'
        />
      </div>
    </div>
  </div>
</template>
 
<script>
// 引入单选
import SingleItem from "@/components/Choice/SingleItem.vue";
export default {
  components: {
    SingleItem,
  },
  data() {
    return {
      //试卷类型 1 考试 2 阅卷 3 查看
      type: 2,
      paperData: {
        //试卷ID
        paperId: "1",
        //试卷名称
        paperName: "测试试卷",
        //考生ID
        examineId: "1000",
        //考生名称
        examineName: "张三",
        //分数
        score: 80,
        //考试时长
        examDuration: 90,
        //交卷时间
        submissionTime: "2019-11-25 16:30:26",
        //题目集合
        list: [
          {
            //题目类型 1.单选题 2.多选题 3.判断题 4.填空题 5.简答题
            type: 2,
            no: 1,
            subject: "以下属于南方电网员工职业操守中明文规定的有",
            totalScore: 6,
            answers: [
              { no: "A", answer: "热爱祖国、热爱南网、热爱岗位" },
              { no: "B", answer: "遵纪守法、忠于职守、令行禁止" },
              { no: "C", answer: "客户至上、诚实守信、优质服务" },
            ],
            examineAnswer: ["A", "B"],
            correctAnswer: ["A", "B", "C"],
            answerAnalysis: "答案解析.......",
            isHook: 2,
            score: 0,
          },
          {
            //题目类型 1.单选题 2.多选题 3.判断题 4.填空题 5.简答题
            type: 2,
            no: 2,
            subject: "以下属于南方电网员工职业操守中明文规定的有",
            totalScore: 6,
            answers: [
              { no: "A", answer: "热爱祖国、热爱南网、热爱岗位" },
              { no: "B", answer: "遵纪守法、忠于职守、令行禁止" },
              { no: "C", answer: "客户至上、诚实守信、优质服务" },
            ],
            examineAnswer: ["A", "B"],
            correctAnswer: ["A", "B", "C"],
            answerAnalysis: "答案解析.......",
            isHook: 2,
            score: 0,
          },
          {
            //题目类型 1.单选题 2.多选题 3.判断题 4.填空题 5.简答题
            type: 1,
            no: 1,
            subject:
              "在生产管理信息系统中,下列操作步骤能正确将工单推进流程的是",
            totalScore: 1,
            answers: [
              { no: "A", answer: "在工具栏中点击“workflow”标签" },
              { no: "B", answer: "在缺陷单界面中点击“推进流程”按钮" },
              { no: "C", answer: "在缺陷单界面中点击“提交”按钮" },
            ],
            examineAnswer: "A",
            correctAnswer: "B",
            answerAnalysis: "答案解析.......",
            isHook: 2,
            score: 0,
          },
          {
            //题目类型 1.单选题 2.多选题 3.判断题 4.填空题 5.简答题
            type: 1,
            no: 2,
            subject:
              "在营销系统中查询客户有无欠费、余额及抄表数据接待客户时应做到哪些最基本的礼仪?",
            totalScore: 5,
            answers: [
              { no: "A", answer: "起身、微笑、示坐、问候客户" },
              { no: "B", answer: "坐着,问候客户" },
              { no: "C", answer: "请问需要办理什么业务" },
            ],
            examineAnswer: "A",
            correctAnswer: "A",
            answerAnalysis: "答案解析.......",
            isHook: 1,
            score: 5,
          },
 
          {
            //题目类型 1.单选题 2.多选题 3.判断题 4.填空题 5.简答题
            type: 3,
            no: 1,
            subject: "记录一次与人有效沟通的案例",
            totalScore: 10,
            answers: [],
            examineAnswer: "对",
            correctAnswer: "对",
            answerAnalysis: "答案解析.......",
            isHook: 1,
            score: 10,
          },
          {
            //题目类型 1.单选题 2.多选题 3.判断题 4.填空题 5.简答题
            type: 4,
            no: 1,
            subject: "打招呼的方式一般有",
            totalScore: 10,
            answers: [],
            examineAnswer: "寒暄式",
            correctAnswer: ["寒暄式", "问候式", "致意式", "致礼式"],
            answerAnalysis: "答案解析.......",
            isHook: 1,
            score: 10,
          },
          {
            //题目类型 1.单选题 2.多选题 3.判断题 4.填空题 5.简答题
            type: 5,
            no: 1,
            subject: "请简单说一下你对礼仪的认识与理解",
            totalScore: 10,
            answers: [],
            examineAnswer: "寒暄式",
            correctAnswer: "",
            answerAnalysis: "答案解析.......",
            isHook: 1,
            score: 10,
          },
        ],
      },
    };
  },
  methods: {
    paperRead(e) {
      console.log(e, 120);
    },
  },
};
</script>
 
<style lang="scss" scoped>
.main {
  width: 1227px;
  background: white;
  box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 32px 40px 0 40px;
}
</style>