Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-renewal
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 17d80251
authored
Aug 16, 2022
by
wuwx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改第一轮BUG
1 parent
9a7ece41
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
20 deletions
src/views/integrate/conversion/index.vue
src/views/integrate/integral/index.vue
src/views/integrate/conversion/index.vue
View file @
17d8025
<
template
>
<
template
>
<div>
<div
style=
"padding: 8px;"
>
<el-form
:inline=
"true"
:model=
"searchForm"
>
<el-form
:inline=
"true"
:model=
"searchForm"
>
<el-form-item
label=
"申请单号
:
"
>
<el-form-item
label=
"申请单号
:
"
>
<el-input
<el-input
v-model=
"searchForm.orderCode"
v-model=
"searchForm.orderCode"
clearable
clearable
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
placeholder=
"请输入申请单号"
placeholder=
"请输入申请单号"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"客户姓名
:
"
>
<el-form-item
label=
"客户姓名
:
"
>
<el-input
<el-input
v-model=
"searchForm.name"
v-model=
"searchForm.name"
clearable
clearable
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
placeholder=
"请输入客户姓名"
placeholder=
"请输入客户姓名"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"手机号
:
"
>
<el-form-item
label=
"手机号
:
"
>
<el-input
<el-input
v-model=
"searchForm.mobile"
v-model=
"searchForm.mobile"
clearable
clearable
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
placeholder=
"请输入手机号"
placeholder=
"请输入手机号"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"车牌号
:
"
>
<el-form-item
label=
"车牌号
:
"
>
<el-input
<el-input
v-model=
"searchForm.plateNo"
v-model=
"searchForm.plateNo"
clearable
clearable
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
placeholder=
"请输入车牌号"
placeholder=
"请输入车牌号"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"状态
:
"
>
<el-form-item
label=
"状态
:
"
>
<el-select
<el-select
v-model=
"searchForm.status"
v-model=
"searchForm.status"
clearable
clearable
...
@@ -59,10 +59,11 @@
...
@@ -59,10 +59,11 @@
:searchForm=
"searchForm"
:searchForm=
"searchForm"
:getListApi=
"getListApi"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:pageConf=
"pageConf"
class=
"my-row-height"
>
>
<div
slot=
"status"
slot-scope=
"scope"
>
<div
slot=
"status"
slot-scope=
"scope"
>
<span
v-if=
"scope.scope.status == 1"
>
已完成
</span>
<span
v-if=
"scope.scope.status == 1"
>
<span
class=
"status-dot2"
></span>
已完成
</span>
<span
v-if=
"scope.scope.status == 0"
>
初始状态
</span>
<span
v-if=
"scope.scope.status == 0"
>
<span
class=
"status-dot1"
></span>
初始状态
</span>
</div>
</div>
</d2-table>
</d2-table>
</div>
</div>
...
@@ -72,12 +73,12 @@
...
@@ -72,12 +73,12 @@
import
{
integralExchangeApi
}
from
'../../../api/integrate'
import
{
integralExchangeApi
}
from
'../../../api/integrate'
const
state
=
[
const
state
=
[
{
{
value
:
1
,
value
:
''
,
label
:
'
已完成
'
label
:
'
全部
'
},
},
{
{
value
:
0
,
value
:
1
,
label
:
'
初始状态
'
label
:
'
已完成
'
}
}
]
]
export
default
{
export
default
{
...
@@ -105,7 +106,8 @@ export default {
...
@@ -105,7 +106,8 @@ export default {
tableColumns
:
[
tableColumns
:
[
{
{
label
:
'申请单号'
,
label
:
'申请单号'
,
prop
:
'orderCode'
prop
:
'orderCode'
,
width
:
180
},
},
{
{
label
:
'积分值'
,
label
:
'积分值'
,
...
@@ -173,5 +175,25 @@ export default {
...
@@ -173,5 +175,25 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
scoped
>
.el-form-item
{
margin-bottom
:
16px
;
}
.status-dot1
{
display
:
inline-block
;
width
:
6px
;
height
:
6px
;
background
:
#babdc2
;
border-radius
:
3px
;
}
.status-dot2
{
display
:
inline-block
;
width
:
6px
;
height
:
6px
;
background
:
#2cca74
;
border-radius
:
3px
;
}
.my-row-height
>>>
.el-table__body-wrapper
.el-table__row
{
height
:
48px
;
}
</
style
>
</
style
>
src/views/integrate/integral/index.vue
View file @
17d8025
<
template
>
<
template
>
<div>
<div
style=
"padding: 8px;"
>
<el-form
:inline=
"true"
:model=
"searchForm"
>
<el-form
:inline=
"true"
:model=
"searchForm"
>
<el-form-item
label=
"客户姓名
:
"
>
<el-form-item
label=
"客户姓名
:
"
>
<el-input
<el-input
v-model=
"searchForm.name"
v-model=
"searchForm.name"
clearable
clearable
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
placeholder=
"请输入客户姓名"
placeholder=
"请输入客户姓名"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"手机号
:
"
>
<el-form-item
label=
"手机号
:
"
>
<el-input
<el-input
v-model=
"searchForm.mobile"
v-model=
"searchForm.mobile"
clearable
clearable
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
placeholder=
"请输入手机号"
placeholder=
"请输入手机号"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"车牌号
:
"
>
<el-form-item
label=
"车牌号
:
"
>
<el-input
<el-input
v-model=
"searchForm.plateNo"
v-model=
"searchForm.plateNo"
clearable
clearable
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
placeholder=
"请输入车牌号"
placeholder=
"请输入车牌号"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"变更类型
:
"
>
<el-form-item
label=
"变更类型
:
"
>
<el-select
<el-select
v-model=
"searchForm.recordType"
v-model=
"searchForm.recordType"
clearable
clearable
...
@@ -53,7 +53,11 @@
...
@@ -53,7 +53,11 @@
:searchForm=
"searchForm"
:searchForm=
"searchForm"
:getListApi=
"getListApi"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:pageConf=
"pageConf"
class=
"my-row-height"
>
>
<div
slot=
"amount"
slot-scope=
"scope"
>
<span><span>
{{
scope
.
scope
.
beforeAmount
>
scope
.
scope
.
afterAmount
?
'-'
:
'+'
}}
</span>
{{
scope
.
scope
.
amount
}}
</span>
</div>
<div
slot=
"recordType"
slot-scope=
"scope"
>
<div
slot=
"recordType"
slot-scope=
"scope"
>
<span
v-if=
"scope.scope.recordType == 1"
>
系统赠送
</span>
<span
v-if=
"scope.scope.recordType == 1"
>
系统赠送
</span>
<span
v-if=
"scope.scope.recordType == 2"
>
积分兑换
</span>
<span
v-if=
"scope.scope.recordType == 2"
>
积分兑换
</span>
...
@@ -110,7 +114,8 @@ export default {
...
@@ -110,7 +114,8 @@ export default {
},
},
{
{
label
:
'积分变更值'
,
label
:
'积分变更值'
,
prop
:
'amount'
prop
:
''
,
addHtml
:
'amount'
},
},
{
{
label
:
'变更类型'
,
label
:
'变更类型'
,
...
@@ -176,5 +181,13 @@ export default {
...
@@ -176,5 +181,13 @@ export default {
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
500
;
font-weight
:
500
;
color
:
#333333
;
color
:
#333333
;
margin-top
:
2px
;
display
:
inline-block
;
}
.el-form-item
{
margin-bottom
:
16px
;
}
.my-row-height
>>>
.el-table__body-wrapper
.el-table__row
{
height
:
48px
;
}
}
</
style
>
</
style
>
Write
Preview
Markdown
is supported
Attach a file
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 post a comment