Commit 0f8f2df5 by lichengming

修改了首页

parent 11530279
......@@ -10,9 +10,9 @@
<Button
v-for="(item,index) in buttonList"
:key="index"
type="primary"
:class="{buttonActive :activityIndex === index}"
@click="_buttonChange(index)"
type="primary"
>
{{ item }}
</Button>
......@@ -22,7 +22,7 @@
</div>
<div class="config_footer">
<div>
<span class="fl">{{ num }}</span>
<span @click="toSendTask()" class="fl" style="color: #00b5ec;cursor: pointer;">{{ num }}</span>
<div class="clear" />
</div>
</div>
......@@ -48,6 +48,9 @@ export default {
}
},
methods: {
toSendTask() {
this.$router.push('/meter/test/send_sample_input')
},
_request: async function() {
// type 请求 0:当天 1:本周 2:本月
const result = await meterSample.testingCount({ type: this.type })
......
......@@ -10,9 +10,9 @@
<Button
v-for="(item,index) in buttonList"
:key="index"
type="primary"
:class="{buttonActive :activityIndex === index}"
@click="_buttonChange(index)"
type="primary"
>
{{ item }}
</Button>
......@@ -22,7 +22,7 @@
</div>
<div class="config_footer">
<div>
<span class="fl">{{ num }}</span>
<span @click="toSendOut()" class="fl" style="color: #00b5ec;cursor: pointer;">{{ num }}</span>
<div class="clear" />
</div>
</div>
......@@ -48,6 +48,9 @@ export default {
}
},
methods: {
toSendOut() {
this.$router.push('/meter/entrust/send_test')
},
_request: async function() {
// type 请求 0:当天 1:本周 2:本月
const result = await meterSample.inspectionCount({ type: this.type })
......
<template>
<div style="flex: 1;margin-bottom: 10px" @click="_toIssue">
<div style="flex: 1;margin-bottom: 10px" >
<Card style="width:100%">
<div class="config_meta">
<p class="fl">
......@@ -22,7 +22,7 @@
</div>
<div class="config_footer">
<div>
<span class="fl">{{ num }}</span>
<span @click="_toIssue" style="color: #00b5ec;cursor: pointer;" class="fl">{{ num }}</span>
<div class="clear" />
</div>
</div>
......
<template>
<div @click="_toWrite()" style="flex: 1;margin-bottom: 10px">
<div style="flex: 1;margin-bottom: 10px">
<Card style="width:100%">
<div class="config_meta">
<p class="fl">
......@@ -22,7 +22,7 @@
</div>
<div class="config_footer">
<div>
<span class="fl">{{ num }}</span>
<span @click="_toWrite()" style="color: #00b5ec;cursor: pointer;" class="fl">{{ num }}</span>
<div class="clear" />
</div>
</div>
......
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