Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
h5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
74d48874
authored
Dec 26, 2020
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
x
parent
e1afbf5a
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
120 additions
and
10 deletions
src/store/modules/user/order.js
src/store/modules/user/shiplist.js
src/store/store.js
src/views/user/order.vue
src/views/user/shiplist.vue
view/46.js
view/app.js
src/store/modules/user/order.js
View file @
74d48874
...
...
@@ -31,7 +31,6 @@ const actions = {
var
params
=
{
order_id
:
payload
.
order_id
}
state
.
againBuy
.
isShow
=
0
Services
.
rebuy
(
qs
.
stringify
(
params
)).
then
((
res
)
=>
{
state
.
loading
=
false
;
...
...
src/store/modules/user/shiplist.js
0 → 100644
View file @
74d48874
import
Vue
from
'vue'
import
{
services
as
Services
,
productionUrlApi
}
from
'../../../api/index'
import
{
Dialog
,
Toast
}
from
'vant'
import
Util
from
"../../../util"
Vue
.
use
(
Dialog
);
var
qs
=
require
(
'qs'
);
const
state
=
{
loading
:
false
,
lists
:
{},
currentList
:
[],
isUpdateList
:
false
,
}
const
mutations
=
{
orderLists
(
state
,
payload
)
{
state
.
lists
[
payload
.
status
]
=
payload
.
data
state
.
currentList
=
payload
.
data
}
}
const
actions
=
{
//确认收货
sureSend1
({
commit
},
payload
)
{
state
.
loading
=
true
;
var
params
=
{
order_id
:
payload
.
order_id
}
Services
.
sureSend
(
qs
.
stringify
(
params
)).
then
((
res
)
=>
{
state
.
loading
=
false
;
Toast
(
res
.
data
.
err_msg
)
if
(
res
.
data
.
err_code
==
0
)
{
state
.
isUpdateList
=
true
}
}).
catch
(
function
(
err
)
{
state
.
loading
=
false
;
});
},
//获取订单列表
orderLists1
({
commit
},
payload
)
{
//当前状态数据加载过 且没有强制更新
//参数变动 数据清空
if
(
payload
.
isGet
)
{
this
.
state
.
lists
=
{}
}
if
(
state
.
lists
[
payload
.
status
]
&&
!
payload
.
isGet
)
{
//已经加载过
state
.
currentList
=
state
.
lists
[
payload
.
status
];
return
}
state
.
loading
=
true
;
var
params
=
{
p
:
1
,
limit
:
100
}
Object
.
keys
(
payload
).
forEach
((
item
)
=>
{
if
(
item
!=
"type"
&&
item
!=
"isGet"
)
{
params
[
item
]
=
payload
[
item
]
}
})
Services
.
orderLists
(
qs
.
stringify
(
params
)).
then
((
res
)
=>
{
let
data
=
res
.
data
;
state
.
loading
=
false
;
state
.
isUpdateList
=
false
commit
(
"orderLists"
,
{
data
:
data
.
data
.
list
||
[],
status
:
payload
.
status
,
})
}).
catch
(
function
(
err
)
{
state
.
loading
=
false
;
});
},
}
const
getters
=
{}
export
default
{
state
,
mutations
,
actions
,
getters
}
src/store/store.js
View file @
74d48874
...
...
@@ -24,6 +24,7 @@ import user from './modules/user/index'
import
coupon
from
'./modules/user/coupon'
import
userInfo
from
'./modules/user/userInfo'
import
userOrder
from
'./modules/user/order'
import
shiplist
from
'./modules/user/shiplist'
import
orderDetail
from
'./modules/user/orderDetail'
import
message
from
'./modules/user/message'
...
...
@@ -73,6 +74,7 @@ export default new Vuex.Store({
coupon
,
address
,
userOrder
,
shiplist
,
orderDetail
,
message
,
history
,
...
...
src/views/user/order.vue
View file @
74d48874
...
...
@@ -237,6 +237,7 @@
if
(
val
)
{
this
.
isGet
=
true
this
.
getData
()
}
},
currentList
(
item
)
{
...
...
src/views/user/shiplist.vue
View file @
74d48874
...
...
@@ -101,10 +101,10 @@
},
computed
:
{
...
mapState
({
loading
:
state
=>
state
.
userOrder
.
loading
,
lists
:
state
=>
state
.
userOrder
.
lists
,
currentList
:
state
=>
state
.
userOrder
.
currentList
,
isUpdateList
:
state
=>
state
.
userOrder
.
isUpdateList
,
loading
:
state
=>
state
.
shiplist
.
loading
,
lists
:
state
=>
state
.
shiplist
.
lists
,
currentList
:
state
=>
state
.
shiplist
.
currentList
,
isUpdateList
:
state
=>
state
.
shiplist
.
isUpdateList
,
}),
...
...
@@ -223,7 +223,7 @@
.
then
(()
=>
{
// on confirm
var
datap
=
{
type
:
'sureSend'
,
type
:
'sureSend
1
'
,
order_id
:
order_id
,
}
this
.
$store
.
dispatch
(
datap
)
...
...
@@ -252,7 +252,7 @@
getData
()
{
var
datap
=
{
type
:
'orderLists'
,
type
:
'orderLists
1
'
,
status
:
this
.
orderStatus
,
isGet
:
this
.
isGet
||
""
//是否强制更新接口
...
...
view/46.js
View file @
74d48874
...
...
@@ -8,7 +8,7 @@
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.12@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.12@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_7_12_5_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.12.5@@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.12.5@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.12@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.6.0@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.11.2@vant/es/index.js\");\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_7_12_5_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_6__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Tab\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Tabs\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Empty\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'order',\n data: function data() {\n return {\n isWindow: true,\n carshow: false,\n tab: 0,\n orderStatus: 8,\n //订单状态\n lineWidth: 55,\n //tab 底线宽\n isEmpty: false,\n //是否没结果\n isGet: false,\n //是否缓存列表\n order_sn: \"\",\n copyOrderSn: \"\",\n //复制订单号\n isMask: 0,\n allOrderArr: {\n \"待收货\": 8,\n \"部分发货\": 7\n }\n };\n },\n computed: _objectSpread(_objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_8__[\"mapState\"])({\n loading: function loading(state) {\n return state.
userOrder.loading;\n },\n lists: function lists(state) {\n return state.userOrder.lists;\n },\n currentList: function currentList(state) {\n return state.userOrder.currentList;\n },\n isUpdateList: function isUpdateList(state) {\n return state.userOrder.isUpdateList;\n }\n })), {}, {\n listenChange: function listenChange() {\n var order_sn = this.order_sn;\n return {\n order_sn: order_sn\n };\n }\n }),\n watch: {\n $route: function $route(to, from) {\n if (to.path == \"/shiplist\" && to.query.status != from.query.status) {\n this.tabUi();\n this.getData();\n }\n },\n isUpdateList: function isUpdateList(val) {\n if (val) {\n this.isGet = true;\n this.getData();\n }\n },\n currentList: function currentList(item) {\n this.isEmpty = item.length == 0 ? true : false;\n },\n listenChange: function listenChange(val, val1) {\n this.isGet = true; //强制刷新接口\n }\n },\n created: function created() {\n this.tabUi();\n this.getData();\n },\n methods: {\n tabUi: function tabUi() {\n var status = this.$route.query.status || 8;\n this.orderStatus = status;\n var index = status == 8 ? 0 : 1;\n this.tab = index;\n },\n toDetail: function toDetail(order_id, status) {\n this.$router.push({\n path: '/orderDetail',\n query: {\n status: status,\n order_id: order_id\n }\n });\n },\n toUrl: function toUrl(url, goods_id) {\n if (goods_id != 0) {\n window.location.href = url;\n }\n },\n tabChange: function tabChange(index) {\n this.tab = index;\n var status = index == 0 ? 8 : 7;\n this.$router.push({\n path: '/shiplist',\n query: {\n status: status\n }\n });\n },\n changestatus: function changestatus(item) {\n this.orderStatus = item;\n },\n copy: function copy(order_sn) {\n this.copyOrderSn = order_sn;\n this.$nextTick(function () {\n var copyobject = document.getElementById(\"domainxk\");\n copyobject.select();\n document.execCommand(\"Copy\");\n copyobject.blur();\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])('复制成功');\n });\n },\n //下载合同\n downpd: function downpd(order_id) {\n var datap = {\n type: 'orderDownPdf',\n id: order_id\n };\n this.$store.dispatch(datap);\n },\n //查看物流\n ship: function ship(order_id, order_sn) {\n this.$router.push({\n path: '/userShipping',\n query: {\n order_id: order_id,\n order_sn: order_sn\n }\n });\n },\n //确认收货\n sureSend: function sureSend(order_id) {\n var _this = this;\n\n vant__WEBPACK_IMPORTED_MODULE_9__[\"Dialog\"].confirm({\n message: '您要确认收货吗?'\n }).then(function () {\n // on confirm\n var datap = {\n type: 'sureSend',\n order_id: order_id\n };\n\n _this.$store.dispatch(datap);\n }).catch(function () {// on cancel\n });\n },\n submitShift: function submitShift() {\n var status = this.$route.query.status || 0;\n\n if (this.orderStatus != status) {\n this.$router.push({\n path: '/shiplist',\n query: {\n status: this.orderStatus\n }\n });\n return;\n }\n\n this.getData();\n },\n getData: function getData() {\n var datap = {\n type: 'orderLists
',\n status: this.orderStatus,\n isGet: this.isGet || \"\" //是否强制更新接口\n\n };\n var isOrderSn = 0;\n\n if (this.order_sn.length == 14 && Number(this.order_sn)) {\n isOrderSn = 1;\n }\n\n if (isOrderSn) {\n datap.order_sn = this.order_sn;\n } else {\n if (this.order_sn) {\n datap.sku_name = this.order_sn;\n }\n }\n\n this.$store.dispatch(datap);\n }\n },\n components: {\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/user/shiplist.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.2.2@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.5@vue-loader/lib??vue-loader-options"
);
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.12@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.12@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_7_12_5_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.12.5@@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.12.5@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.12@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.6.0@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.11.2@vant/es/index.js\");\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_7_12_5_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_6__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Tab\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Tabs\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Empty\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"]).use(vant__WEBPACK_IMPORTED_MODULE_9__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'order',\n data: function data() {\n return {\n isWindow: true,\n carshow: false,\n tab: 0,\n orderStatus: 8,\n //订单状态\n lineWidth: 55,\n //tab 底线宽\n isEmpty: false,\n //是否没结果\n isGet: false,\n //是否缓存列表\n order_sn: \"\",\n copyOrderSn: \"\",\n //复制订单号\n isMask: 0,\n allOrderArr: {\n \"待收货\": 8,\n \"部分发货\": 7\n }\n };\n },\n computed: _objectSpread(_objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_8__[\"mapState\"])({\n loading: function loading(state) {\n return state.
shiplist.loading;\n },\n lists: function lists(state) {\n return state.shiplist.lists;\n },\n currentList: function currentList(state) {\n return state.shiplist.currentList;\n },\n isUpdateList: function isUpdateList(state) {\n return state.shiplist.isUpdateList;\n }\n })), {}, {\n listenChange: function listenChange() {\n var order_sn = this.order_sn;\n return {\n order_sn: order_sn\n };\n }\n }),\n watch: {\n $route: function $route(to, from) {\n if (to.path == \"/shiplist\" && to.query.status != from.query.status) {\n this.tabUi();\n this.getData();\n }\n },\n isUpdateList: function isUpdateList(val) {\n if (val) {\n this.isGet = true;\n this.getData();\n }\n },\n currentList: function currentList(item) {\n this.isEmpty = item.length == 0 ? true : false;\n },\n listenChange: function listenChange(val, val1) {\n this.isGet = true; //强制刷新接口\n }\n },\n created: function created() {\n this.tabUi();\n this.getData();\n },\n methods: {\n tabUi: function tabUi() {\n var status = this.$route.query.status || 8;\n this.orderStatus = status;\n var index = status == 8 ? 0 : 1;\n this.tab = index;\n },\n toDetail: function toDetail(order_id, status) {\n this.$router.push({\n path: '/orderDetail',\n query: {\n status: status,\n order_id: order_id\n }\n });\n },\n toUrl: function toUrl(url, goods_id) {\n if (goods_id != 0) {\n window.location.href = url;\n }\n },\n tabChange: function tabChange(index) {\n this.tab = index;\n var status = index == 0 ? 8 : 7;\n this.$router.push({\n path: '/shiplist',\n query: {\n status: status\n }\n });\n },\n changestatus: function changestatus(item) {\n this.orderStatus = item;\n },\n copy: function copy(order_sn) {\n this.copyOrderSn = order_sn;\n this.$nextTick(function () {\n var copyobject = document.getElementById(\"domainxk\");\n copyobject.select();\n document.execCommand(\"Copy\");\n copyobject.blur();\n Object(vant__WEBPACK_IMPORTED_MODULE_9__[\"Toast\"])('复制成功');\n });\n },\n //下载合同\n downpd: function downpd(order_id) {\n var datap = {\n type: 'orderDownPdf',\n id: order_id\n };\n this.$store.dispatch(datap);\n },\n //查看物流\n ship: function ship(order_id, order_sn) {\n this.$router.push({\n path: '/userShipping',\n query: {\n order_id: order_id,\n order_sn: order_sn\n }\n });\n },\n //确认收货\n sureSend: function sureSend(order_id) {\n var _this = this;\n\n vant__WEBPACK_IMPORTED_MODULE_9__[\"Dialog\"].confirm({\n message: '您要确认收货吗?'\n }).then(function () {\n // on confirm\n var datap = {\n type: 'sureSend1',\n order_id: order_id\n };\n\n _this.$store.dispatch(datap);\n }).catch(function () {// on cancel\n });\n },\n submitShift: function submitShift() {\n var status = this.$route.query.status || 0;\n\n if (this.orderStatus != status) {\n this.$router.push({\n path: '/shiplist',\n query: {\n status: this.orderStatus\n }\n });\n return;\n }\n\n this.getData();\n },\n getData: function getData() {\n var datap = {\n type: 'orderLists1
',\n status: this.orderStatus,\n isGet: this.isGet || \"\" //是否强制更新接口\n\n };\n var isOrderSn = 0;\n\n if (this.order_sn.length == 14 && Number(this.order_sn)) {\n isOrderSn = 1;\n }\n\n if (isOrderSn) {\n datap.order_sn = this.order_sn;\n } else {\n if (this.order_sn) {\n datap.sku_name = this.order_sn;\n }\n }\n\n this.$store.dispatch(datap);\n }\n },\n components: {\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/user/shiplist.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.2.2@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.5@vue-loader/lib??vue-loader-options"
);
/***/
}),
...
...
view/app.js
View file @
74d48874
...
...
@@ -4805,7 +4805,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.12@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.12@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../api/index */ \"./src/api/index.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.11.2@vant/es/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../util */ \"./src/util/index.js\");\n\n\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_4__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_6__[\"Dialog\"]);\n\nvar qs = __webpack_require__(/*! qs */ \"./node_modules/_qs@6.9.4@qs/lib/index.js\");\n\nvar state = {\n loading: false,\n lists: {},\n currentList: [],\n pdf: \"\",\n isUpdateList: false,\n againBuy: {\n total: 0,\n isShow: 0,\n data: []\n }\n};\nvar mutations = {\n orderLists: function orderLists(state, payload) {\n state.lists[payload.status] = payload.data;\n state.currentList = payload.data;\n }\n};\nvar actions = {\n //再次购买\n rebuy: function rebuy(_ref, payload) {\n var commit = _ref.commit;\n state.loading = true;\n var params = {\n order_id: payload.order_id\n };\n
state.againBuy.isShow = 0;\n
_api_index__WEBPACK_IMPORTED_MODULE_5__[\"services\"].rebuy(qs.stringify(params)).then(function (res) {\n state.loading = false;\n\n if (res.data.err_code == 0) {\n var total = Number(res.data.data.count);\n var sucCount = Number(res.data.data.success);\n\n if (total == sucCount) {\n //全部购买成功\n state.againBuy.isShow = 1;\n console.log(state.againBuy);\n return;\n }\n\n if (sucCount == 0) {\n //全部购买失败\n state.againBuy.isShow = 3;\n return;\n }\n\n state.againBuy.isShow = 2;\n state.againBuy.data = res.data.data.fail;\n state.againBuy.total = total;\n }\n }).catch(function (err) {\n state.loading = false;\n });\n },\n //取消订单\n orderCancel: function orderCancel(_ref2, payload) {\n var commit = _ref2.commit;\n state.loading = true;\n var params = {\n id: payload.order_id\n };\n _api_index__WEBPACK_IMPORTED_MODULE_5__[\"services\"].orderCancel(qs.stringify(params)).then(function (res) {\n state.loading = false;\n Object(vant__WEBPACK_IMPORTED_MODULE_6__[\"Toast\"])(res.data.err_msg);\n\n if (res.data.err_code == 0) {\n state.isUpdateList = true;\n }\n }).catch(function (err) {\n state.loading = false;\n });\n },\n //确认收货\n sureSend: function sureSend(_ref3, payload) {\n var commit = _ref3.commit;\n state.loading = true;\n var params = {\n order_id: payload.order_id\n };\n _api_index__WEBPACK_IMPORTED_MODULE_5__[\"services\"].sureSend(qs.stringify(params)).then(function (res) {\n state.loading = false;\n Object(vant__WEBPACK_IMPORTED_MODULE_6__[\"Toast\"])(res.data.err_msg);\n\n if (res.data.err_code == 0) {\n state.isUpdateList = true;\n }\n }).catch(function (err) {\n state.loading = false;\n });\n },\n //提醒发货\n sendTips: function sendTips(_ref4, payload) {\n var commit = _ref4.commit;\n state.loading = true;\n var params = {\n order_sn: payload.order_sn,\n user_id: payload.user_id\n };\n _api_index__WEBPACK_IMPORTED_MODULE_5__[\"services\"].sendTips(qs.stringify(params)).then(function (res) {\n state.loading = false;\n Object(vant__WEBPACK_IMPORTED_MODULE_6__[\"Toast\"])(res.data.err_msg);\n }).catch(function (err) {\n state.loading = false;\n });\n },\n //检测订单PDF\n orderDownPdf: function orderDownPdf(_ref5, payload) {\n var commit = _ref5.commit;\n state.loading = true;\n var params = {\n id: payload.id\n };\n _api_index__WEBPACK_IMPORTED_MODULE_5__[\"services\"].checkPdf(qs.stringify(params)).then(function (res) {\n state.loading = false;\n\n if (res.data.err_code == 0) {\n //可以下载\n window.location.href = _api_index__WEBPACK_IMPORTED_MODULE_5__[\"productionUrlApi\"] + \"contract/pdf?id=\" + payload.id + \"&pf=\" + lxpf;\n } else {\n vant__WEBPACK_IMPORTED_MODULE_6__[\"Dialog\"].confirm({\n message: '还没完善公司信息,你确定要去完善公司信息吗?'\n }).then(function () {\n // on confirm\n window.location.href = window.location.origin + \"/h5/view/#/userInfo?orderPage=1\";\n }).catch(function () {// on cancel\n });\n }\n }).catch(function (err) {\n state.loading = false;\n });\n },\n //获取订单列表\n orderLists: function orderLists(_ref6, payload) {\n var commit = _ref6.commit;\n\n //当前状态数据加载过 且没有强制更新\n //参数变动 数据清空\n if (payload.isGet) {\n this.state.lists = {};\n }\n\n if (state.lists[payload.status] && !payload.isGet) {\n //已经加载过\n state.currentList = state.lists[payload.status];\n return;\n }\n\n state.loading = true;\n var params = {\n p: 1,\n limit: 100\n };\n Object.keys(payload).forEach(function (item) {\n if (item != \"type\" && item != \"isGet\") {\n params[item] = payload[item];\n }\n });\n _api_index__WEBPACK_IMPORTED_MODULE_5__[\"services\"].orderLists(qs.stringify(params)).then(function (res) {\n var data = res.data;\n state.loading = false;\n state.isUpdateList = false;\n commit(\"orderLists\", {\n data: data.data.list || [],\n status: payload.status\n });\n }).catch(function (err) {\n state.loading = false;\n });\n }\n};\nvar getters = {};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n state: state,\n mutations: mutations,\n actions: actions,\n getters: getters\n});\n\n//# sourceURL=webpack:///./src/store/modules/user/order.js?"
);
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.12@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.12@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../api/index */ \"./src/api/index.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.11.2@vant/es/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../util */ \"./src/util/index.js\");\n\n\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_4__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_6__[\"Dialog\"]);\n\nvar qs = __webpack_require__(/*! qs */ \"./node_modules/_qs@6.9.4@qs/lib/index.js\");\n\nvar state = {\n loading: false,\n lists: {},\n currentList: [],\n pdf: \"\",\n isUpdateList: false,\n againBuy: {\n total: 0,\n isShow: 0,\n data: []\n }\n};\nvar mutations = {\n orderLists: function orderLists(state, payload) {\n state.lists[payload.status] = payload.data;\n state.currentList = payload.data;\n }\n};\nvar actions = {\n //再次购买\n rebuy: function rebuy(_ref, payload) {\n var commit = _ref.commit;\n state.loading = true;\n var params = {\n order_id: payload.order_id\n };\n _api_index__WEBPACK_IMPORTED_MODULE_5__[\"services\"].rebuy(qs.stringify(params)).then(function (res) {\n state.loading = false;\n\n if (res.data.err_code == 0) {\n var total = Number(res.data.data.count);\n var sucCount = Number(res.data.data.success);\n\n if (total == sucCount) {\n //全部购买成功\n state.againBuy.isShow = 1;\n console.log(state.againBuy);\n return;\n }\n\n if (sucCount == 0) {\n //全部购买失败\n state.againBuy.isShow = 3;\n return;\n }\n\n state.againBuy.isShow = 2;\n state.againBuy.data = res.data.data.fail;\n state.againBuy.total = total;\n }\n }).catch(function (err) {\n state.loading = false;\n });\n },\n //取消订单\n orderCancel: function orderCancel(_ref2, payload) {\n var commit = _ref2.commit;\n state.loading = true;\n var params = {\n id: payload.order_id\n };\n _api_index__WEBPACK_IMPORTED_MODULE_5__[\"services\"].orderCancel(qs.stringify(params)).then(function (res) {\n state.loading = false;\n Object(vant__WEBPACK_IMPORTED_MODULE_6__[\"Toast\"])(res.data.err_msg);\n\n if (res.data.err_code == 0) {\n state.isUpdateList = true;\n }\n }).catch(function (err) {\n state.loading = false;\n });\n },\n //确认收货\n sureSend: function sureSend(_ref3, payload) {\n var commit = _ref3.commit;\n state.loading = true;\n var params = {\n order_id: payload.order_id\n };\n _api_index__WEBPACK_IMPORTED_MODULE_5__[\"services\"].sureSend(qs.stringify(params)).then(function (res) {\n state.loading = false;\n Object(vant__WEBPACK_IMPORTED_MODULE_6__[\"Toast\"])(res.data.err_msg);\n\n if (res.data.err_code == 0) {\n state.isUpdateList = true;\n }\n }).catch(function (err) {\n state.loading = false;\n });\n },\n //提醒发货\n sendTips: function sendTips(_ref4, payload) {\n var commit = _ref4.commit;\n state.loading = true;\n var params = {\n order_sn: payload.order_sn,\n user_id: payload.user_id\n };\n _api_index__WEBPACK_IMPORTED_MODULE_5__[\"services\"].sendTips(qs.stringify(params)).then(function (res) {\n state.loading = false;\n Object(vant__WEBPACK_IMPORTED_MODULE_6__[\"Toast\"])(res.data.err_msg);\n }).catch(function (err) {\n state.loading = false;\n });\n },\n //检测订单PDF\n orderDownPdf: function orderDownPdf(_ref5, payload) {\n var commit = _ref5.commit;\n state.loading = true;\n var params = {\n id: payload.id\n };\n _api_index__WEBPACK_IMPORTED_MODULE_5__[\"services\"].checkPdf(qs.stringify(params)).then(function (res) {\n state.loading = false;\n\n if (res.data.err_code == 0) {\n //可以下载\n window.location.href = _api_index__WEBPACK_IMPORTED_MODULE_5__[\"productionUrlApi\"] + \"contract/pdf?id=\" + payload.id + \"&pf=\" + lxpf;\n } else {\n vant__WEBPACK_IMPORTED_MODULE_6__[\"Dialog\"].confirm({\n message: '还没完善公司信息,你确定要去完善公司信息吗?'\n }).then(function () {\n // on confirm\n window.location.href = window.location.origin + \"/h5/view/#/userInfo?orderPage=1\";\n }).catch(function () {// on cancel\n });\n }\n }).catch(function (err) {\n state.loading = false;\n });\n },\n //获取订单列表\n orderLists: function orderLists(_ref6, payload) {\n var commit = _ref6.commit;\n\n //当前状态数据加载过 且没有强制更新\n //参数变动 数据清空\n if (payload.isGet) {\n this.state.lists = {};\n }\n\n if (state.lists[payload.status] && !payload.isGet) {\n //已经加载过\n state.currentList = state.lists[payload.status];\n return;\n }\n\n state.loading = true;\n var params = {\n p: 1,\n limit: 100\n };\n Object.keys(payload).forEach(function (item) {\n if (item != \"type\" && item != \"isGet\") {\n params[item] = payload[item];\n }\n });\n _api_index__WEBPACK_IMPORTED_MODULE_5__[\"services\"].orderLists(qs.stringify(params)).then(function (res) {\n var data = res.data;\n state.loading = false;\n state.isUpdateList = false;\n commit(\"orderLists\", {\n data: data.data.list || [],\n status: payload.status\n });\n }).catch(function (err) {\n state.loading = false;\n });\n }\n};\nvar getters = {};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n state: state,\n mutations: mutations,\n actions: actions,\n getters: getters\n});\n\n//# sourceURL=webpack:///./src/store/modules/user/order.js?"
);
/***/
}),
...
...
@@ -4821,6 +4821,18 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
/***/
}),
/***/
"./src/store/modules/user/shiplist.js"
:
/*!********************************************!*\
!*** ./src/store/modules/user/shiplist.js ***!
\********************************************/
/*! exports provided: default */
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.12@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.12@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../api/index */ \"./src/api/index.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.11.2@vant/es/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../util */ \"./src/util/index.js\");\n\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_3__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_5__[\"Dialog\"]);\n\nvar qs = __webpack_require__(/*! qs */ \"./node_modules/_qs@6.9.4@qs/lib/index.js\");\n\nvar state = {\n loading: false,\n lists: {},\n currentList: [],\n isUpdateList: false\n};\nvar mutations = {\n orderLists: function orderLists(state, payload) {\n state.lists[payload.status] = payload.data;\n state.currentList = payload.data;\n }\n};\nvar actions = {\n //确认收货\n sureSend1: function sureSend1(_ref, payload) {\n var commit = _ref.commit;\n state.loading = true;\n var params = {\n order_id: payload.order_id\n };\n _api_index__WEBPACK_IMPORTED_MODULE_4__[\"services\"].sureSend(qs.stringify(params)).then(function (res) {\n state.loading = false;\n Object(vant__WEBPACK_IMPORTED_MODULE_5__[\"Toast\"])(res.data.err_msg);\n\n if (res.data.err_code == 0) {\n state.isUpdateList = true;\n }\n }).catch(function (err) {\n state.loading = false;\n });\n },\n //获取订单列表\n orderLists1: function orderLists1(_ref2, payload) {\n var commit = _ref2.commit;\n\n //当前状态数据加载过 且没有强制更新\n //参数变动 数据清空\n if (payload.isGet) {\n this.state.lists = {};\n }\n\n if (state.lists[payload.status] && !payload.isGet) {\n //已经加载过\n state.currentList = state.lists[payload.status];\n return;\n }\n\n state.loading = true;\n var params = {\n p: 1,\n limit: 100\n };\n Object.keys(payload).forEach(function (item) {\n if (item != \"type\" && item != \"isGet\") {\n params[item] = payload[item];\n }\n });\n _api_index__WEBPACK_IMPORTED_MODULE_4__[\"services\"].orderLists(qs.stringify(params)).then(function (res) {\n var data = res.data;\n state.loading = false;\n state.isUpdateList = false;\n commit(\"orderLists\", {\n data: data.data.list || [],\n status: payload.status\n });\n }).catch(function (err) {\n state.loading = false;\n });\n }\n};\nvar getters = {};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n state: state,\n mutations: mutations,\n actions: actions,\n getters: getters\n});\n\n//# sourceURL=webpack:///./src/store/modules/user/shiplist.js?"
);
/***/
}),
/***/
"./src/store/modules/user/shipping.js"
:
/*!********************************************!*\
!*** ./src/store/modules/user/shipping.js ***!
...
...
@@ -4889,7 +4901,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.12@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.6.0@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _modules_wallet_wallet__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./modules/wallet/wallet */ \"./src/store/modules/wallet/wallet.js\");\n/* harmony import */ var _modules_home__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./modules/home */ \"./src/store/modules/home.js\");\n/* harmony import */ var _modules_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./modules/common */ \"./src/store/modules/common.js\");\n/* harmony import */ var _modules_smt_index__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./modules/smt/index */ \"./src/store/modules/smt/index.js\");\n/* harmony import */ var _modules_wxlist_wxlist__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./modules/wxlist/wxlist */ \"./src/store/modules/wxlist/wxlist.js\");\n/* harmony import */ var _modules_news_index__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./modules/news/index */ \"./src/store/modules/news/index.js\");\n/* harmony import */ var _modules_news_detail__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./modules/news/detail */ \"./src/store/modules/news/detail.js\");\n/* harmony import */ var _modules_seo_index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./modules/seo/index */ \"./src/store/modules/seo/index.js\");\n/* harmony import */ var _modules_findthing_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./modules/findthing/index */ \"./src/store/modules/findthing/index.js\");\n/* harmony import */ var _modules_pointmall_index__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./modules/pointmall/index */ \"./src/store/modules/pointmall/index.js\");\n/* harmony import */ var _modules_pointmall_pointchange__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./modules/pointmall/pointchange */ \"./src/store/modules/pointmall/pointchange.js\");\n/* harmony import */ var _modules_pointmall_pointrule__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./modules/pointmall/pointrule */ \"./src/store/modules/pointmall/pointrule.js\");\n/* harmony import */ var _modules_pointmall_pointdetail__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./modules/pointmall/pointdetail */ \"./src/store/modules/pointmall/pointdetail.js\");\n/* harmony import */ var _modules_pointmall_exchange__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./modules/pointmall/exchange */ \"./src/store/modules/pointmall/exchange.js\");\n/* harmony import */ var _modules_aboutUs_index__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./modules/aboutUs/index */ \"./src/store/modules/aboutUs/index.js\");\n/* harmony import */ var _modules_chain_chain__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./modules/chain/chain */ \"./src/store/modules/chain/chain.js\");\n/* harmony import */ var _modules_xianhuo_xianhuo__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./modules/xianhuo/xianhuo */ \"./src/store/modules/xianhuo/xianhuo.js\");\n/* harmony import */ var _modules_lxshop_lxshop__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./modules/lxshop/lxshop */ \"./src/store/modules/lxshop/lxshop.js\");\n/* harmony import */ var _modules_gooddetail_gooddetail__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./modules/gooddetail/gooddetail */ \"./src/store/modules/gooddetail/gooddetail.js\");\n/* harmony import */ var _modules_car_index__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./modules/car/index */ \"./src/store/modules/car/index.js\");\n/* harmony import */ var _modules_user_index__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./modules/user/index */ \"./src/store/modules/user/index.js\");\n/* harmony import */ var _modules_user_coupon__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./modules/user/coupon */ \"./src/store/modules/user/coupon.js\");\n/* harmony import */ var _modules_user_userInfo__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./modules/user/userInfo */ \"./src/store/modules/user/userInfo.js\");\n/* harmony import */ var _modules_user_order__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./modules/user/order */ \"./src/store/modules/user/order.js\");\n/* harmony import */ var _modules_user_
orderDetail__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./modules/user/orderDetail */ \"./src/store/modules/user/orderDetail.js\");\n/* harmony import */ var _modules_user_message__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./modules/user/message */ \"./src/store/modules/user/message.js\");\n/* harmony import */ var _modules_user_shipping__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./modules/user/shipping */ \"./src/store/modules/user/shipping.js\");\n/* harmony import */ var _modules_user_inqueryList__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./modules/user/inqueryList */ \"./src/store/modules/user/inqueryList.js\");\n/* harmony import */ var _modules_user_address__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./modules/user/address */ \"./src/store/modules/user/address.js\");\n/* harmony import */ var _modules_history_history__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./modules/history/history */ \"./src/store/modules/history/history.js\");\n/* harmony import */ var _modules_brand_brand__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./modules/brand/brand */ \"./src/store/modules/brand/brand.js\");\n/* harmony import */ var _modules_rank_index__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./modules/rank/index */ \"./src/store/modules/rank/index.js\");\n/* harmony import */ var _modules_download_index__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./modules/download/index */ \"./src/store/modules/download/index.js\");\n/* harmony import */ var _modules_sample_index__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./modules/sample/index */ \"./src/store/modules/sample/index.js\");\n/* harmony import */ var _modules_sample_sampleapply__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./modules/sample/sampleapply */ \"./src/store/modules/sample/sampleapply.js\");\n/* harmony import */ var _modules_special_index__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./modules/special/index */ \"./src/store/modules/special/index.js\");\n/* harmony import */ var _modules_oscilloscope_index__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./modules/oscilloscope/index */ \"./src/store/modules/oscilloscope/index.js\");\n/* harmony import */ var _modules_user_inquiry__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./modules/user/inquiry */ \"./src/store/modules/user/inquiry.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vuex__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = (new vuex__WEBPACK_IMPORTED_MODULE_1__[\"default\"].Store({\n modules: {\n wallet: _modules_wallet_wallet__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n home: _modules_home__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n common: _modules_common__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n smt: _modules_smt_index__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n wxlist: _modules_wxlist_wxlist__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n news: _modules_news_index__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n newsdetail: _modules_news_detail__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n seo: _modules_seo_index__WEBPACK_IMPORTED_MODULE_9__[\"default\"],\n findthing: _modules_findthing_index__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n pointmall: _modules_pointmall_index__WEBPACK_IMPORTED_MODULE_11__[\"default\"],\n pointchange: _modules_pointmall_pointchange__WEBPACK_IMPORTED_MODULE_12__[\"default\"],\n pointrule: _modules_pointmall_pointrule__WEBPACK_IMPORTED_MODULE_13__[\"default\"],\n pointdetail: _modules_pointmall_pointdetail__WEBPACK_IMPORTED_MODULE_14__[\"default\"],\n exchange: _modules_pointmall_exchange__WEBPACK_IMPORTED_MODULE_15__[\"default\"],\n aboutus: _modules_aboutUs_index__WEBPACK_IMPORTED_MODULE_16__[\"default\"],\n chain: _modules_chain_chain__WEBPACK_IMPORTED_MODULE_17__[\"default\"],\n xianhuo: _modules_xianhuo_xianhuo__WEBPACK_IMPORTED_MODULE_18__[\"default\"],\n lxshop: _modules_lxshop_lxshop__WEBPACK_IMPORTED_MODULE_19__[\"default\"],\n gooddetail: _modules_gooddetail_gooddetail__WEBPACK_IMPORTED_MODULE_20__[\"default\"],\n car: _modules_car_index__WEBPACK_IMPORTED_MODULE_21__[\"default\"],\n user: _modules_user_index__WEBPACK_IMPORTED_MODULE_22__[\"default\"],\n userInfo: _modules_user_userInfo__WEBPACK_IMPORTED_MODULE_24__[\"default\"],\n shipping: _modules_user_shipping__WEBPACK_IMPORTED_MODULE_28__[\"default\"],\n inqueryList: _modules_user_inqueryList__WEBPACK_IMPORTED_MODULE_29__[\"default\"],\n coupon: _modules_user_coupon__WEBPACK_IMPORTED_MODULE_23__[\"default\"],\n address: _modules_user_address__WEBPACK_IMPORTED_MODULE_30__[\"default\"],\n userOrder: _modules_user_order__WEBPACK_IMPORTED_MODULE_25__[\"default\"],\n orderDetail: _modules_user_orderDetail__WEBPACK_IMPORTED_MODULE_26__[\"default\"],\n message: _modules_user_message__WEBPACK_IMPORTED_MODULE_27__[\"default\"],\n history: _modules_history_history__WEBPACK_IMPORTED_MODULE_31__[\"default\"],\n brand: _modules_brand_brand__WEBPACK_IMPORTED_MODULE_32__[\"default\"],\n rank: _modules_rank_index__WEBPACK_IMPORTED_MODULE_33__[\"default\"],\n download: _modules_download_index__WEBPACK_IMPORTED_MODULE_34__[\"default\"],\n sample: _modules_sample_index__WEBPACK_IMPORTED_MODULE_35__[\"default\"],\n sampleapply: _modules_sample_sampleapply__WEBPACK_IMPORTED_MODULE_36__[\"default\"],\n special: _modules_special_index__WEBPACK_IMPORTED_MODULE_37__[\"default\"],\n oscilloscope: _modules_oscilloscope_index__WEBPACK_IMPORTED_MODULE_38__[\"default\"],\n inquiry: _modules_user_inquiry__WEBPACK_IMPORTED_MODULE_39
__[\"default\"]\n }\n}));\n\n//# sourceURL=webpack:///./src/store/store.js?"
);
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.12@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.6.0@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _modules_wallet_wallet__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./modules/wallet/wallet */ \"./src/store/modules/wallet/wallet.js\");\n/* harmony import */ var _modules_home__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./modules/home */ \"./src/store/modules/home.js\");\n/* harmony import */ var _modules_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./modules/common */ \"./src/store/modules/common.js\");\n/* harmony import */ var _modules_smt_index__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./modules/smt/index */ \"./src/store/modules/smt/index.js\");\n/* harmony import */ var _modules_wxlist_wxlist__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./modules/wxlist/wxlist */ \"./src/store/modules/wxlist/wxlist.js\");\n/* harmony import */ var _modules_news_index__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./modules/news/index */ \"./src/store/modules/news/index.js\");\n/* harmony import */ var _modules_news_detail__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./modules/news/detail */ \"./src/store/modules/news/detail.js\");\n/* harmony import */ var _modules_seo_index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./modules/seo/index */ \"./src/store/modules/seo/index.js\");\n/* harmony import */ var _modules_findthing_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./modules/findthing/index */ \"./src/store/modules/findthing/index.js\");\n/* harmony import */ var _modules_pointmall_index__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./modules/pointmall/index */ \"./src/store/modules/pointmall/index.js\");\n/* harmony import */ var _modules_pointmall_pointchange__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./modules/pointmall/pointchange */ \"./src/store/modules/pointmall/pointchange.js\");\n/* harmony import */ var _modules_pointmall_pointrule__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./modules/pointmall/pointrule */ \"./src/store/modules/pointmall/pointrule.js\");\n/* harmony import */ var _modules_pointmall_pointdetail__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./modules/pointmall/pointdetail */ \"./src/store/modules/pointmall/pointdetail.js\");\n/* harmony import */ var _modules_pointmall_exchange__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./modules/pointmall/exchange */ \"./src/store/modules/pointmall/exchange.js\");\n/* harmony import */ var _modules_aboutUs_index__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./modules/aboutUs/index */ \"./src/store/modules/aboutUs/index.js\");\n/* harmony import */ var _modules_chain_chain__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./modules/chain/chain */ \"./src/store/modules/chain/chain.js\");\n/* harmony import */ var _modules_xianhuo_xianhuo__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./modules/xianhuo/xianhuo */ \"./src/store/modules/xianhuo/xianhuo.js\");\n/* harmony import */ var _modules_lxshop_lxshop__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./modules/lxshop/lxshop */ \"./src/store/modules/lxshop/lxshop.js\");\n/* harmony import */ var _modules_gooddetail_gooddetail__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./modules/gooddetail/gooddetail */ \"./src/store/modules/gooddetail/gooddetail.js\");\n/* harmony import */ var _modules_car_index__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./modules/car/index */ \"./src/store/modules/car/index.js\");\n/* harmony import */ var _modules_user_index__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./modules/user/index */ \"./src/store/modules/user/index.js\");\n/* harmony import */ var _modules_user_coupon__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./modules/user/coupon */ \"./src/store/modules/user/coupon.js\");\n/* harmony import */ var _modules_user_userInfo__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./modules/user/userInfo */ \"./src/store/modules/user/userInfo.js\");\n/* harmony import */ var _modules_user_order__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./modules/user/order */ \"./src/store/modules/user/order.js\");\n/* harmony import */ var _modules_user_
shiplist__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./modules/user/shiplist */ \"./src/store/modules/user/shiplist.js\");\n/* harmony import */ var _modules_user_orderDetail__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./modules/user/orderDetail */ \"./src/store/modules/user/orderDetail.js\");\n/* harmony import */ var _modules_user_message__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./modules/user/message */ \"./src/store/modules/user/message.js\");\n/* harmony import */ var _modules_user_shipping__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./modules/user/shipping */ \"./src/store/modules/user/shipping.js\");\n/* harmony import */ var _modules_user_inqueryList__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./modules/user/inqueryList */ \"./src/store/modules/user/inqueryList.js\");\n/* harmony import */ var _modules_user_address__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./modules/user/address */ \"./src/store/modules/user/address.js\");\n/* harmony import */ var _modules_history_history__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./modules/history/history */ \"./src/store/modules/history/history.js\");\n/* harmony import */ var _modules_brand_brand__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./modules/brand/brand */ \"./src/store/modules/brand/brand.js\");\n/* harmony import */ var _modules_rank_index__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./modules/rank/index */ \"./src/store/modules/rank/index.js\");\n/* harmony import */ var _modules_download_index__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./modules/download/index */ \"./src/store/modules/download/index.js\");\n/* harmony import */ var _modules_sample_index__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./modules/sample/index */ \"./src/store/modules/sample/index.js\");\n/* harmony import */ var _modules_sample_sampleapply__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./modules/sample/sampleapply */ \"./src/store/modules/sample/sampleapply.js\");\n/* harmony import */ var _modules_special_index__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./modules/special/index */ \"./src/store/modules/special/index.js\");\n/* harmony import */ var _modules_oscilloscope_index__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./modules/oscilloscope/index */ \"./src/store/modules/oscilloscope/index.js\");\n/* harmony import */ var _modules_user_inquiry__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./modules/user/inquiry */ \"./src/store/modules/user/inquiry.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vuex__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = (new vuex__WEBPACK_IMPORTED_MODULE_1__[\"default\"].Store({\n modules: {\n wallet: _modules_wallet_wallet__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n home: _modules_home__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n common: _modules_common__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n smt: _modules_smt_index__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n wxlist: _modules_wxlist_wxlist__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n news: _modules_news_index__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n newsdetail: _modules_news_detail__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n seo: _modules_seo_index__WEBPACK_IMPORTED_MODULE_9__[\"default\"],\n findthing: _modules_findthing_index__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n pointmall: _modules_pointmall_index__WEBPACK_IMPORTED_MODULE_11__[\"default\"],\n pointchange: _modules_pointmall_pointchange__WEBPACK_IMPORTED_MODULE_12__[\"default\"],\n pointrule: _modules_pointmall_pointrule__WEBPACK_IMPORTED_MODULE_13__[\"default\"],\n pointdetail: _modules_pointmall_pointdetail__WEBPACK_IMPORTED_MODULE_14__[\"default\"],\n exchange: _modules_pointmall_exchange__WEBPACK_IMPORTED_MODULE_15__[\"default\"],\n aboutus: _modules_aboutUs_index__WEBPACK_IMPORTED_MODULE_16__[\"default\"],\n chain: _modules_chain_chain__WEBPACK_IMPORTED_MODULE_17__[\"default\"],\n xianhuo: _modules_xianhuo_xianhuo__WEBPACK_IMPORTED_MODULE_18__[\"default\"],\n lxshop: _modules_lxshop_lxshop__WEBPACK_IMPORTED_MODULE_19__[\"default\"],\n gooddetail: _modules_gooddetail_gooddetail__WEBPACK_IMPORTED_MODULE_20__[\"default\"],\n car: _modules_car_index__WEBPACK_IMPORTED_MODULE_21__[\"default\"],\n user: _modules_user_index__WEBPACK_IMPORTED_MODULE_22__[\"default\"],\n userInfo: _modules_user_userInfo__WEBPACK_IMPORTED_MODULE_24__[\"default\"],\n shipping: _modules_user_shipping__WEBPACK_IMPORTED_MODULE_29__[\"default\"],\n inqueryList: _modules_user_inqueryList__WEBPACK_IMPORTED_MODULE_30__[\"default\"],\n coupon: _modules_user_coupon__WEBPACK_IMPORTED_MODULE_23__[\"default\"],\n address: _modules_user_address__WEBPACK_IMPORTED_MODULE_31__[\"default\"],\n userOrder: _modules_user_order__WEBPACK_IMPORTED_MODULE_25__[\"default\"],\n shiplist: _modules_user_shiplist__WEBPACK_IMPORTED_MODULE_26__[\"default\"],\n orderDetail: _modules_user_orderDetail__WEBPACK_IMPORTED_MODULE_27__[\"default\"],\n message: _modules_user_message__WEBPACK_IMPORTED_MODULE_28__[\"default\"],\n history: _modules_history_history__WEBPACK_IMPORTED_MODULE_32__[\"default\"],\n brand: _modules_brand_brand__WEBPACK_IMPORTED_MODULE_33__[\"default\"],\n rank: _modules_rank_index__WEBPACK_IMPORTED_MODULE_34__[\"default\"],\n download: _modules_download_index__WEBPACK_IMPORTED_MODULE_35__[\"default\"],\n sample: _modules_sample_index__WEBPACK_IMPORTED_MODULE_36__[\"default\"],\n sampleapply: _modules_sample_sampleapply__WEBPACK_IMPORTED_MODULE_37__[\"default\"],\n special: _modules_special_index__WEBPACK_IMPORTED_MODULE_38__[\"default\"],\n oscilloscope: _modules_oscilloscope_index__WEBPACK_IMPORTED_MODULE_39__[\"default\"],\n inquiry: _modules_user_inquiry__WEBPACK_IMPORTED_MODULE_40
__[\"default\"]\n }\n}));\n\n//# sourceURL=webpack:///./src/store/store.js?"
);
/***/
}),
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment