Files
car_client_app/store/getters.js
2024-01-18 20:32:15 +08:00

39 lines
1.5 KiB
JavaScript

const getters = {
token: state => state.user.token,
avatar: state => state.user.avatar,
name: state => state.user.name,
sex: state => state.user.sex,
nickname: state => state.user.nickname,
phonenumber: state => state.user.phonenumber,
birthDay: state => state.user.birthDay,
roles: state => state.user.roles,
permissions: state => state.user.permissions,
btnState: state => state.pageManager.btnState,
saveForm: state => state.form.saveForm,
packageForm: state => state.form.packageForm,
projectList: state => state.form.projectList,
accessoryList: state=> state.form.accessoryList,
workingHours: state => state.form.workingHours,
garage: state => state.form.garage,
materialRequisition: state => state.form.materialRequisition,
checkIds: state => state.tools.checkIds,
orderIds: state => state.tools.orderIds,
citySave: state => state.tools.citySave,
selectCity: state => state.tools.selectCity,
homenum: state => state.tools.homenum,
carNo: state => state.tools.carNo,
setupnum: state => state.tools.setupnum,
merId: state => state.tools.merId,
orderInfo: state => state.tools.orderInfo,
workingDay: state => state.tools.workingDay,
workingTime: state => state.tools.workingTime,
userInfo: state => state.user.userInfo,
merchantList:state=>state.tools.merchantList,
cardId:state=>state.tools.cardId,
storeIds:state=>state.tools.storeIds,
storeId:state=>state.tools.storeId,
goorderinfo:state=>state.tools.goorderinfo,
cardmoney:state=>state.tools.cardmoney,
}
export default getters