Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
9
91isoft_web_vue3
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
91isoft_web_vue3
Commits
1fd7457c
Commit
1fd7457c
authored
Feb 19, 2024
by
张毅辰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
编译通过修改
parent
7eb3090a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
+14
-12
common.ts
src/utils/common.ts
+0
-4
index.vue
src/views/monitor/loginInfo/index.vue
+14
-8
No files found.
src/utils/common.ts
View file @
1fd7457c
...
...
@@ -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
=
""
;
...
...
src/views/monitor/loginInfo/index.vue
View file @
1fd7457c
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment