Commit 2989d9b4 authored by Morson's avatar Morson

修改控件

parent 4eee97a2
......@@ -116,10 +116,10 @@
type:{
title:'问题类型',
},
appoint:{
'报单': '下次联系时间',
'改约': '预约时间',
}
},
appoint:{
'报单': '下次联系时间',
'改约': '预约时间',
},
config: null,
options: [],
......@@ -132,6 +132,7 @@
nextTraceDatetime: '', // 下次跟踪时间
remark: '', // 备注
},
appointTitle: "预约时间"
};
},
components:{
......@@ -159,12 +160,9 @@
return true
},
appointTitle() {
return this.feedback.appoint[this.trace.reasonType]
},
},
async onLoad(e) {
this.$u.vuex('vuex_token', 'RTOKEN7493e6defc2f1a77782f105dc297a9366763fec5');
// this.$u.vuex('vuex_token', 'RTOKEN7493e6defc2f1a77782f105dc297a9366763fec5');
this.orderId = 1
this.categoryId = 88
if(e) {
......@@ -218,9 +216,23 @@
if(self.trace.reasonType == '改约') {
self.showRemark = true
self.appointTitle = '预约时间'
if(self.dateList && self.timeList) {
self.timeList.map((item, index) => {
if(data.item.timeRange.indexOf(item.pkey) > -1) {
item.disabled = true
} else {
item.disabled = false
}
})
}
} else {
self.showRemark = false
self.trace.remark = ''
self.appointTitle = '下次联系时间'
self.timeList.map((item, index) => {
item.disabled = false
})
}
}
},
......@@ -265,12 +277,6 @@
changeType(key) {
this.trace.reason = key
},
/**
* 拒单
*/
// rejectOrder() {
// console.log("点击拒单")
// },
weekChange(data){
// 点击下一周
console.log(data,'week-data')
......@@ -302,7 +308,6 @@
},
dateChange(data){
debugger
// 点击日期选择
console.log(data,'week-data')
let self = this
......
......@@ -197,7 +197,6 @@
}
},
fail(e) {
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