didiyu
2019-08-09 71dd80c584a59d608e3aca6f06ade23ae12d414b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<template>
    <div class="component-container">
        <Row>
            <i-col :xl="10" :xxl="7" span="14">
                <div class="mrl12 mrr12">
                    <divider-card title="接口通道">
                        
                    </divider-card>
                    <divider-card title="通道定义">
                        <div class="card-content">
                            <div class="content-item mrt8">
                                <span class="mrr16">CH05</span>
                                <span class="mrr16">程控电源输出+</span>
                                <span class="mrr16">设定值</span>
                                <radius-input></radius-input>
                            </div>
                            <div class="content-item mrt8">
                                <span class="mrr16">CH06</span>
                                <span class="mrr16">程控电源输出-</span>
                                <span class="mrr16">设定值</span>
                                <radius-input></radius-input>
                            </div>
                        </div>
                    </divider-card>
                </div>
            </i-col>
            <i-col :xl="14" :xxl="17" span="10">
                <divider-card 
                title="通道状态" 
                style="margin-right:16px;"
                maxHeight="20000px" paddingBottom="8px">
                    <line-graph class="h300 bg-white"
                    ref="channel1"
                    unit=""
                    min="0"
                    max="100"
                    title="测试折线1"></line-graph>
                    <line-graph class="h300 bg-white"
                    ref="channel2"
                    unit=""
                    min="0"
                    max="100"
                    title="测试折线2"></line-graph>
                </divider-card>
            </i-col>
        </Row>
    </div>
</template>
<script>
import LineGraph from '../../components/LineGraph';
import DividerCard from '../../components/DividerCard';
import RadiusInput from '../../components/RadiusInput';
export default {
    components:{
        LineGraph,
        DividerCard,
        RadiusInput
    },
    mounted: function() {
        // console.log(2);
    }
}
</script>
<style scoped>
    .card-content .content-item{
        font-size: 16px;
        text-align: center;
    }
</style>