master
yujialong 4 years ago
parent 28fd4a59d8
commit 5b6fa415a8
  1. 3
      src/components/page/Assessment.vue
  2. 3
      src/components/page/Staff.vue

@ -146,6 +146,7 @@ export default {
return { return {
name: sessionStorage.getItem('ms_username'), name: sessionStorage.getItem('ms_username'),
userId: this.$store.state.userLoginId, userId: this.$store.state.userLoginId,
roleId: this.$store.state.userRoleId.includes(',') ? 13 : Number(this.$store.state.userRoleId),
systemList: [ systemList: [
{ {
id: 1, id: 1,
@ -300,7 +301,6 @@ export default {
}, },
methods: { methods: {
getData() { getData() {
// return
let data = { let data = {
type: this.form.type, type: this.form.type,
startTime: this.form.startTime, startTime: this.form.startTime,
@ -311,6 +311,7 @@ export default {
pageNum: this.pageNo, pageNum: this.pageNo,
pageSize: this.pageSize, pageSize: this.pageSize,
userId: this.userId, userId: this.userId,
role: this.roleId
} }
this.$post(this.api.assessmentByScreen,data).then(res => { this.$post(this.api.assessmentByScreen,data).then(res => {
this.customerData = res.list.list this.customerData = res.list.list

@ -363,8 +363,7 @@ export default {
}, },
getData(){ getData(){
let data = { let data = {
// staffProfessionalArchitectureIds: this.oneDepartmentIds, staffProfessionalArchitectureIds: (this.oneDepartmentIds && this.twoDepartmentIds) ? '' : this.oneDepartmentIds,
staffProfessionalArchitectureIds: '',
staffGradeIds: this.twoDepartmentIds, staffGradeIds: this.twoDepartmentIds,
searchContent: this.encodeString(this.keyword), searchContent: this.encodeString(this.keyword),
page: this.pageNo, page: this.pageNo,

Loading…
Cancel
Save