b89c8760
wangming
项目初始化
|
1
|
<template>
|
cac28d75
周超
问卷 用户 维度
|
2
|
<div class="app-container">
|
e1644c39
yangzhi
王哥起来屙尿了
|
3
|
<div id="id_test_video" style="width:100%; height:auto;"></div>
|
cac28d75
周超
问卷 用户 维度
|
4
5
6
7
8
9
10
11
12
13
|
<el-row :gutter="20">
<el-col :span="6" :style="{'height':contentHeight+'px'}">
<div class="grid-content bg-purple">
<el-tabs v-model="activeTab" style="padding: 0 20px" :stretch="true">
<el-tab-pane label="专业类" name="6"></el-tab-pane>
<el-tab-pane label="测评类" name="1"></el-tab-pane>
</el-tabs>
<div style="padding:0 10px">
<el-input size="small" placeholder="输入关键字搜索" v-model="parameter.keyWord"></el-input>
</div>
|
4ee13894
周超
给大志哥
|
14
15
16
|
<div style="padding:10.5px">
<el-button type="primary" @click="randomSubject" style="width:100%">随机抽题</el-button>
</div>
|
e011bf15
周超
我先走一步
|
17
|
|
cac28d75
周超
问卷 用户 维度
|
18
19
20
|
<draggable :options="{animation:380,filter:'.unmover'}" group="itxst" v-model="arr1" @end="end1"
@add="RemoveHere" :move="onMove" class="infinite-list" :style="{'height':contentHeight-80+'px'}"
infinite-scroll-disabled="disabled" v-infinite-scroll="load" style="overflow:auto">
|
4ee13894
周超
给大志哥
|
21
|
|
e011bf15
周超
我先走一步
|
22
23
|
<li v-for="i in arr1" class="infinite-list-item" :key="i.id" v-if="!classarr.some(o=>o == i.id)">{{
i.subject }}</li>
|
cac28d75
周超
问卷 用户 维度
|
24
25
26
|
<p v-if="loading" style="text-align: center;color: #cdcdcd;" class="unmover">加载中...</p>
<p v-if="noMore" style="text-align: center;color: #cdcdcd;" class="unmover">没有更多了</p>
</draggable>
|
b89c8760
wangming
项目初始化
|
27
|
|
cac28d75
周超
问卷 用户 维度
|
28
29
30
31
32
33
34
35
36
37
|
</div>
</el-col>
<el-col :span="10" :style="{'height':contentHeight+'px'}">
<div class="grid-content bg-purple">
<div class="areahead">
<span v-show="!edit" style="font-weight: bold;">{{ TestPaper.TestPaperTitle }}</span>
<el-input v-show="edit" style="width: 400px;" v-model="TestPaper.TestPaperTitle"></el-input>
<i :class="{'el-icon-edit': !edit, 'el-icon-check': edit}" @click="edit = !edit"
style="margin-left: 5px;cursor: pointer;"></i>
</div>
|
e011bf15
周超
我先走一步
|
38
|
|
cac28d75
周超
问卷 用户 维度
|
39
40
41
42
43
44
45
46
47
48
|
<draggable :options="{animation:380}" group="itxst" v-model="arr2" class="infinite-list" @end="end2"
@add="ComeHere" :style="{'height':contentHeight-60+'px'}" style="overflow:auto;padding-top: 10px;">
<li v-for="i in arr2" class="infinite-list-item">
<label>[{{i.subjectName}}]{{ i.subject }}</label>
<div v-for="item in JSON.parse(i.subjectContent)">
<p class="option-p">{{item.option}}:{{item.optionContent}}</p>
</div>
</li>
</li>
</draggable>
|
e011bf15
周超
我先走一步
|
49
50
|
|
cac28d75
周超
问卷 用户 维度
|
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
</div>
</el-col>
<el-col :span="8" :style="{'height':contentHeight+'px'}">
<div class="grid-content bg-purple">
<div class="areahead">组卷基本信息</div>
<el-form ref="form" class="testPaper-manager" :rules="rules" :model="TestPaper" label-width="100px">
<el-form-item label="试卷名称:" class="el-form-item-custom">
{{TestPaper.TestPaperTitle}}
</el-form-item>
<el-form-item label="题目数量:" class="el-form-item-custom">
{{arr2.length}}
</el-form-item>
<el-form-item label="题型数量:" class="el-form-item-custom">
<span style="margin-right: 10px;">单选题:{{TestPaper.SingleNumber}}</span>
<span style="margin-right: 10px;">多选题:{{TestPaper.MultipleNumber}}</span>
<span style="margin-right: 10px;">主观题:{{TestPaper.SubjectiveNumber}}</span>
</el-form-item>
<el-form-item label="题目总分:" class="el-form-item-custom">
|
e011bf15
周超
我先走一步
|
69
|
{{TestPaper.TotalScore || ''}}
|
cac28d75
周超
问卷 用户 维度
|
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
</el-form-item>
<el-form-item label="分类" class="el-form-item-custom">
<el-cascader class="testpaper-input" v-model="TestPaper.QuestionClassId"
style="width:400px;margin-bottom: 20px;" :props="{emitPath:false}" :clearable=true
:options="QuestionClass">
</el-cascader>
</el-form-item>
<el-form-item label="有效时间" required>
<el-form-item prop="date1">
<el-date-picker v-model="TestPaper.date" @change="changetimestartend" type="datetimerange"
format="yyyy-MM-dd hh:mm:ss" range-separator="至" start-placeholder="开始时间" style="width:100%"
end-placeholder="结束时间">
</el-date-picker>
</el-form-item>
</el-form-item>
|
e1644c39
yangzhi
王哥起来屙尿了
|
88
|
<el-form-item label="总时长控制" prop="AnswerTime">
|
cac28d75
周超
问卷 用户 维度
|
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
|
<el-input class="testpaper-input" type="number" placeholder="总时长控制(分钟)" v-model="TestPaper.AnswerTime">
</el-input>
</el-form-item>
<el-form-item label="试卷原价:" prop="OriginalPrice" v-show="false">
<el-input class="testpaper-input" oninput="value=value.replace(/[^0-9.]/g,'')"
v-model="TestPaper.OriginalPrice" :precision="0">
<template slot="append">元</template>
</el-input>
</el-form-item>
<el-form-item label="试卷价格:" prop="PresentPrice" v-show="false">
<el-input class="testpaper-input" oninput="value=value.replace(/[^0-9.]/g,'')"
v-model="TestPaper.PresentPrice">
<template slot="append">元</template>
</el-input>
</el-form-item>
<el-form-item label="会员价:" prop="MembershipPrice" v-show="false">
<el-input class="testpaper-input" oninput="value=value.replace(/[^0-9.]/g,'')"
v-model="TestPaper.MembershipPrice">
<template slot="append">元</template>
</el-input>
</el-form-item>
<el-form-item label="试卷简介:">
<el-input class="testpaper-input" :rows="10" type="textarea" v-model="TestPaper.Describe">
</el-input>
</el-form-item>
<el-button type="primary" style="float: right;" @click="SubmitTestPaper">保存
</el-button>
</el-form>
</div>
</el-col>
</el-row>
|
4ee13894
周超
给大志哥
|
121
122
123
|
|
e1644c39
yangzhi
王哥起来屙尿了
|
124
125
126
127
|
<el-dialog title="随机抽题" :visible.sync="dialogTableVisible">
<ul class="random-list">
<li v-for="(item,index) in randomSubjectList" :key="index">
<span>试题分类:</span>
|
78156aa6
yangzhi
级联菜单
|
128
129
130
131
132
|
<el-cascader
style="flex:1"
v-model="item.QuestionClassId"
:options="randomQuestionTypeList"
clearable></el-cascader>
|
e1644c39
yangzhi
王哥起来屙尿了
|
133
134
135
136
137
138
139
140
141
142
|
<span style="margin-left:10px;">试题数量:</span>
<el-input-number v-model="item.Count" :min="1" :max="100" label="描述文字" style="margin-left:10px;"></el-input-number>
<i class="el-icon-remove-outline" @click="changeSubjectCount(-1,index)" style="margin-left:10px;color:#f56c6c;"></i>
<i class="el-icon-circle-plus" @click="changeSubjectCount(1)" style="margin-left:10px;color:#67C23A;"></i>
</li>
</ul>
<div slot="footer">
<el-button @click="randomCancel">取消</el-button>
<el-button type="primary" @click="randomSubmit">确定</el-button>
</div>
|
4ee13894
周超
给大志哥
|
143
144
|
</el-dialog>
|
cac28d75
周超
问卷 用户 维度
|
145
|
</div>
|
b89c8760
wangming
项目初始化
|
146
|
</template>
|
e1644c39
yangzhi
王哥起来屙尿了
|
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
|
<style lang="scss" scoped>
.random-list {
display: flex;
flex-direction: column;
li {
margin-bottom: 20px;
display: flex;
align-items: center;
[class^="el-icon"] {
font-size: 24px;
cursor: pointer;
}
}
}
</style>
|
b89c8760
wangming
项目初始化
|
162
|
<script>
|
e1644c39
yangzhi
王哥起来屙尿了
|
163
|
import draggable from "vuedraggable";
|
78156aa6
yangzhi
级联菜单
|
164
|
import { PostRandomGetQuestion, getQuestionList,getQuestionClassList } from "@/api/QuestionBank";
|
e1644c39
yangzhi
王哥起来屙尿了
|
165
166
167
168
169
170
171
172
173
174
175
176
177
178
|
import { GetQuestionClassByType } from "@/api/QuestionClass";
import { EditTestPaper, GetToplevel } from "@/api/TestPaper";
import { formatTime } from "@/utils/util";
export default {
//注册draggable组件
components: {
draggable,
},
data() {
return {
randomSubjectList: [
{
QuestionClassId: "",
Count: "",
|
cac28d75
周超
问卷 用户 维度
|
179
|
},
|
e1644c39
yangzhi
王哥起来屙尿了
|
180
181
182
|
{
QuestionClassId: "",
Count: "",
|
cac28d75
周超
问卷 用户 维度
|
183
|
},
|
e1644c39
yangzhi
王哥起来屙尿了
|
184
185
186
187
|
],
randomQuestionTypeList: [],
dynamicValidateForm: {
domains: [
|
172a152f
yangzhi
组卷左侧题目的分类
|
188
|
{
|
e1644c39
yangzhi
王哥起来屙尿了
|
189
|
value: "",
|
172a152f
yangzhi
组卷左侧题目的分类
|
190
191
|
},
],
|
e1644c39
yangzhi
王哥起来屙尿了
|
192
|
email: "",
|
172a152f
yangzhi
组卷左侧题目的分类
|
193
|
},
|
e1644c39
yangzhi
王哥起来屙尿了
|
194
195
196
197
198
199
200
201
202
203
204
|
dialogTableVisible: false,
loadingType: false,
activeTab: "6",
parameter: {
pageIndex: 0,
pageSize: 20,
sort: "id",
sortOrder: 1,
keyWord: "",
QuestionClassId: 6,
status: 1,
|
f2be913b
yangzhi
王哥yyds
|
205
|
},
|
e1644c39
yangzhi
王哥起来屙尿了
|
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
|
contentHeight: 0,
count: 0,
edit: false,
arr1: [],
arr2: [],
classarr: [],
moveId: -1,
TestPaper: {
TestPaperTitle: "未命名试卷标题",
TestPaperClassId: 0,
TotalScore: 0,
Describe: "",
SingleNumber: 0,
MultipleNumber: 0,
SubjectiveNumber: 0,
OriginalPrice: "0",
PresentPrice: "0",
MembershipPrice: "0",
QuestionBankIds: [],
|
cac28d75
周超
问卷 用户 维度
|
225
|
},
|
e1644c39
yangzhi
王哥起来屙尿了
|
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
|
loading: false,
rules: {
OriginalPrice: [
{
required: true,
message: "不能为空",
},
],
PresentPrice: [
{
required: true,
message: "不能为空",
},
],
MembershipPrice: [
{
required: true,
message: "不能为空",
},
],
|
cac28d75
周超
问卷 用户 维度
|
246
|
},
|
e1644c39
yangzhi
王哥起来屙尿了
|
247
248
249
250
251
252
253
254
255
256
257
258
259
260
|
QuestionClass: [],
treeData: [
{
value: 0,
label: "全部",
},
],
timeout: 0,
};
},
watch: {
activeTab() {
console.log("activeTab watch");
this.search();
|
172a152f
yangzhi
组卷左侧题目的分类
|
261
|
},
|
e1644c39
yangzhi
王哥起来屙尿了
|
262
263
264
265
266
267
|
"parameter.keyWord": {
handler() {
clearTimeout(this.timeout);
this.timeout = setTimeout(() => {
this.search();
}, 200);
|
4ee13894
周超
给大志哥
|
268
|
},
|
e1644c39
yangzhi
王哥起来屙尿了
|
269
270
271
272
273
274
275
276
277
278
279
|
},
},
computed: {
noMore() {
return this.arr1.length >= this.count;
},
disabled() {
return this.loading || this.noMore;
},
},
created() {
|
78156aa6
yangzhi
级联菜单
|
280
281
|
this.getQuestionClassListHeadler();
this.getQuestionClassListHeadler2();
|
e1644c39
yangzhi
王哥起来屙尿了
|
282
283
284
285
|
},
mounted() {
//计算页面内容区域的高度
this.contentHeight = window.innerHeight - 90;
|
e1644c39
yangzhi
王哥起来屙尿了
|
286
287
288
|
//this.GetList();
},
methods: {
|
78156aa6
yangzhi
级联菜单
|
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
|
getSubTree(id, list) {
let result = [];
result = list.filter((t) => t.ParentId == id);
if (result.length) {
result = result.map((item) => {
item.value = item.id;
item.label = item.ClassificationName;
item.children = this.getSubTree(item.id, list);
if(!item.children || !item.children.length){
delete item.children;
}
return item;
});
}
return result;
},
getQuestionClassListHeadler2() {
let _this = this;
getQuestionClassList().then((res) => {
let alllist = res.data.data;
let list = alllist.filter(t=>!t.ParentId);
list = list.map((t) => {
t.value = t.id;
t.label = t.ClassificationName;
t.children = this.getSubTree(t.id,alllist);
if(!t.children || !t.children.length){
delete t.children;
}
return t;
});
this.randomQuestionTypeList = list;
});
},
|
e1644c39
yangzhi
王哥起来屙尿了
|
322
323
324
325
326
|
randomCancel() {
this.dialogTableVisible = false;
},
randomSubmit() {
let list = this.randomSubjectList;
|
78156aa6
yangzhi
级联菜单
|
327
|
if (list.findIndex((t) => !t.QuestionClassId || !t.QuestionClassId.length || !t.Count) > -1) {
|
e1644c39
yangzhi
王哥起来屙尿了
|
328
329
330
|
this.$message.warning("参数不完整");
return;
}
|
78156aa6
yangzhi
级联菜单
|
331
332
333
334
|
list = list.map(t=>{
t.QuestionClassId = t.QuestionClassId.pop();
return t;
});
|
e1644c39
yangzhi
王哥起来屙尿了
|
335
336
337
338
|
PostRandomGetQuestion(list).then((res) => {
let list = res.data.data;
this.arr2 = list;
this.dialogTableVisible = false;
|
78156aa6
yangzhi
级联菜单
|
339
340
341
|
if(!list.length){
this.$message.warning('所选分类没有试题');
}
|
e1644c39
yangzhi
王哥起来屙尿了
|
342
343
344
345
346
347
348
|
});
},
changeSubjectCount(type, index) {
if (type > 0) {
this.randomSubjectList.push({
QuestionClassId: "",
Count: "",
|
4ee13894
周超
给大志哥
|
349
|
});
|
e1644c39
yangzhi
王哥起来屙尿了
|
350
351
352
353
354
355
356
357
358
359
360
|
} else {
this.randomSubjectList.splice(index, 1);
}
},
randomSubject() {
this.dialogTableVisible = true;
},
submitForm(formName) {
this.$refs[formName].validate((valid) => {
if (valid) {
alert("submit!");
|
cac28d75
周超
问卷 用户 维度
|
361
|
} else {
|
e1644c39
yangzhi
王哥起来屙尿了
|
362
363
|
console.log("error submit!!");
return false;
|
cac28d75
周超
问卷 用户 维度
|
364
|
}
|
e1644c39
yangzhi
王哥起来屙尿了
|
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
|
});
},
resetForm(formName) {
this.$refs[formName].resetFields();
},
removeDomain(item) {
var index = this.dynamicValidateForm.domains.indexOf(item);
if (index !== -1) {
this.dynamicValidateForm.domains.splice(index, 1);
}
},
addDomain() {
this.dynamicValidateForm.domains.push({
value: "",
key: Date.now(),
});
},
changetimestartend(val, aa) {
this.TestPaper.EffectiveStartTime = formatTime(val[0]);
this.TestPaper.EffectiveEndTime = formatTime(val[1]);
},
search() {
this.parameter.pageIndex = 1;
this.parameter.QuestionClassId = Number(this.activeTab);
this.GetList();
},
SubmitTestPaper() {
this.TestPaper.QuestionBankIds = this.arr2.map((u) => u.id);
var d = this.TestPaper;
if (this.arr2.length > 0) {
EditTestPaper(this.TestPaper).then((res) => {
if (res.data.code == 200) {
this.$confirm("组卷成功!", "消息");
} else {
this.$confirm("组卷失败!", "消息");
}
});
} else {
this.$confirm("试题没有题目!", "消息");
}
},
load() {
this.loading = true;
this.parameter.pageIndex++;
this.GetList();
this.loading = false;
},
GetList() {
if (this.parameter.QuestionClassId == "1") {
if (!this.loadingType)
GetQuestionClassByType({ ClassType: 2 }).then((res) => {
|
e011bf15
周超
我先走一步
|
416
|
var classarr = res.data.data || [];
|
e1644c39
yangzhi
王哥起来屙尿了
|
417
|
this.arr1 = classarr.map((rs) => {
|
e011bf15
周超
我先走一步
|
418
|
rs.subject = rs.subjectName = rs.ClassificationName;
|
e1644c39
yangzhi
王哥起来屙尿了
|
419
|
rs.type = "wd";
|
e011bf15
周超
我先走一步
|
420
421
422
423
|
rs.subjectContent = "[]";
return rs;
});
this.loadingType = true;
|
cac28d75
周超
问卷 用户 维度
|
424
|
});
|
e1644c39
yangzhi
王哥起来屙尿了
|
425
426
427
428
429
430
431
|
} else {
getQuestionList(this.parameter).then((res) => {
if (this.parameter.pageIndex == 1) {
this.arr1 = [];
}
res.data.data.rows.forEach((item, i) => {
this.arr1.push(item);
|
e011bf15
周超
我先走一步
|
432
|
});
|
e1644c39
yangzhi
王哥起来屙尿了
|
433
434
|
this.count = res.data.data.total;
this.$forceUpdate();
|
cac28d75
周超
问卷 用户 维度
|
435
|
});
|
e1644c39
yangzhi
王哥起来屙尿了
|
436
437
438
439
440
441
442
|
}
},
end1(e) {
var that = this;
if (that.arr1.length < 10) {
this.load();
}
|
b89c8760
wangming
项目初始化
|
443
|
|
e1644c39
yangzhi
王哥起来屙尿了
|
444
445
446
|
var items = this.arr2.filter(function (m) {
return m.id == that.moveId;
});
|
b89c8760
wangming
项目初始化
|
447
|
|
e1644c39
yangzhi
王哥起来屙尿了
|
448
449
450
|
//如果左边
if (items.length < 2) return;
this.arr2.splice(e.newDraggableIndex, 1);
|
e011bf15
周超
我先走一步
|
451
|
|
e1644c39
yangzhi
王哥起来屙尿了
|
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
|
// SingleNumber:0,
// MultipleNumber:0,
// SubjectiveNumber:0,
},
//从右边移除到左边
RemoveHere(e) {
if (e.item._underlying_vm_.subjectType == 1) {
this.TestPaper.SingleNumber -= 1;
}
if (e.item._underlying_vm_.subjectType == 2) {
this.TestPaper.MultipleNumber -= 1;
}
if (e.item._underlying_vm_.subjectType == 3) {
this.TestPaper.SubjectiveNumber -= 1;
}
this.TestPaper.TotalScore -= e.item._underlying_vm_.fraction;
this.TestPaper.QuestionBankIds = this.arr2.map((u) => u.id);
},
//从左边添加到右边
ComeHere(e) {
var d = e.item._underlying_vm_;
if (e.item._underlying_vm_.subjectType == 1) {
this.TestPaper.SingleNumber += 1;
}
if (e.item._underlying_vm_.subjectType == 2) {
this.TestPaper.MultipleNumber += 1;
}
if (e.item._underlying_vm_.subjectType == 3) {
this.TestPaper.SubjectiveNumber += 1;
}
this.TestPaper.TotalScore += e.item._underlying_vm_.fraction;
this.TestPaper.QuestionBankIds = this.arr2.map((u) => u.id);
if (d.type == "wd") {
getQuestionList({
QuestionClassId: d.id,
PageIndex: 1,
PageSize: 1000,
}).then((res) => {
var data = res.data.data.rows || [];
this.arr2 = this.arr2.filter((o) => o.type != "wd");
// this.arr1.splice(this.arr1.findIndex(o=>o.id == d.id),1)
this.classarr.push(d.id);
// var test = this.arr2;
this.arr2.push(...data);
data.forEach((rs) => {
if (rs.subjectType == 1) {
this.TestPaper.SingleNumber += 1;
}
if (rs.subjectType == 2) {
this.TestPaper.MultipleNumber += 1;
}
if (rs.subjectType == 3) {
this.TestPaper.SubjectiveNumber += 1;
}
|
e011bf15
周超
我先走一步
|
508
|
});
|
cac28d75
周超
问卷 用户 维度
|
509
|
});
|
e1644c39
yangzhi
王哥起来屙尿了
|
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
|
}
},
//右边往左边拖动时的事件
end2(e) {
var that = this;
var items = this.arr1.filter(function (m) {
return m.id == that.moveId;
});
//如果左边
if (items.length < 2) return;
this.arr1.splice(e.newDraggableIndex, 1);
},
//move回调方法
onMove(e, originalEvent) {
//this.moveId = e.relatedContext.element.id;
return true;
},
getQuestionClassListHeadler() {
let _this = this;
GetToplevel().then((res) => {
var gettree = function (titem) {
titem.children = [];
let childrenList = res.data.data.filter(
(u) => u.ParentId == titem.value
);
if (childrenList.length == 0) titem.children = undefined;
|
172a152f
yangzhi
组卷左侧题目的分类
|
536
|
res.data.data
|
e1644c39
yangzhi
王哥起来屙尿了
|
537
|
.filter((u) => u.ParentId == titem.value)
|
172a152f
yangzhi
组卷左侧题目的分类
|
538
539
540
541
542
543
|
.forEach((item, i) => {
var model = {
value: item.id,
label: item.ClassTitle,
};
gettree(model);
|
e1644c39
yangzhi
王哥起来屙尿了
|
544
|
titem.children.push(model);
|
172a152f
yangzhi
组卷左侧题目的分类
|
545
|
});
|
e1644c39
yangzhi
王哥起来屙尿了
|
546
547
548
549
550
551
552
553
554
555
556
557
558
|
};
res.data.data
.filter((u) => u.ParentId == 0)
.forEach((item, i) => {
var model = {
value: item.id,
label: item.ClassTitle,
};
gettree(model);
_this.QuestionClass.push(model);
_this.treeData.push(model);
});
});
|
172a152f
yangzhi
组卷左侧题目的分类
|
559
|
},
|
e1644c39
yangzhi
王哥起来屙尿了
|
560
561
|
},
};
|
b89c8760
wangming
项目初始化
|
562
563
564
|
</script>
<style lang="scss" scoped>
|
e1644c39
yangzhi
王哥起来屙尿了
|
565
566
567
568
|
.el-row {
/* margin-bottom: 20px; */
&:last-child {
margin-bottom: 0;
|
cac28d75
周超
问卷 用户 维度
|
569
|
}
|
e1644c39
yangzhi
王哥起来屙尿了
|
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
|
}
.el-col {
border-radius: 4px;
}
.bg-purple-dark {
background: #99a9bf;
}
.bg-purple {
background: #efefef;
}
.bg-purple-light {
background: #e5e9f2;
}
.grid-content {
border-radius: 4px;
min-height: 36px;
height: 100%;
}
.row-bg {
padding: 10px 0;
background-color: #f9fafc;
}
.infinite-list {
list-style: none;
margin: 0px;
padding: 0px;
&::-webkit-scrollbar {
width: 6px;
|
172a152f
yangzhi
组卷左侧题目的分类
|
606
|
}
|
cac28d75
周超
问卷 用户 维度
|
607
|
|
e1644c39
yangzhi
王哥起来屙尿了
|
608
609
610
611
|
//滚动条小方块
&::-webkit-scrollbar-thumb {
border-radius: 10px;
background: #304156;
|
172a152f
yangzhi
组卷左侧题目的分类
|
612
|
}
|
cac28d75
周超
问卷 用户 维度
|
613
|
|
e1644c39
yangzhi
王哥起来屙尿了
|
614
615
616
617
618
|
//滚动条轨道
&::-webkit-scrollbar-track {
// border-radius: 10px;
height: 100px;
background: #cdcdcd;
|
cac28d75
周超
问卷 用户 维度
|
619
620
|
}
|
e1644c39
yangzhi
王哥起来屙尿了
|
621
622
623
624
625
626
627
628
629
630
631
632
|
.infinite-list-item {
padding: 10px;
min-height: 60px;
width: 95%;
margin: auto;
background-color: #fff;
margin-bottom: 10px;
border-radius: 5px;
box-shadow: 0 0 5px #cdcdcd;
&:first-child {
margin-top: 10px;
|
cac28d75
周超
问卷 用户 维度
|
633
|
}
|
cac28d75
周超
问卷 用户 维度
|
634
|
}
|
e1644c39
yangzhi
王哥起来屙尿了
|
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
|
}
.option-p {
line-height: 15px;
}
.areahead {
text-align: center;
height: 60px;
line-height: 60px;
border-bottom: 1px solid #cdcdcd;
}
.testPaper-manager {
margin: 10px 20px 10px 10px;
}
.testPaper-manager .el-form-item {
margin-bottom: 20px;
}
.el-form-item-custom {
margin-bottom: 0px !important;
}
.testpaper-input {
//max-width: 400px;
}
|
cac28d75
周超
问卷 用户 维度
|
663
|
</style>
|