|
@@ -446,7 +446,6 @@ export default {
|
|
|
// }
|
|
|
// },
|
|
|
mounted() {
|
|
|
- console.log(this.subReportInfo)
|
|
|
this.$nextTick(() => {
|
|
|
this.setAnalyticFeedbackTitle()
|
|
|
this.init()
|
|
@@ -682,10 +681,10 @@ export default {
|
|
|
let obj = null
|
|
|
const run = (arr) => {
|
|
|
arr.forEach((elm) => {
|
|
|
- console.log(elm, '分析反馈')
|
|
|
if (elm.domKey === this.domKey) {
|
|
|
+ console.log(elm, 686)
|
|
|
if (!version) {
|
|
|
- version = elm.domKey
|
|
|
+ version = elm.version
|
|
|
}
|
|
|
obj = _.cloneDeep(elm)
|
|
|
}
|
|
@@ -748,7 +747,7 @@ export default {
|
|
|
// this.tabsActive.indexOf('本月重点问题') > -1
|
|
|
this.isExpand
|
|
|
) {
|
|
|
- const { obj, version } = this.getTableObjAndVersion()
|
|
|
+ const { obj } = this.getTableObjAndVersion()
|
|
|
const params = {
|
|
|
reportId: this.$route.query.reportId,
|
|
|
subReportName: this.subReportName,
|
|
@@ -760,10 +759,10 @@ export default {
|
|
|
if (this.$route.query.pageType === 'readAll' && obj) {
|
|
|
params.subReportName = `${obj.title}`
|
|
|
// 获取查看完整月报状态下的子月报ID的version
|
|
|
- params.version = version || ''
|
|
|
+ params.version = obj.version || 0
|
|
|
} else {
|
|
|
// 获取查看单个子月报状态下的子月报ID的version
|
|
|
- params.version = this.version || ''
|
|
|
+ params.version = this.version || 0
|
|
|
}
|
|
|
// 提交数据
|
|
|
if (obj && obj.content[0].tableRows.length) {
|