|
@@ -0,0 +1,401 @@
|
|
|
+<template>
|
|
|
+ <el-tabs v-model="activeName">
|
|
|
+ <el-tab-pane class="pt10" label="设置" name="first">
|
|
|
+ <div>
|
|
|
+ <el-button plain>卫生评比</el-button>
|
|
|
+ <el-button plain>常规评比</el-button>
|
|
|
+ <el-button plain>值周老师</el-button>
|
|
|
+ <el-button plain>值日学生</el-button>
|
|
|
+ </div>
|
|
|
+ <div class="mt20">
|
|
|
+ <el-button type="primary">添加</el-button>
|
|
|
+ <el-button type="danger">删除</el-button>
|
|
|
+ </div>
|
|
|
+ <el-table :data="firstTable" tooltip-effect="dark" class="mt20" style="width: 100%">
|
|
|
+ <el-table-column
|
|
|
+ type="selection"
|
|
|
+ align="center"
|
|
|
+ width="55">
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column
|
|
|
+ label="检查项目"
|
|
|
+ prop="jcxm">
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column label="操作">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ @click=""
|
|
|
+ >编辑
|
|
|
+ </el-button>
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ @click=""
|
|
|
+ >评分项
|
|
|
+ </el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <footer
|
|
|
+ class="flex-item-none"
|
|
|
+ style="display: flex;justify-content: flex-end;margin-top: 30px;"
|
|
|
+ >
|
|
|
+ <el-pagination
|
|
|
+ background
|
|
|
+ layout="total,prev, pager, next"
|
|
|
+ :page-size="limit"
|
|
|
+ :total="total"
|
|
|
+ :current-page.sync="cur_page"
|
|
|
+ @current-change="handleCurrentChange"
|
|
|
+ ></el-pagination>
|
|
|
+ </footer>
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane class="pt10" label="卫生管理" name="second">
|
|
|
+ <el-form :inline="true" :model="secondForm">
|
|
|
+ <el-form-item class="mr10" label="年级:">
|
|
|
+ <el-input v-model="secondForm.nj" placeholder="输入年级"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item class="mr10" label="班级:">
|
|
|
+ <el-input v-model="secondForm.bj" placeholder="输入班级"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item class="mr10" label="时间:">
|
|
|
+ <el-date-picker style="width: 100%"
|
|
|
+ v-model="secondForm.sj"
|
|
|
+ type="date"
|
|
|
+ placeholder="请选择日期">
|
|
|
+ </el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item class="mr10" label="分值:">
|
|
|
+ <el-input v-model="secondForm.fz" placeholder="输入分值"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-button type="primary">搜索</el-button>
|
|
|
+ </el-form>
|
|
|
+ <el-button type="primary">导出</el-button>
|
|
|
+ <el-table :data="secondTable" tooltip-effect="dark" class="mt20" style="width: 100%">
|
|
|
+ <el-table-column
|
|
|
+ type="selection"
|
|
|
+ align="center"
|
|
|
+ width="55">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="年级"
|
|
|
+ prop="nj"
|
|
|
+ width="150"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="班级"
|
|
|
+ prop="bj"
|
|
|
+ width="150"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="时间"
|
|
|
+ prop="sj"
|
|
|
+ align="center"
|
|
|
+ width="150"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="卫生分值"
|
|
|
+ prop="wsfz"
|
|
|
+ align="center"
|
|
|
+ width="100"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="实际分值"
|
|
|
+ prop="sjfz"
|
|
|
+ align="center"
|
|
|
+ width="100"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column label="操作">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ @click=""
|
|
|
+ >查看分值详情
|
|
|
+ </el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <footer
|
|
|
+ class="flex-item-none"
|
|
|
+ style="display: flex;justify-content: flex-end;margin-top: 30px;"
|
|
|
+ >
|
|
|
+ <el-pagination
|
|
|
+ background
|
|
|
+ layout="total,prev, pager, next"
|
|
|
+ :page-size="limit"
|
|
|
+ :total="total"
|
|
|
+ :current-page.sync="cur_page"
|
|
|
+ @current-change="handleCurrentChange"
|
|
|
+ ></el-pagination>
|
|
|
+ </footer>
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane class="pt10" label="常规管理" name="third">
|
|
|
+ <el-form :inline="true" :model="secondForm">
|
|
|
+ <el-form-item class="mr10" label="年级:">
|
|
|
+ <el-input v-model="secondForm.nj" placeholder="输入年级"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item class="mr10" label="班级:">
|
|
|
+ <el-input v-model="secondForm.bj" placeholder="输入班级"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item class="mr10" label="时间:">
|
|
|
+ <el-date-picker style="width: 100%"
|
|
|
+ v-model="secondForm.sj"
|
|
|
+ type="date"
|
|
|
+ placeholder="请选择日期">
|
|
|
+ </el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item class="mr10" label="分值:">
|
|
|
+ <el-input v-model="secondForm.fz" placeholder="输入分值"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-button type="primary">搜索</el-button>
|
|
|
+ </el-form>
|
|
|
+ <el-button type="primary">导出</el-button>
|
|
|
+ <el-table :data="secondTable" tooltip-effect="dark" class="mt20" style="width: 100%">
|
|
|
+ <el-table-column
|
|
|
+ type="selection"
|
|
|
+ align="center"
|
|
|
+ width="55">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="年级"
|
|
|
+ prop="nj"
|
|
|
+ width="150"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="班级"
|
|
|
+ prop="bj"
|
|
|
+ width="150"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="时间"
|
|
|
+ prop="sj"
|
|
|
+ align="center"
|
|
|
+ width="150"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="卫生分值"
|
|
|
+ prop="wsfz"
|
|
|
+ align="center"
|
|
|
+ width="100"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="实际分值"
|
|
|
+ prop="sjfz"
|
|
|
+ align="center"
|
|
|
+ width="100"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column label="操作">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ @click=""
|
|
|
+ >查看分值详情
|
|
|
+ </el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <footer
|
|
|
+ class="flex-item-none"
|
|
|
+ style="display: flex;justify-content: flex-end;margin-top: 30px;"
|
|
|
+ >
|
|
|
+ <el-pagination
|
|
|
+ background
|
|
|
+ layout="total,prev, pager, next"
|
|
|
+ :page-size="limit"
|
|
|
+ :total="total"
|
|
|
+ :current-page.sync="cur_page"
|
|
|
+ @current-change="handleCurrentChange"
|
|
|
+ ></el-pagination>
|
|
|
+ </footer>
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane class="pt10" label="班级评比" name="fourth">
|
|
|
+ <el-form :inline="true" :model="secondForm">
|
|
|
+ <el-form-item class="mr10" label="年级:">
|
|
|
+ <el-input v-model="secondForm.nj" placeholder="输入年级"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item class="mr10" label="班级:">
|
|
|
+ <el-input v-model="secondForm.bj" placeholder="输入班级"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item class="mr10" label="时间:">
|
|
|
+ <el-date-picker style="width: 100%"
|
|
|
+ v-model="secondForm.sj"
|
|
|
+ type="date"
|
|
|
+ placeholder="请选择日期">
|
|
|
+ </el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item class="mr10" label="卫生分值:">
|
|
|
+ <el-input v-model="secondForm.wsfz" placeholder="输入卫生分值"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item class="mr10" label="常规分值:">
|
|
|
+ <el-input v-model="secondForm.cgfz" placeholder="输入常规分值"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-button type="primary">搜索</el-button>
|
|
|
+ </el-form>
|
|
|
+ <el-button type="primary">导出</el-button>
|
|
|
+ <el-table :data="secondTable" tooltip-effect="dark" class="mt20" style="width: 100%">
|
|
|
+ <el-table-column
|
|
|
+ type="selection"
|
|
|
+ align="center"
|
|
|
+ width="55">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="年级"
|
|
|
+ prop="nj"
|
|
|
+ width="150"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="班级"
|
|
|
+ prop="bj"
|
|
|
+ width="150"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="时间"
|
|
|
+ prop="sj"
|
|
|
+ align="center"
|
|
|
+ width="150"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="常规分值"
|
|
|
+ prop="cgfz"
|
|
|
+ align="center"
|
|
|
+ width="100"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="卫生分值"
|
|
|
+ prop="wsfz"
|
|
|
+ align="center"
|
|
|
+ width="100"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="总分值"
|
|
|
+ prop="zfz"
|
|
|
+ align="center"
|
|
|
+ sortable
|
|
|
+ width="100"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column label="操作">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ @click=""
|
|
|
+ >设为红旗班级
|
|
|
+ </el-button>
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ @click=""
|
|
|
+ >设为优胜班级
|
|
|
+ </el-button>
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ @click=""
|
|
|
+ >总评
|
|
|
+ </el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <footer
|
|
|
+ class="flex-item-none"
|
|
|
+ style="display: flex;justify-content: flex-end;margin-top: 30px;"
|
|
|
+ >
|
|
|
+ <el-pagination
|
|
|
+ background
|
|
|
+ layout="total,prev, pager, next"
|
|
|
+ :page-size="limit"
|
|
|
+ :total="total"
|
|
|
+ :current-page.sync="cur_page"
|
|
|
+ @current-change="handleCurrentChange"
|
|
|
+ ></el-pagination>
|
|
|
+ </footer>
|
|
|
+ </el-tab-pane>
|
|
|
+ </el-tabs>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+export default {
|
|
|
+ name: "index",
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ activeName:'second',
|
|
|
+ limit: 10,
|
|
|
+ total: 12,
|
|
|
+ cur_page: 1,
|
|
|
+ firstTable:[{
|
|
|
+ id:'1',
|
|
|
+ jcxm:'纪律'
|
|
|
+ },{
|
|
|
+ id:'2',
|
|
|
+ jcxm:'穿着'
|
|
|
+ },{
|
|
|
+ id:'3',
|
|
|
+ jcxm:'有礼貌'
|
|
|
+ },{
|
|
|
+ id:'4',
|
|
|
+ jcxm:'言语'
|
|
|
+ },{
|
|
|
+ id:'5',
|
|
|
+ jcxm:'品德'
|
|
|
+ }],
|
|
|
+ secondForm:{
|
|
|
+ nj:'',
|
|
|
+ bj:'',
|
|
|
+ sj:'',
|
|
|
+ fz:'',
|
|
|
+ wsfz:'',
|
|
|
+ cgfz:''
|
|
|
+ },
|
|
|
+ secondTable:[{
|
|
|
+ id:'1',
|
|
|
+ nj:'一年级',
|
|
|
+ bj:'一班',
|
|
|
+ sj:'2022-01-01',
|
|
|
+ wsfz:'50',
|
|
|
+ sjfz:'55',
|
|
|
+ cgfz:'50',
|
|
|
+ zfz:'105'
|
|
|
+ },{
|
|
|
+ id:'2',
|
|
|
+ nj:'一年级',
|
|
|
+ bj:'二班',
|
|
|
+ sj:'2022-01-01',
|
|
|
+ wsfz:'50',
|
|
|
+ sjfz:'55',
|
|
|
+ cgfz:'50',
|
|
|
+ zfz:'105'
|
|
|
+ },{
|
|
|
+ id:'3',
|
|
|
+ nj:'一年级',
|
|
|
+ bj:'三班',
|
|
|
+ sj:'2022-01-01',
|
|
|
+ wsfz:'50',
|
|
|
+ sjfz:'55',
|
|
|
+ cgfz:'50',
|
|
|
+ zfz:'105'
|
|
|
+ },{
|
|
|
+ id:'4',
|
|
|
+ nj:'一年级',
|
|
|
+ bj:'四班',
|
|
|
+ sj:'2022-01-01',
|
|
|
+ wsfz:'50',
|
|
|
+ sjfz:'55',
|
|
|
+ cgfz:'50',
|
|
|
+ zfz:'105'
|
|
|
+ },{
|
|
|
+ id:'4',
|
|
|
+ nj:'二年级',
|
|
|
+ bj:'一班',
|
|
|
+ sj:'2022-01-01',
|
|
|
+ wsfz:'50',
|
|
|
+ sjfz:'55',
|
|
|
+ cgfz:'50',
|
|
|
+ zfz:'105'
|
|
|
+ }]
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped>
|
|
|
+
|
|
|
+</style>
|