zydx-plus 1.35.571 → 1.35.573

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,6 +1,6 @@
1
1
  {
2
2
  "name": "zydx-plus",
3
- "version": "1.35.571",
3
+ "version": "1.35.573",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -4,57 +4,57 @@
4
4
  * @内容:
5
5
  * @必传值:名字/类型/默认值/作用
6
6
  * @非必传值:actionId: 动作ID
7
- selectItem: 选中节点
8
- tabType: 0班级 2 个人
9
- selectBtnIndex: 选中按钮标识
10
- catalogList: 目录集合。 需要带 children
11
- headerType: 0动作或者1资源或者2学生端
7
+ selectItem: 选中节点
8
+ tabType: 0班级 2 个人
9
+ selectBtnIndex: 选中按钮标识
10
+ catalogList: 目录集合。 需要带 children
11
+ headerType: 0动作或者1资源或者2学生端
12
12
  * @回调事件:clickRightBtn: 按钮点击事件 回参有 选中节点,选中标识,选中按钮的名字,当前点击节点结合
13
13
  * @组件内方法:
14
14
  */
15
15
  <template>
16
- <div class="headLevel">
17
- <div v-for="(item, index) in nodeList" :key="index" class="borderBottom1cccccc padding0_10 box_sizing_border_box" v-show="getShow(item)">
18
- <zydx-topic-dry :is_hide="true">
19
- <template v-slot:title_slot><span class="fontSize16" :title="item.name" :class="'level'+item.level">{{item.name}}{{ item.suffixName? ':':'' }}</span><span v-if="item.suffixName" class="fontSize12">{{ item.suffixName }}</span></template>
20
- <template v-slot:button_slot v-if="isShowBtn">
21
- <template v-for="(buttonInfo, buttonIndex) in initConfig(item).buttonList[tabType]">
22
- <template v-if="buttonInfo instanceof Object" v-for="(childButtonInfo, childButtonIndex) in buttonInfo">
23
- <!-- 在课上渲染的 -->
24
- <button class="defaultButton"
25
- :class="{'active theme-text' : (childButtonIndex === getSelectBtnIndex && selectItem.level === item.level) && (headerType === 2 && isHasDemandContent && childButtonIndex === 'demand' || headerType === 2 && childButtonIndex !== 'demand' || headerType !== 2), 'defaultDisableButton': headerType === 2 && !isHasDemandContent && childButtonIndex === 'demand' }"
26
- v-if="item.level === 0 && buttonIndex === 'headLevel' && childButtonIndex !== 'default'"
27
- @click="clickRightBtn(item, childButtonIndex, childButtonInfo)"
28
- v-html="childButtonInfo"
29
- />
30
- <!-- 单独在最低节点设置的按钮 -->
31
- <button :ref="childButtonIndex + item.catalogId" class="defaultButton"
32
- :class="{'active theme-text' : childButtonIndex === getSelectBtnIndex && selectItem.level === item.level && ((isHasResContent && childButtonIndex === 'viewResource' || childButtonIndex !== 'viewResource') || (childButtonIndex === 'score' && scoreFlag === '3' || childButtonIndex !== 'score') || (childButtonIndex === 'analysis' && analysisFlag === '3' || childButtonIndex !== 'analysis') || (childButtonIndex === 'power' && powerFlag === '3' || childButtonIndex !== 'power')), 'defaultDisableButton': !isHasResContent && childButtonIndex === 'viewResource' || childButtonIndex === 'score' && scoreFlag === '0' || childButtonIndex === 'analysis' && analysisFlag === '0' || childButtonIndex === 'power' && powerFlag === '0'}"
33
- v-if="item.level !== 0 && (!item.children || item.children.length === 0) && buttonIndex === 'lowLevel' && childButtonIndex !== 'default' && (tabType === 2 && childButtonIndex !=='analysis' || tabType === 0)"
34
- @click="clickRightBtn(item, childButtonIndex, childButtonInfo)"
35
- v-html="childButtonInfo"
36
- />
37
- <!-- 在非课和非最低节点 -->
38
- <button class="defaultButton"
39
- :class="childButtonIndex === getSelectBtnIndex && selectItem.level === item.level? 'active theme-text' : ''"
40
- v-if="item.level !== 0 && item.children && item.children.length !== 0 && buttonIndex === 'otherLevel' && childButtonIndex !== 'default'"
41
- @click="clickRightBtn(item, childButtonIndex, childButtonInfo)"
42
- v-html="childButtonInfo"
43
- />
44
- </template>
45
- <template v-else-if="buttonInfo != null && buttonInfo.constructor === String">
46
- <button class="defaultButton"
47
- :class="buttonIndex === getSelectBtnIndex && selectItem.level === item.level? 'active theme-text' : ''"
48
- v-if="buttonIndex !== 'level0btn' && buttonInfo != null"
49
- @click="clickRightBtn(item, buttonIndex, buttonInfo)"
50
- v-html="buttonInfo"
51
- />
52
- </template>
53
- </template>
54
- </template>
55
- </zydx-topic-dry>
56
- </div>
16
+ <div class="headLevel">
17
+ <div v-for="(item, index) in nodeList" :key="index" class="borderBottom1cccccc padding0_10 box_sizing_border_box" v-show="getShow(item)">
18
+ <zydx-topic-dry :is_hide="true">
19
+ <template v-slot:title_slot><span class="fontSize16" :title="item.name" :class="'level'+item.level">{{item.name}}{{ item.suffixName? ':':'' }}</span><span v-if="item.suffixName" class="fontSize12">{{ item.suffixName }}</span></template>
20
+ <template v-slot:button_slot v-if="isShowBtn">
21
+ <template v-for="(buttonInfo, buttonIndex) in initConfig(item).buttonList[tabType]">
22
+ <template v-if="buttonInfo instanceof Object" v-for="(childButtonInfo, childButtonIndex) in buttonInfo">
23
+ <!-- 在课上渲染的 -->
24
+ <button class="defaultButton"
25
+ :class="{'active theme-text' : (childButtonIndex === getSelectBtnIndex && selectItem.level === item.level) && (headerType === 2 && isHasDemandContent && childButtonIndex === 'demand' || headerType === 2 && childButtonIndex !== 'demand' || headerType !== 2), 'defaultDisableButton': headerType === 2 && !isHasDemandContent && childButtonIndex === 'demand' }"
26
+ v-if="item.level === 0 && buttonIndex === 'headLevel' && childButtonIndex !== 'default'"
27
+ @click="clickRightBtn(item, childButtonIndex, childButtonInfo)"
28
+ v-html="childButtonInfo"
29
+ />
30
+ <!-- 单独在最低节点设置的按钮 -->
31
+ <button :ref="childButtonIndex + item.catalogId" class="defaultButton"
32
+ :class="{'active theme-text' : childButtonIndex === getSelectBtnIndex && selectItem.level === item.level && ((isHasResContent && childButtonIndex === 'viewResource' || childButtonIndex !== 'viewResource') || (childButtonIndex === 'score' && scoreFlag === '3' || childButtonIndex !== 'score') || (childButtonIndex === 'analysis' && analysisFlag === '3' || childButtonIndex !== 'analysis') || (childButtonIndex === 'power' && powerFlag === '3' || childButtonIndex !== 'power')), 'defaultDisableButton': !isHasResContent && childButtonIndex === 'viewResource' || childButtonIndex === 'score' && scoreFlag === '0' || childButtonIndex === 'analysis' && analysisFlag === '0' || childButtonIndex === 'power' && powerFlag === '0'}"
33
+ v-if="item.level !== 0 && (!item.children || item.children.length === 0) && buttonIndex === 'lowLevel' && childButtonIndex !== 'default' && (tabType === 2 && childButtonIndex !=='analysis' || tabType === 0)"
34
+ @click="clickRightBtn(item, childButtonIndex, childButtonInfo)"
35
+ v-html="childButtonInfo"
36
+ />
37
+ <!-- 在非课和非最低节点 -->
38
+ <button class="defaultButton"
39
+ :class="childButtonIndex === getSelectBtnIndex && selectItem.level === item.level? 'active theme-text' : ''"
40
+ v-if="item.level !== 0 && item.children && item.children.length !== 0 && buttonIndex === 'otherLevel' && childButtonIndex !== 'default'"
41
+ @click="clickRightBtn(item, childButtonIndex, childButtonInfo)"
42
+ v-html="childButtonInfo"
43
+ />
44
+ </template>
45
+ <template v-else-if="buttonInfo != null && buttonInfo.constructor === String">
46
+ <button class="defaultButton"
47
+ :class="buttonIndex === getSelectBtnIndex && selectItem.level === item.level? 'active theme-text' : ''"
48
+ v-if="buttonIndex !== 'level0btn' && buttonInfo != null"
49
+ @click="clickRightBtn(item, buttonIndex, buttonInfo)"
50
+ v-html="buttonInfo"
51
+ />
52
+ </template>
53
+ </template>
54
+ </template>
55
+ </zydx-topic-dry>
57
56
  </div>
57
+ </div>
58
58
  </template>
59
59
 
60
60
  <script>
@@ -62,245 +62,245 @@ import zydxTopicDry from "../../titleBox/src/zydxTopicDry"
62
62
  import zydxInput from '../../input/src/input.vue'
63
63
  import buttonName from "./button_name"
64
64
  export default {
65
- name: "zydx-head-level",
66
- mixins: [buttonName],
67
- props: {
68
- isTeacherReview: {
69
- type: Boolean,
70
- default: true
71
- },
72
- actionId: {
73
- type: String,
74
- required: true
75
- },
76
- // 选中的节点
77
- selectItem: {
78
- type: Object,
79
- required: true
80
- },
81
- // 班级还是个人
82
- tabType: {
83
- type: Number,
84
- default: 0
85
- },
86
- // 选中的按钮标识
87
- selectBtnIndex: {
88
- type: String,
89
- default: ''
90
- },
91
- // 是否显示操作按钮
92
- isShowBtn: {
93
- type: Boolean,
94
- default: false
95
- },
96
- // 目录树集合
97
- catalogList: {
98
- type: Array,
99
- required: true
100
- },
101
- // 0动作或者1资源或者2学生端
102
- headerType: {
103
- type: Number,
104
- required: true
105
- },
106
- isHasDemandContent: { // 学生端要求是否有内容
107
- type: Boolean,
108
- default: true
109
- },
110
- isHasResContent: { // 教师端-演示阅读、教学互动-模块最低节点资源列表是否有内容
111
- type: Boolean,
112
- default: true
113
- },
114
- scoreFlag: {
115
- type: String,
116
- default: '3'
117
- },
118
- analysisFlag: {
119
- type: String,
120
- default: '3'
121
- },
122
- powerFlag: {
123
- type: String,
124
- default: '3'
125
- }
65
+ name: "zydx-head-level",
66
+ mixins: [buttonName],
67
+ props: {
68
+ isTeacherReview: {
69
+ type: Boolean,
70
+ default: true
126
71
  },
127
- data() {
128
- return {
129
- searchContent: '',
130
- isShowSearch: false,
131
- nodeList: []
132
- }
72
+ actionId: {
73
+ type: String,
74
+ required: true
75
+ },
76
+ // 选中的节点
77
+ selectItem: {
78
+ type: Object,
79
+ required: true
80
+ },
81
+ // 班级还是个人
82
+ tabType: {
83
+ type: Number,
84
+ default: 0
85
+ },
86
+ // 选中的按钮标识
87
+ selectBtnIndex: {
88
+ type: String,
89
+ default: ''
90
+ },
91
+ // 是否显示操作按钮
92
+ isShowBtn: {
93
+ type: Boolean,
94
+ default: false
95
+ },
96
+ // 目录树集合
97
+ catalogList: {
98
+ type: Array,
99
+ required: true
100
+ },
101
+ // 0动作或者1资源或者2学生端
102
+ headerType: {
103
+ type: Number,
104
+ required: true
105
+ },
106
+ isHasDemandContent: { // 学生端要求是否有内容
107
+ type: Boolean,
108
+ default: true
109
+ },
110
+ isHasResContent: { // 教师端-演示阅读、教学互动-模块最低节点资源列表是否有内容
111
+ type: Boolean,
112
+ default: true
113
+ },
114
+ scoreFlag: {
115
+ type: String,
116
+ default: '3'
133
117
  },
134
- computed: {
135
- getSelectBtnIndex () {
136
- if (this.selectBtnIndex === '') {
137
- let buttonIndex = '';
138
- let buttonList = this.initConfig(this.selectItem).buttonList[this.tabType];
139
- if (this.selectItem.level === 0 && buttonList.headLevel) {
140
- buttonIndex = buttonList.headLevel.default;
141
- this.clickRightBtn(this.selectItem, buttonIndex, buttonList.headLevel[buttonIndex]);
142
- } else if(this.selectItem.level != 0 && (!this.selectItem.children || this.selectItem.children.length === 0) && buttonList.lowLevel) {
143
- buttonIndex = buttonList.lowLevel.default;
144
- this.clickRightBtn(this.selectItem, buttonIndex, buttonList.lowLevel[buttonIndex]);
145
- } else {
146
- if (buttonList.otherLevel) {
147
- buttonIndex = buttonList.otherLevel.default;
148
- this.clickRightBtn(this.selectItem, buttonIndex, buttonList.otherLevel[buttonIndex]);
149
- }
150
- }
151
- return buttonIndex;
152
- } else {
153
- return this.selectBtnIndex;
154
- }
118
+ analysisFlag: {
119
+ type: String,
120
+ default: '3'
121
+ },
122
+ powerFlag: {
123
+ type: String,
124
+ default: '3'
125
+ }
126
+ },
127
+ data() {
128
+ return {
129
+ searchContent: '',
130
+ isShowSearch: false,
131
+ nodeList: []
132
+ }
133
+ },
134
+ computed: {
135
+ getSelectBtnIndex () {
136
+ if (this.selectBtnIndex === '') {
137
+ let buttonIndex = '';
138
+ let buttonList = this.initConfig(this.selectItem).buttonList[this.tabType];
139
+ if (this.selectItem.level === 0 && buttonList.headLevel) {
140
+ buttonIndex = buttonList.headLevel.default;
141
+ this.clickRightBtn(this.selectItem, buttonIndex, buttonList.headLevel[buttonIndex]);
142
+ } else if(this.selectItem.level != 0 && (!this.selectItem.children || this.selectItem.children.length === 0) && buttonList.lowLevel) {
143
+ buttonIndex = buttonList.lowLevel.default;
144
+ this.clickRightBtn(this.selectItem, buttonIndex, buttonList.lowLevel[buttonIndex]);
145
+ } else {
146
+ if (buttonList.otherLevel) {
147
+ buttonIndex = buttonList.otherLevel.default;
148
+ this.clickRightBtn(this.selectItem, buttonIndex, buttonList.otherLevel[buttonIndex]);
149
+ }
155
150
  }
151
+ return buttonIndex;
152
+ } else {
153
+ return this.selectBtnIndex;
154
+ }
155
+ }
156
+ },
157
+ mounted: function () {
158
+ this.selectNode(this.selectItem)
159
+ },
160
+ watch: {
161
+ actionId: {
162
+ deep: true,
163
+ handler: function (val) {
164
+ this.selectNode(this.selectItem)
165
+ }
156
166
  },
157
- mounted: function () {
167
+ selectItem: {
168
+ deep: true,
169
+ handler: function (val) {
158
170
  this.selectNode(this.selectItem)
171
+ }
172
+ }
173
+ },
174
+ methods: {
175
+ getShow(item) {
176
+ if (this.headerType === 2 && (this.actionId == 'action_notes' || this.actionId == 'action_lesson013' || this.actionId == 'action_lesson055' || this.actionId == 'action_lesson056') || this.actionId === 'resource_lesson_knowledge' || this.actionId === 'resource_lesson_rhyme') {
177
+ if (!item.children || item.children.length == 0) {
178
+ return false
179
+ }
180
+ }
181
+ return true;
182
+ },
183
+ // 选择节点
184
+ selectNode: function (node) {
185
+ this.nodeList = []
186
+ this.recursionNode(node.catalogId)
187
+ this.nodeList = this.nodeList.reverse()
188
+ // 考勤管理去掉节级
189
+ if (this.actionId === 'action_checktime') {
190
+ this.nodeList = this.nodeList.filter(item => item.level !== 2)
191
+ }
192
+ },
193
+ // 递归节点
194
+ recursionNode: function (catalogId) {
195
+ let node = this.getNode(catalogId)
196
+ if (node) {
197
+ this.nodeList.push(node)
198
+ if (node.pcatalogId && node.pcatalogId !== -1) {
199
+ this.recursionNode(node.pcatalogId)
200
+ }
201
+ }
159
202
  },
160
- watch: {
161
- actionId: {
162
- deep: true,
163
- handler: function (val) {
164
- this.selectNode(this.selectItem)
165
- }
166
- },
167
- selectItem: {
168
- deep: true,
169
- handler: function (val) {
170
- this.selectNode(this.selectItem)
171
- }
203
+ // 获取节点
204
+ getNode: function (catalogId) {
205
+ let node = null
206
+ this.catalogList.forEach(item => {
207
+ if (item.catalogId === catalogId) {
208
+ node = item
172
209
  }
210
+ })
211
+ return node
173
212
  },
174
- methods: {
175
- getShow(item) {
176
- if (this.headerType === 2 && (this.actionId == 'action_notes' || this.actionId == 'action_lesson013' || this.actionId == 'action_lesson055' || this.actionId == 'action_lesson056') || this.actionId === 'resource_lesson_knowledge' || this.actionId === 'resource_lesson_rhyme') {
177
- if (!item.children || item.children.length == 0) {
178
- return false
179
- }
180
- }
181
- return true;
182
- },
183
- // 选择节点
184
- selectNode: function (node) {
185
- this.nodeList = []
186
- this.recursionNode(node.catalogId)
187
- this.nodeList = this.nodeList.reverse()
188
- // 资源去掉节级
189
- // if (this .headerType === 0) {
190
- // this.nodeList = this.nodeList.filter(item => item.level !== 2)
191
- // }
192
- },
193
- // 递归节点
194
- recursionNode: function (catalogId) {
195
- let node = this.getNode(catalogId)
196
- if (node) {
197
- this.nodeList.push(node)
198
- if (node.pcatalogId && node.pcatalogId !== -1) {
199
- this.recursionNode(node.pcatalogId)
200
- }
201
- }
202
- },
203
- // 获取节点
204
- getNode: function (catalogId) {
205
- let node = null
206
- this.catalogList.forEach(item => {
207
- if (item.catalogId === catalogId) {
208
- node = item
209
- }
210
- })
211
- return node
212
- },
213
- clickRightBtn (selectItem, selectBtnIndex, selectBtnName) {
214
- // if(selectBtnIndex == this.selectBtnIndex && selectItem == this.selectItem) {
215
- // return false;
216
- // }
217
- this.$emit('clickRightBtn', {selectItem, selectBtnIndex, selectBtnName, 'nodeList': this.nodeList});
218
- },
213
+ clickRightBtn (selectItem, selectBtnIndex, selectBtnName) {
214
+ // if(selectBtnIndex == this.selectBtnIndex && selectItem == this.selectItem) {
215
+ // return false;
216
+ // }
217
+ this.$emit('clickRightBtn', {selectItem, selectBtnIndex, selectBtnName, 'nodeList': this.nodeList});
219
218
  },
220
- components: {zydxTopicDry, zydxInput}
219
+ },
220
+ components: {zydxTopicDry, zydxInput}
221
221
  }
222
222
  </script>
223
223
 
224
224
  <style scoped>
225
- .borderBottom1cccccc {
226
- border-bottom: 1px #cccccc solid !important;
227
- }
228
- /*.z-button {*/
229
- /*margin: 1px;*/
230
- /*width: auto;*/
231
- /*min-width: 60px;*/
232
- /*max-width: 60px;*/
233
- /*text-overflow: ellipsis;*/
234
- /*white-space: nowrap;*/
235
- /*overflow: hidden;*/
236
- /*height: 20px;*/
237
- /*background-color: #FFFFFF;*/
238
- /*color: #000000;*/
239
- /*border: #000000 1px solid;*/
240
- /*line-height: 18px;*/
241
- /*border-radius: 3px;*/
242
- /*font-size: 12px !important;*/
243
- /*letter-spacing: 0px !important;*/
244
- /*text-align: center;*/
245
- /*padding: 0 5px;*/
246
- /*font-weight: normal;*/
247
- /*cursor: pointer;*/
248
- /*}*/
225
+ .borderBottom1cccccc {
226
+ border-bottom: 1px #cccccc solid !important;
227
+ }
228
+ /*.z-button {*/
229
+ /*margin: 1px;*/
230
+ /*width: auto;*/
231
+ /*min-width: 60px;*/
232
+ /*max-width: 60px;*/
233
+ /*text-overflow: ellipsis;*/
234
+ /*white-space: nowrap;*/
235
+ /*overflow: hidden;*/
236
+ /*height: 20px;*/
237
+ /*background-color: #FFFFFF;*/
238
+ /*color: #000000;*/
239
+ /*border: #000000 1px solid;*/
240
+ /*line-height: 18px;*/
241
+ /*border-radius: 3px;*/
242
+ /*font-size: 12px !important;*/
243
+ /*letter-spacing: 0px !important;*/
244
+ /*text-align: center;*/
245
+ /*padding: 0 5px;*/
246
+ /*font-weight: normal;*/
247
+ /*cursor: pointer;*/
248
+ /*}*/
249
249
 
250
- .defaultButton {
251
- width: auto;
252
- min-width: 60px;
253
- height: 20px;
254
- font-size: 12px;
255
- line-height: 20px;
256
- border: 1px solid #000;
257
- color: #000;
258
- border-radius: 3px;
259
- text-align: center;
260
- cursor: pointer;
261
- background-color: #fff;
262
- user-select: none;
263
- margin: 1px;
264
- box-sizing: border-box;
265
- }
266
- .defaultDisableButton {
267
- width: auto;
268
- min-width: 60px;
269
- height: 20px;
270
- font-size: 12px;
271
- line-height: 20px;
272
- color: #717171;
273
- border: #717171 1px solid;
274
- border-radius: 3px;
275
- text-align: center;
276
- cursor: pointer;
277
- background-color: #fff;
278
- user-select: none;
279
- margin: 1px;
280
- box-sizing: border-box;
281
- pointer-events: none;
282
- /*禁止点击*/
283
- }
284
- .active{
285
- /* color: rgba(0, 255, 0, 1) !important; */
286
- }
287
- .padding0_10 {
288
- padding: 0px 10px;
289
- }
290
- .fontSize16 {
291
- font-size: 16px;
292
- }
293
- .level0 {
294
- font-weight: bold;
295
- }
296
- .level1 {
297
- font-weight: bold;
298
- }
299
- .box_sizing_border_box {
300
- box-sizing: border-box;
301
- height: 30px;
302
- }
303
- .fontSize12{
304
- font-size: 12px;
305
- }
250
+ .defaultButton {
251
+ width: auto;
252
+ min-width: 60px;
253
+ height: 20px;
254
+ font-size: 12px;
255
+ line-height: 20px;
256
+ border: 1px solid #000;
257
+ color: #000;
258
+ border-radius: 3px;
259
+ text-align: center;
260
+ cursor: pointer;
261
+ background-color: #fff;
262
+ user-select: none;
263
+ margin: 1px;
264
+ box-sizing: border-box;
265
+ }
266
+ .defaultDisableButton {
267
+ width: auto;
268
+ min-width: 60px;
269
+ height: 20px;
270
+ font-size: 12px;
271
+ line-height: 20px;
272
+ color: #717171;
273
+ border: #717171 1px solid;
274
+ border-radius: 3px;
275
+ text-align: center;
276
+ cursor: pointer;
277
+ background-color: #fff;
278
+ user-select: none;
279
+ margin: 1px;
280
+ box-sizing: border-box;
281
+ pointer-events: none;
282
+ /*禁止点击*/
283
+ }
284
+ .active{
285
+ /* color: rgba(0, 255, 0, 1) !important; */
286
+ }
287
+ .padding0_10 {
288
+ padding: 0px 10px;
289
+ }
290
+ .fontSize16 {
291
+ font-size: 16px;
292
+ }
293
+ .level0 {
294
+ font-weight: bold;
295
+ }
296
+ .level1 {
297
+ font-weight: bold;
298
+ }
299
+ .box_sizing_border_box {
300
+ box-sizing: border-box;
301
+ height: 30px;
302
+ }
303
+ .fontSize12{
304
+ font-size: 12px;
305
+ }
306
306
  </style>
@@ -77,15 +77,20 @@ let buttonNames = {
77
77
  otherLevel: {
78
78
  default: "singletonClass",
79
79
  singletonClass: this.getCurrentPrefix(item) + '考勤',
80
- allClass: this.getPrefix(item) + '情况',
81
- },
80
+ // allClass: this.getPrefix(item) + '情况',
81
+ },
82
+ // lowLevel: {
83
+ // default: "singletonClass",
84
+ // singletonClass: '考&emsp;&emsp;勤',
85
+ // score: '成绩报告',
86
+ // analysis: '统计分析',
87
+ // power: '学习动力'
88
+ // },
82
89
  lowLevel: {
83
- default: "singletonClass",
84
- singletonClass: '考&emsp;&emsp;勤',
85
- score: '成绩报告',
86
- analysis: '统计分析',
87
- power: '学习动力'
88
- }
90
+ default: "viewResource",
91
+ createResource: '创建考勤',
92
+ viewResource: '考勤列表',
93
+ },
89
94
  },
90
95
  2: {
91
96
  headLevel: {
@@ -96,15 +101,20 @@ let buttonNames = {
96
101
  otherLevel: {
97
102
  default: "singletonClass",
98
103
  singletonClass: this.getCurrentPrefix(item) + '考勤',
99
- allClass: this.getPrefix(item) + '情况',
100
- },
104
+ // allClass: this.getPrefix(item) + '情况',
105
+ },
106
+ // lowLevel: {
107
+ // default: "singletonClass",
108
+ // singletonClass: '考&emsp;&emsp;勤',
109
+ // score: '成绩报告',
110
+ // analysis: '统计分析',
111
+ // power: '学习动力'
112
+ // },
101
113
  lowLevel: {
102
- default: "singletonClass",
103
- singletonClass: '考&emsp;&emsp;勤',
104
- score: '成绩报告',
105
- analysis: '统计分析',
106
- power: '学习动力'
107
- }
114
+ default: "viewResource",
115
+ createResource: '创建考勤',
116
+ viewResource: '考勤列表',
117
+ },
108
118
  }
109
119
  }
110
120
  },
@@ -1351,15 +1361,20 @@ let buttonNames = {
1351
1361
  otherLevel: {
1352
1362
  default: "singletonClass",
1353
1363
  singletonClass: this.getCurrentPrefix(item) + '考勤',
1354
- allClass: this.getPrefix(item) + '情况',
1355
- },
1364
+ // allClass: this.getPrefix(item) + '情况',
1365
+ },
1366
+ // lowLevel: {
1367
+ // default: "singletonClass",
1368
+ // singletonClass: '考&emsp;&emsp;勤',
1369
+ // score: '成绩报告',
1370
+ // analysis: '统计分析',
1371
+ // power: '学习动力'
1372
+ // },
1356
1373
  lowLevel: {
1357
- default: "singletonClass",
1358
- singletonClass: '考&emsp;&emsp;勤',
1359
- score: '成绩报告',
1360
- analysis: '统计分析',
1361
- power: '学习动力'
1362
- }
1374
+ default: "viewResource",
1375
+ createResource: '创建考勤',
1376
+ viewResource: '考勤列表',
1377
+ },
1363
1378
  }
1364
1379
  }
1365
1380
  },
package/src/index.js CHANGED
@@ -89,7 +89,7 @@ function install(app) {
89
89
  }
90
90
 
91
91
  export default {
92
- version: '1.35.571',
92
+ version: '1.35.573',
93
93
  install,
94
94
  Calendar,
95
95
  Message,