index.vue 51 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135
  1. <template>
  2. <div class="custom-config">
  3. <div class="form-wrapper">
  4. <div class="btns">
  5. <el-button class="buttons" size="mini" round @click="handleInsert">
  6. 新增记录
  7. </el-button>
  8. <!-- <el-button class="buttons" size="mini" round @click="export2Excel">
  9. 批量导出</el-button
  10. > -->
  11. <el-button class="buttons" size="mini" round @click="outExe">
  12. 模板下载</el-button
  13. >
  14. <el-upload
  15. style="display: inline; margin-left: 10px"
  16. :action="url + 'alertrule/import'"
  17. :show-file-list="false"
  18. :on-success="handleSuccess"
  19. :on-progress="handleProgress"
  20. :on-error="handleError"
  21. >
  22. <el-button
  23. class="buttons"
  24. size="mini"
  25. round
  26. @click="exportShow = true"
  27. >
  28. 批量导入</el-button
  29. >
  30. </el-upload>
  31. </div>
  32. <div class="search-wrapper">
  33. <el-select
  34. v-model="query.category"
  35. size="mini"
  36. class="search-item"
  37. popper-class="select"
  38. @change="categorychanged"
  39. >
  40. <el-option key="1" label="风机报警" value="windturbine"></el-option>
  41. <!-- <el-option
  42. key="2"
  43. label="升压站报警"
  44. value="booststation"
  45. ></el-option> -->
  46. <el-option key="3" label="光伏报警" value="inverter"></el-option>
  47. </el-select>
  48. <el-select
  49. v-model="query.wpId"
  50. clearable
  51. size="mini"
  52. class="search-item"
  53. :placeholder="'全部场站'"
  54. popper-class="select"
  55. @change="changeStation"
  56. >
  57. <el-option
  58. v-for="item in stationList"
  59. :key="item.id"
  60. :value="item.id"
  61. :label="item.aname"
  62. ></el-option>
  63. </el-select>
  64. <el-select
  65. v-model="query.relatedparts"
  66. clearable
  67. size="mini"
  68. class="search-item"
  69. placeholder="所属部件"
  70. >
  71. <el-option
  72. v-for="item in fetchList"
  73. :key="item.id"
  74. :label="item.name"
  75. :value="item.nemCode"
  76. >
  77. </el-option>
  78. </el-select>
  79. <el-select
  80. v-model="query.enabled"
  81. clearable
  82. size="mini"
  83. class="search-item"
  84. placeholder="是否可用"
  85. >
  86. <el-option
  87. v-for="item in state.isEnabled"
  88. :key="item.id"
  89. :label="item.name"
  90. :value="item.id"
  91. >
  92. </el-option>
  93. </el-select>
  94. <el-select
  95. v-model="query.modelId"
  96. clearable
  97. size="mini"
  98. class="search-item"
  99. placeholder="全部机型"
  100. popper-class="select"
  101. >
  102. <el-option
  103. v-for="item in modelList"
  104. :key="item.id"
  105. :value="item.id"
  106. :label="item.aname"
  107. ></el-option>
  108. </el-select>
  109. <!-- <el-select
  110. v-model="query.rank"
  111. clearable
  112. size="mini"
  113. class="search-item"
  114. placeholder="全部级别"
  115. popper-class="select"
  116. >
  117. <el-option
  118. v-for="item in state.rankList"
  119. :key="item.id"
  120. :value="item.id"
  121. :label="item.name"
  122. ></el-option>
  123. </el-select> -->
  124. <el-input
  125. placeholder="请输入名称"
  126. v-model="query.name"
  127. size="mini"
  128. class="search-item"
  129. clearable
  130. ></el-input>
  131. <el-button class="buttons" round size="mini" @click="getData"
  132. >搜索</el-button
  133. >
  134. </div>
  135. </div>
  136. <div class="table-wrapper">
  137. <div class="leftContent" :data-type="$store.state.moreSty">
  138. <span>{{ pageTitle }}</span>
  139. </div>
  140. <el-table
  141. :data="state.tableData"
  142. stripe
  143. style="height: calc(100% - 110px)"
  144. >
  145. <el-table-column
  146. v-for="item in state.tableHeader"
  147. :key="item.code"
  148. :label="item.title"
  149. :align="
  150. item.code == 'description' ||
  151. item.code == 'expression' ||
  152. item.code == 'name' ||
  153. item.code == 'modelId' ||
  154. item.code == 'relatedPartsName'
  155. ? 'left'
  156. : 'center'
  157. "
  158. :prop="item.code"
  159. :minWidth="item.width ? item.width : 60"
  160. show-overflow-tooltip
  161. >
  162. <template #default="scope">
  163. <span v-if="item.code == 'rank'">
  164. {{ rankConvert(scope.row.rank) }}
  165. </span>
  166. <span v-else-if="item.code == 'category'">
  167. {{ categoryConvert(scope.row.category) }}
  168. </span>
  169. <span v-else-if="item.code == 'enable'">
  170. {{ enabledConvert(scope.row.enable) }}
  171. </span>
  172. <span v-else-if="item.code == 'expression'">
  173. {{ scope.row.expression.substring(0, 3) }}**********
  174. </span>
  175. <span v-else-if="item.code == 'description'">
  176. {{ scope.row.description.substring(0, 3) }}**********
  177. </span>
  178. <span v-else>
  179. {{ scope.row[item.code] }}
  180. </span>
  181. </template>
  182. </el-table-column>
  183. <el-table-column label="操作" align="center" width="100" v-if="$store.state.userKey !== 'ld'">
  184. <template #default="scope">
  185. <el-button
  186. type="text"
  187. :style="`color: ${
  188. $store.state.theme ? '#1890ff' : '#47aee7'
  189. } !important`"
  190. size="mini"
  191. @click="handleEditClick(scope.row)"
  192. >编辑</el-button
  193. >
  194. </template>
  195. </el-table-column>
  196. </el-table>
  197. <div class="pagination">
  198. <el-pagination
  199. :current-page="query.pageNum"
  200. :page-size="query.pageSize"
  201. :total="total"
  202. layout="total, sizes, prev, pager, next"
  203. :page-sizes="[22, 50, 100, 200, 500]"
  204. @size-change="
  205. (value) => {
  206. query.pageSize = value;
  207. query.pageNum = 1;
  208. getData();
  209. }
  210. "
  211. @current-change="handlePageChange"
  212. ></el-pagination>
  213. </div>
  214. </div>
  215. <customcomponents
  216. @close="dialogclose"
  217. :isVisible="state.visible"
  218. :dialogOptions="state.form"
  219. :rankList="state.rankList"
  220. :modelListAll="state.modelListAll"
  221. :fetchListAll="state.fetchListAll"
  222. />
  223. </div>
  224. </template>
  225. <script setup>
  226. import {
  227. custombj_fetchTableData,
  228. getStationinfo,
  229. fetchRelatePartAndAlarmType,
  230. fetchModel,
  231. fetchBooststation,
  232. custombj_importTemplate,
  233. getWpList,
  234. } from "@/api/zhbj/index.js";
  235. import { outExportExcel } from "@/tools/excel/exportExcel.js"; //引入文件
  236. import {
  237. ref,
  238. onMounted,
  239. provide,
  240. computed,
  241. reactive,
  242. watch,
  243. nextTick,
  244. } from "vue";
  245. import { useStore } from "vuex";
  246. import { useRouter } from "vue-router";
  247. import { ElMessageBox, ElMessage } from "element-plus";
  248. import customcomponents from "@/views/IntegratedAlarm/alarmConfig/components/custom_components.vue";
  249. const pageTitle = "预警配置";
  250. const store = useStore();
  251. const token = { token: store.state.user.authToken };
  252. const url = process.env.VUE_APP_ALARM;
  253. const router = useRouter();
  254. const query = reactive({
  255. pageNum: 1,
  256. pageSize: 22,
  257. name: "",
  258. wpId: "",
  259. rank: "",
  260. modelId: "",
  261. category: "windturbine",
  262. enabled: "",
  263. relatedparts: "",
  264. });
  265. const state = reactive({
  266. tableData: [
  267. {
  268. id: "1",
  269. name: "暴风天气",
  270. description: "风速超过25米/秒",
  271. expression: "AI066>26",
  272. tag: "NULL",
  273. rank: 2,
  274. modelId: "/UP2000/105",
  275. category: "windturbine",
  276. range: "parts",
  277. stationId: "SXJ_KGDL_DJY_FDC_STA",
  278. projectId: "NULL",
  279. lineId: "NULL",
  280. deviceId: "NULL",
  281. electricalId: "NULL",
  282. relatedParts: "QT",
  283. createTime: "2023-09-17T16:00:00.000+0000",
  284. enable: true,
  285. uniformCode: "NULL",
  286. stationName: "06风电场",
  287. relatedPartsName: "其他",
  288. },
  289. {
  290. id: "10",
  291. name: "齿轮箱轴承温升速度超过1.5",
  292. description: "发电机转速大于900,并且 任意齿轮箱轴温度每分钟上升超过1.5",
  293. expression:
  294. "AI060>900 && ( RiseExceed(AI042,60,1.5) || RiseExceed(AI043,60,1.5))",
  295. tag: "NULL",
  296. rank: 2,
  297. modelId: "/UP2000/105",
  298. category: "windturbine",
  299. range: "parts",
  300. stationId: "SXJ_KGDL_DJY_FDC_STA",
  301. projectId: "NULL",
  302. lineId: "NULL",
  303. deviceId: "NULL",
  304. electricalId: "NULL",
  305. relatedParts: "FDJ",
  306. createTime: "2023-09-17T16:00:00.000+0000",
  307. enable: true,
  308. uniformCode: "NULL",
  309. stationName: "06风电场",
  310. relatedPartsName: "发电机",
  311. },
  312. {
  313. id: "100",
  314. name: "发电机轴A损坏或碳刷室温度过高",
  315. description: "轴A温度大于轴B温度15度",
  316. expression: "Math.abs(AI092-AI062)>15",
  317. tag: "NULL",
  318. rank: 2,
  319. modelId: "UP2000-105",
  320. category: "windturbine",
  321. range: "sensors",
  322. stationId: "SXJ_KGDL_GJY_FDC_STA",
  323. projectId: "NULL",
  324. lineId: "NULL",
  325. deviceId: "NULL",
  326. electricalId: "NULL",
  327. relatedParts: "FDJ",
  328. createTime: "2023-09-17T16:00:00.000+0000",
  329. enable: true,
  330. uniformCode: "NULL",
  331. stationName: "07风电场",
  332. relatedPartsName: "发电机",
  333. },
  334. ],
  335. fetchListAll: [], //部件及预警类型
  336. modelListAll: {}, //型号所有列表
  337. isEnabled: [
  338. {
  339. id: false,
  340. name: "否",
  341. },
  342. {
  343. id: true,
  344. name: "是",
  345. },
  346. ],
  347. rankList: [
  348. {
  349. id: 1,
  350. name: "低",
  351. },
  352. {
  353. id: 2,
  354. name: "中低",
  355. },
  356. {
  357. id: 3,
  358. name: "中",
  359. },
  360. {
  361. id: 4,
  362. name: "中高",
  363. },
  364. {
  365. id: 5,
  366. name: "高",
  367. },
  368. ],
  369. visible: false,
  370. form: {},
  371. tableHeader: [
  372. { title: "编码", code: "id" },
  373. { title: "场站", code: "stationName", width: "100" },
  374. { title: "机型", code: "modelId" },
  375. { title: "规则名称", code: "name", width: "150" },
  376. { title: "表达式", code: "expression", width: "150" },
  377. { title: "描述", code: "description", width: "150" },
  378. { title: "所属部件", code: "relatedPartsName" },
  379. // { title: "级别", code: "rank" },
  380. { title: "类型", code: "category" },
  381. { title: "是否启用", code: "enable" },
  382. ],
  383. tableHeader1: [
  384. { title: "编码", code: "id" },
  385. { title: "升压站", code: "stationName" },
  386. { title: "规则名称", code: "name" },
  387. { title: "表达式", code: "expression" },
  388. { title: "描述", code: "description" },
  389. // { title: "级别", code: "rank" },
  390. { title: "类型", code: "category" },
  391. { title: "是否启用", code: "enable" },
  392. ],
  393. });
  394. //型号列表
  395. const modelList = computed(() => {
  396. if (query.wpId == "") {
  397. return [];
  398. } else {
  399. return state.modelListAll[query.wpId];
  400. }
  401. return [{ id: "SEC-W02B-1250kW", aname: "SEC-W02B-1250kW" }];
  402. });
  403. //部件列表
  404. const fetchList = computed(() => {
  405. if (query.wpId == "") {
  406. return [];
  407. } else {
  408. if (query.wpId.includes("FDC")) {
  409. return state.fetchListAll?.fjbj;
  410. } else {
  411. return state.fetchListAll?.gfbj;
  412. }
  413. }
  414. return [
  415. {
  416. id: "1",
  417. category: "alertrule_category",
  418. nemCode: "YP",
  419. name: "叶片",
  420. orderNumber: 1,
  421. enable: 1,
  422. },
  423. {
  424. id: "2",
  425. category: "alertrule_category",
  426. nemCode: "LG",
  427. name: "轮毂",
  428. orderNumber: 2,
  429. enable: 1,
  430. },
  431. {
  432. id: "3",
  433. category: "alertrule_category",
  434. nemCode: "TJ",
  435. name: "塔架",
  436. orderNumber: 3,
  437. enable: 1,
  438. },
  439. {
  440. id: "4",
  441. category: "alertrule_category",
  442. nemCode: "JC",
  443. name: "机舱",
  444. orderNumber: 4,
  445. enable: 1,
  446. },
  447. {
  448. id: "5",
  449. category: "alertrule_category",
  450. nemCode: "KZXT",
  451. name: "控制系统",
  452. orderNumber: 5,
  453. enable: 1,
  454. },
  455. {
  456. id: "6",
  457. category: "alertrule_category",
  458. nemCode: "BJXT",
  459. name: "变桨系统",
  460. orderNumber: 6,
  461. enable: 1,
  462. },
  463. {
  464. id: "7",
  465. category: "alertrule_category",
  466. nemCode: "PHXT",
  467. name: "偏航系统",
  468. orderNumber: 7,
  469. enable: 1,
  470. },
  471. {
  472. id: "8",
  473. category: "alertrule_category",
  474. nemCode: "CLX",
  475. name: "齿轮箱",
  476. orderNumber: 8,
  477. enable: 1,
  478. },
  479. {
  480. id: "9",
  481. category: "alertrule_category",
  482. nemCode: "FDJ",
  483. name: "发电机",
  484. orderNumber: 9,
  485. enable: 1,
  486. },
  487. {
  488. id: "10",
  489. category: "alertrule_category",
  490. nemCode: "BPQ",
  491. name: "变频器",
  492. orderNumber: 10,
  493. enable: 1,
  494. },
  495. {
  496. id: "11",
  497. category: "alertrule_category",
  498. nemCode: "YYXT",
  499. name: "液压系统",
  500. orderNumber: 11,
  501. enable: 1,
  502. },
  503. {
  504. id: "12",
  505. category: "alertrule_category",
  506. nemCode: "FZXT",
  507. name: "辅助系统",
  508. orderNumber: 12,
  509. enable: 1,
  510. },
  511. {
  512. id: "13",
  513. category: "alertrule_category",
  514. nemCode: "CFXT",
  515. name: "测风系统",
  516. orderNumber: 13,
  517. enable: 1,
  518. },
  519. {
  520. id: "14",
  521. category: "alertrule_category",
  522. nemCode: "DWXT",
  523. name: "电网系统",
  524. orderNumber: 14,
  525. enable: 1,
  526. },
  527. {
  528. id: "15",
  529. category: "alertrule_category",
  530. nemCode: "TDG",
  531. name: "塔底柜",
  532. orderNumber: 15,
  533. enable: 1,
  534. },
  535. {
  536. id: "16",
  537. category: "alertrule_category",
  538. nemCode: "CDL",
  539. name: "传动链",
  540. orderNumber: 16,
  541. enable: 1,
  542. },
  543. {
  544. id: "17",
  545. category: "alertrule_category",
  546. nemCode: "QT",
  547. name: "其他",
  548. orderNumber: 17,
  549. enable: 1,
  550. },
  551. {
  552. id: "42",
  553. category: "alertrule_category",
  554. nemCode: "CGQ",
  555. name: "传感器",
  556. orderNumber: 19,
  557. enable: 1,
  558. },
  559. {
  560. id: "41",
  561. category: "alertrule_category",
  562. nemCode: "BYQ",
  563. name: "变压器",
  564. orderNumber: 18,
  565. enable: 1,
  566. },
  567. {
  568. id: "44",
  569. category: "alertrule_category",
  570. nemCode: "ZZ",
  571. name: "主轴",
  572. orderNumber: 20,
  573. enable: 1,
  574. },
  575. ];
  576. });
  577. // 场站列表/升压站列表
  578. const stationList = ref([
  579. {
  580. id: "SXJ_KGDL_XWT_FDC_STA",
  581. nemCode: "SXJ_KGDL_XWT_FDC_STA",
  582. name: "01风电场",
  583. address: "山西省朔州市14县",
  584. telephone: null,
  585. windCapacity: 99750.0,
  586. windCapacityUnit: "kW",
  587. windQuantityHs: 0,
  588. windQuantityLd: 33,
  589. capacity: 0.0,
  590. capacityUnit: "kW",
  591. quantityJz: 0,
  592. quantityZc: 0,
  593. jrwindCapacity: 41250.0,
  594. jrwindCapacityUnit: "kW",
  595. jrwindQuantityHs: 0,
  596. jrwindQuantityLd: 33,
  597. jrCapacity: 0.0,
  598. jrCapacityUnit: "kW",
  599. jrquantityJz: 0,
  600. jrquantityZc: 0,
  601. aname: "01风电场",
  602. longitude: 112.4,
  603. latitude: 40.2702,
  604. photo: null,
  605. systemManufact: "SHDQ_MF",
  606. headfarm: null,
  607. headfarmPhone: null,
  608. model: "SEC-W02B-1250kW",
  609. orderNum: 1,
  610. height: null,
  611. windType: "-1",
  612. companyId: "SXJ_KGDL_FLFD_ZGS",
  613. regionId: "SXJ_RGN",
  614. groupId: "KGDL_FGS",
  615. isAble: 1,
  616. spare1: "XWT",
  617. spare2: null,
  618. spare3: "1",
  619. spare4: "1",
  620. appCapacity: 99750.0,
  621. conCapacity: 0.0,
  622. gridCapacity: 41250.0,
  623. hoiCapacity: 99750.0,
  624. firstGridTime: "2008-09-20T16:00:00.000+0000",
  625. wholeGridTime: "2008-09-29T16:00:00.000+0000",
  626. anemoNumber: null,
  627. stationNumber: null,
  628. ypoint: null,
  629. xpoint: null,
  630. xemPoint: null,
  631. yemPoint: null,
  632. },
  633. {
  634. id: "SXJ_KGDL_BHB_FDC_STA",
  635. nemCode: "SXJ_KGDL_BHB_FDC_STA",
  636. name: "02风电场",
  637. address: "山西省朔州市15区",
  638. telephone: null,
  639. windCapacity: 48750.0,
  640. windCapacityUnit: "kW",
  641. windQuantityHs: 0,
  642. windQuantityLd: 37,
  643. capacity: 0.0,
  644. capacityUnit: "kW",
  645. quantityJz: 0,
  646. quantityZc: 0,
  647. jrwindCapacity: 48750.0,
  648. jrwindCapacityUnit: "kW",
  649. jrwindQuantityHs: 0,
  650. jrwindQuantityLd: 37,
  651. jrCapacity: 0.0,
  652. jrCapacityUnit: "kW",
  653. jrquantityJz: 0,
  654. jrquantityZc: 0,
  655. aname: "02风电场",
  656. longitude: 112.044444,
  657. latitude: 39.729722,
  658. photo: null,
  659. systemManufact: "SHDQ_MF/HYFN_MF",
  660. headfarm: null,
  661. headfarmPhone: null,
  662. model: "SEC-W01-1250W/HW2-S1500W",
  663. orderNum: 2,
  664. height: null,
  665. windType: "-1",
  666. companyId: "SXJ_KGDL_FLFD_ZGS",
  667. regionId: "SXJ_RGN",
  668. groupId: "KGDL_FGS",
  669. isAble: 1,
  670. spare1: "BHB",
  671. spare2: null,
  672. spare3: "1",
  673. spare4: "1",
  674. appCapacity: 48750.0,
  675. conCapacity: 0.0,
  676. gridCapacity: 48750.0,
  677. hoiCapacity: 48750.0,
  678. firstGridTime: "2008-11-18T16:00:00.000+0000",
  679. wholeGridTime: "2009-04-26T16:00:00.000+0000",
  680. anemoNumber: null,
  681. stationNumber: null,
  682. ypoint: null,
  683. xpoint: null,
  684. xemPoint: null,
  685. yemPoint: null,
  686. },
  687. {
  688. id: "SXJ_KGDL_YF_FDC_STA",
  689. nemCode: "SXJ_KGDL_YF_FDC_STA",
  690. name: "03风电场",
  691. address: "山西省朔州市15区",
  692. telephone: null,
  693. windCapacity: 99000.0,
  694. windCapacityUnit: "kW",
  695. windQuantityHs: 0,
  696. windQuantityLd: 66,
  697. capacity: 0.0,
  698. capacityUnit: "kW",
  699. quantityJz: 0,
  700. quantityZc: 0,
  701. jrwindCapacity: 99000.0,
  702. jrwindCapacityUnit: "kW",
  703. jrwindQuantityHs: 0,
  704. jrwindQuantityLd: 66,
  705. jrCapacity: 0.0,
  706. jrCapacityUnit: "kW",
  707. jrquantityJz: 0,
  708. jrquantityZc: 0,
  709. aname: "03风电场",
  710. longitude: 112.065278,
  711. latitude: 39.792222,
  712. photo: null,
  713. systemManufact: "HYFN_MF",
  714. headfarm: null,
  715. headfarmPhone: null,
  716. model: "HW2/1500(87)",
  717. orderNum: 3,
  718. height: null,
  719. windType: "-1",
  720. companyId: "SXJ_KGDL_FLFD_ZGS",
  721. regionId: "SXJ_RGN",
  722. groupId: "KGDL_FGS",
  723. isAble: 1,
  724. spare1: "YF",
  725. spare2: null,
  726. spare3: "1",
  727. spare4: "1",
  728. appCapacity: 99000.0,
  729. conCapacity: 0.0,
  730. gridCapacity: 99000.0,
  731. hoiCapacity: 99000.0,
  732. firstGridTime: "2014-04-30T16:00:00.000+0000",
  733. wholeGridTime: "2014-12-26T16:00:00.000+0000",
  734. anemoNumber: null,
  735. stationNumber: null,
  736. ypoint: null,
  737. xpoint: null,
  738. xemPoint: null,
  739. yemPoint: null,
  740. },
  741. {
  742. id: "SXJ_KGDL_BHB3_FDC_STA",
  743. nemCode: "SXJ_KGDL_BHB3_FDC_STA",
  744. name: "02三期",
  745. address: "山西省朔州市15区",
  746. telephone: null,
  747. windCapacity: 100000.0,
  748. windCapacityUnit: "kW",
  749. windQuantityHs: 0,
  750. windQuantityLd: 50,
  751. capacity: 0.0,
  752. capacityUnit: "kW",
  753. quantityJz: 0,
  754. quantityZc: 0,
  755. jrwindCapacity: 100000.0,
  756. jrwindCapacityUnit: "kW",
  757. jrwindQuantityHs: 0,
  758. jrwindQuantityLd: 50,
  759. jrCapacity: 0.0,
  760. jrCapacityUnit: "kW",
  761. jrquantityJz: 0,
  762. jrquantityZc: 0,
  763. aname: "02三期",
  764. longitude: 112.08,
  765. latitude: 39.792778,
  766. photo: null,
  767. systemManufact: "XDFN_MF",
  768. headfarm: null,
  769. headfarmPhone: null,
  770. model: "XE100-2000",
  771. orderNum: 4,
  772. height: null,
  773. windType: "-1",
  774. companyId: "SXJ_KGDL_FLFD_ZGS",
  775. regionId: "SXJ_RGN",
  776. groupId: "KGDL_FGS",
  777. isAble: 1,
  778. spare1: "BHB3",
  779. spare2: null,
  780. spare3: "1",
  781. spare4: "1",
  782. appCapacity: 100000.0,
  783. conCapacity: 0.0,
  784. gridCapacity: 100000.0,
  785. hoiCapacity: 100000.0,
  786. firstGridTime: "2019-09-14T16:00:00.000+0000",
  787. wholeGridTime: "2019-09-14T16:00:00.000+0000",
  788. anemoNumber: null,
  789. stationNumber: null,
  790. ypoint: null,
  791. xpoint: null,
  792. xemPoint: null,
  793. yemPoint: null,
  794. },
  795. {
  796. id: "SXJ_KGDL_PDL_FDC_STA",
  797. nemCode: "SXJ_KGDL_PDL_FDC_STA",
  798. name: "04风电场",
  799. address: "山西省忻州市宁武县",
  800. telephone: null,
  801. windCapacity: 48000.0,
  802. windCapacityUnit: "kW",
  803. windQuantityHs: 0,
  804. windQuantityLd: 26,
  805. capacity: 0.0,
  806. capacityUnit: "kW",
  807. quantityJz: 0,
  808. quantityZc: 0,
  809. jrwindCapacity: 48000.0,
  810. jrwindCapacityUnit: "kW",
  811. jrwindQuantityHs: 0,
  812. jrwindQuantityLd: 26,
  813. jrCapacity: 0.0,
  814. jrCapacityUnit: "kW",
  815. jrquantityJz: 0,
  816. jrquantityZc: 0,
  817. aname: "04风电场",
  818. longitude: 112.556111,
  819. latitude: 39.082222,
  820. photo: null,
  821. systemManufact: "ZCZG_MF",
  822. headfarm: null,
  823. headfarmPhone: null,
  824. model: "HZ93-2.0MW",
  825. orderNum: 5,
  826. height: null,
  827. windType: "-1",
  828. companyId: "SXJ_KGDL_FLFD_ZGS",
  829. regionId: "SXJ_RGN",
  830. groupId: "KGDL_FGS",
  831. isAble: 1,
  832. spare1: "PDL",
  833. spare2: null,
  834. spare3: "1",
  835. spare4: "1",
  836. appCapacity: 48000.0,
  837. conCapacity: 0.0,
  838. gridCapacity: 48000.0,
  839. hoiCapacity: 48000.0,
  840. firstGridTime: "2014-05-22T16:00:00.000+0000",
  841. wholeGridTime: "2014-05-22T16:00:00.000+0000",
  842. anemoNumber: null,
  843. stationNumber: null,
  844. ypoint: null,
  845. xpoint: null,
  846. xemPoint: null,
  847. yemPoint: null,
  848. },
  849. {
  850. id: "SXJ_KGDL_NJL_FDC_STA",
  851. nemCode: "SXJ_KGDL_NJL_FDC_STA",
  852. name: "05风电场",
  853. address: "山西省朔州市朔城区",
  854. telephone: null,
  855. windCapacity: 98000.0,
  856. windCapacityUnit: "kW",
  857. windQuantityHs: 0,
  858. windQuantityLd: 44,
  859. capacity: 0.0,
  860. capacityUnit: "kW",
  861. quantityJz: 0,
  862. quantityZc: 0,
  863. jrwindCapacity: 98000.0,
  864. jrwindCapacityUnit: "kW",
  865. jrwindQuantityHs: 0,
  866. jrwindQuantityLd: 44,
  867. jrCapacity: 0.0,
  868. jrCapacityUnit: "kW",
  869. jrquantityJz: 0,
  870. jrquantityZc: 0,
  871. aname: "05风电场",
  872. longitude: 112.23,
  873. latitude: 39.22,
  874. photo: null,
  875. systemManufact: "ZCZG_MF/TYZG_MF",
  876. headfarm: null,
  877. headfarmPhone: null,
  878. model: "H93L-2.0MW/TZ2500",
  879. orderNum: 6,
  880. height: null,
  881. windType: "-1",
  882. companyId: "SXJ_KGDL_FLFD_ZGS",
  883. regionId: "SXJ_RGN",
  884. groupId: "KGDL_FGS",
  885. isAble: 1,
  886. spare1: "NJL",
  887. spare2: null,
  888. spare3: "1",
  889. spare4: "1",
  890. appCapacity: 98000.0,
  891. conCapacity: 0.0,
  892. gridCapacity: 98000.0,
  893. hoiCapacity: 98000.0,
  894. firstGridTime: "2015-01-01T16:00:00.000+0000",
  895. wholeGridTime: "2015-01-18T16:00:00.000+0000",
  896. anemoNumber: null,
  897. stationNumber: null,
  898. ypoint: null,
  899. xpoint: null,
  900. xemPoint: null,
  901. yemPoint: null,
  902. },
  903. {
  904. id: "SXJ_KGDL_DJY_FDC_STA",
  905. nemCode: "SXJ_KGDL_DJY_FDC_STA",
  906. name: "06风电场",
  907. address: "山西省朔州市14县",
  908. telephone: null,
  909. windCapacity: 109000.0,
  910. windCapacityUnit: "kW",
  911. windQuantityHs: 0,
  912. windQuantityLd: 50,
  913. capacity: 0.0,
  914. capacityUnit: "kW",
  915. quantityJz: 0,
  916. quantityZc: 0,
  917. jrwindCapacity: 99000.0,
  918. jrwindCapacityUnit: "kW",
  919. jrwindQuantityHs: 0,
  920. jrwindQuantityLd: 50,
  921. jrCapacity: 0.0,
  922. jrCapacityUnit: "kW",
  923. jrquantityJz: 0,
  924. jrquantityZc: 0,
  925. aname: "06风电场",
  926. longitude: 112.18,
  927. latitude: 40.021111,
  928. photo: null,
  929. systemManufact: "LHDL_MF",
  930. headfarm: null,
  931. headfarmPhone: null,
  932. model: "/UP2000/105",
  933. orderNum: 7,
  934. height: null,
  935. windType: "-1",
  936. companyId: "SXJ_KGDL_FLFD_ZGS",
  937. regionId: "SXJ_RGN",
  938. groupId: "KGDL_FGS",
  939. isAble: 1,
  940. spare1: "DJY",
  941. spare2: null,
  942. spare3: "1",
  943. spare4: "1",
  944. appCapacity: 109000.0,
  945. conCapacity: 0.0,
  946. gridCapacity: 99000.0,
  947. hoiCapacity: 109000.0,
  948. firstGridTime: "2015-12-26T16:00:00.000+0000",
  949. wholeGridTime: "2016-01-27T16:00:00.000+0000",
  950. anemoNumber: null,
  951. stationNumber: null,
  952. ypoint: null,
  953. xpoint: null,
  954. xemPoint: null,
  955. yemPoint: null,
  956. },
  957. {
  958. id: "SXJ_KGDL_GJY_FDC_STA",
  959. nemCode: "SXJ_KGDL_GJY_FDC_STA",
  960. name: "07风电场",
  961. address: "山西省朔州市15区",
  962. telephone: null,
  963. windCapacity: 259500.0,
  964. windCapacityUnit: "kW",
  965. windQuantityHs: 0,
  966. windQuantityLd: 121,
  967. capacity: 0.0,
  968. capacityUnit: "kW",
  969. quantityJz: 0,
  970. quantityZc: 0,
  971. jrwindCapacity: 259500.0,
  972. jrwindCapacityUnit: "kW",
  973. jrwindQuantityHs: 0,
  974. jrwindQuantityLd: 121,
  975. jrCapacity: 0.0,
  976. jrCapacityUnit: "kW",
  977. jrquantityJz: 0,
  978. jrquantityZc: 0,
  979. aname: "07风电场",
  980. longitude: 112.08516,
  981. latitude: 39.51753,
  982. photo: null,
  983. systemManufact: "LHDL_MF/TYZG_MF/YJNY_MF",
  984. headfarm: null,
  985. headfarmPhone: null,
  986. model: "UP2000-105/TZ2000/116-85/EN141/2.6/EN141/3.2",
  987. orderNum: 8,
  988. height: null,
  989. windType: "-1",
  990. companyId: "SXJ_KGDL_FLFD_ZGS",
  991. regionId: "SXJ_RGN",
  992. groupId: "KGDL_FGS",
  993. isAble: 1,
  994. spare1: "GJY",
  995. spare2: null,
  996. spare3: "1",
  997. spare4: "1",
  998. appCapacity: 259500.0,
  999. conCapacity: 0.0,
  1000. gridCapacity: 259500.0,
  1001. hoiCapacity: 259500.0,
  1002. firstGridTime: "2015-12-18T16:00:00.000+0000",
  1003. wholeGridTime: "2015-12-31T16:00:00.000+0000",
  1004. anemoNumber: null,
  1005. stationNumber: null,
  1006. ypoint: null,
  1007. xpoint: null,
  1008. xemPoint: null,
  1009. yemPoint: null,
  1010. },
  1011. {
  1012. id: "SXJ_KGDL_PTZ_FDC_STA",
  1013. nemCode: "SXJ_KGDL_PTZ_FDC_STA",
  1014. name: "08风电场",
  1015. address: "山西省晋中市寿阳县",
  1016. telephone: null,
  1017. windCapacity: 99500.0,
  1018. windCapacityUnit: "kW",
  1019. windQuantityHs: 0,
  1020. windQuantityLd: 36,
  1021. capacity: 0.0,
  1022. capacityUnit: "kW",
  1023. quantityJz: 0,
  1024. quantityZc: 0,
  1025. jrwindCapacity: 99500.0,
  1026. jrwindCapacityUnit: "kW",
  1027. jrwindQuantityHs: 0,
  1028. jrwindQuantityLd: 36,
  1029. jrCapacity: 0.0,
  1030. jrCapacityUnit: "kW",
  1031. jrquantityJz: 0,
  1032. jrquantityZc: 0,
  1033. aname: "08风电场",
  1034. longitude: 112.859099,
  1035. latitude: 37.974642,
  1036. photo: null,
  1037. systemManufact: "HYDQ_MF",
  1038. headfarm: null,
  1039. headfarmPhone: null,
  1040. model: "/HW3-S2500(121)",
  1041. orderNum: 9,
  1042. height: null,
  1043. windType: "-1",
  1044. companyId: "SXJ_KGDL_FLFD_ZGS",
  1045. regionId: "SXJ_RGN",
  1046. groupId: "KGDL_FGS",
  1047. isAble: 1,
  1048. spare1: "PTZ",
  1049. spare2: null,
  1050. spare3: "1",
  1051. spare4: "1",
  1052. appCapacity: 99500.0,
  1053. conCapacity: 0.0,
  1054. gridCapacity: 99500.0,
  1055. hoiCapacity: 99500.0,
  1056. firstGridTime: "2017-07-15T16:00:00.000+0000",
  1057. wholeGridTime: "2017-07-15T16:00:00.000+0000",
  1058. anemoNumber: null,
  1059. stationNumber: null,
  1060. ypoint: null,
  1061. xpoint: null,
  1062. xemPoint: null,
  1063. yemPoint: null,
  1064. },
  1065. {
  1066. id: "SXJ_KGDL_HSM_FDC_STA",
  1067. nemCode: "SXJ_KGDL_HSM_FDC_STA",
  1068. name: "09风电场",
  1069. address: "山西省朔州市15区",
  1070. telephone: null,
  1071. windCapacity: 150000.0,
  1072. windCapacityUnit: "kW",
  1073. windQuantityHs: 0,
  1074. windQuantityLd: 60,
  1075. capacity: 0.0,
  1076. capacityUnit: "kW",
  1077. quantityJz: 0,
  1078. quantityZc: 0,
  1079. jrwindCapacity: 150000.0,
  1080. jrwindCapacityUnit: "kW",
  1081. jrwindQuantityHs: 0,
  1082. jrwindQuantityLd: 60,
  1083. jrCapacity: 0.0,
  1084. jrCapacityUnit: "kW",
  1085. jrquantityJz: 0,
  1086. jrquantityZc: 0,
  1087. aname: "09风电场",
  1088. longitude: 112.651944,
  1089. latitude: 39.526111,
  1090. photo: null,
  1091. systemManufact: "HYFN_MF",
  1092. headfarm: null,
  1093. headfarmPhone: null,
  1094. model: "/HW3-S2500(121)",
  1095. orderNum: 10,
  1096. height: null,
  1097. windType: "-1",
  1098. companyId: "SXJ_KGDL_FLFD_ZGS",
  1099. regionId: "SXJ_RGN",
  1100. groupId: "KGDL_FGS",
  1101. isAble: 1,
  1102. spare1: "HSM",
  1103. spare2: null,
  1104. spare3: "1",
  1105. spare4: "1",
  1106. appCapacity: 150000.0,
  1107. conCapacity: 0.0,
  1108. gridCapacity: 150000.0,
  1109. hoiCapacity: 150000.0,
  1110. firstGridTime: "2018-02-13T16:00:00.000+0000",
  1111. wholeGridTime: "2018-02-13T16:00:00.000+0000",
  1112. anemoNumber: null,
  1113. stationNumber: null,
  1114. ypoint: null,
  1115. xpoint: null,
  1116. xemPoint: null,
  1117. yemPoint: null,
  1118. },
  1119. {
  1120. id: "SXJ_KGDL_ZK_FDC_STA",
  1121. nemCode: "SXJ_KGDL_ZK_FDC_STA",
  1122. name: "10风电场",
  1123. address: "山西省晋中市平遥县",
  1124. telephone: null,
  1125. windCapacity: 100000.0,
  1126. windCapacityUnit: "kW",
  1127. windQuantityHs: 0,
  1128. windQuantityLd: 50,
  1129. capacity: 0.0,
  1130. capacityUnit: "kW",
  1131. quantityJz: 0,
  1132. quantityZc: 0,
  1133. jrwindCapacity: 100000.0,
  1134. jrwindCapacityUnit: "kW",
  1135. jrwindQuantityHs: 0,
  1136. jrwindQuantityLd: 50,
  1137. jrCapacity: 0.0,
  1138. jrCapacityUnit: "kW",
  1139. jrquantityJz: 0,
  1140. jrquantityZc: 0,
  1141. aname: "10风电场",
  1142. longitude: 112.416667,
  1143. latitude: 37.095833,
  1144. photo: null,
  1145. systemManufact: "TYZG_MF",
  1146. headfarm: null,
  1147. headfarmPhone: null,
  1148. model: "TZ-2000",
  1149. orderNum: 11,
  1150. height: null,
  1151. windType: "-1",
  1152. companyId: "SXJ_KGDL_FLFD_ZGS",
  1153. regionId: "SXJ_RGN",
  1154. groupId: "KGDL_FGS",
  1155. isAble: 1,
  1156. spare1: "ZK",
  1157. spare2: null,
  1158. spare3: "1",
  1159. spare4: "1",
  1160. appCapacity: 100000.0,
  1161. conCapacity: 0.0,
  1162. gridCapacity: 100000.0,
  1163. hoiCapacity: 100000.0,
  1164. firstGridTime: "2019-12-30T16:00:00.000+0000",
  1165. wholeGridTime: "2020-10-02T16:00:00.000+0000",
  1166. anemoNumber: null,
  1167. stationNumber: null,
  1168. ypoint: null,
  1169. xpoint: null,
  1170. xemPoint: null,
  1171. yemPoint: null,
  1172. },
  1173. {
  1174. id: "SXJ_KGDL_YTY_FDC_STA",
  1175. nemCode: "SXJ_KGDL_YTY_FDC_STA",
  1176. name: "11风电场",
  1177. address: "山西省晋中市寿阳县",
  1178. telephone: null,
  1179. windCapacity: 50000.0,
  1180. windCapacityUnit: "kW",
  1181. windQuantityHs: 0,
  1182. windQuantityLd: 20,
  1183. capacity: 0.0,
  1184. capacityUnit: "kW",
  1185. quantityJz: 0,
  1186. quantityZc: 0,
  1187. jrwindCapacity: 50000.0,
  1188. jrwindCapacityUnit: "kW",
  1189. jrwindQuantityHs: 0,
  1190. jrwindQuantityLd: 20,
  1191. jrCapacity: 0.0,
  1192. jrCapacityUnit: "kW",
  1193. jrquantityJz: 0,
  1194. jrquantityZc: 0,
  1195. aname: "11风电场",
  1196. longitude: 113.048467,
  1197. latitude: 37.637136,
  1198. photo: null,
  1199. systemManufact: "SHDQ_MF",
  1200. headfarm: null,
  1201. headfarmPhone: null,
  1202. model: "W2500C-135-90",
  1203. orderNum: 12,
  1204. height: null,
  1205. windType: "-1",
  1206. companyId: "SXJ_KGDL_FLFD_ZGS",
  1207. regionId: "SXJ_RGN",
  1208. groupId: "KGDL_FGS",
  1209. isAble: 1,
  1210. spare1: "YTY",
  1211. spare2: null,
  1212. spare3: "1",
  1213. spare4: "1",
  1214. appCapacity: 50000.0,
  1215. conCapacity: 0.0,
  1216. gridCapacity: 50000.0,
  1217. hoiCapacity: 50000.0,
  1218. firstGridTime: "2020-12-29T00:00:00.000+0000",
  1219. wholeGridTime: "2022-02-23T16:00:00.000+0000",
  1220. anemoNumber: null,
  1221. stationNumber: null,
  1222. ypoint: null,
  1223. xpoint: null,
  1224. xemPoint: null,
  1225. yemPoint: null,
  1226. },
  1227. {
  1228. id: "SXJ_KGDL_YLZ_FDC_STA",
  1229. nemCode: "SXJ_KGDL_YLZ_FDC_STA",
  1230. name: "12风电场",
  1231. address: "山西省晋中市寿阳县",
  1232. telephone: null,
  1233. windCapacity: 40000.0,
  1234. windCapacityUnit: "kW",
  1235. windQuantityHs: 0,
  1236. windQuantityLd: 13,
  1237. capacity: 0.0,
  1238. capacityUnit: "kW",
  1239. quantityJz: 0,
  1240. quantityZc: 0,
  1241. jrwindCapacity: 40000.0,
  1242. jrwindCapacityUnit: "kW",
  1243. jrwindQuantityHs: 0,
  1244. jrwindQuantityLd: 13,
  1245. jrCapacity: 0.0,
  1246. jrCapacityUnit: "kW",
  1247. jrquantityJz: 0,
  1248. jrquantityZc: 0,
  1249. aname: "12风电场",
  1250. longitude: 113.325278,
  1251. latitude: 37.771111,
  1252. photo: null,
  1253. systemManufact: "YJNY_MF",
  1254. headfarm: null,
  1255. headfarmPhone: null,
  1256. model: "EN141/3.20",
  1257. orderNum: 13,
  1258. height: null,
  1259. windType: "-1",
  1260. companyId: "SXJ_KGDL_FLFD_ZGS",
  1261. regionId: "SXJ_RGN",
  1262. groupId: "KGDL_FGS",
  1263. isAble: 1,
  1264. spare1: "YLZ",
  1265. spare2: null,
  1266. spare3: "1",
  1267. spare4: "1",
  1268. appCapacity: 40000.0,
  1269. conCapacity: 0.0,
  1270. gridCapacity: 40000.0,
  1271. hoiCapacity: 40000.0,
  1272. firstGridTime: "2020-12-29T16:00:00.000+0000",
  1273. wholeGridTime: "2021-06-03T16:00:00.000+0000",
  1274. anemoNumber: null,
  1275. stationNumber: null,
  1276. ypoint: null,
  1277. xpoint: null,
  1278. xemPoint: null,
  1279. yemPoint: null,
  1280. },
  1281. {
  1282. id: "NMM_KGDL_MLJ_FDC_STA",
  1283. nemCode: "NMM_KGDL_MLJ_FDC_STA",
  1284. name: "13一期",
  1285. address: "内蒙古乌兰察布市察右中旗科布尔镇",
  1286. telephone: null,
  1287. windCapacity: 50000.0,
  1288. windCapacityUnit: "kW",
  1289. windQuantityHs: 0,
  1290. windQuantityLd: 26,
  1291. capacity: 0.0,
  1292. capacityUnit: "kW",
  1293. quantityJz: 0,
  1294. quantityZc: 0,
  1295. jrwindCapacity: 50000.0,
  1296. jrwindCapacityUnit: "kW",
  1297. jrwindQuantityHs: 0,
  1298. jrwindQuantityLd: 26,
  1299. jrCapacity: 0.0,
  1300. jrCapacityUnit: "kW",
  1301. jrquantityJz: 0,
  1302. jrquantityZc: 0,
  1303. aname: "13一期",
  1304. longitude: 112.466667,
  1305. latitude: 41.283333,
  1306. photo: null,
  1307. systemManufact: "TYZG_MF",
  1308. headfarm: null,
  1309. headfarmPhone: null,
  1310. model: "TZ2000-87/TZ2000-93",
  1311. orderNum: 14,
  1312. height: null,
  1313. windType: "-1",
  1314. companyId: "NMM_KGDL_QH_ZGS",
  1315. regionId: "NMM_RGN",
  1316. groupId: "KGDL_FGS",
  1317. isAble: 1,
  1318. spare1: "MLJ",
  1319. spare2: null,
  1320. spare3: "1",
  1321. spare4: "1",
  1322. appCapacity: 50000.0,
  1323. conCapacity: 0.0,
  1324. gridCapacity: 50000.0,
  1325. hoiCapacity: 50000.0,
  1326. firstGridTime: "2006-12-31T16:00:00.000+0000",
  1327. wholeGridTime: "2006-12-31T16:00:00.000+0000",
  1328. anemoNumber: null,
  1329. stationNumber: null,
  1330. ypoint: null,
  1331. xpoint: null,
  1332. xemPoint: null,
  1333. yemPoint: null,
  1334. },
  1335. {
  1336. id: "SXJ_KGDL_YY_GDC_STA",
  1337. nemCode: "SXJ_KGDL_YY_GDC_STA",
  1338. name: "14电站",
  1339. address: "山西朔州14",
  1340. telephone: null,
  1341. windCapacity: 0.0,
  1342. windCapacityUnit: "kW",
  1343. windQuantityHs: 0,
  1344. windQuantityLd: 0,
  1345. capacity: 10000.0,
  1346. capacityUnit: "kW",
  1347. quantityJz: 21,
  1348. quantityZc: 1,
  1349. jrwindCapacity: 0.0,
  1350. jrwindCapacityUnit: "kW",
  1351. jrwindQuantityHs: 0,
  1352. jrwindQuantityLd: 0,
  1353. jrCapacity: 10000.0,
  1354. jrCapacityUnit: "kW",
  1355. jrquantityJz: 21,
  1356. jrquantityZc: 1,
  1357. aname: "14电站",
  1358. longitude: 112.410171,
  1359. latitude: 40.275243,
  1360. photo: null,
  1361. systemManufact: "YG_MF/SK_MF/JSRF_MF/BJABB_MF",
  1362. headfarm: null,
  1363. headfarmPhone: null,
  1364. model: "SG50KTL/PVS-800-57-100KW-A/AE-500-50-PV-X-HV",
  1365. orderNum: 15,
  1366. height: null,
  1367. windType: "-2",
  1368. companyId: "SXJ_KGDL_GFFD_ZGS",
  1369. regionId: "SXJ_RGN",
  1370. groupId: "KGDL_FGS",
  1371. isAble: 1,
  1372. spare1: "YY",
  1373. spare2: "1438",
  1374. spare3: "2.5",
  1375. spare4: "0.7",
  1376. appCapacity: 10000.0,
  1377. conCapacity: 0.0,
  1378. gridCapacity: 10000.0,
  1379. hoiCapacity: 10000.0,
  1380. firstGridTime: "2011-12-21T16:00:00.000+0000",
  1381. wholeGridTime: "2011-12-21T16:00:00.000+0000",
  1382. anemoNumber: null,
  1383. stationNumber: null,
  1384. ypoint: null,
  1385. xpoint: null,
  1386. xemPoint: null,
  1387. yemPoint: null,
  1388. },
  1389. {
  1390. id: "SXJ_KGDL_PL_GDC_STA",
  1391. nemCode: "SXJ_KGDL_PL_GDC_STA",
  1392. name: "15电站",
  1393. address: "山西朔州15",
  1394. telephone: null,
  1395. windCapacity: 0.0,
  1396. windCapacityUnit: "kW",
  1397. windQuantityHs: 0,
  1398. windQuantityLd: 0,
  1399. capacity: 5000.0,
  1400. capacityUnit: "kW",
  1401. quantityJz: 10,
  1402. quantityZc: 0,
  1403. jrwindCapacity: 0.0,
  1404. jrwindCapacityUnit: "kW",
  1405. jrwindQuantityHs: 0,
  1406. jrwindQuantityLd: 0,
  1407. jrCapacity: 5000.0,
  1408. jrCapacityUnit: "kW",
  1409. jrquantityJz: 10,
  1410. jrquantityZc: 0,
  1411. aname: "15电站",
  1412. longitude: 112.110833,
  1413. latitude: 39.806944,
  1414. photo: null,
  1415. systemManufact: "YG_MF",
  1416. headfarm: null,
  1417. headfarmPhone: null,
  1418. model: "SG500KTL",
  1419. orderNum: 16,
  1420. height: null,
  1421. windType: "-2",
  1422. companyId: "SXJ_KGDL_GFFD_ZGS",
  1423. regionId: "SXJ_RGN",
  1424. groupId: "KGDL_FGS",
  1425. isAble: 1,
  1426. spare1: "PL",
  1427. spare2: "1560.4",
  1428. spare3: "2.5",
  1429. spare4: "0.7",
  1430. appCapacity: 5000.0,
  1431. conCapacity: 0.0,
  1432. gridCapacity: 5000.0,
  1433. hoiCapacity: 5000.0,
  1434. firstGridTime: "2011-12-23T16:00:00.000+0000",
  1435. wholeGridTime: "2011-12-13T16:00:00.000+0000",
  1436. anemoNumber: null,
  1437. stationNumber: null,
  1438. ypoint: null,
  1439. xpoint: null,
  1440. xemPoint: null,
  1441. yemPoint: null,
  1442. },
  1443. {
  1444. id: "SXJ_KGDL_YX_GDC_STA",
  1445. nemCode: "SXJ_KGDL_YX_GDC_STA",
  1446. name: "16电站",
  1447. address: "山西朔州16",
  1448. telephone: null,
  1449. windCapacity: 0.0,
  1450. windCapacityUnit: "kW",
  1451. windQuantityHs: 0,
  1452. windQuantityLd: 0,
  1453. capacity: 60000.0,
  1454. capacityUnit: "kW",
  1455. quantityJz: 118,
  1456. quantityZc: 0,
  1457. jrwindCapacity: 0.0,
  1458. jrwindCapacityUnit: "kW",
  1459. jrwindQuantityHs: 0,
  1460. jrwindQuantityLd: 0,
  1461. jrCapacity: 60000.0,
  1462. jrCapacityUnit: "kW",
  1463. jrquantityJz: 118,
  1464. jrquantityZc: 0,
  1465. aname: "16电站",
  1466. longitude: 113.069,
  1467. latitude: 39.499,
  1468. photo: null,
  1469. systemManufact: "YG_MF/JSBF_MF",
  1470. headfarm: null,
  1471. headfarmPhone: null,
  1472. model: "SG500MX/SGI-500KTL",
  1473. orderNum: 17,
  1474. height: null,
  1475. windType: "-2",
  1476. companyId: "SXJ_KGDL_GFFD_ZGS",
  1477. regionId: "SXJ_RGN",
  1478. groupId: "KGDL_FGS",
  1479. isAble: 1,
  1480. spare1: "YX",
  1481. spare2: "1438",
  1482. spare3: "2.5",
  1483. spare4: "0.7",
  1484. appCapacity: 60000.0,
  1485. conCapacity: 0.0,
  1486. gridCapacity: 60000.0,
  1487. hoiCapacity: 60000.0,
  1488. firstGridTime: "2013-12-30T16:00:00.000+0000",
  1489. wholeGridTime: "2014-05-07T16:00:00.000+0000",
  1490. anemoNumber: null,
  1491. stationNumber: null,
  1492. ypoint: null,
  1493. xpoint: null,
  1494. xemPoint: null,
  1495. yemPoint: null,
  1496. },
  1497. {
  1498. id: "SXJ_KGDL_TZ_GDC_STA",
  1499. nemCode: "SXJ_KGDL_TZ_GDC_STA",
  1500. name: "17电站",
  1501. address: "山西大同17",
  1502. telephone: null,
  1503. windCapacity: 0.0,
  1504. windCapacityUnit: "kW",
  1505. windQuantityHs: 0,
  1506. windQuantityLd: 0,
  1507. capacity: 245000.0,
  1508. capacityUnit: "kW",
  1509. quantityJz: 448,
  1510. quantityZc: 81,
  1511. jrwindCapacity: 0.0,
  1512. jrwindCapacityUnit: "kW",
  1513. jrwindQuantityHs: 0,
  1514. jrwindQuantityLd: 0,
  1515. jrCapacity: 245000.0,
  1516. jrCapacityUnit: "kW",
  1517. jrquantityJz: 448,
  1518. jrquantityZc: 81,
  1519. aname: "17电站",
  1520. longitude: 114.030817,
  1521. latitude: 40.475253,
  1522. photo: null,
  1523. systemManufact: "YG_MF",
  1524. headfarm: null,
  1525. headfarmPhone: null,
  1526. model: "SG500MX/SG630KTL/SG60KTL-M/SG1250UD/SG1500UD",
  1527. orderNum: 18,
  1528. height: null,
  1529. windType: "-2",
  1530. companyId: "SXJ_KGDL_GFFD_ZGS",
  1531. regionId: "SXJ_RGN",
  1532. groupId: "KGDL_FGS",
  1533. isAble: 1,
  1534. spare1: "TZ",
  1535. spare2: "1510",
  1536. spare3: "2.5",
  1537. spare4: "0.7",
  1538. appCapacity: 245000.0,
  1539. conCapacity: 0.0,
  1540. gridCapacity: 245000.0,
  1541. hoiCapacity: 245000.0,
  1542. firstGridTime: "2014-06-29T16:00:00.000+0000",
  1543. wholeGridTime: "2014-06-29T16:00:00.000+0000",
  1544. anemoNumber: null,
  1545. stationNumber: null,
  1546. ypoint: null,
  1547. xpoint: null,
  1548. xemPoint: null,
  1549. yemPoint: null,
  1550. },
  1551. {
  1552. id: "SXJ_KGDL_YG_GDC_STA",
  1553. nemCode: "SXJ_KGDL_YG_GDC_STA",
  1554. name: "18电站",
  1555. address: "山西大同18",
  1556. telephone: null,
  1557. windCapacity: 0.0,
  1558. windCapacityUnit: "kW",
  1559. windQuantityHs: 0,
  1560. windQuantityLd: 0,
  1561. capacity: 70000.0,
  1562. capacityUnit: "kW",
  1563. quantityJz: 62,
  1564. quantityZc: 1282,
  1565. jrwindCapacity: 0.0,
  1566. jrwindCapacityUnit: "kW",
  1567. jrwindQuantityHs: 0,
  1568. jrwindQuantityLd: 0,
  1569. jrCapacity: 70000.0,
  1570. jrCapacityUnit: "kW",
  1571. jrquantityJz: 62,
  1572. jrquantityZc: 1282,
  1573. aname: "18电站",
  1574. longitude: 113.891111,
  1575. latitude: 39.998889,
  1576. photo: null,
  1577. systemManufact: "YST_MF/YG_MF/HW_MF",
  1578. headfarm: null,
  1579. headfarmPhone: null,
  1580. model: "EA500KM-M/SG500MX/SG630MX/SUN2000-28KTL",
  1581. orderNum: 19,
  1582. height: null,
  1583. windType: "-2",
  1584. companyId: "SXJ_KGDL_GFFD_ZGS",
  1585. regionId: "SXJ_RGN",
  1586. groupId: "KGDL_FGS",
  1587. isAble: 1,
  1588. spare1: "YG",
  1589. spare2: "1507",
  1590. spare3: "2.5",
  1591. spare4: "0.7",
  1592. appCapacity: 70000.0,
  1593. conCapacity: 0.0,
  1594. gridCapacity: 70000.0,
  1595. hoiCapacity: 70000.0,
  1596. firstGridTime: "2017-06-24T16:00:00.000+0000",
  1597. wholeGridTime: "2017-06-24T16:00:00.000+0000",
  1598. anemoNumber: null,
  1599. stationNumber: null,
  1600. ypoint: null,
  1601. xpoint: null,
  1602. xemPoint: null,
  1603. yemPoint: null,
  1604. },
  1605. {
  1606. id: "SXJ_KGDL_FS_GDC_STA",
  1607. nemCode: "SXJ_KGDL_FS_GDC_STA",
  1608. name: "19电站",
  1609. address: "山西吕梁19",
  1610. telephone: null,
  1611. windCapacity: 0.0,
  1612. windCapacityUnit: "kW",
  1613. windQuantityHs: 0,
  1614. windQuantityLd: 0,
  1615. capacity: 35000.0,
  1616. capacityUnit: "kW",
  1617. quantityJz: 54,
  1618. quantityZc: 0,
  1619. jrwindCapacity: 0.0,
  1620. jrwindCapacityUnit: "kW",
  1621. jrwindQuantityHs: 0,
  1622. jrwindQuantityLd: 0,
  1623. jrCapacity: 35000.0,
  1624. jrCapacityUnit: "kW",
  1625. jrquantityJz: 54,
  1626. jrquantityZc: 0,
  1627. aname: "19电站",
  1628. longitude: 111.149444,
  1629. latitude: 37.716111,
  1630. photo: null,
  1631. systemManufact: "YG_MF",
  1632. headfarm: null,
  1633. headfarmPhone: null,
  1634. model: "SG630MX",
  1635. orderNum: 20,
  1636. height: null,
  1637. windType: "-2",
  1638. companyId: "SXJ_KGDL_GFFD_ZGS",
  1639. regionId: "SXJ_RGN",
  1640. groupId: "KGDL_FGS",
  1641. isAble: 1,
  1642. spare1: "FS",
  1643. spare2: "1305.9",
  1644. spare3: "2.5",
  1645. spare4: "0.7",
  1646. appCapacity: 35000.0,
  1647. conCapacity: 0.0,
  1648. gridCapacity: 35000.0,
  1649. hoiCapacity: 35000.0,
  1650. firstGridTime: "2017-12-29T16:00:00.000+0000",
  1651. wholeGridTime: "2017-12-29T16:00:00.000+0000",
  1652. anemoNumber: null,
  1653. stationNumber: null,
  1654. ypoint: null,
  1655. xpoint: null,
  1656. xemPoint: null,
  1657. yemPoint: null,
  1658. },
  1659. {
  1660. id: "SXJ_KGDL_SY_GDC_STA",
  1661. nemCode: "SXJ_KGDL_SY_GDC_STA",
  1662. name: "20电站",
  1663. address: "山西省朔州市20县",
  1664. telephone: null,
  1665. windCapacity: 0.0,
  1666. windCapacityUnit: "kW",
  1667. windQuantityHs: 0,
  1668. windQuantityLd: 0,
  1669. capacity: 100000.0,
  1670. capacityUnit: "kW",
  1671. quantityJz: 116,
  1672. quantityZc: 487,
  1673. jrwindCapacity: 0.0,
  1674. jrwindCapacityUnit: "kW",
  1675. jrwindQuantityHs: 0,
  1676. jrwindQuantityLd: 0,
  1677. jrCapacity: 100000.0,
  1678. jrCapacityUnit: "kW",
  1679. jrquantityJz: 116,
  1680. jrquantityZc: 487,
  1681. aname: "20电站",
  1682. longitude: 112.90166,
  1683. latitude: 39.440833,
  1684. photo: null,
  1685. systemManufact: "YG_MF",
  1686. headfarm: null,
  1687. headfarmPhone: null,
  1688. model: "SG1250UD/SG50KTL/SG630MX",
  1689. orderNum: 21,
  1690. height: null,
  1691. windType: "-2",
  1692. companyId: "SXJ_KGDL_GFFD_ZGS",
  1693. regionId: "SXJ_RGN",
  1694. groupId: "KGDL_FGS",
  1695. isAble: 1,
  1696. spare1: "SY",
  1697. spare2: "1505",
  1698. spare3: "2.5",
  1699. spare4: "0.7",
  1700. appCapacity: 100000.0,
  1701. conCapacity: 0.0,
  1702. gridCapacity: 100000.0,
  1703. hoiCapacity: 100000.0,
  1704. firstGridTime: "2018-06-27T16:00:00.000+0000",
  1705. wholeGridTime: "2018-06-27T16:00:00.000+0000",
  1706. anemoNumber: null,
  1707. stationNumber: null,
  1708. ypoint: null,
  1709. xpoint: null,
  1710. xemPoint: null,
  1711. yemPoint: null,
  1712. },
  1713. {
  1714. id: "SXJ_KGDL_HR_GDC_STA",
  1715. nemCode: "SXJ_KGDL_HR_GDC_STA",
  1716. name: "21电站",
  1717. address: "山西朔州21",
  1718. telephone: null,
  1719. windCapacity: 0.0,
  1720. windCapacityUnit: "kW",
  1721. windQuantityHs: 0,
  1722. windQuantityLd: 0,
  1723. capacity: 70000.0,
  1724. capacityUnit: "kW",
  1725. quantityJz: 0,
  1726. quantityZc: 637,
  1727. jrwindCapacity: 0.0,
  1728. jrwindCapacityUnit: "kW",
  1729. jrwindQuantityHs: 0,
  1730. jrwindQuantityLd: 0,
  1731. jrCapacity: 70000.0,
  1732. jrCapacityUnit: "kW",
  1733. jrquantityJz: 0,
  1734. jrquantityZc: 637,
  1735. aname: "21电站",
  1736. longitude: 113.018889,
  1737. latitude: 39.880833,
  1738. photo: null,
  1739. systemManufact: "HW_MF/TBDG_MF",
  1740. headfarm: null,
  1741. headfarmPhone: null,
  1742. model: "SUN2000-125KTL-MO/TS80KTL-PLUS",
  1743. orderNum: 22,
  1744. height: null,
  1745. windType: "-2",
  1746. companyId: "SXJ_KGDL_GFFD_ZGS",
  1747. regionId: "SXJ_RGN",
  1748. groupId: "KGDL_FGS",
  1749. isAble: 1,
  1750. spare1: "HR",
  1751. spare2: "1524",
  1752. spare3: "2.5",
  1753. spare4: "0.7",
  1754. appCapacity: 70000.0,
  1755. conCapacity: 0.0,
  1756. gridCapacity: 70000.0,
  1757. hoiCapacity: 70000.0,
  1758. firstGridTime: "2019-12-30T16:00:00.000+0000",
  1759. wholeGridTime: "2019-12-30T16:00:00.000+0000",
  1760. anemoNumber: null,
  1761. stationNumber: null,
  1762. ypoint: null,
  1763. xpoint: null,
  1764. xemPoint: null,
  1765. yemPoint: null,
  1766. },
  1767. {
  1768. id: "SXJ_KGDL_TL_GDC_STA",
  1769. nemCode: "SXJ_KGDL_TL_GDC_STA",
  1770. name: "22电站",
  1771. address: "山西长治22",
  1772. telephone: null,
  1773. windCapacity: 0.0,
  1774. windCapacityUnit: "kW",
  1775. windQuantityHs: 0,
  1776. windQuantityLd: 0,
  1777. capacity: 100000.0,
  1778. capacityUnit: "kW",
  1779. quantityJz: 0,
  1780. quantityZc: 649,
  1781. jrwindCapacity: 0.0,
  1782. jrwindCapacityUnit: "kW",
  1783. jrwindQuantityHs: 0,
  1784. jrwindQuantityLd: 0,
  1785. jrCapacity: 100000.0,
  1786. jrCapacityUnit: "kW",
  1787. jrquantityJz: 0,
  1788. jrquantityZc: 649,
  1789. aname: "22电站",
  1790. longitude: 112.646111,
  1791. latitude: 36.409722,
  1792. photo: null,
  1793. systemManufact: "YG_MF",
  1794. headfarm: null,
  1795. headfarmPhone: null,
  1796. model: "SG136TX",
  1797. orderNum: 23,
  1798. height: null,
  1799. windType: "-2",
  1800. companyId: "SXJ_KGDL_GFFD_ZGS",
  1801. regionId: "SXJ_RGN",
  1802. groupId: "KGDL_FGS",
  1803. isAble: 1,
  1804. spare1: "TL",
  1805. spare2: "1260.1",
  1806. spare3: "2.5",
  1807. spare4: "0.7",
  1808. appCapacity: 100000.0,
  1809. conCapacity: 0.0,
  1810. gridCapacity: 100000.0,
  1811. hoiCapacity: 100000.0,
  1812. firstGridTime: "2019-12-30T16:00:00.000+0000",
  1813. wholeGridTime: "2019-12-30T16:00:00.000+0000",
  1814. anemoNumber: null,
  1815. stationNumber: null,
  1816. ypoint: null,
  1817. xpoint: null,
  1818. xemPoint: null,
  1819. yemPoint: null,
  1820. },
  1821. {
  1822. id: "SXJ_KGDL_JR_GDC_STA",
  1823. nemCode: "SXJ_KGDL_JR_GDC_STA",
  1824. name: "23电站",
  1825. address: "山西忻州23",
  1826. telephone: null,
  1827. windCapacity: 0.0,
  1828. windCapacityUnit: "kW",
  1829. windQuantityHs: 0,
  1830. windQuantityLd: 0,
  1831. capacity: 100000.0,
  1832. capacityUnit: "kW",
  1833. quantityJz: 0,
  1834. quantityZc: 646,
  1835. jrwindCapacity: 0.0,
  1836. jrwindCapacityUnit: "kW",
  1837. jrwindQuantityHs: 0,
  1838. jrwindQuantityLd: 0,
  1839. jrCapacity: 100000.0,
  1840. jrCapacityUnit: "kW",
  1841. jrquantityJz: 0,
  1842. jrquantityZc: 646,
  1843. aname: "23电站",
  1844. longitude: 113.746,
  1845. latitude: 39.364,
  1846. photo: null,
  1847. systemManufact: "YG_MF",
  1848. headfarm: null,
  1849. headfarmPhone: null,
  1850. model: "SG136TX",
  1851. orderNum: 24,
  1852. height: null,
  1853. windType: "-2",
  1854. companyId: "SXJ_KGDL_GFFD_ZGS",
  1855. regionId: "SXJ_RGN",
  1856. groupId: "KGDL_FGS",
  1857. isAble: 1,
  1858. spare1: "JR",
  1859. spare2: "1596",
  1860. spare3: "2.5",
  1861. spare4: "0.7",
  1862. appCapacity: 100000.0,
  1863. conCapacity: 0.0,
  1864. gridCapacity: 100000.0,
  1865. hoiCapacity: 100000.0,
  1866. firstGridTime: "2020-06-11T16:00:00.000+0000",
  1867. wholeGridTime: "2020-06-11T16:00:00.000+0000",
  1868. anemoNumber: null,
  1869. stationNumber: null,
  1870. ypoint: null,
  1871. xpoint: null,
  1872. xemPoint: null,
  1873. yemPoint: null,
  1874. },
  1875. ]);
  1876. let total = ref(0);
  1877. onMounted(() => {
  1878. getWpArray();
  1879. getfetchRelatePart();
  1880. getequipmentmodel_list();
  1881. getData();
  1882. });
  1883. const dialogclose = () => {
  1884. state.visible = false;
  1885. state.form = {};
  1886. getData();
  1887. };
  1888. const getWpArray = async () => {
  1889. const { data } = await getWpList(query.category);
  1890. stationList.value = data;
  1891. };
  1892. const getData = async () => {
  1893. const { data } = await custombj_fetchTableData(query);
  1894. if (data) {
  1895. state.tableData = data.records;
  1896. total.value = data.total;
  1897. }
  1898. };
  1899. //所属部件
  1900. const getfetchRelatePart = async () => {
  1901. const { data } = await fetchRelatePartAndAlarmType();
  1902. state.fetchListAll = data;
  1903. // if (router && router.currentRoute.value.query.name) {
  1904. // let queryName = router.currentRoute.value.query.name;
  1905. // query.relatedparts = queryName;
  1906. // }
  1907. // getData();
  1908. };
  1909. // 机型
  1910. const getequipmentmodel_list = async () => {
  1911. const { data } = await fetchModel();
  1912. state.modelListAll = data;
  1913. };
  1914. const handleEditClick = (row) => {
  1915. let obj = Object.assign({}, row);
  1916. state.form = obj;
  1917. state.visible = true;
  1918. };
  1919. const handleInsert = () => {
  1920. state.form = {
  1921. category: "windturbine",
  1922. enable: true,
  1923. stationId: "",
  1924. expression: "",
  1925. };
  1926. state.visible = true;
  1927. };
  1928. //changeStation
  1929. const changeStation = async () => {
  1930. query.modelId = "";
  1931. query.relatedparts = "";
  1932. };
  1933. //categorychanged
  1934. const categorychanged = async () => {
  1935. getWpArray();
  1936. clean();
  1937. getData();
  1938. };
  1939. // 分页导航
  1940. const handlePageChange = (val) => {
  1941. query.pageNum = val;
  1942. getData();
  1943. };
  1944. // 批量导出
  1945. const export2Excel = async () => {
  1946. let tableHeader = [];
  1947. let tableKey = [];
  1948. const { data } = await custombj_fetchTableData({
  1949. pageNum: 1,
  1950. pageSize: total.value,
  1951. ...query,
  1952. });
  1953. ElMessage.success(`导出成功!`);
  1954. if (query.category == "windturbine") {
  1955. tableHeader = state.tableHeader.map((item) => item.title);
  1956. tableKey = state.tableHeader.map((item) => item.code);
  1957. } else if (query.category == "booststation") {
  1958. tableHeader = state.tableHeader1.map((item) => item.title);
  1959. tableKey = state.tableHeader1.map((item) => item.code);
  1960. }
  1961. outExportExcel(
  1962. tableHeader,
  1963. tableKey,
  1964. data.records.map((item) => {
  1965. return {
  1966. ...item,
  1967. category: categoryConvert(item.category),
  1968. enable: enabledConvert(item.enable),
  1969. };
  1970. }),
  1971. "自定义预警配置导出excel"
  1972. );
  1973. };
  1974. // 模板下载
  1975. const outExe = () => {
  1976. custombj_importTemplate().then((response) => {
  1977. const link = document.createElement("a");
  1978. const blob = new Blob([response], {
  1979. type: "application/vnd.ms-excel",
  1980. });
  1981. link.style.display = "none";
  1982. link.href = URL.createObjectURL(blob);
  1983. link.download = "自定义报警模板.xlsx";
  1984. document.body.appendChild(link);
  1985. link.click();
  1986. document.body.removeChild(link);
  1987. });
  1988. };
  1989. // 批量导入
  1990. const handleSuccess = (response) => {
  1991. if (response.code == "200") {
  1992. ElMessage.success("导入成功!");
  1993. getData();
  1994. } else {
  1995. ElMessage.error(response.msg);
  1996. }
  1997. };
  1998. // 批量导入中
  1999. const handleProgress = (response) => {};
  2000. // 批量导入失败
  2001. const handleError = (response) => {
  2002. ElMessage.success("导入失败!");
  2003. };
  2004. // 清空字段
  2005. const clean = () => {
  2006. query.modelId = "";
  2007. query.relatedparts = "";
  2008. query.wpId = "";
  2009. query.enabled = "";
  2010. query.rank = "";
  2011. query.name = "";
  2012. query.pageNum = 1;
  2013. state.tableData = [];
  2014. total.value = 0;
  2015. };
  2016. const rankConvert = (val) => {
  2017. if (val == 1) {
  2018. return "低";
  2019. } else if (val == 2) {
  2020. return "中低";
  2021. } else if (val == 3) {
  2022. return "中";
  2023. } else if (val == 4) {
  2024. return "中高";
  2025. } else if (val == 5) {
  2026. return "高";
  2027. }
  2028. };
  2029. // 类型
  2030. const categoryConvert = (val) => {
  2031. if (val === "windturbine") {
  2032. return "风机";
  2033. } else if (val === "inverter") {
  2034. return "光伏";
  2035. }
  2036. };
  2037. // 状态
  2038. const enabledConvert = (val) => {
  2039. if (val === false) {
  2040. return "停用";
  2041. } else if (val === true) {
  2042. return "启用";
  2043. }
  2044. };
  2045. </script>
  2046. <style lang="less" scoped>
  2047. .custom-config {
  2048. height: 100%;
  2049. .form-wrapper {
  2050. display: flex;
  2051. justify-content: flex-start;
  2052. align-items: center;
  2053. padding: 20px 0 10px 20px;
  2054. .search-wrapper::v-deep {
  2055. display: flex;
  2056. justify-content: flex-start;
  2057. align-items: center;
  2058. font-size: 14px;
  2059. font-family: Microsoft YaHei;
  2060. font-weight: 400;
  2061. color: #b3b3b3;
  2062. .search-item {
  2063. margin-right: 10px;
  2064. width: 120px;
  2065. }
  2066. }
  2067. .btns {
  2068. display: flex;
  2069. justify-content: flex-end;
  2070. margin-right: 10px;
  2071. .el-button + .el-button {
  2072. margin-left: 10px;
  2073. }
  2074. }
  2075. .buttons {
  2076. background-color: rgba(5, 187, 76, 0.2);
  2077. border: 1px solid #3b6c53;
  2078. color: #b3b3b3;
  2079. font-size: 14px;
  2080. &:hover {
  2081. background-color: rgba(5, 187, 76, 0.5);
  2082. color: #ffffff;
  2083. }
  2084. }
  2085. }
  2086. }
  2087. .table-wrapper {
  2088. height: calc(100% - 160px);
  2089. width: calc(100% - 40px);
  2090. padding: 20px;
  2091. .leftContent[data-type~="greenSty"] {
  2092. background: url("~@/assets/imgs/title_left_bg1.png") no-repeat;
  2093. }
  2094. .leftContent[data-type~="blueSty"] {
  2095. background: url("~@/assets/imgs/title_left_bg.png") no-repeat;
  2096. }
  2097. .leftContent {
  2098. width: 242px;
  2099. height: 41px;
  2100. display: flex;
  2101. align-items: center;
  2102. span {
  2103. font-size: 16px;
  2104. font-family: Microsoft YaHei;
  2105. font-weight: 400;
  2106. color: #05bb4c;
  2107. margin-left: 25px;
  2108. }
  2109. }
  2110. .el-table::v-deep {
  2111. .el-table__body-wrapper {
  2112. height: calc(100% - 45px) !important;
  2113. }
  2114. }
  2115. .pagination-wrapper ::v-deep {
  2116. text-align: right;
  2117. margin-top: 10px;
  2118. }
  2119. }
  2120. .pagination {
  2121. margin-top: 15px;
  2122. }
  2123. </style>