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

408 lines
12 KiB

  1. webpackJsonp([82],{
  2. /***/ "ArgT":
  3. /***/ (function(module, exports) {
  4. // removed by extract-text-webpack-plugin
  5. /***/ }),
  6. /***/ "zyEe":
  7. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  8. "use strict";
  9. Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
  10. // EXTERNAL MODULE: ./node_modules/vue-schart/src/vue-schart.vue + 2 modules
  11. var vue_schart = __webpack_require__("S4mo");
  12. // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/duePerson.vue
  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. //
  43. //
  44. //
  45. //
  46. //
  47. //
  48. //
  49. //
  50. //
  51. //
  52. //
  53. //
  54. //
  55. //
  56. //
  57. //
  58. //
  59. //
  60. //
  61. //
  62. //
  63. //
  64. //
  65. //
  66. //
  67. //
  68. //
  69. //
  70. //
  71. //
  72. //
  73. //
  74. //
  75. //
  76. //
  77. //
  78. //
  79. //
  80. //
  81. //
  82. //
  83. //
  84. //
  85. //
  86. //
  87. //
  88. //
  89. //
  90. //
  91. //
  92. //
  93. //
  94. //
  95. //
  96. //
  97. //
  98. //
  99. //
  100. //
  101. //
  102. //
  103. //
  104. //
  105. //
  106. //
  107. //
  108. //
  109. //
  110. //
  111. //
  112. //
  113. //
  114. //
  115. //
  116. //
  117. //
  118. //
  119. //
  120. //
  121. //
  122. //
  123. //
  124. //
  125. //
  126. //
  127. //
  128. //
  129. //
  130. //
  131. //
  132. //
  133. //
  134. //
  135. //
  136. //
  137. //
  138. //
  139. //
  140. //
  141. //
  142. //
  143. //
  144. //
  145. //
  146. //
  147. //
  148. //
  149. //
  150. //
  151. //
  152. //
  153. //
  154. //
  155. //
  156. //
  157. //
  158. //
  159. //
  160. //
  161. //
  162. //
  163. //
  164. //
  165. //
  166. //
  167. //
  168. //
  169. //
  170. //
  171. //
  172. //
  173. //
  174. //
  175. //
  176. //
  177. //
  178. //
  179. //
  180. //
  181. //
  182. //
  183. //
  184. //
  185. //
  186. //
  187. //
  188. //
  189. //
  190. //
  191. //
  192. //
  193. //
  194. //
  195. //
  196. //
  197. //
  198. //
  199. //
  200. //
  201. //
  202. //
  203. //
  204. //
  205. //
  206. //
  207. //
  208. //
  209. //
  210. //
  211. //
  212. //
  213. //
  214. //
  215. //
  216. //
  217. //
  218. //
  219. //
  220. //
  221. //
  222. //
  223. //
  224. //
  225. //
  226. /* harmony default export */ var duePerson = ({
  227. name: "campus",
  228. data: function data() {
  229. return {
  230. query: {
  231. address: "",
  232. name: "",
  233. pageIndex: 1,
  234. pageSize: 10,
  235. activeName: "first",
  236. options: [{
  237. value: "xaxqgy",
  238. label: "雄安新区XXX公寓",
  239. children: [{
  240. value: "1",
  241. label: "1",
  242. children: [{
  243. value: "2",
  244. label: "2"
  245. }, {
  246. value: "1",
  247. label: "1",
  248. children: [{
  249. value: "2",
  250. label: "1"
  251. }, {
  252. value: "1",
  253. label: "2"
  254. }]
  255. }]
  256. }]
  257. }]
  258. },
  259. options: {
  260. type: "bar",
  261. title: {
  262. text: "近6个月即将到期住户-柱状图"
  263. },
  264. xRorate: 25,
  265. labels: ["周一", "周二", "周三", "周四", "周五"],
  266. datasets: [{
  267. label: "已到期住户",
  268. data: [234, 278, 270, 190, 230]
  269. }, {
  270. label: "本月到期住户",
  271. data: [164, 178, 190, 135, 160]
  272. }, {
  273. label: "下月到期住户",
  274. data: [144, 198, 150, 235, 120]
  275. }]
  276. },
  277. tableData: [],
  278. multipleSelection: [],
  279. delList: [],
  280. editVisible: false,
  281. pageTotal: 0,
  282. form: {},
  283. idx: -1,
  284. id: -1
  285. };
  286. },
  287. components: {
  288. Schart: vue_schart["a" /* default */]
  289. },
  290. created: function created() {
  291. this.getData();
  292. },
  293. methods: {
  294. handleClick: function handleClick(tab, event) {
  295. console.log(tab, event);
  296. console.log(tab, event);
  297. },
  298. handleChange: function handleChange(value) {
  299. console.log(value);
  300. },
  301. // 触发搜索按钮
  302. handleSearch: function handleSearch() {
  303. this.$set(this.query, "pageIndex", 1);
  304. this.getData();
  305. },
  306. // 删除操作
  307. handleDelete: function handleDelete(index) {
  308. var _this = this;
  309. // 二次确认删除
  310. this.$confirm("确定要删除吗?", "提示", {
  311. type: "warning"
  312. }).then(function () {
  313. _this.$message.success("删除成功");
  314. _this.tableData.splice(index, 1);
  315. }).catch(function () {});
  316. },
  317. // 多选操作
  318. handleSelectionChange: function handleSelectionChange(val) {
  319. this.multipleSelection = val;
  320. },
  321. delAllSelection: function delAllSelection() {
  322. var length = this.multipleSelection.length;
  323. var str = "";
  324. this.delList = this.delList.concat(this.multipleSelection);
  325. for (var i = 0; i < length; i++) {
  326. str += this.multipleSelection[i].name + " ";
  327. }
  328. this.$message.error("\u5220\u9664\u4E86" + str);
  329. this.multipleSelection = [];
  330. },
  331. // 编辑操作
  332. handleEdit: function handleEdit(index, row) {
  333. this.idx = index;
  334. this.form = row;
  335. this.editVisible = true;
  336. },
  337. // 保存编辑
  338. saveEdit: function saveEdit() {
  339. this.editVisible = false;
  340. this.$message.success("\u4FEE\u6539\u7B2C " + (this.idx + 1) + " \u884C\u6210\u529F");
  341. this.$set(this.tableData, this.idx, this.form);
  342. },
  343. // 分页导航
  344. handlePageChange: function handlePageChange(val) {
  345. this.$set(this.query, "pageIndex", val);
  346. this.getData();
  347. }
  348. }
  349. });
  350. // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-2043134d","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/duePerson.vue
  351. var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-row',{staticClass:"elrow",attrs:{"gutter":20}},[_c('el-col',{attrs:{"span":24}},[_c('el-card',{attrs:{"shadow":"hover"}},[_c('el-row',[_c('el-col',{attrs:{"span":5}},[_c('div',{staticClass:"grid-content grid-con-2"},[_c('div',{staticClass:"colposition"},[_c('img',{staticClass:"w100",attrs:{"src":__webpack_require__("RMRd"),"alt":""}}),_vm._v(" "),_c('div',{staticClass:"grid-cont-right"},[_c('div',[_vm._v("已到期住户")]),_vm._v(" "),_c('div',{staticClass:"grid-num"},[_vm._v("11")])])])])]),_vm._v(" "),_c('el-col',{attrs:{"span":5}},[_c('div',{staticClass:"grid-content grid-con-2"},[_c('div',{staticClass:"colposition"},[_c('img',{staticClass:"w100",attrs:{"src":__webpack_require__("qMbp"),"alt":""}}),_vm._v(" "),_c('div',{staticClass:"grid-cont-right"},[_c('div',[_vm._v("本月到期住户")]),_vm._v(" "),_c('div',{staticClass:"grid-num"},[_vm._v("0")])])])])]),_vm._v(" "),_c('el-col',{attrs:{"span":5}},[_c('div',{staticClass:"grid-content grid-con-1"},[_c('div',{staticClass:"colposition"},[_c('img',{staticClass:"w100",attrs:{"src":__webpack_require__("KHtw"),"alt":""}}),_vm._v(" "),_c('div',{staticClass:"grid-cont-right"},[_c('div',[_vm._v("下月到期住户")]),_vm._v(" "),_c('div',{staticClass:"grid-num"},[_vm._v("0")])])])])]),_vm._v(" "),_c('el-col',{attrs:{"span":9}},[_c('schart',{ref:"bar",staticClass:"schart",attrs:{"canvasId":"bar","options":_vm.options}})],1)],1)],1)],1)],1),_vm._v(" "),_c('el-row',{attrs:{"gutter":20}},[_c('el-col',{staticStyle:{"height":"460px","background":"#fff"},attrs:{"span":4}},[_c('el-card',{staticStyle:{},attrs:{"shadow":"hover"}},[_c('el-menu',{staticClass:"el-menu-vertical-demo",attrs:{"default-active":"2"},on:{"open":_vm.handleOpen,"close":_vm.handleClose}},[_c('el-submenu',{attrs:{"index":"1"},scopedSlots:_vm._u([{key:"title",fn:function(){return [_c('i',{staticClass:"el-icon-location"}),_vm._v(" "),_c('span',[_vm._v("雄安新区XXX公寓")])]},proxy:true}])},[_vm._v(" "),_c('el-submenu',{attrs:{"index":"1-1"},scopedSlots:_vm._u([{key:"title",fn:function(){return [_vm._v("1")]},proxy:true}])},[_vm._v(" "),_c('el-submenu',{attrs:{"index":"1-1-1"},scopedSlots:_vm._u([{key:"title",fn:function(){return [_vm._v("1")]},proxy:true}])},[_vm._v(" "),_c('el-menu-item',{attrs:{"index":"1-1-1-1"}},[_vm._v("1")]),_vm._v(" "),_c('el-menu-item',{attrs:{"index":"1-1-1-2"}},[_vm._v("2")])],1),_vm._v(" "),_c('el-submenu',{attrs:{"index":"1-1-2"},scopedSlots:_vm._u([{key:"title",fn:function(){return [_vm._v("2")]},proxy:true}])},[_vm._v(" "),_c('el-menu-item',{attrs:{"index":"1-1-2-1"}},[_vm._v("1")]),_vm._v(" "),_c('el-menu-item',{attrs:{"index":"1-1-2-2"}},[_vm._v("2")])],1)],1)],1)],1)],1)],1),_vm._v(" "),_c('el-col',{attrs:{"span":20}},[_c('div',{staticClass:"container"},[_c('div',{staticClass:"handle-box"},[_c('el-tabs',{on:{"tab-click":_vm.handleClick},model:{value:(_vm.activeName),callback:function ($$v) {_vm.activeName=$$v},expression:"activeName"}},[_c('el-tab-pane',{attrs:{"label":"全部房间","name":"first"}}),_vm._v(" "),_c('el-tab-pane',{attrs:{"label":"已到期","name":"second"}}),_vm._v(" "),_c('el-tab-pane',{attrs:{"label":"本月到期","name":"third"}}),_vm._v(" "),_c('el-tab-pane',{attrs:{"label":"下月到期","name":"fourth"}})],1)],1),_vm._v(" "),(_vm.tableData.length == 0)?_c('el-table',{ref:"multipleTable",staticClass:"table",attrs:{"data":_vm.tableData,"border":"","header-cell-class-name":"table-header"},on:{"selection-change":_vm.handleSelectionChange}},[_c('el-table-column',{attrs:{"type":"selection","width":"55","align":"center"}}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"id","label":"ID","width":"55","align":"center"}}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"name","label":"名称"}}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"number","label":"序列号"}}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"ppai","label":"品牌"}}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"imei","label":"IMEI"}}),_vm._v(" "),_c('el-table-co
  352. ? 'success'
  353. : scope.row.state === '失败'
  354. ? 'danger'
  355. : ''}},[_vm._v(_vm._s(scope.row.state))])]}}],null,false,1008060476)}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"date","label":"更新时间"}}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"address","label":"绑定房间"}}),_vm._v(" "),_c('el-table-column',{attrs:{"label":"操作","width":"180","align":"center"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-button',{attrs:{"type":"text","icon":"el-icon-edit"},on:{"click":function($event){return _vm.handleEdit(scope.$index, scope.row)}}},[_vm._v("编辑")]),_vm._v(" "),_c('el-button',{staticClass:"red",attrs:{"type":"text","icon":"el-icon-delete"},on:{"click":function($event){return _vm.handleDelete(scope.$index, scope.row)}}},[_vm._v("删除")])]}}],null,false,2927004000)})],1):_vm._e(),_vm._v(" "),_c('div',{staticClass:"nulldiv"},[_c('img',{staticClass:"nullimg",attrs:{"src":__webpack_require__("X27V"),"alt":""}}),_vm._v(" "),_c('div',[_vm._v("暂无房源")])]),_vm._v(" "),_c('div',{staticClass:"pagination"},[_c('el-pagination',{attrs:{"background":"","layout":"total, prev, pager, next","current-page":_vm.query.pageIndex,"page-size":_vm.query.pageSize,"total":_vm.pageTotal},on:{"current-change":_vm.handlePageChange}})],1)],1)])],1),_vm._v(" "),_c('el-dialog',{attrs:{"title":"编辑","width":"30%"},scopedSlots:_vm._u([{key:"footer",fn:function(){return [_c('span',{staticClass:"dialog-footer"},[_c('el-button',{on:{"click":function($event){_vm.editVisible = false}}},[_vm._v("取 消")]),_vm._v(" "),_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.saveEdit}},[_vm._v("确 定")])],1)]},proxy:true}]),model:{value:(_vm.editVisible),callback:function ($$v) {_vm.editVisible=$$v},expression:"editVisible"}},[_c('el-form',{ref:"form",attrs:{"model":_vm.form,"label-width":"70px"}},[_c('el-form-item',{attrs:{"label":"用户名"}},[_c('el-input',{model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, "name", $$v)},expression:"form.name"}})],1),_vm._v(" "),_c('el-form-item',{attrs:{"label":"地址"}},[_c('el-input',{model:{value:(_vm.form.address),callback:function ($$v) {_vm.$set(_vm.form, "address", $$v)},expression:"form.address"}})],1)],1)],1)],1)}
  356. var staticRenderFns = []
  357. var esExports = { render: render, staticRenderFns: staticRenderFns }
  358. /* harmony default export */ var views_duePerson = (esExports);
  359. // CONCATENATED MODULE: ./src/views/duePerson.vue
  360. function injectStyle (ssrContext) {
  361. __webpack_require__("ArgT")
  362. }
  363. var normalizeComponent = __webpack_require__("VU/8")
  364. /* script */
  365. /* template */
  366. /* template functional */
  367. var __vue_template_functional__ = false
  368. /* styles */
  369. var __vue_styles__ = injectStyle
  370. /* scopeId */
  371. var __vue_scopeId__ = "data-v-2043134d"
  372. /* moduleIdentifier (server only) */
  373. var __vue_module_identifier__ = null
  374. var Component = normalizeComponent(
  375. duePerson,
  376. views_duePerson,
  377. __vue_template_functional__,
  378. __vue_styles__,
  379. __vue_scopeId__,
  380. __vue_module_identifier__
  381. )
  382. /* harmony default export */ var src_views_duePerson = __webpack_exports__["default"] = (Component.exports);
  383. /***/ })
  384. });