Commit 504d7638 authored by chenfenglei's avatar chenfenglei

老师列表加手机号搜索

parent 1feeb159
......@@ -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]
}
}
}
......
......@@ -92,7 +92,6 @@
<script>
import {getTeacherDetailApi,addTeacherApi,editTeacherApi,uploadFileApi} from "../../service/api";
import {TEACHERTYPE} from "../../util/wordbook";
export default {
name: "dialogObj",
props:[
......
......@@ -83,6 +83,12 @@ export const BUYWay = [
value: '其他'
}
]
export const BUYTYPEWAY = {
'1':'微信',
'2':'支付宝',
'4':'京东',
'3':'其他'
};
export const ORDERSTATUSOPTION = [
{
id: 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment