Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
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 7d465e41
authored
Aug 15, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
开通配置表单修改
1 parent
7cc6a58d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
70 additions
and
58 deletions
src/assets/css/public.scss
src/views/beforeSale/equityList.vue
src/views/config/index.vue
src/assets/css/public.scss
View file @
7d465e4
...
@@ -165,7 +165,7 @@
...
@@ -165,7 +165,7 @@
background
:
#ffffff
;
background
:
#ffffff
;
margin
:
0
0
20px
0
;
margin
:
0
0
20px
0
;
padding
:
20px
;
padding
:
20px
;
box-shadow
:
0
1px
5px
0
rgba
(
38
,
38
,
38
,
0
.1
);
//
box-shadow: 0 1px 5px 0 rgba(38, 38, 38, 0.1);
}
}
.equity-wrap
.contain
.el-table__empty-text
{
.equity-wrap
.contain
.el-table__empty-text
{
display
:
inline-block
;
display
:
inline-block
;
...
...
src/views/beforeSale/equityList.vue
View file @
7d465e4
...
@@ -1057,7 +1057,7 @@ export default {
...
@@ -1057,7 +1057,7 @@ export default {
}
}
.find_wrap
{
.find_wrap
{
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
//
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
padding
:
20px
20px
2px
20px
;
padding
:
20px
20px
2px
20px
;
.resetBtn
{
.resetBtn
{
background
:
#ffffff
;
background
:
#ffffff
;
...
@@ -1071,7 +1071,7 @@ export default {
...
@@ -1071,7 +1071,7 @@ export default {
.table_wrapper
{
.table_wrapper
{
//
margin-top
:
10px
;
//
margin-top
:
10px
;
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
//
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
padding
:
0
20px
20px
;
padding
:
0
20px
20px
;
}
}
...
...
src/views/config/index.vue
View file @
7d465e4
...
@@ -3,28 +3,7 @@
...
@@ -3,28 +3,7 @@
<GLButton
fn=
"开通配置"
class=
"addGood"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"jump('add')"
>
开通配置
</GLButton>
<GLButton
fn=
"开通配置"
class=
"addGood"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"jump('add')"
>
开通配置
</GLButton>
<!--
<el-button
fn=
"开通配置"
class=
"addGood"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"jump('add')"
>
开通配置
</el-button>
-->
<!--
<el-button
fn=
"开通配置"
class=
"addGood"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"jump('add')"
>
开通配置
</el-button>
-->
<div
class=
"equity-wrap contain merchant-select"
>
<div
class=
"equity-wrap contain merchant-select"
>
<el-form
:inline=
"true"
style=
"width: 100%"
:model=
"searchForm"
label-width=
"85px"
label-position=
"right"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:searchSelectObj=
"searchSelectObj"
:formData=
"searchFormData"
@
handleOk=
"selConfig"
@
handleRest=
"selConfig('reset')"
></GLCombiForm>
<el-row>
<el-form-item
size=
"small"
label=
""
>
<el-input
placeholder=
"请输入内容"
v-model=
"selectInput"
class=
"input-with-select"
>
<el-select
v-model=
"select"
slot=
"prepend"
placeholder=
"请选择"
>
<el-option
label=
"商户名称"
value=
"1"
></el-option>
<el-option
label=
"商户号"
value=
"2"
></el-option>
</el-select>
</el-input>
</el-form-item>
<el-form-item
class=
"open-status"
size=
"small"
label=
"开通状态"
style=
"margin-left: -10px"
>
<el-select
size=
"small"
v-model=
"openFlag"
>
<el-option
v-for=
"item in openFlagList"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item
size=
"small"
class=
"fr-mr0"
>
<el-button
size=
"small"
@
click=
"selConfig('reset')"
>
重置
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"selConfig"
>
查询
</el-button>
<el-button
size=
"small"
@
click=
"exportTable"
>
导出
</el-button>
</el-form-item>
</el-row>
</el-form>
<div
class=
"row-btns"
style=
"margin-top: 20px"
>
<div
class=
"row-btns"
style=
"margin-top: 20px"
>
<!--
<el-button
size=
"small"
@
click=
"toggleAll"
>
全选
</el-button>
-->
<!--
<el-button
size=
"small"
@
click=
"toggleAll"
>
全选
</el-button>
-->
<!--
<el-checkbox
v-model=
"checkbox"
@
change=
"toggleAll"
style=
"margin-left:20px"
>
全选
</el-checkbox>
-->
<!--
<el-checkbox
v-model=
"checkbox"
@
change=
"toggleAll"
style=
"margin-left:20px"
>
全选
</el-checkbox>
-->
...
@@ -46,7 +25,7 @@
...
@@ -46,7 +25,7 @@
</div>
</div>
</
template
>
</
template
>
<
script
type=
'text/ecmascript-6'
>
<
script
type=
"text/ecmascript-6"
>
function
date_format
(
date
)
{
function
date_format
(
date
)
{
var
date2
=
new
Date
(
date
)
var
date2
=
new
Date
(
date
)
var
YY
=
date2
.
getFullYear
()
+
'-'
var
YY
=
date2
.
getFullYear
()
+
'-'
...
@@ -76,10 +55,57 @@ export default {
...
@@ -76,10 +55,57 @@ export default {
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
flag
:
true
,
flag
:
true
,
searchForm
:
{
searchForm
:
{
merchantId
:
''
,
openFlag
:
''
merchantName
:
''
},
},
searchSelectObj
:
{
idOrName
:
{
attr
:
'merchantName'
,
value
:
''
}
},
searchFormData
:
[
{
type
:
'selectInput'
,
selectName
:
'idOrName'
,
isClear
:
true
,
inputWidth
:
'325px'
,
selectWidth
:
'110px'
,
selectOption
:
[
{
label
:
'商户名称'
,
name
:
'merchantName'
},
{
label
:
'商户号'
,
name
:
'merchantId'
}
],
handleSelectChange
:
value
=>
{
this
.
searchSelectObj
.
idOrName
.
value
=
''
}
},
{
label
:
'开通状态'
,
name
:
'openFlag'
,
type
:
'select'
,
optionList
:
[
{
label
:
'全部'
,
value
:
''
},
{
label
:
'未开通'
,
value
:
'0'
},
{
label
:
'已开通'
,
value
:
'1'
}
],
optionId
:
'value'
,
optionLabel
:
'label'
}
],
openFlagList
:
[
openFlagList
:
[
{
{
label
:
'全部'
,
label
:
'全部'
,
...
@@ -162,7 +188,7 @@ export default {
...
@@ -162,7 +188,7 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
},
},
created
(){
created
(){
this
.
diffHost
()
this
.
diffHost
()
...
@@ -198,7 +224,7 @@ export default {
...
@@ -198,7 +224,7 @@ export default {
if
(
e
==
'add'
)
{
if
(
e
==
'add'
)
{
this
.
$router
.
push
({
path
:
'/config/addConfig'
,
query
:
{
$title
:
encodeURI
(
'开通配置'
)
}
})
this
.
$router
.
push
({
path
:
'/config/addConfig'
,
query
:
{
$title
:
encodeURI
(
'开通配置'
)
}
})
}
else
{
}
else
{
let
query
=
{
$title
:
encodeURI
(
'修改配置'
)
}
let
query
=
{
$title
:
encodeURI
(
'修改配置'
)
}
query
.
merchantId
=
e
query
.
merchantId
=
e
console
.
log
(
query
,
'query'
)
console
.
log
(
query
,
'query'
)
this
.
$router
.
push
({
path
:
'/config/addConfig'
,
query
})
this
.
$router
.
push
({
path
:
'/config/addConfig'
,
query
})
...
@@ -213,26 +239,22 @@ export default {
...
@@ -213,26 +239,22 @@ export default {
})
})
},
},
selConfig
(
e
)
{
selConfig
(
e
)
{
if
(
this
.
select
==
1
)
{
this
.
searchForm
=
{
this
.
searchForm
.
merchantName
=
this
.
selectInput
openFlag
:
this
.
searchForm
.
openFlag
this
.
searchForm
.
merchantId
=
''
}
else
{
this
.
searchForm
.
merchantId
=
this
.
selectInput
this
.
searchForm
.
merchantName
=
''
}
}
if
(
e
==
'reset'
)
{
if
(
e
==
'reset'
)
{
this
.
openFlag
=
'全部'
this
.
searchForm
=
{
this
.
searchForm
=
{}
openFlag
:
''
this
.
selectInput
=
''
}
this
.
$refs
.
table
.
refreshTable
()
this
.
searchSelectObj
=
{
}
else
{
idOrName
:
{
if
(
this
.
openFlag
<
2
)
{
attr
:
'merchantName'
,
this
.
searchForm
.
openFlag
=
this
.
openFlag
value
:
''
this
.
$refs
.
table
.
refreshTable
()
}
}
else
{
this
.
$refs
.
table
.
refreshTable
()
}
}
}
}
this
.
searchForm
[
this
.
searchSelectObj
.
idOrName
.
attr
]
=
this
.
searchSelectObj
.
idOrName
.
value
this
.
$refs
.
table
.
refreshTable
()
},
},
// ['开通', '关闭'] //
// ['开通', '关闭'] //
batchOperation
(
status
)
{
batchOperation
(
status
)
{
...
@@ -377,16 +399,6 @@ export default {
...
@@ -377,16 +399,6 @@ export default {
width
:
166px
;
width
:
166px
;
color
:
#999
;
color
:
#999
;
}
}
.el-form-item__content
.el-button--small
:first-child
,
.row-btns
>
div
.el-button--small
:first-child
{
border-color
:
#5850ff
;
color
:
#5850ff
;
}
.el-form-item__content
.el-button--small
:last-child
,
.row-btns
>
div
.el-button--small
:last-child
{
border-color
:
#999
;
color
:
#666666
;
}
.row-btns
.el-checkbox__label
{
.row-btns
.el-checkbox__label
{
color
:
#333
;
color
:
#333
;
padding-left
:
8px
;
padding-left
:
8px
;
...
@@ -408,4 +420,4 @@ export default {
...
@@ -408,4 +420,4 @@ export default {
/
deep
/
.el-input-group__prepend
{
/
deep
/
.el-input-group__prepend
{
background-color
:
#fff
;
background-color
:
#fff
;
}
}
</
style
>
\ No newline at end of file
\ No newline at end of file
</
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