Commit af6c9d9526028718105c007ee042e9cdba7c35b4
1 parent
6abddc4c
优化报表页面日期错误问题
Showing
2 changed files
with
4 additions
and
4 deletions
src/views/report/reportFeeSummaryList.vue
| @@ -13,12 +13,12 @@ | @@ -13,12 +13,12 @@ | ||
| 13 | <el-row :gutter="20"> | 13 | <el-row :gutter="20"> |
| 14 | <el-col :span="4"> | 14 | <el-col :span="4"> |
| 15 | <el-date-picker v-model="reportFeeSummaryInfo.conditions.startDate" type="date" | 15 | <el-date-picker v-model="reportFeeSummaryInfo.conditions.startDate" type="date" |
| 16 | - :placeholder="$t('reportFeeSummary.selectStartDate')" style="width: 100%" | 16 | + :placeholder="$t('reportFeeSummary.selectStartDate')" value-format="yyyy-MM-dd" style="width: 100%" |
| 17 | @change="handleDateChange" /> | 17 | @change="handleDateChange" /> |
| 18 | </el-col> | 18 | </el-col> |
| 19 | <el-col :span="4"> | 19 | <el-col :span="4"> |
| 20 | <el-date-picker v-model="reportFeeSummaryInfo.conditions.endDate" type="date" | 20 | <el-date-picker v-model="reportFeeSummaryInfo.conditions.endDate" type="date" |
| 21 | - :placeholder="$t('reportFeeSummary.selectEndDate')" style="width: 100%" @change="handleDateChange" /> | 21 | + :placeholder="$t('reportFeeSummary.selectEndDate')" value-format="yyyy-MM-dd" style="width: 100%" @change="handleDateChange" /> |
| 22 | </el-col> | 22 | </el-col> |
| 23 | <el-col :span="4"> | 23 | <el-col :span="4"> |
| 24 | <el-input v-model.trim="reportFeeSummaryInfo.conditions.objName" | 24 | <el-input v-model.trim="reportFeeSummaryInfo.conditions.objName" |
vue.config.js
| @@ -4,14 +4,14 @@ module.exports = { | @@ -4,14 +4,14 @@ module.exports = { | ||
| 4 | open: true, // 自动打开浏览器 | 4 | open: true, // 自动打开浏览器 |
| 5 | proxy: { | 5 | proxy: { |
| 6 | '/app': { | 6 | '/app': { |
| 7 | - target: 'http://demo.homecommunity.cn/app', // 后端API地址 | 7 | + target: 'https://demo.homecommunity.cn/app', // 后端API地址 |
| 8 | changeOrigin: true, | 8 | changeOrigin: true, |
| 9 | pathRewrite: { | 9 | pathRewrite: { |
| 10 | '^/app': '' | 10 | '^/app': '' |
| 11 | } | 11 | } |
| 12 | }, | 12 | }, |
| 13 | '/callComponent': { | 13 | '/callComponent': { |
| 14 | - target: 'http://demo.homecommunity.cn/callComponent', // 后端API地址 | 14 | + target: 'https://demo.homecommunity.cn/callComponent', // 后端API地址 |
| 15 | changeOrigin: true, | 15 | changeOrigin: true, |
| 16 | pathRewrite: { | 16 | pathRewrite: { |
| 17 | '^/callComponent': '' | 17 | '^/callComponent': '' |