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