1.部门周报汇总后刷新下表格
2.全所周报管理员修改权限修复bug
This commit is contained in:
parent
6974020e51
commit
4de1c67d02
@ -312,6 +312,7 @@
|
||||
})
|
||||
this.disabledButtons.push(row.id);
|
||||
localStorage.setItem('disabledButtons', JSON.stringify(this.disabledButtons));
|
||||
this.init()
|
||||
},
|
||||
isButtonDisabled (id) {
|
||||
return this.disabledButtons.includes(id);
|
||||
|
@ -55,7 +55,7 @@
|
||||
<el-form-item>
|
||||
<div style="float: right">
|
||||
<el-button @click="cancel()" type="default">取消</el-button>
|
||||
<el-button @click="save('formName')" type="primary" :disabled="formAll.userId !== formAll.ls[0].ext.projectAdmin">修改</el-button>
|
||||
<el-button @click="save('formName')" type="primary" :disabled="userId !== formAll.ls[0].ext.projectAdmin">修改</el-button>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
@ -74,6 +74,7 @@ import app from '../../../assets/js/common/app.js'
|
||||
import {baseUrl} from '../../../config/env.js'
|
||||
import verifyButton from '../../../components/verifyButton.vue'
|
||||
import FlowRecordTable from '../../../components/FlowRecordTable.vue'
|
||||
import {getItem} from '../../../config/mUtils'
|
||||
|
||||
export default {
|
||||
beforeRouteEnter (to, from, next) {
|
||||
@ -146,11 +147,13 @@ export default {
|
||||
canEditReimburseCategory: false, //标识是否能改报销分类
|
||||
canEditBudgetCategory: false, //标识是否能改预算类别
|
||||
isVerify: false,
|
||||
isNotVerifyReady: false // 是否未审核
|
||||
isNotVerifyReady: false, // 是否未审核
|
||||
}
|
||||
},
|
||||
created () {
|
||||
this.taskId = this.$route.params.taskId
|
||||
this.userId=getItem("userId")
|
||||
console.log("userId",this.userId)
|
||||
if (this.$route.name === 'ExpenseClaimApplyEdit') {
|
||||
this.isEdit = true
|
||||
this.flowId = this.$route.params.id
|
||||
|
Loading…
x
Reference in New Issue
Block a user