From 5071cbf55bd73b6d7bb61421fe618666c537a4e2 Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期四, 19 十月 2023 09:34:43 +0800 Subject: [PATCH] 司机增加退单功能 增加积分功能 其他页面修改 --- store/index.js | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/store/index.js b/store/index.js index fd6fdcb..bd9cb60 100644 --- a/store/index.js +++ b/store/index.js @@ -147,12 +147,11 @@ wsgContent: '', globalIsFirstWeighing: 1, //鏄惁鏄涓�娆′笂纾� confirmWeighVisiable: false, //纾呮埧绠$悊纭绉伴噸瀹屾垚鎻愮ず寮圭獥 - confirmWeighContent: '' + confirmWeighContent: '', + // 绉伴噸绋冲畾鎬� 0/绋冲畾 1/闈炵ǔ瀹� 闈炵ǔ瀹氭�佷笉鑳界偣绉伴噸 + globalWarning: false, }, mutations: { - lengthchange(state, payload) { - state.fleetDriverDataLength = payload - }, setUserInfo(state, identity) { state.userInfo = userObj[identity] }, @@ -244,7 +243,11 @@ }, changeconfirmWeighContent(state, payload) { state.confirmWeighContent = payload - } + }, + // 鏀瑰彉绋冲畾鎬� + changeWarning(state, payload) { + state.globalWarning = payload + }, }, actions: { websocketInit({ state, dispatch, commit }) { -- Gitblit v1.9.1