@@ -22,7 +22,9 @@ Page({
total: 0,
pageNum: 1 // 页码
},
- onLoad() { },
+ onLoad() {
+ this.loadData();
+ },
//加载数据
loadData: function () {
@@ -35,7 +37,6 @@ Page({
this.list(obj)
onShow() {
- this.loadData();
// 企业详细页
@@ -88,11 +89,15 @@ Page({
pageNum: 1,
isRefresh: true
})
+
var obj = new Object()
+ this.data.keyword =that.data.enterpriseCode,
obj.pageNum = this.data.pageNum
obj.pageSize = 10
obj.reasonable = false
obj.searchValue = that.data.enterpriseCode
that.list(obj)
fail: (res) => {