jiangping
2024-05-07 529d0b8982cf30f57ba7e366c0f822c1d82c0b69
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;
        }
      });
    },