commit
This commit is contained in:
@@ -19,6 +19,7 @@ import org.nutz.dao.Sqls;
|
|||||||
import org.nutz.dao.sql.Sql;
|
import org.nutz.dao.sql.Sql;
|
||||||
import org.nutz.ioc.loader.annotation.Inject;
|
import org.nutz.ioc.loader.annotation.Inject;
|
||||||
import org.nutz.ioc.loader.annotation.IocBean;
|
import org.nutz.ioc.loader.annotation.IocBean;
|
||||||
|
import org.nutz.lang.Lang;
|
||||||
import org.nutz.lang.util.NutMap;
|
import org.nutz.lang.util.NutMap;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
@@ -38,6 +39,9 @@ public class QuestionAnswerRankingServiceImpl extends BaseServiceImpl<QuestionUs
|
|||||||
@Override
|
@Override
|
||||||
public Pagination pageData(PageForm pageForm, String questionId, String unionId, String unitId, String answerDate) {
|
public Pagination pageData(PageForm pageForm, String questionId, String unionId, String unitId, String answerDate) {
|
||||||
Question question = dao().fetch(Question.class, questionId);
|
Question question = dao().fetch(Question.class, questionId);
|
||||||
|
if (Lang.isEmpty(question)) {
|
||||||
|
return new Pagination();
|
||||||
|
}
|
||||||
|
|
||||||
if (question.getCtMode() == 1) {
|
if (question.getCtMode() == 1) {
|
||||||
Sql sql = Sqls.create("""
|
Sql sql = Sqls.create("""
|
||||||
|
|||||||
@@ -249,7 +249,7 @@ layout("/layouts/platform.html"){
|
|||||||
|
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row style="padding: 30px 0;border-bottom: 10px solid rgb(240, 240, 240)">
|
<!-- <el-row style="padding: 30px 0;border-bottom: 10px solid rgb(240, 240, 240)">
|
||||||
<el-col :span="24" style="padding: 0 20px"
|
<el-col :span="24" style="padding: 0 20px"
|
||||||
v-loading="knbfnum_loading">
|
v-loading="knbfnum_loading">
|
||||||
<div class="chartTitle" style="margin-bottom: 50px">困难帮扶申请趋势</div>
|
<div class="chartTitle" style="margin-bottom: 50px">困难帮扶申请趋势</div>
|
||||||
@@ -286,9 +286,9 @@ layout("/layouts/platform.html"){
|
|||||||
<div class="chartTitle" style="margin-bottom: 50px">教职工子女入学登记申请趋势</div>
|
<div class="chartTitle" style="margin-bottom: 50px">教职工子女入学登记申请趋势</div>
|
||||||
<div id="rxnumChart" style="width: 100%;height: 300px;"></div>
|
<div id="rxnumChart" style="width: 100%;height: 300px;"></div>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>-->
|
||||||
|
|
||||||
<el-row style="padding: 30px 0;border-bottom: 10px solid rgb(240, 240, 240)">
|
<!--<el-row style="padding: 30px 0;border-bottom: 10px solid rgb(240, 240, 240)">
|
||||||
<div style="position: absolute;top: 25px;right: 40px">
|
<div style="position: absolute;top: 25px;right: 40px">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
class="year"
|
class="year"
|
||||||
@@ -359,7 +359,7 @@ layout("/layouts/platform.html"){
|
|||||||
<el-row v-if="stNone" class="none-data">
|
<el-row v-if="stNone" class="none-data">
|
||||||
<span class="none-data-title">暂无社团</span>
|
<span class="none-data-title">暂无社团</span>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-row>
|
</el-row>-->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user