1.部门周报汇总后刷新下表格

2.全所周报管理员修改权限修复bug
This commit is contained in:
zty 2024-10-12 14:45:13 +08:00
parent 6974020e51
commit 4de1c67d02
2 changed files with 6 additions and 2 deletions

View File

@ -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);

View File

@ -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