From 15eb7599e51648c9ee9aa15238d7bfd1f61ed7c1 Mon Sep 17 00:00:00 2001
From: xyq <392009588@qq.com>
Date: Fri, 3 Feb 2023 14:14:42 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=85=E5=9F=BA=E5=9C=B0=E6=89=8B=E6=9C=BA?=
=?UTF-8?q?=E7=AB=AF=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/home/HomeApplyUploadComp.vue | 12 ++--
.../house/HouseLocationPlanComp.vue | 2 +-
.../arbitration/arbitrationDetail.vue | 17 ++++--
.../arbitration/arbitrationList.vue | 11 ++--
.../homeApplication/applicationList.vue | 51 ++++++++---------
.../homeApplication/proposerLite.vue | 57 ++++++++++++-------
.../sunVillage_info/paidExit/paidExitList.vue | 3 +-
.../homestead/supervision/supervisionAdd.vue | 9 ++-
8 files changed, 92 insertions(+), 70 deletions(-)
diff --git a/src/components/home/HomeApplyUploadComp.vue b/src/components/home/HomeApplyUploadComp.vue
index 914be449..12320d02 100644
--- a/src/components/home/HomeApplyUploadComp.vue
+++ b/src/components/home/HomeApplyUploadComp.vue
@@ -185,20 +185,18 @@ export default {
businessType: businessType,
nodeStatus: houseApplyStatus,
processKey: processKey,
- nodeStatusSort: '1,32,2,3,33,31,4,5,34,6,7,8,9,10,'
- + '12,13,14,15,16,17,28,19,18,'
- + '20,21,22,23,24,25,30,29,26,27'
- ,
+ dictTypeSort: 'home_stage_status',
+ nodeStatusSort: '',
}).then(resp => {
//console.log(resp);
try {
if(!resp.data || resp.data.length === 0)
return;
- let rows = resp.data[0].params.children;
+ let rows = resp.data[0].children;
rows.forEach((value, index) => {
- if (!value.params.children)
+ if (!value.children)
return;
- this.handleResponse(value.params.children, proposerId, houseApplyStatus, tableName);
+ this.handleResponse(value.children, proposerId, houseApplyStatus, tableName);
});
}
catch (e)
diff --git a/src/components/house/HouseLocationPlanComp.vue b/src/components/house/HouseLocationPlanComp.vue
index 79b55d3e..d8e31a9e 100644
--- a/src/components/house/HouseLocationPlanComp.vue
+++ b/src/components/house/HouseLocationPlanComp.vue
@@ -10,8 +10,8 @@
:before-delete="handleRemove"
v-model="uploadImg.fileList"
:after-read="onUploadChanged"
+ :accept="uploadImg.accept"
>
-
diff --git a/src/views/sunVillage_info/arbitration/arbitrationDetail.vue b/src/views/sunVillage_info/arbitration/arbitrationDetail.vue
index 6b236ce6..b342b50e 100644
--- a/src/views/sunVillage_info/arbitration/arbitrationDetail.vue
+++ b/src/views/sunVillage_info/arbitration/arbitrationDetail.vue
@@ -21,7 +21,7 @@
基本信息
-
+
{{item.sqrxm}}
@@ -30,6 +30,7 @@
@@ -44,12 +45,12 @@
placeholder="选择证件类型"
:rules="[{ required: true }]"
required
- :readonly="!formEnabled.baseFormEnabled"
+ readonly
remote-url="/system/dict/data/type/zjlx"
:on-remote-response="'data'"
/>
-
-
+
+
@@ -68,7 +69,7 @@
required
:readonly="!allowCUD || !formEnabled.baseFormEnabled"
/>
-
+
@@ -83,7 +86,7 @@
*处理结果
-
+
-
+
@@ -54,9 +54,9 @@
-
+
-
+
@@ -127,7 +129,7 @@ export default {
},
computed: {
allowCUD: function () {
- return this.$store.getters.businessLevel == '2' || true;
+ return this.$route.query.status !== "0";
},
},
methods: {
@@ -215,6 +217,7 @@ export default {
editArbitration(this.arbitrationData).then((response) => {
this.notify("保存成功", 'success');
this.cljgInfoShow = false;
+ this.getList();
}).catch((e) => {
this.notify("保存失败!", 'danger');
this.cljgInfoShow = false;
diff --git a/src/views/sunVillage_info/homeApplication/applicationList.vue b/src/views/sunVillage_info/homeApplication/applicationList.vue
index 2a675cc3..919c0bcb 100644
--- a/src/views/sunVillage_info/homeApplication/applicationList.vue
+++ b/src/views/sunVillage_info/homeApplication/applicationList.vue
@@ -91,6 +91,7 @@ export default {
});
this.deptId = Cookies.get('deptId')
this.$set(this.queryParams, "deptId", this.deptId);
+ this.$set(this.queryParams, "sqhhzsfzh", this.idcard);
this.getList();
},
methods: {
@@ -184,33 +185,29 @@ export default {
this.finished = false;
},
submitApplyProposer(item) {
- this.$dialog.confirm({
- message: '您确认提交申请草稿?',
- }).then(() => {
- if(item.homeApplyStatus === '11'){
- customSubmitWLHT(item.id).then((resp) => {
- this.$toast.success("提交成功");
- this.refresh();
- }).catch((e) => {
- this.$toast.fail("提交失败!");
- });
- }else if(item.homeApplyStatus === '31'){
- submitStartWLHT(item.id).then((resp) => {
- this.$toast.success("提交成功");
- this.refresh();
- }).catch((e) => {
- this.$toast.fail("提交失败!");
- });
- }else if(item.homeApplyStatus === '71'){
- submitEndWLHT(item.id).then((resp) => {
- this.$toast.success("提交成功");
- this.refresh();
- }).catch((e) => {
- this.$toast.fail("提交失败!");
- });
- }
-
- }).catch(() => {});
+ this.$router.push({name:'sunVillageInfoProposerLite',query:{type:"edit",id:item.id}})
+ // if(item.homeApplyStatus === '11'){
+ // customSubmitWLHT(item.id).then((resp) => {
+ // this.$toast.success("提交成功");
+ // this.refresh();
+ // }).catch((e) => {
+ // this.$toast.fail("提交失败!");
+ // });
+ // }else if(item.homeApplyStatus === '31'){
+ // submitStartWLHT(item.id).then((resp) => {
+ // this.$toast.success("提交成功");
+ // this.refresh();
+ // }).catch((e) => {
+ // this.$toast.fail("提交失败!");
+ // });
+ // }else if(item.homeApplyStatus === '71'){
+ // submitEndWLHT(item.id).then((resp) => {
+ // this.$toast.success("提交成功");
+ // this.refresh();
+ // }).catch((e) => {
+ // this.$toast.fail("提交失败!");
+ // });
+ // }
},
},
}
diff --git a/src/views/sunVillage_info/homeApplication/proposerLite.vue b/src/views/sunVillage_info/homeApplication/proposerLite.vue
index a36534cf..dbc7a613 100644
--- a/src/views/sunVillage_info/homeApplication/proposerLite.vue
+++ b/src/views/sunVillage_info/homeApplication/proposerLite.vue
@@ -133,7 +133,7 @@
:on-remote-response="'data'"
/>
-
+
@@ -299,7 +299,7 @@
:readonly="!formEnabled.baseApplyForm.baseFormEnabled"
clickable
required
- :rules="[{ required: applicationDetail.sjtz == '2' , message:'请选择资金支出类别' }]"
+ :rules="[{ required: applicationDetail.sjtz == '2' , message:'请选择选通用图' }]"
label="选通用图"
placeholder="选通用图"
v-model="tytzName"
@@ -1320,10 +1320,8 @@
竣工
平面
简图
(标注
长宽
及四至)
- {this.uploadImgAccepting.uploadFileList = x;}" @removeFileChanged="(x) => {this.uploadImgAccepting.removeFileList = x;}"
- />
-
+
+
@@ -1400,7 +1398,7 @@
承揽人
(姓名/
单位/
职务)
-
+
第三服务方
-
+
专业技
术人员)
-
+
{
let arr = [];
response.data.forEach(function (item) {
@@ -2111,6 +2108,9 @@ export default {
this.reset();
if(this.id)
{
+ if(this.type === "edit"){
+ this.proposerStatus = PROPOSER_EDIT;
+ }
allInformationWLHT(this.id).then(response => {
listHomeapplytype({deptId: response.data.deptId}).then(res => {
this.tytzList = res.rows;
@@ -2219,9 +2219,6 @@ export default {
let hasGroupLevel = false; //value.tHouseApplyProposer.hasOwnProperty('hasGroupLevel') ? value.tHouseApplyProposer.hasGroupLevel : this.isGroupLevel;
console.log("当前申请状态: " + homeApplyStatus);
- // 默认状态
- this.formVisible.baseApplyForm.homesteadFormVisible = value ? value.sfyyzjd ==='Y' : false;
-
this.formVisible.editVisible = false;
this.formVisible.baseApplyForm.groupFormVisible = false;
@@ -2322,10 +2319,10 @@ export default {
// 初始化申请平面图
this.uploadImg.fileList = value.ydjfsp ? value.ydjfsp.zjdzlpmwzt : '';
this.uploadImg.proposerId = this.applicationDetail.id;
- // // 初始化验收平面图
- // this.uploadImgAccepting.fileList = value.tHouseApplyEnd ? value.tHouseApplyEnd.locationPlan : '';
- // this.uploadImgAccepting.proposerId = value.tHouseApplyProposer.id;
-
+ // 初始化验收平面图
+ this.uploadImgAccepting.fileList = value.ydjfys ? value.ydjfys.jgpmjt : '';
+ this.uploadImgAccepting.proposerId = this.applicationDetail.id;
+ console.info(this.uploadImgAccepting);
//地图查看
this.applicationDetail = value;
this.pointDarw(null);
@@ -2377,6 +2374,7 @@ export default {
let handlerName = this.$store.getters.nickName;
let handlerTime = this.getDate();
this.applicationDetail = value;
+ console.info(1111)
if(this.type === "todo"){
if(this.isProposeStatus(homeApplyStatus, ["14"])){
if(this.$route.query.electronicSignature != null){
@@ -2872,9 +2870,10 @@ export default {
this.uploadImg.fileList = value.ydjfsp ? value.ydjfsp.zjdzlpmwzt : '';
this.uploadImg.proposerId = this.applicationDetail.id;
- this.uploadImgAccepting.fileList = value.tHouseApplyEnd ? value.tHouseApplyEnd.locationPlan : '';
+ this.uploadImgAccepting.fileList = value.ydjfys ? value.ydjfys.jgpmjt : '';
this.uploadImgAccepting.proposerId = this.applicationDetail.id;
+
//地图编辑
this.pointDarw(null);
// this.pointDarwNature(null);
@@ -2896,12 +2895,14 @@ export default {
this.pointDarw();
getWorkflow().then((resp) => {
+
this.$set(this.applicationDetail, 'proposerActiveIndex', -1);
this.$set(this.applicationDetail, 'startActiveIndex', -1);
this.$set(this.applicationDetail, 'endActiveIndex', -1);
this.$set(this.applicationDetail, 'applyStepList', resp.data.applyStepList.name);
this.$set(this.applicationDetail, 'startStepList', resp.data.startStepList.name);
this.$set(this.applicationDetail, 'endStepList', resp.data.endStepList.name);
+ console.info(this.applicationDetail);
});
//this.initData();
break;
@@ -3181,8 +3182,6 @@ export default {
if(res.data)
{
this.applicationDetail = res.data;
- this.$set(this.applicationDetail, 'sqhhzhkszd', val.sqhhzhkszd);
- this.$set(this.applicationDetail, 'sqhjtzz', val.sqhjtzz);
this.$set(this.applicationDetail, 'jflx', "4");
this.$set(this.applicationDetail, 'projectName', "分户新建");
this.$set(this.applicationDetail, 'nsqzjddldm', "10");
@@ -3240,6 +3239,7 @@ export default {
console.log("进行保存", this.applicationDetail);
this.$set(this.applicationDetail, 'applyUserId', this.sysFarmer.id);
+ this.$set(this.applicationDetail, 'auditStatus', "0");
saveHomeBaseInfo(this.applicationDetail).then((response) => {
if(submit)
{
@@ -3248,7 +3248,6 @@ export default {
}
else
{
- this.$set(this.applicationDetail, 'auditStatus', "0");
this.notify("保存成功", 'success');
this.goBack();
}
@@ -3309,9 +3308,12 @@ export default {
this.$set(this.zjdzdxxDetailed, 'zdszn', resp.data.zjdzdxxList[0].zdszn);
this.$set(this.zjdzdxxDetailed, 'zdszx', resp.data.zjdzdxxList[0].zdszx);
this.$set(this.zjdzdxxDetailed, 'zdszb', resp.data.zjdzdxxList[0].zdszb);
+ this.$set(this.applicationDetail, 'sfyyzjd', "Y");
resp.data.zjdzdxxList.forEach(function(item){
_this.zjddmColumns.push({text:item.zjddm,value:item.zjddm});
})
+ }else{
+ this.$set(this.applicationDetail, 'sfyyzjd', "N");
}
// this.applicationDetail.tHouseApplyCurrentSituation.landPerArea= (resp.data.zdmj/(this.applicationDetail.tHouseApplyProposer.members +1)); //人均宅基地面积
@@ -3952,6 +3954,18 @@ export default {
this.$set(this.applicationDetail.ydjfsp, 'zjdzlpmwzt',resp.fileUrl);
});
},
+ fileUpdatePmt(val){
+ console.info(val)
+ const params = new FormData();
+ params.append("tableId", this.applicationDetail.ydjfys.id);
+ params.append("tableName", "t_homeapply_ydjfsq");
+ params.append("bizPath", "upload");
+ params.append("fileType", "0");
+ params.append('file', val.file);
+ attach(params).then((resp) => {
+ this.$set(this.applicationDetail.ydjfys, 'jgpmjt',resp.fileUrl);
+ });
+ },
// 带平面图附件上传的镇级验收审批
submitHouseApplyEndLocationplanOptions(pass, commentText) {
return this.$refs.pictureUploadAccepting.updatePlanFiles()
@@ -4087,6 +4101,7 @@ export default {
// this.applicationDetail.tHouseApplyEnd.theGeom = this.convertGeom(this.applicationDetail.tHouseApproveNatureOptions.theGeom);
// }
// }
+ console.info(this.applicationDetail);
saveHomeBaseInfo(this.applicationDetail).then(resp => {
if(submit)
{
diff --git a/src/views/sunVillage_info/paidExit/paidExitList.vue b/src/views/sunVillage_info/paidExit/paidExitList.vue
index 5c82d4ce..02e924d9 100644
--- a/src/views/sunVillage_info/paidExit/paidExitList.vue
+++ b/src/views/sunVillage_info/paidExit/paidExitList.vue
@@ -49,6 +49,7 @@