index.vue 49 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432
  1. <!-- 【保障中心】模块 -->
  2. <template>
  3. <div id="playerMap" ref="playerMap" class="app-container lineBoard platformDiv">
  4. <!-- 统计数据区域 -->
  5. <el-row :gutter="20" class="rowCls">
  6. <div class="headerBg">
  7. <!--<div class="headerTitle">智能化柔性制造单元</div>-->
  8. <!-- tab切换回 -->
  9. <div class="tabsDiv">
  10. <!-- 3D孪生展示 -->
  11. <span>{{$t("largeScreen.common.data3d")}}</span>
  12. <!-- 2D简洁模式 -->
  13. <span class="tabsActive">{{$t("largeScreen.common.data2d")}}</span>
  14. <!-- 2D数据模式 -->
  15. <span @click="boxCardClk()">{{$t("largeScreen.common.data2shu")}}</span>
  16. </div>
  17. <!-- 全屏 -->
  18. <div class="battonDiv">
  19. <el-tooltip v-if="!isFullSreen" class="item" effect="dark" :content="$t('largeScreen.common.screening')" placement="top-start">
  20. <a @click="fullPing()"><i class="el-icon-full-screen"></i></a>
  21. </el-tooltip>
  22. <el-tooltip v-else class="item" effect="dark" :content="$t('largeScreen.common.cancel')" placement="top-start">
  23. <a @click="exitFullPing()"><i class="el-icon-switch-button"></i></a>
  24. </el-tooltip>
  25. </div>
  26. <!-- 返回产线 -->
  27. <span class="rebackLine" @click="rebackLine()">{{$t('largeScreen.common.returns')}}</span>
  28. </div>
  29. </el-row>
  30. <!-- 区域模块 -->
  31. <div class="areaDiv">
  32. <!-- 搜索-部分 -->
  33. <div class="defaultRow noBorder">
  34. <el-select v-model="opValue" @change="selectChange" :placeholder='$t("common.pleaseSelect")'>
  35. <el-option
  36. v-for="item in options"
  37. :key="item.value"
  38. :label="item.label"
  39. :value="item.value">
  40. </el-option>
  41. </el-select>
  42. </div>
  43. <div class="conntent">
  44. <!-- 上-部分 -->
  45. <el-row class="topRow alignLeft">
  46. <div class="bottomDiv2">
  47. <!-- 方块 -->
  48. <el-card class="box-card" style="margin-right: 20px;">
  49. <table class="blokTable" border="0" cellspacing="0" cellpadding="0">
  50. <tr v-for="(item, index) in sideList1" :key="index">
  51. <td v-for="obj in item" :key="obj.no" :class="obj.haveGoods == '1' ? 'selectTd' : ''">
  52. <div :class="obj.lockStatus == '0' ? 'lockStatusCls' : ''">{{ obj.name }}</div>
  53. </td>
  54. </tr>
  55. </table>
  56. <div class="linTitle">边线库</div>
  57. </el-card>
  58. </div>
  59. </el-row>
  60. <!-- 中-部分 -->
  61. <el-row class="topRow">
  62. <table border="0" cellspacing="0" cellpadding="0" style="width: 100%;margin: 30px auto;">
  63. <tr>
  64. <td class="guiDaoTd" width="700px">
  65. <div class="guiDao"></div>
  66. <!-- 伺服舵机 -->
  67. <template v-for="item in moduleList">
  68. <el-card v-if="item.code == 'BZ_371'" class="box-card guiDao-card">
  69. <!-- 内容区域(格式一) -->
  70. <table style="width: 100%;" @click="boxCardClkCard(item.id)">
  71. <tr>
  72. <td align="center">
  73. <el-tooltip class="item" effect="dark" :content="item.name" placement="top-start">
  74. <div class="eqTitle">{{item.name}}</div>
  75. </el-tooltip>
  76. <template v-for="obj in item.positionList">
  77. <el-tooltip :key="obj.id" class="item" effect="dark" :content="obj.name" placement="top-start">
  78. <div :class="reJisuanCls(obj, true)">
  79. <div class="ellipsisCom">{{obj.name}}</div>
  80. </div>
  81. </el-tooltip>
  82. </template>
  83. <!--<div class="contentView">0001</div>
  84. <div class="contentView">0002</div>
  85. <div class="contentView">0003</div>-->
  86. </td>
  87. </tr>
  88. </table>
  89. <!-- 状态 -->
  90. <div class="statusDiv">
  91. <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
  92. <span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
  93. <span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
  94. </div>
  95. </el-card>
  96. </template>
  97. </td>
  98. </tr>
  99. </table>
  100. </el-row>
  101. <!-- 下-部分 -->
  102. <el-row class="topRow" style="text-align: left;">
  103. <div class="bottomDiv2">
  104. <!-- AGV上下料站-1 -->
  105. <template v-for="item in moduleList">
  106. <el-card v-if="item.code == 'BZ_361'" :key="item.id" class="box-card">
  107. <!-- 内容区域(格式一) -->
  108. <table style="width: 100%;" @click="boxCardClkCard(item.id)">
  109. <tr>
  110. <td>
  111. <!-- 名称 -->
  112. <el-tooltip class="item" effect="dark" :content="item.name" placement="top-start">
  113. <div class="eqTitle">{{ item.name }}</div>
  114. </el-tooltip>
  115. <!-- 进度条 -->
  116. <div v-if="item.todoTaskPercent > 0" class="jinduTiao">
  117. <el-progress :text-inside="true" :stroke-width="15" :percentage="parseInt(item.todoTaskPercent)"></el-progress>
  118. </div>
  119. <!-- 任务内容 -->
  120. <table style="width: 100%;">
  121. <tr>
  122. <td>
  123. <div :class="reJisuanCls(item.positionList[0])">
  124. <el-tooltip class="item" effect="dark" :content="item.positionList[0].name" placement="top-start">
  125. <div class="ellipsisCom">{{item.positionList[0].name}}</div>
  126. </el-tooltip>
  127. </div>
  128. </td>
  129. <td width="40" align="right" style="vertical-align: top;">
  130. <!--<div class="block">
  131. <el-image
  132. style="max-width: 40px; max-height:50px;"
  133. :src="resolveLogo(toolsImg)"
  134. fit="contain"
  135. >
  136. </el-image>
  137. </div>-->
  138. <div v-if="item.toolLib == '1'" class="block">
  139. <el-image
  140. style="max-width: 40px; max-height:50px;"
  141. :src="resolveLogo(programImg)"
  142. fit="contain"
  143. >
  144. </el-image>
  145. </div>
  146. </td>
  147. </tr>
  148. </table>
  149. </td>
  150. </tr>
  151. </table>
  152. <!-- 状态 -->
  153. <div class="statusDiv">
  154. <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
  155. <span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
  156. <span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
  157. </div>
  158. </el-card>
  159. </template>
  160. <!-- 清洗机 -->
  161. <template v-for="item in moduleList">
  162. <el-card class="box-card" v-if="item.code == 'BZ_362'" :key="item.id">
  163. <!-- 内容区域(格式一) -->
  164. <table style="width: 100%;" @click="boxCardClkCard(item.id)">
  165. <tr>
  166. <td>
  167. <!-- 名称 -->
  168. <el-tooltip class="item" effect="dark" :content="item.name" placement="top-start">
  169. <div class="eqTitle">{{ item.name }}</div>
  170. </el-tooltip>
  171. <!-- 进度条 -->
  172. <div v-if="item.todoTaskPercent > 0" class="jinduTiao">
  173. <el-progress :text-inside="true" :stroke-width="15" :percentage="parseInt(item.todoTaskPercent)"></el-progress>
  174. </div>
  175. <!-- 任务内容 -->
  176. <table style="width: 100%;">
  177. <tr>
  178. <td>
  179. <div :class="reJisuanCls(item.positionList[0])">
  180. <el-tooltip class="item" effect="dark" :content="item.positionList[0].name" placement="top-start">
  181. <div class="ellipsisCom">{{item.positionList[0].name}}</div>
  182. </el-tooltip>
  183. </div>
  184. </td>
  185. <td width="40" align="right" style="vertical-align: top;">
  186. <!--<div class="block">
  187. <el-image
  188. style="max-width: 40px; max-height:50px;"
  189. :src="resolveLogo(toolsImg)"
  190. fit="contain"
  191. >
  192. </el-image>
  193. </div>-->
  194. <div v-if="item.toolLib == '1'" class="block">
  195. <el-image
  196. style="max-width: 40px; max-height:50px;"
  197. :src="resolveLogo(programImg)"
  198. fit="contain"
  199. >
  200. </el-image>
  201. </div>
  202. </td>
  203. </tr>
  204. </table>
  205. </td>
  206. </tr>
  207. </table>
  208. <!-- 状态 -->
  209. <div class="statusDiv">
  210. <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
  211. <span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
  212. <span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
  213. </div>
  214. </el-card>
  215. </template>
  216. <!-- SMU50-4 -->
  217. <template v-for="item in moduleList">
  218. <el-card v-if="item.code == 'BZ_363'" class="box-card">
  219. <!-- 内容区域(格式一) -->
  220. <table style="width: 100%;" @click="boxCardClkCard(item.id)">
  221. <tr>
  222. <td>
  223. <!-- 名称 -->
  224. <el-tooltip class="item" effect="dark" :content="item.name" placement="top-start">
  225. <div class="eqTitle">{{ item.name }}</div>
  226. </el-tooltip>
  227. <!-- 进度条 -->
  228. <div v-if="item.todoTaskPercent > 0" class="jinduTiao">
  229. <el-progress :text-inside="true" :stroke-width="15" :percentage="parseInt(item.todoTaskPercent)"></el-progress>
  230. </div>
  231. <!-- 任务内容 -->
  232. <table style="width: 100%;">
  233. <tr>
  234. <td>
  235. <div :class="reJisuanCls(item.positionList[0])">
  236. <el-tooltip class="item" effect="dark" :content="item.positionList[0].name" placement="top-start">
  237. <div class="ellipsisCom">{{item.positionList[0].name}}</div>
  238. </el-tooltip>
  239. </div>
  240. </td>
  241. <td width="40" align="right" style="vertical-align: top;">
  242. <div v-if="item.cncProgram == '1'" class="block">
  243. <el-image
  244. style="max-width: 40px; max-height:50px;"
  245. :src="resolveLogo(toolsImg)"
  246. fit="contain"
  247. >
  248. </el-image>
  249. </div>
  250. <div v-if="item.toolLib == '1'" class="block">
  251. <el-image
  252. style="max-width: 40px; max-height:50px;"
  253. :src="resolveLogo(programImg)"
  254. fit="contain"
  255. >
  256. </el-image>
  257. </div>
  258. </td>
  259. </tr>
  260. </table>
  261. </td>
  262. </tr>
  263. </table>
  264. <!-- 状态 -->
  265. <div class="statusDiv">
  266. <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
  267. <span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
  268. <span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
  269. </div>
  270. </el-card>
  271. </template>
  272. <!-- 方块 -->
  273. <el-card class="box-card" style="margin: 0 20px;">
  274. <table class="blokTable" border="0" cellspacing="0" cellpadding="0">
  275. <tr v-for="(item, index) in sideList2" :key="index">
  276. <td v-for="obj in item" :key="obj.no" :class="obj.haveGoods == '1' ? 'selectTd' : ''">
  277. <div :class="obj.lockStatus == '0' ? 'lockStatusCls' : ''">{{ obj.name }}</div>
  278. </td>
  279. </tr>
  280. </table>
  281. <div class="linTitle">框体缓存库</div>
  282. </el-card>
  283. <!-- 方块 -->
  284. <el-card class="box-card" style="margin: 0 20px;">
  285. <table class="blokTable" border="0" cellspacing="0" cellpadding="0">
  286. <tr v-for="(item, index) in sideList3" :key="index">
  287. <td v-for="obj in item" :key="obj.no" :class="obj.haveGoods == '1' ? 'selectTd' : ''">
  288. <div :class="obj.lockStatus == '0' ? 'lockStatusCls' : ''">{{ obj.name }}</div>
  289. </td>
  290. </tr>
  291. </table>
  292. <div class="linTitle">舱体缓存库</div>
  293. </el-card>
  294. <!-- 三坐标 -->
  295. <template v-for="item in moduleList">
  296. <el-card v-if="item.code == 'BZ_szb'" :key="item.id" class="box-card">
  297. <!-- 内容区域(格式一) -->
  298. <table style="width: 100%;" @click="boxCardClkCard(item.id)">
  299. <tr>
  300. <td>
  301. <!-- 名称 -->
  302. <el-tooltip class="item" effect="dark" :content="item.name" placement="top-start">
  303. <div class="eqTitle">{{ item.name }}</div>
  304. </el-tooltip>
  305. <!-- 进度条 -->
  306. <div v-if="item.todoTaskPercent > 0" class="jinduTiao">
  307. <el-progress :text-inside="true" :stroke-width="15" :percentage="parseInt(item.todoTaskPercent)"></el-progress>
  308. </div>
  309. <!-- 任务内容 -->
  310. <table style="width: 100%;">
  311. <tr>
  312. <td>
  313. <div :class="reJisuanCls(item.positionList[0])">
  314. <el-tooltip class="item" effect="dark" :content="item.positionList[0].name" placement="top-start">
  315. <div class="ellipsisCom">{{item.positionList[0].name}}</div>
  316. </el-tooltip>
  317. </div>
  318. </td>
  319. <td width="40" align="right" style="vertical-align: top;">
  320. <!--<div class="block">
  321. <el-image
  322. style="max-width: 40px; max-height:50px;"
  323. :src="resolveLogo(toolsImg)"
  324. fit="contain"
  325. >
  326. </el-image>
  327. </div>-->
  328. <div v-if="item.toolLib == '1'" class="block">
  329. <el-image
  330. style="max-width: 40px; max-height:50px;"
  331. :src="resolveLogo(programImg)"
  332. fit="contain"
  333. >
  334. </el-image>
  335. </div>
  336. </td>
  337. </tr>
  338. </table>
  339. </td>
  340. </tr>
  341. </table>
  342. <!-- 状态 -->
  343. <div class="statusDiv">
  344. <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
  345. <span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
  346. <span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
  347. </div>
  348. </el-card>
  349. </template>
  350. <!-- 打标机 -->
  351. <template v-for="item in moduleList">
  352. <el-card class="box-card" v-if="item.code == 'BZ_370'" :key="item.id">
  353. <!-- 内容区域(格式一) -->
  354. <table style="width: 100%;" @click="boxCardClkCard(item.id)">
  355. <tr>
  356. <td>
  357. <!-- 名称 -->
  358. <el-tooltip class="item" effect="dark" :content="item.name" placement="top-start">
  359. <div class="eqTitle">{{ item.name }}</div>
  360. </el-tooltip>
  361. <!-- 进度条 -->
  362. <div v-if="item.todoTaskPercent > 0" class="jinduTiao">
  363. <el-progress :text-inside="true" :stroke-width="15" :percentage="parseInt(item.todoTaskPercent)"></el-progress>
  364. </div>
  365. <!-- 任务内容 -->
  366. <table style="width: 100%;">
  367. <tr>
  368. <td>
  369. <div :class="reJisuanCls(item.positionList[0])">
  370. <el-tooltip class="item" effect="dark" :content="item.positionList[0].name" placement="top-start">
  371. <div class="ellipsisCom">{{item.positionList[0].name}}</div>
  372. </el-tooltip>
  373. </div>
  374. </td>
  375. <td width="40" align="right" style="vertical-align: top;">
  376. <!--<div class="block">
  377. <el-image
  378. style="max-width: 40px; max-height:50px;"
  379. :src="resolveLogo(toolsImg)"
  380. fit="contain"
  381. >
  382. </el-image>
  383. </div>-->
  384. <div v-if="item.toolLib == '1'" class="block">
  385. <el-image
  386. style="max-width: 40px; max-height:50px;"
  387. :src="resolveLogo(programImg)"
  388. fit="contain"
  389. >
  390. </el-image>
  391. </div>
  392. </td>
  393. </tr>
  394. </table>
  395. </td>
  396. </tr>
  397. </table>
  398. <!-- 状态 -->
  399. <div class="statusDiv">
  400. <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
  401. <span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
  402. <span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
  403. </div>
  404. </el-card>
  405. </template>
  406. <!-- SMU50-4 -->
  407. <template v-for="item in moduleList">
  408. <el-card v-if="item.code == 'BZ_364'" class="box-card">
  409. <!-- 内容区域(格式一) -->
  410. <table style="width: 100%;" @click="boxCardClkCard(item.id)">
  411. <tr>
  412. <td>
  413. <!-- 名称 -->
  414. <el-tooltip class="item" effect="dark" :content="item.name" placement="top-start">
  415. <div class="eqTitle">{{ item.name }}</div>
  416. </el-tooltip>
  417. <!-- 进度条 -->
  418. <div v-if="item.todoTaskPercent > 0" class="jinduTiao">
  419. <el-progress :text-inside="true" :stroke-width="15" :percentage="parseInt(item.todoTaskPercent)"></el-progress>
  420. </div>
  421. <!-- 任务内容 -->
  422. <table style="width: 100%;">
  423. <tr>
  424. <td>
  425. <div :class="reJisuanCls(item.positionList[0])">
  426. <el-tooltip class="item" effect="dark" :content="item.positionList[0].name" placement="top-start">
  427. <div class="ellipsisCom">{{item.positionList[0].name}}</div>
  428. </el-tooltip>
  429. </div>
  430. </td>
  431. <td width="40" align="right" style="vertical-align: top;">
  432. <div v-if="item.cncProgram == '1'" class="block">
  433. <el-image
  434. style="max-width: 40px; max-height:50px;"
  435. :src="resolveLogo(toolsImg)"
  436. fit="contain"
  437. >
  438. </el-image>
  439. </div>
  440. <div v-if="item.toolLib == '1'" class="block">
  441. <el-image
  442. style="max-width: 40px; max-height:50px;"
  443. :src="resolveLogo(programImg)"
  444. fit="contain"
  445. >
  446. </el-image>
  447. </div>
  448. </td>
  449. </tr>
  450. </table>
  451. </td>
  452. </tr>
  453. </table>
  454. <!-- 状态 -->
  455. <div class="statusDiv">
  456. <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
  457. <span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
  458. <span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
  459. </div>
  460. </el-card>
  461. </template>
  462. <!-- 打标机 -->
  463. <template v-for="item in moduleList">
  464. <el-card v-if="item.code == 'BZ_365'" :key="item.id" class="box-card">
  465. <!-- 内容区域(格式一) -->
  466. <table style="width: 100%;" @click="boxCardClkCard(item.id)">
  467. <tr>
  468. <td>
  469. <!-- 名称 -->
  470. <el-tooltip class="item" effect="dark" :content="item.name" placement="top-start">
  471. <div class="eqTitle">{{ item.name }}</div>
  472. </el-tooltip>
  473. <!-- 进度条 -->
  474. <div v-if="item.todoTaskPercent > 0" class="jinduTiao">
  475. <el-progress :text-inside="true" :stroke-width="15" :percentage="parseInt(item.todoTaskPercent)"></el-progress>
  476. </div>
  477. <!-- 任务内容 -->
  478. <table style="width: 100%;">
  479. <tr>
  480. <td>
  481. <div :class="reJisuanCls(item.positionList[0])">
  482. <el-tooltip class="item" effect="dark" :content="item.positionList[0].name" placement="top-start">
  483. <div class="ellipsisCom">{{item.positionList[0].name}}</div>
  484. </el-tooltip>
  485. </div>
  486. </td>
  487. <td width="40" align="right" style="vertical-align: top;">
  488. <!--<div class="block">
  489. <el-image
  490. style="max-width: 40px; max-height:50px;"
  491. :src="resolveLogo(toolsImg)"
  492. fit="contain"
  493. >
  494. </el-image>
  495. </div>-->
  496. <div v-if="item.toolLib == '1'" class="block">
  497. <el-image
  498. style="max-width: 40px; max-height:50px;"
  499. :src="resolveLogo(programImg)"
  500. fit="contain"
  501. >
  502. </el-image>
  503. </div>
  504. </td>
  505. </tr>
  506. </table>
  507. </td>
  508. </tr>
  509. </table>
  510. <!-- 状态 -->
  511. <div class="statusDiv">
  512. <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
  513. <span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
  514. <span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
  515. </div>
  516. </el-card>
  517. </template>
  518. <!-- 清洗机 -->
  519. <template v-for="item in moduleList">
  520. <el-card class="box-card" v-if="item.code == 'BZ_366'" :key="item.id">
  521. <!-- 内容区域(格式一) -->
  522. <table style="width: 100%;" @click="boxCardClkCard(item.id)">
  523. <tr>
  524. <td>
  525. <!-- 名称 -->
  526. <el-tooltip class="item" effect="dark" :content="item.name" placement="top-start">
  527. <div class="eqTitle">{{ item.name }}</div>
  528. </el-tooltip>
  529. <!-- 进度条 -->
  530. <div v-if="item.todoTaskPercent > 0" class="jinduTiao">
  531. <el-progress :text-inside="true" :stroke-width="15" :percentage="parseInt(item.todoTaskPercent)"></el-progress>
  532. </div>
  533. <!-- 任务内容 -->
  534. <table style="width: 100%;">
  535. <tr>
  536. <td>
  537. <div :class="reJisuanCls(item.positionList[0])">
  538. <el-tooltip class="item" effect="dark" :content="item.positionList[0].name" placement="top-start">
  539. <div class="ellipsisCom">{{item.positionList[0].name}}</div>
  540. </el-tooltip>
  541. </div>
  542. </td>
  543. <td width="40" align="right" style="vertical-align: top;">
  544. <!--<div class="block">
  545. <el-image
  546. style="max-width: 40px; max-height:50px;"
  547. :src="resolveLogo(toolsImg)"
  548. fit="contain"
  549. >
  550. </el-image>
  551. </div>-->
  552. <div v-if="item.toolLib == '1'" class="block">
  553. <el-image
  554. style="max-width: 40px; max-height:50px;"
  555. :src="resolveLogo(programImg)"
  556. fit="contain"
  557. >
  558. </el-image>
  559. </div>
  560. </td>
  561. </tr>
  562. </table>
  563. </td>
  564. </tr>
  565. </table>
  566. <!-- 状态 -->
  567. <div class="statusDiv">
  568. <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
  569. <span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
  570. <span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
  571. </div>
  572. </el-card>
  573. </template>
  574. <!-- SMU50-4 -->
  575. <template v-for="item in moduleList">
  576. <el-card v-if="item.code == 'BZ_367'" class="box-card">
  577. <!-- 内容区域(格式一) -->
  578. <table style="width: 100%;" @click="boxCardClkCard(item.id)">
  579. <tr>
  580. <td>
  581. <!-- 名称 -->
  582. <el-tooltip class="item" effect="dark" :content="item.name" placement="top-start">
  583. <div class="eqTitle">{{ item.name }}</div>
  584. </el-tooltip>
  585. <!-- 进度条 -->
  586. <div v-if="item.todoTaskPercent > 0" class="jinduTiao">
  587. <el-progress :text-inside="true" :stroke-width="15" :percentage="parseInt(item.todoTaskPercent)"></el-progress>
  588. </div>
  589. <!-- 任务内容 -->
  590. <table style="width: 100%;">
  591. <tr>
  592. <td>
  593. <div :class="reJisuanCls(item.positionList[0])">
  594. <el-tooltip class="item" effect="dark" :content="item.positionList[0].name" placement="top-start">
  595. <div class="ellipsisCom">{{item.positionList[0].name}}</div>
  596. </el-tooltip>
  597. </div>
  598. </td>
  599. <td width="40" align="right" style="vertical-align: top;">
  600. <div v-if="item.cncProgram == '1'" class="block">
  601. <el-image
  602. style="max-width: 40px; max-height:50px;"
  603. :src="resolveLogo(toolsImg)"
  604. fit="contain"
  605. >
  606. </el-image>
  607. </div>
  608. <div v-if="item.toolLib == '1'" class="block">
  609. <el-image
  610. style="max-width: 40px; max-height:50px;"
  611. :src="resolveLogo(programImg)"
  612. fit="contain"
  613. >
  614. </el-image>
  615. </div>
  616. </td>
  617. </tr>
  618. </table>
  619. </td>
  620. </tr>
  621. </table>
  622. <!-- 状态 -->
  623. <div class="statusDiv">
  624. <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
  625. <span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
  626. <span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
  627. </div>
  628. </el-card>
  629. </template>
  630. <!-- 打标机 -->
  631. <template v-for="item in moduleList">
  632. <el-card v-if="item.code == 'BZ_368'" :key="item.id" class="box-card">
  633. <!-- 内容区域(格式一) -->
  634. <table style="width: 100%;" @click="boxCardClkCard(item.id)">
  635. <tr>
  636. <td>
  637. <!-- 名称 -->
  638. <el-tooltip class="item" effect="dark" :content="item.name" placement="top-start">
  639. <div class="eqTitle">{{ item.name }}</div>
  640. </el-tooltip>
  641. <!-- 进度条 -->
  642. <div v-if="item.todoTaskPercent > 0" class="jinduTiao">
  643. <el-progress :text-inside="true" :stroke-width="15" :percentage="parseInt(item.todoTaskPercent)"></el-progress>
  644. </div>
  645. <!-- 任务内容 -->
  646. <table style="width: 100%;">
  647. <tr>
  648. <td>
  649. <div :class="reJisuanCls(item.positionList[0])">
  650. <el-tooltip class="item" effect="dark" :content="item.positionList[0].name" placement="top-start">
  651. <div class="ellipsisCom">{{item.positionList[0].name}}</div>
  652. </el-tooltip>
  653. </div>
  654. </td>
  655. <td width="40" align="right" style="vertical-align: top;">
  656. <!--<div class="block">
  657. <el-image
  658. style="max-width: 40px; max-height:50px;"
  659. :src="resolveLogo(toolsImg)"
  660. fit="contain"
  661. >
  662. </el-image>
  663. </div>-->
  664. <div v-if="item.toolLib == '1'" class="block">
  665. <el-image
  666. style="max-width: 40px; max-height:50px;"
  667. :src="resolveLogo(programImg)"
  668. fit="contain"
  669. >
  670. </el-image>
  671. </div>
  672. </td>
  673. </tr>
  674. </table>
  675. </td>
  676. </tr>
  677. </table>
  678. <!-- 状态 -->
  679. <div class="statusDiv">
  680. <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
  681. <span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
  682. <span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
  683. </div>
  684. </el-card>
  685. </template>
  686. <!-- 清洗机 -->
  687. <template v-for="item in moduleList">
  688. <el-card class="box-card" v-if="item.code == 'BZ_369'" :key="item.id">
  689. <!-- 内容区域(格式一) -->
  690. <table style="width: 100%;" @click="boxCardClkCard(item.id)">
  691. <tr>
  692. <td>
  693. <!-- 名称 -->
  694. <el-tooltip class="item" effect="dark" :content="item.name" placement="top-start">
  695. <div class="eqTitle">{{ item.name }}</div>
  696. </el-tooltip>
  697. <!-- 进度条 -->
  698. <div v-if="item.todoTaskPercent > 0" class="jinduTiao">
  699. <el-progress :text-inside="true" :stroke-width="15" :percentage="parseInt(item.todoTaskPercent)"></el-progress>
  700. </div>
  701. <!-- 任务内容 -->
  702. <table style="width: 100%;">
  703. <tr>
  704. <td>
  705. <div :class="reJisuanCls(item.positionList[0])">
  706. <el-tooltip class="item" effect="dark" :content="item.positionList[0].name" placement="top-start">
  707. <div class="ellipsisCom">{{item.positionList[0].name}}</div>
  708. </el-tooltip>
  709. </div>
  710. </td>
  711. <td width="40" align="right" style="vertical-align: top;">
  712. <!--<div class="block">
  713. <el-image
  714. style="max-width: 40px; max-height:50px;"
  715. :src="resolveLogo(toolsImg)"
  716. fit="contain"
  717. >
  718. </el-image>
  719. </div>-->
  720. <div v-if="item.toolLib == '1'" class="block">
  721. <el-image
  722. style="max-width: 40px; max-height:50px;"
  723. :src="resolveLogo(programImg)"
  724. fit="contain"
  725. >
  726. </el-image>
  727. </div>
  728. </td>
  729. </tr>
  730. </table>
  731. </td>
  732. </tr>
  733. </table>
  734. <!-- 状态 -->
  735. <div class="statusDiv">
  736. <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
  737. <span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
  738. <span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
  739. </div>
  740. </el-card>
  741. </template>
  742. </div>
  743. </el-row>
  744. </div>
  745. </div>
  746. </div>
  747. </template>
  748. <script>
  749. // 【区域管理】-API
  750. import lineBoardAPI from "@/api/runManageCenter/lineBoard"
  751. // 【示范线大屏】-API
  752. import LargeScreenAPI from "@/api/largeScreen"
  753. // 共通保存本地
  754. import db from '@/utils/localstorage'
  755. import elDragDialog from '@/directive/el-drag-dialog'
  756. import { downloadFile, initEnums, initDicts, initQueryParams, fullScreen, exitFullScreen } from '@/utils/commons'
  757. import { randomFloor } from '@/utils/utils'
  758. import axios from 'axios'
  759. // 加载动态数字组件
  760. import countTo from 'vue-count-to'
  761. export default {
  762. name: "IntellectMachining",
  763. directives: { elDragDialog },
  764. components: { countTo },
  765. props: {
  766. },
  767. data () {
  768. return {
  769. resourceId: '',
  770. url: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg',
  771. toolsImg: 'tools.png',
  772. programImg: 'program.png',
  773. srcList: [
  774. 'https://fuss10.elemecdn.com/8/27/f01c15bb73e1ef3793e64e6b7bbccjpeg.jpeg',
  775. 'https://fuss10.elemecdn.com/1/8e/aeffeb4de74e2fde4bd74fc7b4486jpeg.jpeg'
  776. ],
  777. topTongjiData: {"allCount": 0, "onlineCount": 0,"offlineCount": 0,"supervisionCount": 0,"independentCount": 0,"workCount": 0,"freeCount": 0,"waitCount": 0,"exceptionCount": 0},
  778. tabOneData: {}, // 按区域-数据,
  779. tabDownData: { // 下部分-数据
  780. list: []
  781. },
  782. sideList1: [], // 边线库-上
  783. sideList2: {}, // 边线库-框体缓存库
  784. sideList3: {}, // 边线库-舱体缓存库
  785. isFullSreen: false, // 默认不全屏
  786. queryParams: initQueryParams({}),
  787. moduleList: [], // 模块信息
  788. options: [{
  789. value: 'A',
  790. label: '保障中心'
  791. }, {
  792. value: 'B',
  793. label: '舱体线'
  794. }, {
  795. value: 'C',
  796. label: '框体线'
  797. }],
  798. opValue: 'A',
  799. }
  800. },
  801. // 实例已经在内存中创建好,此时data和methods已将ok,如果要操作data中的数据或是调用methods中的方法,最早只能在created中操作
  802. created() {
  803. // 加载生产资源
  804. this.getTabList();
  805. // 边线库-上
  806. this.getQualitySide("1");
  807. // 边线库-框体缓存库
  808. this.getQualitySide("2");
  809. // 边线库-舱体缓存库
  810. this.getQualitySide("3");
  811. // 加载-模块信息
  812. this.demoLineResource();
  813. },
  814. watch: {
  815. // $route(){
  816. // // 如果是【产线看板详情页面】
  817. // if(this.$route.fullPath.indexOf("/runManageCenter/lineBoard") > -1){
  818. // // 是否显示大屏
  819. // // this.setMaxScreen()
  820. // }
  821. // },
  822. websocketMsg(curVal, oldVal) {
  823. console.log("33333333333333333333333333333333");
  824. let obj = JSON.parse(curVal)
  825. this.openMessageTips(obj)
  826. }
  827. },
  828. computed: {
  829. currentUser () {
  830. return this.$store.state.account.user
  831. },
  832. nationList() {
  833. return convertEnum(this.dicts.NATION)
  834. },
  835. // 接收信息
  836. websocketMsg() {
  837. return this.$store.getters.STAFF_UPDATE.msg
  838. }
  839. },
  840. mounted () {
  841. // 判断长连接,是否已经开启
  842. if(this.$store.state.websocket.websock == null){
  843. // 页面刚进入时开启长连接
  844. this.$store.dispatch('STAFF_WEBSOCKET')
  845. }
  846. },
  847. // 销毁
  848. destroyed() {
  849. this.websocketClose()
  850. },
  851. methods: {
  852. // 加载-仓储区模块信息
  853. demoLineResource(){
  854. LargeScreenAPI.yunjianResource({ type:1 }).then(res => {
  855. res = res.data;
  856. if(res.isSuccess){
  857. console.log("2D模式-模块信息123: ",res.data);
  858. this.moduleList = res.data.list;
  859. }
  860. })
  861. },
  862. // [选择单元]的值变化-事件
  863. selectChange(val){
  864. console.log("[选择单元]的值变化: ", val);
  865. let paths = "";
  866. if(val == "A"){ // 保障中心
  867. paths = "/largeScreen/supportCenter";
  868. }
  869. if(val == "B"){ // 舱体线
  870. paths = "/largeScreen/frameLine";
  871. }
  872. if(val == "C"){ // 框体线
  873. paths = "/largeScreen/cabinLine";
  874. }
  875. if(paths){
  876. this.toRouter(paths);
  877. }
  878. },
  879. // 根据路由,跳转页面
  880. toRouter(paths){
  881. // 调用全局挂载的方法
  882. this.$store.dispatch('tagsView/delView', this.$route).then(res => {
  883. this.$router.push({ path: paths, query: {resourceId: this.tabDownData.list.length > 0 ? this.tabDownData.list[0].id : '' }}) //带参跳转
  884. })
  885. },
  886. // 是否设置大屏
  887. setMaxScreen(){
  888. let isCurrScreen = db.get("isCurrScreen");
  889. console.log("是否全屏22222:",isCurrScreen)
  890. if(isCurrScreen == true){
  891. this.fullPing();
  892. }
  893. },
  894. // 推送接收到的数据
  895. openMessageTips(data){
  896. // 如果是【产线看板】
  897. if(this.$route.fullPath.indexOf("/largeScreen/supportCenter") > -1){
  898. console.log("接收websocket的推送信息22222 == ",data)
  899. // 如果是【线边库】信息
  900. if(data.type == 'PUSH_TYPE_STORGE'){
  901. this.sideList1 = data.data.BZ_01;
  902. this.sideList2 = data.data.BZ_02;
  903. this.sideList3 = data.data.BZ_03;
  904. }
  905. // 如果是【生产资源】信息
  906. if(data.type == 'PUSH_TYPE_RESOURCE') {
  907. this.moduleList = data.data.list;
  908. console.log("接收websocket的推送信息333 == ",data.data.list)
  909. //console.log("接收websocket的推送信息--【柔性智能加工区】 == ",data.data.list);
  910. // this.moduleList = data.data['4'];
  911. }
  912. // 如果是【生产资源】信息
  913. /*if(data.type == 'PUSH_TYPE_RESOURCE_STATUS'){
  914. if(data[this.resourceId]){
  915. // 生产资源的状态和进度
  916. if(this.tabDownData.list[0].linkStatus){
  917. this.tabDownData.list[0].linkStatus = data[this.resourceId].linkStatus
  918. }
  919. if(this.tabDownData.list[0].controlStatus){
  920. this.tabDownData.list[0].controlStatus = data[this.resourceId].controlStatus
  921. }
  922. if(this.tabDownData.list[0].productionStatus){
  923. this.tabDownData.list[0].productionStatus = data[this.resourceId].productionStatus
  924. }
  925. this.tabDownData.list[0].todoTaskPercent = data[this.resourceId].todoTaskPercent
  926. }
  927. }*/
  928. }
  929. },
  930. // 组件销毁的时候,关闭websocket连接
  931. websocketClose() {
  932. this.$store.getters.STAFF_UPDATE.lockReconnect = true
  933. this.$store.getters.STAFF_UPDATE.websock.close() // 离开路由之后断开websocket连接
  934. clearTimeout(this.$store.getters.STAFF_UPDATE.reconnectData) // 离开清除 timeout
  935. clearTimeout(this.$store.getters.STAFF_UPDATE.timeoutObj) // 离开清除 timeout
  936. clearTimeout(this.$store.getters.STAFF_UPDATE.serverTimeoutObj) // 离开清除 timeout
  937. },
  938. // websocket信息变更
  939. onmessage() {
  940. this.$store.getters.STAFF_UPDATE.websock.onmessage = function(evt) {
  941. //console.log(evt)
  942. }
  943. },
  944. // 【SUM50】点击-事件
  945. boxCardClk(){
  946. let paths = "/largeScreen/twoDatasModel";
  947. // 调用全局挂载的方法
  948. this.$store.dispatch('tagsView/delView', this.$route).then(res => {
  949. this.$router.push({ path: paths, query: {}}) //带参跳转
  950. })
  951. // this.$router.push('/runManageCenter/lineBoardDetail')
  952. // console.log("弹出详情页面!", paths)
  953. },
  954. // 全屏
  955. fullPing(){
  956. this.$nextTick(() => {
  957. // 显示【退出全屏】
  958. this.isFullSreen = true
  959. // 如果是退出全屏
  960. db.save("isCurrScreen", this.isFullSreen)
  961. let $playerMap = this.$refs.playerMap
  962. if($playerMap){
  963. fullScreen($playerMap)
  964. // fullScreen(document.getElementById('playerMap'))
  965. }
  966. })
  967. },
  968. // 退出全屏
  969. exitFullPing(){
  970. this.$nextTick(() => {
  971. // 显示【全屏】
  972. this.isFullSreen = false
  973. // 如果是全屏
  974. db.save("isCurrScreen", this.isFullSreen)
  975. exitFullScreen(document.getElementById('playerMap'))
  976. })
  977. },
  978. // 【返回产线】按钮-事件
  979. rebackLine(){
  980. this.$router.go(-1);
  981. },
  982. // 【SUM50】点击-事件
  983. boxCardClkCard(id){
  984. let paths = "/runManageCenter/lineBoardDetail";
  985. // 调用全局挂载的方法
  986. this.$store.dispatch('tagsView/delView', this.$route).then(res => {
  987. this.$router.push({ path: paths, query: { resourceId: id }}) //带参跳转
  988. })
  989. },
  990. // 加载背景颜色
  991. setBackground(color){
  992. return "background: "+ color +";"
  993. },
  994. // 生产资源,计算返回class
  995. reJisuanCls(obj, flag) {
  996. let str = "contentView hebingDiv";
  997. if(flag){
  998. str = "contentView";
  999. }
  1000. if(obj.lockStatus == "0"){
  1001. str += " borderBottom8";
  1002. }
  1003. if(obj.haveGoods == '1'){
  1004. str += " haveGoodsCls";
  1005. }
  1006. return str;
  1007. },
  1008. // 加载【本地图片】
  1009. resolveLogo(logo) {
  1010. return require(`@/assets/icon/${logo}`);
  1011. },
  1012. // 获取列表数据
  1013. getTabList(){
  1014. lineBoardAPI.getBigScreenList({}).then(res => {
  1015. res = res.data
  1016. console.log("神抽狗资源:", res)
  1017. if(res.isSuccess){
  1018. this.tabDownData.list = res.data.list
  1019. // 给资源赋值id
  1020. if(this.tabDownData.list && this.tabDownData.list.length > 0){
  1021. this.resourceId = this.tabDownData.list[0].id;
  1022. }
  1023. }
  1024. })
  1025. },
  1026. // 边线库
  1027. getQualitySide(type) {
  1028. /*for(let i = 1; i <= 10; i++){
  1029. let arr = [];
  1030. for(let j = 1; j <= 30; j++){
  1031. arr.push({
  1032. no: 'wks'+ Math.random(),
  1033. haveGoods: randomFloor(1,10000) > 9000 ? '1' : '0',
  1034. lockStatus: randomFloor(1,10000) > 9000 ? '0' : '1',
  1035. name: (i-1)*30+j
  1036. });
  1037. }
  1038. this.sideList0.push(arr);
  1039. }
  1040. console.log("打印数据:", this.sideList0);
  1041. this.sideList = [
  1042. [
  1043. {no: '1', haveGoods: '1', lockStatus: '0', name: '1'},
  1044. {no: '2', haveGoods: '0', lockStatus: '0', name: '2'},
  1045. {no: '3', haveGoods: '0', lockStatus: '0', name: '3'},
  1046. {no: '4', haveGoods: '1', lockStatus: '0', name: '4'},
  1047. {no: '5', haveGoods: '1', lockStatus: '1', name: '5'}
  1048. ],
  1049. [
  1050. {no: '10', haveGoods: '0', lockStatus: '1', name: '7'},
  1051. {no: '21', haveGoods: '0', lockStatus: '0', name: '8'},
  1052. {no: '22', haveGoods: '1', lockStatus: '0', name: '9'},
  1053. {no: '23', haveGoods: '0', lockStatus: '1', name: '10'},
  1054. {no: '24', haveGoods: '0', lockStatus: '0', name: '11'}
  1055. ]
  1056. ];*/
  1057. LargeScreenAPI.baozhangCard({ type }).then(res => {
  1058. res = res.data
  1059. console.log("【边线库】5:", res)
  1060. if(res.isSuccess){
  1061. if(type == "1") {
  1062. this.sideList1 = res.data;
  1063. }
  1064. if(type == "2") {
  1065. this.sideList2 = res.data;
  1066. }
  1067. if(type == "3") {
  1068. this.sideList3 = res.data;
  1069. }
  1070. }
  1071. })
  1072. }
  1073. }
  1074. }
  1075. </script>
  1076. <!-- 全局样式-通过定义父DOM的calss,来只影响本组件 -->
  1077. <style type="text/css" lang="scss">
  1078. .bottomDiv2::-webkit-scrollbar-thumb {
  1079. background: #EEEEEE20;
  1080. }
  1081. </style>
  1082. <!-- 本组件样式 -->
  1083. <style lang="scss" scoped>
  1084. .bottomDiv2 {
  1085. text-align: left;
  1086. .el-card {
  1087. vertical-align: top;
  1088. }
  1089. }
  1090. .linTitle {
  1091. display: inline-block;
  1092. width: 100%;
  1093. text-align: left;
  1094. color: #FFFFFF;
  1095. margin-top: 5px;
  1096. font-size: 14px;
  1097. }
  1098. .defaultRow{
  1099. text-align: left;
  1100. margin-left: 20px;
  1101. margin-bottom: 0;
  1102. .el-input__inner {
  1103. background: none;
  1104. color: #FFFFFF;
  1105. }
  1106. }
  1107. .headerBg{
  1108. .tabsDiv{
  1109. position: absolute;
  1110. font-size: 17px;
  1111. font-weight: bold;
  1112. color: #28BDE0;
  1113. bottom: 20px;
  1114. left: 0;
  1115. span {
  1116. cursor: pointer;
  1117. margin-right: 20px;
  1118. }
  1119. span:hover{
  1120. opacity: 0.7;
  1121. }
  1122. .tabsActive{
  1123. color: #FFFFFF;
  1124. }
  1125. }
  1126. .rebackLine{
  1127. position: absolute;
  1128. right: 60px;
  1129. top: 45px;
  1130. display: inline-block;
  1131. padding: 5px 10px;
  1132. color: #28BDE0;
  1133. cursor: pointer;
  1134. &:hover{
  1135. opacity: 0.7;
  1136. }
  1137. }
  1138. }
  1139. .battonDiv{
  1140. right: 20px;
  1141. }
  1142. .topRow{
  1143. margin: 20px 20px;
  1144. .alignLeft{
  1145. text-align: left;
  1146. }
  1147. .bottomDiv2{
  1148. width: 100%;
  1149. min-height: 202px;
  1150. white-space: nowrap;
  1151. overflow-x: auto;
  1152. /*&::-webkit-scrollbar-thumb {
  1153. background: rgb(238 233 233 / 20%);
  1154. }*/
  1155. }
  1156. }
  1157. .headerTitle{
  1158. position: relative;
  1159. top: 20px;
  1160. left: -13px;
  1161. font-family: "微软雅黑";
  1162. font-size: 32px;
  1163. text-shadow: 1px 2px 3px #ece9e9;
  1164. letter-spacing: 3px;
  1165. }
  1166. .blokTable{
  1167. display: inline-block;
  1168. border-left: 1px solid #096A94;
  1169. border-top: 1px solid #096A94;
  1170. vertical-align: top;
  1171. text-align: center;
  1172. }
  1173. .blokTable td{
  1174. position: relative;
  1175. border-right: 1px solid #096A94;
  1176. border-bottom: 1px solid #096A94;
  1177. color: white;
  1178. padding: 9px 12px;
  1179. font-size: 14px;
  1180. }
  1181. .blokTable td:hover{
  1182. cursor: pointer;
  1183. opacity: 0.7;
  1184. }
  1185. .blokTable .selectTd{
  1186. background: #04d3f4;
  1187. }
  1188. .guiDao-card{
  1189. position: relative;
  1190. z-index: 2;
  1191. }
  1192. .guiDaoTd{
  1193. position: relative;
  1194. }
  1195. .guiDao{
  1196. position: absolute;
  1197. top: 32%;
  1198. background: #457f968c;
  1199. width: 100%;
  1200. height: 50px;
  1201. z-index: 1;
  1202. }
  1203. .boxCardCls:hover{
  1204. cursor: pointer;
  1205. opacity: 0.7;
  1206. }
  1207. .blockDiv{
  1208. position: relative;
  1209. border: 1px solid #EEEEEE;
  1210. padding-left: 15px;
  1211. -moz-border-radius: 5px;
  1212. -webkit-border-radius: 5px;
  1213. border-radius: 5px;
  1214. text-align: center;
  1215. color: white;
  1216. -moz-box-shadow: 1px 5px 5px #c0b7b7;
  1217. webkit-box-shadow: 1px 5px 5px #c0b7b7;
  1218. box-shadow: 1px 5px 5px #c0b7b7;
  1219. h1{
  1220. margin: 20px;
  1221. font-size: 45px;
  1222. }
  1223. p{
  1224. color: #000000;
  1225. }
  1226. }
  1227. .danweiSpan{
  1228. display: inline-block;
  1229. font-size: 16px;
  1230. color: black;
  1231. }
  1232. .blockBg1{
  1233. background: #0F79DC;
  1234. border: 1px solid #0F79DC;
  1235. }
  1236. .blockBg2{
  1237. background: #8E66E4;
  1238. border: 1px solid #8E66E4;
  1239. }
  1240. .blockBg3{
  1241. background: #3EB64B;
  1242. border: 1px solid #3EB64B;
  1243. }
  1244. .blockBg4{
  1245. background: #0BA6D5;
  1246. border: 1px solid #0BA6D5;
  1247. }
  1248. .blockBg5{
  1249. background: #E57878;
  1250. border: 1px solid #E57878;
  1251. }
  1252. .blockBg6{
  1253. background: #E37B3D;
  1254. border: 1px solid #E37B3D;
  1255. }
  1256. .rowCls{
  1257. box-sizing: border-box;
  1258. }
  1259. .rowCls .el-col{
  1260. margin-bottom: 20px;
  1261. }
  1262. .doubleTable{
  1263. width: 100%;
  1264. }
  1265. .doubleTable h1{
  1266. margin: 17px 0;
  1267. }
  1268. .el-card{
  1269. display: inline-block;
  1270. min-width: 200px;
  1271. margin: 0 5px 5px 0;
  1272. }
  1273. .areaTitle{
  1274. margin-bottom: 15px;
  1275. }
  1276. .areaTitle span{
  1277. position: relative;
  1278. display: inline-block;
  1279. padding-right: 20px;
  1280. font-weight: bold;
  1281. }
  1282. .areaTitle span:before{
  1283. position: absolute;
  1284. content: '';
  1285. background: #42d885;
  1286. top: 0px;
  1287. right: 0px;
  1288. width: 10px;
  1289. height: 100%;
  1290. }
  1291. .contentView{
  1292. font-size: 14px;
  1293. color: white;
  1294. text-align: center;
  1295. max-width: 126px;
  1296. padding: 3px 5px;
  1297. margin-bottom: 5px;
  1298. }
  1299. .borderBottom4{
  1300. border-bottom: 4px solid red;
  1301. }
  1302. .hebingDiv{
  1303. display: flex;
  1304. justify-content: center;
  1305. align-items: center;
  1306. flex-wrap: wrap;
  1307. min-height: 60px;
  1308. word-break: break-all;
  1309. }
  1310. .lineBianku{
  1311. display: flex;
  1312. justify-content: center;
  1313. align-items: center;
  1314. background: #CCCCCC;
  1315. text-align: center;
  1316. padding: 3px 5px;
  1317. min-height: 60px;
  1318. max-width: 190px;
  1319. word-break: break-all;
  1320. }
  1321. .eqTitle{
  1322. position: relative;
  1323. width: 100%;
  1324. box-sizing: border-box;
  1325. padding-left: 25px;
  1326. text-align: left;
  1327. overflow: hidden;
  1328. text-overflow: ellipsis;
  1329. white-space: nowrap;
  1330. font-size: 14px;
  1331. color: #FFFFFF;
  1332. margin: 20px 0 5px;
  1333. }
  1334. .eqTitle:before{
  1335. content: 'M';
  1336. position: absolute;
  1337. top: 0;
  1338. left: 0;
  1339. background: #1890ff;
  1340. color: white;
  1341. padding: 0 2px 1px;
  1342. }
  1343. .eqTitle2{
  1344. width: 100%;
  1345. max-width: 70px;
  1346. overflow: hidden;
  1347. text-overflow: ellipsis;
  1348. white-space: nowrap;
  1349. font-size: 12px;
  1350. }
  1351. .recordSpan{
  1352. display: inline-block;
  1353. background: #0F79DC;
  1354. font-size: 12px;
  1355. padding: 2px 10px;
  1356. color: white;
  1357. -moz-border-radius: 3px;
  1358. -webkit-border-radius: 3px;
  1359. border-radius: 3px;
  1360. }
  1361. .jinduTiao{
  1362. margin: 5px 0;
  1363. }
  1364. .statusDiv{
  1365. position: absolute;
  1366. top: 5px;
  1367. right: 55px;
  1368. text-align: right;
  1369. }
  1370. .statusDiv span{
  1371. display: inline-block;
  1372. font-size: 12px;
  1373. padding: 2px 10px;
  1374. color: white;
  1375. -moz-border-radius: 2px;
  1376. -webkit-border-radius: 2px;
  1377. border-radius: 2px;
  1378. }
  1379. .footerDiv{
  1380. width: 100%;
  1381. padding: 7px 0 3px;
  1382. border-top: 1px solid #CCCCCC;
  1383. }
  1384. .footerDiv a{
  1385. display: inline-block;
  1386. background: #0F79DC;
  1387. font-size: 12px;
  1388. padding: 5px 15px;
  1389. color: white;
  1390. -moz-border-radius: 3px;
  1391. -webkit-border-radius: 3px;
  1392. border-radius: 3px;
  1393. }
  1394. .footerDiv a:hover{
  1395. opacity: 0.7;
  1396. }
  1397. </style>