zydx-plus 1.33.367 → 1.33.369
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
CHANGED
|
@@ -1,20 +1,45 @@
|
|
|
1
1
|
let buttonNames = {
|
|
2
2
|
methods: {
|
|
3
3
|
initConfig (item) {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
if (this.headerType === 0) { // 互动资源 教师
|
|
5
|
+
return this.interactResourceButtonList(item);
|
|
6
|
+
} else if (this.headerType === 1) { // 动作
|
|
7
|
+
return this.actionButtonList(item);
|
|
8
|
+
} else if (this.headerType === 2) { // 学生 未定
|
|
9
|
+
return this.studentActionButtonList(item);
|
|
10
|
+
} else if (this.headerType === 3) {
|
|
11
|
+
return {};
|
|
12
|
+
} else if (this.headerType === 4) { // 阅读资源 教师
|
|
13
|
+
return this.readResourceButtonList(item);
|
|
14
|
+
}
|
|
15
15
|
},
|
|
16
16
|
actionButtonList (item) {
|
|
17
17
|
let actionInfo = {
|
|
18
|
+
action_scene:{
|
|
19
|
+
actionName: '情景学习',
|
|
20
|
+
buttonList: {
|
|
21
|
+
0: {
|
|
22
|
+
headLevel: {
|
|
23
|
+
default: "demand",
|
|
24
|
+
demand: '学习要求',
|
|
25
|
+
singletonClass: this.getCurrentPrefix(item) + '学习',
|
|
26
|
+
allClass: this.getPrefix(item) + '情况',
|
|
27
|
+
},
|
|
28
|
+
otherLevel: {
|
|
29
|
+
default: "singletonClass",
|
|
30
|
+
singletonClass: this.getCurrentPrefix(item) + '学习',
|
|
31
|
+
allClass: this.getPrefix(item) + '情况'
|
|
32
|
+
},
|
|
33
|
+
lowLevel: {
|
|
34
|
+
default: "singletonClass",
|
|
35
|
+
singletonClass: '学习任务',
|
|
36
|
+
score: '学习成绩',
|
|
37
|
+
analysis: '统计分析',
|
|
38
|
+
power: '学习动力'
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
18
43
|
action_checktime: {
|
|
19
44
|
actionName: '考勤管理',
|
|
20
45
|
buttonList: {
|
|
@@ -526,13 +551,13 @@ let buttonNames = {
|
|
|
526
551
|
headLevel: {
|
|
527
552
|
default: "demand",
|
|
528
553
|
demand: '训练要求',
|
|
529
|
-
|
|
554
|
+
quest:'全课试题',
|
|
530
555
|
singletonClass: this.getPrefix(item) + '训练',
|
|
531
556
|
allClass: this.getPrefix(item) + '情况',
|
|
532
557
|
},
|
|
533
558
|
otherLevel: {
|
|
534
559
|
default: "singletonClass",
|
|
535
|
-
|
|
560
|
+
quest:'全章试题',
|
|
536
561
|
singletonClass: this.getPrefix(item) + '训练',
|
|
537
562
|
allClass: this.getPrefix(item) + '情况',
|
|
538
563
|
},
|
|
@@ -716,13 +741,13 @@ let buttonNames = {
|
|
|
716
741
|
headLevel: {
|
|
717
742
|
default: "demand",
|
|
718
743
|
demand: '作业要求',
|
|
719
|
-
|
|
744
|
+
quest:'全课题目',
|
|
720
745
|
singletonClass: this.getCurrentPrefix(item) + '作业',
|
|
721
746
|
allClass: this.getPrefix(item) + '情况',
|
|
722
747
|
},
|
|
723
748
|
otherLevel: {
|
|
724
749
|
default: "singletonClass",
|
|
725
|
-
|
|
750
|
+
quest:'全章题目',
|
|
726
751
|
singletonClass: this.getCurrentPrefix(item) + '作业',
|
|
727
752
|
allClass: this.getPrefix(item) + '情况',
|
|
728
753
|
},
|
|
@@ -2221,7 +2246,7 @@ let buttonNames = {
|
|
|
2221
2246
|
},
|
|
2222
2247
|
resource_Interrogation: {
|
|
2223
2248
|
actionName: '追问资源',
|
|
2224
|
-
|
|
2249
|
+
buttonList: {
|
|
2225
2250
|
0: {
|
|
2226
2251
|
headLevel: {
|
|
2227
2252
|
default: "demand",
|
|
@@ -90,6 +90,7 @@
|
|
|
90
90
|
</g>
|
|
91
91
|
</svg>
|
|
92
92
|
</button>
|
|
93
|
+
<button class="buts but-f" v-if="Object.keys(enclosureButton).length > 0" @click="enclosureButton.onClick(item,index)">{{ enclosureButton.name }}</button>
|
|
93
94
|
</div>
|
|
94
95
|
</div>
|
|
95
96
|
</div>
|
|
@@ -250,6 +251,10 @@ export default {
|
|
|
250
251
|
numberStyle: {
|
|
251
252
|
type: Boolean,
|
|
252
253
|
default: false
|
|
254
|
+
},
|
|
255
|
+
enclosureButton: {
|
|
256
|
+
type: Object,
|
|
257
|
+
default: {}
|
|
253
258
|
}
|
|
254
259
|
},
|
|
255
260
|
emits: ['see', 'del', 'complete', 'update:data', 'enclosureSuccess', 'download', 'updateData'],
|
|
@@ -884,11 +889,11 @@ export default {
|
|
|
884
889
|
}
|
|
885
890
|
|
|
886
891
|
.enclosure-item:first-child {
|
|
887
|
-
width: calc(100% -
|
|
892
|
+
width: calc(100% - 270px);
|
|
888
893
|
}
|
|
889
894
|
|
|
890
895
|
.enclosure-item:last-child {
|
|
891
|
-
width:
|
|
896
|
+
width: 270px;
|
|
892
897
|
}
|
|
893
898
|
|
|
894
899
|
.enclosure-item {
|