|
@@ -43,7 +43,10 @@
|
|
<el-menu-item index="1-21" v-if="permissions.reportEfficent" @click="ssl(20)"><p>有效工时率表</p></el-menu-item>
|
|
<el-menu-item index="1-21" v-if="permissions.reportEfficent" @click="ssl(20)"><p>有效工时率表</p></el-menu-item>
|
|
<el-menu-item index="1-22" v-if="permissions.reportSortScaleTable" @click="ssl(21)"><p>项目分类工时占比表</p></el-menu-item>
|
|
<el-menu-item index="1-22" v-if="permissions.reportSortScaleTable" @click="ssl(21)"><p>项目分类工时占比表</p></el-menu-item>
|
|
<el-menu-item index="1-23" v-if="permissions.reportSortDetailTable || permissions.reportSortSectionDetailTable" @click="ssl(22)"><p>分类工时明细表</p></el-menu-item>
|
|
<el-menu-item index="1-23" v-if="permissions.reportSortDetailTable || permissions.reportSortSectionDetailTable" @click="ssl(22)"><p>分类工时明细表</p></el-menu-item>
|
|
- <!-- <el-menu-item index="1-12"><p @click="ssl(11)">人员工时统计表</p></el-menu-item> -->
|
|
|
|
|
|
+ <el-menu-item index="1-24" v-if="permissions.reportStaffProject" @click="ssl(23)"><p>员工项目进度表</p></el-menu-item>
|
|
|
|
+ <el-menu-item index="1-25" v-if="permissions.reportProjectConsumptionFirst" @click="ssl(24)"><p>项目耗用进度表1</p></el-menu-item>
|
|
|
|
+ <el-menu-item index="1-26" v-if="permissions.reportProjectConsumptionTwo" @click="ssl(25)"><p>项目耗用进度表2</p></el-menu-item>
|
|
|
|
+ <el-menu-item index="1-27" v-if="permissions.reportStaffTaskAccomplished" @click="ssl(26)"><p>员工任务完成表</p></el-menu-item>
|
|
</el-submenu>
|
|
</el-submenu>
|
|
</el-menu>
|
|
</el-menu>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -1315,6 +1318,7 @@ export default {
|
|
props: {},
|
|
props: {},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+
|
|
efficentList:[],
|
|
efficentList:[],
|
|
groupNames: [],
|
|
groupNames: [],
|
|
taskgroupList: [],
|
|
taskgroupList: [],
|
|
@@ -1371,13 +1375,15 @@ export default {
|
|
this.$t('pojectbalancesheetincomestatement'),this.$t('customerprojectprofitstatement'),this.$t('projectphasetimesheet'),
|
|
this.$t('pojectbalancesheetincomestatement'),this.$t('customerprojectprofitstatement'),this.$t('projectphasetimesheet'),
|
|
this.$t('statisticsofovertimework'),this.$t('timecostearlywarningtable'),this.$t('personneltimeallocationtable'),
|
|
this.$t('statisticsofovertimework'),this.$t('timecostearlywarningtable'),this.$t('personneltimeallocationtable'),
|
|
this.$t('statisticsofstafffillingintimerate'),this.$t('dailyreporttobereviewedstatistics'),this.$t('statisticsofpersonnelhours'),this.$t('taskgrouptimesheet'),this.$t('projectcostbaselinetable'),
|
|
this.$t('statisticsofstafffillingintimerate'),this.$t('dailyreporttobereviewedstatistics'),this.$t('statisticsofpersonnelhours'),this.$t('taskgrouptimesheet'),this.$t('projectcostbaselinetable'),
|
|
- this.$t('ren-yuan-yue-du-gong-shi-biao'), this.$t('bumenchanyuqingkuang'), this.$t('ge-fen-zu-yu-jie-duan-gong-shi-biao'), '子项目工时成本表', '任务重启表', 'FTE报表', '有效工时率表', '项目分类工时占比表', '分类工时明细表'],
|
|
|
|
|
|
+ this.$t('ren-yuan-yue-du-gong-shi-biao'), this.$t('bumenchanyuqingkuang'), this.$t('ge-fen-zu-yu-jie-duan-gong-shi-biao'), '子项目工时成本表', '任务重启表', 'FTE报表', '有效工时率表', '项目分类工时占比表', '分类工时明细表',
|
|
|
|
+ '员工项目进度表', '项目耗用进度表1', '项目耗用进度表2', '员工任务完成表'],
|
|
|
|
|
|
shuzArr: [this.$t('projectreport'),this.$t('projectTaskReport'),this.$t('projectcoststatement'),
|
|
shuzArr: [this.$t('projectreport'),this.$t('projectTaskReport'),this.$t('projectcoststatement'),
|
|
this.$t('projectbalancesheet'),this.$t('customerprojectincomestatement'),this.$t('projectphasetimesheet'),
|
|
this.$t('projectbalancesheet'),this.$t('customerprojectincomestatement'),this.$t('projectphasetimesheet'),
|
|
this.$t('statisticsofovertimework'),this.$t('timecostearlywarningtable'),this.$t('personneltimeallocationtable'),
|
|
this.$t('statisticsofovertimework'),this.$t('timecostearlywarningtable'),this.$t('personneltimeallocationtable'),
|
|
this.$t('employeereporttimelinessrate'),this.$t('dailyreporttobereviewedstatistics'),this.$t('statisticsofpersonnelhours'),this.$t('taskgrouptimesheet'),this.$t('projectcostbaselinetable'),
|
|
this.$t('employeereporttimelinessrate'),this.$t('dailyreporttobereviewedstatistics'),this.$t('statisticsofpersonnelhours'),this.$t('taskgrouptimesheet'),this.$t('projectcostbaselinetable'),
|
|
- this.$t('ren-yuan-yue-du-gong-shi-biao'), this.$t('bumenchanyuqingkuang'), this.$t('ge-fen-zu-yu-jie-duan-gong-shi-biao'), '子项目工时成本表', '任务重启表', 'FTE报表','有效工时率表', '项目分类工时占比表', '分类工时明细表'],
|
|
|
|
|
|
+ this.$t('ren-yuan-yue-du-gong-shi-biao'), this.$t('bumenchanyuqingkuang'), this.$t('ge-fen-zu-yu-jie-duan-gong-shi-biao'), '子项目工时成本表', '任务重启表', 'FTE报表','有效工时率表', '项目分类工时占比表', '分类工时明细表',
|
|
|
|
+ '员工项目进度表', '项目耗用进度表1', '项目耗用进度表2', '员工任务完成表'],
|
|
|
|
|
|
ins: 10000,
|
|
ins: 10000,
|
|
user: JSON.parse(sessionStorage.user),
|
|
user: JSON.parse(sessionStorage.user),
|
|
@@ -1599,6 +1605,10 @@ export default {
|
|
if(this.permissions.reportEfficent) {this.ssl(20);this.defaultActive = '1-21';return} else
|
|
if(this.permissions.reportEfficent) {this.ssl(20);this.defaultActive = '1-21';return} else
|
|
if(this.permissions.reportSortScaleTable) {this.ssl(21);this.defaultActive = '1-22';return} else
|
|
if(this.permissions.reportSortScaleTable) {this.ssl(21);this.defaultActive = '1-22';return} else
|
|
if(this.permissions.reportSortDetailTable || this.permissions.reportSortSectionDetailTable) {this.ssl(22);this.defaultActive = '1-23';return} else
|
|
if(this.permissions.reportSortDetailTable || this.permissions.reportSortSectionDetailTable) {this.ssl(22);this.defaultActive = '1-23';return} else
|
|
|
|
+ if(this.permissions.reportStaffProject) {this.ssl(23);this.defaultActive = '1-24';return} else
|
|
|
|
+ if(this.permissions.reportProjectConsumptionFirst) {this.ssl(24);this.defaultActive = '1-25';return} else
|
|
|
|
+ if(this.permissions.reportProjectConsumptionTwo) {this.ssl(25);this.defaultActive = '1-26';return} else
|
|
|
|
+ if(this.permissions.reportStaffTaskAccomplished) {this.ssl(26);this.defaultActive = '1-27';return} else
|
|
{this.allWrong = false}
|
|
{this.allWrong = false}
|
|
},
|
|
},
|
|
rowspan(spanArr,position,spanName){
|
|
rowspan(spanArr,position,spanName){
|
|
@@ -1849,6 +1859,7 @@ export default {
|
|
this.getGroupWorktimeAll()
|
|
this.getGroupWorktimeAll()
|
|
},
|
|
},
|
|
getList(e) {
|
|
getList(e) {
|
|
|
|
+ let noUserList = [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
|
|
if(this.ins == 15) {
|
|
if(this.ins == 15) {
|
|
this.rangeDatas = null
|
|
this.rangeDatas = null
|
|
} else if(!e){
|
|
} else if(!e){
|
|
@@ -1883,8 +1894,8 @@ export default {
|
|
}else if(this.ins == 12){
|
|
}else if(this.ins == 12){
|
|
this.groupWorktimeList.left = []
|
|
this.groupWorktimeList.left = []
|
|
this.groupWorktimeList.right = []
|
|
this.groupWorktimeList.right = []
|
|
- this.getGroupWorktimeList()
|
|
|
|
- this.getGroupWorktimeAll()
|
|
|
|
|
|
+ this.getGroupWorktimeList()
|
|
|
|
+ this.getGroupWorktimeAll()
|
|
}else if(this.ins == 13){
|
|
}else if(this.ins == 13){
|
|
this.getOutputValueList()
|
|
this.getOutputValueList()
|
|
} else if(this.ins == 14) {
|
|
} else if(this.ins == 14) {
|
|
@@ -1904,9 +1915,11 @@ export default {
|
|
} else if (this.ins == 20) {
|
|
} else if (this.ins == 20) {
|
|
this.getEffectiveLaborHourRate();
|
|
this.getEffectiveLaborHourRate();
|
|
}
|
|
}
|
|
- if(this.ins != 16 && this.ins != 17 && this.ins != 18 && this.ins != 19 && this.ins != 20 && this.ins != 21 && this.ins != 22) {
|
|
|
|
|
|
+
|
|
|
|
+ if(!noUserList.includes(this.ins)) {
|
|
this.getUserList()
|
|
this.getUserList()
|
|
}
|
|
}
|
|
|
|
+
|
|
if(this.ins == 21) {
|
|
if(this.ins == 21) {
|
|
this.getProjectWoekScale()
|
|
this.getProjectWoekScale()
|
|
}
|
|
}
|