Commit 62674d8b authored by 姬鋆屾's avatar 姬鋆屾

pref:修改100条显示添加回到顶部

parent 8c92cddc
...@@ -12,6 +12,11 @@ ...@@ -12,6 +12,11 @@
<div class="layout"> <div class="layout">
<router-view :class="{ active: !isOpen }" /> <router-view :class="{ active: !isOpen }" />
</div> </div>
<el-backtop
target=".page-layout"
style="width: 60px; height: 60px"
v-if="$route.name == 'window/perform/summary/list'"
></el-backtop>
</div> </div>
</template> </template>
<script> <script>
......
...@@ -94,6 +94,7 @@ ...@@ -94,6 +94,7 @@
<el-button @click="cancleFresh">取 消</el-button> <el-button @click="cancleFresh">取 消</el-button>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
...@@ -114,6 +115,7 @@ export default { ...@@ -114,6 +115,7 @@ export default {
this.query.yearmonth = timestampToTime(new Date(), 2); this.query.yearmonth = timestampToTime(new Date(), 2);
this.query.year = timestampToTime(new Date(), 2).substr(0, 4); this.query.year = timestampToTime(new Date(), 2).substr(0, 4);
this.query.month = timestampToTime(new Date(), 2).substr(5); this.query.month = timestampToTime(new Date(), 2).substr(5);
this.query.size = 100;
console.log(this.query); console.log(this.query);
}, },
...@@ -385,7 +387,11 @@ export default { ...@@ -385,7 +387,11 @@ export default {
prop: "sumScore", prop: "sumScore",
sortable: true, sortable: true,
formatter: (row) => { formatter: (row) => {
return row.ckjsdf + row.zdrwdf + row.addTotalScore; return (
<span style={{ color: "#1c75dd", fontWeight: "600" }}>
{row.ckjsdf + row.zdrwdf + row.addTotalScore}
</span>
);
}, },
}, },
{ {
......
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