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

页面修改

parent e7410b54
...@@ -281,7 +281,6 @@ ...@@ -281,7 +281,6 @@
multipleSelection: [], multipleSelection: [],
MoveIds: '', MoveIds: '',
currentUserInfo: {}, //当前登录用户 currentUserInfo: {}, //当前登录用户
commonAccountId: -1,
} }
}, },
created() { created() {
...@@ -298,14 +297,13 @@ ...@@ -298,14 +297,13 @@
this.IsPaperManager = true; this.IsPaperManager = true;
} }
}) })
this.commonAccountId = this.currentUserInfo.AccountId;
}, },
mounted() { mounted() {
this.getList(); this.getList();
}, },
methods: { methods: {
isRender(row) { isRender(row) {
if (row.row.CreateBy != this.commonAccountId) { if (row.row.CreateBy != this.currentUserInfo.Id) {
return 'disabled-column' return 'disabled-column'
} }
}, },
...@@ -332,7 +330,7 @@ ...@@ -332,7 +330,7 @@
var myArray = []; var myArray = [];
if (this.multipleSelection.length > 0) { if (this.multipleSelection.length > 0) {
this.multipleSelection.forEach(x => { this.multipleSelection.forEach(x => {
if (x.CreateBy == this.commonAccountId) { if (x.CreateBy == this.currentUserInfo.Id) {
myArray.push(x.PaperId); 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