|
@@ -327,6 +327,7 @@ export default {
|
|
|
},
|
|
|
screenWidth: 0, // 存储当前屏幕的宽度
|
|
|
multipleSize: 0, // 根据屏幕宽度计算得出的值
|
|
|
+ departmentid:JSON.parse(sessionStorage.getItem('accountinfo')).hr.departmentid
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
@@ -411,6 +412,7 @@ export default {
|
|
|
},
|
|
|
async listData() {
|
|
|
this.param.content.title = this.mainData.title;
|
|
|
+ this.param.content.dataid = this.departmentid;
|
|
|
const res = await this.$api.requested(this.param);
|
|
|
this.list = res.data.data;
|
|
|
this.allhr = res.data.allhr;
|