|
@@ -93,8 +93,7 @@
|
|
|
page: this.page
|
|
page: this.page
|
|
|
|
|
|
|
|
}, 'GET').then(res => {
|
|
}, 'GET').then(res => {
|
|
|
- console.log("查询结束");
|
|
|
|
|
- console.log(res);
|
|
|
|
|
|
|
+
|
|
|
if(res.code==0 && res.data.result.list.length > 0){
|
|
if(res.code==0 && res.data.result.list.length > 0){
|
|
|
const list = res.data.result.list;
|
|
const list = res.data.result.list;
|
|
|
let thisItem = list.find(x => x.caption.includes(this.caption) )
|
|
let thisItem = list.find(x => x.caption.includes(this.caption) )
|
|
@@ -122,7 +121,6 @@
|
|
|
if(res.code==0 && res.data.result.list.length > 0){
|
|
if(res.code==0 && res.data.result.list.length > 0){
|
|
|
const list = res.data.result.list;
|
|
const list = res.data.result.list;
|
|
|
let thisItem = list.find(x => x.caption.includes(this.caption) )
|
|
let thisItem = list.find(x => x.caption.includes(this.caption) )
|
|
|
- console.log(thisItem);
|
|
|
|
|
if(thisItem !=undefined){
|
|
if(thisItem !=undefined){
|
|
|
this.param = thisItem.param;
|
|
this.param = thisItem.param;
|
|
|
this.token = thisItem.token;
|
|
this.token = thisItem.token;
|
|
@@ -151,15 +149,12 @@
|
|
|
page: this.page,
|
|
page: this.page,
|
|
|
}, 'GET').then(res => {
|
|
}, 'GET').then(res => {
|
|
|
uni.hideLoading();
|
|
uni.hideLoading();
|
|
|
- console.log(res);
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
this.itemData = res.data.result;
|
|
this.itemData = res.data.result;
|
|
|
|
|
|
|
|
this.access_time = this.itemData.access_time;
|
|
this.access_time = this.itemData.access_time;
|
|
|
|
|
|
|
|
var list = res.data.result.list;
|
|
var list = res.data.result.list;
|
|
|
- console.log(list);
|
|
|
|
|
|
|
|
|
|
this.total_page = res.data.result.total_page;
|
|
this.total_page = res.data.result.total_page;
|
|
|
if (this.page == 1) {
|
|
if (this.page == 1) {
|