analysisEvent.vue 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823
  1. <!--
  2. * @Author: your name
  3. * @Date: 2024-05-29 09:13:51
  4. * @LastEditTime: 2024-06-14 11:53:42
  5. * @LastEditors: bogon
  6. * @Description: In User Settings Edit
  7. * @FilePath: /performance-test/src/views/performance/components/analysisEvent.vue
  8. -->
  9. <template>
  10. <div>
  11. <el-form ref="form" :model="form" label-position="right">
  12. <el-row type="flex" justify="end">
  13. <el-col :span="5">
  14. <el-form-item class="searchFrom">
  15. <el-button type="primary" @click="onSubmit" size="small"
  16. >分析</el-button
  17. >
  18. <el-button size="small" @click="resetForm">重置</el-button>
  19. <i @click="drawer = true" class="el-icon-setting"></i>
  20. </el-form-item>
  21. </el-col>
  22. </el-row>
  23. <el-collapse v-model="activeNames">
  24. <el-collapse-item title="基础筛选:" name="1">
  25. <el-row class="flex-wrap-row" :gutter="5">
  26. <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="5">
  27. <el-form-item
  28. label="分析类型"
  29. v-if="checkedCities.find((item) => item === '分析类型')"
  30. prop=""
  31. >
  32. <el-select
  33. v-model="form.configAnalysis"
  34. placeholder="请选择分析类型"
  35. size="small"
  36. multiple
  37. clearable
  38. >
  39. <el-option
  40. v-for="item in analysisTypeList"
  41. :key="item.typeCode"
  42. :label="item.typeName"
  43. :value="item.typeCode"
  44. ></el-option>
  45. </el-select> </el-form-item
  46. ></el-col>
  47. <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="5">
  48. <el-form-item
  49. label="机组编号"
  50. v-if="checkedCities.find((item) => item === '机组编号')"
  51. >
  52. <el-select
  53. multiple
  54. v-model="form.turbines"
  55. placeholder="请选择机组编号"
  56. size="small"
  57. clearable
  58. >
  59. <el-option
  60. v-for="item in windEngineGroupList"
  61. :key="item"
  62. :label="item"
  63. :value="item"
  64. ></el-option>
  65. </el-select>
  66. </el-form-item>
  67. </el-col>
  68. <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="5">
  69. <el-form-item
  70. label="SCADA数据"
  71. v-if="checkedCities.find((item) => item === 'SCADA数据')"
  72. >
  73. <el-select
  74. v-model="form.scada"
  75. placeholder="请选择SCADA数据"
  76. size="small"
  77. clearable
  78. >
  79. <el-option
  80. :key="'minute'"
  81. :label="'分钟级'"
  82. :value="'minute'"
  83. ></el-option>
  84. <el-option
  85. :key="'second'"
  86. :label="'秒级'"
  87. :value="'second'"
  88. ></el-option>
  89. </el-select>
  90. </el-form-item>
  91. </el-col>
  92. <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="5">
  93. <el-form-item
  94. label="滤除月份"
  95. v-if="checkedCities.find((item) => item === '滤除月份')"
  96. >
  97. <el-date-picker
  98. value-format="timestamp"
  99. width="200"
  100. size="small"
  101. type="months"
  102. v-model="form.excludingMonths"
  103. placeholder="选择一个或多个月"
  104. >
  105. </el-date-picker>
  106. </el-form-item>
  107. </el-col>
  108. <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="9">
  109. <el-form-item
  110. label="分析时间"
  111. v-if="checkedCities.find((item) => item === '分析时间')"
  112. >
  113. <el-date-picker
  114. value-format="timestamp"
  115. size="small"
  116. v-model="picker"
  117. type="daterange"
  118. range-separator="至"
  119. start-placeholder="开始日期"
  120. end-placeholder="结束日期"
  121. >
  122. </el-date-picker> </el-form-item
  123. ></el-col>
  124. </el-row>
  125. </el-collapse-item>
  126. <el-collapse-item
  127. title="SACAD数据测点过滤设置:"
  128. name="2"
  129. v-if="checkedCities.find((item) => item === 'SCADA数据过滤')"
  130. >
  131. <el-row :gutter="5">
  132. <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="6">
  133. <el-form-item label="风速过滤">
  134. <div class="demo-input-suffix">
  135. <el-input
  136. type="number"
  137. size="small"
  138. placeholder="最小值"
  139. v-model="form.valueWindSpeed[0]"
  140. >
  141. </el-input>
  142. <el-input
  143. type="number"
  144. size="small"
  145. placeholder="最大值"
  146. v-model="form.valueWindSpeed[1]"
  147. >
  148. </el-input>
  149. </div>
  150. </el-form-item>
  151. </el-col>
  152. <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="6">
  153. <el-form-item label="桨距角过滤">
  154. <div class="demo-input-suffix">
  155. <el-input
  156. type="number"
  157. size="small"
  158. placeholder="最小值"
  159. v-model="form.valuePitchAngle[0]"
  160. >
  161. </el-input>
  162. <el-input
  163. type="number"
  164. size="small"
  165. placeholder="最大值"
  166. v-model="form.valuePitchAngle[1]"
  167. >
  168. </el-input>
  169. </div>
  170. </el-form-item>
  171. </el-col>
  172. <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="6">
  173. <el-form-item label="有功功率过滤">
  174. <div class="demo-input-suffix">
  175. <el-input
  176. type="number"
  177. size="small"
  178. placeholder="最小值"
  179. v-model="form.valueActivePower[0]"
  180. >
  181. </el-input>
  182. <el-input
  183. type="number"
  184. size="small"
  185. placeholder="最大值"
  186. v-model="form.valueActivePower[1]"
  187. >
  188. </el-input>
  189. </div>
  190. </el-form-item>
  191. </el-col>
  192. <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="6">
  193. <el-form-item label="发电机转速过滤">
  194. <div class="demo-input-suffix">
  195. <el-input
  196. type="number"
  197. size="small"
  198. placeholder="最小值"
  199. v-model="form.valueGeneratorSpeed[0]"
  200. >
  201. </el-input>
  202. <el-input
  203. type="number"
  204. size="small"
  205. placeholder="最大值"
  206. v-model="form.valueGeneratorSpeed[1]"
  207. >
  208. </el-input>
  209. </div>
  210. </el-form-item>
  211. </el-col>
  212. </el-row>
  213. </el-collapse-item>
  214. <el-collapse-item
  215. title="图像轴系设置:"
  216. name="3"
  217. v-if="checkedCities.find((item) => item === '图像设置')"
  218. >
  219. <el-row :gutter="5">
  220. <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
  221. <el-form-item label="直驱发电机转速轴系">
  222. <div class="demo-input-suffix">
  223. <el-input
  224. type="number"
  225. size="small"
  226. placeholder="步长"
  227. v-model="form.dGeneratorSpeed[0]"
  228. >
  229. </el-input>
  230. <el-input
  231. type="number"
  232. size="small"
  233. placeholder="最小值"
  234. v-model="form.dGeneratorSpeed[1]"
  235. >
  236. </el-input>
  237. <el-input
  238. type="number"
  239. size="small"
  240. placeholder="最大值"
  241. v-model="form.dGeneratorSpeed[2]"
  242. >
  243. </el-input>
  244. </div>
  245. </el-form-item>
  246. </el-col>
  247. <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
  248. <el-form-item label="非直驱发电机转速轴系设置">
  249. <div class="demo-input-suffix">
  250. <el-input
  251. type="number"
  252. size="small"
  253. placeholder="步长"
  254. v-model="form.iGeneratorSpeed[0]"
  255. >
  256. </el-input>
  257. <el-input
  258. type="number"
  259. size="small"
  260. placeholder="最小值"
  261. v-model="form.iGeneratorSpeed[1]"
  262. >
  263. </el-input>
  264. <el-input
  265. type="number"
  266. size="small"
  267. placeholder="最大值"
  268. v-model="form.iGeneratorSpeed[2]"
  269. >
  270. </el-input>
  271. </div>
  272. </el-form-item>
  273. </el-col>
  274. <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
  275. <el-form-item label="直驱发电机转矩轴系">
  276. <div class="demo-input-suffix">
  277. <el-input
  278. type="number"
  279. size="small"
  280. placeholder="步长"
  281. v-model="form.dGeneratorTorque[0]"
  282. >
  283. </el-input>
  284. <el-input
  285. type="number"
  286. size="small"
  287. placeholder="最小值"
  288. v-model="form.dGeneratorTorque[1]"
  289. >
  290. </el-input>
  291. <el-input
  292. type="number"
  293. size="small"
  294. placeholder="最大值"
  295. v-model="form.dGeneratorTorque[2]"
  296. >
  297. </el-input>
  298. </div>
  299. </el-form-item>
  300. </el-col>
  301. <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
  302. <el-form-item label="非直驱发电机转矩轴系">
  303. <div class="demo-input-suffix">
  304. <el-input
  305. type="number"
  306. size="small"
  307. placeholder="步长"
  308. v-model="form.iGeneratorTorque[0]"
  309. >
  310. </el-input>
  311. <el-input
  312. type="number"
  313. size="small"
  314. placeholder="最小值"
  315. v-model="form.iGeneratorTorque[1]"
  316. >
  317. </el-input>
  318. <el-input
  319. type="number"
  320. size="small"
  321. placeholder="最大值"
  322. v-model="form.iGeneratorTorque[2]"
  323. >
  324. </el-input>
  325. </div>
  326. </el-form-item>
  327. </el-col>
  328. <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
  329. <el-form-item label="风能利用系数">
  330. <div class="demo-input-suffix">
  331. <el-input
  332. type="number"
  333. size="small"
  334. placeholder="步长"
  335. v-model="form.cp[0]"
  336. >
  337. </el-input>
  338. <el-input
  339. type="number"
  340. size="small"
  341. placeholder="最小值"
  342. v-model="form.cp[1]"
  343. >
  344. </el-input>
  345. <el-input
  346. type="number"
  347. size="small"
  348. placeholder="最大值"
  349. v-model="form.cp[2]"
  350. >
  351. </el-input>
  352. </div>
  353. </el-form-item>
  354. </el-col>
  355. <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
  356. <el-form-item label="叶尖转速比">
  357. <div class="demo-input-suffix">
  358. <el-input
  359. type="number"
  360. size="small"
  361. placeholder="步长"
  362. v-model="form.tsr[0]"
  363. >
  364. </el-input>
  365. <el-input
  366. type="number"
  367. size="small"
  368. placeholder="最小值"
  369. v-model="form.tsr[1]"
  370. >
  371. </el-input>
  372. <el-input
  373. type="number"
  374. size="small"
  375. placeholder="最大值"
  376. v-model="form.tsr[2]"
  377. >
  378. </el-input>
  379. </div>
  380. </el-form-item>
  381. </el-col>
  382. <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
  383. <el-form-item label="有功功率">
  384. <div class="demo-input-suffix">
  385. <el-input
  386. type="number"
  387. size="small"
  388. placeholder="步长"
  389. v-model="form.activePower[0]"
  390. >
  391. </el-input>
  392. <el-input
  393. type="number"
  394. size="small"
  395. placeholder="最小值"
  396. v-model="form.activePower[1]"
  397. >
  398. </el-input>
  399. <el-input
  400. type="number"
  401. size="small"
  402. placeholder="最大值"
  403. v-model="form.activePower[2]"
  404. >
  405. </el-input>
  406. </div>
  407. </el-form-item>
  408. </el-col>
  409. <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
  410. <el-form-item label="桨距角">
  411. <div class="demo-input-suffix">
  412. <el-input
  413. type="number"
  414. size="small"
  415. placeholder="步长"
  416. v-model="form.pitchAngle[0]"
  417. >
  418. </el-input>
  419. <el-input
  420. type="number"
  421. size="small"
  422. placeholder="最小值"
  423. v-model="form.pitchAngle[1]"
  424. >
  425. </el-input>
  426. <el-input
  427. type="number"
  428. size="small"
  429. placeholder="最大值"
  430. v-model="form.pitchAngle[2]"
  431. >
  432. </el-input>
  433. </div>
  434. </el-form-item>
  435. </el-col>
  436. </el-row>
  437. </el-collapse-item>
  438. </el-collapse>
  439. </el-form>
  440. <el-card shadow="always" class="box-card">
  441. <el-row>
  442. <el-col :span="12"
  443. ><div class="left">
  444. <div>
  445. <span>机组编号:</span>
  446. <el-select
  447. v-model="engineCode"
  448. placeholder="请选择机组编号"
  449. size="small"
  450. clearable
  451. @change="handleEngineCode"
  452. >
  453. <el-option
  454. v-for="item in windEngineGroupList"
  455. :key="item"
  456. :label="item"
  457. :value="item"
  458. ></el-option>
  459. </el-select>
  460. </div>
  461. <div>1.额定容量:{{ windDetail.ratedCapacity }}</div>
  462. <!-- <div>2.发电机类型(Generator Type):{{}}</div> -->
  463. <div>2.风机编号:{{ windDetail.engineCode }}</div>
  464. <div>3.经度(Longitude):{{ windDetail.longitude }}</div>
  465. <div>4.维度(Dimensionality):{{ windDetail.latitude }}</div>
  466. <div>5.海拔高度(Altitude):{{ windDetail.elevationHeight }}</div>
  467. <div>6.风机名称:{{ windDetail.engineName }}</div>
  468. <div>
  469. 7.是否标杆(Benchmarking or not):{{ windDetail.sightcing }}
  470. </div>
  471. <div>8.风场编号:{{ windDetail.fieldCode }}</div>
  472. <div>9.轮毂高度:{{ windDetail.hubHeight }}</div>
  473. <div>10.机型编号:{{ windDetail.millTypeCode }}</div>
  474. <div>11.切入风速:{{ windDetail.ratedCutInWindspeed }}</div>
  475. <div>12.切出风速:{{ windDetail.ratedCutOutWindspeed }}</div>
  476. <!-- <div>8.地理位置(Location):不同地理位置的气候条件{{}}</div>
  477. <div>
  478. 9.供应商信息(Manufacturer
  479. Information):制造商的信誉、技术水平和售后
  480. </div>
  481. <div>
  482. 10.维护需求(Maintenance Requirements):风力发电机组需要定期
  483. </div>
  484. <div>11.预期寿命(Expected Lifetime):风力发电机组的设计寿命</div> -->
  485. </div>
  486. </el-col>
  487. <el-col :span="12">
  488. <div class="right">
  489. <iframe src="/html/A01.html" frameborder="0"></iframe>
  490. </div>
  491. </el-col>
  492. </el-row>
  493. </el-card>
  494. <el-drawer
  495. title="偏好设置"
  496. :visible.sync="drawer"
  497. :direction="direction"
  498. :before-close="handleClose"
  499. class="drawerOption"
  500. >
  501. <el-row>
  502. <el-col :span="12"
  503. ><div class="drawerLeft">
  504. <div style="text-align: center; font-size: 16px">常用功能设置</div>
  505. <el-checkbox
  506. :indeterminate="isIndeterminate"
  507. v-model="checkAll"
  508. @change="handleCheckAllChange"
  509. >全选</el-checkbox
  510. >
  511. <div style="margin: 15px 0"></div>
  512. <el-checkbox-group
  513. v-model="checkedCities"
  514. @change="handleCheckedCitiesChange"
  515. >
  516. <el-checkbox v-for="city in cities" :label="city" :key="city">{{
  517. city
  518. }}</el-checkbox>
  519. <el-checkbox
  520. label="SCADA数据过滤"
  521. key="SCADA数据过滤"
  522. ></el-checkbox>
  523. <div class="checkFromRow">
  524. <el-row>
  525. <el-col :span="12">发电机转速测点</el-col>
  526. <el-col :span="12">桨距角值测点</el-col>
  527. <el-col :span="12">有功功率测点</el-col>
  528. <el-col :span="12">风速速度测点</el-col>
  529. </el-row>
  530. </div>
  531. <el-checkbox label="图像设置" key="图像设置"></el-checkbox>
  532. <div class="checkFromRow">
  533. <el-row>
  534. <el-col :span="12">发电机转矩轴系</el-col>
  535. <el-col :span="12">桨距角轴系</el-col>
  536. <el-col :span="12">叶尖速比轴系</el-col>
  537. <el-col :span="12">有功功率轴系</el-col>
  538. <el-col :span="12">发电机转矩轴系</el-col>
  539. </el-row>
  540. </div>
  541. </el-checkbox-group>
  542. </div></el-col
  543. >
  544. <el-col :span="12">
  545. <div class="drawerRight">
  546. <div style="text-align: center; font-size: 16px">已选中功能</div>
  547. <ul>
  548. <li v-for="func in checkedCities" :key="func">
  549. {{ func }}
  550. <el-button
  551. type="text"
  552. icon="el-icon-delete"
  553. @click="removeFunction(func)"
  554. ></el-button>
  555. </li>
  556. </ul></div
  557. ></el-col>
  558. </el-row>
  559. <div class="demo-drawer__footer">
  560. <el-button @click="handleClose">取 消</el-button>
  561. <el-button type="primary" @click="handleClose">{{ "确 定" }}</el-button>
  562. </div>
  563. </el-drawer>
  564. </div>
  565. </template>
  566. <script>
  567. import { analysisEditQuery, analysis } from "@/api/performance";
  568. import { getWindEngineGroup } from "@/api/ledger";
  569. export default {
  570. data() {
  571. return {
  572. engineCode: null, //台账机组编号
  573. picker: [],
  574. form: {
  575. configAnalysis: null, //分析类型
  576. powerFarmID: null, //风场编号//通过路由获取的默认传递的
  577. dataBatchNum: null, //批次号
  578. scada: null, //scada数类型
  579. turbines: [], //机组编号
  580. beginTime: null, //开始时间
  581. endTime: null, //结束时间
  582. excludingMonths: null, //过滤月份
  583. valueWindSpeed: [], //风速值最大最小 数组第一值为min 第二个 max
  584. valuePitchAngle: [], //桨距角最大最小
  585. valueActivePower: [], //有功功率
  586. valueGeneratorSpeed: [], //发电机转速
  587. //图像
  588. dGeneratorSpeed: [], //直驱发电机转速轴系 第一个值为步长 第二个min 第三个 max
  589. iGeneratorSpeed: [], //非直驱发电机转速轴系设置
  590. dGeneratorTorque: [], //直驱发电机转矩轴系
  591. iGeneratorTorque: [], //非直驱发电机转矩轴系
  592. cp: [], //风能利用系数轴系
  593. tsr: [], //叶尖速比轴系
  594. pitchAngle: [], //桨距角轴系
  595. activePower: [], //有功功率轴系
  596. },
  597. activeNames: ["1", "2", "3"],
  598. checkAll: false,
  599. checkedCities: [
  600. "分析类型",
  601. "SCADA数据",
  602. "分析时间",
  603. "滤除月份",
  604. "机组编号",
  605. ],
  606. cities: ["分析类型", "SCADA数据", "分析时间", "滤除月份", "机组编号"],
  607. isIndeterminate: true,
  608. drawer: false,
  609. direction: "rtl",
  610. value: "",
  611. options: [],
  612. tabIndex: 2,
  613. analysisTypeList: [],
  614. windEngineGroupList: [],
  615. windDetail: {},
  616. };
  617. },
  618. created() {
  619. //获取分析 分析类型、机组编号 列表
  620. this.getWindCodeList();
  621. },
  622. methods: {
  623. handleEngineCode(e) {
  624. console.log(e);
  625. this.engineCode = e;
  626. this.getWindEngList();
  627. },
  628. async getWindEngList() {
  629. try {
  630. const res = await getWindEngineGroup({
  631. engineCode: this.engineCode,
  632. });
  633. this.windDetail = res.data;
  634. } catch (error) {
  635. console.error(error);
  636. }
  637. },
  638. async getAnalysis() {
  639. console.log(this.form.excludingMonths, "过滤月份");
  640. console.log(this.picker, "分析时间");
  641. try {
  642. await analysis({
  643. ...this.form,
  644. beginTime: this.picker[0], //开始时间
  645. endTime: this.picker[1], //结束时间
  646. });
  647. this.$message({
  648. type: "success",
  649. message: "已分析请前往分析详情中查看结果",
  650. });
  651. } catch (error) {
  652. console.error(error);
  653. }
  654. },
  655. async getWindCodeList() {
  656. try {
  657. const response = await analysisEditQuery({
  658. batchCode: this.$route.query.batchCode,
  659. });
  660. this.form.powerFarmID = this.$route.query.fieldEngineCode;
  661. this.form.dataBatchNum = this.$route.query.batchCode;
  662. this.analysisTypeList = response.data.analysisTypeList;
  663. this.windEngineGroupList = response.data.windEngineGroupList;
  664. this.engineCode = response.data.windEngineGroupList[0];
  665. //获取台账机组编号
  666. this.getWindEngList();
  667. } catch (error) {
  668. console.error(error);
  669. this.$router.go(-1);
  670. }
  671. },
  672. handleCheckAllChange(val) {
  673. this.checkedCities = val
  674. ? [...this.cities, "SCADA数据过滤", "图像设置"]
  675. : [];
  676. this.isIndeterminate = false;
  677. },
  678. handleCheckedCitiesChange(value) {
  679. let checkedCount = value.length;
  680. this.checkAll = checkedCount === this.cities.length + 2;
  681. this.isIndeterminate =
  682. checkedCount > 0 && checkedCount < this.cities.length + 2;
  683. },
  684. removeFunction(item) {
  685. this.checkedCities = this.checkedCities.filter((fuc) => fuc !== item);
  686. },
  687. handleClose(done) {
  688. this.$confirm("确认关闭?")
  689. .then((_) => {
  690. // done();
  691. this.drawer = false;
  692. })
  693. .catch((_) => {});
  694. },
  695. onSubmit() {
  696. this.getAnalysis();
  697. console.log("submit!");
  698. },
  699. resetForm() {
  700. this.picker = [];
  701. this.form = {
  702. configAnalysis: null, //分析类型
  703. powerFarmID: this.$route.query.fieldEngineCode, //风场编号//通过路由获取的默认传递的
  704. dataBatchNum: this.$route.query.batchCode, //批次号
  705. scada: null, //scada数类型
  706. turbines: [], //机组编号
  707. beginTime: null, //开始时间
  708. endTime: null, //结束时间
  709. excludingMonths: null, //过滤月份
  710. valueWindSpeed: [], //风速值最大最小 数组第一值为min 第二个 max
  711. valuePitchAngle: [], //桨距角最大最小
  712. valueActivePower: [], //有功功率
  713. valueGeneratorSpeed: [], //发电机转速
  714. //图像
  715. dGeneratorSpeed: [], //直驱发电机转速轴系 第一个值为步长 第二个min 第三个 max
  716. iGeneratorSpeed: [], //非直驱发电机转速轴系设置
  717. dGeneratorTorque: [], //直驱发电机转矩轴系
  718. iGeneratorTorque: [], //非直驱发电机转矩轴系
  719. cp: [], //风能利用系数轴系
  720. tsr: [], //叶尖速比轴系
  721. pitchAngle: [], //桨距角轴系
  722. activePower: [], //有功功率轴系
  723. };
  724. },
  725. // 清空内容
  726. clear() {
  727. this.$refs.editor.clear();
  728. },
  729. },
  730. };
  731. </script>
  732. <style scoped lang="scss">
  733. .box-card {
  734. margin: 10px 0;
  735. width: 100%;
  736. font-size: 14px;
  737. .el-card__body {
  738. width: 100%;
  739. .left {
  740. > div {
  741. line-height: 3;
  742. }
  743. }
  744. .right {
  745. height: 450px;
  746. width: 100%;
  747. iframe {
  748. width: 100%;
  749. height: 100%;
  750. }
  751. }
  752. }
  753. }
  754. ::v-deep .searchFrom {
  755. .el-form-item__content {
  756. display: flex !important;
  757. justify-content: end !important;
  758. align-items: center !important;
  759. i {
  760. margin-left: 10px;
  761. font-size: 20px;
  762. }
  763. }
  764. }
  765. .drawerOption {
  766. .el-checkbox-group {
  767. line-height: 40px !important;
  768. }
  769. .drawerLeft {
  770. margin-left: 20px;
  771. color: #606266 !important;
  772. }
  773. .checkFromRow {
  774. .el-col-12 {
  775. color: #606266 !important;
  776. font-size: 14px;
  777. }
  778. .el-col-12:nth-child(even) {
  779. text-align: end !important;
  780. }
  781. }
  782. .drawerRight {
  783. margin-right: 20px;
  784. color: #606266 !important;
  785. font-size: 14px;
  786. ul {
  787. list-style-type: none;
  788. padding: 0;
  789. color: #606266 !important;
  790. li {
  791. display: flex;
  792. align-items: center;
  793. justify-content: space-between;
  794. padding: 0px 10px;
  795. line-height: 40px !important;
  796. }
  797. }
  798. }
  799. .demo-drawer__footer {
  800. display: flex;
  801. margin-top: 50px;
  802. justify-content: center;
  803. }
  804. }
  805. ::v-deep.el-input--small .el-input__inner {
  806. width: 200px !important;
  807. }
  808. .demo-input-suffix {
  809. display: flex !important;
  810. }
  811. ::v-deep.demo-input-suffix .el-input--small {
  812. width: 100px !important;
  813. }
  814. ::v-deep.demo-input-suffix .el-input--small .el-input__inner {
  815. width: 90px !important;
  816. }
  817. .abalysisType {
  818. margin-top: 30px;
  819. }
  820. </style>