|
@@ -297,6 +297,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
//
|
|
|
//
|
|
|
//
|
|
|
+//
|
|
|
+//
|
|
|
+//
|
|
|
+//
|
|
|
+//
|
|
|
+//
|
|
|
+//
|
|
|
+//
|
|
|
|
|
|
var that;
|
|
|
var QRCode = __webpack_require__(/*! ../../../utils/qrcode.js */ 119).default;var _default =
|
|
@@ -396,6 +404,20 @@ var QRCode = __webpack_require__(/*! ../../../utils/qrcode.js */ 119).default;va
|
|
|
// }
|
|
|
},
|
|
|
methods: {
|
|
|
+ buyedHandle: function buyedHandle() {var _this2 = this;
|
|
|
+ uni.$msgConfirm('确定已认购?', function () {});
|
|
|
+ uni.api.estate.apireportsubscrDeal({ id: this.detail.id }).then(function (res) {
|
|
|
+ _this2.getData();
|
|
|
+ uni.$msg('操作成功~');
|
|
|
+ });
|
|
|
+ },
|
|
|
+ signedHandle: function signedHandle() {var _this3 = this;
|
|
|
+ uni.$msgConfirm('确定已签约?', function () {});
|
|
|
+ uni.api.estate.apireportsignupDeal({ id: this.detail.id }).then(function (res) {
|
|
|
+ _this3.getData();
|
|
|
+ uni.$msg('操作成功~');
|
|
|
+ });
|
|
|
+ },
|
|
|
openPopup: function openPopup() {
|
|
|
if (this.detail.report_code) {
|
|
|
uni.previewImage({
|
|
@@ -410,16 +432,16 @@ var QRCode = __webpack_require__(/*! ../../../utils/qrcode.js */ 119).default;va
|
|
|
this.commonRulesShow = true;
|
|
|
}
|
|
|
},
|
|
|
- getData: function getData() {var _this2 = this;
|
|
|
+ getData: function getData() {var _this4 = this;
|
|
|
uni.api.estate.apireportdetail({ id: this.curId }).then(function (res) {
|
|
|
- _this2.detail = res || {};
|
|
|
- _this2.stepsLogList = res.report_flow || [];
|
|
|
- _this2.skeletonLoading = false;
|
|
|
+ _this4.detail = res || {};
|
|
|
+ _this4.stepsLogList = res.report_flow || [];
|
|
|
+ _this4.skeletonLoading = false;
|
|
|
});
|
|
|
},
|
|
|
- vHandle: function vHandle() {var _this3 = this;
|
|
|
+ vHandle: function vHandle() {var _this5 = this;
|
|
|
uni.api.cust.apireportvisit({ id: this.detail.id }).then(function (res) {
|
|
|
- _this3.getData();
|
|
|
+ _this5.getData();
|
|
|
uni.$msg('操作成功~');
|
|
|
});
|
|
|
},
|