Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pseer
gxpt_web
Commits
1bccc422
Commit
1bccc422
authored
Oct 17, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改次卡配置
parent
8cd2a28a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
20 deletions
+29
-20
index.vue
src/views/system/consumerSecondaryCard/index.vue
+2
-2
index.vue
src/views/system/secondaryCardConf/index.vue
+27
-16
index.vue
src/views/system/secondaryCardLog/index.vue
+0
-2
No files found.
src/views/system/consumerSecondaryCard/index.vue
View file @
1bccc422
...
...
@@ -78,8 +78,8 @@
<!-- <el-table-column label="用户ID" align="center" prop="consumerId" />-->
<!-- <el-table-column label="用户手机号" align="center" prop="phone" />-->
<!-- <el-table-column label="套餐id" align="center" prop="packId" />-->
<el-table-column
align=
"center"
label=
"
套餐名称"
prop=
"packName
"
/>
<el-table-column
align=
"center"
label=
"
套餐金额"
prop=
"packPrice
"
/>
<el-table-column
align=
"center"
label=
"
单次时长"
prop=
"singleDuration
"
/>
<el-table-column
align=
"center"
label=
"
单次金额"
prop=
"singleAmount
"
/>
<el-table-column
align=
"center"
label=
"次卡有效期"
prop=
"expirationDate"
/>
<el-table-column
align=
"center"
label=
"次卡次数"
prop=
"number"
/>
<!-- <el-table-column label="删除标记:1-删除,0-正常" align="center" prop="isDelete" />-->
...
...
src/views/system/secondaryCardConf/index.vue
View file @
1bccc422
...
...
@@ -9,16 +9,23 @@
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"所属套餐"
prop=
"packId"
>
<el-select
v-model=
"queryParams.packId"
clearable
placeholder=
"请选择套餐"
>
<el-option
v-for=
"item in packList"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
</el-option>
</el-select>
<el-form-item
label=
"单次金额"
prop=
"singleAmount"
>
<el-input
v-model=
"queryParams.singleAmount"
clearable
placeholder=
"请输入配置名称"
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"单次时长"
prop=
"singleDuration"
>
<el-input
v-model=
"queryParams.singleDuration"
clearable
placeholder=
"请输入配置名称"
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-form-item>
<!--
<el-form-item
label=
"次卡金额"
prop=
"secondaryCardAmount"
>
-->
<!--
<el-input-->
<!-- v-model="queryParams.secondaryCardAmount"-->
...
...
@@ -121,8 +128,8 @@
<el-table-column
align=
"center"
label=
"配置名称"
prop=
"name"
/>
<el-table-column
align=
"center"
label=
"次卡金额"
prop=
"secondaryCardAmount"
/>
<!--
<el-table-column
label=
"套餐id"
align=
"center"
prop=
"packId"
/>
-->
<el-table-column
align=
"center"
label=
"
套餐名称"
prop=
"packName
"
/>
<el-table-column
align=
"center"
label=
"
套餐金额"
prop=
"packPrice
"
/>
<el-table-column
align=
"center"
label=
"
单次金额"
prop=
"singleAmount
"
/>
<el-table-column
align=
"center"
label=
"
单次时长"
prop=
"singleDuration
"
/>
<el-table-column
align=
"center"
label=
"次卡有效期"
prop=
"validityPeriod"
/>
<el-table-column
align=
"center"
label=
"次卡次数"
prop=
"number"
/>
<!--
<el-table-column
label=
"是否删除(0:否,1:是)"
align=
"center"
prop=
"isDelete"
/>
-->
...
...
@@ -167,8 +174,13 @@
<el-input-number
v-model=
"form.secondaryCardAmount"
:max=
"999"
:min=
"1"
/>
<!-- <el-input v-model="form.secondaryCardAmount" placeholder="请输入次卡金额" />-->
</el-form-item>
<el-form-item
label=
"套餐id"
prop=
"packId"
>
<el-input
v-model=
"form.packId"
placeholder=
"请输入套餐id"
/>
<el-form-item
label=
"单次时长"
prop=
"singleDuration"
>
<el-input-number
v-model=
"form.singleDuration"
:max=
"999"
:min=
"1"
/>
<!-- <el-input v-model="form.validityPeriod" placeholder="请输入次卡有效期" />-->
</el-form-item>
<el-form-item
label=
"单次金额"
prop=
"singleAmount"
>
<el-input-number
v-model=
"form.singleAmount"
:max=
"999"
:min=
"1"
/>
<!-- <el-input v-model="form.validityPeriod" placeholder="请输入次卡有效期" />-->
</el-form-item>
<el-form-item
label=
"次卡有效期"
prop=
"validityPeriod"
>
<el-input-number
v-model=
"form.validityPeriod"
:max=
"999"
:min=
"1"
/>
...
...
@@ -236,6 +248,8 @@ export default {
validityPeriod
:
null
,
number
:
null
,
isDelete
:
null
,
singleDuration
:
null
,
singleAmount
:
null
},
// 表单参数
form
:
{},
...
...
@@ -244,9 +258,6 @@ export default {
secondaryCardAmount
:
[
{
required
:
true
,
message
:
"次卡金额不能为空"
,
trigger
:
"blur"
}
],
packId
:
[
{
required
:
true
,
message
:
"套餐id不能为空"
,
trigger
:
"blur"
}
],
number
:
[
{
required
:
true
,
message
:
"次卡次数不能为空"
,
trigger
:
"blur"
}
],
...
...
src/views/system/secondaryCardLog/index.vue
View file @
1bccc422
...
...
@@ -135,8 +135,6 @@
<!-- <el-table-column label="套餐id" align="center" prop="packId" />-->
<el-table-column
align=
"center"
label=
"次卡名称"
prop=
"confName"
/>
<el-table-column
align=
"center"
label=
"次卡金额"
prop=
"confAmount"
/>
<el-table-column
align=
"center"
label=
"套餐名称"
prop=
"packName"
/>
<el-table-column
align=
"center"
label=
"套餐金额"
prop=
"packPrice"
/>
<el-table-column
align=
"center"
label=
"使用次数"
prop=
"usageCount"
/>
<el-table-column
align=
"center"
label=
"剩余次数"
prop=
"residueCount"
/>
<!-- <el-table-column label="删除标记:1-删除,0-正常" align="center" prop="isDelete" />-->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment