mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 09:16:43 +08:00
GBC项目列表页面搜索功能增加入参projectName
This commit is contained in:
@@ -267,7 +267,6 @@ export default {
|
|||||||
"appntId": this.activeAppntId,
|
"appntId": this.activeAppntId,
|
||||||
"connectContent": this.connectContent
|
"connectContent": this.connectContent
|
||||||
}
|
}
|
||||||
console.log(this.activeAppntId)
|
|
||||||
getGBCappntConnectSave(params).then(res=>{
|
getGBCappntConnectSave(params).then(res=>{
|
||||||
if(res.result == 0) {
|
if(res.result == 0) {
|
||||||
this.$toast('保存成功')
|
this.$toast('保存成功')
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<van-search v-model="searchvalue" shape="round" background="#fff" placeholder="搜索项目名称"/>
|
<van-search v-model="searchvalue" shape="round" background="#fff" @search="getGBCprojectlistByYear" placeholder="搜索项目名称"/>
|
||||||
<div style="padding: 10px;">
|
<div style="padding: 10px;">
|
||||||
<van-collapse v-for="item in yearList" :key="item.year" v-model="activeNames" style="margin-top: 10px;border-radius: 5px;">
|
<van-collapse v-for="item in yearList" :key="item.year" v-model="activeNames" style="margin-top: 10px;border-radius: 5px;">
|
||||||
<van-collapse-item :title="item.year" :name="item.year">
|
<van-collapse-item :title="item.year" :name="item.year">
|
||||||
@@ -45,7 +45,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
getGBCprojectlistByYear(){
|
getGBCprojectlistByYear(){
|
||||||
let params = {
|
let params = {
|
||||||
|
projectName: this.searchvalue
|
||||||
}
|
}
|
||||||
getGBCprojectlistByYear(params).then(res=>{
|
getGBCprojectlistByYear(params).then(res=>{
|
||||||
if(res.result == '0') {
|
if(res.result == '0') {
|
||||||
|
|||||||
Reference in New Issue
Block a user