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

919 lines
28 KiB

  1. webpackJsonp([83],{
  2. /***/ "8eXg":
  3. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4. "use strict";
  5. Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
  6. // EXTERNAL MODULE: ./node_modules/babel-runtime/core-js/promise.js
  7. var promise = __webpack_require__("//Fk");
  8. var promise_default = /*#__PURE__*/__webpack_require__.n(promise);
  9. // EXTERNAL MODULE: ./node_modules/babel-runtime/core-js/json/stringify.js
  10. var stringify = __webpack_require__("mvHQ");
  11. var stringify_default = /*#__PURE__*/__webpack_require__.n(stringify);
  12. // EXTERNAL MODULE: ./src/components/zTree1.vue + 2 modules
  13. var zTree1 = __webpack_require__("6Ljo");
  14. // EXTERNAL MODULE: ./src/api/index.js + 5 modules
  15. var api = __webpack_require__("gyMJ");
  16. // EXTERNAL MODULE: ./src/components/checkInRoom.vue + 2 modules
  17. var checkInRoom = __webpack_require__("R41B");
  18. // EXTERNAL MODULE: ./src/utils/index.js
  19. var utils = __webpack_require__("0xDb");
  20. // EXTERNAL MODULE: ./src/utils/util.js
  21. var util = __webpack_require__("oFuF");
  22. // EXTERNAL MODULE: ./src/utils/equipment.js
  23. var equipment = __webpack_require__("ObZk");
  24. // EXTERNAL MODULE: ./node_modules/moment/moment.js
  25. var moment = __webpack_require__("PJh5");
  26. var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
  27. // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/renewalHandling.vue
  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. /* harmony default export */ var renewalHandling = ({
  162. inject: ['reload'],
  163. name: "campus",
  164. data: function data() {
  165. return {
  166. selectTotal: 0,
  167. selectoption: [],
  168. selectoptionValue: '',
  169. pickerOptions1: {
  170. disabledDate: function disabledDate(time) {
  171. return time.getTime() < Date.now() - 8.64e7;
  172. }
  173. },
  174. roomlist: [],
  175. SelectedList: [],
  176. defaultProps: {
  177. children: "children",
  178. label: "name"
  179. },
  180. steplist: [{
  181. src: "../assets/img/1.png",
  182. title: "房源选择"
  183. }, {
  184. src: "../assets/img/2.png",
  185. title: "人员续租"
  186. }],
  187. stepindex: 0,
  188. stepindex1: 0,
  189. query: {
  190. address: "",
  191. name: "",
  192. pageIndex: 1,
  193. pageSize: 10,
  194. activeName: "first"
  195. },
  196. activeName: "first",
  197. tableData: [],
  198. tableData1: [],
  199. tableData2: [],
  200. multipleSelection: [],
  201. delList: [],
  202. editVisible: false,
  203. pageTotal: 0,
  204. personInfo: {
  205. name: "",
  206. phone: "",
  207. number: "",
  208. sex: "",
  209. education: "",
  210. email: "",
  211. leaseTerm: "",
  212. rent: "",
  213. birth: "",
  214. nation: "",
  215. address: "",
  216. remarks: ""
  217. },
  218. rules: {
  219. name: [{
  220. required: true,
  221. message: "请输入姓名",
  222. trigger: "blur"
  223. }, {
  224. min: 1,
  225. max: 8,
  226. message: "长度在 1 到 8 个字符",
  227. trigger: "blur"
  228. }],
  229. phone: [{
  230. required: true,
  231. message: "请输入系统编号",
  232. trigger: "blur"
  233. }, {
  234. min: 1,
  235. max: 11,
  236. message: "请输入正确的系统编号",
  237. trigger: "blur"
  238. }],
  239. number: [{
  240. required: true,
  241. message: "请输入身份证号",
  242. trigger: "blur"
  243. }, {
  244. min: 1,
  245. max: 18,
  246. message: "请输入正确的身份证号",
  247. trigger: "blur"
  248. }],
  249. sex: [{
  250. required: true,
  251. message: "请选择性别",
  252. trigger: "change"
  253. }],
  254. education: [{
  255. required: true,
  256. message: "请选择学历",
  257. trigger: "change"
  258. }],
  259. email: [{
  260. required: true,
  261. message: "请输入邮箱",
  262. trigger: "blur"
  263. }, {
  264. min: 1,
  265. max: 64,
  266. message: "请输入正确的邮箱",
  267. trigger: "blur"
  268. }],
  269. leaseTerm: [{
  270. required: true,
  271. message: "请选择租期时间",
  272. trigger: "change"
  273. }],
  274. rent: [{
  275. required: true,
  276. message: "请输入租金",
  277. trigger: "blur"
  278. }],
  279. birth: [{
  280. required: true,
  281. message: "请输入租金",
  282. trigger: "blur"
  283. }],
  284. nation: [{
  285. required: true,
  286. message: "请选择学历",
  287. trigger: "change"
  288. }],
  289. address: [{
  290. required: true,
  291. message: "请输入地址",
  292. trigger: "change"
  293. }]
  294. },
  295. form: {},
  296. idx: -1,
  297. id: -1,
  298. showIndex: 0,
  299. ztreeObj: null,
  300. uselist: [],
  301. zNodes: [],
  302. setting: {
  303. edit: {
  304. enable: true,
  305. drag: {
  306. isMove: true
  307. },
  308. showRemoveBtn: false,
  309. showRenameBtn: false
  310. },
  311. check: {
  312. enable: false
  313. },
  314. data: {
  315. simpleData: {
  316. enable: true,
  317. pIdKey: "pid"
  318. }
  319. },
  320. view: {
  321. showIcon: true,
  322. addHoverDom: this.addHoverDom,
  323. removeHoverDom: this.removeHoverDom
  324. }
  325. },
  326. currentRow: [],
  327. currentRow1: [],
  328. options: [],
  329. state: "",
  330. loading: false,
  331. timeout: null,
  332. deviceList: [],
  333. userInfo: {
  334. type: ''
  335. },
  336. treeList: [],
  337. AllLock: [],
  338. AllPerson: [],
  339. fullscreenLoading: false
  340. };
  341. },
  342. components: {
  343. zTree: zTree1["a" /* default */],
  344. checkInRoom: checkInRoom["a" /* default */]
  345. },
  346. beforeCreate: function beforeCreate() {
  347. // var tenantId = JSON.parse(localStorage.getItem('tenantId'))
  348. // if (tenantId == 400) {
  349. // this.$store.commit('defaultsettenantid')
  350. // }
  351. },
  352. created: function created() {
  353. this.userInfo = JSON.parse(localStorage.getItem('info'));
  354. this.selectoption = JSON.parse(localStorage.getItem('selectoption'));
  355. this.selectoptionValue = localStorage.getItem('tenantId');
  356. this.addRoom();
  357. this.getAllLock();
  358. // this.getAllPerson()
  359. },
  360. methods: {
  361. // 获取所有锁
  362. getAllLock: function getAllLock() {
  363. var _this = this;
  364. var t = {
  365. lockType: 1
  366. };
  367. var data1 = {
  368. q: stringify_default()(t),
  369. pageSize: 0,
  370. pageNum: 0
  371. };
  372. Object(api["g" /* httpPost */])(data1, this.$api.getDeviceItems).then(function (res) {
  373. if (res.success) {
  374. _this.AllLock = res.data.list;
  375. }
  376. });
  377. },
  378. getAllPerson: function getAllPerson(id) {
  379. var _this2 = this;
  380. var data1 = {
  381. // ids:[]
  382. q: stringify_default()({
  383. ancestor: id
  384. })
  385. };
  386. Object(api["d" /* httpGet */])(data1, this.$api.getSiteTenant).then(function (res) {
  387. if (res.success) {
  388. _this2.AllPerson = res.data.list;
  389. }
  390. });
  391. },
  392. cancelSelection: function cancelSelection() {
  393. this.tableData.map(function (li) {
  394. li.check = false;
  395. });
  396. this.tableData1.map(function (li) {
  397. li.check = false;
  398. });
  399. this.tableData2.map(function (li) {
  400. li.check = false;
  401. });
  402. this.selectTotal = 0;
  403. },
  404. // 获取所有人员
  405. selectAllMethods: function selectAllMethods() {
  406. if (this.activeName == "first") {
  407. var total = 0;
  408. this.tableData.map(function (li) {
  409. li.check = true;
  410. total++;
  411. });
  412. this.selectTotal = total;
  413. } else if (this.activeName == "second") {
  414. var total = 0;
  415. this.tableData1.map(function (li) {
  416. li.check = true;
  417. total++;
  418. });
  419. this.selectTotal = total;
  420. } else if (this.activeName == "third") {
  421. var total = 0;
  422. this.tableData2.map(function (li) {
  423. li.check = true;
  424. total++;
  425. });
  426. this.selectTotal = total;
  427. }
  428. },
  429. selectTenantId: function selectTenantId(e) {
  430. localStorage.setItem('tenantId', e);
  431. this.reload();
  432. },
  433. // 续租
  434. renewal: function renewal() {
  435. this.editVisible = true;
  436. },
  437. //添加房源
  438. addRoom: function addRoom() {
  439. var _this3 = this;
  440. var data = {};
  441. Object(api["d" /* httpGet */])(data, this.$api.getTree).then(function (res) {
  442. var list = res.data.sort(function (pre, cur) {
  443. return pre.id - cur.id;
  444. });
  445. _this3.treeList = list;
  446. var array = Object(utils["n" /* uniqueArray */])(list, "id");
  447. _this3.roomlist = Object(utils["p" /* ztreeToElementTree */])(array, {});
  448. });
  449. },
  450. checkfun: function checkfun(index, status) {
  451. this.tableData[index].check = !this.tableData[index].check;
  452. this.currentRow = this.tableData[index];
  453. var total = 0;
  454. this.tableData.map(function (li) {
  455. if (li.check) {
  456. total++;
  457. }
  458. });
  459. this.selectTotal = total;
  460. },
  461. checkfun1: function checkfun1(index, status) {
  462. this.tableData1.map(function (li) {
  463. li.check = false;
  464. });
  465. this.tableData1[index].check = status;
  466. this.currentRow = this.tableData1[index];
  467. var total = 0;
  468. this.tableData1.map(function (li) {
  469. if (li.check) {
  470. total++;
  471. }
  472. });
  473. this.selectTotal = total;
  474. },
  475. checkfun2: function checkfun2(index, status) {
  476. this.tableData2.map(function (li) {
  477. li.check = false;
  478. });
  479. this.tableData2[index].check = status;
  480. this.currentRow = this.tableData2[index];
  481. var total = 0;
  482. this.tableData2.map(function (li) {
  483. if (li.check) {
  484. total++;
  485. }
  486. });
  487. this.selectTotal = total;
  488. },
  489. // 获取人员
  490. querySearchAsync: function querySearchAsync(queryString, cb) {
  491. var _this4 = this;
  492. var q = {
  493. name: queryString
  494. };
  495. var data = {
  496. q: stringify_default()(q)
  497. };
  498. var personInfo = [];
  499. this.loading = true;
  500. Object(api["g" /* httpPost */])(data, this.$api.getlistNum).then(function (res) {
  501. personInfo = res.data.list;
  502. var restaurants = res.data.list;
  503. var results = queryString ? restaurants.filter(_this4.createFilter(queryString)) : restaurants;
  504. console.log(results);
  505. cb(results);
  506. });
  507. },
  508. createFilter: function createFilter(queryString) {
  509. return function (restaurant) {
  510. return restaurant.name.indexOf(queryString) === 0;
  511. };
  512. },
  513. handleSelect: function handleSelect(item) {
  514. this.personInfo = item;
  515. this.uselist.push(item);
  516. },
  517. // 返回
  518. selectstep: function selectstep(i) {
  519. if (i < this.stepindex) {
  520. this.$refs.cardShow.setActiveItem(i);
  521. }
  522. },
  523. getuserlist: function getuserlist() {
  524. var _this5 = this;
  525. var q = {
  526. id: this.currentRow.id
  527. };
  528. var data = {
  529. q: stringify_default()(q)
  530. };
  531. Object(api["d" /* httpGet */])(data, this.$api.getSiteTenant).then(function (res) {
  532. //根据房间查询绑定人员
  533. // res.data.list.map(li=>{
  534. // li.startTime = li.startTime.split('T')[0]
  535. // li.endTime = li.endTime.split('T')[0]
  536. // })
  537. var list = res.data.list;
  538. list.map(function (li) {
  539. if (li.startTime != null) {
  540. li.startTime = moment_default()(li.startTime).format('YYYY年MM月DD日 HH:mm:ss');
  541. }
  542. if (li.endTime != null) {
  543. li.endTime = moment_default()(li.endTime).format('YYYY年MM月DD日 HH:mm:ss');
  544. }
  545. li['roomName'] = _this5.currentRow.name;
  546. });
  547. _this5.uselist = list;
  548. });
  549. },
  550. // 下一步
  551. stepnext: function stepnext() {
  552. var _this6 = this;
  553. var filterDemiseInformation = [];
  554. this.fullscreenLoading = true;
  555. var promise3 = new promise_default.a(function (resolve, reject) {
  556. var conditionRoomAndPersonnel = _this6.AllPerson;
  557. _this6.tableData.map(function (li) {
  558. if (li.check) {
  559. var promise1 = new promise_default.a(function (resolve, reject) {
  560. var filterDeviceLi = _this6.AllLock.filter(function (item) {
  561. return item.roomId == li.id;
  562. })[0];
  563. resolve(filterDeviceLi);
  564. });
  565. var promise2 = new promise_default.a(function (resolve, reject) {
  566. var filterPersonLi = conditionRoomAndPersonnel.filter(function (item) {
  567. return item.siteId == li.id;
  568. });
  569. resolve(filterPersonLi);
  570. });
  571. promise_default.a.all([promise1, promise2]).then(function (values) {
  572. if (values[0]) {
  573. var obj = values[0];
  574. obj['list'] = values[1];
  575. filterDemiseInformation.push(obj);
  576. }
  577. });
  578. }
  579. });
  580. setTimeout(function () {
  581. resolve(filterDemiseInformation);
  582. }, 500);
  583. });
  584. promise_default.a.all([promise3]).then(function (values) {
  585. var personlist = [];
  586. values[0].map(function (li, index) {
  587. li.list.map(function (lt, index) {
  588. lt.roomName = li.roomName;
  589. lt.deviceNum = li.deviceNum;
  590. lt.imei = li.imei;
  591. lt.manufactureId = li.manufactureId;
  592. lt['startTimeText'] = moment_default()(lt.startTime).format('YYYY年MM月DD日 HH:mm:ss');
  593. lt['endTimeText'] = moment_default()(lt.endTime).format('YYYY年MM月DD日 HH:mm:ss');
  594. personlist.push(lt);
  595. });
  596. });
  597. setTimeout(function () {
  598. _this6.uselist = personlist;
  599. _this6.$refs.cardShow.next();
  600. _this6.stepindex += 1;
  601. _this6.stepindex1 = _this6.stepindex;
  602. _this6.fullscreenLoading = false;
  603. }, 500);
  604. });
  605. },
  606. onClick: function onClick(treeNode) {
  607. // 点击事件
  608. if (treeNode.children) {
  609. var str = treeNode.children[0].acreage || "";
  610. if (str == "" || str == null) {
  611. console.log(treeNode);
  612. this.fatherMethod(treeNode.pid);
  613. } else {
  614. this.fatherMethod(treeNode.id);
  615. }
  616. } else {
  617. this.fatherMethod(treeNode.id);
  618. }
  619. this.getAllPerson(treeNode.pid);
  620. },
  621. fatherMethod: function fatherMethod(id) {
  622. var _this7 = this;
  623. var q = {
  624. ancestor: id,
  625. isRoom: 1
  626. };
  627. var data = {
  628. q: stringify_default()(q)
  629. };
  630. Object(api["d" /* httpGet */])(data, this.$api.getSiteList).then(function (res) {
  631. var tableData = [],
  632. tableData1 = [],
  633. tableData2 = [];
  634. var array = Object(utils["n" /* uniqueArray */])(res.data.list.list, "id");
  635. array.map(function (li, index) {
  636. var name = util["a" /* default */].findIndexArray(_this7.roomlist, li.id, []);
  637. var path = '';
  638. if (name) {
  639. path = name.join('/');
  640. }
  641. li['path'] = path;
  642. if (li.acreage) {
  643. li.check = false;
  644. tableData.push(li);
  645. if (li.id == id) {
  646. _this7.tableData.splice(index, 1);
  647. } else if (li.count == 0) {
  648. tableData2.push(li);
  649. } else if (li.count > 0) {
  650. tableData1.push(li);
  651. }
  652. }
  653. });
  654. _this7.tableData = tableData;
  655. _this7.pageTotal = tableData.length;
  656. _this7.tableData1 = tableData1;
  657. _this7.tableData2 = tableData2;
  658. });
  659. },
  660. handleClick: function handleClick(tab, event) {
  661. if (tab.name == "second") {
  662. this.pageTotal = this.tableData1.length;
  663. } else if (tab.name == "third") {
  664. this.pageTotal = this.tableData2.length;
  665. }
  666. },
  667. handleChange: function handleChange(value) {
  668. console.log(value);
  669. },
  670. // 触发搜索按钮
  671. handleSearch: function handleSearch() {
  672. this.$set(this.query, "pageIndex", 1);
  673. this.getData();
  674. },
  675. // 删除操作
  676. handleDelete: function handleDelete(index) {
  677. var _this8 = this;
  678. // 二次确认删除
  679. this.$confirm("确定要删除吗?", "提示", {
  680. type: "warning"
  681. }).then(function () {
  682. _this8.$message.success("删除成功");
  683. _this8.tableData.splice(index, 1);
  684. }).catch(function () {});
  685. },
  686. // 多选操作
  687. handleCurrentChange: function handleCurrentChange(val) {
  688. this.currentRow = val;
  689. },
  690. handleCurrentChange1: function handleCurrentChange1(val) {
  691. console.log(val);
  692. this.currentRow1 = val;
  693. },
  694. delAllSelection: function delAllSelection() {
  695. var length = this.multipleSelection.length;
  696. var str = "";
  697. this.delList = this.delList.concat(this.multipleSelection);
  698. for (var i = 0; i < length; i++) {
  699. str += this.multipleSelection[i].name + " ";
  700. }
  701. this.$message.error("\u5220\u9664\u4E86" + str);
  702. this.multipleSelection = [];
  703. },
  704. // 编辑操作
  705. handleEdit: function handleEdit(index, row) {
  706. this.idx = index;
  707. this.form = row;
  708. this.editVisible = true;
  709. },
  710. // 添加人员绑定
  711. handleEditperson: function handleEditperson(index, row) {
  712. var data = [{
  713. cardId: row.id,
  714. endTime: this.personInfo.leaseTerm[0],
  715. remark: this.personInfo.remarks,
  716. siteId: this.currentRow.id,
  717. startTime: this.personInfo.leaseTerm[1]
  718. }];
  719. Object(api["g" /* httpPost */])(data, this.$api.bindCard).then(function (res) {});
  720. },
  721. // 删除人员
  722. handleDeleteperson: function handleDeleteperson(index) {
  723. var _this9 = this;
  724. // 二次确认删除
  725. this.$confirm("确定要删除吗?", "提示", {
  726. type: "warning"
  727. }).then(function () {
  728. _this9.$message.success("删除成功");
  729. _this9.uselist.splice(index, 1);
  730. }).catch(function () {});
  731. },
  732. // 保存编辑
  733. saveEdit: function saveEdit() {
  734. var _this10 = this;
  735. this.editVisible = false;
  736. if (this.form.endTime == '' || this.form.startTime == '') {
  737. this.$message.error("请选择时间范围");
  738. return;
  739. }
  740. this.currentRow1.map(function (li) {
  741. if (li.manufactureId == 101) {
  742. var userTelephone = JSON.parse(li.info).userTelephone;
  743. var userPassword = JSON.parse(li.info).userPassword;
  744. var endTime = new Date(_this10.form.endTime).getTime();
  745. var startTime = new Date(_this10.form.startTime).getTime();
  746. var passwordEndTime = moment_default()(endTime).format("YYYYMMDDHHmmss");
  747. var passwordStartTime = moment_default()(startTime).format("YYYYMMDDHHmmss");
  748. var data = {
  749. deviceNum: li.deviceNum,
  750. imei: li.imei,
  751. userTelephone: userTelephone,
  752. userPassword: userPassword,
  753. password: userPassword,
  754. operateMode: 2,
  755. order: 6202,
  756. passwordStartTime: passwordStartTime,
  757. passwordEndTime: passwordEndTime,
  758. cardName: li.name,
  759. roomName: li.roomName
  760. };
  761. equipment["a" /* default */].LDAddUser(data.deviceNum, data.imei, data.userTelephone, data.userPassword, data.password, passwordStartTime, passwordEndTime, data.operateMode, data.order, data.cardName, data.roomName, false, function (callback) {
  762. if (callback.success) {
  763. var data = {
  764. pageNum: 0,
  765. pageSize: 0,
  766. orderBy: "create_at desc",
  767. q: {
  768. cardId: li.cardId,
  769. deviceNum: li.deviceNum,
  770. types: "0,1,2,3,4",
  771. inStatus: "1"
  772. }
  773. };
  774. var unbind = {
  775. id: li.id,
  776. startTime: _this10.form.startTime,
  777. endTime: _this10.form.endTime
  778. };
  779. Object(api["g" /* httpPost */])(unbind, _this10.$api.setTenant).then(function (res) {});
  780. Object(api["d" /* httpGet */])(data, _this10.$api.getCertificates).then(function (res) {
  781. var dataOne = util["a" /* default */].zlib_unzip(res.data);
  782. dataOne.map(function (lt) {
  783. util["a" /* default */].modifyPutCarfid(li, lt, startTime, endTime);
  784. });
  785. });
  786. } else {
  787. _this10.$message.error("修改失败");
  788. }
  789. });
  790. } else if (li.manufactureId == 201 || li.manufactureId == 221) {
  791. var endTime = new Date(_this10.form.endTime).getTime();
  792. var startTime = new Date(_this10.form.startTime).getTime();
  793. var unbind = {
  794. id: li.id,
  795. startTime: startTime,
  796. endTime: endTime
  797. };
  798. Object(api["g" /* httpPost */])(unbind, _this10.$api.setTenant).then(function (res) {});
  799. var data = {
  800. pageNum: 0,
  801. pageSize: 0,
  802. orderBy: "create_at desc",
  803. q: {
  804. cardId: li.cardId,
  805. deviceNum: li.deviceNum,
  806. types: "0,1,2,3,4",
  807. inStatus: "0,1"
  808. }
  809. };
  810. Object(api["d" /* httpGet */])(data, _this10.$api.getCertificates).then(function (res) {
  811. var dataOne = util["a" /* default */].zlib_unzip(res.data);
  812. console.log(dataOne);
  813. dataOne.map(function (lt) {
  814. util["a" /* default */].modifyPutCarfidzg(li, lt, startTime, endTime);
  815. });
  816. });
  817. }
  818. });
  819. },
  820. // 分页导航
  821. handlePageChange: function handlePageChange(val) {
  822. this.$set(this.query, "pageIndex", val);
  823. this.getData();
  824. }
  825. }
  826. });
  827. // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-20116f28","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/renewalHandling.vue
  828. var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"loading",rawName:"v-loading.fullscreen.lock",value:(_vm.fullscreenLoading),expression:"fullscreenLoading",modifiers:{"fullscreen":true,"lock":true}}]},[_c('el-card',{staticClass:"cardbg"},[_c('div',{staticClass:"steps"},[_vm._l((_vm.steplist),function(item,index){return _c('div',{key:index,staticClass:"step",class:_vm.stepindex > index ? 'stepcolor' : '',on:{"click":function($event){return _vm.selectstep(index)}}},[(_vm.stepindex > index)?_c('img',{staticClass:"l1",attrs:{"src":__webpack_require__("Nv0Y"),"alt":""}}):(index == 0)?_c('img',{staticClass:"l1",attrs:{"src":__webpack_require__("LOA1"),"alt":""}}):(index == 1)?_c('img',{staticClass:"l1",attrs:{"src":__webpack_require__("NKGv"),"alt":""}}):_vm._e(),_vm._v(" "),_c('span',[_vm._v(_vm._s(item.title))]),_vm._v(" "),(index != _vm.steplist.length - 1)?_c('img',{staticClass:"r2",attrs:{"src":__webpack_require__("o8UN"),"alt":""}}):_vm._e()])}),_vm._v(" "),(_vm.userInfo.type==0)?_c('div',{staticClass:"selectoptionClass"},[_c('selectoption')],1):_vm._e()],2),_vm._v(" "),_c('el-carousel',{ref:"cardShow",attrs:{"trigger":"click","height":"690px","autoplay":false,"indicator-position":"none","arrow":"never","initial-index":0}},[_c('el-carousel-item',[_c('el-row',{staticClass:"rowcli",attrs:{"gutter":20}},[_c('el-col',{attrs:{"span":6}},[_c('el-card',{staticClass:"h700 cardbg",attrs:{"shadow":"always"}},[_c('el-tree',{ref:"tree",attrs:{"data":_vm.roomlist,"node-key":"id","props":_vm.defaultProps},on:{"node-click":_vm.onClick}})],1)],1),_vm._v(" "),_c('el-col',{attrs:{"span":18}},[_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"}})],1),_vm._v(" "),_c('div',{staticClass:"nextstep"},[_c('el-badge',{staticClass:"item",attrs:{"value":_vm.selectTotal}},[_c('el-button',{staticClass:"nextstep1",attrs:{"type":"primary","size":"mini"},on:{"click":_vm.selectAllMethods}},[_vm._v("全选")])],1),_vm._v(" "),_c('el-button',{staticClass:"nextstep1",attrs:{"type":"primary","size":"mini"},on:{"click":_vm.cancelSelection}},[_vm._v("取消")]),_vm._v(" "),_c('el-button',{attrs:{"type":"primary","size":"mini"},on:{"click":_vm.stepnext}},[_vm._v("下一步")])],1)],1),_vm._v(" "),(_vm.activeName == 'first')?_c('div',{staticClass:"room-list"},[_vm._l((_vm.tableData),function(item,index){return _c('div',{key:index,staticClass:"room-li",on:{"click":function($event){item.check?_vm.checkfun(index, false):_vm.checkfun(index, true)}}},[_c('checkInRoom',{attrs:{"data":item,"index":index}}),_vm._v(" "),(item.check)?_c('img',{staticClass:"check-img",attrs:{"src":__webpack_require__("lPmh"),"alt":""}}):_c('img',{staticClass:"check-img",attrs:{"src":__webpack_require__("9DgW"),"alt":""}})],1)}),_vm._v(" "),_c('div',{staticClass:"totalPosition"},[_c('el-pagination',{attrs:{"layout":"total","total":_vm.tableData.length}})],1)],2):_vm._e(),_vm._v(" "),(_vm.activeName == 'second')?_c('div',{staticClass:"room-list"},[_vm._l((_vm.tableData1),function(item,index){return _c('div',{key:index,staticClass:"room-li",on:{"click":function($event){item.check?_vm.checkfun1(index, false):_vm.checkfun1(index, true)}}},[_c('checkInRoom',{attrs:{"data":item,"index":index}}),_vm._v(" "),(item.check)?_c('img',{staticClass:"check-img",attrs:{"src":__webpack_require__("lPmh"),"alt":""}}):_c('img',{staticClass:"check-img",attrs:{"src":__webpack_require__("9DgW"),"alt":""}})],1)}),_vm._v(" "),_c('div',{staticClass:"totalPosition"},[_c('el-pagination',{attrs:{"layout":"total","total":_vm.tableData1.length}})],1)],2):_vm._e(),_vm._v(" "),(_vm.activeName == 'third')?_c('div',{staticClass:"room-list"},[_vm._l((_vm.tableData2),f
  829. var staticRenderFns = []
  830. var esExports = { render: render, staticRenderFns: staticRenderFns }
  831. /* harmony default export */ var views_renewalHandling = (esExports);
  832. // CONCATENATED MODULE: ./src/views/renewalHandling.vue
  833. function injectStyle (ssrContext) {
  834. __webpack_require__("BuOT")
  835. }
  836. var normalizeComponent = __webpack_require__("VU/8")
  837. /* script */
  838. /* template */
  839. /* template functional */
  840. var __vue_template_functional__ = false
  841. /* styles */
  842. var __vue_styles__ = injectStyle
  843. /* scopeId */
  844. var __vue_scopeId__ = "data-v-20116f28"
  845. /* moduleIdentifier (server only) */
  846. var __vue_module_identifier__ = null
  847. var Component = normalizeComponent(
  848. renewalHandling,
  849. views_renewalHandling,
  850. __vue_template_functional__,
  851. __vue_styles__,
  852. __vue_scopeId__,
  853. __vue_module_identifier__
  854. )
  855. /* harmony default export */ var src_views_renewalHandling = __webpack_exports__["default"] = (Component.exports);
  856. /***/ }),
  857. /***/ "BuOT":
  858. /***/ (function(module, exports) {
  859. // removed by extract-text-webpack-plugin
  860. /***/ })
  861. });