Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
sso-equity
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 5231f5f9
authored
Dec 04, 2021
by
zhouzy
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
6ccef2ea
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
165 deletions
src/views/collection/index.vue
src/views/list/index.vue
src/views/rightsCard/index.vue
src/views/sale/index.vue
src/views/collection/index.vue
View file @
5231f5f
...
...
@@ -35,7 +35,7 @@
<!-- 批次界面弹窗 -->
<el-dialog
title=
""
:visible
.
sync=
"batchdetailsVisible"
width=
"1200px"
:before-close=
"detailClose"
>
<div
class=
"baseinformation"
><span
class=
"titleText"
>
权益卡信息
</span></div>
<el-form
:inline=
"true"
:model=
"cardsInformationForm"
class=
"demo-form-inline detailFont"
label-width=
"90px"
style=
"
margin-top: 20px;
margin-left: 52px"
>
<el-form
:inline=
"true"
:model=
"cardsInformationForm"
class=
"demo-form-inline detailFont"
label-width=
"90px"
style=
" margin-left: 52px"
>
<el-row>
<el-form-item
label=
"门店:"
class=
"detailItem"
>
{{
cardsInformationForm
.
merchantName
}}
...
...
@@ -71,12 +71,12 @@
<el-input
v-model=
"batchPopupListSearch.mobile"
placeholder=
"请输入账号"
size=
"small"
class=
"formItem"
></el-input>
</el-form-item>
<el-form-item
size=
"small"
style=
"float: right"
>
<el-button
:id=
"batchdetailPopupTable.btnId"
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"batchdetailSelect"
>
搜索
</el-button>
<el-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"batchdetailSelect"
>
搜索
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"exportbatchdetail"
>
导出明细
</el-button>
</el-form-item>
</el-row>
</el-form>
<GLTable
ref=
"batchdetailPopupTable"
:tableParams=
"batchdetailPopupTable"
:getListApi=
"listMemberCard"
:searchForm=
"batchPopupListSearch"
:beforeSearchFn=
"beforebatchPopupListSearch"
:pageConf=
"datailPageConf"
></GLTable>
<GLTable
ref=
"batchdetailPopupTable"
@
hook:mounted=
"setTabelHeight"
:tableParams=
"batchdetailPopupTable"
:getListApi=
"listMemberCard"
:searchForm=
"batchPopupListSearch"
:beforeSearchFn=
"beforebatchPopupListSearch"
:pageConf=
"datailPageConf"
></GLTable>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"closebatchdetailPopupTable"
>
取 消
</el-button>
...
...
@@ -90,7 +90,7 @@
<div
class=
"baseinformation"
><span
class=
"titleText"
>
批量生成权益卡
</span></div>
<div
class=
"form"
>
<el-form-item
label=
"关联门店:"
prop=
"merchantName"
>
<el-select
v-model=
"generateRightCardsForm.merchantName"
clearable
filterable
remote
reserve-keyword
placeholder=
"请输入关联门店"
:remote-method=
"generateRemoteMethod"
:loading=
"loading"
size=
"small"
>
<el-select
v-model=
"generateRightCardsForm.merchantName"
clearable
filterable
remote
reserve-keyword
placeholder=
"请输入关联门店"
:remote-method=
"generateRemoteMethod"
:loading=
"loading"
size=
"small"
style=
"width:423px"
>
<el-option
v-for=
"(item, index) in generateOptions"
:key=
"index"
:label=
"item.merchantName"
:value=
"item.merchantName"
></el-option>
</el-select>
</el-form-item>
...
...
@@ -179,7 +179,6 @@ export default {
states
:
[],
//批量生成下拉框
generateOptions
:
[],
colletionDate
:
''
,
batchDate
:
''
,
date_format
,
...
...
@@ -430,6 +429,9 @@ export default {
}
},
methods
:
{
setTabelHeight
()
{
this
.
$refs
.
batchdetailPopupTable
.
tableHeightValues
=
'328'
},
fetch
(
url
,
params
)
{
return
new
Promise
(
resolve
=>
{
const
xhr
=
new
XMLHttpRequest
()
...
...
@@ -745,7 +747,7 @@ export default {
}
}
</
script
>
<
style
>
<
style
scoped
>
*
{
padding
:
0
;
margin
:
0
;
...
...
@@ -889,7 +891,7 @@ h2 {
}
.equity-wrap
.contain
{
background
:
#ffffff
;
margin
:
0px
20px
20px
0px
;
margin
:
0px
20px
20px
4
0px
;
padding
:
20px
;
-webkit-box-shadow
:
0
1px
5px
0
rgba
(
38
,
38
,
38
,
0.1
);
box-shadow
:
0
1px
5px
0
rgba
(
38
,
38
,
38
,
0.1
);
...
...
@@ -904,7 +906,6 @@ h2 {
}
.baseinformation
{
width
:
100%
;
height
:
28px
;
border-bottom
:
1px
solid
#d8d8d8
;
}
.baseinformation2
{
...
...
@@ -925,6 +926,12 @@ h2 {
.form
{
padding
:
32px
20px
32px
48px
;
}
.el-tabs__nav-scroll
{
overflow
:
hidden
;
margin-left
:
40px
;
}
.el-tabs--card
>
.el-tabs__header
{
border-bottom
:
0px
;
}
</
style
>
<
style
src=
"@a/css/tao.css"
></
style
>
src/views/list/index.vue
View file @
5231f5f
...
...
@@ -7,7 +7,7 @@
<i
class=
"el-icon-plus"
></i>
<span
style=
"margin-left: 8px"
>
添加汽车权益
</span>
</el-button>
<div
class=
"
tableCtn
noneOperation"
>
<div
class=
"noneOperation"
>
<GLTable
ref=
"carTable"
:tableParams=
"carTableParams"
:pageConf=
"cardsDatail"
:getListApi=
"getCardListApi"
>
<div
slot=
"mainPageFlag"
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"carsDisplay(scope.scope)"
>
{{
scope
.
scope
.
mainPageFlag
==
1
?
'取消首页展示'
:
'首页展示'
}}
</el-button>
...
...
@@ -43,7 +43,7 @@
</el-button>
</div>
<div
class=
"
tableCt
n"
>
<div
class=
"
noneOperatio
n"
>
<GLTable
ref=
"goodsTable"
:tableParams=
"goodsTableParams"
:tableData=
"goodsTableData"
:pageConf=
"goodsDatail"
>
<div
slot=
"mainPageFlag"
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"goodsDisplay(scope.scope)"
>
{{ scope.scope.mainPageFlag == 1 ? '取消首页展示' : '首页展示' }}
</el-button>
...
...
@@ -178,7 +178,7 @@ export default {
}
</
script
>
<
style
src=
"@a/css/tao.css"
></
style
>
<
style
>
<
style
scoped
>
.equity-title
{
font-size
:
16px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
...
...
@@ -190,6 +190,11 @@ export default {
padding
:
20px
0
10px
;
background
:
#f4f6fc
;
border-radius
:
4px
;
width
:
auto
;
}
.tags-box.el-tag
{
background
:
#fff
;
border
:
1px
solid
#5850ff
;
}
.el-tag
+
.el-tag
{
margin-left
:
10px
;
...
...
@@ -258,4 +263,10 @@ export default {
.secondBox
{
margin-top
:
50px
;
}
.el-table__fixed-right-patch
{
position
:
absolute
;
top
:
-1px
;
right
:
0
;
background-color
:
#fff
;
}
</
style
>
\ No newline at end of file
src/views/rightsCard/index.vue
View file @
5231f5f
...
...
@@ -30,8 +30,8 @@
</div>
<!-- 推广弹窗 -->
<el-dialog
:visible
.
sync=
"isVisible"
:before-close=
"handleClose"
:close-on-click-modal=
"false"
width=
"547px"
>
<div
class=
"baseinformation"
><span
class=
"titleText"
>
试用推广
</span></div>
<el-form
:model=
"editForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"68px"
>
<div
class=
"baseinformation"
><span
class=
"titleText"
>
试用推广
</span></div>
<div
class=
"form"
>
<div
class=
"main-qrcode"
>
<img
:src=
"editForm.qrCode"
ref=
"Qrcode"
id=
"qrCode"
/>
...
...
@@ -52,12 +52,12 @@
</el-dialog>
<!-- 新建权益卡弹窗 -->
<el-dialog
title=
""
:visible
.
sync=
"dialogVisible"
width=
"958px"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"auto"
class=
"demo-ruleForm
"
label-position=
"left"
>
<el-form
class=
"dialogForm"
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"auto
"
label-position=
"left"
>
<!-- 基础表单 -->
<div
class=
"baseinformation"
><span
class=
"titleText"
>
基本信息
</span></div>
<div
class=
"form"
>
<div
class=
"form
"
>
<el-form-item
label=
"名称:"
prop=
"cardClassName"
id=
"name"
>
<el-input
v-model=
"ruleForm.cardClassName"
maxlength=
"15"
type=
"text"
size=
"small"
style=
"width: 320px"
placeholder=
"请输入"
></el-input>
<el-input
v-model=
"ruleForm.cardClassName"
maxlength=
"15"
type=
"text"
size=
"small"
placeholder=
"请输入"
></el-input>
</el-form-item>
<el-form-item
label=
"卡片样式:"
prop=
"backgroundImage"
>
<div
class=
"imageList"
>
...
...
@@ -67,7 +67,7 @@
</div>
</el-form-item>
<el-form-item
label=
"渠道门店:"
prop=
"merchantName"
>
<el-select
v-model=
"ruleForm.merchantName"
filterable
remote
reserve-keyword
placeholder=
"请输入门店名称"
:remote-method=
"generateRemoteMethod"
:loading=
"loading"
:disabled=
"disableSelect"
size=
"small"
class=
"dialogInpu
t"
>
<el-select
size=
"small"
v-model=
"ruleForm.merchantName"
filterable
remote
reserve-keyword
placeholder=
"请输入门店名称"
:remote-method=
"generateRemoteMethod"
:loading=
"loading"
:disabled=
"disableSelec
t"
>
<el-option
v-for=
"(item, index) in generateOptions"
:key=
"index"
:label=
"item.merchantName"
:value=
"item.merchantName"
></el-option>
</el-select>
</el-form-item>
...
...
@@ -82,14 +82,14 @@
</el-radio-group>
</el-form-item>
<el-form-item
label=
"权益商品编码:"
prop=
""
>
<el-input-number
class=
"dialogInput"
v-model=
"ruleForm.platformGoodsId"
size=
"small"
:controls=
"disableInputNumber"
></el-input-number>
<el-input-number
v-model=
"ruleForm.platformGoodsId"
size=
"small"
:controls=
"disableInputNumber"
></el-input-number>
<span
class=
"codeTxt"
>
用于关联流量卡服务测的商品
</span>
</el-form-item>
<el-form-item
label=
"使用说明:"
prop=
"usageNotes"
>
<el-input
type=
"textarea"
v-model=
"ruleForm.usageNotes"
maxlength=
"500"
class=
"dialogInput
"
size=
"small"
></el-input>
<el-input
type=
"textarea"
v-model=
"ruleForm.usageNotes"
style=
"width:320px"
maxlength=
"500
"
size=
"small"
></el-input>
</el-form-item>
<el-form-item
label=
" 售价:"
prop=
"price"
>
<el-input-number
class=
"dialogInput"
v-model=
"ruleForm.price"
controls-position=
"right"
size=
"mini"
:min=
"1"
:max=
"9999.99"
></el-input-number>
<el-input-number
v-model=
"ruleForm.price"
controls-position=
"right"
size=
"mini"
:min=
"1"
:max=
"9999.99"
></el-input-number>
元
</el-form-item>
</div>
...
...
@@ -681,7 +681,7 @@ export default {
.codeTxt
{
color
:
#8c939d
;
font-size
:
12px
;
margin-left
:
-97
px
;
margin-left
:
198
px
;
}
.code
{
color
:
#8c939d
;
...
...
@@ -728,12 +728,15 @@ export default {
color
:
#4c4c4c
;
line-height
:
20px
;
}
.dialogInput
{
width
:
320px
;
}
.form
{
padding
:
32px
20px
32px
48px
;
}
.dialogForm
.el-input--small
.el-input__inner
{
height
:
32px
;
line-height
:
32px
;
width
:
320px
!important
;
}
.el-dialog__body
{
padding
:
0
;
color
:
#606266
;
...
...
src/views/sale/index.vue
View file @
5231f5f
<
template
>
<!--
<div
class=
"layout"
>
<div
class=
"search-box"
>
<div
class=
"top"
>
<div
class=
"item"
>
售后编号:
<div
class=
"input"
>
<el-input
v-model=
"searchObj.refundCode"
placeholder=
""
size=
"small"
></el-input>
</div>
</div>
<div
class=
"item"
>
订单编号:
<div
class=
"input"
>
<el-input
v-model=
"searchObj.orderCode"
placeholder=
""
size=
"small"
></el-input>
</div>
</div>
<div
class=
"item"
>
商品名称:
<div
class=
"input"
>
<el-input
v-model=
"searchObj.productName"
placeholder=
""
size=
"small"
></el-input>
</div>
</div>
<div
class=
"item"
>
售后时间:
<el-date-picker
v-model=
"date"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
size=
"small"
value-format=
"yyyy-MM-dd"
>
</el-date-picker>
</div>
<div
class=
"item"
>
用户信息:
<div
class=
"input"
>
<el-input
v-model=
"searchObj.userInfo"
placeholder=
""
size=
"small"
></el-input>
</div>
</div>
-----------
<div
class=
"item"
>
渠道:
<el-select
v-model=
"searchObj.channl"
placeholder=
"请选择"
>
<el-option
v-for=
"item in channlList"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</div>
--------
<div
class=
"item"
>
门店名称:
<div
class=
"input"
>
<el-input
v-model=
"searchObj.merchantName"
placeholder=
""
size=
"small"
></el-input>
</div>
</div>
</div>
<div
class=
"bottom"
>
<el-button-group>
<el-button
type=
"primary"
@
click=
"search"
size=
"small"
>
查询
</el-button>
<el-button
type=
"default"
@
click=
"reset"
size=
"small"
>
重置
</el-button>
</el-button-group>
</div>
</div>
<div
class=
"table-box"
>
<el-tabs
v-model=
"tabIndex"
@
tab-click=
"handleClick"
data-target=
"redundStatus"
>
<el-tab-pane
label=
"全部"
name=
""
></el-tab-pane>
<el-tab-pane
label=
"售后中"
name=
"1"
></el-tab-pane>
<el-tab-pane
label=
"售后完成"
name=
"2,3"
></el-tab-pane>
</el-tabs>
<d2-table
v-if=
"flag"
ref=
"table"
:searchForm=
"searchObj"
:tableParams=
"tableParams"
:getListApi=
"tableParams.getListApi"
:hasNum=
"false"
>
<span
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<el-button
type=
"text"
@
click=
"jump(scope.scope,'sale')"
size=
"small"
>
查看详情
</el-button>
</span>
</d2-table>
</div>
</div>
-->
<div
class=
"equity-wrap"
>
<div
class=
"equity-wrap contain"
>
<el-form
:inline=
"true"
style=
"width: 100%"
:model=
"searchForm"
label-width=
"70px"
label-position=
"right"
>
...
...
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