1.项目预算执行率增加部门名字

2.部门周报增加一个判断参数flag,用于判断当前是部门/全所周报修改
3.全所周报增加路由参数flag
This commit is contained in:
zty 2024-09-29 10:29:51 +08:00
parent b1974e3ca9
commit 6974020e51
3 changed files with 14 additions and 3 deletions

View File

@ -99,6 +99,7 @@ export default {
id: dataList[i].id,
projectNo: dataList[i].projectNo,
projectName: dataList[i].projectName,
deptName: dataList[i].deptName,
week: dataList[i].week,
budget: dataList[i].budget,
execute: dataList[i].execute,
@ -172,6 +173,11 @@ export default {
prop: 'projectName',
show: true
},
{
label: "执行部门",
prop: 'deptName',
show: true
},
{
label: '周数',
prop: 'week',

View File

@ -105,6 +105,7 @@ export default {
expandRight: false,
app: app,
reimburseId: '',
flag: '',
actionUrl: `${baseUrl}/api/common/file-upload`, //
baseUrl: baseUrl,
formAll: [],
@ -173,12 +174,13 @@ export default {
methods: {
init () {
this.reimburseId = this.$route.params.id
this.flag = this.$route.params.flag
this.getWeekly()
},
getWeekly () {
let ProjectWeekly = {
id: this.reimburseId
id: this.reimburseId,
flag: this.flag
}
Api.ProjectManagements.getDepartmentWeekly(ProjectWeekly).then(result => {
this.tableRowsData = []

View File

@ -294,7 +294,10 @@ export default {
updateById (id) {
this.$router.push({
name: "WholeFirmWeeklyEdit",
params: {id}
params: {
id,
flag: '1'
}
})
},
updateWorkload (id) {