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 cde31988
authored
Dec 11, 2021
by
zhouzy
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
bdc45da5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
57 additions
and
25 deletions
package-lock.json
package.json
src/assets/css/tao.css
src/components/equity-dialog/index.vue
src/views/collection/index.vue
src/views/list/index.vue
src/views/rightsCard/index.vue
package-lock.json
View file @
cde3198
...
@@ -6356,9 +6356,9 @@
...
@@ -6356,9 +6356,9 @@
}
}
},
},
"glsx-components"
:
{
"glsx-components"
:
{
"version"
:
"1.2.
3
"
,
"version"
:
"1.2.
5
"
,
"resolved"
:
"https://registry.npmjs.org/glsx-components/-/glsx-components-1.2.
3
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/glsx-components/-/glsx-components-1.2.
5
.tgz"
,
"integrity"
:
"sha512-
WMMIfbWjbmtLYLNZFftl7MOG877shwirrGQyl2fhMdlcTEVKjJVtMgNLo2BjgWSPVu9b0SvDdhk1d7JuTns/tg
=="
,
"integrity"
:
"sha512-
lXobGXHn8NlO3SI/q7XpdmW5HaqIdwRuaSGkiy9Lfq5hFgi55VmSjJpEh99Srk2blCMNP4tHvVfdS/z1rucB2w
=="
,
"requires"
:
{
"requires"
:
{
"core-js"
:
"^3.6.5"
,
"core-js"
:
"^3.6.5"
,
"element-ui"
:
"^2.15.6"
,
"element-ui"
:
"^2.15.6"
,
...
...
package.json
View file @
cde3198
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
"el-tree-transfer"
:
"^2.4.7"
,
"el-tree-transfer"
:
"^2.4.7"
,
"element-ui"
:
"^2.15.6"
,
"element-ui"
:
"^2.15.6"
,
"glsx-common"
:
"^1.4.9"
,
"glsx-common"
:
"^1.4.9"
,
"glsx-components"
:
"^1.2.
4
"
,
"glsx-components"
:
"^1.2.
5
"
,
"glsx-vue-components"
:
"^1.0.15"
,
"glsx-vue-components"
:
"^1.0.15"
,
"jquery"
:
"^3.6.0"
,
"jquery"
:
"^3.6.0"
,
"vue"
:
"^2.6.14"
,
"vue"
:
"^2.6.14"
,
...
...
src/assets/css/tao.css
View file @
cde3198
...
@@ -281,9 +281,5 @@ img {
...
@@ -281,9 +281,5 @@ img {
height
:
28px
;
height
:
28px
;
border-bottom
:
1px
solid
#d8d8d8
;
border-bottom
:
1px
solid
#d8d8d8
;
}
}
.titleText
{
margin-left
:
20px
;
line-height
:
28px
;
}
/*# sourceMappingURL=tao.css.map */
/*# sourceMappingURL=tao.css.map */
\ No newline at end of file
\ No newline at end of file
src/components/equity-dialog/index.vue
View file @
cde3198
<
template
>
<
template
>
<div
class=
"equity-dialog"
>
<div
class=
"equity-dialog"
>
<el-dialog
title=
""
:visible
.
sync=
"show"
:show-close=
"false"
:close-on-press-escape=
"false"
:close-on-click-modal=
"false"
width=
"712px"
class=
"equityDialog"
>
<el-dialog
:title=
" type == 1 ? '添加汽车权益' : '添加商品权益'"
:visible
.
sync=
"show"
:show-close=
"true"
:close-on-press-escape=
"false"
:close-on-click-modal=
"false"
width=
"712px"
class=
"equityDialog"
>
<div
class=
"baseinformation"
>
<span
class=
"titleDialogText"
>
{{
type
==
1
?
'添加汽车权益'
:
'添加商品权益'
}}
</span>
</div>
<div
class=
"form"
>
<div
class=
"form"
>
<el-form
class=
"equityForm"
:model=
"form"
:rules=
"rules"
ref=
"ruleForm"
label-position=
"right"
label-width=
"auto"
>
<el-form
class=
"equityForm"
:model=
"form"
:rules=
"rules"
ref=
"ruleForm"
label-position=
"right"
label-width=
"auto"
>
<el-form-item
v-if=
"type == 1"
label=
"服务提供方"
prop=
"supplier"
>
<el-form-item
v-if=
"type == 1"
label=
"服务提供方"
prop=
"supplier"
>
...
@@ -312,4 +309,18 @@ line-height: 28px;
...
@@ -312,4 +309,18 @@ line-height: 28px;
.buttonBtn
.el-button
+
.el-button
{
.buttonBtn
.el-button
+
.el-button
{
margin-left
:
40px
;
margin-left
:
40px
;
}
}
.equityDialog
.el-dialog__header
{
padding
:
20px
20px
20px
;
border-bottom
:
1px
solid
#d8d8d8
;
font-size
:
20px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
}
.equityDialog
.el-dialog__footer
{
padding
:
16px
20px
;
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
;
border-top
:
1px
solid
#e6e6e6
;
text-align
:
center
;
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/collection/index.vue
View file @
cde3198
This diff is collapsed.
Click to expand it.
src/views/list/index.vue
View file @
cde3198
...
@@ -87,8 +87,8 @@ export default {
...
@@ -87,8 +87,8 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
this
.
$refs
.
goodsTable
.
tableHeightValues
=
'500'
//
this.$refs.goodsTable.tableHeightValues = '500'
this
.
$refs
.
carTable
.
tableHeightValues
=
'500'
//
this.$refs.carTable.tableHeightValues = '500'
this
.
init
()
this
.
init
()
},
},
methods
:
{
methods
:
{
...
...
src/views/rightsCard/index.vue
View file @
cde3198
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<span
style=
"margin-left: 8px"
>
新建权益卡
</span>
<span
style=
"margin-left: 8px"
>
新建权益卡
</span>
</el-button>
</el-button>
</div>
</div>
<div
class=
"tableBox"
style=
"margin-left: 40px; margin-top: 20px"
>
<div
class=
"tableBox"
style=
"margin-left: 40px; margin-top: 20px
; margin-right: 20px
"
>
<div
class=
"topline"
>
<div
class=
"topline"
>
<div
class=
"selectStore"
>
搜索门店
</div>
<div
class=
"selectStore"
>
搜索门店
</div>
<el-select
size=
"small"
v-model=
"searchForm.merchantName"
filterable
remote
reserve-keyword
placeholder=
"请输入门店名称"
:remote-method=
"remoteMethod"
:loading=
"loading"
clearable
style=
"margin-left: 10px"
>
<el-select
size=
"small"
v-model=
"searchForm.merchantName"
filterable
remote
reserve-keyword
placeholder=
"请输入门店名称"
:remote-method=
"remoteMethod"
:loading=
"loading"
clearable
style=
"margin-left: 10px"
>
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
</div>
</div>
</div>
</div>
<div
class=
"tableCtn"
>
<div
class=
"tableCtn"
>
<GLTable
ref=
"recordTable"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
>
<GLTable
ref=
"recordTable"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:noDataImg=
"url"
@
setTableFinishFun=
"setTableFinishFun"
>
<span
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<span
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<el-button
type=
"text"
@
click=
"edit(scope.scope)"
class=
"tableBtn"
size=
"small"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"edit(scope.scope)"
class=
"tableBtn"
size=
"small"
>
编辑
</el-button>
<el-button
type=
"text"
:disabled=
"scope.scope.tryAble == 0 ? true : false"
@
click=
"extension(scope.scope)"
class=
"tableBtn"
size=
"small"
>
推广
</el-button>
<el-button
type=
"text"
:disabled=
"scope.scope.tryAble == 0 ? true : false"
@
click=
"extension(scope.scope)"
class=
"tableBtn"
size=
"small"
>
推广
</el-button>
...
@@ -29,8 +29,8 @@
...
@@ -29,8 +29,8 @@
</div>
</div>
</div>
</div>
<!-- 推广弹窗 -->
<!-- 推广弹窗 -->
<el-dialog
:visible
.
sync=
"isVisible"
:before-close=
"handleClose"
:close-on-click-modal=
"false"
width=
"547px
"
>
<el-dialog
title=
"试用推广"
:visible
.
sync=
"isVisible"
:before-close=
"handleClose"
:close-on-click-modal=
"false"
width=
"547px"
class=
"addCardsDialog
"
>
<
div
class=
"baseinformation"
><span
class=
"titleText"
>
试用推广
</span></div
>
<
!--
<div
class=
"baseinformation"
><span
class=
"titleText"
>
试用推广
</span></div>
--
>
<el-form
:model=
"editForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"68px"
>
<el-form
:model=
"editForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"68px"
>
<div
class=
"form"
>
<div
class=
"form"
>
<div
class=
"main-qrcode"
>
<div
class=
"main-qrcode"
>
...
@@ -46,13 +46,13 @@
...
@@ -46,13 +46,13 @@
</div>
</div>
</el-form>
</el-form>
<div
slot=
"footer"
>
<div
slot=
"footer"
>
<el-button
type=
"primary"
@
click=
"handleConfirm"
size=
"small"
>
确定
</el-button>
<el-button
size=
"small"
@
click=
"handleClose"
>
取消
</el-button>
<el-button
size=
"small"
@
click=
"handleClose"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleConfirm"
size=
"small"
>
确定
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
<!-- 新建权益卡弹窗 -->
<!-- 新建权益卡弹窗 -->
<el-dialog
title=
"
"
v-if=
"dialogVisible"
:visible
.
sync=
"dialogVisible"
width=
"958px"
:before-close=
"close
Dialog"
>
<el-dialog
title=
"
基本信息"
v-if=
"dialogVisible"
:visible
.
sync=
"dialogVisible"
width=
"958px"
:before-close=
"closeDialog"
class=
"addCards
Dialog"
>
<
div
class=
"baseinformation"
><span
class=
"titleText"
>
基本信息
</span></div
>
<
!--
<div
class=
"baseinformation"
><span
class=
"titleText"
>
基本信息
</span></div>
--
>
<el-form
class=
"dialogForm"
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"auto"
label-position=
"left"
>
<el-form
class=
"dialogForm"
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"auto"
label-position=
"left"
>
<!-- 基础表单 -->
<!-- 基础表单 -->
<div
class=
"form"
>
<div
class=
"form"
>
...
@@ -104,13 +104,17 @@
...
@@ -104,13 +104,17 @@
<span
class=
"codeTxt2"
>
设置后将生成试用链接和二维码可用于推广
</span>
<span
class=
"codeTxt2"
>
设置后将生成试用链接和二维码可用于推广
</span>
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"buttonCtn"
>
<
!--
<
div
class=
"buttonCtn"
>
<el-form-item>
<el-form-item>
<el-button
:disabled=
"submitBtn"
type=
"primary"
@
click=
"submitForm('ruleForm')"
size=
"small"
>
提交
</el-button>
<el-button
:disabled=
"submitBtn"
type=
"primary"
@
click=
"submitForm('ruleForm')"
size=
"small"
>
提交
</el-button>
<el-button
size=
"small"
@
click=
"resetForm('ruleForm')"
>
取消
</el-button>
<el-button
size=
"small"
@
click=
"resetForm('ruleForm')"
>
取消
</el-button>
</el-form-item>
</el-form-item>
</div>
</div>
-->
</el-form>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"resetForm('ruleForm')"
>
取消
</el-button>
<el-button
:disabled=
"submitBtn"
type=
"primary"
@
click=
"submitForm('ruleForm')"
size=
"small"
>
提交
</el-button>
</span>
</el-dialog>
</el-dialog>
</div>
</div>
</
template
>
</
template
>
...
@@ -134,10 +138,12 @@ function date_format(date) {
...
@@ -134,10 +138,12 @@ function date_format(date) {
var
ss
=
date2
.
getSeconds
()
<
10
?
'0'
+
date2
.
getSeconds
()
:
date2
.
getSeconds
()
var
ss
=
date2
.
getSeconds
()
<
10
?
'0'
+
date2
.
getSeconds
()
:
date2
.
getSeconds
()
return
YY
+
MM
+
DD
+
' '
+
hh
+
mm
+
ss
return
YY
+
MM
+
DD
+
' '
+
hh
+
mm
+
ss
}
}
import
url
from
'@/assets/empty.png'
// import {memberCardDetails} from "@/api/test";
// import {memberCardDetails} from "@/api/test";
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
url
:
url
,
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
hasTryNum
:
''
,
hasTryNum
:
''
,
value
:
false
,
value
:
false
,
...
@@ -299,6 +305,12 @@ export default {
...
@@ -299,6 +305,12 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
setTableFinishFun
()
{
//接收到的数据为空
if
(
!
this
.
$refs
.
table
.
data
.
length
)
{
this
.
$refs
.
table
.
setTableHeightFun
()
}
},
closeDialog
()
{
closeDialog
()
{
this
.
value
=
false
this
.
value
=
false
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
...
@@ -592,7 +604,6 @@ export default {
...
@@ -592,7 +604,6 @@ export default {
}
}
.tableCtn
{
.tableCtn
{
margin-top
:
20px
;
margin-top
:
20px
;
margin-left
:
20px
;
margin-right
:
20px
;
margin-right
:
20px
;
}
}
/* 弹窗界面样式 */
/* 弹窗界面样式 */
...
@@ -664,7 +675,7 @@ export default {
...
@@ -664,7 +675,7 @@ export default {
margin-right
:
20px
;
margin-right
:
20px
;
}
}
.imgBg
{
.imgBg
{
background
:
rgb
(
255
,
173
,
134
)
;
background
:
#5850ff
;
}
}
.topline
{
.topline
{
display
:
flex
;
display
:
flex
;
...
@@ -746,5 +757,19 @@ export default {
...
@@ -746,5 +757,19 @@ export default {
.tryDays
{
.tryDays
{
margin-top
:
12px
;
margin-top
:
12px
;
}
}
.addCardsDialog
.el-dialog__header
{
padding
:
20px
20px
20px
;
border-bottom
:
1px
solid
#d8d8d8
;
font-size
:
20px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
}
.addCardsDialog
.el-dialog__footer
{
padding
:
16px
20px
;
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
;
border-top
:
1px
solid
#e6e6e6
;
text-align
:
center
;
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
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