Commit 54254c88 authored by Morson's avatar Morson

过程反馈页面对接

parent 3804cdbb
import Vue from 'vue' import Vue from 'vue'
import moment from 'moment'
import App from './App' import App from './App'
import uView from "uview-ui"; import uView from "uview-ui";
import vuexStore from "@/store/$u.mixin.js"; import vuexStore from "@/store/$u.mixin.js";
...@@ -7,7 +8,8 @@ import {router,RouterMount} from '@/router/index.js' //路径换成自己的 ...@@ -7,7 +8,8 @@ import {router,RouterMount} from '@/router/index.js' //路径换成自己的
Vue.config.productionTip = false Vue.config.productionTip = false
Vue.mixin(vuexStore) Vue.mixin(vuexStore)
Vue.use(uView); Vue.use(uView);
Vue.prototype.moment = moment
App.mpType = 'app' App.mpType = 'app'
const app = new Vue({ const app = new Vue({
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
</view> </view>
</view> </view>
<view class="time-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> </view>
</view> </view>
...@@ -83,6 +83,8 @@ ...@@ -83,6 +83,8 @@
categoryId: null, categoryId: null,
showRemark: false, showRemark: false,
submiting: false, submiting: false,
dateList: [],
timeList: [],
background: { background: {
backgroundColor: 'none', backgroundColor: 'none',
}, },
...@@ -204,11 +206,13 @@ ...@@ -204,11 +206,13 @@
/* 加载日历数据 */ /* 加载日历数据 */
async loadCalendar() { async loadCalendar() {
let self = this 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) { 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