Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_web
Overview
Overview
Details
Activity
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
pseer
gxpt_web
Commits
6f0eed9c
Commit
6f0eed9c
authored
Jul 04, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
积分日志增加用户信息
parent
6bc5ca29
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
77 additions
and
48 deletions
+77
-48
index.vue
src/views/system/IntegralLog/index.vue
+77
-48
No files found.
src/views/system/IntegralLog/index.vue
View file @
6f0eed9c
<
template
>
<div
class=
"app-container"
>
<el-form
v-show=
"showSearch"
ref=
"queryForm"
:inline=
"true"
:model=
"queryParams"
label-width=
"68px"
size=
"small"
>
<el-form
v-show=
"showSearch"
ref=
"queryForm"
:inline=
"true"
:model=
"queryParams"
size=
"small"
>
<!--
<el-form-item
label=
"用户id"
prop=
"consumerId"
>
-->
<!--
<el-input-->
<!-- v-model="queryParams.consumerId"-->
...
...
@@ -9,30 +9,30 @@
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!--
</el-form-item>
-->
<
el-form-item
label=
"变动积分"
prop=
"variableIntegral"
>
<el-input
v-model=
"queryParams.variableIntegral"
clearable
placeholder=
"请输入变动积分"
@
keyup
.
enter
.
native=
"handleQuery"
/
>
<
/el-form-item
>
<
el-form-item
label=
"当前积分"
prop=
"currentIntegral"
>
<el-input
v-model=
"queryParams.currentIntegral"
clearable
placeholder=
"请输入当前积分"
@
keyup
.
enter
.
native=
"handleQuery"
/
>
<
/el-form-item
>
<
el-form-item
label=
"操作时间"
prop=
"operationTime"
>
<el-date-picker
v-model=
"queryParams.operationTime"
clearable
placeholder=
"请选择操作时间"
type=
"date"
value-format=
"yyyy-MM-dd"
>
</el-date-picker
>
<
/el-form-item
>
<
!--
<el-form-item
label=
"变动积分"
prop=
"variableIntegral"
>
--
>
<!--
<el-input-->
<!-- v-model="queryParams.variableIntegral"-->
<!-- clearable-->
<!-- placeholder="请输入变动积分"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />--
>
<
!--
</el-form-item>
--
>
<
!--
<el-form-item
label=
"当前积分"
prop=
"currentIntegral"
>
--
>
<!--
<el-input-->
<!-- v-model="queryParams.currentIntegral"-->
<!-- clearable-->
<!-- placeholder="请输入当前积分"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />--
>
<
!--
</el-form-item>
--
>
<
!--
<el-form-item
label=
"操作时间"
prop=
"operationTime"
>
--
>
<!--
<el-date-picker
v-model=
"queryParams.operationTime"
--
>
<!-- clearable-->
<!-- placeholder="请选择操作时间"-->
<!-- type="date"-->
<!-- value-format="yyyy-MM-dd">--
>
<!--
</el-date-picker>
--
>
<
!--
</el-form-item>
--
>
<!--
<el-form-item
label=
"是否删除"
prop=
"isDelete"
>
-->
<!--
<el-input-->
<!-- v-model="queryParams.isDelete"-->
...
...
@@ -41,6 +41,20 @@
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!--
</el-form-item>
-->
<el-form-item
label=
"会员昵称"
prop=
"nickName"
>
<el-input
v-model=
"queryParams.nickName"
clearable
placeholder=
"请输入会员昵称"
/>
</el-form-item>
<el-form-item
label=
"会员手机号"
prop=
"phone"
>
<el-input
v-model=
"queryParams.phone"
clearable
placeholder=
"请输入会员手机号"
/>
</el-form-item>
<el-form-item>
<el-button
icon=
"el-icon-search"
size=
"mini"
type=
"primary"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
...
...
@@ -100,37 +114,49 @@
<el-table
v-loading=
"loading"
:data=
"IntegralLogList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
align=
"center"
type=
"selection"
width=
"55"
/>
<!--
<el-table-column
align=
"center"
label=
"ID"
prop=
"id"
/>
-->
<el-table-column
align=
"center"
label=
"用户id"
prop=
"consumerId"
/>
<!--
<el-table-column
align=
"center"
label=
"用户id"
prop=
"consumerId"
/>
-->
<el-table-column
align=
"center"
label=
"会员昵称"
prop=
"nickName"
/>
<el-table-column
align=
"center"
label=
"会员头像"
prop=
"avatar"
width=
"100"
>
<template
slot-scope=
"scope"
>
<image-preview
:height=
"50"
:src=
"scope.row.avatar"
:width=
"50"
/>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
label=
"会员手机号"
prop=
"phone"
/>
<el-table-column
align=
"center"
label=
"变动积分"
prop=
"variableIntegral"
/>
<el-table-column
align=
"center"
label=
"当前积分"
prop=
"currentIntegral"
/>
<
el-table-column
align=
"center"
label=
"操作类型"
prop=
"operationType"
/
>
<el-table-column
align=
"center"
label=
"操作
时间"
prop=
"operationTime"
width=
"180
"
>
<
!-- <el-table-column align="center" label="操作类型" prop="operationType"/>--
>
<el-table-column
align=
"center"
label=
"操作
类型"
prop=
"operationType
"
>
<
template
slot-scope=
"scope"
>
<
span>
{{
parseTime
(
scope
.
row
.
operationTime
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
dict-tag
:options=
"dict.type.operation_type"
:value=
"scope.row.operationType"
/
>
</
template
>
</el-table-column>
<
el
-
table
-
column
align
=
"center"
label
=
"是否删除"
prop
=
"isDelete"
/>
<
el
-
table
-
column
align
=
"center"
label
=
"备注"
prop
=
"remark"
/>
<
el
-
table
-
column
align
=
"center"
class
-
name
=
"small-padding fixed-width"
label
=
"操作"
>
<el-table-column
align=
"center"
label=
"操作时间"
prop=
"operationTime"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
el
-
button
v
-
hasPermi
=
"['system:IntegralLog:edit']"
icon
=
"el-icon-edit"
size
=
"mini"
type
=
"text"
@
click
=
"handleUpdate(scope.row)"
>
修改
<
/el-button
>
<
el
-
button
v
-
hasPermi
=
"['system:IntegralLog:remove']"
icon
=
"el-icon-delete"
size
=
"mini"
type
=
"text"
@
click
=
"handleDelete(scope.row)"
>
删除
<
/el-button
>
<span>
{{
parseTime
(
scope
.
row
.
operationTime
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<!--
<
el
-
table
-
column
align
=
"center"
label
=
"是否删除"
prop
=
"isDelete"
/>-->
<
el
-
table
-
column
align
=
"center"
label
=
"备注"
prop
=
"remark"
/>
<!--
<
el
-
table
-
column
align
=
"center"
class
-
name
=
"small-padding fixed-width"
label
=
"操作"
>-->
<!--
<
template
slot
-
scope
=
"scope"
>-->
<!--
<
el
-
button
-->
<!--
v
-
hasPermi
=
"['system:IntegralLog:edit']"
-->
<!--
icon
=
"el-icon-edit"
-->
<!--
size
=
"mini"
-->
<!--
type
=
"text"
-->
<!--
@
click
=
"handleUpdate(scope.row)"
-->
<!--
>
修改
-->
<!--
<
/el-button>--
>
<!--
<
el
-
button
-->
<!--
v
-
hasPermi
=
"['system:IntegralLog:remove']"
-->
<!--
icon
=
"el-icon-delete"
-->
<!--
size
=
"mini"
-->
<!--
type
=
"text"
-->
<!--
@
click
=
"handleDelete(scope.row)"
-->
<!--
>
删除
-->
<!--
<
/el-button>--
>
<!--
<
/template>--
>
<!--
<
/el-table-column>--
>
<
/el-table
>
<
pagination
...
...
@@ -187,6 +213,7 @@ import {
export
default
{
name
:
"IntegralLog"
,
dicts
:
[
'operation_type'
],
data
()
{
return
{
// 遮罩层
...
...
@@ -217,6 +244,8 @@ export default {
operationType
:
null
,
operationTime
:
null
,
isDelete
:
null
,
nickName
:
null
,
phone
:
null
,
}
,
// 表单参数
form
:
{
}
,
...
...
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