123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928 |
- <template>
- <h1>组件示例</h1>
- <tab :data="tabData" @select="select" />
- <!-- 图表 -->
- <el-scrollbar v-if="currTab == 1" style="height: 85%">
- <h2>图表</h2>
- <h2>07-16新增</h2>
- <scatter-line-chart
- :lineData="scatterLineData.lineData"
- :data="scatterLineData.data"
- :height="'250px'"
- />
- <h2>07-12新增</h2>
- <h3>折现: zoom-line-chart</h3>
- <zoom-line-chart :height="'250px'" :smooth="false" :showLegend="true" />
- <h3>组合: area-line-chart</h3>
- <area-line-chart @areaClick="areaBarChartClick" :showLegend="true" />
- <h2>07-08新增</h2>
- <h3>组合: 时间区域 area-bar-chart</h3>
- <area-bar-chart @areaClick="areaBarChartClick" :showLegend="true" />
- <h3>组合: 柱线图 multiple-bar-line-chart</h3>
- <multiple-bar-line-chart :height="'250px'" />
- <h3>散点图 normal-scatter-chart</h3>
- <normal-scatter-chart :data="scatterData" />
- <h2>07-07新增</h2>
- <h3>柱状图:multiple-y-line-chart</h3>
- <multiple-y-line-chart :height="'300px'" />
- <h2>old</h2>
- <h3>柱状图:horizontal-bar-chart</h3>
- <horizontal-bar-chart :height="'300px'" />
- <h3>柱状图:horizontal-bar-chart</h3>
- <hover-bar-chart :list="HoverBarChart" :height="'200px'" />
- <h3>柱状图:list-bar-chart-2</h3>
- <list-bar-chart-2 :list="ListBarChart" :height="'200px'" />
- <h3>柱状图:multiple-bar-chart</h3>
- <multiple-bar-chart :list="MultipleBarChart" :height="'200px'" />
- <h3>柱状图:multiple-hover-bar-chart</h3>
- <multiple-hover-bar-chart :height="'200px'" />
- <h3>柱状图:percent-bar</h3>
- <percent-bar />
- <h3>柱状图:single-bar-chart</h3>
- <single-bar-chart />
- <h3>柱状图:thermometer</h3>
- <thermometer />
- <h3>组合:bar-line-chart</h3>
- <bar-line-chart :height="'300px'" :pageSize="10" />
- <h3>vertival-bar-line-chart</h3>
- <vertival-bar-line-chart :height="'300px'" />
- <h3>折线图:double-line-chart</h3>
- <double-line-chart :height="'200px'" />
- <h3>折线图:multiple-line-chart</h3>
- <multiple-line-chart :height="'200px'" />
- <h3>折线图:multi-arrow-line-chart</h3>
- <multi-arrow-line-chart :height="'200px'" />
- <h3>折线图:normal-line-chart</h3>
- <normal-line-chart />
- <h3>折线图:simple-line-chart</h3>
- <simple-line-chart />
- <h3>折线图:table-line-chart</h3>
- <table-line-chart />
- <h3>饼图:dash-pie-chart</h3>
- <div style="width: 350px">
- <dash-pie-chart />
- </div>
- <h3>饼图:dual-pie-chart</h3>
- <div style="width: 350px">
- <dual-pie-chart />
- </div>
- <h3>饼图:normal-pie-chart</h3>
- <div style="width: 350px">
- <normal-pie-chart />
- </div>
- <h3>饼图:percent-pie-chart</h3>
- <div style="width: 350px">
- <percent-pie-chart />
- </div>
- <h3>饼图:direction-radar-chart</h3>
- <div style="height: 500px">
- <direction-radar-chart :height="'500px'" />
- </div>
- <h3>饼图:normal-radar-chart</h3>
- <div style="height: 500px">
- <normal-radar-chart :height="'500px'" />
- </div>
- <h3>饼图:radar-chart</h3>
- <div style="height: 500px">
- <radar-chart :height="'500px'" />
- </div>
- </el-scrollbar>
- <!-- 组件 -->
- <el-scrollbar v-if="currTab == 2" style="height: 85%">
- <h3>panel</h3>
- <panel :title="'title 标题'"> 带标题title </panel>
- <br />
- <panel> 无标题title </panel>
- <h3>panel-2</h3>
- <panel-2 :title="'panel -2'"> panel 2 </panel-2>
- <h3>panel-3</h3>
- <panel-3> panel-3 </panel-3>
- <h3>toolbar-panel</h3>
- <toolbar-panel title="toolbar-panel">
- <template v-slot:tools>
- <div class="tools">
- <div class="tool-block">
- <div class="legend bg-green"></div>
- <div class="legend-text">实际电量</div>
- </div>
- <div class="tool-block">
- <div class="legend bg-orange"></div>
- <div class="legend-text">计划检修损失</div>
- </div>
- <div class="tool-block">
- <div class="legend bg-yellow"></div>
- <div class="legend-text">非计划检修损失</div>
- </div>
- <div class="tool-block">
- <div class="legend bg-red"></div>
- <div class="legend-text">限电损失</div>
- </div>
- <div class="tool-block">
- <div class="legend bg-purple"></div>
- <div class="legend-text">受累损失</div>
- </div>
- <div class="tool-block">
- <div class="legend bg-blue"></div>
- <div class="legend-text">性能损失</div>
- </div>
- </div>
- </template>
- <bar-line-chart :height="'calc(100vh - 200px)'" :color="barColor" />
- </toolbar-panel>
- <h3>btn-group-double</h3>
- <btn-group-double :btnGroups="btnGroups" @select="btnGroupDoubleSelect" />
- <h3>card-1</h3>
- <card-1 />
- <h3>percent-card</h3>
- <percent-card :value="25" :title="'标题'" />
- <h3>percent-card-2</h3>
- <percent-card-2 />
- <h3>collapse-list</h3>
- <div style="width: 200px">
- <collapse-list />
- </div>
- <h3>list</h3>
- <div style="width: 200px">
- <list />
- </div>
- </el-scrollbar>
- <!-- Table 组件 -->
- <el-scrollbar v-if="currTab == 3" style="height: 85%">
- <h2>07-09更新</h2>
- <h3>table-2</h3>
- <h3>组件说明:</h3>
- <p>与原组件使用方式基本相同 原table组件满足的情况下,不更换新组件也可以</p>
- <p>新table支持原table所有特性,优化了props及column, 支持更多功能</p>
- <p>现支持 文本省略及鼠标浮动显示</p>
- <p>
- * 原有template 及第三方标签实现方式更改 删除了column 中的
- template、type及props
- </p>
- <h3>props说明:</h3>
- <p>
- height : string 高度 指定列表高度 自动判断是否显示滚动条,
- 不进行设置则为最大宽度且没有滚动条
- </p>
- <p>pageSize : number 分页个数 若不传 pagesize 不进行分页处理</p>
- <p>@onPagging : method 分页回调</p>
- <p>data : Object 数据源 { column: [] , data:[] , total: number }</p>
- <h3>column说明:</h3>
- <p>
- { name: "风机名称", field: "name", width:'', click:function(){ }
- ,sortable:fasle, slot:false, fixed:false, align:"center" }
- </p>
- <p>name : string 列名</p>
- <p>field : string 对应数据项 同时使用于具名插槽的name值</p>
- <p>
- width : 列宽 可自定与每列宽度 如果想设置横向滚动条 需手动设置列宽
- 满足各列宽度和大于屏幕宽度
- </p>
- <p>click : 点击事件 与原有table相同</p>
- <p>sortable : 排序</p>
- <p>
- slot: 开启插槽 为true时, 可在HTML中添加 插槽模板 添加自定义内容 为false时,
- 默认对应显示值, 示例参考代码中template
- </p>
- <p>fixed: 固定列</p>
- <p>align: 默认文本居中 left | center| right</p>
- <table-2
- :data="tableData2"
- :height="'200px'"
- :pageSize="10"
- @onPagging="tableonPagging"
- >
- <!-- v-slot:[field] 对应列嵌入自定义内容 包括第三方标签 -->
- <!-- 同时需要在 colum 中设置 slot:true -->
- <!-- 如果只设置 slot:true 不写模板 列不存在内容 -->
- <!-- scope 内容 scope.column 传入的 col 值, scope.row 数据值 -->
- <template v-slot:lqf="scope">
- {{ scope.column.name }}:{{ scope.row.lqf }}
- </template>
- <template v-slot:action="scope">
- <a
- style="cursor: pointer; color: green; margin-right: 8px"
- @click="tableAction(scope)"
- >
- 点击查看组件点击事件返回信息
- </a>
- <a style="cursor: pointer; color: green; margin-right: 8px">
- {{ scope.column.name }}2
- </a>
- <a style="cursor: pointer; color: green; margin-right: 8px">
- {{ scope.column.name }}3
- </a>
- </template>
- </table-2>
- <h3>table</h3>
- <Table
- :data="tableData"
- :height="'200px'"
- :canScroll="true"
- :pageSize="40"
- :showHover="false"
- @onPagging="tableonPagging"
- />
- <h3>table</h3>
- <check-table
- :data="tableData"
- :height="'200px'"
- :canScroll="true"
- :pageSize="40"
- :showHover="false"
- @onPagging="tableonPagging"
- @check="CheckTableonCheck"
- />
- <h3>el-table</h3>
- <el-table
- class="custom-table"
- :data="eltableData"
- max-height="200"
- stripe
- style="width: 100%"
- border="false"
- >
- <el-table-column prop="date" label="日期" width="150"> </el-table-column>
- <el-table-column label="配送信息">
- <el-table-column prop="name" label="姓名" width="120">
- </el-table-column>
- <el-table-column label="地址">
- <el-table-column prop="province" label="省份" width="120">
- </el-table-column>
- <el-table-column prop="city" label="市区" width="120">
- </el-table-column>
- <el-table-column prop="address" label="地址"> </el-table-column>
- <el-table-column prop="zip" label="邮编" width="120">
- </el-table-column>
- </el-table-column>
- </el-table-column>
- </el-table>
- <div>
- <el-table
- class="custom-table"
- :data="treeTableData"
- style="width: 100%; margin-bottom: 20px"
- row-key="id"
- border
- default-expand-all
- :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
- >
- <el-table-column prop="date" label="日期" sortable width="180">
- </el-table-column>
- <el-table-column prop="name" label="姓名" sortable width="180">
- </el-table-column>
- <el-table-column prop="address" label="地址"> </el-table-column>
- </el-table>
- </div>
- </el-scrollbar>
- <!-- icon -->
- <el-scrollbar v-if="currTab == 4" style="height: 85%">
- <i class="svg-icon svg-icon-sm mg-r-16">
- <svg-icon :svgid="'svg-wind-site'" />
- </i>
- <i class="svg-icon svg-icon-green mg-r-16">
- <svg-icon :svgid="'svg-wind-site'" />
- </i>
- <i class="svg-icon svg-icon-lg svg-icon-red mg-r-16">
- <svg-icon :svgid="'svg-wind-site'" />
- </i>
- </el-scrollbar>
- <!-- el-compoments -->
- <el-scrollbar v-if="currTab == 5" style="height: 85%">
- <el-button type="text" @click="dialogTableVisible = true"
- >打开 Dialog</el-button
- >
- <el-tree
- :data="elTreeData.data"
- :props="elTreeData.defaultProps"
- @node-click="handleNodeClick"
- ></el-tree>
- <el-cascader
- :options="cascader.options"
- :props="cascader.props"
- clearable
- ></el-cascader>
- </el-scrollbar>
- <!-- 表格合并 -->
- <div v-if="currTab == 6" style="height: 70%">
- <el-button
- type="text"
- @click="
- () => {
- tableMergeStyleShow = !tableMergeStyleShow;
- BASE.showMsg({ type: 'success', msg: '表格样式已切换' });
- }
- "
- >切换表格样式</el-button
- >
- <el-button
- type="text"
- @click="
- () => {
- BASE.showMsg({ type: 'success', msg: '数据已刷新' });
- createMergeTable(createSum);
- }
- "
- >刷新表格数据</el-button
- >
- <el-button
- type="text"
- @click="
- () => {
- createSum = !createSum;
- BASE.showMsg({
- type: createSum ? 'success' : 'warning',
- msg: `合计行已${createSum ? '显示' : '隐藏'}`,
- });
- createMergeTable(createSum);
- }
- "
- >{{ createSum ? "隐藏" : "显示" }}表格合计</el-button
- >
- <el-table
- style="width: 100%"
- height="100%"
- :class="tableMergeStyleShow ? 'custom-table' : ''"
- :data="tableMergeData"
- :span-method="tableMergeArraySpanMethod"
- :show-summary="createSum"
- :summary-method="tableMergeDataSumMethod"
- sum-text="总计"
- >
- <el-table-column prop="fpName" label="名称" width="150" />
- <el-table-column prop="sd" label="时段" align="center" />
- <el-table-column label="时间">
- <el-table-column prop="sj1" label="2020-02-01" align="center" />
- <el-table-column prop="sj2" label="2020-02-02" align="center" />
- <el-table-column prop="sj3" label="2020-02-03" align="center" />
- <el-table-column prop="sj4" label="2020-02-04" align="center" />
- <el-table-column prop="sj5" label="2020-02-05" align="center" />
- <el-table-column prop="sj6" label="2020-02-06" align="center" />
- <el-table-column prop="sj7" label="2020-02-07" align="center" />
- <el-table-column prop="sj8" label="2020-02-08" align="center" />
- <el-table-column prop="sj9" label="2020-02-09" align="center" />
- <el-table-column prop="sj10" label="2020-02-10" align="center" />
- </el-table-column>
- </el-table>
- </div>
- <el-dialog custom-class="modal" title="收货地址" v-model="dialogTableVisible">
- <el-tree
- :data="elTreeData.data"
- :props="elTreeData.defaultProps"
- @node-click="handleNodeClick"
- ></el-tree>
- </el-dialog>
- </template>
- <script>
- import horizontalBarChart from "../components/chart/bar/horizontal-bar-chart.vue";
- import HoverBarChart from "../components/chart/bar/hover-bar-chart.vue";
- import ListBarChart2 from "../components/chart/bar/list-bar-chart2.vue";
- import MultipleBarChart from "../components/chart/bar/multiple-bar-chart.vue";
- import MultipleHoverBarChart from "../components/chart/bar/multiple-hover-bar-chart.vue";
- import PercentBar from "../components/chart/bar/percent-bar.vue";
- import SingleBarChart from "../components/chart/bar/single-bar-chart.vue";
- import Thermometer from "../components/chart/bar/thermometer.vue";
- import AreaBarChart from "../components/chart/combination/area-bar-chart.vue";
- import BarLineChart from "../components/chart/combination/bar-line-chart.vue";
- import MultipleBarLineChart from "../components/chart/combination/multiple-bar-line-chart.vue";
- import VertivalBarLineChart from "../components/chart/combination/vertival-bar-line-chart.vue";
- import DoubleLineChart from "../components/chart/line/double-line-chart.vue";
- import MultipleLineChart from "../components/chart/line/multiple-line-chart.vue";
- import MultipleYLineChart from "../components/chart/line/multiple-y-line-chart.vue";
- import NormalLineChart from "../components/chart/line/normal-line-chart.vue";
- import SimpleLineChart from "../components/chart/line/simple-line-chart.vue";
- import TableLineChart from "../components/chart/line/table-line-chart.vue";
- import DashPieChart from "../components/chart/pie/dash-pie-chart.vue";
- import DualPieChart from "../components/chart/pie/dual-pie-chart.vue";
- import NormalPieChart from "../components/chart/pie/normal-pie-chart.vue";
- import PercentPieChart from "../components/chart/pie/percent-pie-chart.vue";
- import DirectionRadarChart from "../components/chart/radar/direction-radar-chart.vue";
- import NormalRadarChart from "../components/chart/radar/normal-radar-chart.vue";
- import RadarChart from "../components/chart/radar/radar-chart.vue";
- import NormalScatterChart from "../components/chart/scatter/normal-scatter-chart.vue";
- import BtnGroupDouble from "../components/coms/btn/btn-group-double.vue";
- import Card1 from "../components/coms/cards/card-1.vue";
- import PercentCard2 from "../components/coms/cards/percent-card-2.vue";
- import PercentCard from "../components/coms/cards/percent-card.vue";
- import CollapseList from "../components/coms/collapse/collapse-list.vue";
- import SvgIcon from "../components/coms/icon/svg-icon.vue";
- import List from "../components/coms/list/list.vue";
- import Panel from "../components/coms/panel/panel.vue";
- import Panel2 from "../components/coms/panel/panel2.vue";
- import Panel3 from "../components/coms/panel/panel3.vue";
- import ToolbarPanel from "../components/coms/panel/toolbar-panel.vue";
- import CheckTable from "../components/coms/table/check-table.vue";
- import Table from "../components/coms/table/table.vue";
- import Table2 from "../components/coms/table/table2.vue";
- import Tab from "../components/coms/tabs/tab.vue";
- import multiArrowLineChart from "../components/chart/line/multi-arrow-line-chart.vue";
- import ZoomLineChart from "../components/chart/line/zoom-line-chart.vue";
- import AreaLineChart from "../components/chart/combination/area-line-chart.vue";
- import ScatterLineChart from "../components/chart/combination/scatter-line-chart.vue";
- export default {
- components: {
- horizontalBarChart,
- HoverBarChart,
- ListBarChart2,
- MultipleBarChart,
- MultipleHoverBarChart,
- PercentBar,
- SingleBarChart,
- Thermometer,
- BarLineChart,
- VertivalBarLineChart,
- DoubleLineChart,
- MultipleLineChart,
- NormalLineChart,
- SimpleLineChart,
- TableLineChart,
- DashPieChart,
- DualPieChart,
- NormalPieChart,
- PercentPieChart,
- DirectionRadarChart,
- NormalRadarChart,
- RadarChart,
- Tab,
- BtnGroupDouble,
- Card1,
- PercentCard,
- PercentCard2,
- CollapseList,
- List,
- Panel,
- Panel2,
- Panel3,
- ToolbarPanel,
- Table,
- CheckTable,
- SvgIcon,
- MultipleYLineChart,
- NormalScatterChart,
- AreaBarChart,
- MultipleBarLineChart,
- Table2,
- multiArrowLineChart,
- ZoomLineChart,
- AreaLineChart,
- ScatterLineChart,
- },
- methods: {
- select(data) {
- this.currTab = parseInt(data.id);
- },
- btnGroupDoubleSelect(param) {
- console.log("btn-group-double");
- console.log(param);
- },
- tableonPagging(param) {
- console.log("table pagging event");
- console.log(param);
- this.tableData.data = [
- {
- index: 1,
- name: "MG01-01",
- lqf: "0.1000",
- yggl: "0.1000",
- yyy: "0.10",
- pcspp: "0.1000",
- u1: "0.1000",
- u2: "0.1000",
- v1: "0.1000",
- v2: "0.1000",
- w1: "0.1000",
- w2: "0.1000",
- zca: "0.1000",
- zcb: "0.1000",
- clx: "0.1000",
- clx1: "0.1000",
- clx2: "0.1000",
- jc: "0.1000",
- hh: "0.1000",
- hj: "0.1000",
- is_light: false,
- },
- ];
- let index = 0;
- for (let i = param.start; i < param.end; i++) {
- this.tableData.data.push(
- JSON.parse(JSON.stringify(this.tableData.data[0]))
- );
- this.tableData.data[index].index = i + 1;
- index++;
- }
- },
- CheckTableonCheck(param) {
- console.log("table check event");
- console.log(param);
- },
- areaBarChartClick(param) {
- console.log(param);
- },
- tableAction(param) {
- console.log(param);
- },
- createMergeTable(createSum = false) {
- let tableMergeData = [];
- let tableNum = this.BASE.randomNum(30, 50);
- const sd = [{ title: "上午" }, { title: "中午" }, { title: "下午" }];
- let hjFlg = false;
- let cellSumIdx = 0;
- for (let i = 0; i < tableNum; i++) {
- const sdNum = this.BASE.randomNum(0, 3);
- hjFlg = sdNum > 0 ? true : false;
- const fpName = this.BASE.randomNum(0, 1)
- ? `风电场 - (${this.BASE.randomNum(1000, 99999)})`
- : `光伏电站 - (${this.BASE.randomNum(1000, 99999)})`;
- for (let j = 0; j < sdNum; j++) {
- tableMergeData.push({
- fpName,
- sd: sd[j].title,
- sj1: this.BASE.randomNum(1, 9999),
- sj2: this.BASE.randomNum(1, 9999),
- sj3: this.BASE.randomNum(1, 9999),
- sj4: this.BASE.randomNum(1, 9999),
- sj5: this.BASE.randomNum(1, 9999),
- sj6: this.BASE.randomNum(1, 9999),
- sj7: this.BASE.randomNum(1, 9999),
- sj8: this.BASE.randomNum(1, 9999),
- sj9: this.BASE.randomNum(1, 9999),
- sj10: this.BASE.randomNum(1, 9999),
- cellArray: j ? [j, 0] : [sdNum + (createSum ? 1 : 0), 1],
- cellIndex: j,
- cellSumIdx,
- });
- }
- if (hjFlg && createSum) {
- let sj1 = 0;
- let sj2 = 0;
- let sj3 = 0;
- let sj4 = 0;
- let sj5 = 0;
- let sj6 = 0;
- let sj7 = 0;
- let sj8 = 0;
- let sj9 = 0;
- let sj10 = 0;
- tableMergeData.forEach((ele) => {
- if (cellSumIdx === ele.cellSumIdx) {
- sj1 += ele.sj1;
- sj2 += ele.sj2;
- sj3 += ele.sj3;
- sj4 += ele.sj4;
- sj5 += ele.sj5;
- sj6 += ele.sj6;
- sj7 += ele.sj7;
- sj8 += ele.sj8;
- sj9 += ele.sj9;
- sj10 += ele.sj10;
- }
- });
- tableMergeData.push({
- fpName,
- sd: "合计",
- sj1,
- sj2,
- sj3,
- sj4,
- sj5,
- sj6,
- sj7,
- sj8,
- sj9,
- sj10,
- cellArray: [0, 0],
- cellIndex: -1,
- });
- }
- cellSumIdx++;
- }
- this.tableMergeData = tableMergeData;
- },
- tableMergeArraySpanMethod(row) {
- if (!row.columnIndex) {
- if (row.row.cellArray[0]) {
- return row.row.cellArray;
- } else if (
- row.row.cellArray[0] &&
- row.rowIndex & (row.row.cellArray[0] === row.row.cellIndex)
- ) {
- return [0, 0];
- } else if (row.row.cellIndex === -1) {
- return [0, 0];
- }
- }
- },
- tableMergeDataSumMethod() {
- let sj1 = 0;
- let sj2 = 0;
- let sj3 = 0;
- let sj4 = 0;
- let sj5 = 0;
- let sj6 = 0;
- let sj7 = 0;
- let sj8 = 0;
- let sj9 = 0;
- let sj10 = 0;
- this.tableMergeData.forEach((ele) => {
- if (ele.cellIndex !== -1) {
- sj1 += ele.sj1;
- sj2 += ele.sj2;
- sj3 += ele.sj3;
- sj4 += ele.sj4;
- sj5 += ele.sj5;
- sj6 += ele.sj6;
- sj7 += ele.sj7;
- sj8 += ele.sj8;
- sj9 += ele.sj9;
- sj10 += ele.sj10;
- }
- });
- return ["总计", "", sj1, sj2, sj3, sj4, sj5, sj6, sj7, sj8, sj9, sj10];
- },
- },
- data() {
- return {
- currTab: 1,
- tabData: [
- {
- id: "1",
- text: "图表",
- },
- {
- id: "2",
- text: "组件",
- },
- {
- id: "3",
- text: "表格",
- },
- {
- id: "4",
- text: "图标",
- },
- {
- id: "5",
- text: "element 组件",
- },
- {
- id: "6",
- text: "表格合并",
- },
- ],
- tableData: {
- column: [
- {
- name: "",
- field: "index",
- width: "50px",
- is_num: false,
- is_light: false,
- },
- {
- name: "名称",
- field: "name",
- is_num: false,
- is_light: false,
- click: function (event, data) {
- console.log(event);
- console.log(data);
- },
- },
- {
- name: "理论发电量",
- field: "lqf",
- is_num: false,
- is_light: false,
- slot: true,
- },
- {
- name: "SCADA发电量",
- field: "yggl",
- is_num: false,
- is_light: false,
- },
- {
- name: "风速",
- field: "yyy",
- is_num: false,
- is_light: false,
- },
- {
- name: "非计划检修",
- field: "pcspp",
- is_num: false,
- is_light: false,
- },
- {
- name: "计划检修",
- field: "u1",
- is_num: false,
- is_light: false,
- },
- {
- name: "受累",
- field: "u2",
- is_num: false,
- is_light: true,
- },
- {
- name: "限电",
- field: "v1",
- is_num: false,
- is_light: false,
- },
- {
- name: "性能",
- field: "v2",
- is_num: false,
- is_light: false,
- },
- {
- name: "风能率用率%",
- field: "w1",
- is_num: false,
- is_light: false,
- },
- ],
- data: [
- {
- index: 1,
- id: "",
- name: "MG01-01",
- lqf: "0.1000",
- yggl: "0.1000",
- yyy: "0.10",
- pcspp: "0.1000",
- u1: "0.1000",
- u2: "0.1000",
- v1: "0.1000",
- v2: "0.1000",
- w1: "0.1000",
- w2: "0.1000",
- zca: "0.1000",
- zcb: "0.1000",
- clx: "0.1000",
- clx1: "0.1000",
- clx2: "0.1000",
- jc: "0.1000",
- hh: "0.1000",
- hj: "0.1000",
- is_light: false,
- },
- ],
- total: 100,
- },
- tableData2: {
- column: [
- {
- name: "",
- field: "index",
- width: 50,
- sortable: true,
- },
- {
- name: "名称",
- field: "name",
- width: 200,
- click: function (event, data) {
- console.log(event);
- console.log(data);
- },
- align: "left",
- resizable: true,
- },
- {
- name: "理论发电量",
- width: 200,
- field: "lqf",
- slot: true,
- },
- {
- width: 200,
- name: "SCADA发电量",
- field: "yggl",
- },
- {
- name: "风速",
- width: 80,
- field: "yyy",
- sortable: true,
- align: "right",
- },
- {
- name: "非计划检修",
- field: "pcspp",
- width: 200,
- },
- {
- name: "计划检修",
- width: 200,
- field: "u1",
- },
- {
- name: "受累",
- width: 200,
- field: "u2",
- },
- {
- name: "限电",
- field: "v1",
- width: 200,
- },
- {
- name: "性能",
- width: 200,
- field: "v2",
- },
- {
- name: "风能率用率%",
- width: 200,
- field: "w1",
- },
- {
- name: "操作",
- field: "action",
- width: 400,
- slot: true,
- },
- ],
- data: [
- {
- index: 1,
- id: "123",
- name: "MG01-01",
- lqf: "0.1000",
- yggl: "0.1000",
- yyy: "0.10",
- pcspp: "0.1000",
- u1: "0.1000",
- u2: "0.1000",
- v1: "0.1000",
- v2: "0.1000",
- w1: "0.1000",
- w2: "0.1000",
- zca: "0.1000",
- zcb: "0.1000",
- clx: "0.1000",
- clx1: "0.1000",
- clx2: "0.1000",
- jc: "0.1000",
- hh: "0.1000",
- hj: "0.1000",
- is_light: false,
- },
- ],
- total: 100,
- },
- // 柱状图:horizontal-bar-chart data
- HorizontalBarChart: {
- area: [
- "新荣区",
- "平城区",
- "云冈区",
- "云州区",
- "阳高县",
- "天镇县",
- "广灵县",
- "浑源县",
- "左云县",
- ],
- legend: ["因病", "因残", "因学", "因灾", "缺土地", "缺水"],
- data: [
- [1320, 1302, 901, 634, 1390, 1330, 1320, 1000, 500],
- [320, 302, 301, 334, 390, 330, 320, 100, 50],
- [320, 302, 301, 334, 390, 330, 320, 100, 50],
- [320, 302, 301, 334, 390, 330, 320, 100, 50],
- [320, 302, 301, 334, 390, 330, 320, 100, 50],
- [320, 302, 301, 334, 390, 330, 320, 100, 50],
- ],
- },
- // 柱状图:horizontal-bar-chart data
- HoverBarChart: [
- {
- text: "1",
- value: 1,
- },
- {
- text: "2",
- value: 2,
- },
- {
- text: "3",
- value: 1,
- },
- {
- text: "4",
- value: 3,
- },
- {
- text: "5",
- value: 3,
- },
- {
- text: "6",
- value: 3,
- },
- {
- text: "7",
- value: 3,
- },
- {
- text: "8",
- value: 3,
- },
- {
- text: "9",
- value: 3,
- },
- {
- text: "10",
- value: 3,
- },
- {
- text: "11",
- value: 3,
- },
- {
- text: "12",
- value: 3,
- },
- {
- text: "13",
- value: 3,
- },
- {
- text: "14",
- value: 3,
- },
- {
- text: "15",
- value: 3,
- },
- {
- text: "16",
- value: 3,
- },
- {
- text: "17",
- value: 3,
- },
- {
- text: "18",
- value: 3,
- },
- {
- text: "19",
- value: 3,
- },
- {
- text: "20",
- value: 3,
- },
- {
- text: "21",
- value: 3,
- },
- {
- text: "22",
- value: 3,
- },
- {
- text: "23",
- value: 3,
- },
- {
- text: "24",
- value: 3,
- },
- {
- text: "25",
- value: 3,
- },
- {
- text: "26",
- value: 3,
- },
- {
- text: "27",
- value: 3,
- },
- {
- text: "28",
- value: 3,
- },
- {
- text: "29",
- value: 3,
- },
- {
- text: "30",
- value: 3,
- },
- {
- text: "31",
- value: 3,
- },
- ],
- // list-bar-chart-2 data
- ListBarChart: [
- {
- name: "当日预测电量",
- value: 103.62,
- total: 150,
- },
- {
- name: "实际发电量",
- value: 98.62,
- total: 100,
- },
- {
- name: "当月预测电量",
- value: 113.27,
- total: 150,
- },
- {
- name: "实际发电量",
- value: 136.72,
- total: 150,
- },
- ],
- // multiple-bar-chart data
- MultipleBarChart: [
- {
- title: "日发电量",
- yAxisIndex: 0,
- value: [
- {
- text: "1日",
- value: 1,
- },
- {
- text: "2日",
- value: 2,
- },
- {
- text: "3日",
- value: 1,
- },
- {
- text: "4日",
- value: 3,
- },
- {
- text: "5日",
- value: 3,
- },
- {
- text: "6日",
- value: 3,
- },
- {
- text: "7日",
- value: 3,
- },
- ],
- },
- {
- title: "上网电量",
- yAxisIndex: 0,
- value: [
- {
- text: "1日",
- value: 1,
- },
- {
- text: "2日",
- value: 2,
- },
- {
- text: "3日",
- value: 1,
- },
- {
- text: "4日",
- value: 3,
- },
- {
- text: "5日",
- value: 3,
- },
- {
- text: "6日",
- value: 3,
- },
- {
- text: "7日",
- value: 3,
- },
- ],
- },
- {
- title: "购网电量",
- yAxisIndex: 0,
- value: [
- {
- text: "1日",
- value: 1,
- },
- {
- text: "2日",
- value: 2,
- },
- {
- text: "3日",
- value: 1,
- },
- {
- text: "4日",
- value: 3,
- },
- {
- text: "5日",
- value: 3,
- },
- {
- text: "6日",
- value: 3,
- },
- {
- text: "7日",
- value: 3,
- },
- ],
- },
- {
- title: "风速",
- yAxisIndex: 1,
- value: [
- {
- text: "1日",
- value: 1,
- },
- {
- text: "2日",
- value: 2,
- },
- {
- text: "3日",
- value: 1,
- },
- {
- text: "4日",
- value: 3,
- },
- {
- text: "5日",
- value: 3,
- },
- {
- text: "6日",
- value: 3,
- },
- {
- text: "7日",
- value: 3,
- },
- ],
- },
- ],
- // btnGroups
- btnGroups: [
- {
- icon: "fa fa-fire",
- btns: [
- {
- text: "某某风场",
- code: "mmfdc1",
- },
- {
- text: "某某风场",
- code: "mhsfc",
- },
- {
- text: "某某风场",
- code: "mmfdc2",
- },
- {
- text: "某某风场",
- code: "mmfdc3",
- },
- {
- text: "某某风场",
- code: "mmfdc4",
- },
- ],
- },
- {
- icon: "fa fa-fire-extinguisher",
- btns: [
- {
- text: "某某风场",
- code: "mmgf1",
- },
- {
- text: "某某风场",
- code: "mmgf2",
- },
- {
- text: "某某风场",
- code: "mmgf3",
- },
- {
- text: "某某风场",
- code: "mmgf4",
- },
- ],
- },
- ],
- eltableData: [
- {
- date: "2016-05-03",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-02",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-04",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-01",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-08",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-06",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-07",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-07",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-07",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-07",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-07",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-07",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-07",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-07",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-07",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-07",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-07",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-07",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-07",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-07",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-07",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-07",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-07",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- {
- date: "2016-05-07",
- name: "王小虎",
- province: "上海",
- city: "普陀区",
- address: "上海市普陀区金沙江路 1518 弄",
- zip: 200333,
- },
- ],
- elTreeData: {
- data: [
- {
- label: "一级 1",
- children: [
- {
- label: "二级 1-1",
- children: [
- {
- label: "三级 1-1-1",
- },
- ],
- },
- ],
- },
- {
- label: "一级 2",
- children: [
- {
- label: "二级 2-1",
- children: [
- {
- label: "三级 2-1-1",
- },
- ],
- },
- {
- label: "二级 2-2",
- children: [
- {
- label: "三级 2-2-1",
- },
- ],
- },
- ],
- },
- {
- label: "一级 3",
- children: [
- {
- label: "二级 3-1",
- children: [
- {
- label: "三级 3-1-1",
- },
- ],
- },
- {
- label: "二级 3-2",
- children: [
- {
- label: "三级 3-2-1",
- },
- ],
- },
- ],
- },
- ],
- defaultProps: {
- children: "children",
- label: "label",
- },
- },
- scatterLineData: {
- data: [
- {
- title: "男",
- value: [
- [14.49, 1537.0],
- [5.78, 368.0],
- [5.08, 247.0],
- [4.79, 171.0],
- [4.05, 120.0],
- [3.17, 49.0],
- [2.45, 5.0],
- [2.93, 28.0],
- [2.55, 6.0],
- [2.39, -6.0],
- [1.51, 0.0],
- [1.21, 0.0],
- [9.85, 1233.0],
- [11.21, 1540.0],
- [11.15, 1554.0],
- [11.64, 1534.0],
- [11.44, 1531.0],
- [10.96, 1522.0],
- [10.23, 1540.0],
- [11.26, 816.0],
- [12.43, 673.0],
- [10.37, 693.0],
- [10.83, 715.0],
- [12.66, 718.0],
- [13.49, 739.0],
- [14.78, 732.0],
- [13.16, 1414.0],
- [14.48, 1532.0],
- [12.24, 1539.0],
- [11.48, 1535.0],
- [12.82, 1538.0],
- [11.93, 1547.0],
- [10.42, 1410.0],
- [10.05, 1532.0],
- [10.05, 1497.0],
- [10.07, 1486.0],
- [9.67, 1454.0],
- [11.3, 1419.0],
- [11.14, 1510.0],
- [10.77, 1538.0],
- [10.55, 1542.0],
- [10.43, 1517.0],
- [12.58, 1541.0],
- [11.05, 1551.0],
- [10.85, 1535.0],
- [11.87, 1540.0],
- [13.79, 1530.0],
- [13.63, 1537.0],
- [12.01, 1535.0],
- [12.12, 1532.0],
- [11.53, 1524.0],
- [10.62, 1541.0],
- [10.23, 1409.0],
- [10.89, 1541.0],
- [10.45, 1541.0],
- [11.59, 1536.0],
- [12.1, 1544.0],
- [11.83, 1534.0],
- [12.57, 1544.0],
- [10.88, 1538.0],
- [11.15, 1539.0],
- [11.37, 1536.0],
- [11.62, 1546.0],
- [11.98, 1537.0],
- [11.72, 1533.0],
- [10.92, 1530.0],
- [11.77, 1547.0],
- [10.46, 1414.0],
- [10.08, 1308.0],
- [10.82, 1487.0],
- [9.68, 1485.0],
- [10.13, 1279.0],
- ],
- },
- ],
- lineData: {
- xTitle: "风速",
- yTitle: "功率",
- legends: [],
- data: [
- [
- 0, 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,
- ],
- [
- 0, 0, 0, 93.67, 98.38, 165, 295.84, 471.84, 648.28, 871.72,
- 1124.84, 1296.42, 1448.63, 1548, 1548, 1548, 1548, 1548, 1548,
- 1548, 1548, 1548, 1548, 1548, 1548, 1548,
- ],
- ],
- },
- },
- scatterData: [
- {
- title: "风资源分析",
- value: [
- {
- title: "风资源分析",
- value: [
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [3.23, 0.11],
- [4.24, 2.28],
- [5.28, 5.47],
- [0.0, 4.62],
- [4.27, 2.54],
- [0.0, 2.57],
- [0.0, 0.0],
- [0.0, 3.82],
- [0.0, 0.0],
- [0.0, 3.96],
- [0.0, 2.94],
- [5.28, 6.48],
- [0.0, 7.49],
- [0.0, 4.25],
- [4.26, 6.63],
- [5.35, 11.28],
- [0.0, 6.94],
- [0.0, 7.99],
- [0.0, 7.87],
- [0.0, 5.81],
- [0.0, 7.96],
- [0.0, 5.81],
- [0.0, 4.62],
- [4.34, 5.61],
- [5.34, 9.88],
- [0.0, 7.85],
- [0.0, 9.89],
- [6.41, 15.84],
- [5.4, 8.28],
- [6.45, 14.09],
- [0.0, 11.05],
- [5.44, 7.84],
- [0.0, 11.15],
- [6.45, 8.96],
- [5.42, 12.3],
- [6.49, 11.18],
- [5.45, 7.79],
- [0.0, 8.92],
- [6.51, 10.34],
- [0.0, 10.37],
- [5.5, 7.11],
- [0.0, 6.0],
- [0.0, 4.94],
- [0.0, 5.96],
- [0.0, 5.94],
- [0.0, 0.0],
- [0.0, 4.93],
- [4.49, 2.86],
- [3.49, 1.84],
- [0.0, 0.0],
- [0.0, 3.86],
- [4.5, 4.89],
- [0.0, 5.91],
- [0.0, 6.92],
- [0.0, 7.93],
- [5.53, 0.0],
- [0.0, 9.01],
- [0.0, 0.0],
- [0.0, 10.06],
- [0.0, 9.06],
- [0.0, 0.0],
- [0.0, 7.98],
- [0.0, 6.89],
- [0.0, 5.88],
- [0.0, 0.0],
- [4.52, 4.84],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 5.87],
- [0.0, 4.86],
- [0.0, 0.0],
- [0.0, 3.81],
- [0.0, 0.0],
- [0.0, 2.79],
- [0.0, 0.0],
- [0.0, 0.0],
- [3.51, 1.77],
- [2.49, 0.77],
- [0.0, 0.0],
- [1.49, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [2.55, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.0],
- [3.57, 1.05],
- [0.0, 1.05],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 0.05],
- [0.0, 0.0],
- [0.0, 0.0],
- [0.0, 1.08],
- [0.0, 0.0],
- [0.0, 0.0],
- [2.5, 0.0],
- [0.0, 0.05],
- [0.0, 0.0],
- [3.55, 0.0],
- [0.0, 1.07],
- [0.0, 0.0],
- [2.51, 0.0],
- [3.52, 0.0],
- [0.0, 1.28],
- [4.52, 1.32],
- [3.48, 1.26],
- [0.0, 2.36],
- [4.48, 4.79],
- [5.52, 7.94],
- [4.48, 3.7],
- [0.0, 2.66],
- [3.43, 1.66],
- [0.0, 0.0],
- [4.44, 3.72],
- [0.0, 2.68],
- [2.4, 0.61],
- [0.0, 0.0],
- [4.44, 1.7],
- [3.41, 1.68],
- [0.0, 0.57],
- [0.0, 1.68],
- [0.0, 2.68],
- [0.0, 0.6],
- [2.4, 0.0],
- [3.41, 0.0],
- [4.41, 2.05],
- [3.4, 1.02],
- ],
- },
- ],
- },
- ],
- dialogTableVisible: false,
- cascader: {
- props: { multiple: true },
- options: [
- {
- value: 1,
- label: "东南",
- children: [
- {
- value: 2,
- label: "上海",
- children: [
- { value: 3, label: "普陀" },
- { value: 4, label: "黄埔" },
- { value: 5, label: "徐汇" },
- ],
- },
- {
- value: 7,
- label: "江苏",
- children: [
- { value: 8, label: "南京" },
- { value: 9, label: "苏州" },
- { value: 10, label: "无锡" },
- ],
- },
- {
- value: 12,
- label: "浙江",
- children: [
- { value: 13, label: "杭州" },
- { value: 14, label: "宁波" },
- { value: 15, label: "嘉兴" },
- ],
- },
- ],
- },
- {
- value: 17,
- label: "西北",
- children: [
- {
- value: 18,
- label: "陕西",
- children: [
- { value: 19, label: "西安" },
- { value: 20, label: "延安" },
- ],
- },
- {
- value: 21,
- label: "新疆维吾尔族自治区",
- children: [
- { value: 22, label: "乌鲁木齐" },
- { value: 23, label: "克拉玛依" },
- ],
- },
- ],
- },
- ],
- },
- treeTableData: [
- {
- id: 1,
- date: "2016-05-02",
- name: "王小虎",
- address: "上海市普陀区金沙江路 1518 弄",
- },
- {
- id: 2,
- date: "2016-05-04",
- name: "王小虎",
- address: "上海市普陀区金沙江路 1517 弄",
- },
- {
- id: 3,
- date: "2016-05-01",
- name: "王小虎",
- address: "上海市普陀区金沙江路 1519 弄",
- children: [
- {
- id: 31,
- date: "2016-05-01",
- name: "王小虎",
- address: "上海市普陀区金沙江路 1519 弄",
- },
- {
- id: 32,
- date: "2016-05-01",
- name: "王小虎",
- address: "上海市普陀区金沙江路 1519 弄",
- },
- ],
- },
- {
- id: 4,
- date: "2016-05-03",
- name: "王小虎",
- address: "上海市普陀区金沙江路 1516 弄",
- },
- ],
- tableMergeData: [],
- createSum: false,
- tableMergeStyleShow: true,
- };
- },
- created() {
- for (let i = 1; i < 21; i++) {
- this.tableData.data.push(
- JSON.parse(JSON.stringify(this.tableData.data[0]))
- );
- this.tableData.data[i].index = i + 1;
- this.tableData2.data.push(
- JSON.parse(JSON.stringify(this.tableData.data[0]))
- );
- this.tableData2.data[i].index = i + 1;
- this.tableData2.data[i].yyy = i * 0.01 * Math.random();
- }
- this.createMergeTable(this.createSum);
- },
- mounted() {},
- };
- </script>
- <style lang="less" scoped>
- .tools {
- display: flex;
- line-height: 3.4259vh;
- .tool-block {
- display: flex;
- align-items: center;
- margin-left: 10px;
- .legend {
- flex: auto;
- width: 10px;
- height: 10px;
- margin-right: 10px;
- &.long {
- width: 2.963vh;
- height: 0.37vh;
- }
- }
- .legend-text {
- color: @gray-l;
- font-size: @fontsize-s;
- }
- }
- }
- </style>
|