Commit da7e20d1 authored by Morson's avatar Morson

修改错误

parent 04f679e0
const UNI_APP = {
ucenterUrl: {
apiUrl: 'http://rest-u.yunya.com', //php端域名请求头
xueUrl: 'http://xue.yunya.com', //学院
// banshou: 'https://m.banshou.com', //扳手app
},
systemUrl: {
apiUrl: 'http://192.168.1.22', //java端域名请求头
// apiUrl: 'http://apidoc.banshouhui.com:3000/mock/31', // mock端域名请求头
},
qn_base_url: 'https://qn-static.banshouhui.com/self-support/',
qn_asset_url: 'http://deudn.c.pp.cc/'
}
module.exports = UNI_APP;
const UNI_APP = {
ucenterUrl: {
apiUrl: 'http://rest-u.yunya.com', //php端域名请求头
xueUrl: 'http://xue.yunya.com', //学院
// banshou: 'https://m.banshou.com', //扳手app
},
systemUrl: {
apiUrl: 'http://192.168.1.22', //java端域名请求头
// apiUrl: 'http://apidoc.banshouhui.com:3000/mock/31', // mock端域名请求头
},
qn_base_url: 'https://qn-static.banshouhui.com/self-support/',
qn_asset_url: 'http://deudn.c.pp.cc/'
}
module.exports = UNI_APP;
......@@ -8,7 +8,7 @@ const UNI_APP = {
apiUrl:'https://system.banshouhui.com', //java端域名请求头
},
qn_base_url: 'https://qn-static.banshouhui.com/self-support/',
qn_asset_url: 'http://deudn.c.pp.cc/'
qn_asset_url: 'https://qn-static.banshouhui.com'
}
module.exports = UNI_APP;
......@@ -8,6 +8,6 @@ const UNI_APP = {
apiUrl: 'https://system.dev.banshouhui.com', //java端域名请求头
},
qn_base_url: 'https://qn-static.banshouhui.com/self-support/',
qn_asset_url: 'http://deudn.c.pp.cc/'
qn_asset_url: 'https://qn-static.banshouhui.com'
}
module.exports = UNI_APP;
......@@ -126,10 +126,8 @@ export default {
nextTraceDatetime: '', // 下次跟踪时间
remark: '' // 备注
},
appointTime: {
dateItem: {},
timeItem: {}
},
dateItem: null,
timeItem: null,
showRemark: false,
submiting: false,
curTab: 0,
......@@ -228,7 +226,8 @@ export default {
self.showRemark = true;
if (self.dateList && self.timeList) {
self.timeList.map((item, index) => {
if (self.dateList.indexOf(item.pkey) > -1) {
if (self.dateItem
&& self.dateItem.timeRange.indexOf(item.pkey) > -1) {
item.disabled = true;
} else {
item.disabled = false;
......@@ -300,7 +299,7 @@ export default {
// 点击日期选择
console.log(data, 'week-data');
let self = this;
self.appointTime.dateItem = data.item
self.dateItem = data.item
if (self.trace.reasonType == '报备') {
self.trace.appointmentDatetime = null;
self.trace.nextTraceDatetime = data.item.day;
......@@ -323,8 +322,8 @@ export default {
timeChange(data) {
// 时间段选择变化
console.log(data, 'week-data');
this.trace.appointmentDatetimeRange = data.item;
this.appointTime.timeItem = data.item
this.trace.appointmentDatetimeRange = data.item.pkey;
this.timeItem = data.item
},
async submitForm() {
let self = this;
......
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