| | |
| | | var components |
| | | 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)) |
| | | }, |
| | | 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)) |
| | | }, |
| | | 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)) |
| | | }, |
| | | "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 */ 509)) |
| | | }, |
| | | } |
| | | } catch (e) { |
| | |
| | | } |
| | | }) |
| | | : null |
| | | if (!_vm._isMounted) { |
| | | _vm.e0 = function ($event) { |
| | | _vm.show = false |
| | | } |
| | | } |
| | | _vm.$mp.data = Object.assign( |
| | | {}, |
| | | { |
| | |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | var _default = { |
| | | data: function data() { |
| | | return { |
| | | id: null, |
| | | info: null, |
| | | show: false, |
| | | height: 'auto', |
| | | height1: 'auto', |
| | | height2: 'auto' |
| | | height2: 'auto', |
| | | value: '' |
| | | }; |
| | | }, |
| | | onLoad: function onLoad(option) { |
| | |
| | | this.getDetails(); |
| | | }, |
| | | methods: { |
| | | openBC: function openBC() { |
| | | this.value = ''; |
| | | this.show = true; |
| | | }, |
| | | confirm: function confirm() { |
| | | var _this = this; |
| | | if (!this.value) return uni.showToast({ |
| | | title: '请输入内容', |
| | | icon: 'none' |
| | | }); |
| | | this.$u.api.supplement({ |
| | | id: this.id, |
| | | objType: 0, |
| | | supplement: this.value |
| | | }).then(function (res) { |
| | | if (res.code === 200) { |
| | | _this.show = false; |
| | | _this.getDetails(); |
| | | } |
| | | }); |
| | | }, |
| | | edit: function edit() { |
| | | uni.navigateTo({ |
| | | url: "/pages/new_report/new_report?id=".concat(this.info.id) |
| | | }); |
| | | }, |
| | | getDetails: function getDetails() { |
| | | var _this = this; |
| | | var _this2 = this; |
| | | this.$u.api.settleClaimsById(this.id).then(function (res) { |
| | | if (res.code === 200) { |
| | | console.log(res); |
| | | _this.info = res.data; |
| | | _this2.info = res.data; |
| | | } |
| | | }); |
| | | }, |