Commit 0a16dd0d authored by jingnan's avatar jingnan 👀

指令标识维护界面定额工时当前登陆者为管理员或者编制者的时候可以编辑

parent bd2bbc67
......@@ -304,7 +304,8 @@ export default {
stateOption: [],
nodeData: {},
level: null,
loginUser: localStorage.getItem('userId')
loginUser: localStorage.getItem('userId'),
loginUserName: localStorage.getItem('user')
}
},
created() {
......@@ -763,7 +764,8 @@ export default {
})
}
}
if (this.loginUser !== '1') return
if (column.property === 'firstCheckFlag' && this.loginUser !== '1') return
if (column.property === 'countWorkHour' && this.loginUserName !== row.userName && this.loginUser !== '1') return
var that = this
if (column.property === 'firstCheckFlag') {
row.firstCheckFlagSelect = true
......
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