Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
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
new-sing
admin-base
Commits
504d7638
Commit
504d7638
authored
Dec 29, 2018
by
chenfenglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
老师列表加手机号搜索
parent
1feeb159
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
2 deletions
+18
-2
index.vue
src/components/monthOrder/index.vue
+12
-1
dialog.vue
src/components/teacher/dialog.vue
+0
-1
wordbook.js
src/util/wordbook.js
+6
-0
No files found.
src/components/monthOrder/index.vue
View file @
504d7638
...
...
@@ -158,6 +158,14 @@
<el-button
type=
"text"
v-if=
"scope.row.status === 5 || scope.row.status === 3"
@
click=
"showRef(scope.row)"
>
{{
scope
.
row
.
status
|
status
}}
</el-button>
<div
v-if=
"scope.row.status !== 5 && scope.row.status !== 3"
>
{{
scope
.
row
.
status
|
status
}}
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"order_type"
label=
"支付类型"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
order_type
|
buyTypeWay
}}
</
template
>
</el-table-column>
<el-table-column
label=
"实付金额"
...
...
@@ -290,7 +298,7 @@
import
detailDialog
from
'./detail'
import
refundDetail
from
'./refundDetail'
import
AddressArray
from
'../framework/address-picker/addr'
import
{
INVITETYPE
,
ORDERSTATUS
,
BUYTYPE
,
BUYTYPEOPTION
,
ORDERSTATUSOPTION
,
INVITETYPEOPTION
,
GOODSTYPE
,
BUYWay
}
from
"../../util/wordbook"
;
import
{
INVITETYPE
,
ORDERSTATUS
,
BUYTYPE
,
BUYTYPEOPTION
,
ORDERSTATUSOPTION
,
INVITETYPEOPTION
,
GOODSTYPE
,
BUYWay
,
BUYTYPEWAY
}
from
"../../util/wordbook"
;
import
CommonJs
from
'../../util/common'
;
export
default
{
...
...
@@ -695,6 +703,9 @@
},
filterGoods
(
val
){
return
'['
+
GOODSTYPE
[
val
.
goods_type
]
+
']'
+
'['
+
val
.
current_price
/
100
+
'元]'
+
val
.
name
},
buyTypeWay
(
value
){
return
BUYTYPEWAY
[
value
]
}
}
}
...
...
src/components/teacher/dialog.vue
View file @
504d7638
...
...
@@ -92,7 +92,6 @@
<
script
>
import
{
getTeacherDetailApi
,
addTeacherApi
,
editTeacherApi
,
uploadFileApi
}
from
"../../service/api"
;
import
{
TEACHERTYPE
}
from
"../../util/wordbook"
;
export
default
{
name
:
"dialogObj"
,
props
:[
...
...
src/util/wordbook.js
View file @
504d7638
...
...
@@ -83,6 +83,12 @@ export const BUYWay = [
value
:
'其他'
}
]
export
const
BUYTYPEWAY
=
{
'1'
:
'微信'
,
'2'
:
'支付宝'
,
'4'
:
'京东'
,
'3'
:
'其他'
};
export
const
ORDERSTATUSOPTION
=
[
{
id
:
0
,
...
...
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