zydx-plus 1.35.572 → 1.35.574
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
|
@@ -4,57 +4,57 @@
|
|
|
4
4
|
* @内容:
|
|
5
5
|
* @必传值:名字/类型/默认值/作用
|
|
6
6
|
* @非必传值:actionId: 动作ID
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
|
|
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
|
-
</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
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
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
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
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
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
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
|
-
|
|
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
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
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
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
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
|
-
|
|
219
|
+
},
|
|
220
|
+
components: {zydxTopicDry, zydxInput}
|
|
221
221
|
}
|
|
222
222
|
</script>
|
|
223
223
|
|
|
224
224
|
<style scoped>
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
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
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
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>
|
|
@@ -87,7 +87,7 @@ let buttonNames = {
|
|
|
87
87
|
// power: '学习动力'
|
|
88
88
|
// },
|
|
89
89
|
lowLevel: {
|
|
90
|
-
default: "
|
|
90
|
+
default: "singletonClass",
|
|
91
91
|
createResource: '创建考勤',
|
|
92
92
|
viewResource: '考勤列表',
|
|
93
93
|
},
|
|
@@ -111,7 +111,7 @@ let buttonNames = {
|
|
|
111
111
|
// power: '学习动力'
|
|
112
112
|
// },
|
|
113
113
|
lowLevel: {
|
|
114
|
-
default: "
|
|
114
|
+
default: "singletonClass",
|
|
115
115
|
createResource: '创建考勤',
|
|
116
116
|
viewResource: '考勤列表',
|
|
117
117
|
},
|
|
@@ -1371,7 +1371,7 @@ let buttonNames = {
|
|
|
1371
1371
|
// power: '学习动力'
|
|
1372
1372
|
// },
|
|
1373
1373
|
lowLevel: {
|
|
1374
|
-
default: "
|
|
1374
|
+
default: "singletonClass",
|
|
1375
1375
|
createResource: '创建考勤',
|
|
1376
1376
|
viewResource: '考勤列表',
|
|
1377
1377
|
},
|