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

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

parent e044f81a
<template>
<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-item label="企业名称" prop="enterpriseName">
<el-input
......@@ -672,6 +672,7 @@ export default {
if (this.reportForm.fRepUsgDayId != null) {
updateDay(this.reportForm).then(response => {
this.msgSuccess("上报成功");
this.getReportInfo();
});
} else {
addDay(this.reportForm).then(response => {
......@@ -680,6 +681,7 @@ export default {
// 获取当月结束时间
const endOfMonth = moment(this.reportDate).endOf('month').format('YYYY-MM-DD');
this.currentMonthReportInfo(startOfMonth,endOfMonth);
this.getReportInfo();
});
}
}
......
......@@ -511,6 +511,7 @@ export default {
if (this.reportForm.fGasSupId != null) {
updateSup(this.reportForm).then(response => {
this.msgSuccess("上报成功");
this.getReportInfo();
});
} else {
addSup(this.reportForm).then(response => {
......@@ -519,6 +520,7 @@ export default {
// 获取当月结束时间
const endOfMonth = moment(this.reportDate).endOf('month').format('YYYY-MM-DD HH:mm:ss');
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