完成签约之后直接添加人员,录入下发凭证
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

450 lines
12 KiB

  1. webpackJsonp([37],{
  2. /***/ "VhAs":
  3. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4. "use strict";
  5. Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
  6. // EXTERNAL MODULE: ./src/common/echart/index.vue + 4 modules
  7. var echart = __webpack_require__("C3+4");
  8. // EXTERNAL MODULE: ./src/components/scrolllist/index.vue + 2 modules
  9. var scrolllist = __webpack_require__("Lbay");
  10. // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/presentationPage/homePageEnvironmentalQualityMonitor.vue
  11. //
  12. //
  13. //
  14. //
  15. //
  16. //
  17. //
  18. //
  19. //
  20. //
  21. //
  22. //
  23. //
  24. //
  25. //
  26. //
  27. //
  28. //
  29. //
  30. //
  31. //
  32. //
  33. //
  34. //
  35. //
  36. //
  37. //
  38. //
  39. //
  40. //
  41. //
  42. // import Schart from "vue-schart";
  43. // import scrollvue from "../components/scrollvue"
  44. /* harmony default export */ var homePageEnvironmentalQualityMonitor = ({
  45. name: "dashboard",
  46. data: function data() {
  47. return {
  48. statisticalParameters: [{
  49. title: '设备总数',
  50. num: '4062',
  51. company: '个'
  52. }, {
  53. title: '在线设备',
  54. num: '3775',
  55. company: '个'
  56. }, {
  57. title: '离线设备',
  58. num: '287',
  59. company: '个'
  60. }, {
  61. title: '异常设备',
  62. num: '0',
  63. company: '个'
  64. }, {
  65. title: 'PM2.5/PM10异常',
  66. num: '298',
  67. company: '个'
  68. }, {
  69. title: '大气压力异常',
  70. num: '809',
  71. company: '个'
  72. }, {
  73. title: '环境湿度异常',
  74. num: '809',
  75. company: '个'
  76. }, {
  77. title: '二氧化碳异常',
  78. num: '809',
  79. company: '个'
  80. }, {
  81. title: 'TVOC异常',
  82. num: '809',
  83. company: '个'
  84. }, {
  85. title: 'CH₂O 异常',
  86. num: '809',
  87. company: '个'
  88. }],
  89. animate: false,
  90. name: localStorage.getItem("ms_username"),
  91. tableData: [{
  92. date: "1郑州大学人才公寓/3号楼/2单元/4层",
  93. t1: "0",
  94. t2: "0",
  95. t3: "0"
  96. }, {
  97. date: "2郑州大学人才公寓/3号楼/2单元/4层",
  98. t1: "0",
  99. t2: "0",
  100. t3: "0"
  101. }, {
  102. date: "3郑州大学人才公寓/3号楼/2单元/4层",
  103. t1: "0",
  104. t2: "0",
  105. t3: "0"
  106. }, {
  107. date: "4郑州大学人才公寓/3号楼/2单元/4层",
  108. t1: "0",
  109. t2: "0",
  110. t3: "0"
  111. }, {
  112. date: "5郑州大学人才公寓/3号楼/2单元/4层",
  113. t1: "0",
  114. t2: "0",
  115. t3: "0"
  116. }, {
  117. date: "6郑州大学人才公寓/3号楼/2单元/4层",
  118. t1: "0",
  119. t2: "0",
  120. t3: "0"
  121. }, {
  122. date: "7郑州大学人才公寓/3号楼/2单元/4层",
  123. t1: "0",
  124. t2: "0",
  125. t3: "0"
  126. }, {
  127. date: "8郑州大学人才公寓/3号楼/2单元/4层",
  128. t1: "0",
  129. t2: "0",
  130. t3: "0"
  131. }],
  132. // 滚屏消息
  133. systemMsg: [{
  134. id: 1,
  135. title: "入主白宫近10日 拜登做了10件大事"
  136. }, {
  137. id: 2,
  138. title: "全民带货?小红书外链淘宝权限将大范围开放"
  139. }, {
  140. id: 3,
  141. title: "贾跃亭FF将在纳斯达克上市 股票代码为FFIE"
  142. }, {
  143. id: 4,
  144. title: "全民带货?小红书外链淘宝权限将大范围开放 股票代码为FFIE"
  145. }, {
  146. id: 5,
  147. title: "全民带货?小红书外链淘宝权限将大范围开放 股票代码为FFIE"
  148. }, {
  149. id: 6,
  150. title: "贾跃亭FF将在纳斯达克上市 股票代码为FFIE"
  151. }, {
  152. id: 7,
  153. title: "全民带货?小红书外链淘宝权限将大范围开放 股票代码为FFIE"
  154. }, {
  155. id: 8,
  156. title: "贾跃亭FF将在纳斯达克上市 股票代码为FFIE"
  157. }, {
  158. id: 9,
  159. title: "全民带货?小红书外链淘宝权限将大范围开放 股票代码为FFIE"
  160. }, {
  161. id: 10,
  162. title: "贾跃亭FF将在纳斯达克上市 股票代码为FFIE"
  163. }],
  164. data: [{
  165. name: "2018/09/04",
  166. value: 1083
  167. }, {
  168. name: "2018/09/05",
  169. value: 941
  170. }, {
  171. name: "2018/09/06",
  172. value: 1139
  173. }, {
  174. name: "2018/09/07",
  175. value: 816
  176. }, {
  177. name: "2018/09/08",
  178. value: 327
  179. }, {
  180. name: "2018/09/09",
  181. value: 228
  182. }, {
  183. name: "2018/09/10",
  184. value: 1065
  185. }],
  186. options: {
  187. title: {
  188. text: '环境质量走势图'
  189. },
  190. tooltip: {
  191. trigger: 'axis'
  192. },
  193. color: ['#91cc75', '#ee6666'],
  194. legend: {
  195. data: ['正常', '满溢警告'],
  196. textStyle: "#333"
  197. },
  198. textStyle: {
  199. color: "#333"
  200. },
  201. grid: {
  202. left: '3%',
  203. right: '4%',
  204. bottom: '3%',
  205. containLabel: true
  206. },
  207. xAxis: {
  208. type: 'category',
  209. boundaryGap: false,
  210. data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
  211. axisLabel: {
  212. textStyle: {
  213. color: "#666",
  214. margin: 15
  215. }
  216. }
  217. },
  218. yAxis: {
  219. type: 'value',
  220. axisLabel: {
  221. textStyle: {
  222. color: "#666",
  223. margin: 15
  224. }
  225. }
  226. },
  227. series: [{
  228. name: '正常',
  229. type: 'line',
  230. // stack: 'Total',
  231. data: [220, 182, 191, 234, 290, 330, 310]
  232. }, {
  233. name: '满溢警告',
  234. type: 'line',
  235. // stack: 'center',
  236. data: [10, 11, 5, 6, 23, 25, 32]
  237. }]
  238. },
  239. options2: {
  240. title: {
  241. text: '电量分布情况'
  242. },
  243. tooltip: {
  244. trigger: 'item'
  245. },
  246. legend: {
  247. top: '5%',
  248. left: 'center',
  249. textStyle: {
  250. color: "#666"
  251. }
  252. },
  253. series: [{
  254. name: '电量情况',
  255. type: 'pie',
  256. radius: ['40%', '70%'],
  257. avoidLabelOverlap: false,
  258. itemStyle: {
  259. borderRadius: 10,
  260. borderColor: '#fff',
  261. borderWidth: 2
  262. },
  263. label: {
  264. show: false,
  265. position: 'center',
  266. color: "#666"
  267. },
  268. emphasis: {
  269. label: {
  270. show: true,
  271. fontSize: '20',
  272. fontWeight: 'bold'
  273. }
  274. },
  275. labelLine: {
  276. // show: false,
  277. normal: {
  278. length: 15, // 指示线长度
  279. lineStyle: {
  280. color: "#595959" // 指示线颜色
  281. }
  282. }
  283. },
  284. data: [{
  285. value: 1048,
  286. name: '正常'
  287. }, {
  288. value: 735,
  289. name: '良好'
  290. }, {
  291. value: 580,
  292. name: '低电'
  293. }]
  294. }]
  295. },
  296. options3: {
  297. title: {
  298. text: '设备电量统计'
  299. },
  300. tooltip: {
  301. trigger: 'axis'
  302. },
  303. color: ['#fac858', '#91cc75', '#ee6666'],
  304. legend: {
  305. data: ['OTA未升级', 'OTA已升级', '低电设备'],
  306. textStyle: "#333"
  307. },
  308. textStyle: {
  309. color: "#333"
  310. },
  311. grid: {
  312. left: '3%',
  313. right: '4%',
  314. bottom: '3%',
  315. containLabel: true
  316. },
  317. xAxis: {
  318. type: 'category',
  319. boundaryGap: false,
  320. data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
  321. axisLabel: {
  322. textStyle: {
  323. color: "#666",
  324. margin: 15
  325. }
  326. }
  327. },
  328. yAxis: {
  329. type: 'value',
  330. axisLabel: {
  331. textStyle: {
  332. color: "#666",
  333. margin: 15
  334. }
  335. }
  336. },
  337. series: [{
  338. name: 'OTA未升级',
  339. type: 'line',
  340. // stack: 'center',
  341. data: [10, 11, 5, 6, 23, 25, 32]
  342. }, {
  343. name: 'OTA已升级',
  344. type: 'line',
  345. // stack: 'Total',
  346. data: [220, 182, 191, 234, 290, 330, 310]
  347. }, {
  348. name: '低电设备',
  349. type: 'line',
  350. // stack: 'bottom',
  351. data: [0, 1, 0, 0, 0, 0, 0]
  352. }]
  353. },
  354. items: []
  355. };
  356. },
  357. components: {
  358. Echart: echart["a" /* default */],
  359. scrolllist: scrolllist["a" /* default */]
  360. // Schart,
  361. // scrollvue
  362. },
  363. computed: {
  364. role: function role() {
  365. return this.name === "admin" ? "超级管理员" : "普通用户";
  366. }
  367. },
  368. mounted: function mounted() {
  369. // setInterval(this.scroll, 1000);
  370. },
  371. methods: {
  372. tgces: function tgces() {
  373. this.$router.push({
  374. path: "/test"
  375. });
  376. },
  377. scroll: function scroll() {
  378. var _this = this;
  379. this.animate = true; // 因为在消息向上滚动的时候需要添加css3过渡动画,所以这里需要设置true
  380. setTimeout(function () {
  381. // 这里直接使用了es6的箭头函数,省去了处理this指向偏移问题,代码也比之前简化了很多
  382. _this.tableData.push(_this.tableData[0]); // 将数组的第一个元素添加到数组的
  383. _this.tableData.shift(); //删除数组的第一个元素
  384. _this.animate = false; // margin-top 为0 的时候取消过渡动画,实现无缝滚动
  385. }, 500);
  386. },
  387. changeDate: function changeDate() {
  388. var now = new Date().getTime();
  389. this.data.forEach(function (item, index) {
  390. var date = new Date(now - (6 - index) * 86400000);
  391. item.name = date.getFullYear() + "/" + (date.getMonth() + 1) + "/" + date.getDate();
  392. });
  393. }
  394. }
  395. });
  396. // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-ddcaee2e","hasScoped":true,"transformToRequire":{"video":["src","poster"],"source":"src","img":"src","image":"xlink:href"},"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/presentationPage/homePageEnvironmentalQualityMonitor.vue
  397. var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"content1"},[_c('el-row',{staticClass:"elrow",attrs:{"gutter":20}},_vm._l((_vm.statisticalParameters),function(item,index){return _c('el-col',{key:index,staticClass:"mrBottom20",attrs:{"span":4}},[_c('el-card',{staticClass:"caredradious",attrs:{"shadow":"always","body-style":{padding:'0px'}}},[_c('div',{staticClass:"grid-content grid-con-1"},[_c('div',{staticClass:"colposition"},[_c('div',{staticClass:"grid-cont-right"},[_c('div',[_vm._v(_vm._s(item.title))]),_vm._v(" "),_c('div',{staticClass:"grid-num"},[_vm._v(_vm._s(item.num)+" "),_c('span',[_vm._v(_vm._s(item.company))])])])])])])],1)}),1),_vm._v(" "),_c('el-row',{staticClass:"elrow",attrs:{"gutter":20}},[_c('el-col',{attrs:{"span":12}},[_c('el-card',{attrs:{"shadow":"hover"}},[_c('Echart',{staticClass:"schart",attrs:{"options":_vm.options,"width":"100%","height":"18vw"}})],1)],1),_vm._v(" "),_c('el-col',{attrs:{"span":12}},[_c('el-card',{attrs:{"shadow":"hover"}},[_c('Echart',{staticClass:"schart",attrs:{"options":_vm.options2,"width":"100%","height":"18vw"}})],1)],1)],1)],1)}
  398. var staticRenderFns = []
  399. var esExports = { render: render, staticRenderFns: staticRenderFns }
  400. /* harmony default export */ var presentationPage_homePageEnvironmentalQualityMonitor = (esExports);
  401. // CONCATENATED MODULE: ./src/views/presentationPage/homePageEnvironmentalQualityMonitor.vue
  402. function injectStyle (ssrContext) {
  403. __webpack_require__("YmfO")
  404. }
  405. var normalizeComponent = __webpack_require__("VU/8")
  406. /* script */
  407. /* template */
  408. /* template functional */
  409. var __vue_template_functional__ = false
  410. /* styles */
  411. var __vue_styles__ = injectStyle
  412. /* scopeId */
  413. var __vue_scopeId__ = "data-v-ddcaee2e"
  414. /* moduleIdentifier (server only) */
  415. var __vue_module_identifier__ = null
  416. var Component = normalizeComponent(
  417. homePageEnvironmentalQualityMonitor,
  418. presentationPage_homePageEnvironmentalQualityMonitor,
  419. __vue_template_functional__,
  420. __vue_styles__,
  421. __vue_scopeId__,
  422. __vue_module_identifier__
  423. )
  424. /* harmony default export */ var views_presentationPage_homePageEnvironmentalQualityMonitor = __webpack_exports__["default"] = (Component.exports);
  425. /***/ }),
  426. /***/ "YmfO":
  427. /***/ (function(module, exports) {
  428. // removed by extract-text-webpack-plugin
  429. /***/ })
  430. });