Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-points
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 0e2ed548
authored
Sep 09, 2025
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style(ruleConfig): 优化开关组件布局并移除冗余文本
refactor(storeCredit): 调整表单字段格式并添加间距
1 parent
b858f247
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
src/views/ruleConfig/index.vue
src/views/storeCredit/add.vue
src/views/ruleConfig/index.vue
View file @
0e2ed54
...
...
@@ -7,7 +7,9 @@
<div
class=
"table-container"
>
<GLTable
:tableData=
"tableData"
:tableParams=
"tableParams"
:hasPage=
"false"
:hasNum=
"false"
>
<template
slot=
"switchSlot"
slot-scope=
"scope"
>
<el-switch
v-model=
"scope.scope.enabled"
active-text=
"启用"
inactive-text=
"停用"
></el-switch>
<!--
<el-switch
v-model=
"scope.scope.enabled"
active-text=
"启用"
inactive-text=
"停用"
></el-switch>
-->
<el-switch
v-model=
"scope.scope.enabled"
></el-switch>
<div
class=
"switch-txt"
>
{{
scope
.
scope
.
enabled
?
'启用'
:
'停用'
}}
</div>
</
template
>
</GLTable>
</div>
...
...
@@ -86,6 +88,10 @@ export default {
.container
{
padding
:
20px
;
.switch-txt
{
display
:
inline-block
;
margin-left
:
8px
;
}
.config-card
{
background
:
#fff
;
border-radius
:
4px
;
...
...
src/views/storeCredit/add.vue
View file @
0e2ed54
...
...
@@ -36,6 +36,7 @@
<
el
-
radio
-
group
:
disabled
=
"pageObject.id"
v
-
model
=
"configForm.personType"
>
<
el
-
radio
v
-
for
=
"(item, idx) in baseData.personTypeList"
:
key
=
"idx"
:
label
=
"item.confId"
>
{{
item
.
confLabel
}}
<
/el-radio
>
<
/el-radio-group
>
<
div
style
=
"margin-bottom: 8px;"
><
/div
>
<
div
class
=
"upload"
>
<
div
class
=
"upload-btn"
>
<
el
-
button
size
=
"small"
:
disabled
=
"pageObject.disabled"
>
...
...
@@ -200,8 +201,8 @@ export default {
personType
:
[{
required
:
true
,
message
:
'请选择用户类型'
,
trigger
:
'change'
}
],
}
,
configForm
:
{
personType
:
1
}
,
personType
:
1
}
,
formData
:
[
{
label
:
'选择商户'
,
...
...
@@ -396,7 +397,7 @@ export default {
passageServiceCharge: res.integralRate
}
)
this.totalForm.customerTotal = detailList.length
this.configForm.personType = res.personType
this.configForm.personType = res.personType
const list = this.splitArray(detailList, 50)
this.importObject = {
detailList: list
...
...
@@ -454,7 +455,7 @@ export default {
merchantId,
merchantName,
detailList,
personType
personType
}
if (id) params.id = id
...
...
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