Commit da7e20d1 authored by Morson's avatar Morson

修改错误

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