Commit 0fce269e authored by 耿迪迪's avatar 耿迪迪

气量监管-日用气量问题修改

parent e044f81a
<template> <template>
<div class="app-container"> <div class="app-container">
<div> <div v-if="-2 == $store.state.user.enterpriseId">
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px"> <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="企业名称" prop="enterpriseName"> <el-form-item label="企业名称" prop="enterpriseName">
<el-input <el-input
...@@ -672,6 +672,7 @@ export default { ...@@ -672,6 +672,7 @@ export default {
if (this.reportForm.fRepUsgDayId != null) { if (this.reportForm.fRepUsgDayId != null) {
updateDay(this.reportForm).then(response => { updateDay(this.reportForm).then(response => {
this.msgSuccess("上报成功"); this.msgSuccess("上报成功");
this.getReportInfo();
}); });
} else { } else {
addDay(this.reportForm).then(response => { addDay(this.reportForm).then(response => {
...@@ -680,6 +681,7 @@ export default { ...@@ -680,6 +681,7 @@ export default {
// 获取当月结束时间 // 获取当月结束时间
const endOfMonth = moment(this.reportDate).endOf('month').format('YYYY-MM-DD'); const endOfMonth = moment(this.reportDate).endOf('month').format('YYYY-MM-DD');
this.currentMonthReportInfo(startOfMonth,endOfMonth); this.currentMonthReportInfo(startOfMonth,endOfMonth);
this.getReportInfo();
}); });
} }
} }
......
...@@ -511,6 +511,7 @@ export default { ...@@ -511,6 +511,7 @@ export default {
if (this.reportForm.fGasSupId != null) { if (this.reportForm.fGasSupId != null) {
updateSup(this.reportForm).then(response => { updateSup(this.reportForm).then(response => {
this.msgSuccess("上报成功"); this.msgSuccess("上报成功");
this.getReportInfo();
}); });
} else { } else {
addSup(this.reportForm).then(response => { addSup(this.reportForm).then(response => {
...@@ -519,6 +520,7 @@ export default { ...@@ -519,6 +520,7 @@ export default {
// 获取当月结束时间 // 获取当月结束时间
const endOfMonth = moment(this.reportDate).endOf('month').format('YYYY-MM-DD HH:mm:ss'); const endOfMonth = moment(this.reportDate).endOf('month').format('YYYY-MM-DD HH:mm:ss');
this.currentMonthReportInfo(startOfMonth,endOfMonth); this.currentMonthReportInfo(startOfMonth,endOfMonth);
this.getReportInfo();
}); });
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment