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
480fa6aa
Commit
480fa6aa
authored
Dec 04, 2023
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改订单管理页面
parent
350c911d
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
6 deletions
+23
-6
consumerCoupon.js
src/api/system/consumerCoupon.js
+7
-0
room.js
src/api/system/room.js
+7
-0
index.vue
src/views/system/order/index.vue
+0
-0
index.vue
src/views/system/pack/index.vue
+9
-6
No files found.
src/api/system/consumerCoupon.js
View file @
480fa6aa
...
@@ -56,3 +56,10 @@ export function oauthToken(code) {
...
@@ -56,3 +56,10 @@ export function oauthToken(code) {
method
:
'get'
method
:
'get'
})
})
}
}
export
function
queryCouponList
()
{
return
request
({
url
:
'/system/consumerCoupon/query'
,
method
:
'get'
})
}
src/api/system/room.js
View file @
480fa6aa
...
@@ -67,3 +67,10 @@ export function deleteRoomDevice(data) {
...
@@ -67,3 +67,10 @@ export function deleteRoomDevice(data) {
data
:
data
data
:
data
})
})
}
}
export
function
queryRoom
()
{
return
request
({
url
:
'/system/room/query'
,
method
:
'get'
})
}
src/views/system/order/index.vue
View file @
480fa6aa
This diff is collapsed.
Click to expand it.
src/views/system/pack/index.vue
View file @
480fa6aa
...
@@ -108,8 +108,7 @@
...
@@ -108,8 +108,7 @@
<el-table-column
label=
"套餐结束时段"
align=
"center"
prop=
"packaEndPeriod"
/>
<el-table-column
label=
"套餐结束时段"
align=
"center"
prop=
"packaEndPeriod"
/>
<el-table-column
label=
"是否首次下单可用"
align=
"center"
prop=
"firstOrderAvailable"
>
<el-table-column
label=
"是否首次下单可用"
align=
"center"
prop=
"firstOrderAvailable"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.firstOrderAvailable==1"
>
是
</span>
<dict-tag
:options=
"dict.type.store_is_use_coupon"
:value=
"scope.row.firstOrderAvailable"
/>
<span
v-else
>
否
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"备注"
align=
"center"
prop=
"remark"
/>
<el-table-column
label=
"备注"
align=
"center"
prop=
"remark"
/>
...
@@ -160,10 +159,13 @@
...
@@ -160,10 +159,13 @@
<el-input
v-model=
"form.packaEndPeriod"
placeholder=
"请输入套餐结束时段"
/>
<el-input
v-model=
"form.packaEndPeriod"
placeholder=
"请输入套餐结束时段"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"是否首次下单可用"
prop=
"firstOrderAvailable"
>
<el-form-item
label=
"是否首次下单可用"
prop=
"firstOrderAvailable"
>
<el-select
v-model=
"form.firstOrderAvailable"
placeholder=
"请选择是否首次下单可用"
clearable
>
<el-radio-group
v-model=
"form.firstOrderAvailable"
>
<el-option
label=
"是"
value=
"1"
/>
<el-radio
<el-option
label=
"否"
value=
"0"
/>
v-for=
"dict in dict.type.store_is_use_coupon"
</el-select>
:key=
"dict.value"
:label=
"parseInt(dict.value)"
>
{{dict.label}}
</el-radio>
</el-radio-group>
</el-form-item>
</el-form-item>
<el-form-item
label=
"备注"
prop=
"remark"
>
<el-form-item
label=
"备注"
prop=
"remark"
>
<el-input
v-model=
"form.remark"
type=
"textarea"
placeholder=
"请输入内容"
/>
<el-input
v-model=
"form.remark"
type=
"textarea"
placeholder=
"请输入内容"
/>
...
@@ -184,6 +186,7 @@ import {getRoom, getRoomPack} from "@/api/system/room";
...
@@ -184,6 +186,7 @@ import {getRoom, getRoomPack} from "@/api/system/room";
let
roomPackList
=
[];
let
roomPackList
=
[];
export
default
{
export
default
{
name
:
"Pack"
,
name
:
"Pack"
,
dicts
:
[
'store_is_use_coupon'
],
data
()
{
data
()
{
return
{
return
{
// 遮罩层
// 遮罩层
...
...
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