Commit 3b026810 by 李宏达

lhd

parent a3fb7735
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
} }
.policy-baoguo:hover{ .policy-baoguo:hover{
color:#128EE9; color:#128EE9;
cursor: pointer;
} }
.acitves{ .acitves{
width: 77px; width: 77px;
......
...@@ -220,6 +220,21 @@ ...@@ -220,6 +220,21 @@
/*this.indexsearch();*/ /*this.indexsearch();*/
} }
}, },
computed: {
getSearchKey(){
return this.$root.areaName
}
},
watch: {
getSearchKey: {
handler(newValue,oldValue){
console.log('new',newValue);
console.log('old',oldValue);
this.zcPost()
}
}
},
methods: { methods: {
rgba() { rgba() {
var color = this.colorList[Math.floor(Math.random()*this.colorList.length)]; var color = this.colorList[Math.floor(Math.random()*this.colorList.length)];
...@@ -423,7 +438,7 @@ ...@@ -423,7 +438,7 @@
"policydomain": this.input7, "policydomain": this.input7,
"fieldtext": this.input8, "fieldtext": this.input8,
"year": this.input9, "year": this.input9,
"address":this.areaName "address":this.$root.areaName
}).then( d => { }).then( d => {
console.log(d,'---------------------------------'); console.log(d,'---------------------------------');
var data = d.data.data; var data = d.data.data;
......
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