Browse Source

add all

master
刘嘉炜 4 years ago
parent
commit
db4b997862
  1. 3
      src/App.vue
  2. 3
      src/pages/course/list/list.vue
  3. 1
      src/pages/mine_trainee/mine_trainee.vue
  4. 2
      src/pages/time/select/select.vue
  5. BIN
      src/static/images/sex_0.png
  6. BIN
      src/static/images/sex_1.png

3
src/App.vue

@ -1,4 +1,7 @@
<script>
// 012
export default {
onLaunch: function() {
console.log('App Launch')

3
src/pages/course/list/list.vue

@ -120,7 +120,7 @@ export default {
orderModalConfirm: util.debounce(function(){
let { orderInfo } = this;
util.showLoad();
this.isOrderCourseModal = false;
if(!orderInfo.classInfo.id || !orderInfo.date || !orderInfo.startTime || !orderInfo.endTime)return util.showNone('请选择完整!');
servers.post({
url: API.course.addCoachBooking,
data: {
@ -135,6 +135,7 @@ export default {
.then(res=>{
util.hideLoad();
if(res.data.code == 0){
this.isOrderCourseModal = false;
util.showNone(res.data.message || '操作成功!');
}else{
util.showNone(res.data.message || '操作失败!');

1
src/pages/mine_trainee/mine_trainee.vue

@ -24,6 +24,7 @@
</view>
</template>
<script>
import { API } from '../../js/api'
import { servers } from '../../js/server'

2
src/pages/time/select/select.vue

@ -170,6 +170,7 @@ export default {
get_zh_day: util.get_zh_day,
confiemChangeStatus: util.debounce(function(){
let { timeList, changeRemark, changeStatusIDX } = this;
if(!changeRemark)util.showNone('请输入备注!')
let _selectedArr = [];
timeList.forEach(ele=>{
ele.items.forEach(el=>{
@ -182,6 +183,7 @@ export default {
}
})
})
servers.post({
url: API.saveCoachTimeStatus,
data: {

BIN
src/static/images/sex_0.png

Before

Width: 36  |  Height: 36  |  Size: 544 B

After

Width: 36  |  Height: 38  |  Size: 534 B

BIN
src/static/images/sex_1.png

Before

Width: 36  |  Height: 38  |  Size: 534 B

After

Width: 36  |  Height: 36  |  Size: 544 B

Loading…
Cancel
Save