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

编译通过修改

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