(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/order_mark/order_mark"],{

/***/ 172:
/*!*************************************************************************************************!*\
  !*** D:/创海项目/CH2022/CH2022/School_apartment/main.js?{"page":"pages%2Forder_mark%2Forder_mark"} ***!
  \*************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
/* WEBPACK VAR INJECTION */(function(wx, createPage) {

var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
__webpack_require__(/*! uni-pages */ 26);
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
var _order_mark = _interopRequireDefault(__webpack_require__(/*! ./pages/order_mark/order_mark.vue */ 173));
// @ts-ignore
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
createPage(_order_mark.default);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["createPage"]))

/***/ }),

/***/ 173:
/*!******************************************************************************!*\
  !*** D:/创海项目/CH2022/CH2022/School_apartment/pages/order_mark/order_mark.vue ***!
  \******************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _order_mark_vue_vue_type_template_id_2a5c1086___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./order_mark.vue?vue&type=template&id=2a5c1086& */ 174);
/* harmony import */ var _order_mark_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./order_mark.vue?vue&type=script&lang=js& */ 176);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _order_mark_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _order_mark_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _order_mark_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./order_mark.vue?vue&type=style&index=0&lang=css& */ 178);
/* harmony import */ var _downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 32);

var renderjs





/* normalize component */

var component = Object(_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
  _order_mark_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
  _order_mark_vue_vue_type_template_id_2a5c1086___WEBPACK_IMPORTED_MODULE_0__["render"],
  _order_mark_vue_vue_type_template_id_2a5c1086___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
  false,
  null,
  null,
  null,
  false,
  _order_mark_vue_vue_type_template_id_2a5c1086___WEBPACK_IMPORTED_MODULE_0__["components"],
  renderjs
)

component.options.__file = "pages/order_mark/order_mark.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);

/***/ }),

/***/ 174:
/*!*************************************************************************************************************!*\
  !*** D:/创海项目/CH2022/CH2022/School_apartment/pages/order_mark/order_mark.vue?vue&type=template&id=2a5c1086& ***!
  \*************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_mark_vue_vue_type_template_id_2a5c1086___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!../../../../../../downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./order_mark.vue?vue&type=template&id=2a5c1086& */ 175);
/* harmony import */ var _downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_mark_vue_vue_type_template_id_2a5c1086___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_mark_vue_vue_type_template_id_2a5c1086___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_mark_vue_vue_type_template_id_2a5c1086___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_mark_vue_vue_type_template_id_2a5c1086___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));


/***/ }),

/***/ 175:
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/创海项目/CH2022/CH2022/School_apartment/pages/order_mark/order_mark.vue?vue&type=template&id=2a5c1086& ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {

throw new Error("Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js):\nError: Compile failed at pages/order_mark/order_mark.vue\n    at compile (D:\\downloads\\HBuilderX\\plugins\\uniapp-cli\\node_modules\\@dcloudio\\uni-template-compiler\\lib\\index.js:149:13)\n    at actuallyCompile (D:\\downloads\\HBuilderX\\plugins\\uniapp-cli\\node_modules\\@dcloudio\\vue-cli-plugin-uni\\packages\\@vue\\component-compiler-utils\\dist\\compileTemplate.js:70:96)\n    at compileTemplate (D:\\downloads\\HBuilderX\\plugins\\uniapp-cli\\node_modules\\@dcloudio\\vue-cli-plugin-uni\\packages\\@vue\\component-compiler-utils\\dist\\compileTemplate.js:31:16)\n    at Object.<anonymous> (D:\\downloads\\HBuilderX\\plugins\\uniapp-cli\\node_modules\\@dcloudio\\vue-cli-plugin-uni\\packages\\vue-loader\\lib\\loaders\\templateLoader.js:46:20)");

/***/ }),

/***/ 176:
/*!*******************************************************************************************************!*\
  !*** D:/创海项目/CH2022/CH2022/School_apartment/pages/order_mark/order_mark.vue?vue&type=script&lang=js& ***!
  \*******************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _downloads_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_mark_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../downloads/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!../../../../../../downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./order_mark.vue?vue&type=script&lang=js& */ 177);
/* harmony import */ var _downloads_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_mark_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_downloads_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_mark_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _downloads_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_mark_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _downloads_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_mark_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
 /* harmony default export */ __webpack_exports__["default"] = (_downloads_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_mark_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); 

/***/ }),

/***/ 177:
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/创海项目/CH2022/CH2022/School_apartment/pages/order_mark/order_mark.vue?vue&type=script&lang=js& ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
/* WEBPACK VAR INJECTION */(function(uni) {

var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
var _api_hotel = __webpack_require__(/*! ../../utils/api_hotel.js */ 95);
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
var _default = {
  data: function data() {
    var _ref;
    return _ref = {
      orderList: '',
      //订单整体
      orderId: '',
      //订单号
      billXin: '',
      //结账信息
      order_txt: '',
      //弹框提示信息
      msgType: 'warn',
      msgType2: 'warn'
    }, (0, _defineProperty2.default)(_ref, "order_txt", ''), (0, _defineProperty2.default)(_ref, "order_txt2", ''), (0, _defineProperty2.default)(_ref, "tankuang", false), (0, _defineProperty2.default)(_ref, "order_txt_id", ''), _ref;
  },
  onShow: function onShow() {
    // 获取当前小程序的页面栈
    var pages = getCurrentPages();
    // 数组中索引最大的页面--当前页面
    var currentPage = pages[pages.length - 1];
    // 打印出当前页面中的 options
    this.orderId = currentPage.options.orderId;
    this.getOrderInfo(this.orderId);
    this.getOrderBill(this.orderId);
  },
  onload: function onload(option) {
    console.log('不能执行onload');
  },
  methods: {
    //获取每个订单详情
    getOrderInfo: function getOrderInfo() {
      var _this = this;
      var _self = this;
      _self.orderList = [];
      var data = _self.orderId;
      (0, _api_hotel.getorderxiang)(data).then(function (res) {
        if (res.success) {
          _self.orderList = res.data;
          return;
        } else {
          console.log('获取订单列表失败');
        }
      }).catch(function (err) {
        _this.$message.error(err.message);
      });
      //  this.$axios.get(`/hotel/ihotel-api/ihotel/hotelOrder/user/order/${this.orderId}`,
      //  {
      //   headers:{
      //   		'token':localStorage.getItem('token')
      //   }
      //  }
      //  ).then(res => {
      // res = res.data
      // if (res.success) {
      // 	console.log(res)
      // 	this.orderList=res.data
      // } else {
      //   console.log('获取订单列表失败')
      // }
      //  });
    },
    //待确认的弹框操作
    dialogConfirm: function dialogConfirm() {
      this.$refs.popup_order2.close();
      this.tankuang = true;
      if (this.tankuang == true) {
        if (this.order_txt2 == '确定删除？') {
          this.getOrderDelete(this.order_txt_id);
        } else if (this.order_txt2 == '确定退房？') {
          this.getOrderReturn(this.order_txt_id);
        } else if (this.order_txt2 == '确定入住？') {
          this.getOrderHold(this.order_txt_id);
        } else if (this.order_txt2 == '确定取消订单？') {
          this.getOrderCancel(this.order_txt_id);
        }
      }
    },
    dialogClose: function dialogClose() {
      this.$refs.popup_order2.close();
    },
    //删除弹框
    openDel: function openDel(orderId, type) {
      this.order_txt_id = orderId;
      this.msgType2 = type;
      this.order_txt2 = '确定删除？';
      this.$refs.popup_order2.open();
    },
    //退房弹框
    openTui: function openTui(orderId, type) {
      this.order_txt_id = orderId;
      this.msgType2 = type;
      this.order_txt2 = '确定退房？';
      this.$refs.popup_order2.open();
    },
    //入住弹框
    openRu: function openRu(orderId, type) {
      this.order_txt_id = orderId;
      this.msgType2 = type;
      this.order_txt2 = '确定入住？';
      this.$refs.popup_order2.open();
    },
    //取消订单弹框
    openQu: function openQu(orderId, type) {
      this.order_txt_id = orderId;
      this.msgType2 = type;
      this.order_txt2 = '确定取消订单？';
      this.$refs.popup_order2.open();
    },
    // 订单结账信息
    getOrderBill: function getOrderBill() {
      var _this2 = this;
      var _self = this;
      var data = _self.orderId;
      (0, _api_hotel.getorderbill)(data).then(function (res) {
        if (res.success) {
          if (res.data.flag != '3') {
            _this2.billXin = res.data;
          }
          return;
        } else {
          console.log('获取结账信息失败');
        }
      }).catch(function (err) {
        _this2.$message.error(err.message);
      });
      //  this.$axios.get(`/hotel/ihotel-api/ihotel/hotelOrder/user/order/bill/${this.orderId}`,
      //  {
      //   headers:{
      // 	  'token':localStorage.getItem('token')
      //   }
      //  }).then(res => {
      // res = res.data
      // if (res.success) {
      // 	// console.log(res)
      // 	if(res.data.flag!='3') {
      // 		this.billXin=res.data
      // 	}

      // } else {
      //   console.log('获取结账信息失败')
      // }
      //  });
    },
    // 订单取消再次预订
    navigateToZaici: function navigateToZaici(enableStartTime, enableEndTime, roomTypeId) {
      uni.navigateTo({
        url: "../order_room/order_room?enableStartTime=" + enableStartTime + "&enableEndTime=" + enableEndTime + "&startTime=" + enableStartTime.substring(5, 7) + '月' + enableStartTime.substring(8, 10) + '日' + "&endTime=" + enableEndTime.substring(5, 7) + '月' + enableEndTime.substring(8, 10) + '日' + "&roomTypeId=" + roomTypeId
      });
    },
    // 待支付取消订单
    getOrderCancel: function getOrderCancel(order_txt_id) {
      var _this3 = this;
      var _self = this;
      var data = _self.order_txt_id;
      (0, _api_hotel.getordercancel)(data).then(function (res) {
        if (res.success) {
          _this3.order_txt = '取消成功';
          _this3.$refs.popup_order.open();
          _this3.getOrderInfo();
          return;
        } else {
          _this3.order_txt = res.message;
          _this3.$refs.popup_order.open();
        }
      }).catch(function (err) {
        _this3.$message.error(err.message);
      });
      // this.$axios.defaults.headers.common['token'] = localStorage.getItem('token');
      // this.$axios.put(`/hotel/ihotel-api/ihotel/hotelOrder/user/order/cancel/${this.order_txt_id}`,).then(res => {
      // 	res = res.data
      // 	if (res.success) {
      // 		this.order_txt='取消成功'
      // 		this.$refs.popup_order.open()
      // 		this.getOrderInfo()
      // 	} else {
      // 		this.order_txt=res.message
      // 		this.$refs.popup_order.open()
      // 	}
      // });
    },
    // 支付订单
    getOrderPay: function getOrderPay(orderId) {
      var _this4 = this;
      var _self = this;
      (0, _api_hotel.getorderpay)(orderId).then(function (res) {
        if (res.success) {
          if (res.data.payAmount == 0) {
            uni.navigateTo({
              url: '../zhifuchenggong/zhifuchenggong?orderId=' + res.data.orderId
            });
          } else {
            window.location.href = res.data.payUrl;
          }
          return;
        } else {
          _this4.order_txt = res.message;
          _this4.$refs.popup_order.open();
          console.log('支付失败');
        }
      }).catch(function (err) {
        _this4.$message.error(err.message);
      });
      //  this.$axios.get(`/hotel/ihotel-api/ihotel/hotelOrder/user/order/pay/${orderId}`,
      //  {
      //   headers:{
      // 	  'token':localStorage.getItem('token')
      //   }
      //  }).then(res => {
      // res = res.data
      // if (res.success) {
      // 	if(res.data.payAmount==0) {
      // 		uni.navigateTo({
      // 			url: '../zhifuchenggong/zhifuchenggong?orderId='+res.data.orderId
      // 		})
      // 	} else {
      // 		window.location.href = res.data.payUrl;
      // 	}
      // } else {
      // 	this.order_txt=res.message
      // 	this.$refs.popup_order.open()
      // 	console.log('支付失败')
      // }
      //  });
    },
    // 删除订单
    getOrderDelete: function getOrderDelete(order_txt_id) {
      var _this5 = this;
      var _self = this;
      (0, _api_hotel.getorderdelete)(_self.order_txt_id).then(function (res) {
        if (res.success) {
          _this5.order_txt = '删除订单成功';
          _this5.$refs.popup_order.open();
          _this5.getOrderInfo();
          return;
        } else {
          _this5.order_txt = res.message;
          _this5.$refs.popup_order.open();
        }
      }).catch(function (err) {
        _this5.$message.error(err.message);
      });
      // this.$axios.defaults.headers.common['token'] = localStorage.getItem('token');
      // this.$axios.delete(`/hotel/ihotel-api/ihotel/hotelOrder/user/order/${this.order_txt_id}`,).then(res => {
      // 	res = res.data
      // 	if (res.success) {
      // 		this.order_txt='删除订单成功'
      // 		this.$refs.popup_order.open()
      // 		this.getOrderInfo()
      // 	} else {
      // 		this.order_txt=res.message
      // 		this.$refs.popup_order.open()
      // 	}
      // });
    },
    // 订单已完成再次预订
    navigateToWanchengZaici: function navigateToWanchengZaici(roomTypeId) {
      uni.navigateTo({
        url: '../order_room/order_room?roomTypeId=' + roomTypeId
      });
    },
    // 办理入住
    getOrderHold: function getOrderHold(order_txt_id) {
      var _this6 = this;
      var _self = this;
      (0, _api_hotel.getorderhold)(_self.order_txt_id).then(function (res) {
        if (res.success) {
          _this6.order_txt = '办理入住成功';
          _this6.$refs.popup_order.open();
          _this6.getOrderInfo();
          return;
        } else {
          _this6.order_txt = res.message;
          _this6.$refs.popup_order.open();
        }
      }).catch(function (err) {
        _this6.$message.error(err.message);
      });
      // this.$axios.defaults.headers.common['token'] = localStorage.getItem('token');
      // this.$axios.put(`/hotel/ihotel-api/ihotel/hotelOrder/user/order/hold/${this.order_txt_id}`,).then(res => {
      // 	res = res.data
      // 	if (res.success) {
      // 		this.order_txt='办理入住成功'
      // 		this.$refs.popup_order.open()
      // 		this.getOrderInfo()
      // 	} else {
      // 		this.order_txt=res.message
      // 		this.$refs.popup_order.open()
      // 	}
      // });
    },
    // 办理退房
    getOrderReturn: function getOrderReturn(order_txt_id) {
      var _this7 = this;
      var _self = this;
      (0, _api_hotel.getorderreturn)(_self.order_txt_id).then(function (res) {
        if (res.success) {
          _this7.order_txt = '退房成功';
          _this7.$refs.popup_order.open();
          _this7.getOrderInfo();
          _this7.getOrderBill();
          return;
        } else {
          _this7.order_txt = res.message;
          _this7.$refs.popup_order.open();
        }
      }).catch(function (err) {
        _this7.$message.error(err.message);
      });
      // this.$axios.defaults.headers.common['token'] = localStorage.getItem('token');
      // this.$axios.put(`/hotel/ihotel-api/ihotel/hotelOrder/user/order/return/${this.order_txt_id}`,).then(res => {
      // 	res = res.data
      // 	if (res.success) {
      // 		this.order_txt='退房成功'
      // 		this.$refs.popup_order.open()
      // 		this.getOrderInfo()
      // 		this.getOrderBill()
      // 	} else {
      // 		this.order_txt=res.message
      // 		this.$refs.popup_order.open()
      // 	}
      // });
    }
  }
};
exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))

/***/ }),

/***/ 178:
/*!***************************************************************************************************************!*\
  !*** D:/创海项目/CH2022/CH2022/School_apartment/pages/order_mark/order_mark.vue?vue&type=style&index=0&lang=css& ***!
  \***************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _downloads_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_downloads_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_downloads_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_mark_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../downloads/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../downloads/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../downloads/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../downloads/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./order_mark.vue?vue&type=style&index=0&lang=css& */ 179);
/* harmony import */ var _downloads_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_downloads_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_downloads_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_mark_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_downloads_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_downloads_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_downloads_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_mark_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _downloads_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_downloads_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_downloads_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_mark_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _downloads_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_downloads_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_downloads_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_mark_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
 /* harmony default export */ __webpack_exports__["default"] = (_downloads_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_downloads_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_downloads_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_downloads_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_mark_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a); 

/***/ }),

/***/ 179:
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/创海项目/CH2022/CH2022/School_apartment/pages/order_mark/order_mark.vue?vue&type=style&index=0&lang=css& ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

// extracted by mini-css-extract-plugin
    if(false) { var cssReload; }
  

/***/ })

},[[172,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/order_mark/order_mark.js.map