|
|
@@ -278,7 +278,9 @@ export default {
|
|
|
},
|
|
|
name: 'SocAppComprehensiveData',
|
|
|
mixins: [baseInfoApi],
|
|
|
-
|
|
|
+ props: {
|
|
|
+ orgId: ''
|
|
|
+ },
|
|
|
data() {
|
|
|
return {
|
|
|
active: 1,
|
|
|
@@ -310,17 +312,29 @@ export default {
|
|
|
otherEdu: null //教育培训
|
|
|
}
|
|
|
},
|
|
|
+ watch: {
|
|
|
+ orgId() {
|
|
|
+ //履职
|
|
|
+ this.getsynthesisResumptionfo({ month: this.month, orgId: this.orgId })
|
|
|
+ //问题整改
|
|
|
+ this.getSyntheticQuestionHandler({ month: this.questionMonth, orgId: this.orgId })
|
|
|
+ // 安全检查
|
|
|
+ this.getSafetycheck({ month: this.safetyCheckMonth, orgId: this.orgId })
|
|
|
+ // 其他
|
|
|
+ this.getQtHandler({ date: this.otherValMonth, orgId: this.orgId })
|
|
|
+ }
|
|
|
+ },
|
|
|
created() {
|
|
|
//设置默认月份
|
|
|
this.otherValMonth = this.safetyCheckMonth = this.questionMonth = this.month = newDateMonth()
|
|
|
//履职
|
|
|
- this.getsynthesisResumptionfo({ month: this.month })
|
|
|
+ this.getsynthesisResumptionfo({ month: this.month ,orgId: this.orgId})
|
|
|
//问题整改
|
|
|
- this.getSyntheticQuestionHandler({ month: this.questionMonth })
|
|
|
+ this.getSyntheticQuestionHandler({ month: this.questionMonth ,orgId: this.orgId })
|
|
|
// 安全检查
|
|
|
- this.getSafetycheck({ month: this.safetyCheckMonth })
|
|
|
+ this.getSafetycheck({ month: this.safetyCheckMonth ,orgId: this.orgId })
|
|
|
// 其他
|
|
|
- this.getQtHandler({ date: this.otherValMonth })
|
|
|
+ this.getQtHandler({ date: this.otherValMonth ,orgId: this.orgId })
|
|
|
},
|
|
|
mounted() {},
|
|
|
|
|
|
@@ -334,7 +348,7 @@ export default {
|
|
|
} else {
|
|
|
this.month = newDateMonth(new Date(), 1)
|
|
|
}
|
|
|
- this.getsynthesisResumptionfo({ month: this.month })
|
|
|
+ this.getsynthesisResumptionfo({ month: this.month ,orgId: this.orgId})
|
|
|
break
|
|
|
case '2': //问题整改
|
|
|
this.questionVal = val
|
|
|
@@ -343,7 +357,7 @@ export default {
|
|
|
} else {
|
|
|
this.questionMonth = newDateMonth(new Date(), 1)
|
|
|
}
|
|
|
- this.getSyntheticQuestionHandler({ month: this.questionMonth })
|
|
|
+ this.getSyntheticQuestionHandler({ month: this.questionMonth ,orgId: this.orgId})
|
|
|
break
|
|
|
|
|
|
case '3': //安全检查
|
|
|
@@ -353,7 +367,7 @@ export default {
|
|
|
} else {
|
|
|
this.safetyCheckMonth = newDateMonth(new Date(), 1)
|
|
|
}
|
|
|
- this.getSafetycheck({ month: this.safetyCheckMonth })
|
|
|
+ this.getSafetycheck({ month: this.safetyCheckMonth ,orgId: this.orgId})
|
|
|
break
|
|
|
case '4': //其他
|
|
|
this.otherVal = val
|
|
|
@@ -362,7 +376,7 @@ export default {
|
|
|
} else {
|
|
|
this.otherValMonth = newDateMonth(new Date(), 1)
|
|
|
}
|
|
|
- this.getQtHandler({ date: this.otherValMonth })
|
|
|
+ this.getQtHandler({ date: this.otherValMonth ,orgId: this.orgId})
|
|
|
break
|
|
|
default:
|
|
|
break
|
|
|
@@ -443,7 +457,7 @@ export default {
|
|
|
font-size: 28px;
|
|
|
padding: 20px;
|
|
|
}
|
|
|
-.tabsCard{
|
|
|
+.tabsCard {
|
|
|
margin-top: 20px;
|
|
|
}
|
|
|
</style>
|