Commit 8ec9f66c by huangjing

hj

parent a003652e
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -498,7 +498,11 @@ var app = new Vue({ ...@@ -498,7 +498,11 @@ var app = new Vue({
methods: { methods: {
areachoice(name) { areachoice(name) {
this.areaName = name.slice(0, name.indexOf('>')); this.areaName = name.slice(0, name.indexOf('>'));
console.log(name.slice(0, name.indexOf('>'))) console.log(name.slice(0, name.indexOf('>')));
this.$message({
message: '更新省份成功',
type: 'success'
});
}, },
fetchMetaData(cbk) { fetchMetaData(cbk) {
if (global_rsconfig) { if (global_rsconfig) {
......
...@@ -250,6 +250,23 @@ ...@@ -250,6 +250,23 @@
} }
}, },
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)];
...@@ -454,7 +471,8 @@ ...@@ -454,7 +471,8 @@
"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;
......
...@@ -597,4 +597,11 @@ ...@@ -597,4 +597,11 @@
} }
.policylist-qr > img { .policylist-qr > img {
vertical-align:middle; vertical-align:middle;
}
.policylist-baowei{
margin-left: 15px;
white-space: nowrap;
text-overflow: ellipsis;
width: 85%;
overflow: hidden;
} }
\ No newline at end of file
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
style="dispaly:line-block;color:#fff;background-color: #FFA940">开放申报中</span></div> style="dispaly:line-block;color:#fff;background-color: #FFA940">开放申报中</span></div>
<div style="margin-left: -10px;" v-if="i.app_status==2"> <span <div style="margin-left: -10px;" v-if="i.app_status==2"> <span
style="dispaly:line-block;color:#fff;background-color: #597EF7">即将申报</span></div> style="dispaly:line-block;color:#fff;background-color: #597EF7">即将申报</span></div>
<div style="margin-left: 15px;"> {{i.name}} </div> <div class="policylist-baowei"> {{i.name}} </div>
</div> </div>
<div> <div>
<div class="policylist-conten-items"><span><img src="/imgs/tuandui.png" <div class="policylist-conten-items"><span><img src="/imgs/tuandui.png"
......
...@@ -220,7 +220,7 @@ ...@@ -220,7 +220,7 @@
/*this.indexsearch();*/ /*this.indexsearch();*/
} }
}, },
computed: { computed: {
getSearchKey(){ getSearchKey(){
return this.$root.areaName return this.$root.areaName
} }
......
...@@ -250,6 +250,21 @@ ...@@ -250,6 +250,21 @@
}] }]
} }
}, },
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() {
...@@ -475,7 +490,7 @@ ...@@ -475,7 +490,7 @@
"classification": this.input6, "classification": this.input6,
"policydomain": this.input7, "policydomain": this.input7,
"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