diff --git a/src/store/getters.js b/src/store/getters.js index 5eecce6..38eed28 100644 --- a/src/store/getters.js +++ b/src/store/getters.js @@ -2,6 +2,7 @@ sidebar: state => state.app.sidebar, // 侧边栏 device: state => state.app.device, // 设备 version: state => state.app.version, // app版本 + overtimeModule: state => state.app.overtimeModule, // 是否开启超时工单功能 kaptcha: state => state.app.kaptcha, // 验证码 publicKey: state => state.app.publicKey, // 公钥 sid: state => state.app.sid, // sid @@ -20,7 +21,7 @@ permission_routers: state => state.permission.routers, // 用户有权限的路由 addRouters: state => state.permission.addRouters, // 添加的路由 btns: state => state.permission.btns, // 用户所有的按钮权限 - wellTypes: state => state.user.wellTypes, // 用户支持的闸井类型 + wellTypes: state => state.user.wellTypes, // 用户支持的窨井类型 deviceTypes: state => state.user.deviceTypes, // 用户支持的设备类型 communications: state => state.user.communications, // 用户支持的通讯方式 area: state => state.user.area // 用户所在区域 diff --git a/src/store/getters.js b/src/store/getters.js index 5eecce6..38eed28 100644 --- a/src/store/getters.js +++ b/src/store/getters.js @@ -2,6 +2,7 @@ sidebar: state => state.app.sidebar, // 侧边栏 device: state => state.app.device, // 设备 version: state => state.app.version, // app版本 + overtimeModule: state => state.app.overtimeModule, // 是否开启超时工单功能 kaptcha: state => state.app.kaptcha, // 验证码 publicKey: state => state.app.publicKey, // 公钥 sid: state => state.app.sid, // sid @@ -20,7 +21,7 @@ permission_routers: state => state.permission.routers, // 用户有权限的路由 addRouters: state => state.permission.addRouters, // 添加的路由 btns: state => state.permission.btns, // 用户所有的按钮权限 - wellTypes: state => state.user.wellTypes, // 用户支持的闸井类型 + wellTypes: state => state.user.wellTypes, // 用户支持的窨井类型 deviceTypes: state => state.user.deviceTypes, // 用户支持的设备类型 communications: state => state.user.communications, // 用户支持的通讯方式 area: state => state.user.area // 用户所在区域 diff --git a/src/store/modules/app.js b/src/store/modules/app.js index f580af1..efa8fd4 100644 --- a/src/store/modules/app.js +++ b/src/store/modules/app.js @@ -11,6 +11,7 @@ publicKey: getPublicKey(), sid: '', cid: getCid(), + overtimeModule: true, pageYOffset: 0 }, mutations: {