From e01af6d359c42b57550957d0108bb23d14088cd0 Mon Sep 17 00:00:00 2001
From: nidapeng <jp@doumee.com>
Date: 星期一, 08 四月 2024 15:19:02 +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 | 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