diff --git a/src/views/organization/ruleManage/createRule.vue b/src/views/organization/ruleManage/createRule.vue index 5ed38449e..738dd799c 100644 --- a/src/views/organization/ruleManage/createRule.vue +++ b/src/views/organization/ruleManage/createRule.vue @@ -58,23 +58,16 @@
- 学习时长: - - - - - - - - + 考勤: + + + + + @@ -96,17 +89,24 @@
-
- 考勤: - - - - - +
+ 学习时长: + + + + + + + + diff --git a/src/views/organization/ruleManage/index.vue b/src/views/organization/ruleManage/index.vue index 7a90e368f..e9d56dc5e 100644 --- a/src/views/organization/ruleManage/index.vue +++ b/src/views/organization/ruleManage/index.vue @@ -28,6 +28,13 @@ export default { textAlign: 'right', reset: true, queryObject: { + orgId:{ + type: 'select', + label: '班级:', + config: { + data: [] + } + }, schoolYear: { type: 'select', label: '学年:', @@ -123,6 +130,9 @@ export default { } getClassListUnPageSelf().then(resp => { this.classList = resp.data; + this.classList.forEach(item => { + this.ruleQueryForm.queryObject.orgId.config.data.push({ label: item.name, value: item.id }); + }); }); }, methods: {