You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
993 B
47 lines
993 B
|
|
Component({
|
|
|
|
properties: {
|
|
"ywData": {
|
|
"type": Object,
|
|
"value": {}
|
|
},
|
|
},
|
|
/**
|
|
* 页面的初始数据
|
|
*/
|
|
data: {
|
|
tabList: [{
|
|
label: "12345投诉",
|
|
value: '12345'
|
|
}, {
|
|
label: '满意度调查',
|
|
value: 'provinceSurvey'
|
|
}, {
|
|
label: '满意度自查',
|
|
value: 'selfSurvey'
|
|
}, {
|
|
label: '上报事件',
|
|
value: 'event'
|
|
}, {
|
|
label: '居民需求',
|
|
value: 'need'
|
|
}, {
|
|
label: '社区服务',
|
|
value: 'serve'
|
|
}, {
|
|
label: '打卡记录',
|
|
value: 'punchRecord'
|
|
}],
|
|
tabValue: '12345',
|
|
data: {},
|
|
residIds: [],
|
|
},
|
|
methods: {
|
|
tabChange({ currentTarget: { dataset: { index } } }) {
|
|
this.setData({
|
|
tabValue: index,
|
|
})
|
|
},
|
|
}
|
|
})
|