Commit 1fd7457c authored by 张毅辰's avatar 张毅辰

编译通过修改

parent 7eb3090a
...@@ -47,8 +47,6 @@ export function praseStrEmpty(str: any) { ...@@ -47,8 +47,6 @@ export function praseStrEmpty(str: any) {
} }
export function transformDateByFormat(value: any, format: any) { export function transformDateByFormat(value: any, format: any) {
console.log(value);
console.log(format);
if (!value || value === "") { if (!value || value === "") {
return "-"; return "-";
} }
...@@ -56,8 +54,6 @@ export function transformDateByFormat(value: any, format: any) { ...@@ -56,8 +54,6 @@ export function transformDateByFormat(value: any, format: any) {
} }
export function addDateRange(params: any, dateRange: any) { export function addDateRange(params: any, dateRange: any) {
console.log(params);
console.log(dateRange);
const search = params; const search = params;
search.beginTime = ""; search.beginTime = "";
search.endTime = ""; search.endTime = "";
......
...@@ -73,7 +73,9 @@ function handleClose() { ...@@ -73,7 +73,9 @@ function handleClose() {
xportVisible.value = false; xportVisible.value = false;
} }
function timechange(e) {} function timechange(e) {
exportFrom.month = e;
}
/** 查询按钮操作 */ /** 查询按钮操作 */
function handleQuery() { function handleQuery() {
...@@ -176,7 +178,9 @@ function exportSubmit() { ...@@ -176,7 +178,9 @@ function exportSubmit() {
/** 导出按钮操作 */ /** 导出按钮操作 */
function handleExport() { function handleExport() {
exportVisible.value = true; exportVisible.value = true;
Object.assign(exportFrom, {}); Object.assign(exportFrom, {
mo
});
} }
</script> </script>
...@@ -319,7 +323,7 @@ function handleExport() { ...@@ -319,7 +323,7 @@ function handleExport() {
range-separator="至" range-separator="至"
start-placeholder="开始月份" start-placeholder="开始月份"
end-placeholder="结束月份" end-placeholder="结束月份"
value-format="yyyy_MM" value-format="YYYY_MM"
:picker-options="endDatePicker" :picker-options="endDatePicker"
@change="timechange" @change="timechange"
/> />
...@@ -339,7 +343,7 @@ function handleExport() { ...@@ -339,7 +343,7 @@ function handleExport() {
<!-- 导出弹窗--> <!-- 导出弹窗-->
<el-dialog <el-dialog
title="选择导出月份" title="选择导出月份"
v-model:visible="exportVisible" v-model="exportVisible"
width="30%" width="30%"
:before-close="handleClose" :before-close="handleClose"
> >
...@@ -351,16 +355,18 @@ function handleExport() { ...@@ -351,16 +355,18 @@ function handleExport() {
range-separator="至" range-separator="至"
start-placeholder="开始月份" start-placeholder="开始月份"
end-placeholder="结束月份" end-placeholder="结束月份"
value-format="yyyy_MM" value-format="YYYY_MM"
:picker-options="endDatePicker" :picker-options="endDatePicker"
@change="timechange" @change="timechange"
/> />
</el-form-item> </el-form-item>
<el-form-item style="float: right; margin-top: 20px"> </el-form>
<template #footer>
<div class="dialog-footer">
<el-button @click="exportVisible = false">取 消</el-button> <el-button @click="exportVisible = false">取 消</el-button>
<el-button type="primary" @click="exportSubmit">确 定</el-button> <el-button type="primary" @click="exportSubmit">确 定</el-button>
</el-form-item> </div>
</el-form> </template>
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
......
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