| ¶Ô±ÈÐÂÎļþ |
| | |
| | | import request from '@/utils/request' |
| | | |
| | | // 大å²è½¦é´ç»¼åçæ¿,çäº§è½¦é´æ¥æ¾äº§çº¿æ¥å£ |
| | | export function ShopSearchLine(data) { |
| | | return request({ |
| | | url: 'KanBanManagerent/ShopSearchLine', |
| | | method: 'get', |
| | | params: data |
| | | }) |
| | | } |
| | | |
| | | // 大å²è½¦é´ç»¼åçæ¿,å·¦ä¸äº§çº¿å 工任塿¥å£ |
| | | export function LineSearchTopLeftData(data) { |
| | | return request({ |
| | | url: 'KanBanManagerent/LineSearchTopLeftData', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | |
| | | // 大å²è½¦é´ç»¼åçæ¿,å·¦ä¸å表æ¥å£ |
| | | export function LineSearchBottomLeftData() { |
| | | return request({ |
| | | url: 'KanBanManagerent/LineSearchBottomLeftData', |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | | // 大å²è½¦é´ç»¼åçæ¿,å³ä¸topæè¡æ¥å£ |
| | | export function LineSearchTopRightData() { |
| | | return request({ |
| | | url: 'KanBanManagerent/LineSearchTopRightData', |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | | // 大å²è½¦é´ç»¼åçæ¿,å³ä¸topæè¡æ¥å£ |
| | | export function LineSearchBottomRightData() { |
| | | return request({ |
| | | url: 'KanBanManagerent/LineSearchBottomRightData', |
| | | method: 'get' |
| | | }) |
| | | } |
| | |
| | | } |
| | | |
| | | // 综åçæ¿å¾ |
| | | export function bar02() { |
| | | const data = [70, 60, 50, 40, 30] |
| | | export function bar02(val) { |
| | | // console.log(val) |
| | | // const data = [70, 60, 50, 40, 30] |
| | | // const titlename = ['å¤è§å伤', 'è¡¨é¢æ²¹æ±¡', '尺寸', 'é¢è²', '大å°'] |
| | | const data = val.map(i => i.cont) |
| | | const titlename = val.map(i => i.checkitem_name) |
| | | |
| | | const titlename = ['å¤è§å伤', 'è¡¨é¢æ²¹æ±¡', '尺寸', 'é¢è²', '大å°'] |
| | | const valdata = [683, 500, 400, 300, 200] |
| | | const myColor = ['#FF0000', '#FF5511', '#FF8800', '#FFBB00', '#FFFF00'] |
| | | const option = { |
| | |
| | | |
| | | return option |
| | | } |
| | | |
| | | // éè´è®¢åå¾ |
| | | export function pie01() { |
| | | const option = { |
| | | backgroundColor: 'transparent', |
| | | title: { |
| | | text: '60.21%', |
| | | x: 'center', |
| | | y: 'center', |
| | | textStyle: { |
| | | fontWeight: 'normal', |
| | | color: '#fff', |
| | | fontSize: 18 |
| | | } |
| | | }, |
| | | color: ['rgba(176, 212, 251, 1)'], |
| | | legend: { |
| | | show: false, |
| | | itemGap: 12, |
| | | data: ['01', '02'] |
| | | }, |
| | | |
| | | series: [ |
| | | { |
| | | name: 'Line 1', |
| | | type: 'pie', |
| | | clockWise: true, |
| | | radius: ['50%', '66%'], |
| | | itemStyle: { |
| | | normal: { |
| | | label: { |
| | | show: false |
| | | }, |
| | | labelLine: { |
| | | show: false |
| | | } |
| | | } |
| | | }, |
| | | hoverAnimation: false, |
| | | data: [ |
| | | { |
| | | value: 80, |
| | | name: '01', |
| | | itemStyle: { |
| | | normal: { |
| | | color: { // 宿çåç¯çé¢è² |
| | | colorStops: [{ |
| | | offset: 0, |
| | | color: '#24d3ff' // 0% å¤çé¢è² |
| | | }, { |
| | | offset: 1, |
| | | color: '#5580fe' // 100% å¤çé¢è² |
| | | }] |
| | | }, |
| | | label: { |
| | | show: false |
| | | }, |
| | | labelLine: { |
| | | show: false |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | name: '02', |
| | | value: 20 |
| | | } |
| | | ] |
| | | }] |
| | | } |
| | | return option |
| | | } |
| | |
| | | <div class="text">彿å
¥åºæ»æ°</div> |
| | | </div> |
| | | <div class="content01"> |
| | | <div class="pic01" /> |
| | | <div class="number">12%</div> |
| | | <div class="text">彿延æå æ¯</div> |
| | | <!-- <div class="pic01" />--> |
| | | <!-- <div class="number">12%</div>--> |
| | | <div id="pie01" ref="pie01" class="pie01" /> |
| | | <div class="text" style="margin-top: -10px">彿延æå æ¯</div> |
| | | </div> |
| | | |
| | | </div> |
| | |
| | | |
| | | <script> |
| | | import './kbCommon.css' |
| | | import { bar03, loadEcharts } from '@/utils/myEcharts' |
| | | import { loadEcharts, pie01 } from '@/utils/myEcharts' |
| | | import * as echarts from 'echarts' |
| | | |
| | | export default { |
| | | name: 'Index2', |
| | |
| | | |
| | | // è·åecharts |
| | | getEcharts() { |
| | | loadEcharts('bar03', bar03('æ¬å¨å
¥åºéæ±æ»')) |
| | | loadEcharts('bar04', bar03('æ¬å¨åºè´§éæ±æ»')) |
| | | loadEcharts('pie01', pie01()) |
| | | |
| | | // setInterval(() => { |
| | | // loadEcharts('pie01', pie01()) |
| | | // }, 5000) |
| | | }, |
| | | |
| | | // è·åå½åæ¶é´ |
| | |
| | | background: url("../../assets/images/pic01.png"); |
| | | } |
| | | |
| | | .pie01{ |
| | | height: 200px; |
| | | width: 200px; |
| | | margin-top: -30px; |
| | | } |
| | | |
| | | .number { |
| | | margin-top: -50px; |
| | | font-size: 18px; |
| | |
| | | width: 1920px; |
| | | height: 1080px; |
| | | position: relative; |
| | | /*background-color: #17678c;*/ |
| | | background-color: #000; |
| | | font-size: 16px; |
| | | font-family: Microsoft YaHei; |
| | | color: #fff; |
| | | background-size: 1920px 1080px; |
| | | /*background: url("../../assets/images/kb_bg.png") no-repeat;*/ |
| | | } |
| | | |
| | | .kb_header { |
| | | /*background-color: #000;*/ |
| | | /*background-color: #123;*/ |
| | | height: 90px; |
| | | line-height: 90px; |
| | |
| | | .kb_headerPic { |
| | | position: absolute; |
| | | top: 39px; |
| | | /*top: 0px;*/ |
| | | width: 1808px; |
| | | /*height: 90px;*/ |
| | | height: 12px; |
| | | /*background-size: 100% 100%;*/ |
| | | /*background: url("../../assets/images/kb_title.png") no-repeat;*/ |
| | | background: url("../../assets/images/kb_headtitle2.png") no-repeat; |
| | | margin-left: 56px; |
| | | /*margin-left: 40px;*/ |
| | | } |
| | | |
| | | .kb_headTime { |
| | |
| | | <!-- 1--> |
| | | <div class="kb_left_top_title01">ç产产线ï¼</div> |
| | | <div class="kb_left_top kb_pd10"> |
| | | <!-- <div v-for="(item,index) in lineContent" :key="item[index].linecode" class="kb_left_top_block">--> |
| | | <div class="kb_left_top_block"> |
| | | <div class="kb_block01 kb_pd10"> |
| | | <div> |
| | |
| | | <div class="kb_mt10">产线æ»é:</div> |
| | | </div> |
| | | <div> |
| | | <div>éçµäº§çº¿</div> |
| | | <div>éçµä¸çº¿</div> |
| | | <div class="kb_mt10">300</div> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="kb_block03_02_content flex_c_c"> |
| | | <div class="flex_c_c content01"> |
| | | <div class="circle" style="background-color: rgb(255 255 0)" /> |
| | | <!-- <div class="circle" style="background-color: rgb(255 255 0)" />--> |
| | | <div class="circleYellow" style="background-color: rgb(255 255 0)" /> |
| | | </div> |
| | | </div> |
| | | <div class="kb_block03_02_content flex_c_c"> |
| | |
| | | </div> |
| | | <div class="kb_block03 kb_pd10 "> |
| | | <div class="flex_e_c"> |
| | | |
| | | <div class="kb_block03_content flex_c_c"> |
| | | <div class="content01">颿</div> |
| | | <div class="content02"> |
| | |
| | | </div> |
| | | <div class="kb_block03_02_content flex_c_c"> |
| | | <div class="flex_c_c content01"> |
| | | <div class="circle" style="background-color: rgb(255 255 0)" /> |
| | | <div class="circle" style="background-color: rgb(255 255 255)" /> |
| | | </div> |
| | | </div> |
| | | <div class="kb_block03_02_content flex_c_c"> |
| | |
| | | <div class="content02_2 borderTop ">1</div> |
| | | </div> |
| | | </div> |
| | | <div class="kb_block03_content flex_c_c"> |
| | | <div v-if="false" class="kb_block03_content flex_c_c"> |
| | | <div class="content01">颿</div> |
| | | <div class="content02"> |
| | | <div class="content02_1 ">ä»»å¡</div> |
| | |
| | | </div> |
| | | <div class="kb_block03_02_content flex_c_c"> |
| | | <div class="flex_c_c content01"> |
| | | <div class="circle" style="background-color: rgb(255 255 0)" /> |
| | | <!-- <div class="circle" style="background-color: rgb(255 255 0)" />--> |
| | | <div class="circle" /> |
| | | </div> |
| | | </div> |
| | | <div class="kb_block03_02_content flex_c_c"> |
| | | <div v-if="false" class="kb_block03_02_content flex_c_c"> |
| | | <div class="flex_c_c content01"> |
| | | <div class="circle" style="background-color: rgb(255 255 255)" /> |
| | | </div> |
| | |
| | | <div class="content02_2 borderTop ">1</div> |
| | | </div> |
| | | </div> |
| | | <div class="kb_block03_content flex_c_c"> |
| | | <div v-if="false" class="kb_block03_content flex_c_c"> |
| | | <div class="content01">颿</div> |
| | | <div class="content02"> |
| | | <div class="content02_1 ">ä»»å¡</div> |
| | |
| | | </div> |
| | | <div class="kb_block03_02_content flex_c_c"> |
| | | <div class="flex_c_c content01"> |
| | | <div class="circle" style="background-color: rgb(255 255 0)" /> |
| | | <!-- <div class="circle" style="background-color: rgb(255 255 0)" />--> |
| | | <div class="circleYellow" style="background-color: rgb(255 255 0)" /> |
| | | </div> |
| | | </div> |
| | | <div class="kb_block03_02_content flex_c_c"> |
| | | <div v-if="false" class="kb_block03_02_content flex_c_c"> |
| | | <div class="flex_c_c content01"> |
| | | <div class="circle" style="background-color: rgb(255 255 255)" /> |
| | | </div> |
| | |
| | | <div class="kb_left_bottom_content"> |
| | | <div class="content_head">å¨å¶è®¢å</div> |
| | | <el-table |
| | | ref="tableData" |
| | | :data="tableData" |
| | | style="width: 100%;" |
| | | :header-cell-style="headerCellStyle" |
| | |
| | | height="310" |
| | | > |
| | | <el-table-column |
| | | prop="xh" |
| | | prop="RowNum" |
| | | label="åºå·" |
| | | width="53" |
| | | /> |
| | | <el-table-column |
| | | prop="jgzt" |
| | | prop="status" |
| | | label="å å·¥ç¶æ" |
| | | width="85" |
| | | /> |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.status==='ALLO'">ALLO</div> |
| | | <div v-if="row.status==='START'">å¼å§</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="pfsj" |
| | | prop="lm_date" |
| | | label="æ´¾åæ¶é´" |
| | | width="86" |
| | | /> |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div>{{ row.lm_date.substring(5,10) }}</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="xsddh" |
| | | prop="saleOrderCode" |
| | | label="éå®è®¢åå·" |
| | | width="150" |
| | | /> |
| | | <el-table-column |
| | | prop="jgdh" |
| | | prop="wo_code" |
| | | label="å å·¥åå·" |
| | | width="207" |
| | | /> |
| | | <el-table-column |
| | | prop="cpmc" |
| | | prop="partname" |
| | | label="产ååç§°" |
| | | width="105" |
| | | /> |
| | | <el-table-column |
| | | prop="gg" |
| | | prop="partspec" |
| | | label="è§æ ¼" |
| | | width="60" |
| | | /> |
| | | <el-table-column |
| | | prop="dw" |
| | | prop="name" |
| | | label="åä½" |
| | | width="60" |
| | | /> |
| | | <el-table-column |
| | | prop="rwsl" |
| | | prop="plan_qty" |
| | | label="任塿°é" |
| | | width="90" |
| | | /> |
| | | <el-table-column |
| | | prop="wgsl" |
| | | prop="good_qty" |
| | | label="å®å·¥æ°é" |
| | | width="90" |
| | | /> |
| | | <el-table-column |
| | | prop="blsl" |
| | | prop="ng_qty" |
| | | label="ä¸è¯æ°é" |
| | | width="90" |
| | | /> |
| | |
| | | width="70" |
| | | /> |
| | | <el-table-column |
| | | prop="yjks" |
| | | prop="planenddate" |
| | | label="é¢è®¡å¼å§" |
| | | width="86" |
| | | /> |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div>{{ row.planenddate.substring(5,10) }}</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="yjjs" |
| | | prop="planstartdate" |
| | | label="é¢è®¡ç»æ" |
| | | width="86" |
| | | /> |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div>{{ row.planstartdate.substring(5,10) }}</div> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </div> |
| | |
| | | <el-table |
| | | ref="tableDataRank" |
| | | :data="tableDataRank" |
| | | class="tableDataRank" |
| | | style="width: 100%;" |
| | | :header-cell-style="headerCellStyle" |
| | | :cell-style="cellStyle" |
| | | :header-cell-style="headerCellStyleRank" |
| | | :cell-style="cellStyleRank" |
| | | height="400" |
| | | > |
| | | <el-table-column |
| | |
| | | width="120" |
| | | /> |
| | | <el-table-column |
| | | prop="cp" |
| | | prop="partname" |
| | | width="138" |
| | | label="产å" |
| | | /> |
| | | <el-table-column |
| | | prop="sl" |
| | | prop="good_qty" |
| | | label="æ°é" |
| | | width="100" |
| | | /> |
| | |
| | | <script> |
| | | import './kbCommon.css' |
| | | import { bar02, loadEcharts } from '@/utils/myEcharts' |
| | | import { |
| | | LineSearchBottomLeftData, |
| | | LineSearchBottomRightData, |
| | | LineSearchTopLeftData, |
| | | LineSearchTopRightData, |
| | | ShopSearchLine |
| | | } from '@/api/dzkb' |
| | | |
| | | export default { |
| | | name: 'Index2', |
| | | data() { |
| | | return { |
| | | headTime: '', |
| | | |
| | | leftTopDataAll: [ |
| | | // { id: 1, name: 'éçµäº§çº¿', value: 1000, children: [] }, |
| | | { id: 2, name: 'å
è£
产线1', value: 1200, children: [] }, |
| | |
| | | ], |
| | | leftTopDataAllLength: 0, |
| | | leftTopDataCurrentNumber: 0, |
| | | |
| | | lineArr: [], |
| | | lineContent: [], |
| | | |
| | | leftTopData: [], |
| | | tableData: [ |
| | | { |
| | | xh: 1, |
| | | jgzt: 'å¼å§', |
| | | pfsj: '07/29', |
| | | xsddh: '202207290001', |
| | | jgdh: 'MO-2022-07-29-0001', |
| | | cpmc: '产ååæµè¯', |
| | | gg: '@20', |
| | | dw: 'PCS', |
| | | rwsl: 2000, |
| | | wgsl: 1900, |
| | | blsl: 100, |
| | | wcl: '99%', |
| | | yjks: '07/21', |
| | | yjjs: '07/29' |
| | | }, |
| | | { |
| | | xh: 2, |
| | | jgzt: 'å¼å§', |
| | | pfsj: '07/29', |
| | | xsddh: '202207290001', |
| | | jgdh: 'MO-2022-07-29-0001', |
| | | cpmc: '产ååæµè¯', |
| | | gg: '@20', |
| | | dw: 'PCS', |
| | | rwsl: 2000, |
| | | wgsl: 1900, |
| | | blsl: 100, |
| | | wcl: '99%', |
| | | yjks: '07/21', |
| | | yjjs: '07/29' |
| | | }, |
| | | { |
| | | xh: 3, |
| | | jgzt: 'å¼å§', |
| | | pfsj: '07/29', |
| | | xsddh: '202207290001', |
| | | jgdh: 'MO-2022-07-29-0001', |
| | | cpmc: '产ååæµè¯', |
| | | gg: '@20', |
| | | dw: 'PCS', |
| | | rwsl: 2000, |
| | | wgsl: 1900, |
| | | blsl: 100, |
| | | wcl: '99%', |
| | | yjks: '07/21', |
| | | yjjs: '07/29' |
| | | }, |
| | | { |
| | | xh: 4, |
| | | jgzt: 'å¼å§', |
| | | pfsj: '07/29', |
| | | xsddh: '202207290001', |
| | | jgdh: 'MO-2022-07-29-0001', |
| | | cpmc: '产ååæµè¯', |
| | | gg: '@20', |
| | | dw: 'PCS', |
| | | rwsl: 2000, |
| | | wgsl: 1900, |
| | | blsl: 100, |
| | | wcl: '99%', |
| | | yjks: '07/21', |
| | | yjjs: '07/29' |
| | | }, |
| | | { |
| | | xh: 5, |
| | | jgzt: 'å¼å§', |
| | | pfsj: '07/29', |
| | | xsddh: '202207290001', |
| | | jgdh: 'MO-2022-07-29-0001', |
| | | cpmc: '产ååæµè¯', |
| | | gg: '@20', |
| | | dw: 'PCS', |
| | | rwsl: 2000, |
| | | wgsl: 1900, |
| | | blsl: 100, |
| | | wcl: '99%', |
| | | yjks: '07/21', |
| | | yjjs: '07/29' |
| | | }, |
| | | { |
| | | xh: 6, |
| | | jgzt: 'å¼å§', |
| | | pfsj: '07/29', |
| | | xsddh: '202207290001', |
| | | jgdh: 'MO-2022-07-29-0001', |
| | | cpmc: '产ååæµè¯', |
| | | gg: '@20', |
| | | dw: 'PCS', |
| | | rwsl: 2000, |
| | | wgsl: 1900, |
| | | blsl: 100, |
| | | wcl: '99%', |
| | | yjks: '07/21', |
| | | yjjs: '07/29' |
| | | }, |
| | | { |
| | | xh: 7, |
| | | jgzt: 'å¼å§', |
| | | pfsj: '07/29', |
| | | xsddh: '202207290001', |
| | | jgdh: 'MO-2022-07-29-0001', |
| | | cpmc: '产ååæµè¯', |
| | | gg: '@20', |
| | | dw: 'PCS', |
| | | rwsl: 2000, |
| | | wgsl: 1900, |
| | | blsl: 100, |
| | | wcl: '99%', |
| | | yjks: '07/21', |
| | | yjjs: '07/29' |
| | | }, |
| | | { |
| | | xh: 8, |
| | | jgzt: 'å¼å§', |
| | | pfsj: '07/29', |
| | | xsddh: '202207290001', |
| | | jgdh: 'MO-2022-07-29-0001', |
| | | cpmc: '产ååæµè¯', |
| | | gg: '@20', |
| | | dw: 'PCS', |
| | | rwsl: 2000, |
| | | wgsl: 1900, |
| | | blsl: 100, |
| | | wcl: '99%', |
| | | yjks: '07/21', |
| | | yjjs: '07/29' |
| | | }, |
| | | { |
| | | xh: 9, |
| | | jgzt: 'å¼å§', |
| | | pfsj: '07/29', |
| | | xsddh: '202207290001', |
| | | jgdh: 'MO-2022-07-29-0001', |
| | | cpmc: '产ååæµè¯', |
| | | gg: '@20', |
| | | dw: 'PCS', |
| | | rwsl: 2000, |
| | | wgsl: 1900, |
| | | blsl: 100, |
| | | wcl: '99%', |
| | | yjks: '07/21', |
| | | yjjs: '07/29' |
| | | }, |
| | | { |
| | | xh: 10, |
| | | jgzt: 'å¼å§', |
| | | pfsj: '07/29', |
| | | xsddh: '202207290001', |
| | | jgdh: 'MO-2022-07-29-0001', |
| | | cpmc: '产ååæµè¯', |
| | | gg: '@20', |
| | | dw: 'PCS', |
| | | rwsl: 2000, |
| | | wgsl: 1900, |
| | | blsl: 100, |
| | | wcl: '99%', |
| | | yjks: '07/21', |
| | | yjjs: '07/29' |
| | | } |
| | | ], |
| | | tableData: [], |
| | | tableDataRank: [// æè¡ |
| | | { xh: 'NO.1', cj: 'éçµè½¦é´', cx: 'éçµ1线', cp: 'F09éçµ', sl: 1000 }, |
| | | { xh: 'NO.2', cj: 'éçµè½¦é´', cx: 'éçµ1线', cp: 'F09éçµ', sl: 1000 }, |
| | |
| | | this.leftTopData = this.leftTopDataAll.slice(this.leftTopDataCurrentNumber, this.leftTopDataCurrentNumber + 2) |
| | | this.leftTopDataAllLength = this.leftTopDataAll.length |
| | | |
| | | // this.handleData() |
| | | // setInterval(this.handleData, 2000) |
| | | |
| | | this.getEcharts() |
| | | this.gettableDataRankRoll() |
| | | this.getValue() |
| | | }, |
| | | methods: { |
| | | async getValue() { |
| | | await this.getShopSearchLine() |
| | | await this.getLineSearchTopLeftData() |
| | | |
| | | // å¤çæ°æ® |
| | | await this.getEcharts() |
| | | await this.getTableDataRoll() |
| | | await this.getTableDataRankRoll() |
| | | }, |
| | | // ç产产线 |
| | | async getShopSearchLine() { |
| | | const { data: res } = await ShopSearchLine({ shopcode: '0101' }) |
| | | this.lineArr = res |
| | | }, |
| | | async getLineSearchTopLeftData() { |
| | | const data = this.lineArr |
| | | const { data: res } = await LineSearchTopLeftData(data) |
| | | // this.lineContent = res |
| | | |
| | | // let count = 0 |
| | | // setInterval(() => { |
| | | // this.lineContent = { |
| | | // linename: res[0].linename, |
| | | // lineworkcont: res[0].lineworkcont, |
| | | // children: res[0].children[count] |
| | | // } |
| | | // count++ |
| | | // if (res[0].children.length === count) { |
| | | // this.getLineSearchTopLeftData() |
| | | // } |
| | | // }, 1000) |
| | | }, |
| | | |
| | | handleData() { |
| | | console.log(this.leftTopDataCurrentNumber) |
| | | this.leftTopData = this.leftTopDataAll.slice(this.leftTopDataCurrentNumber, this.leftTopDataCurrentNumber + 2) |
| | | |
| | | if (this.leftTopDataCurrentNumber === this.leftTopDataAllLength - 2 || this.leftTopDataCurrentNumber === this.leftTopDataAllLength - 1) { |
| | |
| | | } |
| | | }, |
| | | |
| | | // å¨å¶è®¢åtable |
| | | getTableDataRoll() { |
| | | LineSearchBottomLeftData().then(res => { |
| | | this.tableData = res.data |
| | | }) |
| | | // const divData = this.$refs.tableData.bodyWrapper |
| | | // // æ¿å°å
ç´ åï¼å¯¹å
ç´ è¿è¡å®æ¶å¢å è·ç¦»é¡¶é¨è·ç¦»ï¼å®ç°æ»å¨ææ(æ¤é
置为æ¯100毫ç§ç§»å¨1åç´ ) |
| | | // setInterval(() => { |
| | | // // å
ç´ èªå¢è·ç¦»é¡¶é¨1åç´ |
| | | // divData.scrollTop += 40 |
| | | // // 夿å
ç´ æ¯å¦æ»å¨å°åºé¨(å¯è§é«åº¦+è·ç¦»é¡¶é¨=æ´ä¸ªé«åº¦) |
| | | // if (divData.clientHeight + divData.scrollTop === divData.scrollHeight) { |
| | | // // éç½®tableè·ç¦»é¡¶é¨è·ç¦» |
| | | // divData.scrollTop = 0 |
| | | // LineSearchBottomLeftData().then(res => { |
| | | // this.tableData = res.data |
| | | // }) |
| | | // } |
| | | // }, 1000) |
| | | }, |
| | | // äº§çº¿äº§åæ°éæè¡æ»å¨ææ |
| | | gettableDataRankRoll() { |
| | | const divData = this.$refs.tableDataRank.bodyWrapper |
| | | // æ¿å°å
ç´ åï¼å¯¹å
ç´ è¿è¡å®æ¶å¢å è·ç¦»é¡¶é¨è·ç¦»ï¼å®ç°æ»å¨ææ(æ¤é
置为æ¯100毫ç§ç§»å¨1åç´ ) |
| | | setInterval(() => { |
| | | // å
ç´ èªå¢è·ç¦»é¡¶é¨1åç´ |
| | | divData.scrollTop += 40 |
| | | // 夿å
ç´ æ¯å¦æ»å¨å°åºé¨(å¯è§é«åº¦+è·ç¦»é¡¶é¨=æ´ä¸ªé«åº¦) |
| | | if (divData.clientHeight + divData.scrollTop === divData.scrollHeight) { |
| | | // éç½®tableè·ç¦»é¡¶é¨è·ç¦» |
| | | divData.scrollTop = 0 |
| | | console.log('è¯¥è¯·æ±æ¥å£äºï¼') |
| | | } |
| | | }, 2000) |
| | | getTableDataRankRoll() { |
| | | LineSearchTopRightData().then(res => { |
| | | this.tableDataRank = res.data |
| | | }) |
| | | |
| | | // const divData = this.$refs.tableDataRank.bodyWrapper |
| | | // // æ¿å°å
ç´ åï¼å¯¹å
ç´ è¿è¡å®æ¶å¢å è·ç¦»é¡¶é¨è·ç¦»ï¼å®ç°æ»å¨ææ(æ¤é
置为æ¯100毫ç§ç§»å¨1åç´ ) |
| | | // setInterval(() => { |
| | | // // å
ç´ èªå¢è·ç¦»é¡¶é¨1åç´ |
| | | // divData.scrollTop += 40 |
| | | // // 夿å
ç´ æ¯å¦æ»å¨å°åºé¨(å¯è§é«åº¦+è·ç¦»é¡¶é¨=æ´ä¸ªé«åº¦) |
| | | // if (divData.clientHeight + divData.scrollTop === divData.scrollHeight) { |
| | | // // éç½®tableè·ç¦»é¡¶é¨è·ç¦» |
| | | // divData.scrollTop = 0 |
| | | // LineSearchTopRightData().then(res => { |
| | | // console.log('äºï¼') |
| | | // this.tableDataRank = res.data |
| | | // }) |
| | | // } |
| | | // }, 2000) |
| | | }, |
| | | // è·åecharts |
| | | getEcharts() { |
| | | loadEcharts('bar02', bar02()) |
| | | LineSearchBottomRightData().then(res => { |
| | | loadEcharts('bar02', bar02(res.data)) |
| | | }) |
| | | |
| | | // setInterval(() => { |
| | | // LineSearchBottomRightData().then(res => { |
| | | // loadEcharts('bar02', bar02(res.data)) |
| | | // }) |
| | | // }, 1000 * 5) |
| | | }, |
| | | // è·åå½åæ¶é´ |
| | | getNowTime() { |
| | |
| | | }, |
| | | headerCellStyle() { |
| | | return { |
| | | // backgroundColor: '#044563', |
| | | backgroundColor: '#000', |
| | | padding: '10px 0', |
| | | textAlign: 'center', |
| | |
| | | } |
| | | }, |
| | | cellStyle() { |
| | | return { |
| | | padding: '8px 0', |
| | | textAlign: 'center', |
| | | backgroundColor: '#000', |
| | | // backgroundColor: 'transparent', |
| | | color: '#fff', |
| | | borderRight: '1px solid rgba(255,255,255,0.6)' |
| | | } |
| | | }, |
| | | headerCellStyleRank() { |
| | | return { |
| | | // backgroundColor: '#00121c', |
| | | backgroundColor: '#000', |
| | | padding: '10px 0', |
| | | textAlign: 'center', |
| | | color: '#fff', |
| | | borderRight: '1px solid rgba(255,255,255,0.6)' |
| | | } |
| | | }, |
| | | cellStyleRank() { |
| | | return { |
| | | padding: '8px 0', |
| | | textAlign: 'center', |
| | |
| | | position: relative; |
| | | height: 990px; |
| | | width: 100%; |
| | | background-color: #000; |
| | | //background-color: #000; |
| | | letter-spacing: 2px; |
| | | |
| | | .kb_left { |
| | |
| | | } |
| | | } |
| | | |
| | | .kb_block03_03 { |
| | | //position: absolute; |
| | | |
| | | .kb_block03_03_content { |
| | | width: 200px; |
| | | |
| | | .line { |
| | | width: 50px; |
| | | height: 2px; |
| | | margin-top: 12px; |
| | | background-color: #42b983; |
| | | position: absolute; |
| | | //top: 55px; |
| | | //margin-left: 300px; |
| | | //right: 0; |
| | | //left: 200px; |
| | | } |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | } |
| | |
| | | } |
| | | |
| | | ::v-deep .el-table__body-wrapper { |
| | | //background-color: #044563; |
| | | background-color: #000; |
| | | } |
| | | |
| | | ::v-deep .tableDataRank .el-table__body-wrapper { |
| | | //background-color: #00121c; |
| | | background-color: #000; |
| | | } |
| | | |
| | |
| | | /* width: 0;宽度为0æè */ |
| | | width: 0; |
| | | } |
| | | |
| | | /* å®ä¹keyframeså¨ç»ï¼å½å为blink*/ |
| | | @keyframes blink { |
| | | 0% { |
| | | opacity: 1 |
| | | } |
| | | 100% { |
| | | opacity: 0 |
| | | } |
| | | } |
| | | |
| | | /*æ·»å å
¼å®¹æ§åç¼*/ |
| | | @-webkit-keyframes blink { |
| | | 0% { |
| | | opacity: 1 |
| | | } |
| | | 100% { |
| | | opacity: 0 |
| | | } |
| | | } |
| | | |
| | | @-o-keyframes blink { |
| | | 0% { |
| | | opacity: 1 |
| | | } |
| | | 100% { |
| | | opacity: 0 |
| | | } |
| | | } |
| | | |
| | | @-moz-keyframes blink { |
| | | 0% { |
| | | opacity: 1 |
| | | } |
| | | 100% { |
| | | opacity: 0 |
| | | } |
| | | } |
| | | |
| | | @-ms-keyframes blink { |
| | | 0% { |
| | | opacity: 1 |
| | | } |
| | | 100% { |
| | | opacity: 0 |
| | | } |
| | | } |
| | | |
| | | .circleYellow { |
| | | width: 26px; |
| | | height: 26px; |
| | | background-color: rgb(255 255 0); |
| | | border-radius: 50%; |
| | | |
| | | animation: blink 2s linear infinite; |
| | | -webkit-animation: blink 2s linear infinite; |
| | | -moz-animation: blink 2s linear infinite; |
| | | -ms-animation: blink 2s linear infinite; |
| | | -o-animation: blink 2s linear infinite; |
| | | } |
| | | </style> |