1485 lines
83 KiB
JavaScript
1485 lines
83 KiB
JavaScript
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/homeFn/mycar/index"],{
|
|
|
|
/***/ 441:
|
|
/*!*********************************************************************************************!*\
|
|
!*** D:/workfile/minprogram/wanmeiyizhan/main.js?{"page":"pages%2FhomeFn%2Fmycar%2Findex"} ***!
|
|
\*********************************************************************************************/
|
|
/*! 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 _index = _interopRequireDefault(__webpack_require__(/*! ./pages/homeFn/mycar/index.vue */ 442));
|
|
// @ts-ignore
|
|
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
|
createPage(_index.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"]))
|
|
|
|
/***/ }),
|
|
|
|
/***/ 442:
|
|
/*!************************************************************************!*\
|
|
!*** D:/workfile/minprogram/wanmeiyizhan/pages/homeFn/mycar/index.vue ***!
|
|
\************************************************************************/
|
|
/*! no static exports found */
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony import */ var _index_vue_vue_type_template_id_1cc19d5c_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.vue?vue&type=template&id=1cc19d5c&scoped=true& */ 443);
|
|
/* harmony import */ var _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.vue?vue&type=script&lang=js& */ 445);
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _index_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 _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
/* harmony import */ var _index_vue_vue_type_style_index_0_id_1cc19d5c_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index.vue?vue&type=style&index=0&id=1cc19d5c&lang=less&scoped=true& */ 447);
|
|
/* harmony import */ var _HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 36);
|
|
|
|
var renderjs
|
|
|
|
|
|
|
|
|
|
|
|
/* normalize component */
|
|
|
|
var component = Object(_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
|
_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
_index_vue_vue_type_template_id_1cc19d5c_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
_index_vue_vue_type_template_id_1cc19d5c_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
false,
|
|
null,
|
|
"1cc19d5c",
|
|
null,
|
|
false,
|
|
_index_vue_vue_type_template_id_1cc19d5c_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
|
|
renderjs
|
|
)
|
|
|
|
component.options.__file = "pages/homeFn/mycar/index.vue"
|
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
|
|
/***/ }),
|
|
|
|
/***/ 443:
|
|
/*!*******************************************************************************************************************!*\
|
|
!*** D:/workfile/minprogram/wanmeiyizhan/pages/homeFn/mycar/index.vue?vue&type=template&id=1cc19d5c&scoped=true& ***!
|
|
\*******************************************************************************************************************/
|
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony import */ var _HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_1cc19d5c_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!../../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=1cc19d5c&scoped=true& */ 444);
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_1cc19d5c_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_1cc19d5c_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_1cc19d5c_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_1cc19d5c_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 444:
|
|
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** ./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:/workfile/minprogram/wanmeiyizhan/pages/homeFn/mycar/index.vue?vue&type=template&id=1cc19d5c&scoped=true& ***!
|
|
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
|
|
var components
|
|
var render = function () {
|
|
var _vm = this
|
|
var _h = _vm.$createElement
|
|
var _c = _vm._self._c || _h
|
|
var g0 = false ? undefined : null
|
|
var g1 = false ? undefined : null
|
|
_vm.$mp.data = Object.assign(
|
|
{},
|
|
{
|
|
$root: {
|
|
g0: g0,
|
|
g1: g1,
|
|
},
|
|
}
|
|
)
|
|
}
|
|
var recyclableRender = false
|
|
var staticRenderFns = []
|
|
render._withStripped = true
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 445:
|
|
/*!*************************************************************************************************!*\
|
|
!*** D:/workfile/minprogram/wanmeiyizhan/pages/homeFn/mycar/index.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 _HBuilderX4_45_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!../../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js& */ 446);
|
|
/* harmony import */ var _HBuilderX4_45_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX4_45_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX4_45_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_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 _HBuilderX4_45_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX4_45_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
|
|
/***/ }),
|
|
|
|
/***/ 446:
|
|
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** ./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:/workfile/minprogram/wanmeiyizhan/pages/homeFn/mycar/index.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 _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 30));
|
|
var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
|
|
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 32));
|
|
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
|
|
var _vuex = __webpack_require__(/*! vuex */ 33);
|
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
var keyboard = function keyboard() {
|
|
__webpack_require__.e(/*! require.ensure | components/keyboard */ "components/keyboard").then((function () {
|
|
return resolve(__webpack_require__(/*! ../../../components/keyboard.vue */ 688));
|
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
|
};
|
|
var CustomLoading = function CustomLoading() {
|
|
__webpack_require__.e(/*! require.ensure | components/customLoading */ "components/customLoading").then((function () {
|
|
return resolve(__webpack_require__(/*! ../../../components/customLoading.vue */ 53));
|
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
|
};
|
|
var _default = {
|
|
data: function data() {
|
|
var _ref;
|
|
return _ref = {
|
|
cards: [],
|
|
isLoading: true,
|
|
normalLen: 7,
|
|
nowIndex: -1,
|
|
isShow: false,
|
|
saveCarText: ["皖", "A", "", "", "", "", "", ""],
|
|
newEnergy: true,
|
|
// 是否是新能源
|
|
haveCode: false,
|
|
// 判断是否已经有了code
|
|
defaultKeyWordType: 1,
|
|
// 默认的键盘类型 1是 省份 2是 车牌号
|
|
showPopup: false,
|
|
IDCardImgList: [],
|
|
// 身份证 上传的图片
|
|
driverLicenseList: [],
|
|
// 驾驶证 上传的图片
|
|
drivingLicenseList: [],
|
|
// 行驶证 上传的图片
|
|
bindCarType: 1
|
|
}, (0, _defineProperty2.default)(_ref, "isLoading", false), (0, _defineProperty2.default)(_ref, "codeInfo", {
|
|
cardInfoCode: {
|
|
STAFF_ID: ""
|
|
},
|
|
// 身份证的数据
|
|
drivingInfo: {
|
|
STAFF_ID: ""
|
|
},
|
|
// 驾驶证的数据
|
|
vehicleInfo: {
|
|
STAFF_ID: ""
|
|
} // 行驶证的数据
|
|
}), (0, _defineProperty2.default)(_ref, "codeImgObj", {
|
|
frontIDCard: "",
|
|
// 身份证正面
|
|
reverseIDcard: "",
|
|
// 身份证反面
|
|
frontDriverCard: "",
|
|
// 驾驶证正面
|
|
reverseDriverCard: "",
|
|
// 驾驶证反面
|
|
frontLicenseCard: "",
|
|
// 行驶证正面
|
|
reverseLicenseCard: "" // 行驶证反面
|
|
}), _ref;
|
|
},
|
|
computed: _objectSpread({}, (0, _vuex.mapGetters)({
|
|
user: "user"
|
|
})),
|
|
components: {
|
|
keyboard: keyboard,
|
|
CustomLoading: CustomLoading
|
|
},
|
|
methods: {
|
|
// 修改绑定类型
|
|
handleChangeBindType: function handleChangeBindType() {
|
|
if (this.bindCarType === 1) {
|
|
this.bindCarType = 2;
|
|
} else {
|
|
this.bindCarType = 1;
|
|
}
|
|
},
|
|
// 绑定货车
|
|
handleBindTruck: function handleBindTruck() {
|
|
this.handleOpenDetail();
|
|
},
|
|
// 关闭悬浮框 货车的
|
|
handleClosePopup: function handleClosePopup() {
|
|
this.$refs.popup.close();
|
|
},
|
|
// 打开悬浮框 货车的
|
|
handleOpenDetail: function handleOpenDetail() {
|
|
this.$refs.popup.open("bottom");
|
|
},
|
|
showImg2: function showImg2(index, imgList) {
|
|
uni.previewImage({
|
|
urls: imgList,
|
|
current: index,
|
|
loop: true,
|
|
indicator: "number"
|
|
});
|
|
},
|
|
// 删除答案里面的图片
|
|
deleteImgFuncResponse: function deleteImgFuncResponse(item, index) {
|
|
item = item.splice(index, 1);
|
|
this.$forceUpdate();
|
|
},
|
|
submitImg: function submitImg(type, frontOrBack) {
|
|
// type 1 为身份证 2 为驾驶证 3 为行驶证
|
|
// frontOrBack 1 为正面 2 为反面
|
|
if (this.haveCode) {
|
|
var imgList = [];
|
|
if (type === '1') {
|
|
if (frontOrBack === '1') {
|
|
imgList = [this.codeImgObj.frontIDCard];
|
|
} else {
|
|
imgList = [this.codeImgObj.reverseIDcard];
|
|
}
|
|
} else if (type === '2') {
|
|
if (frontOrBack === '1') {
|
|
imgList = [this.codeImgObj.frontDriverCard];
|
|
} else {
|
|
imgList = [this.codeImgObj.reverseDriverCard];
|
|
}
|
|
} else if (type === '3') {
|
|
if (frontOrBack === '1') {
|
|
imgList = [this.codeImgObj.frontLicenseCard];
|
|
} else {
|
|
imgList = [this.codeImgObj.reverseLicenseCard];
|
|
}
|
|
}
|
|
uni.previewImage({
|
|
urls: imgList,
|
|
current: 0,
|
|
loop: true,
|
|
indicator: "number"
|
|
});
|
|
} else {
|
|
var _this2 = this;
|
|
uni.chooseImage({
|
|
count: 9,
|
|
//默认9
|
|
sizeType: ["original", "compressed"],
|
|
sourceType: ["camera"],
|
|
// "album",
|
|
success: function success(rs) {
|
|
var quality = 100;
|
|
if (rs.tempFiles[0].size > 1024 * 200) {
|
|
quality = 1024 * 200 / rs.tempFiles[0].size * 100;
|
|
}
|
|
if (quality < 100 && rs.tempFiles[0].path.indexOf(".jpg") > -1) {
|
|
uni.compressImage({
|
|
src: rs.tempFilePaths[0],
|
|
// 图片路径
|
|
quality: quality,
|
|
// 压缩质量
|
|
success: function success(res) {
|
|
var data = {};
|
|
if (res.data) {
|
|
data = JSON.parse(res.data);
|
|
}
|
|
// uni.showLoading({
|
|
// title: "图片上传中...",
|
|
// });
|
|
_this2.isLoading = true;
|
|
uni.uploadFile({
|
|
// url: "https://user.eshangtech.com/Coop.Merchant/Handler/handler_ajax.ashx?action_type=UploadFile&folder=MBWA",
|
|
// url: "https://es.robot-z.cn/oss/upload",
|
|
url: "https://es.eshangtech.com/oss/upload",
|
|
filePath: res.tempFilePath,
|
|
header: {
|
|
"Content-Type": "multipart/form-data"
|
|
},
|
|
formData: {},
|
|
fileType: "image",
|
|
name: "file",
|
|
success: function success(res) {
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
|
var data, _res, _res2, _res3;
|
|
return _regenerator.default.wrap(function _callee$(_context) {
|
|
while (1) {
|
|
switch (_context.prev = _context.next) {
|
|
case 0:
|
|
data = {};
|
|
if (res.data) {
|
|
data = JSON.parse(res.data);
|
|
}
|
|
// uni.hideLoading();
|
|
|
|
_this2.isLoading = false;
|
|
if (!(type === "1")) {
|
|
_context.next = 10;
|
|
break;
|
|
}
|
|
_context.next = 6;
|
|
return _this2.handleIdentification("https://es.eshangtech.com/".concat(data.data.path), 1, frontOrBack);
|
|
case 6:
|
|
_res = _context.sent;
|
|
if (_res) {
|
|
if (frontOrBack === '1') {
|
|
_this2.codeImgObj.frontIDCard = "https://es.eshangtech.com/".concat(data.data.path);
|
|
} else {
|
|
_this2.codeImgObj.reverseIDcard = "https://es.eshangtech.com/".concat(data.data.path);
|
|
}
|
|
// // 身份证的数组
|
|
// _this.IDCardImgList.push(
|
|
// `https://es.eshangtech.com/${data.data.path}`
|
|
// );
|
|
}
|
|
_context.next = 22;
|
|
break;
|
|
case 10:
|
|
if (!(type === "2")) {
|
|
_context.next = 17;
|
|
break;
|
|
}
|
|
_context.next = 13;
|
|
return _this2.handleIdentification("https://es.eshangtech.com/".concat(data.data.path), 2, frontOrBack);
|
|
case 13:
|
|
_res2 = _context.sent;
|
|
if (_res2) {
|
|
if (frontOrBack === '1') {
|
|
_this2.codeImgObj.frontDriverCard = "https://es.eshangtech.com/".concat(data.data.path);
|
|
} else {
|
|
_this2.codeImgObj.reverseDriverCard = "https://es.eshangtech.com/".concat(data.data.path);
|
|
}
|
|
// 驾驶证的图片
|
|
// _this.driverLicenseList.push(
|
|
// `https://es.eshangtech.com/${data.data.path}`
|
|
// );
|
|
}
|
|
_context.next = 22;
|
|
break;
|
|
case 17:
|
|
if (!(type === "3")) {
|
|
_context.next = 22;
|
|
break;
|
|
}
|
|
_context.next = 20;
|
|
return _this2.handleIdentification("https://es.eshangtech.com/".concat(data.data.path), 3, frontOrBack);
|
|
case 20:
|
|
_res3 = _context.sent;
|
|
if (_res3) {
|
|
if (frontOrBack === '1') {
|
|
_this2.codeImgObj.frontLicenseCard = "https://es.eshangtech.com/".concat(data.data.path);
|
|
} else {
|
|
_this2.codeImgObj.reverseLicenseCard = "https://es.eshangtech.com/".concat(data.data.path);
|
|
}
|
|
|
|
// 行驶证图片
|
|
// _this.drivingLicenseList.push(
|
|
// `https://es.eshangtech.com/${data.data.path}`
|
|
// );
|
|
}
|
|
case 22:
|
|
case "end":
|
|
return _context.stop();
|
|
}
|
|
}
|
|
}, _callee);
|
|
}))();
|
|
},
|
|
fail: function fail(error) {
|
|
_this2.noPost = true;
|
|
}
|
|
});
|
|
},
|
|
fail: function fail(error) {
|
|
_this2.noPost = true;
|
|
}
|
|
});
|
|
} else {
|
|
_this2.isLoading = true;
|
|
// uni.showLoading({
|
|
// title: "图片上传中...",
|
|
// });
|
|
uni.uploadFile({
|
|
// url: "https://user.eshangtech.com/Coop.Merchant/Handler/handler_ajax.ashx?action_type=UploadFile&folder=MBWA",
|
|
// url: "https://es.robot-z.cn/oss/upload",
|
|
url: "https://es.eshangtech.com/oss/upload",
|
|
filePath: rs.tempFilePaths[0],
|
|
fileType: "image",
|
|
header: {
|
|
"Content-Type": "multipart/form-data"
|
|
},
|
|
name: "file",
|
|
success: function success(res) {
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
|
var data, _res4, _res5, _res6;
|
|
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|
while (1) {
|
|
switch (_context2.prev = _context2.next) {
|
|
case 0:
|
|
data = {};
|
|
if (res.data) {
|
|
data = JSON.parse(res.data);
|
|
}
|
|
// uni.hideLoading();
|
|
|
|
_this2.isLoading = false;
|
|
if (!(type === "1")) {
|
|
_context2.next = 10;
|
|
break;
|
|
}
|
|
_context2.next = 6;
|
|
return _this2.handleIdentification("https://es.eshangtech.com/".concat(data.data.path), 1, frontOrBack);
|
|
case 6:
|
|
_res4 = _context2.sent;
|
|
if (_res4) {
|
|
if (frontOrBack === '1') {
|
|
_this2.codeImgObj.frontIDCard = "https://es.eshangtech.com/".concat(data.data.path);
|
|
} else {
|
|
_this2.codeImgObj.reverseIDcard = "https://es.eshangtech.com/".concat(data.data.path);
|
|
}
|
|
// // 身份证的数组
|
|
// _this.IDCardImgList.push(
|
|
// `https://es.eshangtech.com/${data.data.path}`
|
|
// );
|
|
}
|
|
_context2.next = 22;
|
|
break;
|
|
case 10:
|
|
if (!(type === "2")) {
|
|
_context2.next = 17;
|
|
break;
|
|
}
|
|
_context2.next = 13;
|
|
return _this2.handleIdentification("https://es.eshangtech.com/".concat(data.data.path), 2, frontOrBack);
|
|
case 13:
|
|
_res5 = _context2.sent;
|
|
if (_res5) {
|
|
if (frontOrBack === '1') {
|
|
_this2.codeImgObj.frontDriverCard = "https://es.eshangtech.com/".concat(data.data.path);
|
|
} else {
|
|
_this2.codeImgObj.reverseDriverCard = "https://es.eshangtech.com/".concat(data.data.path);
|
|
}
|
|
// // 驾驶证的图片
|
|
// _this.driverLicenseList.push(
|
|
// `https://es.eshangtech.com/${data.data.path}`
|
|
// );
|
|
}
|
|
_context2.next = 22;
|
|
break;
|
|
case 17:
|
|
if (!(type === "3")) {
|
|
_context2.next = 22;
|
|
break;
|
|
}
|
|
_context2.next = 20;
|
|
return _this2.handleIdentification("https://es.eshangtech.com/".concat(data.data.path), 3, frontOrBack);
|
|
case 20:
|
|
_res6 = _context2.sent;
|
|
if (_res6) {
|
|
if (frontOrBack === '1') {
|
|
_this2.codeImgObj.frontLicenseCard = "https://es.eshangtech.com/".concat(data.data.path);
|
|
} else {
|
|
_this2.codeImgObj.reverseLicenseCard = "https://es.eshangtech.com/".concat(data.data.path);
|
|
}
|
|
// // 行驶证图片
|
|
// _this.drivingLicenseList.push(
|
|
// `https://es.eshangtech.com/${data.data.path}`
|
|
// );
|
|
}
|
|
case 22:
|
|
case "end":
|
|
return _context2.stop();
|
|
}
|
|
}
|
|
}, _callee2);
|
|
}))();
|
|
},
|
|
fail: function fail(error) {
|
|
_this2.noPost = true;
|
|
}
|
|
});
|
|
}
|
|
},
|
|
fail: function fail(err) {}
|
|
});
|
|
}
|
|
},
|
|
// 根据车辆类型返回需要的准驾车型
|
|
getRequiredLicenseTypes: function getRequiredLicenseTypes(vehicleType) {
|
|
if (!vehicleType) return [];
|
|
if (vehicleType.includes('小型') && (vehicleType.includes('轿车') || vehicleType.includes('客车'))) {
|
|
return ['C1', 'C2'];
|
|
} else if (vehicleType.includes('微型货车') || vehicleType.includes('微型封闭式货车') || vehicleType.includes('轻型货车') || vehicleType.includes('轻型封闭式货车')) {
|
|
return ['C1']; // 轻微型货车 C1可以开
|
|
} else if (vehicleType.includes('中型货车') || vehicleType.includes('中型封闭式货车')) {
|
|
return ['B2'];
|
|
} else if (vehicleType.includes('重型货车') || vehicleType.includes('重型封闭式货车')) {
|
|
return ['B2'];
|
|
} else if (vehicleType.includes('牵引车')) {
|
|
return ['A2'];
|
|
} else if (vehicleType.includes('中型客车')) {
|
|
return ['B1'];
|
|
} else if (vehicleType.includes('大型客车') || vehicleType.includes('重型客车')) {
|
|
return ['A1'];
|
|
} else if (vehicleType.includes('半挂')) {
|
|
return ['A2'];
|
|
} else {
|
|
return []; // 无法判断的车辆类型,默认放过
|
|
}
|
|
},
|
|
// 证件识别
|
|
handleIdentification: function handleIdentification(url, type, frontOrBack) {
|
|
var _this3 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
|
var req, data, obj, infoObj, start, end, _infoObj$validPeriod$, _infoObj$validPeriod$2, _start, _end, _infoObj$validPeriod$3, _infoObj$validPeriod$4;
|
|
return _regenerator.default.wrap(function _callee3$(_context3) {
|
|
while (1) {
|
|
switch (_context3.prev = _context3.next) {
|
|
case 0:
|
|
_this3.isLoading = true;
|
|
// type 1 身份证 2 驾驶证 3 行驶证
|
|
// frontOrBack 1 为正面 2 为反面
|
|
console.log('frontOrBack', frontOrBack);
|
|
req = {
|
|
imageUrl: url
|
|
};
|
|
data = {};
|
|
if (!(type === 1)) {
|
|
_context3.next = 10;
|
|
break;
|
|
}
|
|
_context3.next = 7;
|
|
return _this3.$api.$get("/MemberIdentify/RecognizeIdCard", req);
|
|
case 7:
|
|
data = _context3.sent;
|
|
_context3.next = 20;
|
|
break;
|
|
case 10:
|
|
if (!(type === 2)) {
|
|
_context3.next = 16;
|
|
break;
|
|
}
|
|
_context3.next = 13;
|
|
return _this3.$api.$get("/MemberIdentify/RecognizeDriving", req);
|
|
case 13:
|
|
data = _context3.sent;
|
|
_context3.next = 20;
|
|
break;
|
|
case 16:
|
|
if (!(type === 3)) {
|
|
_context3.next = 20;
|
|
break;
|
|
}
|
|
_context3.next = 19;
|
|
return _this3.$api.$get("/MemberIdentify/RecognizeVehicle", req);
|
|
case 19:
|
|
data = _context3.sent;
|
|
case 20:
|
|
if (!(data.Result_Code !== 100)) {
|
|
_context3.next = 24;
|
|
break;
|
|
}
|
|
uni.showToast({
|
|
title: "".concat(type === 1 ? '身份证' : type === 2 ? '驾驶证' : type === 3 ? '行驶证' : '', "\u8BC6\u522B\u5931\u8D25\uFF01\u8BF7\u91CD\u65B0\u4E0A\u4F20"),
|
|
icon: 'none'
|
|
});
|
|
_this3.isLoading = false;
|
|
return _context3.abrupt("return", false);
|
|
case 24:
|
|
obj = JSON.parse(data.Result_Data);
|
|
infoObj = {};
|
|
if (!(type === 1)) {
|
|
_context3.next = 53;
|
|
break;
|
|
}
|
|
console.log('this.codeInfo.cardInfoCode', _this3.codeInfo.cardInfoCode);
|
|
if (!(frontOrBack === '1')) {
|
|
_context3.next = 39;
|
|
break;
|
|
}
|
|
if (!obj.data.face) {
|
|
_context3.next = 34;
|
|
break;
|
|
}
|
|
infoObj = obj.data.face.data;
|
|
_this3.codeInfo.cardInfoCode = _objectSpread(_objectSpread({}, _this3.codeInfo.cardInfoCode), {}, {
|
|
MEMBERSHIP_ID: _this3.user.MEMBERSHIP_ID,
|
|
// 会员内码 ,
|
|
IDCARDINFO_NAME: infoObj.name || '',
|
|
// 身份证人名
|
|
IDCARDINFO_CODE: infoObj.idNumber || '',
|
|
// 证件号码
|
|
GENDER: infoObj.sex === '男' ? 1 : infoObj.sex === '女' ? '2' : '0',
|
|
//性别 男1 女2
|
|
NATIONALITY: infoObj.ethnicity || '',
|
|
//名族
|
|
BIRTH_DATE: infoObj.birthDate || '',
|
|
//证件生日
|
|
IDCARDINFO_ADDRESS: infoObj.address || '',
|
|
//证件地址
|
|
STAFF_ID: "",
|
|
STAFF_NAME: _this3.user.MEMBERSHIP_NAME,
|
|
//
|
|
IDCARDINFO_STATE: 1,
|
|
OPERATE_DATE: _this3.$moment.now().format("YYYY-MM-DD HH:mm:ss")
|
|
});
|
|
_context3.next = 37;
|
|
break;
|
|
case 34:
|
|
uni.showToast({
|
|
title: "身份证识别失败,请重新上传!",
|
|
icon: 'none'
|
|
});
|
|
_this3.isLoading = false;
|
|
return _context3.abrupt("return", false);
|
|
case 37:
|
|
_context3.next = 51;
|
|
break;
|
|
case 39:
|
|
if (!obj.data.back) {
|
|
_context3.next = 48;
|
|
break;
|
|
}
|
|
infoObj = obj.data.back.data;
|
|
start = "", end = "";
|
|
if (infoObj.validPeriod) {
|
|
_infoObj$validPeriod$ = infoObj.validPeriod.split('-');
|
|
_infoObj$validPeriod$2 = (0, _slicedToArray2.default)(_infoObj$validPeriod$, 2);
|
|
start = _infoObj$validPeriod$2[0];
|
|
end = _infoObj$validPeriod$2[1];
|
|
}
|
|
start = start.replace(/\./g, "-");
|
|
end = end.replace(/\./g, "-");
|
|
_this3.codeInfo.cardInfoCode = _objectSpread(_objectSpread({}, _this3.codeInfo.cardInfoCode), {}, {
|
|
ISSUE_DATE: start || '',
|
|
EXPIRE_DATE: end || '',
|
|
ISSUE_AUTHORITY: infoObj.issueAuthority || ''
|
|
});
|
|
_context3.next = 51;
|
|
break;
|
|
case 48:
|
|
uni.showToast({
|
|
title: "身份证识别失败,请重新上传!",
|
|
icon: 'none'
|
|
});
|
|
_this3.isLoading = false;
|
|
return _context3.abrupt("return", false);
|
|
case 51:
|
|
_context3.next = 97;
|
|
break;
|
|
case 53:
|
|
if (!(type === 2)) {
|
|
_context3.next = 77;
|
|
break;
|
|
}
|
|
if (!(frontOrBack === '1')) {
|
|
_context3.next = 67;
|
|
break;
|
|
}
|
|
if (!obj.data.face) {
|
|
_context3.next = 62;
|
|
break;
|
|
}
|
|
infoObj = obj.data.face.data;
|
|
_start = "", _end = "";
|
|
if (infoObj.validPeriod) {
|
|
_infoObj$validPeriod$3 = infoObj.validPeriod.split('至');
|
|
_infoObj$validPeriod$4 = (0, _slicedToArray2.default)(_infoObj$validPeriod$3, 2);
|
|
_start = _infoObj$validPeriod$4[0];
|
|
_end = _infoObj$validPeriod$4[1];
|
|
}
|
|
_this3.codeInfo.drivingInfo = _objectSpread(_objectSpread({}, _this3.codeInfo.drivingInfo), {}, {
|
|
MEMBERSHIP_ID: _this3.user.MEMBERSHIP_ID,
|
|
// 会员内码
|
|
// LICENSE_NUMBER: infoObj.licenseNumber, // 驾驶证号
|
|
IDCARDINFO_NAME: infoObj.name,
|
|
// 证件姓名
|
|
IDCARDINFO_CODE: infoObj.licenseNumber,
|
|
// 关联身份证号
|
|
LICENSE_TYPE: infoObj.approvedType,
|
|
// 准驾车型
|
|
VALID_FROM: _start,
|
|
// 有效期起始日
|
|
VALID_TO: _end,
|
|
// 有效期截止日
|
|
ISSUE_DATE: infoObj.initialIssueDate,
|
|
// 发证日期
|
|
DRIVERLICENSE_STATE: 1,
|
|
// 状态(正常/吊销/过期)
|
|
STAFF_ID: "",
|
|
//
|
|
STAFF_NAME: _this3.user.MEMBERSHIP_NAME,
|
|
//
|
|
OPERATE_DATE: _this3.$moment.now().format("YYYY-MM-DD HH:mm:ss") //
|
|
});
|
|
_context3.next = 65;
|
|
break;
|
|
case 62:
|
|
uni.showToast({
|
|
title: "驾驶证识别失败,请重新上传!",
|
|
icon: 'none'
|
|
});
|
|
_this3.isLoading = false;
|
|
return _context3.abrupt("return", false);
|
|
case 65:
|
|
_context3.next = 75;
|
|
break;
|
|
case 67:
|
|
if (!obj.data.back) {
|
|
_context3.next = 72;
|
|
break;
|
|
}
|
|
infoObj = obj.data.back.data;
|
|
_this3.codeInfo.drivingInfo = _objectSpread(_objectSpread({}, _this3.codeInfo.drivingInfo), {}, {
|
|
LICENSE_NUMBER: infoObj.licenseNumber,
|
|
RECORD: infoObj.record,
|
|
RECORD_NUMBER: infoObj.recordNumber
|
|
});
|
|
_context3.next = 75;
|
|
break;
|
|
case 72:
|
|
uni.showToast({
|
|
title: "驾驶证识别失败,请重新上传!",
|
|
icon: 'none'
|
|
});
|
|
_this.isLoading = false;
|
|
return _context3.abrupt("return", false);
|
|
case 75:
|
|
_context3.next = 97;
|
|
break;
|
|
case 77:
|
|
if (!(type === 3)) {
|
|
_context3.next = 97;
|
|
break;
|
|
}
|
|
if (!(frontOrBack === '1')) {
|
|
_context3.next = 89;
|
|
break;
|
|
}
|
|
if (!obj.data.face) {
|
|
_context3.next = 84;
|
|
break;
|
|
}
|
|
infoObj = obj.data.face.data;
|
|
_this3.codeInfo.vehicleInfo = _objectSpread(_objectSpread({}, _this3.codeInfo.vehicleInfo), {}, {
|
|
MEMBERSHIP_ID: _this3.user.MEMBERSHIP_ID,
|
|
//
|
|
PLATE_NUMBER: infoObj.licensePlateNumber,
|
|
// 车牌号
|
|
VEHICLE_TYPE: infoObj.vehicleType,
|
|
// 车辆类型(如轿车/货车)
|
|
// IDCARDINFO_CODE: "string",// 所有人身份证号
|
|
IDCARDINFO_ADDRESS: infoObj.address,
|
|
// 所有人住址
|
|
VEHICLELICENSE_VIN: infoObj.vinCode,
|
|
// 车辆识别代号(车架号)
|
|
ENGINE_NUMBER: infoObj.engineNumber,
|
|
// 发动机号
|
|
REGISTER_DATE: infoObj.registrationDate,
|
|
// 注册日期
|
|
INSPECT_DATE: infoObj.inspectionRecord,
|
|
// 检验有效期
|
|
STAFF_ID: 0,
|
|
//
|
|
STAFF_NAME: "",
|
|
//
|
|
VEHICLELICENSE_STATE: 1,
|
|
OPERATE_DATE: _this3.$moment.now().format("YYYY-MM-DD HH:mm:ss"),
|
|
//
|
|
VEHICLELICENSE_DESC: "",
|
|
//
|
|
|
|
ISSUEAUTHORITY: infoObj.issueAuthority,
|
|
// 签发机关
|
|
MODAL: infoObj.model,
|
|
// 品牌类型
|
|
OWNER: infoObj.owner,
|
|
// 所有人名称
|
|
ISSUEDATE: infoObj.issueDate,
|
|
// 发证日期
|
|
USE_NATURE: infoObj.useNature // 使用性质
|
|
});
|
|
_context3.next = 87;
|
|
break;
|
|
case 84:
|
|
uni.showToast({
|
|
title: "行驶证识别失败,请重新上传!",
|
|
icon: 'none'
|
|
});
|
|
_this3.isLoading = false;
|
|
return _context3.abrupt("return", false);
|
|
case 87:
|
|
_context3.next = 97;
|
|
break;
|
|
case 89:
|
|
if (!obj.data.back) {
|
|
_context3.next = 94;
|
|
break;
|
|
}
|
|
infoObj = obj.data.back.data;
|
|
_this3.codeInfo.vehicleInfo = _objectSpread(_objectSpread({}, _this3.codeInfo.vehicleInfo), infoObj);
|
|
_context3.next = 97;
|
|
break;
|
|
case 94:
|
|
uni.showToast({
|
|
title: "行驶证识别失败,请重新上传!",
|
|
icon: 'none'
|
|
});
|
|
_this3.isLoading = false;
|
|
return _context3.abrupt("return", false);
|
|
case 97:
|
|
_this3.isLoading = false;
|
|
return _context3.abrupt("return", true);
|
|
case 99:
|
|
case "end":
|
|
return _context3.stop();
|
|
}
|
|
}
|
|
}, _callee3);
|
|
}))();
|
|
},
|
|
// 确认绑定
|
|
handleConfirmCode: function handleConfirmCode() {
|
|
var _this4 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
|
var _this, carText, reg, careg, isOk, code, vehicleInfo, imgObj;
|
|
return _regenerator.default.wrap(function _callee4$(_context4) {
|
|
while (1) {
|
|
switch (_context4.prev = _context4.next) {
|
|
case 0:
|
|
console.log("this.saveCarText", _this4.saveCarText);
|
|
_this = _this4;
|
|
carText = _this.saveCarText.join("");
|
|
if (!(carText.length < 7)) {
|
|
_context4.next = 8;
|
|
break;
|
|
}
|
|
uni.showModal({
|
|
title: "温馨提示",
|
|
content: "请您完善车牌号再提交",
|
|
cancelColor: "#000000",
|
|
confirmText: "确定",
|
|
confirmColor: "#3CC51F",
|
|
success: function success(result) {
|
|
if (result.confirm) {}
|
|
}
|
|
});
|
|
return _context4.abrupt("return");
|
|
case 8:
|
|
reg = /^(([京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领][A-Z](([0-9]{5}[DF])|([DF]([A-HJ-NP-Z0-9])[0-9]{4})))|([京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领][A-Z][A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳使领]))$/;
|
|
careg = reg.test(carText);
|
|
if (careg) {
|
|
_context4.next = 13;
|
|
break;
|
|
}
|
|
uni.showModal({
|
|
title: "温馨提示",
|
|
content: "请输入正确车牌号",
|
|
showCancel: false
|
|
});
|
|
return _context4.abrupt("return");
|
|
case 13:
|
|
isOk = true;
|
|
if (!(_this4.bindCarType === 2)) {
|
|
_context4.next = 34;
|
|
break;
|
|
}
|
|
if (!(!_this4.codeImgObj.frontIDCard || !_this4.codeImgObj.reverseIDcard)) {
|
|
_context4.next = 18;
|
|
break;
|
|
}
|
|
uni.showModal({
|
|
title: "温馨提示",
|
|
content: "请上传身份证!",
|
|
showCancel: false
|
|
});
|
|
return _context4.abrupt("return");
|
|
case 18:
|
|
if (_this4.codeImgObj.frontDriverCard) {
|
|
_context4.next = 21;
|
|
break;
|
|
}
|
|
// || !this.codeImgObj.reverseDriverCard
|
|
uni.showModal({
|
|
title: "温馨提示",
|
|
content: "请上传身份证!",
|
|
showCancel: false
|
|
});
|
|
return _context4.abrupt("return");
|
|
case 21:
|
|
if (_this4.codeImgObj.frontLicenseCard) {
|
|
_context4.next = 24;
|
|
break;
|
|
}
|
|
// || !this.codeImgObj.reverseLicenseCard
|
|
uni.showModal({
|
|
title: "温馨提示",
|
|
content: "请上传身份证!",
|
|
showCancel: false
|
|
});
|
|
return _context4.abrupt("return");
|
|
case 24:
|
|
if (!(_this4.codeInfo.vehicleInfo.PLATE_NUMBER !== _this4.saveCarText.toString().replace(/,/g, ""))) {
|
|
_context4.next = 27;
|
|
break;
|
|
}
|
|
uni.showModal({
|
|
title: "温馨提示",
|
|
content: "\u884C\u9A76\u8BC1\u8F66\u724C\u53F7\u4E0E\u7ED1\u5B9A\u8F66\u724C\u53F7\u4E0D\u4E00\u81F4\uFF01",
|
|
showCancel: false
|
|
});
|
|
return _context4.abrupt("return", false);
|
|
case 27:
|
|
// if (!(this.IDCardImgList && this.IDCardImgList.length > 0)) {
|
|
// uni.showModal({
|
|
// title: "温馨提示",
|
|
// content: "请上传身份证!",
|
|
// showCancel: false,
|
|
// });
|
|
// return;
|
|
// }
|
|
|
|
// if (!(this.driverLicenseList && this.driverLicenseList.length > 0)) {
|
|
// uni.showModal({
|
|
// title: "温馨提示",
|
|
// content: "请上传驾驶证!",
|
|
// showCancel: false,
|
|
// });
|
|
// return;
|
|
// }
|
|
// if (!(this.drivingLicenseList && this.drivingLicenseList.length > 0)) {
|
|
// uni.showModal({
|
|
// title: "温馨提示",
|
|
// content: "请上传行驶证!",
|
|
// showCancel: false,
|
|
// });
|
|
// return;
|
|
// }
|
|
_this4.isLoading = true;
|
|
console.log('this.codeInfothis.codeInfothis.codeInfo', _this4.codeInfo);
|
|
_context4.next = 31;
|
|
return _this4.handleSaveAllCarInfo();
|
|
case 31:
|
|
isOk = _context4.sent;
|
|
_context4.next = 42;
|
|
break;
|
|
case 34:
|
|
code = _this4.saveCarText.toString().replace(/,/g, "");
|
|
_context4.next = 37;
|
|
return _this4.$api.$post("/EShangApiMain/Member/SynchroVEHICLELICENSE", {
|
|
PLATE_NUMBER: code,
|
|
STAFF_NAME: "",
|
|
//
|
|
VEHICLELICENSE_STATE: 1,
|
|
OPERATE_DATE: _this4.$moment.now().format("YYYY-MM-DD HH:mm:ss") //
|
|
});
|
|
case 37:
|
|
vehicleInfo = _context4.sent;
|
|
if (!(vehicleInfo.Result_Code !== 100)) {
|
|
_context4.next = 42;
|
|
break;
|
|
}
|
|
uni.showToast({
|
|
title: "存储失败!",
|
|
icon: 'none'
|
|
});
|
|
isOk = false;
|
|
return _context4.abrupt("return", false);
|
|
case 42:
|
|
// 图片的上传对象格式
|
|
// let imgObj = {
|
|
// IDCardImgList: _this.IDCardImgList,
|
|
// driverLicenseList: _this.driverLicenseList,
|
|
// drivingLicenseList: _this.drivingLicenseList,
|
|
// };
|
|
imgObj = _this4.codeImgObj;
|
|
_this4.isLoading = true;
|
|
if (isOk) {
|
|
_this.$api.getCoop({
|
|
action_type: "BindVehicle",
|
|
LicensePlate: carText,
|
|
VehicleType: _this.newEnergy ? "新能源" : "",
|
|
ImageInfo: _this.bindCarType === 2 ? JSON.stringify(imgObj) : ""
|
|
}).then(function (res) {
|
|
console.log("res", res);
|
|
if (res.Result_Code === 100) {
|
|
uni.showModal({
|
|
content: res.Result_Desc,
|
|
cancelColor: "#000000",
|
|
showCancel: false,
|
|
confirmText: "确定",
|
|
confirmColor: "#3CC51F",
|
|
success: function success(result) {
|
|
_this.isShow = false;
|
|
_this.getList();
|
|
_this.handleSearchCurrentList();
|
|
}
|
|
});
|
|
} else {
|
|
uni.showModal({
|
|
title: "温馨提示",
|
|
content: res.Result_Desc,
|
|
cancelColor: "#000000",
|
|
confirmText: "确定",
|
|
confirmColor: "#3CC51F",
|
|
success: function success(result) {
|
|
if (result.confirm) {}
|
|
}
|
|
});
|
|
}
|
|
});
|
|
}
|
|
_this4.isLoading = false;
|
|
case 46:
|
|
case "end":
|
|
return _context4.stop();
|
|
}
|
|
}
|
|
}, _callee4);
|
|
}))();
|
|
},
|
|
// 一次性存储三份数据
|
|
handleSaveAllCarInfo: function handleSaveAllCarInfo() {
|
|
var _this5 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
|
|
var data;
|
|
return _regenerator.default.wrap(function _callee5$(_context5) {
|
|
while (1) {
|
|
switch (_context5.prev = _context5.next) {
|
|
case 0:
|
|
_context5.next = 2;
|
|
return _this5.$api.$post("/EShangApiMain/Member/SyncMemberLicense", {
|
|
idcardinfoModel: _this5.codeInfo.cardInfoCode,
|
|
driverlicenseModel: _this5.codeInfo.drivingInfo,
|
|
vehiclelicenseModel: _this5.codeInfo.vehicleInfo
|
|
});
|
|
case 2:
|
|
data = _context5.sent;
|
|
if (!(data.Result_Code !== 100)) {
|
|
_context5.next = 6;
|
|
break;
|
|
}
|
|
uni.showToast({
|
|
title: "".concat(data.Result_Desc),
|
|
icon: 'none'
|
|
});
|
|
return _context5.abrupt("return", false);
|
|
case 6:
|
|
return _context5.abrupt("return", true);
|
|
case 7:
|
|
case "end":
|
|
return _context5.stop();
|
|
}
|
|
}
|
|
}, _callee5);
|
|
}))();
|
|
},
|
|
// 一次性查当前的用户的三证id
|
|
handleSearchCurrentList: function handleSearchCurrentList() {
|
|
var _this6 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6() {
|
|
var codeCarInfo, drivingInfo, vehicleInfo;
|
|
return _regenerator.default.wrap(function _callee6$(_context6) {
|
|
while (1) {
|
|
switch (_context6.prev = _context6.next) {
|
|
case 0:
|
|
_context6.next = 2;
|
|
return _this6.$api.$post("/EShangApiMain/Member/GetIDCARDINFOList", {
|
|
SearchParameter: {
|
|
MEMBERSHIP_ID: _this6.user.MEMBERSHIP_ID,
|
|
IDCARDINFO_STATE: 1
|
|
},
|
|
PageIndex: 1,
|
|
PageSize: 10
|
|
});
|
|
case 2:
|
|
codeCarInfo = _context6.sent;
|
|
console.log('codeCarInfo', codeCarInfo);
|
|
_context6.next = 6;
|
|
return _this6.$api.$post("/EShangApiMain/Member/GetDRIVERLICENSEList", {
|
|
SearchParameter: {
|
|
MEMBERSHIP_ID: _this6.user.MEMBERSHIP_ID,
|
|
DRIVERLICENSE_STATE: 1
|
|
},
|
|
PageIndex: 1,
|
|
PageSize: 10
|
|
});
|
|
case 6:
|
|
drivingInfo = _context6.sent;
|
|
console.log('drivingInfo', drivingInfo);
|
|
_context6.next = 10;
|
|
return _this6.$api.$post("/EShangApiMain/Member/GetVEHICLELICENSEList", {
|
|
SearchParameter: {
|
|
MEMBERSHIP_ID: _this6.user.MEMBERSHIP_ID,
|
|
VEHICLELICENSE_STATE: 1
|
|
},
|
|
PageIndex: 1,
|
|
PageSize: 10
|
|
});
|
|
case 10:
|
|
vehicleInfo = _context6.sent;
|
|
console.log('vehicleInfo', vehicleInfo);
|
|
_this6.codeInfo = {
|
|
cardInfoCode: codeCarInfo.Result_Data.List && codeCarInfo.Result_Data.List.length > 0 ? codeCarInfo.Result_Data.List[0] : {
|
|
STAFF_ID: ""
|
|
},
|
|
drivingInfo: drivingInfo.Result_Data.List && drivingInfo.Result_Data.List.length > 0 ? drivingInfo.Result_Data.List[0] : {
|
|
STAFF_ID: ""
|
|
},
|
|
vehicleInfo: vehicleInfo.Result_Data.List && vehicleInfo.Result_Data.List.length > 0 ? vehicleInfo.Result_Data.List[0] : {
|
|
STAFF_ID: ""
|
|
}
|
|
};
|
|
console.log('this.codeInfo', _this6.codeInfo);
|
|
case 14:
|
|
case "end":
|
|
return _context6.stop();
|
|
}
|
|
}
|
|
}, _callee6);
|
|
}))();
|
|
},
|
|
// 一次性解绑当前三证
|
|
handleDeleteCurrent: function handleDeleteCurrent() {
|
|
var _this7 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7() {
|
|
var codeCarInfo, drivingInfo, vehicleInfo;
|
|
return _regenerator.default.wrap(function _callee7$(_context7) {
|
|
while (1) {
|
|
switch (_context7.prev = _context7.next) {
|
|
case 0:
|
|
console.log('this.codeInfo', _this7.codeInfo);
|
|
console.log('this.codeInfo.cardInfoCode.IDCARDINFO_ID', _this7.codeInfo.cardInfoCode.IDCARDINFO_ID);
|
|
_context7.next = 4;
|
|
return _this7.$api.$get("/EShangApiMain/Member/DeleteIDCARDINFO", {
|
|
IDCARDINFOId: _this7.codeInfo.cardInfoCode.IDCARDINFO_ID
|
|
});
|
|
case 4:
|
|
codeCarInfo = _context7.sent;
|
|
if (!(codeCarInfo.Result_Code !== 100)) {
|
|
_context7.next = 8;
|
|
break;
|
|
}
|
|
uni.showToast({
|
|
title: "删除失败!",
|
|
icon: 'none'
|
|
});
|
|
return _context7.abrupt("return", false);
|
|
case 8:
|
|
console.log('this.codeInfo.drivingInfo.DRIVERLICENSE_ID', _this7.codeInfo.drivingInfo.DRIVERLICENSE_ID);
|
|
_context7.next = 11;
|
|
return _this7.$api.$get("/EShangApiMain/Member/DeleteDRIVERLICENSE", {
|
|
DRIVERLICENSEId: _this7.codeInfo.drivingInfo.DRIVERLICENSE_ID
|
|
});
|
|
case 11:
|
|
drivingInfo = _context7.sent;
|
|
if (!(drivingInfo.Result_Code !== 100)) {
|
|
_context7.next = 15;
|
|
break;
|
|
}
|
|
uni.showToast({
|
|
title: "删除失败!",
|
|
icon: 'none'
|
|
});
|
|
return _context7.abrupt("return", false);
|
|
case 15:
|
|
console.log('this.codeInfo.vehicleInfo.VEHICLELICENSE_ID', _this7.codeInfo.vehicleInfo.VEHICLELICENSE_ID);
|
|
_context7.next = 18;
|
|
return _this7.$api.$get("/EShangApiMain/Member/DeleteVEHICLELICENSE", {
|
|
VEHICLELICENSEId: _this7.codeInfo.vehicleInfo.VEHICLELICENSE_ID
|
|
});
|
|
case 18:
|
|
vehicleInfo = _context7.sent;
|
|
if (!(vehicleInfo.Result_Code !== 100)) {
|
|
_context7.next = 22;
|
|
break;
|
|
}
|
|
uni.showToast({
|
|
title: "删除失败!",
|
|
icon: 'none'
|
|
});
|
|
return _context7.abrupt("return", false);
|
|
case 22:
|
|
return _context7.abrupt("return", true);
|
|
case 23:
|
|
case "end":
|
|
return _context7.stop();
|
|
}
|
|
}
|
|
}, _callee7);
|
|
}))();
|
|
},
|
|
// 改变车的能源类型
|
|
handleChangeCarType: function handleChangeCarType() {
|
|
if (this.haveCode) {
|
|
uni.showToast({
|
|
title: "已有关联车辆!如需修改请先解绑",
|
|
icon: "none",
|
|
duration: 2000
|
|
});
|
|
return;
|
|
} else {
|
|
this.newEnergy = !this.newEnergy;
|
|
}
|
|
},
|
|
inputChange: function inputChange(value) {
|
|
var index = this.nowIndex;
|
|
this.saveCarText[index] = value;
|
|
var next = index + 1;
|
|
if (next < 7) {
|
|
this.nowIndex = next;
|
|
}
|
|
this.$forceUpdate();
|
|
},
|
|
delValue: function delValue() {
|
|
var index = this.nowIndex;
|
|
this.saveCarText[index] = "";
|
|
var next = index - 1;
|
|
if (next > -1) {
|
|
this.nowIndex = next;
|
|
}
|
|
this.$forceUpdate();
|
|
},
|
|
confirmboard: function confirmboard() {
|
|
this.isShow = false;
|
|
},
|
|
focusInput: function focusInput(value) {
|
|
// 判断第一个 有没有值 有值了的话 就显示数字键盘 没值的话 就显示中文键盘
|
|
if (value === 0) {
|
|
this.defaultKeyWordType = 1;
|
|
} else {
|
|
this.defaultKeyWordType = 2;
|
|
}
|
|
if (this.haveCode) {
|
|
uni.showToast({
|
|
title: "已有关联车辆!如需修改请先解绑",
|
|
icon: "none",
|
|
duration: 2000
|
|
});
|
|
return;
|
|
}
|
|
this.isShow = true;
|
|
this.nowIndex = value;
|
|
},
|
|
// 取消绑定
|
|
handleCancelCode: function handleCancelCode() {
|
|
var _this8 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8() {
|
|
var _this, data, obj;
|
|
return _regenerator.default.wrap(function _callee8$(_context8) {
|
|
while (1) {
|
|
switch (_context8.prev = _context8.next) {
|
|
case 0:
|
|
_this = _this8;
|
|
data = false;
|
|
if (!(_this8.bindCarType === 2)) {
|
|
_context8.next = 9;
|
|
break;
|
|
}
|
|
_this8.isLoading = true;
|
|
// 删除三个
|
|
_context8.next = 6;
|
|
return _this8.handleDeleteCurrent();
|
|
case 6:
|
|
data = _context8.sent;
|
|
_context8.next = 10;
|
|
break;
|
|
case 9:
|
|
data = true;
|
|
case 10:
|
|
if (data) {
|
|
if (_this.cards && _this.cards.length > 0) {
|
|
obj = _this.cards[0];
|
|
uni.showModal({
|
|
title: "确认取消绑定?",
|
|
content: "取消绑定后将无法恢复",
|
|
success: function success(res) {
|
|
if (res.confirm) {
|
|
this.isLoading = true;
|
|
_this.$api.getCoop({
|
|
action_type: "UnbindVehicle",
|
|
MEMBERSHIPVEHICLE_ID: obj.MEMBERSHIPVEHICLE_ID,
|
|
LicensePlate: obj.License_Plate
|
|
// Membership_Id: _this.user.MEMBERSHIP_ID,
|
|
}).then(function (res) {
|
|
_this.isLoading = false;
|
|
if (res.Result_Code === 100) {
|
|
// _this.IDCardImgList = [];
|
|
// _this.driverLicenseList = [];
|
|
// _this.drivingLicenseList = [];
|
|
_this.codeImgObj = {
|
|
frontIDCard: "",
|
|
// 身份证正面
|
|
reverseIDcard: "",
|
|
// 身份证反面
|
|
frontDriverCard: "",
|
|
// 驾驶证正面
|
|
reverseDriverCard: "",
|
|
// 驾驶证反面
|
|
frontLicenseCard: "",
|
|
// 行驶证正面
|
|
reverseLicenseCard: "" // 行驶证反面
|
|
};
|
|
|
|
uni.showModal({
|
|
content: res.Result_Desc,
|
|
cancelColor: "#000000",
|
|
showCancel: false,
|
|
confirmText: "确定",
|
|
confirmColor: "#3CC51F",
|
|
success: function success(result) {
|
|
_this.isShow = false;
|
|
_this.getList();
|
|
}
|
|
});
|
|
}
|
|
});
|
|
}
|
|
}
|
|
});
|
|
} else {
|
|
uni.showToast({
|
|
title: "暂无关联车辆!",
|
|
icon: "none",
|
|
duration: 2000
|
|
});
|
|
_this.isLoading = false;
|
|
}
|
|
}
|
|
case 11:
|
|
case "end":
|
|
return _context8.stop();
|
|
}
|
|
}
|
|
}, _callee8);
|
|
}))();
|
|
},
|
|
getList: function getList() {
|
|
var _this = this;
|
|
|
|
// uni.showLoading({ title: "加载中" });
|
|
|
|
_this.isLoading = true;
|
|
this.$api.getCoop({
|
|
action_type: "GetVehicleList"
|
|
}).then(function (res) {
|
|
_this.isLoading = false;
|
|
_this.cards = res.Result_Data.List;
|
|
if (_this.cards && _this.cards.length > 0) {
|
|
var obj = _this.cards[0];
|
|
var code = obj.License_Plate;
|
|
if (obj.ImageInfo) {
|
|
var imgObj = JSON.parse(obj.ImageInfo);
|
|
_this.codeImgObj = imgObj;
|
|
_this.bindCarType = 2;
|
|
console.log('codeImgObj', _this.codeImgObj);
|
|
// _this.IDCardImgList = imgObj.IDCardImgList;
|
|
// _this.driverLicenseList = imgObj.driverLicenseList;
|
|
// _this.drivingLicenseList = imgObj.drivingLicenseList;
|
|
}
|
|
|
|
_this.saveCarText = code.split("");
|
|
_this.haveCode = true;
|
|
} else {
|
|
_this.saveCarText = ["皖", "A", "", "", "", "", "", ""];
|
|
_this.haveCode = false;
|
|
}
|
|
// uni.hideLoading();
|
|
|
|
_this.isLoading = false;
|
|
});
|
|
},
|
|
toAdd: function toAdd() {
|
|
uni.navigateTo({
|
|
url: "/pages/homeFn/bindingCar/index"
|
|
});
|
|
}
|
|
},
|
|
onShow: function onShow() {},
|
|
onLoad: function onLoad() {
|
|
var _this9 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9() {
|
|
return _regenerator.default.wrap(function _callee9$(_context9) {
|
|
while (1) {
|
|
switch (_context9.prev = _context9.next) {
|
|
case 0:
|
|
_this9.isLoading = true;
|
|
_this9.getList();
|
|
_context9.next = 4;
|
|
return _this9.handleSearchCurrentList();
|
|
case 4:
|
|
case "end":
|
|
return _context9.stop();
|
|
}
|
|
}
|
|
}, _callee9);
|
|
}))();
|
|
}
|
|
};
|
|
exports.default = _default;
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
|
|
|
/***/ }),
|
|
|
|
/***/ 447:
|
|
/*!**********************************************************************************************************************************!*\
|
|
!*** D:/workfile/minprogram/wanmeiyizhan/pages/homeFn/mycar/index.vue?vue&type=style&index=0&id=1cc19d5c&lang=less&scoped=true& ***!
|
|
\**********************************************************************************************************************************/
|
|
/*! no static exports found */
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony import */ var _HBuilderX4_45_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_HBuilderX4_45_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_2_HBuilderX4_45_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_HBuilderX4_45_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_5_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_1cc19d5c_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--10-oneOf-1-2!../../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--10-oneOf-1-3!../../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--10-oneOf-1-5!../../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX4.45/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=1cc19d5c&lang=less&scoped=true& */ 448);
|
|
/* harmony import */ var _HBuilderX4_45_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_HBuilderX4_45_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_2_HBuilderX4_45_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_HBuilderX4_45_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_5_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_1cc19d5c_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX4_45_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_HBuilderX4_45_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_2_HBuilderX4_45_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_HBuilderX4_45_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_5_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_1cc19d5c_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX4_45_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_HBuilderX4_45_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_2_HBuilderX4_45_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_HBuilderX4_45_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_5_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_1cc19d5c_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX4_45_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_HBuilderX4_45_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_2_HBuilderX4_45_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_HBuilderX4_45_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_5_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_1cc19d5c_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX4_45_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_HBuilderX4_45_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_2_HBuilderX4_45_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_HBuilderX4_45_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_5_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX4_45_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_1cc19d5c_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
|
|
/***/ }),
|
|
|
|
/***/ 448:
|
|
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--10-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--10-oneOf-1-2!./node_modules/postcss-loader/src??ref--10-oneOf-1-3!./node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--10-oneOf-1-5!./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:/workfile/minprogram/wanmeiyizhan/pages/homeFn/mycar/index.vue?vue&type=style&index=0&id=1cc19d5c&lang=less&scoped=true& ***!
|
|
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
// extracted by mini-css-extract-plugin
|
|
if(false) { var cssReload; }
|
|
|
|
|
|
/***/ })
|
|
|
|
},[[441,"common/runtime","common/vendor"]]]);
|
|
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/homeFn/mycar/index.js.map
|