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

271 lines
7.6 KiB

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