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 | 13 | <el-row :gutter="20"> |
| 14 | 14 | <el-col :span="4"> |
| 15 | 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 | 17 | @change="handleDateChange" /> |
| 18 | 18 | </el-col> |
| 19 | 19 | <el-col :span="4"> |
| 20 | 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 | 22 | </el-col> |
| 23 | 23 | <el-col :span="4"> |
| 24 | 24 | <el-input v-model.trim="reportFeeSummaryInfo.conditions.objName" | ... | ... |
vue.config.js
| ... | ... | @@ -4,14 +4,14 @@ module.exports = { |
| 4 | 4 | open: true, // 自动打开浏览器 |
| 5 | 5 | proxy: { |
| 6 | 6 | '/app': { |
| 7 | - target: 'http://demo.homecommunity.cn/app', // 后端API地址 | |
| 7 | + target: 'https://demo.homecommunity.cn/app', // 后端API地址 | |
| 8 | 8 | changeOrigin: true, |
| 9 | 9 | pathRewrite: { |
| 10 | 10 | '^/app': '' |
| 11 | 11 | } |
| 12 | 12 | }, |
| 13 | 13 | '/callComponent': { |
| 14 | - target: 'http://demo.homecommunity.cn/callComponent', // 后端API地址 | |
| 14 | + target: 'https://demo.homecommunity.cn/callComponent', // 后端API地址 | |
| 15 | 15 | changeOrigin: true, |
| 16 | 16 | pathRewrite: { |
| 17 | 17 | '^/callComponent': '' | ... | ... |