|
@@ -421,6 +421,9 @@ export default {
|
|
},
|
|
},
|
|
isLoading() {
|
|
isLoading() {
|
|
return this.$store.state.monthlyReportEdit.isLoading
|
|
return this.$store.state.monthlyReportEdit.isLoading
|
|
|
|
+ },
|
|
|
|
+ version() {
|
|
|
|
+ return this.$store.state.monthlyReportEdit.version
|
|
}
|
|
}
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
@@ -670,6 +673,7 @@ export default {
|
|
},
|
|
},
|
|
// 查看页面数据分析
|
|
// 查看页面数据分析
|
|
setAnalyticFeedback(key = '', feedbackCharge = '') {
|
|
setAnalyticFeedback(key = '', feedbackCharge = '') {
|
|
|
|
+ let version = this.version + ''
|
|
if (
|
|
if (
|
|
// this.pageType.search(/edit/) < 0 &&
|
|
// this.pageType.search(/edit/) < 0 &&
|
|
// this.pageDate.status > 10 &&
|
|
// this.pageDate.status > 10 &&
|
|
@@ -680,8 +684,11 @@ export default {
|
|
let obj = null
|
|
let obj = null
|
|
const run = (arr) => {
|
|
const run = (arr) => {
|
|
arr.forEach((elm) => {
|
|
arr.forEach((elm) => {
|
|
|
|
+ console.log(elm, '分析反馈')
|
|
if (elm.domKey === this.domKey) {
|
|
if (elm.domKey === this.domKey) {
|
|
- // console.log(elm)
|
|
|
|
|
|
+ if (!version) {
|
|
|
|
+ version = elm.domKey
|
|
|
|
+ }
|
|
obj = _.cloneDeep(elm)
|
|
obj = _.cloneDeep(elm)
|
|
}
|
|
}
|
|
if (elm.content.length) {
|
|
if (elm.content.length) {
|
|
@@ -715,6 +722,7 @@ export default {
|
|
if (key && key === 'feedbackType') {
|
|
if (key && key === 'feedbackType') {
|
|
params[key] = 'feedback_commit'
|
|
params[key] = 'feedback_commit'
|
|
}
|
|
}
|
|
|
|
+ params.version = version || ''
|
|
updateAnalyticFeedback(params).then((res) => {
|
|
updateAnalyticFeedback(params).then((res) => {
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|
|
this.analyticFeedback = res.data
|
|
this.analyticFeedback = res.data
|