From 529d0b8982cf30f57ba7e366c0f822c1d82c0b69 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期二, 07 五月 2024 13:37:27 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/1.0.1' into 1.0.1

---
 wx/unpackage/dist/dev/mp-weixin/pages/report_details/report_details.js |   29 +++++++++++++++--------------
 1 files changed, 15 insertions(+), 14 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 5205312..7efd190 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
@@ -136,13 +136,7 @@
   var _vm = this
   var _h = _vm.$createElement
   var _c = _vm._self._c || _h
-  var l0 = _vm.info
-    ? []
-        .concat(_vm.info.outpatientFileList)
-        .concat(_vm.info.hospitalFileList)
-        .concat(_vm.info.disabilityFileList)
-    : null
-  var l1 =
+  var l0 =
     _vm.info && _vm.info.settleClaimsLogList
       ? _vm.__map(_vm.info.settleClaimsLogList, function (item, index) {
           var $orig = _vm.__get_orig(item)
@@ -192,7 +186,6 @@
     {
       $root: {
         l0: l0,
-        l1: l1,
       },
     }
   )
@@ -262,6 +255,15 @@
   },
   computed: _objectSpread({}, (0, _vuex.mapState)(['cookies'])),
   methods: {
+    // 鍒犻櫎闄勪欢
+    deleFile: function deleFile(id, objId) {
+      var _this2 = this;
+      this.$u.api.delFile(objId, id).then(function (res) {
+        if (res.code === 200) {
+          _this2.getDetails();
+        }
+      });
+    },
     // 涓婁紶鏉愭枡
     upload: function upload(type) {
       var that = this;
@@ -301,7 +303,7 @@
       this.show = true;
     },
     confirm: function confirm() {
-      var _this2 = this;
+      var _this3 = this;
       if (!this.value) return uni.showToast({
         title: '璇疯緭鍏ュ唴瀹�',
         icon: 'none'
@@ -312,8 +314,8 @@
         supplement: this.value
       }).then(function (res) {
         if (res.code === 200) {
-          _this2.show = false;
-          _this2.getDetails();
+          _this3.show = false;
+          _this3.getDetails();
         }
       });
     },
@@ -323,11 +325,10 @@
       });
     },
     getDetails: function getDetails() {
-      var _this3 = this;
+      var _this4 = this;
       this.$u.api.settleClaimsById(this.id).then(function (res) {
         if (res.code === 200) {
-          console.log(res);
-          _this3.info = res.data;
+          _this4.info = res.data;
         }
       });
     },

--
Gitblit v1.9.3