Commit 54254c88 authored by Morson's avatar Morson

过程反馈页面对接

parent 3804cdbb
import Vue from 'vue'
import moment from 'moment'
import App from './App'
import uView from "uview-ui";
import vuexStore from "@/store/$u.mixin.js";
......@@ -8,6 +9,7 @@ Vue.config.productionTip = false
Vue.mixin(vuexStore)
Vue.use(uView);
Vue.prototype.moment = moment
App.mpType = 'app'
const app = new Vue({
......
......@@ -64,7 +64,7 @@
</view>
</view>
<view class="time-view">
<appoint-time @dateChange="dateChange" @timeChange="timeChange" @weekChange="weekChange"></appoint-time>
<appoint-time :dateList="dateList" :timeList="timeList" @dateChange="dateChange" @timeChange="timeChange" @weekChange="weekChange"></appoint-time>
</view>
</view>
</view>
......@@ -83,6 +83,8 @@
categoryId: null,
showRemark: false,
submiting: false,
dateList: [],
timeList: [],
background: {
backgroundColor: 'none',
},
......@@ -204,11 +206,13 @@
/* 加载日历数据 */
async loadCalendar() {
let self = this
let res = await this.$u.api.workerCalendar()
let params = {
num: 1
}
let res = await this.$u.api.workerCalendar(params)
if(res && res.code == 200) {
}
debugger
},
/**
......
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