123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>广西自学考试网上系统</title>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-
- <!--<link rel="stylesheet" href="https://unpkg.com/element-ui@2.4.11/lib/theme-chalk/index.css">-->
- <link rel="stylesheet" href="https://lib.baomitu.com/element-ui/2.12.0/theme-chalk/index.css">
- <script src="https://lib.baomitu.com/vue/2.5.17/vue.min.js"></script>
- <script src="https://lib.baomitu.com/element-ui/2.4.11/index.js"></script>
- <script src="https://lib.baomitu.com/jquery/1.12.4/jquery.min.js"></script>
- <script src="./js/tool.js"></script>
- </head>
- <body>
- <div id="app" style="width:80%;left:10%;position:absolute;margin: 10px 10px;display: none;">
-
- <el-card class="box-card" v-loading="loading" element-loading-text="初始化数据加载中...">
- <div slot="header" class="clearfix">
- <div style="text-align: center;font-size: 20px;">
- {{year_code}}批次成绩查询
- </div>
- </div>
- <div class="majorDiv" style="width: 100%;margin-bottom: 20px">
- <!-- <el-col :span="8" v-for="(item,index) in majorList" :key="item.id" >
- <div style="height: 35px;vertical-align: middle;margin-left: 4px;font-size:14px;cursor:pointer;margin-top: 6px;padding-top: 8px;padding-left: 6px;" class="cell_" >
- {{index + 1}}. {{item.course_code}} - {{item.course_name}}
- </div>
- </el-col>
- -->
- <el-table
- v-loading="loading"
- :data="scoreList"
- style="width: 100%;margin-bottom: 10px;">
- <el-table-column
- type="index"
- label="序号"
- width="50">
- </el-table-column>
-
- <el-table-column
- prop="ticket_no"
- label="准考证号"
- width="120">
- </el-table-column>
- <el-table-column
- prop="course_code"
- label="课程代码"
- width="80">
- </el-table-column>
- <el-table-column
- prop="course_name"
- label="课程名称"
- width="300">
- </el-table-column>
- <el-table-column
- prop="final_score"
- label="成绩"
- width="80">
- <template slot-scope="scope">
- <span v-if="scope.row.final_score == '998' || scope.row.final_score == '999'">
- 免考
- </span>
- <span v-if="scope.row.final_score == '887' || scope.row.final_score == '888'">
- 课程顶替
- </span>
- <span v-if="scope.row.final_score != '887' && scope.row.final_score != '888' && scope.row.final_score != '998' && scope.row.final_score != '999'">
- <span v-if="scope.row.final_score == '-9'">
- 缺考
- </span>
- <span v-else-if="scope.row.final_score == '-3'">
- 违纪
- </span>
- <span v-else-if="scope.row.final_score == '-2'">
- 免考
- </span>
- <span v-else-if="scope.row.final_score == '-1'">
- 舞弊
- </span>
- <span v-else-if="scope.row.final_score == '201'">
- 及格
- </span>
- <span v-else-if="scope.row.final_score == '202'">
- 中等
- </span>
- <span v-else-if="scope.row.final_score == '203'">
- 良好
- </span>
- <span v-else-if="scope.row.final_score == '204'">
- 优秀
- </span>
- <span v-else>
- {{scope.row.final_score}}
- </span>
- </span>
- </template>
- </el-table-column>
- <el-table-column
- prop="score_source"
- label="成绩性质"
- width="120">
- <template slot-scope="scope">
- <span v-if="scope.row.score_source == 7">
- 合成
- </span>
- <span v-if="scope.row.score_source == 8">
- 合成
- </span>
- <span v-if="scope.row.score_source == 9">
- 合成
- </span>
- <span v-if="scope.row.score_source == 1">
- 统考
- </span>
- <span v-if="scope.row.score_source == 5">
- 免考
- </span>
- <span v-if="scope.row.score_source == 14">
- 违规
- </span>
- <span v-if="scope.row.score_source == 15">
- 作弊
- </span>
- </template>
- </el-table-column>
- </el-table>
- <cente style="width:100%;left:45%;position:absolute;">
- <el-button @click="goLogin">返回登录页面</el-button>
- </center>
- </div>
- <div style="height: 35px;">
-
- </div>
- </el-card>
-
-
-
- </div>
- </body>
- <script>
- new Vue({
- el: '#app',
- data: function () {
- return {
- loading: false,
- scoreList: null,
- year_code:null
- };
- },
- mounted: function() {
- window['Vue'] = this;
- let _this = this;
- this.query();
- },
- created: function() {
- setTimeout(function() {
- document.getElementById("app").style.display="block";
- }, 500);
- },
- methods: {
- query: function(){
-
- let std_id = '';
- let uerStr = localStorage.getItem("user");
- if(uerStr){
- let user = JSON.parse(uerStr);
- if(user){
- std_id = user.id;
-
- }else{
- return;
- }
- }
- this.loading = true;
- let this_ = window['Vue'];
- ajaxRequest("", '/kj/kjUnifiedScoreDetail/listAllByStd.htm', {
- std_id: std_id,
- }, function (res) {
- if(res.success){
-
- this_.scoreList = res.array;
-
- }else{
- $.Pop(resp.errorMsg, 'alert', function () {});
- }
- this_.loading = false;
- }),
- ajaxRequest("", '/kj/kjUnifiedScoreDetail/queryYearCode.htm', {
- std_id: std_id,
- }, function (res) {
- if(res.success){
-
- this_.year_code = res.entity;
-
- }else{
- $.Pop(resp.errorMsg, 'alert', function () {});
- }
-
- })
-
- },
- goLogin: function() {
- window.location.href = "./login.html";
- },
- }
- });
- </script>
- <style scoped>
- .footer {
- height: 30px;
- }
- .abs-bottom {
- width: 100%;
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- margin-bottom: 5px
- }
- #particles-js {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- }
- .particles-js-canvas-el {
- background-color: aliceblue
- }
- .btn-long {
- width: 100%;
- }
- .el-card__header {
- padding: 8px 8px !important;
- }
- body {
- background-color: #F3F3F3;
- }
- .el-checkbox__inner{
- vertical-align: text-top !important;
- }
- .el-checkbox__input{
- margin-bottom: 6px !important;
- }
- .el-alert--warning {
- background-color: #fdf6ec !important;
- color: #e6a23c;
- }
- .el-alert {
- margin: 20px 0 0;
- }
- .el-alert {
- width: 100%;
- padding: 8px 16px;
- margin: 0;
- box-sizing: border-box;
- border-radius: 4px;
- position: relative;
- background-color: #fff;
- overflow: hidden;
- opacity: 1;
- display: flex;
- align-items: center;
- transition: opacity .2s;
- }
- .el-tabs__nav{
- width: 100% !important
- }
- .el-tabs__item{
- width: 50% !important
- }
-
- .cell_:hover{
- background-color: #b3d8ff
- }
-
- </style>
- </html>
|