洪海涛 4 lat temu
rodzic
commit
063524c077

+ 1 - 1
src/api/qualityMonthlyReport/edit.js

@@ -266,7 +266,7 @@ export function getAnalyticFeedback(data) {
 }
 
 // 月报回滚
-export function rollback (data) {
+export function rollback(data) {
   return request({
     url: projectManagementUrl + '/monthlyReport/rollback',
     // url: 'http://127.0.0.1:4523/mock/368525/monthlyReport/getHistoryDetail',

+ 1 - 1
src/views/dataBigManage/components/drawerModal/index.vue

@@ -712,7 +712,7 @@ export default {
     // 线上问题-改进项半浮层
     async dataMarketQualityGetImproveListFn() {
       const paging = { ...this.paging }
-      const { index, subIndex } = this.drawerData.subCountItem
+      // const { index, subIndex } = this.drawerData.subCountItem
       const { firstActive,
         // first,
         secondActive

+ 5 - 5
src/views/monthlyReport/childrenPage/editReport/components/historyRecord.vue

@@ -99,16 +99,16 @@ export default {
       const url = `${location.origin}/#/monthlyReport/edit?pageType=read&reportId=334&subReportId=${this.$route.query.subReportId}&isHistory=new&historyId=${item.historyId}`
       window.open(url, '_blank')
     },
-    rollback( subReportId, historyId ) {
+    rollback(subReportId, historyId) {
       rollback({
         subReportId,
         historyId
       }).then(res => {
-        if(res.code === 200) {
-           this.$message.success('回滚成功!')
-         } else {
+        if (res.code === 200) {
+          this.$message.success('回滚成功!')
+        } else {
           this.$message.error(res.msg)
-         }
+        }
       })
     }
   }