完成签约之后直接添加人员,录入下发凭证
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.

243 lines
7.0 KiB

  1. webpackJsonp([66],{
  2. /***/ "1O3W":
  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/homePageWaterAndElectricityMeter.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. // import Schart from "vue-schart";
  38. // import scrollvue from "../components/scrollvue"
  39. /* harmony default export */ var homePageWaterAndElectricityMeter = ({
  40. name: "dashboard",
  41. data: function data() {
  42. return {
  43. statisticalParameters: [{
  44. title: '设备总数',
  45. num: '0',
  46. company: '个'
  47. }, {
  48. title: '在线设备数',
  49. num: '0',
  50. company: '个'
  51. }, {
  52. title: '离线设备数',
  53. num: '0',
  54. company: '个'
  55. }, {
  56. title: '在线率',
  57. num: '0',
  58. company: '个'
  59. }, {
  60. title: '本年度使用金额',
  61. num: '0',
  62. company: '个'
  63. }, {
  64. title: '本年度总收入',
  65. num: '0',
  66. company: '个'
  67. }, {
  68. title: '总用电',
  69. num: '0',
  70. company: '个'
  71. }, {
  72. title: '总用电金额',
  73. num: '0',
  74. company: '个'
  75. }, {
  76. title: '总用水',
  77. num: '0',
  78. company: '个'
  79. }, {
  80. title: '总用水金额',
  81. num: '0',
  82. company: '个'
  83. }, {
  84. title: '电费收入',
  85. num: '0',
  86. company: '个'
  87. }, {
  88. title: '水费收入',
  89. num: '0',
  90. company: '个'
  91. }],
  92. animate: false,
  93. name: localStorage.getItem("ms_username"),
  94. options3: {
  95. title: {
  96. text: '本年度逐月收支情况'
  97. },
  98. tooltip: {
  99. trigger: 'axis'
  100. },
  101. color: ['#91cc75', '#ee6666'],
  102. legend: {
  103. data: ['收入金额', '支出金额'],
  104. textStyle: "#333"
  105. },
  106. textStyle: {
  107. color: "#333"
  108. },
  109. grid: {
  110. left: '3%',
  111. right: '4%',
  112. bottom: '3%',
  113. containLabel: true
  114. },
  115. xAxis: {
  116. type: 'category',
  117. boundaryGap: false,
  118. data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
  119. axisLabel: {
  120. textStyle: {
  121. color: "#666",
  122. margin: 15
  123. }
  124. }
  125. },
  126. yAxis: {
  127. type: 'value',
  128. axisLabel: {
  129. textStyle: {
  130. color: "#666",
  131. margin: 15
  132. }
  133. }
  134. },
  135. series: [{
  136. name: '收入金额',
  137. type: 'line',
  138. // stack: 'center',
  139. data: [0, 0, 0, 0, 0, 0, 0]
  140. }, {
  141. name: '支出金额',
  142. type: 'line',
  143. // stack: 'Total',
  144. data: [0, 0, 0, 0, 0, 0, 0]
  145. }]
  146. },
  147. items: []
  148. };
  149. },
  150. components: {
  151. Echart: echart["a" /* default */],
  152. scrolllist: scrolllist["a" /* default */]
  153. // Schart,
  154. // scrollvue
  155. },
  156. computed: {
  157. role: function role() {
  158. return this.name === "admin" ? "超级管理员" : "普通用户";
  159. }
  160. },
  161. mounted: function mounted() {
  162. // setInterval(this.scroll, 1000);
  163. },
  164. methods: {
  165. tgces: function tgces() {
  166. this.$router.push({
  167. path: "/test"
  168. });
  169. },
  170. scroll: function scroll() {
  171. var _this = this;
  172. this.animate = true; // 因为在消息向上滚动的时候需要添加css3过渡动画,所以这里需要设置true
  173. setTimeout(function () {
  174. // 这里直接使用了es6的箭头函数,省去了处理this指向偏移问题,代码也比之前简化了很多
  175. _this.tableData.push(_this.tableData[0]); // 将数组的第一个元素添加到数组的
  176. _this.tableData.shift(); //删除数组的第一个元素
  177. _this.animate = false; // margin-top 为0 的时候取消过渡动画,实现无缝滚动
  178. }, 500);
  179. },
  180. changeDate: function changeDate() {
  181. var now = new Date().getTime();
  182. this.data.forEach(function (item, index) {
  183. var date = new Date(now - (6 - index) * 86400000);
  184. item.name = date.getFullYear() + "/" + (date.getMonth() + 1) + "/" + date.getDate();
  185. });
  186. }
  187. }
  188. });
  189. // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-4d1edb30","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/homePageWaterAndElectricityMeter.vue
  190. 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":24}},[_c('el-card',{attrs:{"shadow":"hover"}},[_c('Echart',{staticClass:"schart",attrs:{"options":_vm.options3,"width":"100%","height":"18vw"}})],1)],1)],1)],1)}
  191. var staticRenderFns = []
  192. var esExports = { render: render, staticRenderFns: staticRenderFns }
  193. /* harmony default export */ var presentationPage_homePageWaterAndElectricityMeter = (esExports);
  194. // CONCATENATED MODULE: ./src/views/presentationPage/homePageWaterAndElectricityMeter.vue
  195. function injectStyle (ssrContext) {
  196. __webpack_require__("9i9B")
  197. }
  198. var normalizeComponent = __webpack_require__("VU/8")
  199. /* script */
  200. /* template */
  201. /* template functional */
  202. var __vue_template_functional__ = false
  203. /* styles */
  204. var __vue_styles__ = injectStyle
  205. /* scopeId */
  206. var __vue_scopeId__ = "data-v-4d1edb30"
  207. /* moduleIdentifier (server only) */
  208. var __vue_module_identifier__ = null
  209. var Component = normalizeComponent(
  210. homePageWaterAndElectricityMeter,
  211. presentationPage_homePageWaterAndElectricityMeter,
  212. __vue_template_functional__,
  213. __vue_styles__,
  214. __vue_scopeId__,
  215. __vue_module_identifier__
  216. )
  217. /* harmony default export */ var views_presentationPage_homePageWaterAndElectricityMeter = __webpack_exports__["default"] = (Component.exports);
  218. /***/ }),
  219. /***/ "9i9B":
  220. /***/ (function(module, exports) {
  221. // removed by extract-text-webpack-plugin
  222. /***/ })
  223. });