{{ dddw(resultStatus, 'id', scope.row.resultStatusId, 'dataInputPrompt') }}
diff --git a/src/store/index.js b/src/store/index.js
index b2ed906..006212d 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -7,6 +7,7 @@ Vue.use(Vuex);
export default new Vuex.Store({
state: {
+ sysConfig: { apiurl: '' }, //
changepassword: '', //用户密码
set: "qqqq",
importexcel: {
@@ -262,7 +263,7 @@ export default new Vuex.Store({
{ id: "1", displayName: "换行" },
{ id: "2", displayName: "继承项目类别换行属性" },
],
- qztlType:[
+ qztlType: [
{ id: "0", displayName: "高原" },
{ id: "1", displayName: "健康" }
],
@@ -320,7 +321,7 @@ export default new Vuex.Store({
sum_diagnosis: { S: 0, M: 0 }, // 总检诊断
sumDoctor: { S: 0, M: 0 }, // 总检--综述 触发强制刷新 (sumDoctor.M 合并包含:综述、建议、对比、历史等,不包含总检诊断)
-
+
},
//表当前数据(单条记录 S--single)
tableS: {
@@ -336,7 +337,7 @@ export default new Vuex.Store({
charge: { id: '' }, // 收费
menu_info: { id: '' }, // 菜单与页面
lis_request: { id: '' }, // 检验申请(条码)
- patient_register: { id: '', patientRegisterNo: ''}, // 体检人员记录
+ patient_register: { id: '', patientRegisterNo: '' }, // 体检人员记录
register_check_asbitem: { id: '' }, // 体检人员登记的项目(合并前)
register_check: { id: '' }, // 体检人员登记的项目(合并后)
register_check_item: { id: '' }, // 体检人员登记的明细项目
@@ -364,13 +365,13 @@ export default new Vuex.Store({
role_menu_info: [], // 角色对应的菜单
sum_diagnosis: [], // 总检诊断
},
- plus: {
- PatientRegisterEditQuery:0, // 更新查询条件
+ plus: {
+ PatientRegisterEditQuery: 0, // 更新查询条件
clearPatientRegisterQuery: 0, // 清空人员登记界面查询条件(重新赋值体检单位)
PatientRegisterEditGroupBatch: 0, // 刷新批量调整分组窗口
PatientRegisterEditItemBatch: 0, // 刷新批量调整项目窗口
- PatientRegisterForChoose:0, // 体检人员查询窗口
-
+ PatientRegisterForChoose: 0, // 体检人员查询窗口
+
}
},
diff --git a/src/views/Home.vue b/src/views/Home.vue
index 67c537b..5c1aa99 100644
--- a/src/views/Home.vue
+++ b/src/views/Home.vue
@@ -217,11 +217,7 @@ export default {
this.password = this.changepassword;
// console.log(this.password);
// console.log(this.$store.state.changepassword, "ssssssssssss");
- this.user = window.sessionStorage.getItem("user");
-
- //获取当前用户的菜单权限
- this.getUserAllPriv();
- // this.getUserMenuPriv();
+ this.user = window.sessionStorage.getItem("user");
this.LocalConfigInit = deepCopy(this.LocalConfig)
let LocalConfig = window.localStorage.getItem("LocalConfig") || null
@@ -231,6 +227,13 @@ export default {
console.log('window.localStorage.getItem("LocalConfig")', error)
}
},
+
+ mounted() {
+ //获取当前用户的菜单权限
+ this.getUserAllPriv();
+ // this.getUserMenuPriv();
+ },
+
methods: {
// 菜单操作
handleSelect(key, keyPath) {
@@ -399,7 +402,7 @@ export default {
this.$peisAPI.windowClose();
},
},
- components: { router },
+ // components: { router },
};