|
@@ -80,7 +80,7 @@ import normalDialog from '@/components/dialog/normalDialog'
|
|
|
import headerCom from './components/header'
|
|
|
import monthlyEards from './components/monthlyEards'
|
|
|
import { getAvaliableInfo, monthlyReportIndex, getReportBizInfo, createMonthlyReport } from '@/api/qualityMonthlyReport'
|
|
|
-import { sendConfirm } from '@/api/qualityMonthlyReport/edit'
|
|
|
+// import { sendConfirm } from '@/api/qualityMonthlyReport/edit'
|
|
|
|
|
|
export default {
|
|
|
name: '',
|
|
@@ -155,10 +155,11 @@ export default {
|
|
|
},
|
|
|
async sendConfirm() {
|
|
|
console.log(this.reportStatus)
|
|
|
- const res = await sendConfirm({ id: this.reportStatus.id })
|
|
|
- if (res.code === 200) {
|
|
|
- this.getAvaliableInfo()
|
|
|
- }
|
|
|
+ this.$router.push({ path: '/monthlyReport/edit', query: { pageType: 'editAll', reportId: this.reportStatus.id }})
|
|
|
+ // const res = await sendConfirm({ id: this.reportStatus.id })
|
|
|
+ // if (res.code === 200) {
|
|
|
+ // this.getAvaliableInfo()
|
|
|
+ // }
|
|
|
},
|
|
|
getReportStatus(e) {
|
|
|
this.monthlyReportIndex(e.id)
|