|
@@ -74,6 +74,7 @@ Page({
|
|
|
onLoad(options) {
|
|
|
this.getList();
|
|
|
},
|
|
|
+ /* 获取列表 */
|
|
|
getList(init = false, data) {
|
|
|
if (init.detail != undefined) init = init.detail;
|
|
|
let content = this.data.content;
|
|
@@ -105,6 +106,12 @@ Page({
|
|
|
})
|
|
|
})
|
|
|
},
|
|
|
+ /* 添加 */
|
|
|
+ toAdd() {
|
|
|
+ wx.navigateTo({
|
|
|
+ url: '/packageA/project/addAndEdit'
|
|
|
+ })
|
|
|
+ },
|
|
|
/* 处理筛选 */
|
|
|
handleFilter({
|
|
|
detail
|