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({
methods: {
areachoice(name) {
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) {
if (global_rsconfig) {
......
......@@ -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: {
rgba() {
var color = this.colorList[Math.floor(Math.random() * this.colorList.length)];
......@@ -454,7 +471,8 @@
"policydomain": this.input7,
"fieldtext": this.input8,
"year": this.input9,
"address": this.areaName
"address":this.$root.areaName
}).then(d => {
console.log(d, '---------------------------------');
var data = d.data.data;
......
......@@ -597,4 +597,11 @@
}
.policylist-qr > img {
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 @@
style="dispaly:line-block;color:#fff;background-color: #FFA940">开放申报中</span></div>
<div style="margin-left: -10px;" v-if="i.app_status==2"> <span
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 class="policylist-conten-items"><span><img src="/imgs/tuandui.png"
......
......@@ -220,7 +220,7 @@
/*this.indexsearch();*/
}
},
computed: {
computed: {
getSearchKey(){
return this.$root.areaName
}
......
......@@ -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: {
rgba() {
......@@ -475,7 +490,7 @@
"classification": this.input6,
"policydomain": this.input7,
"year": this.input9,
"address": this.areaName
"address": this.$root.areaName
}).then(d => {
console.log(d, '---------------------------------');
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