yks-element 1.0.321 → 1.0.324
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 +1 -1
- package/packages/Tinymce/src/index.vue +0 -4
- package/packages/Topic/src/attachment.vue +3 -5
- package/packages/Topic/src/audioFrequency.vue +3 -6
- package/packages/Topic/src/clozeFillInBlanks.vue +3 -6
- package/packages/Topic/src/compound.vue +5 -3
- package/packages/Topic/src/fillInBlanks.vue +3 -6
- package/packages/Topic/src/judgment.vue +2 -4
- package/packages/Topic/src/multiple.vue +3 -6
- package/packages/Topic/src/pictureAnswer.vue +3 -6
- package/packages/Topic/src/shortAnswer.vue +3 -6
- package/packages/Topic/src/single.vue +3 -6
- package/packages/index.js +1 -1
package/package.json
CHANGED
|
@@ -3,11 +3,10 @@
|
|
|
3
3
|
<div class="single-stem__label required__label">题干</div>
|
|
4
4
|
<yks-tinymce
|
|
5
5
|
key="itemContent"
|
|
6
|
-
|
|
6
|
+
v-model="fromData.itemContent"
|
|
7
7
|
:toolbar="toolbar"
|
|
8
8
|
:plugins="plugins"
|
|
9
9
|
:charLimit="topicDataExtent.itemContentLength || 20000"
|
|
10
|
-
|
|
11
10
|
:fileParams="getFileTypes('stem', fromData.stemAttrs)"
|
|
12
11
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
13
12
|
:uploadFileFunction="uploadFileFunction"
|
|
@@ -19,11 +18,10 @@
|
|
|
19
18
|
<div class="single-stem__label required__label">标准答案</div>
|
|
20
19
|
<yks-tinymce
|
|
21
20
|
key="answer"
|
|
22
|
-
|
|
21
|
+
v-model="fromData.answer"
|
|
23
22
|
:toolbar="toolbar"
|
|
24
23
|
:plugins="plugins"
|
|
25
24
|
:charLimit="topicDataExtent.answerLength || 5000"
|
|
26
|
-
|
|
27
25
|
:fileParams="getFileTypes('answer', fromData.answerAttrs)"
|
|
28
26
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
29
27
|
:uploadFileFunction="uploadFileFunction"
|
|
@@ -35,7 +33,7 @@
|
|
|
35
33
|
<div class="single-stem__label">答案解析</div>
|
|
36
34
|
<yks-tinymce
|
|
37
35
|
key="description"
|
|
38
|
-
|
|
36
|
+
v-model="fromData.description"
|
|
39
37
|
:toolbar="toolbar"
|
|
40
38
|
:plugins="plugins"
|
|
41
39
|
:charLimit="topicDataExtent.descriptionLength || 20000"
|
|
@@ -3,11 +3,10 @@
|
|
|
3
3
|
<div class="single-stem__label required__label">题干</div>
|
|
4
4
|
<yks-tinymce
|
|
5
5
|
key="itemContent"
|
|
6
|
-
|
|
6
|
+
v-model="fromData.itemContent"
|
|
7
7
|
:toolbar="toolbar"
|
|
8
8
|
:plugins="plugins"
|
|
9
9
|
:charLimit="topicDataExtent.itemContentLength || 20000"
|
|
10
|
-
|
|
11
10
|
:fileParams="getFileTypes('stem', fromData.stemAttrs)"
|
|
12
11
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
13
12
|
:uploadFileFunction="uploadFileFunction"
|
|
@@ -19,11 +18,10 @@
|
|
|
19
18
|
<div class="single-stem__label required__label">标准答案</div>
|
|
20
19
|
<yks-tinymce
|
|
21
20
|
key="answer"
|
|
22
|
-
|
|
21
|
+
v-model="fromData.answer"
|
|
23
22
|
:toolbar="toolbar"
|
|
24
23
|
:plugins="plugins"
|
|
25
24
|
:charLimit="topicDataExtent.answerLength || 5000"
|
|
26
|
-
|
|
27
25
|
:fileParams="getFileTypes('answer', fromData.answerAttrs)"
|
|
28
26
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
29
27
|
:uploadFileFunction="uploadFileFunction"
|
|
@@ -35,11 +33,10 @@
|
|
|
35
33
|
<div class="single-stem__label">答案解析</div>
|
|
36
34
|
<yks-tinymce
|
|
37
35
|
key="description"
|
|
38
|
-
|
|
36
|
+
v-model="fromData.description"
|
|
39
37
|
:toolbar="toolbar"
|
|
40
38
|
:plugins="plugins"
|
|
41
39
|
:charLimit="topicDataExtent.descriptionLength || 20000"
|
|
42
|
-
|
|
43
40
|
:fileParams="getFileTypes('analysis', fromData.descriptionAttrs)"
|
|
44
41
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
45
42
|
:uploadFileFunction="uploadFileFunction"
|
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
<yks-tinymce
|
|
5
5
|
ref="stemTinymceEdit"
|
|
6
6
|
key="itemContent"
|
|
7
|
-
|
|
7
|
+
v-model="fromData.itemContent"
|
|
8
8
|
:toolbar="toolbar"
|
|
9
9
|
:plugins="plugins"
|
|
10
10
|
:charLimit="topicDataExtent.itemContentLength || 20000"
|
|
11
|
-
|
|
12
11
|
:fileParams="getFileTypes('stem', fromData.stemAttrs)"
|
|
13
12
|
menubar=""
|
|
14
13
|
height="200px"
|
|
@@ -34,11 +33,10 @@
|
|
|
34
33
|
<span class="yks-w_60 yks-mr10">填空{{ index + 1 }}</span>
|
|
35
34
|
<yks-tinymce
|
|
36
35
|
key="content"
|
|
37
|
-
|
|
36
|
+
v-model="item.content"
|
|
38
37
|
:toolbar="toolbarSpare"
|
|
39
38
|
:plugins="plugins"
|
|
40
39
|
:charLimit="topicDataExtent.answerLength || 5000"
|
|
41
|
-
|
|
42
40
|
:fileParams="getFileTypes('option', item.optionAttrs)"
|
|
43
41
|
inline
|
|
44
42
|
height="60px"
|
|
@@ -91,11 +89,10 @@
|
|
|
91
89
|
<div class="single-stem__label">答案解析</div>
|
|
92
90
|
<yks-tinymce
|
|
93
91
|
key="description"
|
|
94
|
-
|
|
92
|
+
v-model="fromData.description"
|
|
95
93
|
:toolbar="toolbar"
|
|
96
94
|
:plugins="plugins"
|
|
97
95
|
:charLimit="topicDataExtent.descriptionLength || 20000"
|
|
98
|
-
|
|
99
96
|
:fileParams="getFileTypes('analysis', fromData.descriptionAttrs)"
|
|
100
97
|
menubar=""
|
|
101
98
|
height="200px"
|
|
@@ -3,11 +3,10 @@
|
|
|
3
3
|
<div class="single-stem__label required__label">题干</div>
|
|
4
4
|
<yks-tinymce
|
|
5
5
|
key="itemContent"
|
|
6
|
-
|
|
6
|
+
v-model="fromData.itemContent"
|
|
7
7
|
:toolbar="toolbar"
|
|
8
8
|
:plugins="plugins"
|
|
9
9
|
:charLimit="topicDataExtent.itemContentLength || 20000"
|
|
10
|
-
|
|
11
10
|
:fileParams="getFileTypes('stem', fromData.stemAttrs)"
|
|
12
11
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
13
12
|
:uploadFileFunction="uploadFileFunction"
|
|
@@ -80,7 +79,10 @@
|
|
|
80
79
|
import YksTinymce from '../../Tinymce/index'
|
|
81
80
|
import TopicMixins from '../../assets/mixins/topic'
|
|
82
81
|
import { analysisItemType, stemItemType, itemDataLists } from './config'
|
|
83
|
-
import
|
|
82
|
+
import Single from './single'
|
|
83
|
+
import Multiple from './multiple'
|
|
84
|
+
import Judgment from './judgment'
|
|
85
|
+
import ShortAnswer from './shortAnswer'
|
|
84
86
|
|
|
85
87
|
export default {
|
|
86
88
|
name: 'YksCompound',
|
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
<yks-tinymce
|
|
5
5
|
ref="stemTinymceEdit"
|
|
6
6
|
key="itemContent"
|
|
7
|
-
|
|
7
|
+
v-model="fromData.itemContent"
|
|
8
8
|
:toolbar="toolbar"
|
|
9
9
|
:plugins="plugins"
|
|
10
10
|
:charLimit="topicDataExtent.itemContentLength || 20000"
|
|
11
|
-
|
|
12
11
|
:fileParams="getFileTypes('stem', fromData.stemAttrs)"
|
|
13
12
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
14
13
|
:uploadFileFunction="uploadFileFunction"
|
|
@@ -36,11 +35,10 @@
|
|
|
36
35
|
<span class="yks-w_60 yks-mr10">填空{{ index + 1 }}</span>
|
|
37
36
|
<yks-tinymce
|
|
38
37
|
key="content"
|
|
39
|
-
|
|
38
|
+
v-model="item.content"
|
|
40
39
|
:toolbar="toolbarSpare"
|
|
41
40
|
:plugins="plugins"
|
|
42
41
|
:charLimit="topicDataExtent.answerLength || 5000"
|
|
43
|
-
|
|
44
42
|
:fileParams="getFileTypes('option', item.optionAttrs)"
|
|
45
43
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
46
44
|
:uploadFileFunction="uploadFileFunction"
|
|
@@ -95,11 +93,10 @@
|
|
|
95
93
|
<div class="single-stem__label">答案解析</div>
|
|
96
94
|
<yks-tinymce
|
|
97
95
|
key="description"
|
|
98
|
-
|
|
96
|
+
v-model="fromData.description"
|
|
99
97
|
:toolbar="toolbar"
|
|
100
98
|
:plugins="plugins"
|
|
101
99
|
:charLimit="topicDataExtent.descriptionLength || 20000"
|
|
102
|
-
|
|
103
100
|
:fileParams="getFileTypes('analysis', fromData.descriptionAttrs)"
|
|
104
101
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
105
102
|
:uploadFileFunction="uploadFileFunction"
|
|
@@ -3,11 +3,10 @@
|
|
|
3
3
|
<div class="single-stem__label required__label">题干</div>
|
|
4
4
|
<yks-tinymce
|
|
5
5
|
key="itemContent"
|
|
6
|
-
|
|
6
|
+
v-model="fromData.itemContent"
|
|
7
7
|
:toolbar="toolbar"
|
|
8
8
|
:plugins="plugins"
|
|
9
9
|
:charLimit="topicDataExtent.itemContentLength || 20000"
|
|
10
|
-
|
|
11
10
|
:fileParams="getFileTypes('stem', fromData.stemAttrs)"
|
|
12
11
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
13
12
|
:uploadFileFunction="uploadFileFunction"
|
|
@@ -28,11 +27,10 @@
|
|
|
28
27
|
<div class="single-stem__label">答案解析</div>
|
|
29
28
|
<yks-tinymce
|
|
30
29
|
key="description"
|
|
31
|
-
|
|
30
|
+
v-model="fromData.description"
|
|
32
31
|
:toolbar="toolbar"
|
|
33
32
|
:plugins="plugins"
|
|
34
33
|
:charLimit="topicDataExtent.descriptionLength || 20000"
|
|
35
|
-
|
|
36
34
|
:fileParams="getFileTypes('analysis', fromData.descriptionAttrs)"
|
|
37
35
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
38
36
|
:uploadFileFunction="uploadFileFunction"
|
|
@@ -3,11 +3,10 @@
|
|
|
3
3
|
<div class="single-stem__label required__label">题干</div>
|
|
4
4
|
<yks-tinymce
|
|
5
5
|
key="itemContent"
|
|
6
|
-
|
|
6
|
+
v-model="fromData.itemContent"
|
|
7
7
|
:toolbar="toolbar"
|
|
8
8
|
:plugins="plugins"
|
|
9
9
|
:charLimit="topicDataExtent.itemContentLength || 20000"
|
|
10
|
-
|
|
11
10
|
:fileParams="getFileTypes('stem', fromData.stemAttrs)"
|
|
12
11
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
13
12
|
:uploadFileFunction="uploadFileFunction"
|
|
@@ -30,11 +29,10 @@
|
|
|
30
29
|
<el-checkbox :label="item.optionName" class="yks-w_60 yks-mr10"></el-checkbox>
|
|
31
30
|
<yks-tinymce
|
|
32
31
|
:key="`itemList${index}`"
|
|
33
|
-
|
|
32
|
+
v-model="item.content"
|
|
34
33
|
:toolbar="toolbar"
|
|
35
34
|
:plugins="plugins"
|
|
36
35
|
:charLimit="topicDataExtent.answerLength || 5000"
|
|
37
|
-
|
|
38
36
|
:fileParams="getFileTypes('option', item.optionAttrs)"
|
|
39
37
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
40
38
|
:uploadFileFunction="uploadFileFunction"
|
|
@@ -60,11 +58,10 @@
|
|
|
60
58
|
<div class="single-stem__label">答案解析</div>
|
|
61
59
|
<yks-tinymce
|
|
62
60
|
key="description"
|
|
63
|
-
|
|
61
|
+
v-model="fromData.description"
|
|
64
62
|
:toolbar="toolbar"
|
|
65
63
|
:plugins="plugins"
|
|
66
64
|
:charLimit="topicDataExtent.descriptionLength || 20000"
|
|
67
|
-
|
|
68
65
|
:fileParams="getFileTypes('analysis', fromData.descriptionAttrs)"
|
|
69
66
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
70
67
|
:uploadFileFunction="uploadFileFunction"
|
|
@@ -3,11 +3,10 @@
|
|
|
3
3
|
<div class="single-stem__label required__label">题干</div>
|
|
4
4
|
<yks-tinymce
|
|
5
5
|
key="itemContent"
|
|
6
|
-
|
|
6
|
+
v-model="fromData.itemContent"
|
|
7
7
|
:toolbar="toolbar"
|
|
8
8
|
:plugins="plugins"
|
|
9
9
|
:charLimit="topicDataExtent.itemContentLength || 20000"
|
|
10
|
-
|
|
11
10
|
:fileParams="getFileTypes('stem', fromData.stemAttrs)"
|
|
12
11
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
13
12
|
:uploadFileFunction="uploadFileFunction"
|
|
@@ -19,11 +18,10 @@
|
|
|
19
18
|
<div class="single-stem__label required__label">标准答案</div>
|
|
20
19
|
<yks-tinymce
|
|
21
20
|
key="answer"
|
|
22
|
-
|
|
21
|
+
v-model="fromData.answer"
|
|
23
22
|
:toolbar="toolbar"
|
|
24
23
|
:plugins="plugins"
|
|
25
24
|
:charLimit="topicDataExtent.answerLength || 5000"
|
|
26
|
-
|
|
27
25
|
:fileParams="getFileTypes('answer', fromData.answerAttrs)"
|
|
28
26
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
29
27
|
:uploadFileFunction="uploadFileFunction"
|
|
@@ -35,11 +33,10 @@
|
|
|
35
33
|
<div class="single-stem__label">答案解析</div>
|
|
36
34
|
<yks-tinymce
|
|
37
35
|
key="description"
|
|
38
|
-
|
|
36
|
+
v-model="fromData.description"
|
|
39
37
|
:toolbar="toolbar"
|
|
40
38
|
:plugins="plugins"
|
|
41
39
|
:charLimit="topicDataExtent.descriptionLength || 20000"
|
|
42
|
-
|
|
43
40
|
:fileParams="getFileTypes('analysis', fromData.descriptionAttrs)"
|
|
44
41
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
45
42
|
:uploadFileFunction="uploadFileFunction"
|
|
@@ -3,11 +3,10 @@
|
|
|
3
3
|
<div class="single-stem__label required__label">题干</div>
|
|
4
4
|
<yks-tinymce
|
|
5
5
|
key="itemContent"
|
|
6
|
-
|
|
6
|
+
v-model="fromData.itemContent"
|
|
7
7
|
:toolbar="toolbar"
|
|
8
8
|
:plugins="plugins"
|
|
9
9
|
:charLimit="topicDataExtent.itemContentLength || 20000"
|
|
10
|
-
|
|
11
10
|
:fileParams="getFileTypes('stem', fromData.stemAttrs)"
|
|
12
11
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
13
12
|
:uploadFileFunction="uploadFileFunction"
|
|
@@ -19,11 +18,10 @@
|
|
|
19
18
|
<div class="single-stem__label required__label">标准答案</div>
|
|
20
19
|
<yks-tinymce
|
|
21
20
|
key="answer"
|
|
22
|
-
|
|
21
|
+
v-model="fromData.answer"
|
|
23
22
|
:toolbar="toolbar"
|
|
24
23
|
:plugins="plugins"
|
|
25
24
|
:charLimit="topicDataExtent.answerLength || 5000"
|
|
26
|
-
|
|
27
25
|
:fileParams="getFileTypes('answer', fromData.answerAttrs)"
|
|
28
26
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
29
27
|
:uploadFileFunction="uploadFileFunction"
|
|
@@ -45,11 +43,10 @@
|
|
|
45
43
|
<div class="single-stem__label">答案解析</div>
|
|
46
44
|
<yks-tinymce
|
|
47
45
|
key="description"
|
|
48
|
-
|
|
46
|
+
v-model="fromData.description"
|
|
49
47
|
:toolbar="toolbar"
|
|
50
48
|
:plugins="plugins"
|
|
51
49
|
:charLimit="topicDataExtent.descriptionLength || 20000"
|
|
52
|
-
|
|
53
50
|
:fileParams="getFileTypes('analysis', fromData.descriptionAttrs)"
|
|
54
51
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
55
52
|
:uploadFileFunction="uploadFileFunction"
|
|
@@ -3,11 +3,10 @@
|
|
|
3
3
|
<div class="single-stem__label required__label">题干</div>
|
|
4
4
|
<yks-tinymce
|
|
5
5
|
key="itemContent"
|
|
6
|
-
|
|
6
|
+
v-model="fromData.itemContent"
|
|
7
7
|
:toolbar="toolbar"
|
|
8
8
|
:plugins="plugins"
|
|
9
9
|
:charLimit="topicDataExtent.itemContentLength || 20000"
|
|
10
|
-
|
|
11
10
|
:fileParams="getFileTypes('stem', fromData.stemAttrs)"
|
|
12
11
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
13
12
|
:uploadFileFunction="uploadFileFunction"
|
|
@@ -30,11 +29,10 @@
|
|
|
30
29
|
<el-radio :label="item.optionName" class="yks-w_60 yks-mr10"></el-radio>
|
|
31
30
|
<yks-tinymce
|
|
32
31
|
:key="`itemList${index}`"
|
|
33
|
-
|
|
32
|
+
v-model="item.content"
|
|
34
33
|
:toolbar="toolbar"
|
|
35
34
|
:plugins="plugins"
|
|
36
35
|
:charLimit="topicDataExtent.answerLength || 5000"
|
|
37
|
-
|
|
38
36
|
:fileParams="getFileTypes('option', item.optionAttrs)"
|
|
39
37
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
40
38
|
:uploadFileFunction="uploadFileFunction"
|
|
@@ -60,11 +58,10 @@
|
|
|
60
58
|
<div class="single-stem__label">答案解析</div>
|
|
61
59
|
<yks-tinymce
|
|
62
60
|
key="description"
|
|
63
|
-
|
|
61
|
+
v-model="fromData.description"
|
|
64
62
|
:toolbar="toolbar"
|
|
65
63
|
:plugins="plugins"
|
|
66
64
|
:charLimit="topicDataExtent.descriptionLength || 20000"
|
|
67
|
-
|
|
68
65
|
:fileParams="getFileTypes('analysis', fromData.descriptionAttrs)"
|
|
69
66
|
:uploadFileToHwCloud="uploadFileToHwCloud"
|
|
70
67
|
:uploadFileFunction="uploadFileFunction"
|