Procházet zdrojové kódy

宅基地优化

rongxin_prod
Xyq123* před 1 rokem
rodič
revize
90bd92d4f6
3 změnil soubory, kde provedl 24 přidání a 35 odebrání
  1. +2
    -2
      src/views/homesteadSurvey/add.vue
  2. +21
    -32
      src/views/homesteadSurvey/list.vue
  3. +1
    -1
      src/views/homesteadSurvey/nmfwAdd.vue

+ 2
- 2
src/views/homesteadSurvey/add.vue Zobrazit soubor

@@ -790,8 +790,8 @@ export default {
showXzyy:false,
showXzqssj:false,
showUpload:false,
minDate: new Date(1900,0,1),
maxDate: new Date(2025, 10, 1),
minDate: new Date(1950,0,1),
maxDate: new Date(2030, 10, 1),
form:{}
};
},


+ 21
- 32
src/views/homesteadSurvey/list.vue Zobrazit soubor

@@ -770,7 +770,7 @@
"pageSize":10,
}
listZjdzd(params).then((response) => {
if(response.rows.length>0&&this.list2.length<response.total){
if(response.rows.length>0&&this.list1.length<response.total){
response.rows.map(res => {
_this.list1.push(res)
})
@@ -1244,13 +1244,6 @@
},
// 宅基地搜索框
onSearchzjd(){
rhhcList({"shyqrdbxm" : this.zjdvalue,surveyStatus:"1,2,3,4,5"}).then(res => {
this.whcNums = res.data.wdcs;
this.hcycNums = res.data.dcycs;
this.hcwcNums = res.data.dcwcs;
this.sptgNums = res.data.dctgs;
this.spbhNums = res.data.dcbhs;
});
if(this.active==0){
let params = {
"shyqrdbxm" : this.zjdvalue,
@@ -1258,12 +1251,11 @@
"pageNum": 1,
"pageSize":10,
}
rhhcList(params).then((response) => {
console.info(this.list2.length);
listZjdzd(params).then((response) => {
if (response.code == 200) {
this.list1 = response.data.zjdzdxxList;
if(response.data.zjdzdxxList.length>0&&response.data.zjdzdxxList.length<response.data.zjdzs){
this.countyhc++
this.list1 = response.rows;
this.whcNums = response.total;
if(response.rows.length>0&&response.rows.length<response.total){
this.loading2 = false
this.finished2 = false;
}else{
@@ -1279,12 +1271,11 @@
"pageNum": 1,
"pageSize":10,
}
rhhcList(params).then((response) => {
console.info(this.list2.length);
listZjdzd(params).then((response) => {
if (response.code == 200) {
this.list1 = response.data.zjdzdxxList;
if(response.data.zjdzdxxList.length>0&&response.data.zjdzdxxList.length<response.data.zjdzs){
this.countyhc++
this.list1 = response.rows;
this.hcycNums = response.total;
if(response.rows.length>0&&response.rows.length<response.total){
this.loading2 = false
this.finished2 = false;
}else{
@@ -1300,12 +1291,11 @@
"pageNum": 1,
"pageSize":10,
}
rhhcList(params).then((response) => {
console.info(this.list2.length);
listZjdzd(params).then((response) => {
if (response.code == 200) {
this.list1 = response.data.zjdzdxxList;
if(response.data.zjdzdxxList.length>0&&response.data.zjdzdxxList.length<response.data.zjdzs){
this.countyhc++
this.list1 = response.rows;
this.hcwcNums = response.total;
if(response.rows.length>0&&response.rows.length<response.total){
this.loading2 = false
this.finished2 = false;
}else{
@@ -1321,12 +1311,11 @@
"pageNum": 1,
"pageSize":10,
}
rhhcList(params).then((response) => {
console.info(this.list2.length);
listZjdzd(params).then((response) => {
if (response.code == 200) {
this.list1 = response.data.zjdzdxxList;
if(response.data.zjdzdxxList.length>0&&response.data.zjdzdxxList.length<response.data.zjdzs){
this.countyhc++
this.list1 = response.rows;
this.spbhNums = response.total;
if(response.rows.length>0&&response.rows.length<response.total){
this.loading2 = false
this.finished2 = false;
}else{
@@ -1342,11 +1331,11 @@
"pageNum": 1,
"pageSize":10,
}
rhhcList(params).then((response) => {
listZjdzd(params).then((response) => {
if (response.code == 200) {
this.list1 = response.data.zjdzdxxList;
if(response.data.zjdzdxxList.length>0&&response.data.zjdzdxxList.length<response.data.zjdzs){
this.countyhc++
this.list1 = response.rows;
this.sptgNums = response.total;
if(response.rows.length>0&&response.rows.length<response.total){
this.loading2 = false
this.finished2 = false;
}else{


+ 1
- 1
src/views/homesteadSurvey/nmfwAdd.vue Zobrazit soubor

@@ -643,7 +643,7 @@ export default {
// 当前位置信息
tGeoOrganizationLat: null,
tGeoOrganizationLng: null,
minDate: new Date(1990, 1, 1),
minDate: new Date(1950, 1, 1),
maxDate: new Date(2030, 10, 1),
showZgqrzrq:false,
form:{}


Načítá se…
Zrušit
Uložit