Commit bff5d38b authored by 黄奎's avatar 黄奎

页面修改

parent b12b3516
...@@ -119,11 +119,11 @@ ...@@ -119,11 +119,11 @@
} }
.List-bt { .List-bt {
height: 27px; height: 40px;
margin-left: 1px; margin-left: 1px;
background: #fdfdfd; background: #fdfdfd;
font-size: 14px; font-size: 14px;
line-height: 27px; line-height: 40px;
padding-left: 10px; padding-left: 10px;
} }
...@@ -226,7 +226,6 @@ ...@@ -226,7 +226,6 @@
.List-bt input { .List-bt input {
outline: none; outline: none;
height: 25px;
} }
.exam_DetailList { .exam_DetailList {
...@@ -305,8 +304,10 @@ ...@@ -305,8 +304,10 @@
<div>(共{{ gItem.DetailsList?gItem.DetailsList.length:0 }}题,{{gItem.GScore}}分)</div> <div>(共{{ gItem.DetailsList?gItem.DetailsList.length:0 }}题,{{gItem.GScore}}分)</div>
</template> </template>
<template v-else> <template v-else>
<input style="width:160px;margin-right:10px;" v-model="gItem.GroupName" /> <el-input v-model="gItem.GroupName" size="small" maxlength="50"
<input style="width:40px;" filled v-model="gItem.GScore" @change="changeGroupScore(gItem)" /> style="width:160px;margin-right:10px;"></el-input>
<el-input v-model="gItem.GScore" size="small" maxlength="6" style="width:80px;"
@keyup.native="checkPrice(gItem,'GScore')" @change="changeGroupScore(gItem)"></el-input>
</template> </template>
<div style="right:10px;position:absolute;"> <div style="right:10px;position:absolute;">
<i class="iconfont icon-edit" title="编辑" style="font-size:18px;margin-right:5px;" <i class="iconfont icon-edit" title="编辑" style="font-size:18px;margin-right:5px;"
...@@ -470,6 +471,9 @@ ...@@ -470,6 +471,9 @@
</div> </div>
</template> </template>
<script> <script>
import {
date
} from "quasar";
import UeEditor from '../../components/editor/UeEditor' import UeEditor from '../../components/editor/UeEditor'
//知识点列表 //知识点列表
import questionpoint from '../../components/question/questionpoint' import questionpoint from '../../components/question/questionpoint'
...@@ -615,6 +619,9 @@ ...@@ -615,6 +619,9 @@
mounted() { mounted() {
if (this.msg.PaperId && this.msg.PaperId > 0) { if (this.msg.PaperId && this.msg.PaperId > 0) {
this.GetPaperInfo() this.GetPaperInfo()
} else {
var timeStr = date.formatDate(Date.now(), "YYYYMMDDHHmmss");
this.DataObj.PaperName = timeStr + "新建试卷";
} }
}, },
methods: { methods: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment