|  |  | 
 |  |  | try { | 
 |  |  |   components = { | 
 |  |  |     uIcon: function () { | 
 |  |  |       return Promise.all(/*! import() | node-modules/uview-ui/components/u-icon/u-icon */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-icon/u-icon.vue */ 459)) | 
 |  |  |       return Promise.all(/*! import() | node-modules/uview-ui/components/u-icon/u-icon */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-icon/u-icon.vue */ 469)) | 
 |  |  |     }, | 
 |  |  |     "u-Form": function () { | 
 |  |  |       return Promise.all(/*! import() | node-modules/uview-ui/components/u--form/u--form */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u--form/u--form")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u--form/u--form.vue */ 439)) | 
 |  |  |       return Promise.all(/*! import() | node-modules/uview-ui/components/u--form/u--form */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u--form/u--form")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u--form/u--form.vue */ 449)) | 
 |  |  |     }, | 
 |  |  |     uFormItem: function () { | 
 |  |  |       return Promise.all(/*! import() | node-modules/uview-ui/components/u-form-item/u-form-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-form-item/u-form-item")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-form-item/u-form-item.vue */ 445)) | 
 |  |  |       return Promise.all(/*! import() | node-modules/uview-ui/components/u-form-item/u-form-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-form-item/u-form-item")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-form-item/u-form-item.vue */ 455)) | 
 |  |  |     }, | 
 |  |  |     "u-Input": function () { | 
 |  |  |       return Promise.all(/*! import() | node-modules/uview-ui/components/u--input/u--input */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u--input/u--input")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u--input/u--input.vue */ 453)) | 
 |  |  |       return Promise.all(/*! import() | node-modules/uview-ui/components/u--input/u--input */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u--input/u--input")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u--input/u--input.vue */ 463)) | 
 |  |  |     }, | 
 |  |  |     "u-Textarea": function () { | 
 |  |  |       return Promise.all(/*! import() | node-modules/uview-ui/components/u--textarea/u--textarea */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u--textarea/u--textarea")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u--textarea/u--textarea.vue */ 516)) | 
 |  |  |       return Promise.all(/*! import() | node-modules/uview-ui/components/u--textarea/u--textarea */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u--textarea/u--textarea")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u--textarea/u--textarea.vue */ 526)) | 
 |  |  |     }, | 
 |  |  |     uButton: function () { | 
 |  |  |       return Promise.all(/*! import() | node-modules/uview-ui/components/u-button/u-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-button/u-button")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-button/u-button.vue */ 406)) | 
 |  |  |       return Promise.all(/*! import() | node-modules/uview-ui/components/u-button/u-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-button/u-button")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-button/u-button.vue */ 416)) | 
 |  |  |     }, | 
 |  |  |     uDatetimePicker: function () { | 
 |  |  |       return Promise.all(/*! import() | node-modules/uview-ui/components/u-datetime-picker/u-datetime-picker */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-datetime-picker/u-datetime-picker")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-datetime-picker/u-datetime-picker.vue */ 476)) | 
 |  |  |       return Promise.all(/*! import() | node-modules/uview-ui/components/u-datetime-picker/u-datetime-picker */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-datetime-picker/u-datetime-picker")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-datetime-picker/u-datetime-picker.vue */ 486)) | 
 |  |  |     }, | 
 |  |  |     uPicker: function () { | 
 |  |  |       return Promise.all(/*! import() | node-modules/uview-ui/components/u-picker/u-picker */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-picker/u-picker")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-picker/u-picker.vue */ 468)) | 
 |  |  |       return Promise.all(/*! import() | node-modules/uview-ui/components/u-picker/u-picker */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-picker/u-picker")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-picker/u-picker.vue */ 478)) | 
 |  |  |     }, | 
 |  |  |     uModal: function () { | 
 |  |  |       return Promise.all(/*! import() | node-modules/uview-ui/components/u-modal/u-modal */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-modal/u-modal")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-modal/u-modal.vue */ 423)) | 
 |  |  |       return Promise.all(/*! import() | node-modules/uview-ui/components/u-modal/u-modal */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-modal/u-modal")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-modal/u-modal.vue */ 433)) | 
 |  |  |     }, | 
 |  |  |     uPopup: function () { | 
 |  |  |       return Promise.all(/*! import() | node-modules/uview-ui/components/u-popup/u-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-popup/u-popup")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-popup/u-popup.vue */ 492)) | 
 |  |  |       return Promise.all(/*! import() | node-modules/uview-ui/components/u-popup/u-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-popup/u-popup")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-popup/u-popup.vue */ 502)) | 
 |  |  |     }, | 
 |  |  |     uActionSheet: function () { | 
 |  |  |       return Promise.all(/*! import() | node-modules/uview-ui/components/u-action-sheet/u-action-sheet */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-action-sheet/u-action-sheet")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-action-sheet/u-action-sheet.vue */ 541)) | 
 |  |  |     }, | 
 |  |  |   } | 
 |  |  | } catch (e) { | 
 |  |  | 
 |  |  |     _vm.e15 = function ($event) { | 
 |  |  |       _vm.show6 = false | 
 |  |  |     } | 
 |  |  |     _vm.e16 = function ($event) { | 
 |  |  |       _vm.show6 = false | 
 |  |  |     } | 
 |  |  |   } | 
 |  |  |   _vm.$mp.data = Object.assign( | 
 |  |  |     {}, | 
 |  |  | 
 |  |  | /***/ (function(module, exports, __webpack_require__) { | 
 |  |  |  | 
 |  |  | "use strict"; | 
 |  |  | /* WEBPACK VAR INJECTION */(function(uni) { | 
 |  |  | /* WEBPACK VAR INJECTION */(function(uni, wx) { | 
 |  |  |  | 
 |  |  | var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4); | 
 |  |  | Object.defineProperty(exports, "__esModule", { | 
 |  |  | 
 |  |  | var _methods; | 
 |  |  | function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } | 
 |  |  | function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | 
 |  |  |       show4: false, | 
 |  |  |       show5: false, | 
 |  |  |       show6: false, | 
 |  |  |       show7: false, | 
 |  |  |       date: Number(new Date()), | 
 |  |  |       minDate: '', | 
 |  |  |       maxDate: '', | 
 |  |  | 
 |  |  |       }, { | 
 |  |  |         name: '完成报案' | 
 |  |  |       }], | 
 |  |  |       btns: [], | 
 |  |  |       insurance: null, | 
 |  |  |       scheme: null, | 
 |  |  |       columns1: [], | 
 |  |  |       columns2: [], | 
 |  |  | 
 |  |  |           trigger: ['blur'] | 
 |  |  |         } | 
 |  |  |       }, | 
 |  |  |       fileList: [] | 
 |  |  |       fileList: [], | 
 |  |  |       htmlVal: '' | 
 |  |  |     }; | 
 |  |  |   }, | 
 |  |  |   onLoad: function onLoad(option) { | 
 |  |  | 
 |  |  |       }); | 
 |  |  |       this.getDetails(); | 
 |  |  |       this.getArea(); | 
 |  |  |       // this.getUser() | 
 |  |  |       return; | 
 |  |  |     } | 
 |  |  |     this.getArea(); | 
 |  |  |     // this.getUser() | 
 |  |  |     this.model.informantName = this.$store.state.userInfo.realname; | 
 |  |  |   }, | 
 |  |  |   methods: (_methods = { | 
 |  |  |     getInsuranceFile: function getInsuranceFile(obj) { | 
 |  |  |       var _this2 = this; | 
 |  |  |       this.insurance = null; | 
 |  |  |       this.$u.api.insuranceFile(obj.insuranceId, 1).then(function (res) { | 
 |  |  |         console.log(res); | 
 |  |  |         _this2.insurance = res.data; | 
 |  |  |       }); | 
 |  |  |     }, | 
 |  |  |     selectRow: function selectRow(row) { | 
 |  |  |       console.log(row); | 
 |  |  |       var that = this; | 
 |  |  |       uni.downloadFile({ | 
 |  |  |         url: row.type === 0 ? this.insurance.lpStampTempFile.fileurlFull : this.insurance.lpFile.fileurlFull, | 
 |  |  |         success: function success(res) { | 
 |  |  |           if (res.statusCode === 200) { | 
 |  |  |             var fileManager = wx.getFileSystemManager(); | 
 |  |  |             fileManager.saveFile({ | 
 |  |  |               tempFilePath: res.tempFilePath, | 
 |  |  |               success: function success(res) { | 
 |  |  |                 uni.showToast({ | 
 |  |  |                   title: '保存成功!', | 
 |  |  |                   icon: 'success' | 
 |  |  |                 }); | 
 |  |  |                 that.show7 = false; | 
 |  |  |               }, | 
 |  |  |               fail: function fail(err) { | 
 |  |  |                 uni.showToast({ | 
 |  |  |                   title: '保存失败!', | 
 |  |  |                   icon: 'error' | 
 |  |  |                 }); | 
 |  |  |                 that.show7 = false; | 
 |  |  |               } | 
 |  |  |             }); | 
 |  |  |           } | 
 |  |  |         } | 
 |  |  |       }); | 
 |  |  |     }, | 
 |  |  |     openDownLodFile: function openDownLodFile() { | 
 |  |  |       var arr = []; | 
 |  |  |       if (this.insurance && this.insurance.lpStampTempFile && this.insurance.lpStampTempFile.fileurlFull) { | 
 |  |  |         arr.push({ | 
 |  |  |           name: '盖章文件模版', | 
 |  |  |           type: 0, | 
 |  |  |           fontSize: '20' | 
 |  |  |         }); | 
 |  |  |       } | 
 |  |  |       if (this.insurance && this.insurance.lpFile && this.insurance.lpFile.fileurlFull) { | 
 |  |  |         arr.push({ | 
 |  |  |           name: '理赔材料一览表', | 
 |  |  |           type: 1, | 
 |  |  |           fontSize: '20' | 
 |  |  |         }); | 
 |  |  |       } | 
 |  |  |       this.btns = arr; | 
 |  |  |       if (arr.length === 0) { | 
 |  |  |         uni.showToast({ | 
 |  |  |           title: '暂无文件', | 
 |  |  |           icon: 'none' | 
 |  |  |         }); | 
 |  |  |         return; | 
 |  |  |       } | 
 |  |  |       this.show7 = true; | 
 |  |  |     }, | 
 |  |  |     jixu: function jixu() { | 
 |  |  |       uni.navigateTo({ | 
 |  |  |         url: "/pages/report_details/report_details?id=".concat(this.id) | 
 |  |  | 
 |  |  |     this.model.memberId = item.id; | 
 |  |  |     this.columns2 = []; | 
 |  |  |   }), (0, _defineProperty2.default)(_methods, "changeSearch", function changeSearch(name) { | 
 |  |  |     var _this2 = this; | 
 |  |  |     var _this3 = this; | 
 |  |  |     this.columns2 = []; | 
 |  |  |     this.scheme = null; | 
 |  |  |     this.columns3 = []; | 
 |  |  | 
 |  |  |       name: name | 
 |  |  |     }).then(function (res) { | 
 |  |  |       if (res.code === 200) { | 
 |  |  |         _this2.columns2 = res.data; | 
 |  |  |         _this3.columns2 = res.data; | 
 |  |  |       } | 
 |  |  |     }); | 
 |  |  |   }), (0, _defineProperty2.default)(_methods, "getDetails", function getDetails() { | 
 |  |  |     var _this3 = this; | 
 |  |  |     var _this4 = this; | 
 |  |  |     this.$u.api.settleClaimsById(this.id).then(function (res) { | 
 |  |  |       if (res.code === 200) { | 
 |  |  |         _this3.model.memberName = res.data.memberName; | 
 |  |  |         _this3.model.memberId = res.data.memberId; | 
 |  |  |         _this3.model.solutionName = res.data.solutionName; | 
 |  |  |         _this3.model.solutionId = res.data.solutionId; | 
 |  |  |         _this3.model.worktypeId = res.data.worktypeId; | 
 |  |  |         _this3.model.worktypeName = res.data.worktypeName; | 
 |  |  |         _this3.model.duId = res.data.duId; | 
 |  |  |         _this3.model.duName = res.data.duName; | 
 |  |  |         _this3.model.content = res.data.content; | 
 |  |  |         _this3.model.reportFileList = res.data.reportFileList; | 
 |  |  |         _this3.model.idcardNo = res.data.idcardNo; | 
 |  |  |         _this3.model.address = res.data.address; | 
 |  |  |         _this3.model.receiveBank = res.data.receiveBank; | 
 |  |  |         _this3.model.receiveUserName = res.data.receiveUserName; | 
 |  |  |         _this3.model.receiveAccount = res.data.receiveAccount; | 
 |  |  |         _this3.model.informantName = res.data.informantName; | 
 |  |  |         _this3.model.informantPhone = res.data.informantPhone; | 
 |  |  |         _this3.model.hospital = res.data.hospital; | 
 |  |  |         _this3.model.happenTime = res.data.happenTime; | 
 |  |  |         _this3.model.hurtType = res.data.hurtType; | 
 |  |  |         _this3.model.relationFileList = res.data.relationFileList; | 
 |  |  |         _this3.model.outpatientFileList = res.data.outpatientFileList; | 
 |  |  |         _this3.model.hospitalFileList = res.data.hospitalFileList; | 
 |  |  |         _this3.model.disabilityFileList = res.data.disabilityFileList; | 
 |  |  |         _this3.model.otherFileList = res.data.otherFileList; | 
 |  |  |         _this3.model.type = res.data.type; | 
 |  |  |         _this4.model.memberName = res.data.memberName; | 
 |  |  |         _this4.model.memberId = res.data.memberId; | 
 |  |  |         _this4.model.solutionName = res.data.solutionName; | 
 |  |  |         _this4.model.solutionId = res.data.solutionId; | 
 |  |  |         _this4.model.worktypeId = res.data.worktypeId; | 
 |  |  |         _this4.model.worktypeName = res.data.worktypeName; | 
 |  |  |         _this4.model.duId = res.data.duId; | 
 |  |  |         _this4.model.duName = res.data.duName; | 
 |  |  |         _this4.model.content = res.data.content; | 
 |  |  |         _this4.model.reportFileList = res.data.reportFileList; | 
 |  |  |         _this4.model.idcardNo = res.data.idcardNo; | 
 |  |  |         _this4.model.address = res.data.address; | 
 |  |  |         _this4.model.receiveBank = res.data.receiveBank; | 
 |  |  |         _this4.model.receiveUserName = res.data.receiveUserName; | 
 |  |  |         _this4.model.receiveAccount = res.data.receiveAccount; | 
 |  |  |         _this4.model.informantName = res.data.informantName; | 
 |  |  |         _this4.model.informantPhone = res.data.informantPhone; | 
 |  |  |         _this4.model.hospital = res.data.hospital; | 
 |  |  |         _this4.model.happenTime = res.data.happenTime; | 
 |  |  |         _this4.model.hurtType = res.data.hurtType; | 
 |  |  |         _this4.model.relationFileList = res.data.relationFileList; | 
 |  |  |         _this4.model.outpatientFileList = res.data.outpatientFileList; | 
 |  |  |         _this4.model.hospitalFileList = res.data.hospitalFileList; | 
 |  |  |         _this4.model.disabilityFileList = res.data.disabilityFileList; | 
 |  |  |         _this4.model.otherFileList = res.data.otherFileList; | 
 |  |  |         _this4.model.type = res.data.type; | 
 |  |  |         if (res.data.type === 0) { | 
 |  |  |           _this3.model.typeName = '工作期间受伤'; | 
 |  |  |           _this4.model.typeName = '工作期间受伤'; | 
 |  |  |         } else if (res.data.type === 1) { | 
 |  |  |           _this3.model.typeName = '上下班途中受伤'; | 
 |  |  |           _this4.model.typeName = '上下班途中受伤'; | 
 |  |  |         } else if (res.data.type === 2) { | 
 |  |  |           _this3.model.typeName = '非工作时间受伤'; | 
 |  |  |           _this4.model.typeName = '非工作时间受伤'; | 
 |  |  |         } else if (res.data.type === 3) { | 
 |  |  |           _this3.model.typeName = '意外受伤'; | 
 |  |  |           _this4.model.typeName = '意外受伤'; | 
 |  |  |         } | 
 |  |  |         _this3.model.inHospital = res.data.inHospital; | 
 |  |  |         _this3.model.medicalInsurance = res.data.medicalInsurance; | 
 |  |  |         _this3.model.areaInfo = res.data.areaInfo; | 
 |  |  |         _this3.model.areaId = res.data.areaId; | 
 |  |  |         _this3.model.solutionId = res.data.solutionId; | 
 |  |  |         _this3.model.solutionName = res.data.solutionName; | 
 |  |  |         _this3.model.duId = res.data.duId; | 
 |  |  |         _this3.model.duName = res.data.duName; | 
 |  |  |         _this3.model.worktypeId = res.data.worktypeId; | 
 |  |  |         _this3.model.worktypeName = res.data.worktypeName; | 
 |  |  |         _this3.model.applyDetailId = res.data.applyDetailId; | 
 |  |  |         _this3.model.insuranceApplyId = res.data.insuranceApplyId; | 
 |  |  |         _this3.$u.api.findList({ | 
 |  |  |           memberId: _this3.model.memberId | 
 |  |  |         _this4.model.inHospital = res.data.inHospital; | 
 |  |  |         _this4.model.medicalInsurance = res.data.medicalInsurance; | 
 |  |  |         _this4.model.areaInfo = res.data.areaInfo; | 
 |  |  |         _this4.model.areaId = res.data.areaId; | 
 |  |  |         _this4.model.solutionId = res.data.solutionId; | 
 |  |  |         _this4.model.solutionName = res.data.solutionName; | 
 |  |  |         _this4.model.duId = res.data.duId; | 
 |  |  |         _this4.model.duName = res.data.duName; | 
 |  |  |         _this4.model.worktypeId = res.data.worktypeId; | 
 |  |  |         _this4.model.worktypeName = res.data.worktypeName; | 
 |  |  |         _this4.model.applyDetailId = res.data.applyDetailId; | 
 |  |  |         _this4.model.insuranceApplyId = res.data.insuranceApplyId; | 
 |  |  |         _this4.$u.api.findList({ | 
 |  |  |           memberId: _this4.model.memberId | 
 |  |  |         }).then(function (res) { | 
 |  |  |           if (res.code === 200) { | 
 |  |  |             res.data.forEach(function (item) { | 
 |  |  |               if (item.solutionId === _this3.model.solutionId) { | 
 |  |  |                 _this3.scheme = item; | 
 |  |  |                 _this3.minDate = _this3.dateToTimestamp(item.parentStartTime); | 
 |  |  |                 _this3.maxDate = _this3.dateToTimestamp(item.parentEndTime); | 
 |  |  |                 _this3.date = _this3.dateToTimestamp(item.parentStartTime); | 
 |  |  |               if (item.solutionId === _this4.model.solutionId) { | 
 |  |  |                 _this4.scheme = item; | 
 |  |  |                 _this4.getInsuranceFile(item); | 
 |  |  |                 _this4.minDate = _this4.dateToTimestamp(item.parentStartTime); | 
 |  |  |                 _this4.maxDate = _this4.dateToTimestamp(item.parentEndTime); | 
 |  |  |                 _this4.date = _this4.dateToTimestamp(item.parentStartTime); | 
 |  |  |               } | 
 |  |  |             }); | 
 |  |  |           } | 
 |  |  | 
 |  |  |       } | 
 |  |  |     }); | 
 |  |  |   }), (0, _defineProperty2.default)(_methods, "next", function next() { | 
 |  |  |     var _this4 = this; | 
 |  |  |     this.$refs.uForm.validate().then(function (res) { | 
 |  |  |       _this4.i++; | 
 |  |  |     }).catch(function (errors) {}); | 
 |  |  |   }), (0, _defineProperty2.default)(_methods, "submit", function submit(saveType) { | 
 |  |  |     var _this5 = this; | 
 |  |  |     this.$refs.uForm.validate().then(function (res) { | 
 |  |  |       _this5.$u.api.saveSettleClaims(_objectSpread(_objectSpread({}, _this5.model), {}, { | 
 |  |  |       _this5.i++; | 
 |  |  |     }).catch(function (errors) {}); | 
 |  |  |   }), (0, _defineProperty2.default)(_methods, "submit", function submit(saveType) { | 
 |  |  |     var _this6 = this; | 
 |  |  |     this.$refs.uForm.validate().then(function (res) { | 
 |  |  |       _this6.$u.api.saveSettleClaims(_objectSpread(_objectSpread({}, _this6.model), {}, { | 
 |  |  |         saveType: saveType, | 
 |  |  |         id: _this5.id | 
 |  |  |         id: _this6.id | 
 |  |  |       })).then(function (res) { | 
 |  |  |         if (res.code === 200) { | 
 |  |  |           _this5.id = res.data; | 
 |  |  |           _this6.id = res.data; | 
 |  |  |           if (saveType === 0) { | 
 |  |  |             uni.navigateBack({ | 
 |  |  |               delta: 1 | 
 |  |  |             }); | 
 |  |  |           } else { | 
 |  |  |             _this5.i++; | 
 |  |  |             _this6.i++; | 
 |  |  |           } | 
 |  |  |         } | 
 |  |  |       }); | 
 |  |  |     }).catch(function (errors) {}); | 
 |  |  |   }), (0, _defineProperty2.default)(_methods, "openFA", function openFA() { | 
 |  |  |     var _this6 = this; | 
 |  |  |     var _this7 = this; | 
 |  |  |     if (!this.model.memberId) return uni.showToast({ | 
 |  |  |       title: '请先选择出险人', | 
 |  |  |       icon: 'none' | 
 |  |  | 
 |  |  |         res.data.forEach(function (item) { | 
 |  |  |           item.solutionName = '(' + item.startTime.substring(5, 10).replace('-', '.') + '-' + item.endTime.substring(5, 10).replace('-', '.') + ')' + item.solutionName; | 
 |  |  |         }); | 
 |  |  |         _this6.columns3 = [res.data]; | 
 |  |  |         _this6.show5 = true; | 
 |  |  |         _this7.columns3 = [res.data]; | 
 |  |  |         _this7.show5 = true; | 
 |  |  |       } | 
 |  |  |     }); | 
 |  |  |   }), (0, _defineProperty2.default)(_methods, "getUser", function getUser() { | 
 |  |  |     var _this7 = this; | 
 |  |  |     var _this8 = this; | 
 |  |  |     this.$u.api.memberFindListByDTO().then(function (res) { | 
 |  |  |       if (res.code === 200) { | 
 |  |  |         res.data.forEach(function (item) { | 
 |  |  |           item.label = item.name + ' - ' + item.idcardNo; | 
 |  |  |         }); | 
 |  |  |         _this7.columns2 = [res.data]; | 
 |  |  |         _this8.columns2 = [res.data]; | 
 |  |  |       } | 
 |  |  |     }); | 
 |  |  |   }), (0, _defineProperty2.default)(_methods, "changeHandler", function changeHandler(e) { | 
 |  |  | 
 |  |  |       picker.setColumnValues(2, value[columnIndex].childAreasList); | 
 |  |  |     } | 
 |  |  |   }), (0, _defineProperty2.default)(_methods, "getArea", function getArea() { | 
 |  |  |     var _this8 = this; | 
 |  |  |     var _this9 = this; | 
 |  |  |     this.$u.api.findTreeList().then(function (res) { | 
 |  |  |       if (res.code === 200) { | 
 |  |  |         _this8.columns1 = [res.data, res.data[0].childAreasList, res.data[0].childAreasList[0].childAreasList]; | 
 |  |  |         _this8.area = res.data; | 
 |  |  |         _this9.columns1 = [res.data, res.data[0].childAreasList, res.data[0].childAreasList[0].childAreasList]; | 
 |  |  |         _this9.area = res.data; | 
 |  |  |       } | 
 |  |  |     }); | 
 |  |  |   }), (0, _defineProperty2.default)(_methods, "openChuxian", function openChuxian() { | 
 |  |  | 
 |  |  |       } | 
 |  |  |     }); | 
 |  |  |   }), (0, _defineProperty2.default)(_methods, "afterRead", function afterRead(e) { | 
 |  |  |     var _this9 = this; | 
 |  |  |     var _this10 = this; | 
 |  |  |     uni.showLoading({ | 
 |  |  |       title: '上传中', | 
 |  |  |       mask: true | 
 |  |  |     }); | 
 |  |  |     var _loop2 = function _loop2(i) { | 
 |  |  |       uni.uploadFile({ | 
 |  |  |         url: "".concat(_this9.$baseUrl, "public/upload"), | 
 |  |  |         url: "".concat(_this10.$baseUrl, "public/upload"), | 
 |  |  |         filePath: e.file[i].url, | 
 |  |  |         name: 'file', | 
 |  |  |         header: { | 
 |  |  |           'doumee-auth-token': _this9.$store.state.cookies | 
 |  |  |           'doumee-auth-token': _this10.$store.state.cookies | 
 |  |  |         }, | 
 |  |  |         formData: { | 
 |  |  |           folder: 'settle' | 
 |  |  |         }, | 
 |  |  |         success: function success(uploadFileRes) { | 
 |  |  |           var res = JSON.parse(uploadFileRes.data); | 
 |  |  |           _this9.model.reportFileList.push({ | 
 |  |  |           _this10.model.reportFileList.push({ | 
 |  |  |             fileurl: res.data.imgaddr, | 
 |  |  |             name: res.data.originname, | 
 |  |  |             type: res.data.type, | 
 |  |  | 
 |  |  |     } | 
 |  |  |   }), (0, _defineProperty2.default)(_methods, "openInfo", function openInfo(type) { | 
 |  |  |     if (type === 1) { | 
 |  |  |       this.show6 = true; | 
 |  |  |       console.log(this.insurance.lpYggxFileInfo); | 
 |  |  |       this.htmlVal = this.insurance.lpYggxFileInfo; | 
 |  |  |     } else if (type === 2) { | 
 |  |  |       console.log(this.insurance.lpMzFileInfo); | 
 |  |  |       this.htmlVal = this.insurance.lpMzFileInfo; | 
 |  |  |     } else if (type === 3) { | 
 |  |  |       console.log(this.insurance.lpZyFileInfo); | 
 |  |  |       this.htmlVal = this.insurance.lpZyFileInfo; | 
 |  |  |     } else if (type === 4) { | 
 |  |  |       console.log(this.insurance.lpScFileInfo); | 
 |  |  |       this.htmlVal = this.insurance.lpScFileInfo; | 
 |  |  |     } else if (type === 5) { | 
 |  |  |       console.log(this.insurance.lpYggxFileInfo); | 
 |  |  |       this.htmlVal = this.insurance.lpYggxFileInfo; | 
 |  |  |     } | 
 |  |  |     this.show6 = true; | 
 |  |  |   }), (0, _defineProperty2.default)(_methods, "confirm4", function confirm4(e) { | 
 |  |  |     this.minDate = this.dateToTimestamp(e.value[0].parentStartTime); | 
 |  |  |     this.maxDate = this.dateToTimestamp(e.value[0].parentEndTime); | 
 |  |  | 
 |  |  |     this.model.applyDetailId = e.value[0].id; | 
 |  |  |     this.model.insuranceApplyId = e.value[0].applyId; | 
 |  |  |     this.scheme = e.value[0]; | 
 |  |  |     this.getInsuranceFile(e.value[0]); | 
 |  |  |     this.show5 = false; | 
 |  |  |   }), (0, _defineProperty2.default)(_methods, "confirm3", function confirm3(e) { | 
 |  |  |     this.model.memberId = e.value[0].id; | 
 |  |  | 
 |  |  |     this.model.insuranceApplyId = ''; | 
 |  |  |     this.show4 = false; | 
 |  |  |   }), (0, _defineProperty2.default)(_methods, "confirm2", function confirm2(e) { | 
 |  |  |     var _this10 = this; | 
 |  |  |     var _this11 = this; | 
 |  |  |     var info = ''; | 
 |  |  |     e.value.forEach(function (item) { | 
 |  |  |       info += _this10.getTreeName(_this10.area, item.id); | 
 |  |  |       info += _this11.getTreeName(_this11.area, item.id); | 
 |  |  |     }); | 
 |  |  |     this.model.areaId = e.value.map(function (item) { | 
 |  |  |       return item.id; | 
 |  |  | 
 |  |  |   }), _methods) | 
 |  |  | }; | 
 |  |  | exports.default = _default; | 
 |  |  | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"])) | 
 |  |  | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"])) | 
 |  |  |  | 
 |  |  | /***/ }), | 
 |  |  |  |