ソースを参照

宅基地调查优化

rongxin_prod
Xyq123* 1年前
コミット
ae18bbe9d2
7個のファイルの変更43行の追加17行の削除
  1. +7
    -4
      src/views/homesteadSurvey/add.vue
  2. +8
    -5
      src/views/homesteadSurvey/fsssAdd.vue
  3. +2
    -2
      src/views/homesteadSurvey/nhDetails.vue
  4. +8
    -0
      src/views/homesteadSurvey/nhcyList.vue
  5. +1
    -1
      src/views/homesteadSurvey/wcnhList.vue
  6. +12
    -5
      src/views/homesteadSurvey/zrzAdd.vue
  7. +5
    -0
      src/views/sunVillage_info/list_cbfsq.vue

+ 7
- 4
src/views/homesteadSurvey/add.vue ファイルの表示

@@ -852,10 +852,13 @@ export default {
if(this.form.id == null){

let surveyItem = JSON.parse(localStorage.getItem("surveyItem"));
this.$set(this.form, 'theGeomJson', JSON.parse( this.form.theGeomJson));
if(this.form.theGeomJson.hasOwnProperty('coordinates')) // 从后台获取的
this.$set(this.form, 'theGeomJson',this.form.theGeomJson.coordinates);
this.$set(this.form, 'theGeomJson', JSON.stringify( this.form.theGeomJson));
if(this.form.theGeomJson instanceof Array){
this.$set(this.form, 'theGeomJson', JSON.stringify( this.form.theGeomJson));
}else if(typeof this.form.theGeomJson === 'string'){
let theGeometry = JSON.parse( this.form.theGeomJson);
if(theGeometry.hasOwnProperty('coordinates')) // 从后台获取的
this.$set(this.form, 'theGeomJson', JSON.stringify(theGeometry.coordinates));
}
this.$set(this.form, 'surveyId', surveyItem.id)
addZjdzd(this.form).then(response => {
let _this =this;


+ 8
- 5
src/views/homesteadSurvey/fsssAdd.vue ファイルの表示

@@ -44,7 +44,7 @@
</van-row>
</div>
</van-sticky>
<van-form ref = "form">
<van-form ref="form">
<div style="margin:1.6rem auto;background: #ffffff;width: 95%;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16);border-radius:15px;padding-top: 20px;">
<p class="title" style="position:relative;padding-left:10px;line-height:20px;font-size: 16px;margin-left: 3%;margin-bottom: 5px;">附属设施信息</p>
<!--<van-field
@@ -209,10 +209,13 @@ export default {
},
submitzjd(){
this.$refs.form.validate().then(() => {
this.$set(this.form, 'theGeomJson', JSON.parse( this.form.theGeomJson));
if(this.form.theGeomJson.hasOwnProperty('coordinates')) // 从后台获取的
this.$set(this.form, 'theGeomJson',this.form.theGeomJson.coordinates);
this.$set(this.form, 'theGeomJson', JSON.stringify( this.form.theGeomJson));
if(this.form.theGeomJson instanceof Array){
this.$set(this.form, 'theGeomJson', JSON.stringify( this.form.theGeomJson));
}else if(typeof this.form.theGeomJson === 'string'){
let theGeometry = JSON.parse( this.form.theGeomJson);
if(theGeometry.hasOwnProperty('coordinates')) // 从后台获取的
this.$set(this.form, 'theGeomJson', JSON.stringify(theGeometry.coordinates));
}
if(this.form.id == null){
addFsss(this.form).then(response => {
let _this =this


+ 2
- 2
src/views/homesteadSurvey/nhDetails.vue ファイルの表示

@@ -1485,7 +1485,7 @@
submitzjd(){
this.$refs.form.validate().then(() => {
if(this.form.id == null){
addNh(this.form).then(response => {
addNhhncy(this.form).then(response => {
let _this =this
this.$toast({
icon: 'success', // 找到自己需要的图标
@@ -1497,7 +1497,7 @@
})
});
}else{
updateNh(this.form).then(response => {
updateNhhncy(this.form).then(response => {
let _this =this
this.$toast({
icon: 'success', // 找到自己需要的图标


+ 8
- 0
src/views/homesteadSurvey/nhcyList.vue ファイルの表示

@@ -55,6 +55,7 @@
<p style="display: flex;align-items: center;">
<img src="../../assets/images/housesteadSurvey/list03.png" alt="" style="margin-right: 5px;">
<span style="line-height: 1;font-size: 16px;">{{item.xm}}</span>
<span style="line-height: 1;font-size: 16px;margin-left: 70%;">{{formatDict(yhzgxList,item.yhzgx)}}</span>
</p>
<div style="display:flex;line-height:20px;margin-top: 15px;font-size: 14px;color: #999999;">
<p style="flex:1;text-align:left;">证件号码:</p>
@@ -135,6 +136,7 @@ export default {
// 使用权人列表
shyqrData:{},
hnnylist:[],
yhzgxList:[],
permission:false,
guohuData: {
visible: false,
@@ -145,6 +147,9 @@ export default {
};
},
created(){
this.houseGetDicts("family_status").then((response) => {
this.yhzgxList = response.data;
});
this.shyqrData = this.$route.query;
this.permission = localStorage.getItem("executePermission");
this.getList();
@@ -172,6 +177,9 @@ export default {
this.$router.push({name: this.$router.back(-1)});
// }
},
formatDict(dict, value) {
return this.selectDictLabel(dict, value);
},
handleToHuzhu(row) {
const ids = row.id || this.ids;
Dialog.confirm({


+ 1
- 1
src/views/homesteadSurvey/wcnhList.vue ファイルの表示

@@ -21,7 +21,7 @@
<img src="../../assets/images/housesteadSurvey/list03.png" alt="" style="margin-right: 5px;">
<span style="line-height: 1;">{{item.hzxm}}</span>
</p>
<p style="display: flex;align-items: center;color:#22B7F2;font-size:12px;margin-left: auto;margin-right: 10px;border-bottom: 1px dashed #22B7F2;" @click="showPopuphncylist(item)"><img src="../../assets/images/housesteadSurvey/list09.png" alt="" style="margin-right: 3px;">成员</p>
<!-- <p style="display: flex;align-items: center;color:#22B7F2;font-size:12px;margin-left: auto;margin-right: 10px;border-bottom: 1px dashed #22B7F2;" @click="showPopuphncylist(item)"><img src="../../assets/images/housesteadSurvey/list09.png" alt="" style="margin-right: 3px;">成员</p>-->

</div>
</template>


+ 12
- 5
src/views/homesteadSurvey/zrzAdd.vue ファイルの表示

@@ -270,10 +270,17 @@ export default {
submitzjd(){
this.$refs.form.validate().then(() => {
if(this.form.id == null){
this.$set(this.form, 'theGeomJson', JSON.parse( this.form.theGeomJson));
if(this.form.theGeomJson.hasOwnProperty('coordinates')) // 从后台获取的
this.$set(this.form, 'theGeomJson',this.form.theGeomJson.coordinates);
this.$set(this.form, 'theGeomJson', JSON.stringify( this.form.theGeomJson));
// this.$set(this.form, 'theGeomJson', JSON.parse( this.form.theGeomJson));
// if(this.form.theGeomJson.hasOwnProperty('coordinates')) // 从后台获取的
// this.$set(this.form, 'theGeomJson',this.form.theGeomJson.coordinates);
// this.$set(this.form, 'theGeomJson', JSON.stringify( this.form.theGeomJson));
if(this.form.theGeomJson instanceof Array){
this.$set(this.form, 'theGeomJson', JSON.stringify( this.form.theGeomJson));
}else if(typeof this.form.theGeomJson === 'string'){
let theGeometry = JSON.parse( this.form.theGeomJson);
if(theGeometry.hasOwnProperty('coordinates')) // 从后台获取的
this.$set(this.form, 'theGeomJson', JSON.stringify(theGeometry.coordinates));
}
addZrz(this.form).then(response => {
let _this =this
this.$toast({
@@ -332,7 +339,7 @@ export default {
onMapDrawFinished(data) {
console.info(data);
this.drawInsert = data;
this.form.theGeomJson = JSON.stringify(this.drawInsert);
this.form.theGeomJson = this.drawInsert;
},
// 当申请地图被重置时
onMapDrawReseted() {


+ 5
- 0
src/views/sunVillage_info/list_cbfsq.vue ファイルの表示

@@ -93,6 +93,11 @@
授权完成
</van-button> -->
</div>
<div style="margin: 30px auto 0;width: 50%;">
<van-button round block type="primary" v-if="sqbutShow && !cbfsqShow && !cbfshShow" @click="cbfsq">
授权
</van-button>
</div>
<img class="bottomImg" src="../../assets/images/sunVillage_info/contractor_authorized.png" alt="" v-if="!sqbutShow" />
</div>



読み込み中…
キャンセル
保存