Commit 837dc34e authored by 黄奎's avatar 黄奎

页面修改

parent e7410b54
......@@ -281,7 +281,6 @@
multipleSelection: [],
MoveIds: '',
currentUserInfo: {}, //当前登录用户
commonAccountId: -1,
}
},
created() {
......@@ -298,14 +297,13 @@
this.IsPaperManager = true;
}
})
this.commonAccountId = this.currentUserInfo.AccountId;
},
mounted() {
this.getList();
},
methods: {
isRender(row) {
if (row.row.CreateBy != this.commonAccountId) {
if (row.row.CreateBy != this.currentUserInfo.Id) {
return 'disabled-column'
}
},
......@@ -332,7 +330,7 @@
var myArray = [];
if (this.multipleSelection.length > 0) {
this.multipleSelection.forEach(x => {
if (x.CreateBy == this.commonAccountId) {
if (x.CreateBy == this.currentUserInfo.Id) {
myArray.push(x.PaperId);
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment