From 02bc3bfe47e3d5311a0bb041c94e70a34b1ca73c Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期二, 09 四月 2024 09:03:01 +0800
Subject: [PATCH] git ch

---
 wx/unpackage/dist/dev/mp-weixin/pages/report_details/report_details.js |   64 ++++++++++++++++++++++++++++++-
 1 files changed, 61 insertions(+), 3 deletions(-)

diff --git a/wx/unpackage/dist/dev/mp-weixin/pages/report_details/report_details.js b/wx/unpackage/dist/dev/mp-weixin/pages/report_details/report_details.js
index 066a610..da3627d 100644
--- a/wx/unpackage/dist/dev/mp-weixin/pages/report_details/report_details.js
+++ b/wx/unpackage/dist/dev/mp-weixin/pages/report_details/report_details.js
@@ -102,8 +102,17 @@
 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) {
@@ -154,6 +163,11 @@
           }
         })
       : null
+  if (!_vm._isMounted) {
+    _vm.e0 = function ($event) {
+      _vm.show = false
+    }
+  }
   _vm.$mp.data = Object.assign(
     {},
     {
@@ -377,14 +391,37 @@
 //
 //
 //
+//
+//
+//
+//
+//
+//
+//
+//
+//
+//
+//
+//
+//
+//
+//
+//
+//
+//
+//
+//
+//
 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) {
@@ -392,17 +429,38 @@
     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;
         }
       });
     },

--
Gitblit v1.9.3