(function() {
Vue.component('device-reback', {
template: `
意见反馈反馈记录
意见反馈已完成
您可以在反馈记录查看意见进展
返 回
- 暂无反馈记录
-
{{list.tit}}
{{list.detail}}
{{list.status == 1 ? "已答复" : '未处理'}}
查看
返 回
`,
props: [],
data: function() {
return {
isQuestion: true,
isRecord: false,
isEdit: false,
judgeSelectIndex: null,
questionArr: [{
name: "功能异常",
detail: "举例:无法使用功能",
code: "1"
},{
name: "功能优化",
detail: "举例:不好用、界面难看",
code: "2"
},{
name: "新功能建议",
detail: "你希望有什么功能?",
code: "3"
},{
name: "其他",
detail: "举例:身份信息丢失",
code: "4"
}],
quesImg: [{src: '../../../images/bg.png'}],
recordList: [{
tit: "功能异常",
detail: "是啥东西爱尔家圣诞节哦按时大多数萨达阿达擦擦擦市场擦拭菜市场大神擦拭的",
status: "1"
},{
tit: "功能异常",
detail: "是啥东西爱尔家圣诞节哦按时大多数萨达阿达擦擦擦市场擦拭菜市场大神擦拭的",
status: "1"
},{
tit: "功能异常",
detail: "是啥东西爱尔家圣诞节哦按时大多数萨达阿达擦擦擦市场擦拭菜市场大神擦拭的",
status: "0"
},{
tit: "功能异常",
detail: "是啥东西爱尔家圣诞节哦按时大多数萨达阿达擦擦擦市场擦拭菜市场大神擦拭的",
status: "1"
},{
tit: "功能异常",
detail: "是啥东西爱尔家圣诞节哦按时大多数萨达阿达擦擦擦市场擦拭菜市场大神擦拭的",
status: "1"
},{
tit: "功能异常",
detail: "是啥东西爱尔家圣诞节哦按时大多数萨达阿达擦擦擦市场擦拭菜市场大神擦拭的",
status: "0"
},{
tit: "功能异常",
detail: "是啥东西爱尔家圣诞节哦按时大多数萨达阿达擦擦擦市场擦拭菜市场大神擦拭的",
status: "1"
},{
tit: "功能异常",
detail: "是啥东西爱尔家圣诞节哦按时大多数萨达阿达擦擦擦市场擦拭菜市场大神擦拭的",
status: "1"
},{
tit: "功能异常",
detail: "是啥东西爱尔家圣诞节哦按时大多数萨达阿达擦擦擦市场擦拭菜市场大神擦拭的",
status: "0"
},{
tit: "功能异常",
detail: "是啥东西爱尔家圣诞节哦按时大多数萨达阿达擦擦擦市场擦拭菜市场大神擦拭的",
status: "0"
}],
page: 1,
editPage: null
}
},
methods: {
select: function(key) {
if(this.judgeSelectIndex == key) {
this.judgeSelectIndex = null
} else {
this.judgeSelectIndex = key
}
},
record: function() {
this.isRecord = true
},
limit: function() {},
remove: function(key) {
this.quesImg.splice(key, 1)
},
submit: function() {
this.isQuestion = false
},
back: function() {
this.isQuestion = true
this.isRecord = false
},
setPage: function(key) {
if(+key) {
this.page = +key
} else {
alert(key)
}
},
view: function(list) {
this.isRecord = false
this.isQuestion = true
this.isEdit = true
},
backRecord: function() {
this.isRecord = true
this.isQuestion = false
this.isEdit = false
}
}
})
})()