Commit b709991a authored by Mac's avatar Mac

1

parent fca1022d
<template>
<div style="background-color: #f6f6f6;height: 100vh;padding-bottom: 90px; overflow: hidden;">
<div style="background-color: #f6f6f6;height: 100vh;padding-bottom: 65px; overflow: hidden;">
<view style="padding:5px 10px;">
<u-search placeholder="搜索载体名称" :focus="false" :show-action="false" :clearabled="true" radius="40" v-model="searchKey"
@search="searchHandler" @custom="searchHandler" bg-color="#FFF" ></u-search>
......@@ -114,7 +114,7 @@
Developers:"",
StartOpenTime:"",
EndOpenTime:"",
ProjectType:0,
ProjectType:1,
OrderBy:0
},
loading: false,
......@@ -154,13 +154,13 @@
if (res.resultCode == 1) {
// this.pageCount = res.data.pageCount
this.typeList = res.data
if(this.msg.ProjectType ==0){
this.msg.ProjectType = this.typeList[0].Id
if(this.msg.ProjectType ==1){
}else{//指定跳入分类
this.typeList.map((x,i)=>{
if(x.Id== this.msg.ProjectType){
this.active = i;
return
}
})
}
......@@ -177,7 +177,8 @@
this.request2(parms, (res) => {
this.loading = false;
if (res.resultCode == 1) {
this.dataList=res.data.pageData
this.dataList = this.dataList.concat(res.data.pageData);
this.pageCount = res.data.pageCount
if (this.pageCount == 1) {
this.status = "nomore";
}
......@@ -188,7 +189,7 @@
this.active = i;
this.msg.ProjectType = this.typeList[i].Id;
this.msg.pageIndex = 1;
this.g= [];
this.dataList= [];
this.getCarrierPageList()
},
openGood(id,type) {
......
......@@ -361,13 +361,28 @@
title: '提交成功',
icon:'none'
});
uni.reLaunch({
url: "/pages/kotra/firstShop/list",
})
setTimeout(()=>{
this.showTemplate(res.data)
},500)
}
}
);
},
//显示模板
showTemplate(template) {
uni.requestSubscribeMessage({
tmplIds: template,
complete(){
uni.reLaunch({
url: "/pages/kotra/firstShop/list",
})
},
})
},
deletebtn(){//删除
this.request2(
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment